SableVM on SuSE 9.2 + Resin servlet engine...
Martin Cordova <[email protected]> Tue, 2 Aug 2005 10:01:42 -0400
| Newsgroups | gmane.comp.java.vm.sablevm.general |
|---|---|
| Message-ID | <[email protected]> |
Dear Sirs: First of all, I would like to contratulate the authors of this titanic effort, I was very impressed when Resin, which is a complex application, started. I just compiled SableVM + Classpath (v1.12) on SuSE Pro v9.2, my intention is to run Resin servlet engine v2.1.16, which at first sight worked fine, using a test webapp that uses several APIs like JDBC, JNDI. XML, etc. Since I am new to the building-from-sources game, I have a few questions about it: My java server does use the flag: "-Djava.awt.headless=true" because my linux server runs without a graphics environment. I just have to make sure that X11 shared libraries (XOrg in SuSE 9.2) are present in the system, no need to start a graphics server. This works fine with IBM JDK 1.4.2, Sun's and Blackdown equivalent. GTK stuff was the thing that caused me more trouble when compiling SableVM, I finally found a flag to disable it (--disable-gtk-peer or something like that) and also pointed "configure" to the location of the X11 shared libraries. I was able to complete the build process of the JVM, but the graphics services in my server-side application were not working, aparently, the "-Djava.awt.headless=true" property had no effect. So my questions are: 1.- What flags should be passed to "configure" in order to create a JVM that can work in a headless environment. 2.- How does the JVM consume RAM, if the option -Xmx is not supported? 3.- Is it possible to compile a JVM that takes advantage of Linux kernel 2.6 features like NTPL threads? 4.- Is there JSSE/JCE support? 5.- I cannot see any of the regular properties files (for jaxp, security providers, Java Log API, etc) that are normally located under /jre/... Are they contained in a JAR? BTW: On SuSE 9.2 the directory /usr/local/lib must be included in LD_LIBRARY_PATH, otherwise the SableVM complains about not finding some "*.so" file. Does someone have a SuSE RPM to install the binaries of the Sable SDK v1.12?? Best regards, Martin -- Dinamica - Open source J2EE framework Free, easy and powerful http://www.martincordova.com