Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

tomcat 4.1 no longer working after xp upgrade and java upg..

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Links that is unavailable for web spiders?  
Author Message
drew2

External


Since: Feb 01, 2004
Posts: 6



(Msg. 1) Posted: Sat Mar 12, 2005 11:27 am
Post subject: tomcat 4.1 no longer working after xp upgrade and java upgrade
Archived from groups: alt>apache>configuration (more info?)

Hi All:

I previously had Apache Tomcat 4.1 running under Windows 2000. It
worked perfectly with no problems at all.

I recently upgraded the same PC to Windows XP. In the same upgrade
process, I also upgraded from version 1.4.2 of the JRE and JDK to the
newest 1.5.x versions.

I previously had Apache Tomcat starting automatically as a service
which worked great.

Now, when Windows XP boots, the Tomcat service doesn't get started.
If I go under Control Panel/Services and manually start it, I get a
message that says the service started and then stopped. The next
sentence says that this can happen when a service has nothing to do.

If I go under Event Viewer and look at the Application Log messages,
every manual start (or Windows launch start) of the Tomcat service,
writes these three events to the application log:

1) Apache Tomcat 4.1 service failed to start.
2) Could not load the Java Virtual Machine.
3)The LoadLibrary function failed for the following reason: The
specified module could not be found.

I think the new versions of Java are installed correctly as I'm able
to compile my Java programs and seem to be able to view Java web pages
with no problems.

I did all of the upgrades back to back so I cannot be sure if the
Windows XP upgrade or the Java upgrades broke the service.

Any help is very much appreciated!

Drew

..

 >> Stay informed about: tomcat 4.1 no longer working after xp upgrade and java upg.. 
Back to top
Login to vote
drew2

External


Since: Feb 01, 2004
Posts: 6



(Msg. 2) Posted: Sat Mar 12, 2005 4:11 pm
Post subject: Re: tomcat 4.1 no longer working after xp upgrade and java upgrade [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

As a follow up, if I run startup.bat in C:\Program Files\Apache
Group\Tomcat 4.1\bin and then try and access the main Tomcat page, it
works fine. So, its something with the service file, tomcat.exe, that
is amiss.

Drew

 >> Stay informed about: tomcat 4.1 no longer working after xp upgrade and java upg.. 
Back to top
Login to vote
drew2

External


Since: Feb 01, 2004
Posts: 6



(Msg. 3) Posted: Sat Mar 12, 2005 4:41 pm
Post subject: Re: tomcat 4.1 no longer working after xp upgrade and java upgrade [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Disregard. I figured it out and should have thought of the solution.

If the Tomcat or Java directories change, you have to recreate the
Tomcat service so that it knows about the change. To do that, use
tomcat -uninstall "Service Name Here" from the command prompt to clear
it.

Then reinstall it with something like this sustituting your correct
folder names as needed.

tomcat.exe -install "Apache Tomcat 4.1" "C:\Program
Files\Java\jdk1.5.0_02\jre\bin\server\jvm.dll"
-Djava.class.path="C:\Program Files\Apache Group\Tomcat
4.1\bin\bootstrap.jar" -Dcatalina.home="C:\Program Files\Apache
Group\Tomcat 4.1" -Djava.endorsed.dirs="C:\Program Files\Apache
Group\Tomcat 4.1\common\endorsed" -start
org.apache.catalina.startup.Bootstrap -params start -stop
org.apache.catalina.startup.Bootstrap -params stop -out "C:\Program
Files\Apache Group\Tomcat 4.1\logs\stdout.log" -err "C:\Program
Files\Apache Group\Tomcat 4.1\logs\stderr.log" -current "C:\Program
Files\Apache Group\Tomcat 4.1\bin"


All of these lines will have to be on one line in your batch file.

Thanks!
Drew
 >> Stay informed about: tomcat 4.1 no longer working after xp upgrade and java upg.. 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Can Java SDK/Tomcat coexist with /VisualStudio.NET/IIS? - It seemed when I first installed J2SE SDK and the Tomcat server, that it didn't get along with MS's Visual Studio and IIS server. That was in Windows 98. Now I'm running WinXP Pro, and I'm getting tired of maintaining two versions of the operating..

Vitual Hosts not working after an upgrade from apache 1.3 .. - Hi, I just upgraded a suse box from 8.2 to 9.1 and had to rewrite the apache config to suit v2.0. The problem is trying to get named based virtual hosts working. I created a file /etc/apache2/vhosts.d/vhosts.conf that includes the virtual hosts..

Apache Tomcat setup - GET not working - Hi, I am running servlets through port 8090 on a Tomcat server and all is working fine, our jsps display and function correctly, accessing the database on their way. Through port 8091 we are pointing at the same code but using apache (for..

(OS 64)The specified network name is no longer available. - Searching the web for this message produces an incredible number of hits, nearly all of which are people seeking information about it. I have NEVER been able to find responses to the questions... not even a wrong response. Can anyone here contribute...

How do I change session time-out to something longer - Cheer, I am using Tomcat 4.1.24. When I tried to read session info from my JSP program, it bumps if there is no activity for, say, 30 minutes. Is there a way that I can increase it to, say an hour, or just to disable this session time out....
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]