David,
  And this I get out of the localhost log (different run - same
problem):

2003-11-19 22:14:47 Servlet /jetspeed threw load() exception
javax.servlet.ServletException: Jetspeed: init() failed
        at
org.apache.jetspeed.engine.JetspeedServlet.init(JetspeedServlet.java:189)
        at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1044)
        at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:887)
        at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3853)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4168)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:850)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
        at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:315)
        at
org.apache.catalina.core.StandardHost.install(StandardHost.java:859)
        at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:653)
        at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
        at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1002)
        at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:393)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
        at
org.apache.catalina.core.StandardHost.start(StandardHost.java:816)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1125)
        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:518)
        at
org.apache.catalina.core.StandardService.start(StandardService.java:519)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2343)
        at
org.apache.catalina.startup.Catalina.start(Catalina.java:580)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)
        at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:397)
----- Root Cause -----
javax.management.ReflectionException: The MBean class could not be
loaded by the context classloader
        at
com.sun.jmx.mbeanserver.MBeanInstantiatorImpl.loadClass(MBeanInstantiatorImpl.java:444)
        at
com.sun.jmx.mbeanserver.MBeanInstantiatorImpl.findClass(MBeanInstantiatorImpl.java:80)
        at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.createMBean(DefaultMBeanServerInterceptor.java:286)
        at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.createMBean(DefaultMBeanServerInterceptor.java:234)
        at
com.sun.jmx.mbeanserver.JmxMBeanServer.createMBean(JmxMBeanServer.java:362)


Gerry Reno


--- Gerry Reno <[EMAIL PROTECTED]> wrote:
> David,
>   I do see two jetspeed initializations going on in the log.  The
> first
> at 2:29:29 and the second at 2:29:51.
> 
>   Here's the complete startup log from Tomcat 5.0.14:
> 
> Nov 19, 2003 2:29:14 PM org.apache.coyote.http11.Http11Protocol init
> INFO: Initializing Coyote HTTP/1.1 on port 8080
> Nov 19, 2003 2:29:14 PM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 2185 ms
> Nov 19, 2003 2:29:14 PM org.apache.catalina.core.StandardService
> start
> INFO: Starting service Catalina
> Nov 19, 2003 2:29:14 PM org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/5.0.14
> Nov 19, 2003 2:29:14 PM org.apache.catalina.core.StandardHost start
> INFO: XML validation disabled
> Nov 19, 2003 2:29:14 PM org.apache.catalina.core.StandardHost
> getDeployer
> INFO: Create Host deployer for direct deployment ( non-jmx )
> Nov 19, 2003 2:29:14 PM org.apache.catalina.core.StandardHostDeployer
> install
> INFO: Processing Context configuration file URL
>
file:/usr/local/jakarta-tomcat-5.0.14/conf/Catalina/localhost/manager.xml
> Nov 19, 2003 2:29:15 PM org.apache.catalina.core.StandardHostDeployer
> install
> INFO: Processing Context configuration file URL
>
file:/usr/local/jakarta-tomcat-5.0.14/conf/Catalina/localhost/admin.xml
> Nov 19, 2003 2:29:16 PM
> org.apache.struts.util.PropertyMessageResources
> <init>
> INFO: Initializing, config='org.apache.struts.util.LocalStrings',
> returnNull=true
> Nov 19, 2003 2:29:16 PM
> org.apache.struts.util.PropertyMessageResources
> <init>
> INFO: Initializing,
> config='org.apache.struts.action.ActionResources',
> returnNull=true
> Nov 19, 2003 2:29:16 PM
> org.apache.struts.util.PropertyMessageResources
> <init>
> INFO: Initializing,
> config='org.apache.webapp.admin.ApplicationResources',
> returnNull=true
> Nov 19, 2003 2:29:19 PM org.apache.catalina.core.StandardHostDeployer
> install
> INFO: Installing web application at context path /portal from URL
> file:/usr/local/jakarta-tomcat/webapps/portal
> 
> Starting Apache Jetspeed Portal/1.4
> 
> Nov 19, 2003 2:29:25 PM org.apache.catalina.core.StandardHostDeployer
> install
> INFO: Installing web application at context path /jetspeed-1.4b4 from
> URL file:/usr/local/jakarta-tomcat/webapps/jetspeed-1.4b4
> Nov 19, 2003 2:29:29 PM org.apache.catalina.core.StandardHostDeployer
> install
> INFO: Installing web application at context path /jetspeed from URL
> file:/usr/local/jakarta-tomcat/webapps/jetspeed
> Nov 19, 2003 2:29:29 PM org.apache.jetspeed.engine.JetspeedServlet
> init
> INFO: Jetspeed Starting Initialization...
> Nov 19, 2003 2:29:29 PM org.apache.jetspeed.engine.JetspeedServlet
> init
> INFO: JetspeedServlet identifying web application root...
> Nov 19, 2003 2:29:29 PM org.apache.jetspeed.engine.JetspeedServlet
> init
> INFO: JetspeedServlet identifed web application root as
> /usr/local/jakarta-tomcat/webapps/jetspeed/
> Nov 19, 2003 2:29:29 PM org.apache.jetspeed.engine.JetspeedServlet
> init
> INFO: JetspeedServlet attempting to create the  portlet engine...
> Nov 19, 2003 2:29:29 PM org.apache.jetspeed.Jetspeed createEngine
> INFO: Jetspeed environment attempting to initialize portal Engine...
> Nov 19, 2003 2:29:29 PM org.apache.catalina.core.StandardHostDeployer
> install
> INFO: Installing web application at context path /calendar from URL
> file:/usr/local/jakarta-tomcat/webapps/calendar
> Nov 19, 2003 2:29:30 PM org.apache.catalina.core.StandardHostDeployer
> install
> INFO: Installing web application at context path /jsp-examples from
> URL
> file:/usr/local/jakarta-tomcat-5.0.14/webapps/jsp-examples
> Nov 19, 2003 2:29:30 PM org.apache.catalina.core.StandardHostDeployer
> install
> INFO: Installing web application at context path /tomcat-docs from
> URL
> file:/usr/local/jakarta-tomcat-5.0.14/webapps/tomcat-docs
> Nov 19, 2003 2:29:30 PM org.apache.catalina.core.StandardHostDeployer
> install
> INFO: Installing web application at context path  from URL
> file:/usr/local/jakarta-tomcat-5.0.14/webapps/ROOT
> Nov 19, 2003 2:29:30 PM org.apache.catalina.core.StandardHostDeployer
> install
> INFO: Installing web application at context path /servlets-examples
> from URL
> file:/usr/local/jakarta-tomcat-5.0.14/webapps/servlets-examples
> Nov 19, 2003 2:29:30 PM org.apache.catalina.core.StandardHostDeployer
> install
> INFO: Installing web application at context path /pluto from URL
> file:/usr/local/jakarta-tomcat-5.0.14/webapps/pluto
> Nov 19, 2003 2:29:30 PM org.apache.catalina.core.StandardHostDeployer
> install
> INFO: Installing web application at context path /testsuite from URL
> file:/usr/local/jakarta-tomcat-5.0.14/webapps/testsuite
> Nov 19, 2003 2:29:31 PM org.apache.coyote.http11.Http11Protocol start
> INFO: Starting Coyote HTTP/1.1 on port 8080
> Nov 19, 2003 2:29:31 PM org.apache.jk.common.ChannelSocket init
> INFO: JK2: ajp13 listening on /0.0.0.0:8009
> Nov 19, 2003 2:29:31 PM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=11/23 
> config=/usr/local/jakarta-tomcat/conf/jk2.properties
> Nov 19, 2003 2:29:31 PM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 17262 ms
> Nov 19, 2003 2:29:51 PM org.apache.jetspeed.engine.JetspeedServlet
> init
> INFO: Jetspeed Starting Initialization...
> Nov 19, 2003 2:29:51 PM org.apache.jetspeed.engine.JetspeedServlet
> init
> INFO: Double initialization of Jetspeed was attempted!
> Nov 19, 2003 2:29:51 PM org.apache.jetspeed.engine.JetspeedServlet
> init
> INFO: Double initialization of Jetspeed was attempted!
> Nov 19, 2003 2:29:51 PM
> org.apache.jetspeed.request.RequestContextFactory getInstance
> SEVERE: RequestContextFactory: Failed to create a Class object for
> RequestContext: java.lang.NullPointerException: The engine is null,
> have you called createEgine() yet?
> java.lang.NullPointerException: The engine is null, have you called
> createEgine() yet?
>         at org.apache.jetspeed.Jetspeed.getContext(Jetspeed.java:130)
>         at
>
org.apache.jetspeed.request.RequestContextFactory.getInstance(RequestContextFactory.java:101)
>         at
>
org.apache.jetspeed.engine.JetspeedServlet.doGet(JetspeedServlet.java:243)
> 
> 
> Gerry Reno
> 
> 
> --- Gerry Reno <[EMAIL PROTECTED]> wrote:
> > David,
> >   I don't know where else to look.  I started with completely new
> > versions of Tomcat and the J2 maven build went through without a
> > problem.  I checked in the logs and right after the shutdown at the
> > very beginning of the startup is where the double initialization
> > error
> > occurs.  Here's my environment:
> > 
> > RedHat Linux 8.0
> > Java 1.4.2
> > Tomcat 4.1.29, 5.0.14
> > 
> >   How can I force maven to ignore all the current jars and download
> > all
> > new jars?  Maybe that would help.
> > 
> > Gerry Reno
> > 
> > 
> > --- David Sean Taylor <[EMAIL PROTECTED]> wrote:
> > > 
> > > On Wednesday, November 19, 2003, at 11:41  AM, Gerry Reno wrote:
> > > 
> > > >   Tomcat 5.0.14:
> > > >   I removed the following jars from shared/lib and restarted:
> > > > pluto-0.1-dev-unreleased.jar
> > > > portlet-api.jar
> > > >
> > > > Pluto no longer runs.  Jetspeed still gets the following double
> > > > initialization error:
> > > >
> > > > INFO: Jetspeed Starting Initialization...
> > > > Nov 19, 2003 2:29:51 PM
> > org.apache.jetspeed.engine.JetspeedServlet
> > > init
> > > > INFO: Double initialization of Jetspeed was attempted!
> > > > Nov 19, 2003 2:29:51 PM
> > org.apache.jetspeed.engine.JetspeedServlet
> > > init
> > > > INFO: Double initialization of Jetspeed was attempted!
> > > > Nov 19, 2003 2:29:51 PM
> > > > org.apache.jetspeed.request.RequestContextFactory getInstance
> > > > SEVERE: RequestContextFactory: Failed to create a Class object
> > for
> > > > RequestContext: java.lang.NullPointerException: The engine is
> > null,
> > > > have you called createEgine() yet?
> > > > java.lang.NullPointerException: The engine is null, have you
> > called
> > > > createEgine() yet?
> > > 
> > > Well I've been trying to reproduce this under Tomcat 5 and
> > Catalina.
> > > I'll be damned but it works for me without error :(
> > > Im not sure whats different in my environment here from yours
> > > suggest looking at the log files and seeing if anything is
> failing
> > up
> 
=== message truncated ===


=====
Gerry Reno
mailto: grenoml at@ yahoo dot. com
(if mail bounces please retry later - spam rapidly fills up mailbox)

__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to