Hi,
I cannot obtain client certificate with SSL/client certificate
authentication using APR components
...
It's probably a stupid question, but did you generate the client
certificate and did you import in the browser from which you are
trying to connect to your application? How did you create
Hello everyone,
I'm having a problem with a java/jsp application running under Tomcat
5.5.12 on Windows. When I start Tomcat from the system tray application or
from the windows services window code that checks whether a directory
exists incorrectly returns false:
File file = new Fil
I think there is no Tomcat scalability issue. The issue is your application
scalability. We have made an application which be able to install on multiple
Tomcats. I think this is the scalability issue.
See, if you visit http://breakevilaxis.org, then you visit http://www.ddint.org
They are the
Hi Dilan,
Thanks for helping.
Attaching the files
CATALINA_HOME/conf/server.xml
CATALINA_HOME/webapps/myApp/WEB-INF/web.xml
CATALINA_HOME/webapps/myApp/META-INF/context.xml
The context.xml is placed in CATALINA_HOME/webapps/myApp/META-INF.
There are no additional config files for database or re
On 6/19/06, Leon Rosenberg <[EMAIL PROTECTED]> wrote:
On 6/19/06, Biernatowski Bartosz J <[EMAIL PROTECTED]> wrote:
> I am about 90% sure the bottleneck is Tomcat or what's running on top of
> Tomcat. Application uses JDBC queries to MS SQL server
> Chips are Intel Xeon. My monitoring data:
> Me
Hi
Could it be related to some problems that Java has had on some Linux
distributions with obtaining entropy for its random number generation
for encryption?
In the past (a few years back admittedly) we encountered a problem when
trying to connect our application to an https site.
Changing
Hi,
I am using Tomcat 5.5.17 on Red Hat AS but I've a problem with the Headers.
I want to use a filter in order to apply gzip compression, everything works
perfectly on my Tomcat 5.5.9 under Windows, that means: I receive an
"accept-encoding" header, however under 5.5.17 that header is not present
Thanks for responses. If I put connector ajp-8009 configuration block
BEFORE connector http-443 in server.xml, the log looks like
Jun 19, 2006 5:33:11 PM org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-80
Jun 19, 2006 5:33:11 PM org.apache.coyote.ajp.Aj
Bob Wyatt wrote:
> So I'm not sure what to do - any advice?
Create a pdf.xml file with the following contents and place it in your
${catalina.home}/webapps folder. Depending on your settings you may
need to restart Tomcat.
This will create a new context called pdf that enables you to access
yo
I have the same problem as Bob but files mapping into different file
systems. I also tried the context mapping as you (Mark)had suggested
with app.xml file. I will read about the link config tomorrow and try
it. Any help would be appreciated.
thanks,
suba suresh.
Bob Wyatt wrote:
Mark,
No..
Mark,
No... Didn't know about it...
Now that I know about it (Thank You), I'm not sure of what really needs to
be done...
No where under $CATALINA_HOME do I have a defaultcontext.xml, context.xml,
or similarly named file. All of my similarly named files are *.html files or
directories, as follow
Bob Wyatt wrote:
> I have a directory that contains hundreds of pdf files.
>
> I have Tomcat 5.0.28 running on AIX 5.2.
>
> Under the webapps/appname directory, if I create a symbolic link to the pdf
> files, they will not display.
Have you enabled linking? See the allowLinking property at
http:
I have a directory that contains hundreds of pdf files.
I have Tomcat 5.0.28 running on AIX 5.2.
Under the webapps/appname directory, if I create a symbolic link to the pdf
files, they will not display.
If I move the pdf to the webapps/appname directory, it will display just
fine.
I don't wa
On 6/19/06, Hassan Schroeder <[EMAIL PROTECTED]> wrote:
On 6/19/06, Leonel <[EMAIL PROTECTED]> wrote:
> I'm trying to make a Servlet act as a Index page
Suggestion: *read* the 2.4 Servlet Spec :-)
Suggestion Accepted
info found on the page 85 of the 2.4 servlet spec
If you're not r
Hello,
I'm running Tomcat 5.5 on Windows XP with Java 1.5. In
server.xml I configured SSL as follows:
When I try to log in I get the following:
handling exception: javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException: Certificate contains un
Thanks a lot for your help I was having some problems with the naming of the
package / class but also It was because it seems that netbeans (the ide that
Im using to run and debug JSP) does not erase the old files so when I
changed the name of some classes some of the old references didnt throw the
On 6/19/06, Leonel <[EMAIL PROTECTED]> wrote:
I'm trying to make a Servlet act as a Index page
Suggestion: *read* the 2.4 Servlet Spec :-)
If you're not running a 2.4 webapp, forward from the welcome-file
of your choice...
HTH,
--
Hassan Schroeder [EMAIL PROTECTED
Ooops - forgot to add the rest
Andrew Miehs wrote:
Could be anything - the database
could be the indexes in the database, could be deadlocks, could be a
badly programmed application, could be high packet loss on the ethernet
interfaces, could even be tomcat -
As for the 90% guess - At l
On 6/20/06, Andrew Miehs <[EMAIL PROTECTED]> wrote:
Biernatowski Bartosz J wrote:
> I am about 90% sure the bottleneck is Tomcat or what's running on top of
> Tomcat. Application uses JDBC queries to MS SQL server
> Chips are Intel Xeon. My monitoring data:
If this is a REAL problem for
Biernatowski Bartosz J wrote:
I am about 90% sure the bottleneck is Tomcat or what's running on top of
Tomcat. Application uses JDBC queries to MS SQL server
Chips are Intel Xeon. My monitoring data:
Why are you 90% sure?! Your SQL server is running on a seperate machine?
or the same machine?
My feeling is that by calling an installatin of 'java' or 'the jdk/jre' a
'jvm' is going to produce confusion.
/usr/local/applications/tomcat1
/usr/local/applications/tomcat2
/usr/local/applications/tomcat3
/usr/local/java
That's one *JDK/JRE*, and 3 tomcat *instances*.
Each tomcat startup file
On 6/19/06, Biernatowski Bartosz J <[EMAIL PROTECTED]> wrote:
On 6/19/06, Mladen Adamovic <[EMAIL PROTECTED]> wrote:
> Do top on the servers to be sure is problem in Tomcat or not.
>
> Teoreticly, your servers should be faster if you configure 4 Tomcat
> instances (4 JVMs) to do round robin.
> Yo
On 6/19/06, Mladen Adamovic <[EMAIL PROTECTED]> wrote:
> Do top on the servers to be sure is problem in Tomcat or not.
>
> Teoreticly, your servers should be faster if you configure 4 Tomcat
> instances (4 JVMs) to do round robin.
> You should be able to improve performances almost 4x.
>
could you
On 6/19/06, Biernatowski Bartosz J <[EMAIL PROTECTED]> wrote:
I am about 90% sure the bottleneck is Tomcat or what's running on top of
Tomcat. Application uses JDBC queries to MS SQL server
Chips are Intel Xeon. My monitoring data:
Memory utilization under 30%, CPU under 10%. Using hardcore perfo
My understanding of Tomcat's instance is having both Tomcat+JVM installed in
separate directories. Both Tomcats running on separate ports.
BJ Biernatowski
Application Developer, e-Business
-Original Message-
From: GB Developer [mailto:[EMAIL PROTECTED]
Sent: Monday, June 19, 2006 2:40 PM
What does the following tell you?
interfaz_dbms.cacheable temp;
temp = interfaz_dbms.cache.getReferencia().Buscar(id,n.getTipo());
// add this code below...
if (temp!=null) {
System.out.println("class >" + temp.getClass() + "<");
}
// back to your code...
n= (materia
How do you propose to add a 'separate instance of Tomcat' without 'adding a
separate JVM'?
Or do you/others mean by 'instance of tomcat' = 'a separate physical server
with single instance of JVM/Tomcat' ?
>
> So far it sounds that the approach of adding separate
> instance of Tomcat and using
On 6/19/06, Saha Rabindra N <[EMAIL PROTECTED]> wrote:
Leonel,
Change the following line in tomcat/conf/server.xml file
And this whitin server service engine or hosttags ??
thanks
leonel
---
You've also totally failed to include numbers for I/O (don't forget, it's
not necessarily MB/sec that counts, it's requests/sec) and for Network
usage, and also for the perfomance pattern of the SQL Server system, which
is considerably more likely to be the bottleneck than the app seeing that
most
Given that you aren't CPU bound, it's highly unlikely the problem is tomcat.
Alex.
On 6/19/06, Biernatowski Bartosz J <[EMAIL PROTECTED]> wrote:
I am about 90% sure the bottleneck is Tomcat or what's running on top of
Tomcat. Application uses JDBC queries to MS SQL server
Chips are Intel Xeon.
I am about 90% sure the bottleneck is Tomcat or what's running on top of
Tomcat. Application uses JDBC queries to MS SQL server
Chips are Intel Xeon. My monitoring data:
Memory utilization under 30%, CPU under 10%. Using hardcore performance
tools and systematic approach.
The bottom line is that
Hello my name is Claudio Veas Im very new in tomcat develop and I was trying
to use an interface to implement a cache. I make all the objects that I
wanted to keep in memory implement "cacheable" interface so I could insert
them into a Vector and then minimize the timing when looking for the same
i
Leon Rosenberg wrote:
On 6/19/06, Mladen Adamovic <[EMAIL PROTECTED]> wrote:
Leon Rosenberg wrote:
>> Teoreticly, your servers should be faster if you configure 4 Tomcat
>> instances (4 JVMs) to do round robin.
>> You should be able to improve performances almost 4x.
>>
> could you explain why??
Leonel,
Change the following line in tomcat/conf/server.xml file
Hope this helps.
Thanks,
RNS
-Original Message-
From: Leonel [mailto:[EMAIL PROTECTED]
Sent: Monday, June 19, 2006 2:09 PM
To: Tomcat Users List
Subject: Re: servlet as an index page ?
On 6/19/06, Mladen Adamovic <[EMAIL PROTECTED]> wrote:
Leon Rosenberg wrote:
>> Teoreticly, your servers should be faster if you configure 4 Tomcat
>> instances (4 JVMs) to do round robin.
>> You should be able to improve performances almost 4x.
>>
> could you explain why??
Isn't Tomcat and JVM s
Leon Rosenberg wrote:
Teoreticly, your servers should be faster if you configure 4 Tomcat
instances (4 JVMs) to do round robin.
You should be able to improve performances almost 4x.
could you explain why??
Isn't Tomcat and JVM still single threaded?
Single thread = single processor usage
---
On 6/19/06, Mladen Adamovic <[EMAIL PROTECTED]> wrote:
Do top on the servers to be sure is problem in Tomcat or not.
Teoreticly, your servers should be faster if you configure 4 Tomcat
instances (4 JVMs) to do round robin.
You should be able to improve performances almost 4x.
could you explai
Do top on the servers to be sure is problem in Tomcat or not.
Teoreticly, your servers should be faster if you configure 4 Tomcat
instances (4 JVMs) to do round robin.
You should be able to improve performances almost 4x.
Biernatowski Bartosz J wrote:
Hello,
I was hoping somebody on the list
On 6/19/06, Marc Farrow <[EMAIL PROTECTED]> wrote:
Change your ROOT index.jsp to redirect to the servlet. Or you can map "ALL"
ROOT requests to go to the servlet. Not sure the latter is something you
want.
On 6/19/06, Leonel <[EMAIL PROTECTED]> wrote:
>
> Hello
>
> I'm trying to make a Servl
Change your ROOT index.jsp to redirect to the servlet. Or you can map "ALL"
ROOT requests to go to the servlet. Not sure the latter is something you
want.
On 6/19/06, Leonel <[EMAIL PROTECTED]> wrote:
Hello
I'm trying to make a Servlet act as a Index page
when I request the url http
Hello
I'm trying to make a Servlet act as a Index page
when I request the url http://server/ how can I tell tomcat
to execute the servlet I want
it works when I request http://server/servlet but I don't want
to issue the servlet name on the url
thanks
--
Leonel
--
Almost forgot,
as for your question about multiple jvms with multiple tomcat instances:
we tried to scale tomcat instances on the same machine and it made no
difference.
leon
On 6/19/06, Biernatowski Bartosz J <[EMAIL PROTECTED]> wrote:
Hello,
I was hoping somebody on the list might point me i
are you sure that tomcat is your bottleneck?
Your 4 CPU machine (which cpu's btw?) should be able to handle more
than 1000 users (unless you are speaking about suns cpu) without
problems. Maybe you should provide more info about your application.
Do you have any monitoring data?
Leon
On 6/19/06,
Hello,
I was hoping somebody on the list might point me in the right direction...
I am trying to scale up Tomcat based web application currently supporting
~100 users to 350 users.
It seems that I have enough hardware: 2 load balanced servers x 4 CPUs each
with 4 GB of RAM which is underutilized
-Original Message-
From: Dilan Kelanibandara [mailto:[EMAIL PROTECTED]
Sent: Monday, June 19, 2006 6:28 PM
To: 'Tomcat Users List'
Subject: RE: Using Datasource for cloudscape
Hi Jitendra,
To claryfiy your error please send followings in your configuration (as an
attachment or copy ,pa
Hi Jitendra,
To claryfiy your error please send followings in your configuration (as an
attachment or copy ,paste here)
CATALINA_HOME/conf/server.xml
CATALINA_HOME/webapps/yourApp/WEB-INF/web.xml
context.xml
Where do you have defined your context.xml?
And any other additional configuration files
On 6/19/06, Rick Cockerham <[EMAIL PROTECTED]> wrote:
I wish it would give me a stack trace. That would be wonderful. The
part I left out was just a list of all the loaded libraries.
I can't risk a switch in software. I realize this is a tough one. I
have very little flexibility to help me
okay. some definite results.
5.5.17
solaris 9
29 > java -version
java version "1.5.0_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
Java HotSpot(TM) Client VM (build 1.5.0_07-b03, mixed mode, sharing)
this does not make a yourapp.xml file. it further forgets all conte
I also tried with path="/" in the Context element in my xml file, since
my webapplication does not have the "ROOT" directory.
thanks,
suba suresh.
Suba Suresh wrote:
I tried the following:
1. I created a myApp.xml file with the following and placed the file in
$CATALINA_HOME\Catalina\localhos
i got three suggestions. (i was out friday.) i've looked at them all.
|
| Hi
| The other thing is please remove your TOMCAT_HOME/webapps/yourApp.war file
| from webapps directory to some other place. Other wise you may loose your
| settings again if you restart tomcat.
| Ask me for any help,
We're running the following:
Apache2.2 + Tomcat5.5.17
mod_proxy, mod_proxy_ajp, mod_proxy_balancer
on 2 linux boxes (one of which has a DB)
Server #1 has the DB & the 2nd Tomcat.
Server #2 is the main Apache load balancer, with 1st Tomcat.
There are virtualhosts/subdomains in both apache & tomc
Could you please send me the copy of the recompiled mod_jk.so for 2.2.2 as
well.
thanks.
my email is [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/mod_jk.so-problems-going-from-Apache-2.0.55-to-Apache-2.2.2-t1660137.html#a4938861
Sent from the Tomcat - User forum at N
I tried the following:
1. I created a myApp.xml file with the following and placed the file in
$CATALINA_HOME\Catalina\localhost directory.
WEB-INF/web.xml
2. I made changes to server.xml appBase to point to C:\Documents and
Settings\subas\webapps
3. I moved
We use a slightly modified version of what was posted to this list a long
time back. It lets us look at a running website and quite easily see which
of our pages have got themselves 'stuck'.
http://marc.theaimsgroup.com/?l=tomcat-user&m=109455426721082&w=2
(It's at the bottom of that page.)
Fu
I wish it would give me a stack trace. That would be wonderful. The
part I left out was just a list of all the loaded libraries.
I can't risk a switch in software. I realize this is a tough one. I
have very little flexibility to help me debug. That's why I'm asking
you guys!
Thanks,
R
Hi Dilan,
Please see my next mail. In which I have modified the context.xml and
got following error
WARNING: Unexpected exception resolving reference
java.lang.NoSuchMethodException:
com.ibm.db2j.jdbc.DB2jDataSource.setScope(boolean)
at java.lang.Class.getMethod(Class.java:1581)
Hi all,
One advancement
I modified the context.xml as follows:
i.e. added type and factory parameters to the Resource defination.
Now I get the following exception.
WARNING: Unexpected exception resolving reference
java.lang.NoSuchMethodException:
com.ibm.db2j.jdbc.DB2jDataSource.setScope(b
Hi Jitenra,
Tomcat5.5 uses a defferent way of defining JNDI resources. That is why you
get this error. It seems your resource declaration at web.xml is missing.
Please stick to tomcat documentation here
http://tomcat.apache.org/tomcat-5.5-doc/jndi-resources-howto.html
where you have to define con
On 6/19/06, Rick Cockerham <[EMAIL PROTECTED]> wrote:
OK. I finally got a file dumped out from this kill. But, it doesn't
look interesting to me. Any idea what this means to me?
Any other debug ideas?
a) paste complete stack trace
b) try a regular vm (suns for example)
regards
Leon
Than
OK. I finally got a file dumped out from this kill. But, it doesn't
look interesting to me. Any idea what this means to me?
Any other debug ideas?
Thanks,
Rick
Unexpected Signal : 3 occurred at PC=0x45C6D876
Function=(null)+0x45C6D876
Library=/opt/blackdown-jdk-1.4.2.01/jre/lib/i386/serve
Hi All,
I am using Tomcat 5.5.17 and tried running a sample datasource
application using the Cloudscape database. I have added the driver jar
into common/lib directory.
The context.xml has following configuration for datasource
I have created a datasource using the admin application and it
Hi,
after a quick lookup, there doesn't seem to be any mistake with your
code. Either it's a problem with the jsp, either it's related to
database. Anyway, you might want to change this
// end try
catch(Exception ex) {
return false;
}
Generic catching of except
Hi,
I have a jsp where I show a table. I am trying to download this jsp
like excel file. To do this I put I get the information from a servlet and send
this information in an attribute to the jsp
It works fine if I use only one browser.
The problem is when I try to do this but from
Have a look at my doco it might help you:
http://jack.godau.googlepages.com/jbosscertificatesandopenssl
Cheers
Jack...
On 15/06/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi,
I am setting up a client authentication for Tomcat. I followed the following
procedure but failed browsers.
It sa
Hello,
I am looking for a (free) memory dump analyzer which is capable for being used
in production on tomcat 5.5 @ w2k server.
That means it should not have a performance impact in every day operation,
but should be able to generate memory dumps on request, which could be analyzed
offline.
I
David Smith wrote:
Looks to me more like port 80 is taking 2+ hours to initialize, not
443. My guess is tomcat is waiting for something -- possibly a system
service. At anyrate, I don't experience that here on any version of
tomcat or JDK.
Try starting it from the root account or from the
Yes. You are right. The procedure works. That was wrong is that I did
no make the server host name and the client host name match in the
certs and in the tomcat-user.xml file. Also I edited the ca.pem file a
litte bit and changed it to ca.crt and imported this file into the
browser's trusted r
Looks to me more like port 80 is taking 2+ hours to initialize, not
443. My guess is tomcat is waiting for something -- possibly a system
service. At anyrate, I don't experience that here on any version of
tomcat or JDK.
--David
Jeff Chuang wrote:
Hi,
After starting tomcat from jsvc as s
Hi all
I try to deploy a war file to tomcat 5.0.28 using following ant script:
The problem is I get always
BUILD FAILED
D:\pjdc\eclipse\dev\workspace2\MANIFEST\build.xml:21: The following error
occurred while executing this line:
I:\pjdc\repository\ant\deploy.xml:9: java.lang.OutOfMemoryE
Hello
I have a working mod_jk on w2ksrv that works perfectly to tc5.5.17. The very
odd thing is that I had to rebuild the system with a different drive and fully
updated patches for the os. The odd part is that with the identical software,
apache, tc, nics, etc. the system fails. Further the
I try to invalidate sessions which are inactive during 20 minutes
I thought that session-timeout works fine
I use a java class which implements HttpSessionBindingListener to destroy
the connections made to the database when the container invalidate the
session after 20 minutes of inactivity
In fact
Hi,
After starting tomcat from jsvc as service, it took 7840217 ms to
initialize Http11AprProtocol on http-443, during which port 80 was
blocked. There was no error found in jsvc debug info, neither was
catalina.out. After initialization on port 443, everything works(both
ports 80 and 443). I
Hi,
I cannot obtain client certificate with SSL/client certificate
authentication using APR components
My configuration :
Tomcat 5.5.17,
jdk1_5.0_06,
Apr-1.2.7,
Openssl-0.9.8,
tomcat-native-1.1.3 under solaris 8
I configured tomcat to use SSL client-certificate authentication and i need
to
ac
Hi,
I have a jsp where I show a table. I am trying to download this jsp
like excel file. To do this I put I get the information from a servlet and send
this information in an attribute to the jsp
It works fine if I use only one browser.
The problem is when I try to do this but from
Hi,
I have a jsp where I show a table. I am trying to download this jsp
like excel file. To do this I put I get the information from a servlet and send
this information in an attribute to the jsp
It works fine if I use only one browser.
The problem is when I try to do this but from
The problem is that Microsoft Internet Explore and Netscape now are serious about
the Root > Trust Authorities. ...
I'm not sure what you mean by "serious about the Root Trust
Authorities" but I tested the ssl client authentication on several
computers, both inside and outside our LAN with both
I must be stupid or something because I can´t get this to work :(
Anyway I figured what the hell, and made a symlink pointing from
CATALINA_HOME/webapps/ROOT to /var/www/webapps/R2M/SMC and it now works.
A little cheep solution but it works.
I have absolutley no Idea to why it does not work to co
77 matches
Mail list logo