On Mon, Apr 16, 2001 at 06:30:41PM -0500, Doug Ferguson wrote:
> Hey,
> 
> I am trying to access a datasource from outside  a bean.
> 
> I get a not bound naming exception.
> 
> What do I need to do?

<rant target="everybody asking for help">
1) Don't ask the same question more then once. This list is very active and
   deliberately sending duplicate messages is inconsiderate.

2) Provide some information about what you're doing and what results you see.
   This should be detailed, precise information, preferably with the code
   you are running and stack traces of exceptions you get.

Essentially, be polite and try to do as much as possible to make it easy for
people to help you.
</rant>

Anyway, you should be aware that you can't lookup DataSources from outside
the JVM running JBoss. This is true for the entire java: context. In a bean
or not shouldn't make any difference, as long as your code runs in the same
JVM as JBoss.

Toby.

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

Reply via email to