You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Mohd. Jeffry" <li...@gmail.com> on 2005/08/01 06:55:08 UTC

need help for deployment of unpack apps at Linux Tomcat 5.0

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 )

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: need help for deployment of unpack apps at Linux Tomcat 5.0

Posted by Lintang JP <li...@gmail.com>.
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 <li...@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 <li...@gmail.com> wrote:
> > you app.specific web.xml, at WEB-INF
> >
> >
> > On 8/1/05, Mohd. Jeffry <li...@gmail.com> wrote:
> > > which one? tomcat or my application web.xml ?
> > >
> > > On 8/1/05, Lintang JP <li...@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

Re: need help for deployment of unpack apps at Linux Tomcat 5.0

Posted by "Mohd. Jeffry" <li...@gmail.com>.
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 <li...@gmail.com> wrote:
> you app.specific web.xml, at WEB-INF
> 
> 
> On 8/1/05, Mohd. Jeffry <li...@gmail.com> wrote:
> > which one?  tomcat or my application web.xml ?
> > 
> > On 8/1/05, Lintang JP <li...@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 )
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > >
> > >
> ---------------------------------------------------------------------
> > > > > > > > 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 )
> > > > > >
> > > > > >
> > > > >
> > >
> ---------------------------------------------------------------------
> > > > > > 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 )
> > > >
> > > >
> > >
> ---------------------------------------------------------------------
> > > > 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.psychotazkia.or.id 


-- 
Malaysian Java Online Community ( 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


Re: need help for deployment of unpack apps at Linux Tomcat 5.0

Posted by Lintang JP <li...@gmail.com>.
you app.specific web.xml, at WEB-INF

On 8/1/05, Mohd. Jeffry <li...@gmail.com> wrote:
> 
> which one? tomcat or my application web.xml ?
> 
> On 8/1/05, Lintang JP <li...@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 <li...@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 <li...@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.2I
> > > > > > > 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

Re: need help for deployment of unpack apps at Linux Tomcat 5.0

Posted by "Mohd. Jeffry" <li...@gmail.com>.
which one?  tomcat or my application web.xml ?

On 8/1/05, Lintang JP <li...@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 <li...@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 <li...@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 )
> > > > > >
> > > > > >
> > > > >
> > >
> ---------------------------------------------------------------------
> > > > > > 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 )
> > > >
> > > >
> > >
> ---------------------------------------------------------------------
> > > > 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 )
> > 
> >
> ---------------------------------------------------------------------
> > 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 )

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: need help for deployment of unpack apps at Linux Tomcat 5.0

Posted by Lintang JP <li...@gmail.com>.
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 <li...@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.StandardHostDeployerinstall
> 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 <li...@gmail.com> wrote:
> > any log file ?
> >
> > On 8/1/05, Mohd. Jeffry <li...@gmail.com> wrote:
> > > I'm not using the war. This is an Unpacked deployment.
> > >
> > > On 8/1/05, Lintang JP <li...@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 <li...@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

Re: need help for deployment of unpack apps at Linux Tomcat 5.0

Posted by "Mohd. Jeffry" <li...@gmail.com>.
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 <li...@gmail.com> wrote:
> any log file ?
> 
> On 8/1/05, Mohd. Jeffry <li...@gmail.com> wrote:
> > I'm not using the war. This is an Unpacked deployment.
> > 
> > On 8/1/05, Lintang JP <li...@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 <li...@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 )
> > > >
> > > >
> > >
> ---------------------------------------------------------------------
> > > > 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 )
> > 
> >
> ---------------------------------------------------------------------
> > 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 )

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: need help for deployment of unpack apps at Linux Tomcat 5.0

Posted by Lintang JP <li...@gmail.com>.
any log file ?

On 8/1/05, Mohd. Jeffry <li...@gmail.com> wrote:
> 
> I'm not using the war. This is an Unpacked deployment.
> 
> On 8/1/05, Lintang JP <li...@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 <li...@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

Re: need help for deployment of unpack apps at Linux Tomcat 5.0

Posted by "Mohd. Jeffry" <li...@gmail.com>.
I'm not using the war. This is an Unpacked deployment. 

On 8/1/05, Lintang JP <li...@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 <li...@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 )
> > 
> >
> ---------------------------------------------------------------------
> > 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 )

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: need help for deployment of unpack apps at Linux Tomcat 5.0

Posted by Lintang JP <li...@gmail.com>.
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 <li...@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