Hi Guys,
I am working on creating some more scalable tomcat applications. I have
addedd a SessionListener and it seems that hitting a jsp page triggers a
session to be created.
If there are 1000 users and only 10 are signed in, I dont think 1000
sessions need to be created yes. How do I turn off
Hi,
Are there any web sites that show/compare the performance of a plain
install vs adding the native libraries for tomcat? How many of you guys
actually use the native libraries in production, ie is this common or
uncommon?
Best Regards,
Jacob
--
Richard G. Reyes wrote:
May I ask how you guys deploy on a remote tomcat servers? Is there a
way to automate deployment?
The most common way is to use an ant build file. One task to build the
war, and another task to deploy it. Its quite simple once you know how.
I don't have time to write how
Hi Guys,
We are trying to introduce Java technology in our workplace (all the staff have
been recently re-trained in Java). As far as I can tell, our System
Administrators are really only resourced to be able to install standard Redhat
packages.
I initially thought we could install a clean va
How could Cruise Contol possibly allow you to tell tomcat to (remotely)
clean its work directory from an ant build script? I use hudson for
continuous integration so maybe I am missing something.
Marcio Camurati wrote:
Maybe CruiseControl can help you to make it, it's a project that for create
AuthorisationFilter
/*
RewriteFilter
/*
___
Jacob Rhoden
http://www.jacobrhoden.com/
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL
Hi Guys,
I am trying to find some simple project task manager to improve my small
project management. Does anyone know of any tomcat based "task
repositories" that integrate with Eclipse, and are small and simple.
There is JIRA but it is large and expensive.
(I would much prefer to have a si
Hi,
Just wondering if there is anyone who has been or is involved in cross
JEE container work, how compatible are tomcat apps with other commercial
apps such as OC4J, Websphere, BEA and so on? If you don't use tomcat
specific things, does it "just work", I ask because the compatibility
issue
figuration says, display the error
page from an apache httpd directory instead of trying to display it from
tomcat.
Hope that helps!
Best Regards,
Jacob
--
_____
Jacob Rhoden
Application Architect
Systems Development and Integration
University of
ECTED]
--
_
Jacob Rhoden
Application Architect
Systems Development and Integration
University of Melbourne
Phone: +61 3 8344 2884
-
To start a new topic, e-mail: users@tomcat.apache.o
Mark Thomas wrote:
Jacob Rhoden wrote:
This is as far as I got. Why would the browser be encoding its requests
in anything other than base64.
Are you using mod_jk? There is a config that could cause this.
We did not configure the server, our provider did I just checked
which of the %xx values is invalid.
Are you using mod_jk at all? If so, you'll need to look at browser to
httpd/IIS/etc and httpd/IIS/etc to Tomcat. You can turn up the log
level to look at the mod_jk messages.
--
_____
Jacob Rhoden
A
at are resulting in this exception.
A quick search on google reveals a bunch of other people who dont know
what it is, and well, the source code that throws the exception.
Best Regards,
Jacob
--
_
Jacob Rhoden
Application Architect
Systems De
commands that are resulting in this exception.
A quick search on google reveals a bunch of other people who dont know
what it is, and well, the source code that throws the exception.
Best Regards,
Jacob
--
_
Jacob Rhoden
Application Architect
Propes, Barry L wrote:
there's lots of people who combine the two -- I currently am, because our UNIX
support group has not made the environment compatible for or with Tomcat!
Sounds like you and I have the same employer (: But seriously, I am
trying to work out the pro's and cons of standal
Wow, this is the first time I have heard of someone wanting to use
Tomcat with IIS. Most IIS people would be using .NET. (I am interested
to hear from people if its possible and why you would do it)
Is there a speciffic reason you need to connect it to IIS? Did you know
that tomcat can be used
Jacob Rhoden wrote:
I have recently discovered the tomcat manager can not only show a list
of sessions, but the "Gussed username" for that session. This is very
handy except it seems to read a session variable called "user" and
just displays it. Our session object called &
urce
code but am only up to this so far:
--
public static String guessDisplayUserFromSession(Session in_session) {
Object user = SessionUtils.guessUserFromSession(in_session);
return escapeXml(user);
}
---
Thanks,
Jacob
______
have since given up on using packages and installing a clean version of
tomcat/java per server. I have not had any trouble since!
Best Regards,
Jacob
--
_
Jacob Rhoden
Application Architect
Systems Development and Integration
University of Melbourne
Hi,
I am having trouble with something google and the docs cant seem to help.
1) After setting up a connection to a database in the context.xml file
using the tag, do you need the in the web.xml
file. I have tried with and without and it doesn't seem to make a
difference.
2) I want to be
John Hui wrote:
I currently have Tomcat access log enable which will log all the query
that
hits my web server. Some of the information is "confidential". So is
there
a mechanism that I can use to add a interceptor or filter to "encrypt"
those
information before it gets log into the access l
? I know what technically
can be done, but what should be done?
Thanks,
Jacob Rhoden
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Much Appreciated! Thanks.
Edoardo Panfili wrote:
Jacob Rhoden ha scritto:
what is the correct way to find the location of your WEB-INF
directory (or your apps directory for that matter).
try with
String x = this.getServletContext().getRealPath("WE
Hi,
I have seen a few apps do this now and I would like to do it, to have a
configure page that read and writes a properties file somewhere inside
the WEB-INF directory. That said, I have been researching and cant find
out where, what is the correct way to find the location of your WEB-INF
di
Hi,
I am by no means an expert, however generally I too have had problems
running the latest versions of tomcat using Java < 1.6.0.
I am not sure of the reason but using Java 1.6.0_02 makes most problems
go away. (I am guessing the tomcat 6 distro is compiled with java 1.6?)
Try this to get
I just thought of a very speciffic example that might make what i was
saying clearer. Using the educational field again:
Just say you have a central student enrollment online system. Faculty A
just wants the student to fill out all forms, say Form 1, form 2 and
form 3. However Faculty B says,
Johnny Kewl wrote:
Hi Jacob. thanks
There is tons of literature on it, but boy its like looking for a
needle in a hay stack actually finding one that clearly uses all this
technology
Portal Architecture is heavily used by teaching institutions to solve a
number of speciffic problems (not
Where I work, we run a fairly simple Oracle based portal, there are a
large number of people who do this, mainly universities:
https://ceai1.campuseai.org/portal/page?_pageid=933,5339000&_dad=portal&_schema=PORTAL
-jacob
-
To
It is not as simple as Michael implies, It is my understanding that
tomcat 6 makes many improvements over tomcat 5. If this is correct then
it makes choosing between 5 and 6 more complicated than you suggest.
(And to someone who does not know what the JSP/servlet specs are, this
is even more un
Tolou Taherinia wrote:
I have found mod_aspdotnet a loadable Apache 2 module for serving ASP.NET
content using the Microsoft ASP.NET hosting and Microsoft .NET runtime within
the Apache HTTP Server process. Is mono a better solution?
The first hit on a google search says mod_aspdotnet is d
What a great idea, why didn't I think of that?
Sam Klin wrote:
> Can this witty exchange continue in private email?
>
> - Original Message -----
> From: "Jacob Rhoden" <[EMAIL PROTECTED]>
> To: "Tomcat Users List"
> Sent: Thursday, June 2
Oops, I did not mean to send this to the mailing list. Sorry. We should
take the conversation off the tomcat mailing list.
_
Jacobs Blog -- http://www.jacobrhoden.com/
-
To start a new
我也学习中问。但是我的中问不好!I like learning chinese, however I am
not very advanced. I am interested in learning, however I dont know how
this would work over email?
Best Regards,
Jacob
吴熊敏 wrote:
> Dear All,
>
> I'm learning English,is there anyone want to lean Chinese.
>
> I wish to find one w
Sorry, I need to correct myself. I just checked with my Chinese
colleague to make sure I was getting my Chinese right, and he says 比如
is a better translation than 比喻。
Best Regards,
Jacob
-
To start a new topic, e-mail: users@tomc
吴熊敏 wrote:
> Thanks very much.
> I have another question,what does "ie" here means? Is it the same as "it"?
>
> I have seen this word "ie" in many mails,but i don't understand its
> meaning.
>
"ie" means "For example". It is similar in usage to "比喻说". (I think they are
the characters, not sure)
Hi,
The closest manderin sound would be "nv2 bi4" , ie sounds a bit like
characters "女毕".
Best Regards,
Jacob
吴熊敏 wrote:
> I don't know the pronounciation of this word "newbie".
>
> [nju:bai] or [nju:bie] or ..?
>
> who can tell me!
>
> Thanks in advance!!
>
--
Hi,
Under tomcat 5.5, I would prevent the database connections from timing
out by having a Cron job that accesses the website every 10 minute.
(Because I couldn't work out a better way). This no longer works under
tomcat 6. Are there any better ways than I am not aware of.? I don't
think incr
Hi Guys,
Slightly off topic, I notice when I post, my email address ends up on
hundreds of websites on google. How do people get around this? Fake
email addresses?
Best Regards,
Jacob
_
Jacobs Blog -- http://www.jacobrhoden.com/
-
David Delbecq wrote:
Java comes with a profiling tools available that dump information on a
text file upon exist. Look at sun web site for docs about profiling. You
jun then have to set the appropriate parameters to your CATALINA_OPTS
Hi, Thanks for your reply however I cant find anything usef
Jacob
_
Jacob Rhoden
Application Architect
Systems Development and Integration
University of Melbourne
Phone: +61 3 8344 2884
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED
I finally upgraded everything to java 6/tomcat 6. Its all nice! There
does seem to be a bug in the manager app. The application list comes out
formatted strangely. (See attached picture if it works). I think it
might be a bug.
-j
---
Pid wrote:
Jacob Rhoden wrote:
If I only allow connections to tomcat through apache (mod_jk), is it
ok then to turn off the the http connector...
Yes, just comment it out and restart.
I have already done it. Thanks! I was just worried there would be some
un-intended repercussions.
Best
No idea, just a thought though: Tomcat 6 seems to require all your add
on jar libraries to go in /lib instead of /common/lib Are you sure you
do not have any special jar libraries that must go in there?
Gmail User wrote:
I am trying to migrate my app from TC5.5.15 to TC6.0.13 under Linux with
Hi,
The manager application status page reports the following regarding
memory usage:
Free memory: 0.86 MB Total memory: 9.35 MB Max memory: 63.56 MB
I am confused about what this means. What is the difference between
total memory and max memory. Is the free memory what is left of total
mem
Hi,
If I only allow connections to tomcat through apache (mod_jk), is it ok
then to turn off the the http connector, ie (for example in tomcat 6)
So that tomcat only listens on the AJP port? Thanks.
Best Regards,
Jacob
--
s own file
permissions and so on.
Make sense? Lookup "Tomcat LDAP" in google. (:
_______
Jacob Rhoden - http://uptecs.com/
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-ma
mcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_______
Jacob Rhoden - http://uptecs.com/
-
To start a new topic, e-mail: users@tomca
good websites on how to do this?
Thanks,
Jacob
__
Jacob Rhoden - http://www.jacobrhoden.com/
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL
eclipse, I kept on getting strange log error messages with
plain vanilla install on Home Windows XP (although admittedly the hong
kong edition of xp). I have nothing against eclips, but Netbeans "just
works".
--
______
Jacob Rhoden - http://www.jacob
- From: "Jacob Rhoden" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Monday, March 12, 2007 11:12 PM
Subject: tomcat-users.xml config in tomcat 6
This is probably something very dumb on my part (: but, when I try to
use the manager app in a fresh tomcat 6 in
d google was no help on this one. Any
thoughts?
Thanks, Jacob
______
Jacob Rhoden - http://www.jacobrhoden.com/
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [
mail. (:
Best Regards,
Jacob
______
Jacob Rhoden - http://www.jacobrhoden.com/
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
how to set global variables in Tomcat and
initialize them using the Java classes that I wrote.
Thanks
--
______
Jacob Rhoden - http://www.jacobrhoden.com/
-
To start a new topic, e-m
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jacob,
Jacob Rhoden wrote:
Hi, Has anyone here ever had to use a cgi-bin directory to try and
connect to tomcat? ie, some script that when run under cgi-bin,
connects and forwards the info to tomcat?
Ugh. This
Regards,
Jacob
--
_
Jacob Rhoden
Application Architect
Systems Development and Integration
University of Melbourne
Phone: +61 3 8344 2884
-
To start a new topic, e-mail: users
David Smith wrote:
I think I see what's happening here. You've told the database pool to
continually test connections every hour. The validation query itself
validationQuery="select 1" testWhileIdle="true"
timeBetweenEvictionRunsMillis="6"
minEvictableIdleTimeMillis="600
cuments to find out why having the connection
automatically reconnected if there was a problem is bad thing, it is not
clear from first reading.
Best Regards,
Jacob
______
Jacob Rhoden - http://rhoden.id.au/
-
Jacob Rhoden wrote:
I am having the seemingly common "Broken pipe" to mysql problem with
tomcat.
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost:3306/blah?autoReconnect=true&useUnicode=true&characterEncoding=utf8"/>
I ha
I am having the seemingly common "Broken pipe" to mysql problem with
tomcat.
All i could find was some info about a "maxideltime" setting and
"idleconnectiontestperiod" where can I find out info about tuning to
make sure tomcat doesn't serve out stale database connections? The
following setti
starts up, this
thread does something every two weeks, and make sure when the
application is shut down the thread is also shut down or you will have
lots of grief.
Best Regards,
Jacob
--
_____
Jacob Rhoden
Application Architect
Systems Devel
waiting for 10 minutes for
data to come back).
Yes this is the best way!
Best Regards,
Jacob
_____
Jacob Rhoden -- http://www.jacobrhoden.com/
-
To start a new topic, e-mail: users@tom
Jacob Rhoden wrote:
Sql problem: java.sql.SQLException: Cannot convert value '2007-01-28
01:19:15'
from column 5(2007-01-28 01:19:15 ) to DATE.
For future reference, If you receive this error in your servlet, it can
be resolved by upgrading the mysql connector to the latest versi
You can only run two versions of tomcat if they are configured to use
different network ports. Make sore both versions are using a different port.
Best Regards,
Jacob
ICT Department wrote:
New problem, although the one from the other day still exists about the IE
issues with starting JSPWiki -
Hi Guys,
I am getting a very strange problem I have no idea where to start and I
thought you guys might know, its possible its not may not be a tomcat
problem...
I am running netbeans 5.5(tomcat 5.5.17)/java 1.5/mysql connector 3.1.13
The production server has java 1.6/mysql connecter 3.1.13
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
______
Jacob Rhoden - http://www.
I have been using that configuration for a while with a medium traffic
site no troubles so far. (:
Kobe wrote:
Hi -
Are you using Tomcat5.x with JDK6 in production?
Are there any problems to be concerned about?
Thanks,
Kobe
Caldarale, Charles R wrote:
From: kkus [mailto:[EMAIL PROTECTED
Thanks! That makes it all clear (: So it means if you have 5 hosts you
need to have 5 applications in netbeans all called ROOT (:
Caldarale, Charles R wrote:
From: Jacob Rhoden [mailto:[EMAIL PROTECTED]
Subject: Re: Deploying to / using context.xml
Thanks, let me change my question then
: Jacob Rhoden [mailto:[EMAIL PROTECTED]
Subject: Deploying to / using context.xml
I have tried with path="" and path="/", what am i doing
wrong? They are both tomcat 5.5.x
Unless your element is in server.xml (strongly discouraged),
there should not be a path attri
I think either a LifecycleListener or ServletContextListener is what you
want, you can detect tomcat startup/shutdown and/or application
startup/shutdown
http://tomcat.apache.org/tomcat-5.5-doc/catalina/docs/api/org/apache/catalina/LifecycleListener.html
"Let's write a simple application life
Hi Guys,
I am a bit stuck with something. When I deploy my web app in netbeans
5.5 it puts my app under / (instead of /Appname/) after changing the
context.xml
When I deploy using the tomcat manager manually to the production site,
it goes under /Appname/, why would this be?
My context.xml
I am no expert, but I thought there was a thing called a
LifecycleListener where server.xml can be configured to call some java
code upon startup of tomcat, this would do what you want yes?
Caldarale, Charles R wrote:
From: cifroes [mailto:[EMAIL PROTECTED]
Subject: timestamp of tomcat startup
Jacob Rhoden wrote:
My question now however is, the manager to manage deployment of war
files seems only to work for the first container with directory
/usr/local/webapps. How do I make it work for both? Do I have to load
two copies of the manager somehow? (I dont have much memory on this
I would like to use virtual hosts so that:
mainserver.com:8080/Application1/index.jsp maps to fish.com/index.jsp
mainserver.com:8080/Application2/index.jsp maps to apple.com/index.jsp
Thanks for your patience, I have one final question I think, Based on
previous posts, I have created inside
documents that might help would be much appreciated!
Best Regards,
Jacob
Caldarale, Charles R wrote:
From: Jacob Rhoden [mailto:[EMAIL PROTECTED]
Subject: Problem setting server.xml field.
I have setup a second entry, to enable mapping of a particuar
application to a virtual host in apache (via
Hi Guys,
I am new to all this so it could be a stupid question. In my server.xml
I have setup a second entry, to enable mapping of a particuar
application to a virtual host in apache (via mod_jk2). The following
seems to work ok, except or a possible bug:
direct
75 matches
Mail list logo