[OT] RE: Problems with graphics on Tomcat 5.5.9

2005-10-07 Thread David N. Smith
Completely OT, but: If you're going to search for X11 packages with rpm, use rpm -qa | grep [package name or part]. I believe rpm -q [package name] is very limited and only tries to find a package named exactly as you enter it. --David > Do you refer to X11R6? I have a /usr/X11R6 dir in my serv

RE: Sending mail with JavaMail (UNCLASSIFIED)

2005-10-07 Thread Samara, Fadi N Mr ACSIM/ASPEX
Classification: UNCLASSIFIED Caveats: NONE Are you including your JAR files your BUILD.XML classpath ? -Original Message- From: David Tonhofer, m-plify S.A. [mailto:[EMAIL PROTECTED] Sent: Friday, October 07, 2005 6:25 AM To: Tomcat Users List Subject: Re: Sending mail with JavaMail

Struts Validation

2005-09-29 Thread Samara, Fadi N Mr ACSIM/ASPEX
Dear list, I have a very simple form that I am validating. I enables the plugin and the validation works fine, but when I submit an empty form, it shows NULL instead of picking the correct msg for the particular field from the properties files. Any idea why this is happening ? I tried all versio

Re: Tomcat autoDeploy problem on Unix

2005-09-13 Thread Eugeny N Dzhurinsky
quot; the war file? I could think the timezones on the development server and the deployment server are different, so the modified files could be "in future", and thus tomcat will never reload files if they have modification time > cur

Re: empty lines in HTML output

2005-09-10 Thread Eugeny N Dzhurinsky
work on 4.1.**? -- Eugene N Dzhurinsky - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

JSP: empty lines in HTML output

2005-09-10 Thread Eugeny N Dzhurinsky
Hello! Is there any way to suppress the empty lines in JSPs at the scriplet positions/JSP tags? -- Eugene N Dzhurinsky - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: mod_jk and text/plain

2005-09-07 Thread Eugeny N Dzhurinsky
On Wed, Sep 07, 2005 at 06:37:46PM +0300, Eugeny N Dzhurinsky wrote: > I have a problem with the application resources, mapped with the JkMount. For > some reason httpd server threats the content-type as text/plain, and ignores > the text/html set by tomcat. > > any ideas how to

mod_jk and text/plain

2005-09-07 Thread Eugeny N Dzhurinsky
out in the httpd.conf -- Eugene N Dzhurinsky - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Java Server Faces (UNCLASSIFIED)

2005-08-30 Thread Samara, Fadi N Mr ACSIM/ASPEX
Classification: UNCLASSIFIED Caveats: NONE Sue, You might want to try this users group[EMAIL PROTECTED] Personally, I haven't done much with JSFs but certainly it is worth looking into. Fadi -Original Message- From: Sue Roe [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 30, 200

RE: Multiple virtual hosts NEWBIE (UNCLASSIFIED)

2005-08-17 Thread Samara, Fadi N Mr ACSIM/ASPEX
Classification: UNCLASSIFIED Caveats: NONE Thanks for all your help. -Original Message- From: Parsons Technical Services [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 17, 2005 10:21 AM To: Tomcat Users List Subject: Re: Multiple virtual hosts NEWBIE (UNCLASSIFIED) Start here: ht

RE: Multiple virtual hosts NEWBIE (UNCLASSIFIED)

2005-08-17 Thread Samara, Fadi N Mr ACSIM/ASPEX
Classification: UNCLASSIFIED Caveats: NONE Hassan, I appreciate your input. I went onto the site and I can't seem to find what I need. Could anyone please supply me with the URL of a reference manual ? I am using version 5.5.8 Thanks in advance. -Original Message- From: Hassan Schr

Multiple virtual hosts NEWBIE (UNCLASSIFIED)

2005-08-17 Thread Samara, Fadi N Mr ACSIM/ASPEX
Classification: UNCLASSIFIED Caveats: NONE Hey everyone, I am new to this whole thing. I just bought a domain HYPERLINK www.xxx.com www.xxx.com and will start developing my own app/website and will deploy it under Tomcat (The hosting company supports it). Now my friend has a domain HYPERLINK w

Re: Webapp suddenly not available

2005-08-15 Thread Sriram N
--- "Vsevolod (Simon) Ilyushchenko" <[EMAIL PROTECTED]> wrote: > Sriram, > > I've taken them out, as well as the controller entry (which was a sample > line that I don't need). No good. > Hmm... what _do_ you require in this file, if not the controller entry ? Does the sample web applicatio

Re: Webapp suddenly not available

2005-08-15 Thread Sriram N
--- "Vsevolod (Simon) Ilyushchenko" <[EMAIL PROTECTED]> wrote: [snip] > > I'll be grateful for any suggestions. > Why all the JSPC entries in this web.xml ? Remove them as the Tomcat defaults should be just OK. The controller entry and the .do mapping seem to be OK. > Thanks, > Simon > --

Session lifecycle (UNCLASSIFIED)

2005-08-09 Thread Samara, Fadi N Mr ACSIM/ASPEX
Classification: UNCLASSIFIED Caveats: NONE My fault, I forgot to mention that I am using struts. The code is below public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { HttpSession s

RE: Session lifecycle (UNCLASSIFIED)

2005-08-09 Thread Samara, Fadi N Mr ACSIM/ASPEX
ED] Sent: Tuesday, August 09, 2005 10:26 AM To: 'Tomcat Users List' Subject: RE: Session lifecycle (UNCLASSIFIED) Samara, If your logout is a 'post' then when the user hits the back button he/she should see a session expired message. Arup -Original Message- From: Samar

Session lifecycle (UNCLASSIFIED)

2005-08-09 Thread Samara, Fadi N Mr ACSIM/ASPEX
Classification: UNCLASSIFIED Caveats: NONE Hey List, I have an application that has login/logout functionality. If a user logs out and then presses the back button, they could go back in the application. Anyone has an idea of what should be done ? Thanks Fadi Classification: UNCLASSIFIED C

Redirection/Multiple URLs (UNCLASSIFIED)

2005-07-12 Thread Samara, Fadi N Mr ACSIM/ASPEX
Classification: UNCLASSIFIED Caveats: NONE Hey everyone, I am trying to let 2 URLs to resolve to the same IP address. I am using apache as a web server that talks to the application server where the app is deployed. What is the best way to approach this ? Would a redirect tag do it ? Where (

Tomcat 4.x security issue in protected environment

2005-07-11 Thread Rashma N
cat 4x where the above problem is fixed? Any pointers on this would be of great help!!! Thanks, Rashma - How much free photo storage do you get? Store your friends n family photos for FREE with Yahoo! Photos. http://in.photos.yahoo.com

RE: Silent runtime replace of a class

2005-07-05 Thread Sriram N
--- Peter Crowther <[EMAIL PROTECTED]> wrote: > > From: Sriram N [mailto:[EMAIL PROTECTED] > > --- Gal Robert <[EMAIL PROTECTED]> wrote: > > > we have a new user requriement: to be able to modifiy the > > > application without affecting user work.

Re: Silent runtime replace of a class

2005-07-05 Thread Sriram N
--- Gal Robert <[EMAIL PROTECTED]> wrote: > Hi, > we have a new user requriement: to be able to modifiy the application > without affecting user work. > Is there any way to achieve this under tomcat? Currently we're > building war file. Is there any way to replace a class (maybe jsp class) > ru

RE: New user, help! (UNCLASSIFIED)

2005-06-22 Thread Samara, Fadi N Mr ACSIM/ASPEX
Classification: UNCLASSIFIED Caveats: NONE There are more tutorials on the web you just have to spend some time googling. Some that really help understand putting all the bits and pieces together is http://www.coreservlets.com You'll find tutorials on the different technologies and tools Fadi

Re: Undeploying webapp on windows

2005-05-19 Thread Joakim Ahlén
Hello, I've been out of town for a while so i haven't been able to respond earlier. Yes, i have tried all commands available in the manager, nothing helps this problem. When the manager tries to delete the directory, the jar-file being locked is left behind and the directory cannot be deleted. A

RE: Tomcat 5.5.7 will not autodeploy war files (UNCLASSIFIED)

2005-05-12 Thread Samara, Fadi N Mr ACSIM/ASPEX
Classification: UNCLASSIFIED Caveats: NONE Looking at your server.xml file, it should actually autodeploy it. How are you updating the war file ? Copy/paste ? Or you're actually Letting your IDE auto deploy to the "webapps" directory ? -Original Message- From: BATCHELOR, SCOTT (CONTRA

RE: class path (UNCLASSIFIED)

2005-04-13 Thread Samara, Fadi N Mr ACSIM/ASPEX
ror, close. and since then, I am getting no errors when compling the servlet, also no class file? "Samara, Fadi N Mr ACSIM/ASPEX" <[EMAIL PROTECTED]> wrote: Classification: UNCLASSIFIED Caveats: NONE It compiled successfully and no .class was generated ? This is weird. Maybe

RE: How to Deploy Replacement War (UNCLASSIFIED)

2005-04-13 Thread Samara, Fadi N Mr ACSIM/ASPEX
Classification: UNCLASSIFIED Caveats: NONE I am having a similar problem. When I first started looking into tomcat, I got the sample.war from their website, put it In the webapps folder, started tomcat, it unpacked it, deployed, all was fine. I deleted the sample folder that was created and

RE: class path (UNCLASSIFIED)

2005-04-13 Thread Samara, Fadi N Mr ACSIM/ASPEX
Classification: UNCLASSIFIED Caveats: NONE It compiled successfully and no .class was generated ? This is weird. Maybe it is something with where you're writing to. If it compiled then javac's job is done. Is it a standalone server/PC or networked ? Do you have limited permissions ? Fadi --

RE: class path (UNCLASSIFIED)

2005-04-13 Thread Samara, Fadi N Mr ACSIM/ASPEX
Classification: UNCLASSIFIED Caveats: NONE Jay is correct, they should never be included as part of the specified path Fadi -Original Message- From: Jay Burgess [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005 11:40 AM To: tomcat-user@jakarta.apache.org Subject: RE: class pa

RE: class path (UNCLASSIFIED)

2005-04-13 Thread Samara, Fadi N Mr ACSIM/ASPEX
(UNCLASSIFIED) tried that too... but it can't identify the path. C:\javacode>javac -classpath HellWorld.java The system cannot find the file specified. anyways.. now will reinstall as suggested 'without' spaces and will let you know.. thanks so far "Samara, Fadi N

RE: port number (UNCLASSIFIED)

2005-04-13 Thread Samara, Fadi N Mr ACSIM/ASPEX
Classification: UNCLASSIFIED Caveats: NONE I personally don't think it is a good idea, even if it could be done. Try changing the port for tomcat and do some testing on your side, to check if they seem to be operating correctly. Fadi -Original Message- From: t.n.a. [mailto:[EMAIL PRO

RE: class path (UNCLASSIFIED)

2005-04-13 Thread Samara, Fadi N Mr ACSIM/ASPEX
bject: RE: class path (UNCLASSIFIED) I compiling it from the command prompt. The sourse code is in c:\javacode so i on cmd... i change directory to c:\javacode>javac HelloWorld.java "Samara, Fadi N Mr ACSIM/ASPEX" <[EMAIL PROTECTED]> wrote: Classification: UNCLASSIFIED Caveat

RE: Tomcat memory alert (UNCLASSIFIED)

2005-04-13 Thread Samara, Fadi N Mr ACSIM/ASPEX
h monitors processes in this way? I'm running Windows 2000 server, but not with Active Directory, unfortunately. Thanks! Carlos -Original Message- From: Samara, Fadi N Mr ACSIM/ASPEX [mailto:[EMAIL PROTECTED] Sent: 13 April 2005 15:15 To: 'Tomcat Users List' Subject

RE: Tomcat memory alert (UNCLASSIFIED)

2005-04-13 Thread Samara, Fadi N Mr ACSIM/ASPEX
Classification: UNCLASSIFIED Caveats: NONE I suspect this might be an OS level issue. If you are behind Active directory, I for sure know you can do it. What OS are you running ? I am not sure if you can specify such parameter in tomcat Fadi -Original Message- From: Carlos Rule [mai

RE: class path (UNCLASSIFIED)

2005-04-13 Thread Samara, Fadi N Mr ACSIM/ASPEX
ion { ^ 6 errors - "Samara, Fadi N Mr ACSIM/ASPEX" <[EMAIL PROTECTED]> wrote: Classification: UNCLASSIFIED Caveats: NONE What errors are you getting again ? -Original Message- From: S M [mailto:[EMAIL PROTECTED] Sent: Wednesday,

RE: class path (UNCLASSIFIED)

2005-04-13 Thread Samara, Fadi N Mr ACSIM/ASPEX
Classification: UNCLASSIFIED Caveats: NONE What errors are you getting again ? -Original Message- From: S M [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005 9:47 AM To: Tomcat Users List; Jason Bainbridge Subject: Re: class path Hi These are the env. variables that I have se

RE: class path (UNCLASSIFIED)

2005-04-12 Thread Samara, Fadi N Mr ACSIM/ASPEX
, April 12, 2005 4:12 PM To: Tomcat Users List Subject: RE: class path (UNCLASSIFIED) yes it is ".;C:\javacode;%CATALINA_HOME%;%CATALINA_HOME%\common\lib\servlet.jar;%J2EE_ HOME%\lib\j2ee.jar;" where ";C:\javacode" had the source code. "Samara, Fadi N Mr ACSIM/ASPEX&q

RE: class path (UNCLASSIFIED)

2005-04-12 Thread Samara, Fadi N Mr ACSIM/ASPEX
only has servlet.jar "Samara, Fadi N Mr ACSIM/ASPEX" <[EMAIL PROTECTED]> wrote:Classification: UNCLASSIFIED Caveats: NONE You will need to have servlet-api.jar in your class path. -Original Message- From: S M [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 12, 2005 4:

RE: Garbage Collection (UNCLASSIFIED)

2005-04-12 Thread Samara, Fadi N Mr ACSIM/ASPEX
Classification: UNCLASSIFIED Caveats: NONE Pete is right. You can always REQUEST that the GC runs, but it is never guaranteed to run. Fadi -Original Message- From: Durfee, Bernard [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 12, 2005 4:06 PM To: Tomcat Users List Subject: RE: Gar

RE: class path (UNCLASSIFIED)

2005-04-12 Thread Samara, Fadi N Mr ACSIM/ASPEX
Classification: UNCLASSIFIED Caveats: NONE You will need to have servlet-api.jar in your class path. -Original Message- From: S M [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 12, 2005 4:03 PM To: tomcat-user@jakarta.apache.org Subject: class path Hi all, I am a first time user of T

Re: calling ejb on another app server

2005-04-07 Thread N G
If you are not getting some communication exception when you change the port number to the wrong port, it tells me that your jndi.properties are being ignored. As you pointed out, it's probably returning an instance of Tomcat readonly JNDI. I suggest you load your jndi.properties explicitely use

How to validate web.xml

2005-04-05 Thread N G
Hi, I am trying to figure how Tomcat validates web.xml (servlet spec 2.4). Here is what I did (running Tomcat 5.5.7): 1) In server.xml, I changed the attribute xmlValidation="true", in Host element 2) Changed web-app element within my web.xml to say this: http://java.sun.com/xml/ns/j2ee";

XML validation fails on Tomcat

2005-04-04 Thread N G
Hi, I can't understand why Tomcat goes nuts when I enable XML validation in my server.xml file as follows: When I start Tomcat, it gives me this: (Any ideas?) - Apr 4, 2005 5:59:25 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on h

Context sharing between 2 web apps

2005-03-16 Thread N G
Hi, I am using Tomcat 5.5.7. In a regular servlet, I am trying to do something like this: doGet(.) { ServletContext app2 = getServletContext().getContext("/anotherApp"); variable app2 is null after this statement. I think, context sharing is turned off in Tomcat, but I am not sure how to tu

Re: Allow Apache to Serve Static Content

2005-02-15 Thread Charles N. Harvey III
Point the DocumentRoot directory to your webapps directory. Then, in your jk mapping, map only *.jsp and *.servlet to Tomcat. ## WEBSITE ## ServerAdmin [EMAIL PROTECTED] DocumentRoot /code/www/webapps/website/ROOT ServerName www.website.com CustomLog "|/code/utils/cronolog/cronolog /l

Re: java.awt.headless=true in tomcat startup

2005-02-04 Thread Charles N. Harvey III
You set this somewhere in either the /bin/catalina.sh or /bin/startup.sh. If you don't want to do any of that, have an InitServlet that does System.setProperty( "java.awt.headless", true ); That will do the same thing. Charlie Rodrigo Avila said the following on 2/4/2005 11:57 AM: Hi! I try to use

Re: sharing session across s

2005-02-02 Thread Charles N. Harvey III
So... If I create some class, SessionHolder.java, compile it (SessionHolder.class) and put it in shared/lib, I could then set variables and then retrieve them from this class? Charlie Caldarale, Charles R said the following on 2/2/2005 5:00 PM: From: Mark Winslow [mailto:[EMAIL PROTECTED] Subject:

sharing session across s

2005-02-02 Thread Charles N. Harvey III
Hello. I have two s setup in the same , and I would like to be able to share session variables across them. Is this possible? And, if so, what do I have to configure? ? ? Thanks a lot. Charlie - To unsubscribe, e-mail: [EMAIL PR

passing logged in user/status from one website to another

2005-01-28 Thread Charles N. Harvey III
Hello. I'm sure this has been asked before and I promise I am looking through the archives as I write this. A user logs into websiteA.com and then has to click over to websiteB.com. They are both apps running in the same instance of Tomcat, on the same server, just as different s. Is there some sl

MEMORY REALM AND TOMCAT- USERS

2005-01-25 Thread Karthik N S
  Hi How would one be able to get the  'userid /passwords/role'   of    /conf/tomcat-users.xml into a servlet from within the  Context running in  the specified  envoiurnament.   Thx in advance   WITH WARM REGARDS HAVE A NICE DAY [ N.S.KARTHIK]

TOMCAT + HttpURLConnection

2005-01-17 Thread Karthik N S
  Hi Apologies   I would like to use the  'HttpURLConnection' API to POST  'start/stop/reload'   to   Tomcat  Manager URL 'http://192.168.10.64:8080/manager/html/start?path=/XYZ' ,   So can I Code this and  Do I need the Proxy Authorization to do the same. Please  send Some

RE: SERVLET CONTEXT [ START/STOP BY CODE]

2005-01-11 Thread Karthik N S
, 2005 2:08 PM To: Tomcat Users List Subject: RE: SERVLET CONTEXT [ START/STOP BY CODE] inside tomcat manager.. redeploy your web app... http://localhost:8080/manager/html _ From: Karthik N S [mailto:[EMAIL PROTECTED] Sent: Monday, January 10, 2005 4:08 PM To: TOMCAT_USERS Subject

RE: SERVLET CONTEXT [ START/STOP BY CODE]

2005-01-10 Thread Karthik N S
nager/html _ From: Karthik N S [mailto:[EMAIL PROTECTED] Sent: Monday, January 10, 2005 4:08 PM To: TOMCAT_USERS Subject: SERVLET CONTEXT [ START/STOP BY CODE] Hi Guys Apologies. Am a New Bee ,on this form Somebody Please Tell me How to START/STOP Tomcat5.x ver

SERVLET CONTEXT [ START/STOP BY CODE]

2005-01-10 Thread Karthik N S
  Hi  Guys Apologies. Am a New Bee ,on this form Somebody Please Tell me How to START/STOP  Tomcat5.x versions ServletContext by importing appropriate Package and code API's to make use of  foa a particular Context 'ABC ' which is already started.   Thx in Advance.   WITH WARM

Re: webapps ROOT folder significance

2004-12-04 Thread Savitha &#x27;n' Narahari
Remy you really confused me. Can you elaborate a little more please ? What root.xml file in webapps\ROOT folder ? or jakarta-tomcat-5.5.3\conf\Catalina\localhost folder ? Do you mean a context.xml file in the catalnia\locahost folder ? Please clarify. -Narahari Remy Maucherat <[EMAIL

Re: webapps ROOT folder significance

2004-12-03 Thread Savitha &#x27;n' Narahari
BTW, I am using Tomcat 5.5.3 with jdk 1.5 with jre 1.5 also. Regards, -Narahari --- Savitha 'n' Narahari <[EMAIL PROTECTED]> wrote: > Hello: > > What is the significance of TOMCAT webapps\ROOT folder ? > > I know it contains the startup page but which server

webapps ROOT folder significance

2004-12-03 Thread Savitha &#x27;n' Narahari
Hello: What is the significance of TOMCAT webapps\ROOT folder ? I know it contains the startup page but which server.xml entry tells it to go to the ROOT folder by default. I know that some Context entry has everything got to do with it but cannot put my finger on the correct entry. There

Re: JDBC

2004-11-23 Thread Charles N. Harvey III
Someone just last week recommended this one: http://jtds.sourceforge.net/ But you can use the one from Microsoft as well: http://www.microsoft.com/downloads/details.aspx?FamilyID=ee91ad1a-1ee4-49e1-95ea-e3f0e39114a9&DisplayLang=en That's a crappy URL, but it links to the JDBC driver. Charlie

Installation of tomcat V 4.1.31 from source on Linux

2004-11-10 Thread Sandeep N
Hi All, Has anybody tried to install Apache-Tomcat-4.1.31 from the source on Linux? I am not able to get the servletapi V 4 (as mentioned in the building.txt file in the tomcat source) required for this anywhere. Can anybody tell where it is available? Regards, Sandeep --

Installation from source on Linux

2004-11-09 Thread Sandeep N
Hi All, Has anybody tried to install Apache-Tomcat-4.1.31 from the source on Linux? I am not able to get the servletapi V 4 (as mentioned in the building.txt file in the tomcat source) required for this anywhere. Can anybody tell where it is available? Regards, Sandeep --

Re: User Authentication Problem LDAP

2004-11-07 Thread Sandeep N
.xml accordingly or suppress the > auth-constraint on the role-name > > Hope it helps > > Olivier > > > > Sandeep N wrote: > > >Hi, > > > >I have a problem trying to authenticate users, whose details are > >stored in the LDAP directory thr

User Authentication Problem LDAP

2004-11-01 Thread Sandeep N
Hi, I have a problem trying to authenticate users, whose details are stored in the LDAP directory through Apache Tomcat. The details of the software I am using are as follows : LDAP: OpenLDAP V 2.2.17 Web-Server: Apache-Tomcat V 4.1.30 OS: Suse - Linux The LDAP directory structure is somewhat li

Re: Problem Authenticating Users in LDAP

2004-10-29 Thread Sandeep N
sted by the >same algorithm, and the result is compared with the value returned >by the |Realm|. An equal match implies that the cleartext version of >the original password is the same as the one presented by the user, >so that this user should be authorized. > > So gi

Re: Problem Authenticating Users in LDAP

2004-10-29 Thread Sandeep N
and authorization (roles etc.) Can you trace your ldap > engine??? We are facing problems with german umlauts in passwords > (JDBCRealm). Do you have any chars within user/password which need > special encoding??? > Cheers > Mark > > > > Sandeep N wrote: > &g

Re: Problem Authenticating Users in LDAP

2004-10-28 Thread Sandeep N
<[EMAIL PROTECTED]> wrote: > Hi, > > have a look in your log files. It should tell you something about your > authentication process... > Mark > > > > Sandeep N wrote: > > >Hi, > > > >I have a problem trying to authenticate users, whose deta

Problem Authenticating Users in LDAP

2004-10-27 Thread Sandeep N
Hi, I have a problem trying to authenticate users, whose details are stored in the LDAP directory through Apache Tomcat. The details of the software I am using are as follows : LDAP: OpenLDAP V 2.2.17 Web-Server: Apache-Tomcat V 4.1.30 OS: Suse - Linux The LDAP directory structure is somewhat li

Re: urgent help reqd

2004-10-19 Thread N Tapas Kumar Choudhury
Hi Prashant, Just for a quick remind, which DBCP you are using for your application, what's the value of KeepAlive=?? which should be ideally 'true' and what value you have set for the maxThrottle.. What I can suggest you to use upgraded Tomcat version, like Tomcat 4.1 series if

How to abort processing of a JSP ??

2004-10-13 Thread N Tapas Kumar Choudhury
Hi, I want to know, whether it is possible to abort the jsp execution while in the midst of processing a request ?? If anybody can through light on this I would be grateful.. Thanks in advance, Tapas - To unsubscribe, e-

Re: getting the error type/code

2004-08-08 Thread Charles N. Harvey III
quest() an attribute called "javax.servlet.error.status_code" of type Integer. -Tim Charles N. Harvey III wrote: Hello. If I create one error page and point all of the error codes (400, 401, 403, 404, 408, 500) to the same page, how do I figure out which error code was sent so I can disp

getting the error type/code

2004-08-07 Thread Charles N. Harvey III
Hello. If I create one error page and point all of the error codes (400, 401, 403, 404, 408, 500) to the same page, how do I figure out which error code was sent so I can display a different message to the user? Can this be done or do I have to create a separate page for each error code? Is the er

Context Descriptors: which directory

2004-07-29 Thread Charles N. Harvey III
Hello. I was using Tomcat 4 and I had my foo.xml file in $catalina_home/webapps/foo.xml. This pointed Tomcat to a different directory where the application resided. Now, in Tomcat 5 I see in the docs that I am supposed to be placing these files in $catalina_home/conf/Catalina/localhost/foo.xml. D

server.xml structure

2004-07-27 Thread Mohammad N. Tina
Hi, where i can find a documentation for server.xml, the attributes, values...etc. thanks - Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage!

deploy tool and java web services

2004-07-26 Thread Mohammad N. Tina
Hi, i am still new to tomcat, i have this application, it is using JSP and XML files to get data from oracle server. i installed java web services from sun, when it asked for web container..it did not like tomcat downloaded from jakarta website, i had to download tomcat from sun website, can

Re: Request for an Immediate Solution

2004-07-22 Thread N Tapas Kumar Choudhury
Hi Rajagopalan, It seems you settiing issue with ur browser. Make sure to enable "Bypass proxy  server for local addressess" in your LAN Settings which is present in Internet Options in your browser. U must check other setting like proxy in this option. Let me know if u have any

Problem in ConnectionPooling

2004-07-20 Thread N Tapas Kumar Choudhury
Hi All, We are using a connection pool in Tomcat using commons dbcp classes DriverAdaperCPDS (with com.sybase.jdbc2.jdbc.SybDriver class from sybase) and SharedPoolDataSource. If there is some network problem between tomcat 4.x and sybase 12.5., the code hangs at this line: Connection con = data

re-deploy a webapp with new .properties files

2004-07-14 Thread Charles N. Harvey III
Hello again. I push myapp.war file to my staging server. Then I use the "deploy" function in the manager app. http://server/manager/deploy?war=jar:file:/wars/myapp/1.3/myapp.war!/&update=true Most of the app gets reloaded, which is great. But some things do not. Like anything in the /WEB-INF/clas

image redirect

2004-07-14 Thread Charles N. Harvey III
Hello. I am used to using Apache Httpd in front of Tomcat to create Redirects for images. This way, I can re-route all calls to *.jpg to my image server. But now I don't have Apache Httpd installed. Can I do the same with Tomcat? This is the setup in Httpd: ServerAdmin [EMAIL PROTECTED]

/admin/users/ is open for source browsing

2004-06-21 Thread Ushakov, Sergey N
Hi, I have occasionally discovered that the 'admin' app reveals its jsp folders' contents without any password. And allows reading jspf sources afterwards... Is it intended? ;) And maybe a more general question - is it sound to have the default servlet 'listings' defaulting to 'true'? Perhaps it

TC5.0.25 ignores my META-INF/context.xml

2004-06-20 Thread Ushakov, Sergey N
Hi, I've just upgraded from TC4.1.12 to TC5.0.25. Everything is OK, but TC evidently ignores my context configuration file unless I place it directly into 'conf\Catalina\localhost\'. It is ignored both if placed as 'webapps\my-app\META-INF\context.xml' and as 'webapps\my-app.xml'. What is wrong?

JAAS setup

2004-06-15 Thread Charles N. Harvey III
I'm not sure if this is the right place to ask this, so if someone can point me to a JAAS mailing list that would be great. If I put a jaas.config in my WEB-INF/classes/ directory, I have to have something that does System.setProperty( "java.security.auth.login.config", jaasFile ); That's just fin

Re: java variables in mywebapp.xml

2004-06-15 Thread Charles N. Harvey III
Millennium Research Informatics -Original Message- From: Charles N. Harvey III [mailto:[EMAIL PROTECTED] Sent: Monday, June 14, 2004 6:19 PM To: Tomcat Users List Subject: java variables in mywebapp.xml Hello. I put a file: mywebapp.xml into tomcat/webapps/. This file makes Tomcat

java variables in mywebapp.xml

2004-06-14 Thread Charles N. Harvey III
Hello. I put a file: mywebapp.xml into tomcat/webapps/. This file makes Tomcat reference my webapp in a different directory. I tried to use a variable in the path but Tomcat hated that. But ${user.home} renders exactly as written. It doesn't change to /home/charvey/. Is there any way to

Re: Common/lib works shared/lib doesn't

2004-06-11 Thread Charles N. Harvey III
7;s OK to use common/lib or not. Yoav Shapira Millennium Research Informatics -Original Message- From: Charles N. Harvey III [mailto:[EMAIL PROTECTED] Sent: Friday, June 11, 2004 10:14 AM To: Tomcat Users List Subject: Re: Common/lib works shared/lib doesn't I have seen this happe

Re: Common/lib works shared/lib doesn't

2004-06-11 Thread Charles N. Harvey III
I have seen this happen as well. I'm fine with putting jars in either the common/lib or the WEB-INF/lib, but how come shared/lib doesn't work at all? Nothing that gets placed in that directory shows up in the classloader. Is there something I need to configure to get those jars to load? Thanks f

jsp-examples problem.....

2004-04-24 Thread Savitha &#x27;n' Narahari
Hello All:   JDK USED : 1.4.2 TOMCAT USED : 5.0.19 OS used : WINDOWS XP. Machine rebooted, made the change to jsp file.   I have one quick problem that I have no idea why it is happening.  I went to the cal folder under jsp-examples.  I modified the cal1.jsp page.   I changed . . Time .

Tomcat and TCP Window Size

2004-04-16 Thread Raines, David N
I am trying to run Tomcat on a special "customer demo" network that I have set up. The network includes an unnaturally long delay, and we have found that we need to change the TCP Window Size for our different programs to get good performance. The server is Windows 2000 Server. I've set the regi

Re: Tomcat configuration tuning

2004-04-08 Thread Charles N. Harvey III
(). RDBMSLoginModule is the other class from the example and it implements LoginModule. This is the jaas class that you configure in your jaas.config file. None of this really has anything to do with Tomcat configuration tuning, sorry for going off on a tangent. Charlie Charles N. Harvey III wrote

Re: Tomcat configuration tuning

2004-04-08 Thread Charles N. Harvey III
saying you use JCIFS also? Is the loginContext your own or part of the JCIFS API. ADC -Original Message- From: Charles N. Harvey III [mailto:[EMAIL PROTECTED] Sent: Thu 08/04/2004 20:38 To: Tomcat Users List Cc: Subject: Re: Tomcat configuration tuning I do just what you

Re: Tomcat configuration tuning

2004-04-08 Thread Charles N. Harvey III
rch Informatics -Original Message- From: Charles N. Harvey III [mailto:[EMAIL PROTECTED] Sent: Thursday, April 08, 2004 3:38 PM To: Tomcat Users List Subject: Re: Tomcat configuration tuning I do just what you described below. If the loginContext isn't in the session, I show do a g

Re: Tomcat configuration tuning

2004-04-08 Thread Charles N. Harvey III
I do just what you described below. If the loginContext isn't in the session, I show do a global-forward to the login form. And, because I didn't want to have to put a session check into every Struts action I used AspectJ to weave in a pointcut into every action. Works great. I was considering

Re: Jsp outside webapp

2004-03-11 Thread Charles N. Harvey III
A template language like Velocity can do that for you since they are not compiled servlets. You can load templates from a Webapp, filesystem, URL or database. Its worth looking at. Charlie Shapira, Yoav wrote: Hi, I want all my jsps, images and any static include files to be under the apach

Re: Tomcat 4.1.30 and Apache 2.0.48

2004-03-04 Thread Charles N. Harvey III
/conf/httpd.conf LoadModule jk_module modules/mod_jk.so JkWorkersFile /usr/tomcat/conf/jk/workers.properties JkLogFile /usr/apache/log/mod_jk.log JkLogLevel Warn ServerAdmin [EMAIL PROTECTED] DocumentRoot /usr/tomcat/webapp

Re: access to apache httpd process from tomcat or jk

2004-03-04 Thread Charles N. Harvey III
No that won't work. How about JDBC instead? http://www.lotus.com/jdbc -Tim Charles N. Harvey III wrote: Hello. A website that we are converting from embedded perl to java writes specific data to the Apache::Notes table. I just found out what Notes is yesterday, so it is all pretty new for

access to apache httpd process from tomcat or jk

2004-03-04 Thread Charles N. Harvey III
Hello. A website that we are converting from embedded perl to java writes specific data to the Apache::Notes table. I just found out what Notes is yesterday, so it is all pretty new for me. Since embedded perl runs inside the httpd process it has access to this little bit of memory that gets read

Re: jar versions

2004-03-01 Thread Charles N. Harvey III
0243459103&r=1&w=2. Yoav Shapira Millennium ChemInformatics -Original Message- From: Charles N. Harvey III [mailto:[EMAIL PROTECTED] Sent: Monday, March 01, 2004 11:27 AM To: Tomcat Users List Subject: jar versions I have one little thing that sometimes drives me crazy about

jar versions

2004-03-01 Thread Charles N. Harvey III
I have one little thing that sometimes drives me crazy about most products that I download off of the internet - jar versions. There aren't any. Its not just Tomcat, its Sun. How come the j2ee.jar never has a version? Does that bother anyone else? This never really bothered me that much before,

Re: classloader order

2004-03-01 Thread Charles N. Harvey III
Yoav, Thank you so much for confirming what I had basically already figured out. I think, originally, we had other things running on our Tomcat machines (web-service processes) and it made it easier to develop apps with those jars included. I am currently asking them to move all of these jars to /

classloader order

2004-03-01 Thread Charles N. Harvey III
Hello. I have questions about the order in which jars are loaded into the classloader. I have read http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html many times over and I am still confused. The Overview relates parent and children classloaders to each other. It then says

common dbcp question

2003-12-05 Thread Michal N Lusztig
I inherited a very badly writen Tomcat4.1 application, where the developer is not closing connections, relying rather on configuration parameters for the dbcp pool to take care of removing abandoned connections. Is such a strategy supposed to work ? If yes, what are the configuration parameter

Re: ConnectException in Tomcat 4.1

2003-11-19 Thread Arun N
what is the file you are trying to read, ie what is the extension. did you check if the server allows you to access the file directly.. ie http://server:port/dir/yourfile.ext are you able to access the this way ? - Original Message - From: "Efrat Bar-Nahum" <[EMAIL PROTECTED]> To: <[EM

RE: Servlets -- help needed

2003-11-14 Thread Indrasish N Basuroychowdhury
Navanee, Take out /WEB-INF/classes from your url and it should work. So, you should type http://localhost:8080/examples/HelloWW And it should work. Indrasish. -Original Message- From: Edson Alves Pereira [mailto:[EMAIL PROTECTED] Sent: Friday, November 14, 2003 9:19 AM To: 'Tomcat Users

  1   2   3   >