Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] JPA: Toplink / Eclipselink works in Netbeans, not as standalone .JAR

!! Sorry if this is a duplicate post, I accidentally logged in under a
different account ant it was saying that there had been no post yet. !!

Hey Tom, thanks for the reply


tware wrote:
> 
> What application server are you running?  What version?  Is EclipseLink
> installed?
> 

We're trying to run our own game server. This application that we're trying
to start up _is_ the server.


tware wrote:
> 
> Based on your error message, it looks like you have TopLink Essentials but
> not 
> EclipseLink.
> 
> org.eclipse.persistence.jpa.PersistenceProvider is the EclipseLink
> persistence 
> provider and EclipseLink will need to be available to your app server to
> allow 
> you to use it.
> 

Reexamining the jar tf, I found that, indeed, I have the bytecode you
referenced above.

jar tf gatewayserver.jar (output):

META-INF/
META-INF/MANIFEST.MF
...
META-INF/persistence.xml
META-INF/maven/
META-INF/maven/com.novel.tech1/
META-INF/maven/com.novel.tech1/gatewayserver/
META-INF/maven/com.novel.tech1/gatewayserver/pom.xml
META-INF/maven/com.novel.tech1/gatewayserver/pom.properties
...
org/eclipse/persistence/jpa/PersistenceProvider.class


Here's a reference to how we're attempting to load the pu (The last line of
the class method should be the only relevant one).  Once again, this works
from within the netbeans ide, but fails to run as a standalone jar.

http://pastebin.com/XEEXbGBK


-- 
View this message in context: http://old.nabble.com/JPA%3A-Toplink---Eclipselink-works-in-Netbeans%2C-not-as-standalone-.JAR-tp29528473p29536375.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.



Back to the top