AW: AW: unanswered questions: Multiple Tomcat Instances

2002-05-29 Thread Ralph Einfeldt
I placed all jar files that our application needs under ${CATALINA_HOME}/webapps/Context/WEB-INF/lib Class files are OK under ${CATALINA_HOME}/webapps/Context/WEB-INF/classes (We don't have any) AFAIK, if you have more than one context and want to use the same classes across all contexts,

users and groups

2002-05-29 Thread Benoit . CHARRET
Hi, I want to know if it possible to get the group of a user via a loginName from a NT domain in a servlet. If it is how can I do and what library couls I use. Thanks Benoit -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

DIGEST authentication problem

2002-05-29 Thread Kallos Andrei
Hello, We have an authentication problem using Tomcat. Briefly, we have set up a simple webapp with DIGEST authentication. It works fine with IE5, but it fails on Mozilla. We have also tested Mozilla on an Apache Http server with DIGEST authentication, and it works! So, we assume that there is

RE: HELP: IIS 5.0 and Tomcat 4.0.3

2002-05-29 Thread Terrence Knoesen
Hello there Nicholas Take a look at this it should help http://jakarta.apache.org/tomcat/tomcat-3.2-doc/tomcat-iis-howto.html http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/ Terrence. -Original Message- From: Nicholas Orr [mailto:[EMAIL PROTECTED]] Sent: 29 May 2002 00:49 To:

RE: Réf. : How to make tomcat work with IIS?

2002-05-29 Thread Terrence Knoesen
All the documentation seems to point at Tomcat and IIS being on the same machine. I couldn't get them working on two different machines with Active Directory Services running. Terrence. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 29 May 2002 07:08 To:

RE: iPlanet + tomcat integration

2002-05-29 Thread Gal Binderman
1. I have to use this version of iPlanet because it's the only one that works with my current application servers. 2. The iPlanet version shouldn't matter, because as far as I know tomcat connectors can work with iPlanet 4. 3. I can't use iPlanets's internal JSP/Servlet engine since it's very

uriworkermap.properties ???

2002-05-29 Thread staginfo-ar
I have IIs and tomcat on 2 different machines and they work perfectly. But when I add a new context in tomcat, that does not write it in the uriworkermap.properties (which is on iis machine). How can I do that?? Thanks jc -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

Tomcat + IIS +SSL

2002-05-29 Thread Christophe GOGUYER DESSAGNES
How do I configure IIS 5 and Tomcat 3.2 to enable SSL ? I have configured workers (ajp12) and redirection works fine in none secure mode. But now, I want to use sll with https, my iis5 is secure and it works but when a request is redirected to tomcat via isapi_redirect the request seems to be

Can't import REAL certificate into TOMCAT 4.0.3 / 4.1.2

2002-05-29 Thread MindTerm
Dear all, I am developing a web application by using tomcat 4.0.3 / 4.1.2 . It is fine so far until I want to implement SSL . SSL is ok when running with self-signed cert which is generated by command keytool -genkey -alias tomcat -keyalg RSA . SSL doesn't work when running keytool

Réf. : RE: Réf. : How to make tomcat workwith IIS?

2002-05-29 Thread staginfo-ar
You've just to replace localhost in workers.properties by the IP of tomcat machine. Note: on iis machine you must have isapi-redirector.dll, iis-redirect.reg, workers uriworkermap.properties. Question : When a context was added on tomcat how iis ( uriworker.properties ) could know that? Jc

How to use jspc ?

2002-05-29 Thread wolfgang
hi there, I'm currently using jspc(command line compilation tool) come with Tomcat. I cannot figure out how to use some options although I read through the manual. Those are -uribase and -uriroot. Could anyone explain me how to use those options(argument) ? ( I always use -webapp option. It

Receipt of 29/05/102 09:39 message

2002-05-29 Thread Andrew . Bate
Re:Tomcat + IIS +SSL ** This message has been sent via the Internet. Internet communications are not secure against interception or modification. Severn Trent Systems therefore can not guarantee that this

Allowing access to webapps via HTTPS only

2002-05-29 Thread Gary Moh
i have a servlet running in Tomcat 3.2.4 in conjunction with Apache + mod_ssl, and am wondering how i can configure such that HTTPS must be used to access the servlet. any help is appreciated gary -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

Tomcat 4 install / config

2002-05-29 Thread Eric Etkin
Configuration: RH Linux 7.3 Tomcat 4.1 Apache 2.0 Installations done via RPM for everything I have installed Apache, and it works fine (i.e I get the default page) I installed Tomcat and all the related prerequisites. I cannot find the startup.sh file, I have looked everywhere. Is it missing

Re: Tomcat 4 install / config

2002-05-29 Thread Cynthia Jeness
Eric, I am using the 4.0.3 version of Tomcat and installed through RPM. The name of the startup file is tomcat4 and is in /usr/bin. Cynthia Jeness Eric Etkin wrote: Configuration: RH Linux 7.3 Tomcat 4.1 Apache 2.0 Installations done via RPM for everything I have installed Apache,

RE: Tomcat 4 install / config

2002-05-29 Thread John Niven
-Original Message- From: Eric Etkin [mailto:[EMAIL PROTECTED]] Sent: 29 May 2002 14:49 To: 'Tomcat Users List' Subject: Tomcat 4 install / config Configuration: RH Linux 7.3 Tomcat 4.1 Apache 2.0 Installations done via RPM for everything I have installed Apache, and it

jbuilder 5 and tomcat 4

2002-05-29 Thread @Basebeans.com
Subject: jbuilder 5 and tomcat 4 From: Jean Fotovat [EMAIL PROTECTED] === hello community, i'd like to integrate tomcat 4 within jbuilder 5 quickly. when i try to change the servlet.jar (4 instead of 3.2), jbuilder does not like that ! thank you for your help jean fotovat -- To unsubscribe,

RE: Tomcat 4 install / config

2002-05-29 Thread Eric Etkin
I saw some of that on the newsgroups, that is surely worth checking into. If I change the port in the server.xml file to port 80 will Apache or Tomcat process the request? Or will it be both?? Eric Etkin -Original Message- From: John Niven [mailto:[EMAIL PROTECTED]] Sent: Wednesday,

RE: iPlanet + tomcat integration

2002-05-29 Thread Leonard Crowe
We run a similar configuration without problems. Our tomcat instance is not on the same box but that is controlled via the workers.properties file and using localhost instead of the IP of the other box has worked for me in the past. We are also using the ajp13 connector as well as the ajp12 but

Host/Serve name problem.

2002-05-29 Thread Collins, Jim
Hi this may be of interest. I am running Apache 1.3.24 and TC4. Users of my application are authenticated against LDAP. In the app I have 3 frames and I used to set the src of the frames based on the server name. This used to work fine but when I upgraded I had to login twice the reason was the

RE: Tomcat 4 install / config

2002-05-29 Thread John Niven
-Original Message- From: Eric Etkin [mailto:[EMAIL PROTECTED]] Sent: 29 May 2002 14:57 To: 'Tomcat Users List' Subject: RE: Tomcat 4 install / config I saw some of that on the newsgroups, that is surely worth checking into. If I change the port in the server.xml file to

Re: Tomcat 4 install / config

2002-05-29 Thread Doug Borenstein
I believe it will create a conflict if both servers are running and using the same port. If Tomcat is being run as a standalone server, it will handle static pages and .jsp. If you want to utilize apache for static pages, you will have to use a connector. the web.xml file in Tomcat should have

RE: Tomcat 4 install / config

2002-05-29 Thread Eric Etkin
Has anyone implemented tomcat 4 to hang off the back of Apache. Apache is more industrial strength from my experience. I want to run apache, and use Tomcat to process the JSP. Eric Etkin Susquehanna Bancshares Inc. 26 North Cedar Street Lititz, PA 17543 Telephone: (717) 625-6360 Mail

Re: Allowing access to webapps via HTTPS only

2002-05-29 Thread Prabhakar Chaganti
You can try to use the ssl connector for tomcat. Check the server.xml. it might be commented out in there. -prabhakar i have a servlet running in Tomcat 3.2.4 in conjunction with Apache + mod_ssl, and am wondering how i can configure such that HTTPS must be used to access the servlet. --

RE: Tomcat 4 install / config

2002-05-29 Thread Wagoner, Mark
There are documents on the Apache website: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/ajp.html Although if you are new to Tomcat I would suggest you work with it in stand-alone mode for a while. Several people have reported that Tomcat by itself is a fairly robust web server. You

RE: tomcat 4.0.3 and No suitable driver SQLException - SOLVED

2002-05-29 Thread Chen, Dean (Zhun)
Thanks for your help everyone. I found the solution: I am using Tomcat 4.03+ with JDK 1.4 (I've tested with JDK 1.31 and it also works) According to this file http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html It states the order in which classes jars are loaded.

RE: Tomcat 4 install / config

2002-05-29 Thread Robert Mclaren
-Original Message- From: Eric Etkin [mailto:[EMAIL PROTECTED]] Sent: 29 May 2002 14:57 To: 'Tomcat Users List' Subject: RE: Tomcat 4 install / config I saw some of that on the newsgroups, that is surely worth checking into. If I change the port in the server.xml file to

Apache and Tomcat integrating problems

2002-05-29 Thread Mauricio Tia Ni Gong Lin
I have been trying to integrate the Apache Web Server and Tomcat, but I get the following message when I start the Apache Web Server: Syntax error on line 211 of /usr/local/apache/conf/httpd.conf: Invalid command 'LoadModule',

how make JASPER use the -deprecation flag during jsp page compilation ?

2002-05-29 Thread Claudio Eichenberger
Hi Tomcat 4.0.4b3 on UNIX How to make JASPER use the -deprecation flag during jsp page compilation ? Thanks for your help Claudio -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Apache and Tomcat integrating problems

2002-05-29 Thread Mladen Turk
-Original Message- From: Mauricio Tia Ni Gong Lin [mailto:[EMAIL PROTECTED]] Sent: 29. svibanj 2002 16:54 To: [EMAIL PROTECTED] Subject: Apache and Tomcat integrating problems Syntax error on line 211 of

AW: Apache and Tomcat integrating problems

2002-05-29 Thread Ralph Einfeldt
Make shure that your apache is compiled with mod_so. (apache -l) If you don't use a leading slash the path is relativ to the server root. To use the directive the way you do, the path should be /usr/local/apache/libexec/mod_jk.so Or you have to use LoadModule jk_module conf/libexec/mod_jk.so

Automatic update... Urgent!

2002-05-29 Thread Wiwi Wiwi
Hi, all. Here is my question: I am doing some online transaction systems. A sub-module call funds transfer is about to develop in my system. If a user wish to make a future funds transfer, e.g. transfer a certain amount to a particular third party account in the next 10 days. However, I do

RE: Allowing access to webapps via HTTPS only

2002-05-29 Thread Sexton, George
Don't specify the application in your non-ssl virtual host definitions. -Original Message- From: Gary Moh [mailto:[EMAIL PROTECTED]] Sent: 29 May, 2002 7:46 AM To: '[EMAIL PROTECTED]' Subject: Allowing access to webapps via HTTPS only i have a servlet running in Tomcat 3.2.4 in

RE: Cannot retrieve session after visiting a different servletcontex t

2002-05-29 Thread Ghanshyam Patel
I understand that sessions are not meant to be shared across servlet contexts. Upon further testing following are my observations: Session SA1 is created when visiting page served by context www.mydomain.com/contextA Session SB1 is created when visiting page served by context

apache 2.036 + tc 4.0.3 jsps and static elements caching in browser

2002-05-29 Thread Ekkehard Gentz
hi, we have successfully integrated apache 2.0.36 and tomcat 4.0.3 using mod_jk apache successfully serves all static elements (.gif, .js, .css, applets) and routes all other things to the webapp on tomcat we have html-pages with toolbars realized by images so if you have 20 tools with 4 gifs

RE: Allowing access to webapps via HTTPS only

2002-05-29 Thread Gary Moh
is there anyway to modify the apache/mod_ssl configuration such that any non https access to /servlet be rejected? gary -Original Message- From: Prabhakar Chaganti [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 29, 2002 10:37 AM To: Tomcat Users List Subject: Re: Allowing access to

Problems setting NT as a service

2002-05-29 Thread Sefton, Adam
Hi, I've been trying to set tomcat to run as a service (which I have done successfully before) using the following command: tomcat.exe -install Tomcat path to jvm.dll -Djava.class.path=path to bootstrap.jar -Dcatalina.home=path to Tomcat root directory -Xrs- -start

Re: how make JASPER use the -deprecation flag during jsp page compilation ?

2002-05-29 Thread David M. Karr
Claudio == Claudio Eichenberger [EMAIL PROTECTED] writes: Claudio Hi Claudio Tomcat 4.0.4b3 on UNIX Claudio How to make JASPER use the -deprecation flag during jsp page compilation ? You might consider setting up your build procedure to pregenerate (using the JspC class) and

Can someone crack into server.xml?

2002-05-29 Thread Daniel Hinojosa
Given that a firewall blocks everything except port 8080 (Tomcat) and 80 (Apache). Can someone crack in to view the server.xml. This assumes that the cracker already know that it is Tomcat running (perhaps by noticing .jsp). -- Daniel Hinojosa Java XML Consultant | Developer | Instructor

startup problem

2002-05-29 Thread Sharifuddin Ahmed
hello everyone i was wondering if anybody can help me.I have jdk1.3 installed in C:\program files\jdk1.3\bin In tomcat.bat i added in the environment variables SET JAVA_HOME=C=\PROGRAM FILES\jdk1.3\bin when startup at C:\jakarta-tomcat-3.2.4\bin i get the error

RE: startup problem

2002-05-29 Thread Whitcomb, Roger
The JAVA_HOME doesn't need the \bin at the end, just the path to the root of the Java installation: SET JAVA_HOME=c:\Program Files\jdk1.3 Roger Whitcomb Computer Associates Senior Software Engineer Development Phone: +1 408 965 8653 FAX: +1 408 965 8805 [EMAIL PROTECTED] mailto:[EMAIL

RE: apache 2.036 + tc 4.0.3 jsps and static elements caching in browser

2002-05-29 Thread Short, Dave
Can you post apache and tomcat integration details, i.e. httpd.conf, tomcat.conf files, etc.? -Original Message- From: Ekkehard Gentz [mailto:[EMAIL PROTECTED]] Sent: May 29, 2002 8:53 AM To: Tomcat Users List Subject: apache 2.036 + tc 4.0.3 jsps and static elements caching in browser

RE: startup problem

2002-05-29 Thread John Niven
-Original Message- From: Sharifuddin Ahmed [mailto:[EMAIL PROTECTED]] Sent: 29 May 2002 17:41 To: [EMAIL PROTECTED] Subject: startup problem hello everyone i was wondering if anybody can help me.I have jdk1.3 installed in C:\program files\jdk1.3\bin In tomcat.bat i added

Cant't print in Tomcat 4

2002-05-29 Thread Jack Li
Hello, I posted this message a couple of days ago. But didn't get any responses. Here is my problem: I have a program that prints hard copy reports on server's printer. The program is a java bean. This worked very well in Tomcat 3.1.2. It doesn't work anymore after I upgrade to Tomcat 4. The

Re: DIGEST authentication problem

2002-05-29 Thread Larry Meadors
Sorry, I cannot help you fix the problem, but I have some more info related to it. I ran across the same problem with Mozilla 0.9.9 on Redhat Linux 7.2, but if I hit the same tomcat server from IE6 on Win2K, it works fine. So, to me it looks like the problem may be specifically with Tomcat

JWSDP 1.0 E02 (JNDI HOWTO)

2002-05-29 Thread miten mehta
Hello, I am trying to configure/use MSACCESS datasource. If needed email me for complete files at [EMAIL PROTECTED] Following error shows in dos window for tomcat. javax.naming.NamingException: DbcpDataSourceFactory: driverClassName is required Here are snippets of server.xml and

Tomcat authentication using Microsoft SQL Server.

2002-05-29 Thread Daniel Hinojosa
I am using FORM authentication on my web application. I have everything set up nice. My customer requests that the authentication be done against the given users and roles table in the SQLServer. I thought it was no large task. The users table I found out to be was sysusers per database.

Memory Leak?

2002-05-29 Thread Mark Shurgot
I am having the strangest problem with Tomcat and inner classes. In a few JSP pages, we use inner classes (beefed up structs) to store information retrieved from a database into a collection class (Vector). It seems that somewhere between getting the data from the result set and constructing

Re: Tomcat 4 install / config

2002-05-29 Thread Phillip Morelock
Although if you are new to Tomcat I would suggest you work with it in stand-alone mode for a while. Several people have reported that Tomcat by itself is a fairly robust web server. You can always add Apache later without effecting your app. No sense making things more complicated from

Re: Memory Leak?

2002-05-29 Thread Phillip Morelock
You are using the same name for the parameter to the constructor and the instance variable for your inner class. fillup On 5/29/02 10:55 AM, Mark Shurgot [EMAIL PROTECTED] wrote: I am having the strangest problem with Tomcat and inner classes. In a few JSP pages, we use inner classes

global resources

2002-05-29 Thread Christian J. Dechery
I can't seem to get my classes as global. I want them to be acessed by all applications... so I placed it under $CATALINA_HOME/classes and $CATALINA_HOME/lib right? Well... when I do that, either two things happen: it doesn't find the classes and nothing works, or it gives me a crazy error

RE: global resources

2002-05-29 Thread Mark Shurgot
You should use $CATALINA_HOME/commom/classes and $CATALINA_HOME/common/lib -Original Message- From: Christian J. Dechery [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 29, 2002 10:59 AM To: [EMAIL PROTECTED] Subject: global resources I can't seem to get my classes as global. I want

Re: global resources

2002-05-29 Thread Phillip Morelock
Just for your edification, FYI the other ones you are currently using are for TOMCAT's classes, not yours. This previous reply is correct. fillup On 5/29/02 11:06 AM, Mark Shurgot [EMAIL PROTECTED] wrote: You should use $CATALINA_HOME/commom/classes and $CATALINA_HOME/common/lib

RE: Memory Leak?

2002-05-29 Thread Mark Shurgot
That doesn't seem to be the problem. Regardless of variable names, the problem still occurs (we tried changing them around earlier as a last resort). The parameter is already corrupt after being received by the constructor, and before any assignment. Also, the local instance variable is

Re: Can someone crack into server.xml?

2002-05-29 Thread Phillip Morelock
In theory at least, no, nobody can view your files. Tomcat protects its config files and anything under WEB-INF . Does this mean it's 100% impossible? Certainly not. On the internet, nothing is impossible. Mostly, don't make some stupid configuration mistake (like mapping your TOMCAT/conf

RE: Tomcat 4 install / config

2002-05-29 Thread Whitcomb, Roger
My experience with using both (Apache 1.3.x and Tomcat 3.x and 4.x with mod_jk) is that if you get the configuration right by following the docs scrupulously and aren't doing anything special (multiple hosts, etc.) it is not difficult. BUT the process is all done by tweaking configuration

RE: global resources

2002-05-29 Thread Christian J. Dechery
I tried that too... if I do that Tomcat doesn't even start. .:| Christian J. Dechery .:| FINEP - Depto. de Sistemas .:| [EMAIL PROTECTED] .:| (21) 2555-0332 [EMAIL PROTECTED] 29/05/02 15:06 You should use $CATALINA_HOME/commom/classes and $CATALINA_HOME/common/lib -Original

Cookies not working w/ Form Based Authentication 3.2.3

2002-05-29 Thread Roland Chan
Hello, When using form based authentication, it appears that cookies are not being written to the client. In my server.xml, noCookies=false, and the client browsers have cookies enabled. Can anyone shed any light here? Using JBoss 2.4.4 w/ embedded Tomcat 3.2.3. Thanks, Roland Roland

Re: Memory Leak?

2002-05-29 Thread Phillip Morelock
Doesn't matter, you don't name an instance variable and a parameter the same thing. Was that really the code from your page? Because there were syntax errors (no semicolon, etc.). It might be a very good idea to go into /work and find out if what you *think* it's translating to is really what

Manager App

2002-05-29 Thread Tim Bourg
Does anyone know a way to provide the context manager to virtual hosts? Timothy Bourg -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: global resources

2002-05-29 Thread Phillip Morelock
It might help if you described what you're doing in a little more detail. What are these classes you want commonly accessible? Are they in jars? Packed correctly, etc.? Please elaborate. fillup On 5/29/02 11:07 AM, Christian J. Dechery [EMAIL PROTECTED] wrote: I tried that too... if I do

RE: Memory Leak?

2002-05-29 Thread Jay Burgess
Doesn't matter, you don't name an instance variable and a parameter the same thing.??? Unless I'm completely missing the point of your comment, Of course you can. I do it all the time, and it's in lots of books that way. Prefixing with this. separates the two variables. Your suggestion of

Re: global resources

2002-05-29 Thread Christian J. Dechery
I want both... I have some classes that are unpacked, that I'd put in the common/classes dir... and some jars... along with them is the oracle driver (classes12.jar)... when I execute the JSP I get the exception thrown when the driver can't be found... if I take this file (classes12.jar) and

RE: Memory Leak?

2002-05-29 Thread Zachary Kuhn
Have you tried explicitly saying new Outerclass.InnerClass() ? maybe that will help. Zak -Original Message- From: Jay Burgess [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 29, 2002 11:26 AM To: [EMAIL PROTECTED] Subject: RE: Memory Leak? Doesn't matter, you don't name an instance

global resources (2)

2002-05-29 Thread Christian J. Dechery
According to Tomcat's config, I should places classes and packages in /classes and /lib, not /common/classes and /common/lib. Altough neither is working for me... :/ http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html .:| Christian J. Dechery .:| FINEP - Depto. de

creating global context

2002-05-29 Thread Christian J. Dechery
How do I create a global context? I want to able to include JSP files (as well as images, etc) from this context across all my webapps. This is possible right? thanks .:| Christian J. Dechery .:| FINEP - Depto. de Sistemas .:| [EMAIL PROTECTED] .:| (21) 2555-0332

Re: global resources

2002-05-29 Thread Jacob Kjome
Hello Christian, By chance, are the libraries that you put in TOMCAT_HOME/lib refer to libraries that you put in your webapp's WEB-INF/lib? If so, this just isn't going to work. The WEB-INF/lib libraries can see libraries in TOMCAT_HOME/lib, but not the other way around. For instance, the

Re: global resources (2)

2002-05-29 Thread Phillip Morelock
Ha! Looks like i had it backwards... Thank goodness for documentation ;) fillup On 5/29/02 11:51 AM, Christian J. Dechery [EMAIL PROTECTED] wrote: According to Tomcat's config, I should places classes and packages in /classes and /lib, not /common/classes and /common/lib. Altough

Re: global resources

2002-05-29 Thread Christian J. Dechery
but I just have some beans acessing a an Oracle database... the only thing NOT working is the oracle drivers (classes12.jar, which I tried placing both in /common/lib and /lib)... and all the other classes (now in /common/lib) are working fine. .:| Christian J. Dechery .:| FINEP - Depto. de

Re: creating global context

2002-05-29 Thread rsequeira
You could set the attribute crosscontext=true. And then access resources across various contexts. RS Christian J. Dechery [EMAIL PROTECTED] on 05/29/2002 03:57:13 PM Please respond to Tomcat Users List [EMAIL PROTECTED] To:[EMAIL PROTECTED] cc: Subject:creating global context

global resources (better explained)

2002-05-29 Thread Christian J. Dechery
I have a set of beans, the package names are finep and christian. both are in $CATALINA_HOME/classes calls to these classes occur normally... the problem is, that among these classes, some of them makes calls to the oracle driver... the oracle drivers (classes12.jar) are in

Re: creating global context

2002-05-29 Thread Christian J. Dechery
sorry, I'm kinda newbie to web.xml... could u exemplify? thanks .:| Christian J. Dechery .:| FINEP - Depto. de Sistemas .:| [EMAIL PROTECTED] .:| (21) 2555-0332 [EMAIL PROTECTED] 29/05/02 16:20 You could set the attribute crosscontext=true. And then access resources across various

Re: global resources (better explained)

2002-05-29 Thread Phillip Morelock
pay attention to the order of classloaders -- i would jar your classes and put them with the oracle classes, to ensure they're loaded in the same space. I have said this till I'm blue in the face, but so many problems mysteriously go away when you use jars instead of just throwing class files in

Re: creating global context

2002-05-29 Thread rsequeira
In server.xml: Context path=/examples docBase=examples debug=0 reloadable=true crossContext=true/ The crossContext attribute true implies that servlets/jsps in other contexts can access resources from this context with the help of a RequestDispatcher. RS Christian J. Dechery [EMAIL

Re: creating global context

2002-05-29 Thread Christian J. Dechery
thanks a lot... that will solve a whole bunch of problems .:| Christian J. Dechery .:| FINEP - Depto. de Sistemas .:| [EMAIL PROTECTED] .:| (21) 2555-0332 [EMAIL PROTECTED] 29/05/02 16:41 In server.xml: Context path=/examples docBase=examples debug=0 reloadable=true

Request Reader

2002-05-29 Thread george
Can someone tell me why I get a reader time out when I try to get the body of a request and that body is empty? Why wouldn't the reader just return null? Here is the code that times out: Public String getBody(HttpServletRequest req) { StringBuffer buf = new StringBuffer(); try {

Re: Tomcat Hangs-UP...

2002-05-29 Thread Mark Teegarden
Okay, a simple answer from a simple mind: Check that you are closing resources in your java code appropriately. Don't rely on garbage collection! Are you closing any files opened by your Java code? Are you always closing your jdbc SQL statements/result sets, etc...? Are you closing your Oracle

Configure for read HTML from other source

2002-05-29 Thread Raul Medina Nussbaum
Hi! Tomcat reads de HTML files from de WEB-INF/servlets directory, I want to change that and read from WEB-INF/jsp/sub-directory How can I accomplish that? - -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

please fix my stupid classpath

2002-05-29 Thread Richard Diaz
I set this up like a year ago and now that I look at it, it seems wacked. Looks like I had to add all the servlet jar files? Suggestions most welcome. I'm using Apache, Tomcat 4, Sun sdk 131 Rich SET

Re: please fix my stupid classpath

2002-05-29 Thread Martin van den Bemt
Hi, Tomcat handles your classpath, you don't have to set that.. I even think you get some classloader issues with that.. If you need it for compiling, you should have a look at ant, who can arrange these things a lot easier.. Mvgr, Martin On Thu, 2002-05-30 at 00:08, Richard Diaz wrote: I

Re: please fix my stupid classpath

2002-05-29 Thread Richard Diaz
I am using the command line (javac) to compile my java files. And now I am trying to .jar them... Rich --- Martin van den Bemt [EMAIL PROTECTED] wrote: Hi, Tomcat handles your classpath, you don't have to set that.. I even think you get some classloader issues with that.. If you need it

RE: HELP: IIS 5.0 and Tomcat 4.0.3

2002-05-29 Thread Nicholas Orr
Thanks for that, exactly what I needed. I think this is the better of the two http://jakarta.apache.org/tomcat/tomcat-3.2-doc/tomcat-iis-howto.html -Original Message- From: Terrence Knoesen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 29, 2002 5:52 PM To: 'Tomcat Users List' Subject:

RE: please fix my stupid classpath

2002-05-29 Thread Whitcomb, Roger
Rich - I have NO classpath defined and am doing almost minute-by-minute builds using Ant. Here is my build.xml file as an example. Notice the tomcat-home definition at the top which probably would change and then the servlet-path element which points to all the Tomcat servlet .jar

RE: please fix my stupid classpath

2002-05-29 Thread Martin van den Bemt
!-- Note: this is a kludge until we figure out how to pass this value in -- property name=tomcat-home location=C:/Program Files/Apache Tomcat 4.0/ Checkout http://jakarta.apache.org/ant/manual/CoreTasks/property.html especially the parameter environment needs looking at ;) Mvgr, Martin On

RE: please fix my stupid classpath

2002-05-29 Thread Whitcomb, Roger
Thanks Martin! Roger Whitcomb Computer Associates Senior Software Engineer Development Phone: +1 408 965 8653 FAX: +1 408 965 8805 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: Martin van den Bemt [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 29, 2002 3:50 PM

Stylesheet link blows warp connection

2002-05-29 Thread Rupert Young
Hi, I am testing a very simple jsp, which displays the date (see below). I can get the page up ok, but when I click refresh it works a few times then the browser seems to hang and the page doesn't come up. If I click stop and then refresh I get an error (webapp:error 500). If I take out the

This has me ???Puzzled???: Switch being done but not really

2002-05-29 Thread Nicholas Orr
I have attached two files Source.txt and Error.txt. Have a look at the Error.txt file first, then look at the Source.txt file. Now tell me, is the switch statement getting done or not? I would think it is getting done but the values are not being passed. Puzzeld and Amazed, Nicholas

RE: This has me ???Puzzled???: Switch being done but not really

2002-05-29 Thread Galbayar
add this sPage = request.getParameter(Page); sSubTitle=null; sFormName=null; sPageName -Original Message- From: Nicholas Orr [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 8:08 AM To: Tomcat Users List Subject: This has me ???Puzzled???: Switch being done but not really I have

RE: please fix my stupid classpath

2002-05-29 Thread Richard Diaz
All I am trying to do is eliminate the Servlet Exception wrong name error I am getting ever since I moved my class files into a jar file. I added my jar file as the last entry of my classpath below... ANT = 'Another Neat Tool' THAT I GOTA LEARN?!?!?! AAGGGHHH =( Rich SET

RE: This has me ???Puzzled???: Switch being done but not really

2002-05-29 Thread Nicholas Orr
Thanks for that, How come those lines make all the difference? When I had a 'default' case in my switch everything worked fine, but I didn't want a default in there. So I took it out. Then I got my problem, how come. Nicholas -Original Message- From: Galbayar [mailto:[EMAIL

RE: Memory Leak?

2002-05-29 Thread Mark Shurgot
We have narrowed it down to a simple test page. Try this out and see if you have the same problem. Attached is the test page, the correct results, and the corrupted results. Run the test page a few times. Take note that the first three or four times you access the page, all is fine. The

Re: Tomcat Hangs-UP...

2002-05-29 Thread Wagner Danda
Hello, Hi, my comments are below. - Okay, a simple answer from a simple mind: Check that you are closing resources in your java code appropriately. Don't rely on garbage collection! Are you closing any files opened by your Java code? Yes, I am. Are you always closing your

Bug? Does Tomcat 4.0.3 pay attention to the cached attribute?

2002-05-29 Thread Eric . Bier
Tomcat Users, After trying without success to turn off caching in Tomcat 4.0.3 using: Context path= docBase=ROOT debug=0 Resources cached=false/ /Context my team started searching through the code for places that change the value of the caching parameter. We didn't find any. Did we miss

RE: Memory Leak?

2002-05-29 Thread Zachary Kuhn
I'm sorry, I don't have access to my tomcat server at the moment, but if you replace that String.valueOf(double) call to a Double.toString(double) does the same problem occur? I would also suggest you throw some printlines of that value out so you can more closely trace the problem. Zak

Re: please fix my stupid classpath

2002-05-29 Thread Phillip Morelock
the way to pass things in is -d this is how you can have the same build.xml on several systems...just use -d to pass in specific env vars. fillup On 5/29/02 3:49 PM, Martin van den Bemt [EMAIL PROTECTED] wrote: !-- Note: this is a kludge until we figure out how to pass this value in --

Re: Tomcat Hangs-UP...

2002-05-29 Thread Phillip Morelock
Two comments below. fillup Are you closing your Oracle connections? Are there too many open connections? I am using an Oracle implementation of connection pool. Every user that log on system get an connection from that pool. The connection will not br released until this user close the

Re: please fix my stupid classpath

2002-05-29 Thread Phillip Morelock
Get one of the jars you packed yourself. Type jar tf myjar.jar and send your output. fillup On 5/29/02 4:28 PM, Richard Diaz [EMAIL PROTECTED] wrote: All I am trying to do is eliminate the Servlet Exception wrong name error I am getting ever since I moved my class files into a jar

Re: IIS 5.0 and Tomcat 4.0.3

2002-05-29 Thread Charles Brown
Look at http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/ - Original Message - From: Nicholas Orr [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, May 28, 2002 7:48 PM Subject: HELP: IIS 5.0 and Tomcat 4.0.3 Hi, How do I get tomcat to take

Re: Request Reader

2002-05-29 Thread Phillip Morelock
what happens if you directly use the input stream instead? req.getInputStream( ) cheers fillup On 5/29/02 1:57 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Can someone tell me why I get a reader time out when I try to get the body of a request and that body is empty? Why wouldn't the

RE: Use Worker MPM with mod_webapp

2002-05-29 Thread Steve Wong
bash-2.03# env | grep PATH LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib:/usr/local/mysql/lib/mysql CLASSPATH=.:/opt/tomcat/lib/common:/opt/tomcat/lib/common/mysql_uncomp.jar:/opt/ tomcat/lib/jnisso.jar:/opt/tomcat/lib/common/servlet.jar:/usr/jakarta-ant-1.4/cr

  1   2   >