This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 64047 - Unable to register two JBoss instances
Summary: Unable to register two JBoss instances
Status: RESOLVED DUPLICATE of bug 59187
Alias: None
Product: serverplugins
Classification: Unclassified
Component: JBoss (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Libor Kotouc
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-11 12:23 UTC by jlaskowski
Modified: 2005-11-10 09:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jlaskowski 2005-09-11 12:23:54 UTC
I work with two JBoss instances: JBoss AS 4.0.3RC1 and JBoss Portal 2.0.1RC1
(bundled with JBoss AS 4.0.2). I defined the former in the Servers view. When I
tried to register the latter, the following error message poped up:

Instance jboss-deployer:localhost:8080#default already registered

From a user's perspective it's a drawback because I didn't mean to use them at
the same time. I'd rather make it a warning rather than a failure and let the
user decide to proceed or not.

(unless I'm mistaken, the change would require that a deployer identifier would
be enhanced with the name or the path of a JBoss instance)

NetBeans version: netbeans-5_0-daily-bin-200509072000-7_Sep_2005_2000
Comment 1 Pavel Buzek 2005-11-09 20:18:11 UTC
This is a known problem of JSR 88. It uses "URL" as an identifier of the server.
This "URL" is actually typed as java.lang.String and is nowhere in JSR 88 (and
in netbeans) actually used as a URL, but it missleads developers to really use
URL as a identifier. Tomcat plugin and Sun app server plugin both put server
install path into the "URL" which makes a much better identifier. It should be
done for jboss too (and probably for WL9 as well).
Backward compatibility of settings from beta2 to release is probably not that
important so it should be relatively easy to fix.
Comment 2 Libor Kotouc 2005-11-10 09:50:30 UTC

*** This issue has been marked as a duplicate of 59187 ***