I have a web application running in a jboss application server (But it is not jboss specific so we could also assume it is a tomcat or any other server). Now I have the problem that one thread seems to be in dead-lock situation. It uses 100% CPU all the time. I have started the server with enabled debug port and I can connect Eclipse to ...
Hi:)
i need to deploy at Tomcat many web applications with a lot of common jars (Jersey jars). I've created WAR file without JARS and added to MANIFEST.MF eg: "Class_Path: .jar .jar". But WebApplications does not work. What I am doing wrong?
...
I want to implement SSL in grails. I cannot find the file /conf/server.xml in grails folder structure. Has any implemented it?
Much appreciated.
...
I'm new to using Tomcat so perhaps I'm missing something. In the server.xml it looks as though it is possible to enable GZip compression for HTTP Responses from the server to the client. However in my application, there are large chunks of XML data being sent from the client to the server. Is there a way to enable GZip compression in ...
I've created a J2EE application using a set of libraries. Works like a charm. Now it needs to be deployed into production. Our admin is very cautious about execution security and requires the permissions granted explicitly.
Going through all the code and looking up security requirements (especially the custom libraries) is time consuming...
I'm using Tomcat 6.0 as a webserver, and I want to know how can I run login page over https protocol?
I've implemented form based authentication correctly with NONE as value in tag, but when I changed <transport-gurantee> tag with the value CONFIDENTIAL, my browser is not able to display the page and returning an error:
Firefox can'...
Hi,
I created a JSF 2 web application with facelets. The libs for JSF where stored at tomcat/lib, to share it between several applications. I thought maybe it would be better to store the libs inside the WEB-INF/lib folder of the application, to get the application more independent from server configurations.
Now when I start tomcat vi...
Hi!
I'm new here and hope you can help me a little.
I use two contexts:
<Context docBase="Base1" path="/Con1" reloadable="true"/>
<Context docBase="Base1" path="/Con2" reloadable="true"/>
Is it possible to start the tomcat in a way that we use just one context but we can somehow keep the other context? (maybe unvisible for the serv...
I am writing a web application that uses a JSP usebean tag in the session scope as shown below
<jsp:useBean id="userSession" class="project.session.UserSession" scope="session" />
I have also written a filter which does some processing and needs to set some values on the userSession bean. How do I get a handle onto the object and set ...
Hi,
I want to configure tomcat / my web application to use a JDBC realm for container managed security. I specified the realm inside tomcat's server.xml file like this:
<Realm className="org.apache.catalina.realm.JDBCRealm" driverName="net.sourceforge.jtds.jdbc.Driver" connectionURL="jdbc:jtds:sqlserver://hostname:1433/intranet;user=sa...
I posted this on the eclipse forum in November and didn't get an answer. It seems that someone must have experienced this problem before, so I thought I'd post it here as well.
General Description: Every time I restart my local tomcat web server, the next time I hit a breakpoint, eclipse can't find the project source.
Background: I hav...
I have encountered a really bizarre stability problem in production when running a trivial Grails application using standard components.
After some time of normal operation the number of Tomcat (jsvc) TCP connections in state CLOSE_WAIT increases until Tomcat hits its thread ceiling (Maximum number of threads (N) created for connector),...
Hi,
Is there any way of caching the bytecode for JSP webapps/ In particular, using Tomcat as the Java servlet? I'm getting really fed up of Tomcat taking up all the CPU for 10 minutes while it compiles 4 different webapps every time I restart it....
I'm already using Jikes to "speed up" the compiles, but it's really killing me. The cod...
I'm developing a REST-ful web service using RESTEasy deployed on Tomcat. I've configured an error page which takes the exception's message and generates an XML based on it when any exception occurs during the request.
This works fine for any application generated exceptions. However, if client sends an invalid XML which cannot be unma...
After shutting down tomcat, I get this message:
INFO: Failed shutdown of Apache Portable Runtime
Then Tomcat shuts down after all
I haven't found a reasonable explanation googling around, nor in the single duplicate I've found (0 answers)
...
I just added this to my web.xml on my JBOSS server. But it had no effect. I am still allowed to connect to ports that do not use bi-directional certificate exchange. Anyone have an ideas?
<!-- Force SSL for entire site as described here: http://wiki.metawerx.net/wiki/ForcingSSLForSectionsOfYourWebsite -->
<security-constraint>
...
Hello
I've got a JSF app built with MyFaces 1.2.8, Facelets 1.1.14 and building it with Tomcat 6 through it's plugin in Eclipse Ganymede.
I've just installed the latest versions of the above libs and on build, the app deploys ok and the server goes to start and immediately I get this:
javax.servlet.ServletException: javax.crypto.BadPa...
Other than quartz schedular, what are other popular job services in the Java world?
Ideally something that works well with Spring.
I am assuming Tomcat can handle this type of scheduling?
...
any easy to use utility/tool/profiler/benchmark that able to test what is the maximum users a web application able to support by analyzing session size , cpu speed, memory size..etc and 'PREDICT' when server is overpacked/overloaded?
...
I've just created a custom taglib which runs fine with Jetty. When using TomCat 6.0 I get the following exception:
java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/sql/Result
Any ideas on how to resolve this issue? I'm using Facelets and JSF 1.2.
Thxs.
...