Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ACFEEEADC for ; Wed, 9 Jan 2013 21:25:54 +0000 (UTC) Received: (qmail 49101 invoked by uid 500); 9 Jan 2013 21:25:51 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 49042 invoked by uid 500); 9 Jan 2013 21:25:51 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 49033 invoked by uid 99); 9 Jan 2013 21:25:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jan 2013 21:25:51 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [94.232.163.7] (HELO smtpout.hccnet.nl) (94.232.163.7) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jan 2013 21:25:43 +0000 Received: from hccnet1.hccnet.local (hccnet1.hccnet.local [10.240.3.6]) by smtpout.hccnet.nl (sendmail/HenZ) with ESMTP id r09LPNQU019273 for ; Wed, 9 Jan 2013 22:25:23 +0100 Received: from webmail.hccnet.nl (localhost.localdomain [127.0.0.1]) by hccnet1.hccnet.local (sendmail/HenZ) with ESMTP id r09LPNpH004623 for ; Wed, 9 Jan 2013 22:25:23 +0100 Received: from 213.46.146.49 (SquirrelMail authenticated user leon.mail) by webmail.hccnet.nl with HTTP; Wed, 9 Jan 2013 22:25:23 +0100 Message-ID: <0b6a4d3812449cd06718c1037da6371a.squirrel@webmail.hccnet.nl> Date: Wed, 9 Jan 2013 22:25:23 +0100 Subject: add database resource From: leon.mail@hccnet.nl To: users@tomcat.apache.org User-Agent: SquirrelMail MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org I'm quite new with tomcat. I run 7.0.30. I have succesfully installed an application, however i'm facing issues with the database connection. As i understood i added the following code to server.xml Unfortunately I'm Getting below error. Don't get any special information from the log. type Exception report message Could not execute action description The server encountered an internal error that prevented it from fulfilling this request. exception javax.servlet.ServletException: Could not execute action com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:196) com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:182) root cause java.lang.NullPointerException nl.dolhuis.util.hibernate.HibernateSession.getSession(HibernateSession.java:25) nl.dolhuis.util.hibernate.HibernateInterceptor.intercept(HibernateInterceptor.java:83) com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:180) com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:32) com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:180) com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:119) com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:183) com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:182) note The full stack trace of the root cause is available in the Apache Tomcat/7.0.30 logs. Hopefully somebody knows what i'm doing wrong. thanks in advance. regards, L�on --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org