Re: mod_jk or webapp on solaris with apache2

2003-10-28 Thread Bill Barker
"David Bishop" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > See subject :-) This is actually a two-parter, though... > > 1) Which should I use? We are running apache2 and tomcat on solaris, on the > same machine. The tomcat usage is fairly light (a small percentage of the > to

Re: Error: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath.

2003-10-28 Thread Gerald Stampfel
I am working in a windows environment. You mean setting my environment variable %classpath% by doing SET CLASSPATH = "..." ? I have done that and it still doesn't work. - Gerald S. - Original Message - From: "Jay Garala" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]>

Re: Error: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath.

2003-10-28 Thread Gerald Stampfel
It definitely points to a jdk and $JAVA_HOME/lib/tools.jar does exist. - Gerald S. - Original Message - From: "Christopher Schultz" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, October 28, 2003 10:51 PM Subject: Re: Error: Unable to find a javac compiler

Re: Windows freeze...

2003-10-28 Thread Kwok Peng Tuck
Run as service instead :D Leo Larraquy wrote: It ´s a good idea, and but my client is Microsoft-mind-ahead - Original Message - From: "Dov Rosenberg" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, October 28, 2003 7:22 PM Subject: Re: Windows freeze...

RE: JDBC Realm

2003-10-28 Thread Gardner, David [IT]
Hello, Please let me explain a little more. It is the password that the JDBC realm uses to connect to the database that should be encrypted for example connectionPassword="foobar" should look something like connectionPassword="3dc69416b0783cac9f3dda37b6bb0862". I have been able to deal with user p

Re: Form Double Submit Detection

2003-10-28 Thread Tom Parker
On Tue, 2003-10-28 at 23:40, Adam Hardy wrote: > I don't store the token in the session. When the form submits, I check > the session for a hashmap, & if the token is not in the hashmap, I allow > the transaction and then put the token in the hashmap. Interesting. You store the successful token

Re: Tomcat 5 Problem with finding servlet class

2003-10-28 Thread Christopher Schultz
All, java.lang.NoSuchMethodError: javax.servlet.ServletConfig.getServletName()Ljava/lang/String; This method is not part of the servlet specification: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/servletapi/index.html How did you compile it in the first place? I'm sorry; I was looking at Ser

Re: Windows freeze...

2003-10-28 Thread Filip Hanik
run tomcat as a service - Original Message - From: "Leo Larraquy" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, October 28, 2003 2:50 PM Subject: Re: Windows freeze... It ´s a good idea, and but my client is Microsoft-mind-ahead - Original Message ---

Re: [OT]Virus sent to Tomcat User list.

2003-10-28 Thread Jens Skripczynski
Hi, afaik it is a different reason. The virus searches for valid email adresses and sends itsself to those. So if a member is subscribed to the list, and a virus sends himself to the list with the 'From: ' adress of a valid user it will be passed to the members. If he is not subscribe the messa

Tomcat 5 Problem with finding servlet class

2003-10-28 Thread Paresh Varatkar
I have my jars in following manner. webapps\gf\bin\ + webapps\gf\WEB-INF\lib\my jars webapps\gf\*.jsp, *.htmls I can not move the jars in bin as I have no control over code and they refer /bin/path in their code. To make this work with Tomcat 3.2.4 I have to only set classpath before starting

Re: Windows freeze...

2003-10-28 Thread Leo Larraquy
It ´s a good idea, and but my client is Microsoft-mind-ahead - Original Message - From: "Dov Rosenberg" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, October 28, 2003 7:22 PM Subject: Re: Windows freeze... > Fdisk > Install linux > > > :) > > > On 10/28/0

Re: Needed more support for catalina.base in Bootstrap

2003-10-28 Thread Jean-Francois Arcand
In Tomcat 5, you can customize the location of the common/lib, endorsed, etc. Just take a look at $CATALINA_HOME/conf/catalina.properties. Double check that to see if you can do what you want :-) -- Jeanfrancois Rodrigo Ruiz wrote: Thanks for your responses, I will follow your suggestions :-)

Re: Windows freeze...

2003-10-28 Thread Justin Ruthenbeck
At 01:03 PM 10/28/2003, you wrote: Could you recomend me any Windows version to avoid this? Is there some way to send the output of the console to a file?? if not, is it possible to always click in that console so as to left the selection-mode "unselected"?? Turn off QuickEdit in your DOS Console

Re: Session vs. Application Replication

2003-10-28 Thread Filip Hanik
question 1: yes you could do it question 2: no one has done it - Original Message - From: "Karthik Duddala" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, October 28, 2003 1:30 PM Subject: Re: Session vs. Application Replication Thanks, Filip. So, my

Re: Windows freeze...

2003-10-28 Thread Dov Rosenberg
Fdisk Install linux :) On 10/28/03 2:25 PM, "Leo Larraquy" <[EMAIL PROTECTED]> wrote: > Hi people, I`ve got a really simple question but a can`t solve on my own. > On Windows, when an applicacion throws an Exception, for the first time, > Tomcat freezes, until I hit the keyboard or I do someth

mod_jk or webapp on solaris with apache2

2003-10-28 Thread David Bishop
See subject :-) This is actually a two-parter, though... 1) Which should I use? We are running apache2 and tomcat on solaris, on the same machine. The tomcat usage is fairly light (a small percentage of the total usage of the server). We've been running using apache1 and webapp for over a

Re: Windows freeze...

2003-10-28 Thread Erik Wright
I run my production server on Linux so I've never bothered to try, but a quick google search shows: http://www.mattkelli.com/tech/tomcat/ntservice.htm and http://web.bvu.edu/staff/david/tcservcfg/ -e Leo Larraquy wrote: I`ve never done that, that`s the a fine way to avoid the problem, could

Re: Windows freeze...

2003-10-28 Thread Leo Larraquy
I`ve never done that, that`s the a fine way to avoid the problem, could you tell me how to do it? Thanks - Original Message - From: "Erik Wright" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, October 28, 2003 6:48 PM Subject: Re: Windows freeze... > Leo

Re: Windows freeze...

2003-10-28 Thread Leo Larraquy
I guess thats a fine answer - Original Message - From: "Christopher Schultz" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, October 28, 2003 5:37 PM Subject: Re: Windows freeze... > Leo, > > > On Windows, when an applicacion throws an Exception, for the f

Re: Error: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath.

2003-10-28 Thread Christopher Schultz
Gerald, i got the following error message: [snip] Exception compiling Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK JAVA_HOME points to the correct JDK. Are you sure it points to a JDK and not a JRE? Often, people in

Re: Windows freeze...

2003-10-28 Thread Erik Wright
Leo Larraquy wrote: Excuse me about not beeing happy with your response, I understand that your not the person who made Tomcat, but I really can`t understand why Linux doesn`t have these problem and Windows does. It's a problem with Windows and has nothing to do with Tomcat. More specifically,

Re: (OT) oracle.jdbc.driver.OraclePreparedStatement.setString(OraclePreparedStat ement.java:1082)

2003-10-28 Thread Vladimer Shioshvili
Alexander, can you post the code that actually uses the parameter? At 04:35 PM 10/28/2003, you wrote: More to that The form will not be submitted if value is null (checked by JavaScript) So i think it is related to server request Thanks On Saturday 30 August 2003 04:57 pm, Alex Pomansky wrote: >

Re: (OT) oracle.jdbc.driver.OraclePreparedStatement.setString(OraclePreparedStatement.java:1082)

2003-10-28 Thread Alexander Pomansky
More to that The form will not be submitted if value is null (checked by JavaScript) So i think it is related to server request Thanks On Saturday 30 August 2003 04:57 pm, Alex Pomansky wrote: > It will be true for first run but it works on first and does not on second > with same input > > Thanks

RE: Tomcat 5 Problem with finding servlet class

2003-10-28 Thread Paresh Varatkar
No Sir, The tediousness is not because of laziness to remove the code but because of usage of 3rd party code, which we are not licensed to change and which is path specific. I know this makes things far difficult than normal ways of deployment, but I am willing to do whatsoever to make it work w

Re: Session vs. Application Replication

2003-10-28 Thread Karthik Duddala
Thanks, Filip. So, my next obvious question is, Is there a way we could replicate data in the application context? If so , has anyone implemented it? Thanks much Karthik Duddala Developer - Web Team Commerce Technologies Ph. 518-886-0700 x. 3881

Re: Session vs. Application Replication

2003-10-28 Thread Filip Hanik
just different ways of looking at it. if you are saying that "application" replication is to replicate the data in the application context, then no, it doesn't do that, Filip - Original Message - From: "Karthik Duddala" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent:

RE: Session vs. Application Replication

2003-10-28 Thread Karthik Duddala
Thanks, Yoav. Appreciate all your help. Pardon my Ignorance, but, how is session scope the same as application scope? Karthik Duddala Developer - Web Team Commerce Technologies Ph. 518-886-0700 x. 3881

RE: Error: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath.

2003-10-28 Thread Jay Garala
Make sure u have $JDK/lib/tools.jar in your classpath -Original Message- From: Gerald Stampfel [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 28, 2003 4:11 PM To: [EMAIL PROTECTED] Subject: Error: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Hi fo

Error: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath.

2003-10-28 Thread Gerald Stampfel
Hi folks, i got the following error message: -- 2003-10-28 21:58:08 Info: Compile: javaFileName=C:\Programme\jakarta-tomcat\work\Standalone\localhost\jetspeed\/index_jsp.java classpath=/C:/Programme/jakarta-tomcat/

Re: Windows freeze...

2003-10-28 Thread Leo Larraquy
Could you recomend me any Windows version to avoid this? Is there some way to send the output of the console to a file?? if not, is it possible to always click in that console so as to left the selection-mode "unselected"?? I`m asking you this because I`ve got no problem on doing this in my compan

RE: Session vs. Application Replication

2003-10-28 Thread Shapira, Yoav
Howdy, Since HTTP is stateless, session replication is enough for servlet webapps to achieve clustering. That is, session replication = application replication. If you're using more J2EE than servlets, e.g. EJBs, your app server will (hopefully) allow for clustering itself. Yoav Shapira Millenn

Re: Windows freeze...

2003-10-28 Thread Justin Ruthenbeck
At 12:37 PM 10/28/2003, you wrote: Leo, On Windows, when an applicacion throws an Exception, for the first time, Tomcat freezes, until I hit the keyboard or I do something on the DOS console that appears when Tomcat starts up. I've had this "problem" before. It turns out that in some DOS windows,

RE: oracle.jdbc.driver.OraclePreparedStatement.setString(OraclePreparedStatement.java:1082)

2003-10-28 Thread Shapira, Yoav
Howdy, Can you prove the input is the same? ;) BTW, Senor Schultz is probably right about marking this as off-topic. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Alexander Pomansky [mailto:[EMAIL PROTECTED] >Sent: Tuesday, October 28, 2003 3:46 PM >To: Tomcat User

RE: Session vs. Application Replication

2003-10-28 Thread Karthik Duddala
Can we, using tomcat's clustering, somehow replicate not only session information for a given user (which would allow that user to transition amongst the servers as traffic increases) but also maybe the application ?? Thanks Karthik Duddala Developer - Web Team Commerce Technologies Ph. 518-

Re: (OT) oracle.jdbc.driver.OraclePreparedStatement.setString(OraclePreparedStatement.java:1082)

2003-10-28 Thread Alex Pomansky
It will be true for first run but it works on first and does not on second with same input Thanks - Original Message - From: "Christopher Schultz" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, October 28, 2003 4:45 PM Subject: Re: (OT) oracle.jdbc.driver.O

Re: oracle.jdbc.driver.OraclePreparedStatement.setString(OraclePreparedStatement.java:1082)

2003-10-28 Thread Alexander Pomansky
But it works on first run and does not on second with same input Thanks On Tuesday 28 October 2003 03:35 pm, Shapira, Yoav wrote: > Howdy, > > >java.lang.NullPointerException > >at > >oracle.jdbc.driver.OraclePreparedStatement.setString(OraclePreparedStat > > emen > > >t.java:1082) > >

Re: (OT) oracle.jdbc.driver.OraclePreparedStatement.setString(OraclePreparedStatement.java:1082)

2003-10-28 Thread Christopher Schultz
Alexander, Next time, please post this to a Java or JDBC or Oracle mailing list. This is unrelated to Tomcat. I have a servlet that getting post request from form with enctype="multipart/form-data" as part of the form is file upload. On the first run it works OK, on the second i am getting: ja

Re: Tomcat 5 to start automatically on linux at bootup

2003-10-28 Thread Oscar Carrillo
Also my page: http://daydream.stanford.edu/tomcat/install_web_services.html You can download one for apache, tomcat, and postgresql. It will probably be the same as the one Tim noted, except mine has a status command for tomcat that tells you how many threads/processes are running for tomcat.

RE: oracle.jdbc.driver.OraclePreparedStatement.setString(OraclePreparedStatement.java:1082)

2003-10-28 Thread Shapira, Yoav
Howdy, >java.lang.NullPointerException >at >oracle.jdbc.driver.OraclePreparedStatement.setString(OraclePreparedStat emen >t.java:1082) >at cs615.lzp.SellForm.doPost(SellForm.java:34) I would look at your form, line 34, and maybe not call setString on the PreparedStatement object

Re: Tomcat 5 Problem with finding servlet class

2003-10-28 Thread Christopher Schultz
Paresh, I am using specific directories to deploy my jars. You should probably be keeping all your JARs in your web app, or in a WAR file. java.lang.NoSuchMethodError: javax.servlet.ServletConfig.getServletName()Ljava/lang/String; This method is not part of the servlet specification: http://jaka

Re: Windows freeze...

2003-10-28 Thread Christopher Schultz
Leo, On Windows, when an applicacion throws an Exception, for the first time, Tomcat freezes, until I hit the keyboard or I do something on the DOS console that appears when Tomcat starts up. I've had this "problem" before. It turns out that in some DOS windows, when you click on them, they suspen

oracle.jdbc.driver.OraclePreparedStatement.setString(OraclePreparedStatement.java:1082)

2003-10-28 Thread Alexander Pomansky
Hi! I have a servlet that getting post request from form with enctype="multipart/form-data" as part of the form is file upload. On the first run it works OK, on the second i am getting: java.lang.NullPointerException at oracle.jdbc.driver.OraclePreparedStatement.setString(OraclePreparedS

Re: ServletContextListener vs. InitServlet (was "modifying shutdown behaviour?")

2003-10-28 Thread Christopher Schultz
Yoav, - ServletContextListener cannot flag that an error has occurred (other than some type of logging) You could throw a runtime exception, making the context unavailable in tomcat. Sure, but that's not very clean: the context startup just bombs. At least you get a "servlet unavailable" if you s

RE: Session exclusivity (was Form Double Submit Detection)

2003-10-28 Thread Justin Ruthenbeck
At 09:46 AM 10/28/2003, you wrote: As far as I can remember there have been posts in this list, where people said that they have seen different session objects within the same session. This was explained with the fact that there is a session facade which can change anytime. So the session should be

RE: Tomcat 5 Problem with finding servlet class

2003-10-28 Thread Shapira, Yoav
Howdy, >As the application already have hard coded path references which are too >tedious to remove, FYI, there are few better ways to get someone to think "this person is not worth my time to help" than a sentence like the above... Yoav Shapira This e-mail, including any attachments, is a c

RE: Tomcat 5 to start automatically on linux at bootup

2003-10-28 Thread Mark Tebong
thank you Tim -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 28, 2003 2:35 PM To: Tomcat Users List Subject: Re: Tomcat 5 to start automatically on linux at bootup From http://nagoya.apache.org/wiki/apachewiki.cgi?Tomcat/Links ... http://www.meritonl

[OT]Virus sent to Tomcat User list.

2003-10-28 Thread Nathan Smith
Attached is a file stating that Norton Antivirus removed an executable because it contained a virus. Is somebody just trying to be malicious or is someone so naive that they would recieve such a file from someone through the tomcat-user list??? - Original Message - From: <[EMAIL PROTE

Re: Tomcat 5 to start automatically on linux at bootup

2003-10-28 Thread Tim Funk
From http://nagoya.apache.org/wiki/apachewiki.cgi?Tomcat/Links ... http://www.meritonlinesystems.com/docs/apache_tomcat_redhat.html -Tim Mark Tebong wrote: Hi. I have installed Tomcat 5 on redhad 9, and works fine. However I would like to start it as a service automatically everytime the comput

Tomcat 5 Problem with finding servlet class

2003-10-28 Thread Paresh Varatkar
Hi Guys, I am deploying application in tomcat in different way. As the application already have hard coded path references which are too tedious to remove, I am using specific directories to deploy my jars. I am setting classpath manually. This all works excellent with Tomcat 3.2.4 With Tomcat 5,

Windows freeze...

2003-10-28 Thread Leo Larraquy
Hi people, I`ve got a really simple question but a can`t solve on my own. On Windows, when an applicacion throws an Exception, for the first time, Tomcat freezes, until I hit the keyboard or I do something on the DOS console that appears when Tomcat starts up. But it doesn`t happen on Linux! I`ve

character sets showing as ?

2003-10-28 Thread chad kellerman
Hey guys, I moved a few tomcat Apps from a 6.2 server to a 7.3 server. Running the same version of Tomcat. But now the character sets that are displayed are coming out as ? .. They are all spanish character sets. I tried changing to the character set to utf-8 from iso-8859-1 but still it co

Tomcat 5 to start automatically on linux at bootup

2003-10-28 Thread Mark Tebong
Hi. I have installed Tomcat 5 on redhad 9, and works fine. However I would like to start it as a service automatically everytime the computer boots up. Please can someone please provide a reference to information on how to do that or simply tell me how to do that? Thanks MT -

Re: Factory methods.

2003-10-28 Thread Micael
They create objects -- the are an object factory/maker. At 05:05 PM 10/28/2003 +0530, you wrote: Why are some methods called factory methods? e.g. prepareStatement() in java.sql.PreparedStatement - To unsubscribe, e-mail: [EMAIL P

RE: ServletContextListener vs. InitServlet (was "modifying shutdown behaviour?")

2003-10-28 Thread Shapira, Yoav
Hola, >- ServletContextListener cannot flag that an error has occurred (other >than some type of logging) You could throw a runtime exception, making the context unavailable in tomcat. >- Servlets have their own init parameters specified in the web.xml file. >If you use a listener, you have to

Re: ServletContextListener vs. InitServlet (was "modifying shutdown behaviour?")

2003-10-28 Thread Christopher Schultz
Yoav, If you have a servlet which initializes resource for your context (like an InitServlet), you can simply implemnent the "destroy" method to release your resources. This may be easier than writing a ServletContextListener, and has fewer moving parts. I would strongly disagree ;) The container

4.1.27 Session problem on Solaris

2003-10-28 Thread Jeff Tulley
We are seeing an issue that has the same symptoms as if I were trying to do load balancing but not getting sticky sessions -namely that our application every once in a while starts thinking that the session is not authenticated and prompts on every other request for a login. The difference here is

RE: Session exclusivity (was Form Double Submit Detection)

2003-10-28 Thread Ralph Einfeldt
As far as I can remember there have been posts in this list, where people said that they have seen different session objects within the same session. This was explained with the fact that there is a session facade which can change anytime. So the session should be a quite weak monitor to rely

Re: Session exclusivity (was Form Double Submit Detection)

2003-10-28 Thread Christopher Schultz
Ralph, BTW: In my version of tomcat (4.0.3) jasper generates code for the jsp's that synchronizes on the session to access session attributes. Is the current version doing the same ? I'm using 4.1.27 and yes, is does synchronize on the session object that it gets (I'm only including the relevant

RE: JSP generated HTML code squashed in one line

2003-10-28 Thread Ralph Einfeldt
I think it's not MSIE that is confused. What you see are serverside exceptions. (At least I think they are) I guess something in the generated java is confusing javac. What kind of linefeeds do you use in the jsp? (Just CR or CR/LF) > -Original Message- > From: Baer Peter Christoph A

Re: Source of JSP returned to user

2003-10-28 Thread Jean-Francois Arcand
Or download JDK 1.4.2_02 (the bug has been fixed in _02) -- Jeanfrancois Larry Isaacs wrote: Since JDK 1.4.2 is being used, try the workaround specified for (you will need to register to see the bug): which is: Specify -D

Re: Tomcat 5 & JBoss

2003-10-28 Thread Remy Maucherat
[EMAIL PROTECTED] wrote: Is there any way to run JBoss with Tomcat 5 instead of 4.1.27? I'm using JBoss 3.2.2. I would like to switch to 5 because of the hotswap debugging feature. You have to get the source, and build. There will be a TC 5 SAR in the output dir for the Tomcat module. Using it i

Re: mod_jk2 binary for Apache 2.0.47/Win

2003-10-28 Thread Florian Ebeling
Jean-Max, I was wrong assuming that one needs a mod_jk2 needs to bear the exactly same version number as the Apache2. I didn't even give it a try, because I read it at several places in the apache docs. I got mod_jk2 running now, with kind assistance of Asif Chowdhary, as you probably hab been

JSP generated HTML code squashed in one line

2003-10-28 Thread Baer Peter Christoph Alexander
Hi, we have a problem here that looks pretty strange to us. We have extensively searched the mail archive and we googled a lot, but found no suitable information. Should we nevertheless ask something obvious, please forgive us. Here is the problem: Tomcat 4.0.6 LE generates HTML pages with a lot

RE: Session exclusivity (was Form Double Submit Detection)

2003-10-28 Thread Ralph Einfeldt
To be honest, I'm not shure. As I'm currently not really using tomcat (or another servlet conainer that works with session facades) I have not thought or tried enough to be shure. For those who want to be very shure, there is still the option to synchronize on something outside of the session

RE: mod_jk2 binary for Apache 2.0.47/Win

2003-10-28 Thread Asif Chowdhary
There is tomcat book from Oreilly which is very helpful. I am using that Tomcat the Definite guide. Asif -Original Message- From: Florian Ebeling [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 28, 2003 11:59 AM To: Tomcat Users List Subject: Re: mod_jk2 binary for Apache 2.0.47/Win Hi

Re: mod_jk2 binary for Apache 2.0.47/Win

2003-10-28 Thread Florian Ebeling
Hi Asif, I get it up and running, finally. Many thanks for your help. I wonder: you don't know of a resource on configuring this strange animal, workers2.properties, by any chance? I found my current configuration by rather poking in the fog, tweaking your file here and there. This is not the

Scheduling Session clean up in a clustered environment

2003-10-28 Thread Karthik Duddala
Howdy, I want to schedule a session clean up in a tomcat 5.1 clustered environment. How can i go about doing so? My main concern is, will there be a conflict in the clean up as all the nodes in the cluster could start doing the clean up. Is there a concept of "primary" node in clustering

Re: Why not to create threads? (OT)

2003-10-28 Thread Christopher Schultz
Yoav, The rest of the message aside, I had an only partially related question: (and a poor one at that :)). But the fact that many servlet-based applications end up going the way of the EJB, you might want to play by their rules if you can. Can you quote research that shows a large percentage of

Re: Why not to create threads?

2003-10-28 Thread Tim Funk
You are allowed to create your own threads. But there are restrictions and limitations for user created threads such as ... - They should not touch Request and Response objects - The should be able to know when the servlet container stops if non-daemon so the jvm may gracefully terminate - If dae

RE: Why not to create threads?

2003-10-28 Thread Shapira, Yoav
Howdy, The rest of the message aside, I had an only partially related question: >(and a poor one at that :)). But the fact that >many servlet-based applications end up going the way of the EJB, you >might want to play by their rules if you can. Can you quote research that shows a large percentag

Session exclusivity (was Form Double Submit Detection)

2003-10-28 Thread Christopher Schultz
Ralph, Does that mean that you can never have exclusive access to your own session? Yes you can, but the only safe way is to synchronize on an object inside the session, not the session itself. Well, not always. Because of threading and memory issues with the JVM, one thread might put something

RE: Hey man, long not see you

2003-10-28 Thread Gustavo Cebrian
*** Gustavo Cebrian Quality Manager Want to improve the ROI on your EAI project? Download RV Tester and reduce your development and testing timescales by as much as 50%. http://www.greenhatconsulting.com/rvtester Green Hat Consulting Ltd. 107 Fleet

RE: Form Double Submit Detection

2003-10-28 Thread Ralph Einfeldt
Yes you can, but the only safe way is to synchronize on an object inside the session, not the session itself. Or to synchronize on a more global object (but this is not recommended as this might not scale well for sites with many users) > -Original Message- > From: Christopher Schultz [m

Re: Why not to create threads?

2003-10-28 Thread Christopher Schultz
Chris, Why should I be avoiding creating my own threads in a web application? I have a couple of scheduled components, and I'm not sure how else I would implement them. I realize ther sometimes it's just necessary, so I'm not trying to tell you that you're wrong for creating threads. That being s

Re: Why not to create threads?

2003-10-28 Thread harm
Because the appliction server does this for you. If you interfere by using your own threads you could break stuff... (it's a spec violation too). Also you should use an application server for scheduling components. (We use JBoss MXBeans for this purpose). Regards, Harm de Laat Informatiefabri

RE: Replicating Application variables

2003-10-28 Thread Shapira, Yoav
Howdy, >>>We have a web application with multiple sub-systems . viz. , Order >>>Processing, Inventory Management etc., I need a way to isolate each of >>>these sub-systems. > >>Why don't you make them separate webapps? > >What are the advantages of having separate webapps? >We have a clustered e

Re: Apache cannot load jk2 (bis)

2003-10-28 Thread jmorace
Looks like you are trying to use the module built for Apache 1.3.27 with an Apache 2 web server. Try using the mod_jk2-2.0.43.dll binary instead. Jonathan On Tue, 28 Oct 2003, Jean-Max Estay wrote: >Hello, > >I use the ${Apache2} in this mail for the path of my apache install >directory. > >Usi

RE: Why not to create threads?

2003-10-28 Thread Shapira, Yoav
Howdy, >Why should I be avoiding creating my own threads in a web application? I >have a couple of >scheduled components, and I'm not sure how else I would implement them. It's OK to create and use threads as long as you're careful for synchronization issues. Threads are a powerful construct wh

Why not to create threads?

2003-10-28 Thread Walker Chris
Why should I be avoiding creating my own threads in a web application? I have a couple of scheduled components, and I'm not sure how else I would implement them. Chris -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: 28 October 2003 15:53 To: Tomcat Users Lis

RE: mod_jk2 binary for Apache 2.0.47/Win

2003-10-28 Thread Asif Chowdhary
No I dont have that file in the conf directory. The documentation is very confusing. It works fine -Original Message- From: Florian Ebeling [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 28, 2003 10:56 AM To: Tomcat Users List Subject: Re: mod_jk2 binary for Apache 2.0.47/Win Hi Asif,

Re: TeraData DataSource

2003-10-28 Thread Christopher Schultz
Ken, Has anyone been able to connect to a TeraData datasource using thier >>>driver? I'm getting the following error. >> Did this exception have a "caused by" stack trace along with it? > "No suitable driver". The TeraData .jar file is in the common/lib folder. Sorry for my ignorance, but this i

Re: session hijacking and tying session to IP address with filter

2003-10-28 Thread Adam Hardy
On 10/28/2003 01:49 PM Morgan Pyne wrote: And I actually find it a bit disturbing that in this day and age of somebody would be called "anal" about security for simply implementing their website via SSL :-) - I would consider this to be a minimum requirement and only the first step for any webs

Re: mod_jk2 binary for Apache 2.0.47/Win

2003-10-28 Thread Florian Ebeling
Hi Asif, thanks for your answere. I didn't try the module with the non-matching number. In fact, it does load. I read it several times, so I didn't question this. However, are you sure you do not have a jk2.properties file in your Tomcat /conf? The mod_jk2 documentation suggests there should b

Re: Configuring tomcat to serve request from specific IP addresses

2003-10-28 Thread Christopher Schultz
Is there any way to configure tomcat to enable its services (HTTP request/responses ) to specific IP address(s) only? I'm sure you can do something like Apache's: Deny From All Allow From ... but that would require a restart. Programmatically, you can do this by poking the "allowed" ip address

RE: How do I get off this list?

2003-10-28 Thread Vengurlekar, Mandar
Im trying to do that myself. I tried the unsubscribe option, but the reply to email id doesnt work. Thanks and Regards, Mandar -Original Message- From: Adam Mantell [mailto:[EMAIL PROTECTED] Sent: Monday, October 27, 2003 3:06 PM To: [EMAIL PROTECTED] Subject: How do I get off this list

Re: Number of processes and relationship to mod_jk, Apache, tomcat

2003-10-28 Thread Christopher Schultz
Andrew, I am trying to understand the relationship between applications in Tomcat, the number of Tomcat processes, Apache mod_jk and the number of threads. Apache: lsof -i tcp:80 | wc -l This gives me 12 processes listening to port 80 (I checked these are related to the number of Apache instances)

Re: TeraData DataSource

2003-10-28 Thread Ken . Martinson
"No suitable driver". The TeraData .jar file is in the common/lib folder. Thanks, Ken Martinson ext. 3048 Christopher Schultz <[EMAIL PROTECTED]> 10/28/2003 10:26 AM Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> To Tomcat Users List <[EMAIL PROTECTED]> cc Subject Re: TeraData

RE: Replicating Application variables

2003-10-28 Thread Karthik Duddala
>Howdy, >>We have a web application with multiple sub-systems . viz. , Order >>Processing, Inventory Management etc., I need a way to isolate each of >>these sub-systems. >Why don't you make them separate webapps? >Yoav Shapira What are the advantages of having separate webapps? We have

Re: TeraData DataSource

2003-10-28 Thread Christopher Schultz
Ken, Has anyone been able to connect to a TeraData datasource using thier JDBC driver? I'm getting the following error. > java.sql.SQLException: Cannot create JDBC driver of class 'com.ncr.teradata.TeraConnectionPoolDataSource' for connect URL 'jdbc:teradata://sw72sqldv3:7060' Did this exceptio

Re: mod_jk2 binary for Apache 2.0.47/Win

2003-10-28 Thread Florian Ebeling
Hi Jean-Max, this won't work, Apache accepts only modules with exactly matching version numbers. I tried the mod_jk module, because this one is in sync with the Apache2 release. You can get it here: http://www.apache.de/dist/jakarta/tomcat-connectors/jk/binaries/win32/ mod_jk is deprecated, I

Re: Hey man, long not see you

2003-10-28 Thread Joao Medeiros
Do we have an anti-virus software running on this list server? This message was infected... --JM [EMAIL PROTECTED] wrote: - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] smime.p7

Re: Configuring tomcat to serve request from specific IP addresses

2003-10-28 Thread Tim Funk
http://jakarta.apache.org/tomcat/faq/security.html#restrict In 4.1.X, I think this can be configured on the fly via the admin webapp. But 4.0.X will need a restart. -Tim Hari Krishna ( Associate ) wrote: Hi, Is there any way to configure tomcat to enable its services (HTTP request/responses )

RE: Replicating Application variables

2003-10-28 Thread Shapira, Yoav
Howdy, >We have a web application with multiple sub-systems . viz. , Order >Processing, Inventory Management etc., I need a way to isolate each of >these sub-systems. Why don't you make them separate webapps? Yoav Shapira This e-mail, including any attachments, is a confidential business com

RE: Configuring tomcat to serve request from specific IP addresses

2003-10-28 Thread Shapira, Yoav
Howdy, RemoteAddressFilter, RTFM. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Hari Krishna ( Associate ) [mailto:[EMAIL PROTECTED] >Sent: Tuesday, October 28, 2003 9:59 AM >To: Tomcat Users List >Subject: Configuring tomcat to serve request from specific IP addres

Replicating Application variables

2003-10-28 Thread Karthik Duddala
We have a web application with multiple sub-systems . viz. , Order Processing, Inventory Management etc., I need a way to isolate each of these sub-systems. One approach I have thought of is setting an Application variables which then will be picked up the system and deny access to that partic

Configuring tomcat to serve request from specific IP addresses

2003-10-28 Thread Hari Krishna \( Associate \)
Hi, Is there any way to configure tomcat to enable its services (HTTP request/responses ) to specific IP address(s) only ? If yes, Can these configurations be made dynamically so that without restarting the tomcat changes should be active? I am using Tomcat 4.0.1 and is a standalone. I checked the

RE: mod_jk2 binary for Apache 2.0.47/Win

2003-10-28 Thread Asif Chowdhary
Hi, Apache 2.0.47 will work with mod_jk2 connector. I have it working on my machine. In apache httpd.conf LoadModule jk2_module modules/mod_jk2.dll (I named it mod_jk2.dll) workers2.properties file in your apache2/conf/ directory #For the first tomcat listening on port 8009 First instance of

Number of processes and relationship to mod_jk, Apache, tomcat

2003-10-28 Thread Andrew Panagos
I am trying to understand the relationship between applications in Tomcat, the number of Tomcat processes, Apache mod_jk and the number of threads. For instance on a system I have the following Apache 1.3.28, Tomcat 4.1.27, Java 1.4.2_02 I use the follow commands to see what is listening to differ

Re: Needed more support for catalina.base in Bootstrap

2003-10-28 Thread Rodrigo Ruiz
Thanks for your responses, I will follow your suggestions :-) - Original Message - From: "Shapira, Yoav" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, October 28, 2003 3:16 PM Subject: RE: Needed more support for catalina.base in Bootstrap > > Howdy, > Wh

TeraData DataSource

2003-10-28 Thread Ken . Martinson
Has anyone been able to connect to a TeraData datasource using thier JDBC driver? I'm getting the following error. java.sql.SQLException: Cannot create JDBC driver of class 'com.ncr.teradata.TeraConnectionPoolDataSource' for connect URL 'jdbc:teradata://sw72sqldv3:7060' at org.apache.

  1   2   >