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 C7FAECF64 for ; Mon, 14 May 2012 22:46:00 +0000 (UTC) Received: (qmail 8380 invoked by uid 500); 14 May 2012 22:45:57 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 8333 invoked by uid 500); 14 May 2012 22:45:57 -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 8317 invoked by uid 99); 14 May 2012 22:45:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 May 2012 22:45:57 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of aw@ice-sa.com designates 212.85.38.228 as permitted sender) Received: from [212.85.38.228] (HELO tor.combios.es) (212.85.38.228) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 May 2012 22:45:49 +0000 Received: from [192.168.245.129] (p549E0C8B.dip0.t-ipconnect.de [84.158.12.139]) by tor.combios.es (Postfix) with ESMTPA id 4A11CDA069A for ; Tue, 15 May 2012 00:45:26 +0200 (CEST) Message-ID: <4FB18AFD.7050502@ice-sa.com> Date: Tue, 15 May 2012 00:45:17 +0200 From: =?ISO-8859-1?Q?Andr=E9_Warnier?= Reply-To: Tomcat Users List User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: How to start a continuous java application in tomcat References: <910AE18F734D004EA666B86933E5DAA2799338@turnkey-dc.Turnkey.local> <910AE18F734D004EA666B86933E5DAA279933E@turnkey-dc.Turnkey.local> In-Reply-To: <910AE18F734D004EA666B86933E5DAA279933E@turnkey-dc.Turnkey.local> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Rishad Ali wrote: > Hi Hassan, > I don't want to run mash them. I just want to run the java application. > On the local server it is working fine but when I try it in the > dedicated linux server it does not work. > Thank you > Ali, you have not so far provided much information that would enable anyone to help you. I do not have Pid's crystal ball and he does not grant licenses yet for the usage of InternetTelepathy[TM]. But I am either of a more charitable and forgiving nature than other people on this list, or else just more rabidly curious, so I will try to pry the information out of you. As I understand it so far : - you have created a stand-alone Java program, which works well and uses a database to store some information - you also try to create a (separate) Tomcat webapp which should access the same database information and display it to a user - to make it easier to create that webapp, you have - packed together your stand-alone program's classes, in a jar-file - tried to install that jar-file somewhere along with your webapp, under Tomcat, so that your webapp would have access to those classes - but for some reason, your webapp does not find the classes contained in that jar-file and that is what you mean when you say "it does not work". (*) Is that a good summary of your problem ? If yes, then you should : - let us know which version of Tomcat you are using, under which Java JVM version, on which OS platform - find out what is the "catalina base" of your Tomcat (you can see all that by executing the "version.sh" or "version.bat" script that is in /bin/). Copy and paste the output here. - let us know where, relative to that catalina_base, your webapp is installed - let us know where, relative to that cataline_base, you have installed that jar-file - show us what appears in the Tomcat logs, which shows that your webapp "is not working" (*) (copy the relevant log lines here). (You should provide this information anyway, even if my effort above is not a good description of your problem. And also correct my summary then.) Note # 1 : copy-and-paste the requested information inside your response. Do not send it as attachments, because this list strips most attachments. Note # 2 : for even more sympathy from the list than what you got so far, do not "top-post". Write your answers *below* the relevant questions, not all on top of your message. (Just so that questions and answers can be read logically and naturally, without having to scroll up and down to understand what is relevant to what.) (*) no popup dialog there yet. it does not work; my app doesn't work; its not working; Nope, nothing. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org