[JBoss JIRA] Created: (JBSEAM-4590) Multiple war in ear - resources not isolated between wars
by Susanne Jarl (JIRA)
Multiple war in ear - resources not isolated between wars
----------------------------------------------------------
Key: JBSEAM-4590
URL: https://jira.jboss.org/jira/browse/JBSEAM-4590
Project: Seam
Issue Type: Bug
Affects Versions: 2.2.0.GA
Environment: JBoss 5.1.0.GA, Hot deployment. JDK 1.6
Reporter: Susanne Jarl
If you have a.war and b.war in an ear and try to send an email using org.jboss.seam.faces.Renderer this will only work for b.war and in a.war you will get an exception saying that the resource in b.war could not be found. So the renderer called from a.war looks for resources in b.war.
Kind of the same problem with s.graphicImage, only working in b.war, and when used in a.war the exception says it is looking for resources in b.war.
I use hot deployment.
If I start my application with only one of the war files at the time everything works perfectly fine. These issues did not exist in version 2.0.X, they appeared in 2.1. and has been around since then although changed a little between versions.
I have also tried 2.2.1. nightly build #164, since I thought that JBSEAM-4316 might solve this, but unfortunatally it did not.
I have in each war a jboss-web.xml looking like this example (with of course different unique names):
<jboss-web>
<class-loading java2ClassLoadingCompliance="false">
<loader-repository>
org.jboss.seam:archive=uniquename
<loader-repository-config>java2ParentDelegation=false</loader-repository-config>
</loader-repository>
</class-loading>
</jboss-web>
jboss-app.xml looks like this:
<jboss-app>
<loader-repository>
org.jboss.seam:archive=myapp
<loader-repository-config>
java2ParentDelegation=false
</loader-repository-config>
</loader-repository>
</jboss-app>
Please solve this bug until next release. Thank you!
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 4 months
[JBoss JIRA] Created: (JBSEAM-4630) File Attachment not Visible in certain versions of AppleMail
by Cody Lerum (JIRA)
File Attachment not Visible in certain versions of AppleMail
------------------------------------------------------------
Key: JBSEAM-4630
URL: https://jira.jboss.org/jira/browse/JBSEAM-4630
Project: Seam
Issue Type: Patch
Components: Mail
Affects Versions: 2.2.1.CR1
Reporter: Cody Lerum
Assignee: Pete Muir
I ran across an issue in production where a couple end users running AppleMail versions (2.1077) and (2.936) are unable to see PDF attachments to a seam mail.
Upon further investigation I've created a patch that fixes the message layout of messages which have attachments. The issue is where all attachment inline and other are added to a new multipart/related attached to the root multipart/mixed. This appears to cause issues if attachments are not inline.
Basically all messages start with a root multipart/mixed at the top level.
>From there, if there are no inline attachments then the message body is added to the root multipart/mixed and any attachments (non-inline) are also added to the root multipart/mixed.
If there are inline attachments then a multipart/related is created and added to the root multipart/mixed. The message body is added to the related as well as any inline attachments. Non inline attachments are added to the root multipart/mixed
if there is a text alternative to a html body then a multipart/alternative is created and added added either to the root multipart/mixed or to the multipart/related depending on if inline attachments exist.
I've tested with this current versions of Outlook, with Gmail and with current versions of AppleMail. The inline attachment shows as broken in Thunderbird, but it also shows that way in the current 2.2.0GA and 2.2.1CR1 and appears to be a bug in thunderbird.
I'm going to attach a patch and a graphic so you can visualize the layout under different scenarios.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 4 months
[JBoss JIRA] Created: (JBSEAM-4624) Tasks example doesn't work correctly on Windows
by Jozef Hartinger (JIRA)
Tasks example doesn't work correctly on Windows
-----------------------------------------------
Key: JBSEAM-4624
URL: https://jira.jboss.org/jira/browse/JBSEAM-4624
Project: Seam
Issue Type: Bug
Components: Examples
Affects Versions: 2.2.1.CR1
Environment: Microsoft Windows Server 2003 R2 Service Pack 2, Internet Explorer 8, Sun jdk1.6
Reporter: Jozef Hartinger
Priority: Minor
Fix For: 2.2.1.CR2
Steps to reproduce the bug:
- log in, click "Resolved Tasks" link, click "Undo this Task" (green arrow), click "Tasks" link
- now you should see (as it is with Linux and Firefox) "Buy a turtle" in a "Buy" section
- when you click "Resolved Tasks" again, you can see that the task is still there (didn't disappear)
A jbossas log doesn't show anything specific - no exception or warning message.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 4 months
[JBoss JIRA] Created: (JBSEAM-4542) NoSuchEJBException when both Authenticator and web service use EJB transaction
by Jozef Hartinger (JIRA)
NoSuchEJBException when both Authenticator and web service use EJB transaction
------------------------------------------------------------------------------
Key: JBSEAM-4542
URL: https://jira.jboss.org/jira/browse/JBSEAM-4542
Project: Seam
Issue Type: Bug
Components: WS
Affects Versions: 2.2.0.GA
Reporter: Jozef Hartinger
Fix For: 2.2.1.CR2
If both an Authenticator and a web service use EJB transaction (via @Transactional), invocation of the web service fails. Seam is not able to lookup org.jboss.seam.transaction.EjbSynchronizations SFSB in the second ContextualHttpServletRequest.
org.jboss.seam.example.restbay.test.SecurityTest.synchronizationsLookup()
[testng] Caused by: javax.ejb.NoSuchEJBException: Could not find stateful bean: 3j001-op8eml-g5p8kc8t-1-g5p8klrn-m
[testng] at org.jboss.ejb3.cache.simple.SimpleStatefulCache.get(SimpleStatefulCache.java:394)
[testng] at org.jboss.ejb3.cache.simple.SimpleStatefulCache.get(SimpleStatefulCache.java:379)
[testng] at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:63)
[testng] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
[testng] at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)
[testng] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
[testng] at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:166)
[testng] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
[testng] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
[testng] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
[testng] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
[testng] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
[testng] at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:261)
[testng] at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:119)
[testng] at $Proxy96.afterTransactionRollback(Unknown Source)
[testng] at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
[testng] at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32)
[testng] at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:76)
[testng] at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
[testng] at org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:54)
[testng] at org.javassist.tmp.java.lang.Object_$$_javassist_seam_1.afterTransactionRollback(Object_$$_javassist_seam_1.java)
[testng] at org.jboss.seam.transaction.UTTransaction.rollback(UTTransaction.java:70)
[testng] at org.jboss.seam.util.Work.workInTransaction(Work.java:82)
[testng] at org.jboss.seam.transaction.TransactionInterceptor.aroundInvoke(TransactionInterceptor.java:91)
[testng] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
[testng] at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
[testng] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
[testng] at org.jboss.seam.security.SecurityInterceptor.aroundInvoke(SecurityInterceptor.java:163)
[testng] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
[testng] at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
[testng] at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185)
[testng] at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103)
[testng] at org.jboss.seam.example.restbay.resteasy.SecuredResource_$$_javassist_seam_24.synchronizationsLookup(SecuredResource_$$_javassist_seam_24.java)
[testng] at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:124)
[testng] at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:247)
[testng] at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:212)
[testng] at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:202)
[testng] at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:441)
[testng] ... 49 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 4 months
[JBoss JIRA] Created: (JBSEAM-4562) Drools example throws RuntimeDroolsException on JBoss AS 6
by Jozef Hartinger (JIRA)
Drools example throws RuntimeDroolsException on JBoss AS 6
----------------------------------------------------------
Key: JBSEAM-4562
URL: https://jira.jboss.org/jira/browse/JBSEAM-4562
Project: Seam
Issue Type: Bug
Components: Drools, Examples
Affects Versions: 2.2.1.CR1
Environment: java version "1.6.0_14"
JBoss AS 6 M2 with Mojarra 2.0.3 SNAPSHOT
Reporter: Jozef Hartinger
Works fine on JBoss AS 4 and 5
09:11:37,596 WARNING [javax.enterprise.resource.webcontainer.jsf.lifecycle] Unable to resolve class 'org.jboss.seam.example.numberguess.Game_$$_javassist_seam_3': org.jbpm.graph.def.DelegationException: Unable to resolve class 'org.jboss.seam.example.numberguess.Game_$$_javassist_seam_3'
at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:387)
at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:378)
at org.jbpm.graph.node.Decision.execute(Decision.java:148)
at org.jbpm.graph.def.Node.enter(Node.java:319)
at org.jbpm.graph.def.Transition.take(Transition.java:151)
at org.jbpm.graph.def.Node.leave(Node.java:394)
at org.jbpm.graph.exe.Token.signal(Token.java:195)
at org.jbpm.graph.exe.Token.signal(Token.java:158)
at org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:283)
at org.jboss.seam.pageflow.Pageflow.signal(Pageflow.java:485)
at org.jboss.seam.pageflow.Pageflow.navigate(Pageflow.java:341)
at org.jboss.seam.jsf.SeamNavigationHandler.handleNavigation(SeamNavigationHandler.java:40)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:126)
at javax.faces.component.UICommand.broadcast(UICommand.java:311)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:771)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1263)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:77)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:308)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:336)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:276)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:872)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.drools.RuntimeDroolsException: Unable to resolve class 'org.jboss.seam.example.numberguess.Game_$$_javassist_seam_3'
at org.drools.base.ClassFieldAccessorCache.getClass(ClassFieldAccessorCache.java:269)
at org.drools.base.ClassFieldAccessorCache.getClassObjectType(ClassFieldAccessorCache.java:193)
at org.drools.reteoo.ClassObjectTypeConf.<init>(ClassObjectTypeConf.java:70)
at org.drools.common.ObjectTypeConfigurationRegistry.getObjectTypeConf(ObjectTypeConfigurationRegistry.java:58)
at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:849)
at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:788)
at org.jboss.seam.drools.DroolsHandler.assertObject(DroolsHandler.java:80)
at org.jboss.seam.drools.DroolsHandler.getWorkingMemory(DroolsHandler.java:43)
at org.jboss.seam.drools.DroolsDecisionHandler.decide(DroolsDecisionHandler.java:28)
at org.jbpm.graph.node.Decision.execute(Decision.java:88)
... 48 more
09:11:37,628 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-drools].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception: org.drools.RuntimeDroolsException: Unable to resolve class 'org.jboss.seam.example.numberguess.Game_$$_javassist_seam_3'
at org.drools.base.ClassFieldAccessorCache.getClass(ClassFieldAccessorCache.java:269)
at org.drools.base.ClassFieldAccessorCache.getClassObjectType(ClassFieldAccessorCache.java:193)
at org.drools.reteoo.ClassObjectTypeConf.<init>(ClassObjectTypeConf.java:70)
at org.drools.common.ObjectTypeConfigurationRegistry.getObjectTypeConf(ObjectTypeConfigurationRegistry.java:58)
at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:849)
at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:788)
at org.jboss.seam.drools.DroolsHandler.assertObject(DroolsHandler.java:80)
at org.jboss.seam.drools.DroolsHandler.getWorkingMemory(DroolsHandler.java:43)
at org.jboss.seam.drools.DroolsDecisionHandler.decide(DroolsDecisionHandler.java:28)
at org.jbpm.graph.node.Decision.execute(Decision.java:88)
at org.jbpm.graph.def.Node.enter(Node.java:319)
at org.jbpm.graph.def.Transition.take(Transition.java:151)
at org.jbpm.graph.def.Node.leave(Node.java:394)
at org.jbpm.graph.exe.Token.signal(Token.java:195)
at org.jbpm.graph.exe.Token.signal(Token.java:158)
at org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:283)
at org.jboss.seam.pageflow.Pageflow.signal(Pageflow.java:485)
at org.jboss.seam.pageflow.Pageflow.navigate(Pageflow.java:341)
at org.jboss.seam.jsf.SeamNavigationHandler.handleNavigation(SeamNavigationHandler.java:40)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:126)
at javax.faces.component.UICommand.broadcast(UICommand.java:311)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:771)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1263)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:77)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:308)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:336)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:276)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:872)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)
at java.lang.Thread.run(Thread.java:619)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 4 months