AW: ????: To Sender virus found and action taken.

2002-01-29 Thread Ralph Einfeldt

If whe are talking about the same mail, there happened 
something else:

Someone sent the mail 8:22 GMT without a from header.
There are some mail server and clients that
use the receiver address if no from header is present.
(e.g. Outlook/Exchange show this behaviour)

If you use Outlook have a look at the options for
the mail. (Don't know the english menu entries as I 
have a german vesion. I guess: View-Options)

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Gesendet: Dienstag, 29. Januar 2002 09:08
 An: Fatzhong
 Cc: Tomcat Users List
 Betreff: : To Sender virus found and action taken.
 
 
 HI,
   Someone use my mailbox and send a mail with attach 
 ,this attach have viru inside ,please delete it as soon as 
 you receive it ,do not open it!
 Sorry for this .
 
 你好:
 
有人用我的邮箱发送了一个带毒的附件,请你收到后立刻删除,给你带来的不便,请你原谅。

 
 
 - Original Message - 
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, January 29, 2002 3:23 PM
 Subject: ScanMail Message: To Sender virus found and action taken.
 
 
 ScanMail for Microsoft Exchange has detected virus-infected 
 attachment(s).
 
 Sender = [EMAIL PROTECTED]
 Recipient(s) = [EMAIL PROTECTED]
 Subject = new photos from my party!
 Scanning Time = 01/29/2002 08:23:15
 
 Action on virus found:
 The attachment www.myparty.yahoo.com matched file blocking settings.
 ScanMail has Deleted it. 
 
 ¡¡¡IMPORTANTE!!! SCANMAIL HA DETECTADO UN POSIBLE PROBLEMA DE 
 SEGURIDAD, POR
 FAVOR COMPRUEBE LA EXTENSION DE LOS FICHEROS ADJUNTOS.
 
 



Re: Binary Dist. tomcat 4.01 Win32 can't find jdk on installation

2002-01-29 Thread Galbayar

1. open register editor
2. find JavaSoft folder in SOFTWARE directory
3. find Java Development Kit folder in JavaSoft directory
4. add String key named  CurrentVersion in Java Development Kit folder value
is 1.4
5. add String key named  CurrentVersion in Java Runtime Environment folder
value is 1.4

- Original Message -
From: Tom Bednarz [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, January 29, 2002 15:38
Subject: Re: Binary Dist. tomcat 4.01 Win32 can't find jdk on installation


 Michael,

 It seems very likely that your environment variables exceed the maximum
 allowed bytes. I am not sure but I think it is 4 or 8 KB. Since changing
 the environment variables (such as path, classpath etc) requires a reboot
 for system variables, many software vendors do not properly uninstall
 software and after a while you have a lot of crap in your path variable.
 Clean it up manually (in Control Panel, System Icon, Advanced Tab,
 Environment Variables Button),  reboot your box and it is most likely that
 your JDK is recognised by TOMCAT.

 Thomas


 At 28.01.2002 18:46, you wrote:
 Why would this happen?
 
 When I try to install jakarta-tomcat-4_0_1.exe on my server I receive
this
 error message:
 
 Couldn't find a Java Development Kit installed on this computer. Please
 download on from http://java.sun.com;
 
 This is strange, because there is a jdk installed (how else could JRun be
 running on the server)?
 
 The same happened on my development machine. First I thought, that might
be
 because I have JDK 1.4.0 on my dev machine. But obviously the reason is
 something else.
 
 Can anybody help me?
 
 What is the installation procedure's criteria for a jdk?
 
 Michael Kastner
 
 
 --
 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: Sessions Timeout

2002-01-29 Thread Anja Falkner

Hi Jason,

the session method getMaxInactiveInterval() gives you the time-value, after
that your inactive session is killed. You can change this value in the
web.xml file.


Anja


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




RE: LifecycleException

2002-01-29 Thread Anton Brazhnyk

Hi,

 -Original Message-
 From: Bill Saur [mailto:[EMAIL PROTECTED]]
 Sent: Monday, January 28, 2002 8:29 PM
 To: [EMAIL PROTECTED]
 Subject: RE: LifecycleException
 
 
 Oliver and Anton, I understand the concept of what you are saying but I am
 in need of practical details.  I have checked the server.xml file and the
 ports shown there are the Tomcat defaults - 8005 for shutdown, 
 and 8080 for
 the HTTP port.  How do I go about checking further?  I am not 
 familiar with
 the command netstat -a, is that a Tomcat command?  How do I go about
 implementing this command?  I think you guys are onto something, 

About that netstat command. Its not Tomcat one. Its standard command for
OSes that support TCP/IP. And Win2k surely do, so try
Start - Run - cmd
in the command window
netstat -a
You should see the list of ports your host is listening and so on.
You can try
telnet localhost 8005
and then type there shutdown command from server.xml 
(default is SHUTDOWN, all caps) to stop Tomcat.

And it usually takes some time for Tomcat to stop,
so if you're trying to start it before it released to port you're just getting
what you should get.

 I just need
 some practical elaboration on how to proceed.  Thanks again for 
 your help -
 I am looking to learn from this problem.
 
 Bill Saur
 Spokane, WA
 [EMAIL PROTECTED]
 

Hope it helps.
Anton.

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




AW: gc() and sessions

2002-01-29 Thread Lauer, Oliver

I believe not - it isn't even guaranteed that the vm does gc when you call
gc explicitly within your code.
Oliver 

 AXA eSolutions GmbH
 AXA Konzern AG Germany
 Oliver Lauer 
 Web Architect
 Wörthstraße 34
 D-50668 Köln
 Germany
 Tel.: +49 221 148 31277
 Fax: +49 221 148 43963
 Mobil: +49 179 59 064 59
 e-Mail: [EMAIL PROTECTED]
 _
 


-Ursprüngliche Nachricht-
Von: Pablo Millet [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 29. Januar 2002 09:39
An: Tomcat Users List
Betreff: gc() and sessions


Hi all.

Does garbage collector run automatically when a session set by
setMaxInactiveInterval() times out?

PM




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


--
Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene Information 
nicht rechtsverbindlich. Eine rechtsverbindliche Bestaetigung reichen wir Ihnen gerne 
auf Anforderung in schriftlicher Form nach. Beachten Sie bitte, dass jede Form der 
unautorisierten Nutzung, Veroeffentlichung, Vervielfaeltigung oder Weitergabe des 
Inhalts dieser E-Mail nicht gestattet ist.Diese Nachricht  ist ausschliesslich fuer 
den bezeichneten Adressaten oder dessen Vertreter bestimmt. Sollten Sie nicht der 
vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein, so bitten wir Sie, sich 
mit dem Absender der E-Mail in Verbindung zu setzen.

For legal and security reasons the information provided in this e-mail is not legally 
binding. Upon request we would be pleased to provide you with a legally binding 
confirmation in written form. Any form of unauthorised use, publication, reproduction, 
copying or disclosure of the content of this e-mail is not permitted. This message is 
exclusively for the person addressed or their representative. If you are not the 
intended recipient of this message and its contents, please notify the sender 
immediately.

==


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




AW: gc() and sessions

2002-01-29 Thread Ralph Einfeldt

No, the garbage collector runs whenever the jvm thinks it's needed.

On which information the vm decides if a gc is needed depends on the
vendor and the configuration. (Some newer VM's have configurable modes 
of operation for the garbage collector)

 -Ursprüngliche Nachricht-
 Von: Pablo Millet [mailto:[EMAIL PROTECTED]]
 Gesendet: Dienstag, 29. Januar 2002 09:39
 An: Tomcat Users List
 Betreff: gc() and sessions
snip/ 
 Does garbage collector run automatically when a session set by
 setMaxInactiveInterval() times out?
 
 PM

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




RE: com.oreilly.servlet.MultipartRequest IO Error

2002-01-29 Thread Anton Brazhnyk

Hi,

 -Original Message-
 From: Brian Adams [mailto:[EMAIL PROTECTED]]
 Sent: Monday, January 28, 2002 8:41 PM
 To: 'Tomcat Users List'
 Subject: RE: com.oreilly.servlet.MultipartRequest IO Error
 
 
 I saw it in the past 6 weeks come across the list and I believe 
 it is in the
 Warp connector.  hte guy was saying that the file did not end or 
 start with
 (can't remember which) FF.
 

Yes, it is WARP bug registered at
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3534

 Maybe download from the CVS and build yourself...
 I'm sure someone else will have better memory.
 goodluck,
 B
 
 
 -Original Message-
 From: J S (l) [mailto:[EMAIL PROTECTED]]
 Sent: Monday, January 28, 2002 12:39 PM
 To: Tomcat Users List
 Subject: com.oreilly.servlet.MultipartRequest IO Error
 
 
 Please, anyone with information regarding the following error, either
 post a reply or email me asap.
 
 We are attempting to allow users to upload image files via form on our
 jsp site.  We get the following error upon trying to parse the posted
 data:
 
 java.io.IOException: unexpected end of part
 
 We are running tomcat 4.0.1
 JDK 1.3.1
 modwebApp
 Apache 1.3.22
 
 I have read where this might be a bug with either Tomcat itself or the
 WARP connector, but have been unable to find any responses to the bug
 report.
 Any assistance is greatly appreciated.
 
 J Sears
 
 

Anton

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




Tomcat 3.3a Apache 1.3.22 : Apache not hiding WEB-INF and not using default document (.jsp)

2002-01-29 Thread Elm Gysel

Hello,


Tomcat seems to create all the configuration files as I want them
(with -jkconf) but apache doesn't seem to get them right.
I can browse all my directories through Apache, I can browse WEB-INF without
problem? When I click on a .jsp it goes through Tomcat as its supposed to.

This Tomcat configuration has worked on Apache 1.3.9. I don't know if this
is a Apache problem or a Tomcat problem or my problem :)
Is there a way to get the configuration from Apache at runtime? To see what
he really has loaded in what way?
Here is the file Tomcat generates and the one Apache includes.

IfModule !mod_jk.c
  LoadModule jk_module /usr/lib/apache/1.3/mod_jk-3.3-ap13-noeapi.so
/IfModule

JkWorkersFile /usr/local/jakarta-tomcat-3.3a/conf/jk/workers.properties
JkLogFile /usr/local/jakarta-tomcat-3.3a/logs/mod_jk.log

JkLogLevel emerg


 /examples 

# Static files
Alias /examples /usr/local/jakarta-tomcat-3.3a/webapps/examples

Directory /usr/local/jakarta-tomcat-3.3a/webapps/examples
Options Indexes FollowSymLinks
DirectoryIndex index.jsp index.html index.htm
/Directory


# Deny direct access to WEB-INF and META-INF
#
Location /examples/WEB-INF/*
AllowOverride None
deny from all
/Location

Location /examples/META-INF/*
AllowOverride None
deny from all
/Location

JkMount /examples/servlet/*  ajp13
JkMount /examples/*.jsp ajp13


Thanks for any suggestions.

Elm


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




AW: Tomcat 3.3a Apache 1.3.22 : Apache not hiding WEB-INF and not using default document (.jsp)

2002-01-29 Thread Ralph Einfeldt

Do you mean with 'my directories' and 'WEB-INF'
directories that are in the examples directory ?

If not you must define the Directory and the 
Location tag for your base directory.

 -Ursprüngliche Nachricht-
 Von: Elm Gysel [mailto:[EMAIL PROTECTED]]
 Gesendet: Dienstag, 29. Januar 2002 09:56
 An: Tomcat Users List
 Betreff: Tomcat 3.3a  Apache 1.3.22 : Apache not hiding 
 WEB-INF and not
 using default document (.jsp)
snip/
 I can browse all my directories through Apache, I can browse 
 WEB-INF without
 problem? 
snip/

 Directory /usr/local/jakarta-tomcat-3.3a/webapps/examples
 Options Indexes FollowSymLinks
 DirectoryIndex index.jsp index.html index.htm
 /Directory
 
 
 # Deny direct access to WEB-INF and META-INF
 #
 Location /examples/WEB-INF/*
 AllowOverride None
 deny from all
 /Location
 
 Location /examples/META-INF/*
 AllowOverride None
 deny from all
 /Location
 
 JkMount /examples/servlet/*  ajp13
 JkMount /examples/*.jsp ajp13
 
 
 Thanks for any suggestions.
 
 Elm
 
 
 --
 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]




Using beans, accepting input from form

2002-01-29 Thread Nikola Milutinovic

Hi all.

I have a HTML form which passes it's data to a JSP, which in turn uses a bean to 
collect the data. I have everything worked out, so far, except one field. The filed in 
question is a boolean property and I'm not sure how to achieve that. I have tried the 
following, with no success (this is a simplified version):

public class MyBean {
  int id;
  boolean print;

  public void setId( int nId ) { id = nId; }
  public void setPrint( boolean np ) { print = np; }
};

---

HTML form

form name=test method=post action=test.jsp
  input type=text name=id size=20 maxlength=80 value=1
  input type=radio name=print value=true checked yesbr
  input type=radio name=print value=false no
  input type=submit name=Submit value=Submit
  input type=reset name=Reset value=Reset
/form

---

JSP page

---

jsp:useBean id=dataBean class=MyBean scope=page
  jsp:setProperty name=dataBean property=*/
/jsp:useBean

It appears the print property is not beaing set by this. I could set it by hand, but 
that's not the point.

How to put up to pair HTML Form and a boolean property of a bean?

Nix.



[TC4] Disabling JSP pages in one context only

2002-01-29 Thread chris brown

Hello,

I'd like to disable the jsp servlet for one context only.  This servlet is
declared in the global tomcat web.xml file.  I'd like to disable it in one
specific context only.

However, I don't want to remove it from the global web.xml file and then
copy it to each individual webapp's web.xml (excluding the webapp in which
JSPs should be disabled).  This is impratical, and furthermore reduces the
webapp's portability (as the JSP servlet maps to an implementing class built
in to Tomcat which is unlikely to be available in other deployment
environments.

Thanks for any suggestions,
Christopher Brown



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




Re: Tomcat 3.3a Apache 1.3.22 : Apache not hiding WEB-INF and not using default document (.jsp)

2002-01-29 Thread Elm Gysel


Yes, sorry for being not very clear. I do mean the WEB-INF directorie in the
examples directory. Also on other mappings its not taking index.jsp as
default as defined in the DirectoryIndex for that directory.

But let me do say again that all this worked perfectly with 1.3.9 . I have
also used other versions of Apache with this Tomcat release and it was also
working.

Elm


Do you mean with 'my directories' and 'WEB-INF'
directories that are in the examples directory ?

If not you must define the Directory and the
Location tag for your base directory.

 -Ursprüngliche Nachricht-
 Von: Elm Gysel [mailto:[EMAIL PROTECTED]]
 Gesendet: Dienstag, 29. Januar 2002 09:56
 An: Tomcat Users List
 Betreff: Tomcat 3.3a  Apache 1.3.22 : Apache not hiding
 WEB-INF and not
 using default document (.jsp)
snip/
 I can browse all my directories through Apache, I can browse
 WEB-INF without
 problem?
snip/

 Directory /usr/local/jakarta-tomcat-3.3a/webapps/examples
 Options Indexes FollowSymLinks
 DirectoryIndex index.jsp index.html index.htm
 /Directory


 # Deny direct access to WEB-INF and META-INF
 #
 Location /examples/WEB-INF/*
 AllowOverride None
 deny from all
 /Location

 Location /examples/META-INF/*
 AllowOverride None
 deny from all
 /Location

 JkMount /examples/servlet/*  ajp13
 JkMount /examples/*.jsp ajp13


 Thanks for any suggestions.

 Elm


 --
 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: Tomcat 3.3a Apache 1.3.22 : Apache not hiding WEB-INF and not using default document (.jsp)

2002-01-29 Thread Ralph Einfeldt

To see the some configuration of apache at runtime include the 
following in httpd.conf (If not already there):

LoadModule info_module /apache dir/lib/mod_info.so

IfModule mod_info.c
Location /server-info
SetHandler server-info
/Location
/IfModule

Hit the Url servername/server-info

 -Ursprüngliche Nachricht-
 Von: Elm Gysel [mailto:[EMAIL PROTECTED]]
 Gesendet: Dienstag, 29. Januar 2002 10:17
 An: Tomcat Users List
 Betreff: Re: Tomcat 3.3a  Apache 1.3.22 : Apache not hiding 
 WEB-INF and
 not using default document (.jsp)
 
 
 
 Yes, sorry for being not very clear. I do mean the WEB-INF 
 directorie in the
 examples directory. Also on other mappings its not taking index.jsp as
 default as defined in the DirectoryIndex for that directory.
 
 But let me do say again that all this worked perfectly with 
 1.3.9 . I have
 also used other versions of Apache with this Tomcat release 
 and it was also
 working.
 
 Elm
 
 
 Do you mean with 'my directories' and 'WEB-INF'
 directories that are in the examples directory ?
 
 If not you must define the Directory and the
 Location tag for your base directory.
 
  -Ursprüngliche Nachricht-
  Von: Elm Gysel [mailto:[EMAIL PROTECTED]]
  Gesendet: Dienstag, 29. Januar 2002 09:56
  An: Tomcat Users List
  Betreff: Tomcat 3.3a  Apache 1.3.22 : Apache not hiding
  WEB-INF and not
  using default document (.jsp)
 snip/
  I can browse all my directories through Apache, I can browse
  WEB-INF without
  problem?
 snip/
 
  Directory /usr/local/jakarta-tomcat-3.3a/webapps/examples
  Options Indexes FollowSymLinks
  DirectoryIndex index.jsp index.html index.htm
  /Directory
 
 
  # Deny direct access to WEB-INF and META-INF
  #
  Location /examples/WEB-INF/*
  AllowOverride None
  deny from all
  /Location
 
  Location /examples/META-INF/*
  AllowOverride None
  deny from all
  /Location
 
  JkMount /examples/servlet/*  ajp13
  JkMount /examples/*.jsp ajp13
 
 
  Thanks for any suggestions.
 
  Elm
 
 
  --
  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]




build new mod_webapp

2002-01-29 Thread lars_ake_gentz

hi ml,

i have never build anything i´ve downloaded from a cvs. but i need the
newest mod_webapp to connect apache 1.3.22 with tomcat 4.0.1. I hope there
are some bugs fixed.

I have downloaded the following files from jakarta cvs server:

Makefile.in
Makefile.win
mod_webapp.c

I use win2000Prof. what do i need to build the file??? do i need a
C-Compiler (if yes which one do you prefare?) need anything else ???

sorry for this dummy- questions :-)
i am happy about any tips!

Thanks for any suggestions.

Lars.



Lars Gentz

Katharinenweg 21
27751 Delmenhorst

Fon: (0 42 21) 97 39 73
D2-Fu: (01 72) 8 64 56 67
http://www.larsgentz.de
mailto:[EMAIL PROTECTED]

!!! please don´t attach files with suffix .bat .vbs .exe .cmd ... please use
.zip or .rar instead!!!


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




Re: OT: URL Rewrite and Tag Libs

2002-01-29 Thread Wolfgang Röckelein

Hi,

Craig R. McClanahan wrote:
 Transparent URL rewriting is one of the things that the struts-html tag
 library in Struts does for you.  You can use the tag libraries without
 using the entire application framework (although you'd be well advised to
 look at using that as well).

Reading that I took a look on the struts tag libs. I noticed that some
of them in part duplicate efforts from the JSTL. Is there already a
undertanding how to use Struts and the JSTL together?

Greetings,
  Wolfgang


smime.p7s
Description: S/MIME Cryptographic Signature


RE: Where is wrapper.properties in Tomcat 4.0.1?

2002-01-29 Thread Anton Brazhnyk

Hi,

 -Original Message-
 From: Tom Bednarz [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, January 23, 2002 5:12 PM
 To: Tomcat Users List
 Subject: RE: Where is wrapper.properties in Tomcat 4.0.1?
 
 
 Hi Anton,
 
 No parameter does not work but tomcat /? works. I guess it must 
 be argc  1 
 to get the usage displayed.
 
 Do you know where I can get the sources for the Win32 service code. I am 
 currently writing a library which allows a generic way to implement java 
 programs as Win32 System Services. It seems that TOMCAT uses something 
 similar. It could save me some time if I could look at those sources. (It 
 must be a mixture of Java and C / C++ in conjunction with JNI)
 

I've found a link at tomcat-dev
(JavaService - http://www.alexandriasc.com/software/JavaService/index.html)

 
 Thomas
 

Anton.

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




Webservices with TC / Sun WSDP with TC

2002-01-29 Thread Lauer, Oliver

Hi all, 

I've studied the package and tried some examples. Everything worked fine,
I've even registered with the IBM UDDI and did some lookups, 
but I didn't find anything that tells me how to find something (a service)
within an UDDI (eg. IBM) and to invoke it straightaway ? 

Did I miss something or is the package not suited for that purpose right now
? 

If anybody succeeded in calling a service after a lookup in an UDDI (eg.
IBM) could she/he deliver a code example for that here ?  

Thanx 
Oliver
AXA eSolutions GmbH
 AXA Konzern AG Germany
 Oliver Lauer 
 Web Architect
 Wörthstraße 34
 D-50668 Köln
 Germany
 Tel.: +49 221 148 31277
 Fax: +49 221 148 43963
 Mobil: +49 179 59 064 59
 e-Mail: [EMAIL PROTECTED]
 _
 
 

--
Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene Information 
nicht rechtsverbindlich. Eine rechtsverbindliche Bestaetigung reichen wir Ihnen gerne 
auf Anforderung in schriftlicher Form nach. Beachten Sie bitte, dass jede Form der 
unautorisierten Nutzung, Veroeffentlichung, Vervielfaeltigung oder Weitergabe des 
Inhalts dieser E-Mail nicht gestattet ist.Diese Nachricht  ist ausschliesslich fuer 
den bezeichneten Adressaten oder dessen Vertreter bestimmt. Sollten Sie nicht der 
vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein, so bitten wir Sie, sich 
mit dem Absender der E-Mail in Verbindung zu setzen.

For legal and security reasons the information provided in this e-mail is not legally 
binding. Upon request we would be pleased to provide you with a legally binding 
confirmation in written form. Any form of unauthorised use, publication, reproduction, 
copying or disclosure of the content of this e-mail is not permitted. This message is 
exclusively for the person addressed or their representative. If you are not the 
intended recipient of this message and its contents, please notify the sender 
immediately.

==


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




Re: RE: RE: Unable to load class

2002-01-29 Thread liakim . ladipo

yes, I have done both of these
 have u imported the package 'test', which contains your java classes, in
your jsp ?
also have you kept your java class inside package test ?

Sumit.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 28, 2002 10:45 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: RE: Unable to load class 


the class file is in WEB-INF/classes/test/ however it still doesn't seem to
locate it
 It's certainly because you don't have this class in your web application.
Is your class is timeTag or TimeTag as it should be ???
Your class TimeTag should be placed under your directory
WEB-INF/classes/test/ to be recognized by your server.

arno

 -Message d'origine-
 De:   [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
 Date: lundi 28 janvier 2002 14:38
 À:[EMAIL PROTECTED]
 Objet:Unable to load class 
 
 
 Hi all,
 
 can anyone help?
 
 is there a common reason why a class will fail to load even through I am
able to compile it without any errors??
 
 
 I am new to jsp and I am using the class within a jsp page but I get this
error message Unable to load class test.timeTag
 
 
 
 Liakim
 
 
 
 
 
 
 talk21 your FREE portable and private address on the net at a
Target='_new'
Href='a Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.com/redirect.html?http://www.talk21.com''http://talk21.btopenworld.com/redirect.html?http://www.talk21.com'/ahtt
p://www.talk21.com/a
 
 
 
 --
 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]




talk21 your FREE portable and private address on the net at
a Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://www.talk21.com'http://www.talk21.com/a



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]
The information contained in this e-mail and any files transmitted with it
may be privileged and confidential.  If the reader of this message,
regardless of the address or routing, is not an intended recipient, you are
hereby notified that you have received this transmittal in error and any
review, use, distribution, dissemination or copying is strictly prohibited.
If you have received this message in error, please delete this e-mail and
all files transmitted with it from your system and notify the sender by
reply e-mail or by calling 1-888-338-6076. 

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




talk21 your FREE portable and private address on the net at http://www.talk21.com



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




RE: Sessions Timeout

2002-01-29 Thread Justin Rowles

 Is there a way to configure
 Tomcat to check the expire time against last access time and not
 creation time?

Sessions *are* invalidated when the timeout period has passed without
access.  *Not* when the timeout period has passed from creation.

Justin.
-- 
You're only jealous cos the little penguins are talking to me. 



***
For more information on Ordnance Survey products and services,
visit our web site at http://www.ordnancesurvey.co.uk
***




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




Re: Errors using warp connector

2002-01-29 Thread Jean-Luc BEAUDET

Julien OIX a écrit :

 Donald Lee a écrit :
 
  Hello, I am trying to get the mod_webapp configured and have really been
  goofing it up bigtime.  right now tomcat is inaccessible even when I place
  the :8080 after the server name.
  Has anybody seen this kind of error before?  I am thinking I need to look up
  the source and recompile but I wanted to be sure that was my problem.  Kinda
  looks like it's the least of my problems but I am just guessing here.  If
  anybody can throw me a bone, it would be appreciated.
 
  Here is a section of my error_log:
 
  [Mon Jan 28 21:05:29 2002] [warn] Loaded DSO lib/apache/mod_webapp.so uses
  plain Apache 1.3 API, this module might crash under EAPI! (please recompile
  it with -DEAPI)
  [Mon Jan 28 21:05:29 2002] [error] Connection warpConnection cannot
  connect
  [Mon Jan 28 21:05:29 2002] [error] Cannot open connection warpConnection
  [Mon Jan 28 21:05:29 2002] [notice] Apache-AdvancedExtranetServer/1.3.20
  (Mandrake Linux/3mdk) mod_ssl/2.8.4 OpenSSL/0.9.6b configured -- resuming
  normal operations
  [Mon Jan 28 21:05:29 2002] [notice] suEXEC mechanism enabled (wrapper:
  /usr/sbin/suexec)
  [Mon Jan 28 21:05:29 2002] [error] Connection warpConnection cannot
  connect
  [Mon Jan 28 21:05:29 2002] [error] Cannot open connection warpConnection
  [Mon Jan 28 21:05:29 2002] [error] Connection warpConnection cannot
  connect
  [Mon Jan 28 21:05:29 2002] [error] Cannot open connection warpConnection
  [Mon Jan 28 21:05:29 2002] [error] Connection warpConnection cannot
  connect
  [Mon Jan 28 21:05:29 2002] [error] Cannot open connection warpConnection
  [Mon Jan 28 21:05:42 2002] [error] Connection warpConnection cannot
  connect
  [Mon Jan 28 21:05:42 2002] [error] Cannot open connection warpConnection
  [Mon Jan 28 21:05:43 2002] [error] Connection warpConnection cannot
  connect
  [Mon Jan 28 21:05:43 2002] [error] Cannot open connection warpConnection
  [Mon Jan 28 21:05:43 2002] [error] Connection warpConnection cannot
  connect
  [Mon Jan 28 21:05:43 2002] [error] Cannot open connection warpConnection
  [Mon Jan 28 21:05:44 2002] [error] Connection warpConnection cannot
  connect
  [Mon Jan 28 21:05:44 2002] [error] Cannot open connection warpConnection
  [Mon Jan 28 21:05:44 2002] [error] Connection warpConnection cannot
  connect
  [Mon Jan 28 21:05:44 2002] [error] Cannot open connection warpConnection
  [Mon Jan 28 21:05:44 2002] [error] Connection warpConnection cannot
  connect
  [Mon Jan 28 21:05:44 2002] [error] Cannot open connection warpConnection
  [Mon Jan 28 21:05:44 2002] [error] Connection warpConnection cannot
  connect
  [Mon Jan 28 21:05:44 2002] [error] Cannot open connection warpConnection
  [Mon Jan 28 21:10:24 2002] [notice] caught SIGTERM, shutting down
 
  this is setup at the top of my httpd.conf file
  ServerType standalone
  ServerRoot /etc/httpd
  ServerName lnxwebsvr
  PidFile /var/run/httpd.pid
  ScoreBoardFile /etc/httpd/httpd.scoreboard
  ErrorLog logs/error_log
  LogLevel warn
  ResourceConfig /dev/null
  AccessConfig /dev/null
 
  I have this configured at the bottom of my httpd.conf:
 
  LoadModule webapp_module lib/apache/mod_webapp.so
  WebAppConnection warpConnection warp localhost:8008
  WebAppDeploy examples warpConnection /examples/
  WebAppDeploy Guestbook warpConnection /Guestbook/
 
  I am getting this in catalina.out. I am not sure what address the error is
  referring to.
 
  - Root Cause -
  java.net.BindException: Address already in use
  at java.net.PlainSocketImpl.socketBind(Native Method)
  at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:452)
  at java.net.ServerSocket.init(ServerSocket.java:170)
  at java.net.ServerSocket.init(ServerSocket.java:121)
  at
  
org.apache.catalina.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:118)
  at
  org.apache.catalina.connector.warp.WarpConnector.initialize(WarpConnector.java:477)
  at
  org.apache.catalina.core.StandardService.initialize(StandardService.java:454)
  at
  org.apache.catalina.core.StandardServer.initialize(StandardServer.java:552)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:775)
  at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
  at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
  at java.lang.reflect.Method.invoke(Native Method)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
  Catalina.stop: LifecycleException:  This server has not yet been started
  LifecycleException:  This server has not yet been started
  at org.apache.catalina.core.StandardServer.stop(StandardServer.java:526)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:794)
  at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
  at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
  at 

RE: Sessions Timeout

2002-01-29 Thread Justin Rowles

 the session method getMaxInactiveInterval() gives you the 
 time-value, after
 that your inactive session is killed. You can change this value in the
 web.xml file.

Or in the jsp - request.getSession.setMaxInactiveInterval(time in
seconds).

J.
-- 
You're only jealous cos the little penguins are talking to me. 



***
For more information on Ordnance Survey products and services,
visit our web site at http://www.ordnancesurvey.co.uk
***




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




AW: Ap 1.3.22+TC 4.0.1+NT4+webapp=Hangs loading graphics

2002-01-29 Thread lars_ake_gentz

hi,

i would like to help you... and i have ms Visual studio... but wich files do
i need
to build the mod_webapp.so for win??? i have the same problems:-( i have
never worked with source code... i have downloaded the following files:
Makefile.in
Makefile.win
mod_webapp.c
when starting mod_webapp.c in ms Visual studio and i click on compile i
get an error:
Include file could not be found fatal error: c1083 httpd.h

where can i find the httpd.h file??? wich file do i need else???

thanx

lars.


-Ursprungliche Nachricht-
Von: Brian Adams [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 29. Januar 2002 04:52
An: Tomcat Users List
Betreff: RE: Ap 1.3.22+TC 4.0.1+NT4+webapp=Hangs loading graphics


yep, wich I could help but I don't have MS Visual Studio.

CAN SOMEONE HELP PLEASE?  (not shouting just getting attention)  :)

We need mod_webapp.so for Windows and it has to be newer than the download
we can already get.
Has someone built it from CVS?
Thanks for the help folks,
B
good luck dennis!
In the mean time you should be able to run tomcat as a stand alone server
(port 8080) and get some work done.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Monday, January 28, 2002 9:19 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: Ap 1.3.22+TC 4.0.1+NT4+webapp=Hangs loading graphics


bigb,

I tried TC 4.0.2-b2, but the same thing happened.  Looks like I
could use an already-built mod_webapp.c (or whatever else I might
need for this version, if someone could provide it), as I'm not
up to doing that yet.  Thanks.

Dennis

-Original Message-
From: Dennis.Johnson [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 28, 2002 6:31 PM
To: bigb; tomcat-user
Subject: RE: Ap 1.3.22+TC 4.0.1+NT4+webapp=Hangs loading graphics


Thanks.  Will get right on it...

-Original Message-
From: bigb [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 28, 2002 6:30 PM
To: tomcat-user
Subject: RE: Ap 1.3.22+TC 4.0.1+NT4+webapp=Hangs loading graphics


try just tomcat 4.0.2-2b (does not matter zip exe) by its self and see
if it
fixes it.  I am not sure if it is the warp.jar or if the bug was in
mod_webapp.so.
I would try the new tomcat alone and see.
if not you'll have to download the mod_webapp.c and build it or ask some

one
to give you theirs.
let us know what you find. maybe I will bump up to 4.0.2-2b

B
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Monday, January 28, 2002 8:23 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: Ap 1.3.22+TC 4.0.1+NT4+webapp=Hangs loading graphics


bigb,

Thanks for the reply.  Just to clarify...

You're suggesting that I install Tomcat 4.0.2-2b from
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.2-b2/bin/,
correct?  If so, is there a preference between the exe and zip?  Also, I
noticed that there's no /bin/win32 with a mod_webapp to download for
this
version.  Do I just keep the webapp-module-1.0-tc40-windows versions of
mod_webapp.so and libapr.dll that came with TC 4.0.1?  Please advise.

Thanks.

Dennis

-Original Message-
From: bigb [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 28, 2002 6:05 PM
To: tomcat-user
Subject: RE: Ap 1.3.22+TC 4.0.1+NT4+webapp=Hangs loading graphics


bug in Warp connector.
If you need to use webapp then maybe download 4.0.2b  and try that.
I know folks checked it out of cvs a month ago and it worked.
good luck,
B


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Monday, January 28, 2002 7:56 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Ap 1.3.22+TC 4.0.1+NT4+webapp=Hangs loading graphics


Running the following:
- NT 4 Server
- Apache 1.3.22 + Tomcat 4.0.1 using mod_webapp
- Both Apache and Tomcat starting as NT services
- Both Apache and Tomcat work great independently

Two issues:
(1) Have to Restart Apache after bootup:
- Apache won't recognize Tomcat's area (e.g., /examples/)
unless I restart Apache after bootup.  Is there a way to have
Tomcat start before Apache, or is there another solution?

(2) Server hangs when loading Tomcat graphics from Apache:
- When accessing a web page that's in the Tomcat area from
Apache, if the page has graphics, it hangs.  For example, using the
following (my NT machine's DNS = sawebd01):
http://sawebd01/examples/jsp/ - The text for the page loads right
away, but it hangs trying to download the 3 image gif's.  When I
press Stop and then Refresh (IE 5.5), I get the following error:
WebApp: Error 500, (File: pr_warp.c Line: 438), Invalid packet 16.
After Stop, Back, and then try to load the /examples/jsp/index.html
URL again, the 1st graphic (gears, for Execute the example) is
loaded, but it hangs trying to load the 2nd graphic.  If I Stop and
try to click one of the example Execute links, I get the 500 error
again.  On the other hand, clicking Source brings up the next page
with the link for the source (e.g., Source code for numguess 

RE: gc() and sessions

2002-01-29 Thread Justin Rowles

 Does garbage collector run automatically when a session set by
 setMaxInactiveInterval() times out?

No, gc runs when the jre thinks it should.  That's all you need to know!
(Well, that's the position of the java designers).

When it runs it *will* remove inactive sessions and de-allocate their
memory.

You can tell the system that you would like it run by calling System.gc()
*but* that doesn't actually *force* the issue (as I understand matters).

J.
-- 
You're only jealous cos the little penguins are talking to me. 



***
For more information on Ordnance Survey products and services,
visit our web site at http://www.ordnancesurvey.co.uk
***




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




AW: Webservices with TC / Sun WSDP with TC

2002-01-29 Thread Lauer, Oliver

A Sun engineer told me to have a look at: 

I recently posted a JAXR sample application that discovers all Organization
 that offer WSDL based Web Services. You may find it posted at the JAXR
 developer forum at the following URL:

  http://groups.yahoo.com/group/jaxr-discussion/message/116

Regards,
Farrukh

 AXA eSolutions GmbH
 AXA Konzern AG Germany
 Oliver Lauer 
 Web Architect
 Wörthstraße 34
 D-50668 Köln
 Germany
 Tel.: +49 221 148 31277
 Fax: +49 221 148 43963
 Mobil: +49 179 59 064 59
 e-Mail: [EMAIL PROTECTED]
 _
 


-Ursprüngliche Nachricht-
Von: Lauer, Oliver [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 29. Januar 2002 11:22
An: Tomcat Users List (E-Mail)
Betreff: Webservices with TC / Sun WSDP with TC


Hi all, 

I've studied the package and tried some examples. Everything worked fine,
I've even registered with the IBM UDDI and did some lookups, 
but I didn't find anything that tells me how to find something (a service)
within an UDDI (eg. IBM) and to invoke it straightaway ? 

Did I miss something or is the package not suited for that purpose right now
? 

If anybody succeeded in calling a service after a lookup in an UDDI (eg.
IBM) could she/he deliver a code example for that here ?  

Thanx 
Oliver
AXA eSolutions GmbH
 AXA Konzern AG Germany
 Oliver Lauer 
 Web Architect
 Wörthstraße 34
 D-50668 Köln
 Germany
 Tel.: +49 221 148 31277
 Fax: +49 221 148 43963
 Mobil: +49 179 59 064 59
 e-Mail: [EMAIL PROTECTED]
 _
 
 


--
Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene
Information nicht rechtsverbindlich. Eine rechtsverbindliche Bestaetigung
reichen wir Ihnen gerne auf Anforderung in schriftlicher Form nach. Beachten
Sie bitte, dass jede Form der unautorisierten Nutzung, Veroeffentlichung,
Vervielfaeltigung oder Weitergabe des Inhalts dieser E-Mail nicht gestattet
ist.Diese Nachricht  ist ausschliesslich fuer den bezeichneten Adressaten
oder dessen Vertreter bestimmt. Sollten Sie nicht der vorgesehene Adressat
dieser E-Mail oder dessen Vertreter sein, so bitten wir Sie, sich mit dem
Absender der E-Mail in Verbindung zu setzen.

For legal and security reasons the information provided in this e-mail is
not legally binding. Upon request we would be pleased to provide you with a
legally binding confirmation in written form. Any form of unauthorised use,
publication, reproduction, copying or disclosure of the content of this
e-mail is not permitted. This message is exclusively for the person
addressed or their representative. If you are not the intended recipient of
this message and its contents, please notify the sender immediately.


==


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


--
Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene Information 
nicht rechtsverbindlich. Eine rechtsverbindliche Bestaetigung reichen wir Ihnen gerne 
auf Anforderung in schriftlicher Form nach. Beachten Sie bitte, dass jede Form der 
unautorisierten Nutzung, Veroeffentlichung, Vervielfaeltigung oder Weitergabe des 
Inhalts dieser E-Mail nicht gestattet ist.Diese Nachricht  ist ausschliesslich fuer 
den bezeichneten Adressaten oder dessen Vertreter bestimmt. Sollten Sie nicht der 
vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein, so bitten wir Sie, sich 
mit dem Absender der E-Mail in Verbindung zu setzen.

For legal and security reasons the information provided in this e-mail is not legally 
binding. Upon request we would be pleased to provide you with a legally binding 
confirmation in written form. Any form of unauthorised use, publication, reproduction, 
copying or disclosure of the content of this e-mail is not permitted. This message is 
exclusively for the person addressed or their representative. If you are not the 
intended recipient of this message and its contents, please notify the sender 
immediately.

==


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




Re: Client certificate with Apache 1.3, TC 4 and mod_webapp on SuSE Linux 7.3

2002-01-29 Thread Thor Tall

I have the same problem with tomcat 4.0.1 and
mod_webapp and haven't been able to figure out how is
should work. I have looked in the mod_webapp code and
the SSL code seem to be in place. But I have not found
out what the problem is. 
Just a question do you get a null point back from your
call ?

Regards,
Thor
 
--- Markus Maeder [EMAIL PROTECTED] wrote:
 Hi!
 
 I was playing around with Tomcat 4.0.1 and couldn't
 get the client certificates
 from apache through mod_webapp. So I tried Tomcat
 4.0.2 b2 and the build from
 January 27. I even compiled a new mod_webapp
 (1.0.2-tc402).
 
 Then I tried ajp13 and mod_jk. This is working fine
 after I changed my code
 (working in Tomcat 3.2x) from
 
 String certAttribute =
 javax.servlet.request.X509Certificate;
 X509Certificate certificate =

(java.security.cert.X509Certificate)request.getAttribute(certAttribute);
 
 To version for Tomcat 4:
 String certAttribute =
 javax.servlet.request.X509Certificate;
 X509Certificate certificate[] =

(java.security.cert.X509Certificate[])request.getAttribute(certAttribute);
 
 As I think I missed something in the configuration
 of mod_webapp, I wonder, if
 somebody has a working configuration for getting
 client certificates with
 mod_webapp, apache 1.3 and mod_ssl. 
 
 --
 To unsubscribe:  
 mailto:[EMAIL PROTECTED]
 For additional commands:
 mailto:[EMAIL PROTECTED]
 Troubles with the list:
 mailto:[EMAIL PROTECTED]
 


__
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com

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




Errors compiling warp connector

2002-01-29 Thread thys . deWet

i run the following:
./configure --with-apxs=/usr/local/Apache_EAPI/bin/apxs
--with-java=/usr/j2se/
--with-tomcat=/tomcat4.0.2-compile/jakarta-tomcat-4.0.2-b2-src/dist/

 and then after a while i get the following :

   APR configure: config.status: creating include/arch/unix/apr_private.h
  Execution of ./configure --enable-static --disable-shared
--disable-threads returned 0

Finishing up
checking for APR compilation flags... ./configure:
/usr/local/Apache_EAPI/bin/apxs: not found
/usr/ccs/bin/sparcv9/nm: /httpd: No such file or directory
configure: error: Cannot mix gcc and native cc


Does anybody have any ideas ?

I am using solaris 8 , Apache 1.3.22 and tomcat 4.0.2

Thanx
Thys de Wet

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




Re: Errors compiling warp connector

2002-01-29 Thread Patrick Roumanoff

 i run the following:
 ./configure --with-apxs=/usr/local/Apache_EAPI/bin/apxs
 --with-java=/usr/j2se/
 --with-tomcat=/tomcat4.0.2-compile/jakarta-tomcat-4.0.2-b2-src/dist/

APR configure: config.status: creating include/arch/unix/apr_private.h
   Execution of ./configure --enable-static --disable-shared
 --disable-threads returned 0

did you enable mod_so with apache?
(try a 'httpd -l' to know)

 configure: error: Cannot mix gcc and native cc

looks like apache was compiled with cc and you are trying to compile
apr with gcc

pkr

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




Re: Tomcat 3.3a Apache 1.3.22 : Apache not hiding WEB-INF and not using default document (.jsp)

2002-01-29 Thread Elm Gysel


For anyone who may be interested I found the problem.

I've staticly linked with a few modules also with mod_access and mod_mime
and I had the LoadModule directive for those modules included in my
httpd.conf. When you load them dynamicly and link with them static you
really get a weird behavour!! So watch out of it!

Elm

To see the some configuration of apache at runtime include the
following in httpd.conf (If not already there):

LoadModule info_module /apache dir/lib/mod_info.so

IfModule mod_info.c
   Location /server-info
SetHandler server-info
/Location
/IfModulea

Hit the Url servername/server-info

 -Ursprüngliche Nachricht-
 Von: Elm Gysel [mailto:[EMAIL PROTECTED]]
 Gesendet: Dienstag, 29. Januar 2002 10:17
 An: Tomcat Users List
 Betreff: Re: Tomcat 3.3a  Apache 1.3.22 : Apache not hiding
 WEB-INF and
 not using default document (.jsp)



 Yes, sorry for being not very clear. I do mean the WEB-INF
 directorie in the
 examples directory. Also on other mappings its not taking index.jsp as
 default as defined in the DirectoryIndex for that directory.

 But let me do say again that all this worked perfectly with
 1.3.9 . I have
 also used other versions of Apache with this Tomcat release
 and it was also
 working.

 Elm


 Do you mean with 'my directories' and 'WEB-INF'
 directories that are in the examples directory ?

 If not you must define the Directory and the
 Location tag for your base directory.

  -Ursprüngliche Nachricht-
  Von: Elm Gysel [mailto:[EMAIL PROTECTED]]
  Gesendet: Dienstag, 29. Januar 2002 09:56
  An: Tomcat Users List
  Betreff: Tomcat 3.3a  Apache 1.3.22 : Apache not hiding
  WEB-INF and not
  using default document (.jsp)
 snip/
  I can browse all my directories through Apache, I can browse
  WEB-INF without
  problem?
 snip/

  Directory /usr/local/jakarta-tomcat-3.3a/webapps/examples
  Options Indexes FollowSymLinks
  DirectoryIndex index.jsp index.html index.htm
  /Directory
 
 
  # Deny direct access to WEB-INF and META-INF
  #
  Location /examples/WEB-INF/*
  AllowOverride None
  deny from all
  /Location
 
  Location /examples/META-INF/*
  AllowOverride None
  deny from all
  /Location
 
  JkMount /examples/servlet/*  ajp13
  JkMount /examples/*.jsp ajp13
 
 
  Thanks for any suggestions.
 
  Elm
 
 
  --
  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]




change root directory

2002-01-29 Thread Andreas Panagiotidis

hello, I have installed tomcat standalone, and i have it to listen to my
default port 80.
but I want to change my welcome page.
Instead of showing index.html that comes with tomcat,
I want to show another directory.

My purpose is to make /cocoon that default page for my localhost:80/

Thank you for your help ,andreas


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




Re: JNDIRealm

2002-01-29 Thread John Holman

JNDIRealm works by retrieving the password from the directory server and 
comparing it explicitly with the value given by
the user. Unfortunately AFAIK this mode of operation will not work with 
eDirectory.

There have been proposals (e.g. from me) to enhance JNDIRealm to allow it 
to authenticate the user by binding to the directory server, in the same 
way as auth_ldap. This should work with eDirectory, but isn't available yet.

John.


At 12:55 28/01/02, you wrote:
Hi!

We are going to upgrade to Tomcat and are investigating how to implement
user authentication. Currently we are using the authentication that is
offered in Apache with auth_ldap.

Since Tomcat offers an authentication mechanism (Realms) we would like
to use that functionality. However since we are using Novell NDS
(eDriectory) to store our users and have several NDS servers, we would
like to have Tomcat to authenticate a user against one or more of the
NDS servers. Is this possible?

As far as I can see the JNDIRealm can only handle a single server to
authenticate users against.

--
Fredrik Westermarck

--
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]




Question regarding loading Classpath for Tomcat

2002-01-29 Thread Pavel Brun

Hi all,

I uderstand that Tomcat loads its own classpath based on the startup
ClassLoader
factory. However, is there any way to include other directories that are not
located within the Tomcat hierarchy?? I am just curious to see if anybody
has
done this without diving into the Tomcat code.

Thanks

Paul



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




tomcat build error

2002-01-29 Thread Nick Wesselman

while building tomcat:

H:\tomcat_build\jakarta-tomcat-4.0\webapps\tomcat-docs\build.xml:80: 
javax.xml.transform.TransformerFactoryConfigurationError: Provider 
org.apache.xalan.processor.TransformerFactoryImpl not found

am i just missing something from my classpath?? do i need to download Xalan?

thanks,
Nick


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




Re: SSL and certificates, AGAIN

2002-01-29 Thread Jason Barr

Hi there,

There shouldn't be any problems using our SSL certs with Tomcat, I have
spoken to a lot of clients who use SSL certs with Tomcat, the only
problems have been in making client auth work with our Personal
Certificates, in which case adding the personal cert intermediate root is
the solution, so I'd be interested to know what type of problems you are
having.

Thanks,

Richard S. Huntrods wrote:

 Greetings!

 Three quick question to all who have SSL working with signed
 certificates (not just self-signed):

 1. What provider did you use? Verisign, Entrust, Thawte, etc?

 2. Has anyone gotten signed certificates working with Thawte
 certification?

 3. Would you be willing to discuss this by personal email rather than
 through the list (to conserve bandwidth).

 Thanks,

 -Richard

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

--
Jason Barr
Vendor Manager
Thawte Tech Support
www.thawte.com/cgi/support/contents.exe




smime.p7s
Description: S/MIME Cryptographic Signature


Redirecting error pages

2002-01-29 Thread Amine AMAR

Hi all,

I have the following lines in my web.xml:
  error-page
error-code500/error-codelocation/html/defaultError.htm/location
  /error-page
  error-page
error-code404/error-codelocation/html/defaultError.htm/location
  /error-page

The 404 errors get correctly redirected to the specified page but not the 5xx errors.

Is there some other way to do it?

Thank's

Amine



RE: Question regarding loading Classpath for Tomcat

2002-01-29 Thread Larry Isaacs

For Tomcat 3.3, see the online documentation at:

http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-ug.html#configuring_classes

Item #2 towards the end of this section mentions two System
properties that can used to add entries to a couple of the
classloaders.

Cheers,
Larry


 -Original Message-
 From: Pavel Brun [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, January 29, 2002 8:14 AM
 To: Tomcat Users List
 Subject: Question regarding loading Classpath for Tomcat
 
 
 Hi all,
 
 I uderstand that Tomcat loads its own classpath based on the startup
 ClassLoader
 factory. However, is there any way to include other 
 directories that are not
 located within the Tomcat hierarchy?? I am just curious to 
 see if anybody
 has
 done this without diving into the Tomcat code.
 
 Thanks
 
 Paul
 
 
 
 --
 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: OT: URL Rewrite and Tag Libs

2002-01-29 Thread Wolfgang Röckelein

Hi,

Craig R. McClanahan wrote:
 Transparent URL rewriting is one of the things that the struts-html tag
 library in Struts does for you.  You can use the tag libraries without
 using the entire application framework (although you'd be well advised to
 look at using that as well).

What files do I need to use the tag libs only?

Greetings,
  Wolfgang


smime.p7s
Description: S/MIME Cryptographic Signature


AW: change root directory

2002-01-29 Thread lars_ake_gentz

hi,

you can change the standard welcome file by changing/ adding the following
lines in the tomcat web.xml in
TOMCAT HOME/conf/web.xml

  welcome-file-list
welcome-fileindex.html/welcome-file
welcome-fileindex.htm/welcome-file
welcome-fileindex.jsp/welcome-file
  /welcome-file-list

hope this helps you ...

Lars.

-Ursprungliche Nachricht-
Von: Andreas Panagiotidis [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 29. Januar 2002 13:50
An: [EMAIL PROTECTED]
Betreff: change root directory


hello, I have installed tomcat standalone, and i have it to listen to my
default port 80.
but I want to change my welcome page.
Instead of showing index.html that comes with tomcat,
I want to show another directory.

My purpose is to make /cocoon that default page for my localhost:80/

Thank you for your help ,andreas


--
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: Ap 1.3.22+TC 4.0.1+NT4+webapp=Hangs loading graphics

2002-01-29 Thread Brian Adams

I wish I could tell you how but I don't know.
I know you need to get webapp source from jakarta-tomcat-connectors cvs.
and I know you have to get apr source from the apr cvs module.
but then I have no clue on how to build it in Windows.  I read about export
a Makfile and run NMAKE.exe on it
Sorry,
B

-Original Message-
From: lars_ake_gentz [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 29, 2002 5:28 AM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: AW: Ap 1.3.22+TC 4.0.1+NT4+webapp=Hangs loading graphics


hi,

i would like to help you... and i have ms Visual studio... but wich files do
i need
to build the mod_webapp.so for win??? i have the same problems:-( i have
never worked with source code... i have downloaded the following files:
Makefile.in
Makefile.win
mod_webapp.c
when starting mod_webapp.c in ms Visual studio and i click on compile i
get an error:
Include file could not be found fatal error: c1083 httpd.h

where can i find the httpd.h file??? wich file do i need else???

thanx

lars.


-Ursprungliche Nachricht-
Von: Brian Adams [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 29. Januar 2002 04:52
An: Tomcat Users List
Betreff: RE: Ap 1.3.22+TC 4.0.1+NT4+webapp=Hangs loading graphics


yep, wich I could help but I don't have MS Visual Studio.

CAN SOMEONE HELP PLEASE?  (not shouting just getting attention)  :)

We need mod_webapp.so for Windows and it has to be newer than the download
we can already get.
Has someone built it from CVS?
Thanks for the help folks,
B
good luck dennis!
In the mean time you should be able to run tomcat as a stand alone server
(port 8080) and get some work done.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Monday, January 28, 2002 9:19 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: Ap 1.3.22+TC 4.0.1+NT4+webapp=Hangs loading graphics


bigb,

I tried TC 4.0.2-b2, but the same thing happened.  Looks like I
could use an already-built mod_webapp.c (or whatever else I might
need for this version, if someone could provide it), as I'm not
up to doing that yet.  Thanks.

Dennis

-Original Message-
From: Dennis.Johnson [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 28, 2002 6:31 PM
To: bigb; tomcat-user
Subject: RE: Ap 1.3.22+TC 4.0.1+NT4+webapp=Hangs loading graphics


Thanks.  Will get right on it...

-Original Message-
From: bigb [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 28, 2002 6:30 PM
To: tomcat-user
Subject: RE: Ap 1.3.22+TC 4.0.1+NT4+webapp=Hangs loading graphics


try just tomcat 4.0.2-2b (does not matter zip exe) by its self and see
if it
fixes it.  I am not sure if it is the warp.jar or if the bug was in
mod_webapp.so.
I would try the new tomcat alone and see.
if not you'll have to download the mod_webapp.c and build it or ask some

one
to give you theirs.
let us know what you find. maybe I will bump up to 4.0.2-2b

B
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Monday, January 28, 2002 8:23 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: Ap 1.3.22+TC 4.0.1+NT4+webapp=Hangs loading graphics


bigb,

Thanks for the reply.  Just to clarify...

You're suggesting that I install Tomcat 4.0.2-2b from
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.2-b2/bin/,
correct?  If so, is there a preference between the exe and zip?  Also, I
noticed that there's no /bin/win32 with a mod_webapp to download for
this
version.  Do I just keep the webapp-module-1.0-tc40-windows versions of
mod_webapp.so and libapr.dll that came with TC 4.0.1?  Please advise.

Thanks.

Dennis

-Original Message-
From: bigb [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 28, 2002 6:05 PM
To: tomcat-user
Subject: RE: Ap 1.3.22+TC 4.0.1+NT4+webapp=Hangs loading graphics


bug in Warp connector.
If you need to use webapp then maybe download 4.0.2b  and try that.
I know folks checked it out of cvs a month ago and it worked.
good luck,
B


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Monday, January 28, 2002 7:56 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Ap 1.3.22+TC 4.0.1+NT4+webapp=Hangs loading graphics


Running the following:
- NT 4 Server
- Apache 1.3.22 + Tomcat 4.0.1 using mod_webapp
- Both Apache and Tomcat starting as NT services
- Both Apache and Tomcat work great independently

Two issues:
(1) Have to Restart Apache after bootup:
- Apache won't recognize Tomcat's area (e.g., /examples/)
unless I restart Apache after bootup.  Is there a way to have
Tomcat start before Apache, or is there another solution?

(2) Server hangs when loading Tomcat graphics from Apache:
- When accessing a web page that's in the Tomcat area from
Apache, if the page has graphics, it hangs.  For example, using the
following (my NT machine's DNS = sawebd01):
http://sawebd01/examples/jsp/ - The text for the page loads right
away, but it hangs trying to download the 3 image gif's.  When 

RE: Question regarding loading Classpath for Tomcat

2002-01-29 Thread Pavel Brun

Would this not be possible in Tomcat 4.0.1???

Paul

-Original Message-
From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 29, 2002 8:47 AM
To: 'Tomcat Users List'
Subject: RE: Question regarding loading Classpath for Tomcat


For Tomcat 3.3, see the online documentation at:

http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-ug.html#configuring_
classes

Item #2 towards the end of this section mentions two System
properties that can used to add entries to a couple of the
classloaders.

Cheers,
Larry


 -Original Message-
 From: Pavel Brun [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, January 29, 2002 8:14 AM
 To: Tomcat Users List
 Subject: Question regarding loading Classpath for Tomcat


 Hi all,

 I uderstand that Tomcat loads its own classpath based on the startup
 ClassLoader
 factory. However, is there any way to include other
 directories that are not
 located within the Tomcat hierarchy?? I am just curious to
 see if anybody
 has
 done this without diving into the Tomcat code.

 Thanks

 Paul



 --
 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: Ap 1.3.22+TC 4.0.1+NT4+webapp=Hangs loading graphics

2002-01-29 Thread lars_ake_gentz

thnx for tips.. i will try a little... perhaps it works in a few hour´s
day´s ...

Lars.

-Ursprüngliche Nachricht-
Von: Brian Adams [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 29. Januar 2002 15:02
An: 'Tomcat Users List'
Betreff: RE: Ap 1.3.22+TC 4.0.1+NT4+webapp=Hangs loading graphics


I wish I could tell you how but I don't know.
I know you need to get webapp source from jakarta-tomcat-connectors cvs.
and I know you have to get apr source from the apr cvs module.
but then I have no clue on how to build it in Windows.  I read about export
a Makfile and run NMAKE.exe on it
Sorry,
B

-Original Message-
From: lars_ake_gentz [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 29, 2002 5:28 AM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: AW: Ap 1.3.22+TC 4.0.1+NT4+webapp=Hangs loading graphics


hi,

i would like to help you... and i have ms Visual studio... but wich files do
i need
to build the mod_webapp.so for win??? i have the same problems:-( i have
never worked with source code... i have downloaded the following files:
Makefile.in
Makefile.win
mod_webapp.c
when starting mod_webapp.c in ms Visual studio and i click on compile i
get an error:
Include file could not be found fatal error: c1083 httpd.h

where can i find the httpd.h file??? wich file do i need else???

thanx

lars.


-Ursprungliche Nachricht-
Von: Brian Adams [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 29. Januar 2002 04:52
An: Tomcat Users List
Betreff: RE: Ap 1.3.22+TC 4.0.1+NT4+webapp=Hangs loading graphics


yep, wich I could help but I don't have MS Visual Studio.

CAN SOMEONE HELP PLEASE?  (not shouting just getting attention)  :)

We need mod_webapp.so for Windows and it has to be newer than the download
we can already get.
Has someone built it from CVS?
Thanks for the help folks,
B
good luck dennis!
In the mean time you should be able to run tomcat as a stand alone server
(port 8080) and get some work done.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Monday, January 28, 2002 9:19 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: Ap 1.3.22+TC 4.0.1+NT4+webapp=Hangs loading graphics


bigb,

I tried TC 4.0.2-b2, but the same thing happened.  Looks like I
could use an already-built mod_webapp.c (or whatever else I might
need for this version, if someone could provide it), as I'm not
up to doing that yet.  Thanks.

Dennis

-Original Message-
From: Dennis.Johnson [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 28, 2002 6:31 PM
To: bigb; tomcat-user
Subject: RE: Ap 1.3.22+TC 4.0.1+NT4+webapp=Hangs loading graphics


Thanks.  Will get right on it...

-Original Message-
From: bigb [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 28, 2002 6:30 PM
To: tomcat-user
Subject: RE: Ap 1.3.22+TC 4.0.1+NT4+webapp=Hangs loading graphics


try just tomcat 4.0.2-2b (does not matter zip exe) by its self and see
if it
fixes it.  I am not sure if it is the warp.jar or if the bug was in
mod_webapp.so.
I would try the new tomcat alone and see.
if not you'll have to download the mod_webapp.c and build it or ask some

one
to give you theirs.
let us know what you find. maybe I will bump up to 4.0.2-2b

B
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Monday, January 28, 2002 8:23 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: Ap 1.3.22+TC 4.0.1+NT4+webapp=Hangs loading graphics


bigb,

Thanks for the reply.  Just to clarify...

You're suggesting that I install Tomcat 4.0.2-2b from
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.2-b2/bin/,
correct?  If so, is there a preference between the exe and zip?  Also, I
noticed that there's no /bin/win32 with a mod_webapp to download for
this
version.  Do I just keep the webapp-module-1.0-tc40-windows versions of
mod_webapp.so and libapr.dll that came with TC 4.0.1?  Please advise.

Thanks.

Dennis

-Original Message-
From: bigb [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 28, 2002 6:05 PM
To: tomcat-user
Subject: RE: Ap 1.3.22+TC 4.0.1+NT4+webapp=Hangs loading graphics


bug in Warp connector.
If you need to use webapp then maybe download 4.0.2b  and try that.
I know folks checked it out of cvs a month ago and it worked.
good luck,
B


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Monday, January 28, 2002 7:56 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Ap 1.3.22+TC 4.0.1+NT4+webapp=Hangs loading graphics


Running the following:
- NT 4 Server
- Apache 1.3.22 + Tomcat 4.0.1 using mod_webapp
- Both Apache and Tomcat starting as NT services
- Both Apache and Tomcat work great independently

Two issues:
(1) Have to Restart Apache after bootup:
- Apache won't recognize Tomcat's area (e.g., /examples/)
unless I restart Apache after bootup.  Is there a way to have
Tomcat start before Apache, or is there another solution?

(2) Server hangs when loading Tomcat graphics from 

RE: Question regarding loading Classpath for Tomcat

2002-01-29 Thread Larry Isaacs

At the moment, I'm not aware of a similar mechanism in
Tomcat 4.x.

Cheers,
Larry

 -Original Message-
 From: Pavel Brun [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, January 29, 2002 9:05 AM
 To: Tomcat Users List
 Subject: RE: Question regarding loading Classpath for Tomcat
 
 
 Would this not be possible in Tomcat 4.0.1???
 
 Paul
 
 -Original Message-
 From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, January 29, 2002 8:47 AM
 To: 'Tomcat Users List'
 Subject: RE: Question regarding loading Classpath for Tomcat
 
 
 For Tomcat 3.3, see the online documentation at:
 
 http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-ug.htm
 l#configuring_
 classes
 
 Item #2 towards the end of this section mentions two System
 properties that can used to add entries to a couple of the
 classloaders.
 
 Cheers,
 Larry
 
 
  -Original Message-
  From: Pavel Brun [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, January 29, 2002 8:14 AM
  To: Tomcat Users List
  Subject: Question regarding loading Classpath for Tomcat
 
 
  Hi all,
 
  I uderstand that Tomcat loads its own classpath based on the startup
  ClassLoader
  factory. However, is there any way to include other
  directories that are not
  located within the Tomcat hierarchy?? I am just curious to
  see if anybody
  has
  done this without diving into the Tomcat code.
 
  Thanks
 
  Paul
 
 
 
  --
  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: Client certificate with Apache 1.3, TC 4 and mod_webapp on SuSE Linux 7.3

2002-01-29 Thread Markus Maeder

Zitat von Thor Tall [EMAIL PROTECTED]:

 I have the same problem with tomcat 4.0.1 and
 mod_webapp and haven't been able to figure out how is
 should work. I have looked in the mod_webapp code and
 the SSL code seem to be in place. But I have not found
 out what the problem is. 
 Just a question do you get a null point back from your
 call ?

Yes, with mod_webapp I get a null pointer from 
String certAttribute = javax.servlet.request.X509Certificate;
X509Certificate certificate[] = 
(java.security.cert.X509Certificate[])request.getAttribute(certAttribute);

With mod_jk this is working.

Regards
Markus

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




Tomcat non native server code

2002-01-29 Thread Yann LE GUERN

Hi,

Is there a way to configure Tomcat to let a web server handle and interpret
some non java server code generated by a servlet.
For example, I would like my servlet to generate (besides standard html
code) some ASP code which will be interpreted by IIS before sending to the
browser.

Thanks,
Yann Le Guern.


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




RE: Tomcat non native server code

2002-01-29 Thread Randy Layman


The only way to do this is have your JSP/servlet write a file to the
disk where IIS can see it and then send a redirect to that file.  

IIS doesn't allow the chaining of filters (which the Tomcat plugin
is) so this is a limitation of the web server, not Tomcat.

Randy


 -Original Message-
 From: Yann LE GUERN [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, January 29, 2002 9:18 AM
 To: Tomcat Users List
 Subject: Tomcat  non native server code
 
 
 Hi,
 
 Is there a way to configure Tomcat to let a web server handle 
 and interpret
 some non java server code generated by a servlet.
 For example, I would like my servlet to generate (besides 
 standard html
 code) some ASP code which will be interpreted by IIS before 
 sending to the
 browser.
 
 Thanks,
 Yann Le Guern.
 
 
 --
 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: Job situation in the US

2002-01-29 Thread dderry

Speaking from my experience in Georgia: I was laid-off in June. I've had one
2 month contract since then. I find a lot of job postings that do not seem
to be real (I never get any response, and the positions are constantly being
reposted). Many job postings have a shopping list of 'required' skills. My
background is extensively in C++, but also with a couple of years of Java 
JSP. I haven't had any luck with any of these skills.

Good luck!
Dave Derry


- Original Message -
From: Lauer, Oliver [EMAIL PROTECTED]
To: Tomcat Users List (E-Mail) [EMAIL PROTECTED]
Sent: Tuesday, January 29, 2002 2:58 AM
Subject: Job situation in the US


Hi all,

I admit this forum isn't quite suitable for those postings (saying sorry to
all who are annoyed reading that) but I believe as well a lot of experts are
listening who can answer this question maybe:

Is it still a bloodbath in the US concerning Java Jobs or is the situation
improving ? I'm asking due to my family is wanting me to looking for a
challenge abroad :-)

Thanx
Oliver
 AXA eSolutions GmbH
 AXA Konzern AG Germany
 Oliver Lauer
 Web Architect
 Wörthstraße 34
 D-50668 Köln
 Germany
 Tel.: +49 221 148 31277
 Fax: +49 221 148 43963
 Mobil: +49 179 59 064 59
 e-Mail: [EMAIL PROTECTED]
 _




--
Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene
Information nicht rechtsverbindlich. Eine rechtsverbindliche Bestaetigung
reichen wir Ihnen gerne auf Anforderung in schriftlicher Form nach. Beachten
Sie bitte, dass jede Form der unautorisierten Nutzung, Veroeffentlichung,
Vervielfaeltigung oder Weitergabe des Inhalts dieser E-Mail nicht gestattet
ist.Diese Nachricht  ist ausschliesslich fuer den bezeichneten Adressaten
oder dessen Vertreter bestimmt. Sollten Sie nicht der vorgesehene Adressat
dieser E-Mail oder dessen Vertreter sein, so bitten wir Sie, sich mit dem
Absender der E-Mail in Verbindung zu setzen.

For legal and security reasons the information provided in this e-mail is
not legally binding. Upon request we would be pleased to provide you with a
legally binding confirmation in written form. Any form of unauthorised use,
publication, reproduction, copying or disclosure of the content of this
e-mail is not permitted. This message is exclusively for the person
addressed or their representative. If you are not the intended recipient of
this message and its contents, please notify the sender immediately.


==


--
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: Job situation in the US

2002-01-29 Thread Lars Nielsen Lind

Anyone there have links to freelance jobs (java, jsp, javabeans, jakarta,
apache, postgresql, linux)?

Best regards,

Lars Nielsen Lind

- Original Message -
From: dderry [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, January 29, 2002 2:32 PM
Subject: Re: Job situation in the US


 Speaking from my experience in Georgia: I was laid-off in June. I've had
one
 2 month contract since then. I find a lot of job postings that do not seem
 to be real (I never get any response, and the positions are constantly
being
 reposted). Many job postings have a shopping list of 'required' skills. My
 background is extensively in C++, but also with a couple of years of Java

 JSP. I haven't had any luck with any of these skills.

 Good luck!
 Dave Derry


 - Original Message -
 From: Lauer, Oliver [EMAIL PROTECTED]
 To: Tomcat Users List (E-Mail) [EMAIL PROTECTED]
 Sent: Tuesday, January 29, 2002 2:58 AM
 Subject: Job situation in the US


 Hi all,

 I admit this forum isn't quite suitable for those postings (saying sorry
to
 all who are annoyed reading that) but I believe as well a lot of experts
are
 listening who can answer this question maybe:

 Is it still a bloodbath in the US concerning Java Jobs or is the situation
 improving ? I'm asking due to my family is wanting me to looking for a
 challenge abroad :-)

 Thanx
 Oliver
  AXA eSolutions GmbH
  AXA Konzern AG Germany
  Oliver Lauer
  Web Architect
  Wörthstraße 34
  D-50668 Köln
  Germany
  Tel.: +49 221 148 31277
  Fax: +49 221 148 43963
  Mobil: +49 179 59 064 59
  e-Mail: [EMAIL PROTECTED]
  _
 
 

 --
--
 --
 Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene
 Information nicht rechtsverbindlich. Eine rechtsverbindliche Bestaetigung
 reichen wir Ihnen gerne auf Anforderung in schriftlicher Form nach.
Beachten
 Sie bitte, dass jede Form der unautorisierten Nutzung, Veroeffentlichung,
 Vervielfaeltigung oder Weitergabe des Inhalts dieser E-Mail nicht
gestattet
 ist.Diese Nachricht  ist ausschliesslich fuer den bezeichneten Adressaten
 oder dessen Vertreter bestimmt. Sollten Sie nicht der vorgesehene Adressat
 dieser E-Mail oder dessen Vertreter sein, so bitten wir Sie, sich mit dem
 Absender der E-Mail in Verbindung zu setzen.
 
 For legal and security reasons the information provided in this e-mail is
 not legally binding. Upon request we would be pleased to provide you with
a
 legally binding confirmation in written form. Any form of unauthorised
use,
 publication, reproduction, copying or disclosure of the content of this
 e-mail is not permitted. This message is exclusively for the person
 addressed or their representative. If you are not the intended recipient
of
 this message and its contents, please notify the sender immediately.



 ==


 --
 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: Job situation in the US

2002-01-29 Thread Lauer, Oliver

Hi Dave, 

Wow, it seems to be much more worse than I supposed it to be :-(. 
The IT market in Europe is quite, too, at the moment, but with C++ and Java
you still can find a job rather easily. 
Good luck to you, too. 
Oliver - giving up the American Dream for while :-)
   

 AXA eSolutions GmbH
 AXA Konzern AG Germany
 Oliver Lauer 
 Web Architect
 Wörthstraße 34
 D-50668 Köln
 Germany
 Tel.: +49 221 148 31277
 Fax: +49 221 148 43963
 Mobil: +49 179 59 064 59
 e-Mail: [EMAIL PROTECTED]
 _
 


-Ursprüngliche Nachricht-
Von: dderry [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 29. Januar 2002 14:32
An: Tomcat Users List
Betreff: Re: Job situation in the US


Speaking from my experience in Georgia: I was laid-off in June. I've had one
2 month contract since then. I find a lot of job postings that do not seem
to be real (I never get any response, and the positions are constantly being
reposted). Many job postings have a shopping list of 'required' skills. My
background is extensively in C++, but also with a couple of years of Java 
JSP. I haven't had any luck with any of these skills.

Good luck!
Dave Derry


- Original Message -
From: Lauer, Oliver [EMAIL PROTECTED]
To: Tomcat Users List (E-Mail) [EMAIL PROTECTED]
Sent: Tuesday, January 29, 2002 2:58 AM
Subject: Job situation in the US


Hi all,

I admit this forum isn't quite suitable for those postings (saying sorry to
all who are annoyed reading that) but I believe as well a lot of experts are
listening who can answer this question maybe:

Is it still a bloodbath in the US concerning Java Jobs or is the situation
improving ? I'm asking due to my family is wanting me to looking for a
challenge abroad :-)

Thanx
Oliver
 AXA eSolutions GmbH
 AXA Konzern AG Germany
 Oliver Lauer
 Web Architect
 Wörthstraße 34
 D-50668 Köln
 Germany
 Tel.: +49 221 148 31277
 Fax: +49 221 148 43963
 Mobil: +49 179 59 064 59
 e-Mail: [EMAIL PROTECTED]
 _




--
Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene
Information nicht rechtsverbindlich. Eine rechtsverbindliche Bestaetigung
reichen wir Ihnen gerne auf Anforderung in schriftlicher Form nach. Beachten
Sie bitte, dass jede Form der unautorisierten Nutzung, Veroeffentlichung,
Vervielfaeltigung oder Weitergabe des Inhalts dieser E-Mail nicht gestattet
ist.Diese Nachricht  ist ausschliesslich fuer den bezeichneten Adressaten
oder dessen Vertreter bestimmt. Sollten Sie nicht der vorgesehene Adressat
dieser E-Mail oder dessen Vertreter sein, so bitten wir Sie, sich mit dem
Absender der E-Mail in Verbindung zu setzen.

For legal and security reasons the information provided in this e-mail is
not legally binding. Upon request we would be pleased to provide you with a
legally binding confirmation in written form. Any form of unauthorised use,
publication, reproduction, copying or disclosure of the content of this
e-mail is not permitted. This message is exclusively for the person
addressed or their representative. If you are not the intended recipient of
this message and its contents, please notify the sender immediately.


==


--
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]


--
Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene Information 
nicht rechtsverbindlich. Eine rechtsverbindliche Bestaetigung reichen wir Ihnen gerne 
auf Anforderung in schriftlicher Form nach. Beachten Sie bitte, dass jede Form der 
unautorisierten Nutzung, Veroeffentlichung, Vervielfaeltigung oder Weitergabe des 
Inhalts dieser E-Mail nicht gestattet ist.Diese Nachricht  ist ausschliesslich fuer 
den bezeichneten Adressaten oder dessen Vertreter bestimmt. Sollten Sie nicht der 
vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein, so bitten wir Sie, sich 
mit dem Absender der E-Mail in Verbindung zu setzen.

For legal and security reasons the information provided in this e-mail is not legally 
binding. Upon request we would be pleased to provide you with a legally binding 
confirmation in written form. Any form of unauthorised use, publication, reproduction, 
copying or disclosure of the content of this e-mail is not permitted. This message is 
exclusively for the person addressed or their representative. If you are not the 
intended recipient of this message and its contents, please notify the sender 
immediately.

==


--
To 

AW: Job situation in the US

2002-01-29 Thread Lauer, Oliver

Hi Lars, 

try http://www.jobserve.com . I believe in Frankfurt/Munich/Germany (that's
where all the banking and telco business is) is still a demand for
Java/J2EE/C++ contractors without having to speak German, just using English
as business language.

Oliver
 AXA eSolutions GmbH
 AXA Konzern AG Germany
 Oliver Lauer 
 Web Architect
 Wörthstraße 34
 D-50668 Köln
 Germany
 Tel.: +49 221 148 31277
 Fax: +49 221 148 43963
 Mobil: +49 179 59 064 59
 e-Mail: [EMAIL PROTECTED]
 _
 


-Ursprüngliche Nachricht-
Von: Lars Nielsen Lind [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 29. Januar 2002 15:42
An: Tomcat Users List
Betreff: Re: Job situation in the US


Anyone there have links to freelance jobs (java, jsp, javabeans, jakarta,
apache, postgresql, linux)?

Best regards,

Lars Nielsen Lind

- Original Message -
From: dderry [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, January 29, 2002 2:32 PM
Subject: Re: Job situation in the US


 Speaking from my experience in Georgia: I was laid-off in June. I've had
one
 2 month contract since then. I find a lot of job postings that do not seem
 to be real (I never get any response, and the positions are constantly
being
 reposted). Many job postings have a shopping list of 'required' skills. My
 background is extensively in C++, but also with a couple of years of Java

 JSP. I haven't had any luck with any of these skills.

 Good luck!
 Dave Derry


 - Original Message -
 From: Lauer, Oliver [EMAIL PROTECTED]
 To: Tomcat Users List (E-Mail) [EMAIL PROTECTED]
 Sent: Tuesday, January 29, 2002 2:58 AM
 Subject: Job situation in the US


 Hi all,

 I admit this forum isn't quite suitable for those postings (saying sorry
to
 all who are annoyed reading that) but I believe as well a lot of experts
are
 listening who can answer this question maybe:

 Is it still a bloodbath in the US concerning Java Jobs or is the situation
 improving ? I'm asking due to my family is wanting me to looking for a
 challenge abroad :-)

 Thanx
 Oliver
  AXA eSolutions GmbH
  AXA Konzern AG Germany
  Oliver Lauer
  Web Architect
  Wörthstraße 34
  D-50668 Köln
  Germany
  Tel.: +49 221 148 31277
  Fax: +49 221 148 43963
  Mobil: +49 179 59 064 59
  e-Mail: [EMAIL PROTECTED]
  _
 
 

 --
--
 --
 Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene
 Information nicht rechtsverbindlich. Eine rechtsverbindliche Bestaetigung
 reichen wir Ihnen gerne auf Anforderung in schriftlicher Form nach.
Beachten
 Sie bitte, dass jede Form der unautorisierten Nutzung, Veroeffentlichung,
 Vervielfaeltigung oder Weitergabe des Inhalts dieser E-Mail nicht
gestattet
 ist.Diese Nachricht  ist ausschliesslich fuer den bezeichneten Adressaten
 oder dessen Vertreter bestimmt. Sollten Sie nicht der vorgesehene Adressat
 dieser E-Mail oder dessen Vertreter sein, so bitten wir Sie, sich mit dem
 Absender der E-Mail in Verbindung zu setzen.
 
 For legal and security reasons the information provided in this e-mail is
 not legally binding. Upon request we would be pleased to provide you with
a
 legally binding confirmation in written form. Any form of unauthorised
use,
 publication, reproduction, copying or disclosure of the content of this
 e-mail is not permitted. This message is exclusively for the person
 addressed or their representative. If you are not the intended recipient
of
 this message and its contents, please notify the sender immediately.



 ==


 --
 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]


--
Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene Information 
nicht rechtsverbindlich. Eine rechtsverbindliche Bestaetigung reichen wir Ihnen gerne 
auf Anforderung in schriftlicher Form nach. Beachten Sie bitte, dass jede Form der 
unautorisierten Nutzung, Veroeffentlichung, Vervielfaeltigung oder Weitergabe des 
Inhalts dieser E-Mail nicht gestattet ist.Diese Nachricht  ist ausschliesslich fuer 
den bezeichneten Adressaten oder dessen Vertreter bestimmt. Sollten Sie nicht der 
vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein, so bitten wir Sie, sich 
mit dem Absender der E-Mail in Verbindung zu setzen.

For legal and security reasons the information provided in this e-mail is not legally 

Re: JNDIRealm

2002-01-29 Thread Fredrik Westermarck

John Holman wrote:
 
 JNDIRealm works by retrieving the password from the directory server and
 comparing it explicitly with the value given by
 the user. Unfortunately AFAIK this mode of operation will not work with
 eDirectory.

Reading the Realm HOWTO again made me realize that... Why would anyone
want the Realm to get the password from the server instead of doing a
simple LDAP bind?

 There have been proposals (e.g. from me) to enhance JNDIRealm to allow it
 to authenticate the user by binding to the directory server, in the same
 way as auth_ldap. This should work with eDirectory, but isn't available yet.

Have the proposal been approved by the Tomcat developers, and are there
any people working on this issue?

-- 
Fredrik Westermarck

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




Unknown Source in stack trace??

2002-01-29 Thread Liu, Xiaoyan

Hi,

Can anyone tell me why exception.printStackTrace() sometimes does not
show the line number in java code, but instead displays 'Unknown Source'??
THis is very annoying for debugging.

thanks.


Liu



Re: [TC4] Disabling JSP pages in one context only

2002-01-29 Thread Craig R. McClanahan



On Tue, 29 Jan 2002, chris brown wrote:

 Date: Tue, 29 Jan 2002 10:10:41 +0100
 From: chris brown [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: tomcat-user [EMAIL PROTECTED]
 Subject: [TC4] Disabling JSP pages in one context only

 Hello,

 I'd like to disable the jsp servlet for one context only.  This servlet is
 declared in the global tomcat web.xml file.  I'd like to disable it in one
 specific context only.

 However, I don't want to remove it from the global web.xml file and then
 copy it to each individual webapp's web.xml (excluding the webapp in which
 JSPs should be disabled).  This is impratical, and furthermore reduces the
 webapp's portability (as the JSP servlet maps to an implementing class built
 in to Tomcat which is unlikely to be available in other deployment
 environments.


If you map the *.jsp URL pattern to something else in a
servlet-mapping, you've effectively disabled JSP for that webapp ...
your settings override the container defaults.

 Thanks for any suggestions,
 Christopher Brown


Craig


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




4.0.2/EJB InitialContext conflict

2002-01-29 Thread Christopher Cobb

I have a web/EJB application that ran in Tomcat 3.  It calls InitialContext()
assuming that it will get the EJB server's service implementation of jndi so
that it can locate various enterprise beans.

Within tomcat4, when I call InitialContext(), I appear to be getting tomcat's
jndi implementation and not the EJB server's.

How do I cause my EJB server's jndi implementation to have precedence over the
tomcat4 implementation?

cc



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




Re: 4.0.2/EJB InitialContext conflict

2002-01-29 Thread Remy Maucherat

 I have a web/EJB application that ran in Tomcat 3.  It calls
InitialContext()
 assuming that it will get the EJB server's service implementation of jndi
so
 that it can locate various enterprise beans.

 Within tomcat4, when I call InitialContext(), I appear to be getting
tomcat's
 jndi implementation and not the EJB server's.

 How do I cause my EJB server's jndi implementation to have precedence over
the
 tomcat4 implementation?

Use the nonaming command line option.
Or you can also declare your IC implementation when launching the JVM (I
think code has been added so that Tomcat won't override it, although Tomcat
will still attempt to provide the J2EE ENC functionality).

Remy


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




Re: Job situation in the US

2002-01-29 Thread Lars Nielsen Lind

Yeps - approx. 27000 IT-related jobs :-)

- Original Message -
From: Lauer, Oliver [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Tuesday, January 29, 2002 4:00 PM
Subject: AW: Job situation in the US



Hi Lars,

try http://www.jobserve.com . I believe in Frankfurt/Munich/Germany (that's
where all the banking and telco business is) is still a demand for
Java/J2EE/C++ contractors without having to speak German, just using English
as business language.

Oliver
 AXA eSolutions GmbH
 AXA Konzern AG Germany
 Oliver Lauer
 Web Architect
 Wörthstraße 34
 D-50668 Köln
 Germany
 Tel.: +49 221 148 31277
 Fax: +49 221 148 43963
 Mobil: +49 179 59 064 59
 e-Mail: [EMAIL PROTECTED]
 _



-Ursprüngliche Nachricht-
Von: Lars Nielsen Lind [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 29. Januar 2002 15:42
An: Tomcat Users List
Betreff: Re: Job situation in the US


Anyone there have links to freelance jobs (java, jsp, javabeans, jakarta,
apache, postgresql, linux)?

Best regards,

Lars Nielsen Lind

- Original Message -
From: dderry [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, January 29, 2002 2:32 PM
Subject: Re: Job situation in the US


 Speaking from my experience in Georgia: I was laid-off in June. I've had
one
 2 month contract since then. I find a lot of job postings that do not seem
 to be real (I never get any response, and the positions are constantly
being
 reposted). Many job postings have a shopping list of 'required' skills. My
 background is extensively in C++, but also with a couple of years of Java

 JSP. I haven't had any luck with any of these skills.

 Good luck!
 Dave Derry


 - Original Message -
 From: Lauer, Oliver [EMAIL PROTECTED]
 To: Tomcat Users List (E-Mail) [EMAIL PROTECTED]
 Sent: Tuesday, January 29, 2002 2:58 AM
 Subject: Job situation in the US


 Hi all,

 I admit this forum isn't quite suitable for those postings (saying sorry
to
 all who are annoyed reading that) but I believe as well a lot of experts
are
 listening who can answer this question maybe:

 Is it still a bloodbath in the US concerning Java Jobs or is the situation
 improving ? I'm asking due to my family is wanting me to looking for a
 challenge abroad :-)

 Thanx
 Oliver
  AXA eSolutions GmbH
  AXA Konzern AG Germany
  Oliver Lauer
  Web Architect
  Wörthstraße 34
  D-50668 Köln
  Germany
  Tel.: +49 221 148 31277
  Fax: +49 221 148 43963
  Mobil: +49 179 59 064 59
  e-Mail: [EMAIL PROTECTED]
  _
 
 

 --
--
 --
 Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene
 Information nicht rechtsverbindlich. Eine rechtsverbindliche Bestaetigung
 reichen wir Ihnen gerne auf Anforderung in schriftlicher Form nach.
Beachten
 Sie bitte, dass jede Form der unautorisierten Nutzung, Veroeffentlichung,
 Vervielfaeltigung oder Weitergabe des Inhalts dieser E-Mail nicht
gestattet
 ist.Diese Nachricht  ist ausschliesslich fuer den bezeichneten Adressaten
 oder dessen Vertreter bestimmt. Sollten Sie nicht der vorgesehene Adressat
 dieser E-Mail oder dessen Vertreter sein, so bitten wir Sie, sich mit dem
 Absender der E-Mail in Verbindung zu setzen.
 
 For legal and security reasons the information provided in this e-mail is
 not legally binding. Upon request we would be pleased to provide you with
a
 legally binding confirmation in written form. Any form of unauthorised
use,
 publication, reproduction, copying or disclosure of the content of this
 e-mail is not permitted. This message is exclusively for the person
 addressed or their representative. If you are not the intended recipient
of
 this message and its contents, please notify the sender immediately.



 ==


 --
 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]



--
Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene
Information nicht rechtsverbindlich. Eine rechtsverbindliche Bestaetigung
reichen wir Ihnen gerne auf Anforderung in schriftlicher Form nach. Beachten
Sie bitte, dass jede Form der unautorisierten Nutzung, Veroeffentlichung,
Vervielfaeltigung oder Weitergabe des Inhalts dieser E-Mail nicht gestattet
ist.Diese Nachricht  ist ausschliesslich fuer den bezeichneten Adressaten
oder dessen Vertreter bestimmt. Sollten Sie nicht der vorgesehene Adressat
dieser 

Re: OT: URL Rewrite and Tag Libs

2002-01-29 Thread Craig R. McClanahan



On Tue, 29 Jan 2002, Wolfgang Röckelein wrote:

 Date: Tue, 29 Jan 2002 10:49:16 +0100
 From: Wolfgang Röckelein [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Subject: Re: OT: URL Rewrite and Tag Libs

 Hi,

 Craig R. McClanahan wrote:
  Transparent URL rewriting is one of the things that the struts-html tag
  library in Struts does for you.  You can use the tag libraries without
  using the entire application framework (although you'd be well advised to
  look at using that as well).


(It's clear if you read the Struts docs but might not be if you only read
this mail thread - I am the primary author of Struts, as well as spending
my day job time working on Tomcat.)

 Reading that I took a look on the struts tag libs. I noticed that some
 of them in part duplicate efforts from the JSTL.

The Struts tag libraries preceded the JSTL effort.  They have also had a
significant positive impact on the development of the JSTL tags themselves
(I'm on the JSR-52 expert group that is developing JSTL).

 Is there already a
 undertanding how to use Struts and the JSTL together?


Sure ... just use them together.  There is no restriction on how many
different tag libraries you can use.  Both libraries can talk to arbitrary
JavaBeans underneath, so the same beans can be accessed by tags from
either library.

Over time, Struts will encourage users to migrate to JSTL (and JavaServer
Faces, which it also preceded), but we will continue to support the
existing tag libraries for quite a long while -- there are large numbers
of applications built on these APIs in the world, and it would be
unreasonable to force them to change.

One other consideration for JSTL - it requires a Servlet 2.3 / JSP 1.2
environment (such as Tomcat 4), while Struts also runs fine on any server
supporting Servlet 2.2 / JSP 1.1.  That will matter less and less over
time, as more server vendors update their servlet and JSP support to the
newer specifications.

 Greetings,
   Wolfgang

Craig McClanahan



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




Re: OT: URL Rewrite and Tag Libs

2002-01-29 Thread Craig R. McClanahan



On Tue, 29 Jan 2002, Wolfgang Röckelein wrote:

 Date: Tue, 29 Jan 2002 14:52:54 +0100
 From: Wolfgang Röckelein [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Subject: Re: OT: URL Rewrite and Tag Libs

 Hi,

 Craig R. McClanahan wrote:
  Transparent URL rewriting is one of the things that the struts-html tag
  library in Struts does for you.  You can use the tag libraries without
  using the entire application framework (although you'd be well advised to
  look at using that as well).

 What files do I need to use the tag libs only?

(This is now moving towards being a question more relevant on the
STRUTS-USER mailing list than here ...)

In the lib subdirectory you'll need struts.jar (which contains all the
custom tag implementation classes, as well as the framework) and the TLDs.


 Greetings,
   Wolfgang

Craig



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




Re: tomcat build error

2002-01-29 Thread Craig R. McClanahan



On Tue, 29 Jan 2002, Nick Wesselman wrote:

 Date: Tue, 29 Jan 2002 07:20:43 -0600
 From: Nick Wesselman [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Subject: tomcat build error

 while building tomcat:

 H:\tomcat_build\jakarta-tomcat-4.0\webapps\tomcat-docs\build.xml:80:
 javax.xml.transform.TransformerFactoryConfigurationError: Provider
 org.apache.xalan.processor.TransformerFactoryImpl not found

 am i just missing something from my classpath?? do i need to download Xalan?


Yes, Xalan is used in the style task to transform the source of the
Tomcat documentation files (in XML) into HTML.

The file BUILDING.txt in the top-level source directory describes
everything you need in order to build Tomcat from source.

 thanks,
 Nick


Craig


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




Re: [TC4] Disabling (Was: JSP pages, Now: dir. listings) in one context only

2002-01-29 Thread chris brown

Thanks Craig,

I posted a similar question recently asking whether it was possible to have
different settings for the default servlet (per-context settings).  For
example, in some contexts, I'd like to see directory listings, in others,
I'd prefer not to.

I tried overriding the default servlet, but this always threw
ServletExceptions in TC4.0.1 (didn't like multiple servlets sharing the same
name between global web.xml and context-specific web.xml, but always seemed
to resort to global default servlet if I used a different servlet-name for
the default servlet in the context-specific web.xml).

Obviously I could write a directory-listing servlet myself if I disabled the
directory listing
feature globally, but I'd have problems with other static resources.  I
don't really understand how conflicting url mappings are handled between
global and context configs either...

Thanks
Chris B


- Original Message -
From: Craig R. McClanahan [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, January 29, 2002 4:20 PM
Subject: Re: [TC4] Disabling JSP pages in one context only




 On Tue, 29 Jan 2002, chris brown wrote:

  Date: Tue, 29 Jan 2002 10:10:41 +0100
  From: chris brown [EMAIL PROTECTED]
  Reply-To: Tomcat Users List [EMAIL PROTECTED]
  To: tomcat-user [EMAIL PROTECTED]
  Subject: [TC4] Disabling JSP pages in one context only
 
  Hello,
 
  I'd like to disable the jsp servlet for one context only.  This
servlet is
  declared in the global tomcat web.xml file.  I'd like to disable it in
one
  specific context only.
 
  However, I don't want to remove it from the global web.xml file and
then
  copy it to each individual webapp's web.xml (excluding the webapp in
which
  JSPs should be disabled).  This is impratical, and furthermore reduces
the
  webapp's portability (as the JSP servlet maps to an implementing class
built
  in to Tomcat which is unlikely to be available in other deployment
  environments.
 

 If you map the *.jsp URL pattern to something else in a
 servlet-mapping, you've effectively disabled JSP for that webapp ...
 your settings override the container defaults.

  Thanks for any suggestions,
  Christopher Brown
 

 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: 4.0.2/EJB InitialContext conflict

2002-01-29 Thread chris brown

Quick related question:

I've noticed that when using ServletContext.getResource(), Tomcat returns a
URL in which jndi:// is the protocol.  Would using the nonaming option
disable this?!

-Chris

- Original Message -
From: Remy Maucherat [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, January 29, 2002 4:25 PM
Subject: Re: 4.0.2/EJB InitialContext conflict


  I have a web/EJB application that ran in Tomcat 3.  It calls
 InitialContext()
  assuming that it will get the EJB server's service implementation of
jndi
 so
  that it can locate various enterprise beans.
 
  Within tomcat4, when I call InitialContext(), I appear to be getting
 tomcat's
  jndi implementation and not the EJB server's.
 
  How do I cause my EJB server's jndi implementation to have precedence
over
 the
  tomcat4 implementation?

 Use the nonaming command line option.
 Or you can also declare your IC implementation when launching the JVM (I
 think code has been added so that Tomcat won't override it, although
Tomcat
 will still attempt to provide the J2EE ENC functionality).

 Remy


 --
 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]




Connecting Apache to Tomcat

2002-01-29 Thread Cleber Hostalácio de Melo

Hi,

I have conectiva linux 7.0 (kernel 2.4.5), apache 1.3.19 and
Tomacat 4.0.1

Tomcat are working well with the url:
  http://Myserv:tomcat_port/examples/jsp/index.html

But when I try to access this application from Apache with the
URL:

  http://Myserv/examples/jsp/index.html


I receive the message in my browser:

Forbidden
You don't have permission to access /examples/jsp/index.html on this
server.

The corresponding entries in the Apache logs are:

httpd/logs/access.log:
  GET /examples/jsp/index.html HTTP/1.0 403 301

httpd/logs/error.log:
  [error] [client xxx.xxx.xxx.x] (2)No such file or directory: cannot
read directory for multi: /examples/jsp/

There is no entry in the Tomcat logs which looks like that Apache is not
even trying to
connect to Tomcat.

My configuration files are:

httpd.com

.
ServerName myServer
ServerType standalone
ServerRoot /etc/httpd
..
LoadModule 
LoadModule webapp_module libexec/mod_webapp-1.0-eapi.so
..
AddModule
AddModule mod_webapp.c
..
DocumentRoot /home/myDocs
..
WebAppConnection Tomcat_Apache warp localhost:8008
WebAppDeploy examples Tomcat_Apache /examples/


server.xml

.
Service name=Tomcat_Apache
Connector
  className=org.apache.catalina.connector.warp.WarpConnector
  port=8008 minProcessors=5 maxProcessors=75
  enableLookups=true
  acceptCount=10 debug=0/

  !-- Replace localhost with what your Apache ServerName is set to
--
  Engine className=org.apache.catalina.connector.warp.WarpEngine
   name=Apache defaultHost=myServer debug=0
   appBase=webapps
   .
   /Engine
/Service

Anyone has any idea what could be the problem?

Thanks.



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




AW: Session visibility

2002-01-29 Thread Lauer, Oliver

I guess a session is only valid within the context it was created if that's
what you meant.
Oliver 

 AXA eSolutions GmbH
 AXA Konzern AG Germany
 Oliver Lauer 
 Web Architect
 Wörthstraße 34
 D-50668 Köln
 Germany
 Tel.: +49 221 148 31277
 Fax: +49 221 148 43963
 Mobil: +49 179 59 064 59
 e-Mail: [EMAIL PROTECTED]
 _
 


-Ursprüngliche Nachricht-
Von: Jason Webber [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 29. Januar 2002 16:46
An: 'Tomcat Users List'
Betreff: Session visibility


I have sessions setup for a couple of different servlets.  For some
reason the session that are created using one servlet are not valid in a
different servlet.  Is there a way to make this happen?

Jason

Tomcat 3.3
Apache 1.3.22
Windows 2000 Pro


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


--
Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene Information 
nicht rechtsverbindlich. Eine rechtsverbindliche Bestaetigung reichen wir Ihnen gerne 
auf Anforderung in schriftlicher Form nach. Beachten Sie bitte, dass jede Form der 
unautorisierten Nutzung, Veroeffentlichung, Vervielfaeltigung oder Weitergabe des 
Inhalts dieser E-Mail nicht gestattet ist.Diese Nachricht  ist ausschliesslich fuer 
den bezeichneten Adressaten oder dessen Vertreter bestimmt. Sollten Sie nicht der 
vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein, so bitten wir Sie, sich 
mit dem Absender der E-Mail in Verbindung zu setzen.

For legal and security reasons the information provided in this e-mail is not legally 
binding. Upon request we would be pleased to provide you with a legally binding 
confirmation in written form. Any form of unauthorised use, publication, reproduction, 
copying or disclosure of the content of this e-mail is not permitted. This message is 
exclusively for the person addressed or their representative. If you are not the 
intended recipient of this message and its contents, please notify the sender 
immediately.

==


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




Re: change to IBM jre for Tomcat 4.01 running as service

2002-01-29 Thread Remy Maucherat

 Is there any way to run Tomcat 4.01 as a service under Win2k using the IBM
 jre instead of the Sun Hotspot jre?

 I tried changing the value of
 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Apache
 Tomcat\Parameters but wasn't clear what the appropriate IBM dll to point
to
 was.

Information is needed on that so that I can add support in the installer
itself for IBM JVMs.

For example:
- What are the paths to tools.jar, and the JVM DLL which should be used,
relative to %JAVA_HOME%
- Does the IBM JVM work with JavaService at all ?

Thanks,
Remy


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




AW: Connecting Apache to Tomcat

2002-01-29 Thread lars_ake_gentz

hi,

i have no defaultHost Parameter in my config everything else ist the
same -
so i have no more idea - Sorry...
Are you sure that apache ist running correctly???
try http://yourApacheServer there must be a standard site: apacheWebServer
is running...
perhaps you have to look for the file/folder permissions for the /examples
folder

hope this helps you a little...

Lars.

Engine className=org.apache.catalina.connector.warp.WarpEngine
 name=Apache debug=0 appBase=webapps

-Ursprungliche Nachricht-
Von: Cleber Hostalacio de Melo [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 29. Januar 2002 16:45
An: [EMAIL PROTECTED]
Betreff: Connecting Apache to Tomcat


Hi,

I have conectiva linux 7.0 (kernel 2.4.5), apache 1.3.19 and
Tomacat 4.0.1

Tomcat are working well with the url:
  http://Myserv:tomcat_port/examples/jsp/index.html

But when I try to access this application from Apache with the
URL:

  http://Myserv/examples/jsp/index.html


I receive the message in my browser:

Forbidden
You don't have permission to access /examples/jsp/index.html on this
server.

The corresponding entries in the Apache logs are:

httpd/logs/access.log:
  GET /examples/jsp/index.html HTTP/1.0 403 301

httpd/logs/error.log:
  [error] [client xxx.xxx.xxx.x] (2)No such file or directory: cannot
read directory for multi: /examples/jsp/

There is no entry in the Tomcat logs which looks like that Apache is not
even trying to
connect to Tomcat.

My configuration files are:

httpd.com

.
ServerName myServer
ServerType standalone
ServerRoot /etc/httpd
..
LoadModule 
LoadModule webapp_module libexec/mod_webapp-1.0-eapi.so
..
AddModule
AddModule mod_webapp.c
..
DocumentRoot /home/myDocs
..
WebAppConnection Tomcat_Apache warp localhost:8008
WebAppDeploy examples Tomcat_Apache /examples/


server.xml

.
Service name=Tomcat_Apache
Connector
  className=org.apache.catalina.connector.warp.WarpConnector
  port=8008 minProcessors=5 maxProcessors=75
  enableLookups=true
  acceptCount=10 debug=0/

  !-- Replace localhost with what your Apache ServerName is set to
--
  Engine className=org.apache.catalina.connector.warp.WarpEngine
   name=Apache defaultHost=myServer debug=0
   appBase=webapps
   .
   /Engine
/Service

Anyone has any idea what could be the problem?

Thanks.



--
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]




PLEASE REMOVE THE VIRUS BEFORE MAILING THE LIST...

2002-01-29 Thread Richard S. Huntrods

Greetings!

Well, my ISP nuked your last issue of the digest (tomcat-user Digest 29
Jan 2002 07:19:31 - Issue 352) because it was emailed with the
Party virus intact.

I know this list has been talking about SPAM removal, but now it is not
only annoying, but has begun to SERIOUSLY IMPACT the list.  After all,
if the list will not be delivered by ISPs, then it is out of business.

SO PLEASE PLEASE PLEASE - start instituting some serious SPAM filters,
or only allow posts by members.  I prefer the latter (membership).

Thanks very much - (even though I'm very unlikely to ever get to read
this or any further digests until the virus runs its course)

-RIchard



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




RE: PLEASE REMOVE THE VIRUS BEFORE MAILING THE LIST...

2002-01-29 Thread Randy Layman


I would like to point out that the virus was sent by members of the
list.  Would Virus filtering of the list be useful?  Yes.  Would it be
cost-effective?  No.  (Since Jakarta has no real income to spend on this).

Randy


 -Original Message-
 From: Richard S. Huntrods [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, January 29, 2002 11:23 AM
 To: [EMAIL PROTECTED]
 Subject: PLEASE REMOVE THE VIRUS BEFORE MAILING THE LIST...
 
 
 Greetings!
 
 Well, my ISP nuked your last issue of the digest (tomcat-user 
 Digest 29
 Jan 2002 07:19:31 - Issue 352) because it was emailed with the
 Party virus intact.
 
 I know this list has been talking about SPAM removal, but now 
 it is not
 only annoying, but has begun to SERIOUSLY IMPACT the list.  After all,
 if the list will not be delivered by ISPs, then it is out of business.
 
 SO PLEASE PLEASE PLEASE - start instituting some serious SPAM filters,
 or only allow posts by members.  I prefer the latter (membership).
 
 Thanks very much - (even though I'm very unlikely to ever get to read
 this or any further digests until the virus runs its course)
 
 -RIchard
 
 
 
 --
 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: PLEASE REMOVE THE VIRUS BEFORE MAILING THE LIST...

2002-01-29 Thread Thad Humphries

Maybe users shouldn't use Microsoft products!  At least for email...

On Tue, 2002-01-29 at 10:45, Randy Layman wrote:
 
   I would like to point out that the virus was sent by members of the
 list.  Would Virus filtering of the list be useful?  Yes.  Would it be
 cost-effective?  No.  (Since Jakarta has no real income to spend on this).
 
   Randy
 
-- 

Thad Humphries  ...no religious test shall ever be required
Web Development Manager  as a qualification to any office or public
Phone: 540/675-3015, x225trust under the United States. -Article VI


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




WebAppDeploy Vs WebAppMount

2002-01-29 Thread Cressatti, Dominique

what's the difference between the 2?
 
I grabed what I think was the lastest mod_webapp module
( http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.2-b2/rpms/)
and it added the following in my httpd.conf
 
WebAppConnection WarpConnection warp localhost:8008
WebAppDeploy examples WarpConnection /examples
IfModule mod_webapp.c
WebAppConnection warpConnection warp localhost:8008
WebAppMount examples warpConnection /examples/
WebAppMount manager warpConnection /manager/
WebAppMount webdav warpConnection /webdav/
/IfModule
 
whoever set up the rpm, there was already an error when tried to start
apache. Apache complained about the same connection name.
It appear that the connection name is NOT case sensitive.
 
Anyway after I changed 1of  the connection name to avoid the duplicate
apache came with the error:
Syntax error on line 1453 of /etc/httpd/conf/httpd.conf:
Invalid command 'WebAppMount', perhaps mis-spelled or defined by a module not in
cluded in the server configuration
 
Has anybody else encountered the same problem?
 
The reason I wanted a recent version of mod_webapp is that it is
supposed to support specification of complete path as David Smith
mentionned in post (BTW David, I couldn't find any mod_webapp in the nightly
snapshot, so that's why I used the rpm).

Best regards.

Dom
Dominique Cressatti
Newlook/PC/Network support
LANSA Ltd

Legal stuff 
This E-mail is confidential and may also be privileged. If you are not the intended 
recipient, please notify us immediately by telephoning +44 (0) 1727 790300. You should 
not copy it or use it for any other purpose, nor disclose its contents to any other 
person. In messages of non-business nature, the views and opinions expressed are the 
author's own and do not necessarily reflect the views and opinions of the Company 

 



RE: Session visibility

2002-01-29 Thread Justin Rowles

 I have sessions setup for a couple of different servlets.  For some
 reason the session that are created using one servlet are not 
 valid in a
 different servlet.  Is there a way to make this happen?

Assuming when you say servlet you mean jsp page (which is slightly
different):

If they are in the same context they should be.  You need to give us more
information.

1) Have you got cookies enabled, and/or are you using encodeURL?
2) Are they in the same context?
3) Err...
4) That's it.

Justin.
-- 
You're only jealous cos the little penguins are talking to me. 



***
For more information on Ordnance Survey products and services,
visit our web site at http://www.ordnancesurvey.co.uk
***




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




RE: PLEASE REMOVE THE VIRUS BEFORE MAILING THE LIST...

2002-01-29 Thread Mike Curwen

So, is an open-source Anti-Virus project (perhaps at Jakarta)
self-defeating?  ;)

-Original Message-
From: Randy Layman [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 29, 2002 9:45 AM
To: 'Tomcat Users List'
Subject: RE: PLEASE REMOVE THE VIRUS BEFORE MAILING THE LIST...



I would like to point out that the virus was sent by members of the
list.  Would Virus filtering of the list be useful?  Yes.  Would it be
cost-effective?  No.  (Since Jakarta has no real income to spend on this).

Randy



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




Exception explanation

2002-01-29 Thread John Wadkin

Apologies is this has been asked before...

What does this error mean -

java.net.SocketException: socket closed: Bad file number

- in the apache_log.date.txt file? Had a look on the net but couldn't find
anything useful. I don't write servlets, so socket exceptions have no
meaning to me! Seems that errors are generated at random!

System:

Solaris 8
Java 1.3
TomCat 4
Apache 1.3

Thanks,

John

Quote for the week:

My fellow Americans, I am pleased to tell you I just signed legislation
which outlaws Russia forever. The bombing begins in five minutes.

Ronald Reagan, Radio microphone test, 11 Aug. 1984

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




RE: PLEASE REMOVE THE VIRUS BEFORE MAILING THE LIST...

2002-01-29 Thread Randy Layman


The real problem with Virus scanners as an open source project is
two fold:
1.  The virus writers can look at the source code and determine new
patterns that will be outside of the scanner's view (granted the script
kiddies won't be able to do this, but the more advanced virus writers would)
2.  All of the existing virus developers have staffs and devote
resources to finding viruses before they become a problem.  In an open
source project a consistent effort to accomplish this would be difficult if
not impossible, making usage risky.  (Is it better to have a false sense of
hope or no sense of hope at all?)

Randy

 -Original Message-
 From: Mike Curwen [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, January 29, 2002 11:50 AM
 To: Tomcat Users List
 Subject: RE: PLEASE REMOVE THE VIRUS BEFORE MAILING THE LIST...
 
 
 So, is an open-source Anti-Virus project (perhaps at Jakarta)
 self-defeating?  ;)
 
 -Original Message-
 From: Randy Layman [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, January 29, 2002 9:45 AM
 To: 'Tomcat Users List'
 Subject: RE: PLEASE REMOVE THE VIRUS BEFORE MAILING THE LIST...
 
 
 
   I would like to point out that the virus was sent by 
 members of the
 list.  Would Virus filtering of the list be useful?  Yes.  Would it be
 cost-effective?  No.  (Since Jakarta has no real income to 
 spend on this).
 
   Randy
 
 
 
 --
 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: PLEASE REMOVE THE VIRUS BEFORE MAILING THE LIST...

2002-01-29 Thread Nick Wesselman

perhaps a JAMES Mailet would be appropriate? :-)


Mike Curwen wrote:

So, is an open-source Anti-Virus project (perhaps at Jakarta)
self-defeating?  ;)

-Original Message-
From: Randy Layman [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 29, 2002 9:45 AM
To: 'Tomcat Users List'
Subject: RE: PLEASE REMOVE THE VIRUS BEFORE MAILING THE LIST...



   I would like to point out that the virus was sent by members of the
list.  Would Virus filtering of the list be useful?  Yes.  Would it be
cost-effective?  No.  (Since Jakarta has no real income to spend on this).

   Randy



--
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]




struts tag examples in JSP form page

2002-01-29 Thread Henry Lu

Is there any one who may send me a real JSP file with a form with the struts tags of
text,
radio,
textare,
checkbox,
select
hidden

items?

Thanks, Henry


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




Re: PLEASE REMOVE THE VIRUS BEFORE MAILING THE LIST...

2002-01-29 Thread Dean Hiller

I say go to Norton, and ask for a free license.  Try to get some free virus scanner 
software.  Alot of companies are up for donating their product.
just a thought,
dean


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




RE: LifecycleException

2002-01-29 Thread Bill Saur

All:

I solved the problem I was having and I wanted to post the solution in case
others may learn from this.  Tomcat was not shutting down properly on my
computer because of the Microsoft Instant Messaging program that typically
runs in my system tray.  Until I exited the IM program the connection was
held open.

I want to thank Anton Brazhnyk, Oliver Lauer, and Ralph Einfeldt for
providing me with the information I needed to gain insight into the problem.
It was nice of you to take the time to help.

So my first experience with the Tomcat Users Mailing List has been good...

Bill Saur
Spokane, WA
[EMAIL PROTECTED]



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




RE: PLEASE REMOVE THE VIRUS BEFORE MAILING THE LIST...

2002-01-29 Thread Mike Curwen

The real problem with Virus scanners as an open source project is
two fold:
   1.  The virus writers can look at the source code and determine new
patterns that will be outside of the scanner's view (granted the script
kiddies won't be able to do this, but the more advanced virus writers
would)


Thus my ;) in the original post.


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




Tomcat on hpux

2002-01-29 Thread Laurent Michenaud

Hi,

Does Tomcat work on hpux ?
Which version should i use ?

thx

Michenaud Laurent
- Adeuza -
[ Développeur Web - Administrateur Réseau ]


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




Re: WebAppDeploy Vs WebAppMount

2002-01-29 Thread Patrick Roumanoff

 WebAppConnection WarpConnection warp localhost:8008

 WebAppDeploy examples WarpConnection /examples

 IfModule mod_webapp.c

 WebAppConnection warpConnection warp localhost:8008

 WebAppMount examples warpConnection /examples/

 WebAppMount manager warpConnection /manager/

 WebAppMount webdav warpConnection /webdav/

 /IfModule


Obviously there is something wrong here... should be something like

IfModule mod_webapp.c

 WebAppConnection warpConnection warp localhost:8008

 WebAppDeploy examples WarpConnection /examples

 WebAppDeploy manager WarpConnection /manager
 WebAppDeploy webdav WarpConnection /webdav
/IfModule


WebAppMount is not document with mod_webapp 1.0.2-tc402

more over, manager servlet doesn't work, I guess it's because
it require BASIC authentication and the RELEASE-NOTES for tomcat
402b says it's broken in mod_webapp...

 The reason I wanted a recent version of mod_webapp is that it is

 supposed to support specification of complete path as David Smith

 mentionned in post (BTW David, I couldn't find any mod_webapp in the
 nightly

 snapshot, so that's why I used the rpm).


you can always try to compile it, it's quite easy now

hope this help

pkr

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




AW: PLEASE REMOVE THE VIRUS BEFORE MAILING THE LIST...

2002-01-29 Thread Ralph Einfeldt

- There is already an open anti virus project:
  http://www.openantivirus.org
- I don't think that an anti virus software is needed
- I think the list could be improved by the following:
  - only allow special kinds of attachments 
(zip, text, v-card, images)
with the given community it makes not much sense
to allow any attachment.
  - don't accept mails with no from header

 -Ursprüngliche Nachricht-
 Von: Mike Curwen [mailto:[EMAIL PROTECTED]]
 Gesendet: Dienstag, 29. Januar 2002 17:50
 An: Tomcat Users List
 Betreff: RE: PLEASE REMOVE THE VIRUS BEFORE MAILING THE LIST...
 
 
 So, is an open-source Anti-Virus project (perhaps at Jakarta)
 self-defeating?  ;)
 

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




IIS/Tomcat: address in use (you can ignore it)

2002-01-29 Thread Oliver Wulff


Hi

I've installed tomcat 3.3a and IIS 4 and use jdk 1.2.2. I launch Tomcat
using jk_nt_service.
Everything is working fine, if I start tomcat before IIS.
1) net start jakarta
2) net start iisadmin
3) Manually start the Web Site in the Internet Information Manager

If I do the steps 2 and 3 first the socket 0.0.0.0:8007 is listening
(BTW, I've configured the workers on localhost). I thought that the tomcat
process is listening on the worker ports. So, if I try to start the jakarta
service then, I get the following error:

A nonfatal internal JIT (3.10.107(x)) error 'Relocation error: NULL
relocation target' has occurred in :
  'org/apache/crimson/parser/Parser2.maybeComment (Z)Z': Interpreting
method.
  Please report this error in detail to
http://java.sun.com/cgi-bin/bugreport.cgi

2002-01-29 11:58:31 - ServerXmlReader: Config=c:
\jakarta-tomcat-3.3a\conf\server.xml
2002-01-29 11:58:31 - PathSetter: home=C:\jakarta-tomcat-3.3a
2002-01-29 11:58:32 - ContextXmlReader: Context config
=$TOMCAT_HOME\conf\apps-127.0.0.1.xml
2002-01-29 11:58:32 - ContextXmlReader: Context config
=$TOMCAT_HOME\conf\apps-admin.xml
2002-01-29 11:58:32 - ContextXmlReader: Context config
=$TOMCAT_HOME\conf\apps-examples.xml
2002-01-29 11:58:32 - AutoWebApp: Loaded from config: DEFAULT:/admin
2002-01-29 11:58:32 - AutoWebApp: Loaded from config: DEFAULT:/examples
2002-01-29 11:58:32 - AutoWebApp: Auto-Adding DEFAULT:/
2002-01-29 11:58:32 - ContextManager: Tomcat configured and in stable state
2002-01-29 11:58:32 - ContextManager: Adding  DEFAULT:/admin
2002-01-29 11:58:32 - ContextManager: Adding  DEFAULT:/examples
2002-01-29 11:58:32 - ContextManager: Adding  DEFAULT:/ROOT
2002-01-29 11:58:33 - Ajp12Interceptor: Starting on 8006
java.lang.reflect.InvocationTargetException:
org.apache.tomcat.core.TomcatException: Root cause - Address in use: bind
  at
org.apache.tomcat.modules.server.PoolTcpConnector.engineStart(Unknown
Source)
  at org.apache.tomcat.core.ContextManager.start(Unknown Source)
  at org.apache.tomcat.startup.EmbededTomcat.start(Unknown Source)
  at org.apache.tomcat.startup.EmbededTomcat.execute1(Unknown Source)
  at org.apache.tomcat.startup.EmbededTomcat$1.run(Unknown Source)
  at
org.apache.tomcat.util.compat.Jdk12Support$PrivilegedProxy.run(Unknown
Source)
  at java.security.AccessController.doPrivileged(Native Method)
  at org.apache.tomcat.util.compat.Jdk12Support.doPrivileged(Unknown
Source)
  at org.apache.tomcat.startup.EmbededTomcat.execute(Unknown Source)
  at java.lang.reflect.Method.invoke(Native Method)
  at org.apache.tomcat.util.IntrospectionUtils.execute(Unknown Source)
  at org.apache.tomcat.startup.Main.execute(Unknown Source)
  at org.apache.tomcat.startup.Main.main(Unknown Source)


Here is my configuration:
(See attached file: uriworkermap.properties)(See attached file:
workers.properties)(See attached file: wrapper.properties)(See attached
file: server.xml)


I also tried to define in the registry that iis has to be launched before
tomcat. But it's not working during booting of the server. Here is the
exctract of the service definitions (iisadmin and jakarta):
(See attached file: iis_tomcat.reg_)


If you need further informations do not hesitate to contact me.

Regards
Oliver Wulff



**
Oliver Wulff
Zürich Versicherungs-Gesellschaft
IE4, CoC Middleware
Postfach, 8085 Zürich
Telefon: +41- 1 628 14 28
Fax: +41 - 1 623 14 28
E-Mail: mailto:[EMAIL PROTECTED]







*** BITTE BEACHTEN ***
Diese Nachricht (wie auch allfällige Anhänge dazu) beinhaltet
möglicherweise vertrauliche oder gesetzlich geschützte Daten oder
Informationen. Zum Empfang derselben ist (sind) ausschliesslich die
genannte(n) Person(en) bestimmt. Falls Sie diese Nachricht
irrtümlicherweise erreicht hat, sind Sie höflich gebeten, diese unter
Ausschluss jeder Reproduktion zu zerstören und die absendende Person
umgehend zu benachrichtigen. Vielen Dank für Ihre Hilfe.






*** BITTE BEACHTEN ***
Diese Nachricht (wie auch allfällige Anhänge dazu) beinhaltet
möglicherweise vertrauliche oder gesetzlich geschützte Daten oder
Informationen. Zum Empfang derselben ist (sind) ausschliesslich die
genannte(n) Person(en) bestimmt. Falls Sie diese Nachricht
irrtümlicherweise erreicht hat, sind Sie höflich gebeten, diese unter
Ausschluss jeder Reproduktion zu zerstören und die absendende Person
umgehend zu benachrichtigen. Vielen Dank für Ihre Hilfe.


=?iso-8859-1?Q?uriworkermap.properties?=
Description: Binary data


=?iso-8859-1?Q?workers.properties?=
Description: Binary data


=?iso-8859-1?Q?wrapper.properties?=
Description: Binary data


=?iso-8859-1?Q?server.xml?=
Description: Binary data


=?iso-8859-1?Q?iis=5Ftomcat.reg=5F?=
Description: Binary data

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

JDBC Class Location on Linux

2002-01-29 Thread Timlin, Bob

Can anyone tell which directory I should place JDBC class files in on Linux.
Specifically I am running SuSE Linux 7.2 and Oracle9i.

 

Thanks




RE: JDBC Class Location on Linux

2002-01-29 Thread Gapinski, Gary (GEL, MSX)

Rename classes12.zip to classes12.jar and place it in
CATALINA_HOME/common/lib.

-Original Message-
From: Timlin, Bob [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 29, 2002 12:33 PM
To: [EMAIL PROTECTED]
Subject: JDBC Class Location on Linux


Can anyone tell which directory I should place JDBC class files in on Linux.
Specifically I am running SuSE Linux 7.2 and Oracle9i.

 

Thanks


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




RE: WebAppDeploy Vs WebAppMount

2002-01-29 Thread Cressatti, Dominique

you can always try to compile it, it's quite easy now
where do I get the latest source of mod_webapp?

Beside how do specify the mapping?
What I want to be able to do is point my
browser to:
http://localhost/examples/HelloWorldExmample
instead of having to do:
http://localhost/examples/servlet/HelloWorldExmample
How do I specify that in WebAppDeploy ?

Thanks
Dom

-Original Message-
From: Patrick Roumanoff [mailto:[EMAIL PROTECTED]]
Sent: 29 January 2002 17:22
To: Tomcat Users List
Subject: Re: WebAppDeploy Vs WebAppMount


 WebAppConnection WarpConnection warp localhost:8008


 WebAppDeploy examples WarpConnection /examples


 IfModule mod_webapp.c


 WebAppConnection warpConnection warp localhost:8008


 WebAppMount examples warpConnection /examples/


 WebAppMount manager warpConnection /manager/


 WebAppMount webdav warpConnection /webdav/


 /IfModule



Obviously there is something wrong here... should be something like

IfModule mod_webapp.c


 WebAppConnection warpConnection warp localhost:8008


 WebAppDeploy examples WarpConnection /examples


 WebAppDeploy manager WarpConnection /manager

 WebAppDeploy webdav WarpConnection /webdav

/IfModule



WebAppMount is not document with mod_webapp 1.0.2-tc402

more over, manager servlet doesn't work, I guess it's because
it require BASIC authentication and the RELEASE-NOTES for tomcat
402b says it's broken in mod_webapp...

 The reason I wanted a recent version of mod_webapp is that it is


 supposed to support specification of complete path as David Smith


 mentionned in post (BTW David, I couldn't find any mod_webapp in the

 nightly


 snapshot, so that's why I used the rpm).



you can always try to compile it, it's quite easy now

hope this help

pkr

--
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: PLEASE REMOVE THE VIRUS BEFORE MAILING THE LIST...

2002-01-29 Thread Justin Rowles

 Well, my ISP nuked your last issue of the digest (tomcat-user 
 Digest 29
 Jan 2002 07:19:31 - Issue 352) because it was emailed with the
 Party virus intact.

Nuked your last issue?  Surely the last issue?!  It would be mailed
intact cos the listbot doesn't strip attachments.  That would seriously
spoil list content.

 I know this list has been talking about SPAM removal, but now 
 it is not
 only annoying, but has begun to SERIOUSLY IMPACT the list.  After all,
 if the list will not be delivered by ISPs, then it is out of business.

It wasn't spam, it was a virus sent on automatedly from a trawl through a MS
address book.

 SO PLEASE PLEASE PLEASE - start instituting some serious SPAM filters,
 or only allow posts by members.  I prefer the latter (membership).

Neither would help.  Perhaps using proper mail clients?

 Thanks very much - (even though I'm very unlikely to ever get to read
 this or any further digests until the virus runs its course)

Hi Richard!

J.
-- 
You're only jealous cos the little penguins are talking to me. 



***
For more information on Ordnance Survey products and services,
visit our web site at http://www.ordnancesurvey.co.uk
***




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




RE: JDBC Class Location on Linux

2002-01-29 Thread Timlin, Bob

Thanks for the info.  Do I have to create the common/lib directory under
CATALINA.  My Tomcat doesn't have that directory.

Thanks,
Bob.

-Original Message-
From: Gapinski, Gary (GEL, MSX) [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, January 29, 2002 9:34 AM
To: 'Tomcat Users List'
Subject: RE: JDBC Class Location on Linux

Rename classes12.zip to classes12.jar and place it in
CATALINA_HOME/common/lib.

-Original Message-
From: Timlin, Bob [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 29, 2002 12:33 PM
To: [EMAIL PROTECTED]
Subject: JDBC Class Location on Linux


Can anyone tell which directory I should place JDBC class files in on Linux.
Specifically I am running SuSE Linux 7.2 and Oracle9i.

 

Thanks


--
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: IIS/Tomcat: address in use (you can ignore it)

2002-01-29 Thread Larry Isaacs

The error line is accurate.  The JIT in jdk1.2.2 has a known
(and unlikely to be fixed) bug which is triggered by crimson.jar.
You can either upgrade to jdk1.3 or later, or replace
crimson.jar (along with xalan.jar) with earlier versions that
don't trigger the JIT bug.  I would recommend upgrading the
JDK.

Cheers,
Larry

 -Original Message-
 From: Oliver Wulff [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, January 29, 2002 7:18 AM
 To: [EMAIL PROTECTED]
 Subject: IIS/Tomcat: address in use (you can ignore it)
 
 
 
 Hi
 
 I've installed tomcat 3.3a and IIS 4 and use jdk 1.2.2. I 
 launch Tomcat
 using jk_nt_service.
 Everything is working fine, if I start tomcat before IIS.
 1) net start jakarta
 2) net start iisadmin
 3) Manually start the Web Site in the Internet Information Manager
 
 If I do the steps 2 and 3 first the socket 0.0.0.0:8007 is listening
 (BTW, I've configured the workers on localhost). I thought 
 that the tomcat
 process is listening on the worker ports. So, if I try to 
 start the jakarta
 service then, I get the following error:
 
 A nonfatal internal JIT (3.10.107(x)) error 'Relocation error: NULL
 relocation target' has occurred in :
   'org/apache/crimson/parser/Parser2.maybeComment (Z)Z': Interpreting
 method.
   Please report this error in detail to
 http://java.sun.com/cgi-bin/bugreport.cgi
 
 2002-01-29 11:58:31 - ServerXmlReader: Config=c:
 \jakarta-tomcat-3.3a\conf\server.xml
 2002-01-29 11:58:31 - PathSetter: home=C:\jakarta-tomcat-3.3a
 2002-01-29 11:58:32 - ContextXmlReader: Context config
 =$TOMCAT_HOME\conf\apps-127.0.0.1.xml
 2002-01-29 11:58:32 - ContextXmlReader: Context config
 =$TOMCAT_HOME\conf\apps-admin.xml
 2002-01-29 11:58:32 - ContextXmlReader: Context config
 =$TOMCAT_HOME\conf\apps-examples.xml
 2002-01-29 11:58:32 - AutoWebApp: Loaded from config: DEFAULT:/admin
 2002-01-29 11:58:32 - AutoWebApp: Loaded from config: 
 DEFAULT:/examples
 2002-01-29 11:58:32 - AutoWebApp: Auto-Adding DEFAULT:/
 2002-01-29 11:58:32 - ContextManager: Tomcat configured and 
 in stable state
 2002-01-29 11:58:32 - ContextManager: Adding  DEFAULT:/admin
 2002-01-29 11:58:32 - ContextManager: Adding  DEFAULT:/examples
 2002-01-29 11:58:32 - ContextManager: Adding  DEFAULT:/ROOT
 2002-01-29 11:58:33 - Ajp12Interceptor: Starting on 8006
 java.lang.reflect.InvocationTargetException:
 org.apache.tomcat.core.TomcatException: Root cause - Address 
 in use: bind
   at
 org.apache.tomcat.modules.server.PoolTcpConnector.engineStart(Unknown
 Source)
   at org.apache.tomcat.core.ContextManager.start(Unknown Source)
   at org.apache.tomcat.startup.EmbededTomcat.start(Unknown Source)
   at 
 org.apache.tomcat.startup.EmbededTomcat.execute1(Unknown Source)
   at org.apache.tomcat.startup.EmbededTomcat$1.run(Unknown Source)
   at
 org.apache.tomcat.util.compat.Jdk12Support$PrivilegedProxy.run(Unknown
 Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at 
 org.apache.tomcat.util.compat.Jdk12Support.doPrivileged(Unknown
 Source)
   at 
 org.apache.tomcat.startup.EmbededTomcat.execute(Unknown Source)
   at java.lang.reflect.Method.invoke(Native Method)
   at 
 org.apache.tomcat.util.IntrospectionUtils.execute(Unknown Source)
   at org.apache.tomcat.startup.Main.execute(Unknown Source)
   at org.apache.tomcat.startup.Main.main(Unknown Source)
 
 
 Here is my configuration:
 (See attached file: uriworkermap.properties)(See attached file:
 workers.properties)(See attached file: 
 wrapper.properties)(See attached
 file: server.xml)
 
 
 I also tried to define in the registry that iis has to be 
 launched before
 tomcat. But it's not working during booting of the server. Here is the
 exctract of the service definitions (iisadmin and jakarta):
 (See attached file: iis_tomcat.reg_)
 
 
 If you need further informations do not hesitate to contact me.
 
 Regards
 Oliver Wulff
 
 
 
 **
 Oliver Wulff
 Zürich Versicherungs-Gesellschaft
 IE4, CoC Middleware
 Postfach, 8085 Zürich
 Telefon: +41- 1 628 14 28
 Fax: +41 - 1 623 14 28
 E-Mail: mailto:[EMAIL PROTECTED]
 
 
 
 
 
 
 
 *** BITTE BEACHTEN ***
 Diese Nachricht (wie auch allfällige Anhänge dazu) beinhaltet
 möglicherweise vertrauliche oder gesetzlich geschützte Daten oder
 Informationen. Zum Empfang derselben ist (sind) ausschliesslich die
 genannte(n) Person(en) bestimmt. Falls Sie diese Nachricht
 irrtümlicherweise erreicht hat, sind Sie höflich gebeten, diese unter
 Ausschluss jeder Reproduktion zu zerstören und die absendende Person
 umgehend zu benachrichtigen. Vielen Dank für Ihre Hilfe.
 
 
 
 
 
 
 *** BITTE BEACHTEN ***
 Diese Nachricht (wie auch allfällige Anhänge dazu) beinhaltet
 möglicherweise vertrauliche oder gesetzlich geschützte Daten oder
 Informationen. Zum Empfang derselben ist (sind) ausschliesslich die
 genannte(n) 

Re: PORT 80 tomcat/Apache??

2002-01-29 Thread James C. McMaster (Jim)

It is not possible for any two applications to share a port.  You would need 
either (a) apache to pass through to tomcat or (b) a front-end app to pass 
requests to both apache and tomcat.

Sorry.
-- 
Jim McMaster
mailto:[EMAIL PROTECTED]


In message [EMAIL PROTECTED], Brett 
O'
Malley said:
 Is it possible for me to run tomcat and apache both on the same port of 80?
 
 tomcat 4.0.1
 apache 1.3.22
 latest JDK
 mysql
 
 all is setup properly - just need to put tomcat on port 80 also for internal
 reasons
 any help and suggestions would be appreciated..
 
 Thanks guys!
 
 
 --
 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: IIS/Tomcat: address in use (you can ignore it)

2002-01-29 Thread Larry Isaacs

Forgot to mention one other alternative which is to simply
ignore the message.

Cheers,
Larry

 -Original Message-
 From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, January 29, 2002 12:43 PM
 To: 'Tomcat Users List'
 Subject: RE: IIS/Tomcat: address in use (you can ignore it)
 
 
 The error line is accurate.  The JIT in jdk1.2.2 has a known
 (and unlikely to be fixed) bug which is triggered by crimson.jar.
 You can either upgrade to jdk1.3 or later, or replace
 crimson.jar (along with xalan.jar) with earlier versions that
 don't trigger the JIT bug.  I would recommend upgrading the
 JDK.
 
 Cheers,
 Larry
 
  -Original Message-
  From: Oliver Wulff [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, January 29, 2002 7:18 AM
  To: [EMAIL PROTECTED]
  Subject: IIS/Tomcat: address in use (you can ignore it)
  
  
  
  Hi
  
  I've installed tomcat 3.3a and IIS 4 and use jdk 1.2.2. I 
  launch Tomcat
  using jk_nt_service.
  Everything is working fine, if I start tomcat before IIS.
  1) net start jakarta
  2) net start iisadmin
  3) Manually start the Web Site in the Internet Information Manager
  
  If I do the steps 2 and 3 first the socket 0.0.0.0:8007 
 is listening
  (BTW, I've configured the workers on localhost). I thought 
  that the tomcat
  process is listening on the worker ports. So, if I try to 
  start the jakarta
  service then, I get the following error:
  
  A nonfatal internal JIT (3.10.107(x)) error 'Relocation error: NULL
  relocation target' has occurred in :
'org/apache/crimson/parser/Parser2.maybeComment (Z)Z': 
 Interpreting
  method.
Please report this error in detail to
  http://java.sun.com/cgi-bin/bugreport.cgi
  
  2002-01-29 11:58:31 - ServerXmlReader: Config=c:
  \jakarta-tomcat-3.3a\conf\server.xml
  2002-01-29 11:58:31 - PathSetter: home=C:\jakarta-tomcat-3.3a
  2002-01-29 11:58:32 - ContextXmlReader: Context config
  =$TOMCAT_HOME\conf\apps-127.0.0.1.xml
  2002-01-29 11:58:32 - ContextXmlReader: Context config
  =$TOMCAT_HOME\conf\apps-admin.xml
  2002-01-29 11:58:32 - ContextXmlReader: Context config
  =$TOMCAT_HOME\conf\apps-examples.xml
  2002-01-29 11:58:32 - AutoWebApp: Loaded from config: DEFAULT:/admin
  2002-01-29 11:58:32 - AutoWebApp: Loaded from config: 
  DEFAULT:/examples
  2002-01-29 11:58:32 - AutoWebApp: Auto-Adding DEFAULT:/
  2002-01-29 11:58:32 - ContextManager: Tomcat configured and 
  in stable state
  2002-01-29 11:58:32 - ContextManager: Adding  DEFAULT:/admin
  2002-01-29 11:58:32 - ContextManager: Adding  DEFAULT:/examples
  2002-01-29 11:58:32 - ContextManager: Adding  DEFAULT:/ROOT
  2002-01-29 11:58:33 - Ajp12Interceptor: Starting on 8006
  java.lang.reflect.InvocationTargetException:
  org.apache.tomcat.core.TomcatException: Root cause - Address 
  in use: bind
at
  
 org.apache.tomcat.modules.server.PoolTcpConnector.engineStart(Unknown
  Source)
at org.apache.tomcat.core.ContextManager.start(Unknown Source)
at 
 org.apache.tomcat.startup.EmbededTomcat.start(Unknown Source)
at 
  org.apache.tomcat.startup.EmbededTomcat.execute1(Unknown Source)
at 
 org.apache.tomcat.startup.EmbededTomcat$1.run(Unknown Source)
at
  
 org.apache.tomcat.util.compat.Jdk12Support$PrivilegedProxy.run(Unknown
  Source)
at java.security.AccessController.doPrivileged(Native Method)
at 
  org.apache.tomcat.util.compat.Jdk12Support.doPrivileged(Unknown
  Source)
at 
  org.apache.tomcat.startup.EmbededTomcat.execute(Unknown Source)
at java.lang.reflect.Method.invoke(Native Method)
at 
  org.apache.tomcat.util.IntrospectionUtils.execute(Unknown Source)
at org.apache.tomcat.startup.Main.execute(Unknown Source)
at org.apache.tomcat.startup.Main.main(Unknown Source)
  
  
  Here is my configuration:
  (See attached file: uriworkermap.properties)(See attached file:
  workers.properties)(See attached file: 
  wrapper.properties)(See attached
  file: server.xml)
  
  
  I also tried to define in the registry that iis has to be 
  launched before
  tomcat. But it's not working during booting of the server. 
 Here is the
  exctract of the service definitions (iisadmin and jakarta):
  (See attached file: iis_tomcat.reg_)
  
  
  If you need further informations do not hesitate to contact me.
  
  Regards
  Oliver Wulff
  
  
  
  **
  Oliver Wulff
  Zürich Versicherungs-Gesellschaft
  IE4, CoC Middleware
  Postfach, 8085 Zürich
  Telefon: +41- 1 628 14 28
  Fax: +41 - 1 623 14 28
  E-Mail: mailto:[EMAIL PROTECTED]
  
  
  
  
  
  
  
  *** BITTE BEACHTEN ***
  Diese Nachricht (wie auch allfällige Anhänge dazu) beinhaltet
  möglicherweise vertrauliche oder gesetzlich geschützte Daten oder
  Informationen. Zum Empfang derselben ist (sind) ausschliesslich die
  genannte(n) Person(en) bestimmt. Falls Sie diese Nachricht
  irrtümlicherweise erreicht hat, sind Sie 

Tomcat 4.0.1 and the latest nightly build exception....

2002-01-29 Thread Faraj Meir

 I've a servlet and a filter that work well but each time throws an
exception when it finish the chain.doFilter(request,response);
any idea the exception is:


2002-01-29 19:29:58 StandardWrapper[/mhn:org.apache.catalina.INVOKER.]:
Marking servlet org.apache.catalina.INVOKER. as unavailable
2002-01-29 19:29:58 invoker: Cannot allocate servlet instance for path
/mhn/servlet/
javax.servlet.ServletException: Wrapper cannot find servlet class  or a
class it depends on
 at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:807)
 at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:615)
 at
org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java
:396)
 at
org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:180)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
 at filters.ideaFilters.doFilter(ideaFilters.java:102)
 at filters.ideaFilters.doFilter(ideaFilters.java:70)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:213)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:201)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
 at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
46)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164
)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
 at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:163)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:371)
 at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:424)
 at java.lang.Thread.run(Thread.java:536)
- Root Cause -
java.lang.ClassNotFoundException:
 at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1307)
 at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1156)
 at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:801)
 at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:615)
 at
org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java
:396)
 at
org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:180)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
 at filters.ideaFilters.doFilter(ideaFilters.java:102)
 at filters.ideaFilters.doFilter(ideaFilters.java:70)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:213)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 at 

Tomcat and JNI

2002-01-29 Thread Brian Hanuska

What ClassLoader should load the java classes that contain JNI calls?

Currently the java classes that load the JNI calls are in the global web.xml file, in 
the jsp servlet's classpath:
servlet
servlet-namejsp/servlet-name
servlet-classorg.apache.jasper.servlet.JspServlet/servlet-class
init-param
  param-namelogVerbosityLevel/param-name
  param-valueDEBUG/param-value
/init-param
init-param
  param-nameclasspath/param-name
  param-value/appl/rware69/rware/lib/:/appl/rware69/rware/web/java/rwjavah
l.jar/param-value
/init-param
init-param
  param-namekeepgenerated/param-name
  param-valuetrue/param-value
/init-param
load-on-startup3/load-on-startup
  /servlet

The Tomcat docs have:
-
Tomcat 4.0 and JNI Based Applications:
-

Applications that require native libraries must ensure that the libraries have
been loaded prior to use.  Typically, this is done with a call like:

  static {
System.loadLibrary(path-to-library-file);
  }

in some class.  However, the application must also ensure that the library is
not loaded more than once.  If the above code were placed in a class inside
the web application (i.e. under /WEB-INF/classes or /WEB-INF/lib), and the
application were reloaded, the loadLibrary() call would be attempted a second
time.

To avoid this problem, place classes that load native libraries outside of the
web application, and ensure that the loadLibrary() call is executed only once
during the lifetime of a particular JVM.


Any help would be appreciated.

Thanks



Brian Hanuska



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




Unload a servlet in tomcat

2002-01-29 Thread Héctor Garcia Peris

Hello everybody,

I'm using tomcat 3.22 + apache to serve servlets in a web. Normally, when I 
modify a servlet and I recompile it, the servlet in memory is substituted 
by the new servlet, but sometimes the old servlet remains in the server memory.

Anybody knows some way to unload the servlet from memory without shutting 
down and starting up tomcat?

Thanks.

-

Héctor Garcia Peris
Dpto. Informática
Instituto Valenciano de Investigaciones Económicas S.A. (Ivie)
C/ Guardia Civil, 22 esc-2 1º 46020 - Valencia (Spain)
Tfno.: +34 - 963190050 / +34 - 963930816
Fax.: +34 - 963190055 / +34 - 963930856
e-mail: [EMAIL PROTECTED]
--



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




Re: Is this a stupid question or something? Why no nibbles?

2002-01-29 Thread August Detlefsen

This is actually the second time I posted this exact same config to the
list. If someone tells me how to update the docs, I will put it there
too. 

-August

--- Micael Padraig Og mac Grene [EMAIL PROTECTED] wrote:
 Thank you, August.  A couple of these examples (pictures) in the 
 documentation, for me, would have been worth a thousand words.  Had
 my 
 stuff going minutes after you sent this.  I really appreciate it.  If
 I can 
 be of assistance anytime, please let me know.  Micael
 
 At 03:02 PM 1/27/02 -0800, you wrote:
 Are you using tomcat standalone or with Apache? With Apache, you can
 configure them as separate virtual hosts for each of the URLs. As
 long
 as there is one entry for the domain name in the hosts file it will
 work:
 
 /etc/hosts :
 
 12.34.56.78mycompany.com
 
 
 virtual host setup in apache httpd.conf:
 
 VirtualHost 12.34.56.78
  ServerName dev1.mycompany.com
  DocumentRoot /home/dev1/www
 
  # deplay webapps for this site
  WebAppDeploy ROOT  conn  /
  # will set the default webapp dir for this virtual host
  # to: /home/dev1/www/ROOT/
 
 /VirtualHost
 
 
 virtual host setup in server.xml:
 
!-- dev1.mycompany.com virtual host --
Host name=dev1.mycompany.com debug=0
 appBase=/home/dev1/www unpackWARs=true
 
  !-- Normally, users must authenticate themselves to each
 web
 app
   individually.  Uncomment the following entry if you
 would
 like
   a user to be authenticated the first time they
 encounter a
   resource protected by a security constraint, and then
 have
 that
   user identity maintained across *all* web applications
 contained
   in this virtual host. --
  !--
  Valve
 className=org.apache.catalina.authenticator.SingleSignOn
 debug=0/
  --
 
  !-- Access log processes all requests for this virtual
 host.
 By
   default, log files are created in the logs directory
 relative to
   $CATALINA_HOME.  If you wish, you can specify a
 different
   directory with the directory attribute.  Specify
 either
 a relative
   (to $CATALINA_HOME) or absolute path to the desired
 directory.
  --
  Valve
 className=org.apache.catalina.valves.AccessLogValve
   directory=logs 
 prefix=codemagi_com_access_log.
 suffix=.txt
   pattern=common/
 
  !-- Logger shared by all Contexts related to this virtual
 host.  By
   default (when using FileLogger), log files are created
 in
 the logs
   directory relative to $CATALINA_HOME.  If you wish,
 you
 can specify
   a different directory with the directory attribute.
 Specify either a
   relative (to $CATALINA_HOME) or absolute path to the
 desired
   directory.--
  Logger className=org.apache.catalina.logger.FileLogger
   directory=logs  prefix=dev1_log. suffix=.txt
  timestamp=true/
 
  !-- Define properties for each web application.  This is
 only
 needed
   if you want to set non-default properties, or have web
 application
   document roots in places other than the virtual host's
 appBase
   directory.  --
 
  !-- Tomcat Root Context --
  Context path= docBase=ROOT debug=0/
 
  !-- Tomcat Manager Context --
  Context path=/manager
 docBase=/usr/local/catalina/webapps/manager debug=0
 privileged=true /
 
/Host
 
 
 
 
 --- Micael Padraig Og mac Grene [EMAIL PROTECTED] wrote:
  
  
   At 04:16 AM 1/26/02 -0800, you wrote:
  
   --- Micael Padraig Og mac Grene
   [EMAIL PROTECTED] wrote:
 At 01:08 AM 1/25/02 -0800, you wrote:
 FIRST
 
 If I want several development urls, e.g.
 
  app1.mycompany.com
  app2.mycompany.com
  app3.mycompany.com
 
 to be accessed through one registered url, e.g.
 
  www.mycompany.com
 
 can I do this with server.xml alone or do I have to
 also configrue the dns
 server to cooperate?
   
   Are you accessing these dev urls from outside your
   local LAN or inside? Do you have an internal DNS
   server? You are going to have to configure DNS for
   machines outside of your LAN to know what IP address
   app1.mycompany.com should resolve to. If you are only
   concerned w/ 1 or 2 internal machines you could set up
   a host file on those machines that maps the different
   name to the same IP address. Of course, if these are
   to be different contexts you will have to edit
   server.xml . I have yet to upgrade to 4.0 so I can't
   answer in detail about that.
   
   SNIP
   
   =
   [EMAIL PROTECTED]
   Hacking is a Good Thing!
  
   -- Thanks Charles,
  
   Access is from outside.  I will have an internal dns server in
 about
   a
   month, but right now it is being 

RE: JDBC Class Location on Linux

2002-01-29 Thread Swart, James (Jim) %

Is this how I update my ODBC to 3.0 or is that in the JDK?

-
J a m e s   B.   S w a r t
Agere Systems - Colorado Design Centers
Everything IT Related.  Period.
VOICE: 720-494-2330 ¿ FAX: 720-494-2331


-Original Message-
From: Gapinski, Gary (GEL, MSX) [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 29, 2002 10:34 AM
To: 'Tomcat Users List'
Subject: RE: JDBC Class Location on Linux


Rename classes12.zip to classes12.jar and place it in
CATALINA_HOME/common/lib.

-Original Message-
From: Timlin, Bob [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 29, 2002 12:33 PM
To: [EMAIL PROTECTED]
Subject: JDBC Class Location on Linux


Can anyone tell which directory I should place JDBC class files in on Linux.
Specifically I am running SuSE Linux 7.2 and Oracle9i.

 

Thanks


--
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: problem with manager for virtual hosts

2002-01-29 Thread August Detlefsen

I had to specify the full path to the manager app to get it to work for
virtual hosts. Because manager is mounted at /manager, but is actually
installed at /usr/local/catalina/webapps/manager. If you just specify
manager for docbase it looks for it at /home/infoelog/website/manager

Here is my manager context definition (for each virtual host): 

!-- Tomcat Manager Context --
Context path=/manager docBase=/usr/local/catalina/webapps/manager
debug=0 privileged=true /

Also, if you are using Apache with Tomcat, you will have to mount it in
httpd.conf too (for each virtual host): 

WebAppDeploy manager   conn  /manager

-August




--- Frank Gadegast [EMAIL PROTECTED] wrote:
 
 Hi,
 
 (short: how to configure, start and use managers for virtual hosts ?)
 
 Have a tomcat 4.1 server running on a server with several IPs.
 Beside the usual default host, there are two other virtual hosts.
 
 Problem: calling the manager via
 http://IP:7100/manager/list
 list only the contexts defined in the default host, whatever IP I
 use.
 
 Trying to call the manager of the virtual hosts via
 http://hostname:7100/manager/list
 always results in a
   Apache Tomcat/4.0.1 - HTTP Status 404 -
   /manager/list
   type Status report
   message /manager/list
   description The requested resource (/manager/list) is not
 available.
 
 
 A typical virtual host configuration looks like:
 
 Host name=www.infoelog.net debug=0
 appBase=/home/infoelog/website unpackWARs=true
 
  Valve className=org.apache.catalina.valves.AccessLogValve
  directory=logs 
 prefix=tomcat_access_log.www.infoelog.net suffix=.txt
  pattern=common/
 
  Context path=/manager docBase=manager debug=0
 privileged=true/
 
  Context path=/
  docBase=/home/infoelog/website/
  crossContext=false
  debug=0
  reloadable=true /
 
  Context path=/servlet
  docBase=/home/infoelog/website/servlet
  crossContext=false
  debug=0
  reloadable=true /
 /Host
 
 Surely both virtual hosts work perfectly, except the manager ...
 
 Whats wrong ?
 
 
 
 Any help appriciated, Frank
 --
 PHADE Software - PowerWeb  
 http://www.powerweb.de
 Inh. Dipl.-Inform. Frank Gadegast
 mailto:[EMAIL PROTECTED]
 Otto-Nagel-Str. 1afon: +49 331
 2370780
 14467 Potsdam, Germanyfax: +49 331
 2370781

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


__
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com

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




RE: directory browsing

2002-01-29 Thread August Detlefsen

In web.xml look for this section, and make sure param-name listings
is false: 

  servlet
servlet-namedefault/servlet-name
   
servlet-classorg.apache.catalina.servlets.DefaultServlet/servlet-class
init-param
  param-namedebug/param-name
  param-value0/param-value
/init-param
init-param
  param-namelistings/param-name
  param-valuefalse/param-value
/init-param
load-on-startup1/load-on-startup
  /servlet


--- Anton Brazhnyk [EMAIL PROTECTED] wrote:
 Hi,
 
  -Original Message-
  From: Charles N. Harvey III [mailto:[EMAIL PROTECTED]]
  Sent: Friday, January 25, 2002 9:57 PM
  To: Tomcat Users List
  Subject: directory browsing
  
  
  I now that Ishould be able to find this out for myself but...
  I can't figure out how to turn off directory browsing.
  I a single app or in tomcat in general.  I will keep searching
  the docs but if someone could help me out I would be greatful.
  
 
 A good place to start is CATALINA_HOME/conf/web.xml 
 (assuming you use TC4). Look at default servlet params.
 
  Charlie
  
 
 Anton.
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 


__
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com

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




Re: struts tag examples in JSP form page

2002-01-29 Thread Craig R. McClanahan



On Tue, 29 Jan 2002, Henry Lu wrote:

 Date: Tue, 29 Jan 2002 12:03:24 -0500
 From: Henry Lu [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: struts tag examples in JSP form page

 Is there any one who may send me a real JSP file with a form with the struts tags of
 text,
 radio,
 textare,
 checkbox,
 select
 hidden


Can we PLEASE take this over to the STRUTS-USER list?  (By the way, the
response will most likely be look at the example application included
with Struts.

 items?

 Thanks, Henry


Craig


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




Re: some tuning ...

2002-01-29 Thread August Detlefsen

You shouldn't need to define 2 services in server.xml. Just use 1
service with 2 virtual hosts. 

-August


--- Julien OIX [EMAIL PROTECTED] wrote:
 hi,
 
 I'm using Tomcat 4.0.1-1, Apache 1.3.22 under RedHat Linux 7.1
 
 here's my problem:
 
 my website can be accessed by a front-office or a back-office, but
 this
 is the same webapp ...
 
 I'd like the two parts can be reached either by  mysite.mydomain.fr
 (path_to_webapp/index.jsp)
   and  myadmin.mydomain.fr
 (path_to_webapp/adminsite/frameset.html)
 
 I suppose I deploy only one WarpConnector.
 
 How can I do ?
 
 I tried this way:
   put 2 VirtualHosts in httpd.conf, having the WebAppConnection in the
 main config and a WebAppDeploy in each; 
   defined 2 Services in the server.xml with Host and Context
 directives
 
 it doesn't work
 
 has anyone some tips ?
 
 thanks in advance
 
 
 Julien OIX
 Service Informatique de Gestion
 Tél: 02 40 99 83 65
 mail: [EMAIL PROTECTED]
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 


__
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com

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




Re: SOAP Tutorial

2002-01-29 Thread faisal

check  the www.java.sun.com. A soap pack was just released today
- Original Message -
From: Magnus Jansson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, January 25, 2002 7:45 AM
Subject: OT: SOAP Tutorial


Hi!

I'm very new to SOAP and I have no idea what it is. Is there a small
tutorial or other description or article what SOAP is.


--
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: SOAP Tutorial

2002-01-29 Thread Denny Chambers

This site may also provide some useful information:

http://www.w3.org/2002/ws/

faisal wrote:
 
 check  the www.java.sun.com. A soap pack was just released today
 - Original Message -
 From: Magnus Jansson [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, January 25, 2002 7:45 AM
 Subject: OT: SOAP Tutorial
 
 Hi!
 
 I'm very new to SOAP and I have no idea what it is. Is there a small
 tutorial or other description or article what SOAP is.
 
 --
 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]

-- 
Denny Chambers
Quantum Corporation, Inc.
Network Attached Storage Division
Java Linux Engineer
Phone: 251-478-5730
Cell: 251-605-3446
IM: [EMAIL PROTECTED]

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




RE: Session visibility

2002-01-29 Thread Jason Webber

I am using Cookies to keep the sesison information.  I am using servlets
to preform some autheication for a standalone program.  From the
standalone program(which is in Java), I also pop up a browser window and
want it to login automatically to some JSP pages, in other words I want
the session to carry over.  For the intial JSP login I will pass the
sessionid as part of the URL.  How can I make sure that the servlet and
the jsp pages are in the same context?

The servlet is stored under ROOT/WEB-INF/classes/


 I have sessions setup for a couple of different servlets.  For some
 reason the session that are created using one servlet are not
 valid in a
 different servlet.  Is there a way to make this happen?

Assuming when you say servlet you mean jsp page (which is slightly
different):

If they are in the same context they should be.  You need to give us
more
information.

1) Have you got cookies enabled, and/or are you using encodeURL?
2) Are they in the same context?
3) Err...
4) That's it.

Justin.
--
You're only jealous cos the little penguins are talking to me.




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




  1   2   >