Then why use IIS at all? Just configure Tomcat for ports 80
and 443 and eliminate the extra unnecessary software.
This is usually a customer demand. They want to have a webserver connected
to the Internet they (hope they) are familiar with.
Michael
Hi,
Has anyone used this taglib before? I am not able to display the image of
the tab. The author said it is a known issue when it deploys in Window. So
does anyone have a solution for this? Tomcat ver 5.0.028 is used.
Thanks
Terence
--
No virus found in this outgoing message.
Checked by AVG
Hi,
I was using tomcat 3.1 for one of my client sites. Currently they gonna update
it to the latest. When I ported by the application into tomcat 5.5, I found
that response.SendRedirect is giving me the error which was due to the calling
the some action after calling the SendRedirect. But
Hello
Lutz is right : you may define your JRE under Eclipse
Under (sorry for my mistakes : i use a french version and try to translate
in english) Window - Preferences - Installed JRE you may use an other JRE
that the one installed under Eclipse
Hope this will help you
Jean-Claude
-Message
Hello Jean-Claude,
I don't use the Eclipse IDE. I do all my developments with the NetBeans IDE.
But anyway, the IDE does not matter since Tomcat is running separately
in an productive environment under Linux with Apache, mod_jk and Java 1.5_02
Tomcat 5.5 just uses Eclipse JDT compiler classes to
Hi All,
I am currently using Tomcat 5.0.28 coupled with JDK 1.4.2_02 to run
the tomcat service. I have noticed that unless the path to a JDK is
specified in JAVA_HOME, the tomcat does not start. On Windows, the
setclasspath.bat file has the following entries:
:noJavaHome
echo The
Hi Stefan,
Am Donnerstag, 28. April 2005 09:07 schrieb Stefan Parnet:
The problem is:
1. Tomcat 5.5 (without compatibility packages) runs only with Java
1.5 (JRE!)
2. The built in Java compiler to compile JSPs (and only JSPs) is the
Eclipse JDT Compiler !!! JAVA 1.4 !!!
== So Servlets
Hello,
I have a problem under following environment:
- Windows XP SP2
- JDK 1.4.2_04
- Tomcat 5.5.9
- Struts 1.2.4
I use characterEncodingFilter to setup UTF-8 encoding
into request before
using the content of the request. When I submit form with
POST
method it works well. I
tc 5028 on Redhat.
catalina.out shows
28-Apr-2005 07:55:35 org.apache.coyote.http11.Http11Protocol init
SEVERE: Error initializing endpoint
java.net.BindException: Address already in use:80
Cleared by rebooting the system.
Any suggestions as to a cause please?
Apache isn't running, AFAIK there
Hi Dave,
Am Donnerstag, 28. April 2005 09:56 schrieb Pawson, David:
tc 5028 on Redhat.
catalina.out shows
28-Apr-2005 07:55:35 org.apache.coyote.http11.Http11Protocol init
SEVERE: Error initializing endpoint
java.net.BindException: Address already in use:80
Cleared by rebooting the
Is it possible to retrieve a list of all currently installed web applications
through a Servlet? I also need to be able to deploy/undeploy web applications
through a Servlet. I can't seem to find any appropriate classes in the Tomcat
API for this purpose.
regards,
Erik
-Original Message-
From: Lutz Zetzsche
28-Apr-2005 07:55:35 org.apache.coyote.http11.Http11Protocol init
SEVERE: Error initializing endpoint
java.net.BindException: Address already in use:80
Cleared by rebooting the system.
Any
Hi All,
I am currently using Tomcat 5.0.28 coupled with JDK 1.4.2_02 to run
the tomcat service. I have noticed that unless the path to a JDK is
specified in JAVA_HOME, the tomcat does not start. On Windows, the
setclasspath.bat file has the following entries:
:noJavaHome
echo The JAVA_HOME
Good day.
I need to run .jsp file generated by oracle reports under tomcat.
I placed .jsp in webapps directory and tried to run it.
When i was getting noclassdeffound errors i grepped .jar files from reports
distribution
and copied appropriate jars in tomcat lib directory.After copying all
hi Tony,
That is weird, I would have thought IIS should throw some other error
message (not the File not found), something like 401 (not authorized).
But at least you solved your problem so congratulations. Do you have any
references to this from microsoft ?
bye
-reynir
Tony Nakamura wrote:
See the manager application - it lists all webapps runnign as well as
exposes a way to stop and start each of them.
-Tim
Erik Hellman (KA/EAB) wrote:
Is it possible to retrieve a list of all currently installed web applications through a Servlet? I also need to be able to deploy/undeploy web
I think if oracle generated the JSP - their tech support will be more helpful
with how you will need to set up tomcat to run this particular JSP.
-Tim
Yuri Borunov wrote:
Good day.
I need to run .jsp file generated by oracle reports under tomcat.
I placed .jsp in webapps directory and tried to
Hello everbody,
i am facing problems in using a SSL certificate (gemcert.cer) that I recieved
from my client. I imported that to a keystore using:
$JAVA_HOME/bin/keytool -import -alias tomcat -trustcacerts -v -file gemcert.cer
-keystore tomcat.keystore
Then, I configured the server.xml's
Sure, the manager application would do the job. However, I can't seem to find
the source for it? Where in the CVS would I find it?
// Erik
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 28, 2005 12:16 PM
To: Tomcat Users List
Subject: Re: List all
The manager app is here:
http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-catalina/webapps/manager/
The manager servlet is here:
http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-catalina/webapps/manager/WEB-INF/classes/org/apache/catalina/manager/ManagerServlet.java?rev=1.27view=log
-Tim
Erik
It sounds as if you have never tried to use Oracle's tech support, Tim.
--
Charles Knell
[EMAIL PROTECTED] - email
-Original Message-
From: Tim Funk [EMAIL PROTECTED]
Sent: Thu, 28 Apr 2005 06:17:55 -0400
To: Tomcat Users List tomcat-user@jakarta.apache.org
Subject: Re:
Hi,
But how can you run asp files when you use only Tomcat?
Yuval
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 28, 2005 8:30 AM
To: 'Tomcat Users List'
Subject: Spam:AW: Jk and IIS 6 slow (resent)
Then why use IIS at all? Just configure
From: Yuval Zantkeren [mailto:[EMAIL PROTECTED]
Subject: RE: :AW: Jk and IIS 6 slow (resent)
But how can you run asp files when you use only Tomcat?
You can't. But I think you might have missed this previous comment from
the OP:
We hadn't noticed this before because we don't use the IIS
A few questions:
How many servers have this problem?
You say you have a different server set up the same way and it has no
problem, am I correct?
Did you apply any updates to the server?
Did you apply the same update to the server that is running OK?
Have you rebooted the server?
Has the load
Hello Everybody,
I installed a basic load-balancing solution based on JBoss/Tomcat and
mod_jk1.2.
I followed the instructions on page
http://www.jboss.org/wiki/Wiki.jsp?page=UsingMod_jk1.2WithJBoss
But in the Tomcat log file, I have some hexadecimal values as below :
11:28:05,356 INFO
Hi
Did you have a look at the how-to, which I mentioned yesterday? And if yes,
why didn't it solve your problem?
- http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jasper-howto.html
It works.. But there's a problem with
compilerSourceVM - What JDK version are the source files compatible with?
Thanks,
It worked, the only problem is that we failed to
specify the RSA algorithm.
Are we screwed for using DSA?
--- Mark Thomas [EMAIL PROTECTED] wrote:
The following steps should work (although I have
only ever done this
using my own CA).
1. Create tomcat key in your own keystore
2.
iam trying to send a simple email using javamailAPI
but iam getting the following error
sun.net.smtp.SmtpProtocolException: 553 Sorry, that domain isn't in my list of
allowed rcpthosts.
at sun.net.smtp.SmtpClient.issueCommand(Unknown Source)
at sun.net.smtp.SmtpClient.toCanonical(Unknown
The problem appears to be with your SMTP server and not java. Looks like you
might need to open it up a bit to relaying.
Ta
Matt
-Original Message-
From: vishwam [mailto:[EMAIL PROTECTED]
Sent: 28 April 2005 14:18
To: Tomcat Users List
Subject: unable to send a java mail
iam trying
From: vishwam [mailto:[EMAIL PROTECTED]
iam trying to send a simple email using javamailAPI
but iam getting the following error
sun.net.smtp.SmtpProtocolException: 553 Sorry, that domain
isn't in my list of allowed rcpthosts.
That's a response from your mail server. I suspect you're
Hi,
try to make a POP3 request before trying to send a SMTP Mail thru the
mailserver. This can be a security feature of your mailserver.
Marco
---
http://www.kontaktlinsen-preisvergleich.de
http://www.parfuem-faq.de
Am Donnerstag, den 28.04.2005, 18:48 +0530 schrieb vishwam:
iam trying to
my smtp server requires authentication with username password
but i couldn't find these smtp authentication fields in java mail
specification
my email program is like this
public class MailServlet extends HttpServlet {
static final String FROM = [EMAIL PROTECTED];
static final String TO =
I have a servlet/JSP application in which users establish their servlet
session using https but conduct the rest of their interactions using http.
The session appears not to be preserved between https and http, ie. after
switching from back to http the request.getSession(false) call returns
From: vishwam [mailto:[EMAIL PROTECTED]
my smtp server requires authentication with username password
but i couldn't find these smtp authentication fields in java mail
specification
The section entitled 'transport' in
http://java.sun.com/developer/onlineTraining/JavaMail/contents.html
Hello,
I'm experimenting with applying a servlet filter to an existing webapp and
I'm getting a ClassCastException upon startup.
Can I do this without modifying the webapp source and adding my filter in
there? If so, what else could be causing this?
I'm not sure where it looks for the
Greetings,
Try adding a filter block to your web.xml. Your JSP container locates your
filters thru these sections in the web.xml. I included a small sample
filter block below.
filter
filter-nameprocessingFilter/filter-name
filter-classservletFilters.ProcessingFilter/filter-class
/filter
I've done that, thanks. Here's what I added for the filter:
filter
filter-nametimerFilter/filter-name
filter-classTimerFilter/filter-class
/filter
filter-mapping
filter-nametimerFilter/filter-name
url-pattern/*/url-pattern
/filter-mapping
to my
And to save anyone the trouble, I also tried substituting the url-pattern
element for a servlet-name element and named the
servlet I'm trying to filter. Same result - ClassCastException. I get
nothing helpful from the log, but just in case someone
with more experience can, here's a snip:
Try the following:
- Put you filter into a package, I've seen some versions of the JVM
that really don't like non-package classes.
- Make sure you are using settings compatible with the JVM that
Tomcat is running under when compiling the class.
joelsherriff wrote:
I've done that, thanks.
On 4/28/05, Anhony [EMAIL PROTECTED] wrote:
I have a servlet/JSP application in which users establish their servlet
session using https but conduct the rest of their interactions using http.
The session appears not to be preserved between https and http, ie. after
switching from back to http
I am using Tomcat 5.0.28
Users log into my application from https://xxx.com/login.jsp. When
submitted, I check for a valid userID/Password, create a session with
getSession(), and then save the userID/Password in a session variable. The
validated user is then returned to my main tools page. If
Last I knew sessions are not shared between SSL and non-SSL connections
by design (as opposed to a bug). Your best bet is probably:
1. Start a session on the non-ssl side
2. Forward the user to the ssl login w/ the session id in the request
3. The ssl login stores the session id and any other
Thanks - that seemed to do the trick.
- Original Message -
From: Robert r. Sanders [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Thursday, April 28, 2005 10:26 AM
Subject: Re: How to use servlet filters without modifying webapp
Try the following:
-
From tomcat /manager/ did:
(1) remove application
(2) uploaded war from PC to server to install
(3) optionally reload/stop/start, sometimes repeatedly
Tomcat still running the old version.
Any known reasons?
Peiyun Jiang
-
To
Delete the work dir and reload
-Original Message-
From: Jiang, Peiyun [mailto:[EMAIL PROTECTED]
Sent: 28 April 2005 17:24
To: 'Tomcat Users List'
Subject: deploy using manager
From tomcat /manager/ did:
(1) remove application
(2) uploaded war from PC to server to install
(3)
Hi,
I have a small java application, in which a servlet processes the request
and then
calls a JSP to present the data. Everything is OK with that configuration.
Then, I decided
to create a servlet filter, to redirect every request to that application,
to a login page first.
The code of that
I use JBoss 3.2.5 and sometimes I have great difficulty in getting
servlet or JSP apps to redeploy correctly. I have learned over time to
delete the /work and /tmp directories in the server area of JBoss. The
/work dir is Tomcat's compiled JSPs and Servlets and the /tmp dir is
JBoss'
Question: are the requests for images and CSS files also going through the
filter? I'm wondering if those requests are getting forarded to the logon
page too, which obviously wouldn't work.
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
On
I am running tomcat 5.5 on a java 1.5 vm.
I want to turn tomcat logging (via java.util logging) up for debugging but
if I set everything to FINEST there is so much logging that It takes far
too much time to start up. I am trying to trim down some of the excess
logging to make this more
You will need to SSL connectors, once for each host.
Mark
Fritz Schneider wrote:
I am running TC 5.5.8 standalone under Windows XP Pro. I have two domains
coming in to the same IP address, one for production and one for testing.
There are two host elements in my engine. I have a CA created SSL
You will need two SSL connectors, once for each host.
Mark
Fritz Schneider wrote:
I am running TC 5.5.8 standalone under Windows XP Pro. I have two domains
coming in to the same IP address, one for production and one for testing.
There are two host elements in my engine. I have a CA created SSL
Bruce,
Sorry. Don't know. I have only ever got it working using RSA. However,
when I did this I got so many things wrong the first 20 or so times I
tried it it could have been anything stopping it working.
Mark
Bruce Perryman wrote:
Thanks,
It worked, the only problem is that we failed to
Frank,
You got it. The filter configuration, in the web.xml file, was
intercepting ALL requests (url-pattern/*/url-pattern). I really
thought that the filter would intercept only requests for Servlets,
not all HTTP requests...
Thanks ! This problem was really pissing me off... :)
Regards
Mladen,
You are my hero! Setting connectionTimeout=2 to the
AJP connector has resolved my accumulating threads and connections
problem.
--patty
On Sat, 23 Apr 2005, Mladen Turk wrote:
Date: Sat, 23 Apr 2005 10:21:27 +0200
From: Mladen Turk [EMAIL PROTECTED]
Reply-To: Tomcat Users List
This problem was resolved (thanks to a suggestion from Mladen Turk)
by adding connectionTimeout=2 to the AJP connector in the
server.xml file.
--patty
On Mon, 18 Apr 2005, Patty O'Reilly wrote:
Date: Mon, 18 Apr 2005 13:53:24 -0700 (PDT)
From: Patty O'Reilly [EMAIL PROTECTED]
Reply-To:
Here is the complete steps to generate a cert for the Tomcat Webserver.
I am listing the commands that I used, your keystore directory _will_ vary.
keytool -genkey -keyalg RSA -alias tomcat keystore /path/to/.keystore
password is changeit
then
keytool -certreq -keyalg RSA -alias tomcat keystore
I've been running Tomcat on Windows XP for quite a while, without the following
issue. I just installed it on a Mac and it stops for no discernible reason
after an hour or so, with no activity on the system. I don't see any entry in
teh logs frm the time I walked away from a running Tomcat
and if I would like to store the certificate on a PKCS11 usb token ?
I did every steps:
1) generation of keypair on the usb token
keytool -genkey -alias lapo -keystore NONE -storetype PKCS11 -keyalg
RSA -validity 365
2) request a certificate sign, it export a csr file on disk
keytool -certreq
Anhony [EMAIL PROTECTED] wrote:
I am using Tomcat 5.0.28
Users log into my application from https://xxx.com/login.jsp. When
submitted, I check for a valid userID/Password, create a session with
getSession(), and then save the userID/Password in a session variable.
The validated user is then
Thanks Mark, and all others, for your help.
As I mentioned, we did get this to work. The only
problem was that we didn't specify the keyalg param
nor rsa so the default is dsa.
I posted another question Is DSA OK, but no one
seems to know. It appears that DSA doesn't handle
encryption, but I'm
Hi,
Anybody know how to install tomcat 5.5.9 as a services in windows ? I
got following error
java.lang.NoClassDefFoundError: start
Exception in thread main
and
[2005-04-28 18:11:51] [info] Running Service...
[2005-04-28 18:11:51] [info] Starting service...
You can revoke/renew with verisign for NO CHARGE within 30days.
FWIW: We specify RSA.
Bruce Perryman wrote:
Thanks Mark, and all others, for your help.
As I mentioned, we did get this to work. The only
problem was that we didn't specify the keyalg param
nor rsa so the default is dsa.
I
Hi,
I need to write a non-browser GUI application to do the same set of
actions currently performed by the HTML interface of the Tomcat manager
and admin web applications. I looked at whatever documentation is
currently avialable for JMX proxy servlet. Before I delve into the Tomcat
Do you have an example on how to create a new request? I'm using
org.apache.tomcat5.CoyoteRequest and org.apache.tomcat5.CoyoteRequestFacade to
create the new request. Is that correct?
Frank
-Original Message-
From: Will Hartung [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 27,
Am I correct that Tomcat is not setup to do load balancing without the
use of an Apache fronting? The mod_jk module is the best way to
load-balance requests on multiple servers using the Tomcat container,
either standalone or embedded in JBoss?
David L. Whitehurst
Not exactly. Apache itself can't do load balancing. You could use a
dedicated Tomcat instance to loadbalance to backend Tomcats in the same
way as you described using Apache however either way you are still left
with a single point of failure. Neither Tomcat nor Apache can
loadbalance by
I am not well versed in this area of application development, so
please bear with me. Our application has a requirement where user can
change the role after authentication. So, a user can be associated
multiple roles, but at any given time will act as one role.
I understand these are not really
Hi there,
I Installed Tomcat 4.0 (my professor recommended this older version)
on my Win 2000 box. j2sdk1.4.0_01, j2sdkee1.2.1. Before installing
Tomcat, I changed my Oracle XDB port to use 8083 instead of 8080; IIS
is also installed and uses port 80. I have Norton Internet Security
(yes, it
Cool. I think other CAs have the same policy. How many
times can you revoke/renew with Verisign? Is it only
once?
BTW, it appears a DSA encrypted server will cause a
Netscape browser to throw an exception. Apparently
Netscape only handles RSA. There are probably other
clients servers that will
I found an entry in the catalina.out log that I believe represents the
spontaneous shutdown of Tomcat that I'm experiencing. I've pasted the
log text below. Does this indicate Apache HTTP Server and Tomcat are
interfering with one another? They're both installed on the Mac, but I
didn't do
70 matches
Mail list logo