hello
I am facing a problen with tomcat and I think it
may be a configuration problem. What happens is when I
compile a bean and place it in the subfolder classes
of folder WEb-Inf, the JSP page works just fine. Now
suppose I change the bean i.e some modifications in
the code and After recompi
The newest release of Tomcat 4.0, beta 1, is now available at the Jakarta web
site:
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0-b1/
This release is the first in a series of betas that will lead to a production
quality release of Tomcat 4.0 in the near future. At the same ti
i'm running two site with defferent domain names
so i set up tomcat with virtual hosting function
one site is good(servlet, jsp both ok)
but the only servlet works at the ohter site
when i request .jsp files by my browser
the server didn't respond
how can i solve it?
two sites have th
This kind of got long and detailed. I would like it to be reused if
possible in the faq.
I did it. I have 3 virtual hosts in Apache, with 3 different instances of
Tomcat. One for each virtual host.
I am running apache 1.3.9 on FreeBSD, jdk1.2.2, tomcat 3.2.1
create a subdirectory in /usr/lo
> I could tell Apache/mod_jk like this
>
> JkMount /MyServlet ajp12
I took a look at the documentation and the I can see that the above will
send anything under /MyServlet to the remote box, but it's my understanding
that the JSP file must be located on the tomcat box.
Suppose I had a mixture of
I think I understand the url mapping issues. My concern was that I wanted
to have ALL my web files, be it HTML, JSP etc on the same box, but with
apache and Tomcat on separate servers.
I use mod_jserv instead of mod_jk, but I'll see if the mod_jk documentation
has anything that would help me do
I am using tomcat 3.2.1 on a Windows 2000 (SP1) machine, and I am developing
a tag library. I have gotten a few tags working, and I am now trying to add
a teiclass to one of them to validate the tag attributes. I defined an
extension of the TagExtraInfo class, compiled it (into the same directo
you can configure for Apache/mod_jk to simulate the servlet url mapping.
for example if I have a servlet com.me.MyServlet and the url pattern is
MyServlet.
I could tell Apache/mod_jk like this
JkMount /MyServlet ajp12
the mod_jk document explains all the details that you need to configure for
t
It is possible to host tomcat and apache on diff hosts, but if I
recall, the JSP pages or servlet-mapped urls, served by tomcat, can't
refer to any urls served by the apache side, notably images, included
HTML etc. I ended up with such a mess of files on both hosts I host
both on one machine. No
You need to have j2eesdk tocompile the java servlets.Download it and install
them to compile your servlets.
Ram
>From: "RAHMAN,ABDUR (HP-Sunnyvale,ex1)" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>CC: "RAHMAN,ABDUR (HP-Sunnyvale,ex1)" <[EMAI
I'm trying to setup apache and tomcat on separate servers and I was
wondering if there any websites that explain this.
I tried following the tomcat instructions, but I couldn't get it to work the
way I want.
I can get tomcat working just fine on the same box. When I try to use
tomcat on a separ
Hello,
in my mod_jk.log file:
[jk_ajp12_worker.c (596)]: ajpv12_handle_response, error writing back to
server
appears many times although my application seems to run fine.
Thanks
Tony
-
To unsubscribe, e-mail: [EMAIL PROTECT
Hi All,
I am running Tomcat 3.1 with JDK 1.3. I have setup TOMCAT_HOME and JDK_HOME
and all that stuffs. I need to compile servlet files manually before running
under TOMCAT. When I compile using javac, my compilation fails. Even though
I setup TOMCAT_HOME, why it has problem recognizing HTTPServ
Please help me. I am not sure what is causing this, but from what I can
tell it is an error during introspection.
In the shell I am running the server in, I get
2001-01-05 04:58:27 - Ctx( /custdb ): JasperException: R( /custdb +
/process/main.jsp + null)
Why don't you create your own web application - webapps/myapps yada yada
yada - just copy the examples directory and subdirectories then add a
context to server.xml in conf. Also copy web.xml from the examples directory
and delete everything and add you own contents to this file. Or you can use
an
Thom Park wrote:
> Craig,
>
> can Tomcat 4 support multiple realms, i.e. more than one Realm at the same time?
Yes.
> If
> so, how would
> the application be mapped to use the appropriate realm?
>
The secret is that you can nest a entry (in the "conf/server.xml" file) inside
a , a , or an .
Charles Talleyrand wrote:
> Ok, so I too wish to extend a realm but I believe I don't understand enough about
>packages
> and stuff but if I go to where SimpleRealm.java is sitting and javac it, I get a
>whole lotta errors.
> I'm sure it is something basic that I am doing wrong. Anyone wanna
Craig,
can Tomcat 4 support multiple realms, i.e. more than one Realm at the same time? If
so, how would
the application be mapped to use the appropriate realm?
I noticed that there is a 'realm-name' entry in the login-config field. Could this
be used to select the
appropriate Realm manager? I u
Ok, so I too wish to extend a realm but I believe I don't understand enough about
packages
and stuff but if I go to where SimpleRealm.java is sitting and javac it, I get a whole
lotta errors.
I'm sure it is something basic that I am doing wrong. Anyone wanna point out the
folly of my
ways?
David Haraburda wrote:
> Hello,
>
> I am in the process of migrating our web application to Tomcat 3.2.
> Currently I am looking at re-working our current method of
> authentication. I noticed that in the server.xml file there is a note
> that says "You can plug more advanced authentication mo
I used
iPlanet web server 4.1 steadily up until this past December. It definitely
can handle jsp:useBean all by itself. You don't need Tomcat to provide
iPlanet 4.1 this functionality.
-Original Message-From: Gino Condori
[mailto:[EMAIL PROTECTED]]Sent: Friday, January 05, 200
Hello,
I am in the process of migrating our web application to Tomcat 3.2.
Currently I am looking at re-working our current method of
authentication. I noticed that in the server.xml file there is a note
that says "You can plug more advanced authentication modules". Since
JDBCRealm will not wo
Sorry, I asked this question on the jetspeed list, but no response
there...and someone told me this list is more appropriate.
I installed the war file on a working tomcat installation (3.2.1), but I
can only access jetspeed via localhost:8080 url.
How can I access it from behind apache? I add
Hi Jakarta-TomCat Developers
!!
I
'm a web engineer and I trying Netscape Web Server 4.1 SP5 with Jakarta-Tomcat,
but I don't know how configure it.
Please, you can say me how I can ?, because IPlanet is using a jsp compiler from
Tomcat 3.0 and I need upgrade it.
Because, I want
I just want to share my experience since this have been spend me the whole
day to figure that out.
If you tried to run tomcat as nobody while your TOMCAT_HOME's directory (
as well as the sub directories and files are owned by someone else, let's
say root ). You have to make sure you change the
Hi,
I need to use the mod_plsql module. It does not matter whether I use
Apache or Tomcat to achieve it. Can anyone please give me some info on
how I can do it? Thanks.
Sincerely,
Anthony
begin:vcard
n:;Anthony
x-mozilla-html:FALSE
adr:;;
version:2.1
email;internet:[EMAIL PROTECTED]
Hi,
I need to use the mod_plsql module. It does not matter whether I use
Apache or Tomcat to achieve it. Can anyone please give me some info on
how I can do it? Thanks.
Sincerely,
Anthony
begin:vcard
n:;Anthony
x-mozilla-html:FALSE
adr:;;
version:2.1
email;internet:[EMAIL PROTECTED]
I'm trying to access some EJB's which are running in Weblogic 5.1 from
Tomcat 3.2. When I try to cast the home interface that I retrieved via a
JNDI lookup I get a class cast exception. I know this problem is due to the
fact that the class is being loaded by both weblogic's and tomcats
classload
Title: Distributed Sessions 0.0.0.1
Hi,
I couldn't find anything that would do distributed sessions, so I just cooked up a StandardSessionInterceptor for tomcat that saves session info to a database and has some limited failover capabilities. It's pretty neat.
Get it at:
http://w
Hello,
JSP work fine if I access the provided examples such
as
http://localhost:8080/examples/
If I put my jsp code under
/jakarta-tomcat/webapps/root.
then when I open netscape to view the page, I get
this error:
"Internal Servlet error
javax.servlet exception
...
...
..
Can anyone show me how
Look at the visual age installation directory ,it should have a java folder
wherein the jdk that comes bundled with visual age is installed.
set your JAVA HOME to this path and u should be good to go
Ram
>From: "vincent" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: <[EMAIL PROTECTED]>
Hi
I just downloaded Tomcat3.2.1
I would like to put it to work on machine where I have NT4 SP6,
IIS3, JDK1.3
What I have done:
I made a directory C:\jacarta-tomcat
I looked through all files in \conf directory and where I found
JDK1.2.2 path (default) I replaced with my JDK1.3 path.
then I
Hi,
I have been using Tomcat 3.1 w/ JDK1.2.2 on WindowsNT. In one particular
JSP, I use a bean and call setProperty with property="*" (reflection) as
follows:
This worked great until I upgraded from JDK1.2.2 to JDK1.3. The particular
page that posts to this JSP posts about 15 parameters.
no, the cmd is being displayed... that's the thing that I don't understand, the
page comes up and everthing displays fine. Under tomcat 3.1 the error message is
displayed at the bottom of the page, and under 3.2 it comes up on the server's
display, but other than that, everything works fine... ver
i hardly found mod_jk source and compiled it, and it worked fine. question
is: woldn't it be easier if we colud download a compiled mod_jk.so? do i
realy need to compile it on a box where it is going to be deployed and why?
-
To
I'm currently trying trying to get a servlet in Tomcat to call methods on an
EJB which is hosted in Weblogic 5.1 I get a ClassCastException when I try
to cast the home interface I retrieved through a JNDI lookup. I understand
this is due to the fact that you are loading the class with both Tomca
This message thread just saved our butt on an image upload
problem we were having (thank God for the mailing list archives).
In any case, the AJP13 problem still exists in Tomcat-3.2.1.
Is there a Tomcat-3.2.2 coming out that will fix the AJP13 problem, or
should we stick
with AJP12 until Tomcat-
Birte Glimm wrote:
> Hi,
> I`m using tomcat 3.2.1, Win 2000 and I tried to configure a servlet (Header,
>displays just all received Header information) with basic authentication. I changed
>the web.xml as followed:
>
>
>
> Header
>
>
> /
Deepak C S wrote:
> hi all,
>
> can anybody tell "how to create web application archives(WAR)
> ...that is .war files??"eg. like examples.war in Tomcat.
>
> Im using tomcat3.2.1 on linux.
>
WAR files are just JAR files with a special directory structure, so you can use
the "jar" command
Hello.
I'd love it if you could help me out and tell me
how you "configured the redirector". I'm using IIS, and I see no request
attributes.
Thanks.
Thanks, now it works as I want it.
Birte
-Original Message-
From: Nacho [mailto:[EMAIL PROTECTED]]
Sent: Freitag, 5. Januar 2001 17:55
To: '[EMAIL PROTECTED]'
Subject: RE: How to configure basic authentication
Hola Birte:
This is caused by the non-stardard Invoker present o
Rajas wrote:
> Hi All,
> Got a small Query for you all, Like JSP , is hot deploymennt of java beans
> possible in Tomcat??
> For eg. If I am using a bean in my jsp and suppose if I make some changes in
> the .java file of the bean and recomplie it,will these cahnges in the bean
> be effected with
Hola Birte:
This is caused by the non-stardard Invoker present on your server.xml
file out of the box..
You can..
Comment or delete the invokerinterceptor line on your server.xml file
or..
Add the invoker interceptor url to your protected resources...
The invoker interceptor is de one in de l
When I uncomment out the section in web.xml to use jikes as the compiler for
jsp compiles, jasper throws an exception (exception stack trace included
below) . The jasper.log has no helpful information as what the compile
problem is. This compile error does not occur when jikes is not being used
please sendthe excerpt of your server.xml file with the
requestinterceptor
Thanks
Saludos ,
Ignacio J. Ortega
-Mensaje original-
De: Vincent Harcq [mailto:[EMAIL PROTECTED]]
Enviado el: viernes 5 de enero de 2001 17:45
Para: [EMAIL PROTECTED]
Asunto: FORM based Authentication and JDBC
Hi!
Tomcat 3.2.1
Interbase 6 Database.
I have setup
JDBCRealm and I am trying to use the /examples/jsp/security/protected/index.jsp
that is provided with Tomcat to validate it.
So I only change
server.xml, I use the original web.xml from the example
application.
When I go to the
I recei
Hi,
I'm trying to define an initial context which allows me invoking my servlets
by calling them from the root location of my Webserver (eg.
http://localhost/). This is actually not a problem if I invoke a Servlet by
calling it this way:
http://localhost/htdocs/servlet/EditStudent
What
Hi,
I`m using tomcat 3.2.1, Win 2000 and I tried to configure a servlet (Header, displays
just all received Header information) with basic authentication. I changed the web.xml
as followed:
Header
/protected/Header
I download the tomcat source and compile that myself. I am runnning RH7
but I don't think there is a problem to compile that under Debian or other
distribution. The online doc of mod_jk tell you how to compile that and it
is very straightforward.
Yes, when I execute one of the sample jsp implementations I
do get the same errors (shown below).
/tomcat/jakarta-tomcat-3.2.1:2001-01-05 09:13:12 - Ctx( /examples ):
JasperExcep
tion: R( /examples + /jsp/dates/date.jsp + null) Cannot read file:
\jsp\dates\date.jsp
2001-01-05 09:13:12 - Ctx( /exa
I found the following lines to uncomment in the sample web.xml file to use
jikes for JSP compiles.
My question is: Is that all there is to it or is this just one step in the
process?
I thought that Jikes achieved its performance improvement over javac
partially from being written in native
Did you try the samples under the webapps/examples directory? Tomcat
comes with the /examples context already set up. The problem may
be that /hellouser context has not been set up.
(I am new to Tomcat also, so I may be off base here.)
-Keith
-Original Message-
From: Bill Evans [mailto:
Hi All,
I am a new user of Tomcat/JSP. I have installed Tomcat 3.2.1 (standalone)
in a Windows environment, and have successfully executed the servlet
sample implementations. When I attempt to execute the sample
JSP implementations I get the error shown below. I have checked,
and the .jsp file do
Dear Friends,
Can enyone tell me how to enable ssi support on Tomcat please.
thanx in advance
Pal
_
Chat with your friends as soon as they come online. Get Rediff Bol at
http://bol.rediff.com
-
> Nagappan A wrote:
>
> Hi,
> Any one please help me 2 find out the shared object of mod_jk for
> Debian GNU/Linux system.
>
> Regards
> Nagappan
I downloaded the mod_jk RPM from the rpmfind site and it placed the so
file in /usr/lib/apache on my system.
http://rpmfind.net/linux/rpm2html/s
Hi,
Any one please help me 2 find
out the shared object of mod_jk for Debian GNU/Linux system.
Regards
Nagappan
Ant1.2 has a War file tool from your ant build script that is really useful.
Also the war file is only a jar so once you've created the directory
structure jar it and rename it to .war and that works fine.
Dave
[EMAIL PROTECTED]
-Original Message-
From: Algarve, Leila [mailto:[EMAIL PROT
Generic Servlets can be generated quite easily. Here is a
stubbed out class:
package com.example;
import javax.servlet.*;
public class MyServlet extends Servlet
{
public MyServlet
{
}
// The init() method gets called when the Servlet is loaded
public void init
The site http://www.jguru.com/ has many faqs, you can look there. Here are
two questions that migth be useful for you:
http://www.jguru.com/jguru/faq/view.jsp?EID=129333
http://www.jguru.com/jguru/faq/view.jsp?EID=123229
Bye,
Leila
> -Ursprüngliche Nachricht-
> Von: Deepak C S [mailt
Hi,
thanks a lot for the replies. I will take a look at the links to the new
version of uploader code.
>From: Randy Layman <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>Subject: RE: Slow upload speeds
>Date: Fri, 5 Jan 2001 08:20:44 -0500
>
>
Do you know where I can find resources/examples?
-Original Message-
From: Michael Wentzel [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 05, 2001 5:05 AM
To: '[EMAIL PROTECTED]'
Subject: RE: nonHttpServlet Support
Yes.
---
Michael Wentzel
Software Developer
http://www.asweth
The last time we downloaded it (quite a while back),
Jason used oInStream.readLine(aBuffer, aOffset, aLen);
Where oInStream is a ServletInputStream,
and aLen = 1024 * 100.
Whith that it is dependen on the implementation of the
underlying servlet engine.
You can download the lib at
http://www.
> we r trying to start the Tomcat programmatically by using EmbeddedTomcat
> .we followed the sequence of steps that are mentioned in EmbeddedTomcat
> program. In this process we r trying to get the contexts for each
> directory in the webapps folder. we also modified the "tomcat.policy" file
>
> Root cause:
> java.lang.NoClassDefFoundError: sun/tools/javac/Main
What it says is that it can't find the Sun Java compiler
(sun.tools.javac.Main) that is normally located in tools.jar
> I use JRE 1.3.
Instead of using the java *runtime* environment 1.3 (JRE 1.3) you should
be using one of th
Even though its on the same machine, the data still flows through
the Operating System and into the TCP/IP stack to pop out the other side on
the same machine, it just didn't cross any networking wires. That's the
whole point of localhost/127.0.0.1, simulate traffic from the network
with
If you dont read it during runtime, whats the point in this patch?
You could just remove the worker totaly from the file.
Am I missing something?
-Original Message-
From: Michael Kuz [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 04, 2001 19:38
To: '[EMAIL PROTECTED]'
Subject: RE: [P
Yes.
---
Michael Wentzel
Software Developer
http://www.aswethink.com">Software As We Think
mailto:[EMAIL PROTECTED]">Michael Wentzel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
-BEGIN PGP SIGNED MESSAGE-
Many people have been talked about bad performance when using Jason
code.But, you should tell me some information like available memory and
availabe disk space When you try to use client and server on the same
machine and the problem still happens, we are able
Actually you should not need to ever reboot to absorb new
environment vars. In windows though, you do have to start
a new dos window. Dos windows that are open before changes
are made to a environ var will not absorb the changes made.
Any new dos windows will have the changed settings. Win2000
Remember when you set something like /examples/*=ajp12 in your
uriworker.properties file? That was the mask for the URLs to be sent to
Tomcat - in other words, anything request for a file in the /examples
directory will be sent to Tomcat (using a connector named ajp12, defined in
the wor
> -Original Message-
> From: Birte Glimm [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, January 05, 2001 12:15 PM
> To: [EMAIL PROTECTED]
> Subject: RE: off-topic: handling non-ascii characters in URLs
>
> True,
> it`s the Browser that encodes the special chars I think. I sometimes had
Hi Markus,
This is a problem has been puzzling me for quite
a while too.
However, it does seem related to an exception being
generated in my own code, ie it happens only after
some jsp I have written throws an exception (which
I catch & log). I think, therefore, that it isn't a tomcat
bug as su
I've never dealt with this in Tomcat, but from other network apps:
How are you using the ServletInputStream - are you calling int
read(), which reads the stream a byte at a time, or are you calling int
read(byte[])? My experience is that you want to use the second option,
prefera
Dear all,
we are encountering a bunch of exceptions of the following type:
Context log: path="/jive" Error in jsp service() : Broken pipe
javax.servlet.ServletException: Broken pipe
at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:375)
at javax.servlet.http.HttpSe
Hi all!
Is there JNI support for Apache in Linux? The documentation only explains
something for Windows.
Thanks in advance.
Get free email and a permanent address at http://www.netaddress.com/?N=1
\path-to-jdk\lib\tools.jar is missing in the classpath.
> -Ursprüngliche Nachricht-
> Von: "Weßling, Achim" [mailto:[EMAIL PROTECTED]]
> Gesendet: Freitag, 5. Januar 2001 12:21
> An: [EMAIL PROTECTED]
> Betreff: Error 500 when starting examples
>
>
> Hallo,
>
> I try to run Tomcat 3.2.1
hi all,
can anybody tell "how to create web application archives(WAR)
...that is .war files??"eg. like examples.war in Tomcat.
Im using tomcat3.2.1 on linux.
thanx,
deeps
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
Hallo,
I try to run Tomcat 3.2.1 on a WinNTServer 4.0 SP 6a with IIS 4.0.
The installation seams to be easy, but when I try to run the examples on
http://localhost/examples/jsp/index.html I get the error-messages like this:
Error: 500
Location: /examples/jsp/error/err.jsp
Internal Servlet Error
True,
it`s the Browser that encodes the special chars I think. I sometimes had problems with
not encoded URL`s in Netscape, but the IE always translates them right.
Birte Glimm
-Original Message-
From: Kitching Simon [mailto:[EMAIL PROTECTED]]
Sent: Freitag, 5. Januar 2001 11:58
T
Hi All,
While following a related thread (RE: a simple test to charset),
a question occured to me about charset encodings in URLs.
This isn't really tomcat-related (more to do with HTTP standards)
but thought someone here might be able to offer an answer.
When a webserver sends content to a b
Hi,
I have read the document at your site and have followed all the steps given
there.
I have created a virtual directory with name jakarta and have given physical
path of isapi_redirect.dll as executable.
I am able to successfully access my servlet directly from tomcat. Testing
IIS 5.0 I g
I am trying to use Tomcat 3.2.1 standalone compiled with SSL support and
Jsse 1.0.2
I hava configured Tomcat to use port 443 with SSL and it works fine using a
browser.
If I use "http://myserver/mypage.html" it do not use ssl
If I use "https://myserver/mypage.html" it uses ssl.
Now I m using jss
Hi,
I tried your HelloWorldExample and for me it works fine. My configuration is:
Win 2000 engl., Tomcat 3.2.1 standalone. I tried the URLs
http://my_ip/servlet/HelloWorldExample?name=André
and
http://my_ip/servlet/HelloWorldExample?name=Andr%E9
and both worked fine
Birte Glimm
-Or
Hi, I wonder if it was possible to limite access to
a part of my web site to a spécifique DNs, IP adresse
or ans IP branche?
thanks :)
__
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/
Hi everybody,
Could anybody tell me where I can download
mod_jserv.c in order to recompile it with my linux apache 1.3.9 ?
Many thanks
Pascal Coube
[EMAIL PROTECTED]
Hi,
if you create a html file and submit the form to the servlet, the char will
be displayed
like
or you have to encode the special character.
I tried it in IE + tomcat 3.2 + jdk 1.3 on nt.
Regards,
Nagaraj
-Original Message-
From: André Alves [mailto:[EMAIL PROTECTED]]
Sent: T
hello,
it took me also some days to get mod_jk to compile.
unfortunatly mod_jk's behaviour during the compile
process varies between plattform.
freebsd is the only os i got a fully functional
mod_jk.
i think mod_jk needs some major rework, never
had those problems with mod_jserv. that module
ev
87 matches
Mail list logo