Re: Why naming service is not available when Servlet is initializing?(Tomcat 5.5.9)

2005-11-11 Thread Jian Liao
Hi Dj, J2 final is going to release, I am busy at helping it, but I will let you know if I get it work.   Cheers, - Jian Liao   On 11/12/05, David Jencks <[EMAIL PROTECTED]> wrote: If you have jetspeed 2 successfully running in geronimo we'd greatlyappreciate instructions or configuration info on h

Re: Why naming service is not available when Servlet is initializing?(Tomcat 5.5.9)

2005-11-11 Thread David Jencks
If you have jetspeed 2 successfully running in geronimo we'd greatly appreciate instructions or configuration info on how to do it :-) thanks david jencks On Nov 6, 2005, at 4:16 AM, Jian Liao wrote: All, I updated all the source code, applied the patch and rebuilt Geronimo. Then I deploy t

Re: Why naming service is not available when Servlet is initializing?(Tomcat 5.5.9)

2005-11-06 Thread Jian Liao
All, I updated all the source code, applied the patch and rebuilt Geronimo. Then I deploy the jetspeed.ear. It seems that the issue had been fixed. Hope the patch would be applied to trunk soon. Thanks. - Jian LiaoOn 11/5/05, Bruce Snyder <[EMAIL PROTECTED]> wrote: On 11/5/05, David Jencks <[EM

Re: Why naming service is not available when Servlet is initializing?(Tomcat 5.5.9)

2005-11-05 Thread Bruce Snyder
On 11/5/05, David Jencks <[EMAIL PROTECTED]> wrote: > Your analysis is completely correct. I coded a solution for tomcat > rather similar to that for jetty, and it does fix the init problems, > but appears to introduce some others. I hope to get it all working > soon and checked in. Although Jef

Re: Why naming service is not available when Servlet is initializing?(Tomcat 5.5.9)

2005-11-04 Thread David Jencks
Your analysis is completely correct. I coded a solution for tomcat rather similar to that for jetty, and it does fix the init problems, but appears to introduce some others. I hope to get it all working soon and checked in. thanks david jencks On Nov 4, 2005, at 7:50 PM, Jian Liao wrote:

Re: Why naming service is not available when Servlet is initializing?(Tomcat 5.5.9)

2005-11-04 Thread David Jencks
You found a bug in the tomcat integration! I opened GERONIMO-1131 to track this. Would you be willing to try jetty, where this particular bug is not present? Of course you are welcome to fix the problem :-) thanks david jencks On Nov 4, 2005, at 12:57 AM, Jian Liao wrote: Hi, well, st

Re: Why naming service is not available when Servlet is initializing?(Tomcat 5.5.9)

2005-11-04 Thread Jian Liao
Hi david, Thank you so much for your respond. I will look into it tonight. regards, - James LiaoOn 11/4/05, David Jencks <[EMAIL PROTECTED]> wrote: There are some problems with your plans.  There are several ways tosolve them, I'm going to recommend this one: it is most appropriate ifyou are plan

Re: Why naming service is not available when Servlet is initializing?(Tomcat 5.5.9)

2005-11-03 Thread David Jencks
There are some problems with your plans. There are several ways to solve them, I'm going to recommend this one: it is most appropriate if you are planning to eventually include more content in your ear than just jetspeed.war. If all additional content will be in other applications, then t

Re: Why naming service is not available when Servlet is initializing?(Tomcat 5.5.9)

2005-11-03 Thread Jian Liao
Sorry, I pasted wrong geronimo-application.xml. The following should be right:    xmlns="http://geronimo.apache.org/xml/ns/j2ee/application"    configId="org/apache/jetspeed">             portlet-api     portlet-api     1.0             org.apache.pluto     pluto   

Re: Why naming service is not available when Servlet is initializing?(Tomcat 5.5.9)

2005-11-03 Thread Jian Liao
Hi david, I did use the svn head and following are my web.xml in "jetspeed/WEB-INF/" which is about jndi data source. ..   DB Connection   jdbc/jetspeed   javax.sql.DataSource   Container .. - James Liao On 11/4/05, Jian Liao <[EMAIL PROTECTED]> wrote: Thanks for respon

Re: Why naming service is not available when Servlet is initializing?(Tomcat 5.5.9)

2005-11-03 Thread Jian Liao
Thanks for respond. The directory structural: jetspeed.ear | |--META-INF |    |---geronimo-application.xml |    |---application.xml | |--tranql-connector-1.0-SNAPSHOT.rar |--oracle-plan.xml |--jetspeed.war   jetspeed.war | | |--WEB-

Re: Why naming service is not available when Servlet is initializing?(Tomcat 5.5.9)

2005-11-03 Thread David Jencks
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 doin

Re: Why naming service is not available when Servlet is initializing?(Tomcat 5.5.9)

2005-11-03 Thread Jian Liao
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 LiaoOn 11/4/05, Jian Liao <[EMAIL

Re: Why naming service is not available when Servlet is initializing?(Tomcat 5.5.9)

2005-11-03 Thread Jian Liao
Jetty is running within Geronimo. thanks. - James LiaoOn 11/4/05, Bruce Snyder <[EMAIL PROTECTED]> wrote: On 11/3/05, Jian Liao <[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 Jet

Re: Why naming service is not available when Servlet is initializing?(Tomcat 5.5.9)

2005-11-03 Thread Bruce Snyder
On 11/3/05, Jian Liao <[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/jetspee

Why naming service is not available when Servlet is initializing?(Tomcat 5.5.9)

2005-11-03 Thread Jian Liao
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