facebook

EJB Session Bean Problem

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #226323 Reply

    AustinKenny
    Member

    I am new to EJB’s

    Is it possible to call create a new instance of a non EJB class within a Session Bean. Because I am trying to do this and I keep getting LogInterceptor error on Jboss->

    [LogInterceptor] Unexpected Error in method: public abstract org.jabber.connection.interfaces.JabberIMController org.jabber.connection.interfaces.JabberIMControllerHome.create() throws javax.ejb.CreateException,java.rmi.RemoteException
    java.lang.NoClassDefFoundError: org/jabber/server/JabberServer

    Here is where there is a problem when this is executed in the try&Catch of the session bean class:

    #226324 Reply

    AustinKenny
    Member

    JabberServer srv = new JabberServer();

    boolean con = srv.logonUser(host, hostName, port, url);

    #226328 Reply

    Riyad Kalla
    Member

    Moving to OT > Soft Dev.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: EJB Session Bean Problem

You must be logged in to post in the forum log in