Re: Scripted shutdown does not force JVM exit

2005-01-04 Thread Brett Randall
Both JBoss and Jetty force a proper shutdown.  I'll
probably go for 2/ and patch for myself.

Cheers
Brett

 --- QM [EMAIL PROTECTED] wrote: 
 On Sun, Jan 02, 2005 at 10:10:02AM +1100, Brett
 Randall wrote:
 : Yes, responsibility has been placed on developers
 and
 : architects, but a Tomcat admin who deploys
 : applications may not be in a position to hold them
 all
 : individually to account.
 
 This is a policy/political problem, then, and not a
 technology issue.
 If developers push sloppy, cranky code into a
 production environment and
 they're not held accountable for the results,
 well...
 
 Options:
 
 1/ replace the offending developers with people who
 understand and
 follow best practices.  Supplement this crew with a
 rigorous testing/QA
 phase to smoke out any honest mistakes.
 (If this is a vended/third-party app, put pressure
 on the vendor.)
 
 2/ Do a CVS pull and use/distribute your own
 Thread-Cleanup Tomcat.
 (Sounds like you already know where to make your
 change.)
 
 3/ Try to sway the Tomcat developers into folding #2
 into the mainline
 code.   
 (Good luck.)
 
 Should #3 pass, I suspect the next request would be
 for a JDBC
 connection cleanup Tomcat ;)
 
 -QM
 
 
 -- 
 
 software  -- http://www.brandxdev.net
 tech news -- http://www.RoarNetworX.com
 
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
  

Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



classloader problem in tomcat 5

2005-01-04 Thread ssk 2001
Hi,
I can able to start the tomcat5 ,but when i give the url it gives null pointer 
exception error
 
I think it is due to class loader problem , can any suggest on this...
ServletContext classloader[0]: class sun.misc.Launcher$ExtClassLoader
ServletContext classloader[1]: class sun.misc.Launcher$AppClassLoader
 
 
pls advice
thanks
ssk

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

soap on tomcat 5x

2005-01-04 Thread rashi.swayamprakash

hi,

I want to deploy Soap on Tomcat 5x.
There is problem in starting Tomcat.
Can anyone suggest the steps to rectify the problem




Confidentiality Notice

The information contained in this electronic message and any attachments to 
this message are intended
for the exclusive use of the addressee(s) and may contain confidential or 
privileged information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL 
PROTECTED] immediately
and destroy all copies of this message and any attachments.

Re: soap on tomcat 5x

2005-01-04 Thread Brett Randall
Step 1: Troll through the error logs.

 --- [EMAIL PROTECTED] wrote: 
 
 hi,
 
 I want to deploy Soap on Tomcat 5x.
 There is problem in starting Tomcat.
 Can anyone suggest the steps to rectify the problem
 
 
 
 
 Confidentiality Notice
 
 The information contained in this electronic message
 and any attachments to this message are intended
 for the exclusive use of the addressee(s) and may
 contain confidential or privileged information. If
 you are not the intended recipient, please notify
 the sender at Wipro or [EMAIL PROTECTED]
 immediately
 and destroy all copies of this message and any
attachments. 

Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Linux Threads

2005-01-04 Thread Matteo Turra
Hi, I use tomcat 5.0.28 + jk2 connector + Apache 2 on a Linux Suse sles8
and on Red Hat Enterprise.

I try to understand why on Suse with ps command I see multiple apache
and tomcat process and on Red Hat only one apache and one tomcat
process.

I read apache2 docs and with httpd -l command I saw both apache are
configured in prefork, this is the output:

[EMAIL PROTECTED] root]# httpd -l
Compiled in modules:
  core.c
  prefork.c
  http_core.c
  mod_so.c

(I guess prefork.c stands for prefork mpm, but I'm not sure)

How Apache and Tomcat manage threads in linux environment?

Where can I specify, how many threads and how many process for apache
and tomcat?

Why I see diff in process count between Suse and Red Hat?

Thanks in advance.

Matteo.

--
A very merry Christmas
And a happy New Year
Let's hope it's a good one
Without any fear
-- John Lennon
_

Matteo TURRA   mail: [EMAIL PROTECTED]
Analisi  sviluppo WEB tel: +39 051 61.11.430

KION Srl   web: www.kion.it
Via Cristoni, 86   tel: +39 051 61.11.411
40033 Casalecchio di Reno (BO) fax: +39 051 57.04.23
ITALIA
_




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Linux Threads

2005-01-04 Thread Mladen Turk
Matteo Turra wrote:
Hi, I use tomcat 5.0.28 + jk2 connector + Apache 2 on a Linux Suse sles8
and on Red Hat Enterprise.
Well, you missed the group. Some Apache users list would help more :).
I try to understand why on Suse with ps command I see multiple apache
and tomcat process and on Red Hat only one apache and one tomcat
process.
Tomcat runs inside JVM that has a single process per JVM.
[EMAIL PROTECTED] root]# httpd -l
Compiled in modules:
  core.c
  prefork.c
  http_core.c
  mod_so.c
(I guess prefork.c stands for prefork mpm, but I'm not sure)
Yes.
How Apache and Tomcat manage threads in linux environment?
There are no threads on prefork mpm.
Each client connection runs inside separate 'child' process.
Where can I specify, how many threads and how many process for apache
and tomcat?
You can not do that on prefork mpm.

Why I see diff in process count between Suse and Red Hat?
Probably the config is different.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Defining application Global properties.

2005-01-04 Thread Markus Schönhaber
haim wrote:
I would like to set up some application global properties.
I would like those properties to be available application width, and 
should be loaded as soon as the application loads no mater witch page 
was visit.
I guess I have few options for that , which one do you think is the best 
practice?

 1.  Using the init-param , but those are servelt related and not
application related ?
 2. Using java properties file , but now I need some one to load then
at server startup ?
 3.  Any other good Idea that you may think of?
Maybe
context-param
is what you are looking for.
Regards
  mks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: web.xml servlet mappings, url pattern and CGI.PATH_INFO (tomcat 4.1.31)

2005-01-04 Thread Ryan Stewart
I don't know anything about ColdFusion, but if I understand you right, you're 
wanting to tack extra information onto a url beyond the file name and retrieve 
it somewhere for use, like so:
http://server/context/index.cfm/someParam

Then the page is actually index.cfm, and when it is run it will be able to see 
the someParam. Is this correct? If so, my first thought is a query string. 
Can you use one instead of the above?

Next, here's why what you're trying to do with the url-pattern won't work. The 
'*' in a url-pattern isn't actually a normal wildcard. There are only a couple 
of specific ways it can be used:
1) /* or /something/* or /.../* - This is path mapping. When a request is made, 
the longest matching pattern is used.
2) *.something - This is extension mapping. Anything with the extension you 
specify will be matched.

(For full rules on url-pattern matching, see the Servlet spec, chapter 11.)

I suppose you could map a pattern like /cfm/* to your own servlet, which would 
extract the file name from the path and request it from the cfm servlet and 
also do something with your extra information.

This early in the morning, I can't think of a good way to do what you want 
easily.

-Original Message-
From: Jack Eidsness[EMAIL PROTECTED]
To: Tomcat Users Listtomcat-user@jakarta.apache.org
Date: Mon Jan 03 13:09:01 PST 2005
Subject: web.xml servlet mappings, url pattern and CGI.PATH_INFO (tomcat 4.1.31)

I am new to the J2EE world, so hopefully I will not use terms incorrectly.

Due to circumstances beyond my control, coldfusion has been retrofitted 
into a J2EE web application and I have recently taken on the task of 
trying to make previously existing cfm code work as part of a tomcat 
installation.   I have found (so far) only one thing that doesn't work 
like it used to, and its a significant problem for me.

CGI apps can have a false path appended after the script name, which is 
written into the CGI.PATH_INFO variable, so that it can be available to 
scripts.  It would seem that tomcat is less flexible than apache httpd 
about when this information will be supplied.  At least, jakarta-tomcat 
4.1.31 doesn't want to play ball.  I have not yet experimented with 
version 5.x.

I have found a lot of discussion of this matter, but no conclusive 
answer as to what the workaround is, nor, as i fear, that there is no 
viable workaround.

By default, my coldfusion war file came with this in the web.xml:

   servlet-mapping id=macromedia_mapping_3
  servlet-nameCfmServlet/servlet-name
  url-pattern*.cfm/url-pattern
   /servlet-mapping

attempting to browse (via the coyote thingie) to
http://{server}/cfusion/htdocs/index.cfm
will bring up the right page, but
http://{server}/cfusion/htdocs/index.cfm/fake_path
this gets me a 404.

So far, I have only found one way to make tomcat give me the correct 
PATH_INFO -
If I do this:
   url-pattern/htdocs/index.cfm/*/url-pattern
then I will be able to run the right script and CGI.PATH_INFO is set to 
/fake_path.

Naturally, if you have more than a couple situations where you use 
PATH_INFO, this configuration becomes quickly unmanageable, and 
unreasonable.  (grep -iRl path_info . will only get me so far)

Is there a way to make this work without naming every cfm file that 
might use PATH_INFO in the web.xml?

For anyone interested in helping, here are some things that I have tried 
that did not work (in each case, I have tried it as a replacement, 
breaking the normal way it works for possible experimental value, or as 
an additional servlet-mapping):

If I do this:
  url-pattern*.cfm/*/url-pattern
I get an error in the jakarta logs when the web.xml is read;

java.lang.IllegalArgumentException: Invalid url-pattern *.cfm/* in 
servlet mapping

I looked up the source code and it says you can't start a servlet 
mapping's url-pattern with *. and have a / in the pattern at once. :/

If I do this (nevermind that its not exactly what I want):
   url-pattern*.cfm*/url-pattern
Then the second * is not expanded as a wildcard. i.e. a file named 
index.cfm* (literal '*' character) could be processed as a cfm file.

If I do this
   url-pattern/*.cfm/*
I get a 404.

Thanks in advance for any time that any of you spend considering this issue,



___
Check-out GO.com
GO get your free GO E-Mail account with expanded storage of 6 MB!
http://mail.go.com



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat run as a daemon: Is jsvc reliable?

2005-01-04 Thread Matteo Turra
Hi, does anybody know if jsvc included in tomcat 5.0.28 is reliable for
production environment?

Thanks, Matteo.

--
A very merry Christmas
And a happy New Year
Let's hope it's a good one
Without any fear
-- John Lennon
_

Matteo TURRA   mail: [EMAIL PROTECTED]
Analisi  sviluppo WEB tel: +39 051 61.11.430

KION Srl   web: www.kion.it
Via Cristoni, 86   tel: +39 051 61.11.411
40033 Casalecchio di Reno (BO) fax: +39 051 57.04.23
ITALIA
_




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat run as a daemon: Is jsvc reliable?

2005-01-04 Thread Ben Souther
 Hi, does anybody know if jsvc included in tomcat 5.0.28 is 
 reliable for production environment?

Look for jsvc.tar.gz in Tomcat's bin directory.

You might want to see:
http://issues.apache.org/bugzilla/show_bug.cgi?id=30052

Also search the archives for this and the tomcat-dev list.
There was some discussion in the last week or two about the quality of
the version shipped with Tomcat vs the latest CVS head in the jsvc
project.
http://jakarta.apache.org/commons/daemon/




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Please recommend a Low Cost Tomcat Hosting platform

2005-01-04 Thread Paul Taylor
Hi
I have a Tomcat 4 Application ready to deploy as a WAR. It uses database 
pooling to connect to a MYSQL database. I recently selected a Tomcat 
hosting platform to deploy my application but the deployment is non 
-standard you have to copy various parts of the WAR to different 
locations which dont match the standard deployment and it doesnt use 
database pooling to connect to MYSQL. I have been unable to get my 
application to run on it because these issues.

This is not a high performance website and I do not need/cannot afford a 
dedicated server I just want to easily be able to deploy my application.

I am based in the UK so a UK/English Speaking host would be preferable.
Could anyone recommend a hostthat provides this straight forward 
deployment facilities.
Thanks paul

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Please recommend a Low Cost Tomcat Hosting platform

2005-01-04 Thread Guy Katz
you have http://www.webconexion.net based @ the uk.

-Original Message-
From: Paul Taylor [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 04, 2005 4:32 PM
To: Tomcat Users List
Subject: Please recommend a Low Cost Tomcat Hosting platform


Hi
I have a Tomcat 4 Application ready to deploy as a WAR. It uses database 
pooling to connect to a MYSQL database. I recently selected a Tomcat 
hosting platform to deploy my application but the deployment is non 
-standard you have to copy various parts of the WAR to different 
locations which dont match the standard deployment and it doesnt use 
database pooling to connect to MYSQL. I have been unable to get my 
application to run on it because these issues.

This is not a high performance website and I do not need/cannot afford a 
dedicated server I just want to easily be able to deploy my application.

I am based in the UK so a UK/English Speaking host would be preferable.

Could anyone recommend a hostthat provides this straight forward 
deployment facilities.
Thanks paul

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Please recommend a Low Cost Tomcat Hosting platform

2005-01-04 Thread Paul Taylor
Thanks, it loooks quite good but have you actually used it ?
Guy Katz wrote:
you have http://www.webconexion.net based @ the uk.
-Original Message-
From: Paul Taylor [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 04, 2005 4:32 PM
To: Tomcat Users List
Subject: Please recommend a Low Cost Tomcat Hosting platform
Hi
I have a Tomcat 4 Application ready to deploy as a WAR. It uses database 
pooling to connect to a MYSQL database. I recently selected a Tomcat 
hosting platform to deploy my application but the deployment is non 
-standard you have to copy various parts of the WAR to different 
locations which dont match the standard deployment and it doesnt use 
database pooling to connect to MYSQL. I have been unable to get my 
application to run on it because these issues.

This is not a high performance website and I do not need/cannot afford a 
dedicated server I just want to easily be able to deploy my application.

I am based in the UK so a UK/English Speaking host would be preferable.
Could anyone recommend a hostthat provides this straight forward 
deployment facilities.
Thanks paul

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Please recommend a Low Cost Tomcat Hosting platform

2005-01-04 Thread Mark Benussi
Paul,
I use a company called name on the net who work out at £100 a year. They 
support WAR deployment in a pure sense (my only comment would be they 
provide a Tomcat 5 container). Support is good, they are a small company and 
from that point of view you always get a quick response.

Original Message Follows
From: Paul Taylor [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Subject: Please recommend a Low Cost Tomcat Hosting platform
Date: Tue, 04 Jan 2005 14:32:12 +
Hi
I have a Tomcat 4 Application ready to deploy as a WAR. It uses database 
pooling to connect to a MYSQL database. I recently selected a Tomcat hosting 
platform to deploy my application but the deployment is non -standard you 
have to copy various parts of the WAR to different locations which dont 
match the standard deployment and it doesnt use database pooling to connect 
to MYSQL. I have been unable to get my application to run on it because 
these issues.

This is not a high performance website and I do not need/cannot afford a 
dedicated server I just want to easily be able to deploy my application.

I am based in the UK so a UK/English Speaking host would be preferable.
Could anyone recommend a hostthat provides this straight forward deployment 
facilities.
Thanks paul

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Please recommend a Low Cost Tomcat Hosting platform

2005-01-04 Thread Allistair Crossley
Hi,

Ad the url for that which may not have been obvious is www.nameonthe.net

Allistair.

 -Original Message-
 From: Mark Benussi [mailto:[EMAIL PROTECTED]
 Sent: 04 January 2005 14:39
 To: [EMAIL PROTECTED]; tomcat-user@jakarta.apache.org
 Subject: RE: Please recommend a Low Cost Tomcat Hosting platform
 
 
 Paul,
 
 I use a company called name on the net who work out at £100 a 
 year. They 
 support WAR deployment in a pure sense (my only comment would be they 
 provide a Tomcat 5 container). Support is good, they are a 
 small company and 
 from that point of view you always get a quick response.
 
 Original Message Follows
 From: Paul Taylor [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: Tomcat Users List tomcat-user@jakarta.apache.org
 Subject: Please recommend a Low Cost Tomcat Hosting platform
 Date: Tue, 04 Jan 2005 14:32:12 +
 
 Hi
 I have a Tomcat 4 Application ready to deploy as a WAR. It 
 uses database 
 pooling to connect to a MYSQL database. I recently selected a 
 Tomcat hosting 
 platform to deploy my application but the deployment is non 
 -standard you 
 have to copy various parts of the WAR to different locations 
 which dont 
 match the standard deployment and it doesnt use database 
 pooling to connect 
 to MYSQL. I have been unable to get my application to run on 
 it because 
 these issues.
 
 This is not a high performance website and I do not 
 need/cannot afford a 
 dedicated server I just want to easily be able to deploy my 
 application.
 
 I am based in the UK so a UK/English Speaking host would be 
 preferable.
 
 Could anyone recommend a hostthat provides this straight 
 forward deployment 
 facilities.
 Thanks paul
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Please recommend a Low Cost Tomcat Hosting platform

2005-01-04 Thread Paul Taylor
I tried
nameonthenet.co.uk and it cant find it and nameonthenet.com is up for sale
Mark Benussi wrote:
Paul,
I use a company called name on the net who work out at £100 a year. 
They support WAR deployment in a pure sense (my only comment would be 
they provide a Tomcat 5 container). Support is good, they are a small 
company and from that point of view you always get a quick response.

Original Message Follows
From: Paul Taylor [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Subject: Please recommend a Low Cost Tomcat Hosting platform
Date: Tue, 04 Jan 2005 14:32:12 +
Hi
I have a Tomcat 4 Application ready to deploy as a WAR. It uses 
database pooling to connect to a MYSQL database. I recently selected a 
Tomcat hosting platform to deploy my application but the deployment is 
non -standard you have to copy various parts of the WAR to different 
locations which dont match the standard deployment and it doesnt use 
database pooling to connect to MYSQL. I have been unable to get my 
application to run on it because these issues.

This is not a high performance website and I do not need/cannot afford 
a dedicated server I just want to easily be able to deploy my 
application.

I am based in the UK so a UK/English Speaking host would be preferable.
Could anyone recommend a hostthat provides this straight forward 
deployment facilities.
Thanks paul

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Please recommend a Low Cost Tomcat Hosting platform

2005-01-04 Thread Pete Stevens

My company provide virtual linux servers so you can run your own copy of
Tomcat  Mysql as you desire.

http://www.mythic-beasts.com/vds.html
http://www.mythic-beasts.com/support/topic_vds_java.html

£150 / year for a 64MB memory server up to £400 for a 256MB one.

We're based in Cambridge and London UK.

Yours,

Pete Stevens

On Tue, 4 Jan 2005, Paul Taylor wrote:

 Thanks, it loooks quite good but have you actually used it ?
 Guy Katz wrote:

 you have http://www.webconexion.net based @ the uk.
 
 -Original Message-
 From: Paul Taylor [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, January 04, 2005 4:32 PM
 To: Tomcat Users List
 Subject: Please recommend a Low Cost Tomcat Hosting platform
 
 
 Hi
 I have a Tomcat 4 Application ready to deploy as a WAR. It uses database
 pooling to connect to a MYSQL database. I recently selected a Tomcat
 hosting platform to deploy my application but the deployment is non
 -standard you have to copy various parts of the WAR to different
 locations which dont match the standard deployment and it doesnt use
 database pooling to connect to MYSQL. I have been unable to get my
 application to run on it because these issues.
 
 This is not a high performance website and I do not need/cannot afford a
 dedicated server I just want to easily be able to deploy my application.
 
 I am based in the UK so a UK/English Speaking host would be preferable.
 
 Could anyone recommend a hostthat provides this straight forward
 deployment facilities.
 Thanks paul
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



--
Pete Stevens
[EMAIL PROTECTED]
http://www.ex-parrot.com/~pete/

People always ask me, Where were you when Kennedy was shot? Well, I don't
 have an alibi.
 -- Emo Philips

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Please recommend a Low Cost Tomcat Hosting platform

2005-01-04 Thread Mark Benussi
apols www.nameonthe.net
Original Message Follows
From: Paul Taylor [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Mark Benussi [EMAIL PROTECTED]
CC: tomcat-user@jakarta.apache.org
Subject: Re: Please recommend a Low Cost Tomcat Hosting platform
Date: Tue, 04 Jan 2005 14:49:00 +
I tried
nameonthenet.co.uk and it cant find it and nameonthenet.com is up for sale
Mark Benussi wrote:
Paul,
I use a company called name on the net who work out at £100 a year. They 
support WAR deployment in a pure sense (my only comment would be they 
provide a Tomcat 5 container). Support is good, they are a small company 
and from that point of view you always get a quick response.

Original Message Follows
From: Paul Taylor [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Subject: Please recommend a Low Cost Tomcat Hosting platform
Date: Tue, 04 Jan 2005 14:32:12 +
Hi
I have a Tomcat 4 Application ready to deploy as a WAR. It uses database 
pooling to connect to a MYSQL database. I recently selected a Tomcat 
hosting platform to deploy my application but the deployment is non 
-standard you have to copy various parts of the WAR to different locations 
which dont match the standard deployment and it doesnt use database pooling 
to connect to MYSQL. I have been unable to get my application to run on it 
because these issues.

This is not a high performance website and I do not need/cannot afford a 
dedicated server I just want to easily be able to deploy my application.

I am based in the UK so a UK/English Speaking host would be preferable.
Could anyone recommend a hostthat provides this straight forward deployment 
facilities.
Thanks paul

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Please recommend a Low Cost Tomcat Hosting platform

2005-01-04 Thread Siarhei Dudzin
I use a web hosting company for 62$ per year (tomcat, mysql, ftp,
e-mail, etc.). Only 1 problem their site isn't in english. If you want
to try send me an e-mail I'll give you their URL and e-mail.


On Tue, 04 Jan 2005 14:39:20 +, Mark Benussi
[EMAIL PROTECTED] wrote:
 Paul,
 
 I use a company called name on the net who work out at £100 a year. They
 support WAR deployment in a pure sense (my only comment would be they
 provide a Tomcat 5 container). Support is good, they are a small company and
 from that point of view you always get a quick response.
 
 Original Message Follows
 From: Paul Taylor [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: Tomcat Users List tomcat-user@jakarta.apache.org
 Subject: Please recommend a Low Cost Tomcat Hosting platform
 Date: Tue, 04 Jan 2005 14:32:12 +
 
 Hi
 I have a Tomcat 4 Application ready to deploy as a WAR. It uses database
 pooling to connect to a MYSQL database. I recently selected a Tomcat hosting
 platform to deploy my application but the deployment is non -standard you
 have to copy various parts of the WAR to different locations which dont
 match the standard deployment and it doesnt use database pooling to connect
 to MYSQL. I have been unable to get my application to run on it because
 these issues.
 
 This is not a high performance website and I do not need/cannot afford a
 dedicated server I just want to easily be able to deploy my application.
 
 I am based in the UK so a UK/English Speaking host would be preferable.
 
 Could anyone recommend a hostthat provides this straight forward deployment
 facilities.
 Thanks paul
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Context for User development accounts??

2005-01-04 Thread Dwayne Ghant
Well QM ,
You pretty much got the idea.
I would like all context to load automatically and I already have
DefaultContext reloadable=true/
And I thought that was  enough.
But now you tell me of an attribute that I could even find in the
Server Configuration Reference ... The Context Container
documentation. I guess that I would have to create a Context 
loadOnStartup=true ... /
for every developer on the machine?

Please confirm..
Thank you for you time.
QM wrote:
On Mon, Jan 03, 2005 at 12:43:45PM -0800, Dwayne Ghant wrote:
: I have configured tomcat to read
: all user account on a local machine and it worked,
: but if I don't put a context in the
: server.xml file for /~username,
: then how does it get loaded and sence it seems
: to be loading automatically then
: how can I set reloadable=true of I can't find
: the context
If there's no Context/ element (neither in server.xml, nor
context.xml) but loadOnStartup=true, then Tomcat loads all contexts with
reasonable defaults.
Solution: create an explicit Context/ element for the context and
configure it to your heart's delight.
If I've misunderstood your question, please elaborate =)
-QM
 


--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


reset Resource with JMX?

2005-01-04 Thread Andy Kriger
I have a webapp that defines a JDBC connection pool resource in
META-INF/context.xml. When I made a change to the resource name and
restarted the webapp, I found that Tomcat did not pick up the new name
- my JSP did not work and JConsole showed the old name for the
DataSource. I had to restart Tomcat to effect the change. I'm guessing
that though the resource is defined in the webapp, because the
connection pool is controlled by Tomcat maybe changes aren't picked up
on webapp restart?

Though I looked around the JMX beans exposed by JConsole and did not
see a way to refresh the Resource there, I figure it doesn't hurt to
ask the list if anyone knows if this is possible.

thx
andy

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: reset Resource with JMX?

2005-01-04 Thread Tim Funk
You can use the JMXProxy Servlet in the manager app.
-Tim
Andy Kriger wrote:
I have a webapp that defines a JDBC connection pool resource in
META-INF/context.xml. When I made a change to the resource name and
restarted the webapp, I found that Tomcat did not pick up the new name
- my JSP did not work and JConsole showed the old name for the
DataSource. I had to restart Tomcat to effect the change. I'm guessing
that though the resource is defined in the webapp, because the
connection pool is controlled by Tomcat maybe changes aren't picked up
on webapp restart?
Though I looked around the JMX beans exposed by JConsole and did not
see a way to refresh the Resource there, I figure it doesn't hurt to
ask the list if anyone knows if this is possible.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Speed issues with SQL Server 2000 and JTDS

2005-01-04 Thread Charles P. Killmer
Could this speed issue be caused by a poor setup?  When I remove the
database connection from my code, the pages run fast.  Though I
obviously need the database portion of the code in there.  

Thanks
Charles
 

-Original Message-
From: David Boyer [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 03, 2005 9:05 AM
To: tomcat-user@jakarta.apache.org; Charles P. Killmer
Subject: RE: Speed issues with SQL Server 2000 and JTDS

You could try using something like jProfiler to see where the bottleneck
is. 
 
I don't see anything unusual in your code example, although it looks
like the only thing it does is create the connection. I use jTDS and it
works fine without doing anything exceptional. 
 
 
 
[EMAIL PROTECTED] 01/03 8:55 am 
 
This is some representative code that is being very slow.  
 
 
import java.sql.*; 
 
 
public class SomeClass { 
 
   public Connection conn; 
 
public int ID; 
 
public String Name; 
 
public String Address; 
 
public String City; 
 
public String OtherStuff; 
 
 
   public SomeClass() throws Exception { 
 
   try { 
 
   Class.forName(net.sourceforge.jtds.jdbc.Driver); 
 
   } catch (ClassNotFoundException ex) { 
 
   } 
 
   try { 
 
   conn = 
 
DriverManager.getConnection(jdbc:jtds:sqlserver://111.222.333.444:1433/ 
 
someDB;user=someuser;password=somepassword); 
 
   } catch (Exception e) { 
 
   throw e; 
 
   } 
 
   } 
 
 
  public int Audit() throws Exception { 
 
 return 5; 
 
  } 
 
 
  public ResultSet GetData() throws Exception { 
 
 ResultSet rs = null; 
 
 return rs; 
 
  } 
 
 
  public int DeleteSomething() throws Exception { 
 
 return 2; 
 
  } 
 
} 
 
 
I don't have anything special in any XML files.  I will try to make my 
 
code work like yours is.  But if someone has an idea why the way I have 
 
it written is slow, I would love to hear it. 
 
 
Thank You 
 
Charles 
 
 
-Original Message- 
 
From: Randall Svancara [mailto:[EMAIL PROTECTED] 
 
Sent: Monday, January 03, 2005 8:20 AM 
 
To: Tomcat Users List 
 
Subject: RE: Speed issues with SQL Server 2000 and JTDS 
 
 
I have been using JTDS with SQL Server 2000 in conjunction with Tomcat 
 
without any problems.  Perhaps if you post some your database connection

 
code, someone could provide you with assistance.  You might also try 
 
posting to the JTDS Mailing list.  Are you using Database Connection 
 
Pooling (DBCP)?? 
 
 
I am including an example the code I use to access a stored procedure on

 
SQL Server 2000 using DBCP.  
 
 
/*  Here are the things I import */ 
 
import java.sql.Connection; 
 
import java.sql.Statement; 
 
import java.sql.ResultSet; 
 
import java.sql.SQLException; 
 
import javax.naming.*; 
 
import javax.sql.*; 
 
 
 
Public class SomeClass{ 
 
 
 
* A public class that returns an Applicant object 
 
* @return the applicant as applicant 
 
*/ 
 
public Applicant SomeApplicantMethod(){ 
 
   Applicant app = new Applicant(); 
 
   Connection conn = null; 
 
   Statement stmt = null; 
 
   ResultSet rst = null; 
 

 
   try{ 
 
   Context ctx = new InitialContext(); /* Declare initial 
 
context */ 
 
   if(ctx == null ){ 
 
   logger.error(Error creating new context for some 
 
reason); 
 
   throw new Exception(No context); 
 
   } 
 
   /* Throw an exception if it is null */ 
 
   DataSource ds = 
 
(DataSource)ctx.lookup(java:comp/env/jdbc/summitexec); 
 

 
   conn = ds.getConnection(); 
 

 
   if(conn != null)  { 
 

 
   stmt = conn.createStatement(); 
 

 
   rst = stmt.executeQuery(sp_SelectApplicant + 
 
canidateid); 
 

 
   while(rst.next()){ 
 
 
// Add result set to applicant object, 
 
NOT SHOWN HERE!!! 
 
 
   } 
 

 
 
   //Make sure you close everything, else you end up 
 
with object leaks 
 
   if(stmt != null){ 
 
   stmt.close(); 
 
   } 
 

 
   if(rst != null){ 
 
   rst.close(); 
 
   } 
 

 
   if(conn != null){ 
 
   conn.close(); 
 
   } 
 
   } 
 
   }catch(Exception E){ 
 
   logger.error(EXCEPTION ERROR Getting Applicant: + 
 
E.toString()); 
 
   } finally{ 
 

 
   // Close out of any open connections if they exist, this is 
 
important 
 
   // in order to release resources for connection pooling 
 
   try{ 
 
   if(stmt != null){ 
 
   stmt.close(); 
 
   stmt=null; 
 
   } 
 
   }catch(SQLException E){} 
 

 
   try{ 
 
   if(rst != null) { 
 
   rst.close(); 
 
   rst = null; 
 
  

Re: Tomcat run as a daemon: Is jsvc reliable?

2005-01-04 Thread Wade Chandler
Matteo Turra wrote:
Hi, does anybody know if jsvc included in tomcat 5.0.28 is reliable for
production environment?
Thanks, Matteo.
--
A very merry Christmas
And a happy New Year
Let's hope it's a good one
Without any fear
-- John Lennon
_
Matteo TURRA   mail: [EMAIL PROTECTED]
Analisi  sviluppo WEB tel: +39 051 61.11.430
KION Srl   web: www.kion.it
Via Cristoni, 86   tel: +39 051 61.11.411
40033 Casalecchio di Reno (BO) fax: +39 051 57.04.23
ITALIA
_


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

You need to get the version out of cvs from the commons-daemon project 
and build it yourself.  We just had a run over this recently, so you 
should be able to find talk about it in last months archive or this one.

Wade
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Please recommend a Low Cost Tomcat Hosting platform

2005-01-04 Thread Paul Taylor
I've taken a look at the recommended options and this is my view from 
looking at the Websites provided.

1. WebConnexions has very little information regarding JSPs (there is 
only one question regarding Java on Support) and the pricing ids 
unfairly skewed to be cheaper for US accounts. Im a bit dubious about it 
because I have already signed up with a supposed Java Host and found it 
lacking.
2. MythicBeasts is very flexible but would require me to deal with the 
administration of the whole machine which isnt something I really want 
todo, having deployed by application I want to just leave it be as much 
as possible.
3. NameOnTheNet looks promising, they only seem to do Java Hosting and 
there is alot of support information and they are based in the UK so I 
think I might give them a try.
4. AssortedInternet look OK, but they seem to cover so many different 
types of hosting I am unsure of how important Java Hosting is, also 
based in US.

Paul Taylor wrote:
Hi
I have a Tomcat 4 Application ready to deploy as a WAR. It uses 
database pooling to connect to a MYSQL database. I recently selected a 
Tomcat hosting platform to deploy my application but the deployment is 
non -standard you have to copy various parts of the WAR to different 
locations which dont match the standard deployment and it doesnt use 
database pooling to connect to MYSQL. I have been unable to get my 
application to run on it because these issues.

This is not a high performance website and I do not need/cannot afford 
a dedicated server I just want to easily be able to deploy my 
application.

I am based in the UK so a UK/English Speaking host would be preferable.
Could anyone recommend a hostthat provides this straight forward 
deployment facilities.
Thanks paul


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Please recommend a Low Cost Tomcat Hosting platform

2005-01-04 Thread Guy Katz
www.javaservlethosting.com is also considered one of the best out there.

-Original Message-
From: Paul Taylor [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 04, 2005 6:27 PM
To: [EMAIL PROTECTED]
Cc: Tomcat Users List
Subject: Re: Please recommend a Low Cost Tomcat Hosting platform


I've taken a look at the recommended options and this is my view from 
looking at the Websites provided.

1. WebConnexions has very little information regarding JSPs (there is 
only one question regarding Java on Support) and the pricing ids 
unfairly skewed to be cheaper for US accounts. Im a bit dubious about it 
because I have already signed up with a supposed Java Host and found it 
lacking.
2. MythicBeasts is very flexible but would require me to deal with the 
administration of the whole machine which isnt something I really want 
todo, having deployed by application I want to just leave it be as much 
as possible.
3. NameOnTheNet looks promising, they only seem to do Java Hosting and 
there is alot of support information and they are based in the UK so I 
think I might give them a try.
4. AssortedInternet look OK, but they seem to cover so many different 
types of hosting I am unsure of how important Java Hosting is, also 
based in US.

Paul Taylor wrote:

 Hi
 I have a Tomcat 4 Application ready to deploy as a WAR. It uses 
 database pooling to connect to a MYSQL database. I recently selected a 
 Tomcat hosting platform to deploy my application but the deployment is 
 non -standard you have to copy various parts of the WAR to different 
 locations which dont match the standard deployment and it doesnt use 
 database pooling to connect to MYSQL. I have been unable to get my 
 application to run on it because these issues.

 This is not a high performance website and I do not need/cannot afford 
 a dedicated server I just want to easily be able to deploy my 
 application.

 I am based in the UK so a UK/English Speaking host would be preferable.

 Could anyone recommend a hostthat provides this straight forward 
 deployment facilities.
 Thanks paul



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Please recommend a Low Cost Tomcat Hosting platform

2005-01-04 Thread Paul Taylor
Yeah, they have been mentioned before but I sent them an email a couple 
of weeks ago regarding some questions about hosting and they never got 
back to me.

Guy Katz wrote:
www.javaservlethosting.com is also considered one of the best out there.
-Original Message-
From: Paul Taylor [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 04, 2005 6:27 PM
To: [EMAIL PROTECTED]
Cc: Tomcat Users List
Subject: Re: Please recommend a Low Cost Tomcat Hosting platform
I've taken a look at the recommended options and this is my view from 
looking at the Websites provided.

1. WebConnexions has very little information regarding JSPs (there is 
only one question regarding Java on Support) and the pricing ids 
unfairly skewed to be cheaper for US accounts. Im a bit dubious about it 
because I have already signed up with a supposed Java Host and found it 
lacking.
2. MythicBeasts is very flexible but would require me to deal with the 
administration of the whole machine which isnt something I really want 
todo, having deployed by application I want to just leave it be as much 
as possible.
3. NameOnTheNet looks promising, they only seem to do Java Hosting and 
there is alot of support information and they are based in the UK so I 
think I might give them a try.
4. AssortedInternet look OK, but they seem to cover so many different 
types of hosting I am unsure of how important Java Hosting is, also 
based in US.

Paul Taylor wrote:
 

Hi
I have a Tomcat 4 Application ready to deploy as a WAR. It uses 
database pooling to connect to a MYSQL database. I recently selected a 
Tomcat hosting platform to deploy my application but the deployment is 
non -standard you have to copy various parts of the WAR to different 
locations which dont match the standard deployment and it doesnt use 
database pooling to connect to MYSQL. I have been unable to get my 
application to run on it because these issues.

This is not a high performance website and I do not need/cannot afford 
a dedicated server I just want to easily be able to deploy my 
application.

I am based in the UK so a UK/English Speaking host would be preferable.
Could anyone recommend a hostthat provides this straight forward 
deployment facilities.
Thanks paul

   


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


IIS JK installer

2005-01-04 Thread Derrick Koes

Can this be used to install the DLL in IIS?
If so, how?  It seems that the install shield build builds fine without the dll 
file.

Thanks,
Derrick




After clicking Refresh re-entry of data

2005-01-04 Thread Passsionate
Hi,
 
 I am using Tomcat -5.0.25 and Struts 1.1  for my appl.
 The problem which i m encountering is that from ControlAction.do (class 
overridding execute()), a JSP is displayed. The displayed item say is of a 
table with attribs Name, Age. The JSP page contains a ADD button . On clicking  
this dynamically the text boxes appear and the user can enter the values. On 
clicking Save , the values are being saved in the database.
Now comes the problem as i refresh the page the values gets reentered and it 
happens for each refresh act.As the primary key is generated dynamically so a 
check for that can't be applied.
I had tried hard to solve it, but couldn't.
 Plz. help me.
 Thanks in advance,
 Mohit Agarwal.


Yahoo! India Matrimony: Find your life partneronline.

RE: Speed issues with SQL Server 2000 and JTDS

2005-01-04 Thread David Boyer
A couple of things to try to narrow things down. 
 
1. creating an ODBC connection using asp or vbscript. Plenty of examples
on the web. 
 
2. Load the driver in a static block or somewhere else independent of
where the connection is created. Drivers only need to be loaded once, so
see if the performance improves if you don't repeatedly load it. 
 
3. Try connection pooling. 

[EMAIL PROTECTED] 01/04 10:23 am 
Could this speed issue be caused by a poor setup?  When I remove the
database connection from my code, the pages run fast.  Though I
obviously need the database portion of the code in there. 

Thanks
Charles


-Original Message-
From: David Boyer [mailto:[EMAIL PROTECTED]
Sent: Monday, January 03, 2005 9:05 AM
To: tomcat-user@jakarta.apache.org; Charles P. Killmer
Subject: RE: Speed issues with SQL Server 2000 and JTDS

You could try using something like jProfiler to see where the bottleneck
is.

I don't see anything unusual in your code example, although it looks
like the only thing it does is create the connection. I use jTDS and it
works fine without doing anything exceptional.



[EMAIL PROTECTED] 01/03 8:55 am 

This is some representative code that is being very slow. 


import java.sql.*;


public class SomeClass {

  public Connection conn;

public int ID;

public String Name;

public String Address;

public String City;

public String OtherStuff;


  public SomeClass() throws Exception {

  try {

  Class.forName(net.sourceforge.jtds.jdbc.Driver);

  } catch (ClassNotFoundException ex) {

  }

  try {

   


Re: After clicking Refresh re-entry of data

2005-01-04 Thread karjera

Laba diena.



Dkojame, kad mums parate.

Js atsista inut isaugota ms duomen bazje.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[OT] RE: After clicking Refresh re-entry of data

2005-01-04 Thread Allistair Crossley
Hi,

Please do not use Tomcat User list for these types of posts.

Because the request post form data is cached by the web browser. You need to 
send a redirect to the browser via request.sendRedirect instead of a 
mapping.findForward in this case.

Allistair.

 -Original Message-
 From: Passsionate [mailto:[EMAIL PROTECTED]
 Sent: 04 January 2005 16:50
 To: [EMAIL PROTECTED]; java@jug-delhi.org;
 tomcat-user@jakarta.apache.org
 Subject: After clicking Refresh re-entry of data
 
 
 Hi,
  
  I am using Tomcat -5.0.25 and Struts 1.1  for my appl.
  The problem which i m encountering is that from 
 ControlAction.do (class overridding execute()), a JSP is 
 displayed. The displayed item say is of a table with attribs 
 Name, Age. The JSP page contains a ADD button . On clicking  
 this dynamically the text boxes appear and the user can enter 
 the values. On clicking Save , the values are being saved in 
 the database.
 Now comes the problem as i refresh the page the values gets 
 reentered and it happens for each refresh act.As the primary 
 key is generated dynamically so a check for that can't be applied.
 I had tried hard to solve it, but couldn't.
  Plz. help me.
  Thanks in advance,
  Mohit Agarwal.
 
 
 Yahoo! India Matrimony: Find your life partneronline.
 


FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: IIS JK installer

2005-01-04 Thread Mladen Turk
Derrick Koes wrote:
Can this be used to install the DLL in IIS?
Yes, that's the point :) .
If so, how?  It seems that the install shield build builds fine without the dll 
file.
Put the isapi_redirect.dll inside the installer/bin.
It builds fine cause it uses everything from the bin folder,
and there is one file (README) already there.
Mladen.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


JAVA_OPTS and Xmx Xms

2005-01-04 Thread joon yoo
On a Win2000 SP4 server running tomcat 5.0.24 with 1GB of RAM

JAVA_OPTS was set to -Xmx768m -Xms768m -server 

as an environment variable in Windows, (not set in a batch file to
start tomcat).

How can it be confirmed that the new JVM settings is configured and
running correctly?

Thanks,

Joon

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Newbie question on Database and struts

2005-01-04 Thread Phillip Qin
In the controller, read form values, query the database, store result in
Collection and save it to session or request-scope. On jsp, use iterate tag
to display elements in Collection.

-Original Message-
From: Manisha Sathe [mailto:[EMAIL PROTECTED] 
Sent: December 23, 2004 10:25 PM
To: tomcat-user@jakarta.apache.org
Subject: Newbie question on Database and struts


I am new to struts (even new to java also)
 
I have one form developed in struts. What i want to do is depending on form
values, run sql qry in Action form, get result set and display it on JSP.
 
I have created a databean for the results. But with result set - How to
create array of databeans ? and how to post it on JSP ?
 
if anybody can pass me the samples pls would be of great help
 
regards
Manisha
 
 
 
 


-
Do you Yahoo!?
 Read only the mail you want - Yahoo! Mail SpamGuard.

!DSPAM:41cb8bf8315651569845034!


Re: JAVA_OPTS and Xmx Xms

2005-01-04 Thread Dwayne Ghant
http://localhost:port/manager/status
joon yoo wrote:
On a Win2000 SP4 server running tomcat 5.0.24 with 1GB of RAM
JAVA_OPTS was set to -Xmx768m -Xms768m -server 

as an environment variable in Windows, (not set in a batch file to
start tomcat).
How can it be confirmed that the new JVM settings is configured and
running correctly?
Thanks,
Joon
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 


--
Dwayne A. Ghant
Application Developer
Temple University
215.204.
[EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: JAVA_OPTS and Xmx Xms

2005-01-04 Thread Phillip Qin
In the batch file, echo %JAVA_OPTS%

-Original Message-
From: joon yoo [mailto:[EMAIL PROTECTED] 
Sent: January 4, 2005 4:19 PM
To: tomcat-user@jakarta.apache.org
Subject: JAVA_OPTS and Xmx Xms


On a Win2000 SP4 server running tomcat 5.0.24 with 1GB of RAM

JAVA_OPTS was set to -Xmx768m -Xms768m -server 

as an environment variable in Windows, (not set in a batch file to start
tomcat).

How can it be confirmed that the new JVM settings is configured and running
correctly?

Thanks,

Joon

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


!DSPAM:41db086a194995855811664!


RE: Oracle 9i client connection to 8i database

2005-01-04 Thread Phillip Qin
There is nothing to do with Oracle client. All you need is the jdbc driver.

-Original Message-
From: Brad Rhoads [mailto:[EMAIL PROTECTED] 
Sent: December 27, 2004 5:11 PM
To: 'Tomcat Users List'
Subject: RE: Oracle 9i client connection to 8i database


I always assumed the Oracle client was required. . .

I uninstalled the client and get the same results. With the sid syntax I at
least get an entry in the listener.log:

27-DEC-2004 16:58:11 *
(CONNECT_DATA=(SID=test)(CID=(PROGRAM=)(HOST=__jdbc__)(USER=oracle))) *
(ADDRESS=(PROTOCOL=tcp)(HOST=10.0.0.4)(PORT=33244)) * establish *

But the app doesn't get a connection. And with the service_name syntax I
only get a connection error:

DatabaseMessageresources: Loading all the messages for the messageMap
NVFactory: _readNVPair expected )
DatabaseMessageresources: SQL EXCEPTION FETCHING MESSAGE
java.sql.SQLException: Io exception: NL Exception was generated
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:187)

I've run into a similar problem where the db server was behind the firewall
and the firewall didn't allow high-ports, but in this case both machines are
behind the firewall.

Any other ideas why I might not be able to get a connection?

 -Original Message-
 From: Michael Echerer [mailto:[EMAIL PROTECTED]
 Sent: Saturday, December 25, 2004 4:08 AM
 To: Tomcat Users List
 Subject: Re: Oracle 9i client connection to 8i database
 
 How come that you need an Oracle client installation at all
 when you just want to use the Oracle thin JDBC driver? IHMO 
 the client installation is only required for OCI thick drivers...
 
 Brad Rhoads wrote:
  We have an (struts) app that talks to an Oracle 8i database. Our
  latest installation wants to run the app on Fedora Core 2. 
 I couldn't
  get the Oracle 8i client install, so I installed the 9i
 client. With
  the 9i client, you have to use a service_name instead of a
 sid in the connection.
  
  Normally my connection string (in my web.xml) looks like:
  
  param-valuejdbc:oracle:thin:@10.0.0.7:1521:test/param-value
  
  But it seems to get a service_name instead of a sid I have to use
  something
  like:
  
   
  
 param-valuejdbc:oracle:thin:@jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS
  =(PROT
  
 OCOL=TCP)(HOST=10.0.0.7)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=test))
  )/par
  am-value
  
  My problem is I'm getting this error:
  
  NVFactory: _readNVPair expected
  
  It doesn't seem to make any difference if I use the 8i or
 the 9i drivers.
  
  I've also tried
  
  
 param-valuejdbc:oracle:thin:@//10.0.0.7:1521/test/param-value
  
  But that just gave me a format error.
  
  I can connect fine using sqlplus.
  
  What am I doing wrong?
  
  Thanks for the help. Merry Christmas!
  
  
  
  
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


!DSPAM:41d08896130622933416230!


Re: JAVA_OPTS and Xmx Xms

2005-01-04 Thread joon yoo
Sorry I mispoke when I said it's not started in a batch file.  What I
meant was that tomcat is running as a service that comes in the tomcat
installer app.

Joon


On Tue, 4 Jan 2005 16:36:59 -0500, Phillip Qin
[EMAIL PROTECTED] wrote:
 In the batch file, echo %JAVA_OPTS%
 
 -Original Message-
 From: joon yoo [mailto:[EMAIL PROTECTED]
 Sent: January 4, 2005 4:19 PM
 To: tomcat-user@jakarta.apache.org
 Subject: JAVA_OPTS and Xmx Xms
 
 On a Win2000 SP4 server running tomcat 5.0.24 with 1GB of RAM
 
 JAVA_OPTS was set to -Xmx768m -Xms768m -server
 
 as an environment variable in Windows, (not set in a batch file to start
 tomcat).
 
 How can it be confirmed that the new JVM settings is configured and running
 correctly?
 
 Thanks,
 
 Joon
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 !DSPAM:41db086a194995855811664!
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: JAVA_OPTS and Xmx Xms

2005-01-04 Thread Ben Souther
Are you running Tomcat as a Windows Service?


On Tue, 2005-01-04 at 16:36, joon yoo wrote:
 it looks like it's still stuck on the 64MB default value:
 
 JVM
 Free memory: 4.58 MB Total memory: 14.01 MB Max memory: 63.56 MB
 
 `set` shows the system env. variables as:
 
 JAVA_HOME=D:\Sun\AppServer\jdk
 JAVA_OPTS=-Xmx768m -Xms768m -server
 
 Were quotes needed around the value for JAVA_OPTS?  If configuring
 it as a system env. variable was incorrect then can this registry edit
 for tomcat4 work:
 
 http://www.pauaware.co.nz/tomcatntservice.htm
 
 Do all those values there need to be added or can the only desired
 values be added?
 
 Many thanks for any help,
 
 Joon
 
 
 On Tue, 04 Jan 2005 16:25:52 -0500, Ben Souther [EMAIL PROTECTED] wrote:
  Click on Server Status from the Tomcat Manger App.
  
  
  On Tue, 2005-01-04 at 16:19, joon yoo wrote:
   On a Win2000 SP4 server running tomcat 5.0.24 with 1GB of RAM
  
   JAVA_OPTS was set to -Xmx768m -Xms768m -server
  
   as an environment variable in Windows, (not set in a batch file to
   start tomcat).
  
   How can it be confirmed that the new JVM settings is configured and
   running correctly?
  
   Thanks,
  
   Joon
   
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: JAVA_OPTS and Xmx Xms

2005-01-04 Thread joon yoo
Yes


On Tue, 04 Jan 2005 16:40:33 -0500, Ben Souther [EMAIL PROTECTED] wrote:
 Are you running Tomcat as a Windows Service?
 
 \

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: JAVA_OPTS and Xmx Xms

2005-01-04 Thread Mufaddal Khumri
You can stick this code in somewhere:
Runtime r = Runtime.getRuntime();

System.out.println(Free Memory:  + r.freeMemory());
System.out.println(Total Memory:  + r.totalMemory());
If your settings are taking effect you will see the results accordingly.
On Jan 4, 2005, at 2:42 PM, joon yoo wrote:
Yes
On Tue, 04 Jan 2005 16:40:33 -0500, Ben Souther [EMAIL PROTECTED] 
wrote:
Are you running Tomcat as a Windows Service?
\
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Mufaddal Khumri


JAR locking / Tomcat 5.5.4 / Windows

2005-01-04 Thread TomK
I've been following the recent threads regarding JAR locking with Tomcat 5.x on 
Windows platforms.   A few people mentioned they had been able to get either 
the antiJARLocking or antiResourceLocking attributes to work, so I've spent 
quite a bit of time trying out different scenarios and configurations, under 
the impression that I must be missing something simple.however, I've not 
yet found a situation where either attribute has any effect on deploy/undeploy. 
  
 
I've put together a simple app that illustrates the issue.Here's how to 
replicate:
(I've actually started with a fresh, clean copy of Windows XP SP2)
1. Install JRE 5.0 (Update 1)
2. Install Tomcat 5.5.4, using windows installer.
3. Start Tomcat.  
4. Using the manager webApp, deploy this WAR.
5. Point your browser to the webApp (named 'sample'), follow the link, enter 
data in sample form, click OK.
6. note the [TomcatHome]/'temp' directory is empty.
7. Using the manager webApp, undeploy the sample app.
 
at this point, on my machine, struts.jar is left in the WEB-INF/lib directory.  
 Note that at step 5, the application should be running from the 'temp' 
directory, which it is not.The context.xml for this webApp has the 
antiResourceLocking=true value set.   Setting this attribute in the global 
context.xml also has no effect.
 
Any ideas are appreciated.
thanks
tk



Re: JAR locking / Tomcat 5.5.4 / Windows

2005-01-04 Thread TomK
Re: the WAR link was stripped out in that last message.  It is located here:  
http://www.tomk.nu/tc00/sample.war


Re: Speed issues with SQL Server 2000 and JTDS

2005-01-04 Thread Parsons Technical Services
Trying a few test should help you narrow things down a bit.
1. Run without DB connection. (Done  runs fast)
2. Run with a DB connect but no query.
3. Run with a simple query and do nothing with it.
4. Run with a simple query and post results in page. Only move forward 
through result set.

5. Run with a simple query and post results in page. Move around in the 
result set (Only if you do this in your page).

At some point in these test you should see a dramatic jump in the response 
time. If it is a steady climb, then you may have multiple issues.

Report back what you find and we'll make suggestions from there.
Doug
- Original Message - 
From: Charles P. Killmer [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Tuesday, January 04, 2005 11:23 AM
Subject: RE: Speed issues with SQL Server 2000 and JTDS

Could this speed issue be caused by a poor setup?  When I remove the
database connection from my code, the pages run fast.  Though I
obviously need the database portion of the code in there.
Thanks
Charles
-Original Message-
From: David Boyer [mailto:[EMAIL PROTECTED]
Sent: Monday, January 03, 2005 9:05 AM
To: tomcat-user@jakarta.apache.org; Charles P. Killmer
Subject: RE: Speed issues with SQL Server 2000 and JTDS
You could try using something like jProfiler to see where the bottleneck
is.
I don't see anything unusual in your code example, although it looks
like the only thing it does is create the connection. I use jTDS and it
works fine without doing anything exceptional.

[EMAIL PROTECTED] 01/03 8:55 am 
This is some representative code that is being very slow.
import java.sql.*;
public class SomeClass {
  public Connection conn;
public int ID;
public String Name;
public String Address;
public String City;
public String OtherStuff;
  public SomeClass() throws Exception {
  try {
  Class.forName(net.sourceforge.jtds.jdbc.Driver);
  } catch (ClassNotFoundException ex) {
  }
  try {
  conn =
DriverManager.getConnection(jdbc:jtds:sqlserver://111.222.333.444:1433/
someDB;user=someuser;password=somepassword);
  } catch (Exception e) {
  throw e;
  }
  }
 public int Audit() throws Exception {
return 5;
 }
 public ResultSet GetData() throws Exception {
ResultSet rs = null;
return rs;
 }
 public int DeleteSomething() throws Exception {
return 2;
 }
}
I don't have anything special in any XML files.  I will try to make my
code work like yours is.  But if someone has an idea why the way I have
it written is slow, I would love to hear it.
Thank You
Charles
-Original Message- 

From: Randall Svancara [mailto:[EMAIL PROTECTED]
Sent: Monday, January 03, 2005 8:20 AM
To: Tomcat Users List
Subject: RE: Speed issues with SQL Server 2000 and JTDS
I have been using JTDS with SQL Server 2000 in conjunction with Tomcat
without any problems.  Perhaps if you post some your database connection
code, someone could provide you with assistance.  You might also try
posting to the JTDS Mailing list.  Are you using Database Connection
Pooling (DBCP)??
I am including an example the code I use to access a stored procedure on
SQL Server 2000 using DBCP.
/*  Here are the things I import */
import java.sql.Connection;
import java.sql.Statement;
import java.sql.ResultSet;
import java.sql.SQLException;
import javax.naming.*;
import javax.sql.*;

Public class SomeClass{

* A public class that returns an Applicant object
* @return the applicant as applicant
*/
public Applicant SomeApplicantMethod(){
  Applicant app = new Applicant();
  Connection conn = null;
  Statement stmt = null;
  ResultSet rst = null;

  try{
  Context ctx = new InitialContext(); /* Declare initial
context */
  if(ctx == null ){
  logger.error(Error creating new context for some
reason);
  throw new Exception(No context);
  }
  /* Throw an exception if it is null */
  DataSource ds =
(DataSource)ctx.lookup(java:comp/env/jdbc/summitexec);

  conn = ds.getConnection();

  if(conn != null)  {

  stmt = conn.createStatement();

  rst = stmt.executeQuery(sp_SelectApplicant +
canidateid);

  while(rst.next()){
// Add result set to applicant object,
NOT SHOWN HERE!!!
  }

  //Make sure you close everything, else you end up
with object leaks
  if(stmt != null){
  stmt.close();
  }

  if(rst != null){
  rst.close();
  }

  if(conn != null){
  conn.close();
  }
  }
  }catch(Exception E){
  logger.error(EXCEPTION ERROR Getting Applicant: +
E.toString());
  } finally{

  // Close out of any open connections if they exist, this is
important
  // in order to release resources for connection pooling
  try{
  if(stmt != null){
  

Re: Context for User development accounts??

2005-01-04 Thread QM
On Tue, Jan 04, 2005 at 07:05:40AM -0800, Dwayne Ghant wrote:
: But now you tell me of an attribute that I could even find in the
: Server Configuration Reference ... The Context Container
: documentation. I guess that I would have to create a Context 
: loadOnStartup=true ... /
: for every developer on the machine?

I was close, and so were you:

me: early-morning typo, it's called deployOnStartup
you: write site, wrong doc.  Check under Host Container for details.

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [ANN] Tomcat 5.0.30-beta Released

2005-01-04 Thread Sastry Malladi
Yoav Shapira wrote:
The Apache Jakarta Tomcat team is proud to announce the immediate availability
of Tomcat 5.0.30-beta. The release contains a significant number of bug fixes,
and we expect it to be ratified as a Stable release when the vote takes place
next week as usual. 

When is the expected date for the stable release of 5.0.30 ?
Also, will the fix for  bug  32445 (the admin webapp not working) 
available in 5.0.30 stable release ?
Thanks,
Sastry

Release notes: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/RELEASE-NOTES 

Please refer to the change log for the list of changes:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/changelog.html 

Downloads: Binaries: http://jakarta.apache.org/site/binindex.cgi#tomcat-5.0 
Sources: http://jakarta.apache.org/site/sourceindex.cgi#tomcat-5.0 

The Apache Jakarta Tomcat Team 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [ANN] Tomcat 5.0.30-beta Released

2005-01-04 Thread Tim Funk
5.0.30-beta and 5.0.30 would be the same release.
For 5.0.30 to be stable - the committers take a vote. If the vote passes - 
then its stable.

-Tim
Sastry Malladi wrote:
Yoav Shapira wrote:
The Apache Jakarta Tomcat team is proud to announce the immediate 
availability
of Tomcat 5.0.30-beta. The release contains a significant number of 
bug fixes,
and we expect it to be ratified as a Stable release when the vote 
takes place
next week as usual.
When is the expected date for the stable release of 5.0.30 ?
Also, will the fix for  bug  32445 (the admin webapp not working) 
available in 5.0.30 stable release ?
Thanks,
Sastry

Release notes: 
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/RELEASE-NOTES
Please refer to the change log for the list of changes:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/changelog.html
Downloads: Binaries: 
http://jakarta.apache.org/site/binindex.cgi#tomcat-5.0 Sources: 
http://jakarta.apache.org/site/sourceindex.cgi#tomcat-5.0
The Apache Jakarta Tomcat Team

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


JNI + Tomcat 5.0.28 + Solaris 2.8 - splat

2005-01-04 Thread Benson Margulies
I have a heap of JNI code, written in C++. It works fine on Windows,
inside and outside Tomcat, when compiled with VC++ 7.1. The underlying
C++ is clean in Purify, or as clean as any code that uses STL ever gets.

 
On Solaris 2.8, compiled with Forte6u2 (5.3), current patches, + JDK
1.4.2_05, it works. If I then add in Tomcat to the mix, as soon as I run
it, the JRE collapses with an invalid SIGSEGV in the middle of the GC
someplace. I can run a Java command-line program exercising the same JNI
functions in a loop for an hour with no errors, but one call from inside
Tomcat and the JVM turns into kibbles.
 
(Compiling the C++ with gcc leads to horrible memory leaks even in a
standalone Java app, so that's not an alternative.)
 
Anyone have any ideas?
 
 


Conoon Schedule?

2005-01-04 Thread Alvin Cheung
I would like to know how to install concoon and how to call a jsp file for 
everyday automatically.

Re: [ANN] Tomcat 5.0.30-beta Released

2005-01-04 Thread Sastry Malladi
Tim Funk wrote:
5.0.30-beta and 5.0.30 would be the same release.
For 5.0.30 to be stable - the committers take a vote. If the vote 
passes - then its stable. 
Any idea on when that might happen ? The bug I mentioned is said to have
been fixed in 5.0.31 - Does that mean that 5.0.30 may not get to the 
voting stage (for stable release), but instead
5.0.31 will ? If that is the case, any idea on when that might happen ?

Thanks,
Sastry

-Tim
Sastry Malladi wrote:
Yoav Shapira wrote:
The Apache Jakarta Tomcat team is proud to announce the immediate 
availability
of Tomcat 5.0.30-beta. The release contains a significant number of 
bug fixes,
and we expect it to be ratified as a Stable release when the vote 
takes place
next week as usual.

When is the expected date for the stable release of 5.0.30 ?
Also, will the fix for  bug  32445 (the admin webapp not working) 
available in 5.0.30 stable release ?
Thanks,
Sastry

Release notes: 
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/RELEASE-NOTES
Please refer to the change log for the list of changes:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/changelog.html
Downloads: Binaries: 
http://jakarta.apache.org/site/binindex.cgi#tomcat-5.0 Sources: 
http://jakarta.apache.org/site/sourceindex.cgi#tomcat-5.0
The Apache Jakarta Tomcat Team


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Mod_JK 1.2.8, gcc 3.4.3 on Linux RH ES3 - compile error

2005-01-04 Thread Thomas Tinnes
Hello,
Getting a compile error I'm having trouble understanding.
Here's my setup:
Installing jakarta-tomcat-connectors-1.2.8-src.tar.gz from the Jakarta 
site.
On a Linux Red Hat Enterprise 3 (Taroon) on an i386 arch  i686 cpu.
I'm using gcc version 3.4.3 20041212 (Red Hat 3.4.3-10).
There's Apache 2.0.46-44 running with source objects in
/usr/src/redhat/BUILD/httpd-2.0.46.

I unzip and untar and cd to 
jakarta-tomcat-connectors-1.2.8-src/jk/native
and do ./configure --with-apxs=/usr/sbin/apxs.

The config runs without errors but when I run make, I get an Error 
1:

make[1]: Entering directory 
`/tmp/jk/jakarta-tomcat-connectors-1.2.8-src/jk/native/common'
/bin/sh /usr/bin/libtool --silent --mode=compile gcc 
-I/usr/include/httpd -g -O2 -O2 -g -pipe -march=i386 -mcpu=i686 
-DSSL_EXPERIMENTAL_ENGINE -I/usr/kerberos/include -pthread -DHAVE_APR 
-I/usr/src/redhat/BUILD/httpd-2.0.46/prefork/srclib/apr/include 
/usr/src/redhat/BUILD/httpd-2.0.46/srclib/apr/include -g -O2 -DLINUX=2 
-D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE 
-D_GNU_SOURCE -I /usr/local/java/include -I /usr/local/java/include/ -c 
jk_ajp12_worker.c
gcc: /usr/src/redhat/BUILD/httpd-2.0.46/srclib/apr/include: linker 
input file unused because linking not done
cc1: /usr/src/redhat/BUILD/httpd-2.0.46/srclib/apr/include: No such 
file or directory
make[1]: *** [jk_ajp12_worker.lo] Error 1
make[1]: Leaving directory 
`/tmp/jk/jakarta-tomcat-connectors-1.2.8-src/jk/native/common'
make: *** [all-recursive] Error 1

And the directory /usr/src/redhat/BUILD/httpd-2.0.46/srclib/apr/include 
does exist and is populated.

I believe I understand that the -c in the compile line indicates that 
there wouldn't be linking anyway, but I'm unsure why the program stops. 
I've looked at some of the Make files and can't seem to find a place to 
edit to prevent the exit.

I've Googled, and scanned the archives here but can't seem to find a 
useful pointer to my problem.

Any insight would be very welcome. Thanks.
_tom
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


index.jsp not found

2005-01-04 Thread Atishay Kumar
hi,
 I am using tomcat 4.1.27 on linux. I deleted my index.jsp page but
even then index.jsp was showing even after i refreshed the page. after
refreshing 2-3 times it said that index.jsp not found (which it should
have done first time itself).
After that i put a new index.jsp . but still it is showing that
index.jsp not found. even after refreshing numerous times.
what could be the possible problem? and what is the solution so that
it does not re-occur.

thanks
-- 
:)
Atishay Kumar

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: index.jsp not found

2005-01-04 Thread Quinton Delpeche
On Wednesday 05 January 2005 08:21, Atishay Kumar wrote:
 hi,
  I am using tomcat 4.1.27 on linux. I deleted my index.jsp page but
 even then index.jsp was showing even after i refreshed the page. after
 refreshing 2-3 times it said that index.jsp not found (which it should
 have done first time itself).
 After that i put a new index.jsp . but still it is showing that
 index.jsp not found. even after refreshing numerous times.
 what could be the possible problem? and what is the solution so that
 it does not re-occur.

On linux touch the file with the touch command...

...or alternatively...

...restart Tomcat. 

 thanks
Q
-- 
Quinton Delpeche
Internal Systems Developer
Softline VIP

Telephone: +27 12 420 7000
Direct:+27 12 420 7007
Facsimile: +27 12 420 7344

http://www.vippayroll.co.za/

I know it all.  I just can't remember it all at once.


pgpF1rzCv6w7E.pgp
Description: PGP signature


RE: index.jsp not found

2005-01-04 Thread Aris Javier
try to turn on/off browser when adding/removing index.jsp.
this way, it will free session memory.

just a thought  

-Original Message-
From: Atishay Kumar [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 05, 2005 2:21 PM
To: Tomcat Users List
Subject: index.jsp not found

hi,
 I am using tomcat 4.1.27 on linux. I deleted my index.jsp page but even
then index.jsp was showing even after i refreshed the page. after
refreshing 2-3 times it said that index.jsp not found (which it should
have done first time itself).
After that i put a new index.jsp . but still it is showing that
index.jsp not found. even after refreshing numerous times.
what could be the possible problem? and what is the solution so that it
does not re-occur.

thanks
--
:)
Atishay Kumar

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: index.jsp not found

2005-01-04 Thread Jerome Jar
Or you may edit the file $CATALINA_HOME/webapps/ROOT/WEB-INF/web.xml,
and remove the servlet mapping of org.apache.jsp.index_jsp. In my
opinion this SHOULD work.
The org.apache.jsp.index_jsp class is in
ROOT/WEB-INF/lib/catalina-root.jar, deleting index.jsp does not make
any effect on this .jar.

Oops, I forgot that my Tomcat is version 5.5.4... :S


On Wed, 5 Jan 2005 08:30:17 +0200, Quinton Delpeche
[EMAIL PROTECTED] wrote:
 On Wednesday 05 January 2005 08:21, Atishay Kumar wrote:
  hi,
   I am using tomcat 4.1.27 on linux. I deleted my index.jsp page but
  even then index.jsp was showing even after i refreshed the page. after
  refreshing 2-3 times it said that index.jsp not found (which it should
  have done first time itself).
  After that i put a new index.jsp . but still it is showing that
  index.jsp not found. even after refreshing numerous times.
  what could be the possible problem? and what is the solution so that
  it does not re-occur.
 
 On linux touch the file with the touch command...
 
 ...or alternatively...
 
 ...restart Tomcat.
 
  thanks
 Q
 --
 Quinton Delpeche
 Internal Systems Developer
 Softline VIP
 
 Telephone: +27 12 420 7000
 Direct:+27 12 420 7007
 Facsimile: +27 12 420 7344
 
 http://www.vippayroll.co.za/
 
 I know it all.  I just can't remember it all at once.
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Mod_JK 1.2.8, gcc 3.4.3 on Linux RH ES3 - compile error

2005-01-04 Thread Mladen Turk
Thomas Tinnes wrote:
make[1]: Entering directory 
`/tmp/jk/jakarta-tomcat-connectors-1.2.8-src/jk/native/common'
-D_GNU_SOURCE -I /usr/local/java/include -I /usr/local/java/include/ -c 
jk_ajp12_worker.c
Perhaps the error is caused by space between -I and /usr/local/java
Have no idea why this happening. I've tested the build on
RH9 not on RHE3.
Edit the common/Makefile.in and remove the spaces:
From:
JAVA_INCL=-I @JAVA_HOME@/include -I @JAVA_HOME@/include/@OS@
To:
[EMAIL PROTECTED]@/include [EMAIL PROTECTED]@/include/@OS@
Any insight would be very welcome. Thanks.
Tell me if that helps.
Mladen.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]