You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Alex Nelson <an...@ansoftcomputing.com> on 2003/05/08 17:08:42 UTC

Error when logging in to edit computerworld sample

I ave a working installation of Cocoon 2.1M1 in place. It is using the
new copy of xalan (xalan-20030506.jar). When I try to log into the
computerworld example as editor, I get the following error:

An Error
Occurredorg.apache.cocoon.ProcessingException/var/tomcat4/work/Standalone/localhost/lenya/cocoon-files/org/apache/cocoon/www/lenya/content/ac/login_xsp.java (Permission denied)org.apache.cocoon.ProcessingException: /var/tomcat4/work/Standalone/localhost/lenya/cocoon-files/org/apache/cocoon/www/lenya/content/ac/login_xsp.java (Permission denied): java.io.FileNotFoundException: /var/tomcat4/work/Standalone/localhost/lenya/cocoon-files/org/apache/cocoon/www/lenya/content/ac/login_xsp.java (Permission denied)java.io.FileNotFoundException: /var/tomcat4/work/Standalone/localhost/lenya/cocoon-files/org/apache/cocoon/www/lenya/content/ac/login_xsp.java (Permission denied)Original Exception: java.io.FileNotFoundException: /var/tomcat4/work/Standalone/localhost/lenya/cocoon-files/org/apache/cocoon/www/lenya/content/ac/login_xsp.java (Permission denied) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:176) at java.io.FileOutputStream.<init>(FileOutputStream.java:131) at java.io.FileWriter.<init>(FileWriter.java:73) at org.apache.cocoon.util.IOUtils.serializeString(IOUtils.java:96) at org.apache.cocoon.util.IOUtils.serializeString(IOUtils.java:83) at


There are no errors in the catalina.out log or the localhost_log files.
There IS a fatal error logged in the log4j.log file:

0    2003-05-08 10:41:22,864 [main] WARN  scheduler  - Quartz scheduler
'DefaultQuartzScheduler' initialized from default resource file in
Quartz package: 'quartz.properties'
57638 2003-05-08 10:42:20,502 [Thread-22] ERROR
org.apache.lenya.xml.Configuration  - No such property:
org.apache.lenya.xps.XLinkInterpreter.cacheFolder
57659 2003-05-08 10:42:20,523 [Thread-22] ERROR
org.apache.lenya.net.Configuration  - Could not find resource on
classpath: org/apache/lenya/net/conf.properties
57663 2003-05-08 10:42:20,527 [Thread-22] ERROR
org.apache.lenya.net.Configuration  - Could not find resource on
classpath: org/apache/lenya/net/conf.properties
57675 2003-05-08 10:42:20,539 [Thread-22] ERROR
org.apache.lenya.xml.DOMParserFactory  - No such file or directory:
/home/michi/src/lenya/src/java/org/apache/lenya/net/proxyconf.xml
57675 2003-05-08 10:42:20,539 [Thread-22] ERROR
org.apache.lenya.net.ProxyManager  -
.readConfig(/home/michi/src/lenya/src/java/org/apache/lenya/net/proxyconf.xml): java.io.FileNotFoundException: /home/michi/src/lenya/src/java/org/apache/lenya/net/proxyconf.xml
57705 2003-05-08 10:42:20,569 [Thread-22] FATAL
org.apache.lenya.xml.XPSAssembler  - .traverse(): Node type not
implemented: 4
(file:/var/tomcat4/webapps/lenya/lenya/pubs/computerworld/publication.xml)
57841 2003-05-08 10:42:20,705 [Thread-22] FATAL
org.apache.lenya.xml.XPSAssembler  - .traverse(): Node type not
implemented: 4
(file:/var/tomcat4/webapps/lenya/lenya/pubs/unipublic/publication.xml)

It looks to be an error in the XPSAssembler. Perhaps due to the change
in xalan?

There is also this issue of not finding some of the conf files and the
hardcoding of
/home/michi/src/lenya/src/java/org/apache/lenya/net/proxyconf.xml
somewhere. Any ideas how to resolve the fatal error?

-- 
Alex Nelson
ANSoft Computing
www.ansoftcomputing.com
"We make systems work!"


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org


RE: Error when logging in to edit computerworld sample

Posted by "Gregor J. Rothfuss" <gr...@wyona.com>.
no idea about the permission denied error, sorry

>>
.readConfig(/home/michi/src/lenya/src/java/org/apache/lenya/net/proxyconf.xm
l): java.io.FileNotFoundException:
/home/michi/src/lenya/src/java/org/apache/lenya/net/proxyconf.xml
<<

one of these days we have to make these (non-critical) files
workable for everyone.. 

>>
57705 2003-05-08 10:42:20,569 [Thread-22] FATAL
org.apache.lenya.xml.XPSAssembler  - .traverse(): Node type not
implemented: 4
(file:/var/tomcat4/webapps/lenya/lenya/pubs/computerworld/publication.xml)
<<

dont worry, that just means the XPS assembler does not handle
CDATA (because it is not implemented)

-gregor


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org