Hey

Note that this has been fixed in JDK 1.3.1 that has been released.

/Rickard

"Bordet, Simone" wrote:
> 
> Hey,
> 
> this is a bug in the JDK 1.3, for now you cannot use methods (of the remote
> / home interface) that have a char as parameter.
> See Sun's Bug Parade, n. 4346224
> 
> Simon
> 
> > -----Original Message-----
> > From: Mandar Joshi [mailto:[EMAIL PROTECTED]]
> > Sent: mercoledì 7 marzo 2001 20:13
> > To: JBoss-User
> > Subject: [jBoss-User] Exception while invoking a simple bean.
> >
> >
> > I am gettting an Exception from JBoss server while invoking a
> > simple bean
> >
> > ==============================================================
> > ==============
> > ================
> > [DataTest] TRANSACTION ROLLBACK EXCEPTION:java/lang/Char;
> > nested exception
> > is:
> >         java.lang.NoClassDefFoundError: java/lang/Char
> > [DataTest] java.lang.NoClassDefFoundError: java/lang/Char
> > [DataTest]      at $Proxy2.<clinit>(Unknown Source)
> > [DataTest]      at
> > java.lang.reflect.Constructor.newInstance(Native Method)
> > [DataTest]      at
> > java.lang.reflect.Proxy.newProxyInstance(Unknown Source)
> > [DataTest]      at
> > org.jboss.ejb.plugins.jrmp13.server.JRMPContainerInvoker.getSt
> > atelessSession
> > EJBOb
> > ject(JRMPContainerInvoker.java:59)
> > [DataTest]      at
> > org.jboss.ejb.StatelessSessionContainer.createHome(StatelessSe
> > ssionContainer
> > .java
> > :311)
> > [DataTest]      at java.lang.reflect.Method.invoke(Native Method)
> > [DataTest]      at
> > org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.i
> > nvokeHome(Stat
> > eless
> > SessionContainer.java:417)
> > [DataTest]      at
> > org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invo
> > keHome(Statele
> > ssSes
> > sionInstanceInterceptor.java:72)
> > [DataTest]      at
> > org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxIntercepto
> > rCMT.java:135)
> > [DataTest]      at
> > org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxI
> > nterceptorCMT.
> > java:
> > 263)
> > [DataTest]      at
> > org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxIntercepto
> > rCMT.java:86)
> > [DataTest]      at
> > org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityI
> > nterceptor.jav
> > a:126
> > )
> > [DataTest]      at
> > org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor
> > .java:106)
> > [DataTest]      at
> > org.jboss.ejb.StatelessSessionContainer.invokeHome(StatelessSe
> > ssionContainer
> > .java
> > :253)
> > [DataTest]      at
> > org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invokeH
> > ome(JRMPContai
> > nerIn
> > voker.java:143)
> > [DataTest]      at java.lang.reflect.Method.invoke(Native Method)
> > [DataTest]      at
> > sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
> > [DataTest]      at sun.rmi.transport.Transport$1.run(Unknown Source)
> > [DataTest]      at java.security.AccessController.doPrivileged(Native
> > Method)
> > [DataTest]      at
> > sun.rmi.transport.Transport.serviceCall(Unknown Source)
> > [DataTest]      at
> > sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown
> > Source)
> > [DataTest]      at
> > sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unkno
> > wn Source)
> > [DataTest]      at java.lang.Thread.run(Unknown Source)
> > ==============================================================
> > ==============
> > ==================
> >
> > My beans create method looks like this
> >  public void ejbCreate()
> >  {
> >  }
> >
> >
> > Home' create method is like this
> > DataTest create() throws RemoteException, CreateException;
> >
> > and the client calles it like this
> >
> >       Object ref  = ctx.lookup("DataTest");
> >       // Get a reference from this to the Bean's Home interface
> >       DataTestHome home = (DataTestHome)
> >       PortableRemoteObject.narrow (ref, DataTestHome.class);
> >
> >       // Create an Interest object from the Home interface
> >       DataTest interest = home.create();
> >
> >
> >
> >
> > --
> > --------------------------------------------------------------
> > To subscribe:        [EMAIL PROTECTED]
> > To unsubscribe:      [EMAIL PROTECTED]
> >
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]

-- 
Rickard Öberg

Email: [EMAIL PROTECTED]


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

Reply via email to