|
Mantis - Quercus
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 1914 | major | always | 07-30-07 13:01 | 07-01-07 11:48 | |
|
|
|||||
| Reporter: | fredo | Platform: | |||
| Assigned To: | nam | OS: | |||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | 3.1.3 | ||
| Product Build: | Resolution: | fixed | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | 3.1.3 | ||
|
|
|||||
| Summary: | 0001914: Quercus not running properly under jrunscript (jdk6) and ScriptEngineManager | ||||
| Description: |
as reported in [Quercus 0001826]: the document http://java.sun.com/javase/6/docs/technotes/guides/scripting/programmer_guide/index.html [^] describes how to run any jsr-223 compliant scripting engine from java and "jrunscript" is the command-line tool equivalent. Quercus is missing certain methods that the ScriptEngine interface defines, namely the context-less methods: Object eval(Reader reader) Object eval(Reader reader, Bindings n) Object eval(String script) Object eval(String script, Bindings n) in QuercusScriptEngine.java (latest svn) -------------------------------------------------- C:\resin-pro-3.1.2\lib>\java\jdk6u2\bin\jrunscript -cp quercus.jar;resin-util.jar -l php 30.07.2007 21:58:33 com.caucho.quercus.Quercus parseServicesModule INFO: Failed loading com.caucho.quercus.lib.ApacheModule java.lang.NoClassDefFoundError: javax/servlet/ServletRequest 30.07.2007 21:58:33 com.caucho.quercus.Quercus parseServicesModule INFO: Failed loading com.caucho.quercus.lib.MailModule java.lang.NoClassDefFoundError: javax/mail/Address 30.07.2007 21:58:33 com.caucho.quercus.Quercus parseServicesModule INFO: Failed loading com.caucho.quercus.lib.QuercusModule java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest 30.07.2007 21:58:33 com.caucho.quercus.Quercus parseServicesModule INFO: Failed loading com.caucho.quercus.lib.i18n.UnicodeModule java.lang.NoClassDefFoundError: javax/mail/MessagingException quercus> <? phpinfo(); ?> 1 quercus> -------------------------------------------------- since i dont see any output with jars of latest resin package the bug still exists. |
||||
| Steps To Reproduce: | |||||
| Additional Information: | |||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|
|
|||||
|
|
||||