Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Does JBoss prevent multiple instances???  RSS feed

Matthias Gresz
Posts: 1
Firefox Browser Java MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!