You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Ad Verb <ad...@hotmail.com> on 2001/11/12 05:39:21 UTC

Customizations not saved. PSMLManager: Error writing PSML

I'm brand-new to Jetspeed and I'm stumped.  Customizations aren't being
saved.  I've got the latest running under W2K and Tomcat 4.0.1 all on Sun's 
JDK 1.3.  Here's a hunk of log:

/////////// start hunk of log /////////////
[Sun Nov 11 22:44:48 EST 2001] -- NOTICE  -- SingletonHolder:  Now holding:
jetspeed.portalfactory - /WEB-INF/psml/defaultWML.psml
[Sun Nov 11 22:44:48 EST 2001] -- NOTICE  -- PSMLManager: Writing turbine's
PSML for 'text/html' to '/WEB-INF/psml/turbine/homeHTML.psml'
[Sun Nov 11 22:44:48 EST 2001] -- NOTICE  -- Returning local cached URL
[Sun Nov 11 22:44:48 EST 2001] --  ERROR  -- PSMLManager: Error writing PSML
Exception:  java.io.IOException: Cannot write to remote URLs!
Stack Trace follows:
java.io.IOException: Cannot write to remote URLs!
at 
org.apache.jetspeed.cache.disk.JetspeedDiskCacheEntry.getWriter(JetspeedDiskCacheEntry.java:364)
at org.apache.jetspeed.util.PSMLManager.setPSMLContent(PSMLManager.java:200) 
 
  ...
at 
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
at java.lang.Thread.run(Thread.java:484)
[Sun Nov 11 22:44:48 EST 2001] -- NOTICE  -- HTML file successfully
written...

///////////// end hunk of log /////////

I'm running it as an application and the files are local so I know it has 
permissions to write to the directory.  I'm not sure, but could it be that 
because of the forward slashes it thinks it's a web url and not a local 
file?

Oh, yeah, there's a bug where the log reports "HTML file successfully
written...".  Looks like the return false isn't being noticed.  Maybe I'll 
check into that.

Anyone have any ideas? Otherwise I'll probably start hacking up 
PSMLManager.java and fill it up with Log.notes and hardcoded variables.

Andy-

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>