Error in Java Server Proxy 7.1
Hi,
i am working on Java Server Proxy in PI 7.1, i am able to deploy EAR file successfully.
when i am execting the scenario i am getting the following error
JPR could not process the message. Reason: No remote bean found for reference of class $Proxy2917.
can any one help me to resolve this issue.
if there is any Blog or documentation on Java proxy PI 7.1, can you please share with me.
Thank You,
Madhav
Hi Madhav,
i think you are facing error because you not defined you bean class peopely,and check the configuration of J2EE-engine.xml file .
refer the link
http://help.sap.com/saphelp_nwpi71/helpdata/EN/ce/81a797cc9642c8bbef249bfd84dd45/content.htm
Regards,
Raj
Similar Messages
-
Error in Java Server Proxy in PI 7.1
Hi Gurus,
Can you please help me whether for Java server Proxies ,registration of interfaces are required or not in PI 7.1? I am using one synchronus interface(stateless).I have developped the proxy by connecting the ESR from NWDS and generating the Java skeleton from that interface.It is deployed and I tested the WSDL also after creating the service endpoint.It is running fine.
But while trying to use that proxy in an end-to-end scenario and triggering the msg from RWB->integration engine,even after registering it is giving the error "Cannot locate proxy bean localejbs/sap.com/JavaProxyServer/CalculatorImplBean"
Is it also requirred in PI 7.1 to register the interface?If not,the what should be the next step?
Thanks,
JaydeepHi,
I am working on java proxy PI7.1.
I have follwed the steps provided in the below link
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/508bb504-87cf-2c10-2aaf-f3a5df75e651?quicklink=index&overridelayout=true
I have Generates an outbound JAX-WS proxy based on the WSDL document.
And i didnt get the further steps.
Please advice me how to deploy the java proxie.
Thanks,
Sabitha -
Error code 403 in Java Server Proxy
Hi All,
I developed Java Server Proxy.
1. I get the Generated files from IR.
2. Implement those files in J2EE Application.
3. Configure all .xml configuration files.
4. Deploy the .ear file.
5. Register the Bean in JPR registry.
finally i put the file in source side then the file picked successfully.
I checked in Message Monitor i got success message but I Checked in SXMB_MONI then i got the following error .
ERROR:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Call Adapter
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK</SAP:Code>
<SAP:P1>403</SAP:P1>
<SAP:P2>Forbidden</SAP:P2>
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Error Report</title> <style> td {font-family : Arial, Tahoma, Helvetica, sans-serif; font-size : 14px;} A:link A:visited A:active </style> </head> <body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" rightmargin="0"> <table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75"> <tr bgcolor="#FFFFFF"> <td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="4" color="#666666"><b> 403   Forbidden</b></font></td> </tr> <tr bgcolor="#3F73A3"> <td height="23" width="84"><img width=1 height=1 border=0 alt=""></td> <td height="23"><img width=1 height=1 border=0 alt=""></td> <td align="right" height="23"><font face="Arial, Verdana, Helvetica" size="2" color="#FFFFFF"><b>SAP J2EE Engine/7.00 </b></font></td> </tr> <tr bgcolor="#9DCDFD"> <td height="4" colspan="3"><img width=1 height=1 border=0 alt=""></td> </tr> </table> <br><br><br><br><br><br> <table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75"> <tr bgcolor="#FFFFFF"> <td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><b> You are not authorized to view the requested resource.</b></font></td> </tr> <tr bgcolor="#FFFFFF"> <td align="left" valign="top" height="48"><font face="Arial, Verdana, Helvetica" size="2" color="#000000"><b> Details:</b></font></td> <td align="left" valign="top" height="48"><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><pre> No details available</pre></font></td> </tr> </body> </html></SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>HTTP response contains status code 403 with the description Forbidden Error while sending by HTTP (error code: 403, error text: Forbidden)</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Please give me the sloution.
Thanks,
Bharathiraja RHi
Look into this blog where you have solutions for all Errors.
/people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi
Error: HTTP 403 Forbidden
Description: The server understood the request, but is refusing to fulfill it
Possible Tips:
Path sap/xi/engine not active
HTTP 403 during cache refresh of the adapter framework - Refer SAP Note -751856
Because of Inactive Services in ICF Go to SICF transaction and activate the services. Refer SAP Note -517484
Error in RWB/Message Monitoring- because of J2EE roles Refer SAP Note -796726
Error in SOAP Adapter - "403 Forbidden" from the adapter's servlet. Because of the URL is incorrect or the adapter is not correctly deployed.
Reward points if usefull.......... -
Java Server Proxy---Deployment error?
I am trying the scenario from this blog
/people/rashmi.ramalingam2/blog/2005/06/25/an-illustration-of-java-server-proxy
I am getting deployment error
May 30, 2006 1:39:34 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
[003]Deployment aborted
Settings
SDM host : sapep
SDM port : 50018
URL to deploy : file:/C:/DOCUME1/ADMINI1/LOCALS~1/Temp/temp57679JPS_EAR.ear
Deployment exception : Server sapep did not accept login request as apiadmin on port 50018 - CmdXmlFactory could not find Top Element within String: "null".
Inner exception was :
Server sapep did not accept login request as apiadmin on port 50018 - CmdXmlFactory could not find Top Element within String: "null".
Help me
ThanksHi Saru,
It seems u dont have the correct sdm password or someone has changed the sdm password.It has not accepted the credentials u have given during deployment.
Check with all Sap enterprise portal settings in the prefernces/NWDS
The host name,alias,port
If not done with
Try to change the sdm password using this Password trouble in SDM
restart server again after changes
even try
- Stop nd restart the sdm from yor NWDS and deploy once again
Thanks,
Swathi
Do offer pts:-) -
Exception in Java Server proxy
Hi,
I created a synchronous Java Server Proxy , and when i tested it i got this error
*Could not parse XMBMessage due to No SOAP Envelope but 1 MT_ProxyInput*
What could i be doing wrong?
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Call Adapter
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>XIAdapter</SAP:Category>
<SAP:Code area="PLAINHTTP_ADAPTER">ATTRIBUTE_SERVER</SAP:Code>
<SAP:P1>500</SAP:P1>
<SAP:P2>Internal Server Error</SAP:P2>
<SAP:P3>com.sap.aii.af.ra.ms.api.DeliveryException: Could not create Message from TransportMessage. Reason: com.sap.aii.af.ra.ms.api.MessagingException: com.sap.aii.af.ra.ms.api.MessagingException: Could not parse XMBMessage due to No SOAP Envelope but 1 MT_ProxyInput</SAP:P3>
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>HTTP server code 500 reason Internal Server Error explanation com.sap.aii.af.ra.ms.api.DeliveryException: Could not create Message from TransportMessage. Reason: com.sap.aii.af.ra.ms.api.MessagingException: com.sap.aii.af.ra.ms.api.MessagingException: Could not parse XMBMessage due to No SOAP Envelope but 1 {http://</SAP:Stack>
<SAP:Retry>N</SAP:Retry>
</SAP:Error>I chose HTTP instead of Xi adapter type
-
Exception using fault message in java server proxy.
Hi All,
I am trying to use Fault message inside my server proxy code in Asynchronous java server proxy. I am referring the below mentioned link :
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d06315a6-e66e-2910-039c-ba8bbbd23702?quicklink=index&overridelayout=true
I successfully deployed my SDA file but while running the scenario(http-XI-ftp in PI7.11) i am getting the folowing exception under MDT:
com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing inbound message. Exception: Cannot locate proxy bean ServerProxyFTTest3.
I am using the following library refernces under application-j2ee-engine.xml file: com.sap.aii.af.sdk.lib, com.sap.aii.proxy.svc, com.sap.xi.util.misc,com.sap.guid,com.sap.exception all of type "weak".
I have checked almost all the forums related to fault messages in asynchronous java server proxy but couldn't find much help.
Request you all to help me.
Thanks
AmitHi Rajesh,
I am deploying my SDA file on Non Central Adapter Engine.
I have also registered my interface using:
http://ISVSAPPISB:51000/ProxyServer/register?ns=http://infosys.com/poc&interface=SI_Proxy_IA&bean=localejbs/ServerProxyFTTest3&method=sIProxyIA
But still i ma getting the same exception.
Hi Gabriel,
I implemented my scenario using the same. But in addittion to the librarry referneces mentioned over there i have added one more refrence in it "com.sap.exception" of type "weak". My structure is like this:
<?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.af.sdk.lib</reference-target>
</reference>
<reference reference-type="weak">
<reference-target provider-name="sap.com" target-type="service"> com.sap.aii.proxy.svc</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>
<reference reference-type="weak">
<reference-target provider-name="sap.com" target-type="library">com.sap.exception</reference-target>
</reference>
</application-j2ee-engine>
Please help.
Thanks
Amit -
What to in SLD (Business and Technical sys)for Java server Proxy?
I am using java server proxy for communicating with XI.
I have HTTP as sender comm channel and XI as Receiver comm channel and this is the error i got in SXMB_MONI.
What to give in SLD for java Server proxy, i have given Web as Java.....is this what the error says.Help is highly appreciated.
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Request Message Mapping
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>Application</SAP:Category>
<SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
<SAP:P1>com/sap/xi/tf/_Folder_MM_</SAP:P1>
<SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2>
<SAP:P3>Fatal Error: com.sap.engine.lib.xml.parser.Parser~</SAP:P3>
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Während des Anwendungs-Mappings com/sap/xi/tf/_Folder_MM_ wurde eine com.sap.aii.utilxi.misc.api.BaseRuntimeException geworfen: Fatal Error: com.sap.engine.lib.xml.parser.Parser~.</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
=====================
ThanksHi,
Refer this configuration guide:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ac6de690-0201-0010-54ac-8923089dcc97
Refer these too:
Java Proxy Inside Story Part I
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
Java Proxy Inside Story Part II
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
Regards
suraj
Message was edited by: S.R.Suraj
Message was edited by: S.R.Suraj -
Very urgent...Getting errors in web server proxy
Hi,
We have 5 Glassfish server to fullfil the Http requests and one sun web server proxy for load balancing.
But we are getting the following errors in web server proxy logs:
+1. service-http reports: HTTP7766: error reading response header (IO timeout error)+
+2. service-http reports: HTTP7766: error reading response header (Connection reset by peer)+
+3. set-origin-server reports: HTTP7751: server <ip-address>:<port> offline+
+4. set-origin-server reports: HTTP7751: server 10.76.177.88:8083 offline+
Please do let us know reason of the above errors and if we need to change any configuration settings.
We are working on a very critical project. Please reply ASAP.
Thanks and Regards,
Project TeamHey is that u r using connection pool.
Check for number of connection in the Oracle Server opened.
Check up number of connection persist both in oracle/java.
Is driver not crashed or jvm right.
Shyam -
Problem in registering the java server proxy interface...
Hi All,
I have created a java server proxy(in PI 7.1) using the below mentioned blog:
/people/prasad.ulagappan2/blog/2005/06/27/asynchronous-inbound-java-proxy
But the problem comes when i am trying to register the interface( on non central j2ee adapter engine) and ends up with getting unauthorization error even though i am having piappluser access. I am trying to register it using below mentioned URL:
http://ISVSAPPISB:51000/ProxyServer/register?ns=xxxxx&interface=SI_Proxy_IA&bean=localejbs/sap.com/EARServerProxy/SIProxyIA_PortTypeBean&method= sIProxyIA
xxxx-namespace
So ,please anyone can tell me what authorization should i have in order register my server proxy interface.
Thankshi,
>>>2) Plz tell me how to check whether my java server proxy interface got registered successfully or not.
use listAll option form this page:
http://help.sap.com/saphelp_nw04/helpdata/en/a4/d5b3b0b16843b3867c0245d9847ae5/content.htm
Regards,
Michal Krawczyk -
Error handling in server proxy - triggering email
Hi,
i have WS->XI->CRM scenario.
i am using server proxy at CRM side.
I want to hadle errors in ABAP server proxy.
i am using fault message and collecting and raising the error.
Everything is fine.
But to know the error i have to come SXMB_MONI of CRM.
But in real scenario how it works. some one will not come and see every time.
How to notify ( may be triggering email ) some one in the organization if some error occurs in SXMB_MONI.
Is there any automatic method?? if yes, how to do that.
Thanks in advance...Configure alerts
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9418d690-0201-0010-85bb-e9b2c1af895b
U may also use CCMS monitoring
/people/sap.india5/blog/2005/12/06/xi-ccms-alert-monitoring-overview-and-features
Regards,
Prateek -
Hi all,
I need to implement Java server proxy.
Could you please suggest the possible scenarios that can be implemented.
Thanks,
NehaHello Neha,
How to create proxy.
http://help.sap.com/saphelp_nw04/helpdata/en/14/555f3c482a7331e10000000a114084/frameset.htm
How to Activate Proxy.
/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
Java Proxy
/people/rashmi.ramalingam2/blog/2005/06/25/an-illustration-of-java-server-proxy
/people/prasad.ulagappan2/blog/2005/06/27/asynchronous-inbound-java-proxy
/people/siva.maranani/blog/2005/04/03/abap-server-proxies
http://sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
https://sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
Thanks,
Satya Kumar
Reward points if it is useful to you..
Edited by: SATYA KUMAR AKKARABOYANA on Apr 17, 2008 11:07 AM
Edited by: SATYA KUMAR AKKARABOYANA on Apr 17, 2008 11:09 AM -
hi......All
let me explain my scenario.Client java proxy connect to the JMS Server and receive the Messages and send through the XI and Java Server Proxy send that messages to the multiple Queues based on that message ROUTE ID.now the SXMB-Moni showing successful flag but how can we monitor the java server proxy
with warm regards,
madhuhi
ref this
Re: Java Proxy Monitoring
Java Server Proxy
XI Configuration for Java Server Proxy -
Java Server Proxy Generation in PI 7.1 / NW Developer Studio
I have gone through the document on how to create the java proxies. But the details are related to PI 7.0
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/7d4db211-0d01-0010-1e8e-9b07fc2113ab?quicklink=index&overridelayout=true
I understand that the mechanism to create Java server proxies in PI 7.1 is similar. But I read some online help document where it is mentioned that the Java proxies should be created from NW Developer Studio and it will be disabled in PI in future releases.
I can see the option of generating java proxies using the WSDL file or the RFC function in the Studio.
But how to generate the java server proxies for a given server definition in the service repository from developer studio? Is there any document that explains these details?
One more question, the generated proxy classes in PI 7.0 are based on EJB 2.0, Are the proxies generated in PI 7.1 as per EJB 3.0?
Sorry for asking too many questions. I would appreciate if you provide me the pointers / links that gives the details.
Thanks and Regards.I guess I know why this behaviour occured. What I did was mixing the two types of java proxies currently available by creating a web service client in NWDS for a XI 3.0 compatible service interface.
After opening a OSS ticket SAP told me that using service proxies created in NWDS using proxy runtime will be available from PI 7.11 SP1 onwards. In prior releases the old approach of creating proxies in ESR/IR is to be used.
Cheers,
Manfred -
Error while deploying inbound java server proxy on PI7.1....
Check this link:
https://wiki.sdn.sap.com/wiki/display/JSTSG/(JSTSG)(TG)Q1127
Regards,
RaviHi 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 -
Hi All,
My scenario is JavaClient Proxy -
XI----
>RFC.
Here i generated JavaProxies for my Message interface and i imported that zip file into NWDS for my EjbModule project.
and also i added Jar files in libraries by saying add External Jars.
Here r the Jars:
aii_proxy_xirt.jar
aii_msg_runtime.jar
aii_utilxi_misc.jar
guidgenerator.jar
even i am getting an error saying com.sap can not be resolved or not a type
Any inputs
Is there any other jars i need to add ??
How to resolve this error.
Thanks,
Kalyan.Hi Kalyan,
I think you have not set the classpath corectly.
For this :
1. Get the file aii_map_api.jar from XI server (if you have not done this already).
2. Create a new folder in the Java project you have created for mapping program. Name it as "lib"(any name would do..I just try to follow widely used naming conventions).
3.Copy the jar file aii_map_api.jar to this folder.(You can copy it in explorer and go to NWDS, select the lib folder and do a Ctrl + V).
4. Right click on the java project, select properties. Select Java build path. Go to Libraries tab. Click on the button "Add jars". In the dialog that pops up select your java project> lib> aii_map_api.jar.
5. Click apply / OK.
Rewards,
Vinod.
Maybe you are looking for
-
How can I get Thumbnails back in the file View Menu?
My computer died and I had to re-install CS6. I had originally installed it to an external hard drive expecting that I could just hook up a new computer when the time came and everything would work as before. Not to be. I contacted Adobe and got
-
Opening an URL via a button in a new browser window?
Hello, I'm integrating now Oracle Reports in my HTML DB application. Everything work well. I have create a launching page with paremeter items and a button that call a branching of type "Branch to Function Returning a URL". This branching construct t
-
Brother! I'm creating the purchase order by transaction ME21n. As I entered "Account Assignment Category" (A , K or any). system give me the following erroe message. "You have no authorization to create without reference to another document Message n
-
Passing Multi line values to Parallel Dynamic Block.
Hi All, In process structure as follows. Process: Sequential Block: ->Action1: DDPTSStatus(0..n) ReqSequence(0..n) ListofStakeHoldersforApproval(0..n) Action2: DDPTSStatus(0..n) ReqSequence(0..n) ListofStakeHoldersforApproval(0..n) PDB Block: ->Seque
-
Change header name in ABAP List in sq01
Hi, I build a query with statistic. At one of the fields I marked to show the average. So at the output I have another column with the header "Average value". How can I change this name? Thanks Itzhak.