Where can I find the class InitializerContextLoaderListener ?
I tried to follow the above code, but I couldn't find
InitializerContextLoaderListener anywhere, so I assumed that you were refering
to ContextLoaderListener , and substituting InitializerContextLoaderListener
with
The RootJndiApplicationContextName, should that be the context name of the bean
Factory in the ejb Context (i.e. parent) or the web Context (i.e. child ) ?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4135961#4135961
Reply to the post :
Still the same error. btw, I set the DEFAULT_ROOT_APP_CONTEXT_JNDI_NAME to the
parent cotext name. ( I hope that the right thing to do), in both
JndiRootApplicationContextLookup and AbstractJndiContextLoader .
Who calls the static lookup method of JndiRootApplicationContextLookup class ?
I
OK so I am on the correct path, I have decared the root context correctly, but
I still can't get access to the beans defined in the root context.
As I said in my previous email, the initialize method of
JndiRootApplicationContextLookup , should probably call the lookup method or
something. As
OK here's an alternate approach that worked for me.
Simply extend the ContextLoader and override the loadParentContext method.
In the load parentContext method, look up the root context from JNDI and retrun
it.
No need to have any more classes, no need to add description elements to any
spring
Hi,
Sorry for posting a late reply.
Embedded EJB3 uses Microcontaier Deployer.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=401#401
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=401
By any chance do you set the following property in your run.{sh/conf/bat} file ?
-Dcom.sun.management.jmxremote
I was having the exact same problem, when I had the above string, in my
run.conf. I had put it there to enable jmx local agent, so that I can use
jconsole against jboss.
But somehow
Problem solved.
Initially I had annotated my Interface, and my implementation, with the default
values for the @WebService annotation.
The interface and implementation, were in different packages, so they had
different target namespaces.
The problem went away when I specified the same
Hi,
I have a following EAR setup.
myApp.ear
|
`META-INF/application.xml
|
`myWeb.war (ctx root set to /myWeb in application.xml of ear)
|
`myEjb.jar
|
`SLSB EJB3s (also exposed as WS).
META-INF
|
`jboss.xml
I want to override the default context
The release notes of 2.0.1 say it was fixed to work with JDK 1.6.
How ever I can't get it to work with JDK 1.6 under jboss 4.0.5.
If I run against JDK 1.6, I get the error saying jaxb-api.jar ver. 2.0 is
loaded from bootstrap classpath however the JAX RI requires ver 2.1. To
override , use the
I have a very simple EJB3 SLSB EchoService, which has one method hello.
Operation hello takes in a string and returns the same string.
If I deploy this application, in jboss 4.0.5 stock which comes with
jbossws 1.0.3, then I am able to successfully invoke the hello operation using
soapui.
Now
I have 2 jboss server instances , one is running 4.2.1, and has certain
stateless session EJB3s.
The other is 4.0.5, which calls these SLSBs. The 4.0.5 has been installed using
the JEMS installer, and selecting the EJB3 option. (so it has all the necessary
ejb3 related jar files).
But when
I want to use the Spring Deployer to inject EJBs in POJOs.
I wrote a BeanPostProcessor that will inject EJBs into any POJO having a
javax.ejb.EJB annotation.
But the problem is , the EJBs are not started untill the ear deployes, and the
ear is not deployed untill all its components including
Is there a way to enable the spring deployer in the Jboss Embeddable EJB3
container ?
I want to write some integration tests, that I want to fire using the
embeddable ejb3 container.
What I can't figure out is how to enable the spring deployer ?
I figure it has something to do, with adding
I did read the article on sys-conf and it mentioned that I can inject spring
beans in POJOs with @Spring annotations and jboss AOP.
Is there a concrete example of doing this ? I presume I would have to play with
ejb3-interceptors-aop.xml ? but isn't this only for aop interception of ejb3 ?
I
I am confused.
Did you generate 2 files one called admin-ejb.spring and another called
admin-ejb.jar ?
Or just one file admin-ejb.spring and referred it by 2 names .spring and .ejb
so that spring and ejbs both get loaded ?
View the original post :
I checked the Wiki page , and it has no mention of editing
ejb3-interceptors-aop.xml .
The latest version of the spring deployer has no documentation nor any source
code. I downloaded the previous ver. 1.4 which has wrong documentation.
it says the Horoscope bean uses non AOP injection, by using
Instead of creating a .spring archive, I am looking in to using the
APPNAME-spring.xml file for spring deployment.
My current setup is like this
app.ear
|_ app.ejb (contains ejb3 and all java classes)
|_app-web.war (web application)
If I want my spring code inside app-ejb.jar to be
btw,
I am able to successfully deploy booking example. Probably a bug in the
contactlist example itself rather than seam.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3981556#3981556
Reply to the post :
Using jboss seam 1.1.0 beta
and jboss AS 4.0.5 with ejb3.
When I deploy the contactlist example (in examples Directory) I get
anonymous wrote :
| 2006-10-28 18:14:37,515 DEBUG [org.jboss.mx.loading.RepositoryClassLoader]
setRepository, [EMAIL PROTECTED], [EMAIL PROTECTED] url=null
OK,
now every thing is clear to me.
1) When using NB + Jboss, nb finds hibernate JPA in jboss' installation .
but by default hibernate JPA is not available for nb standalone, to add
hibernate JPA to a non jboss project, use this guide.
http://www.netbeans.org/kb/articles/hibernate-javaee.html
I see that a new jboss netbeans IDE is available for download.
I already have a Netbeans 5.5 beta2 installed, I am only interested
in adding jboss 4.0.4 with ejb3 support to it.
Is this doable ? Can I install jboss with ejb3 and add it as a server to an
existing netbeans, ?
what extra
thanks for the reply.
Another question is supporting hibernate persistence API in netbeans/jboss.
netbeans already has toplink libraries, but not hibernate,
so does it use jboss's hibernate libraries , or do I need to manually download
hibernate jars and use netbeans library manager ?
thanks
23 matches
Mail list logo