[kepler-users] XSLTActor run from kepler-trunk

Chris Weed chrisweed at gmail.com
Thu Apr 9 13:27:55 PDT 2009


After looking at this, I came up with the following conclusion.
There seems to be a problem with making the kepler-build directory not
"read-only".
It looks like this actor is trying to put a temporary file in this directory,
but I can't get windows to make this directory writeable.
I played with the directory permissions with no luck.
The actor probably shouldn't be trying to create temporary files here anyway,
and should create temporary files through the file system's temporary
file mechanism.
I assume this mechanism is available in Java.
Chris

On Thu, Apr 9, 2009 at 4:11 PM, Chris Weed <chrisweed at gmail.com> wrote:
> When I run the 06-WebServicesAndDataTransformation.xml workflow from
> kepler-trunk in windows
> I get the following error from the XSLTActor and not output in the HTML Display:
>
> C:\kepler-build\build-area>"%ANT_HOME%\bin\ant" run "-Dproperties=http.proxyHost
> =llproxy,http.proxyPort=8080"
> Buildfile: build.xml
>
> compile:
>  [compile] Compiling ptolemy...
>  [compile] <<< The module is ptolemy. Setting includes and excludes....
>  [compile] Compiling common...
>  [compile] Compiling directors...
>  [compile] Compiling actors...
>  [compile] Compiling core...
>  [compile] Compiling util...
>  [compile] Compiling loader...
>  [compile] Compiling gis-display...
>  [compile] Compiling 2 source files to C:\kepler-build\gis-display\target\class
> es
>
> run:
>      [run] String[] commandLineProperties
>      [run] http.proxyHost
>      [run] llproxy
>      [run] http.proxyPort
>      [run] 8080
>      [run] Building Kars...
>      [run] Config.xml: C:\kepler-build\util\target\classes\config.xml
>      [run] [Server at 1705316]: [Thread[AWT-EventQueue-0,6,main]]: checkRunning(fa
> lse) entered
>      [run] [Server at 1705316]: [Thread[AWT-EventQueue-0,6,main]]: checkRunning(fa
> lse) exited
>      [run] [Server at 1705316]: [Thread[AWT-EventQueue-0,6,main]]: setDatabasePath
> (0,C:\Documents and Settings\CH21670\.kepler\cache\cachedata\hsqldb)
>      [run] [Server at 1705316]: [Thread[AWT-EventQueue-0,6,main]]: checkRunning(fa
> lse) entered
>      [run] [Server at 1705316]: [Thread[AWT-EventQueue-0,6,main]]: checkRunning(fa
> lse) exited
>      [run] [Server at 1705316]: [Thread[AWT-EventQueue-0,6,main]]: setDatabaseName
> (0,hsqldb)
>      [run] [Server at 1705316]: [Thread[AWT-EventQueue-0,6,main]]: setSilent(true)
>
>      [run] [Server at 1705316]: Initiating startup sequence...
>      [run] [Server at 1705316]: Server socket opened successfully in 16 ms.
>      [run] [Server at 1705316]: Database [index=0, id=0, db=file:C:\Documents and
> Settings\CH21670\.kepler\cache\cachedata\hsqldb, alias=hsqldb] opened sucessfull
> y in 406 ms.
>      [run] [Server at 1705316]: Startup sequence completed in 422 ms.
>      [run] [Server at 1705316]: 2009-04-09 16:08:35.219 HSQLDB server 1.7.2 is onl
> ine
>      [run] [Server at 1705316]: To close normally, connect and execute SHUTDOWN SQ
> L
>      [run] [Server at 1705316]: From command line, use [Ctrl]+[C] to abort abruptl
> y
>      [run] Opening user preferences PtolemyPreferences.xml...
>      [run] Unable to process kar file: C:\kepler-build\common\kar\actors\actors
> -ImageJ.kar
>      [run] regArray: org.ecoinformatics.ecogrid.registry.stub.RegistryEntryArra
> yType at a23bbabb
>      [run] *** Attempting to get ResourceBundle for SVG defaults ***
>      [run] *** svgRenderingMethod = SVG_BATIK_RENDERING ***
>      [run] PORT TYPE in PTOLEMY ACTOR: string
>      [run]
>      [run] 22615d4d-7437-4cc0-9e38-317547d4e3dd.xml
>      [run] XSLT URL:  C:\Documents and Settings\CH21670\My Documents\My Program
> s\Kepler-1.0.0\demos\getting-started\XSLTSample.xsl
>      [run] 0f98ec4e-f720-4c75-ba6f-c3ed107c6f64
>      [run] Transform error
>      [run] javax.xml.transform.TransformerException: java.io.FileNotFoundExcept
> ion: file:\C:\kepler-build\0f98ec4e-f720-4c75-ba6f-c3ed107c6f64.html (The filena
> me, directory name, or volume label syntax is incorrect)
>      [run]     at org.apache.xalan.transformer.TransformerImpl.createResultCont
> entHandler(TransformerImpl.java:1074)
>      [run]     at org.apache.xalan.transformer.TransformerImpl.createResultCont
> entHandler(TransformerImpl.java:965)
>      [run]     at org.apache.xalan.transformer.TransformerImpl.transform(Transf
> ormerImpl.java:1114)
>      [run]     at org.apache.xalan.transformer.TransformerImpl.transform(Transf
> ormerImpl.java:1097)
>      [run]     at util.XSLT.Transform(XSLT.java:74)
>      [run]     at org.sdm.spa.XSLTActor.fire(XSLTActor.java:152)
>      [run]     at ptolemy.actor.AtomicActor.iterate(AtomicActor.java:434)
>      [run]     at ptolemy.actor.sched.StaticSchedulingDirector.fire(StaticSched
> ulingDirector.java:188)
>      [run]     at ptolemy.actor.CompositeActor.fire(CompositeActor.java:417)
>      [run]     at ptolemy.actor.Manager.iterate(Manager.java:726)
>      [run]     at ptolemy.actor.Manager.execute(Manager.java:349)
>      [run]     at ptolemy.actor.Manager.run(Manager.java:1146)
>      [run]     at ptolemy.actor.Manager$3.run(Manager.java:1187)
>      [run] Caused by: java.io.FileNotFoundException: file:\C:\kepler-build\0f98
> ec4e-f720-4c75-ba6f-c3ed107c6f64.html (The filename, directory name, or volume l
> abel syntax is incorrect)
>      [run]     at java.io.FileOutputStream.open(Native Method)
>      [run]     at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
>      [run]     at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
>      [run]     at org.apache.xalan.transformer.TransformerImpl.createResultCont
> entHandler(TransformerImpl.java:1057)
>      [run]     ... 12 more
>      [run] ---------
>      [run] java.io.FileNotFoundException: file:\C:\kepler-build\0f98ec4e-f720-4
> c75-ba6f-c3ed107c6f64.html (The filename, directory name, or volume label syntax
>  is incorrect)
>      [run]     at java.io.FileOutputStream.open(Native Method)
>      [run]     at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
>      [run]     at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
>      [run]     at org.apache.xalan.transformer.TransformerImpl.createResultCont
> entHandler(TransformerImpl.java:1057)
>      [run]     at org.apache.xalan.transformer.TransformerImpl.createResultCont
> entHandler(TransformerImpl.java:965)
>      [run]     at org.apache.xalan.transformer.TransformerImpl.transform(Transf
> ormerImpl.java:1114)
>      [run]     at org.apache.xalan.transformer.TransformerImpl.transform(Transf
> ormerImpl.java:1097)
>      [run]     at util.XSLT.Transform(XSLT.java:74)
>      [run]     at org.sdm.spa.XSLTActor.fire(XSLTActor.java:152)
>      [run]     at ptolemy.actor.AtomicActor.iterate(AtomicActor.java:434)
>      [run]     at ptolemy.actor.sched.StaticSchedulingDirector.fire(StaticSched
> ulingDirector.java:188)
>      [run]     at ptolemy.actor.CompositeActor.fire(CompositeActor.java:417)
>      [run]     at ptolemy.actor.Manager.iterate(Manager.java:726)
>      [run]     at ptolemy.actor.Manager.execute(Manager.java:349)
>      [run]     at ptolemy.actor.Manager.run(Manager.java:1146)
>      [run]     at ptolemy.actor.Manager$3.run(Manager.java:1187)
>      [run] 3004 ms. Memory: 48328K Free: 17177K (36%)
>
>
> Chris
>



More information about the Kepler-users mailing list