persistence@glassfish.java.net

Re: stand-alone & portable clients -ejb3

From: James Sutherland <jamesssss_at_yahoo.com>
Date: Tue, 8 Apr 2008 05:55:23 -0700 (PDT)

Are you sure that no errors are occurring? Perhaps the errors are somehow
being caught or lost.

Try setting the log level to finest and include the log for an operation and
the source code for the operation. Try adding a try catch block and dumping
any error that may be occurring.

Are you accessing JPA from the client, or the server?


eveeve wrote:
>
> Hello everyone,
>
> I have been trying to working on this for some time now.
> I started my application with stand-alone clients and now
> what to change it application client to make it portable.
>
> I have tried and got to a point where I get now error but
> nothing is going into the DB and there is no error. I was
> told that if the application has been set to metadata to true
> that it stops the injection from taking place. When I run
> it as stand alone it works but when I try my application
> client, nothing happens. Could it be that it is not injecting?
>
> I have tried the Cart and order examples of the tutorial. And
> followed it but still nothing seems to be working.
>
> I have testing it both with the Java DB and MS SQL server 2000 using
> toplink.
>
> Here is the application - client xml:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <application-client version="5" xmlns="http://java.sun.com/xml/ns/javaee"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
> http://java.sun.com/xml/ns/javaee/application-client_5.xsd">
> <display-name>STOCKINFOR2-app-client</display-name>
> </application-client>
>
>
> and application xml
>
>
> <?xml version="1.0" encoding="UTF-8"?>
> <application version="5" xmlns="http://java.sun.com/xml/ns/javaee"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
> http://java.sun.com/xml/ns/javaee/application_5.xsd">
> <display-name>STOCKINFOR2</display-name>
> <module>
> <web>
> <web-uri>STOCKINFOR2-war.war</web-uri>
> <context-root>/STOCKINFOR2-war</context-root>
> </web>
> </module>
> <module>
> <java>STOCKINFOR2-app-client.jar</java>
> </module>
> <module>
> <ejb>STOCKINFOR2-ejb.jar</ejb>
> </module>
> </application>
>
>
> Could you see anything I can't see and if so, please
> help.
>
> Thanks
>
> eve
>


-----
---
http://wiki.eclipse.org/User:James.sutherland.oracle.com James Sutherland 
http://www.eclipse.org/eclipselink/
 EclipseLink ,  http://www.oracle.com/technology/products/ias/toplink/
TopLink 
Wiki:  http://wiki.eclipse.org/EclipseLink EclipseLink , 
http://wiki.oracle.com/page/TopLink TopLink 
Forums:  http://forums.oracle.com/forums/forum.jspa?forumID=48 TopLink , 
http://www.nabble.com/EclipseLink-f26430.html EclipseLink 
Book:  http://en.wikibooks.org/wiki/Java_Persistence Java Persistence 
-- 
View this message in context: http://www.nabble.com/stand-alone---portable-clients--ejb3-tp16540247p16558221.html
Sent from the java.net - glassfish persistence mailing list archive at Nabble.com.