Is it possible that Toplink requires resource references as per EJB spec?
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059374#4059374
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059374
_
Hi ,
thanks for the response but I had already been to this page with this
exception and if you take a look at the code that is given there then you will
notice that they have used a variable by the name mySession which they have
provided no reference for as how did they implemented or
Hi again!
Good news! Take a look at this post on another forum
http://forums.oracle.com/forums/thread.jspa?threadID=244914
//Oskar
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058577#4058577
Reply to the post :
http://www.jboss.com/index.html?module=bb&
Hello again!
If your datasource is correctly deployed, then I don't know. It might be a
TopLink issue. This is the way to deploy a EJB3 jar file and connect it to a
datasource.
When using EJB3 and JPA you are not using Hibernate directly. You are using
JPA, which JBoss in turn maps to Hibernat
Hi !
I am able to get the datasource being properly deployed and able to see
it at the server console also. There is no error so far with this part . But
when I go for deployment of the entity bean then it shows an error that this
jndi name is not a compound name and then the call to
Why are you using TopLink?
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058214#4058214
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058214
___
jboss-user m
Hi!
The datasource file has its own deployment, so this file shall be put directly
in the deploy folder. When doing this you'll see JBoss deploying the ds file.
After the deloyment (takes a second or two) you can find the deployed
datasource in the jmx-console (http://localhost:8080/jmx-console
TO further add to the things I had already put the ds.xml file in the deploy
directory but it when I go to access the entity it throws up this error :
Internal Exception: javax.naming.InvalidNameException: Not a compound name:
my-ejb-test
16:05:48,312 ERROR [STDERR] at
oracle.toplink.essent
Hi oskar.carlstedt,
First of all thanks a lot for your reply .
Yes , I am using toplink here and I have already got the clue
for ds.xml file but I want to where I should be putting this ds.xml file :
1.Should I pack it in the ear file along with the persistence.xml file
Sorry, now thing got messed up here. We take the examples once again. Look at
the JNDI-names. These got messed in the previous post.
//Oskar
persistence.xml
| http://java.sun.com/xml/ns/persistence";
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
| xsi:schemaLocation="ht
Hi!
It seems like JBoss can't find your datasource. It also looks like you are
using toplink, are you? The example bellow is for the normal JBoss EJB3 (on top
of Hibernate). Anyway, the configuration shall still be the same (please
correct me if I'm wrong) except some of the properties in persi
11 matches
Mail list logo