cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco 3 + Websphere 6.1

misranp
Champ in-the-making
Champ in-the-making
Hi,

I tried to install Alfresco with Websphere 6.1, but I am encountering the following error. Can anybody pleas help me out on this?

Original Exception:

Error Message: Error creating bean with name 'org.apache.cxf.wsdl.WSDLManager' defined in class path resource [META-INF/cxf/cxf.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.apache.cxf.wsdl11.WSDLManagerImpl]: Constructor threw exception; nested exception is java.lang.VerifyError: class loading constraint violated (class: org/apache/cxf/wsdl11/SchemaSerializer method: marshall(Ljava/lang/Class;Ljavax/xml/namespace/QName;Ljavax/wsdl/extensions/ExtensibilityElement;Ljava/io/PrintWriter;Ljavax/wsdl/Definition;Ljavax/wsdl/extensions/ExtensionRegistrySmiley WinkV) at pc: 0
Error Code: 500
Target Servlet: null
Error Stack:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.wsdl.WSDLManager' defined in class path resource [META-INF/cxf/cxf.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.apache.cxf.wsdl11.WSDLManagerImpl]: Constructor threw exception; nested exception is java.lang.VerifyError: class loading constraint violated (class: org/apache/cxf/wsdl11/SchemaSerializer method: marshall(Ljava/lang/Class;Ljavax/xml/namespace/QName;Ljavax/wsdl/extensions/ExtensibilityElement;Ljava/io/PrintWriter;Ljavax/wsdl/Definition;Ljavax/wsdl/extensions/ExtensionRegistrySmiley WinkV) at pc: 0
     Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.apache.cxf.wsdl11.WSDLManagerImpl]: Constructor threw exception; nested exception is java.lang.VerifyError: class loading constraint violated (class: org/apache/cxf/wsdl11/SchemaSerializer method: marshall(Ljava/lang/Class;Ljavax/xml/namespace/QName;Ljavax/wsdl/extensions/ExtensibilityElement;Ljava/io/PrintWriter;Ljavax/wsdl/Definition;Ljavax/wsdl/extensions/ExtensionRegistrySmiley WinkV) at pc: 0
     Caused by: java.lang.VerifyError: class loading constraint violated (class: org/apache/cxf/wsdl11/SchemaSerializer method: marshall(Ljava/lang/Class;Ljavax/xml/namespace/QName;Ljavax/wsdl/extensions/ExtensibilityElement;Ljava/io/PrintWriter;Ljavax/wsdl/Definition;Ljavax/wsdl/extensions/ExtensionRegistrySmiley WinkV) at pc: 0
     at java.lang.J9VMInternals.verifyImpl(Native Method)
     at java.lang.J9VMInternals.verify(J9VMInternals.java:68)
     at java.lang.J9VMInternals.initialize(J9VMInternals.java:129)
     at org.apache.cxf.wsdl11.WSDLManagerImpl.<init>(WSDLManagerImpl.java:92)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67)
     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
     at java.lang.reflect.Constructor.newInstance(Constructor.java:522)
     at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:85)
     at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:756)
     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:721)
     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:384)
     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
     at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)
     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
     at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:244)
     at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:187)
     at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
     at com.ibm.ws.wswebcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:645)
     at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:314)
     at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:290)
     at com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:92)
     at com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:157)
     at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:665)
     at com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java:618)
     at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:335)
     at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:551)
     at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1303)
     at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1138)
     at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:569)
     at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:817)
     at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:949)
     at com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:2122)
     at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:342)
     at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
3 REPLIES 3

mrogers
Star Contributor
Star Contributor
I'm not sure its related but the latest versions of Alfresco 3 require a version 6 JDK.   Is your old version of WebLogic running on an up to date JDK?

misranp
Champ in-the-making
Champ in-the-making
I am not working on Weblogic, I am deploying Alfresco on Websphere 6.1

jgould
Champ in-the-making
Champ in-the-making
Hi, were you successful in deploying Alfresco 3 to Websphere 6.1.

I have tried several attempts, however either I can get it to deploy fine with no logging errors, but the pages are all corrupted, having ramped up the logging this is becuase the myfaces is not working correctly.

However if I update the class loader to stop this happening upon deploy I see the same error you are seeing,

please advise if you have had any breakthroughs,

thanks