Anonymous | Login | Signup for a new account | 12-17-2024 10:59 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0001914 | [Quercus] | major | always | 07-30-07 13:01 | 07-31-07 11:48 | ||||
Reporter | fredo | View Status | public | ||||||
Assigned To | nam | ||||||||
Priority | normal | Resolution | fixed | Platform | |||||
Status | closed | OS | |||||||
Projection | none | OS Version | |||||||
ETA | none | Fixed in Version | 3.1.3 | Product Version | 3.1.3 | ||||
Product Build | |||||||||
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 | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |