- This topic has 5 replies, 3 voices, and was last updated 13 years, 10 months ago by support-joy.
-
AuthorPosts
-
ManMembererror: Class org.apache.log4j.Logger not found.
error: Class net.ao.common.message.MessageGrp contains an invalid argument type in method getFirstMessage.
error: Class PastResponse contains an invalid return type.
error: Class PastService contains an invalid return type.
error: Class net.ao.rad.rod.persistence.ejb.PastService contains an invalid argument type in method maintainWorkingCopy.
5 errors
An unexpected exception was thrown. Halting execution.
An unexpected exception was thrown. Halting execution.
Shutting down workbench.
Error generating RMI code: RMIC command failed on project: PastEJB with message:
error: Class org.apache.log4j.Logger not found.
error: Class net.ao.common.message.MessageGrp contains an invalid argument type in method getFirstMessage.
error: Class PastResponse contains an invalid return type.
error: Class PastService contains an invalid return type.
error: Class net.ao.rad.rod.persistence.ejb.PastService contains an invalid argument type in method maintainWorkingCopy.
5 errors
Further details have been recorded in the .log file in C:\was6.1\ao2.6\wstemp\wstemp\app_12d84d232b1\dpl\aa4be866\.metadata.
RMIC command was:Can someone help me to find this error with the EJB Deploy task?
jkennedyMemberHello,
A few follow on questions to help us better troubleshoot this issue.Was this project generated using the scaffolding options in MyEclipse for Spring or is this a project that you have constructed manually.
At what point do you receive this error? Are you deploying the Ear file to a Server in your environment?
Regarding the class not found exceptions, are those classes on the classpath of the EAR project?
Regarding the invalid return types, are you manually running RMIC on this project? What are the return types from the Methods that it is complaining about.
Thanks,
Jack
jkennedyMemberIf you could also send along the .log file that is being generated that would be great.
Thanks,
Jack
ManMember@jkennedy wrote:
Hello,
A few follow on questions to help us better troubleshoot this issue.Was this project generated using the scaffolding options in MyEclipse for Spring or is this a project that you have constructed manually.
This project is generated in RSA and then imported to myeclipse using the myeclipse enhance option for RAD
At what point do you receive this error? Are you deploying the Ear file to a Server in your environment?
Yes, i am deploying the ear file in my local server, wher myeclipse is installed.
Regarding the class not found exceptions, are those classes on the classpath of the EAR project?
Yes, all the necessary jar files are on the class path
Regarding the invalid return types, are you manually running RMIC on this project? What are the return types from the Methods that it is complaining about.
No, we are not running RMIC manually. when i deploy the EAR file on the server, since required stub and skeletons are not available, server is trigerring the EJB deploy command. if i turn off the deploy command, server is throwing startup classes are not found.
Thanks,
Jack
ManMember@manojkumar76 wrote:
@jkennedy wrote:
Hello,
A few follow on questions to help us better troubleshoot this issue.Was this project generated using the scaffolding options in MyEclipse for Spring or is this a project that you have constructed manually.
This project is generated in RSA and then imported to myeclipse using the myeclipse enhance option for RAD
At what point do you receive this error? Are you deploying the Ear file to a Server in your environment?
Yes, i am deploying the ear file in my local server, wher myeclipse is installed.
Regarding the class not found exceptions, are those classes on the classpath of the EAR project?
Yes, all the necessary jar files are on the class path
Regarding the invalid return types, are you manually running RMIC on this project? What are the return types from the Methods that it is complaining about.
No, we are not running RMIC manually. when i deploy the EAR file on the server, since required stub and skeletons are not available, server is trigerring the EJB deploy command. if i turn off the deploy command, server is throwing startup classes are not found.
Thanks,
JackAny update on this issue?
support-joyMemberManoj,
Please refer to my reply here – https://www.genuitec.com/forums/topic/ejb-deploy-task-error-contains-an-invalid-return-type/
-
AuthorPosts