[
http://jira.codehaus.org/browse/MJBOSS-35?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=196713#action_196713
]
Paul Gier commented on MJBOSS-35:
---------------------------------
I found a Windows machine to use and was able to reproduce the problem. After
trying various combinations of pounding my keyboard and banging my head against
the wall, it seems that temp directory used for the security policy is not the
problem. The problem is caused by the spaces in the path to the local Maven
repository. If you change the local Maven repo to something without spaces,
then all works as expected.
{code}
mvn jboss:start-and-wait -Dmaven.repo.local=c:\test\maven-repo
{code}
Conversely, the problem can be reproduced on Linux by setting the local
repository to a path with spaces.
This seems to be related to an old bug in the surefire plugin (SUREFIRE-123).
I also tried this out with a snapshot of Maven 3, and the problem seems to be
resolved. So I think there was a problem in the way Maven 2.x handled it's
classpath.
At this point I don't know of an easy fix for this, so I will try to document
the issue in the site docs to prevent other people from getting stuck on this
in the future.
> startAndWait mojo needs a security manager
> ------------------------------------------
>
> Key: MJBOSS-35
> URL: http://jira.codehaus.org/browse/MJBOSS-35
> Project: Maven 2.x JBoss Plugin
> Issue Type: Improvement
> Reporter: Paul Gier
> Assignee: Paul Gier
> Fix For: 1.4.0
>
>
> The startAndWait mojo is not able to run successfully because it doesn't have
> an RMI security manager set up.
> {quote}
> org.jboss.jmx.adaptor.rmi.RMIAdaptor (no security manager: RMI class loader
> disabled)
> {quote}
> A security manager should be configured and a default security policy should
> be provided with the plugin.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email