This content has been marked as final.
Show 3 replies
-
1. Re: Change the Error Report
peterj Aug 23, 2006 11:08 AM (in response to jijisv)Provide an error-page entry in your web.xml.
-
2. Re: Change the Error Report
jijisv Aug 24, 2006 12:24 AM (in response to jijisv)I already provided an error-page entry in my application web.xml and if i try to access some invalid resources under my application i'm geting the page i configured in error-page.
My issue is if i try to access any directory in jboss/server/default/work/jboss.web/localhost/ folder other than my web application I'm geting the default error page.
My work folder contents are..[root@wgp localhost]# ll
total 48
drwxr-xr-x 2 root root 4096 Aug 23 20:23 _
drwxr-xr-x 2 root root 4096 Aug 23 20:22 conf
drwxr-xr-x 2 root root 4096 Aug 23 20:22 myApp
drwxr-xr-x 2 root root 4096 Aug 23 20:22 data
drwxr-xr-x 2 root root 4096 Aug 23 20:22 deploy
drwxr-xr-x 2 root root 4096 Aug 23 20:22 invoker
drwxr-xr-x 2 root root 4096 Aug 23 20:22 lib
drwxr-xr-x 2 root root 4096 Aug 23 20:22 log
drwxr-xr-x 2 root root 4096 Aug 23 20:22 tmp
myApp is my application. All other directories are created by Jboss.
http://localhost:8080/myApp/sdjhjh gives proper error page
if i try any of the below urls, i will get a default error page given by JBoss with Tomcat version in its footer. I want to hide only the tomcat version.
http://localhost:8080/conf/
http://localhost:8080/deploy/
http://localhost:8080/lib/
http://localhost:8080/log/
Is there any way to hide this info...?
or any configuration in Jboss which will not create these directories in work folder? -
3. Re: Change the Error Report
jijisv Aug 24, 2006 1:52 AM (in response to jijisv)I could remove the directories conf, deploy, data etc from the work folder thru the following configuration in server.xml
........................ <Host name="localhost" appBase="deploy" autoDeploy="false" deployOnStartup="false" deployXML="false"> ........................ ........................
Now the content of work folder is[root@wgp localhost]# ll
total 24
drwxr-xr-x 2 root root 4096 Aug 24 12:48 _
drwxr-xr-x 2 root root 4096 Aug 24 12:46 myApp
drwxr-xr-x 2 root root 4096 Aug 24 12:46 invoker
drwxr-xr-x 2 root root 4096 Aug 24 12:46 jbossws
Is there any way to remove invoker and jbossws??
My main issue(i.e to hide Tomcat version info) is still not resolved. :(
Any idea??