Re: Problem when deploying JetSpeed2 to Weblogic Server 8.1sp2
Just check out this post: http://uncommentedbytes.blogspot.com/2004/11/problem-deploying-jetspeed-2-on.html On Fri, 11 Mar 2005 00:44:06 +0800, ååè <[EMAIL PROTECTED]> wrote: > hello, every one. > > I had a problem when I deployed the default JetSpeed2.0-M1 jetspeed demo to > weblogic server8.1 sp2, but it worked well under the tomcat ,I haved modify > jetspeed-spring.xml file and adjust TomcatManager to WeblogicManager, it > still had errors , I didn't know how to do and what't the problem came from, > does anybody have any idea? > > Thanks a lot! > > The following is the stack when deploying jetspeed app. > > <2005-3-11 äå00æ38å18ç CST> > < Kernel>> <> for application jetspeed.> > <2005-3-11 äå00æ38å18ç CST> > < Kernel>> <> for the application jetspeed. > javax.naming.ConfigurationException. Root exception is > java.net.MalformedURLException: no protocol: > at > weblogic.rmi.spi.ServerURL.parseURL(Lweblogic.rmi.spi.ServerURL;Ljava.lang.String;)V(ServerURL.java:353) > at weblogic.rmi.spi.ServerURL.(Ljava.lang.String;)V(ServerURL.java:115) > at weblogic.rjvm.ServerURL.(Ljava.lang.String;)V(ServerURL.java:45) > at > weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(Lweblogic.jndi.Environment;Ljava.lang.String;)Ljavax.naming.Context;(WLInitialContextFactoryDelegate.java:296) > at > weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(Ljava.util.Hashtable;)Ljavax.naming.Context;(WLInitialContextFactoryDelegate.java:239) > at > weblogic.jndi.WLInitialContextFactory.getInitialContext(Ljava.util.Hashtable;)Ljavax.naming.Context;(WLInitialContextFactory.java:135) > at > javax.naming.spi.NamingManager.getInitialContext(Ljava.util.Hashtable;)Ljavax.naming.Context;(NamingManager.java:662) > at > javax.naming.InitialContext.getDefaultInitCtx()Ljavax.naming.Context;(InitialContext.java:243) > at > javax.naming.InitialContext.init(Ljava.util.Hashtable;)V(InitialContext.java:219) > at javax.naming.InitialContext.()V(InitialContext.java:175) > at > weblogic.deployment.EnvironmentBuilder.findObject(Ljava.lang.String;)Ljava.lang.Object;(EnvironmentBuilder.java:768) > at > weblogic.deployment.EnvironmentBuilder.findObjectOrCreateLinkRef(Ljava.lang.String;)Ljava.lang.Object;(EnvironmentBuilder.java:759) > at > weblogic.deployment.EnvironmentBuilder.addUserTransaction()V(EnvironmentBuilder.java:555) > at > weblogic.deployment.EnvironmentBuilder.(Ljavax.naming.Context;Ljava.lang.String;Ljava.lang.String;)V(EnvironmentBuilder.java:94) > at > weblogic.servlet.internal.CompEnv.(Ljavax.naming.Context;Lweblogic.servlet.internal.WebAppServletContext;Ljava.util.List;)V(CompEnv.java:80) > at > weblogic.servlet.internal.WebAppServletContext.init(Ljava.lang.String;Lweblogic.management.descriptors.WebDescriptorMBean;Z)V(WebAppServletContext.java:569) > at > weblogic.servlet.internal.WebAppServletContext.(Lweblogic.servlet.internal.HttpServer;Lweblogic.management.configuration.WebAppComponentMBean;Lweblogic.servlet.internal.WebAppModule;Lweblogic.management.ApplicationContainer;Lweblogic.application.ApplicationInfo;)V(WebAppServletContext.java:493) > at > weblogic.servlet.internal.HttpServer.loadWebApp(Lweblogic.management.configuration.WebAppComponentMBean;Lweblogic.management.ApplicationContainer;Lweblogic.application.ApplicationInfo;Lweblogic.servlet.internal.WebAppModule;)Lweblogic.servlet.internal.WebAppServletContext;(HttpServer.java:628) > at > weblogic.servlet.internal.WebAppModule.prepare(Ljava.lang.ClassLoader;[Lweblogic.management.configuration.VirtualHostMBean;ZLjava.lang.String;)V(WebAppModule.java:626) > at > weblogic.j2ee.J2EEApplicationContainer.prepareWebModule(Lweblogic.utils.classloaders.GenericClassLoader;Lweblogic.j2ee.J2EEApplicationContainer$Component;Z)V(J2EEApplicationContainer.java:3011) > at > weblogic.j2ee.J2EEApplicationContainer.prepareModules([Lweblogic.j2ee.J2EEApplicationContainer$Component;Ljava.lang.String;Z)V(J2EEApplicationContainer.java:1532) > at > weblogic.j2ee.J2EEApplicationContainer.prepare([Lweblogic.j2ee.J2EEApplicationContainer$Component;[Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)V(J2EEApplicationContainer.java:1188) > at > weblogic.j2ee.J2EEApplicationContainer.prepare(Ljava.lang.String;[Lweblogic.management.configuration.ComponentMBean;[Ljava.lang.String;)V(J2EEApplicationContainer.java:1031) > at > weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer()V(SlaveDeployer.java:2602) > at > weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer()Z(SlaveDeployer.java:2552) > at > weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare()V(SlaveDeployer.java:2474) > at > weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Lweblogic.management.deploy.OamVersion;Lweblogic.management.runtime.DeploymentTaskRuntimeMBean;Z)V(SlaveDeployer.java:798) > at > weblogic.management.deploy.slave.SlaveDeployer
Problem when deploying JetSpeed2 to Weblogic Server 8.1sp2
hello, every one. I had a problem when I deployed the default JetSpeed2.0-M1 jetspeed demo to weblogic server8.1 sp2, but it worked well under the tomcat ,I haved modify jetspeed-spring.xml file and adjust TomcatManager to WeblogicManager, it still had errors , I didn't know how to do and what't the problem came from, does anybody have any idea? Thanks a lot! The following is the stack when deploying jetspeed app. <2005-3-11 äå00æ38å18ç CST> <> <> <2005-3-11 äå00æ38å18ç CST> <> <> (Ljava.lang.String;)V(ServerURL.java:115) at weblogic.rjvm.ServerURL.(Ljava.lang.String;)V(ServerURL.java:45) at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(Lweblogic.jndi.Environment;Ljava.lang.String;)Ljavax.naming.Context;(WLInitialContextFactoryDelegate.java:296) at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(Ljava.util.Hashtable;)Ljavax.naming.Context;(WLInitialContextFactoryDelegate.java:239) at weblogic.jndi.WLInitialContextFactory.getInitialContext(Ljava.util.Hashtable;)Ljavax.naming.Context;(WLInitialContextFactory.java:135) at javax.naming.spi.NamingManager.getInitialContext(Ljava.util.Hashtable;)Ljavax.naming.Context;(NamingManager.java:662) at javax.naming.InitialContext.getDefaultInitCtx()Ljavax.naming.Context;(InitialContext.java:243) at javax.naming.InitialContext.init(Ljava.util.Hashtable;)V(InitialContext.java:219) at javax.naming.InitialContext.()V(InitialContext.java:175) at weblogic.deployment.EnvironmentBuilder.findObject(Ljava.lang.String;)Ljava.lang.Object;(EnvironmentBuilder.java:768) at weblogic.deployment.EnvironmentBuilder.findObjectOrCreateLinkRef(Ljava.lang.String;)Ljava.lang.Object;(EnvironmentBuilder.java:759) at weblogic.deployment.EnvironmentBuilder.addUserTransaction()V(EnvironmentBuilder.java:555) at weblogic.deployment.EnvironmentBuilder.(Ljavax.naming.Context;Ljava.lang.String;Ljava.lang.String;)V(EnvironmentBuilder.java:94) at weblogic.servlet.internal.CompEnv.(Ljavax.naming.Context;Lweblogic.servlet.internal.WebAppServletContext;Ljava.util.List;)V(CompEnv.java:80) at weblogic.servlet.internal.WebAppServletContext.init(Ljava.lang.String;Lweblogic.management.descriptors.WebDescriptorMBean;Z)V(WebAppServletContext.java:569) at weblogic.servlet.internal.WebAppServletContext.(Lweblogic.servlet.internal.HttpServer;Lweblogic.management.configuration.WebAppComponentMBean;Lweblogic.servlet.internal.WebAppModule;Lweblogic.management.ApplicationContainer;Lweblogic.application.ApplicationInfo;)V(WebAppServletContext.java:493) at weblogic.servlet.internal.HttpServer.loadWebApp(Lweblogic.management.configuration.WebAppComponentMBean;Lweblogic.management.ApplicationContainer;Lweblogic.application.ApplicationInfo;Lweblogic.servlet.internal.WebAppModule;)Lweblogic.servlet.internal.WebAppServletContext;(HttpServer.java:628) at weblogic.servlet.internal.WebAppModule.prepare(Ljava.lang.ClassLoader;[Lweblogic.management.configuration.VirtualHostMBean;ZLjava.lang.String;)V(WebAppModule.java:626) at weblogic.j2ee.J2EEApplicationContainer.prepareWebModule(Lweblogic.utils.classloaders.GenericClassLoader;Lweblogic.j2ee.J2EEApplicationContainer$Component;Z)V(J2EEApplicationContainer.java:3011) at weblogic.j2ee.J2EEApplicationContainer.prepareModules([Lweblogic.j2ee.J2EEApplicationContainer$Component;Ljava.lang.String;Z)V(J2EEApplicationContainer.java:1532) at weblogic.j2ee.J2EEApplicationContainer.prepare([Lweblogic.j2ee.J2EEApplicationContainer$Component;[Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)V(J2EEApplicationContainer.java:1188) at weblogic.j2ee.J2EEApplicationContainer.prepare(Ljava.lang.String;[Lweblogic.management.configuration.ComponentMBean;[Ljava.lang.String;)V(J2EEApplicationContainer.java:1031) at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer()V(SlaveDeployer.java:2602) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer()Z(SlaveDeployer.java:2552) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare()V(SlaveDeployer.java:2474) at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Lweblogic.management.deploy.OamVersion;Lweblogic.management.runtime.DeploymentTaskRuntimeMBean;Z)V(SlaveDeployer.java:798) at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(Lweblogic.management.deploy.OamDelta;Lweblogic.management.deploy.OamVersion;Z)Z(SlaveDeployer.java:507) at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(Ljava.util.ArrayList;Z)V(SlaveDeployer.java:465) at weblogic.drs.internal.SlaveCallbackHandler$1.execute(Lweblogic.kernel.ExecuteThread;)V(SlaveCallbackHandler.java:25) at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:197) at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:170) --- nested within: -- weblogic.management.ManagementException: - with nested e