what are you trying to achive?
javax.ejb is not an AS extension. at least not out of the box or did you create one named like this?
extension that enables ejbs is "org.jboss.as.ejb3" and that one is enabled by default.
so what are you trying to do.
Thanks for the reply.
You are correct that "org.jboss.as.ejb3" is enabled by default.
Actually while deploying my application I am getting errors related to the missing dependency for EJBObject.
What I want to do is to load the EJBObject prior to loading of my application.
In order to achieve this, I thought of adding the javax.ejb.api in the extensions which by your reply seems incorrect.
Can you please some pointers as to what shall I try.
can you post stacktrace that occurs when class is not found, and what is the full name of the class that is missing.
also can you post output of jar tf <name-of-your-deployment>
I have done certain changes and hence getting new issues.
I will revert the same and post the stack trace soon enough.
Also could you please let me know that I have EJB1.1 in my application, can the same be deployed on Jboss AS 7.1.1 or not?
Thank you so much for your time.
Are you sure it's EJB 1.1? I don't even remember hearing about it or know what it consists of.
Thanks for looking into this thread.
Yes, its a very old application that is being used.
however this application hasn't been migrated to the new standards available.
So, the question I have is will this work with Jboss7?
Thanks & Regards,
Unlikely. There is EJB 2 support but I don't think the specs are that much backwards compatible that you would get automagic support from that. What errors do you get when you try to deploy it?
Well the error I get shows the following error:
Failed to process phase POST_MODULE of subdeployment \"TestWeb.war\" of deployment \"Test.ear\""},"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.naming.context.java.comp.Test.TestSessionEJB.ARManager.ValidatorFactoryjboss.naming.context.java.comp.Test.TestSessionEJB.ARManagerMissing[jboss.naming.context.java.comp.Test.TestSessionEJB.ARManager.ValidatorFactoryjboss.naming.context.java.comp.Test.TestSessionEJB.ARManager
Basically ARManager is an interface which extends EJBObject.
Thus I am under the impression that the EJBObject class has not been loaded and hence this error is being flashed.
1 of 1 people found this helpful
EJBObject is part of EE6 spec and as such also partof AS7.
can you post full boot log to see what is going on.
i think it has something to with jndi more than anything else...
Thanks for the reply.
Its taking sometime for me to get back to this issue as I am stuck on another issue.
Will update this thread will relevant details soon enough.
Once again thanks for your valuable pointers.