cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@infoplanning.com>
Subject Re: WebLogic 5.1 / Cocoon 1.7.3 / XSP error almost fixed but still one problem...
Date Fri, 12 May 2000 20:13:43 GMT
I think you have a typo.
Look very carefully at your CLASSPATH entries.  For Xerces/Xalan/
etc., the pattern is j:\cocoon-1.7.3\lib\package.jar--but for FOP
you have the following:
j:\cocoon-1.7.3\libfop_0_12_1.jar

Did you catch that?  Make sure the path separator is between lib
and the name of the package.

Pat Laplante wrote:

> Still doesn't work...
> Here is the output of my wlconfig which specify all my classpath...
> WebLogic startup settings are presently:
>
> CLASSPATH Prefix     j:\cocoon-1.7.3\lib\xerces_1_0_3.jar;j:\cocoon-1.7.3\libfop_0_12_1.jar;j:\cocoon-1.7.3\bin\cocoon.jar;J:\jdk1.2.
2\lib\tools.jar;J:\Cocoon-1.7.3\lib\servlet_2_2.jar
> CLASSPATH            j:\cocoon-1.7.3\lib\xerces_1_0_3.jar;j:\cocoon-1.7.3\libfop_0_12_1.jar;j:\cocoon-1.7.3\bin\cocoon.jar;J:\jdk1.2.
2\lib\tools.jar;J:\Cocoon-1.7.3\lib\servlet_2_2.jar;j:\jdk1.2.2\lib\tools.jar;j:\jdk1.2.2\jre\lib\rt.jar;j:\jdk1
.2.2\jre\lib\i18n.jar;J:\weblogic\license;j:\weblogic\classes\boot;j:\weblogic\classes;j:\weblogic\lib\weblogica
ux.jar;j:\weblogic\eval\cloudscape\lib\cloudscape.jar
> JAVA_HOME           j:\jdk1.2.2
> WEBLOGIC_LICENSEDIR J:\weblogic\license
> WEBLOGIC_HOME       j:\weblogic
> system properties:
>                     java.security.manager
>                     java.security.policy==J:\weblogic\weblogic.policy
>                     weblogic.system.home=J:\weblogic
>                     java.compiler=symcjit
>                      weblogic.class.path=J:\cocoon-1.7.3\bin\cocoon.jar;J:\weblogic\license;J:\weblogic\classes;J:\weblogic\myserver\
serverclasses;J:\weblogic\lib\weblogicaux.jar;J:\weblogic;J:\jdk1.2.2\lib\tools.jar
> INITIAL_HEAP        64 MB
> MAX_HEAP            64 MB
> SERVERCLASSPATH      j:\cocoon-1.7.3\lib\xerces_1_0_3.jar;j:\cocoon-1.7.3\libfop_0_12_1.jar;j:\cocoon-1.7.3\bin\cocoon.jar;J:\jdk1.2.
2\lib\tools.jar;J:\Cocoon-1.7.3\lib\servlet_2_2.jar;j:\jdk1.2.2\jre\lib\rt.jar;j:\jdk1.2.2\jre\lib\i18n.jar;j:\w
eblogic\classes\boot;j:\weblogic\eval\cloudscape\lib\cloudscape.jar
>
> Type "wlconfig -help" for program usage.
>
> -----Original Message-----
> From: Berin Loritsch [mailto:bloritsch@infoplanning.com]
> Sent: Friday, May 12, 2000 3:51 PM
> To: cocoon-dev@xml.apache.org
> Subject: Re: WebLogic 5.1 / Cocoon 1.7.3 / XSP error almost fixed but
> still one problem...
>
> Is FOP_0_12_1.jar in your SERVERCLASSPATH?  It looks like it may
> not be.  That is where the org.apache.fop.* classes are located.
>
> BTW, We just did a test report using the FOP product--very cool, but
> hard to wrap your head around.
>
> Pat Laplante wrote:
>
> > Ok... I finally understand the classpath stuff.  The reason why I was having
> > the following error:
> > java.lang.Exception: XSP Java Compiler: Compilation failed for _test.java
> > 6: Package org.w3c.dom not found in import.
> >
> >      import org.w3c.dom.*;
> >
> >             ^
> >
> > was because my SERVERCLASSPATH in weblogic was not set properly...
> >
> > I am pass that error and now I got this one (below the line) which I have no
> > clue how to solve.
> > It seems to be unable to find the FO2PDFFormatter, but I have checked in
> > cocoon.jar and it is there.
> > And cocoon.jar is in my serverclasspath.  THe thing I don't quite understand
> > is that (org/apache/fop/apps/version)  what the hell is that??
> >
> > Any Clues... Someone...
> > Pat
> >
> > ____________________________________________________
> >
> > Cocoon 1.7.3
> >
> > Publishing Engine could not be initialized.
> > java.lang.RuntimeException: Error creating
> > org.apache.cocoon.formatter.FO2PDFFormatter: make sure the needed classes
> > can be found in the classpath (org/apache/fop/apps/Version)
> >         at org.apache.cocoon.framework.Manager.create(Manager.java:114)
> >         at org.apache.cocoon.framework.Router.init(Router.java, Compiled Code)
> >         at org.apache.cocoon.framework.Manager.create(Manager.java:101)
> >         at org.apache.cocoon.Engine.(Engine.java:171)
> >         at org.apache.cocoon.Engine.getInstance(Engine.java:201)
> >         at org.apache.cocoon.Cocoon.init(Cocoon.java:140)
> >         at
> > weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java
> > :390)
> >         at
> > weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.ja
> > va, Compiled Code)
> >         at
> > weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.jav
> > a:338)
> >         at
> > weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:16
> > 4)
> >         at
> > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
> > :99)
> >         at
> > weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
> > l.java:742)
> >         at
> > weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
> > l.java:686)
> >         at
> > weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
> > Manager.java:247)
> >         at
> > weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:361)
> >         at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
> >         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
> >
> > Warning: this page has been dynamically generated.
> >
> > Copyright (c) 1999-2000 The Apache XML Project.
> > All rights reserved.


Mime
View raw message