Denise --
... This team includes members that I know for a fact are capable
of maintaining other technologies.
How do the other team members feel about this? Are you trying to sell
both them and management at the same time?
If you know C and/or Perl (I assume you would choose one of these
On the end I managed to open datasource, it was stupd spelling mistake,
but I was too tired to see it.
Thanx all for answering.
-Original Message-
From: Sean Dockery [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003 03:16
To: Tomcat Users List
Subject: RE: Cannot load JDBC
Mufaddal wrote:
Hi,
I have followed the instructions at:
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/ssl-howto.html to enable
SSL.
Problem:
when i try to access the jsp page using :
https://locahost:8443/login.jsp ... a dialogue pops up saying:
Unable to establish a secure connection
I misspelled --
_Perl_for_the_Web_, by a
guy named Radcliffe.
Chris Radcliff. Searching at Amazon seems to require spelling the name right.
Sorry about the OT noise.
--
Joel Rees [EMAIL PROTECTED]
-
To unsubscribe,
Hello Sean,
Thanks voor taking a peek at my post.
On opening the page in your browser, the following lines appear above
the 'real' text:
(HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Mon, 30 Dec 2002
10:10:30 GMT Connection: close Content-Type: text/html;
charset=iso-8859-1 Servlet-Engine:
if ( POST.equalsIgnoreCase( request.getMethod() ) )
{
StringBuffer buf = new StringBuffer();
buf.append( request.getRequestURI() );
buf.append( ? );
buf.append( request.getQueryString() );
response.sendRedirect( buf.toString() );
return;
}
You need to be careful
Arbitrarily changing a POST to a GET can also end up in your customers
ordering two sets of football tickets, rather than one.
A repeat of a POST requires that the user be prompted, as POSTs are
non-idempotent. Browsers can issue as many GET requests as they like in
order to get the page
Hello,
I have a question for setup jakarta-tomcat-4.1.18. After I set up it, I want
to run tomcat by typing: $CATALINA_HOME/bin/startup.sh. And the message is:
Using CATALINA_BASE: /usr/jakarta-tomcat-4.1.18
Using CATALINA_HOME: /usr/jakarta-tomcat-4.1.18
Using CATALINA_TMPDIR:
Dear Sir,
Provided that i dun want to set environmental variable in my windows system,
but setting the environmental variable such as JAVA_HOME and CATALINA_HOME
inside tomcat configuration, how can i achieve it?
Also, if the value for the environmental variable is supposed an absolute path
of
Okay. In your index.jsp, insert the following page directive to the very
top...
%@ page contentType=text/html; charset=iso-8859-1 %
Let me know if the problem persists...
At 09:45 2003-02-07 +0100, you wrote:
Hello Sean,
Thanks voor taking a peek at my post.
On opening the page in your
Check the server.xml file located in $CATALINA_HOME/conf/server.xml for the
ports on which Tomcat listens. Confirm that the ports are 8080 for the
HTTP listener and SHUTDOWN on 8005 (IIRC).
Are you running a firewall that would prevent connections on those ports?
Also, check
Tomcat is not starting up correctly - go to $CATALINA_HOME/logs and read the logfiles.
If these do not help you, post the logs back to the list, together with details of
your OS, then we may be able to help you.
-Original Message-
From: Sunny Sun [mailto:[EMAIL PROTECTED]]
Sent:
I just set up Tomcat to work as a JNDI source for DB connections.
Following the how-to instructions, it worked very easily. This seems to
be a very sane way to manage a db connection pool. However, before I go
crazy and change all of my web app code to use JNDI instead of the way
they are
I solved it too. But it seems that mine problem was caused by empty pool validation
query string.
thanx
Maris
-Original Message-
From: Sean Dockery [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 05, 2003 7:27 PM
To: Tomcat Users List
Subject: RE: DataSource.getConnection()
Well, I've inserted it in index.jsp, but unfortunately the problem
persists.
-Oorspronkelijk bericht-
Van: Sean Dockery [mailto:[EMAIL PROTECTED]]
Verzonden: vrijdag 7 februari 2003 11:52
Aan: Tomcat Users List
Onderwerp: RE: Unwanted header when using Tomcat 3.2.4
Okay. In your
Hi Maris
I don't use a validation query at all and mine works!
I'm using Oracle - maybe different databases have different features when working
with DBCP ;-))
-Original Message-
From: Maris Orbidans [mailto:[EMAIL PROTECTED]]
Sent: Freitag, 07. Februar 2003 12:37
To: Tomcat Users List
Edit the startup files in CATALINA_HOME/bin, like startup.bat or
catalina.bat. Not sure which one would be best.
John
-Original Message-
From: whlee [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003 1:58 AM
To: [EMAIL PROTECTED]
Subject: setting CATALINA_HOME
Dear Sir,
Have a look at docs surrounding CATALINA_BASE to get tomcat to run in
different JVM's using single code base. We use hosting at that was the only
solution.
Donie
-Original Message-
From: Bill Barker [mailto:[EMAIL PROTECTED]]
Sent: 07 February 2003 04:11
To: [EMAIL PROTECTED]
Subject:
Hello,
i believe im doing it but when i compile i get no .java in WEB-INF/...
build.xml excerpt:
...
property name=app.name value=myapp/
property name=app.path value=/${app.name}/
property name=app.version value=0.1-dev/
property name=build.homevalue=${basedir}/build/
Hello!
I have a problem getting Tomcat+Apache connected with mod_jk
I installed Apache 2.0.43 and Tomcat 4.1.18 each works fine, alone.
When I try to use the specific mod_jk-2.0.43 or mod_jk2, or mod_webapp
for windows NT4, each time I get the same error.
-snip-
Cannot load
Hi all.
Currently, I have a secure web application with Apache + mod_ssl and it
does work fine. I would like change to Tomcat with security constraints for
directories (with client authentication). For this, I would like to protect
a resource with a MemoryRealm. I'm following these steps:
1.
Hello,
Is it possible to give any information about the Life Cycle of the Tomcat 4.0.x
versions ?
I am interested in dates concerning the 'End of Software Support' (Error correction,
new Patches...)
Thank you all
Christian
-
Hi,
I am using Java Web Services Developer Pack to expose methods using SOAP.
The problem is I want to read a property file location in my program. If the
program is of application type, this can be implemented by setting system
property using -D searcher.home = command line argument.
My
A version of tomcat dies when there are no committers for it.
Here is the (unofficial) status: (BTW: There is no official status)
Tomcat 3.3.X - Still getting enhancements but primarily in security
release status
Tomcat 4.0.X - No enhancments except security
Tomcat 4.1.X - Still getting new
I've tried JVM 1.2 and 1.3. The public (meaning valid users) have all
authority to the /tmp directory. This direcoty is Coded character set
ID . . . . . . . . : 37. I tried another directory /public/platemp
which is Coded character set ID . . . . . . . . : 437. I don't know
why the L
I don't know will it help or not, but you could try
this parser:
http://www.jyaga.com/
I use it, it never fails yet)))
Jenya
--- Patrick L Archibald
[EMAIL PROTECTED] wrote:
Hi
I'm stumped on this problem. I've got a file upload
servlet that works
fine running on a PC with Tomcat 4.1.12
Hi All
I want to increase the stack size allocated to my tomcat process. Is
there any configuration file where i can change this ?
Besides is there any way i can configure the stack size for per Web
applications ?
I am using Tomcat version 3.3.1
Thanks for any help/pointers.
-Surendra
Basically, my problem is this:
Gettting a .jsp script to run from the apache document root. esentially I
want apache to pick up and ANY .jsp force tomcat to parse them... Without of
course me needing to update confs everytime I add a user.
Cheers
Mat
I have a web server runnig Tomcat 4.1.8, i want to
know what its better to run only TOMCAT for my
webserver or run tomcat with apache. I`m newbie in
this stuff.
thanks
__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
I'm going to try to get to the bottom of this for a little while longer.
I checked out the link you provided. It looks simple enough. I may end
up trying it.
Thanx, PLA
Evgeniy Strokin wrote:
I don't know will it help or not, but you could try
this parser:
http://www.jyaga.com/
I use it, it
I have gotten weird errors when more than one classloader loads a class.
With that in mind, is the servlet.jar in more than one place? Check in
$CLASSPATH, $CATALINA_HOME/common/lib, $CATALINA_HOME/server/lib,
$CATALINA_HOME/shared/lib, your applications WEB-INF/lib, and the
$JRE/lib/ext
Howdy,
If you want to go the same route, simply add -Dsearcher.home=... to the
JAVA_OPTS variable in $CATALINA_HOME/bin/catalina.sh. It will be
available via System.getProperty(searcher.home) just like when you
launch a command-line application.
Yoav Shapira
Millennium ChemInformatics
Howdy,
http://forums.devshed.com/archive/1/2000/08/2/1298
If you use this as your sole solution, I'll turn off Javascript and
nail
your server simply for principle.
;) It all depends on your environment. I agree that for a general
purpose open internet environment, the above is not
Howdy,
Really? The stack, no the heap? You're sure? Why?
Try -Xss a parameter into your java command line.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Surendra Kumar [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003 8:52 AM
To: Tomcat Users List
What needs to be configured to hide the query string in the address bar?
Will this require Apache to do?
Luc
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Howdy,
Didn't you just post the exact same message to the log4j mailing list?
;)
I answered your question on that list at some length. The same answer
applies here ;)
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Raack Christian [mailto:[EMAIL PROTECTED]]
Sent:
Howdy,
If you want to do this at all, you will definitely need Apache. I'm not
even sure you could do it with Apache with 100% success. You will need
to do a lot of rewriting and some other rules, maybe converting GET
requests to POSTs with the query string parsed into form parameters or
Howdy,
Here's a simple approach: stick with tomcat only until something
convinces you you need more. For example, if you have a ton of traffic
and a ton of static files (images, static HTML, etc.), you will notice
performance degrading a bit with more traffic. Then you can investigate
the
There's a link to it on the tomcat resources page.
http://jakarta.apache.org/tomcat/resources.html
Here's a general list of what the book will contain.
1. setting performance requirements
2. building test plans
3. vm tuning options with benchmark results
4. performance consideration for data
I have servlet.jar in other directories but there is only one within the
/jakarta-tomcat-4.1.12 directory. I've tried putting cos.jar in
common/lib and shared/lib. No difference.
Thanx, PLA
Larry Meadors wrote:
I have gotten weird errors when more than one classloader loads a class.
With
Figured out how to put my installation document on my CableOne account. The
link is http://myweb.cableone.net/kdubuisson/Install.doc. Enjoy!
Kenny
- Original Message -
From: Kenny G. Dubuisson, Jr. [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, February 06,
Thanks! Suggestion: lots of people don't have access to MS Word for
various reasons. You can generate a PDF with a free generator available
here: http://www.pdf995.com Word docs are also hard to bookmark for folks
on Windows platforms.
John
-Original Message-
From: Kenny G.
I'm still throwing SocketExceptions using Tomcat 4.1.18 and the Coyote Http
Connector, is there a resolution for this? What should I look at?
-John
java.net.SocketException: Invalid argument
at java.net.PlainSocketImpl.socketSetOption(Native Method)
at
They are always in common/lib in 4.1.12 and onwards.
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Kenny G. Dubuisson, Jr. [mailto:[EMAIL PROTECTED]]
Sent: February 6, 2003 5:16 PM
To: Tomcat Users List
Subject:
Sean - I didn't omit anything in my post - the serverl.xml is as it is in my app. I
think you might have inadvertently answered my question, does my context level realm
physically have to reside inside the context tag? (do I have to put a /context on
after the realm)? I manager to get
Is there a way to get tomcat to pick up groups with-in groups
I have aadminuser user that is in the customer group
The customer group is in SERVLET_1_GROUP.
SERVLET_1_GROUP is the role being checked in the web.xml.
I currently can only get aadminuser to work if I directly place
I'm using TC 4.1.8
I read a instructions for implementing DataSourceRealm basicaly same as
JDBCrealm but my tables for users and roles are connected with id
(number).
Users(id_user, login_name, pass)
Roles(id_role, role_name)
Users_Roles (id_user, id_role)
Because of that I can't use TC realm
That's strange since you policy file seems OK. Is /my_jspfolder path
has the proper privileges on your disj? Seems you have created this
folder as the root, and then running Tomcat as a user
-- Jeanfrancois
Harish Kumar K.K. wrote:
Hi Jean
Thanks for responding.
Below is my
Tomcat 4.1.1x requires JDK 1.2.x and higher. Tomcat 5 requires 1.3.x and
Tomcat 3.x requires 1.1.
-- Jeanfrancois
Tref Gare wrote:
Hi all,
A quick question for a friend who needs to install Tomcat 4.1.12 into a
JDK 1.2 environment. Are there any limitations or constraints regarding
which
Good point John. I've now created a PDF of the same install document. It
can be reached at http://myweb.cableone.net/kdubuisson/Install.PDF . Hope
this helps,
Kenny
- Original Message -
From: Turner, John [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Friday,
Looks great! Thanks for creating and posting this.
John
-Original Message-
From: Kenny G. Dubuisson, Jr. [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003 10:04 AM
To: Tomcat Users List
Subject: Re: Tomcat - Apache install document
Good point John. I've now created
There are explanations about why we shall use Apache + Tomcat not TC alone.
I think the main reason is Apache interprets htm/html page faster than
Tomcat while Tomcat is good at interpreting jsp/servlet. Things have
changed. Tomcat now claims interpret htm/html as fast as Apache.
If your web site
POST should hide the query string.
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Luc Foisy [mailto:[EMAIL PROTECTED]]
Sent: February 7, 2003 9:11 AM
To: Tomcat User List (E-mail)
Subject: Question about options
If I want to increase the memory size of each process
or session, how can I do for Tomcat only or
Apache+Tomcat?
--- Shapira, Yoav [EMAIL PROTECTED] wrote:
Howdy,
Really? The stack, no the heap? You're sure? Why?
Try -Xss a parameter into your java command line.
Yoav Shapira
Howdy,
The JVM doesn't allocate memory to your process or session. It
allocates memory on the heap which is shared by your processes and
sessions. See the documentation for java's -Xms and -Xmx runtime
options at http://java.sun.com/docs/hotspot/VMOptions.html
You can set these options for
I just reloaded my development box and I can't get my servlet to be
recognized; I get a Status 404 error - resource not available. I'm not sure
where to start diagnosing the problem. My context (named kcmria)
works...ie if I put in http://192.168.1.61/kcmria I get the directory
listing of
I am going through this process with v4.1.8 and you have two choices :
in process and out of process connections. You can use the jk2 (ajp13
protocol, since you are using Tomcat 4.x) native connector to run
iplanet and connect to Tomcat via TCP or you can use the JNI connector
for in process.
New info: I don't have a web.xml for this context. In Tomcat 4.0.5 it was
not a problem. Is this something they changed for 4.1.18 that you must have
one defined? If so, what would be the minimal web.xml that I could get by
with? Thanks,
Kenny
- Original Message -
From: Kenny G.
I had a duplicate copy of cos.jar in the /QIBM/UserData/Java400/ext
directory. I deleted it and it works now.
A big thank-you to everyone who responded!
PLA
Patrick L Archibald wrote:
I have servlet.jar in other directories but there is only one within
the /jakarta-tomcat-4.1.12 directory.
Hi. Precisely I'm tryin' to configure Apache to work with Tomcat,
however, the example configuration files and instructions in
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html don't seem to
work in my Windows XP Pro enviroment. I'm using the default jk2.properties
file and
Have you created workers2.properties in apache2/conf?
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Carlos Cajina [mailto:[EMAIL PROTECTED]]
Sent: February 7, 2003 11:00 AM
To: Tomcat Users List
Subject: Re:
I don't think you have to have one.
Here's a minimal one:
?xml version=1.0 encoding=ISO-8859-1?
!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd;
web-app/
-Original Message-
From: Kenny G. Dubuisson, Jr.
Hello,
I have the connector for Netscape/Iplanet 4.1.8 to Tomcat 4.1.12
mostly working and am looking for some help for the rest. Here is what
is happening. The connection is up and talking with Tomcat. I can serve
up /examples/ ... but /examples/jsp/ returns error 302 The requested
Yes, here's a copy of it...
# Define the communication channel
[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
tomcatId=localhost:8009
# Map the Tomcat examples webapp to the Web server uri space
[uri:/examples/*]
info=Map the whole webapp
The Tomcat connector is using
I'm using TC 4.1.8
I read instructions for implementing DataSourceRealm, basicaly the same
as JDBCrealm but my tables for users and roles are connected with id
(number).
Users(id_user, login_name, pass)
Roles(id_role, role_name)
Users_Roles (id_user, id_role)
Because of that I can't use TC
Help Me !!!
Please, unsubscrite me on this mailing list.
email: [EMAIL PROTECTED]
Osvâneo A. Ferreira
Internet Group do Brasil - iG Tecnologia
Fone: (55 11) 5501-6728
- Original Message -
From: Uros Kotnik [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 07, 2003 2:15 PM
chris schild wrote:
Would anyone be able to provide some debugging tips for Tomcat servlets?
Logging.
Also, what would cause a servlet to be unavailable?
If you didn't map the servlet to a URL-pattern in your web.xml.
Erik
Hi,
It can also be done (unreliably) with JavaScript/frames. I would never
use this approach, but the idea is similar to what some domain name
registrars use for what is called stealth forwarding (giving the
appearance of mapping one URL to another without a true IP mapping).
The trick is
From: Shapira, Yoav [EMAIL PROTECTED]
Sent: Friday, February 07, 2003 6:02 AM
Subject: RE: Configuring System properties
Howdy,
If you want to go the same route, simply add -Dsearcher.home=... to the
JAVA_OPTS variable in $CATALINA_HOME/bin/catalina.sh. It will be
available via
Yes,
After posting my question i did find out that Microsoft is bad at doing
what it says its doing. Even thought the dialogue pops up saying that
an SSL connection could not be established it still does send the data
encrypted and does connect thru SSL. Also Safari you can enable the
debug
From: Peter Lin [EMAIL PROTECTED]
Sent: Friday, February 07, 2003 6:17 AM
Subject: Re: Tomcat Performance Concerns
9. tool for generating jmeter test plan from tomcat access logs
What a great idea, that never occured to me (I haven't looked at the access
log valve much, can it include POST
Dear participants of this list.
My environment is:
OS : Windows XP
Web Server : Apache 2.0.43
Tomcat : 4.1.18
Connector : mod_jk2 (mod_jk2-2.0.43.dll)
I have deployed a sample application, that includes some dhtml javascript
(HM_ScriptDOM.js)
for simplicity I placed
Can you define seems to be corrupting this javascript file? Be more
specific? What exactly is happening?
John
-Original Message-
From: Andrew Milkowski [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003 12:41 PM
To: Tomcat Users List
Subject: FW: MOD_JK2 Connector
Hi,
I've used both mod_jk2 with IIS and apache with loads of javascripts with out any
problems, so I think you should look at something else.
Check if the content type mapping for *.js is correct (in $tomcat_home/conf/web.xml).
Hope it helps
-reynir
-Original Message-
From:
Hey,
I recently discovered that the session id cookie created by tomcat is
setSecure(true) by the HttpResponseBase:
if (hreq.isSecure())
cookie.setSecure(true);
addCookie(cookie);
So, it looks like it is set secure, and it seems my browser respects that,
as it only sends the
My applogy.. space problem did not allow me attaching the file after
corruption.. file is 44 kb
however this is what I am going to do.. I am going attach a snippet from
this file containing corrupted
lines of code: (function HM_f_FixSize(makevis){ looks very different in the
file received via a
All - thanks for the replies, here are the answers if I missed anything
please let me know!
The SendMailServlet is in the examples, that should be mapped correctly by
default, right?
The web.xml in webapps/examples/WEB-INF is the defualt. I was assuming
since it came with the examples all would
parameter
namemail.ctg.com/name
valuelocalhost/value
/parameter
the name is invalid
Filip
-Original Message-
From: tomcat guy [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003 10:15 AM
To: Tomcat Users List
Subject: Re:
On Wed, 5 Feb 2003, Joe Tomcat wrote:
Date: 05 Feb 2003 05:52:16 -0800
From: Joe Tomcat [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: JNDI success, and questions
I just set up Tomcat to work as a JNDI source for DB
On Fri, 7 Feb 2003, Will Hartung wrote:
Do all of the webapps see the same System Properties?
Yes, if they're running in the same JVM.
I can't imagine why
not (assuming they share a JVM), but with all of the isolation that's
enforced between the webapps, it gives one pause to consider.
It's not suppose to be the name of the mail server?
- Original Message -
From: Filip Hanik [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, February 07, 2003 12:18 PM
Subject: RE: SendMailServlet - problem, debugging tips
parameter
turn on the Apache auto-configure setting in Tomcat 4.x under Win32?
Apparently in Tomcat 3.x this could be achieved by modifying ther server.xml file,
but this file seems to be different in the Tomcat 4.x release and I'm not sure where
to add the modifications.
To configure Tomcat to
Kenny,
I would like to see your document. Thanks, Jonathan
-Original Message-
From: Kenny G. Dubuisson, Jr. [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 06, 2003 2:37 PM
To: Tomcat Users List
Subject: Tomcat - Apache install document
Hello all. I created an installation
Don't know if it will help but here is the exception root cause err:
javax.servlet.ServletException: Error instantiating servlet class
SendMailServlet
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:91
1)
at
mail.smtp.host is the name of the parameter
parameter
namemail.smtp.host/name
valuemail.ctg.com/value
/parameter
-Original Message-
From: tomcat guy [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003 10:43 AM
To: Tomcat Users List
Subject: Re: SendMailServlet - problem, debugging
Jonathan:
Here are two links (one to a Word and one to a PDF version of the document):
http://myweb.cableone.net/kdubuisson/Install.doc
http://myweb.cableone.net/kdubuisson/Install.PDF
Hope this helps,
Kenny
- Original Message -
From: Shufelt, Jonathan S. [EMAIL PROTECTED]
To: 'Tomcat
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 servlets-ssi.renametojar to servlets-ssi.jar in directory
CATALINA_HOME/server/lib/ ;
2. Uncommented
How I retrieve the URL an HttpServlet instance is mapped to?
--
Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893
Centro Universitário Ritter dos Reis
http://www.ritterdosreis.br
[EMAIL PROTECTED]
Fone/Fax.: (51)32303341
On Fri, 7 Feb 2003, Uros Kotnik wrote:
Date: Fri, 7 Feb 2003 15:58:12 +0100
From: Uros Kotnik [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Subject: DataSourceRealm
I'm using TC 4.1.8
I read a instructions for implementing
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
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/confighowto.html, and it
appears that I have
take a look at the javax.servlet.http.HttpServletRequest API,
it has a bunch of methods that you can use to retrieve all kinds of info about the
request.
but if you mean how do you retrieve the info that is in web.xml for your particular
servlet,
give us the scenario where you would like this
See my HOWTOs for specific instructions. Look for the sections talking
about Listener:
http://www.johnturner.com/howto
John
-Original Message-
From: Carlos Cajina [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003 1:39 PM
To: Tomcat Users List
Subject: How do I...
tomcat guy wrote:
The logs do not seem to tell me a lot. Any suggestions?
Err, I didn't mean checking the Tomcat logs (though that helps). I
meant that one way to debug servlets is to use a logging framework for
your application like Log4J.
I wish I could be of greater help with
I'm writing a servlet that requires to be a Singleton (much like
Struts' servlet), and I have some other objects that need to know the
URL of this Servlet to make some redirects to it... so I need this
servlet to have a method that return its URL, as in web.xml
I can get this from
not sure that what you are trying to do makes sense?
why do you need the servlet to return its url? You configure the URL in the web.xml
file, so you should already know what it is and not have to ask the servlet itself.
This is from the spec
By default, there must be only one instance of a
Felipe Schnack wrote:
I'm writing a servlet that requires to be a Singleton (much like
Struts' servlet), and I have some other objects that need to know the
URL of this Servlet to make some redirects to it... so I need this
servlet to have a method that return its URL, as in web.xml
Yes, I know it's a singleton... but you mean I should have another
config file specifying my servlet's URL? Well, I could do that, but I
don't think it's a good idea, after all I already have this data on
web.xml...
Must be a way to know that...
On Fri, 2003-02-07 at 17:19, Filip Hanik 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.
I think I can understand the HttpServletRequest way of doing it... but
then I could only
On Fri, 7 Feb 2003, Felipe Schnack wrote:
Date: 07 Feb 2003 17:11:03 -0200
From: Felipe Schnack [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: RE: servlet URL
I'm writing a servlet that requires to be a Singleton (much
I see the problem and I think you're stuck having to code it someplace.
The problem is that a Servlet can be mapped to multiple URLs, and the
Servlet itself is really not aware of this mapping as it's maintained in the
actual container.
So, the only way to identify a Servlet within the container
1 - 100 of 200 matches
Mail list logo