Using jasper

2009-10-21 Thread Ben Short
Hi, I would like to use the Jasper jsp compiler to compile jsp's that I read from a database/jackrabbit/inputstream can anyone give me any pointers? Regards Ben Short - To unsubscribe, e-mail: users-unsubscr

Re: Using jasper

2009-10-21 Thread Ben Short
it when I get the request I could save the jsp file to WEB-INF/jsp and then let tomcat handle the compilation if needed. I'd have to check that the lastmod time of the db version is greater than the file version before saving it to WEB-INF/jsp. Regards Ben Short 2009/10/21 Mark Thomas ma

Limit connections to tomcat via mod_jk

2009-02-04 Thread ben short
need to be able to do is limit the number of concurrent requests from Apache Httpd to Tomcat. Meaning that we could have 768 Apache processes available for static content and 256 threads for tomcat. Is something like this possible? Regards Ben Short

Re: Memory for Multiple instances

2008-04-04 Thread ben short
If on linux you can add the following to your init script. export JAVA_OPTS=[JVM ARGUMENTS_HERE] then the catalinia.sh will pass them to the jvm on startup. Regards Ben Short On Fri, Apr 4, 2008 at 1:59 PM, Peter Sparkes [EMAIL PROTECTED] wrote: Hi, I am running multiple instances

Re: Sending FAX in JSP

2008-03-22 Thread ben short
Have a look at this... http://www.java4less.com/java_fax.htm On Sat, Mar 22, 2008 at 7:07 PM, Onur Tüzüntürk [EMAIL PROTECTED] wrote: Hello to everyone, i'm studying JSP and Apache Tomcat Server for the project in my school ( online food ordering site ) i have to send fax including the

Re: Hi

2008-01-16 Thread ben short
Sounds like your code might have a memory leak. The best thing todo is to profile the application and see where all the memory is being used. On Jan 16, 2008 8:52 AM, Katama Reddy [EMAIL PROTECTED] wrote: Hi, I was facing an issue in one of the web application which was deployed in Apache

Re: Forwarding with jkmount

2008-01-09 Thread ben short
While I was attempting to use rewrite and jk i found that you need to load the jk module before the rewrite module, so be warned ;) On Jan 9, 2008 10:53 AM, Rainer Jung [EMAIL PROTECTED] wrote: Hi Edwin, Edwin Walsh wrote: Hi, First of all I would like to mention that this is my first

Re: fifo queue

2008-01-04 Thread ben short
Add something like the following to your servlet synchronized ( someObject ) { do work } But you'll need to be careful, as requests will block and clients might time out if you are performing lengthy operations inside the synchronized block. On Jan

Tomcat 6.0.13 Expire sessions via manager webapp

2007-12-17 Thread ben short
sessions 23 - 24 minutes:131 sessions 24 - 25 minutes:150 sessions 25 - 26 minutes:144 sessions 26 - 27 minutes:128 sessions 27 - 28 minutes:147 sessions 28 - 29 minutes:113 sessions =30 minutes:36264 sessions Also shouldn't the 36K sessions that =30 Min's get expired? Regards Ben Short

Re: multithreaded with taglibs

2007-11-29 Thread ben short
Do you really need to use tomcat to do this? Maybe you should take a step back and rethink what your trying to achieve. On Nov 29, 2007 10:14 AM, Yair Ben-Meir [EMAIL PROTECTED] wrote: Let me try another scenario: let say that the generated text for the out is not one iamge, but some number

Re: multithreaded with taglibs

2007-11-26 Thread ben short
Yair, I created a eshop website that dynamically re sizes images depending on the url. Here is a simple outline of what happens. A new product is created by the shop admin. Images are then uploaded and stored in a database in the uploaded size. When a product page is viewed the controller ( im

Re: Increase JAVA Heap size when Tomcat start

2007-11-26 Thread ben short
Look at the catalina.bat or catalina.sh specifically at the JAVA_OPTS environment var On Nov 26, 2007 3:51 PM, Jean-Pierre Astier [EMAIL PROTECTED] wrote: Hello all, I want to use a J2ee application (Magnolia), but I need to increase the java heap size when tomcat (5.5.25) start. What is

Re: speed up the server

2007-11-07 Thread ben short
So your webapp ran pretty fast before it was deployed? Your going to need to provide much more information. Like OS and versions of tomcat, java, database etc and maybe some metrics on how long it takes to process the requests. Also you will want to use a profiler to figure out what part of the

host-manager

2007-10-10 Thread ben short
tomcat the virtual host had gone from the host-manager. Should this happen or am I correct in thinking that the host-manager is a work in progress and the virtual host configuration isn't persisted currently. Regards Ben Short

Re: Over 70 instances of Tomcat after startup

2007-10-08 Thread ben short
Probably worth posting the /rel/tomcat/bin/start_apps.sh script as it sounds like it could be suspect. On 10/8/07, Ray Statham [EMAIL PROTECTED] wrote: Afternoon, This is my first posting to this list and after breifly checking the archives I hope this question is not a duplicate: - I have

Re: Tomcat 6 on ubuntu linux(Fiesty Fawn)

2007-10-08 Thread ben short
I have tomcat 6 running on fiesty with jdk 1.6 and have the following in my init script... JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.00 On 10/8/07, Arun [EMAIL PROTECTED] wrote: Hi , My webapp hangs on tomcat. I have struts,spring and hibernate on it. I was getting an OutOfMemory error

Re: Tomcat 6 on ubuntu linux(Fiesty Fawn)

2007-10-08 Thread ben short
directory looks like this. On 10/8/07, ben short [EMAIL PROTECTED] wrote: I have tomcat 6 running on fiesty with jdk 1.6 and have the following in my init script... JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.00 On 10/8/07, Arun [EMAIL PROTECTED] wrote: Hi , My webapp hangs

Re: Tomcat 6 on ubuntu linux(Fiesty Fawn)

2007-10-08 Thread ben short
Don't worry about removing it for now follow the steps i showed you to install jdk 1.6 and then set it as what gets executed when you type java at the prompt On 10/8/07, Arun [EMAIL PROTECTED] wrote: How to remove ? apt-get remove? what is the name for this? I dont know the name.. Am I using

Re: Tomcat 6 on ubuntu linux(Fiesty Fawn)

2007-10-08 Thread ben short
a script in /etc/init.d ? How did you install tomcat on the box? via apt-get or did you download from http://tomcat.apache.org/download-60.cgi? Regards Ben On 10/8/07, Arun [EMAIL PROTECTED] wrote: sorry, you did not include the steps to install jdk1.6 in this conversation. On 10/8/07, ben

Re: What new in Tomcat 6.0 ?

2007-09-05 Thread ben short
Might give you some ideas... http://tomcat.apache.org/whichversion.html On 9/5/07, Ashish Jain [EMAIL PROTECTED] wrote: Hi All!! I am new to Tomcat. Can someone tell me what is new in Tomcat 6.0 compared to the last version. Thanks in advance Regards Ashish

JK Loadbalancer not balancing fairly

2007-08-23 Thread ben short
Hi All, We are doing some load testing on our setup and find that the cpu use age of tomcat reported by top on the two systems is not equal. Typically we see figures like ~400% to 800% cpu on one machine and ~50% on the other machine for the java process. We would expect that the two cpu values

Re: Tomcat manager

2007-08-21 Thread ben short
In what way do you want to manage them? Are you aware of the manager webapp [1] ? [1] http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html On 8/21/07, Andrew Hole [EMAIL PROTECTED] wrote: Hello! I've lot of tomcat instances running around the world and I want an easy way to manager

Re: POJO Application Server for Tomcat

2007-08-19 Thread ben short
The link to your site times out. On 8/19/07, Johnny Kewl [EMAIL PROTECTED] wrote: I'd like to show you guys something that I think may blow your minds. Firstly let me just say that I call myself a hobbyist, dont consider myself in the same league as the guru's that work on Tomcat and Apache,

Re: Load Balancing

2007-08-15 Thread ben short
If your workers.properties file contains nothing then it will defiantly prevent the application from functioning correctly. Have you forgotten to paste the workers.properties in to the email? On 8/15/07, Dean Lonsdale [EMAIL PROTECTED] wrote: Resend of the last mail removing signature

Re: Multi-Gigabyte Uploads, Tomcat 2GB and higher uploads

2007-08-15 Thread ben short
Hi, Have a look at the commons-fileupload [1], it should help you out. Ben [1] http://commons.apache.org/fileupload/ On 8/15/07, David Hesson [EMAIL PROTECTED] wrote: I am dealing with a client who needs multi-gigabyte uploads (4GB+, whatever he wants really, and he says it is

Re: Tomcat and path with pound sign (#) - ClassNotFoundException

2007-08-08 Thread ben short
Why not just change it to /export/home/markus/tomcat_1 or something and be done with it. Is trying to make it work with a # really worth the time an effort? Think in terms of hours spent * hourly rate or hour spent that you could be doing something else. Just my opinion. On 8/8/07, Markus

Re: Tomcat cluster serving ~50 lines of the page when a request hits a stopped webapp for the first time

2007-08-02 Thread ben short
Rainer, I setup a test httpd + loadbalancer with jk 1.2.24 and could reproduce the problem over and over again. Then I patched the source and have been unable to reproduce the problem with the patched mod_jk.so. So the patch looks good. Regards Ben On 8/1/07, ben short [EMAIL PROTECTED] wrote

Re: Installing Tomcat on Linux

2007-08-02 Thread ben short
I would question his reason for this statement A coworker claims that all unix admins should never install open source binaries. They should build using the source. On 8/2/07, Vigorito, Nicholas E. [EMAIL PROTECTED] wrote: I am going to install Tomcat standalone (not fronted by Apache) on a

Re: Tomcat cluster serving ~50 lines of the page when a request hits a stopped webapp for the first time

2007-08-01 Thread ben short
. Stay tuned ... Regards, Rainer ben short wrote: Is length 1090 correct?`So does the full body have that length? Yes firefox reports that the page is 1k in size, via the web developer's tool bar. I have seen it happen in IE 6 and 7 also. Would it be possible for me to email you

Re: Tomcat cluster serving ~50 lines of the page when a request hits a stopped webapp for the first time

2007-08-01 Thread ben short
to production with it :) Regards, Rainer ben short wrote: Sure for stable operation, but what if the machine reboots, tomcat starts up and your webapp doesn't for some reason. This situation could occur then. Many thanks for your help with this one. Regards Ben On 8/1/07, Rainer Jung

Re: Tomcat cluster serving ~50 lines of the page when a request hits a stopped webapp for the first time

2007-07-31 Thread ben short
as good. Periods of low load don't count at all. Regards, Rainer ben short wrote: So how does setting sticky sessions to true and the default value for the Load Balancing Directive 'method' (defaults to request) interact then? On 7/30/07, Rainer Jung [EMAIL PROTECTED] wrote

Stop a webapp from being started when tomcat starts

2007-07-31 Thread ben short
Hi, Is it possible to configure tomcat to not start a specific webapp when it starts up? Ben - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Tomcat cluster serving ~50 lines of the page when a request hits a stopped webapp for the first time

2007-07-31 Thread ben short
in the browser. I have a example log if anyone would like to see it. On 7/31/07, ben short [EMAIL PROTECTED] wrote: Rainer, Thanks for that. Yes we are going for a mix of both really. But I'll run some bench marks against both sticky and none sticky to see how it gets on. Yes in production

Re: Tomcat cluster serving ~50 lines of the page when a request hits a stopped webapp for the first time

2007-07-31 Thread ben short
. But the browser only shows a partial page. On 7/31/07, Rainer Jung [EMAIL PROTECTED] wrote: ben short wrote: I have altered the code to write out which webapp generated the page to the html, so i can see where the partial responses are comming from. What I see is I stop the webapp

Re: Tomcat cluster serving ~50 lines of the page when a request hits a stopped webapp for the first time

2007-07-31 Thread ben short
content=0/ ..meta http-equiv=cache-control content=no-cache/ ..meta http-equiv=pragma content=nocache/ ..meta http-equiv=Content-Language content=en-us/ ..meta content=Nexus Alpha:Andrew Langmead, Ben Short, Lawrence Chan name=author/ ..meta content=journey check,rail,journey,nexus alpha,plan

Re: Tomcat cluster serving ~50 lines of the page when a request hits a stopped webapp for the first time

2007-07-31 Thread ben short
attempt? I really appreciate you helping me out on this one. Regards Ben Short On 7/31/07, Rainer Jung [EMAIL PROTECTED] wrote: ben short wrote: Ok I have used wireshark and see that the request is sent to the apache httpd. The next first packet i get back contains the following... HTTP

Re: Tomcat cluster serving ~50 lines of the page when a request hits a stopped webapp for the first time

2007-07-30 Thread ben short
have a new docs page for 1.2.24 (which will go live tomorrow). You can have a look at it under http://tomcat.apache.org/dev/dist/tomcat-connectors/jk/docs/jk-1.2.24/generic_howto/timeouts.html and consider using the option recovery_options. Regards, Rainer ben short wrote: Hi, I

Re: Tomcat cluster serving ~50 lines of the page when a request hits a stopped webapp for the first time

2007-07-30 Thread ben short
replication. Turn it off only, if you've got a really good reason. The fact that switching the backend between requests is possible with replication should not lead to the assumption, that it is a good idea to do this continuously. ben short wrote: Hi Rainer, By shutdown I mean I have clicked

Re: Tomcat with 8 GB memory

2007-07-30 Thread ben short
Depends on what the users are doing when they hit your application. If the are storing lots of data in the session then you'll need enough ram to hold all the expected data. If they are uploading files, i would imagine that you will need to have enough ram to hold the uploaded file before you

Re: Resource Injection

2007-07-29 Thread ben short
Or have a look at www.springframework.org On 7/29/07, Johnny Kewl [EMAIL PROTECTED] wrote: - Original Message - From: John McPeek [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Sunday, July 29, 2007 4:47 AM Subject: Resource Injection I want to use Resource

Re: Logging all data sent to client

2007-07-25 Thread ben short
in the close method is not needed, and well spotted about the NPE. Regards Ben On 7/25/07, Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ben, I might change your LoggingHttpServletResponse slightly. I think it's more complicated than necessary. ben short

Re: Logging all data sent to client

2007-07-25 Thread ben short
generated. Ah I hadnt thought of that :) Yep it works ands not ment for production as the logging will have a massive overhead. On 7/25/07, Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ben, ben short wrote: I ripped and altered the code

Logging all data sent to client

2007-07-24 Thread ben short
this with tomcat? Regards Ben Short - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Logging all data sent to client

2007-07-24 Thread ben short
Hi Tim, Thanks for that, but it only seems to log out the request/response headers. Is It possible to log everything sent to the client? Ben On 7/24/07, Tim Funk [EMAIL PROTECTED] wrote: Look at the RequestDumperValve -Tim ben short wrote: Hi, I using Tomcat 6.0.13 and Spring 2.0.6. I

Re: Logging all data sent to client

2007-07-24 Thread ben short
I was just looking at the compressionFilter example. Its doing along the lines of what I want todo. Thank you all. On 7/24/07, Titi Wangsa [EMAIL PROTECTED] wrote: create a httpservlet filter? On 7/24/07, ben short [EMAIL PROTECTED] wrote: Hi Tim, Thanks for that, but it only seems to log

Re: Logging all data sent to client

2007-07-24 Thread ben short
a HttpServletRequestWrapper which overrides getOutputStream() (or getWriter()) and then passes back a wrapped OutStream or Writer which also logs to wherever when print(int i) is called. -Tim ben short wrote: Hi Tim, Thanks for that, but it only seems to log out the request/response headers. Is It possible

Re: Logging all data sent to client

2007-07-24 Thread ben short
getOutputStream() (or getWriter()) and then passes back a wrapped OutStream or Writer which also logs to wherever when print(int i) is called. -Tim ben short wrote: Hi Tim, Thanks for that, but it only seems to log out the request/response headers. Is It possible to log everything sent to the client

Re: Logging all data sent to client

2007-07-24 Thread ben short
/filter filter-mapping filter-nameLogging Filter/filter-name url-pattern/*/url-pattern /filter-mapping On 7/24/07, ben short [EMAIL PROTECTED] wrote: Yes sure. On 7/24/07, Karel V Sedlacek [EMAIL PROTECTED] wrote: Ben, When you succeed at this would you pass along your code

Re: How to deploy a web app on tomcat.. help needed plz.. :)

2007-07-16 Thread ben short
Karen, If your using maven 2 then it should be dead easy. Assuming you have maven 2 setup on your system follow the example given here [1]. This will create a war file artifact with a simple jsp and the web.xml. The last goal mvn package will create you a war file. I suggest that you give it

Blank page shown while webapp is starting up

2007-07-04 Thread ben short
the webapp has started up so the blank page is never shown? Regards Ben Short - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Slightly OT: Which CMS?

2007-07-02 Thread ben short
I asked auntie Google for 'java cms' and she found this [1]. She even gave me cucumber sandwiches :) [1] http://java-source.net/open-source/content-managment-systems On 7/2/07, Gregor Schneider [EMAIL PROTECTED] wrote: Dear list, among other things it's now my job to look out for CMS. I've

Re: Tomcat - Apache: IP replacement

2007-07-02 Thread ben short
I had an issue where getLocalAddr() would return 127.0.0.1 rather than the ip address of my linux box. Altering the /etc/hosts file to something like the following fixed that. I wonder what effect that might have for your problem. 192.168.6.173 box box.domain.com 127.0.0.1

Re: Appointment system

2007-06-30 Thread ben short
Take a look at the String Frameworks [1] instead of ejb. [1] http://www.springframework.org/ On 6/30/07, Asare Samuel [EMAIL PROTECTED] wrote: Hi all, I am about to code a web applciation(Appointment system). It will require a database, email reminders, and JSP pages. Would you sujest an

Deploying war files to path not the same as the war file name.

2007-06-29 Thread ben short
Hi, We use maven to build our war files. The war file names are as follows... appname-1.0.war. Currently I rename the file to ROOT.war then deploy it via the tomcat manager app. Is it possible to leave the war file name alone but deploy it as the ROOT webapp? Regards Ben Short

Re: How to write this elegantly in JSP/EL

2007-06-24 Thread ben short
And your not happ with just using... %=com.libris4you.books.maintenancepanel.AuthorTabController.DATA_PHOTO_WIDTH% On 6/24/07, Hassan Schroeder [EMAIL PROTECTED] wrote: On 6/23/07, Nikola Milutinovic [EMAIL PROTECTED] wrote: The answer is simple, imageUrl is calculated in the

Re: How to write this elegantly in JSP/EL

2007-06-22 Thread ben short
I think the following should do you img src=${imageUrl} alt=Author photo height=c:out value=${DATA_PHOTO_HEIGHT}/ width=c:out value=${DATA_PHOTO_WIDTH}/ / On 6/22/07, Johnny Kewl [EMAIL PROTECTED] wrote: Hi Nikola, never done it, but I think you have to override the resolver. ie instead of

Re: How to write this elegantly in JSP/EL

2007-06-22 Thread ben short
Well you learn something new everyday, I wasn't aware that ${X} worked like c:out value=${X}/ Also you talk about the DATA_PHOTO_HEIGHT and DATA_PHOTO_WIDTH properties being static propertys of the AuthorController class. Why not create a Constant object called PHOTO or something. make the

Re: Tomcat application connect via https only?

2007-06-20 Thread ben short
In the server.xml that comes with tomcat there are 2 HTTP/1.1 connectors defined. One is on port 8080 the other is on port 8443. Comment out the 8080 one and uncomemnt the 8443 one and change the port to 443. Install your cert and you should be good to go. Regards Ben Short On 6/20/07

Re: Tomcat application connect via https only?

2007-06-20 Thread ben short
on the server can only be connected to via HTTPS, correct? Any way to do it just for one app? Nick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] rg] On Behalf Of ben short Sent: Wednesday, June 20, 2007 11:04 AM To: Tomcat Users List Subject: Re: Tomcat application connect via

Re: Design

2007-06-19 Thread ben short
Id suggest having a look at the spring web mvc stuff it can help you simplify form submissions by mapping request params to objects so you don't have to do, although there will be a slight learning curve. Just my 2 pence :) On 6/19/07, Kevin Wilhelm [EMAIL PROTECTED] wrote: I'd take the

Re: Design

2007-06-19 Thread ben short
In learning the spring frameworks, or learning any new technology. On 6/19/07, Mohammed Zabin [EMAIL PROTECTED] wrote: What learning curve? On 6/19/07, ben short [EMAIL PROTECTED] wrote: Id suggest having a look at the spring web mvc stuff it can help you simplify form submissions

Apache 2.2 + Tomcat 6 + Mod_JK 1.2.23 + Session Clustering

2007-06-18 Thread ben short
Hi All, I'm trying to setup session clustering between two Tomcat 6.0.13 instances with Apache 2.2 and Mod JK 1.2.23. The problem I'm having is that every request returns me a new session so the users state is not kept, So i assume that the clustering is not configured correctly. Looking at

Re: Apache 2.2 + Tomcat 6 + Mod_JK 1.2.23 + Session Clustering

2007-06-18 Thread ben short
] [25137:8064] [debug] service::jk_lb_worker.c (): recoverable error... will try to recover on other worker [Mon Jun 18 12:29:46 2007] [25137:8064] [info] service::jk_lb_worker.c (1160): All tomcat instances are busy or in error state On 6/18/07, ben short [EMAIL PROTECTED] wrote: Hi All, I'm

Re: JSVC with JDK 6 on Intel Xenon x86_64

2007-06-14 Thread ben short
to be i386 and recompile. You could also edit location.c and add the right path and recompile. ben short [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I'm trying to compile jsvc on a RedHat 4 ES box. I have installed JDK 6 and typing java -version at the shell prompt tells me its

JSVC with JDK 6 on Intel Xenon x86_64

2007-06-13 Thread ben short
Hi, I'm trying to compile jsvc on a RedHat 4 ES box. I have installed JDK 6 and typing java -version at the shell prompt tells me its installed OK. I then compile jsvc with that jdk and it completes ok. When I try and run the following startup script I get the following debug output.

Re: Cookie Rookie - cannot delete session cookie

2007-06-01 Thread ben short
Hi, To delete a cookie you have to set its max age to 0. Calling invalidate on the httpsession will delete the cookie that holds the session id, wont it? request.getSession().invalidate() Ben On 6/1/07, Tim Funk [EMAIL PROTECTED] wrote: There is nothing in the servelt api to explicitly

Re: FarmWarDeployer

2007-05-31 Thread ben short
-listen/ watchEnabled=false/ I assumed that the deployDir could be anywhere as long as it was accessible to the tomcat user. But after searching nabble I tried setting it to the webapps dir and it all sprung into life. On 5/30/07, ben short [EMAIL PROTECTED] wrote: Hi, After

FarmWarDeployer

2007-05-30 Thread ben short
org.apache.catalina.cluster.deploy.WarWatcher check The ROOT.war is in tomcat 1 and tomcat 2 deployDir, but is not in either tomcats manager app or accessible via the webapps url. Can anyone give me some help with getting this going? Regards Ben Short

Re: FarmWarDeployer

2007-05-30 Thread ben short
=node01 [1] http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html On 5/30/07, ben short [EMAIL PROTECTED] wrote: Hi, I'm trying to setup a cluster of two tomcats and use the Tomcat 1 server.conf Cluster className=org.apache.catalina.cluster.tcp.SimpleTcpCluster managerClassName

Re: pre-compile

2007-05-25 Thread ben short
. Thanks a lot. Now, I need to monitor if this change won't bring me some side effect. -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome de ben short Enviada em: quinta-feira, 24 de maio de 2007 17:52 Para: Tomcat Users List Assunto: Re: pre-compile Looks

Re: How to monitor Tomcat Server.

2007-05-24 Thread ben short
How about Nagios [1]. It can check allsort of things. And you can set it up to send email/sms notifications. [1] http://nagios.org/ On 5/24/07, Neil Meyer [EMAIL PROTECTED] wrote: Hi, I have found from one of these group the following monitor tool. www.appmanager.com You will find a tool

Re: How to monitor Tomcat Server.

2007-05-24 Thread ben short
I would think that they have apache httpd running in font of tomcat and the page is displayed by that. On 5/24/07, Praveen Kumar [EMAIL PROTECTED] wrote: Thanks for your ans. They should provide some option saying send mail to x before shutdown. That will be more helpful. And one

Re: How to monitor Tomcat Server.

2007-05-24 Thread ben short
I'd still recommend Nagios to do the monitoring, far cheaper than hiring someone to do the checking 24*7. Also you'll get an instant notification of when things go bad, rather then in 2 hours time when someone checks it. You could setup 2 instances of nagios.. get them to monitor each other and

Re: pre-compile

2007-05-24 Thread ben short
The maven config is easier on the eye ;) On 5/24/07, Milanez, Marcus [EMAIL PROTECTED] wrote: See if it helps you then... target name=generate_jsp_java echoGenerating .java files from .jsp files/echo taskdef classname=org.apache.jasper.JspC name=jasper2

Re: pre-compile

2007-05-24 Thread ben short
: org.apache.taglibs.standard.tag.rt.core.ForTokensTag.setItems(Ljava/lang/Str ing;)V -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome de ben short Enviada em: quinta-feira, 24 de maio de 2007 17:06 Para: Tomcat Users List Assunto: Re: pre-compile Have a look at this maven 2 plugin

Re: XFire Spring Web Services

2007-05-23 Thread ben short
What makes you think it wouldnt? On 5/23/07, Velidanda Srinivas [EMAIL PROTECTED] wrote: Hi, Does Tomcat 6.013 support XFire Spring Web Services? Thanks Regards, Srinivas Velidanda. This e-mail has been scanned for all

Re: XFire Spring Web Services

2007-05-23 Thread ben short
I have used Spring's HTTP invoker with Tomcat 6 and it works fine. So I dont see a reason why XFire shouldnt work too. On 5/23/07, ben short [EMAIL PROTECTED] wrote: What makes you think it wouldnt? On 5/23/07, Velidanda Srinivas [EMAIL PROTECTED] wrote: Hi, Does Tomcat 6.013 support XFire

Re: XFire Spring Web Services

2007-05-23 Thread ben short
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of ben short Sent: 23 May 2007 16:10 To: Tomcat Users List Subject: Re: XFire Spring Web Services I have used Spring's HTTP invoker with Tomcat 6 and it works fine. So I dont see a reason why XFire shouldnt work too. On 5

Re: XFire Spring Web Services

2007-05-23 Thread ben short
And also here... http://xfire.codehaus.org/Spring+Remoting On 5/23/07, ben short [EMAIL PROTECTED] wrote: Take a look at the manual for a simple example.. http://static.springframework.org/spring/docs/2.0.x/reference/remoting.html#remoting-web-services-xfire On 5/23/07, ben short [EMAIL

Re: JDBC

2007-05-22 Thread ben short
Have a look here.. http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html On 5/22/07, Mohammed Zabin [EMAIL PROTECTED] wrote: Hi All Am new on this, i want to know how to configure Database Connection Pooling to use Oracle Database?? anyhelp will be appreciated. Jotnarta

How to increase timeout while deploying war via the manager webapp

2007-05-21 Thread ben short
Hi, I am trying to deploy a large war via the manager webapp over a slow connection. After about 10 mins the connection times out. Is it possible to increase this timeout period? Regards Ben Short - To start a new topic, e

Re: How to increase timeout while deploying war via the manager webapp

2007-05-21 Thread ben short
. Many Thanks On 5/21/07, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: there is a disableUploadTimeout flag on the Connector element, are you sure tomcat is timing out the connection? Filip ben short wrote: Hi, I am trying to deploy a large war via the manager webapp over a slow connection

Re: Problem with jsvc

2007-05-16 Thread ben short
Hi, What OS are you on? On linux I do the following and it works fine for me. See the docs here [1] cd $CATALINA_HOME/bin tar xvfz jsvc.tar.gz cd jsvc-src autoconf ./configure --with-java=$JAVA_HOME make cp jsvc .. cd .. [1]

Re: Further documentation on j_security_check

2007-01-24 Thread ben short
Langas, Probably best you look at the source code then. Ben On 1/24/07, Langas de los Langas [EMAIL PROTECTED] wrote: Thanks for the feedback, but I had already checked that documentation. I want to understand j_security_check on a deeper level; I especifically want to know how the process

Re: Further documentation on j_security_check

2007-01-24 Thread ben short
, and excuse me if this sounds dumb, but where can I look up the source code? From: ben short [EMAIL PROTECTED] Reply-To: Tomcat Users List users@tomcat.apache.org To: Tomcat Users List users@tomcat.apache.org Subject: Re: Further documentation on j_security_check Date: Wed, 24 Jan 2007 13:38:52 +

Re: Embedded Tomcat and application communication

2007-01-23 Thread ben short
Hi, I have done something similar, but used Jetty [1] as I couldn't figure out how to get tomcat to do it.. My application registers a servlet and starts jetty. the servlet gets the interface to the application via a static method. But it all works OK. Maybe you could set the application

Re: Embedded Tomcat and application communication

2007-01-23 Thread ben short
, com.mycompany.myapp.IWebservice); servletHolder.setInitParameter(service-class, com.mycompany.myapp.WebserviceImp); mJettyServer.start(); Ben On 1/23/07, ben short [EMAIL PROTECTED] wrote: Hi, I have done something similar, but used Jetty [1] as I couldn't figure out how to get tomcat to do it.. My

Tomcat and JSTL 1.2

2007-01-09 Thread ben short
Hi all, Im trying to use jstl 1.2 with tomcat 5.5.20 and java 1.5.0_05-b05. My webapp deploys ok but when I browse to it I get the following exception. xception org.apache.jasper.JasperException: Unable to read TLD META-INF/c.tld from JAR file

Re: Tomcat and JSTL 1.2

2007-01-09 Thread ben short
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ben short Sent: Tuesday, January 09, 2007 12:08 PM To: Tomcat Users List Subject: Tomcat and JSTL 1.2 Hi all, Im trying to use jstl 1.2 with tomcat 5.5.20 and java 1.5.0_05-b05. My webapp deploys ok but when I browse to it I get

Re: Tomcat and JSTL 1.2

2007-01-09 Thread ben short
Tim, Thats what I thought, but I check and double checked and the jstl-1.2.jar file is in the correct location. It also has the c.tld inside it. On 1/9/07, Tim Funk [EMAIL PROTECTED] wrote: Looks like you are missing the JSTL jar files whihc need to be in WEB-INF/lib -Tim ben short wrote

Re: Tomcat and JSTL 1.2

2007-01-09 Thread ben short
%@ taglib uri=http://java.sun.com/jsp/jstl/core; prefix=c % -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ben short Sent: Tuesday, January 09, 2007 12:45 PM To: Tomcat Users List Subject: Re: Tomcat and JSTL 1.2 Tim, Thats what I thought, but I check

Re: Small CMS

2007-01-07 Thread ben short
HI, Maybe this will help... http://www.java-source.net/open-source/content-managment-systems Ben On 1/7/07, Dima Retov [EMAIL PROTECTED] wrote: Please, advise small CMS for tomcat. I need smallest possible CMS with set of skins to rapidly setup several sites. I tried several CMS but they

Re: Standards Complaint Browser Campaign

2007-01-06 Thread ben short
Um your joking right? Tomcat dosent actually create any of the html, thats up to your servlets/jsp. Unless you mean the Tomcat manager webapp. I havent had any problems with it and have used a few different browsers to acces it. On 1/6/07, Pierre Goupil [EMAIL PROTECTED] wrote: Hello, folks !

Re: Standards Complaint Browser Campaign

2007-01-06 Thread ben short
that the JSP was converted into HTML by Tomcat ? Regards, Pierre 2007/1/6, ben short [EMAIL PROTECTED]: Um your joking right? Tomcat dosent actually create any of the html, thats up to your servlets/jsp. Unless you mean the Tomcat manager webapp. I havent had any problems with it and have

Re: from https to http?

2007-01-04 Thread ben short
Hi Joe, Have a look at the Acegi Security [1] stuff if your using spring. This will allow you to configure what paths require https and redirect the incomming requests if they are not https. There is a catalina project too [2] but im not to sure what that does, but you never know it might be of

Re: Virtual Hosts

2006-12-28 Thread ben short
I have used something like the following with mod proxy. This goes in your apache config file VirtualHost 10.0.0.10:80 ServerName www.domainname.co.uk ServerAlias www.domainname.com ProxyPass / http://192.168.100.20:8080/yourwebapp/ ProxyPassReverse / http://192.168.100.20:8080/youwebapp/

Re: Notification of expiring sessions

2006-12-19 Thread ben short
could grab the requestedSessionId from the request and then use that to look up the session data. I know that tomcat provides some way of persisting session but the documentation doesn't seem to be very good. Ben On 12/19/06, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: ben short [mailto

Re: webapp management

2006-11-26 Thread ben short
Hi, If you are using maven you could try the tomcat plugin http://mojo.codehaus.org/tomcat-maven-plugin/introduction.html Or the cargo plugin. http://cargo.codehaus.org/ Ben On 11/26/06, Pierre Goupil [EMAIL PROTECTED] wrote: Hi all there ! After my bad experience with Eclipse JST / WST,

Re: Solaris 10 Apache 2 Tomcat mod_jk

2006-11-24 Thread ben short
: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ben, ben short wrote: Rainer, After looking at the package on the blastwave site i noticed it has Apache 2.2 prefork MPM as a dependancy. Why are you using a 3rd-party distribution of mod_jk instead of the official one? I didn't even though 3rd

Re: Solaris 10 Apache 2 Tomcat mod_jk

2006-11-24 Thread ben short
Chris, Are these not binary releases then? http://www.mirrorservice.org/sites/ftp.apache.org/tomcat/tomcat-connectors/jk/binaries/ On 11/24/06, Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ben, ben short wrote: Chris, Um, a good question. I

  1   2   >