users@glassfish.java.net

Re: Glassfish hosted server

From: John Clingan <John.Clingan_at_Sun.COM>
Date: Fri, 25 May 2007 09:01:24 -0700

I've got a good chunk of experience doing this. Solaris Containers
are your friend.
http://www.sun.com/bigadmin/content/zones/index.html

Each customer can have a dedicated container, therefore you can run
many customers on the same physical server. Each customer is isolated
from the other and has their own dedicated instance of SJSAS server.
You can also enforce QoS on each container (network & CPU).

On May 25, 2007, at 8:28 AM, Edson Carlos Ericksson Richter wrote:

> Hi!
>
> I'm starting a pilot project offering to small companies the
> hosting service of JSP/Servlet/JPA based applications on dedicated
> Solaris + SJAS server.
> Anyone knows issues on deploying dozens apps on one server?
> I already seen problems with persistence-units (first app run,
> second = error), and I expect to solve with latest night build.
> But other questions that arise: how could I map resources on
> web.xml/persistence.xml during deployment, so I can direct to
> correct JNDI names?
> Example: some developer decide his app will use "jdbc/MyDB" to his
> JDBC data source. On development server, it's ok. But when it comes
> to deployment server, I need to change it to "jdbc/App1CompanyA".
> How could I map this?
> (same problem apply to mail resources and so on). I don't have
> access to application source, so I can't edit/recompile.
>
> I'll appreciate any help.
>
> Regards,
>
> Edson Richter
>
> <edson.richter.vcf>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net