TIBCO EMS 7.0 メッセージの保存に MySql を使用しようとしています。以下は私の構成です:-
店-db.conf
[$sys.failsafe]type=dbstore
dbstore_driver_url=jdbc:mysql://localhost:3306/Research
dbstore_driver_username=root
dbstore_driver_password=12345
tibemsd-db.conf
dbstore_classpath
= ../../../../tibcojre/1.6.0/lib/ext/hibernate-core-4.1.9.Final.jar:../../../../t ibcojre/1.6.0/lib/ext/c3p0-0.9.2.1.jar:../../bin/antlr-2.7.6.jar:../../bin/asm-a ttrs.jar:../../bin/asm.jar:../../bin/cglib-2.1.3.jar:../../bin/commons-collectio ns-2.1.1.jar:../../bin/commons-logging-1.0.4.jar:../../bin/dom4j-1.6.1.jar:../.. /bin/ehcache-1.2.3.jar:../../bin/jta.jar:C:/temp/mysql-connector-java-5.1.23-bin .jar
dbstore_driver_name = com.mysql.jdbc.Driver dbstore_driver_dialect = org.hibernate.dialect.MySQLDialect jre_library = C:/tibco/tibcojre/1.6.0/bin/server/jvm.dll
指定されたユーザー名とパスワードで MySql に接続できること、および dbstore_classpath に記載されているファイルが指定されたパスに存在することを確認しました。
次のようにスキーマをデータベースにエクスポートしようとすると:-
java -jar c:\tibco\ems\7.0\bin\tibemsd_util.jar -tibemsdconf c:\tibco\ems\7.0\samples\config\tibemsd-db.conf -createall -export
以下のエラーが表示されます。誰かが私を正しい方向に向けることができますか:-
2013 年 4 月 8 日 2:11:10 午後 com.mchange.v2.c3p0.C3P0Registry getConnectionCustomizer 警告: クラス名 'com.tibco.tibems.tibemsd.internal.db.DataStoreConnectionCustomizer' の検索 ConnectionCustomizer を作成できませんでした。 > java.lang.ClassNotFoundException: com.tibco.tibems.tibemsd.internal.db.DataStoreConnectionCustomizer java.net.URLClassLoader$1.run(URLClassLoader.java:202) で java.security.AccessController.doPrivileged(Native Method) で java.net.URLClassLoader.findClass(URLClassLoader.java:190) で sun.misc.Launcher$ ExtClassLoader.findClass(Launcher.java:229) で java.lang.ClassLoader.loadClass(ClassLoader.java:306) で java.lang.ClassLoader.loadClass(ClassLoader.java:247) で java.lang.Class.forName0(Native Method) で java.lang.Class.forName(Class.java:169) で com.mchange.v2.c3p0.C3P0Registry.getConnectionCustomizer(C3P0Registry.java:193) で com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getConnectionCustomize r(C3P0PooledConnectionPoolManager.java:749) com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager で。createPooledConnection Pool(C3P0PooledConnectionPoolManager.java:863) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0PooledConnectionPoolManager.java:331) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0PooledConnectionPoolManager.java) :348) com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:140) で org.hibernate.service.jdbc.connections.internal.C3P0ConnectionProvider.getConne ction(C3P0ConnectionProvider.java:79) でorg.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper.prepare(ManagedProviderConnectionHelper.java:55) で org.hibernate.tool.hbm2ddl.DatabaseExporter.(DatabaseExporter.java:52) で org.hibernate.tool.hbm2ddl.SchemaExport.execute(スキーマエクスポート。java:367) org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304) で org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293) で com.tibco.tibems.tibemsd .internal.db.CreateStoreCallable.processStore(CreateSto reCallable.java:329) at com.tibco.tibems.tibemsd.internal.db.CreateStoreCallable.call(CreateStoreCallable.java:42) at com.tibco.tibems.tibemsd.internal .db.CreateStoreCallable.call(CreateStoreCallable.java:33) の sun.reflect.NativeMethodAccessorImpl.invoke0(ネイティブ メソッド) の sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) の sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.ja va:25) で java.lang.reflect.Method.invoke(Method.java:597)hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304) org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293) com.tibco.tibems.tibemsd.internal.db.CreateStoreCallable. processStore(CreateSto reCallable.java:329) at com.tibco.tibems.tibemsd.internal.db.CreateStoreCallable.call(CreateStoreCallable.java:42) at com.tibco.tibems.tibemsd.internal.db.CreateStoreCallable.call( CreateStoreCallable.java:33)、sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)、sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)、sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25) java.lang.reflect.Method.invoke(Method.java:597) でhibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304) org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293) com.tibco.tibems.tibemsd.internal.db.CreateStoreCallable. processStore(CreateSto reCallable.java:329) at com.tibco.tibems.tibemsd.internal.db.CreateStoreCallable.call(CreateStoreCallable.java:42) at com.tibco.tibems.tibemsd.internal.db.CreateStoreCallable.call( CreateStoreCallable.java:33)、sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)、sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)、sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25) java.lang.reflect.Method.invoke(Method.java:597) でjava:304) org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293) com.tibco.tibems.tibemsd.internal.db.CreateStoreCallable.processStore(CreateSto reCallable.java:329) com. tibco.tibems.tibemsd.internal.db.CreateStoreCallable.call(CreateStoreCallable.java:42) com.tibco.tibems.tibemsd.internal.db.CreateStoreCallable.call(CreateStoreCallable.java:33) at sun.reflect. NativeMethodAccessorImpl.invoke0(Native Method) の sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) の sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25) .java:597)java:304) org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293) com.tibco.tibems.tibemsd.internal.db.CreateStoreCallable.processStore(CreateSto reCallable.java:329) com. tibco.tibems.tibemsd.internal.db.CreateStoreCallable.call(CreateStoreCallable.java:42) com.tibco.tibems.tibemsd.internal.db.CreateStoreCallable.call(CreateStoreCallable.java:33) at sun.reflect. NativeMethodAccessorImpl.invoke0(Native Method) の sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) の sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25) .java:597)tibco.tibems.tibemsd.internal.db.CreateStoreCallable.processStore(CreateSto reCallable.java:329) at com.tibco.tibems.tibemsd.internal.db.CreateStoreCallable.call(CreateStoreCallable.java:42) at com.tibco. tibems.tibemsd.internal.db.CreateStoreCallable.call(CreateStoreCallable.java:33) で sun.reflect.NativeMethodAccessorImpl.invoke0(ネイティブ メソッド) で sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) で sun.reflect .DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25) java.lang.reflect.Method.invoke(Method.java:597)tibco.tibems.tibemsd.internal.db.CreateStoreCallable.processStore(CreateSto reCallable.java:329) at com.tibco.tibems.tibemsd.internal.db.CreateStoreCallable.call(CreateStoreCallable.java:42) at com.tibco. tibems.tibemsd.internal.db.CreateStoreCallable.call(CreateStoreCallable.java:33) で sun.reflect.NativeMethodAccessorImpl.invoke0(ネイティブ メソッド) で sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) で sun.reflect .DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25) java.lang.reflect.Method.invoke(Method.java:597)42) com.tibco.tibems.tibemsd.internal.db.CreateStoreCallable.call(CreateStoreCallable.java:33) で sun.reflect.NativeMethodAccessorImpl.invoke0(ネイティブ メソッド) で sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java) :39) java.lang.reflect.Method.invoke(Method.java:597) で sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25) で42) com.tibco.tibems.tibemsd.internal.db.CreateStoreCallable.call(CreateStoreCallable.java:33) で sun.reflect.NativeMethodAccessorImpl.invoke0(ネイティブ メソッド) で sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java) :39) java.lang.reflect.Method.invoke(Method.java:597) で sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25) で