On Wed, 14 Mar 2001 [EMAIL PROTECTED] wrote:
Hi folks,
thanks for all your comments, but i have not made any changes to the email
address i subscribed with...as you can see, there is a unique problem...i am
supposed to have a my username and hostname embedded in the return address
but all
Vladimir Grishchenko wrote:
Christian Rauh wrote:
Vladimir Grishchenko wrote:
I am also facing the same problem and had an idea while reading your
post. Maybe you can set a frame on your main page where you want the
login to appear. That frame links to that welcome page proposed
On Wed, 14 Mar 2001, David Wall wrote:
Is there something like the web.xml's "load on startup" that can be
triggered when the Tomcat has been requested to shutdown? I'd like to be
able to do "global" cleanup in such a situation.
In the servlet 2.3 spec (supported by Tomcat 4.0), there
Hello,
I'm running tomcat 3.2.1 on a rh 6.2 box, with apache 1.3.x.
Servlets run without a single problem EXCEPT on the first couple of times they are
run, and I get an internal server error (from apache).
After a couple of reloads, everything is fine until the next tomcat restart.
Hi All,
I am having a problem in form based authentication using JDBCRealm.
After configuring the server.xml , web.xml and mod_jk files, I was able
to get to the login.jsp page but when I press submit , I get an error
404 saying /var/tomcat/webapps/examples/jsp/security/login/null not found.
On Wed, 14 Mar 2001, Miles Poindexter wrote:
After upgrading from Tomcat 3.2.1 to 4.0 beta, the weird hang problems and Hotspot
JVM fatal errors are gone!
Here's some notes about the installation, and some possible bug info:
One problem was this method:
writer.write(s.getBytes());
On Wed, 14 Mar 2001, Randy Layman wrote:
The one major problem with what you ask is: What happens if the
application is run out of a WAR file? As in, the JSP server does not expand
the WAR to run it? This is a possiblity according to the spec, although I
don't know of any JSP
On Wed, 14 Mar 2001, Craig R. McClanahan wrote:
It might be a bug. Could you please submit a bug report (with a small
test case) to our bug tracking system?
http://jakarta.apache.org/bugzilla/
Ooops ... this is really
http://nagoya.apache.org/bugzilla/
Craig
I cannot get IIS5 to connect to Tomcat, I can get IIS4 on a different
machine to connect to the same version of Tomcat.
Looking at the isapi.log file the redirector is getting as far as
[jk_isapi_plugin.c (461)]: HttpFilterProc check if [/examples/] is
points to the web-inf directory
and
The (1st prize winner) bug involving CTRL_LOGOFF_EVENT is about to be solved in
(coming soon :-) JDK 1.3.1 .
Meanwhile, a very good wrapper (that doesn't need registry editing, and is very
simple to use) can be downloaded @ www.alexandriasc.com .
bye.
--
Diego Rodrigo
Vates S.A.
[EMAIL
I'm a firm believer in having a server box come up completely automatically with
all
services when turned on which is something I had with apache/jserv. Now I'm
trying out Tomcat/Apache and wonder what the right way to do an unattended
startup of these might be in a Unix box. Since tomcat needs
Have you followed the steps in the Tomcat-IIS How To (available from
the Tomcat CVS in src/docs, a link to the web interface is on the Tomcat
homepage)? The reason that you can't run some setup.exe I believe is
because you can't automate a number of the steps involved. (I've tried but
I think you're experiencing a standard Java class loader problem.
Java treats classes loaded into different classloaders as different
classes, even though they share the same full. qual. name.
Your recompiled servlets are reloaded by a brand new class loader
to make sure the old classes are
I have the tomcat server running and I can get to the
"examples/servlets" page. When I click on "HelloServlet Execute button"
I get a pop-up box that states that
there was no data. I figured that I did not have the connector set up
right so, I edited the server.xml file and added;
!-- (2)
Christian Rauh wrote:
Vladimir Grishchenko wrote:
Christian Rauh wrote:
Vladimir Grishchenko wrote:
I am also facing the same problem and had an idea while reading your
post. Maybe you can set a frame on your main page where you want the
login to appear. That frame links
I have seen that when I don't stop and start apache in the correct order.
after I load new servlets class files,
I stop httpd
stop tomcat
start tomcat
start httpd
I do not see those problems anymore.
RP
-Original Message-
From: Rui M . Silva Seabra [mailto:[EMAIL PROTECTED]]
Not sure if this is your case, but I had a similar problem
when using JAXP 1.1. The problem is there's some sort of
class name collision between jar files... I had to
reorder the CLASSPATH for tomcat to get rid of this problem.
Regards,
VG.
Mandar Joshi wrote:
I just moved my server side
Please help. I have searched the web up and down, left and right, but I cannot
find any answers.
I recently installed tomcat to run in-process within apache 1.3.14 on a solaris
machine.
I have no problem executing the servlets at /examples/servlets/ but when I try
to execute
the JSPs at
I have been writing an app that uses a bean with scope "session"
a user goes to a login page and gives there user name and password
this is send to the authbean and if all is correct will set a few values
in the bean, things like there name and type of user.
This all works fine.
However when I
Hi Robert.
I guess you're talking about a static xml file. In this case, you should
add the mime-type to your web.xml.
I don't have an example ready, but you can follow the web.dtd in
http://java.sun.com/j2ee/dtds/web-app_2_2.dtd
Un saludo,
Alex.
Robert Nicholson wrote:
Am I missing
Hello,
I've compile mod_jk.so for FreeBSD 4.1 using Makefile.freebsd that comes
with the source tar (under dir apache1.3). I now receive the following
error while trying to start Apache.
Syntax error on line 8 of
/usr/local/jakarta-tomcat-3.2.1/conf/mod_jk.conf-atuo:
Cannot load
Have you downloaded and installed the isapi_redirector.dll from
http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.1/bin/win32/i38
6/ ??
If not, you should do so and read the how-to at
http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/tomcat-iis-howto.htm
l
hope that's
yes, I followed those instructions. Actually, Tomcat is working if I use
the 8080 port number in the call. But i guess my question is kind of like a
lot of the other questions: how can I put .class and .jsp files where I
want, add new ones and get them to work through IIS redirection instead
My recomendation would be to copy/rename the auto generated files (mainly
mod_jk.conf-auto) and customize it to your requirements (e.g. ajp12 to ajp13, etc.).
If you ever make changes to server.xml, part of your process would then be to move the
new settings into your copy. And, of course,
Have you looked at http://www.ccl.net/cca/software/UNIX/apache/ ?
On Wed, 14 Mar 2001, Steve Prior wrote:
I'm a firm believer in having a server box come up completely automatically with
all
services when turned on which is something I had with apache/jserv. Now I'm
trying out
Hm it seems to work if I use jsp:forward page""
hmm I am still very interested to know what is my error the last time
Thank you.
Pater Pandoson wrote:
I have been writing an app that uses a bean with scope "session"
a user goes to a login page and gives there user name and password
this is
On Wed, 14 Mar 2001 14:24:26 -0600, Randy Paries wrote:
I have seen that when I don't stop and start apache in the correct order.
after I load new servlets class files,
I stop httpd
stop tomcat
start tomcat
start httpd
By no means i'm an expert, but my soul is shouting:
you shouldn't
Hi! Have u tried to test the AuthBean independently? Does the bean try to
cast one object to another object? I think, there are some problems in your
beam when casting. Try to modify the classes relationship, eg: one class is
the superclass of another. It may be helpful.
Leo
- Original
Currently my Apache is servicing requests on port 80 and Tomcat is using
port
8080 to service all application.
1.) Is there away to have each applications being serviced by Tomcat on
there
own ports?
2.) Under the current Apache setup all applications are accessible from
outside domains from
It might be a bug. Could you please submit a bug report (with a small
test case) to our bug tracking system?
http://jakarta.apache.org/bugzilla/
I already fixed it (see my commit from this morning).
I didn't give proper credit to Miles Poindexter for the report (sorry).
Remy
The online web.xml validator at http://www.mslinn.com/sites/tomcat catches
this error.
Also, just a note about the web.xml doc. I looked at one or two
of the DTDs and there does not seem to be documentation about this:
One must put all the servlet entries at the beginning of the xml
doc, and
Hi there,
I've been trying to complete an install of tomcat without success and need
this problem solved.
Can anyone out there help?
I have Solaris 8 (SunOS 5.8) installed on an Ultra 5 workstation.
I have installed GCC 2.95.2 Gnu make.
I have also followed the instructions on downloading and
Hello,
Could somebody tell me please,
how can i set HTTP/1.1 instead of 1.0
regards.
- Original Message -
From: "Joe Laffey" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, March 13, 2001 7:41 PM
Subject: Re: Cache problem with IE
On Tue, 13 Mar 2001, Zsolt Koppany wrote:
Since you didn't provide a fully qualified class name, Tomcat defaulted to
looking in the current directory, relative to /examples. So it was looking
for jsp/dates/DbWriter.class. Where are you keeping your class? Is it in
the classpath?
-Original Message-
From: Mandar Joshi
The following results in Jasper throwing NullPointerException when I try to
include a JSP's output into a servlet's output by calling the following
routine in the servlet code:
void include(String path, HttpServletRequest req, HttpServletResponse res)
throws ServletException {
Hello fellow users,
I'm working on a project that allows users of web-page designers (like
DreamWeaver GoLive) to easily generate JSP's that can manipulate
data from an XML source (a bean, a file, a stream, etc). The
generated JSP's are then run in the Tomcat webserver.
One problem I have is
... never mind, I just discovered that if I invoke the servlet in the HTML
form as:
form method="post" action="/Validator/servlet/com.mslinn.Sequencer"
class="formInput"
Then I need to get rid of the "/servlet" part of the URL in the servlet's
call to my include() method as follows:
Hello,
Could you let me know sites where I can see Applet-servlet communication
examples?
If I can get sources from there, that would be better.
Thank you so much.
Paul
I have just installed 3.3m1 from Henri Gomez' rpms. The configuration
has changed significantly. The top-level readme contains release notes,
whcih include the following:
- Class Loading:
Tomcat 3.3m1 now uses a new hierarchy of class loaders. It provides
for the
separation of the classes
Title: RE: 'work' Folder--help??
Tomcat doesn't actually execute JSPs directly. First, tomcat compiles each JSP into a servlet, then the servlet is run. The work directory contains the compiled form of the JSPs (i.e., the resulting servlets.)
I'd suggest updating your startup scripts to
Hi friends,
I am trying to run the jsp examples under Tomcat 3.2.1 and i am geeting the
Error 500 which is shown below.Can anyone help me or give me any hint to
solve this. I have included the jasper.jar in my CLASSPATH too.
Thanks
Error: 500
Location: /examples/jsp/num/numguess.jsp
Internal
I second that question 8o)
Adam.
Adam Fowler
Second year Computer Science undergraduate
University of Wales, Aberystwyth
Carroll College, WI, USA(2000-2001)
web: http://gucciboy.dyndns.org/aff9
e-mail: [EMAIL PROTECTED]
"Every new beginning comes from some other beginning's end"
I just installed tomcat with apache on linux.
when I run an example .jsp file(from the Tomcat install) on port 8080 on
the localhost, it runs fine.
But when I try to run my own .jsp file at the address:
http://domainname.edu/~userid/folder1/folder2/index.jsp
I get the following error in the
Bo Xu wrote:
Andrey Myatlyuk wrote:
Hello Vladimir,
Thank you for your help.
And I'm still have some questions.
Why do we need to implement "some interface"? java.io.Serializable I
think? But anyway I implemented this interface - it doesn't work. This
approach works for
Hi all!
I'm trying to run Tomcat 3.2.1 under Win2k and this error occures: "error
occured duriong initialization of JVM ,java/lang/ClassNotFoundException :
sun/io.ByteToCharCp1250". I;ve searched this class and found it in zip file
\Winnt\java\packages\afh7j5v5.zip. On the other side, if
You're probably running Microsoft's java.exe. Get ahold of a which.exe
utility and find out which one you are using. Rename
\winnt\system32\java.exe to java.bak and make sure c:\jdk1.3\bin is in your
path.
-Original Message-
From: Ivan Pilis [mailto:[EMAIL PROTECTED]]
Sent: Wednesday,
Hi, I have an unusual problem. I have a feeling that it has to do with either
server.xml or web.xml configuration. I wrote a servlet that initializes both
'doGet' and 'doPost' method. The main page is called by the doGet method that
prints out the HTML tags which has a Form Method=Post tag in
Hello everybody,
first I want to thank you for your quick reaction. But the question is, how
to tell Tomcat to do that for me automatically. My files are so far valid,
that I can process them manually (with xt). But if I include the
?cocoon-process type "xinclude"? Tomcat starts to do the
On Wed, 14 Mar 2001 [EMAIL PROTECTED] wrote:
Hi, I have an unusual problem. I have a feeling that it has to do
with either server.xml or web.xml configuration. I wrote a servlet
that initializes both 'doGet' and 'doPost' method. The main page is
called by the doGet method that prints out the
Can someone who uses TOMCAT send me a sample class that conects to the
database? I have made one that initializes de driver to connect and returns
the connection, so it is very slow. What kind of solution do you have?
I am using jakarta-tomcat release v3.2.1 on Solaris 2.5.1, with Apache 1.3.14.
I am trying to implement a simple servlet that forwards a request to a simple jsp,
where my intention is to pass an object to the jsp using the session object as
follows:
Servlet code -- inside doGet
Hi all,
I found that the size of the log files (jasper.log, servlet.log
tomcat.log)
are growing very fast every day. Now I want to rotate the logs
daily. How can I do that??
Rgds,
unplug
I don't know whether this is an Apache, Tomcat, or the
browser issue. Whenever Apache/Tomcat serve a file
with html tags embedded in it, one of them would
translate these html tags. This happens with the jsp
source examples that came with Tomcat.
How do I make these examples with the .txt
Since I want to use ajp13 and set up apache/tomcat on different machines.
I did the following
get mod_jk.so copied in my apache machine
look at the mod_jk.conf-auto file.
Is it true I shall
(1)ftp mod_jk.conf-auto file from my tomcat machine to apache machine
(2) modify all the "ajp12" to
try to break the directive line into 2 lines
like this:
%@ page language="java" %
%@ page import="java.util.*" %
- Original Message -
From: Bufi, Corey (CRD) [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 15, 2001 9:47 AM
Subject: Cannot forward from servlet to jsp using
Do you have any example for the tomcat.logrotate under linux?
Dave Masino wrote:
If you are using Linux/Unix, try typing "man logrotate" or "man newsyslog"
for more info. If you are using Windows, sorry can't help ya.
-Original Message-
From: unplug [mailto:[EMAIL PROTECTED]]
Has anyone successfully got the Tomcat JSP Security
example running? What about Tomcat Context Admin
Tools?
-Boon
Hi,
I've installed Tomcat 3.2.1 and configured the ISAPI redirector (as
prescribed in the "Tomcat IIS HowTo"). The registry entries are
correct, and the ISAPI filter "turns green", as expected.
Tomcat works fine as a standalone container
(http://localhost:8080/servlet/MyServlet), but whenever
Yep, for Context admin add a user with role admin to tomcat-users.xml
Boon Yeo wrote:
Has anyone successfully got the Tomcat JSP Security
example running? What about Tomcat Context Admin
Tools?
-Boon
Dear Sir/Madam:
I have installed Apache 1.3.19 and Tomcat 3.2.1 to my Win2000. I configured
both Apache and Tomcat, set the path and classpath to the system. Apache can
run JSP and Servlets for the system provided test examples only.
Now I would like to add my own servlet files(in .class) to
Try the following code:
httpservletresponse.setHeader("Expires","0");httpservletresponse.setHeader("Cache-Control",
"no-cache");httpservletresponse.setHeader("Cache-Control",
"no-store");httpservletresponse.setHeader("Pragma",
"no-cache");
It's working fine for me.
IE5, NN4.7 on Win 98,
The release notes for 3.3m1 mention that the test.war file can be
obtained from the "v3.3-m1/apps" directory. I can't find this directory
or file. Anyone know where it is?
Peter
--
Peter B. West [EMAIL PROTECTED] http://powerup.com.au/~pbwest
"Lord, to whom shall we go?"
Andreas Mecky,
Wednesday, March 14, 2001, 1:14:45 PM, you wrote:
Hi,
try this:
response.setContentType(application/msexcel);
response.setHeader("Content-Disposition","inline; filename="here goes my
filename");
this works for me in IE and NS.
yes, this works. thanks!
gerd
What's puzzling is that I don't get the user/password
request. I get to the "Context Administration" page
directly, and then for any button pressed would give
a HTTP 404 - File not found. But I am very certain
that contextAdmin.jsp is there -- I have checked and
rechecked many times.
Weird.
First off I would like to sorry, because I am sure this has been asked a
million times. I did look at the FAQ's for tomcat, but didn't see it
there.
running 2 servers:
(1)NT/Apache/Tomcat
and
(2)Win2k/Apache/Tomcat
We would like to add SSL support. Can someone point in the right
direction
I am having some problem in jsp. When i try to connect my jsp application to database
it gives me error "No suitable driver".I am using Tomcat server and Access 97.
I am giving u the code here.
%@ page import="java.sql.*" %
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance();
Hi,
I"m having a really strange problem with my
JSP. It shows img srr="..." as broken imagewhen I try to get
any images that exist on http://www.geocities.com. Has
anybody have this problem? I'm baffled.
-J
hi there
you don't need the .newInstance() on the end of your driver...
i.e.
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
}
catch (java.lang.ClassNotFoundException ex)
{ }
hth
Alan
I am having some problem in jsp. When i try to connect my jsp
application to database it
you don't need the .newInstance() on the end of your driver...
on the other hand it doesn't harm you at all. i read somewhere that i'd be
better off with .newInstance(), due to some bug in browser's (either IE or
Netscape) jvm. or i might be just wrong. anybody can back me up on this?
vVolf
you're right..some jvm is buggy
-Ursprngliche Nachricht-
Von: Herchel Wojciech [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 15. Mrz 2001 08:57
An: '[EMAIL PROTECTED]'
Betreff: ODP: help me out
you don't need the .newInstance() on the end of your driver...
on the other hand it
Just a head up. I'm still getting the sealing violation BUG. Works fine with
Servlets, but not JSP.
TC 4.0 20010314
javax.servlet.SecurityException: sealing violation
- Original Message -
From: "Christopher J Cowan" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, March 14, 2001 11:27 PM
Subject: RE: 'work' Folder--help??
I thought the work folder is for intermediate files used by Tomcat... as
stated in the User Manual:
The work folder
Hi,
I`m running Tomcat 3.2.1 on a WinNT4.0 machine.
I have a Swing applet that exchanges data with a servlet.
On a WinNT client (not the Tomcat machine itself) with
Netscape 4.75 and Java Plug-in 1.3 everything works
perfectly (no errors on Tomcat or Java console output).
On a Linux client,
101 - 173 of 173 matches
Mail list logo