Durai,
I cannot answer on points #1 and #2, but as for point #3, in the
files workers.properties and wrapper.properties, you set where (and
therefore which) java compiler is used. Here's what I have in my
workers and wrapper property files:
workers.properties:workers.java_home=c:\java\jdk1.3
Ok. I knew that I could do it with a cookie. Thanks anyway. But is there
anyway of putting onto the request and doing an HTTP POST much like a form
submit?
Dave.
[EMAIL PROTECTED]
-Original Message-
From: Andy Nuss [mailto:[EMAIL PROTECTED]]
Sent: 21 January 2001 22:43
To: '[EMAIL
Hello - I have followed the instructions in the
docs - tomcat-ssl-howto (SSL Direct) (Generate a SSL certificate
(RSA) for tomcat) - From what I can understandfrom the docs I am
configuring tomcat to use "secure socket layering" (https) via tomcat as a
standalone server (no web server
Hi, all !
I'm working with Tomcat3.1 and have some troubles.
I create http-servlet, to serve multiply clients requests and Tomcat
don't create multiply copy of servlets to serve clients requests.
Some code :
[cut]
protected void service(HttpServletRequest req, HttpServletResponse res)
When I will execute startup.bat the message "You must set JAVA_HOME to
point the Java-Development-Kit".
I tried a lot of possibilities but nothing happens.
Which file is to configurate? And which String I have to insert?
Perhaps:"C:\Programme\Java-Development-Kit"
Please help me...
Thorsten
you have to set the enviroment variable java_home, which will be done with
the follwoing "dos command":
1.) open a "dos-box"
2.) type:
set JAVA_HOME=c:\Programme\jdk1.3
(or whereever you installed the java development kit)
3.) change to the tomcat directory and the change into the "bin"
You need to check your sysetm variables are pointing to your java folder.
For example I have java development kit 1.3 installed on my machine to the
default location:
c:\jdk1.3
Therefore the environment variable for JAVA_HOME is c:\jdk1.3
Chris Thompson
-Original Message-
From:
Hello,
Am trying to setup multiple tomcat instances under nt, when adding the
registry entries for the isapi redirector what should I set regarding the
second instance of tomcat, tried using "2.0" as the final key and then setup
the strings under this in regedit but the service refused to start.
Hi All,
Pleae tell about the enterprise and professional
version.
I don't know how the flow of your webapp is working in this
situation but if you put the following in the referrer to
the first jsp or possibly on your first jsp and ACTION="redirect.jsp"
depending on you work flow:
FORM ... ACTION="page1.jsp"
INPUT TYPE="hidden" NAME="var1"
Another way is to write a bean and instantiate it with a
appropriate scope(request, page, application, session),
probably application, on your pages:
jsp:usebean scope=? id=? class=?/jsp:usebean
Don't know if you want the object shared across users. If
so this solution will not work.
---
Another way to do this is write a servlet that will make a
request to all jsp's in your webapp at startup. This takes
care of the class name translations and such.
---
Michael Wentzel
Software Developer
A HREF="http://www.aswethink.com"Software As We Think/A
A HREF="mailto:[EMAIL
I ran into this same snag.
The docs state that in the server.xml file where you activate SSL you should put
"ClientAuth=true". Make that "false".
Basically what is happening is that the server is asking the browser to identify
itself with a certificate. Most people do not have a certificate
Hi Mark,
we already setted up a system running two instances of tomcat on the same
machine (under nt4). The way we followed to achieve it was to download the
sources of the isapi_redirect filter, change the lines referring to
registration keys and recompile everything. Using the binaries coming
All,
I have an applications that is currently running correctly on a Unix
environment (using different versions of apache/tomcat and mod_jserv) that I
need to port over to a WindowsNT environment. So, I installed Apache 1.3.14,
tomcat 3.2.1, and mod_jk on WindowsNT 4.0 with SP 6a. All test and
Dafang Zhang would like to recall the message, "REMOVE".
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
Hi,
I am running Tomcat standalone and I have just tried to access index.jsp in
/examples/jsp/security/protected/. I know this is protected and I am asked
to login what I don't know is how the webserver authenticates me. I have
seen some posting on setting up JDBC realms but I thought I only had
Is the dtd for Tomcat 3.2.1's server.xml available somewhere?
Bill
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
I have tomcat 3.1.1 and my directory look like this:
c:/jakarta-tomcat/webapps/project/WEB-INF
c:/jakarta-tomcat/webapps/project/WEB-INF/classes
c:/jakarta-tomcat/webapps/project/WEB-INF/lib
and in server.xml in the conf directory:
Context path="/project" docBase="webapps/project"
I don't want the files to be compiled at startup. I don't want them
to ever have to be compiled once installed on the users machine.
I want to compile them, package the .class files and ship my application.
Has anyone tried this with success? I don't want to install the JDK on
the users machine,
Hi All,
From where i download the tomcat and can i use it
for NT version.
please give me reply
"affan"
William Au wrote:
Is there anyway for a JSP or servlet running under Tomcat to ask for
configuration information set inside server.xml?
Not directly (although of course you could parse it yourself).
Is there something in particular you are interested in finding out?
Bill
Craig McClanahan
Vijay Prabhakar wrote:
I'm working with the source edition Tomcat 3.2.1.
I'd like to set up an instance of Tomcat where certain incoming requests
need to be authenticated using one method and others need to be authenticated
using another method (based upon the URL). Is there a nice way of
doing
Thanks a lot!!! It is better than I thought.
p.d.- Only one more question what about access to a localhost using a
domain name? For example instead of http://localhost/...
http://www.myDomain.com
- Mensaje original -
De: "Filip Hanik" [EMAIL PROTECTED]
Fecha: Jueves, Enero 18, 2001
Look in the JDBC API reference. The message you are receiving means exactly
what it says: there is no constructor for class java.sql.Date that takes a
String for a parameter. You'll need to use one of the available
constructors. Probably the easiest is to parse your String into three
integers
Look
in the docs directory in your tomcat directory. There are several HOWTO's
explaining how to integrate Tomcat with Apache.
-Original Message-From: Shantanu Joshi
[mailto:[EMAIL PROTECTED]]Sent: Saturday, January 20, 2001
10:01 AMTo: [EMAIL PROTECTED]Subject: How
to
Is there any reason that I should not do
this:
%! String
hostname;%% hostname =
request.getParameter("Host");
%
Does the compilerhave to do any extra work?
Should I combine them?
Hello,
you can find Tomcat in:
http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.1/bin/jakarta-tomcat-3.2.1.zip
Regards
Rui Oliveira
Affan Alim wrote:
00a601c08496$d3814880$3301a8c0@fz2">
Hi All,
From where i download the tomcat and can i use it
for NT version.
please
Hi, I need help from
you.
1. I am loading a jsp thro tomcat. It is
working fine. I am interested to know the flag setting for java compiler( it is
used while compiling the .java file produced from JSP). Can any one help me in
this regard? 2. Does anyone know what "jikes" are? This is used
if you are on Windows NT,
under /WinNT/system32/drivers/etc there is a file named "hosts"
you can add in aliases there,
for example add in the line
127.0.0.1 my.domain.com
and save the file,
then do a
ping my.domain.com and you should get a reply from your own machine
Filip
~
I recently installed Tomcat and am was relieved and very excited that it was
so easy to install. However, I just discovered that the JSP examples
generate errors such as the following if I set JAVA_HOME=jdk1.3 but work
just fine for JAVA_HOME=jdk1.2.2.
Error: 500
Location:
FOr the simple realm (default) you have to edit the tomcat-user.xml file in the conf
directory under your tomcatinstallation.
The file is pretty self explainatory.
Hope that helps
Stefan
I am also trying to figure the same exact thing but have not resolved all
the issues.
First, here are the bugs I found:
o -webapp switch did not work in 3.1 (ArrayOutOfBoundException). It works
in 3.2.1 (did not try 3.2)
o -webxml switch works but the url-pattern contains a \ instead of /
Hello list,
We are using Jakarta-Tomcat 3.2.1 on Solaris, NT and HP-UX
but have found that while the shutdown.bat and shutdown.sh
on Solaris will shut down the server, it takes 3 shutdown.sh
runs to shut the server down on hp-ux. Not 1,2 or 4, exactly
3, every time. I'ved scanned the
Juan Pablo Goldfinger wrote:
Hi:
I have wrote in the web.xml of each tomca context, and nobody work!!!
How I can work the welcome-file-list of the web.xml?
Thanks,
juan
You will do much better asking a Tomcat-specific question on the TOMCAT-USER
mailing list, rather than here. To save
I don't have the need for it yet but thought that it might be useful if
I can get
configuration information (like the port number). Do I need the dtd in
order
to parse server.xml myself? I have not been able to locate a copy of the
dtd
for server.xml.
Bill
"Craig R. McClanahan" wrote:
[EMAIL PROTECTED] (Ciot, Thierry) writes:
o You can't have a JSP page include a file one directory level up (that is
page.jsp using %@include file="../xxx.jsp"%) See my post last Friday "jspc
problem when including files (relative)" (no answer yet)
I didn't see your original message, but I
Hi all,
i have a small question
I created a servlet class in a pakage com.servlet
and i stored it in the ROOT directory inside WEB-INF directory as
com/servlet/myservlet.class with web.xml file and it works fine when i call it
with URL http:8080//servlet/com.servlet.myservlet.
but when
The 2.3 servlet specs allow filters but since I'm running into several
undocumented install issues with Catalina, I'd like to know if it's possible
to insert code into html pages with the current servlet features of tomcat's
2.2 specs. Anyone know how this might be done?
I'm running apache
"M. Amin" wrote:
Hi all,
i have a small question
I created a servlet class in a pakage com.servlet and i stored it in
the ROOT directory inside WEB-INF directory as
com/servlet/myservlet.class with web.xml file and it works fine when i
call it with URL
Place your package as such:
ROOT/WEB-INF/classes/servlet/myServlet.class
then access your package http://localhost:8080/servlet/servlet.myServlet
similar to this:
ROOT/WEB-INF/classes/servlet/packageName/classFile
access:
http://hostname/servlet/packageName.servletName
You are
Hi,
I would like to know where I must make the configuration to use
class contained in an archive jar.
Thanks
__
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/
I'm using HedHat 6.2
--- Andr Alves [EMAIL PROTECTED] escreveu: Hi,
I would like to know where I must make the configuration to use
class contained in an archive jar.
Thanks
__
Do You Yahoo!?
Yahoo! Auctions - Buy the things you
Dear All
Myself and a friend recently put a JSP based website up at www.free-minder.com
We have put a bit of background on the site up in the "About" section
and as promised in an earlier posting to this list we have now posted the
source.
We are using a model/view/controller design but please
All,
In case anyone runs into this one again, we finally found a solution to this
problem.
The solution (sort of) that worked for us was to start Tomcat with the
"server" jvm rather than the "client" jvm. We also tried increasing the
default heap size but that only delayed the appearance of the
how can i say to tomcat that the webs home directory doesn't the
/opt/tomcat/webapps/ROOT and is the /usr/local/httpd/htdocs directory?
thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL
I untarred the jakarta-tomcat-3.2.1-src.tar file into
/export/local/jakarta/jakarta-tomcat-3.2.1-src
Following the README, I added to /export/local/jakarta :
jakarta-ant
jakarta-servletapijakarta-tools (all bin versions)
and :
setenv TOMCAT_HOME
Hi ladies and gentlemen,
I just wanted to tell you about a project which will use Tomcat as a
backend.
We are currently integrating a CRM solution to use servlets hostet in Tomcat
as
their major means of communication with the backend-systems and as a the
only source for business-rule
fyi -
A co-worker found a bug reported back in December which is the cause of my
problem. Bug Report #578 (RequestDispatcher includes automatically commit
response).
Regards,
Debbie
-Original Message-
From: Debra Locke [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 22, 2001 11:26 AM
In the docs dir, read the tomcat-apache-howto.html, where you'll find a link
to Tomcat User's Guide, then where it says "Starting Tomcat from Another
Directory".
It does a better job explaining than anything.
-Original Message-
From: Landaluze Produktions IS - Carlos [mailto:[EMAIL
Hi,
Im trying to configure a webapp in Tomcat 3.1 that was
running on JServ 1.0, the app is under:
/dir/app_name/
the servlets (classes) and html code is under:
/dir/app_name/java
/dir/app_name/html
/dir/app_name/WEB-INF/web.xml
My configuration in server.xml is:
...
ContextManager
Context
Hi there,
Can anyone tell me how to set up tomcat3.2.1 to run servlet which look
up remote object using rmi?
Wendy
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Hi:
I tried tomcat with IIS. I did exactly as described, I could read the log from
isapi_redirect.dll. Yet when I tried "http://localhost/examples/jsp/index.html",
the page could not be displayed and the error code from IIS is 401.
I tried with in/out process, and both of them failed. The
that is a pure Java issue, remember that in a servlet you are just writing
Java code like anywhere else.
Just copy your current Java code into the servlet and bada bing, bada bom,
you're done
Filip
~
Namaste - I bow to the divine in you.
~
Filip Hanik
Technical Architect
[EMAIL PROTECTED]
Hello,
I have a Java bean that uses SSL to perform mutual authentication to
another resource. I'd like for the Java bean (and Tomcat) to be able to
use the certificate that I have installed for Apache. However, it looks
like the credential has root read-access file permissions. Somehow,
Wendy,
As far as Tomcat goes, you don't need to do anything except know the order
in which to bring it up for your applications bindings. Nothing extra needs
to be done if I remember right, been awhile. Ahhh, and don't forget to
include your stub classes in your app tree.
When I did it, my
Hello,
Is there anyone here using Tomcat-MySql, I need help to install the
driver. I would like to know which is the best driver and how to install it.
Thanks in advance.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
I have a client who is committed to the Oracle Application Server. They are
also committed to Java as a core architectural component, and of course they
want to be sure they have a viable environment for deploying servlets and
JSPs.
OAS uses apache for its http server, and Oracle includes jserv
Yes that works! Now I just have to study the JSSE documentation to better
understand the Java security model.
Thanks Dion
-- Pete --
Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 22, 2001 5:49 AM
Subject: Re: Stand Alone SSL Tomcat Example
I've used the mm.mysql at http://mmmysql.sourceforge.net/ with good
results. But to be honest, never in a very intensive environment, only
for some small testing projects - so I can't comment on stability under
load or anything. It is released under the GPL so you can fix bugs if
you find any . .
Hello, I'm a newbie to forums like this and to Tomcat so please bare with
me. I've a quick question.
How can I share Sessions between Contexts?
I have a User site and an Admin site, both have their own context entry in
the server.xml file.
Both Sites must also share the same session information
I have a self-contained servlet that returns a single value. I am trying to
include the output of this servlet in-line on an HTML/JSP page. When I try
to invoke the servlet using the following JSP INCLUDE tag, the page bombs
with Exception #500 (java.lang.IllegalStateException: Writer is
I was considering connecting Tomcat and IIS 5.0 in
windows 2000.
Here is what the docs say
Supported Configuration
The IIS-Tomcat redirector was developed and tested on:
WinNT4.0-i386 SP4/SP5/SP6a (it should be able to work on
other versions of the NT service pack.) and Win98
IIS4.0
The J2EE spec makes it clear that single sign-on for web-based applications
should be supported (J2EE spec, section 3.4.1.1). The specification says:
"It must be possible for one login session to span more than one
application, allowing a user to log in once and access multiple
I will try to be brief, but this will need to explanation.
1) I was going to search the archives , but the search engine is down, so
please don't flame to bad.
I have jsps, that refer to database objects that have been populated by a
servlet and then forwarded to the jsp.
Looking at the code
Hi
I just installed tomcat and trying integrate with my Netscape web server
3.62 on UNIX. I looked at the Jakarta site but I do not find anything.
The only integration information for Netscape I found is for NT. Can
some one give me a little help?
Thank you.
yeh.. but single sign on also covers multiple host..
hmm..
-Original Message-
From: Frederic Kam-Thong [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 22, 2001 3:48 PM
To: [EMAIL PROTECTED]
Subject: Single sign-on with Tomcat 3.21
The J2EE spec makes it clear that single sign-on
YOu
are not using the correct naming pattern for your bean.
The
getter and setter methods should be named
getThePrice() / setThePrice()
because your variable is named thePrice.
Ofcourse you could rename your variable into price or construct a
beandescriptro that explains that
Does anybody have any experience with OpenSTA (www.opensta.org) ?
This is an open source test/load tool. I played with it an hour or
two and it looks very impressive.
Tal
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
William Boyd typed the following on 03:48 PM 1/22/2001 -0800
I have a User site and an Admin site, both have their own context entry in
the server.xml file.
Both Sites must also share the same session information as the interface
allows users to move from one site to another while only logging on
Very good. I tested our web application with it and for a pre version
1.0 product
it is very functional.
Cheers
Jason
Tal Dayan wrote:
Does anybody have any experience with OpenSTA (www.opensta.org) ?
This is an open source test/load tool. I played with it an hour or
two and it looks
Ok - maybe I am wrong and I have been numerous times but the admin directory
is for administration of the server. In the future a gui interface will be
installed in tomcat for server administration via webapps\admin - Since your
context is named Admin maybe you added your own context.
( This is
Thanks for your input but I already do have crossContext=true on all my
context.
Yes, I've added my own admin context and have a adminx context for tomcat
admin.
Thanks,
William
-Original Message-
From: Pete Ehli [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 22, 2001 4:56 PM
To:
I think it will generate a out.print("\n"); that is
unecesary.
Why don't you look at the generated
code?
Bye,
Gaston
- Original Message -
From:
Hobson, Don
To: '[EMAIL PROTECTED]'
Sent: Monday, January 22, 2001 2:36
PM
Subject: Syntax and Performance
Just curious, will that be running with Apache web server as well or just
Tomcat?
Thanks. Thierry.
-Original Message-
From: Ingo Rammer [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 22, 2001 4:30 PM
To: '[EMAIL PROTECTED]'
Subject: Great Software ... we'll go into production ;)
Hi
Hi All,
I am new to Tomcat.
and i installed the Tomcat and i tested locally
Tomcat server that is by giving
http://localhost:8080/example/servlet/Helloorld.html
it is running
properly..
But After i have configured
Apache to Tomcat by giving the command
include /home/path
I am pretty sure that if you can successfully run
http://localhost/examples/servlet/SnoopServlet,
this will tell you whether apache is passing on
servlet request to tomcat.
Cheers
Jason
venkatesan wrote:
Hi All,
I am new to Tomcat.
and i installed the Tomcat and i tested locally
Tomcat server
Thank You Jason,
Now it is running properly through Apache. I have still one problem. The
servlet program is not working in my system. I compilied the example program
which is in the directory namely webapp/examples/WEB-INF/classes> javac
HelloworldExample.java ... It is giving package
Im new
to JSPjust want to know the reason why JSP examples are notrunning
well in my Tomcat but the Servlets are working perfectly fine. What particular
files do i have to place in my Classpath coz I only place jasper.jar did i miss
something?
Hope somebody outhere can help me Thanks!
I have build a package with an Engine derived from
org.apache.catalina.core.StandardEngine. My own class is indicated in an
additional service I added to the server.xml conf file.
When I start catalina, I get the error below. I can solve this problem by
adding catalina.jar and servlet.jar to the
Deepak ..i have one doubt ...
how to implement a interface in JSP...in orelly u can find that implements
:"interface name " have u tried it
if u have not ...pleae ..consult with ..some one and let me know
i need it urgent
Regards
Narayanan.
i have one doubt ...how to implement a interface in JSP...in
orelly u can find that implements:"interface name " have u tried
itif u have not ...pleae ..consult with ..some one and let
me knowi need it urgent
RegardsNarayanan.
You need servlet.jar in the CLASSPATH, in order to
compile the servlet.
Cheers
Jason
venkatesan wrote:
Thank You Jason,
Now it is running properly through Apache. I have still one problem. The
servlet program is not working in my system. I compilied the example program
which is in the directory
Hello all,
I have a question regarding Tomcat. Does Tomcat implements the
servlets as SingleThreadModel or MultipleThreadModel?
Thanks,
Saikat
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Hi Mark,
Indeed, we modified more than one line in the code, here they are :
#define VERSION_STRING "Jakarta/ISAPI/1.0"
replaced by : #define VERSION_STRING "Jakarta/ISAPI/1.0_bis"
#define REGISTRY_LOCATION ("Software\\Apache Software
Foundation\\Jakarta Isapi Redirector\\1.0")
replaced
85 matches
Mail list logo