portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lalitha Bourishetty <lalitha.bourishe...@oracle.com>
Subject RE: Error while deploying Jetspeed source code
Date Fri, 17 Jul 2015 03:49:25 GMT
Hi David,

Copy share lib jar to weblogic's $DOMAIN_DIR/lib.

Regards,
Lalitha

-----Original Message-----
From: DavidSeanTaylor [mailto:david@bluesunrise.com] 
Sent: Thursday, July 16, 2015 8:18 PM
To: Jetspeed Developers List
Cc: Ramesh Veera venkata gopi Sama (ramesh.sama@oracle.com)
Subject: Re: Error while deploying Jetspeed source code

And what about the shared jars that go in $TOMCAT/lib, where did you place these files in
WebLogic?

Files like jetspeed-api-2.2.2.jar etc…

> On Jul 16, 2015, at 7:28 AM, Lalitha Bourishetty <lalitha.bourishetty@oracle.com>
wrote:
> 
> Hi David,
> 
> I just took Jetspeed source code from portal and inside war files made below changes:
> 1) Recompiled entire code with java 8.
> 2) Configured jndi in weblogic server.
> name: JetspeedDB
> jndi name: JetspeedDB
> 3) Modified weblogicmanager in deployment.xml.
> 
>  <bean id="org.apache.jetspeed.tools.pamanager.servletcontainer.ApplicationServerManager"
>    
> class="org.apache.jetspeed.tools.pamanager.servletcontainer.WeblogicMa
> nager" init-method="start">
> 4) modified weblogic.xml files as below in all war files 
> <weblogic-web-app> <reference-descriptor>
>   <resource-description>
>     <res-ref-name>jdbc/jetspeed</res-ref-name>
>      *<jndi-name>JetspeedDB</jndi-name>
> *
>        </resource-description>
> </reference-descriptor>
> <container-descriptor>
>  <prefer-web-inf-classes>true</prefer-web-inf-classes>
>  
> <show-archived-real-path-enabled>true</show-archived-real-path-enabled
> >
> </container-descriptor>
> </weblogic-web-app>
> 
> Then deployed application.
> 
> Regards,
> Lalitha
> 
> -----Original Message-----
> From: DavidSeanTaylor [mailto:david@bluesunrise.com]
> Sent: Thursday, July 16, 2015 7:50 PM
> To: Jetspeed Developers List
> Subject: Re: Error while deploying Jetspeed source code
> 
> Let me see if I can configure Jetspeed to run in WebLogic…. Just 
> downloaded  12.1.3.0 If you could send me detailed instructions of all 
> the steps you’ve taken thus far, it will me identify issues
> 
>> On Jul 16, 2015, at 5:31 AM, Lalitha Bourishetty <lalitha.bourishetty@oracle.com>
wrote:
>> 
>> Hi Team,
>> 
>> 
>> 
>> I am trying to deploy Jetspeed source code in weblogic.
>> 
>> I did below steps:
>> 
>> Recompiled entire code with java 8. Configured jndi in weblogic server. Modified
weblogicmanager in deployment.xml.
>> 
>> When I try to deploy Jetspeed-demo.war file after making all the above changes I
am getting below error:
>> 
>> 
>> 
>> 16.07.2015 04:11:24 ERROR
>> [org.apache.jetspeed.cluster.NodeManagerImpl.load():97] Failed to 
>> read nodes data file from 
>> C:\jetspeed\WEB-INF\cluster_node\nodeInfo.ser - error : null
>> 
>> 16.07.2015 04:11:24 ERROR
>> [org.apache.jetspeed.engine.JetspeedEngine.start():141]
>> org.springframework.beans.factory.BeanCreationException: Error 
>> creating bean with name 
>> 'org.apache.jetspeed.components.ApplicationEventMethodsInvoker#0'
>> defined in ServletContext resource [/WEB-INF/assembly/deployment.xml]: 
>> Cannot create inner bean
>> 'org.springframework.util.MethodInvoker#11466c7' of type 
>> [org.springframework.util.MethodInvoker] while setting constructor 
>> argument with key [TypedStringValue: value 
>> [org.springframework.context.event.ContextStartedEvent], target type 
>> [null]] with key [0]; nested exception is
>> org.springframework.beans.factory.BeanCreationException: Error 
>> creating bean with name 
>> 'org.springframework.util.MethodInvoker#11466c7' defined in 
>> ServletContext resource [/WEB-INF/assembly/deployment.xml]: Cannot 
>> resolve reference to bean 'deploymentManager' while setting bean 
>> property 'targetObject'; nested exception is
>> org.springframework.beans.factory.BeanCreationException: Error 
>> creating bean with name 'deploymentManager' defined in ServletContext 
>> resource [/WEB-INF/assembly/deployment.xml]: Cannot resolve reference 
>> to bean 'portletAppDeploymentListener' while setting constructor 
>> argument with key [0]; nested exception is
>> org.springframework.beans.factory.BeanCreationException: Error 
>> creating bean with name 'injectPAMProxyIntoPAM' defined in 
>> ServletContext resource [/WEB-INF/assembly/deployment.xml]: Cannot 
>> resolve reference to bean 
>> 'org.apache.jetspeed.tools.pamanager.PortletApplicationManager' while 
>> setting bean property 'targetObject'; nested exception is
>> org.springframework.beans.factory.BeanCreationException: Error 
>> creating bean with name 
>> 'org.apache.jetspeed.tools.pamanager.PortletApplicationManager'
>> defined in ServletContext resource [/WEB-INF/assembly/deployment.xml]: 
>> Cannot resolve reference to bean
>> 'org.apache.jetspeed.descriptor.JetspeedDescriptorService' while 
>> setting constructor argument; nested exception is
>> org.springframework.beans.factory.BeanCreationException: Error 
>> creating bean with name 
>> 'org.apache.jetspeed.descriptor.JetspeedDescriptorService' defined in 
>> ServletContext resource [/WEB-INF/assembly/deployment.xml]: Cannot 
>> create inner bean 
>> 'org.apache.pluto.container.impl.PortletAppDescriptorServiceImpl#1c70
>> a
>> fb' of type
>> [org.apache.pluto.container.impl.PortletAppDescriptorServiceImpl]
>> while setting constructor argument; nested exception is
>> org.springframework.beans.factory.BeanCreationException: Error 
>> creating bean with name 
>> 'org.apache.pluto.container.impl.PortletAppDescriptorServiceImpl#1c70
>> a fb' defined in ServletContext resource
>> [/WEB-INF/assembly/deployment.xml]: Instantiation of bean failed; 
>> nested exception is
>> org.springframework.beans.BeanInstantiationException: Could not 
>> instantiate bean class
>> [org.apache.pluto.container.impl.PortletAppDescriptorServiceImpl]: 
>> Constructor threw exception; nested exception is
>> java.lang.IllegalStateException: Failed to initialize JAXBContext for 
>> reading and writing portlet descriptors
>> 
>> 16.07.2015 04:11:24 ERROR [org.apache.jetspeed.engine.JetspeedServlet.init():217]
Jetspeed: init() failed: 
>> 
>> org.apache.jetspeed.exception.JetspeedException: Jetspeed Initialization exception!
>> 
>>               at
>> org.apache.jetspeed.engine.JetspeedEngine.start(JetspeedEngine.java:1
>> 4
>> 2)
>> 
>>               at
>> org.apache.jetspeed.engine.JetspeedServlet.init(JetspeedServlet.java:
>> 2
>> 08)
>> 
>>               at
>> weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(St
>> u
>> bSecurityHelper.java:337)
>> 
>>               at
>> weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(St
>> u
>> bSecurityHelper.java:288)
>> 
>>               at
>> weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
>> d
>> Subject.java:321)
>> 
>>               at
>> weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
>> 1
>> 20)
>> 
>>               at
>> weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:
>> 5
>> 7)
>> 
>>               at
>> weblogic.servlet.internal.StubSecurityHelper.initServletInstance(Stub
>> S
>> ecurityHelper.java:98)
>> 
>>               at
>> weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecuri
>> t
>> yHelper.java:86)
>> 
>>               at
>> weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubL
>> i
>> fecycleHelper.java:71)
>> 
>>               at
>> weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHel
>> p
>> er.java:57)
>> 
>>               at
>> weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHel
>> p
>> er.java:31)
>> 
>>               at
>> weblogic.servlet.internal.ServletStubImpl.initStubLifecycleHelper(Ser
>> v
>> letStubImpl.java:660)
>> 
>>               at
>> weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
>> m
>> pl.java:600)
>> 
>>               at
>> weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppS
>> e
>> rvletContext.java:1979)
>> 
>>               at
>> weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(
>> W
>> ebAppServletContext.java:1956)
>> 
>>               at
>> weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAp
>> p
>> ServletContext.java:1846)
>> 
>>               at
>> weblogic.servlet.internal.WebAppServletContext.start(WebAppServletCon
>> t
>> ext.java:2876)
>> 
>>               at
>> weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.jav
>> a
>> :1661)
>> 
>>               at
>> weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:823)
>> 
>>               at
>> weblogic.application.internal.ExtensibleModuleWrapper$StartStateChang
>> e
>> .next(ExtensibleModuleWrapper.java:360)
>> 
>>               at
>> weblogic.application.internal.ExtensibleModuleWrapper$StartStateChang
>> e
>> .next(ExtensibleModuleWrapper.java:356)
>> 
>>               at
>> weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
>> r
>> iver.java:42)
>> 
>>               at
>> weblogic.application.internal.ExtensibleModuleWrapper.start(Extensibl
>> e
>> ModuleWrapper.java:138)
>> 
>>               at
>> weblogic.application.internal.flow.ModuleListenerInvoker.start(Module
>> L
>> istenerInvoker.java:124)
>> 
>>               at
>> weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleSta
>> t
>> eDriver.java:216)
>> 
>>               at
>> weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleSta
>> t
>> eDriver.java:211)
>> 
>>               at
>> weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
>> r
>> iver.java:42)
>> 
>>               at
>> weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStat
>> e
>> Driver.java:73)
>> 
>>               at
>> weblogic.application.internal.flow.StartModulesFlow.activate(StartMod
>> u
>> lesFlow.java:24)
>> 
>>               at
>> weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.ja
>> v
>> a:729)
>> 
>>               at
>> weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
>> r
>> iver.java:42)
>> 
>>               at
>> weblogic.application.internal.BaseDeployment.activate(BaseDeployment.
>> j
>> ava:258)
>> 
>>               at
>> weblogic.application.internal.SingleModuleDeployment.activate(SingleM
>> o
>> duleDeployment.java:48)
>> 
>>               at
>> weblogic.application.internal.DeploymentStateChecker.activate(Deploym
>> e
>> ntStateChecker.java:165)
>> 
>>               at
>> weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(Ap
>> p
>> ContainerInvoker.java:80)
>> 
>>               at
>> weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicD
>> e
>> ployment.java:226)
>> 
>>               at
>> weblogic.deploy.internal.targetserver.BasicDeployment.activateFromSer
>> v
>> erLifecycle(BasicDeployment.java:418)
>> 
>>               at
>> weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(De
>> p
>> loymentAdapter.java:51)
>> 
>>               at
>> weblogic.management.deploy.internal.DeploymentAdapter.activate(Deploy
>> m
>> entAdapter.java:200)
>> 
>>               at
>> weblogic.management.deploy.internal.AppTransition$2.transitionApp(App
>> T
>> ransition.java:30)
>> 
>>               at
>> weblogic.management.deploy.internal.ConfiguredDeployments.transitionA
>> p
>> ps(ConfiguredDeployments.java:240)
>> 
>>               at
>> weblogic.management.deploy.internal.ConfiguredDeployments.activate(Co
>> n
>> figuredDeployments.java:169)
>> 
>>               at
>> weblogic.management.deploy.internal.ConfiguredDeployments.deploy(Conf
>> i
>> guredDeployments.java:123)
>> 
>>               at
>> weblogic.management.deploy.internal.DeploymentServerService.resume(De
>> p
>> loymentServerService.java:210)
>> 
>>               at
>> weblogic.management.deploy.internal.DeploymentServerService.start(Dep
>> l
>> oymentServerService.java:118)
>> 
>>               at
>> weblogic.server.AbstractServerService.postConstruct(AbstractServerSer
>> v
>> ice.java:78)
>> 
>>               at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown
>> Source)
>> 
>>               at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>> s
>> orImpl.java:43)
>> 
>>               at java.lang.reflect.Method.invoke(Method.java:497)
>> 
>>               at
>> org.glassfish.hk2.utilities.reflection.ReflectionHelper.invoke(Reflec
>> t
>> ionHelper.java:1017)
>> 
>>               at
>> org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:
>> 388)
>> 
>>               at
>> org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:430)
>> 
>>               at
>> org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:
>> 4
>> 56)
>> 
>>               at
>> org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate
>> (
>> AsyncRunLevelContext.java:225)
>> 
>>               at
>> org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelConte
>> x
>> t.java:82)
>> 
>>               at
>> org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2488)
>> 
>>               at
>> org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.
>> java:98)
>> 
>>               at
>> org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorIm
>> p
>> l.java:606)
>> 
>>               at
>> org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolve
>> r
>> .java:77)
>> 
>>               at
>> org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:231)
>> 
>>               at
>> org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreat
>> o
>> r.java:254)
>> 
>>               at
>> org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:413)
>> 
>>               at
>> org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:
>> 4
>> 56)
>> 
>>               at
>> org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate
>> (
>> AsyncRunLevelContext.java:225)
>> 
>>               at
>> org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelConte
>> x
>> t.java:82)
>> 
>>               at
>> org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2488)
>> 
>>               at
>> org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.
>> java:98)
>> 
>>               at
>> org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.
>> java:87)
>> 
>>               at
>> org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.one
>> J
>> ob(CurrentTaskFuture.java:1162)
>> 
>>               at
>> org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run
>> (
>> CurrentTaskFuture.java:1147)
>> 
>>               at
>> weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin
>> g
>> WorkManagerImpl.java:548)
>> 
>>               at
>> weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
>> 
>>               at
>> weblogic.work.ExecuteThread.run(ExecuteThread.java:263)
>> 
>> 
>> 
>> Please help  me how this error can be resolved. Eagerly waiting for reply.
>> 
>> 
>> 
>> Regards,
>> 
>> Lalitha
>> 
>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message