Re: many instances of Shark in one VM
David Forslund <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.shark |
|---|---|
| Message-ID | <[email protected]> |
This might not fit your preferred model but I would use a SharkCORBA
client on the webserver, one for each client. Then I could one or many
shark servers configured either on other machines or in different
locations on the same machine. This should give you good scalability
and reconfigurability.
Security can be maintained through the CORBA interface and through
non-intersecting user space.
Dave
Roshan wrote:
>Hi Sasa and others,
>
> Is it possible to have many instances of Shark in a single Java VM
>or in JBoss? We are currently running one instance of Shark as a POJO
>library with session bean wrappers in JBoss.
>
> We are looking at providing BPM(using Shark) as a hosted service
>to some of our clients. We'd like to have a different instance of Shark
>(ie. one Shark and database instance per client) for security reasons
>and also to separate the repositories etc. for each client. Running a
>separate JVM/JBoss for each instance may be too expensive and not
>scalable(?).
>
> Shark does not allow you to configure more than one instance at a
>time ('Trying to configure shark instance that is already configured
>!!!'). Is there a way to start multiple instances, each with its own
>configuration(ie. different Shark.conf)? In org.enhydra.shark.Shark, we
>could make some changes to enable multiple instances, but it seems that
>such a change would also have to be made in other classes such as
>SharkEngineManager etc.
> Clustering is also another concern for such a system.
>
> Tips and suggestions are welcome from everyone.
>
>Thanks,
>Roshan Nair
>
>
>
message.footer
(text/plain, 271 B)
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws