Tomcat and FHS conformance

2001-11-01 Thread =?646?q?Christoph_Sch=3Fnfeld?=

why do the RPMs obtainable from jakarta.apache.org place Tomcat in /var/tomcat? The 
FHS says /var should contain variable data but Tomcat is a program. So actually it 
belongs into /usr/lib/tomcat or somewhere else. But the classes and config files 
definitely do not belong into /var, right?

I also feel a bit uncomfortable putting my webapps below $TOMCAT_HOME because it looks 
like they were part of the Tomcat distribution. 

I'd like to have a clear separation of the webapps and Tomcat just like the separation 
of the Apache binaries from web content (/var/www on Debian or /var/lib/httpd on 
Redhat). For me, they should be placed in /var/webapps or /var/lib/tomcat/webapps.

How do you see this? Does the current organization have Windows-portability reasons?

Christoph

---
This message has been posted through the Jakarta Tomcat 4.0 F.A.Q.
on line forum, and can be seen at:
http://nagoya.apache.org:8080/jive/thread.jsp?forum=1thread=8
For more informations about the on-line Jakarta forums, please go to:
http://nagoya.apache.org:8080/jive/
---

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: unsubscribe!!

2001-11-01 Thread Donie Kelly

Good point. It doesn't actually work...

Donie


-Original Message-
From: Elm Gysel [mailto:[EMAIL PROTECTED]]
Sent: 31 October 2001 16:31
To: Tomcat Users List
Subject: Re: unsubscribe!!


You are right! I apologize! My boss was crappy and I did it without
thinking!
Lets go have a beer! :)

Sorry again..

Elm

Why so unpolite without cause.

He didn't say that he doesn't know how to unsubscribe,
but that it didn't work.

 -Ursprüngliche Nachricht-
 Von: Elm Gysel [mailto:[EMAIL PROTECTED]]
 Gesendet: Mittwoch, 31. Oktober 2001 15:58
 An: Tomcat Users List
 Betreff: Re: unsubscribe!!
snip/
 You silly person
 have you never looked at the the bottom of a message?
 let me show it to you again :
snip/

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




MySQL jdbc connection url

2001-11-01 Thread Andrius

Hello,
What's the correct MySQL jdbc connection url? I'm trying to setup
jdbcRealm on tomcat 4.0.1,
and using this url pattern :
connectionURL=jdbc:mysql://localhost/authority?user=test;password=test
   but it goes wrong - it says Invalid authorization exception: Access
denied for user: 'test;password@host'.
I've configured server side permissions properly (mySQL accepts using
another client). thanx for any response.

obj.



Re: MySQL jdbc connection url

2001-11-01 Thread Roland Carlsson

It url should be formed like any other url so you should use  to separate name=value. 
Not ; as u have done

jdbc:mysql://localhot/db?user=namepassword=pw

Regards 
Roland Carlsson


- Original Message - 
From: Andrius [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, November 01, 2001 1:51 PM
Subject: MySQL jdbc connection url


 Hello,
 What's the correct MySQL jdbc connection url? I'm trying to setup
 jdbcRealm on tomcat 4.0.1,
 and using this url pattern :
 connectionURL=jdbc:mysql://localhost/authority?user=test;password=test
but it goes wrong - it says Invalid authorization exception: Access
 denied for user: 'test;password@host'.
 I've configured server side permissions properly (mySQL accepts using
 another client). thanx for any response.
 
 obj.
 


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Help: Tomcat 3.2.3 and IIS Win2000

2001-11-01 Thread Larry Isaacs

I assume you looked at the Troubleshooting section of the
IIS howto document and checked what it suggested.

If you created the registry entries manually, I would
recommend renaming the conf\iis_redirect.reg-auto to
iis_redirect.reg and using it to create the registry
entries.  This avoid the possibility of typos when creating
the registry entries.  If you need changes to the registry
settings, like switching from uriworkermap.properties to
uriworkermap.properties-auto, edit the iis_redirect.reg
file and re-apply.

You are also welcome to try Tomcat 3.3.  Connecting IIS
and Tomcat is a little better automated and the documentation
a little more up to date.  See:

http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-iis-howto.html

if you are curious.  Should you try Tomcat 3.3, be sure to get the
isapi_redirect.dll from the 3.3 site.  The one from 3.2.3 will not
work correctly with 3.3.

Cheers,
Larry

 -Original Message-
 From: Slava Yusim [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, October 31, 2001 2:22 PM
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: Help: Tomcat 3.2.3 and IIS Win2000
 
 
 Hello,
 I tried to install ISAPI redirection using Tomcat IIS How To 
 instruction but
 nothing work.
 I've checked all of my configuration against Tomcat IIS How To several
 times -
 looks the same. Maybe I did something wrong but :
  - isapi.log did not appear in log folder;
  - I didn't get a green up-pointing arrow ISAPI Filter;
  - and as result http://localhost/examples/jsp/index.html 
 does not work.
 (http://localhost:8080/examples/jsp/index.html - works)
 Could you please help me with this installation.
 
 Thanks,
 Slava.
 
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Solving JSPErrors

2001-11-01 Thread Larry Isaacs

I have vague recollections seeing a similar error on a JSP
page that had too many custom tags (hundreds, I think).
Reducing the number of tags was the only workaround found.

If this is not the problem (a JSP page with error in its
name probably doesn't have lots of custom tags), then you 
can try directly compiling the Java file generated from the
JSP page.  Try removing portions of code to try to find
what is tripping up javac.  If you are using Tomcat 3.2.x,
you can rename the file and edit the class name so it isn't
using the long mangled name it initially gives the file.

Hope this helps.

Cheers,
Larry


 -Original Message-
 From: Juan Carlos Castaño Palacio [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, October 31, 2001 5:53 PM
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: Solving JSPErrors
 
 
 Hi everybody.
 
 My name is Juan Carlos; I´m writing from Colombia.
 
 I´d like to know if you have a solution for the following 
 error message:
 
 Internal Servlet Error: org.apache.jasper.JasperException: 
 Unable to compile class for JSPerror: An error has occurred 
 in the compiler; please file a bug report 
 (http://java.sun.com/cgi-bin/bugreport.cgi).
 
 I work with Iplanet Web Server 6.0 for Solaris 8 and JVM HotSpot.
 
 I´m really worried because it´s happened a lot of days with 
 no success trying to find someone who is aware of any solution.
 
 Thanks in advanced.
 
 Ph (57 4) 5718383 ext 239
 
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Tomcat Architecture

2001-11-01 Thread ash s

Hi !
Can someone give me some pointers where I could get to know the architecture
of Tomcat.
One way to understand the architecture is knowing and understanding the
classes available in Tomcat and compare it with the servlet specifications
given by Sun microsystems.

If somebody could give a site which has already done this study, then it
would be great.

thanxs and regards
ashwanth



The Information contained and transmitted by this E-MAIL is proprietary to Wipro 
and/or its Customer and is intended 
for use only by the individual or entity to which it is addressed, and may contain 
information that is privileged,
confidential or exempt from disclosure under applicable law. If this is a forwarded 
message, the content of this
E-MAIL may not have been sent with the authority of the Company. If you are not the 
intended recipient, an agent
of the intended recipient or a  person responsible for delivering the information to 
the named recipient,  you are
notified that any use, distribution, transmission, printing, copying or dissemination 
of this information in any way
or in any manner is strictly prohibited. If you have received this communication in 
error, please delete this mail 
notify us immediately at [EMAIL PROTECTED]



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


Re: tomcat and servlet directories

2001-11-01 Thread mperreno

Tomcat looks for servlets classes in the
/webtxt/WEB-INF/classes directory
move your servlets there.


 I've installed TomCat 3.2 and it's serving .JSP files as it supposed
 to. But now I have a new project which I have to work my way into, and
 it's not working as it should. Look at the following tree:

 /webxt
 /webxt/data
 /webxt/servlet

 When I run a make (which works fine) my /servlet directory contains a
 lot of .class files. In the /data directory there's an index.html file
 which links to, let's say, '/webxt/servlet/userConfig' (note; without the
 .class extension, heck, without ANY extension). There is actually a
 userConfig.class file in this directory, so logically it has something to
 do with that file. I can point my browser to the /webxt/servlet directory
 and manually click the userConfig.class file, but it then starts
 downloading the file. I'm not quite sure what's missing in my
 configuration files and what I need to do to get this environment working.

 I'm running Tomcat along with Apache, and as I said, it serves
 standalone .jsp files just fine. Is there someone who can point out to me
 what I need to do now?

 Thnx in advance,
  Bob.

-- 
mathieu perrenoud [iis]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Shutting down apache tomcat server

2001-11-01 Thread Larry Isaacs

The conf/ajp12.id file is written when Tomcat starts
up.  It stores at least the port number of the
Ajp12Interceptor used to invoke the shutdown.  It can
also store a password and other info to help make
shutting down more secure.  When executing
tomcat.sh stop or shutdown.sh, Tomcat will try to
read this file to determine the port and other info
so it can send the shutdown request.

There is a known problem in that tomcat.sh deletes
this file prior to starting.  If you inadvertently
start Tomcat twice, the second one deletes the file
but doesn't get far enough to write a new ajp12.id.
As a result, shutdown.sh won't find the file when
you try to shut down the first instance.

You can try creating a default one manually and enter
8007 (without the quotes) on the first line, followed
by two blank lines.  Then try shutting down again.

Cheers,
Larry

 -Original Message-
 From: Micheleen Harris [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, October 31, 2001 8:35 PM
 To: [EMAIL PROTECTED]
 Subject: Shutting down apache tomcat server
 
 
 I am running the tomcat server version 3.3 on an Irix
 machine.  I am maintaining tomcat as well as writing
 servlets therefore starting and shutting down the
 server for developement purposes.  Upon shutting down
 the server recently I recieved the error:
 
 Can't read
 /usr/tomcat/jakarta-tomcat-3.3//conf/ajp12.id
 
 1.  What does this mean?
 2.  How do I fix it?
 
 Pleas help.  Thank you.
 
 ~Micheleen
 
 __
 Do You Yahoo!?
 Make a great connection at Yahoo! Personals.
 http://personals.yahoo.com
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Apache 4.0 and Mod_webApp.so

2001-11-01 Thread Pier Fumagalli

Nita at [EMAIL PROTECTED] wrote:

 The mod.so has been installed and the directive
 LoadModule webapp_module modules/mod_webapp.so along with libapr.dll  has
 been added to modules directory
 The error confg file gives the following error
 [Wed Oct 31 19:13:26 2001] [alert] Apache.exe: Could not determine the
 server's fully qualified domain name, using 127.0.0.1 for ServerName
 [Wed Oct 31 19:13:26 2001] [crit] make_sock: failed to get a socket for port
 80
 Any idea as to why this happens

You're lacking the ServerName directive in your httpd.conf (this is not an
error of mod_webapp, but of Apache itself).

Pier


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Problem with mod_webapps and com.oreilly.servlet

2001-11-01 Thread Pier Fumagalli

It's a known bug which has been fixed quite a long time ago... Use one of
the nightly from http://nagoya.apache.org/~pier/

Pier

Mangi, Rick at [EMAIL PROTECTED] wrote:

 it's a known bug with the warp connector. Use the ajp13 connector and it
 should work.
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, October 31, 2001 9:33 AM
 To: [EMAIL PROTECTED]
 Subject: Problem with mod_webapps and com.oreilly.servlet
 
 
 Tomcat 4.01 + Apache 1.3
 I have mod_webapps installed, and everything works fine except when I try
 to use the com.oreilly.servlet package to try to upload a file via
 http.(multipart form)
 The same servlet works fine when connecting directly to tomcat standalone
 (8080) but when going through the apache web server and the mod_webapps
 connector I get corrupted files (jpegs).
 
 It sounds very similar to the first bug described here
 http://www.servlets.com/soapbox/bugs.html
 
 Is there any way to patch the source or work around this?
 (I'm running virutal hosts so i'd like to use the warp connector)
 
 Thanks,
 
 Scott Archer
 [EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Invalid command 'WebAppConnection'

2001-11-01 Thread Pier Fumagalli

Lauer, Oliver at [EMAIL PROTECTED] wrote:

 Hi, 
 
 that's my conf:
 
 # TOMCAT-Settings
 LoadModule webapp_module libexec/mod_webapp.so
 WebAppConnection conn  warp  localhost:8008
 WebAppDeploy examples  conn  /examples/
 WebAppInfo /webapp-info
 
 How do I've to set Apache to 'understand' WebAppConnection ?

Add the AddModule directive in your HTTPD.CONF as described in the README.

Pier


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: mod_webapp/apache solaris 8 compile problems

2001-11-01 Thread Pier Fumagalli

Cracauer, David  D. at [EMAIL PROTECTED] wrote:

 From my distro of GCC (both on Sol8 x86 AND sparc), libgcc is already
 included as a .so in /usr/local/lib... Just make sure you export the
 correct
 LD_LIBRARY_PATH by doing:
 
 Where did you get your distro?

http://www.sunfreeware.com/

Or thru a faster mirror:

ftp://mirrors.xmission.com/sunfreeware/

Pier


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Anyone use Catalina on FreeBSD in production?

2001-11-01 Thread Pier Fumagalli

Andy Zeneski at [EMAIL PROTECTED] wrote:

 Does anyone use Tomcat 4 on FreeBSD in a production environment? I am
 wondering how stable the JVM port is and how well things behave.

We had TC3.3 for a long time on www.apache.org, but the VM (yes, I have to
admit it), is still not ready for prime time... It simply kept crashing once
a day, and sometimes, it just hangs (so you have to go down and restart your
process manually)...

Like, you see... Right now tomcat is running on jakarta.apache.org:8080, but
for sure it's not responding...

Pier


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: tomcat on mainframe

2001-11-01 Thread Pier Fumagalli

[EMAIL PROTECTED] at [EMAIL PROTECTED] wrote:

 has anyone installed TOMCAT on the mainframe (IBM os/390)?
 
 Do you know how this would work?
 Where I could get the binaries (if there are any)?
 
 thank you greatly for your timeit's appreciated!

I know it works for sure because IBM has a very nice Java2 VM for OS/390
(being an ex IBM employee takes its toll...).
The binaries are the usual .zip or .tar.gz available from the website, but
you might have to do some tweaking to the startup/shutdown scripts (I don't
have access to an OS/390 anymore, so can't help you out on that)

Pier


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Invalid command 'WebAppConnection'

2001-11-01 Thread Pier Fumagalli

Well, by doing this, basically, you remove all the webapp configuration...
Since Apache cannot see the WebAppConnection directive, it means that
somehow the module has not been loaded/added. By adding an IfModule
section, simply Apache will not consider those directive, as the module is
not there... For sure Apache will start without errors, but the WebApp
directives will be ignored...

Pier

Nita at [EMAIL PROTECTED] wrote:

 U got to set it as follows
 in 2nd directives section
 
 IfModule mod_webapp.c
 WebAppConnection conn  warp  localhost:8008
WebAppDeploy examples  conn  /examples
 /IfModule
 
 - Original Message -
 From: Lauer, Oliver [EMAIL PROTECTED]
 To: 'Tomcat Users List' [EMAIL PROTECTED]
 Sent: Wednesday, October 31, 2001 9:00 PM
 Subject: Invalid command 'WebAppConnection'
 
 
 Hi,
 
 that's my conf:
 
 # TOMCAT-Settings
 LoadModule webapp_module libexec/mod_webapp.so
 WebAppConnection conn  warp  localhost:8008
 WebAppDeploy examples  conn  /examples/
 WebAppInfo /webapp-info
 
 How do I've to set Apache to 'understand' WebAppConnection ?


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: unsubscribe!!

2001-11-01 Thread Pier Fumagalli

Donie Kelly at [EMAIL PROTECTED] wrote:

 Good point. It doesn't actually work...

Ok... I lost track of WHO actually wanted to be unsubbed... Please, whoever
wants to unsubscribe, write to [EMAIL PROTECTED].

Cheers...

Pier


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: tomcat on mainframe

2001-11-01 Thread Nikola Milutinovic

 [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote:
 
  has anyone installed TOMCAT on the mainframe (IBM os/390)?
  
  Do you know how this would work?
  Where I could get the binaries (if there are any)?
  
  thank you greatly for your timeit's appreciated!
 
 I know it works for sure because IBM has a very nice Java2 VM for OS/390
 (being an ex IBM employee takes its toll...).
 The binaries are the usual .zip or .tar.gz available from the website, but
 you might have to do some tweaking to the startup/shutdown scripts (I don't
 have access to an OS/390 anymore, so can't help you out on that)

Speaking of startup/shutdown scripts... In all distributions I had to manually add 
-config ${CATALINA_HOME}/conf/server.xml. Is this deliberately left out or is at an 
omission?

Basically, I need Tomcat to startup/shutdown with the machine.

Nix.



Migrating from Tomcat 3.XX to Tomcat 4.0

2001-11-01 Thread Vasant Kumar

HI All

I m using Tomcat 3.2.2 on W2k. My web application is working fine in T3. I have down 
loaded the installation(.exe) version of T4.

I have these few questions. These problems might have been addressed previously but I 
would appreciate anyone forwarding those mails or directing how I can find those.

1. When I try to run my application through the T4 it is [u]not able to find the 
beans[/u]. My app is intalled outside the T4 root. It is executing the jsps.

2. [b]/manager[/b] context: I create context sucessfully through this, but it is 
[u]not updating the server.xml[/u]. Do I have to make any settings other than creating 
a user/pwd with manager role?

3. Is using the /manager to create new context is the right way? Is it stable? Or 
manually editing the server.xml. is the recommended way?

Thanks
Vasant
---
This message has been posted through the Jakarta Tomcat 4.0 F.A.Q.
on line forum, and can be seen at:
http://nagoya.apache.org:8080/jive/thread.jsp?forum=1thread=7
For more informations about the on-line Jakarta forums, please go to:
http://nagoya.apache.org:8080/jive/
---

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Newbie-Tomcat3.3+Apache1.3

2001-11-01 Thread Joel

Dear,

 I am trying to integrate Tomcat 3.3 with Apache 1.3

 As per the documentations I assume that following 3 files apart from
httpd.conf are required for integration

1) server.xml
2) mod_jk.conf
3) workers.properties

Are my assumption correct or is there any other files left for config.

Also how to check whether the compiled version of mod_jk is there in my
system.

Please guide me

Regards

Joel





--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Welcome to the Tomcat 4.0 F.A.Q. on-line forum.

2001-11-01 Thread Mangi, Rick

Pier,

I don't think this makes a whole lot of sense. I understand the advantages
of a forum vs. a mailing list, but requiring people to look for a link at
the bottom and then register to reply... it just ain't gonna happen, and
you're going to spend a lot of time reminding people to check if it's a
message from the forum. I'd suggest you filter on the subject fields and
have an agent subscribed to the mailing list automatically posting the
messages up there.

Being a realist... I don't see this working.

Rick


-Original Message-
From: Pier Fumagalli [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 31, 2001 10:41 PM
To: [EMAIL PROTECTED]
Subject: Welcome to the Tomcat 4.0 F.A.Q. on-line forum.


In the effort of better managing our resources Apache wide, and specifically
in our case in the scope of the Jakarta project, here is a little new
addition to our set of tools. A web-based forum system.

Some of you have asked why do we need a forum, aren't our mailing lists
enough to support our needs? My reply is simple, we need both.

The on-line forum, first of all, allows you do a couple of nifty things that
people asked: search messages in an intelligent way (our mail archives
already do so, but most of the time, the precision of their search engine is
not, well, the best you can get).

Plus, each question there is organized and threaded better than any Email
client can do (there is a big discussion about how to interpret the
In-Reply-To header, and some popular email clients forget to include it in
messages), and the topics are way more visible than on a mailing list with
an average of more than 200 messages a day.

There are some more features, like: wouldn't it be nice to be able to be
notified and receive replies only to MY particular question, avoiding all
the other hundreds of emails that flow daily to your mail client? Well, a
web forum allows you to do that, you can create a thread, the one with your
little particular problem, and watch it, being notified via email about
what replies I got only to my problem. Or looking and being notified about
that little problem I had and was reported by another guy... All that can be
done only thru a well-managed forum, and the current internet-mail system is
not sufficient to achieve that.

And PLUS, every message you send thru the web-forum is actually mirrored
on our mailing list (I'm still figuring out how to do the opposite, but
given enough brainpower -which I don't have at the moment - I'm sure I can
do that!), so everyone will see it (nope, you won't loose visibility, and
you don't have to post your messages twice).

I just a couple of little favors to ask you all. If you see a message coming
from the web-forum (and you will recognize it by the lines at the bottom of
the message, take this one for example), and you want to reply, don't simply
hit reply on your client, but instead click on the link at the bottom, and
respond on-line. Your message will be archieved, stored, and you won't have
to reply to the same question anymore. And if you want to reply to someone
on the list, before doing so, check whether the same question has already
been answered on the forum. The more we use it now, the less we'll have to
use it in the future.

Last little question, please, if you see something wrong or offensive on the
forum, please notify mailto:[EMAIL PROTECTED], and we'll be
able to remove it...

Thanks for listening...

Pier

---
This message has been posted through the Jakarta Tomcat 4.0 F.A.Q.
on line forum, and can be seen at:
http://nagoya.apache.org:8080/jive/thread.jsp?forum=1thread=3
For more informations about the on-line Jakarta forums, please go to:
http://nagoya.apache.org:8080/jive/
---

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


This email and any attachments are confidential and may be 
legally privileged. No confidentiality or privilege is waived 
or lost by any transmission in error.  If you are not the 
intended recipient you are hereby notified that any use, 
printing, copying or disclosure is strictly prohibited.  
Please delete this email and any attachments, without 
printing, copying, forwarding or saving them and notify the 
sender immediately by reply e-mail.  Zurich Capital Markets 
and its affiliates reserve the right to monitor all e-mail 
communications through its networks.  Unless otherwise 
stated, any pricing information in this e-mail is indicative 
only, is subject to change and does not constitute an offer 
to enter into any transaction at such price and any terms in 
relation to any proposed transaction are indicative only and 
subject to express final confirmation.

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL 

Re: Shutdown Tomcat

2001-11-01 Thread Yoav Shapira

Howdy,
My two cents... Solaris 2.6 on an Ultra 10, tomcat 4.0.1, takes about
20 seconds for complete startup, less than five seconds for complete
shutdown (process gone and everything).  My setup right now has
3 webapps, one of which spawns a couple of threads (but takes care
to terminate them appropriately)... 

Yoav

Steve Brunton wrote:
 
 Evan Swanson wrote:
 
  Yeah, I have been wondering the same thing.
 
  On unix is seems that you have to kill the process.
  Shutdown.bat and shutdown.sh do not seem to stop the Tomcat process.
  I am guessing they just log off all of the sessions 'gracefully'
  You then have to manually kill the process?
 
  I am not sure if this is a problem with tomcat or it is supposed to be that
  way.
 
  It seems to be the same effect when you use the manager application to
  shutdown tomcat so I am guessing that it was designed to work that way.
 
  I have been unable to find any doco on the subject.
 
  Does anybody know a better way of shutting down the server than killing the
  process?
 
 
   I've got Tomcat 4.0.1/JDK1.3.1_01 shutting down happily on Solaris x86
 just spiffy like. It does seem to take it a while to spool everything
 down. Currently it's only loading about 10 servlets and if I tail the
 output log as the thing is shutting down I can see it hitting all the
 destroy() methods and shutting down JNDI, JDBC and LDAP connections.
 Make sure that all your servlets clean up after themselves and it should
 shutdown fine.
 
 --
 Steve Brunton   [EMAIL PROTECTED]  Phone: 404-827-2756
 Chief Engineer Enterprise SystemsOne CNN Center, Atlanta GA
 CNN Internet Technologies  ICBM: 84W 23' 45 33N 45' 29
 * I used to have a handle on life, but it broke. *
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Welcome to the Tomcat 4.0 F.A.Q. on-line forum.

2001-11-01 Thread Timothy Fisher

I think the forums are a GREAT addition!

--- Mangi, Rick [EMAIL PROTECTED] wrote:
 Pier,
 
 I don't think this makes a whole lot of sense. I
 understand the advantages
 of a forum vs. a mailing list, but requiring people
 to look for a link at
 the bottom and then register to reply... it just
 ain't gonna happen, and
 you're going to spend a lot of time reminding people
 to check if it's a
 message from the forum. I'd suggest you filter on
 the subject fields and
 have an agent subscribed to the mailing list
 automatically posting the
 messages up there.
 
 Being a realist... I don't see this working.
 
 Rick
 
 
 -Original Message-
 From: Pier Fumagalli [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, October 31, 2001 10:41 PM
 To: [EMAIL PROTECTED]
 Subject: Welcome to the Tomcat 4.0 F.A.Q. on-line
 forum.
 
 
 In the effort of better managing our resources
 Apache wide, and specifically
 in our case in the scope of the Jakarta project,
 here is a little new
 addition to our set of tools. A web-based forum
 system.
 
 Some of you have asked why do we need a forum,
 aren't our mailing lists
 enough to support our needs? My reply is simple, we
 need both.
 
 The on-line forum, first of all, allows you do a
 couple of nifty things that
 people asked: search messages in an intelligent way
 (our mail archives
 already do so, but most of the time, the precision
 of their search engine is
 not, well, the best you can get).
 
 Plus, each question there is organized and threaded
 better than any Email
 client can do (there is a big discussion about how
 to interpret the
 In-Reply-To header, and some popular email clients
 forget to include it in
 messages), and the topics are way more visible than
 on a mailing list with
 an average of more than 200 messages a day.
 
 There are some more features, like: wouldn't it be
 nice to be able to be
 notified and receive replies only to MY particular
 question, avoiding all
 the other hundreds of emails that flow daily to your
 mail client? Well, a
 web forum allows you to do that, you can create a
 thread, the one with your
 little particular problem, and watch it, being
 notified via email about
 what replies I got only to my problem. Or looking
 and being notified about
 that little problem I had and was reported by
 another guy... All that can be
 done only thru a well-managed forum, and the current
 internet-mail system is
 not sufficient to achieve that.
 
 And PLUS, every message you send thru the web-forum
 is actually mirrored
 on our mailing list (I'm still figuring out how to
 do the opposite, but
 given enough brainpower -which I don't have at the
 moment - I'm sure I can
 do that!), so everyone will see it (nope, you won't
 loose visibility, and
 you don't have to post your messages twice).
 
 I just a couple of little favors to ask you all. If
 you see a message coming
 from the web-forum (and you will recognize it by the
 lines at the bottom of
 the message, take this one for example), and you
 want to reply, don't simply
 hit reply on your client, but instead click on the
 link at the bottom, and
 respond on-line. Your message will be archieved,
 stored, and you won't have
 to reply to the same question anymore. And if you
 want to reply to someone
 on the list, before doing so, check whether the same
 question has already
 been answered on the forum. The more we use it now,
 the less we'll have to
 use it in the future.
 
 Last little question, please, if you see something
 wrong or offensive on the
 forum, please notify
 mailto:[EMAIL PROTECTED], and we'll be
 able to remove it...
 
 Thanks for listening...
 
 Pier
 

---
 This message has been posted through the Jakarta
 Tomcat 4.0 F.A.Q.
 on line forum, and can be seen at:

http://nagoya.apache.org:8080/jive/thread.jsp?forum=1thread=3
 For more informations about the on-line Jakarta
 forums, please go to:
 http://nagoya.apache.org:8080/jive/

---
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 
 This email and any attachments are confidential and
 may be 
 legally privileged. No confidentiality or privilege
 is waived 
 or lost by any transmission in error.  If you are
 not the 
 intended recipient you are hereby notified that any
 use, 
 printing, copying or disclosure is strictly
 prohibited.  
 Please delete this email and any attachments,
 without 
 printing, copying, forwarding or saving them and
 notify the 
 sender immediately by reply e-mail.  Zurich Capital
 Markets 
 and its affiliates reserve the right to monitor all
 e-mail 
 communications through its networks.  Unless
 otherwise 
 stated, any pricing information in this e-mail is
 indicative 
 only, is subject to change and does not constitute
 an offer 
 to enter into any transaction at such price and any
 terms in 

RE: Welcome to the Tomcat 4.0 F.A.Q. on-line forum.

2001-11-01 Thread Mangi, Rick

let me clarify.

I support the idea of a forum whole hartedly. I think it will cut down on
repeat questions and answers. It will allow people to post much more
detailed suggestions and solutions since you know that your posting will
survive past 24 hours. 

However

If I'm reading Pier's instructions correctly, then having to check at the
bottom of a message for a link to tell you that this is a posting from the
forum and directing you to click on the link and reply at the forum... that
won't work. 

I suggest rethinking that strategy and either separate the two (email
list/forum) completely, or come up with a system whereby people can post to
the form via email reply to the message.

Rick



-Original Message-
From: Timothy Fisher [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 01, 2001 9:28 AM
To: Tomcat Users List
Subject: RE: Welcome to the Tomcat 4.0 F.A.Q. on-line forum.


I think the forums are a GREAT addition!

--- Mangi, Rick [EMAIL PROTECTED] wrote:
 Pier,
 
 I don't think this makes a whole lot of sense. I
 understand the advantages
 of a forum vs. a mailing list, but requiring people
 to look for a link at
 the bottom and then register to reply... it just
 ain't gonna happen, and
 you're going to spend a lot of time reminding people
 to check if it's a
 message from the forum. I'd suggest you filter on
 the subject fields and
 have an agent subscribed to the mailing list
 automatically posting the
 messages up there.
 
 Being a realist... I don't see this working.
 
 Rick
 
 
 -Original Message-
 From: Pier Fumagalli [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, October 31, 2001 10:41 PM
 To: [EMAIL PROTECTED]
 Subject: Welcome to the Tomcat 4.0 F.A.Q. on-line
 forum.
 
 
 In the effort of better managing our resources
 Apache wide, and specifically
 in our case in the scope of the Jakarta project,
 here is a little new
 addition to our set of tools. A web-based forum
 system.
 
 Some of you have asked why do we need a forum,
 aren't our mailing lists
 enough to support our needs? My reply is simple, we
 need both.
 
 The on-line forum, first of all, allows you do a
 couple of nifty things that
 people asked: search messages in an intelligent way
 (our mail archives
 already do so, but most of the time, the precision
 of their search engine is
 not, well, the best you can get).
 
 Plus, each question there is organized and threaded
 better than any Email
 client can do (there is a big discussion about how
 to interpret the
 In-Reply-To header, and some popular email clients
 forget to include it in
 messages), and the topics are way more visible than
 on a mailing list with
 an average of more than 200 messages a day.
 
 There are some more features, like: wouldn't it be
 nice to be able to be
 notified and receive replies only to MY particular
 question, avoiding all
 the other hundreds of emails that flow daily to your
 mail client? Well, a
 web forum allows you to do that, you can create a
 thread, the one with your
 little particular problem, and watch it, being
 notified via email about
 what replies I got only to my problem. Or looking
 and being notified about
 that little problem I had and was reported by
 another guy... All that can be
 done only thru a well-managed forum, and the current
 internet-mail system is
 not sufficient to achieve that.
 
 And PLUS, every message you send thru the web-forum
 is actually mirrored
 on our mailing list (I'm still figuring out how to
 do the opposite, but
 given enough brainpower -which I don't have at the
 moment - I'm sure I can
 do that!), so everyone will see it (nope, you won't
 loose visibility, and
 you don't have to post your messages twice).
 
 I just a couple of little favors to ask you all. If
 you see a message coming
 from the web-forum (and you will recognize it by the
 lines at the bottom of
 the message, take this one for example), and you
 want to reply, don't simply
 hit reply on your client, but instead click on the
 link at the bottom, and
 respond on-line. Your message will be archieved,
 stored, and you won't have
 to reply to the same question anymore. And if you
 want to reply to someone
 on the list, before doing so, check whether the same
 question has already
 been answered on the forum. The more we use it now,
 the less we'll have to
 use it in the future.
 
 Last little question, please, if you see something
 wrong or offensive on the
 forum, please notify
 mailto:[EMAIL PROTECTED], and we'll be
 able to remove it...
 
 Thanks for listening...
 
 Pier
 

---
 This message has been posted through the Jakarta
 Tomcat 4.0 F.A.Q.
 on line forum, and can be seen at:

http://nagoya.apache.org:8080/jive/thread.jsp?forum=1thread=3
 For more informations about the on-line Jakarta
 forums, please go to:
 http://nagoya.apache.org:8080/jive/

---
 
 --
 To 

HELP! - Yes...another Tomcat RMI problem

2001-11-01 Thread David Adams

(Yes, I went through the archives, with no luck)
HI,
Which TOMCAT config files need to be edited in order to use RMI. On JRun, I simply 
provided Java arguments to point to the stub and added a policy to grant socket 
access. It had a fluffy interface, and worked great. Tomcat on the other hand is less 
intuitive.

I have added a grant line for the sockets to the tomcat.policy file, and added the 
path to the stub in the tomcat.sh file. No luck. If I actually include a call to the 
RMI object, it hangs tomcat all together, and I must kill the threads manually and 
then restart it. The call worked great on JRun/Win2k, but on Linux/Tomcat 3.2.2, all 
hell breaks lose. Because of this, I believe that the RMI java code is OK (the fact 
that it worked on JRun), and that it really must be a Tomcat config issue.

Please help! I go live Saturday.

- D



Re: ClassNotFoundException when using war file (Tomcat 3.2.3)

2001-11-01 Thread Abinesh S Puthenpurackal

I got my web application to work in tomcat 4.0.1 (Catalina). In Tomcat 4.0.1, the
order of the contents in the web.xml seems to matter (E.g. All servlet definition
must be before the servlet-mapping etc.). Except for the change in the web.xml,
my war seems to working in Tomcat 4.0.1. This makes me wonder if the feature of
loading the classes from jar files in WEB-INF/lib/ was fully functional in 3.2.3
release at all !!!. Has anyone had any success with this in Tomcat 3.2.3 ?

Thanks

Abi -

Paul DuBois wrote:

 The examples that gets shipped with the tomcat.zip file also uses Web-inf 

 Maybe the developers never used anything but Windows boxes
 (case-insensitive file system)?

 
 [EMAIL PROTECTED] wrote:
 
   I'm new to tomcat but shouldn't it bet WEB-INF?
   isn't it case sensitive?
 
   Scott Archer
   [EMAIL PROTECTED]
 
 
   Abinesh S
   PuthenpurackalTo:
 [EMAIL PROTECTED]
   abinesh.puthenpurackal   cc:
   @sdrc.comSubject:
 ClassNotFoundException when using war file (Tomcat 3.2.3)
 
   10/31/2001 09:45 AM
   Please respond to
   Tomcat Users List
 
 
 
   Hi,
 
   I am trying to use a war which has some jar files in it for my web
   application in tomcat 3.2.3. The war file is structured as follows
 
   WarFile.war
   Web-inf/lib/jarfile1.jar
   Web-inf/lib/jarfile2.jar
   Web-inf/lib/jarfile3.jar
 
   When running the application I get ClassNotFoundException for the
   classes in the jar file. Also I noticed that empty directories (that
   follows my package structure) were created under lib directory. E.g. I
   see the following empty directories
 
   %TOMCAT_HOME%/webapps/webapplication/Web-inf/lib/examples/addressbook/.
 
   A workaround is to place the jar files in the tomcat/lib directory. This
   will result in the the jars to be added to the classpath and everything
   works fine.
 
   I was wondering if anyone knows about a cleaner solution or point out if
   there is something that I need to do to get this working (perhaps
   something in manifest file or web.xml file etc.).
 
   Any help is greatly appreciated.
 
   Thanks,
 
   Abi -
 
   --
   To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
   For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]

 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Newbie-Tomcat3.3+Apache1.3

2001-11-01 Thread Larry Isaacs

If you use the Tomcat 3.3 generated files, it should be as simple
as (excluding acquisition of the mod_jk binary):

1) If you are using *nix, edit TOMCAT_HOME/conf/jk/worker.properties
   to use ps=/ instead of the default ps=\.
2) Start Tomcat with the jkconf option to generate the
   configuration files, found in TOMCAT_HOME/conf/auto.
3) Modify httpd.conf to include the TOMCAT_HOME/conf/auto/mod_jk.conf
   configuration file.
4) Start Tomcat
5) Start Apache

Further custom configuration could involve the files you mention.

Precompiled versions of mod_jk for Linux, Netware, and Windows are
available for download from the site where you got Tomcat 3.3.
mod_jk for other version can be built from the source provided
with the binary release.  It is found in the
TOMCAT_HOME/native/mod_jk/apache1.3 and related directories.

Cheers,
Larry
   

 -Original Message-
 From: Joel [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, November 01, 2001 6:39 AM
 To: [EMAIL PROTECTED]
 Subject: Newbie-Tomcat3.3+Apache1.3
 
 
 Dear,
 
  I am trying to integrate Tomcat 3.3 with Apache 1.3
 
  As per the documentations I assume that following 3 files apart from
 httpd.conf are required for integration
 
 1) server.xml
 2) mod_jk.conf
 3) workers.properties
 
 Are my assumption correct or is there any other files left for config.
 
 Also how to check whether the compiled version of mod_jk is 
 there in my
 system.
 
 Please guide me
 
 Regards
 
 Joel
 
 
 
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Apache 4.0 and Mod_webApp.so

2001-11-01 Thread Nita

Hello pier
I guess u r right...
so any right solution for it uptil now...
Any progress Let me know

The error given is as follows
[Thu Nov 01 20:05:14 2001] [error] Connection conn cannot connect
[Thu Nov 01 20:05:14 2001] [error] Cannot open connection conn
[Thu Nov 01 20:05:42 2001] [error] Web-application not yet deployed
[Thu Nov 01 20:11:38 2001] [error] Web-application not yet deployed



- Original Message -
From: Pier Fumagalli [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, November 01, 2001 6:38 PM
Subject: Re: Apache 4.0 and Mod_webApp.so


 Nita at [EMAIL PROTECTED] wrote:

  The mod.so has been installed and the directive
  LoadModule webapp_module modules/mod_webapp.so along with libapr.dll
has
  been added to modules directory
  The error confg file gives the following error
  [Wed Oct 31 19:13:26 2001] [alert] Apache.exe: Could not determine the
  server's fully qualified domain name, using 127.0.0.1 for ServerName
  [Wed Oct 31 19:13:26 2001] [crit] make_sock: failed to get a socket for
port
  80
  Any idea as to why this happens

 You're lacking the ServerName directive in your httpd.conf (this is not
an
 error of mod_webapp, but of Apache itself).

 Pier


 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




AW: ClassNotFoundException when using war file (Tomcat 3.2.3)

2001-11-01 Thread Elroy, Rebecca


I'm running Tomcat 3.2.3 and am successfully loading classes from jars in
WEB-INF/lib.

-Rebecca-

-Ursprüngliche Nachricht-
Von: Abinesh S Puthenpurackal [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 1. November 2001 15:34
An: Tomcat Users List
Betreff: Re: ClassNotFoundException when using war file (Tomcat 3.2.3)


I got my web application to work in tomcat 4.0.1 (Catalina). In Tomcat
4.0.1, the
order of the contents in the web.xml seems to matter (E.g. All servlet
definition
must be before the servlet-mapping etc.). Except for the change in the
web.xml,
my war seems to working in Tomcat 4.0.1. This makes me wonder if the feature
of
loading the classes from jar files in WEB-INF/lib/ was fully functional in
3.2.3
release at all !!!. Has anyone had any success with this in Tomcat 3.2.3 ?

Thanks

Abi -

Paul DuBois wrote:

 The examples that gets shipped with the tomcat.zip file also uses Web-inf


 Maybe the developers never used anything but Windows boxes
 (case-insensitive file system)?

 
 [EMAIL PROTECTED] wrote:
 
   I'm new to tomcat but shouldn't it bet WEB-INF?
   isn't it case sensitive?
 
   Scott Archer
   [EMAIL PROTECTED]
 
 
   Abinesh S
   PuthenpurackalTo:
 [EMAIL PROTECTED]
   abinesh.puthenpurackal   cc:
   @sdrc.comSubject:
 ClassNotFoundException when using war file (Tomcat 3.2.3)
 
   10/31/2001 09:45 AM
   Please respond to
   Tomcat Users List
 
 
 
   Hi,
 
   I am trying to use a war which has some jar files in it for my web
   application in tomcat 3.2.3. The war file is structured as follows
 
   WarFile.war
   Web-inf/lib/jarfile1.jar
   Web-inf/lib/jarfile2.jar
   Web-inf/lib/jarfile3.jar
 
   When running the application I get ClassNotFoundException for the
   classes in the jar file. Also I noticed that empty directories (that
   follows my package structure) were created under lib directory. E.g. I
   see the following empty directories
 
 
%TOMCAT_HOME%/webapps/webapplication/Web-inf/lib/examples/addressbook/.
 
   A workaround is to place the jar files in the tomcat/lib directory.
This
   will result in the the jars to be added to the classpath and
everything
   works fine.
 
   I was wondering if anyone knows about a cleaner solution or point out
if
   there is something that I need to do to get this working (perhaps
   something in manifest file or web.xml file etc.).
 
   Any help is greatly appreciated.
 
   Thanks,
 
   Abi -
 
   --
   To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
   For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 
 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Repost: Running Tomcat 4.01 as a service on Win2k

2001-11-01 Thread Rida Ligurs

Why not just run the Tomcat 4.0.1 install executable in
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.1/bin/
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.1/bin/ 
 
This installs Tomcat as a service.
 

-Original Message-
From: Andrew Bruno [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 31, 2001 6:59 PM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: RE: Repost: Running Tomcat 4.01 as a service on Win2k


Have a look at 
 
www.vacodi..com/howto/tomcat/iisnt/index.html
http://www.vacodi..com/howto/tomcat/iisnt/index.html 
 
It covers an area on jk_nt_service
 
Goodluck, Andrew

-Original Message- 
From: Joe Niski 
Sent: Thu 01/11/2001 6:22 AM 
To: 'Tomcat Users List' 
Cc: 
Subject: RE: Repost: Running Tomcat 4.01 as a service on Win2k



i got it working, but had to severely rewrite the wrapper.properties for TC
4.0.x - the most significant property was teh bootstratp class:

wrapper.startup_class=org.apache.catalina.startup.Bootstrap


hth,

Joe Niski | Senior Software Engineer/Internet Architect
Nine Dots
503.548.2176
Portland . Irvine . San Francisco . Toronto
[EMAIL PROTECTED]



 -Original Message-
 From: Tarek M. Nabil [ mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] ]
 Sent: Monday, October 29, 2001 6:42 AM
 To: Tomcat-User (E-mail)
 Subject: Repost: Running Tomcat 4.01 as a service on Win2k




 This is a repost as I received no answer at all. I tried searching the
 archives, but it's not such an easy task.

 Is there a way I can run Tomcat 4.01 as a service on win2k, or is this
 feature currently supported for 3.x versions only?
 If there is, I cannot seem to find the jk_nt_service.exe for
 v. 4.01. Or
 is it the same as the one for 3.x? But the old one takes a
 wrapper.properties file which I cannot locate in the 4.01
 installation.

 Thanks in advance for any help.

 Tarek Nabil
 [EMAIL PROTECTED]

 --
 To unsubscribe, e-mail:  
  mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 
 For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Apache 4.0 and Mod_webApp.so

2001-11-01 Thread Pier Fumagalli

Nita at [EMAIL PROTECTED] wrote:

 Hello pier
 I guess u r right...
 so any right solution for it uptil now...
 Any progress Let me know
 
 The error given is as follows
 [Thu Nov 01 20:05:14 2001] [error] Connection conn cannot connect
 [Thu Nov 01 20:05:14 2001] [error] Cannot open connection conn
 [Thu Nov 01 20:05:42 2001] [error] Web-application not yet deployed
 [Thu Nov 01 20:11:38 2001] [error] Web-application not yet deployed

It's hard to say without seeing your HTTPD.CONF... This basically mean that
a connection between Apache and Tomcat cannot be established...
Are you sure you started Tomcat? Are you sure you enabled the Service
name=Tomcat-Apache section in server.xml? Are you sure that your port(s)
in the connector are set up right?

Pier


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Discussion forums

2001-11-01 Thread Smith, Lawrence T (Lance)

Pier,
Great idea with the discussion forums!!
Of course one suggestion:-) how about a general forum area that my not need
to post to the user group but where we could discuss long winded topics
without eating mail bandwidth? Things I am thinking of would be like a
thread on development environments and integration with Tomcat...
Just and idea.
Thanks for all that you do, you have done allot of incredible stuff!
Lance

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Welcome to the Tomcat 4.0 F.A.Q. on-line forum.

2001-11-01 Thread Pier Fumagalli

Mangi, Rick at [EMAIL PROTECTED] wrote:

 Pier,
 
 I don't think this makes a whole lot of sense. I understand the advantages
 of a forum vs. a mailing list, but requiring people to look for a link at
 the bottom and then register to reply... it just ain't gonna happen, and
 you're going to spend a lot of time reminding people to check if it's a
 message from the forum. I'd suggest you filter on the subject fields and
 have an agent subscribed to the mailing list automatically posting the
 messages up there.
 
 Being a realist... I don't see this working.

I said _for the time being_... The agent is on its way (will be probably up
this weekend if I don't go out partying too much, remember? It's halloween).

Feel free not to reply to those messages :)

Pier


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: ClassNotFoundException when using war file (Tomcat 3.2.3)

2001-11-01 Thread Larry Isaacs

So far, I haven't had any fundamental problems with using
jar files in WEB-INF/lib, though there can always be issues.
For example, in Tomcat 3.2.x, there are problems if your
web app wants an XML parser different from the one being
used by the server.

There is one very big difference between Tomcat 3.x and Tomcat 4.x
with respect to class loading.  Tomcat 3.x follows the JDK
behavior where classloaders delegate to their parent classloader
first before searching their own classes.  Tomcat 4.x follows
the recommendation in the Servlet 2.3 spec that classloaders
search their own classes first before delegating.  It is
possible your web application is happier in this latter
environment and needs some work to get it to work in the
former.

Cheers,
Larry

 -Original Message-
 From: Abinesh S Puthenpurackal 
 [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, November 01, 2001 9:34 AM
 To: Tomcat Users List
 Subject: Re: ClassNotFoundException when using war file (Tomcat 3.2.3)
 
 
 I got my web application to work in tomcat 4.0.1 (Catalina). 
 In Tomcat 4.0.1, the
 order of the contents in the web.xml seems to matter (E.g. 
 All servlet definition
 must be before the servlet-mapping etc.). Except for the 
 change in the web.xml,
 my war seems to working in Tomcat 4.0.1. This makes me wonder 
 if the feature of
 loading the classes from jar files in WEB-INF/lib/ was fully 
 functional in 3.2.3
 release at all !!!. Has anyone had any success with this in 
 Tomcat 3.2.3 ?
 
 Thanks
 
 Abi -
 
 Paul DuBois wrote:
 
  The examples that gets shipped with the tomcat.zip file 
 also uses Web-inf 
 
  Maybe the developers never used anything but Windows boxes
  (case-insensitive file system)?
 
  
  [EMAIL PROTECTED] wrote:
  
I'm new to tomcat but shouldn't it bet WEB-INF?
isn't it case sensitive?
  
Scott Archer
[EMAIL PROTECTED]
  
  
Abinesh S
PuthenpurackalTo:
  [EMAIL PROTECTED]
abinesh.puthenpurackal   cc:
@sdrc.comSubject:
  ClassNotFoundException when using war file (Tomcat 3.2.3)
  
10/31/2001 09:45 AM
Please respond to
Tomcat Users List
  
  
  
Hi,
  
I am trying to use a war which has some jar files in it 
 for my web
application in tomcat 3.2.3. The war file is structured 
 as follows
  
WarFile.war
Web-inf/lib/jarfile1.jar
Web-inf/lib/jarfile2.jar
Web-inf/lib/jarfile3.jar
  
When running the application I get 
 ClassNotFoundException for the
classes in the jar file. Also I noticed that empty 
 directories (that
follows my package structure) were created under lib 
 directory. E.g. I
see the following empty directories
  

 %TOMCAT_HOME%/webapps/webapplication/Web-inf/lib/examples/addr
 essbook/.
  
A workaround is to place the jar files in the 
 tomcat/lib directory. This
will result in the the jars to be added to the 
 classpath and everything
works fine.
  
I was wondering if anyone knows about a cleaner 
 solution or point out if
there is something that I need to do to get this 
 working (perhaps
something in manifest file or web.xml file etc.).
  
Any help is greatly appreciated.
  
Thanks,
  
Abi -
  
--
To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
  
  
  --
  To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 
  --
  To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Discussion forums

2001-11-01 Thread Donie Kelly

A great idea. The forum could just be an addition to a bigger site
containing articles and how-to's. This type of information would
automatically help newbies who are struggling with the technology and allow
the forum to discuss more in-depth stuff or particular problems.

Great work though. Keep it up (we're depending on you :)
Donie


-Original Message-
From: Smith, Lawrence T (Lance) [mailto:[EMAIL PROTECTED]]
Sent: 01 November 2001 14:55
To: Tomcat (E-mail)
Subject: Discussion forums


Pier,
Great idea with the discussion forums!!
Of course one suggestion:-) how about a general forum area that my not need
to post to the user group but where we could discuss long winded topics
without eating mail bandwidth? Things I am thinking of would be like a
thread on development environments and integration with Tomcat...
Just and idea.
Thanks for all that you do, you have done allot of incredible stuff!
Lance

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Welcome to the Tomcat 4.0 F.A.Q. on-line forum.

2001-11-01 Thread Pier Fumagalli

Mangi, Rick at [EMAIL PROTECTED] wrote:

 If I'm reading Pier's instructions correctly, then having to check at the
 bottom of a message for a link to tell you that this is a posting from the
 forum and directing you to click on the link and reply at the forum... that
 won't work. 

Nope... You're NOT reading them right (or not all of them). I wrote:

 And PLUS, every message you send thru the web-forum is actually mirrored on
 our mailing list (I'm still figuring out how to do the opposite, but given
 enough brainpower -which I don't have at the moment - I'm sure I can do
 that!)

I'm still figuring out how to do the opposite, means, give me some time...
I think that keeping up with mod_webapp, dealing with the
jakarta-tomcat-services, moving mailing list server and keeping you all
happy is a little _lot_ for 4 days :) :) :)

Pier


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Apache+mod_ssl and Tomcat+ssl

2001-11-01 Thread Adrian . Fortuzi


Hello all

We are using Apache+mod_ssl in DMZ-Internet. 
We have a Firewall between DMZ and our Intranet. 
Tomcat 3.2 is in Intranet installed. Can we have 
Tomcat to perform SSL with Apache-Server too but through a Firewall?
Apache server have to be authenticated through a Certificate 
in order to pass through the internal Firewall.
We want one end-to-end SSL connection between the client
and our Tomcat behind Firewall in Intranet.
 

Any suggestions are welcome.
 
Thanks,
Adrian
 
 
 


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Discussion forums

2001-11-01 Thread Pier Fumagalli

Smith, Lawrence T (Lance) at [EMAIL PROTECTED] wrote:

 Pier,
 Great idea with the discussion forums!!
 Of course one suggestion:-) how about a general forum area that my not need
 to post to the user group but where we could discuss long winded topics
 without eating mail bandwidth? Things I am thinking of would be like a
 thread on development environments and integration with Tomcat...
 Just and idea.
 Thanks for all that you do, you have done allot of incredible stuff!
 Lance

We can discuss that in the About the Jakarta Forums forum :) :) :) This is
not the right place :)

Pier


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: tomcat stand alone and multiple ips.

2001-11-01 Thread Prasanna Uppaladadium

Hello.

I had asked exactly the same question before and I had requested that 
the documentation be updated for Tomcat 3.2.3 (in the 3.2.3 docs, the 
inet option isn't even mentioned). I strongly support the idea that 
this should be part of a FAQ.

Prasanna.

Ilya Goldin wrote:

That's actually possible as well (with Tomcat 4) -- it just 
takes a little more work.  Let's assume that you want the following:

* Host a.mycompany.com answers only on IP address 10.0.0.1 port 8080
* Host b.mycompany.com answers only on IP address 10.0.0.2 port 8080

 
 snip
 
 Craig, thank you! This is exactly what I was looking for. I had it all
 defined exactly as you describe, save for the all-important
 
  Connector port=8080 address=10.0.0.1 .../

 
 Knowing the right answer, I went back and looked this up in the Tomcat
 documenation and sure enough, there it was.
 
 This seems like a scenario that users might encounter frequently. I
 nominate this for a FAQ entry, should anyone be compiling those.
 
 -ig
 
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Welcome to the Tomcat 4.0 F.A.Q. on-line forum.

2001-11-01 Thread Mangi, Rick

Gotcha. I eagerly await the opposite :-)

-Original Message-


I'm still figuring out how to do the opposite, means, give me some time...
I think that keeping up with mod_webapp, dealing with the
jakarta-tomcat-services, moving mailing list server and keeping you all
happy is a little _lot_ for 4 days :) :) :)

Pier


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


This email and any attachments are confidential and may be 
legally privileged. No confidentiality or privilege is waived 
or lost by any transmission in error.  If you are not the 
intended recipient you are hereby notified that any use, 
printing, copying or disclosure is strictly prohibited.  
Please delete this email and any attachments, without 
printing, copying, forwarding or saving them and notify the 
sender immediately by reply e-mail.  Zurich Capital Markets 
and its affiliates reserve the right to monitor all e-mail 
communications through its networks.  Unless otherwise 
stated, any pricing information in this e-mail is indicative 
only, is subject to change and does not constitute an offer 
to enter into any transaction at such price and any terms in 
relation to any proposed transaction are indicative only and 
subject to express final confirmation.

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




bug in Tomcat 3.2.2???

2001-11-01 Thread John_Dove

Hello Apache,


I am a software engineer that works as an Enterprise Support Specialist at
MapInfo Corporation, which
is located in the United States of America.  One of our main products
(MapInfo's MapXtremeJava4.0) ships
with TOMCAT3.2.2, and as of recent, we have been getting *customer
complaints* that this version of
Tomcat (i.e. version 3.2.2) is throwing the following exception for no
apparent reason:


2001-10-31 04:42:40 - ContextManager: SocketException reading request,
ignored - java.net.SocketException: Connection reset by peer
at java.net.PlainSocketImpl.socketAvailable(Native Method)
at java.net.PlainSocketImpl.socketAvailable(Compiled Code)
at java.net.PlainSocketImpl.available(Compiled Code)
at java.net.SocketInputStream.available(Compiled Code)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(Compiled

Code)
at org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled Code)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled
Code)
at java.lang.Thread.run(Compiled Code)

(NOTE: we at MapInfo are able to consistently reproduce this error
ourselves, in our testing lab.)

After researching this exception on the internet, I came across the
following site that appears to be a bug report list hosted
by BugRat, which claims this exception is a bug in the TOMCAT3.2.1
release.  Here's a link to the site that says this:

http://w6.metronet.com/~wjm/tomcat/2001/Jan/msg00721.html


I am writing you in order to confirm that this is indeed a bug.
Specifically, here are my questions:

[1]
Is this a bug in TOMCAT3.2.1???

[2]
Is this a bug in TOMCAT3.2.2???

[3]
If it is a bug, can we safely IGNORE it?
(Or is TOMCAT broken?)

[4]
Lastly, if it is a bug, will there be a PATCH issued?
(Or some type of fix?)


Thank you in advance for any information you can give regarding this
matter.

Sincerely,
John Dove

--
John Dove
MapInfo Corporation


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




TC4, mod_webapp, WebAppDeploy, Path to webapp

2001-11-01 Thread Christian Gothe

Hi!

I seems to me that an application given in the "application name" parameter of 
"WebAppDeploy" must be located in tomcat's webapps directory.
But, how can I use a absolut path in my filesystem instead? 

Example:

WebAppDeploy examples  conn  /examples/

/examples/ must be in TOMCAT_HOME/webapps!

What I would like to have:

WebAppDeploy examples  conn  root/home/user/html

The "WEB-INF" directory is below "html".


My workaround is to set a symbolic link in the "webapps" dir. but that isn't what I 
want. ;-) I like to configure all webapps in httpd.conf


Thanks for all answers,


Christian





--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




receiving requests from remote apache server

2001-11-01 Thread Peter Matulis

Hi gang,

I have always put Apache and Tomcat on the same machine.  Now, I want to
have them live on separate systems.  So my question is, when Apache receives
a request, via mod_jk, how do I direct it to my remote Tomcat server(s)?

Peter

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Welcome to the Tomcat 4.0 F.A.Q. on-line forum.

2001-11-01 Thread Henrik Schultz

What an excellent timing! I just subscribed to the mailing list today, and quickly 
discovered that the traffic volume is quite high. Wondered if there was a discussion 
forum instead - and voila! Your mail popped up!!! Thanks for a great initiative!

Cheers - Henrik

---
This message has been posted through the Jakarta Tomcat 4.0 F.A.Q.
on line forum, and can be seen at:
http://nagoya.apache.org:8080/jive/thread.jsp?forum=1thread=3
For more informations about the on-line Jakarta forums, please go to:
http://nagoya.apache.org:8080/jive/
---

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: TC4, mod_webapp, WebAppDeploy, Path to webapp

2001-11-01 Thread Pier Fumagalli

Christian Gothe at [EMAIL PROTECTED] wrote:

 Hi!
 
 I seems to me that an application given in the application name parameter of
 WebAppDeploy must be located in tomcat's webapps directory.
 But, how can I use a absolut path in my filesystem instead?
 
 Example:
 
 WebAppDeploy examples  conn  /examples/
 
 /examples/ must be in TOMCAT_HOME/webapps!
 
 What I would like to have:
 
 WebAppDeploy examples  conn  root/home/user/html
 
 The WEB-INF directory is below html.
 
 
 My workaround is to set a symbolic link in the webapps dir. but that isn't
 what I want. ;-) I like to configure all webapps in httpd.conf
 
 Thanks for all answers,

It's all the way around... It's
WebAppDeploy /root/home/user/html conn /xxx/

Where /root/home/user/html is the directory on the disk where your
web-application resides, and /xxx/ is the URL path that you will have to put
after your http://myserver/... In your browser's URL (such as
http://server/xxx/ to access the webapp in /root/home/user/html on disk)

BTW, there's a bug in the code distributed with TC4.0.1, make sure you get a
nightly snapshot from http://nagoya.apache.org/~pier/

Pier


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: MySQL jdbc connection url [ + server.xml bug]

2001-11-01 Thread Paul DuBois

At 1:51 PM +0100 11/1/01, Andrius wrote:
Hello,
 What's the correct MySQL jdbc connection url? I'm trying to setup
jdbcRealm on tomcat 4.0.1,
 and using this url pattern :
connectionURL=jdbc:mysql://localhost/authority?user=test;password=test
but it goes wrong - it says Invalid authorization exception: Access
denied for user: 'test;password@host'.
 I've configured server side permissions properly (mySQL accepts using
another client). thanx for any response.

obj.

Only very old versions of the MM.MySQL driver accept ; as a parameter
separator character.  Current versions accept only  as the separator.

If any of the Tomcap developers happen to read this:

Note that the server.xml file that ships with Tomcat 4.0.1 (and probably
earlier versions as well) is mistaken on this point.  The relevant 
section looks
like this:

   !--
   Realm  className=org.apache.catalina.realm.JDBCRealm debug=99
  driverName=org.gjt.mm.mysql.Driver
 
connectionURL=jdbc:mysql://localhost/authority?user=test;password=test
   userTable=users userNameCol=user_name userCredCol=user_pass
   userRoleTable=user_roles roleNameCol=role_name /
   --

The connectionURL line should be fixed to say this instead:

connectionURL=jdbc:mysql://localhost/authority?user=testpassword=test

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Welcome to the Tomcat 4.0 F.A.Q. on-line forum.

2001-11-01 Thread McDowell, Mark

Everyone,

I have a simple question - I've looked in the documentation and can't seem 
to find it.  I'm in the process of trying to use JBoss and Tomcat, and am
poking around with Tomcat and wanted to use the admin pages.  Except...
I have NO IDEA what the user name and password is...  Any help???

mark

-Original Message-
From: Henrik Schultz [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 01, 2001 10:08 AM
To: [EMAIL PROTECTED]
Subject: Re: Welcome to the Tomcat 4.0 F.A.Q. on-line forum.


What an excellent timing! I just subscribed to the mailing list today, and
quickly discovered that the traffic volume is quite high. Wondered if there
was a discussion forum instead - and voila! Your mail popped up!!! Thanks
for a great initiative!

Cheers - Henrik

---
This message has been posted through the Jakarta Tomcat 4.0 F.A.Q.
on line forum, and can be seen at:
http://nagoya.apache.org:8080/jive/thread.jsp?forum=1thread=3
For more informations about the on-line Jakarta forums, please go to:
http://nagoya.apache.org:8080/jive/
---

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Tomcat 4.01/Apache 1.13.22/Mod Webapp

2001-11-01 Thread JS

Okay I'm desparate.  I need help.  You guys have been great, but here's my 
deal:
I have set up Tomcat 4.01 to serve jsp alongside apache.  I'm trying to 
deploy an app that uses jdbc connections to mysql.  I know the connections 
work, but I am having a problem setting up server.xml and web.xml properly to 
stop the IllegalStateException errors my app keeps throwing once it connects 
through jdbc.  Any suggestions?

These are the error messages I get from the logs:
From catalina.out
StandardContext[/osc]: Mapping contextPath='/osc' with 
requestURI='/osc/template_designer/select_category.jsp' and 
relativeURI='/template_designer/select_category.jsp'
StandardContext[/osc]: Decoded 
relativeURI='/template_designer/select_category.jsp'
StandardContext[/osc]:   Trying exact match
StandardContext[/osc]:   Trying prefix match
StandardContext[/osc]:   Trying extension match
StandardContext[/osc]:  Mapped to servlet 'jsp' with servlet path 
'/template_designer/select_category.jsp' and path info 'null' and update=true
JspEngine -- /template_designer/select_category.jsp
 ServletPath: /template_designer/select_category.jsp
PathInfo: null
RealPath: 
/www/htdocs/webapps/osc/template_designer/select_category.jsp
  RequestURI: /osc/template_designer/select_category.jsp
 QueryString: null
  Request Params:
Classpath according to the Servlet Engine is: 
/www/htdocs/webapps/osc/WEB-INF/classes/:/www/htdocs/webapps/osc/WEB-INF/lib/mm.mysql-2.0.4-bin.jar:/www/htdocs/webapps/osc/WEB-INF/lib/mysql.jar:/a/www/tomcat/classes/:/a/www/tomcat/lib/jasper-runtime.jar:/a/www/tomcat/lib/naming-factory.jar:/a/www/tomcat/lib/jasper-compiler.jar:/a/www/tomcat/lib/mm.mysql-2.0.4-bin.jar:/a/www/tomcat/lib/mysql.jar:/a/www/tomcat/common/classes/:/a/www/tomcat/common/lib/mail.jar:/a/www/tomcat/common/lib/naming-common.jar:/a/www/tomcat/common/lib/jta-spec1_0_1.jar:/a/www/tomcat/common/lib/tyrex-0.9.7.0.jar:/a/www/tomcat/common/lib/xerces.jar:/a/www/tomcat/common/lib/activation.jar:/a/www/tomcat/common/lib/naming-resources.jar:/a/www/tomcat/common/lib/servlet.jar:/a/www/tomcat/common/lib/mm.mysql-2.0.4-bin.jar:/a/www/tomcat/common/lib/mysql.jar
Class name is: select_0005fcategory$jsp
StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception




Also, the Scots are said to have invented golf.  Then they had
to invent Scotch whiskey to take away the pain and frustration.

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: admin pages.

2001-11-01 Thread Martin van den Bemt

You have to manually add a user to the tomcat-users.xml file, which has the
admin role.

Mvgr,
Martin

 -Original Message-
 From: McDowell, Mark [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, November 01, 2001 5:14 PM
 To: 'Tomcat Users List'
 Subject: RE: Welcome to the Tomcat 4.0 F.A.Q. on-line forum.


 Everyone,

 I have a simple question - I've looked in the documentation and
 can't seem
 to find it.  I'm in the process of trying to use JBoss and Tomcat, and am
 poking around with Tomcat and wanted to use the admin pages.  Except...
 I have NO IDEA what the user name and password is...  Any help???

 mark

 -Original Message-
 From: Henrik Schultz [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, November 01, 2001 10:08 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Welcome to the Tomcat 4.0 F.A.Q. on-line forum.


 What an excellent timing! I just subscribed to the mailing list today, and
 quickly discovered that the traffic volume is quite high.
 Wondered if there
 was a discussion forum instead - and voila! Your mail popped up!!! Thanks
 for a great initiative!

 Cheers - Henrik

 --
 -
 This message has been posted through the Jakarta Tomcat 4.0 F.A.Q.
 on line forum, and can be seen at:
 http://nagoya.apache.org:8080/jive/thread.jsp?forum=1thread=3
 For more informations about the on-line Jakarta forums, please go to:
 http://nagoya.apache.org:8080/jive/
 --
 -

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Tomcat 4.01/Apache 1.13.22/Mod Webapp

2001-11-01 Thread JS

PS I am clueless on this one guys.
-- 
Someone did a study of the three most-often-heard phrases in New York
City.  One is Hey, taxi.  Two is, What train do I take to get to
Bloomingdale's?  And three is, Don't worry.  It's just a flesh wound.
-- David Letterman

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: receiving requests from remote apache server

2001-11-01 Thread Steve Brunton

Peter Matulis wrote:
 
 Hi gang,
 
 I have always put Apache and Tomcat on the same machine.  Now, I want to
 have them live on separate systems.  So my question is, when Apache receives
 a request, via mod_jk, how do I direct it to my remote Tomcat server(s)?
 


 I would assume that you would change the :

worker.ajp13.host=localhost

from localhost to the remote machine that is now running tomcat in the
workers.properties file that is specfied when you setup mod_jk in the
Apache
config side of things (JkWorkersFile
/opt/tomcat/conf/jk/workers.properties
).


-- 
Steve Brunton   [EMAIL PROTECTED]  Phone: 404-827-2756
Chief Engineer Enterprise SystemsOne CNN Center, Atlanta GA
CNN Internet Technologies  ICBM: 84W 23' 45 33N 45' 29
* When you do a good deed, get a receipt, in case heaven is like the
IRS. *

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: comparison between SERVLET/JSP to Cold Fusion

2001-11-01 Thread Henry

Then is there any existing tag library developed for easy
database IO?  and tools that bound java beans to databases
(not to mention EJB, it can't be used in jsp as  jsp:usebean ... which
will not be useful in developing a pure database website
FAST enough).

also I see that use input in the form of text, checkbox, can all
be saved in a bean in a JSP without anygetParameter()
and any bean.setValue(...).  why there can't be a feature to
set text, checkbox by providing a bean in a JSP?

On Wed, 31 Oct 2001, Pritpal Dhaliwal wrote:

 I think that ColdFusion is more for totally database backed websites.  I
 personally had hard time making a website with coldfusion without using
 database.

 If  there is some computations happening and all that sorts of stuff, I
 would use JSP. If all you have stuff coming straight out of the database,
 going straight into a database, and all you care about is putting your
 database on the web somehow, I would go coldFusion.

 Ofcourse using custom tags, you could get all that ColdFusion has to offer
 in JSP.


 Also to note, I have very little experience with coldFusion but a lot with
 JSP.


 Pritpal Dhaliwal


 -Original Message-
 From: Miao, Franco CAWS:EX [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, October 31, 2001 2:28 PM
 To: 'Tomcat Users List'
 Subject: RE: comparison between SERVLET/JSP to Cold Fusion


 you need to pay thousand bucks for Coldfusion server first, no free server
 in the market like tomcat.

 Coldfusion is great product, it comes with lots feature, unlike Tomcat,
 Coldfusion is a commerical product so you will find great support from
 manufacturer.

 I will say it depenps on what do you want to do with your biz.

 Franco


 -Original Message-
 From: Henry [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, October 31, 2001 2:20 PM
 To: Tomcat Users List
 Subject: comparison between SERVLET/JSP to Cold Fusion


 I am not familiar with cold fusion, but when using html
 can not fulfill our business needs for rich client side
 control (like input masks), does other product has better
 control on the client's side?



 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]



 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: admin pages.

2001-11-01 Thread McDowell, Mark

Thanks!

-Original Message-
From: Martin van den Bemt [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 01, 2001 10:18 AM
To: Tomcat Users List
Subject: RE: admin pages.


You have to manually add a user to the tomcat-users.xml file, which has the
admin role.

Mvgr,
Martin

 -Original Message-
 From: McDowell, Mark [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, November 01, 2001 5:14 PM
 To: 'Tomcat Users List'
 Subject: RE: Welcome to the Tomcat 4.0 F.A.Q. on-line forum.


 Everyone,

 I have a simple question - I've looked in the documentation and
 can't seem
 to find it.  I'm in the process of trying to use JBoss and Tomcat, and am
 poking around with Tomcat and wanted to use the admin pages.  Except...
 I have NO IDEA what the user name and password is...  Any help???

 mark

 -Original Message-
 From: Henrik Schultz [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, November 01, 2001 10:08 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Welcome to the Tomcat 4.0 F.A.Q. on-line forum.


 What an excellent timing! I just subscribed to the mailing list today, and
 quickly discovered that the traffic volume is quite high.
 Wondered if there
 was a discussion forum instead - and voila! Your mail popped up!!! Thanks
 for a great initiative!

 Cheers - Henrik

 --
 -
 This message has been posted through the Jakarta Tomcat 4.0 F.A.Q.
 on line forum, and can be seen at:
 http://nagoya.apache.org:8080/jive/thread.jsp?forum=1thread=3
 For more informations about the on-line Jakarta forums, please go to:
 http://nagoya.apache.org:8080/jive/
 --
 -

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: admin pages.

2001-11-01 Thread McDowell, Mark

I said thanks too soon... :(  I tried adding the admin role to a user
in tomcat-users.xml file, but it seems to make no difference... Is there
a list of predefined roles somewhere?

-Original Message-
From: Martin van den Bemt [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 01, 2001 10:18 AM
To: Tomcat Users List
Subject: RE: admin pages.


You have to manually add a user to the tomcat-users.xml file, which has the
admin role.

Mvgr,
Martin

 -Original Message-
 From: McDowell, Mark [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, November 01, 2001 5:14 PM
 To: 'Tomcat Users List'
 Subject: RE: Welcome to the Tomcat 4.0 F.A.Q. on-line forum.


 Everyone,

 I have a simple question - I've looked in the documentation and
 can't seem
 to find it.  I'm in the process of trying to use JBoss and Tomcat, and am
 poking around with Tomcat and wanted to use the admin pages.  Except...
 I have NO IDEA what the user name and password is...  Any help???

 mark

 -Original Message-
 From: Henrik Schultz [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, November 01, 2001 10:08 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Welcome to the Tomcat 4.0 F.A.Q. on-line forum.


 What an excellent timing! I just subscribed to the mailing list today, and
 quickly discovered that the traffic volume is quite high.
 Wondered if there
 was a discussion forum instead - and voila! Your mail popped up!!! Thanks
 for a great initiative!

 Cheers - Henrik

 --
 -
 This message has been posted through the Jakarta Tomcat 4.0 F.A.Q.
 on line forum, and can be seen at:
 http://nagoya.apache.org:8080/jive/thread.jsp?forum=1thread=3
 For more informations about the on-line Jakarta forums, please go to:
 http://nagoya.apache.org:8080/jive/
 --
 -

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




AW: bug in Tomcat 3.2.2???

2001-11-01 Thread Ralph Einfeldt

If you are using ie check if this might explain your problem:
 
http://www.aswethink.com/employees/randy/tomcat/IOException.html


If so, you can ignore it.

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Gesendet: Donnerstag, 1. November 2001 16:31
 An: [EMAIL PROTECTED]
 Betreff: bug in Tomcat 3.2.2???
 
 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




All Classes in a jar

2001-11-01 Thread Snezhkov, Dimitry

List,

I have tomcat 3.2.3. I was given an application that used to run under Jserv
.All the files in the aplication is in one big Jar file. I assume, this jar
file goes to  WEB-INF/lib
directory ?  How, then, I can describe classes in this jar from web.xml? Do
I need to do this if I don't need any servlet mappings etc. 

For example :SQLrunner.jar is where every class is stored includeing the
one I need to run initially: sqlrunner.Servlet1_sql
I have configured /servletrunner/ to redirect to Tomcat.
However :
I need to be able to run:
http://host/servletrunner/sqlrunner.Servlet1_sql
How do I describe sqlrunner.Servlet1_sql in web.xml



Thanks,

Dimitry.

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: MySQL jdbc connection url [ + server.xml bug]

2001-11-01 Thread David Smith

An additional note on the  character in the connection URL for MySQL...

XML syntax is going to require the  character be encoded as amp; so the 
real URL should loo something like:

jdbc:mysql://localhost/authority?user=testamp;password=test

This is how I had to write it in my server.xml file.  Works like a charm.  
The encoding does not have to be done in regular JSP or java files.  Only XML 
files like server.xml require this.  Everywhere else, just use an  character.

--David Smith

On Thursday 01 November 2001 11:16 am, you wrote:
 At 1:51 PM +0100 11/1/01, Andrius wrote:
 Hello,
  What's the correct MySQL jdbc connection url? I'm trying to setup
 jdbcRealm on tomcat 4.0.1,
  and using this url pattern :
 connectionURL=jdbc:mysql://localhost/authority?user=test;password=test
 but it goes wrong - it says Invalid authorization exception: Access
 denied for user: 'test;password@host'.
  I've configured server side permissions properly (mySQL accepts using
 another client). thanx for any response.
 
 obj.

 Only very old versions of the MM.MySQL driver accept ; as a parameter
 separator character.  Current versions accept only  as the separator.

 If any of the Tomcap developers happen to read this:

 Note that the server.xml file that ships with Tomcat 4.0.1 (and probably
 earlier versions as well) is mistaken on this point.  The relevant
 section looks
 like this:

!--
Realm  className=org.apache.catalina.realm.JDBCRealm debug=99
   driverName=org.gjt.mm.mysql.Driver

 connectionURL=jdbc:mysql://localhost/authority?user=test;password=test
userTable=users userNameCol=user_name
 userCredCol=user_pass userRoleTable=user_roles roleNameCol=role_name
 /
--

 The connectionURL line should be fixed to say this instead:

 connectionURL=jdbc:mysql://localhost/authority?user=testpassword=test

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: admin pages.

2001-11-01 Thread Paul DuBois

I said thanks too soon... :(  I tried adding the admin role to a user
in tomcat-users.xml file, but it seems to make no difference... Is there
a list of predefined roles somewhere?

Why admin?  The role should be manager.  For example:

tomcat-users
   user name=yourname password=yourpass roles=manager /
/tomcat-users

Have a look at:

http://jakarta.apache.org/tomcat/tomcat-4.0-doc/manager-howto.html


-Original Message-
From: Martin van den Bemt [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 01, 2001 10:18 AM
To: Tomcat Users List
Subject: RE: admin pages.


You have to manually add a user to the tomcat-users.xml file, which has the
admin role.

Mvgr,
Martin

  -Original Message-
  From: McDowell, Mark [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, November 01, 2001 5:14 PM
  To: 'Tomcat Users List'
  Subject: RE: Welcome to the Tomcat 4.0 F.A.Q. on-line forum.


  Everyone,

  I have a simple question - I've looked in the documentation and
  can't seem
  to find it.  I'm in the process of trying to use JBoss and Tomcat, and am
  poking around with Tomcat and wanted to use the admin pages.  Except...
  I have NO IDEA what the user name and password is...  Any help???

   mark


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Tomcat 4.01/Apache 1.13.22/Mod Webapp

2001-11-01 Thread Pier Fumagalli

JS at [EMAIL PROTECTED] wrote:

 Okay I'm desparate.  I need help.  You guys have been great, but here's my
 deal:
 I have set up Tomcat 4.01 to serve jsp alongside apache.  I'm trying to
 deploy an app that uses jdbc connections to mysql.  I know the connections
 work, but I am having a problem setting up server.xml and web.xml properly to
 stop the IllegalStateException errors my app keeps throwing once it connects
 through jdbc.  Any suggestions?

It doesn't look like anything is weird with mod_webapp... IMO it's a JSP
issue... Or does that stands out _only_ thru apache, while it works stand
alone?

Pier


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




AW: comparison between SERVLET/JSP to Cold Fusion

2001-11-01 Thread Ralph Einfeldt

As I don't like tags that access the db directly
I won't provide a link (Look on the jakarta site 
for some examples)

If you want to ease the development of db aware 
beans you might want to take a look at:
  http://castor.exolab.org/ 
  http://access1.sun.com/jdo/

 -Ursprüngliche Nachricht-
 Von: Henry [mailto:[EMAIL PROTECTED]]
 Gesendet: Donnerstag, 1. November 2001 17:11
 An: Tomcat Users List
 Betreff: RE: comparison between SERVLET/JSP to Cold Fusion
snip/
 Then is there any existing tag library developed for easy
 database IO?  and tools that bound java beans to databases
 (not to mention EJB, it can't be used in jsp as  jsp:usebean 
 ... which
 will not be useful in developing a pure database website
 FAST enough).
snip/

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




jndi.properties

2001-11-01 Thread Jim Crossley

How do I make the default InitialContext use the jndi.properties in
my application's WEB-INF/classes directory?

I'm using 3.2.2 with the correct Interceptor:
RequestInterceptor className=org.apache.tomcat.request.Jdk12Interceptor /

I'm open to upgrading my Tomcat if that's the only way.

Thanks.

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: MySQL jdbc connection url [ + server.xml bug]

2001-11-01 Thread Paul DuBois

At 11:48 AM -0500 11/1/01, David Smith wrote:
An additional note on the  character in the connection URL for MySQL...

XML syntax is going to require the  character be encoded as amp; so the
real URL should loo something like:

jdbc:mysql://localhost/authority?user=testamp;password=test

This is how I had to write it in my server.xml file.  Works like a charm. 
The encoding does not have to be done in regular JSP or java files.  Only XML
files like server.xml require this.  Everywhere else, just use an  character.

--David Smith

Quite right.  I neglected to mention that.  Thanks for pointing it iout.


On Thursday 01 November 2001 11:16 am, you wrote:
  At 1:51 PM +0100 11/1/01, Andrius wrote:
  Hello,
   What's the correct MySQL jdbc connection url? I'm trying to setup
  jdbcRealm on tomcat 4.0.1,
   and using this url pattern :
  connectionURL=jdbc:mysql://localhost/authority?user=test;password=test
  but it goes wrong - it says Invalid authorization exception: Access
  denied for user: 'test;password@host'.
   I've configured server side permissions properly (mySQL accepts using
  another client). thanx for any response.
  
  obj.

  Only very old versions of the MM.MySQL driver accept ; as a parameter
  separator character.  Current versions accept only  as the separator.

  If any of the Tomcap developers happen to read this:

  Note that the server.xml file that ships with Tomcat 4.0.1 (and probably
  earlier versions as well) is mistaken on this point.  The relevant
  section looks
  like this:

 !--
 Realm  className=org.apache.catalina.realm.JDBCRealm debug=99
driverName=org.gjt.mm.mysql.Driver

  connectionURL=jdbc:mysql://localhost/authority?user=test;password=test
 userTable=users userNameCol=user_name
  userCredCol=user_pass userRoleTable=user_roles roleNameCol=role_name
  /
 --

  The connectionURL line should be fixed to say this instead:

   connectionURL=jdbc:mysql://localhost/authority?user=testpassword=test


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: comparison between SERVLET/JSP to Cold Fusion

2001-11-01 Thread Craig R. McClanahan



On Thu, 1 Nov 2001, Henry wrote:

 Date: Thu, 1 Nov 2001 09:10:30 -0700 (Mountain Standard Time)
 From: Henry [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Subject: RE: comparison between SERVLET/JSP to Cold Fusion

 Then is there any existing tag library developed for easy
 database IO?  and tools that bound java beans to databases
 (not to mention EJB, it can't be used in jsp as  jsp:usebean ... which
 will not be useful in developing a pure database website
 FAST enough).


Why can't you use EJBs?  If they have method signatures that correspond to
JavaBeans properties, they are certainly usable (although you might have
performance issues if the actual EJB is on a different server - there are
good design patterns to deal with this sort of thing).

 also I see that use input in the form of text, checkbox, can all
 be saved in a bean in a JSP without anygetParameter()
 and any bean.setValue(...).  why there can't be a feature to
 set text, checkbox by providing a bean in a JSP?


This is one of the problems that web applications frameworks like Struts
(http://jakarta.apache.org/struts) solves for you -- it includes a rich
custom tag library that makes keeping track of input field contents (and
redisplaying them when a validation error fails) pretty painless.

I also encourage you to do some studying on appropriate design patterns
for web applications built with servlets and JSPs.  Rapid development is
certainly one goal, but building an application that can be maintained and
enhanced later (as well as scales in performance) is also important to
most users.

A book that is on my bookshelf (except when I'm writing an app, where it
is sitting open on my desk :-) is Core J2EE Patterns by Deepak Alur,
John Crupi, and Dan Malks.  It is a tremendously useful catalog of design
patterns -- not only for new apps, but also for consideration when
refactoring old ones.

Craig


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: admin pages.

2001-11-01 Thread Martin van den Bemt

restart tomcat.. ;)) it does not reload the file..
and ehh.. for tomcat 4 it is manager and for tomcat 3 it is tomcat_admin or
tomcat (couldn't get that quite clear, never used it..)

Mvgr,
Martin

 -Original Message-
 From: McDowell, Mark [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, November 01, 2001 5:35 PM
 To: 'Tomcat Users List'
 Subject: RE: admin pages.


 I said thanks too soon... :(  I tried adding the admin role to a user
 in tomcat-users.xml file, but it seems to make no difference... Is there
 a list of predefined roles somewhere?

 -Original Message-
 From: Martin van den Bemt [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, November 01, 2001 10:18 AM
 To: Tomcat Users List
 Subject: RE: admin pages.


 You have to manually add a user to the tomcat-users.xml file,
 which has the
 admin role.

 Mvgr,
 Martin

  -Original Message-
  From: McDowell, Mark [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, November 01, 2001 5:14 PM
  To: 'Tomcat Users List'
  Subject: RE: Welcome to the Tomcat 4.0 F.A.Q. on-line forum.
 
 
  Everyone,
 
  I have a simple question - I've looked in the documentation and
  can't seem
  to find it.  I'm in the process of trying to use JBoss and
 Tomcat, and am
  poking around with Tomcat and wanted to use the admin pages.  Except...
  I have NO IDEA what the user name and password is...  Any help???
 
  mark
 
  -Original Message-
  From: Henrik Schultz [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, November 01, 2001 10:08 AM
  To: [EMAIL PROTECTED]
  Subject: Re: Welcome to the Tomcat 4.0 F.A.Q. on-line forum.
 
 
  What an excellent timing! I just subscribed to the mailing list
 today, and
  quickly discovered that the traffic volume is quite high.
  Wondered if there
  was a discussion forum instead - and voila! Your mail popped
 up!!! Thanks
  for a great initiative!
 
  Cheers - Henrik
 
  --
  -
  This message has been posted through the Jakarta Tomcat 4.0 F.A.Q.
  on line forum, and can be seen at:
  http://nagoya.apache.org:8080/jive/thread.jsp?forum=1thread=3
  For more informations about the on-line Jakarta forums, please go to:
  http://nagoya.apache.org:8080/jive/
  --
  -
 
  --
  To unsubscribe:   mailto:[EMAIL PROTECTED]
  For additional commands: mailto:[EMAIL PROTECTED]
  Troubles with the list: mailto:[EMAIL PROTECTED]
 
  --
  To unsubscribe:   mailto:[EMAIL PROTECTED]
  For additional commands: mailto:[EMAIL PROTECTED]
  Troubles with the list: mailto:[EMAIL PROTECTED]
 
 


 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: chunking

2001-11-01 Thread Doug Davis

Another chunking question...turning allowChunking off
seems to not only turn off tomcat's chunking but it also
makes it so that if I want to do chunking myself (ie. set
the header and chunk the data manually) tomcat seems
to remove my Transfer-Encoding header.  Shouldn't it
just ignore it - and allow me to chunk manually?
-Dug


Craig R. McClanahan [EMAIL PROTECTED]@us.ibm.com on 10/29/2001
12:49:42 PM

Please respond to Tomcat Users List [EMAIL PROTECTED]

Sent by:  [EMAIL PROTECTED]


To:   Tomcat Users List [EMAIL PROTECTED]
cc:
Subject:  Re: chunking



Chunking is a standard feature of the HTTP/1.1 connector that is used by
default in Tomcat 4.  To turn it off, you can set the allowChunking
attribute on the Connector element to false.

For more info, see the Server Configuration docs included with Tomcat, or
look online at:

  http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/http11.html

Craig


On Mon, 29 Oct 2001, Doug Davis wrote:

 Date: Mon, 29 Oct 2001 10:13:45 -0500
 From: Doug Davis [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: chunking

 Forgive me if this has been asked before, but...
 I just started using tomcat 4.0.1 (from 3.1) and I noticed
 a change in http chunking.  In my serlvet I set the
 http header transfer-encoding to chunked and
 then I would have to chunk the data myself ( like other
 web servers I'm using include web sphere).  Now however,
 in 4.0.1 tomcat seems to be chunking the data for me, so
 it gets chunked twice.  My question is, should it be doing
 that?  And is there anyway to turn it off.
 thanks,
 -Dug


 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Tomcat 4.01/Apache 1.13.22/Mod Webapp

2001-11-01 Thread JS

Maybe I should explain it a little better:
My Set up:
server.xml only has a service declared for apache mod_webapp. no stand alone.
apache has WebAppDeploy for the application
I want to be able to run the app from a directory under my apache doc root 
so I have my files under there /www/htdocs/webapp
for some reason, I think because of the way my xml files are configured, the 
app, apache, or tomcat (I don't know which) cannot access all of my class 
files.

On Thursday 01 November 2001 10:46, you wrote:
 JS at [EMAIL PROTECTED] wrote:
  Okay I'm desparate.  I need help.  You guys have been great, but here's
  my deal:
  I have set up Tomcat 4.01 to serve jsp alongside apache.  I'm trying to
  deploy an app that uses jdbc connections to mysql.  I know the
  connections work, but I am having a problem setting up server.xml and
  web.xml properly to stop the IllegalStateException errors my app keeps
  throwing once it connects through jdbc.  Any suggestions?

 It doesn't look like anything is weird with mod_webapp... IMO it's a JSP
 issue... Or does that stands out _only_ thru apache, while it works stand
 alone?

 Pier


 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

-- 
I am, in point of fact, a particularly haughty and exclusive person, of
pre-Adamite ancestral descent.  You will understand this when I tell you
that I can trace my ancestry back to a protoplasmal primordial atomic
globule.  Consequently, my family pride is something inconceivable.  I
can't help it.  I was born sneering.
-- Pooh-Bah, The Mikado

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Java beans

2001-11-01 Thread Craig R. McClanahan

There is no way to help you narrow this down unless you can show us the
exception message and stack traceback that comes up on the error page.
Whatever that problem says is why you got the error 500 page.  It could be
anything from a compilation error on the page itself to a
NullPointerException in your bean code -- there is just no way to know
without seeing the rest of the message.

Craig


On Thu, 1 Nov 2001, Tarwinder Dhak wrote:

 Date: Thu, 1 Nov 2001 09:24:54 -
 From: Tarwinder Dhak [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: 'Tomcat' [EMAIL PROTECTED]
 Subject: Java beans

 Hi all,

 I've got an index servlet the handles the initial request to my web app.
 This servlet creates a session and a bean; this bean is then stored in the
 session scope.  Once this is done, I use a request dispatcher to forward the
 request to a JSP page.  The problem is that when I try to use the bean I
 created in the servlet (using jsp:useBean), I get an internal servlet
 error 500.

 To try to narrow down the problem I removed the bean instantiation from the
 servlet and created it in the JSP page, this works as it should.

 Any ideas ???

 Thanks in advance for you help !!!

 Regards

 Tarwinder Dhak
 [EMAIL PROTECTED]

 Transact Group
 Development

 Legal Disclaimer: Internet email communications are not secure and
 therefore the NetInvest Group does not accept legal responsibility for
 the contents of this message. Any views or opinions presented are solely
 those of the author and do not necessarily represent those of the
 NetInvest Group unless otherwise specifically stated.


 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Filters in Tomcat 4.0

2001-11-01 Thread Craig R. McClanahan



On -1 xxx -1, Donie Kelly wrote:

 From: Donie Kelly [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Filters in Tomcat 4.0

 We have a filter attached to a servlet. Works fine except that on
 initial startup of Tomcat the filter fails to run the first time. It
 works on subsequent requests without problems though.


What does fails to run mean?  Does it throw an exception?

It's difficult to respond to a question like this without a lot more
details.

 Any idea my the first request is a problem?
 Regards
 Donie


Craig


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Multiple instances of tomcat 4

2001-11-01 Thread Hauck, Joe

I am trying to set up Tomcat 4 to run multiple instances.  I have set
the CATALINA_BASE variable to a different path than CATALINA_HOME and
have copied the server.xml file from $CATALINA_HOME/conf to
$CATALINA_BASE/conf.  I have changed the $CATALINA_BASE/conf/server.xml
file so that ports 8XXX are now 9XXX.  I try to run the following:
$CATALINA_HOME/bin/startup.sh -f $CATALINA_BASE/conf/server.xml

Tomcat is not started, and I get the following message in the
$CATALINA_BASE/logs/catalina.out:
usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ]
[ -debug ] [ -nonaming ] { start | stop }

When I startup tomcat normally:
$CATALINA_HOME/bin/startup.sh
Everything works just fine.

If anyone else has been able to set up multiple instances of Tomcat 4,
would you please let me know how?

Thanks.

Joe.

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




jboss-tomcat-apache

2001-11-01 Thread meg

so...
tomcat 4 and apache 1.3 works fine.  jboss 2.4 with embedded tomcat 4 works fine too.  
but the three altogether is bang-head-on-wall matter for me.   either i lose EJBs or i 
lose Apache.  

jboss folks say it's because jboss does not use tomcat's server.xml.  maybe in the 
future, but not soon.

has anyone been able to do a workaround (with or without using embedded tomcat in 
jboss)?

i'm thinking of just running all three separately, writing intermediate classes (yet 
another set of interfaces) that serve as EJB clients that can then be imported into 
JSPs and servlets.  what would be the upside/downside of this?

this is probably a naive question (i don't really know what goes behind the scenes 
with this trio) but how about a tomcat with embedded jboss?

lastly, thanks much for the online forum,
--meg
---
This message has been posted through the Jakarta Tomcat 4.0 F.A.Q.
on line forum, and can be seen at:
http://nagoya.apache.org:8080/jive/thread.jsp?forum=1thread=16
For more informations about the on-line Jakarta forums, please go to:
http://nagoya.apache.org:8080/jive/
---

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Filters in Tomcat 4.0

2001-11-01 Thread Donie Kelly

Sorry Craig but I would have include more information if I had it...
Basically, no exceptions are thrown. It just acts as if the filter is not
there. Subsequent requests work fine.

What more can I say?
Donie


-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: 01 November 2001 16:48
To: Tomcat Users List
Subject: Re: Filters in Tomcat 4.0




On -1 xxx -1, Donie Kelly wrote:

 From: Donie Kelly [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Filters in Tomcat 4.0

 We have a filter attached to a servlet. Works fine except that on
 initial startup of Tomcat the filter fails to run the first time. It
 works on subsequent requests without problems though.


What does fails to run mean?  Does it throw an exception?

It's difficult to respond to a question like this without a lot more
details.

 Any idea my the first request is a problem?
 Regards
 Donie


Craig


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Filters in Tomcat 4.0

2001-11-01 Thread Pier Fumagalli

Craig McClanahan [EMAIL PROTECTED] wrote:

What does fails to run mean?  Does it throw an exception?

It's difficult to respond to a question like this without a lot more
details.

---
This message has been posted through the Jakarta Tomcat 4.0 F.A.Q.
on line forum, and can be seen at:
http://nagoya.apache.org:8080/jive/thread.jsp?forum=1thread=9
For more informations about the on-line Jakarta forums, please go to:
http://nagoya.apache.org:8080/jive/
---

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Filters in Tomcat 4.0

2001-11-01 Thread Pier Fumagalli

Donie Kelly [EMAIL PROTECTED] wrote:

Sorry Craig but I would have include more information if I had it...
Basically, no exceptions are thrown. It just acts as if the filter is not
there. Subsequent requests work fine.

What more can I say?
---
This message has been posted through the Jakarta Tomcat 4.0 F.A.Q.
on line forum, and can be seen at:
http://nagoya.apache.org:8080/jive/thread.jsp?forum=1thread=9
For more informations about the on-line Jakarta forums, please go to:
http://nagoya.apache.org:8080/jive/
---

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




How to set up Tomcat 4.0.x to call EJBs in JBoss 2.4.x

2001-11-01 Thread Janek Bogucki

Help!

I'd like to run Tomcat 4.0.x and JBoss 2.4.x in
separate JVMs on the same machine and have my servlets
access EJBs within JBoss.

How do I set up Tomcat to do this?

I've read lots of posts in various mailing lists on
this but it's still unclear to me.

Is there a HOWTO or manual page for this? I have
looked, I promise.

Many Thanks,
Janek Bogucki



Nokia Game is on again. 
Go to http://uk.yahoo.com/nokiagame/ and join the new
all media adventure before November 3rd.

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: jboss-tomcat-apache

2001-11-01 Thread Parashar, Hitesh

Meg:

We are in a similar situation. We are also trying to use the trio of
Apache+JBoss+Tomcat. Did you try using the bundle of
JBoss-2.4.3_Tomcat-3.2.3 instead of JBoss-2.4.3_Tomcat-4.0? Is
JBoss-2.4.3_Tomcat-3.2.3 bundle more stable than JBoss-2.4.3_Tomcat-4.0?

TIA,

Hitesh.

-Original Message-
From: meg [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 01, 2001 10:23 AM
To: [EMAIL PROTECTED]
Subject: jboss-tomcat-apache


so...
tomcat 4 and apache 1.3 works fine.  jboss 2.4 with embedded tomcat 4 works
fine too.  but the three altogether is bang-head-on-wall matter for me.
either i lose EJBs or i lose Apache.  

jboss folks say it's because jboss does not use tomcat's server.xml.  maybe
in the future, but not soon.

has anyone been able to do a workaround (with or without using embedded
tomcat in jboss)?

i'm thinking of just running all three separately, writing intermediate
classes (yet another set of interfaces) that serve as EJB clients that can
then be imported into JSPs and servlets.  what would be the upside/downside
of this?

this is probably a naive question (i don't really know what goes behind the
scenes with this trio) but how about a tomcat with embedded jboss?

lastly, thanks much for the online forum,
--meg
---
This message has been posted through the Jakarta Tomcat 4.0 F.A.Q.
on line forum, and can be seen at:
http://nagoya.apache.org:8080/jive/thread.jsp?forum=1thread=16
For more informations about the on-line Jakarta forums, please go to:
http://nagoya.apache.org:8080/jive/
---

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




ClassNotFoundException

2001-11-01 Thread Smith, Lawrence T (Lance)

HELP!!! :-)
I am running on win2kpro, java version 1.3.1_01, Apache Tomcat/4.0-b7
I am getting the following stack trace:
java.rmi.ServerException: RemoteException occurred in server thread; nested
exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested
exception is:
java.lang.ClassNotFoundException:
net.jini.lookup.ServiceDiscoveryManager$LookupCacheImplLookupListener_Stub
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception
is:
java.lang.ClassNotFoundException:
net.jini.lookup.ServiceDiscoveryManager$LookupCacheImpl$LookupListener_Stub
java.lang.ClassNotFoundException:
net.jini.lookup.ServiceDiscoveryManager$LookupCacheImpl$LookupListener_Stub
at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteC
all.java:245)
at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
at sun.rmi.server.ActivatableRef.invoke(ActivatableRef.java:120)
at com.sun.jini.reggie.RegistrarImpl_Stub.notify(Unknown Source)
at
com.sun.jini.reggie.RegistrarProxy.notify(RegistrarProxy.java:116)
at
net.jini.lookup.ServiceDiscoveryManager.registerListener(ServiceDiscoveryMan
ager.java:2238)
at
net.jini.lookup.ServiceDiscoveryManager.access$13(ServiceDiscoveryManager.ja
va:2228)
at
net.jini.lookup.ServiceDiscoveryManager$LookupCacheImpl$RegisterListenerTask
.exec(ServiceDiscoveryManager.java:405)
at
net.jini.lookup.ServiceDiscoveryManager$LookupCacheImpl.execTasks(ServiceDis
coveryManager.java:987)
at
net.jini.lookup.ServiceDiscoveryManager$TaskThread.run(ServiceDiscoveryManag
er.java:330)

The jar file that contains the class complained about I have copied into:
   ${TOMCAT_ROOT}/common/lib
   ${TOMCAT_ROOT}/lib
   ${TOMCAT_ROOT}/webapps/app/WEB-INF/lib
and am still getting the exception.
any ideas?
Thanks in advance for any help!
OBTW: this app runs fine under Solaris with the same Tomcat version and just
having the jar file
in ${TOMCAT_ROOT}/webapps/app/WEB-INF/lib
Lance

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Filters in Tomcat 4.0

2001-11-01 Thread Craig R. McClanahan



On Thu, 1 Nov 2001, Donie Kelly wrote:

 Date: Thu, 1 Nov 2001 17:17:42 -
 From: Donie Kelly [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: 'Tomcat Users List' [EMAIL PROTECTED]
 Subject: RE: Filters in Tomcat 4.0

 Sorry Craig but I would have include more information if I had it...
 Basically, no exceptions are thrown. It just acts as if the filter is not
 there. Subsequent requests work fine.

 What more can I say?

That's going to make it really tough to debug :-(.  Especially since all
my filters work first time every time for me.

The next question is, can you create a reproducible test case that you can
submit (with a bug report) that demonstrates the problem actually
occurring?  Ideal would be a really simple webapp with a really simple
filter that has a debug print statement in it's doFilter() method.

 Donie


Craig


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Someone please explain Processes

2001-11-01 Thread David Molloy

Hi,
   Recently my system (SUSE7.2, running Tomcat4.0b6, Oracle8.1.7) has come
crashing down around it's knees a few times, completely locking out all
input, even terminals (gasp horror - restart button needed) - needless to
say it's a big cause of concern.  As a result of the problems I've been
looking at the various programmes running on the machine using top and other
such packages.  The line of concern is the following one:

root  3105   3032018:28   pts/300:00:00  /usr/java/jdk1.3.1/bin
/i386/native_threads/java -Xms12m -Xmx24m -classpath ./../bin/bootstrap.jar:
/usr/local/java/lib/tools.jar:/home/spiderma/webapps/connection/WEB-INF/
classes -Dcatalina.home=./.. org.apache.catalina.startup.Bootstrap start

Other system tools indicate that this is using approximately 2.7MB of system
memory.  This wouldn't be such a concern except there are *43* of these
processes.  However, when I shut down Tomcat I barely free 32MB so it
doesn't seem to be a huge problem.

What I'm wondering is - should there be loads of these processes?  I am
using
a Connection pool (Karl Moss) but it shouldn't be managing anything near
like 43 connections and I'm pretty confused, but this could be it?

The system runs fine most of the time and maybe it's not even this but I'd
love to get the processes thing explained, if only to keep out system
admin happy :)

Thanks in advance,
Dave


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Someone please explain Processes

2001-11-01 Thread Randy Layman

These are threads, not processes, as been explained hundreds of times before
on this list (the archives can be quite handy).  The amount of memory is
what is shared between all of the current threads.

Randy


 -Original Message-
 From: David Molloy [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, November 01, 2001 1:44 PM
 To: Tomcat Users List
 Subject: Someone please explain Processes
 
 
 Hi,
Recently my system (SUSE7.2, running Tomcat4.0b6, 
 Oracle8.1.7) has come
 crashing down around it's knees a few times, completely 
 locking out all
 input, even terminals (gasp horror - restart button needed) - 
 needless to
 say it's a big cause of concern.  As a result of the problems 
 I've been
 looking at the various programmes running on the machine 
 using top and other
 such packages.  The line of concern is the following one:
 
 root  3105   3032018:28   pts/300:00:00  
 /usr/java/jdk1.3.1/bin
 /i386/native_threads/java -Xms12m -Xmx24m -classpath 
 ./../bin/bootstrap.jar:
 /usr/local/java/lib/tools.jar:/home/spiderma/webapps/connectio
 n/WEB-INF/
 classes -Dcatalina.home=./.. 
 org.apache.catalina.startup.Bootstrap start
 
 Other system tools indicate that this is using approximately 
 2.7MB of system
 memory.  This wouldn't be such a concern except there are 
 *43* of these
 processes.  However, when I shut down Tomcat I barely free 32MB so it
 doesn't seem to be a huge problem.
 
 What I'm wondering is - should there be loads of these 
 processes?  I am
 using
 a Connection pool (Karl Moss) but it shouldn't be managing 
 anything near
 like 43 connections and I'm pretty confused, but this could be it?
 
 The system runs fine most of the time and maybe it's not even 
 this but I'd
 love to get the processes thing explained, if only to keep out system
 admin happy :)
 
 Thanks in advance,
 Dave
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: admin pages.

2001-11-01 Thread McDowell, Mark

I have tried manager, tomcat, tomcat_manager and none seem to work.  And
yes, I did restart the server... :)  Any other ideas?  If there is an
area of the documentation which covers this, I'd be GLAD to look at it...
I just didn't find it so far...

Mark

-Original Message-
From: Martin van den Bemt [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 01, 2001 10:46 AM
To: Tomcat Users List
Subject: RE: admin pages.


restart tomcat.. ;)) it does not reload the file..
and ehh.. for tomcat 4 it is manager and for tomcat 3 it is tomcat_admin or
tomcat (couldn't get that quite clear, never used it..)

Mvgr,
Martin

 -Original Message-
 From: McDowell, Mark [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, November 01, 2001 5:35 PM
 To: 'Tomcat Users List'
 Subject: RE: admin pages.


 I said thanks too soon... :(  I tried adding the admin role to a user
 in tomcat-users.xml file, but it seems to make no difference... Is there
 a list of predefined roles somewhere?

 -Original Message-
 From: Martin van den Bemt [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, November 01, 2001 10:18 AM
 To: Tomcat Users List
 Subject: RE: admin pages.


 You have to manually add a user to the tomcat-users.xml file,
 which has the
 admin role.

 Mvgr,
 Martin

  -Original Message-
  From: McDowell, Mark [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, November 01, 2001 5:14 PM
  To: 'Tomcat Users List'
  Subject: RE: Welcome to the Tomcat 4.0 F.A.Q. on-line forum.
 
 
  Everyone,
 
  I have a simple question - I've looked in the documentation and
  can't seem
  to find it.  I'm in the process of trying to use JBoss and
 Tomcat, and am
  poking around with Tomcat and wanted to use the admin pages.  Except...
  I have NO IDEA what the user name and password is...  Any help???
 
  mark
 
  -Original Message-
  From: Henrik Schultz [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, November 01, 2001 10:08 AM
  To: [EMAIL PROTECTED]
  Subject: Re: Welcome to the Tomcat 4.0 F.A.Q. on-line forum.
 
 
  What an excellent timing! I just subscribed to the mailing list
 today, and
  quickly discovered that the traffic volume is quite high.
  Wondered if there
  was a discussion forum instead - and voila! Your mail popped
 up!!! Thanks
  for a great initiative!
 
  Cheers - Henrik
 
  --
  -
  This message has been posted through the Jakarta Tomcat 4.0 F.A.Q.
  on line forum, and can be seen at:
  http://nagoya.apache.org:8080/jive/thread.jsp?forum=1thread=3
  For more informations about the on-line Jakarta forums, please go to:
  http://nagoya.apache.org:8080/jive/
  --
  -
 
  --
  To unsubscribe:   mailto:[EMAIL PROTECTED]
  For additional commands: mailto:[EMAIL PROTECTED]
  Troubles with the list: mailto:[EMAIL PROTECTED]
 
  --
  To unsubscribe:   mailto:[EMAIL PROTECTED]
  For additional commands: mailto:[EMAIL PROTECTED]
  Troubles with the list: mailto:[EMAIL PROTECTED]
 
 


 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Filters in Tomcat 4.0

2001-11-01 Thread paul

your not using a requestdispatcher.forward are you because this does not
trigger
the filters




- Original Message -
From: Donie Kelly [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Thursday, November 01, 2001 5:17 PM
Subject: RE: Filters in Tomcat 4.0


 Sorry Craig but I would have include more information if I had it...
 Basically, no exceptions are thrown. It just acts as if the filter is not
 there. Subsequent requests work fine.

 What more can I say?
 Donie


 -Original Message-
 From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
 Sent: 01 November 2001 16:48
 To: Tomcat Users List
 Subject: Re: Filters in Tomcat 4.0




 On -1 xxx -1, Donie Kelly wrote:

  From: Donie Kelly [EMAIL PROTECTED]
  Reply-To: Tomcat Users List [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: Filters in Tomcat 4.0
 
  We have a filter attached to a servlet. Works fine except that on
  initial startup of Tomcat the filter fails to run the first time. It
  works on subsequent requests without problems though.
 

 What does fails to run mean?  Does it throw an exception?

 It's difficult to respond to a question like this without a lot more
 details.

  Any idea my the first request is a problem?
  Regards
  Donie
 

 Craig


 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: admin pages.

2001-11-01 Thread Craig R. McClanahan

For Tomcat 4 stand-alone, the relevant documentation is the Manager App
HOW-TO that is included in the Tomcat 4 documentation, and is also
available online at:

  http://jakarta.apache.org/tomcat/tomcat-4.0-doc/manager-howto.html

It tells you that the username and password are totally arbitrary, but the
role name Tomcat is looking for is manager.

If you are using Tomcat stand-alone with no changes, you need to define
one or more users with this role in the XML file that Tomcat uses
(conf/tomcat-users.xml).  However, if you have modified the place where
Tomcat looks up users (I don't use the JBoss integration, so I have no
clue what they tell you to do), then you'll need to define a user with the
appropriate role *there* rather than here.

Craig


On Thu, 1 Nov 2001, McDowell, Mark wrote:

 Date: Thu, 1 Nov 2001 12:45:17 -0600
 From: McDowell, Mark [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: 'Tomcat Users List' [EMAIL PROTECTED]
 Subject: RE: admin pages.

 I have tried manager, tomcat, tomcat_manager and none seem to work.  And
 yes, I did restart the server... :)  Any other ideas?  If there is an
 area of the documentation which covers this, I'd be GLAD to look at it...
 I just didn't find it so far...

 Mark

 -Original Message-
 From: Martin van den Bemt [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, November 01, 2001 10:46 AM
 To: Tomcat Users List
 Subject: RE: admin pages.


 restart tomcat.. ;)) it does not reload the file..
 and ehh.. for tomcat 4 it is manager and for tomcat 3 it is tomcat_admin or
 tomcat (couldn't get that quite clear, never used it..)

 Mvgr,
 Martin

  -Original Message-
  From: McDowell, Mark [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, November 01, 2001 5:35 PM
  To: 'Tomcat Users List'
  Subject: RE: admin pages.
 
 
  I said thanks too soon... :(  I tried adding the admin role to a user
  in tomcat-users.xml file, but it seems to make no difference... Is there
  a list of predefined roles somewhere?
 
  -Original Message-
  From: Martin van den Bemt [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, November 01, 2001 10:18 AM
  To: Tomcat Users List
  Subject: RE: admin pages.
 
 
  You have to manually add a user to the tomcat-users.xml file,
  which has the
  admin role.
 
  Mvgr,
  Martin
 
   -Original Message-
   From: McDowell, Mark [mailto:[EMAIL PROTECTED]]
   Sent: Thursday, November 01, 2001 5:14 PM
   To: 'Tomcat Users List'
   Subject: RE: Welcome to the Tomcat 4.0 F.A.Q. on-line forum.
  
  
   Everyone,
  
   I have a simple question - I've looked in the documentation and
   can't seem
   to find it.  I'm in the process of trying to use JBoss and
  Tomcat, and am
   poking around with Tomcat and wanted to use the admin pages.  Except...
   I have NO IDEA what the user name and password is...  Any help???
  
   mark
  
   -Original Message-
   From: Henrik Schultz [mailto:[EMAIL PROTECTED]]
   Sent: Thursday, November 01, 2001 10:08 AM
   To: [EMAIL PROTECTED]
   Subject: Re: Welcome to the Tomcat 4.0 F.A.Q. on-line forum.
  
  
   What an excellent timing! I just subscribed to the mailing list
  today, and
   quickly discovered that the traffic volume is quite high.
   Wondered if there
   was a discussion forum instead - and voila! Your mail popped
  up!!! Thanks
   for a great initiative!
  
   Cheers - Henrik
  
   --
   -
   This message has been posted through the Jakarta Tomcat 4.0 F.A.Q.
   on line forum, and can be seen at:
   http://nagoya.apache.org:8080/jive/thread.jsp?forum=1thread=3
   For more informations about the on-line Jakarta forums, please go to:
   http://nagoya.apache.org:8080/jive/
   --
   -
  
   --
   To unsubscribe:   mailto:[EMAIL PROTECTED]
   For additional commands: mailto:[EMAIL PROTECTED]
   Troubles with the list: mailto:[EMAIL PROTECTED]
  
   --
   To unsubscribe:   mailto:[EMAIL PROTECTED]
   For additional commands: mailto:[EMAIL PROTECTED]
   Troubles with the list: mailto:[EMAIL PROTECTED]
  
  
 
 
  --
  To unsubscribe:   mailto:[EMAIL PROTECTED]
  For additional commands: mailto:[EMAIL PROTECTED]
  Troubles with the list: mailto:[EMAIL PROTECTED]
 
  --
  To unsubscribe:   mailto:[EMAIL PROTECTED]
  For additional commands: mailto:[EMAIL PROTECTED]
  Troubles with the list: mailto:[EMAIL PROTECTED]
 
 


 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: admin pages.

2001-11-01 Thread David Smith

Check the web.xml file in webapps/manager/WEB-INF for which role the manager 
app uses.  The role listed in my install of TC 4.0.1 is manager.  I'd also 
look at the docs at http://jakarta.apache.org for a how-to doc on the 
subject.  I know one exists for TC 4 but I didn't see any mention of the TC 
version you use and yours could be different.

Definitely restart Tomcat if you use the memory realm and edit 
tomcat-users.xml since this file is only read once at startup.

--David Smith


On Thursday 01 November 2001 01:45 pm, you wrote:
 I have tried manager, tomcat, tomcat_manager and none seem to work.  And
 yes, I did restart the server... :)  Any other ideas?  If there is an
 area of the documentation which covers this, I'd be GLAD to look at it...
 I just didn't find it so far...

 Mark

 -Original Message-
 From: Martin van den Bemt [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, November 01, 2001 10:46 AM
 To: Tomcat Users List
 Subject: RE: admin pages.


 restart tomcat.. ;)) it does not reload the file..
 and ehh.. for tomcat 4 it is manager and for tomcat 3 it is tomcat_admin or
 tomcat (couldn't get that quite clear, never used it..)

 Mvgr,
 Martin

  -Original Message-
  From: McDowell, Mark [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, November 01, 2001 5:35 PM
  To: 'Tomcat Users List'
  Subject: RE: admin pages.
 
 
  I said thanks too soon... :(  I tried adding the admin role to a user
  in tomcat-users.xml file, but it seems to make no difference... Is there
  a list of predefined roles somewhere?
 
  -Original Message-
  From: Martin van den Bemt [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, November 01, 2001 10:18 AM
  To: Tomcat Users List
  Subject: RE: admin pages.
 
 
  You have to manually add a user to the tomcat-users.xml file,
  which has the
  admin role.
 
  Mvgr,
  Martin
 
   -Original Message-
   From: McDowell, Mark [mailto:[EMAIL PROTECTED]]
   Sent: Thursday, November 01, 2001 5:14 PM
   To: 'Tomcat Users List'
   Subject: RE: Welcome to the Tomcat 4.0 F.A.Q. on-line forum.
  
  
   Everyone,
  
   I have a simple question - I've looked in the documentation and
   can't seem
   to find it.  I'm in the process of trying to use JBoss and
 
  Tomcat, and am
 
   poking around with Tomcat and wanted to use the admin pages.  Except...
   I have NO IDEA what the user name and password is...  Any help???
  
   mark
  
   -Original Message-
   From: Henrik Schultz [mailto:[EMAIL PROTECTED]]
   Sent: Thursday, November 01, 2001 10:08 AM
   To: [EMAIL PROTECTED]
   Subject: Re: Welcome to the Tomcat 4.0 F.A.Q. on-line forum.
  
  
   What an excellent timing! I just subscribed to the mailing list
 
  today, and
 
   quickly discovered that the traffic volume is quite high.
   Wondered if there
   was a discussion forum instead - and voila! Your mail popped
 
  up!!! Thanks
 
   for a great initiative!
  
   Cheers - Henrik
  
   --
   -
   This message has been posted through the Jakarta Tomcat 4.0 F.A.Q.
   on line forum, and can be seen at:
   http://nagoya.apache.org:8080/jive/thread.jsp?forum=1thread=3
   For more informations about the on-line Jakarta forums, please go to:
   http://nagoya.apache.org:8080/jive/
   --
   -
  
   --
   To unsubscribe:   mailto:[EMAIL PROTECTED]
   For additional commands: mailto:[EMAIL PROTECTED]
   Troubles with the list: mailto:[EMAIL PROTECTED]
  
   --
   To unsubscribe:   mailto:[EMAIL PROTECTED]
   For additional commands: mailto:[EMAIL PROTECTED]
   Troubles with the list: mailto:[EMAIL PROTECTED]
 
  --
  To unsubscribe:   mailto:[EMAIL PROTECTED]
  For additional commands: mailto:[EMAIL PROTECTED]
  Troubles with the list: mailto:[EMAIL PROTECTED]
 
  --
  To unsubscribe:   mailto:[EMAIL PROTECTED]
  For additional commands: mailto:[EMAIL PROTECTED]
  Troubles with the list: mailto:[EMAIL PROTECTED]

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Form authentication/ password changing

2001-11-01 Thread sd7

I'm not sure if this is the right mailing list to post to...

I use form authentication to authenticate certain users to restricted pages.
I also want to let them change their passwords from time to time.
How do I do this ? I'm use a combination of JSP/JavaBean/Servlet technology.

Any help in this matter wud be greatly appreciated.

- Sujay Daniel


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




FW: Please help on integrating Tomcat 4.0/Apache1.3.20

2001-11-01 Thread Bin . Huang




 Hi, Everyone
   I really need your help.
 
   I am new with tomcat/Apache. Recently I am trying to set up these
 system on my PC (NT 4.0 workstation) for development of some projects and
 finally will move everything to a server (most likely W2K).  Because it is
 for development purpose, I'd like to place all my JSP, web pages, servlets
 into a special directory, say D:/exp.  Because I am new for this, I
 downloaded jakarta-tomcat-4.0.exe and
 apache_1.3.20-win32-no_src-r2.msi directly without any background on
 previous release.
 
   I installed Apache first and then Tomcat.  Here is what I did:
 
 1) Add a context to include new path to direct to my exp folder, meanwhile
 keep the default examples.
   edit server.xml file by add a context to Tomcat-standalone service:
 
   context path=/exp docBase=D:\exp
   ...
   /context
 
   and add an engine to Tomcat-Apache service:
 
   Engine className=org.apache.catlina.connector.warp.WarpEngine
 name=Apache debug=0 appBase=D:\exp
   .
   /Engine
 2) downloaded webapp-module-1.0-tc40-windows.zip and unzipped
 
 3) copied mod_webapp.so and libapr.dll to the mdules directory in apache
 
 4) Edit the Apache conf file as follows:
   A. add line LoadModule webapp_module modules/mod_webapp.so below
 all commented lines of LoadModule
   B. add line AddModule mod_app.c below all commented lines of
 AddModule.
   C. run the configure test and can not pass, therefore I commented
 out the lineAddModule mod_app.c and run the test again, 
   the syntax OK;
   D. uncomment the ServerName as ServerName 165.85.221.41
   E. at the end of file, add:
   WebAppConnection warpConnection  warp localhost:8008
   WebAppDeploy examples   warpConnection /examples 
   WebAppDeploy D:/exp  warpConnection /exp
   save, restart tomcat and apache.
 
 5)Here are the test run results/problems:
 
   A. if I call localhost:8080, all JSp and servlet in the examples
 works fine from both host 
   PC and guest PC, the files in D:\exp are readable.
 
   B. if If I call localhost/examples (make request form apache)
 without 
   the line WebAppDeploy exp  warpConnection /exp
 in apache conf file
 
   For host PC, all servlets therein works fine but JSP do not
 go through 
   (error: the system cannot find the path
 specified)
   However, for guest PC, the first request for servlet is fine
 but since then the
server  never reply any more request
 
   C. if I add the line WebAppDeploy D:/exp
 warpConnection /exp to the end of 
   the conf file, the host PC become freeze (very slow for
 every program) that I 
   have to reboot the PC.
 
   Attached are my server.xml file and conf file. I'll appreciate if
 you can give some help to solve the problems.
  server.xml  httpd.conf 
 
 
 Regards,
 
 Bin Huang
 
 
 
   

 server.xml
 httpd.conf

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


Re: Form authentication/ password changing

2001-11-01 Thread Timothy Fisher

The answer will depend on where you are storing your
user credentials (names, and passwords).
Are you using a flat file, LDAP directory, database???

Tim

--- [EMAIL PROTECTED] wrote:
 I'm not sure if this is the right mailing list to
 post to...
 
 I use form authentication to authenticate certain
 users to restricted pages.
 I also want to let them change their passwords from
 time to time.
 How do I do this ? I'm use a combination of
 JSP/JavaBean/Servlet technology.
 
 Any help in this matter wud be greatly appreciated.
 
 - Sujay Daniel
 
 
 --
 To unsubscribe:  
 mailto:[EMAIL PROTECTED]
 For additional commands:
 mailto:[EMAIL PROTECTED]
 Troubles with the list:
 mailto:[EMAIL PROTECTED]
 


__
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: admin pages.

2001-11-01 Thread McDowell, Mark

By the way, I am using Tomcat 3.2.3, downloaded as part of the install
for JBoss...  Does that change anything?

-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 01, 2001 12:55 PM
To: Tomcat Users List
Subject: RE: admin pages.


For Tomcat 4 stand-alone, the relevant documentation is the Manager App
HOW-TO that is included in the Tomcat 4 documentation, and is also
available online at:

  http://jakarta.apache.org/tomcat/tomcat-4.0-doc/manager-howto.html

It tells you that the username and password are totally arbitrary, but the
role name Tomcat is looking for is manager.

If you are using Tomcat stand-alone with no changes, you need to define
one or more users with this role in the XML file that Tomcat uses
(conf/tomcat-users.xml).  However, if you have modified the place where
Tomcat looks up users (I don't use the JBoss integration, so I have no
clue what they tell you to do), then you'll need to define a user with the
appropriate role *there* rather than here.

Craig


On Thu, 1 Nov 2001, McDowell, Mark wrote:

 Date: Thu, 1 Nov 2001 12:45:17 -0600
 From: McDowell, Mark [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: 'Tomcat Users List' [EMAIL PROTECTED]
 Subject: RE: admin pages.

 I have tried manager, tomcat, tomcat_manager and none seem to work.  And
 yes, I did restart the server... :)  Any other ideas?  If there is an
 area of the documentation which covers this, I'd be GLAD to look at it...
 I just didn't find it so far...

 Mark

 -Original Message-
 From: Martin van den Bemt [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, November 01, 2001 10:46 AM
 To: Tomcat Users List
 Subject: RE: admin pages.


 restart tomcat.. ;)) it does not reload the file..
 and ehh.. for tomcat 4 it is manager and for tomcat 3 it is tomcat_admin
or
 tomcat (couldn't get that quite clear, never used it..)

 Mvgr,
 Martin

  -Original Message-
  From: McDowell, Mark [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, November 01, 2001 5:35 PM
  To: 'Tomcat Users List'
  Subject: RE: admin pages.
 
 
  I said thanks too soon... :(  I tried adding the admin role to a user
  in tomcat-users.xml file, but it seems to make no difference... Is there
  a list of predefined roles somewhere?
 
  -Original Message-
  From: Martin van den Bemt [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, November 01, 2001 10:18 AM
  To: Tomcat Users List
  Subject: RE: admin pages.
 
 
  You have to manually add a user to the tomcat-users.xml file,
  which has the
  admin role.
 
  Mvgr,
  Martin
 
   -Original Message-
   From: McDowell, Mark [mailto:[EMAIL PROTECTED]]
   Sent: Thursday, November 01, 2001 5:14 PM
   To: 'Tomcat Users List'
   Subject: RE: Welcome to the Tomcat 4.0 F.A.Q. on-line forum.
  
  
   Everyone,
  
   I have a simple question - I've looked in the documentation and
   can't seem
   to find it.  I'm in the process of trying to use JBoss and
  Tomcat, and am
   poking around with Tomcat and wanted to use the admin pages.
Except...
   I have NO IDEA what the user name and password is...  Any help???
  
   mark
  
   -Original Message-
   From: Henrik Schultz [mailto:[EMAIL PROTECTED]]
   Sent: Thursday, November 01, 2001 10:08 AM
   To: [EMAIL PROTECTED]
   Subject: Re: Welcome to the Tomcat 4.0 F.A.Q. on-line forum.
  
  
   What an excellent timing! I just subscribed to the mailing list
  today, and
   quickly discovered that the traffic volume is quite high.
   Wondered if there
   was a discussion forum instead - and voila! Your mail popped
  up!!! Thanks
   for a great initiative!
  
   Cheers - Henrik
  
   --
   -
   This message has been posted through the Jakarta Tomcat 4.0 F.A.Q.
   on line forum, and can be seen at:
   http://nagoya.apache.org:8080/jive/thread.jsp?forum=1thread=3
   For more informations about the on-line Jakarta forums, please go to:
   http://nagoya.apache.org:8080/jive/
   --
   -
  
   --
   To unsubscribe:   mailto:[EMAIL PROTECTED]
   For additional commands: mailto:[EMAIL PROTECTED]
   Troubles with the list: mailto:[EMAIL PROTECTED]
  
   --
   To unsubscribe:   mailto:[EMAIL PROTECTED]
   For additional commands: mailto:[EMAIL PROTECTED]
   Troubles with the list: mailto:[EMAIL PROTECTED]
  
  
 
 
  --
  To unsubscribe:   mailto:[EMAIL PROTECTED]
  For additional commands: mailto:[EMAIL PROTECTED]
  Troubles with the list: mailto:[EMAIL PROTECTED]
 
  --
  To unsubscribe:   mailto:[EMAIL PROTECTED]
  For additional commands: mailto:[EMAIL PROTECTED]
  Troubles with the list: mailto:[EMAIL PROTECTED]
 
 


 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: 

mod_webapp: index.jsp question

2001-11-01 Thread Thomas Burns

http://host/myapp/index.jsp displays correctly
http://host/myapp/ displays the same index.jsp correctly
However http://host/myapp does not display index.jsp correctly. Instead I get the 404 
error, page not found.

After reviewing the docs I could find, I am left wondering how do I get 
http://host/myapp to display index.jsp?

Thanks,
-Tom Burns
Houston, TX

BTW: I have the following:
latest mod_webapp build (10/31/01)
Tomcat 4.0.1
Apache 1.3

index.jsp is located at /jakarta-root/webapps/myapp/index.jsp
index.jsp is listed in welcome-list in /jakarta-root/webapps/myapp/WEB-INF/web.xml
The entries in httpd.conf look like the following:
#
# webapp: Connector for Jakarta Tomcat 4.0
#
IfModule mod_webapp.c
  WebAppConnection conn  warp localhost:8008
  WebappDeploy examples conn /examples
  WebAppDeploy ems  conn /ems
  WebAppInfo   /webapp-info
/IfModule





RE: admin pages.

2001-11-01 Thread McDowell, Mark

Here's the web.xml for the admin site:
web-app
security-constraint
  web-resource-collection
 web-resource-nameProtected Area/web-resource-name
 url-pattern/contextAdmin/*/url-pattern
 http-methodDELETE/http-method
 http-methodGET/http-method
 http-methodPOST/http-method
 http-methodPUT/http-method
  /web-resource-collection
  auth-constraint
 role-nameadmin/role-name
  /auth-constraint
/security-constraint
login-config
  auth-methodBASIC/auth-method
  realm-nameAdmin/realm-name
/login-config
/web-app
What is the Admin realm?  Is it a database or something?  I've looked in the
config files and not seen it... hm

Mark
-Original Message-
From: McDowell, Mark [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 01, 2001 1:17 PM
To: 'Tomcat Users List'
Subject: RE: admin pages.


By the way, I am using Tomcat 3.2.3, downloaded as part of the install
for JBoss...  Does that change anything?

-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 01, 2001 12:55 PM
To: Tomcat Users List
Subject: RE: admin pages.


For Tomcat 4 stand-alone, the relevant documentation is the Manager App
HOW-TO that is included in the Tomcat 4 documentation, and is also
available online at:

  http://jakarta.apache.org/tomcat/tomcat-4.0-doc/manager-howto.html

It tells you that the username and password are totally arbitrary, but the
role name Tomcat is looking for is manager.

If you are using Tomcat stand-alone with no changes, you need to define
one or more users with this role in the XML file that Tomcat uses
(conf/tomcat-users.xml).  However, if you have modified the place where
Tomcat looks up users (I don't use the JBoss integration, so I have no
clue what they tell you to do), then you'll need to define a user with the
appropriate role *there* rather than here.

Craig


On Thu, 1 Nov 2001, McDowell, Mark wrote:

 Date: Thu, 1 Nov 2001 12:45:17 -0600
 From: McDowell, Mark [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: 'Tomcat Users List' [EMAIL PROTECTED]
 Subject: RE: admin pages.

 I have tried manager, tomcat, tomcat_manager and none seem to work.  And
 yes, I did restart the server... :)  Any other ideas?  If there is an
 area of the documentation which covers this, I'd be GLAD to look at it...
 I just didn't find it so far...

 Mark

 -Original Message-
 From: Martin van den Bemt [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, November 01, 2001 10:46 AM
 To: Tomcat Users List
 Subject: RE: admin pages.


 restart tomcat.. ;)) it does not reload the file..
 and ehh.. for tomcat 4 it is manager and for tomcat 3 it is tomcat_admin
or
 tomcat (couldn't get that quite clear, never used it..)

 Mvgr,
 Martin

  -Original Message-
  From: McDowell, Mark [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, November 01, 2001 5:35 PM
  To: 'Tomcat Users List'
  Subject: RE: admin pages.
 
 
  I said thanks too soon... :(  I tried adding the admin role to a user
  in tomcat-users.xml file, but it seems to make no difference... Is there
  a list of predefined roles somewhere?
 
  -Original Message-
  From: Martin van den Bemt [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, November 01, 2001 10:18 AM
  To: Tomcat Users List
  Subject: RE: admin pages.
 
 
  You have to manually add a user to the tomcat-users.xml file,
  which has the
  admin role.
 
  Mvgr,
  Martin
 
   -Original Message-
   From: McDowell, Mark [mailto:[EMAIL PROTECTED]]
   Sent: Thursday, November 01, 2001 5:14 PM
   To: 'Tomcat Users List'
   Subject: RE: Welcome to the Tomcat 4.0 F.A.Q. on-line forum.
  
  
   Everyone,
  
   I have a simple question - I've looked in the documentation and
   can't seem
   to find it.  I'm in the process of trying to use JBoss and
  Tomcat, and am
   poking around with Tomcat and wanted to use the admin pages.
Except...
   I have NO IDEA what the user name and password is...  Any help???
  
   mark
  
   -Original Message-
   From: Henrik Schultz [mailto:[EMAIL PROTECTED]]
   Sent: Thursday, November 01, 2001 10:08 AM
   To: [EMAIL PROTECTED]
   Subject: Re: Welcome to the Tomcat 4.0 F.A.Q. on-line forum.
  
  
   What an excellent timing! I just subscribed to the mailing list
  today, and
   quickly discovered that the traffic volume is quite high.
   Wondered if there
   was a discussion forum instead - and voila! Your mail popped
  up!!! Thanks
   for a great initiative!
  
   Cheers - Henrik
  
   --
   -
   This message has been posted through the Jakarta Tomcat 4.0 F.A.Q.
   on line forum, and can be seen at:
   http://nagoya.apache.org:8080/jive/thread.jsp?forum=1thread=3
   For more informations about the on-line Jakarta forums, please go to:
   http://nagoya.apache.org:8080/jive/
   

Re: Form authentication/ password changing

2001-11-01 Thread sd7

I use the tomcat-users.xml file to store the user groups. 

Is there a more simple but yet secure way to protect access to pages other than 
form authentication, wherein I dont have to write the code for security.

- Sujay

Quoting Timothy Fisher [EMAIL PROTECTED]:

 The answer will depend on where you are storing your
 user credentials (names, and passwords).
 Are you using a flat file, LDAP directory, database???
 
 Tim
 
 --- [EMAIL PROTECTED] wrote:
  I'm not sure if this is the right mailing list to
  post to...
  
  I use form authentication to authenticate certain
  users to restricted pages.
  I also want to let them change their passwords from
  time to time.
  How do I do this ? I'm use a combination of
  JSP/JavaBean/Servlet technology.
  
  Any help in this matter wud be greatly appreciated.
  
  - Sujay Daniel
  
  
  --
  To unsubscribe:  
  mailto:[EMAIL PROTECTED]
  For additional commands:
  mailto:[EMAIL PROTECTED]
  Troubles with the list:
  mailto:[EMAIL PROTECTED]
  
 
 
 __
 Do You Yahoo!?
 Make a great connection at Yahoo! Personals.
 http://personals.yahoo.com
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 
 


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Nightly mod_webapps Build

2001-11-01 Thread Scott Archer

Where can I find a copy of the Nightly mod_webapps build. (I have looked and looked 
and cannot find it)

I was told it could possibly address the problem listed below.

Thanks


Tomcat 4.01 + Apache 1.3

I have mod_webapps installed, and everything works fine except when I try to use the 
com.oreilly.servlet package to try to upload a file via http.(multipart form) The same 
servlet works fine when connecting directly to tomcat standalone (8080) but when going 
through the apache web server and the mod_webapps
connector I get corrupted files (jpegs).

It sounds very similar to the first bug described here
http://www.servlets.com/soapbox/bugs.html

Is there any way to patch the source or work around this?
(I'm running virutal hosts so i'd like to use the warp connector)

---
This message has been posted through the Jakarta Tomcat 4.0 F.A.Q.
on line forum, and can be seen at:
http://nagoya.apache.org:8080/jive/thread.jsp?forum=1thread=17
For more informations about the on-line Jakarta forums, please go to:
http://nagoya.apache.org:8080/jive/
---

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: admin pages.

2001-11-01 Thread Craig R. McClanahan



On Thu, 1 Nov 2001, McDowell, Mark wrote:

 Date: Thu, 1 Nov 2001 13:37:35 -0600
 From: McDowell, Mark [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: 'Tomcat Users List' [EMAIL PROTECTED]
 Subject: RE: admin pages.

 Here's the web.xml for the admin site:
 web-app
 security-constraint
   web-resource-collection
  web-resource-nameProtected Area/web-resource-name
  url-pattern/contextAdmin/*/url-pattern
http-methodDELETE/http-method
  http-methodGET/http-method
  http-methodPOST/http-method
http-methodPUT/http-method
   /web-resource-collection
   auth-constraint
  role-nameadmin/role-name
   /auth-constraint
 /security-constraint
 login-config
   auth-methodBASIC/auth-method
   realm-nameAdmin/realm-name
 /login-config
 /web-app
 What is the Admin realm?  Is it a database or something?  I've looked in the
 config files and not seen it... hm


The value you specify in the realm-name element is included in the
pop-up dialog box when you use BASIC authentication.  It is used solely to
tell the user what application is asking for the username/password, and
has no connection to anything inside Tomcat.

Users are looked up in whatever users database you have configured for
Tomcat -- the details vary by version, and may be affected by the way
external products choose to package Tomcat.  For Tomcat 4, that is done
with a Realm element -- I'm afraid I don't remember how it was done in
3.2 but there is something similar.

 Mark

Craig

 -Original Message-
 From: McDowell, Mark [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, November 01, 2001 1:17 PM
 To: 'Tomcat Users List'
 Subject: RE: admin pages.


 By the way, I am using Tomcat 3.2.3, downloaded as part of the install
 for JBoss...  Does that change anything?

 -Original Message-
 From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, November 01, 2001 12:55 PM
 To: Tomcat Users List
 Subject: RE: admin pages.


 For Tomcat 4 stand-alone, the relevant documentation is the Manager App
 HOW-TO that is included in the Tomcat 4 documentation, and is also
 available online at:

   http://jakarta.apache.org/tomcat/tomcat-4.0-doc/manager-howto.html

 It tells you that the username and password are totally arbitrary, but the
 role name Tomcat is looking for is manager.

 If you are using Tomcat stand-alone with no changes, you need to define
 one or more users with this role in the XML file that Tomcat uses
 (conf/tomcat-users.xml).  However, if you have modified the place where
 Tomcat looks up users (I don't use the JBoss integration, so I have no
 clue what they tell you to do), then you'll need to define a user with the
 appropriate role *there* rather than here.

 Craig


 On Thu, 1 Nov 2001, McDowell, Mark wrote:

  Date: Thu, 1 Nov 2001 12:45:17 -0600
  From: McDowell, Mark [EMAIL PROTECTED]
  Reply-To: Tomcat Users List [EMAIL PROTECTED]
  To: 'Tomcat Users List' [EMAIL PROTECTED]
  Subject: RE: admin pages.
 
  I have tried manager, tomcat, tomcat_manager and none seem to work.  And
  yes, I did restart the server... :)  Any other ideas?  If there is an
  area of the documentation which covers this, I'd be GLAD to look at it...
  I just didn't find it so far...
 
  Mark
 
  -Original Message-
  From: Martin van den Bemt [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, November 01, 2001 10:46 AM
  To: Tomcat Users List
  Subject: RE: admin pages.
 
 
  restart tomcat.. ;)) it does not reload the file..
  and ehh.. for tomcat 4 it is manager and for tomcat 3 it is tomcat_admin
 or
  tomcat (couldn't get that quite clear, never used it..)
 
  Mvgr,
  Martin
 
   -Original Message-
   From: McDowell, Mark [mailto:[EMAIL PROTECTED]]
   Sent: Thursday, November 01, 2001 5:35 PM
   To: 'Tomcat Users List'
   Subject: RE: admin pages.
  
  
   I said thanks too soon... :(  I tried adding the admin role to a user
   in tomcat-users.xml file, but it seems to make no difference... Is there
   a list of predefined roles somewhere?
  
   -Original Message-
   From: Martin van den Bemt [mailto:[EMAIL PROTECTED]]
   Sent: Thursday, November 01, 2001 10:18 AM
   To: Tomcat Users List
   Subject: RE: admin pages.
  
  
   You have to manually add a user to the tomcat-users.xml file,
   which has the
   admin role.
  
   Mvgr,
   Martin
  
-Original Message-
From: McDowell, Mark [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 01, 2001 5:14 PM
To: 'Tomcat Users List'
Subject: RE: Welcome to the Tomcat 4.0 F.A.Q. on-line forum.
   
   
Everyone,
   
I have a simple question - I've looked in the documentation and
can't seem
to find it.  I'm in the process of trying to use JBoss and
   Tomcat, and am
poking around with Tomcat and wanted to use the admin pages.
 Except...
I have NO IDEA what the user name and password is...  Any help???
   
mark
   

Re: Form authentication/ password changing

2001-11-01 Thread Timothy Fisher

Form-authentication is a good way to go.  Make sure
that the form is submitted over an SSL link.  If not,
you will be submitting the passwords over a clear
channel.

There are more scalable places of storing the user
credentials than in the tomcat-users.xml file.  This
file is mainly intended for demonstration purposes.  A
better solution would store the users in an LDAP
directory or database.  If the users were stored in a
directory or database, than you would just make the
appropriate database/directory calls to update the
users password.

How many users will you have?  If you will only ever
have a small number of users, then the flat file may
be suitable. 

Tim


--- [EMAIL PROTECTED] wrote:
 I use the tomcat-users.xml file to store the user
 groups. 
 
 Is there a more simple but yet secure way to protect
 access to pages other than 
 form authentication, wherein I dont have to write
 the code for security.
 
 - Sujay
 
 Quoting Timothy Fisher [EMAIL PROTECTED]:
 
  The answer will depend on where you are storing
 your
  user credentials (names, and passwords).
  Are you using a flat file, LDAP directory,
 database???
  
  Tim
  
  --- [EMAIL PROTECTED] wrote:
   I'm not sure if this is the right mailing list
 to
   post to...
   
   I use form authentication to authenticate
 certain
   users to restricted pages.
   I also want to let them change their passwords
 from
   time to time.
   How do I do this ? I'm use a combination of
   JSP/JavaBean/Servlet technology.
   
   Any help in this matter wud be greatly
 appreciated.
   
   - Sujay Daniel
   
   
   --
   To unsubscribe:  
  
 mailto:[EMAIL PROTECTED]
   For additional commands:
   mailto:[EMAIL PROTECTED]
   Troubles with the list:
   mailto:[EMAIL PROTECTED]
   
  
  
  __
  Do You Yahoo!?
  Make a great connection at Yahoo! Personals.
  http://personals.yahoo.com
  
  --
  To unsubscribe:  
 mailto:[EMAIL PROTECTED]
  For additional commands:
 mailto:[EMAIL PROTECTED]
  Troubles with the list:
 mailto:[EMAIL PROTECTED]
  
  
 
 
 --
 To unsubscribe:  
 mailto:[EMAIL PROTECTED]
 For additional commands:
 mailto:[EMAIL PROTECTED]
 Troubles with the list:
 mailto:[EMAIL PROTECTED]
 


__
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




mod_webapp

2001-11-01 Thread Martin Mauri

Hi users,

could you tell me where to find information about mod_webapp?

thanks in advance.

Martin


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Tomcat 4.0 and HTTP BASIC auth using LDAP (Netscape Directory Server)

2001-11-01 Thread Parashar, Hitesh

Hi:

We have our existing application running on iPlanet that uses the Netscape
LDAP implementation. We want to migrate that application to Tomcat 4.0 /
Apache. Is there any How-To for establishing HTTP basic auth with LDAP using
Tomcat 4.0/Apache 1.3?

TIA,

Hitesh.

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Does -d64 option for JDK 1.4.0b3 speed up Tomcat at all on Solaris?

2001-11-01 Thread Jonathan Eric Miller

I just installed the latest JDK 1.4 beta and noticed that there is now
64-bit support for Solaris. I noticed that there is a -d64 option in the
java command. Does anyone know if this will speed up the performance of
Tomcat at all, or what advantages it offers in that type of environment if
any?

Jon

# java -showversion
java version 1.4.0-beta3
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta3-b84)
Java HotSpot(TM) Client VM (build 1.4.0-beta3-b84, mixed mode)

Usage: java [-options] class [args...]
   (to execute a class)
   or  java -jar [-options] jarfile [args...]
   (to execute a jar file)

where options include:
-d32
  use a 32-bit data model if available
-d64
  use a 64-bit data model if available
-client   to select the client VM
-server   to select the server VM
-hotspot  is a synonym for the client VM  [deprecated]
  The default VM is client.

-cp -classpath directories and zip/jar files separated by :
  set search path for application classes and resources
-Dname=value
  set a system property
-verbose[:class|gc|jni]
  enable verbose output
-version  print product version and exit
-showversion  print product version and continue
-? -help  print this help message
-Xprint help on non-standard options
-ea[:packagename...|:classname]
-enableassertions[:packagename...|:classname]
  enable assertions
-da[:packagename...|:classname]
-disableassertions[:packagename...|:classname]
  disable assertions
-esa | -enablesystemassertions
  enable system assertions
-dsa | -disablesystemassertions
  disable system assertions



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Form authentication/ password changing

2001-11-01 Thread sd7

Thanks for all the help.

I just have abt 39 users and I cant figure out how to instruct the server to 
use the flat file that has the user/password combinations. Should the flat file 
be necessarily a .xml file ? Isnt saving the password in ascii form less secure 
(?)

Thanks again.

Sujay

Quoting Timothy Fisher [EMAIL PROTECTED]:

 Form-authentication is a good way to go.  Make sure
 that the form is submitted over an SSL link.  If not,
 you will be submitting the passwords over a clear
 channel.
 
 There are more scalable places of storing the user
 credentials than in the tomcat-users.xml file.  This
 file is mainly intended for demonstration purposes.  A
 better solution would store the users in an LDAP
 directory or database.  If the users were stored in a
 directory or database, than you would just make the
 appropriate database/directory calls to update the
 users password.
 
 How many users will you have?  If you will only ever
 have a small number of users, then the flat file may
 be suitable. 
 
 Tim
 
 
 --- [EMAIL PROTECTED] wrote:
  I use the tomcat-users.xml file to store the user
  groups. 
  
  Is there a more simple but yet secure way to protect
  access to pages other than 
  form authentication, wherein I dont have to write
  the code for security.
  
  - Sujay
  
  Quoting Timothy Fisher [EMAIL PROTECTED]:
  
   The answer will depend on where you are storing
  your
   user credentials (names, and passwords).
   Are you using a flat file, LDAP directory,
  database???
   
   Tim
   
   --- [EMAIL PROTECTED] wrote:
I'm not sure if this is the right mailing list
  to
post to...

I use form authentication to authenticate
  certain
users to restricted pages.
I also want to let them change their passwords
  from
time to time.
How do I do this ? I'm use a combination of
JSP/JavaBean/Servlet technology.

Any help in this matter wud be greatly
  appreciated.

- Sujay Daniel


--
To unsubscribe:  
   
  mailto:[EMAIL PROTECTED]
For additional commands:
mailto:[EMAIL PROTECTED]
Troubles with the list:
mailto:[EMAIL PROTECTED]

   
   
   __
   Do You Yahoo!?
   Make a great connection at Yahoo! Personals.
   http://personals.yahoo.com
   
   --
   To unsubscribe:  
  mailto:[EMAIL PROTECTED]
   For additional commands:
  mailto:[EMAIL PROTECTED]
   Troubles with the list:
  mailto:[EMAIL PROTECTED]
   
   
  
  
  --
  To unsubscribe:  
  mailto:[EMAIL PROTECTED]
  For additional commands:
  mailto:[EMAIL PROTECTED]
  Troubles with the list:
  mailto:[EMAIL PROTECTED]
  
 
 
 __
 Do You Yahoo!?
 Make a great connection at Yahoo! Personals.
 http://personals.yahoo.com
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 
 


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Problem with Apache1.3 Tomcat 4.0.1

2001-11-01 Thread Marko Sarunac

Hello

Here is an intro to my system and description of the problem.
Any suggestions/tips are greatelly appreciated

I am running Apache 1.3 on Debian (Woody) and Tomcat 4.0.1 downloaded 
separatelly from jakarta


I have installed and configure Tomcat standalone succesfully.
However please note that my application is moved from webapps to the 
users home directory

server.xml
Host name=mywebsite.com debug=0 appBase=
Valve className=org.apache.catalina.valves.AccessLogValve
directory=logs  prefix=site_access_log. suffix=.txt
pattern=common/
Logger className=org.apache.catalina.logger.FileLogger 
directory=logs  prefix=site_log.
suffix=.txt timestamp=true/
Context path= docBase=/home/username/www/mywebsite.com.war 
debug=0 privileged=true/
/Host

Note how the site is running from the war file (not extracted) and it 
is NOT under webapps folder.

This all work fine until i get to

httpd.conf
VirtualHost *
ServerName mywebsite.com
DocumentRoot /home/username/www/mywebsite.com

DirectoryIndex index.jsp index.html index.htm
ErrorLog /var/log/apache/mywebsite.com-error.log

WebAppConnection warpConnection warp localhost:8008
WebAppDeploy examples warpConnection /examples/  - **
/VirtualHost

What i need to figure out is the WebAppDeploy line.
I notice that it by default points to the webapps folder under tomcat
how can i specify my war file in here?

Also, 
Do i need to specify my host under Service name=Tomcat-Apache as 
well?

Eventually i will not be running anything on :8080


Once again, thanks in advance for all your help

-- 
Marko Sarunac
[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: mod_webapp

2001-11-01 Thread Marko Sarunac

Martin, 

On 
http://jakarta.apache.org/builds/jakarta-tomcat-
4.0/release/v4.0.1/bin/linux/i386/

download and extract the tar file.
in there that is INSTALL.txt that is nice and helpfull

If you are not using linux go to 
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.1/bin/
and click on your OS


Cheers!

 Hi users,
 
 could you tell me where to find information about mod_webapp?
 
 thanks in advance.
 
 Martin
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 
 
 

-- 
Marko Sarunac
[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Form authentication/ password changing

2001-11-01 Thread Timothy Fisher

There is a sample tomcat-users.xml included with
tomcat 4.0 in the conf directory.  Just follow this
format.  Yes, the file must be in this format, unless
you write your own connector.

The server containing the tomcat-users file definitely
must be protected.  Yes, this is less secure than
storing the users/passwords in a directory/database.

Tim

--- [EMAIL PROTECTED] wrote:
 Thanks for all the help.
 
 I just have abt 39 users and I cant figure out how
 to instruct the server to 
 use the flat file that has the user/password
 combinations. Should the flat file 
 be necessarily a .xml file ? Isnt saving the
 password in ascii form less secure 
 (?)
 
 Thanks again.
 
 Sujay
 
 Quoting Timothy Fisher [EMAIL PROTECTED]:
 
  Form-authentication is a good way to go.  Make
 sure
  that the form is submitted over an SSL link.  If
 not,
  you will be submitting the passwords over a clear
  channel.
  
  There are more scalable places of storing the user
  credentials than in the tomcat-users.xml file. 
 This
  file is mainly intended for demonstration
 purposes.  A
  better solution would store the users in an LDAP
  directory or database.  If the users were stored
 in a
  directory or database, than you would just make
 the
  appropriate database/directory calls to update the
  users password.
  
  How many users will you have?  If you will only
 ever
  have a small number of users, then the flat file
 may
  be suitable. 
  
  Tim
  
  
  --- [EMAIL PROTECTED] wrote:
   I use the tomcat-users.xml file to store the
 user
   groups. 
   
   Is there a more simple but yet secure way to
 protect
   access to pages other than 
   form authentication, wherein I dont have to
 write
   the code for security.
   
   - Sujay
   
   Quoting Timothy Fisher [EMAIL PROTECTED]:
   
The answer will depend on where you are
 storing
   your
user credentials (names, and passwords).
Are you using a flat file, LDAP directory,
   database???

Tim

--- [EMAIL PROTECTED] wrote:
 I'm not sure if this is the right mailing
 list
   to
 post to...
 
 I use form authentication to authenticate
   certain
 users to restricted pages.
 I also want to let them change their
 passwords
   from
 time to time.
 How do I do this ? I'm use a combination of
 JSP/JavaBean/Servlet technology.
 
 Any help in this matter wud be greatly
   appreciated.
 
 - Sujay Daniel
 
 
 --
 To unsubscribe:  

  
 mailto:[EMAIL PROTECTED]
 For additional commands:
 mailto:[EMAIL PROTECTED]
 Troubles with the list:

 mailto:[EMAIL PROTECTED]
 


   
 __
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com

--
To unsubscribe:  
  
 mailto:[EMAIL PROTECTED]
For additional commands:
   mailto:[EMAIL PROTECTED]
Troubles with the list:
   mailto:[EMAIL PROTECTED]


   
   
   --
   To unsubscribe:  
  
 mailto:[EMAIL PROTECTED]
   For additional commands:
   mailto:[EMAIL PROTECTED]
   Troubles with the list:
   mailto:[EMAIL PROTECTED]
   
  
  
  __
  Do You Yahoo!?
  Make a great connection at Yahoo! Personals.
  http://personals.yahoo.com
  
  --
  To unsubscribe:  
 mailto:[EMAIL PROTECTED]
  For additional commands:
 mailto:[EMAIL PROTECTED]
  Troubles with the list:
 mailto:[EMAIL PROTECTED]
  
  
 
 
 --
 To unsubscribe:  
 mailto:[EMAIL PROTECTED]
 For additional commands:
 mailto:[EMAIL PROTECTED]
 Troubles with the list:
 mailto:[EMAIL PROTECTED]
 


__
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




  1   2   >