Thanx, Chris. Looks like this should solve my purpose. Will check it out and
get back.
Regards
On Fri, Mar 14, 2008 at 8:17 PM, Christopher Schultz <
[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Tushar,
>
> Tushar Madhukar wrote:
> | Is there a way by which Tomca
You should have gotten a sample service shell script in you jsvc
source. Mine has this in the stop portion:
jsvc -stop -pidfile $PID_FILE org.apache.catalina.startup.Bootstrap
$PID_FILE is a shell variable containing the path of a file with the
process id of the running jsvc. I customized th
David Smith-2 wrote:
>
> I can't speak for the OP, but as a long time Mac user, I know TextEdit's
> default output is richtext. It's a really annoying behavior of
> TextEdit. The OP should use either vi (if they're brave or have
> experience in it) or a developer IDE like NetBeans or Eclip
Thanks again, Rainer. I got it working on a different machine, not generating
the configure file. I don't know why the docs say to do that when it's
better not to.
Ethan
-
ebdb
http://aeondust.com
--
View this message in context:
http://www.nabble.com/Trouble-building
Hi. I'm working on getting the Tomcat daemon running using jsvc. I've got it
basically running (thanks, Rainer). Now I'm not sure what is the best way to
stop it and to restart it.
If I call # ps aux | grep tomcat this is what I get:
[EMAIL PROTECTED] bin]# ps aux | grep tomcat
root 4305 0
Hi.
1. Please post this in a separate thread as it's a separate issue.
2. Is this happening immediately (in the first request) after start or
does it take a few requests to make it wait for a connection? If it
takes a few requests, your code is not closing connection as it should.
They don'
I can't speak for the OP, but as a long time Mac user, I know TextEdit's
default output is richtext. It's a really annoying behavior of
TextEdit. The OP should use either vi (if they're brave or have
experience in it) or a developer IDE like NetBeans or Eclipse to write
the initial file. Aft
HI All,
I too am facing the same issue.
But in contrast i have my resource setup in context.xml only
But still tomcat is waiting indefinitely to to get a connection.
My context file is as below
the relevant thread dump is as follows
"http-8080-Processor2" daemon prio=10
Ofer Kalisky wrote:
No answer yet, so I thought I'd send you this link:
http://archives.java.sun.com/cgi-bin/wa?A2=ind0106&L=jsp-interest&F=&S=&P=49196
which talks about doing something of the sort, but notice, I am _not_ calling
getParameter before the getInputStream, so why am I still not g
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Andrew,
Andrew R Feller wrote:
| Is it possible to configure Tomcat (preferably through the jsvc daemon)
| to log through syslog? If so, how can it be done? The only way I can
| conceive of this working is to configure Tomcat to use Log4j and
| con
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
Karr, David wrote:
| When I'm debugging javavascript code, it's really annoying when Firefox
| caches the javascript file (even when I've modified it). I'm familiar
| with the headers for disabling caching, but it's a little more annoying
| t
When I'm debugging javavascript code, it's really annoying when Firefox
caches the javascript file (even when I've modified it). I'm familiar
with the headers for disabling caching, but it's a little more annoying
to emit those headers on javascript files. Unless I'm missing
something, is there a
I am not sure this will encourage you but I've got the same setup and
it works. Is that the whole jsp and nothing but? is there any servlet
that does something before it?
To isolate, you might want to use curl or some other tool to issue
the post command.
Yuval Perlov
www.r-u-on.com
On M
Probably you are not closing connections somewhere and the maxWait property
of DBCP is not set. The default is to wait indefinitely. So the tomcat is
not hang, it's just waiting for a connection, but all of them are used at
the moment and it keeps waiting.
I believe that if you set a maxWait param
.A quick DBCP example from DBCP 1.21 from
http://commons.apache.org/dbcp/
public class Pool
{
private static DataSource ds;
static
{
DriverAdapterCPDS cpds = new DriverAdapterCPDS();
cpds.setDriver("org.gjt.mm.mysql.Driver");
cpds.setUrl("jdbc:mysql://localhost:
No answer yet, so I thought I'd send you this link:
http://archives.java.sun.com/cgi-bin/wa?A2=ind0106&L=jsp-interest&F=&S=&P=49196
which talks about doing something of the sort, but notice, I am _not_ calling
getParameter before the getInputStream, so why am I still not getting anything
from
Alan Chaney wrote:
I'd guess that you copied the text in the tutorial using an editor which
converted it to an RTF
(Rich Text Format). The text you show in your email is rtf markup.
The startup_tomcat file is a shell script which is setting the following
environment variables
JAVA_HOME -
jamieb wrote:
Hi there
I am busy implementing an auto update facility for a Tomcat web application.
As part of the auto update process, the auto update code needs to unpack the
changed class files and reload the Tomcat web application.
I am aware that you can configure Tomcat to automatically
[EMAIL PROTECTED] wrote:
Hi,
where can I download older versions of JK, e.g. JK 1.2.19 ?
http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/source/
with some pre-built binaries from
http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/
Mark
-
Thats the problem. It doesn't get any error page, it just hangs at the point
of getting connection. Can you explain your contex and the datasource
resource configuration?
On 3/16/08, ib solution <[EMAIL PROTECTED]> wrote:
>
> hai,
>
> is there any an error page that you can share ?, i am using Mys
hai,
is there any an error page that you can share ?, i am using Mysql
5.0.22 and tomcat 5.5.17 and i am always get a connection
--
Salam,
Andy Susanto,S.Kom
==
for better search
http://www.slashmysearch.com/earn/id/24828
HP : 081513039998
O
Download > Tomcat Connectors > Archive
That is
http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/source/
http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/
2008/3/16, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> where can I download older versions of JK, e.g. JK 1.2.19 ?
Hi,
I am using connection pooling for all the database transactions. I am using
the following:
MySql: 5.0.22
tomcat : 5.5.X
Now the problem is when I run the application, it can't get the connnection
from the connection pool. I tried everything like dumping all the waiting
threads, killing all the
I have a JSP that looks like this:
<%
byte[] bytes = new byte[100];
int n = request.getInputStream().read(bytes);
System.out.println("Bytes len: " + n);
%>
and a python script that looks like this:
import httplib
h1 = httplib.HTTPConnection('localhost', 8080)
h1.putrequest('POST', '/SendM9/
24 matches
Mail list logo