Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 86580 invoked from network); 17 Oct 2005 19:40:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Oct 2005 19:40:12 -0000 Received: (qmail 79636 invoked by uid 500); 17 Oct 2005 19:40:08 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 79592 invoked by uid 500); 17 Oct 2005 19:40:08 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 79581 invoked by uid 99); 17 Oct 2005 19:40:08 -0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Oct 2005 12:40:06 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id BEB1250F for ; Mon, 17 Oct 2005 21:39:45 +0200 (CEST) Message-ID: <1407898974.1129577985779.JavaMail.jira@ajax.apache.org> Date: Mon, 17 Oct 2005 21:39:45 +0200 (CEST) From: "Lin Sun (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Commented: (GERONIMO-1083) daytrader does not work with tomcat In-Reply-To: <1807093402.1129558605102.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GERONIMO-1083?page=comments#action_12332280 ] Lin Sun commented on GERONIMO-1083: ----------------------------------- Deleted the additional spaces, rebuilt using maven, redeploy daytrader, but still got the same error at the same line #: [ContextConfig] Occurred at line 368 column 33 > daytrader does not work with tomcat > ----------------------------------- > > Key: GERONIMO-1083 > URL: http://issues.apache.org/jira/browse/GERONIMO-1083 > Project: Geronimo > Type: Bug > Components: sample apps, Tomcat > Versions: 1.0-M5 > Environment: Windows and Tomcat as the default web container > Reporter: Lin Sun > Assignee: Matt Hogstrom > > when I deploy dayTrade with tomcat as the default web container, found below exceptions in the logs, and I could not even get to the http://localhost:8080/daytrader page. > 16:45:38,534 DEBUG [ContainerBase] Add child StandardWrapper[org_apache_geronimo_samples_daytrader_TradeWSAction] > StandardEngine[Geronimo].StandardHost[0.0.0.0].StandardContext[/trade] > 16:45:38,537 ERROR [Digester] End event threw exception > java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code)) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code)) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code)) > ... ... > Caused by: java.lang.NullPointerException > at org.apache.catalina.core.StandardContext.addMessageDestinationRef(StandardContext.java:2121) > ... 95 more > 16:45:38,541 ERROR [ContextConfig] Parse error in application web.xml > java.lang.NullPointerException > at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java(Inlined Compiled Code)) > at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java(Inlined Compiled Code)) > at org.apache.tomcat.util.digester.Digester.endElement(Digester.java(Compiled Code)) > ... > 16:45:38,543 DEBUG [ContextConfig] ====================== > 16:45:38,543 ERROR [ContextConfig] Marking this application unavailable due to previous error(s) > 16:45:38,543 ERROR [StandardContext] Error getConfigured > 16:45:38,543 ERROR [StandardContext] Context [/trade] startup failed due to previous errors > This is caused by the tags inside the web.xml of tradeWeb.war. Somehow tomcat doesn't like it. I tried to comment out the following and things started to work again. However, without the tags, the JMS resources are not defined correctly. > > I don't mind digging more into this...any hint/advice is appreciated! -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira