Deployment error in JBoss ( Flex and Spring Integration )
The Flex- Spring Integration Application works in Tomcat but it gives the followin error when deployed in JBoss.
11:26:58,000 INFO [[/clv-web]] Initializing Spring root WebApplicationContext
11:26:58,785 INFO [[/clv-web]] Initializing Spring FrameworkServlet 'blazeds'
11:27:02,602 ERROR [[/clv-web]] StandardWrapper.Throwable
org.springframework.beans.factory.BeanCreationException: Error creating bean with name '_messageBrokerDefaultHandlerMapping': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '_messageBroker': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanInitializationException: MessageBroker initialization failed; nested exception is java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault cannot be cast to org.apache.xml.dtm.DTMManager
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean (AbstractAutowireCapableBeanFactory.java:521)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(A bstractAutowireCapableBeanFactory.java:450)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFac tory.java:290)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(Defau ltSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFacto ry.java:287)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory .java:189)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingle tons(DefaultListableBeanFactory.java:562)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitializ ation(AbstractApplicationContext.java:871)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicatio nContext.java:423)
at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkSer vlet.java:443)
at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkSer vlet.java:459)
at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServl et.java:340)
at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:30 7)
at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:127)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:950)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4122)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4417)
at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeplo yment.java:321)
at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.ja va:145)
at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
at $Proxy38.start(Unknown Source)
at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycle Action.java:42)
at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycle Action.java:37)
at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(Sim pleControllerContextAction.java:62)
at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControlle rContextAction.java:71)
at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerC ontextActions.java:51)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext. java:348)
at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext .java:297)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:93 8)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1 082)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:9 88)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:826)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)
at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
at org.jboss.system.ServiceController.start(ServiceController.java:460)
at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(Abstra ctSimpleRealDeployer.java:62)
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer .java:55)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1454)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.ja va:1172)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.ja va:1193)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1113)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext. java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:93 8)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1 082)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:9 88)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:826)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:789)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:699)
at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeploye rAdapter.java:117)
at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDepl oyAction.java:70)
at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractP rofileAction.java:53)
at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(Abstract ProfileService.java:403)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext. java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:93 8)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1 082)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:9 88)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:778)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:543)
at org.jboss.system.server.profileservice.repository.AbstractProfileService.registerProfile( AbstractProfileService.java:308)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootst rap.java:256)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
at org.jboss.Main.boot(Main.java:221)
at org.jboss.Main$1.run(Main.java:556)
at java.lang.Thread.run(Unknown Source)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name '_messageBroker': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanInitializationException: MessageBroker initialization failed; nested exception is java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault cannot be cast to org.apache.xml.dtm.DTMManager
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBe an(AbstractAutowireCapableBeanFactory.java:1403)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean (AbstractAutowireCapableBeanFactory.java:513)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(A bstractAutowireCapableBeanFactory.java:450)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFac tory.java:290)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(Defau ltSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFacto ry.java:287)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory .java:189)
at org.springframework.beans.factory.support.AbstractBeanFactory.isSingleton(AbstractBeanFac tory.java:392)
at org.springframework.context.support.AbstractApplicationContext.isSingleton(AbstractApplic ationContext.java:1064)
at org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler(Abstrac tUrlHandlerMapping.java:368)
at org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.registerHandlers(SimpleUr lHandlerMapping.java:129)
at org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.initApplicationContext(Si mpleUrlHandlerMapping.java:104)
at org.springframework.context.support.ApplicationObjectSupport.initApplicationContext(Appli cationObjectSupport.java:119)
at org.springframework.web.context.support.WebApplicationObjectSupport.initApplicationContex t(WebApplicationObjectSupport.java:71)
at org.springframework.context.support.ApplicationObjectSupport.setApplicationContext(Applic ationObjectSupport.java:73)
at org.springframework.context.support.ApplicationContextAwareProcessor.invokeAwareInterface s(ApplicationContextAwareProcessor.java:99)
at org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeIni tialization(ApplicationContextAwareProcessor.java:82)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPos tProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBe an(AbstractAutowireCapableBeanFactory.java:1396)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean (AbstractAutowireCapableBeanFactory.java:513)
... 85 more
Caused by: org.springframework.beans.factory.BeanInitializationException: MessageBroker initialization failed; nested exception is java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault cannot be cast to org.apache.xml.dtm.DTMManager
at org.springframework.flex.core.MessageBrokerFactoryBean.afterPropertiesSet(MessageBrokerFa ctoryBean.java:185)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMe thods(AbstractAutowireCapableBeanFactory.java:1460)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBe an(AbstractAutowireCapableBeanFactory.java:1400)
... 104 more
Caused by: java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault cannot be cast to org.apache.xml.dtm.DTMManager
at org.apache.xml.dtm.DTMManager.newInstance(DTMManager.java:137)
at org.apache.xpath.XPathContext.<init>(XPathContext.java:102)
at org.apache.xpath.jaxp.XPathExpressionImpl.eval(XPathExpressionImpl.java:115)
at org.apache.xpath.jaxp.XPathExpressionImpl.eval(XPathExpressionImpl.java:99)
at org.apache.xpath.jaxp.XPathExpressionImpl.evaluate(XPathExpressionImpl.java:184)
at org.springframework.flex.config.FlexConfigurationManager$CachingXPathServerConfigurationP arser.selectSingleNode(FlexConfigurationManager.java:257)
at flex.messaging.config.ServerConfigurationParser.parseTopLevelConfig(ServerConfigurationPa rser.java:46)
at flex.messaging.config.AbstractConfigurationParser.parse(AbstractConfigurationParser.java: 69)
at org.springframework.flex.config.FlexConfigurationManager.getMessagingConfiguration(FlexCo nfigurationManager.java:108)
at org.springframework.flex.core.MessageBrokerFactoryBean.afterPropertiesSet(MessageBrokerFa ctoryBean.java:128)
... 106 more
11:27:02,607 ERROR [[/clv-web]] Servlet /clv-web threw load() exception
java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault cannot be cast to org.apache.xml.dtm.DTMManager
at org.apache.xml.dtm.DTMManager.newInstance(DTMManager.java:137)
at org.apache.xpath.XPathContext.<init>(XPathContext.java:102)
at org.apache.xpath.jaxp.XPathExpressionImpl.eval(XPathExpressionImpl.java:115)
at org.apache.xpath.jaxp.XPathExpressionImpl.eval(XPathExpressionImpl.java:99)
at org.apache.xpath.jaxp.XPathExpressionImpl.evaluate(XPathExpressionImpl.java:184)
at org.springframework.flex.config.FlexConfigurationManager$CachingXPathServerConfigurationP arser.selectSingleNode(FlexConfigurationManager.java:257)
at flex.messaging.config.ServerConfigurationParser.parseTopLevelConfig(ServerConfigurationPa rser.java:46)
at flex.messaging.config.AbstractConfigurationParser.parse(AbstractConfigurationParser.java: 69)
at org.springframework.flex.config.FlexConfigurationManager.getMessagingConfiguration(FlexCo nfigurationManager.java:108)
at org.springframework.flex.core.MessageBrokerFactoryBean.afterPropertiesSet(MessageBrokerFa ctoryBean.java:128)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMe thods(AbstractAutowireCapableBeanFactory.java:1460)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBe an(AbstractAutowireCapableBeanFactory.java:1400)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean (AbstractAutowireCapableBeanFactory.java:513)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(A bstractAutowireCapableBeanFactory.java:450)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFac tory.java:290)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(Defau ltSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFacto ry.java:287)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory .java:189)
at org.springframework.beans.factory.support.AbstractBeanFactory.isSingleton(AbstractBeanFac tory.java:392)
at org.springframework.context.support.AbstractApplicationContext.isSingleton(AbstractApplic ationContext.java:1064)
at org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler(Abstrac tUrlHandlerMapping.java:368)
at org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.registerHandlers(SimpleUr lHandlerMapping.java:129)
at org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.initApplicationContext(Si mpleUrlHandlerMapping.java:104)
at org.springframework.context.support.ApplicationObjectSupport.initApplicationContext(Appli cationObjectSupport.java:119)
at org.springframework.web.context.support.WebApplicationObjectSupport.initApplicationContex t(WebApplicationObjectSupport.java:71)
at org.springframework.context.support.ApplicationObjectSupport.setApplicationContext(Applic ationObjectSupport.java:73)
at org.springframework.context.support.ApplicationContextAwareProcessor.invokeAwareInterface s(ApplicationContextAwareProcessor.java:99)
at org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeIni tialization(ApplicationContextAwareProcessor.java:82)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPos tProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBe an(AbstractAutowireCapableBeanFactory.java:1396)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean (AbstractAutowireCapableBeanFactory.java:513)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(A bstractAutowireCapableBeanFactory.java:450)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFac tory.java:290)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(Defau ltSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFacto ry.java:287)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory .java:189)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingle tons(DefaultListableBeanFactory.java:562)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitializ ation(AbstractApplicationContext.java:871)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicatio nContext.java:423)
at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkSer vlet.java:443)
at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkSer vlet.java:459)
at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServl et.java:340)
at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:30 7)
at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:127)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:950)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4122)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4417)
at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeplo yment.java:321)
at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.ja va:145)
at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
at $Proxy38.start(Unknown Source)
at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycle Action.java:42)
at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycle Action.java:37)
at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(Sim pleControllerContextAction.java:62)
at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControlle rContextAction.java:71)
at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerC ontextActions.java:51)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext. java:348)
at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext .java:297)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:93 8)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1 082)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:9 88)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:826)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)
at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
at org.jboss.system.ServiceController.start(ServiceController.java:460)
at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(Abstra ctSimpleRealDeployer.java:62)
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer .java:55)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1454)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.ja va:1172)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.ja va:1193)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1113)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext. java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:93 8)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1 082)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:9 88)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:826)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:789)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:699)
at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeploye rAdapter.java:117)
at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDepl oyAction.java:70)
at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractP rofileAction.java:53)
at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(Abstract ProfileService.java:403)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext. java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:93 8)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1 082)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:9 88)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:778)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:543)
at org.jboss.system.server.profileservice.repository.AbstractProfileService.registerProfile( AbstractProfileService.java:308)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootst rap.java:256)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
at org.jboss.Main.boot(Main.java:221)
at org.jboss.Main$1.run(Main.java:556)
at java.lang.Thread.run(Unknown Source)
Thanks.
Hi,
you can find deployment stack traces in the following location \ORACLE\806\opmn\logs. i think this might help u.
I am also facing a problem like com.evermind.compiler.CompilationException: Syntax error in source,did u know cause for this.
Thanks and Regards,
Bala
Similar Messages
-
Weblogic 10.3TP, JAX-WS and Spring integration
Hi all
We are using JAX-WS and Spring (2.0.6) and our target platform will be Weblogic 10.3. We would like to benefit from Spring injection in our web service classes. However I cannot get it to work. I follow the instructions described here: [url https://jax-ws-commons.dev.java.net/spring]https://jax-ws-commons.dev.java.net/spring and I use version 1.7 of jaxws-spring
When deploying the sample project I get the following error:
2007-12-06 09:28:42,238 ERROR [org.springframework.web.context.ContextLoader] - Context initialization failed
org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'com.sun.xml.ws.transport.http.servlet.SpringBinding' defined in ServletContext resource [WEB-INF/applicationContext.xml]:
Cannot create inner bean '(inner bean)' of type [org.jvnet.jax_ws_commons.spring.SpringService] while setting bean property 'service';
nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name '(inner bean)': FactoryBean threw exception on object creation;
nested exception is java.lang.ClassCastException: org.jvnet.jax_ws_commons.spring.SpringService$ContainerWrapper cannot be cast to weblogic.wsee.jaxws.WLSContainer
Caused by:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)': FactoryBean threw exception on object creation;
nested exception is java.lang.ClassCastException: org.jvnet.jax_ws_commons.spring.SpringService$ContainerWrapper cannot be cast to weblogic.wsee.jaxws.WLSContainer
Caused by:
java.lang.ClassCastException: org.jvnet.jax_ws_commons.spring.SpringService$ContainerWrapper cannot be cast to weblogic.wsee.jaxws.WLSContainer
at weblogic.wsee.jaxws.framework.policy.WSDLGeneratorExtension.start(WSDLGeneratorExtension.java:113)
at com.sun.xml.ws.wsdl.writer.WSDLGeneratorExtensionFacade.start(WSDLGeneratorExtensionFacade.java:67)
at com.sun.xml.ws.wsdl.writer.WSDLGenerator.generateDocument(WSDLGenerator.java:353)
at com.sun.xml.ws.wsdl.writer.WSDLGenerator.doGeneration(WSDLGenerator.java:276)
at com.sun.xml.ws.server.EndpointFactory.generateWSDL(EndpointFactory.java:427)
at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:196)
at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:467)
at org.jvnet.jax_ws_commons.spring.SpringService.getObject(SpringService.java:333)
at org.jvnet.jax_ws_commons.spring.SpringService.getObject(SpringService.java:45)
at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectFromFactoryBean(AbstractBeanFactory.java:1236)
at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1207)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:219)
...It sounds like JAX-WS - Spring integration is not supported in Weblogic 10.3TP.
Has anyone been able to get the sample project working?
Does anyone know if the final version of Weblogic 10.3 will have JAX-WS Spring injection support?
Thanks
Driesanybody can help?
thanks -
Cfc error when using Flex and RemoteObject (cross post)
I have Flex 3.0.214193 and CF 8,0,0,176276 and Oracle
10.2.0.3.
I've been search for several days for an answer to this one.
There is very little out there about this type of error, but then
there is very little about any problems with Flex and ColdFusion.
In Flex, I have two comment fields. the .cfc has two update
functions that update the comments, because they are in two
different tables. The first update works like a champ. The second
one consistantly shows this error in the CF application log: The
NEWENGREMARK parameter to the updateEng function is required but
was not passed in. I've used the Alert.Show to verify that Flex
does have a value in that variable when it calls the .cfc. I've
even tried passing the first variable that worked in the first
update, and even a litteral value. Everything yields the same
cryptic error message. I must be looking at the wrong thing.
The only things I've found on the web about this, say the
variables should have a scope (is that a scope in Flex or in the
.cfc) and the column names should be in upper case (because it's
Oracle).
Here's the .cfc code (is that where the error is, or is it in
Flex?). The UpdateDescription function works, but the UpdateEng
doesn't.
Thanks for any help, or spelling errors you can point out.
ScottIan,
I also heard about the case thing. So I tried everything in
upper case and lower case - same thing. In my experimenting, I
tried adding the newENGRemark parameter to the descriptionUpdate
function call, I didn't do anything with it is the .cfc just
declared it as required. In that case the parameter exists and
everything is fine. But in the call to the UpdateEng, it doesn't
exist.
I changed the .cfc so that the newENGRemark was not required
or had a default. In both cases the .cfc just skipped to the next
parameter and said it didn't exist. But I was passing a litteral,
it wasn't even a variable.
I created a .cfm page that did a cfinvoke on the .cfc, and
passed it two litterals. That worked fine. So that makes it look
like some sort of syntax error in the Flex. So I deleted the call
to the UpdateENG, copied the UpdateDescription call (because it
works), changed just the minimum to make it work, but it didn't
work.
I think I am going to restructure the database so that I can
do what I need to with just one update function, that seems to
work.
It still doesn't make any sense.
Scott (Flex code is attached) -
Deployment Error with VS2012/3 and Lightswitch
I'm getting an error every time I try to run my Lightswitch app via debug mode (F5) in both VS 2012 and 2013.
I have a simple app that takes as its data source a SharePoint list in sp2010. I have managed to link to my site collection and checked the list I want. The columns are imported into LightSwitch and I build a screen from these.
I then enable SharePoint in LightSwitch
I press F5 and then I get this error (I get the same error in both VS2012 and 2013) no matter which site collection I use or which lists:
There are deployment errors. Continue?
I click No
I then this error
Error occurred in deployment step 'Uninstall app for SharePoint': Method "GetAppInstancesByProductId" does not exist
Any ideas? Thanks in advanceHi,
According to your post, my understanding is that you got error when using the visual studio lightswitch.
You can check the errors in the stack trace to see if anything unexpected occurred.
You can get the stack trace by following article:
http://blogs.msdn.com/b/mthalman/archive/2013/08/16/how-to-get-a-stack-trace-in-lightswitch.aspx
What’s more, to ensure whether it is the code issue, you can create a new and clean app to check whether it works.
http://blogs.msdn.com/b/bethmassi/archive/2011/06/29/using-sharepoint-data-in-your-lightswitch-applications.aspx?Redirected=true
As the issue is related to LightSwich, I recommend you post the question to the forum of
Visual Studio LightSwich.
http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=lightswitch
More experts will assist you, then you will get more information relation to LightSwich.
Thank you for your understanding and support.
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support -
Deployment Errors on JBoss 4.0.4
I've had the following error since beta2. I've never been
able to get it to deploy onto JBoss 4.0.4 and I've posted messages
here and the flex coders group with no answers. I'm hoping now that
your product is released, I will at least get a response.
14:09:22,115 ERROR [MainDeployer] Could not create
deployment:
file:/C:/dev/server/jboss-4.0.4/server/default/deploy/flex-admin.war
org.jboss.ws.WSException: java.lang.ClassNotFoundException:
jrun.servlet.file.FileServlet
at
org.jboss.ws.server.WebServiceDeployerJSE.isWebserviceDeployment(WebServiceDeployerJSE.ja va:161)
at
org.jboss.ws.server.WebServiceDeployer.create(WebServiceDeployer.java:101)
at
org.jboss.ws.server.WebServiceDeployerJSE.create(WebServiceDeployerJSE.java:66)
at
org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerIn terceptorSupport.java:180)
at
org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at
org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy40.create(Unknown Source)
at
org.jboss.deployment.MainDeployer.create(MainDeployer.java:953)
at
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807)
at
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown
Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at
org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterce ptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at
org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy6.deploy(Unknown Source)
at
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
at
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:610)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeplo ymentScanner.java:263)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploym entScanner.java:274)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeployme ntScanner.java:225)
Caused by: java.lang.ClassNotFoundException:
jrun.servlet.file.FileServlet
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native
Method)
at
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at
org.jboss.ws.server.WebServiceDeployerJSE.isWebserviceDeployment(WebServiceDeployerJSE.ja va:151)
... 30 moreI had the same problem/error, and solved it by putting
jrun.jar in c:\jboss-4.0.4.GA\server\default\lib.
I copied flex.war, flex-admin.war and samples.war to
c:\jboss-4.0.4.GA\server\default\deploy.
Also, you need to install the Flash Player 9.0 version that
comes with your install of FDS on each PC that will run a sample
app, otherwise you'll end up with just a background, and no samples
will start up.
All samples run, also in our network: PC W2K, PC WXP, MAC
OSX, etc.
As you can see I'm using the jboss-4.0.4.GA version of the
server (with EJB3.0; but i think it will work with other profiles
as well).
To obtain jrun.jar i first installed FDS with the jrun-server
option. In the directory structure you then will find jrun.jar.
Rui -
Deployment Error with jdk 5 and oc4j_extended_101320.zip
Hello,
I get the following error when I try to deploy my application using jdk 5 and oc4j (oc4j_extended_101320.zip) . I am sure no references of jdk1.4 are being used anywhere. I also tried deleting the persistence directory to make sure there are no lock files anywhere , but in vain. I am stuck with this problem and I urgently need a solution to get past this. Any help in this regard is appreciated. Thanks. Here is the stack trace.
This load was initiated at sim.root:0.0.0 using the Class.forName() method.
The missing class is not available from any code-source or loader in the system.
07/12/31 01:19:17 WARNING: DeployerRunnable.run java.lang.InstantiationException: Application: sim is in failed state as initialization failedoracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: Application: sim is in failed state as initialization failed
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:126)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.InstantiationException: Application: sim is in failed state as initialization failed
at com.evermind.server.Application.setConfig(Application.java:497)
at com.evermind.server.Application.setConfig(Application.java:340)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1879)
at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:512)
at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:196)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
... 4 more
Caused by: java.lang.InstantiationException: Error initializing ejb-modules: [sim:oracle_sim_closed_ejb:Transfer] - Unable to load ejb-class oracle.retail.sim.closed.transfer.ejb.TransferEjb, see section 23.2 of the EJB 2.1 specificationoracle.classloader.util.AnnotatedClassNotFoundException:
Missing class: oracle.retail.sim.closed.transfer.ejb.TransferEjb
Dependent class: com.evermind.server.ejb.deployment.BeanDescriptor
Loader: oc4j:10.1.3
Code-Source: /D:/jdk5andOc4j/OC4J/oc4j_extended_101320/j2ee/home/lib/oc4j-internal.jar
Configuration: <code-source> in META-INF/boot.xml in D:\jdk5andOc4j\OC4J\oc4j_extended_101320\j2ee\home\oc4j.jarFor internal questions please use the internal mailing lists...
--olaf -
Deployment error when modifying measures and my heirarchy
I am working on Lesson 3 on analysis services tutorial where i am modifying measures and my heirarchy
and this is my error message.
Warning 1 Dimension [Date] : Avoid visible attribute hierarchies for attributes used as levels in user-defined hierarchies. 0 0
Warning 2 Dimension [Customer] : Avoid visible attribute hierarchies for attributes used as levels in user-defined hierarchies. 0 0
Warning 3 Dimension [Product] : Avoid visible attribute hierarchies for attributes used as levels in user-defined hierarchies. 0 0
Warning 4 Dimension [Product] : Define attribute relationships as 'Rigid' where appropriate. 0 0
Warning 5 Errors in the OLAP storage engine: A duplicate attribute key has been found when processing: Table: 'dbo_DimDate', Column: 'CalendarQuarter', Value: '4'. The attribute is 'Calendar Quarter'. 0 0
Error 6 Internal error: The operation terminated unsuccessfully. 0 0
Error 7 Server: The current operation was cancelled because another operation in the transaction failed. 0 0
What can i do to fix this?Hi Cook959,
In your scenario, it seems that the issue was related to the error message.
Errors in the OLAP storage engine: A duplicate attribute key has been found when processing: Table: 'dbo_DimDate', Column: 'CalendarQuarter', Value: '4'. The attribute is 'Calendar Quarter'. 0 0
There are many reasons that can cause this issue, here are some blogs which list the reasons and explanation, please refer to the links below to see the details.
http://ms-olap.blogspot.com/2009/11/duplicate-attribute-key-has-been-found.html
http://blog.oraylis.de/2013/08/a-duplicate-attribute-key-has-been-found-during-processing-revisited/
Hope this helps.
Regards,
Charlie Liao
TechNet Community Support -
Hello All,
I am in a requirement in which i need to connect to SAP server and fetch data from it and display back in Flex builder. I am a bit familiar with Flash Island intro but not much. So my question is what are the possible way we can fetch data from SAP and display the same in Flex builder like generally we fetch data in XML format and display the same. i know a bit about iframe but have zero knowledge bout that.
So do you know if there is a better format of data we can fetch data and display the same in flex builder or flash island.
what are the possible format we can fetch data from SAP n process data in flex builder.
Cheers
Manihttps://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20536f87-b5a1-2a10-06ad-c15369468e0e
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/a085a42a-a036-2a10-6698-d94b1e707b80
Did you simply consum webservices with Flex? You knwo that you need configure the SAP output the WSDL and set it as Remaote enable -
NW 7.0 SP9 to SP13 SAP_JTECH deploy error
Hi -
I'm having an issue upgrading a NW 7.0 system from SP9 to SP13. All the support packs for the other components have been applied aside from SAP_JTECHS. It is continually failing at component "sap.com/tcTechSrvXML_DAS" with the below error:
ERROR: Not updated. Deploy Service returned ERROR:
java.rmi.RemoteException: Cannot deploy application sap.com/tcTechSrvXML_DAS..
Reason: Exception in the get/create/deleteSubConfiguration() method during makeUpdate(...) of application sap.com/tcTechSrvXML_DAS.; nested exception is:
com.sap.engine.services.ejb.exceptions.deployment.EJBConfigurationException: Exception in the get/create/deleteSubConfiguration() method during makeUpdate(...) of application sap.com/tcTechSrvXML_DAS.
at ...
I get a deployment error using both JSPM and SDM.
Has anyone seen this problem/error before? Any help would be much appreciated!
Thank you!
Edited by: Andrew Long on Jul 11, 2008 4:33 PMHi,
My solution: Use SDM to undeploy tc/TechSrvXML.
Deploy SAP_JTECHS again.
Cheerz,
Ridouan -
Deployment Isssue with Jboss and Blazeds
Hi,
I was trying to deploy Blazeds over Jboss 4.0.5.GA , for that i copied blazeds.war, ds-console.war and samples.war to Jboss deploy folder and restarted my jboss server.
when i'm trying to access samples application by using url http://localhost:8180/samples it is throwing
The requested resource (/ds-console/) is not available. exception
at Jboss console i'm geeting below error with all the three wars i deployed earlier
status: Deployment FAILED reason: flex/messaging/MessageBrokerServlet (Unsupported major.minor version 49.0)
state: FAILED
watch: file:/C:/SabaWeb/JBoss_Tomcat/server/default/deploy/blazeds.war
altDD: null
lastDeployed: 1256250757909
lastModified: 1256250757878
I think that is because of i'm not using jdk 1.5 or jboss 5 insted i'm using jdk 1.4 because of some dependency for my existing application
Please let me know which version of blazeds should i use for the above configuration (jboss 4.05 with jdk 1.4) or blazeds is not supported for jdk 1.4 at all
the version i tried was blazeds-turnkey-3.2.0.3978
Thanks,
AnujRemove all spaces from the directory path of where jboss is installed.
E.g. change
"c:\my docs\my boss dir" to
"c:\mydocs\myjbossdir".Strange I know. It appears to be an Eclipse issue rather than a jboss issue.
Cheers
Steve
P.S. You might have to change the server timeout to > 50secs (double click on server entry from within Eclipse (Ganymede)).
Edited by: Steve-M on 16-Aug-2009 20:05 -
How to convert Java code to Webservice and deploy in to JBOSS via JDEV11g
Hi All,
Greetings. I am trying to develop Java Web service from JDeveloper 11g which has 2 basic methods. I can able to develop the WS out of the Java through Jdev and can able to test the webservice with the help of "Test Web Service" menu option under .JPR.
But when I am trying to deploy the WS.War file in to JBOSS app server (which is our project default server) from JDEV I couldn't able to get the option thought I have created the JBOSS server connection in Jdev. I can see only weblogic server connection under DEPLOY menu. Even if I edit the SOAP URL in WSDL to point JBOSS host and port and manually deploy the WAR in to JOBSS, it is not working, getting deployment error.
Anyone please guide me how to edit the WDSL which should point my JBOSS server (http://localhost:8080) and how to deploy the WAR and access the webservice from my Browser. Step by step help will be really appreciated since I am new to WS. Make this WS work is very important and urgent task in our project. But no luck so far.
Thanks in advance for each of you. Waiting for the position help.
klogubeHi Shay,
Thanks for providing the blog URL which helped me to solve my first project. Now I have changed my WebServices deployment server from JDEV Default Apps server (Weblogic) to JBOSS. Now I can directly deploy Ws.WAR from JDEV to JBOSS. But I am getting the error in the JBOSS log as soon as I deploy the WAR.
2009-02-02 17:21:29,985 ERROR [org.jboss.deployment.MainDeployer] Could not create deployment: file:/opt/jboss-4.2.3.GA/server/default/deploy/Testing-SampleWebServices-context-root.war
java.lang.IllegalStateException: Endpoint already registered: jboss.ws:context=Testing-SampleWebServices-context-root,endpoint=DateTestingWSSoapHttpPort
at org.jboss.wsf.framework.management.DefaultEndpointRegistry.register(DefaultEndpointRegistry.java:89)
at org.jboss.wsf.framework.management.ManagedEndpointRegistry.register(ManagedEndpointRegistry.java:59)
at org.jboss.wsf.framework.deployment.EndpointRegistryDeploymentAspect.create(EndpointRegistryDeploymentAspect.java:49)
.................etc
2009-02-02 17:21:29,987 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@a99914c8{ url=file:/opt/jboss-4.2.3.GA/server/default/deploy/Testing-SampleWebServices-context-root.war, deployedLastModified=0 }
org.jboss.deployment.DeploymentException: Could not create deployment: file:/opt/jboss-4.2.3.GA/server/default/deploy/Testing-SampleWebServices-context-root.war; - nested throwable: (java.lang.IllegalStateException: Endpoint already registered: jboss.ws:context=Testing-SampleWebServices-context-root,endpoint=DateTestingWSSoapHttpPort)
at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:53)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:991)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
.....etc
Please help me, how to overcome this error and invoke my WS from http://localhost:8080...... (JBOSS path). I am trying to create client application too for invoke my WS and I failed to create the same while I am mapping the WSDL path in to the client application. Getting error, WSDL path is not available under localhost. (Note: I can able to see the list of WS's deployed in to JBOSS under: http://localhost:8080/jbossws/services which display the Endpoint name and address. But cant able to access the URL)
Thanks
klogube -
Configuring blazeds, spring, flex and eclipse ide
Hi,
Can you please suggest me in configuring blazeds, spring, flex and eclipse ide. I have tried hard googling, but couldnt get solution for configuring all the four.
thanks in advanceHi jvk180:
Firstly, you should either need to define the destination in remoting-config.xml or in app-context.xml, but and in both places.
Secondly, the error indicates that it is missing the channel information.
Option 1:
Assuming your bean "helloServiceDestination" uses other Spring beans, then:
1. The right place to declare the destinations is in app-context.xml.
2. In that case, you need to also define the channels that the destination will be exposed over. See documentation for how to do that.
3. In your remote object declaration, you need to pass the channel set that gets used as well.
<mx:ChannelSet id="cs">
<mx:AMFChannel url="http://<yourServerName>:<yourServerPort>:/<yourContextRoot>/messagebroker/amf"/>
</mx:ChannelSet>
<mx:RemoteObject id="ro" destination="helloServiceDestination" channelset="{cs}" result="resultHandler(event)" fault="faultHandler(event)"/>
Option 2:
If you declare your destination, in remoting-config.xml, then you need to compile your swf with services-config.xml. Refer to documentation for how to do that.
Hope that helps.
Rohit -
Deployment failure after installing SP11 - Error in Compiling Flex App
After installing SP11 for Visual Composer, I am now not able to deploy any of my models, even though they compile successfully. The following was installed:
VCBASE11_0-10003602.SCA
VCFRAMEWORK11_0-10003624.SCA
VCFLEX11_0-10003616.SCA
The specific error is as follows:
<i>Error in compiling Flex application: Error: Failed to read stylesheet: /vc/skins/defaultSkins.css
(D:\usr\sap\PLD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\TestModel_25034\FLEX_COMPILATION_FOLEDR\AAD15H.mxml:23)
Failed to compile AAD15H.mxml</i>
"TestModel" is the name of my model in this example. I would appreciate any assistance anyone can offer.
Regards,
JimHi Jim,
I have never heard of similar errors. Have you had a look at the stylesheet that is referenced? Maybe the file is corrupt, permissions are wrong or the path has changed? Try to change the defaultSkins.css.
You can also have a look at the source code after compiling. Select .mxml of iView AAD15H and have a look at line 23. Maybe you find some clues.
Best Regards, Benni -
Error while XI and xMII integration (Plain HTTP as sender)
Dear Friends,
I am doing the scenario XI and xMII integration. While sending the input file from plain HTTP adapter the result comes as follows in *sxmb_moni* :
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!-- Call Adapter -->
<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>XIAdapterFramework</SAP:Category>
<SAP:Code area="MESSAGE">GENERAL</SAP:Code>
<SAP:P1/>
<SAP:P2/>
<SAP:P3/>
<SAP:P4/>
<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: <xMII server name></SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace=""/>
<SAP:Stack/>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
In HTTP Client Adapter for XI 3.0 it is shown as follows:
<SAP:Error><SAP:Category>XIAdapterFramework</SAP:Category><SAP:Code>MESSAGE.GENERAL
</SAP:Code>
<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: <xMII server name> </SAP:AdditionalText></SAP:Error>
Please show the way to rectify this error.
Regards,
Jagan.Dear Sudharshan,
I'm doing the scenario which is in the following blog.
/people/dhanabal.thangavel/blog/2008/02/07/xi-and-xmii-integration--part-1 ==> XI and xMII Integration - Part 1
This is a synchronous one. So I set QOS as BE in Client Http Adapter for XI 3.0.
Scenario is HTTP <--> XI <--> xMII
The following errors are I found:
1) In RWB -> Message Monitoring
Status : Canceled with Errors
Message Details:
SOAP : call failed
SOAP :error occured: java.net.UnknownHostException: <HOST>
Exception caught by adapter framework: <HOST>
Delivery of the message to the application using connection AFW failed, due to: <HOST>. Setting message to status failed
The message status set to FAIL.
Returning synchronous error message to calling application: <HOST>.
2) Error coming in the Client Http Adapter for XI 3.0 as follows:
*URL:*
http://xxxxxx07:xx10/sap/xi/adapter_plain?namespace=http%3A//www.xxxxxxx.com/XIBatch3/10099/xMII_Integration&interface=xMII_Integration_Sync_Outbound&service=BS_BATCH3&party=&agency=&scheme=&QOS=BE&sap-user=xxxxx&sap-password=xxxxx&sap-client=xx1&sap-language=EN
*Result:*
<SAP:Error><SAP:Category>XIAdapterFramework</SAP:Category><SAP:Code>MESSAGE.GENERAL</SAP:Code><SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException:<HOST></SAP:AdditionalText></SAP:Error>
*Input XML file:*
<?xml version="1.0" encoding="UTF-8"?>
<ns1:XacuteRequest xmlns:ns1="http://www.lighthammer.com/Xacute">
<ns1:LoginName/>
<ns1:LoginPassword/>
<ns1:InputParams>
<ns1:ProductName>ProductA1</ns1:ProductName>
</ns1:InputParams>
</ns1:XacuteRequest>
*WSDL file (Which is generated using the xMII transaction):*
<?xml version="1.0" encoding="UTF-8"?><definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://www.lighthammer.com/Xacute" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://www.lighthammer.com/Xacute">
<!-- Types -->
<types>
<s:schema elementFormDefault="qualified" targetNamespace="http://www.lighthammer.com/Xacute">
<s:complexType name="InputParams">
<s:sequence id="InputSequence">
<s:element maxOccurs="1" minOccurs="0" name="ProductName" type="s:string"/></s:sequence>
</s:complexType>
<s:element name="XacuteRequest">
<s:complexType>
<s:sequence>
<s:element maxOccurs="1" minOccurs="0" name="LoginName" type="s:string"/>
<s:element maxOccurs="1" minOccurs="0" name="LoginPassword" type="s:string"/>
<s:element maxOccurs="1" minOccurs="0" name="InputParams" type="s0:InputParams"/>
</s:sequence>
</s:complexType>
</s:element>
<s:complexType name="Rowsets">
<s:sequence>
<s:element maxOccurs="1" minOccurs="0" name="FatalError" type="s:string"/>
<s:element maxOccurs="1" minOccurs="0" name="Messages" type="s0:Messages"/>
<s:element maxOccurs="1" minOccurs="0" name="Rowset" type="s0:Rowset"/>
</s:sequence>
<s:attribute name="StartDate" type="s:dateTime" use="required"/>
<s:attribute name="EndDate" type="s:dateTime" use="required"/>
<s:attribute name="DateCreated" type="s:dateTime" use="required"/>
<s:attribute name="Version" type="s:string"/>
</s:complexType>
<s:complexType name="Messages">
<s:sequence>
<s:element maxOccurs="unbounded" minOccurs="0" name="Message" type="s:string"/>
</s:sequence>
</s:complexType>
<s:complexType name="Columns">
<s:sequence>
<s:element maxOccurs="unbounded" minOccurs="0" name="Column" type="s0:Column"/>
</s:sequence>
</s:complexType>
<s:complexType name="Column">
<s:attribute name="Name" type="s:string" use="required"/>
<s:attribute name="Description" type="s:string" use="required"/>
<s:attribute name="SourceColumn" type="s:string" use="required"/>
<s:attribute name="MinRange" type="s:double" use="required"/>
<s:attribute name="MaxRange" type="s:double" use="required"/>
<s:attribute name="SQLDataType" type="s:int" use="required"/>
</s:complexType>
<s:complexType name="Rowset">
<s:sequence>
<s:element maxOccurs="1" minOccurs="1" name="Columns" type="s0:Columns"/>
<s:element maxOccurs="unbounded" minOccurs="0" name="Row" type="s0:Row"/>
</s:sequence>
</s:complexType>
<s:complexType name="Row">
<s:sequence id="RowSequence">
<s:element maxOccurs="1" minOccurs="1" name="Quantity" type="s:long"/><s:element maxOccurs="1" minOccurs="1" name="ProductName" type="s:string"/></s:sequence>
</s:complexType>
<s:element name="XacuteResponse">
<s:complexType>
<s:sequence>
<s:element maxOccurs="1" minOccurs="0" name="Rowsets" type="s0:Rowsets"/>
</s:sequence>
</s:complexType>
</s:element>
</s:schema>
</types>
<!-- Messages -->
<message name="XacuteSoapIn">
<part element="s0:XacuteRequest" name="parameters"/>
</message>
<message name="XacuteSoapOut">
<part element="s0:XacuteResponse" name="parameters"/>
</message>
<!-- Ports -->
<portType name="XacuteWSSoap">
<operation name="Xacute">
<input message="s0:XacuteSoapIn"/>
<output message="s0:XacuteSoapOut"/>
</operation>
</portType>
<!-- Bindings -->
<binding name="XacuteWSSoap" type="s0:XacuteWSSoap">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="Xacute">
<soap:operation soapAction="http://www.lighthammer.com/Xacute" style="document"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
</binding>
<!-- Service mapping -->
<service name="XacuteWS">
<port binding="s0:XacuteWSSoap" name="XacuteWSSoap">
<soap:address location="http://<XMII_SERVER_NAME>/Lighthammer/SOAPRunner/Jagan/SDN_Fetch_Product_Qty"/>
</port>
</service>
</definitions>
Regards,
Jagan. -
Flex 3 and Java - Integrated Development on Eclipse
I am new to flex as well as to eclipse. I have downloaded
Adobe Flex Builder 3.0 and installed it. I want to use java at the
back-end, but I don't have Java perspective option in eclipse.
Therefore, I am currently using 2 IDE(s), one is
flex-builder, and other is Eclipse for Web tool platform
(eclipse-jee-europa-winter-win32.zip).
Is there anyway that I can benefit integrated development of
Flex and java using same IDE?I wouldn't try it really... it's not worth the issues you'd
probably run into and the work of getting it setup, if it's even
possible. I just run Eclipse and FB separate. If you have a gig of
ram you should be fine doing this I think.
If you *really* want to get rid of one, you can use the Flex
plugin for Eclipse, but I've heard people complain about it not
playing nice with Java.
Maybe you are looking for
-
How can i see what content is stored in the cloud?
I have a huge volume of content stored in the cloud...I don't know what it might be....I'd like to be able to see it and clean it up...it may be years of old mail or who knows. How can I see it and clean it up?
-
IPod not found by computer or iTunes
about a month ago my iPod nano (3rd gen) just stoppoed working out of know where, and then all of sudden it came back on about two weeks later. Ever since then it has not showed up in iTunes or as a device on my computer.
-
Password for new modem not opening config page.
New ADSL Modem/Router from ISP.A Zyxel P-660HN-T1A_1Pv6 Only wanted the modem function as I use Time Capsule and an Airport Express to extend the signal. On bringing up the modem web page and login box for device configuration, my password is not acc
-
Multiple Selection on Subscreen - PROBLEM!
Hi, I call a Function from a Program. This Function calls a screen with a SUBCREEN AREA. For this SUBSCREEN AREA I set SELET-OPTIONS. When executing the PROGRAM, we get to see this screen and subscreen area with select-options. BUT IT IS IMPOSSIBLE
-
Ipad 2 prepaid plan upgrade from ipad 1
I have an unlimited plan with my iPad 1. I want to transfer it to my new iPad 2 when it arrives in a couple of days. What is the best way to do that?