• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Failed to install Tomcat5 Service

 
Niyas Ahmed Sheikh
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am learning Servlet & JSP. For that I installed JDK1.5 and set the path also. I complied

some java files and run it.

For JSP & Servlet, I want to install Tomcat 5.0.
So I downloaded the Tomcat 5.0 and installed it by clicking the .exe for the tomcat. While

Installing the tomcat, I got the following error message.

"Failed to install Tomcat5 Service.
Check your settings and permissions
Ignore and continue anyway (not recommended)]"

I don't know why this error is coming, so I just ignored that error message and continued the installation. After the installaion when I tried to start the tomcat server, it displaying the following error


" The TOMCAT5W.EXE file is linked to missing export NETAPI32.DLL:NetWkstaGetInfo"

C:\Program Files\Apache Software Foundation\Tomcat5.5\bin\tomcat5w.exe
A device attached to the system is not functioning."


Please provide me solution for this issue.

I have set only the JDK path. Whether we have to set any other paths, if so please tell me what to set & how to set.

My Tomcat is in: C:\Program Files\Apache Software Foundation\Tomcat5.5
My JDK1.5 is in: C:\Program Files\Java\Jdk1.5

Regards,
Ahmed.
 
chsanthosh kumar
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please tell me This One First,

r u working on Pc(personal system)..
or r u working in a net work(in a network)..

And let me know .
 
Niyas Ahmed Sheikh
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am working in PC. It's not connected to any network.
 
Niyas Ahmed Sheikh
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My problem is not yet solved.

Below is the problem and posted it before too.

I am learning Servlet & JSP. For that I installed JDK1.5 and set the path also. I complied

some java files and run it.

For JSP & Servlet, I want to install Tomcat 5.0.
So I downloaded the Tomcat 5.0 and installed it by clicking the .exe for the tomcat. While

Installing the tomcat, I got the following error message.

"Failed to install Tomcat5 Service.
Check your settings and permissions
Ignore and continue anyway (not recommended)]"

I don't know why this error is coming, so I just ignored that error message and continued the installation. After the installaion when I tried to start the tomcat server, it displaying the following error


" The TOMCAT5W.EXE file is linked to missing export NETAPI32.DLL:NetWkstaGetInfo"

C:\Program Files\Apache Software Foundation\Tomcat5.5\bin\tomcat5w.exe
A device attached to the system is not functioning."


Please provide me solution for this issue.

I have set only the JDK path. Whether we have to set any other paths, if so please tell me what to set & how to set.

My Tomcat is in: C:\Program Files\Apache Software Foundation\Tomcat5.5
My JDK1.5 is in: C:\Program Files\Java\Jdk1.5


I am working in PC. It's not connected to any network.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13073
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
" The TOMCAT5W.EXE file is linked to missing export NETAPI32.DLL:NetWkstaGetInfo"

That sounds like something is missing or damaged in your operating system - you have neglected to mention what that OS is. Generally it greatly speeds things up if people would include the following in every request for help:

Operating System
Java version (SDK, JEE or whatever)
Tomcat version - and how installed.
How you are trying to start Tomcat
What environment variables you have set for JAVA_HOME and CATALINA_HOME

Bill
 
Niyas Ahmed Sheikh
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Operating System : Windows 98 SE

Java version : JDK 1.5 (jdk-1_5_0_04-windows-i586-p.exe)
(I can compile and run the java pgms. So no problem with JDK and its path)

Tomcat version -
and how installed : Tomcat 5.0 (jakarta-tomcat-5.5.9.exe)

What environment variables you have set for JAVA_HOME and CATALINA_HOME
I have set only the path for JDK. I have already posted in the forum to know what are the environment variables to be set. But the response is if you installing Tomcat 5.0 no need to set all those things.

How you are trying to start Tomcat: While I have installed it and reboot the system. While the system restarted, without doing anything, it shows "Error Starting Program" and following error message is displayed.

" The TOMCAT5W.EXE file is linked to missing export NETAPI32.DLL:NetWkstaGetInfo"
C:\Program Files\Apache Software Foundation\Tomcat5.5\bin\tomcat5w.exe
A device attached to the system is not functioning."

I also tried by clicking the tomcat.exe at C:\Program Files\Apache Software Foundation\Tomcat5.5\bin\ folder.

My Tomcat is in: C:\Program Files\Apache Software Foundation\Tomcat5.5
My JDK1.5 is in: C:\Program Files\Java\Jdk1.5


I am working in PC. No network. Another details you want?
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13073
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Windows 98 has a default for environment variable size that won't let Tomcat run - you need to increase the size to something like 4096 bytes because Tomcat startup uses lots of environment variables.
Setting the environment variables for JAVA_HOME and CATALINA_HOME is recommended.
I don't know if the SE version of win98 has other limitations, I have only used normal Win98.
I also tried by clicking the tomcat.exe at C:\Program Files\Apache Software Foundation\Tomcat5.5\bin\ folder.

You should open a MSDOS window, navigate to the bin folder and execute startup.bat (after you have increased the environment space)

Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic