Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 47724 invoked from network); 13 Dec 2007 10:37:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Dec 2007 10:37:49 -0000 Received: (qmail 55387 invoked by uid 500); 13 Dec 2007 10:37:29 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 55360 invoked by uid 500); 13 Dec 2007 10:37:28 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 55020 invoked by uid 99); 13 Dec 2007 10:37:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Dec 2007 02:37:27 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Dec 2007 10:37:28 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1J2lRD-000361-8A for users@activemq.apache.org; Thu, 13 Dec 2007 02:37:07 -0800 Message-ID: <14313619.post@talk.nabble.com> Date: Thu, 13 Dec 2007 02:37:07 -0800 (PST) From: JoC To: users@activemq.apache.org Subject: Working with Tomcat/WTP but not standalone Tomcat MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: johannescarlen@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org I have some problems setting up ActiveMQ with a standalone Tomcat. I have created a minimal web app with a Spring MDP that works great if I use Eclipse with WTP. Clean tomcat, clean eclipse. New web project. However, if I export the app as a war and deploy to an external (also CLEAN) Tomcat I get this error: Caused by: javax.naming.NamingException: Cannot create resource instance at org.apache.naming.factory.ResourceEnvFactory.getObjectInstance(ResourceEnvFactory.java:114) ... I can't seem to figure out why it should differ with WTP contra standalone tomcat. Anyone that can help me out here? (I have a zip file if anyone is interested) Below is my configuration: All libs are in web-inf/lib: activemq-all-5.0-SNAPSHOT.jar commons-logging-1.1.jar spring-2.5.jar /meta-inf/context.xml: web.xml: jms/test/cfTEST001 javax.jms.QueueConnectionFactory jms/test/TEST001FirstQueue javax.jms.Queue Spring appcontext.xml: jms/test/cfTEST001 true jms/test/TEST001FirstQueue true -- View this message in context: http://www.nabble.com/Working-with-Tomcat-WTP-but-not-standalone-Tomcat-tp14313619s2354p14313619.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.