Redian新闻
>
有没有人熟悉tomcat?急!
avatar
有没有人熟悉tomcat?急!# Java - 爪哇娇娃
w*w
1
在c盘根目录下装了tomcat,其实是直接将tomcat从另外台机器整个目录copy过来的,不知
有没有影响。启动之后,http://localhost:8080为什么会显示HTTP Status 500 - No
Context configured to process this request?我应该怎么做。谢谢了。
avatar
c*g
2
for your question, I guess all files may not be one folder.
maybe some files in system folder. you have not copied to new com[puter.

I suggest that you re install tomcat on your computer since tomcat is free.



【在 w*******w 的大作中提到】
: 在c盘根目录下装了tomcat,其实是直接将tomcat从另外台机器整个目录copy过来的,不知
: 有没有影响。启动之后,http://localhost:8080为什么会显示HTTP Status 500 - No
: Context configured to process this request?我应该怎么做。谢谢了。

avatar
w*w
3
I re-installed and after starting apache tomcat 5.5. what i did is as before
http://localhost:8080, then it looks worse:The page cannot be displayed.
So what's the problem? Thanks a lot.


No

【在 c********g 的大作中提到】
: for your question, I guess all files may not be one folder.
: maybe some files in system folder. you have not copied to new com[puter.
:
: I suggest that you re install tomcat on your computer since tomcat is free.
:
: 知

avatar
g*y
4
Tomcat is just one directory. If you set it up right, it should be no problem.
* JDK installed? Did you set JAVA_HOME?
* Did you set CATALINA_HOME? I don't know whether latest tomcat still needs
that.
* Are those configuration files appropriate in parameter?
* Check tomcat startup message and error message, there must be something
wrong, I bet you can find better hint from screen output / log file than this
board :-)
Good luck.

free.


【在 w*******w 的大作中提到】
: I re-installed and after starting apache tomcat 5.5. what i did is as before
: http://localhost:8080, then it looks worse:The page cannot be displayed.
: So what's the problem? Thanks a lot.
:
: 不
: No

avatar
w*w
5
So I copied the whole folder to my computer, I did right?
The folder also includes all of the files about this project.
I just want to try the simplest test to see if it will work on my pc.
But no idea now. I am just the beginner....:(

problem.
this
before
com[puter.

-

【在 g**********y 的大作中提到】
: Tomcat is just one directory. If you set it up right, it should be no problem.
: * JDK installed? Did you set JAVA_HOME?
: * Did you set CATALINA_HOME? I don't know whether latest tomcat still needs
: that.
: * Are those configuration files appropriate in parameter?
: * Check tomcat startup message and error message, there must be something
: wrong, I bet you can find better hint from screen output / log file than this
: board :-)
: Good luck.
:

avatar
d*s
6
Not those problems. The engine is up, but no proper contexts.
check sever.xml, set a proper ROOT context.

free.


【在 w*******w 的大作中提到】
: I re-installed and after starting apache tomcat 5.5. what i did is as before
: http://localhost:8080, then it looks worse:The page cannot be displayed.
: So what's the problem? Thanks a lot.
:
: 不
: No

avatar
c*s
7
检查log文件和conf/server.xml文件
No Context configured 意思是conf/server.xml里没有定义你访问的Context。要么你没
定义,要么定义的因为什么错误没启动(检查log文件看什么错误),要么本来就没有,
你应该访问的是http://localhost:8080/myapp因为http://localhhost:8080在找path是
空的Context定义。



【在 w*******w 的大作中提到】
: 在c盘根目录下装了tomcat,其实是直接将tomcat从另外台机器整个目录copy过来的,不知
: 有没有影响。启动之后,http://localhost:8080为什么会显示HTTP Status 500 - No
: Context configured to process this request?我应该怎么做。谢谢了。

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。