Re: Using jasper

2009-10-21 Thread Ben Short
Sounds interesting I shall investigate. Many Thanks. 2009/10/21 Mark Thomas : > Ben Short wrote: >> Hi Mark, >> >> Id like to store my jsp files in a database. When a request comes into >> my web app I want to look up the jsp file based on the requested url, >>

Re: Using jasper

2009-10-21 Thread Ben Short
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 : > B

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-uns

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 multip

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

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 > Apac

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 m

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 4,

Tomcat 6.0.13 Expire sessions via manager webapp

2007-12-17 Thread ben short
sessions >=30 minutes:36264 sessions Also shouldn't the 36K sessions that >=30 Min's get expired? 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: 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 numbe

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. > > Wha

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 u

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 a

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: Tomcat 6 on ubuntu linux(Fiesty Fawn)

2007-10-08 Thread ben short
> On 10/8/07, ben short <[EMAIL PROTECTED]> wrote: > > > > 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,

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 us

Re: Tomcat 6 on ubuntu linux(Fiesty Fawn)

2007-10-08 Thread ben short
.1-1.4.2.0/ java-gcj/ .java-gcj.jinfo > > My jvm 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... >

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: 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: - > >

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 to

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 man

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 Ap

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 needed/requ

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 attac

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 Schiegl

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

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 PROTEC

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
t; me know. > > The patch is not well tested, don't go straight 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. T

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
> not very old, so we didn't experience the bug before. > > 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 si

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
nd one good 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

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
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/1.1 200 OK Date: Tue, 31 Jul 2007 14:57:25 GMT Server: Apache/2.2.4 (Unix) mod_ssl/2.2.4 OpenSSL/0.9.7a mod_jk/1.2.23 Content-Length: 1090 ***NOTE every

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. >

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
ders ok 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

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: [EMA

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
on of +/- 15% load > difference relative to the arithmetic mean over a 10 minute interval 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

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 strea

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
stickyness, even if you use 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 wro

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
/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 have a odd issue occurring with my tomcat cluster serving ~50 lines > >

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
Hi, I have a odd issue occurring with my tomcat cluster serving ~50 lines of the page from a stopped webapp. My setup is as follows... Box 1 Apache running a jk mod loadbalancer. It loadbalances between an instance of tomcat on this box and on box 2. Box 2 Apache running a jk mod loadbalancer

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" > Sent: Sunday, July 29, 2007 4:47 AM > Subject: Resource Injection > > > >I want to use Resource Injec

Re: Logging all data sent to client

2007-07-25 Thread ben short
pression output 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

Re: Logging all data sent to client

2007-07-25 Thread ben short
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 nece

Re: Logging all data sent to client

2007-07-24 Thread ben short
ethods I need to override as you have pointed out. > > > > On 7/24/07, Tim Funk <[EMAIL PROTECTED]> wrote: > >> Yes - but tomcat doesn't have that functionality out of the box - you'd > >> need to write a filter which creates a HttpServletRequestWrapp

Re: Logging all data sent to client

2007-07-24 Thread ben short
ates 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

Re: Logging all data sent to client

2007-07-24 Thread ben short
which creates 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

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 th

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 a

Logging all data sent to client

2007-07-24 Thread ben short
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: 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 ago

Blank page shown while webapp is starting up

2007-07-04 Thread ben short
l 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: 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: 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: 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 E

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 contr

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 Which doesn't seem that bad to me. With your spring setup you could also create an HandlerInterceptor [1] and add it to your url mapping, that adds the PHOTO object to the model after the controller has process the requ

Re: How to write this elegantly in JSP/EL

2007-06-22 Thread ben short
I think the following should do you " 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 the standard resolver, which looks for standard properties or custom classes declared thru XML yours

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 c

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: 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 > simplif

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 appro

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:

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 the

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 jav

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. #!/bin/bas

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 del

Re: FarmWarDeployer

2007-05-31 Thread ben short
/07, ben short <[EMAIL PROTECTED]> wrote: Hi, After reviewing the cluster-howto [1] I have noticed a few bits I have forgotten to configure. Namely # Make sure your web.xml has the element or set at your # Make sure that jvmRoute attribute is set at your Engine [1] http://tomcat.apac

Re: FarmWarDeployer

2007-05-30 Thread ben short
/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 Tomcat 2

FarmWarDeployer

2007-05-30 Thread ben short
omcat 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 - To start a new topic, e-mail: users@tomcat.apache.o

Re: pre-compile

2007-05-25 Thread ben short
changed to 1.1.2. 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: pr

Re: pre-compile

2007-05-24 Thread ben short
Neves <[EMAIL PROTECTED]> wrote: I am using this plugin like in tutorial. But it's happing some strange with item: org.apache.taglibs.standard.tag.rt.core.ForTokensTag.setItems(Ljava/lang/Str ing;)V -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome d

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... Generating .java files from .jsp files

Re: pre-compile

2007-05-24 Thread ben short
Have a look at this maven 2 plugin http://mojo.codehaus.org/jspc-maven-plugin/usage.html Ben On 5/24/07, Rogerio Baldini das Neves <[EMAIL PROTECTED]> wrote: I need to do it in maven. But send me your solution, if I don't be able to solve my problem with maven, I will use yours. Thank you.

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 t

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
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: XFire Spring Web Services

2007-05-23 Thread ben short
I cant get the example you posted to work either and dont have time to look in to it in too much depth. Have a go with the one from the xfire site, I have used xfire before with spring at it was pretty easy to get going. Im sure you'll get there. On 5/23/07, ben short <[EMAIL PROTECTED

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 &

Re: XFire Spring Web Services

2007-05-23 Thread ben short
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 PROTECTED]> wrote: The configureation is all done in your spring config files in your webapp. All tom

Re: XFire Spring Web Services

2007-05-23 Thread ben short
-Original 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

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, > >

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 a

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. Jotnart

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

2007-05-21 Thread ben short
uming. Many Thanks On 5/21/07, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: there is a disableUploadTimeout flag on the 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

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: 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] http://tomcat.apache.org/tomcat-5.5-doc/setup

Re: Further documentation on j_security_check

2007-01-24 Thread ben short
27;s it! So, 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" >To: "Tomcat Users List" >Subject: Re: Further documentation on j_security_check >Dat

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 r

Re: Embedded Tomcat and application communication

2007-01-23 Thread ben short
HessianServlet" // class name ); servletHolder.setInitParameter("api-class", "com.mycompany.myapp.IWebservice"); servletHolder.setInitParameter("service-class", com.mycompany.myapp.WebserviceImp"); mJettyServer.start(); Ben On 1/23/07, ben short

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 interfa

Re: Tomcat and JSTL 1.2

2007-01-09 Thread ben short
-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 and double checked and the jstl-1.2.jar file is in the corr

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

Re: Tomcat and JSTL 1.2

2007-01-09 Thread ben short
iginal Message- 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

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 "file:/opt/apache-tomcat-5.5.20/webapps/basket/

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
e: Errr... I thought 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

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: 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

  1   2   >