php_java.dll throws Access Violation Exception

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • William Brogden

    php_java.dll throws Access Violation Exception


    I am trying to use the php_java.dll and php5servlet.dll
    - from pecl-5.1.4-win32.zip - dated 5/04/2006
    to execute php in a Tomcat5.5.9 servlet environment. Java 1.5.0
    I finally got a configuration that will start executing the single php tag:
    <?php phpinfo(); ?>
    This starts an HTML page and writes lots of configuration information but
    does not finish the page. Java reports:

    # An unexpected error has been detected by HotSpot Virtual Machine:
    #
    # EXCEPTION_ACCES S_VIOLATION (0xc0000005) at pc=0x1000219e, pid=356,
    tid=1848
    #
    # Java VM: Java HotSpot(TM) Client VM (1.5.0_05-b05 mixed mode, sharing)
    # Problematic frame:
    # C [php_java.dll+0x 219e]
    #

    Is there an earlier PECL library that worked?

    Bill
  • William Brogden

    #2
    Re: php_java.dll throws Access Violation Exception

    On Wed, 07 Jun 2006 09:09:46 -0500, William Brogden <wbrogden@bga.c om>
    wrote:
    [color=blue]
    >
    > I am trying to use the php_java.dll and php5servlet.dll
    > - from pecl-5.1.4-win32.zip - dated 5/04/2006
    > to execute php in a Tomcat5.5.9 servlet environment. Java 1.5.0
    > I finally got a configuration that will start executing the single php
    > tag:
    > <?php phpinfo(); ?>
    > This starts an HTML page and writes lots of configuration information but
    > does not finish the page. Java reports:
    >
    > # An unexpected error has been detected by HotSpot Virtual Machine:
    > #
    > # EXCEPTION_ACCES S_VIOLATION (0xc0000005) at pc=0x1000219e, pid=356,
    > tid=1848
    > #
    > # Java VM: Java HotSpot(TM) Client VM (1.5.0_05-b05 mixed mode, sharing)
    > # Problematic frame:
    > # C [php_java.dll+0x 219e]
    > #
    >
    > Is there an earlier PECL library that worked?
    >
    > Bill[/color]

    To continue the php_java.dll saga:
    I found an earlier version 5.0.1 for php and pecl dated 8/12/2004.
    Using the versions of php_java.dll and the servlet dll
    (which had to be renamed to match the name in servlet.propert ies)
    I was able to get php_info() to run to completion.

    I got part way through installing moodle and hit another serious error in
    a dll:

    # An unexpected error has been detected by HotSpot Virtual Machine:
    #
    # EXCEPTION_ACCES S_VIOLATION (0xc0000005) at pc=0x0396e5cd, pid=3904,
    tid=2756
    #
    # Java VM: Java HotSpot(TM) Client VM (1.5.0_07-b03 mixed mode, sharing)
    # Problematic frame:
    # C [php5ts.dll+0x3e 5cd]
    #

    I would love to hear from anybody who has gotten moodle running using the
    servlet API from a Java servlet.

    Bill

    Comment

    Working...