cancel
Showing results for 
Search instead for 
Did you mean: 

SAP NetWeaver CE 7.1 EHP1 does not support version 1.5 JCA?

Former Member
0 Kudos

Hi,

I've been following the documentation of SAP NetWeaver CE 7.1 EHP1 regarding creation of a version 1.5 resource adapter. When I finally got to "Add/Remove projects" in the server view to test my adapter, I get this error:

The server does not support version 1.5 of the J2EE Connector module specification

Is this true? Then why does the documentation explain how to do it?

Regards,

Johan

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi Johan,

In order to publish the JCA module to SAP Application Server you have to create an Enterprise Application project (EAR) and pack the module there. After that you can publish the ear. The same is true for EJB and WEB modules

Best Regards, Rado

Former Member
0 Kudos

Hi Rado

Thanks for the help. I followed the suggestion and deployed my adapter without a hitch. The documentation around creating adapters made it sound as if adding the project to an application project was optional. A much less misleading error message will help too...Just a suggestion.

Regards,

Johan

Former Member
0 Kudos

>

> Hi Rado

> Thanks for the help. I followed the suggestion and deployed my adapter without a hitch. The documentation around creating adapters made it sound as if adding the project to an application project was optional. A much less misleading error message will help too...Just a suggestion.

> Regards,

> Johan

Hi Johan,

Can you please post a link to the page that confused you?

Is it this one?

http://help.sap.com/saphelp_nwce711/helpdata/en/97/fabc3d8af79633e10000000a11405a/frameset.htm

I would like to take the appropriate actions and update the confusing page.

Thank you for your feedback!

Best,

Yordan

0 Kudos

Hi Johan,

You are right. The error message is misleading and should be improved. That's something that we'll fix.

Best Regards, Rado

Former Member
0 Kudos

Hi Yordan

No it is this one: [http://help.sap.com/saphelp_nwce711/helpdata/en/44/edb79d7f7303fde10000000a1553f6/content.htm|http://help.sap.com/saphelp_nwce711/helpdata/en/44/edb79d7f7303fde10000000a1553f6/content.htm]

I'm used to the tuturials spelling out the creation of the application project whereas point 3 (c) of "Creating a Connector Project"

on that page does not make it clear that an application project is needed. Usually there is a separate heading for that, like

"Creating the application project". It seems silly, now, but at the time that is how I interpreted it.

Regards,

Johan

Former Member
0 Kudos

>

> Hi Yordan

> No it is this one: [http://help.sap.com/saphelp_nwce711/helpdata/en/44/edb79d7f7303fde10000000a1553f6/content.htm|http://help.sap.com/saphelp_nwce711/helpdata/en/44/edb79d7f7303fde10000000a1553f6/content.htm]

>

> I'm used to the tuturials spelling out the creation of the application project whereas point 3 (c) of "Creating a Connector Project"

> on that page does not make it clear that an application project is needed. Usually there is a separate heading for that, like

> "Creating the application project". It seems silly, now, but at the time that is how I interpreted it.

> Regards,

> Johan

Hi Johan,

I agree with you that this does not seem clear enough throughout the Resource Adapters documentation.

Generally speaking about the Developer Studio, there are two equivalent options to add your project (be it JCA, EJB, Web, JPA, etc.) to an EAR project:

  • While creating your project, you can specify that you want it to be added to an EAR project - either a new one or an existing one (you can create the new EAR project also in the meantime, while creating your JCA project). This is done using the "Add your project to an EAR" checkbox and the relevant dropdown list and button...

  • Create your project. Then create a new EAR project and specify which projects you want to be included in the EAR.

As I promised, we will improve that part of the documentation for the next release.

Thanks again, and best regards,

Yordan

Answers (1)

Answers (1)

Vlado
Advisor
Advisor
0 Kudos

SAP NetWeaver CE 7.1 is fully Java EE 5 compatible, so JCA 1.5 is definitely supported.

Can you explain a bit more where exactly you get this error? Is it some pop-up, or in some trace file, etc.?

-- Vladimir

Former Member
0 Kudos

Hi Vladimir

In the IDE, you can open a "Servers" view. When I do that, I see to entries - Mobile Runtime and SAP Server<CE1>. The SAP server is what was installed with the preview version of CE 7.1 that I downloaded. When I rightclick on the SAP Server, I see an "Add and Remove Projects..." menu item. Selecting that shows all the projects that are not published onto the server on the left, and all the projects that are published onto the server on the right. When I click my adapter project on the left to select it, the error message I described appear at the top of the window.

Regards,

Johan