hi!

i solved my problem!

i updated from JDK1.3.0 to JDK1.3.1 and
everything works fine.


mfg, chris

-----Original Message-----
From: Christoph Stocker [mailto:[EMAIL PROTECTED]] 
Sent: Donnerstag, 06. Juni 2002 07:27
To: [EMAIL PROTECTED]
Subject: Error compiling sitemap_xmap (please help)


hi!

(sorry for writting again, but i am despaired)!
i didn't found a solution (that's working) in the mail-archive - please
help

we work on a project for the TELEKOM AUSTRIA. the first time we
implement our project was on weblogic6.0sp2, cocoon2.0.2 and WindowsNT.
and everything seemed to working fine.


now we wanted to test the web-application on a hp-unix with the same
environment (weblogic6.02, cocoon2.0.2). but it seems, that it's not
working... now, i am just before to give it up

the following steps i made:

1.step: i downloaded the binary (cocoon2.0.2) for unix form the
  apache-site. i unziped the file on my WinNT machine.

2.step: i got the files from the cocoon.war and unziped them into
  a diroctory called "cocoon" (this i have done on my WinNT-machine -
because
  i don't know the command to unzip a *.war-file).

3.step: i copied the cocoon-directory on the hp-unix machine into the
directory
  directory-to-weblogic/config/mydomain/application

4.step: i did the setting for "Headless UNIX and PJA" described in the
  cocoon-install-manual

5.step: i did the entry in the "config.xml" and set the classpath for
the files
  "xercesImpl-2.0.0.jar" and "xml-apis.jar" which are in the WEB-INF/lib
directory in the
  cocoon-directory.

6.step: i start the startWebLogic.sh (server is running on port 8001 for
http and port 8002 for https).


i always get this error-message (on the URL
http://IP-AdressForHPUnix:8001/cocoon) i don't understand -->

Cocoon 2 - Internal server error

type fatal

message Language Exception

description org.apache.cocoon.ProcessingException: Language Exception:
org.apache.cocoon.components.language.LanguageException: Error compiling
sitemap_xmap: Line 0, column 0: error: java.io.IOException: read error 1
error 

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet

stack-trace
org.apache.cocoon.ProcessingException: Language Exception:
org.apache.cocoon.components.language.LanguageException: Error compiling
sitemap_xmap:
Line 0, column 0: 
error: java.io.IOException: read error
1 error

        at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.cre
ateResource(ProgramGeneratorImpl.java:335)
        at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa
d(ProgramGeneratorImpl.java:291)
        at org.apache.cocoon.sitemap.Handler.run(Handler.java:270)
        at java.lang.Thread.run(Unknown Source)
org.apache.cocoon.components.language.LanguageException: Error compiling
sitemap_xmap:
Line 0, column 0: 
error: java.io.IOException: read error
1 error

        at
org.apache.cocoon.components.language.programming.java.JavaLanguage.comp
ile(JavaLanguage.java:243)
        at
org.apache.cocoon.components.language.programming.CompiledProgrammingLan
guage.load(CompiledProgrammingLanguage.java:197)
        at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.gen
erateResource(ProgramGeneratorImpl.java:383)
        at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.cre
ateResource(ProgramGeneratorImpl.java:328)
        at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa
d(ProgramGeneratorImpl.java:291)
        at org.apache.cocoon.sitemap.Handler.run(Handler.java:270)
        at java.lang.Thread.run(Unknown Source)

request-uri

/cocoon/
path-info



i also changed <parameter name="incremental-processing" value="false"/>
to <parameter name="incremental-processing" value="true"/> as described
in an other post.

it seems to be the same problem as in
http://www.mail-archive.com/cocoon-users@xml.apache.org/msg13022.html
but there is now answere.


i also tried to build cocoon2.0.2 on the hp-unix, but this ends with a
lot of error messages, such as -->
/home/weblogic/cocoon-2.0.2/build/cocoon/src/org/apache/cocoon/component
s/la
nguage/programming/java/Javac.java:71: Superclass
org.apache.cocoon.components.language.programming.java.Abstr
actJavaCompiler of class
org.apache.cocoon.components.language.programming.java.Javac not found.
public class Javac extends AbstractJavaCompiler { . . and so on


did anyone had the same problem and solved it? or does anyone knows the
solution=

any ideas what i made wrong? please help, my time, for
getting cocoon2.0.2 on this hp-unix is running out.

thank to all
greetings, chris


---------------------------------------------------------------------
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