Make sure that the corresponding relationships and the tables exist in your
new database. These should match with the ones in your previous Database
since you have not modified any bean code.

regards,
Amar.

-----Original Message-----
From: Satyanarayana_Godavarti
[mailto:[EMAIL PROTECTED]
Sent: Friday, July 04, 2003 1:08 PM
To: [EMAIL PROTECTED]
Subject: Weblogic 6.1 and Oracle9i


I am extremely sorry for this.

I have written Oracle8i instead of oracle 9i

Please note that currently we are running our application with oracle 8i as
backend. Now we are updating our database to oracle9i.

Please pardon me for the confusion.

Hi,

We have one web application which is currently running in Weblogic 6.1 with
oracle 8i as backend. We have decided to go for Oracle9i. During this
process we have encountered major problem at very initial stage.

We have separate EJBHOmefaxctory class. When we are looking for EJBHOME it
is throwing an exception. But the same thing is working fine with oracle 8i.

The below is the code

        Object oEJBHome = ctx.lookup(homeNameStr);
      anEJBHome = (EJBHome)PortableRemoteObject.narrow(oEJBHome, homeClass);
The exception is throwing at this line

The exception is

<Jul 4, 2003 12:05:26 PM GMT+05:30> <Info> <EJB> <cmr-pcs063> <myserver>
<ExecuteThread: '11' for queue: 'default'> <> <> <010049> <EJB Exception in
method: ejbCreate: java.lang.ExceptionInInitializerError>
java.lang.ExceptionInInitializerError
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces
sorImpl.java:39)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc
torAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
        at java.lang.Class.newInstance0(Class.java:306)
        at java.lang.Class.newInstance(Class.java:259)
        at javax.rmi.CORBA.Util.createDelegateIfSpecified(Util.java:339)
        at javax.rmi.CORBA.Util.<clinit>(Util.java:51)
        at
javax.rmi.PortableRemoteObject.createDelegateIfSpecified(PortableRemoteObjec
t.java:179)
        at
javax.rmi.PortableRemoteObject.<clinit>(PortableRemoteObject.java:58)
        at
com.bomapp.bom.util.EJBHomeFactory.lookUpHome(EJBHomeFactory.java:80)
        at
com.bomapp.control.ejb.BOMControllerBean.ejbCreate(BOMControllerBean.java:89
)
        at
com.bomapp.control.ejb.BOMControllerBean_eshzfe_Impl.ejbCreate(BOMController
Bean_eshzfe_Impl.java:112)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at
weblogic.ejb20.manager.StatefulSessionManager.create(StatefulSessionManager.
java:661)
        at
weblogic.ejb20.manager.StatefulSessionManager.remoteCreate(StatefulSessionMa
nager.java:709)
        at
weblogic.ejb20.internal.StatefulEJBHome.create(StatefulEJBHome.java:142)
        at
com.bomapp.control.ejb.BOMControllerBean_eshzfe_HomeImpl.create(BOMControlle
rBean_eshzfe_HomeImpl.java:98)
        at
com.bomapp.control.ejb.BOMControllerBean_eshzfe_HomeImpl_WLSkel.invoke(Unkno
wn Source)
        at
weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:288)
        at
weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java
:93)
        at
weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:257)
        at
weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:2
2)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Caused by: java.lang.RuntimeException: could not find or instantiate any
UtilDelegate class
        at weblogic.iiop.UtilDelegateImpl.<clinit>(UtilDelegateImpl.java:72)
        ... 28 more

Please suggest appropriate solution for this problem.

Regards,
S N Murthy Godavarti
Core Competency Group
Satyam Computer Services Ltd
Ph :044 24353221 Extn 3226

**************************************************************************
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to