Re: content-type without charset

2007-05-29 Thread Mark Thomas
Richard Kaye wrote: > Please could someone help me by posting a Hello-world > servlet that serves a document with this Content-Type > header? I have tried all the obvious things with no > success... Are you using a writer? If so, try using the stream instead. Mark --

Servlet and Random Access File

2007-05-29 Thread Teh Noranis Mohd Aris
Hello All, Does anyone have an example of a servlet program that uses random access file or any useful links? I tried searching yahoo and google but could not find one that really suits my needs. Thank you. Yours Sincerely, TEH - Get your own web

Making a directory visible to tomcat

2007-05-29 Thread Peter Dawn
guys, i am using tomcat 5.0. now i have created a file on my server at C:\data\packet.xml. when somebody accesses my web app remotely, i want the user to type in http://ipaddress:8080/packet.xml to be able to access this file. can somebody please tell me how i can make a directory outside the in

Re: Tomcat Netbeans Project... WildCat

2007-05-29 Thread Len Popp
On 5/29/07, Mark Thomas <[EMAIL PROTECTED]> wrote: Johnny Kewl wrote: > I havent had a chance to test it yet, but where I'm trying to get to is the ability to debug from servlet straight into Tomcat source. This should be standard out of the box functionality. You shouldn't need any extras to g

Re: war file name

2007-05-29 Thread Mark Thomas
Tomcat wrote: > there is a directive in server.xml or context file, which force us having > war file name be the same as context file or the same as name of > directory which > war file unpacked, would you please let me know which directive it is. There is no such directive. Mark --

Re: Administration web tool

2007-05-29 Thread Mark Thomas
Virgilio wrote: > Is it possible using administration web tool with Tomcat 6? No. Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROT

Re: Jasper compiler crashes

2007-05-29 Thread Rashmi Rubdi
On 5/29/07, Berglas, Anthony <[EMAIL PROTECTED]> wrote: Thanks for that, but I don't see how it will help. If you look below it is the jasper2 that is causing me grief, which is essentially the same as yours. How long does it take to precompile the JSPs. Is it several JSPs per second or sever

RE: Jasper compiler crashes

2007-05-29 Thread Berglas, Anthony
Thanks for that, but I don't see how it will help. If you look below it is the jasper2 that is causing me grief, which is essentially the same as yours. How long does it take to precompile the JSPs. Is it several JSPs per second or several seconds per JSP? My JSPs take over 20 seconds to compi

war file name

2007-05-29 Thread Tomcat
Hello there is a directive in server.xml or context file, which force us having war file name be the same as context file or the same as name of directory which war file unpacked, would you please let me know which directive it is. Thanks Adam ---

Re: error 503 in middle of page with tomcat and jk connector

2007-05-29 Thread Jessica Johnson
Thanks Rainer, I updated the workers.properties with your suggestions, and verified that there is only one timeout directive in httpd.conf. Afterwards, I found some interesting things poking through the logs. mod_jk.log [Tue May 29 17:44:55 2007] [1060:1860] [debug] mod_jk.c (452): written 818

Questions about Contexts

2007-05-29 Thread lightbulb432
How are extremely large web applications divided up into contexts (as I’d imagine these applications don’t reside within just a single WAR)? Let’s say you have different functional areas, like user registration, search, file management, etc, could each of those be divided up into its own context,

Re: error 503 in middle of page with tomcat and jk connector

2007-05-29 Thread Jessica Johnson
I just noticed something strange. It isn't exactly that the HTML is cut off. All of the parts match the output on my dev server. But it looks like the HTML has been chunked up and mixed up, for lack of a better way to describe it. For example one of the pages has two head tags, but is missing

Re: error 503 in middle of page with tomcat and jk connector

2007-05-29 Thread Rainer Jung
Jessica Johnson wrote: On 5/29/07, Rainer Jung <[EMAIL PROTECTED]> wrote: Hi Jessica, your information looks strange. You are talking about mod_jk 1.2.22, but you present a configuration for mod_jk2, which is deprecated. mod_jk will not work with this configuration, because mod_jk uses a very

RE: Where to find session cookies

2007-05-29 Thread Fargusson.Alan
Session cookies are not stored on disk. This is why they are more secure then cookies (non-session). Since they only exist in RAM (ok, maybe in swap files) nobody else using that machine can find them, and they go away when the browser ends. -Original Message- From: lightbulb432 [mail

Re: Where to find session cookies

2007-05-29 Thread Pid
lightbulb432 wrote: When testing my application that uses sessions, I don't seem to see a cookie with domain localhost in my browser's cookies folder. Does Tomcat use some internal folder to put its cookies, or am I just doing something else wrong? Where your browser stores it's cookies is none

Re: Configuring a DataSourceRealm

2007-05-29 Thread Paulo Vivacqua
Hello Christopher, It worked. Thanks very much for the tips. have a nice day Paulo Vivacqua On 5/29/07, Propes, Barry L <[EMAIL PROTECTED]> wrote: I don't believe you can have both, Paulo...i believe it's one realm or the other if I'm not mistaken. -Original Message- From: Paulo Viv

Re: Where to find session cookies

2007-05-29 Thread ROOKIE
If u are referring to session cookies (jsessionid and jsessionidsso) then the http servlet request contains a method called getCookies() where u can find the cookies and use them for further use by storing them im memory, once the response is received by browser it is upto it where and how it s

Re: error 503 in middle of page with tomcat and jk connector

2007-05-29 Thread Jessica Johnson
On 5/29/07, Rainer Jung <[EMAIL PROTECTED]> wrote: Hi Jessica, your information looks strange. You are talking about mod_jk 1.2.22, but you present a configuration for mod_jk2, which is deprecated. mod_jk will not work with this configuration, because mod_jk uses a very different config syntax.

Re: Web application receives request parameters sent to another application on Tomcat 6

2007-05-29 Thread Filip Hanik - Dev Lists
What connector are you using? ie, how does the element look in server.xml? Filip Dejan Krsmanovic wrote: We have two applications running on the same Tomcat instance. These two applications are used by completely different people and one of them has much higher traffic than another one. Recen

RE: Where to find session cookies

2007-05-29 Thread Caldarale, Charles R
> From: lightbulb432 [mailto:[EMAIL PROTECTED] > Subject: Where to find session cookies > > When testing my application that uses sessions, I don't seem > to see a cookie with domain localhost in my browser's cookies > folder. Does Tomcat use some internal folder to put its cookies, Think about

Where to find session cookies

2007-05-29 Thread lightbulb432
When testing my application that uses sessions, I don't seem to see a cookie with domain localhost in my browser's cookies folder. Does Tomcat use some internal folder to put its cookies, or am I just doing something else wrong? I do have cookies enabled, so it's not writing the session id to the

RE: Configuring a DataSourceRealm

2007-05-29 Thread Propes, Barry L
I don't believe you can have both, Paulo...i believe it's one realm or the other if I'm not mistaken. -Original Message- From: Paulo Vivacqua [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 29, 2007 1:07 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: Configuring a DataSourceRealm

RE: Tomcat stopped logging

2007-05-29 Thread Propes, Barry L
yeah, I didn't think there was, or that I'd had trouble with the number of files in the directory before. Would seem absurd. Might be on a different OS that Windows is picky that way. -Original Message- From: David kerber [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 29, 2007 1:00 PM To: T

Re: tomcat comet, not working...

2007-05-29 Thread Filip Hanik - Dev Lists
as a client I use http://people.apache.org/~fhanik/cometgui.jar The client automatically translates \n into CRLF for the HTTP protocol To do what you need to do, do this 0. java -jar cometgui.jar 1. Click "Connect" 2. Click "Submit" 3. Erase the headers, make sure the next text looks like this:

Re: Configuring a DataSourceRealm

2007-05-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paulo, Paulo Vivacqua wrote: > Like I said before I am trying to setup a DataSourceRealm to > authenticate users by pull out the user information from a MySQL > database. You should remove the MemoryRealm from your configuration if you are going to u

Re: Anybody using GNU Java

2007-05-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Omar, Omar Eljumaily wrote: > in a production Tomcat environment? I tried this once before a few > years ago, and ran into some nasty bugs. Sun's Java, for me, is getting > a bit weird, especially on Linux. I never quite know which version to > dow

Re: Anybody using GNU Java

2007-05-29 Thread Martin Dubuc
I would not recommend using GNU java with Tomcat. I remember I struggled with installation of JDK 6 on FC5 or FC6 when it was first released. I figured eventually that there were some directories that were supposed to be installed by the jpackage-utils RPM that JDK was looking for that were not o

Re: Configuring a DataSourceRealm

2007-05-29 Thread Paulo Vivacqua
Hi David, The "j_security_check is not a real page it´s a key for communicating with tomcat. I lookup all my code and there is no reference to JNDI jdbc. If I comment my Realm declaration on server.xml i get to the login page without any problem, and the authentication works, but the user info i

Re: Tomcat stopped logging

2007-05-29 Thread David kerber
Propes, Barry L wrote: I'm not even close to that! I'm at about 4.7 MB! For the logs anyway...isn't that the directory to which you're referring? But one thing I do wonder about...seems as if someone had told me one time there was a finite amount of folders or items that could be in a Windows d

Re: error 503 in middle of page with tomcat and jk connector

2007-05-29 Thread Rainer Jung
Hi Jessica, your information looks strange. You are talking about mod_jk 1.2.22, but you present a configuration for mod_jk2, which is deprecated. mod_jk will not work with this configuration, because mod_jk uses a very different config syntax. Although I don't know your actual configs, I as

RE: Configuring a DataSourceRealm

2007-05-29 Thread David Short
Somewhere in your code, probably in j_security_check, there is a reference to a datasource, which will reference the JNDI value. You need to change that reference from jdbc to jdbc/oaso. -Original Message- From: Paulo Vivacqua [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 29, 2007 10:46 A

Re: Configuring a DataSourceRealm

2007-05-29 Thread Paulo Vivacqua
Hi David, Thanks for the help. I don´t have a reference to JNDI jdbc on my code. What I have is a login page with a form that´s sent to tomcat for authentication. I restarted tomcat and what I am getting a login window for TomCat Manager Application. I tried using

RE: Tomcat stopped logging

2007-05-29 Thread Propes, Barry L
I'm not even close to that! I'm at about 4.7 MB! For the logs anyway...isn't that the directory to which you're referring? But one thing I do wonder about...seems as if someone had told me one time there was a finite amount of folders or items that could be in a Windows directory, like 256 for

Re: Tomcat stopped logging

2007-05-29 Thread Daniel Stephens
I can't remember off the top of my head but I think there is a 2GB limit(OS Level). but I'd have to try and find that, to be totally sure. On 5/29/07, Propes, Barry L <[EMAIL PROTECTED]> wrote: yeah, it did one day. It had logged up until about 11:45am one day, and then inexplicably stopped. No

Administration web tool

2007-05-29 Thread Virgilio
Hi, my name is Virgilio. I have already installed administration web tool with Tomcat 5.9 and all run alright. I am trying to install administration web tool with Tomcat 6.0.13. When trying to access to http://localhost:8080/admin I get blank page. I am using j2sdk 1.5 Is it possible using

RE: Configuring Tomcat 5.5 and IIS 6

2007-05-29 Thread Propes, Barry L
that would mean Tomcat's running at port 8080, not 80. Something in the connector didn't work, assuming you're trying to make a connector run TC on port 80 instead of 8080. -Original Message- From: rcgeorge23 [mailto:[EMAIL PROTECTED] Sent: Sunday, May 27, 2007 7:34 AM To: users@tomcat.a

Re: tomcat comet, not working...

2007-05-29 Thread Szabolcs Márton
Filip, i tryed and i got the same again: "The specified HTTP method is not allowed for the requested resource (HTTP method GET is not supported by this URL)." I could access this servlet in a normal way, like explorer and http://localhost:8080/cometd/cometddd or i could accept only something li

Re: tomcat comet, not working...

2007-05-29 Thread Peter Warren
Filip, could you post some client code that sends two separate messages to the server on the same output stream and generates both a begin event and then a subsequent read event. Thanks, Peter (I'm the guy who started the "comet read event" thread. I never heard back after you asked me which conn

RE: 404 message when trying to test a servlet

2007-05-29 Thread Propes, Barry L
servlet mapping entails which directory you would like your classes to be or to be named, and where the actual servlet will be. Also, will it be mapped to a different name? That's typically a good idea, from what I've read. i..e here's a blurb from the web.xml file what servlet mapping would loo

Re: Anybody using GNU Java

2007-05-29 Thread Leon Rosenberg
On 5/29/07, Omar Eljumaily <[EMAIL PROTECTED]> wrote: So anyway, is anybody successfully using GNU Java? I dont think its possible. It simply doesnt work. If not, does anybody have any tips for installing the proper version of Sun's Java on FC6? Yes. Goto http://java.sun.com/javase/downlo

Re: error 503 in middle of page with tomcat and jk connector

2007-05-29 Thread Mladen Turk
Jessica Johnson wrote: Hi all, I finally got a mostly working install of Apache 2.2.4, Tomcat 5.5.23, and the mod_jk 1.2.22. That's hard to believe, because (see below) Here is my workers.properties file. [logger] level=DEBUG file=C:/Program Files/Apache Software Foundation/Apache2.2/logs/

Re: tomcat comet, not working...

2007-05-29 Thread Filip Hanik - Dev Lists
you don't really have to do that much, here is mine package org.hanik.comet.test; import java.io.IOException; import java.io.InputStream; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import org.apache.catalina.CometEvent; import org.apache.catalina.CometProcess

RE: 404 message when trying to test a servlet

2007-05-29 Thread Dean
Thanks for the info. However, I am new to tomcat and servlets and as such am still somewhat unclear as to the resolution to this problem. Can you clarify. What exactly is servlet - mapping? Thanks, D -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker Sent

error 503 in middle of page with tomcat and jk connector

2007-05-29 Thread Jessica Johnson
Hi all, I finally got a mostly working install of Apache 2.2.4, Tomcat 5.5.23, and the mod_jk 1.2.22. In the general case it works fine, but for pages that take a long time to load, I get the first part of the html, and then Apache spits out "OK The server is temporarily unable to service your r

Re: tomcat comet, not working...

2007-05-29 Thread Szabolcs Márton
i will send later, i cant ftp from here. any other ideas? i would like if somebody, who made this cometprocessor worked describe the things what have to do. I already done what is in tomcat docs (advanced NIO) regards, Saby 2007/5/29, Filip Hanik - Dev Lists <[EMAIL PROTECTED]>: send us a link

Re: Anybody using GNU Java

2007-05-29 Thread David Tonhofer
Omar Eljumaily wrote: in a production Tomcat environment? I tried this once before a few years ago, and ran into some nasty bugs. Sun's Java, for me, is getting a bit weird, especially on Linux. I never quite know which version to download, each one having at least two or three different nu

RE: Configuring a DataSourceRealm

2007-05-29 Thread David Short
In your code where you reference JNDI "jdbc", reference "jdbc/oaso" instead. -Original Message- From: Paulo Vivacqua [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 29, 2007 8:37 AM To: Tomcat Users List Subject: Re: Configuring a DataSourceRealm Hello chris, Thanks again for the help.I w

Re: Configuring a DataSourceRealm

2007-05-29 Thread Paulo Vivacqua
Hello chris, Thanks again for the help.I will try to be more clear so that maybe you could help figure out what I am doing wrong. Like I said before I am trying to setup a DataSourceRealm to authenticate users by pull out the user information from a MySQL database. 1- I already created the tabl

RE: Tomcat Connection pool

2007-05-29 Thread David Short
In your code where you reference the JNDI name "jdbc", reference "jdbc/orcl" instead. -Original Message- From: Ligade, Shailesh (Contr) (Mission Systems) [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 29, 2007 5:16 AM To: Tomcat Users List Subject: Tomcat Connection pool Greetings, I am

RE: Tomcat stopped logging

2007-05-29 Thread Propes, Barry L
yeah, it did one day. It had logged up until about 11:45am one day, and then inexplicably stopped. Not sure why, because more errors did occur. I had a few logs, with one being catalina_log (prefix), the other being localhost_admin_log, another being localhost_DBTest_log, which catches most of

Anybody using GNU Java

2007-05-29 Thread Omar Eljumaily
in a production Tomcat environment? I tried this once before a few years ago, and ran into some nasty bugs. Sun's Java, for me, is getting a bit weird, especially on Linux. I never quite know which version to download, each one having at least two or three different numbers associated with i

RE: Tomcat stopped logging

2007-05-29 Thread Propes, Barry L
pretty sure it did not run out of disk space. In fact, I'd zipped a bunch of logs a week or so earlier to free up space, not that I needed to, but I still had tons of space on the server. Was the heap size not set high enough maybe? -Original Message- From: Filip Hanik - Dev Lists [mail

RE: JMX TimerMBean & Tomcat

2007-05-29 Thread Pitre, Russell
Have you taken a look at Quartz? http://www.opensymphony.com/quartz/ Quartz is a full-featured, open source job scheduling system that can be integrated with, or used along side virtually any J2EE or J2SE application - from the smallest stand-alone application to the largest e-commerce system.

JMX TimerMBean & Tomcat

2007-05-29 Thread Jaco Gillman
To Whom It May Concern: I am currently having some issues with implementing a TimerMBean for scheduling on a Tomcat instance. Basically I want to be able to have a properties file of configurations for a scheduler that cleans up a cached folder in our application and I was investigating the pos

RE: I want to Redirect to a different app

2007-05-29 Thread Caldarale, Charles R
> From: Roger Parkinson [mailto:[EMAIL PROTECTED] > Subject: I want to Redirect to a different app > > I want these requests to invoke Demo, not a second instance > of Demo called Testapp, but actually Demo itself. Deploy a simple Testapp webapp that does nothing but forward requests to Demo.

SOLVED, WAS: HttpSessionBindingListener not working

2007-05-29 Thread Gregor Schneider
Sorry, I misunderstood the concept of s HttpSessionBindingListener completely I guess. The object which is bound / unbound to the HttpSession has to implement the listener... Sometimes reading really helps ;) Cheers Gregor -- what's puzzlin' you, is the nature of my game gpgp-fp: 79A84FA52680

Re: Tomcat stopped logging

2007-05-29 Thread Filip Hanik - Dev Lists
ran out of disk space or the file is too large Filip Propes, Barry L wrote: Hello, I have a strange situation. Tomcat has stopped logging today on my prod. server. Not sure why. All of the app seems to be working just fine, but the key log file stopped generating new info. I have a schedu

Re: tomcat comet, not working...

2007-05-29 Thread Filip Hanik - Dev Lists
send us a link to your test WAR file, and I can give it a shot, looks good to me. Filip Márton Szabolcs wrote: Hi! i set my connector like this. it should be correct, isnt it? CometSampleServlet sample.CometSampleServlet CometSampleServlet /CometSampleServlet public

Re: Jasper compiler crashes

2007-05-29 Thread Filip Hanik - Dev Lists
What I like to do is to compile my JSPs just like Tomcat would do it runtime, so that I can keep the ability to recompile my JSP files. http://people.apache.org/~fhanik/precompile.html http://people.apache.org/~fhanik/tomcat-6-precompile.xml I just whipped up the v6 script, but I believe it to

RE: Tomcat Connection pool

2007-05-29 Thread Ligade, Shailesh (Contr) (Mission Systems)
Thanks Daniel, I got to work by removing things from web.xml. Removing DefaultCOntext from server.xml. Adding a context.xml with And placing this context.xml in conf directory (where server.xml is) resolved my problems :-) thanks Shailesh -Original Message- From: Daniel S

Re: Tomcat stopped logging

2007-05-29 Thread Daniel Stephens
apologize for coming in late if this was resolved... Are you saying Tomcat just stop's logging to the catalina.out? On 5/9/07, Propes, Barry L <[EMAIL PROTECTED]> wrote: Hello, I have a strange situation. Tomcat has stopped logging today on my prod. server. Not sure why. All of the app seems

Re: Configuring Tomcat 5.5 and IIS 6

2007-05-29 Thread Rainer Jung
It looks like you want to change the URL during forwarding. Have a look at http://tomcat.apache.org/connectors-doc/reference/iis.html and search for the word "rewrite". Regards, Rainer rcgeorge23 wrote: Hi Chuck, Thanks for that. I've now downloaded and attempted to set up the jk connector

Re: Tomcat Connection pool

2007-05-29 Thread Daniel Stephens
Yes post your web.xml where with your tags. Looks like a typo in there. On 5/29/07, Ligade, Shailesh (Contr) (Mission Systems) < [EMAIL PROTECTED]> wrote: Greetings, I am running Tomcat 5.x, and I have many webapps deployed and working under tomcat. I want my connection pool to be used from

I want to Redirect to a different app

2007-05-29 Thread Roger Parkinson
I have an app running in Tomcat and it works fine. Let's say it is called Demo. I want to leave that instance of the app running just as it is. But I want to be able to do this: http://www.mydomain.com/Testapp Testapp does not exist. I want these requests to invoke Demo, not a second instance

Re: Tomcat Connection pool

2007-05-29 Thread Szabolcs Márton
maybe you need some settings at the web.xml as weel? (just guess) regards, Szabi 2007/5/29, Ligade, Shailesh (Contr) (Mission Systems) <[EMAIL PROTECTED]>: Greetings, I am running Tomcat 5.x, and I have many webapps deployed and working under tomcat. I want my connection pool to be used from

content-type without charset

2007-05-29 Thread Richard Kaye
Hi I have been tearing my hair out recently with an annoying problem. I want to serve XHTML+MathML documents from a servlet. The problem is that it seems that these can only be viewed with IE and the plugin (MathPlayer) if the server sends Content-Type: application/xhtml+xml in the HTTP hea

Re: Admin config

2007-05-29 Thread Albert Shih
Le 28/05/2007 à 17:04:12+0200, Albert Shih a écrit > Hi all > > I've a very very newbie on tomcat (first day I try to configure tomcat)... > > I've install from ports (FreeBSD) the tomcat 5.5 (need by my > web-applications). > > The applications I need to run is configured by admin tomcat. Wel

Re: Using servlet and mysql

2007-05-29 Thread De Haan Software Engineering
er it is the correct directory to >> put the database. However, in the program there was a statement >> .(insert into login_table values(?,?)"); I do not understand the >> usage of login_table. Does it mean that I should create login_table >> in database teh? Reall

Re: tomcat comet, not working...

2007-05-29 Thread Bernd Winterstein
This is the example from the tomcat user guide. I have the same problem getting it to work. 2007/5/29, Márton Szabolcs <[EMAIL PROTECTED]>: Hi! i set my connector like this. it should be correct, isnt it? CometSampleServlet sample.CometSampleServlet CometSampleServlet /Comet

Re: Using servlet and mysql

2007-05-29 Thread David Smith
I would actually recommend steering clear of the jdbc-odbc bridge driver. It's not stable enough for production use on any level. Get MySQL (it's free), install it, configure it according to the docs and setup your db there. Docs are plentiful on the mysql website. You will be much happier with

HttpSessionBindingListener not working

2007-05-29 Thread Gregor Schneider
Hi guys, I'm having a problem getting my HttpSessionBindingListener to work. The listener gets initialized (System.out in the constructor of the listener), however, neither valueBound nor valueUnbound gets called. In my application, the code where I'm storing an attribute to the session is this

Tomcat Connection pool

2007-05-29 Thread Ligade, Shailesh (Contr) (Mission Systems)
Greetings, I am running Tomcat 5.x, and I have many webapps deployed and working under tomcat. I want my connection pool to be used from any application. When I modify server.xml in conf directory to add my connection, listed below:

Re: tomcat comet, not working...

2007-05-29 Thread Márton Szabolcs
Hi! i set my connector like this. it should be correct, isnt it? CometSampleServlet sample.CometSampleServlet CometSampleServlet /CometSampleServlet public class CometSampleServlet extends HttpServlet implements CometProcessor { protected ArrayList con

SSO session replication within TC 5.5.23 cluster

2007-05-29 Thread ROOKIE
Hi, I have created a simple TCP cluster of 2 TC 5.5.23 servers and added a Apache 2.2 (mod_proxy) load balancer in front. Our tomcat has SSO valve enabled. I wanted to know if TC 5.5.23 supports SSO session replication ? Googling tells me that a patch was submitted for this, http://fabien.car

Re: tomcat comet, not working...

2007-05-29 Thread Bernd Winterstein
Can you send me your examples? Bernd 2007/5/29, Filip Hanik - Dev Lists <[EMAIL PROTECTED]>: if your service method is invoked means you are not running the correct connector. You must run the NIO or the APR connector. take a look at the "protocol" attribute in http://tomcat.apache.org/tomca

Re: tomcat comet, not working...

2007-05-29 Thread Filip Hanik - Dev Lists
if your service method is invoked means you are not running the correct connector. You must run the NIO or the APR connector. take a look at the "protocol" attribute in http://tomcat.apache.org/tomcat-6.0-doc/config/http.html Filip Márton Szabolcs wrote: Hi! Ive been trying to use tomcat co

tomcat comet, not working...

2007-05-29 Thread Márton Szabolcs
Hi! Ive been trying to use tomcat comet for about a week, but i have no success. I have tomcat 6.0.13, with windows xp. I install the tomcat, change the server.xml connector tag to NIO connector type. Test the chat example, and another example (push a date to the client every x sec.) But it

Re: Admin config

2007-05-29 Thread Albert Shih
Le 28/05/2007 à 17:12:29+0200, Mikolaj Rydzewski a écrit > Albert Shih wrote: > > I've install from ports (FreeBSD) the tomcat 5.5 (need by my > > web-applications). > > Thanks for you answer. > Forget this one. The best and easiest way is: Best maybe (if you say that I can trust you), but

Re: Unconnected sockets not implemented

2007-05-29 Thread Nencho Lupanov
hi Mark, i was having problems on configuring ssl on the client.It is ok now.Thanks. Nencho 2007/5/29, Mark Thomas <[EMAIL PROTECTED]>: Nencho Lupanov wrote: > any idea? OS? Tomcat version? Steps you followed to configure SSL? Full stack trace? Mark -

Comet example

2007-05-29 Thread Bernd Winterstein
Hi, I'm trying to set up a prototype for a web page which asynchronous notification via comet. The szenario is to show some information upon an incoming phone call. My idea is that the telecom server will send an event via webservice to the webapp, which then notifies the browser. Is there an ex

RE: Installing ISAPI redirect for IIS

2007-05-29 Thread Peter Crowther
> From: Al Sparks [mailto:[EMAIL PROTECTED] > Is there an even better way of doing this? jk2's been unsupported for a couple of years; jk is probably a safer bet. - Peter - To start a new topic, e-mail: users@to

RE: Web application receives request parameters sent to another application on Tomcat 6

2007-05-29 Thread Reich, Matthias
Hi, I am experiencing a behavior that may be related to the mentioned problem. My Servlet uses the Comet interfaces of Tomcat 6. For debugging purposes, when my Servlet receives a BEGIN event, it stores a request counter in an atttribute of the HttpServletRequest object. (This is done to see in t

Re: Using servlet and mysql

2007-05-29 Thread De Haan Software Engineering
Access databases can only be accessed by ODBC (default present at 2000 / XP). MySQL has nothing to do with it. 1) First create your Access database (.mdb, I don't know what a Works database is?). It may be placed anywhere on your Tomcat Server. 2) Then configure it for usage by ODBC. Click

Re: Using servlet and mysql

2007-05-29 Thread Foo Shyn
Hi, In short, to get a MySQL server up, try the following: 1) Install an instance of MySQL 2) Install the client software (you can get them from the MySQL web site too, like MySQL Administrator etc or you can try the MySQL Front for older version of MySQL) 3) Create a database using the client

Re: Using servlet and mysql

2007-05-29 Thread Teh Noranis Mohd Aris
I'm very new to this. This is the first time I'm using mysql and servlet. I might be doing a lot of mistakes. I realized that I should not use Microsoft Works Database. How can I actually create the database name, table and its field using mysql? In which directory should I put the database? Ple

Re: Using servlet and mysql

2007-05-29 Thread Foo Shyn
Hi, This is getting more confusing, you mentioned earlier that you're using MySQL but now it is a Microsoft Works Database. Hmmm perhaps i'm missing something? Anyway, if the database you're using is something like an Access database, you'll just need to use the correct driver and point the

Re: Using servlet and mysql

2007-05-29 Thread Teh Noranis Mohd Aris
Yes, the login name and password are correct. I created the database name, teh, with field username and password, using Microsoft Works Database and saved it in directory catalina_home\webapps\ROOT\. I'm not sure whether it is the correct directory to put the database. However, in the program th

Re: Using servlet and mysql

2007-05-29 Thread Foo Shyn
Hi, Is your login name and password correct? It shows 'root' and the password is 'root' in the code you posted there. - I put the database name, teh in directory catalina_home\webapps\ROOT\ hmm i can't really get what you meant here. Thanx. FooShyn Teh Noranis Mohd Aris wrote: Dear All,