users@glassfish.java.net

Re: Java Persistence API and german umlauts in path

From: Sahoo <Sahoo_at_Sun.COM>
Date: Mon, 24 Dec 2007 08:46:14 +0530

You are most likely facing
https://glassfish.dev.java.net/issues/show_bug.cgi?id=3827 which has
been fixed in GF v2.1 branch. Pick the latest build from that branch and
let us know if it addresses your issue or not.

Thanks,
Sahoo

glassfish_at_javadesktop.org wrote:
> Hello,
>
> first, my english is bad, but it was worser to find the right place for my question. I hope this one is the right one. if not, Im sorry. :)
>
> I've got a problem with JPA and german umlauts (ö,ä,ü,(ß)) in the path. It don't matter if it is a Windows or Linux path.
> I wrote my program in NetBeans 6 and also used its TopLink Essentials Library. Everything works as it should, but if I place the created jar file (whole /dist folder) in a path with a german umlaut, it dont work anymore.
>
> javax.persistence.PersistenceException: No Persistence provider for EntityManage
> r named Project_Gartenverein: The following providers:
> oracle.toplink.essentials.PersistenceProvider
> oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider
> Returned null to createEntityManagerFactory.
>
> at javax.persistence.Persistence.createEntityManagerFactory(Persistence.
> java:154)
> at gui.MainWindow.init(MainWindow.java:61)
> at gui.MainWindow.<init>(MainWindow.java:41)
> at gui.MainWindow$5.run(MainWindow.java:408)
> at java.awt.event.InvocationEvent.dispatch(Unknown Source)
> at java.awt.EventQueue.dispatchEvent(Unknown Source)
> at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
> at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.run(Unknown Source)
>
> Tried on Windows XP SP2 and Ubuntu 7.10 (Gutsy)
> If you need more informations, please ask.
> I hope someone can help me with that.
> [Message sent by forum member 'x3cion' (x3cion)]
>
> http://forums.java.net/jive/thread.jspa?messageID=251211
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>