Hi Eric
Initially ,Database connection pool was added to use in db
mediator(dblookup and dbreport). Those mediator's API provides two way
for get datasources. One is create a datasource based on provided
properties (db url,driver...).Other is JNDI looking up for existing
Datasources. In order to consistent with those mediator's API, all
datasource connection pools are registered in a JNDI tree. If a user
doesn't provide a existing initialcontext provider , we create a RMI
registry and register the URL ("rmi://" + providerHost + ":" +
providerPort) as initialcontext provider URL. That is why, we used a RMI
registry. This Provider port can be changed.
Thanks
Indika
Hubert, Eric wrote:
Inidika,
while I'm at asking thumb questions, I have another one. ;-) When
using the database pool feature what do we need the RMI registry
provider for? Don't we only want to have a connection pool local to
one instance? Why do we need a RMI registry? If I understand it
correctly the default port of this server process will be 2199 but can
be changed. Is this correct? By the way, do we somewhere have a
complete list of all ports used for WSO2 ESB, including the default
ports and an information where to change them?
I hope I already know them all, but sometimes it seems hard to keep
track of it. Having a documentation section about that would be really
nice.
Regards,
Eric
------------------------------------------------------------------------
_______________________________________________
Esb-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev
_______________________________________________
Esb-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev