Code deployment issue

 
Thread Tools Search this Thread
Special Forums Windows & DOS: Issues & Discussions Code deployment issue
# 1  
Old 06-07-2007
Code deployment issue

I have developed an application in Eclipse and created a JAR File for the same. I deployed the JAR File in UNIX environment and while executing the same I get the following Error:

(dstdbxx1:/export/home/edi_proc/PSON_Automation)$ls
LOG PSON PSONAutomation_2.jar REPORT xerces.jar
LSR PSONAutomation_1.jar PsonAutomation.jar setup.properties xercesImpl.jar
[B](dstdbxx1:/export/home/edi_proc/PSON_Automation)$java -jar PSONAutomation_2.jar
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/xerces/parsers/SAXParser
at com.eschelon.xml.XMLHandler.parse(XMLHandler.java:21)
at com.eschelon.xml.XMLHandler.parse(XMLHandler.java:42)
at com.eschelon.main.LsrPsonComparer.main(LsrPsonComparer.java:73)[/
B]

Can anyone please help me with this error?

Thanks and Regards

Harimadhav Balu
# 2  
Old 06-07-2007
Quote:
Originally Posted by harimadhavbalu
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/xerces/parsers/SAXParser
Actually the error has already told you what the problem is: Java couldn't find your Apache Xerces SAX parser. Are you sure the Xerces JARs are on your classpath?

http://xerces.apache.org/xerces-j/
# 3  
Old 06-08-2007
Yeah, Actually I found the reason for the error. The Unix environment needed more references from Apache SAX Parser. Some how it was not required when I developed in Eclipse. Thanks for your time and consideration.

Regards

Hari
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Solaris

Deployment of flar image into the global zone

Hi Folks, I know that we can install the flar image inside solaris non-global or branded zones. But can we install flar image in the global zone? If yes, then how? My use case is, while preparing setups, every time i needs to install Solaris OS (say sol10) on the machine and have to install... (1 Reply)
Discussion started by: Vaishey
1 Replies

2. Shell Programming and Scripting

Shell scripting for application deployment

hi all, i want script for this one 1. Download the zip from the ftp 2. Take backup of the current application 3. Deploy the zip in webapps Unzip the file. 4. Configure DB values. 5. Restart tomcat Thanks Advance, janny. (1 Reply)
Discussion started by: mohan999999
1 Replies

3. Red Hat

war file deployment

Hi Experts. I need to install one help library in Fedora 13 and I got the installation document for it: --------------------------------------------------- users need their own J2EE web application server to be able to complete this installation. The server must support J2EE - JSP... (3 Replies)
Discussion started by: orma
3 Replies

4. UNIX for Advanced & Expert Users

Unattended disk image deployment?

Hi I need a system that allows a PC to PXE boot and then fully unattended deploy a diskimage created from a Linux system with identical hardware and then reboot when finished. I have been looking around but have not found a tool that is capable of doing this without too many bells and whistles,... (2 Replies)
Discussion started by: smith0083
2 Replies

5. Shell Programming and Scripting

Application Deployment Script

Hi, I need to develop a script which will deploy my web application binary(.war) file in the jboss application server. I also need to take the back up of the existing binary file and rename the same with current date and then deploy the new binary from my specified location. The same... (1 Reply)
Discussion started by: Siddheshk
1 Replies

6. Shell Programming and Scripting

Application Deployment Script

Dear All, I have been deploying my web application binary on Jboss application server manually on 13 servers with 2 instances on each server. i.e. 26 instances. It is really becoming time consuming to deploy the application manually. I am looking for a script which would deploy my binary file... (1 Reply)
Discussion started by: Siddheshk
1 Replies

7. Web Development

Looking for a tool for SVN deployment

Please help! I am looking for a tool which can perform following tasks: 1. Display repository lists 2. Upload repository via ssh to production server 3. Check the last repository number updated 4. Capable to work with Apache and PHP on Linux OS. Thank you. (2 Replies)
Discussion started by: greenja
2 Replies

8. UNIX for Dummies Questions & Answers

What UNIX is best for an all-in-one-server deployment

Heya, my university department wants to deploy a UNIX based system instead of various unnetokred windows PCs. We are trying to build a terminal server solution on either FreeBSD,Solaris or Debian Linux. The system would mostly run office applications on X11 and file sharing (with Samba). In... (4 Replies)
Discussion started by: masterfreek64
4 Replies
Login or Register to Ask a Question