tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lintang JP <lintang...@gmail.com>
Subject Re: need help for deployment of unpack apps at Linux Tomcat 5.0
Date Mon, 01 Aug 2005 11:42:31 GMT
1. try to match the <servlet-name> part with the <servlet-mapping>, maybe 
there's some unmatch item there
2. If U just migrate to tomcat 5, U shd also look the DTD item at the top of 
your web.xml file, which dtd is used by web.xml in tomcat 5

I guess that's all ?

On 8/1/05, Mohd. Jeffry <linuxlah@gmail.com> wrote:
> 
> I don't think its a good idea to post it here. The files got thousands
> of lines.. perhaps there are specific parts that I should be look in
> to?
> 
> On 8/1/05, Lintang JP <lintang.jp@gmail.com> wrote:
> > you app.specific web.xml, at WEB-INF
> >
> >
> > On 8/1/05, Mohd. Jeffry <linuxlah@gmail.com> wrote:
> > > which one? tomcat or my application web.xml ?
> > >
> > > On 8/1/05, Lintang JP <lintang.jp@gmail.com> wrote:
> > > > Servlet mapping specifies an
> > > > unknown servlet name invoker
> > > >
> > > > Maybe you try to map a servlet name that's not declared yet on 
> web.xml
> > ?
> > > > How about your web.xml file ?
> > > >
> > > >
> > > > On 8/1/05, Mohd. Jeffry <linuxlah@gmail.com > wrote:
> > > > >
> > > > > my application name is sd. This is my catalina.out
> > > > >
> > > > > .
> > > > > .
> > > > > .
> > > > > INFO: Processing Context configuration file URL
> > > > > file:/etc/tomcat5/Catalina/localhost/balancer.xml
> > > > > Aug 1, 2005 11:21:31 PM
> > > > org.apache.catalina.core.StandardHostDeployer install
> > > > > INFO: Installing web application at context path /sd from URL
> > > > > file:/opt/tomcat5/webapps/sd
> > > > > Aug 1, 2005 11:21:33 PM
> > > > org.apache.commons.digester.Digester endElement
> > > > > SEVERE: End event threw exception
> > > > > java.lang.reflect.InvocationTargetException
> > > > > at
> > > > sun.reflect.GeneratedMethodAccessor46.invoke (Unknown
> > > > Source)
> > > > > at
> > > >
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:25)
> > > > > at java.lang.reflect.Method.invoke(Method.java:324)
> > > > > at
> > > >
> > org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java
> :252)
> > > > > at
> > > >
> > org.apache.commons.digester.CallMethodRule.end(CallMethodRule.java
> > > > :505)
> > > > > .
> > > > > .
> > > > > .
> > > > > .Aug 1, 2005 11:21:33 PM
> > > > org.apache.catalina.startup.ContextConfig
> > > > > applicationConfig
> > > > > SEVERE: Parse error in application web.xml
> > > > > java.lang.IllegalArgumentException : Servlet mapping
> > > > specifies an
> > > > > unknown servlet name invoker
> > > > > at
> > > >
> > org.apache.commons.digester.Digester.createSAXException(Digester.java
> :2540)
> > > > > at
> > > >
> > org.apache.commons.digester.Digester.createSAXException(Digester.java
> :2566)
> > > > > at
> > > >
> > org.apache.commons.digester.Digester.endElement(Digester.java:1061)
> > > > > at
> > > > org.apache.xerces.parsers.AbstractSAXParser.endElement
> > (Unknown
> > > > > Source)
> > > > > at
> > > >
> > org.apache.xerces.impl.dtd.XMLDTDValidator.endNamespaceScope
> > > > (Unknown
> > > > > Source)
> > > > > at
> > > >
> > org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement
> > (Unknown
> > > > > Source)
> > > > > at
> > > >
> > org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown
> > > > Source)
> > > > > at
> > > >
> > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement
> > > > (Unknown
> > > > > Source)
> > > > > at
> > > >
> > 
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch
> (Unknown
> > > > > Source)
> > > > > at
> > > >
> > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument
> > > > (Unknown
> > > > > Source)
> > > > > .
> > > > > .
> > > > > .
> > > > > .
> > > > >
> > > > >
> > > > >
> > > > > On 8/1/05, Lintang JP < lintang.jp@gmail.com> wrote:
> > > > > > any log file ?
> > > > > >
> > > > > > On 8/1/05, Mohd. Jeffry < linuxlah@gmail.com > wrote:
> > > > > > > I'm not using the war. This is an Unpacked deployment.
> > > > > > >
> > > > > > > On 8/1/05, Lintang JP < lintang.jp@gmail.com > wrote:
> > > > > > > > Hi Jeffry, are you trying to deploy a .war file ?
maybe U 
> should
> > use
> > > > the
> > > > > > > > tomcat manager, usually it's located at
> > > > > > > > http://localhost:8080/manager/html, U can
> > deploy
> > > > your
> > > > > > .war
> > > > > > > > files from that tools.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > On 8/1/05, Mohd. Jeffry < linuxlah@gmail.com>
wrote:
> > > > > > > > >
> > > > > > > > > I'm migrating form Tomcat 4.1.2 to Tomcat 5.0.
In Tomcat 
> 4.1.2
> > I
> > > > > > > > > usually put my unpacked apps at /opt/tomcat/webapps/myapp

> and
> > it
> > > > work.
> > > > > > > > > Now It doesn't work with the newly installed
tomcat 5. 
> Tomcat
> > > > gives me
> > > > > > > > > 404 error. The example that came with the package
works 
> fine.
> > Any
> > > > > > > > > thing that I miss?
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Malaysian Java Online Community ( www.kampungjawa.cjb.net<http://www.kampungjawa.cjb.net>)
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> > ---------------------------------------------------------------------
> > > > > > > > > To unsubscribe, e-mail:
> > > > > > > > tomcat-user-unsubscribe@jakarta.apache.org
> > > > > > > > > For additional commands, e-mail:
> > > > > > > > tomcat-user-help@jakarta.apache.org
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > >
> > > > > >
> > > >
> > -------------------------------------------------------------------
> > > > > > > > http://www.psychotazkia.or.id
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Malaysian Java Online Community ( www.kampungjawa.cjb.net<http://www.kampungjawa.cjb.net>)
> > > > > > >
> > > > > > >
> > > > > >
> > > >
> > ---------------------------------------------------------------------
> > > > > > > To unsubscribe, e-mail:
> > > > > > tomcat-user-unsubscribe@jakarta.apache.org
> > > > > > > For additional commands, e-mail:
> > > > > > tomcat-user-help@jakarta.apache.org
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > >
> > > >
> > -------------------------------------------------------------------
> > > > > > http://www.psychotazkia.or.id
> > > > >
> > > > >
> > > > > --
> > > > > Malaysian Java Online Community ( www.kampungjawa.cjb.net<http://www.kampungjawa.cjb.net>)
> > > > >
> > > > >
> > > >
> > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail:
> > > > tomcat-user-unsubscribe@jakarta.apache.org
> > > > > For additional commands, e-mail:
> > > > tomcat-user-help@jakarta.apache.org
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > >
> > -------------------------------------------------------------------
> > > > http://www.psychotazkia.or.id
> > >
> > >
> > > --
> > > Malaysian Java Online Community ( www.kampungjawa.cjb.net<http://www.kampungjawa.cjb.net>)
> > >
> >
> >
> >
> > --
> > -------------------------------------------------------------------
> >
> > http://www.psychotazkia.or.id
> 
> 
> --
> Malaysian Java Online Community ( www.kampungjawa.cjb.net<http://www.kampungjawa.cjb.net>)
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 


-- 
-------------------------------------------------------------------
http://www.psychotazkia.or.id

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