How are you setting up the datasource for j2 to use? You need to look
up something like java:comp/env/jdbc/jetspeed and either deploy a
datasource "named" jdbc/jetspeed or map it to whatever the datasource
is named.
If you are deploying the datasource in the same plan as j2 (I recommend
doing this) you need to use geronimo head because the appropriate
dependencies to force the correct start order were only added last
week.
If you are still having problems please show us your geronimo plan.
thanks
david jencks
On Nov 3, 2005, at 10:35 PM, Jian Liao wrote:
Sorry, I forgot to tell Jetspeed 2 work perfectly with tomcat 5.5.9
standalone. Because Tomcat5.5.9 use its own naming services with
useNaming = true by default. I saw that Geronimo disable it in
TomcatContainer.doStart() with embedded.setUseNaming(false).
- James Liao
On 11/4/05, Jian Liao <[EMAIL PROTECTED]> wrote:
- James Liao
On 11/4/05, Bruce Snyder < [EMAIL PROTECTED]>
wrote:[EMAIL PROTECTED]> wrote:
> All,
> I'm trying to integrate jetspeed 2 with geronimo(svn head) and
tomcat-5.5.9
> as web container.
> The deployment is successful. But Jetspeed will initialize OJB in
> JetspeedServlet.init() method which needs to obtain resource
jdbc/jetspeed
> through JNDI. It just can not get it cause the context is never
bind to the
> thread.
>
> I try it with Jetty and it works because
ComponentContextBeforeAfter is
> called.
>
> I am wondering if I am not allowed to do any JNDI operation in
> Servlet.init ()?
Have you tried this in Tomcat running standalone? When you tried it
with Jetty, was Jetty running standalone or within Geronimo?
Bruce
--
perl -e 'print
unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
The Castor Project
http://www.castor.org/
Apache Geronimo
http://geronimo.apache.org/