Hello All,
I have configured tomcat-apache combination. I have given a servlet
request but the following error is being shown.
[28/11/2000 22:19:04:696] (EMERGENCY) ajp12: can not connect to host
127.0.0.0:8007
[28/11/2000 22:19:04:697] (EMERGENCY) ajp12: connection fail
[28/11/2000
Hi,
afaik there are two reasons for this one is versioning (for recompiling and
loading) and the other as a char-mangling mechanism to make weired filenames
propper class names.
For a detailed discussion search the archives for topics like:
"jsp-filenames should be less than 20 characters"
I'm running Tomcat 3.2b6 on a FreeBsd 4.1.1-STABLE with both Jdk 1.8, Jdk
1.2 Linux and native Jdk 1.2 Beta. I did some test with velometer and the
response are quite good with all the versions.
The fastest was the Linux version (!) but now I'm stressing the native 1.2
to check if is stable
Sorry, I left out the data streaming in the last posting.
What I meant to write was:
// Client side:
Socket s = new Socket(host, port);
OutputStream os = s.getOutputStream();
DataOutputStream dos = new DataOutputStream(os);
dos.writeBytes("GET /proxy HTTP/1.0\r\n\r\n");
dos.writeBytes(data);
Hi there,
I have a problem with tomcat, which most likely is a setup
problem. But I can't find anything about it in the FAQ so far.
I set up Tomcat to run under apache-1.3.12 (Debian unstable
doesn't have a newer apache yet). I can access Tomcat directly,
which works fine. But accessing it
Title: trouble compiling mod_jk.so on Linux
I am having trouble creating the shared object library mod_jk.so on linux.
After running the below command I get the following error.
$APACHE_HOME/bin/apxs -o mod_jk.so -DLINUX -I../jk -I/usr/local/jdk1.2.2/include/
Hi,
I am using Tomcat 3.1 in Win2000 and I have the following error using Custom
Tablibs :
org.apache.jasper.JasperException: Unable to open taglibrary taglib.tld :
Unable to open the tag library descriptor: Connection refused: no further
information at
Hi
When I excecute ../bin/shutdown.sh all the Java Threads stay alive. When I
start again new Threads are started. And so on..
What could cause this?
I am using Tomcat 3.1 on RH7 with SUN JDK1.2.2 -native threads.
--
AJ van Staden
Cyber Seal Business and Industrial Information systems
Pta
As the old saying goes: ClassNotFound is always right!
Your tomcat can't find the class coreservlets.ShowParameters you are trying
to use.
Put it in a propper place. See various discussions about "classpath" in
archives
Beside that your errorlogs look like you have a major config jam (look at
I'm using tomcat3.1+apache and jdk1.3.0_01 on linux redhat 6.2.
I'm not using j2ee but usually (i.e. outside servlets) import its
packages.
I'm trying to write a jsp that imports javax.mail.* (from j2ee.jar)
but jasper complains
with "Package javax.mail not found in import.
import
The startup order is determined by the numbers x,y in the link Sxxtomcat
Kyytomcat
The lower the number the sooner it gets called (on entering or leaving the
runlevel)
Search the archives for nice startup scripts
Regards,
Andreas
-Original Message-
From: Carlos [mailto:[EMAIL
Hi,
Yes, I did check the transaction is commited.
OK if you are doing an explicit connection.commit();
then the only time I've had a similar problem was when
I was using the same bean from different JSP pages and
the bean was set scope="session" and I had kept
the
-BEGIN PGP SIGNED MESSAGE-
I have the same doubt too, but in WINDOWS NT - 4.0 environment.
José Euclides Júnior
__
E-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://euclides.8m.com
If i fail, if i succeed, at
-BEGIN PGP SIGNED MESSAGE-
Hi,
it seems to happen a foolish bug whenever JSP of Tomcat deals with
multipart/form-data. Since I have developed all my project with JSP, now it
becomes very difficult to change all source files into servlets. It seems
to be a bug when JSP performs
I am new to this list and I have a specific question (and did not find a complete
answer in the archives): does Tomcat support ACLs (for access control authorization) ?
In particular, how to allow/disallow access to a given servlet via an ACL ?
Pierre Henrotay
Siemens Business Services
:-) Why try so hard and reboot your machine to test. the script which starts
apache, before apache add (/opt/jakarta/bin/tomcat.sh start) to start
tomcat.
Shuklix
Ps: I haven't tried this, standard Disclaimers apply. :-)
-Original Message-
From: Carlos [mailto:[EMAIL PROTECTED]]
Sent:
Hi all!
Im trying to test
Tomcat running with different jdk's. Everything is OK with
IBMJava2-SDK-1.3-2.0.i386.rpm (and IBM's former ones and sun 1.2.2prev as
well).
The problem appears when I try to start Tomcat with sun or
even blackdown jsdk1.3.0*: some jsdk processes begin to run but
Come on people,
This is the third message I post asking where I can find a compiled
binary for isapi_redirect.dll. Where is it?
Obviously, it is not "available under the win32/i386 directory where you
downloaded the Tomcat binary distribution" as the docs say in:
Really, I can't believe anyone would want to continue to use Tomcat
3.1. Tomcat 3.2 (even in the early betas) has been far better. Also, you
will find all files extra files in the 3.2 downloads. The most current
would be 3.2 beta 8. If you still want to use Tomcat 3.1, just grab the
extra
...but 3.2 isn't GA yet. People won't want to ship products on beta
software.
-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED]]
Sent: 29 November 2000 15:25
To: [EMAIL PROTECTED]
Subject: Re: isapi_redirect.dll - Where is it?
Really, I can't believe anyone would want to
I found the following note in your instruction, can you tell me where to
find AJPV12. Thank you in advance for your reply.
Special note: The Tomcat service is using AJPV12 to perform clean
shutdown and you should make sure that an AJPV12 connector is defined in
your server.xml. In the absence
Hi folks!
I'm making a JSP performance test using apache's
ab (a client and a server within the same network) in two different
situations:
a) running
tomcat
b) running tomcat with apache + mod_jk
When I'm testing tomcat (without apache) everything seems to
go OK but after 7 or 8 times I
Ok, I can see that, but 3.2 will be out in just a few days (hopefully) and
the original question was about getting isapi_redirect.dll. I pointed you
to it.
jake
At 03:20 PM 11/29/2000 +, you wrote:
...but 3.2 isn't GA yet. People won't want to ship products on beta
software.
Hi,
Not an expert so not sure what is suppossed to happen, but for referencing
resources like this I've found that you also have to include your
application context name, so it would be "/myContextName/style.css". Dosen't
seem correct to me, but that's what I've found for Tomcat 3.1. Note that
in my tomcat if i invoque http://server/servlet/class it not response.
How can i configute it?
if i use virtual domains how and where can i configure for the classes
alwais use the classes that are in ROOT/WEB-INF/classes?
thanks
Carlos
Carlos,
You need to explicitly configure Tomcat to work with Apache. See the HOWTO
for configuring mod_jk at:
http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/mod_jk-howto.html
Hope this helps.
Shad
-Original Message-
From: Carlos [mailto:[EMAIL PROTECTED]]
Sent:
Hi!
I've encountered the following problem using the Session Tracking API
in Tomcat 3.1.
I use servlets (not JSP!) under the following environment:
java 1.2.2
tomcat 3.1 (servlet.jar version 2.2)
apache
For invalidating a session, in the servlet scope, I use the following code:
All-
Three pages into my application I am attempting to retrieve a bean using the
same useBean clause as on the second page (cut and paste here for
comparison):
jsp:useBean id="CAMPAIGN" scope="session"
type="com.recommendit.beans.CampaignVB106Bean" /jsp:useBean
jsp:useBean id="CAMPAIGN"
Thanks Marek,
Yes, that was the conclusion I have come to trying to get it working
although I still couldn't get .forward() to work either.
Yes, hardcoding /context-name/ before all links seems like a bad idea to me.
Surely there must be a better way!?
-Original Message-
From: VONKA,
Hi,
bear with me on this one but...
" It is NOT enough to download the binaries from the jakarta
web site and follow the instructions in server.xml. You have to build
it from source (and make sure that the JSSE files are in the classpath)."
...Why not? is there some special build directives
Take a look at the following documents for SSL and Tomcat :
Will be included in 3.2 release ;-)
Title: Tomcat and SSL
Tomcat and SSL
By Gomez Henri [EMAIL PROTECTED]
Table of Contents
Tomcat and SSL
Building tomcat with SSL support
No you can just download the binaries... I did and I have ssl working
(for Windows and linux). Once you download the binaries you DO have to
compile 3 java files in TOMCAT_HOME/src/org/apache/tomcat/net. Then
follow the directions in server.xml.
Thom Park wrote:
Hi,
bear with me on this
Title: tomcat as an NT service
hi. i'm having trouble finding the jk_nt_service.exe file. i've seen a couple messages talking about problems with jdk1.3 and log-on/log-off, but this is a issue i'm prepared to deal with (prolly with an auto-logon). can you point me to the file, or point out
Cristoph,
Glad to be of help. By the way, the mod_jserv.so works now (no core dump). I
used the *real* apache code, instead of the IBM one.
The IBM version is nothing but the src code that comes with the IBM HTTPS
server 1.3.6.2 (http://www-4.ibm.com/software/webservers/httpservers/) -
I have a servlet which has processed a form (method POST) and now wants to
invoke a JSP
to render the response page. It puts a new attribute on the request object
for the JSP to pick up.
With Tomcat 3.2b8, an attempt is apparently made to re-read the POST data
for the JSP (even
though the JSP
Hi - to configure Apache to use mod_jk under Solaris the httpd.conf code
looks like:
# Load mod_jk
LoadModule jk_module libexec/mod_jk.so
AddModule mod_jk.c
QUESTION: Is this code identical under WinNT or would it be mod_jk.dll? An
example snippet would be great.
Thx,
-MC
Philip,
I had
this problem with Tomcat 3.1 with Apache on AIX (there's a previous post by me
with title 'Handler thread problem) I Isolated the problem to mod_jserv.
Recompiling solved it. It should be the same with mod_jk.
Rit
-Original Message-From: Philip Chan
Here's another possibility:
Send a response and display something like "Working Please wait" and
continually flush out a little bit of text at a time like "." during
processing. When you're done processing, you could display a javascript
call like the following.
script
Hello,
I'm developing a VoiceXML application using tellme.com's tools. Apparently,
their browser doesn't work properly unless the correct content-length header
is set. Tomcat doesn't set this correctly from the JSPs I'm writing. How
can I configure tomcat to set the correct content-length? I
Title: tomcat as an NT service
http://jakarta.apache.org/builds/tomcat/release/v3.2-beta-8/bin/win32/i386/
HTH.
Shad
-Original Message-From: Paul Feuer
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, November 29, 2000 1:54
PMTo: '[EMAIL PROTECTED]'Subject: tomcat as
an NT
Title: RE: tomcat as an NT service
oops. nevermind. i found it in the cvs archive
./paul
-Original Message-
From: Paul Feuer
Sent: Wednesday, November 29, 2000 1:54 PM
To: '[EMAIL PROTECTED]'
Subject: tomcat as an NT service
hi. i'm having trouble finding the
OK, I'm stumped! How do I use JspC to precompile a specific (or all of the)
.jsp file(s)?
I've tried the following:
jspc -uriroot c:\sfwr\tomcat\webapps\examples
-webapp c:\sfwr\tomcat\webapps\examples
c:\sfwr\tomcat\webapps\examples\jsp\num\numguess.jsp
and various other tries w/out
Another idea would be to use forward to forward them to a temp page. The
servlet would still have control and could finish working and then forward
or redirect to the final page.
-Original Message-
From: Sayles, Scott SAXONHQ [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 29, 2000
Hi,
I'm trying to implement HTTP authenticaiton. But with tomcat-apache.conf
file included, the initial http authentication ability I set under the
server configuration in httpd.conf file under apache doesn't work
anymore. Does anyone know how to make it work?
Thanks.
Lijia Xu
Hello,
If I wanted to run multiple web servers - each running Apache/Tomcat - in a
load-balancing configuration, how can I make it so that the session tracking
on each installation of Tomcat is available to whatever web server gets the
client's request?
I realize that I could just do "first
I dont want to use the ajp12 protocol but if I leave it out of the
server.xml file(s) I cant shut tomcat down cleanly. The docs state that this is needed to shut down tomcat
properly but if I am running multiple JVMs with multiple server.xml files, that
means I need multiple ajp12
On Wed, Nov 29, 2000 at 09:51:32PM +0200, Jaco van Staden wrote:
Hi
When I excecute ../bin/shutdown.sh all the Java Threads stay alive. When I
start again new Threads are started. And so on..
What could cause this?
I am using Tomcat 3.1 on RH7 with SUN JDK1.2.2 -native threads.
if I have a bean that is called from a jsp and has the call
if (!(cookie.tempContains("loggedin"))){
try{
String
param=(request.getParameter("show")!=null)?"?show="+request.getParameter("sh
ow"):"";
I had the same problem with Tomcat when I was using IBM's JDK 1.3 for Linux.
The problem was solved when I switched to the released version of the Sun
JDK 1.3 for Linux. Maybe the switch will work for you, too.
Shad
-Original Message-
From: Matthew L Daniel [mailto:[EMAIL
Hi all,
Using Tomcat 3.1final and a servlet I wonder why my browser doesn't asks me whether to
accept a cookie (what I've selected in the preferences). Analyzing every available
information with the first request from the originaly delivered page of my servlet
(i.e. the second request to it)
More information
In my pages I am now logging the current session id, if the session is new,
and the value of all cookies.
In those cases where I am getting an error (and this is on a second or third
page), the session is new and there is a jsessionid cookie even though I
have disabled
On Wed, Nov 29, 2000 at 01:29:58PM -0600, Mike La Budde wrote:
OK, I'm stumped! How do I use JspC to precompile a specific (or all of the)
.jsp file(s)?
I've tried the following:
jspc -uriroot c:\sfwr\tomcat\webapps\examples
-webapp c:\sfwr\tomcat\webapps\examples
Title: Finding jk_nt_service.exe
Hello there,
Your documentation located on this page:
D:\Robert\Sony of Europe\JAVA SOAP Layer\Tomcat Installation\Jakarta-Tomcat as NT Service.htm
states that the file jk_nt_service.exe is located in win32/i386 directory, but it is currently not there.
Our
Take a look on the list archives. I saw this subject circulating before.
There's an interesting article about distributed session tracking in web
farms that use RDBMS and is very good (despite the fact it deals with ASP,
but that's not relevant).
I saw the reference to the article on that
Hi
I was trying to run Tomcat as service on Win2000 and was following the steps
on given in the jakarta site. I just wanted to know in the step #4 how do u
start and stop Tomcat as a service after creating a service called jakarta.
It says type "net start jakarta"on th ecomand line.. but it
Hi,
I want Apache and Tomcat to start automatically as
a service
on my NT machine when the machine boots, or when I
log in.
I'm following the instructions on this
page:
http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/NT-Service-howto.html
This page refers to these files, that I
I have been trying to do this for some time now, and have been frustrated by
how little info is out there to solve this particular problem. It's
especially difficult on this platform because there are certain changes that
need to be made that are not intuitive at all (at least to me). So I
Can some people please provide me with some URLs of sites that are running
Jakarta/Tomcat 3.1 or 3.2 so that I can see what kind of content is typically
possible with this technology?
Thanks. I'm very new to Java and want to understand this better. I'm
running Apache and PHP for a site of
I'm having some trouble getting the J2EE CTS tests to pass using Tomcat
3.2.b8.
The CTS is complaining that a public static final member has been added
to javax.servlet.http.HttpServletResponse class -
e.g.:public static final int SC_TEMPORARY_REDIRECT = 307;
I can't find this public
Hi,
I am trying to build mod_jserv.so for linux and I ran "apxs -c -o
mod_jserv.so" in the Tomcat directory(TOMCAT_HOME/src/native/apache/jserv)
When I install apache, I think I enabled DSO as following,
./configure --prefix=/path/to/install --enable-rule=SHARED_CORE=yes
but I am getting this
Hello:
I am trying to use tomcat with apache and am having a
problem with my virtual host directory.
In my httpd.conf file, I added index.jsp to my listing
of index files:
DirectoryIndex index.jsp index.php index.html index.htm index.shtml
index.cgi
I also have the following virtual host
pretty much straight from the apache instalation docs:
to build most modules as static, but enable DSO try building apache as:
./configure --prefix=/path/to/install --enable-shared=so
or to build pretty much everything as DSO try this:
./configure --prefix=/path/to/install
Thanks Craig,
I appreciate the quick answer !
-Thom
Craig R. McClanahan wrote:
Thom Park wrote:
I'm having some trouble getting the J2EE CTS tests to pass using Tomcat
3.2.b8.
The CTS is complaining that a public static final member has been added
to
Q1,
Thanks andreas, this fixed it:
cd /path/to/tomcat/webapps/
find . -type d -print | xargs -n1 chmod o+x
find . -type f -print | xargs -n1 chmod o+r
Is that going to be a security problem giving 'nobody' read access to all
of 'webapps' ?
Everyone:
Q2. I'm completely new to java and servlets
David Bussenschutt wrote:
Q1,
Thanks andreas, this fixed it:
cd /path/to/tomcat/webapps/
find . -type d -print | xargs -n1 chmod o+x
find . -type f -print | xargs -n1 chmod o+r
Is that going to be a security problem giving 'nobody' read access to all
of 'webapps' ?
It should't (but see
Hi,
I've got a problem where I'm doing a HttpServletRequest.getAttribute in
a servlet after a JSP forwards the request to it. Here's a basic
outline of what happens:
test.jsp POSTs to forward.jsp (which stores the form info in a
test.TestBean) which then forwards the request to TestServlet.
I am having trouble getting mod_jk.so working in Apache 1.3 on my Linux box.
If I include the instruction
LoadModulejk_module libexec/mod_jk.so
in my httpd.conf file, Apache reports
# ./bin/apachectl configtest
Syntax error on line 991 of
I met two problems with chinese text.
1 When i include file from another chinese
file, the included file will not display correctly. See attached file1.jsp and
file2.jsp.
2 In tomcat-4.0-m4, I used
setCharacterEncoding to process chinese form attribute, but it doesn't work. See
attached
Hello:
In my tomcat-apache.conf file, there is this line:
LoadModule jserv_module libexec/mod_jserv.so
My apache installation uses a modules directory (even though
I am on Linux).
Where do I set how this line is generated?
If I change this line, it will be overwritten the next time
tomcat
Replying to my own message:
I just downloaded and tried it under Tomcat 3.1 which showed the same
problem. So at least this isn't a new bug. :-)
I also tried Tomcat 4.0-m4 which works perfectly in for my test case.
-Dave
I have a simple test case (which this was generated under) which I
Has anyone figured how to modify wrapper.properties to send
"-Djava.security.manager -Djava.security.policy = c:\tomcat\tomcat.policy"
parameters to the jvm?
Thanks in advance.
Have you tried setting the environment variable "TOMCAT_OPTS"?
-Dave
From: Milton [mailto:[EMAIL PROTECTED]]
Has anyone figured how to modify wrapper.properties to send
"-Djava.security.manager -Djava.security.policy = c:\tomcat\tomcat.policy"
parameters to the jvm?
Does anyone know what's up with the formbased security that tomcat supports?
I try to access the
http://127.0.0.1/examples/jsp/security/protected/index.jsp
and it never gets to index.jsp
or if I click on protected from the http://127.0.0.1/examples/jsp/security/
directory display it puts me
John de la Garza wrote:
Does anyone know what's up with the formbased security that tomcat supports?
Tomcat 3.1 does not support form based security. Upgrade to 3.2 or 4.0.
Craig McClanahan
Hello:
I added the following line to my wrapper.classpath
in the tomcat.properties file:
wrapper.classpath=/usr/local/mm.mysql-2.0.2-bin.jar
But, in my test servlet, I printed the classpath and
I got this:
Can you tell me how to construct a Web Application in my tomcat4.0.Where I put my
servlets?
thanks!
Hi,
I've set up the apache-tomcat configuration with the aim of having jsp
pages deliver WML to the WAP browser in the Nokia WAP toolkit.
I have set up a JSP page under Tomcat that just contains WML content.
So far the WAP Toolkit can access the page but as far as I can tell it is
being
-Original Message-
·¢¼þÈË: Persegato Marco [EMAIL PROTECTED]
ÊÕ¼þÈË: [EMAIL PROTECTED] [EMAIL PROTECTED]
ÈÕÆÚ: 2000Äê11ÔÂ29ÈÕ 18:35
Ö÷Ìâ: password and login admin
Hi all,
how can I find the default password and username for admin in
tomcat3.2beta8?
thanks in advance
Persegat Marc
KINGMAN wrote:
Can you tell me how to construct a Web Application in my tomcat4.0.Where I put my
servlets?
thanks!
The basic concepts of how a web application needs to be organized (which includes
where servlets
should be placed) are defined by the Servlet 2.2 (for Tomcat 3.x) or Servlet
I have two recommendations for you, below.
Rob Mitchell wrote:
Hi,
I've set up the apache-tomcat configuration with the aim of having jsp
pages deliver WML to the WAP browser in the Nokia WAP toolkit.
I have set up a JSP page under Tomcat that just contains WML content.
So far the WAP
It is up to you to set these values. You need to create a username/password
combination that has the role "admin" assigned to them.
If you are using a stock Tomcat configuration, you can do this by editing the
file "conf/tomcat-users.xml" user the Tomcat distribution directory.
Craig
Are you China?
kingman
1. Try to put meta tag to specify character set directly in your jsp.
2. Try to convert your Chinese string to "8859_1" encoding outside jsp. For example,
in a JavaBean.
The two methods above works fine for Japanese.
3. Visit Internationlization forum in java.sun.com.
Hope this might
you will have to include the config file ( tomcat-apache) of tomcat in httpd of
apache
then start tomcat and
start apache
Moursli Nabil wrote:
Can anyone help me with this, I can't run TOMCAT with Apache, so the only
issu I see
is to run Tomcat in standAlone mode. If anyone know how to
Davanum Srinivas wrote:
Hi all,
Attached is a JSP Sample file which generates WML. It works with no problems on
Tomcat3.1, but
fails miserably with the latest dev nightly snapshot and m4. Can someone shed light?
Well, your page certainly doesn't work under Tomcat 4.0 (which implements
Hi all,
Attached is a JSP Sample file which generates WML. It works with no problems on
Tomcat3.1, but
fails miserably with the latest dev nightly snapshot and m4. Can someone shed light?
Thanks in advance,
dims
PS: Am not currently subscribed to the list. So please CC me at "[EMAIL
The most anticipated release from the Jakarta project yet! We hereby announce
the availability of the final release of version 3.2 of the Tomcat servlet
container and JSP engine. Tomcat implements the Servlet 2.2 and JSP 1.1
specifications, and represents the most current release quality build
Is there a way to get the compiler to ignore the "?xml version="1.0"?" syntax?
Otherwise this means that serving any page that is XML compliant (WML, XHTML, etc) now
requires a complete
rewrite of all JSP files to run in 4.0.
Thanks.
...alex...
"Craig R. McClanahan" wrote:
Davanum
88 matches
Mail list logo