Hello internet,
I have been looking for the past two hours for a script to reload my web app.
I'm using Tomcat on a windows server 2003.
I know that there is a link to reload
your web app, but i'm wondering if i
can automate the process to reload my
web app once every 8 hours.
I would really appreciate if you could give me hint or ...
During development I frequently have to deploy a large war-file (~45 MB) to a remote test server, normally I copy the file with scp to the server.
The WEB-INF/lib folder makes up the largest part of the war file, which includes all the required libraries (spring, apache-cxf, hibernate,...).
Now I'm searching for an fast and easy a way ...
Hello,
I have built web application for use in Tomcat. It depends on Spring. I have the following exception when trying to access it:
java.security.AccessControlException: access denied (java.lang.RuntimePermission createClassLoader)
I read tomcat docs, and found that I need to configure security. I added following lines to
"/usr/sha...
AnthillPro did not load correctly.
null
java.lang.NullPointerException
at com.urbancode.anthill2.impl.AnthillImpl.if(Unknown Source)
at com.urbancode.anthill2.impl.AnthillImpl.int(Unknown Source)
at com.urbancode.anthill2.impl.AnthillImpl.init(Unknown Source)
at com.urbancode.anthill2.Anthill.a(Unknown Source)
at com.urbancode.ant...
In this stackoverflow question the poster implies that you can set zeroDateTimeBehavior="convertToNull" as an attribute on the tag.
Does anyone know if this should be possible? All the docs I've looked at say that you can only add this property on the database connection url.
I'm actually looking for a way to set this property on the ...
I am using the following Apache config to forward requests to a Tomcat server:
ProxyPass /myapp ajp://localhost:8009/myapp max=2
This is a simplified config, but is enough to reproduce the issue, which is that the max parameter has no effect. If I through 10 concurrent requests to Apache, all 10 are forwarded to Tomcat at the same tim...
I have just started to use Apache Maven. Now I would like to make Maven to be able to make production and development enviroment deploys with one click. I'm using Eclipse (Springsource version) and I have Maven plugin installed. My server has tomcat and only thing needed for deployment is to overwrite old war with new one and server has ...
I'm working on a rather intensive rewrite and given a choice of the following options:
JSP / Java running on Tomcat
PHP running under Apache
Ruby (running under I'm not sure, ROR?)
A couple of basic questions I would like to know about the above.
Speed is a concern. We have a MongoDB backed database, so we shouldn't need to be waiti...
We building a Netty/NIO based service, and I'm considering the deployment of this service to our production environment. Our standard way of deploying services is as WARs, to be deployed inside Tomcats.
When I suggested the same approach here, I got shouts and complaints that "it shouldn't be done", because both Netty and Tomcat are ser...
Is there anyway of configuring tomcat to point more than one context at a webapp?
I need to point these two urls:
http://server.com/abc
http://server.com/def
to a webapp running under the context abc.
...
Heya,
I support an existing website written in Java and deployed to Apache tomcat. Let's call it: www.mywebsite.com.
This website includes a secure section, www.mywebsite.com/secure, which is behind SSL certificate authentication. As well as an SSL certificate, it also sets a session cookie with some user-specific information so that w...
We have a application running on Apache Tomcat. When the application is accessed from beyond a proxy, the session information is getting lost or the user is logged out after some time. Please advise.
...
I've compiled the source into the class Files, then putted at the folder:
Tomcat 5.5\WEB-INF\ROOT\classes\Files.class
And added this to the web.xml file:
<servlet>
<servlet-name>Files</servlet-name>
<servlet-class>Files</servlet-class>
</servlet>
But when I tried to access the URL http://localhost:8080/Files, I got this err...
I have two Grails apps developing in the same time that needs to comunicate with each other.
How can I run both of them with grails run-app?
If the server is already started and try to run the second app I get:
Server failed to start: LifecycleException: Protocol handler initialization failed: java.net.SocketException: Unrecognized...
In my java code, I have System.out.println(...) statement which is invoked by jsp. But I don't see anything being written to tomcat console. I've googled around and seems no clear answer on it.
I'm using tomcat 6.0.
Thanks
...
I was working in Netbeans IDE and switched to Eclipse.
I created a simple JSF 2.0 based using wizard in eclipse. The complete file is this.
index.jsp
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h" u...
Is there a way to run log4j appender at a specified time?
log4j.rootLogger=INFO, R
log4j.appender.R=org.apache.log4j.DailyRollingFileAppender
log4j.appender.R.File=${catalina.home}/logs/catalina.out
log4j.appender.R.DatePattern='.'yyyy-MM-dd
log4j.appender.R.layout=org.apache.log4j.PatternLayout
I have put the log4j.properties under /...
Hello everyone, I have an aplication which uses tomcat runtime. I've implemented its comet example and i'm having some problems to recognize why doesn't server's data arrive on browser after I use the flush method from the PrintWriter of the ServletResponse.
The biggest confusing thing is that sometimes it just works. I don't understand...
I have developed this small app and run it on Jetty with no problems...
Bug.groovy:
package itsafeature
class Bug {
String name
String description
Priority priority
Project project
static belongsTo = Project
static constraints = {
name(size:10..150)
description(size:25..1500)
project...
I'm developing a maven project with following structure:
main // project which packaging is pom
|-- datalevel-project
|-- service-project
`-- web-ui-project
I'm trying to run project on tomcat but when I command mvn tomcat:run on the folder of main project I get an error while it is building the service-project:
Failed to resolve ...