cancel
Showing results for 
Search instead for 
Did you mean: 

error while deploying inbound java server proxy on PI7.1....

Former Member
0 Kudos

Hi all,

I have developed one java server proxy (http-xi) scenario in PI 7.1 referiing below link:

http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417500)ID1028098450DB11278002988401978420End...

I have created one EAR file(using NWDS 7.1),successfully registered my java server proxy program on Proxy server bt when i am trying to deploy it on non central adapter engine it is throwing some error :

<!LOGHEADER[START]/>

<!HELP[Manual modification of the header may cause parsing problem!]/>

<!LOGGINGVERSION[1.5.7.1006]/>

<!NAME[K:usrsapPAEJ10j2eeJSPMloglog_2009_10_15_12_14_18deploy_2009-10-15_12-19-01.log]/>

<!PATTERN[deploy_2009-10-15_12-19-01.log]/>

<!FORMATTER[com.sap.tc.logging.TraceFormatter(%25d[%6s]:%m)]/>

<!ENCODING[UTF8]/>

<!LOGHEADER[END]/>

Oct 15, 2009 12:19:01 PM [Info ]:DC API is trying to connect to 'ISVSAPPISB:51004'

Oct 15, 2009 12:19:02 PM [Info ]:DC API has Connected to 'ISVSAPPISB:51004'

Oct 15, 2009 12:19:02 PM [Path ]:+++++ Starting V A L I D A T E action +++++[ deployerId=2 ]. timerId=7

Oct 15, 2009 12:19:02 PM [Path ]:Selected archives for validation. [ deployerId=2 ]

Oct 15, 2009 12:19:02 PM [Path ]:
ISVSAPPISBsapmnt ransEPSinSDAJavaServer5.sda

Oct 15, 2009 12:19:02 PM [Debug ]:Got full sdu path '
ISVSAPPISBsapmnt ransEPSinSDAJavaServer5.sda'

Oct 15, 2009 12:19:02 PM [Path ]:component version handling rule is UpdateLowerVersionsOnly.[ deployerId=2 ]

Oct 15, 2009 12:19:02 PM [Path ]:deployment workflow strategy is normal deploy strategy.[ deployerId=2 ]

Oct 15, 2009 12:19:02 PM [Path ]:life cycle deploy strategy is disable LCM deploy strategy.[ deployerId=2 ]

Oct 15, 2009 12:19:02 PM [Path ]:Error strategies[ deployerId=2 ]:

Oct 15, 2009 12:19:02 PM [Path ]:error action 'DeploymentAction' is 'OnErrorStop'

Oct 15, 2009 12:19:02 PM [Path ]:error action 'PrerequisitesCheckAction' is 'OnErrorSkipDepending'

Oct 15, 2009 12:19:02 PM [Debug ]:deployer initialized successfully:[id:#8, elapsed: 313 ms.].[ deployerId=2 ]

Oct 15, 2009 12:19:02 PM [Debug ]:Total time:[#8: 0.313 sec].[ deployerId=2 ]

Oct 15, 2009 12:19:02 PM [Info ]:Start validating.[ deployerId=2 ]

Oct 15, 2009 12:19:03 PM [Path ]:Validating completed. Preparing the validation result.

Oct 15, 2009 12:19:03 PM [Path ]:

-


Sorted Items -


1. Client path '
ISVSAPPISBsapmnt ransEPSinSDAJavaServer5.sda'

Sdu info :name 'JAVASERVERPROXY', vendor 'pi.is.poc', location 'JAVASERVERPROXY', version '2', software type ('J2EE', sub type ''), dependencies :[none]

Deploy status is 'Admitted'

-


Deployment Items -


1. Client path '
ISVSAPPISBsapmnt ransEPSinSDAJavaServer5.sda'

Sdu info :name 'JAVASERVERPROXY', vendor 'pi.is.poc', location 'JAVASERVERPROXY', version '2', software type ('J2EE', sub type ''), dependencies :[none]

Deploy status is 'Admitted'

Oct 15, 2009 12:19:03 PM [Info ]:+++ Validation finished with status 'Success' +++[ deployerId=2 ]

Oct 15, 2009 12:19:03 PM [Path ]:+++++ End V A L I D A T E action +++++[ deployerId=2 ]. Total time:[#7: 0.813 sec]

Oct 15, 2009 12:19:03 PM [Path ]:+++++ Starting D E P L O Y action +++++ [ deployerId=2 ] [ timerId=9]

Oct 15, 2009 12:19:03 PM [Path ]:Selected archives for deployment. [ deployerId=2 ]

Oct 15, 2009 12:19:03 PM [Path ]:
ISVSAPPISBsapmnt ransEPSinSDAJavaServer5.sda

Oct 15, 2009 12:19:03 PM [Debug ]:Got full sdu path '
ISVSAPPISBsapmnt ransEPSinSDAJavaServer5.sda'

Oct 15, 2009 12:19:03 PM [Path ]:component version handling rule is UpdateLowerVersionsOnly.[ deployerId=2 ]

Oct 15, 2009 12:19:03 PM [Path ]:deployment workflow strategy is normal deploy strategy.[ deployerId=2 ]

Oct 15, 2009 12:19:03 PM [Path ]:life cycle deploy strategy is disable LCM deploy strategy.[ deployerId=2 ]

Oct 15, 2009 12:19:03 PM [Path ]:Error strategies[ deployerId=2 ]:

Oct 15, 2009 12:19:03 PM [Path ]:error action 'DeploymentAction' is 'OnErrorStop'

Oct 15, 2009 12:19:03 PM [Path ]:error action 'PrerequisitesCheckAction' is 'OnErrorStop'

Oct 15, 2009 12:19:03 PM [Debug ]:deployer initialized successfully:[id:#11, elapsed: 188 ms.].[ deployerId=2 ]

Oct 15, 2009 12:19:03 PM [Debug ]:Total time:[#11: 0.188 sec].[ deployerId=2 ]

Oct 15, 2009 12:19:03 PM [Path ]:Starting deployment.[ deployerId=2 ]

Oct 15, 2009 12:19:40 PM [Debug ]:deployment triggered : DeployItem[file=
ISVSAPPISBsapmnt ransEPSinSDAJavaServer5.sda

,deployItemStatus=Admitted

,versionStatus=NEW

,description=

sdu=name 'JAVASERVERPROXY', vendor 'pi.is.poc', location 'JAVASERVERPROXY', version '2', softwareType ''J2EE', sub type '''

clusterDescriptor=null

]

Oct 15, 2009 12:19:46 PM [Debug ]:deployment performed : DeployItem[file=
ISVSAPPISBsapmnt ransEPSinSDAJavaServer5.sda

,deployItemStatus=Aborted

,versionStatus=NEW

,description=

1. com.sap.engine.lib.converter.ConversionException: ConversionException contains 1 nested exception(s):

META-INF/application-j2ee-engine.xml: org.xml.sax.SAXParseException: cvc-type.2: The type definition cannot be abstract for element fail-over-enable.

sdu=name 'JAVASERVERPROXY', vendor 'pi.is.poc', location 'JAVASERVERPROXY', version '2', softwareType ''J2EE', sub type '''

clusterDescriptor=null

]

Oct 15, 2009 12:20:22 PM [Error ]:Deployment Exception during deployment phase 'DeploymentException',cause=An error occurred while deploying the deployment item 'pi.is.poc_JAVASERVERPROXY'.; nested exception is:

com.sap.engine.services.dc.gd.DeliveryException: [ERROR CODE DPL.DC.3298] An error occurred during deployment of pi.is.poc_JAVASERVERPROXY. Cannot deploy it.

Oct 15, 2009 12:20:22 PM [Error ]:Deployment Items status: '

-


Sorted Items -


1. Client path '
ISVSAPPISBsapmnt ransEPSinSDAJavaServer5.sda'

Sdu info :name 'JAVASERVERPROXY', vendor 'pi.is.poc', location 'JAVASERVERPROXY', version '2', software type ('J2EE', sub type ''), dependencies :[none]

Deploy status is 'Aborted'

Description:'1. com.sap.engine.lib.converter.ConversionException: ConversionException contains 1 nested exception(s):

META-INF/application-j2ee-engine.xml: org.xml.sax.SAXParseException: cvc-type.2: The type definition cannot be abstract for element fail-over-enable.'.

-


Deployment Items -


1. Client path '
ISVSAPPISBsapmnt ransEPSinSDAJavaServer5.sda'

Sdu info :name 'JAVASERVERPROXY', vendor 'pi.is.poc', location 'JAVASERVERPROXY', version '2', software type ('J2EE', sub type ''), dependencies :[none]

Deploy status is 'Aborted'

Time statistics( ms 😞

1.validate : -1

1.1.deployment : 6190

1.1.1.Notify:Event triggered : 454

1.1.2.Disable LCM deployment : 5690

1.1.2.1.Perform delivery : 5690

1.1.2.1.1.Application Deployer : 969

1.1.3.Notify:Event performed : 31

Description:'1. com.sap.engine.lib.converter.ConversionException: ConversionException contains 1 nested exception(s):

META-INF/application-j2ee-engine.xml: org.xml.sax.SAXParseException: cvc-type.2: The type definition cannot be abstract for element fail-over-enable.'.

Oct 15, 2009 12:20:22 PM [Path ]:+++++ End D E P L O Y action +++++[ deployerId=2 ]. Total time:[#9: 79.05 sec]

The structure of my is like:

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

<reference reference-type="weak">

<reference-target

provider-name="sap.com"

target-type="library">com.sap.aii.proxy.xiruntime</reference-target>

</reference>

<reference reference-type="weak">

<reference-target

provider-name="sap.com"

target-type="library">com.sap.aii.messaging.runtime</reference-target>

</reference>

<reference reference-type="weak">

<reference-target

provider-name="sap.com"

target-type="library">com.sap.xi.util.misc

</reference-target>

</reference>

<reference reference-type="weak">

<reference-target

provider-name="sap.com"

target-type="library">com.sap.guid

</reference-target>

</reference>

<provider-name>sap.com</provider-name>

<fail-over-enable

mode="disable"/>

Reuest you all to help me if possible! Thanks!.

Thanks

Amit

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member181962
Active Contributor
0 Kudos
Former Member
0 Kudos

Hi Ravi,

Thanks for ur reply.

I already referrred this wiki but cant able to figure out some help for me. The exception is like:

[Error ]:Deployment Exception during deployment phase 'DeploymentException',cause=An error occurred while deploying the deployment item 'pi.is.poc_JAVASERVERPROXY'.; nested exception is:

com.sap.engine.services.dc.gd.DeliveryException: [ERROR CODE DPL.DC.3298] An error occurred during deployment of pi.is.poc_JAVASERVERPROXY. Cannot deploy it.

[Error ]:Deployment Items status: '----- Sorted Items -


1. Client path '
ISVSAPPISB\sapmnt\trans\EPS\in\SDAJavaServer5.sda'

Sdu info :name 'JAVASERVERPROXY', vendor 'pi.is.poc', location 'JAVASERVERPROXY', version '2', software type ('J2EE', sub type ''), dependencies :[none]

Deploy status is 'Aborted'

Description:'1. com.sap.engine.lib.converter.ConversionException: ConversionException contains 1 nested exception(s):

META-INF/application-j2ee-engine.xml: org.xml.sax.SAXParseException: cvc-type.2: The type definition cannot be abstract for element fail-over-enable.'.

So,What i can understand through this log that there is something wrong with the xml file name application-j2ee-engine.xml.

Please help.

Thanks

Amit

Former Member
0 Kudos

Hi Ravi,

The structure of my application-j2ee-engine.xml is like:

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

<application-j2ee-engine xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="application-j2ee-engine.xsd">

<reference reference-type="weak">

<reference-target

provider-name="sap.com"

target-type="library">com.sap.aii.proxy.xiruntime</reference-target>

</reference>

<reference reference-type="weak">

<reference-target

provider-name="sap.com"

target-type="library">com.sap.aii.messaging.runtime</reference-target>

</reference>

<reference reference-type="weak">

<reference-target

provider-name="sap.com"

target-type="library">com.sap.xi.util.misc

</reference-target>

</reference>

<reference reference-type="weak">

<reference-target

provider-name="sap.com"

target-type="library">com.sap.guid

</reference-target>

</reference>

<provider-name>sap.com</provider-name>

<fail-over-enable

mode="disable"/>

</application-j2ee-engine>

Thanks

Amit Srivastava

former_member181962
Active Contributor
0 Kudos

Hi Amit,

I think the problem is with this element.

<fail-over-enable

mode="disable"/>

What is it used for?

It says something about the type of the element fai-over-enable cannot be abstract.

May be, you should define what type of field is it.

Regards,

Ravi

Former Member
0 Kudos

Hi Ravi,

I have referred the structure of this XML file from the below mentioned link:

/people/thorsten.nordholmsbirk/blog/2006/08/06/use-a-java-proxy-instead-of-a-jca-adapter

Not sure what type needs to be define for this field.

Thanks

Amit Srivastava

former_member181962
Active Contributor
0 Kudos

Hi Amit,

This [link|http://help.sap.com/saphelp_nwce10/helpdata/en/45/053c1041f30486e10000000a155369/content.htm]

says that fail-over-element is an optional element.

Can you try by removing that element?

Regards,

Ravi

Former Member
0 Kudos

Hi Ravi,

As recommended i tried to re deploy my sda file after removing fail over elemet but now i am getting some other exception for different xml file named as ejb-jar.xml file . The exception is like this:

[ERROR CODE DPL.DS.5402] JLinEE reported following erros for pi.is.poc/JAVASERVERPROXY application.

ERRORS:

  • Bean Interfaces: The local home interface "com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundLocalHome4" cannot be found in the search path., file: JavaServerProxy.jar#META-INF/ejb-jar.xml, column 0, line 0, severity: error * Bean Interfaces: The home interface "com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundHome4" cannot be found in the search path., file: JavaServerProxy.jar#META-INF/ejb-jar.xml, column 0, line 0, severity: error * Bean Interfaces: The remote interface "com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundRemote4" cannot be found in the search path., file: JavaServerProxy.jar#META-INF/ejb-jar.xml, column 0, line 0, severity: error * Bean Interfaces: The local interface "com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundLocal4" cannot be found in the search path., file: JavaServerProxy.jar#META-INF/ejb-jar.xml, column 0, line 0, severity: error * Bean Interfaces: stateless bean "SIProxyIA_PortTypeBean" should have at least one of the following interface pairs: "local" and "local-home", "home" and "remote" or service endpoint interface, file: JavaServerProxy.jar#META-INF/ejb-jar.xml, column 0, line 0, severity: error

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

sdu=name 'JAVASERVERPROXY', vendor 'pi.is.poc', location 'JAVASERVERPROXY', version '2', softwareType ''J2EE', sub type '''clusterDescriptor=null]

Oct 16, 2009 9:38:37 AM [Error ]:Deployment Exception during deployment phase 'DeploymentException',cause=An error occurred while deploying the deployment item 'pi.is.poc_JAVASERVERPROXY'.; nested exception is:com.sap.engine.services.dc.gd.DeliveryException: [ERROR CODE DPL.DC.3298] An error occurred during deployment of pi.is.poc_JAVASERVERPROXY. Cannot deploy it.

Thanks

Amit Srivastava