LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 10-06-2009, 08:40 AM   #1
varun2109
LQ Newbie
 
Registered: Apr 2008
Posts: 27

Rep: Reputation: 15
Tomcat 5 issue


I was uploading my new .war file used for my web application,through the tomcat manager.

I went around the same process by
1st) Stopping the application;
2nd) Undeploying it,
3rd) Deploying the new war file
and finally,
4th) restarting tomcat by /etc/rc.d/init.d/tomcat5 restart


after which I got lot of errors:

# /etc/init.d/tomcat5 restart

shell-init: error retrieving current directory: getcwd: cannot access parent directories:
No existe el fichero o el directorio
stopping tomcat5: [ OK ]
Iniciando tomcat5: shell-init: error retrieving current directory: getcwd: cannot access parent
directories: File or directory doesn't exists.
shell-init: error retrieving current directory: getcwd: cannot access parent directories:
File or directory doesn't exists.
pushd: error retrieving current directory: getcwd: cannot access parent directories: File
or directory doesn't exists.
/bin/ln: creating symbolic link �[commons-collections-tomcat5].jar�: File or directory doesn't
exists.
/bin/ln: creating symbolic link �[commons-dbcp-tomcat5].jar�: File or directory doesn't exists.
/bin/ln: creating symbolic link �[commons-el].jar�: File or directory doesn't exists.
/bin/ln: creating symbolic link �[commons-pool-tomcat5].jar�: File or directory doesn't exists.
/bin/ln: creating symbolic link �[ecj].jar�: File or directory doesn't exists.
/bin/ln: creating symbolic link �[jaf].jar�: File or directory doesn't exists.
/bin/ln: creating symbolic link �[jasper5-compiler].jar�: File or directory doesn't exists.
/bin/ln: creating symbolic link �[jasper5-runtime].jar�: File or directory doesn't exists.
/bin/ln: creating symbolic link �[javamail].jar�: File or directory doesn't exists.
/bin/ln: creating symbolic link �[jsp].jar�: File or directory doesn't exists.
/bin/ln: creating symbolic link �[servlet].jar�: File or directory doesn't exists.
/bin/ln: creating symbolic link �[tomcat5][naming-factory].jar�: File or directory doesn't
exists.
/bin/ln: creating symbolic link �[tomcat5][naming-resources].jar�: File or directory doesn't
exists.
/usr/share/java-utils/java-functions: line 247: popd: directory stack empty
shell-init: error retrieving current directory: getcwd: cannot access parent directories:
File or directory doesn't exists.
pushd: error retrieving current directory: getcwd: cannot access parent directories: File
or directory doesn't exists.
/bin/ln: creating symbolic link �[jaxp_parser_impl].jar�: File or directory doesn't exists.
/bin/ln: creating symbolic link �[xml-commons-jaxp-1.3-apis].jar�: File or directory doesn't
exists.
/usr/share/java-utils/java-functions: line 247: popd: directory stack empty
shell-init: error retrieving current directory: getcwd: cannot access parent directories:
File or directory doesn't exists.
pushd: error retrieving current directory: getcwd: cannot access parent directories: File
or directory doesn't exists.
/bin/ln: creating symbolic link �[catalina-ant5].jar�: File or directory doesn't exists....
...
/usr/share/java-utils/java-functions: line 247: popd: directory stack empty


I am using tomcat5 from standard centos 5.2 and gcc java 1.4.2 again provided by centos 5.2

To get it running i had to remove java and tomcat and again reinstall it.

This has happened twice in 2 days,i cannot keep on reinstalling and configuring java and tomcat everytime as it consumes a lot of time,
Please shed some light on this and help me out of this.

One thing i had done was i was inside the tomcat folder via ssh
i.e /usr/share/tomcat5/webapps folder while undeploying and deploying the application.
Thanks in advance.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
JDK1.4.2_05 with Tomcat 5.5.7 Compatibility Issue imlalit Solaris / OpenSolaris 4 07-23-2009 12:51 AM
Tomcat on REL5 Issue hushpuppies Red Hat 1 08-17-2007 12:51 AM
Tomcat-5.5.23 issue. brave heart Linux - Server 13 08-08-2007 04:44 AM
Tomcat Status 404 issue FirmbIT Linux - Software 18 04-22-2006 11:30 AM
Tomcat Issue varunbihani Linux - General 0 12-06-2004 06:35 AM


All times are GMT -5. The time now is 10:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration