You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by Dan Creswell <da...@gmail.com> on 2008/07/30 14:01:54 UTC
Looking for a ChangeLog
Hi all,
Firstly, I'd like to say thanks for Mina, it's good stuff.
I've been developing some code against Mina-2.0.0-M1 and this morning
downloaded M2, which amongst other things seems to have a substantial
package renaming. Having re-jigged my code to fit with the new package
naming structure I'm now encountering a permissioning problem (which I don't
get with M1):
Caused by: java.net.SocketException: Permission denied
at sun.nio.ch.Net.connect(Native Method)
at sun.nio.ch.DatagramChannelImpl.connect(DatagramChannelImpl.java:548)
at
org.apache.mina.transport.socket.nio.NioDatagramConnector.connect(NioDatagramConnector.java:102)
at
org.apache.mina.transport.socket.nio.NioDatagramConnector.connect(NioDatagramConnector.java:42)
at
org.apache.mina.core.polling.AbstractPollingIoConnector.connect0(AbstractPollingIoConnector.java:321)
at
org.apache.mina.core.service.AbstractIoConnector.connect(AbstractIoConnector.java:256)
at
org.apache.mina.core.service.AbstractIoConnector.connect(AbstractIoConnector.java:173)
at org.dancres.paxos.impl.PaxosPeer.main(PaxosPeer.java:75)
Where might I find out about the changes you've made in M2? This
information is useful both in identifying possible sources of issues (like
the above exception) and figuring out whether I want to upgrade to a release
(and take the impact of fixing up all my imports).
Thank you,
Dan.
Re: Looking for a ChangeLog
Posted by Dan Creswell <da...@gmail.com>.
I'll get one together for you - it's very early in initialization of my
server so it shouldn't be too difficult to assemble. Right now I need to
make some progress but I'll get you something over the weekend.
Thanks for the prompt replies,
Dan.
On Wed, Jul 30, 2008 at 1:28 PM, Julien Vermillard
<jv...@archean.fr>wrote:
> weird,
>
> You got a simple test case you can attach at a JIRA issue so we can try
> to reproduce it ?
>
> Julien
>
> On Wed, 30 Jul 2008 13:10:32 +0100
> "Dan Creswell" <da...@gmail.com> wrote:
>
> > Hello,
> >
> > Thanks Julien - alas no, the port is 41952.
> >
> > Best,
> >
> > Dan.
> >
> > On Wed, Jul 30, 2008 at 1:05 PM, Julien Vermillard
> > <jv...@archean.fr>wrote:
> >
> > > Hi, I think you try to bind port with a too low ID (<1024)
> > >
> > > For changelog you can look at JIRA :
> > >
> > >
> https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&pid=10670&fixfor=12312861
> > >
> > > Julien
> > >
> > > On Wed, 30 Jul 2008 13:01:54 +0100
> > > "Dan Creswell" <da...@gmail.com> wrote:
> > >
> > > > Hi all,
> > > >
> > > > Firstly, I'd like to say thanks for Mina, it's good stuff.
> > > >
> > > > I've been developing some code against Mina-2.0.0-M1 and this
> > > > morning downloaded M2, which amongst other things seems to have a
> > > > substantial package renaming. Having re-jigged my code to fit
> > > > with the new package naming structure I'm now encountering a
> > > > permissioning problem (which I don't get with M1):
> > > >
> > > > Caused by: java.net.SocketException: Permission denied
> > > > at sun.nio.ch.Net.connect(Native Method)
> > > > at
> > > > sun.nio.ch.DatagramChannelImpl.connect(DatagramChannelImpl.java:548)
> > > > at
> > > >
> > >
> org.apache.mina.transport.socket.nio.NioDatagramConnector.connect(NioDatagramConnector.java:102)
> > > > at
> > > >
> > >
> org.apache.mina.transport.socket.nio.NioDatagramConnector.connect(NioDatagramConnector.java:42)
> > > > at
> > > >
> > >
> org.apache.mina.core.polling.AbstractPollingIoConnector.connect0(AbstractPollingIoConnector.java:321)
> > > > at
> > > >
> > >
> org.apache.mina.core.service.AbstractIoConnector.connect(AbstractIoConnector.java:256)
> > > > at
> > > >
> > >
> org.apache.mina.core.service.AbstractIoConnector.connect(AbstractIoConnector.java:173)
> > > > at org.dancres.paxos.impl.PaxosPeer.main(PaxosPeer.java:75)
> > > >
> > > > Where might I find out about the changes you've made in M2? This
> > > > information is useful both in identifying possible sources of
> > > > issues (like the above exception) and figuring out whether I want
> > > > to upgrade to a release (and take the impact of fixing up all my
> > > > imports).
> > > >
> > > > Thank you,
> > > >
> > > > Dan.
> > >
>
Re: Looking for a ChangeLog
Posted by Julien Vermillard <jv...@archean.fr>.
weird,
You got a simple test case you can attach at a JIRA issue so we can try
to reproduce it ?
Julien
On Wed, 30 Jul 2008 13:10:32 +0100
"Dan Creswell" <da...@gmail.com> wrote:
> Hello,
>
> Thanks Julien - alas no, the port is 41952.
>
> Best,
>
> Dan.
>
> On Wed, Jul 30, 2008 at 1:05 PM, Julien Vermillard
> <jv...@archean.fr>wrote:
>
> > Hi, I think you try to bind port with a too low ID (<1024)
> >
> > For changelog you can look at JIRA :
> >
> > https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&pid=10670&fixfor=12312861
> >
> > Julien
> >
> > On Wed, 30 Jul 2008 13:01:54 +0100
> > "Dan Creswell" <da...@gmail.com> wrote:
> >
> > > Hi all,
> > >
> > > Firstly, I'd like to say thanks for Mina, it's good stuff.
> > >
> > > I've been developing some code against Mina-2.0.0-M1 and this
> > > morning downloaded M2, which amongst other things seems to have a
> > > substantial package renaming. Having re-jigged my code to fit
> > > with the new package naming structure I'm now encountering a
> > > permissioning problem (which I don't get with M1):
> > >
> > > Caused by: java.net.SocketException: Permission denied
> > > at sun.nio.ch.Net.connect(Native Method)
> > > at
> > > sun.nio.ch.DatagramChannelImpl.connect(DatagramChannelImpl.java:548)
> > > at
> > >
> > org.apache.mina.transport.socket.nio.NioDatagramConnector.connect(NioDatagramConnector.java:102)
> > > at
> > >
> > org.apache.mina.transport.socket.nio.NioDatagramConnector.connect(NioDatagramConnector.java:42)
> > > at
> > >
> > org.apache.mina.core.polling.AbstractPollingIoConnector.connect0(AbstractPollingIoConnector.java:321)
> > > at
> > >
> > org.apache.mina.core.service.AbstractIoConnector.connect(AbstractIoConnector.java:256)
> > > at
> > >
> > org.apache.mina.core.service.AbstractIoConnector.connect(AbstractIoConnector.java:173)
> > > at org.dancres.paxos.impl.PaxosPeer.main(PaxosPeer.java:75)
> > >
> > > Where might I find out about the changes you've made in M2? This
> > > information is useful both in identifying possible sources of
> > > issues (like the above exception) and figuring out whether I want
> > > to upgrade to a release (and take the impact of fixing up all my
> > > imports).
> > >
> > > Thank you,
> > >
> > > Dan.
> >
Re: Looking for a ChangeLog
Posted by Dan Creswell <da...@gmail.com>.
It's on Ubuntu Linux 2.6.24 and there's no policy file currently set (which
has been working fine against M1).
All I've done to port my code to M2 is fixup all the imports - no other
changes have been made. The port number (41952) is statically set and the
command-line I'm using is exactly the same as I'd use against my M1 version
bar (obviously) the classpath tweak required to use the correct M2 .jar
I'll strace and attach a debugger to the JVM and check out what's happening
whilst I write the test case....
On Wed, Jul 30, 2008 at 1:35 PM, Emmanuel Lecharny <el...@gmail.com>wrote:
> Dan Creswell wrote:
>
>> Hello,
>>
>> Thanks Julien - alas no, the port is 41952.
>>
>>
> Any policy file where you forbid a port above a certain number ?
>
> Which system are you running on ?
>
> --
> --
> cordialement, regards,
> Emmanuel Lécharny
> www.iktek.com
> directory.apache.org
>
>
>
Re: Looking for a ChangeLog
Posted by Emmanuel Lecharny <el...@gmail.com>.
Dan Creswell wrote:
> Hello,
>
> Thanks Julien - alas no, the port is 41952.
>
Any policy file where you forbid a port above a certain number ?
Which system are you running on ?
--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org
Re: Looking for a ChangeLog
Posted by Dan Creswell <da...@gmail.com>.
Hello,
Thanks Julien - alas no, the port is 41952.
Best,
Dan.
On Wed, Jul 30, 2008 at 1:05 PM, Julien Vermillard
<jv...@archean.fr>wrote:
> Hi, I think you try to bind port with a too low ID (<1024)
>
> For changelog you can look at JIRA :
>
> https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&pid=10670&fixfor=12312861
>
> Julien
>
> On Wed, 30 Jul 2008 13:01:54 +0100
> "Dan Creswell" <da...@gmail.com> wrote:
>
> > Hi all,
> >
> > Firstly, I'd like to say thanks for Mina, it's good stuff.
> >
> > I've been developing some code against Mina-2.0.0-M1 and this morning
> > downloaded M2, which amongst other things seems to have a substantial
> > package renaming. Having re-jigged my code to fit with the new
> > package naming structure I'm now encountering a permissioning problem
> > (which I don't get with M1):
> >
> > Caused by: java.net.SocketException: Permission denied
> > at sun.nio.ch.Net.connect(Native Method)
> > at
> > sun.nio.ch.DatagramChannelImpl.connect(DatagramChannelImpl.java:548)
> > at
> >
> org.apache.mina.transport.socket.nio.NioDatagramConnector.connect(NioDatagramConnector.java:102)
> > at
> >
> org.apache.mina.transport.socket.nio.NioDatagramConnector.connect(NioDatagramConnector.java:42)
> > at
> >
> org.apache.mina.core.polling.AbstractPollingIoConnector.connect0(AbstractPollingIoConnector.java:321)
> > at
> >
> org.apache.mina.core.service.AbstractIoConnector.connect(AbstractIoConnector.java:256)
> > at
> >
> org.apache.mina.core.service.AbstractIoConnector.connect(AbstractIoConnector.java:173)
> > at org.dancres.paxos.impl.PaxosPeer.main(PaxosPeer.java:75)
> >
> > Where might I find out about the changes you've made in M2? This
> > information is useful both in identifying possible sources of issues
> > (like the above exception) and figuring out whether I want to upgrade
> > to a release (and take the impact of fixing up all my imports).
> >
> > Thank you,
> >
> > Dan.
>
Re: Looking for a ChangeLog
Posted by Julien Vermillard <jv...@archean.fr>.
Hi, I think you try to bind port with a too low ID (<1024)
For changelog you can look at JIRA :
https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&pid=10670&fixfor=12312861
Julien
On Wed, 30 Jul 2008 13:01:54 +0100
"Dan Creswell" <da...@gmail.com> wrote:
> Hi all,
>
> Firstly, I'd like to say thanks for Mina, it's good stuff.
>
> I've been developing some code against Mina-2.0.0-M1 and this morning
> downloaded M2, which amongst other things seems to have a substantial
> package renaming. Having re-jigged my code to fit with the new
> package naming structure I'm now encountering a permissioning problem
> (which I don't get with M1):
>
> Caused by: java.net.SocketException: Permission denied
> at sun.nio.ch.Net.connect(Native Method)
> at
> sun.nio.ch.DatagramChannelImpl.connect(DatagramChannelImpl.java:548)
> at
> org.apache.mina.transport.socket.nio.NioDatagramConnector.connect(NioDatagramConnector.java:102)
> at
> org.apache.mina.transport.socket.nio.NioDatagramConnector.connect(NioDatagramConnector.java:42)
> at
> org.apache.mina.core.polling.AbstractPollingIoConnector.connect0(AbstractPollingIoConnector.java:321)
> at
> org.apache.mina.core.service.AbstractIoConnector.connect(AbstractIoConnector.java:256)
> at
> org.apache.mina.core.service.AbstractIoConnector.connect(AbstractIoConnector.java:173)
> at org.dancres.paxos.impl.PaxosPeer.main(PaxosPeer.java:75)
>
> Where might I find out about the changes you've made in M2? This
> information is useful both in identifying possible sources of issues
> (like the above exception) and figuring out whether I want to upgrade
> to a release (and take the impact of fixing up all my imports).
>
> Thank you,
>
> Dan.