-
1. Re: Jboss AS6 M1 migration to M4 startup EJB exception
jaikiran Aug 3, 2010 7:05 AM (in response to poly)Caused by: java.lang.IllegalStateException: EJB class is null. EJB org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData@25c39470{EjbSynchronizations} at org.jboss.weld.integration.ejb.JBossEJBDescriptorAdaptor.<init>(JBossEJBDescriptorAdaptor.java:35) [:6.0.0.20100721-M4] at org.jboss.weld.integration.ejb.JBossSessionBeanDescriptorAdaptor.<init>(JBossSessionBeanDescriptorAdaptor.java:36) [:6.0.0.20100721-M4] at org.jboss.weld.integration.ejb.JBossSessionBeanDescriptorAdaptor.<init>(JBossSessionBeanDescriptorAdaptor.java:31) [:6.0.0.20100721-M4] at org.jboss.weld.integration.ejb.JBossEjbServices.discoverEjbs(JBossEjbServices.java:177) [:6.0.0.20100721-M4] at org.jboss.weld.integration.ejb.JBossEjbServices.discoverEjbs(JBossEjbServices.java:202) [:6.0.0.20100721-M4] at org.jboss.weld.integration.ejb.JBossEjbServices.setDeploymentUnit(JBossEjbServices.java:61) [:6.0.0.20100721-M4]
Looks like something related to weld deployment processing. I guess asking this in their user mailing list might help get an answer.
-
2. Re: Jboss AS6 M1 migration to M4 startup EJB exception
poly Aug 3, 2010 7:38 AM (in response to jaikiran)Hi, thanks for your answer.
This error is now fixed. I had to remove the beans.xml in the prettyfaces.jar
But now i get a LOT of other "WARN" log entries.
Its something like "bean found with multiple type class" or similiar.
I get about 1000 of these withing a second. I did not found any "ERROR" type log entries,
but in the end it tells me that my webapp can't be started because of previous errors.
I will post the Log as soon as i am home. But maybe this rings some bells?
Do i have to add or modify something on my EJB beans or WAR beans ?
Best regards,
Stefan
-
3. Re: Jboss AS6 M1 migration to M4 startup EJB exception
jaikiran Aug 3, 2010 7:42 AM (in response to poly)I have seen some similar forum threads with WARN/ERROR messages coming up during EJB deployments, which were mainly due to a misconfigured deployment (like the EJB names not matching in jboss.xml/annotations). But without looking at the logs, it's difficult to say whether it's the same issue.
-
4. Re: Jboss AS6 M1 migration to M4 startup EJB exception
poly Aug 3, 2010 1:17 PM (in response to jaikiran)Hi,
here is the "warn" log entry that comes about 1000 times:
WARN [AbstractContextRegistry] Multiple beans match class type [enable trace log for details]: class org.jboss.ejb3.EJBContainer
I didn't find anything on google for that particular error. I hope someone knows what to do there.
Some other "WARN" log entries, which i assume are not "fatal" ones: http://www.pastebin.org/445956