[jboss-user] [Beginner's Corner] - Re: custom error pages for all applications?

2009-10-06 Thread kmasood
So there is no way to configure the error pages in one central place have them 
take effect for all other applications? Just confirming ... 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4258978#4258978

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4258978
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginner's Corner] - Re: custom error pages for all applications?

2009-10-05 Thread kmasood
I've added this line in  server/xxx/deploy/jboss-web.deployer/conf/web.xml:

  error-page
error-code404/error-code
/404.html
  /error-page

and added the 404.html file in ROOT.war, with partial success. 

http://host:8080/blablah - returns correct 404 page

http://host:8080/app1/blablah - returns a blank page ... 

What might be causing the blank page? I don't see anything unusual in the log 
files ... hmm ... /-:

KM

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4258699#4258699

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4258699
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginner's Corner] - custom error pages for all applications?

2009-10-02 Thread kmasood
Hello,

I'm looking for guidance on configuring custom error pages in our JBoss App 
Server across *all* the applications.

For e.g, lets say we have 4 applications running under jboss. I know how to 
configure  error pages per application, but I would like to configure them in a 
central place and have them take effect in all 4. 

I found some resources for configuring error pages per application 
(http://it.amid.com/2009/03/06/custom-404-page-using-jboss/), but none that 
could suggest configuring them across all applications. 

Any ideas? 

Thanks!

KM

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4258449#4258449

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4258449
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginner's Corner] - Re: custom error pages for all applications?

2009-10-02 Thread kmasood
Hi Peter,

Thank you for the reply. I am using version 4.2.3 and I have successfully added 
the error-page tag in web.xml in 

server/all/deploy/jboss-web.deployer/ROOT.war/WEB-INF/

When I go to http://host:8080/blablah, I see the customized 404 page. 

However, when I go to http://host:8080/app1/blablah or 
http://host:8080/app2/blablah, etc, I get the standard JBoss error. 

I think I am almost there, and missing an obvious step, but easy step ... any 
ideas?

KM

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4258478#4258478

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4258478
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user