We need a bug tracker on a small team. We don't want the care and feeding of the bug tracker to become a project in and of itself. We already have the infrastructure to run webapps in Tomcat 5.5.x and even Oracle 10gR2 backend if necessary. We prefer LGPL or GPL products.
...
Hey,
I have a Handler object that functions kind of like a service. It has a public init method defined in the Implementation but not the Interface. This Handler is also being autowired via Spring. How does the init method get invoked? Is it via Spring or does Tomcat call this?
...
Hi all:
I've been trying to obtain the Driver class for JDBC connection to MySQL.
The workstation is running on Linux, Fedora 10.
I have manually set up the classpath variable for Java by CLI like this:
bash-3.2$ echo $CLASSPATH
/home/cmao/public_html/jsp/mysql-connector-java-5.1.12-bin.jar
This shows that I've added the lastest mysq...
Hibernate is flooding my IDE console with tons of unnecessary informations at every connection. I already read out the documentation and googled trying to solve this issue but till now the problem "persists".
My persistence.xml:
< persistence >
...
< property name="hibernate.show_sql" value="false" />
< property name="hibernate.use_sq...
Hello everyone!
A few weeks ago I asked about Application Servers. It happens that my bosses are moving to WAS and my web application needs to move along. Problem is I have little idea of application servers.
In my application I used web.xml and tomcat-users.xml to define roles and users. I have to do this in the WAS server, so what d...
I am having a little trouble getting my deployment task in ant to function. I have a war file that is generated as part of the build process, and I am now trying to autodeploy that to my test server. In ant I have defined a deployment task as seen below. When I try to run it I get a file not found error on the server in the catalina.o...
Hi,
I have a Dynamic Web Project that implements Spring and Hibernate using a Tomcat Server (v6). I'm lauching Tomcat with my Eclipse Galileo and I'm not getting any errors in the console but Tomcat is rendering my webpages randomly.
The page just keep loading but without displaying anything, there's nothing on the console either. When...
I've a dynamic web app in Eclipse that is using tomcat s a runtime environment.
I cannot add javadoc path tomcat Servlet API
as appears, the edit button is always disabled!
...
Hello,
I am making a web-app with Tomcat 6 as the container and I'm trying to use connection pooling. The jdbc driver I am using is jtds-1.2.2.
The pool works fine when the driver jar is placed under ${Catalina_Home}/lib, but my hosting provider would not let me do so.
I get a CNF-Exception when the driver is placed in the WEB-INF/lib....
Is there anyway to serve a file from a web server through the web, that is not within the web application.
I am using Tomcat and a Java servlets based application.
I don't want to put the files within the webapp because they are several 100GB and I will have to replace them every time I update the WAR if I put them inside it.
...
The following code accesses a servlet's name: servletConfig.getServletName().
Can I access a servlet's URL pattern in a similar way?
An excerpt from web.xml:
<servlet-mapping>
<servlet-name>This is the servlet's name</servlet-name>
<url-pattern>/this-is-its-url-pattern/*</url-pattern>
</servlet-mapping>
...
Working Tomcat setup stopped working after dist-upgrade on Debian (to Squeeze). 8005 is the shutdown port but it is not occupied. Any ideas on what it may be? It's not quite self-speaking exception. This is log from catalina:
org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[8005]: ...
Jetty has a CacheControl parameter (can be specified webdefault.xml) that determines the caching behavior of clients (by affecting headers sent to clients).
Does Tomcat has a similar option?
In short, I want to turn off caching of all pages delivered by a tomcat server and/or by a specific webapp?
Update
Please note that I am not refe...
I have a very strange issue with some of my servlets. Below is my configuration:
Folder A has X number of servlets deployed in Tomcat directory
Folder B has Y number of servlets deployed in Tomcat directory
After certain amount of time or hits to any of the servlets in Folder B, it stops working properly, whereas at same time all se...
I have a collection of webapps that are running under tomcat. Tomcat is configured to have as much as 2 GB of memory using the -Xmx argument.
Many of the webapps need to perform a task that ends up making use of the following code:
Runtime runtime = Runtime.getRuntime();
Process process = runtime.exec(command);
process.waitFor();
...
...
When asking this I answered myself: use a jsp.
But ok, what about a lightweight, easy to use framework?
It would be perfect if this framework had Eclipse plugin,
so that I could generate all code in one click and simply fill one method body (populate it with the data), then in one click
create a war file using a wizard
and deploy it...
I need to read a remote file with logs from a tomcat
What is the most convenient way to do it if I have ssh access to the log folder ?
...
I am looking for a way to direct all the jetty 7 logging to syslog. My current configuration
dumps everything to JETTY_HOME/logs/.. After some initial ivestigation, it seems I should change JETTY_HOME/etc/jetty-logging.xml, but this does not look straightforward. It looks like I should create a new PrintStream implementation which sends...
I am trying to load a swf into an Ogre3d/Hikari application and that swf uses BlazeDS to communicate with a Tomcat server. The swf is from another project that is used in a browser environment. So, the swf is served from Tomcat to the client's browswer. It seems like there are two main issues. The first is a sandbox issue with using ...
I need jax-ws runtime on Tomcat.
Is it ok to put "jax-ws/lib/*" to "tomcat/lib" ?
Does one need any axis, axis2 libs in tomcat if he puts jax-ws/lib into tomcat/lib?
At least, any of axis*.jar are needed for Tomcat to function properly?
...