users@glassfish.java.net

Hosting multiple instances using different databases

From: Markus Karg <karg_at_quipsy.de>
Date: Fri, 19 Dec 2008 10:40:32 +0100

I have the following problem:

 

Our customer is running a GFv2 domain with an EAR. The ear contains EJB-JARs, custom RARs and standalone Swing clients.

 

Now the customer says, that department X shall use a different database than department Y.

 

So we can install two hardware servers, each running its own GF domain. This is what we already are able to do.

 

But the customer wants to have one single GF hardware, so I came up with two ideas:

 

(1) Running two instances of GF on different TCP ports. We should be able to do this without problems.

 

(2) Running one instance of GF that runs two domains. Is that possible? And can both domains run the same application with different databases? The problem I see is that the custom RARs need to access different databases. Will that work? And is there a tutorial how to set up that?

 

Thanks!

Markus

 

QUIPSY QUALITY GmbH & Co. KG

Ein Unternehmen der MES-Gruppe

Stuttgarter Strasse 23

D-75179 Pforzheim

Tel: 07231-9189-52

Fax: 07231-9189-59

www.quipsy.de

karg_at_quipsy.de

Registergericht Mannheim HRA 701214

Geschäftsführer: Nils Schroeder

 

Diese E-Mail enthält persönliche, vertrauliche und vor Weitergabe geschützte Informationen und ist ausschließlich für den vorgesehenen o.g. Empfänger (Adressaten) bestimmt. Falls Sie diese E-Mail versehentlich erhalten haben und nicht der vorgesehene Empfänger sind, bitten wir Sie, die E-Mail und deren Anhänge nicht aufzubewahren, nicht zu vervielfältigen, nicht zu nutzen und nicht weiterzugeben. Bitte informieren Sie uns als Absender über diesen Zustellungsfehler und löschen Sie die E-Mail.

 

 

 

 








image001.jpg
(image/jpeg attachment: image001.jpg)