我正在Solaris 10上将Tibco EMS 7.0服务器从基于默认文件的存储配置到数据库存储(Oracle RAC)。启动实例时,日志显示以下JVM错误:
2014-09-18 14:34:36.729 Logging into file '/lcl/dev/logs/tibco/jmspm2.log'
2014-09-18 14:34:36.729 ERROR: Error Loading JVM: ld.so.1: tibemsd64: fatal: /lcl/dev /apps/tibco/components/eclipse/_jvm/lib/sparc/libjvm.so/lib/sparcv9/server/libjvm.so: Not a directory
下面是我修改过的tibemsd.conf,包含dbstore_classpath,dbstore_driver_name,dbstore_driver_dialect,jre_library:
dbstore_classpath = /lcl/dev/apps/tibco/components/eclipse/plugins/com.tibco.tpcl.org.hibernate_3.2.5.001/hibernate3.jar;/lcl/dev/apps/tibco/ems/7.0 /bin/dom4j-1.6.1.jar;/lcl/dev/apps/tibco/ems/7.0/bin/commons-collections-2.1.1.jar;/lcl/dev/apps/tibco/ems/7.0/bin /commons-logging-1.0.4.jar;/lcl/dev/apps/tibco/ems/7.0/bin/ehcache-1.2.3.jar;/lcl/dev/apps/tibco/jta.jar;/lcl/开发/应用/ TIBCO / EMS / 7.0 / bin中/ CGLIB的2.1.3.jar; /lcl/dev/apps/tibco/antlr-2.7.6.jar; /lcl/dev/apps/tibco/ems/7.0/箱/ ANTLR-2.7.6.jar; /lcl/dev/apps/tibco/components/eclipse/plugins/com.tibco.tpcl.org.com.mchange.c3p0_0.9.1.001/c3p0-0.9.1.jar ; /lcl/dev/apps/tibco//ems/7.0/bin/asm.jar; /lcl/dev/apps/tibco/asm-attrs.jar; / LCL的/ dev /应用/ TIBCO; ../ db_components / instantclient_11_2 / ojdbc5.jar
dbstore_driver_name = oracle.jdbc.driver.OracleDriver dbstore_driver_dialect = org.hibernate.dialect.Oracle10gDialect jre_library = /lcl/dev/apps/tibco/components/eclipse/_jvm/lib/sparc/libjvm.so
我在安装jdk1.5.0_71并尝试调用时遇到同样的错误./jdk1.5.0_71/jre/lib/sparc/libjvm.so
问题:
答案 0 :(得分:0)
解决! 我通过jdk1.6.0_45安装了Java 1.6并且它工作了!以下是使用的JRE设置。
# jre_library = "/lcl/dev/apps/tibco/jdk1.6.0_45/jre/lib/sparcv9/server/libjvm.so" # This also works
jre_library = "/lcl/dev/apps/tibco/jdk1.6.0_45/jre" # This path works too, more consise
jre_option = -Xmx256m