Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Tomcat and the fly likes Error while installing Tomcat 5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Error while installing Tomcat 5" Watch "Error while installing Tomcat 5" New topic
Author

Error while installing Tomcat 5

Jenny raj
Ranch Hand

Joined: May 19, 2005
Posts: 57
I installed j2sdk and it is running succesfully

When i tried installing tomcat 5.0 ,the windows install wizard come up and runs and stops ,after that nothing happens

Here is the installation detail.

Please help me to find out the problem


Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0
Extract: tomcat.ico
Extract: LICENSE
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\bin
Extract: shutdown-using-launcher.sh
Extract: bootstrap.jar
Extract: catalina.bat
Extract: startup.sh
Extract: setclasspath.bat
Extract: launcher.properties
Extract: version.bat
Extract: tool-wrapper-using-launcher.bat
Extract: catalina.sh
Extract: shutdown.sh
Extract: jsvc.tar.gz
Extract: startup-using-launcher.sh
Extract: catalina.50.bat
Extract: startup.bat
Extract: cpappend.bat
Extract: digest.sh
Extract: commons-logging-api.jar
Extract: jmx.jar
Extract: tool-wrapper-using-launcher.sh
Extract: catalina.xml
Extract: startup-using-launcher.bat
Extract: service.bat
Extract: tool-wrapper.sh
Extract: LauncherBootstrap.class
Extract: version.sh
Extract: commons-daemon.jar
Extract: shutdown-using-launcher.bat
Extract: setclasspath.sh
Extract: catalina.50.sh
Extract: commons-launcher.jar
Extract: tool-wrapper.bat
Extract: shutdown.bat
Extract: digest.bat
Extract: tomcat5.exe
Extract: tomcat5w.exe
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\common
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\common\classes
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\common\endorsed
Extract: xml-apis.jar
Extract: xercesImpl.jar
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib
Extract: naming-factory.jar
Extract: jasper-runtime.jar
Extract: commons-collections-3.1.jar
Extract: jasper-compiler.jar
Extract: commons-dbcp-1.2.1.jar
Extract: ant-launcher.jar
Extract: ant.jar
Extract: naming-java.jar
Extract: commons-pool-1.2.jar
Extract: naming-resources.jar
Extract: jsp-api.jar
Extract: commons-el.jar
Extract: servlet-api.jar
Extract: naming-common.jar
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\conf
Extract: server.xml
Extract: catalina.properties
Extract: catalina.policy
Extract: web.xml
Extract: tomcat-users.xml
Extract: server-minimal.xml
Extract: jk2.properties
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\Catalina
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\Catalina\localhost
Extract: balancer.xml
Extract: admin.xml
Extract: manager.xml
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\shared
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\shared\classes
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\shared\lib
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\logs
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\server
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\server\classes
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\server\lib
Extract: jkshm.jar
Extract: catalina-ant.jar
Extract: commons-digester.jar
Extract: tomcat-util.jar
Extract: tomcat-jk.jar
Extract: commons-modeler.jar
Extract: tomcat-jk2.jar
Extract: commons-beanutils.jar
Extract: catalina-i18n-ja.jar
Extract: catalina-i18n-es.jar
Extract: tomcat-http11.jar
Extract: tomcat-jni.jar
Extract: tomcat-coyote.jar
Extract: servlets-invoker.jar
Extract: servlets-ssi.renametojar
Extract: servlets-cgi.renametojar
Extract: catalina.jar
Extract: jakarta-regexp-1.3.jar
Extract: catalina-i18n-fr.jar
Extract: jkconfig.jar
Extract: servlets-common.jar
Extract: commons-fileupload-1.0.jar
Extract: servlets-default.jar
Extract: servlets-webdav.jar
Extract: catalina-cluster.jar
Extract: catalina-optional.jar
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\server\webapps
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\server\webapps\admin
Extract: tree-control-test.css
Extract: admin.xml
Extract: admin.css
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\server\webapps\admin\resources
Extract: dataSources.jspf
Extract: envEntries.jspf
Extract: listDataSources.jspf
Extract: resourceLinks.jspf
Extract: listEnvEntries.jspf
Extract: listResourceLinks.jspf
Extract: listMailSessions.jspf
Extract: mailSessions.jspf
Extract: userDatabases.jspf
Extract: listUserDatabases.jspf
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\server\webapps\admin\users
Extract: listUsers.jspf
Extract: listGroups.jspf
Extract: listRoles.jspf
Extract: users.jspf
Extract: roles.jspf
Extract: groups.jspf
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\server\webapps\admin\WEB-INF
Extract: web.xml
Extract: controls.tld
Extract: struts-bean.tld
Extract: struts-html.tld
Extract: struts-logic.tld
Extract: struts-config.xml
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\server\webapps\admin\WEB-INF\lib
Extract: catalina-admin.jar
Extract: struts.jar
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\server\webapps\admin\images
Extract: EnvironmentEntries.gif
Extract: Service.gif
Extract: linevertical.gif
Extract: LoginBackgroundTile.gif
Extract: Login.jpg
Extract: ResourceLink.gif
Extract: Groups.gif
Extract: handlerightlast.gif
Extract: Realm.gif
Extract: Server.gif
Extract: Users.gif
Extract: folder_16_pad.gif
Extract: Connector.gif
Extract: Valve.gif
Extract: Context.gif
Extract: Mailsession.gif
Extract: BlueTile.gif
Extract: handlerightmiddle.gif
Extract: PaperTexture.gif
Extract: handledownmiddle.gif
Extract: linelastnode.gif
Extract: Logger.gif
Extract: linemiddlenode.gif
Extract: Thumbs.db
Extract: Datasource.gif
Extract: DefaultContext.gif
Extract: TomcatBanner.jpg
Extract: handledownlast.gif
Extract: Roles.gif
Extract: Host.gif
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\server\webapps\admin\valve
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\server\webapps\admin\server
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\server\webapps\admin\context
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\server\webapps\admin\realm
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\server\webapps\admin\host
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\server\webapps\admin\logger
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\server\webapps\admin\connector
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\server\webapps\admin\defaultcontext
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\server\webapps\admin\service
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\server\webapps\manager
Extract: xform.xsl
Extract: manager-howto.html
Extract: manager.xml
Extract: status.xsd
Extract: html-manager-howto.html
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\server\webapps\manager\images
Extract: void.gif
Extract: add.gif
Extract: fix.gif
Extract: design.gif
Extract: code.gif
Extract: jakarta-logo.gif
Extract: update.gif
Extract: tomcat.gif
Extract: docs.gif
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\server\webapps\manager\WEB-INF
Extract: web.xml
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\server\webapps\manager\WEB-INF\lib
Extract: catalina-manager.jar
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\work
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\temp
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\balancer
Extract: balancer.xml
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\balancer\WEB-INF
Extract: web.xml
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\balancer\WEB-INF\lib
Extract: catalina-balancer.jar
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\balancer\WEB-INF\config
Extract: rules.xml
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\balancer\images
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\ROOT
Extract: tomcat-power.gif
Extract: RELEASE-NOTES.txt
Extract: jakarta-banner.gif
Extract: index.jsp
Extract: tomcat.gif
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\ROOT\WEB-INF
Extract: web.xml
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\ROOT\WEB-INF\lib
Extract: catalina-root.jar
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\ROOT\WEB-INF\classes
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\ROOT\WEB-INF\classes\org
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\ROOT\WEB-INF\classes\org\apache
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\ROOT\WEB-INF\classes\org\apache\jsp
Extract: index_jsp.class
Output folder: D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps
Copy to D:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib
HTTP/1.1 Connector configured on port "4848"
Admin user added: "admin"
Output folder: C:\DOCUME~1\MEENAK~1\LOCALS~1\Temp
Output folder: C:\DOCUME~1\MEENAK~1\LOCALS~1\Temp\confinstall
Extract: tomcat-users_2.xml
Extract: server_1.xml
Extract: tomcat-users_1.xml
Extract: server_2.xml
Output folder: C:\DOCUME~1\MEENAK~1\LOCALS~1\Temp
Delete file: D:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\server.xml
server.xml written
Delete file: D:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\tomcat-users.xml
tomcat-users.xml written
Remove folder: C:\DOCUME~1\MEENAK~1\LOCALS~1\Temp\confinstall
Using Jvm: D:\j2sdk1.4.2_11\jre\bin\server\jvm.dll
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
I dont see any errors - I gather you were using the .exe installer - what was the last dialog the install wizard showed?

Can you start Tomcat using startup.bat?

Why did you pick 5.0 instead of the most current 5.5.17?

Bill
Jenny raj
Ranch Hand

Joined: May 19, 2005
Posts: 57
The reason i pick 5.0 is,i just installed j2sdk 1.4 and i am not sure whether tomcat 5.5.17 is compatible with j2sdk 1.4,because somewhere i saw tomcat 5.5.17 strongly recommends java 5

The wizard did not throw any error but it does standstill when it encounters
Using Jvm: D:\j2sdk1.4.2_11\jre\bin\server\jvm.dll

How to start Tomcat using startup.bat?
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
To use startup.bat:

1. open a command prompt window
2. cd to the CATALINA_HOME\bin directory (where CATALINA_HOME is the directory you installed Tomcat in)
3. execute dir to verify that startup.bat file exists in the bin directory
4. execute startup - you should see another command prompt window open with tomcat startup messages.

As I recall, the .exe installer offers a dialog to install as a service - did you ever get to that dialog?

Bill
Jenny raj
Ranch Hand

Joined: May 19, 2005
Posts: 57
I installed tomcat 5.5. and i don't find startup.bat file inside bin directory,and i use tomcat5.exe to start the server,once it is done the server is up.

Is that correct?


when i installed tomcat5 ,i saw .bat files inside bin,why there is no .bat files inside bin in tomact5.5,
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
,why there is no .bat files inside bin in tomact5.5,

I can't imagine - they are there in my Tomcat-5.5.17/bin, but I installed from the .zip file not the .exe.

and i use tomcat5.exe to start the server,once it is done the server is up.

So are you saying that you have Tomcat running ok now?

Did the install wizard run to completion this time? If not, what was the last dialog showing?

Bill
Jenny raj
Ranch Hand

Joined: May 19, 2005
Posts: 57
Hi Bill


This time when i installed tomcat5.5 it did not throw any error,

Yes,tomcat server is running and i can able to run simple jsp and html files,
but when i try to deploy a class file it won't.

i used .exe instead of zip file to install,

My bin folder includes only the following files,no more .bat files

bootstrap.jar,
commons-logging-api.jar,
tomcat5.exe,
tomcat5w.exe,
tomcat-juli.jar


here i use tomcat5.exe to start and stop the server,

I am not able to access monitor tomcat in the startup ,whenever i try to access it says
"An instance of tomcat5 application is already running"

even though there is no server running at the background
Jenny raj
Ranch Hand

Joined: May 19, 2005
Posts: 57
I am sorry,

I didn't see there was a apache tomcat properties icon in the task bar,

i can start and stop the server using the buttons in general tab .

I think this resolved my monitor tomcat issue,but still i wonder there is no .bat files in the bin folder.
Jenny raj
Ranch Hand

Joined: May 19, 2005
Posts: 57
Hurray!

even i can deploy simple servlet,

I beleive my issue is resolved except for those missing .bat files ;)

Thank you Bill.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
Thanks for the follow-up, glad you are running now.

It looks like the .exe install just decides for you that you don't need the .bat files. I guess they are trying to make the installation simpler.

Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error while installing Tomcat 5