What is the best way of getting some of the stack trace info, perhaps the Exeception.message onto my custom error 500 page with tomcat, spring, jsf? I'd just like the root cause of the exeception displayed.
...
This is possibly related to a classpath problem, but I'm really not sure at this point, since I don't get this error on some machines.
The error at the top of the stack is SAX2 driver class org.apache.crimson.parser.XMLReaderImpl not found. Why would I get this error only in some environments, but not others? How can I further investi...
I've had some problems with reading and writing UTF-8 from servlets on Tomcat 6 / Linux. request and response were utf-8, browser was utf-8, URIEncoding was set in server.xml on both connectors and hosts. Ins short, every known thing for me in code itself, and server configuration was utf-8.
When reading request, I've had to take byte ...
Hello,
I'm trying to change the default application of Tomcat 6 webserver to other application than "ROOT" (inside webapps folder).
I Tried googling around but couldn't find anything that works...
Any help is greatly appreciated.
Jacques
...
my application uses eclipse and run on Tomcat server.technology used is 'JSF'. while running my application i m getting exception like:
java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key Content Management Exception
Please suggest what to do?
...
At the moment my build process consists of repackaging the war file with all required java libraries under WEB-INF/lib and then copying the war file to development/demo/production server to be redeployed by tomcat.
The packaged war file's size is about 41M and it has at the moment something like 40M of external java libraries. There ha...
Hi,
I've been doing PHP/MySQL web development for a while and I'm fairly competent in it. Lately however, I've learnt Java and fallen in love with it, and I'd really like to do more Java work now.
I've gotten my first opportunity with a client who needs a web 2.0ish web app built, and he has agreed to let me use anything I want to, inc...
I'm getting this error when trying to access my webservice running inside tomcat.
Caused by: java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstr
ap classloader, but this RI (from jar:file:/C:/software/tomcat6/webapps/messagin
g/WEB-INF/lib/jaxb-impl-2.1.5.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.c
lass) needs 2...
Hi!
I want to develop an Java application that can detect the user logged on a Window Domain. These credentials are going to be used to logging on the Java application running on Tomcat.
How can I do this? I want to know the remote user accessing my web app. This user is logged on a active directory
Thanks!
...
I'm trying to come up with a rule on our F5 to direct traffic to our Tomcat server appropriately. We are deploying separate WAR files for each RESTful service. So, we would like to have the following URIs as an example:
/services/quiz/01234/
/services/user/54321/
Where 'quiz' and 'user' are quiz.war and user.war respectively. We want t...
my site is running on linode. I have got 380+ MB RAM. I need to run the web server + Solr + Postgres + memcached on the same space.
Which is best Jetty or Tomcat? It is simple, plain search server. We use Pylons for development.
...
Hi,
I was wondering if anyone could post or know of instructions on creating a simple restful web service with eclipse and deployed on tomcat.
...
What happens when Tomcat fails during the upload process. Will it simply throw a 50X error. Is it possible to gracefully handle the server failure and forward the rest of the request to a different server.
...
Hi all,
I have a JSF frontend to a webapp served via tomcat. I want to be able to 'branch' to a page external to the web-app then have that page branch back to the original JSF page. Complications are that (1) occasionally a reasonably large chunk of data needs to be passed back and forth; and (2) the url of the external page is dynamic...
MySQL seems to have an 8 hour time out on its connections. I'm running multiple WARs in Tomcat utilizing Hibernate for ORM. After 8 hours (i.e. overnight), I get broken pipes when it picks up an idle connection.
I've already traced through the code and made doubly sure I commit or roleback all transactions.
Here is my hibernate.cfg.x...
Hi there.
I'm running Java web app using tomcat and I want to read a properties file that's located in my WEB-INF folder. How can I get an InputSteam to this properties file so I can read it?
...
Tomcat Version :5.0.28
JDK: 1.5.0.14
The problem:
I am using both hibernate and struts
We are not on the latest and greatest of the version for these libraries
So- both need a different version of apache-commons library.
The solution I have in mind:
Use manifest file and specify a different version of apache-commons for each
My web ...
What is the most minimal example of deploying a war to multiple tomcat servers using maven that can be written?
I've tried the following URLs and asked the mailing list, but not coming up with anything that was short and would simply work.
http://www.nabble.com/Deploying-to-Multiple-Servers-at-Once-td21592419.html
The example should...
Hello all,
I would like to take some action when tomcat service is going down. For example, I would like to simply log the stop time of the tomcat service. Is there any way to do this by applying hooks to tomcat lifecycle event ? If yes, then please provide some details.
I would like to call one class when tomcat is going down and this...
Hi!
I'm developing a JAVA APP that must run on a Tomcat and I need to be able to identify the remote user who is acceding to my application web.
This remote user is running on a windows, so I need to get his "windows login" (sAMAccountName active directory attribute).
On IIS is easiest. I follow this http://stackoverflow.com/questions...