sorry, but some people are too important to send helpful replies.
There is no default id/password for either the manager or admin apps.
You set up your own in the conf/tomcat-users.xml:
for tomcat/tomcat as id/password use:
role rolename=manager/
role rolename=admin/
user username=tomcat
Attributes and Parameters are different. Parameters only arrive as part
of a querystring or in a form post. Attributes are more general, and can be
set by the programmer. That said, they are set and read using different
methods. several responses to your post suggested using xxx?param=yy or
Don't need to do this. You can use a requestDispatcher in servlet to perform
a forward (BTW: that's ultimately what a jsp relies on anyway !!)
Ron
-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 26, 2003 3:36 PM
To: Tomcat Users List
Subject: RE:
Do you know which class cache the negative response
-Original Message-
From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 26, 2003 2:07 AM
To: Tomcat Users List
Subject: RE: crontab problems
Because the underlying classes sometimes cache a negative
a negative result should never be done by anything. So
the behaviour you illustrated is really strange. What platform does your
webapp run on?
- Original Message -
From: Ron Day [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, February 26, 2003 9:27 AM
Subject: RE
I checked the properties file and I am using defaults, so cache on
unsuccessful should be 10 secs. Mine is sure acting like it is Forever
(until new jvm is started)
ron
-Original Message-
From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 26, 2003 6:36 AM
To: Tomcat
26, 2003 at 06:57:11AM -0500, Tim Funk wrote:
Ron Day wrote:
Do you know which class cache the negative response
Its a JDK issue.
(IIRC) Successful (and unsucessful?) DNS lookups are cached forever
during the life of the JVM.
The web application developer I'm supporting has
Would you expand on option 2.
Why is this a thread rather than a java app that is started on system
startup ?
Ron
-Original Message-
From: Hannes Schmidt [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 12:50 PM
To: Tomcat Users List
Subject: Re: crontab problems
There's not
Use java code very similar to that in the recent post by Hannes Schmidt (see
Tues 02/25/2003:5.29AM)
I run something like this out of a thread that I initiate in the init method
of my main servlet. It can call a java class to send email or whatever.
ron
-Original Message-
From: tomcat
Will you get a jsp if Apache is down ??
-Original Message-
From: Mike Jackson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 1:07 PM
To: Tomcat Users List
Subject: RE: Script for checking remote server
I use a script that uses wget to retrieve pages from the server. If I
-Original Message-
From: Ron Day [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 2:09 PM
To: Tomcat Users List
Subject: RE: Script for checking remote server
Will you get a jsp if Apache is down ??
-Original Message-
From: Mike Jackson [mailto:[EMAIL PROTECTED]
Sent
else is false
security.
John
-Original Message-
From: Ron Day [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 2:07 PM
To: Tomcat Users List
Subject: RE: Script for checking remote server
Use java code very similar to that in the recent post by
Hannes Schmidt (see
Tues 02
) {
// restart tomcat
}
// cleanup
Thread.getCurrentThread().sleep( 100 ); // or so, I'm not sure
}
}
}
- Original Message -
From: Ron Day [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 8:00 PM
Subject: RE
if a response came back (a 404 or 500 or other
error is a valid response but not the one you want). That doesn't do
anything. Perhaps I missed another example that was posted.
John
-Original Message-
From: Ron Day [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 3:37 PM
To: Tomcat
will have a content length
greater than 0. That's bad.
John
-Original Message-
From: Ron Day [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 3:43 PM
To: Tomcat Users List
Subject: RE: crontab problems
Thanks , two questions...
1) Does the URL creation have
...
- Original Message -
From: Ron Day [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 11:09 PMnstantiate the URL outside my loop
Subject: RE: crontab problems
Does the URL instantiation have to be inside the while loop ??
-Original Message
used 1.4.1).
Regarding your problem: I don't understand why bouncing Tomcat would resolve
a DNS problem. The UnknownHostException is a indication that something is
wrong with DNS or the resolver library.
- Original Message -
From: Ron Day [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL
don't understand why bouncing Tomcat would resolve
a DNS problem. The UnknownHostException is a indication that something is
wrong with DNS or the resolver library.
- Original Message -
From: Ron Day [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, February 26
no server configuration, just use response.encodeURL() with every href, and
form action. If you want, there are custom tags out there that will give you
more compact code.
Ron
-Original Message-
From: Joe Tomcat [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 15, 2003 2:50 PM
To:
At least the odd threads were somewhat related to tomcat.
-Original Message-
From: Rasputin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 9:34 AM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: Re: Fw: Fight war
* Jonathan Discount [EMAIL PROTECTED] [0223 15:23]:
Keep
Try putting log4j.jar in your WEB-INF/lib directory, and your log4j.props in
your classes directory.
or
set up a servlet that loads on startup that uses the log4j method to define
the path to your prop file, in the init().
-Original Message-
From: Sloan Seaman [mailto:[EMAIL PROTECTED]]
Steve,
GFYYA-H
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Redhat Package Management (Redhat make a version of Linux)
-Original Message-
From: Steve Burrus [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 12, 2003 1:59 PM
To: Tomcat Users List
Subject: RE: newbie installation problem
Excuse my ignorance please, but what does RPM stand for
Dear Abby,
Please help Steve.
-Original Message-
From: Steve Burrus [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 11, 2003 4:31 PM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: RE: MY ATTITUDE
Well, well, Jim, aren't just flat too damned *cute* for yer own good?!!! You
think
Will,
How can you resist ?
-Original Message-
From: Steve Burrus [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003 2:28 PM
To: Tomcat Users List
Subject: Re: servlet URL
will, this has NOTHING to do with what you responded to, i.e., whatever
problem some Tomcat user had, but
Have you considered another occupationmaybe a Diplomat !!
Ron
-Original Message-
From: Steve Burrus [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 04, 2003 3:36 PM
To: [EMAIL PROTECTED]
Subject: Why won't anyone help me out??
Well, seeing how no one, so far, has seen fit to
getAttribute returns 'Object'. You need to cast it to 'String'
Ron
-Original Message-
From: Erik Price [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 23, 2003 4:16 PM
To: Tomcat Users List
Subject: strange response.getAttribute problem
In my index.jsp file, I have the following
also its request.getAttribute, not response.getAttribute.
-Original Message-
From: Erik Price [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 23, 2003 4:16 PM
To: Tomcat Users List
Subject: strange response.getAttribute problem
In my index.jsp file, I have the following snippet of
Is your bean in a package? If not Tomcat will not find it in the default
package.
just add package com.mypackage to bean source, and put class file in
classes/com/mypackage
ron
-Original Message-
From: Wilson Snook [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 14, 2003 4:31 PM
To:
it is
in the right place (I think).
Wilson
- Original Message -
From: Ron Day [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, January 14, 2003 10:38 PM
Subject: RE: You used servlet-mapping to make your servlet work, but what
about a JSP page with a bean
I experienced exactly the same problem going from 4.0.3 to 4.1.12.
I posted it on this list, but have not resolved it as yet...
I have no images or applets on my pages !
just html
ron
-Original Message-
From: Iqbal, Shamsudeen M [mailto:[EMAIL PROTECTED]]
Sent: Thursday,
-
From: Ron Day [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 12, 2002 1:41 PM
To: Tomcat Users List
Subject: RE: long delay in ie
I experienced exactly the same problem going from 4.0.3 to 4.1.12.
I posted it on this list, but have not resolved it as yet...
I have no images
are on a rev level, you're there, for better or worse.
John
-Original Message-
From: Ron Day [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 12, 2002 2:03 PM
To: Tomcat Users List
Subject: RE: long delay in ie
i'm on 6.0.2800.1106
This is a weird issue since everthing
(Netscape Enterprise Server??) had HTTP1.1 issues
and had behavior similar to this - some requests would come through, some
wouldn't. It's worth a try.
Also, are you using Tomcat's HTTP stack or a separate web server? Which
one?
-Original Message-
From: Ron Day [mailto:[EMAIL PROTECTED
nice solution.. is there a reason why you didn't make location a static
method ?
R
-Original Message-
From: micael [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 11, 2002 1:23 PM
To: Tomcat Users List
Subject: Re: How to access /images?
Don't know if this helps, but I put a
do you have a reference to Robert's JK2 HOWTO
-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 11, 2002 3:22 PM
To: 'Tomcat Users List'
Subject: RE: Connecting Tomcat 4.1.12 with Apache 1.3
I'm planning to dig into mod_jk2 this weekend, on RH
It could be jdk 1.4.1_01 when I changed to that and tried to run
struts-console, either the jvm was shut down or my machine rebooted. when I
went back to 1.3.1 everything worked fine.
Ron
-Original Message-
From: Will Hartung [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 10, 2002
Your javabeans are not in a package.Tomcat 4.xx does not like this as it
puts it in the default package, and then cannot find it at run time.
Just put your beans in a package, recompile and then add your package
directory structure under the classes directory.
i.e if you have com.my.package for
, December 08, 2002 11:47 AM
To: Tomcat Users List
Subject: Re: javabean problems
On Sun, 8 Dec 2002 11:00:05 -0600
Ron Day [EMAIL PROTECTED] wrote:
Your javabeans are not in a package.Tomcat 4.xx does not like this as it
puts it in the default package, and then cannot find it at run time.
Just
Anyone else see this strange behavior.
downloaded Struts-console-3.1 to c:\
double click console.bat or run command line...
windows shuts down, then reboots.
Win 2000 sp3
jdk 1.4.1
anyone, or is my machine cookoo
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional
Are you sure a book will help !
-Original Message-
From: Steve R Burrus [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 03, 2002 5:14 PM
To: [EMAIL PROTECTED]
Subject: Tomcat BOOK List Request
Hello, as Micael wanted me to do, I am making a formal request of the group
of
any and all
Hi,
I have tried re-installing Tomcat 4.1.12 , moving to JDK1.4.1, but:
My original post, still happening: This is post.
**
I just installed Tomcat 4.1.12.
But now my tomcat 4.0.3 webapps run about 10-20 times slower.
These are my class exercises, ranging
with your servlets/jsps ? Which libraries
are you using ?
Do you do a lot of XML parsing ?
Did you disable tagpooling ?
Do you have less memory assigned to the process than before ?
-reynir
-Original Message-
From: Ron Day [mailto:[EMAIL PROTECTED]]
Sent: 2. desember 2002 16:24
Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 02, 2002 11:26 AM
To: Tomcat Users List
Subject: Re: tomcat 4.1.12 much slower than Tomcat 4.0.3
On Mon, 2 Dec 2002, Ron Day wrote:
Date: Mon, 2 Dec 2002 10:24:26 -0600
From: Ron Day [EMAIL PROTECTED]
Reply
options in 4.1.12 aren't doing something that you don't expect?
John
-Original Message-
From: Ron Day [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 02, 2002 12:38 PM
To: Tomcat Users List
Subject: RE: tomcat 4.1.12 much slower than Tomcat 4.0.3
Craig, thanks for suggeations
Subject: RE: tomcat 4.1.12 much slower than Tomcat 4.0.3
On Mon, 2 Dec 2002, Ron Day wrote:
Date: Mon, 2 Dec 2002 11:37:32 -0600
From: Ron Day [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: RE: tomcat 4.1.12 much slower than
I did a quick and dirty test.
Wrote to console log at last line of servlet, then noticed the time lag was
after this statement was written. Lag of about 8 secs on IE, none on NS
4.75.
R
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 02, 2002 3:03
than Tomcat 4.0.3
I need some help/assistance right away with trying to see a JSP in my
browser!! All that I get for my efforts is a cryptic server error msg.
[404] message saying that the requested resource couldn't be found!
On Fri, 29 Nov 2002 22:47:02 -0600, Ron Day [EMAIL PROTECTED] wrote
servlet-nameinvoker/servlet-name
url-pattern/servlet/*/url-pattern
/servlet-mapping
/web-app
**
I found that if I preloaded the first servlet (in my case, home) everything
ran OK after that.
Scott
-Original Message-
From: Ron Day [mailto:[EMAIL PROTECTED]]
Sent
/servlet/*/url-pattern
/servlet-mapping
/web-app
**
I found that if I preloaded the first servlet (in my case, home) everything
ran OK after that.
Scott
-Original Message-
From: Ron Day [mailto:[EMAIL PROTECTED]]
Sent: Saturday, November 30, 2002 11:03 AM
To: Tomcat
**
I found that if I preloaded the first servlet (in my case, home)
everything
ran OK after that.
Scott
-Original Message-
From: Ron Day [mailto:[EMAIL PROTECTED]]
Sent: Saturday, November 30, 2002 11:03 AM
To: Tomcat Users List
Subject: RE: tomcat 4.1.12
Micael
not start-up but running webapps..
My original post, still happening
**
I just installed Tomcat 4.1.12.
But now my tomcat 4.0.3 webapps run about 10 times slower.
Anyone have any ideas as to why this may be.
I did not change anything, and it
/*/url-pattern
/servlet-mapping
/web-app
**
I found that if I preloaded the first servlet (in my case, home) everything
ran OK after that.
Scott
-Original Message-
From: Ron Day [mailto:[EMAIL PROTECTED]]
Sent: Saturday, November 30, 2002 11:03 AM
To: Tomcat Users
I just installed Tomcat 4.1.12.
But now my tomcat 4.0.3 webapps run about 10 times slower.
Anyone have any ideas as to why this may be.
I did not change anything, and it happens for jsp's and servlets !!!
ron
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands,
You have to put your java classes in a package. If you do not, and put
the class files in WEB-INF/classes then Tomcat cannot find them because
this is not the default package location for Tomcat.
Bottom line: always use pacjages for your classes !
ron
-Original Message-
From:
You have to put your java classes in a package. If you do not, and put
the class files in WEB-INF/classes then Tomcat cannot find them because
this is not the default package location for Tomcat.
Bottom line: always use pacjages for your classes !
ron
-Original Message-
From:
Sorry its off topic
Anyone have a good site for how to build a PC ??
Ron
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Are you using packages for your java code? If not that is your problem.
The default package is NOT the classes directory, but org.apache.jsp, so
if you don't explicitly use a package name, and put your class files in
classes, Tomcat will not find them.
Use a package name such as com.pk1.pk2 and
almoststart your package in classes directory
-Original Message-
From: Andrew Conrad [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 21, 2002 7:43 PM
To: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: RE: Where to locate class files
Here is your problem
Make your
the web.xml file to point to my class files?
Barry
-Original Message-
From: Ron Day [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 21, 2002 6:51 PM
To: Tomcat Users List
Subject: RE: Where to locate class files
almoststart your package in classes directory
you have not got the servlet package in your classpath.
-Original Message-
From: Wiwi Wiwi [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 26, 2002 12:30 PM
To: [EMAIL PROTECTED]
Subject: Servlet file CAN'T BE COMPILE!!!
dear all, I have found that my j2sdk1.4 couldn't compile servlet,
what version was you on before ??
-Original Message-
From: Steve Russell [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 25, 2002 4:18 PM
To: Tomcat Users List
Subject: Tomcat 4.03 Classpath
Hi;
I just upgraded to Tomcat 4.03.
I've got jsps running.except for when they call java
Users List
Subject: Re: Tomcat 4.03 Classpath
Tomcat 3.2
Ron Day wrote:
what version was you on before ??
-Original Message-
From: Steve Russell [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 25, 2002 4:18 PM
To: Tomcat Users List
Subject: Tomcat 4.03 Classpath
Hi;
I just
it inside a
package, but you're probably better off putting the class into a package.
Dave
-Original Message-
From: Ron Day [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 25, 2002 4:51 PM
To: Tomcat Users List
Subject: RE: Tomcat 4.03 Classpath
Tomcat 4.0 and above strictly enforces
Please START NEW THREADS with NEW EMAIL TITLES please. It is hard to follow
when people start new threads by replying to an old one. And you probably
will not get a good answer either !!
The attached Solaris question was titled Tomcat and ASP
ron
-Original Message-
From: Feng Zhou
Its a little more complex than this. It is very wise to put beans in
packages, as there are some issues with using the default package for these
classes. Assuming you use a package in the java code, make sure you put the
class files under WEB-INF/classes in the appropriate directory structures
Seems like you are mixing jsp action tags and java class instances.
Use jsp:usebean with jsp getpropery
or
Use import in @...% tag and create an instance
-Original Message-
From: eric [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 11, 2002 12:18 AM
To: [EMAIL PROTECTED]
Subject:
I just noticed you have usebean and not useBean. If this is how you coded
it, your Bean is not getting instanciated. That will give you the error your
are seeing. Remember JSP Tags are case sensitive.
Ron
-Original Message-
From: eric [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 11,
Hi,
When I run a webapp with a bean in a package -- say com.form, everything
works fine. But when I try to run a bean that is not in a package I always
get class not found error.
1)I am using usebean in both cases, one has class name, one has full package
name.
2)Bean has package name in one
statement.
% import classname %
RS
Ron Day [EMAIL PROTECTED] on 07/10/2002 05:20:27 PM
Please respond to Tomcat Users List [EMAIL PROTECTED]
To:[EMAIL PROTECTED]
cc:
Subject:Beans in packages vs beans not in packages
Hi,
When I run a webapp with a bean in a package -- say com.form
I did, but something inside me says there is a class loading inconsistency
here, and it was bugging me.
R
-Original Message-
From: Larry Meadors [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 10, 2002 5:39 PM
To: [EMAIL PROTECTED]
Subject: RE: Beans in packages vs beans not in
the imports will fail for your classes, even though they're on
the CLASSPATH. You can't properly name them.
Q.E.D, that's why your classes need to be in a package.
Best Regards,
Will Hartung
([EMAIL PROTECTED])
- Original Message -
From: Ron Day [EMAIL PROTECTED]
To: Tomcat Users List
I haven't tried Tomcat recently, but we have developed a whole web site with
Resin using encodeURL, with cookies turned off.It works fine, and as
advertised.
Ron
-Original Message-
From: Eddie Bush [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 11, 2002 12:29 AM
To: Tomcat Users List
If cookies are turned on you WON'T see the sessioniD attached !!!
-Original Message-
From: Ron Day [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 11, 2002 12:36 AM
To: Tomcat Users List
Subject: RE: getRequestURI()
I haven't tried Tomcat recently, but we have developed a whole web site
74 matches
Mail list logo