-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Steiner Erich (KSDE 21)
Sent: Monday, September 25, 2006 6:40 PM
To: [EMAIL PROTECTED]
Subject: [ULC-developer] Standalone Client, ClassNotFound problemHello
I try to launch our application as Standalone Client. If I add all the required jar's to the CLASSPATH then it works fine. But if I setup an URL Classloader and set it up so that it uses the same jars I get the following Exception.
Unfortunatly it only says "Got ClassNotFoundException", it would be interesting to know which one it's missing.
I'm using ULC6.1.1, with earlier versions (6.0.x) I did not have this problem!
1 25.09.2006 15:03:37.267 900 WARNING Thread[AWT-EventQueue-1,6,main] com.ulcjava.base.client.UISession a Got ClassNotFoundException
2 25.09.2006 15:03:37.282 1'000 SEVERE Thread[AWT-EventQueue-1,6,main] com.ulcjava.base.client.UISession b got exception while processing [com.ulcjava.base.shared.internal.IllegalStateException: Couldn't create instance of com.ulcjava.base.client.UIBrowserService
at com.ulcjava.base.client.UISession.newInstance(UISession.java:202)
at com.ulcjava.base.client.UISession.handleRequest(UISession.java:108)
at com.ulcjava.base.client.UISession.b(UISession.java:34)
at com.ulcjava.base.client.UISession.access$1600(UISession.java:265)
at com.ulcjava.base.client.UISession$1.run(UISession$1.java:2)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at com.ulcjava.base.client.FilteringEventQueue.dispatchEvent(FilteringEventQueue.java:5)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
]Regards
Eru------------------------------------------------------------
Erich Steiner
CREDIT SUISSE
Information Technology
Market Information, Reference Data
Eggbühlstrasse 21-23
P.O.Box 600
CH-8070 Zürich
Switzerland
Phone +41 44 334 76 34
Fax +41 44 334 47 98
mailto:[EMAIL PROTECTED]
http://www.credit-suisse.com
This message is for the named persons use only. It may contain confidential, proprietary or legally privileged information.
No confidentially or privilege is waived or lost by any transmission errors. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. CREDIT SUISSE GROUP and each of its subsidiaries reserve the right to intercept and monitor e-mail communications through its networks if legally allowed.
Message transmission is not guaranteed to be secure.
Title: Standalone Client, ClassNotFound problem
Hi
Erich,
It could not
instantiate the class UIBrowserService (which is in ulc-base-client.jar)
because it could not find it.
How did you set up
the ULC client to use the URLClassLoader?
ULC client uses
Thread.currentThread().getContextClassLoader() for loading
classes if it is not null else it uses the default class loader used to load ULC
UI classes.
I hope this
helps.
Thanks and
regards,
Janak
- [ULC-developer] Standalone Client, ClassNotFound p... Steiner Erich (KSDE 21)
- RE: [ULC-developer] Standalone Client, ClassN... Janak Mulani
