NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
anaq
Joined: 21 Sep 2009 Posts: 44
|
Posted: Mon Dec 28, 2009 12:42 pm Post subject: MarshalException when getting entity classes outside Netbeans environment |
|
|
Hi all,
I'm developing an enterprise application in Netbeans 6.7.1, Glassfish v2.1 with swing client, EJB3, JPA and MySQL database. At this time it's running on Windows XP (tried on Windows 7 with same result). When I run the client from Netbeans, everything works. But when I run the client directly from Glassfish (java web start), I can not transfer entity classes from session bean. It throws this exception:
| Code: |
javax.ejb.EJBException: nested exception is: java.rmi.MarshalException: CORBA MARSHAL 1398079699 Maybe; nested exception is:
org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 211 completed: Maybe
|
Calling a session bean works (I can login, I can get non-entity objects from server, database connection works(calling native or non-native queries),...), but getting one or more (List) entity classes fails. Can anybody help me? I know, MarshalException means something wrong on the server side... how can I find out, where is the problem? Server log doesn't contain anything...
Thank you |
|
| Back to top |
|
 |
anaq
Joined: 21 Sep 2009 Posts: 44
|
Posted: Wed Dec 30, 2009 12:10 pm Post subject: Re: |
|
|
| Ok, I found the solution... I don't know why, but when I remove MySQL library from ejb project (don't need it any more), works everything. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|