Re: webapps location

2003-02-26 Thread Tim Funk
Yes. Here's how ... http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/context.html -Tim NGO XUAN MARC-AURELE wrote: hi all ! I wonder if it is possible to put webapps in a directory which is not catalina_home/webapps I'd like to keep the catalina_home/ directory unchanged and allow develop

Re: JDK DNS cache (was Re: crontab problems)

2003-02-26 Thread Tim Funk
://java.sun.com/j2se/1.4/docs/guide/net/properties.html http://forum.java.sun.com/thread.jsp?forum=37&thread=362442&tstart=0&trange=15 -Tim Michael Micek wrote: On Wed, Feb 26, 2003 at 06:57:11AM -0500, Tim Funk wrote: Ron Day wrote: Do you know which class cache the negative response

[OT] DNS Fun (was Re: crontab problems)

2003-02-26 Thread Tim Funk
Windows caches DNS too. But it can be flushed: c:\> ipconfig /flushdns -Tim Oscar Carrillo wrote: How bizarre. AFAIK, this is the same problem MS Windows has with it's DNS implementation. That's why IE never can re-connect after it gets a bad DNS lookup. Oscar On Wed, 26 Feb 2003, Ralph Einfeldt

Re: Performance .. Jsp compile import wildcards

2003-02-27 Thread Tim Funk
The only increase is the compile time increase, a one time cost. There is no extra run time cost since compilation takes care of all class reference locations. But importing * is still very very bad. -Tim Reynir Hübner wrote: Hi, I'm wondering what kind of performance decrease (if any) it has

Re: Tomcat Scalability

2003-03-04 Thread Tim Funk
Scability/Perfomance/Memory was talked about many times in the past. I am still digging up good threads/sites with respect to the FAQ, but here is what I have so far, each page has links to the appropriate discussion thread in the tomcat-user lists. Performace: http://tomcatfaq.sourceforge.net/

Re: response.sendRedirect( .. )

2003-03-04 Thread Tim Funk
If this page is being called via a jsp:include - your out of luck. You cannot perform a sendRedirect() inside of an include. It's not tomcat's fault - it specified by the JSP spec. -Tim Mufaddal Khumri wrote: I have a .jsp page which has the following contents: / /

Re: response.sendRedirect( .. )

2003-03-04 Thread Tim Funk
You can do a compile time include instead of a run-time include. -Tim Mufaddal Khumri wrote: Yes This is used from within an include. so how would I redirect ? Thanks. On Wednesday, March 5, 2003, at 03:20 AM, Tim Funk wrote: If this page is being called via a jsp:include - your out of luck

Re: response.sendRedirect( .. )

2003-03-04 Thread Tim Funk
(Sorry for the ramblings ...) Yes - creating a taglib is much, much better than a compile time include. My only reason of recommendation for a compile time include was because that was the easiest and quickest fix - but also the worst. There are a few ways to perform authentication. Each has th

Re: Security Question

2003-03-05 Thread Tim Funk
Here are the channels of communication. For a typical web page there are 3 socket connections that can be concurrently open. A: Web Browser --> Apache B: Apache --> Tomcat C: Tomcat --> Database Now onto the security ... A: If ssl then secure B: If ssl, then secure. If not ssl, then someone betwe

Re: Hostname/port from ServletContext

2003-03-05 Thread Tim Funk
You can't. That is because the context runs in some type of service which will present you with the requests. So only at request time can you know the hostname and port number of the server. For example: I have a web server which listens on ports 8080-8090 inclusive. That means that anyone coul

Re: response.sendRedirect( .. )

2003-03-05 Thread Tim Funk
Section 4.4 of the Jsp spec: "An included page only has access to the JspWriter object and it cannot set headers. This precludes invoking methods like setCookie(). Attempts to invoke these methods will be ignored. The constraint is equivalent to the one imposed on the include() method of the Req

Re: Hostname/port from ServletContext

2003-03-05 Thread Tim Funk
The HttpServletRequest object contains that information, and it provides it to you on every request. -Tim rf wrote: I have some funcionality available on my server that is supposed to be used by clients over network(http). Now to demonstrate this I have some sample clients within my server, how

Re: How to listen for shutdown

2003-03-06 Thread Tim Funk
You can either use a LifeCycleListener to be tomcat specific http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/context.html or Serlvet api specific with ServletContextListener http://jakarta.apache.org/tomcat/tomcat-4.1-doc/servletapi/index.html -Tim Frank Lawlor wrote: I've looked through a

Re: [OT] Struts current statistics

2003-03-07 Thread Tim Funk
Here is the best place to approximate those statistics: http://www.apache.org/~vgritsenko/stats/ -Tim Shapira, Yoav wrote: Howdy, What is a "registered user" of struts? ;) I don't know if it's possible to obtain an accurate number of those. As for downloads, that's probably obtainable somehow f

Re: web.xml

2003-03-07 Thread Tim Funk
http://java.sun.com/products/servlet/download.html Look for Servlet specification 2.3. It describes webapps and web.xml. -Tim Jake Robb wrote: Where might I find good documentation on what exactly the contents of web.xml need to be? I've found a basic syntactical description, but is there somet

Re: getting pid

2003-03-08 Thread Tim Funk
Wait for 4.1.22 (coming soon) and it will have it. Or get the new catalina.sh below which is compatible with all 4.0.X releases too. (At least it was for me on 4.0.4) http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-4.0/catalina/src/bin/catalina.sh?rev=1.34&content-type=text/vnd.viewcvs-markup -

Re: question

2003-03-09 Thread Tim Funk
I just added this to my FAQ. http://tomcatfaq.sourceforge.net/apache.html To keep the noise down, complain to me in private if your opinion differs (or you think I'm wacko) and I'll try to update it accordingly. -Tim Paul Hsu wrote: Hi, I know tomcat already provide web server capability, under

Re: How to get catalina_home variable

2003-03-10 Thread Tim Funk
System.getProperty("catalina.home") should give you the CATALINA_HOME environment variable without doing anything extra special to any startup script. System.getProperty("catalina.base") will give you ... CATALINA_BASE -Tim Shapira, Yoav wrote: Howdy, In your startup script, add a -D argument

Re: How to get catalina_home variable

2003-03-10 Thread Tim Funk
mething new too. Interestingly, System.getProperty('java.home') gives 'c:\j2sdk1.4.1_01\jre' on my PC. Tim Funk <[EMAIL PROTECTED]> wrote:System.getProperty("catalina.home") should give you the CATALINA_HOME environment variable without doing anything extra special to any

Re: strangeness

2003-03-10 Thread Tim Funk
http://tomcatfaq.sourceforge.net/miscellaneous.html -Tim Mike Jackson wrote: Ok, what do I need to do to re-enable that? I don't want to rewrite all my applications. I'll fix them as I do other updates, but I don't want to fix them all at once (too much potential for problems). Or I suppose I

Re: web.xml migration from 3.2 problem

2003-03-10 Thread Tim Funk
If your webapp is GenDBconn, then your mapping should be: Controller /servlet/Controller Servlet mappings are relative to the webapp root, not the web browser root. Also, comment out the invoker servlet since you are already mapping your servlet to the one single URL

Re: Tomcat able to set session

2003-03-11 Thread Tim Funk
Yes, bug in IE. http://marc.theaimsgroup.com/?l=tomcat-dev&m=104247780113629&w= -Tim Reynir Hübner wrote: Hi all, I have an Internet Explorer 6, and tomcat (4.1.x) win32. I have two hosts, first one has the url: 1. http://website.host.domain.com And the other has : 2. http://admin.website.

Re: Tomcat4 - Not use date in Logger Element File Name?

2003-03-12 Thread Tim Funk
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/valve.html#Access%20Log%20Valve and http://jakarta.apache.org/tomcat/tomcat-4.1-doc/catalina/docs/api/org/apache/catalina/valves/AccessLogValve.html The javadocs have better detail in the attribues you may set. Quick summary, turn rotation off

Re: Tomcat Mailing List

2003-03-12 Thread Tim Funk
This might help too: http://tomcatfaq.sourceforge.net/tomcat-user.html -Tim Shapira, Yoav wrote: Howdy, I love how on your first day here you determine the mailing list is not suitable for this community ;) Yes, the list has much traffic. Yes, some of the traffic is off-topic. This is why we

Re: Tomcat not sending session cookies to IE

2003-03-14 Thread Tim Funk
Could it be this? http://marc.theaimsgroup.com/?l=tomcat-dev&m=104247780113629&w= -Tim Ian Bruseker wrote: Greetings, list. I'm having IE issues. :-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai

Re: Tomcat web admin change

2003-03-15 Thread Tim Funk
I don't think this can be done yet in any current releases because the admin app assumes it is in the path /admin. I think there have been patches which fix this and might be part of 4.1.23 which might be coming very soon. (Sorry for being so vague) -Tim Etienne wrote: Where can I change the

Re: Tomcat page redirect

2003-03-15 Thread Tim Funk
There is no "easy" way in tomcat. That is most people run apache in front of tomcat and apache already has the functionality, so there is no need to duplicate it in tomcat. The easy hack is to create an index.jsp and have it be one line: <% response.sendRedirect("iNeed/MoreCowebll.jsp"); ret

Re: tomcat monitoring

2003-03-16 Thread Tim Funk
There is none at this time. It appears this kind of functionality is coming in the future. (At least to 5) -Tim Kapil Sharma wrote: Hi, Is there any interface for tomcat similar to apache status module? I want to monitor the tomcat connections. kapil

Re: application scope question

2003-03-16 Thread Tim Funk
Application scope lasts for the life of the webapp. A webapps ends when either: a) Tomcat stops running b) The machine stop running c) The webapp is restarted -Tim Michael Ni wrote: for usebean, i know the bean expires for scope session when the browser is closed. but for scope application, wh

Re: a question about ajusting Tomcat

2003-03-17 Thread Tim Funk
Please get a book about servlet programming and/or visit many sites about tutorials for servlet/jsp programming. It will save a lot of frustration on everyones part. http://java.sun.com/products/servlet/docs.html http://java.sun.com/products/jsp/docs.html http://www.servlets.com/index.tea -Tim

Re: Tomcat page redirect

2003-03-17 Thread Tim Funk
The default file is called the welcome file with respect to the servlet specification (section 9.9) and is configured via web.xml. You can actually have any file name be your welcome file. -Tim Colin Browell wrote: --- Tim Funk <[EMAIL PROTECTED]> wrote: There is no "easy" way

Re: archive

2003-03-17 Thread Tim Funk
Scroll down to "Tomcat discussion lists" on this page: http://jakarta.apache.org/tomcat/bugreport.html -Tim andrea antibo wrote: Hi, where i can look for archive of this list for the last year? http://mikal.org/interests/java/tomcat/ is to march 2002 --

Re: JSP Issue with tomcat 4.1.18

2003-03-17 Thread Tim Funk
There is no way. For those of you playing at home, here is what is going on. Consider the snippet: <% String moreCowbell = null %> I need: <%=moreCowbell%> The results for weblogic is: I need: The result for tomcat (and many other servlet engines) is: I need: null The code which is generated lo

Re: Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error

2003-03-18 Thread Tim Funk
Make sure you are using a JDK and not JRE. It looks like there is no java compiler available. -Tim lunasahu wrote: This is the error during jsp execution. How to solve this error; Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error --

Re: tomcat manager

2003-03-18 Thread Tim Funk
Nope. -Tim Kapil Sharma wrote: Hi, Is it possible to view the active database connection in tomcat database pool? kapil - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Extending HttpServletRequest / HttpServletResponse ???

2003-03-18 Thread Tim Funk
I'd recommend getting a Serlvet programming book and optionally a JSP book. They will come in very handy for these questions. valve - Tomcat specific filter - "Like" a valve but portable across other servlet containers because its part of the serlvet specification. requests/response can be wra

Re: Extending HttpServletRequest / HttpServletResponse ???

2003-03-18 Thread Tim Funk
to try something a little different and be demoted to idiot status with the statment , "get a book" Does anyone have an useful information -Rick -----Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 18, 2003 11:02 AM To: Tomcat Users List Subjec

Re: Best way to capture Stack Trace when Tomcat Failes complete?

2003-03-18 Thread Tim Funk
2 easy(but not the only) ways: 1 - Hack catalina.bat to redirect standard output to a file. 2 - Use cygwin and stdout/error will go to logs/catalina.out -Tim Matt Fury wrote: Hi All, I am doing some native programming with Java and C++ DLL. The DLL works the first time around through a JSP page

Re: config question

2003-03-18 Thread Tim Funk
Since 4.1.12 - tomcat doesn't leave the invoker serlvet on by default. The invoker servlet is the "magic" servlet that allows you to run servlets without registering them in web.xml For more information see here: http://tomcatfaq.sourceforge.net/miscellaneous.html -Tim Mantri, Mr. Ramesh wrote

Re: two copies of each post

2003-03-18 Thread Tim Funk
this be fixed somehow? sincerely, Ramesh -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 18, 2003 4:17 PM To: Tomcat Users List Subject: Re: config question Since 4.1.12 - tomcat doesn't leave the invoker serlvet on by default. The invoker servlet i

Re: Concurrent users accesing JSP application

2003-03-19 Thread Tim Funk
All tomcat binaries are free and there are no evaluations. Make sure someone isn't swindling you. As for concurrent access, tomcat can handle many concurrent users. The only restriction is your code (or code your using) must be thread safe. If you are using ODBC (JDBC-ODBC bridge) - you will pr

Re: JSTL ForEach tag - Memory Leak with Tomcat

2003-03-19 Thread Tim Funk
What happens if enablePooling=="false"? You can set this in $CATALINA_HOME/conf/web.xml. -Tim Gareth Hall wrote: I seem to have a memory leak in my Web Application which occurs when using the JSTL tag. More specifically I'm using the tag to iterate through an ArrayList of objects. The contents

tomcat-user@jakarta.apache.org

2003-03-19 Thread Tim Funk
I think your cookie has commas (other illegal characters) in it from the looks of the dump below. I think 4.1.24 handles this condition a little better. -Tim Jackson, Stephen wrote: I am using tomcat 4.1.18 on a Linux machine. I seem to be having a problem with cookies. The object that is

tomcat-user@jakarta.apache.org

2003-03-19 Thread Tim Funk
.1.24 does not work. I get the same exception. Any other ideas? -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 19, 2003 10:05 AM To: Tomcat Users List Subject: Re: java.lang.IllegalArgumentException: 011English&m%2Fd%2Fyy&%2E &,&, I

Re: Possible to have default classes and taglib includes in JSPs?

2003-03-19 Thread Tim Funk
No - you have to explicitly import the classes and/or taglibs. -Tim Gavin, Rick wrote: Hi all, Does anyone know if you can include classes and taglibs in all jsp pages in a webapp by default, instead of having to import and reference them on each page? I didn't see it in the servlet or jsp spe

Re: User Interface To Tomcat User List

2003-03-19 Thread Tim Funk
The Mailing list ARChives at http://marc.theaimsgroup.com/ is fairly instant. http://marc.theaimsgroup.com/?l=tomcat-user&r=1&b=200303&w=2 -Tim Chris Agmen-Smith wrote: Having just spent the last half hour deleting 30-odd messages from my inbox, I feel honour-bound to contribute :o) (1) I use

Re: restricting accesb by ip address

2003-03-20 Thread Tim Funk
Try the Remote Address Filter http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/valve.html -Tim Neil Blue wrote: Hello, I am using tomcat4 and would like to restrict access to a set of jsp pages, based on the IP address of the client. I have found how to do this with apache, but I am usin

Re: Explanation for the server.xml

2003-03-20 Thread Tim Funk
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/index.html -Tim B A L A J I wrote: Hi, Where can I find an explanation of the tags in the server.xml of the Tomcat and the changes in the various versions of Tomcat. Kind Regards Balaji -

Re: Most deployed version of Tomcat

2003-03-20 Thread Tim Funk
Everyone will probably recommend 4.1.X. I still use 4.0.X with no problems on a fairly high volume site. Stay away from 3.X unless you are stuck with a 1.1 JDK or have some other wacky technical requirement. Not that 3.X is bad - it only supports the 2.2 spec. -Tim B A L A J I wrote: Hi, Do

Re: Error In Tomcat But Not WebLogic

2003-03-20 Thread Tim Funk
Weblogic isn't the best at obeying the spec. (From past painful experience) You probably have code which is sending data to the browser and then the response is getting committed. Then you try a RequestDispatcher.forward(). This is illegal with respect to the spec. It could be because weblogic

Re: Setting up permissions for jsp directory

2003-03-21 Thread Tim Funk
The easiest way is to place your jsps inside of your WEB-INF directory. Otherwise - if you are using apache in front of tomcat there are directives which can do that. Otherwise - You can create a security constraint which nobody has access to. (Configured in web.xml) -Tim Nihita Goel wrote: I

Re: Header and Footer in directory listing .....

2003-03-21 Thread Tim Funk
AFAIK - there is no way. But if you are using apache in front of tomcat - there are some ways to decorate directory listings. I don't know the details, but I think its in the apache docs. -Tim [EMAIL PROTECTED] wrote: Hi, Can anyone let me know how to change the look and feel of directories li

Re: Classpaths

2003-03-21 Thread Tim Funk
If have classes in shared/classes and they depend on other classes (that are in jars), you can place the jars in shared/lib without a problem. -Tim Richard Jones wrote: I have a question on java classpaths. If I have a set of java classes and want to use them I put them into tomcat/shared/classe

Re: internal server error

2003-03-21 Thread Tim Funk
Make sure you have as many tomcat workers(maxProcessors) as apache workers. -Tim Adrian Epuras wrote: I'm using tomcat 4.1.18 and apache 2.0.44 with JK2 on Slackware 8.1. And from time to time I get something like this: Internal Server Error The server encountered an internal error or misconfigur

Re: Corrupted file

2003-03-21 Thread Tim Funk
What os and file are you using? If it is a tar.gz (.tgz) file - you need to your GNU tar since tar from proprietary unixes may not work right (solaris/hpux). PKunzip also doesn't like tgz files either. -Tim Allan Campos de Moraes wrote: Hi, Every time I try to download the tomcat fil

Re: no Tomcat process & error stopping service (Red Hat 8.0)

2003-03-21 Thread Tim Funk
Look for /var/tomcat4/logs/catalina.out. There will be an error message in there of what went wrong. -Tim Lisa Foister wrote: I'm very much a Linux newbie, so I may be missing something obvious here, but I think I've got the J2SDK set up right, and I thought I had Tomcat set up right. I've co

Re: no Tomcat process & error stopping service (Red Hat 8.0)

2003-03-21 Thread Tim Funk
mission denied:80 at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoi nt.java:270) at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java) at org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteCo nnector. > < SNIPPED > On Friday, March 21,

Re: Reloading shared/lib JAR files?

2003-03-22 Thread Tim Funk
If you redeploy jars into /shared/lib - they will not be reloaded on a webapp reload and there is no way to reload them(except a stop/start of tomcat). But jars/classes in WEB-INF/ can be reloaded. If you have jars in shared/lib that need reloaded when an webapp is reloaded - you might need to

Re: HPUX and tomcat help!

2003-03-25 Thread Tim Funk
Can you use a 1.3 JVM with all the latest OS patches? I'd be surprised if a 1.4 JVM was production worthy for HPUX. (YMMV) OS patches are the most important part. Also make sure enableHost lookups are off. And when tomcat freezes - perform a thread dump to look for anything potentially insight

Re: status 404 when migrating from 4.0.4 to 4.1.24

2003-03-26 Thread Tim Funk
If this thread is still alive ... http://tomcatfaq.sourceforge.net/miscellaneous.html And check the links to previous conversations about this. -Tim John Turner wrote: The Invoker servlet in 4.1.x is disabled by default for security reasons. You will need to enable it (not recommended) or expli

Re: Class not found

2003-03-26 Thread Tim Funk
http://tomcatfaq.sourceforge.net/classnotfound.html Odds are servlet.jar is somewhere it shouldn't be. servlet.jar should be in $CATALINA_HOME/common/lib/ (and only there) -Tim Herbert G. Fischer wrote: Hi again, Just after starting Tomcat, I'm getting the following error. I don't know if this

Re: Class not found

2003-03-26 Thread Tim Funk
the wrong classloader. Then when dependent classes need loaded - they might not be found. Does your app work with these errors below? Or is this from the tomcat install with NO changes at all? -Tim Herbert G. Fischer wrote: And why there is no JspServlet on Tomcat 4.1.24's servlet.jar ??? Tim Fu

Re: Class not found

2003-03-26 Thread Tim Funk
This is gonna sound real dumb but ... what happens if you undo all the changes? -Tim Herbert G. Fischer wrote: I've got the error with a clean common and lib dirs... I only have changed things on server.xml and have some files on webapps/context. (The rest is snipped and can be found at http

Re: Class not found

2003-03-26 Thread Tim Funk
gured, the error appears to not affect my apps since they are working. I think that Tomcat is loading the JspServlet's jar twice, it's possible? I have 2 services configured on Tomcat, maybe this is related. Maybe Tomcat is loading jars one time for each service. Tim Funk wrote: This is g

Re: Anyone successfully authenticating Tomcat users w/ windows logininfo using a JNDIRealm?

2003-03-26 Thread Tim Funk
If you have multiple domains, I think your out of luck. If you run a single active directory domain, you *might* be able to do something like this: ldap://need.morecowbell.com:389"; userBase="dc=more,dc=morecowbell,dc=com" userSearch="(userPrincipalName={0})" userRoleName="member" roleBase="dc=m

Re: configuring server.xml with a server with more than 1 IP address

2003-03-26 Thread Tim Funk
The shutdown listerner always listens on localhost. So if you rn multiple tomcat instances, you need to use different shutdown ports. If you want them accessible from the outside (which is a real bad idea), use plug proxy. -Tim Chris Gokey wrote: In server.xml, I'm looking for a way to specif

Re: Doubt in Clustering Technology.

2003-03-27 Thread Tim Funk
http://www.filip.net/tomcat-clustering.html Filip lurks here so if you have patches or complaints - I believe he is more than willing to listen. -Tim K. Loganathan wrote: Dear Friend Can you tell me how to implement Clustering Technology with Tomcat. Please give implementation steps w

Re: Javascript and tomcat

2003-03-27 Thread Tim Funk
I think Orion is doing extra server parsing. Because of this line: ^ "$object.getCivicNo()" is probably being translated by Orion into something else but tomcat doesn't handle that syntax. -Tim Mattias Carlehäll wrote: Hi Is there something I have to se

Re: Javascript and tomcat

2003-03-27 Thread Tim Funk
Javascript and the webserver are independent of one another since javascript runs on the client. My guess is velocity isn't running on the tomcat. If you have both web server instances available, I would save the output source from both and diff them and hope something helpful shows up. -Tim

Re: Catching ServletExceptions through filter

2003-03-28 Thread Tim Funk
You *might* be able to get away with this: public void doFilter(...) { try { ... chain.doFilter(request, response); ... } catch(ServletException e){ ... RequestDispatcher rd = request.getRequestDispatcher("/WEB-INF/moreCowbell.jsp"); rd.forward(request,resp

Re: Memory Woes

2003-03-28 Thread Tim Funk
Also make sure your not compiling JSP pages. -Tim Shapira, Yoav wrote: Howdy, You need to keep profiling until you find memory leaks and fix them, or redesign your app to use less memory, or increase the amount available to the JVM, or restart tomcat more frequently, or some combination of the ab

Re: DBCP + Oracle + Blob

2003-03-28 Thread Tim Funk
I think this is more for commons-user but heres a try: ((DelegatingResultSet)rs).getDelegate() should give you the underlying ResultSet. -Tim [EMAIL PROTECTED] wrote: Hi, I have some problems with DBCP in Tomcat 4.1.24 to save something in a BLOB field in Oracle. Usually I write this code

Re: Memory Woes

2003-03-28 Thread Tim Funk
ght my eye. What do you mean make sure your not compiling JSP pages? -Brian -Original Message----- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 6:20 AM To: Tomcat Users List Subject: Re: Memory Woes Also make sure your not compiling JSP pages. -Tim Shapira, Yoav wro

Re: DBCP + Oracle + Blob

2003-03-28 Thread Tim Funk
Aha! It was aded a long time ago but dbcp hasn't done a release since. I do see a struts tags - so the struts project might be distributing a "stable" version which has this change. http://cvs.apache.org/viewcvs.cgi/jakarta-commons/dbcp/src/java/org/apache/commons/dbcp/DelegatingResultSet.java.d

Re: Creating an HTML file with the correct codebase and archivevalueparameters for a jar in the /WEB-INF/lib directory

2003-03-28 Thread Tim Funk
Java(TM) Servlet API Specification ("Specification") Version: 2.3 SRV.9.5 Directory Structure http://java.sun.com/products/servlet/download.html -Tim Susan Hoddinott wrote: Thanks. Do you have the servlet spec reference link where this is explained? - Original Message - From: "Craig R.

Re: Tomcat buffer size problem?

2003-03-28 Thread Tim Funk
In the copy of the spec I see: <%@ page page_directive_attr_list %> page_directive_attr_list ::= { language=” scriptingLanguage” } { extends=” className” } { import=” importList” } { session=”true|false” } { buffer=”none| sizekb” } { autoFlush=”true| false” } { isThreadSafe=”true|false” } { info=”

Re: Tomcat buffer size problem?

2003-03-28 Thread Tim Funk
e not encounter this issue with Tomcat 4.0.6, but with Tomcat 4.1.21 and 4.1.24. Willy -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 5:43 PM To: Tomcat Users List Subject: Re: Tomcat buffer size problem? In the copy of the spec I see: <%@ page p

Re: Casting DBCP Connection to OracleConnection

2003-03-31 Thread Tim Funk
All dbcp objects have a getDelegate() method (I think). But you'll need to do 2 casts. - dbcpConn = (DBCPClassCast)conn--> The dbcp connection - myOraConn = (OraClassCast)dbcpConn.getDelegate() --> Get the underlying implementation Look at the DBCP javadocs for the correct class names. BUT you'

Re: Casting DBCP Connection to OracleConnection

2003-03-31 Thread Tim Funk
= (OracleConnection)pc.getDelegate(); Fails in line 2 -Sundar -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Monday, March 31, 2003 10:34 AM To: Tomcat Users List Subject: Re: Casting DBCP Connection to OracleConnection All dbcp objects have a getDelegate() method (I

[OT] Re: Casting DBCP Connection to OracleConnection

2003-03-31 Thread Tim Funk
What kind of run-time failure? Is it a class-cast exception? If so what is the exception? -Tim Chakravarthy, Sundar wrote: Run-time failure using both getInnermostDelegate() and getDelegate(). Any other alternatives ? -Sundar -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED

Re: Use Regex in a JSP page?

2003-03-31 Thread Tim Funk
yep -Tim Gene Gorsky wrote: Can we use the Regex class in a JSP page? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Help with one Apache, mod_jk, two Tomcats, no load balancing

2003-03-31 Thread Tim Funk
Do you have JkWorkersFile and NameVirtualHost defined before the virtual host defs? (1.3 syntax follows ... ) For example: JkWorkersFile conf/workers.properties NameVirtualHost 192.168.0.1 DocumentRoot "/home/more/htdocs" JkMount /*.do cowbell ... When in doubt, turn up the debugger. JkLo

Re: monitoring web apps

2003-04-03 Thread Tim Funk
Apart from a profiling tool, not really. The manager app will tell you how many sessions exist per webapp. -Tim Steve Harris wrote: Hi all, I run a few apps under tomcat 4 and I'm wondering if there are any tools for monitoring what each app is doing - memory usage, cpu utilization etc ? I use

Re: JDBC URL from webserver

2003-04-06 Thread Tim Funk
jdbc:oracle:thin:@xxx.aa.bb.zz:1521:sid_name should work. (At least with oracle 8) I've never used the other style. -Tim dwightHugget wrote: Can anyone confirm that using either of these 2 styles of JDBC URL ought to work when web container is running on one machine and DBMS is on another machi

Re: upgrade from tomcat4.1.12 to 4.1.24

2003-06-06 Thread Tim Funk
Rename $TOMCAT_HOME/server/lib/servlets-cgi.renametojar to $TOMCAT_HOME/server/lib/servlets-cgi.jar and edit $TOMCAT_HOME/conf/web.xml to enable the cgi servlets -Tim Xavier Ambrosioni wrote: Hi all, I upgraded my tomcat installation from 4.1.12 to 4.1.24. Now I have the following problem when I

Re: Tomcat stability under hpux 11.00 64 bit.

2003-06-06 Thread Tim Funk
As with any OS ... - Make sure your have the right patches for the OS. - Try both 1.3, and 1.4 JVM's. In the past, it took forever to HP to deliver and stable 1.2, 1.3 JVM. (forever is relative to our project consistently barfing in the lab) - Stack trace. When things hang, get stack traces. Get

Re: Tomcat configuring for email

2003-06-06 Thread Tim Funk
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-resources-howto.html Look for the JavaMail Sessions section. -Tim Clement wrote: Hello... I would like to check with for emailing purposes.. how do i enable tomcat to send an email to a user? Can version 4.01 do this or do u need a new

Re: customized MBean

2003-06-06 Thread Tim Funk
You need to add you bean to mbeans-descriptors.xml http://jakarta.apache.org/tomcat/tomcat-4.1-doc/mbeans-descriptor-howto.html -Tim [EMAIL PROTECTED] wrote: Hi, I`d like to use a customized MBean, but it does not show up in the Admin Console. (I get no exceptions and no erros in the log files) I

Re: Tomcat stability under hpux 11.00 64 bit.

2003-06-06 Thread Tim Funk
stack trace out of tomcat? Thanks Allen From: Tim Funk <[EMAIL PROTECTED]> Date: 2003/06/06 Fri AM 07:10:33 EDT To: Tomcat Users List <[EMAIL PROTECTED]> Subject: Re: Tomcat stability under hpux 11.00 64 bit. As with any OS ... - Make sure your have the right patches for the OS. - Try

Re: Tomcat stability under hpux 11.00 64 bit.

2003-06-06 Thread Tim Funk
trace. -Tim [EMAIL PROTECTED] wrote: I don't get anything going to catalina.out or any other file when this thing freezes. It just stops responding and keeps running on the unix box. The cpu is up to about 80% of 6 cpu's when tomcat hangs. From: Tim Funk <[EMAIL PROTECTED]> Date:

Re: Migration issues in Tomcat 4.1.24 ( help)

2003-06-06 Thread Tim Funk
If you are maintaining state via sessions, the session cookie is NOT configureable in tomcat. (Nor does it need to be) If you need SingleSignOn - look at the SingleSignOnValve cookiePath --> A useless parameter (imo) -Tim Loyd Bacani wrote: I am in the process of migrating all Servlets/JSP fr

Re: Migration issues in Tomcat 4.1.24 ( help)

2003-06-06 Thread Tim Funk
ication code. Is it possible to set a variable named "cookiePath" in server.xml and where? To mimic weblogic's implementation. Any thoughts Tomcat warriors (me included)? Tim Funk <[EMAIL PROTECTED]> wrote: If you are maintaining state via sessions, the session cookie is N

Re: Clear User Session

2003-06-06 Thread Tim Funk
Depending on who you talk to its a bug or not a bug in tomcat. session.getAttributeNames() returns an Enumeration. Under the covers, the Enumeration is actually a facade around an Iterator. Iterators are fail-fast so if you are enumerating through session attributes and make changes, you get th

Re: tomcat 5 won't compile my jsp

2003-06-07 Thread Tim Funk
Tomcat5 precompiles all of it's jsps during the build of tomcat5. So if you change any jsp shipped with tomcat you will either need to A) Rename your change to a new file -- or -- B) Remove the web.xml entries which map the jsps to a particualr class -Tim Julien Martin wrote: Hello, I am havin

Re: what's an MBean and why won't my AJP13 listenere work?

2003-06-07 Thread Tim Funk
Try using the coyote listeners. -Tim Dave Naden wrote: I'm trying to config Tomcat 4.1.24 with IIS, and one step is to uncomment the line from server.xml: but when I do this, Tomcat won't start, and I get the following in the error log: Jun 7, 2003 1:40:03 PM org.apache.coyote.http11

Re: Assessing Tomcat's State

2003-06-07 Thread Tim Funk
Depending on your needs if you just need UP or down, you can use wget or a similar agent. You can also set CATALINA_PID in unix before calling the startup scripts and the file referenced by CATALINA_PID will contain the process ID. Or you can write a LifeCycle Listener to trap startup and shutd

Re: Assessing Tomcat's State

2003-06-07 Thread Tim Funk
alina.out and trigger an event went it doesn't change. This is nasty since many things can cause the file to appear idle i.e., a busy CPU. Any thoughts on these assessing these remaining states? -FB On Saturday, June 7, 2003, at 02:41 PM, Tim Funk wrote: Depending on your needs if you

Re: allowLinking and Warp Connector

2003-06-07 Thread Tim Funk
I recommend dumping the warp conector and using JK. -Tim [EMAIL PROTECTED] wrote: Hello everybody, We are using Tomcat 4.1.24 and our Webapps are accessed via a symbolic link. Thus I had to configure my Contexts with a the allowLinking option: This worked well if I connected via Http

Re: Problem with Message Archives?

2003-05-27 Thread Tim Funk
http://marc.theaimsgroup.com/ worked fine for me. -Tim Kevin Andryc wrote: Hi, I was wondering if anyone has problems obtaining archived messages when performing a search? I have tried several times but have received a "403: Forbidden" message on every message I have received back from the sear

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

  1   2   3   4   5   6   7   8   9   10   >