Hi All,

I downloaded Ken's jBoss stuff for the R M-H examples. I built everything,
but got a client error so made the simplest client I could make, just to
create a bean. I got the same error. I try to create a cabin bean, and I get
the following, server-side and client-side respectively. jBoss looks OK, but
the client is not!

I have CVS from about 4hrs ago, so I should be current(-ish!!).

Peter.

- - 8< - - [snipped server startup... all OK] - - 8< - -

[Default] jBoss 2.0 Started
[Default] JRMPCI:invokeHome public abstract com.titan.cabin.Cabin
com.titan.cabin.CabinHome.create(i
nt) throws javax.ejb.CreateException,java.rmi.RemoteException
[CabinBean] Found metadata for bean 'CabinBean' method is create
[JAWS] Create, id is 1
[JAWS] Exists command executing: SELECT COUNT(*) AS Total FROM CabinBean
WHERE id=?
[JAWS] Set parameter: idx=1, jdbcType=INTEGER, value=1
[JAWS] Create command executing: INSERT INTO CabinBean
(ship,deckLevel,bedCount,name,id) VALUES (?,?
,?,?,?)
[JAWS] Set parameter: idx=1, jdbcType=INTEGER, value=0
[JAWS] Set parameter: idx=2, jdbcType=INTEGER, value=0
[JAWS] Set parameter: idx=3, jdbcType=INTEGER, value=0
[JAWS] Set parameter: idx=4, jdbcType=VARCHAR, value=NULL
[JAWS] Set parameter: idx=5, jdbcType=INTEGER, value=1
[JAWS] Rows affected = 1
[CabinBean] null

- - [Client Output] - -

java.lang.NullPointerException
 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.titan.cabin.MyClient.main(MyClient.java:54)




--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to