Re: getParameter().getBytes() behaves differently on Linux

2006-03-17 Thread Ahmed Ashour
Dear Filip, That solves it, many many thanks. Just a comment if others went into same problem: * request.setCharacterEncoding("ISO-8859-1"); does not solve the problem * getBytes() is not deprecated, it uses the platform's default charset instead. Thanks again, Ahmed Ashour F

Re: getParameter().getBytes() behaves differently on Linux

2006-03-17 Thread Filip Hanik - Dev Lists
getBytes() is deprecated for the reason that different VMs/OSs have different default encoding. could that be the cause of your problem? what if you try getBytes("ISO-8859-1") on both platforms, do you still get diff results? Filip Ahmed Ashour wrote: Dear all, I think something is w

Re: running SSI on Tomcat 5.5.15

2006-03-17 Thread lee sachs
I'll try to supply as possible so that we don't have to go back and forth. Directory Structure (all seems to be correct, based on unpacking and deploying server to C:\) C:\apache-tomcat-5.5.15 - web.xml is in C:\apache-tomcat-5.5.15\conf\web.xml - servlet-ssi.jar is in C:\apache-tomcat-5.5.

getParameter().getBytes() behaves differently on Linux

2006-03-17 Thread Ahmed Ashour
Dear all, I think something is wrong with parsing parameters for get requests with binary encoding, although request.getCharacterEncoding() is null, the output is different in red hat linux, consider the following test case: Servlet code protected void doG

Re: Tomcat clustering

2006-03-17 Thread Filip Hanik - Dev Lists
David Rees wrote: On 3/17/06, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: You conveniently left out a crucial part of Tim's note which would address any security concerns as well as having to cooperate with ISPs: no I didn't, had you actually read the whole thread :) It boils d

Re: org.apache.ajp.Ajp13 not used?

2006-03-17 Thread Bill Barker
"KARNATI, SRINIVASA R [AG/1000]" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Contrary to my beliefs org.apache.jk.common.MsgAjp has the code to > increase > request header size (buffer size) for AJP/1.3 rather than > org.apache.ajp.Ajp13. In fact, I was searching for a tomcat'

Re: Deadlock -> Out of Threads -> Strange Exception -> OutOfMemory -> Server Death. Bug in org.apache.naming.resources.ProxyDirContext.cacheLoad?

2006-03-17 Thread Roger Keays
I've studied a number of stack traces and the locking seems fine - there is evidence of cyclical deadlock. The problem is that a whole lot of threads (including the ones holding the locks) are listed as 'waiting for monitor' but I can't see why. I found out that it was the garbage collector

Re: Deadlock -> Out of Threads -> Strange Exception -> OutOfMemory -> Server Death. Bug in org.apache.naming.resources.ProxyDirContext.cacheLoad?

2006-03-17 Thread Roger Keays
Leon Rosenberg wrote: This is called thread hi-jacking :-) Sorry, thought it might be the same issue. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Deadlock -> Out of Threads -> Strange Exception -> OutOfMemory -> Server Death. Bug in org.apache.naming.resources.ProxyDirContext.cacheLoad?

2006-03-17 Thread Roger Keays
Hi Leon, Thanks for your tip about the NPTL threads. I tried upgrading to linux 2.6.8 and glibc 2.3.5, but the problem remains :( I've studied a number of stack traces and the locking seems fine - there is evidence of cyclical deadlock. The problem is that a whole lot of threads (including

Re: mod_jk specific configuration problem

2006-03-17 Thread Christian Lete
Thanks for the help, its working now ;) Cheers Christian Ryan McDonald wrote: apache + mod_jk, but I'd need 2 sets of worker.properties, one per each virtual host, ie, virtual host 1 would forward requests to Tomcat A and Tomcat B, and virtual host 2, would follow the requests to Tomca

RE: Best eclipse plugin for tomcat development

2006-03-17 Thread David Grace
Hi, I agree, Netbeans is specifically designed with Tomcat support. It works out of the box, perfectly. You will also get heaps of support in the Netbeans forums. Dave. -Original Message- From: Geertjan Wielenga [mailto:[EMAIL PROTECTED] Sent: Saturday, 18 March 2006 3:52 AM To: Tomcat

Re: Supporting maximum number of keep-alive connections

2006-03-17 Thread Leon Rosenberg
On 3/17/06, David Rees <[EMAIL PROTECTED]> wrote: > On 3/17/06, Leon Rosenberg <[EMAIL PROTECTED]> wrote: > > > > > > Have you tried it? ;) > > > > Yeah, and it didn't add any performance. However it helped to keep the > > thread count low. But it was on 2.4.x kernel, where threads were an > > issu

Re: Supporting maximum number of keep-alive connections

2006-03-17 Thread David Rees
On 3/17/06, Leon Rosenberg <[EMAIL PROTECTED]> wrote: > > > > Have you tried it? ;) > > Yeah, and it didn't add any performance. However it helped to keep the > thread count low. But it was on 2.4.x kernel, where threads were an > issue, on 2.6.x its pointless (at least until you really has somethi

Re: [tomcat] : request.setCharacterEncoding ("UTF-8") doesn't work ?

2006-03-17 Thread sol myr
Thank you very much, David Delbecq , for this detailed reply. David Delbecq <[EMAIL PROTECTED]> wrote: sol myr a écrit : >Hi, > > I'm having a problem with HttpServletRequest.setCharacterEncoding("UTF-8"). > Basically, tomcat seems to ignore it completely, and assume "latin1" encoding.

Re: Tomcat clustering

2006-03-17 Thread David Rees
On 3/17/06, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: > >Yes it will work (technically it is feasible), with several caveats, namely, > >multicast is typically not enabled on WANs > > yeah, I would say feasible, but unless you can talk to every ISP in the chain > between > point A and poi

Re: Threads

2006-03-17 Thread Christopher K. St. John
On Thu, 16 Mar 2006 13:11:17 +0100 Morten Andersen <[EMAIL PROTECTED]> wrote: Is there any problems with running a thread every night updating ressources and sending out emails from within tomcat. Any tools available? short answer: if you're willing to live with (or just don't really care a

Re: Supporting maximum number of keep-alive connections

2006-03-17 Thread Leon Rosenberg
> > Have you tried it? ;) Yeah, and it didn't add any performance. However it helped to keep the thread count low. But it was on 2.4.x kernel, where threads were an issue, on 2.6.x its pointless (at least until you really has something to cache :-) ) > > -Dave Leon -

Re: TomCat + mod_jk performance

2006-03-17 Thread David Rees
On 3/17/06, Alex Jalali <[EMAIL PROTECTED]> wrote: > Although i do have this question about non-static pages. Which do you > think is faster? let say you have 1GB ram and 2 CPUs. running a) apache + > 1 tomcat or b) apache + 2 tomcat in cluster via mod_jk? would having 2 JVM > on the same server th

Re: Supporting maximum number of keep-alive connections

2006-03-17 Thread David Rees
On 3/17/06, Leon Rosenberg <[EMAIL PROTECTED]> wrote: > But pushing dynamic content with squid? I doubt it will work. However, > squid is using select reads instead of tomcat's blocking reads, and > could reduce the number of threads, but I have seriously doubts with > keepalives, have you actually

Troubles with commons-logging and Log4J

2006-03-17 Thread Clemens Eisserer
Hello, for evaluation I use the embedded version of tomcat (that one that can be started via ant) and I have major troubles using Log4J in my project. I would prefer having my own copy of Log4J on the lib-directory, so I would not have to worry about older/newer versions installed on various appl

Re: Supporting maximum number of keep-alive connections

2006-03-17 Thread Leon Rosenberg
On 3/17/06, David Rees <[EMAIL PROTECTED]> wrote: > On 3/17/06, Rajeev Jha <[EMAIL PROTECTED]> wrote: > > Then, the other bottle-neck is, integrating with apache. If we run > > tomcat APJ APR and apache is the front end then apache would also be > > hard pressed to do 1024 keep-alive connections.

Re: Supporting maximum number of keep-alive connections

2006-03-17 Thread David Rees
On 3/17/06, Rajeev Jha <[EMAIL PROTECTED]> wrote: > Then, the other bottle-neck is, integrating with apache. If we run > tomcat APJ APR and apache is the front end then apache would also be > hard pressed to do 1024 keep-alive connections. I can try event MPM or > worker modules. Does this look ok

Re: Somewhat OT: Multiple auth methods in one webapp?

2006-03-17 Thread Mark Lowe
Thats the 2.3 and 2.4 specs btw.. the 2.2 doesn't have section 12.5 and the authentication section is section 11.. Anyhow without getting into all that cellar dwelling, i dont think that there's a restriction on the amount of securit contraints you can configure along with login-config's .. Not su

Re: Best eclipse plugin for tomcat development

2006-03-17 Thread Leon Rosenberg
Being in this topic, I'm searching for eclipse 3 plugin similar to solareclipse under eclipse 2. A simple yet powerful jsp/html/xml editor without jsp compilation, tomcat connection or anything. Just a beautifier. Any ideas? Leon On 3/17/06, Pitre, Russell <[EMAIL PROTECTED]> wrote: > http://www.m

RE: TomCat + mod_jk performance

2006-03-17 Thread Mark Eggers
There are lots of reasons to run Apache in front of Tomcat, and lots of reasons not to. This just depends on your use cases and web site. At any rate, here's one way to find out in your case if the Apache --> ajp13 --> Tomcat process is your bottleneck. 1. Get jmeter at http://jakarta.apache.org

Re: mod_jk specific configuration problem

2006-03-17 Thread Ryan McDonald
apache + mod_jk, but I'd need 2 sets of worker.properties, one per each virtual host, ie, virtual host 1 would forward requests to Tomcat A and Tomcat B, and virtual host 2, would follow the requests to Tomcat C and Tomcat D. I have noticed that the JkWorkersFile directive cant be used pe

RE: TomCat + mod_jk performance

2006-03-17 Thread Caldarale, Charles R
> From: Alex Jalali [mailto:[EMAIL PROTECTED] > Subject: RE: TomCat + mod_jk performance > > Maybe the problem is when I was testing static pages, it > wasn't tomcat as stand-alone vs. apache it was apache vs. > tomcat + connector + apache That was hardly a fair test, was it? Adding processing

mod_jk specific configuration problem

2006-03-17 Thread Christian Lete
Hello everyone, I have come accross a problem, I need the following setup apache + mod_jk, but I'd need 2 sets of worker.properties, one per each virtual host, ie, virtual host 1 would forward requests to Tomcat A and Tomcat B, and virtual host 2, would follow the requests to Tomcat C and T

RE: TomCat + mod_jk performance

2006-03-17 Thread Alex Jalali
Interesing article. I've done more basic tests with tomcat 5.0.19 and jdk 1.4.2 and apache 2.0.?? apache was faster. Maybe the problem is when I was testing static pages, it wasn't tomcat as stand-alone vs. apache it was apache vs. tomcat + connector + apache also I run the test locally on a win

Re: Problem Starting Tomcat -> Now works

2006-03-17 Thread Marco Aurélio Seraphim da Silva
Yes, that was the problem the NetBeans was using the same port... I had to use windows registry to remove the program, the was no evidence of it... Thanks all, Marco - Original Message - From: "Nenad Bosanac" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Friday, March 17, 2006

RE: NT Service and JRockit

2006-03-17 Thread Pitre, Russell
That's what I ended up doing. I was also taking a look at the installer at the same time for sh$%! and giggles! -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Friday, March 17, 2006 1:41 PM To: Tomcat Users List Subject: Re: NT Service and JRockit On 3/17

Supporting maximum number of keep-alive connections

2006-03-17 Thread Rajeev Jha
Hi I would like to try out tomcat for new my application. I have used tomcat for quite some time, but the nature of new application is very different from the traditional request-response model. We want to build an application that supports about 1024 keep-alive connections per machine.(2 GB, x86

JK Question - Serve all but one context

2006-03-17 Thread Steele, Aaron
I have a question about the JK isapi filter. I am trying to have IIS redirect all but one url (context) to tomcat # uriworkermap.properties - IIS # # This file provides sample mappings for example wlb # worker defined in workermap.properties.minimal # The general syntax for this file is: # [URL]=[

RE: TomCat + mod_jk performance

2006-03-17 Thread Caldarale, Charles R
> From: Alex Jalali [mailto:[EMAIL PROTECTED] > Subject: Re: TomCat + mod_jk performance > > If you have lots of static html pages then apache is much better at > handling them. Have you actually measured this on the current version of Tomcat, or are you just echoing what you've heard? If you t

Re: TomCat + mod_jk performance

2006-03-17 Thread Alex Jalali
If you have lots of static html pages then apache is much better at handling them. For other dynamic content like .jsp tomcat has to handle the requests. So thats why you would have apache + the mod_jk connector. If all your files are jsp and you don't need static page serving or other features of

Re: NT Service and JRockit

2006-03-17 Thread Hassan Schroeder
On 3/17/06, Pitre, Russell <[EMAIL PROTECTED]> wrote: > I'm want to obtain some benchmarks for jrockit and sun jvms but I can't > seem to install Tomcat on WinXP using the windows executable ( > apache-tomcat-5.5.16.exe ) with the JRockit jvm. If this is just for benchmarking, why are you wasting

RE: NT Service and JRockit

2006-03-17 Thread Pitre, Russell
That's was the first path I tried and I just tried it again just to make sure I didn't miss it. Still no luck. This is my first attempt working JRockit and tomcat and not going swell so far. I've heard good things with JRockit's performance vs. Sun and I want to see for myself in my environmen

TomCat + mod_jk performance

2006-03-17 Thread Vanessa Campos
Hi, My server is a bit 'slow'. It takes me a while to receive my pages when I hit the site. How fast is tomcat when using apache + mod_jk? Is there any performance test I can apply on my server to check if it is tomcat or my badwidth? Thank you Vanessa Campos [EMAIL PROTECTED] ICQ 35381281 "E

RE: Best eclipse plugin for tomcat development

2006-03-17 Thread Pitre, Russell
http://www.myeclipseide.com/ +1 -Original Message- From: Bruno Georges [mailto:[EMAIL PROTECTED] Sent: Friday, March 17, 2006 11:49 AM To: Tomcat Users List Cc: Tom Cat Subject: Re: Best eclipse plugin for tomcat development Dola There is a good choice on the market, I have used 2

RE: NT Service and JRockit

2006-03-17 Thread Peter Crowther
> From: Pitre, Russell [mailto:[EMAIL PROTECTED] > "Please select > the path of a J2SE 5.0 JRE installed on your system:", I then chose > "C:\JAVA\jrockit-R26.0.0-jdk1.5.0_04\jre\bin\jrockit" as the path. Thinking aloud here, but wouldn't the path be just to c:\...\jre ? - Peter

NT Service and JRockit

2006-03-17 Thread Pitre, Russell
I've tried googling and searching the archives but I have not found a solution to my problem. I'm want to obtain some benchmarks for jrockit and sun jvms but I can't seem to install Tomcat on WinXP using the windows executable ( apache-tomcat-5.5.16.exe ) with the JRockit jvm. I'm able to inst

RE: Best eclipse plugin for tomcat development

2006-03-17 Thread Mauricio Fernandez A.
Hi Dola I´m using this one http://www.sysdeo.com/eclipse/tomcatplugin and it works very well. I´m developing on Windows XP but I didn´t test it on linux, maybe it works fine too, perhaps somebody can tell us more info for using it on linux. Mauricio Fernández A. Ingeniero de Sistemas Universidad

RE: Mod JK Connector Error Codes ?

2006-03-17 Thread Neil Sherman
Excellent!! That fixed it! Many thanks for your time. May I ask what you searched for and where in order to find that article ? As I have been searching all afternoon with no luck! Neil -Original Message- From: Vanessa Campos [mailto:[EMAIL PROTECTED] Sent: 17 March 2006 16:51 To: T

Re: Threads

2006-03-17 Thread Filip Hanik - Dev Lists
yes, Quartz, is a nice open source scheduler. best place to start it, is in an init method of a servlet. Filip Leon Rosenberg wrote: On 3/17/06, Morten Andersen <[EMAIL PROTECTED]> wrote: I need a thread that will write some emails and stuff every night. why not using scheduler?

Re: Best eclipse plugin for tomcat development

2006-03-17 Thread Geertjan Wielenga
Dola Woolfe wrote: Hi, Following the advice of the mailing lists members, I'm trying to work with Eclipse. I've learned that to do tomcat development I need to download an appropriate plugin and that there are seveal to choose from. Can someone recommend a good one (or is there a best one, or th

RE: Mod JK Connector Error Codes ?

2006-03-17 Thread Vanessa Campos
Neil, I found this on http://www.mail-archive.com/dev@httpd.apache.org/msg31214.html: Re: Your opinion on some logs - Apache/mod_jk/Tomcat Pascal Alberty Thu, 09 Mar 2006 00:35:59 -0800 > 1. Apache - mod_jk.log > > [Wed Mar 08 15:34:40 2006] [error] jk_child_init::mod_jk.c (2312): > Attachning

Re: Best eclipse plugin for tomcat development

2006-03-17 Thread Bruno Georges
Dola There is a good choice on the market, I have used 2 with success: MyEclipseIDE : http://www.myeclipseide.com/ and JBoss Eclipse IDE : http://www.jboss.com/products/jbosside With Best Regards Bruno Georges Glencore International AG Tel. +41 41 709 3204 Fax +41 41 709 3000 |-+

RE: Best eclipse plugin for tomcat development

2006-03-17 Thread Asensio, Rodrigo
Use the natural eclipse webtools, works really good. http://www.eclipse.org/webtools/ What tomcat and what eclipse are you using ?? B Regards Rodrigo Asensio -Original Message- From: Dola Woolfe [mailto:[EMAIL PROTECTED] Sent: Friday, March 17, 2006 11:45 AM To: Tom Cat Subject: Best

RE: Mod JK Connector Error Codes ?

2006-03-17 Thread Neil Sherman
Unfortunately I still receive the same error: [Fri Mar 17 16:42:42 2006] [error] jk_child_init::mod_jk.c (2326): Attachning shm:"/var/www/tomcat/webapps/siteB/ROOT" errno=2 ? -Original Message- From: Vanessa Campos [mailto:[EMAIL PROTECTED] Sent: 17 March 2006 16:40 To: Tomcat Users Li

Best eclipse plugin for tomcat development

2006-03-17 Thread Dola Woolfe
Hi, Following the advice of the mailing lists members, I'm trying to work with Eclipse. I've learned that to do tomcat development I need to download an appropriate plugin and that there are seveal to choose from. Can someone recommend a good one (or is there a best one, or the most common one)?

Re: Problem Starting Tomcat

2006-03-17 Thread Nenad Bosanac
Well I had same problem with Tomcat and I use Netbeans 5. I solved this problem by stopping server in NetBeans 5 another Runtime window in NetbBeans 5,and now everything working fine. Yes sometimes i got again this situation but i solved again on the same problem. It happens that Tomcat can`t stopp

RE: Mod JK Connector Error Codes ?

2006-03-17 Thread Vanessa Campos
Neil, Check this: > > AllowOverride All > Order allow,deny > Allow from all > Try to put a "/" before var, like this: AllowOverride All Order allow,deny Allow from all

RE: Mod JK Connector Error Codes ?

2006-03-17 Thread Neil Sherman
My httpd.conf file has a bunch of include statements at the bottom of the file (so that I can keep each virtual hosts configuration separate) e.g. ... Include conf/siteA.conf Include conf/siteB.conf Include conf/siteC.conf ... Each of these include files looks like: # Set the document root

view context files

2006-03-17 Thread erico
I would like to configure my context to list it´s structure trough tomcat manger . If I copy some index.hmtl or index.jsp and choose my context in manager it works When I delete this index file I receive a message saying that my context is not available.

Re: Threads

2006-03-17 Thread Leon Rosenberg
On 3/17/06, Morten Andersen <[EMAIL PROTECTED]> wrote: > I need a thread that will write some emails and stuff every night. why not using scheduler? > > Can this be started from within tomcat. (I'm thinking about starting it > from loadOnStartup) > you can start a thread from nearly everywhere,

Threads

2006-03-17 Thread Morten Andersen
I need a thread that will write some emails and stuff every night. Can this be started from within tomcat. (I'm thinking about starting it from loadOnStartup) We are experiencing that the main thread freezes when our new Thread is put a sleep. Morten --

Re: Problem Starting Tomcat

2006-03-17 Thread Steve Ochani
On 17 Mar 2006 at 13:06, Marco Aurélio Seraphim da Sil wrote: > Hi, > > I got this problem yesterday at the morning, but during the evening it > was working well, and when reboot the machine, it got the same > problem. > > The port 8005 is been used by another program, but in my server.xml I > can

RE: Mod JK Connector Error Codes ?

2006-03-17 Thread Vanessa Campos
Neil, That's what I was trying to tell you. There is no way to set shm file on mod_jk. It's default location is on apache log directory. Did you check you conf files to see if there is any where a missing "/" on "var/www/tomcat/ROOT"? I thought the correct string was "/var/www/tomcat/ROOT"... Then

RE: Mod JK Connector Error Codes ?

2006-03-17 Thread Neil Sherman
Correct me if I am wrong but I believe I am using the JK module and not the JK2 module I am using version 1.2.15, and believe this is the version recommended by Apache for a production environment ? There is definitely no SHM file located in my logs directory. What does SHM stand for ? And what

Re: installing admin package

2006-03-17 Thread erico
Ok Chuck It seems that I've made too much changes in my tomcat It did what you said and now it's working Thanks for your help []s Érico - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

RE: Mod JK Connector Error Codes ?

2006-03-17 Thread Vanessa Campos
Neil, When you use mod_jk you don't configure shm file (JK2 has a special configuration for shm file on worker2.properties). In my case, while TomCat/Apache are active, there is a shm.file on apache log directory. Check you config files to see if there is any reference to shm or to "var/www/tomc

Re: Problem Starting Tomcat

2006-03-17 Thread Marco Aurélio Seraphim da Silva
Hi, I got this problem yesterday at the morning, but during the evening it was working well, and when reboot the machine, it got the same problem. The port 8005 is been used by another program, but in my server.xml I can't see nothing using the port 8005. I'm using it on Windows XP, and tomcat 5

RE: Mod JK Connector Error Codes ?

2006-03-17 Thread Neil Sherman
Yes, the "var/www/tomcat/ROOT" directory does exist. What is a SHM file ? Is this referenced in the httpd.conf file ? Neil -Original Message- From: Vanessa Campos [mailto:[EMAIL PROTECTED] Sent: 17 March 2006 15:54 To: Tomcat Users List Subject: Re: Mod JK Connector Error Codes ? Nei

Re: Mod JK Connector Error Codes ?

2006-03-17 Thread Vanessa Campos
Neil, The directory "var/www/tomcat/ROOT" exists? Check your conf files to see where it's trying to write the SHM file. Maybe mod_jk is trying to create the shm file on an invalid directory. --- Neil Sherman <[EMAIL PROTECTED]> escreveu: > I have Apache(2.0.55) and Tomcat (5.5.12) connected via

org.apache.ajp.Ajp13 not used?

2006-03-17 Thread KARNATI, SRINIVASA R [AG/1000]
Contrary to my beliefs org.apache.jk.common.MsgAjp has the code to increase request header size (buffer size) for AJP/1.3 rather than org.apache.ajp.Ajp13. In fact, I was searching for a tomcat's installation jars to find out the jar that has Ajp13 class, and could not find one. I don't know wher

Re: SOAP reverse-engineering tool?

2006-03-17 Thread Bruno Georges
David I suggest you download the tools from Sun's Java Web Services Developer Pack 2.0 http://java.sun.com/webservices/downloads/webservicespack.html there are utilities which help you generating stubs, for example wscompile can take a wsdl and generate client proxy code. Hope this helps. With

Re: Problem Starting Tomcat

2006-03-17 Thread Julio Oliveira
Do at a console netstat -a and see if is in use the port 8005 Change the port at server.xml of the conf dir regards Julio Oliveira - Argentina Bs.As. On 3/17/06, Fenlason, Josh <[EMAIL PROTECTED]> wrote: > > What platform are you on? What version of Tomcat are you using? Are you > sure

Re: Tomcat clustering

2006-03-17 Thread Filip Hanik - Dev Lists
Yes it will work (technically it is feasible), with several caveats, namely, multicast is typically not enabled on WANs yeah, I would say feasible, but unless you can talk to every ISP in the chain between point A and point B and convince them to pass your mutlicast along, then you're pretty m

SOAP reverse-engineering tool?

2006-03-17 Thread David Kerber
Does anybody know of a tool to help me reverse-engineer a SOAP request? We have a SOAP service and client which are both implemented in Delphi, and the server is not scaling well. I'm a newbie to SOAP, and I'm trying to make a compatible service to run under Tomcat, but haven't been able to g

RE: Problem Starting Tomcat

2006-03-17 Thread Neil Sherman
Marco, This sounds as if Tomcat is attempting to bind to a port that is already in use. You should check your server.xml file to see which ports Tomcat is attempting to bind too, you can then check to see if this port is already in use by running: Netstat -a Has this setup worked previously ?

RE: Problem Starting Tomcat

2006-03-17 Thread Fenlason, Josh
What platform are you on? What version of Tomcat are you using? Are you sure nothing else is already using 8005? , Josh. > -Original Message- > From: Marco Aurélio Seraphim da Silva > [mailto:[EMAIL PROTECTED] > Sent: Friday, March 17, 2006 9:04 AM > To: users@tomcat.apache.org > Subj

Problem Starting Tomcat

2006-03-17 Thread Marco Aurélio Seraphim da Silva
When I Start tomcat i got this error: StandardServer.await: create[8005]: java.net.BindException: Address already in use: JVM_Bind java.net.BindException: Address already in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) ... Someone why are this hapenn

Mod JK Connector Error Codes ?

2006-03-17 Thread Neil Sherman
I have Apache(2.0.55) and Tomcat (5.5.12) connected via the Mod JK (1.2.15) connector, setup and running on a Linux RedHat Enterprise Edition. On startup of Apache I get the following error in my Mod_JK.log file: [Fri Mar 17 13:51:46 2006] [error] init_jk::mod_jk.c (2370): Initializing shm:"var/w

AW: AW: getting error with native library under Sun Solaris

2006-03-17 Thread Stephan Faust
Thank you very much! I shortly tested the file and I didn't get this error again. Regards, Stephan -Ursprüngliche Nachricht- Von: Mladen Turk [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 17. März 2006 15:21 An: Tomcat Users List Cc: Stephan Faust Betreff: Re: AW: getting error with na

Re: keeping same session via apache2 mod_jk2 and tomcat5

2006-03-17 Thread Steve Ochani
Hi, On 17 Mar 2006 at 12:35, Vahid Hedayati wrote: > Hi All. > > Have been looking for a few days now for a fix for this one issue that > I just cannot get around.. > > Basically > > If I run > http://www.greenlightproductions.co.uk/servlets/SessionExample > > The session ID keeps changing i

Re: AW: getting error with native library under Sun Solaris

2006-03-17 Thread Mladen Turk
Stephan Faust wrote: Hi! Sorry, but the error is still in tomcat 5.5.16 and tomcat-native 1.1.2. Right. I committed the fix yesterday. See: http://cvs.apache.org/viewcvs.cgi?rev=386278&view=rev Just wondering, since you have TC 5.5.16 and native 1.1.2 will you be willing to check the most re

RE: Tomcat clustering

2006-03-17 Thread Tim Lucia
So, wouldn't the answer really be Yes it will work (technically it is feasible), with several caveats, namely, multicast is typically not enabled on WANs, and the transmission protocol for replication is not secure. It boils down to a network problem - and if you had a secure VPN over WAN which w

AW: getting error with native library under Sun Solaris

2006-03-17 Thread Stephan Faust
Hi! Sorry, but the error is still in tomcat 5.5.16 and tomcat-native 1.1.2. Regards, Stephan -Ursprüngliche Nachricht- Von: Mladen Turk [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 17. März 2006 14:17 An: Tomcat Users List Betreff: Re: getting error with native library under Sun Solaris

Re: getting error with native library under Sun Solaris

2006-03-17 Thread Mladen Turk
Stephan Faust wrote: Hi! I use Tomcat 5.5.15 on Sun Solaris 10 with tomcat native library. Address ist already in use... This was fixed with 5.5.16, so use the 5.5.16 and tomcat-native 1.1.2 Regards, Mladen. - To unsubs

Re: Tomcat clustering

2006-03-17 Thread Filip Hanik - Dev Lists
actually, the answer is no, even if you enable multicast over WAN, you are dealing with some serious security issues, cause the the transmission of the data is not encrypted and you are facing a serious liability. For TC6 we have separated out the comm protocol from the replication logic, and W

getting error with native library under Sun Solaris

2006-03-17 Thread Stephan Faust
Hi! I use Tomcat 5.5.15 on Sun Solaris 10 with tomcat native library. Everthing is compiled in 64 bit (sparcv9). If I start tomcat, I'll this error: SCHWERWIEGEND: Error initializing endpoint java.lang.Exception: Socket bind failed: Adresse wird bereits benutzt at org.apache.tomcat.util.net.Ap

SSL/CGI variables question

2006-03-17 Thread Stefan Zasada
Apologies if this has been asked before: I'm trying to run a perl cgi script in a standalone tomcat container with ssl turned on. With the script running under apache, an environment variable (SSL_CLIENT_S_DN) is set with the DN from the connecting client's certificate. Is is possible to pick up

keeping same session via apache2 mod_jk2 and tomcat5

2006-03-17 Thread Vahid Hedayati
Hi All. Have been looking for a few days now for a fix for this one issue that I just cannot get around.. Basically If I run http://www.greenlightproductions.co.uk/servlets/SessionExample The session ID keeps changing if you refresh the page (same goes for all other servlet code I been using

Re: Deadlock -> Out of Threads -> Strange Exception -> OutOfMemory -> Server Death. Bug in org.apache.naming.resources.ProxyDirContext.cacheLoad?

2006-03-17 Thread Leon Rosenberg
This is called thread hi-jacking :-) However, without knowing anything about your jdo implementation I can't say if org.jpox.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:645) - waiting to lock <0x5b775de0> (a and TP-Processor17" daemon prio=1

Re: Dynamic roles web.xml

2006-03-17 Thread Alessandro Colantoni
On 3/17/06, Mark Lowe <[EMAIL PROTECTED]> wrote: >Hang on!!! You've an admin form where you have dynamic roles, right? >And you've no means of knowing what these will be.. And what they are >denying access to.. Doing this with your proposed taglib wont help >solve this.. Your tag or jsp bean is goi

Re: Dynamic roles web.xml

2006-03-17 Thread Mark Lowe
On 3/17/06, Alessandro Colantoni <[EMAIL PROTECTED]> wrote: > Hi! again!! > Of course I'm Italian, but at moment I'm living in Spain for work, so just > the same continent .! > At the end I will choose the jsp solution with taglib (I'm gonna write my > permission taglib now!) 'cause reference pages

Re: Dynamic roles web.xml

2006-03-17 Thread Alessandro Colantoni
Hi! again!! Of course I'm Italian, but at moment I'm living in Spain for work, so just the same continent .! At the end I will choose the jsp solution with taglib (I'm gonna write my permission taglib now!) 'cause reference pages in database can be too much work and in some case I have permissions

Re: Dynamic roles web.xml

2006-03-17 Thread Mark Lowe
On 3/17/06, Mark Lowe <[EMAIL PROTECTED]> wrote: > On 3/17/06, Alessandro Colantoni <[EMAIL PROTECTED]> wrote: > > Hi! and good morning (but probably we 're on different continents) Assiming you're in italy, we're in the same country.. > > > > I don't undertand the last pos where you say. > > >I

Re: Dynamic roles web.xml

2006-03-17 Thread Mark Lowe
On 3/17/06, Alessandro Colantoni <[EMAIL PROTECTED]> wrote: > Hi! and good morning (but probably we 're on different continents) > > I don't undertand the last pos where you say. > >I had the impression he already had.. I don't get how posting this > >helps, i must have misunderstood something.. Ca

Re: Upgrade problem to Tomcat 5.5.16, login with Realm fails

2006-03-17 Thread Joacim Turesson
Thank you for the help! The problem was that I was using '*' as role name in web.xml, as you probobly guessed. Best Regards Joacim Turesson Velpi wrote: I'm currently running my webapplication using Tomcat 5.5.12 and it works great. When I upgrade to Tomcat 5.5.16 I'm no longer able to lo

Re: How to retrieve an user Principal?

2006-03-17 Thread Tremal Naik
2006/3/17, Mladen Turk <[EMAIL PROTECTED]>: > Go and troll somewhere else. sorry, I thought you where pissing on me. I didn't understand your real intentions. I will manage the request to get what I'm looking for. Thanks, -- TREMALNAIK ---

Re: How to retrieve an user Principal?

2006-03-17 Thread Mladen Turk
Tremal Naik wrote: 2006/3/16, Mladen Turk <[EMAIL PROTECTED]>: Yes. Servlet spec 2.4 Thank you very much. Persons like you make me loosing faith in the Open Source. I think I'll call the guys at IBM... Go and troll somewhere else. I told you that JBoss uses thread local storage. 1. Request

Re: How to retrieve an user Principal?

2006-03-17 Thread Tremal Naik
2006/3/16, Mladen Turk <[EMAIL PROTECTED]>: > Yes. Servlet spec 2.4 Thank you very much. Persons like you make me loosing faith in the Open Source. I think I'll call the guys at IBM... -- TREMALNAIK - To unsubscribe, e-mail: [EM

Re: mod_jk missing UTF-8 query (GET)

2006-03-17 Thread hui
it should be: UTF-8%E4%BD%A0%E5%A5%BD你好. == with the query: http://www.nxnx.net:8080/nxnx/mix/%E4%BD%A0%E5%A5%BD but through mod_jk i can only get: === UTF-8 T__T

Re: Tomcat 5.0.28 Clustering and Load Balancing

2006-03-17 Thread Peter Rossbach
Many thanks! But the current tomcat 5.5 documentation find here http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html I thing it exists many good reasons to migrate from 5.0 to tomcat 5.5.16 if really using clustering today :-) Regards Peter Am 16.03.2006 um 21:51 schrieb Filip Hanik - D

mod_jk missing UTF-8 query (GET)

2006-03-17 Thread hui
look at this: http://www.nxnx.net/mix/%E4%BD%A0%E5%A5%BD and http://www.nxnx.net:8080/nxnx/mix/%E4%BD%A0%E5%A5%BD tomcat standalone is fine, but through mod_jk, it seems missing the UTF-8 param, I tried: = not working, also added: J

Re: Tomcat clustering

2006-03-17 Thread Peter Rossbach
Yes and no! Speak with your network admin that the multicast send to other global machine. Not working over normal internet ways! I thing clustering is made for local network failover. What you need are cluster domains. Gropus of clusters with a separate loadbalancer to route request over

Re: Tomcat cluster and redirecting to the same address

2006-03-17 Thread Peter Rossbach
We mark all SessionID with a node marker! Setup with The mod_jk or mod_proxy_ajp make then the correct routing. The algo extract the worker name from cookie or url rewrite parameter jsessionid. Read Cluster Doc and mod:jk doc http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html

Re: Dynamic roles web.xml

2006-03-17 Thread Alessandro Colantoni
Hi! and good morning (but probably we 're on different continents) I don't undertand the last pos where you say. >I had the impression he already had.. I don't get how posting this >helps, i must have misunderstood something.. Can you explain please? Anyway thanks for accurate explication. I'll g