Re: Input stream

2005-08-15 Thread Chris Lamprecht
See XmlPull: http://www.xmlpull.org/ On 8/15/05, Paul Wallace <[EMAIL PROTECTED]> wrote: > Hi All, >I have a socket receiving streams of XML. I receive an InputStream, > but short of a dirty hack, do not know when (or how) I pass the > stream/contents to be parsed. Any thoughts/resources

Re: patch: mod_jk load balance algorithm that accounts for current worker load

2005-08-10 Thread Chris Lamprecht
Excellent, I'd love to see this end up in the proxy loadbalancer. I just submitted the patch: http://issues.apache.org/bugzilla/show_bug.cgi?id=36138 > Please do so... There is also some overlap with Apache's > proxy load balancer as well, which I would want to fold > back in. For example, in

patch: mod_jk load balance algorithm that accounts for current worker load

2005-08-06 Thread Chris Lamprecht
suggestions from the mailing list before submitting the patch to bugzilla. Thanks, Chris Lamprecht - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Where to place classes

2004-10-14 Thread Chris Forbis
I am having a problem as where to place classes. I have a CustomJDBCRealm (it extends JDBC realm) I need this to be setup in the context of my application like any other realm. If I place my jar in server\lib it works. BUT If I do this the MyPrincipal object can not be refrenced from my web a

Re: How to get context realm from servlet and filter.

2004-10-14 Thread Chris Forbis
.findChild(engine.getDefaultHost()); Container[] containers = host.findChildren(); for (int i = 0; i < containers.length; i++) { Container container = containers[i]; out.println(" >From: Chris Forbis [mailto:[EMAIL PROTECTED] > >Sent: Thursday, October 14, 2004 11:02 AM &g

Re: How to get context realm from servlet and filter.

2004-10-14 Thread Chris Forbis
Shapira http://www.yoavshapira.com > > > >-Original Message- > >From: Chris Forbis [mailto:[EMAIL PROTECTED] > >Sent: Wednesday, October 13, 2004 6:24 PM > >To: tomcat-dev > >Subject: How to get context realm from servlet and filter. > > > >I am tryi

How to get context realm from servlet and filter.

2004-10-13 Thread Chris Forbis
I am trying to get the current contexts realms from a servlet (and maybe a filter). I do not see a getContext().getRealm() method. So I am guessing there is another way to get to this, but I do not see it. Can any one provide some quick direction to me on this. Thank you! Chris

Re: Javadocs ?

2004-09-01 Thread Chris
Agreed. I hope the javadoc can be downloaded separately. Everytime when I extract TC zip file, the javadoc in it cost much time, and I seldom use it. - Original Message - From: "Tim Funk" <[EMAIL PROTECTED]> To: "Tomcat Developers List" <[EMAIL PROTECTED]> Sent: Thursday, September 02, 200

Failed to build TC because org.apache.commons.logging.Log can not been found

2004-08-17 Thread Chris
Howdy , I am building TC after check it out from CVS like this: C:\Work2\workspace2\jakarta-tomcat>ant Buildfile: build.xml detect: uptodate: msg.ant15: [echo] Detected Ant 1.5 ... but failed by the compile error though jakarta-commons has been checkout to my local disk: --\

Re: building tomcat source in eclipse

2004-08-13 Thread Chris
> > The trick is to get all dependencies. Do an "ant download", then create > > project for repository, tomcat-connectors, tomcat-catalina, jasper, > > servletapi ( with the obvious dependencis ). What is "ant download" ? How to do that in Eclipse? TIA - Original Message - From: "Patri

RE: [5.0.18] Build available

2004-01-16 Thread Halstead, Chris
I'm having trouble piecing together the timeline. -chris > > > Hi, > > A new new build is now available for testing: Tomcat 5.0.18 Alpha. > > http://www.apache.org/dist/jakarta/tomcat-5/v5.0.18-alpha/ > > Rémy > ---

Re: About Book How Tomcat Works

2004-01-11 Thread Chris Wahl
From: "Budi Kurniawan" <[EMAIL PROTECTED]> To: "Tomcat Developers List" <[EMAIL PROTECTED]> Sent: Sunday, January 11, 2004 4:33 PM Subject: Re: About Book How Tomcat Works > Hi Chris, > I happen to be in this mailing list too:) > I'm still writing,

About Book How Tomcat Works

2004-01-10 Thread Chris Wahl
I found the following message in tomcat mail-archive , but we can't access the book's link for several months, anyone one know what happened to the great book? or are there any article or book similar to this one, I need some material to help me to start reading Tomcat's code. Any infomation

strange error messages in tomcat log and mod_jk2 log

2003-12-10 Thread Chris Joelly
want to tell me... thx, Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [VOTE] New builds

2003-10-29 Thread Halstead, Chris
also been able to get per-context and per-engine Loggers to work with 5.0.14, even though they worked just fine in 5.0.12. I've seen the behaviour on both Windows and Solaris. I'll do some more testing and file a bug if I can nail down some patterns to this problem. -chris -O

RE: limits the access of upper directory

2003-08-15 Thread Halstead, Chris
Rule #1 - don't post configuration or use questions to the tomcat-dev list...that's what tomcat-user is for. That said, look at ./conf/web.xml for the 'listings' init-param of DefaultServlet. Setting this parameter to 'false' will deny directory listings. -

Jikes 1.18 JSP compiler support broken in TC 4.1.27

2003-08-14 Thread Chris Brown
g Jikes standalone, or with Ant 1.5.3's Javac task (outside of Tomcat). I'm using Sun's JDK 1.4.2 on Win2000 SP4. Hope this helps, Chris B. org.apache.jasper.JasperException: Unable to compile class for JSP An error oc

problem with tomcat servlet

2003-08-14 Thread Chris
closed the files and would really apprceciate if someone explain this 404 error to me. Thanks in advance. -chris http://java.sun.com/dtd/web-app_2_3.dtd";> Currency Converter This is a simple web application with an HTML form passing a single parameter (amoun

JSP error with standard Javac (and a workaround) with Tomcat 4.1.27

2003-08-14 Thread Chris Brown
rom main website http://jakarta.apache.org/tomcat/ Hope this helps iron out a wee problem! - Chris B. 2003-08-07 15:29:24 Info: Compile: javaFileName=D:\inetpub\tomcat\work\Standalone\localhost\open\/login_jsp.jav a classpath=/D:/inet

CoyoteRequest and it's empty setRequestURI() method

2003-07-24 Thread Chris Volk
. Work-arounds are acceptable at this point too ;-) Thanks!! -- Chris Volk RedWolf Consulting - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

TC5 Clustering & JDK 1.4.2

2003-07-21 Thread Chris Halstead
plication messages. When I switch to JDK 1.4.1 (any sub-version), all works normally. I can provide more in-depth config information if anyone wants it...just let me know. cheers, -chris - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [5.0] [PROPOSAL] Extra web.xml to declare compiled JSPs

2003-03-21 Thread Chris Brown
, and it implies unpacking WARs, and looking through lots of "confusing" application structure (where's web.xml? what's xml anyway? why doesn't tomcat start now that I've typed an apostrophie in the servlet's init-param...?) - Chris - Original Message -

Suggestion for DefaultServlet (easier spidering by search engines)

2003-03-17 Thread Chris Brown
Hello, Just a little suggestion to help search engines spider Tomcat websites easier... Could somebody add the following to the directory listings generated by tomcat ? Thanks, Chris - To unsubscribe, e-mail: [EMAIL

j2se and tomcat install problems - memory heap when running java

2003-03-15 Thread Chris Hale
HOME: /usr/local/jdk But if I try to browse to http://localhost:8080, I get nothing. What am I missing? If I type java into the console, I get a memory heap error: [EMAIL PROTECTED] [/usr/local/tomcat/bin]# java Error occurred during initialization of VM Could not reserve eno

Re: Why unpackWars=true default?

2003-01-22 Thread Chris Brown
something needs to be created outside the WAR). Having said that, if we're meant to deploy as unpacked files, why bother with methods such as ServletContext.getResource() (when we could just use getRealPath if we systematically unpacked these files) ? - Chris - Original Message - Fro

Re: Why unpackWars=true default?

2003-01-21 Thread Chris Brown
s are examples where this wouldn't always apply). All custom data in our apps is either stored in the user.home directory, the preferences API, JNDI, or whatever. We tend to consider the ".war" file like an ".exe" or executable JAR file. - Chris -- To unsubscribe, e-mai

Possible bug w HTTP/HTTPS & encodeURL() - I'll show you the line number

2003-01-11 Thread Chris Handorf
For the impatient --- I'm questioning the validity of line #522 of jakarta-tomcat-4.1.18-src/catalina/src/share/org/apache/catalina/ connector/HttpResponseBase.java please read on since I think I have done all of the work for you - I just need a question answered Background

Re: [5.0] Input optimization

2003-01-06 Thread Chris Brown
> If you could come up with a better name for the "substract" method ;-) > It's supposed to be the opposite of append. prepend() ? -- To unsubscribe, e-mail: For additional commands, e-mail:

broken locking in StandardWrapper.allocate()

2002-08-20 Thread Chris Rogers
In StandardWrapper.java lines 651 through 664 of Tomcat 4.0.4, the double-check locking idiom is used to avoid synchronization. The double-check locking idiom does not work reliably in Java. For reasons why, see: http://www.cs.umd.edu/~pugh/java/memoryModel/DoubleCheckedLocking.html The result

RE: How can I ckeck how many users are connected to a Web Site?

2002-08-01 Thread Chris Newland
that a user has logged out once a certain period of inactivity has occurred. If you don't have a login system on your website, you could use the IP address of the user making the request and combine this with the inactivity tracking system mentioned above. Hope this helps, Regards, Chris Newl

Re: Tomcat and JSDK 1.4

2002-07-18 Thread Chris Brown
mcat 4.0.x, but I didn't have time to track the bug exactly. I suspect a problem in the JDK however, as the I/O implementation has changed a lot. Hopefully the problem will have gone away in more recent releases. -Chris B - Original Message - From: "Bracken, William (Contractor

Re: [JK2] Trying 4.1.3 Beta + IIS

2002-06-26 Thread Chris Brown
See intermixed. - Original Message - From: "Ignacio J. Ortega" <[EMAIL PROTECTED]> To: "'Tomcat Developers List'" <[EMAIL PROTECTED]> Sent: Wednesday, June 26, 2002 12:33 PM Subject: RE: [JK2] Trying 4.1.3 Beta + IIS > > De: Chris Brown

Re: 5.0 proposal

2002-06-26 Thread Chris Brown
ctly, more a way to store values to override whatever's in web.xml. That way, if a new copy of the webapp is installed in the server, the overriding values would still be retained and can override the updated web.xml, without requiring to be reentered. It's by no means a critical feature

Re: [JK2] Trying 4.1.3 Beta + IIS

2002-06-26 Thread Chris Brown
an unpacked WAR file, it's unlikely IIS et al know how to read from the WAR file directly, or locate the temporary folder into which WAR file contents are unpacked (so that it can find static files). - Chris B. - Original Message - From: "Ignacio J. Ortega" <[EMAIL PROTECT

Spec change: getting servlet context name / url prefix during init

2002-05-21 Thread chris brown
pping. Hopefully someone can put this idea forward for inclusion in Servlet2.4 (the next one, isn't it?). Thanks, -Chris B. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: filter and forward, bug?

2002-04-25 Thread Chris Wolfe
----- > From: "Chris Wolfe" <[EMAIL PROTECTED]> [snip] > > Under Tomcat-4.0.3, using a filter that wraps the ServletRequest and > > replaces servletPath produces an infinite loop if the target uses > > RequestDispatcher.forward. [snip] -- To unsubscribe, e-

filter and forward, bug?

2002-04-25 Thread Chris Wolfe
not just up too late at night. Thanks, Chris -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Fw: request.getLocale() always returns "en_US" ..?!

2002-03-18 Thread chris brown
Hello, I posted this on tomcat-user, without any reply. It seems to be a bug, so I hope it's relevant on this list. -Chris - Original Message - From: "chris brown" To: "tomcat-user" Sent: Thursday, March 14, 2002 3:52 PM Subject: request.getLocal

instance variable reference to class variable

2002-03-08 Thread Chris Munroe
castSocket; this.senderId = senderId; The senderId is static ( a class variable, yes? ) but the comment says that it is an instance variable and in the constructor it is refered to as an instance variable instead of a class variable. Is this intentional? regards, Chris Munroe.

JarURLConnection and 4.0.2 missing java.io.tmpdir ../temp

2002-02-19 Thread chris monster
Hi guys, this appears to have already been corrected subsequent to the 402 final (ie, the nightly tomcat build) - however, I thought it might be very worthwhile for others to know. the System Property java.io.tmpdir is set on Catalina startup to "../temp", however, no empty temp dir is included i

Add a new mime-type to web.xml

2002-01-11 Thread chris brown
do this (maybe in time for the release of 4.0.2 ?) Thanks, Chris Brown -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: Tomcat classloader problem?

2001-11-30 Thread Chris Malley
Chris Malley wrote: [...] > I'm experiencing a problem with SOAP message-style services > when using Tomcat 4.01. When trying to access any message-style > SOAP service, my client receives a "no signature match" fault. [...] Remy Maucherat wrote: [...] > > Mov

Re: Tomcat classloader problem?

2001-11-30 Thread Chris Malley
Glenn Nielsen wrote: > > > > > > Chris Malley wrote: [...] > > > I'm experiencing a problem with SOAP message-style services > > > when using Tomcat 4.01. When trying to access any message-style > > > SOAP service, my client receives a "n

Re: Tomcat classloader problem?

2001-11-29 Thread Chris Malley
2.2 with Tomcat 4" doc. How do you suggest that this be resolved? Should I bring this to the attention of someone in particular in the Apache SOAP group? -Chris Remy Maucherat wrote: > > > I'm experiencing a problem with SOAP message-style services > > when using Tomcat 4.0

Tomcat classloader problem?

2001-11-29 Thread Chris Malley
ut I'm trying to provide all of the details necessary to resolve this. Thanks, -Chris -- Chris Malley PixelZoom, Inc. Voice: +1.303.494.8849 835 Orman Drive EMail: [EMAIL PROTECTED] Boulder CO 80303-2616 --

Suggestion for directory listings generated by Tomcat

2001-11-02 Thread chris brown
do that. Many thanks in advance, -Chris Brown -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Possible manager bug with war file names?

2001-09-24 Thread Stevenson, Chris (SSABSA)
/ore-local-200109251510 not ORE as expected. Is this a known bug? chris. -- Chris Stevenson [EMAIL PROTECTED] http://sourceforge.net/projects/jtds

Building nsapi_redirector.so for iPlanet on Solaris 8

2001-09-18 Thread Chris Ireland
arget `jk_ajp12_worker.o' devweb1[root]# Do you have or know of a comprehensive set of instructions on how to do this build. Regards Chris Ireland

Re: ServletContext.getResource() never null?

2001-08-14 Thread chris monster
> > > > in testing several containers including Tomcat 3.1.1, i was unable to > > get a null ( where a test for null would have been, um, desirable ), nor > > did it appear that the presence or absence of a leading "/" made any > > difference. > > > > Sounds like a bug in 3.1.1. But it's unlikel

re: Re: ServletContext.getResource() never null?

2001-08-13 Thread chris monster
thanx guys! sorry, in the future i will try to exhaust later versions before i post... ;) > It also looks a totally different place -- inside /WEB-INF/classes or > inside JAR files under /WEB-INF/lib. true! however, my purpose was to create a singleton wrapper for access to resources by non-se

ServletContext.getResource() never null?

2001-08-13 Thread chris monster
in the api-docs for ServletContext.getResource( String path ), it is further specified that: "This method returns null if no resource is mapped to the pathname." and "The path must begin with a "/"..." are these stipulations in the servlet api-docs valid? in testing several containers incl

RE AdaptiveClassLoader, getResources, jndi.properties (Tomcat 4.0/3.3 bug?)

2001-08-10 Thread Chris Kimpton
sting this with tomcat4 (b2 or b3) a while back and getting the same error - but it maybe fixed now - but worth checking if someone does action this. Thanks, Chris PS Here is the old mail link... http://www.mail-archive.com/tomcat-dev@jakarta.apache.org/msg12487.html = Need somewhere to Live

RE: SimpleMapper1.java

2001-08-06 Thread Chris Bryden
At 10:23 06/08/01 -0400, you wrote: >Hi Chris, > >I've looked at committing your patch. However, in reviewing >who uses Context.getHost(), I a little nervous about having >Context.getHost() contain a wildcard. (I think this is what >your patch implies.) Though I d

SimpleMapper1.java

2001-07-31 Thread Chris Bryden
f the reason that I didn't get a reply to my earlier mail is that I am being a complete muppet, please could you direct me to the relevent docs so I can demuppetize :-) Kind Regards, Chris Index: SimpleMapper1.java ==

Apache and Tomcat - matching multiple virtual hosts to a single context

2001-07-25 Thread Chris Bryden
Hi, I have a small query on the way tomcat chooses a virtual host from those specified using Host tags in server.xml. We currently have a system where we can access web content at subdomain.ourdomain.com as .subdomain.ourdomain.com . The host part of the domain name is then used by our appli

Web hosting services +tomcat support

2001-05-31 Thread Amey, Chris
Hi, Can any one recommend a good web host that supports tomcat 3+ Bugdet $20-$30 per month

RE: [BUG T322] Bug in getServletContext().getResource() for relative URLs

2001-05-29 Thread Stevenson, Chris (SSABSA)
Small correction: > Also, if I do the following: > > URL configURL = new URL( url, "config.xml" ); > configURL = new URL( configURL.toString() ); I meant URL configURL = new URL( new URL( url.toString() ), "config.xml" ); which works.

[BUG T322] Bug in getServletContext().getResource() for relative URLs

2001-05-29 Thread Stevenson, Chris (SSABSA)
Bugzilla is down so I am forced to send this to the list: Relative URLs from a servlet resource do not work (Tomcat 3.2.2). I have the following code in a Servlet: URL propURL = getServletContext().getResource( "/WEB-INF/connection.properties" ) URL configURL = new URL( url, "config.xml" ); T

RE: Issues with Tomcat 3.2.1, JSPs and I18N ( Implicit character tran slation ??? )

2001-05-29 Thread Chris Halverson
ECTED] [SMTP:[EMAIL PROTECTED]] Sent:   Sunday, May 27, 2001 7:08 PM To: [EMAIL PROTECTED] Subject:    Re: Issues with Tomcat 3.2.1, JSPs and I18N ( Implicit character tran slation ??? ) Hi Chris, Can you reproduce this in normal JSP ( without oracle ) ? Can you send me a small webapp wh

RE: Issues with Tomcat 3.2.1, JSPs and I18N ( Implicit character tran slation ??? )

2001-05-29 Thread Chris Halverson
dig > through the Tomcat source > to see if I can find the root problem > and would hate to do that if there was an easy > answer that I'm missing. > > Thanks. > Chris Halverson > > Christopher R. Halverson > nCube > [E

Issues with Tomcat 3.2.1, JSPs and I18N ( Implicit character translation ??? )

2001-05-25 Thread Chris Halverson
e any feedback, I'm going to dig through the Tomcat source to see if I can find the root problem and would hate to do that if there was an easy answer that I'm missing. Thanks. Chris Halverson Christopher R. Halverson nCube [EMAIL PROTECTED] "Never underestimate the ability of any

RE: Assigning Servlets to different ports.

2001-03-06 Thread Chris Pepper
at 3.3, where it is still possible to do this kind of change >( assuming it's not too big ). For 3.2.2 I don't think this can be >clasified as a critical bug, and I don't think Marc would enjoy it :-) Thanks,

PathInfo and PathTranslated return NULL

2001-02-28 Thread Chris Hull
thInfo and PathTranslated. I also have some servlet code that I'd like to migrate into Tomcat. I'll discuss what it does in another posting, after I learn the rules for code submission. Thanks; -Chris Running Tomcat 3.2.1 - PathInfo and PathTranslated return NULL regardless o

How do I configure tomcat 3.2.1 for SSL only?

2001-02-28 Thread Chris Pepper
se tell me there's a better way. Also, the example of how to configure server.xml shows the text from httpd.conf instead; this sounds familiar. Does anyone have the right text to go into that box? Thx,

Building mod_jk 3.2.1 on Solaris

2001-02-27 Thread Chris Pepper
oesn't get built. What am I doing wrong here? Thx, Chris Pepper PS-/usr/local/apache/include is present and contains two .h files. ../jk is also present. [pepper@gensat apache1.3]$ /

[PATCH] HTML cleanup & typo fixes in tomcat-ssl-howto.html

2001-01-30 Thread Chris Pepper
HTML cleanup & typo fixes in tomcat-ssl-howto.html [salt:tarball/jakarta-tomcat-3.2.1/doc] pepper% diff -u tomcat-apache-howto.html tomcat-apache-howto.html.patch --- tomcat-apache-howto.htmlTue Dec 12 16:36:55 2000 +++ tomcat-apache-howto.html.patch Tue Jan 30 11:50:57 2001 @@

Re: [PATCH] HTML cleanup & typo fixes in tomcat-ssl-howto.html

2001-01-30 Thread Chris Pepper
[Previous patch with this title was for the wrong file. Correct patch follows. --cp] HTML cleanup & typo fixes in tomcat-ssl-howto.html [salt:tarball/jakarta-tomcat-3.2.1/doc] pepper% diff -u tomcat-ssl-howto.html tomcat-ssl-howto.html.patch --- tomcat-ssl-howto.html Tue Dec 12 16

[PATCH] HTML cleanup & typo fixes in tomcat-apache-howto.html

2001-01-30 Thread Chris Pepper
HTML cleanup & typo fixes in tomcat-apache-howto.html [salt:tarball/jakarta-tomcat-3.2.1/doc] pepper% diff -u tomcat-apache-howto.html tomcat-apache-howto.html.patch --- tomcat-apache-howto.htmlTue Dec 12 16:36:55 2000 +++ tomcat-apache-howto.html.patch Tue Jan 30 11:50:57 2001

[BUG] PropertyResourceBundle persisting outside servlet

2001-01-05 Thread Chris Longfield
there a reason tomcat behaves this way? Chris Longfield [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

redirecting and target

2001-01-05 Thread Chris Hannemann
I used the following code to redirect and set the target to _top. response.setHeader("Window-target","_top"); response.setStatus(HttpServletResponse.SC_MOVED_TEMPORARILY); response.setHeader("Location", sPath); This works in the Netscape browser however in MS Internet Exp

RE: Tomcat - SSL help

2000-10-26 Thread Chris Halverson
You're probably running on win32. If you look in SSLSocketFactory at the default key reference you will find that it uses a / vs a \ you'll want to change it to System.getParameter("file.separator") so that the code is plaform independent. Recompile, put in place and you're off and running. > -