Re: [JBoss-user] Missing or invalid Instance Pool

2001-04-18 Thread Nguyen Thanh Phong

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

I put the following into jboss.xml






DefaultDS
java:/DefaultDS


  


  AddressBean
  sdc/smart/user/AddressHome
  Standard CMP EntityBean



  AdministratorBean
  sdc/smart/user/AdministratorHome
  Standard CMP EntityBean



  SystemUserBean
  sdc/smart/user/SystemUserHome
  Standard CMP EntityBean



  CustomerBean
  sdc/smart/user/CustomerHome
  Standard CMP EntityBean



  ReceiverBean
  sdc/smart/user/ReceiverHome
  Standard CMP EntityBean



  UserManagerBean
  sdc/smart/user/UserManagerHome
  Standard Stateful SessionBean


false
  



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



Re: [JBoss-user] Missing or invalid Instance Pool

2001-04-18 Thread Toby Allsopp

On Thu, Apr 19, 2001 at 08:55:24AM +0700, Nguyen Thanh Phong wrote:
> In my standardjboss.xml, I have this entry " ". 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



Re: [JBoss-user] Missing or invalid Instance Pool

2001-04-18 Thread Nguyen Thanh Phong

In my standardjboss.xml, I have this entry " ". It
obviously means that my resource manager is not configured.

Please help me.

Thanks.

Nguyen Thanh Phong.




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



[JBoss-user] Missing or invalid Instance Pool

2001-04-18 Thread Nguyen Thanh Phong

I got the following error when trying to deploy my bean into Jboss 2.2 (with
Tomcat). I'm using the default value/configuration of Jboss/Tomcat.

[Container factory] org.jboss.ejb.DeploymentException: Missing or invalid
Instan
ce Pool (in jboss.xml or standardjboss.xml)
[Container factory] at
org.jboss.ejb.ContainerFactory.createInstancePool(Con
tainerFactory.java:734)
[Container factory] at
org.jboss.ejb.ContainerFactory.createStatelessSession
Container(ContainerFactory.java:565)
[Container factory] at
org.jboss.ejb.ContainerFactory.createContainer(Contai
nerFactory.java:523)
[Container factory] at
org.jboss.ejb.ContainerFactory.deploy(ContainerFactor
y.java:438)
[Container factory] at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[Container factory] at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[Container factory] at
org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:435)
[Container factory] at
org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:178)
[Container factory] at java.lang.reflect.Method.invoke(Native Method)
[Container factory] at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[Container factory] at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[Container factory] at
org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:358)
[Container factory] at
org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:221)[Container factory]
at java.lang.Thread.run(Thread.java:484)
[J2EE Deployer Default] Starting user.jar failed!
[J2EE Deployer Default] Module user.jar is not running


My jboss.xml is




  


  AddressBean
  sdc/smart/user/AddressHome
  Standard CMP EntityBean



  AdministratorBean
  sdc/smart/user/AdministratorHome
  Standard CMP EntityBean



  SystemUserBean
  sdc/smart/user/SystemUserHome
  Standard CMP EntityBean



  CustomerBean
  sdc/smart/user/CustomerHome
  Standard CMP EntityBean



  ReceiverBean
  sdc/smart/user/ReceiverHome
  Standard CMP EntityBean



  UserManagerBean
  sdc/smart/user/UserManagerHome
  Standard Stateful SessionBean


false
  



What else I have to do to configure the InstancePool. Any example is very
much appreciated.

Thanks.

Nguyen Thanh Phong   Tel: 84-8-837 25 06/837 25 07
Saigon Software Development Company (SDC)Fax: 84-8-837 25 11
10 Co Giang Street, Dist I, HCMC Email:
[EMAIL PROTECTED]
Vietnam



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