camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kulbhushan Azad <kulbhushan.cu...@gmail.com>
Subject Re: Spring-Camel Context initialization error in weblogic 12c
Date Tue, 28 May 2013 21:39:38 GMT
Thanks Frank and Preben for your inputs

yes i have been using the cat tool of 12c to resolve the conflicting
classes , i do not see any conflicting classes in cat tool

now i am getting below error not sure how to go about it

[Exception [EclipseLink-50007] (Eclipse Persistence Services -
2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.JAXBException
Exception Description: Name collision.  Two classes have the XML type with
uri http://camel.apache.org/schema/spring and name expression.]
 - with linked exception:
[javax.xml.bind.JAXBException:
Exception Description: Name collision.  Two classes have the XML type with
uri http://camel.apache.org/schema/spring and name expression.
 - with linked exception:
[Exception [EclipseLink-50007] (Eclipse Persistence Services -
2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.JAXBException
Exception Description: Name collision.  Two classes have the XML type with
uri http://camel.apache.org/schema/spring and name expression.]]
    at
org.apache.camel.spring.handler.CamelNamespaceHandler$CamelContextBeanDefinitionParser.doParse(CamelNamespaceHandler.java:304)
    at
org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser.parseInternal(AbstractSingleBeanDefinitionParser.java:84)
    at
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser.parse(AbstractBeanDefinitionParser.java:56)
    at
org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:69)
    at
org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1297)
    at
org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1287)
    at
org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:135)
    at
org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:92)
    at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:507)
    at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:398)
    at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342)
    at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
    at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
    at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
    at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
    at
org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
    at
org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)
    at
org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
    at
org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:422)
    at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
    at
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
    at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
    at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
    at
weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:582)
    at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at
weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
    at
weblogic.servlet.internal.EventsManager.executeContextListener(EventsManager.java:233)
    at
weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:190)
    at
weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:175)
    at
weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1730)
    at
weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2740)
    at
weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1704)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:781)
    at
weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:213)
    at
weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:208)
    at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35)
    at
weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:70)
    at
weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:212)
    at
weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:111)
    at
weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
    at
weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:213)
    at
weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:208)
    at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35)
    at
weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:70)
    at
weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:24)
    at
weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:729)
    at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35)
    at
weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:258)
    at
weblogic.application.internal.EarDeployment.activate(EarDeployment.java:61)
    at
weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:165)
    at
weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    at
weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:582)
    at
weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:148)
    at
weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:114)
    at
weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:335)
    at
weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
    at
weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
    at
weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
    at
weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
    at
weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
    at
weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
    at
weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
    at
weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)







On Tue, May 28, 2013 at 1:44 PM, Preben.Asmussen <pras@dr.dk> wrote:

> Hi
>
> I'm running several camel war's on weblogic 10.3.5 without any problems as
> long as you remember to use weblogic.xml deployment descriptor to load
> webapp provided classes first.
>
> Weblogic provides an build in  weblogic classloader analysis tool
> <
> http://blog.eisele.net/2011/01/using-new-weblogic-classloader-analysis.html
> >
> one can use to solve classloader problems. This might aslo be available on
> wls 12c.
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Spring-Camel-Context-initialization-error-in-weblogic-12c-tp5733202p5733370.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Thanks
Kulbhusan

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message