File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes Does JBoss prevent multiple instances??? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Does JBoss prevent multiple instances???" Watch "Does JBoss prevent multiple instances???" New topic

Does JBoss prevent multiple instances???

Matthias Gresz

Joined: Aug 01, 2011
Posts: 1

Hi Folks,

it's an issue concerning

JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634).

Whe're switching from release 4 to 5. Under 4 I defined alternate port sets using:

<mbean code=""
<attribute name="ServerName">ports-01</attribute>
<attribute name="StoreURL">${jboss.home.url}/server/ospp_jca/conf/server-bindings.xml</attribute>
<attribute name="StoreFactoryClassName">

in the file jboss-service.xml.

With release 5 I tried


in file bindings-jboss-beans.xml, which seems to change some ports:

15:16:27,964 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-
15:16:28,182 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-
15:16:28,182 INFO [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)] Started in 1m:17s:37ms

Starting the other instance with the default port sets leads to:

15:21:56,471 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-
15:21:56,471 ERROR [AjpProtocol] Error initializing endpoint Address already in use: JVM_Bind /

So how to get the first instance using another port for the Coyote AJP/1.3 ?

Any help wellcome

I agree. Here's the link:
subject: Does JBoss prevent multiple instances???
It's not a secret anymore!