[root@208 local]# cd jetty-6.1.21-hbtelecom/
[root@208 jetty-6.1.21-hbtelecom]# ls
bin derbydbhome lib patches run start.jar webapps
contexts etc logs resources serverlog.log VERSION.txt
[root@208 jetty-6.1.21-hbtelecom]# bin/
-bash: bin/: is a directory
[root@208 jetty-6.1.21-hbtelecom]# cd bin/
[root@208 bin]# ls
jetty.sh
[root@208 bin]# ./jetty.sh stop
Stopping Jetty: ./jetty.sh startOK
[root@208 bin]# ./jetty.sh startlogin as: root
[root@208 bin]# ls
jetty.sh
[root@208 bin]# ./jetty.sh stop
Stopping Jetty: ./jetty.sh startOK
[root@208 bin]# ./jetty.sh start
** ERROR: Cannot find configuration 'as:' specified in the command line.
[root@208 bin]# root@192.168.1.208's password:
> Last login: Thu Sep 2 17:16:16 2010 from 192.168.1.29
> [root@208 ~]# cd /usr/local
> [root@208 local]# ls
> bin games jetty-6.1.21-cqhk jetty-6.1.21-hbtelecom lib robot share
> etc include jetty-6.1.21-gsmcc jetty-6.1.21-jsmcc libexec sbin src
> [root@208 local]# cd jetty-6.1.21-hbtelecom/
> [root@208 jetty-6.1.21-hbtelecom]# ls
> bin derbydbhome lib patches run start.jar webapps
> contexts etc logs resources serverlog.log VERSION.txt
> [root@208 jetty-6.1.21-hbtelecom]# bin/
> -bash: bin/: is a directory
> [root@208 jetty-6.1.21-hbtelecom]# cd bin/
> [root@208 bin]# ls
> jetty.sh
> [root@208 bin]# ./jetty.sh stop
> Stopping Jetty: ./jetty.sh startOK
> [root@208 bin]# ./jetty.sh start
这篇博客介绍了如何在远程Linux服务器上操作Jetty。首先,通过cd命令进入jetty-6.1.21-hbtelecom目录,然后使用./jetty.sh stop停止服务,接着尝试使用./jetty.sh start启动服务,但遇到了错误提示找不到配置'as:'。最终,通过输入密码登录并重新尝试启动Jetty。
3884

被折叠的 条评论
为什么被折叠?



