RE: How do I run servlets on the root directory of localhost?

2004-06-14 Thread Wendy Smoak
understand your question. What do you mean by 'edit'? -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: How do I run servlets on the root directory of localhost?

2004-06-14 Thread Wendy Smoak
ing to load them from, vs. where they actually are. Or... Find this part of server.xml, uncomment it, and change the docBase to wherever your files are. Note that it's relative to 'webapps'. This is from 4.1.30, adjust as necessary for a different Tomcat version.

RE: welcome page exposes contents of directory

2004-03-22 Thread Wendy Smoak
n for more info. Which doesn't address your https-only requirement, but that's why it's doing what it's doing. To achieve https-only here, we elected to block port 80 at the firewall. -- Wendy Smoak Applicat

RE: Stubborn simple servlet

2004-03-17 Thread Wendy Smoak
r / Anything else requires an exact match on the requested URL. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Tomcat error-page not working (was: RE: Tomcat and checked vs. unchecked exceptions)

2004-03-16 Thread Wendy Smoak
on /error.jsp Should I instead be doing something with RequestDispatcher and forwarding to this JSP to avoid the status being set to 500 and confusing IE? -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management

RE: Stubborn simple servlet

2004-03-16 Thread Wendy Smoak
er.xml back the way it was, put the contexts directly under 'webapps' and watch the logs closely. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Stubborn simple servlet

2004-03-16 Thread Wendy Smoak
mozilla. What URL are you visiting when you get the 404 error? Any chance it has /servlet/ in it? If so, read here: http://test.javaranch.com/wiki/view?InvokerServlet -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Re

RE: webapps\ROOT\WEB-INF\classes

2004-03-10 Thread Wendy Smoak
ment to Fruit.java, correct? Then you need to compile it, and place it in WEB-INF/classes/com/stevensons . If all that is done, please post the JSP code that Tomcat is complaining about. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Infor

RE: webapps\ROOT\WEB-INF\classes

2004-03-10 Thread Wendy Smoak
, so things start to fall apart at that point. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Need an answer to the disabled invoker servlet issue

2004-03-09 Thread Wendy Smoak
servlet in the example webapp, (and maybe they have, I'm on 4.1) because it would really be easier for people if things are consistent. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management ---

RE: webapps\ROOT\WEB-INF\classes

2004-03-09 Thread Wendy Smoak
rectory and putting your class in it? AFAIK, Tomcat builds its classpath at startup, so if the directory wasn't there then, it might not be seeing the contents now. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management ---

Need an answer to the disabled invoker servlet issue

2004-03-09 Thread Wendy Smoak
almost certain someone already has and I just can't find it. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: application unavailable

2004-03-01 Thread Wendy Smoak
nt task instead of the 'reload' task? -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Limit size of catalina.out ?

2004-02-27 Thread Wendy Smoak
d is the hardest part, and I'm not familiar enough with Tomcat to know where to look. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Problems using Servlet with 4.1.29, Apache 2.0.40 and https

2004-02-27 Thread Wendy Smoak
those for the context that contains your 'rreport' Servlet? -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Tomcat error-page not working (was: RE: Tomcat and checked vs. unchecked exceptions)

2004-02-25 Thread Wendy Smoak
no Apache error pages. I'm going to make a test webapp and a Servlet that throws various exceptions, to see if I can narrow this down. Obviously it's something I'm doing wrong, nobody else is having this problem. -- Wendy Smoak Applicati

Tomcat error-page not working (was: RE: Tomcat and checked vs. unchecked exceptions)

2004-02-24 Thread Wendy Smoak
-old Servlet, not a Struts Action. The same tag works fine in a different webapp, I'm at a loss as to why it fails in this one. The JSP is present in the location given in the tag. What am I missing, why do I get a Tomcat-generated error page and not the JSP I specified? -- Wendy

Tomcat and checked vs. unchecked exceptions

2004-02-20 Thread Wendy Smoak
This got no play on comp.lang.java.programmers, and while I don't think it's Tomcat specific, I'm at a loss as to how to present a nice error page when this happens. Help? Can someone possibly shed some light on this? I have a Servlet that keeps coming up with: ExceptionConverter: java.io.IOEx

RE: Order of Filters & Listeners

2004-02-06 Thread Wendy Smoak
> From: Wendy Smoak > I have a couple of Filters, after which there is a userid in session > scope. I was hoping, in a SessionListener, to pick up that userid and > use it to read something from the database, but no dice since things > happen in the opposite order. Ah, never m

Order of Filters & Listeners

2004-02-06 Thread Wendy Smoak
went looking for a RequestListener, but I'm on Tomcat 4.1 right now, and anyway for all I know that happens before the Filters also. Right now it looks like I'll put in another Filter, even though this stuff only needs to happen once per Session. Other suggestions welcome! -- W

RE: Errors not going to

2004-02-06 Thread Wendy Smoak
ght? Depending on its > implementation/configuration, it might be masking the IOException Thanks for pointing that out... ExceptionConverter is part of iText. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management ---

Re: Back to the "nonsecure items" thread

2004-02-05 Thread Wendy Smoak
tps, and then try to response.sendRedirect() to a Servlet that sends, for example, a PDF over https, IE will complain. But if you instead POST the form, then forward to some HTML that does nothing but redirect with a tag, to the exact same Servlet, IE is happy. Go figure. -- Wendy Smoak Application Systems

Errors not going to

2004-02-05 Thread Wendy Smoak
I'm getting an Status 500 page with this: ExceptionConverter: java.io.IOException: The document has no pages. Even though I have this in web.xml: java.io.IOException /WEB-INF/jsp/exceptions/Exception.jsp What did I miss? -- Wendy Smoak Application Systems Analyst, Sr

RE: Back to the "nonsecure items" problem

2004-02-03 Thread Wendy Smoak
onse is non-HTML over HTTPS. The workaround is to redirect the browser and make it GET the PDF (rather than forward the original POSTed response to the PDF Servlet.) So, never mind, I don't think it's a Tomcat problem. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA I

RE: Back to the "nonsecure items" problem

2004-02-03 Thread Wendy Smoak
Tomcat is sending that makes IE upset? I saw a post in the archives where someone thought maybe the text/pdf header was going in clear text? Any thoughts on appropriating the Thawte certificate that Apache is using and installing it on Tomcat, or is that not really the problem? -- Wendy Smoak Appli

Back to the "nonsecure items" problem

2004-02-03 Thread Wendy Smoak
eaded in a completely wrong direction? We've discussed this here before, and in the meantime I've gotten a handful of inquiries wondering if I solved the problem. As far as I know, it's still an open question. -- Wendy Smo

RE: Struts

2004-01-27 Thread Wendy Smoak
ings) and then you can visit http://localhost:8080/struts-example and try it out. There is a users list specifically for Struts, you'll probably want to ask further questions there. -- Wendy Smoak Application Systems Analyst, Sr. A

RE: servlets are no where to be found

2004-01-21 Thread Wendy Smoak
things, and as I recall you have to answer some install questions in a non-intuitive manner to get it all working. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail:

RE: almost there with my servlet

2004-01-17 Thread Wendy Smoak
nabled in the example webapp. (And disabled by default elsewhere for good reason.) You're doing it right, map your Servlets in web.xml and ignore the Invoker Servlet (or disable it). Also make sure that all the tags are together and come before all the tags. Check the DTD for the other rules on

RE: 404: File Not Found = Stupidity?

2003-12-23 Thread Wendy Smoak
> From: Merrill Cornish [mailto:[EMAIL PROTECTED] > In everyway I can see, this new, failing servlet is exactly > like all of its brothers, except the browser can't find it. > Any suggestions? Check the & tags in web.xml. -- Wendy Smoak Application Systems Analyst, S

RE: Benefits of Apache Server

2003-12-17 Thread Wendy Smoak
Apache's root. It's the same mindset as using plain-old-HTML tags in a Struts webapp. If there's no dynamic content, why bother to involve a taglib? -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management ---

Okay to create threads in ServletContextListener?

2003-12-17 Thread Wendy Smoak
e startup while some threads wait for the information from the database? (I haven't done much concurrent programming, just a few tutorials and school assignments, so stop me now if this is a really bad idea.) -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information

RE: Benefits of Apache Server

2003-12-16 Thread Wendy Smoak
nd much faster serving static resources. It's one of those things where if you have to ask, you probably don't need it. :) As long as Tomcat does what you need, don't complicate your life with Apache and the connector. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Inf

RE: Sending HTTPS from Apache to Tomcat Successfully

2003-12-15 Thread Wendy Smoak
ve started Apache with ssl-- does https://localhost work? -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Help writing pdf output "securely"

2003-12-15 Thread Wendy Smoak
t/response cycles, but because I'm taking over the output stream, am I avoiding Apache on this last response when the pdf goes out? Thanks, -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management -

RE: CSS in War file

2003-12-12 Thread Wendy Smoak
e you requesting the CSS? With a browser? Where are you seeing the NPE, browser window, or in a log file? -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [

RE: unable to find tld's inside .jar files on 4.1.27 [FIXED]

2003-10-15 Thread Wendy Smoak
I wrote: > Why isn't Tomcat finding the tld in the struts.jar file? Apparently because the

unable to find tld's inside .jar files on 4.1.27

2003-10-15 Thread Wendy Smoak
F. Why isn't Tomcat finding the tld in the struts.jar file? I put struts-tiles.tld back in WEB-INF and changed the JSP to: <%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %> And it works. (Well, now it's complaining about the JSTL core taglib...) -- Wen

No mention of 4.1.27 hotfix on website

2003-10-02 Thread Wendy Smoak
ter being made aware there was a hotfix that I needed to apply. -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University, PA, IRM - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: tar.tar binary

2003-05-31 Thread Wendy Smoak
I couldn't get the .tar file to work, but I think I used the .zip version and used jar -xvf to unpack it on HP-UX 11. -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management

RE: Example error pages?

2003-05-30 Thread Wendy Smoak
come, the problem seems to be the recursive printing -- a Throwable can contain a Throwable can contain... ) <%@ taglib uri="http://java.sun.com/jstl/core"; prefix="c" %> If this error message persists, please contact the IRM Help Desk at ... -- Wendy Smoak Appli

Example error pages?

2003-05-30 Thread Wendy Smoak
t unless they scroll down? -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management

RE: Error-Page configuration problem

2003-05-30 Thread Wendy Smoak
ror-page tag. Check the DTD, are you sure you're putting it in the right place? It goes right after , which is towards the bottom. -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management

WAR files not unpacking automatically

2003-05-29 Thread Wendy Smoak
anything else that would be affecting whether the WAR files are unpacked? I can manually create the 'bentest' directory and jar -xvf the .war file into it, but I shouldn't have to... -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management

Re: Using welcome page plus Apache/SSL changes URL.

2003-03-27 Thread Wendy Smoak
So this appears to be across the board, if you don't specify down to the filename/Struts action, the URL gets changed from https:// to http://...:443. Something is going wrong when the "partial" URL is converted to one with the welcome page appended. -- Wendy Smoak Applications Systems

Using index.jsp as welcome page plus Apache/SSL changes URL.

2003-03-27 Thread Wendy Smoak
om https:// to http://...:443? This does _not_ happen in a different webapp where the welcome page is index.html (rather than .jsp). -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management

RE: Remote debugging throught network

2003-03-07 Thread Wendy Smoak
What debugger are you using and what have you tried? With JSwat, when you connect you have the option of shared memory, or hostname and port. It seems like if you'd put the ip address or hostname of the linux server in that box, and port 8000, it would connect. I only use it with lo

RE: cannot shut down

2003-03-06 Thread Wendy Smoak
.1_01 > Catalina.stop: java.net.ConnectException: Connection refused: connect > java.net.ConnectException: Connection refused: connect That's what I get when I try to stop Tomcat when it is not running. Are you possibly trying to stop it twice in a row? Are you sure it really started befor

RE: Strange error for a new user...

2003-03-04 Thread Wendy Smoak
es("toppings"); > ^ > 1 error Looks to me like you've misspelled 'Parameters'. Assuming there _is_ a getParameters method... I've only ever used getParameter. -- Wendy Smoak ---

RE: 4.1.20 Missing source code: org.apache.coyote...

2003-02-25 Thread Wendy Smoak
VS and download it yourself I can't get to the 4.1.20 source anymore, but 4.1.21 is out, so I'm going with that and am downloading both of the source zips. Thanks! -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management

4.1.20 Missing source code: org.apache.coyote...

2003-02-25 Thread Wendy Smoak
akarta-tomcat-4.1.20-src.zip. I looked on the Apache and Jakarta sites, but I don't see a separate 'Coyote' project. Does anyone know where I can find this source code? Thanks, -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management

RE: JPDA_ADDRESS default in "catalina.sh" is 8000,but "jdbconn" in "catalina.bat"

2003-02-25 Thread Wendy Smoak
.. nevermind. For the benefit of the archives, catalina.bat defaults to: JPDA_TRANSPORT=dt_shmem JPDA_ADDRESS=jdbconn To connect to Tomcat after starting it with 'catalina jpda start' with JSwat 2.13 via shared memory, the 'shared name' is jdbconn. -- Wendy Smoak Appli

RE: JPDA_ADDRESS default in "catalina.sh" is 8000,but "jdbconn" in "catalina.bat"

2003-02-25 Thread Wendy Smoak
option? If I want to use it, and I start tomcat with 'catalina.bat jpda start', what is the "shared name" to connect to? Thanks, -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management -Original Message- From: Jea

RE: Mapping .jsp to controller servlet

2003-02-21 Thread Wendy Smoak
containers. At least one of them interprets the spec more strictly and refuses to show *anything* under WEB-INF rather than just preventing direct access to it. -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management

RE: Mapping .jsp to controller servlet

2003-02-21 Thread Wendy Smoak
er method I've seen described is to configure security to protect all JSP's with a role like "nobody" and then don't assign anyone to that role. -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management

RE: ant deploy task?

2003-02-20 Thread Wendy Smoak
x27; tasks, for instance. I don't know if I'm not looking in the right place, or if the full documentation for the catalina-ant tasks just doesn't exist [yet]. -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management

RE: tomcat ant tasks (docs?)

2003-02-20 Thread Wendy Smoak
x27; and 'password' and the example has 'manager.username' and 'manager.password'. Oops! When I looked up what a response code 401 actually was, it all became clear, plus Erik hit it immediately and I made the mistake of not double checking right then. ;) -- Wendy Smoak

RE: tomcat ant tasks (docs?)

2003-02-20 Thread Wendy Smoak
ost/manager/reload?path=%2Fbendev Total time: 2 seconds w:\java\bendev> It does work manually from the manager app: OK - Reloaded application at context path /bendev with this URL: http://localhost/manager/html/reload?path=/bendev Looks the same to me... -- Wendy Smoak Applications Syste

Okay for Servlet to start a new Thread?

2003-02-20 Thread Wendy Smoak
nt. Before we start down this road, is there any problem with creating a Thread within a Servlet (Struts Action, actually)? I haven't done much concurrent Java programming, so I may be way off base and would appreciate being told that sooner rather than later! -- Wendy Smoak Applications Sys

RE: tomcat ant tasks (docs?)

2003-02-20 Thread Wendy Smoak
uot;docBase" could *be* anywhere outside of the Tomcat directory structure! Rearranging everything now... thanks for the advice. -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management

RE: tomcat ant tasks (docs?)

2003-02-20 Thread Wendy Smoak
ure you know this, but it didn't move the .war file at all... it just pointed the context at the directory I gave it, which was the "dist" directory where I put my .war files. Not what I expected at all... -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management

tomcat ant tasks (docs?)

2003-02-20 Thread Wendy Smoak
27;t turn up anything useful. Does anyone have an example of how to use the start and stop tasks? I'm going to guess at the syntax based on reload, hopefully it will work. -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management

ant deploy task?

2003-02-19 Thread Wendy Smoak
ath="${context}" war="${dist}/${context}.war" username="wendy" password="password" /> I'm also not sure how this is going to work... Tomcat is on the same machine so right now I'm just copying the war file over. Would it be better to use t

RE: 4.1.18 won't unpack my .war file

2003-02-18 Thread Wendy Smoak
shrug and move on... I have no idea why Tomcat won't unpack a file with one particular name, but changing it by as little as one letter makes it happy. I appreciate the suggestions that were offered! -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management

RE: 4.1.18 won't unpack my .war file

2003-02-18 Thread Wendy Smoak
ged is the port number from 8081 to 80, anything else I do in a ${context}.xml file as above or in the context-level web.xml file. It can't not like the *name*, that's just nuts! (I just know this is going to turn out to be something simple and really embarrassing...) -- Wendy S

RE: 4.1.18 won't unpack my .war file

2003-02-18 Thread Wendy Smoak
7;t extract this one. server.xml contains this: and as I mentioned, struts-example.war does get expanded and deployed. Any other ideas on why Tomcat doesn't like *this* particular .war file? -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management

4.1.18 won't unpack my .war file

2003-02-18 Thread Wendy Smoak
rectory and use WinZip to unzip the .war file into it, then everything works fine. From this I infer that all the parts of my .war file are in the right place. What could be stopping it from unpacking just this one .war file? -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State

RE: webpage & servlets !

2003-02-17 Thread Wendy Smoak
ure. Do you mean that inside your Servlet, you're using some sort of Writer and generating text that gets saved to a file? I can't imagine why you'd want to do this, but if you insist, then try a relative path using '..' to back up one level and write the file. -- Wen

RE: compiling servlets !

2003-02-12 Thread Wendy Smoak
is code? What are all those '\cf2' and '\par' things? It looks like markup from something... Edit your HelloWorld.java file and get rid of the junk, then try recompiling. -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management

RE: compiling servlets !

2003-02-12 Thread Wendy Smoak
line switch.I prefer to use ant, or to specify the classpath on the command line. Try this: javac -classpath C:\tomcat\jakarta-tomcat-3.3.1a\jakarta-tomcat-3.3.1a\lib\common\servlet.jar HellowWorld.java (Was that a typo? Is it really HelloWorld.java?) -- Wendy Smoak Applications Systems A

RE: Apache-Tomcat-HPUX Problems

2003-02-10 Thread Wendy Smoak
> Does anybody on the list run under HPUX? Yes... Apache 2.0 & Tomcat 4.1 on HP-UX 11. But we're using the version of Apache provided by HP; we didn't build it ourselves. -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management

RE: Where do common jar libraries go in Tomcat 4.1.18

2003-02-06 Thread Wendy Smoak
> I just changed my development box from Tomcat 4.0.5 to 4.1.18. I notice > there is no $CATALINA_HOME/lib directory in the new Tomcat to put my common > jar files. Where do they go in 4.1.18? ${CATALINA_HOME}/common/lib -- Wendy Smoak

RE: Tomcat and ~user mapping

2003-01-29 Thread Wendy Smoak
> One way to do this would be to define a Host per student with the > appBase at the student's public_html (or webapps, or whatever) > directory? Thanks! I neglected to mention that Apache is also involved, so that may complicate the issue. -- Wendy

Tomcat and ~user mapping

2003-01-29 Thread Wendy Smoak
_html/." I note that this is a "can" and not a "must". Does any version of Tomcat support this? Specifically, the request is to have a bunch of students with webapps in their home directories and have Tomcat be able to "see" the webapps and execute them. Thank

RE: servlets

2003-01-28 Thread Wendy Smoak
n* assume that there will be only one instance of your Servlet. -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management

RE: servlets

2003-01-28 Thread Wendy Smoak
ervlet. Perhaps the info you're storing at the Servlet level would be more appropriately stored in application scope (ServletContext) instead?? -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management

RE: servlets

2003-01-28 Thread Wendy Smoak
ou post a snippet of code that shows what you're trying to do and why you're trying to make your Servlet a Singleton? Maybe someone will have a suggestion. -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management

RE: Property file not picked up right by servlet

2003-01-24 Thread Wendy Smoak
king, and where exactly is the properties file? What is the exact error message you're seeing? I would suspect file permissions, without knowing anything else. -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management

RE: tomcat not starting after reboot or from cron

2003-01-22 Thread Wendy Smoak
ript, seeing that there was an export for JAVA_HOME in there already. The [Unix] startup logs show "Tomcat Started" which gets output if all is well after the line above. But the Tomcat logs show *nothing* as if startup.sh was never run, and it isn't running. It's a mystery, b

RE: Tomcat 4.1 takes a long time to start on HP-UX 11

2003-01-17 Thread Wendy Smoak
click 'reload' until you're just about ready to give up, and then all of the sudden the page will load. It must be busy doing *something*. Thanks! -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management

Tomcat 4.1 takes a long time to start on HP-UX 11

2003-01-17 Thread Wendy Smoak
;). ;) It doesn't take _nearly_ this long on Win2k or Linux-- as soon as I see that final line in the console/catalina.out, the intro page will load. -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management

RE: Problem with JSTL on W2k

2003-01-17 Thread Wendy Smoak
* > exist. This will make it so you can read and write files on any system > without worrying about any platform specifics (theoretically). HTH, -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management

RE: new web application - inconsistent resource not found

2003-01-16 Thread Wendy Smoak
trouble and start packaging your code now, even if you just dump everything in "package mystuff;" for now. Where's the tag? The fact that things do work in examples probably means you're just missing a few details. If you're still having trouble, post a directory listing

RE: class files not being found

2003-01-15 Thread Wendy Smoak
named package. The behavior of Tomcat 4.1 is consistent with that. But since all production code should be in a package anyway, this isn't really a problem. -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management

RE: jsp versus xml syntax

2003-01-14 Thread Wendy Smoak
ike: <%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c" %> HTML to Display What goes in the test is pretty wide open-- it just has to evaluate to a boolean. You can join the taglibs-user mailing list for more help. -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management

RE: Tomcat 4.1.18 jsp import and include error

2003-01-08 Thread Wendy Smoak
> I did use JDK 1.4, but when I use JDK 1.4 and Tomcat 4.0.4, > everything is fine. So I think it is a Tomcat 4.1.18 issue. Well, since all production code should be in a package, I don't see an issue. I'd regard the 4.0 behavior to be wrong and the 4.1.18 behavior to be &qu

RE: Tomcat 4.1.18 jsp import and include error

2003-01-08 Thread Wendy Smoak
.0 to 4.1? With JDK 1.4, you cannot import a class in the default package [no package statement] into a class that *is* in a package. JDK 1.3 would let you do it. -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management

RE: Tomcat 4.1.x don't find libs to compile the *.jsp

2003-01-08 Thread Wendy Smoak
ng sure it's in the classpath somewhere. So I'd suggest a 'jar -tvf usingj2ee.jar' and look at the directory structure within it. Do those files really all live in a directory called 'usingj2ee' within the .jar file? And is it definitely in the 'lib' dire

RE: loading a properties file from a jar file in /WEB-INF/lib/

2002-12-12 Thread Wendy Smoak
the path, I don't know if it needs a leading slash or not. HTH, -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management

RE: [OFF-TOPIC] RE: Tomcat & log4j

2002-12-12 Thread Wendy Smoak
> Are you configuring log4j more than once? Maybe once with a > BasicConfigurator.configure() and once with a > PropertyConfigurator.configure() call? That would explain the > additional console appender even though there isn't one in your > properties file. I only have the one log4j.config file

Tomcat & log4j

2002-12-12 Thread Wendy Smoak
something within Tomcat that now "sees" log4j down in that webapp and is using it. Thanks for any hints... I'm a recent convert from System.out.println. -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management

RE: package objects does not exist

2002-12-10 Thread Wendy Smoak
Dhaval wrote: > I have deployed a web application called 'proj' in the webapps directory, and have > all the jsp files in there, while my .java files reside in proj/WEB- > INF/classes/objects directory. When I try to go to > http://localhost:8080/proj/login.jsp, it throws back an error saying 'pa

RE: Tomcat + commons-logging + log4j

2002-12-10 Thread Wendy Smoak
writing to the correct file. My remaining problem is that using ../logs/filename.log for the File only works when running from Tomcat. If I run any tests from the prompt, the logs try to go to ../logs relative to the directory I'm in at the time. HTH, -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management

RE: Tomcat + commons-logging + log4j

2002-12-10 Thread Wendy Smoak
actory.getLog( ClassName.class ); //then to write a message: log.debug( "a debug message" ); When you say it's not working... are you not seeing *any* logging messages, or seeing them in the wrong format? I was able to confirm that my properties file was being used by changing the ConversionPattern and looking to see if the output changed. -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management

Specifying tag outside of server.xml

2002-12-10 Thread Wendy Smoak
Or do you just include it and expect the person who's doing the deployment to move the file to the webapps directory? Thanks! -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management

RE: Tomcat + commons-logging + log4j

2002-12-09 Thread Wendy Smoak
t if you want run your app > on other servers in the future? I take it logging isn't in the servlet spec? From another message, I got the impression that the container would want to send some messages itself. If there is no Logger configured for the webapp, does it just send them to the

Tomcat + commons-logging + log4j

2002-12-09 Thread Wendy Smoak
../logs/myWebApp.log which backs up out of WEB-INF/classes and moves down into the logs directory. I'm very new at this, so please tell me if I'm going about it all wrong! -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management

Multiple warnings in catalina.out

2002-12-05 Thread Wendy Smoak
r any insight on how to either get the events that trigger the warnings to stop happening, or else turn down the logging severity. -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management

RE: Help with auto-generating Apache config files for mod_jk

2002-12-02 Thread Wendy Smoak
ut now I see in server.xml: And I'm confused. Should I switch the comments around and use the Ajp13Connector instead? This is HP-UX 11 with Apache 2 (provided by HP) and Tomcat 4.1.12 (binary distribution from Jakarta). Thanks, -- Wendy Smoak Applications Systems Analyst,

Help with auto-generating Apache config files for mod_jk

2002-12-02 Thread Wendy Smoak
is to server.xml and I'm still not getting the JkMount lines. Thanks, -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management

<    1   2   3   >