Re: [atg_tech:5869] Multiple JBoss server startup issue

1,054 views
Skip to first unread message
Message has been deleted

Raju

unread,
Nov 8, 2011, 8:38:42 AM11/8/11
to atg_...@googlegroups.com
hi

should run in different atg servers.. if not create two different atg servers and make your products to point them ...

On Tue, Nov 8, 2011 at 7:04 PM, Peng Jia <peng...@thinkwrap.com> wrote:
Hi,
I have three ATG products run on three JBoss server with different ports. The three servers are: prod, stag, and mgmt. stag use ports offset 10000 from prod and mgmt use ports offsets 20000 from prod. I need to start prod and stag both to create deploy topology. However, after I started prod and start stag on jboss, I always got rmi exception. The following is the exception:

java.rmi.server.ExportException: Port already in use: 0; nested exception is:
       java.net.BindException: Address already in use: JVM_Bind

What funny here is that port 0 is not assigned to any of these three servers. I know something must conflict between prod and stag but I just don't know what. Can any one help me on this?

--
Peng Jia


--
You received this message because you are subscribed to the Google Groups "ATG_Tech" group.
To post to this group, send email to atg_...@googlegroups.com
To unsubscribe from this group, send email to atg_tech-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/atg_tech?hl=en



--
Thanks and Regards



 Raju .G

Naga

unread,
Nov 8, 2011, 8:41:45 AM11/8/11
to atg_...@googlegroups.com
Make sure your server configuration layer has a /atg/dynamo/Configuration.properties with an entry as
rmiPort=99999 <different for different servers)
also confirm that there isnt any common entry in home/localconfig/atg/dynamo/Configuration.properties

So delete any entry in home/localconfig for /atg/dynamo/Configuration.properties and create entries like
home/servers/prod/localconfig/atg/dynamo/Configuration.properties
home/servers/stag/localconfig/atg/dynamo/Configuration.properties
home/servers/mgmt/localconfig/atg/dynamo/Configuration.properties

and start your servers using -Datg.dynamo.server.name=prod/stag/mgmt whichever is applicable for that server.

Dont worry about the 0, thats how its usually shown when there is a port, it wont show the exact port that has a clash in all cases.

-Naga

Scott Stirling

unread,
Nov 8, 2011, 9:45:32 AM11/8/11
to atg_...@googlegroups.com, atg_...@googlegroups.com
There is no 0 port.

The errors means JBoss or ATG could not find a port setting so it defaulted to 0.

JBoss and ATG both use several ports. If you have multiple instances on a host you must either bind the instance to a unique IP address or configure the ports for JBoss and ATG properly so they don't conflict on the same IP.

Show us the full stack trace from the FIRST port error in your server.log and send us the command line used to start JBoss and the ENVIRONMENT section from the server.log when ATG initializes.

What version of JBoss are you using, 4.x or 5.x?

Scott Stirling
AT&T, Boston

On Nov 8, 2011, at 7:34 AM, Peng Jia <peng...@thinkwrap.com> wrote:

> Hi,
> I have three ATG products run on three JBoss server with different ports. The three servers are: prod, stag, and mgmt. stag use ports offset 10000 from prod and mgmt use ports offsets 20000 from prod. I need to start prod and stag both to create deploy topology. However, after I started prod and start stag on jboss, I always got rmi exception. The following is the exception:
>
> java.rmi.server.ExportException: Port already in use: 0; nested exception is:
> java.net.BindException: Address already in use: JVM_Bind
>
> What funny here is that port 0 is not assigned to any of these three servers. I know something must conflict between prod and stag but I just don't know what. Can any one help me on this?
>
> --
> Peng Jia
>
>
> --
> You received this message because you are subscribed to the Google Groups "ATG_Tech" group.
> To post to this group, send email to atg_...@googlegroups.com

> To unsubscribe from this group, send email to atg_tech-u...@googlegroups.com

Message has been deleted

Scott Stirling

unread,
Nov 8, 2011, 10:27:34 AM11/8/11
to atg_...@googlegroups.com, atg_...@googlegroups.com
Makes sense ... the ATG ports were conflicting.

Good work!

Scott

On Nov 8, 2011, at 8:50 AM, Peng Jia <peng...@thinkwrap.com> wrote:

> Hello all,
> I fixed the issue with help of you great people. Special appreciation to Naga.
> The following is the detail:
> JBoss 4.5 + ATG2007.1
>
> Servers: prod, mgmt, stag
> rmi port used:
> prod: 8860
> mgmt:18860
> stag: 28860
>
> I created Configuration.properties under
> home/servers/prod/localconfig/atg/dynamo/service
> home/servers/mgmt/localconfig/atg/dynamo/service
> home/servers/stag/localconfig/atg/dynamo/service
>
> with above rmiport, then the problem is fixed.
>
> Thank you all.

> --
> Peng Jia
>
> ThinkWrap Solutions Inc | 303 Moodie Drive, Suite 200 | Ottawa, ON, K2H 9R4
>
> p: 613.751.4441 x542 | f: 613.369.5504
>
> e: peng...@thinkwrap.com | w: www.thinkwrap.com

Reply all
Reply to author
Forward
0 new messages