Hi,

Trying to port an app that uses CMP to Jboss from Borland.

I've set up all the config files, ejb-jar.xml, jboss.xml, jbosscmp-jdbc.xml 
oracle-ds.xml. I start up the server and everything seems ok. The JMX console 
reports my beans are deployed etc.

Then I run my app which eventually gets to call findByPrimaryKey on one of my 
CMP objects and it returns javax.ejb.ObjectNotFoundException: No such entity!

I look at the jboss log file and it shows the SQL being executed which is 
perfectly fine. The row is definitely in the database, the key being passed is 
definitely correct from using the Eclipse debugger.

I just don't know how to diagnose a problem like this. I mean, I wonder if it 
is definitely executing the SQL on the correct oracle database, and not for 
example the HSSQL database. All the config I THINK points to the right place, 
but there is nothing in the log to say what is what.

I just don't know how to proceed on this. I've looked at these config files a 
hundred times. I've looked at all the details in the log. There isn't enough 
info to know where to go next. Help!


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904779#3904779

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3904779


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to