Hi, there are two problems with JDK 1.4.x:
First, you have to copy the versions of Xalan and Xerces provided with Cocoon to the endorsed directory of your JDK as explained in the installation guide of Cocoon. Second, you have to turn of xsltc! Change the setting in the main sitemap for the default transformer and turn off xsltc and then the portal should work. HTH Carsten -----Original Message----- From: Gulatee, Eric [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 14, 2003 7:24 PM To: '[EMAIL PROTECTED]' Subject: Cocoon Portal Framework Question Hi, A newbee question. I've never been able to get cocoon's portal framework to function. [The one with portlets etc] I've been updating and building from time to time... build clean build -Dinclude.webapp.libs=true -Dinclude.scratchpad.libs=true webapp Then I copy the war into JBoss's deploy directory. Environment: JAVA: java version "1.4.1_01" COCOON: cocoon 2.1 dev latest CVS APPSERVER: jboss-3.0.4_tomcat-4.1.12 Error: I can see the login page however I get the following XSLTC error when I try to login. 13:23:36,234 ERROR [Engine] ----- Root Cause ----- java.lang.ClassFormatError: Invalid method signature: org/apache/xalan/xsltc/Tra nsletOutputHandler;)V at org.apache.bcel.classfile.Utility.typeOfSignature(Utility.java:1019) at org.apache.bcel.generic.Type.getType(Type.java:159) at org.apache.bcel.generic.Type.getArgumentTypes(Type.java:221) at org.apache.bcel.generic.InvokeInstruction.consumeStack(InvokeInstruct ion.java:99) at org.apache.bcel.generic.MethodGen.getMaxStack(MethodGen.java:824) at org.apache.bcel.generic.MethodGen.setMaxStack(MethodGen.java:717) at org.apache.xalan.xsltc.compiler.Mode.compileApplyTemplates(Mode.java: 1047) at org.apache.xalan.xsltc.compiler.Stylesheet.compileModes(Stylesheet.ja va:447) at org.apache.xalan.xsltc.compiler.Stylesheet.translate(Stylesheet.java: 548) at org.apache.xalan.xsltc.trax.TemplatesHandlerImpl.getTemplates(Templat esHandlerImpl.java:206) at org.apache.avalon.excalibur.xml.xslt.XSLTProcessorImpl.getTransformer HandlerAndValidity(XSLTProcessorImpl.java:235) at org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransforme r.java:341) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setu pPipeline(AbstractProcessingPipeline.java:391) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingP ipeline.setupPipeline(AbstractCachingProcessingPipeline.java:538) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.prep arePipeline(AbstractProcessingPipeline.java:497) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.proc ess(AbstractProcessingPipeline.java:463) at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invo ke(SerializeNode.java:148) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo de.invokeNodes(AbstractParentProcessingNode.java:84) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNod e.invoke(PreparableMatchNode.java:164) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo de.invokeNodes(AbstractParentProcessingNode.java:84) at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke (ActTypeNode.java:158) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo de.invokeNodes(AbstractParentProcessingNode.java:84) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNod e.invoke(PreparableMatchNode.java:164) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo de.invokeNodes(AbstractParentProcessingNode.java:108) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invok e(PipelineNode.java:153) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo de.invokeNodes(AbstractParentProcessingNode.java:108) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invo ke(PipelinesNode.java:143) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(Tree Processor.java:317) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(Tree Processor.java:299) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(M ountNode.java:134) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo de.invokeNodes(AbstractParentProcessingNode.java:84) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNod e.invoke(PreparableMatchNode.java:164) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo de.invokeNodes(AbstractParentProcessingNode.java:108) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invok e(PipelineNode.java:153) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo de.invokeNodes(AbstractParentProcessingNode.java:108) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invo ke(PipelinesNode.java:143) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(Tree Processor.java:317) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(Tree Processor.java:299) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(M ountNode.java:134) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo de.invokeNodes(AbstractParentProcessingNode.java:84) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNod e.invoke(PreparableMatchNode.java:164) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo de.invokeNodes(AbstractParentProcessingNode.java:108) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invok e(PipelineNode.java:153) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo de.invokeNodes(AbstractParentProcessingNode.java:108) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invo ke(PipelinesNode.java:143) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(Tree Processor.java:317) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(Tree Processor.java:299) at org.apache.cocoon.Cocoon.process(Cocoon.java:600) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:11 04) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java:260) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve .java:246) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java: 2396) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche rValve.java:170) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java: 469) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcesso r.java:1040) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.ja va:1151) --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>