Nested Field does not have a get method

Discussions

EJB programming & troubleshooting: Nested Field does not have a get method

  1. Nested Field does not have a get method (1 messages)

    Hi All
    I am having such problem during deployment .Why such problem occur while deploynent.

    [Container factory] ERROR: Nested Field does not have a get method

     [AutoDeployer] Auto deploy of file:/D:/JBossTomcat/JBoss-2.4.1_Tomcat-3.2.3/jboss/deploy/Main_cmp.jar
    [J2EE Deployer Default] Deploy J2EE application: file:/D:/JBossTomcat/JBoss-2.4.1_Tomcat-3.2.3/jboss/deploy/Main_cmp.jar
    [J2eeDeployer] Create application Main_cmp.jar
    [J2eeDeployer] install EJB module Main_cmp.jar
    [Container factory] Deploying:file:/D:/JBossTomcat/JBoss-2.4.1_Tomcat-3.2.3/jboss/tmp/deploy/Default/Main_cmp.jar
    [Default] Deprecated container invoker. Change to org.jboss.ejb.plugins.jrmp.server.JRMPContainer
    Invoker
    [Default] Deprecated container invoker. Change to org.jboss.ejb.plugins.jrmp.server.JRMPContainer
    Invoker
    [Default] Deprecated container invoker. Change to org.jboss.ejb.plugins.jrmp.server.JRMPContainer
    Invoker
    [Default] Deprecated container invoker. Change to org.jboss.ejb.plugins.jrmp.server.JRMPContainer
    Invoker
    [Verifier] Verifying file:/D:/JBossTomcat/JBoss-2.4.1_Tomcat-3.2.3/jboss/tmp/deploy/Default/Main_
    cmp.jar/ejb1003.jar
    [Container factory] Deploying MAIN
    [Container factory] ERROR : Nested Field does not have a get method
    [ContainerManagement] Initializing
    [ContainerManagement] Initialized
    [ContainerManagement] Starting
    [ContainerManagement] Started
    [Container factory] Deployed application: file:/D:/JBossTomcat/JBoss-2.4.1_Tomcat-3.2.3/jboss/tmp/deploy/Default/Main_cmp.jar/
    [J2EE Deployer Default] J2EE application: file:/D:/JBossTomcat/JBoss-2.4.1_Tomcat-3.2.3/jboss/deploy/Main_cmp.jar is deployed.


    But Ejb is deployed. And when I call create method it gives such exception

    The exception occur ============= java.rmi.ServerException: RemoteException occurred in server
    read; nested exception is:
            javax.transaction.TransactionRolledbackException: null
    Embedded Exception
    null; nested exception is:
            javax.ejb.EJBException: null
    Embedded Exception
    null
    java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
            javax.transaction.TransactionRolledbackException: null
    Embedded Exception
    null; nested exception is:
            javax.ejb.EJBException: null
    Embedded Exception
    null
    javax.transaction.TransactionRolledbackException: null
    Embedded Exception
    null; nested exception is:
            javax.ejb.EJBException: null
    Embedded Exception
    null
    javax.ejb.EJBException: null
    Embedded Exception
    null
            at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:2
    45)
            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(Unknown Source)

            at org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invokeHome(HomeProxy.java:258)
            at org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java:182)
            at $Proxy0.create(Unknown Source)
            at ClientMain.main(ClientMain.java:26)
    java.lang.NullPointerException
            <

    Please suggest me some solution and causes of such errors.

    Regard

    Gajanan
  2. It looks like you havbe updated from a previous version of jboss and have copied the standardjboss.xml that defines the container configuration for the beans. use the settings from the standardjboss.xml that come with the 2.4.1 distribution

    Joost.