Hi all,
I have a basic doubt in tomcat configuration .
Though Iam not new java development Iam new to tomcat configuration.
can any one can tellme about diff between tomcat's server mode and client mode.
Or atleast give some pointers to the related resources
thank you
regards
Srikanth
Jojo Paderes wrote:
Hi,
I'm looking for some decent documentation and technical reference on
how to configure Tomcat's SSL cipher. Say for example I want Tomcat to
support a specific SSL cipher suite like Triple DES. Hope someone has done
something like this already.
I'm using Tomcat 5.5 btw.
Hi!
I posted this thread on friday evening, not a good idea, I think. Because
the problem is still there, I will have a second try...
I encountered a very mysterious problem using log4j with tomcat 5.5.9.
In order to use log4j i have the file commons-logging.properties in
my WEB-INF/classes
Thanks Mark. I agree, but they are the security people and I have to at least
try to comply. Do you think it would be feasible for us to change the
org.apache.catalina.authenticator.AuthenticatorBase for Tomcat 4.1.18 to change
the session ID post logging in? We'd obviously have to recompile
Hi!
I searched the internet and found a couple of people with
the same problem, but no explanation. Seemingly my error
with orr.apache... works, but it is not really satisfying.
One hint I found was that Log4JCategoryLog is deprecated,
and Log4JLogger should be used instead. So change your
Perhaps you can help me.
We have an application which used Tomcat v4, which I'm migrating to use 5.5.9.
We made some changes to the Tomcat source to allow JSP pages to be
preprocessed, so that we could strip out/add in certain code branches at
runtime based on configuration. We did this by
Hi folks,
Pretty new to the apache/tomcat world so please forgive any naivety.
We have an apache instance on one server that connects to a tomcat
instance on another using jk_mod
The problem is that no matter what values I use for the
worker.properties config the threads on the tomcat side are
How about integrating it in your ant build script?
This changes your preprocessing from runtime to compile time.
Bernhard
-Ursprüngliche Nachricht-
Von: Edward Hibbert [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 18. Juli 2005 11:32
An: tomcat-user@jakarta.apache.org
Betreff:
Our changes are things like diagnostic trace/logs, which we can't have
permanently switched on for performance reasons. We might want to switch them
on, occasionally, at a customer site.
Indeed, we don't want to have them permanently present in the JSP at all (i.e.
convert the pre-processing
From: Edward Hibbert [mailto:[EMAIL PROTECTED]
Indeed, we don't want to have them permanently present in the
JSP at all (i.e. convert the pre-processing into a run-time
check), also for performance reasons. That was the original
motivation for making this stuff pre-processed.
If you
Have you considered using the assertion facility in the Java 5.0 compiler?
Daron.
-Original Message-
From: Edward Hibbert [mailto:[EMAIL PROTECTED]
Sent: Monday, 18 July 2005 7:38 PM
To: Tomcat Users List
Subject: RE: Preprocessing JSP pages
Our changes are things like diagnostic
Without wishing at all to be ungrateful - this is just one example of what we
use the preprocessing for. I'm sure I can find a way to remove each of them,
and turn them into runtime switches, and find a way of making that perform ok
(if it needs it). If it were me, that's what I'd have done
I'm not sure what you mean. Throwing an assertionerror exception? Why would I
do that (for something like this) rather than using an if test?
Edward.
-Original Message-
From: Daron [mailto:[EMAIL PROTECTED]
Sent: 18 July 2005 11:18
To: 'Tomcat Users List'
Subject: RE: Preprocessing
If you place method calls in the assertion statements and compile the code
with assertions disabled the code for method calls should be removed (It
isn't removed from the .class files but hopefully from the output the JIT).
Your remark about what your supposed to do made me think of it.
Regards,
I am still stuck with this one (shouldn't have posted it on a Saturday
morning!).
I don't think it is my web.xml giving the problem - I am looking into
possible problems with missing or conflicting jar files
Reading through the release notes again for Tomcat 5.5.9, there is a
listing of the
Hi!
I am using Tomcat 5.5.9 and I have established a DataSource for
database connection pooling where I can get connections from.
But when I try to close the connection via myConnection.close(),
always an exception is thrown. Is it right to close the connection
this way or do I have to return the
Can you attach the exception thrown ?
Viorel Dragomir
.
..
---
- Original Message -
From: [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Sent: Monday, July 18, 2005 13:38
Subject: Tomcat 5.5.9 connection
Can you please write what exception do you get when you try to close the
database connection?
- Original Message -
From: [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Sent: Monday, July 18, 2005 4:38 PM
Subject: Tomcat 5.5.9 connection pooling
Hi!
I am using
Here is the exception that is thrown. As you can see my
connection seems to be already closed. But why? Can this
be configured somewhere?
-Ursprüngliche Nachricht-
Von: Viorel Dragomir [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 18. Juli 2005 14:46
An: Tomcat Users List
Betreff: Re:
Hi Peter,
i've had this problem in a project long ago. I left the company befor i
solved this,
but meanwhile i am quite sure this was not a problem of Tomcat, but of
using ResultSet wrong.
Maybe this is your problem too.
ResultSet is a connection to the database- if you iterate over ResultSet
Hi all !
I've developed a servlet which does a binary stream of a mpeg video file
which is created progressively (by another servlet/software/Unix
command/... ) and finally read and played by Quicktime.
I use Apache and Tomcat so I've installed mod_jk
All work well but... :
If I go on
The deny directives in the httpd.conf are not respected when it comes to
pages ending with either of the .jsp or .do extensions, and are therefore
relayed to Tomcat which then gives the response to the browser.
The Deny directives are not respected for these requests.
But I know that Apache
Hi,
my Tomcat 5.5.9 has the commons-logging-api.jar in the bin directory.
Did you look there, too?
John Pedersen wrote:
I am still stuck with this one (shouldn't have posted it on a Saturday
morning!).
I don't think it is my web.xml giving the problem - I am looking into
possible problems
Phew! Solved. For those who find the same problem
I had a copy of standard.jar in JAVA-HOME\lib\ext as well as in
TOMCAT-HOME\web-apps\appName\WEB-INF\lib
I think I tried putting it there a while ago, trying to fix something
else, and must have forgotten to remove it.
Thanks Cristoph...
This is what happens in JSPService.java around line 249:
try {
boolean precompile = preCompile(request);
serviceJspFile(request, response, jspUri, null, precompile);
} catch (RuntimeException e) {
throw e;
} catch (ServletException e) {
Cant you use
Location /my_secured_resource
Order Deny,Allow
Deny from all
Allow from .company.com
/Location
Regards
Guru
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 18 July 2005 14:30
To: tomcat-user@jakarta.apache.org
Subject:
My current install of Tomcat 4.1.29 does not access my system classpath.
I am using Windows 2000 Server. I would like Tomcat to access my
classpath as I have a development package located in my
%JAVA_HOME%\jre\lib\ext directory that I do not want to copy over to
Tomcat\common\classes for my sites
I have the following configuration:
JDK: 1.5.0_03
Apache Web Server: 2.0.52
Tomcat: 5.5.9
Connector: mod_jk 1.2.14
Server OS: Windows Server 2003
I encounter the following problem:
Every time I update a JSP, then try to access it via a browser, I encounter:
HTTP Status 500 -
type Exception
Christoph,
I think there may be a little delay with the mailing list. The problem
is solved. For reference, yes, I too have the commons-logging-api.jar
in the bin directory! Wonder why it was put there - that seems a
little inconsistent, but I don't know enough about Tomcat to judge the
matter.
Here is the link to the JAXP (Java API for XML Processing) that is
included with the Java 1.5.x sdk. There are specifications,
documentation, FAQ's, etc available here.
http://java.sun.com/xml/jaxp/index.jsp
Sorry I couldn't help more than that :(
jason
-Original Message-
From: Craig
hihi,
it seems the error is related to JSTL/Validator... what version of
struts are you using? and have you properly installed them?
are you upgrading your application from an older setup? (win2k,jdk 1.4,
tc 4.x?)
woodchuck
--- Craig Dixon [EMAIL PROTECTED] wrote:
I have the following
John Pedersen wrote:
Christoph,
I think there may be a little delay with the mailing list. The problem
is solved. For reference, yes, I too have the commons-logging-api.jar
in the bin directory! Wonder why it was put there - that seems a
little inconsistent, but I don't know enough about
It seems that the Location directive is the right one to use. I've been using
the Directory directive and it didn't block the dynamic content. Now that I've
added the Location directive, it works and more, it adds a supplemental
security barrier.
Thanks a lot for your ideas, it really helped
Hi all, my configuration is based on Apache 1.3 using mod_jk connecting to
an ajp13 thread on Tomcat 5.5.
This is the connector port definition I am using in my server.xml:
Connector port=8009 maxThreads=75 minSpareThreads=10
maxSpareThreads=15 enableLookups=false redirectPort=8443
Welcome ...
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 18 July 2005 16:57
To: tomcat-user@jakarta.apache.org
Subject: TR: Apache-like Deny/Allow directives
It seems that the Location directive is the right one to use. I've been
using the Directory
From: Nathan Roy [mailto:[EMAIL PROTECTED]
Subject: The servlet that would not die.
My servlet (I do not own the source code) is randomly getting
hung while servicing requests, but Tomcat will not timeout these
threads.
You have a bug in the servlet, and you need to fix it, live with
I'm testing a clustered Tomcat (5.0.30) configuration on Windows XP
Professional, behind Apache 2.0.54 with mod_jk as my load balancer.
Load balancing works fine, as I can see sessions being dispatched to
each Tomcat from mod_jk (sticky sessions is disabled.) The problem I
have is that session
onSubmit=fillOS();
function fillOS()
{
document.logonform.osType.value = navigator.userAgent;
setCursor('wait');
}
This is not tomcat related i would daresay, but it's easily possible
(wtih firefox and opera) to manipulate
the userAgent in the browser. Everyone could leave the
Hi!
I'm using the Tomcat 5 JAASRealm for authenticating users with my own
LoginModule.
In my LoginModule I am populating the Subject object delivered by the Realm
with Principals, Role Principals and Credentials.
The authentication and the mapping of my user defined roles to tomcat roles
Hello,
I'm building a web application on tomcat 4.1.18 which is connected to
apache 2 web server by ajp13 connector.
I get the response :
Server Error
The following error occurred:
[code=HTTP_REQUEST_TOO_LONG] The HTTP request is too long.
Contact your system
Hello. We run a webhosting environment, and in previous releases we were
able to have separate logs for *each* virtual host by using something like
this:
Host name=mydomain.com ...
...
Logger className=org.apache.catalina.logger.FileLogger
prefix=domain.com_log. suffix=.txt
Hi,
I'm not 100% sure if this is applicable, but I just found this:
Due to a design oversight in the JAAS 1.0,
javax.security.auth.Subject.getSubject() does not return the Subject
associated with the thread of execution inside a
java.security.AccessController.doPrivileged() code block.
hihi,
the default logging mechanism in TC 5.5 is java.util.logging. you need
to place a separate logging.properties file in the class folder of each
of your webapps that require separate logging (and of course make sure
to name these logging files differently).
details can be found here:
On Sun, 2005-07-17 at 17:37 +0100, Mark Thomas wrote:
Tomcat version?
jakarta-tomcat-5.5.9
Chris Abajian wrote:
More clues:
We got it to work if you put
Context path= docBase=webapps/our unpacked war file dir
in the top-level server.xml file. It does NOT work if you put
Are you doing get or post?
Yair Zohar wrote:
Hello,
I'm building a web application on tomcat 4.1.18 which is connected to
apache 2 web server by ajp13 connector.
I get the response :
Server Error
The following error occurred:
[code=HTTP_REQUEST_TOO_LONG] The HTTP request
Greetings,
I am a student at the University of Delaware looking to do research on
connection pooling.
Currently I am analyzing the feasability of optimizing connection pooling.
My hypothesis is that using a statistical analysis of the usage history to
create a prediction of usage levels in
At 12:28 PM 7/18/2005, Yair wrote:
Server Error
The following error occurred:
[code=HTTP_REQUEST_TOO_LONG] The HTTP request is too long.
Contact your system administrator.
Just a wild guess here but it sounds like you are using the GET method for
your form? There is a
Hello,
I have some questions about many people working in the same project and
deploying using WAR file.
I belong to a group that is developping a web application and use TOMCAT to
test it. At the beginning the deployment was done by copying classes, jsp, and
jar files etc to the folder of
I am trying to get a simple zero dependency client to work with tomcat,
at current it works with
http://services.xmethods.net:80/soap/servlet/rpcrouter
http://services.xmethods.net/soap/servlet/rpcrouter
but not my home grown test web service
http://localhost:8080/axis/services/fibonacci
Rogerio,
I've been wrestling with this exact same problem, but haven't had any
more success than you have had thus far, so if you find out the answer
to this, can you please post a msg here? I'll do the same...
Thanks,
Jim
Rogerio Baldini das Neves wrote:
Hi!
I'm using the Tomcat 5
hi,
in tomcat 5.5.9, is it possible to have a webapp, whose context is defined in
server.xml, to be redeployed using the auto-deploy system?
i have my ROOT webapp defined in server.xml:
Host name=localhost appBase=webapps unpackWARs=false autoDeploy=true
deployXML=false deployOnStartup=true
Hello everyone,
I'm using Apache 2.043 + mod_jk 1.2.6 + Tomcat 4.03 (x2) + JDK 1.4.0 on
Solaris 9
As load increases one of the tomcat instances takes up about 35% of CPU
while the apache process takes another 30%. Tomcat Standalone didnt
present this problem and it stayed always at 5%
Jojo Paderes wrote:
I'm looking for some decent documentation and technical reference on
how to configure Tomcat's SSL cipher. Say for example I want Tomcat to
support a specific SSL cipher suite like Triple DES. Hope someone has done
something like this already.
I'm using Tomcat 5.5 btw.
See
Hello,
I wanted to verify if I am understanding this right.
The website has certain sections of it using HTTPS (secure) and certain
sections use only HTTP (unsecure).
1. A new session resulting from a call to request.getSession(true) in a
secure area of a website is invalidated automatically
Mike Noel wrote:
At 12:28 PM 7/18/2005, Yair wrote:
Server Error
The following error occurred:
[code=HTTP_REQUEST_TOO_LONG] The HTTP request is too long.
Contact your system administrator.
Just a wild guess here but it sounds like you are using the GET method
for
I have found that I have to recycle the TC in order to
bring up a updated version of a set of
message.properties files. Is any other way to refresh
the message.properties?
Thanks for your inputs.
Vernon
Start your day with
Rogerio,
Try taking a look at this page:
http://www.kopz.org/public/documents/tomcat/jaasintomcat.html
I read through this awhile ago, but as I was just re-reading it for
maybe the 10th time, I think that I'm starting to see the light and
understand what the page's author (Michiel Toneman)
I'm using the cluster fix patch on 5.5.9 (from
http://issues.apache.org/bugzilla/show_bug.cgi?id=34389) with 8 hosts
clustered together. I was seeing alot
of memberDisappeared errors before I applied this patch, now I'm still
seeing them, but with more detail.
Here's an example error from
Is casting request.getUserPrincipal() to your custome-made Principal gonna
help get what you want ?
Jojada.-
- Original Message -
From: ohaya [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Tuesday, July 19, 2005 9:46 AM
Subject: Re: JAASRealm and Subject
Jo,
Thanks for the hint.
I think that your comment, along with the section labelled How can I
access members of a custom Realm or Principal? here:
http://wiki.apache.org/jakarta-tomcat/HowTo
might allow the Principal to be allowed. I can get to
request.getUserPrincipal().getName(), but I
I am following the instructions for configuring a DataSource so that I
can use a MySQL databasae with my servlets. The instructions I am
using can be found at:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-datasource-examples-howto.html
According to the instructions, I must update the
I'm attempting to set up our Tomcat server to run
ViewCVS, which is a Python application. I've set up
Python on my Solaris 8 box. I've noticed that to
start python, I need to include a library
(libgdbm.so.3) in my LD_LIBRARY_PATH. Which I do, and
Python starts up fine.
I've copied the cgi
62 matches
Mail list logo