Does Jaxcent work with OpenJDK?

11 views
Skip to first unread message

sgsk

unread,
Jul 16, 2010, 2:17:44 AM7/16/10
to Jaxcent
Hi,

I've downloaded today and am trying to install Jaxcent onto CentOS 5.4
with OpenJDK:

java version "1.6.0_0"
OpenJDK Runtime Environment (IcedTea6 1.6) (rhel-1.11.b16.el5-i386)
OpenJDK Client VM (build 14.0-b16, mixed mode)

It behaves very weird though :(

jaxcent.conf:
=====================================
LoadModule jaxcent_module modules/mod_jaxcent.so

<Location /servlet/JaxcentServlet21>
SetHandler jaxcent-handler
</Location>

<IfModule jaxcent_module>
JVM /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/
client/libjvm.so
classpath /var/www/jaxcent/jaxcentFramework21.jar:/var/www/
jaxcent/jaxcent21.jar
JaxcentConfigXML /var/www/jaxcent/samples/
JaxcentSampleConfig.xml
LogFile /var/www/jaxcent/log/ApacheLog.txt
ReloadableClasses /var/www/jaxcent/samples
</IfModule>
=====================================


JaxcentServlet21 output:
=====================================
Jaxcent Servlet, Copyright (C) Desiderata Software 2008

The Jaxcent servlet is configured ok.
Reloadable Classpath: /var/www/jaxcent/samples
Configuration XML File: /var/www/jaxcent/samples/
JaxcentSampleConfig.xml
Refresh Configuration XML File: true

Current URL Map
===============

/samples/ClickMeSample.html sample.ClickMeSample
/samples/HelloWorldSample.html sample.HelloWorldSample
/samples/form/NameAddress.html
samples.JaxcentPage auto-session-data
**** Could not load configured class "samples.JaxcentPage":
java.lang.ClassNotFoundException: samples.JaxcentPage ****
/samples/clockImageSample.html sample.ClockImageSample
/samples/form/Payment.html
samples.JaxcentPage auto-session-data
**** Could not load configured class "samples.JaxcentPage":
java.lang.ClassNotFoundException: samples.JaxcentPage ****
/samples/form/Results.html
sample.form.Results auto-session-data
/samples/ImageDrawSample2.html sample.ImageDrawSample2
/samples/ChatSample2.html sample.ChatSample2
/samples/UploadSample.html sample.UploadSample
/samples/TableSample2.html sample.TableSample2
/samples/YuiTreeSample.html
sample.yuitree.YuiTreeSample
/samples/ChatSample.html sample.ChatSample
/samples/form/ShoppingCart.html
sample.form.ShoppingCart auto-session-data
/samples/form/Summary.html
sample.form.Summary auto-session-data
/samples/TableSample.html sample.TableSample
/samples/WidgetsSample.html sample.WidgetsSample
/samples/form/ShippingAddress.html
sample.form.ShippingAddress auto-session-data
/samples/clockSample.html sample.ClockSample
/samples/ImageDrawSample.html sample.ImageDrawSample
/samples/menu/ sample.MenuSample
/samples/menu/index.html sample.MenuSample
/samples/DragDropSample.html sample.DragDropSample
============================

Looks almost good, except that sample.JaxcentPage is missing (and it
is missing in the downloaded package!)

But no sample work properly... :( ClockSample.html for example,
refreshes the clock anywhere between 2 and 5 sec. and dies eventually
without any messages.

HelloWorldSample.html doesn't work at all (sometimes prints Hello
World once, never does any animations)

etc.

Everything works good on a Windows machine with the integrated web-
server.

I've already recompiled mod_jaxcent.so with the jvm I have. No errors,
only one warning:
mod_jaxcent.cpp:160: warning: jaxcent_module initialized and declared
extern


Any ideas?

Reply all
Reply to author
Forward
0 new messages