[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [eclipselink-users] eclipselink.target-server with OC4J
|
Hi,
Thank you for raising this issue. We currently support the generic version of OC4J only.
You will need to change the target-server to "OC4J" as defined in org.eclipse.persistence.jpa.config.TargetServer.
<property name="eclipselink.target-server" value="OC4J"/>
There currently are 2 bugs tracking this issue for a later 1.1 release of EclipseLink.
- remove the 2 10/11 specific platform identifiers to avoid a CNFE
https://bugs.eclipse.org/bugs/show_bug.cgi?id=218075
- add the 11 specific platforms
https://bugs.eclipse.org/bugs/show_bug.cgi?id=213338
thank you
/michael
-----Original Message-----
From: ageing student [mailto:rsherman315@xxxxxxxxxxx]
Sent: Tuesday, May 27, 2008 10:43 AM
To: eclipselink-users@xxxxxxxxxxx
Subject: [eclipselink-users] eclipselink.target-server with OC4J
When using the property eclipselink.target-server with the value OC4J_10_1_3
in my persistence.xml I get the following error ...
Exception creating EntityManagerFactory using PersistenceProvider class
org.eclipse.persistence.jpa.PersistenceProvider for persistence unit
ServerJPA.
I don't get this error if I omit the property.
I'm using OC4J 10.1.3.3.0
My persistence.xml is as follows
<?xml version="1.0" encoding="windows-1252" ?>
<persistence xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
version="1.0" xmlns="http://java.sun.com/xml/ns/persistence">
<persistence-unit name="ServerJPA" transaction-type="JTA">
<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
<jta-data-source>jdbc/jpa</jta-data-source>
<properties>
<property name="eclipselink.target-database" value="Oracle"/>
<property name="eclipselink.target-server" value="OC4J_10_1_3"/>
<property name="eclipselink.logging.level" value="INFO"/>
<property name="eclipselink.logging.exceptions" value="true"/>
<property name="eclipselink.logging.exceptions" value="true"/>
<property name="eclipselink.logging.thread" value="true"/>
<property name="eclipselink.logging.timestamp" value="true"/>
<property name="eclipselink.logging.session" value="true"/>
<property name="eclipselink.logging.level.WEAVER" value="INFO"/>
</properties>
</persistence-unit>
</persistence>
--
View this message in context: http://www.nabble.com/eclipselink.target-server-with-OC4J-tp17492054p17492054.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.
_______________________________________________
eclipselink-users mailing list
eclipselink-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-users