Hi,
I think I have seen this Exception.
I had certificate with both human readable and encoded parts. I deleted
human readable part (I left only encoded part between -BEGIN
CERTIFICATE- and -END CERTIFICATE- including these tags).
After this, I was able to import this certificate.
First you need to import you CA cert into a JKS keystore file (usually
different from the one that you are using for Tomcat's keystore). Since you
are using 4.1.x, you then need to add:
-Djavax.net.ssl.trustStore=/path/to/truststore/file
to the command line that starts Tomcat. (For TC 5, you
As I told in this thread before, what I want to do is
authenticating users as soon as they register themselves.
Currently new users have to (1) visit subscribing page to subscribe
and then (2) visit login page and input user name and password again.
I want to avoid (2) step for new users.
And I
Those viral hosts can be even more nasty than the spam hosts ;-).
But seriously, yes this is the right place to ask your question. However,
if you'll have to provide more details on what you are trying to do to get a
serious answer.
stella luna [EMAIL PROTECTED] wrote in message
news:[EMAIL
Hello,
I installed Tomcat, formally run from the console. I am now trying
to get it to run as a service. I have in the registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tomcat\Parameters:
JVM Option Count REG_DWORD0X0004 (4)
JVM Option Number 0 REG_SZ
I also tried:
String url = /j_security_check + ? +
j_username + = + username + +
j_password + = + password;
RequestDispatcher dispatcher =
getServlet().getServletContext().getRequestDispatcher( url );
dispatcher.include( request,
That's ok, but when I recieve a SSL request and i want to redirect to NON
SSL request i need to know the other port, not the port of the curren
request.
Thanks
-Mensaje original-
De: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Enviado el: jueves, 27 de mayo de 2004 14:50
Para: Tomcat Users
I need to integrate Tomcat 3.3 with Apache 2.0.48. Does any body sample
configuration files for mod_jk2 to go with this configuration. I will be
happy, even if the files for a different configuration.
Here's basic jk2.properties file and workers2.properties for a fresh Tomcat
5.0.24, Apache
hi all!
we have a project requirement where in we have to use tomcat 4.1 along with
win2k japanese version. wat all changes i have to make in tomcat for this.
we will have JSP and java beans. database will be oracle 9i.
warm rgds,
Rahul Bhardwaj
I have problems building mod_jk2 with Fedora Core 2. It seems to a
problem with the mod_jk2 aclocal script???
Anyone that has successfully build mod_jk2 with Fedora Core 2?
Here are the output:
[EMAIL PROTECTED] native2]# ./buildconf.sh
libtoolize --force --automake --copy
aclocal
Hi,
I am trying compiling Mod_jk2-2.0.4. As Matt Igor told me i need to
specify ./configure where my Tomcat is.
But i have JBoss 3.2.3 (built in tomcat41 as service).
Must i still have Tomcat41 on the system where i compile mod_jk2??
Thanks
Bhaskar
-Original Message-
From: Dale, Matt
i don't think the webbrowser can access the jar file inside the WEB-INF
directory, it is protected by tomcat. you have to place the jar file
containing the applet code in a public location such as [...]/hello/applet.
the rendered output (sent to the client) of the jsp page would be
interesting,
-BEGIN PGP SIGNED MESSAGE-
I'm busy writing installation instructions for a webapp, and I've just had my
first draft sent back to me as 'much too technical and complex'.
For the webapp to work, I need 'unpackWARs' to be true in the server.xml file.
A lot of Tomcat 4 distributions I've
Extract from the HTTP spec:
The Referer field MUST NOT be sent if the Request-URI
was obtained from a source that does not have
its own URI, such as input from the user keyboard.
http://www.w3.org/Protocols/rfc2616/rfc2616.txt
So unless someone links to your index page you'll probably never get a
Hi,
Don't rely on a default value for unpackWARs: put it in your
instructions that it must be true, because that's a place where your
webapp deviates from the Servlet Specification (which only requires
containers to support packed WARs).
Yoav Shapira
Millennium Research Informatics
Hi:
I'm certainly no expert, but the way I did it, you
don't directly invoke jsvc -- you just edit-up the
Tomcat5.sh script, and use it to start and stop
tomcat: e.g., on my setup,
./usr/local/tomcat5/bin/jsvc-src/native/Tomcat5.sh start
The startup/shutdown script takes care of calling
jsvc and
On May 27, 2004, at 12:43 PM, Leonard Sitongia wrote:
On May 27, 2004, at 10:05 AM, Leonard Sitongia wrote:
But, the number of Sessions is 140.
The number appears to have fluctuations up and down, but the overall
trend is to increase. There are now 170 sessions. Some sessions
apparently expire
Take a look in tomcat/bin. There is a service.bat file that can install and
uninstall the service. Should do the trick for you.
From: Paul Wallace [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: registering Tomcat as service
Date: Fri, 28 May 2004
Hi.
On this subject - in the older Tomcat service executable (specifically
jk_nt_service.exe for TC 3) the executable was pointed at a
wrapper.properties file.
This wrapper.properties provided the means to add new -X and -D properties
to the executable without having to re-install the service as
hi
i have a sistem running apache 2.x **tomcat 4.x *** mod_jk .how can i
migrate my web site to tomcat.5x and apache 2.x(latest version)
my aim is to make website so portable that when apache and tomcat release
new version
i can upgrade my system easily.is it possible ?
sincerely
Hi,
Yeah, it's possible, if you stick to the Servlet Specification. That
includes:
- Deploying and running from a packed WAR
- Allow the server administrator to configure any external resources you
need, such as writing directories and database information, via the
standard J2EE JNDI mechanisms
What should i do when i get this error on solaris8 (when i say ./config
--with-apxs2=/usr/local/apache2/bin/apxs...etc.)
could not find /usr/local/apache2/bin/apxs
configure: error: You must specify a valid --with-apxs2 path
Thanks
Bhaskar
did you build apache2 with apxs support? if not, recompile.
./configure --help
On Fri, 28 May 2004, Kommuru, Bhaskar wrote:
Date: Fri, 28 May 2004 15:44:58 +0200
From: Kommuru, Bhaskar [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL
On Fri, May 28, 2004 at 04:38:48PM +0300, Eyup TEKIN wrote:
: i have a sistem running apache 2.x **tomcat 4.x *** mod_jk .how can i
: migrate my web site to tomcat.5x and apache 2.x(latest version)
I have a (brief) Tomcat 4-5 upgrade doc on my website at
http://www.BrandXDev.net
: my aim
V I R U S A L E R T
Our viruschecker found a VIRUS in your email to [EMAIL PROTECTED].
We stopped delivery of this email!
Now it is on you to check your system for viruses
In file:
/usr/local/mav/basedir/i4SE8nE5028344/i4SE8nE5028344
You can modify the service parameters via the GUI. See...
http://jakarta.apache.org/commons/daemon/procrun.html
Even though most of the instructions on that page are outdated, the information
near the bottom of the page is still useful. In particular...
Changing the Service Parameters from the
NO. but i have downloaded apache2 from Sunfreeware.com for solaris2.8
did you build apache2 with apxs support? if not, recompile.
./configure --help
On Fri, 28 May 2004, Kommuru, Bhaskar wrote:
Date: Fri, 28 May 2004 15:44:58 +0200
From: Kommuru, Bhaskar [EMAIL PROTECTED]
Reply-To:
Hello,
I have installed Tomcat 5.0.25 . I am trying to create a web application,
but having trouble deploying servlets.
I have created the required directory structure in the TOMCAT_HOME/webapps
directory...namely examples/WEB-INF/classes.
Also I added
Context path=/examples docBase=examples
Nada
Did you get reply for this. I too have to same problem.
I heard it is one of those missing feature of AJP1.3. I want to know how can
we do a work around for this.
Let me know if you know
Thanks
Bhaskar
-Original Message-
From: Nanda [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 26,
Please forgive this email. It's a self-improvement exercise. I didn't
take logic in University, so I'm genuinely asking the questions below.
I'm not being sarcastic ;) Only bother reading this if you're on lunch,
and care to take a bit of a thought exercise.
I cannot find a single place in
http://jakarta.apache.org/tomcat/faq/misc.html#invoker
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: swapna gupta [mailto:[EMAIL PROTECTED]
Sent: Friday, May 28, 2004 11:38 AM
To: [EMAIL PROTECTED]
Subject: creating web applications
Hello,
I have installed
Hi,
In short:
- Yes some of the spec parts use weak wording, e.g. may, take that up
with the spec JSR group (there's contact info on the JSR web page)
- It's clear that supporting a packed WAR is required
- It's clear that supporting open file system structure is optional
- No one is saying open
I have compiled Mod_jk2-2.0.4 with apache2.0.49. But when i configtest/start
apache i get the following error.
# /usr/local/apache2/bin/apachectl configtest
Syntax error on line 269 of /usr/local/apache2/conf/httpd.conf:
Can't locate API module structure `jk2_module' in file
Hi there.
The GUI is not always going to be good for me as I need to make the change
command line settings via my own web based server management interface.
I assume that the app changes registry enties? Is there documentation on
the registry entries? I could then make changes directly in the
I'm confused... are you trying to use mod_jk or mod_jk2? mod_jk2 is on
mod_jk.so, not mod_jk.so, this is the mod_jk library.
Kommuru, Bhaskar wrote:
I have compiled Mod_jk2-2.0.4 with apache2.0.49. But when i configtest/start
apache i get the following error.
# /usr/local/apache2/bin/apachectl
Where will I get ajp13 protocol specifications? I need to make my own mod_jk2's java
variant.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I am using Tomcat 5.025 Mod jk 1.2.5 and Apache 2.0.49
Memory just keeps ramping up untill it goes out of memory
It is on a Windows 2003 server
Any Ideas?
Thanks James
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Hello,
I am running into problems with downloading unusually big files within my
application using the ServletOutputStream.
From what I read on the documentation I set the Coyote Connector attribute
connectionTimeout=-1 and still the problem persists.
Any ideas/advice anyone ?
Thanks,
Paul.
I forgot to mention - I am running Tomcat 4.1.27 on Win2K.
Thanks.
--- Paul Mitchell [EMAIL PROTECTED] wrote:
Hello,
I am running into problems with downloading unusually big files within my
application using the ServletOutputStream.
From what I read on the documentation I set the
Hi all,
Is there any infrastruture availabe (or at least any possiblities) in
Tomcat to tune the QoS requests are receiving?
For instance, is it possible to give differentiated treatments to
requests of various importance, by granting them different amount of
resources, queueing them
Hey All I am running Tomcat 5.0.24 on a RH9 Machine, at startup using JSVC.
My root problem is I am unable to get tomcat's SSL port to run on 443..
(works peachy on 8443, but when I hit 443 I get nothing it just hangs and
timesout). Well anyway I was trying to get Log4j logging to work so I could
I have the same configuration (except tomcat 5.0.19 and Suse linux 9.1)
and have the same problem...
do you have this kind of message at your catalina.log?
May 28, 2004 2:44:14 PM org.apache.jk.common.HandlerRequest invoke
INFO: Unknown message 0
May 28, 2004 2:44:49 PM
In the catalina.bat (catalina.sh) I added the java args...
set JAVA_OPTS=-Djavax.servlet.request.encoding=UTF-8 -Dfile.encoding=UTF-8
then all my encodings seem to come across as UTF-8 by default.. so far its
been working.
-Rick
-Original Message-
From: rlipi [mailto:[EMAIL
Hello,
I'm using OpenJMS embedded in Tomcat 5.0.24 and when ever I do a shutdown
Tomcat can't shutdown completely because OpenJMS server is still running in
its own thread ( I presume ). If I use the OpenJMS management classes and
tell the server to shutdown, then tell Tomcat to shutdown,
I just recently successfully built mod_jk2 v2.0.4 under Fedora Core 2 Test
3. I first had to rebuild Apache - I used v2.0.49 - for apxs to work
properly when compiling jk2. I then brought down the latest src for jk2 -
v2.0.4. Here are the configure scripts I used for httpd and jk2. They are
Hi,
Yes Finally i figured out the problem... its all because of the outdated
.jar file in my app [I changed to latest j2ee.jar and it worked fine].
Tomcat 5 is working fine :))
thanks to all for ur reply..
Cheers,
Raj
Hi,
For starters, run it standalone. Always get things working
See ServletContextListener
-Tim
Dev Team wrote:
Hello,
I'm using OpenJMS embedded in Tomcat 5.0.24 and when ever I do a shutdown
Tomcat can't shutdown completely because OpenJMS server is still running in
its own thread ( I presume ). If I use the OpenJMS management classes and
tell the server
Hi,
I am trying to debug a memory consumption issue with an application. I
would
appreciate any help I can get.
The application I am debugging is a web application written using
j2sdk 1.4.1_02 and struts 1.0.2. The tomcat version I am using is
4.1.27.
The backend has a relational database
Nope. The spec doesn't spell this out. If your feeling daring, you could
write a filter that tries to set and reset the Thread.priorities on the fly.
Then if your JVM pays attention to the thread priorities - you might get the
tweaking you need. (You can also do this in a Valve if you want to
Thanks Tim, can't believe I didn't see that.
-Rick
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Posted At: Friday, May 28, 2004 11:57 AM
Posted To: Tomcat Dev
Conversation: How does one get notified of webapp shutdown in the webapp to
do clean up?
Subject: Re: How does
My guess is that jsvc is failing. Is there an error in your output file or
error file? (ie. ../logs/catalina.out ../logs/catalina.err).
As for why it was failing, I found it was so unreliable on my system that I
eventually ditched it (but then I don't need port 80). All in all, it's easier
to
Upgrade to tc5.024
Its been sorted, i had the same jazz happening. I changed to 5.0.24 as
no problems since.
On 28 May 2004, at 19:55, Emerson Cargnin wrote:
I have the same configuration (except tomcat 5.0.19 and Suse linux
9.1) and have the same problem...
do you have this kind of message at
After hours of messing around trying to get the log4j to initialize with
tomcat here's what you need to do:
Put the log4j jar file into $CATALINA_HOME/common/lib, and your
log4j.properties or log4j.xml into $CATALINA_HOME/common/classes. Then
modify your tomcat jsvc classpath variable to look
I rechecked my configuration file, and I was using to
JSVC script for tomcat 4 which loads a different class
than the tomcat 5 script. I corrected the class and
it works flawlessly.
There are always TWO JSVC processes running. Is that
normal? And can somebody please explain exactly what
is
Many thanks, Tim. That at least sounds worth a try... I've got a valve
sampling performance data up and running already.
But, Is it sensible we may alter Tomcat to make it QoS-enabled? If
so, where shall we look at to start?
Best regards,
Rui
On Fri, 28 May 2004, Tim Funk wrote:
Nope. The
Can some one tell me how to unsubscribe from this group ?
Thanks
Ram
-Original Message-
From: Rui Zhang [mailto:[EMAIL PROTECTED]
Sent: Friday, May 28, 2004 3:59 PM
To: Tomcat Users List
Subject: Re: QoS in Tomcat?
Many thanks, Tim. That at least sounds worth a try... I've got a valve
After hours of messing around trying to get the log4j to initialize
looking in the archives would have saved you hours of work!
http://www.mail-archive.com/[EMAIL PROTECTED]/msg126799.html
Filip
-Original Message-
From: David Erickson [mailto:[EMAIL PROTECTED]
Sent: Friday, May 28,
Justin,
It is normal for there to be two processes running.
As for exactly, I can't say, but my understanding is that jsvc start the
process, in this case tomcat, then after tomcat has allocated the ports on
80 and/or 443 the privileges are then change to the level of the user
specified in the
Believe me I looked through the archives.. this post doesn't work when using
JSVC to launch TC. And apparently somewhere in the last hour I had
something working because it generated a console.log but I didn't notice it
and then when i did notice it I had changed stuff and it was broken again...
Hi Everybody!
I am new to Tomcat and to the list.
I just downloaded and installed Tomcat/4.1.30.
The only reason I did it is to learn about Tomcat and J2EE. At this point
in time I am not yet interested in an actual fully functional web server.
Well, when I tried to access familiar web pages
By saying you installed it, I'm left with the impression you
downloaded and double clicked the windows installer.
Tomcat's built in http server catalina serves over port 80
Point your browser here and you never know it could already be running
http://localhost:8080/
If not tell me what os
Personally - I would run many instances of tomcat clustered to get the
performance you need. It would be much more predictable to maintain.
-Tim
Rui Zhang wrote:
Many thanks, Tim. That at least sounds worth a try... I've got a valve
sampling performance data up and running already.
But, Is it
Good point. I will look into that.
Many thanks.
Rui
On Fri, 28 May 2004, Tim Funk wrote:
Personally - I would run many instances of tomcat clustered to get the
performance you need. It would be much more predictable to maintain.
-Tim
Rui Zhang wrote:
Many thanks, Tim. That at least
By saying you installed it, I'm left with the impression you
downloaded and double clicked the windows installer.
Something like that.
Tomcat's built in http server catalina serves over port 80
Point your browser here and you never know it could already be running
Ok this time I got it working for sure, note this is specific to getting
log4j working to log tomcat's classes when launched from jsvc.
1) Download commons-logging.jar and put it in $CATALINA_HOME/bin
2) Download the log4j jar and also put it in $CATALINA_HOME/bin
3) Create your log4j.properties
On Fri, May 28, 2004 at 06:09:46PM -0400, Victor Goldberg, Ph.D. wrote:
: My problem is that there
: is something in its configuration that is not allowing me access any other
: web sites, Google. When I try to access other sites, all I get is the
: default Tomcat home page. What I want is to be
Good day All,
Below are my configurations and versions. The problem I have is that when I
try to load the mod_jk.so, it appears to load but fails with the following
error message when starting Apache:
/opt/app/apache1.3.31/bin]
./apachectl start
Syntax error on line 654 of
On Fri, May 28, 2004 at 05:44:19PM -0500, Gibson, Danny wrote:
: Syntax error on line 654 of /opt/app/apache1.3.31/conf/httpd.conf:
: Invalid command 'JkMount', perhaps mis-spelled or defined by a module not
: included in the server configuration
: ./apachectl start: httpd could not be started
Attempting to SSL enable tomcat 4.04. Have implemented JSSE. SSL
works fine when I create a keystore with a self generated certificate.
keytool -genkey -alias tomcat -keyalg RSA -keystore .keystore
We now want to cutover using a production certificate. We create a
.cer file by accessing our
69 matches
Mail list logo