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 Myrna van Lunteren <m....@gmail.com> on 2007/07/27 16:30:04 UTC

starting network server with classes...

Hi,

I just tried something silly in my trunk environment:
  java org.apache.derby.drda.NetworkServerControl start
This failed, responding 'Cannot find derbynet.jar on the classpath'
Is this no longer supported?

Also, I tried - yes, silly me - to do a build on 10.3 and create an
eclipse plugin...
Starting network showed this:
"Security manager installed using the Basic server security policy.
2007-07-27 14:23:28.141 GMT Thread[main,5,main]
java.security.AccessControlException: access denied
(java.io.FilePermission derby.log read)
Apache Derby Network Server - 10.3.1.4 - (560220) started and ready to
accept connections on port 1527 at 2007-07-27 14:23:28.156 GMT
Apache Derby Network Server - 10.3.1.4 - (560220) started and ready to
accept connections on port 1527 at 2007-07-27 14:23:28.156 GMT "

And connecting with ij resulted in:
ERROR 58009: A communications error has been detected: Connection reset.

I suggest someone check into this... :-(
remember, the eclipse plugin still attempts to start networkserver &
ij with -Dderby.system.home=.

Myrna

Re: starting network server with classes...

Posted by "Dag H. Wanvik" <Da...@Sun.COM>.
Myrna van Lunteren <m....@gmail.com> writes:

> Hi,
>
> I just tried something silly in my trunk environment:
>   java org.apache.derby.drda.NetworkServerControl start
> This failed, responding 'Cannot find derbynet.jar on the classpath'
> Is this no longer supported?

Can it be because the security manager barks, since
permissions are granted to jars, not "classes"? If you use
-noSecurityManager it works. 

Dag
>
> Also, I tried - yes, silly me - to do a build on 10.3 and create an
> eclipse plugin...
> Starting network showed this:
> "Security manager installed using the Basic server security policy.
> 2007-07-27 14:23:28.141 GMT Thread[main,5,main]
> java.security.AccessControlException: access denied
> (java.io.FilePermission derby.log read)
> Apache Derby Network Server - 10.3.1.4 - (560220) started and ready to
> accept connections on port 1527 at 2007-07-27 14:23:28.156 GMT
> Apache Derby Network Server - 10.3.1.4 - (560220) started and ready to
> accept connections on port 1527 at 2007-07-27 14:23:28.156 GMT "
>
> And connecting with ij resulted in:
> ERROR 58009: A communications error has been detected: Connection reset.
>
> I suggest someone check into this... :-(
> remember, the eclipse plugin still attempts to start networkserver &
> ij with -Dderby.system.home=.
>
> Myrna
>

Re: Unsubscribe?

Posted by Manjula Kutty <ma...@gmail.com>.
Please send an e-mail to derby-user-unsubscribe@db.apache.org

-Manjula


On 7/27/07, Mark Pettovello <ma...@wayne.edu> wrote:
>
> How can I get off this distribution list?  The unsubscribe didn't seem to
> work.
>
> Best Regards,
>
> M.P.
>
> -----Original Message-----
> From: Myrna van Lunteren [mailto:m.v.lunteren@gmail.com]
> Sent: Friday, July 27, 2007 5:10 PM
> To: derby-dev@db.apache.org
> Subject: Re: starting network server with classes...
>
> On 7/27/07, Manjula Kutty <ma...@gmail.com> wrote:
> > I have seen both of them. The first problem I thought it was because of
> some
> > issues in my env. So still don't know what is the soution.
> >
> > For the second one, you might have some old derby.log already in your
> > directory.If you delete that and start the n/w server everything will be
> > fine.
>
> There does not seem to be a derby.log file. Basically, it means that
> again, you cannot use the derby plugin, which seems wrong...
> Someone should at least verify my findings...check into the plugin src
> code to see what exactly it's doing, see ui/utils/DerbyServerUtils.
>
> Myrna
>
> >
> > Regards
> > Manjula
> >
> >
> > On 7/27/07, Myrna van Lunteren <m....@gmail.com> wrote:
> > > Hi,
> > >
> > > I just tried something silly in my trunk environment:
> > > java org.apache.derby.drda.NetworkServerControl start
> > > This failed, responding 'Cannot find derbynet.jar on the classpath'
> > > Is this no longer supported?
> > >
> > > Also, I tried - yes, silly me - to do a build on 10.3 and create an
> > > eclipse plugin...
> > > Starting network showed this:
> > > "Security manager installed using the Basic server security policy.
> > > 2007-07-27 14:23:28.141 GMT Thread[main,5,main]
> > > java.security.AccessControlException: access denied
> > > (java.io.FilePermission derby.log read)
> > > Apache Derby Network Server - 10.3.1.4 - (560220) started and ready to
> > > accept connections on port 1527 at 2007-07-27 14:23:28.156 GMT
> > > Apache Derby Network Server - 10.3.1.4 - (560220) started and ready to
> > > accept connections on port 1527 at 2007-07-27 14:23:28.156 GMT "
> > >
> > > And connecting with ij resulted in:
> > > ERROR 58009: A communications error has been detected: Connection
> reset.
> > >
> > > I suggest someone check into this... :-(
> > > remember, the eclipse plugin still attempts to start networkserver &
> > > ij with -Dderby.system.home=.
> > >
> > > Myrna
> > >
> >
> >
> >
> > --
> > Thanks,
> > Manjula.
>
>
>


-- 
Thanks,
Manjula.

Unsubscribe?

Posted by Mark Pettovello <ma...@wayne.edu>.
How can I get off this distribution list?  The unsubscribe didn't seem to
work.

Best Regards,

M.P.

-----Original Message-----
From: Myrna van Lunteren [mailto:m.v.lunteren@gmail.com] 
Sent: Friday, July 27, 2007 5:10 PM
To: derby-dev@db.apache.org
Subject: Re: starting network server with classes...

On 7/27/07, Manjula Kutty <ma...@gmail.com> wrote:
> I have seen both of them. The first problem I thought it was because of
some
> issues in my env. So still don't know what is the soution.
>
> For the second one, you might have some old derby.log already in your
> directory.If you delete that and start the n/w server everything will be
> fine.

There does not seem to be a derby.log file. Basically, it means that
again, you cannot use the derby plugin, which seems wrong...
Someone should at least verify my findings...check into the plugin src
code to see what exactly it's doing, see ui/utils/DerbyServerUtils.

Myrna

>
> Regards
> Manjula
>
>
> On 7/27/07, Myrna van Lunteren <m....@gmail.com> wrote:
> > Hi,
> >
> > I just tried something silly in my trunk environment:
> > java org.apache.derby.drda.NetworkServerControl start
> > This failed, responding 'Cannot find derbynet.jar on the classpath'
> > Is this no longer supported?
> >
> > Also, I tried - yes, silly me - to do a build on 10.3 and create an
> > eclipse plugin...
> > Starting network showed this:
> > "Security manager installed using the Basic server security policy.
> > 2007-07-27 14:23:28.141 GMT Thread[main,5,main]
> > java.security.AccessControlException: access denied
> > (java.io.FilePermission derby.log read)
> > Apache Derby Network Server - 10.3.1.4 - (560220) started and ready to
> > accept connections on port 1527 at 2007-07-27 14:23:28.156 GMT
> > Apache Derby Network Server - 10.3.1.4 - (560220) started and ready to
> > accept connections on port 1527 at 2007-07-27 14:23:28.156 GMT "
> >
> > And connecting with ij resulted in:
> > ERROR 58009: A communications error has been detected: Connection reset.
> >
> > I suggest someone check into this... :-(
> > remember, the eclipse plugin still attempts to start networkserver &
> > ij with -Dderby.system.home=.
> >
> > Myrna
> >
>
>
>
> --
> Thanks,
> Manjula.



Re: starting network server with classes...

Posted by Myrna van Lunteren <m....@gmail.com>.
On 7/27/07, Manjula Kutty <ma...@gmail.com> wrote:
> I have seen both of them. The first problem I thought it was because of some
> issues in my env. So still don't know what is the soution.
>
> For the second one, you might have some old derby.log already in your
> directory.If you delete that and start the n/w server everything will be
> fine.

There does not seem to be a derby.log file. Basically, it means that
again, you cannot use the derby plugin, which seems wrong...
Someone should at least verify my findings...check into the plugin src
code to see what exactly it's doing, see ui/utils/DerbyServerUtils.

Myrna

>
> Regards
> Manjula
>
>
> On 7/27/07, Myrna van Lunteren <m....@gmail.com> wrote:
> > Hi,
> >
> > I just tried something silly in my trunk environment:
> > java org.apache.derby.drda.NetworkServerControl start
> > This failed, responding 'Cannot find derbynet.jar on the classpath'
> > Is this no longer supported?
> >
> > Also, I tried - yes, silly me - to do a build on 10.3 and create an
> > eclipse plugin...
> > Starting network showed this:
> > "Security manager installed using the Basic server security policy.
> > 2007-07-27 14:23:28.141 GMT Thread[main,5,main]
> > java.security.AccessControlException: access denied
> > (java.io.FilePermission derby.log read)
> > Apache Derby Network Server - 10.3.1.4 - (560220) started and ready to
> > accept connections on port 1527 at 2007-07-27 14:23:28.156 GMT
> > Apache Derby Network Server - 10.3.1.4 - (560220) started and ready to
> > accept connections on port 1527 at 2007-07-27 14:23:28.156 GMT "
> >
> > And connecting with ij resulted in:
> > ERROR 58009: A communications error has been detected: Connection reset.
> >
> > I suggest someone check into this... :-(
> > remember, the eclipse plugin still attempts to start networkserver &
> > ij with -Dderby.system.home=.
> >
> > Myrna
> >
>
>
>
> --
> Thanks,
> Manjula.

Re: starting network server with classes...

Posted by Manjula Kutty <ma...@gmail.com>.
I have seen both of them. The first problem I thought it was because of some
issues in my env. So still don't know what is the soution.

For the second one, you might have some old derby.log already in your
directory.If you delete that and start the n/w server everything will be
fine.

Regards
Manjula


On 7/27/07, Myrna van Lunteren <m....@gmail.com> wrote:
>
> Hi,
>
> I just tried something silly in my trunk environment:
> java org.apache.derby.drda.NetworkServerControl start
> This failed, responding 'Cannot find derbynet.jar on the classpath'
> Is this no longer supported?
>
> Also, I tried - yes, silly me - to do a build on 10.3 and create an
> eclipse plugin...
> Starting network showed this:
> "Security manager installed using the Basic server security policy.
> 2007-07-27 14:23:28.141 GMT Thread[main,5,main]
> java.security.AccessControlException: access denied
> (java.io.FilePermission derby.log read)
> Apache Derby Network Server - 10.3.1.4 - (560220) started and ready to
> accept connections on port 1527 at 2007-07-27 14:23:28.156 GMT
> Apache Derby Network Server - 10.3.1.4 - (560220) started and ready to
> accept connections on port 1527 at 2007-07-27 14:23:28.156 GMT "
>
> And connecting with ij resulted in:
> ERROR 58009: A communications error has been detected: Connection reset.
>
> I suggest someone check into this... :-(
> remember, the eclipse plugin still attempts to start networkserver &
> ij with -Dderby.system.home=.
>
> Myrna
>



-- 
Thanks,
Manjula.