Yes.
Then there is something wrong with JDBC URL you're using to connect. That message is
actually from DriverManager/DataSource code.
Nix.
Howdy,
Sure, it is possible that the gc could run as long as your process is
running, but it should stop after your process completes. If tomcat
keeps
running at 100% cpu forever, you have a problem ... something that
looks
like an infinite loop.
Could be an infinite loop, or some threads
Howdy,
Let's say 10 people reply, five says there is some performance cost
and 5 says there's none at all.
What's the information value of that for your specific app? Close to
zero.
You will only get a definitive answer for your app with your filter on
your server by writing and running load
Howdy,
Umm, where's the memory leak? ;) Do you have any idea at all what
could be causing it? Have you even once run your server with a profiler
to see where memory is being allocated??? We'll need a lot more
information if you want us to seriously look at this...
Yoav Shapira
Millennium
Since you are Using JDBCRealm, you are already somewhat tomcat dependent.
Even though switching realms is very easy. But the code to do the auto login
needs to occur BEFORE the JDBCRealm code is excuted. That is the problem.
Thats the bad news, you tomcat specific code should be easy to port to
Hello,
Is it possible to overload a method of a tag.
In JSP:
String arg1 = bla;
int arg2 = 5;
mytag name=%= arg1 % /
mytag name=%= arg2 % /
In the class:
public void setName(String s) {
...
}
public void setName(int i) {
...
}
I get errors like: can't find setter method for String.
Is this
Thanks for the info - I'll investigate.
You could launch a chess engine that took commands through sysin and
gave results back in sysout, then interface that within a JSP page
somehow
Any recommended URLs that describe this technique?
TIA - Adam
-Original Message-
From: Jason
No. You'll need to do the conversion yourself.
-Tim
Ronald Klop wrote:
Hello,
Is it possible to overload a method of a tag.
In JSP:
String arg1 = bla;
int arg2 = 5;
mytag name=%= arg1 % /
mytag name=%= arg2 % /
In the class:
public void setName(String s) {
...
}
public void setName(int i) {
Tim Funk wrote:
No. You'll need to do the conversion yourself.
Ok, if I have a tag which can get a String or a List of Strings.
Should I make one setter which gets Object as parameter? And than check
at runtime for the right types?
Are there any guidelines for this?
Greetings,
Ronald.
-Tim
mod_rewrite worked! Here is the solution:
RewriteEngine on
RewriteRule ^/$ /home.htm [R]
This is a problem I've been grappling with for a year! Thanks
everyone!
Pietro da Alvin
719-210-3858
Chi cerca trova (Who searches, finds)
Italian Proverb
On Tue, 03 Jun 2003 08:58:40 -0400, Tim Funk
Am Dienstag, 3. Juni 2003 14:47 schrieb Jason Bainbridge:
On Tue, 3 Jun 2003 20:35, Rob Tomlin wrote:
Hi,
Is it possible to allow Tomcat to bind to port 80 as a non-root user ?
We have a new candidate for the most frequently asked question...
Simple answer is no, however you could use
See JSP 1.2 Spec -- JSP.2.13.2.1
-Tim
Ronald Klop wrote:
Tim Funk wrote:
No. You'll need to do the conversion yourself.
Ok, if I have a tag which can get a String or a List of Strings.
Should I make one setter which gets Object as parameter? And than check
at runtime for the right types?
Howdy,
I've set up some ideas regarding that topic:
http://www.klawitter.de/tomcat80.html
Thank you for setting up and sharing information regarding this page.
Pages like these add a lot of value and help many users in my
experience.
I have two comments regarding specific points in your
John,
Actually I changed it all to port 8009 after posting while I was trying to
fix the problem but I still have no luck. As I mentioned all the paths to
the worker file are correct. The mod_jk.log shows that the rules for
worker1 are being set. I even restored the original server.xml, and
On Tue, 3 Jun 2003 09:51:14 -0400, Denise Mangano [EMAIL PROTECTED]
wrote:
1) It is possible that I am still using the auto generated mod_jk.conf
file
- which would have worked previously when I had one default host set up,
but
will not work now that I have added in the virtual hosts? How can
Which JDK version are you using? If you are using JDK1.4.1_02, you might
have a memory leak problem (bug#4724129). Try to switch to JDK1.3.1_07 and
see whether you still have the same problem.
My 2 cents.
-Original Message-
From: Robert Abbate [mailto:[EMAIL PROTECTED]
Sent: Monday,
I have a way that's been working for me - see it at:
http://raibledesigns.com/training/index.jsp?topic=rememberMe
HTH,
Matt
-Original Message-
From: Joël Wijngaarde [Us Media] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 6:14 AM
To: Tomcat Users List
Subject: Re: Auto login
Log4j solved an issue like this using the following entity resolver...
http://cvs.apache.org/viewcvs.cgi/jakarta-log4j/src/java/org/apache/log4j/xml/Log4jEntityResolver.java
Jake
At 11:07 PM 6/2/2003 -0500, you wrote:
We just chased down a problem with the struts jar file being locked after
why not always set a list. If you need to set a single String, just set
a list with one entry.
Steven.
On Tuesday, June 3, 2003, at 02:23 pm, Tim Funk wrote:
See JSP 1.2 Spec -- JSP.2.13.2.1
-Tim
Ronald Klop wrote:
Tim Funk wrote:
No. You'll need to do the conversion yourself.
Ok, if I
Hello!
I'm running Apache 2.0.45 with self compiled mod_jk (version
jakarta-tomcat-connectors-4.0.4). It is supposed to load-balance between two
jakarta-tomcat-4.0.4, one on the localhost and another on a remote machine.
Both machines are HP-UX 11.00. JDK is 1.3.1 and the Apache is a HP
I've set up some ideas regarding that topic:
http://www.klawitter.de/tomcat80.html
Fantastic...just what I was looking for...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
is this question
1) off topic
2) not understandable
3) already posted in the list
4) or stupid
not to require someone's attention.
in case of
3 : I do apologize,but I've searched the list before, in vain
2 : I'm sorry for my poor english
else
keep on ignoring, I won't disturb anymore.
On Tue, 3 Jun 2003 21:11, Adam Lipscombe wrote:
You could launch a chess engine that took commands through sysin and
gave results back in sysout, then interface that within a JSP page
somehow
Any recommended URLs that describe this technique?
The one I followed was:
Hi , friends. This is a important best practice question for me. My project
has a web form which is showed and filled ( by the user) after an external
authentication process. The question is: should i generate a session Cookie
that will be recovered by my following servlet or just generate any
Jerome,
No. No username (in /var/log/httpd/access.log) for the requests to
access pages served by my servlets.
This to me sounds worth investigating. If you have correctly set up authentication
on the URL of your servlet, then succesfully authenticated requests for this
URL should appear in
What do people think about the idea of adding 'FAQ' to the subject line when
they are replying with a solution to a question that is either a common one
or something that is useful to know?
This would help identify what needs to be documented without having to trawl
through the list or read
Sorry to bother everyone with these types of questionsbut i'm
killing myself over this..
This is a beginner question since i am still a beginner...I'm developing
a web-app and using ant as a build tooli keep getting
BUILD FAILED
Note that you are using a container-managed datasource. As such, the
container is required to provide the implementation details. The web.xml
only really hints at the interface required. The implementation backs the
interface and provides the actual code to return datasources to you. This
The question is: should i generate a
session Cookie
that will be recovered by my following servlet or just generate
any session
parameter ( which will be recovered later too ), since i guess i only need
to control the whole internal process.
Umm, Slap me down if I'm wrong but I assume you
I think you are mixing concepts together. The session cookie simply
provides an id that uniquely points to a session. This can also be
replaced using URL rewriting of the session id. You don't directly
manipulate the session id. This is handled by the container. You just
grab a session
On Tue, 3 Jun 2003 22:56, Pitre, Russell wrote:
BUILD FAILED
fileC:/jakarta-tomcat-4.1.24/webapps/Show-tracker/build.xml:268:
C:\jakarta-tom
cat-4.1.24\webapps\Show-tracker\{catalina.home}\common\endorsed not
found.
I have the variable setup right in the build.xml file:I THINK
property
Sounds good to me.
There's an FAQ already in progress at http://tomcatfaq.sourceforge.net, so
anyone who wishes can contribute.
John
On Tue, 3 Jun 2003 23:08:53 +0800, Jason Bainbridge [EMAIL PROTECTED]
wrote:
What do people think about the idea of adding 'FAQ' to the subject line
when they
Works for me. Usually I copy faq candiates to another (email) folder, then in
free time try to shove them into the faq somewhere.
-Tim
Jason Bainbridge wrote:
What do people think about the idea of adding 'FAQ' to the subject line when
they are replying with a solution to a question that is
That's what I was looking for too.but here's where it's failing at
during compile time...the build file was actually taken from
tomcat-docs/appdev/sample...i then changed the Catalina.home
property..so...i'm not sure whats up...
javac srcdir=${src.home}
Ok, I'm officially going crazy..somehow my issue has been
resolvedI took your suggestions J- and it worked outThanx a
lot.I appreciate it.
Thanx
Russ
-Original Message-
From: Pitre, Russell
Sent: Tuesday, June 03, 2003 11:35 AM
To: Tomcat Users List
Subject: RE:
please somebody help me! I do not want to be on the LIST! I don't know how
I got on it in the first place--I was just trying to look at a website about
cottages---and now 500 plus emails a day. please help me!!
From: electroteque [EMAIL PROTECTED]
Reply-To: Tomcat Users List
Hi,
I successfully use Jakarta Tomcat connector on a Windows Server 2000/IIS 5 platform
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.3/bin/win32/isapi_redirect.dll
I tried the same connector on the W2K3/IIS 6 platform, but it doesn' t work
Does anybody knows if a
Oh boy, I get to contribute after asking a lot of questions! ; )
Here's a query I am using in a current project:
sql:query var='picks' maxRows='1'
select * from contestant_picks where contestant='q' and week = ?
order by entered desc
sql:param value='${thisWeek}'/
/sql:query
I am using
I know this has been asked beforeso please direct me to any
documentations or faq's..I also searched and couldn't come
up with anything..so here's it goes
===
HTTP Status 400 - Invalid direct
The mod_jk.conf file isn't getting used unless there is an Include
directive in httpd.conf to include it.
Make sure you have these lines somewhere, either hard-coded in httpd.conf,
or at the top of your mod_jk.conf file:
JkWorkersFile /path/to/workers.properties
JkLogFile /path/to/mod_jk.log
Unsubscribe information is included at the bottom of every single message
you receive.
John
On Tue, 03 Jun 2003 12:04:57 -0400, Simone Leigh [EMAIL PROTECTED]
wrote:
please somebody help me! I do not want to be on the LIST! I don't know
how
I got on it in the first place--I was just trying
Steps:
==
(1) Solaris OS *upgraded* from 2.6 to 8.
(2) OBSERVED: Java 1.4.1_01 processes simply *disappear*
(3) Java (cluster) patch installed
(4) OBSERVED: Java 1.4.1_01 processes *STILL* simply *disappear*
Steps:
==
(1) Solaris 8 *clean* installed.
(2) OBSERVED: Java 1.4.1_01 processes
Title: Catalina Command Line Options
Hi,
I (really) did'nt manage to find informations about catalina's command lin options. All I manage to find was some informations about tomcat 3.3.1, but they did not seems to work (what i'm looking for is to sert tomcat's port as a commandline
Howdy,
What version of tomcat are you trying to run?
Tomcat version 4.x do not allow setting ports via command-line parameter. The place
to set the port for a given connector is in that connector's Connector element in
$CATALINA_HOME/conf/server.xml.
If you are trying to use tomcat version
Those lines are at the top of my mod_jk.conf (the one I edited) and my
Include statement points to my version of the mod_jk.conf.
This is a strange problem, I've searched the archives but can't seem to find
a fix. Whats worse is that it doesn't give more detail on the error, for
example what
Hi Meissa,
I suppose your question is quite understandable although I personally do not
have any clue to it.
Just exercise a little bit of patience until someone who has done it before
gives you the clue.
Or repost it after a couple of hours?
HTH
Bob
Hi all,
after I took a very hard ride I got Tomcat via mod_jk working with
Apache/SSL on a Suse7 machine. So the real work can begin now:
What I want to do is to configure Tomcat in a way that it serves multiple
instances with different CATALINA_BASE settings. I want to reach those
instances (let
A configtest of Apache returns Syntax OK?
John
On Tue, 3 Jun 2003 12:50:25 -0400, Denise Mangano [EMAIL PROTECTED]
wrote:
Those lines are at the top of my mod_jk.conf (the one I edited) and my
Include statement points to my version of the mod_jk.conf.
This is a strange problem, I've searched
Well it throws me two warnings:
[Tue Jun 3 11:16:23 2003] [warn] VirtualHost www.ptp.com:80 overlaps with
VirtualHost test.ptp.com:80, the first has precedence, perhaps you need a
NameVirtualHost directive
[Tue Jun 3 11:16:23 2003] [warn] VirtualHost www.ptp.com:443 overlaps with
VirtualHost
Yesterday, I added autoReconnect=true to the URL and I am no longer having
the problems. I did not have to restart the tomcat server in the morning
today. Thanks to everyone for their help.
Hemendra
-Original Message-
From: Martin Jacobson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June
Denise,
I could not see in the email trail if it ever was determined that you truly
have a listener on the ajp13 port for the problem domain
if you do
telnet test.mysite.com 8009
or whatever the correct domain/port for your current configuration do you
get a valid telnet response?
also if you
I'm trying to make the mod_jk2 connector under the following environment:
RH Linux 9
Apache= httpd-2.0.46
Java= j2sdk1.4.2
Tomcat= jakarta-tomcat-4.1.24
Connector= jakarta-tomcat-connectors-4.1.24-src
I run sh ./buildconf.sh ... OK
I run ./configure \
--with-apxs2=/usr/local/apache2/bin/apxs \
PLEASE TAKE ME OFF THIS LIST!!!
From: Jason Bainbridge [EMAIL PROTECTED]
Organization: KDE Web Team
Reply-To: Tomcat Users List [EMAIL PROTECTED]
Date: Sat, 31 May 2003 08:43:29 +0800
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Forms and JSPs
On Sat, 31 May 2003
It appears that you have not installed the Perl
compatible regular expressions library.
You can either install the appropriate RPM or forego
the --with-pcre switch.
/mde/
just my two cents . . . .
__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync
Please read the whole message(especially the last couple of lines
detailing UNSUBSCRIBE instructions) and do it yourself.
-Original Message-
From: Simone Leigh [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 1:10 PM
To: Tomcat Users List
Subject: Re: Forms and JSPs
I'm trying to set up the latest release of Tomcat (4.1.24) on a W2K server
running IIS 5.0. Tomcat is happily running as a service and responding to
web requests on port 8080. I'm using the tomcat-4.1.24-LE-jdk14.zip and
I've installed Java 1.4.1_02
Has anyone managed to get IIS to talk to this
Ok, dumb question. Does port 8009 have to be open on my firewall then? If
so then how was it possibly working before? I can only telnet on port 80
and port 443 (These are the only ports open on my firewall).
The results of the netstat are:
tcp0 0 *:32768 *:*
All:
I am using CMA with Tomcat4/Apache1.3. I have a form-based login page
pointed at j_security_check. When a user submits the form the username and
password is shown in the statusbar of the browser. Also, there is a log
entry in the Apache logs that display this same URL that with
form ... method=post ...
-Original Message-
From: Vinh Tran [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 12:04 PM
To: [EMAIL PROTECTED]
Subject: Container Managed Authentication
All:
I am using CMA with Tomcat4/Apache1.3. I have a form-based login page
pointed at
It's that simple!...you are kidding me!
Thanks Matt...I'll try it.
-Original Message-
From: Raible, Matt [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 2:08 PM
To: 'Tomcat Users List'
Subject: RE: Container Managed Authentication
form ... method=post ...
-Original
I tried to open port 8009 on the firewall but that did not solve the
problem...
-Original Message-
From: Denise Mangano [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 1:51 PM
To: 'Tomcat Users List'
Subject: RE: Strange mod_jk error
Ok, dumb question. Does port 8009 have to be
OK, that tells me that you have multiple VirtualHosts going on, which means
that you probably have multiple/conflicting JkMount and workers.
Probably, there is a hard-coded VirtualHost in httpd.conf, in addition to
the definitions being included from mod_jk.conf. That would explain
(possibly)
Yes, 8009 needs to be open on your firewall, but only if the Tomcat
server has its own internal firewall. If by firewall you mean an
external firewall, on a machine physically distinct from the Tomcat server,
then no, all you need is 80 and 443. Some operating systems, like Red Hat,
come
You might check in your /etc/services file to see if 8009 corresponds to one
of the names listed in your net stat
you might try the netstat and change the grep to 8009 and see if there is
any mention of it at all.
Given the fact that your original error report was
In jk_endpoint_t::service,
We've already done this as part of the Jaffa (jaffa.sourceforge.net) open
source project. For more details see...
The Source Code @
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jaffa/JaffaCore/source/java/o
rg/jaffa/tomcat/realm/JDBCEncryptionRealm.java?rev=HEADcontent-type=text/vn
Neat!
John
On Tue, 3 Jun 2003 11:39:35 -0700, Extance, Paul [EMAIL PROTECTED]
wrote:
We've already done this as part of the Jaffa (jaffa.sourceforge.net) open
source project. For more details see...
The Source Code @
http://cvs.sourceforge.net/cgi-
Hi folks,
Would anybody tell me how tomcat writes the SessionID via cookie? I chnaged my IE
browser to block all cookie, how could tomcat still can manaitain the session?
Thanks in advance!
Billy Ng
Howdy,
If your browser will not allow cookies, tomcat will add the jsessionid
to the URL. See the Servlet Specification, v2.3, SRV.7.1.3 for details.
If your browser does accept cookies, tomcat just uses the normal,
standard HTTP cookies mechanism. Per the spec, the cookie name must be
All,
From reading the SSL howto, it looks like I can have
multiple SSL cert with different passwd (if needed) in
the same keystore file.
Situation,
1 server, common web application - 2 gua with 2
different URL's (each with their own ssl cert)
Questions,
1. Can I serve both sites from one
Jacob and James,
thanks a lot for your attention!I just need 2 things:
1 - find out who generated the http request , so i could compare it against
the correct url.
2 - to avoid direct http request ( i.e, from browser ), so i would create a
session id in the prior JSP and then, search for it into
Hello,
I've upgraded over to 4.1.18 from 4.0.5 and I figured that the transition should be
quite easy...always assuming I suppose. I'm using Windows 2k, IIS 5 with now 4.1.18.
Are there any steps that differ in the installations of both versions that I might
have overlooked. I've went
John,
Actually, the virtual hosts were hard coded in my mod_jk.conf file. I
changed that to be:
NameVirtualHost *
VirtualHost *
ServerName www.ptp.com
...
/VirtualHost *
VirtualHost *
ServerName test.ptp.com
...
/VirtualHost *
This seemed to get rid of the conflict on port 80. I
Howdy,
Does your application require the invoker servlet -- i.e. do you rely on
tomcat mapping URLs like
http://host/context/servlet/com.yourcompany.yourservlet to the
appropriate servlet? If so, you may need to comment in the invoker
servlet or map the relevant servlets in your web.xml.
In a nutshell, if its not in the J2EE Spec, you can't assume is part of the
available architecture of a J2EE compliant app server, even if 50% of the
containers provide it. So if your looking for 'job scheduling', for example,
and some have it, and other don't, you basically need to build one your
I was having some Vhost conflicts which I just cleared up (thanks John). I
ran netstat again, with both Tomcat and Apache running, and these are the
results:
tcp0 0 *:8009 *:* LISTEN
I was still having the error opening workers in apache error
I found an example on www.sybase.com, searching for tomcat the first hit
was an example about jconnect for JDBC not using taglib and I got it working
properly.
So now I will try to find out why taglib is not working properly.
- Terje
-Original Message-
From: Nikola Milutinovic
Glad you got it working. Lesson learned on both sides...next time I'll ask
for config files right away...we would have spotted multiple JkWorkersFile
statements in a heartbeat, and saved you a lot of time and frustration.
John
On Tue, 3 Jun 2003 16:09:54 -0400, Denise Mangano [EMAIL
Hi,
this is my doubt too !! So, should i always create a cookie? What should i
do if i just need to avoid direct http request and know where (original URL)
the http request came from?
Thanks,
Euclides.
-Mensagem original-
De: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Enviada em:
Howdy,
this is my doubt too !!
What is your doubt?
So, should i always create a cookie? What should i
No, let the server handle it.
do if i just need to avoid direct http request and know where (original
URL)
the http request came from?
This is a very strange scenario. What is the
It seems that the problem was in context useNaming=true I had
it false. Now it works fine in taglibs too.
Thanks for all help.
- Terje
-Original Message-
From: Terje Hopsø [mailto:[EMAIL PROTECTED]
Sent: 3. juni 2003 22:05
To: 'Tomcat Users List'
Subject: RE: Database
Hi David
I have exactly that configuration working :). Here are my configs:
[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\2.0]
serverRoot=C:\\Program Files\\Apache Group\\Tomcat 4.1
extensionUri=/jakarta/isapi_redirector2.dll
workersFile=C:\\Program
You can have multiple SSL certificates. They cannot be on the same IP address
(although you can use the same port number on different IPs). Since the HTTP header
is encrypted within the transmission, the requested domain name can't be determined
until after decryption - so it wouldn't know
Hi Roman,
Is it possible to paste a sample of your server.xml
with -
Define multiple Connectors for the SSL port, each
with a distinct IP address AND distinct keystore
file
Thanks
--- Roman Fail [EMAIL PROTECTED] wrote:
You can have multiple SSL certificates. They cannot
be on the same IP
Here's a good link as well...
http://www.onjava.com/pub/a/onjava/2002/12/18/tomcat.html
Russ
-Original Message-
From: Dominic Parry [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 3:02 PM
To: Tomcat Users List
Subject: Re: Connecting IIS 5.0 to Tomcat 4.1.24?
Hi David
I
And crossContext=true that I also had set to false.
- Terje
-Original Message-
From: Terje Hopsø [mailto:[EMAIL PROTECTED]
Sent: 3. juni 2003 22:22
To: 'Tomcat Users List'
Subject: RE: Database connection No suitable driver? SOLVED
It seems that the problem was in context
At 04:04 PM 6/3/2003 -0300, you wrote:
Jacob and James,
thanks a lot for your attention!I just need 2 things:
1 - find out who generated the http request , so i could compare it against
the correct url.
What is the correct url? You have some application logic that I am not
aware of. I can't
Hi Dom,
Thanks ever so much for your help.
The magic missing ingredient turned out to be that [shm] entry in the
workers2.properties file. I had seen it mentioned in various bits of
documentation but got the impression it was something to do with connecting
to an Apache server via shared
1 - What is the correct url? The right url (example:
http://userip/tomcatappdirect/first.jsp) which generated a http request to
my servlet. This way, the user cant directly reach my servlets. So, i guess
i can create a session in my JSP FORM like this:
HTTPSession se =
Hmm normally the pattern is that someone accesses your controller
servlet which handles the request and then you forward the request to the
.jsp page which provides the view response.
Also, you don't need to use the session for this. Just add the information
to the request using
Hi,
I've installed Tomcat 5 on a Debian GNU/Linux system
and while most things seem to be working ok, Tomcat is
not handling any EL that I put in my JSP pages.
Rather than changing ${1+1} into 2, the page literally
shows ${1+1}. I installed the binary version and I'm
using J2SDK 1.4.1
EL is
Has anyone gotten the mod_jk2 connector to work on a Linux machine using the
jni channel to communicate between apache2 and tomcat41? If so, I would
sure like to know how you did it Thanks.
-
To unsubscribe, e-mail: [EMAIL
Does your web.xml use the 2.4 dtd? I think it needs to be.
For example:
web-app xmlns=http://java.sun.com/xml/ns/j2ee;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee web-app_2_4.xsd
version=2.4
-Tim
Mansoor Riaz wrote:
Hi,
I've
You can have a context for your application defined in a seperate xml
file but not in the web.xml. If you read the dtd for the web.xml you'll
see that this is not allowed.
Simply copy your context that works and paste into a new xml file, which
has the same name as your webapp.
So if you had
--- Tim Funk [EMAIL PROTECTED] wrote:
Does your web.xml use the 2.4 dtd? I think it needs
to be.
For example:
web-app xmlns=http://java.sun.com/xml/ns/j2ee;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee
web-app_2_4.xsd
Jake,
my jsp app ( named nivel1.jsp) access my servlet ( named BancoServlet.java
) !
Take a look below at the part of jsp code - the IIS link redirects the
application to BancoServlet:
%@ page contentType=text/html;charset=windows-1252 session = true
isErrorPage=true%
HTMLHEADTITLEPortal de
What should I put in the httpd.conf to make apache
do authentication before a servlet is accessed?
Here's what I tried:
Directory C:/Program Files/Apache Group/Apache2/Tomcat 4.1/webapps/stuff
AuthType Basic
AuthName stuff
AuthUserFile C:/Program Files/Apache Group/Apache2/conf/passwd
require
My application does take mapping for servlets such as
www.domain.coom/context/servlet/ServletName, which I didn't think would really matter
when moving a version ahead...or would need to be changed.
One thing I am getting is an error with the isapi.log file:
[Tue Jun 03 13:35:12 2003]
Hi there ,
I've just registered to this list in hope that I could find some better
advice here . I am trying to configure a standalone installation of tomcat
to work with SSL . This at first doesn't seem like a bit headache . I have
followed the two similar howtos at the sun website and jakarta
Hi all, does anyone knows that's the case of this error:
This happened when I tried to access MySQL Database from remote client.
I'm sorry that I miss out some of the important codes previously.
Regards,
Joe
HTTP Status 500 -
my 2cents would be to use apache on the front to do the SSL...
-Original Message-
From: Cosmin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 4 June 2003 7:22 AM
To: [EMAIL PROTECTED]
Subject: Nightmare with Tomcat 4.1 and SSL configuration
Hi there ,
I've just registered to this list in
1 - 100 of 139 matches
Mail list logo