[
https://jira.jboss.org/jira/browse/JBASM-12?page=com.atlassian.jira.plugi...
]
Shelly McGowan resolved JBASM-12.
---------------------------------
Resolution: Done
This issue has been resolved. Once 0.1.2.GA is released I'll make the fix in the
run-web-profile-unit target in jbossas/trunk/testsuite/build.xml
Cannot stop the server when jndi is not available remotely
----------------------------------------------------------
Key: JBASM-12
URL:
https://jira.jboss.org/jira/browse/JBASM-12
Project: JBoss AS Server Manager
Issue Type: Feature Request
Reporter: Adrian Brock
Assignee: Shelly McGowan
Fix For: 0.1.2.GA
The stop server task does not allow the jndi properties to be overridden
and assumes jnp: will be used.
When testing the "web-profile" there is no remote jndi, although for testing
purposes
I have made it available over http which requires the fix JBAS-5922
For now I've hacked the tests to shutdown the server manually with the http url
before invoking server:stop
to avoid it complaining, but there should really be an option to pass in the jndi url
See jboss-head/testsuite/build.xml
<target name="tests-web-profile" description="Tests with the web
profile">
<create-web-profile-config conf="web-profile"/>
<server:start name="web-profile"/>
<antcall target="run-web-profile-unit"/>
<!-- FIXME need to fix server:stop -->
<stop-jboss url="${node0.jndi.http.url}"/>
<server:stop name="web-profile"/>
</target>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira