You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rave.apache.org by "marijan milicevic (Created) (JIRA)" <ji...@apache.org> on 2012/02/22 10:52:48 UTC

[jira] [Created] (RAVE-481) Application (Rave) fails to initialize after restarting server: tomcat/temp/apacheds-spring-security already exists

Application (Rave) fails to initialize after restarting server: tomcat/temp/apacheds-spring-security already exists
-------------------------------------------------------------------------------------------------------------------

                 Key: RAVE-481
                 URL: https://issues.apache.org/jira/browse/RAVE-481
             Project: Rave
          Issue Type: Bug
            Reporter: marijan milicevic


I need to delete directory before I can start server again:

Feb 22, 2012 10:47:02 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class org.apache.rave.portal.web.context.RaveContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.apacheDirectoryServerContainer': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: The specified working directory '/home/java/servers/tomcat/temp/apacheds-spring-security' already exists. Another directory service instance may be using it or it may be from a  previous unclean shutdown. Please confirm and delete it or configure a different working directory


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (RAVE-481) Application (Rave) fails to initialize after restarting server: tomcat/temp/apacheds-spring-security already exists

Posted by "marijan milicevic (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/RAVE-481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13220873#comment-13220873 ] 

marijan milicevic commented on RAVE-481:
----------------------------------------

ok. you may closed this issue I think.   
                
> Application (Rave) fails to initialize after restarting server: tomcat/temp/apacheds-spring-security already exists
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: RAVE-481
>                 URL: https://issues.apache.org/jira/browse/RAVE-481
>             Project: Rave
>          Issue Type: Bug
>            Reporter: marijan milicevic
>            Priority: Blocker
>
> I need to delete directory before I can start server again:
> Feb 22, 2012 10:47:02 AM org.apache.catalina.core.StandardContext listenerStart
> SEVERE: Exception sending context initialized event to listener instance of class org.apache.rave.portal.web.context.RaveContextLoaderListener
> org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.apacheDirectoryServerContainer': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: The specified working directory '/home/java/servers/tomcat/temp/apacheds-spring-security' already exists. Another directory service instance may be using it or it may be from a  previous unclean shutdown. Please confirm and delete it or configure a different working directory

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (RAVE-481) Application (Rave) fails to initialize after restarting server: tomcat/temp/apacheds-spring-security already exists

Posted by "Jasha Joachimsthal (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/RAVE-481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13220859#comment-13220859 ] 

Jasha Joachimsthal commented on RAVE-481:
-----------------------------------------

This doesn't occur with Cargo because then the working directory is cleared. In a server deploy the embedded ApacheDS should be replaced by a proper LDAP installation
                
> Application (Rave) fails to initialize after restarting server: tomcat/temp/apacheds-spring-security already exists
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: RAVE-481
>                 URL: https://issues.apache.org/jira/browse/RAVE-481
>             Project: Rave
>          Issue Type: Bug
>            Reporter: marijan milicevic
>            Priority: Blocker
>
> I need to delete directory before I can start server again:
> Feb 22, 2012 10:47:02 AM org.apache.catalina.core.StandardContext listenerStart
> SEVERE: Exception sending context initialized event to listener instance of class org.apache.rave.portal.web.context.RaveContextLoaderListener
> org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.apacheDirectoryServerContainer': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: The specified working directory '/home/java/servers/tomcat/temp/apacheds-spring-security' already exists. Another directory service instance may be using it or it may be from a  previous unclean shutdown. Please confirm and delete it or configure a different working directory

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (RAVE-481) Application (Rave) fails to initialize after restarting server: tomcat/temp/apacheds-spring-security already exists

Posted by "marijan milicevic (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/RAVE-481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13213518#comment-13213518 ] 

marijan milicevic commented on RAVE-481:
----------------------------------------

ok. found out this only happens if server crashes or when server doesn't shutdown gracefully. 
This can be closed, however, maybe documentation should mention this as "known issue" or similar...

                
> Application (Rave) fails to initialize after restarting server: tomcat/temp/apacheds-spring-security already exists
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: RAVE-481
>                 URL: https://issues.apache.org/jira/browse/RAVE-481
>             Project: Rave
>          Issue Type: Bug
>            Reporter: marijan milicevic
>            Priority: Blocker
>
> I need to delete directory before I can start server again:
> Feb 22, 2012 10:47:02 AM org.apache.catalina.core.StandardContext listenerStart
> SEVERE: Exception sending context initialized event to listener instance of class org.apache.rave.portal.web.context.RaveContextLoaderListener
> org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.apacheDirectoryServerContainer': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: The specified working directory '/home/java/servers/tomcat/temp/apacheds-spring-security' already exists. Another directory service instance may be using it or it may be from a  previous unclean shutdown. Please confirm and delete it or configure a different working directory

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (RAVE-481) Application (Rave) fails to initialize after restarting server: tomcat/temp/apacheds-spring-security already exists

Posted by "Jasha Joachimsthal (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/RAVE-481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jasha Joachimsthal updated RAVE-481:
------------------------------------

    Priority: Major  (was: Blocker)
    
> Application (Rave) fails to initialize after restarting server: tomcat/temp/apacheds-spring-security already exists
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: RAVE-481
>                 URL: https://issues.apache.org/jira/browse/RAVE-481
>             Project: Rave
>          Issue Type: Bug
>            Reporter: marijan milicevic
>
> I need to delete directory before I can start server again:
> Feb 22, 2012 10:47:02 AM org.apache.catalina.core.StandardContext listenerStart
> SEVERE: Exception sending context initialized event to listener instance of class org.apache.rave.portal.web.context.RaveContextLoaderListener
> org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.apacheDirectoryServerContainer': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: The specified working directory '/home/java/servers/tomcat/temp/apacheds-spring-security' already exists. Another directory service instance may be using it or it may be from a  previous unclean shutdown. Please confirm and delete it or configure a different working directory

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (RAVE-481) Application (Rave) fails to initialize after restarting server: tomcat/temp/apacheds-spring-security already exists

Posted by "marijan milicevic (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/RAVE-481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

marijan milicevic updated RAVE-481:
-----------------------------------

    Priority: Blocker  (was: Major)
    
> Application (Rave) fails to initialize after restarting server: tomcat/temp/apacheds-spring-security already exists
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: RAVE-481
>                 URL: https://issues.apache.org/jira/browse/RAVE-481
>             Project: Rave
>          Issue Type: Bug
>            Reporter: marijan milicevic
>            Priority: Blocker
>
> I need to delete directory before I can start server again:
> Feb 22, 2012 10:47:02 AM org.apache.catalina.core.StandardContext listenerStart
> SEVERE: Exception sending context initialized event to listener instance of class org.apache.rave.portal.web.context.RaveContextLoaderListener
> org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.apacheDirectoryServerContainer': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: The specified working directory '/home/java/servers/tomcat/temp/apacheds-spring-security' already exists. Another directory service instance may be using it or it may be from a  previous unclean shutdown. Please confirm and delete it or configure a different working directory

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira