aspose file tools*
The moose likes Tomcat and the fly likes A nonaming problem with Apache Tomcat 7.0.28 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "A nonaming problem with Apache Tomcat 7.0.28" Watch "A nonaming problem with Apache Tomcat 7.0.28" New topic
Author

A nonaming problem with Apache Tomcat 7.0.28

Xiaotian He
Greenhorn

Joined: Jun 19, 2012
Posts: 15
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

Joined: Jul 20, 2005
Posts: 10102
    
165

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.

[My Blog] [JavaRanch Journal]
Xiaotian He
Greenhorn

Joined: Jun 19, 2012
Posts: 15
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

Joined: Jun 19, 2012
Posts: 15
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: A nonaming problem with Apache Tomcat 7.0.28