Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 83691 invoked from network); 31 Jul 2009 13:56:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 31 Jul 2009 13:56:07 -0000 Received: (qmail 31497 invoked by uid 500); 31 Jul 2009 13:56:03 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 31417 invoked by uid 500); 31 Jul 2009 13:56:03 -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 31250 invoked by uid 99); 31 Jul 2009 13:56:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Jul 2009 13:56:02 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of nikos@science.tuc.gr does not designate 83.235.67.30 as permitted sender) Received: from [83.235.67.30] (HELO aiolos.otenet.gr) (83.235.67.30) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Jul 2009 13:55:52 +0000 Received: from Ptolus (athedsl-4566673.home.otenet.gr [94.70.122.153]) by aiolos.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id n6VDtUcx003754 for ; Fri, 31 Jul 2009 16:55:30 +0300 From: "Nikos Spanoudakis" To: "'Tomcat Users List'" References: <004801ca0c74$3ffe71e0$bffb55a0$@tuc.gr> <0AAE5AB84B013E45A7B61CB66943C17229B0BAFA7A@USEA-EXCH7.na.uis.unisys.com> <005501ca0f6e$8b2ef4d0$a18cde70$@tuc.gr> In-Reply-To: <005501ca0f6e$8b2ef4d0$a18cde70$@tuc.gr> Subject: RE: Problem with deploying an application Date: Fri, 31 Jul 2009 16:55:32 +0300 Message-ID: <014401ca11e6$92968a10$b7c39e30$@tuc.gr> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcoMdD/CiIdkPt43Tj6/BAdjQrYg3wAHUK3AAIF8eCAA08De4A== Content-Language: el X-Virus-Checked: Checked by ClamAV on apache.org Dear Chuck, all, The problem was resolved by installing the Java 6 JDK on my server. Thank you, Nikos -----Original Message----- From: Nikos Spanoudakis [mailto:nikos@science.tuc.gr] Sent: Tuesday, July 28, 2009 1:31 PM To: 'Tomcat Users List' Subject: RE: Problem with deploying an application Dear Chuck, Thanks for your quick response, I checked out the points that you made and I have the following findings: >From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com] > >> From: Nikos Spanoudakis [mailto:nikos@science.tuc.gr] >> Subject: Problem with deploying an application >> >> I try to deploy an application that executes fine on a linux machine. > >Is the Linux system running the same version of Tomcat? No, the Linux system has the Tomcat 6, however The build is for tomcat 5.5. The same application has been deployed in a Windows system with Tomcat 5.5. >You might want to compare Tomcat's common and shared directories on the SunOS system with those on the Linux box. They are almost the same, the other system (now I am talking about the Windows with Tomcat 5.5) has the jasper-compiler-jdt.jar file in Tomcat's common/lib that is missing in my tomcat installation. Moreover, my installation has the ant.jar file in the Tomcat's common/lib that is not present in the Windows with Tomcat 5.5 installation. >What's in the WEB-INF/web.xml file for the webapp? Please find the file attached. Do you see a problem there? >> java.lang.NoClassDefFoundError: >> org/apache/commons/io/output/DeferredFileOutputStream >You are likely missing the commons-io jar. Since the webapp appears to >be dependent on it, it would normally be located in WEB-INF/lib of the webapp. However, it may be in another location on the Linux system, such as Tomcat's >shared/lib or common/lib directories. The commons-io.jar file is included in the WEB-INF/lib folder of the application. >You can also get the same error if you have /two/ copies of the above >jar in one branch of the classloader tree; in this case, you'll need to remove one of them. No double files in the application and tomcat common folders. However, the application has the antlr-2.7.2.jar in the WEB-INF/lib folder while in the Tomcat's common/lib my installation has the ant.jar file. Could it be a problem? > - Chuck Thank you again, I hope the information above can lead you to another piece of advice for me... Nikos --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org