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
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
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
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 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
-pattern/*/url-pattern
/filter-mapping
___
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
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
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
, 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 Melbourne
Phone
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
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
are both passing POST
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
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
Application
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
]
--
_
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
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 user is a class
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 Resource tag, do you need the resource-ref in the web.xml
file. I have tried with and without and it doesn't seem to make a
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 log?
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
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(WEB-INF
? 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
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
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
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
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,
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
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
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!!
--
吴熊敏 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).
Best Regards,
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:
我也学习中问。但是我的中问不好!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 who
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
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 users@tomcat.apache.org
Sent: Thursday, June 21, 2007 12:27 AM
Subject: Re: Exchange
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/
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
_
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
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
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
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
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
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
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)
Connector port=5001 protocol=HTTP/1.1
connectionTimeout=2 redirectPort=8443 /
Connector port=4006 protocol=AJP/1.3
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@tomcat.apache.org
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-mail: [EMAIL PROTECTED
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
with 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.jacobrhoden.com
in the logs directory. I
cannot work out the problem and google was no help on this one. Any
thoughts?
Thanks, Jacob
__
Jacob Rhoden - http://www.jacobrhoden.com/
-
To start a new topic, e
Parsons Technical Services wrote:
Jacob,
Did you restart Tomcat?
Can you post your tomcat-users.xml?
Doug
- Original Message - From: Jacob Rhoden [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Monday, March 12, 2007 11:12 PM
Subject: tomcat-users.xml config in tomcat
__
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]
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
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
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-mail: users
Jacob Rhoden wrote:
I am having the seemingly common Broken pipe to mysql problem with
tomcat.
Resource auth=Container name=jdbc/blah type=javax.sql.DataSource
maxActive=5 removeAbandoned=true
maxIdle=2 maxIdleTime=300 idleConnectionTestPeriod=60
maxWait=1 username=blah
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/
-
To start a new
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=6
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 settings
, 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 Development
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@tomcat.apache.org
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
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
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 version.
Best
topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
__
Jacob Rhoden - http://www.jacobrhoden.com
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
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
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
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
:
From: 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 Context element is in server.xml (strongly discouraged),
there should not be a path attribute at all
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
Hi Guys,
I am new to all this so it could be a stupid question. In my server.xml
I have setup a second host 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:
Host name=fish.org
to 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 host context field.
I have setup a second host entry, to enable mapping of a particuar
application to a virtual host
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
Jacob Rhoden wrote:
My question now however is, the manager to manage deployment of war
files seems only to work for the first Host 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
72 matches
Mail list logo