Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Newbie: Can't start Tomcat5 from within Lomboz view
Newbie: Can't start Tomcat5 from within Lomboz view [message #40404] Mon, 23 August 2004 10:35 Go to next message
Eclipse UserFriend
Originally posted by: davZZZYYYXXXout.dial.pipex.com

Have installed Eclipse R3 with latest Lomboz. Using Tomcat5. I can start
Tomcat5 via the 'startup.bat'.

However, when I try to start Tomcat5 from within the Lomboz view by right
clicking over the 'Apache TomCat 5.x' node and selecting 'Run server' I get
the following errors...

Bootstrap: Class loader creation threw exception
java.lang.ExceptionInInitializerError
at
org.apache.catalina.loader.StandardClassLoader.<clinit>(StandardClassLoader.
java:207)
at
org.apache.catalina.startup.ClassLoaderFactory.createClassLo ader(ClassLoader
Factory.java:189)
at
org.apache.catalina.startup.Bootstrap.createClassLoader(Boot strap.java:160)
at
org.apache.catalina.startup.Bootstrap.initClassLoaders(Boots trap.java:104)
at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:19 3)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:39 9)
Caused by: org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException:
java.lang.NullPointerException (Caused by java.lang.NullPointerException)
(Caused by org.apache.commons.logging.LogConfigurationException:
java.lang.NullPointerException (Caused by java.lang.NullPointerException))
at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(L ogFactoryImpl.ja
va:543)
at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(L ogFactoryImpl.ja
va:235)
at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(L ogFactoryImpl.ja
va:209)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java :351)
at org.apache.tomcat.util.compat.JdkCompat.<clinit>(JdkCompat.java:55)
.... 6 more
Caused by: org.apache.commons.logging.LogConfigurationException:
java.lang.NullPointerException (Caused by java.lang.NullPointerException)
at
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstru ctor(LogFactoryI
mpl.java:397)
at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(L ogFactoryImpl.ja
va:529)
.... 10 more
Caused by: java.lang.NullPointerException
at
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstru ctor(LogFactoryI
mpl.java:374)
.... 11 more

Any ideas??
Re: Newbie: Can't start Tomcat5 from within Lomboz view [message #40466 is a reply to message #40404] Mon, 23 August 2004 16:29 Go to previous messageGo to next message
Eclipse UserFriend
Try editing the "tomcat50x.server" file in your
"plugins\com.objectlearn.jdt.j2ee_3.0.1\servers" directory.

Within the lines:

<startVmParameters>...</startVmParameters>
<stopVmParameters>...</stopVmParameters>

remove "${serverRootDirectory}/bin;". This text should not
be included in the value for the "java.endorsed.dirs" System
property.

There is a "quirk" in commons-logging v1.0.4 (used by Tomcat 5.0.27)
where it throws NullPointerExceptions like this if
commons-logging-api.jar or commons-logging.jar is in the
system classloader, which the mistake above triggers.

HTH.

Cheers,
Larry


"davout" <davZZZYYYXXXout@dial.pipex.com> wrote in message
news:cgcv5v$fdo$1@eclipse.org...
> Have installed Eclipse R3 with latest Lomboz. Using Tomcat5. I can start
> Tomcat5 via the 'startup.bat'.
>
> However, when I try to start Tomcat5 from within the Lomboz view by right
> clicking over the 'Apache TomCat 5.x' node and selecting 'Run server' I
get
> the following errors...
>
> Bootstrap: Class loader creation threw exception
> java.lang.ExceptionInInitializerError
> at
>
org.apache.catalina.loader.StandardClassLoader.<clinit>(StandardClassLoader.
> java:207)
> at
>
org.apache.catalina.startup.ClassLoaderFactory.createClassLo ader(ClassLoader
> Factory.java:189)
> at
>
org.apache.catalina.startup.Bootstrap.createClassLoader(Boot strap.java:160)
> at
> org.apache.catalina.startup.Bootstrap.initClassLoaders(Boots trap.java:104)
> at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:19 3)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:39 9)
> Caused by: org.apache.commons.logging.LogConfigurationException:
> org.apache.commons.logging.LogConfigurationException:
> java.lang.NullPointerException (Caused by java.lang.NullPointerException)
> (Caused by org.apache.commons.logging.LogConfigurationException:
> java.lang.NullPointerException (Caused by java.lang.NullPointerException))
> at
>
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(L ogFactoryImpl.ja
> va:543)
> at
>
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(L ogFactoryImpl.ja
> va:235)
> at
>
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(L ogFactoryImpl.ja
> va:209)
> at org.apache.commons.logging.LogFactory.getLog(LogFactory.java :351)
> at org.apache.tomcat.util.compat.JdkCompat.<clinit>(JdkCompat.java:55)
> ... 6 more
> Caused by: org.apache.commons.logging.LogConfigurationException:
> java.lang.NullPointerException (Caused by java.lang.NullPointerException)
> at
>
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstru ctor(LogFactoryI
> mpl.java:397)
> at
>
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(L ogFactoryImpl.ja
> va:529)
> ... 10 more
> Caused by: java.lang.NullPointerException
> at
>
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstru ctor(LogFactoryI
> mpl.java:374)
> ... 11 more
>
> Any ideas??
>
>
Re: Newbie: Can't start Tomcat5 from within Lomboz view [message #40561 is a reply to message #40466] Tue, 24 August 2004 12:50 Go to previous message
Eclipse UserFriend
Originally posted by: davZZZYYYXXXout.dial.pipex.com

Thanks... that solved it.

"Larry Isaacs" <Larry.Isaacs@sas.com> wrote in message
news:cgdju4$hvb$1@eclipse.org...
> Try editing the "tomcat50x.server" file in your
> "plugins\com.objectlearn.jdt.j2ee_3.0.1\servers" directory.
>
> Within the lines:
>
> <startVmParameters>...</startVmParameters>
> <stopVmParameters>...</stopVmParameters>
>
> remove "${serverRootDirectory}/bin;". This text should not
> be included in the value for the "java.endorsed.dirs" System
> property.
>
> There is a "quirk" in commons-logging v1.0.4 (used by Tomcat 5.0.27)
> where it throws NullPointerExceptions like this if
> commons-logging-api.jar or commons-logging.jar is in the
> system classloader, which the mistake above triggers.
>
> HTH.
>
> Cheers,
> Larry
>
>
> "davout" <davZZZYYYXXXout@dial.pipex.com> wrote in message
> news:cgcv5v$fdo$1@eclipse.org...
> > Have installed Eclipse R3 with latest Lomboz. Using Tomcat5. I can start
> > Tomcat5 via the 'startup.bat'.
> >
> > However, when I try to start Tomcat5 from within the Lomboz view by
right
> > clicking over the 'Apache TomCat 5.x' node and selecting 'Run server' I
> get
> > the following errors...
> >
> > Bootstrap: Class loader creation threw exception
> > java.lang.ExceptionInInitializerError
> > at
> >
>
org.apache.catalina.loader.StandardClassLoader.<clinit>(StandardClassLoader.
> > java:207)
> > at
> >
>
org.apache.catalina.startup.ClassLoaderFactory.createClassLo ader(ClassLoader
> > Factory.java:189)
> > at
> >
>
org.apache.catalina.startup.Bootstrap.createClassLoader(Boot strap.java:160)
> > at
> >
org.apache.catalina.startup.Bootstrap.initClassLoaders(Boots trap.java:104)
> > at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:19 3)
> > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:39 9)
> > Caused by: org.apache.commons.logging.LogConfigurationException:
> > org.apache.commons.logging.LogConfigurationException:
> > java.lang.NullPointerException (Caused by
java.lang.NullPointerException)
> > (Caused by org.apache.commons.logging.LogConfigurationException:
> > java.lang.NullPointerException (Caused by
java.lang.NullPointerException))
> > at
> >
>
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(L ogFactoryImpl.ja
> > va:543)
> > at
> >
>
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(L ogFactoryImpl.ja
> > va:235)
> > at
> >
>
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(L ogFactoryImpl.ja
> > va:209)
> > at org.apache.commons.logging.LogFactory.getLog(LogFactory.java :351)
> > at org.apache.tomcat.util.compat.JdkCompat.<clinit>(JdkCompat.java:55)
> > ... 6 more
> > Caused by: org.apache.commons.logging.LogConfigurationException:
> > java.lang.NullPointerException (Caused by
java.lang.NullPointerException)
> > at
> >
>
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstru ctor(LogFactoryI
> > mpl.java:397)
> > at
> >
>
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(L ogFactoryImpl.ja
> > va:529)
> > ... 10 more
> > Caused by: java.lang.NullPointerException
> > at
> >
>
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstru ctor(LogFactoryI
> > mpl.java:374)
> > ... 11 more
> >
> > Any ideas??
> >
> >
>
>
Previous Topic:FTP target management support problem on z/OS
Next Topic:Pollinate Creation Review
Goto Forum:
  


Current Time: Fri May 23 11:59:26 EDT 2025

Powered by FUDForum. Page generated in 0.07328 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top