Installation problem

Help
2009-11-28
2013-05-28
  • Králik Barnabás

    Hi,

    I'm constantly getting the following error from Tomcat/Catalina:

    2009.11.28. 22:19:08 org.apache.catalina.core.StandardContext listenerStart
    SEVERE: Exception sending context initialized event to listener instance of class com.technoetic.xplanner.filters.XPlannerMigrationLauncher
    java.security.AccessControlException: access denied (java.io.FilePermission /usr/share/tomcat6/lib/patches/hsqldb read)

    I've created the patches directory and put hsqldb.jar there; etc/tomcat6/policy.d/04webapps.policy has FileAccessPermission for the directory explicitly and even for "*".

    Has anyone else met this problem? Could you please help? I'm not a Java expert unfortunately.

    Greetings
    Barnabás

     
  • Maxim Chirkov (XPlanner+)

    Hi!

    Have you modified 04webapps.policy file? Since you are using tomcat6 not 5.5, you should change everywhere tomcat5.5 to tomcat6, and one more line:

        permission java.io.FilePermission "/usr/share/tomcat5.5/common/-","read";

    should be

        permission java.io.FilePermission "/usr/share/tomcat6/lib/-","read";

    By the way, can you add following line to xplanner-custom.properties

        xplanner.migration.patchpath=patches:com.technoetic.xplanner.upgrade:com.technoetic.xplanner.security.install

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks