[MarkLogic Dev General] Re: XQSync Error

Patrick Force patrickf at arc90.com
Tue Jul 24 21:43:11 PDT 2007


Thanks Mike.

On 7/24/07, general-request at developer.marklogic.com <
general-request at developer.marklogic.com> wrote:
>
> Send General mailing list submissions to
>         general at developer.marklogic.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://xqzone.com/mailman/listinfo/general
> or, via email, send a message with subject or body 'help' to
>         general-request at developer.marklogic.com
>
> You can reach the person managing the list at
>         general-owner at developer.marklogic.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of General digest..."
>
>
> Today's Topics:
>
>    1. Re: XQSync Error (Patrick Force)
>    2. Re: Re: XQSync Error (Michael Blakeley)
>    3. Re: Re: XQSync Error (Michael Blakeley)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 24 Jul 2007 15:25:34 -0400
> From: "Patrick Force" <patrickf at arc90.com>
> Subject: [MarkLogic Dev General] Re: XQSync Error
> To: general at developer.marklogic.com
> Message-ID:
>         <9098be600707241225j1e2c5735q12686f1ffac707d3 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Here's the full command and console output:
>
> java -Dfile.encoding=UTF-8 -cp
> xqsync.jar:xcc.jar:xpp3.jar:xstream.jar-DINPUT_CONNECTION_STRING=
> xcc://username:password@sql_stage_01:8011 -DOUTPUT_PACKAGE=pxquote.zip
> com.marklogic.ps.xqsync.XQSync
> added system properties
> logging to CONSOLE
> logging to file simplelogger-%u-%g.log
> Jul 24, 2007 3:18:11 PM com.marklogic.ps.SimpleLogger configureLogger
> INFO: setting up com.marklogic.ps.SimpleLogger at bac748 for:
> com.marklogic.ps
> Jul 24, 2007 3:18:11 PM com.marklogic.ps.xqsync.ConfigurationsetProperties
> INFO: first-time setup
> Jul 24, 2007 3:18:11 PM com.marklogic.ps.xqsync.ConfigurationconfigureInput
> INFO: input from connection: xcc://pxquote:pxquote@sql_stage_01:8011
> Exception in thread "main" java.lang.IllegalArgumentException: port out of
> range:-1
>         at java.net.InetSocketAddress.<init>(InetSocketAddress.java:118)
>         at
> com.marklogic.xcc.ContentSourceFactory.defaultConnectionProvider(
> ContentSourceFactory.java:211)
>         at com.marklogic.xcc.ContentSourceFactory.newContentSource(
> ContentSourceFactory.java:140)
>         at com.marklogic.xcc.ContentSourceFactory.newContentSource(
> ContentSourceFactory.java:114)
>         at com.marklogic.ps.Connection.<init>(Connection.java:45)
>         at com.marklogic.ps.xqsync.Configuration.configureInput(
> Configuration.java:330)
>         at com.marklogic.ps.xqsync.Configuration.configure(
> Configuration.java:283)
>         at com.marklogic.ps.xqsync.Configuration.setProperties(
> Configuration.java:209)
>         at com.marklogic.ps.xqsync.XQSync.main(XQSync.java:51)
>
> That's all I think can provide.  If you need the support request dump on
> the
> install in question I can send that too.  Just let me know.  Thanks.
>
> Patrick
>
> On 7/24/07, general-request at developer.marklogic.com <
> general-request at developer.marklogic.com> wrote:
> >
> > Send General mailing list submissions to
> >         general at developer.marklogic.com
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> >         http://xqzone.com/mailman/listinfo/general
> > or, via email, send a message with subject or body 'help' to
> >         general-request at developer.marklogic.com
> >
> > You can reach the person managing the list at
> >         general-owner at developer.marklogic.com
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of General digest..."
> >
> >
> > Today's Topics:
> >
> >    1. Re: XQSync Error (Michael Blakeley)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Mon, 23 Jul 2007 13:15:59 -0700
> > From: Michael Blakeley <michael.blakeley at marklogic.com>
> > Subject: Re: [MarkLogic Dev General] XQSync Error
> > To: General Mark Logic Developer Discussion
> >         <general at developer.marklogic.com>
> > Message-ID: <46A50C7F.9010907 at marklogic.com>
> > Content-Type: text/plain; charset="utf-8"
> >
> > Patrick,
> >
> > There isn't enough info for me to suggest anything. Please provide the
> > entire XQSync log output, and all of your property settings.
> >
> > thanks,
> > -- Mike
> >
> > Patrick Force wrote:
> > > Was wondering if anyone could help with this.  I'm getting the
> following
> > > error when running XQSync:
> > >
> > > INFO: input from connection: xcc://username:password@sql_stage_01:8011
> > > Exception in thread "main" java.lang.IllegalArgumentException: port
> out
> > of
> > > range:-1
> > >
> > > This port/app server does indeed exist on the MarkLogic install in
> > > question.  The connection is fine to the XDBC server via this port
> from
> > all
> > > other applications using it.  I'm getting the same result from
> multiple
> > > MarkLogic environments/machines on our network, though there are
> > MarkLogic
> > > installs here that do not encounter this problem.
> > >
> > > Any ideas would be appreciated.
> > >
> > > Patrick
> > >
> > >
> > >
> > >
> ------------------------------------------------------------------------
> > >
> > > _______________________________________________
> > > General mailing list
> > > General at developer.marklogic.com
> > > http://xqzone.com/mailman/listinfo/general
> >
> > -------------- next part --------------
> > A non-text attachment was scrubbed...
> > Name: smime.p7s
> > Type: application/x-pkcs7-signature
> > Size: 4532 bytes
> > Desc: S/MIME Cryptographic Signature
> > Url :
> >
> http://xqzone.marklogic.com/pipermail/general/attachments/20070723/9847c9be/smime-0001.bin
> >
> > ------------------------------
> >
> > _______________________________________________
> > General mailing list
> > General at developer.marklogic.com
> > http://xqzone.com/mailman/listinfo/general
> >
> >
> > End of General Digest, Vol 37, Issue 16
> > ***************************************
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://xqzone.marklogic.com/pipermail/general/attachments/20070724/57ffe15e/attachment-0001.html
>
> ------------------------------
>
> Message: 2
> Date: Tue, 24 Jul 2007 16:02:52 -0700
> From: Michael Blakeley <michael.blakeley at marklogic.com>
> Subject: Re: [MarkLogic Dev General] Re: XQSync Error
> To: General Mark Logic Developer Discussion
>         <general at developer.marklogic.com>
> Message-ID: <46A6851C.2060200 at marklogic.com>
> Content-Type: text/plain; charset="utf-8"
>
> Patrick,
>
> Thanks - I've reproduced this problem, and I'll pursue a fix.
>
> Meanwhile, there's an easy workaround: make sure there are no underscore
> characters in the hostname portion of your connection string.
>
> -- Mike
>
>
> Patrick Force wrote:
> > Here's the full command and console output:
> >
> > java -Dfile.encoding=UTF-8 -cp
> > xqsync.jar:xcc.jar:xpp3.jar:xstream.jar-DINPUT_CONNECTION_STRING=
> > xcc://username:password@sql_stage_01:8011 -DOUTPUT_PACKAGE=pxquote.zip
> > com.marklogic.ps.xqsync.XQSync
> > added system properties
> > logging to CONSOLE
> > logging to file simplelogger-%u-%g.log
> > Jul 24, 2007 3:18:11 PM com.marklogic.ps.SimpleLogger configureLogger
> > INFO: setting up com.marklogic.ps.SimpleLogger at bac748 for:
> com.marklogic.ps
> > Jul 24, 2007 3:18:11 PM com.marklogic.ps.xqsync.ConfigurationsetProperties
> > INFO: first-time setup
>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: smime.p7s
> Type: application/x-pkcs7-signature
> Size: 4532 bytes
> Desc: S/MIME Cryptographic Signature
> Url :
> http://xqzone.marklogic.com/pipermail/general/attachments/20070724/144b24e8/smime-0001.bin
>
> ------------------------------
>
> Message: 3
> Date: Tue, 24 Jul 2007 16:34:53 -0700
> From: Michael Blakeley <michael.blakeley at marklogic.com>
> Subject: Re: [MarkLogic Dev General] Re: XQSync Error
> To: General Mark Logic Developer Discussion
>         <general at developer.marklogic.com>
> Message-ID: <46A68C9D.9070108 at marklogic.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Patrick,
>
> This appears to be a JVM issue: Sun maintains that hostnames can't
> contain '_'. Rather than get into an argument about common practice vs
> standards, I'll suggest that you use an RFC-compliant hostname, or an IP
> address.
>
> For more on this issue:
>
>    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6553128
>
>    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5049974
>
> -- Mike
>
> Michael Blakeley wrote:
> > Patrick,
> >
> > Thanks - I've reproduced this problem, and I'll pursue a fix.
> >
> > Meanwhile, there's an easy workaround: make sure there are no underscore
> > characters in the hostname portion of your connection string.
> >
> > -- Mike
> >
> >
> > Patrick Force wrote:
> >> Here's the full command and console output:
> >>
> >> java -Dfile.encoding=UTF-8 -cp
> >> xqsync.jar:xcc.jar:xpp3.jar:xstream.jar-DINPUT_CONNECTION_STRING=
> >> xcc://username:password@sql_stage_01:8011 -DOUTPUT_PACKAGE=pxquote.zip
> >> com.marklogic.ps.xqsync.XQSync
> >> added system properties
> >> logging to CONSOLE
> >> logging to file simplelogger-%u-%g.log
> >> Jul 24, 2007 3:18:11 PM com.marklogic.ps.SimpleLogger configureLogger
> >> INFO: setting up com.marklogic.ps.SimpleLogger at bac748 for:
> com.marklogic.ps
> >> Jul 24, 2007 3:18:11 PM com.marklogic.ps.xqsync.ConfigurationsetProperties
> >> INFO: first-time setup
> >
>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: smime.p7s
> Type: application/x-pkcs7-signature
> Size: 4532 bytes
> Desc: S/MIME Cryptographic Signature
> Url :
> http://xqzone.marklogic.com/pipermail/general/attachments/20070724/10a558d5/smime.bin
>
> ------------------------------
>
> _______________________________________________
> General mailing list
> General at developer.marklogic.com
> http://xqzone.com/mailman/listinfo/general
>
>
> End of General Digest, Vol 37, Issue 17
> ***************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://xqzone.marklogic.com/pipermail/general/attachments/20070725/09c5ae03/attachment-0001.html


More information about the General mailing list