-
1. Re: JBoss 3.2.3 and Root Directory ¿?
alesj May 4, 2006 7:12 AM (in response to gorkinson)What's the most likely Tomcat stuff in deploy directory in 3.2.3 version?
-
2. Re: JBoss 3.2.3 and Root Directory ¿?
gorkinson May 5, 2006 8:27 AM (in response to gorkinson)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:
for
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>502</error-code>
/GestionErrores.jsp?error=502
</error-page>
and it work ok.
But the problem is the error 401.
I catch it with:
<error-page>
<error-code>502</error-code>
/GestionErrores.jsp?error=502
</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>502</error-code>
/GestionErrores.jsp?error=502
</error-page>
in web.xml , the aplication doesnt work.
Well.... thanks for your reply ... -
3. Re: JBoss 3.2.3 and Root Directory ¿?
gorkinson May 5, 2006 8:29 AM (in response to gorkinson).. i changed in jboss-service.xml
DefaultContext cookies="true" crossContext="true" override="true"
for
Context path="" docBase="deploy/ROOT.war/" cookies="true" crossContext="true"
now, the root directory is deploy/ROOT.war
..... -
4. Re: JBoss 3.2.3 and Root Directory ¿?
gorkinson May 5, 2006 8:35 AM (in response to gorkinson)i repeat the message .. there was to much errors ...
-
5. Re: JBoss 3.2.3 and Root Directory ¿?
gorkinson May 5, 2006 8:35 AM (in response to gorkinson)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 ...