Skip to Content
author's profile photo
Former Member

JNLP-SERVLET.JAR

Hi,

I am running into jnlp-servlet problem while launching

repository from integration builder.

I am getting following error message, I have copied jnlp-servlet.jar to additional-lib,also added entries into library.txt and reference.txt, but still I am getting the same error, if you anybody has run into these problem,

I would appreciate, if you can guide me through.

Thanks

Sudhir Nellutla

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

Download not possible because of missing component

The download of the client software is currently not possible because

the "jnlpDownloadServlet" is probably not yet installed on the server.

Please contact your system administrator to install the component "jnlp-servlet.jar"

                                                                                                    Add comment
                                                                                                    10|10000 characters needed characters exceeded

                                                                                                    • Follow
                                                                                                    • Get RSS Feed

                                                                                                    6 Answers

                                                                                                    • author's profile photo
                                                                                                      Former Member
                                                                                                      Jul 22, 2004 at 10:39 AM

                                                                                                      Hi Sudhir,

                                                                                                      we ran into the same problem a couple of weeks ago, as you can read here:

                                                                                                      jnlpdownloadservlet

                                                                                                      You need to deploy the servlet manually now, because the j2ee engine needs to register it.

                                                                                                      What we couldn't figure out yet, is how to manually add the following lines to library.txt:

                                                                                                      reference jnlp-servlet servlet

                                                                                                      reference jnlp-servlet inqmyxml

                                                                                                      The result is, that we need to add them manually via editor every time the j2ee engine restarts. There should be a way to solve this, everyone here who knows how to add reference entries to library.txt permanent?

                                                                                                      Regards,

                                                                                                      Mario A. Herglotz

                                                                                                      Add comment
                                                                                                      10|10000 characters needed characters exceeded

                                                                                                    • author's profile photo
                                                                                                      Former Member
                                                                                                      Jul 22, 2004 at 01:35 PM

                                                                                                      Hi Sudhir,

                                                                                                      You have to deploy the jnlp-servlet.jar manually. When you add the library references they are NO LONGER added to the library.txt file, meaning you must explicitly qualify the library name by prepending 'library:' to the library name.

                                                                                                      Belows a doc I wrote that addresses this issue:

                                                                                                      XI 2.0 Installation: Integrating jnlp-servlet on Unix

                                                                                                      Document References: SAP Exchange Infrastructure 2.0 SR1 Installation (pg. 52); SAP Note 743630 (How to deploy libraries on J2EE Engine 6.20).

                                                                                                      Overview: As of J2EE Engine PL22 it is no longer possible to deploy jar files by copying them to the <app_node>/additional-lib directory, where <app_node> is the root directory for a standalone J2EE server or server node in a J2EE cluster, e.g. /usr/sap/<system id>/DVEBMGS00/j2ee/cluster/server/. If you copy jar files to the additional-lib directory and edit the library.txt and reference.txt directly, the J2EE engine will remove the copied jar files (from additional-lib) and the entries from library.txt and reference.txt.

                                                                                                      Solution:

                                                                                                      Overview

                                                                                                      1) Telnet to J2EE Administrator Console.

                                                                                                      2) Jump to Application Node.

                                                                                                      3) Add deploy command set to session.

                                                                                                      4) Deploy jnlp-servlet.jar.

                                                                                                      5) Create library jnlp-servlet references to libraries servlet and inqmyxml.

                                                                                                      6) Create application references from Exchange Repository and Exchange Directory to library jnlp-servlet.

                                                                                                      7) Exit telnet console.

                                                                                                      8) Re-start j2ee engine.

                                                                                                      Step-by-Step

                                                                                                      1) Telnet to J2EE Administrator Console.

                                                                                                      At UNIX prompt type ‘telnet localhost 50<instance #>8’. For a default installation with instance id ‘00’ the command is ‘telnet localhost 50008’.

                                                                                                      a. At the ‘Login:’ prompt enter ‘Administrator’.

                                                                                                      b. At the ‘Password:’ prompt hit return. Note: This assumes the ‘Administrator’ password was left as null.

                                                                                                      2) At the console prompt ‘>’ type ‘lsc’. This will list all the active cluster machines. You should see entries for the dispatcher, State Controller, and one or more Application Node Servers. If the application server on which you wish to deploy the jar file(s) is NOT up, you will not be able to deploy. Correct the problem and restart the J2EE Engine.

                                                                                                      a. Note the ID <app_server_id> for the application server to which you wish to connect.

                                                                                                      b. Type ‘jump <app_server_id>’. The prompt ‘>’ should return with no errors.

                                                                                                      3) Add the command set to the current session by typing ‘add deploy’. If you get the following error,

                                                                                                      ‘There aren't commands from DEPLOY group in the CommandContext.’

                                                                                                      then you are NOT connected to the application server and must repeat

                                                                                                      steps 2b with a valid application server id.

                                                                                                      4) Deploy the jnlp-servlet library.

                                                                                                      a. Type ‘changelib –d library:jnlp-servlet /path/to/jnlp-server.jar’. Example: (Unix) ‘changelib –d library:jnlp-servlet /path/to/jnlp-servlet.jar’.

                                                                                                      5) Create library references from library jnlp-servlet to libraries ‘servlet’ and ‘inqmyxml’.

                                                                                                      a. Type ‘changeref –m library:jnlp-servlet library:servlet’.

                                                                                                      b. Type ‘changeref –m library:jnlp-servlet library:inqmyxml’.

                                                                                                      6) Create Application references from Exchange Directory and Exchange Repository to the ‘jnlp-servlet’ library.

                                                                                                      a. Type ‘changeref –m ExchangeDirectory library:jnlp-servlet’.

                                                                                                      b. Type ‘changeref –m ExchangeRepository library:jnlp-servlet’.

                                                                                                      7) Exit Administrator Console.

                                                                                                      a. Type ‘exit’.

                                                                                                      8) Re-start J2EE Engine.

                                                                                                      Also, you will need to use the same method for updating sapjco.jar, or for that matter, updating or installing any jar file. If it's an update, you must use changelib -u rather than changelib -d.

                                                                                                      Add comment
                                                                                                      10|10000 characters needed characters exceeded

                                                                                                      • Former Member

                                                                                                        Thanks a million for such a detailed reply. I have followed the step-step process, it went very smooth, but still I am getting the same 'download jnlp' error, I was wondering if I am missing anything.

                                                                                                        Regards

                                                                                                        Sudhir Nellutla

                                                                                                    • author's profile photo
                                                                                                      Former Member
                                                                                                      Jul 22, 2004 at 01:37 PM

                                                                                                      BTW, all new references are now added to the reference.txt file.

                                                                                                      Add comment
                                                                                                      10|10000 characters needed characters exceeded

                                                                                                    • author's profile photo
                                                                                                      Former Member
                                                                                                      Jul 22, 2004 at 01:48 PM

                                                                                                      Another note. The J2EE telnet console port is 50<instance #>8. My howto above references port 50008, which assumes an instance id of '00'.

                                                                                                      Add comment
                                                                                                      10|10000 characters needed characters exceeded

                                                                                                    • author's profile photo
                                                                                                      Former Member
                                                                                                      Jul 22, 2004 at 06:13 PM

                                                                                                      Sudhir,

                                                                                                      1) Did you restart your J2EE server? Make sure it did in fact re-start. Check the process for the start time.

                                                                                                      2) Have you installed Java WebStart?

                                                                                                      3) What PL level are you at for J2EE?

                                                                                                      In the '/usr/sap/<systemname>/DVEBMGS<instance id>/j2ee/cluster/server/managers/library.txt' look for

                                                                                                      'library jnlp-servlet jnlp-servlet.jar'

                                                                                                      In the '/usr/sap/<systemname>/DVEBMGS<instance id>/j2ee/cluster/server/managers/reference.txt' look for

                                                                                                      'reference ExchangeDirectory library:jnlp-servlet'

                                                                                                      'reference ExchangeRepository library:jnlp-servlet'

                                                                                                      'reference library:jnlp-servlet library:servlet'

                                                                                                      'reference library:jnlp-servlet library:inqmyxml'

                                                                                                      Add comment
                                                                                                      10|10000 characters needed characters exceeded

                                                                                                    • author's profile photo
                                                                                                      Former Member
                                                                                                      Jul 22, 2004 at 06:16 PM

                                                                                                      Sudhir,

                                                                                                      Also make sure you have the jnlp-servlet.jar file in the

                                                                                                      following directory:

                                                                                                      /usr/sap/<system name/DVEBMGS<instance id>/j2ee/cluster/server/additional-lib

                                                                                                      Add comment
                                                                                                      10|10000 characters needed characters exceeded