How do I get Tomcat to remove the web application artifacts when using the Manager to undeploy the application?
I am using Tomcat 6.0.18. The application was deployed using the tomcat-maven-plugin 1.0-SNAPSHOT but the behavior is the same through the maven plugin or the web interface.
The Tomcat documentation provides warnings on how...
I have been using MyEclipse for a number of years. I am coming to the conclusion that I would rather ditch MyEclipse and revert to plain old Eclipse, except for one detail: MyEclipse's Tomcat integration. Does anyone know of an Eclipse plugin that would provide such integration?
Here's what my current MyEclipse setup does, which I wou...
I have Tomcat 5.0.30 installed as a Windows service. This service is starting perfectly fine. However when I try to restart or stop the service from the Windows services console, I'm getting the following error:
*
Could not stop Tomcat service on Local Computer. Error 1053: The
service did not respond to the start
or the control...
I want to use the standard resource factory provided by Tomcat 6.0, which create javax.mail.Sessions instance for me. As described in the JNDI Resource HOW-TO tutorial.
My META-INF/context.xml looks like:
<?xml version="1.0" encoding="UTF-8"?>
<Context reloadable="true">
<Resource name="mail/Session"
auth="Container"
...
I am deploying my Java application with Ant. Unfortunately my test deployment on the local machine doesn't work because of Vista. The Program Files directionaries are protected and i don't want to start Ant or Eclipse as an Admin. So i had the idea to move my webapps folder to a workspace subfolder, so i can use relative paths in Ant as ...
We're using both Apache Tomcat 6.0 and Jetty 6 where I work. We mostly use Jetty for testing (it's great for running embedded in JUnit tests) and Tomcat for production.
By default, Tomcat compiles JSPs on-the-fly as users request them. But this results in degraded performance for the first hit. It also highlights bizarre bugs in Tomc...
I currently have a tomcat container -- servlet running on it listening for requests. I need the result of an HTTP request to be a submission to a job queue which will then be processed asynchronously. I want each "job" to be persisted in a row in a DB for tracking and for recovery in case of failure. I've been doing a lot of reading. Her...
Hello, im trying to run a cgi script (.cgi) with tomcat. I am getting the below error and cant find out whats wrong. I know i should really use apache and mod proxy but this really isnt my area of expertise so im taking the easy way out!
Thanks for any help.
java.io.IOException: Cannot run program "perl" (in directory "C:\Java\tomcat\...
I am running tomcat 6.0.18 as a windows service. In the service applet the jvm is configured default, i.e. it is using jvm.dll of the JRE.
I am trying to monitor this application with JConsole but cannot connect to it locally. I added the parameter -Dcom.sun.management.jmxremote (which works when starting tomcat with the start.bat scrip...
I'm trying to add URL routing to a web application running in Tomcat 5.5.
I want to make the dynamic page URLs more friendly, changing main.jsp?type=test&group=info to main/test/info as is all the rage.
I have set up the following in the web.xml
<servlet>
<servlet-name>main</servlet-name>
<jsp-file>/main.jsp</jsp-file>
</s...
I have a strange encoding situation, whereby the html page itself displays as it should (with all the accénted chäracters properly displayed), but all the popup dojo dialogs fail to use the correct encoding.
Here is the setup:
Java web project with Hibernate/Spring/Struts2 running on Tomcat6.0.18; the pages are generated as JSP tiles,...
How can I configure tomcat to handle .rhtml pages with jruby?
I guess I should mess around with the web.xml file, but I don't know how...
(ideally, without rails, just the necessary stuff to use erb for rendering rhtml pages...)
...
I have a spring web application which has been working fine on tomcat 5.5. I've attempted to deploy the same web app to a tomcat 6 container and come up against some issues.
The main two problems I've had are relating to configuring the container for jstl and getting the spring security login to work properly.
I believe I've solved the...
Are there any companies/web-sites that use Glassfish in production? I am new to J2EE and deploy JRuby on Rails alongside a JAX-WS Metro application in Glassfish v3 Prelude. Sometimes the quirks make me go WTF and rip my hair out.
I haven't had experience with Apache Tomcat and was wondering if it makes sense to switch to Tomcat, as Glas...
Is there any option in Apache Tomcat Web Server, to compile the JSPs in a WAR at deploy time, instead of the first request instance.
So that, when a user requests it for the first time he should not get a performance lag.
We are using Apache Tomcat 5
...
At my work, we use Weblogic Server to host an enterprise portal. Which is fine.
However, I've recently had the opportunity to use Tomcat for some side projects, and I am struck by the incredible difference in speed. Tomcat takes 3-5 seconds to start up, and 10-15 seconds to deploy a medium-sized projects. Wewblogic takes 3-5 minutes to ...
I would like to configure Tomcat to use Kerberos authentification against Active Directory, but also to use Impersonating (i.e. the Java's worker thread should be running under the credentials of the authentificated user, so that I can then call some SharePoint webservices and pass them the Kerberos ticket with the delegation right)
...
Hi,
I'm trying to install tomcat sysdeo plugin for Eclipse, but I ran into some problems before I even got to the setting/configuration part of the plugin.
When I run my Eclipse, under Preferences, I do not see tomcat section.
Besides downloading the tomcat, I know I'm missing some steps here to show it on the Eclipse.
Does anyone kno...
I run Apache Tomcat 6 using NetBeans. When there is a failure in my code such as a NullPointerException tomcat fail and will not run any other request.
My problem is I cannot get tomcat to stop and I must restart the entire Netbeans IDE.
Any Ideas?
...
I want to use a java file "SaveProp" which is written in a package "user".
The class file has been placed in the WEBINF/classes.Below are the two lines which causes
the issue.
jsp:useBean id="user" class="user.SaveProp" scope="session"
jsp:setProperty name="user" property="*"
This is the code, but it throws,
The value for the useBean...