[
https://jira.jboss.org/browse/JBIDE-6297?page=com.atlassian.jira.plugin.s...
]
Max Rydahl Andersen commented on JBIDE-6297:
--------------------------------------------
When I said shutdown.sh, I really should of said the Shutdown class,
which is where all the smarts are.
yeah, but that's a very direct binary dependency ain't it ? Well, I guess its fine
as long as we just launch it externally based on some *standard* set of jars which will
always stay in the same place in AS 6.x releases...which jars would that be btw. ?
For the startup case, I assume that is local only? If yes, then I
assume that leaves us to only worry about remote shutdown. From a remote classpath
>perspective, perhaps we can transition over to zero classes needed for AS6 and above
(shutdown only). We could try and do the shutdown via jmx (through >the jsr-160 jmx
connector).
For startup, I assume that is local only? So, that is probably best
done using the scripts (no remote agent/process to communicate with to request the
startup).
We use jmx in a few other places too. We use it to check if the server is actually up; we
use it to tell it to not scan a directoy while we are deploying and we tell it to start
scanning when we are done copying (all of that we could remove if AS provided a
"rest-y" API for us to use to handle full and incremental deployment)
The root cause of the problem that brought out this jira, is that with
my AS code changes, the currently used URL syntax is no longer valid. Simply changing
>to the new URL syntax, might be enough to just fix the root problem.
Is that url changed *only* for the shutdown ? I assume (not looked at the code yet) it
also affects all the other jmx interactions ?
Can't stop or restart JBoss AS 6.0.0.M3
---------------------------------------
Key: JBIDE-6297
URL:
https://jira.jboss.org/browse/JBIDE-6297
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JBossAS
Affects Versions: 3.1.0.GA
Environment: Windows Vista 32bit, Java 1.6.0_20
Reporter: Andreas Eigenmann
Assignee: Rob Stryker
Priority: Critical
Fix For: 3.1.2, 3.2.next
Attachments: 6297_1.patch
Stopping or Restarting a JBoss AS 6.0.0.M3 instance in the Servers View throws:
Exception in thread "main" java.net.MalformedURLException: Service URL must
start with service:jmx:
at javax.management.remote.JMXServiceURL.<init>(JMXServiceURL.java:143)
at org.jboss.Shutdown.main(Shutdown.java:235)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira