How to change the look of the error page in Aris Business Publisher

Translate this pagebookmark or share this page
H's picture

Posted: 2012-07-10
890 views | 12 comments | category: ARIS Support

4
show all articles

Hello everyone!

I would like to know where I could change the content of the page displayed every time an error occurs in the Publisher.

My problem is that I would like users not to see this massive ugly ARIS Platform logo with the message "An error occurred, please contact your administrator" every time there is something wrong, but rather have a nicer page I could configure saying: "We are currently working on solving the issue. Please try to connect again later."

 

Can anyone help?

Cheers.

Harold

Comments
Jens's picture

Hi Harold,

all system messages are available in the properties folder:

businesspublisher\WEB-INF\classes\properties

Regards,

Jens

H's picture

Hi Jens!

Thank you so much for this clear answer.

Though, do you know if we can change the image as well?

 

Best regards,

Harold

Jens's picture

Hi Harold,

the images of the system messages pages are located in 

businesspublisher\layouts\shared\images

Change the image you want. The easiest way is to replace it with same name and image size. Otherwise you have to change the JSP. But this is not recommended if you are not familar with the code inside this pages.

Regards,

Jens

H's picture

Thank you very much! Have a nice day!

Harold

Mohammed's picture

The system messages which are available in the properties folder:

businesspublisher\WEB-INF\classes\properties

i have changed the error messages file of en_us but i am getting the same messages as earlier.

Can you please help?

Jens's picture

Hello Mohammed,

restart the BP server after the change and try again.

Regards,

Jens

Mohammed's picture

We have restarted the server but the changes aren't reflecting.

Is there any other method we can do it?

Mohammed's picture

Hi Jens,

I have even tried deleting the error messages file of en_us, and restarted the server.

Again i am getting the same messages, so i dont think the messages are getting loaded from this file, if so it shouldnt have shown me any message when file is deleted.

Can you please help?

Jens's picture

I check it and found that these strings included in several JAR files:

BP_locale_<LOCALE>.jar

So I think the easiest way is to change the strings is to replace it with your own custom properties. Otherwise you has to replace the properties file in the JAR if technically possible,

 

 

Mohammed's picture

Thank you for the help,it worked.

 

Mohammed's picture

Hi Jens,

I want to change the user name tag in the login page of the aris business publisher.

Similar to the error messages file,i tried to find a file and found one at

webapps\businesspublisher\layouts\shared\properties.I edited this file and  restarted the server but changes are not refelecting,so can you tell me where to find the jar file.

Mohammed's picture

Hi Jens,

I edited the en version of the page and it got reflected.

Thank you for the help.