java application not working error pointing to catalina in linux server

Posted on 2012-08-22
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
-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/ 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
    LVL 86

    Assisted Solution

    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

    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

    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

    i should test by issuing echo JAVA_HOME
    No, you should test with
    echo $JAVA_HOME

    Open in new window

    LVL 86

    Expert Comment


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    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…
    Join Greg Farro and Ethan Banks from Packet Pushers ( and Greg Ross from Paessler ( for a discussion about smart network …
    This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
    Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

    760 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

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now