Recommended Specs for Oracle 10g db server

2006-03-24 Thread Mohan Wickramasinghe
We have 12 jboss nodes using a single oracle 10g db server with following specs... 4GB RAM Dual CPU HT 3.2GHz Intel RHEL 4 smp We see load average going to 10 on a very regular basis and 30-90 during peak hours and see the database as the bottleneck to our application performance. We also had is

Re: mod_jk failover loadbalancing doesn't recognize hung tomcat

2006-03-24 Thread Mohan2005
hi we has similar issue we did not mess with prepost values but changed locking method to pesimistic, and set socket_timeout to 60sec, recycle_time to 600sec and reply_timeout to 18(ms) these were recommended by Mladen Turk and now Busy connections are distributed among all nodes equally. -

unable to find package

2006-03-24 Thread Prashant Saraf
Hello all, I have a Apache web server Install on my server with jk_mod my web application give following error java.lang.NoClassDefFoundError: Publish/Connect (wrong name: Publish/Publish/Connect) I had a package call Publish which is jar file , i coppied that file in mywebapp/WEB-IN/lib and WEB-IN

Re: how to get value of

2006-03-24 Thread Prashant Saraf
ok thanks On 3/24/06, Alexander Panzhin <[EMAIL PROTECTED]> wrote: > > But note that it returns an array. > > Hi > > > > use > > > > request.getParameterValues(String paramName) > > > > HTH > > Vinu > > > > Prashant Saraf wrote: > > > >> Hello all, > >> can some one tell me how to get value of if

Re: SSL incoming request filtering (before authentification via client cert)

2006-03-24 Thread Bill Barker
"Alexander Panzhin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Is there any way to control the client certificate authentication? > That is I would like to have the certs in some other repository than > tomcat's default(java keystore). truststoreFile="/path/to/my/trusted/ca/ke

Re: Tomcat and FileUpload, is upload cached before FileUpload parses it?

2006-03-24 Thread Bill Barker
"Nick Didkovsky" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello > > After posting this question to the Commons mailing list, I have been > advised to "ask the tomcat folks." > > I am using Commons FileUpload 1.1 to manage HTTP POST uploads with Tomcat > running as a JkMoun

Re: Problems with Tomcat and mod_proxy_ajp

2006-03-24 Thread Bill Barker
"Debra Bartling" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'm having problems with Tomcat 5.5.x, Apache 2.2.0, and mod_proxy_ajp and > resources that are protected with a security-constraint. (This is after > updating from Apache 2.0.54, Tomcat 5.0.27, and mod_jk2, where th

Re: BrowserMatch in Tomcat 5.5 +APR

2006-03-24 Thread Bill Barker
What is available is restrictedUserAgents="" (which forces all connections from those browsers to assume HTTP/1.0, which in particular, disables keep-alive), and noCompressionUserAgents="" which will disable compression for those browsers. "Josh Colbeck" <[EMAIL PROTECTED]> wrote in message n

Re: SocketException: socket write error on 101st POST on Tomcat 5.5.16

2006-03-24 Thread Bill Barker
By default, the HTTP/1.1 Connector only allows 100 keep-alive requests on a single Socket connection. You can set maxKeepAliveRequests="-1" to allow an arbitrary number of keep-alive requests, or any positive value to stop it at that many. Of course, for the robustness of your application, you

SocketException: socket write error on 101st POST on Tomcat 5.5.16

2006-03-24 Thread Mohanty, Aseem
Hi All, I am in a bit of a fix following an upgrade to Java 5.0 update 6 and Tomcat 5.5.16. One of the tasks that our application does is to send out a serialized object to a servlet, which then populates it and sends it back. The communication from the client side is maintained via a raw socket (

Re: system.out

2006-03-24 Thread Martin Gainty
http://logging.apache.org/log4j/docs/download.html - Original Message - From: "Gilbert, Antoine" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Friday, March 24, 2006 2:51 PM Subject: system.out How to redirect system.out and system.err to a file to a specific location and with a

Web Application doesn't recognize domains using tomcat

2006-03-24 Thread Benitez Badillo, Leticia
Hi! I working with tomcat 5.5.9, I have a domain name 'www.myproject.com ' , an I can get into the server using it, but once I try to navigate inside the application I need to use IP direction. The domain is on the dns server. I'm using jre1.5.0_04

Re: Tomcat 5.5.16 Virtual Hosting Bug ?

2006-03-24 Thread Parsons Technical Services
Since no one has tackled this yet, I will give you my take on it. I think that you have an issue in using the same domain name on the virtual host. What you may want to do is try it with two different domain names. test1.myserver1.com test2.myserver2.com See if you get the same results. If ye

RE: [5.5] path specified in context.xml not being used

2006-03-24 Thread Wang, Hansen
The path is ignored when you deploy webapps this way. Tomcat will use the basename of the war file as the context path. If you want to use something different than that, you can create a context.xml and put in under the virtual host's conf direction (e.g. CATALINA_HOME/conf/Catalina/localhost). In

Setting the context path for expanded WARs

2006-03-24 Thread Chris Lee
Trying to figure out how to change the context path for a WAR file install in the webapps dir (Tomcat 5.5.16); for example: webapps/foo-1.2.0.war ...is expanded into a folder of the same name (minus the .war). So far, so good - this is as expected. However, the context path is now set to /foo-

Re: Tomcat 5.5.16 Bug? messes up when a class has the same name as a package

2006-03-24 Thread Mark Thomas
Paul Hamer wrote: > Hi Shankar and others, > > I've filed it in Bugzilla... it has become Bug 39093. The test case you provided made it very easy to check this and the bug is not valid. The test case works fine for me with 5.5.15 and the current HEAD. My environment is not identical but close eno

BrowserMatch in Tomcat 5.5 +APR

2006-03-24 Thread Josh Colbeck
I'm looking for a way to duplicate the Apache BrowserMatch while only running Tomcat and APR. I'd like the server to check which browser is connecting and adjust some setting, like nokeepalive, base on that. Does anyone know how to do this, I have been unable to find any leads? Thanks

Problems with Tomcat and mod_proxy_ajp

2006-03-24 Thread Debra Bartling
I'm having problems with Tomcat 5.5.x, Apache 2.2.0, and mod_proxy_ajp and resources that are protected with a security-constraint. (This is after updating from Apache 2.0.54, Tomcat 5.0.27, and mod_jk2, where the same configuration worked fine.) The issues are different depending on the versi

[5.5] path specified in context.xml not being used

2006-03-24 Thread Kris Nuttycombe
Hi, all, Hopefully a pretty simple question: I am attempting to deploy a warfile with an embedded META-INF/context.xml. The contents of the context.xml file looks like this: ... The warfile is named idb-0.8.2-SNAPSHOT.war Everything is working fine EXCEPT that the context path that it is dep

Re: system.out

2006-03-24 Thread Nic Daniau
That's a parameter of the Tomcat launcher, or the service on Windows. If you use the monitor (tomcat5w) you can configure this on one of the tabs. or you can use tomcat5 //US//Tomcat5 --StdOutput "..." --StdError "..." http://tomcat.apache.org/tomcat-5.5-doc/setup.html On 24/03/06, Gilbert, Anto

system.out

2006-03-24 Thread Gilbert, Antoine
How to redirect system.out and system.err to a file to a specific location and with a specific name ?

Apache binding url to servlet

2006-03-24 Thread Терехов Кирилл Алек сандрович
Hi, I created my site in tomcat context /xxx/* Now I want to bind this context to URL www.mysite.com/ in apache How can I do this? Apache directive JkMount /xxx/* ajp13 not working properly. Thanks! - To unsubscribe, e-mail: [EM

Re: Building mod_jk.so on AIX

2006-03-24 Thread Bernie Durfee
I wasn't aware of it. I'm going to rebuild Apache with it enabled to try it out, thanks. Bernie Fenlason, Josh wrote: This doesn't answer your question, but is there a specific reason you don't just user mod_proxy_ajp with Apache 2.2.0? You wouldn't have to build mod_jk then. , Josh. -

Tomcat and FileUpload, is upload cached before FileUpload parses it?

2006-03-24 Thread Nick Didkovsky
Hello After posting this question to the Commons mailing list, I have been advised to "ask the tomcat folks." I am using Commons FileUpload 1.1 to manage HTTP POST uploads with Tomcat running as a JkMount'ed service of Apache I am trying to analyze the strain on memory when many large fil

Re: Classloader question

2006-03-24 Thread Boris Unckel
Hello, Fran Varin wrote: The beauty of our WAS solution is that we can hot deploy various pieces like the jars without having to do anything with the WARs and since we do not have the jars contained in each WAR it makes maintenance much simpler. Depending on the application, this approach makes a

RE: Building mod_jk.so on AIX

2006-03-24 Thread Fenlason, Josh
This doesn't answer your question, but is there a specific reason you don't just user mod_proxy_ajp with Apache 2.2.0? You wouldn't have to build mod_jk then. , Josh. > -Original Message- > From: Bernie Durfee [mailto:[EMAIL PROTECTED] > Sent: Friday, March 24, 2006 12:41 PM > To: Tomca

Building mod_jk.so on AIX

2006-03-24 Thread Bernie Durfee
I'm trying to build mod_jk.so on an AIX 5.3 server. I compiled and installed Apache 2.2.0. I run... ./configure --with-apxs=/usr/local/apache-2.2.0/bin/apxs ...but it fails with the error... could not find /usr/local/apache-2.2.0/bin/apxs configure: error: You must specify a valid --with-apxs

Re: AJP connector required?

2006-03-24 Thread David Kerber
Thanks. Allistair Crossley wrote: no -Original Message- From: David Kerber [mailto:[EMAIL PROTECTED] Sent: 24 March 2006 15:43 To: Tomcat Users List Subject: AJP connector required? If I'm not using the apache HTTPD in front of tomcat, do I need the ajp connector activated in the s

Re: SSL incoming request filtering (before authentification via client cert)

2006-03-24 Thread Mark Thomas
Alexander Panzhin wrote: > Is there any way to control the client certificate authentication? > That is I would like to have the certs in some other repository than > tomcat's default(java keystore). > And I need the users to authenticate with their certs. > So is there a way to filter a connector?

Re: Classloader question

2006-03-24 Thread Fran Varin
The beauty of our WAS solution is that we can hot deploy various pieces like the jars without having to do anything with the WARs and since we do not have the jars contained in each WAR it makes maintenance much simpler. Depending on the application, this approach makes a lot of sense. We do use A

Re: running two instances of tomcat

2006-03-24 Thread Jim the Standing Bear
Hello Nic, and Thomas, Thank you for taking the time and give out the detailed instructions on how to run two instances of tomcat 5.5 on windows. In the future we will most likely to use a few windows boxes and your instructions will certainly be of great value. Currently, our development platfor

Re: Classloader question

2006-03-24 Thread Reinhard Moosauer
Hi, this sounds like "repackage" would be a huge job. If yes, I would suggest: learn ant If not: You have to reload the apps anyway. So what do you achieve? just my 2 cents. R. Am Freitag, 24. März 2006 16:19 schrieb Fran Varin: > Yes, that is the exact situation we are attempting to avoid in T

Tomcat 5.5.16 Virtual Hosting Bug ?

2006-03-24 Thread Vamsidhar
Hi all: This is third time I am posting the same question. I tried everything I could, including re-installing Tomcat from scratch. But, the problem still remains. Please help !! I am using Tomcat 5.5.16 (stand-alone) with JDK 5.0 on Windows XP and trying to setup virtual hosting (to start with t

Re: Classloader question

2006-03-24 Thread Fran Varin
I tend to agree with your postion. I'm not sure that Tomcat will see the native Windows shortcut. I'll see if we can figure out how to do it. If you have any ideas I'm all ears. It sure would be nice if Tomcat had the ability to have the shared lib see down the hierarchy or be able to put jars so

Re: Classloader question

2006-03-24 Thread Mike Sabroff
I run cygwin (a linux like application/environment) on my windows box at home. When I create a symbolic link in that system and look at it frm the windows side of it, it IS a shortcut. try itI think it may work, but I am not sure that tomcat will see it as cygwin does. Curious. Fran

Connection Pool Woes

2006-03-24 Thread J.Talarczyk
Configuration: - Tomcat (1) 5.0.27 in dmz - Tomcat (2) 5.0.27 inside domain - Using JayBird DB Driver - IIS 6 - Interbase 7.5 DB server inside domain Tomcat (1) is currently having some serious issues with pooled connections to the db server. These applicaitons h

Re: Classloader question

2006-03-24 Thread Fran Varin
...as in Windows shortcut...I'll have to look into that possibility. -- View this message in context: http://www.nabble.com/Classloader-question-t1332679.html#a3573968 Sent from the Tomcat - User forum at Nabble.com. - To unsu

Re: mod_jk failover loadbalancing doesn't recognize hung tomcat

2006-03-24 Thread Vidya TR
The directive : disabled - If set to True or 1 the worker will be disabled if member of load balancer. This flag can be changed at runtime using status worker. Can I change the disabled property at runtime and will the loadbalancer be able to read this? I tried changing it in worker.properties

Re: Classloader question

2006-03-24 Thread Mike Sabroff
SHORTCUT! Fran Varin wrote: aah...now I understand the reason it sounded foreign to me. We are a Windows shop so, I'm not sure we have the same capability. -- View this message in context: http://www.nabble.com/Classloader-question-t1332679.html#a3573581 Sent from the Tomcat - User forum at N

Re: Classloader question

2006-03-24 Thread Fran Varin
aah...now I understand the reason it sounded foreign to me. We are a Windows shop so, I'm not sure we have the same capability. -- View this message in context: http://www.nabble.com/Classloader-question-t1332679.html#a3573581 Sent from the Tomcat - User forum at Nabble.com. --

RE: AJP connector required?

2006-03-24 Thread Allistair Crossley
no -Original Message- From: David Kerber [mailto:[EMAIL PROTECTED] Sent: 24 March 2006 15:43 To: Tomcat Users List Subject: AJP connector required? If I'm not using the apache HTTPD in front of tomcat, do I need the ajp connector activated in the server.xml? Dave ---

Re: Classloader question

2006-03-24 Thread Boris Unckel
Hi, > Von: Fran Varin <[EMAIL PROTECTED]> > This approach sounds promising...would you mind elaborating just a little > on > what you're thinking? I'm not sure I follow when you mention using a > symbolic link into WEB-INF/lib. it would require UNIX or LINUX system. A simple symbolic link: ln -s /

AJP connector required?

2006-03-24 Thread David Kerber
If I'm not using the apache HTTPD in front of tomcat, do I need the ajp connector activated in the server.xml? Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Classloader question

2006-03-24 Thread Fran Varin
This approach sounds promising...would you mind elaborating just a little on what you're thinking? I'm not sure I follow when you mention using a symbolic link into WEB-INF/lib. -- View this message in context: http://www.nabble.com/Classloader-question-t1332679.html#a3573086 Sent from the Tomca

RE: Classloader question

2006-03-24 Thread Fran Varin
Yes, that is the exact situation we are attempting to avoid in Tomcat. In our WSA implementation we can simply replace the effected JARS in one location and it is implemented against all WARs running in that server's context. In the illustration you provided below we would need to repackage, or at

RE: running two instances of tomcat

2006-03-24 Thread Thomas Bolding
There might definetely be an easier way but I did just that: i) installed the exe ii) unzipped a number of Tomcat into other folders iii) copied exe and dll into those folders iv) modified ports for the zipped versions of server.xml and ran "service install ..." The original exe you can either re

Re: running two instances of tomcat

2006-03-24 Thread David Rush
I'm confused. I first installed 5.5.15 using the exe (testing on a WinXP machine right now), and got it working. But to run multiple instances, it looks as though I need the service.bat script, which is not included in the .exe. So I de-installed Tomcat, downloaded the .zip, and expanded it

Accessing Roles from the Principle

2006-03-24 Thread Allistair Crossley
Hi All, Whilst I await *hopefully* a reply to my last post on why the data source realm does not operate correctly, I am using the standard user database that ships with TC to move on, but damn, I'm bloody stuck again! I would like to obtain a reference to the various role names that the princi

Re: Classloader question

2006-03-24 Thread David Smith
Boris Unckel wrote: Hello, Von: Fran Varin <[EMAIL PROTECTED]> Yes, quite correct on your statement regarding using "Application" as the definition. The essence of what we are looking for is a similar behavior with Tomcat. Our over arching goal is to minimize or eliminate the need to have j

RE: Classloader question

2006-03-24 Thread Caldarale, Charles R
> From: Boris Unckel [mailto:[EMAIL PROTECTED] > Subject: Re: Classloader question > > To the mailing-list: If you have an library which has not > the explicit recommendation to put it in common/shared lib > path (i.E. a special JDBC driver where the vendor recommends > one to put it into shared

Re: Classloader question

2006-03-24 Thread Boris Unckel
Hello Dave, > Von: David Kerber <[EMAIL PROTECTED]> > I understand the arguments on both sides, but tend to prefer the ease of > maintenance of what you call "the single point of change in > shared/lib". Is it possible to make this configurable, so both sides > can be happy? Or is that too com

RE: Run Tomcat in W2k3 as service

2006-03-24 Thread Thomas Bolding
Oups in case you're running a script to start Tomcat you may use for instance (taken from my TC4 script): set JAVA_HOME=C:\App\Java\jdk1.4.2_05 set CATALINA_HOME=C:\App\Tomcat4 set CATALINA_OPTS=-server -Xms512m -Xmx1024m -XX:NewSize=64m -XX:MaxNewSize=64m -XX:MaxPermSize=128m -Xss128k -XX:+UseC

Re: Tomcat, Security and RMI

2006-03-24 Thread Markus Schönhaber
Gary Pennington wrote: > On Fri, Mar 24, 2006 at 01:10:40PM +0100, Markus Schönhaber wrote: > > I don't have much experience regarding RMI so I won't be of much help if > > it's a RMI-specific problem. But two points come to my mind: > > 1. You did make sure everything works as expected if you star

RE: Run Tomcat in W2k3 as service

2006-03-24 Thread Thomas Bolding
Yes indeed and its quite easy! If you're running it as a service (either installed the exe or ran the "service install ..." from the zip version) you will have a [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Procrun 2.0\Tomcat5\Parameters] in your registry (where Tomcat5 is the name give

Re: Classloader question

2006-03-24 Thread David Kerber
Boris Unckel wrote: ... To the mailing-list: If you have an library which has not the explicit recommendation to put it in common/shared lib path (i.E. a special JDBC driver where the vendor recommends one to put it into shared) what do you prefer - the single point of change in shared or the i

RE: Run Tomcat in W2k3 as service

2006-03-24 Thread Ryan Daly
On Fri, 2006-03-24 at 08:27 -0600, Benjamin Armintor wrote: > I'm not sure about Windows services specifically, but you can start the > JVM with a security manager generically by using the > "-Djava.security.manager" and "-Djava.security.policy= URL>" java startup options. You can append these to

Re: Tomcat, Security and RMI

2006-03-24 Thread Gary Pennington
On Fri, Mar 24, 2006 at 01:10:40PM +0100, Markus Sch?nhaber wrote: > Gary Pennington wrote: > > If I invoke Tomcat with the following additional options, I can make my > > servlet/RMI client deploy: > > > > -Djava.rmi.server.codebase="http://webserver/builds2/garypen/jars/jscmc.jar > > http://webse

SSL incoming request filtering (before authentification via client cert)

2006-03-24 Thread Alexander Panzhin
Is there any way to control the client certificate authentication? That is I would like to have the certs in some other repository than tomcat's default(java keystore). And I need the users to authenticate with their certs. So is there a way to filter a connector? Or any other way to get the cert

SSL incoming request filtering (before authentification via client cert)

2006-03-24 Thread Alexander Panzhin
Is there any way to control the client certificate authentication? That is I would like to have the certs in some other repository than tomcat's default(java keystore). And I need the users to authenticate with their certs. So is there a way to filter a connector? Or any other way to get the cer

Re: Classloader question

2006-03-24 Thread Boris Unckel
Hello, > Von: Fran Varin <[EMAIL PROTECTED]> > Yes, quite correct on your statement regarding using "Application" as the > definition. The essence of what we are looking for is a similar behavior > with Tomcat. Our over arching goal is to minimize or eliminate the need > to have jars that are to b

RE: Run Tomcat in W2k3 as service

2006-03-24 Thread Benjamin Armintor
I'm not sure about Windows services specifically, but you can start the JVM with a security manager generically by using the "-Djava.security.manager" and "-Djava.security.policy=" java startup options. You can append these to $JAVA_OPTS on Unix systems to get a security manager (it's effectively

Re: how to get value of

2006-03-24 Thread Alexander Panzhin
But note that it returns an array. Hi use request.getParameterValues(String paramName) HTH Vinu Prashant Saraf wrote: Hello all, can some one tell me how to get value of if it is multipal selected. like this -- Cup of Java + Suger of XML = Secure WebApp -- Su pagarba, Ale

Tomcat session handling

2006-03-24 Thread George Azzopardi
Hi people, I have two web applications (appA and appB) running on Tomcat 5.0.28. appA is a single signon web application in which the user is automatically authenticated against the domain using NTLM. From this application the user clicks on a link in order to enter to appB. Today I came across a

Re: Run Tomcat in W2k3 as service

2006-03-24 Thread Ryan Daly
On Fri, 2006-03-24 at 08:58 -0500, Ryan Daly wrote: > I have an opportunity to take the site down in a few minutes. I'll > quickly try setting that and post what I find. No good. If anyone comes across the proper options to do this, please post it to the list. Thanks. -

RE: Increasing Tomcat/Java memory

2006-03-24 Thread Caldarale, Charles R
> From: David Delbecq [mailto:[EMAIL PROTECTED] > Subject: Re: Increasing Tomcat/Java memory > 4) More funny, a java.lang.OutOfMemoryError can also occur > when you run out of process threads An OOME is really a catch-all for exhaustion of any system resource. One other common cause is running

Re: Run Tomcat in W2k3 as service

2006-03-24 Thread Ryan Daly
On Fri, 2006-03-24 at 13:55 +, Nic Daniau wrote: > Not sure, TFM is a bit vague on this, it does not talk of the windows > service. This must be one of the options, but which one?... StartMode? > JvmOptions? > > I've never really spent a lot of time on the security manager, but I'm > definiti

Re: Tomcat 5.5.16 Bug? messes up when a class has the same name as a package

2006-03-24 Thread Ronald Klop
What OS are you running on? Windows for example is not case-sensitive in file names. Ronald. On Thu Mar 23 13:59:23 CET 2006 Tomcat Users List wrote: Hi, I just updated to Tomcat 5.5.16 about 2 days after it was released. Yesterday I walked into what seems to be a bug. I'm not sure wheth

Re: Run Tomcat in W2k3 as service

2006-03-24 Thread Ryan Daly
On Fri, 2006-03-24 at 13:38 +, Nic Daniau wrote: > I wouldn't think so, these options are called when the service is > launched so you would have to restart the service for this to be > picked up. Right, I understand that I'll have to restart the service. But is that the way to get the servic

Re: Run Tomcat in W2k3 as service

2006-03-24 Thread Nic Daniau
I wouldn't think so, these options are called when the service is launched so you would have to restart the service for this to be picked up. On 24/03/06, Ryan Daly <[EMAIL PROTECTED]> wrote: > > On Thu, 2006-03-23 at 20:51 +, Nic Daniau wrote: > > You may need to reconfigure the service. Have

Re: Run Tomcat in W2k3 as service

2006-03-24 Thread Ryan Daly
On Thu, 2006-03-23 at 20:51 +, Nic Daniau wrote: > You may need to reconfigure the service. Have a look to my post from a few > min ago on "*running two instances of tomcat*" > > you can also update the service using e.g. > > %CATALINA_HOME%\bin\tomcat5.exe //US//Tomcat5 --Description "My upd

Re: how to get value of

2006-03-24 Thread Vinu Varghese
Hi use request.getParameterValues(String paramName) HTH Vinu Prashant Saraf wrote: Hello all, can some one tell me how to get value of if it is multipal selected. like this -- Cup of Java + Suger of XML = Secure WebApp -- Vinu Varghese [EMAI

Re: Classloader question

2006-03-24 Thread Fran Varin
Yes, quite correct on your statement regarding using "Application" as the definition. The essence of what we are looking for is a similar behavior with Tomcat. Our over arching goal is to minimize or eliminate the need to have jars that are to be shared by more than one applicaiton (WAR) be copied

how to get value of

2006-03-24 Thread Prashant Saraf
Hello all, can some one tell me how to get value of if it is multipal selected. like this -- Cup of Java + Suger of XML = Secure WebApp

Re: Tomcat, Security and RMI

2006-03-24 Thread Markus Schönhaber
Gary Pennington wrote: > If I invoke Tomcat with the following additional options, I can make my > servlet/RMI client deploy: > > -Djava.rmi.server.codebase="http://webserver/builds2/garypen/jars/jscmc.jar > http://webserver/builds2/garypen/jars/jscma.jar"; > > The application executes fine until i

Tomcat 5.5 DataSourceRealm

2006-03-24 Thread Allistair Crossley
Hi All, I've failed miserably in configuring a DataSourceRealm for a web application. I've scoured Google (50/50), mailing list archives (ask a friend), and not to much avail. I've also liased with the Tomcat 5.5 documentation as far as I can tell. So I turn to "ask the audience" ;) I am using t

Tomcat, Security and RMI

2006-03-24 Thread Gary Pennington
Hi, Environment: OS: Solaris 10 on client and server Java: java full version "1.5.0_06-b04" Tomcat: 5.5.15 I'm trying make one of my servlets act as an RMI client with an RMI server running on a different host. I have a problem though and I can't seem to make much progress, so maybe someone can

Re: Check if file exists in WEB-INF folder

2006-03-24 Thread Hadraba Petr
Hello, be careful using filesystem directly. This piece of code will not work if the unpackWARs="no". Use getServletContext().getResource("/WEB-INF/jsp/test.jsp") == null instead. This will work for both options: for unpacked WARs and "packed" WARs. PETR On 3/23/06, Rapthor <[EMAIL PROTECTED]>

Tuning tomcat : Modifing apache config : RedirectMacth directive

2006-03-24 Thread Sanjay Saha
Hi List, I have a specific question about apache _expression matching. I have a apache tomcat server setup . While tuning tomcat i needed to achieve some tweaking to the apache _expression matching , or atleast that i felt . The site have all incoming urls (www.subdomain.domain.com type) are r

Re: return (HexUtils.convert(md.digest())) in RealmBase

2006-03-24 Thread Alessandro Colantoni
I solved the last problem passing to tomcat 5.5.16 . At the end everything work as i desired (well i didn't do many tests so that's what I hope). Thanks your help and your patience Alessandro On 3/24/06, Alessandro Colantoni <[EMAIL PROTECTED]> wrote: > > Hi! > One day after i understood what

Re: Custom realm extending JDBCRealm

2006-03-24 Thread Alessandro Colantoni
HI!! Just solved. I was using tomcat 5.5.0. I was looking at sources of 5.5.16. I suppose that the authenticate method of 5.5.0 doesn't use getPassord method. I tried it in 5.5.16 and everything works fine Thanks for attention Alessandro On 3/24/06, Alessandro Colantoni <[EMAIL PROTECTED]> wrote:

Re: Increasing Tomcat/Java memory

2006-03-24 Thread Harald Henkel
Thanks a lot for your reply. I set the values directly in my registry, restarted Tomcat and voilá: runtime.totalMemory now gives the increased -Xms value after startup. With kind regards, Harald Henkel Jost Richstein schrieb: These settings are stored in the r egistry if you are running Tomcat

Re: Increasing Tomcat/Java memory

2006-03-24 Thread David Delbecq
Harald Henkel a écrit : > Hello everybody. > > How can I increase the memory Tomcat/Java is using? > > I tried setting CATALINA_OPTS with -server -Xms256m -Xmx512m > but runtime.totalMemory always seems to return a value around 60MB. > that mean the java machine did not require more. the 512M is r

Re: Increasing Tomcat/Java memory

2006-03-24 Thread Jost Richstein
These settings are stored in the r egistry if you are running Tomcat as windows service. Usually you have a small applet installed that allows you to edit the setttings. If do not see the applet, try to execute \bin\tomcat5w.exe" //ES//TomcatServiceName where "TomcatServiceName" is your Win

Increasing Tomcat/Java memory

2006-03-24 Thread Harald Henkel
Hello everybody. How can I increase the memory Tomcat/Java is using? I tried setting CATALINA_OPTS with -server -Xms256m -Xmx512m but runtime.totalMemory always seems to return a value around 60MB. And there are some operations (exporting several thousand database records to an Excel file) whe

RE: Tomcat 5.5.16 Bug? messes up when a class has the same name as a package

2006-03-24 Thread Allistair Crossley
OK fair enough Paul. Did you get a chance to look into the JAR structure? How do you create your JAR? Have you tried your use case with exploded classes rather than a JAR? Allistair -Original Message- From: Paul Hamer [mailto:[EMAIL PROTECTED] Sent: 24 March 2006 09:03 To: 'Tomcat Users

RE: Tomcat: restart only one application

2006-03-24 Thread Allistair Crossley
http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html Allistair. -Original Message- From: wakeup [mailto:[EMAIL PROTECTED] Sent: 24 March 2006 08:42 To: users@tomcat.apache.org Subject: Tomcat: restart only one application I'm new in tomcat, y do restarts with .bat files in /bin

Tomcat: restart only one application

2006-03-24 Thread wakeup
I'm new in tomcat, y do restarts with .bat files in /bin folder. But how can I do a restar of only one webapp? Could I do it with a .bat file? Thanksss ___ http://www.hhdirecto.net http://www.dechiste.com -- View this message in context: http://www.nabble.com/Tomcat%3A-restart

Re: Scaliability question (locking on Vector)

2006-03-24 Thread Clemens Eisserer
Hi again, > find . -name *.java -exec grep Vector {} \; -print > > then you see we use vector but I also think you analyse must > start with WebappClassLoader Well the way of detecting where locking happens worked quite well, display the class-names of the objects where locking happens using Be

Custom realm extending JDBCRealm

2006-03-24 Thread Alessandro Colantoni
Hi all! For some reasons I had to extend JDBCRealm to overwrite the method getPassword. This is myRealm: public class ManoloJDBCRealm extends JDBCRealm{ private static Log log = LogFactory.getLog(ManoloJDBCRealm.class); protected String getPassword(String username) { System.out.println("u

RE: Tomcat 5.5.16 Bug? messes up when a class has the same name as a package

2006-03-24 Thread Paul Hamer
Hi Allistair, I've tried your example too, and it indeed works!?!? I've filed a bug in the ASF bugzilla providing a test-case, it's bug 39093. Tanx for your time! Regards, Paul Hamer management & development [EMAIL PROTECTED] toHAVE websolutions www.tohave.nl [EMAIL PROTECTED] -Original

RE: Tomcat 5.5.16 Bug? messes up when a class has the same name as a package

2006-03-24 Thread Paul Hamer
Hi Shankar and others, I've filed it in Bugzilla... it has become Bug 39093. Thanx for your input! Regards, Paul Hamer management & development [EMAIL PROTECTED] toHAVE websolutions www.tohave.nl [EMAIL PROTECTED] -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Sh

Re: return (HexUtils.convert(md.digest())) in RealmBase

2006-03-24 Thread Alessandro Colantoni
Hi! One day after i understood what you explained me. HexUtils.convert just do an hex representation in a string format of the binary number represented by the array of byte. I taught that a solution to my problem could be implement a custom realm, that extends JDBCrealm and overwrite the method

RE: SSL handshake times out on Tomcat 5.5

2006-03-24 Thread Aust, Christian
Hi Markus, that solved it. A "full install" of Tomcat 5.5.15 defaults to installing the APR as well, and there's only a log message if APR is not found (not if is actually activated). Moving the tcnative-1.dll out of the way disabled APR and my configuration suddenly worked. I'd like to propos