Felipe Schnack wrote:
Sorry, context-parameter? But then I wouldn't have (again) my
servlet's URL written in two different places? This kind of thing
worries me, because somebody can change in one place but not on another.
You're right, this kind of data redundancy can be dangerous, and
It didn't seem to do the trick. This is gettin a little frustrating. I
wouldn't mind as the others are working but this is what I am looking for...
Are the error msgs to be going to logs/stderr?
Any other suggestions?
- Original Message -
From: Filip Hanik [EMAIL PROTECTED]
To: Tomcat
Hi:
I have a TOMCAT 4.1.8 running in a linux
Mandrake,its work fine,but when i make any changes,
ex: i change something in ma java beans, and i try
again the server show me the page without any changes,
or if i erase the directory where my class are, and i
try again I saw the page like the
You rock This was precisely the problem. The servlets.jar that came
with the JDK 1.4.1_01 distribution is not the same as the servlets jar that
came with Tomcat 4.1.18. I copied the servlet.jar from Tomcat's common/lib
directory to JAVA_HOME/jre/lib/ext.
Everything works now. Thanks!
MC
I have had streams of xmlmapper output pop up on Tomcat startup ever
since I upgraded from Tomcat 3 to TomCat 4. Cannot find how to turn
it off.
Help!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
When I access my web site at http://ed4becky.dnsalias.org/comics,
index.html is set like this:
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN
HTML
META HTTP-EQUIV=refresh
CONTENT=0;URL=http://ed4becky.dnsalias.org/comics/jsp/titlelist.jsp;
/HTML
BODY/BODY
Now, titlelist.jsp is in a
HttpServlet.getServletName() would seem like the logical choice.
--
Sean Dockery
[EMAIL PROTECTED]
Certified Java Web Component Developer
Certified Delphi Programmer
SBD Consultants
http://www.sbdconsultants.com
Felipe Schnack [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL
Didn't I just answer your exact same question in the servlet email group?
Jeeze
-B
[EMAIL PROTECTED] 02/07/03 10:47AM
Has anyone activated Server Side Include(SSI) in Tomcat 4.1 ?
I have followed the normal instructions under Apache's Tomcat website,
including :
1. Renaming
The plan remy and I had was to make all of it available, source, binaries, sample data
and so on. Let me run that by the editors and see if it's cool for me to release the
test webapp early. the webapp itself is simple, but the tools I wrote to generate the
test plans, test data and so on
That only works when the requester is the servlet itself. Also, just because
you have the name of a servlet doesn't mean you know a valid URL for that
servlet, as they don't have to match.
The key here, I think, is that in the past servlets were able to see other
servlets within the webapp, but
Oops. Felipe did ask for the servlet URL.
For finding other servlets in the application, I suppose that a servlet
could read its own .xml file. :-)
Will Hartung [EMAIL PROTECTED] wrote in message
088201c2cee6$7280f890$0101@Will">news:088201c2cee6$7280f890$0101@Will...
That only works
I installed Tomcat 4.1.18. I made changes to conf\server.xml to have write
access.
When I use Microsoft Word 2000 to save a file in the location -
http://localhost:8080/webdav http://localhost:8080/webdav
It gives me a list of files in webdav directory, but also gives the
following message
Did you restart Tomcat?
tomcat guy [EMAIL PROTECTED] wrote in message
002b01c2cee1$7035c250$6601a8c0@ctg">news:002b01c2cee1$7035c250$6601a8c0@ctg...
It didn't seem to do the trick. This is gettin a little frustrating. I
wouldn't mind as the others are working but this is what I am looking
You should use a simple text editor to modify xml files... Notepad works
fine...
- Original Message -
From: Gogulapati, Srividya [EMAIL PROTECTED]
To: Tomcat Users List (E-mail) [EMAIL PROTECTED]
Sent: Friday, February 07, 2003 2:22 PM
Subject: Fatal Error Console Message when using
Has anyone gotten combined to work as a pattern.
According to the docs, combined is supposed to add
Referrer and User Agent? Am I reading this wrong? The
logs didn't show anything different. And I believe the
User Agent was in there to begin with but I really
want the Referrer.
Any thoughts?
will, this has NOTHING to do with what you responded to, i.e., whatever problem some
Tomcat user had, but I was honestly wondering why you haven't seen fit to respond back
to my email to u some time ago, like some 10 days to 2 weeks ago?!!
Don't you respect me enough to respond back to my
I did not use Word to save conf\server.xml.
I used TextPad to do so.
What I meant to say is when I use Word 2000 (which is a WebDAV client) to
save any document (.doc file)
to webdav location (http://localhost:8080/webdav/) I get this fata error
message on Tomcat console.
-Original
Yes, that is correct. To have a Realm apply only to a context, it must
declared inside the context tags. So...
Context ... /
becomes
Context ...
Realm ... /
/Context
--
Sean Dockery
[EMAIL PROTECTED]
Certified Java Web Component Developer
Certified Delphi Programmer
SBD Consultants
Can someone tell me please just what the current methods are supposed to be for the
deprecated getValue() and setValue() and there's some other method dealing with
Value that I momentarily forgot! A recent program that I was trying to run gave me
about 3 separate deprecation warnings when I
Try setAttribute and getAttribute...
Steve Burrus [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Can someone tell me please just what the current methods are supposed to
be for the deprecated getValue() and setValue() and there's some other
method dealing with
setAttribute getAttribute
-Original Message-
From: Steve Burrus [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003 12:39 PM
To: [EMAIL PROTECTED]
Subject: Can someone tell me please.
Can someone tell me please just what the current methods are supposed to be for the
get and set on what?
try getAttribute() setAttribute()
-Original Message-
From: Steve Burrus [mailto:[EMAIL PROTECTED]]
Sent: Fri 2/7/2003 2:38 PM
To: [EMAIL PROTECTED]
Cc:
Subject: Can someone tell me please.
Will,
How can you resist ?
-Original Message-
From: Steve Burrus [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003 2:28 PM
To: Tomcat Users List
Subject: Re: servlet URL
will, this has NOTHING to do with what you responded to, i.e., whatever
problem some Tomcat user had, but
Laxmikanth - I was getting the exact same exception about a week ago, I spent a lot of
time playing with MySQL and TOmcat, came to discover that it was something to so with
the server where MYSQL was residing, my network admin saw the requests form TOmcat
hitting the box, but it was not
--- x x [EMAIL PROTECTED] wrote:
Hi:
I have a TOMCAT 4.1.8 running in a linux
Mandrake,its work fine,but when i make any changes,
ex: i change something in ma java beans, and i try
again the server show me the page without any
changes,
or if i delete the directory where my class are,
Did you restart Tomcat?
Yep.
- Original Message -
From: Sean Dockery [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 07, 2003 1:51 PM
Subject: Re: SendMailServlet - problem, debugging tips
Did you restart Tomcat?
tomcat guy [EMAIL PROTECTED] wrote in message
Hello,
I was just wondering if anyone experienced any problems with default servlet mapping
in Tomcat 4.1x? Here is an excerpt from my web.xml file:
servlet
servlet-nameMainPage/servlet-name
jsp-file/index.jsp/jsp-file
/servlet
.
servlet-mapping
No. The content of name is the parameter name--not the name of your SMTP
server. The content of value is the value of the parameter--that is, your
SMTP server's name.
Try this instead...
parameter
namemail.smtp.host/name
valuemail.ctg.com/value
/parameter
--
Sean Dockery
[EMAIL
Howdy,
Yes. Been using it for months with every tomcat 4.0.x and 4.1.x
release, no problems.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Matt Fury [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003 3:26 PM
To: [EMAIL PROTECTED]
Subject: Valve Access Log
I'll try the log4j... but I be given up for now...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Greetings.
I am baffled. I have setup the following context:
Context path= docBase=deragon debug=0/
Now, I have the following directory:
..jakarta-tomcat/webapps/deragon/generic
Tomcat renders any file under the deragon directory. For instance,
http://localhost:8080/index.html -
Hmmm... I'm not sure that catalina can write to /tmp just because your
users can. Try running this code before calling MultipartRequest multi =
...
FileWriter fw = new FileWriter(/tmp/hello.txt); // (line 1)
fw.write(Hello World\n);
fw.close();
When you start Tomcat, what value does it say it
Anyone else getting these?
The information provided is remarkably content free to my eyes.
Thanx!
Regards,
Will Hartung
([EMAIL PROTECTED])
SunOS icmsweb 5.8 Generic_108528-17 sun4u sparc SUNW,Ultra-80
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal
I'm running out of ideas. Maybe the problem is with the SMTP connection...
Put the following in a text file named commands.txt (without the snip
tags)...
snip
HELO www.corridortechnology.com
MAIL FROM:[EMAIL PROTECTED]
RCPT TO:[EMAIL PROTECTED]
RCPT TO:[EMAIL PROTECTED]
DATA
Subject: Re:
Is the Tomcat process running with the appropriate permissions to read
and execute the directory? ;-)
--
Tim Moore / Blackboard Inc. / Software Engineer
1899 L Street, NW / 5th Floor / Washington, DC 20036
Phone 202-463-4860 ext. 258 / Fax 202-463-4863
-Original Message-
From: Hans
Oh, that's interesting. It seems that my inline SMTP script reacted with
the gmane SMTP server.
Sean Dockery [EMAIL PROTECTED] wrote in message
b218r3$eea$[EMAIL PROTECTED]">news:b218r3$eea$[EMAIL PROTECTED]...
I'm running out of ideas. Maybe the problem is with the SMTP
connection...
Put
Here was the real message that should have been posted. The SMTP script
that I included in my previous post apparently interacted with the gmane
SMTP server (their NNTP service relayed my message to tomcat-user).
Sean Dockery [EMAIL PROTECTED] wrote in message news:...
I'm running out of ideas.
It started working. That was odd.
I am so glad this feature is avaiable. There are
people out there that think Tomcat doesn't do proper
log files. Webalizer handles these great!!
Thanks for the help.
-Matt
--- Matt Fury [EMAIL PROTECTED] wrote:
Has anyone gotten combined to work as a pattern.
On February 7, 2003 04:44 pm, Sean Dockery wrote:
Here was the real message that should have been posted. The SMTP script
that I included in my previous post apparently interacted with the gmane
SMTP server (their NNTP service relayed my message to tomcat-user).
.
FYI, putting a single
Hi,
Is there a way to get the web application path or the tomcat path inside
a java bean not using any Request object? I am running tomcat on
Windows. I need sometime to access xml file placed on the
web_app_path/xml/ folder. On windows, it is easy to retrace them
because the starting (default)
Please don't read this message it is just a test and nothing else than that
:P
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
hi guys ,
can anyone help me plz ! .. how can i make my jsp files working on
Tomcat work with MySql database .. i download the java-module offered from
MySql site .. but i dont know where / how to work with it !
thanks in advance ,
Walid
Seems to me that you don't have all the Solaris paches required to run
the VM. I don't have any problems under Solaris 5.8 but if you think you
have all the patches, you may file a bugs against the VM (not Tomcat
since it is a VM crash)
-- Jeanfrancois
Will Hartung wrote:
Anyone else getting
We are looking at adding/finding functionaliy for Tomcat to integrate well
into a completely Directory-based structure, ie everything is configured in
LDAP.
Firstly, has anybody tried putting the Virtual Host configuration in JNDI?
Secondly, which classes/interfaces should I be looking at to
Why don't you have access to the ServletContext? That's really the only
portable way to access resources in your webapp.
--
Tim Moore / Blackboard Inc. / Software Engineer
1899 L Street, NW / 5th Floor / Washington, DC 20036
Phone 202-463-4860 ext. 258 / Fax 202-463-4863
-Original
It is because the applications work with a lot of interne singleton
objects (one instance for all the application). Like a ConnectionPool or
a ApplicationScopeUtil that do not need to know the actual request, of
servlet context: this would add a unused parameter to all the methods
and mix up
What about creating one more singleton object that is constructed with
the ServletContext, and then all of the other objects use that one to
access the file? It's probably a good idea to encapsulate access to the
file anyway.
--
Tim Moore / Blackboard Inc. / Software Engineer
1899 L Street, NW
Xtreme Modem [EMAIL PROTECTED] wrote:
Hello,
I am having a lot of difficulty getting the JNI connector for Tomcat to work with
Apache 2.0.43. I have Tomcat version 4.1.18. I have followed the examples in the
documentation at
Right on.
E.L.
-Original Message-
From: Tim Moore [mailto:[EMAIL PROTECTED]]
Sent: February 7, 2003 5:31 PM
To: Tomcat Users List
Subject: RE: How to get the web application or Tomcat path inside a
class
What about creating one more singleton object that is constructed with
the
Thanks!
E. L.
-Original Message-
From: Tim Moore [mailto:[EMAIL PROTECTED]]
Sent: February 7, 2003 5:31 PM
To: Tomcat Users List
Subject: RE: How to get the web application or Tomcat path inside a
class
What about creating one more singleton object that is constructed with
the
Does anyone have an idea why I would get this factory error in apache? Am I providing
too much information for you to read? Is this too stupid a question to answer? Can
someone please just point me in the right direction - please???
I am having a lot of difficulty getting the JNI connector
Hello
I am trying to configure Apache (1.3.27) and Tomcat (4.1.18) to work
together in preparation for adding JetSpeed.
I have tried to following the instructions for creating mod_jk.so
provided by the Wrox Professional Tomcat book and the Galatea.com Flash
Guides and came up with errors on
I added a directory to the webapps dir. I cannot get to it. Error 404.
Although directories I added a week ago work ??? Now this new one cannot
be seen. I've asked this question a lot over the last few days here;
either its a completely STUPID question (most likely) or nobody can
answer it. It's
Before this I was using the ISAPI redirect in iis for tomcat and I did
all the changes in the worker file for apps. Thats not running anymore
and I'm just using localhost8080/app/ . I put
Context path=/simple docBase=tomcat/webapps/app/ debug=9
reloadable=true /
in the server.xml file at the
what does the structure under tomcat/webapps/app/ look like?
most of the cases when people use the context path, for a webapp in webapps they do
this
Context path=/simple docBase=app debug=9 reloadable=true /
Filip
-Original Message-
From: jsp [mailto:[EMAIL PROTECTED]]
Sent: Friday,
Hi fillip thanks, basically I just want to see an index.html inside the
app folder under tomcat. Nothing fancy, nothing special. I've got other
applications sitting in webapps that come up fine that specified with
the redirector ( which is gone now ) now I cant add new dir.. I even
uninstalled
What this entry says is:
Context path=/simple docBase=app debug=9 reloadable=true /
http://localhost:8080/simple/index.html
will open up the file /webapps/app/index.html
notice that you changed the context from app to simple by using the context element.
Filip
-Original Message-
Of all the lamer things ! I changed the name of the directory in
webapps to guestbook and it pops up fine now the name was /sc .
Maybe tomcat does not recognize dir's with only 2 leters ???
Thanks for listening
-wiley
-Original Message-
From: jsp [mailto:[EMAIL PROTECTED]]
Thank you fillip. And for future reference, can you please tell me where
in the server.xml file I add this entry ? Do I add it before the
/server tag or after ?
Thanks A LOT !!!
-wiley
-Original Message-
From: Filip Hanik [mailto:[EMAIL
make a search for 'Context path=/examples '
in your server.xml file to see an example
Filip
-Original Message-
From: jsp [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003 3:32 PM
To: 'Tomcat Users List'
Subject: RE: NEWBIE Simple question, (but not for me ?!?)
Thank you
WILL DO ! makes total sense ! Thanks man !
-wiley
-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003 3:27 PM
To: Tomcat Users List
Subject: RE: NEWBIE Simple question, (but not for me ?!?)
make a search for 'Context path=/examples '
in your
I'd love to help, but I don't use JK2. All I can ask is: did you try it
with the minimum configuration shown in the docs? You have some extra stuff
in your .properties files. What happens when you use the minimum
configuration? Do you get the same error?
John
-Original Message-
I have a Solaris 8 HOWTO here: http://www.johnturner.com/howto. It uses
Apache 2, but if you have the source to Apache the steps are the same. Just
sub in apache wherever it says apache2. I'm assuming you are using
Solaris because you have paths with /opt in them.
In my experience, you want
Did anyone try to use Tomcat's webdav on Windows DAV Clients like Office
2000?
If you try saving a file from Word 2000 or any other Office application
to http://localhost:8080/webdav you would see a Fatal Error console message
(as described in emails below). The message does not effect the
I added a directory to the webapps dir. I cannot get to it. Error 404.
Although directories I added a week ago work ??? Now this new one cannot
be seen. I've asked this question a lot over the last few days here;
either its a completely STUPID question (most likely) or nobody can
answer it. It's
Dear Francesa Etienne,
We are unable to determine the nature of your inquiry from the information you have
provided. Could you kindly resubmit your concern? Every attempt will be made to assist
you as shortly as possible.
Why wait? Resolve your customer service questions on-line at our
If you want all tomcat webapps to use MySQL, put the MySQL JDBC jar file to
common/lib folder.
If you want just a particular webapp to use MySQL, put the jar file to
YOUR_WEBAPP/WEB-INF/lib.
If you don't know how to use JDBC + JSP, you should go to SUN site to read
their tutorials.
Hope this
On Fri, Feb 07, 2003 at 12:26:16PM -0800, Matt Fury wrote:
Has anyone gotten combined to work as a pattern.
Yes. Using tomcat 4.0 on Debian Woody, added lines like:
Valve className=org.apache.catalina.valves.AccessLogValve
directory=logs
Hy!
The system: Tomcat 4.0.6 under Debian Woody.
I have a problem:
I wrote a servlet.
It is in:${CATALINA_HOME}/webapps/cbir/WEB-INF/classes/CBIServlet.class.
I was to refer in a HTML form: http://server_name/cbir/cbiservlet
The web.xml:
?xml version=1.0 encoding=ISO-8859-1?
!DOCTYPE web-app
Ladies/Gentlemen,
I have Apache's Tomcat Server running on my Windows Home XP system. I
am learning JSP using Sams Teach Yourself JavaServer Pages in 21 days.
The question is:
Why do I have to cold-boot every time I use Windows Explorer to create a
new folder while using the Tomcat Server? I
Hello,
I am a newbie and I have some problems with tomcat and my application.
The application path is /webapp/shop with the subdirectory
/webshop/shop/WEB-INF/lib and a /webshop/shop/WEB-INF/web.xml.
In my server.xml, I make the entries:
Context path=/shop
On Tue, 4 Feb 2003, Jack on vacation wrote:
Hi,
What's the way to pass environment variables from Apache to Tomcat
when using mod_jk?
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/aphowto.html
gives JkEnvVar SSL_CLIENT_V_START as an example, but how do I read this
in a JSP? Will
Could there be a problem with your web.xml? Try checking the logs for
errors loading the context.
--
Tim Moore / Blackboard Inc. / Software Engineer
1899 L Street, NW / 5th Floor / Washington, DC 20036
Phone 202-463-4860 ext. 258 / Fax 202-463-4863
-Original Message-
From: Wileynet
Some one just helped me on this.
make a search for 'Context path=/examples ' in the server.xml
then mirror how they added an entry for the examples dir to yours.
The classpath is another situation entirely. You specify the classpath
in your app
-wiley
make a search for 'Context
Dear Jon Earthlink,
My inquiry is already resolved.
E. L.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: February 7, 2003 5:48 PM
To: Francesa Lacreativa
Subject: RE: How to get the web application or Tomcat path inside a
class (KMM37443975V57528L0KM)
I am porting an asp site to struts and found some
weird behavior around jsp:include and the .inc file
extension. I applogise if this is obvious, and I
couldn't find any references to this previously. Try
this at home...
%-- test.jsp --%
html
body
jsp:include page=foo.inc/
/body
/html
create text
if it is a .inc file, don't you want to use the static include (ie, before it gets
compiled)
http://java.sun.com/products/jsp/syntax/1.1/syntaxref117.html#8772
that way, the include is only called one, and compiled into your JSP
Filip
-Original Message-
From: Austin King [mailto:[EMAIL
tomcat has to be smart about file extensions, for example, if the .inc was .jsp,
tomcat would have to compile it, and then execute it.
Filip
-Original Message-
From: Filip Hanik
Sent: Friday, February 07, 2003 5:50 PM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: RE: include .inc
Hi Filip,
if it is a .inc file, don't you want to use the
static include (ie, before it gets compiled)
Good point, I meant to say, I didn't think tomcat
would be smart about file extensions, beyond resolving
jsp, servlets.
Using the include directive isn't an option in this
case as I was
Hi,
Is it possible to avoid error reports?
I have an application, where in some cases it is appropriate to return a
HTTP reply code of 404, which of course can be done by setting -
response.setStatus(HttpServletResponse.SC_NOT_FOUND);
But then Tomcat creates an error-report and in this
Thanks for the info
I read through what you have and I ran into the errors below when I did the make on
the JK connector configuration. I did not use the connectors that your steps
indicated...I just the one provided in the jakarta-tomcat-connectors-4.1.18 file.
Allen
Hello:
I am also a newbie, but I will give it a shot. Try turning on servlet
reloading which checks the modification date of the class files and reloads
ones that have changed. This degrade performance in deployment, but is very
useful in developement. If you fail to do it on your development
I configured Tomcat 4.1 to run as a worker from Apache 2.0.44 for Windows
2000 server. Tomcat was started by Apache properly as indicated from the log
files. But I seemed not be able to execute servlets properly although I can
run jsp files fine. I am getting the error:
HTTP Status 503 -
Jimmy,
Try the following:
[uri:/examples/servlet/*]
HTH
/mde/
just my two cents . . . .
__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
I did. I am getting the HTTP error I described : 'HTTP Status 503 - Servlet
invoker is currently unavailable'. - jimmy
-Original Message-
From: Mark Eggers [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003 7:38 PM
To: Tomcat Users List
Subject: Re: Problem making Tomcat 4.1
Based on the information you have specified, the URL:
http://knuddel:8080/servlet/shop
is incorrect. It should be:
http://knuddel:8080/shop/servlet/shop
and there should be a shop.class file (i.e. the servlet)
in /webshop/shop/WEB-INF/classes. Your web.xml doesn't
apply at this
I have to enter the following classpath in [vm:] directive in
worker2.properties in order to make Tomcat 4.1 started properly from Apache
in Windows 2000 server. It took me a while to figure out what jar files to
include in. It seems that the jvm started by Apache does not know where
those classes
Hi Jeeze -B,
I appreciate your earlier suggestion (that is, using *.jsp files instead of
the *.shtml equivalent), however according to the TC 4.1 release notes - SSI
How to (http://jakarta.apache.org/tomcat/tomcat-4.1-doc/ssi-howto.html ) :
[
Introduction:
SSI (Server Side Includes) are
Where is the database running? On another machine? Is there a firewall
between you and the database?
--
Sean Dockery
[EMAIL PROTECTED]
Certified Java Web Component Developer
Certified Delphi Programmer
SBD Consultants
http://www.sbdconsultants.com
Laxmikanth M.S. [EMAIL PROTECTED] wrote in
What errors? You got the same errors? Do you have the recommended patch
cluster installed? Your error messages look like system-level library
problems. /usr/include/sys has nothing to do with Tomcat, the connectors,
or Apache, as far as I know. /usr/include/sys is where OS headers and libs
Did you change anything in Tomcat's web.xml? Sounds like the Invoker
servlet is disabled, but it is enabled by default for the examples, but
disabled for everything else.
John
-Original Message-
From: jcubic [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003 10:45 PM
To:
Hello all,
I've been trying to follow along with the JNDI-datasource examples and seem
to have gotten off track somewhere. I would greatly appreciate your having
a look at this. Google searches on this topic have helped, but I'm still
lost.
Running this dbtest.jsp doesn't generate anything in
No, I did not. The strange thing is that if I run Tomcat manually along with
Apache and let jni startup in Apache fail by not giving correct classpath, I
actually can run servlet as well as jsp.
I can't see servlet invoker is obviously disabled in web.xml in Tomcat conf
directory. But I think I
I'm writing a valve to associate a request with a subject using JAAS. To
do this I need to get access to the userPrincipal from the request or
the session. Unfortunately the method that sets this association in
org.apache.catalina.authenticator.AuthenticatorBase gets called AFTER my
valve meaning
I agree in general. In the mean time, you can work around it by declaring:
mime-mapping
extensioninc/extension
mime-typetext/plain/mime-type
/mime-mapping
in your web.xml file (or, even, in Tomcat's default web.xml file).
Austin King [EMAIL PROTECTED] wrote in message
[EMAIL
No browser that I know of actually sends this information back to the server
(IMHO, A Good Thing :). Therefore Tomcat has no way of knowing what the
browser thinks of the cookie settings, and is only telling you what it
knows.
Zabel, Ian [EMAIL PROTECTED] wrote in message
[EMAIL
If the directory has a welcome-file (in this case, 'index.jsp'), then Tomcat
4.x will return a 302 response to the welcome-file. Tomcat 3.3.2-dev and
Tomcat 5.x allow this behavior to be over-ridden.
Mark Strecker [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
On Fri, 8 Feb 2003, Peter Kelley wrote:
Date: 08 Feb 2003 17:29:10 +1100
From: Peter Kelley [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Valve Access to Principal
I'm writing a valve to associate a request with a subject
Hi all...
I had a problem with a JSP page not being able to use a class that I wrote.
(My JSP page was in ../webapps/ROOT and my class was in
../webapps/ROOT/WEB-INF/classes.) However, I noticed in the archive for this
mail list that my class should be part of a package. So, I added 'package
And here I was going to do a boring response like: defer the check to a
Filter. :-)
I'm actually using a slight variation on Craig's suggestion on one of my
internal sites (simply meaning that I can't give you a working URL), and it
works very well.
Craig R. McClanahan [EMAIL PROTECTED] wrote in
101 - 200 of 200 matches
Mail list logo