I'm having trouble with mod_jserv_tomcat (from
http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.1/bin/linux/i38
6/) and the balance mechanism using Tomcat 3.2.1 and apache 1.3.14 on RedHat
7.0.
My httpd.conf shows:
LoadModule jserv_module lib/apache/mod_jserv_tomcat.so
u should be checking for the JAVA_HOME variable
which u have to set it to the the place where ur JDK is installed
like
JAVA_HOME=C:\JDK1.2.2
-Original Message-
From: Sergio Noelle [SMTP:[EMAIL PROTECTED]]
Sent: Tuesday, January 30, 2001 7:27 PM
To: [EMAIL PROTECTED]
Subject:
OK - I guess I found my problem by myselffor everybody:
Don't name zones with _ like I did
with test_proc1 and test_proc2 - it doesn't work with the balance mechanism.
Renaming them to proc1 and proc2 works.
Sven Peters
Technischer Leiter
Tipp24.de JAMANY GmbH
Kleine Johannisstrasse 2-4
I think u cannot do that. u start by asking the jsp engine
to write something into the buffer and then u are changing ur mind by
asking it to go to some other jsp page. This is not allowed.
May be u can try using flush=false. But i am bit skeptical about this. Let
me know if it works.
Jai.
Hi All
im currently testing tomcat 3.2.1 to check if it is suitable for a produktion
environment.
i do some load tests with ab and Curl to get a few numbers how tomcat scales
over CPUs
and or mashines. I have to ore more apache with mod_jserv behind a lvs
loadbalancer.
every apache is
Hi
I tried to install the isapi+AF8-redirec dll on my windows 2000 IIS as explained in
the document : 'Tomcat IIS HowTo'
my problem is that the that the green arrow up (indicating that the dll is in the air)
doesn't appear after restarting the iis as result the redirect doesn't work.( a red
Hi,
I have
to disagree. Having classes12.zip at $TOMCAT_HOME/lib and then restarting worked
fine
for
us.
cheers
bez
-Ursprüngliche Nachricht-Von: Gerald McCollam
[mailto:[EMAIL PROTECTED]]Gesendet: Mittwoch, 31. Jänner 2001
01:55An: [EMAIL PROTECTED]Betreff: Classpath
Woe
Hi
I have
to disagree too !
i
insert the path of the classes12 zipfile to my class_path and it is working fine
-Original Message-From: Thomas Bezdicek
[mailto:[EMAIL PROTECTED]]Sent: Wed, January 31, 2001 11:34
AMTo: [EMAIL PROTECTED]Subject: AW:
Classpath Woe
Hi,
The problem is not using forward and include on the same page. The problem
is the way forward works.
The logic of forward is '"I'm done processing, and I haven't written any
ouput back to the client, let somebody else do that"
This means you cannot forward AFTER you've written anything the the
Can I take that there isn't a way of setting up tomcat so that any user can
run jsp files from their web space no matter where they are on the server
i.e. can't you set global path for whole of web site?
I have 200 students who need to write jsp files and just upload them to
their webspace.
kindly send me the link
thanks
- Original Message -
From: "Olaf Grewe" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 24, 2001 8:40 PM
Subject: solved: mod_jserv compilation problems
Hi all,
thanks for any suggestions, I finally found the mod_jk-howto.
Hello all,
I'm getting an Error in the screen, when clicking an link in any JSP
page. The error is,
"Error: JSP Buffer Overflow"
What might b causing this error. I'm using Tomcat 3.2.1 / Debian GNU/Linux.
Thankx in advance
Regards
Nagappan
Hello all,
I'm getting an Error in the screen, when clicking an link in any JSP
page. The error is,
"Error: JSP Buffer Overflow"
What might b causing this error. I'm using Tomcat 3.2.1 / Debian GNU/Linux.
Thankx in advance
Regards
Nagappan
Hello all,
I'm getting an Error in the screen, when clicking an link in any JSP
page. The error is,
"Error: JSP Buffer Overflow"
What might b causing this error. I'm using Tomcat 3.2.1 / Debian GNU/Linux.
Thankx in advance
Regards
Nagappan
Hey Nagappan,
Please stop sending the same question again and again!!!
For each time you send it you chance for getting an answer becomes worse and
the chances for getting flames gets much better...
/Joergen Ramskov
Hello all,
I'm getting an Error in the screen, when clicking an link
Hi
Iam using tomcat 3.2.1+ apache 1.3.14 .In this servlets and jsp are working
fine. When i stop tomcat server side includes are working fine in html.But
when i start tomcat also html includes are not working.Its urgent.Pls
help me.
Thanxregds
Suresh
Hi!
I have a problem. We were using a proxy server for connecting to the
internet. Now when I disable the proxy server thru inter options in my
browser and execute some code which does a response.sendredirect to another
JSp page, the javascript of the current page, the page(now empty), and the
Hi Alex,
do
find / ' grep mod_jk-howto.html
Is located somewhere in the src directory of jakarta-tomcat-src.tar.gz.
Sorry for not being more specific but I'm not at my machine.
Regards
Olaf
-
To unsubscribe, e-mail:
Hi
Iam using tomcat 3.2.1+ apache 1.3.14 .In this servlets and jsp are working
fine. When i stop tomcat server side includes are working fine in html.But
when i start tomcat also html includes are not working.Its urgent.Pls
help me.
Thanxregds
Suresh
Hi,
If your html part is too long on the JSP page, then you might get this error,
this happens in JRUN.
We generally put % "Spaces" % somewhere in the JSP page in b/w the html
code to solve the problem.
let me know if this works.
Ankur
nagappan wrote:
Hello all,
I'm getting an
Hello,
We have IIS4.0 with NT 4 SP6.
I installed tomcat 3.2.1 on the machine and installed isapi_redirect.dll to
integrate it into the IIS4.0 (the green arrow appears in IIS management
console, so I suppose isapi_redirect.dll is properly installed).
Unfortunately it does not work as expected:
When calling jsp pages with IE5.5 tomcat throws IOExceptions for all
"external files" like gifs, css,
(2001-01-31 12:56:36 - Ctx( ): IOException in: R( + /gfx/header.gif +
null) Connection aborted by peer: socket write error
This does not occur when calling the pages with Netscape.
Hi all,
I'm a bit confused here with tomcat and SSL.
I've generated a key using keytool -genkey -alias tomcat -keyalg RSA as
described in the tomcat faq. This works fine, although the certificate
appears as "signed by an unknown source", and we really need it to just
plop straight into https
Hi,
I have followed standard procedures to install cocoon on Tomcat 4.0
beta, but I get this error (in logs/catalina.out)
Exception in thread "main" java.lang.IllegalArgumentException:
addRepositoryInternal: java.lang.NullPointerException
at
Dear sir/madam,
I am using Tomcat on Apache, now it is loaded but now to run tomcat on Apache I
need mod_jserv.so to run it properly.
Tell me how to get it and use it, we are using Red Hat 7.0 on Intel 810 chipset
and P III processor.
regards,
truly Bhushan Vartak
I don't really understand all in your problem description.
anyway I had some problem myself by using taglibs that
"include" the result of some other relative URL
(see the XSL taglib, with the include tag)
my problem was multiple:
- I needed JSSE to support SSL
(as a client), and add it as a
to all,
I am trying to invoke a servlet from a form via POST and action= however the servlet
never runs and I don't see any error messages. The URL appears correct in the browser
when I invoke it, however nothing happens. Any thoughts? Any help would be
appreciated. Thanks.
dj
I am trying to invoke a servlet from a form via POST and
action= however the servlet never runs and I don't see any
error messages. The URL appears correct in the browser when I
invoke it, however nothing happens. Any thoughts? Any help
would be appreciated. Thanks.
Put in some
I'd have to check the servlet spec for the details, but I'm pretty sure
that servlets are not supposed to use the sessions, request and response
object after the request has been processed.
The servlet spec was designed to allow easy development of independent
web applications that can be run on
All,
Would like to know how to maintain single Session with
Cookies turn off on the browser with request dispatching:
1) request.getRequestDispatcher(URL)
2) getServletContext().getNamedDispatcher(servlet name)
My first thought is to encodeURL() for
Hi everyone ,
we devellope with tomcat/cocoon but recently ive
noticed that everyone on the net can see our code beacause tomcat allow people
to browse the directory where our code his.
anyone know how to shutdown the tomcat webserver or
simply configure it , that hewill not let everyone
Hi everyone ,
we devellope with tomcat/cocoon but recently ive
noticed that everyone on the net can see our code beacause tomcat allow people
to browse the directory where our code his.
anyone know how to shutdown the tomcat webserver or
simply configure it , that hewill not let everyone
Does Tomcat have the ability to parse a common SSI like the following on an
'.shtm' page.
!-- BEGIN HEADER TABLE--
!--#include virtual="/includes/header.htm"--
!-- END HEADER TABLE--
My setup is Tomcat 3.2.1 and IIS 4.0. I have '.shtm' files in a Tomcat
url-protected
Hi, I am trying to load the mod_jk.so in my Httpd.conf file;-
LoadModule jk_module libexec/mod_jk.so
AddModule mod_jk.c
IfModule mod_jk.c
JkWorkersFile /users/benw/dev/jakarta-tomcat-3.2.1/conf/workers.properties
JkLogFile /users/benw/dev/jakarta-tomcat-3.2.1/logs/mod_jk.log
JkLogLevel warn
SSI (Server Side Includes) work only in Apache. They do not work in
Tomcat. You have to choose... Either you do SSI or JSP, you cannot have
both.
If you have:
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13
in you mod_jk.conf
and
AddType text/html .shtml
AddHandler server-parsed
Thanks Ignacio!
The realm specification in server.xml now reads:
Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
driverName="org.gjt.mm.mysql.Driver"
connectionURL="jdbc:mysql://localhost/authority?user=rootamp;
password=apassword"
Hi to all:
I'm trying to configure Tomcat+Apache+SSL so I must install mod_jk. When I
execute apxs command as:
apxs -o mod_jk.so -I../jk -I/usr/local1.2.2/jdk/include
-I/usr/local/jdk1.2.2/include/linux -c *.c ../jk/*.c
it abort with error:
gcc:*.c: No such file or directory
gcc: No input files
Is there an elegant way to implement session variables in a load balancing
senario? If I understand correcty everything is stored on the
server and a sessionID is store in the users browser so that the
server can look it up. But what happens when the user gets routed
to another server which
Check my installation logs for Linux 7.0. Somewhere there I give
a detailed prescription on how to compile mod_jk.
http://www.ccl.net/cca/software/UNIX/apache/index.shtml
Jan
On Wed, 31 Jan 2001, Fabio Galarraga wrote:
Hi to all:
I'm trying to configure Tomcat+Apache+SSL so I must install
The spec allows for web servers to exchange session state. To do this you
need to mark your app as distributable, and make sure everything in the
session is serializable. In all honesty (and I stand to be corrected) I'm
not sure how many servers will implement this for load balancing. It just
Hi
I havemade a servlet that generates different
pages depending on the user-agent accessing it..
Can i make it run when someone accesses my server
by http://myhost.cominstead of the default
index.html?
/Rikard
I'm acutally no tomcat or jsp guru, but I think you have to use JSP-syntax
to include other jsps (or any other files)
have a look at the jsp reference @ javasoft.com
1.)
Include Directive Includes a static file, parsing the file's
%@ include file=" relativeURL "%
2.)
jsp:include Includes a
I don't know anything about your app, but I would simplify the problem by
keeping session affinity with a single server, i.e. load-balance at the
session level rather than at the request level. If you don't tie a session
to a single server, you aren't just looking at unitary login problems but
Is there an elegant way to implement session variables in a
load balancing
senario? If I understand correcty everything is stored on the
server and a sessionID is store in the users browser so that the
server can look it up. But what happens when the user gets routed
to another server
Title: RE: Connection aborted - jasper problem?
This is a non-fatal error. IE aborts the connection prematurely, because it realizes that it has something in the local cache. Or something like that. I wouldn't worry about it.
Jord.
-Original Message-
From: Stefan Meier
I think you can set that servlet class in the welcome-file in web.xml
-Original Message-
From: Rikard Skogberg [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 31, 2001 10:50 AM
To: [EMAIL PROTECTED]
Subject: Using a servlet as default entry point instead of index.html ?
Hi
I have
Our application is completely stateless except for login information.
We do load balancing with a hardware load balancer which I believe
is a Foundry Server Iron?
I now considering keep our login state in a stateful session bean(ejb)
And store the home handle to this bean in a session
hi
I am trying to use the isapi_redirect dll that enables the proxy service as
described in the how to "Tomcat IIS HowTo".
using a windows 2000 professional the service works fine .
when I tried to load my server to production machine (windows 2000 sever)
the isapi_redirect dll made the log
Tomcat 3.3 will have perContext Interceptors..FYI
Saludos ,
Ignacio J. Ortega
-Mensaje original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Enviado el: mircoles 31 de enero de 2001 16:20
Para: [EMAIL PROTECTED]
Asunto: Re[2]: Difficulties getting JDBCRealm to work with
I agree with you, however if I set a url-protected directory all the files
in that url-protected directory must be under Tomcat, and thus if some of
the files are shtm's and use SSI, the headers and footers will no longer
show up because the page is now being server up by Tomcat rather than IIS.
Are you sure the servlet is not using the GET method instead? That would be
your problem in that case. If so, simply add a call to the doPost method
inside the doGet() and you wont see it again. It might be a stupid answer,
but I've seen it happen a number of times.
Christopher
-Original
I don't think the flush=false is allow.
The think is we have some pages with some templates, that's why we have the
jsp:include, but after some processing in the jsp page we want to redirect
to a new page. We are just trying to do a "please wait" page.
That's all.
Olivier
-Original
At 11:16 AM 1/31/01, you wrote:
Our application is completely stateless except for login information.
We do load balancing with a hardware load balancer which I believe
is a Foundry Server Iron?
I now considering keep our login state in a stateful session bean(ejb)
And store the
I don't think the flush=false is allow.
The think is we have some pages with some templates, that's
why we have the
jsp:include, but after some processing in the jsp page we
want to redirect
to a new page. We are just trying to do a "please wait" page.
That's all.
A workaround is
As long as you set up a context with the docBase pointing to wherever the
root for your website is, jsp's can be run from any (other than protected)
directories under it.
i.e. by default your website root is the webapps directory. just have your
students "home" directories there, with whatever
Ferguson, Doug typed the following on 09:35 AM 1/31/2001 -0600
Is there an elegant way to implement session variables in a load balancing
senario? If I understand correcty everything is stored on the
server and a sessionID is store in the users browser so that the
server can look it up. But what
Has anyone had a problem with Tomcat caching servlets?
sometimes it doesn't, sometimes it does. reloadable is set to true,
and I even reduced the Loader checkInterval to 3 (in server.xml file), it
still sometimes caches a servlet.
Here's what the snippet of server.xml that is of concern here
I am working on a Unixware 7.0.1 box. This os won't run jdk 1.2.2 so I need
to compile the servletapi with jdk 1.1.7. When I run build.sh here is what
I get:
Buildfile: build.xml
prepare:
compile:
[javac] Compiling 40 source files to
/source/jakarta/build/servletapi/classes
BUILD FAILED
Nathan N. Vuong typed the following on 09:33 AM 1/31/2001 -0500
Would like to know how to maintain single Session with
Cookies turn off on the browser with request dispatching:
1) request.getRequestDispatcher(URL)
2) getServletContext().getNamedDispatcher(servlet name)
My first thought is
Hi,
We are moving to Tomcat3.2.1 and noticed a problem.
We monitor user-activity per web-server by keeping a list of HTTPSession
objects; we query this list to see the sessions active (and thereby some ser
information) at a given point.
With this version of tomcat, there seems to be this
Hello, everybody.
We encounter a problem: we use "FORM" to send data back to tomcat. one of
the values in the FORM has the format like this: id=AB12#DD. At server
side, we use request.getParameter(id) to get the value. The value we get
back, however, is AB12. The rest of content (after #
Tomcat built successfully, I'm not sure of what the below error means.
(as root)
~/apache_home/bin/apachectl start
~/jakarta_home/build/tomcat-4.0/bin/catalina.sh start
produces the following ~/logs/catalina.out:
-
Exception during startup processing
My guess is that method="get" in your form. # is one of those symbols that
need to be URLencoded when passed this way. You need to do something like
this:
input type=text value="%=java.net.URLEncoder.encode(id)%"
Don't forget to import this class.
Clyde Danganan
-Original Message-
Solved. I thought I had to add something to the web.xml. When I added the realm
declaration to the context of my webapplication in server.xml everything worked
fine.
Thanks again,
Wilko Hische
"Ignacio J. Ortega" [EMAIL PROTECTED] on 31-01-2001 17:36:34
Please respond to [EMAIL
I don't know how you are attempting to forward/load the next page, but try
using:
pageContext.forward("/servlet/Home")
Where "/servlet/Home" is the location you want to load.
Regards,
Debbie
-Original Message-
From: Thomas Bartels [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 31,
Thank you, Clyde. It works.
-Original Message-
From: Danganan, Clyde [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 31, 2001 12:45 PM
To: '[EMAIL PROTECTED]'
Subject: RE: String has been trancated.
My guess is that method="get" in your form. # is one of those symbols that
need
Friends:
Our application works great with JDK 1.2.2 and Tomcat 3.2
Does any one know any issues if we upgrade to JDK 1.3
I know of one issue where the Tomcat 3.2 with not work as a service in Win
NT with JDK 1.3
Are there any other issues
Best Regards
J2EE User
Hi,
I also experienced similar problems when I tried to move our web application
from Tomcat 3.2 environment to Tomcat 4.0. Try setting "Connection:close"
header in your response, like
response.setHeader("Connection","close");
This will force Tomcat 4.0 (HTTP 1.1 webserver) to behave like HTTP
Hi,
I managed to get Tomcat + Apache working under RH6.2 using mod_jk, which
means that all static pages are served by Apache (port 80), yet all
servlets and JSPs are forward to Tomcat by Apache to port 8080.
Then I tried the same steps under Mandrake. Everything works find execpt
that Apache
All,
Continuation.
I've tested the following:
RequestDispatcher rd =
request.getRequestDispatcher(response.encodeURL("/register.html"));
rd.forward(request, response);
With Cookies turned on, works fine. With Cookies turned off and with
encodeURL, the receiving servlet still
There should be two more logs:
jvm.stderr
jvm.stdout
The latter is logging System.out.println
-Original Message-
From: Ross Manges [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 31, 2001 1:44 PM
To: [EMAIL PROTECTED]
Subject: log files in tomcat
Hello folks,
I apologize in
I use the IBM 1.3 JDK on Linux and the Sun 1.3 JDK on Solaris. Both of
them work well with no Tomcat specific issues. You'll need to make other
code changes to get up to date with any deprecated APIs, but that's not
too difficult.
The only issue that I found was the Sun JDK on Solaris was not
I am using jakarta-tomcat-3.2.1 with Apache on HP-UX 11.00
running the HP-UX Development Kit for Java and the HP-UX
Runtime Environment for Java that come with HP-UX 11.00.
When I run the shutdown script, $TOMCAT_HOME/bin/shutdown.sh,
it says that Tomcat has shutdown but Tomcat is still running
You shouldn't disable the Ajp12 Connector on 8007 because it is used to shutdown
Tomcat.
Stefan
#1. ~/build/catalina.sh start : puts the following msg in the
~/logs/catalina.out file.
Exception during startup processing
java.lang.reflect.InvocationTargetException:
javax.xml.parsers.FactoryConfigurationError:
com.sun.xml.parser.SAXParserFactoryImpl
at
I'm using Tomcat 3.1 for some JSP development work, without Apache.
Starting up Tomcat is conflicting with other software (an unrelated
Apache/JSP engine) running on the same machine, so I want to disable the
server on port 8007. It's mostly just an annoyance, but I also don't want
to steal
Hi all,
Sorry for this repost.
From within a jsp page, I need to know the name of the jsp page.
If I do a %=this.getClass()%, I get a string which represents the class
name
of the generated servlet.
Is there some standard way in which I can extract the jsp page from that
name ?
Another Qs :-
I have modified my tomcat.sh/bat file
to have
java org.apache.whatever.tomcat start 1/path/to/logs/stdout.log 21
So when you startup tomcat , the stdout and stderr go to a file.
But since you are using windows, I am not very sure about the syntax.
just a file.log may redirect both
I have some problems with understanding your question:
What do you mean the name of the jsp-page? Do you mean the title you give that page?
Or do you mean the name of the actual class that gets generated? It might help if you
could explain (as far as possible) why you intend to get the name!
Thanks Randy (and Stefan),
I commented out those lines you listed and got the desired effect. I
think I have the shutdown covered... I have Tomcat running within my
app's JVM, so I shut it down via:
String[] args = { "-stop" };
org.apache.tomcat.startup.Tomcat.main(args);
That seems to
Anyone out there using tomcat with weblogic instead of weblogic's own
servlet engine?
Any advice or issues that might be helpful to consider as I evalute this
possibility?
_
Get your FREE download of MSN Explorer at
The solution it's on server.xml file it self, here it's an excerpt...
8--
!-- if you don't want messages on screen, add the attribute
path="logs/tomcat.log"
to the Logger element below
--
Are you able to post the JSP with the error?
Cheers,
Anthony Ikeda,
Web Application Developer,
Proxima Technology,
Level 13,
181 Miller Street,
North Sydney
Australia
PH: +612-9458-1718
Mob: 041 624 5143
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent:
I have tomcat running through mod_jk along with Apache. When tomcat is
launched it does so flawlessly but launches FORTY SIX 'java' threads,
each taking ~10MB of what gtop declares 'resident' memory (yes, 460MB
total). Now I realize these are probably sharing a memory space (since
I dont HAVE
Hello,
If U R working with Debian GNU/Linux, I can help U 2 some
extent.
- Original Message -
I am working on java mostly jsp servlet.
now my requirment is to work on linux platform so can u plesase
give me
information about all setting of tomcat apache webserver for
Hello Sir,
I am working on java mostly jsp
servlet.
now my requirment is to work on linux
platformso can u plesasegive me
information about all setting of
tomcat apache webserver for linux
platform.
Thank you very much
Jaydeep
shah
Actually, these are files that are generated by the jk_nt_service helper
application, not entries in tomcat.
If you want to capture the output of tomcat, you need to either a) redirect
the output to a file (on Unix you also need to redirect stderr, on Windows
stdout and stderr are much the same
Bob, I thought I had tried all combinations, but I apparently I had tried
them all except the right one. Thanks for your help.
--Michael
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 30, 2001 4:50 PM
To: [EMAIL PROTECTED]
Subject: RE: How
Hi I am having exactly the same problem. But I didn't understand what you
said. So, pls explain. I have say and add page, i post to the same page and
do my insert and then redirect to a confirmation page. But I get the output
of a javascript(.html) file that i had included in my add page, then
Hello
my application directory is purejsp here i am
keeping my jsp files. I created 2 more dirctories
Web-inf under that one more direcory called classes
here i am keeping my servlet class file. Now please
tell me where should i keep a bean (Package) that is
used by both jsp and
Perhaps we should take this as a suggested improvement to tomcat:
If they are present, then redirect System.out and System.err to these logfiles.
"Garmaev, Vladimir A" wrote:
There should be two more logs:
jvm.stderr
jvm.stdout
The latter is logging System.out.println
CPC Livelink
91 matches
Mail list logo