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 more
I 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
Similar Messages
-
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 -
15:50:52,307 ERROR [MainDeployer] Could not create deployment: file:/root/jboss-4.2.0.GA/server/default/conf/jboss-service.xml
org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.InvocationTargetException)
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196)
at org.jboss.system.ServiceController.install(ServiceController.java:226)
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: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.server.Invocation.invoke(Invocation.java:86)
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 $Proxy4.install(Unknown Source)
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
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: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(ModelMBeanOperationInterceptor.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 $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:508)
at java.lang.Thread.run(Thread.java:595)
15:50:52,326 INFO [Server] Runtime shutdown hook called, forceHalt: true
15:50:52,326 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
15:50:52,335 INFO [Server] Shutdown complete
Shutdown complete
Halting VM
Please help me with this issue.
Thanks in advanceThere's a bug or a configuration fault in your JBoss AS. That's all what I can tell based on the given information. Try posting it at their own website/forum. This isn't the JBoss support forum or so.
-
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 -
Errors starting JBoss after installing OIM
I am getting these errors starting JBoss after installing OIM 9.1.0.1 on windows 2003 server with JBoss 4.2.3GA canany one please help me how to resolve.
increasing the memory did not help.
19:04:04,468 INFO [WEBSTARTUP] Scheduler started
19:04:04,484 INFO [TomcatDeployer] deploy, ctxPath=/xlWebApp, warUrl=.../tmp/de
ploy/tmp5989105329966275493XellerateFull.ear-contents/xlWebApp-exp.war/
19:05:02,984 ERROR [STDERR] Exception in thread "DefaultQuartzScheduler_QuartzSc
hedulerThread"
19:11:18,359 ERROR [STDERR] Exception in thread "IdleRemover"
19:15:34,562 ERROR [STDERR] Exception in thread "Thread-15"I am getting these errors starting JBoss after installing OIM 9.1.0.1 on windows 2003 server with JBoss 4.2.3GA canany one please help me why.
19:04:04,468 INFO [WEBSTARTUP] Scheduler started
19:04:04,484 INFO [TomcatDeployer] deploy, ctxPath=/xlWebApp, warUrl=.../tmp/de
ploy/tmp5989105329966275493XellerateFull.ear-contents/xlWebApp-exp.war/
19:05:02,984 ERROR [STDERR] Exception in thread "DefaultQuartzScheduler_QuartzSc
hedulerThread"
19:11:18,359 ERROR [STDERR] Exception in thread "IdleRemover"
19:15:34,562 ERROR [STDERR] Exception in thread "Thread-15" -
MDB Deployment Problem in JBoss 4.0.3SP1
Hi All,
I am upgrading my App Server from JBoss 323 to JBoss 403.
I had some MDBs, that are running successfully in JBoss 323.
But when I tried to redeploy them(after recompiling with jdk1.5), I am facing few issues with them.
First of all, I have a MDB whose destination was in some other Jboss server instance. That means I am trying to connect my destination "Queue" as remotely. At that time it is thorowing exception like as follows at my server startup time.......
2006-04-17 07:17:15,191 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Looking up provider adapter: java:/Server1JMSProvider
2006-04-17 07:17:15,191 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Provider adapter: org.jboss.jms.jndi.JNDIProviderAdapter@20dcb7
2006-04-17 07:17:15,191 DEBUG [org.jboss.ejb.plugins.jms.DLQHandler] Creating DLQHandler
2006-04-17 07:17:15,191 DEBUG [org.jboss.ejb.plugins.jms.DLQHandler] Using factory: org.jboss.mq.SpyXAConnectionFactory@1ebe8ec
2006-04-17 07:17:15,191 DEBUG [org.jboss.ejb.plugins.jms.DLQHandler] Created connection: Connection@10751758[token=ConnectionToken:null/b3e21fe26fd3b44f4a0c5bb69995e669 rcvstate=STOPPED]
2006-04-17 07:17:15,472 DEBUG [org.jboss.mq.referenceable.SpyDestinationObjectFactory] SpyDestinationObjectFactory->getObjectInstance()
2006-04-17 07:17:15,488 DEBUG [org.jboss.ejb.plugins.jms.DLQHandler] Using Queue: QUEUE.DLQ
2006-04-17 07:17:15,488 DEBUG [org.jboss.ejb.plugins.jms.DLQHandler] Created DLQHandler
2006-04-17 07:17:15,488 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] context: javax.naming.InitialContext@106989e
2006-04-17 07:17:15,488 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] jndiSuffix: [u]xxxQueue[/u]
2006-04-17 07:17:15,488 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Got destination type Queue for LifecycleMDB
2006-04-17 07:17:15,488 DEBUG [org.jboss.jms.ConnectionFactoryHelper] using connection factory: org.jboss.mq.SpyXAConnectionFactory@1ebe8ec
2006-04-17 07:17:15,488 DEBUG [org.jboss.jms.ConnectionFactoryHelper] using username/password: null/null
2006-04-17 07:17:15,488 DEBUG [org.jboss.jms.ConnectionFactoryHelper] created XAQueueConnection: Connection@13605872[token=ConnectionToken:null/ea8d256e12a297e358803b37d7bfee4d rcvstate=STOPPED]
2006-04-17 07:17:15,488 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Using client id: null
2006-04-17 07:17:15,488 WARN [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Could not find the queue destination-jndi-name=queue/[u]xxxQueue[/u]
2006-04-17 07:17:15,488 WARN [org.jboss.ejb.plugins.jms.JMSContainerInvoker] destination not found: queue/[u]xxxQueue[/u] reason: javax.naming.NameNotFoundException: [u]xxxQueue[/u] not bound
2006-04-17 07:17:15,488 WARN [org.jboss.ejb.plugins.jms.JMSContainerInvoker] creating a new temporary destination: queue/[u]xxxQueue[/u]
2006-04-17 07:17:15,488 DEBUG [org.jboss.mq.server.jmx.DestinationManager] Attempting to create destination: jboss.mq.destination:service=Queue,name=xxxQueue; type=org.jboss.mq.server.jmx.Queue
2006-04-17 07:17:15,488 INFO [org.jboss.mq.server.jmx.Queue.xxxQueue] Registration is not done -> stop
2006-04-17 07:17:15,488 ERROR [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Reconnect failed: JMS provider failure detected:
org.jboss.deployment.DeploymentException: Error during queue setup; - nested throwable: (javax.management.MBeanException)
at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:39)My jboss.xml was
<jboss>
<enterprise-beans>
<message-driven>
<ejb-name>LifecycleMDB</ejb-name>
<destination-jndi-name>queue/xxxQueue</destination-jndi-name>
<invoker-bindings>
<invoker>
<invoker-proxy-binding-name>server1-message-driven-bean</invoker-proxy-binding-name>
</invoker>
</invoker-bindings>
<resource-ref>
<res-ref-name>jms/QueueFactory</res-ref-name>
<jndi-name>UIL2XAConnectionFactory</jndi-name>
</resource-ref>
</message-driven>
</enterprise-beans>
<invoker-proxy-bindings>
<invoker-proxy-binding>
<name>server1-message-driven-bean</name>
<invoker-mbean>default</invoker-mbean>
<proxy-factory>org.jboss.ejb.plugins.jms.JMSContainerInvoker</proxy-factory>
<proxy-factory-config>
<JMSProviderAdapterJNDI>Server1JMSProvider</JMSProviderAdapterJNDI>
<ServerSessionPoolFactoryJNDI>StdJMSPool</ServerSessionPoolFactoryJNDI>
<CreateJBossMQDestination>true</CreateJBossMQDestination>
<MaximumSize>15</MaximumSize>
<MaxMessages>1</MaxMessages>
<MDBConfig>
<ReconnectIntervalSec>10</ReconnectIntervalSec>
<DLQConfig>
<DestinationQueue>queue/DLQ</DestinationQueue>
<MaxTimesRedelivered>10</MaxTimesRedelivered>
<TimeToLive>0</TimeToLive>
</DLQConfig>
</MDBConfig>
</proxy-factory-config>
</invoker-proxy-binding>
</invoker-proxy-bindings>
</jboss>and my deployment file consist of the following code
<server>
<!-- The JMS provider loader -->
<mbean code="org.jboss.jms.jndi.JMSProviderLoader"
name="jboss.mq:service=JMSProviderLoader,name=Server1MQProvider">
<attribute name="ProviderName">Server1JMSProvider</attribute>
<attribute name="ProviderAdapterClass">
org.jboss.jms.jndi.JNDIProviderAdapter
</attribute>
<!-- The combined connection factory -->
<attribute name="FactoryRef">java:/XAConnectionFactory</attribute>
<!-- The queue connection factory -->
<attribute name="QueueFactoryRef">java:/XAConnectionFactory</attribute>
<!-- The topic factory -->
<attribute name="TopicFactoryRef">java:/XAConnectionFactory</attribute>
<!-- Uncomment to use HAJNDI to access JMS-->
<attribute name="Properties">
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
java.naming.provider.url=jnp://SERVER:1499
</attribute>
</mbean>
</server>Did you find a solution to this problem?
-
Deployment error in 9.0.3 for app with local interface
While attempting to port an EJB-application from jboss to oracle, I have encountered a deployment error in 9.0.3 9iASR2 which I cannot decipher. The same ear-file is successfully deployed on the 9.0.3. OC4J standalone version (both on a machine running winXP)
I get a "syntax error in source" when I attempt the deployment and all my local-interface class-files end up on the j2ee_home root, i.e. <oracle-home>/j2ee/home/.
Am I too early using local interface on version 9.0.3, is my packaging messed up or should I look for my bugs in some missed logfile?
BTW: where do I find deployment stack traces for this version of 9iAS?
DagHi,
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 -
ejb-jar.xml
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
<ejb-jar>
<description>JBoss Hello World Applicaiton</description>
<display-name>Hello World EJB</display-name>
<enterprise-beans>
<session>
<ejb-name>HelloWorld</ejb-name>
<home>com.goldilocks.gpos.ejb.HelloWorldHome</home>
<remote>com.goldilocks.gpos.ejb.HelloWorld</remote>
<ejb-class>com.goldilocks.gpos.ejb.HelloWorldBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
</enterprise-beans>
</ejb-jar>
jboss.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.3//EN"
"http://www.jboss.org/j2ee/dtds/jboss-web_3_0.dtd">
<jboss>
<enterprise-beans>
<session>
<ejb-name>HelloWorld</ejb-name>
<ejb-ref>
<ejb-ref-name>ejb/HelloWorld</ejb-ref-name>
<jndi-name>ejb/HelloWorld</jndi-name>
</ejb-ref>
</session>
</enterprise-beans>
</jboss>
Jboss says that
10:25:28,531 ERROR [XmlFileLoader] failed to load jboss.xml. There could be a syntax error.
org.jboss.deployment.DeploymentException: Error in jboss.xml for Bean HelloWorld
: ejb-ref ejb/HelloWorld found in jboss.xml but not in ejb-jar.xml
what do i need to put in my ejb-jar.xml? i just want to learn when and how to lookup ejbs using the "java:comp/env"....please help me! im confusedejb-jar.xml
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
<ejb-jar>
<description>JBoss Hello World Application</description>
<display-name>Hello World EJB</display-name>
<enterprise-beans>
<session>
<ejb-ref>
<ejb-ref-name>HelloWorld</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<home>HelloWorldHome</home>
<remote>HelloWorld</remote>
<ejb-link>HelloWorld</ejb-link>
</ejb-ref>
<ejb-name>HelloWorld</ejb-name>
<home>com.goldilocks.gpos.ejb.HelloWorldHome</home>
<remote>com.goldilocks.gpos.ejb.HelloWorld</remote>
<ejb-class>com.goldilocks.gpos.ejb.HelloWorldBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
</enterprise-beans>
</ejb-jar>
jboss.xml
<!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.3//EN"
"http://www.jboss.org/j2ee/dtds/jboss-web_3_0.dtd">
<jboss>
<enterprise-beans>
<session>
<ejb-name>HelloWorld</ejb-name>
<ejb-ref>
<ejb-ref-name>HelloWorld</ejb-ref-name>
<jndi-name>ejb/HelloWorld</jndi-name>
</ejb-ref>
</session>
</enterprise-beans>
</jboss>
client file:
import javax.naming.Context;
import javax.naming.InitialContext;
import java.util.Hashtable;
import com.goldilocks.gpos.ejb.HelloWorldHome;
import com.goldilocks.gpos.ejb.HelloWorld;
public class StandAlone_EJB_Client
public static void main( String [] args )
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY,
"org.jnp.interfaces.NamingContextFactory");
env.put(Context.PROVIDER_URL, "localhost:1099");
env.put("java.naming.factory.url.pkgs",
"org.jboss.naming:org.jnp.interfaces");
try
Context ctx = new InitialContext(env);
System.out.println("Before Lookup");
Object obj = ctx.lookup( "java:comp/env/ejb/HelloWorld" );
System.out.println("After Lookup");
HelloWorldHome home =
(HelloWorldHome)javax.rmi.PortableRemoteObject.narrow(
obj, HelloWorldHome.class );
HelloWorld helloWorld = home.create();
System.out.println( helloWorld.hello());
helloWorld.remove();
catch ( Exception e )
e.printStackTrace();
System.out.println( "Exception: " + e.getMessage() );
public StandAlone_EJB_Client()
exception:
javax.naming.NameNotFoundException: comp not bound
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:245)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)Exception: comp not bound
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:492)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:471)
at javax.naming.InitialContext.lookup(InitialContext.java:350)
at com.goldilocks.gpos.client.StandAlone_EJB_Client.main(StandAlone_EJB_Client.java:33)
Please help...i am really confused! -
P6v7 web services deploying error
Hi,
I am trying to start a p6v7 web service on a standalone machine. I have installed it (successfully, i guess), and have finished deploying it to JBoss application server (just copied the war to the deploy folder of JBoss).
When I run the java demo, it failed.
I have attached the error messages from the server side as follows:
https://picasaweb.google.com/lh/photo/RGV5vJpARUixzlGSzqK0xOsNmhdJA9zbRzKZYZv8Dqg?feat=directlink
https://picasaweb.google.com/lh/photo/w9OP-J5y6fwhD1SbpKhBb-sNmhdJA9zbRzKZYZv8Dqg?feat=directlink
I know Java a little but is newbie to Web Services. Please give me a hint how to fix it, or where to learn this stuff. (the oracle manuals are not really helpful at all, or maybe it is my problem...)
Thanks!
Edited by: LeZhang on May 18, 2011 12:08 PMYou may try this...
Open P6 Administrator and Under Custom Configuration select the configuration used for web services. Expand all the nodes and sub nodes under web services and set everything to false where it is true. Try to restart jboss.
If you are using SSL for P6 Web then Web service should also be configured for SSL -
Application Deployment Issue on JBoss 4.2.3
Hi,
I am trying to deploy a Java Application on JBoss 4.2.3 AS. This application run seamlessly on JBoss 3.0.5. After deploying, I could see errors below.
Could any one please suggest what could be the issue? Were there any changes in the deployment file structure? Please advice.
Thanks,
2009-09-29 15:43:41,112 ERROR [org.jboss.deployment.MainDeployer] Could not create deployment: file:/D:/Java/jboss-4.2.3.GA/server/grmbs/deploy/ejb-management.jar
org.jboss.deployment.DeploymentException: expected one container-name tag
2009-09-29 15:43:41,128 ERROR [org.jboss.deployment.MainDeployer] DeploymentException while trying to deploy a package with a new deployer
org.jboss.deployment.DeploymentException: expected one container-name tag
2009-09-29 15:43:41,165 ERROR [org.jboss.deployment.MainDeployer] Could not create deployment: file:/D:/Java/jboss-4.2.3.GA/server/grmbs/deploy/jmx-ejb-adaptor.jar
org.jboss.deployment.DeploymentException: expected one container-name tag
2009-09-29 15:43:41,177 ERROR [org.jboss.deployment.MainDeployer] DeploymentException while trying to deploy a package with a new deployer
org.jboss.deployment.DeploymentException: expected one container-name tag
2009-09-29 15:43:41,198 ERROR [org.jboss.deployment.MainDeployer] Could not create deployment: file:/D:/Java/jboss-4.2.3.GA/server/grmbs/deploy/notification-listener.jar
org.jboss.deployment.DeploymentException: expected one container-name tag
2009-09-29 15:43:41,208 ERROR [org.jboss.deployment.MainDeployer] DeploymentException while trying to deploy a package with a new deployer
org.jboss.deployment.DeploymentException: expected one container-name tag
2009-09-29 15:43:41,256 ERROR [org.jboss.system.server.Server] Root deployment has missing dependencies; continuing
Incomplete Deployment listing:
--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@cad26b26 { url=file:/D:/Java/jboss-4.2.3.GA/server/grmbs/deploy/ejb-management.jar }
deployer: org.jboss.ejb.EJBDeployer@ab835a
status: Deployment FAILED reason: expected one container-name tag
state: FAILED
watch: file:/D:/Java/jboss-4.2.3.GA/server/grmbs/deploy/ejb-management.jar
altDD: null
lastDeployed: 1254203021081
lastModified: 1254203019961
mbeans:
org.jboss.deployment.DeploymentInfo@7888101a { url=file:/D:/Java/jboss-4.2.3.GA/server/grmbs/deploy/jmx-ejb-adaptor.jar }
deployer: org.jboss.ejb.EJBDeployer@ab835a
status: Deployment FAILED reason: expected one container-name tag
state: FAILED
watch: file:/D:/Java/jboss-4.2.3.GA/server/grmbs/deploy/jmx-ejb-adaptor.jar
altDD: null
lastDeployed: 1254203021154
lastModified: 1254203020008
mbeans:
org.jboss.deployment.DeploymentInfo@8d818653 { url=file:/D:/Java/jboss-4.2.3.GA/server/grmbs/deploy/notification-listener.jar }
deployer: org.jboss.ejb.EJBDeployer@ab835a
status: Deployment FAILED reason: expected one container-name tag
state: FAILED
watch: file:/D:/Java/jboss-4.2.3.GA/server/grmbs/deploy/notification-listener.jar
altDD: null
lastDeployed: 1254203021190
lastModified: 1254203020008
mbeans:
--- MBeans waiting for other MBeans ---
ObjectName: jboss:service=invoker,type=jrmp
State: FAILED
Reason: java.lang.AbstractMethodError: org.jboss.invocation.jrmp.server.JRMPInvoker.jbossInternalLifecycle(Ljava/lang/String;)V
I Depend On:
jboss:service=TransactionManager
ObjectName: jboss:service=invoker,type=http
State: FAILED
Reason: java.lang.NoSuchMethodError: org.jboss.util.Strings.replaceProperties(Ljava/lang/String;)Ljava/lang/String;
ObjectName: jboss:service=invoker,type=httpHA
State: FAILED
Reason: java.lang.NoSuchMethodError: org.jboss.util.Strings.replaceProperties(Ljava/lang/String;)Ljava/lang/String;
ObjectName: jboss:service=invoker,type=http,target=Naming
State: FAILED
Reason: java.lang.NoSuchMethodError: org.jboss.util.Strings.replaceProperties(Ljava/lang/String;)Ljava/lang/String;
ObjectName: jboss:service=invoker,type=http,target=Naming,readonly=true
State: FAILED
Reason: java.lang.NoSuchMethodError: org.jboss.util.Strings.replaceProperties(Ljava/lang/String;)Ljava/lang/String;
ObjectName: jboss.jca:service=LocalTxCM,name=hsqldbDS
State: CONFIGURED
I Depend On:
jboss.jca:service=LocalTxDS,name=hsqldbDS
jboss.jca:service=LocalTxPool,name=hsqldbDS
jboss.jca:service=CachedConnectionManager
jboss.security:service=JaasSecurityManager
jboss.jca:service=RARDeployer
ObjectName: jboss.jca:service=LocalTxDS,name=hsqldbDS
State: CONFIGURED
I Depend On:
jboss.jca:service=RARDeployment,name=JBoss LocalTransaction JDBC Wrapper
jboss:service=Hypersonic
Depends On Me:
jboss.jca:service=LocalTxCM,name=hsqldbDS
ObjectName: jboss.jca:service=XaTxCM,name=jmsra
State: CONFIGURED
I Depend On:
jboss.jca:service=RARDeployer
jboss.jca:service=XaTxDS,name=jmsra
jboss.jca:service=XaTxPool,name=jmsra
jboss.jca:service=CachedConnectionManager
jboss.security:service=JaasSecurityManager
ObjectName: jboss.jca:service=XaTxDS,name=jmsra
State: CONFIGURED
I Depend On:
jboss.jca:service=RARDeployment,name=JMS Adapter
Depends On Me:
jboss.jca:service=XaTxCM,name=jmsra
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.jca:service=RARDeployment,name=JMS Adapter
State: NOTYETINSTALLED
Depends On Me:
jboss.jca:service=XaTxDS,name=jmsra
ObjectName: jboss:service=invoker,type=http
State: FAILED
Reason: java.lang.NoSuchMethodError: org.jboss.util.Strings.replaceProperties(Ljava/lang/String;)Ljava/lang/String;
ObjectName: jboss:service=invoker,type=http,target=Naming,readonly=true
State: FAILED
Reason: java.lang.NoSuchMethodError: org.jboss.util.Strings.replaceProperties(Ljava/lang/String;)Ljava/lang/String;
ObjectName: jboss:service=invoker,type=jrmp
State: FAILED
Reason: java.lang.AbstractMethodError: org.jboss.invocation.jrmp.server.JRMPInvoker.jbossInternalLifecycle(Ljava/lang/String;)V
I Depend On:
jboss:service=TransactionManager
ObjectName: jboss:service=invoker,type=http,target=Naming
State: FAILED
Reason: java.lang.NoSuchMethodError: org.jboss.util.Strings.replaceProperties(Ljava/lang/String;)Ljava/lang/String;
ObjectName: jboss.jca:service=RARDeployment,name=JBoss LocalTransaction JDBC Wrapper
State: NOTYETINSTALLED
Depends On Me:
jboss.jca:service=LocalTxDS,name=hsqldbDS
ObjectName: jboss:service=invoker,type=httpHA
State: FAILED
Reason: java.lang.NoSuchMethodError: org.jboss.util.Strings.replaceProperties(Ljava/lang/String;)Ljava/lang/String;continued....
<!-- ==================================================================== -->
<!-- Security -->
<!-- ==================================================================== -->
<mbean code="org.jboss.security.plugins.SecurityConfig"
name="jboss.security:name=SecurityConfig">
<attribute name="LoginConfig">jboss.security:service=XMLLoginConfig</attribute>
</mbean>
<mbean code="org.jboss.security.auth.login.XMLLoginConfig"
name="jboss.security:service=XMLLoginConfig">
<attribute name="ConfigResource">login-config.xml</attribute>
</mbean>
<!-- JAAS security manager and realm mapping -->
<mbean code="org.jboss.security.plugins.JaasSecurityManagerService"
name="jboss.security:service=JaasSecurityManager">
<attribute name="SecurityManagerClassName">
org.jboss.security.plugins.JaasSecurityManager
</attribute>
</mbean>
<!-- ==================================================================== -->
<!-- Transactions -->
<!-- ==================================================================== -->
<mbean code="org.jboss.tm.XidFactory"
name="jboss:service=XidFactory">
</mbean>
<mbean code="org.jboss.tm.TransactionManagerService"
name="jboss:service=TransactionManager">
<attribute name="TransactionTimeout">300</attribute>
<depends optional-attribute-name="XidFactory">jboss:service=XidFactory</depends>
</mbean>
<!--
| Uncomment to use Tyrex (tyrex.exolab.org) transaction manager plugin
| instead of the org.jboss.tm.TransactionManagerService and comment out
| the TransactionManagerService above.
| Make sure you have Xerces in lib/. At the moment JBoss does not
| ship Xerces as part of distribution. Version 1.x seems to work fine,
| though 2.x should as well, use whichever you like.
|
<mbean code="org.jboss.tm.plugins.tyrex.TransactionManagerService"
name="jboss:service=TransactionManager">
<attribute name="ConfigFileName">../conf/default/domain.xml</attribute>
</mbean>
-->
<!--commented to run grmbs on JBoss 4.2.3, comment removed -->
<mbean code="org.jboss.tm.usertx.server.ClientUserTransactionService"
name="jboss:service=ClientUserTransaction">
</mbean>
<!-- The CachedConnectionManager is used partly to relay started UserTransactions to
open connections so they may be enrolled in the new tx-->
<mbean code="org.jboss.resource.connectionmanager.CachedConnectionManager" name="jboss.jca:service=CachedConnectionManager">
</mbean>
<!-- ==================================================================== -->
<!-- The deployers... -->
<!-- ==================================================================== -->
<!-- Main Deployer and SARDeployer are provided by main -->
<!-- EJB deployer, remove to disable EJB behavior-->
<mbean code="org.jboss.ejb.EJBDeployer" name="jboss.ejb:service=EJBDeployer">
<attribute name="VerifyDeployments">true</attribute>
<attribute name="ValidateDTDs">false</attribute>
<attribute name="MetricsEnabled">false</attribute>
<attribute name="VerifierVerbose">true</attribute>
<!-- Add a dependency on the JMS provider(jms-service.xml) for MDBs. If
you are not using MDBs and JMS remove these.
-->
<depends>jboss.mq:service=JMSProviderLoader,name=JBossMQProvider</depends>
<depends>jboss.mq:service=ServerSessionPoolMBean,name=StdJMSPool</depends>
</mbean>
<!-- EAR deployer -->
<mbean code="org.jboss.deployment.EARDeployer" name="jboss.j2ee:service=EARDeployer">
</mbean>
<!-- WAR Deployer is provided by tomcat or jetty -->
<!-- RAR Deployer is provided by the rar.sar package -->
<!-- Uncomment to activate the BeanShell script sub-deployer -->
<!--mbean code="org.jboss.varia.deployment.BeanShellSubDeployer"
name="jboss.scripts:service=BSHDeployer">
</mbean-->
<!-- ==================================================================== -->
<!-- JBoss Server Management -->
<!-- ==================================================================== -->
<!-- ==================================================================== -->
<!-- Monitoring and Management -->
<!-- ==================================================================== -->
<!-- Uncomment to enable JMX monitoring of the entity bean locking
<mbean code="org.jboss.monitor.EntityLockMonitor"
name="jboss.monitor:name=EntityLockMonitor"/>
-->
<!-- ==================================================================== -->
<!-- Invokers to the JMX node -->
<!-- ==================================================================== -->
<!-- RMI/JRMP invoker -->
<mbean code="org.jboss.invocation.jrmp.server.JRMPInvoker"
name="jboss:service=invoker,type=jrmp">
<attribute name="RMIObjectPort">4444</attribute>
<attribute name="ServerAddress">${jboss.bind.address}</attribute>
<attribute name="RMIClientSocketFactory">custom</attribute>
<attribute name="RMIServerSocketFactory">custom</attribute>
<attribute name="RMIServerSocketAddr">custom</attribute>
<!-- Added as per JBoss 4.2.3 Server defaults, starts -->
<depends>jboss:service=TransactionManager</depends>
<!-- Added as per JBoss 4.2.3 Server defaults, ends -->
</mbean>
<mbean code="org.jboss.invocation.pooled.server.PooledInvoker"
name="jboss:service=invoker,type=pooled">
</mbean>
<mbean code="org.jboss.invocation.local.LocalInvoker"
name="jboss:service=invoker,type=local">
</mbean>
<!-- ==================================================================== -->
<!-- Deployment Scanning -->
<!-- ==================================================================== -->
<!-- Uncomment to enable caching of deployment units
<mbean code="org.jboss.deployment.cache.FileDeploymentStore"
name="jboss.deployment:type=DeploymentStore,flavor=File">
<attribute name="DirectoryName">data/deployment-cache</attribute>
</mbean>
<mbean code="org.jboss.deployment.cache.DeploymentCache"
name="jboss.deployment:type=DeploymentCache">
<depends optional-attribute-name="Deployer">jboss.system:service=MainDeployer</depends>
<depends optional-attribute-name="Store">jboss.deployment:type=DeploymentStore,flavor=File</depends>
</mbean>
-->
<!-- An mbean for hot deployment/undeployment of archives.
-->
<mbean code="org.jboss.deployment.scanner.URLDeploymentScanner"
name="jboss.deployment:type=DeploymentScanner,flavor=URL">
<!-- Uncomment (and comment/remove version below) to enable usage of the
DeploymentCache
<depends optional-attribute-name="Deployer">jboss.deployment:type=DeploymentCache</depends>
-->
<depends optional-attribute-name="Deployer">jboss.system:service=MainDeployer</depends> -
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 -
ADF Application deployment problem in JBoss
Hi,
I have developed a JSF/EJB 3.0 Application in JDeveloper 10.1.3.1 and successfully accessed data using ADF Faces page which was run on the embedded OC4J container.
Then, I deployed the same Application with modifications given in the ADF Developers guide. The application deploys in JBoss successfully and when I access the page, I get the following error:
Error
JBO-25221: Method SessionEJB.dataProvider.queryFindAll() not supported
No stack trace is displayed on the JBoss console. Please help me, I'm stuck here without any clue.
If somebody has done an App that uses ADF and EJB 3 and deployd in JBoss and accessed successfuly, please give the details of the changes to be done in the Application.
Thanks,
Prashan.Please post the deployment errors.
Modify the meta-inf dir to
META-INF -
Hello I know its silly question but I am new in this technology and I have problem with deploying my EJB in JBoss.
I have 3 classes :
org.ejb.wybory.Model.class - Remote Interface
org.ejb.wybory.ModelHome.class - Home Interface
org.ejb.wybory.ModelBean.class - EJB
and I have ejb-jar.xml :
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>
<ejb-jar>
<enterprise-beans>
Dane
<display-name>Model</display-name>
<ejb-name>ModelEJB</ejb-name>
org.ejb.wybory.ModelHome
org.ejb.wybory.Model
<ejb-class>org.ejb.wybory.ModelBean</ejb-class>
<session-type>Stateful</session-type>
<transaction-type>Container</transaction-type>
</enterprise-beans>
</ejb-jar>
I packed it :
jar -cvf wybory.jar Meta-Inf org/ejb/wybory/*.class
and copy wybory jar into \jboss-4.0.1\server\all\deploy
and it thoes not work :(
what did I do wrong?
Thx
WaglikPlease post the deployment errors.
Modify the meta-inf dir to
META-INF -
Deployment error while deploying targeters in BCC
Hi,
I am trying to create a targeter with content groups and media internal texts. Whenever i deploy a project with these assets, i get deployment error.
It says "Deployment '169200010' to target 'production' encountered a system level deployment error during data transfer. An automatic rollback deployment has successfully occurred, preserving the state of target 'production'. Click 'Resume' to re-attempt the deployment."
I checked for the VFS set up for targeters and content groups and they are in place.
There are 3 assets in the project. It says the asset already exists
The error log below : I am struck up here and not able to take any step further. Please share your inputs on this
2013-06-20 22:40:25,569 WARN [nucleusNamespace.atg.epub.PublishingRepository] (http-172.19.0.197-40180-6) Using default JDBC type for: project:tar82 could not find this column in the table's meta data
2013-06-20 22:40:51,348 INFO [nucleusNamespace.atg.epub.DeploymentServer] (Thread-103) DEBUG Run first apply phase: true
2013-06-20 22:40:51,349 INFO [nucleusNamespace.atg.epub.DeploymentServer] (Thread-103) DEBUG Switch switchable CA datasources:
2013-06-20 22:40:51,349 INFO [nucleusNamespace.atg.epub.DeploymentServer] (Thread-103) DEBUG isDeploymentRollback(): false
2013-06-20 22:40:51,360 INFO [nucleusNamespace.atg.epub.DeploymentServer] (Thread-103) DEBUG Current Target live datasource name: DataSourceB
2013-06-20 22:40:51,360 INFO [nucleusNamespace.atg.epub.DeploymentServer] (Thread-103) DEBUG CA switching datasource: /atg/commerce/jdbc/ProductCatalogSwitchingDataSource_production
2013-06-20 22:40:51,361 INFO [nucleusNamespace.atg.epub.DeploymentServer] (Thread-103) DEBUG Current live datasource name: DataSourceA
2013-06-20 22:40:51,361 INFO [nucleusNamespace.atg.epub.DeploymentServer] (Thread-103) DEBUG Current offline datasource name: DataSourceB
2013-06-20 22:40:51,361 INFO [nucleusNamespace.atg.epub.DeploymentServer] (Thread-103) DEBUG The current CA live datasource is pointing at the Target offline datasource. No CA switch necessary.
2013-06-20 22:40:51,361 INFO [nucleusNamespace.atg.epub.DeploymentServer] (Thread-103) DEBUG Switchable CA datasources switched.
2013-06-20 22:40:51,408 INFO [nucleusNamespace.atg.epub.DeploymentServer] (Thread-103) DEBUG DistributedDeploymentAdapter:DAF Deployment with ID: 169200010 not previously deployed.
2013-06-20 22:40:51,414 INFO [nucleusNamespace.atg.epub.DeploymentServer] (Thread-103) DEBUG DistributedDeploymentAdapter:Creating standard DeploymentData
2013-06-20 22:40:51,446 INFO [nucleusNamespace.atg.epub.DeploymentServer] (Thread-103) DEBUG Forward deploying following active workspaces: [workspace:118102]
2013-06-20 22:40:53,770 INFO [nucleusNamespace.atg.epub.DeploymentServer] (Thread-103) DEBUG DistributedDeploymentAdapter:Deploy Data
2013-06-20 22:40:53,771 INFO [nucleusNamespace.atg.epub.DeploymentServer] (Thread-103) DEBUG DistributedDeploymentAdapter:Starting DAF deployment with ID: 169200010
2013-06-20 22:40:53,776 INFO [nucleusNamespace.atg.deployment.DeploymentManager] (Thread-103) Database: Oracle
2013-06-20 22:40:53,922 INFO [nucleusNamespace.atg.epub.DeploymentServer] (Thread-103) DEBUG DistributedDeploymentAdapter:Polling Until Data Appplied
2013-06-20 22:40:53,922 INFO [nucleusNamespace.atg.deployment.DeploymentManager] (Main deployment thread: ) Starting deployment with id: 169200010
2013-06-20 22:40:53,950 INFO [nucleusNamespace.atg.deployment.DeploymentManager] (Main deployment thread: ) Executing deployment in LOCAL mode
2013-06-20 22:40:55,442 WARN [nucleusNamespace.atg.deployment.DeploymentManager] (FileWorkerThread-2(Add-Update Phase)) Attempt to add file that already exists: file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem /atg/epub/file/ConfigFileSystem
2013-06-20 22:40:55,461 WARN [nucleusNamespace.atg.deployment.DeploymentManager] (FileWorkerThread-2(Add-Update Phase)) item = fileMarker:mark106400001 cause = CONTAINER:atg.deployment.file.DeploymentSourceException: Attempt to add file that already exists: file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem /atg/epub/file/ConfigFileSystem; SOURCE:deploymentHandlerFileToAddExists: level 3: Attempt to add file that already exists: file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem /atg/epub/file/ConfigFileSystem
atg.deployment.file.DeploymentTargetException: Attempt to add file that already exists: file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem /atg/epub/file/ConfigFileSystem
at atg.deployment.file.FileWorkerThread.handleError(FileWorkerThread.java:1278)
at atg.deployment.file.FileWorkerThread.runCommand(FileWorkerThread.java:762)
at atg.deployment.file.FileWorkerThread.processMarkerForAddUpdatePhase(FileWorkerThread.java:463)
at atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:562)
at atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:335)
message = Attempt to add file that already exists: file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem /atg/epub/file/ConfigFileSystem time = Thu Jun 20 22:40:55 CDT 2013 atg.deployment.DeploymentFailure@17dc0e19
2013-06-20 22:40:55,490 WARN [nucleusNamespace.atg.deployment.DeploymentManager] (FileWorkerThread-2(Add-Update Phase)) Attempt to add file that already exists: file /atg/registry/RepositoryTargeters/home_spot1_targeter.properties in VirtualFileSystem /atg/epub/file/ConfigFileSystem
2013-06-20 22:40:55,490 WARN [nucleusNamespace.atg.deployment.DeploymentManager] (FileWorkerThread-2(Add-Update Phase)) item = fileMarker:mark106400002 cause = CONTAINER:atg.deployment.file.DeploymentSourceException: Attempt to add file that already exists: file /atg/registry/RepositoryTargeters/home_spot1_targeter.properties in VirtualFileSystem /atg/epub/file/ConfigFileSystem; SOURCE:deploymentHandlerFileToAddExists: level 3: Attempt to add file that already exists: file /atg/registry/RepositoryTargeters/home_spot1_targeter.properties in VirtualFileSystem /atg/epub/file/ConfigFileSystem
atg.deployment.file.DeploymentTargetException: Attempt to add file that already exists: file /atg/registry/RepositoryTargeters/home_spot1_targeter.properties in VirtualFileSystem /atg/epub/file/ConfigFileSystem
at atg.deployment.file.FileWorkerThread.handleError(FileWorkerThread.java:1278)
at atg.deployment.file.FileWorkerThread.runCommand(FileWorkerThread.java:762)
at atg.deployment.file.FileWorkerThread.processMarkerForAddUpdatePhase(FileWorkerThread.java:463)
at atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:562)
at atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:335)
message = Attempt to add file that already exists: file /atg/registry/RepositoryTargeters/home_spot1_targeter.properties in VirtualFileSystem /atg/epub/file/ConfigFileSystem time = Thu Jun 20 22:40:55 CDT 2013 atg.deployment.DeploymentFailure@38d281d4
2013-06-20 22:40:55,547 WARN [nucleusNamespace.atg.deployment.DeploymentManager] (FileWorkerThread-2(Add-Update Phase)) Attempt to add file that already exists: file /atg/registry/RepositoryGroups/home_spot1_content_group.properties in VirtualFileSystem /atg/epub/file/ConfigFileSystem
2013-06-20 22:40:55,547 WARN [nucleusNamespace.atg.deployment.DeploymentManager] (FileWorkerThread-2(Add-Update Phase)) item = fileMarker:mark106400003 cause = CONTAINER:atg.deployment.file.DeploymentSourceException: Attempt to add file that already exists: file /atg/registry/RepositoryGroups/home_spot1_content_group.properties in VirtualFileSystem /atg/epub/file/ConfigFileSystem; SOURCE:deploymentHandlerFileToAddExists: level 3: Attempt to add file that already exists: file /atg/registry/RepositoryGroups/home_spot1_content_group.properties in VirtualFileSystem /atg/epub/file/ConfigFileSystem
atg.deployment.file.DeploymentTargetException: Attempt to add file that already exists: file /atg/registry/RepositoryGroups/home_spot1_content_group.properties in VirtualFileSystem /atg/epub/file/ConfigFileSystem
at atg.deployment.file.FileWorkerThread.handleError(FileWorkerThread.java:1278)
at atg.deployment.file.FileWorkerThread.runCommand(FileWorkerThread.java:762)
at atg.deployment.file.FileWorkerThread.processMarkerForAddUpdatePhase(FileWorkerThread.java:463)
at atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:562)
at atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:335)
message = Attempt to add file that already exists: file /atg/registry/RepositoryGroups/home_spot1_content_group.properties in VirtualFileSystem /atg/epub/file/ConfigFileSystem time = Thu Jun 20 22:40:55 CDT 2013 atg.deployment.DeploymentFailure@70126ca0
2013-06-20 22:40:55,684 ERROR [nucleusNamespace.atg.deployment.DeploymentManager] (FileWorkerThread-2(Add-Update Phase))
CAUGHT AT:
CONTAINER:atg.deployment.file.DeploymentSourceException: IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null; SOURCE:deploymentHandlerUnableToWrite: level 4: IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null
CONTAINER:atg.deployment.file.DeploymentTargetException: IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null; SOURCE:java.io.IOException: There was a repository exception while trying to create the file: /atg/registry/RepositoryGroups/home_spot1_user.properties in file system: /atg/epub/file/ConfigFileSystem. exception: atg.repository.RepositoryException: current development line null is not an open workspace..
at atg.deployment.file.FileWorkerThread.handleErrorLogging(FileWorkerThread.java:1261)
at atg.deployment.file.FileWorkerThread.handleError(FileWorkerThread.java:1276)
at atg.deployment.file.FileWorkerThread.runCommand(FileWorkerThread.java:762)
at atg.deployment.file.FileWorkerThread.processMarkerForAddUpdatePhase(FileWorkerThread.java:463)
at atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:562)
at atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:335)
Caused by: deploymentHandlerUnableToWrite: level 4: IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null
CONTAINER:atg.deployment.file.DeploymentTargetException: IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null; SOURCE:java.io.IOException: There was a repository exception while trying to create the file: /atg/registry/RepositoryGroups/home_spot1_user.properties in file system: /atg/epub/file/ConfigFileSystem. exception: atg.repository.RepositoryException: current development line null is not an open workspace..
at atg.deployment.file.DeploymentSourceException.<init>(DeploymentSourceException.java:74)
... 6 more
SOURCE EXCEPTION:
deploymentHandlerUnableToWrite: level 4: IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null
CONTAINER:atg.deployment.file.DeploymentTargetException: IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null; SOURCE:java.io.IOException: There was a repository exception while trying to create the file: /atg/registry/RepositoryGroups/home_spot1_user.properties in file system: /atg/epub/file/ConfigFileSystem. exception: atg.repository.RepositoryException: current development line null is not an open workspace..
2013-06-20 22:40:55,685 ERROR [nucleusNamespace.atg.deployment.DeploymentManager] (FileWorkerThread-2(Add-Update Phase)) item = fileMarker:mark106400004 cause = CONTAINER:atg.deployment.file.DeploymentSourceException: IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null; SOURCE:deploymentHandlerUnableToWrite: level 4: IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null
CONTAINER:atg.deployment.file.DeploymentTargetException: IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null; SOURCE:java.io.IOException: There was a repository exception while trying to create the file: /atg/registry/RepositoryGroups/home_spot1_user.properties in file system: /atg/epub/file/ConfigFileSystem. exception: atg.repository.RepositoryException: current development line null is not an open workspace..
at atg.deployment.file.FileWorkerThread.handleError(FileWorkerThread.java:1278)
at atg.deployment.file.FileWorkerThread.runCommand(FileWorkerThread.java:762)
at atg.deployment.file.FileWorkerThread.processMarkerForAddUpdatePhase(FileWorkerThread.java:463)
at atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:562)
at atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:335)
message = IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null time = Thu Jun 20 22:40:55 CDT 2013 atg.deployment.DeploymentFailure@1f344a25
CAUGHT AT:
CONTAINER:atg.deployment.file.DeploymentSourceException: IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null; SOURCE:deploymentHandlerUnableToWrite: level 4: IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null
CONTAINER:atg.deployment.file.DeploymentTargetException: IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null; SOURCE:java.io.IOException: There was a repository exception while trying to create the file: /atg/registry/RepositoryGroups/home_spot1_user.properties in file system: /atg/epub/file/ConfigFileSystem. exception: atg.repository.RepositoryException: current development line null is not an open workspace..
at atg.deployment.file.FileWorkerThread.handleError(FileWorkerThread.java:1278)
at atg.deployment.file.FileWorkerThread.runCommand(FileWorkerThread.java:762)
at atg.deployment.file.FileWorkerThread.processMarkerForAddUpdatePhase(FileWorkerThread.java:463)
at atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:562)
at atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:335)
Caused by: deploymentHandlerUnableToWrite: level 4: IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null
CONTAINER:atg.deployment.file.DeploymentTargetException: IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null; SOURCE:java.io.IOException: There was a repository exception while trying to create the file: /atg/registry/RepositoryGroups/home_spot1_user.properties in file system: /atg/epub/file/ConfigFileSystem. exception: atg.repository.RepositoryException: current development line null is not an open workspace..
at atg.deployment.file.DeploymentSourceException.<init>(DeploymentSourceException.java:74)
... 5 more
SOURCE EXCEPTION:yes i checked. To clear this out, i created a new project with new set of content groups and targeters.
It throws this error. I get this error at 30% of deployment
2013-06-21 12:04:07,944 INFO [nucleusNamespace.atg.deployment.DeploymentManager] (Thread-124) Database: Oracle
2013-06-21 12:04:07,959 INFO [nucleusNamespace.atg.epub.DeploymentServer] (Thread-124) DEBUG DistributedDeploymentAdapter:Polling Until Data Appplied
2013-06-21 12:04:07,959 INFO [nucleusNamespace.atg.deployment.DeploymentManager] (Main deployment thread: ) Starting deployment with id: 135200010
2013-06-21 12:04:07,970 INFO [nucleusNamespace.atg.deployment.DeploymentManager] (Main deployment thread: ) Executing deployment in LOCAL mode
2013-06-21 12:04:09,708 ERROR [nucleusNamespace.atg.deployment.DeploymentManager] (FileWorkerThread-1(Add-Update Phase))
CAUGHT AT:
CONTAINER:atg.deployment.file.DeploymentSourceException: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null; SOURCE:deploymentHandlerUnableToWrite: level 4: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null
CONTAINER:atg.deployment.file.DeploymentTargetException: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null; SOURCE:java.io.IOException: Cannot create OutputStream for read-only ContentRepositoryItem: /atg/registry/RepositoryGroups/homePage/group1.properties OutputStreams can only be created for mutable ContentRepositoryItem objects.
at atg.deployment.file.FileWorkerThread.handleErrorLogging(FileWorkerThread.java:1261)
at atg.deployment.file.FileWorkerThread.handleError(FileWorkerThread.java:1276)
at atg.deployment.file.FileWorkerThread.runCommand(FileWorkerThread.java:762)
at atg.deployment.file.FileWorkerThread.processMarkerForAddUpdatePhase(FileWorkerThread.java:463)
at atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:562)
at atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:335)
Caused by: deploymentHandlerUnableToWrite: level 4: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null
CONTAINER:atg.deployment.file.DeploymentTargetException: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null; SOURCE:java.io.IOException: Cannot create OutputStream for read-only ContentRepositoryItem: /atg/registry/RepositoryGroups/homePage/group1.properties OutputStreams can only be created for mutable ContentRepositoryItem objects.
at atg.deployment.file.DeploymentSourceException.<init>(DeploymentSourceException.java:74)
... 6 more
SOURCE EXCEPTION:
deploymentHandlerUnableToWrite: level 4: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null
CONTAINER:atg.deployment.file.DeploymentTargetException: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null; SOURCE:java.io.IOException: Cannot create OutputStream for read-only ContentRepositoryItem: /atg/registry/RepositoryGroups/homePage/group1.properties OutputStreams can only be created for mutable ContentRepositoryItem objects.
2013-06-21 12:04:09,715 ERROR [nucleusNamespace.atg.deployment.DeploymentManager] (FileWorkerThread-1(Add-Update Phase)) item = fileMarker:mark115500048 cause = CONTAINER:atg.deployment.file.DeploymentSourceException: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null; SOURCE:deploymentHandlerUnableToWrite: level 4: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null
CONTAINER:atg.deployment.file.DeploymentTargetException: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null; SOURCE:java.io.IOException: Cannot create OutputStream for read-only ContentRepositoryItem: /atg/registry/RepositoryGroups/homePage/group1.properties OutputStreams can only be created for mutable ContentRepositoryItem objects.
at atg.deployment.file.FileWorkerThread.handleError(FileWorkerThread.java:1278)
at atg.deployment.file.FileWorkerThread.runCommand(FileWorkerThread.java:762)
at atg.deployment.file.FileWorkerThread.processMarkerForAddUpdatePhase(FileWorkerThread.java:463)
at atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:562)
at atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:335)
message = IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null time = Fri Jun 21 12:04:09 CDT 2013 atg.deployment.DeploymentFailure@7bbc32e1
CAUGHT AT:
CONTAINER:atg.deployment.file.DeploymentSourceException: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null; SOURCE:deploymentHandlerUnableToWrite: level 4: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null
CONTAINER:atg.deployment.file.DeploymentTargetException: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null; SOURCE:java.io.IOException: Cannot create OutputStream for read-only ContentRepositoryItem: /atg/registry/RepositoryGroups/homePage/group1.properties OutputStreams can only be created for mutable ContentRepositoryItem objects.
at atg.deployment.file.FileWorkerThread.handleError(FileWorkerThread.java:1278)
at atg.deployment.file.FileWorkerThread.runCommand(FileWorkerThread.java:762)
at atg.deployment.file.FileWorkerThread.processMarkerForAddUpdatePhase(FileWorkerThread.java:463)
at atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:562)
at atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:335)
Caused by: deploymentHandlerUnableToWrite: level 4: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null
CONTAINER:atg.deployment.file.DeploymentTargetException: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null; SOURCE:java.io.IOException: Cannot create OutputStream for read-only ContentRepositoryItem: /atg/registry/RepositoryGroups/homePage/group1.properties OutputStreams can only be created for mutable ContentRepositoryItem objects.
at atg.deployment.file.DeploymentSourceException.<init>(DeploymentSourceException.java:74)
... 5 more
SOURCE EXCEPTION:
deploymentHandlerUnableToWrite: level 4: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null
CONTAINER:atg.deployment.file.DeploymentTargetException: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null; SOURCE:java.io.IOException: Cannot create OutputStream for read-only ContentRepositoryItem: /atg/registry/RepositoryGroups/homePage/group1.properties OutputStreams can only be created for mutable ContentRepositoryItem objects.
2013-06-21 12:04:09,741 ERROR [nucleusNamespace.atg.deployment.DeploymentManager] (FileWorkerThread-1(Add-Update Phase)) item = fileMarker:mark115500048 cause = CONTAINER:atg.deployment.file.DeploymentSourceException: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null; SOURCE:deploymentHandlerUnableToWrite: level 4: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null
CONTAINER:atg.deployment.file.DeploymentTargetException: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null; SOURCE:java.io.IOException: Cannot create OutputStream for read-only ContentRepositoryItem: /atg/registry/RepositoryGroups/homePage/group1.properties OutputStreams can only be created for mutable ContentRepositoryItem objects. -
10.1.3 HumanTask Forms deployment error is it a BUG
Hi,
Any one I am getting the following error. I have installed SOA 10.1.3 Midtier and am using OID as security provider. Now I am trying DocumentReview Sample but am getting the following error:
Buildfile: C:\Oracle_Software\1013\soa\bpel\samples\demos\DocumentReview\build.xml
validateTask:
[echo]
| Validating workflow
[validateTask] url is file:/C:/Oracle_Software/jdevstudio10132/integration/bpm/support/files/WorkflowTaskDefinition.xsd
[validateTask] Validation of workflow task definitions is completed without errors
deployProcess:
[echo]
| Deploying bpel process DocumentReview on localhost, port 7779
[deployProcess] Deploying process C:\Oracle_Software\1013\soa\bpel\samples\demos\DocumentReview\output\bpel_DocumentReview_1.0.jar
[deployProcess] Successfully deployed the process "DocumentReview" on server "localhost" and port "7779"
deployTaskForm:
[echo]
| Deploying workflow form for DocumentReview on localhost, port 7779
[deployTaskForm] 07/07/07 08:25:19 Notification ==>Application Deployer for default_DocumentReview_1_0_DocumentReview STARTS.
[deployTaskForm]
[deployTaskForm] 07/07/07 08:25:19 Notification ==>Operation failed with error:
[deployTaskForm] parent application (orabpel) is not found!
[deployTaskForm]
[deployTaskForm]
[deployTaskForm]
[deployTaskForm] Deploy error: Deploy error: Operation failed with error:
[deployTaskForm] parent application (orabpel) is not found!
[deployTaskForm]
[deployTaskForm]
BUILD FAILED
C:\Oracle_Software\1013\soa\bpel\samples\demos\DocumentReview\build.xml:98: Error while deploying the form on server "localhost" Error message :
java.lang.SecurityException
at oracle.ide.IdeCore$7.checkExit(IdeCore.java:177)
at java.lang.Runtime.exit(Runtime.java:88)
at java.lang.System.exit(System.java:868)
at oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.executeCommand(Oc4jAdminCmdline.java:127)
at com.collaxa.cube.ant.taskdefs.DeployForm.deployIAS(DeployForm.java:750)
at com.collaxa.cube.ant.taskdefs.DeployForm.deployForm(DeployForm.java:548)
at com.collaxa.cube.ant.taskdefs.DeployForm.deployForms(DeployForm.java:814)
at com.collaxa.cube.ant.taskdefs.DeployForm.execute(DeployForm.java:840)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at oracle.jdevimpl.ant.runner.AntLauncher.launch(AntLauncher.java:321)
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:585)
at oracle.jdevimpl.ant.runner.InProcessAntStarter.runAnt(InProcessAntStarter.java:295)
at oracle.jdevimpl.ant.runner.InProcessAntStarter.mav$runAnt(InProcessAntStarter.java:43)
at oracle.jdevimpl.ant.runner.InProcessAntStarter$1.run(InProcessAntStarter.java:71)
Total time: 45 seconds
Thanks for any feedbacks.Hi HEWizard,
I have set the ORACLE_HOME that points to SOA install directory i.e.
C:\Documents and Settings>echo %ORACLE_HOME%
C:\Oracle_Software\1013\soa
One more thing is that if I install the Developer Version and even though the ORACLE_HOME is not set this works fine i.e. DocumentReview it's only that in the Midtier install version it doesn't work.
The BPELProcess gets deployed and even the task is assigned but when logging into worklist and selecting the task I see the following error:
Not Found
The requested URL /default/DocumentReview/1.0/DocumentReview/DocumentReview.jsp was not found on this server.
Oracle-Application-Server-10g/10.1.3.1.0 Oracle-HTTP-Server Server at localhost Port 7779
It's because at deployment time I get that security error and parent application not found and it never deploys the jsp's. Now in the logs I don't see anything. It's only in JDeveloper I see those errors at deployment time. Here is the domain.log:
<2007-07-07 18:22:44,500> <INFO> <default.collaxa.cube> <ServerManager::loadDomain>
Oracle BPEL Server version 10.1.3.1.0
Build: 0
Build time: Mon Oct 09 08:44:49 PDT 2006
Build type: release
Source tag: PCBPEL_10.1.3.1.0_GENERIC_061009.0802
<2007-07-07 18:22:45,140> <INFO> <default.collaxa.cube.engine> <CubeEngine::load>
Initializing BPEL domain from descriptor file
"C:\Oracle_Software\1013\soa\bpel\domains\default\config\domain.xml"
<2007-07-07 18:22:45,406> <INFO> <default.collaxa.cube.engine> <gsDomainSchemaManager::validateCompatibility> Detected database version '2.0.51'
<2007-07-07 18:22:45,406> <INFO> <default.collaxa.cube.engine> <AdaptorManager::load> Loaded adaptors for platform 'ias_10g', datasource 'oracle'
<2007-07-07 18:22:47,656> <INFO> <default.collaxa.cube.engine> <AdapterStats::init:Done initializing Adapter statistics holder for engine > default
<2007-07-07 18:22:47,656> <INFO> <default.collaxa.cube.engine> <CubeEngine::init>
OraBPEL "default" BPEL domain loaded.
<2007-07-07 18:22:53,046> <INFO> <default.collaxa.cube.engine> <CubeEngine::loadAllProcesses>
Loading processes for BPEL domain "default" ...
<2007-07-07 18:22:55,500> <INFO> <default.collaxa.cube.engine.deployment> Process "TaskManager" (revision "1.0") successfully loaded.
<2007-07-07 18:22:57,234> <INFO> <default.collaxa.cube.engine.deployment> Process "TaskActionHandler" (revision "1.0") successfully loaded.
<2007-07-07 18:22:57,953> <INFO> <default.collaxa.cube.engine.deployment> Process "DocumentReview" (revision "1.0") successfully loaded.
<2007-07-07 18:22:58,000> <INFO> <default.collaxa.cube.engine> <CubeEngine::loadAllProcesses>
3 processes have been loaded for BPEL domain "default".
<2007-07-07 18:23:33,062> <INFO> <default.collaxa.cube.services> <QuartzPublisherInit::init> Notification Retry publisher scheduled at every 15 minute(s)
<2007-07-07 18:26:23,500> <INFO> <default.collaxa.cube.compiler> validating "C:\Oracle_Software\1013\soa\bpel\domains\default\tmp\.bpel_DocumentReview_1.0_e61483a0d5e873d381ae6bfbeaed5c60.tmp\DocumentReview.bpel" ...
<2007-07-07 18:26:30,671> <INFO> <default.collaxa.cube.engine.deployment> <CubeProcessFactory::generateProcessClass>
Process "DocumentReview" (revision "1.0") successfully compiled.
<2007-07-07 18:26:30,750> <INFO> <default.collaxa.cube.engine.deployment> Process "DocumentReview" (revision "1.0") successfully loaded.
Now even though the log says process deployed successfully it only deploys the BPEL Process but no jsp forms deployed. I hope there's nothing special we have to do. This issue can be recreated by installing the Midtier version of SOA and configure it with OID and then try deploying DocumentReview Process provided in the demos.
I hope I have provided all the information.
Thanks and waiting for a feedback as we have to decide on whether we go using BPEL 10.1.3 and this is a critical piece of it.
Maybe you are looking for
-
Employee master Absence record
Hello freind I want to know about employee master form i want to create as like absence button in my form. for that i want to open one form which has matrix on button as like in employee master absence button for that i want to know (1) is absence fo
-
How can i publish in SOAMANAGER
Hey folks, one issue, we have the problem to publish our Support Packages (Software Compoment), that we have installed in our ECC 6.0 System. The SAP PI System don't find our Compoment in the Systemlandscape and therefore we heard that we must publis
-
How do you create a new Xcontrol?
Hi, I'm trying to learn about Xcontrols but can't get past the first step in the tutorial: creating a new Xcontrol! When I right-click -> New on My Computer in a blank project, XControl is not an option. I'm running LV2010 Full on Windows 7. I am
-
HT4993 My phone is unable to download an application in the app store
What should I do?
-
HP recovery manager and windows update
Hi, I am having two problems: 1. I have been having problem with my Recovery Manager, everytime I try to start it, it gives an error window "HP recovery manager has stopped working" and then it shuts the Recovery Manager down. Please advise. 2. In