• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

A nonaming problem with Apache Tomcat 7.0.28

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Note to self: don't get into a fist fight with a cactus. Command this tiny ad to do it:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic