From: <php...@li...> - 2010-07-07 03:48:12
|
Can u post ur code? You've also made the appropriate changes to conf/server.xml I assume? --Sravan On 7/7/10, php...@li... <php...@li...> wrote: > Hi - > (Sorry if this gets posted multiple times, but I have had a horrid time > trying to subscribe/post to this mail list and apparently cannot contact > the list administrator either, (no replies to my attempts to do so) so I > have tried to unsubscribe, resubscribe and repost...) > > I am following the instructions found at - > > http://php-java-bridge.sourceforge.net/doc/tomcat6.php > > to integrate PHP with my Tomcat6 server and have ran into a snag which I > don't quite understand. I got through the first two parts ok - > > Download and install Java, Tomcat and PHP > Install a PHP web application into Tomcat > > and ran the test examples fine. But when I tried to follow the > instructions for the third section to make PHP available to all web apps - > > PHP support for all existing Tomcat web applications > > and tried to execute the small test example I am getting the following > stack walkback error reported via an HTTP Status 500 web page - > > type Exception report > message > description The server encountered an internal error () that prevented > it from fulfilling this request. > exception > > javax.servlet.ServletException: Error instantiating servlet class > php.java.servlet.fastcgi.FastCGIServlet > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > > > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) > > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) > > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) > > > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) > java.lang.Thread.run(Thread.java:619) > > root cause > > java.lang.InstantiationException > > sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30) > > java.lang.reflect.Constructor.newInstance(Constructor.java:513) > java.lang.Class.newInstance0(Class.java:355) > java.lang.Class.newInstance(Class.java:308) > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > > > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) > > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) > > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) > > > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) > java.lang.Thread.run(Thread.java:619) > > > I have placed the jar files in the Tomcat lib directory and they appear > to be fine with same ownership and permissions as the rest of the jar > files. Some additional info - > > Running under SuSE 11.2 x86_64 > Tomcat6 ver 6.0.20-24.6.2 noarch > Java-1_6_0-sun x86_64 > PHP5 ver 5.3.2-1.1.1 x86_84 > > Appreciate any offers of help and thanks in advance.. Marc.. > > - > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > -- Sent from my mobile device Sincerely, Sravan Suryadevara University of Illinois | Urbana-Champaign B.S Computer Science | Class of 2013 E-mail | sur...@il... Phone | (908) 432-5330 |