cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with adapter module deployment - application hasn't j2ee modules

Former Member
0 Kudos

Hi guys!

I'm facing a problem when I'm trying to deploy my developed adapter module. I'm getting error:

This application hasn't J2EE modules, so it cannot be loaded.

I created the ear file like described in

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3bdc14e1-0901-0010-b5a9-a01e29d7...

Unfortunately, it' s not working.

I think, the problem may be, that I've created only standard java class (like descrbed) and no bean classes are present. But regarding to this document it should work.

Appreciate any help!

Thank you!

Peter

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Well, it is not enough just to create reference! You must also add the module to ear (right click -> add module), which has a logics, but is not mentioned in the document.

Peter

Former Member
0 Kudos

hi peter,

am facing the same issue and i followed all the steps from:

http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3bdc14e1-0901-0010-b5a9-a01e29d75...

but as mentioned by you, when i right click on EAR project and select Add Modules , the pop up selection window shows empty.

Please note that i have already given the EJB prj as reference to EAR prj

appreciate ur inputs

thanks in advance

Jitendra_Jeswan
Contributor
0 Kudos

check following:

1) you should assign the JNDI Name in the ejb-j2ee-engine.xml

2) create Java Archive

3) Then create Enterprise Application Archive (EAR)

4) Build and Deploy Application Archive

Follow this link for more help

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3bdc14e1-0901-0010-b5a9-a01e29d7...

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f3ee9d7-0901-0010-1096-f5b...

[original link is broken]

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f3ee9d7-0901-0010-1096-f5b...

/people/riyaz.sayyad/blog/2006/05/07/consuming-xi-web-services-using-web-dynpro-150-part-i

/people/riyaz.sayyad/blog/2006/05/08/consuming-xi-web-services-using-web-dynpro-150-part-ii

/people/amol.joshi2/blog/2006/11/28/alerts-from-adapter-modules--the-jra-way-part-ii

Regards.

Jeet.

Former Member
0 Kudos

Jeet, sorry, but this didn't help me.

Guys, did you ever created such adapter module like written in the document and were you successful?

Thanks, Peter

Jitendra_Jeswan
Contributor
0 Kudos

Yes I did created and never faced the problem as such..

Former Member
0 Kudos

Hello Peter,

Did you make a reference from your ear project to the ejb project, that is containing the actual Adapter Module implementation ? (Ear Project: Click Properties->Project References)

Not shure if this is the cause, but It sounds like the Ear has no contents.

With best regards

Sebastian

Former Member
0 Kudos

Hi Sebastian!

Yes, I've made the reference and the class is included in the ear file.

Any other suggestions?

Peter