Tomcat 5.5.9: SAXParser error

2005-07-18 Thread Craig Dixon
I have the following configuration: JDK: 1.5.0_03 Apache Web Server: 2.0.52 Tomcat: 5.5.9 Connector: mod_jk 1.2.14 Server OS: Windows Server 2003 I encounter the following problem: Every time I update a JSP, then try to access it via a browser, I encounter: HTTP Status 500 - type Exception repo

Re: Tomcat 5.5.9 - When JSPs change, gives error "org.apache.xerces.jaxp.SAXParserFactoryImpl could not be instantiated"

2005-07-12 Thread Craig Dixon
hrown first? Can anybody help me with this? It's driving me nuts! On 7/11/05, Craig Dixon <[EMAIL PROTECTED]> wrote: > Another thought that just occurred to me is that the problem could be > my use of the mod_jk2 connector. Could this be it? > > I'd like to use t

Re: Datasource works in Tomcat 5.5.4 but not 5.5.9

2005-07-12 Thread Craig Dixon
context.xml, but authenticates from elsewhere, probably Active Directory, since I have to log on to my desktop workstation via Active Directory. Any idea why 5.5.9 will not authenticate this way, or more importantly, how to cause it to authenticate this way? On 7/8/05, Craig Dixon <[EMAIL PROTECTED]>

Re: Datasource works in Tomcat 5.5.4 but not 5.5.9

2005-07-12 Thread Craig Dixon
context.xml, but authenticates from elsewhere, probably Active Directory, since I have to log on to my desktop workstation via Active Directory. Any idea why 5.5.9 will not authenticate this way, or more importantly, how to cause it to authenticate this way? On 7/8/05, Craig Dixon <[EMAIL PROTECTED]>

Re: Tomcat 5.5.9 - When JSPs change, gives error "org.apache.xerces.jaxp.SAXParserFactoryImpl could not be instantiated"

2005-07-11 Thread Craig Dixon
hat are as clear and concise as these for mod_jk2: http://mpcon.org/apacheguide/#jsp Any suggestions? On 7/11/05, Craig Dixon <[EMAIL PROTECTED]> wrote: > Yes, I am running JDK 1.5.0_03. Is there any problem between Tomcat > and this JDK? > > On 7/11/05, Tim Diggins <[EMAIL

Re: Tomcat 5.5.9 - When JSPs change, gives error "org.apache.xerces.jaxp.SAXParserFactoryImpl could not be instantiated"

2005-07-11 Thread Craig Dixon
ity package for tomcat 5.5) > > as the compatibility package (as I understand it) addresses xml parser > versioning/instantiation issues. > > -- Tim > > > > Craig Dixon wrote: > > I've encountered a strange problem with my JSPs in Tomcat. Whenever I > >

Datasource works in Tomcat 5.5.4 but not 5.5.9

2005-07-08 Thread Craig Dixon
I am encountering a very strange problem when trying to use a datasource in Tomcat. I got Tomcat 5.5.4 to access the datasource by using the following in \conf\Catalina\localhost\.xml I use this in conjunction with the following in \webapps\\WEB-INF\web.xm

Tomcat 5.5.9 - When JSPs change, gives error "org.apache.xerces.jaxp.SAXParserFactoryImpl could not be instantiated"

2005-07-08 Thread Craig Dixon
I've encountered a strange problem with my JSPs in Tomcat. Whenever I change one of them, then try to access it from the browser, I get the following error: HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilli

Problem Binding Tomcat to Ports 80/443

2005-04-26 Thread Craig
modified for my installation as I do when I try to run tomcat as root! It's like something has mysterously taken over ports 80/443 and won't tell me about it or give them back! Any suggestions? - Craig "Ne te quaesiveris extra."

Does it matter?

2005-01-16 Thread craig . mcclanahan
Your photo, uahhh , you are naked! +++ Attachment: No Virus found +++ Panda AntiVirus - www.pandasoftware.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Hi

2004-11-26 Thread craig . mcclanahan
-- Virus Warning Message (on uusnwa0n) Found virus WORM_NETSKY.Z in file Notice.txt .exe (in Notice.zip) The file is deleted.

Install 5.5.4 on Mac OS X

2004-11-11 Thread Craig Mattocks
This script is overkill but perhaps it will help someone. - Craig #!/bin/sh # # This UNIX script installs the Tomcat servlet # # container on Mac OS X computer systems. # # - - - - - - - - - - - - - - - - - - - - - - - # # Make this script

RE: Multi-Site Clustering? (hot failover)

2004-11-09 Thread Craig Collings
have to build the clients... : -Original Message- : From: Craig Collings [mailto:[EMAIL PROTECTED] : Sent: Wednesday, 10 November 2004 3:00 p.m. : To: 'Tomcat Users List' : Subject: RE: Multi-Site Clustering? (hot failover) : : : Hi Steve, : : I presume you are thing some

RE: Multi-Site Clustering? (hot failover)

2004-11-09 Thread Craig Collings
Hi Steve, I presume you are thing something like this: http://dev.mysql.com/doc/mysql/en/Replication.html : -Original Message- : From: Steven J.Owens [mailto:[EMAIL PROTECTED] : Sent: Wednesday, 10 November 2004 2:55 p.m. : To: [EMAIL PROTECTED] : Subject: Multi-Site Clustering? (hot fai

RE: comparison of Type 4 JDBC drivers

2004-11-09 Thread Craig Collings
cheers guys. To be fair, there is no real indication that it _is_ the jdbc driver. In fact the satck trace seems to indicate an interation between sun's code and ntdll.dll which is rather more scary :) Its only happened once - we'll see. jtds looks good though... /disco : : I don't know if it

RE: comparison of Type 4 JDBC drivers

2004-11-09 Thread Craig Collings
Interesting. I'm using com.microsoft.jdbc.sqlserver.SQLServerDriver which is a type 4 driver and I am also getting ex VM errors: any ideas? An unexpected exception has been detected in native code outside the VM. Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc005) occurred at PC=0x77F46

Hi

2004-11-01 Thread craig . mcclanahan
-- Virus Warning Message (on uusnwa0p) Found virus WORM_NETSKY.Z in file Informations.txt .exe (in Informations.zip) The file is deleted.

Mail Delivery (failure)

2004-10-31 Thread craig . mcclanahan
Message has been sent as a binary attachment. Attachment: No Virus found Norman AntiVirus - www.norman.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Document

2004-10-27 Thread craig . mcclanahan
-- Virus Warning Message (on uusnwa0p) Found virus WORM_NETSKY.Z in file Textfile.txt .exe (in Textfile.zip) The file is deleted.

Hi

2004-10-14 Thread craig . mcclanahan
-- Virus Warning Message (on uusnwa0p) Found virus WORM_NETSKY.Z in file Part-2.txt .exe (in Part-2.zip) The file is deleted.

Important

2004-10-11 Thread craig . mcclanahan
-- Virus Warning Message (on uusnwa0p) Found virus WORM_NETSKY.Z in file Details.txt .exe (in Details.zip) The file is deleted. --

Information

2004-10-05 Thread craig . mcclanahan
-- Virus Warning Message (on uusnwa0p) Found virus WORM_NETSKY.Z in file Informations.txt .exe (in Informations.zip) The file is deleted.

Information

2004-10-03 Thread craig . mcclanahan
-- Virus Warning Message (on uusnwa0p) Found virus WORM_NETSKY.Z in file Data.txt .exe (in Data.zip) The file is deleted.

Hi

2004-10-03 Thread craig . mcclanahan
-- Virus Warning Message (on uusnwa0p) Found virus WORM_NETSKY.Z in file Notice.txt .exe (in Notice.zip) The file is deleted.

Document

2004-09-29 Thread craig . mcclanahan
-- Virus Warning Message (on uusnwa0p) Found virus WORM_NETSKY.Z in file Bill.txt .exe (in Bill.zip) The file is deleted.

RE: persistence after the request response cycle

2004-09-19 Thread Craig Berry
The usual mechanism for this is to persist intermediate data to a session-scope object which is persisted after all data has been accumulated. Struts provides excellent support for this pattern. -Original Message- From: ian stone [mailto:[EMAIL PROTECTED] Sent: Sun 9/19/2004 11:25

SSL Certificate Errors

2004-07-26 Thread Craig, William S.
Hi, I'm experiencing the following errors while running Tomcat 4.1.27 on Win2K. I have a U.S. Government certificate in X.509 format "trusted" on Tomcat. I'm trying to communicate on SSL, but it appears that my certificate isn't trusted. I followed the instructions - any ideas on why my certifica

Re: Your website

2004-07-23 Thread craig . mcclanahan
Please have a look at the attached file. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Overlapping security-constraint definitions?

2004-07-16 Thread Craig Berry
That makes sense. Unfortunately. :) We'll go with explicit listing of the more-restricted URLs. Thanks for the quick and thorough reply! -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker Sent: Thursday, July 15, 2004 7:59 PM To: [EMAIL PROTECTED] Subject:

Overlapping security-constraint definitions?

2004-07-15 Thread Craig Berry
le about /edit* pages is ignored. I could obviously enumerate all the pages in both categories, but that would be brittle in the face of new development. Is there a way to do this with patterns as I did under TC4? -- Craig Berry Principal Architect and Technical Manager PortBlue (310) 566-7546 --

Clob Problem

2004-07-12 Thread Craig Christophersen
are created without the clob the above code works just fine. The size of the Data field is 4K. There seems to perhaps be a persistence problem related only to clobs. Any helpful hints would greatly appreciated. Craig Christophersen (406)496-6421 [EMAIL PROTECTED]

RE: NPE in ActionForm where it is not be possible

2004-07-11 Thread Craig Berry
> From: QM [mailto:[EMAIL PROTECTED] > > I notice, you define/initialize the instance variable "log" at its > declaration point. > > Humor me: what happens if you initialize "log" in the ctor? Or for that matter, why not make the log member static? There's no harm in one log instance being share

Mail Delivery (failure tomcat-user@jakarta.apache.org)

2004-06-10 Thread craig . mcclanahan
If the message will not displayed automatically, follow the link to read the delivered message. Received message is available at: www.jakarta.apache.org/inbox/tomcat-user/read.php?sessionid-28616  

Hidden message

2004-06-08 Thread Craig . McClanahan
** ** WARNING: WinProxy has detected a virus in file attached to this e-mail message! The attachment has been automatically removed to protect your network. WinProxy Administrator: [EMAIL

Protected message

2004-03-31 Thread Craig . McClanahan
<>- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: ClassNotFoundException implementing new WebappLoader

2004-03-23 Thread Setera, Craig
Yoav, I didn't even think to try using a jar file because it should have been the same. But, it turns out that a jar file works in this case for some reason. Thanks for the tip. Craig -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 23, 20

ClassNotFoundException implementing new WebappLoader

2004-03-23 Thread Setera, Craig
roblem? Thanks, Craig SEVERE: Begin event threw exception java.lang.ClassNotFoundException: com.spss.catalina.loader.SPSSWebappLoader at java/lang/Throwable.(Throwable.java:217)

read it immediately

2004-02-25 Thread craig . mcclanahan
is that your account? <> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Mail Transaction Failed

2004-02-01 Thread craig . mcclanahan
The message contains Unicode characters and has been sent as a binary attachment. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: How is catch{} code handled

2004-01-02 Thread Craig Berry
Merrill Cornish [mailto:[EMAIL PROTECTED] wrote... > Why did main servlet processing appear to continue (allowing the > second sendRedirect() to cause a problem) after the exception was > triggered? Processing of a catch block does not terminate processing of the surrounding method. In other wo

Re: cannot log from a load-on-startup servlet in init()

2003-09-28 Thread Craig R. McClanahan
t;. This is almost certainly due to having more than one copy of the Log4J classes visible in the class loader hierarchy. Craig 2003-09-28 18:44:02 StandardWrapper[/dspc:DspcAxisServlet]: Marking servlet DspcAxisServlet as unavailable 2003-09-28 18:44:02 StandardContext[/dspc]: Servle

RE: Problems with JSP and tag

2003-09-18 Thread Craig Berry
Are you using a relative URL for the image? Try an absolute URL; if that works, then the base path isn't what you think it is. Use an html element to set it appropriately. If an absolute URL also doesn't work, try loading that image URL directly into the browser. If that works, then you've

Re: Tomcat 4.1 -> 5.0 Web-app Porting

2003-09-12 Thread Craig R. McClanahan
of bugs in the tag pooling code that could bite you in a page with lots of tags (typical of Struts apps), but that these bugs were fixed in 5.0.9. If that doesn't fix the problem, you can also turn off tag pooling with a servlet init parameter -- read the docs in "$CATALINA_HOME/conf/web.xml" for which one needs to be set. Craig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Simple question about JSP page

2003-09-05 Thread Craig Berry
Hard to tell with the information given, but my guess is that you're getting a browser-cached copy of the "list all" page. Add the header voodoo to suppress caching and see if that helps. -Original Message- From: engp0510 [mailto:[EMAIL PROTECTED] Sent: Fri 9/5

RE: where is JSESSIONID?

2003-08-16 Thread Craig Berry
As that's a session-scope cookie, it doesn't get persisted as a file. -Original Message- From: Billy Ng [mailto:[EMAIL PROTECTED] Sent: Fri 8/15/2003 6:41 PM To: Tomcat Users List Cc: Subject: where is JSESSIONID?

RE: extend j_security_check - filter or event listener?

2003-07-27 Thread Craig Berry
I handled this situation by having logged-in users have a UserModel object in the session. In a filter that catches all servlet requests, I check if request.getAuthenticatedUser returns non-null and there is no UserModel obj in the session. If this occurs, I know that a new user just logged in

RE: Jasper - including unbalanced jsp fragment

2003-07-19 Thread Craig Berry
got to see the content, but that's apparently not the case. Can someone please explain this? -Original Message- From: Craig Berry Sent: Saturday, July 19, 2003 6:07 PM To: [EMAIL PROTECTED] Subject: Jasper - including unbalanced jsp fragment I would like to include static content

Jasper - including unbalanced jsp fragment

2003-07-19 Thread Craig Berry
I would like to include static content from one file (call it header.inc) as part of the jsp text of another (mypage.jsp). Specifically, header.inc is supposed to include common html, head, and body content, following which mypage.jsp will contain page-specific content. So header.inc contains

RE: JSP Pre-compile and Deployment

2003-07-12 Thread Craig Berry
You place the class files in /WEB-INF/classes, then hand-code servlet mappings in web.xml pointing from each xxx.jsp name to the corresponding class. -Original Message- From: Lukas Bradley [mailto:[EMAIL PROTECTED] Sent: Sat 7/12/2003 10:58 AM To: [EMAIL

Re: How to get the container within an instance event?

2003-07-02 Thread Craig R. McClanahan
27 Scotland St. > Williamsburg, Virginia 23185 > PHONE: (757)299-4631 x35 FAX:(757)229-8912 > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > www.guidestar.org <http://www.guidestar.org> > Craig McClanahan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Cookie handling in IE6 and session handling of tomcat 4.1.24

2003-06-26 Thread Craig R. McClanahan
ext paths nested (instead of or in addition to domains), so it is not a general purpose solution. But it's an issue for the Tomcat developers to hash out. I'm not an active one any more (although I try to keep an eye on things there). > Dave Keyes Craig > > -Original Message

Re: STRUTS in Tomcat?

2003-04-04 Thread Craig R. McClanahan
ation.html#config_add For Struts 1.0 and 1.1, you should always package struts.jar (and the JARs it depends on) in "/WEB-INF/lib" of your webapp. More robust support for running with a shared struts.jar is on the wishlist for Struts 1.2. Craig -

Re: does the getRequestDispatcher().forward() method returncontrol?

2003-04-04 Thread Craig R. McClanahan
that works... > > As above, control is absolutely returned. However, there are some restrictions on what you can do afterwards -- in particular, you can no longer write to the response (it is assumed that the forwarded-to servlet took

RE: partially updating a WAR file using manager app??

2003-04-03 Thread Craig R. McClanahan
On Thu, 3 Apr 2003 [EMAIL PROTECTED] wrote: > Date: Thu, 3 Apr 2003 22:15:10 +0200 > From: [EMAIL PROTECTED] > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: RE: partially updating a WAR file using manager app??

RE: partially updating a WAR file using manager app??

2003-04-03 Thread Craig R. McClanahan
ed like a WAR (with a /WEB-INF directory and so on). Then, you just edit the JSP pages in place and they get automatically recognized. Don't even worry about WAR files until you get ready to package your app for production deployment. > thx alot > Johannes Craig ---

Re: Stats MBean for DBCP DataSources

2003-04-02 Thread Craig R. McClanahan
t to propose a patch to commons-dbcp (where BasicDataSource comes from) to add some counters for things like how many connections have been handed out, average time, or whatever else would be interesting. > Thanks, > > -chris Craig ---

Re: Listing all JNDI resources available

2003-03-29 Thread Craig R. McClanahan
no > function available for this, only for looking up a specific value. > > thx > Johannes Craig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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

2003-03-28 Thread Craig R. McClanahan
ile with the correct codebase and > archivevalue parameters for a jar in the /WEB-INF/lib directory > > Thanks. Do you have the servlet spec reference link where this is > explained? > Section 9.5, second paragraph: "No file contained in the WEB-INF directory may be

Re: Multiple databases for basic auth

2003-03-28 Thread Craig R. McClanahan
y represents several hundred different folks that have commit access to at least one Apache CVS repository :-). > Can anyone offer some guidance here? > > Any help in the matter would be greatly appreciated. > Thanks in advance. > > Michael D. Kirkpatrick > Craig

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

2003-03-27 Thread Craig R. McClanahan
t *not* be under "/WEB-INF", because the browser will not be able to retrieve them. Craig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Making an application disabled at startup

2003-03-27 Thread Craig R. McClanahan
if it is still false. > > > Jeff Tulley ([EMAIL PROTECTED]) > (801)861-5322 > Novell, Inc., The Leading Provider of Net Business Solutions > http://www.novell.com > Craig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: shared resources

2003-03-27 Thread Craig R. McClanahan
thods called, the next most common problem is getting your resource path to match the nested directory structure within whatever JAR file is holding the resource. Craig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tomcat 4.1.18 config for Servlet ...

2003-03-27 Thread Craig R. McClanahan
On Thu, 27 Mar 2003, Randal E. Curnutt wrote: > Date: Thu, 27 Mar 2003 13:23:09 -0500 > From: Randal E. Curnutt <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Re: Tomcat 4.1.18 config for Servlet ... > >

Re: Apache vs. Tomcat

2003-03-27 Thread Craig R. McClanahan
saying Apache is insecure -- it's not. But you should not make the assumption that Tomcat standalone is any *less* secure without some sort of proof, and the reported security vulnerabilities against the two (over the last f

RE: Threads in Servlet2.3 container

2003-03-27 Thread Craig R. McClanahan
time), but the policy described above will help you avoid nearly all of the pain. > > > Thanks, > > James > http://www.freelancedeveloper.org Craig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Threads in Servlet2.3 container

2003-03-27 Thread Craig R. McClanahan
tainer provider must ensure that the dispatch of the request to a target servlet occurs in the same thread of the same JVM as the original request. > Yoav Shapira > Millennium ChemInformatics > Craig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: overhead running from war rather than unpacked

2003-03-27 Thread Craig R. McClanahan
27;t see much value in spending the time it takes Tomcat to do the unpack), and didn't go look it up; sorry. Craig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: IllegalStateException on JSP page

2003-03-27 Thread Craig R. McClanahan
xception is exactly what should happen if the response has already been committed back to the client before this code is executed. When the response has been committed (because you've already written more characters than the size of the response buffer), the HTTP headers have already been sent --

Re: Tomcat 4.1.18 config for Servlet ...

2003-03-27 Thread Craig R. McClanahan
ot your web application in a directory named "/SAWSServlet" under webapps. To make this work, you need to do one of the following: * Use a different URL (http//localhost:8080/SAWSServlet/SAWSServlet) -- note that it is pretty confusing to have a webapp and

RE: Threads in Servlet2.3 container

2003-03-27 Thread Craig R. McClanahan
ign depend on these assumptions. > Actually, that's yes and yes. A single thread is used to process a single HTTP request (including all the filters on the filter chain, the ultimate call to the servlet, and any recursive calls via a RequestDispatcher). Craig --

Re: overhead running from war rather than unpacked

2003-03-27 Thread Craig R. McClanahan
ject: Re: overhead running from war rather than unpacked > > * Craig R. McClanahan <[EMAIL PROTECTED]> [0312 07:12]: > > Thanks for that, Craig - top perfromacen tuning tips! > > With this in mind, is there a definitive way to > ensure clients get a 'fresh' cop

Re: Architecture Details

2003-03-26 Thread Craig R. McClanahan
rsion of Tomcat that will soon (when Tomcat 5 final is released) will be two major version numbers out of date. > TIA > Bala > Craig McClanahan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: overhead running from war rather than unpacked

2003-03-26 Thread Craig R. McClanahan
apps. One suggestion -- if you hear someone tell you that Tomcat standalone is *always* faster than Tomcat behind a web server (or vice versa), please smile tolerantly and bite your tongue so you won't laugh at the person making this statement :-). The world is never ever quite that simple. Benchmarks are your friend, if the benchmark you use is *your* application. Otherwise, they are just a distraction :-). > Ilya Craig McClanahan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Bug #5585, #11091, #13924, #18040 Workaround ???

2003-03-26 Thread Craig R. McClanahan
1 is "thrown" for a protected > resource. Sort of makes sense, but makes it difficult to use the > tags to get a customized error page for a 401. > You do realize, I hope, that it's the *browser* that decides to ignore whatever the server sends along with a 401 error and cho

Re: SMTP Logger

2003-03-25 Thread Craig R. McClanahan
delegate the log calls to that after sending the emails. > I'm using Tomcat 4.03 under Redhat 8. > > Thanks in advance. > Chris Craig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: url-pattern problem? Deployed servlet works in Tomcat 4.0.4 butfails in Tomcat 4.1.18

2003-03-25 Thread Craig R. McClanahan
o know what's really going on. However, a workaround that will make Tomcat forward the "extra slash" URL to your servlet anyway would be to change the URL pattern to "/SAWSServlet/*" instead. > Randy > Craig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problem with Bookmarking a Login Page

2003-03-25 Thread Craig R. McClanahan
s) is going to be container specific. You are far better off training users to bookmark the first page within the protected portion of your webapp instead. IIRC, Tomcat 5 will attempt to forward to the login page (instead of a redirect), so that the actual URL won't be visible to users (and therefore susceptible to bookmarking). The downside for app developers is that you wil need to ensure that relative URLs (such as for images) work no matter what URL is actually requested -- the easiest way to do this is to have a element in the section of the page. Craig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Concurrent users accesing JSP application

2003-03-19 Thread Craig R. McClanahan
ven if you very carefully ensure that only one database operation at a time occurs, your application's response time will make it totally unusable for any reasonable number of concurrent users. > thanks > Sudhir > Craig McClanahan --

Re: User Interface To Tomcat User List

2003-03-19 Thread Craig R. McClanahan
s have pointed out, there are unofficial mirrors for TOMCAT-USER that let you access the list's content via NNTP if you want -- but with someone else taking the administrative hassles for managing that. If you want *me* to answer questions, you can also assume th

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

2003-03-19 Thread Craig R. McClanahan
be able to declare a "prelude" file that is attached to the front of every JSP page, which is real useful for stuff like this. For JSP 1.2 (i.e. Tomcat 4.1), the idea of a single file included with the <%@ include %> directive is the e

Re: 1,900 webapp contexts?

2003-03-19 Thread Craig R. McClanahan
arter approaches to this? I've thought about using a just a > single with the parent of the user webs being the docbase, but how do I > approach users who want to use their own classes and jars? > > Any suggestions are appreciated! > Craig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tomcat 3.3 to 4.1 - Changes?

2003-03-15 Thread Craig R. McClanahan
le.isAbsolute() will return true for). All other paths are interpreted as relative to the "appBase" directory of the element. > TIA > Norm > Craig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Please sign emergency petition to the U.N.

2003-03-10 Thread Craig R. McClanahan
opic for TOMCAT-USER and is an unacceptable use of this mailing list. There are plenty of forums for this sort of discussion -- please take it elsewhere. Craig McClanahan - To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

RE: Simple Question

2003-03-05 Thread Craig R. McClanahan
al questioner noted, web.xml is *not* reread when the "reload" command is used. This is a performance enhancement for people who are simply updating compiled classes -- parsing takes longer, so you have to explicitly ask for it via one of the above techniques. > --mikej Craig

RE: XML problem with Tomcat 4.1.18 (but was ok in 4.0.4)

2003-03-01 Thread Craig R. McClanahan
Networking Trail" for more info on the URL related APIs. http://java.sun.com/docs/books/tutorial/ > :( > Craig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: XML problem with Tomcat 4.1.18 (but was ok in 4.0.4)

2003-03-01 Thread Craig R. McClanahan
the origURL.openStream() call fails, that's definitely a bug ... but if it works, then the class loader has fulfilled its promise, and its up to you to provide the appropriate URL resolution services if you convert to a String and back again. Craig ---

Re: WEB-INF/classes not loading from corrrect classloader

2003-02-28 Thread Craig R
classfiles are always going to be loaded by the application/system classloader, not the webapp classloader. I found a plugin by sysdeo.com that solves this by calling bootstrap indirectly, so as not to include the application in the system classpath. Thanks, Craig At Friday, 28 February 2003

WEB-INF/classes not loading from corrrect classloader

2003-02-28 Thread Craig R
ding the WEB-INF/classes when debugging? Thanks in advance for your help! Craig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Classes are not loaded from WEB-INF/classes when debugging...

2003-02-28 Thread Craig R
e web application's WebappX class loader is processed, this class loader will look in the local repositories first, instead of delegating before looking." So why isn't WebbappClassLoader loading the WEB-

NES and Tomcat

2003-02-27 Thread Craig Pardey
d Tomcat 4.1.18 on Solaris 8. Any ideas, suggestions or experiences? Regards, Craig ** * IMPORTANT INFORMATION* This document should be read only by those persons to whom it is addressed and its content is not inte

RE: [BULK] - RE: [BULK] - Re: No processor available

2003-02-27 Thread Craig R. McClanahan
27;t sound like this should be too difficult to implement. Best bet is to submit an enhancement request: http://nagoya.apache.org/bugzilla/ For extra credit (and a *much* higher likelihood that it would get implemented quickly), a patch that makes it happen could be added as an attachment. Craig

Re: startup order for applications

2003-02-27 Thread Craig R. McClanahan
where a particular webapp had to be started, and available for HTTP requests, before a second one. The answer was to set up two elements, because Tomcat does guarantee that Services will be initialized in the order they are listed. For details, you can download JWSDP and examine the server.x

Re: realm getRole() method ?

2003-02-27 Thread Craig R. McClanahan
user > _does_ belong to. > That is also not feasible (or at least potentially too expensive to be practical) when "role membership" is a calculation, and not a lookup. This is true, for example, when your roles implementation is a rules engine of some sort, rather than a databa

Re: realm getRole() method ?

2003-02-27 Thread Craig R. McClanahan
aints or via programmatic lookups) in elements in the web.xml file. If you did this, you could parse "/WEB-INF/web.xml" and identify the list. You might also note that there is a facility for role aliasing present here, using the element. This lets you program an app that uses one

RE: Properties file [SOLVED?]

2003-02-26 Thread Craig R. McClanahan
too hard. :-) InputStream is = getClass().getResourceAsStream("config.properties"); properties.load(is); Craig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Tomcat 4.1.18 session objects

2003-02-25 Thread Craig R. McClanahan
d activation (swap back in from disk) happened. A fourth case relates to the fact that Tomcat saves and restores sessions across a server or application restart -- this is supposed to also triggers the activation and passivation stuff, so the same s

RE: Authentication and Roles - case sensitivity

2003-02-25 Thread Craig R. McClanahan
s that are defined by your Realm implementation "as is", or go change your Realm to return the role names in the case expected by your app. > > Thanks for any tips. > > Matt > Craig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Authentication and Roles - case sensitivity

2003-02-25 Thread Craig R. McClanahan
me and > database role? > > What does Tomcat do? > Tomcat is case sensitive everywhere except where the servlet spec says it is explicitly not case sensitive (such as request.getHeader()). That includes things like matching role

Re: need 2 appbase settings

2003-02-24 Thread Craig R. McClanahan
"appBase" location -- then, the automatic recognition will find them again. > Has anyone done this? If so, can you provide snippets from your > 'server.xml' and perhaps 'httpd.conf' to show us how it's done? > > Craig k - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: getServletConfig returning null

2003-02-16 Thread Craig R. McClanahan
on { ... do some stuff ... } because the container will call the init(ServletConfig) method in the base class, which will in turn call your init() method -- no risk of forgetting the superclass call. > Marc... > Craig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

  1   2   3   4   5   6   7   8   9   10   >