I upgraded Tomcat from 4.1.18 to 5.0.28 and get the Tomcat home page
(index.jsp) ok. However, when I click on the link for the manager
applicatiion and other applications, they result in 404 errors.
1. should I be configuring something to get the examples and manager
applicactions working?
than
ll copy it to
{TomcatHome}\conf\Catalina\hostname\WarFilename.xml and use it from
there).
Hope that clears things up.
Cheers,
Patrick
On 5/18/05, phil campaigne <[EMAIL PROTECTED]> wrote:
Hi,
I'm new to tomcat 5.0 and the use of context seems to have changed since
4.0. I have a war that
Hi,
I'm new to tomcat 5.0 and the use of context seems to have changed since
4.0. I have a war that expands outside ROOT when I place it in the
webapps directory. If I place it in the ROOT directory it doesn't. I
also noticed that 5.0 doesn't use a context entry for ROOT. So my
questions ar
Christoph Kutzinski wrote:
Good point,
I stumbled upon this, too. Thinking this was a Firefox bug, I even
filed a bug report against it.
Note: The latest version of HTML Validator (0.5.5) fixed this bug. At
least no more problems in my case.
greetings,
Christoph
Harry Mantheakis wrote:
I though
Hi All,
In my java application I need to subtract two java.sql.timestamps. and I
want to store the result as sql type "interval".
But my insert statement is failing.
Does anyone know what java type I need to use in the insert statement?
(it must accept null values)
thanks in advance,
Phil
Frank W. Zammetti wrote:
I think what you describe is probably more properly implemented as
some sort of queueing system. Something along the lines of setting up
a queue on each data collection server that "lazily" updates the
central server (there's other ways to structure it of course).
Othe
Frank W. Zammetti wrote:
Dennis Payne wrote:
Frank,
I'm using threads and didn't know I was vulnerable.
I'm not sure "vulnerable" is really the right word, but I'll go with
it :)
Here's how I've done it. I created a class that implements runnable
and call its initialize method from a servlet
Dennis Payne wrote:
If you are running Linux or Unix check the syntax for the 'nice'
command.
[EMAIL PROTECTED] 12-27-2004 18:55 >>>
Frank W. Zammetti wrote:
It's interesting, Craig and I had an exchange about threads in
servlet
containers last week... I can't find a link to
Frank W. Zammetti wrote:
It's interesting, Craig and I had an exchange about threads in servlet
containers last week... I can't find a link to the thread unfortunately.
Anyway, the basic idea behind that "don't spawn your own threads
inside a servlet container" admonishment is based more on the
Jukka Uusisalo wrote:
Jorge Sopena wrote:
Why is bad using own threads inside web application?
Aren't all the servlet request actually a thread in Tomcat?
I can't find a reason why it's so bad solution.
I think that comes from J2EE specs. I do not remember is threads just
forbidden but if you foll
QM wrote:
On Wed, Nov 17, 2004 at 11:51:38AM -0500, phil campaigne wrote:
: I am storing a flag in the database as type char, but it is set from a
: web page request object as a string. I need to convert it from type
: String to char in java.
Which DB? For those I know, "DB char"
I am storing a flag in the database as type char, but it is set from a
web page request object as a string. I need to convert it from type
String to char in java. I tried String.charAt(0) which seems to convert
to a char type untill I assign it to a variable of type char:
char processed = proce
Ben Souther wrote:
I use assortedinternet.com.
Tomcat/postgres for 30.00 to 35.00
they might have other plans too
On Fri, 2004-11-12 at 14:34, Woodchuck wrote:
hihi all,
can anyone recommend hosters that are Tomcat/Java friendly and offer
private JVMs for cheap monthly cost? (cheap to me is $
Her, Andre wrote:
All,
I have ported a web application normally running on NT4 / ISS /Jrun to a
tomcat 3.3.2.
The results are mixed.
servlets seems top work OK but some of them do a call to a perl script.
The perl script is well called but
the environment LD_LIBRARY_PATH is not set, so loading of m
Thanks Hassan,
That's what I needed. Pretty basic huh?
Phil
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I want to start my application from a start servlet called by the submit
button and action tag in an html page. When I press the submit button
the url uncludes parameters such as,
StartServlet?=&Run=START
which my servlet is not expecting.
Is there a way to start my servlet from an html button
Jacob Kjome wrote:
At 06:19 PM 3/13/2004 -0500, you wrote:
Jacob,
My hosting service is Tomcat 4.18 so I'm kind of stuck with 4.x. Are
you saying if I use tomcat 4.x I must not put a context for my
applicaton in server.mxl? Then it will be unpacked automatially?
thanks,
Phil
Yep, that's exa
d a WAR
file to install" section.
Rhino
- Original Message -
From: "phil campaigne" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 13, 2004 3:09 PM
Subject: War does not unpack on deployment
> My application "Test.war"is not
--- Original Message -
From: "phil campaigne" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 13, 2004 3:09 PM
Subject: War does not unpack on deployment
My application "Test.war"is not unpacking when I ftp it to the
jakarta-tomcat/webapps
Test
/Test
***
Why doesn't unpack automatically?
Thanks,
Phil Campaigne
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ECTED]
Good luck,
Phil Campaigne
How much do you pay a month for a login with a dedicated JVM?
Adam
I pay $20 CN or about $13 US dollars for didicated jvm plus tomcat 4.18
plus postgres 7.2. They are in Alberta Canada.
Phil
---
t. I have used them with good success.
The person to talk to is
Keith Bjorndahl at [EMAIL PROTECTED]
Good luck,
Phil Campaigne
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
r and uses the pool when deployed to TC. For me a simple
if statement chooses where to get the connection. I am not familiar with
your IDE and this may not work but again just another suggestion.
Doug
- Original Message -
From: "Phil Campaigne" <[EMAIL PROTECTED]>
To: "
Shapira, Yoav wrote:
Howdy,
Now my IDEA IDE tech is telling me he thinks the problem is that the
init() method is running before the IDEA debugger getes a chance to
connect to tomcat. I don't see my println(..) messages in catalina.out.
1. Is there another log?
2. Would I likely run into similar
Shapira, Yoav wrote:
Howdy,
I tried overriding init() and super.init(SerlvetConfig cf) as 1st line
of init(ServletConfig cf) but neither worked.
Strange. Any errors in your logs?
I was thinnking that I should use the init() method appraoch becasue it
is a connectionpool and I want to initial
Parsons Technical Services wrote:
IF, and a big one at that, the only reason, in this case, that this is
needed is the connection pool how about the JNDI for the connection pool?
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/jndi-resources-howto.html
http://jakarta.apache.org/tomcat/tomcat-5.0-d
Shapira, Yoav wrote:
Howdy,
public void init(ServletConfig cf) throws ServletException {
Either override init() instead of init(ServletConfig), or call
super.init(cf) as your first line.
As the others suggested, a ServletContextListener is not a bad place to
put this time of code either.
Yoav S
QM wrote:
: Hello,
: I want a servlet to run its init() method when I start Tomcat. I put
: the following entry in web.xml but that doesn't do it:
: [snip]
Please, humour me: put load-on-startup after init-param. I believe
that's the order per the servlet spec.
Humour me, part 2: verify the meth
Hello,
I want a servlet to run its init() method when I start Tomcat. I put
the following entry in web.xml but that doesn't do it:
PgConnectionPoolServlet
PgConnectionPoolServlet
com.op.reporter_manager.PgConnectionPoolServlet
1
debug
5
Hi All,
When I deploy a webapp that was working on my local machine I get the error:
2004-02-04 11:58:12 StandardContext[/ReportingSystem]: Servlet
/ReportingSystem threw load() exception
javax.servlet.ServletException: Error instantiating servlet class
javax.servlet.http.HttpServlet
- Root C
Ian Joyce wrote:
WEB-INF/
[EMAIL PROTECTED] 02/04/04 11:44AM >>>
Hi All,
When an application is deployed on tomcat, which directory should
web.xml be in?
thanks,
Phil
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Hi All,
When an application is deployed on tomcat, which directory should
web.xml be in?
thanks,
Phil
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
p :)
Filip
-Original Message-----
From: Phil Campaigne [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 03, 2004 6:19 PM
To: [EMAIL PROTECTED]
Subject: Servlets won't load after deployment
MY webapp works on my localhost but after deployment I get an error
instantiating HttpServlet class even th
MY webapp works on my localhost but after deployment I get an error
instantiating HttpServlet class even though I have the servlet.jar in
the CLASSPATH. Here are the CLASSPATH and catalina.out.
Does anyone know what I am doing wrong?
thanks,
Phil
CLASSPATH=:.:/usr/java/mysql-connector-java-2.0.
I am developing a java/tomcat/postgresql application using ant and
junit. I want to deploy tested builds along with matching tables with
test data in them.
What is the best way to version tables and data in the database to match
a war file version?
thanks,
Phil
---
Nikola Milutinovic wrote:
Ostad, James wrote:
have you googled yourself at goole.com?
I don't know how they get all of our listserv communications.
Any one knows how they do that?
There is a web archive of this list.
Nix.
-
T
36 matches
Mail list logo