[JBoss JIRA] Created: (JBAS-4282) Can't create a root context web app
by Stan Silvert (JIRA)
Can't create a root context web app
-----------------------------------
Key: JBAS-4282
URL: http://jira.jboss.com/jira/browse/JBAS-4282
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Web (Tomcat) service
Affects Versions: JBossAS-5.0.0.Beta2
Reporter: Stan Silvert
Assigned To: Remy Maucherat
I am unable to deploy a web app as root context using the instructions here:
http://wiki.jboss.org/wiki/Wiki.jsp?page=SetupARootContextApp
One thing that is unclear is if ROOT.war "must" be removed from /deploy. In 4.2, root context web apps do not require removal of ROOT.war. IMHO, this is how it should work. If you deploy a WAR as the root context, it should simply override whatever was there before.
If ROOT.war is removed, 5.0 will allow a root context web app as long as it is deployed from an EAR and specified as such in application.xml. Otherwise, it will fail.
If you choose to deploy a stand-alone WAR and specify it as root context using jboss-web.xml, it will always fail - regardless of whether or not you remove ROOT.war.
I have committed a test for root deployment in both 4.2 and 5.0. The test passes in 4.2, but not in 5.0. You can run it with:
build one-test -Dtest=org.jboss.test.web.test.RootContextUnitTestCase
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 2 months
[JBoss JIRA] Created: (JBAOP-616) Move interceptor chain creation logic (pointcutResolved) to AdviceBinding
by Flavia Rainone (JIRA)
Move interceptor chain creation logic (pointcutResolved) to AdviceBinding
-------------------------------------------------------------------------
Key: JBAOP-616
URL: https://jira.jboss.org/jira/browse/JBAOP-616
Project: JBoss AOP
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Reporter: Flavia Rainone
Assignee: Flavia Rainone
AdviceBinding contains all interceptor factories and, thus, should be responsible for invoking the factories to create interceptors, instead of allowing access to
its internal data to have others perform this.
This task includes the following steps:
- the creation of an InterceptorChainFactory, that encapsulates completely the logic of creation of interceptor chains, creating CflowInterceptors, GenertedAdvisorInterceptors, plain interceptors whenever needed.
- the internal fields of the AdviceBinding will be replaced by this factory (except the pointcut). Ideally, this factory will not be accessed by any other part of the code.
- perform retrieval of the appropriate interceptor chain factory accordingly to the instrumentation mode.
- add a self removal operation to AdviceBinding. This operation will remove all created interceptors from their chains.
Having this structure (ie., logic of chain creation moved to inside AdviceBinding) is the only way that allows the efficient removal of bindings, without performing any matching or search.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 2 months