Re: [PHP-DEV] Re: [PHP] Level of Java Support in PHP From: Benjamin Lee (benjaminlee <email protected>)
Date: 09/29/00

Even something like:

<?

  phpinfo();

?>

'Cause I just tried Tomcat... it works fine. Yay.

I haven't been so lucky with Enhydra though. Technically it's working though, it's just a java thingy. Might be enhydra code or php java code. Don't know.

Fatal error: Unable to open /usr/local/enhydra3.0.1/webapps/examples/net.php.servlet in Unknown on line 0

Error: 500

Internal Servlet Error:

javax.servlet.ServletException: bailout
        at net.php.servlet.send(Native Method)
        at net.php.servlet.service(servlet.java:162)
        at net.php.servlet.service(servlet.java:180)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
        at org.apache.tomcat.core.ServiceInvocationHandler.method(ServletWrapper.java:641)
        at org.apache.tomcat.core.ServletWrapper.handleInvocation(ServletWrapper.java:549)
        at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:392)
        at org.apache.tomcat.core.Context.handleRequest(Context.java:732)
        at org.enhydra.servlet.servletManager.ServletManager.service(ServletManager.java:1092)
        at org.enhydra.servlet.connectionMethods.http.HttpHandler.doARequest(HttpHandler.java:238)
        at org.enhydra.servlet.connectionMethods.http.HttpHandler.processRequests(HttpHandler.java:255)
        at org.enhydra.servlet.connectionMethods.http.HttpHandler.run(HttpHandler.java:93)
        at java.lang.Thread.run(Thread.java:484)

On Thu, Sep 28, 2000 at 05:13:29PM -0700, Peter Kocks wrote:
> Boy, have I spent hours and hours on this one.
>
> I can compile php as servlet and run it in tomcat
>
> (php-4.0.3RC1, Solaris 2.7, tomcat, Java 1.2)
>
> BUT, BUT, BUT, I can never get the php output to go to the web browser.
> Instead, the php script runs and cats the output to the console or pty that
> I used to launch tomcat. It's as if the servlet does not know which file
> descriptor points back to the browser. Very strange... I posted about this
> maybe 3 weeks ago, no response, and I gave up as well.
>
> If someone will help me, I'll help someone else get as far as I got.
>
> --pk
>
>
> -----Original Message-----
> From: Benjamin Lee [mailto:benjaminlee <email protected>]
> Sent: Thursday, September 28, 2000 5:15 PM
> To: Michael Kimsal
> Cc: jasonc <email protected>; php-general <email protected>; php-dev <email protected>
> Subject: Re: [PHP-DEV] Re: [PHP] Level of Java Support in PHP
>
>
>
> I'm sure it's already been answered for you and lots of offers are finding
> their way into your mailbox... but...
>
> Did you mean just getting it compiled?
>
> Or compiled and running?
>
> Which servlet API are you running? Platform? Blah blah... lotsa details
> would help...
>
> Cheers,
> Ben
>
> On Thu, Sep 28, 2000 at 06:21:48PM -0400, Michael Kimsal wrote:
> > We've tried to compile it - it compiled once, but it doesn't run as a
> > servlet. Haven't tried just the basic java extensions, but that
> > seems less useful than the servlet model.
> >
> > Has ANYONE been able to get PHP to run as a servlet? We will pay
> > $ to get this to work. Not sure how much $ yet, but we'll take
> > offers... :)
> >
> >
> >
> > Jason Cox wrote:
> >
> > > I'm considering using PHP in an enterprise level web application and was
> > > wondering how java support actually works with php. If I were to keep
> my
> > > business logic in servlets or beans, how exactly does PHP interact with
> > > them. I know Java support is rather new. Is it pretty stable now?
> > >
> > > Thanks,
> > >
> > > Jason Cox
> > >
> > > _________--
> >
> > ==========================
> > Michael Kimsal
> > http://www.tapinternet.com
> > 734-480-9961
> >
> >
> >
> > --
> > PHP Development Mailing List <http://www.php.net/>
> > To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
> > For additional commands, e-mail: php-dev-help <email protected>
> > To contact the list administrators, e-mail: php-list-admin <email protected>
>
> --
> B. http://b.makelinux.org/ "Of course there is a reason why!"
> __________________________________________________________________________
> Brahma said: Well, after hearing ten thousand explanations, a fool is no
> wiser. But an intelligent man needs only two thousand five hundred.
> -- The Mahabharata
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
> For additional commands, e-mail: php-dev-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
> For additional commands, e-mail: php-dev-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>

-- 
B.      http://b.makelinux.org/      "Of course there is a reason why!"
__________________________________________________________________________
One learns to itch where one can scratch.
		-- Ernest Bramah

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>