Link to home
Start Free TrialLog in
Avatar of dkim18
dkim18

asked on

Running PHP on Tomcat

Hi,

I am trying to install JavaScriptSpellcheck for our intranet web app that run by Apache tomcat and out development environment is Eclipse IDE, so I am trying to make things to work in Eclipse.

Basically, I followed this link:

https://groups.google.com/forum/embed/?place=forum/javascriptspellcheck&showsearch=true&showpopout=true&parenturl=http%3A%2F%2Fwww.javascriptspellcheck.com%2FSupport#!searchin/javascriptspellcheck/apache$20tomcat/javascriptspellcheck/A4K3WXjGwik/OdTTtvQnjgQJ

And I was able to run the JavaBridge in my eclipse successfully.

Now, I am stuck when I apply this in our intranet web app,(let say IntranetABC.) so let me know if I miss anything.

I created folder, lib and cgi in root folder(apache-tomcat-7.0.39/wtpwebapps/IntranetABC/), copied the contents of lib and cgi from the JavaBridge/WebContent/WEB-INF/ and copied the web.xml part (#3 in the above link) in the IntranetWebApp/WEB-INF/web.xml.

When I start tomcat, it complaints about

org.springframework.web.context.ContextLoaderListener....
(IntranetABC is Struts framework, so I commented out that part.)
And then I get this error:
SEVERE: Error configuring application listener of class php.java.servlet.ContextLoaderListener...

What am I missing here?

thanks in advance...
ASKER CERTIFIED SOLUTION
Avatar of gheist
gheist
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial