1 Reply Latest reply on Jul 23, 2007 5:25 AM by jimmy mani

    java.lang.LinkageError-hot deployment

    jimmy mani Newbie

      i have two applications running in my Jboss.

      they are app.ear and admin.ear.

      admin.ear is for admin related activities and app.ear is main application

      both contain some entities(EJB3) of same name and same package name.

      if i stop the server and restart no issue on deployment and running both applications(it automatically deploy app first and admin next).
      if i hot deploy admin.ear also no issue.

      if i hot deploy app.ear, deployment is fine. but when i run the application its throws java.lang.LinkageError ..(at the point when name match is there)

      help me in solving this issue..

      Caused by: java.lang.RuntimeException: java.lang.LinkageError: loader constraints violated when linking net/star/app/ejb/entities/LineItem class
      at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:174)