We're in the process of extricating ourselves from a host who developed and
managed our app through their own hosted server.
In attempting to move the app over to a server under our control:
Tomcat 5.5.28 w/ admin package
java 1.5.0_28
Windows 2003 R2
all they gave me was a zipped up directory
The SSL configuration for a Tomcat 5.5 server is described at
http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html. To quote from the
top of that file, this assumes you're not using APR (Apache Portable
Runtime). APR is not the default configuration as I recall - if you don't
know that you are
Hi John,
You need to enable HTTPS connector, refer to SSL Support section in
http://tomcat.apache.org/tomcat-5.5-doc/config/http.html to enable SSL
in server.xml.
On 24 March 2010 14:22, joon yoo jyoo1...@gmail.com wrote:
We're in the process of extricating ourselves from a host who developed
I'm using apache-tomcat-6.0.20 with JASPER 2
I need to compile a web project (Eclipse WAR application) which is JSP to
JAVA source files.
I'm successfully generating JAVA files from JSP files (Used JASPER 2), but
now i need to get mapping from JSP lines to JAVA lines.
I tried using SMAP
I am trying to configure context in a META-INF context.xml which is new to
me.
I have set my path to myPath and when I am deploying my myWar.war I
thought that my app would be called myPath but instead, as usual, it is
called myWar.
What am I doing wrong??? What is path for???
Soren, DK
hi
i installed apache-tomcat-6.0.20 and set path variable accordingly then i
access http://localhost:8080/ and it shows default apache tomcat page.
but as if try to access http://localhost:8080/myfile.html then it display
error
type Status report
message /myfile.html
description The
You could access http://localhost:8080/myapp/myfile.html,
or check the path is right or not in $CATALINA_HOME/conf/context.xml.
Mercy
mehar300 wrote:
hi
i installed apache-tomcat-6.0.20 and set path variable accordingly then i
access http://localhost:8080/ and it shows default apache tomcat
Hi TWönlìnè,
Did you a project named Server with a sub folder whose name is
like Tomcat v6.0 Server at localhost-config?
If you had, please set these values into web.xml in.
Kind regards,
Mercy
TWönlìnè wrote:
I'm using apache-tomcat-6.0.20 with JASPER 2
I need to compile a
@Mercy, Thanks
I managed to create SMAP files,
using this code in my BUILD.XML - which compiles JSPs
taskdef classname=org.apache.jasper.JspC name=jasper2
classpath refid=tomcat.classpath /
/taskdef
target name=jasper.jspc
echo message=Starting JASPER/JSPC compiler... /
Hi,
I executed a sample on apache-tomcat-6.0.26 as follows :
[man...@localhost axis-1_4]$ java -cp $AXISCLASSPATH samples.stock.GetQuote
-lhttp://localhost:8080/axis/servlet/AxisServlet -uuser1 -wpass1 XXX
log4j:WARN No appenders could be found for logger
From: Søren Blidorf [mailto:so...@nolas.dk]
Subject: path in context.xml
I am trying to configure context in a META-INF context.xml which
is new to me.
I have set my path to myPath
The path attribute is illegal when the Context element is in
META-INF/context.xml. You must rename your
From: Mercy [mailto:techme...@gmail.com]
Subject: Re: The requested resource ... is not available
or check the path is right or not in $CATALINA_HOME/conf/context.xml.
The above file must never, never have a path attribute in it.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR
From: mehar300 [mailto:mehar...@yahoo.com]
Subject: The requested resource ... is not available
i installed apache-tomcat-6.0.20 and set path variable accordingly
What do you mean by path variable? If you're referring to the system PATH
environment variable, it need not be set to anything
Can anybody tell me how to exclude files/folders in my .war.
I am using Jbuilder 2006.
Soren, DK
Hi all,
I've been working on the memory behavior of a small Tomcat 6.0.20/Java
1.6 app running in constrained space (288MB total on a VPS running
CentOS 5). Earlier advice from the list enabled me to track down the
most glaring culprit memory leaks. The app is currently lightly used,
From: Ken Bowen [mailto:kbo...@als.com]
Subject: GC behavior elucidation
My gclog shows routine GCs approx every 3-4 mins that look like this:
2010-03-17T01:28:05.888-0400: 543717.992:
[GC 543717.992:
[DefNew: 6222K-487K(6528K), 0.0030010 secs]
44060K-38706K(64832K), 0.0030920 secs]
On 24/03/2010 12:44, Manoj Kumar wrote:
Hi,
I executed a sample on apache-tomcat-6.0.26 as follows :
[man...@localhost axis-1_4]$ java -cp $AXISCLASSPATH samples.stock.GetQuote
-lhttp://localhost:8080/axis/servlet/AxisServlet -uuser1 -wpass1 XXX
log4j:WARN No appenders could be found
On 24/03/2010 13:08, Søren Blidorf wrote:
Can anybody tell me how to exclude files/folders in my .war.
I am using Jbuilder 2006.
Soren, DK
Probably a question for the JBuilder community rather than the Tomcat
community, no?
p
ChuckthanksKen
On Mar 24, 2010, at 9:51 AM, Caldarale, Charles R wrote:
From: Ken Bowen [mailto:kbo...@als.com]
Subject: GC behavior elucidation
My gclog shows routine GCs approx every 3-4 mins that look like this:
2010-03-17T01:28:05.888-0400: 543717.992:
[GC 543717.992:
[DefNew:
Hi all !
If I post a form in the jsp then it execute the doPost of the right servlet.
If the servlet detects an error in the form, I send back to the jsp.
All is OK.
But...
If the jsp has an c:import url=/form2/ ( /form2 is a servlet redirecting to
another jsp, and c:import is the 'core'
Thanks, Mark -- I'll shake down that thread here in a bit.
-Original Message-
From: Mark Thomas [mailto:ma...@apache.org]
Sent: Tuesday, March 23, 2010 5:54 PM
To: Tomcat Users List
Subject: Re: DB connection error -Tomcat 6 config
On 23/03/2010 22:39, Propes, Barry L wrote:
I got
Admittedly, this is my first dance with the Tomcat manager app, deploying
anything. I was, I suppose archaically, arguably, just using the startup and
shutdown commands at the cmd prompt level.
Although when I ran find memory leaks or whatever that little button reads,
it did mention my app
From: Propes, Barry L [mailto:barry.l.pro...@citi.com]
Subject: RE: DB connection error -Tomcat 6 config
Although when I ran find memory leaks or whatever that little button
reads, it did mention my app had some classes that were still being
used, which seemed odd, but I assume accurate.
No, I didn't undeploy it at all - I simply stopped, and started it. Then I
reloaded it.
And/or, if I simply only reloaded it, I got the same error message.
I'm not using a MySQL connector at all, as I noticed Pid had mentioned - only
Oracle 10g.
-Original Message-
From: Caldarale,
No, not sure. That is what I was confused about.
JDBC Realm, vs JNDI DataSourceRealm, vs JDBC DataSource
I think what was throwing me off was seeing examples of the tomcat-users in
both the realm-howto and in the jndi-resources-howto
I'm attempting container managed security using SQL Server.
Dear Tomcat community:
Here's my setup:
- I am running Apache Tomcat/6.0.24.
- I am deploying the my applications 'exploded' -- i.e. NOT as a war file.
- each application is defined by a /META-INF/context.xml in the respective
appBase directory.
- I have several virtual hosts:
Service
On 24/03/2010 15:43, Leo Donahue - PLANDEVX wrote:
No, not sure. That is what I was confused about.
JDBC Realm, vs JNDI DataSourceRealm, vs JDBC DataSource
I think what was throwing me off was seeing examples of the tomcat-users in
both the realm-howto and in the jndi-resources-howto
I'm
On 24/03/2010 15:44, Dave Cherkassky wrote:
Dear Tomcat community:
Here's my setup:
- I am running Apache Tomcat/6.0.24.
- I am deploying the my applications 'exploded' -- i.e. NOT as a war file.
- each application is defined by a /META-INF/context.xml in the
respective appBase directory.
- I
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Leo,
On 3/24/2010 11:43 AM, Leo Donahue - PLANDEVX wrote:
No, not sure. That is what I was confused about.
JDBC Realm, vs JNDI DataSourceRealm, vs JDBC DataSource
A Realm is something Tomcat uses for authentication. A DataSource is an
object
From: Pid [mailto:p...@pidster.com]
Subject: Re: Connecting to a Database
If you define the datasource as a global resource, you can define the
Realm in server.xml (before or inside the Host), but then you need a
resource link in the context.xml to make the global resource available
to the
See below:
Is this a new bug?
Why is it a bug?
Sorry, I was not implying anything :) I was just wondering why the behaviour
changed.
Did the Tomcat behaviour change in an undocumented fashion?
See notes for 6.0.19.
http://tomcat.apache.org/tomcat-6.0-doc/changelog.html
Ah, this is a
Thanks everyone. I understand this better.
I know you can specify digest for a Realm, but I don't see where I can do that
for a Resource. Do I need to leave the password of javadude in the Resource
in clear text, or can it be a digested version of javadude in clear text in
the Resource
Hi, I have to run tomcat against 500 concurrent users. I am using tomcat6,
Java1.6 and tomcat running on windows2003 OS. Do I have to do any additional
configuration for this in tomcat or no configuration required? Kindly help
me. Do I have to specify any maximum threads allowed or kind of
I'm getting this error when trying to merge CERT into keystore
c:\Program Files\Java\jre6\binkeytool -import -alias tomcat -keystore
c:\sbskey
tools\keys\sbs.keystore -trustcacerts -file
c:\sbskeytools\keys\ebiz-sslcert.ce
r
keytool error: java.security.cert.CertificateException:
On 03/23/2010 09:46 AM, Tom wrote:
On Tue, Mar 23, 2010 at 1:58 PM, Caldarale, Charles R
chuck.caldar...@unisys.com wrote:
From: Tom [mailto:808...@gmail.com]
Subject: Session replication: Channel.SEND_OPTIONS_SECURE
There is little documentation about Channel.SEND_OPTIONS_SECURE
Hi,
I'm working in an application that uses an embedded tomcat and I'd like to
add a feature to add a connection pool by source but when I run the server
I'm getting this error:
javax.naming.NoInitialContextException: Need to specify class name in
environment or system property, or as an
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Leo,
On 3/24/2010 1:28 PM, Leo Donahue - PLANDEVX wrote:
I know you can specify digest for a Realm, but I don't see where I
can do that for a Resource.
Note that the digest is for hashing passwords during /user/
authentication, not connecting to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 3/24/2010 2:02 PM, Toman, Chuck [Stock] wrote:
I'm getting this error when trying to merge CERT into keystore
c:\Program Files\Java\jre6\binkeytool -import -alias tomcat -keystore
c:\sbskeytools\keys\sbs.keystore -trustcacerts -file
Chris,
In my realm, you're saying that the digest attribute is how the password is
stored in the database? Not how it is entered/translated when the user logs
in.
I'm using this to generate a MD5 hash of the password = password:
java -classpath
It depends entirely on your application. 500 users each asking for one
static HTML page every 10 minutes? Sure, no problem. 500 concurrent users
requesting 1 page every 10 seconds that takes 8 seconds to generate? Ah,
now you're going to have to do some tuning.
Have you profiled your
Good Evening Leo-
i would suggest using the Digest class (over command line calculation of
Password)
http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html#Digested%20Passwords
HTH
Martin Gainty
__
Relayers are requested to not disrupt or
i would look at tuning permgen (specifically for handling anonymous classes)
and perhaps using DBCP for connection pooling..resource handles ARE expensive
(and anything else pete suggests)
Martin Gainty
__
Verzicht und Vertraulichkeitanmerkung/Note
Just to get this into the archives for the next time it comes up
http://tomcatexpert.com/blog/2010/03/24/myth-or-truth-one-should-always-use-apache-httpd-front-apache-tomcat-improve-perform
because I don't know if the author (a certain mthomas) will mention
it here. :-)
(via @springsource on
On 25/03/2010 00:26, Hassan Schroeder wrote:
Just to get this into the archives for the next time it comes up
http://tomcatexpert.com/blog/2010/03/24/myth-or-truth-one-should-always-use-apache-httpd-front-apache-tomcat-improve-perform
because I don't know if the author (a certain mthomas)
On Thu, Mar 25, 2010 at 1:50 AM, Mark Thomas ma...@apache.org wrote:
Chris deserves a lot of the credit. Without his figures, it is just opinion.
That's the second benchmark that I see today that has odd numbers.
Rémy
-
To
Peter,
Thank you so much for your help, that tip about CONFIDENTIAL was just HUGE
in helping me get this working.
Also, thanks to Sam for linking to the documentation.
All the best,
John
On Wed, Mar 24, 2010 at 3:24 AM, Peter Crowther peter.crowt...@melandra.com
wrote:
The SSL
i want you to give me more details about this idea bacause i want to do
something with Tuscany SCA in Java and i think this an opportunity for me to
do it. So i want more details about this idea and i will submit you my
project and we will discuss about it before the subcription for the GSoC
I would like to work on this project. I propose a JAVA API that we can use
to let Tomcat support SPDY.
I'm waiting for your critics about this proposal.
Thank you very much.
Nouhoun
Hi all,
Thanks alot for your contributions.
What other file should i reconfigure to permanently connect the tomcat
to a particular mysql server? Say, mysql server running on port 3308?
And can i make it automatically start the mysql database?
Thank you in anticipation for your collaboration.
CTO
** SOLVED **
1. It would have helped had I added the localDataSource=true to the Realm,
since I was using the realm in META-INF/context.xml
2. It would have helped if I had paid attention to the actual table name I was
using for the userRoleTable.
The table should have been
Can someone help me to understand SMAP feature (how the mapping is indicated
in files) in TOMCAT? (a reference link or a book would be great)
--
_A_N_I_M_E_-_O_T_A_K_U_
From: TWönlìnè [mailto:twonlinevi...@gmail.com]
Subject: Help required for SMAP
Can someone help me to understand SMAP feature (how the mapping is
indicated in files) in TOMCAT?
Try reading the servlet spec. All of it should be required reading for anyone
using servlets or JSPs, but
Not URL mapping, i need to understand SMAP mapping, here's a SMAP file i
created, (when compiling JSP to JAVA sources)
SMAP
time_jsp.java
JSP
*S JSP
*F
+ 0 time.jsp
mytest/time.jsp
*L
3,11:55,0
14,3:57
16,3:60,0
18:61
19,2:62,0
*E
this is JSP line to JAVA line mapping ???
but i found that
Hi Nouhoun,
I too was interested in this idea and Jean-Frederic provided a brief
explanation and also some useful resources.
Perhaps you will also find them useful to get started. I'm including a link
[1] to the discussion below.
[1] http://marc.info/?l=tomcat-devm=126924586709978w=2
Regards,
From: TWönlìnè [mailto:twonlinevi...@gmail.com]
Subject: Re: Help required for SMAP
Not URL mapping, i need to understand SMAP mapping
Sorry, I misunderstood the problem.
3,11:55,0
14,3:57
16,3:60,0
18:61
19,2:62,0
I believe the above notation is starting line followed by the
55 matches
Mail list logo