[Design of JBoss Eclipse IDE (dev)] - Re: problem in eclipse hibernate console configuration
by delerious121
Thanks for your reply max
my build output folder is events
i tried putting the same in configuration class path along with OJDBC14.jar i got following exception
Error 2006-08-01 15:03:58.733 java.lang.NullPointerException
java.lang.NullPointerException
at org.hibernate.eclipse.console.utils.ClassLoaderHelper.getRawLocationFile(ClassLoaderHelper.java:91)
at org.hibernate.eclipse.console.utils.ClassLoaderHelper.getRawLocationURL(ClassLoaderHelper.java:83)
at org.hibernate.eclipse.console.utils.ClassLoaderHelper.getRawLocationsURLForResources(ClassLoaderHelper.java:117)
at org.hibernate.eclipse.console.EclipseConsoleConfigurationPreferences.getCustomClassPathURLS(EclipseConsoleConfigurationPreferences.java:81)
at org.hibernate.console.ConsoleConfiguration.buildWith(ConsoleConfiguration.java:109)
at org.hibernate.console.ConsoleConfiguration.build(ConsoleConfiguration.java:98)
at org.hibernate.eclipse.console.workbench.ConsoleConfigurationWorkbenchAdapter.getChildren(ConsoleConfigurationWorkbenchAdapter.java:19)
at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:70)
at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:192)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962097#3962097
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962097
18 years, 5 months
[Design of JBoss Eclipse IDE (dev)] - problem in eclipse hibernate console configuration
by delerious121
Hi
i am getting following error in hibernate console of eclipse(v3.1.1)
Error 2006-08-01 13:54:36.917 org.hibernate.MappingException: Resource: com/TblIntRateIndex.hbm.xml not found
org.hibernate.MappingException: Resource: com/TblIntRateIndex.hbm.xml not found
at org.hibernate.cfg.Configuration.addResource(Configuration.java:479)
at org.hibernate.cfg.Configuration.parseMappingElement(Configuration.java:1465)
at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1433)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1414)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1390)
at org.hibernate.cfg.Configuration.configure(Configuration.java:1344)
at org.hibernate.console.ConsoleConfiguration.loadConfigurationXML(ConsoleConfiguration.java:208)
at org.hibernate.console.ConsoleConfiguration.access$0(ConsoleConfiguration.java:155)
at org.hibernate.console.ConsoleConfiguration$1.execute(ConsoleConfiguration.java:131)
at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:35)
at org.hibernate.console.ConsoleConfiguration.buildWith(ConsoleConfiguration.java:112)
at org.hibernate.console.ConsoleConfiguration.build(ConsoleConfiguration.java:98)
at org.hibernate.eclipse.console.workbench.ConsoleConfigurationWorkbenchAdapter.getChildren(ConsoleConfigurationWorkbenchAdapter.java:19)
at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:70)
at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:192)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
and my console fails to expand.
My resource view of my java project in eclipse is as follows
events
---com
---*.java
---*.hbm.xml
---*.class
---lib
---all libraries
--- .classpath
--- .project
--- hibernate.cfg.xml
--- hibernate.reveng.xml
hibernate.cfg.xml file is as follows
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
oracle.jdbc.driver.OracleDriver
scoreplus
jdbc:oracle:thin:@BLRKEC24428D:1521:ORCL
scoreplus
org.hibernate.dialect.Oracle9Dialect
<!-- JDBC connection pool (use the built-in) -->
1
org.hibernate.hql.classic.ClassicQueryTranslatorFactory
<!-- Echo all executed SQL to stdout -->
true
</session-factory>
</hibernate-configuration>
can some one help
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962094#3962094
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962094
18 years, 5 months
[Design of JBoss Profiler] - Re: Problems Jboss 4.0.2/JKD1.4.2/Profiler1.0.RC3/Solaris 9
by thof
I installed your latest version, but can not compile the sources with gcc:
compile.sh
../../src/jbossInspector.cc: In function `void notifyEvent(JVMPI_Event*)':
../../src/jbossInspector.cc:1565: error: `JVMPI_REQUESTED_EVENT' undeclared (first use this function)
../../src/jbossInspector.cc:1565: error: (Each undeclared identifier is reported only once for each function it appears in.)
../../src/jbossInspector.cc:1575: error: 'union JVMPI_Event::' has no member named 'method_entry2'
../../src/jbossInspector.cc:1575: error: 'union JVMPI_Event::' has no member named 'method_entry2'
../../src/jbossInspector.cc:1579: error: 'union JVMPI_Event::' has no member named 'method'
../../src/jbossInspector.cc:1583: error: `JVMPI_NORMAL_OBJECT' undeclared (first use this function)
../../src/jbossInspector.cc:1592: error: 'union JVMPI_Event::' has no member named 'obj_free'
../../src/jbossInspector.cc:1611: error: 'union JVMPI_Event::' has no member named 'monitor_wait'
../../src/jbossInspector.cc:1611: error: 'union JVMPI_Event::' has no member named 'monitor_wait'
../../src/jbossInspector.cc:1614: error: 'union JVMPI_Event::' has no member named 'monitor_wait'
../../src/jbossInspector.cc:1614: error: 'union JVMPI_Event::' has no member named 'monitor_wait'
../../src/jbossInspector.cc:1618: error: 'union JVMPI_Event::' has no member named 'monitor'
../../src/jbossInspector.cc:1621: error: 'union JVMPI_Event::' has no member named 'monitor'
../../src/jbossInspector.cc:1624: error: 'union JVMPI_Event::' has no member named 'monitor'
../../src/jbossInspector.cc:1628: error: 'union JVMPI_Event::' has no member named 'raw_monitor'
../../src/jbossInspector.cc:1628: error: 'union JVMPI_Event::' has no member named 'raw_monitor'
../../src/jbossInspector.cc:1631: error: 'union JVMPI_Event::' has no member named 'raw_monitor'
../../src/jbossInspector.cc:1631: error: 'union JVMPI_Event::' has no member named 'raw_monitor'
../../src/jbossInspector.cc:1634: error: 'union JVMPI_Event::' has no member named 'raw_monitor'
../../src/jbossInspector.cc:1634: error: 'union JVMPI_Event::' has no member named 'raw_monitor'
The shipped solaris jbossInspector lib has dependent libs which are not on our system:
ldd: /usr/local/jboss-profiler-1.0.CR4/jvmpi/solaris/libjbossInspector.so: is not executable
libstdc++.so.2.10.0 => (file not found)
libm.so.2 => (file not found)
libc.so.1 => /usr/lib/libc.so.1
libdl.so.1 => /usr/lib/libdl.so.1
/usr/platform/SUNW,Ultra-Enterprise/lib/libc_psr.so.1
The RC3-lib uses other versions of dependent libs:
ldd: /usr/local/jboss-profiler-1.0.RC3/jvmpi/solaris/libjbossInspector.so: is not executable
libstdc++.so.6 => /usr/local/lib/libstdc++.so.6
libm.so.1 => /usr/lib/libm.so.1
libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1
libc.so.1 => /usr/lib/libc.so.1
libdl.so.1 => /usr/lib/libdl.so.1
/usr/platform/SUNW,Ultra-Enterprise/lib/libc_psr.so.1
Thanks in advance!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962076#3962076
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962076
18 years, 5 months