-
1. Re: jboss 7.2 and ejb2+xdoclet
wdfink Sep 3, 2013 3:24 AM (in response to qtm)1 of 1 people found this helpfulThe handling of ejb cmp has changed a lot. I.e. the jboss.xml descriptor will be ignored in AS7.
Could you attach the ejb-jar and jboss DD, also the configuration (standlone or domain profile) you use?
-
2. Re: jboss 7.2 and ejb2+xdoclet
qtm Sep 3, 2013 4:02 AM (in response to wdfink)Hi,
I have all the beans declared in META-INF/jboss.xml files in the ejb-jars... . I can't attach the app (it's a prod app, not a test app), is there anything is particular I should look for?
the structure is
ear:
lib - dependent jars
ejbfirst.jar
ejbsecond.jar
-
3. Re: jboss 7.2 and ejb2+xdoclet
arun168403 Sep 3, 2013 4:44 AM (in response to qtm)1 of 1 people found this helpfulReplace the entity command as "org.jboss.as.cmp.jdbc.keygen.JDBCSybaseCreateCommand". The commands are moved to different package in the Jboss7.
-
4. Re: jboss 7.2 and ejb2+xdoclet
wdfink Sep 3, 2013 9:39 AM (in response to qtm)Do you find the solution with the current answers? If yes you should mark the thread accordingly.
From the Exception I suppose that you pack some old libraries in your application as you have a ClassCastException and not a ClassNotFound, that might be a force other problems.