Well... finally its solved ...
there is a directory called "jbossweb-tomcat41.sar".
I modified the current jboss-service.xml in
deploy/jbossweb-tomcat41.sar/META-INF , and I change:
DefaultContext cookies="true" crossContext="true"
override="true"
for
Context path="" docBase="deploy/ROOT.war/"
cookies="true" crossContext="true"
And I added a ROOT.war in deploy.
Now it works ...
But I have a new Problem ... xD
I want to catch the typical errors(400, 401, 500, JavaExceptions...).
I added to /jbossweb-tomcat41.sar/web.xml the lines:
<error-page>
<error-code>NumError</error-code>
/ErrorPage.jsp?error=NumError
</error-page>
and it work ok.
But the problem is the error 401.
I catch it with:
<error-page>
<error-code>401</error-code>
/PageError.jsp?error=401
</error-page>
I have an aplicatión that needs autentication.
With out 401 catching the aplication works OK (the user see a typical
autenticatino window whith user and pass).
but if i catch the 401 error, the aplication doesnt work ...
If i put
<error-page>
<error-code>401</error-code>
/PageError.jsp?error=401
</error-page>
in web.xml , the aplication doesnt work.
Well.... thanks for your reply ...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3941547#3941547
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3941547
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user