Hi,

Gerhard Hipfinger wrote:
Hi,

I found the mail in the archive and are stuck with the same exception too.
I use Weblogic 6.1 and followed the instruction in the deployment
documentation.

Anyone out there who solved this or can give me a hint?

I don't know Weblogic, but
java.io.NotSerializableException: weblogic.t3.srvr.T3ServerServices
mean that this class does not implement Serializeable.

I think you don't need the given T3ServerServices instance to
bind OjbStartup to JNDI (that's all you need to do, bind a
OJB class to JNDI to make OJB PB-api accessible via JNDI - by
the way it's also possible to use OJB without bind to JNDI).
So declare 'services' field transient or do completely
remove this field.

(Give it a try - but maybe I'm wrong ;-))

regards,
Armin

Gerhard

ps: I have to work with wl6.1 so don't recomend me to upgrade ;-)


Hi,

I replaced org.zip with org.jar and weblogic found the OjbPbStartup class.
Is there difference between .zip and .jar(+Manifest.mf in .jar)?
However, another error is occured when weblogic loads(run) the
OjbPbStartup
class. The error is
javax.naming.CommunicationException. Root exception is
java.rmi.UnmarshalException: failed to unmarshal cookie; nested exception
is:

java.io.NotSerializableException: weblogic.t3.srvr.T3ServerServices

But, OjbPbStartup is implemented Serializable interface exactly. Anybody
has
the same experience?

Leon



----- Original Message -----
From: "Leon" <[EMAIL PROTECTED]>
To: "OJB Users List" <[EMAIL PROTECTED]>
Sent: Thursday, May 22, 2003 10:05 AM
Subject: Please help on OJB and Weblogic



Hi,

I followed the instructions of setting up OJB for Weblogic from OJB web
site. But I always get critical error:
<May 22, 2003 9:45:03 AM EDT> <Critical> <WebLogicServer> <000286>
<Failed
to invoke startup class "OJB_Startup", java.lang.ClassNotFoundException:
org.apache.ojb.weblogic.OjbPbStartup>

I ziped OjbPbStartup class into org.zip file and put the zip file on the
classpath of weblogic. I can see it in the log file.

####<May 22, 2003 9:45:23 AM EDT> <Info> <Management> <developer>

<myserver>


<main> <kernel identity> <> <141034> <Java system property:

java.class.path


=


C:\j2sdk1.4.1_01\lib\tools.jar;D:\bea\weblogic700\server\lib\org.zip;D:\bea\


weblogic700\server\lib\weblogic.jar>

What's wrong with my setting up? Please give any comments.
Thanx.

Leon







---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]






--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to