You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by "Michael Clovis (JIRA)" <ji...@apache.org> on 2008/08/18 21:50:19 UTC

[jira] Created: (ROL-1743) Roller will not install if WAR is not allowed to UNPACK

Roller will not install if WAR is not allowed to UNPACK
-------------------------------------------------------

                 Key: ROL-1743
                 URL: https://issues.apache.org/roller/browse/ROL-1743
             Project: Roller
          Issue Type: Bug
          Components: Installation
    Affects Versions: 4.0
         Environment: Tested on Unbuntu
            Reporter: Michael Clovis
            Assignee: Roller Unassigned


If roller.war is NOT allowed to expand, roller the application will NOT install or run properly.  With a minor code change and some configuration this is however fixable. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ROL-1743) Roller will not install if WAR is not allowed to UNPACK

Posted by "Michael Clovis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/roller/browse/ROL-1743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Clovis updated ROL-1743:
--------------------------------

    Attachment: RollerContext.java

The change in lines 111 -116 fixes the null pointer exception caused when the war is not unpacked. 

> Roller will not install if WAR is not allowed to UNPACK
> -------------------------------------------------------
>
>                 Key: ROL-1743
>                 URL: https://issues.apache.org/roller/browse/ROL-1743
>             Project: Roller
>          Issue Type: Bug
>          Components: Installation
>    Affects Versions: 4.0
>         Environment: Tested on Unbuntu
>            Reporter: Michael Clovis
>            Assignee: Roller Unassigned
>         Attachments: RollerContext.java
>
>
> If roller.war is NOT allowed to expand, roller the application will NOT install or run properly.  With a minor code change and some configuration this is however fixable. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ROL-1743) Roller will not install if WAR is not allowed to UNPACK

Posted by "Michael Clovis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/roller/browse/ROL-1743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14395#action_14395 ] 

Michael Clovis commented on ROL-1743:
-------------------------------------

Additionally.. (maybe as install directions)

1. Create a directory that the tomcat user has permissions and access
   let' call it /usr/home/YOURNAME/roller_data

2. In this directory create a uploads, search-index, themes, and planetcache directory
3. copy the themes from apache-roller-4.0/apps/weblogger/web/themes to roller_data/themes directory
4. Create a roller-custom.properties file that has JDBC settings for the database and property settings
   for the mail server.
6. Also in the roller-custom.properties file set the full path to the uploads.dir, search.index.dir, themes.dir and planet.aggregator.cache.dir. These will be the directories in /usr/home/YOURNAME/roller_data.
7. Create a planet-custom.properties file. You really only need to do this IF your JDBC settings in roller-custom.properties are not the default. In that they probably are not (username, password at least) you should make one. The JDBC settings should match roller-custom.properties. IF your permissions on the war and the directories are correct, I believe this should take care of all the issues. 

Another way to handle these issues would be to start to address through code the number of configuration options through properties files. Possibly through a GROOVY ConfigSlurper  or a common interface for all projects. I did not tackle this as this seems to be needed to be addressed by the leads of the sub-projects first. 

> Roller will not install if WAR is not allowed to UNPACK
> -------------------------------------------------------
>
>                 Key: ROL-1743
>                 URL: https://issues.apache.org/roller/browse/ROL-1743
>             Project: Roller
>          Issue Type: Bug
>          Components: Installation
>    Affects Versions: 4.0
>         Environment: Tested on Unbuntu
>            Reporter: Michael Clovis
>            Assignee: Roller Unassigned
>         Attachments: RollerContext.java
>
>
> If roller.war is NOT allowed to expand, roller the application will NOT install or run properly.  With a minor code change and some configuration this is however fixable. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.