Which Version of Camel do you use? Sent from a mobile device Am 26.05.2013 08:24 schrieb "Kulbhushan Azad" <kulbhushan.cu...@gmail.com>:
> hi > > i am new to camel and trying to use this in one of my project which runs on > weblogic 12c. > > appreciate help on this , below is the config and error stack trace > > below is what i have in applicationContext.xml > ========================================== > > <?xml version="1.0" encoding="UTF-8"?> > <beans xmlns="http://www.springframework.org/schema/beans" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:camel="http://camel.apache.org/schema/spring" > xsi:schemaLocation=" > http://www.springframework.org/schema/beans > http://www.springframework.org/schema/beans/spring-beans.xsd > http://camel.apache.org/schema/spring > http://camel.apache.org/schema/spring/camel-spring.xsd"> > > <camel:camelContext> > <camel:route> > <camel:from uri="file://inputdir/?delete=true"/> > <camel:to uri="file://outputdir"/> > </camel:route> > </camel:camelContext> > </beans> > =================================================== > > > below is the error stack trace i am getting , > > =========================================== > > May 26, 2013 2:12:33 AM org.springframework.web.context.ContextLoader > initWebApplicationContext > INFO: Root WebApplicationContext: initialization started > May 26, 2013 2:12:33 AM > org.springframework.context.support.AbstractApplicationContext > prepareRefresh > INFO: Refreshing Root WebApplicationContext: startup date [Sun May 26 > 02:12:33 EDT 2013]; root of context hierarchy > May 26, 2013 2:12:33 AM > org.springframework.beans.factory.xml.XmlBeanDefinitionReader > loadBeanDefinitions > INFO: Loading XML bean definitions from ServletContext resource > [/WEB-INF/applicationContext.xml] > May 26, 2013 2:12:34 AM org.springframework.web.context.ContextLoader > initWebApplicationContext > SEVERE: Context initialization failed > org.springframework.beans.factory.BeanDefinitionStoreException: Failed to > create the JAXB binder; nested exception is javax.xml.bind.JAXBException: > Provider org.eclipse.persistence.jaxb.JAXBContextFactory could not be > instantiated: javax.xml.bind.JAXBException: > Exception Description: The property or field outputs was specified in > propOrder but is not a valid property. > - with linked exception: > [Exception [EclipseLink-50012] (Eclipse Persistence Services - > 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.JAXBException > Exception Description: The property or field outputs was specified in > propOrder but is not a valid property.] > - with linked exception: > [javax.xml.bind.JAXBException: > Exception Description: The property or field outputs was specified in > propOrder but is not a valid property. > - with linked exception: > [Exception [EclipseLink-50012] (Eclipse Persistence Services - > 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.JAXBException > Exception Description: The property or field outputs was specified in > propOrder but is not a valid property.]] > at > > org.apache.camel.spring.handler.CamelNamespaceHandler$CamelContextBeanDefinitionParser.doParse(CamelNamespaceHandler.java:304) > at > > org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser.parseInternal(AbstractSingleBeanDefinitionParser.java:85) > at > > org.springframework.beans.factory.xml.AbstractBeanDefinitionParser.parse(AbstractBeanDefinitionParser.java:59) > at > > org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:73) > at > > org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1419) > at > > org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1409) > at > > org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:184) > at > > org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:140) > at > > org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:111) > at > > org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493) > at > > org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390) > at > > org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334) > at > > org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302) > at > > org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174) > at > > org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209) > at > > org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180) > at > > org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:125) > at > > org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94) > at > > org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:131) > at > > org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:522) > at > > org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:436) > at > > org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:385) > at > > org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:284) > at > > org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111) > 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) > Caused by: javax.xml.bind.JAXBException: Provider > org.eclipse.persistence.jaxb.JAXBContextFactory could not be instantiated: > javax.xml.bind.JAXBException: > Exception Description: The property or field outputs was specified in > propOrder but is not a valid property. > - with linked exception: > [Exception [EclipseLink-50012] (Eclipse Persistence Services - > 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.JAXBException > Exception Description: The property or field outputs was specified in > propOrder but is not a valid property.] > - with linked exception: > [javax.xml.bind.JAXBException: > Exception Description: The property or field outputs was specified in > propOrder but is not a valid property. > - with linked exception: > [Exception [EclipseLink-50012] (Eclipse Persistence Services - > 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.JAXBException > Exception Description: The property or field outputs was specified in > propOrder but is not a valid property.]] > at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:161) > at javax.xml.bind.ContextFinder.find(ContextFinder.java:349) > at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:446) > at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:409) > at > > org.apache.camel.spring.handler.CamelNamespaceHandler.createJaxbContext(CamelNamespaceHandler.java:187) > at > > org.apache.camel.spring.handler.CamelNamespaceHandler.getJaxbContext(CamelNamespaceHandler.java:174) > at > > org.apache.camel.spring.handler.CamelNamespaceHandler$CamelContextBeanDefinitionParser.doParse(CamelNamespaceHandler.java:302) > ... 66 more > Caused by: javax.xml.bind.JAXBException: > Exception Description: The property or field outputs was specified in > propOrder but is not a valid property. > - with linked exception: > [Exception [EclipseLink-50012] (Eclipse Persistence Services - > 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.JAXBException > Exception Description: The property or field outputs was specified in > propOrder but is not a valid property.] > at > > org.eclipse.persistence.jaxb.JAXBContext$ContextPathInput.createContextState(JAXBContext.java:698) > at > > org.eclipse.persistence.jaxb.JAXBContext$ContextPathInput.createContextState(JAXBContext.java:658) > at > org.eclipse.persistence.jaxb.JAXBContext.<init>(JAXBContext.java:143) > at > > org.eclipse.persistence.jaxb.JAXBContextFactory.createContext(JAXBContextFactory.java:110) > 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:597) > at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:187) > at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:147) > ... 72 more > Caused by: Exception [EclipseLink-50012] (Eclipse Persistence Services - > 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.JAXBException > Exception Description: The property or field outputs was specified in > propOrder but is not a valid property. > at > > org.eclipse.persistence.exceptions.JAXBException.nonExistentPropertyInPropOrder(JAXBException.java:219) > at > > org.eclipse.persistence.jaxb.compiler.AnnotationsProcessor.validatePropOrderForInfo(AnnotationsProcessor.java:3446) > at > > org.eclipse.persistence.jaxb.compiler.AnnotationsProcessor.buildTypeInfo(AnnotationsProcessor.java:691) > at > > org.eclipse.persistence.jaxb.compiler.AnnotationsProcessor.postBuildTypeInfo(AnnotationsProcessor.java:597) > at > > org.eclipse.persistence.jaxb.compiler.AnnotationsProcessor.processClassesAndProperties(AnnotationsProcessor.java:234) > at > org.eclipse.persistence.jaxb.compiler.Generator.<init>(Generator.java:104) > at > > org.eclipse.persistence.jaxb.JAXBContext$ContextPathInput.createContextState(JAXBContext.java:695) > ... 81 more > <May 26, 2013 2:12:34 AM EDT> <Warning> <HTTP> <BEA-101162> <User defined > listener org.springframework.web.context.ContextLoaderListener failed: > org.springframework.beans.factory.BeanDefinitionStoreException: Failed to > create the JAXB binder; nested exception is javax.xml.bind.JAXBException: > Provider org.eclipse.persistence.jaxb.JAXBContextFactory could not be > instantiated: javax.xml.bind.JAXBException: > Exception Description: The property or field outputs was specified in > propOrder but is not a valid property. > - with linked exception: > [Exception [EclipseLink-50012] (Eclipse Persistence Services - > 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.JAXBException > Exception Description: The property or field outputs was specified in > propOrder but is not a valid property.] > - with linked exception: > [javax.xml.bind.JAXBException: > Exception Description: The property or field outputs was specified in > propOrder but is not a valid property. > - with linked exception: > [Exception [EclipseLink-50012] (Eclipse Persistence Services - > 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.JAXBException > Exception Description: The property or field outputs was specified in > propOrder but is not a valid property.]]. > org.springframework.beans.factory.BeanDefinitionStoreException: Failed to > create the JAXB binder; nested exception is javax.xml.bind.JAXBException: > Provider org.eclipse.persistence.jaxb.JAXBContextFactory could not be > instantiated: javax.xml.bind.JAXBException: > Exception Description: The property or field outputs was specified in > propOrder but is not a valid property. > - with linked exception: > [Exception [EclipseLink-50012] (Eclipse Persistence Services - > 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.JAXBException > Exception Description: The property or field outputs was specified in > propOrder but is not a valid property.] > - with linked exception: > [javax.xml.bind.JAXBException: > Exception Description: The property or field outputs was specified in > propOrder but is not a valid property. > - with linked exception: > [Exception [EclipseLink-50012] (Eclipse Persistence Services - > 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.JAXBException > Exception Description: The property or field outputs was specified in > propOrder but is not a valid property.]] > at > > org.apache.camel.spring.handler.CamelNamespaceHandler$CamelContextBeanDefinitionParser.doParse(CamelNamespaceHandler.java:304) > at > > org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser.parseInternal(AbstractSingleBeanDefinitionParser.java:85) > at > > org.springframework.beans.factory.xml.AbstractBeanDefinitionParser.parse(AbstractBeanDefinitionParser.java:59) > at > > org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:73) > at > > org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1419) > Truncated. see log file for complete stacktrace > Caused By: javax.xml.bind.JAXBException: Provider > org.eclipse.persistence.jaxb.JAXBContextFactory could not be instantiated: > javax.xml.bind.JAXBException: > Exception Description: The property or field outputs was specified in > propOrder but is not a valid property. > - with linked exception: > [Exception [EclipseLink-50012] (Eclipse Persistence Services - > 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.JAXBException > Exception Description: The property or field outputs was specified in > propOrder but is not a valid property.] > - with linked exception: > [javax.xml.bind.JAXBException: > Exception Description: The property or field outputs was specified in > propOrder but is not a valid property. > - with linked exception: > [Exception [EclipseLink-50012] (Eclipse Persistence Services - > 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.JAXBException > Exception Description: The property or field outputs was specified in > propOrder but is not a valid property.]] > at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:161) > at javax.xml.bind.ContextFinder.find(ContextFinder.java:349) > at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:446) > at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:409) > at > > org.apache.camel.spring.handler.CamelNamespaceHandler.createJaxbContext(CamelNamespaceHandler.java:187) > Truncated. see log file for complete stacktrace > Caused By: javax.xml.bind.JAXBException: > Exception Description: The property or field outputs was specified in > propOrder but is not a valid property. > - with linked exception: > [Exception [EclipseLink-50012] (Eclipse Persistence Services - > 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.JAXBException > Exception Description: The property or field outputs was specified in > propOrder but is not a valid property.] > at > > org.eclipse.persistence.jaxb.JAXBContext$ContextPathInput.createContextState(JAXBContext.java:698) > at > > org.eclipse.persistence.jaxb.JAXBContext$ContextPathInput.createContextState(JAXBContext.java:658) > at > org.eclipse.persistence.jaxb.JAXBContext.<init>(JAXBContext.java:143) > at > > org.eclipse.persistence.jaxb.JAXBContextFactory.createContext(JAXBContextFactory.java:110) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > Truncated. see log file for complete stacktrace > Caused By: Exception [EclipseLink-50012] (Eclipse Persistence Services - > 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.JAXBException > Exception Description: The property or field outputs was specified in > propOrder but is not a valid property. > at > > org.eclipse.persistence.exceptions.JAXBException.nonExistentPropertyInPropOrder(JAXBException.java:219) > at > > org.eclipse.persistence.jaxb.compiler.AnnotationsProcessor.validatePropOrderForInfo(AnnotationsProcessor.java:3446) > at > > org.eclipse.persistence.jaxb.compiler.AnnotationsProcessor.buildTypeInfo(AnnotationsProcessor.java:691) > at > > org.eclipse.persistence.jaxb.compiler.AnnotationsProcessor.postBuildTypeInfo(AnnotationsProcessor.java:597) > at > > org.eclipse.persistence.jaxb.compiler.AnnotationsProcessor.processClassesAndProperties(AnnotationsProcessor.java:234) > Truncated. see log file for complete stacktrace > > > <May 26, 2013 2:12:34 AM EDT> <Notice> <LoggingService> <BEA-320400> <The > log file > > C:\bea1211\user_projects\domains\POCDomain\servers\AdminServer\logs\AdminServer.log > will be rotated. Reopen the log file if tailing has stopped. This can > happen on some platforms, such as Windows.> > <May 26, 2013 2:12:34 AM EDT> <Notice> <LoggingService> <BEA-320401> <The > log file has been rotated to > > C:\bea1211\user_projects\domains\POCDomain\servers\AdminServer\logs\AdminServer.log00009. > Log messages will continue to be logged in > > C:\bea1211\user_projects\domains\POCDomain\servers\AdminServer\logs\AdminServer.log.> > > > > > > > > > > > > -- > Thanks > Kulbhusan >