We do not support using jBoss data sources outside of EJBs. It is
impossible, currently, due to ClassLoader issues (even if the VM is the
same). It may (may!) become possible in the future, but there would be no
transaction integration. I would suggest you make your JSPs or servlets
call EJBs to do any database work. If you really need your JSPs to do it,
you can create a separate Minerva pool (of the non-transactional
variety) in Tomcat or your web app which would be accessible to all
servlets and JSPs in tomcat or in the web app.
Aaron
On Fri, 29 Sep 2000, Vasu Muppalla wrote:
> I use Tomcat 3.2 Beta and Jboss 2.0 beta on NT 4 with oracle
> datasources.
>
> I defined the data sources and I saw them initialized by Jboss. I try to
>
> lookup the
> data source in a class on Tomcat ( invoked in a JSP) and get null.
>
> I also printed the bound objects in the initial context with
> getInitialContext().list( <string>) and see that the data source is
> bound to the clasname. I tried using the listBindings method but thats
> not supported apparently ( even though I included Jboss in tomcat's
> classpath).
>
> Since tomcat is running in the same VM as Jboss, the data source objects
>
> are probably not getting bound to the datasource names in the initial
> context. Anyone else having this problem ?
>
>
>
>
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Problems?: [EMAIL PROTECTED]
>
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]