java application not working error pointing to catalina in linux server

Posted on 2012-08-22
Medium Priority
Last Modified: 2012-09-07
Dear Experts:

Iam having problem while implementing the novellvibe for suse enterprise linux ,  it is of java based, I tried setting java path still the same, please go though the below post and help me to reolve this.

which java
gw:~ # find / -name "java"
gw:~ # find / -name "jre"

cd /usr/java/jdk1.7.0_06/
gw:/usr/java/jdk1.7.0_06 # pwd
/usr/java/jdk1.7.0_06 # ls -la
total 19812
drwxr-xr-x 10 root root     4096 Aug 17 10:02 .
drwxr-xr-x  3 root root     4096 Aug 17 10:02 ..
drwxr-xr-x  2 root root     4096 Aug 17 10:02 bin
-rw-r--r--  1 root root     3339 Aug 10 08:37 COPYRIGHT
drwxr-xr-x  4 root root     4096 Aug 17 10:02 db
drwxr-xr-x 12 root root     4096 Aug 17 10:02 demo
drwxr-xr-x  3 root root     4096 Aug 17 10:02 include
drwxr-xr-x  5 root root     4096 Aug 17 10:02 jre
drwxr-xr-x  3 root root     4096 Aug 17 10:02 lib
-rw-r--r--  1 root root       40 Aug 10 08:37 LICENSE
drwxr-xr-x  4 root root     4096 Aug 17 10:02 man
-rw-r--r--  1 root root      114 Aug 10 08:37 README.html
-r--r--r--  1 root root     5317 Aug 17 10:02 register.html
-r--r--r--  1 root root     5614 Aug 17 10:02 register_ja.html
-r--r--r--  1 root root     4920 Aug 17 10:02 register_zh_CN.html
-rw-r--r--  1 root root      444 Aug 10 08:37 release
drwxr-xr-x  9 root root     4096 Aug 17 10:02 sample
-rw-r--r--  1 root root 19866385 Aug 10 08:37 src.zip
-rw-r--r--  1 root root   123324 Aug  7 06:43 THIRDPARTYLICENSEREADME-JAVAFX.txt
-rw-r--r--  1 root root   172252 Aug 10 08:37 THIRDPARTYLICENSEREADME.txt

did set the path as per the below

export JAVA_HOME=/usr/java/jdk1.7.0_06/bin
gw:~ # echo $JAVA_HOME

After the above when tried to restart the novel vibe server iam getting the error, posted below for your refernce

/etc/init.d/teaming restart
Using CATALINA_BASE:   /opt/novell/teaming/apache-tomcat
Using CATALINA_HOME:   /opt/novell/teaming/apache-tomcat
Using CATALINA_TMPDIR: /opt/novell/teaming/apache-tomcat/temp
Using JRE_HOME:        /usr/jre
Using CLASSPATH:       /opt/novell/teaming/apache-tomcat/bin/bootstrap.jar
/opt/novell/teaming/apache-tomcat/bin/catalina.sh: line 446: /usr/jre/bin/java: No such file or directory

Also attached additional information, please suggest me how to fix this. Thanks.

Question by:D_wathi
  • 3
  • 2
LVL 86

Assisted Solution

CEHJ earned 1500 total points
ID: 38321759
export JAVA_HOME=/usr/java/jdk1.7.0_06/bin

Open in new window

should be

export JAVA_HOME=/usr/java/jdk1.7.0_06

Open in new window

Don't forget that will be valid for that terminal session only

Author Comment

ID: 38323419
Thanks for the reply, when did so getting a message not a valid identifier, posted below for your reference.

 export JAVA_HOME=/usr/java/jdk1.7.0_06
gw:~ # export $JAVA_HOME
-bash: export: `/usr/java/jdk1.7.0_06': not a valid identifier

pleas suggest to resolve this. Thanks

Author Comment

ID: 38323426
please ignore the previous post of mine, i should test by issuing echo JAVA_HOME instead i was trying export JAVA_HOME. now will check the application and update accordingly.
LVL 86

Accepted Solution

CEHJ earned 1500 total points
ID: 38324006
i should test by issuing echo JAVA_HOME
No, you should test with

Open in new window

LVL 86

Expert Comment

ID: 38375600

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Often times it's very very easy to extend a volume on a Linux instance in AWS, but impossible to shrink it. I wanted to contribute to the experts-exchange community a way of providing a procedure that works on an AWS instance. It can also be used on…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month16 days, 19 hours left to enroll

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question