Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

A nonaming problem with Apache Tomcat 7.0.28

 
Xiaotian He
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I installed Apache Tomcat 7.0.28 in my JBuilder6. I use JDK 1.6.0_32 (jre6). I can get http://localhost:8080/ page. However, when I tried to run my JSP file, I encountered following error:

org.apache.catalina.startup.Bootstrap start -config "C:\Documents and Settings\user\jbproject\whoznextdoor\conf\server8080.xml" -nonaming
Jun 23, 2012 8:22:47 AM org.apache.catalina.startup.Bootstrap main
WARNING: Bootstrap: command "-nonaming" does not exist.

Please help.

MyDreamGirl
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Xiaotian He wrote:I installed Apache Tomcat 7.0.28 in my JBuilder6.


I wasn't aware what JBuilder was, so did a quick search. Turns out it's an IDE. Are you able to start Tomcat without that IDE? That should tell us if it's a problem with the IDE integration (I'm pretty sure it is) or something else.
 
Xiaotian He
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, I can start the web server. And I can get the page http://localhost:8080, which says Apache Tomcat install is successful. Anything else I need to do?
 
Xiaotian He
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is interesting that I got diffrent error when I closed and reopened my project. This time my codes did not compile successfully.

FileUpload.jsp: java.lang.NoClassDefFoundError: org/apache/tools/ant/Task
FileUpload.jsp: Caused by java.lang.NoClassDefFoundError: org.apache.tools.ant.Task
...12 more
Could not find the main class: org.apache.jasper.jspC. Program will exit.

I tried google this error and was not able to find solution.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic