Page 1 of 1

[HOWTO] Domino configuration

PostPosted: Tue Jun 05, 2012 12:41 am
by jallen
I can definitely try to help with the Domino configuration. It did take a fair amount of tinkering to get things working. I have attached two screenshot of all the jar files I am using. The image labled jarsext are all the docx4j related jars I have in the \jvm\lib\ext\ folder. I have the reference implementation of jaxb (latest version) in the \jvm\lib\endorsed\ folder, which can be seen in the jarsendorsed image. The biggest issue I had getting things to run was the security settings in the java.policy document. Unfortunately the only way I could get things to run was to set the security wide open like this:

Code: Select all
grant {
     permission java.security.AllPermission;
     permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
};


I know this is very bad but I am just testing right now and I have not had time to go back and figure out how to do it properly. If anyone has any ideas on this I would love to hear them. I have attached a full version of the java.poilicy file I am using.

I have all of the other related files, like the log4j configuration file, in the WebContent/WEB-INF/src folder in the project (.nsf) itself, which can be seen in the otherfiles image.

Lastly, I have all the docx4j jars on the build path of the project, which are sitting out on a shared drive (see javabuildpath image)

If anyone has sepecific questions I will try to answer them the best that I can.
I hope this helps.

Re: [HOWTO] Domino configuration

PostPosted: Tue Jun 05, 2012 1:12 pm
by jason
Thank you very much jallen, for taking the time to post this. :-)