1 Reply Latest reply on Feb 6, 2003 8:47 PM by juhalindfors

    Bean dependancy and deployment question...

    shaft

      I currently have a session bean and an entity bean in 2 seperate .jar files. The session bean needs to talk to the entity bean.

      My problem is when I copy the 2 jar files over to the jboss deploy directory, the session bean fails to load because the entity bean .jar file (that it talks to) hasn't been loaded yet(I get a NoClassDefFound error - I won't post the whole error message).

      The problem is simply the loading order. If I copy the entity bean over first, let it load, then copy the session bean over, everything works.

      Is there anyway I can setup a loading dependancy order? I've been playing with adding '' in the jboss.xml, but that doesn't seem to work right for me.

      Any thoughts?