[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2713) Bean Annotated with @Destroy Fails on any JEE5 Certified Platform.
by Burt Prior (JIRA)
Bean Annotated with @Destroy Fails on any JEE5 Certified Platform.
------------------------------------------------------------------
Key: JBSEAM-2713
URL: http://jira.jboss.com/jira/browse/JBSEAM-2713
Project: JBoss Seam
Issue Type: Bug
Components: EJB3
Affects Versions: 2.1.0.A1
Environment: Any.
Reporter: Burt Prior
Fix For: 2.1.0.A1
Hi Seam Team,
Per Gavin's suggestion and response to my post on the Seam Users Forum (http://seamframework.org/Community/Seam2JEE5CompliantWithTheTCKRequirements), I am submitting the following bug.
Also, please note that I collaborated with the Apache Geronimo engineers on identifying the source of the issue and the best approach to finding a resolution as well.
The following bug occurs when running the 'booking' example on the Geronimo 2.1 AS: (please see the Users Forum entry above for the stack trace).
... 11:25:05,179 ERROR OpenEJB The bean instance business method encountered a system exception: Callback methods cannot access parameters java.lang.IllegalStateException: Callback methods cannot access parameters ...
The code in the 'booking' example that appears to cause the issue is: (on any Bean)
...
@Destroy @Remove public void destroy() {}
...
It appears that running the 'booking' (any?) Seam (2.1.0.A1) app on the Geronimo/OpenEJB (any?) JEE5 Certified container results in the stack trace and that allowing the InvocationContext to supply the parameters during a lifecycle call results in TCK failures.
The Geronimo Engineers mentioned that if OpenEJB did not throw this exception in these circumstances it would fail the TCK.
It appears that any bean using Seam's@Destroy annotation fails on *any* JEE5 certified platform, in our case Geronimo 2.1. We surmise, but have not verified, that this must occur on GlassFish as well. (Jboss 5 beta 4?)
As a test, we removed @Destroy, and still received the error.
Resolution of this error is very important to us. I have detailed stack traces of the Geronimo log should you need them, and I would be happy to help in any way to get this issue resolved quickly. Please don't hesitate to contact me with any questions.
Thank you for your time,
Burt Prior
IT Engineer
Cisco Systems, San Jose, CA
bprior(a)cisco.com
408.853.4199
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 8 months
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2799) Overridden components with @Install(value = false) ignores precedence.
by Shane Bryzak (JIRA)
Overridden components with @Install(value = false) ignores precedence.
----------------------------------------------------------------------
Key: JBSEAM-2799
URL: http://jira.jboss.com/jira/browse/JBSEAM-2799
Project: JBoss Seam
Issue Type: Bug
Components: Core
Reporter: Shane Bryzak
Assigned To: Shane Bryzak
Priority: Critical
Fix For: 2.1.0.BETA1
An easy way to reproduce this - take the JpaIdentityStore as an example:
@Name("org.jboss.seam.security.management.jpaIdentityStore")
@Install(precedence=Install.BUILT_IN, value = false)
@Scope(APPLICATION)
@BypassInterceptors
public class JpaIdentityStore implements IdentityStore, Serializable
Overriding it with a component with a higher precedence fails:
@Name("org.jboss.seam.security.management.jpaIdentityStore")
@Install(precedence = Install.APPLICATION)
@Scope(APPLICATION)
@BypassInterceptors
public class CustomJpaIdentityStore extends JpaIdentityStore
With the following stack trace:
java.lang.IllegalStateException: Two components with the same name and precedence: org.jboss.seam.security.management.jpaIdentityStore
at org.jboss.seam.init.Initialization.addComponentDescriptor(Initialization.java:484)
at org.jboss.seam.init.Initialization.installScannedComponentAndRoles(Initialization.java:755)
at org.jboss.seam.init.Initialization.scanForComponents(Initialization.java:702)
at org.jboss.seam.init.Initialization.init(Initialization.java:567)
at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3856)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 8 months
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-3080) Change xml-apis dependency to not include the jar
by Mark Spritzler (JIRA)
Change xml-apis dependency to not include the jar
-------------------------------------------------
Key: JBSEAM-3080
URL: http://jira.jboss.com/jira/browse/JBSEAM-3080
Project: Seam
Issue Type: Task
Reporter: Mark Spritzler
In this mvn dependency graph it has the xml-apis jars to be included in a war which is build in Maven and has jboss-seam-jbas5 as a dependency.
[INFO] +- org.jboss.seam:jboss-seam-jbas5:jar:2.0.1.GA:compile
[INFO] | \- org.jboss:jboss-vfs:jar:2.0.0.Beta7:compile
[INFO] | +- org.jboss:jboss-common-core:jar:2.2.3.GA:compile
[INFO] | | +- apache-xerces:xml-apis:jar:2.7.1:compile
[INFO] | | +- apache-httpclient:commons-httpclient:jar:2.0.2:compile
[INFO] | | \- apache-slide:webdavlib:jar:2.0:compile
[INFO] | \- jboss:jboss-common-logging-spi:jar:2.0.4.GA:compile
This causes the war to fail to deploy on AS5.
As a workaround the war pom can just add a dependency to the xml-apis but set its scope to "provided" to override the jboss-seam-jbas5 to. Well this might be down to jboss-common-core's pom that really needs fixing. it was just that Peter had said it was ok to open a Jira here. So blame him. ;)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 8 months
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2945) seam-gen test readme.txt has out of date jars listed
by Jay Balunas (JIRA)
seam-gen test readme.txt has out of date jars listed
----------------------------------------------------
Key: JBSEAM-2945
URL: http://jira.jboss.com/jira/browse/JBSEAM-2945
Project: Seam
Issue Type: Task
Components: Documentation Issues
Affects Versions: 2.0.2.CR2
Reporter: Jay Balunas
The readme.txt file that gets put in the seam-gen test source directory contains out of date jar files. Below is the complete readme.
Changes need (from what I can see):
- embedded-api.jar --> jboss-embedded-api.jar
- jboss-deployers.jar --> jboss-deployers-client-spi.jar, jboss-deployers-core-spi.jar
readme.txt
If you want to run tests using the Eclipse TestNG plugin, you'll need to add
these jars to the top of your TestNG classpath. Using the Run Dialog, select
xml suite to run, and add /lib/test/jboss-embedded-all.jar,
/lib/test/hibernate-all.jar, /lib/test/thirdparty-all.jar, /lib/embedded-api.jar,
/lib/jboss-deployers.jar and /bootstrap as the first entries in the User
classpath.
To add tests to your project create a TestNG xml descriptor called *Test.xml e.g.
FooTest.xml next to your test classes and run ant test.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 8 months