Return-Path: X-Original-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 24E948ED0 for ; Tue, 13 Sep 2011 20:30:21 +0000 (UTC) Received: (qmail 55970 invoked by uid 500); 13 Sep 2011 20:30:20 -0000 Delivered-To: apmail-incubator-ooo-dev-archive@incubator.apache.org Received: (qmail 55924 invoked by uid 500); 13 Sep 2011 20:30:20 -0000 Mailing-List: contact ooo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-dev@incubator.apache.org Received: (qmail 55895 invoked by uid 99); 13 Sep 2011 20:30:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Sep 2011 20:30:20 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE X-Spam-Check-By: apache.org Received-SPF: unknown ipv4:200.91.200.0/24 (nike.apache.org: encountered unrecognized mechanism during SPF processing of domain of giffunip@tutopia.com) Received: from [98.139.91.87] (HELO nm17.bullet.mail.sp2.yahoo.com) (98.139.91.87) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 13 Sep 2011 20:30:10 +0000 Received: from [98.139.91.62] by nm17.bullet.mail.sp2.yahoo.com with NNFMP; 13 Sep 2011 20:29:48 -0000 Received: from [98.139.91.23] by tm2.bullet.mail.sp2.yahoo.com with NNFMP; 13 Sep 2011 20:29:48 -0000 Received: from [127.0.0.1] by omp1023.mail.sp2.yahoo.com with NNFMP; 13 Sep 2011 20:29:48 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 520895.32012.bm@omp1023.mail.sp2.yahoo.com Received: (qmail 94072 invoked by uid 60001); 13 Sep 2011 20:29:48 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1315945788; bh=IbsR6LGjkmfFJAvY/sWV2o7N4+6G2pf2CihM6HKg8Wk=; h=X-YMail-OSG:Received:X-RocketYMMF:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding; b=p/0wKlNotsFJT7oOmu4uuDu0vAsKRgd64thuaGZ8Vk4d64CAxct1RQ9VG+DBGHK9V0sY/cAEpck+QVa2HyWa39YbTp3JsaeALWpT7gRJ6Z/ac6sMnRt1a7/l8gIj8p3sbpYV78ansHGAHhTbONgrZoLWler8kVwj4BpzB5hcnPM= X-YMail-OSG: Rb79Ra0VM1mSPLRNeCrgTgUKIiiaBeLMGTpc50H4XLV44W2 T894i.TW_mcMAHuRmJlRH9xitlt3PdX7jsRzF2YXyBQR58XHP3i_lxVQ0wv5 Dkxp8mtVDfGL5lL1RRMyPZ7SyDoYoyG60AsbZSRjPKPS5TsEDNYT2rP8Ecvn Ff8Mcy5YtnTRcwn8z0_J98AT3lEX_7LNQEoefgRnA_q.kGkZb6bMr5.R3DT7 GYMhODQgiqfXVQ8neS0HICz1HORBS0lhyVZlhJayqNBsaVvq5M0bTmeyO2vj KqVJuAQyrCY4Dh8pGZTWG66rQYu_Kln6zFveUoYp3Xuha8nwyPAX7p181FnP wTA351EusZcR2H2Lty9qtcIaMseOAy2PfYzEJ5Zr9BoQ_91DQGamdmaQrJNF q3ds0cl7CJBzyOCJN9svhR6_b9qCimdS6_uleIJFwquujn1N7j9HIo08zv7B 37ynsnzumucc.NO9Ok31._W.R0GA_1bdHyUOrI.Cmr35ABIVDNEqQnGpe6wA 4eLp_CUhFgIeQ37J8yA-- Received: from [200.118.157.7] by web113504.mail.gq1.yahoo.com via HTTP; Tue, 13 Sep 2011 13:29:47 PDT X-RocketYMMF: giffunip X-Mailer: YahooMailClassic/14.0.5 YahooMailWebService/0.8.113.315625 Message-ID: <1315945787.94052.YahooMailClassic@web113504.mail.gq1.yahoo.com> Date: Tue, 13 Sep 2011 13:29:47 -0700 (PDT) From: "Pedro F. Giffuni" Reply-To: giffunip@tutopia.com Subject: RE: Problem using Java for integration from JBoss 5.1 To: ooo-dev@incubator.apache.org Cc: Scott.Herter@napersoft.com MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi;=0A=0Aooo-users@ may be more appropriate although I admit that=0Atype of= questions may not be that easy to solve there=0Aeither :(.=0A=0APerhaps on= the JBoss lists ...=0A=0Acheers,=0A=0APedro.=0A=0A--- On Tue, 9/13/11, Her= ter, Scott wrote:=0A=0A> Thanks, that at least= gives me a clue.=0A> =0A> As for the list, I looked around, there isn't mu= ch here yet=0A> so this seemed the best fit.=0A> =0A> Are there other lists= that would be better or is the=0A> project not quite that far along yet?= =0A> =0A> Thanks.=0A> =0A> -----Original Message-----=0A> From: Pedro F. Gi= ffuni [mailto:giffunip@tutopia.com]=0A> =0A> Sent: Tuesday, September 13, 2= 011 2:55 PM=0A> To: ooo-dev@incubator.apache.org=0A> Cc: Herter, Scott=0A> = Subject: RE: Problem using Java for integration from JBoss=0A> 5.1=0A> =0A>= Hi;=0A> =0A> I think JBoss is trying to use saxon but the version in=0A> O= penOffice conflicts with what JBoss expects.=0A> =0A> Installing the comple= te saxon may work but maybe it's a=0A> CLASSPATH issue and reinstalling JBo= ss does the trick. It's=0A> not an issue to be solved in this list though, = except for=0A> reminding us to replace saxon with Apache Xalan in the=0A> f= uture :(.=0A> =0A> Pedro.=0A> =0A> --- On Tue, 9/13/11, Herter, Scott =0A> wrote:=0A> =0A> > The problem is that we were n= ot using=0A> > Saxon to begin with, it is something in the OpenOffice=0A> 3= .3 jars that =0A> > is causing this.=A0 Unfortunately I have been unable to= =0A> find anything =0A> > that says you only need jars x,y, and z in order = to=0A> use the UNO API =0A> > from Java to OpenOffice so we just dumped all= of them=0A> in the EAR file.=A0 =0A> > With earlier versions it didn't see= m to matter, now it=0A> does.=A0 Looks =0A> > like I am in for some long ni= ghts trying to figure out=0A> what Jars we =0A> > don't really need or we w= ait for the next version and=0A> hope the problem =0A> > goes away.=0A> > = =0A> > Thanks for the help.=0A> > =0A> > -----Original Message-----=0A> > F= rom: Pedro F. Giffuni [mailto:giffunip@tutopia.com]=0A> > =0A> > Sent: Tues= day, September 13, 2011 12:57 PM=0A> > To: ooo-dev@incubator.apache.org=0A>= > Cc: Herter, Scott=0A> > Subject: Re: Problem using Java for integration = from=0A> JBoss=0A> > 5.1=0A> > =0A> > Interesting ...=0A> > =0A> > We carry= an older version of saxon but we don't carry=0A> saxon9-dom.jar=0A> > =0A>= > Newer versions of saxon don't carry saxon9-dom=0A> either.=0A> > =0A> > = Try getting Saxon-B from http://saxon.sourceforge.net/=0A> > =0A> > cheers,= =0A> > =0A> > Pedro.=0A> > =0A> > --- On Tue, 9/13/11, Herter, Scott =0A> > wrote:=0A> > ...=0A> > > We have been using Op= enOffice in the past to=0A> convert RTF documents =0A> > > to PDF and to pr= int=0A> > them.=A0 We have=0A> > > upgraded and after updating the Jar file= s in our=0A> EAR=0A> > file we now get=0A> > > an exception:=0A> > > =0A> >= > 2011-09-13 10:58:19,725 ERROR [STDERR]=0A> > > (http-0.0.0.0-8080-1) Err= or=A0=A0=A0DOMSource cannot=0A> be=0A> > processed: check=0A> > > that saxo= n9-dom.jar is on the classpath=0A> > > 2011-09-13 10:58:19,725 ERROR [STDER= R]=0A> > > (http-0.0.0.0-8080-1)=0A> > net.sf.saxon.trans.XPathException:= =0A> > > DOMSource cannot be processed: check that=0A> > saxon9-dom.jar is = on the=0A> > > classpath=0A> > > 2011-09-13 10:58:19,725 ERROR [STDERR]=0A>= > > (http-0.0.0.0-8080-1)=A0=A0=A0at=0A> > > net.sf.saxon.event.Sender.sen= d(Sender.java:226)=0A> > > 2011-09-13 10:58:19,725 ERROR [STDERR]=0A> > > (= http-0.0.0.0-8080-1)=A0=A0=A0at=0A> > >=0A> >=0A> net.sf.saxon.IdentityTran= sformer.transform(IdentityTransformer.java:29=0A> > > )=0A> > > 2011-09-13 = 10:58:19,725 ERROR [STDERR]=0A> > > (http-0.0.0.0-8080-1)=A0=A0=A0at=0A> > = >=0A> >=0A> com.napersoft.databases.R70.NRUtils.decodeXML(NRUtils.java:1160= )=0A> > > ...=0A> > > =0A> > > Without the OpenOffice 3.3 jar files that co= de=0A> works=0A> > fine, with the=0A> > > 3.3 Jar files it fails with the m= essage above.=A0=0A> The=0A> > code being invoked=0A> > > has nothing to do= with OpenOffice, it has to do=0A> with=0A> > formatting some=0A> > > XML f= or display.=A0 I noticed that there is a=0A> > saxon9.jar as part of the=0A= > > > 3.3 jars and that is included in the manifest as=0A> a jar=0A> > file= dependency=0A> > > and it is bundled with the EAR file.=A0 It is like=0A> = some=0A> > of the Jar files=0A> > > are replacing or interfering with the= =0A> javax.xml.*=0A> > packages provided by=0A> > > JBoss.=0A> > > =0A> > >= Is there some minimal set of 3.3 jars I can use?=0A> > Most of the time we= =0A> > > are loading an RTF document and converting it to=0A> PDF=0A> > or = printing it.=0A> > > We also use cursors to search for bookmarks and=0A> in= sert=0A> > page breaks as=0A> > > well as get a page count.=0A> > > =0A> > = > Any help would be appreciated.=0A> > > =0A> > > Thanks.=0A> > > =0A> > > = =0A> > =0A> > =0A> > =0A> > =0A> =0A> =0A> =0A>