headless mode available?
Hello: Is it possible with latest classpath libs to use graphic/image APIs in headless mode?. I would like to run some JFreeChart based code on a text-mode server (shared XOrg libraries are installed). If possitive, are there any special flags when building classpath libs that enable this? Thanks a lot, Martin -- Dinamica - RADical J2EE framework open source, easy and powerful http://www.martincordova.com
Re: 0.19 release meeting - Wed Oct 19 21:00 UTC
Hi think that it would be great if the graphics stuff gets enhanced for the november release, in particular the libraries required to make headless graphics work (for servlet based apps that use JFreeChart and similar components). This is the only thing that is not working in my test while porting Winstone servlet engine and demo webapp from IBM's JDK to JamVM + Classpath. Most typical web tasks are working fine, although I have not tested JSSE support yet. I can't collaborate writing C code, but I can provide a test environment, as I did to uncover some bugs in the java.net APIs a few weeks ago, which by the way were solved very quickly, thank you and congratulations! Regards, Martin Cordova On 10/18/05, Mark Wielaard [EMAIL PROTECTED] wrote: Hi all, We wanted to have a release the first week of November. So I thought it would be a good idea to send a reminder that people should see what the want to get in before that, and what they want to see tested so they feel confident that 0.19 will be a great developer snapshot worthy of incorporation into gcc and kaffe as soon as it is released early November. If people want we can discuss the open items tomorrow Wednesday October 19 at 21:00 UTC in #classpath on irc.gnu.org. That is 23:00 in Amsterdam, 22:00 in Londen and 5:00 PM in Boston. More times at: http://www.timeanddate.com/worldclock/fixedtime.html?year=2005month=10day=19hour=21min=0sec=0 But feel free to just reply to this email with suggestions and ideas if you cannot make it to the meeting. We will make sure to post a summary of anything discussed to the list also. Cheers, Mark -- Escape the Java Trap with GNU Classpath! http://www.gnu.org/philosophy/java-trap.html Join the community at http://planet.classpath.org/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQBDVS1sxVhZCJWr9QwRArtWAJkBWUWHg+0lNEjo8MzlbYwRfqIV2ACdFMed YSkb8I2VWUJMC9V+Dch1HGI= =aqpq -END PGP SIGNATURE- ___ Classpath mailing list Classpath@gnu.org http://lists.gnu.org/mailman/listinfo/classpath -- Dinamica - Open source J2EE framework Free, easy and powerful http://www.martincordova.com ___ Classpath mailing list Classpath@gnu.org http://lists.gnu.org/mailman/listinfo/classpath
ServerSocket.getLocalPort possible bug...
Hello: While testing Winstone servlet engine (winstone.sourceforge.net) on JamVM 1.3.3 with Classpath 0.18, I found a possible bug: getLocalPort returns -1 when it should return 80. In fact the same program on the same box, when running with Sun or IBM JVM works fine. So I suspect it may be a problem in ServerSocket implementation. Winstone's author explained to me the following: I know what this is - it's because socket.getLocalPort() returns -1. I hit this when I was trying to run winstone on GCJ too, about 12 months ago, but didn't report it. The listener code does: req.setServerPort(socket.getLocalPort()); I observed this bug when navigating to http://mylinuxBox from a remote windows box using IE6, IE complained about no response. I found in the servlet logs the following: Headers prepared for writing: [Location: http://192.168.1.1:-1/index.htm Which means that a redirect from root context to the welcome page was being sent to the browser, but the -1 port troubled IE6. Hope it helps. Regards, Martin -- Dinamica - Open source J2EE framework Free, easy and powerful http://www.martincordova.com ___ Classpath mailing list Classpath@gnu.org http://lists.gnu.org/mailman/listinfo/classpath
Using headless awt...
Hello, I am using JamVM with Classpath 0.18 I wonder if it is possible to use the system property: -Djava-awt.headless=true in order to create server-side graphics from servlets running on Linux with X common libs installed, but without a graphics environment. I am not able to test it myself a this moment, but previous tests with 0.17 generated exceptions. That's why I am asking. Thanks, Martin -- Dinamica - Open source J2EE framework Free, easy and powerful http://www.martincordova.com ___ Classpath mailing list Classpath@gnu.org http://lists.gnu.org/mailman/listinfo/classpath