[jboss-user] [EJB/JBoss] - EJB2 -> EBJ3 in JBoss 4.0.4 not working with EJB2 jar
mdhuyn
do-not-reply at jboss.com
Mon Aug 21 14:52:44 EDT 2006
Hi,
I have an EJB2 jar file that deploys fine using the 'default' configuration on JBoss 4.0.4.GA.
I deploy this same jar file in JBoss 4.0.4.GA using the 'all' configuration with EJB3 and JBossWS and I get exception below. I don't know what could be the illegal arguments mentioned. All the Local/Home/Remote/etc. interfaces are included and specified in the ejb-jar.xml file, so I don't understand this error?
Is there something very basic that I'm missing? I thought EJB2 could co-exist with EJB3.
We'll eventually upgrade to EJB3, but I need to verify our upgrade to JBossWS works beforehand.
Any help appreciated. Thanks.
17:52:57,561 WARN [verifier] EJB spec violation:
| Bean : XXXtBean
| Section: 12.2.2
| Warning: The class must implement, directly or indirectly, the javax.ejb.EntityBean interface.
|
| 17:52:57,561 WARN [verifier] EJB spec violation:
| Bean : XXXtBean
| Section: 22.2
| Warning: The bean provider must specify the fully-qualified name of the enterprise bean's local home interface, if any,
| in the <local-home> element.
| Info : Class not found on 'com.appserver.local.XXXHome': Unexpected error during load of: com.appserver.local.XXXHome, msg=Illegal field modifiers in class com/appserver/local/XXXHome: 0x2
|
| 17:52:57,571 WARN [verifier] EJB spec violation:
| Bean : XXXBean
| Section: 22.2
| Warning: The bean provider must specify the fully-qualified name of the enterprise bean's local interface, if any, in the <local> element.
| Info : Class not found on 'com.appserver.local.XXXLocal': Unexpected error during l
| oad of: com.appserver.local.XXXLocal, msg=Illegal field modifiers in class com/appserver/local/XXXLocal: 0x2
|
| 17:52:57,571 WARN [verifier] EJB spec violation:
| Bean : XXXBean
| Section: 12.2.1
| Warning: The Bean Provider must provide a remote interface and a remote home interface or a local interface and a local
| home interface for the bean.
|
| ...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966516#3966516
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966516
More information about the jboss-user
mailing list