Re: Embedding jasper (tomcat 5.5)

2007-06-07 Thread Dennis Thrysøe
Bill Barker wrote: Dennis Thrysøe [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Any ideas what tomcat is doing to seperate for instance it's own commons-logging with a commons-logging in a deployed webapp? Probably, the easiest is to jump to TC 6. That version no longer uses

Re: Multiple Realms in a Context?

2007-06-07 Thread Pid
Tim Alberts wrote: I'm in the process of teaching myself the Realms configuration for Tomcat and have a couple questions that after hours of reading and testing I could determine, but this list can hopefully save me some research time. Reading the documentation at:

Re: Tomcat Administration HTTP Status 500 -

2007-06-07 Thread David Smith
This may or may not be the problem, but did you install it in server/webapps next to the manager webapp? That is where it's supposed to be as opposed to in the webapps directory with the other webapps. --David Elton Kong wrote: Martin, Here is the log pasted. There is a little more at the

Difference in Running Tomcat on Command Line and in Eclipse

2007-06-07 Thread Curious_Coder
This may be a newb question, but im going to ask anyway. What is the difference between running tomcat on the command line and running tomcat through eclipse? The difference may be an individual thing so I'll describe the issue im having in a bit more detail. When I start the tomcat server on

Re: error in catalina.out log

2007-06-07 Thread Jean-Pierre Astier
Thanks Chuck Le 6 juin 07 à 15:57, Caldarale, Charles R a écrit : From: Jean-Pierre Astier [mailto:[EMAIL PROTECTED] Subject: error in catalina.out log 6 juin 2007 15:01:08 org.apache.catalina.core.StandardWrapper unload INFO: Waiting for 6 instance(s) to be deallocated The above

Re: Developing Tomcat in NB

2007-06-07 Thread Johnny Kewl
Excellent... thank you. Just wanted to ask you if you think its at all possible to do this in Netbeans 5.5 It seems to me that NB 6 has the ability to pick up on the ant scripts as part of the project menu's, and thats what you doing, but I was wondering if your ant scripts can be incorporated

Re: Tomcat doesn't start

2007-06-07 Thread Johnny Kewl
I've seen this as well, sometimes I manage to really screw things up when developing. You changing your context path but I found that if I went into Tomcat 5.5.23\conf\Catalina\localhost and deleted the App.xml context file there... tomcat recovered nicely, on a redeploy. Its almost as if

Re: webappclassloader won't get garbage colelcte, need suggestions (out of memory)

2007-06-07 Thread Johnny Kewl
No, imagine if you used a thread to say send an email. The webapp is done, tomcat is idling and it whacks your thread that hasnt done the email yet. You see it in normal java apps as well, ie if a thread is still busy and you close the app, if you look at the processes, the thread is keeping

FW: Processing of multipart/form-data request failed. Stream ended unexpectedly

2007-06-07 Thread Arpana Bansal
Our site is hosted on Tomcat 5.5 and IIS server. We are getting following error when we try to uplaod a file of size greater than around 100KB. javax.servlet.ServletException: Processing of multipart/form-data request failed. Stream ended unexpectedly

Re: was anyone able to change his/her email address in this list

2007-06-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Abdelmonaam, Really? It didn't work? How did you try to unsubscribe? How did you try to subscribe? I see a lot of folks who have trouble subscribing or un-subscribing from mailing lists... I have never had a single problem. (And I use gnupg, which

JNDI and datasource

2007-06-07 Thread Mailing
Hi, I'm developing an Hibernate web application with jboss using a datasource named java:/DefaultDS property name=connection.datasourcejava:/DefaultDS/property When I configure the same datasource with tomcat, I can't reach it with this name, but with java:comp/env/DefaultDS So my hibernate

Re: Cipher suites

2007-06-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thiago, Thiago Silva wrote: I have tried to use the tag ciphers in the following part of the Server.xml, but it did not used the specific cipher suite that I have set. code: -- Connector port=8443

Re: Encoding issue: + versus %20

2007-06-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lucas, To use + as a space is correct within the query, but is correct within the path. Huh? - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

30 Mb of common jars in each of 5 war files, should i consolidate?

2007-06-07 Thread rhodebump
I have 5 war files, each containing the springframework, hibernate jars, tapestry jars, lots of jars so that each war file is 30 megs. I wonder, from a performance/memory perspective would it be better to move these common library jars into the /tomcat/common/lib directory, or should I keep them

Re: Tomcat Administration HTTP Status 500 -

2007-06-07 Thread Elton Kong
David, Yes, the admin folder is under the server/admin folder. I basically just untarred it and that's where it was. I didn't change any of the files but I did check to see if they were there and in the correct place. Elton David Smith wrote: This may or may not be the problem, but did you

Programmatically Determine JVM Version used by Tomcat

2007-06-07 Thread bachuba
Hi, I'm fairly new to using Tomcat, but need to determine what JVM version (or at least the path to it) a running Tomcat service is currently using on a Windows system. If I run tomcat5w.exe and click on the Java tab, I notice the informaiton is listed there, but I would like to be able to get

RE: Encoding issue: + versus %20

2007-06-07 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:[EMAIL PROTECTED] Subject: Re: Encoding issue: + versus %20 To use + as a space is correct within the query, but is correct within the path. Huh? I think a rather critical not was left out of the second part of the sentence. - Chuck THIS

RE: Programmatically Determine JVM Version used by Tomcat

2007-06-07 Thread Caldarale, Charles R
From: bachuba [mailto:[EMAIL PROTECTED] Subject: Programmatically Determine JVM Version used by Tomcat I'm fairly new to using Tomcat, but need to determine what JVM version (or at least the path to it) It's available in a system property: System.getProperty(java.runtime.version) -

Re: Programmatically Determine JVM Version used by Tomcat

2007-06-07 Thread David kerber
bachuba wrote: Hi, I'm fairly new to using Tomcat, but need to determine what JVM version (or at least the path to it) a running Tomcat service is currently using on a Windows system. If I run tomcat5w.exe and click on the Java tab, I notice the informaiton is listed there, but I would like to

Is it possible to introduce new authentication method without modifying tomcat?

2007-06-07 Thread Andrei Tchijov
Hi, I want to be able to add my own authentication method (login-config/ auth-method) as one of possible choices. Is it possible to do so without re-compiling tomcat? Ideally, I would love to be able to achieve my goal by changing server.xml file (and adding some jars with my custom

Re: Encoding issue: + versus %20

2007-06-07 Thread Lucas Galfaso
Mmmm.. It should read: To use + as a space is correct within the query, but is not correct within the path. - LG On 6/7/07, Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lucas, To use + as a space is correct within the query, but is correct

free Tomcat profiler

2007-06-07 Thread radcio
Hi, I am looking for a Tomcat profiler which is able to measure the actual load of a web page/ request processing time. I've tried Jmeter but doesn't seem to show request process times, but only file request times. Thanks a million, Radu. -- View this message in context:

Re: Is it possible to introduce new authentication method without modifying tomcat?

2007-06-07 Thread Szabolcs Márton
Hi! its an options, i use sometime. Create a filter. a class likes this. public class AuthenticationFilter implements Filter { private static Logger log = Logger.getLogger(AuthenticationFilter.class); public void doFilter(ServletRequest request, ServletResponse response,

Re: Is it possible to introduce new authentication method without modifying tomcat?

2007-06-07 Thread Andrei Tchijov
sZabi, Thnkx for response. I am actually already using similar approach. It is easy to implement, but it has one problem (from my point of view). It is not very user friendly. It is much easier to explain to end user that if he/she is using FORM as authentication method, all he/she

Re: Is it possible to introduce new authentication method without modifying tomcat?

2007-06-07 Thread Pid
Andrei Tchijov wrote: Hi, I want to be able to add my own authentication method (login-config/auth-method) as one of possible choices. Is it possible to do so without re-compiling tomcat? Ideally, I would love to be able to achieve my goal by changing server.xml file (and adding some

Re: 30 Mb of common jars in each of 5 war files, should i consolidate?

2007-06-07 Thread Larry Meadors
I think you'd be better off spending your time (== money) on CPU, RAM, and disk space than doing this. It's one of those ideas that looks good on paper, but sucks in practice. Larry On 6/7/07, rhodebump [EMAIL PROTECTED] wrote: I have 5 war files, each containing the springframework,

Re: free Tomcat profiler

2007-06-07 Thread Leon Rosenberg
you need this: http://moskito.anotheria.net/moskitodemo/mui/mskShowAllProducers its a demo for moskito. moskito itself is located at http://moskito.anotheria.net and the source is hosted by java.net http://moskito.dev.java.net On 6/7/07, radcio [EMAIL PROTECTED] wrote: Hi, I am looking for

Re: Cipher suites

2007-06-07 Thread Thiago Silva
I am not using spaces in the real file. It is just a mistake when I copied and pasted. Is this the the only way to force the use of an specific cipher suite? Has anybody ever done this before? On 6/7/07, Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash:

Re: Is it possible to introduce new authentication method without modifying tomcat?

2007-06-07 Thread Andrei Tchijov
I will be first to admin that I may be silly bugger, but I can not see how JAASRealm can help me. Nowhere in the code I can see any indication of how to get to HTTP Request and HTTP Response from Realm code. Please enlighten... Andrei On Jun 7, 2007, at 12:47 PM, Pid wrote: Andrei

Fwd: building mod_jk 1.2.23 apxs errors

2007-06-07 Thread tom northcutt
I am attempting to compile the latest version of mod_jk for integration with my apache 2.0.59 server on CentOS-3.8 (32bit) After running ./configure --with-apxs=/usr/local/apache/bin/apxs from the native directory, the mod_jk.lai and mod_jk.a files are created. Upon running the make install, I

RE: Is it possible to introduce new authentication method without modifying tomcat?

2007-06-07 Thread Caldarale, Charles R
From: Andrei Tchijov [mailto:[EMAIL PROTECTED] Subject: Re: Is it possible to introduce new authentication method without modifying tomcat? Nowhere in the code I can see any indication of how to get to HTTP Request and HTTP Response from Realm code. Why would you want to do that? A

Re: Programmatically Determine JVM Version used by Tomcat

2007-06-07 Thread bachuba
I believe the suggested solutions will only poll the java version installed on the computer, correct? I probably should have provided a little more detail on what is needed. Tomcat is being installed with JAVA_HOME pointed toward a 1.4 version of java. Later, JAVA 1.5 is installed and

RE: Programmatically Determine JVM Version used by Tomcat

2007-06-07 Thread Propes, Barry L
can't you open up the bat or .sh file and just make the change there? -Original Message- From: bachuba [mailto:[EMAIL PROTECTED] Sent: Thursday, June 07, 2007 3:48 PM To: users@tomcat.apache.org Subject: Re: Programmatically Determine JVM Version used by Tomcat I believe the suggested

RE: Programmatically Determine JVM Version used by Tomcat

2007-06-07 Thread Propes, Barry L
oh, sorry. You do that and it STILL runs it with the service. Correct? Are you sure it doesn't change if you stop and restart it manually? -Original Message- From: bachuba [mailto:[EMAIL PROTECTED] Sent: Thursday, June 07, 2007 3:48 PM To: users@tomcat.apache.org Subject: Re:

Re: Is it possible to introduce new authentication method without modifying tomcat?

2007-06-07 Thread Andrei Tchijov
I do appreciate that Realm in general should not be concern with Request/Response. One of previous replies to my original question suggested that I should look into JAASRealm for the solution to my problem (which does require access to Request/Response). I was just commenting that I can

RE: Programmatically Determine JVM Version used by Tomcat

2007-06-07 Thread Robert Harper
One problem with this is that you have to know where the JRE for 1.5 was installed. There is nothing that guarantees that the install path is the default. You might try to get the version information from the binary that is running if the OS version supports it. It might be more appropriate to try

RE: Is it possible to introduce new authentication method without modifying tomcat?

2007-06-07 Thread Caldarale, Charles R
From: Andrei Tchijov [mailto:[EMAIL PROTECTED] Subject: Re: Is it possible to introduce new authentication method without modifying tomcat? I was just commenting that I can not see how JAASRealm (or any Realm for that matter) can help me Specifying JAASRealm as the Realm gives you the

Re: Is it possible to introduce new authentication method without modifying tomcat?

2007-06-07 Thread Andrei Tchijov
I understand. My problem it twofold. In order to make an authentication decision ... - I need to have an access to some information from HTTP Request, - I need to be able build HTTP Response (basically, I need to be able to issue challenge in response to authentication request). As I

RE: Programmatically Determine JVM Version used by Tomcat

2007-06-07 Thread gb1071nx
Can you make something out of this? public class JavaVer { public static void main(String[] args) { System.out.println(java.version: + System.getProperty(java.runtime.version)); System.out.println(JAVA_HOME: + System.getProperty(JAVA_HOME)); } } D:\DEV\classesjava -version java

RE: Is it possible to introduce new authentication method without modifying tomcat?

2007-06-07 Thread Caldarale, Charles R
From: Andrei Tchijov [mailto:[EMAIL PROTECTED] Subject: Re: Is it possible to introduce new authentication method without modifying tomcat? My problem it twofold. In order to make an authentication decision ... - I need to have an access to some information from HTTP Request, - I

Problem with Tomcat 5.5.23 when displaying to frames

2007-06-07 Thread Rob Tanner
Hi, This one is weird and makes no sense to me. I am moving from a Tomcat 3.x (front ended by Apache) production environment to apache-tomcat-5.5.23 running standalone. My apps, which are all interactive tools, are displayed in frame-sets containing either one or two frames. Each application

Re: Is it possible to introduce new authentication method without modifying tomcat?

2007-06-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrei, Check out securityfilter (http://securityfilter.sourceforge.net). It implements a filter as suggested by someone else, but it has been used by others. Why reinvent the wheel? There are two different interfaces that you can implement in order

Re: Is it possible to introduce new authentication method without modifying tomcat?

2007-06-07 Thread Bill Barker
Andrei Tchijov [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I understand. My problem it twofold. In order to make an authentication decision ... - I need to have an access to some information from HTTP Request, - I need to be able build HTTP Response (basically, I need to be

Re: Tomcat keepalive mysql connection.

2007-06-07 Thread Rashmi Rubdi
On 6/6/07, Jacob Rhoden [EMAIL PROTECTED] wrote: Hi, Under tomcat 5.5, I would prevent the database connections from timing out by having a Cron job that accesses the website every 10 minute. (Because I couldn't work out a better way). How are you connecting to the database? If you are not

Re: Can't seem to get logging to work in Tomcat 5.5.9

2007-06-07 Thread Rob Tanner
Georg, Finally kind of solved my problem. First, I went to a fresh install of 5.5.23 and then added the log4j.properties file in ${CATALINA_HOME}/common/classes and the log4j jar file in ${CATALINA_HOME}/common/lib. No go. So, thinking maybe the documentation was wrong, I moved the

Re: Is it possible to introduce new authentication method without modifying tomcat?

2007-06-07 Thread Andrei Tchijov
Bill, Tomcat will use my authenticator regardless of login-config/auth- method setting? If it is the case, how my Authenticator can figure- out what auth-method was configured (normally my authentication method will be used in-addition to what ever standard method has been used)?

Tomcat5.5 Ubuntu startup error

2007-06-07 Thread Will Parkinson
Hi All, I am having a few problems with tomcat 5.5 on ubuntu feisty When i start the tomcat service, its outputs that its started ok, but when i view the status (/etc/init.d/tomcat5.5 status) it says the service is not running. This is in the /var/log/tomcat5.5/catalina.out logfile libgcj:

Re: Is it possible to introduce new authentication method without modifying tomcat?

2007-06-07 Thread Bill Barker
Andrei Tchijov [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Bill, Tomcat will use my authenticator regardless of login-config/auth- method setting? If it is the case, how my Authenticator can figure- out what auth-method was configured (normally my authentication method will

Re: Tomcat5.5 Ubuntu startup error

2007-06-07 Thread Rene Guenther
Probably the options setting should be -Xmx=128m. I am not sure, but you should check the enviroment variables: CATALINA_OPTS JAVA_OPTS and the startup scripts in %CATALINA_HOME%\bin René On Fri, 8 Jun 2007 14:14:05 +1000 Will Parkinson [EMAIL PROTECTED] wrote: Hi All, I am having a few

Re: Tomcat5.5 Ubuntu startup error

2007-06-07 Thread Will Parkinson
Hi Rene, Thanks for the help, i removed the line i tried the -Xmx=128m alteration to the JAVA_OPTS line and nothing changes. I also tried removing the -Xmx128M option all together and what i got was this: #/etc/init.d/tomcat5.5 status * Tomcat servlet engine is not running, but pid file