cancel
Showing results for 
Search instead for 
Did you mean: 

EAR File deployment in PI 7.1 EHP 1

Former Member
0 Kudos

Hi All,

I have created a server Java proxy and trying to deploy that on the SAP PI box. I am facing two difficulties, first is what is the proper way to convert an .ear file to .sda, at present I am using some scripts. Can't I deploy a .ear file directly through JSPM. I am presently trying to deploy the .ear file through Hot Fix but no success.

Second issue is if I am able to convert the .ear to .sda I get the below error in deployment:

-


Deployment Items -


1. Client path '/usr/sap/trans/EPS/in/TestJavaProxyEAR.sda'

Deploy status is 'Aborted'

Description:'1. [ERROR CODE DPL.DS.5402] JLinEE reported following erros for sap.com/TestJavaProxyEAR application.

ERRORS:

  • Bean Interfaces: The Session Bean com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundLocalHome4 does not implement any interfaces., file: TestJavaProxyHttp.jar#META-INF/ejb-jar.xml, column 0, line 0, severity: error * Bean Interfaces: The Session Bean com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundHome4 does not implement any interfaces., file: TestJavaProxyHttp.jar#META-INF/ejb-jar.xml, column 0, line 0, severity: error * Bean Interfaces: The Session Bean com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundRemote4 does not implement any interfaces., file: TestJavaProxyHttp.jar#META-INF/ejb-jar.xml, column 0, line 0, severity: error * Bean Interfaces: The Session Bean com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundLocal4 does not implement any interfaces., file: TestJavaProxyHttp.jar#META-INF/ejb-jar.xml, column 0, line 0, severity: error * Bean Interfaces: beanintf.11, file: TestJavaProxyHttp.jar#META-INF/ejb-jar.xml, column 0, line 0, severity: error

Hint: 1) Given application file is not valid one.'.

SDA : name 'TestJavaProxyEAR', vendor 'sap.com', location 'Deployment Manager', version '1', software type ('J2EE', sub type ''), csn component '', dependencies :[none]

Time statistics( ms 😞

1.validate : -1

1.1.deployment : 5478

1.1.1.Notify:Event triggered : 154

1.1.2.Disable LCM deployment : 5307

1.1.2.1.Perform delivery : 5306

1.1.2.1.1.Application Deployer : 5301

1.1.3.Notify:Event performed : 14

Dec 20, 2010 4:22:12 PM [Info ]:+++++ End D E P L O Y action +++++[ deployerId=2 ]. Total time:[#10: 37.001 sec]

Thx in advance

Ravijeet

Edited by: RAVIJEET.SAP.PI on Dec 21, 2010 12:27 AM

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

I was able to create the Java Proxy using latest NWDS 7.1 1 and exposing it as Webservice and using the receiver SOAP adapter invoke it

Former Member
0 Kudos

Hi,

Go ahead with this below blogs

may be it will helps your question..

Regards,

Ravi.

Former Member
0 Kudos

Hi,

Chk the steps mentioned for conversion of EAR to SDA file:

Also I am not sure whether we can use NWDS 7.0 to create java proxies for PI7.1??(Experts Please correct me if I m wrong).

(In my scenarios I am using NWDS7.1 SP08 to create java proxies and deploy it on PI7.1)

Thanks

Amit

Former Member
0 Kudos

Hi Amit,

What are the steps in NWDS 7.1 to create server java proxy and how to deploy it on PI server.

Thx in advance

Ravijeet

Former Member
0 Kudos

Hi,

Refer this (I have used the old fashioned java proxies generation method in PI7.1 for one of our scenario):

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d06315a6-e66e-2910-039c-ba8bbbd23...

http://wiki.sdn.sap.com/wiki/display/Java/JavaProxyChangesinPI7.1fromPI7.0

But it is always advisable to use new webservice proxies in PI7.1:

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/508bb504-87cf-2c10-2aaf-f3a5df75e...

Thanks

Amit

Former Member
0 Kudos

Hi All,

Any suggestions

I am using NWDS 7.0 to create my Server Java Proxy for PI 7.1 EHP 1. I need this Server Java Proxy to make a HTTP GET call to a webserver.

Do I need to use JAX-RPC or I can use the new JAX-WS proxies to make my HTTP GET call.

Here is my ejb-jar.xml

-


<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN"

"http://java.sun.com/dtd/ejb-jar_2_0.dtd">

<ejb-jar>

<description>EJB JAR description</description>

<display-name>EJB JAR</display-name>

<enterprise-beans>

<session>

<ejb-name>SIPOCRESTIS_PortTypeBean</ejb-name>

<home>com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundHome4</home>

<remote>com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundRemote4</remote>

<local-home>com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundLocalHome4</local-home>

<local>com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundLocal4</local>

<ejb-class>restComPOC.SIPOCRESTIS_PortTypeBean</ejb-class>

<session-type>Stateless</session-type>

<transaction-type>Container</transaction-type>

</session>

</enterprise-beans>

</ejb-jar>

And my ejb-j2ee-engine.xml is as below:

-


<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE ejb-j2ee-engine SYSTEM "ejb-j2ee-engine.dtd">

<ejb-j2ee-engine>

<enterprise-beans>

<enterprise-bean>

<ejb-name>SIPOCRESTIS_PortTypeBean</ejb-name>

<jndi-name>MakeHttpCall</jndi-name>

<session-props/>

</enterprise-bean>

</enterprise-beans>

</ejb-j2ee-engine>

Thx in advance

Ravijeet