Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Error 500 in Websphere: "class loading constraint violated"
Error 500 in Websphere: "class loading constraint violated" [message #140793] Tue, 21 July 2009 07:40 Go to next message
Serghei Mazurean is currently offline Serghei MazureanFriend
Messages: 19
Registered: July 2009
Junior Member
Hello All!

PLEASE HELP!!!! I have no solution for this Problem...

I have successfully deployed a RAP application with the Derby DB on
JBOSS(thanks to Ivan).
Now I'm trying to deploy the same application using Websphere 6.1. I have
set a Datasource and the connection test was successful.

I receive the following Error:
Error 500: class loading constraint violated (class:
org/apache/derby/client/am/ResultSet method: completeSqlca

In SystemOut.log i found more info:

[7/16/09 14:50:49:265 CEST] 0000034e WebApp A SRVE0181I:
[finca_osgi_1200_war#finca_osgi_1200.war] [/finca_osgi_1200]
[Servlet.LOG]: Could not execute
org.eclipse.ui.internal.Workbench$ShutdownHandler.beforeDest roy(SessionStoreEvent).:
java.lang.RuntimeException: Could not create the session singleton
instance of 'org.eclipse.jface.resource.JFaceResources$ImageRegistryStor e'
because an Exception was thrown by the constructor:
null.

As a solution for this problem (thanks to Cameron McKenzie) I have deleted
the JDBC-Drivers from my .war but then my application can not connect to
the Derby DB(without that drivers) :(
If I take off the JDBC-Drivers from my .war, then I have the following
exception:
Exception Description: Unable to acquire a connection from driver [null],
user [null] and URL [null]. Verify that you have set the expected driver
class and URL. Check your login, persistence.xml or sessions.xml
resource. The jdbc.driver property should be set to a class that is
compatible with your database platform.

I don't know what should I do in this case :(

Thank you very much for any help!!!

With respect,
Serghei.
Re: Error 500 in Websphere: "class loading constraint violated" [message #141030 is a reply to message #140793] Wed, 22 July 2009 09:52 Go to previous message
Benjamin Muskalla is currently offline Benjamin MuskallaFriend
Messages: 338
Registered: July 2009
Senior Member
Hi Serghei,

I think this problem is rather specific to Websphere and not to RAP. So
I recommend to post this questions on more Websphere-specific forums
like you already did (for those who want to follow the conversation):

http://www.coderanch.com/t/454405/Websphere/Error-class-load ing-constraint-violated

Greets
Ben

Serghei wrote:
> Hello All!
>
> PLEASE HELP!!!! I have no solution for this Problem...
>
> I have successfully deployed a RAP application with the Derby DB on
> JBOSS(thanks to Ivan).
> Now I'm trying to deploy the same application using Websphere 6.1. I
> have set a Datasource and the connection test was successful.
>
> I receive the following Error:
> Error 500: class loading constraint violated (class:
> org/apache/derby/client/am/ResultSet method: completeSqlca
>
> In SystemOut.log i found more info:
>
> [7/16/09 14:50:49:265 CEST] 0000034e WebApp A SRVE0181I:
> [finca_osgi_1200_war#finca_osgi_1200.war] [/finca_osgi_1200]
> [Servlet.LOG]: Could not execute
> org.eclipse.ui.internal.Workbench$ShutdownHandler.beforeDest roy(SessionStoreEvent).:
> java.lang.RuntimeException: Could not create the session singleton
> instance of
> 'org.eclipse.jface.resource.JFaceResources$ImageRegistryStor e' because
> an Exception was thrown by the constructor:
> null.
> As a solution for this problem (thanks to Cameron McKenzie) I have
> deleted the JDBC-Drivers from my .war but then my application can not
> connect to the Derby DB(without that drivers) :(
> If I take off the JDBC-Drivers from my .war, then I have the following
> exception:
> Exception Description: Unable to acquire a connection from driver
> [null], user [null] and URL [null]. Verify that you have set the
> expected driver class and URL. Check your login, persistence.xml or
> sessions.xml resource. The jdbc.driver property should be set to a
> class that is compatible with your database platform.
>
> I don't know what should I do in this case :(
>
> Thank you very much for any help!!!
>
> With respect, Serghei.
>


--
Benjamin Muskalla | EclipseSource Karlsruhe
http://www.eclipsesource.com | http://twitter.com/eclipsesource
Previous Topic:RAP Internationalization
Next Topic:Splash screen hiding
Goto Forum:
  


Current Time: Tue Apr 30 07:43:54 GMT 2024

Powered by FUDForum. Page generated in 0.04293 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top