Re: Possible for G to directly consume a Tomcat server config w/o changes?

2009-07-12 Thread Ivan
2009/6/23 David Jencks > > On Jun 22, 2009, at 9:27 PM, Ivan wrote: > > After checking the current changes to the realm, in the past, we will set > the geronimo-admin for the Engine, which means that all the web-apps belong > to the Engine will use the realm setting from its parent if no setting

Re: Possible for G to directly consume a Tomcat server config w/o changes?

2009-06-22 Thread David Jencks
On Jun 22, 2009, at 9:27 PM, Ivan wrote: After checking the current changes to the realm, in the past, we will set the geronimo-admin for the Engine, which means that all the web-apps belong to the Engine will use the realm setting from its parent if no setting is set for those web-apps. C

Re: Possible for G to directly consume a Tomcat server config w/o changes?

2009-06-22 Thread Ivan
After checking the current changes to the realm, in the past, we will set the geronimo-admin for the Engine, which means that all the web-apps belong to the Engine will use the realm setting from its parent if no setting is set for those web-apps. Currently, the realm for the Engine is remained for

Re: Possible for G to directly consume a Tomcat server config w/o changes?

2009-06-22 Thread Ivan
2009/6/22 David Jencks > > On Jun 21, 2009, at 10:20 PM, Ivan wrote: > > > > 2009/6/22 David Jencks > >> >> On Jun 19, 2009, at 9:18 PM, Ivan wrote: >> >> Currently, what I can see are >> 1. Recover those configurations that we used for Tomcat in the server.xml >> >> >> For connectors, I may ha

Re: Possible for G to directly consume a Tomcat server config w/o changes?

2009-06-22 Thread David Jencks
On Jun 21, 2009, at 10:20 PM, Ivan wrote: 2009/6/22 David Jencks On Jun 19, 2009, at 9:18 PM, Ivan wrote: Currently, what I can see are 1. Recover those configurations that we used for Tomcat in the server.xml For connectors, I may have done most of this in my work for (3) coul

Re: Possible for G to directly consume a Tomcat server config w/o changes?

2009-06-21 Thread Ivan
2009/6/22 David Jencks > > On Jun 19, 2009, at 9:18 PM, Ivan wrote: > > Currently, what I can see are > 1. Recover those configurations that we used for Tomcat in the server.xml > > > For connectors, I may have done most of this in my work for (3) could > use some checking. I'd also like to

Re: Possible for G to directly consume a Tomcat server config w/o changes?

2009-06-21 Thread David Jencks
On Jun 19, 2009, at 9:18 PM, Ivan wrote: Currently, what I can see are 1. Recover those configurations that we used for Tomcat in the server.xml For connectors, I may have done most of this in my work for (3) could use some checking. I'd also like to see if I can make the tomcat c

Re: Possible for G to directly consume a Tomcat server config w/o changes?

2009-06-19 Thread Ivan
Currently, what I can see are 1. Recover those configurations that we used for Tomcat in the server.xml 2. Update the console codes, and decide whether we need to keep the functions like add/remove connectors. If keep, the way we do it is to add/remove ConnectorGBean or to marshall/remarshall serv

Re: Possible for G to directly consume a Tomcat server config w/o changes?

2009-06-19 Thread David Jencks
After fixing the HostGBean in web app plan problem I don't have a very clear idea of what's missing here. If one of you do could you please list in detail what needs to be done? thanks david jencks On Jun 19, 2009, at 8:51 AM, Ivan wrote: It is easy to add the SSL connector, the things tha

Re: Possible for G to directly consume a Tomcat server config w/o changes?

2009-06-19 Thread David Jencks
On Jun 15, 2009, at 9:11 PM, David Jencks wrote: On Jun 15, 2009, at 7:05 PM, Ivan wrote: 2009/6/16 David Jencks On Jun 15, 2009, at 3:16 AM, Ivan wrote: Hi, After reading those Tomcat integration codes, it seems easier for those Tomcat users. But maybe much further work need to b

Re: Possible for G to directly consume a Tomcat server config w/o changes?

2009-06-19 Thread Ivan
It is easy to add the SSL connector, the things that Jack concens is that, how do the changes affect other components, I think. Ivan 2009/6/19 Kevan Miller > > On Jun 19, 2009, at 2:31 AM, Jack Cai wrote: > > Looks like this is going be a piece of non-trivial work. Considering that >> we are go

Re: Possible for G to directly consume a Tomcat server config w/o changes?

2009-06-19 Thread Kevan Miller
On Jun 19, 2009, at 2:31 AM, Jack Cai wrote: Looks like this is going be a piece of non-trivial work. Considering that we are going for a 2.2 release, should we re-evaluate whether this feature should be in 2.2? My gut feeling is no. We should really stablize the code and resovle TCK issue

Re: Possible for G to directly consume a Tomcat server config w/o changes?

2009-06-15 Thread Ivan
Tomcat-ext from https://repository.apache.org/content/repositories/snapshots/org/apache/geronimo/ext/tomcat/ . I added the url https://repository.apache.org/content/repositories/snapshotsto my local pom.xm

Re: Possible for G to directly consume a Tomcat server config w/o changes?

2009-06-15 Thread David Jencks
On Jun 14, 2009, at 11:15 PM, Ivan wrote: See, I got those artifacts from that url, which artifacts from which url? So do we need to add this url to the pom.xml of Geronimo's root folder. I found that it is comment out in that file ? Which url? the apache nexus snapshot repo is already

Re: Possible for G to directly consume a Tomcat server config w/o changes?

2009-06-14 Thread Ivan
See, I got those artifacts from that url, So do we need to add this url to the pom.xml of Geronimo's root folder. I found that it is comment out in that file ? Thanks ! Ivan 2009/6/15 David Jencks > > On Jun 14, 2009, at 8:30 PM, Ivan wrote: > > In which snapshot site, I could find the tomcat bu

Re: Possible for G to directly consume a Tomcat server config w/o changes?

2009-06-14 Thread David Jencks
On Jun 14, 2009, at 8:30 PM, Ivan wrote: In which snapshot site, I could find the tomcat build ? I have checked the people, not found. https://repository.apache.org/content/repositories/snapshots/org/apache/geronimo/ext/tomcat/ This is in the apache 6 pom... are you having trouble accessing

Re: Possible for G to directly consume a Tomcat server config w/o changes?

2009-06-14 Thread Ivan
In which snapshot site, I could find the tomcat build ? I have checked the people, not found. Then I tried to build them on my local machine, some errors occured, is there any option that I could set ? (I just run 'mvn install') For the tomcat-archetype, it said that org.eclipse.jdt:core:jar:3.2.3.

Re: Possible for G to directly consume a Tomcat server config w/o changes?

2009-06-14 Thread David Jencks
I pushed a snapshot of our new tomcat build earlier today and just committed the server.xml changes to trunk. With a little luck I won't have made the build significantly more broken. thanks david jencks On Jun 12, 2009, at 11:21 AM, David Jencks wrote: On Jun 12, 2009, at 10:51 AM, Ke

Re: Possible for G to directly consume a Tomcat server config w/o changes?

2009-06-12 Thread David Jencks
On Jun 12, 2009, at 10:51 AM, Kevan Miller wrote: On Jun 5, 2009, at 3:00 AM, David Jencks wrote: On Jun 3, 2009, at 10:35 PM, Kevan Miller wrote: On Jun 2, 2009, at 6:46 PM, David Jencks wrote: I played with something like this on the plane today. it might not take more that a

Re: Possible for G to directly consume a Tomcat server config w/o changes?

2009-06-12 Thread Kevan Miller
On Jun 5, 2009, at 3:00 AM, David Jencks wrote: On Jun 3, 2009, at 10:35 PM, Kevan Miller wrote: On Jun 2, 2009, at 6:46 PM, David Jencks wrote: I played with something like this on the plane today. it might not take more that a couple days to get _something_ working that interp

Re: Possible for G to directly consume a Tomcat server config w/o changes?

2009-06-05 Thread David Jencks
On Jun 3, 2009, at 10:35 PM, Kevan Miller wrote: On Jun 2, 2009, at 6:46 PM, David Jencks wrote: I played with something like this on the plane today. it might not take more that a couple days to get _something_ working that interprets server.xml files. It turns out there's no sch

Re: Possible for G to directly consume a Tomcat server config w/o changes?

2009-06-04 Thread David Jencks
On Jun 3, 2009, at 11:47 PM, Ivan wrote: I remember that in server.xml, datasouce could be defined. While importing the xml file, shall we also need to create rar configuration for them? I doubt it. I'm currently thinking that we will keep letting geronimo construct all of the jndi cont

Re: Possible for G to directly consume a Tomcat server config w/o changes?

2009-06-03 Thread Ivan
I remember that in server.xml, datasouce could be defined. While importing the xml file, shall we also need to create rar configuration for them? Ivan 2009/6/4 Kevan Miller > > On Jun 2, 2009, at 6:46 PM, David Jencks wrote: > > > >> >> I played with something like this on the plane today.

Re: Possible for G to directly consume a Tomcat server config w/o changes?

2009-06-03 Thread Kevan Miller
On Jun 2, 2009, at 6:46 PM, David Jencks wrote: I played with something like this on the plane today. it might not take more that a couple days to get _something_ working that interprets server.xml files. It turns out there's no schema for tomcat configurations so it may be an adve

Re: Possible for G to directly consume a Tomcat server config w/o changes?

2009-06-02 Thread David Jencks
On May 19, 2009, at 3:09 PM, David Jencks wrote: On May 19, 2009, at 12:42 PM, Bill Stoddard wrote: Lin Sun wrote: One quick way would be allow users to start a tomcat server from a geronimo tomcat javaee5 assembly or little G tomcat assembly(say geronimo.sh start tomcatOnly=true). It is

Re: Possible for G to directly consume a Tomcat server config w/o changes?

2009-05-20 Thread David Jencks
On May 20, 2009, at 7:44 AM, Ivan wrote: I guess that what David means is that writing a deployer for server.xml, then in the builder class, construct those tomcat server gbeans, and add those gbeans to the tomcat plugin section in the config.xml. So that we could imitate a totally same to

Re: Possible for G to directly consume a Tomcat server config w/o changes?

2009-05-20 Thread Jack Cai
Agree that we won't contain this in G 2.2, but it might be a candidate feature for futher release like JEE6 Web Profile. Importing Tomcat server configs is relatively easier than importing Tomcat applications. If we consider an application which uses Struts, Hibernate, Spring, AXIS2 etc. (which is

Re: Possible for G to directly consume a Tomcat server config w/o changes?

2009-05-20 Thread Ivan
I guess that what David means is that writing a deployer for server.xml, then in the builder class, construct those tomcat server gbeans, and add those gbeans to the tomcat plugin section in the config.xml. So that we could imitate a totally same tomcat environment for those tomcat-ready applicatio

Re: Possible for G to directly consume a Tomcat server config w/o changes?

2009-05-20 Thread Lin Sun
One example that we did this is with the config-substitution property file where we allow users to specify configuration and the server reads the config-substitution property file during the startup of the server. If we more or less freeze the configuration, wouldn't this (reading data from serve

Re: Possible for G to directly consume a Tomcat server config w/o changes?

2009-05-20 Thread David Jencks
On May 19, 2009, at 8:17 PM, Lin Sun wrote: I am not a tomcat expert either... :-) I think we could also try the following approach: 1. figure out how to read tomcat server.xml like you described. Tomcat is using 2. at the G server startup, transform data in tomcat server.xml into G config.xml

Re: Possible for G to directly consume a Tomcat server config w/o changes?

2009-05-19 Thread Lin Sun
I am not a tomcat expert either... :-) I think we could also try the following approach: 1. figure out how to read tomcat server.xml like you described. Tomcat is using 2. at the G server startup, transform data in tomcat server.xml into G config.xml, if there is change to server.xml since last ti

Re: Possible for G to directly consume a Tomcat server config w/o changes?

2009-05-19 Thread David Jencks
On May 19, 2009, at 12:42 PM, Bill Stoddard wrote: Lin Sun wrote: One quick way would be allow users to start a tomcat server from a geronimo tomcat javaee5 assembly or little G tomcat assembly(say geronimo.sh start tomcatOnly=true). It is possible to just launch the tomcat server, and read

Re: Possible for G to directly consume a Tomcat server config w/o changes?

2009-05-19 Thread Bill Stoddard
Lin Sun wrote: One quick way would be allow users to start a tomcat server from a geronimo tomcat javaee5 assembly or little G tomcat assembly(say geronimo.sh start tomcatOnly=true). It is possible to just launch the tomcat server, and read the configuration files (conf/server.xml, etc) and st

Re: Possible for G to directly consume a Tomcat server config w/o changes?

2009-05-19 Thread Lin Sun
One quick way would be allow users to start a tomcat server from a geronimo tomcat javaee5 assembly or little G tomcat assembly(say geronimo.sh start tomcatOnly=true). It is possible to just launch the tomcat server, and read the configuration files (conf/server.xml, etc) and start a tomcat serv

Re: Possible for G to directly consume a Tomcat server config w/o changes?

2009-05-19 Thread Jack Cai
One option is to have an "import" tool, with which a user simply specifies Tomcat's config dir and import the configurations and even the deployed applications to Geronimo. Technical doable, but there are many details to deal with, like resources, reamls, JAR version conflicts, etc. etc. It won't b

Possible for G to directly consume a Tomcat server config w/o changes?

2009-05-18 Thread Bill Stoddard
I know G can't consume tomcat configs today, but is this a feature that could be developed for G 2.2? Say I have an application successfully deployed and running under Tomcat.. wouldn't it be nice if I were able to drop the tomcat server config into a Geronimo-Tomcat assembly, start the serve