• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Php-Java Bridge War file deplyoment

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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........
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic