on 02-08-2016 5:58 AM
Dear Experts,
Earlier we do have visual administrator to deploy the EAR files in SAP PI java.
From 7.11 how we can deploy these EAR files ? Searched a lot to find out the way but helpless.
Please provided your valuable inputs in deploying such EAR files ...
Thanks & Regards,
Y V P Deepak
Hi Deepak,
Check below sap note for how to deploy EAR files.
Regards,
Praveen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Deepak,
Did you try Host and instance number that you are giving to add SAP AS Java is correct?
Alternately, you can open 'Servers' view > Add Server > Deploy from there (don't have NWDS now - but with a valid SDM user, it can be done)
Regards,
Nikhil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nikhil,
Thanks for the information provided.
We enabled the firewall for the port 5xx13 for remote host accessing using NWDS. the error screen shot which i mentioned in my previous message solved.
Now i am facing the error as below shown .
java.lang.NoClassDefFoundError: Could not initialize class com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:455)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:303)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:142)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1174)
at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:162)
at com.sun.xml.bind.api.JAXBRIContext.newInstance(JAXBRIContext.java:168)
at com.sun.xml.bind.api.JAXBRIContext.newInstance(JAXBRIContext.java:112)
at com.sun.xml.bind.api.JAXBRIContext.newInstance(JAXBRIContext.java:178)
at com.sap.engine.services.webservices.espbase.client.jaxws.metadata.InterfaceMetadata.createJAXBContext(InterfaceMetadata.java:95)
at com.sap.engine.services.webservices.espbase.client.jaxws.metadata.InterfaceMetadata.getJAXBContext(InterfaceMetadata.java:86)
at com.sap.engine.services.webservices.espbase.client.jaxws.metadata.InterfaceMetadata.createClientConfigurationContext(InterfaceMetadata.java:178)
at com.sap.engine.services.webservices.espbase.client.jaxws.metadata.InterfaceMetadata.getProxy(InterfaceMetadata.java:70)
at com.sap.engine.services.webservices.espbase.client.jaxws.core.SAPServiceDelegate.getPort(SAPServiceDelegate.java:258)
at javax.xml.ws.Service.getPort(Unknown Source)
at com.sap.managementconsole.soap.jaxws.sapcontrol.SAPControl.getSAPControl(SAPControl.java:35)
at com.sap.managementconsole.wsclient.jaxws.JaxWsDataLoader.init(JaxWsDataLoader.java:1870)
at com.sap.enginemanagement.impl.SAPInstanceImpl.connect(SAPInstanceImpl.java:129)
at com.sap.enginemanagement.impl.SAPInstanceImpl.initInstance(SAPInstanceImpl.java:83)
at com.sap.enginemanagement.impl.SAPInstanceImpl.<init>(SAPInstanceImpl.java:58)
at com.sap.enginemanagement.SAPInstanceFactory.getInstance(SAPInstanceFactory.java:33)
at com.sap.enginemanagement.impl.SAPSystemManagerImpl.getSAPInstance(SAPSystemManagerImpl.java:106)
at com.sap.enginemanagement.impl.GenericSystemListenerImpl.systemChanged(GenericSystemListenerImpl.java:35)
at com.sap.sapmc.control.notification.SAPSystemsController$EventThread.run(SAPSystemsController.java:201)
Please suggest to overcome the issue
Thanks & Regards,
Y V P Deepak
Hello Deepak,
first of all, the discussion about the parameter service/protectedwebmethods might lead into the wrong direction. Please check the document for further information. To activate the changes of this parameter, you also have to stop the sapstart service (sapstartsrv) which evaluates this parameter. But I am not sure if it will help you in connecting your NWDS to the J2EE.
But coming back to your original problem:
J2EE deployments (like your EAR file) are targeting the P4 port. If you do not know the port number: It is usually the port number for your http access +4 ( 50004 in case the http port is 50000). You can check port number also by showing the open port list in the message server: http://<messageserverhostname>:<messageserver http port>/msgserver/text/logon?version=1.2
I know, for this you need to know the messageserver http port, but this can be found in RZ11 entering the parameter ms/http_port.
If this is not leading to success, it might be useful for this thread to see the port list of the messageserver (scrambled, of course).
Keep fingers crossed...
Sebastian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Deepak,
let me add one additional deployment option:
In http://scn.sap.com/thread/3502861 is mentioned in the answer from Manish Kumar a proper step-by-step approach for using telnet. The telnet port needs to be active (check my previous reply the mentioned port list to find out if it is active).
In case, your ear archive is rejected during deployment, it might be necessary to create an SAP ear file (with a SAP_MANIFEST.MF included). See SAP Note 1223957 for a possible workaround. I am not sure, if telnet deployment will lead to that problem, but transporting ear archives via CTS into the J2EE will definitely throw an error (see SAP Note 1833230).
Regards,
Sebastian
Hello Deepak,
and here is another fantastic documetation of deployment methods using SUM and Telnet:
The mentioned XPI Inspector is delivered as an ear file (with a SAP_MANIFEST.MF), this is why the note could also be helpful in your case.
Cheers,
Sebastian
Hi Sebastian,
Thanks for the information provided.
We enabled the firewall for the port 5xx13 for remote host accessing using NWDS. the error screen shot which i mentioned in my previous message solved.
Now i am facing the error as below shown .
java.lang.NoClassDefFoundError: Could not initialize class com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:455)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:303)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:142)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1174)
at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:162)
at com.sun.xml.bind.api.JAXBRIContext.newInstance(JAXBRIContext.java:168)
at com.sun.xml.bind.api.JAXBRIContext.newInstance(JAXBRIContext.java:112)
at com.sun.xml.bind.api.JAXBRIContext.newInstance(JAXBRIContext.java:178)
at com.sap.engine.services.webservices.espbase.client.jaxws.metadata.InterfaceMetadata.createJAXBContext(InterfaceMetadata.java:95)
at com.sap.engine.services.webservices.espbase.client.jaxws.metadata.InterfaceMetadata.getJAXBContext(InterfaceMetadata.java:86)
at com.sap.engine.services.webservices.espbase.client.jaxws.metadata.InterfaceMetadata.createClientConfigurationContext(InterfaceMetadata.java:178)
at com.sap.engine.services.webservices.espbase.client.jaxws.metadata.InterfaceMetadata.getProxy(InterfaceMetadata.java:70)
at com.sap.engine.services.webservices.espbase.client.jaxws.core.SAPServiceDelegate.getPort(SAPServiceDelegate.java:258)
at javax.xml.ws.Service.getPort(Unknown Source)
at com.sap.managementconsole.soap.jaxws.sapcontrol.SAPControl.getSAPControl(SAPControl.java:35)
at com.sap.managementconsole.wsclient.jaxws.JaxWsDataLoader.init(JaxWsDataLoader.java:1870)
at com.sap.enginemanagement.impl.SAPInstanceImpl.connect(SAPInstanceImpl.java:129)
at com.sap.enginemanagement.impl.SAPInstanceImpl.initInstance(SAPInstanceImpl.java:83)
at com.sap.enginemanagement.impl.SAPInstanceImpl.<init>(SAPInstanceImpl.java:58)
at com.sap.enginemanagement.SAPInstanceFactory.getInstance(SAPInstanceFactory.java:33)
at com.sap.enginemanagement.impl.SAPSystemManagerImpl.getSAPInstance(SAPSystemManagerImpl.java:106)
at com.sap.enginemanagement.impl.GenericSystemListenerImpl.systemChanged(GenericSystemListenerImpl.java:35)
at com.sap.sapmc.control.notification.SAPSystemsController$EventThread.run(SAPSystemsController.java:201)
Please suggest to overcome the issue
Thanks & Regards,
Y V P Deepak
Hello Deepak,
it seems like you are on the same path as this older thread: Can't add SAP Java AS on NWDS 7.3 | SCN.
From my perspective, Ervin Szolke added very good input. Please check the thread (I know, it is long).
Also, you did not yet mention a lot about your environment (NWDS version, PI SPS Level, etc.).
Perhaps, this would lead to more possibilities.
Did you try alternative deployment methods, as a temporary workaround?
Best Regards,
Sebastian
Hello Deepak,
besides the Management Console (for identifying the SAP system in your NWDS UI), you also need the http port and the P4 port (5xx00 and 5xx04). In a clustered environment, the http port and host from a web dispatcher or load balancer could be required. This, you need to check with your basis team.
But first give the two additional ports a try.
Regards,
Sebastian
Hi Sebastian,
Thanks for the information... will try with that once.
Having one doubt that when we are enabling the ports in firewall for the case NWDS. what would be the source IP and port .
Destination IP & Port will be SAP PI's but what about the source IP that need to enable.
Here NWDS is a tool to access the SAP PI server right
Provide your inputs...
Thanks & Regards,
Y V P Deepak
Hi,
Please find the below URL it will help you
Regards,
Anji Reddy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
Thanks for your prompt reply...
I am using NWDS for to access the AS Java to deploy the files. when i am trying to add the instance i am getting the below error.
Host name and instance number are correct which we are giving. But unable to connect to AS JAVA.
For to connect add the profile parameter services/protectedwebmethods with value as SDEFAULT. But no use.
Is there any other way to deploy the files from NWA itself. earlier we use to have it with visual administrator, now it got replaced with NWA. But dont the path from where need to deploy from NWA
Please suggest
Thanks & Regards,
Y V P Deepak
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raghuraman,
I tried to add the system, but same issue.
For to overcome the "sapstartsv" added the parameter under the profile.
I tested by removing the proxy and with proxy still no use.
Not getting what happens and how i can access the system
Please let me know if i am wrong, i used T code RZ10 to add the parameter SDEFAULT for DEFAULT.PFL
Thanks & Regards,
Y V P Deepak
Hello Deepak,
I think you mein parameter service/protectedwebmethods and not serviceS/protectedwebmethods, right?
Check the name from the parameter.
It´s right to set this parameter with transaction RZ10. After restarting the system you can check the parameter with transaction RZ11 (current value). Or you can check the current value with the report RSPARAM.
But I don´t know , if this parameter will solve your problem. But your second question was, how to set and check the parameter.
regards,
Benedikt
Hi Benedikt,
Its typo mistake. i added the profile parameter as service/protectedwebmethods.
But when i checked the RZ11 there is no parameter which i added. Its showing parameter not known.
Even while saving of this parameter i got the same message.
I restarted the AS Java and ABAP after adding this parameter.
Please suggest why message showing as not known.
Thanks & Regards,
Y V P Deepak
Hi Deepak,
Please check SAP notes:1223957 and then deploy it using JSPM in new software component.
Regards,
Tiyasa
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.