more problem about emails using servlets

2003-06-12 Thread bilal sulehri
java Email API require to give the address of smtp server, now which smtp server i have to write. Do I have to give the address of my ISP's server, or yahoo or hotmail server or create my own exchange server? _ Tired of spam? Get ad

Re: Running Tomcat3 on port 80

2003-06-12 Thread taf
I don't think that Apache is running, status of httpd is stopped. Is there another way to ensure this? The tomcat failure message is quite specific about permission: Exception: java.lang.reflect.InvocationTargetException java.lang.reflect.InvocationTargetException: org.apache.tomcat.core.Tomcat

RE: In memory session replication and session listeners?

2003-06-12 Thread Filip Hanik
The session listener is only notified on the machine the value actually gets set. Session data doesn't get replicated using the setAttribute/removeAttribute methods, but pure serialization. And for now, the clustering doesn't have a public API to send your own data through it. one way you an do it

Re: Running Tomcat3 on port 80

2003-06-12 Thread Bill Barker
The most likely reason it fails is that you already have Apache running on port 80. Only one application on the box can bind to port 80. You have to stop Apache first. After that, it is pretty much: sudo $TOMCAT_HOME/bin/startup.sh If you are running 3.3.1 stand-alone, you might want to look

Re: Class cast exception ...

2003-06-12 Thread Yoav Shapira
Howdy, Print out the value of session.getAttribute("DBREADER") before you set it: that way you can see what its real runtime class is. It probably won't be that locationHelper class you're trying to cast into... Yoav Shapira --- Mufaddal Khumri <[EMAIL PROTECTED]> wrote: > Made a typo in my prev

Re: rotating catalina.out

2003-06-12 Thread Yoav Shapira
Howdy, > OTOH - After the startup message - nothing really should be written to it > without making an effort to do so. So only badly written code which uses > System.out/err will be the victim. This is the incentive to use a real > logging package. Allowing rotation allows reward of bad code. I

Re: rotating catalina.out

2003-06-12 Thread Tim Funk
I still think a simple kludge is to pipe to a program. In catalina.sh, change: >> "$CATALINA_BASE"/logs/catalina.out 2>&1 & to | more 2>&1 & In place of more - put your favorite log rotation script. For windows - it might be a bit trickier. -Tim Eric J. Pinnell wrote: I agree that developers sho

RE: Running Tomcat on port 80

2003-06-12 Thread taf
Actually, I'm such a newbie that I'm perfectly willing to give Tomcat exclusive access to port 80 -- at the moment, I rather not incur the additional learning curve required to get Apache running, still less getting Apache to frontend for Tomcat. I grant you that I'll probably want to use Apache

RE: [SPAM:56%] Using File class in Tomcat

2003-06-12 Thread Mayne, Peter
Title: RE: [SPAM:56%] Using File class in Tomcat Are you running Tomcat from a command line, or as a service? If Tomcat is running as a service, what user is it running as? PJDM -- Peter Mayne Technology Consultant Spherion Technology Solutions Level 1, 243 Northbourne Avenue, Lyneham, AC

RE: Running Tomcat on port 80

2003-06-12 Thread Goehring, Chuck Mr., RCI - San Diego
Terry, Tomcat would need exclusive use of the port. You probably have Apache or some other web server already listening on that port. You will have to move it to another if you want to run Tomcat on 80. The other option is to have Apache act as the front-end to Tomcat using a connector such

Re: rotating catalina.out

2003-06-12 Thread Eric J. Pinnell
I agree that developers should use good coding practices. But they don't. So as a sys-admin or an ops guy you have to rotate that file simply because tomcat creates it. If it wasn't there developers couldn't use it and ops wouldn't have to rotate it. My initial confusion was because it is basica

Running Tomcat3 on port 80

2003-06-12 Thread taf
What do I have to do to get Tomcat 3.3.1 to run with port 80? I modified server.xml to alter the port number, and it now fails with lack of permission on port 80. The Redhad doc for Apache says it must be started by root for this to work, but I start it as root and it still fails. A command l

In memory session replication and session listeners?

2003-06-12 Thread Lawrence, Gabriel
I'm using the tomcat 4 clustering stuff found at: http://cvs.apache.org/~fhanik/index.html And I have one issue. I have a service that tracks some information that is reported outside the users session. This is examined by a different client then the users client. I want to keep this global infor

Re: Class cast exception ...

2003-06-12 Thread Mufaddal Khumri
Thats the complete stack Trace: 2003-06-12 15:54:47 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception org.apache.jasper.JasperException at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja va:248) at org.apache.jasper.servlet.JspServlet.se

RE: Load Balancing Question?

2003-06-12 Thread Michael Cardon
Solved: I added the following to each of my tomcat server.xml files in the tag: mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 11:41 AM To: [EMAIL PROTECTED] Subject: Load Balancing Question? I would like to setup a 'session' type of load balancing using apache2 and two or three instanc

RE: Class cast exception ...

2003-06-12 Thread Filip Hanik
can you provide the complete stack trace, usually when a Class cast exception happens it will also print out the class that fails, > java.lang.ClassCastException (nothing here?) > at > org.apache.jsp.EditOffering_jsp._jspService(EditOffering_jsp.java:1

Re: Class cast exception ...

2003-06-12 Thread Mufaddal Khumri
no ... its just in one place neither have i reloaded the context. Even if i did reload the context .. it should have found the correct .class file since i have specified the complete path to it in the jsp useBean tag right ? On Friday, June 13, 2003, at 04:24 AM, Filip Hanik wrote: any chance

Class cast exception ...

2003-06-12 Thread Mufaddal Khumri
Made a typo in my previous email .. heres the corrected email: I get the following error in tomcat: java.lang.ClassCastException at org.apache.jsp.EditOffering_jsp._jspService(EditOffering_jsp.java:129) I looked at EditOffering_jsp.java and it has this at line 129: locationHelper = (com.wave

RE: Class cast exception ...

2003-06-12 Thread Filip Hanik
any chance the class com.wavesinmotion.cw.classes.jsphelpers.LocationHelper resides in more than one place? or did you reload the context? Filip > -Original Message- > From: Mufaddal Khumri [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 12, 2003 3:17 AM > To: Tomcat Users List > Subj

Class cast exception ...

2003-06-12 Thread Mufaddal Khumri
I get the following error in tomcat: java.lang.ClassCastException at org.apache.jsp.EditOffering_jsp._jspService(EditOffering_jsp.java:129) I looked at EditOffering_jsp.java and it has this at line 129: locationHelper = (com.wavesinmotion.cw.classes.jsphelpers.LocationHelper) pageContext.get

Re: rotating catalina.out

2003-06-12 Thread Tim Funk
I have mixed feelings on catalina.out. On one hand it should be allowed to rotate because it does get written to. OTOH - After the startup message - nothing really should be written to it without making an effort to do so. So only badly written code which uses System.out/err will be the victim. T

catalina.policy

2003-06-12 Thread Phillip Qin
If myapp is deployed as a war, how do I create a grant entry in catalina.policy to allow writing to my log file? I tried grant { permission java.io.FilePermission "${catalina.home}/logs/myapp_debug.txt","write" ; } But it didn't work. Caused by: java.security.AccessControlException: acce

RE: rotating catalina.out

2003-06-12 Thread Ben Ricker
I use logrotate to rotate catalina.out. You need to restart Tomcat to do this, but I do it in a maintenance window. Ben Ricker Wellinx.com On Thu, 2003-06-12 at 15:54, Filip Hanik wrote: > log4j works for your own code, but if you are a sysadmin, and need to rotate > catalina.out (which is essent

RE: rotating catalina.out

2003-06-12 Thread Yoav Shapira
Howdy, > I am gonna ask the developers to switch to log4j instead of System.out, they > might give me the finger :) I wouldn't give you the finger ;) There was a discussion in the winter about making tomcat 5.x use log4j internally. Yoav Shapira = Yoav Shapira [EMAIL PROTECTED] _

RE: Network access

2003-06-12 Thread Angus Mezick
Is local caching an option? Any chance that external machine can somehow serve the information directly? Perhaps using an IFRAME element? --Angus > -Original Message- > From: Edson Alves Pereira [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 12, 2003 4:57 PM > To: 'Tomcat-User List'

Re: A question of configuration

2003-06-12 Thread Liem Do
Hi, You could have a myapp.xml file that defines the context for your application and include the necessary resource definitions in it. Then you can take out your application's element from server.xml and tomcat will create the context from this file. This file is placed in the webapps directory

Network access

2003-06-12 Thread Edson Alves Pereira
Hello folks, i have an application that does many requests to an external machine, each request is a thread that send and receive text to process, my problem here is, some times there are so many requests and i fear this external machine can´t accept all requests or my application cannot ge

RE: Tomcat3 Files on Redhat 9

2003-06-12 Thread Filip Hanik
I thought you can get this info using the RPM command on linux, not sure exactly what flag it is, look it up on the web and let us know :) Filip > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 12, 2003 1:05 PM > To: [EMAIL PROTECTED] > Subje

RE: rotating catalina.out

2003-06-12 Thread Filip Hanik
log4j works for your own code, but if you are a sysadmin, and need to rotate catalina.out (which is essentially System.out) then you are toast :-) I am gonna ask the developers to switch to log4j instead of System.out, they might give me the finger :) filip > -Original Message- > From: S

RE: rotating catalina.out

2003-06-12 Thread Shapira, Yoav
Howdy, It seems you're right -- I hadn't looked at the code for a while. This is why I suggested tomcat use the log4j file rollover mechanism, which is very robust. But I didn't get much positive feedback, and I certainly don't have the bandwidth to do it myself right now... Yoav Shapira Millen

RE: rotating catalina.out

2003-06-12 Thread Filip Hanik
what mechanism is that? It looks like the logs are being held by an open file descriptor, so rotating the catalina.out will just stop logging after the first rotation, since you cause an IOException in Tomcat. filip > -Original Message- > From: Shapira, Yoav [mailto:[EMAIL PROTECTED] > S

RE: rotating catalina.out

2003-06-12 Thread Shapira, Yoav
Howdy, Why not use the nightly rollover mechanism used for servlet logs, localhost logs, etc. also for catalina.out? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Eric J. Pinnell [mailto:[EMAIL PROTECTED] >Sent: Thursday, June 12, 2003 4:04 PM >To: Tomcat Users List

Re: rotating catalina.out

2003-06-12 Thread Eric J. Pinnell
I was going to experiment with it next week. It would be nice to do it within Tomcat and stay away from the Unix-y stuff. That way it would also work for the windows users. I have a feeling the Unix-y stuff will have to suffice for a bit. -e On Thu, 12 Jun 2003, Filip Hanik wrote: > did anyon

Tomcat3 Files on Redhat 9

2003-06-12 Thread taf
Hello, I'm new to both Tomcat and Linux. I installed 3.3.1 via RPM on my Redhat 9 system. The file structure doesn't seem to be what is documented in the Tomcat docs. Is there a list of where all the Tomcat bits go when installed via RPM? Thanks in advance! Regards, Terry Fuller [EMAIL PRO

Changes in jsps and classes

2003-06-12 Thread Ozge Gundogdu
Hi, I am using tomcat 4.1.24 on windows XP. When I change the jsp and class files in the root directory of the Tomcat, still the old files executes. What should be the problem? Thanks for your response, Ozge Gundogdu

rotating catalina.out

2003-06-12 Thread Filip Hanik
did anyone figure out how to rotate this bad boy and the localhost_log without shutting down tomcat? Filip - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

TC with JWSDP1.2 download - how is this version starting

2003-06-12 Thread robert rowntree
embedded TC with JWSDP1.2 download - how does it start?? The JAX-RPC samples will run ONLY with the special TC launcher included with the JWSDP installation. what in the world are they using as a Launcher for their TC? How is the normal TC "launch" changed by JWSDP's use of the "LauncherBootstrap

RE: can i send emails using servlets to yahoo or hotmail addresses

2003-06-12 Thread Raible, Matt
How about a code sample: http://tinyurl.com/e61q -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 12:49 PM To: Tomcat Users List Subject: RE: can i send emails using servlets to yahoo or hotmail addresses Howdy, See the JavaMail Sessions s

A question of configuration

2003-06-12 Thread Michael Holly
I am trying to config a Tomcat 4.1.18 server. I want to be able to use Tomcat manger from my ANT build to install the war file and run tests on it(junitee). My problem is that my app has two jdbc Data sources defined by jndi naming in the server.xml file. Right now these data sources are defined

AJP 1.3 connector & apache 1.3.x

2003-06-12 Thread Leo Stone
I am using apache 1.3.26 and tomcat 4.1.24, is it better to use mod_jk than jk2? If so, then I can only use the AJP 1.3 connector instead of the default Coyote/JK2 connector in the server.xml? Am I missing something? Thanks, L S - Do you Yahoo!? Free online ca

RE: Tomcat 4.1.24 clustering and server.xml changes

2003-06-12 Thread STEVESCHIERHOLZ
Thanks, Other than this little annoyance, the clustering and session replication works great! -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 12:59 PM To: Tomcat Users List Subject: RE: Tomcat 4.1.24 clustering and server.xml changes aah, t

RE: can i send emails using servlets to yahoo or hotmail addresses

2003-06-12 Thread Shapira, Yoav
Howdy, See the JavaMail Sessions section of the Tomcat JNDI How-To here: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-resources-howto.htm l Or you could just read the JavaMail API/tutorial and do it yourself. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: bi

RE: can i send emails using servlets to yahoo or hotmail addresses

2003-06-12 Thread Jeremy Nix
You can send email anywhere. It's all about using the Java Mail API to set up the associated POP3 accounts. There really is no difference whether you do this through a Java App and a Java Web App. _ Jeremy Nix Senior Application Developer Southwest Financial Ltd. [EMAIL PROTECTED

can i send emails using servlets to yahoo or hotmail addresses

2003-06-12 Thread bilal sulehri
I m beginner in servlets, and i don't know how can i send emails using servlets, can any one help me? _ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail -

RE: Using File class in Tomcat

2003-06-12 Thread Cox, Charlie
are you running as a service? if so does the local "System" user have access to your share? you will need to use \\server\path since the System account will not have your mapped drives. Charlie > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, June

Load Balancing Question?

2003-06-12 Thread Michael Cardon
I would like to setup a 'session' type of load balancing using apache2 and two or three instances of tomcat41. This setup routes each request to a different tomcat instance. In mywebapp, once a person has logged in, I need each additional request in that users session to stay with the same tomcat

Anything different between tomcat4 and tomcat5?

2003-06-12 Thread Liying Huang
Have anyone tried tomcat5? I have put my project.war in tomcat4/webapps, I can see generated websites. But if I put it in tomcat5, I got status 404, resource not availuable. But I copied cocoon.war to webapps folder, I got to see cocoon websites. If there is something I did wrong in my projec

RE: Getting Tomcat Port from servlet

2003-06-12 Thread Shapira, Yoav
Howdy, No. The reason is webapps are supposed to work independently of what host/port they're deployed to. This has been discussed in detail on this list in the past: search the archives for more information. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Winifred

RE: JNDI DataSource

2003-06-12 Thread Tam, Michael
You didn't mention about your jdbc jar file in your post and maybe you should check where did you put the jar file. In addition, you may want to try a simple jsp to use driver manager to obtain a connection to see if your jdbc lib is loaded. Cheers, Michael -Original Message- From: Tarek

RE: win2000 issue with tomcat4.1.24

2003-06-12 Thread Tam, Michael
I would recommend you to uninstall the existing tomcat and re-install it again WITHOUT using the default path (i.e. try install it in C:\tomcat4.1.24 for example). For the variables(JAVA_HOME and CATALINA_HOME), you should set them as environment variables in your win2k not in your autoexec.bat (I'

error with authenticated principal

2003-06-12 Thread Fedor Smirnoff
I have several applications in my Tomcat webapps directory for some reason following web.xml works for one app but generates erorr for the other: HTTP Status 500 - Configuration error: Cannot perform access control without an authenticated principal Here is the code: http://java.sun.com/dtd/web

RE: How to setup JAASRealm in Tomcat 4.x.x

2003-06-12 Thread Raible, Matt
Here's how to setup Tomcat with a JAASRealm to talk to an NT Domain - maybe this will help: http://tinyurl.com/e5tp Matt -Original Message- From: Loyd Bacani [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 11:50 AM To: Tomcat Users List Subject: Re: How to setup JAASRealm in Tomc

RE: Tomcat 4.1.24 clustering and server.xml changes

2003-06-12 Thread Filip Hanik
aah, that sucks, I'm gonna have to look into that. Filip > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 12, 2003 6:32 AM > To: [EMAIL PROTECTED] > Subject: Tomcat 4.1.24 clustering and server.xml changes > > > I am currently using the clust

RE: JNDI DataSource

2003-06-12 Thread Tarek M. Nabil
Hi Philip, I checked, and the URL thing is driver specific. For the driver I'm using, the format is "jdbc:as400:machineName" and that's what I'm using. The strange thing is the error message "Cannot load JDBC driver class 'null'". Why does Tomcat see the dirver as null, although I have specifie

RE: [SPAM:56%] Using File class in Tomcat

2003-06-12 Thread BBui
I also just found out that if I have any other file that I have to read in from a network mapped drive, it's not found. This must be some setting in Tomcat. Any comment? Idea? Bao-Ha Dam Bui [EMAIL PROTECTED] St. Jude Medical, Inc -Original Message- From: [EMAIL PROTECTED] [mailto:[E

Re: How to setup JAASRealm in Tomcat 4.x.x

2003-06-12 Thread Loyd Bacani
As I mentioned below, I found most of these information about JAAS using Google (googling). But couldn't find the document(s) or information which would help me setup JAASRealm in Tomcat 4.1.x. Basically, what setup procedures nneds to be followed to enable JAASRealm in Tomcat 4.1.x. I know wher

RE: JNDI DataSource

2003-06-12 Thread Tarek M. Nabil
Hi Jacob, I checked, and it seems that Tomcat automatically creates a in my application entry when I install the application. -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 8:17 PM To: Tomcat Users List Subject: Re: JNDI DataSource You n

Getting Tomcat Port from servlet

2003-06-12 Thread Winifred Sanchez
Hi! From a servlet, the server port can be determined by using request.getServerPort(). But this would need the servlet to be accessed first. Is it possible to get the server port without the servlet being accessed first? Thanks. ___

RE: win2000 issue with tomcat4.1.24

2003-06-12 Thread Srinivasu Gandu
Yes I did install in "Program Files\Apache Group\Tomcat4.1" But when I install in other directory I am getting HTTP Status 503 - Servlet jsp is currently unavailable. I hav't set the java home and catalina home for win98. 1) installed j2sdk-1_4_1_01-windows-i586.exe in win98 2) I just intall the

RE: JNDI DataSource

2003-06-12 Thread Phillip Qin
Replace your url with fully qualified url, in Oracle I use jdbc:oracle:thin:@myhost.myudomain.com:port:sid -Original Message- From: Tarek M. Nabil [mailto:[EMAIL PROTECTED] Sent: June 12, 2003 1:09 PM To: 'Tomcat Users List' (E-mail) Subject: JNDI DataSource Hi, I'm trying to setup a JD

Re: JNDI DataSource

2003-06-12 Thread Jacob Kjome
You need a in your for each webapp that you want to make the resource available to. Jake At 08:08 PM 6/12/2003 +0300, you wrote: Hi, I'm trying to setup a JDBC DataSource on Tomcat 4.1.24. I performed the steps in the documentation: 1- Added this part to the GlobalNamingResources section of

JNDI DataSource

2003-06-12 Thread Tarek M. Nabil
Hi, I'm trying to setup a JDBC DataSource on Tomcat 4.1.24. I performed the steps in the documentation: 1- Added this part to the GlobalNamingResources section of the server.xml maxWait 5000 maxActive 8 ur

RE: webapp outside of /webapp

2003-06-12 Thread Jeff Cummings
Thanks Yoav. I removed filters and listeners from the web.xml file for that webapp and tomcat starts without exceptions and it serves up my JSP. Thanks again. Jeff -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 8:51 AM To: Tomcat Users Lis

RES: Display Tag, Tiles and Paging

2003-06-12 Thread Jose Euclides da Silva Junior - DATAPREVRJ
Dear Mark, can you find out why doesnt this following jsp tag (bellow) work in TomCat 4.1.18? A previous servlet create a bean object and adds it to an ArrayList, which is setted as a setAttribute. At the end, it is always a failure whenever my jsp try to show the bean properties,even it makes the

Re: Classpath problem with Tomcat running in Embedded mode

2003-06-12 Thread sandeep arshanapally
Thanks for your reply. Iam calling the BootStrap.main directly from a thread in my jvm. Iam using Tomcat 4.1.24. I have the catalina.home set to tomcat directory. It recognizes the classes in tomcat directory but none of the classes in the classpath I specify while starting the jvm. Sandeep

RE: win2000 issue with tomcat4.1.24

2003-06-12 Thread Tam, Michael
Sorry I didn't follow this topic from the beginning but maybe you should post where EXACTLY you have tomcat and j2sdk installed and the EXACT values you have set for JAVA_HOME and CATALINA_HOME so we can see if anything went wrong of those settings. In addition, if you install tomcat under "Progra

RE: webapps stopped à startup

2003-06-12 Thread Shapira, Yoav
Howdy, You can't. You can stop them after they start using the manager app. You can ensure their startup doesn't do much by not having anything in init() methods of servlets and filters, and not having anything in the contextInitialized method of a ServletContextListener. But if you have a w

jsp:getProperty Bug in TomCat 4.1.18 (running log attached) - stop using tomcat

2003-06-12 Thread Jose Euclides da Silva Junior - DATAPREVRJ
In TomCat 4.1.18, its impossible to get any bean content as bellow! The TomCat's running process seems to be WRONG.Why? The code bellow is correct, and runs fine in OC4J! Unfortunately, I am thinking in stop using TomCat forever... Euclides. -> http://wtrjo210/ConsultaDica?pagina=p

RE: JVM Profilers

2003-06-12 Thread Shapira, Yoav
Howdy, >We are not using runtime-controllable logging at this time. It seems that >log4j is the de facto standard, so I suppose that's what I'll try first. >How does the JDK 1.4 logging facility compare to log4j? There have been extensive discussions on this issue on the log4j-user mailing lis

RE: [SPAM:56%] Using File class in Tomcat

2003-06-12 Thread BBui
Made no difference. I even tried the \\ instead of the \ by itself. Any more idea please! Bao-Ha Dam Bui [EMAIL PROTECTED] St. Jude Medical, Inc 651.765.1018 -Original Message- From: Brendle, Douglas A. [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 10:58 AM To: Tomcat Users

RE: [SPAM:56%] Using File class in Tomcat

2003-06-12 Thread Brendle, Douglas A.
don't use the mapped drive name. Use it's unc name. If your mapped drive is G:\ and it's mapped to someDir on someServer, refer to it as \\someServer\someDir. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 10:56 AM To: [EMAIL PROTECTED]

Using File class in Tomcat

2003-06-12 Thread BBui
Hi, I am using the java.io.File class to get a list of all the files in a directory. If the directory I am trying to read is a local one, all is fine and good. However, if it is a mapped drive (I am using Win2k) then the class can not see it. I ran the same code reading the mapped drive in comm

JK2

2003-06-12 Thread Pfingstl Gernot
How can I configure 2 JK2 connectors on one server? e.g. ... ... If I have only "jk2handler one", its properties are fetchted from $CATALINABASE/conf/jk2.properties. BUT what if I also have "jk2handler two"? Where can I assign a different properties file or how can I arrange

RE: webapps stopped à startup

2003-06-12 Thread Raible, Matt
You can stop contexts in the manager app (/manager/html) with Tomcat 4.1.x. -Original Message- From: BOULAY Arnaud [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 9:44 AM To: [EMAIL PROTECTED] Subject: webapps stopped à startup small tip please : How can I tell Tomcat that I don'

webapps stopped à startup

2003-06-12 Thread BOULAY Arnaud
small tip please : How can I tell Tomcat that I don't want any web app (say /web4 among /webN) don't start while tomcat start ? thanks, Arno - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

RE: Special characters

2003-06-12 Thread Bodycombe, Andrew
There should not be an '=' after the iso-8859-1. What does echo $CATALINA_OPTS show? Andy -Original Message- From: David Del Sacramento [mailto:[EMAIL PROTECTED] Sent: 12 June 2003 15:27 To: Tomcat Users List Subject: RE: Special characters Thnaks Andy, I did export CATALINA_OPTS, bu

java.endorsed.dirs

2003-06-12 Thread Koes, Derrick
I have tomcat 4.1.18 installed on Win2K. If I run it as a service or from the command line, setclasspath.bat is called and java.endorsed.dirs is set to %BASE_DIR%\bin;%BASE_DIR%\common\endorsed. Therefore, the overrides (xalan 2.5.1 and xerces 2.4.0) that I have in the endorsed directory get pi

Re: Special characters

2003-06-12 Thread Tim Funk
(Hopefully porting the right answer ... ) Until the tomcat site gets updated: http://cvs.apache.org/~funkman/docs/faq/ which links to http://cvs.apache.org/~funkman/docs/faq/misc.html#utf8 which links to http://marc.theaimsgroup.com/?t=1055242&r=1&w=2 -Tim Dominic Parry wrote: someone po

Re: Apache and Tomcat on different machines using mod_jk (ajp13)

2003-06-12 Thread Amit Kumar
Giorgio Ponza and All, I thought worker.list is only the name of the workers thus "remote", how ever the worker.remote.type has been defined as "ajp13". Also when you say ServerName machineB.com should be defined in httpd.conf, but in this case the webapp eada is not defined as a virtualhost, an

Re: Special characters

2003-06-12 Thread Dominic Parry
someone posted an FAQ on this a while ago, if I remember correctly. check the archives. - Original Message - From: David Del Sacramento To: Tomcat Users List Sent: Thursday, June 12, 2003 5:13 PM Subject: RE: Special characters I proved that, but it isn't work :-( Any ot

RE: Help neede on QueryString

2003-06-12 Thread christian . schuster
This is the tsrange thing. I tried with POST and with GET. But both ways I do not have a query string. I also do not have any parameters or attributes. Also in the server log is not query string noted by either POST and GET. It is a really odd situation. Christian Schuster Rudolf Schuster AG

RE: Special characters

2003-06-12 Thread David Del Sacramento
I proved that, but it isn't work :-( Any other idea? Thanks David --- "Roberts, Eric" <[EMAIL PROTECTED]> wrote: > Just try > <%@ page contentType="text/html; charset=UTF-8" > %> > - it worked for me! > -Original Message- > From: David Del Sacramento > [mailto:[EMAIL PROTECTED] > Sent: 1

RE: AJP13 Connector reliability

2003-06-12 Thread Jeremy Nix
What about clustering as mentioned in this article: http://www.theserverside.com/resources/article.jsp?l=Tomcat Does anybody have any comments on its reliability in server-crash scenarios? _ Jeremy Nix Senior Application Developer Southwest Financial Ltd. [EMAIL PROTECTED] (513) 6

Re: Apache and Tomcat on different machines using mod_jk (ajp13)

2003-06-12 Thread Giorgio Ponza
> worker.list = remote what is that? is not worker.list=ajp13 ? in the tomcat machine the machineB.com must be resolved (usually by hosts file) This same name machineB.com must be in your apache httpd.conf defining the ServerName Giorgio Ponza - Original Message - From: "Amit Kumar" <[EM

RE: JVM Profilers

2003-06-12 Thread Roman Fail
Yoav, thanks for your insightful comments. > I like OptimizeIt, having used them all. But the features are fairly similar. > A Profiler is a key tool I highly recommend using frequently. I think you are right, and we will start using one as a regular part of our development. > However, pro

RE: Help neede on QueryString

2003-06-12 Thread Shapira, Yoav
Howdy, Could it be the form parameters are being passed in the HTTP headers, i.e. your form is submitted via a POST rather than GET requests? Post the element from your HTML, and your servlet that processes it. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: [EMAIL

Re: How to setup JAASRealm in Tomcat 4.x.x

2003-06-12 Thread Jacob Kjome
How about this: http://free.tagish.net/jaas/ or http://www.simind.com/ or http://www.cafesoft.com/ And, of course, Tomcat's documentation... http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/valve.html#Single%20Sign%20On%20Valve http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html#

Apache and Tomcat on different machines using mod_jk (ajp13)

2003-06-12 Thread Amit Kumar
Hi I am hoping to get some pointers and help. I am trying to setup connection between apache on machine A to tomcat on machine B. Here is the setup Machine A (Apache http) Machine B (tomcat ajp13 listening on port number 8011) Case I I have been able to install and use mod_jk.so to connect t

RE: Special characters

2003-06-12 Thread Roberts, Eric
Just try <%@ page contentType="text/html; charset=UTF-8" %> - it worked for me! -Original Message- From: David Del Sacramento [mailto:[EMAIL PROTECTED] Sent: 12 June 2003 16:27 To: Tomcat Users List Subject: RE: Special characters Thnaks Andy, I did export CATALINA_OPTS, but I got the ne

Ajp13Connector vs. Coyote/JK2 connector

2003-06-12 Thread Yueshang (Wendy) Zhang
I searched the archive and found that mod_jk is better than mod_jk2 for apache 1.3.26. My question is, if mod_jk is used in this case, can we still use the Ajp13Connector in stead of Coyote/JK2 connector? (although the Ajp13Connector is deprecated in TC 4.1.x) I am using apache to do the authent

Re: Directory Listing in Tomcat 4.1.24

2003-06-12 Thread Tim Funk
Exactly! I was actually thinking about extending the default servlet, overriding the render() method to product an XML document. Then the document can go through a client or server side XSLT transformation. (transformation method and document based on a config option) -Tim Phillip Qin wrote: E

RE: Special characters

2003-06-12 Thread David Del Sacramento
Thnaks Andy, I did export CATALINA_OPTS, but I got the next error. - java.io.UnsupportedEncodingException: iso-8859-1= at sun.io.Converters.getConverterClass(Converters.java:107) at sun.io.Converters.newConverter(Converters.java:

ajp13 - Error receiving message body -1 53

2003-06-12 Thread Wataru Fukushima
OS: Windows 2000 Apache: 2.0.45 (I know it isn't the latest one) Tomcat: 4.0.24 mod_jk2: 2.0.2 (mod_jk2-2.0.43.dll) When I access any page (html, jsp) on Tomcat through mod_jk2, I can find the following errors in Apache error.log: [Thu Jun 12 22:32:45 2003] [error] channelSocket.receive(): Error

Help neede on QueryString

2003-06-12 Thread christian . schuster
Hi list, I have a simple htm form which has some input fields. This form is working fine on a Notes HHTTP Server. But if I use the same for with Tomcat Standalone the query string is always null in the servlet. Does any one know what is wrong? I am running Tomcat 4.1.18 on Win2K. Christian

RE: Special characters

2003-06-12 Thread Bodycombe, Andrew
You have to specify the file.encoding system property export CATALINA_OPTS="-Dfile.encoding=iso-8859-1" Then restart tomcat. HTH, Andy -Original Message- From: David Del Sacramento [mailto:[EMAIL PROTECTED] Sent: 12 June 2003 15:04 To: [EMAIL PROTECTED] Subject: Special characte

How to setup JAASRealm in Tomcat 4.x.x

2003-06-12 Thread Loyd Bacani
I've been googling for days now looking for documentation on how to setup JAASRealm in Tomcat 4.x.x. I am new to JAAS and I am currently on a project which requires the use of Tomcat and JAAS. Unfortunately, I have NOT found any documentation or steps that will accomplish this. Would it be pos

Special characters

2003-06-12 Thread David Del Sacramento
Hi, I installed Tomcat 4.1.24 in a Solaris server and I'm using a JSP form that received special characters like: á é Ó É ú. The action of the form send an e-mail (using javamail). When de tomcat process the e-mail changes the special characters with "?". I used the directive <%@ page contentTyp

Login timeout

2003-06-12 Thread Reis, Tom
Is there a way to change the login timeout for Tomcat 4.03. I think it is set for 20 min. and I want to change it for a 40 min. Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: connecting Tomcat to apache

2003-06-12 Thread Martin Jacobson
Werner van Mook wrote: Hi All, Consider me stupid. I have a Powerbook with Mac OSX 10.2.6 It runs apache out of the box. Now I want to connect tomcat with it. Could somebody point out to me the right way of doing this? I can't consider you stupid - I run Apache + Tomcat on my Powerbook! However,

NoSuchMethodError when using custom tag with attributes

2003-06-12 Thread Jose Euclides da Silva Junior - DATAPREVRJ
Hi gurus, my TomCat ( 4.1.18) doesnt catch a change made in a Bean which is used inside the JSP custom tag. So, i get NoSuchMethodError! What should i do to update it in TomCat. Regards, Euclides. - To unsubscribe, e-mail: [EMA

  1   2   >