Hi ,
I am getting Following Exception while configuring the Connection Pool in Tomcat
This is Context.xml
<Context path="/DBTest" docBase="DBTest"
debug="5" reloadable="true" crossContext="true">
<!-- maxActive: Maximum number of dB connections in pool. Make sure you
configure your mysqld max_connections large en...
I am deploying a webapp from eclipse to tomcat. I am having an issue with my application and JNDI lookups. When the app tries to load the JNDI resource I am this stacktrace:
javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
java.net.Con...
I'm looking for a hint how to make tomcat CI ready or an servlet container / application container which stand often redeploys like they happen when using hudson ci.
I experienced that Tomcat 6 does not properly undeploy webapps, leaving classes in jvm.
For example I monitored tomcat 6 with VisualVM: on start 2000 classes, on deploy ...
I am implementing SOAP web services for a commercial application, and I am using GroovyWS to speed up the development.
But, when I deploy it on Tomcat, I am not using Grails, as the software has it's own J2EE framework, so how I do I get it to react to wsdl requests?
Do I need to write a groovy-based servlet?
Ideally I would like the...
Here's my problem... I have a small prototype app (happens to be in Grails hosted on AWS) and I want to add the ability of the user to upload a few (max 10) images. I want to persist these images on disk on the server machine, in a folder location which is outside my WAR.
I realise that there is probably a super-scalable solution invo...
At the moment, I have lot's of Java which does all kind of nifty stuff and I'm happy with it. The code is command line driven which have been great so far, but I recently decided I want to make the functionality available through web-services. Since my is complex and I'm happy with the way it's written , I don't want go through the pain...
I need to make available to browsers data file produced by my web service method. Indeed the web service method should return url to produced file. I'm working with axis2 on tomcat.
...
I'm very new to Tomcat and I'm having some issues figuring out how to set it up. I set it up on Ubuntu Linux and started reading and trying to follow the information given on the apache website here: http://tomcat.apache.org/tomcat-6.0-doc/deployer-howto.html
Apparently I'm missing something. I have a WAR named MyWebapp.war and it's i...
Grails tends to write out the URL for everything that uses its tags as /appName/whatever. For instance, if I use the tag:
<g:javascript library="jquery"/>
the resulting tag is
<script src="/appName/jquery/jquery.js"></script>
This causes an issue with using ProxyPass with Apache/Tomcat. All of my CSS, JS, Images and links have th...
What is the easiest way to print out something in a Tomcat Log file.
I was under the impression that System.out.println() would print to one of the log files.
I just want to print out the value of a string, so the simplest solution would be best. If there is no simple/trivial solution I guess I will use Log4J
EDIT: I used Log4J as fol...
When I start Tomcat from Eclipse v3.3.1.1, it starts, but when I try to access a web application from a browser it does not detect that the server is started. I need to stop the server from Eclipse and then restart it by running start.bat and then the web app works fine. Can anyone tell me why is this happening?
...
Hi,
I'm building a webapp that should run on both Tomcat and WebSphere and I've managed to make almost all the differences into properties with default values that I can override for deployment on the Tomcat server.
I need to do yet another override for the authentication provider bean...
public void postProcessBeanFactory(Configurab...
I've got Hudson (continuous integration system) with the git plugin running on a Tomcat Windows Service. msysgit is installed and the msysgit bin dir is in the path. PuTTY/Pageant/plink are installed and msysgit is configured to use them.
When I run a job that attempts to clone the git repository I get the following error:
$ git clone...
I'm trying to log the raw body of HTTP POST requests in our application based on Struts, running on Tomcat 6. I've found one previous post on SO that was somewhat helpful, but the accepted solution doesn't work properly in my case. The problem is, I want to log the POST body only in certain cases, and let Struts parse the parameters from...
We have a custom CMS running on Tomcat, we added the following config:
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet .xlsx
I can download those Excel 2007 Files without Problems in FF, OP, Chrome, Safari. But in IE I get a Download Box for a ZIP File. I changed IE8 Settings to recognize Filetypes from Fileextension...
Hi,
When tomcat hits a breakpoint in Eclipse, the execution thread stops, but the breakpoint takes absolutely ages to appear in Eclipse. The same is true if I try to inspect a variable; the first time takes about 2 minutes. After that, the debug session is fine.
What with that and the CONSTANT need to keep re-publishing to tomcat every...
Hi,
I am new to Tomcat, and trying to run a simple HelloWorld servlet. I have installed Tomcat 6, and Jdk1.6 on Mandriva Linux, set CLASSPATH and JAVA_HOME. I have the following files and directories:
$CATALINA_HOME/webapps/MyApp/WEB_INF/classes/TestServlet.class
$CATALINA_HOME/webapps/MyApp/WEB_INF/web.xml
My web.xml file co...
Hi all,
I have three Windows Server 2003 with 2 GB RAM.
Server1 tomcat 5.5.25 jvm version SUN 1.6.0_11-b03
Server2 tomcat 5.5.25 jvm version SUN 1.6.0_14-b08
Server3 tomcat 6.0.18 jvm version SUN 1.6.0_14-b08
For the three servers JVM parameters are:
-XX:MaxPermSize=256m
-Dcatalina.base=C:\Apache Group\apache-tomcat-5.5.25
-Dcata...
Hello All,
I am running some sites on IIS 7.0. But yesterday one of my client me to host a Java website. I cant host that website directly so I installed tomcat server on port 8080. Now I want whenever browser send a request for that website it should redirected to my tomcat internally. The client URL should not update.
Regards,
Pratee...
I have an application that usually is hosted on a Windows 2003 Apache Tomcat server and integrates with clients websites. We were thinking about using Amazon's EC2 service as an alternative so we can work within a predictable hosting environment. Unfortunately, and for obvious reasons, you only get 5 Elastic IP addresses (static ip ad...