Hi,
When would the mod_webapp/Tomcat4/Apache combination be ready for production
use? Is anyone using this combination already? In the release notes of Beta
7 it is stated that the combination does work but there are some limitations
pertaining to basic authentication. I'm using form
hi laurens,
it depends on where u r going to deploy the appln.if it is for a client,u'll be better
off using 3.0 because it's stabler and if any probs do come up,u can post it to the
list.after all does not the old software mantra
older the better hold good!!!
ravi
On Mon, 03 Sep 2001
Hi Roland,
you could use session.invalidate().
The next time the user wants to access a protected page he has to log in
again.
Peter
Roland wrote:
Hello,
when using security realms, more specifically JDBC realms,
how do you log-out?
Thanks for answers, Roland
Pier Fumagalli wrote:
hatim [EMAIL PROTECTED] wrote:
Hi
i have redhat 6.2 with kernel 2.2.18 ( Va linux) , apache 1.3.20
i tried to use the mod-webapp.so comming from
webapp-module-1.0-tc40b7-linux.tar.gz
but apache didnt start because of error
Cannot load
just about every book on jsp or servlets ever published uses tomcat as
the example engine. they may not have tomcat in the title, but they
all shows how to do the things described in the books specifically with
tomcat. pick one. there are dozens. just imagine the title has with
tomcat
there is also the fact that you are not (or shouldn't be) developing
applicaitons for tomcat but rather for a servlet engine that supports
the spec (2.2 or 2.3). If you do this a) you can follow the rules laid
out in the spec, which has very good coverage imho, and b) swap easily
between servlet
MIssingResourceException comes form the code that handles ResourceBundles, a
feature for making your code work with several different languages.
The exception below shows that your code is looking for a file (text file)
with the format key-value, key-value... (there the key matches part of
Hi,
we are bound to use Tomcat with IBM Java, and we try to start it
with SSL, the result is:
Exception during startup processing
java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError:
com/sun/net/ssl/SSLContext
It seems to be natural, for the relevant class in IBM
Hi,
I'm writing a web application that uses some javascript (in an external file
menu.js) that displays some dynamic menus. Each of these menu options then
goes to a specific URL.
What I want to do is insert some JSP elements into the menu.js file so that
when the client requests the file, all
Hi!
I'm using Tomcat 3.2.3.
Into my '$TOMCAT_HOME/webapps/ROOT/' directory, I've got 'myfile',
and I want users get a modified version of it.
I mean. 'myfile' is a plain-text file, and I want to remove the
first line, so users can not visualize it. Besides, I want to
add an extension, so I try
Thank you Asheesh.
So my question is where is the right place to
do the lookup and stuff when using struts.
At the moment, I'm doing them in the Action class,
Is there a recommended way calling EJB from struts?
Thanks you.
May
- Original Message -
From: "asheesh" [EMAIL PROTECTED]
To:
Hi
I don't want to set classpath generally by starting tomcat but explicitly
for my application. Is it possible to do this in web.xml (if yes how)?
Mit freundlichen Grüßen
Christian Schildt
Diplom-Betriebswirt (FH)
Softwaredeveloper
Phone: 089/89013023
Mailto: [EMAIL PROTECTED]
Hi folks,
I've just recently started using Tomcat and so far it's been giving me
a bit of hassle. At first it couldn't find a class in the web-inf/classes
directory of an application and then it just wouldn't startup with no log
explanation. So I rebuilt it and now anytime I go to try any of
simply rename your .js file to .jsp?
-Ursprüngliche Nachricht-
Von: Tarwinder Dhak [mailto:[EMAIL PROTECTED]]
Bereitgestellt: Montag, 3. September 2001 11:33
Bereitgestellt in: tomcat-user
Unterhaltung: Tomcat 321 won't parse other than .jsp files
Betreff: Tomcat 321 won't parse other
try http://yourhostname:8080/
if using with apache and you have gone through the setup http://yourhostname/examples/
Mark Gargan [EMAIL PROTECTED] wrote:
Hi folks,
I've just recently started using Tomcat and so far it's been giving me
a bit of hassle. At first it couldn't find a class in
That would be the simple answer, but I would like to keep the .js extension
keep to the standard for javascript files.
There must be a way for tomcat to compile files that don't end in a .jsp
extension.
Thanks.
Tarwinder Dhak
-Original Message-
From: Burkard Endres [mailto:[EMAIL
Hallo,
i have problems with IIS (win NT 4.0) and tomcat.
Normaly it is working, but sometimes the IIS needs 100% of the cpu and then
nothing works until I restart the IIS and the tomcat.
The IIS only redirect to the tomcat.
Is this a problem of the tomcat or of the IIS??
Frank
--
GMX -
hi,
I am not sure if there is some recommended way or not , but it depends on u
to decide about the calling mechanism and consider other performance issues
according to EJB specifications and J2EE architecture.
cheers
asheesh
- Original Message -
From: May [EMAIL PROTECTED]
To: [EMAIL
I have set up tomcat to use https and user authentication. I have ser
clientauth to true in server.xml. The server gets the clients certificate ,
but the page still can not be displayed. I read in the ie help files that
when connection to a secure site that site will send the user it's
try http://localhost:8080/ or http://127.0.0.1:8080/ or
http://yourmachineIP:8080/
cheers
asheesh
- Original Message -
From: Mark Gargan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 03, 2001 5:49 PM
Subject: Newbie question
Hi folks,
I've just recently
Yeah using -classic works too, but you're much better off using IBM's
JVM in that case.
I believe the root cause is the fact that Sun make some assumptions
(perhaps true for Solaris) with regard to the minimum available stack
size for a process, which are not necessarily true under other
Try adding the following:
servlet
servlet-namemenuscript/servlet-name
servlet-classmenu.jsp/servlet-class
/servlet
servlet-mapping
servlet-namemenuscript/servlet-name
url-pattern/menu.js/url-pattern
/servlet-mapping
to your server.xml
I think those are the right elements. failing that
We using JNI in servlet.
The JNI throws a exception, and the servlet handle the exception.
But now, when we throws the Exception which define in JDK, all of thing ok.
When we throws the exception which we define, the tomcat think there is no
method to handle that exception
etc:
Hi,
Anyone know how to do this for a standalone
Tomcat server? v3.2?
Cheers, Nick.
ps: If you know how to log just the username, and
not username+pw for authentication that would
be useful to know too. Thanks.
--
Nick Flowers
Systems Manager
s h o p s m a r t . c o m
Tel: +44 (0) 20
Hi,
This sounds familiar. I am having the same problems sometime, and when
moving to work with Tomcat alone the problem disappears.
I doesn't a clue about how to solve it, as I haven't found the code of the
isapi-redirect.dll so I can't debug it. Does someone knows where can I
download this code
isapi_redirect.dll is part of the jakarta source code,under native
-Original Message-
From: Shay Mandel [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 03, 2001 3:25 PM
To: '[EMAIL PROTECTED]'
Cc: '[EMAIL PROTECTED]'
Subject: RE: Problems with IIS and Tomcat
Hi,
This
Hi Ravi,
Any idea how I do it from the server.xml config
file? I'm not a java programmer, and have a
legacy program I'm trying to get up to security
spec. Cheers, Nick.
-Original Message-
From: ravi shankar [mailto:[EMAIL PROTECTED]]
Sent: 03 September 2001 12:25
To: [EMAIL PROTECTED]
Hi,
This problem is encountered by us also when the System has Dual CPU
Processor.
Does your system also have dual cpu configuration ?
Govind
-Original Message-
From: Shay Mandel [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 03, 2001 5:55 PM
To: '[EMAIL PROTECTED]'
Cc: '[EMAIL
ok nick,i have not tried this but i am sure it'll lead u somewhere.u see tomcat has a
log file called access_log in the logs dir .in this file the IP address of the
requesting m/c is logged.this acces_log is an entry in server.xml.what u could
probably do is create a log file of ur own (say
Laurens Fridael [EMAIL PROTECTED] wrote:
Hi,
When would the mod_webapp/Tomcat4/Apache combination be ready for production
use? Is anyone using this combination already? In the release notes of Beta
7 it is stated that the combination does work but there are some limitations
pertaining to
Seems to be a log dir or something like that
Pete
__
Your favorite stores, helpful shopping tools and great gift ideas. Experience the
convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/
Get your own
ravi shankar [EMAIL PROTECTED] wrote:
hi laurens,
it depends on where u r going to deploy the appln.if it is for a client,u'll
be better off using 3.0 because it's stabler and if any probs do come up,u can
post it to the list.
What, you can't post problems related to 4.0? Are we nuts?
jean-frederic clere [EMAIL PROTECTED] wrote:
Would it make sense to test this in configure and use ld/cc when apxs is
broken?
Yes... Definitely so...
Pier
ou still need to adhere to the servlet api - that says you can throw
a
ServletException - so you will need to wrap your exception in a servlet
exception, although I have no idea how to that in JNI.
cheers
dim
On Mon, 3 Sep 2001,
Are many people using TC??
please respond with a link to the web site using TC
Pete
__
Your favorite stores, helpful shopping tools and great gift ideas. Experience the
convenience of buying online with Shop@Netscape!
Tarwinder Dhak [EMAIL PROTECTED] wrote:
That would be the simple answer, but I would like to keep the .js extension
keep to the standard for javascript files.
There must be a way for tomcat to compile files that don't end in a .jsp
extension.
Yes, it's called extension mapping and can be
would you consider TC an Application Server?
There does not seem to be much difference between TC - websphere - iplanet - and
oracle application server. They all seem to do basicly the same thing.
Pete
__
Your favorite stores,
Peter Shankey [EMAIL PROTECTED] wrote:
Seems to be a log dir or something like that
It is actually for temporary web-application space... Such as compiling
JSPs, and the servlet spec allows you to look for a temporary storage
space... That's what's for...
Pier
No, it doesn't. This is a simple, single CPU NT machine.
Shay.
-Original Message-
From: Govind Agarwal [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 03, 2001 1:29 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; Shay Mandel
Subject: RE: Problems with IIS and Tomcat
Hi,
This
hi pete,
u see TC is a webserver that serves http requests .application servers are generally
containers for EJB.application servers also serve http requests,but are mainly
involved with managing the EJB lifecycle,resource mgmt etc
ravi
On Mon, 03 Sep 2001 Peter Shankey wrote :
would you
hi everybody,
i am currently trying o'reilly example of a counter with a
static variable and a local one to count access
unfortunately their behaviour is the same
so every access to my servlet is on the same instance of the
class
what is wrong in my configuration? i can't find the solution
in the
hi henri,
i maybe wrong ,but have u declared the counter as static
it should not be declared as a class variable
ravi
On Mon, 03 Sep 2001 henri charme wrote :
hi everybody,
i am currently trying o'reilly example of a counter
with a
static variable and a local one to count access
unfortunately
No, it doesn't. This is a simple, single CPU NT machine.
Shay.
It's also the same by me.
Frank
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
Peter Shankey [EMAIL PROTECTED] wrote:
Are many people using TC??
please respond with a link to the web site using TC
It would be UN-wise to respond if you have a version of Tomcat different
than 3.2.3 or 4.0b7... As older versions might have security holes...
It might be un-wise also to
the code is:
public class MyServlet extends HttpServlet
{
int count = 0; // should be separated for each instance
static int classcount = 0;
public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws IOException, ServletException
{
this.count++;
classcount++;
...
Hello,
Is it possible to use jspc as a standalone tool
without Tomcat (ie: without any $TOMCAT_HOME) ?
I am thinking of copying the tomcat librairies in a
personal lib directory, and then to call jspc through
a java command with a line such as:
java -classpath
hello everybody,
I have a big problem (I think so). I´m trying to run tomcat3.2.3 with IIS
but IIS doesn´t run jsp pages. Tomcat run, and I made the necessary changes
described in
http://jakarta.apache.org/tomcat/tomcat-3.2-doc/tomcat-iis-howto.html, but
it doesn´t work. The green arrow
java -classpath
./lib/jasper.jar;./lib/webserver.jar;./lib/servlet.jar
org.apache.jasper.JspC -v10 -d ./src/ -webapp
./mywebapp
I have tried it without success: It starts with the
line: 2001-09-03 15:04:38 - uriRoot implicitly set
to
... but then exits without finishing the job, and
More specific datas from my problem:
When I try to run a jsp page. the browser return the error 405 - not
allowed. But I have already changed the execute permissions to scripts
and executables in the site properties. This jsp contain a access to DB.
When I try to run simple jsp page like:
Hi!
I want to serve 'myfile.xxx', but generated with Tomcat via JSP.
I mean, I store 'myfile.xxx' in TOMCAT_HOME/webapps/ROOT/:
--//---
%
int number=2;
%
The number is %=number%
//-
And I want to see 'The number is 2'
How must I configure 'tomcat.conf'???
Hi again!
I tried (at tomcat.conf) with:
-//
AddType text/jsp .xxx
AddHandler jserv-servlet .xxx
-//
I restarted Tomcat, but when typing 'http://myserver:8080/myfile.xxx'
, I get
%@page language=java%
Any suggestion???
Christoph Ender wrote:
Hey all,
I'm trying to access the certificate that the user has sent to
authenticate himself. I'm using the Tomcat/Apache combo. Apache correctly
exports the Certificate to the SSL_CLIENT_CERT environment variable, but
when I try to read
Hi,
things that come to mind:
- are the JSSE-jars in the classpath?
- could it be that you have to define an IBM security-provider?
good luck
Alexander
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 03, 2001 11:14 AM
To: [EMAIL PROTECTED]
Hi!
I'm trying to serve/create a .wrl file (VRML) by using servlets.
//-
public class prueba extends HttpServlet {
...
response.setContentType(model/vrml);
...
out.println(#VRML V1.0 ascii.\n);
...
//-
I compile it correctly, but when calling it from the browser I get:
Error:
On Sun, 2 Sep 2001, Jeff Turner wrote:
Date: Sun, 2 Sep 2001 16:04:23 +1000
From: Jeff Turner [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Is there a way to get the docBase property from within a
servlet?
On Sat, Sep 01, 2001 at 09:48:10PM -0700,
A couple of good books - both dealing with Tomcat. Inside Servlets by
Dustin R. Callaway - Addison-Wesley is the publisher. The other one is
Core Servlets and Java Server Pages - by Marty Hall.
Both have their strong points, and of course the Core... book, coming from
Sun deals with Tomcat
Sounds like a redesign is more appropriate.
Memory issues aside, have you considered the fact that using individual
security constraints for each and every user means that you have to
restart the entire app every time you add a new user? Or, that every time
you add a user and restart, the
On Mon, 3 Sep 2001, Roland wrote:
Date: Mon, 3 Sep 2001 16:19:48 -0300
From: Roland [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Limits on the size of the web.xml file?
Sounds like a redesign is more appropriate.
Memory issues aside, have you
The details *vastly* depend on how your app is put together, but it isn't
all that complicated to figure out.
Consider that you might have the mailboxes for a particular user defined
in a database table called mailboxes, with columns username and
mailboxname. It would be easy to construct
On Mon, 3 Sep 2001, Roland wrote:
Date: Mon, 3 Sep 2001 16:37:17 -0300
From: Roland [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Limits on the size of the web.xml file?
The details *vastly* depend on how your app is put together, but it isn't
all
I can't seem to get Tomcat4.0 running properly. The Servlet examplse work
fine but not the JSPs.
I get:
org.apache.jasper.JasperException: Unable to compile class for
JSPnullC:\dev\jakarta-tomcat-4.0-b7\work\localhost\examples\jsp\dates\_0002fjsp_0002fdates_0002fdate_jsp.java:167:
Incompatible
Craig R. McClanahan wrote:
On Thu, 30 Aug 2001, Calvin Lau wrote:
Date: Thu, 30 Aug 2001 21:32:53 -0700
From: Calvin Lau [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Tomcat 4.0 Context/ Problem
I'm trying to get Tomcat4.0 to recognize an application in
Hello is there a limit to the size of the web.xml file? This is because if
we want to have a large user database with say 500 users, and make a
separate security constraint for each user to protect his directories from
the other users we will have quite a large web.xml file.
Each security
On Mon, 3 Sep 2001, Roland wrote:
Date: Mon, 3 Sep 2001 15:15:36 -0300
From: Roland [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Limits on the size of the web.xml file?
Hello is there a limit to the size of the web.xml file?
There
Well, I had similar problems. I took a time until I realized that I had
overwritten the newer jar files in the tomcat_home/lib directory with the
older jar files from the b-5 version of Tomcat. Did you do the same mistake?
Roland
Just thought I'd reply saying that I also experienced
problems using tomcat and the iis that would send
the inetinfo service into cpu lock. It's a dual
processor machine running NT 4.0.
The only way we resolved the problem was to run
tomcat in standalone mode.
--- Shay Mandel [EMAIL PROTECTED]
Christoph Ender wrote:
Hey all,
I'm trying to access the certificate that the user has sent to
authenticate himself. I'm using the Tomcat/Apache combo. Apache correctly
exports the Certificate to the SSL_CLIENT_CERT environment variable, but
when I try to read
HI everyone,
I just downloaded and installed Tomcat 3.2.3 and trying to setup a servlet
mapping. For some reason it does not recognize my mapping at all. Here
is what I added to web.xml:
servlet
servlet-namePyServlet/servlet-name
Good call Mark...I have a servlet.jar in JAVA_HOME/jre/lib/ext as well as in an old
installation of Tomcat. I removed
the servlet.jar under JAVA_HOME, and the JSPs work now. I'm very new to all this
(Java development, classpaths, etc).
From what I understand, Tomcat4.0 will automatically
I also found versions of jaxp.jar and crimson.jar under JAVA_HOME/lib/jaxp-1.1. Will
those conflict with the ones in
CATALINA_HOME?
Calvin Lau wrote:
Good call Mark...I have a servlet.jar in JAVA_HOME/jre/lib/ext as well as in an old
installation of Tomcat. I removed
the servlet.jar under
Double check for an old copy of servlet.jar (or possibly jsdk.jar) in your
classpath, or in your system extensions directory
($JAVA_HOME/jre/lib/ext). This particular error message happens whenever
there is more than one servlet.jar visible, and one of them is servlet
2.3 / jsp 1.2.
Craig
On
On Mon, 3 Sep 2001, Calvin Lau wrote:
Date: Mon, 03 Sep 2001 14:23:19 -0700
From: Calvin Lau [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Limits on the size of the web.xml file?
My web.xml file worked fine in Tomcat3.2.1 as did the Context/Context
Hi, experts!
I met a problem when I tried to make JDBC connection by using the
code as follows.
The program work well when I use startup.bat to start tomcat.
But I cannot use it when I start Tomcat as a service. Yet I can
still use all the other JSP sameples, it tells me the URL is
Hi,
When Tomcat is installed as a service , it requires that all the library
jars
should be mapped in the wrapper.properties file with following line :
wrapper.class_path=$(wrapper.tomcat_home)\lib\xxx.jar
where xxx.jar is the required jar file.
Try to remove the old service.
Modify the file
74 matches
Mail list logo