Hi again:
This is beginning to work :-)
Two more points:
(1) When deploying my beans the server shows this exception
--------------------------------
[Container factory] Deploying AreaSession
at org.jboss.ejb.Container.setupEnvironment(Container.java:373)
at org.jboss.ejb.Container.init(Container.java:157)
at org.jboss.ejb.EntityContainer.init(EntityContainer.java:85)
at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:226)
..............
(more lines)
..............
[Container factory] org.jboss.ejb.DeploymentException: No resource
manager named , Cause:null
--------------------------------
In my entity beans I have this resource reference
--------------------------------
<resource-ref>
<res-ref-name>jdbc/DBMS</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
--------------------------------
And jboss.conf is the same as the last mail. JDBC driver
is loaded correctly.
(2) I have tried to deploy TestBeans.jar (from zola, updated today) and
I get this exception
--------------------------------
[Container factory] Started: nextgen.EntityPK
at org.jboss.ejb.Container.setupEnvironment(Container.java:354)
at org.jboss.ejb.Container.init(Container.java:157)
at org.jboss.ejb.EntityContainer.init(EntityContainer.java:85)
at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:226)
..........
(more lines)
..........
[Container factory] java.lang.NullPointerException
--------------------------------
I have modified the code to see what is null in Container.java:354.
Here is what I have seen...
--------------------------------
reg.getName() -> ejb/myEJBRef
reg.getLink() ->
getApplication().getContainer(ref.getLink()) -> null
--------------------------------
And this is from the ejb-jar.xml of TestBeans.jar
--------------------------------
<ejb-ref>
<description>An EJB ref for this bean to test</description>
<ejb-ref-name>ejb/myEJBRef</ejb-ref-name>
<ejb-ref-type>Stateless</ejb-ref-type>
<home>org.jboss.zol.testbean.interfaces.StatelessSessionHome</home>
<remote>org.jboss.zol.testbean.interfaces.StatelessSession</remote>
</ejb-ref>
--------------------------------
And... that's all :-)
I hope this isn't a lot of work for you Rickard ;-)
Regards
Pedro
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]