RE: How can I run tomcat on port 8080 and have the users think it's on port 80?

2003-06-09 Thread Lee Chin Khiong
But this site doesn't contain any detail configuration. -Original Message- From: Andoni [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 10:57 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: How can I run tomcat on port 8080 and have the users think it's on port 80?

TOMCAT IIS and html

2003-06-09 Thread Dominic Parry
Hi Can I safely assume that When tomcat is configured with IIS that IIS will always serv anything but JSP's and Servlets? Even when HTML files etc lie within Tomcat contexts? Thanks Dom

Re: TOMCAT IIS and html

2003-06-09 Thread Dan Tran
It will serve every thing ( all files) within your app context not just jsp and servlet -Dan - - Original Message - From: Dominic Parry [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, June 09, 2003 12:10 AM Subject: TOMCAT IIS and html Hi Can I safely assume

Re: TOMCAT IIS and html

2003-06-09 Thread Dominic Parry
Tomcat will or IIS will? Thanks Dom - Original Message - From: Dan Tran To: Tomcat Users List Sent: Monday, June 09, 2003 9:53 AM Subject: Re: TOMCAT IIS and html It will serve every thing ( all files) within your app context not just jsp and servlet -Dan -

Re: TOMCAT IIS and html

2003-06-09 Thread Dan Tran
TOMCAT, IIS just do the forwarding _D - Original Message - From: Dominic Parry [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, June 09, 2003 12:59 AM Subject: Re: TOMCAT IIS and html Tomcat will or IIS will? Thanks Dom - Original Message - From:

Tomcat destoying beans

2003-06-09 Thread Dominic Parry
Hi After I call a servlet that accesses two beans created in a jsp, the beans seem to have been destroyed. They are created like this: %@ page import=beans.*% jsp:useBean id=authBean scope=session class=beans.UserAuth/ jsp:useBean id=dataBean scope=session class=beans.DataBean/ this page then

RE: check for session

2003-06-09 Thread Collins, Jim
Hi Mark, I use Documentum and struts and had something similar to what you now have with a Filter determining if a user has a dmSession. I found however that on a number of occasions when the filter was checking for dmSession it was returning null (even though I knew it had previously been

RE: Tomcat destoying beans

2003-06-09 Thread Bill Lunnon
Dominic, You haven't set the session in the page declaration [EMAIL PROTECTED] session=true ... Hope this helps Bill -Original Message- From: Dominic Parry [mailto:[EMAIL PROTECTED] Sent: Monday, 9 June 2003 7:00 PM To: Tomcat Users List Subject: Tomcat destoying beans Hi After I

RE: TOMCAT IIS and html

2003-06-09 Thread David Legg
Hi Dom, It depends how you have configured your connector. If you have set up your workers.properties or workers2.properties file to forward /examples/*.jsp to Tomcat then Tomcat will only see JSP file requests and all the HTML or GIF etc requests will be handled by IIS. If however you put

re. to Thomas.Rimmele( I used param tag just as u said)

2003-06-09 Thread bilal sulehri
From: [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: having problem with getInitParameter() Date: Sat, 7 Jun 2003 18:03:08 +0200 Hy, I think your forgot the init-param-tag Greethings, Thomas servlet servlet-name

Re: TOMCAT IIS and html

2003-06-09 Thread Dominic Parry
Thanks David Ok. So is there a way to exclude certain extensions. *.html *.jpg, etc. Dom - Original Message - From: David Legg [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Monday, June 09, 2003 11:30 AM Subject: RE: TOMCAT IIS and html Hi Dom, It depends how

RE: Newbie Q:How to prevent Directory listing in Tomcat?

2003-06-09 Thread David Legg
Hi Bob, In version 4.x Tomcat look for the file TOMCAT_HOME/conf/web.xml This file sets all the default web application settings. Look for the tag sequence: - param-namelistings/param-name And change the param-value tag below it from 'true' (the default setting) to false. Hope that helps.

RE: TOMCAT IIS and html

2003-06-09 Thread David Legg
Ok. So is there a way to exclude certain extensions. *.html *.jpg, etc. As far as I know there is no way to selectively exclude file extensions. All you can do is selectively include which file types should be passed on to Tomcat. Usually that is not a problem because you either want IIS to

Tomcat with apache

2003-06-09 Thread Kevin Passey
Hi everyone, I have searched thru the archives and cannot find a pointer on this. Can anybody point me to some how-to's on getting the latest version of Tomcat to run with Apache Http. Regards Kevin - To unsubscribe, e-mail:

FAQ RE: Tomcat with apache

2003-06-09 Thread James Lewis
http://www.johnturner.com/howto/apache-tomcat-howto.html#howto http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html http://sourceforge.net/projects/tomcatbook/ http://mywebpages.comcast.net/funkman/ Umm, there's loads more (google or archives) -Original Message-

JDBCRealm

2003-06-09 Thread Roman \Blade\ Velichko
Hi to All! How can I retrieve additional information (link to authenticated user like list of employeename) which he can see. With best wishes Roman Blade Velichko [mailto:[EMAIL PROTECTED] Chance favour to prepared mind

Re: Tomcat with apache

2003-06-09 Thread David Bo Jensen
Apache2 Tomcat5 mod_jk2 I agree there is missing links in the documentation. I had to do a lot of hacks to make it work, but I still have problems. You have to read about jk2. You can find something of it here http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/confighowto.html

Tomcat5 Tomcat Administration

2003-06-09 Thread David Bo Jensen
I have done Tomcat5/bin/startup.sh then with my browser http://localhost:8080/ After that I tried to click on Tomcat Administration and Tomcat Manager using both and tomcat as userid and password but I all cases I got an error message. Have anybody seen it work?

Re: Tomcat5 Tomcat Administration

2003-06-09 Thread Tim Funk
You need to edit conf/tomcat-users.xml and add a user to the manager and admin role. ex: user username=tomcat password=tomcat roles=tomcat,admin,manager/ -Tim David Bo Jensen wrote: I have done Tomcat5/bin/startup.sh then with my browser http://localhost:8080/ After that I tried to click on

RE: [SOLVED] -Xincgc, -Xms600, -Xmx600

2003-06-09 Thread Yoav Shapira
Howdy, I finally managed to get my issue sorted out. After installing Tomcat on another machine to do some testing I noticed that it had the following value in the registry: JVM Library: C:\jdk1.3.1_03\jre\bin\hotspot\jvm.dll snip Any comments? Yeah, windows sucks ;) I dislike it when

Where do I get MOD_JK2 - directory is empty

2003-06-09 Thread Kevin Passey
The d/l page is empty - what's wrong?? http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.4 /bin/win32/ Regards Kevin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [SOLVED] -Xincgc, -Xms600, -Xmx600

2003-06-09 Thread Dominic Parry
On this same note, when you upgrade your JVM in windows, you have to change that same registry key to reflect the update, otherwise Tomcat won't start. - Original Message - From: Yoav Shapira To: Tomcat Users List Sent: Monday, June 09, 2003 1:32 PM Subject: RE: [SOLVED]

Re: Tomcat5 Tomcat Administration

2003-06-09 Thread David Bo Jensen
Mandag 09 juni 2003 13:24 skrev Tim Funk: You need to edit conf/tomcat-users.xml and add a user to the manager and admin role. ex: user username=tomcat password=tomcat roles=tomcat,admin,manager/ -Tim Thanks, you are right. From where did you have that piece of information?

I need help please (Tomcat 4.1.24 and IIS)

2003-06-09 Thread Jeffrey Cummings
I am trying to setup tomcat 4.1.24 with IIS. When I request a page I get the following message:- HTTP Status 404 - /tomcat/isapi_redirect.dll ___ type Status report message /tomcat/isapi_redirect.dll description The requested resource (/tomcat/isapi_redirect.dll) is not available. _ Apache

tomcat does not release connections

2003-06-09 Thread Vijay Pawar
Hi All, i have a small query, am using dbcp for connection pooling and am opening 3 connection to the database and having 1 connection as idle. now..when i restart the tomcat container , sometime it does not release the 3 connections ( this is when i check it using the query select count(SADDR)

Re: Tomcat5 Tomcat Administration

2003-06-09 Thread Tim Funk
Oddly enough, I just knew it. I think it is the release notes (but not sure). But I also have it as a todo in adding to the FAQ. -Tim David Bo Jensen wrote: Mandag 09 juni 2003 13:24 skrev Tim Funk: You need to edit conf/tomcat-users.xml and add a user to the manager and admin role. ex: user

Re: Tomcat5 Tomcat Administration

2003-06-09 Thread Anthony Cunningham
http://localhost:8080/tomcat-docs/manager-howto.html it says it here for tomcat 4... f you have not customized your $CATALINA_HOME/conf/server.xml to select a different one, Tomcat 4 defaults to an XML-format file stored at $CATALINA_HOME/conf/tomcat-users.xml, which can be edited with any text

RE: Where do I get MOD_JK2 - directory is empty

2003-06-09 Thread David Legg
I got my copy from : - http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0. 2/bin/win32/ David Legg -Original Message- From: Kevin Passey [mailto:[EMAIL PROTECTED] Sent: 09 June 2003 12:38 To: Tomcat (E-mail) Subject: Where do I get MOD_JK2 - directory is

tomcat user administration for jndi

2003-06-09 Thread Vijay Pawar
Hi all, I am using the jakarta-dbcp package as a connection pool for my jdbc connections. The configurations i have done as per the tomcat documentation for jndi-how to and its is working fine. Now, in the tomcat administration tool there is option for configuration jndi sources. Now will the

Re: GOT IT! (was: newbie question: mod_jk not working Win 2000)

2003-06-09 Thread John Turner
Glad you got it working. John On Fri, 6 Jun 2003 18:20:16 -0400, Keith Adams [EMAIL PROTECTED] wrote: I just noticed that the Command window in which Tomcat is running says Tomcat 3.2. And sure enough, there turned out to be Tomcat 3.2 installed also, and somehow I'd gotten myself confused

Re: Tomcat configuring for email

2003-06-09 Thread John Turner
Yes. Tomcat is not a mail transfer agent (MTA). You will need a MTA on the standard port (port 25), either on localhost or some other host. Typical MTAs are sendmail, qmail, Microsoft's IIS, and many more. The mail services included with Tomcat for sending mail interface with an MTA, they

Re: Problem executing Servlets with Tomcat 4.1.24

2003-06-09 Thread John Turner
Don't use the Invoker. It's disabled for a reason. John On Sat, 7 Jun 2003 09:46:50 -0600, David Erickson [EMAIL PROTECTED] wrote: Ya that fixed it, thank you so much! This problem has been driving me CRAZY you have no idea =P -David - Original Message - From: Reynir Hübner [EMAIL

Re: Having a problem with IIS and Tomcat 4.1.24 config

2003-06-09 Thread John Turner
I don't use IIS, but: [Sat Jun 07 09:18:40 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/localhost/tomcat/isapi_redirect.dll' [Sat Jun 07 09:18:40 2003] [jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match Looks to me like one of your

Re: isapi_redirector.dll

2003-06-09 Thread John Turner
That depends on what registry settings you are discussing. As far as I know, Tomcat doesn't use any. Typically, if Tomcat and the web server are on different machines, you just point the web server to the correct IP address instead of localhost. So, in the isapi_redirector.dll configuration,

Re: How can I run tomcat on port 8080 and have the users think it 's on port 80?

2003-06-09 Thread John Turner
Actually, it does. Other resources: http://www.johnturner.com/howto http://tomcatfaq.sourceforge.net John On Mon, 9 Jun 2003 14:23:28 +0800, Lee Chin Khiong [EMAIL PROTECTED] wrote: But this site doesn't contain any detail configuration. -Original Message- From: Andoni [mailto:[EMAIL

Re: TOMCAT IIS and html

2003-06-09 Thread John Turner
You don't exclude, you include. Only send Tomcat the extensions you want it to handle. The rest will not be sent to Tomcat. Typically, that means *.jsp, and servlets, which are typically in their own folder, so /servlet/* or whatever you call it. John On Mon, 9 Jun 2003 11:46:07 +0200,

Re: Where do I get MOD_JK2 - directory is empty

2003-06-09 Thread John Turner
That URL is for JK, not JK2. John On Mon, 9 Jun 2003 12:37:46 +0100, Kevin Passey [EMAIL PROTECTED] wrote: The d/l page is empty - what's wrong?? http://jakarta.apache.org/builds/jakarta-tomcat- connectors/jk/release/v1.2.4 /bin/win32/ Regards Kevin

Re: Tomcat with apache

2003-06-09 Thread John Turner
Yikes, find a better archive!!! The topic comes up daily. http://tomcatfaq.sourceforge.net/apache.html John On Mon, 9 Jun 2003 11:01:14 +0100, Kevin Passey [EMAIL PROTECTED] wrote: Hi everyone, I have searched thru the archives and cannot find a pointer on this. Can anybody point me to some

Re: I need help please (Tomcat 4.1.24 and IIS)

2003-06-09 Thread John Turner
[Sat Jun 07 09:18:40 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/localhost/tomcat/isapi_redirect.dll' [Sat Jun 07 09:18:40 2003] [jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match Please post your .properties files, without them we can't be

RE: Having a problem with IIS and Tomcat 4.1.24 config

2003-06-09 Thread Jeffrey Cummings
Thanks for the help. There is the information request My worker.propqerties file is: - worker.list=ajp13 worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 my uriworkermap.properties file is:- /servlet/*=ajp13 /examples/*=ajp13 /examples/*.jsp=ajp13

Re: Getting JK2 to work with Apache 2.0.46

2003-06-09 Thread John Turner
Yes, you've got a half and half configuration going there. You're using mod_jk2 but giving it mod_jk instructions in one try, and then using mod_jk but giving it mod_jk2 instructions in the other. You have to pick one or the other and stick with it. Either choose mod_jk or mod_jk2. If you

RE: Where do I get MOD_JK2 - directory is empty

2003-06-09 Thread Kevin Passey
Thanks David. It's here now:- http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0. 2/bin/win32/ Regards Kevin -Original Message- From: David Legg [mailto:[EMAIL PROTECTED] Sent: 09 June 2003 13:04 To: 'Tomcat Users List' Subject: RE: Where do I get MOD_JK2 -

RE: Tomcat 5

2003-06-09 Thread Shapira, Yoav
Howdy, Tomcat doesn't take into account changes made to jsp. If I delete the So if you just change the JSP, tomcat doesn't re-translate and re-compile? You shouldn't have to touch tomcat's work directory yourself. Yoav Shapira This e-mail, including any attachments, is a confidential

Re: Having a problem with IIS and Tomcat 4.1.24 config

2003-06-09 Thread John Turner
Thanks. Did you install the filter? AFAIK, this is the best tutorial on Tomcat + IIS: http://www.onjava.com/pub/a/onjava/2002/12/18/tomcat.html John On Mon, 9 Jun 2003 08:42:40 -0400, Jeffrey Cummings [EMAIL PROTECTED] wrote: Thanks for the help. There is the information request My

JSP

2003-06-09 Thread Anitha K Rao
Hi Guys, I have an External Application installed in the tomcat root. 1. Can i access this application from my JSP file? 2. How do I execute this application? Best Regards Anitha

Accessing data files via APPLET tags in JSP pages

2003-06-09 Thread Susan Hoddinott
Hello, I am restricted in that my web hoster does not have an installed graphics environment (therefore any attempts to draw graphics offscreen in a servlet results in a null pointer from getLocalGraphicsEnvironment). In order to bypass this problem I have attempted to replace my servlet

Problems making a connector

2003-06-09 Thread Ángel Martínez Munuera
Hi I'm tring to make a jakarta-connector but when I do the make command it says that I have a problem wih the libtools: libtool: link: `../common/jk_ajp12_worker.lo' is not a valid libtool object But I saw that this libtool isn't my libtools system, is the libtool from my apache server on

Off Topic: JSP that reads and creates links to file directory

2003-06-09 Thread Michele Emmi
Hi, I have created the jsp (below) that reads and creates links to file directory(intranet, windows nt os). It works in ie to the extent that it will read the file server directory and create the links, but when I follow the link I get an error from the browser (ie) saying the page was not

Re: JSP

2003-06-09 Thread John Turner
I have an External Application installed in the tomcat root. 1. Can i access this application from my JSP file? Yes. 2. How do I execute this application? Depends on what it is. Most people, I believe, tend to use java.lang.Runtime.exec(). Best Regards Anitha John -- Using M2, Opera's

Re: Accessing data files via APPLET tags in JSP pages

2003-06-09 Thread Magne Skjeret
man, 09.06.2003 kl. 12.48 skrev Susan Hoddinott: Hello, I am restricted in that my web hoster does not have an installed graphics environment (therefore any attempts to draw graphics offscreen in a servlet results in a null pointer from getLocalGraphicsEnvironment). In order to bypass

Urgent : Can we restrict access to a directory in tomcat

2003-06-09 Thread Syed Nayyer Kamran
hi there, I want to restrict the user to access the images directly through the web. They should be able to access these images through web pages developed as jsp/servlet but should not be able to access these images displayed on page by copying the image url to the address bar. Is tomcat

RE: Off Topic: JSP that reads and creates links to file directory

2003-06-09 Thread Tom Lyle
I'd say that the String path =../dirList.jsp?path=//\\corportateFileServer\department\team\communication s\statusreports\monthlyConsolidatedReporttitle=Team+Monthly+Status+Report isnt a valid file path for File file = new File(path) -Original Message- From: Michele Emmi [mailto:[EMAIL

java.net.SocketException: Connection reset

2003-06-09 Thread Mindaugas Genutis
Hello, I am getting the java.net.SocketException and my JSP application crashes. I have pasted the exception below. It comes from the catalina sockets engine. Does anyone have an idea where should I go further for fixing this socket problem? My server configuration: Redhat Linux, Tomcat

RE: Urgent : Can we restrict access to a directory in tomcat

2003-06-09 Thread Shapira, Yoav
Howdy, That one's tricky (and strange). When you have a servlet or JSP, the output the user sees is HTML. In HTML, you have img tags. The browser will request those images normally in HTTP requests. So from the server's perspective, the request is the same whether the user types in the image

RE: Urgent : Can we restrict access to a directory in tomcat

2003-06-09 Thread Schwartz, David (CHR)
Store the images in your database then your jsp can retrieve show them. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 9:44 AM To: Tomcat Users List Subject: RE: Urgent : Can we restrict access to a directory in tomcat Howdy, That one's

Re: Urgent : Can we restrict access to a directory in tomcat

2003-06-09 Thread Tom Oinn
The other way to do it would be to check the referer page, this seems to be quite a common trick and will confound most people trying to link directly to your images (which is what I imagine you're trying to prevent). There may be a more elegant way of doing it, but you could create a servlet

Re: Urgent : Can we restrict access to a directory in tomcat

2003-06-09 Thread G. Wade Johnson
Unfortunately, this doesn't always work. In the past, I've had problems with IE not sending the Referer header on some requests.shrug/ G. Wade Tom Oinn wrote: The other way to do it would be to check the referer page, this seems to be quite a common trick and will confound most people

Re: Urgent : Can we restrict access to a directory in tomcat

2003-06-09 Thread John Turner
Could you just put all of the images under WEB-INF, and use a special servlet to get them? The source attribute of the IMG tag would be something like /servlet/imgGetter?image=someUniqueKey. The servlet would just retrieve the image from the WEB-INF directory, and spool it out as a stream.

RE: Tomcat configuring for email

2003-06-09 Thread Phillip Qin
Tomcat has this nice feature called Resource mail/Session. Without this feature, in your code, you get a mail session by: Properties props = new Properties(); props.put(mail.smtp.host, mysmtphost); Session mailsession = Session.getDefaultInstance(props, null); With Tomcat's jndi lookup, you can

RE: Clear user session

2003-06-09 Thread Phillip Qin
Is this a re-post? I saw some pal posted a very good explaination why you cann't do it. Are you not reading those posts?. My suggestion is to use session.removeAttribute(attr_name) or simply set those attributes to null. -Original Message- From: shyam [mailto:[EMAIL PROTECTED] Sent:

RE: re. to Thomas.Rimmele( I used param tag just as u said)

2003-06-09 Thread Phillip Qin
Don't forget to call super.init() first. -Original Message- From: bilal sulehri [mailto:[EMAIL PROTECTED] Sent: June 9, 2003 5:43 AM To: [EMAIL PROTECTED] Subject: re. to Thomas.Rimmele( I used param tag just as u said) From: [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL

RE: Newbie Q:How to prevent Directory listing in Tomcat?

2003-06-09 Thread Phillip Qin
Having gone thru the source code, I figured out that this init param will only work with DefaultServlet. I wish we could have something similar to apache's per-directory disable/enable. -Original Message- From: David Legg [mailto:[EMAIL PROTECTED] Sent: June 9, 2003 5:50 AM To: 'Tomcat

RE: tomcat does not release connections

2003-06-09 Thread Phillip Qin
I do it in my init servlet's destroy method. When I start my application, I use an init Servlet to initialize logger, connection pool etc. When Tomcat is shutting down, it automatically executes my init servlet's destroy method where I close the connection pool. -Original Message- From:

Re: Urgent : Can we restrict access to a directory in tomcat

2003-06-09 Thread Jason Bainbridge
On Mon, 9 Jun 2003 21:52, John Turner wrote: Could you just put all of the images under WEB-INF, and use a special servlet to get them? The source attribute of the IMG tag would be something like /servlet/imgGetter?image=someUniqueKey. The servlet would just retrieve the image from the

RE: check for session

2003-06-09 Thread Brian Menke
Hey Jim, I saw this and it intrigued me. Documentum is a document management system. I'm curious about how you are using struts with it?? Do you mind sharing briefly? -Brian -Original Message- From: Collins, Jim [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 2:14 AM To: 'Tomcat

Re: Urgent : Can we restrict access to a directory in tomcat

2003-06-09 Thread Jacob Kjome
I don't know why this would be any slower than tomcat itself? Tomcat serves images by loading them as a stream from the default servlet and returns them to the browser. It all depends on how you implement this. It very well could be faster than Tomcat itself since a servlet dedicated to

RE: re. to Thomas.Rimmele( I used param tag just as u said)

2003-06-09 Thread Jacob Kjome
First, I think you mean super.init(config) and second, there is no need for that if you call the init() method rather than init(ServletConfig config). See the javadoc... quote public void init() throws ServletException A convenience method which can be overridden so that there's no

Re: Urgent : Can we restrict access to a directory in tomcat

2003-06-09 Thread John Turner
Not to mention spoofing. John On Mon, 09 Jun 2003 08:50:50 -0500, G. Wade Johnson [EMAIL PROTECTED] wrote: Unfortunately, this doesn't always work. In the past, I've had problems with IE not sending the Referer header on some requests.shrug/ G. Wade Tom Oinn wrote: The other way to do it

Re: Urgent : Can we restrict access to a directory in tomcat

2003-06-09 Thread John Turner
Very possible, I was just acknowledging my lack of experience in being able to judge whether it was a good design overall or not...it would certainly accomplish the protect images requirement, but I wasn't sure about any others. John On Mon, 09 Jun 2003 09:12:49 -0500, Jacob Kjome [EMAIL

RE: check for session

2003-06-09 Thread Collins, Jim
Hi Brian, I mainly develop Web apps that are front ends to Documentum and all the apps I write are JSP/Servlet based apps and I use the Struts framework to help build these apps. I use struts to help with the apps flow control and mapping logic and the custom tags that it provides to help with

Hyperthreading and performance

2003-06-09 Thread pete . storey
I realise that this is slightly a JVM dependant question but doe anyone have any views on using Hyperthreading on Xeon processors and whether it will affect performance or not? As far as I can ascertain, hyperthreading essentially splits the processor into two threads internally which appear

RE: Hyperthreading and performance

2003-06-09 Thread Shapira, Yoav
Howdy, I haven't gotten around to benchmarking this, although I'm curious. It's not as much a tomcat issue as it is a general JVM performance one. Would you be able to benchmark your system with and without hyperthreading, and hopefully sharing the results with the list? Yoav Shapira Millennium

RE: Having a problem with IIS and Tomcat 4.1.24 config

2003-06-09 Thread Jeffrey Cummings
Yes I did install the filter and it does have the green arrow. This as the log file, mod_jk_iis.log when I start IIS [jk_uri_worker_map.c (156)]: Into jk_uri_worker_map_t::uri_worker_map_alloc [jk_uri_worker_map.c (196)]: Into jk_uri_worker_map_t::uri_worker_map_open [jk_uri_worker_map.c (211)]:

RE: clustering

2003-06-09 Thread Ben Ricker
I knew that, but the original message was so ambiguous about what exactly they were running, I thought a little clarity of terminology would help; blame my philosophy degree *grin*. I did not mean it in a condescending way. Ben Ricker Wellinx.com On Fri, 2003-06-06 at 16:17, Filip Hanik wrote:

Why does Oracle in JSP uses multiple ports.

2003-06-09 Thread Brad Rhoads
My client had to open port 1521 between the webserver and Oracle DB server. This makes sense. But he also had to open port 33047 for our application pointing to the test SID and 40147 for the copy of the app pointing to the prod SID. Both ProdApp and TestApp are exactly the same except for the

Urgent: Strange Exception in my jsp file

2003-06-09 Thread Jose Euclides da Silva Junior - DATAPREVRJ
Hi gurus, help me to solve this strange problem at my project. The rodrigo2.jsp file ( CODE BELOW ) runs fine in JDeveloper but returns an strange exception in TomCat 4.1.18. This jsp app creates a reference to a java bean, named DICA, which is instanced by an previous servlet. What does this

Re: Why does Oracle in JSP uses multiple ports.

2003-06-09 Thread Tim Funk
I have just learned that the thin driver uses 1521 to begin the conversation. But that is just a handshake. The handshake then says - Let's finish the rest of our work on another higher port where the higher port is a range of ports. So you need a whole range of ports open. :( -Tim Brad

RE: Servlets not working in my context: SOLVED

2003-06-09 Thread Schwartz, David (CHR)
Hi All. I finally got it. I was using Oracle 9i Tomcat on port 8080. Oracle 9i installs a service on Port 8080. This causes the logon popup. You either have to change tomcats port or disable the oracle feature. I changed Tomcat port to 80. Does anyone know how to disable or change oracle from

JNDI datasource non available in ServletContextListener.contextInitialized

2003-06-09 Thread Federico Spinazzi
Hi you all, I'm trying to build application wide variable from a ServletContextListener under Tomcat 4.1.24. Some of the variables are built with data read from a database. I've been able to successfully define the JNDI datasources and to list them in the contextInitialized method but I needed

[OT]Changing Oracle ports (was: Re: Servlets not working in my context: SOLVED)

2003-06-09 Thread Jason Bainbridge
On Mon, 9 Jun 2003 23:05, Schwartz, David (CHR) wrote: Oracle 9i installs a service on Port 8080. This causes the logon  popup. You either have to change tomcats port or disable the oracle feature. I changed Tomcat port to 80. Does anyone know how to disable or change oracle from port 8080?

RE: Why does Oracle in JSP uses multiple ports.

2003-06-09 Thread Brad Rhoads
I originally thought that was the exact issue. If you look at the listener.log, the new port# is random. In fact even the rang of numbers appears to be different on our different servers. In spite of this, we're getting ports 33047 40147 consistantly; it appears to be somehow be a function of

RE: JNDI datasource non available in ServletContextListener.contextInitialized

2003-06-09 Thread James Lewis
- define the resource in server.xml (this is a little 'limitating' for me) - deploy the applications in unpacked format (i.e. not from a war file: this is quite limiting, however) Yep, not good to stick them in server.xml. Your application.xml file containing your resources should be in the

Re: Assessing Tomcat's State

2003-06-09 Thread Francisco J. Bido
Thanks for the link. I didn't know about Nagios; it seems like a pretty useful tool. I'll have to take for a spin. About the Tomcat state issue, I actually got them resolved. I basically followed Tim Funk's tips (see prior posts). I modified some C code to get the UNIX PIDs straight from

Re: [tomcat] RE: JNDI datasource non available in ServletContextListener.contextInitialized

2003-06-09 Thread Federico Spinazzi
James Lewis wrote: - define the resource in server.xml (this is a little 'limitating' for me) - deploy the applications in unpacked format (i.e. not from a war file: this is quite limiting, however) Yep, not good to stick them in server.xml. Your application.xml file containing your

Re: Why does Oracle in JSP uses multiple ports.

2003-06-09 Thread Jason Bainbridge
Check out this newsgroup post, seems to explain it pretty well: http://tinyurl.com/dujx Regards, -- Jason Bainbridge http://jblinux.org On Mon, 9 Jun 2003 23:17, Brad Rhoads wrote: I originally thought that was the exact issue. If you look at the listener.log, the new port# is random. In

RE: [tomcat] RE: JNDI datasource non available in ServletContextListener.contextInitialized

2003-06-09 Thread James Lewis
always perform such a lookup successfully, but when I try from a ContextListener contextInitialized method it fails: the same code WILL NOT FAIL contextDestroyed !!! Hmmm, odd. This is *exactly* what I do pretty much. I have a LifeCycleListener specified in the webapps/app/WEB-INF/web.xml like

RE: Why does Oracle in JSP uses multiple ports.

2003-06-09 Thread Lawrence, Gabriel
There was a config option to stop this and make oracle just use 1521 that I used a couple years back for this very purpose... Here's a discussion about how the problem and how to get oracle to just use a single port: http://www.stunnel.org/examples/oracle.html -gabe -Original Message-

RE: JSTL and EL question - SOLVED

2003-06-09 Thread Schwartz, David (CHR)
Hi David. This method works great. Thanks Is there any downside to using it? Is it still considered standard? -Original Message- From: Karr, David [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 11:21 AM To: Tomcat Users List Subject: RE: JSTL and EL question - SOLVED The setup

Servlet thread safety

2003-06-09 Thread G. Wade Johnson
This may be an obvious question, but is there any guarantee one way or the other about whether there is a separate servlet object for each concurrent request. In other words, is there any chance that instance data would be shared between two requests? If so, are we guaranteed if the instance data

Re: Having a problem with IIS and Tomcat 4.1.24 config

2003-06-09 Thread John Turner
Sorry, I'm stumped, and I don't use IIS enough (hardly at all) to help out with nitty gritty stuff. Hopefully someone else has more insight. John On Mon, 9 Jun 2003 10:43:27 -0400, Jeffrey Cummings [EMAIL PROTECTED] wrote: Yes I did install the filter and it does have the green arrow. This as

Re: Having a problem with IIS and Tomcat 4.1.24 config

2003-06-09 Thread Dominic Parry
you need to specify your uri's in workers.properties - Original Message - From: John Turner To: Tomcat Users List Sent: Monday, June 09, 2003 6:13 PM Subject: Re: Having a problem with IIS and Tomcat 4.1.24 config Sorry, I'm stumped, and I don't use IIS enough (hardly at

how to unsubscribe - tried twice!

2003-06-09 Thread Keith Adams
I tried twice, with the subject line: [EMAIL PROTECTED], on Friday, and I'm still receiving the emails. I even received a confirmation that I'd been unsubscribed. Has anybody else experienced this? Keith - To

Re: Having a problem with IIS and Tomcat 4.1.24 config

2003-06-09 Thread John Turner
I'm pretty sure Jeffrey did...at least as far as I can tell. Do you have some examples of the correct way? John On Mon, 9 Jun 2003 18:16:49 +0200, Dominic Parry [EMAIL PROTECTED] wrote: you need to specify your uri's in workers.properties - Original Message - From: John Turner To:

RE: Servlet thread safety

2003-06-09 Thread Shapira, Yoav
Howdy, You didn't miss it. No such guarantee exists for normal servlets. See the javax.servlet.SingleThreadModel interface for one approach to this issue. However, many people will tell you to avoid SingleThreadModel for various reasons. I tend to agree. The design and implementation of your

RE: [tomcat] RE: JNDI datasource non available in ServletContextListener.contextInitialized

2003-06-09 Thread Shapira, Yoav
Howdy, FYI, I do the same thing: JNDI calls from a ServletContextListener's contextInitialized() event -- no problems. Yoav Shapira Millennium ChemInformatics -Original Message- From: James Lewis [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 11:43 AM To: Tomcat Users List

RE: how to unsubscribe - tried twice!

2003-06-09 Thread Tomcat User
I have as well...anyone have any ideas?? Dan LeBaron, CSSA Ingenuit Technologies, Inc Complete Business Technology Solutions P 503.267.4089 F 888.861.9051 www.ingenuittechnologies.com [EMAIL PROTECTED] -Original Message- From: Keith Adams [mailto:[EMAIL PROTECTED] Sent: Monday,

Re: Servlet thread safety

2003-06-09 Thread G. Wade Johnson
How about the flip side? Is instance data guaranteed separate for each request? I Have some code that relies on instance data and I just had the horrible realization that I have assumed that no two concurrent requests will be talking to the same object. Thanks again, G. Wade Shapira, Yoav

RE: how to unsubscribe - tried twice!

2003-06-09 Thread David Legg
Have you tried sending an email to the following address... [EMAIL PROTECTED] org Maybe the address you are sending from is not the one you subscribed with? It may take a few hours to have any effect. David Legg -Original Message- From: Tomcat User [mailto:[EMAIL PROTECTED] Sent: 09

RE: Servlet thread safety

2003-06-09 Thread John Corrigan
No. Concurrent requests will most likely be be processed by the same instance of your Servlet class, however it is not guarantted. -Original Message- From: G. Wade Johnson [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 9:43 AM To: Tomcat Users List Subject: Re: Servlet thread

basic authentication error page

2003-06-09 Thread Vladimer Shioshvili
Can i define the error page for the basic authentication? amd if yes, where? i have tried to define error-page for code 401, but realized that i am using constraint on everything , thus i am guessing that error page may be falling under the constraint as well. (not sure about that though..)

  1   2   >