RE: reloading classes - rephrase

2002-02-18 Thread tamir
Hey, I was so enthusiastic to check tomcat 3.3.1 b1 and it really solved the problem!!! It's like this fix especially made for us :)-. Thank you !!! However, I've still one open question concerned the reloading: After the jar file is reloaded successfully, the previous session is

Re: Re: Using JNDIRealm with password digesting and Netscape Directory Structure

2002-02-18 Thread jay n gaba
hi Has the bind style authentication been implemented?? has anyone tried it?? How does it work? I mean when I authenticate using bind style why is the password ignored? I will seach on the web but would appreciate if someone gives me a pointer. ThanksRegards jay On Sat, 16 Feb 2002 Jonathan

Re: Hey what happened to the tomcat forum?

2002-02-18 Thread Andrew
I can't see my post too:( - Original Message - From: smashingwebs [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 18, 2002 1:13 AM Subject: Hey what happened to the tomcat forum? Hey what happened to the tomcat forum? Or am I being obtuse? -- To unsubscribe:

AW: reloading classes - rephrase

2002-02-18 Thread Ralph Einfeldt
There is not mutch you can do about that at the moment. Future versions of tomcat might be able to recreate the session after reload. But for now the session is lost, because not only your variables get lost but also all internal variables that describe the state of te session.

Duplicated thread name and new line log4j printing bug?

2002-02-18 Thread Zsolt Koppany
Hi, I use log4j-1.1.3 from tomcat-4.0.2 and found a strange behaviour. When I modify and recompile a servlet, tomcat reloads it, and after the servlet is reloaded I get the thread name printed twice. Is it possible re-init log4j? Here is the instruction how I create the Catagory instance:

3.2 serving 3.3's DOCs

2002-02-18 Thread Joel Rees
I have the TOMCAT_HOME variable set to the v 3.2 installation directory now, and Tomcat is showing me the v 3.3 documents. Since the document tree is entirely separate, and I am not even running Apache, I can't imagine how this is happening. Any clues anyone? Joel Rees -- To unsubscribe:

RE: The default servlet

2002-02-18 Thread Anton Brazhnyk
Hi, -Original Message- From: Markus Bengts [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 16, 2002 3:11 PM To: Tomcat Users List Subject: RE: The default servlet On Sat, 16 Feb 2002, Anton Brazhnyk wrote: I bet you know you can turn of the directory listing and I

Error message

2002-02-18 Thread Magnus Jansson
Hi!!! I'm quite new to jsp and java and I would like to know how to decode the error messages that I receive. And for now this particular error message java.lang.VerifyError: (class: interbase/interclient/ErrorKey, method: signature: ()V) Expecting to find object/array on stack at

Re: 3.2 serving 3.3's DOCs

2002-02-18 Thread Joel Rees
Browser cache. You'd think I _enjoyed_ making a fool of myself in MLs. Sorry for the more static. Joel - Original Message - I have the TOMCAT_HOME variable set to the v 3.2 installation directory now, and Tomcat is showing me the v 3.3 documents. Since the document tree is entirely

Re: Oracle JNDI DataSource example?

2002-02-18 Thread remy.menetrieux
I have the same problem and i delete resource-ref in my web.xml and it works now ... If you find an other solution could you send me a mail ?? Remy Mark wrote: Does anyone have a working example of an Oracle DataSource using server.xml ResourceParams and web.xml resource-ref under TC 4.0.1?

AW: java.io.IOException: No such file or directory

2002-02-18 Thread Software AG
Either the file does not exist, or the access righs are wrong. Hiran -Ursprüngliche Nachricht- Von: Frederic Monclar [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 15. Februar 2002 16:47 An: Tomcat Users List Betreff: java.io.IOException: No such file or directory Hello,

Running tomcat port 80

2002-02-18 Thread Andrew Rodwell
Hi , We are trying to get TOMCAT 4.0 to run on the default web port - and can do it ok on windows. However when we try the same changes on SuSE Linux 7.3 it will not run. Somebody suggested that we start it under root - when we try this the commands are not found. You might have guessed we

Re: HttpResponse.sendRedirect problem

2002-02-18 Thread remy.menetrieux
now i use the mod_prox under apache and the proxy listener under tomcat I configurated the name and the port of the apache in my proxy listener configuration like this Connector className=org.apache.catalina.connector.http.HttpConnector port=8081 minProcessors=5

Tomcat

2002-02-18 Thread Ramon Fernandez
Actually , tomcat-Apache is running on my Linux server ( PIII - 1GHZ ) with aproximativley 150 connections/day and a maximun of 5 simultaneous connection. And all is working fine. Does anybody knows ( or have an experience ) of the capacity of Tomcat-Apache ? In fact i'm going to deploy an

Problem loading images when servlet mapping used

2002-02-18 Thread Donie Kelly
Hi all I have a mapping in web.xml that looks like servlet-mapping servlet-namemmsProxy/servlet-name url-pattern//url-pattern /servlet-mapping This is so that I can use a URL like http://host/mms/36123123 The servlet it's mapped to can then get the ID from the path. Simple

High Availibility?

2002-02-18 Thread Philippe Van Der Gucht
Hello, The tomcat AJP 1.3 connector / apache module supports load balancing but I don't see anything about sharing sessions across multiple tomcat instances. Am I correct in assuming there is no support for HA then? And if yes, will future versions do? Philippe. -- To unsubscribe:

Re: Running tomcat port 80

2002-02-18 Thread Markus Bengts
On Mon, 18 Feb 2002, Andrew Rodwell wrote: We are trying to get TOMCAT 4.0 to run on the default web port - and can do it ok on windows. However when we try the same changes on SuSE Linux 7.3 it will not run. Somebody suggested that we start it under root - when we try this the commands

R: Running tomcat port 80

2002-02-18 Thread Renato Romano
You have to run Tomcat as root, because port 80 is reserved on UNIX systems for use by the superuser; Probably root can't find the commands because you have to adjust the environment... just check $PATH, $CATALINA_HOME and $JAVA_HOME of the user you previosly used to run TOMCAT, and set them

AW: High Availibility?

2002-02-18 Thread Lauer, Oliver
Yes, you're correct for the moment. I guess they are working on that issue. See Tom Drake's mailings. Oliver AXA eSolutions GmbH AXA Konzern AG Germany Oliver Lauer Web Architect Wörthstraße 34 D-50668 Köln Germany Tel.: +49 221 148 31277 Fax: +49 221 148 43963 Mobil: +49 179 59 064

RE: Problem loading images when servlet mapping used

2002-02-18 Thread Anton Brazhnyk
Hi, -Original Message- From: Donie Kelly [mailto:[EMAIL PROTECTED]] Sent: Monday, February 18, 2002 12:44 PM To: 'Tomcat Users List' Subject: Problem loading images when servlet mapping used Hi all I have a mapping in web.xml that looks like servlet-mapping

RE: Running tomcat port 80

2002-02-18 Thread Andrew Rodwell
Hi, Thanks for the reposnses. We have tried various things. Making the previous user who ran tomcat a member of the root group. That does not work. We have set permissions on the tomcat directory to be root. We then log on as root and have set the java home and catalina home in the

Re: AW: tomcat as nt service

2002-02-18 Thread secfoc
??? installing the service was no problem... starting the service was the problem... i had this line and the service was not able to start: wrapper.tomcat_home=c:\program files\tomcat wrapper.java_home=c:\program files\sdk1.3 because of the blanks i also tried this one:

RE: Running tomcat port 80

2002-02-18 Thread Andrew Rodwell
Hi, Thanks for the reposnses. We have tried various things. Making the previous user who ran tomcat a member of the root group. That does not work. We have set permissions on the tomcat directory to be root. We then log on as root and have set the java home and catalina home in the

RE: Running tomcat port 80

2002-02-18 Thread Markus Bengts
On Mon, 18 Feb 2002, Andrew Rodwell wrote: We have tried various things. Making the previous user who ran tomcat a member of the root group. That does not work. We have set permissions on the tomcat directory to be root. We then log on as root and have set the java home and catalina home

error-page element in the web.xml HOWTO

2002-02-18 Thread Allan Kamau
I'd like to configure an error page for my entire context. I've gone through the web-app_2_2.dtd and came up with the following solution which I added to my contexts web.xml file error-page error-code404/error-code locationhttp://localhost:8080//location

RE: Running tomcat port 80

2002-02-18 Thread Andrew Rodwell
Markus, Thank you for that. Our inexperiance of linux was showing. We have managed on windows 2000 and OS/400 to run tomcat but linux is a new beast. Regards. -Original Message- From: Markus Bengts [mailto:[EMAIL PROTECTED]] Sent: 18 February 2002 11:49 To: Tomcat Users List Subject:

RE: Problem loading images when servlet mapping used

2002-02-18 Thread Donie Kelly
Hi Anton I tried that but got the following error... ERROR reading java.io.FileInputStream@238a47 At Line 46 /web-app/servlet/ BTW, that the line number in web.xml where I put the snippets in as shown below. Thanks Donie -Original Message- From: Anton Brazhnyk [mailto:[EMAIL

Digest authentication problem

2002-02-18 Thread Meurant , Gerald
Hi, I have a tomcat server using a JNDI-Realm to authenticate against a LDAP server. It works fine when using the BASIC authentication mode, but it doesn´t work when specifying the DIGEST authentication mode. There´s no error message in tomcat, neither in the LDAP server, so I used a sniffer to

Problem with SendMailServlet examples application

2002-02-18 Thread Jose Luis Rojano Piernagorda
Hi, I am having a problem while executing one of the examples that comes with the tomcat 4.0.1 and/or 4.0.2 distribution. After a clean installation of tomcat-401/402 i try to execute the sample application /examples that comes with the distribution. Everything goes fine with any of the

RE: Problem with SendMailServlet examples application

2002-02-18 Thread Randy Layman
Tomcat doesn't compile .java files into .class files. As far as I know, this is only a feature of Resin and none of the other servlet containers. You will need to use javac to convert your .java into a .class and put that file into the WEB-INF/classes directory. Randy

RE: reloading classes - rephrase

2002-02-18 Thread tamir
Thanks for the information. right now, jar's reloading is quite good enough. bye Tamir -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] Sent: Monday, February 18, 2002 10:43 AM To: Tomcat Users List Subject: AW: reloading classes - rephrase There is not mutch you can

Re: Problem with SendMailServlet examples application

2002-02-18 Thread Jose Luis Rojano Piernagorda
Hi Randy, Do you know why, in the example directory $CATALINA_HOME/webapps/examples/WEB-INF/classes we have every source file (*.java) with its corresponding binary (*.class) except for the SendMailServlet.java source? I also tried to compile the SendMailServlet.java to get the

RE: Problem with SendMailServlet examples application

2002-02-18 Thread Reynir Hübner
you must have mail.jar in your classpath (usually in the folder /tomcat/common/lib/(mail.jar). you should be able to compile the sendmail servlet by executing the command : classes/ javac -classpath $pathtotomcat/tomcat/common/lib/mail.jar;$pathtotomcat/tomcat/common/lib /servlet.jar;

Re: tomcat4.0.2+apache1.3.23+mod_webapp.so went well but why?

2002-02-18 Thread Jose Solorzano
--- Satoshi Okamoto [EMAIL PROTECTED] wrote: below is configurations of server.xml of tomcat 4.0.2 and httpd.conf of apache 1.3.23 (most parts were cut, only the part that i modified is shown). first of all, http://tecdev15:8005 works fine. and http://tecdev15:8080 works fine, too. but

RE: Digest authentication problem

2002-02-18 Thread Meurant , Gerald
I forgot to mention that it´s a tomcat 4.01 . -Mensaje original- De: Meurant , Gerald [mailto:[EMAIL PROTECTED]] Enviado el: lunes, 18 de febrero de 2002 13:23 Para: [EMAIL PROTECTED] Asunto: Digest authentication problem Hi, I have a tomcat server using a JNDI-Realm to authenticate

Re: Error message

2002-02-18 Thread Jose Solorzano
--- Magnus Jansson [EMAIL PROTECTED] wrote: Hi!!! I'm quite new to jsp and java and I would like to know how to decode the error messages that I receive. And for now this particular error message java.lang.VerifyError: (class: interbase/interclient/ErrorKey, method: signature:

RE: Tomcat 3.3a + Apache 1.3 on Linux 7.2: Problems with mod_jk

2002-02-18 Thread Larry Isaacs
I don't do a lot of testing on Linux but I don't know why this wouldn't work. I assume you looked for the mod_jk.conf under the conf/auto directory? Are you using the RPM or the tar.gz? To diagnose why Apache and Tomcat 3.3a aren't communicating, more information than I didn't get tomcat will

Passing HttpServletResponse to another thread, then sleeping in doGet until other thread is done

2002-02-18 Thread chris brown
Hello, I have a simple data processing API that lets you plug in various types of input and output streams. The engine (or a subclass that does some specific processing) is instantiated with a subclass of a data source (a file, a socket, HTTP URL, STDIN, webapp or system resource) and data sink

Input from a FORM - encoding problem

2002-02-18 Thread Nikola Milutinovic
Hi all. I have a HTML FORM that I'd like to use to update data in my database. DB (PostgreSQL + Unicode) is configured and correctly loaded with Unicode data. Translations from UTF-8 - Win-1250 works like a charm (and so does UTF-8 - ISO-8859-2). In other words, displaying the data is OK.

Re: Input from a FORM - encoding problem

2002-02-18 Thread David Cassidy
try this ... quote FORM attribute accept-charset = charset list [CI] This attribute specifies the list of character encodings for input data that is accepted by the server processing this form. The value is a space- and/or comma-delimited list of charset values. The client must interpret

Suggestions requested for a possible architecture

2002-02-18 Thread Dorai, Harish (c)
Hello all, I am new to the mailing list. I am sending this email to get your suggestion on the architecture that our company is thinking about. We have a 2 tier client/server application developed in Powerbuilder/Sybase which has 2 versions for it - An offline and an online. The offline version

Ang: Re: Error message

2002-02-18 Thread Magnus Jansson
I'm using NetWare:s VM 1.3.0 (Symantec JIT 3.10.110) And I get the error when running the jsp page. The page looks like this. I suppose that I have done any typo or something like that. %@page contentType=text/html; charset=iso-8859-1 language=java import=java.util.*, java.lang.*,

RE: Input from a FORM - encoding problem

2002-02-18 Thread Arnold Shore
I'm using something like the ff, which works for me with IE6 and IIS: FORM ACCEPT-CHARSET=UTF-8 METHOD= ... Arnold Shore Annapolis, MD USA -Original Message- From: Nikola Milutinovic [mailto:[EMAIL PROTECTED]] Sent: Monday, February 18, 2002 8:45 AM To: Tomcat Users List Subject: Input

Re: Input from a FORM - encoding problem

2002-02-18 Thread Nikola Milutinovic
try this ... quote FORM attribute accept-charset = charset list [CI] This attribute specifies the list of character encodings for input data that is accepted by the server processing this form. The value is a space- and/or comma-delimited list of charset values. The client

Re: Input from a FORM - encoding problem

2002-02-18 Thread Nikola Milutinovic
quote FORM attribute accept-charset = charset list [CI] This attribute specifies the list of character encodings for input data that is accepted by the server processing this form. The value is a space- and/or comma-delimited list of charset values. The client must interpret this

Session tracking in Tomcat 3.2.3

2002-02-18 Thread Gaurav Arya
Hi, Is there a way in Tomcat 3.2.3 to switch off session tracking for some URLs and enable tracking for others. We are using URL Rewriting for session management. Our site also has a lot of static content and we need to turn off session tracking when the request for a static page comes in other

Re: Newbie can't run own JSP in Tomcat (404 - File Not Found)

2002-02-18 Thread jeff . guttadauro
Hi, Brian. This doesn't tell you that it can't find the class referenced in your JSP page. If that were the case, you wouldn't have gotten a 404 error - you would've gotten to a page with a class not found exception. That tells you that it can't find the JSP page itself. In order for

Re: Input from a FORM - encoding problem

2002-02-18 Thread Attila Szegedi
Don't bother fiddling with FORM attributes. I've done this before to no avail. Right now, no matter what you specify as an encoding in a HTML page, most browsers (all favorite IE and NN flavors) ignore it altogether and encode the form data using the encoding in which the page containing the

Re: RE: Digest authentication problem

2002-02-18 Thread jay n gaba
hi i am facing the same problem. there is a problem while using the digest authentication mode. it seems the password format return by ldap,in my case netscape directory structure, is different than one used by the digest class of tomcat.netscape uses base64 encoding while tomcat uses some

RE: RE: Digest authentication problem

2002-02-18 Thread Meurant , Gerald
Thanks, I´ll go the same way (now I don´t know really how the bind authentication can be done) ;) -Mensaje original- De: jay n gaba [mailto:[EMAIL PROTECTED]] Enviado el: lunes, 18 de febrero de 2002 15:51 Para: Tomcat Users List Asunto: Re: RE: Digest authentication problem hi i am

Re: RE: Digest authentication problem

2002-02-18 Thread Attila Szegedi
Netscape 4.x versions don't implement DIGEST authentication. When faced with a DIGEST auth, Netscape 4.x will ask the user for a username and password, and send the server a BASIC auth. This is why you're seeing base64 encoded header in a Netscape request - it's BASIC auth, not DIGEST auth.

RE: Deploying external dependencies

2002-02-18 Thread Greg Trasuk
Hi there: The lines you added define the properties. You also need to add lines into your 'deploy' target to actually do the copying. Look for the target name='deploy'... element, and add something like the following to it. For instance for your 'soap.jar' file: copy

Re: Tomcat 3.3a + Apache 1.3 on Linux 7.2: Problems with mod_jk

2002-02-18 Thread Miguel Paulino Gómez Herrero
Hello, I've the same problem using tomcat 3.3a + Apache 1.3 on Linux Slackware 8.0, it seem that tomcat don't work well because apache http server forwards all request to tomcat but I get a 403 Forbidden response. I think that there is a mistake on the tomcat configuration but I don't

RE: Tomcat 3.3a + Apache 1.3 on Linux 7.2: Problems with mod_jk

2002-02-18 Thread Larry Isaacs
Can you give an example request and provide the associated entries in the various log files? Without more detail, it is hard to guess what the problem is. Cheers, Larry -Original Message- From: Miguel Paulino Gómez Herrero [mailto:[EMAIL PROTECTED]] Sent: Monday, February 18, 2002

RE: The default servlet

2002-02-18 Thread Cox, Charlie
you can disable the default servlet - therefore it won't serve anything that you have not explicitly set up in web.xml. You can leave the jspservlet active to serve jsp files. you could also write a filter for better control. Here you can check the RequestURL for the files/directories you want

NewB/Default Servlet:Can't find .gif

2002-02-18 Thread john-paul delaney
Hello List... NEWBIE: I want to generate the welcome page for my domain so I mapped a test servlet to / in the web.xml for my context. PROBLEM: A test.gif image is not rendered by the servlet - as it appears the path is not found. OBSERVED: If I map the servlet instead to /intro then

Re: Re: RE: Digest authentication problem

2002-02-18 Thread jay n gaba
hi attila thank you. can u give some pointers on bind authentication method. thanks. regards jay On Mon, 18 Feb 2002 Attila Szegedi wrote : Netscape 4.x versions don't implement DIGEST authentication. When faced with a DIGEST auth, Netscape 4.x will ask the user for a username and

RE: NewB/Default Servlet:Can't find .gif

2002-02-18 Thread Justin Rowles
Hello List... Hallo Newbie ;-) NEWBIE: I want to generate the welcome page for my domain so I mapped a test servlet to / in the web.xml for my context. PROBLEM: A test.gif image is not rendered by the servlet - as it appears the path is not found. Are you trying to return html

RE: Input from a FORM - encoding problem

2002-02-18 Thread Arnold Shore
Re Don't bother fiddling with FORM attributes. I've done this before to no avail: I'm accepting Arabic, Hebrew, Russian, and Chinese doing exactly that, with IE 6 and using Unicode encodings. (Will be trying NN and Opera shortly.) And yes, I'm also using that encoding on the page. It's going

Re: NewB/Default Servlet:..rethink...

2002-02-18 Thread john-paul delaney
(Subject Was: NewB/Default Servlet:Can't find .gif) On second thoughts.. with regard to this (my previous post) it may have been smarter to simply ask what is the best way to generate a welcome page for a domain using a servlet...? thanks/j-p. NEWBIE: I want to generate the welcome page

Re: Tomcat 3.3a + Apache 1.3 on Linux 7.2: Problems with mod_jk

2002-02-18 Thread Miguel Paulino Gómez Herrero
Hello, I attach some logs: Apache HTTP server access_log: 127.0.0.1 - - [18/Feb/2002:17:01:48 +0100] GET /forcap HTTP/1.0 403 271 127.0.0.1 - - [18/Feb/2002:17:01:51 +0100] GET /forcap/informes2002?tipo=informeformato=pdfanexo=11numsolicitud=3 HTTP/1.0 403 284 Apache HTTP server error_log:

DNS resolve issue?

2002-02-18 Thread joseph . chandler
Hello everyone, I have an interesting problem that I figure has come up many times before. The list archives seem to be down at the moment so I'm going to post it here. Forgive me if this has been answered previously. From my local W2K machine, I can ping webserver. I can also ping

RE: NewB/Default Servlet:Can't find .gif

2002-02-18 Thread john-paul delaney
On Mon, 18 Feb 2002, Justin Rowles wrote: PROBLEM: A test.gif image is not rendered by the servlet - as it appears the path is not found. Are you trying to return html including an image link (such as img src=test.gif) or trying to stream an image via the servlet? If the

Virtual Hosts problem with Singleton Class

2002-02-18 Thread Haris Papadopoulos
Hi, I 've configured two virtual hosts under Tomcat 4.0.1 working with Apache 1.3.20. They both load (on startup) a Servlet which creates a Singleton object that (in turn) creates a DB pool. Both servlets are defined in the separate web.xml files. It seems that the second servlet does not

DNS resolve issue? (Updated)

2002-02-18 Thread joseph . chandler
Oh, I should have also pointed out that my servlet classes such as project.servlet.Login are located in the project/WEB-INF/project/servlet/login directory and not in project/servlet Thanks! __ Joseph Chandler Software Engineer Franke Holding USA 305 Tech Park Drive

RE: Virtual Hosts problem with Singleton Class

2002-02-18 Thread Mark Ayad
something your missing A Singleton by it's name creates only a single instance of an object (hence it marshalls object creation i.e. one instance) which is totally acceptable for a DB connection pool. Regards Mark -Original Message- From: Haris Papadopoulos [mailto:[EMAIL PROTECTED]]

RE: NewB/Default Servlet:Can't find .gif

2002-02-18 Thread Justin Rowles
I'm confused as to why once I change the servlet-mapping from / to /intro that the .gif is read. So am I ;-) Can you print out the output from either case and send it. J. *** For more information on Ordnance Survey products and

Re: Virtual Hosts problem with Singleton Class

2002-02-18 Thread Haris Papadopoulos
I agree. But what about contexts? Since I come from Resin, the implementation there is different. The Singleton object is created once for a separate context. Is this an implementation isssue? - Original Message - From: Mark Ayad [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED];

JSP-FILE

2002-02-18 Thread Renato Romano
Hi, can anyone tell me hwy should i define a servlet in my web.xml file which has a jsp-file tag instead of a servlet-class tag ? Defining servlet MyServlet to have a jsp-file (say testServletPage.jsp) means I'll have to make a request like http://myhost,mydom/myapp/servlet/MyServlet?par1=val1...

Re: black magic mystery

2002-02-18 Thread James Williamson
- Original Message - From: E B [EMAIL PROTECTED] --- James Williamson [EMAIL PROTECTED] wrote: Have you tried starting up Tomcat under a debugger (gdb) I have never used a debugger for java before, can gdb be used on java? strange. Sorry, typo on my part, it should be

RE: WAR file created in Tomcat cant run in J2EE RI

2002-02-18 Thread Keith Ng
BTW, it works in TOMCAT as of 3.2.3 -Original Message- From: Keith Ng [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 19, 2002 1:13 AM To: Tomcat Users List Subject: WAR file created in Tomcat cant run in J2EE RI Hi guys I have finally succeeded in making my WAR file and

WAR file created in Tomcat cant run in J2EE RI

2002-02-18 Thread Keith Ng
Hi guys I have finally succeeded in making my WAR file and transferring over to J2EE RI(by depolying) to run. However. i still get a minor glitch while trying to run in J2EE's Server ERROR

TomCat's XML parser

2002-02-18 Thread John Wadkin
All, I'm in the process of setting up a (Unix) system ready for a servlet. I'm told by the person who wrote the servlet that it needs a XML parser. He recommends Xerces and (apparently) I'll also need SAX. I know that TomCat uses Xerces but which version? And does that include SAX? If so, which

Re: Input from a FORM - encoding problem

2002-02-18 Thread Nikola Milutinovic
Attila Szegedi wrote: Don't bother fiddling with FORM attributes. I've done this before to no avail. Right now, no matter what you specify as an encoding in a HTML page, most browsers (all favorite IE and NN flavors) ignore it altogether and encode the form data using the encoding in

Re: Virtual Hosts problem with Singleton Class

2002-02-18 Thread nathan phillips
The singletons should work fine I believe. Each web application will get its own classloader which will load only one instance of each singleton. Since web application classloader have no insight to any other web application class loader, this shouldn't be an issue. Insure that your

Re: Virtual Hosts problem with Singleton Class

2002-02-18 Thread Haris Papadopoulos
This makes sense. My Singleton class, since it's common for all virtual hosts, sits in the default classpath. Can I define a class path for the class loader of each web app so that the default class loader is never invoked? - Original Message - From: nathan phillips [EMAIL PROTECTED] To:

RE: NewB/Default Servlet:Can't find .gif

2002-02-18 Thread john-paul delaney
Thanks Justin... excerpt from web.xml servlet servlet-name intro /servlet-name servlet-class intro /servlet-class /servlet servlet-mapping servlet-nameintro/servlet-name url-pattern/intro/url-pattern

RE: Virtual Hosts problem with Singleton Class

2002-02-18 Thread Filip Hanik
Can I define a class path for the class loader of each web app so that the default class loader is never invoked? just put your class in WEB-INF/classes of each webapp instead of the system classpath Filip ~ Namaste - I bow to the divine in you ~ Filip Hanik Software Architect [EMAIL

RE: WAR file created in Tomcat cant run in J2EE RI

2002-02-18 Thread Keith Ng
Hey Guys i took a peak at the file in the repository folder at C:\j2sdkee1.3\repository\kangkong1\web\TESTEST\jsp\_0002fjsp_0002fxyz LoginForm_jsp and i found this... package org.apache.jsp; import java.util.Calendar;; import javax.servlet.*; import javax.servlet.http.*; import

Re: Virtual Hosts problem with Singleton Class

2002-02-18 Thread nathan phillips
I don't believe you can do that in Tomcat but I may be wrong. The easiest and cleanest approach would be too have your Singleton located in each respective war file that you plan on using it in. Then eliminate it from the classpath. i.e Place the singleton in the WEB-INF/classes directory

RE: NewB/Default Servlet:Can't find .gif

2002-02-18 Thread Larry Isaacs
-Original Message- From: john-paul delaney [mailto:[EMAIL PROTECTED]] Sent: Monday, February 18, 2002 1:34 PM To: Tomcat Users List Subject: RE: NewB/Default Servlet:Can't find .gif On Mon, 18 Feb 2002, Justin Rowles wrote: PROBLEM: A test.gif image is not rendered

RE: Virtual Hosts problem with Singleton Class

2002-02-18 Thread Cox, Charlie
you can put your singleton in \tomcat\lib so that it is shared by all contexts with the common classloader. This will give you only one instance for tomcat, which it sound like you are looking for. see the classloader doc for tomcat Charlie -Original Message- From: Haris Papadopoulos

RE: Tomcat 3.3a + Apache 1.3 on Linux 7.2: Problems with mod_jk

2002-02-18 Thread Larry Isaacs
The last line of the mod_jk.log indicates the request is being forwarded to Tomcat. Now we need to look at Tomcat's log to see details of how it is responding to this forwarded request. Tomcat 3.3 defaults sending the tc_log output to stderr. You can add: path=logs/tomcat.log to server.xml

Trouble with my web.xml?

2002-02-18 Thread Greer, Darren (MED)
Hey all. While trying to run my application I am getting the following err: # org.xml.sax.SAXParseException: The content of element type web-app must match (icon?,display-name?,description?,distributable?,context-param*,filter*

RE: Trouble with my web.xml?

2002-02-18 Thread Randy Layman
You have a servlet-mapping before the last servlet. With Tomcat 4 (and maybe 3.3) you have to have the elements in the right order. Randy -Original Message- From: Greer, Darren (MED) [mailto:[EMAIL PROTECTED]] Sent: Monday, February 18, 2002 1:09 PM To: '[EMAIL

Re: Trouble with my web.xml?

2002-02-18 Thread nathan phillips
I believe you must define all your servlets before you define your servlet mappings. Try it like this: servlet servlet-namedbConnect/servlet-name servlet-classto.nod.servlets.dbConnect/servlet-class load-on-startup1/load-on-startup /servlet

Re: Trouble with my web.xml?

2002-02-18 Thread sophie fischer
Hi, Your xml file should first contain all servlet-tags, and then all servlet-mapping-tags. The dtd does not allow you to first define a servlet-part, than a servlet-mapping and then again a servlet part. Hope this helps, Sophie Greer, Darren (MED) wrote: Hey all. While trying to run my

RE: NewB/Default Servlet:Can't find .gif

2002-02-18 Thread john-paul delaney
Is there a way then, to automatically invoke a servlet by pointing to the url www.mydomain.com (Or am I obliged to use .jsps)? thanks/j-p. On Mon, 18 Feb 2002, Larry Isaacs wrote: The default servlet handles requests that don't map to some other serlvet. This usually includes all static

RE: Trouble with my web.xml?

2002-02-18 Thread Greer, Darren (MED)
Thanks all... Worked Great! -Original Message- From: sophie fischer [mailto:[EMAIL PROTECTED]] Sent: Monday, February 18, 2002 12:26 PM To: Tomcat Users List Subject: Re: Trouble with my web.xml? Hi, Your xml file should first contain all servlet-tags, and then all

Log files

2002-02-18 Thread Mihai Gheorghiu
TC4.0.2LE on jdk1.4.0 on RH7.2 I wanted to merge the contents of catalina.out and localhost_log.date.txt. In server.xml I changed localhost_log logger like this: prefix=catalina. suffix=.out timestamp=false However, in the logs directory I get a file catalina.date.out Please help. Any other

RE: NewB/Default Servlet:Can't find .gif

2002-02-18 Thread Larry Isaacs
I don't know of a way to map www.mydomain.com to a servlet without that servlet being the default servlet. The way servlet mapping works, I think this is unavoidable. If your servlet isn't able to be the default servlet, it will have to be invoked indirectly. You could try an index.jsp that

Easy question

2002-02-18 Thread Marcelo Mathias Lima
One more easy question that can help me so... How can I set a absolute path on windows in this element? is it right? (server.xml) Context path=/ docBase=c:\jsp\mydir debug=0/ I'm using WinME / Tomcat4.0. if it is right my problem must have by other causes. So, help me please... Thak u all,

RE: java.util.zip.ZipException: Permission denied

2002-02-18 Thread Delage, Dave
I got this message once when I had two different versions of a jar file in two different locations. It took forever to debug. (The jar file was part of the Informix JDBC driver package.) Once I deleted the wrong version, the ZipException went away. Hope it helps. Can anyone tell me why I

Pooled connection JNDI DataSource?

2002-02-18 Thread Mark
Has anyone successfully implemented a JNDI pooled connection DataSource using Oracle/Tomcat 4.0.1? I'm able to get a straight DataSource working using javax.sql.DataSource as the resource type and oracle.jdbc.OracleDriver as the driver class, but not a pooled datasource (I've tried a mess of

Frustrated

2002-02-18 Thread Gary Weinfurther
I'm trying to install Tomcat 4.0.1 with IIS 5.0. I have been in the computer biz for decades, but I have never come across a piece of software so complicated and frustrating as Tomcat. I have the example apps working, and I've been able to get the manager app working, but I am at a complete

org.apache.jasper.JasperException: Unable to compile class for JSP

2002-02-18 Thread john bell
Hi, Running a web application on Tomcat 3.3 and trying to move to Tomcat 4.0.2 and now get these errors. org.apache.jasper.JasperException: Unable to compile class for JSP C:\ApacheTomcat\jakarta-tomcat-4.0.2\work\localhost\coffee\jsp\control\homecont$jsp.java:8: Class or interface

RE: org.apache.jasper.JasperException: Unable to compile class for JSP

2002-02-18 Thread Randy Layman
Open up the generated Java file, but I believe that you will see some extra stuff before the imports from something at the top of your JSP file that shouldn't be there. Randy -Original Message- From: john bell [mailto:[EMAIL PROTECTED]] Sent: Monday, February 18,

Re: org.apache.jasper.JasperException: Unable to compile classfor JSP

2002-02-18 Thread Larry Meadors
Probably the wrong servlet.jar. I would look there first... [EMAIL PROTECTED] 02/18/02 01:07PM Running a web application on Tomcat 3.3 and trying to move to Tomcat 4.0.2 and now get these errors. org.apache.jasper.JasperException: Unable to compile class for JSP

Minimal Virtual Host setup Tomcat 4

2002-02-18 Thread Edward Elsics
Hi, What's the minimum I need to do with configurations and directory setups to make a virtual host for Tomcat 4? I tried the following in server.xml and http://virtualhost.mydomainx.com got sent to the default webapp instead of $CATALINA_HOME/vh1: Host name=virtualhost.mydomainx.com debug=0

Re: Frustrated

2002-02-18 Thread joseph . chandler
Basicly tomcatDir

  1   2   >