[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-4002) InstantiationException at Stateful bean (Could not instantiate Seam component)

Tamas Malatinszki (JIRA) jira-events at lists.jboss.org
Thu Apr 2 04:16:23 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBSEAM-4002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12460189#action_12460189 ] 

Tamas Malatinszki commented on JBSEAM-4002:
-------------------------------------------

I found the root cause of this issue: as You can see my test project doesn't include the required seam jars, because I keeping them in the "lib" directory of my JBoss server. This solution worked fine until Seam 2.1.1 CR1, with CR2 and GA it's working only if I put these seam jars back into my project.
Is there any way to work with these versions of Seam by keeping these jars in my JBoss's "lib " directory?

> InstantiationException at Stateful bean (Could not instantiate Seam component)
> ------------------------------------------------------------------------------
>
>                 Key: JBSEAM-4002
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-4002
>             Project: Seam
>          Issue Type: Bug
>          Components: EJB3
>    Affects Versions: 2.1.1.CR2, 2.1.1.GA
>         Environment: JBoss AS 4.2.2 / 4.2.3 / 5.0.0, WinXP / Debian Linux, JD1.6 update 7/11/12
>            Reporter: Tamas Malatinszki
>         Attachments: test.zip, test_source.zip
>
>
> Stateful beans are failing with "Could not instantiate Seam component" error in Seam 2.1.1 CR2 and above. The root cause is  "java.lang.ClassNotFoundException: No ClassLoaders found for: <stateful bean>". The application is working fine with Seam 2.1.1 CR1 (and before).
> See the whole stacktrace and the related code at  http://www.seamframework.org/Community/StatefulBeanErrorInSeam211GAAndCR2

-- 
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

        



More information about the seam-issues mailing list