Hello all,
I am getting a error message as follows
2005-03-03 14:26:51 StandardWrapperValve[action]: Servlet action is
currently unavailable
2005-03-03 14:27:25 StandardWrapperValve[action]: Servlet action is
currently unavailable
2005-03-03 14:27:30 StandardWrapperValve[action]: Servlet action
You put the struts.jar and related files in WEB-INF\lib directory of
your application ?. Added mapping in web.xml for ActionServlet ?.
Better you you use Struts blank application which is bundled with
Struts download.
rgds
Antony Paul
On Thu, 03 Mar 2005 14:43:46 +0530, VTR Ravi Kumar [EMAIL
Hello Tomcat'oids!
We've started performance testing one of our REMOTE web apps using JMeter.
We're gathering benchmark data before doing further fine
tuning.
Details:
Win2K
only have ssh + cygwin access to this remote server
JDK 1.4.1_03
Tomcat 4.1.26, running as a service:
a.. Use security
Hi,
I got these following messages from mod_jk2.
Of course I searched on the web to analyze the messages,
but still have no idea
whether we can ignore these messages.
I would appreciate it if you could tell me the meaning of
the cause of these messages.
the Apache
Hi,
Just wondering if there is some documentation w regards to what/which
virtual machines tomcat (5.0.x) has been tested on (ie does it work with BEA
Jrockit and if so what version) ?
Failing this, does anyone know if tomcat 5.0.25 does work (or there are
issues) with Jrockit SDK 1.4.2 (which
Hi,
I've run Tomcat 5.0.x without any trouble on whichever JRockit runs Java 1.4
Cheers, Ali.
-Original Message-
From: Michael Cornell [mailto:[EMAIL PROTECTED]
Sent: 03 March 2005 10:27
To: Tomcat Users List
Subject: Tomcat and JRockit
Hi,
Just wondering if there is some
Yes
I have put struts.jar in the WEB-INF\lib and also added the mapping for
action in web.xml
I had downloaded the jakarta-struts-1.2.4-lib.tar.gz but it did not
contain any blank application as you have mentioned.
Please tell me where i can find the blank application
vtr
Antony Paul
I've run Tomcat 5.0.x and 5.5.x on the 1.5 version of JRockit however it
is worth noting that it breaks anything using CGLIB e.g. Hibernate so
use with care. Apart from that though, I have found it to run very nicely.
PJ
Allistair Crossley wrote:
Hi,
I've run Tomcat 5.0.x without any trouble on
We've started performance testing one of our REMOTE web apps using JMeter.
We're gathering benchmark data before doing further fine
tuning.
Details:
Win2K
only have ssh + cygwin access to this remote server
JDK 1.4.1_03
Tomcat 4.1.26, running as a service:
a.. Use security manager 1
You have to download the first file(jakarta-struts-1.2.4.zip) which
contains docs and examples.
rgds
Antony Paul
On Thu, 03 Mar 2005 16:08:06 +0530, VTR Ravi Kumar [EMAIL PROTECTED] wrote:
Yes
I have put struts.jar in the WEB-INF\lib and also added the mapping for
action in web.xml
I had
Hello,
I am developing a Java web application, and one of the requirements is to run
a particular servlet periodically, or even at specified times. Resin provides
this ability via its run-at configuration element for servlets in web.xml
Example Resin configuration:
servlet
AFAIK Tomcat dont provide a replacement for this. It is not in
Servlet spec. Search in archives as it was asked a few weeks before.
rgds
Antony Paul
On Thu, 3 Mar 2005 16:45:24 +0530 (IST), Subramanya Sastry
[EMAIL PROTECTED] wrote:
Hello,
I am developing a Java web application, and one of
You probably have either very large or very many sessions which Tomcat is
attempting to reload on startup. Tomcat serialises sessions into files called
SESSIONS.ser (in the application directories under the work dir) and then when
it is restarted it attempts to reload them all. I presume this
: I am developing a Java web application, and one of the requirements is to run
: a particular servlet periodically, or even at specified times. Resin
provides
: this ability via its run-at configuration element for servlets in web.xml
Tomcat doesn't have this.
Are you trying to run that
I hate answering myself, but in case anyone else runs across this
error, I left the system sit overnight, rebooted Tomcat and everything
was happy again. I'm not quite sure what happened.
Derek
On Mar 2, 2005, at 10:22 PM, Derek wrote:
Ok, I've searched the archives and Googled for this, but
I've benchmarks tomcat 5.5.4 with jrockit5 and it worked fine on
Redhat FedoraCore1
peter
On Thu, 3 Mar 2005 10:26:37 -, Michael Cornell
[EMAIL PROTECTED] wrote:
Hi,
Just wondering if there is some documentation w regards to what/which
virtual machines tomcat (5.0.x) has been tested on
Subramanya Sastry wrote:
Hello,
I am developing a Java web application, and one of the requirements is to run
a particular servlet periodically, or even at specified times. Resin provides
this ability via its run-at configuration element for servlets in web.xml
Example Resin configuration:
With all the questions and suggestions flying around, a question to the
other programmers: If one was to write a class for the purpose of running
classes at set times, what pitfalls would one need to watch for?
I have a class that loads on startup and runs a continuous loop that is
timed
I think the Cocoon project has such a facility. I'm not sure how
complicated it would be to pull out that functionality, but their work
might be worth looking at for this.
--David
Parsons Technical Services wrote:
With all the questions and suggestions flying around, a question to
the other
I think that what you want, with this feature, is a daemon (but not a servlet
that respond to requests).
So,
Tomcat don't have to implement anything for this (it's not in its sphere of
activities).
I think that crons (eventually with httpclients), TimerTasks, ... are more
usefull for this
bhupendra bendale wrote:
I have placed my directory under %catalina_home%/webapps/
now i want to configure tomcat to display my index.jsp
page by entering only http://localhost:8080/; what
changes should i make.
__
Do You Yahoo!?
Tired of spam?
Add the Context tag to your Host section of the Engine section in the
conf/server.xml file
(look for this section):
Host name=localhost debug=0 appBase=webapps
unpackWARs=true autoDeploy=true
xmlValidation=false xmlNamespaceAware=false
then add this below that:
Context path=
Thanks to Tim and Remy for the answers;
For more explanations for those who have the same problem like me :
- see bugs 23211 and 33831 on http://issues.apache.org/bugzilla/
- In my example,
after ctx = ctx.getContext(/myNewContext);
but before dispatcher =
Understandable. I was a little dismayed to see that what had been more
automatic in Tomcat-5.0.xx had become less so in Tomcat-5.5. What I
mean is,
in Tomcat-5.0.xx, one could add a Logger to the context
configuration file,
deploy that with the webapp, and dynamically get a log file for
Well, I use a servlet that is kicked off at container start(On TC 3.x
used load-on-startup attribute, TC 5.x+ there is something else which
is now part of the J2EE spec). Most other containers have a
load-on-startup type attribute available to them. When that servlet is
init()ed at container
Quoting Adrian Robert [EMAIL PROTECTED]:
Understandable. I was a little dismayed to see that what had been more
automatic in Tomcat-5.0.xx had become less so in Tomcat-5.5. What I
mean is,
in Tomcat-5.0.xx, one could add a Logger to the context
configuration file,
deploy that with
OK, thanks to your vote of confidence in the method, I dug further and
discovered that my WEB-INF/classes/log4j.properties was never being
found. If I put the log4j.properties into the same jar (in
WEB-INF/lib) with the class that was instantiating the Logger, it
worked correctly.
That's
Hi,
When a page is loading -- it is a page with large
ammount of data from database, I clicked a button. I see the exception on
the monitor window:
Connection reset by peer: socket write error. The detal error is attached.
This message might be harmless.
I think it is because the response has
Hi,
I'm using Tomcat and Lucene to build a search engine. I suspect this
is a Tomcat problem, but I can't be sure.
The system load and CPU usage by Tomcat keeps creeping up with
http-8081-Processorn threads becoming stuck in _hpiThreadHardSuspend
in libhpi.so. For example, I might get 10 or more
On Thu, 03 Mar 2005 12:11:27 -0500, Adrian Robert
[EMAIL PROTECTED] wrote:
That's extremely odd. What version of Tomcat are you running? That's
a bug
because WEB-INF/classes should be put in the classpath before jars in
WEB-INF/lib.
I agree it's very odd.
This is 5.5.7, with the 1.4
Quoting Adrian Robert [EMAIL PROTECTED]:
OK, thanks to your vote of confidence in the method, I dug further and
discovered that my WEB-INF/classes/log4j.properties was never being
found. If I put the log4j.properties into the same jar (in
WEB-INF/lib) with the class that was
OK, thanks to your vote of confidence in the method, I dug further
and
discovered that my WEB-INF/classes/log4j.properties was never being
found. If I put the log4j.properties into the same jar (in
WEB-INF/lib) with the class that was instantiating the Logger, it
worked correctly.
That's
I am trying to deploy a root context webapp using a war file. Anytime I
try to deploy the war file (ROOT.war) it says it deployed successfully
but then disappears from the manager. I can deploy it manually by
copying the context.xml to 'conf/Catalina/localhost/ROOT.xml' and
copying the web app
If you use custom tags, then when the custom tag that
generates /html is done, then you are done. We use
this approach, and also return SKIP_PAGE from the tag
so you know it is done. Maybe there is an easier way
though. :)
Can we know when the Response is finished? or other
solution.
Chong Yu Meng [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Bill Barker wrote:
| Chong Yu Meng [EMAIL PROTECTED] wrote in message
| news:[EMAIL PROTECTED]
|
| The daemon starts up ok, but when shutting down, I get this error:
|
Thanks for reply. I do not use custom tag. In my code, I disabled the button
actions at the beginning of the page. At the very end of the page, I enable
the button actions. But the Exception still occurs.
My error occur only when the source code recompiled for hand test.
Thanks.
-Original
I inherited an application recently that uses Tomcat 5.0.16. I know that
previous to Tomcat 5, Context elements were in Tomcat's server.xml, but with
Tomcat 5 it is recommended that Context elements be in their own .xml files
under /conf/Catalina/host/. In this application, however, there are
Sorry, I blanked on this one. You also need the
http-methodGET/http-method etc on the second (SSL) constraint. It's a
pain, but the servlet-spec says you get the least restrictive combination of
constraints.
Ted Anagnost [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Thanks Bill
Or just read and undrestand the startup parameters and go
catalina run out.txt
- Original Message -
From: Tim Funk [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Thursday, February 17, 2005 11:43 AM
Subject: Re: Split catalina.out to separate stdout and
I apologize for placing this on this mail list but I am getting pretty
desperate.
The opportunity: Small company, opportunity to grow with it and participate
in its success.
Technical requirements: Java/JSP, Apache/Tomcat and SQL required. Knowledge
of Linux, NetBeans and JasperReports helpful.
Hi Carl, are you looking for someone on-site or off-site ?
P.S.
please do the world a favor and get rid of the flash intro at the beginning
of your site, my eardrums just exploded !!
Best Regards,
-Wiley
At 12:08 PM 3/3/2005, you wrote:
I apologize for placing this on this mail list but I
And why don't you do the list a favour, and contact the intended
recipient directly!
Hi Carl, are you looking for someone on-site or off-site ?
P.S.
please do the world a favor and get rid of the flash intro at the
beginning of your site, my eardrums just exploded !!
Best Regards,
-Wiley
I use xml files in /conf/[enginename]/[hostname] to define my contexts.
I now know that Tomcat 5.5.x doesn't allow for 'path' attributes in the
Context elements when defined that way.
Previously, I could specify the path as '/dir1/dir2/appname'. I can
easily rename the xml file to
Wiley,
I agree with your suggestions about the website but that is not a priority
right now.
Really need someone onsite as the system is very complex and I am looking
for someone who is looking for the opportunity to help build a business not
just have a job.
Thanks,
Carl
- Original
Yes there is. I cannot remember, but it is in the archives. It has to do
with how you name the file. Something like dir1#dir2#appname.xml or it may
have been an underscore. I will see if I can find it if no one else knows
off the top.
Doug
- Original Message -
From: David Boyer [EMAIL
Can either JK or JK2 properly failover when a webapp fails? They seem
to work fine when an entire tomcat instance drops, but they don't seem
to do anything useful when a single webapp on a tomcat instance breaks
down and starts throwing exceptions. They both continue to send
requests to the
Yep, that's it. I'd already tried underscore (and everything else except
#).
Thanks!
[EMAIL PROTECTED] 3/3/2005 6:14:35 PM
Yes there is. I cannot remember, but it is in the archives. It has to
do
with how you name the file. Something like dir1#dir2#appname.xml or it
may
have been an
Interesting. So, what If I wanted to deploy an app as a .war file with a
context.xml file in META-INF, but wanted the app to be deployed to
webapps/dir1/dir2/myapp rather than just webapps/myapp? The file in META-INF
must be named context.xml. What clue can one give Tomcat the clue that it
I'm using eclipse and sysdeo. I attempted to make a small prototype
application, but I can't get tomcat to start.
This is what tomcat says when I try:
SEVERE: Error deploying configuration descriptor klapa9.xml
java.lang.NoClassDefFoundError: org/apache/log4j/Layout
klapa9.xml looks like this:
Hi there.
I have migrated from tomcat 4.1.31 to tomcat 5.5.7
I have a setup with many virtual hosts.
I ame using the option in 5.5 to put context information
in /CATALINA_BASE/conf/[engine]/[host]/context.xml.default
in server.xml each host is defined like this
host
Can somebody direct me to a tutorial on jsp/servlet that pulls data from a
database and displays the content via a jsp?
Thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
If this is not supported in Tomcat, is there a way or a plan to have
this kind
of service? This would really be a big help to many developers.
Just a thought
Aris
-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 03, 2005 9:34 PM
To: Tomcat Users
no. (unless the spec says so)
-Tim
Aris Javier wrote:
If this is not supported in Tomcat, is there a way or a plan to have
this kind
of service? This would really be a big help to many developers.
Just a thought
Aris
-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED]
No, meaning impossible?
cause if it would be very beneficial to many then why
not change the specs to accommodate such service?
Pardon me, maybe because I really don't understand the specs.
I was just thinking in a layman's way.
Thanks
Aris
-Original Message-
From: Tim Funk
run-at is an extension to web.xml that is not portable across containers.
That's why it will not be implemented.
-Tim
Aris Javier wrote:
No, meaning impossible?
cause if it would be very beneficial to many then why
not change the specs to accommodate such service?
Pardon me, maybe because I
And so the best way is to have a set of classes to add to your project that
add this feature. It then moves with the app and can be applied per app or
even as a jar in common lib for use by all apps.
Tim, am I thinking right on this?
Remember that Tomcat follows the spec which is developed and
driverClassName=org.postgresql.Driver
url=jdbc:postgresql://127.0.0.1:5432/mydb
username=postgres password=postgres
maxActive=20 maxIdle=10 maxWait=-1/
/Context
cd /usr/local/jakarta-tomcat-5.5.7/common/lib
- wget
http://cvs.apache.org/builds/jakarta-taglibs/nightly/jakarta-taglibs-20050303
Hi All,
I would like to know how to define a default
application w/ Context Descriptors.
On Tomcat 5.0, I could define a default application w/
a context descriptor fragment in:
$CATALINA_HOME/conf/[enginename]/[hostname]/foo.xml
The file foo.xml would contain this entry:
Context path=
Hi,
TheServerSide.com has a free pdf which should cover the jsp/servlet
part. You can download it from here:
http://www.theserverside.com/books/addisonwesley/ServletsJSP/index.tss
For jdbc I would recommend the jdbc tutorial from Sun.
Trond
Venkat Radha Venkataramanan wrote:
Can somebody direct
59 matches
Mail list logo