• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tomcat Installation

 
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How do you "install" tomcat 5.0.28?
I went to jakarta site URL http://tomcat.apache.org/download-55.cgi and I could see was 3 zip/tar files one each under Core, Deployer and Embed sections.I downloaded all 3 zip files and unzipped them.
Is there anything else I need to do?
I can go to bin directory and double-click startup.bat and the server starts.Is there anything else I need to do in order to make the Tomcat work smoothly without any problem?
Thank You.
 
Jitesh Sinha
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I ran startup command from command window after replacing start with run and I get following error :-

D:\Tomcat\jakarta-tomcat-5.0.28\bin>startup
Using CATALINA_BASE: D:\Tomcat\jakarta-tomcat-5.0.28\
Using CATALINA_HOME: D:\Tomcat\jakarta-tomcat-5.0.28\
Using CATALINA_TMPDIR: D:\Tomcat\jakarta-tomcat-5.0.28\\temp
Using JAVA_HOME: C:\j2sdk1.4.2_07
Can't load server.xml
Can't load server.xml
Mar 9, 2006 2:41:33 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 0 ms
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
Caused by: java.lang.NullPointerException
at org.apache.catalina.startup.Catalina.await(Catalina.java:619)
at org.apache.catalina.startup.Catalina.start(Catalina.java:579)
... 6 more


How do I resolve this?
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
On a windows box, it's easy.
Install Java (j2sdk1.3x or better).
Download the *.exe distrubution of Tomcat.
Click on the file and follow the installation wizard.
 
Jitesh Sinha
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ben,I did that after reading your posts.
I can start the server from the command prompt but cannot start from the service.It always shows the status as stopped.
 
Jitesh Sinha
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I got it started through service as well.
The jvm.dll path was incorrect previously under java tab of the Apache/Tomcat properties window.I don't know how it took that path but after correcting it,it works fine.
Thanks Ben for your help!!I am fine for now!!
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic