facebook

java.lang.UnsatisfiedLinkError when starting tomcat 4.

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #230305 Reply

    Hi,

    I get a java.lang.UnsatisfiedLinkError when starting tomcat 4. I am using myeclipse 3.8.4M6 Beta with eclipse 3.1M6.

    Here is the exception trace.

    Starting service Tomcat-Standalone
    Apache Tomcat/4.1.27
    TibrvException[error=901,message=Library not found: tibrvj]
    at com.tibco.tibrv.Tibrv.loadLib(Tibrv.java:441)
    at com.tibco.tibrv.Tibrv.open(Tibrv.java:252)
    at com.cisco.vpnsc.event.EventUtils.createDefaultTransport(EventUtils.java:188)
    at com.cisco.vpnsc.dcpl.DCPEventChannel.<init>(DCPEventChannel.java:42)
    at com.cisco.vpnsc.dcpl.DCPLib.createEventChannel(DCPLib.java:259)
    at com.cisco.vpnsc.dcpl.DCPLib.access$000(DCPLib.java:64)
    at com.cisco.vpnsc.dcpl.DCPLib$1.run(DCPLib.java:210)
    Internal exception:
    java.lang.UnsatisfiedLinkError: /vob/ntg-thirdparty/tibco/rv-7.1/sol28/lib/libtibrvj.so: ld.so.1: /auto/ntgtoolsdist/localsol/java/j2sdk1.4.2_08/bin/java: fatal: libtibrvcmq.so: open failed: No such file or directory
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1511)
    at java.lang.Runtime.loadLibrary0(Runtime.java:788)
    at java.lang.System.loadLibrary(System.java:834)
    at com.tibco.tibrv.Tibrv.loadLib(Tibrv.java:435)
    at com.tibco.tibrv.Tibrv.open(Tibrv.java:252)
    at com.cisco.vpnsc.event.EventUtils.createDefaultTransport(EventUtils.java:188)
    at com.cisco.vpnsc.dcpl.DCPEventChannel.<init>(DCPEventChannel.java:42)
    at com.cisco.vpnsc.dcpl.DCPLib.createEventChannel(DCPLib.java:259)
    at com.cisco.vpnsc.dcpl.DCPLib.access$000(DCPLib.java:64)
    at com.cisco.vpnsc.dcpl.DCPLib$1.run(DCPLib.java:210)
    Internal exception:

    I have the required libraries in the lib path.
    Here is the tomcat configuration

    #Fri May 27 19:25:28 PDT 2005
    TOMCAT_HOME=/auto/ntgtoolsdist/apps/tomcat/jakarta-tomcat-4.1.27
    OPT_CLASSPATH1=/vob/ntg/dev/thirdparty/rv/lib/tibrvj.jar;/vob/ntg/dev/etc/spe;/v
    ob/ntg/dev/thirdparty/tomcat/bin/bootstrap.jar;/vob/ntg/dev/thirdparty/jar/class
    es12.zip;/vob/ntg/dev/thirdparty/jar/tools.jar;/vob/ntg/dev/thirdparty/asa8/SYBS
    sa8/shared/jConnect-5_5/classes/jconn2.jar;/vob/ntg/dev/thirdparty/asa8/SYBSsa8/
    java/jlogon.jar;/vob/ntg/dev/resources/template/l2l
    TOMCAT_TEMP=/tmp
    OPT_LIBRARYPATH1=/vob/ntg-thirdparty/tibco/rv-7.1/sol28/lib
    START_IS_DEBUG=false
    LIBRARY_PATH=”/auto/ntgtoolsdist/localsol/java/j2sdk1.4.2_08/bin\:/auto/ntgtools
    dist/apps/tomcat/jakarta-tomcat-4.1.27/bin\:/vob/ntg-thirdparty/tibco/rv-7.1/sol
    28/lib”
    OPT_PROGRAM_ARGS=-config /vob/ntg/dev/resources/webserver/tomcat/conf/server.xml
    TOMCAT_BASE=/vob/ntg/dev/resources/webserver/tomcat
    ENDORSED_DIRS=”/auto/ntgtoolsdist/apps/tomcat/jakarta-tomcat-4.1.27/common/endor
    sed”
    eclipse.preferences.version=1
    JDK_INSTALLATION_NAME=j2sdk1.4.2_08
    JDK_HOME=/auto/ntgtoolsdist/localsol/java/j2sdk1.4.2_08
    SERVER_ENABLEMENT=true
    OPT_VM_ARGS=-Xbootclasspath/p\:/auto/ntgtoolsdist/localsol/java/j2sdk1.4.2_08/jr
    e/lib/rt.jar -Dvpnsc.master\=false -Dvpnsc.home\=/vob/ntg/dev -Dcom.cisco.insmbu
    .templatemgr.backend.PropFile\=/vob/ntg/dev/resources/templatesystem/Template.pr
    operties -da -Xmx256m -Djava.endorsed.dirs\=/common/endorsed -Dcatalina.home\=/v
    ob/ntg/dev/thirdparty/tomcat -Dcatalina.base\=/vob/ntg/dev/resources/webserver/t
    omcat -Dprocess.name\=httpd -DSYSTEM.app_dir\=/vob/ntg/dev

    #230341 Reply

    Riyad Kalla
    Member

    Could this possibly be a permission error with the users you are running MyEclipse as? For example, if you previously had Tomcat setup as a system service and it ran fine (as root) and are now trying to run it as your user (from MyEclipse) maybe it is not able to read the lib? From my initial glance it looks like you have your paths setup correctly.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: java.lang.UnsatisfiedLinkError when starting tomcat 4.

You must be logged in to post in the forum log in