[jboss-user] [JBoss/Spring Integration] - Re: Accessing app_1's spring beans in app_2's config file

2008-03-12 Thread gumnaam
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

[jboss-user] [JBoss/Spring Integration] - Re: Accessing app_1's spring beans in app_2's config file

2008-03-12 Thread gumnaam
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 :

[jboss-user] [JBoss/Spring Integration] - Re: Accessing app_1's spring beans in app_2's config file

2008-03-12 Thread gumnaam
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

[jboss-user] [JBoss/Spring Integration] - Re: Accessing app_1's spring beans in app_2's config file

2008-03-12 Thread gumnaam
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

[jboss-user] [JBoss/Spring Integration] - Re: Accessing app_1's spring beans in app_2's config file

2008-03-12 Thread gumnaam
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

[jboss-user] [JBoss/Spring Integration] - Re: Spring Deployer inside Embedable EJB3.

2007-09-26 Thread gumnaam
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

[jboss-user] [JBossWS] - Re: NullPointerException with jbossws 2.0.1

2007-08-29 Thread gumnaam
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

[jboss-user] [JBossWS] - Re: jboss 4.0.5 and jbossws 2.0.1, Exception invoking a web

2007-08-28 Thread gumnaam
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

[jboss-user] [JBossWS] - context-root in jboss.xml

2007-08-28 Thread gumnaam
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

[jboss-user] [JBossWS] - jbossWS 2.0.1 and JDK 1.6

2007-08-28 Thread gumnaam
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

[jboss-user] [JBossWS] - jboss 4.0.5 and jbossws 2.0.1, Exception invoking a web serv

2007-08-27 Thread gumnaam
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

[jboss-user] [EJB 3.0] - Talikng to Remote EJBs in 4.2.1 from 4.0.5

2007-08-24 Thread gumnaam
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

[jboss-user] [JBoss/Spring Integration] - EJB Injection.

2007-05-09 Thread gumnaam
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

[jboss-user] [JBoss/Spring Integration] - Spring Deployer inside Embedable EJB3.

2007-05-02 Thread gumnaam
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

[jboss-user] [JBoss/Spring Integration] - @Spring Injection in POJOs

2007-04-25 Thread gumnaam
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

[jboss-user] [JBoss/Spring Integration] - Re: classpath problem: jboss-spring.xml + ejb module

2007-04-13 Thread gumnaam
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 :

[jboss-user] [JBoss/Spring Integration] - Some questions.

2007-04-13 Thread gumnaam
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

[jboss-user] [JBoss/Spring Integration] - Where do I put XYZ-spring.xml

2007-04-13 Thread gumnaam
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

[jboss-user] [JBoss Seam] - Re: Can't Run contactlist in seam 1.1.0

2006-10-28 Thread gumnaam
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 :

[jboss-user] [JBoss Seam] - Can't Run contactlist in seam 1.1.0

2006-10-28 Thread gumnaam
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

[jboss-user] [JBoss and NetBeans] - Re: Jboss Netbeans IDE

2006-09-07 Thread gumnaam
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

[jboss-user] [JBoss and NetBeans] - Jboss Netbeans IDE

2006-09-06 Thread gumnaam
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

[jboss-user] [JBoss and NetBeans] - Re: Jboss Netbeans IDE

2006-09-06 Thread gumnaam
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