users@glassfish.java.net

Problem finding EntityBean after changing packaging structure

From: <glassfish_at_javadesktop.org>
Date: Tue, 26 Jun 2007 01:58:12 PDT

Hi!

If changed my packagaging structure according to sahoos advice (http://weblogs.java.net/blog/ss141213/archive/2005/12/using_java_pers.html)

lib/entities.jar
lib/ejb-interfaces.jar
ejbs.jar

During deployment everything works right:
[#|2007-06-26T10:36:56.159+0200|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=10;_ThreadName=main;|[TopLink Config]: 2007.06.26 10:36:56.159--ServerSession(
30536150)--The table name for entity [class de.epoq.dycide2.server.entity.ProjectEntity] is being defaulted to: PROJECTENTITY.

But during execution of the first business method, i get an tedious error:
Caused by: java.lang.IllegalArgumentException: Object: de.epoq.dycide2.server.entity.ProjectEntity_at_14a17d9 is not a known entity type.


Before repackaging everything works right (one monolithic jar).
I'm using glassfish v1.

I'm thankful for any hint.

Bye
   - stephan
[Message sent by forum member 'iceandfire' (iceandfire)]

http://forums.java.net/jive/thread.jspa?messageID=223915