|
View:
New views
20 Messages
—
Rating Filter:
Alert me
|
|
|
Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14)I am getting lots of warnings errors building Fop (trunk, r784614), among them:
... ASCII [javac] * Ascender Height is the character???s most positive y-axis value. [javac] ^ [javac] /usr/local/src/apache-fop-trunk/src/java/org/apache/fop/afp/fonts/CharacterSetOrientation.java:100: warning: unmappable character for encoding [A LOCALE problem?] ... [javac] The system is out of resources. [javac] Consult the following stack trace for details. [javac] java.lang.OutOfMemoryError: Java heap space I have 4 Gb memory and see no use of swap! BUILD FAILED /usr/local/src/apache-fop-trunk/build.xml:313: Compile failed; see the compiler error output for details. Ideas welcome. Thanks, -Tom Tom Browder Niceville, Florida USA --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscribe@... For additional commands, e-mail: fop-users-help@... |
|
|
Re: Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14)Hi Tom,
I can build FOP without any problem on the same system (ok, jdk1.6.0_13 instead of jdk1.6.0_14 but that shouldn’t change anything really). Are you sure you are actually running the Sun jdk? This is the usual trap on Debian-based systems. Run ‘update-alternatives --display javac’ in a terminal. If it is not set to Sun’s jdk, you can set it like this: sudo update-java-alternatives -s java-6-sun HTH, Vincent Tom Browder wrote: > I am getting lots of warnings errors building Fop (trunk, r784614), among them: > > ... > > ASCII > [javac] * Ascender Height is the character???s most positive > y-axis value. > [javac] ^ > [javac] /usr/local/src/apache-fop-trunk/src/java/org/apache/fop/afp/fonts/CharacterSetOrientation.java:100: > warning: unmappable character for encoding > > [A LOCALE problem?] > > ... > > [javac] The system is out of resources. > [javac] Consult the following stack trace for details. > [javac] java.lang.OutOfMemoryError: Java heap space > > I have 4 Gb memory and see no use of swap! > > BUILD FAILED > /usr/local/src/apache-fop-trunk/build.xml:313: Compile failed; see the > compiler error output for details. > > > Ideas welcome. > > Thanks, > > -Tom > > Tom Browder > Niceville, Florida > USA > > --------------------------------------------------------------------- > To unsubscribe, e-mail: fop-users-unsubscribe@... > For additional commands, e-mail: fop-users-help@... > --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscribe@... For additional commands, e-mail: fop-users-help@... |
|
|
Re: Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14)On Mon, Jun 15, 2009 at 05:13, Vincent Hennebert<vhennebert@...> wrote:
> Hi Tom, ... > Are you sure you are actually running the Sun jdk? This is the usual > trap on Debian-based systems. Run ‘update-alternatives --display javac’ > in a terminal. If it is not set to Sun’s jdk, you can set it like this: > sudo update-java-alternatives -s java-6-sun Thanks, Vincent. That shows I'm not running the correct one all right, but the second command didn't work. > > HTH, > Vincent > > > Tom Browder wrote: >> I am getting lots of warnings errors building Fop (trunk, r784614), among them: >> >> ... >> >> ASCII >> [javac] * Ascender Height is the character???s most positive >> y-axis value. >> [javac] ^ >> [javac] /usr/local/src/apache-fop-trunk/src/java/org/apache/fop/afp/fonts/CharacterSetOrientation.java:100: >> warning: unmappable character for encoding >> >> [A LOCALE problem?] >> >> ... >> >> [javac] The system is out of resources. >> [javac] Consult the following stack trace for details. >> [javac] java.lang.OutOfMemoryError: Java heap space >> >> I have 4 Gb memory and see no use of swap! >> >> BUILD FAILED >> /usr/local/src/apache-fop-trunk/build.xml:313: Compile failed; see the >> compiler error output for details. >> >> >> Ideas welcome. >> >> Thanks, >> >> -Tom >> >> Tom Browder >> Niceville, Florida >> USA >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: fop-users-unsubscribe@... >> For additional commands, e-mail: fop-users-help@... >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: fop-users-unsubscribe@... > For additional commands, e-mail: fop-users-help@... > > --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscribe@... For additional commands, e-mail: fop-users-help@... |
|
|
Re: Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14)On Mon, Jun 15, 2009 at 05:13, Vincent Hennebert<vhennebert@...> wrote:
... > in a terminal. If it is not set to Sun’s jdk, you can set it like this: > sudo update-java-alternatives -s java-6-sun Vincent, I don't understand the command. I can trace the links back to another javac. My environment variables are: JAVA_HOME=/opt/sun/java/latest JAVABINDIR=/opt/sun/java/latest/bin I can try to updated the links manually, but I'ld rather not. This appears as another piece of the java environment I'm not aware of. What is "<jname>" supposed to refer to? It's not a whole path, what is the magic ID for a java installation? I''ll bet I have at least 10 around with various packages installed! Thanks. Regards, -Tom --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscribe@... For additional commands, e-mail: fop-users-help@... |
|
|
Re: Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14)On Mon, Jun 15, 2009 at 05:13, Vincent Hennebert<vhennebert@...> wrote:
> Hi Tom, ... > in a terminal. If it is not set to Sun’s jdk, you can set it like this: > sudo update-java-alternatives -s java-6-sun Ah, I see what /etc/alternatives is. I've never been aware of that! I know this is off topic, but what provides the /usr/lib/jvm/.*.jinfo file? I think I can build my own, but that doesn't seem like it's something a user should do. Surely there exists one each for all standard Sun Java packages. Thanks and regards, -Tom --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscribe@... For additional commands, e-mail: fop-users-help@... |
|
|
Re: Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14)On Mon, Jun 15, 2009 at 05:13, Vincent Hennebert<vhennebert@...> wrote:
> Hi Tom, > > I can build FOP without any problem on the same system (ok, jdk1.6.0_13 > instead of jdk1.6.0_14 but that shouldn’t change anything really). > > Are you sure you are actually running the Sun jdk? This is the usual > trap on Debian-based systems. Run ‘update-alternatives --display javac’ > in a terminal. If it is not set to Sun’s jdk, you can set it like this: > sudo update-java-alternatives -s java-6-sun That is all set now, but I still get the same errors. Any more ideas? Note that I cannot find directory "tools/com/sun/tools/javac" anywhere on my system other than my build of the latest gcc. See this message: [javac] Consult the following stack trace for details. [javac] java.lang.OutOfMemoryError: Java heap space [javac] at com.sun.tools.javac.comp.MemberEnter.visitVarDef(MemberEnter.java:609) Thanks, -Tom P.S. Would someone like a test docbook xml file to give fop -pdf a good workout? --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscribe@... For additional commands, e-mail: fop-users-help@... |
|
|
Re: Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14)On 15 Jun 2009, at 02:18, Tom Browder wrote:
Hi Tom > I am getting lots of warnings errors building Fop (trunk, r784614), > among them: > > ... > > ASCII > [javac] * Ascender Height is the character???s most positive > y-axis value. > [javac] ^ > [javac] /usr/local/src/apache-fop-trunk/src/java/org/apache/fop/ > afp/fonts/CharacterSetOrientation.java:100: > warning: unmappable character for encoding > > [A LOCALE problem?] Seems like a badly encoded 'smart quote'... I checked the file in my IDE, and noticed a similar substitution. I just replaced it with a regular apostrophe and committed the change: http://svn.apache.org/viewvc?rev=784924&view=rev > ... > > [javac] The system is out of resources. > [javac] Consult the following stack trace for details. > [javac] java.lang.OutOfMemoryError: Java heap space > > I have 4 Gb memory and see no use of swap! Well... The fact that your system has 4GB available does by no means guarantee that the JVM will use all of it, if it has to. Can you do anything to monitor the process closer? Regards Andreas --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscribe@... For additional commands, e-mail: fop-users-help@... |
|
|
Re: Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14)On Mon, Jun 15, 2009 at 14:22, Andreas
Delmelle<andreas.delmelle@...> wrote: > On 15 Jun 2009, at 02:18, Tom Browder wrote: ... > Seems like a badly encoded 'smart quote'... I checked the file in my IDE, > and noticed a similar substitution. I just replaced it with a regular > apostrophe and committed the change: > http://svn.apache.org/viewvc?rev=784924&view=rev I'll get that--thanks. > Well... The fact that your system has 4GB available does by no means > guarantee that the JVM will use all of it, if it has to. Can you do anything > to monitor the process closer? I'll try, but I have very little java experience (the only reason I'm doing this is because I need to see if trunk/fop can -pdf gnucash docbook xml docs, 0.95 can't; I don't know yet where that problem is--I'm just trying to narrow the problem). Regards, -Tom --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscribe@... For additional commands, e-mail: fop-users-help@... |
|
|
Re: Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14)Hi Tom,
I assumed you installed the standard Debian package that provides the Sun jdk, but if it is in /opt/sun/something this is probably not the case. Any reason why you would need your own Sun Java installation? Otherwise you can install the sun-java6-jdk package, and then you can choose your favourite jvm using the update-java-alternatives command. Also, you don’t need to set the JAVA_HOME and JAVABINDIR environment variables at all. I don’t know what the /usr/lib/jvm/.*.jinfo files are, but after years of working on Debian-based systems I’ve never felt the need to know :-) Make sure you are running the correct jvm by typing ‘javac -version’ on the terminal. Like Andreas said the jvm doesn’t usually use all the memory that’s available on your system. You can set the maximum amount of memory allocated to the jvm using the -Xmx parameter, but I’ve never had to do that for building FOP. I’d first check that you are running the right jvm, and then we can get back to how to use that switch later on. HTH, Vincent Tom Browder wrote: > On Mon, Jun 15, 2009 at 05:13, Vincent Hennebert<vhennebert@...> wrote: >> Hi Tom, >> >> I can build FOP without any problem on the same system (ok, jdk1.6.0_13 >> instead of jdk1.6.0_14 but that shouldn’t change anything really). >> >> Are you sure you are actually running the Sun jdk? This is the usual >> trap on Debian-based systems. Run ‘update-alternatives --display javac’ >> in a terminal. If it is not set to Sun’s jdk, you can set it like this: >> sudo update-java-alternatives -s java-6-sun > > That is all set now, but I still get the same errors. > > Any more ideas? > > Note that I cannot find directory "tools/com/sun/tools/javac" anywhere > on my system other than my build of the latest gcc. > > See this message: > > [javac] Consult the following stack trace for details. > [javac] java.lang.OutOfMemoryError: Java heap space > [javac] at > com.sun.tools.javac.comp.MemberEnter.visitVarDef(MemberEnter.java:609) > > Thanks, > > -Tom > > P.S. Would someone like a test docbook xml file to give fop -pdf a > good workout? > > --------------------------------------------------------------------- > To unsubscribe, e-mail: fop-users-unsubscribe@... > For additional commands, e-mail: fop-users-help@... > --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscribe@... For additional commands, e-mail: fop-users-help@... |
|
|
Re: Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14)On Tue, Jun 16, 2009 at 05:53, Vincent Hennebert<vhennebert@...> wrote:
> Hi Tom, > > I assumed you installed the standard Debian package that provides the > Sun jdk, but if it is in /opt/sun/something this is probably not the > case. Any reason why you would need your own Sun Java installation? I now have the debian jdk package installed, and it is apparently the right one, but I'm getting the same problems. > Also, you don’t need to set the JAVA_HOME and JAVABINDIR environment > variables at all. I'll unset them and see if that makes any difference. Note that over the years there have been different sets of instructions with every jvm and, for a non-java user, that has probably led to subtle system conflicts that may be cropping up now. > I don’t know what the /usr/lib/jvm/.*.jinfo files are, but after years > of working on Debian-based systems I’ve never felt the need to know :-) My thought was trying to shoehorn the other jdk into the same group. > Make sure you are running the correct jvm by typing ‘javac -version’ on > the terminal. Will do. Thanks, Vincent. --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscribe@... For additional commands, e-mail: fop-users-help@... |
|
|
Re: Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14)On 15 Jun 2009, at 15:44, Tom Browder wrote:
Hi Tom Just noticed this little comment: > P.S. Would someone like a test docbook xml file to give fop -pdf a > good workout? You're always welcome to send FO files you're having problems with. Note: we'd rather not get the source XML, since that is strictly speaking out of scope for FOP. You could perform the initial XSLT stage using xsltproc or any other XSLT processor, then send the resulting file. If the file is significantly large, please consider mailing it to us off-list or make it available otherwise, just to avoid bothering all list-subscribers with the attachment. As to your initial problem: like Vincent, I've never run into memory- related issues while /compiling/ FOP. I'd check (if possible) whether any restrictions are imposed at the level of the OS with respect to the maximum amount of memory any one process can consume at any given point. It may simply be that the JVM would expand the heap, but it cannot, since it is not allowed to do so... HTH! Andreas --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscribe@... For additional commands, e-mail: fop-users-help@... |
|
|
Re: Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14)On Tue, Jun 16, 2009 at 05:53, Vincent Hennebert<vhennebert@...> wrote:
> Hi Tom, ... > Make sure you are running the correct jvm by typing ‘javac -version’ on > the terminal. Okay, I still have the same problems with building from the trunk (r785169). I have downloaded fop-0.95 and have different problems: build and test errors. A quick look indicates I may be missing something or have a pre-req too old. I will have to investigate later. I will report back. -Tom --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscribe@... For additional commands, e-mail: fop-users-help@... |
|
|
Re: Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14)On Tue, Jun 16, 2009 at 06:53, Andreas
Delmelle<andreas.delmelle@...> wrote: > On 15 Jun 2009, at 15:44, Tom Browder wrote: ... > You're always welcome to send FO files you're having problems with. Note: > we'd rather not get the source XML, since that is strictly speaking out of > scope for FOP. You could perform the initial XSLT stage using xsltproc or > any other XSLT processor, then send the resulting file. > If the file is significantly large, please consider mailing it to us > off-list or make it available otherwise, just to avoid bothering all > list-subscribers with the attachment. Great, I'll do that. If it's large, how about a zipped attachment? If off-list, to whom? -Tom --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscribe@... For additional commands, e-mail: fop-users-help@... |
|
|
Re: Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14)On 16 Jun 2009, at 14:00, Tom Browder wrote:
Hi Tom > On Tue, Jun 16, 2009 at 06:53, Andreas > Delmelle<andreas.delmelle@...> wrote: >> On 15 Jun 2009, at 15:44, Tom Browder wrote: > ... >> You're always welcome to send FO files you're having problems with. >> Note: >> we'd rather not get the source XML, since that is strictly speaking >> out of >> scope for FOP. You could perform the initial XSLT stage using >> xsltproc or >> any other XSLT processor, then send the resulting file. >> If the file is significantly large, please consider mailing it to us >> off-list or make it available otherwise, just to avoid bothering all >> list-subscribers with the attachment. > > Great, I'll do that. If it's large, how about a zipped attachment? > If off-list, to whom? You can send it to me (since I was the one who proposed to do so) Regards Andreas Andreas Delmelle e-mail: andreas.delmelle.AT.telenet.be Skype: adlm0608 Jabber: mandreas@... --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscribe@... For additional commands, e-mail: fop-users-help@... |
|
|
Re: Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14)On Tue, Jun 16, 2009 at 07:13, Andreas
Delmelle<andreas.delmelle@...> wrote: ... > You can send it to me (since I was the one who proposed to do so) Coming at you shortly, Andreas,... -Tom --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscribe@... For additional commands, e-mail: fop-users-help@... |
|
|
Re: Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14)On Tue, Jun 16, 2009 at 07:13, Andreas
Delmelle<andreas.delmelle@...> wrote: > On 16 Jun 2009, at 14:00, Tom Browder wrote: ... >>> You're always welcome to send FO files you're having problems with. Note: >>> we'd rather not get the source XML, since that is strictly speaking out Well, I just tried to make the gnucash guide (from trunk) in pdf and it worked. However, there are some notes and warnings about features not implemented, etc. So it may make a good test case if you're still interested. -Tom --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscribe@... For additional commands, e-mail: fop-users-help@... |
|
|
Re: Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14)On 16.06.2009 13:53, Andreas Delmelle wrote:
> As to your initial problem: like Vincent, I've never run into > memory-related issues while /compiling/ FOP. I had difficulties running the JUnit-Tests included in the default ant target, and I always run out of memory while building javadocs on debian-amd64 using any sun jdk I tried. Gcj was worse, it usually failed already at the codegen target with rather strange errors (e.g. "illegal character in XML file" WTF?) Maybe this is fixed now, I haven't tried for a year or so. I never had this kind of problems while building FOP on Windows. J.Pietschmann --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscribe@... For additional commands, e-mail: fop-users-help@... |
|
|
Re: Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14)On Tue, Jun 16, 2009 at 15:08, J.Pietschmann<j3322ptm@...> wrote:
> On 16.06.2009 13:53, Andreas Delmelle wrote: >> >> As to your initial problem: like Vincent, I've never run into >> memory-related issues while /compiling/ FOP. > > I had difficulties running the JUnit-Tests included in the > default ant target, and I always run out of memory while > building javadocs on debian-amd64 using any sun jdk I tried. > Gcj was worse, it usually failed already at the codegen target > with rather strange errors (e.g. "illegal character in XML > file" WTF?) Maybe this is fixed now, I haven't tried for a > year or so. > I never had this kind of problems while building FOP on > Windows. I'm still having heap space problems running fop on Ubunto 9.04.. Anyone have any ideas about what to do next? Thanks. -Tom Tom Browder Niceville, Florida USA --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscribe@... For additional commands, e-mail: fop-users-help@... |
|
|
Re: Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14)On 20 Jun 2009, at 02:19, Tom Browder wrote:
Hi Tom > <snip /> > I'm still having heap space problems running fop on Ubunto 9.04.. > Anyone have any ideas about what to do next? Am I getting this correctly? You managed to build FOP, but now have memory issues while formatting a document? If so, we have a number of things to look out for: http://xmlgraphics.apache.org/fop/0.95/running.html#memory Regards Andreas --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscribe@... For additional commands, e-mail: fop-users-help@... |
|
|
Re: Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14)On Sat, Jun 20, 2009 at 02:20, Andreas Delmelle
<andreas.delmelle@...> wrote: ... > Am I getting this correctly? You managed to build FOP, but now have memory issues while > formatting a document? Yes, Andreas, I can build fop 0.95 (but with test failures, missing fonts primarily). I get heap space errors when trying to create a complex pdf document. I will try the memory option to see what that does. Regards, -Tom --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscribe@... For additional commands, e-mail: fop-users-help@... |
| Free embeddable forum powered by Nabble | Forum Help |