[DataTest] java.lang.NoClassDefFoundError: java/lang/Char
[DataTest]      at $Proxy2.<clinit>(Unknown Source)

<clinit>...  do you have a static variable in your home interface?  Static
function, class initializer?

Mandar Joshi wrote:

> 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.getStatelessSession
> EJBOb
> ject(JRMPContainerInvoker.java:59)
> [DataTest]      at
>
org.jboss.ejb.StatelessSessionContainer.createHome(StatelessSessionContainer
> .java
> :311)
> [DataTest]      at java.lang.reflect.Method.invoke(Native Method)
> [DataTest]      at
>
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invokeHome(Stat
> eless
> SessionContainer.java:417)
> [DataTest]      at
>
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invokeHome(Statele
> ssSes
> sionInstanceInterceptor.java:72)
> [DataTest]      at
>
org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:135)
> [DataTest]      at
>
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.
> java:
> 263)
> [DataTest]      at
>
org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:86)
> [DataTest]      at
>
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.jav
> a:126
> )
> [DataTest]      at
> org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:106)
> [DataTest]      at
>
org.jboss.ejb.StatelessSessionContainer.invokeHome(StatelessSessionContainer
> .java
> :253)
> [DataTest]      at
>
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invokeHome(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(Unknown 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]





---------------------------------------------------------------------
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.


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

Reply via email to