Forum: Standard server

Here is a forum space for the Server: Standard server.

246. AdminWeb UI customizing failing

Hi,

I've been fiddling around with the adminWeb UI customization, and specifically replacing the logo's. I went through all the steps described here: https://dev.proptt2.com/customize-server-adminweb.html

Yet, nothing happens.

After not seeing the custom logo's I also restarted proptt entirely, but this makes no difference.

Now I've tried this with a previous version of proptt a while back. What happened then was that the proptt folder you delete in step 6 was recreated, I'm assuming based on the proptt.war file with the new logo, but then when restarting proptt it would throw 404 errors on all pages, which I could only resolve by replacing the entire webapp directory with a backup.

In this case the application at least keeps running without errors so I guess that's a win, but I haven't seen the custom logo's either.

Any thoughts about this?

Jan 13 '22 at 13:40 (GMT0) created by Martijn van Beelen

 
Hi Martijn van Beelen,

"Yet, nothing happens."
I am wondering what your expectation is.
Please note it could not change app's logo.
I think the steps have no wrong point.

"then when restarting proptt it would throw 404 errors on all pages"
I could not know what your wrong point was.
But you have to check the 404 issues more deeply to find what wrong is.

The customization is not recommended.
If there is any issue, you don't need to use it.
ProPTT2.

Jan 13 '22 at 14:06 (GMT0) created by ProPTT2 dev

 
 
The 404 doesn't occur anymore, but at least that showed something was happening.

My expectation is that the logo's mentioned are replaced, but they are not.

I realise customization is not necessary, but we would like to use it. Can you explain what is supposed to happen when I perform the steps? I.e. recreate the proptt folder that was removed in step 6?

Jan 13 '22 at 14:36 (GMT0) created by Martijn van Beelen

 
 
"recreate the proptt folder that was removed in step 6?"
No, the steps are right.
If it is possible, I think you need to understand Tomcat's activity

How about the logo file name?
Is it really same with case sensitive?
ProPTT2

Jan 13 '22 at 14:44 (GMT0) created by ProPTT2 dev

 
 
Yes, the filenames, both of the war archive and the logo's are exactly the same. I'm assuming the logo's aren't pulled from the archive with every request, so the proptt.war file should be extracted at some point?

Jan 13 '22 at 15:13 (GMT0) created by Martijn van Beelen

 
 
It is not.
When Tomcat is started, Tomcat extract proptt.war and make proptt folder.

Jan 13 '22 at 15:17 (GMT0) created by ProPTT2 dev

 
 
This was exactly what wasn't happening. It's fixed now though, it appeared to be a permission issue. Which is a bit weird since everything is executed from the same user, but alas.

Thanks

Jan 13 '22 at 15:56 (GMT0) created by Martijn van Beelen