|
From: Daniel B. <db...@te...> - 2004-10-07 18:37:37
|
Does the service wrapper provide a means to programmatically start/stop a service from within a java application? Thanks, Dan -----Original Message----- From: Gil Adam [mailto:gi...@gi...]=20 Sent: Wednesday, October 06, 2004 9:52 PM To: wra...@li... Subject: Re: [Wrapper-user] Does the wrapper work with Tomcat 5.0.28? I found the problem with this. In case it's helpful to anyone else, the solution is to remove the %CATALINA_HOME%\bin from the java.endorsed.dirs=20 system property. -Gil At 06:22 PM 10/6/2004, you wrote: >Does anyone know if the Wrapper is compatible with Tomcat 5.0.28. I was >using it with Tomcat 5.0.18 with no trouble, then I put in Tomcat 5.0.28=20 >(which starts up using the same options just fine using the tomcat=20 >startup.bat script) and I get the following error: > > >--> Wrapper Started as Service >Launching a JVM... >Wrapper (Version 3.1.1) http://wrapper.tanukisoftware.org > >Bootstrap: Class loader creation threw exception >java.lang.ExceptionInInitializerError > at=20 > org.apache.catalina.startup.ClassLoaderFactory.<clinit>(ClassLoaderFacto ry.java:63) > at=20 > org.apache.catalina.startup.Bootstrap.initClassLoaders(Bootstrap.java:10 3) > at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:196) > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:402) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at=20 > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) > at=20 > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at=20 > org.tanukisoftware.wrapper.WrapperStartStopApp.run(WrapperStartStopApp.j ava:154) > at java.lang.Thread.run(Thread.java:534) >Caused by: org.apache.commons.logging.LogConfigurationException:=20 >org.apache.commons.logging.LogConfigurationException:=20 >java.lang.NullPointerException (Caused by java.lang.NullPointerException)=20 >(Caused by org.apache.commons.logging.LogConfigurationException:=20 >java.lang.NullPointerException (Caused by java.lang.NullPointerException)) > at=20 > org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImp l.java:543) > at=20 > org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImp l.java:235) > at=20 > org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImp l.java:209) > at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351) > at=20 > org.apache.tomcat.util.compat.JdkCompat.<clinit>(JdkCompat.java:55) > ... 10 more >Caused by: org.apache.commons.logging.LogConfigurationException:=20 >java.lang.NullPointerException (Caused by java.lang.NullPointerException) > at=20 > org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFact oryImpl.java:397) > at=20 > org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImp l.java:529) > ... 14 more >Caused by: java.lang.NullPointerException > at=20 > org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFact oryImpl.java:374) > ... 15 more ><-- Wrapper Stopped > > >Does anyone know what I'm doing to cause this? > >Thank you very much, all. > >-Gil > > >------------------------------------------------------- >This SF.net email is sponsored by: IT Product Guide on ITManagersJournal >Use IT products in your business? Tell us what you think of them. Give us >Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more >http://productguide.itmanagersjournal.com/guidepromo.tmpl >_______________________________________________ >Wrapper-user mailing list >Wra...@li... >https://lists.sourceforge.net/lists/listinfo/wrapper-user > --------------------------------------------------------------------- Gil Adam ga...@in... Extension: 430 Instant Messenger: AnswerGil=20 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user |