tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rocco Scappatura" <Rocco.Scappat...@sttspa.it>
Subject Problems with a web application running a PHP script
Date Fri, 02 Nov 2007 22:11:35 GMT
Hello,

I'm trying to run a PHP script under my web application for tomcat,
developed wiwith Netbeans 551.

Under Netbeans it works. But wen deploy it under Tomcat 5.5.25 I get this
error when I try to access at a PHP page:


INFO: Marking servlet JSR223Script as unavailable
2-nov-2007 22.56.36 org.apache.catalina.core.StandardWrapperValve invoke
GRAVE: Allocate exception for servlet JSR223Script
java.lang.NoSuchMethodError:
javax.script.ScriptEngineManager.getEngineFactories()[Ljavax/script/ScriptEngineFactory;
	at
com.sun.script.http.ScriptServlet$EngineRepository.<init>(ScriptServlet.java:106)
	at com.sun.script.http.ScriptServlet.<init>(ScriptServlet.java:27)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at java.lang.Class.newInstance0(Unknown Source)
	at java.lang.Class.newInstance(Unknown Source)
	at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1089)
	at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:791)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:127)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
	at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:544)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
	at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
	at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
	at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
	at java.lang.Thread.run(Unknown Source)


I cant figure out what I'm missing..

rocsca


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message