[JBoss Tools (users)] - Re: Hibernate Configurations problem
by asookazian
I upgraded (i.e. installed) JBDS 2.0CR2 and reproduced the error:
severity: error
|
| msg: org.hibernate.console.HibernateConsoleRuntimeException: Persistence unit not found: 'null'.
|
| exception stack trace: org.hibernate.console.HibernateConsoleRuntimeException: Persistence unit not found: 'null'.
| at org.hibernate.console.ConsoleConfiguration.buildJPAConfiguration(ConsoleConfiguration.java:148)
| at org.hibernate.console.ConsoleConfiguration.buildConfiguration(ConsoleConfiguration.java:541)
| at org.hibernate.console.ConsoleConfiguration.access$0(ConsoleConfiguration.java:526)
| at org.hibernate.console.ConsoleConfiguration$2.execute(ConsoleConfiguration.java:222)
| at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:64)
| at org.hibernate.console.ConsoleConfiguration.buildWith(ConsoleConfiguration.java:204)
| at org.hibernate.console.ConsoleConfiguration.build(ConsoleConfiguration.java:111)
| at org.hibernate.eclipse.console.workbench.ConsoleConfigurationWorkbenchAdapter.getChildren(ConsoleConfigurationWorkbenchAdapter.java:40)
| at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.getChildren(BasicWorkbenchAdapter.java:99)
| at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:105)
| at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:234)
| at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
|
| session data: eclipse.buildId=M20090107-0800
| java.version=1.5.0_17
| java.vendor=Sun Microsystems Inc.
| BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
| Command-line arguments: -os win32 -ws win32 -arch x86
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4216691#4216691
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4216691
17 years, 1 month
[Installation, Configuration & DEPLOYMENT] - Configuration to Ignore Shared Libraries?
by blima17
Is there a way to configure an application to be deployed to JBoss so that you can ignore certain libraries that are in the common libraries? For OC4J, we have used an orion-application.xml file, allowing the version of the library in our project to be the one imported: <orion-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/orion-application-10_0.xsd" deployment-version="10.1.3.1.0" default-data-source="jdbc/OracleDS" component-classification="external"
| 02. schema-major-version="10" schema-minor-version="0" >
| 03. <imported-shared-libraries>
| 04. <remove-inherited name="oracle.toplink"/>
| 05. <remove-inherited name="oracle.persistence"/>
| 06. <remove-inherited name="oracle.xml"/>
| 07. <remove-inherited name="oracle.xml.security"/>
| 08. </imported-shared-libraries>
| 09.</orion-application>
I'm having problems porting an application running under OC4J to run under JBoss, and I believe it has to do with shared libraries. I've removed all the hibernate* jars, as well as the ejb3-persistence.jar, but that doesn't seem to have solved the problem, and isn't the solution I'm looking for, as our app needs to be deployable on multiple application servers. It currently work in OC4J with the orion-application.xml file, and works w/o any modification in tomcat and glassfish. I appreciate any help you can give me!
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4216685#4216685
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4216685
17 years, 1 month