cancel
Showing results for 
Search instead for 
Did you mean: 

PI 7.31 ESR & ID client components not opening with Java 7 webstart

Former Member
0 Kudos

Hi All,

I got this error while trying to open the ESR & ID components of PI 7.31 in my client machine with windows 8 and Java 7 update 67.

Error: java.lang.SecurityException: Missing required Permissions manifest attribute in main jar:http://<host>:<port>/.....

I tried to resolve the above error by going with the workaround i,e. specifying the url in the exception site list in the Java Control Panel.

http://<host >:<port>/rep/repository/com.sap.xpi.ibrep.client.jar

http://<host>:<port>/dir/directory/com.sap.xpi.ibdir.client.jar

Still I am not able to lunch the ESR and ID and the new set of errors are as in the attachments.

Just to add to it I am logging to the PI server from a different domain and via a VPN though I can easily access the ABAP stack.

Please give your inputs.

Thanks,

Rajendra

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Rajendra,

By looking at the error 1 screenshot, you have attached, it seems like host - snuspd07.sv.net and port - 8102 with P4 ports such 50004 (may be all ports with 5***4) are not allowed access for your VPN ID.

Kindly ask your networking/IT team to open all these P4 ports (such as 5***4 and also ports like 80** and 81**) for your VPN ID so as to get complete access to all SAP PI applications through VPN.

Please let us know for any further concerns.

Regards,

Amit Patil

Answers (9)

Answers (9)

Former Member
0 Kudos

Hi Rajendra,

I would like to add another potential issue by looking at the second screenshot , it seems that both message server and application server are present in this landscape. So you need to make entries for both PI server and message server in your host file. These would be different entries if host name of message server and PI server are different .Try if this helps to solve the issue .

Thanks,

Jaydeep

Former Member
0 Kudos

Hi Rajendra

'

Did you get the solution for that problem?

I'm getting the same error.

In a machine with Windows 8.1 using VPN I'm try to Open Repository and Directory..

The Directory Open Ok but the Repository Doesnt.

With the following error:

cached.] PerfTimes : loadNativeLayer: loading jperflib failed. no jperflib in java.library.path

<<< frog.jar: version 7.20.19 03/09/11 sap.theme: null >>>



Best Regards

Cesar

naveen_chichili
Active Contributor
0 Kudos

Hi Cesar,

Try with Java 6 i also had the same problem with 7.4 system then i have downgraded the java version then i was able to open.

Thanks and Regards,

Naveen

Former Member
0 Kudos

Hi Naveen

I already try Java 6 and 7.

The problem isnt about Java.

It was fixing when I try inside the wan in the client.

Cuz the first time it take a lot of time to download ESR. Using VPN it didnt working.

Thanks and Regards

Cesar

dipen_pandya
Contributor
0 Kudos

Hi,

In case of connecting to PI server with VPN connection you should maintain your host entry in hosts file like;

IP Address     hostname     full address (separated by tab key not by space).

(XX.XX.XX.XX)     (abcdefg)     (abcdefg.abcde.com)

Also make sure you have installed jdk6 & jre6 32bit version.

Regards,

Dipen.

Former Member
0 Kudos

Dear Rajendra,

Please check exchange profile parameters for ESR and ID , I think port , service username is not configured or not having proper authorization,

Warm Regards,

Former Member
0 Kudos

Yes Rudra,

The appropriate values for the parameters are maintained in the exchange profiles of the ESR & ID.

com.sap.aii.connect.repository.httpport

com.sap.aii.connect.repository.mshttpport

com.sap.aii.connect.repository.rmiport

com.sap.aii.connect.rmiprotocol

People working in the same network are able to launch both the ESR and ID. Its a issue for people working via VPN or outside network.

Thanks,
Rajendra

azharshaikh
Active Contributor
0 Kudos

Hi Rajendra,

Did you try to launch with lower Java version 6u45 as suggested? Did you get your user id assigned with required roles?

Try to launch PI Homepage (and ESR/ID) using some other Browser like Mozilla / Chrome and check if it helps.

Regards,
Azhar

Former Member
0 Kudos

Dear Rajendra,

Then you have to change the setting in internet explorer.

1. Go to Internet option -> Connection -> add VPN

If you are using any proxy server then

2. then LAN setting -> check Bypass proxy server for local address

3. in advanced tab :- put the domain name like  *.fulldomainname.com.

Check the configuration. might it will help .

Warm Regards,

Former Member
0 Kudos

Hi Azhar,

I have tried with uninstalling the jre 7 update 67/71 and installed the jre6 update 45.

I am trying to connect from my local pc on windows 8  and via the customers VPN connection and using an local internet service provider from home.

With jre 6 and update 45 I still get the below errors:

with Use browser settings in the Network Settings:

com.sun.deploy.net.FailedDownloadException: Unable to load resource:

http://host:50000/rep/repository/com.sap.xpi.ibrep.rb.jar

at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)

at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)

at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)

with Direct connection & Use proxy server:
Could not launch from cache. Will try online mode. [Some of required resources are not
cached.] PerfTimes : loadNativeLayer: loading jperflib failed. no jperflib in java.library.path
<<< frog.jar: version 7.20.19 03/09/11 sap.theme: null >>>

Thanks,

Rajendra

Former Member
0 Kudos

Hello Rajendra,

Did you also maintained host file entry in your system?

Regards

Pradeep

Former Member
0 Kudos

Hi Pradeep,

Yes I have maintained the entry (IP <space> host name) in the host file of my system and downgraded to java version 6 update 45.

I am connecting to the customer network through VPN from my home Internet Service provider.

When I am trying to launch the ESR & ID using Network Setting: Use browser settings

Error as below:

com.sun.deploy.net.FailedDownloadException: Unable to load resource:

http://host:50000/rep/repository/com.sap.xpi.ibrep.rb.jar

at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)

at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)

at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)

When I am trying to launch ESR & ID using Network Settings: Direct Connection

Error as below:

Could not launch from cache. Will try online mode. [Some of required resources are not cached.]
PerfTimes : loadNativeLayer: loading jperflib failed. no jperflib in java.library.path
<<< frog.jar: version 7.20.19 03/09/11 sap.theme: null >>>

Once I download the repository.jnlp & directory.jnlp in my local folder say C:\Download\repository.jnlp & similarly directory.jnlp

Can I lunch it from the command prompt?  Javaws  C:\Download\repository.jnlp in cmd prompt is that fine.

Thanks,

Rajendra

Former Member
0 Kudos

Hello Rajendra,

Can you post the screenshot of exact error, and also before launching the application have you cleared the JAVA cache that is stored because of earlier launch.

Pradeep

Former Member
0 Kudos

Dear Rajendra,

Now i am facing same problem when connected in outside network through VPN.

Cannot connect to server using message server :

ms://hostname:81xx/P4

and internal error during authentication.

I opened 8101 port also, should i open even 5004 port also?

Plz help or say me how u have solved the issue.

Thanks,

Karunakar M

Former Member
0 Kudos

Hi Karunakar,

Kindly ask your networking/IT team to open all these P4 ports such as 5***4 and also ports like 80** and 81** for your VPN ID so as to get complete access to all SAP PI URL's/applications through VPN.

Please feel free to connect again.

Regards,

Amit Patil

dipen_pandya
Contributor
0 Kudos

Hi,

Refer to this blog

Also make sure host file is maintained on your machine if your are working with VPN connection.

Regards,

Dipen.

Former Member
0 Kudos

Hi Rajendra,

Please refer below thread, it may be useful for your login issue.

Regards,

Hanumant

Former Member
0 Kudos

Hi Hanumant,

I have checked in your thread and modified the host file in the local machine.

Also applied "Direct connection" under network settings in Java web start control panel.

Still did not find the solution but the below error:

Missing Permissions manifest attribute in main jar:

http://host:50000/rep/repository/com.sap.xpi.ibrep.client.jar
JNLPClassLoader: Finding library jperflib.dll
PerfTimes : loadNativeLayer: loading jperflib failed. no jperflib in java.library.path
<<< frog.jar: version 7.20.19 03/09/11 sap.theme: null >>>

Thanks,

Rajendra

Former Member
0 Kudos

Hi Rajendra,

Also please refer below thread, it seems to be related to same missing permissions on manifest attribute.

Regards,

Hanumant

Former Member
0 Kudos

Hi Rajendra,

Once try with Java6 update 45.

And also clear the cache and all data from JAVA before launching the application.

Pradeep

former_member184720
Active Contributor
0 Kudos

For me it doesn't seems to be java web start issue... is it a new installation?

2) Can you check if you are maintaining the correct HTTP port in nwa/java system properties -> XPI Servcies : All config

1) I assume user has unrestricted access to launch ESR/ID. check in http://host:port/useradmin

Xidir:unrestricted

Xirep:unrestricted

Former Member
0 Kudos

Hi Hareesh,

You seem to be correct my user does not have unrestricted access to lunch ESR/ID.

While checking in http://host:port/useradmin it says not authorized.

So, I guess the admin team has to provide unrestricted access to both ESR and ID.

Apart from that user also does not have permission to view NWA.

I will check and come back.

Former Member
0 Kudos

Yes Hareesh.

It is a new installation in my client machine via a VPN network.

Harish
Active Contributor
0 Kudos