RE: Facing problems in tomcat configuration - on XP Professional

2005-02-22 Thread Tony
The virus known as Norton Anti. (Sorry, couldn't resit;) -Original Message- From: raghavendra datt [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 12:04 AM To: Tomcat Users List Subject: RE: Facing problems in tomcat configuration - on XP Professional Sorry guys.. I got the

Yahoo! Auto Response

2005-02-22 Thread gaoshou
[EMAIL PROTECTED] Original Message: X-YahooFilteredBulk: 218.98.157.200 Authentication-Results: mta111.mail.cnb.yahoo.com from=jakarta.apache.org; domainkeys=neutral (no sig) X-Originating-IP: [218.98.157.200] Return-Path: tomcat-user@jakarta.apache.org Received: from

ANN: scalable clustered session manager

2005-02-22 Thread Rob Block
Tomcat users, I have created a plugin for Tomcat 5 that provides scalable session clustering by replicating each session to a single node rather than the whole cluster. For large-cluster deployments (the primary target audience of this work), the resource savings for both bandwidth and per-node

OT: JGroups problem

2005-02-22 Thread Igor
Hello! I am trying to integrate JGroups into web aplication. Does somebody know solution to JGroups problem described in http://jira.jboss.com/jira/browse/JGRP-31 Thank you, Igor

Re: Pagecache framework?

2005-02-22 Thread Mieke Banderas
Mike Fuellbrandt said: How about this? http://www.servlets.com/cos/javadoc/com/oreilly/servlet/CacheHttpServlet.html Thanks Mike, I'll check it out. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Name jdbc is not bound in this Context error

2005-02-22 Thread U K Laxmi
Hi Antony, I downloaded postgres and installed on my m/c. I installed it as a service. Can you pls give step by step instruction as how to connect to postgresql database. Thank you so much. --- Antony Paul [EMAIL PROTECTED] wrote: You can name it the name of the context(web). The content

Re: Name jdbc is not bound in this Context error

2005-02-22 Thread Antony Paul
In fact I hadnt installed it in windlws. You can connect to server suing psql. it will be in the bin directory. There is one GUI front end available PgAdmin. The documentation will be in doc directory. This contains installation, administration and tutorials on SQL. For further you can ask

Free online presentation on native webserver integration and Tomcat

2005-02-22 Thread Remy Maucherat
Hi, Mladen Turk and myself will do a free (registration required) presentation tomorrow (Wednesday, February 23, 2005 at 1pm Eastern Daylight Time (GMT -04:00, New York)), mostly on native web server integration with Tomcat. http://www.jboss.org/services/online_education Topics which will be

isapi_redirect and HTTP PUT doesn't work

2005-02-22 Thread Stefan Person
Hi @ll, my first post in this list ;) Well, I've a problem with the isapi_redirect.dll (versions 1.2.6 and 1.2.8) in combination with a http PUT request. With a old version, don't know which exact, it's from 2001, the request works without any problems. I'm using tomcat 5.5 and IIS5 on Windows

Re: Free online presentation on native webserver integration and Tomcat

2005-02-22 Thread Nikola Milutinovic
Remy Maucherat wrote: Hi, Mladen Turk and myself will do a free (registration required) presentation tomorrow (Wednesday, February 23, 2005 at 1pm Eastern Daylight Time (GMT -04:00, New York)), mostly on native web server integration with Tomcat. http://www.jboss.org/services/online_education

RE: Free online presentation on native webserver integration and Tomcat

2005-02-22 Thread Allistair Crossley
Hi, The JBoss site lists replays of past webinars, so I suppose this won't be any different? Allistair. -Original Message- From: Nikola Milutinovic [mailto:[EMAIL PROTECTED] Sent: 22 February 2005 11:14 To: Tomcat Users List Subject: Re: Free online presentation on native

RE: Free online presentation on native webserver integration and Tomcat

2005-02-22 Thread Allistair Crossley
February 23, 2005 at 1pm Eastern Daylight Time (GMT -04:00, New York). I believe this should be GMT -5 however? No? Cheers, Allistair -Original Message- From: Allistair Crossley Sent: 22 February 2005 11:34 To: Tomcat Users List Subject: RE: Free online presentation on native

Re: Free online presentation on native webserver integration and Tomcat

2005-02-22 Thread Mladen Turk
Allistair Crossley wrote: February 23, 2005 at 1pm Eastern Daylight Time (GMT -04:00, New York). I believe this should be GMT -5 however? No? February 23, 2005 at 18:00 GMT. So calculate to your own timezone :). regards, Mladen -

Re: Tomcat 5.5.7 cannot connect to mysql datasource - what changed?

2005-02-22 Thread Tom A
Richard, In your context file change userName=ltojsw to username=ltojsw (and of course change your passwd now that it's on the 'net ;-) This is why you see the error: Access denied for user ''@'kingfishS11' I just tried to find some docs to make sure I'm right but I can't see anything under

Re: Free online presentation on native webserver integration and Tomcat

2005-02-22 Thread Remy Maucherat
On Tue, 22 Feb 2005 12:50:59 +0100, Mladen Turk [EMAIL PROTECTED] wrote: Allistair Crossley wrote: February 23, 2005 at 1pm Eastern Daylight Time (GMT -04:00, New York). I believe this should be GMT -5 however? No? February 23, 2005 at 18:00 GMT. So calculate to your own timezone :).

Re: JDBC connection - Please help

2005-02-22 Thread Reshma Bhatia
Hi, Looks like you are using the Tomcat Connection pool. Refer to the attached Readme.txt file and verify that you have done these steps. I think it should solve your problem. Have also attached the server.xml web.xml files which worked fine for us. let me know whether ur problem gets solved by

RE: Free online presentation on native webserver integration and Tomcat

2005-02-22 Thread Allistair Crossley
Yep, I was just pointing out the the Jboss site is inaccurate and may cause confusion. 1300 EDT is 1300-5 = 0800 not 1800, so us Europeans will all have to get up rel early in the morning ;) Cheers, Allistair. -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED]

Re: Free online presentation on native webserver integration and Tomcat

2005-02-22 Thread Remy Maucherat
On Tue, 22 Feb 2005 12:24:28 -, Allistair Crossley [EMAIL PROTECTED] wrote: Yep, I was just pointing out the the Jboss site is inaccurate and may cause confusion. 1300 EDT is 1300-5 = 0800 not 1800, so us Europeans will all have to get up rel early in the morning ;) No, it's

RE: Tomcat 5.5.7 cannot connect to mysql datasource - what changed?

2005-02-22 Thread Richard Mixon (qwest)
Tom, thanks - finally figured out the username error. And thanks on the password. - Richard Tom A wrote: Richard, In your context file change userName=ltojsw to username=ltojsw (and of course change your passwd now that it's on the 'net ;-) This is why you see the error: Access

My jsp file interrupt when it met the exception

2005-02-22 Thread Nap
When my jsp file met the exception,sometimes it stopped outputed the exception message,but the other time it only stopped.Only when I write [EMAIL PROTECTED] buffer=1024kb autoFlush=false% it output the message.How can I avoid the enlarge the buffer and can let the exception message appear?

RE: Free online presentation on native webserver integration and Tomcat

2005-02-22 Thread Allistair Crossley
Ah ok $) Oops. -Original Message- From: Remy Maucherat [mailto:[EMAIL PROTECTED] Sent: 22 February 2005 13:00 To: Tomcat Users List Subject: Re: Free online presentation on native webserver integration and Tomcat On Tue, 22 Feb 2005 12:24:28 -, Allistair Crossley [EMAIL

RE:[RESOLVED] log4j.properties not found in tomcat

2005-02-22 Thread Brian McGovern
Thanks for the repliess. My issue was that I needed to set a system wide environment variable called log4j.configuration and set its value to log4j.properties, the name of my config file for log4j. This was in the log4j documentation but I guess i skimmed over that part. Log4j is a

Re: My jsp file interrupt when it met the exception

2005-02-22 Thread Gaurav Vaish
When my jsp file met the exception,sometimes it stopped outputed the exception Hi Nap, Why do you want to output the full exception on the browser? Why not just log it at the server-side and present the user (read: browser) with a simple error information. btw, what's the size of

can I develop dan deploy myapps as regular user at linux?

2005-02-22 Thread Mohd. Jeffry
Hi, I'm pretty new with tomcat, 1 month to be exect. So what are the standart operating procedure to develop and deploy at linux environtment? For the time being this is what I do and it's kinda troublesome. 1. compile my app at /home/devel/myapps 2. su as root and move it to

Re: can I develop dan deploy myapps as regular user at linux?

2005-02-22 Thread Michael Greer
Why not chown the whole tomcat directory to yourself (or your group)? Then you can just pop in your apps. Tomcat doesn't need to (and should not) run as root. No need to restart either. -Michael Greer On Feb 22, 2005, at 8:47 AM, Mohd. Jeffry wrote: Hi, I'm pretty new with tomcat, 1 month to be

Re: can I develop dan deploy myapps as regular user at linux?

2005-02-22 Thread Pete Stevens
On Tue, 22 Feb 2005, Mohd. Jeffry wrote: Hi, I'm pretty new with tomcat, 1 month to be exect. So what are the standart operating procedure to develop and deploy at linux environtment? For the time being this is what I do and it's kinda troublesome. 1. compile my app at /home/devel/myapps

RE: [RESOLVED] log4j.properties not found in tomcat

2005-02-22 Thread Brian McGovern
Unbelievable. I'm still getting the error. I have no idea how or why this went away temporarily but heres whats up. Anyone who can help, its appreciated. Some googling shows that others are having same error. Again, system variable log4j.configuration is set to log4j.properties which

Where can I find Tomcat statistics?

2005-02-22 Thread Carlos Ruiz
Hi all, I'm looking for some tomcat/jakarta statistics. The kind of information I'm looking is: * Number of systems running jakarta. * Comparative between jakarta/iAS,. I mean something like the information for apache available in: http://news.netcraft.com/archives/web_server_survey.html

Configuration for best performance in a high latency environment

2005-02-22 Thread Jason Bainbridge
All, I am wondering if anyone out there has any experience with tuning Tomcat to improve performance in high latency (~700ms) environments? I've basically just been experimenting and learning what I can from the available resources on the web but there doesn't seem to be much out there that

Re: Cluster: how to set mcast interface for dual LAN card?

2005-02-22 Thread Filip Hanik - Dev Lists
there is an attribute mcastBindAddr that allows you to bind to the interface. Joseph Lam wrote: Hi, If I have two LAN cards and I want my Tomcat to mcast through one of them, what parameter should I set? Regards, Joseph - To

Re: Charset in Content Type: Tomcat 4 versus Tomcat 5

2005-02-22 Thread Michiel Meeuwissen
Neeraj Vora wrote: Content Type: application/x-java-jnlp-file;charset=iso-8859-1 MS IE has an unfortunate bug whereby it cannot associate this with Java Web Start. This has been documented as KB 871248. I tried AFAIK, real player has (or had) a similar problem, and can also not be served

Re: Tomcat 5.5 working, BUT not outside of webapps/

2005-02-22 Thread Matt
Well, I've tried all sorts of configurations, so I was hoping to get a clean example from someone who had it working. I changed the stock Tomcat 5.5 server.xml file to add the following (within the pre-existing, as well as the only, HOST tag for localhost, and I have tried with/without a slash

Re: Tomcat 5.5 working, BUT not outside of webapps/

2005-02-22 Thread Michael Greer
Maybe take a look at the current $CATALINA_HOME/Catalina/localhost/ context files. Delete the old ones for your webapp and examples, so it will reload from server.xml On Feb 22, 2005, at 11:39 AM, Matt wrote: Well, I've tried all sorts of configurations, so I was hoping to get a clean example

Tomcat memory allocation as a Windows service

2005-02-22 Thread Woodchuck
hihi all, when Tomcat is installed as a service how do we control how much system memory we allocate to it? i have heard it reads the memory parameters and others from the registry but can anyone tell me exactly how/where to do this? i can't seem to find this information.. also, is there a way

RE: Tomcat memory allocation as a Windows service

2005-02-22 Thread Allistair Crossley
Hi The way we do it is using the service.bat file to install the service manually. You can tweak the values in that file. If all your apps are in 1 tomcat, then that uses 1 JVM and I think you can only declare these parameters once. Cheers, Allistair. -Original Message- From:

RE: [SOLVED] Tomcat memory allocation as a Windows service

2005-02-22 Thread Woodchuck
thanks for your help! i tried looking for the service.bat in the tomcat/bin folder but it is not there. it is an older version 4.1.24 and it was already installed as a service, i don't know how it was done (without the service.bat file) but it's there. i scanned the registry and found the

RE: Tomcat 5.5.7 - error trying to replicate session on Linux

2005-02-22 Thread Richard Mixon (qwest)
BTW, Each of my two servers has two network cards: a) One facing the internet; b) the second is a private connection between the two servers. The second connection is intended for session replication. Also, I did not specify an mcastBindAddr - though it probably should be specified as the

Can servlet mappings be done somewhere other than web.xml?

2005-02-22 Thread Beckle, Steven R
I'm currently working on a legacy Tomcat 3.3 project that was developed (not by me) a couple of years ago, and I am having a heck of a time understanding how servlets are getting mapped properly. A typical URL in the application is of the form CONTEXT/servlet/servletName - nothing fancy there.

Re: Can servlet mappings be done somewhere other than web.xml?

2005-02-22 Thread karjera
Laba diena. Dkojame, kad mums parate. Js atsista inut isaugota ms duomen bazje. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Help on config JNDI datasource for DB2

2005-02-22 Thread tom chen
Hello All, Can some show how to set db2 jndi datasource in tomcat 5.5.7. DB2 and tomcat all in windows XP. tomcat can talk to db2 with direct jdbc connection. Why it is so hard for db2? Thank you very much! --tom - Do you Yahoo!? Yahoo!

Re: Can servlet mappings be done somewhere other than web.xml?

2005-02-22 Thread Drew Jorgenson
Looks like the invoker servlet is being used, which is declared in the global web.xml file. The servlet-name and servlet-class that you see are used to map a name to a servlet, which are all accessed through /servlet/* Drew. On Tue, 2005-02-22 at 10:43, Beckle, Steven R wrote: I'm currently

challenging JK connector problem: java.net.SocketException

2005-02-22 Thread Woodchuck
hihi all, i have installed the JK connector (setupJK204.exe) with my IIS 5.1 and Tomcat 4.1.24. everything is working fine, except that i'm noticing in the Tomcat console display i see the following exceptions at run-time: java.net.SocketException: Software caused connection abort: recv failed

RE:[RESOLVED] log4j.properties not found in tomcat

2005-02-22 Thread Jacob Kjome
Quoting Brian McGovern [EMAIL PROTECTED]: Thanks for the repliess. My issue was that I needed to set a system wide environment variable called log4j.configuration and set its value to log4j.properties, the name of my config file for log4j. This was in the log4j documentation but I guess i

RE: challenging JK connector problem: java.net.SocketException

2005-02-22 Thread Patrick . King
Hi : This is most likely an issue with the version of JDK that is deployed on your machine. Try using a newer version of the JDK which is comaptible with the version of tomcat that is deployed on your machine. Patrick King Patrick King BSc.(Hon.) Geophysics Senior Systems

RE: [RESOLVED] log4j.properties not found in tomcat

2005-02-22 Thread Brian McGovern
Then theres something else going on. I didnt set log4j.configuration when i started, i just had my log4j.jar in my WEB-INF/lib/ and my log4j.properties in my /WEB-INF/classes/ However i still got that file not found exception. I think its gotta either the way im calling it or the

Tomcat 5.0.28 and ssl

2005-02-22 Thread Reis, Tom
I have set a Tomcat 5.0.28 server with jsdk 1.4.2_04. I had setup the keystore and imported the received certificate from verisign. I have configured the Tomcat server to use SSL and it shows the certificate is valid but it says the name on certificate does not match the site. I look at

RE: [RESOLVED] log4j.properties not found in tomcat

2005-02-22 Thread Jacob Kjome
You've got to have something wacky set up on your systems. File IO is not used when Log4j picks the config file up from the classpath. This leads me to believe that log4j.configuration is set somewhere else upon each invocation of Tomcat. You probably just set it earlier in the launching of

Load balancing SSL sessions

2005-02-22 Thread Kelly Vista
Hi - We are looking to deploy our app, running on Tomcat 5, soon and are exploring load balancing options. We are looking at H/W and S/W solutions, and I was wondering if anyone had any past experience/advice they would like to share. Our deployment is as pretty run-of-the-mill as it gets: 2

Re: Load balancing SSL sessions

2005-02-22 Thread Andrew Miehs
We use F5 BigIPs, but they are probably overkill for your application - The cisco probably will be as well. A 'Cheap' software solution might be to work with redirects, and 2 separate IP addresses. ie: ssl1.mysite.com and ssl2.mysite.com - You will need 2 ssl keys though for this to work.

Re: Tomcat 5.0.28 and ssl

2005-02-22 Thread Chris Hosler
I am not sure, this may have nothing to do with it but On the documentation I read it said you should use your domain name for the first and last name of the process when you created the csr to send to verisign. What name did you use when you ran the keytool to create the csr to send to verisign

RE: Tomcat 5.5 working, BUT not outside of webapps/

2005-02-22 Thread Wendy . Olson
Hi Matt, I'm not sure if this would solve your problem, but I have my server.xml set up with the following configuration: Host name=localhost debug=0 appBase=webapps/myApp unpackWARs=false autoDeploy=true

Re: Load balancing SSL sessions

2005-02-22 Thread Filip Hanik - Dev Lists
you can also use DNS round robin, www.mysite.com resolves to two or more IP addresses. Filip Andrew Miehs wrote: We use F5 BigIPs, but they are probably overkill for your application - The cisco probably will be as well. A 'Cheap' software solution might be to work with redirects, and 2

Re: Tomcat 5.5 working, BUT not outside of webapps/

2005-02-22 Thread Matt
The original $CATALINA_HOME/webapps works fine, yes, but nothing will work outside of that, so I'm just looking for the steps (and files I need to edit) to have my own webapps work outside of $CATALINA_HOME/webapps. That's all - it's quite simple, really. C:\Inetpub\wwwroot is just a sample path

Merge webapp doc roots

2005-02-22 Thread Bill Lynch
All, I'm developing a webapp and for various reasons it has multiple document roots which can override each other. For example, c:\webapp is one directory, but c:\webapp-editionA and c:\webapp-editionB are other editions of the same application. There are a base set of JSPs in the 'webapp'

help installing

2005-02-22 Thread Jeanne Case
I am new to the list and Tomcat. I know this has probably been answered, but I am having trouble finding it in the archives. Is there an installation guide that makes sense some where? I would like some thing with a definition of files, what to edit, what works, how to install from source. I

Re: help installing

2005-02-22 Thread Jason Bainbridge
On Tue, 22 Feb 2005 14:00:14 -0800, Jeanne Case [EMAIL PROTECTED] wrote: I am new to the list and Tomcat. I know this has probably been answered, but I am having trouble finding it in the archives. Is there an installation guide that makes sense some where? Welcome. :) I actually had to

Re: Re: out of memory when there is plenty

2005-02-22 Thread Oleg
Any tips on optimizing usage of Virtual Hosts, I narrowed down the problem a bit. I can have 500 users running without any memory problems on the server if I set them all up under localhost/userXXX but as soon as I start assigning virtual hosts to each user, I crash at about a 100. Same problem

How to prevent Context Reload upon changing web.xml

2005-02-22 Thread Neeraj Vora
I migrated from Tomcat 4.0.2 to Tomcat 5.5.7. The former was not reloading the context if I changed application’s web.xml file after deployment. The latter does that. Is there a way to prevent it? During the searching for this I read a post that having a context entry with reloadable attribute

Re: help installing

2005-02-22 Thread Pete Stevens
On Tue, 22 Feb 2005, Jeanne Case wrote: I am new to the list and Tomcat. I know this has probably been answered, but I am having trouble finding it in the archives. Is there an installation guide that makes sense some where? I would like some thing with a definition of files, what to edit,

Re: Load balancing SSL sessions

2005-02-22 Thread Andrew Miehs
Problem with round robin dns is that you can not guarantee that the web browser/ client will not make a second request to the dns server during the session - although very very unlikely. Andrew On Feb 22, 2005, at 11:01 PM, Filip Hanik - Dev Lists wrote: you can also use DNS round robin,

Re: How to prevent Context Reload upon changing web.xml

2005-02-22 Thread Remy Maucherat
On Tue, 22 Feb 2005 14:21:24 -0800, Neeraj Vora [EMAIL PROTECTED] wrote: I migrated from Tomcat 4.0.2 to Tomcat 5.5.7. The former was not reloading the context if I changed application's web.xml file after deployment. The latter does that. Is there a way to prevent it? During the searching for

Re: Load balancing SSL sessions

2005-02-22 Thread Kelly Vista
Thanks Andrew. In answer to your question, some of our app requires SSL -- exactly like an order-style app (but it's not a product ordering app). So, a person's session might involve the following path: 1. non SSL req 2. non SSL req 3. SSL req 4. non SSL req and we'd like that entire session to

Re: help installing

2005-02-22 Thread Jeanne Case
Thanks to all for responding. The information I received was much clearer and easier to understand then the apache site! -J.Case Jason Bainbridge wrote: On Tue, 22 Feb 2005 14:00:14 -0800, Jeanne Case [EMAIL PROTECTED] wrote: I am new to the list and Tomcat. I know this has probably been

Re: help installing

2005-02-22 Thread Jeanne Case
Thank you, thank you, thank you! This is exactly what I was hoping for. Something simple and straight forward! -J. Case Pete Stevens wrote: On Tue, 22 Feb 2005, Jeanne Case wrote: I am new to the list and Tomcat. I know this has probably been answered, but I am having trouble finding it in the

Native session replication/failover in tomcat 5.0.30

2005-02-22 Thread Dan Carwin
I have the tomcat 5.0.30 replication partially working on redhat as3. Here's what I see: 1. both tomcats up 2. use tcrepl (provided by Richard Mixon) app to etablish session on one tomcat (verify by tailing log file) 3. kill that tomcat 4. session fails over to other tomcat successfully 5.

Re: My jsp file interrupt when it met the exception

2005-02-22 Thread Nap
Sorry for my description's not clear.I want to output the simple exception information to the user and the detail to my log.But sometimes when I do not enlarge the buffer(1024kb is too large but it ensure the buffer is sufficient),my jsp program show the exception while the other time it do

Re: can I develop dan deploy myapps as regular user at linux?

2005-02-22 Thread QM
On Tue, Feb 22, 2005 at 09:47:51PM +0800, Mohd. Jeffry wrote: : Hi, I'm pretty new with tomcat, 1 month to be exect. So what are the : standart operating procedure to develop and deploy at linux : environtment? For the time being this is what I do and it's kinda : troublesome. : : 1. compile my

Re: Merge webapp doc roots

2005-02-22 Thread QM
On Tue, Feb 22, 2005 at 02:08:50PM -0800, Bill Lynch wrote: : Resin has a new merge() function which will merge together different : doc roots for a webapp: : [snip] : web-app id=/foo : document-directory=merge:(c:\webapp;c:\webapp-editionA); .. / : : This means everything in webapp-editionA

Re: Merge webapp doc roots

2005-02-22 Thread Bill Lynch
QM, Yes, I could definitely do that but the nice thing now is that I don't need to use a build process to copy merge so it's nice and fast. Thanks anyway, --Bill On Tue, 22 Feb 2005 19:12:23 -0600, QM [EMAIL PROTECTED] wrote: On Tue, Feb 22, 2005 at 02:08:50PM -0800, Bill Lynch wrote: :

loading JNI .so file with tomcat 5.5.4

2005-02-22 Thread vaheesan selvarajah
Hi folks, Correct me if I sound stupid here :) I am trying to load a simple JNI based .so lib file with Tomcat 5.5.4.(on linux) I am trying to load the .so file within the JSP page. I am not sure if this is allowed. I have tried all the following methods.. 1. putting the .so file in

Re: Can servlet mappings be done somewhere other than web.xml?

2005-02-22 Thread Bill Barker
Yup. Tomcat 3.3 has the Invoker enabled by default (although 3.3 doesn't have a global web.xml file, so it's declared in server.xml :). Drew Jorgenson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Looks like the invoker servlet is being used, which is declared in the global

[OT] Duration between two timestamps

2005-02-22 Thread phil campaigne
Hi All, In my java application I need to subtract two java.sql.timestamps. and I want to store the result as sql type interval. But my insert statement is failing. Does anyone know what java type I need to use in the insert statement? (it must accept null values) thanks in advance, Phil

RE: Tomcat 5.5 working, BUT not outside of webapps/

2005-02-22 Thread Matt
OK, we've at least gotten to the point where I can now run the examples from my own directory outside of $CATALINA_HOME/webapps, and by ONLY editing server.xml and uriworkermap.properties slightly, and NOTHING ELSE, which is not only nice, but also what I expected all along! (THANK YOU!THANK

Getting other Sessions

2005-02-22 Thread Joseph Shraibman
I want to make an admin page in my application. I needs to be able to get access to all the current Session objects to access their attributes. Is this possible? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: Tomcat 5.5.7 - error trying to replicate session on Linux [SOLVED]

2005-02-22 Thread Richard Mixon (qwest)
OK, I just had to re-read the comments in server.xml and think about my setup a bit more. It still seems like it should have worked the other way [shrug]. Basically I had to tell the cluster setup to use only the network adapters that represent the private link between the two servers (ignoring

Re: Getting other Sessions

2005-02-22 Thread Antony Paul
You can put all the sessions in List or Map when they login or use HttpSessionListener to listen to session events. rgds Antony Paul On Tue, 22 Feb 2005 23:17:56 -0500, Joseph Shraibman jks@selectacast.net wrote: I want to make an admin page in my application. I needs to be able to get

how to print to web page instead of catalina.out

2005-02-22 Thread Jin Wu
Hi, It seems that System.out.printlin(...) prints to catalina.out. Is there a way I can print to web page? Thanks, James __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

RE: Tomcat 5.5 working, BUT not outside of webapps/

2005-02-22 Thread Matt
Ah-ha, somehow I changed a line in the uriworkermap.properties file from this (some pointless experiment out of past frustrated delirium): /jsp-examples/*=ajp13w ...to this: /jsp-examples/*.jsp ...so changing it back (which is how it was out-of-the-box after jk_1.2.8.exe was run) to:

Re: how to print to web page instead of catalina.out

2005-02-22 Thread Antony Paul
Why not use out.print() or you are trying to do something else ?. rgds Antony Paul On Tue, 22 Feb 2005 20:26:41 -0800 (PST), Jin Wu [EMAIL PROTECTED] wrote: Hi, It seems that System.out.printlin(...) prints to catalina.out. Is there a way I can print to web page? Thanks, James

How to send hidden variables to next page

2005-02-22 Thread U K Laxmi
Sorry if it's not the right place to post this question. Excuse me. I've some hidden variables in a web page. I want to send them to next page without using submit button. I don't know how to do it. More over i don't know how to access those variables in the next page. Is there any option

RE: How to send hidden variables to next page

2005-02-22 Thread Shakeel Ahmad
If you are developing a JSP/Servlet then you can do this by keeping those variables in session. Best Regards, S H A K E E L A H M A D http://members.fortunecity.com/javaclub/shakeel.htm Voice: 00923002723316 Senior Software Engineer. NorthStar Technologies. www.globalnorthstar.com EE(Computer

Re: Getting other Sessions

2005-02-22 Thread Joseph Shraibman
Antony Paul wrote: You can put all the sessions in List or Map when they login or use HttpSessionListener to listen to session events. That was my fallback plan, if there wasn't an easier way. - To unsubscribe, e-mail: [EMAIL

RE: How to send hidden variables to next page

2005-02-22 Thread U K Laxmi
Yes. I'm using JSP. Can you pls tell me the syntax or guidelines as how to do it. Thank you. --- Shakeel Ahmad [EMAIL PROTECTED] wrote: If you are developing a JSP/Servlet then you can do this by keeping those variables in session. Best Regards, S H A K E E L A H M A D

RE: How to send hidden variables to next page

2005-02-22 Thread U K Laxmi
I need help in redirecting to next page based on some condition without using location.href in java script. Is it possible in Jsp or tomcat or apache? If so, how. I'm bit new. --- U K Laxmi [EMAIL PROTECTED] wrote: Yes. I'm using JSP. Can you pls tell me the syntax or guidelines as how to do

RE: Tomcat 5.5 working, BUT not outside of webapps/

2005-02-22 Thread Matt
Well, I spoke a little too soon. The examples in webapps/ work fine, but some of the same examples in my outside folder balk (recall I copied the whole webapps folder to C:\Inetpub\wwwroot\JSP\ and renamed it MYwebapps and MYjsp-examples underneath that). Some example errors follow... Implicit

RE: How to send hidden variables to next page

2005-02-22 Thread Shakeel Ahmad
Wel this might help... // You write following two lines in first JSP page. String name = Java;// This might be your hidden field. session.setAttribute(HiddenName, name); //Then you get the name on next page as follows. String userName = (String)session.getAttribute(HiddenName); The name

RE: How to send hidden variables to next page

2005-02-22 Thread U K Laxmi
Thanks for the answers Shakeel. My problem is, i've a page that doesn't have submit button. I need to send the hidden variables in that HTML page to next HTML page. Here the hidden value is set based on the type of option selected from 'select' drpo down box in HTML. To put it in session, i need

RE: How to send hidden variables to next page

2005-02-22 Thread Shakeel Ahmad
Then you must use the window.returnValue of Java Script. Best Regards, S H A K E E L A H M A D http://members.fortunecity.com/javaclub/shakeel.htm Voice: 00923002723316 Senior Software Engineer. NorthStar Technologies. www.globalnorthstar.com EE(Computer Engineering), UET Lahore, Pakistan.