[JBoss JIRA] Created: (JBIDE-926) DataSourceXMLDeployer chooses first server that matches runtime when several may match
by Rob Stryker (JIRA)
DataSourceXMLDeployer chooses first server that matches runtime when several may match
--------------------------------------------------------------------------------------
Key: JBIDE-926
URL: http://jira.jboss.com/jira/browse/JBIDE-926
Project: JBoss Tools
Issue Type: Feature Request
Reporter: Rob Stryker
It is possible that several servers may share a runtime, but have different command line arguments.
The DataSourceXmlDeployer class uses the following code to decide which server to publish to:
IServer[] servers = ServerCore.getServers();
for (IServer server : servers) {
String primaryName = primaryRuntime.getName();
IRuntime runtime = server.getRuntime();
if(runtime!=null) {
String serverName = runtime.getName();
if(primaryName.equals(serverName)) {
s = server;
}
}
}
This code will select the last server that matches the runtime. If several match, the last one is chosen.
Perhaps it'd be better if the Seam Project page had a section where the user could select manually which server to deploy to if several match.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 4 months
[JBoss JIRA] Created: (JBIDE-929) Quick access to hot restart
by Max Andersen (JIRA)
Quick access to hot restart
---------------------------
Key: JBIDE-929
URL: http://jira.jboss.com/jira/browse/JBIDE-929
Project: JBoss Tools
Issue Type: Feature Request
Components: Seam
Affects Versions: 2.0.0.Beta3
Reporter: Max Andersen
Assigned To: Denis Golovin
Priority: Critical
Fix For: 2.0.0.Beta4
Have a button (and easy available short cut) to do quick-restart of the current deployed app.
"quick-restart" means in jboss to touch the descriptor.
(see seam-gen which files to touch for EAR/WAR's)
An important thing to handle is that if the war is deployed to an ear the EAR's descriptor should be touched not the WAR's since that would not restart/reload the EJB's.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 4 months