Hi, has anybody worked with a Grails application in production in Jetty and Tomcat and has noticed any important differences ? I started having out of memory problems with tomcat 6.0.24 that were fixed when I updated to 6.0.26, and I was wondering if Jetty had that kind of issues too.
...
I am using tomcat as a window service and I want to turn on the java -server option on for the jvm. I tried to do this by putting a -server option into the java tab in Tomcat6w application (the tomcat monitor application). However, this didn't work, Tomcat wasn't started, looklike Tomcat6w expects only D or X options for the jvm. Anyone ...
Hi all
im planning to use java/jsp for web application installed on virtual web hosting space
i know tomcat very well but i keep reading about jetty that is small and fast
what to you think from your experience about the two ?
what is better ?
i will use Nginx for static pages .
...
Hello guys..
I have a .war file of a web application. I installed the tomcat6 manager and i deployed the war file using that. But after that i am not able to get it running. I get a FAIL message saying FAIL - Application at context path /apnaPradesh could not be started. apnaPradesh is the deployed war filename.
Also i get the followin...
I'm trying to forward a request to another URL which includes the hash symbol ('#'):
request.getRequestDispatcher("/some/path.jsp#somehash").forward(request, response);
Tomcat, however, tells me that "the requested resource is not available". If I remove the hash from the URL, everything works fine. Are hashes not allowed or am I not ...
When I try to add Tomcat as a server runtime environment in eclipse, I get the following error "No new server runtime environments were found"
The way I am trying to add Tomcat is as follows:
Click "Window"-> "preferences"
Expand "Server->Runtime Environments"
Click Search
In the directroy browser dialog, navigate to and select my Tomcat...
Mime-types are specified in Tomcat's conf/web.xml file.
It's look like this:
<mime-mapping>
<extension>txt</extension>
<mime-type>text/plain</mime-type>
</mime-mapping>
Previously I try following:
<mime-mapping>
<extension>*</extension>
<mime-type>application/octet-stream</mime-type>
</mime-mapping>
but it doesn't help...
i have a web app deployed on path
/var/lib/tomcat6/webapps/abc/
in server.xml on path /etc/tomcat/server.xml i have added following lines.
<Context docBase="/var/lib/tomcat6/webapps/abc/" path="/" reloadable="true">
<Resource auth="Container" driverClassName="com.mysql.jdbc.Driver" maxActive="20" maxIdle="10" maxWait="10000" name=...
Currently, we store datasource definitions in the Tomcat container inside server.xml and expose environment variables through context.xml.
Any time we change an environment variable or datasource, it requires a server restart for those changes to be live.
Is there a way that we could create a web application to manage these things? Ins...
hi, i'm using Netbeans 6.8, jdk 1.6.0.21 and jre6u21....i developed a simple web service using nothing but sql connection, oracle datasource and when i try to deploy it it gives me the same exception each time:
SEVERE: Exception sending context initialized event to listener instance of class com.sun.xml.ws.transport.http.servlet.WSServl...
I try to write selenium tests for a web site.
I used a tomcat server with a MemoryRealm authentication cf
<Realm className="org.apache.catalina.realm.MemoryRealm" pathname="/DEV/tomcat1/conf/tomcat-users.xml"/>
I didn't find how to set authentication in my tests. I tried to put in "selenium.open"
selenium.open("http://user:pass@mys...
How can i load a class on at startup in Tomcat ?
I saw "load-on-startup" tag for web.xml file, but can i use it and how should I write my class ?
EDIT: ok, but how can i implements this class and xml is it right ?
< servlet-name>??< /servlet-name>
< servlet-class>??< /servlet-class>
< load-on-startup>10< /load-on-startup>
...
Does anyone know if it's possible to deploy a war that could weave dynamic aspects around the method invocations of a class in a seperate deployment on the same tomcat server? I understand the security implications of this but we're looking to be able to audit our application as invasively as possible.
Also is it possible at a war's de...
I have a multi module maven web application, which uses hibernate.
I use the tomcat:run goal in order to run it on the embedded tomcat server of maven. Everything works fine so far.
But now I need to switch from an explicite jdbc configuration in the hibernate.properties to a datasource. I did the following:
changed hibernate.propert...
hello,
i have my tomcat server running, i downloaded the guacamole vnc viewer, and i followed the instructions on : http://guacamole.sourceforge.net/
however when i type :http://localhost:8080/guacamole/ i get error message : http status 404 The requested resource () is not available.
anyone using guacamole, plz can you explain the st...
I've a SmartGWT ListGrid which loads some data using gwt-rpc service calls.
My grid has a datasource with a fetch method like this :
protected void executeFetch(final String requestId, final DSRequest request, final DSResponse response) {
try{
MyServiceAsync myProxy = MyServiceUtil.getProxy();
myProxy.getDataAndFill...
When I get from MyBean some text, for example, <p>Hello world</p> and include it into jsp via jsp:getProperty in resulting html page it will be <p>Hello world</p>
I could guess that tomcat's team did this due to security reasons but it's not behaviour that I want to get.
Q:how to get needed behaviour?
UPD:
@Jörn Horstman...
Hello, I am having issues deploying my Jersey RESTful web service to weblogic 9.2
I followed a tutorial at http://www.vogella.de/articles/REST/article.html.
The tutorial is for java 6 and tomcat 6 which it works fine for. However, I need to convert this to java 5 and tomcat 5.5 so that I can successfully deploy it on weblogic which use...
I'm new to Grails (but not to Groovy or web development).
I'm trying to write a web app that accepts REST requests. The problem I have is that despite following - as far as I can tell - the documentation, I still receive 404s when hitting what I believe is the correct URL.
The details are as follows.
The project is brand-new (using G...
How do I populate a dropdown list (in a JSP page) dynamically with all the folders present in the same directory as the JSP page, on Apache Tomcat?
...