- This topic has 2 replies, 2 voices, and was last updated 18 years ago by PrimeMover.
-
AuthorPosts
-
PrimeMoverParticipantI am receiving “An internal error occurred during: “Generating Artifacts”.” when using reverse engineering on a DB2 table. Any tips on a solution?
Stacktrace from log:
org.hibernate.HibernateException: Could not instantiate TransactionManagerLookup
at org.hibernate.transaction.TransactionManagerLookupFactory.getTransactionManagerLookup(TransactionManagerLookupFactory.java:47)
at org.hibernate.transaction.JTATransactionFactory.configure(JTATransactionFactory.java:44)
at org.hibernate.transaction.TransactionFactoryFactory.buildTransactionFactory(TransactionFactoryFactory.java:51)
at org.hibernate.cfg.SettingsFactory.createTransactionFactory(SettingsFactory.java:370)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:120)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1877)
at com.genuitec.eclipse.hibernate.wizards.MEJDBCMetaDataConfiguration.readFromJDBC(MEJDBCMetaDataConfiguration.java:71)
at com.genuitec.eclipse.hibernate.wizards.GenerateArtifactsJob$6.execute(GenerateArtifactsJob.java:514)
at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:35)
at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:70)
at com.genuitec.eclipse.hibernate.wizards.GenerateArtifactsJob.buildConfiguration(GenerateArtifactsJob.java:509)
at com.genuitec.eclipse.hibernate.wizards.GenerateArtifactsJob.run(GenerateArtifactsJob.java:293)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)System information:
*** Date: Mon Oct 09 20:37:05 CEST 2006*** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.4.2*** MyEclipse details:
MyEclipse Enterprise WorkbenchVersion: 5.0 GA
Build id: 20060805-5.0-GA*** Eclipse details:
Eclipse SDKVersion: 3.2.0
Build id: M20060629-1905Eclipse Project SDK
Version: 3.2.0.v20060609m-GNq6oQq-7es-Y81
Build id: M20060629-1905Eclipse Platform
Version: 3.2.0.v20060609m-AgOexn6hlEUsvBO
Build id: M20060629-1905Eclipse Java Development Tools
Version: 3.2.0.v20060609m-F7snq1fxia-Z4XP
Build id: M20060629-1905Eclipse Graphical Editing Framework
Version: 3.2.0.v20060626
Build id: 20060627-0816Eclipse RCP
Version: 3.2.0.v20060609m-SVDNgVrNoh-MeGG
Build id: M20060629-1905Eclipse Plug-in Development Environment
Version: 3.2.0.v20060609m——6zXJJzJzJq
Build id: M20060629-1905Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-launcher
C:\eclipse32\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
10a0_50
-vm
C:\Program Files\WebSphere\AppServer\java\bin\javaw.exe
Riyad KallaMemberPrime,
Is the stack trace longer than that? Normally when rev eng fails it will give an error down deep in the trace like “Insufficient permissions” or some JDBC driver error. 9 times out of 10 it’s the JDBC driver, do you know if you are using the most recent one for DB2?
PrimeMoverParticipantI found the issue. It was a non configured jndi reference in my hibernate configuration.
-
AuthorPosts