Hi,

I am getting an error when running the JOnAS server (everything seems now to
deploy okay). It seems to initialise the beans okay but I get the error:

...
getPrimaryKeyField()=public java.lang.String
examples.ejb.basic.containerManaged.AccountBean.accountId
getDatasourceJndiName()=weblogic.jdbc.connectionPool.demoPool
getJdbcTableName()=ejbAccounts
DataSourceFactory: return the matching ConnectionManager
examples.ejb.basic.containerManaged.JOnASAccountBeanAccountHome loaded
    Call of examples.ejb.basic.containerManaged.JOnASAccountBeanAccountHome
constructor : java.lang.NoSuchMethodException: <init>
java.lang.NoSuchMethodException: <init>
        at java.lang.Class.getConstructor0(Native Method)
        at java.lang.Class.getConstructor(Class.java:890)
        at
org.objectweb.jonas.container.Container.addBeans(Container.java:157)
        at
org.objectweb.jonas.container.EJBContainerManager.createEJBContainer(EJBCont
ainerManager.java:65)
        at
org.objectweb.jonas.container.EJBContainerManager.createEJBContainers(EJBCon
tainerManager.java, Compiled Code)
        at org.objectweb.jonas.server.Server.main(Server.java:113)
Cannot create containers : java.lang.NullPointerException
java.lang.NullPointerException
        at java.util.Hashtable.put(Hashtable.java, Compiled Code)
        at
org.objectweb.jonas.container.Container.addBeans(Container.java:169)
        at
org.objectweb.jonas.container.EJBContainerManager.createEJBContainer(EJBCont
ainerManager.java:65)
        at
org.objectweb.jonas.container.EJBContainerManager.createEJBContainers(EJBCon
tainerManager.java, Compiled Code)
        at org.objectweb.jonas.server.Server.main(Server.java:113)
...

Does this mean that the datasource that I am mapping to is not specified
correctly? 
What does it mean by "return the matching ConnectionManager"? 
My jdbc drivers are referenced in the class path as well, so I do not think
that is the problem.
The problem seems to be related to the generated JOnASAccountBeanAccountHome
file?
I can deploy a BMP Bean fine and run the server without getting errors (not
tried looking it up via a client yet though). Which perhaps points towards
it being a CMP related error?

Any help (again) appreciated. Thanks.

Andy.
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to