Anonymous | Login | Signup for a new account | 12-17-2024 08:31 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0001473 | [Quercus] | minor | always | 11-27-06 08:59 | 11-27-06 18:15 | ||||
Reporter | ferg | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | |||||||
Summary | 0001473: quercus script engine issue | ||||||||
Description |
(rep by George Moschovitis) I am trying to use resin with jdk1.6.0. I have the following code in my servlet init method: ... import javax.script.*; ... public void init() throws ServletException { // create a ScriptEngineManager ScriptEngineManager m = new ScriptEngineManager(); // get an instance of JavaScript script engine engine = m.getEngineByName("js"); // expose the current script engine as a global variable engine.put("engine", engine); } ... And I get the following error: [14:22:03.364] myservlet: init [14:22:03.373] java.lang.AbstractMethodError [14:22:03.373] at javax.script.ScriptEngineManager.getEngineByName(ScriptEngineManager.java:216) [14:22:03.373] at myservlet.AdapterServlet.init(AdapterServlet.java:26) [14:22:03.373] at javax.servlet.GenericServlet.init(GenericServlet.java:69) [14:22:03.373] at com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletConfigImpl.java:646) [14:22:03.373] at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:587) [14:22:03.373] at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:97) [14:22:03.373] at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:173) [14:22:03.373] at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) [14:22:03.373] at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:274) [14:22:03.373] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:511) [14:22:03.373] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:520) [14:22:03.373] at com.caucho.util.ThreadPool.run(ThreadPool.java:442) [14:22:03.373] at java.lang.Thread.run(Thread.java:619) Some times the error says something about a QuercusScriptingEngine. Any idea? thanks in advance for your help, |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
There are no notes attached to this issue. |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
26 total queries executed. 24 unique queries executed. |