cancel
Showing results for 
Search instead for 
Did you mean: 

"Unable to launch application" when starting IB / ESR on PI 7.11

Former Member
0 Kudos

Hello,

I have found some similar threads on this topic, but none that answers my question directly and none that solved my issue. So I am trying with a separate thread and hopefully somebody can help me.

We have PI 7.11 installed and I am trying to open (for example) the Integration Builder. Here I get an error message which does not really say much:

"Unable to launch the application". When I click "Details" I see this:

------

InvalidArgumentException[ Invalid arguments supplied: { }]

          at com.sun.javaws.Main.continueInSecureThread(Unknown Source)

          at com.sun.javaws.Main.access$000(Unknown Source)

          at com.sun.javaws.Main$1.run(Unknown Source)

          at java.lang.Thread.run(Unknown Source)

-------

This happens on our new Citrix environment which is built on XenApp 6.5 and runs Windows 2008 x64. It also runs IE 32-bits / Java 1.7.0_11 32-bits.

We do not have this problem in our old Citrix environment - here we are running Java 1.5.0_22. We tried downgrading Java on the new Citrix environment to also be 1.5.0_22 - and this worked. This is however the very last resort for us.

On my local computer (no Citrix) the Integration Builder starts just fine - here I am running Windows 7 32-bit and Java 1.7.0_11 32-bit.

I found this article (http://wiki.sdn.sap.com/wiki/display/XI/Troubleshooting+PI+ESR+and+Integration+Builder+Logon+Issues) and here it says that Java 1.7 should be supported - but only the 32 bits. So maybe it could be that since we are running 64-bits OS on the Citrix server the Java has got some problems to start properly - even if Java itself is 32-bits...

Has anyone here had a similar problem? I hope so.. and also that you found a solution 🙂

Regards,

Tom

Accepted Solutions (1)

Accepted Solutions (1)

PeterJonker
Active Contributor
0 Kudos

You already gave the answer yourself in your thread.

You need to use java version 1.5_22 to be able to use PI w/o problems.

I agree it is a bit stupid that SAP does not seem to be able to work with other (newer) java versions.

Use java 5 and your problem will be solved. However with the java 7 you still can have some problem that it will still start still with java 7 although you have told java webstart to use java 5.

That's why I use a command file like:

***************************************************

@Echo OFF
Goto :START

*** Hi,
*** Populate repOrDir with "rep", "dir", or "both".
*** it's case INsensitive, so REP or Rep etc will do.


:START

set server=    server name
set domain=    .domain.local
set port=      :51000
set repOrDir=  REP
set javawsDir= "\Program Files (x86)\Java\jre1.5.0_22\bin"

StartRepAndDir %server% %domain% %port% %repOrDir% %javawsDir%

******************************************************

Former Member
0 Kudos

Hello,

Thank you for your reply!

But if it is officially supported by SAP to use Java 1.7 then it should be working, shouldn't it? 🙂 Also it does work with 1.7.0_11 on my local computer (not via Citrix). So I know for sure that it is working in some cases. I want to find out the reason to why it does not work on Citrix in our case.

Regards,

Tom

somil_gulati
Explorer
0 Kudos

Hi Tom,

Only 32 bit version of JRE 1.7 is supported . The 64 bit version is not supported.So are you using the 32 bit or 64 bit version of JRE.

Regards,

Somil

Former Member
0 Kudos

Hi,

Thank you for your reply.

As you can read in my replies I am using Java 1.7 32-bit. On Citrix we have got 64-bit Windows (but still 32-bit Java). On my local workstation I am using 32-bit Java and 32-bit Windows.

Regards,

Tom

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi again,

Checking back once again.. the above was working for a while. Then we had to patch the following components: MESSAGING, SAP_XIESR, SAP_XIGUI, SAP_XITOOL based on note 1796134.

Then the error re-appeared with a slightly different error message. Keywords: LAZY_CLASSLOADING_FAILED, Unable to launch the application.

After some messages back and forth with SAP Support they finally found a bug together with Oracle consultants. See note 1911069 for workaround. They say that releases after Java 1.7.0_40 should have this bugfix implemented.

Just FYI in case someone returns back here 🙂

Tom

Former Member
0 Kudos

I'm not sure if you have managed to sort this issues but the trick is to put the link to the PI system to the java security list...

control panel->java->security tab->edit site list button and here add the url to your PI site.

Regards

Former Member
0 Kudos

Hello,

Just checking back with an update on this issue:

After discussions with SAP Support we have now tried installing Java 1.7 64-bit - and that worked! So in our case 32-bit Java 1.7 did not work on 64-bit Windows 2008R2 - but 64-bit Java 1.7 did.

For the older releases (like 1.5 and 1.6) the build was different so here it would work in both cases.

Regards,

Tom

Former Member
0 Kudos

Hi,

Try to Install "Java 7 Update 17"  and "32-bit Runtime Environment for java v6" both the versions through Oracle Publishers. It should work with these versions.

baskar_ramasamy
Participant
0 Kudos

Tom,

As said by "Somil Gulati" it will support for 32 bit JRE 1.7.

To know what version of JRE installed on your machine please try the below in cmd prompt of your system.

java -d64 -version or java -d32 -version

Thanks,

Baskar

naveen_chichili
Active Contributor
0 Kudos

Hi Tom,

Try with other version of jre.

Thanks and Regards,

Naveen.

Former Member
0 Kudos

Hi,

Thank you for your answer.

I have already tried with other version - 1.5 - and this works. Also I have tried with 1.7.0_11 and 1.7.0_09 which does not work.

We would primarily like to have the Java 1.7 working... if possible.

Regards,

Tom

allamudi_loordh
Active Participant
0 Kudos

Hi Just install jre1.6_21 it will support..

Former Member
0 Kudos

Hi,

Thank you for your answer.

But isn't Java 1.7 supposed to be supported as well? We would like to have the latest version installed on our Citrix environment so I am a bit reluctant to downgrade.

Regards,

Tom