Re: Request parameters not coming through correctly [Tomcat 4.1.12]

2002-10-09 Thread Remy Maucherat
Nikola Milutinovic wrote: String searchFields[] = request.getParameterValues(searchField); String searchFieldValue = searchFields[1]; I should be able to just do: String searchFieldValue = request.getParameter(searchField); Why would I be getting an array with two values? I was able to get

Re: Cannot get mod_jk to work

2002-10-09 Thread Henri Gomez
I am unable to get mod_jk to work. The following line in httpd.conf: LoadModule jk_module libexec/mod_jk-1.3-noeapi.so results in this error message: Cannot laod /usr/local/apache/libexec/mod_jk2-1.3.noeapi.so into server: /usr/local/apache/libexec/mod_jk2-1.3.noeapi.so: undefined symbol:

Re: Cannot get mod_jk to work

2002-10-09 Thread sonam singh
how u compile the mod_jk ,have u get the latest source of mod_jk from cvs . look at the compilation option of libtool when mod_jk is compiling .also check the home of apache/build/config_var_mk file the option EXTRA_CPPFLAGS = -D_REENTRANT -D_THREAD_SAFE it shoul be EXTRA_CPPFLAGS =

Re: [ANNOUNCEMENT] JK2 Released as 2.0.1

2002-10-09 Thread Veniamin Fichin
Mladen Turk wrote: The Jakarta-Tomcat-Connector team is pleased to announce the availability of JK2 2.0.1. Binaries and source versions of the release are available and can be downloaded from : http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0.1/ May be a

RE: One Context - two diffenrnt URLs

2002-10-09 Thread sonam singh
--- Matthew Smith [EMAIL PROTECTED] wrote: If you want your GREAT app to be available from www.foo.com/ (the default app) then your server.xml entry should look like this: Context path= ... Make sure that no other context (eg ROOT) has an empty path attribute. -Original

RE: error with doUpload() in bean

2002-10-09 Thread jon wingfield
It's a ClassNotFoundException wrapped by a ServletException then a JasperException. The classloader can't find com.oreilly.servlet.MultipartRequest class (and probably the o'reilly jar) at runtime. -Original Message- From: Sam Seaver [mailto:[EMAIL PROTECTED]] Sent: 08 October 2002 22:46

Re: Help : Apache 2.0.43 , Tomcat 4.1.12 , jk and/or jk2 , win 2k

2002-10-09 Thread sonam singh
get the latest jakarta-tomcat connectors from cvs compile mod_jk or mod_jk2 for apache2 . regards Sonam Singh --- none none [EMAIL PROTECTED] wrote: Hi all, I am trying to make working Apache 2.0.42 or 2.0.43 and Tomcat 4.1.10 or 4.1.12 with mod_jk or mod_jk2 on Windows 2K since last

Re: Request parameters not coming through correctly [Tomcat 4.1.12]

2002-10-09 Thread sonam singh
u can access the reuest in this way Map obj=new HashMap(); Enumeration objEnum=req.getParameterNames(); boolean st=false; while(objEnum.hasMoreElements())

Re: RE: RE: JK2 Installation

2002-10-09 Thread Robert L Sowders
Once upon a time I got JDSK 1.3.1 and Apache 1.3.x and mod_jk to work just fine. Maybe you should fall back to using these. But to answer you questions, The linux binaries for mod_jk2 are at http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0.1/bin/linux/i386/ linux

Re: I need to run a servlet periodically

2002-10-09 Thread Raj Saini
To need the servlet run periodically you need a client calling the servlet periodically. Make your client to run periodically and it will cause the servlet to run. We can suggest you a solution if you let us know what exactly you want your servlet to do. Raj Saini Filip Rachunek wrote:

Re: Error using ajp13 protocol

2002-10-09 Thread Raj Saini
Hi Marc, Telnet to the port 8009 shows that your JK connecter is listening on port 8009. You won't get any output. Now there can be the conflict of host now. What is the defaulthost attribute of your Engine tag and name attribute of the Host tag in your server.xml? Are they both set to

Re: Error using ajp13 protocol

2002-10-09 Thread sonam singh
whih verison of mod_jk u'r using specify . when u try to run the apache is it showing any error . try to connect the tomcat directly nto through apache + tomcat . regards Sonam Singh --- Raj Saini [EMAIL PROTECTED] wrote: Hi Marc, Telnet to the port 8009 shows that your JK connecter is

Re: DBMS access denied with Jakarta NT Service

2002-10-09 Thread Cinzia S
I've solved the problem. It was a setting in the Jakarta NT service, the LogOnAs which limited access to the LocalSystem only. Thanks - Original Message - From: Sexton, George [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, October 08, 2002 1:42 PM Subject: RE:

Re: java.lang.OutOfMemoryError

2002-10-09 Thread Raj Saini
Hi, I was using the tomcat 4.0.3 with JDK 1.4. Tomcat was integrated with apache using warp connector. I used to have the same problem you have now. I recently upgraded to Tomcat 4.1.12 and warp to mod_jk with load balancing with two instances of tomcat on the same server. Memory usages

Re: Configuring Tomcat4.1 to use Apache2.0.43 win32, Doc's not clear

2002-10-09 Thread Robert L Sowders
If you still want an easy install and configuration for windows, try this one. ftp://pokey.wr.usgs.gov/pub/rsowders/Apache2_Jk2_TC4.1.x_JSDK1.4.zip In short here are 7 easy steps to get it working. The jk2.prop and workers2.prop files are attached. Remove .txt from each and use as is. 1.

Re: Configuring Tomcat4.1 to use Apache2.0.43 win32, Doc's not clear

2002-10-09 Thread Robert L Sowders
Point of fact the mod_jk2.dll binaries compiled against Apache 2.0.42 at the jakarta builds site also work with 2.0.43. If you're just want something working right now you might try mod_jk2 instead. Jacob Kjome [EMAIL PROTECTED] 10/07/2002 08:50 PM Please respond to Tomcat Users List

Re: Help : Apache 2.0.43 , Tomcat 4.1.12 , jk and/or jk2 , win 2k

2002-10-09 Thread Robert L Sowders
Try this one, If you still want an easy install and configuration for windows, try this one. ftp://pokey.wr.usgs.gov/pub/rsowders/Apache2_Jk2_TC4.1.x_JSDK1.4.zip In short here are 7 easy steps to get it working. The jk2.prop and workers2.prop files are attached. Remove .txt from each and

Re: AW: jk2 uri mapping of SSL vhost

2002-10-09 Thread Robert L Sowders
I've been using it for sometime now. It doesn't feel any slower that no using it. No testing has been done. rls Malachi de AElfweald [EMAIL PROTECTED] 10/08/2002 01:17 PM Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc:

AW: AW: jk2 uri mapping of SSL vhost

2002-10-09 Thread Michael Riess
I can just say that jk2 seemed to be less responsive than jk, but that was mainly because I couldn't use the UNIX socket communication (didn't work), and because it's unreleased software without optimization. IMO jk2 should be used as soon as it is final and supports JDK 1.4 NIO with unix

Multiple certificates in virtual host setup

2002-10-09 Thread Donie Kelly
Hi all I have a server hosting multiple sites and each wants to use ssl. Can I use a single keystore for all sites? How do I get each site to extract the correct certificate from the keystore? Any help is appreciated. Donie -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

global variables from server.xml

2002-10-09 Thread Donie Kelly
Hi all I want to set a variable in server.xml which can be read by all webapps. How do I do this? Donie -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Jasper and java source package problem

2002-10-09 Thread John Trollinger
That is the correct behavior. When you goto a JSP page through the browser it will do the same thing. The spec leaves the package naming to the implementation -Original Message- From: Khamsouk Souvanlasy [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 08, 2002 9:34 PM To: Tomcat

Re: connector between tomcat apache

2002-10-09 Thread Raj Saini
You can use use the ajp13 with tomcat. (mod_jk at apache end). Warp connecter is not reliable and what I learnt is no more actively developed. There are loadbalancing and fault tolerance features in ajp which are not in warp (mod_webapp) Raj unplug wrote: Hi all, I want to confirm the

Re: Error using ajp13 protocol

2002-10-09 Thread Marc
Hi, here I attach my conf files: I've modified server.xml and workers.properties (submitted by Raj), just creating a new context on the server.xml to support my default application, at the root path. I can connect to this page, located in /var/www/html using - Tomcat, on port 8080 -

Re: Jasper and java source package problem

2002-10-09 Thread Khamsouk Souvanlasy
But surely if you have two files with the same name in different directories they will conflict and cause a compilation error if they have the same package name? I.e. /messageboard/search.jsp /mail/search.jsp Will create the .java files: com/mycompany/jsp/messageboard/search.java with package

RE: Index.jsp page in apache and tomcat config....

2002-10-09 Thread Turner, John
OK, if you have things separated like that, then all of your static content is on the apache server, and all of your dynamic content is on the tomcat server. Right? In that scenario, /online has only dynamic content, since /online/index.jsp needs to go to Tomcat. My guess is you have static

RE: Jasper and java source package problem

2002-10-09 Thread John Trollinger
Not if they are called via a JSP page call.. But if you try and deploy the compiled classes as servlets then yes you will have a problem. The 2 jsp pages work fine because they each have their own class loader. -Original Message- From: Khamsouk Souvanlasy [mailto:[EMAIL PROTECTED]]

Re: Multiple certificates in virtual host setup

2002-10-09 Thread Wolfgang Stein
Hi Donie, AFAIK you may have only cert per Tomcat, identified by alias 'tomcat'. More certs selected by differing aliases would not work due restrictions of the ssl-protocol (as some guys stated in this list). Did you already try wildcard certs, e.g. '*.subdomain.tld' or even '*.tld' ? They

RE: java -server

2002-10-09 Thread Shapira, Yoav
Hi, For our apps, which are big, long-running, server-side apps, running with -server consistently reduced stability. We were getting internal JVM crashes every now and then. Dropping the -server argument made those go away. All other JVM args (we have a lot) stayed the same, and we

Re: connector between tomcat apache

2002-10-09 Thread sonam singh
use mod_jk to load balncing it is more reliable regards Sonam Singh --- Raj Saini [EMAIL PROTECTED] wrotsue e: You can use use the ajp13 with tomcat. (mod_jk at apache end). Warp connecter is not reliable and what I learnt is no more actively developed. There are loadbalancing and fault

RE: Help : Apache 2.0.43 , Tomcat 4.1.12 , jk and/or jk2 , win 2k

2002-10-09 Thread Turner, John
Which HOWTO guide did you follow? It's known to work, and the user-submitted HOWTOs for Windows are pretty good. You'll need to post more details to get more definite help. John -Original Message- From: none none [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 08, 2002 3:28 PM

Re: Error using ajp13 protocol

2002-10-09 Thread Raj Saini
Hi Marc, I had a look you on your server.xml. Do you have a ROOT directory in your server.xml? If yes, move it out of the webapps and they restart your Tomcat and test. Alternativly, try giving a context name other then root to your context in server.xml. In server.xml Context path=/foo

Re: java.lang.OutOfMemoryError

2002-10-09 Thread sonam singh
modify the catalina.sh because tomcat run with default memory u have to increase it manually in the catalina.sh as below [ $1 = start ] ; then shift touch $CATALINA_BASE/logs/catalina.out if [ $1 = -security ] ; then echo Using Security Manager shift $_RUNJAVA $JAVA_OPTS

Re: Cannot get mod_jk to work

2002-10-09 Thread jcosta
I think he just grabbed the binary version build for a non-SSL Apache server. Is that correct? I experienced the same problem trying to integrate the binary. |-+ | | sonam singh | | | sonam_singh_s@ya| | |

RE: Help : Apache 2.0.43 , Tomcat 4.1.12 , jk and/or jk2 , win 2k

2002-10-09 Thread Turner, John
Actually, you have more problems than that. I looked at your httpd.conf and workers.properties, and frankly it is hard for me to see how you got anything working at all. Your workers.properties only has an entry for localhost, not any of the VirtualHosts you have setup in httpd.conf. You

RE: connector between tomcat apache

2002-10-09 Thread Turner, John
Mod_jk (AJP13). Don't use WARP/mod_webapp. Mod_jk2 is beta, workable, but use at your own risk. Mod_jk is stable and well-supported at this time. John -Original Message- From: unplug [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 08, 2002 10:09 PM To: tomcat-user Subject:

SV: I need to run a servlet periodically

2002-10-09 Thread Cato, Christopher
What you really need to do is to design your periodical servlet to implement Runnable. Add another servlet that starts the periodical servlet and load that servlet during startup. The periodical then does its thing and sleeps for x amount of time. Then wakes up and so on... /Christopher

Re: Cannot get mod_jk to work

2002-10-09 Thread Raj Saini
Pls build the mod_jk from source. These some thing wrong with the binary. I faced the same problem one week ago. Raj Richard Pfeil wrote: I am unable to get mod_jk to work. The following line in httpd.conf: LoadModule jk_module libexec/mod_jk-1.3-noeapi.so results in this error message:

RE: Cannot get mod_jk to work

2002-10-09 Thread Turner, John
Are you sure there is something wrong with the binary? If so, the binary maintainers (like Henri Gomez) would probably appreciate and email message from you with details. There's no point in having binaries if they aren't usable. As far as I know, this exact problem (same exact error message)

java -server vs classic and servlet src from jsp compiler errors

2002-10-09 Thread Hanasaki JiJi
Has anyone had errors show up in the Servlet source generated from a JSP under the following? or any combo? - J2SE 1.4.1 - any OS - Tomcat 4.04 or Tomcat 4.1.x Thank you. -- =

Re: Cannot get mod_jk to work

2002-10-09 Thread Raj Saini
Yes, there was a problem with binary one week ago. I am not sure if binaries are updated after that. The error message was the same as in this post. Raj Turner, John wrote: Are you sure there is something wrong with the binary? If so, the binary maintainers (like Henri Gomez) would

Re: java.lang.OutOfMemoryError

2002-10-09 Thread Raj Mettai
Hi Sonam Singh, currently, I am passing the max and min values for the memory thru CATALINA_OPTS in catalina.sh (CATALINA_OPTS=-Xms256M -Xmx256M; export CATALINA_OPTS) I think this will increase the default memory right ? thanks Raj [EMAIL PROTECTED] 10/09/02 08:39AM modify the

AW: java.lang.OutOfMemoryError

2002-10-09 Thread Michael Riess
try using export (with standard linux shells) export CATALINA_OPTS=-ms200m -mx400m -Ursprungliche Nachricht- Von: Raj Mettai [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 9. Oktober 2002 15:15 An: [EMAIL PROTECTED] Betreff: Re: java.lang.OutOfMemoryError Hi Sonam Singh,

Re: java.lang.OutOfMemoryError - JDK1.3.1

2002-10-09 Thread Raj Mettai
Hi, what version of mod_jk you are using with tomcat 4.1.12 ? thanks Raj [EMAIL PROTECTED] 10/09/02 04:07AM Hi, I was using the tomcat 4.0.3 with JDK 1.4. Tomcat was integrated with apache using warp connector. I used to have the same problem you have now. I recently upgraded to Tomcat

Re: I need to run a servlet periodically

2002-10-09 Thread Wolfgang Stein
Hi Filip, i think this it is a bad idea, to invoke a (Runnable) servlet via start(). In what state will be the servlet context, what about the ServletRequest or the log() method for example ? I think the result will depend on server implementation details, but it is very likely to get

Re: java.lang.OutOfMemoryError - JDK1.3.1

2002-10-09 Thread Raj Saini
Raj Mettai wrote: Hi, what version of mod_jk you are using with tomcat 4.1.12 ? thanks Raj I am using JK 1.2.0. (not jk2). This is the latest JK release. Raj [EMAIL PROTECTED] 10/09/02 04:07AM Hi, I was using the tomcat 4.0.3 with JDK 1.4. Tomcat was integrated with apache

Cocoon 2.1 + Tomcat 4.1 + reloadable=true

2002-10-09 Thread Barbara Post
Hi and sorry for the cross-posting, this might interest both lists although I think it may be purely a Tomcat-specific problem. Tomcat 4.1.12 - CATALINA_OPTS allow 128 MB of RAM (out of 512 physical), with catalina run command to see more console log. Cocoon 2.1-dev from CVS. JDK 1.3.1 Windows

want to show a message to the user before issuing shutdown command

2002-10-09 Thread shoban kumar
Hi there, I want to show a message to the END USER'S before shutting down the tomcat. How can i achive this. thanks in advance shoban Mascon _ MSN Photos is the easiest way to share and print your photos:

How to validate email address in JSP by using javax.mail?

2002-10-09 Thread Jack Li
Hi, How to validate email address in JSP by using javax.mail? Thanks, Jack Li

RE: How to validate email address in JSP by using javax.mail?

2002-10-09 Thread Turner, John
Typically, there is no way to validate an email address. For various reasons, any mail administrator with half a brain turns off the VRFY command on their mailserver, which is the only 100% guaranteed way to validate an email address without sending a message and looking for a bounce or other

Re: want to show a message to the user before issuing shutdown command

2002-10-09 Thread Padhu Vinirs
U want to show a message to the client ? If so, The server cannot instantiate a session on the client. If you want to send a email, then the ServletContextListener's contextDestroyed might help. -- pady shoban kumar wrote: Hi there, I want to show a message to the END USER'S before

Re: want to show a message to the user before issuing shutdown command

2002-10-09 Thread Kent Perrier
On Wed, Oct 09, 2002 at 06:41:57AM -0700, shoban kumar wrote: Hi there, I want to show a message to the END USER'S before shutting down the tomcat. How can i achive this. thanks in advance man wall, it will answer all of your questions, assuming by END USERS you mean people logged into

AW: How to validate email address in JSP by using javax.mail?

2002-10-09 Thread Ralph Einfeldt
Not completly true. You can use JavaMail to check the syntax of the address against RFC822. (at least a subset of it) The constructor of javax.mail.internet.InternetAddress will throw a ParseException if it recognises an syntax error. To verify if the domain has an mx record have a look at:

RE: How to validate email address in JSP by using javax.mail?

2002-10-09 Thread Turner, John
Cool, thanks for the tip. That's just address syntax, though, not whether there is actually a mailbox available to receive mail at that address, right? John -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 09, 2002 10:25 AM To: Tomcat

RE: How to validate email address in JSP by using javax.mail?

2002-10-09 Thread Jack Li
Thanks, John. I see what you mean. But we got the email address from our web pages. Some people are sending disgusting messages with fake email addresses. So, we don't want to reply to those invalid email addresses. I tried to validate the email address by sending a confirmation mail. I am trying

Re: How to validate email address in JSP by using javax.mail?

2002-10-09 Thread Catalin Constantin
you could use a small java code and do the validation via regexp here is a DEMO: import java.lang.*; import java.util.*; import org.apache.oro.text.regex.*; public final class isEmail { public static boolean check(String email) { PatternMatcher matcher; PatternCompiler compiler;

RE: How to validate email address in JSP by using javax.mail?

2002-10-09 Thread Turner, John
The typical way to validate email addresses is to send an email to that address. In the contents of that email message is a link back to your site, a unique link generated on the fly, unique to each email address submitted. The user can only see the link if they got the email message. If they

Re: Tomcat 4.0.4 on OS/390?

2002-10-09 Thread B
I had tried to get Tomcat 4.0 working on os390 under omvs. After working on it for a couple of days, I decided that it was more than my timetable cud handle at that time (I am a pc man) If you do get Tomcat 4.0.4 working under os390, wud u be kind enuf to distribute the process that u went thru

RE: How to validate email address in JSP by using javax.mail?

2002-10-09 Thread Turner, John
You would also want to check length, not just characters used. The minimum length for a valid Internet email address is 6: [EMAIL PROTECTED] You would also want to check for at least 2 characters to the right of the last ., as one would be invalid. There are other checks you would want to do,

setting the verbosity level of stderr/stdout?

2002-10-09 Thread Christine . Just
Hi, I'm running Tomcat 4.0.6 standalone as service on a nt4 box. Is there a way of explicitly setting the verbosity level for the stderr and stdout logs? Any help is greatly appreciated. regards, Christine -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

Does Tomcat 3.2.4 use a thread pool by default

2002-10-09 Thread rsequeira
Does Tomcat 3.2.4 use a thread pool by default? If I'm not mistaken, it does according to the documentation ( http://jakarta.apache.org/tomcat/tomcat-3.2-doc/uguide/tomcat_ug.html). Could someone please confirm this. I think it does using the PoolTcpConnector class. I believe even if you do not

non-static method cannot be referenced from static context error

2002-10-09 Thread hugo
Hi I would like to implement an interface called FileRenamePolicy from the oreilly package for uploading files, and I am creating a class which does the implementation. Here is the relevant code: %@ page session=true% %@ page import=java.sql.* % %@ page import=java.io.* % %@ page

AW: How to validate email address in JSP by using javax.mail?

2002-10-09 Thread Ralph Einfeldt
As I said, it's just a syntactical check. -Ursprüngliche Nachricht- Von: Turner, John [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 9. Oktober 2002 16:27 An: 'Tomcat Users List' Betreff: RE: How to validate email address in JSP by using javax.mail? Cool, thanks for the tip.

Coyote ArrayIndexOutOfBounds exception

2002-10-09 Thread Shapira, Yoav
Hi, I moved an existing app from Tomcat 4.0.4 to 4.1.12-LE yesterday, and started getting these errors sometimes. I'm not sure why they happen, and I haven't been able to reproduce them on demand. Obviously, 4.1.x uses Coyote as the default http connector, whereas 4.0.4 was using the older http

What are the advantages and disadvantages of using the -server option(CATALINA_OPTS) when starting Tomcat????

2002-10-09 Thread Francom, Kodie
I was just wondering when the -server option should be used and when it should be avoided when starting Tomcat. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

AW: What are the advantages and disadvantages of using the -server option(CATALINA_OPTS) when starting Tomcat????

2002-10-09 Thread Ralph Einfeldt
If you don't have a problem with the default (client), you should stick with it. I would recommend -server only if you experience performance problems. -Ursprüngliche Nachricht- Von: Francom, Kodie [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 9. Oktober 2002 17:48 An: [EMAIL

Odd Exception at Startup

2002-10-09 Thread Chuck Carson
I am getting the following exception at startup, however, the server starts and appears to function correctly: [INFO] Registry - -Loading registry information [INFO] Registry - -Creating new Registry instance [INFO] Registry - -Creating MBeanServer [INFO] Http11Protocol - -Initializing Coyote

TOMCAT AIX and JDK

2002-10-09 Thread CouasPhilippe
Hi, It seems it's better to install Tomcat 4.0.4 with JDK 1.3.1 Can i install it With JDK 1.3.0 or JDK 1.2. Can i install it on AIX 4.1.5 Or on AIX 4.3.0 Thanks Philippe . -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

Re: java -server

2002-10-09 Thread Craig R. McClanahan
On Wed, 9 Oct 2002, Frank Liu wrote: Date: Wed, 9 Oct 2002 04:56:23 + (GMT) From: Frank Liu [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: java -server any good docs on good/bad side of -server and -client

Re: What are the advantages and disadvantages of using the -serverop tion(CATALINA_OPTS) when starting Tomcat????

2002-10-09 Thread Craig R. McClanahan
On Wed, 9 Oct 2002, Francom, Kodie wrote: Date: Wed, 9 Oct 2002 09:48:26 -0600 From: Francom, Kodie [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: What are the advantages and disadvantages of using the -server op tion(CATALINA_OPTS)

Re: Coyote ArrayIndexOutOfBounds exception

2002-10-09 Thread Remy Maucherat
Shapira, Yoav wrote: Hi, I moved an existing app from Tomcat 4.0.4 to 4.1.12-LE yesterday, and started getting these errors sometimes. I'm not sure why they happen, and I haven't been able to reproduce them on demand. Obviously, 4.1.x uses Coyote as the default http connector, whereas

Re: Odd Exception at Startup

2002-10-09 Thread Craig R. McClanahan
On Wed, 9 Oct 2002, Chuck Carson wrote: Date: Wed, 9 Oct 2002 08:54:52 -0700 From: Chuck Carson [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Odd Exception at Startup I am getting the following exception at startup,

RE: Coyote ArrayIndexOutOfBounds exception

2002-10-09 Thread Shapira, Yoav
Hi, Thanks for the quick response. java.lang.ArrayIndexOutOfBoundsException: 32000 at org.apache.coyote.http11.InternalOutputBuffer.write(InternalOutputBuffer .java:615) Well, the max size of the HTTP header on output is about 32 kbytes. As always, the HTTP spec doesn't set any limits,

Re: Coyote ArrayIndexOutOfBounds exception

2002-10-09 Thread Remy Maucherat
Shapira, Yoav wrote: Hi, Thanks for the quick response. java.lang.ArrayIndexOutOfBoundsException: 32000 at org.apache.coyote.http11.InternalOutputBuffer.write(InternalOutputBuffer .java:615) Well, the max size of the HTTP header on output is about 32 kbytes. As always, the HTTP

RE: Odd Exception at Startup

2002-10-09 Thread Chuck Carson
Ahhh. Cool thanks. -Chuck -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 09, 2002 9:14 AM To: Tomcat Users List Subject: Re: Odd Exception at Startup On Wed, 9 Oct 2002, Chuck Carson wrote: Date: Wed, 9 Oct 2002

LOGGER: Disable timestamping but no effect

2002-10-09 Thread Chuck Carson
I configured my Logger entires in server.xml so that the logs appear as logfile name.log with no timestamping. Here is one such example: Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=localhost suffix=.log timestamp=false/ However, the log is being created as

Problem with JK 1.2.0 docs?

2002-10-09 Thread Ben Ricker
I am confused by the build process for mod_jk 1.2.0 on a Redhat 7.3 server. From the 'BUILDING' text file, it says: use configure and indicate Apache 1.3 apxs location (--with-apxs) use make copy the mod_jk binary to the apache modules location Now, after doing a 'make' there is no binary in

3.2.x inprocess 405 error

2002-10-09 Thread Michael Finney
I have set tomcat 3.2.4 to work with IIS 5.0 as inprocess. The html pages seem fine (all ISS). However, the JSP pages do not work. The browser gets: HTTP 405 - Resource not allowed Internet Information Services I looked up the status code on Microsoft site and all I saw was 405 - Method

obtaining servlet classname

2002-10-09 Thread Jason Novotny
Hi, I can successfully get the servlet name using ServletConfig.getServletName() but how do I get the class expressed in the web.xml file? e.g. I have the following: servlet id=login servlet-nameLogin/servlet-name

Re: obtaining servlet classname

2002-10-09 Thread Craig R. McClanahan
You'd need to parse the web.xml file yourself in order to do this. The easiest way would be to use ServletContext.getResourceAsStream() to get an InputStream to the /WEB-INF/web.xml resource, and feed it to your XML parser via JAXP APIs. Tomcat itself uses a package called commons-digester for

RE: Cannot get mod_jk to work

2002-10-09 Thread Milt Epstein
On Wed, 9 Oct 2002, Turner, John wrote: Are you sure there is something wrong with the binary? If so, the binary maintainers (like Henri Gomez) would probably appreciate and email message from you with details. There's no point in having binaries if they aren't usable. As far as I know,

Re: Cannot get mod_jk to work

2002-10-09 Thread Milt Epstein
On Wed, 9 Oct 2002, Raj Saini wrote: Yes, there was a problem with binary one week ago. I am not sure if binaries are updated after that. The error message was the same as in this post. Or maybe there really was something wrong with the binary :-). Turner, John wrote: Are you sure there

Redirect Valve - contribution

2002-10-09 Thread Jens Andersen
Hi all, I would like to contribute a Redirct Valve to Tomcat for the next release or so - but how do I do that? Whom do I contact? Best regards, Jens Andersen -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Redirect Valve - contribution

2002-10-09 Thread Jean-Francois Arcand
Hi, read : http://jakarta.apache.org/site/getinvolved.html -- Jeanfrancois Jens Andersen wrote: Hi all, I would like to contribute a Redirct Valve to Tomcat for the next release or so - but how do I do that? Whom do I contact? Best regards, Jens Andersen -- To unsubscribe,

RE: Cannot get mod_jk to work

2002-10-09 Thread jcosta
Methinks it would be a good idea to maintain the binaries compiled to the latest, greatest version of Apache (namely 1.3.27). |-+ | | Milt Epstein | | | [EMAIL PROTECTED]| | | u | |

RE: XMLMapper:Can't find resource for entity error

2002-10-09 Thread jon wingfield
your web.xml file for the xsltExample webapp refers to the servlet 2.3 specification dtd and you are running tomcat 3.x which is an implementation of the servlet 2.2 specification. Tomcat has a cached version of the dtd in one of the jar files that are part of the distribution. This is in case

Re: Cannot get mod_jk to work

2002-10-09 Thread Raj Saini
I tried to use the binary on Apache Server version 1.3.23. I am using Redhat 7.2 Kernal version 2.4.7 Raj Milt Epstein wrote: On Wed, 9 Oct 2002, Turner, John wrote: Are you sure there is something wrong with the binary? If so, the binary maintainers (like Henri Gomez) would probably

Re: Cannot get mod_jk to work

2002-10-09 Thread Luciano Kiniti Issoe
Hi all, I'm using the apache 1.3.26 and SuSE Linux 7.2 (i386) - Kernel 2.4.4-4GB (0). Had the same problem yesterday. To solve this I compiled mod_jk from source. Maybe there's really a problem with the binaries. miagi - Original Message - From: Raj Saini [EMAIL PROTECTED] To: Tomcat

Exception starting filter Security Filter

2002-10-09 Thread Dan Payne
I'm using TC 4.0.4, j2sdk1.4.0_01 and the securityfilter from sourceforge.net, which is a pseudo container managed JDBC/MySQL security realm. it's all running on win2000. i've also upgraded my commons-logging to 1.0.2 to see if that helps, but to no avail (although it did change the stack trace).

Error with multipartParser

2002-10-09 Thread Sam Seaver
I cannot work this out as I get no more in my error messages despite trying to use the usual ways of debugging the bean. Basically I'm using a bean that extends HttpServlet and uses Hunter's MultipartParser, and the error ALWAYS occurs when I try to create an instance of the parser... Error:

top-level mappings

2002-10-09 Thread Bruce W. Perry
hello all, I wondered if someone could clarify the role of the top-level deployment descriptor ( Tomcat4.0/conf/web.xml , given that Tomcat4.0 is the Tomcat installation directory), or tell me if this is inaccurate. When Tomcat starts up, it first establishes default servlet mappings from

JNDI Initial Context, outside webapp

2002-10-09 Thread Luca Zago
Hi, I noticed that is pratically impossible to retrieve a JNDI resource outside a webapp.If I need to access my resourse in some classes istantiated outside a single webapp, I always get an exception. Name jdbc/myDS is not bound in this Context I read the docs. If I understand well, the

RE: Cannot get mod_jk to work

2002-10-09 Thread Milt Epstein
On Wed, 9 Oct 2002 [EMAIL PROTECTED] wrote: Methinks it would be a good idea to maintain the binaries compiled to the latest, greatest version of Apache (namely 1.3.27). Yes, that makes sense, but it's only part of the equation. For example, we don't know what version the person who was

Calling session beans from tomcat

2002-10-09 Thread Hanasaki JiJi
How can tomcat call a session bean from BEA or iAS on another physical server? -- = http://www.sun.com/service/sunps/jdc/javacenter.pdf= =www.sun.com | www.javasoft.com | http://wwws.sun.com/sunone = =

RE: Cannot get mod_jk to work

2002-10-09 Thread jcosta
I agree--you could get into a quagmire this way. At this point, I would just settle for a version compiled against a plain-vanilla Apache 1.3.27 build. |-+ | | Milt Epstein | | | [EMAIL PROTECTED]| | |

Too Many Sessions!

2002-10-09 Thread Cindy Ballreich
I'm using Tomcat 4.1.12 on a NT 4.0 system. I've been watching my logs and I'm noticing a lot of sessions being created for no apparent reason when there is no user activity on the system and no activity (as far as I can tell) in my servlet. Here's a sample from the logs... 2002-10-09

Re: How to validate email address in JSP by using javax.mail?

2002-10-09 Thread Catalin
you could use a small java code and do the validation via regexp here is a DEMO: import java.lang.*; import java.util.*; import org.apache.oro.text.regex.*; public final class isEmail { public static boolean check(String email) { PatternMatcher matcher; PatternCompiler compiler;

Re: JNDI Initial Context, outside webapp

2002-10-09 Thread Craig R. McClanahan
Please don't cross-post to both TOMCAT-DEV and TOMCAT-USER (especially on a question like this, which is more user oriented). On Wed, 9 Oct 2002, Luca Zago wrote: Date: Wed, 09 Oct 2002 20:19:18 +0200 From: Luca Zago [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL

Re: I need to run a servlet periodically

2002-10-09 Thread Rick Fincher
Hi Filip, Your servlet can call a class (doesn't have to be a servlet) that sets up a java.util.timer to run your code as a timerTask. The servlet can get parameters from the web.xml file (like how often to execute) and pass that to your class that controls the timer. The servlet can pass your

Which versions ????

2002-10-09 Thread Jean-Baptiste Onofré
Hello all, i use Tomcat 4.0.4 with Apache 1.3.26 using mod_jk. On a new developpement computer, can i install Tomcat 4.1.12 with Apache 1.3.26 using mod_jk2 ? What's the differences/improves between Tomcat 4.0.4 and Tomcat 4.1.12 and between mod_jk and mod_jk2 ? Thanks for your help, Best

  1   2   >