You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by Eranda Sooriyabandara <er...@gmail.com> on 2010/12/29 21:48:39 UTC

A problem when starting Derby Network server

Hi all,
I got the following error when I try to start Derby using the command
./NetworkServerControl maxthreads 10 inside DERBY_HOME/bin
2010-12-29 20:41:16.426 GMT : Could not connect to Derby Network Server on
host localhost, port 1527: Connection refused
Please help me to figure it out.

thanks
Eranda

P.S. Here I try to connect Derby with multiple connections.

Re: A problem when starting Derby Network server

Posted by Eranda Sooriyabandara <er...@gmail.com>.
Hi Bryan,
Yes it worked.
thanks
Eranda

On Thu, Dec 30, 2010 at 7:42 AM, Bryan Pendleton <bpendleton.derby@gmail.com
> wrote:

> I got the following error when I try to start Derby using the command
>> ./NetworkServerControl maxthreads 10 inside DERBY_HOME/bin
>> 2010-12-29 20:41:16.426 GMT : Could not connect to Derby Network Server on
>> host localhost, port 1527: Connection refused
>>
>
> Hi Eranda,
>
> I think that the 'maxthreads 10' command assumes that the server
> is already started.
>
> So, *first* do
>
>        ./NetworkServerControl start
>
> Then, do
>
>        ./NetworkServerControl maxthreads 10
>
> Does that work better?
>
> thanks,
>
> bryan
>
>

Re: A problem when starting Derby Network server

Posted by Bryan Pendleton <bp...@gmail.com>.
> I got the following error when I try to start Derby using the command ./NetworkServerControl maxthreads 10 inside DERBY_HOME/bin
> 2010-12-29 20:41:16.426 GMT : Could not connect to Derby Network Server on host localhost, port 1527: Connection refused

Hi Eranda,

I think that the 'maxthreads 10' command assumes that the server
is already started.

So, *first* do

	./NetworkServerControl start

Then, do

	./NetworkServerControl maxthreads 10

Does that work better?

thanks,

bryan