tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dharamshila Khandelwal <dharmshil...@gmail.com>
Subject Re: Servlet mapping doesn't work after upgrading from Tomcat 5 to 6
Date Wed, 09 Mar 2011 16:58:47 GMT
Hi All,

I was able to make it work. Enable Invoker Servlet Mapping in conf/web.xml.
However I had to enable priveleged="true" in context.xml.
Do you see any flip side to it? I know that it is not the most secured way
but this is my application website and runs in the intranet.
Thanks all for your help!

DS.

On Wed, Mar 9, 2011 at 9:16 AM, Dharamshila Khandelwal <
dharmshila.k@gmail.com> wrote:

> *Localhost.log*
>
> ----------------------------------------------------------------------------------------------------------------------------
> Mar 8, 2011 10:25:32 PM org.apache.catalina.core.ApplicationContext log
> INFO: ContextListener: contextInitialized()
> Mar 8, 2011 10:25:32 PM org.apache.catalina.core.ApplicationContext log
> INFO: SessionListener: contextInitialized()
> Mar 8, 2011 10:25:33 PM org.apache.catalina.core.ApplicationContext log
> INFO: ContextListener: contextInitialized()
> Mar 8, 2011 10:25:33 PM org.apache.catalina.core.ApplicationContext log
> INFO: SessionListener: contextInitialized()
> Mar 8, 2011 10:25:34 PM org.apache.catalina.core.ApplicationContext log
> INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain:
> [org.apache.webapp.balancer.RuleChain:
> [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News /
> Redirect URL: http://www.cnn.com],
> [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name:
> paramName / Target param value: paramValue / Redirect URL:
> http://www.yahoo.com],
> [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL:
> http://jakarta.apache.org]]
> Mar 8, 2011 10:25:34 PM org.apache.catalina.core.ApplicationContext log
> INFO: ContextListener: contextInitialized()
> Mar 8, 2011 10:25:34 PM org.apache.catalina.core.ApplicationContext log
> INFO: SessionListener: contextInitialized()
>
> --------------------------------------------------------------------------------------------------------------------------
> *Catalina.2011.03.08.log*
>
> ---------------------------------------------------------------------------------------------------------------------------
> INFO: Deploying configuration descriptor uom.xml
> Mar 8, 2011 10:25:34 PM org.apache.catalina.startup.HostConfig
> deployDescriptor
> WARNING: A docBase /opt/hsnweb/web01d/apache-tomcat-6.0.32/webapps/uom
> inside the host appBase has been specified, and will be ignored
>
> -------------------------------------------------------------------------------------------------------------------------------
> *Catalina.out*
>
> -------------------------------------------------------------------------------------------------------------------------------
> Mar 8, 2011 10:25:30 PM org.apache.catalina.core.AprLifecycleListener init
> INFO: The APR based Apache Tomcat Native library which allows optimal
> performance in production environments was not found on the
> java.library.path:
> /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/server:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/../lib/i386:/opt/wmsutil/gcc-3.4.3-sparc64/lib:/opt/pvcs/vm/solaris/lib/sparc/native_threads:/usr/lib:/usr/local/lib:/opt/hsnweb/lib:::/usr/java/packages/lib/i386:/lib:/usr/lib
> Mar 8, 2011 10:25:30 PM org.apache.coyote.http11.Http11Protocol init
> INFO: Initializing Coyote HTTP/1.1 on http-9501
> Mar 8, 2011 10:25:30 PM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 972 ms
> Mar 8, 2011 10:25:31 PM org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> Mar 8, 2011 10:25:31 PM org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/6.0.32
> Mar 8, 2011 10:25:31 PM org.apache.catalina.startup.HostConfig
> deployDescriptor
> INFO: Deploying configuration descriptor MOVEHELP.xml
> Mar 8, 2011 10:25:31 PM org.apache.catalina.startup.HostConfig
> deployDescriptor
> WARNING: A docBase /opt/hsnweb/web01d/apache-tomcat-6.0.32/webapps/MOVEHELP
> inside the host appBase has been specified, and will be ignored
> Mar 8, 2011 10:25:31 PM org.apache.catalina.startup.HostConfig
> deployDescriptor
> INFO: Deploying configuration descriptor MOVE.xml
> Mar 8, 2011 10:25:31 PM org.apache.catalina.startup.HostConfig
> deployDescriptor
> WARNING: A docBase /opt/hsnweb/web01d/apache-tomcat-6.0.32/webapps/MOVE
> inside the host appBase has been specified, and will be ignored
> Mar 8, 2011 10:25:32 PM org.apache.catalina.startup.HostConfig
> deployDescriptor
> INFO: Deploying configuration descriptor tomcat-docs.xml
> Mar 8, 2011 10:25:32 PM org.apache.catalina.startup.HostConfig
> deployDescriptor
> WARNING: A docBase
> /opt/hsnweb/web01d/apache-tomcat-6.0.32/webapps/tomcat-docs inside the host
> appBase has been specified, and will be ignored
> Mar 8, 2011 10:25:32 PM org.apache.catalina.startup.HostConfig
> deployDescriptor
> INFO: Deploying configuration descriptor webdav.xml
> Mar 8, 2011 10:25:32 PM org.apache.catalina.startup.HostConfig
> deployDescriptor
> WARNING: A docBase /opt/hsnweb/web01d/apache-tomcat-6.0.32/webapps/webdav
> inside the host appBase has been specified, and will be ignored
> Mar 8, 2011 10:25:32 PM org.apache.catalina.startup.HostConfig
> deployDescriptor
> INFO: Deploying configuration descriptor jsp-examples.xml
> Mar 8, 2011 10:25:32 PM org.apache.catalina.startup.HostConfig
> deployDescriptor
> WARNING: A docBase
> /opt/hsnweb/web01d/apache-tomcat-6.0.32/webapps/jsp-examples inside the host
> appBase has been specified, and will be ignored
> Mar 8, 2011 10:25:32 PM org.apache.catalina.startup.HostConfig
> deployDescriptor
> INFO: Deploying configuration descriptor ROOT.xml
> Mar 8, 2011 10:25:32 PM org.apache.catalina.startup.HostConfig
> deployDescriptor
> WARNING: A docBase /opt/hsnweb/web01d/apache-tomcat-6.0.32/webapps/ROOT
> inside the host appBase has been specified, and will be ignored
> Mar 8, 2011 10:25:32 PM org.apache.catalina.startup.HostConfig
> deployDescriptor
> INFO: Deploying configuration descriptor servlets-examples.xml
> Mar 8, 2011 10:25:32 PM org.apache.catalina.startup.HostConfig
> deployDescriptor
> WARNING: A docBase
> /opt/hsnweb/web01d/apache-tomcat-6.0.32/webapps/servlets-examples inside the
> host appBase has been specified, and will be ignored
> Mar 8, 2011 10:25:33 PM org.apache.catalina.startup.HostConfig
> deployDescriptor
> INFO: Deploying configuration descriptor multipack.xml
> Mar 8, 2011 10:25:33 PM org.apache.catalina.startup.HostConfig
> deployDescriptor
> WARNING: A docBase
> /opt/hsnweb/web01d/apache-tomcat-6.0.32/webapps/multipack inside the host
> appBase has been specified, and will be ignored
> [INFO] PropertyMessageResources - -Initializing,
> config='org.apache.struts.util.LocalStrings', returnNull=true
> [INFO] PropertyMessageResources - -Initializing,
> config='org.apache.struts.action.ActionResources', returnNull=true
> [INFO] PropertyMessageResources - -Initializing,
> config='BankingMessageResources', returnNull=true
> [INFO] PropertyMessageResources - -Initializing,
> config='org.apache.struts.action.ActionResources', returnNull=true
> [INFO] PropertyMessageResources - -Initializing,
> config='BankingMessageResources', returnNull=true
> Mar 8, 2011 10:25:33 PM org.apache.catalina.startup.HostConfig
> deployDescriptor
> INFO: Deploying configuration descriptor MOVED.xml
> Mar 8, 2011 10:25:33 PM org.apache.catalina.startup.HostConfig
> deployDescriptor
> WARNING: A docBase /opt/hsnweb/web01d/apache-tomcat-6.0.32/webapps/MOVED
> inside the host appBase has been specified, and will be ignored
> Mar 8, 2011 10:25:33 PM org.apache.catalina.startup.HostConfig
> deployDescriptor
> INFO: Deploying configuration descriptor balancer.xml
> Mar 8, 2011 10:25:33 PM org.apache.catalina.startup.HostConfig
> deployDescriptor
> WARNING: A docBase /opt/hsnweb/web01d/apache-tomcat-6.0.32/webapps/balancer
> inside the host appBase has been specified, and will be ignored
> Mar 8, 2011 10:25:34 PM org.apache.catalina.startup.HostConfig
> deployDescriptor
> INFO: Deploying configuration descriptor host-manager.xml
> Mar 8, 2011 10:25:34 PM org.apache.catalina.startup.HostConfig
> deployDescriptor
> INFO: Deploying configuration descriptor uom.xml
> Mar 8, 2011 10:25:34 PM org.apache.catalina.startup.HostConfig
> deployDescriptor
> WARNING: A docBase /opt/hsnweb/web01d/apache-tomcat-6.0.32/webapps/uom
> inside the host appBase has been specified, and will be ignored
> [INFO] PropertyMessageResources - -Initializing,
> config='org.apache.struts.util.LocalStrings', returnNull=true
> [INFO] PropertyMessageResources - -Initializing,
> config='org.apache.struts.action.ActionResources', returnNull=true
> [INFO] PropertyMessageResources - -Initializing,
> config='BankingMessageResources', returnNull=true
> [INFO] PropertyMessageResources - -Initializing,
> config='org.apache.struts.action.ActionResources', returnNull=true
> [INFO] PropertyMessageResources - -Initializing,
> config='BankingMessageResources', returnNull=true
> Mar 8, 2011 10:25:34 PM org.apache.catalina.startup.HostConfig
> deployDescriptor
> INFO: Deploying configuration descriptor manager.xml
> Mar 8, 2011 10:25:34 PM org.apache.catalina.startup.HostConfig
> deployDirectory
> INFO: Deploying web application directory examples
> Mar 8, 2011 10:25:34 PM org.apache.catalina.startup.HostConfig
> deployDirectory
> INFO: Deploying web application directory statusapp
> Mar 8, 2011 10:25:34 PM org.apache.catalina.startup.HostConfig
> deployDirectory
> INFO: Deploying web application directory docs
> Mar 8, 2011 10:25:34 PM org.apache.coyote.http11.Http11Protocol start
> INFO: Starting Coyote HTTP/1.1 on http-9501
> Mar 8, 2011 10:25:35 PM org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8009
> Mar 8, 2011 10:25:35 PM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/29  config=null
> Mar 8, 2011 10:25:35 PM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 4259 ms
> 22:26:10.092-null    !!!        com.aki.kona.core.KonaException : SQL
> Statement resulted in no rows. [select menu_item_id from menu_item where
> controller_page = 'default.jsp']
> [INFO] RequestProcessor - -Processing a 'GET' for path '/login'
>
> -----------------------------------------------------------------------------------------------------------------------------------
>
>
> On Wed, Mar 9, 2011 at 4:11 AM, Bob Hall <rfhall3@yahoo.com> wrote:
>
>> Dharamshila,
>>
>> --- On Tue, 3/8/11 at 7:35 PM, Dharamshila Khandelwal <
>> dharmshila.k@gmail.com> wrote:
>> Thanks for your response Christopher!
>> I have structs.jar in WEB-INF/lib. I even tried putting it in
>> CATALINA_HOME/lib, but it didn't work.
>> I have attached the log files as you had requested.
>> As Chris already mentioned, attachments are normally stripped and you will
>> need to copy-paste a hopefully small relevant portion of the log file(s).
>>
>> - Bob
>>
>>
>>
>>
>>
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message