在Tomcat 7(JBoss EWS 2.0)磁带上使用新应用。 通过以下方式部署test.war: git commit -m'test.war' [master bc58479] test.war 1个文件已更改,0个插入(+),0个删除( - ) 创建模式100644 webapps / test.war ...
然后我在应用程序日志中找到了这个:
2014-05-02 07:38:29,766 [localhost-startStop-1] INFO org.apache.wiki.WikiEngine - *******************************************
2014-05-02 07:38:29,772 [localhost-startStop-1] INFO org.apache.wiki.WikiEngine - JSPWiki 2.10.0 starting. Whee!
2014-05-02 07:38:29,775 [localhost-startStop-1] INFO org.apache.wiki.WikiEngine - Servlet container: Apache Tomcat/7.0.40
2014-05-02 07:38:29,994 [localhost-startStop-1] INFO org.apache.wiki.WikiEngine - JSPWiki working directory is '/var/lib/openshift/$myapplicationkey/jbossews//tmp/JSPWiki-15458554'
2014-05-02 07:38:36,582 [localhost-startStop-1] ERROR org.apache.wiki.PageManager - An I/O exception occurred while trying to create a new page provider: org.apache.wiki.providers.CachingProvider
java.io.IOException: Failed to create page directory /var/lib/openshift/$myapplicationkey/jspwiki-files , please check property jspwiki.fileSystemProvider.pageDir
我尝试创建“/ var / lib / openshift / $ myapplicationkey / jspwiki-files”并获得权限被拒绝。
如果部署了tes.war文件,那么我可以将该位置设置到我有权限的某个地方但是(建议它应该在哪里?) 但是,我找不到jspwiki.properties文件的部署位置,所以我可以更改“jspwiki.fileSystemProvider.pageDir”的位置
由于 -Jim