users@glassfish.java.net

Re: Problem finding EntityBean after changing packaging structure

From: Sahoo <Sahoo_at_Sun.COM>
Date: Tue, 26 Jun 2007 14:32:53 +0530

Hi Stephan,

You are probably facing issue #3235 [1]. Let us know after going thru'
the bug report and analyzing your code.

Thanks,
Sahoo
[1] https://glassfish.dev.java.net/issues/show_bug.cgi?id=3235

glassfish_at_javadesktop.org wrote:
> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>