Stuart Barlow wrote:
First af all, you should:
1) Shut down jBoss
2) Refer to the Minerva page, add the corresponding MLET tag to your
$JBOSS_ROOT/vonf/jboss.conf and modify $JBOSS_ROOT/conf/jboss.jcml
3) Restart jBoss. You should see a log message about your new DataSource
pool being bound
Then, back to your bean descriptors:
> jboss.xml...
> <?xml version="1.0" encoding="Cp1252"?>
>
> <jboss>
> <secure>false</secure>
> <container-configurations>
> <container-configuration
[snip] Stuart, you don't really need to put all those standard container
configuration elements in your jboss.xml, just the <sesion> stuff down
here:
[snip]
> <resource-managers>
> <resource-manager res-class="org.jboss.ejb.deployment.JDBCResource">
> <res-name>stuDB</res-name>
> <res-jndi-name>xa.PoolNameStu</res-jndi-name>
> </resource-manager>
> </resource-managers>
That's exactly how I've set up a similar case. But mine works fine
without the next part:
> <enterprise-beans>
[snip]
> <session>
> <ejb-name>Test</ejb-name>
> <jndi-name>Test</jndi-name>
> <configuration-name></configuration-name>
> <resource-ref>
> <res-ref-name>stuDB</res-ref-name>
> <resource-name>stuDB</resource-name>
> </resource-ref>
> </session>
> </enterprise-beans>
> </jboss>
Hope it helps,
Carlos Valiente <[EMAIL PROTECTED]>
--
"Es tristi di pidil, piru is mas tristi di pidil un duminiu .es"
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]