[JBoss Seam] - Re: selectManyCheckbox
by pete.muirï¼ jboss.org
Yeah, I know the exact problem, in fact, its a oft discussed topic when using hibernate. There is something on the SeamProblemsFAQ about this (but not coming from your angle, I will update).
When you load the same entity twice from the same persistence context the same object is returned. If you load the same entity from two different persistence contexts a different object is returned, so they don't have "object equality". So, if you load and select everything using the same PC you are home and dry not implementing .equals (look at the hibernate website for an in depth discussion of this, and why we don't recommend this), but if you don't...
We should really document this much better as it comes up time and time again...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069308#4069308
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4069308
16Â years, 9Â months
[Installation, Configuration & DEPLOYMENT] - ERROR in deployment.. urgent help required
by riji
Hi,
I have an war file, which is not getting deployed in jboss. I get the following error. Can anyone tell me why this would be.???
Thanks in advance.
-------------------------------ERROR-------------------------------------
2007-07-31 23:06:13,139 ERROR [org.apache.catalina.core.StandardContext] Error listenerStart
2007-07-31 23:06:13,139 ERROR [org.apache.catalina.core.StandardContext] Error listenerStart
2007-07-31 23:06:13,140 ERROR [org.apache.catalina.core.StandardContext] Context [/bccWeb_5_5] startup failed due to previous errors
2007-07-31 23:06:13,140 ERROR [org.apache.catalina.core.StandardContext] Context [/bccWeb_5_5] startup failed due to previous errors
2007-07-31 23:06:13,140 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/bccWeb_5_5]] Closing Spring root WebApplicationContext
2007-07-31 23:06:13,140 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/bccWeb_5_5]] Closing Spring root WebApplicationContext
2007-07-31 23:06:13,140 INFO [org.springframework.web.context.support.XmlWebApplicationContext] Closing application context [Root WebApplicationContext]
2007-07-31 23:06:13,140 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] Destroying singletons in factory {org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [filterChainProxy,quantumIntegrationFilter,quantumAccessDecisionHelper,messageSource,navigationManager,logOff,loginProxy,loginError,navigationControlForFramework,error500]; root of BeanFactory hierarchy}
2007-07-31 23:06:13,149 WARN [org.jboss.system.ServiceController] Problem starting service jboss.web.deployment:war=bccWeb_5_5.war,id=1557084261
org.jboss.deployment.DeploymentException: URL file:/opt/nortel/Jboss-Quantum/server/default/tmp/deploy/tmp38516bccWeb_5_5-exp.war/ deployment failed
at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:365)
at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
at org.jboss.web.WebModule.startModule(WebModule.java:83)
at org.jboss.web.WebModule.startService(WebModule.java:61)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
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.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor9.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.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 $Proxy23.start(Unknown Source)
at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
at sun.reflect.GeneratedMethodAccessor114.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(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
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 $Proxy24.start(Unknown Source)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
at sun.reflect.GeneratedMethodAccessor60.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(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 $Proxy7.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(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
2007-07-31 23:06:13,150 ERROR [org.jboss.deployment.MainDeployer] Could not start deployment: file:/opt/nortel/Jboss-Quantum/server/default/deploy/bccWeb_5_5.war
org.jboss.deployment.DeploymentException: URL file:/opt/nortel/Jboss-Quantum/server/default/tmp/deploy/tmp38516bccWeb_5_5-exp.war/ deployment failed
at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:365)
at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
at org.jboss.web.WebModule.startModule(WebModule.java:83)
at org.jboss.web.WebModule.startService(WebModule.java:61)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
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.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor9.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.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 $Proxy23.start(Unknown Source)
at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
at sun.reflect.GeneratedMethodAccessor114.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(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
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 $Proxy24.start(Unknown Source)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
at sun.reflect.GeneratedMethodAccessor60.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(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 $Proxy7.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(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069306#4069306
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4069306
16Â years, 9Â months
[JBoss Seam] - Re: Page action not called
by Sammy8306
"pete.muir(a)jboss.org" wrote : 1) You are using Seam 1.2(.1) but your dtd is for Seam 1.1
|
Yeah, I caught that and that's already fixed.
anonymous wrote :
| 2) Post the structure of your build project (e.g. run ls -R on an exploded ear/war).
Ok, here goes:
| $ ls -1R .
|
| Blog.page.xml
| Blog.xhtml
| EditEntry.page.xml
| EditEntry.xhtml
| META-INF
| NewBlogEntry.page.xml
| NewBlogEntry.xhtml
| UserList.page.xml
| UserList.xhtml
| ViewBlog.page.xml
| ViewBlog.xhtml
| WEB-INF
| css
| img
| index.html
| template.xhtml
| timeOut.xhtml
|
| ./META-INF:
| MANIFEST.MF
|
| ./WEB-INF:
| classes
| components.xml
| faces-config.xml
| lib
| pages.xml
| web.xml
|
| ./WEB-INF/classes:
| jboss-beans.xml
| jndi.properties
| log4j.xml
|
| ./WEB-INF/lib:
| ajax4jsf-1.1.1-SNAPSHOT.jar
| antlr-2.7.5H3.jar
| blog-jpa-seam.jar
| commons-beanutils-1.7.0.jar
| commons-codec-1.3.jar
| commons-collections-3.1.jar
| commons-collections.jar
| commons-digester-1.6.jar
| commons-el-1.0.jar
| commons-lang-2.1.jar
| commons-logging.jar
| concurrent.jar
| dom4j.jar
| ejb3-persistence.jar
| el-api.jar
| el-ri.jar
| hibernate-annotations.jar
| hibernate-entitymanager.jar
| hibernate3.jar
| hsqldb.jar
| jboss-archive-browsing.jar
| jboss-common-jdbc-wrapper.jar
| jboss-common.jar
| jboss-container.jar
| jboss-dependency.jar
| jboss-j2ee.jar
| jboss-j2se.jar
| jboss-jca.jar
| jboss-local-jdbc.jar
| jboss-microcontainer.jar
| jboss-seam-debug.jar
| jboss-seam-ui.jar
| jboss-seam.jar
| jboss-security.jar
| jboss-system.jar
| jboss-transaction.jar
| jnpserver.jar
| jsf-facelets.jar
| log4j.jar
| myfaces-api-1.1.4.jar
| myfaces-impl-1.1.4.jar
| namespace.jar
| oscache-2.3.2.jar
| thirdparty-all.jar
| xercesImpl.jar
| xml-apis.jar
|
| ./css:
| date.css
| screen.css
| trailblazer_main.css
|
| ./img:
| <snip>
|
|
So this is the layout that doesn't work. However, if I move *.page.xhtml into ./WEB-INF/, and add the the following line to Pages.java in createPage(String viewId):
| stream = Resources.getResourceAsStream( "/WEB-INF" + resourceName);
|
then they are loaded and handled correctly...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069303#4069303
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4069303
16Â years, 9Â months