cancel
Showing results for 
Search instead for 
Did you mean: 

SAP EHP Installer not working

Former Member
0 Kudos

Hi

I've installed EHP installer, but when I go in through the web gui <host>4239, I manage to get to the initial page. When clicking on the EHP Installer link, it opens up Java 6 and I then get the following message:

Unable to launch application:

com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://I5SAP:4239/sdtdsu.jnlp

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)

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

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

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

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

at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)

at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)

at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)

at com.sun.javaws.Launcher.launch(Unknown Source)

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

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

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

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

Any ideas?

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Folks,

You may even try this.

Add the host name (FQDN) to the proxy.

IE -> Tools -> Internet Options -> Connections -> LAN Settings -> Advanced ->

Make your host entry in the exceptions list

Eg: *abcdhost*

Former Member
0 Kudos

In case run SolmanUp tool, when solman upgraded can be helpfull correction Java option. For example in our case:

"Start" -> "Control Panel" -> "Java" -> "General" -> "Network Settings" -> "Network Proxy Settings"

set to "Direct connection"

0 Kudos

Hello all,

first, about the installed JVM's: You can have installed several Java versions in parallel, e.g. for me as developer, I have 4 different Java versions installed for different development purposes (JDK's 1.3.1, 1.4.2, 1.5 and 1.6). The default Java version is defined by the Windows environment variable JAVA_HOME (in my case it's 1.6). So, there is no need to uninstall any other Java version. If you just have JRE versions (Java Runtime Environments) the last installed version wins when installed with default settings.

Second, for the SDT GUI as it is used with SAPehpi or similar tools there is a check for outdated Java versions. The GUI requires at least Java version 1.5 or higher on the frontend PC. Doesn't matter if you have a JRE or the full JDK installed and also doesn't matter which Java version you are running on the IBM i machine. This is a PC only problem. Even Java 1.6 (or Java 6, which is just its new name) works fine with the SDT GUI. Nevertheless some problems may occur when launching a JNLP file for the first time via browser.

About the problem Wouter originally had. I assume the Java 6 was not properly installed or at least its browser plugin needed for the way the SDT GUI is usually called. With the new installation of Java 1.5 this was solved. But the reinstallation of Java 6 would had solved the issue as well.

Whenever you run into such problems, there are two options. If you want to get it quickly run, just map a network drive for share

as400hostROOTBIN and navigate to script DSUGui.bat (as pointed out several times in this thread) and start it via double click. The most important thing for this script is a valid environment including the JAVA_HOME variable to find the "java" command. If you want to spend more time on this you should work on this check list:

  • your Java installation on the PC (at least version 1.5)

  • browser settings (LAN zone settings for intranet/internet, browser plugins)

  • network settings (is the IBM i host name known to the network, e.g. with "ping")

  • firewall settings (maybe the load of external Java programs is blocked)

  • ... or ask Google ( I know, can be a mess)

The mechanism of loading the JNLP file for the GUI is well proved and if it doesn't work usually a setup issue of the PC is the reason.

Best regards,

René Lang

SAP on IBM i Development

volker_gldenpfennig
Active Participant
0 Kudos

Hi Wouter,

2 things:

- SAPEHPI is supprted with Java 5 (1.5) only ! => you should deinstall 6 and install 5

- it is needed to copy a few directories over to your PC and start it from there ... described in some notes ...

(the i5 URL is not working ...)

Regards

Volker Gueldenpfennig, consolut international ag

http://www.consolut.net - http://www.4soi.de - http://www.easymarketplace.de

Former Member
0 Kudos

Thanks a lot for that. It solved my problem.

Former Member
0 Kudos

I'm facing the same problem.could you please tell me how it was solved.... I have java1.5 installed

om.sun.deploy.net.FailedDownloadException: Unable to load resource: http://aminet12:4239/sdtdsu.jnlp

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)

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

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

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

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

at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)

at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)

at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)

at com.sun.javaws.Launcher.launch(Unknown Source)

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

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

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

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

Former Member
0 Kudos

Hello.

I also met same problem and I have Java 1.5.

java.net.UnknownHostException: am1hb178

at java.net.PlainSocketImpl.connect(Unknown Source)

at java.net.SocksSocketImpl.connect(Unknown Source)

at java.net.Socket.connect(Unknown Source)

at java.net.Socket.connect(Unknown Source)

at sun.net.NetworkClient.doConnect(Unknown Source)

at sun.net.www.http.HttpClient.openServer(Unknown Source)

at sun.net.www.http.HttpClient.openServer(Unknown Source)

at sun.net.www.http.HttpClient.<init>(Unknown Source)

at sun.net.www.http.HttpClient.New(Unknown Source)

at sun.net.www.http.HttpClient.New(Unknown Source)

at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)

at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)

at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)

at com.sun.javaws.net.BasicNetworkLayer.doRequest(Unknown Source)

at com.sun.javaws.net.BasicNetworkLayer.doHeadRequest(Unknown Source)

at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)

at com.sun.javaws.cache.DownloadProtocol.isLaunchFileUpdateAvailable(Unknown Source)

at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source)

at com.sun.javaws.Launcher.downloadResources(Unknown Source)

at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)

at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)

at com.sun.javaws.Launcher.run(Unknown Source)

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

But I solved it according Upgrade guide where are 2 possible ways :

1) If you would like the upgrade GUI to start automatically, use the following parameter when starting upgrade program:/<DVD mount directory>/STARTUP guistart=on

2) Starting the GUI on Windows Hosts :

So that the GUI can also be executed on other hosts, create an upgrade directory on this host and copy the following files to the new directory on the Windows host:

You must keep the upgrade directory structure.

<upgrade directory>/sdt/lib

<upgrade directory>/sdt/exe/DSUGui.bat

Start the GUI in a command prompt with the command DSUGui.bat

Now i am able to run GUI locally.

Regards,

Emil Tkac

Edited by: Emil Tkac on Apr 8, 2010 8:09 PM

Lartey
Participant
0 Kudos

Hello Volker,

Can you please clarify point two since i'm having same problem. In fact in my case i get the error below:

"Error while connecting to communication partner - see preceeding messages.

Connection from host sapdemo123 to local port 52439 has been directly closed. java.io.EOFException"

I have downloaded the version 5 of the java but not sure what you meant by copy a few directories and start from there.

Waiting for your response.

Thank you.

John

Edited by: John Lartey on Sep 1, 2010 7:48 PM

Former Member
0 Kudos

Hi John

What he mean is if your java version looks something like this:

C:\>java -version

java version "1.5.0_22"

Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_22-b03)

Java HotSpot(TM) Client VM (build 1.5.0_22-b03, mixed mode)

Then when you start the EhP Installer via http://<hostname>:4239, it will copy some files to your PC all by itself.

It should start the installer all by itself, if the environmental variable Java home and the path are properly set on your PC.

Hope that helps

Thanks

Abhi

Former Member
0 Kudos

Hi John,

the explanation for point 2 is:

If the autostart is not working because of different reasons and you are on Jave 1.5 already, you could do the folliwng and start it from there:

Let's assume, that your EHPI directory on i5 is /EPHI

Then you would create the following directories:

- c:\EHPI

- c:\EHPI\sdt

- Then you copy i5 /EHPI/sdt/exe & /EHPI/sdt/lib to the correspoinding Windows places

- Now, you start as follows on your PC: c:\EHPI\sdt\exe\DSUGui.bat

Regards

Volker Gueldenpfennig, consolut international ag

http://www.consolut.net - http://www.4soi.de - http://www.easymarketplace.de

Former Member
0 Kudos

Hello Volker,

I think I have the same problem.

I was able to open the Web Gui, by running the ./DSUGui and I manage to get the initial page.

When clicking on the EHP Installer link, it opens up Java 6 and I then get the following message:

Error: Unable to load resource: http://cgunx231:4239/sdtdsu.jnlp

com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://cgunx231:4239/sdtdsu.jnlp

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

I know you said SAPEHPI is supprted with Java 5 (1.5) only !

But how do I deinstall 6 and install 5?

The JCE policy I tired are both jce_policy-1_5_0.zip (1.5) version and 90000125.ZIP. Same error for both.

Java Verison on my host:

cgunx231:nwdadm 11> java -version

java version "1.4.2"

Java(TM) 2 Runtime Environment, Standard Edition (build 2.3)

IBM J9 VM (build 2.3, J2RE 1.4.2 IBM J9 2.3 AIX ppc64-64 j9ap64142ifx-20100615 (JIT enabled)

J9VM - 20100610_59470_BHdSMr

JIT - 20090210_1447ifx2_r8

GC - 200902_24)

Thank You!

Former Member
0 Kudos

Hi Siri,

On your PC, you remove version 6.0 from "Add/Remove programs" and download the version 5.0 from the following link:

http://www.oracle.com/technetwork/java/javase/downloads/index-jdk5-jsp-142662.html

Once you install this, make sure your set the JAVA_HOME env variable to installation/bin directory of the install

Hope that helps

Former Member
0 Kudos

FYI for anyone else who encounters the error "Unable to load resource: http://<hostname>:4239/sdtdsu.jnlp". I was trying to verify the use of the SOLMANUP Upgrade GUI as shown below from the Solution Mgr 7.1 Upgrade Guide. I was able to run the GUI fine from Windows and Unix but not Internet Explorer. After selecting the option on the initial screen, "Start Upgrade Front-end (SDTGui)", I would see a Java 6 splash screen for a few seconds and then after that, about 15 seconds later the error mentioned above would occur.

The solution was simple: I added one line to my local "hosts" file (C:\WINDOWS\system32\drivers\etc) to resolve the hostname. For instance, the entry was "<IP address> <hostname> <Fully-Qualified Domain Name>". After that, the Upgrade GUI worked on the very next try. NOTE: I searched the Upgrade Guide and the Troubleshooting Guides for tips regarding the "hosts" file but none were found.

p.s. in my situation, I was located on-site at one client and had a VPN session to the client for which I was preparing the upgrade for.

Excerpt from "Upgrade Guide SAP Solution Manager 7.1" (For ABAP+Java, UNIX, Oracle), version 1.0 2011-05-16

Starting the GUI from the Internet Browser

1. To start the GUI from a browser, proceed as follows:

Enter the following Internet address:

http://<host name>:4239

Replace <host name> with the name of the host on which the upgrade program is running.

2. On the following screen, choose Start Frontend.

NOTE

From the same page, you can display the phase list, upgrade documentation, and additional information about the upgrade.

Jim Cleek

HP Enterprise Services, SAP Basis Support

Edited by: Jim Cleek on Aug 5, 2011 8:18 PM

Former Member
0 Kudos

OK.. first things first. Thanks for this post it solved my issue too. I had the same issue.

Now about the issue's solution.. i used /<DVD mount directory>/STARTUP guistart=on to start the SAPEhpi and everything worked fine till the end. No issues.

And for them who are still looking, If you are using latest SAPEhpi (131 in my case ) you don't need to provide java pf param with STARTUP.

Thanks