Olinga K. Abbott wrote:
BUILD FAILED
E:\workspace\progsoftware\trunk\source\jasper\build.xml:5: taskdef A class
needed by class
org.apache.jasper.JspC cannot be found: javax/servlet/ServletException
Of course, it looks like it can't find javax.servlet.ServletException
while building. This
Monica Wu wrote:
This is a update for this problem/solution.
After removing Java 1.5 + Tomcat 5.0, reinstalling Java 1.3 + Tomcat 3.3.1 on
last Monday, 1/23/2006, everything has been running fine by far.
I have certain confidence to conclude that different versions of Java and
Tomcat coexist
Hi Everyone,
Is there an assumption or some unwritten rule on what the context path
should be when deploying a web application in Tomcat (or any other standard
J2EE Web Server)?
Should an application context like this be allowed?
# Context 1
context = "/myapp/app1"
# Context 2
conte
Ok now u hav created a new hirarchy
now try make a new file like Download1.xml in the
{TOMCAT_HOME}/conf/Catalina/localhost directory and add the following
lines in that file
On 2/1/06, Glen Mazza <[EMAIL PROTECTED]> wrote:
> DEEPA M N wrote:
>
> > Hi,
> > I jus tried this. I created another
Hello,
I've been trying to follow the "Jasper 2 JSP How To" located at
http://tomcat.apache.org/tomcat-5.0-doc/jasper-howto.html
to compile a sample JSP, but I'm running into the error
BUILD FAILED
E:\workspace\progsoftware\trunk\source\jasper\build.xml:5: taskdef A class
needed by class
org
DEEPA M N wrote:
Hi,
wen i checked the log file, i think the error might be in the line of the
code.
root = propFile.getProperty("app.directory");
This code should be able to download the files from the server. so i m using application.properties where
app.directory="D:\\temp\\file
DEEPA M N wrote:
Hi,
I jus tried this. I created another folder under webapps and the tree
structure is as below.
Download1--
--WEB-INF/web.xml
--WEB-INF/classes/com/deepa/servlet/DownloadFiles.class
--WEB-INF/lib
Download1 is under webapps folder.
But after trying this too i
Hi,
wen i checked the log file, i think the error might be in the line of the
code.
root = propFile.getProperty("app.directory");
This code should be able to download the files from the server. so i m using
application.properties where
app.directory="D:\\temp\\files\\"
I doubt b
Hi,
I jus tried this. I created another folder under webapps and the tree
structure is as below.
Download1--
--WEB-INF/web.xml
--WEB-INF/classes/com/deepa/servlet/DownloadFiles.class
--WEB-INF/lib
Download1 is under webapps folder.
But after trying this too i am getting the same
It seems that no one can answer my question, maybe my English is not
good enough to express the problem, sorry about that.
Let me rephrase the problem:
Objective:
Allow all users (students) to enable/disable/reload their own tomcat
applications by using Tomcat Manager.
How:
Users are require
> From: Klotz Jr, Dennis [mailto:[EMAIL PROTECTED]
> Subject: RE: RE: context.xml
>
> I am hoping to find a place for a context.xml to live where it will
> never get deleted. That a customer can change and when we give them a
> new war file, the context.xml changes that they have made will stick
>
> From: "Klotz Jr, Dennis" <[EMAIL PROTECTED]>
> Date: 2006/01/31 Tue AM 08:01:01 EST
> To: "Tomcat Users List"
> Subject: RE: RE: context.xml
>
> Thanks again Warren.
>
> I guess I must be approaching this from the wrong perspective of what
> the designers originally intended.
>
> I am ho
I use log4j as the logging implementation, and then chose the
RollingFileAppender (Daily or Size--your choice)
Tim
-Original Message-
From: Patrick Ward [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 31, 2006 7:39 PM
To: users@tomcat.apache.org
Subject: rotating tomcat logs
Does Tomc
Does Tomcat have a directive for rotating logs?
I would like to rotate out the following logs:
admin.log
catalina.log
host-manager.log
localhost.log
localhost_access_log
manager.log
or do I need to rotate them out manually, e.g.
cp -p admin.log admin.`date +%Y-%m-%d`.log
cat /dev/null > admin.
Hi all,
I've been trying to secure a folder so that BASIC authentication occurs
whenever someone tries to access a .txt under it, configuring both
web.xml and tomcat-users.xml.
I've successfully implemented this type of authentication for jsp files
(using /path/to/my/folder/*), but any o
We are running five apache 2 web servers which all load balance between 12
tomcat 5.0.28 app servers all on SuSE 9.3 machines. We are experiencing
occasional problems with tomcat not responding to the apache servers. The
apache/logs/jk.log reports "[error] ajp_service::jk_ajp_common.c (1758):
Err
On 1/31/06, Blair Cooper <[EMAIL PROTECTED]> wrote:
> The following code generates an exception when getId() is called with
> Tomcat 5.5.15. In 5.5.7 it returned the session id.
>
> I realize that the session is being invalidated, thus valueUnbound()
> being
> called. I also realize that the servle
I added the following line to
tomcat-native.1.1.1/jni/native/src/network.c (added at line 388):
apr_socket_opt_set( s, APR_SO_REUSEADDR, 1 );
But I'm still running into the same problem.
Does anyone who works on the APR Connector have any input on this? Or
do I need to post this issue on the de
Dear all,
I'm facing a very odd situation with my Tomcat installation. I don't
know if it is a Tomcat problem or a Java problem, but here is the
situation:
I have a Java-based Vignette app that uses Tomcat as its back-end app
server. I'm running Tomcat 5.0.28 using the server JVM from 1.4.2.
I'm
> From: David Ziants [mailto:[EMAIL PROTECTED]
> Subject: Cannot transform and load jsp file with Tomcat under Eclipse
>
> I also added META-INF\context.xml file:
> ==
>
>
> ==
The p
Hi David,
Just put your jsp files to 'D:\eclipse_ws_swing\MusarAvicha' directory
and remove the
showlogin_jsp
showlogin_jsp
6
from your web.xml. Then try to access the jsp files thru the browser.
- Regards
Vinu
David Ziants wrote:
This is the first time I have had to do my
This is the first time I have had to do my own configuration of tomcat
(5.5) using eclipse (3.1) and Java 5, and I am having a few teething
problems.
Everything is installed under Windows XP. I just took the latest release
of Tomcat as I see there ought to be proper support for Java 5 which I
Hi,
I am a newbie in Tomcat. I have just installed Tomcat4 on Apache2, on a
debian sarge system.
This is what I see in the log file :
2006-01-31 19:28:39 StandardHost[unlimited-xs.com]: MAPPING configuration
error for request URI /numguess.jsp
2006-01-31 20:03:11 StandardHost[unlimited-xs.com]: M
I can't answer that, but it seems to make a difference. It also helps to
have a "setenv.sh" which contains all of the environment variables i.e
CATALINA_HOME JAVA_HOME, etc.
catalina.sh looks for this.
Actually, I never tried to go straight to the catalina.sh
Vinu Varghese wrote:
Hi Mike
Than
The following code generates an exception when getId() is called with
Tomcat 5.5.15. In 5.5.7 it returned the session id.
I realize that the session is being invalidated, thus valueUnbound()
being
called. I also realize that the servlet spec/errata says that this
exception should be throw
Tom Bednarz wrote:
> Is it possible to run on the same container (instance of Tomcat) web
> application that DO require certificates and other applications that do
> NOT require certificates?
Just specify
CLIENT-CERT
in web.xml. Assuming of course that you have a security constraint
tha
Hi Mike
Thank you.
But what is difference in using startup.sh and catalina.sh start. The
startup.sh simply calls catalina.sh with start .
- Regards
Vinu
Mike Sabroff wrote:
and shutdown.sh
Vinu Varghese wrote:
Hi,
I am running Tomcat 5.5.9 with JDK 1.4.2 on freebsd 5.3. I use the
'catal
Hi Petr,
thanks for your answer. That exactly the configuration I have. But after
playing around I got success by removing the line
from the server.xml. Even I don't know what it means ;)
Lothar
"Tomcat Users List" schrieb am 31.01.06 17:55:29:
>
> Hi,
>
> I have the following probl
Hi Lothar,
Seems there is some configration problem or tld file is not in place.Can
you send your web.xml and struts-conf.xml.
Thanks,
Dronesh
-Original Message-
From: Lothar Krenzien [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 31, 2006 1:42 PM
To: users@tomcat.apache.org
Subject: F
Hi,
I'm having a struts 1.1 application on tomcat 5.5.9. Because of some mysterious
problems (see my previous post "can't load any JSP anymore" in this list) I
switched to 5.5.15 but now have an another problem. In the browser I get the
following error:
org.apache.jasper.JasperException: File
Hello,
I think will have to make amends for my post where I recommended
to "consider steering clear of J2EE". Thus deepening the off-topicness.
Jess Holle said it:
This affects things ranging from surveys of developers asking "Which of
the following do you use? (a) J2EE, (b) .NET, ..." where d
and shutdown.sh
Vinu Varghese wrote:
Hi,
I am running Tomcat 5.5.9 with JDK 1.4.2 on freebsd 5.3. I use the
'catalina.sh start' to start tomcat. Now it creates a bunch of java
processes - which can be seen using ps command. Now the problem is
when I shutdown tomcat with command 'catalina.sh
use startup.sh
Vinu Varghese wrote:
Hi,
I am running Tomcat 5.5.9 with JDK 1.4.2 on freebsd 5.3. I use the
'catalina.sh start' to start tomcat. Now it creates a bunch of java
processes - which can be seen using ps command. Now the problem is
when I shutdown tomcat with command 'catalina.sh s
Hi,
I am running Tomcat 5.5.9 with JDK 1.4.2 on freebsd 5.3. I use the
'catalina.sh start' to start tomcat. Now it creates a bunch of java
processes - which can be seen using ps command. Now the problem is when
I shutdown tomcat with command 'catalina.sh stop' , still there exists
some java p
Hi,
I have the following problem. I found this solution:
There is in the server.xml the Resource tag describing your
dataSource. Move this element into the Context element in the same xml
file (at the bottom).
See http://tomcat.apache.org/tomcat-5.5-doc/jndi-resources-howto.html
section `JDBC Da
Hi,
after switching from Tomcat 5.5.9 to 5.5.15 I get the following error :
2006-01-31 16:43:38,130 [INFO ] QueryLogger.*** error.
org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of
class '' for connect URL 'null'
at
org.apache.tomcat.dbcp.dbcp.BasicDataSource
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Mark F
> Subject: Tomcat log to syslog
>
> If there is a newer version available for SLES
> could someone please let me know where to find it.
Other than the optional APR connector, Tomcat is pure Java, so just grab
the latest level from the To
> From: Tom Bednarz [mailto:[EMAIL PROTECTED]
> Subject: Tomcat and client certificates
>
> If that is not possible, I need two servers, each running
> an instance of Tomcat with different server.xml settings.
I haven't tried it, but I would think all you need is two sets of
tags, not two comp
Is there any way to to speicify which SSL provider an
tomcat instance should during startup? I know I can
specify it in the java.security file, but I can not
modify the existing java.security as it is shared by
other instances of tomcat as well as app servers.
Jeba
__
On Today at 12:25am, LW=>Legolas Woodland <[EMAIL PROTECTED]> wrote:
LW> thank you for reading my post
LW>
LW> is there any application that help monitor an application server when it is
LW> working ?
LW> for example , total active sessions , Connections , ... i need this
LW> application to moni
Is it possible to run on the same container (instance of Tomcat) web
application that DO require certificates and other applications that do
NOT require certificates?
To define required client certificate authorization one needs to define
in SERVER.XML
="org.apache.coyote.tomcat4.CoyoteSer
I have installed Tomcat 5.0.19 on Suse Linux Enterprise Server 9
SP3(SLES) If there is a newer version available for SLES could someone
please let me know where to find it.
As a relatively new user of SLES, poor package availability has been my
only significant gripe.
I would like to configu
Hi!
Setting clientAuth to true in the coyote connector configuration
forces the client to send his client certificate before a ssl session
to any page/servlet is established.
I'd like to divide my webapp into two areas:
1) a public area whith ssl encryption only
for example mydomain.com/publi
Thanks again Warren.
I guess I must be approaching this from the wrong perspective of what
the designers originally intended.
I am hoping to find a place for a context.xml to live where it will
never get deleted. That a customer can change and when we give them a
new war file, the context.xml ch
I solved it partially by adding ant.jar to the classpath. But now I get the
following errors:
2006-01-31 13:12:26,220 [ERROR] [jsp].Servlet.service() for servlet jsp threw
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
Generated servlet error:
Class must implement
Look at the archives for peter Lin and jmeter. He has a jmeter plugin for
monitoring tomcat. I don' think it has all you need - but could be a good
foundation for what you need.
-Tim
Legolas Woodland wrote:
thank you for reading my post
is there any application that help monitor an applicati
Hi people.
I have the source code of a shopping cart made with struts without errors.
No matter how hard I try I can´t run the program.
I need help
If anybody support me I will be grateful.
Send me an e-mail and I send the source code back
Charles
I always receive this log:
javax.servlet.Serv
Hi people.
I have the source code of a shopping cart made with struts without errors.
No matter how hard I try I can´t run the program.
I need help
If anybody support me I will be grateful.
Send me an e-mail and I send the source code back
Charles
I always receive this log:
javax.servlet.Serv
Hi,
I'm having a struts application within Tomcat 5.5.9 and Java 5 but just become
a (for me) mysterious problem. After changing a simple JSP (just removed a row
in a table) I got lots of problems. Now I can't load any JSP anymore. It means
that I even can't start my application. There are real
Hi,
I'm having a struts application within Tomcat 5.5.9 and Java 5 but just become
a (for me) mysterious problem. After changing a simple JSP (just removed a row
in a table) I got lots of problems. Now I can't load any JSP anymore. It means
that I even can't start my application. There are real
Let's recap all the suggestions so far for this (assuming a package of
com.deepa.servlet):
1) The class DownloadFiles.class must be located in
WEB-INF/classes/com/deepa/servlet/. I won't mention jar files until
this is working :-)
2) There can be only one of these class files in WEB-INF/clas
that's ok.
the test is for checking the path is recognised by tomcat or not.if
tomcat is not showing the index.html, then the problem is in ur
servel.xml ot context,xml. for making sure what's the problem only i
suggesterd the test
On 1/31/06, DEEPA M N <[EMAIL PROTECTED]> wrote:
> I hav changed w
I hav changed web.xml after including package. In this code i m not accessing
the servlet thr' html rather i m using the url in the browser window.
http://localhost:8080/DownloadFile/servlet/DownloadFiles
vineesh kumar <[EMAIL PROTECTED]> wrote:
one more thing u can do is put an in
>
> From: "Klotz Jr, Dennis" <[EMAIL PROTECTED]>
> Date: 2006/01/30 Mon PM 08:28:10 EST
> To: "Tomcat Users List"
> Subject: RE: context.xml
>
> Thanks Warren for the reply.
>
> Wouldn't that version of the file be deleted when I undeploy?
>
If you're using the manager app to "un-deploy" the
one more thing u can do is put an index.html on ur Downloadfile
directory(ie the root folder of ur app).and try typing
http://localhost:8080/Downloadfile/
then the tomcat should show the html file
if that too is not happening, the problem may be with ur server.xml
or even worse on ur catalina conf
do u changed ur web.xml also
the code is ok it should work.but u hav to check all the other files
also like web.xml
from the older web.xml file it was written that the servlet class is
Downloadfiles
but u hav to change it to
com.deepa.servlet.Downloadfiles
if all these things are working, u
Hi Chuck
See this link from Sun
http://java.sun.com/j2ee/1.4/docs/glossary.html#120385
I know Sun says "typically" a distributed system but of course most of the
J2EE are distributed.
2006/1/30, Caldarale, Charles R <[EMAIL PROTECTED]>:
>
> > From: Hans Sowa [mailto:[EMAIL PROTECTED]
> > Subje
Here r few lines of codes;
package com.deepa.servlet;
import java.io.*;
import java.util.*;
import java.net.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.util.zip.GZIPOutputStream;
public class DownloadFiles extends HttpServlet
{
private static final String DIR = "d
Hello world,
I wonder what configuration or piece of code is doing a jaas
authentication refresh
while it's unecessary and unwanted...
I have a web-app running on jboss 3.2.2/tomcat 4.1. It's form based
authenticated.
FORM
myRealm
/authentication.jsp
that may be the correct path
also check that
package com.deepa.servlet;
at the first line itself
is declared in ur java file
- Show quoted text -
On 1/31/06, vineesh kumar <[EMAIL PROTECTED]> wrote:
> that may be the correct path
> also check that
> package com.deepa.servlet;
> at the first line i
that may be the correct path
also check that
package com.deepa.servlet;
at the first line itself
is declared in ur java file
On 1/31/06, Bob Hall <[EMAIL PROTECTED]> wrote:
> Deepa,
>
> As someone pointed out in an earlier post you need to
> include the following in your DownloadFile.java file:
>
61 matches
Mail list logo