In cocoon.xconf what do I need in this element to use WebSphere?

<java-language logger="core.language.java" name="java">
      <!-- Specifies which formatter to use to format source code.
           This parameter is optional.
           It is commented out because of bug #5689: Java "code-formatter"
incorrectly formats double values
      <parameter name="code-formatter"          value
="org.apache.cocoon.components.language.programming.java.JstyleFormatter"/>
      -->
      <!-- A singleton-like implementation of a ClassLoader -->
      <parameter name="class-loader" value
="org.apache.cocoon.components.classloader.ClassLoaderManagerImpl"/>

      <!-- Compiler parameter specifies which class to use to compile Java.
           Possible variants are:
             Javac. Requires javac.jar (included with JDK as
lib/toools.jar).
             Pizza. Requires pizza.jar (included with Cocoon distribution).
             Jikes. Requires IBM jikes compiler to be present in the PATH
-->
      <parameter name="compiler" value
="org.apache.cocoon.components.language.programming.java.Pizza"/>
</java-language>

-Adam


                                                                                       
                                                
                      Adam_Waldal@eFund                                                
                                                
                      s.com                    To:       [EMAIL PROTECTED]   
                                                
                                               cc:                                     
                                                
                      06/07/02 02:04 PM        Subject:  Implementing in WebSphere, 
suddenly hungary!                                  
                      Please respond to                                                
                                                
                      cocoon-users                                                     
                                                
                                                                                       
                                                
                                                                                       
                                                




Group,

Has anyone implemented Cocoon in WAS 4.0.2 or WSAD 4.0.2?

I need to get an architectural spike( proof of concept ) working by Wed. (
D-day )

We are trying to make framework decisions and I need to have a strong case
built for using Cocoon for replacement for two xml based product's web
front-end.

I am running into an Internal Error in the init().

Has anyone gone through this that could help me with configuration on
WebSphere.

The basics on the Website are too basic.  I need someone that has done this
before.

I built the WAR with the build xml successfully.  Installed to WSAD and
created an EAR,
but when I published to the WebSphere 4.0 Test Environment  and run the
CocoonServlet I get the following Stack: ( Do I need the pizza compiler, if
so why? )

Stack Trace
java.lang.NullPointerException
             at net.sf.pizzacompiler.compiler.Namer.findAbstractMethod(C:
\pizza\main\src\net\sf\pizzacompiler\compiler\Namer.pizza:221)
             at net.sf.pizzacompiler.compiler.Namer.findAbstractMethod(C:
\pizza\main\src\net\sf\pizzacompiler\compiler\Namer.pizza:232)
             at net.sf.pizzacompiler.compiler.Namer.findMethod(C:
\pizza\main\src\net\sf\pizzacompiler\compiler\Namer.pizza:298)
             at
net.sf.pizzacompiler.compiler.Namer.resolveSelectFromType(C:
\pizza\main\src\net\sf\pizzacompiler\compiler\Namer.pizza:648)
             at net.sf.pizzacompiler.compiler.Attr.attribSelect(C:
\pizza\main\src\net\sf\pizzacompiler\compiler\Attr.pizza:1572)
             at net.sf.pizzacompiler.compiler.Attr.attribExpr(C:
\pizza\main\src\net\sf\pizzacompiler\compiler\Attr.pizza:1359)
             at net.sf.pizzacompiler.compiler.Attr.attribExpr(C:
\pizza\main\src\net\sf\pizzacompiler\compiler\Attr.pizza:1113)
             at net.sf.pizzacompiler.compiler.Attr.attribStat(C:
\pizza\main\src\net\sf\pizzacompiler\compiler\Attr.pizza:714)
             at net.sf.pizzacompiler.compiler.Attr.attribStats(C:
\pizza\main\src\net\sf\pizzacompiler\compiler\Attr.pizza:750)
             at net.sf.pizzacompiler.compiler.Attr.attribStat(C:
\pizza\main\src\net\sf\pizzacompiler\compiler\Attr.pizza:550)
             at net.sf.pizzacompiler.compiler.Attr.attribStat(C:
\pizza\main\src\net\sf\pizzacompiler\compiler\Attr.pizza:673)
             at net.sf.pizzacompiler.compiler.Attr.attribStats(C:
\pizza\main\src\net\sf\pizzacompiler\compiler\Attr.pizza:750)
             at net.sf.pizzacompiler.compiler.Attr.attribDef(C:
\pizza\main\src\net\sf\pizzacompiler\compiler\Attr.pizza:472)
             at net.sf.pizzacompiler.compiler.Attr.attribDef(C:
\pizza\main\src\net\sf\pizzacompiler\compiler\Attr.pizza:424)
             at net.sf.pizzacompiler.compiler.Attr.attribute(C:
\pizza\main\src\net\sf\pizzacompiler\compiler\Attr.pizza:355)
             at net.sf.pizzacompiler.compiler.Main.process(C:
\pizza\main\src\net\sf\pizzacompiler\compiler\Main.pizza:228)
             at net.sf.pizzacompiler.compiler.Main.compile(C:
\pizza\main\src\net\sf\pizzacompiler\compiler\Main.pizza:309)
             at
org.apache.cocoon.components.language.programming.java.Pizza.compile(Pizza.java:114)


             at
org.apache.cocoon.components.language.programming.java.JavaLanguage.compile(JavaLanguage.java:225)


             at
org.apache.cocoon.components.language.programming.CompiledProgrammingLanguage.load(CompiledProgrammingLanguage.java:197)


             at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generateResource(ProgramGeneratorImpl.java:383)


             at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createResource(ProgramGeneratorImpl.java:328)


             at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:291)


             at org.apache.cocoon.sitemap.Handler.run(Handler.java:270)
             at java.lang.Thread.run(Thread.java:498)

Thanks,
Adam





---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>







---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to