Title: RE: [jBoss-User] unable to create new bean instance

Actually miracles did happen.  I re-assembled jBoss pre-2.1 on my Solaris box and use my client on NT to connect, worked like a charm.

[NT client]------>[jBoss on Solaris/Jdk1.3]--------->[Oracle 8.0.6]
                                                  
Am using thin client of Oracle jdbc driver 8.1.7 (classes12.zip)

I was able to run my first BMP without any problem.

Thanks!


-----Original Message-----
From: David Castro Diephouse [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 06, 2001 10:50 AM
To: JBoss-User; Ernest Chen
Subject: Re: [jBoss-User] unable to create new bean instance


Did you see my note about uncommenting the xid line from jboss.properties?

I do not speak from experience on the OCI drivers issue, that was hearsay.
If I am wrong,
apologies.

> Ernest Chen wrote:
>
> It is, I'm going to push my code to unix box, hopefully miracle might
happen :)
>
> public class KeywordPK extends java.lang.Object implements
java.io.Serializable {
>     public int id;
>
>     public int hashCode() {
>         return id;
>     }
>
>     public boolean equals(Object obj) {
>         if (obj instanceof KeywordPK) {
>             if (((KeywordPK)obj).id == id)
>                 return true;
>         }
>         return false;
>     }
>
> }
>
> -----Original Message-----
> From: Bill Burke [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 06, 2001 12:24 AM
> To: JBoss-User
> Subject: Re: [jBoss-User] unable to create new bean instance
>
> Are your Primary Keys Serializable?
>
> Bill
>
> Ernest Chen wrote:
>
> > I switched to thin drivers but it didn't help.  Finally I migrated my
> > application to jBoss 2.1 pre, seems getting better, however I'm still
> > getting error message when the client calls any method on the home
> > object, i.e. home.create() or home.findByPrimaryKey()
> >
> > Nothing on the server side, can someone tell me how to turn on server
> > side debugging?  thanks!
> >
> > ------------------------------
> >
> > Got context
> > Got reference
> > Got home
> > java.rmi.ServerError: Error occurred in server thread; nested
> > exception is:
> >         java.lang.NoSuchMethodError
> > java.lang.NoSuchMethodError
> >         at
> >
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteC
all.java:245)
> >         at
> >
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220)
> >         at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
> >         at
> >
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker_Stub.invokeHome(Unkno
wn
> > Source)
> >         at
> >
org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java:248)
> >         at $Proxy0.create(Unknown Source)
> >         at
com.starmedia.test.KeywordTester.<init>(KeywordTester.java:35)
> >         at com.starmedia.test.KeywordTester.main(KeywordTester.java:70)
> >
> > -----Original Message-----
> > From: David Castro Diephouse [mailto:[EMAIL PROTECTED]]
> > Sent: Saturday, March 03, 2001 9:21 AM
> > To: JBoss-User; Ernest Chen
> > Subject: Re: [jBoss-User] unable to create new bean instance
> >
> >
> > Be nice to see the stack trace from the server (not the client)
> >
> > OCI8 drivers are a BAD idea.  get the thin drivers (classes12.zip) for
> > 8.1.7
> >
> >  > Ernest Chen wrote:
> >  >
> >  > Hi,
> >  >
> >  > I just got my CMP Bean working on jBoss 2.0 Final standalone,
> > however my client is having problem creating new object, I'm getting
> > the following exception, can anyone help?
> >
> >  >
> >  > Thanks
> >  >
> >  > p.s.  I'm using Oracle 8.1.7 client on NT oci8 JDBC driver.
> >  >
> >  > -------------------------
> >  >
> >  > Got context
> >  > Got reference
> >  > Got home
> >  > javax.ejb.CreateException: Could not create
> > entity:java.lang.RuntimeException: Unable to register with
> > TransactionManager: java.lang.IllegalArgumentException: null xaRes
> >
> >  >
> >  >         at
> >
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteC
all.java:245)
> >  >         at
> >
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220)
> >  >         at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
> >  >         at
> >
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker_Stub.invokeHome(Unkno
wn
> > Source)
> >  >         at
> >
org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java:221)
> >  >         at $Proxy0.create(Unknown Source)
> >  >         at
> > com.starmedia.test.KeywordTester.<init>(KeywordTester.java:34)
> >  >         at
com.starmedia.test.KeywordTester.main(KeywordTester.java:66)
> >
>
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]





---------------------------------------------------------------------
This message (including any attachments) contains confidential, proprietary
or privileged information intended for a specific purpose and individual(s),
and is protected by law.  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.  Any unauthorized disclosure,
copying or distribution of any part of this message, or the taking of any
unauthorized action based on it, is strictly prohibited.

Reply via email to