You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by "Christian Posta (JIRA)" <ji...@apache.org> on 2012/08/23 00:30:42 UTC

[jira] [Created] (APLO-246) Cannot start Apollo as a windows service when not on C drive

Christian Posta created APLO-246:
------------------------------------

             Summary: Cannot start Apollo as a windows service when not on C drive
                 Key: APLO-246
                 URL: https://issues.apache.org/jira/browse/APLO-246
             Project: ActiveMQ Apollo
          Issue Type: Bug
    Affects Versions: 1.4
         Environment: Windows Server 2008 R2, jre7 and jre6
            Reporter: Christian Posta
            Priority: Minor


recreated from user as described here: 
http://activemq.2283324.n4.nabble.com/Apollo-as-Windows-Service-td4655390.html

When apollo binaries are on a different drive letter than C, whether copied or extracted directly to there, the service starts up with: 

Exception in thread "main" java.lang.ClassNotFoundException: org.apache.activemq.apollo.cli.Apollo
	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
	at org.apache.activemq.apollo.boot.Apollo.main(Apollo.java:92)

--
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] (APLO-246) Cannot start Apollo as a windows service when not on C drive

Posted by "Christian Posta (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/APLO-246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Posta updated APLO-246:
---------------------------------

    Attachment: APLO-246_Cannot_start_Apollo_as_a_windows_service.patch

Patch using semicolons. Thx Hiram for the unix-script tip
                
> Cannot start Apollo as a windows service when not on C drive
> ------------------------------------------------------------
>
>                 Key: APLO-246
>                 URL: https://issues.apache.org/jira/browse/APLO-246
>             Project: ActiveMQ Apollo
>          Issue Type: Bug
>    Affects Versions: 1.4
>         Environment: Windows Server 2008 R2, jre7 and jre6
>            Reporter: Christian Posta
>            Priority: Minor
>         Attachments: APLO-246_Cannot_start_Apollo_as_a_windows_service.patch
>
>
> recreated from user as described here: 
> http://activemq.2283324.n4.nabble.com/Apollo-as-Windows-Service-td4655390.html
> When apollo binaries are on a different drive letter than C, whether copied or extracted directly to there, the service starts up with: 
> Exception in thread "main" java.lang.ClassNotFoundException: org.apache.activemq.apollo.cli.Apollo
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
> 	at org.apache.activemq.apollo.boot.Apollo.main(Apollo.java:92)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (APLO-246) Cannot start Apollo as a windows service when not on C drive

Posted by "Hiram Chirino (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/APLO-246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13442449#comment-13442449 ] 

Hiram Chirino commented on APLO-246:
------------------------------------

BTW when using ';' make sure you properly escape it in the unix scripts since it's interpreted as a command separator in sh.
                
> Cannot start Apollo as a windows service when not on C drive
> ------------------------------------------------------------
>
>                 Key: APLO-246
>                 URL: https://issues.apache.org/jira/browse/APLO-246
>             Project: ActiveMQ Apollo
>          Issue Type: Bug
>    Affects Versions: 1.4
>         Environment: Windows Server 2008 R2, jre7 and jre6
>            Reporter: Christian Posta
>            Priority: Minor
>
> recreated from user as described here: 
> http://activemq.2283324.n4.nabble.com/Apollo-as-Windows-Service-td4655390.html
> When apollo binaries are on a different drive letter than C, whether copied or extracted directly to there, the service starts up with: 
> Exception in thread "main" java.lang.ClassNotFoundException: org.apache.activemq.apollo.cli.Apollo
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
> 	at org.apache.activemq.apollo.boot.Apollo.main(Apollo.java:92)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (APLO-246) Cannot start Apollo as a windows service when not on C drive

Posted by "Hiram Chirino (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/APLO-246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hiram Chirino resolved APLO-246.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5
         Assignee: Hiram Chirino

Thanks.  Patch has been applied. 
                
> Cannot start Apollo as a windows service when not on C drive
> ------------------------------------------------------------
>
>                 Key: APLO-246
>                 URL: https://issues.apache.org/jira/browse/APLO-246
>             Project: ActiveMQ Apollo
>          Issue Type: Bug
>    Affects Versions: 1.4
>         Environment: Windows Server 2008 R2, jre7 and jre6
>            Reporter: Christian Posta
>            Assignee: Hiram Chirino
>            Priority: Minor
>             Fix For: 1.5
>
>         Attachments: APLO-246_Cannot_start_Apollo_as_a_windows_service.patch
>
>
> recreated from user as described here: 
> http://activemq.2283324.n4.nabble.com/Apollo-as-Windows-Service-td4655390.html
> When apollo binaries are on a different drive letter than C, whether copied or extracted directly to there, the service starts up with: 
> Exception in thread "main" java.lang.ClassNotFoundException: org.apache.activemq.apollo.cli.Apollo
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
> 	at org.apache.activemq.apollo.boot.Apollo.main(Apollo.java:92)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira