Re: Increasing Tomcat JVM setting with Tomcat in service

2003-06-02 Thread shankar
oup\Tomcat 4.1\bin> My jdk version is 1.2.2 as you can see that. Can U let me know as what is missing in the setup. I have installed the tomcat-4.1.24.exe which is meant for windows NT. Thanks in advance. Regards, shankar --

Re: Increasing Tomcat JVM setting with Tomcat in service

2003-06-02 Thread shankar
I tried to install without spaces too. It is giving the same problem. Can anyone suggest what else to do to install this in windows NT having jdk 1.2.2 Warm reg, shankar - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 02, 2003 2:0

Problems in Starting Tomcat 4.1 in Windows NT using JDK 1.2.2

2003-06-02 Thread shankar
der.(StandardClassLoader.ja va, Compiled Code) at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoader Factory.java, Compiled Code) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java, Compiled Code) Thanks in advance, Shan

Re: JAVA_HOME trouble

2001-04-09 Thread Shankar Gowda
XPORT PATH JAVA_HOME 1.check this after sh .bash_profile execution 2.logout 3.login 4. type '$JAVA_HOME' or 'which java' u must see the path of java bye shankar --- Derek Mc Connon <[EMAIL PROTECTED]> wrote: > Hello > > I am running Tomcat 3.1 under Apache > and

Problem in reflecting changes made on a JSP File

2001-04-12 Thread SIVA SHANKAR
Hi, I installed Tomcat on a Windows NT Machine. Everything is working fine. All the samples are working great. I did create a JSP file which will connect to a SQL Server database and retrieve data from a table. Initially it works fine. After that When I did some modifications on the file, but

RE: Problem in reflecting changes made on a JSP File

2001-04-12 Thread SIVA SHANKAR
-- From: Patil, Anand [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 12, 2001 5:14 PM To: '[EMAIL PROTECTED]' Subject: RE: Problem in reflecting changes made on a JSP File Shiv, can you put out the code here. Anand > -Original Message- > From: SIVA SHANKAR [SMTP:[EMAIL

RE: Problem in reflecting changes made on a JSP File

2001-04-12 Thread SIVA SHANKAR
them (the servlet class) from the file-system each time. If you want to make Tomcat to check your JSP file for changes each request, edit your SERVER.XML file (which is in the conf directory) and set the attribute "reloadable" to true. Best regards, Arik Kfir Team Leader Israel. -

Re: PLeeeeeeeeeeeeeeeeaseeeeeeeeeeeeeeeeeee help

2001-04-28 Thread Shankar Gowda
i want to get to know , the error of it in tomcat please send it --- Shelly Dhiman <[EMAIL PROTECTED]> wrote: > Hi: > > I want to know in tomcat is it possible to treat any > other file > extension as jsp. > I saved a .jsp file as .phj and i hace done the > servlet mapping in > web.xml > like >

Re: mod_webapp + Tomcat 4 + Apache

2001-09-02 Thread ravi shankar
hi laurens, it depends on where u r going to deploy the appln.if it is for a client,u'll be better off using 3.0 because it's stabler and if any probs do come up,u can post it to the list.after all does not the old software mantra "older the better" hold good!!! ravi On Mon, 03 Sep 2001 Laur

Re: Logging the IP addresses of page requests

2001-09-03 Thread ravi shankar
hi nick, try request.getRemoteHost() request.getRemoteAddress() etc etc look up the servlet api for more info ravi On Mon, 03 Sep 2001 Nick Flowers wrote : >Hi, > >Anyone know how to do this for a standalone >Tomcat server? v3.2? > >Cheers, Nick. > >ps: If you know how to log just the use

Re: RE: Logging the IP addresses of page requests

2001-09-03 Thread ravi shankar
a >legacy program I'm trying to get up to security >spec. Cheers, Nick. > >-Original Message- >From: ravi shankar [mailto:[EMAIL PROTECTED]] >Sent: 03 September 2001 12:25 >To: [EMAIL PROTECTED] >Subject: Re: Logging the IP addresses of page re

Re: What is an Application Server

2001-09-03 Thread ravi shankar
hi pete, u see TC is a webserver that serves http requests .application servers are generally containers for EJB.application servers also serve http requests,but are mainly involved with managing the EJB lifecycle,resource mgmt etc ravi On Mon, 03 Sep 2001 Peter Shankey wrote : >would you cons

Re: newbie: problem with local and static variable

2001-09-03 Thread ravi shankar
hi henri, i maybe wrong ,but have u declared the counter as static it should not be declared as a class variable ravi On Mon, 03 Sep 2001 henri charme wrote : >hi everybody, >i am currently trying o'reilly example of a counter >with a >static variable and a local one to count access >unfortunat

How to run two versions of same project?

2002-01-07 Thread Ravi Shankar
hi All, Requirement: -- I am using apache1.3.20 and tomcat3.2.3 on win98/NT. I want to run two versions of my project at the same time in local machine. If i give URL of version1,the classes related to that version only should run and for second url ,the classes of version2 should b

HELP regarding the JSP configuration

2001-02-17 Thread Shankar Narayanan
Hello, My name is Shankar Narayanan and a a graduate assistant working as a DBA. I am having a few problems with the Apache/Tomcat configuration. The problem :- I have installed tomcat3.2.1 and Apache internet server on Windows 2000. I want to support JSP pages and servlets. I am as

small help needed.

2001-02-18 Thread Shankar Narayanan
ort number then gives me an error - permission denied. I need help. Thanks, Shankar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

RE: HELP! -- Apache/Tomcat starting error

2001-02-18 Thread Shankar Narayanan
If you are using a solaris then check for the mod_jserv.so module. The path of the files is mentioned in the tomcat.conf file. The reason for the error can be found out by going to the apache directory and typing "apache". Hope it helps. Shankar I am running Apache / JServ /

RE: HELP! -- Apache/Tomcat starting error

2001-02-19 Thread Shankar Narayanan
I am using Windows. So, in the apache directory I find apache.bat. Typing apache gives the reason for the error. For unix it should be a shell script. So try this command ./apache . shankar -Original Message- From: Xu, Lifeng [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 18

FW: Apache for JSP for Yogesh tripathi

2001-02-20 Thread Shankar Narayanan
-Original Message- From: Shankar Narayanan Sent: Tuesday, February 20, 2001 4:25 PM To: '[EMAIL PROTECTED]' Subject: RE: Apache for JSP for Yogesh tripathi I have attached the files . Did you configure apache first ? After you do that . Cut and paste the contents of my

what is the password of tomcat admin

2001-03-09 Thread Shankar Gowda
hello all, i have problem in tomcat admin password please help me out with default password, thanks shankar __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com

problem in admin and password

2001-03-22 Thread Shankar Gowda
i have problem in entering admin ,because of admin name and password ,that is what i must enter in server.xml to get inside please send me quickly. __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/

have a problem in mapping files in tomcat

2001-03-22 Thread Shankar Gowda
hi all, i have problem in mappling files in the tomcat say if i have /webapps/myproject/tempFiles then what should i give in my hyperlink is it ../tempFiles or ./tempFiles replyme soon __ Do You Yahoo!? Get email at your own domain with Yahoo! Mai

Tomcat 3.3.1 and jdk1.4

2002-12-26 Thread Shankar Chelakarai
ne suggestion was to replace tools.jar but I don't see that jar file being used by jdk1.4 at all. Any suggestions will be most welcome. Thanks Shankar -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

RE: Tomcat 3.3.1 and jdk1.4

2002-12-26 Thread Shankar Chelakarai
Ok I got it working.. my mistake .. for some reason never had a lib directory inside java1.4 directory . It had the tools.jar file in it. Now it works just fine. -Original Message- From: Shankar Chelakarai [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 12:05 PM To: Tomcat

JSP and windows batch file

2003-01-07 Thread Shankar Chelakarai
Hi, Has anyone ever successfully tried to run a windows batch file from a jsp. If yes .. please provide me with the code. I would really appreciate it. Thanks Shankar -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: Weird Red Hat Enterprise Startup

2004-10-11 Thread Shankar Unni
Shapira, Yoav wrote: Any JVM switch to make an internal JVM crash "disappear" is cruising for a bruising. Fully understood. Most likely, it's missing OS-level patches for your system. True, except that for the Linux case, we are running on one of the supported OSes (RH EL 3.0WS, stock), and ther

Re: Forum instead of mailist!!

2004-10-11 Thread Shankar Unni
Andoni wrote: That's excellent. If I unsubscribe can I still read these? Can I reply? Yes, you can reply. The first time you try to reply, gmane.org will send you an autoreply. You have to reply to the auto-reply to authenticate your mail address, and then you're up and running. That's how I'm p

Re: Running tomcat 5.0 as a service in Windows OS

2004-10-12 Thread Shankar Unni
Pramod Jain wrote: a) with tomcat5w.exe, I go to startup tab and enter: start -config "C:\abc\my_server.xml" b) In Windows Services editor I go to Apache-Tomcat -> Properties -> Start Parameters and enter: start -config "C:\abc\my_server.xml" Don't use double-quotes - those will be passed liter

Using XInclude in tomcat's config files

2004-09-28 Thread Shankar Unni
Is it possible to configure Tomcat to be able to use XInclude to include fragments of XML into Tomcat's own configuration files (server.xml, the various webapp web.xml's, etc.)? If so, can anyone point me at any HOWTOs or helpful messages? I've tried searching the archives, but everything I see

Re: Strings in VARCHAR or BLOB

2004-09-29 Thread Shankar Unni
[EMAIL PROTECTED] wrote: The maximum string size for varchar2 is 8000K. I suggest you use LOB (CLOB or NCLOB) datatypes. This is all oracle-specific. Other DBs have different limits. MySQL has a 255-char limit for Varchar (not varchar"2", which is also Oracle-specific, as is "NCLOB"). Bottom lin

Re: Using XInclude in tomcat's config files

2004-09-30 Thread Shankar Unni
Shankar Unni wrote: Is it possible to configure Tomcat to be able to use XInclude to include fragments of XML into Tomcat's own configuration files (server.xml, the various webapp web.xml's, etc.)? Bump? No one's

Re: Using XInclude in tomcat's config files

2004-10-01 Thread Shankar Unni
Robert Koberg wrote: Haven't tried it, but have you set the: org.xml.sax.parser=org.apache.xerces.parsers.XIncludeParserConfiguration Ah. No. Thanks for that clue. Let me go back at it.. - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: Using XInclude in tomcat's config files

2004-10-01 Thread Shankar Unni
Shankar Unni wrote: Haven't tried it, but have you set the: org.xml.sax.parser=org.apache.xerces.parsers.XIncludeParserConfiguration Ah. No. Thanks for that clue. Let me go back at it.. Alas, that didn't help. I tried setting both org.xml.sax.

Re: Using XInclude in tomcat's config files

2004-10-04 Thread Shankar Unni
Pawson, David wrote: Try an entity instead of xinclude? Not many parsers are good for xinclude as yet (a mainly uninformed statement). Entity resolution is easier if the parser is setup correctly. Oh, that's what we are doing now, but entity resolution doesn't have a concept of relative paths. I.e

Re: Using XInclude in tomcat's config files

2004-10-05 Thread Shankar Unni
Pawson, David wrote: Does your parser support xml:base? "My parser"? We're talking about the xerces parser embedded in Tomcat, reading the configuration files for Tomcat and its webapps (not a parser used by an application hosted by Tomcat). If there's any way to control the instantiation or beh

Re: Weird Red Hat Enterprise Startup

2004-10-07 Thread Shankar Unni
Mike Cherichetti (Renegade Internet) wrote: Another exception has been detected while we were handling last error. Dumping information about last error: ERROR REPORT FILE = (N/A) PC= 0x This is the Java VM aborting. You'll probably find core.* files littered in the Tomc

Re: Anyone knows how to deal with mail session -security error for TC5.5.4

2004-11-09 Thread Shankar Unni
David Lee wrote: 2. catalina.policy: grant codeBase "file:${catalina.home}/webapps/javaxml2/WEB-INF/classes/UpdateItemServle t.class" { Shouldn't you be giving those permissions (except the Oracle one :-) to mail.jar, rather than your servlet class? That's what is actually making the reference,

Re: JAVA_OPTS

2004-11-15 Thread Shankar Unni
Mufaddal Khumri wrote: As far as what the -server option will do for you , that depends on your VM vendor. The Sun JRE distributions typically don't include a server VM, so "-server" will give an error. You'll have to download the JDK, and run the JRE that is embedded within it (.../j2sdk1.4/jre

Re: Content-disposition for file downlaod with Mozilla/Firefox

2004-11-16 Thread Shankar Unni
David Wall wrote: Content-Disposition: attachment;filename="Some Agreement 2004-11-15.doc" This is the correct fix: format the header as per RFC 2231. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EM

Re: redirect catalina.out

2004-11-18 Thread Shankar Unni
Shapira, Yoav wrote: swallowOutput is not a Context attribute, it's a Logger attribute: change your context.xml to fix that. Really? That's not what the doc says (or the source either). Just tested on 5.0.2x. (At least, I defined a in my , and standard output went to the log file configured fo

Re: [dbcp] Call Oracle stored procedure via DBCP?

2004-12-01 Thread Shankar Unni
Sergey Karpov wrote: During a call of stored procedure through DBCP there is a mistake of reduction of type: java.lang.ClassCastException That's because you're assuming that dbcp returns you a naked vendor JDBC Connection object. It doesn't - it returns you a pooled connection wrapper with forwar

Re: deleteOnExit() doesn't work in Tomcat on temp files

2004-12-08 Thread Shankar Unni
[EMAIL PROTECTED] wrote: I am using Tomcat 5.5 on WindowsXP. Tomcat is installed as a "service", Somehow when Tomcat is installed as a Windows service, the shutdown doesn't go through the orderly steps (i.e. servlet destroy()s aren't called, and I suspect the process is just *killed* instead of

Re: deleteOnExit() doesn't work in Tomcat on temp files

2004-12-09 Thread Shankar Unni
Noel J. Bergman wrote: Instead, use the PhantomReference-based code that I contributed to Jakarta Commons. The main reason why people (misguidedly) use deleteOnExit() is to be able to generate temporary files that you can return URLs for (e.g. you generate a .PDF report, and generate an HTTP red

Re: Tomcat con pooling to Oracle RAC

2005-06-21 Thread Shankar Unni
Frank W. Zammetti wrote: Yep, I had a coworker suggest using the OCI driver as well... And you have to use the right JDBC driver as well. At least up to the 9.* timeframe, Oracle used to release two JDBC drivers: one was a thin-only driver with its "JDBC" distribution, and one was the full "

Definitive os.name list (was Re: [OT] Request an app test (free beer!))

2004-12-21 Thread Shankar Unni
Frank W. Zammetti wrote: I'm working on something for which I need to know what the os.name property on various OS's is. FAQ. See http://www.tolstoy.com/samizdat/sysprops.html. - To unsubscribe, e-mail: [EMAIL PROTECTED] For add

How to access s from Servlet.init()?

2004-12-27 Thread Shankar Unni
I'd like to configure a set of web-app-level parameters for use by both Java-based Servlets, and JSP pages. I thought of setting these up as s at the level in web.xml. For JSPs, all is cool: <%= application.getInitParameter("foo") %> returns these parameters. For Servlets, how do I get at th

Re: How to access s from Servlet.init()?

2004-12-28 Thread Shankar Unni
QM wrote: Which init() overload do you use? init() init( ServletConfig ) Using the latter, you should be able to call: ServletConfig#getServletContext() --> getInitParameter() Hah. Thank you! Yes, I mean the latter version. --

Re: [OT]File size with DOS batch commands

2005-01-28 Thread Shankar Unni
Srinivas Rao Ch wrote: Can somebody help me in finding the size of a file (and last modified date also)with DOS batch commands only? Try the site http://www.jsiinc.com/reghack.htm. Among the thousands of FAQs there are common script requests like this, with canned scripts to do the work which you

Re: Capitalizing names OT

2005-02-18 Thread Shankar Unni
David Short wrote: Does anyone know if there is an equivalent to the Oracle Initcap() function? I am trying to write a database independent name capitalization routine. In what language? Java? public static String initCap(String s) { return (s == null || s.length() == 0) ? s : s.

Re: Hyperthreading and Java (was RE: Tale of two servers)

2005-02-25 Thread Shankar Unni
Peter Crowther wrote: >>From: Graham Reeds [mailto:[EMAIL PROTECTED] >>Also disable HyperThreading in the BIOS on the new Dell. HT >>and Java is not a happy combination. Interesting... do you have any recommended reading on that, Graham? Love these urban-legend types of warnings ("don't flash your

Re: Someone is using Tomcat for spreading spam?

2005-02-26 Thread Shankar Unni
Susan Hoddinott wrote: Everytime I resubscribe to the user list I am bombarded with Spam. So use an NNTP interface to the list, like I'm doing (on news.gmane.org). It's sometimes a little less convenient to use, but the benefits are that I don't have to flood my mailbox with the messages, and I

Re: Benefits of running Tomcat as a daemon with JSVC

2005-02-26 Thread Shankar Unni
Mladen Turk wrote: Behrang Saeedzadeh wrote: What are the benefits of running an application like Tomcat with as a daemon (with JSVC) vs. running it like a normal application? In one sentence: Running as non-root on port < 1024 In another sentence, starting up the service automatically on system s

Re: Question for Tomcat Developers - How to Plug In Encryption for JDBC passwords

2005-02-28 Thread Shankar Unni
George Sexton wrote: If you really want to do this, then you will need to have your application startup have a method that permits an operator to enter in the password for the JDBC information at startup. Whatever - the key is to be able to insert an application-defined processing step between the

Re: load-on-startup servlet needs access

2005-03-06 Thread Shankar Unni
Darren Govoni wrote: How can I have my servlet loaded on startup, but after the web server is up and running? Not possible? Well, you can always start a thread that does this initialization, and return. Then, when the full Tomcat initialization is complete, your thread will run to completion (ass

Re: Running Tomcat as Non-Root under Linux listen for port 80

2005-09-28 Thread Shankar Unni
NoKideen wrote: is there anybody know how to do this ? Running Tomcat as Non-Root under Linux listen for port 80 Google is your friend: http://www.google.com/search?q=linux+port+80+non-root - To unsubscribe, e-mail: [EMAI

Re: java.lang.ClassCircularityError

2005-10-05 Thread Shankar Unni
Jagadeesha T wrote: I am using Tomcat 5.0 with JBoss 3.2.6. In a very rare cases I got the error as java.lang.ClassCircularityError(myclass). Does anybody know wahy this error is coming. There seems to be a well-known Java bug (1.3.x and 1.4.x, fixed in 1.5) that affects JBoss 3.x:

Re: java.lang.ClassCircularityError

2005-10-10 Thread Shankar Unni
Caldarale, Charles R wrote: According to the bug report, this is only fixed in Mustang (6.0), not 5.0 (aka 1.5). Ooh, my bad (misread of the fixed release..). Thanks.. - To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

tmocat + cgi

2002-01-25 Thread Shankar Ram Thyagarajan
onthe web. ofcourse, i have the oracle forms server running. Thyagarajan Shankar Ram 61 Englewood Avenue buffalo, NY 14214 ph : 716-837-0715 [EMAIL PROTECTED] -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional co

Re: Starting/stopping tomcat 4.0

2002-01-25 Thread Shankar Ram Thyagarajan
> %catalina_home%\bin\startup or go to home and then just bin\startup Thyagarajan Shankar Ram 61 Englewood Avenue buffalo, NY 14214 ph : 716-837-0715 [EMAIL PROTECTED] -- To unsubscribe: <mailto:[EMAIL PROTECTED

Pbms with ApacheModuleJServ.dll

2001-01-26 Thread Jai Shankar Prasad Pankaj
Hi All   I am trying to use Apache/tomcat3.1 combination.   My tomcat is running ok. But when I try to start my apache:   It says cannot load ApacheModuleJServ.dll. I am working on Win95. Does this dll work on 95. What could the problem be?      

Re: jsp:include & jsp:forward

2001-01-31 Thread Jai Shankar Prasad Pankaj
I think u cannot do that. u start by asking the jsp engine to write something into the buffer and then u are changing ur mind by asking it to go to some other jsp page. This is not allowed. May be u can try using flush=false. But i am bit skeptical about this. Let me know if it works. Jai.