- This topic has 1 reply, 2 voices, and was last updated 20 years, 11 months ago by
Greg.
-
AuthorPosts
-
MartynMemberFirst and foremost – excellent work with MyEclipse I’ve been testing this tool for 2 days now, in which more was done in MyEclipse than spending 1 week of stuffing around with lomboz.
I’ve basically been tinkering around with J2EE stuff. I can get JSP’s and servlets to run in MyEclipse. But I don’t know why I cannot deply a very simple EJB (stateless session bean with no extra implemented code) to JBoss 3.2.5. I have followed the instructions from: http://www.myeclipseide.com/modules.php?op=modload&name=PostWrap&file=index&page=http://myeclipseide.com/enterpriseworkbench/help/index.jsp on how to create an EJB Project, an EJB and how to deploy it.
I have defined the Xdoclet configurations and added the jboss “destDir” variable as “src/META-INF” which then runs and creates a ejb-jar.xml file no problems. I deploy it to JBoss and then start a debug server. The error is as follows:
====
17:16:04,025 WARN [verifier] EJB spec violation:
Bean : TestSessionBean
Method : public void ejbCreate() throws CreateException
Section: 7.10.5
Warning: The methods in the remote interface must include java.rmi.RemoteException in their throws clause.====
There are about 10-15 of these warnings. I can post the full error message if need be.
My settings are:
JDK version: 1.4.2_04
Eclipse version: 3
MyEclipse version: 3.7.101
MyEclipse build id: 200405301200-3.8-Beta1
JBoss version: 3.2.5Any ideas?
Thanks in advance. A promsing product (even though I’ve just started with J2EE stuff). Keep it up!
Martyn
July 15, 2004 at 8:45 am #210088
GregMemberMartyn,
Make sure that the src package that contains the source ejb files ends in “.ejb”, because the “Standard EJB” xdoclet configuration uses a default package substitution of “ejb” -> “interfaces”. Take a look at this thread to see why this package substitution is important.
https://www.genuitec.com/forums/topic/ejb-session-bean-using-xdoclet-under-jboss-3-2-4-closed/
Hope this helps.
-
AuthorPosts