Have you checked the registry setting to make sure it is not using the older
version?
check:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\${SERVICE_NAME}\Paramet
ers
-----Original Message-----
From: Jason Bainbridge [mailto:[EMAIL PROTECTED]
Sent: Friday, May 30, 2003 4:20 PM
To: Tomcat Users List
Subject: Re: Running Tomcat as a WinNT service
Looks like it is still trying to use the older JDK, try double checking what
you set it to, close the services panel and open it again if that doesn't
work you might need to bounce your server, Windows can be picky about that
kind of things at times.
Regards,
--
Jason Bainbridge
KDE Web Team - http://kde.org
[EMAIL PROTECTED]
On Sat, 31 May 2003 04:09, Tom Heiber-Cobb wrote:
> I'm new to the list so I apologize if this one has come up many times
> before.
> I've installed Tomcat 4.1.18 on a WinNT machine. I chose the option
> during installation that allows Tomcat to run as a service.
>
> I made the install directory C:\Tomcat-4.1.18
>
> The machine had (has) jdk 1.2.2 on it already.
> When I had problems getting the service to work I then installed
> j2sdk1.4.1_02 (and changed the JAVA_HOME env var to point to this dir)
>
> The stdout.log and stderr.log files have reported the same thing both
> times. The stack traces are as follows:
> \logs\stdout.log
>
> Bootstrap: Create Catalina server
> Bootstrap: Class loader creation threw exception
> java.lang.IllegalMonitorStateException: current thread not owner
> at
>
org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standa
>rdClassLoader.java, Compiled Code)
> at
>
org.apache.catalina.loader.StandardClassLoader.<init>(StandardClassLoader.j
>ava, Compiled Code)
> at
>
org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoade
>rFactory.java, Compiled Code)
> at
> org.apache.catalina.startup.BootstrapService.init(BootstrapService.java,
> Compiled Code)
> at
> org.apache.catalina.startup.BootstrapService.main(BootstrapService.java,
> Compiled Code)
>
>
> \logs\stderr.log
>
> java.lang.NullPointerException
> at
> org.apache.catalina.startup.BootstrapService.init(BootstrapService.java,
> Compiled Code)
> at
> org.apache.catalina.startup.BootstrapService.main(BootstrapService.java,
> Compiled Code)
>
> Any thoughts?
> Thanks,
> -- Tom H-C
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]