I'd try the hudson mailing list; us...@hudson.dev.java.net and you'll
need to sign up first I'll bet.
Gagan Malik wrote:
Hi, I'm a newbie to both tomcat and ssh and here's my problem:
I have a web-app (Hudson) running on tomcat (ver 5). This Tomcat runs as a
service on RHEL box. Hudson trigge
In my /etc/init.d/tomcat shell startup script for linux I have
JAVA_OPTS="-server"
JAVA_OPTS="${JAVA_OPTS} -Xmx512m"
JAVA_OPTS="${JAVA_OPTS} -XX:MaxPermSize=256m"
JAVA_OPTS="${JAVA_OPTS} -XX:+PrintGCDetails"
JAVA_OPTS="${JAVA_OPTS} -XX:+PrintGCTimeStamps"
JAVA_OPTS="${JAVA_OPTS} -XX:+UseConcMarkS
What did you specify for the ip address that tomcat uses for connecting to the
database? If, for example, tomcat is using the host name of your machine, or
its ip address that you'd use to connect to it from the outside, and psql is
using localhost (127.0.0.1) which is a special ip address tha
As a workaround/kludge, could you have your tomcat startup scripts use the
database command line tool to query the database and if it fails or doesn't
return something reasonable, have it in a loop that sleeps for 5 or so seconds
and then tries again?
Nathan Aaron wrote:
I am using Tomcat 6.0
I was doing something like this with LogBack (successor to log4j more or less),
but I'm no longer using it and don't remember how I set it up. The class
starts as follows:
public final class InitLogback extends HttpServlet {
@Override
public void init() {
final String pathPrefix
http://lmgtfy.com/?q=tomcat+mysql+tutorial
E.g.,
http://www.roseindia.net/mysql/mysqldatabase.shtml
Tomas Rodriguez wrote:
Hi all
I'm new in Tomcat and java, I installed already Tomcat 6.0 for windows
2000, I have to mysql server and the connector/j for work together mysql
and Tomcat.
I dec
Go back and read my note to your previous post where I refer to CyberSource's Hosted Order Page (HOP) and credit card industry's PCI security requirements. For bed time reading, download the PDF of the PCI security requirements (the condensed version will suffice); they're breathtaking.
l...@w
jsvc is part of Apache Commons isn't it? Have you tried their mailing list?
http://commons.apache.org/daemon/mail-lists.html
Jeffrey Trimble wrote:
I'm running an IBM POWER server, AIX 5.3 and having the following error
appear when configuring
jsvc.
checking for gcc option to accept ISO C89
The PCI security requirements for doing your own credit card processing (where
your system touches the credit card number in any way, and doesn't even store
it) are quite extreme. You can easily avoid all those issues if you use
CyberSource's Hosted Order Page, or Auth.net's.
Caldarale, Char
Plan C: go for the gusto and use Spring Security (aka Acegi). Learning Spring
and Spring Security should keep you busy for the next year or so. Definitely
looks good on the resume though.
Charl Gerber wrote:
Hi everyone,
Does Tomcat provide default support in some way to implement a 'remem
Sometimes people people without any swimming lessons get thrown into the deep
end of the pool. Given the economy and layoffs, we'll probably see it more
often.
Mihamina Rakotomandimby (R12y) wrote:
David Smith wrote:
Since you haven't let us know anything about your server setup, we can
onl
Yuval, wouldn't that give you the client's address? I thought she wanted the
server's ip address, with the added wrinkle that her server has multiple
network interfaces.
Yuval Perlov wrote:
request.getRemoteAddr();
You can only get your actual IP after opening a connection. Of course it
ca
Look at the servlet api docs; it appears that you can get the ip address; have
look at javax.servlet.ServletRequest.getLocalAddr().
http://java.sun.com/j2ee/1.4/docs/api/index.html
Natalie Forood wrote:
Thanka, but if I have multiple interfaces on the server, how do I know which
interface t
Instead of trying to stop and start tomcat, would it help if your app used a
more functional scheduling system? For example, Quartz?
http://www.opensymphony.com/quartz/wikidocs/FAQ.html
paybackorfail wrote:
Hi, thanks for replying, my application will take some data from a website
and insert
Apache Tuscany, perhaps.
Christopher Long wrote:
Hello:
I was just wondering if Tomcat is able to do something similar to what I've
described below. If not, does anyone have any recommendations on a Web
Server that can?
I'm attempting to find a web server that can basically act as a hub. Sa
Of course it will; no doubts about it! Any self-respecting maven fanatic can assure you of that!!
;-)
epicwin...@hotmail.com wrote:
Thanks for all the replies. Nice to know i can do this without any side
effects.
I think I will have to look into maven and see if that fits my deployment need
If you build your war files with maven you can use maven's profiles and have it
build war files that contain settings tailored for each server.
http://www.sonatype.com/books/maven-book/
http://www.exist.com/better-build-maven
epicwin...@hotmail.com wrote:
Is there any advantage why I should n
If you have control of the mode of the directory where the files are placed you
may find the sticky bit helpful for propagating stuff down the treee:
http://www.dartmouth.edu/~rc/help/faq/permissions.html
epicwin...@hotmail.com wrote:
Date: Mon, 2 Feb 2009 22:00:24 +0100
From: a...@ice-sa
Are you sure about the group write permissions? I glanced at the jailkit web
page and it looks like it's sugar coating and chrome around a chroot. So I
would think that using unix groups would work. And on the flip side, if unix
groups don't work, it seems to me that ACLs wouldn't either.
30, 2009 at 7:45 PM, Rusty Wright wrote:
John Holman wrote:
Also is it a supported configuration to use commons-logging and log4j in
WEB-INF/lib?
Where else would you put them?
i.e. ${CATALINA_HOME}/common/lib
Saves the hazzle to put them into each w
John Holman wrote:
Also is it a supported configuration to use commons-logging and log4j in
WEB-INF/lib?
Where else would you put them?
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-m
get back z. You'd only
get back z if you fed it the string (a)+. These old regexps of the ed lineage
also didn't use the newfangled + notation; you had to list how many you wanted
to match, or zero or more; a* would match zero or more, aa* would match one or
more, etc.
André Warnier
nds I never remember to use,
same with xargs.
André Warnier wrote:
Rusty Wright wrote:
I love shell script hacks so my /etc/init.d/tomcat script has the
following in the upper part where it's setting variables:
TOMCAT_HOME=`grep ^tomcat /etc/passwd | sed -e
's/.*:.*:.*:.*:.*:\(.*\)
Try here:
http://subversion.tigris.org/
http://subversion.tigris.org/mailing-lists.html
Sneha Manohar wrote:
Hello ,
I wish to install SVN on my laptop . Do I need to install SVN server & client both ? . I have windows vista operating system which version do I need to install ?
sneha
any directories in it? Or is it
simply a replacement for the tomcat/webapps directory?
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rusty,
Rusty Wright wrote:
It's set up so that tomcat runs as the user tomcat. In order to do that
you'll need to tweak t
? Or is it simply a replacement for
the tomcat/webapps directory?
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rusty,
Rusty Wright wrote:
It's set up so that tomcat runs as the user tomcat. In order to do that
you'll need to tweak the ownership of the fi
(Repeating a reply I sent a week or so ago.)
I made this by modifying one for a different service.
It's set up so that tomcat runs as the user tomcat. In order to do that you'll
need to tweak the ownership of the files in the tomcat directory. I just made
everything owned by tomcat except we
Since "this" is com.google.gwt.user.server.rpc.RemoteServiceServlet, my first
guess would be that that's where the problem is. Have you tried the gwt mailing
list/forum?
bikkel bikkel wrote:
Good morning,
I'm using GWT in a web application running on Tomcat 6. This is running fine
for month
from
scratch, but going to keep it backwards compatible.
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rusty,
Rusty Wright wrote:
I'm in the process of migrating a MySQL database to PostgrSQL.
Is this to cool-off your DBA's ears? ;)
Seriously, if yo
I haven't tried any of these but they're in my bookmarks:
http://www.godaddy.com/
http://www.dailyrazor.com/java/private_tomcat.php
http://www.javaservlethosting.com/index.jsh
http://rimuhosting.com/
http://www.slicehost.com/
Sneha Manohar wrote:
Hello,
I am developing web application using
Regarding MySQL's autoincrement type, it looks like PostgreSQL has something
similar:
http://www.postgresql.org/docs/8.3/interactive/datatype-numeric.html#DATATYPE-SERIAL
I'm in the process of migrating a MySQL database to PostgrSQL.
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE--
That may be true about the public schema being used when one isn't specified.
But when I use their pgAdmin gui tool and open the query window and try to run
the tiger sample from the Jailer tutorial it blows up on the table creates,
saying:
ERROR: no schema has been selected to create in
I've found MySQL's error messages particularly worthless in some situations; I
had a foreign constraint and it was giving me some generic error when I was
violating that foreign constraint. Say MySQL around our DBA and steam starts
coming out of his ears.
The one warning I can think of with P
I never did that. What scripts?
Mark Thomas wrote:
-Original Message-
From: Martin Gainty [mailto:mgai...@hotmail.com]
Sent: 13 January 2009 14:18
To: Tomcat Users List
Subject: RE: Linux Runtime Script
Feris-
remember to edit $CATALINA_HOME/conf/catalina.policy and specify at
minim
Hmm, I see your point. I'll discuss it with others here and see what they
think.
Leon Rosenberg wrote:
Hello Rusty,
On Sun, Jan 11, 2009 at 6:10 PM, Rusty Wright wrote:
The reason making it a web app appeals to me is that then I can have it log
to a database, and I can twea
Too many bins; I meant /tmp/zzz (as it is in the script).
Rusty Wright wrote:
What options are available to you to determine if the daemon is ready?
For example, does it create a lock file? If so, you could modify your
tomcat startup script in /etc/init.d, the one that calls
/usr/local
If you're looking for a way to have a central log4j file for all apps, that may
not be easily done. I don't know how it is now, but I remember that in
previous versions of tomcat sharing tomcat's logging was problematic, which I
think may have been due to Commons Logging.
But that's just my h
I made this by modifying one for a different service.
It's set up so that tomcat runs as the user tomcat. In order to do that you'll
need to tweak the ownership of the files in the tomcat directory. I just made
everything owned by tomcat except webapps, which I own, but which is group
owned
on
process on one machine, or if it _must_ be in tomcat (why?) tie it to
an ip adress or server name, so the task just checks that it can only
run on tomcat1 or tomcat 10, or whatever...
Otherwise you'll need to check logs on all machines to find out which
run the task today.
Leon
On Sun, Jan
Ok, thanks; I'll look into terracotta.
Lucas Galfaso wrote:
Hi,
This should be strait forward if you use terracotta. If you have a
NFS that all Tomcat instances share, using FileChannel::lock is way
cheaper than any other solution.
-lg
On Sun, Jan 11, 2009 at 2:30 AM, Rusty Wright
What options are available to you to determine if the daemon is ready?
For example, does it create a lock file? If so, you could modify your
tomcat startup script in /etc/init.d, the one that calls
/usr/local/tomcat/bin/startup.sh, and have it check if the daemon is
ready and wait until it is
This isn't really a Tomcat question I'm guessing but I don't know where
else to ask.
In our setup we have multiple Tomcats behind a load balancer. I have a
background task that will run once a day, via Quartz. All Tomcats will
be using the same war so they will all run the job, but I need it
That seems like the usual race condition problem to me. Hopefully one of them
will get an error, at worst, and it won't silently overwrite the file with the
one from whoever won the race.
André Warnier wrote:
André Warnier wrote:
Hi.
What if user-a uploads a file called "abc.jpg" and then u
To add to what Alan said:
If I create a new Eclipse Dynamic Web Project, and name it MyWebApp during the
project setup, in the first window it has a drop down for Target Runtime. That
should be your installed Tomcat on your desktop development machine; Windows in my
case. It starts out with
re
understaffed and overworked so having a common setup for everyone on
this shared system seems reasonable to me.
André Warnier wrote:
Johnny Kewl wrote:
- Original Message - From: "Rusty Wright"
<[EMAIL PROTECTED]>
To: "Markus Lord" <[EMAIL PROTECTED]&g
Excellent; thanks!
Johnny Kewl wrote:
- Original Message - From: "Rusty Wright"
<[EMAIL PROTECTED]>
To: "Markus Lord" <[EMAIL PROTECTED]>; "Tomcat Users List"
Sent: Tuesday, October 07, 2008 11:31 PM
Subject: Re: tomcat ROOT
Hi Ma
Hi Markus, did you ever figure this out? I was looking in the archives of the
tomcat mailing list and saw your query but it didn't seem to me that anyone
answered it fully, at least not for me.
I figured out that I could remove/rename the webapps/ROOT directory and deploy
my war file as ROOT.
Sorry, I thought I did. It has nothing to do with tomcat; it's up to
the browser whether or not it assigns different sessions to the tabs or
not. Apparently IE, or some versions of IE, do. In my experience
Firefox doesn't. I think if you have multiple Firefoxes opened, i.e.,
separate window
Sessions are tied to the whole browser, not tabs within the browser. In
other words, it's a browser issue, not a tomcat issue.
murthy gandikota wrote:
Hello All
While using tabbed browsers (e.g. IE 7) I am facing a login problem. Say on
Tab#1 I login with a username A, on Tab#2 I login with us
Try doing a google search with
"servlets-cgi jar" site:apache.org
I don't see anything for Tomcat 6 in the results, only previous versions.
Troy Bull wrote:
Greetings
I am trying to enable cgi on my tomcat 6 installation. I followed the
instructions but it says to find and rename a jar
I have no personal experience with this but it might be a useful resource:
http://www.owasp.org/index.php/Securing_tomcat
abhay srivastava wrote:
Hello Folks,
How do I secure Tomcat version 6 ? Can anyone point me to right documentation ?
I am in a process of hosting a website on T
Tomcat is version 6.0.14, java is jdk1.6.0_03, eclipse is 3.3.1.1.
Tomcat is running under/in eclipse.
In a nutshell, I'm trying to use deferredValue with an attribute in a
simple jsp tag file, the kind of tag file that contains jsp, no java
code. When I added deferred value to my attribute
52 matches
Mail list logo