Hello,

On Ven, 27 Novembre 2009 18:27, Pid wrote:
> On 27/11/2009 17:22, Rocco Scappatura wrote:
>> Sorry one trivial question..
>>
>> I have set up JDK build 1.6.0_17-b04.
>>
>> I have set the JAVA_HOME env variable. Bu tomcat still uses old version
>> of jvm installed on the server. How I have to do to address Tomcat to
>> use the new version of JDK?
>
> It's in the service settings/properties.

Ive done. But when Ive tried to start service I get a pop-up window:

Error 1058: The service cannot be started, either because it is disabled
or because it has no enabled devices associated with it.

Even restoring old version of java I get the error above, and still now I
cant do so that the service works.

The only think that I succeeded in is to start tomcat at command line:

C:\>c:\Tomcat\bin\tomcat5.exe
28-nov-2009 4.16.10 org.apache.catalina.core.AprLifecycleListener
lifecycleEvent

INFO: The Apache Tomcat Native library which allows optimal performance in
produ
ction environments was not found on the java.library.path:
c:\Tomcat\bin;.;C:\WI
NNT\Sun\Java\bin;C:\WINNT\system32;C:\WINNT;C:\Programmi\ImageMagick-6.5.6-Q16;c
:\Programmi\Microsoft SQL
Server\90\Tools\binn\;C:\mysql\bin;C:\ant\bin;C:\php-5
.2.5\ext;C:\php-5.2.5;C:\WINNT\System32\Wbem;C:\WINNT;C:\WINNT\system32;C:\Perl\
bin\;C:\Programmi\PKZIP;C:\Programmi\NetworkSimplicity\ssh;C:\Programmi\ZipGeniu
s 6\
28-nov-2009 4.16.10 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8081
28-nov-2009 4.16.10 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
28-nov-2009 4.16.10 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1656 ms
28-nov-2009 4.16.10 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
28-nov-2009 4.16.10 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.20
28-nov-2009 4.16.10 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
AbandonedObjectPool is used
(org.apache.tomcat.dbcp.dbcp.abandonedobjectp...@419
d05)
   LogAbandoned: false
   RemoveAbandoned: true
   RemoveAbandonedTimeout: 300
28-nov-2009 4.16.26 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8081
28-nov-2009 4.16.26 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
28-nov-2009 4.16.26 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
28-nov-2009 4.16.26 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/32  config=null
28-nov-2009 4.16.26 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
28-nov-2009 4.16.26 org.apache.catalina.startup.Catalina start
INFO: Server startup in 16109 ms
04:16:26.869 EVENT  Loading JettyPage Index

How I have to do to restore functionality of Tomcat5 service?

I have tried several thinks, as read on some articles, but without
success. Particularly, I have tried to delete the registry key
LEGACY_TOMCAT5 and restart, but without success.. How I have to do?

regards

rocsca


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to