RE: Still having troubles to access http://localhost:8080/myapp with http://news.myapp and http://myapp

2003-05-28 Thread Marcel Overdijk
Kannan, So I have change port from 8080 to 80 (what does this mean?) + I have to create an element for my virtualhost ? But how does the alias know to start a specific app ? I missing something... Met vriendelijke groet, Marcel Overdijk -Original Message- From: Kannan Sundarar

RE: Can't get CGI var REMOTE_USER via req.getRemoteUser()

2003-05-28 Thread wangyue
Try the following: (1) add "JkEnvSet REMOTE_USER %{REMOTE_USER}" to httpd.conf (2) get REMOTE_USER via req.getAttribute("REMOTE_USER") > -Original Message- > From: Lopez David E-r9374c [mailto:[EMAIL PROTECTED] > Sent: Saturday, May 17, 2003 3:10 AM > To: Tomcat List (E-mail) > Subje

RE: Can't get CGI var REMOTE_USER via req.getRemoteUser()

2003-05-28 Thread wangyue
I'm sorry. "JkEnvSet" should be "JkEnvVar". > -Original Message- > From: wangyue [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 28, 2003 4:22 PM > To: 'Tomcat Users List' > Subject: RE: Can't get CGI var REMOTE_USER via req.getRemoteUser() > > > Try the following: > > (1) add "JkEnv

Re: Tomcat 2.4.11: no current tx!

2003-05-28 Thread Giorgio Ponza
i think you have to ask to the JBOSS list. ;) Giorgio - Original Message - From: "Fang Yidong" <[EMAIL PROTECTED]> To: "tomcat-user" <[EMAIL PROTECTED]> Sent: Wednesday, May 28, 2003 6:21 AM Subject: Tomcat 2.4.11: no current tx! > [12:20:55,394,XAConnectionFactory] XAConnectionImpl

Cookie problem with Tomcat 4.1.24

2003-05-28 Thread basebeans
Hello tomcat-ians, I am getting 'InvalidArgumentException' when I add a cookie to response object using response.addCookie() in a JSP file. This error is coming when the cookie has the characters comma(,), semi-colon(;) in the value. As for Cookies 0 version, these characters are not valid. As for

Re: DB Connection

2003-05-28 Thread Munteanu Gabriel
Guys, this is very interesting discussion. I have read all the posts. I still have another problem. What about VERY large Result Sets? I have a portal with 1 000 000 records[books related]. When the user searches for romance, there are more than 200 000 records returned. I can't use CachedResultSet

RE: Can't get CGI var REMOTE_USER via req.getRemoteUser()

2003-05-28 Thread Alberto A C A S Magalhães
** Este email assim como os ficheiros que possa ter em anexo são confidenciais e para uso exclusivo da pessoa ou organização para o qual foi enviado. Se recebeu este email por engano por favor notifique [EMAIL PROTECTED] Esta nota

Obtaining the USERID of WK2

2003-05-28 Thread Alberto A C A S Magalhães
** Este email assim como os ficheiros que possa ter em anexo são confidenciais e para uso exclusivo da pessoa ou organização para o qual foi enviado. Se recebeu este email por engano por favor notifique [EMAIL PROTECTED] Esta nota

Re: DB Connection

2003-05-28 Thread Sourabh Kulkarni
In case of large number of records in the ResultSet, you need pagination. Search the archives of j2ee-patterns for interesting discussions on this topic. http://archives.java.sun.com/archives/j2eepatterns-interest.html HTH, -Sourabh Kulkarni [EMAIL PROTECTED] "Discretion is being able to raise

Startup Problem - Newbie

2003-05-28 Thread Mark Irvine LCGI
Hi, When I try to start Tomcat using the Start and Stop files provided the following error is generated: 28-May-2003 09:18:34 org.apache.commons.modeler.Registry loadRegistry INFO: Loading registry information 28-May-2003 09:18:34 org.apache.commons.modeler.Registry getRegistry INFO: Creating new

CharConversionException: isHexDigit

2003-05-28 Thread Joel Carklin
hi everyone, i was wondering if anyone else has come across the following exception being thrown. i don't know what causes it and it doesn't seem to affect the web applications I'm running but I'm a bit concerned about it. It appears now and then, not very frequently, but often enough, in my catal

Re: Obtaining the USERID of WK2

2003-05-28 Thread Jason Bainbridge
On Wed, 28 May 2003 16:20, Alberto A C A S Magalhães wrote: > I need to obtaing the userid of WK2 in a HTML page, for sending to a > servlet. WK2? Do you mean W2k, as in Windows 2000? So the currently logged in domain user? Easiest way to do it is by using a filter and http://jcifs.samba.org the

RE: Startup Problem - Newbie

2003-05-28 Thread graghupathy
comment the Mbean tags in the server.xml and restart and you should be fine ... :) -Original Message- From: Mark Irvine LCGI [mailto:[EMAIL PROTECTED] Sent: 28 May 2003 09:24 To: [EMAIL PROTECTED] Subject: Startup Problem - Newbie Hi, When I try to start Tomcat using the Start and Stop

redirect http to https???

2003-05-28 Thread tomcat
Hi I implemented SSL . If i brows particular http, it shold redirect to https page. How to do this.How to redirect http page to https page?? Regards Tomcat _ Any Opinions, explicit or implied, are solely those of the author and

RE: Startup Problem - Newbie

2003-05-28 Thread Mark Irvine LCGI
Hi, Thanks for the relpy. Probably a stupid question but what do the Mbean tags do? Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 28 May 2003 09:33 To: [EMAIL PROTECTED] Subject: RE: Startup Problem - Newbie comment the Mbean tags in the server.xml a

is tomcat..... ?

2003-05-28 Thread Syed Nayyer Kamran
Hi there, I want to confirm that can we say that tomcat is an application server if not then what is the basic requirement being an application server. what should a server provide tobe an application server. Thanks Nayyer Kamran

Re: is tomcat..... ?

2003-05-28 Thread Jason Bainbridge
On Thu, 29 May 2003 04:56, Syed Nayyer Kamran wrote: > Hi there, > > I want to confirm that can we say that tomcat is an application server if > not then what is the basic requirement being an application server. what > should a server provide tobe an application server. I think the proper termino

Re: DB Connection

2003-05-28 Thread William Wragg
What you might want to try is storing the ResultSet in the session, and closing the ResultSet when the session is closed or the ResultSet is removed from the session. I looked into this, but eneded up going down the copying route. To store a ResultSet in the session what I came up with is the f

Re: is tomcat..... ?

2003-05-28 Thread Werner van Mook
On Wednesday, May 28, 2003, at 10:56 PM, Syed Nayyer Kamran wrote: Hi there, I want to confirm that can we say that tomcat is an application server if not then what is the basic requirement being an application server. what should a server provide tobe an application server. To be an applicati

Mod_JK 1.2.2 Build Problems Tru64 Unix -- Please help

2003-05-28 Thread Bryan Walaschek
I'm running into build problems with mod_jk: On Tru64 Unix, here's what I'm doing step by step: 1. cd /usr/local 2. gunzip -c jakarta-tomcat-connectors-jk-1.2.2-src.tar.gz | tar xvf - 3. cd ./jakarta-tomcat-connectors-jk-1.2.2-src/jk/native (so I'm trying to build within the 'native' directory, I

RE: Obtaining the USERID of WK2

2003-05-28 Thread Morgan Pyne
Or put an IIS server in front of Tomcat (via mod_jk, or mod_jk2), set it to do the authentication for the required URLs, and pass the credentials on to Tomcat. Your servlet can then call getRemoteUser() to find the userid. There have been plenty of dicussions on how to this on this list, it's al

Re: redirect http to https???

2003-05-28 Thread Tim Funk
http://tomcatfaq.sourceforge.net/security.html -Tim tomcat wrote: Hi I implemented SSL . If i brows particular http, it shold redirect to https page. How to do this.How to redirect http page to https page?? Regards Tomcat - T

Re: Cookie problem with Tomcat 4.1.24

2003-05-28 Thread Tim Funk
http://nagoya.apache.org/bugzilla/buglist.cgi?resolution=INVALID&resolution=WONTFIX&bugidtype=include&chfieldto=Now&product=Tomcat+4&short_desc=cookie&short_desc_type=allwordssubstr&bug_file_loc_type=allwordssubstr&keywords=&keywords_type=anywords&field0-0-0=noop&type0-0-0=noop&value0-0-0=&cmdtype=

[ANN] [OT]Ant,Apache...XML Pocket Reference

2003-05-28 Thread ThePrahs
For developers around the world, get your quick O'Reilly Pocket References from Apache to XML  at: http://members.aol.com/thefractionprice/1.htm For developers in and around Germany, get your quick O'Reilly Pocket References from Ant to  XML at: http://members.aol.com/thefractionprice/oreilly

Re: Tomcat 3.1 to Tomcat 4.1

2003-05-28 Thread Rohit Peyyeti
Does anybody have answer to this? Thanks! - Original Message - From: "Rohit Peyyeti" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, May 27, 2003 3:49 PM Subject: Tomcat 3.1 to Tomcat 4.1 > Howdy! > > I'm in process of moving my apps from tomcat 3.2.1/a

RE: Obtaining the USERID of WK2

2003-05-28 Thread Morgan Pyne
Sorry - have to correct myself. mod_jk & mod_jk2 are of course for Apache - use the ISAPI redirector for IIS. Morgan > -Original Message- > From: Morgan Pyne > Sent: Wednesday, May 28, 2003 12:26 > To: Tomcat Users List > Subject: RE: Obtaining the USERID of WK2 > > > Or put an IIS ser

mod_jk2 : JNI configuration ALMOST working

2003-05-28 Thread Chong Yu Meng
I'm using mod_jk2 + Apache 2.0.45 + Tomcat 4.1.24 I managed to eliminate most of the errors from my JNI setup, except for one. I get this error when Apache starts up : [Wed May 28 19:17:33 2003] [notice] jni.validate() class= org/apache/jk/apr/TomcatStarter [Wed May 28 19:17:33 2003] [error] Ca

[Re-repost] tomcat/jk2/apache: authentication not taken into accountfor webapps

2003-05-28 Thread Jerome Lacoste @ BBC
Still stuck... Need help on how to debug authentication. Morgan Pyne wrote: Hi Jacob, Hi Morgan, The name is Jerome :) Jacob was a guy who replied to me! I should have mentioned in my earlier post that the tomcatAuthentication="false" should only be part of the connector definition of the se

Re: mod_jk.log errors

2003-05-28 Thread John Turner
Well, the error message is: INFO: Port busy 8009 java.net.BindException: Address already in use That means only one thing: you have something else listening on port 8009. Either another version of Tomcat, or something else. Only you can discover what that is, as none of us have access to your

Ann: new bB release

2003-05-28 Thread Vic Cekvenich
basicPortal is an open source Portal app that stores content via DB access, a sample Struts v.1 webapp. It is built on scaffoldingXPress, Struts v1.1 best practices, commercially supported, with JSTL and DAO. Both are available on http://basicPortal.sf.net New release (v095) includes a video

placement of properties files

2003-05-28 Thread Timothy Stone
Q: where is the proper place for [props].properties files? such as something that might store username and password pairs. Not the best practice, but if one wanted to. Thanks, Tim - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: placement of properties files

2003-05-28 Thread Schwartz, David (CHR)
I think web-inf folder - since tomcat wont serve files contained therein. -Original Message- From: Timothy Stone [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 8:55 AM To: Tomcat Users Subject: placement of properties files Q: where is the proper place for [props].properties fil

RE: placement of properties files

2003-05-28 Thread Raible, Matt
I'd recommend WEB-INF/classes - then it's in the classpath. -Original Message- From: Schwartz, David (CHR) [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 6:57 AM To: 'Tomcat Users List' Subject: RE: placement of properties files I think web-inf folder - since tomcat wont serve f

RE: mod_jk.log errors

2003-05-28 Thread Marco Laponder
It must be in the tomcat4 configuration as when I call netstat -na | grep 8009 I get no output when tomcat is not started, when I start tomcat and call netstat -na | grep 8009 gives the following output: tcp0 0 0.0.0.0:80090.0.0.0:* LISTEN So my guess

RE: CharConversionException: isHexDigit

2003-05-28 Thread Shapira, Yoav
Howdy, Dude -- I got the exact same thing yesterday and posted it! ;) Still looking for the answer. I don't think it's a rare browser: 100% of my hits are from either IE5.5 or IE6 on Windows 2000 (this is a closed intranet environment). Yoav Shapira Millennium ChemInformatics >-Original

RE: placement of properties files

2003-05-28 Thread Shapira, Yoav
Howdy, I agree with under WEB-INF as that's a directory the servlet container will protect for you. I don't like to put configuration information on the classpath however. I prefer to access them via other mechanisms, such as the ServletContext. So I would create a directory called config under

RE: tomcat 4.1.18/24 unstable (UPDATE)

2003-05-28 Thread Shapira, Yoav
Howdy, Thanks for posting the update. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: joseph lam [mailto:[EMAIL PROTECTED] >Sent: Tuesday, May 27, 2003 10:18 PM >To: Tomcat Users List >Subject: Re: tomcat 4.1.18/24 unstable (UPDATE) > >I just found out what caused the

Re: placement of properties files

2003-05-28 Thread Timothy Stone
Shapira, Yoav wrote: Howdy, I agree with under WEB-INF as that's a directory the servlet container will protect for you. I don't like to put configuration information on the classpath however. I prefer to access them via other mechanisms, such as the ServletContext. So I would create a directo

Re: jkjni.so binary?

2003-05-28 Thread Rick Roberts
Pascal, I installed the RPMs that you listed. Tomcat4 runs fine as standalone. Apache2 gives the error that it can't find mod_jk2.conf because the httpd2.conf Includes it, but it does not yet exist. Can you give me a simple example of mod_jk2.conf, maybe just enough to get Apache to connect to

RE: placement of properties files

2003-05-28 Thread Shapira, Yoav
Howdy, >Good options all. I was leaning towards /WEB-INF/. I like Yoav's >suggestion for the more pure organizational aspect. However, could one >also just: > >InputStream is = ServletContext.getResourceAsStream( "/WEB-INF/a.props"); ? One could, sure. And if you have a small system / few file

RE: CharConversionException: isHexDigit

2003-05-28 Thread Roberts, Eric
I bet it could be a "rare" browser. Closed environments are very rarely closed - in our company we are only provided with our own in-house modified version of IE6 - but we work in IT and Telecoms, so Netscape, Opera, etc can be found all over the place - because we can :) -Original Message-