473,566 Members | 3,342 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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
Jun 7 '06 #1
1 3353
On Wed, 07 Jun 2006 09:09:46 -0500, William Brogden <wb******@bga.c om>
wrote:

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


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
Jun 7 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
17996
by: Steven Reddie | last post by:
I understand that access violations aren't part of the standard C++ exception handling support. On Windows, a particular MSVC compiler option enables Microsoft's Structured Exception Handling (SEH) in C++ EH so that a catch (...) will catch an access violation. I don't know if other platforms support something similar. I'm wondering about...
0
2710
by: Steven Reddie | last post by:
In article <slrnbnj19j.av.juergen@monocerus.manannan.org>, Juergen Heinzl wrote: >In article <f93791bd.0309282133.650da850@posting.google.com>, Steven Reddie wrote: >> I understand that access violations aren't part of the standard C++ >> exception handling support. On Windows, a particular MSVC compiler >> option enables Microsoft's...
5
2343
by: Alex | last post by:
Hello Im working on project for my college, nevermind (but it urgent :((()... So I have this code example (in VS 6.0) in main class : REAL *Input; ....
1
2453
by: BillyO | last post by:
In the attached code fragment I have a buffer overflow and a memory access violation. When I run the code .Net fails to verify the IL because of the buffer overflow and I get an exception as expected. My question relates to the memory access violation, specfically, what should happen? My guess is that since the good ole new operator allocates...
0
1831
by: techie | last post by:
I have created an event sink in my ATL COM project. The event sink receives events from a C# component. There is no problem with receiving events but when my COM object is released I get an access violation - (MSCORWKS.DLL): 0xC0000005: Access Violation. At first I thought it could be due to my C++ code but after quite a lot of...
2
2845
by: Boris Fortes | last post by:
I need to unhook event receiver as result of native C++ event. It unhooks successfully, but __raise does not return and throws access violation. Visual Studio 2003 How to reproduce: Consol Win32 exe project
0
1715
by: juchytil | last post by:
We created a C# Windows forms application and put the .EXE on our web server. We can download the executable from the web server to a desktop and it will display OK. When we click a button that causes the executable to call a web service on the same web server, we get the following code access security violation. -------------- begin...
3
3922
by: Sebastian M. Rouaiha | last post by:
Hi. I have a problem. When drawing into a graphics context I sometimes get access violation exceptions and I can't figure out why. It seems to have to do with the use of custom dashes. If I change the dash I get the exception. Following is a code example: Pen pLine = new Pen(colBkg); // colBkg is a valid color // fill area with...
1
13890
by: =?Utf-8?B?c2F0aGVlc2t1bWFy?= | last post by:
In my project i have a component named PTS Engine which is developed in VC++ ..Net 2003. And it is migrated to VC++.NET 2005 version. Initially this migration process has coded and tested in VC++ .NET 2005 Beta version. In beta version everything is working fine. When i tryied to run in .NET 2005 full version i am facing the following access...
0
7584
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8109
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7953
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5485
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3643
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2085
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1202
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
926
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.