Hi,

I got my complete application running with winstone running in java. Now I tried to compile winstone as native executable on debian sarge.

 

I downloaded crimson from web and current winstone from cvs and tried to “make” it. But I failed with crimson-1.1.3 and crimson-1.1.2beta with the following exception:

 

gatekeeper:~/temp/gcj/net.wunstorf.rz.donald.winstone/development# make

gcj -ffast-math -funroll-loops -o winstone_lite.o --classpath=./src:./crimson-src -c ./src/winstone/*.java

gcj -ffast-math -funroll-loops -o winstone_res1.o --resource=winstone/LocalStrings.properties -c ./src/winstone/LocalStrings.properties

gcj -ffast-math -funroll-loops -o winstone_ajp.o --classpath=./src:./crimson-src -c ./src/winstone/ajp13/*.java

gcj -ffast-math -funroll-loops -o winstone_ajp_res1.o --resource=winstone/ajp13/LocalStrings.properties -c ./src/winstone/ajp13/LocalStrings.properties

gcj -ffast-math -funroll-loops -o winstone_auth.o --classpath=./src:./crimson-src -c ./src/winstone/auth/*.java

gcj -ffast-math -funroll-loops -o winstone_realm.o --classpath=./src:./crimson-src -c ./src/winstone/realm/*.java

gcj -ffast-math -funroll-loops -o winstone_auth_res1.o --resource=winstone/auth/LocalStrings.properties -c ./src/winstone/auth/LocalStrings.properties

gcj -ffast-math -funroll-loops -o winstone_realm_res1.o --resource=winstone/realm/LocalStrings.properties -c ./src/winstone/realm/LocalStrings.properties

gcj -ffast-math -funroll-loops -o winstone_cluster.o --classpath=./src:./crimson-src -c ./src/winstone/cluster/*.java

gcj -ffast-math -funroll-loops -o winstone_cluster_res1.o --resource=winstone/cluster/LocalStrings.properties -c ./src/winstone/cluster/LocalStrings.properties

gcj -ffast-math -funroll-loops -o winstone_jndi.o --classpath=./src:./crimson-src -c \

                 ./src/winstone/jndi/*.java \

                 ./src/winstone/jndi/java/*.java \

                 ./src/winstone/jndi/resourceFactories/*.java

gcj -ffast-math -funroll-loops -o winstone_jndi_res1.o --resource=winstone/jndi/LocalStrings.properties -c ./src/winstone/jndi/LocalStrings.properties

gcj -ffast-math -funroll-loops -o winstone_jndi_res2.o --resource=jndi.properties -c ./src/jndi.properties

gcj -ffast-math -funroll-loops -o winstone_classloader.o --classpath=./src:./crimson-src -c ./src/winstone/classLoader/*.java

gcj -ffast-math -funroll-loops -o winstone_classloader_res1.o --resource=winstone/classLoader/LocalStrings.properties -c ./src/winstone/classLoader/LocalStrings.properties

gcj -ffast-math -funroll-loops -o servlet.o --classpath=./src -c ./src/javax/servlet/*.java ./src/javax/servlet/http/*.java

gcj -ffast-math -funroll-loops -o servlet_res1.o --resource=javax/servlet/resources/web-app_2_2.dtd -c ./src/javax/servlet/resources/web-app_2_2.dtd

gcj -ffast-math -funroll-loops -o servlet_res2.o --resource=javax/servlet/resources/web-app_2_3.dtd -c ./src/javax/servlet/resources/web-app_2_3.dtd

gcj -ffast-math -funroll-loops -o crimson.o --classpath=./crimson-src -c ./crimson-src/org/apache/crimson/*/*.java

./crimson-src/org/apache/crimson/tree/ParentNode.java: In class `org.apache.crimson.tree.ParentNode':

./crimson-src/org/apache/crimson/tree/ParentNode.java: In method `org.apache.crimson.tree.ParentNode.writeChildrenXml(org.apache.crimson.tree.XmlWriteContext)':

./crimson-src/org/apache/crimson/tree/ParentNode.java:148: error: No method named `getNodeType' in scope.

        if (getNodeType () == ELEMENT_NODE) {

               ^

1 error

make: *** [crimson.o] Error 1

 

 

Which version of crimson did you se for your try or should I better use xerces?

 

 

 

Looking forward to get your answer

 

Oliver