cancel
Showing results for 
Search instead for 
Did you mean: 

Humbly request an easy way to recompile a class in war file

duber
Champ in-the-making
Champ in-the-making
I've reviewed the wiki and various forum posts but am running into trouble.

I need to change Pagetag.java so it gets Alfresco's logo locally instead of from alresco.com to prevent the mixed secure/non-secure message in Internet Explorer when I run the alfresco explorer in https.

I don't have any experience with Eclipse and after days am unable to get anything compiled.

I understand what I need to change.(http.logo to point locally)

I need to recompile Pagetag.java and repackage alfresco.war. Could someone post a simple guide to doing this? Either from Eclipse under Windows or the command line in Linux would be great.

Thanks so much.

duber
2 REPLIES 2

mikeh
Star Contributor
Star Contributor
This http/https issue should be fixed if you're using V3.0. Take a look at PageTag.java and see if there's some logic near the bottom along the lines of:

"' src='" + ("http".equals(req.getScheme()) ? ALF_LOGO_HTTP : ALF_LOGO_HTTPS)

If that's there and it's not being picked up, have you configured an HTTPS proxy server in front of Tomcat, rather than reconfiguring Tomcat itself..?

Mike

duber
Champ in-the-making
Champ in-the-making
Hi Mike,

Thanks for your quick reply. Yes, essentially we have a https proxy server, so I ditched that and set up Tomcat SSL which worked.

Thanks again.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.