Re: servlet URL

2003-02-07 Thread Erik Price
Felipe Schnack wrote: Sorry, context-parameter? But then I wouldn't have (again) my servlet's URL written in two different places? This kind of thing worries me, because somebody can change in one place but not on another. You're right, this kind of data redundancy can be dangerous, and

Re: SendMailServlet - problem, debugging tips

2003-02-07 Thread tomcat guy
It didn't seem to do the trick. This is gettin a little frustrating. I wouldn't mind as the others are working but this is what I am looking for... Are the error msgs to be going to logs/stderr? Any other suggestions? - Original Message - From: Filip Hanik [EMAIL PROTECTED] To: Tomcat

problem when update my web site

2003-02-07 Thread x x
Hi: I have a TOMCAT 4.1.8 running in a linux Mandrake,its work fine,but when i make any changes, ex: i change something in ma java beans, and i try again the server show me the page without any changes, or if i erase the directory where my class are, and i try again I saw the page like the

Re: JSP Compilation Error

2003-02-07 Thread Marcelino Cruz
You rock This was precisely the problem. The servlets.jar that came with the JDK 1.4.1_01 distribution is not the same as the servlets jar that came with Tomcat 4.1.18. I copied the servlet.jar from Tomcat's common/lib directory to JAVA_HOME/jre/lib/ext. Everything works now. Thanks! MC

xmlmapper debug output - how do I turn it off?

2003-02-07 Thread Ed Thompson
I have had streams of xmlmapper output pop up on Tomcat startup ever since I upgraded from Tomcat 3 to TomCat 4. Cannot find how to turn it off. Help! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Tomcat Forwarding issue?

2003-02-07 Thread Ed Thompson
When I access my web site at http://ed4becky.dnsalias.org/comics, index.html is set like this: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN HTML META HTTP-EQUIV=refresh CONTENT=0;URL=http://ed4becky.dnsalias.org/comics/jsp/titlelist.jsp; /HTML BODY/BODY Now, titlelist.jsp is in a

Re: servlet URL

2003-02-07 Thread Sean Dockery
HttpServlet.getServletName() would seem like the logical choice. -- Sean Dockery [EMAIL PROTECTED] Certified Java Web Component Developer Certified Delphi Programmer SBD Consultants http://www.sbdconsultants.com Felipe Schnack [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL

Re: SSI in TOMCAT

2003-02-07 Thread Becky Phaneuf
Didn't I just answer your exact same question in the servlet email group? Jeeze -B [EMAIL PROTECTED] 02/07/03 10:47AM Has anyone activated Server Side Include(SSI) in Tomcat 4.1 ? I have followed the normal instructions under Apache's Tomcat website, including : 1. Renaming

Re: Tomcat Performance Concerns

2003-02-07 Thread Peter Lin
The plan remy and I had was to make all of it available, source, binaries, sample data and so on. Let me run that by the editors and see if it's cool for me to release the test webapp early. the webapp itself is simple, but the tools I wrote to generate the test plans, test data and so on

Re: servlet URL

2003-02-07 Thread Will Hartung
That only works when the requester is the servlet itself. Also, just because you have the name of a servlet doesn't mean you know a valid URL for that servlet, as they don't have to match. The key here, I think, is that in the past servlets were able to see other servlets within the webapp, but

Re: servlet URL

2003-02-07 Thread Sean Dockery
Oops. Felipe did ask for the servlet URL. For finding other servlets in the application, I suppose that a servlet could read its own .xml file. :-) Will Hartung [EMAIL PROTECTED] wrote in message 088201c2cee6$7280f890$0101@Will">news:088201c2cee6$7280f890$0101@Will... That only works

Fatal Error Console Message when using Tomcat's WebDAV

2003-02-07 Thread Gogulapati, Srividya
I installed Tomcat 4.1.18. I made changes to conf\server.xml to have write access. When I use Microsoft Word 2000 to save a file in the location - http://localhost:8080/webdav http://localhost:8080/webdav It gives me a list of files in webdav directory, but also gives the following message

Re: SendMailServlet - problem, debugging tips

2003-02-07 Thread Sean Dockery
Did you restart Tomcat? tomcat guy [EMAIL PROTECTED] wrote in message 002b01c2cee1$7035c250$6601a8c0@ctg">news:002b01c2cee1$7035c250$6601a8c0@ctg... It didn't seem to do the trick. This is gettin a little frustrating. I wouldn't mind as the others are working but this is what I am looking

Re: Fatal Error Console Message when using Tomcat's WebDAV

2003-02-07 Thread Carlos Cajina
You should use a simple text editor to modify xml files... Notepad works fine... - Original Message - From: Gogulapati, Srividya [EMAIL PROTECTED] To: Tomcat Users List (E-mail) [EMAIL PROTECTED] Sent: Friday, February 07, 2003 2:22 PM Subject: Fatal Error Console Message when using

Valve Access Log Pattern - combined

2003-02-07 Thread Matt Fury
Has anyone gotten combined to work as a pattern. According to the docs, combined is supposed to add Referrer and User Agent? Am I reading this wrong? The logs didn't show anything different. And I believe the User Agent was in there to begin with but I really want the Referrer. Any thoughts?

Re: servlet URL

2003-02-07 Thread Steve Burrus
will, this has NOTHING to do with what you responded to, i.e., whatever problem some Tomcat user had, but I was honestly wondering why you haven't seen fit to respond back to my email to u some time ago, like some 10 days to 2 weeks ago?!! Don't you respect me enough to respond back to my

RE: Fatal Error Console Message when using Tomcat's WebDAV

2003-02-07 Thread Gogulapati, Srividya
I did not use Word to save conf\server.xml. I used TextPad to do so. What I meant to say is when I use Word 2000 (which is a WebDAV client) to save any document (.doc file) to webdav location (http://localhost:8080/webdav/) I get this fata error message on Tomcat console. -Original

Re: JDBC Realm Authentication Problem

2003-02-07 Thread Sean Dockery
Yes, that is correct. To have a Realm apply only to a context, it must declared inside the context tags. So... Context ... / becomes Context ... Realm ... / /Context -- Sean Dockery [EMAIL PROTECTED] Certified Java Web Component Developer Certified Delphi Programmer SBD Consultants

Can someone tell me please.........

2003-02-07 Thread Steve Burrus
Can someone tell me please just what the current methods are supposed to be for the deprecated getValue() and setValue() and there's some other method dealing with Value that I momentarily forgot! A recent program that I was trying to run gave me about 3 separate deprecation warnings when I

Re: Can someone tell me please.........

2003-02-07 Thread Sean Dockery
Try setAttribute and getAttribute... Steve Burrus [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Can someone tell me please just what the current methods are supposed to be for the deprecated getValue() and setValue() and there's some other method dealing with

RE: Can someone tell me please.........

2003-02-07 Thread Filip Hanik
setAttribute getAttribute -Original Message- From: Steve Burrus [mailto:[EMAIL PROTECTED]] Sent: Friday, February 07, 2003 12:39 PM To: [EMAIL PROTECTED] Subject: Can someone tell me please. Can someone tell me please just what the current methods are supposed to be for the

RE: Can someone tell me please.........

2003-02-07 Thread Hookom, Jacob John
get and set on what? try getAttribute() setAttribute() -Original Message- From: Steve Burrus [mailto:[EMAIL PROTECTED]] Sent: Fri 2/7/2003 2:38 PM To: [EMAIL PROTECTED] Cc: Subject: Can someone tell me please.

RE: servlet URL

2003-02-07 Thread Ron Day
Will, How can you resist ? -Original Message- From: Steve Burrus [mailto:[EMAIL PROTECTED]] Sent: Friday, February 07, 2003 2:28 PM To: Tomcat Users List Subject: Re: servlet URL will, this has NOTHING to do with what you responded to, i.e., whatever problem some Tomcat user had, but

RE: COMMUNICATION LINK FAILURE

2003-02-07 Thread Geoff Peters
Laxmikanth - I was getting the exact same exception about a week ago, I spent a lot of time playing with MySQL and TOmcat, came to discover that it was something to so with the server where MYSQL was residing, my network admin saw the requests form TOmcat hitting the box, but it was not

how to delete tomcat cache

2003-02-07 Thread x x
--- x x [EMAIL PROTECTED] wrote: Hi: I have a TOMCAT 4.1.8 running in a linux Mandrake,its work fine,but when i make any changes, ex: i change something in ma java beans, and i try again the server show me the page without any changes, or if i delete the directory where my class are,

Re: SendMailServlet - problem, debugging tips

2003-02-07 Thread tomcat guy
Did you restart Tomcat? Yep. - Original Message - From: Sean Dockery [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, February 07, 2003 1:51 PM Subject: Re: SendMailServlet - problem, debugging tips Did you restart Tomcat? tomcat guy [EMAIL PROTECTED] wrote in message

Default servlet mapping

2003-02-07 Thread Lukasz Szelag
Hello, I was just wondering if anyone experienced any problems with default servlet mapping in Tomcat 4.1x? Here is an excerpt from my web.xml file: servlet servlet-nameMainPage/servlet-name jsp-file/index.jsp/jsp-file /servlet . servlet-mapping

Re: SendMailServlet - problem, debugging tips

2003-02-07 Thread Sean Dockery
No. The content of name is the parameter name--not the name of your SMTP server. The content of value is the value of the parameter--that is, your SMTP server's name. Try this instead... parameter namemail.smtp.host/name valuemail.ctg.com/value /parameter -- Sean Dockery [EMAIL

RE: Valve Access Log Pattern - combined

2003-02-07 Thread Shapira, Yoav
Howdy, Yes. Been using it for months with every tomcat 4.0.x and 4.1.x release, no problems. Yoav Shapira Millennium ChemInformatics -Original Message- From: Matt Fury [mailto:[EMAIL PROTECTED]] Sent: Friday, February 07, 2003 3:26 PM To: [EMAIL PROTECTED] Subject: Valve Access Log

Re: SendMailServlet - problem, debugging tips

2003-02-07 Thread tomcat guy
I'll try the log4j... but I be given up for now... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Tomcat does not access sub-directories.

2003-02-07 Thread Hans Deragon
Greetings. I am baffled. I have setup the following context: Context path= docBase=deragon debug=0/ Now, I have the following directory: ..jakarta-tomcat/webapps/deragon/generic Tomcat renders any file under the deragon directory. For instance, http://localhost:8080/index.html -

Re: File upload servlet won't run on IBM AS/400 but runs OK on PC configured identically

2003-02-07 Thread Sean Dockery
Hmmm... I'm not sure that catalina can write to /tmp just because your users can. Try running this code before calling MultipartRequest multi = ... FileWriter fw = new FileWriter(/tmp/hello.txt); // (line 1) fw.write(Hello World\n); fw.close(); When you start Tomcat, what value does it say it

Tomcat exploding 1.4.1 JVM

2003-02-07 Thread Will Hartung
Anyone else getting these? The information provided is remarkably content free to my eyes. Thanx! Regards, Will Hartung ([EMAIL PROTECTED]) SunOS icmsweb 5.8 Generic_108528-17 sun4u sparc SUNW,Ultra-80 An unexpected exception has been detected in native code outside the VM. Unexpected Signal

Re: SendMailServlet - problem, debugging tips

2003-02-07 Thread Sean Dockery
I'm running out of ideas. Maybe the problem is with the SMTP connection... Put the following in a text file named commands.txt (without the snip tags)... snip HELO www.corridortechnology.com MAIL FROM:[EMAIL PROTECTED] RCPT TO:[EMAIL PROTECTED] RCPT TO:[EMAIL PROTECTED] DATA Subject: Re:

RE: Tomcat does not access sub-directories.

2003-02-07 Thread Tim Moore
Is the Tomcat process running with the appropriate permissions to read and execute the directory? ;-) -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -Original Message- From: Hans

Re: SendMailServlet - problem, debugging tips

2003-02-07 Thread Sean Dockery
Oh, that's interesting. It seems that my inline SMTP script reacted with the gmane SMTP server. Sean Dockery [EMAIL PROTECTED] wrote in message b218r3$eea$[EMAIL PROTECTED]">news:b218r3$eea$[EMAIL PROTECTED]... I'm running out of ideas. Maybe the problem is with the SMTP connection... Put

Re: SendMailServlet - problem, debugging tips

2003-02-07 Thread Sean Dockery
Here was the real message that should have been posted. The SMTP script that I included in my previous post apparently interacted with the gmane SMTP server (their NNTP service relayed my message to tomcat-user). Sean Dockery [EMAIL PROTECTED] wrote in message news:... I'm running out of ideas.

Re: Valve Access Log Pattern - combined

2003-02-07 Thread Matt Fury
It started working. That was odd. I am so glad this feature is avaiable. There are people out there that think Tomcat doesn't do proper log files. Webalizer handles these great!! Thanks for the help. -Matt --- Matt Fury [EMAIL PROTECTED] wrote: Has anyone gotten combined to work as a pattern.

Re: SendMailServlet - problem, debugging tips

2003-02-07 Thread Adam Sherman
On February 7, 2003 04:44 pm, Sean Dockery wrote: Here was the real message that should have been posted. The SMTP script that I included in my previous post apparently interacted with the gmane SMTP server (their NNTP service relayed my message to tomcat-user). . FYI, putting a single

How to get the web application or Tomcat path inside a class

2003-02-07 Thread Etienne
Hi, Is there a way to get the web application path or the tomcat path inside a java bean not using any Request object? I am running tomcat on Windows. I need sometime to access xml file placed on the web_app_path/xml/ folder. On windows, it is easy to retrace them because the starting (default)

****Just a test****

2003-02-07 Thread Brautigam, Craig
Please don't read this message it is just a test and nothing else than that :P - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Tomcat ( JSP)+ MySql .. driver ?

2003-02-07 Thread wabbadi
hi guys , can anyone help me plz ! .. how can i make my jsp files working on Tomcat work with MySql database .. i download the java-module offered from MySql site .. but i dont know where / how to work with it ! thanks in advance , Walid

Re: Tomcat exploding 1.4.1 JVM

2003-02-07 Thread Jeanfrancois Arcand
Seems to me that you don't have all the Solaris paches required to run the VM. I don't have any problems under Solaris 5.8 but if you think you have all the patches, you may file a bugs against the VM (not Tomcat since it is a VM crash) -- Jeanfrancois Will Hartung wrote: Anyone else getting

Automating Tomcat Configuration

2003-02-07 Thread Adam Sherman
We are looking at adding/finding functionaliy for Tomcat to integrate well into a completely Directory-based structure, ie everything is configured in LDAP. Firstly, has anybody tried putting the Virtual Host configuration in JNDI? Secondly, which classes/interfaces should I be looking at to

RE: How to get the web application or Tomcat path inside a class

2003-02-07 Thread Tim Moore
Why don't you have access to the ServletContext? That's really the only portable way to access resources in your webapp. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -Original

RE: How to get the web application or Tomcat path inside a class

2003-02-07 Thread Etienne
It is because the applications work with a lot of interne singleton objects (one instance for all the application). Like a ConnectionPool or a ApplicationScopeUtil that do not need to know the actual request, of servlet context: this would add a unused parameter to all the methods and mix up

RE: How to get the web application or Tomcat path inside a class

2003-02-07 Thread Tim Moore
What about creating one more singleton object that is constructed with the ServletContext, and then all of the other objects use that one to access the file? It's probably a good idea to encapsulate access to the file anyway. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW

Re: Trouble with Apache 2.0.43 mod_jk2 JNI connector to Tomcat 4.1.18

2003-02-07 Thread Francesa Lacreativa
Xtreme Modem [EMAIL PROTECTED] wrote: Hello, I am having a lot of difficulty getting the JNI connector for Tomcat to work with Apache 2.0.43. I have Tomcat version 4.1.18. I have followed the examples in the documentation at

RE: How to get the web application or Tomcat path inside a class

2003-02-07 Thread Etienne
Right on. E.L. -Original Message- From: Tim Moore [mailto:[EMAIL PROTECTED]] Sent: February 7, 2003 5:31 PM To: Tomcat Users List Subject: RE: How to get the web application or Tomcat path inside a class What about creating one more singleton object that is constructed with the

RE: How to get the web application or Tomcat path inside a class

2003-02-07 Thread Etienne
Thanks! E. L. -Original Message- From: Tim Moore [mailto:[EMAIL PROTECTED]] Sent: February 7, 2003 5:31 PM To: Tomcat Users List Subject: RE: How to get the web application or Tomcat path inside a class What about creating one more singleton object that is constructed with the

2nd plea for help!

2003-02-07 Thread Francesa Lacreativa
Does anyone have an idea why I would get this factory error in apache? Am I providing too much information for you to read? Is this too stupid a question to answer? Can someone please just point me in the right direction - please??? I am having a lot of difficulty getting the JNI connector

Apache-Tomcat Configuring....

2003-02-07 Thread Wilson, Allen
Hello I am trying to configure Apache (1.3.27) and Tomcat (4.1.18) to work together in preparation for adding JetSpeed. I have tried to following the instructions for creating mod_jk.so provided by the Wrox Professional Tomcat book and the Galatea.com Flash Guides and came up with errors on

NEWBIE Simple question, (but not for me ?!?)

2003-02-07 Thread jsp
I added a directory to the webapps dir. I cannot get to it. Error 404. Although directories I added a week ago work ??? Now this new one cannot be seen. I've asked this question a lot over the last few days here; either it’s a completely STUPID question (most likely) or nobody can answer it. It's

RE: NEWBIE Simple question, (but not for me ?!?)

2003-02-07 Thread jsp
Before this I was using the ISAPI redirect in iis for tomcat and I did all the changes in the worker file for apps. That’s not running anymore and I'm just using localhost8080/app/ . I put Context path=/simple docBase=tomcat/webapps/app/ debug=9 reloadable=true / in the server.xml file at the

RE: NEWBIE Simple question, (but not for me ?!?)

2003-02-07 Thread Filip Hanik
what does the structure under tomcat/webapps/app/ look like? most of the cases when people use the context path, for a webapp in webapps they do this Context path=/simple docBase=app debug=9 reloadable=true / Filip -Original Message- From: jsp [mailto:[EMAIL PROTECTED]] Sent: Friday,

RE: NEWBIE Simple question, (but not for me ?!?)

2003-02-07 Thread jsp
Hi fillip thanks, basically I just want to see an index.html inside the app folder under tomcat. Nothing fancy, nothing special. I've got other applications sitting in webapps that come up fine that specified with the redirector ( which is gone now ) now I cant add new dir.. I even uninstalled

RE: NEWBIE Simple question, (but not for me ?!?)

2003-02-07 Thread Filip Hanik
What this entry says is: Context path=/simple docBase=app debug=9 reloadable=true / http://localhost:8080/simple/index.html will open up the file /webapps/app/index.html notice that you changed the context from app to simple by using the context element. Filip -Original Message-

NEWBIE question resolved ........ ahhhhhhh.

2003-02-07 Thread jsp
Of all the lamer things ! I changed the name of the directory in webapps to guestbook and it pops up fine now the name was /sc . Maybe tomcat does not recognize dir's with only 2 leters ??? Thanks for listening -wiley -Original Message- From: jsp [mailto:[EMAIL PROTECTED]]

RE: NEWBIE Simple question, (but not for me ?!?)

2003-02-07 Thread jsp
Thank you fillip. And for future reference, can you please tell me where in the server.xml file I add this entry ? Do I add it before the /server tag or after ? Thanks A LOT !!! -wiley -Original Message- From: Filip Hanik [mailto:[EMAIL

RE: NEWBIE Simple question, (but not for me ?!?)

2003-02-07 Thread Filip Hanik
make a search for 'Context path=/examples ' in your server.xml file to see an example Filip -Original Message- From: jsp [mailto:[EMAIL PROTECTED]] Sent: Friday, February 07, 2003 3:32 PM To: 'Tomcat Users List' Subject: RE: NEWBIE Simple question, (but not for me ?!?) Thank you

RE: NEWBIE Simple question, (but not for me ?!?)

2003-02-07 Thread jsp
WILL DO ! makes total sense ! Thanks man ! -wiley -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED]] Sent: Friday, February 07, 2003 3:27 PM To: Tomcat Users List Subject: RE: NEWBIE Simple question, (but not for me ?!?) make a search for 'Context path=/examples ' in your

RE: 2nd plea for help!

2003-02-07 Thread Turner, John
I'd love to help, but I don't use JK2. All I can ask is: did you try it with the minimum configuration shown in the docs? You have some extra stuff in your .properties files. What happens when you use the minimum configuration? Do you get the same error? John -Original Message-

RE: Apache-Tomcat Configuring....

2003-02-07 Thread Turner, John
I have a Solaris 8 HOWTO here: http://www.johnturner.com/howto. It uses Apache 2, but if you have the source to Apache the steps are the same. Just sub in apache wherever it says apache2. I'm assuming you are using Solaris because you have paths with /opt in them. In my experience, you want

Used Tomcat's WebDAV on Windows?

2003-02-07 Thread Gogulapati, Srividya
Did anyone try to use Tomcat's webdav on Windows DAV Clients like Office 2000? If you try saving a file from Word 2000 or any other Office application to http://localhost:8080/webdav you would see a Fatal Error console message (as described in emails below). The message does not effect the

NEWBIE Simple question, (but not for me ?!?)

2003-02-07 Thread Wileynet
I added a directory to the webapps dir. I cannot get to it. Error 404. Although directories I added a week ago work ??? Now this new one cannot be seen. I've asked this question a lot over the last few days here; either it’s a completely STUPID question (most likely) or nobody can answer it. It's

RE: How to get the web application or Tomcat path inside a class (KMM37443975V57528L0KM)

2003-02-07 Thread [EMAIL PROTECTED]
Dear Francesa Etienne, We are unable to determine the nature of your inquiry from the information you have provided. Could you kindly resubmit your concern? Every attempt will be made to assist you as shortly as possible. Why wait? Resolve your customer service questions on-line at our

RE: Tomcat ( JSP)+ MySql .. driver ?

2003-02-07 Thread Tam, Michael
If you want all tomcat webapps to use MySQL, put the MySQL JDBC jar file to common/lib folder. If you want just a particular webapp to use MySQL, put the jar file to YOUR_WEBAPP/WEB-INF/lib. If you don't know how to use JDBC + JSP, you should go to SUN site to read their tutorials. Hope this

Re: Valve Access Log Pattern - combined

2003-02-07 Thread mmtu
On Fri, Feb 07, 2003 at 12:26:16PM -0800, Matt Fury wrote: Has anyone gotten combined to work as a pattern. Yes. Using tomcat 4.0 on Debian Woody, added lines like: Valve className=org.apache.catalina.valves.AccessLogValve directory=logs

servlets reach under tomcat 4.0.6

2003-02-07 Thread Gyaraki . Laszlo
Hy! The system: Tomcat 4.0.6 under Debian Woody. I have a problem: I wrote a servlet. It is in:${CATALINA_HOME}/webapps/cbir/WEB-INF/classes/CBIServlet.class. I was to refer in a HTML form: http://server_name/cbir/cbiservlet The web.xml: ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app

Configuration Queston - Tomcat Server

2003-02-07 Thread Art Beaudry
Ladies/Gentlemen, I have Apache's Tomcat Server running on my Windows Home XP system. I am learning JSP using Sams Teach Yourself JavaServer Pages in 21 days. The question is: Why do I have to cold-boot every time I use Windows Explorer to create a new folder while using the Tomcat Server? I

tomcat 3.3 problem with classpath

2003-02-07 Thread Sahlke, Jan
Hello, I am a newbie and I have some problems with tomcat and my application. The application path is /webapp/shop with the subdirectory /webshop/shop/WEB-INF/lib and a /webshop/shop/WEB-INF/web.xml. In my server.xml, I make the entries: Context path=/shop

Re: Env vars, mod_jk and JkEnvVar?

2003-02-07 Thread Milt Epstein
On Tue, 4 Feb 2003, Jack on vacation wrote: Hi, What's the way to pass environment variables from Apache to Tomcat when using mod_jk? http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/aphowto.html gives JkEnvVar SSL_CLIENT_V_START as an example, but how do I read this in a JSP? Will

RE: NEWBIE Simple question, (but not for me ?!?)

2003-02-07 Thread Tim Moore
Could there be a problem with your web.xml? Try checking the logs for errors loading the context. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -Original Message- From: Wileynet

RE: tomcat 3.3 problem with classpath

2003-02-07 Thread jsp
Some one just helped me on this. make a search for 'Context path=/examples ' in the server.xml then mirror how they added an entry for the examples dir to yours. The classpath is another situation entirely. You specify the classpath in your app -wiley make a search for 'Context

RE: How to get the web application or Tomcat path inside a class (KMM37443975V57528L0KM)

2003-02-07 Thread Etienne
Dear Jon Earthlink, My inquiry is already resolved. E. L. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: February 7, 2003 5:48 PM To: Francesa Lacreativa Subject: RE: How to get the web application or Tomcat path inside a class (KMM37443975V57528L0KM)

jsp:include .inc file extension problem

2003-02-07 Thread Austin King
I am porting an asp site to struts and found some weird behavior around jsp:include and the .inc file extension. I applogise if this is obvious, and I couldn't find any references to this previously. Try this at home... %-- test.jsp --% html body jsp:include page=foo.inc/ /body /html create text

RE: include .inc file extension problem

2003-02-07 Thread Filip Hanik
if it is a .inc file, don't you want to use the static include (ie, before it gets compiled) http://java.sun.com/products/jsp/syntax/1.1/syntaxref117.html#8772 that way, the include is only called one, and compiled into your JSP Filip -Original Message- From: Austin King [mailto:[EMAIL

RE: include .inc file extension problem

2003-02-07 Thread Filip Hanik
tomcat has to be smart about file extensions, for example, if the .inc was .jsp, tomcat would have to compile it, and then execute it. Filip -Original Message- From: Filip Hanik Sent: Friday, February 07, 2003 5:50 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: RE: include .inc

RE: include .inc file extension problem

2003-02-07 Thread Austin King
Hi Filip, if it is a .inc file, don't you want to use the static include (ie, before it gets compiled) Good point, I meant to say, I didn't think tomcat would be smart about file extensions, beyond resolving jsp, servlets. Using the include directive isn't an option in this case as I was

Q: How to avoid error-reports? -Want

2003-02-07 Thread Morten Mortensen
Hi, Is it possible to avoid error reports? I have an application, where in some cases it is appropriate to return a HTTP reply code of 404, which of course can be done by setting - response.setStatus(HttpServletResponse.SC_NOT_FOUND); But then Tomcat creates an error-report and in this

RE: Apache-Tomcat Configuring....

2003-02-07 Thread Wilson, Allen
Thanks for the info I read through what you have and I ran into the errors below when I did the make on the JK connector configuration. I did not use the connectors that your steps indicated...I just the one provided in the jakarta-tomcat-connectors-4.1.18 file. Allen

RE: Configuration Queston - Tomcat Server- Servlet Reloading

2003-02-07 Thread Nicole Hibbard
Hello: I am also a newbie, but I will give it a shot. Try turning on servlet reloading which checks the modification date of the class files and reloads ones that have changed. This degrade performance in deployment, but is very useful in developement. If you fail to do it on your development

Problem making Tomcat 4.1 invoke servlet from Apache 2.0.44

2003-02-07 Thread jcubic
I configured Tomcat 4.1 to run as a worker from Apache 2.0.44 for Windows 2000 server. Tomcat was started by Apache properly as indicated from the log files. But I seemed not be able to execute servlets properly although I can run jsp files fine. I am getting the error: HTTP Status 503 -

Re: Problem making Tomcat 4.1 invoke servlet from Apache 2.0.44

2003-02-07 Thread Mark Eggers
Jimmy, Try the following: [uri:/examples/servlet/*] HTH /mde/ just my two cents . . . . __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com

RE: Problem making Tomcat 4.1 invoke servlet from Apache 2.0.44

2003-02-07 Thread jcubic
I did. I am getting the HTTP error I described : 'HTTP Status 503 - Servlet invoker is currently unavailable'. - jimmy -Original Message- From: Mark Eggers [mailto:[EMAIL PROTECTED]] Sent: Friday, February 07, 2003 7:38 PM To: Tomcat Users List Subject: Re: Problem making Tomcat 4.1

RE: tomcat 3.3 problem with classpath

2003-02-07 Thread Larry Isaacs
Based on the information you have specified, the URL: http://knuddel:8080/servlet/shop is incorrect. It should be: http://knuddel:8080/shop/servlet/shop and there should be a shop.class file (i.e. the servlet) in /webshop/shop/WEB-INF/classes. Your web.xml doesn't apply at this

Starting Tomcat 4.1 from Apache 2.0.44

2003-02-07 Thread jcubic
I have to enter the following classpath in [vm:] directive in worker2.properties in order to make Tomcat 4.1 started properly from Apache in Windows 2000 server. It took me a while to figure out what jar files to include in. It seems that the jvm started by Apache does not know where those classes

Re: SSI in TOMCAT

2003-02-07 Thread ThePrahs
Hi Jeeze -B, I appreciate your earlier suggestion (that is, using *.jsp files instead of the *.shtml equivalent), however according to the TC 4.1 release notes - SSI How to (http://jakarta.apache.org/tomcat/tomcat-4.1-doc/ssi-howto.html ) : [ Introduction: SSI (Server Side Includes) are

Re: COMMUNICATION LINK FAILURE

2003-02-07 Thread Sean Dockery
Where is the database running? On another machine? Is there a firewall between you and the database? -- Sean Dockery [EMAIL PROTECTED] Certified Java Web Component Developer Certified Delphi Programmer SBD Consultants http://www.sbdconsultants.com Laxmikanth M.S. [EMAIL PROTECTED] wrote in

RE: Apache-Tomcat Configuring....

2003-02-07 Thread Turner, John
What errors? You got the same errors? Do you have the recommended patch cluster installed? Your error messages look like system-level library problems. /usr/include/sys has nothing to do with Tomcat, the connectors, or Apache, as far as I know. /usr/include/sys is where OS headers and libs

RE: Problem making Tomcat 4.1 invoke servlet from Apache 2.0.44

2003-02-07 Thread Turner, John
Did you change anything in Tomcat's web.xml? Sounds like the Invoker servlet is disabled, but it is enabled by default for the examples, but disabled for everything else. John -Original Message- From: jcubic [mailto:[EMAIL PROTECTED]] Sent: Friday, February 07, 2003 10:45 PM To:

Connecting PostgreSQL with JNDI

2003-02-07 Thread Tom Sheehan
Hello all, I've been trying to follow along with the JNDI-datasource examples and seem to have gotten off track somewhere. I would greatly appreciate your having a look at this. Google searches on this topic have helped, but I'm still lost. Running this dbtest.jsp doesn't generate anything in

RE: Problem making Tomcat 4.1 invoke servlet from Apache 2.0.44

2003-02-07 Thread jcubic
No, I did not. The strange thing is that if I run Tomcat manually along with Apache and let jni startup in Apache fail by not giving correct classpath, I actually can run servlet as well as jsp. I can't see servlet invoker is obviously disabled in web.xml in Tomcat conf directory. But I think I

Valve Access to Principal

2003-02-07 Thread Peter Kelley
I'm writing a valve to associate a request with a subject using JAAS. To do this I need to get access to the userPrincipal from the request or the session. Unfortunately the method that sets this association in org.apache.catalina.authenticator.AuthenticatorBase gets called AFTER my valve meaning

Re: include .inc file extension problem

2003-02-07 Thread Bill Barker
I agree in general. In the mean time, you can work around it by declaring: mime-mapping extensioninc/extension mime-typetext/plain/mime-type /mime-mapping in your web.xml file (or, even, in Tomcat's default web.xml file). Austin King [EMAIL PROTECTED] wrote in message [EMAIL

Re: Session Cookie Created on HTTPS as secure is not secure??

2003-02-07 Thread Bill Barker
No browser that I know of actually sends this information back to the server (IMHO, A Good Thing :). Therefore Tomcat has no way of knowing what the browser thinks of the cookie settings, and is only telling you what it knows. Zabel, Ian [EMAIL PROTECTED] wrote in message [EMAIL

Re: Need some help with connector

2003-02-07 Thread Bill Barker
If the directory has a welcome-file (in this case, 'index.jsp'), then Tomcat 4.x will return a 302 response to the welcome-file. Tomcat 3.3.2-dev and Tomcat 5.x allow this behavior to be over-ridden. Mark Strecker [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

Re: Valve Access to Principal

2003-02-07 Thread Craig R. McClanahan
On Fri, 8 Feb 2003, Peter Kelley wrote: Date: 08 Feb 2003 17:29:10 +1100 From: Peter Kelley [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Valve Access to Principal I'm writing a valve to associate a request with a subject

Accessing Java Classes

2003-02-07 Thread Bio Jazz
Hi all... I had a problem with a JSP page not being able to use a class that I wrote. (My JSP page was in ../webapps/ROOT and my class was in ../webapps/ROOT/WEB-INF/classes.) However, I noticed in the archive for this mail list that my class should be part of a package. So, I added 'package

Re: Valve Access to Principal

2003-02-07 Thread Bill Barker
And here I was going to do a boring response like: defer the check to a Filter. :-) I'm actually using a slight variation on Craig's suggestion on one of my internal sites (simply meaning that I can't give you a working URL), and it works very well. Craig R. McClanahan [EMAIL PROTECTED] wrote in

<    1   2   3   >