Is it possible to run a php app using tomcat? Before you tell me to just use httpd, I already have a java application running on my webserver at host/myapp. Now I want to install RoundCube at host/roundcube. One is php however and one is java. I keep seeing offhand references saying this is possible but no real instructions. No, I do not...
I'm seeing a problem while attempting to run a java servlet under eclipse (Ganymede), I'm running Java 1.6 and Apache Tomcat 6.0.
Here is what i am doing:
Stop Tomcat.
New Dynamic webproject.
Call the project TestProject
Use default options: Context = "TestProject", Context Directory = "WebContent", Java Source Directory = "src"
Right...
I have a Web application using spring and hibernate and struts (it runs on Tomcat)
The call sequence is something like this...
Struts action calls spring service bean which in turn calls Spring DAO bean. The DAO implementation is a Hibernate implementation.
The question is
Would all my spring beans be running in the same thread ?
Can ...
I have a standard GWT application, and it of course uses a Java servlet on the backend. This servlet is deployed on Tomcat and Windows Server.
I know it's against the rules / suggestions, but I have one thread in this servlet that get's started when the servlet initializes (the "init" method of the servlet). The thread is a scheduler o...
I have a peculiar problem with Log4j. We are deploying on Weblogic 10 using log4j.xml. That works fine. We figured a way to run Tomcat 6 in such a way that we can develop on this platform and deploy on Weblogic 10.
I have figured out how to make log4j.properies work with Tomcat 6 with additional JArs that use the JULI logging mechanism ...
I used to run Tomcat separately on my machine. I had an Ant script that would rebuild my project, deploy it locally, and restart Tomcat. That all worked ok, but I wasn't able to debug the web app inside Eclipse.
So I learned how to setup Tomcat inside Eclipse and got my web app running. Now the problem is that I don't understand fu...
I have a web-based application and a client, both written in Java. For what it's worth, the client and server are both on Windows. The client issues HTTP GETs via Apache HttpClient. The server blocks for up to a minute and if no messages have arrived for the client within that minute, the server returns HTTP 204 No Content. Otherwise,...
I needed to front tomcat with apache on AIX, but there is nothing in http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/aix and googling around was unsuccessful. I eventually built it from source (painful as there is bureaucracy around getting the compilers installed at this large corporate).
But shouldn't this binary downl...
I am not very familiar with Tomcat, in my head it is basically abstracted as a cgi server that saves the JVM between calls -- I know it can do a lot more than that, though.
I am looking for a way to launch a background thread when a Tomcat server starts, which would periodically update the Server Context (in my particular case this is ...
By default, Tomcat sends some HTML content back to the client if it encounters something like an HTTP 404. I know that via web.xml an <error-page> can be configured to customize this content.
However, I'd just like for Tomcat to not send anything in terms of response content (I'd still like the status code, of course). Is there any way ...
Over the weekend we added SSL security to a Tomcat 6 instance that has been running for awhile without error. This morning, after the number of sessions increased on the machine, Tomcat began throwing 500 errors to users. I checked the logs and found an instance of OutOfMemory, followed by dozens of errors related to Google Guice attem...
We currently facing some stability issues with our develop web application product. This product was built in part by our partner contractor, and we want to have a good standard metric for stability. The issues we have been facing is constant crashing. The web application is unable to identify when there are more request than it can h...
I have a following setup:
App - Magnolia site running under Tomcat 6.0.16
ISAPI - Tomcat connector isapi_redirect-1.2.28
web server - IIS 7
host OS - Windows 2008
Everything works fine until i try to access Magnolia admin part which is protected. Tomcat returns HTTP 401 status code with the authentication form as response body and t...
Basically I want one servlet to handle all incoming request regardless of the path. I'm on shared hosting environment with access to configure my own web.xml file.
I have the following configured in web.xml, but it doesn't work on Tomcat 5:
<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.4"
xmlns="http:/...
I have tomcat 6.0.18 running on one server without a problem. With the exact same settings it fails to launch on my colleague's machine. He's even running from the same folder as me (I've stopped my copy while he tries to make it work)
All we get when we fire off tomcat using bin/startup.sh is this:
CATALINA_OPTS=-server -Xms768m -XX:+...
It looks like SpringSource has just released a GA version of their tc Server application server.
It sounds from their description like it is a drop-in replacement for Apache Tomcat, with better "enterprise capabilities", such as "advanced diagnostics", better operations management, deployment, etc. (and of course, the support that they ...
I need to tweak some things inside Tomcat 6.0 before any web applications or listeners are started. What's the standard method for doing this? I can't do this from a web application or servlet init() since it is too late by the time it is loaded.
...
I've been trying to add a web reference to a webservice located on an Apache Tomcat web server but I always receive an "HTTP status 503: Service Unavailable". I've been told that the problem is that Tomcat doesn't allow 2 HTTP parameters when requesting the wsdl.
The URL I'm trying to retrieve the wsdl looks like:
http://208.35.164.35...
Hi,
I need a very simple process that listens on a directory and
does some operation when a new file is created on that directory.
I guess I need a thread pool that does that.
This is very easy to implement using the spring framework, which I normally use but I can't use it now.
I can only use tomcat, How can I implement it? what is ...
I have a website with friendly urls.
I want all url´s that end with .htm, .gif, .jpg, .css, .js be served directly by the Apache web server and the rest passed on to Tomcat.
examples of dynamic url´s that should be forwarded to Tomcat:
www.mysite.com/news/newsItem1
www.mysite.com/videos
www.mysite.com/news/list.jsp
examples of stati...