RE: Importing CERTIFICATE into Java Keystore

2009-11-19 Thread Stephen .
Chris, thank you for your reply. And thank you so much for taking the time and trouble to explain all this to me. I really don't know much about JNDI. I don't even know where and how it is configured. But, I am going to try your suggestions, and see if it works out. If you want, I could k

RE: Howto Socket (TCP / IP ) reading from a war application on Tomcat

2009-11-19 Thread Karthik Nanjangude
Hi This is not Fun dude... I know how to write a SOCKET Programming for Standalone, How do I write a socket Listener for WEB Application running over TOMCAT when the application is up and running.? Please be serious...I asked for some help or ideas :( With regards KArthik -Origina

Tomcat 6 on Windows Vista 64bit

2009-11-19 Thread Tuan Quan
Anyone has succesfully installed Tomcat 64 bit on Windows Vista Business 64bit OS? Thanks. Tuan

Re: Writable JNDI Naming Context?

2009-11-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jens, On 11/19/2009 5:44 PM, Jens Greven wrote: > My problem is that I do not only deal with web applications, but also > common desktop applications using JDBC connections and partly hibernate. > If it were only for webapps I would certainly use the

Re: Writable JNDI Naming Context?

2009-11-19 Thread Jens Greven
Christopher Schultz schrieb: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jens, On 11/19/2009 5:22 PM, Jens Greven wrote: Christopher Schultz schrieb: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jens, On 11/19/2009 2:59 PM, Jens Greven wrote: is there a way of having a writeable JNDI

Re: java.lang.ClassNotFoundException: org.apache.catalina.realm.CombinedRealm

2009-11-19 Thread DJVege
Worked like a charm. However I don't seem to be able to add multiple role-name's to my web.xml (application). Isn't it as simple as this? web.xml within security constraint: CN=AD Group,OU=BLAh,DC=blah CN=AD user account,OU=Blah,DC=blah and within security-

Re: Writable JNDI Naming Context?

2009-11-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jens, On 11/19/2009 5:22 PM, Jens Greven wrote: > Christopher Schultz schrieb: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Jens, >> >> On 11/19/2009 2:59 PM, Jens Greven wrote: >> >>> is there a way of having a writeable JNDI context i

Re: Writable JNDI Naming Context?

2009-11-19 Thread Jens Greven
Christopher Schultz schrieb: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jens, On 11/19/2009 2:59 PM, Jens Greven wrote: is there a way of having a writeable JNDI context in Tomcat? I need one to place dataSources in it, because I have a perfectly running DataSourceFactory that is used in

Re: Writable JNDI Naming Context?

2009-11-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jens, On 11/19/2009 2:59 PM, Jens Greven wrote: > is there a way of having a writeable JNDI context in Tomcat? I need one > to place dataSources in it, because I have a perfectly running > DataSourceFactory that is used in other applications as well,

Re: Grant access to files out of webapp context using SecurityManager

2009-11-19 Thread Pid
On 19/11/2009 20:38, g f wrote: I recently activated SecurityManager and had no previous issues with this. Yes they do have permissions on that directory. I am getting many errors regarding this here is a snippet of the stack: SEVERE: StandardWrapper.Throwable java.security.AccessControlException

Re: Grant access to files out of webapp context using SecurityManager

2009-11-19 Thread g f
I recently activated SecurityManager and had no previous issues with this. Yes they do have permissions on that directory. I am getting many errors regarding this here is a snippet of the stack: SEVERE: StandardWrapper.Throwable java.security.AccessControlException: access denied (java.io.FilePermi

Re: Fwd: Servlet MessageBrokerServlet is not available on Ubuntu AMD64

2009-11-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Raja, On 11/18/2009 11:07 PM, R. S. Patil wrote: > The repository Install of Tomcat has the problem. *Please report this issue to the Ubuntu folks*. I'd really prefer if we didn't always have to tell people having your type of problems that "everythi

Re: Importing CERTIFICATE into Java Keystore

2009-11-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stephen, On 11/19/2009 2:42 AM, Stephen . wrote: > My JAVA folder has 3 different locations which contain the command "KEYTOOL" > > I don't even know which of them is supposed to hold the certificate. None of those hold any certificates: they are ju

Re: Migrating from Tomcat 5.5.25 to 6.0.22

2009-11-19 Thread Christopher Gross
The machine that I run Tomcat on isn't on the internet, and it isn't a local machine. I can try to copy it over again, it will just take some time to do that. If there are other methods that may work, I'd like to try them first. I start Tomcat by running a script -- unfortunately sudo is misconf

Re: Grant access to files out of webapp context using SecurityManager

2009-11-19 Thread Pid
On 19/11/2009 18:13, g f wrote: Hello all, I have a webapp in the following location: /apps/tomcat/webapps/mywebapp I have files located at: /files/images They are on different partitions. I need to grant mywebapp read,write,execute permissions to these images. I am attempting to configure

Writable JNDI Naming Context?

2009-11-19 Thread Jens Greven
Hi, is there a way of having a writeable JNDI context in Tomcat? I need one to place dataSources in it, because I have a perfectly running DataSourceFactory that is used in other applications as well, so I'd prefer to use this one above everything else to avoid database configurations in mul

RE: Migrating from Tomcat 5.5.25 to 6.0.22

2009-11-19 Thread Caldarale, Charles R
> From: Christopher Gross [mailto:cogr...@gmail.com] > Subject: Re: Migrating from Tomcat 5.5.25 to 6.0.22 > Should I try downloading it again and copying it over? Try downloading it just running it as is using startup.sh, without making any changes, just to verify that it's functional. > java.

Re: Migrating from Tomcat 5.5.25 to 6.0.22

2009-11-19 Thread Christopher Gross
Heh, a few typos on my part, sorry about that. It is 6.0.20, and the library stuff is in the catalina.properties file. I downloaded the core (not windows installer) from the Apache Tomcat site. Should I try downloading it again and copying it over? Here is the trace from when I start Tomcat: jav

Re: Migrating from Tomcat 5.5.25 to 6.0.22

2009-11-19 Thread Konstantin Kolinko
2009/11/19 Christopher Gross : > When I call the script to stop everything (I need to stop MySQL after the > failure before trying again), I get a ClassNotFoundException for > org.apache.catalina.startup.Catalina. > Please note, that you cannot copy 5.5 configuration files to Tomcat 6.0. You have

Re: Subdomain vs. Subdirectory

2009-11-19 Thread Hassan Schroeder
On Thu, Nov 19, 2009 at 10:07 AM, picosam wrote: > I have a Tomcat6 server running behind an Apache2 server using JK mod. My > Tomcat responds to www.myserver.com and www.myserver.com/api. I would like > to make the server not respond to the latter and access the application > under /api via api.

Re: Migrating from Tomcat 5.5.25 to 6.0.22

2009-11-19 Thread Hassan Schroeder
On Thu, Nov 19, 2009 at 11:11 AM, Christopher Gross wrote: > On Solaris 10, using JDK 1.5.0_18-b02, I am trying to upgrade Tomcat from > 5.5.25 to 6.0.22. > > I have a script in /etc/init.d that starts/stops Tomcat and MySQL. > I'm getting a ClassNotFoundException for > org.apache.catalina.core.Ap

RE: Migrating from Tomcat 5.5.25 to 6.0.22

2009-11-19 Thread Caldarale, Charles R
> From: Christopher Gross [mailto:cogr...@gmail.com] > Subject: Migrating from Tomcat 5.5.25 to 6.0.22 > > The server.xml has the main library pointing to ${catalina.home}/lib. ??? Really? A proper server.xml has no knowledge of (or interest in) Tomcat's lib directory. You'll need to post it.

Migrating from Tomcat 5.5.25 to 6.0.22

2009-11-19 Thread Christopher Gross
On Solaris 10, using JDK 1.5.0_18-b02, I am trying to upgrade Tomcat from 5.5.25 to 6.0.22. I have a script in /etc/init.d that starts/stops Tomcat and MySQL. I'm getting a ClassNotFoundException for org.apache.catalina.core.ApplicationContextFacade when I try to start Tomcat. When I call the scri

Grant access to files out of webapp context using SecurityManager

2009-11-19 Thread g f
Hello all, I have a webapp in the following location: /apps/tomcat/webapps/mywebapp I have files located at: /files/images They are on different partitions. I need to grant mywebapp read,write,execute permissions to these images. I am attempting to configure SecurityManager to allow this but

Subdomain vs. Subdirectory

2009-11-19 Thread picosam
Hello, I have a Tomcat6 server running behind an Apache2 server using JK mod. My Tomcat responds to www.myserver.com and www.myserver.com/api. I would like to make the server not respond to the latter and access the application under /api via api.myserver.com instead. Thank you, Sammy -- View

Re: Tomcat / windows 2008 IIS 7 x64

2009-11-19 Thread Len Popp
The Setup section of the docs describes basic Tomcat setup. Info about integrating with IIS is in the Tomcat Connectors docs: http://tomcat.apache.org/connectors-doc/ There's an IIS how-to in there. -- Len On Thu, Nov 19, 2009 at 12:54, Sabo, Eric wrote: > Which doc would that be under?  Can y

RE: Tomcat / windows 2008 IIS 7 x64

2009-11-19 Thread Sabo, Eric
Which doc would that be under? Can you be more specific? -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Thursday, November 19, 2009 11:57 AM To: users@tomcat.apache.org Subject: Re: Tomcat / windows 2008 IIS 7 x64 On 19/11/2009 16:38, Sabo, Eric wrote: > Is there any offic

Re: Dedicated Thread Pool

2009-11-19 Thread Filip Hanik - Dev Lists
yes, if maxThreads>minSpareThreads, then threads will be killed off and the pool will shrink. and when traffic comes back, it creates new threads, with new names Filip On 11/19/2009 10:12 AM, Mohsen Saboorian wrote: Then is it normal that an executor stops and removes a thread from the pool?

Re: Dedicated Thread Pool

2009-11-19 Thread Mohsen Saboorian
Then is it normal that an executor stops and removes a thread from the pool? Mohsen On Thu, Nov 19, 2009 at 1:24 PM, Mark Thomas wrote: > Mohsen Saboorian wrote: > > I'm using Lambda Probe to monitor threads > of > > my Tomcat Connector. In the first few hours of T

Re: Tomcat / windows 2008 IIS 7 x64

2009-11-19 Thread Pid
On 19/11/2009 16:38, Sabo, Eric wrote: Is there any official documentation on how to setup Tomcat (ASPX/JSP java interpreter) on a Windows 2008 using IIS 7 (x64 platform) ? Start by reading the docs: http://tomcat.apache.org/ p Thanks in advance, Eric Sabo Senior Windows Systems Engineer

Tomcat / windows 2008 IIS 7 x64

2009-11-19 Thread Sabo, Eric
Is there any official documentation on how to setup Tomcat (ASPX/JSP java interpreter) on a Windows 2008 using IIS 7 (x64 platform) ? Thanks in advance, Eric Sabo Senior Windows Systems Engineer Information Technology Services - Operations California University of Pennsylvania Please note my

Re: Some advice on apache tomcat

2009-11-19 Thread Hassan Schroeder
On Thu, Nov 19, 2009 at 5:21 AM, Anthony Jay wrote: > My question is what is the recommended wordpress replacement that I can > use on Tomcat to provide content management via database as well as > providing blogging capability? You do know that every time someone uses "content management" and "

Re: Newbie, tomcat performance tuning

2009-11-19 Thread David kerber
Caldarale, Charles R wrote: From: Bruce Foster [mailto:gis.fos...@gmail.com] Subject: Re: Newbie, tomcat performance tuning ... read somewhere tomcat with 8 thread (8 core processor), how do I configure that option? Read Peter's response. You will need way more than 8 threads in any real

RE: 64bit Tomcat for Windows

2009-11-19 Thread Caldarale, Charles R
> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] > Subject: RE: 64bit Tomcat for Windows > > 5.5.28 will install to match your architecture. Unfortunately, it matches the mode of the OS, not the mode of the JVM - which is what really matters. - Chuck THIS COMMUNICATION MAY CONTAIN

RE: 64bit Tomcat for Windows

2009-11-19 Thread Jeffrey Janner
Depends on your version of Tomcat. 5.5.28 will install to match your architecture. Not sure if there is a 6.0.x installer that will do the same yet. Mark? -Original Message- From: Bruce Foster [mailto:gis.fos...@gmail.com] Sent: Thursday, November 19, 2009 6:30 AM To: Tomcat Users List Su

Re: Howto Socket (TCP / IP ) reading from a war application on Tomcat

2009-11-19 Thread Ronald Klop
On Thu, 19 Nov 2009 14:59:16 +0100, Karthik Nanjangude wrote: Hi Can some body provide me a sample code for Socket (TCP / IP ) reading from a war application on Tomcat Can Listeners be made use of for the same? Reason: I need to Accept / Reply a XML File over the socket port f

Re: Newbie, tomcat performance tuning

2009-11-19 Thread Hassan Schroeder
On Thu, Nov 19, 2009 at 4:27 AM, Bruce Foster wrote: > 3. Need to modify the heap size, with 12GB ram and NO other > application running I will allocate 6GB ram as Max and Min for JVM. Well, nothing exceeds like excess, but you might want to start a bit lower and increase as it seems necessary.

RE: Howto Socket (TCP / IP ) reading from a war application on Tomcat

2009-11-19 Thread Karthik Nanjangude
Hi Not necessary, if any can provide me some idea's It would be wonderful With regards Karthik -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Thursday, November 19, 2009 7:36 PM To: Tomcat Users List Subject: Re: Howto Socket (TCP / IP ) reading from a war application

Re: Howto Socket (TCP / IP ) reading from a war application on Tomcat

2009-11-19 Thread Pid
On 19/11/2009 13:59, Karthik Nanjangude wrote: Hi Can some body provide me a sample code for Socket (TCP / IP ) reading from a war application on Tomcat > Can Listeners be made use of for the same? Reason: I need to Accept / Reply a XML File over the socket port from 3rd party appli

Howto Socket (TCP / IP ) reading from a war application on Tomcat

2009-11-19 Thread Karthik Nanjangude
Hi Can some body provide me a sample code for Socket (TCP / IP ) reading from a war application on Tomcat Can Listeners be made use of for the same? Reason: I need to Accept / Reply a XML File over the socket port from 3rd party application (as Client ) Also the Soap

RE: Newbie, tomcat performance tuning

2009-11-19 Thread Caldarale, Charles R
> From: Bruce Foster [mailto:gis.fos...@gmail.com] > Subject: Re: Newbie, tomcat performance tuning > > 1. Need to get JDK and not JRE, latest version of JDK and use the > "server" version Tomcat only needs the JRE, but the JDK contains some interesting tools that you may find useful. Make sure

RE: 64bit Tomcat for Windows

2009-11-19 Thread Caldarale, Charles R
> From: Ronald Klop [mailto:ronald-mailingl...@base.nl] > Subject: Re: 64bit Tomcat for Windows > > > I have another thread running and someone suggested to use 64bit JDK > > on my Windows 2003 server 64 bit. > > > > Wonder, if there is a 64 bit installer for Tomcat on Windows. I see > > my curren

Re: Some advice on apache tomcat

2009-11-19 Thread Anthony Jay
Hi, I have failed to come up with a solution to link Apache 2.2 and Tomcat 6 using mod_jk / mod_proxy_ajp in a way that satisfies my requirements. (Seamless form based authentication, CMS using wordpress etc.) I can get 98% there but the last 2% is the blocker and I am running out of options.

Re: 64bit Tomcat for Windows

2009-11-19 Thread Ronald Klop
On Thu, 19 Nov 2009 13:30:19 +0100, Bruce Foster wrote: Hi List, I have another thread running and someone suggested to use 64bit JDK on my Windows 2003 server 64 bit. Wonder, if there is a 64 bit installer for Tomcat on Windows. I see my current tomcat is running x86 folder in 32 bit mode.

Re: per context access log

2009-11-19 Thread Tim Funk
Sorry - (AFAICT) there isn't a way to do that. You have to configure each one. -Tim Ursula Walenciak wrote: Hi, I'm trying to configure access-logging per context by using the AccessLogValve. Actually I would like to produce one log-file per context but avoid configuring it for each context

Re: Newbie, tomcat performance tuning

2009-11-19 Thread Peter Crowther
2009/11/19 Bruce Foster > do I need to look at the server threads? if yes then where to I set > that option? > > read somewhere tomcat with 8 thread (8 core processor), how do I > configure that option? > > If you can find me that "somewhere", I'll go and grumble at the author :-). It's very poo

64bit Tomcat for Windows

2009-11-19 Thread Bruce Foster
Hi List, I have another thread running and someone suggested to use 64bit JDK on my Windows 2003 server 64 bit. Wonder, if there is a 64 bit installer for Tomcat on Windows. I see my current tomcat is running x86 folder in 32 bit mode. -- Thanks Bruce NSW Australia --

Re: Newbie, tomcat performance tuning

2009-11-19 Thread Bruce Foster
Thanks Everyone who responded. Just great. OK, looks like I got lot of home work to do now; if I were to summarize, 1. Need to get JDK and not JRE, latest version of JDK and use the "server" version 2. Look at the connector pool 3. Need to modify the heap size, with 12GB ram and NO other applic

Re: Sending messages via Tomcat to ActiveMQ

2009-11-19 Thread Peter Crowther
2009/11/19 Kumako22 > My question is: how can I send messages to ActiveMQ via Tomcat. Is it > possible? How can I write it? Any clues? > > 1) Write a standalone Java program to send a message to ActiveMQ. Test it. Prove it works. 2) Paste that code into your web application code at the approp

Sending messages via Tomcat to ActiveMQ

2009-11-19 Thread Kumako22
Hello, My question is: how can I send messages to ActiveMQ via Tomcat. Is it possible? How can I write it? Any clues? I want to send messages to added example in ActiveMQ. Best regards, MK -- View this message in context: http://old.nabble.com/Sending-messages-via-Tomcat-to-ActiveMQ-tp264212

Re: Apache-2.2.11 + mod_jk-1.2.28 + SSL

2009-11-19 Thread Rainer Jung
On 19.11.2009 10:10, conrad-tomcat.users.2...@tivano.de wrote: > Hi, > > On Thu, Nov 19, 2009 at 12:50:44AM +0100, Rainer Jung wrote: >> >> On 18.11.2009 17:01, conrad-tomcat.users.2...@tivano.de wrote: >>> >>> As you can see, 24552 (=3 * 8184) bytes are received almost immediately, >> >> 8184 loo

Re: Dedicated Thread Pool

2009-11-19 Thread Mark Thomas
Mohsen Saboorian wrote: > I'm using Lambda Probe to monitor threads of > my Tomcat Connector. In the first few hours of Tomcat startup, threads were > named http-8080-exec-1, http-8080-exec-2, etc. But now after two days, I > cannot see those threads anymore. It curren

Re: Apache-2.2.11 + mod_jk-1.2.28 + SSL

2009-11-19 Thread conrad-tomcat . users . 2009
Hi, On Thu, Nov 19, 2009 at 12:50:44AM +0100, Rainer Jung wrote: > > On 18.11.2009 17:01, conrad-tomcat.users.2...@tivano.de wrote: > > > > As you can see, 24552 (=3 * 8184) bytes are received almost immediately, > > 8184 looks like the body size of one full AJP packet (protocol used by > mod_j

per context access log

2009-11-19 Thread Ursula Walenciak
Hi, I'm trying to configure access-logging per context by using the AccessLogValve. Actually I would like to produce one log-file per context but avoid configuring it for each context separately. Is there a possibility to place the Valve-Configuration into the default context.xml an chose

Re: Location of properties file for web app in Tomcat

2009-11-19 Thread Ziggy
I had the same problem before. I didnt want to configure the location of the properties file at the tomcat instance level since i had more than one war file. What i ended up doing is add the properties file configuration on the application's context file. This meant each war file can point to its o

Re: A question about mod_jk 1.2.28 configuration

2009-11-19 Thread André Warnier
thomas2004 wrote: Rainer is asking you a question, here. If you can work with him, I'm sure he'll be able to diagnose and possibly solve your problem. Sorry for my misunderstanding Rainer's question. I can surely work with him. Just tell me how and in which way. I will try my best. Scroll b

Re: A question about mod_jk 1.2.28 configuration

2009-11-19 Thread thomas2004
>Rainer is asking you a question, here. If you can work with him, I'm sure he'll be able to diagnose and possibly solve your problem. Sorry for my misunderstanding Rainer's question. I can surely work with him. Just tell me how and in which way. I will try my best. -- View this message in co