Hey everyone,
I have an ANT build that I need to setup so on deployment of the .war a certain file will be placed in a specific location. Currently my ant builds the war as follows...
<target name="war" depends="jar">
<war destfile="${deploy}/file.war" webxml="${web-inf}/web.xml">
<fileset dir="${WebRoot}">
<...
Hi, we have a horizontal cluster set up on JBoss 4.2. The session replication worked fine until we changed cache mode from REPL_ASYNC to REPL_SYNC to fix a issue. We started to see warning for some session failovers:
[org.jboss.web.tomcat.service.session.InstantSnapshotManager.ROOT] Failed to replicate session
java.lang.RuntimeException...
Hi all
I'm trying to figure out the optimum way to develop and release a fairly simple web application, and I'm running into several problems. I'll outline the decisions I've made, because somewhere I've clearly gone off the rails.. Hugely grateful for any help!
I have what I think is a fairly simple web application. It contains a coupl...
Hi,
I'm trying to deploy a war to a Apache Tomcat server (Build 6.0.24) using python (2.4.2) as part of a build process.
I'm using the following code
import urllib2
import base64
war_file_contents = open('war_file.war','rb').read()
username='some_user'
password='some_pwd'
base64string = base64.encodestring('%s:%s' % (username, pas...
Hi,
I have a web-service endpoint and a http connector on port X.
At some point this endpoint needs to switch to https, but on the same port!
(I know this is not the normal way of doing things, but this is what my clients expect from an old server they are using...)
Is there a way to do it in tomcat?
...
Here's the scenario:
Many users access an application (running on tomcat), the user's data is segmented into multiple databases, say each db containing 1000 user's data.
Now is it somehow possible to have 100s of tomcat servers running on 'inexpensive' PC class machines with each connecting to a single db, with user's session getting ...
On production Tomcat server my webapp couldn't find jars located in WEB-INF/lib folder. In development eviorment all works fine.
Stack Trace
javax.servlet.ServletException: Could not initialize class util.HibernateUtil
web.Engine.service(Engine.java:58)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
sun.refle...
I've been able to setup Kerberos authentication in Tomcat utilizing a custom Realm that extends JAASRealm and overrides 'authenticate' by following the TomcatKerberos wiki.
Got it working fine in Ubuntu but keep getting the following error when trying to set it up in Windows XP.
SEVERE: Cannot find message associated with key jaasRealm...
I am writing a tomcat app, and have a need to do authentication within the URL like this:
https://user:[email protected]
Except for the life of me i'm not sure how to set it up or able to find the docs to read up on it, clearly my google skills need work.
Can anyone tell me where i should be looking for this kind of info or whe...
I am running Tomcat bundled with Liferay5.2.3 and use Eclipse 3.5 (Galileo) as my IDE. I set up my Tomcat server in Eclipse as per this blog entry: http://www.jroller.com/holy/entry/developing_portlets_for_liferay_in. If I start Tomcat via the Eclipse server config, Liferay/Tomcat uses my C:\Documents and Settings\user\Local Settings\T...
Hi Everyone.
Sorry in advance for the long post but the problem I am facing here is quite crucial for me, so here we go...
I have a Eclipse GWT (2.0) Web Application using the the GAE and making transactions with its datastore.
On the other hand I would like to make sure that I can also deploy this web application on another infrastruc...
There was a resource here:
http://www.javalobby.org/articles/tomcat2go/
but when trying to download the resource is no more available.
So how to make Tomcat portable ?
...
Hello,
I am using Flash builder 4 (SDK3.5) to create my flex program.
I want to deploy this program and load it to a tomcat server.
I configure my "flex server" root folder and other parameters in the project properties.
The problem is, that i don't know how to make it generic. e.g. my friend's tomcat is installed in other directory on ...
Hello. I have a nasty issue with load-balanced Tomcat servers that are hanging up. Any help would be greatly appreciated.
The system
I'm running Tomcat 6.0.26 on HotSpot Server 14.3-b01 (Java 1.6.0_17-b04) on three servers sitting behind another server that acts as load balancer. The load balancer runs Apache (2.2.8-1) + MOD_JK (1.2.25...
I am developing a Tomcat app (actually it's a Red5 app, but this is effectively the same).
This contains the usual /WebContent/WEB-INF/lib folder, which is where I locate the various jars it uses.
Recently, I pulled a package out of my app project, and converted into a separate Jar project which was then released as open source (this ...
My web application requires functionality where end users can upload content, that can be later downloaded or viewed by others, the problem with current scheme is If I create such folder as part of your web project under webapps, every time I do deploy your web application (*.war), the content of that directory will be lost (or overridde...
Hi all
I'm writing a java application that runs in Tomcat, on a multi-core hardware.
The application executes an algorithm and returns the answer to the user. The problem is that even when I run two requests simultaneously, the tomcat process uses at most one CPU core.
As far as I understand each request in Tomcat is executed in separate...
Hey,
We have an Tomcat server where we're trying to log the HTTP version which the response is sent with. We've seen a few times that it seems to be HTTP/0.9, which kills the content (not supported I guess?). We would like to get some stats on this by using the access log in apache. However, since the header line for this isn't prefixed...
I read a lot about GlassFish application server that it supports the whole Java EE 6 specification. But which does Tomcat support?
I know that Tomcat is a JSP/Servlet container, but I see articles in web about "JSF and Tomcat", "Hibernate and Tomcat" and many more.
Can tomcat play with these technologies: EJB, JSF, JPA, Hibernate, Spri...
Is it possible to modify a .properties file in Tomcat, that is to add properties to it, instead of just reading them?
...