I've worked around the java.io.IOException: Keystore was tampered with, or
password was incorrect problem now and that was the cause of it all.
I can clear the problem by using the password changeit as I generate my
key, and by not using the keystorePass attribute on the connector in the
Hi all,
I'm configuring Tomcat 6.0.10 behind Apache 2.0 using mod_jk 1.2.3.
Everything is working beautifully but I want to hide 501 error when
malicious user try to access the server. For example:
# telnet localhost 80
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
I'm configuring a Tomcat 5.5 instance to use HTTPS.
It's a fresh install, with a Sun Java 5 JVM.
To config HTTPS I've followed the server.xml/how-to by generating a
.keystore using the password changeit and uncommenting the SSL/HTTP1.1
connector on port 8443. I've also thrown fast common
Johnny Kewl wrote:
This is an interesting question, and I'm going to guess...
If you in a JSP page, I dont think the error can be trapped.
If you in a servlet, yes I think a try catch will detect it, but only if
you
actually write something.
Which I can't do. The WMS is an
Thanks :)
Now for some questions.. Didn't you have to configure any filters for this?
I tried using the * but no luck.
Rene Guenther-2 wrote:
Not sure wether this could help:
security-constraint
web-resource-collection
Thanks man :)
About the filters, where do you implement them? I see they are in Java but
still don't know where to put them :) And where do you put the filter
mapping?
Thanks!
Lyallex wrote:
Hi
Ah, yes, well I'm not really an 'expert' myself but I have been through
this
recently.
Hi,
i am trying to find out where and which attribute i can use to do transfer
data as chunk and determined the chunk size of a response.
i saw it is supported, i read it in the Apache Tomcat Configuration
Reference - The HTTP Connector, but where can i find more details?
thanks
Lior
Hi All
I want to ask about ResultSet paging. I mean, displaying your records on
multiple of pages instead of dumping them all in one page.
In ASP using ADO 2, there is a property called page size, when you set the
property, your recordset will determine how many page your recordset will be
If this is hapnne during times of increased load, then check
connection_pool_size in
http://tomcat.apache.org/connectors-doc/reference/workers.html
Regards,
Rainer
Rasmus - Next Stay A/S wrote:
Hi
I am seeing this error in my isapi.log, I am running IIS 6.0, tomcat 4.1
and jk 1.2.23
hapnne - happening
Rainer Jung wrote:
If this is hapnne during times of increased load, then check
connection_pool_size in
...
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
Hi I am getting the following error when I deploy my war file. Please see the
error messages.
Thanks in advance
Manaa
Jul 9, 2007 7:42:08 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive campaign.war
Jul 9, 2007 7:42:12 AM
Hi
I'm using Tomcat 5.5.17
To configure Tomcat to serve up a non default http 403 status code page
which is what I think you are talking about you need to add something
like the following to your web.xml
error-page
error-code403/error-code
location/errorcodes/ec403.jsp/location
Hi Rainer,
Many thanks for the feedback.
To answer your question on stability, without the connection pooling being
un disabled the connector appears stable until placed under load at
which point it starts to flag all tomcat instances as down, which they
are not. (I don't believe this is a
Hello
You 'put' them somewhere in you package hierarchy, so for example if
you have the package structure com.barking.mad with servlets in
com.barking.mad.servlets then you could put them in
com.barking.mad.servlets.filters or wherever and package them up in
your jar or war or whatever it is you
I forgot to mention
http://java.sun.com/j2ee/dtds/web-app_2_2.dtd
will tell you wherabouts to put the filter mapping in web.xml
Rgds
Duncan
On 7/9/07, Lyallex [EMAIL PROTECTED] wrote:
Hello
You 'put' them somewhere in you package hierarchy, so for example if
you have the package structure
There's no JDBC setting. I'd recommend you take a close look at the
SELECT statement for your database for syntax to support paging.
--David
Mohammed Zabin wrote:
Hi All
I want to ask about ResultSet paging. I mean, displaying your records on
multiple of pages instead of dumping them all in
Tomcat can act as a client to another tomcat. See
http://jakarta.apache.org/commons/httpclient/ for a library supporting this.
--David
Johnny Kewl wrote:
No, I dont think so, a web server is not a client, and unless you
really have to work on port 80, it would be much easier to just to use
Not knowing how this code is working:
DataSource ds = this.getDataSource(request,jdbc/TestDB);
if(ds == null)
throw new InternalException(datasource is null);
I'm not sure what to tell you. The method getDataSource( request,
jdbc/TestDB ) is not a part of tomcat or the servlet spec.
On 7/8/07, Mark Thomas [EMAIL PROTECTED] wrote:
Because each context.xml file can oly define a single context.
So, if an app has additional context for some directory listing, where
it should be defined?
Artur
-
To start
Hello,
I am wondering which is the best way to deploy within Tomcat multiple web
apps (portlets-web services) that have access
to the same business logic (developed with Spring+Hibernate).
I`ve seen something here
i think its better if you use web services for that purpose, or rmi,
whichever right to your taste
On 7/9/07, axelspin [EMAIL PROTECTED] wrote:
Hello,
I am wondering which is the best way to deploy within Tomcat multiple web
apps (portlets-web services) that have access
to the same business
Hi,
case you are going to use stateful session mechanism, be aware that
tomcat opens for each webapp context new httpsession.
axelspin [EMAIL PROTECTED]
09.07.2007 12:22
Please respond to
Tomcat Users List users@tomcat.apache.org
To
users@tomcat.apache.org
cc
Subject
Spring+hibernate
Hi Axel, just out of curiosity, had a look at what you waffling on about,
coz I've never done portlets.
It's interesting but it actually looks like a nightmare
I did find a link that I think will help...
http://opensource.atlassian.com/confluence/spring/pages/viewpage.action?pageId=3089
Servlet decument says: getDatasource(HTTPServletRequest) is used to get the
default datasource, getDataSource(HttpServletRequest, String) get the selected
datasource. However, since I am using struts. following instruction in tomcat
documentation on connection pooling and using getDatasource
So guys.. Do you think that this discussion thread is hopeless within
Tomcat?
http://forum.springframework.org/archive/index.php/t-9962.html
axelspin wrote:
Hello,
I am wondering which is the best way to deploy within Tomcat multiple web
apps (portlets-web services) that have access
to
Hi to all,
I have Dell PE 2950 with tow Intel xeon dual core 5130 processors.
I use this server to run website.
I have three tomcat work in balance in mod_jk, and one Apache in front on
port 80.
The JVM and the tomcat that i have on the server are 32 bit architecture.
My question is,
Is it
On 7/8/07, Ben Iggulden [EMAIL PROTECTED] wrote:
Is this keystore password supposed to be changed as I have presumed
(ensuring the same is used in the server.xml connector's keystorePass
attribute as is used in generation)
Yes, using a different password works for me per the docs on
my
we have upgraded our environment to following software specs.
on Redhat AS 3.0 (update 8), tomcat 5.5.23, apache 2.0.46 and JK 1.2.23
plugin. intermittently we see the following error in the error log of
tomcat and then the whole site just gets hung. and no users will be to
procede with any
On 7/9/07, Fatima [EMAIL PROTECTED] wrote:
I am new to web services. I have installed tomcat version 6.0.13 and
Axis2.war file on Fedora Core 5, they both have passed the validation
test, also, i am using firefox as my web browser. When i run the version
service of Axis2 or any other service,
Hi list,
we're running Tomcat 5.5 here on Debian Edge, MySQL 5 and we've set up
a connectionpool.
Example of context.xml:
?xml version=1.0 encoding=UTF-8?
Context
Resource
auth=Container
description=DB Connection for SSO
name=jdbc/SSODS
type=javax.sql.DataSource
- Which version of Java?
- What does a thread dump of Tomcat give (kill -QUIT, result goes to
catalina.out)
- Does direct connect to Tomcat http connector still work?
- Can you still connect from the Apache server to the Tomcat jk
connector via telnet?
- What's the config of your jk conector
hi there,
currently, the project I work on, we deploy our application simply using
tar file, now testing tomcat, we would use war file... that's ok for
that in a meantime on our current production platform (iplanet) we
precompile JSP and create an other tar file... what is then the best
You can either precompile (eg using specific tomcat ant target) and
include the precompiled files in your .war, add with it the mappings in
web.xml for each jsp. (Long and not so easy)
Or,
you can install in tomcat something like lambda-probe, that has an
interface to compile JSP, interface you
From: Artur Rataj [mailto:[EMAIL PROTECTED]
Subject: Re: Context.xml error
So, if an app has additional context for some directory listing, where
it should be defined?
Your use of the terminology is in error. An app is a context, and vice
versa; the phrase app has additional context is
Is the multicast heartbeat picked up over the multicast IP or the
Receiver address that is broadcasted? I assume it is the multicast IP
as the Receiver is supposedly used for replication only.
Andrew R Feller, Analyst
Subversion Administrator
University Information Systems
Louisiana State
From: Ben Iggulden [mailto:[EMAIL PROTECTED]
Subject: RE: https in Tomcat 5.5 via basic JKS keytool
keystore..not doing what it should !
Is this keystore password supposed to be changed as I have presumed
(ensuring the same is used in the server.xml connector's keystorePass
attribute as
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
OR
you could use a small JSP page which goes through all JSP files
of your webapp and include them, which in turn leads to a compilation
of the JSP pages...
call this precomp.jsp after deployment of your webapp, which could be
automated using a deployment script ...
hth, Chris
Well... I don't gonna keep in mind the third option... obviously obvious
isn't it ? ;-)
Probably we gonna keep our previous method to precompile JSPs unless I
find out an efficient and quick method to set it up.
Le 09/07/2007 15:54, David Delbecq a écrit :
You can either precompile (eg using
correct, on the multicast IP
Filip
Andrew R Feller wrote:
Is the multicast heartbeat picked up over the multicast IP or the
Receiver address that is broadcasted? I assume it is the multicast IP
as the Receiver is supposedly used for replication only.
Andrew R Feller, Analyst
Subversion
The JDBC realm doesn't use the connection pool you've specified below,
The JDBC realm uses a single connection, never closes it unless an
exception happens.
The connection is defined in the Realm section of server.xml
Filip
Gregor Schneider wrote:
Hi list,
we're running Tomcat 5.5 here on
Filip,
Perhaps you can explain why each of these log messages are happening
every 10 minutes? If this isn't controlled behavior, which I doubt,
then something is going on here. =P
Thanks for the help,
Andy
2007-07-09 09:30:09,497 INFO
[org.apache.catalina.cluster.tcp.SimpleTcpCluster] -
just do another query -- either in a second servlet to pull back to a JSP page
or (not recommended, but I've done it) put the query in the JSP page itself.
Just write the results right there on the fly to the JSP.
-Original Message-
From: Mohammed Zabin [mailto:[EMAIL PROTECTED]
Sent:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thai,
Nhut Thai Le wrote:
Servlet decument says: getDatasource(HTTPServletRequest) is used to
get the default datasource, getDataSource(HttpServletRequest, String)
get the selected datasource.
This appears to be a Struts method, not anything
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
lightbulb,
lightbulb432 wrote:
POST requests always use the request's body encoding, which is
specified in the HTTP header (and can be overridden by using
request.setCharacterEncoding). Some broken clients don't provide
the character encoding
could it be your provider or network is blocking port 25 connections through
apps other than the standard email app used? i.e. your company might block port
25 if not being accessed by LotusMail or Outlook.
-Original Message-
From: Mike Peremsky [mailto:[EMAIL PROTECTED]
Sent:
Hi all,
I was using tomcat's version of 4.1 for a long time and it was working fine.
But then I decided to move to version 6. I kept getting these errors --
javax.servlet.ServletException: Cannot allocate servlet instance for path
/mystuff/servlet/RelatedQuestions
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
climbingrose,
climbingrose wrote:
I'm configuring Tomcat 6.0.10 behind Apache 2.0 using mod_jk 1.2.3.
Everything is working beautifully but I want to hide 501 error when
malicious user try to access the server.
I assume you always want to hide
I believe it may be the JVM in question causing this error. A while back, I
tried to bump up my JDK from 1.4.2 to 1.5 and it caused all kinds of
complilation errors, and errors like this as well. And I'm still on the TC
4.1.x series. I had to uninstall that JDK's JVm to get everything to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
David Smith wrote:
There's no JDBC setting.
Sure there is: Statement.setFetchSize(int size)
Gives the JDBC driver a hint as to the number of rows that should be
fetched from the database when more rows are needed. The number of rows
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Prt,
Please do not post more than once. We forgive spelling and grammar
mistakes. There is no reason to re-post your question with trivial changes.
prt wrote:
I have Dell PE 2950 with tow Intel xeon dual core 5130 processors.
I have three tomcat
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gregor,
Filip Hanik - Dev Lists wrote:
The JDBC realm doesn't use the connection pool you've specified below,
The JDBC realm uses a single connection, never closes it unless an
exception happens.
Might I suggest using a JNDI Realm so you can
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Subject: Re: Hide 501 error message
I'm sure you can turn off this version disclosure within Tomcat, too,
but I can't remember how to do it. Check the archives, 'cause I'm sure
this has been asked in the past.
From the doc for the server
-Original Message-
From: Phi-Long LE [mailto:[EMAIL PROTECTED]
Subject: Re: JSP precompilation
Probably we gonna keep our previous method to precompile JSPs
unless I find out an efficient and quick method to set it up.
Have you looked at the Tomcat doc on the subject?
Hi Christopher,
Sorry about the double post.
Thank you very much for your help, you very kind.
I installed JVM 64-bit Server, so now the tomcat's work with the JVM.
Are you sure about that is no need to compile the Tomcat on 64 Bit ?
What about the all application,
I can develop and compile
But how about performance..
is it better to have multiple instances of hibernate sessionFactory Objects
(one each web app) or to use an http call for each db query?
Maybe transactions are handled better with a centralized datasource access
throug ws.. what do you think?
Andre Prasetya-2
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
For the interested. I found one
http://www.claudehussenet.com/portal/Welcome.do
I read the complex spec and look at
From: prt [mailto:[EMAIL PROTECTED]
Subject: Re: Advice about Tomcat on x86_64 architecture..
Are you sure about that is no need to compile the Tomcat on 64 Bit ?
Definitely.
What about the all application,
I can develop and compile on 32 bit and then transfer class
files to the
johny,
as far as i informed this site uses portal server along with a
classical cms solution: http://www.omv.at
OMV is one of the big players on the european oil market having gas
stations in at least 5 countries (probably more).
However, the project itself was a mess (i've heard :-))
regards
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Subject: RE: Advice about Tomcat on x86_64 architecture..
From: prt [mailto:[EMAIL PROTECTED]
Subject: Re: Advice about Tomcat on x86_64 architecture..
Are you sure about that is no need to compile the Tomcat on 64 Bit ?
Does tomcat 6 only need a jre but not a jdk? If so, what should you point your
JAVA_HOME to?
-
Moody friends. Drama queens. Your life? Nope! - their life, your story.
Play Sims Stories at Yahoo! Games.
not really, try to lower your mcastFrequency value, and increase your
mcastDropTime value
Filip
Andrew R Feller wrote:
Filip,
Perhaps you can explain why each of these log messages are happening
every 10 minutes? If this isn't controlled behavior, which I doubt,
then something is going on
you can point JRE_HOME instead of JAVA_HOME to use a jre,
Filip
Deepa Paranjpe wrote:
Does tomcat 6 only need a jre but not a jdk? If so, what should you point your
JAVA_HOME to?
-
Moody friends. Drama queens. Your life? Nope! - their life, your
I am having issues using APR in an HP-UX environment; Ive successful
built/installed APR in multiple Linux environments so am I bit lost what is
happening in HP-UX...
I get the following error while trying to start Tomcat:
SEVERE: Error initializing endpoint
java.lang.Exception: Socket listen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
John,
John Pederzolli wrote:
I am having issues using APR in an HP-UX environment; Ive successful
built/installed APR in multiple Linux environments so am I bit lost what is
happening in HP-UX...
I don't have any HP-UX experience, but this error
can you explicitly try to define the bind address in the Connector
element?
could it be that the default 0.0.0.0 or whatever it's IPv6 counterpart
is, is not accepted?
Filip
John Pederzolli wrote:
I am having issues using APR in an HP-UX environment; Ive successful
built/installed APR in
Thanks for the reply Filip - I gave your suggestion a try and still no
luck...
Filip Hanik - Dev Lists wrote:
can you explicitly try to define the bind address in the Connector
element?
could it be that the default 0.0.0.0 or whatever it's IPv6 counterpart
is, is not accepted?
Filip
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,
Hi
I have a worker.jar in my webapp. User could upload a new worker.jar
replacing it. And I don't want to restart the tomcat.
How can I implement this?
Thanks.
1) What jar files do I need to include in my classpath to compile a Valve?
2) Where do I put the class file so Tomcat can load it? Under
CATALINA_BASE/common?
-
To start a new topic, e-mail: users@tomcat.apache.org
To
Thanks for your responses Chuck Hassan.
I did have a good look into my use of the keystoreFile attribute and made
sure there was no .keystore sitting in the default location in my home dir
that might be confusing things. I was thinking .keystore on the default
path with changeit as the password
we have 3 instances on the same hardware
we did this due to a memory/thread constraint
correct me if i'm mistaken, but i've read that
the more memory you allocate for you Heap, the less thread you have,
we want a lot of memory
and a lot of threads
so we opted to do 3 instances on the same
Joseph S [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
1) What jar files do I need to include in my classpath to compile a Valve?
I'm assuming that this is for 5.5. Usually you just need catalina.jar, but
in some cases you might need tomcat-utils.jar and tomcat-coyote.jar (if you
lior grinfeld [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
i am trying to find out where and which attribute i can use to do transfer
data as chunk and determined the chunk size of a response.
i saw it is supported, i read it in the Apache Tomcat Configuration
Reference -
Thanks for explaining how you use it
Think you absolutely right, having a standard in a large institution is
probably the governing concern.
Now that I know what a portlet is, the next time I stick a hidden field in a
form to control the backend logic and flow control, or include one JSP
aaime74 [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Johnny Kewl wrote:
This is an interesting question, and I'm going to guess...
If you in a JSP page, I dont think the error can be trapped.
If you in a servlet, yes I think a try catch will detect it, but only if
you
I tried to configure Apache with ErrorDocument 501 error.html howewer, it
doesn't seem to take affect. That error message still appears when I try to
connect via telnet and enter some characters. So I suspect that Tomcat
doesn't return 501 error code but return normal html signaling the error.
From: Ben Iggulden [mailto:[EMAIL PROTECTED]
Sent: 2007 July 09, Monday 20:12
keystore..not doing what it should !
I'm trying to verify this as the problem by closing Eclipse
and running Tomcat directly
Try running it from a command prompt rather than as a service. There
may be some
From: Titi Wangsa [mailto:[EMAIL PROTECTED]
Subject: Re: Advice about Tomcat on x86_64 architecture..
correct me if i'm mistaken, but i've read that
the more memory you allocate for you Heap, the
less thread you have,
That's somewhat true with a 32-bit OS, but even then you can still get
That's done it !
Thanks indeed for sharing your knowledge here Chuck.
Here on dev I've done the simple thing of removing the APR .dll but when I
try this on a live-like build next week I can see myself spending some
quality time with that APR section of the manual you've pointed me towards.
Now
Hi all,
I have problem with my web application which hanges after 2 to 3
transations. I am using JSF for GUI, managed beans, Hibernate and using
Tomcat 6.0.10. I thought it would be session problem so i have changed my
session settings in web.xml, but it didn't work. Later i thought it would
Hi, here are further information about the environment and answers to the
below question
-Tomcat and apache are on two different servers ( separated by a firewall)
-Tomcat 5.5.23 is running on Sun JDK 1.5.0_12
-Direct connection to tomcat http connector ( 8080 ) works fine.
-Yes, we are able to
Turns out this was related to an unintended use of APR via the
tcnative-1.dll file.
Fixes include:
- removal of the tcnative-1.dll file from the Tomcat bin dir
- using an APR friendly SSL configuration as described under
http://tomcat.apache.org/tomcat-5.5-doc/apr.html
All credit to Chuck
84 matches
Mail list logo