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