Rythm compiled source code/bytecode not found

8 views
Skip to first unread message

badri s

unread,
Mar 6, 2017, 1:06:22 AM3/6/17
to rythmengine, sonya...@gmail.com, n...@sydneywater.com.au, badri.sr...@sydneywater.com.au
HI,

We are using the default settings of rythm(Java source files and bytecode getting generated in default temp directory)

We are using JBOSS as the application server

We are facing a weird IOException(File Not Found Exception) issue when the rythm engine is trying to look for .java and .rythm files of some templates in the __rythm folder
We are not really sure what logic the engine uses when it tries to search for the java source /rythm files

We have observed the following
1. Deleting the __rythm folder, when the jboss server is running , results in errors when it tries to access a template ,although it successfully works for the last accessed template(even without the __rythm folder)
2. In another instance we have a __rythm folder with generated java source files and rythm files,but for some templates(.html), it does not generate the java source and bytecode file. It instead complains that the source file is missing. Ideally it should generate the relevant files on the template invocation


We are trying to use specific home directories rather than using the tmp directory , as we think that will resolve the issue

Please help on the same 
 

Regards
Badri


green

unread,
Mar 13, 2017, 7:31:01 PM3/13/17
to rythm...@googlegroups.com, sonya...@gmail.com, n...@sydneywater.com.au, badri.sr...@sydneywater.com.au
Hi 

Can you try to init your rythmengine with a specifc home.tmp setting? I suspect some other process with rythm overwrite to the same directory.

BTW do you have multiple rythmengine instance in your app?

Regards,
Green

--
You received this message because you are subscribed to the Google Groups "rythmengine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rythmengine...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages