I'm still not having any luck.
I've stripped down the original .aop file from the example and put the
SimpleInterceptor class in it's own jar file without a META-INF/jboss-aop.xml
file. I have put this jar in the jboss-aop-jdk50.deployer directory. I then
added the following to the
I'm trying to use JBoss AOP to intercept the execution of TomcatDeployer
performDeploy method so that I can manipulate the WebApplication object but it
doesn't seem to work for me.
I followed the instructions on READ THIS FIRST sticky post of this forum to set
up AOP on JBoss 4.2.1 which
Thanks Kabir. I guess I need to take a look at deployment order so that my
interceptor is loaded before TomcatDeployer.
Would putting the .aop archive file in the jboss-aop-jdk50.deployer directory
be a good solution? As far as I can tell this directory gets deployed before
the
Thanks Wayne.
Do you know whether a web contexts ENC can be set up dynamically with MBeans
under JBoss. I know that Tomcat has pretty good MBeans support and in stand
alone mode this can be done, but as far as I know JBoss handles Tomcat's JNDI
when it's embedded.
Any thoughts?
Steve
View
waynebaylor wrote:
anonymous wrote : each web context should have its own ENC. so, for a given WAR
file you can define java:comp/env/... lookups in its web.xml/jboss-web.xml.
That's true. But if each war file is being shared by multiple web contexts then
they all share the same ENC. Is there a
Before I continue looking for a way to initialise a name space for each web
context maybe I should be asking whether there is one in the fist place.
So does anyone know whether each web context is given it's own JNDI name space?
Thanks,
Steve
View the original post :
I'm having a very similar problem; multiple web contexts sharing a war file,
each using distinct data.
I solved the problem slightly differently in Tomcat stand alone. Each context
is given a unique key via JNDI that it uses to select the relevant rows of a
shared database. But I think we're
Hi,
I'm moving my application from Tomcat to JBoss and I have a question. I need to
allow multiple virtual hosts to use the same wars. On Tomcat I did this with
hosts described in server.xml and context fragments
(TOMCAT_DIR/conf/Catalina/my-host.com/ROOT.xml) for each domain. Within these
I think this is actually just a JNDI question. In JBoss, is there a JNDI
context for each web context or virtual host, and if so where is it configured?
I've been looking at the JBoss Wiki:
http://wiki.jboss.org/wiki/Wiki.jsp?page=JNDIBindingServiceMgr
and this page looks like it could be the
Thanks for getting back to me. I think what you're describing is a env-entry
for a certain web-app that can be defined in web.xml. This would then be the
same for all virtual hosts that use this web app.
I'm looking for a env-entry for each virtual host. So that depending on which
domain name
This post started here:
http://www.jboss.org/index.html?module=bbop=viewtopict=113731
but I thought it might be more appropriate in the Tomcat forum.
Does anyone know how to configure a separate JNDI context for each virtual host
using the same war?
I'm currently doing this with stand alone
This post started here:
http://www.jboss.org/index.html?module=bbop=viewtopict=113731
but I thought it might be more appropriate in the Tomcat forum.
Does anyone know how to configure a separate JNDI context for each virtual host
using the same war?
I'm currently doing this with stand alone
12 matches
Mail list logo