We have made some changes our JNDI query does not run, instead the JMS queue is addressed directly. Now the test succeeds. The only port that gets unused when we do this change is 1099. So it seems we're back at the original idea of a port problem. Not sure how can Pax interfere because the JNDI server is on a completely different machine.
On Tue, Apr 27, 2010 at 11:10 AM, Toni Menzel <t...@okidokiteam.com> wrote: > > > On Tue, Apr 27, 2010 at 11:01 AM, Norbert Somlai <nsom...@gmail.com>wrote: > >> Toni, >> >> Thanks, but it seems it something else, because our port analysis did not >> show collisions. We use port 2506 on another server to do JNDI lookups, but >> somehow the response get corrupted by the Pax environment. >> >> The weird thing is that the code runs fine when ran from Equinox (even >> from the one Pax downloaded and set up). When ran from Pax, we get a >> >> javax.naming.NamingException [Root exception is >> java.io.StreamCorruptedException: invalid type code: 01] >> at com.sonicsw.jndi.mfcontext.MFConnection.throwException(Unknown >> Source) >> at com.sonicsw.jndi.mfcontext.MFConnection.listAll(Unknown Source) >> at com.sonicsw.jndi.mfcontext.MFContext.lookup(Unknown Source) >> at javax.naming.InitialContext.lookup(InitialContext.java:392) >> >> in our code. >> > > No idea at all. Maybe you can provide some more context information? > What JDK are you using ? Also, do you use vanilla Pax Runner? Or Are you > speaking of Pax Exam? Also can you provide more configuration and log info? > > >> >> I can't even imagine how this is possible, I'd appreciate any ideas. >> >> One thing we noticed in our port sniffer is that when we run Pax, a cyclic >> port opening happens: >> 1099 to # and # to 1099 on the same computer. I'm not a TCP/IP guru so >> this may be perfectly OK, just looked suspicious. >> > > Well this does not look too wrong as we have an inter-process communication > using RMI from localhost to localhost. > > >> >> Norbert > > Toni > > >> >> >> On Tue, Apr 27, 2010 at 10:43 AM, Toni Menzel <t...@okidokiteam.com>wrote: >> >>> Well, if you are speaking of pax exam: >>> There is an option in the 2.0 branch but in 1.x it is not possible, yet. >>> Though, if you can use a Pax Exam 1.2.1-SNAPSHOT for a short period, i >>> don't mind adding the option in this stream, too. >>> Please create a jira issue for this. >>> >>> >>> On Tue, Apr 27, 2010 at 10:04 AM, Norbert Somlai <nsom...@gmail.com>wrote: >>> >>>> Hi, >>>> >>>> Pax is colliding with our JMS code on port 1099. Is there a way to >>>> configure it to use another JNDI port? >>>> >>>> Thanks, Norbert >>>> >>>> _______________________________________________ >>>> general mailing list >>>> general@lists.ops4j.org >>>> http://lists.ops4j.org/mailman/listinfo/general >>>> >>>> >>> >>> >>> -- >>> Toni Menzel >>> Independent Software Developer >>> Professional Profile: http://okidokiteam.com >>> t...@okidokiteam.com >>> http://www.ops4j.org - New Energy for OSS Communities - Open >>> Participation Software. >>> >>> >> > > > -- > Toni Menzel > Independent Software Developer > Professional Profile: http://okidokiteam.com > t...@okidokiteam.com > http://www.ops4j.org - New Energy for OSS Communities - Open > Participation Software. > >
_______________________________________________ general mailing list general@lists.ops4j.org http://lists.ops4j.org/mailman/listinfo/general