wood burning stoves 2.0*
The moose likes Java in General and the fly likes Php-Java Bridge War file deplyoment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Php-Java Bridge War file deplyoment" Watch "Php-Java Bridge War file deplyoment" New topic
Author

Php-Java Bridge War file deplyoment

jeffery jacob
Greenhorn

Joined: Feb 17, 2011
Posts: 1
Hai Guys,

am basically good at php and in one of my project i need to setup a Php-Java Bridge...

However when it comes to Java or Tomcat my knowledge is very little.......

heres my problem..........

-> I have my sites contents uploaded to public_html folder of my domain so when i go to http://mysite.com am able to view the actual sites content......

-> I have a Private JVM for my application purpose i need to set up the Php-Java Bridge which is a WAR File.....

-> So 1st i installed apache-tomcat-6.0.14 in Private JVM using my c-panel
After instalation it asked me to Map a domain to private JVM so i mapped my domain mysite.com (which is the only option avaliable) to it...
Then it asked to enable a traffic redirection from Apache web server to my Java application server..(There was a check box and i clicked it....)
Finally it asked me to deploy the WAR File (JavaBridge.WAR was my file) and everthing seems fine...........

-> Now when i go to http://mysite.com/JavaBridge/ i could see the javabridge examples and it works fine..........

=============================== SO FAR SO GOOD !!! =============================================================

Now my problem starts here when i try to access a java class file from php

a sample test.php is what i create and put the following code into it




These are the error message am getting............



and I dont know what to do or how to coreedfct this.......................


Please help to me to get around this...................

Thankz........
 
 
subject: Php-Java Bridge War file deplyoment