ejb 3.1 embedded

1 view
Skip to first unread message

Michael Müller

unread,
Jan 20, 2010, 5:24:56 PM1/20/10
to javaee6-codecamp
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi together,

Running my test I allways get an error saying embeded ejb could not been
started. I found a similar thread, but all suggestions didn't solve this
problem.
I opened ejb3.1_embedded from the solution dir: Allways producing the
same error as my homework. Might this solution been broken? Or might
there be something else wrong? Maybe a problem of 64 bit windows/java?

Any suggestion is appreciated.

- --

Herzliche Grᅵᅵe

Michael Mï¿œller
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAktXgrgACgkQPXlNUAY0UtBbjQCggoJfb2Q0U2zD8YApiR3oAgP7
OEoAniniNfSz+Od3BKP8wuuZUhIX0zoy
=Icw4
-----END PGP SIGNATURE-----

Michael Müller

unread,
Jan 21, 2010, 3:51:10 PM1/21/10
to javaee6-codecamp
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I transfered my homework to an other PC (same directory structure to
avoid broken links). It worked fine.

XP, 32 bit --> ok
Vista Business, 64 bit --> fail, watch log

SCHWERWIEGEND: Exception while deploying the app
java.lang.IllegalArgumentException: Invalid ejb jar
[my_ejb3.1_embedded.jar]: it contains zero ejb.
Note:
1. A valid ejb jar requires at least one session, entity (1.x/2.x
style), or message-driven bean.
2. EJB3+ entity beans (@Entity) are POJOs and please package them as
library jar.
3. If the jar file contains valid EJBs which are annotated with EJB
component level annotations (@Stateless, @Stateful, @MessageDriven,
@Singleton), please check server.log to see whether the annotations were
processed properly.
at
com.sun.enterprise.deployment.util.EjbBundleValidator.accept(EjbBundleValidator.java:72)
at
com.sun.enterprise.deployment.util.ApplicationValidator.accept(ApplicationValidator.java:124)
at
com.sun.enterprise.deployment.EjbBundleDescriptor.visit(EjbBundleDescriptor.java:722)

Indeed, the app contains one EJB...

Is this a known bug of Vista or 64 bit version???

Herzliche Grᅵᅵe

Michael Mï¿œller
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAktYvj4ACgkQPXlNUAY0UtCTNwCg9RFkHR2fjK7LWl5wKwV9LdFn
IA4An1bbjsfrNjW6KDnwkbtjIfAXk+Vx
=UVnw
-----END PGP SIGNATURE-----

Reply all
Reply to author
Forward
0 new messages