[EJB 3.0] - Re: JBoss 5 deployment error
by jhsingle
Thanks for creating the JIRA issue, I'll watch for that resolution. In the meantime...
anonymous wrote :
| Possible workarounds:
|
| 1) Probably the easiest - Remove all @Resource injection of application specific classes
|
I have done this. My only remaining @Resource injection is
| @javax.annotation.Resource EJBContext ctx;
|
which I hope is OK. But now the problem has migrated to the WAR file.
| 2009-01-13 14:20:40,358 DEBUG [org.jboss.system.ServiceCreator] About to create bean: jboss.web.deployment:war=/usermgmt with code: org.jboss.web.deployers.WebModule
| 2009-01-13 14:20:40,360 DEBUG [org.jboss.system.ServiceCreator] Created mbean: jboss.web.deployment:war=/usermgmt
| 2009-01-13 14:20:40,360 DEBUG [org.jboss.system.ServiceConfigurator] SecurityManagement set to org.jboss.security.integration.JNDIBasedSecurityManagement@bd2c1e in jboss.web.deployment:war=/usermgmt
| 2009-01-13 14:20:40,360 DEBUG [org.jboss.system.ServiceConfigurator] PolicyRegistration set to org.jboss.security.plugins.JBossPolicyRegistration@1bbc2b0 in jboss.web.deployment:war=/usermgmt
| 2009-01-13 14:20:40,361 DEBUG [org.jboss.system.ServiceConfigurator] Kernel set to org.jboss.kernel.Kernel@832226 in jboss.web.deployment:war=/usermgmt
| 2009-01-13 14:20:40,361 DEBUG [org.jboss.system.ServiceController] Creating service jboss.web.deployment:war=/usermgmt
| 2009-01-13 14:20:40,362 DEBUG [org.jboss.system.ServiceController] starting service jboss.web.deployment:war=/usermgmt
| 2009-01-13 14:20:40,362 DEBUG [org.jboss.web.tomcat.service.deployers.TomcatDeployment] webContext: /usermgmt
| 2009-01-13 14:20:40,362 DEBUG [org.jboss.web.tomcat.service.deployers.TomcatDeployment] warURL: file:/home/jhsingl/pkg/jboss-5.0.0.GA/server/default/tmp/deploy/usermgmt-war-2.7.014863-exp.war/
| 2009-01-13 14:20:40,363 INFO [org.jboss.web.tomcat.service.deployers.TomcatDeployment] deploy, ctxPath=/usermgmt, vfsUrl=workflow.ear/usermgmt-war-2.7.0.war
| 2009-01-13 14:20:40,363 DEBUG [org.jboss.web.tomcat.service.deployers.TomcatDeployment] Using session cookies default setting
| 2009-01-13 14:20:40,533 ERROR [org.jboss.web.tomcat.service.deployers.JBossContextConfig] XML error parsing: context.xml
| org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX parser
| at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:100)
| at org.jboss.web.tomcat.service.deployers.JBossContextConfig.processContextConfig(JBossContextConfig.java:552)
| at org.jboss.web.tomcat.service.deployers.JBossContextConfig.init(JBossContextConfig.java:538)
| at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:279)
| at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
| at org.apache.catalina.core.StandardContext.init(StandardContext.java:5436)
| at org.apache.catalina.core.StandardContext.start(StandardContext.java:4148)
| at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:367)
| at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146)
| at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:460)
| at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
| at org.jboss.web.deployers.WebModule.start(WebModule.java:96)
| 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: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 $Proxy36.start(Unknown Source)
| at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
| at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
| at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
| at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
| at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
| at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
| at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
| 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:146)
| at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:104)
| at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:45)
| at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
| at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
| at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
| at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
| at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545)
| at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)
| at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
| at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
| at org.jboss.Main.boot(Main.java:209)
| at org.jboss.Main$1.run(Main.java:547)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: org.jboss.xb.binding.JBossXBException: Failed to create a new SAX parser
| at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.<init>(SaxJBossXBParser.java:97)
| at org.jboss.xb.binding.UnmarshallerImpl.<init>(UnmarshallerImpl.java:56)
| at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:96)
| ... 63 more
| Caused by: java.lang.ClassCastException: org.apache.xerces.parsers.XIncludeAwareParserConfiguration
| at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)
| at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)
| at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.<init>(Unknown Source)
| at org.apache.xerces.jaxp.SAXParserImpl.<init>(Unknown Source)
| at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown Source)
| at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.<init>(SaxJBossXBParser.java:92)
| ... 65 more
| 2009-01-13 14:20:40,535 ERROR [org.jboss.web.tomcat.service.deployers.JBossContextConfig] XML error parsing: jboss.web/localhost/context.xml.default
| org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX parser
| at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:100)
| at org.jboss.web.tomcat.service.deployers.JBossContextConfig.processContextConfig(JBossContextConfig.java:552)
| at org.jboss.web.tomcat.service.deployers.JBossContextConfig.init(JBossContextConfig.java:539)
| at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:279)
| at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
| at org.apache.catalina.core.StandardContext.init(StandardContext.java:5436)
| at org.apache.catalina.core.StandardContext.start(StandardContext.java:4148)
| at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:367)
| at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146)
| at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:460)
| at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
| at org.jboss.web.deployers.WebModule.start(WebModule.java:96)
| 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: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 $Proxy36.start(Unknown Source)
| at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
| at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
| at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
| at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
| at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
| at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
| at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
| 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:146)
| at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:104)
| at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:45)
| at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
| at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
| at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
| at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
| at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545)
| at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)
| at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
| at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
| at org.jboss.Main.boot(Main.java:209)
| at org.jboss.Main$1.run(Main.java:547)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: org.jboss.xb.binding.JBossXBException: Failed to create a new SAX parser
| at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.<init>(SaxJBossXBParser.java:97)
| at org.jboss.xb.binding.UnmarshallerImpl.<init>(UnmarshallerImpl.java:56)
| at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:96)
| ... 63 more
| Caused by: java.lang.ClassCastException: org.apache.xerces.parsers.XIncludeAwareParserConfiguration
| at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)
| at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)
| at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.<init>(Unknown Source)
| at org.apache.xerces.jaxp.SAXParserImpl.<init>(Unknown Source)
| at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown Source)
| at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.<init>(SaxJBossXBParser.java:92)
| ... 65 more
| 2009-01-13 14:20:40,548 ERROR [org.jboss.web.tomcat.service.deployers.JBossContextConfig] XML error parsing: WEB-INF/context.xml
| org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX parser
| at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:100)
| at org.jboss.web.tomcat.service.deployers.JBossContextConfig.processContextConfig(JBossContextConfig.java:552)
| at org.jboss.web.tomcat.service.deployers.JBossContextConfig.init(JBossContextConfig.java:542)
| at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:279)
| at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
| at org.apache.catalina.core.StandardContext.init(StandardContext.java:5436)
| at org.apache.catalina.core.StandardContext.start(StandardContext.java:4148)
| at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:367)
| at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146)
| at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:460)
| at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
| at org.jboss.web.deployers.WebModule.start(WebModule.java:96)
| 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: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 $Proxy36.start(Unknown Source)
| at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
| at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
| at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
| at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
| at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
| at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
| at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
| 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:146)
| at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:104)
| at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:45)
| at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
| at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
| at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
| at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
| at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545)
| at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)
| at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
| at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
| at org.jboss.Main.boot(Main.java:209)
| at org.jboss.Main$1.run(Main.java:547)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: org.jboss.xb.binding.JBossXBException: Failed to create a new SAX parser
| at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.<init>(SaxJBossXBParser.java:97)
| at org.jboss.xb.binding.UnmarshallerImpl.<init>(UnmarshallerImpl.java:56)
| at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:96)
| ... 63 more
| Caused by: java.lang.ClassCastException: org.apache.xerces.parsers.XIncludeAwareParserConfiguration
| at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)
| at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)
| at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.<init>(Unknown Source)
| at org.apache.xerces.jaxp.SAXParserImpl.<init>(Unknown Source)
| at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown Source)
| at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.<init>(SaxJBossXBParser.java:92)
| ... 65 more
| 2009-01-13 14:20:40,560 DEBUG [org.jboss.web.tomcat.service.WebCtxLoader] injectionContainer enabled and processing beginning with JBoss WebCtxLoader
| 2009-01-13 14:20:40,728 DEBUG [org.jboss.web.tomcat.service.deployers.JBossContextConfig] Setting MC attributes, kernel: org.jboss.kernel.Kernel@832226, unit: AbstractVFSDeploymentContext@13821494{vfszip:/home/jhsingl/pkg/jboss-5.0.0.GA/server/default/deploy/workflow.ear/usermgmt-war-2.7.0.war}
| 2009-01-13 14:20:40,732 ERROR [org.apache.catalina.startup.ContextConfig] Marking this application unavailable due to previous error(s)
| 2009-01-13 14:20:40,734 ERROR [org.apache.catalina.core.StandardContext] Context [/usermgmt] startup failed due to previous errors
| 2009-01-13 14:20:40,736 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Start: name=jboss.web.deployment:war=/usermgmt state=Create mode=Manual requiredState=Installed
| org.jboss.deployers.spi.DeploymentException: URL file:/home/jhsingl/pkg/jboss-5.0.0.GA/server/default/tmp/deploy/usermgmt-war-2.7.014863-exp.war/ deployment failed
| at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:388)
| at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146)
| at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:460)
| at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
| at org.jboss.web.deployers.WebModule.start(WebModule.java:96)
| 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: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 $Proxy36.start(Unknown Source)
| at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
| at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
| at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
| at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
| at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
| at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
| at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
| 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:146)
| at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:104)
| at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:45)
| at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
| at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
| at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
| at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
| at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545)
| at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)
| at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
| at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
| at org.jboss.Main.boot(Main.java:209)
| at org.jboss.Main$1.run(Main.java:547)
| at java.lang.Thread.run(Thread.java:595)
| 2009-01-13 14:20:40,737 DEBUG [org.jboss.system.ServiceCreator] Removing mbean from server: jboss.web.deployment:war=/usermgmt
|
Contents of my ear file:
| META-INF/
| META-INF/MANIFEST.MF
| icu4j-3.4.4.jar
| xmlParserAPIs-2.0.2.jar
| jaxb-api-2.1.9.jar
| commons-logging-1.1.0.jboss.jar
| jaxb-xjc-2.1.9.jar
| iri-0.5.jar
| usermgmt-war-2.7.0.war
| usermgmt-ejb-2.7.0.jar
| commons-collections-3.1.jar
| oro-2.0.8.jar
| commons-codec-1.3.jar
| xercesImpl-2.9.1.jar
| logkit-1.2.jar
| commons-digester-1.7.jar
| workflow-war-2.7.0.war
| lucene-core-2.3.1.jar
| commons-lang-2.1.jar
| avalon-framework-4.1.5.jar
| stax-1.1.1-dev.jar
| json-jena-1.0.jar
| jaxb-impl-2.1.9.jar
| xpdl-2.0-alpha1.jar
| META-INF/jboss-app.xml
| META-INF/application.xml
| xmlbeans-jsr173-api-2.0-dev.jar
| antlr-2.7.6-brew.jar
| concurrent-jena-1.3.2.jar
| arq-2.3.jar
| commons-beanutils-1.7.0.jar
| jena-2.5.6.jar
| workflow-ejb-2.7.0.jar
| META-INF/maven/
| META-INF/maven/blackbook-workflow/
| META-INF/maven/blackbook-workflow/workflow-ear/
| META-INF/maven/blackbook-workflow/workflow-ear/pom.xml
| META-INF/maven/blackbook-workflow/workflow-ear/pom.properties
|
and contents of usermgmt.war:
| META-INF/
| META-INF/MANIFEST.MF
| js/
| images/
| group/
| user/
| WEB-INF/
| WEB-INF/templates/
| WEB-INF/classes/
| WEB-INF/classes/security/
| WEB-INF/classes/security/web/
| WEB-INF/classes/security/web/group/
| WEB-INF/classes/security/web/user/
| WEB-INF/classes/security/web/util/
| WEB-INF/classes/security/web/role/
| WEB-INF/classes/blackbook/
| WEB-INF/classes/blackbook/web/
| WEB-INF/classes/blackbook/web/jxta/
| WEB-INF/lib/
| styles/
| role/
| js/functions.js
| images/listNavEnd.gif
| images/iconsTrash.gif
| images/iconsEdit.gif
| images/listNavNext.gif
| images/listNavBack.gif
| images/listNavStart.gif
| index.jsp
| group/Create.xhtml
| group/Modify.xhtml
| group/Delete.xhtml
| group/List.xhtml
| group/ViewPanel.xhtml
| group/EntryPanel.xhtml
| group/View.xhtml
| user/Create.xhtml
| user/Modify.xhtml
| user/Delete.xhtml
| user/List.xhtml
| user/ViewPanel.xhtml
| user/EntryPanel.xhtml
| user/View.xhtml
| WEB-INF/web.xml
| WEB-INF/custom.taglib.xml
| WEB-INF/tomahawk.taglib.xml
| WEB-INF/faces-beans.xml
| WEB-INF/jboss-web.xml
| WEB-INF/faces-config.xml
| WEB-INF/templates/header.xhtml
| WEB-INF/templates/Layout.xhtml
| WEB-INF/templates/footer.xhtml
| WEB-INF/classes/security/web/group/GroupHandler.class
| WEB-INF/classes/security/web/user/UserHandler.class
| WEB-INF/classes/security/web/util/FacesUtil.class
| WEB-INF/classes/security/web/role/RoleHandler.class
| WEB-INF/classes/blackbook/web/jxta/JxtaProxyServlet.class
| WEB-INF/classes/securityResources.properties
| WEB-INF/faces-navigation.xml
| WEB-INF/lib/oscache-2.3.jar
| WEB-INF/lib/icu4j-3.4.4.jar
| WEB-INF/lib/customJSF-1.0.0.jar
| WEB-INF/lib/commons-el-1.0.jar
| WEB-INF/lib/commons-logging-1.1.0.jboss.jar
| WEB-INF/lib/commons-io-1.1.jar
| WEB-INF/lib/commons-fileupload-1.1.1.jar
| WEB-INF/lib/commons-collections-3.1.jar
| WEB-INF/lib/oro-2.0.8.jar
| WEB-INF/lib/jxta_rc1-2.5.jar
| WEB-INF/lib/commons-codec-1.3.jar
| WEB-INF/lib/commons-digester-1.7.jar
| WEB-INF/lib/commons-lang-2.1.jar
| WEB-INF/lib/jsf-facelets-1.1.15.B1.jar
| WEB-INF/lib/commons-validator-1.1.4.jar
| WEB-INF/lib/standard-1.1.2.jar
| WEB-INF/lib/jstl-1.2.jar
| WEB-INF/lib/colt-1.2.0.jar
| WEB-INF/lib/el-ri-1.0.jar
| WEB-INF/lib/commons-beanutils-1.7.0.jar
| styles/common.css
| styles/security.css
| styles/project.css
| role/Create.xhtml
| role/Modify.xhtml
| role/Delete.xhtml
| role/List.xhtml
| role/ViewPanel.xhtml
| role/EntryPanel.xhtml
| role/View.xhtml
| META-INF/maven/
| META-INF/maven/blackbook-security/
| META-INF/maven/blackbook-security/usermgmt-war/
| META-INF/maven/blackbook-security/usermgmt-war/pom.xml
| META-INF/maven/blackbook-security/usermgmt-war/pom.properties
|
As before, I have posted a zip of the entire log at
http://rabasrv.jhuapl.edu/server.log.zip
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4201518#4201518
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4201518
17 years, 6 months
[Beginners Corner] - Re: jboss-dukes-bank app
by pepelara
Going on with the DukeâÂÂs Bank, I have made some changes in then code. I am trying it because learning. But now appears an exception that is,
Unable find setter method for paramName attribute
Then code is as follow,
| public class Definition {
| private HashMap params = new HashMap();
|
| public void setParam(Parameter p) {
| params.put(p.getParamName(), p);
| }
|
| public Parameter getParam(String name) {
| return (Parameter) params.get(name);
| }
| }
|
| public class Parameter {
| private String paramName;
| private boolean direct;
| private String paramValue;
|
| public Parameter(String name, String value, boolean isDirect) {
| this.paramName = name;
| this.direct = isDirect;
| this.paramValue = value;
| }
|
| public String getParamName() {
| return paramName;
| }
|
| public boolean getIsDirect() {
| return direct;
| }
|
| public String getParamValue() {
| return paramValue;
| }
| }
|
| public class DefinitionTag extends SimpleTagSupport {
| private String name = null;
| private String screen = null;
| private HashMap screens = null;
|
| public DefinitionTag() {
| super();
| }
|
| public HashMap getScreens() {
| return screens;
| }
|
| public void setName(String name) {
| this.name = name;
| }
|
| public void setScreen(String screenId) {
| this.screen = screenId;
| }
|
| public void doTag() {
| try {
| screens = new HashMap();
|
| getJspBody()
| .invoke(null);
|
| Definition myDefinition = new Definition();
| PageContext context = (PageContext) getJspContext();
| ArrayList params = (ArrayList) screens.get(screen);
| Iterator ir = null;
|
| if (params != null) {
| ir = params.iterator();
|
| while (ir.hasNext())
| myDefinition.setParam((Parameter) ir.next());
|
| // put the definition in the page context
| context.setAttribute(name, myDefinition,
| context.APPLICATION_SCOPE);
| } else {
| Debug.println("DefinitionTag: params are not defined.");
| }
| } catch (Exception ex) {
| ex.printStackTrace();
| }
| }
| }
|
| public class ParameterTag extends SimpleTagSupport {
| private String paramName = null;
| private String paramValue = null;
| private String direct = null;
|
| public ParameterTag() {
| super();
| }
|
| public void setParamName(String paramName) {
| this.paramName = paramName;
| }
|
| public void setParamValue(String paramValue) {
| this.paramValue = paramValue;
| }
|
| public void setDirect(String isDirectString) {
| this.direct = isDirectString;
| }
|
| public void doTag() {
| boolean isDirect = false;
|
| if ((direct != null) &&
| direct.toLowerCase()
| .equals("true")) {
| isDirect = true;
| }
|
| try {
| // retrieve the parameters list
| if (paramName != null) {
| ArrayList parameters =
| ((ScreenTag) getParent()).getParameters();
|
| if (parameters != null) {
| Parameter param =
| new Parameter(paramName, paramValue, isDirect);
| parameters.add(param);
| } else {
| Debug.println("ParameterTag: parameters do not exist.");
| }
|
| }
| } catch (Exception e) {
| Debug.println("ParameterTag: error in doTag: " + e);
| }
| }
| }
|
| public class ScreenTag extends SimpleTagSupport {
| private String screenId;
| private ArrayList parameters = null;
|
| public ScreenTag() {
| super();
| }
|
| public ArrayList getParameters() {
| return parameters;
| }
|
| public void setScreenId(String screenId) {
| this.screenId = screenId;
| }
|
| public void doTag() {
| parameters = new ArrayList();
|
| HashMap screens = (HashMap) ((DefinitionTag) getParent()).getScreens();
|
| if (screens != null) {
| try {
| if (!screens.containsKey(screenId)) {
| screens.put(screenId, parameters);
| }
|
| getJspBody()
| .invoke(null);
| } catch (Exception ex) {
| ex.printStackTrace();
| }
| } else {
| Debug.println("ScreenTag: Unable to get screens object.");
| }
| }
| }
|
| public class InsertTag extends SimpleTagSupport {
| private String parameter = null;
| private String definition = null;
|
| public InsertTag() {
| super();
| }
|
| public void setParameter(String parameter) {
| this.parameter = parameter;
| }
|
| public void setDefinition(String name) {
| this.definition = name;
| }
|
| public void doTag() throws JspTagException {
| Definition myDefinition = null;
| Parameter myParameter = null;
| boolean directInclude = false;
|
| PageContext context = (PageContext) getJspContext();
|
| // get the definition from the page context
| myDefinition =
| (Definition) context.getAttribute(definition,
| context.APPLICATION_SCOPE);
|
| // get the parameter
| if ((parameter != null) && (myDefinition != null)) {
| myParameter = (Parameter) myDefinition.getParam(parameter);
| }
|
| if (myParameter != null) {
| directInclude = myParameter.getIsDirect();
| }
|
| try {
| // if parameter is direct, print to out
| if (directInclude && (myParameter != null)) {
| context.getOut()
| .print(myParameter.getParamValue());
| }
| // if parameter is indirect, include results of dispatching to page
| else {
| if ((myParameter != null) && (myParameter.getParamValue() != null)) {
| context.include(myParameter.getParamValue());
| }
| }
| } catch (Exception ex) {
| Throwable rootCause = null;
|
| if (ex instanceof ServletException) {
| rootCause = ((ServletException) ex).getRootCause();
| }
|
| throw new JspTagException(ex.getMessage(), rootCause);
| }
| }
| }
|
Another change I made was to put jsp extension to the file screendefinitions.jspf. Now is screendefinitions.jsp and is as follow,
| <tt:mydefinition name="bank" screen='<%= (String)request.getAttribute("selectedScreen") %>'>
| <tt:myscreen screenId="/main">
| <tt:myparameter paramName="title" paramValue="Duke's Bank" direct="true"/>
| <tt:myparameter paramName="banner" paramValue="/template/banner.jsp" direct="false"/>
| <tt:myparameter paramName="links" paramValue="/template/links.jsp" direct="false"/>
| <tt:myparameter paramName="body" paramValue="/main.jsp" direct="false"/>
| </tt:myscreen>
| <tt:myscreen screenId="/transferAck">
| <tt:myparameter paramName="title" paramValue="TransferSucceeded" direct="true"/>
| <tt:myparameter paramName="banner" paramValue="/template/banner.jsp" direct="false"/>
| <tt:myparameter paramName="links" paramValue="/template/links.jsp" direct="false"/>
| <tt:myparameter paramName="body" paramValue="/transferAck.jsp" direct="false"/>
| </tt:myscreen>
| <tt:myscreen screenId="/transferFunds">
| <tt:myparameter paramName="title" paramValue="TransferFunds" direct="true"/>
| <tt:myparameter paramName="banner" paramValue="/template/banner.jsp" direct="false"/>
| <tt:myparameter paramName="links" paramValue="/template/links.jsp" direct="false"/>
| <tt:myparameter paramName="body" paramValue="/transferFunds.jsp" direct="false"/>
| </tt:myscreen>
| <tt:myscreen screenId="/atmAck">
| <tt:myparameter paramName="title" paramValue="WDSucceeded" direct="true"/>
| <tt:myparameter paramName="banner" paramValue="/template/banner.jsp" direct="false"/>
| <tt:myparameter paramName="links" paramValue="/template/links.jsp" direct="false"/>
| <tt:myparameter paramName="body" paramValue="/atmAck.jsp" direct="false"/>
| </tt:myscreen>
| <tt:myscreen screenId="/atm">
| <tt:myparameter paramName="title" paramValue="WD" direct="true"/>
| <tt:myparameter paramName="banner" paramValue="/template/banner.jsp" direct="false"/>
| <tt:myparameter paramName="links" paramValue="/template/links.jsp" direct="false"/>
| <tt:myparameter paramName="body" paramValue="/atm.jsp" direct="false"/>
| </tt:myscreen>
| <tt:myscreen screenId="/accountHist">
| <tt:myparameter paramName="title" paramValue="AccountHistory" direct="true"/>
| <tt:myparameter paramName="banner" paramValue="/template/banner.jsp" direct="false"/>
| <tt:myparameter paramName="links" paramValue="/template/links.jsp" direct="false"/>
| <tt:myparameter paramName="body" paramValue="/accountHist.jsp" direct="false"/>
| </tt:myscreen>
| <tt:myscreen screenId="/accountList">
| <tt:myparameter paramName="title" paramValue="AccountList" direct="true"/>
| <tt:myparameter paramName="banner" paramValue="/template/banner.jsp" direct="false"/>
| <tt:myparameter paramName="links" paramValue="/template/links.jsp" direct="false"/>
| <tt:myparameter paramName="body" paramValue="/accountList.jsp" direct="false"/>
| </tt:myscreen>
| <tt:myscreen screenId="/logoff">
| <tt:myparameter paramName="title" paramValue="Logoff" direct="true"/>
| <tt:myparameter paramName="banner" paramValue="/template/banner.jsp" direct="false"/>
| <tt:myparameter paramName="links" paramValue="/template/nolinks.jsp" direct="false"/>
| <tt:myparameter paramName="body" paramValue="/logoff.jsp" direct="false"/>
| </tt:myscreen>
| </tt:mydefinition>
|
As you can see my code does not has any line of jsp code yet. I think is the right way considering the tutorials I have been reading over there.
Please help about this exception. I think I am close to the solution.
Thanks and best regards,
Jose Alvarez de Lara
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4201515#4201515
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4201515
17 years, 6 months
[JBoss Portal] - Per window customization even when it is not dashboard
by vivek_saini07
Posted: Tue Jan 13, 2009 14:48 PM Post subject: Per window customization even when it is not dashboard
I have enabled drag-and-drop property for portal. Now I want to persist the portlet-window location in database when window is dragged from one region and dropped in another region/order. So that when page gets refreshed (or user log in again) he finds the portlet-window at the location it was dragged by him(or by any other user) last time.
Overall I want same functionality as it is provided in dashboard. The reason I can not use dashboard here is dashboard is user specific. In my scenario it should be portalID (even when portalID is not in dashboard context) specific, means any user can change the location of portlet-window,and other users should see this.
till now i have reached to following lines in CustomizationManagerService
|
| if (user != null)
| {
| String userId = getUserId(user);
|
| // And if it is in a dashboard context we get the per window customization
| if (isDashboard(window, user))
| {
| // That's how we manufacture dash board keys
| String dashboardId = window.getId().toString();
|
| //
| instance = instance.getCustomization(dashboardId);
| }
| else
| {
| instance = instance.getCustomization(userId);
| }
|
|
what i want is per window customization even when it is not dashboard. Is there any way?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4201502#4201502
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4201502
17 years, 6 months
[JBoss Portal] - JBoss Portal WSRP <-> Sharepoint interoperability
by uiterlix
Hi,
Currently I'm trying to expose a JSR-168 portlet hosted in JBoss Portal 2.6.7 to a Sharepoint 2007 portal. I've made the portlet remotable and configured a WSRP web part in sharepoint. I also disabled the strict mode on the JBoss WSRP producer mbean. Everything seems fine when opening the sharepoint page since it correctly displays my portlet. But, things go wrong when I try to perform an action on the portlet. Sharepoint gives a "Page not found".
The strange thing is when looking at the page source, the form post url does not seem to have been rewritten, and points to wsrp_rewrite....etc. This makes it quite understandable why sharepoint returns a 404 on a portlet action.
I also configured the portlet as a remote portlet in another JBoss portal server instance, and enverything works fine there. JBoss portal server correctly rewrites the form post url, so I assume something is wrong on the sharepoint side.
Does anyone know what I'm doing wrong ? Has anyone created a similar setup and encountered this problem as well ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4201496#4201496
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4201496
17 years, 6 months
[JBossWS] - XML signatures as WS payload?
by sstaible
Hi,
we've implemented a web service that receives a xml structure as input, signs it (with XML-D-Sig) and returns it to the client.
We found out however that during transport of the xml structure from the client to server (and also back), the whitespaces in the XML data partially stripped from the XML data. This of course makes the XML signature completely unusable.
To embed the unsigned and signed XML structures into the SOAP-request/response we use the XmlAnyElement annotation (auto-generated JAX-WS2.0 class from the WSDL). So the XML structures are embedded directly as a sub node into the SOAP structure.
We use JBoss 4.2.3.GA on the server and the respective JBoss client libraries on the client-side.
Is this behaviour of JBoss normal? I'm quite new to web services, JAXB, JAX-WS and the like but I would expect embedded xml to be transported unmodified over the SOAP channel.
Any help or explanation of this behaviour is highly appreciated.
Regards,
Sven
www.keyon.ch
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4201493#4201493
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4201493
17 years, 6 months