dcsimg
WSAD datasource connection
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   guojian_ma
Posted On:   Sunday, November 30, 2003 11:21 AM

I built a datasource connection (using Oracle database) in WSAD (5.1), I can run a web application using the datasource. However, while I running a Java project, the access to the datasource always gives me the following error message:
Error java.lang.IncompatibleClassChangeError: com.ibm.CORBA.iiop.ORB method createObjectURL(Ljava/lang/String;)Lcom/ibm/CORBA/iiop/ObjectURL

The datasource JNDI name is jdbc/FMTEST. I used IBM's context factory to get the initial context, and lookup for "jdbc/FMTEST".

Any help?
Thanks in advance.
George

Re: WSAD datasource connection

Posted By:   Sanjay_Sharma  
Posted On:   Monday, January 19, 2004 11:44 PM

Dear XXXXX

This problem occurs when the server and client are using
different JRE to execute them,

by default the wsad uses IBM Jre,

and the client runs in its own JRE which is of sun,
so when it goes for transforming of class , it gives error

to overcome from this prob.

window->preferences->java->Installer JRE ->
and there select websphere V5 JRE

save it , rebuild it and then run the application
i bet u it will run like a bull

sanjay sharma
About | Sitemap | Contact