Forums Register Login

New Entity Bean prevents JBoss AS to start

+Pie Number of slices to send: Send
Hi!

I am using JBoss Seam on JBoss AS 4.2.1.GA.
I just added a new Entity to my project, and from this time on the JBoss AS doesn't start any more. The last log entry is about the ManyToMany relation I am using. The server stays at this position for minutes until Eclipse comes up with the message "JBoss Server couldn't be started in XX seconds" and it is shut down.

I put the server log here to not overflow this post.

This is the Entity I added:



I tried to change the datasource as well (from MySQL to HSQLDB) but that didn't change anything. When I am going to remove the new class everything works fine.

Do you have an idea what the problem might be?

Thank you in advance!
+Pie Number of slices to send: Send
im no expert but two things that i notice with my newbie eyes (but might be nothing wrong with it though) you use extra quotes in the table name and you do no initialize the artikelListe field at the declaration
in your log there no errors or warnings as far as i can see which is strange
+Pie Number of slices to send: Send
Hi!

The quotes enable Hiberante to handle the table names case sensitive what it doesn't do by default.
The list doesn't need to be initialized (and besides doesn't seem to be related to my problem).

Thank you anyway

Any other ideas?
+Pie Number of slices to send: Send
i would try to simplify the class to narrow down the possible causes. Try removing the many to many relationship and try to run jboss, if it still doesnt run, remove some other features you might be the cause.. i guess using Integer instead of int doesnt make a diffrence..
It runs on an internal combustion engine. This ad does not:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 638 times.
Similar Threads
problem persisting an object with collections and manytomany relationship
Still getting duplicate in JPA ManyToMany Entity Relationship
Confused with many to many,
Need help to correct @JoinColumn mapping in entity class with composite keys
EJB QL w/ ManyToMany
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 10:35:38.