|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
|
|
Performance effect of choosing no precompile jsp on WAS |
« View previous topic :: View next topic » |
Author |
Message
|
paulgroo |
Posted: Wed Jun 27, 2007 5:47 am Post subject: Performance effect of choosing no precompile jsp on WAS |
|
|
Centurion
Joined: 07 Jul 2005 Posts: 138 Location: Ireland
|
We have a db2 unicode database with WAS verison 5.0.2 Under WAS/encoding.properties the language is set to UTF-8.
We get a .war file delivered to us by a third party.
If we deploy this war file with the precompile option chosen, after deployment, the user is able to type unicode characters into the application, but they are not saved by the application.
In order to get around this problem, we deloy the .war file with the precompile option unchecked.
This results in a major performance degradation of the WAS application. Is there another way to get WAS to save the unicode characters that are entered into the application instead of having to recompile the jsps at each startup ? |
|
Back to top |
|
|
jefflowrey |
Posted: Wed Jun 27, 2007 5:56 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Does the vendor of the application have recommendations either way?
Do you have proper NS_LANG or etc. variables set in the OS environment that WAS is running under? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
|
paulgroo |
Posted: Wed Jun 27, 2007 7:21 am Post subject: |
|
|
Centurion
Joined: 07 Jul 2005 Posts: 138 Location: Ireland
|
Hi,
I've emailed the vendor to ask about the compile options and am waiting to hear back.
I have a feeling that the jsps should be compiled with a unicode option (I'm not a developer, so I'm not sure if this is can be done, but I assume it can be).
If this is done and the war file created, we should be able to select precompile when deploying the war file.
At the moment, I think that the vendor may be doing a normal compile that pickes up the system default of the server that they work on, so if we use these jsps with the precompile option selected, it doesn't recognise the unicode characters so can't save them. (This is my thoery anyway) |
|
Back to top |
|
|
jefflowrey |
Posted: Wed Jun 27, 2007 7:27 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
One possibility is to dig into the deployed applications directory - after deploying with precompile turned off, and causing the JSPs to compile - and then repackage the compiled jsps.
Also, I thought that maybe the Application Assembly Tool could help with this? I'm not sure, though. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
|
|
|
|
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|