Federico Fernandez Cruz wrote:
Hi all!
I am using tomcat 5 and I want to do some integration work with Apache
and mod_jk2.
Is there a direct way to map a whole web application in apache? It works
but I have to write a lot of [uri:*] commands in mi
workers2.properties file.
What do you
Ostad, James wrote:
have you googled yourself at goole.com?
I don't know how they get all of our listserv communications.
Any one knows how they do that?
There is a web archive of this list.
Nix.
-
To unsubscribe, e-mail:
Federico Fernandez Cruz wrote:
By whole web application I mean the entire application... well...
I have a context inside Tomcat called UserMan. I want to map an Apache
URL to this application...
In my workers2.properties I put these lines...
[uri:/UserMan]
info=Example webapp in the default
Philip Busby wrote:
Is there any word, or any place where I could check the status of Tomcat5 to
move to production?
My host would rather not go through with a Tomcat5 install until it comes
out of beta, but I like all of the new things in JSP2. Will Tomcat5 be going
production within a month or
Peter Harrison wrote:
On Wed, 03 Dec 2003 16:18, Todd O'Bryan wrote:
How do people handle this elegantly? The requirements are: a single,
globally visible (within a webapp) database interface and the ability
to access multiple databases easily.
The first point is to use a singleton to set up
Robin Rigby wrote:
Have very limited experience of Linux or Tomcat. Not even really sure
if this is a Tomcat issue or a Linux issue.
Main question: How do I run a Tomcat4 script from /etc/rc.d/init.d so
that Tomcat starts automatically?
Tomcat works fine when I run startup.sh as root. However,
Tim Funk wrote:
Google for Wiki. Most of the links are great and you'll learn more about
Wiki than you wish to know.
The best page about Wikis is this one: http://c2.com/cgi/wiki
I still haven't figured out how to publish to Wiki and frankly, I don't have the
time. I'm up to my ass in
Tim Funk wrote:
Writing anything like that for the list is a good thing since we can
always link to it in the archives ;)
Here goes.
STEP 1
--
Build mod_jk2.so and jkjni.so - do whatever needs to be done :-)
STEP 2
--
Place mod_jk2.so and jkjni.so with other Apache modules. In case of
Mark Eggers wrote:
Folks,
I have put some of my documentation on the Tomcat Wiki
at:
http://nagoya.apache.org/wiki/apachewiki.cgi?TomcatWeb
These are sort of bare-bones documents about some ways
to connect Tomcat/Apache on Linux, Tomcat/Apache on
Windows/2000, and Tomcat/IIS 5 on Windows/2000.
Asif Chowdhary wrote:
Hi,
Apache running on linux with mod_jk2
Tomcat on windows. Running
Do I need to create a map to the shm file defined on the Linux server.
No.
What is the purpose of this file and what is the recommended size?
That file makes sense in a situation where Apache and Tomcat
Simone Chiaretta wrote:
While trying to run for the first time a JSP I get this error
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: -1 in the jsp file: null
Generated servlet error:
[javac] Compiling 1 source file
[javac]
Simone Chiaretta wrote:
i forgot to mention that the same configuration runs in tomcat 4.0.4
Strange. It shouldn't, unless you placed your package in some JAR under
.\WEB-INF\lib\ dir.
Nixie.
-
To unsubscribe, e-mail: [EMAIL
Hi all.
I tried and managed to setup mod_jk2 with UNIX socket channel and I have some
questions.
First I tried to do it without apr handler. It would open a socket, but would
refuse connection from Apache. Then I tried with apr, reasoning that AF_UNIX
socket is not native to JVM and JNI
Simone Chiaretta wrote:
D:\Documenti\Progetti\piyosailing.com\admin\WEB-INF\class\com\piyosail
in
g\PiyoWebEngine.class
This is wrong. The path should be ...\WEB-INF\classes\...
Nixie.
That was really the problem
I think I'm going to jump from the third floor and land over a bed of
Jose wrote:
Hello.
What is the difference between both ?
I use tomcat-4.1.29 then which i must use to works with apache 2.0.48 ?
Connectors accompanying TC distribution are for that version. WARP, JK and JK2
consist of two parts: Tomcat part (Java classes) and Apache/(otehr web servers)
part (C
Yonatan Goraly wrote:
I have read that Suse linux team has been working closely with AMD to
support AMD64, and I am going to try their commercial product
(professional edition, $130).
I know that SUN plan to have an AMD64 version for the JDK 1.5, which
should be next year.
The reason for
Wade Chandler wrote:
Just wondering. Did you know that every Postgres connection creates a
system process, and not a thread? PostgreSQL uses Fork. I don't use it
because of this. DB Connection = Separate Process. I use Firebird.
You can use Firebird 1.5 even. That's just a consideration
Yonatan Goraly wrote:
The exact execution time of that line of code is not very relevant,
since the difference is between an interval I can't notice to an
interval I can notice very well - should be at least a factor of x100.
I just finished installing RedHat 9 (32 bit), the performance is much
Hi all.
I have a problem which, I suppose, I can solve - this way or another. I'd like to hear
a recomendation from the list, since I'm supposed to go live ASAP.
I have installed:
- Mandrake Linux 9.1 - paranoid security setting
- Sun JDK 1.4.2 rel_02
- Tomcat 4.1.24 from RPM
If I try to
Tony LaPaso wrote:
Here's What I Did
-
In both versions of TC, I added an em dash character to the
/tomcat-docs/cgi-howto.html documents that come with the TC documentation.
The UTF-8 representation for the em dash character is the three bytes
0xE28094. I also made sure both
Christopher Schultz wrote:
Jacob,
Tomcat5 no longer provides a separate LE version. You can take that
as a hint not to use the LE version in Tomcat4.1.x. It causes
nothing but confusion.
I disagree. The 'LE' version actually has less confusion because there
aren't fighting XML parsers
Antony Paul wrote:
Hi,
If any one feel it off topic mark it as off topic.
I want to exit from a servlet if no database connection is available. For
this can I use a return statement in the beginning of a servlet. Will it
cause any state problems. I dont like putting the code in an if block.
I'm also trying to authenticate to AD from Tomcat. I'm having some struggles.
---
Search the archives of the list, there are some good success stories.
BTW, all examples are using LDAP as a method of interaction with AD. Is anybody
considering Kerberos5 (GSS-API)?
I do realize Tomcat doesn't
i am searching the mod_webapp web connector in order to connect tomcat
4.1.27
LE and Apache 1.3.27. I am using solaris.
This connector does not appear anymore under the jakarta-tomcat server.
Anyone
that already downloaded it?, please send me it to this email.
mod_webapp is not maintained
Does anyone know of a good authentictor plugin for Tomcat.
I reviewed the sample(XML based) authentcator from Tomcat,
but this authenicator is only used at startup. I need onw that
will able to add and delete users on the fly - not just at start up.
I think LDAP realm does that.
Nix.
Hello all. Is there an easy way to instantiate a bean
as soon as tomcat starts? Basically, I want a bean to
be instantiated and available to all sessions as soon
tomcat starts. Any ideas?
There is no such thing as Tomcat scope for variables, so you're hosed. Not just with
Tomcat...
Why
Does Tomcat release all the resources used by an object if the object
has been stored in the session context and a call to
session.removeAttribute(objName) is made? I'd like to blow away
several beans that are used throughout the processing of a transaction
once the confirmation page is
Well I just gotta say that's not true. You *can* re-use a resultset
object.
ResultSet rs = st.executeQuery(SELECT * FROM FOO);
//code that loops over rs and outputs results...
rs = st.executeQuery(SELECT * FROM BAR);
//a re-used ResultSet object.
You're not re-using anything here, pal!
When I remove [uri:/*] from workers2.properties and create a dummy
htdocs\downloads directory under apache, the apache authentication works
fine. But when I put [uri:/*] back, I do not get prompted for ID/Password.
Here is what I have in httpd.conf. Any ideas?
Directory
http://marc.theaimsgroup.com/?l=tomcat-userm=106070071117870w=2
Excellent! Now, when are we going to see an update on the JK2 docs? I'm not expecting
a tutorial, just a (complete) list of all the options. I hate digging through the code
myself.
I know, I can dig through the code, but it is
Duncan Smith wrote:
I had same problem.
I found that if the workers2.properties file was supposed to be in
{apache-home}/conf/
Yea, I symbolically linked it there as well, but still nada. Will it not
follow symbolic links?
I said before, as I learned from another guy on this list, jk2
INFO: Starting Coyote HTTP/1.1 on port 8443
[Fri Sep 26 07:54:52 2003] (error ) [jk_config_file.c (279)]
config.update(): Can't find config file ${serverRoot}/conf/workers2.pr
operties
[Fri Sep 26 07:54:52 2003] ( info ) [jk_config.c (251)]
config.setAttribute() Error setting config: file
Hi All,
I can't log as administrator in to Tomcat 4.1.24 using
username : admin
password : setup
is this the default password?
There is no default password, you have to enter your own in tomcat-users.xml
Nix.
Just testing to see if I've cut out some of the lists with my anti-Gibe-F blocking :-)
Nix.
i disaggree, unforuntealy i don't have time to perfom complete spel checks
or
fix grammar on all words. i try to be as coherent as possible but since i
do
this for free, you get what your pay for. please killfile me if it is that
bothersome.
I don't mind bad grammar and spelling. I detest
Hi all.
This is off topic and is a cross-post, so I'll be brief. There is a very nasty virus
out there and I urge everybody to get their AV in order. The virus is known as:
W32.Gibe-F or W32.Swen-A.
Yesterday, I got cca. 200 viral messages.
Today, it's about 800 viral messages!
I suspect
I had similar problems with loading shared libraries
until I recompiled jk2 after configuring it with the
./configure --with-apxs=/some/path/to/apache2/bin/apxs
configure objects on this.
However, I'km wading through my problem. The problem is in unsatisfied references.
libapr requires
I had similar problems with loading shared libraries
until I recompiled jk2 after configuring it with the
./configure --with-apxs=/some/path/to/apache2/bin/apxs
Got it to compile and load, had to add this into the
./src/jk/native2/server/apache2/Makefile:
JK_LDFLAGS=-L${APACHE2_LIBDIR}
Hi all.
Network question
--
TC: 4.1.24
OS: Mandrake Linux 9.1
JVM: Sun 1.4.2b
java 3600 tomcat4 10u IPv4 4319 TCP *:8009 (LISTEN)
java 3600 tomcat4 11u sock0,04317 can't identify
protocol
java 3600 tomcat4
Hi all.
I have built mod_jk2.so and jkjni.so from the latest tomcat-connectors-jk2-2.0.2. This
is my jk2.properties:
handler.list=apr,channelUnix,request
channelUnix.file = /var/tomcat4/work/jk2.socket
shm.file = /var/tomcat4/work/jk2.shm
apr.NativeSo =
It sounds like we should come up with a de facto way of achieving SSO with
Tomcat and NTLM (since there is plenty of M$ workstations out
there).Which leads me to believe that a lot of people could very well
benefit from this.. I'm required to implement this for our intranet
application
I had similar problems with loading shared libraries
until I recompiled jk2 after configuring it with the
./configure --with-apxs=/some/path/to/apache2/bin/apxs
command suggested in John Turner's Solaris 8 + Tomcat
HOWTO, which is, BTW, and excellent resource. I have
been able to get
But depending on the DB, it can cause problems from the DB with too many
open ResultSets... I had an issue with performance testing where everything
but ResultSets were being closed and the Oracle DB started throwing errors
after about 500 queries. Better safe than sorry.
Well, from what I
You could use jstl instead, but from my experience SQL in the jsp is
more trouble then it is worth and causes imense headaches
when you want to do something complicated. Just a suggestion but it
could be a good time for you to have a look at migrating to Struts or
some other framework
Time to get the board out and move to Vanuatu ...
You'd be followed by half of Europe. Hasn't Germany opted for SuSE Linux as their OS
for the government institutions?
Nix.
I'm not sure why it works that way. I've got Tomcat working on Tru64 by
calling
bin/startup.sh start
and
bin/shutdown.sh stop
in the $CATALINA_HOME directory.
That's another way of handling it, I guess. Tru64 shows problems not in
those two scripts, but in catalina.sh, when
Does anybody have any succes with Tomcat on Tru64? I think I need to alter
some shell scripts, but I have no clue what and where to make what changes?
I have set the JAVA_HOME to the Compaq Fast JVM, but the startup.sh gives me
thins in the catalina.out:
usage: java
Hello List... newbie question coming up:
Phaser charged...
Shields at 80%...
Photon torpedos loaded...
If I set up a jdbc connection object in one servlet, do I have to close it each time
or can the same connection be re-utilized by other servlets each using a different
sql statement
now, given that i can confirm that i am closing connections (calling
close()
on them, which returns them to the pool), can you suggest how i might
locate
where those connections are not getting released? i have read some stuff
about dbcp not being entirely reliable in releasing connections. is
In a jsp application i want to calculate digested passowrds dynamically
According to the Realm How To ... i write this code in a jsp :
% String digest =
org.apache.catalina.realm.RealmBase.Digest(request.getParameter(password),
MD5); %
Isn't there a Digest method in some, more public
Apache has NOTHING to do with indigenous American people.
It stands for a patchy software.
If that's a pun, it's a bit out of place. If it's a joke, so be it. If it is an
oppinion, then you got something mixed up - what's the feather on the web site for?
Nix.
Am I asking a dumb Q or there is just no such thing around?
There is no such thing. UML is a information system modelling language.
Tomcat is a JSP/Servlet container - a part of J2EE server specification
implementation (web application interface). So, Tomcat implements only a
segment of an IS.
I would like to use the built in JAAS with my JBoss/Tomcat configuration
to
use either form or digest authentication.
ADS will give you two major things:
- Kerberos 5 authentication (use JAAS to access)
- LDAP interface (use JNDI to access)
What will your Tomcat use of those services, is up
My dba says that oracle's implementation of UTF-8 is a clusterf**k. I'm
wondering if he is going crazy.
What exactly would that mean? My knowledgeof clusters is moderate, but I don't see
what would ANY implementation of UTF-8 have to do with clusters or f**king :-). OTOH,
Oracle IS a
- Original Message -
From: Mark Eggers [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, June 25, 2003 7:58 AM
Subject: Re: Problems with mod_jk2
What are the ownership and permissions on the
following directory?
/usr/opt/Apache-2.0.46W/logs
I have the following link in a page that works fine:
a name=notcurrent
href=/itinerary/updatenode.do?id=expanded=trueTrip/a
What I would like to do though is add an anchor so that I go to a particular
point in the page so I tried including an anchor like this:
a name=notcurrent
Hi all.
mod_jk2 is bugging me properly. It is not working right now and it never did. I
could have made a number of mistakes, so if someone could point at them, I'd be
grateful. This are the relevant files:
jk2.properties
--
handler.list=request,container,channelSocket
Good morning Nikola.
What do you have in your http.conf file(s)?
I assume Test.ev.co.yu is the machine you are running Tomcat on and is DNS
resolvable?
Here it is.
#
# Global JK2 settings
IfModule mod_jk2.c
JkSet config.file /usr/opt/Apache-2.0.46W/config/add-on/workers2.properties
Try Googling. There is a link to quite good piece of docs for JK2 that sits on
Jakarta/Tomcat original site. Why isn't it present in the Tomcat's distribution?
Nix.
- Original Message -
From: NormW [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Sunday, June 22, 2003
How can I get Tomcat to recognize virtual domains? This is trivial with
Apache and I can get Apache to fetch the correct jsp but I cannot get timcat
to process it. If I turn off tomcat, apache sends the jsp source. If I turn
tomcat on, I get the error 404 page
Anything in the logs?
I'm
There are plenty of examples of both JK and JK2 configurations in the list
archives. The topic comes up DAILY, and frankly, I don't think you can
blame people when they tire of posting the same thing day in and day out to
essentially the same questions.
Hi John.
I have found a link to
The document that you are referring to, I think, is incomplete or wrong.
When I tried it I found that some sections were in correct or
misleading, or just didn't work. So I found it best to just ignore that
document.
Sorry to hear that. I haven't gotten around to testing it, yet. However,
ok, there is a webapps directory, inside is a very
dirs, examples, ROOT etc.
the normal root page loads up and I can get to the
examples, the confusion starts here, the ROOT houses
the index.jsp, but the examples are not UNDER ROOT
they are a different dir back one in webapps.
WHEN I
Hi all.
Is there a comprehensive mod_jk2 guide? I'm mostly interested in comprehensive
explanation of the syntax and semantcis of worker2.properties and jk2.properties files.
The docs coming with TC are confusing and full of holes, to say the least.
Right now, my immediate question would be:
All,
Our webapp was built to use the Xerces xml parser. I'm trying to
update our JDK and tomcat version to do testing for a production level
upgrade. I'm running into problems with the JVM using the Crimson
parse. The crimson parser does not agree with our XML files. Does
anyone know how
On Wed, 11 Jun 2003 01:03, Isai Arasu wrote:
Is it possible to run both JSP and PHP on Apache
Tomcat 5.0?
No, to do that you would have to install the Apache webserver and connect it
to Tomcat with mod_jk2:
Or to employ PHP servlet. Search Google.
Nix.
As I have not received any hints, is there a better list I should be posting this
type of question to?
Like I said, I think the question is reasonable but I might be overlooking
something completely obvious.
Don't give up on us :-)
The error you describe is strange, I've read it just now
1.
JSP pages must inlcude the header:
%@ page
contentType=text/html; charset=UTF-8
%
This is if you use JSP. If you work with servlets, then you should output the
appropriate headers.
Actually, it also sets encoding of the output stream. Or at least it used to in some
versions
- Original Message -
From: Schwartz, David (CHR) [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Wednesday, June 04, 2003 1:55 PM
Subject: RE: JSTL and EL question - SOLVED
I'm still having problems. Can you please post a complete sample along with
web.xml sample?
- Original Message -
From: Schwartz, David (CHR) [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Wednesday, June 04, 2003 3:35 PM
Subject: RE: JSTL and EL question - SOLVED
can you also send the taglib line from the top of jsp?
Sure, look below.
In web.xml you
I thought I liked the idea of having the taglib in the web.xml file.
When I try it I'm getting This absolute uri
(http://java.sun.com/jstl/core) cannot be resolved in either web.xml or
the jar files deployed with this application. Do I have to download it
somewhere in order to use it in
Yes.
Then there is something wrong with JDBC URL you're using to connect. That message is
actually from DriverManager/DataSource code.
Nix.
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
Your config looks fine. Have you placed Sybase's JDBC driver into
${CATALINA_HOME}/common/lib/?
Nix.
Hi all.
I'm using JSTL (Java Standard Tag Library), the EL (Expression Language) version. I
have a DB where one particual query can return exactly one row (primary key). So, I
use this:
sql:setDataSource dataSource=jdbc/EVracunDS/
sql:query var=userData
SELECT * FROM user_tab WHERE user_id =
Simple question.
I have a JSP/Servlet combination in which Servlet is used to authenticate user and
create a session. A JSP page then checks for the existence of the session and reads
neccessary ID from it. I'm switching to JSTL and I'd like to switch to EL, now. Here
is the old code, how can
I think that's the ticket.
Yes, Tim, but I'd like to be able to differentiate between user not logged in -
session.isNew() and user logged in, but error in web-app - !session.isNew() and
session.getAttribute( userID ) == null.
Is there a way to call a method from EL? Like:
c:set var=login
Susan Hoddinott wrote:
Does anyone know if there is a problem using Netscape Navigator with
servlet pages generating their own html using the println function.
Whenever I attempt to access servlets of this kind (which work fine
under Explorer) I just get the HTML text (e.g. HTML etc.)
B A L A J I wrote:
Hi,
I'm trying to extend Tomcat to get notified whenever a session is
created or cleared. How is this possible in 4.1.18 version.?
Any help will be appreciated as I'm new to Tomcat.
Take a look at Listeners in Servlet 2.3 specification and in Tomcat, more
specifically,
Power-Netz (Schwarz) wrote:
Hi,
we have the following constellation:
A webapp uses a java class to send emails , this class uses
another class to SIGN this email via GNUPG.
Is there a way to accomplish this via more common Java APIs, like JavaMail?
S-MIME? I'm no exeprt in that field...
The
Sebastião Carlos Santos wrote:
Georges,
For the documentation of JNDI Datasource HOW-TO, their files jar should be located in $CATALINA_HOME/common/lib. This road should be put in CLASSPATH of the system also.
*** REPLY SEPARATOR ***
On 26/2/2003 at 13:31 Georges Roux wrote:
Hi all.
I have a small dilemma regarding CATALINA_HOME and CATALINA_BASE environment.
Why are all loggers set to have a default dir ${CATALINA_HOME}/logs? Shouldn't
it be ${CATALINA_BASE}/logs?
At the moment, I am building a Tru64 UNIX package of Tomcat 4.1.18. Tru64 has a
recomendation to
Raible, Matt wrote:
I've discovered that this problem is related to a 90-minute timeout on our
firewall. Tomcat sits outside of the firewall, and Oracle resides inside.
Since there's no activity for 90 minutes, it closes the connection. Anyone
know of a workaround (+ sample code) for this? I'm
Boris Folgmann wrote:
Ryan Cornia wrote:
Anyone using JNDI datasources that reconnect in case of a lost link to
the DB server?
Any examples? I'm using the I-net driver for Oracle
Interesting question. In fact I have the same problem, using DBCP and
PostgreSQL. I looked trough the Javadocs
[EMAIL PROTECTED] wrote:
has anyone come across an implementation of a realm for Tomcat which
authenticates users against the operating system's logins/passwords?
thanks in anticipation
Cyrus SASL 2.1.x has a JAR file with some classes that have SASL functionality.
Maybe it is not too hard to
Ravindra K. Bhat wrote:
Hi,
Any ideas on how to solve the following error in Mod_jk.log:
[Wed Jan 22 08:57:20 2003] [jk_connect.c (177)]: jk_open_socket,
connect() failed errno = 61
[Wed Jan 22 08:57:20 2003] [jk_ajp_common.c (626)]: In
jk_endpoint_t::ajp_connect_to_endpoint, failed errno =
So the instance, and it's string, can still be GC'd, right?
Nope.
There is still a live reference to each OtherObject instance sitting in
the static HashMap cache. Therefore, this instance cannot be GC'd, even
though *you* have released your own reference to it. And, if the
OtherObject class
Zsolt Antal wrote:
Hi,
Is the following normal, accepted or simply `we must live with it'?
- html post
This is debatable. There is no fixed standard on what a HTML message is. A
HTML document embedded into the body of the real message as a MIME chunk is so
far the closest description I've
Craig R. McClanahan wrote:
Unix (and Linux) provide mechanisms to deal with this already, without
changing the root-only restriction for ports 1024.
* There's a system call to change your user id (this is what
Apache itself does to grab port 80 as root and then switch
itself to a
Tomislav Miladinovic wrote:
Hi,
After so many tries to get Tomcat 4.1.12 works (get home page) I am still experiencing error (after browsing http://localhost:8080). I try change Catalina port to 80 (server.xml) but no difference.
The page cannot be displayed, HTTP 500 - Internal server error
Richard Heath wrote:
I am developing a servlet on Apache Tomcat 4.0.
On Netscape 6.2.x occasionally it displays the raw http, rather than the
html. See this image for an
example. http://www.c-o-g-s.org.uk/work/netscape623.jpg
Any idea why this is? It doesn't do it on any other browsers that I
Richard Heath wrote:
I wondered about that chunked header myself, but don't really know what that
means.
It means that the object being transfered isn't... ?raw, but compressed? I'm not
sure...
I've been doing some more investigation. It appears to only happen when
Tomcat is running on our
Randy Paries wrote:
Thanks
The problem is that they have to both read and write files
The weird thing is if I do a
su - apache -c $TOMCAT_HOME/bin/startup.sh
It does not start
But if I do a
su - tomcat -c $TOMCAT_HOME/bin/startup.sh
Is does. The one diff is that in the etc/passwd file
Jacob Kjome wrote:
Yep, known issue. Try using the previous version of Xerces-2.x.x. The
newest one doesn't seem to play well with Digester.
I've read in the mail archives that this bug can be solved using a
different
version of Xerces. I've replaced
Andy Wickson wrote:
Hi all,
If I put a servlet called Hello.class into a package called com.myco.test and have a suitable dir structure under WEB-INF\classes to reflect this, do I still need to give the full URL of the class in the web.xml file e.g.,
servlet-nameHello/servlet-name
Denys Sene dos Santos wrote:
Hi,
I'm having some troubles while running Tomcat 4.1.12-LE
under Digital Unix (OSF1). The server are running ok, but the
/examples dir with the servlets are returning the error :
HTTP Status 404 - /examples/servlets/
type Status report
message
Rodrigo Ruiz wrote:
I think the idea of letting Apache directly access to the files into the
webapp is interesting. This way there is no need to replicate the static
content for Apache, and Apache will be faster serving all static content
than Tomcat.
True, but bothersome to maintain.
But, at
Robert L Sowders wrote:
This doesn't really pose a problem with a correctly configured connector
that is setup to handle all *.jsp and servlet requests.
Perhaps, but that idea somehow defeats my idea of a web application as a path
deployed from some other server. Maybe I'm wrong...
Nix.
--
Sigurður Bjarnason wrote:
Hi all
The question is.. is there any security risk if I Have the Apache DocumentRoot
pointing straight to the webapps folder ?!
First of all, Apache cannot handle JSPs and has no knowledge of Servlets.
Second, if both Apache and Tomcat-via-connector access the same
Filip Sergeys tc wrote:
On Mon, 2002-10-21 at 11:57, Nikola Milutinovic wrote:
Filip Sergeys tc wrote:
What does sendRedirect do?
sendRedirect launches a new HTTP request, and this request goes via
apache again(you can see it in the apache access_log). However
201 - 300 of 558 matches
Mail list logo