Hi,
I have searched the tomcat bug list, and have found a few
references where people are having doubts over the integrity
of their HttpSessions.
We have a system where we use the session object to store
RMI references which identify the user to a backend system.
We have reason to believe that
Hi,
I am having problems with tools.jar on Solaris Sparc 8
with JDK 1.3.1
I have tools.jar set in my CLASSPATH
in my /etc/profile, and I start tomcat in rc2.d.
This does not allow me to recompile jsp pages.
I get a sun/tools/Main class not found exception when jsp pages
need to be recompiled.
Hi,
I have a Live Website running tomcat 3.2.1 on Solaris 8 / JDK 1.3 / mod_jk
and ajp13 and Apache 1.3.14
I have come across the following problems
1. Occasionaly, I get a 500 server error from apache and mod_jk.log has
socket timeout errors.
2. Today, the site just hung. When I made
Each webapp / context runs with its own classloader (afaik)
Thats why multiple copies of your class are being loaded.
May be if you used JNDI lookups to get a handle to a
connection pool with that jdbc 2.0 ext stuff ?
Or maybe rmi ? But jdbc conenctions cannot go over rmi :-(
Regards
I am doing the same thing, except I have multiple tomcat.sh files
for each context and corrosponding multiple server.xml files
Eg
tomcata.sh - servera.xml
tomcatb.sh - serverb.xml
When I want to stop context a, I give tomcata.sh -f servera.xml stop
(or whaterver the correct syntax is)
There a a number of products that "simulate/translate" asp code.
Look at iasp from halcyonsoft and chiliasp from ??
AFAIK, both run as servlets that act upon *.asp and parse their content,
and interpret asp code into java methods calls.
IASP even supported ADO calls.
Best of Luck
Shahed
Sorry for this stupid question,
but how do I use the log() method in servlets ?
In JSP application.log() seems to work,
but in servlets, I tried getServletContext().log("adad") etc and
I keep getting NullPointerExceptions
Thanks
Shahed
This error drove my nuts.
I was using Informix.
Finally we used a connection pool called DbBroker from www.javaexchange.com.
This pool constantly runs a thread that checks connection status and
resets or recreates them if the connection is bad.
After using this pool, all of our broken pipe
Hi All,
I have 2 Intel Solaris 8 Systems with JDK 1.3 (with java -server option set)
One is a single processor unit and one is dual processor.
On the single processor system, every thing works fine.
On the dual processor system, I have had the strangest of problems
like :-
mod_jk does not
Hi,
I have a major problem with mod_jk.
Apache sends request to mod_jk, but mod_jk just does not return.
I am using ajp12 protocol and Tomcat 3.2.1 JDK 1.3 solaris 8 intel and
apache 1.3.14
This behaviour came up only after a few hours.
If I look at mod_jk.log, I get the log as below.
See the removeAttribute method in the ServletRequest class.
I mean removing request parameter values
(posted form data) and not attributes set by
the setAttribute() api calls.
I looked at the *Facade*.java and RequestImpl.java code in the tomcat
source,
but it was quite confusing and got me
Hi,
We are using Tomcat 3.2.1 with Apache 1.3.14 and mod_jk
on Solaris 8 Intel JDK 1.3
We have had the strangest of experiences with
multiple configs including
various mix match combos of
TC 3.1 , TC 3.2 , JDK 1.2.2, JDK 1.3 , mod_jk / mod_jserv
We finally decided to stick with mod_jk and
I have had exactly the same problem with
tomcat 3.2.1 on Solaris / Apache / mod_jk and
jdk 1.3
I tried deleting the work dir, clearing cache etc etc etc
No luck.
When I restarted tomcat + apache, the problem
disappeared.
I know that someone else also faced this problem.
This is quite a
I also did use %@ include %,
but I touched the main (including) jsp page and it recompiled.
But the recompiled java file in the work dir
(after deleting all stuff in work) was still the
old java source
Its a wierd problem !!
Regards
Shahed.
Sorry for this repost.
I searched the mail archives and did not find anyone who has
a problem similar to mine.
I have an application which has a logout page that
1. invalidates the session
2. redirect the user back to the index.jsp page.
When I click on the logout link, I get back to the
Hi,
Hope this info is helpfull :-
We were using tomcat 3.2.1 with Apache and mod_jk.
Performance was not that good.
I found a (patch/enhancment) to mod_jk on the developers list mail archive.
http://www.mail-archive.com/tomcat-dev@jakarta.apache.org/msg04406.html
I recompiled mod_jk and
Not that I know of, but if you need a good db connection pool,
look at the one from javaexchange.com
I think its called DBconnectionBroker.
Seems to be better than poolman.
Regards
Shahed.
-
To unsubscribe, e-mail: [EMAIL
Hi,
I am using Tomcat 3.2.1 with mod_jk / ajp13 under Solaris 8 on Intel with
JDK 1.3 and Apache 1.3.14.
I have 4 worker threads defined (2 ajp12 2 ajp13).
These 2 pairs of workers service 2 virtual hosts.
When I request a jsp page, I see a number of entries written to mod_jk.log
(as below)
Hi,
I am using Tomcat 3.2.1 mod_jk ajp13 with Apache 1.3.14 on Solaris 8 Intel.
I had the webserver configured so that KeepAlive was off. My App worked
FINE.
Now, when I turned it on, I am having all sorts of problems with pages that
had a sendRedirect
on them.
I corrected the most common
I had exactly the same problem.
However, it was with my config. I had setup the directory under webapps, and
also as part of a host.
So tomcat was loading the same application under (in my case) 3 different
contexts.
Check your server.xml and see. Also check your logs (tomcat.log I think and
see
Hi,
I am using Tomcat 3.2.1 w/JDK 1.3 w/Apache 1.3.14
I have added a few init parameters for the SnoopServlet.
However when I run it, I get only 1 parameter displayed.
Is this some sort of bug ?
My web.xml is as follows :
Thanks
Shahed
servlet
servlet-name
snoop
Hi,
I would like to pass an xml string as a parameter to a servlet.
I tried
init-param
param-namefoo/param-name
param-value
xml
param
/param
/xml
/param-value
but this does not
Are you using an inner class for declaring MyObject ?
I faced a similar problem when I daclared a class as below in a jsp page,
create an object of type ax,
saved it in a session, and retrived it in another jsp page which had the
same %! class ax ...%
code fragment.
%!
class ax
{
public int x;
Hi,
I am using Tomcat 3.2.1 w/JSK 1.3 on Intel Solaris w/Apache 1.3.14
I have he following fragment of code.
RequestDispatcher rd = request.getRequestDispatcher(routeto);
if(rd != null)
{
rd.forward(request,response);
}
else
{
Sorry for the confusion.
I have a MVC framework in which all jsp pages post
data to a controller servlet.
In this servlet, I need to findout which jsp page invoked it.
Currently I am passing a hidden variable with value="/callingpage.jsp"
i.e in calling.jsp I have the code fragment
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
Sorry for this off topic post, but we are planning to use Tomcat
as an Application server.
Tomcat does not offer facilities that products like WebLogic etc offer
i.e Connection Pooling etc etc etc.
So does anyone know of a good Java Object Pool that can be used
in conjunction with Tomcat ?
you have %@, but just want to make sure.
And the content of a.inc
and b.inc is distinct, correct? :)
j\s
-Original Message-From: Shahed Ali
[mailto:[EMAIL PROTECTED]]Sent: Friday, January 26, 2001 12:21
PMTo: [EMAIL PROTECTED]Subject: Re:
BIZZAR Caching
Yes,
I was talking about database connection pooling.
I am now using the pool manager from javaexchange.
Pretty Good !!! (www.javaexchange.com)
Regards
Shahed.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Hi,
I remember someone on this list citing an opensource implementation of JSP /
Servlets
other than tomcat that implemented the 2.3 spec.
Since TC 4 is still in beta, I would like to look at OpenSource (read as
"free") alternatives to tomcat.
Thanks
Shahed.
Hi,
I need to get the name of the current jsp page in a scriptlet.
The jsp page could be serverd up by a link or by a jsp:forward or a
redirect.
If I do
%=this.getClass()%, I get the following for a jsp page tmp/ST003.jsp
tmp._0002ftmp_0002fST_00030_00030_00033_0002ejspST003_jsp_1
Is there
Hi,
Is there any way a java servlet can keep track (be notified via an event),
when ever a new
client session is created / destroyed ?
Thanks.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email:
Sorry for being so persuasive about this but here goes :-
I need to pass SSL info from Stronghold 3.0 to Tomcat.
It seems the JK directives differ for various server implementations.
Does anyone know the correct values for the following directives so that
they are compatible with Stronghold
I finally got mod_jk to pass SSL info back to
tomcat.
I had forgot to uncoment the apache SSLOption
directive :-(
Thanks
Shahed.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
Hi,
When tomcat reloads a servlet, does it call its
init method ?
Thanks
Shahed
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
Hi,
Can someone please give me a quick overview on how
extension file mapping works ?
What I really want to know what info does the servlet get when
it is invoked by a file mapping ?
Thanks
Shahed
-
To unsubscribe, e-mail:
Hi,
Where can I find documentation that acctually explains how the jsp:useBean
tag works ?
The Servlet API / JSP api are very complex. The JSP tag refrence does not
explain
the scope of the bean.
For example I know that if I have a bean residing in the session and I use
the usebean tag with
Hi,
I am using Tomcat 3.2.1 w/Apache 1.3.14. (Stronghold 3.0)
I have set up client certificates on my client (web browser) and set the
Apache directives for
a browser to require client certificates to access the site.
However, when I run the Snoop Servlet, I dont get a request attribute named
can I just have one common set of binaries with multiple
server.xml
and other configuration files?
Bill
Yes. I have the same config and it works fine.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
I got the same error, but I just ignored the error, built mod_jk
from the source and its has been running fine for me for the last
month.
Regards
Shahed
tar: directory checksum error
Any help appreciated. Thanks,
Bill
-
To
Hi,
Can anyone tell me why do I get the above error in tomcat.log
?
It happens whenafter I runa jsp page, I change the
protocol to https: and reload the page.
Thanks
Shahed.
Hi,
I am using Tomcat 3.1 w/JDK 1.3 on Intel Solaris 8 with
StrongHold web server (Apache 1.3.14)
I have a webcontext and 2 AjpServMount directives, both
pointing to the same webapp.
One mount is in the Virtual Host of Apache, and the
other in the default server.
When I create a session
Hi,
Does tomcat seralize session objects ?
1. If it does, and I have non serializable objects like SQL
Connections sitting in my session, then
what should I do ?
2. If it does not, and I have a lot of sessions lying around,
then will tomcat crash due tomemory limitations ?
Thanks
Shahed
Hi,
Thanks for the insight, but what I meant was will Tomcat
automatically serialise a session if it grows too large ?
Or will it do so only if the server is ready to
shutdown.
Ido NOTwant my session data to be serailzed
without my knowing .
Thanks
Shahed.
-Original Message-From:
Hi,
I am using Tomcat 3.1 standalone on Intel Solaris 8 and
JDK 1.3.
When I send a response.encodeRredirectURL("page.jsp?Msg=This
is a Message"),
it does not convert the spaces in Msg=.
I tested with Netscape 6 on Linux.
I searched BugRat, but could not find a match.
Is this a known Bug
Hi,
I am loading a servlet on startup. In the init(), I have a
setting some system properties, and
doing some logging.
When I inspect the logs, its seems that the init method is
called exactly 3 times.
Any idea whats going on ?
I am using Tomcat 3.2.1 w/Apache 3.1.14 on Solaris 8 Intel
Hi,
I have a host entry in my server.xml pointing to a
webapp.
This webapp is in the webapps directory.
When I start tomcat, it loads 2 contexts each refering to the
same application.
one is webapps/myapp and the other is www.host.com
I have now moved my app to a separate directory, and
Hi,
I tried searching the FAQ, but cant seem to find how to
compile mod_jserv.so.
I have downloaded the tomcat 3.1.1 source.
Where can I find the command to compile the so and with
expanations of
any compile flags that are used ?
Thanks
Shahed.
I get these errors sometimes, can cant figure out what the
problem is.
Can someone tell me where should I start looking
?
Thanks
Shahed
HANDLER THREAD PROBLEM:
java.lang.NullPointerExceptionERROR: can't find default error handler or
error in default error page
Hi,
I am creating a connection pool in my jsp pages.
This connection pool is a context wide static class that is
referenced by
each jsp page through a static class method.
If the website is inactive for about 2-3 hours, I get an error
trying to get connections from the pool.
I suspect
I tried doing this, but my app which uses a session variable to
check if a user has logged into the site still does not work.
Where can I find a full description of this tag ?
Also, will it work seamlessly for
response.sendRedirect("http://www.myserver.com/page.jsp") and a
href="page.jsp"/a ?
Hi,
I am trying to load balance a virtual host running on apache 1.3.14 with
tomcat 3.2.
I have setup multiple worker threads and have Multiple JkMount points for
the same virtual
host pointing to the same mount point.
i.e
I have the following directives under the same apache virtual host
Hi,
I upgraded from Tomcat 3.2 to 3.2.1 on Solaris Intel JDK 1.3
w/Apache 1.3.14 (Stronghold 3.0)
I even recompiled mod_jk.so with the 3.2.1
src/native/apache1.3 .c file. (BTW a diff -b seems to indicate that
both
the TC 3.2 mod_jk.so and the 3.2.1 .so generated the same
object code)
I
Tomcat 3.2 has a HOST directive. Use that.
I am doing just what you are trying to do and running only 1 instance of
Tomcat.
Regards
Shahed.
-Original Message-
From: Angel Aray [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Date: Tuesday, December 12, 2000 11:15 PM
Subject: One
Hi ,
All the examples and archive messages that I have seen so far
talk about load balancing
using either multiple JVM's or Multiple Connector
Directives with different port numbers
and corrosponding workers in the workers.properties
file.
But they all use different Mount Moints for each
I dont know about the specs, but I think all errorpages need the iserrorpage
= true page directive.
So that could mean that they should be .jsp (?)
Shahed
Hi,
I know that this must have come up before, but can any one
tell me if
I can safely run Tomcat 3.2 with Apache SOAP 2.0 (latest
version)
I remember postings in the dev list talking about class loader
problems
when it came to loading the XML parsing classes used by Tomcat
Vs Apache
I am using Tomcat 3.2 with Apache 1.3.14 on Solarin 8
Intel / JSK 1.3 and am
using ajp13 with Load Balancing.
I am running a single Tomcat instance with Multiple
Connector directives for each worker.
Is there any way that I can monitor the Load balancing using
either O/s specfic tools
59 matches
Mail list logo