on 04-13-2010 2:53 PM
Hi,
We are migrating the java proxies from PI 2.0 to PI 7.1 . I have followed this [blog|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/7940] [original link is broken] [original link is broken] [original link is broken]; and created the .EAR file. There is no SDM configured on the PI 7.1 server. So when I deploy I get the same error
Deployment exception : Cannot determine sdm host (is empty). Please configure your engine/sdm correctly !
Under J2EE Engine view, the server is grayed out. Also "debugproxy" node is grayed out. "icm" and "server0" are green.
How to go about deploying on PI 7.1.
When I try to use JSPM to deploy as a "new component" I get following errors.
ERRORS:
Bean Interfaces: beanintf.10, file: <name>.jar#META-INF/ejb-jar.xml, column 0, line 0, severity: error
Hint: 1) Given application file is not valid one.'.
SDA : name '<name>EAR', vendor 'sap.com', location 'localhost', version '2010.04.12.09.23.32', software type ('J2EE', sub type ''), csn component '', dependencies :[none]
Does anybody know what could be wrong...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please cross chk ur references under application-j2ee-engine.xml:
http://wiki.sdn.sap.com/wiki/display/Java/JavaProxyChangesinPI7.1fromPI7.0
You might be also getting some error code in ur exception like this:
http://ERROR CODE DPL.DC.3298 or something else
Plz chk this link for the error code:
https://wiki.sdn.sap.com/wiki/display/JSTSG/(JSTSG)(TG)Q1127
Thanks
Amit
Hi,
I tried to recreate the .SCA file, and I still get same error when I deploy:
----- Deployment Items -----
1. Client path '\\pidevelop\sapmnt\trans\EPS\in\<name>00_0.sca'
Deploy status is 'Aborted'
Description:'1. Item is skipped because of failed deployment of item 'sap.com_<name>EAR' and because the applied error strategy is OnErrorStop
2. Contains Aborted deployment component:
sap.com_<name>EAR'.
SCA : name '<name>', vendor 'company.com', location 'LOCAL', version '1000.0.0.0.0.20100416151123'
Contained DCs:
1.1 : Relative path '\\pidevelop\sapmnt\trans\EPS\in\<name>00_0.sca --> <name>EAR.ear'
Deploy status is 'Aborted'
Description:'1. [ERROR CODE DPL.DS.5402] JLinEE reported following erros for sap.com/<name>EAR application.
Description:'1. [ERROR CODE DPL.DS.5402] JLinEE reported following erros for sap.com/<nameEAR> application.
ERRORS:
* Bean Interfaces: beanintf.10, file: <name>.jar#META-INF/ejb-jar.xml, column 0, line 0, severity: error
Hint: 1) Given application file is not valid one.'.
SDA : name '<nameEAR>', vendor 'sap.com', location 'localhost', version '2010.04.16.15.06.32', software type ('J2EE', sub type ''), csn component '', dependencies :[none]
Apr 16, 2010 3:14:32 PM [Info ]:+++++ End D E P L O Y action +++++[ deployerId=2 ]. Total time:[#10: 8.265 sec]
Here is the code for ejb-jar.xml file
<?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>JPRTestInSync_PortTypeBean</ejb-name>
<ejb-class>com.sap.aii.proxy.xiruntime.test.JPRTestInSync_PortTypeBean</ejb-class>
<session-type>Stateful</session-type>
<transaction-type>Container</transaction-type>
</session>
</enterprise-beans>
</ejb-jar>
hi,
your ejb-jar.xml should look like:
<?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> MIDataTarget_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>com.wipro.javaProxy. MIDataTarget_PortTypeBean </ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
</enterprise-beans>
</ejb-jar>
check:
http://wiki.sdn.sap.com/wiki/display/XI/JavaProxyOutbound+Implementation
/people/prasad.ulagappan2/blog/2005/06/27/asynchronous-inbound-java-proxy
http://wiki.sdn.sap.com/wiki/display/XI/PIBlogsby+Topics
make sure that you are using PI 7.1 libraries:
https://wiki.sdn.sap.com/wiki/display/XI/XIlibrariesfor+development
for references in application-j2ee-engine.xml use:
http://wiki.sdn.sap.com/wiki/display/Java/JavaProxyChangesinPI7.1fromPI7.0
For deploying either you can directly deploy ear project using NWDS 7.1 or convert ear to sda using CECLT tool provided with NWDS 7.1:
Thanks,
Mayank
Hi,
Please correct ur ejb-jar.xml file. You have to add home, remote, local-home and local tags because the link to the java proxy ejb is made in the ejb-jar.xml file. Plz refer this:
/people/prasad.ulagappan2/blog/2005/06/27/asynchronous-inbound-java-proxy
Thanks
Amit
I am also facing the same problem, can you pls share your experience that how u resolved this error?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
/people/vijayakhanna.raman/blog/2007/06/08/cool-way-to-create-your-own-scas
Note 696084 - EP 6.0: How to create SDA files for EPA or PAR files
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.