-
1. Re: how to enable extension for ejb in Jboss7
ctomc Jan 2, 2013 6:20 AM (in response to mitvivek)Hi,
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.
--
tomaz
-
2. Re: how to enable extension for ejb in Jboss7
mitvivek Jan 2, 2013 6:51 AM (in response to ctomc)Hi Tomaz,
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.
Thanks
Vivek
-
3. Re: how to enable extension for ejb in Jboss7
ctomc Jan 2, 2013 9:24 AM (in response to mitvivek)hi,
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>
--
tomaz
-
4. Re: how to enable extension for ejb in Jboss7
mitvivek Jan 3, 2013 1:01 AM (in response to ctomc)Hi,
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.
Regards,
Vivek
-
5. Re: how to enable extension for ejb in Jboss7
nickarls Jan 3, 2013 2:19 AM (in response to mitvivek)EJB 1.1?
-
6. Re: how to enable extension for ejb in Jboss7
jaikiran Jan 3, 2013 2:25 AM (in response to mitvivek)Are you sure it's EJB 1.1? I don't even remember hearing about it or know what it consists of.
-
7. Re: how to enable extension for ejb in Jboss7
nickarls Jan 3, 2013 2:29 AM (in response to jaikiran)http://docs.oracle.com/cd/E13211_01/wle/pdf/ejb1_1-spec.pdf
It's like Windows 2.0, it exists but I've only seen it once ;-)
-
8. Re: how to enable extension for ejb in Jboss7
mitvivek Jan 3, 2013 3:44 AM (in response to nickarls)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,
VIvek
-
9. Re: how to enable extension for ejb in Jboss7
nickarls Jan 3, 2013 3:51 AM (in response to mitvivek)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?
-
10. Re: how to enable extension for ejb in Jboss7
mitvivek Jan 3, 2013 3:55 AM (in response to nickarls)Hi Nicklas,
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.
-
11. Re: how to enable extension for ejb in Jboss7
ctomc Jan 3, 2013 5:18 AM (in response to mitvivek)1 of 1 people found this helpfulEJBObject 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...
--
tomaz
-
12. Re: how to enable extension for ejb in Jboss7
mitvivek Jan 4, 2013 12:10 AM (in response to ctomc)Hi Tomaz,
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.
Cheers
Vivek