473,569 Members | 2,466 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem in Integrating Java and PHP

4 New Member
Hi guys,

i am trying to integrate the PHP and Java.

Actually i am trying to create the instance of a java class in php file and use it's methods.

My environment is WinXP/Apache 1.3/ PHP 5/jdk 1.5

I have done the configuration changes in the php.ini file as below;
extension=php_j ava.dll
java.class.path ="C:\wamp\php\e xt\php_java.jar ;C:\Program Files\Java\jdk1 .5.0_06\jre\lib "
java.home="C:\P rogram Files\Java\jdk1 .5.0_06\bin"
java.library="C :\Program Files\Java\jdk1 .5.0_06\jre\bin \server\jvm.dll "
java.library.pa th="C:\wamp\php \ext;"


The files are in the metioned place.

But, whenever i am trying to run the php file from the browser, it returns the
"Page cannot be displayed" and in the down it shows,
"Cannot find server or DNS Error"

Before that, the Visual Studio Debugger opens and shows the exception in apache.exe
that is "Unhandled exception at 0x00f9678f in Apache.exe: 0xC0000005: Access violation writing location 0xab000201."

immediately the browser displays "the page cannot be displayed".


i know so many people r working in this concept . can anyone help me.

With regards,
Subbukumararaja
Dec 19 '06 #1
0 1068

Sign in to post your reply or Sign up for a free account.

Similar topics

3
2762
by: Phil Powell | last post by:
I have a PHP script that will be doing an @fopen file open command to a Java servlet, sending content via a query string. Problem is that it appears the Java servlet does not receive anything via its doGet() method and does no action. Has anyone here successfully ever sent anything via PHP to a Java servlet? Tell me what you are supposed...
6
4434
by: Boris Tabenkin | last post by:
Hi all, I want to apologize if this is the wrong forum for this question. I would like to write an application, in Java running on UNIX, that would insert, read, and mark as completed tasks in exchange. What is the best approach for this? Is the answer to write a web service using C# and then call it from Java? Does OWA already provide...
5
2756
by: Shikari Shambu | last post by:
Hi, I would like to integrate a .NET web application into IBM Websphere portal. Whati is the best way of integrating these two beasts? Is there are way to get my .NET application to return XML compliant with JSR 168? TIA
1
1670
by: Jeff | last post by:
....still new to VWeb .net 2005 wtih VB... ....having some problem integrating java script to open a second browser window with my VB code. The following line (in page-load) properly opens a new IE window (when button1 is pushed) called, "NewWin" and places the content from "comment.aspx" into it. button1.Attributes.Add("onclick",...
0
7618
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
8132
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...
1
7678
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7982
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...
0
6286
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3656
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
3644
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1226
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
944
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.