Ok. I make a mistake when i write this post. The datebase name is ok.
I try witout this line
property name=Context.INITIAL_CONTEXT_FACTORY
value=org.apache.openejb.client.LocalInitialContextFactory /
and everything is the same.
openejb.log output:
2009-02-22 17:39:59,171 - INFO - Found
Hello ,
In my project i am using OpenEJB with Tomcat and Oracle 10g with Toplink as
provider
I have problems configuring the persistence units and/or datasources. I am
not quite sure what the problem is.
The structure of ejb jar folder is:
-projectjar.jar
--com
--META-INF,
where
The datasource names in your persistence.xml (DBFirst, DBSec) do not
match the names of the datasources you configured in your openejb.xml
(DBM, DBL).
I'm suspicious of this line in the persistence.xml:
property name=Context.INITIAL_CONTEXT_FACTORY
/persistence
Any help welcome.
Thanks in advance.
Jens Toerber
--
View this message in context:
http://www.nabble.com/OpenEJB-on-Oracle-tp20294024p21952439.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
On Jan 19, 2009, at 2:20 PM, JensToerber wrote:
Hi David,
thanks a lot for your support:
I)
i tried the javax.mail.Session Resource:
What i found out:
a) If you specify the pass-through Properties in
Resource id=BedsMailSession type=javax.mail.Session
# mail.host=
/TimerBeanLocalTest.java
TimerBeanLocalTest.java
--
View this message in context:
http://www.nabble.com/OpenEJB-on-Oracle-tp20294024p21552837.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
did not manage to run OpenEJB on Oracle in JUnit-Test if i
configure it
like this:
p.put(DATASOURCE, new://Resource?type=DataSource);
p.put(DATASOURCE + .JdbcDriver, oracle.jdbc.OracleDriver);
// it is not working thin driver is complaining about missing
username
Hi again,
because of time issues i changed temporarily back to JBoss with an EAR.
I will change this, when i am ready with the first step of development.
What i found out:
I did not manage to run OpenEJB on Oracle in JUnit-Test if i configure it
like this:
p.put(DATASOURCE, new://Resource?type
Hi again,
because of time issues i changed temporarily back to JBoss with an EAR.
I will change this, when i am ready with the first step of development.
I changed to Hibernate in OpenEJB3.1-JUnit-Tests and it works fine so far.
What i found out:
I did not manage to run OpenEJB on Oracle
On Dec 28, 2008, at 2:12 PM, JensToerber wrote:
Hi again,
Hi Jens!
I did not manage to run OpenEJB on Oracle in JUnit-Test if i
configure it
like this:
p.put(DATASOURCE, new://Resource?type=DataSource);
p.put(DATASOURCE + .JdbcDriver, oracle.jdbc.OracleDriver
(excuse the delay - vacation)
On Nov 22, 2008, at 6:54 AM, JensToerber wrote:
Hint:
If you try to run it as openejb-3.1.war you get trouble with the
installer.jsp, because the install-Button there expects ContextPath
/openejb. It's better to run it as openejb.xml, because otherwise
you get
/CategoryDaoLocal.java
CategoryDaoLocal.java http://www.nabble.com/file/p20637148/DaoAll.java
DaoAll.java http://www.nabble.com/file/p20637148/openejb.xml openejb.xml
--
View this message in context:
http://www.nabble.com/OpenEJB-on-Oracle-tp20294024p20637148.html
Sent from the OpenEJB User
welcome.
Thanks in advance.
Jens Toerber
http://www.nabble.com/file/p20516594/openejb.log openejb.log
http://www.nabble.com/file/p20516594/openejb.log openejb.log
--
View this message in context:
http://www.nabble.com/OpenEJB-on-Oracle-tp20294024p20516594.html
Sent from the OpenEJB User
/persistence-unit
/persistence
Any help welcome.
Thanks in advance.
Jens Toerber
--
View this message in context:
http://www.nabble.com/OpenEJB-on-Oracle-tp20294024p20294024.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
14 matches
Mail list logo