kazu2012 / persevere-framework

Automatically exported from code.google.com/p/persevere-framework
0 stars 0 forks source link

Can't run satellite applications (eg. persevere/examples) #136

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Windows Vista, using latest svn pull.

Note Persevere v1.0b2 as released does not have this problem.  

C:\persevere>cd examples

C:\persevere\examples>persvr
2009-04-28 06:35:35.232::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
2009-04-28 06:35:35.396::INFO:  jetty-6.1.14
Loading Customer/
java.lang.RuntimeException: Can not modify readonly configuration data for
gener
ated.js
        at
org.persvr.datasource.LocalJsonFileSource.setJson(LocalJsonFileSource
.java:86)
        at
org.persvr.datasource.AbstractJsonSource.commitTransaction(AbstractJs
onSource.java:235)
        at org.persvr.data.Transaction.commit(Transaction.java:225)
        at org.persvr.javascript.ModuleLoader.call(ModuleLoader.java:116)
        at
org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:
97)
        at org.mozilla.javascript.gen.c47._c0(test_child.js:2)
        at org.mozilla.javascript.gen.c47.call(test_child.js)

Original issue reported on code.google.com by davidthi...@gmail.com on 28 Apr 2009 at 1:42

GoogleCodeExporter commented 8 years ago

Original comment by kris...@gmail.com on 29 Apr 2009 at 1:05

GoogleCodeExporter commented 8 years ago
This is due to the presence of a generated.js file in the core WEB-INF/config 
directory. I don't see this file in the nightlies, and I don't see this error 
when I 
run the nightly. I updated the error message to provide assistance for 
correcting this 
problem (deleting generated.js from core WEB-INF/config)

Original comment by kris...@gmail.com on 29 Apr 2009 at 3:04