Hi Claus,

>let me try to put our problem more clearly:
>javaws http://kom-prd.mv.com:8975/lv/app/lv.jnlp direct to server,
>works fine       (JNLP launcher).

>javaws http://komlix-prd.mv.com/lv/app/lv.jnlp   via loadbalancer,
>works also fine  (JNLP launcher).

This will work as the jnlp file is served up by apache.

What matters is the ULC application URL that you are specifying in the jnlp
file. Can you tell me what is it?

>java -jar launcher.jar http://kom-prd.mv.com:8975/lv/lvapp/ direct
>to server, works fine (Standalone launcher).

Ok as expected.

>java -jar launcher.jar http://komlix-prd.mv.com/lv/lvapp/ via
>loadbalancer, fails (Standalone).

The launcher thinks that your ULC application is running at the above URL.

This is not the case, your app is running within tomact.

>with the stacktrace given below. I cannot see a HTTP error code in

here it is:

>> >Caused by:
>> >com.ulcjava.container.servlet.client.ConnectorCommandException:
>> >unsupported HTTP response code: 404 (Not Found)     at
>> >com.ulcjava.container.servlet.client.ConnectorCommand.handleRespons
>> >e(ConnectorCommand.java:50)         at

>this case. I checked the application URLs in the JNLP file and
>servlet mappings in web.xml.

I would like to know what url are you specifying with the JNLP file. The
JNLP launcher uses that URL to connect to the ULC app.

>Do you have some idea how to track the problem down ?

As I said in my earlier mail, when you use Apache as a proxy, you have to
worry about the URLS and my earlier mail had hints on how to take care of
URLs. This will depend on your apache-Tomacat config and the way you rewrite
URLs.

I hope this helps.

Thanks and regards,

Janak

>> -----Ursprüngliche Nachricht-----
>> Von: Janak Mulani [mailto:[EMAIL PROTECTED]
>> Gesendet: Montag, 30. Oktober 2006 18:26
>> An: Seitter Claus-Jochen
>> Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
>> Betreff: RE: [ULC-developer] Load Balancer Problem with
>> DefaultStandaloneLauncher
>>
>>
>> Hi Claus,
>>
>> You are using Apache as a proxy, i.e., client --> Apache --->
>> Tomcat, right?
>>
>> There is an error: unsupported HTTP response code: 404 (Not
>> Found). That
>> means that the URL of the application is incorrect.
>>
>> You say JNLP is working fine. What is the ULC application URL
>> that you are
>> specifying within the .jnlp file? Are you using the Apache
>> Load balancing
>> when you connect to your application with the JNLP client?
>>
>> Please also see the attached mail and the following URLs
>> (earlier answers to
>> you) for more info:
>>
>> http://lists.canoo.com/mailman/private/ulc-developer/2005/003254.html
>>
>>
>> http://lists.canoo.com/mailman/private/ulc-developer/2005/003251.html
>>
>> Kindly let me know if this helped.
>>
>> Thanks and regards,
>>
>> Janak
>>
>>
>>
>> >-----Original Message-----
>> >From: [EMAIL PROTECTED]
>> >[mailto:[EMAIL PROTECTED] Behalf Of
>> >[EMAIL PROTECTED]
>> >Sent: Monday, October 30, 2006 3:43 PM
>> >To: [EMAIL PROTECTED]
>> >Subject: [ULC-developer] Load Balancer Problem with
>> >DefaultStandaloneLauncher
>> >
>> >
>> >In our intranet we use a custom standlaone launcher that extends
>> >com.ulcjava.environment.standalone.client.DefaultStandaloneLauncher
>> >. This works fine as long as we feed it the URL of our server,
>> >i.e. http://KOM-PRD.mv.com:8975/lv/lvapp/ . When we replcae this
>> >URL with the URL that points to our Apache httpd loadbalancer,
>> >i.e. http://KOMLIX-PRD.mv.com/lv/lvapp/ , the servlet connector
>> >cannot be startet (see stack trace below). If we use a JNLP
>> >launcher via a web browser, everything works fine. Could somebody
>> >give me a hint what could be the problem ? We're using ULC 6.0.4,
>> >Apache Tomcat/5.0.19, Sun Java 1.4.2_03-b02 on      Windows 2000.
>> >
>> >best regards,
>> >
>> >Mit freundlichem Gruß
>> >C.J.Seitter
>> >
>> >MÜNCHENER VEREIN             http://www.muenchener-verein.de
>> >Versicherungsgruppe          [EMAIL PROTECTED]
>> >Pettenkoferstraße 19
>> >D-80336 München              Tel.: 089/5152-1073
>> >                             Fax   089/5152-3073
>> >-------------------------------------------------------------------
>> >----------------------------------------
>> >stack trace
>> >-------------------------------------------------------------------
>> >----------------------------------------
>> >com.ulcjava.base.client.ConnectorException: could not start
>> >ServletConnector    at
>> >com.ulcjava.container.servlet.client.ServletConnector.start(Servlet
>> >Connector.java:31)  at
>> >com.ulcjava.base.client.UISession.startConnector(UISession.java:2
>> >6)  at
>> >com.ulcjava.base.client.launcher.DefaultSessionStateListener.sessio
>> >nStarted(DefaultSessionStateListener.java:4)        at
>> >com.ulcjava.base.client.UISession.a(UISession.java:286)     at
>> >com.ulcjava.base.client.UISession.access$200(UISession.java:64)
>> >at com.ulcjava.base.client.UISession$0.run(UISession$0.java:4)
>> >at java.awt.event.InvocationEvent.dispatch(Unknown Source)  at
>> >java.awt.EventQueue.dispatchEvent(Unknown Source)   at
>> >com.ulcjava.base.client.FilteringEventQueue.dispatchEvent(Filtering
>> >EventQueue.java:19)         at
>> >java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
>> >Source)     at
>> >java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
>> >Source)     at java.awt.EventDispatchThread.pumpEvents(Unknown
>> >Source)     at java.awt.EventDispatchThread.pumpEvents(Unknown
>> >Source)     at java.awt.EventDispatchThread.run(Unknown Source)
>> >Caused by:
>> >com.ulcjava.container.servlet.client.ConnectorCommandException:
>> >unsupported HTTP response code: 404 (Not Found)     at
>> >com.ulcjava.container.servlet.client.ConnectorCommand.handleRespons
>> >e(ConnectorCommand.java:50)         at
>> >com.ulcjava.container.servlet.client.ConnectorCommand.execute(Conne
>> >ctorCommand.java:56)        at
>> >com.ulcjava.container.servlet.client.ServletConnector.executeComman
>> >d(ServletConnector.java:6)  at
>> >com.ulcjava.container.servlet.client.ServletConnector.start(Servlet
>> >Connector.java:55)  at
>> >com.ulcjava.base.client.UISession.startConnector(UISession.java:2
>> >6)  at
>> >com.ulcjava.base.client.launcher.DefaultSessionStateListener.sessio
>> >nStarted(DefaultSessionStateListener.java:4)        at
>> >com.ulcjava.base.client.UISession.a(UISession.java:286)     at
>> >com.ulcjava.base.client.UISession.access$200(UISession.java:64)
>> >at com.ulcjava.base.client.UISession$0.run(UISession$0.java:4)
>> >at java.awt.event.InvocationEvent.dispatch(Unknown Source)  at
>> >java.awt.EventQueue.dispatchEvent(Unknown Source)   at
>> >com.ulcjava.base.client.FilteringEventQueue.dispatchEvent(Filtering
>> >EventQueue.java:19)         at
>> >java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
>> >Source)     at
>> >java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
>> >Source)     at java.awt.EventDispatchThread.pumpEvents(Unknown
>> >Source)     at java.awt.EventDispatchThread.pumpEvents(Unknown
>> >Source)     at java.awt.EventDispatchThread.run(Unknown Source)
>> >_______________________________________________
>> >ULC-developer mailing list
>> >[email protected]
>> >http://lists.canoo.com/mailman/listinfo/ulc-developer
>>

_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer

Reply via email to