We use only tomcat and we set following:
response.setHeader("Cache-Control", "no-cache");
response.setHeader("Pragma", "no-cache");
response.setDateHeader("max-age", 0);
response.setDateHeader("Expires", 0);
and we combine it with:
Hi,
There is also the matter of whether you want the code (and data) to
be shared among the web apps or not.
For instance, we have a base servlet class which holds some static
variables which are ment to be used as "application-wide" variables
(e.g. logging configuration), and two web applicatio
I'm working through examples in "Professional JSP - 2nd Edition". Almost
everything I've tried, using Tomcat4b5, worked on the first try.
I'm now looking at the authentication examples. There is a simple example of
an application that uses BASIC authentication. It has a "web.xml" that
specifie
- Original Message -
보낸 사람: "Frans Thamura" <[EMAIL PROTECTED]>
받는 사람: <[EMAIL PROTECTED]>
보낸 날짜: 2001년 6월 10일 일요일 오후 8:05
제목: Re: Tomcat and weblogic
> We cannot compare web logic with tomcat, but if someone integrate tomcat +
> enhydra may be we can compare it.
>
> is it
Would you add little more comments when you say, "the code written *right*"?
I am also interesting to see your *effortless* view in moving the code between
them. Thanks
Pae
> We cannot compare web logic with tomcat, but if someone integrate tomcat +
> enhydra may be we can compare it
Thanks Nitin...
I think this is what you told me to add to server.xml:
http://www.mydomain.com/";
docBase="/usr/local/www/htdocs/"
crossContext="false"
debug="0"
reloadable="true" >
I restarted tomcat and I get t
Hi,
>From our little experience, move to Tomcat 3.2.2, which fixes some bugs
in 3.2.1.
We don't run a production system with it, but so far we haven't found any
problems with it (we use it for development)
-Original Message-
From: Moin Anjum H. [mailto:[EMAIL PROTECTED]]
Sent: Monday, J
Hi Pankaj,
I have no Problem with my Code. I started with TC 3.1 Right now working with
TC 3.2.2 working fine with my code.
HTH
Moin.
Pankaj Chhaparwal wrote:
> Hi All,
> We are currently using Tomcat 3.1 with Apache 1.3.12. We are thinking of
> upgrading to Tomcat 3.2.1 . Are there any issues
We cannot compare web logic with tomcat, but if someone integrate tomcat +
enhydra may be we can compare it.
is it right???
Frans
- Original Message -
From: "Jann VanOver" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 07, 2001 4:28 AM
Subject: RE: Tomcat and weblogic
Have a look of the howto below and you will know all you want.
http://jakarta.apache.org/tomcat/tomcat-3.2-doc/mod_jk-howto.html
Pankaj Chhaparwal wrote:
>
> Hi ,
> We are using jserv adapter for communication between apache and tomcat
> server. Which is the recommended adapter , jserv or mod_jk
Hi ,
We are using jserv adapter for communication between apache and tomcat
server. Which is the recommended adapter , jserv or mod_jk? Also is there
significant performance difference between these two adapters?
Any help on this would be greatly appreciated.
Regards,
Pankaj
Hi Hemant,
The user should have both the options to view it or download it. The
problem with streaming is that it is somewhat slow(since you have to
first read it and then write it in a stream).The second issue is that for
e.g. if I read a word document in a stream and then write it in a stream
,
Go ahead, It will offcourse not going to create any problem,
but just remember to change the port of tomcat (in server.xml)
But just a suggestion if the box u specified is you production box,
than be careful.
Regards
Hemant
- Original Message -
From: "Priya Gupta" <[EMAIL PROTECTED]>
To:
HI:
If you have a jar which you are using in more than one web-apps than place
it under
/tomat/lib
so that tomcat do not reload the same jar more than once(I really surprise
how internally it works)
and if you are using that jar only in one web-app than place than place it
under
/tomcat/webappps
HI Randy and Milt:
I strongly believe that issue is not at all related to classpath,
As offcourse servlets are loaded by tomcat server, and in case they uses
suns classloader i guess it not at all caches the loaded class, Is there any
sun guy which can clarify this?
Regards,
Hemant
- Original
HI Bill:
Which tomcat version are you using?
As i m reall confident that tomcat do auto- reloading as i never got this
problem,
Well offcourse like most servers, tomcat doesn't seems to reload the helper
classes used by servlets,
Regards
Hemant
- Original Message -
From: "Boyle, William (C
HI ALL:
YEah i m using mod_jk,
and well getting the performance for servlets, jsps same as i get when
tomcat runs in standalone mode,
Regards
Hemant
- Original Message -
From: "Chauhan, Anand" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 08, 2001 9:05 PM
Subject: RE: Loa
Do your contexts web.xml include following
POST
If not include it first,
Regards
Hemant
- Original Message -
From: "Shailendra T Kontham" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 08, 2001 9:52 PM
Subject: Confugaring Tomcat for Servlets !
Hi all,
I am trying t
HI Zsolt:
Inside your Servlet subclass use following :
RequestDispatcher _rd =
getServletContext().getRequestDispatcher("/newURLToWhichWeNeedIncludeOrForwa
rd");
_rd.include(request, response);
Regards
Hemant
- Original Message -
From: "Zsolt Koppany" <[EMAIL PROTECTED]>
To: <[EMAIL PROTE
HI Pankaj:
How you transfer the word documents to the client?
I mean you expect user to download it, or view it in there web
browser?
In both ways what you can do is that instead
of redirecting the client to word files, you read those word files in your
jsp or servlet and write that file to
I followed your instructions and now I get this message upon Apache
startup:
undefined symbol: mm_create
-Original Message-
From: James Williamson [mailto:[EMAIL PROTECTED]]
Sent: Sunday, June 10, 2001 1:29 PM
To: [EMAIL PROTECTED]
Subject: Re: Tomcat 4.0 Apache Connector
Hi Ryan,
T
The important thing in the error text is the word bind.
This means that one of your sockets is being used.
On unix and win2000 you can do a netstat -a
This will print out all you sockets incoming and outgoing.
To get to the point you need to shutdown the program using this socket -
I had the sa
Mark Senefsky wrote:
>
> Can I establish a context that points to a directory outside the tomcat
> directory?
Yes this is definitely possible.
Edit the server.xml file in the TOMCAT_HOME/conf directory.
Add a new "context" entry using the existing ones as guidelines.
"path" and "docBase" are t
I am running Tomcat 3.2 and Win2000
Professional.Once startup tomcat, I got the following error
message,2001-06-10 04:12:17 - ContextManager: Adding context Ctx( /examples
)2001-06-10 04:12:17 - ContextManager: Adding context Ctx( /admin
)Starting tomcat. Check logs/tomcat.log for error mess
We're using freetds (http://www.freetds.org) which is an open source
JDBC driver for SQL Server. We've been running with it for a month and
only had one problem (jdbc realm wasn't working) that got cleared up by
some supportive folks on their mailing list.
Chris
Alexandre Bouchard wrote:
>
Hi All,
We are currently using Tomcat 3.1 with Apache 1.3.12. We are thinking of
upgrading to Tomcat 3.2.1 . Are there any issues in such an upgrade?
Regards,
Pankaj
No, It seems a bug in Tomcat 3.2.1 and previous versions. I understand that
it's fixed in TC3.2.2, check it on your machine. I'm not sure if TC is used
as a standalone
Venkat
- Original Message -
From: "Randy Layman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 08, 2001
www.easysoft.com
Alexandre Bouchard wrote:
> I am looking for good&cheap (free if possible) JDBC drivers for SQL server.
> Randy, you told me inetsoftware.de make good drivers. Maybe we will opt for
> this cie but their prices range from USD 200 to 400... Its expensive for
> mere drivers (are JD
Hi All,
I am using Apache and Tomcat to build
my website. The adapter is JServ.I have certain word documents which have
to be displayed on the browser on demand from the end user. I dont
want to end users to view these documents unless they have logged into
the system. What happens right now is
I am looking for good&cheap (free if possible) JDBC drivers for SQL server.
Randy, you told me inetsoftware.de make good drivers. Maybe we will opt for
this cie but their prices range from USD 200 to 400... Its expensive for
mere drivers (are JDBC drivers so difficult to develop?)
And i was wonde
Hi,
I wish to use servlet context, though I'm facing
some problems.
In the example that I'm following to learn
contextx, the following changes are to be made to a different web-server and it
says that I need to adapt the instructions given here to my server if its
different (they use LiteWeb
Hi Kirsten,
may you find the answer here:
http://www.devresource.hp.com/devresource/Topics/Java/Java.html
Dietmar.
[EMAIL PROTECTED] wrote:
> Hi,
> but we don't have green threads on HP-UX 11.00/32 with java 1.3.
> Where can we get the green threads?
>
> Kirsten
>
> bash-2.04$ java -green
> jav
See the attached html file that explains how to install tomcat on win 98 in
the most simple terms. I had a tough time installing and eventually found
this on the web.
- Original Message -
From: gek hua <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, June 10, 2001 5:52 PM
Subjec
If you are runing win98 just copy the following to your autoexec.bat. Make
sure that classpath variables are in the same line like the following:
set classpath= all the *.jar in one line
path C:\WINDOWS;C:\WINDOWS\COMMAND;C:\jdk1.2.2\bin;C:\Tomcat\bin
set
classpath=.;C:\jdk1.2.2\jre\lib\rt.ja
Hi Ryan,
This is actually mentioned on the tomcat-dev list, you need to modify your
Makefile in apache-1.3, you need to add a -lpthread library parameter entry,
changing @$(APXS) -c $(APXSFLAGS) mod_webapp.so to
@$(APXS) -c $(APXSFLAGS) -pthread mod_webapp.so. I would send you a diff
although I'm
Hi!guys,
I have developed an application using Tomcat 3.1
,jdk1.3 and Oracle8.1.5 as the database.
The application includes servlets,applets and jsp
pages.
Environment: NT
Jdk : 1.3
Oracle : 8.1.5
Tomcat : 3.1
The application runs Ok till the servlet execution
ie proper database connection.Bu
Thanks for the help...
What I'd really like to do is be able to run jsp's and servlets through my
root web directory without having to add the files to examples/*. For
example: http://www.mydomain.com/cart.jsp instead of:
http://www.mydomain.com/examples/jsp/cart.jsp
How is this accomplished?
Ca
Hello,
If you are on Windows 9x/ME, make sure to limit pathnames to <= 8
characters.
Better start with the basic file (tomcat.bat), and then add the missing
variables, which are typically :
(adapt for your own environment)
set JAVA_HOME=C:\jdk1.3
set TOMCAT_HOME=C:\jakarta-tomcat3.2.2 (or whate
Hi,
I have read the solutions given below and understood it very well.But my
problem is that I cannot dynamically reload servlets. I need to restart for
every reload of servlet.
Although the servlet in question is not in the Default class loader's
classpath.
So the servlet is only getting lo
Hi,
Where I can download apache 2.0.18 or later
?
sorry for this simple question.
i am a trying to set up the Tomcat server on a win98 system.
But whenever i try to start the server running, i keep getting the:
"You must set JAVA_HOME to point at your Java Development kit
installation" error message.
MY Jdk is installed at "d:\jdk1.3.1"
My
hi there,
u can set up new contexts by adding new directories within webapps.
each dir could be a context/app and could have dirs for jsp , images , web-inf,
etc.
~krishnakant
Mark Senefsky wrote:
> Greetings all...
>
> OK I think the solution to my previous email "Newbie Help (the sequel)" is
Hello,
It should be fixed with a call to Socket.setTcpNoDelay() on the Tomcat
server socket.
A C program that I wrote had the same problem as the Tomcat server.
and the problem was fixed with the setting of the TCP NODELAY
transmission.
Anybody there who volunteer to add this option to t
Hi,
I have installed Apache, mod_ssl and OpenSSL. The thing I want to do is
create a servlet to get the client's certificate. I have successfully
installed Jakarta Tomcat 3.2.1 and tested with HelloWorld servlet by HTTPS
and it works. That means the servlet works ok with SSL. However whe
44 matches
Mail list logo