geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan <xhh...@gmail.com>
Subject Re: Possible for G to directly consume a Tomcat server config w/o changes?
Date Mon, 15 Jun 2009 10:16:59 GMT
Hi,
   After reading those Tomcat integration codes, it seems easier for those
Tomcat users. But maybe much further work need to be done due to this
change, I just feel that this change is "too big" :-)
  From what I see,
  1. Some portlet codes needs to be update, such as we could never list
connectors via searching GBeans in the kernel.
  2. In the server.xml, we may need some placeholders to use those values in
the config-subsitution.xml file
  3. Many configurations used in the past could not be used, such as
HostGBean, ValveGBean ..etc
   ...
 Any comment, or maybe I missed anything ?
 Thanks !


2009/6/15 Ivan <xhhsld@gmail.com>

> Hi, I paste some logs from my server build.
> 1. Not sure why ? I did not do a further invesitigation, any comment !
> ---------->
> 2009-06-15 03:04:35,346 INFO  [SystemProperties] Setting
> Property=org.apache.catalina.STRICT_SERVLET_COMPLIANCE to Value=true
> 2009-06-15 03:04:35,673 ERROR [ServerLifecycleListener] createMBeans:
> MBeanException
> java.lang.Exception: ManagedBean is not found with MBeanFactory
>     at
> org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.java:459)
>     at
> org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecycleListener.java:553)
>     at
> org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecycleListener.java:277)
>     at
> org.apache.catalina.mbeans.ServerLifecycleListener.lifecycleEvent(ServerLifecycleListener.java:129)
>     at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
>     at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:703)
>     at
> org.apache.geronimo.tomcat.TomcatServerGBean.doStart(TomcatServerGBean.java:108)
>     at
> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:948)
>     at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:269)
>     at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:103)
>     at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:125)
>     at
> org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:538)
>     at
> org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:377)
>     at
> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456)
>     at
> org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:190)
>     at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:546)
>     at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
>     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     at java.lang.reflect.Method.invoke(Method.java:585)
>     at
> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
>     at
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130)
>     at
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:815)
>     at
> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>     at
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
>     at
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
>     at
> org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$63df5cd5.startConfiguration(<generated>)
>     at
> org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:161)
>     at
> org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:78)
>     at
> org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
>     at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
>     at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30)
> 2009-06-15 03:04:35,705 INFO  [StandardService] Starting service Catalina
> 2009-06-15 03:04:35,729 WARN  [MemoryUserDatabase] User database is not
> persistable - no write permissions on directory
> 2009-06-15 03:04:36,874 INFO  [startup] Assembling app:
> /home/xuhaihong/geronimo/plugins/mejb/geronimo-mejb/target/geronimo-mejb-2.2-SNAPSHOT.jar
> <--------------
>
> 2. Some Null PointerException while adding the connector via GBean. Seems
> that the new ServerGBean also need to have a gerService method, and save the
> reference to the embbed variable of ContainerGBean. Or those functions in
> the portlet are not work. I will do this change.
>
> Thanks !
> Ivan
> 2009/6/15 Ivan <xhhsld@gmail.com>
>
> 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/snapshots<https://repository.apache.org/content/repositories/snapshots/org/apache/geronimo/ext/tomcat/>to
my local pom.xml, then I could build the whole Geronimo server.
>> By the way, the server failed to start, I am trying to find why.
>>
>> Thanks !
>> Ivan
>>
>> 2009/6/15 David Jencks <david_jencks@yahoo.com>
>>
>>>
>>> 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 in the apache 6
>>> root pom.  It looks like some of the links on the index page at
>>> http://repository.apache.org/snapshots
>>> don't work but typing in more of a url seems to get to the right content.
>>>
>>> thanks
>>> david jencks
>>>
>>>
>>>
>>> Thanks !
>>> Ivan
>>>
>>> 2009/6/15 David Jencks <david_jencks@yahoo.com>
>>>
>>>>
>>>> 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 it from
>>>> china?
>>>>
>>>> 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')
>>>>
>>>>
>>>> Don't build the archetype directly.... run ./build-archetype.sh.  It
>>>> only works on unix like systems.
>>>>
>>>> did you check out  this?
>>>>
>>>> https://svn.apache.org/repos/asf/geronimo/external/trunk/tomcat-parent-6.0.18
>>>>
>>>> For the tomcat-archetype, it said that
>>>> org.eclipse.jdt:core:jar:3.2.3.v_686_R32x could not be found
>>>>
>>>>
>>>> that's odd, I thought my local nexus found it in maven central repo but
>>>> it's not there now.  I'll update it to 3.3.0-v_771
>>>>
>>>> For the tomcat-parent-6.0.18, it said
>>>> --->
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/core/DefaultInstanceManager.java:[42,20]
>>>> package javax.xml.ws does not exist
>>>>
>>>>
>>>> I was compiling on java 6.  I'll add geronimo-jaxws_2.1_spec
>>>>
>>>> Thanks for trying it out, let me know if there are more problems!
>>>> david jencks
>>>>
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/session/StandardSession.java:[47,26]
>>>> [deprecation] javax.servlet.http.HttpSessionContext in javax.servlet.http
>>>> has been deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/session/StandardSessionFacade.java:[26,26]
>>>> [deprecation] javax.servlet.http.HttpSessionContext in javax.servlet.http
>>>> has been deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/session/StandardSession.java:[268,21]
>>>> [deprecation] javax.servlet.http.HttpSessionContext in javax.servlet.http
>>>> has been deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/session/StandardSessionFacade.java:[104,11]
>>>> [deprecation] javax.servlet.http.HttpSessionContext in javax.servlet.http
>>>> has been deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/core/StandardWrapper.java:[43,21]
>>>> [deprecation] javax.servlet.SingleThreadModel in javax.servlet has been
>>>> deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/coyote/Response.java:[477,43]
>>>> [deprecation] isSpace(char) in java.lang.Character has been deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/connector/Response.java:[756,47]
>>>> [deprecation] isSpace(char) in java.lang.Character has been deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/connector/Connector.java:[1012,36]
>>>> [deprecation] encode(java.lang.String) in java.net.URLEncoder has been
>>>> deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/core/DefaultInstanceManager.java:[263,53]
>>>> cannot find symbol
>>>> symbol  : class WebServiceRef
>>>> location: class org.apache.catalina.core.DefaultInstanceManager
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/core/DefaultInstanceManager.java:[264,20]
>>>> cannot find symbol
>>>> symbol  : class WebServiceRef
>>>> location: class org.apache.catalina.core.DefaultInstanceManager
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/core/DefaultInstanceManager.java:[265,44]
>>>> cannot find symbol
>>>> symbol  : class WebServiceRef
>>>> location: class org.apache.catalina.core.DefaultInstanceManager
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/core/DefaultInstanceManager.java:[295,54]
>>>> cannot find symbol
>>>> symbol  : class WebServiceRef
>>>> location: class org.apache.catalina.core.DefaultInstanceManager
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/core/DefaultInstanceManager.java:[296,20]
>>>> cannot find symbol
>>>> symbol  : class WebServiceRef
>>>> location: class org.apache.catalina.core.DefaultInstanceManager
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/core/DefaultInstanceManager.java:[297,45]
>>>> cannot find symbol
>>>> symbol  : class WebServiceRef
>>>> location: class org.apache.catalina.core.DefaultInstanceManager
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/jk/common/JniHandler.java:[170,30]
>>>> [deprecation] MsgContext() in org.apache.jk.core.MsgContext has been
>>>> deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/jk/common/JniHandler.java:[171,23]
>>>> [deprecation] MsgAjp() in org.apache.jk.common.MsgAjp has been deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/core/DummyResponse.java:[122,16]
>>>> [deprecation] setStatus(int,java.lang.String) in
>>>> javax.servlet.http.HttpServletResponse has been deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/core/DummyResponse.java:[111,18]
>>>> [deprecation] encodeRedirectUrl(java.lang.String) in
>>>> javax.servlet.http.HttpServletResponse has been deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/core/DummyResponse.java:[113,18]
>>>> [deprecation] encodeUrl(java.lang.String) in
>>>> javax.servlet.http.HttpServletResponse has been deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/core/DummyRequest.java:[258,19]
>>>> [deprecation] isRequestedSessionIdFromUrl() in
>>>> javax.servlet.http.HttpServletRequest has been deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/core/DummyRequest.java:[205,18]
>>>> [deprecation] getRealPath(java.lang.String) in javax.servlet.ServletRequest
>>>> has been deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/session/StandardSessionFacade.java:[144,16]
>>>> [deprecation] removeValue(java.lang.String) in
>>>> javax.servlet.http.HttpSession has been deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/session/StandardSessionFacade.java:[134,16]
>>>> [deprecation] putValue(java.lang.String,java.lang.Object) in
>>>> javax.servlet.http.HttpSession has been deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/session/StandardSessionFacade.java:[124,20]
>>>> [deprecation] getValueNames() in javax.servlet.http.HttpSession has been
>>>> deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/session/StandardSessionFacade.java:[114,18]
>>>> [deprecation] getValue(java.lang.String) in javax.servlet.http.HttpSession
>>>> has been deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/session/StandardSessionFacade.java:[104,30]
>>>> [deprecation] getSessionContext() in javax.servlet.http.HttpSession has been
>>>> deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/session/StandardSessionFacade.java:[105,22]
>>>> [deprecation] getSessionContext() in javax.servlet.http.HttpSession has been
>>>> deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/session/StandardSessionFacade.java:[125,22]
>>>> [deprecation] getValueNames() in javax.servlet.http.HttpSession has been
>>>> deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/jk/common/ChannelSocket.java:[786,36]
>>>> [deprecation] encode(java.lang.String) in java.net.URLEncoder has been
>>>> deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/ssi/ResponseIncludeWrapper.java:[39,7]
>>>> [deprecation] setStatus(int,java.lang.String) in
>>>> javax.servlet.http.HttpServletResponse has been deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/ssi/ResponseIncludeWrapper.java:[39,7]
>>>> [deprecation] encodeRedirectUrl(java.lang.String) in
>>>> javax.servlet.http.HttpServletResponse has been deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/ssi/ResponseIncludeWrapper.java:[39,7]
>>>> [deprecation] encodeUrl(java.lang.String) in
>>>> javax.servlet.http.HttpServletResponse has been deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/jk/common/ChannelUn.java:[299,24]
>>>> [deprecation] MsgAjp() in org.apache.jk.common.MsgAjp has been deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/jk/common/ChannelUn.java:[353,36]
>>>> [deprecation] encode(java.lang.String) in java.net.URLEncoder has been
>>>> deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/core/ApplicationHttpResponse.java:[339,16]
>>>> [deprecation] setStatus(int,java.lang.String) in
>>>> javax.servlet.http.HttpServletResponse has been deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/core/ApplicationHttpResponse.java:[48,0]
>>>> [deprecation] encodeRedirectUrl(java.lang.String) in
>>>> javax.servlet.http.HttpServletResponse has been deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/core/ApplicationHttpResponse.java:[48,0]
>>>> [deprecation] encodeUrl(java.lang.String) in
>>>> javax.servlet.http.HttpServletResponse has been deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/core/ApplicationHttpResponse.java:[342,12]
>>>> [deprecation] setStatus(int,java.lang.String) in
>>>> javax.servlet.http.HttpServletResponse has been deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/jk/common/WorkerDummy.java:[58,16]
>>>> [deprecation] MsgAjp() in org.apache.jk.common.MsgAjp has been deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/manager/util/SessionUtils.java:[121,101]
>>>> non-varargs call of varargs method with inexact argument type for last
>>>> parameter;
>>>> cast to java.lang.Class for a varargs call
>>>> cast to java.lang.Class[] for a non-varargs call and to suppress this
>>>> warning
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/manager/util/SessionUtils.java:[124,94]
>>>> non-varargs call of varargs method with inexact argument type for last
>>>> parameter;
>>>> cast to java.lang.Object for a varargs call
>>>> cast to java.lang.Object[] for a non-varargs call and to suppress this
>>>> warning
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/coyote/http11/Http11NioProtocol.java:[349,36]
>>>> [deprecation] encode(java.lang.String) in java.net.URLEncoder has been
>>>> deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/tomcat/util/net/jsse/JSSEImplementation.java:[64,22]
>>>> [deprecation] getSSLSupport(javax.net.ssl.SSLSession) in
>>>> org.apache.tomcat.util.net.SSLImplementation has been deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/tomcat/util/net/jsse/JSSEImplementation.java:[64,22]
>>>> [deprecation] getSSLSupport(javax.net.ssl.SSLSession) in
>>>> org.apache.tomcat.util.net.SSLImplementation has been deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/servlets/InvokerHttpRequest.java:[36,0]
>>>> [deprecation] getRealPath(java.lang.String) in javax.servlet.ServletRequest
>>>> has been deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/servlets/InvokerHttpRequest.java:[36,0]
>>>> [deprecation] isRequestedSessionIdFromUrl() in
>>>> javax.servlet.http.HttpServletRequest has been deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/servlets/InvokerHttpRequest.java:[36,0]
>>>> [deprecation] getRealPath(java.lang.String) in javax.servlet.ServletRequest
>>>> has been deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/core/StandardWrapper.java:[1110,51]
>>>> [deprecation] javax.servlet.SingleThreadModel in javax.servlet has been
>>>> deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/coyote/ajp/AjpAprProtocol.java:[236,36]
>>>> [deprecation] encode(java.lang.String) in java.net.URLEncoder has been
>>>> deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/coyote/http11/Http11Protocol.java:[250,36]
>>>> [deprecation] encode(java.lang.String) in java.net.URLEncoder has been
>>>> deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/startup/SetNextNamingRule.java:[84,16]
>>>> [deprecation] end() in org.apache.tomcat.util.digester.Rule has been
>>>> deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/coyote/ajp/AjpProtocol.java:[235,36]
>>>> [deprecation] encode(java.lang.String) in java.net.URLEncoder has been
>>>> deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/core/ApplicationHttpRequest.java:[61,0]
>>>> [deprecation] getRealPath(java.lang.String) in javax.servlet.ServletRequest
>>>> has been deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/core/ApplicationHttpRequest.java:[61,0]
>>>> [deprecation] isRequestedSessionIdFromUrl() in
>>>> javax.servlet.http.HttpServletRequest has been deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/core/ApplicationHttpRequest.java:[61,0]
>>>> [deprecation] getRealPath(java.lang.String) in javax.servlet.ServletRequest
>>>> has been deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/startup/ConnectorCreateRule.java:[49,16]
>>>> [deprecation] begin(org.xml.sax.Attributes) in
>>>> org.apache.tomcat.util.digester.Rule has been deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/startup/ConnectorCreateRule.java:[70,16]
>>>> [deprecation] end() in org.apache.tomcat.util.digester.Rule has been
>>>> deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/valves/ExtendedAccessLogValve.java:[410,29]
>>>> [deprecation] encode(java.lang.String) in java.net.URLEncoder has been
>>>> deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/connector/CoyoteAdapter.java:[626,24]
>>>> [deprecation]
>>>> convert(org.apache.tomcat.util.buf.ByteChunk,org.apache.tomcat.util.buf.CharChunk)
>>>> in org.apache.tomcat.util.buf.B2CConverter has been deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/jk/common/ChannelNioSocket.java:[733,36]
>>>> [deprecation] encode(java.lang.String) in java.net.URLEncoder has been
>>>> deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/core/ApplicationRequest.java:[49,0]
>>>> [deprecation] getRealPath(java.lang.String) in javax.servlet.ServletRequest
>>>> has been deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/core/ApplicationContextFacade.java:[256,16]
>>>> [deprecation] log(java.lang.Exception,java.lang.String) in
>>>> javax.servlet.ServletContext has been deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/core/ApplicationContextFacade.java:[238,23]
>>>> [deprecation] getServletNames() in javax.servlet.ServletContext has been
>>>> deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/core/ApplicationContextFacade.java:[229,23]
>>>> [deprecation] getServlets() in javax.servlet.ServletContext has been
>>>> deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/core/ApplicationContextFacade.java:[211,19]
>>>> [deprecation] getServlet(java.lang.String) in javax.servlet.ServletContext
>>>> has been deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/core/ApplicationContextFacade.java:[224,26]
>>>> [deprecation] getServlet(java.lang.String) in
>>>> org.apache.catalina.core.ApplicationContext has been deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/core/ApplicationContextFacade.java:[233,26]
>>>> [deprecation] getServlets() in org.apache.catalina.core.ApplicationContext
>>>> has been deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/core/ApplicationContextFacade.java:[242,26]
>>>> [deprecation] getServletNames() in
>>>> org.apache.catalina.core.ApplicationContext has been deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/core/ApplicationContextFacade.java:[261,19]
>>>> [deprecation] log(java.lang.Exception,java.lang.String) in
>>>> org.apache.catalina.core.ApplicationContext has been deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/coyote/http11/Http11AprProtocol.java:[184,36]
>>>> [deprecation] encode(java.lang.String) in java.net.URLEncoder has been
>>>> deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/startup/WebRuleSet.java:[754,16]
>>>> [deprecation] end() in org.apache.tomcat.util.digester.Rule has been
>>>> deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/startup/WebRuleSet.java:[866,16]
>>>> [deprecation] body(java.lang.String) in org.apache.tomcat.util.digester.Rule
>>>> has been deprecated
>>>>
>>>> /home/xuhaihong/external/tomcat-parent-6.0.18/catalina/src/main/java/org/apache/catalina/startup/WebRuleSet.java:[890,16]
>>>> [deprecation] body(java.lang.String) in org.apache.tomcat.util.digester.Rule
>>>> has been deprecated
>>>>
>>>>
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] For more information, run Maven with the -e switch
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: 15 seconds
>>>> [INFO] Finished at: Sun Jun 14 23:34:06 EDT 2009
>>>> [INFO] Final Memory: 54M/352M
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>>
>>>> <---
>>>> Thanks !
>>>>     Ivan
>>>>
>>>> 2009/6/14 David Jencks <david_jencks@yahoo.com>
>>>>
>>>>> 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, 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:
>>>>>>>>>
>>>>>>>>> <snip>
>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> 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 adventure interpreting the same files
they do.
>>>>>>>>>>
>>>>>>>>>> We might be able to copy their digester configuration
but replace
>>>>>>>>>> defaults with geronimo classes instead of tomcat
classes.  I find digester
>>>>>>>>>> grammar so hard to understand however that I started
by generating a schema
>>>>>>>>>> from a sample file and modifying it to fit the digeter
rules.
>>>>>>>>>>
>>>>>>>>>> My current idea is to have a TomcatServerGBean that
has a
>>>>>>>>>> server.xml as an attribute, which it reads into a
jaxb tree, which we call a
>>>>>>>>>> "construct(ClassLoader cl)" method on to set up the
tomcat objects.  If this
>>>>>>>>>> works it should be fairly easy.... no idea if it
will actually work though.
>>>>>>>>>>
>>>>>>>>>> Next step would be a builder that, given a server.xml,
sets up
>>>>>>>>>> such a gbean.
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Sounds interesting. IIUC, this embedded Tomcat instance
replaces
>>>>>>>>> our current embedded Tomcat. It improves our ability
to configure this
>>>>>>>>> instance -- it's native Tomcat config.
>>>>>>>>>
>>>>>>>>> Are you thinking about all configuration files? E.g.
>>>>>>>>> WEB-INF/context.xml, conf/context.xml? There are catalina.policy,
>>>>>>>>> catalina.properties, tomcat-users.xml, also. Hmm. gets
a little messier...
>>>>>>>>>
>>>>>>>>
>>>>>>>> I have enough working now so I can run the admin console
on a server
>>>>>>>> set up this way.  I haven't looked at any files other than
server.xml yet.
>>>>>>>>  Some like tomcat-users.xml are for a security realm we aren't
going to use
>>>>>>>> or, probably, support using.  Not sure about the others.
>>>>>>>>
>>>>>>>
>>>>>>> Cool. Can you point me to the code?
>>>>>>>
>>>>>>
>>>>>> I'm hoping to get it checked in today.  I have a bunch of stuff
>>>>>> intertwined locally so this involves figuring out where to put our
tomcat
>>>>>> build in svn and pushing a snapshot for it first.  I still don't
have a good
>>>>>> idea where in svn to put builds of other projects.  I guess I'll
use
>>>>>> "external" and we can move it if anyone has a better idea.
>>>>>>
>>>>>> thanks
>>>>>> david jencks
>>>>>>
>>>>>>
>>>>>>>
>>>>>>> --kevan
>>>>>>>
>>>>>>
>>>>
>>>>
>>>> --
>>>> Ivan
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Ivan
>>>
>>>
>>>
>>
>>
>> --
>> Ivan
>>
>
>
>
> --
> Ivan
>



-- 
Ivan

Mime
View raw message