No, I haven't touch the standardjboss.xml file.

I put the following into jboss.xml

<?xml version="1.0" encoding="Cp1252"?>

<jboss>
    <resource-managers>
        <resource-manager res-class="org.jboss.ejb.deployment.JDBCResource">
            <res-name>DefaultDS</res-name>
            <res-jndi-name>java:/DefaultDS</res-jndi-name>
        </resource-manager>
    </resource-managers>
  <enterprise-beans>

    <entity>
      <ejb-name>AddressBean</ejb-name>
      <jndi-name>sdc/smart/user/AddressHome</jndi-name>
      <configuration-name>Standard CMP EntityBean</configuration-name>
    </entity>

    <entity>
      <ejb-name>AdministratorBean</ejb-name>
      <jndi-name>sdc/smart/user/AdministratorHome</jndi-name>
      <configuration-name>Standard CMP EntityBean</configuration-name>
    </entity>

    <entity>
      <ejb-name>SystemUserBean</ejb-name>
      <jndi-name>sdc/smart/user/SystemUserHome</jndi-name>
      <configuration-name>Standard CMP EntityBean</configuration-name>
    </entity>

    <entity>
      <ejb-name>CustomerBean</ejb-name>
      <jndi-name>sdc/smart/user/CustomerHome</jndi-name>
      <configuration-name>Standard CMP EntityBean</configuration-name>
    </entity>

    <entity>
      <ejb-name>ReceiverBean</ejb-name>
      <jndi-name>sdc/smart/user/ReceiverHome</jndi-name>
      <configuration-name>Standard CMP EntityBean</configuration-name>
    </entity>

    <session>
      <ejb-name>UserManagerBean</ejb-name>
      <jndi-name>sdc/smart/user/UserManagerHome</jndi-name>
      <configuration-name>Standard Stateful SessionBean</configuration-name>
    </session>

    <secure>false</secure>
  </enterprise-beans>

</jboss>

I have configure DB2 to be bound at java:/DefaultDS. This connection is
working because a stateless session beans is currently working OK.

What value should be used for res-name and res-jndi-name?

Thanks.

Nguyen Thanh Phong.

----- Original Message -----
From: Toby Allsopp <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 19, 2001 9:45 AM
Subject: Re: [JBoss-user] Missing or invalid Instance Pool


> On Thu, Apr 19, 2001 at 08:55:24AM +0700, Nguyen Thanh Phong wrote:
> > In my standardjboss.xml, I have this entry " <resource-managers />". It
> > obviously means that my resource manager is not configured.
>
> Have you changed standardjboss.xml? If not, then that's not the problem,
> because it works for everyone else.
>
> If you have changed standardjboss.xml, please post the changes you've
made.
>
> Toby.
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>



_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to