RE: Tomcat Realm Authentication + Storing Objects In The Session

2004-03-10 Thread Ronald Wildenberg
> My biggest unknown right now is, because the server handles 
> the creation
> of the session, what would it take to make the server grab a 
> user object
> from the database and store it in the session after the user 
> logs in?  
> 


Can't you use an HttpSessionListener for this? It is called right
after a session is created (and when it's destroyed again). I'm
not sure though whether there's enough information in the HttpSession
object for you to be able to grab something from the database at
the time HttpSessionListener.sessionCreated() is called.

Regards,
Ronald.

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



RE: xcuse me...

2004-03-10 Thread SH Solutions
Hi

> Hi, I knowed this list from google when I did some google's dig for
setting tomcat in serving application from J2ME.

Are you sure about J2ME?
I've heard rumors, that on J2ME you have to use tomcat 3.x.

> If I have Tomcat installed, does it still necessary to install Apache (for
development purpose only).

Usually tomcat can run standalone.
But are you saying, you want to install apache [httpd] on a mobile phone?

J2ME [Mobile Edition] is for wireless/mobile systems.

I assume you need to switch to J2SE (which you should have used in the first
place) or J2EE and it will work.

cu
  Steffen


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



RE: Stable Version

2004-03-10 Thread Ralph Einfeldt

For the os patches have a look at:
http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/J2SE

> -Original Message-
> From: Ralph Einfeldt 
> Sent: Thursday, March 11, 2004 7:39 AM
> To: Tomcat Users List
> Subject: RE: Stable Version
> 
> 
> Your problem doesn't have to do much with the 'most stable tamcat'.
> This is an jvm error. (Although a change in the tomcat version may 
> get you around this bug, but that is accidently)
> 
> - Make shure you have all required os patches for your os.
> - Maybe you have to look for a newer jvm version for your os.
> - Maybe you have to look for a newer os version
>   (You didn't mention the os and it's version)
> 
> As I haven't any current experience with java on sun hardware and os
> I'm not shure what the latest versions for the jdk and the os are.
> (AFAIK 1.4.2_04 for the jvm)
> 
> > -Original Message-
> > From: Rob Wichterman [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, March 10, 2004 10:52 PM
> > To: 'Tomcat Users List'
> > Subject: Stable Version
> > 
> > 
> > I am trying to get tomcat4.1.30 to work with my webapp.  It 
> > keeps dying with the following error:  This seems to happen while 
> > it is compiling the jsp's.
> > Any help would be appreciated.  Which release is the most stable?
> > 
> > Unexpected Signal : 10 occurred at PC=0xFE2315BC
> > 
> > Function=[Unknown. Nearest: JVM_IsSameClassPackage+0x86150]
> > 
> > Library=/usr/j2sdk1.4.2_02/jre/lib/sparc/client/libjvm.so
> > 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

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



RE: Stable Version

2004-03-10 Thread Ralph Einfeldt
Your problem doesn't have to do much with the 'most stable tamcat'.
This is an jvm error. (Although a change in the tomcat version may 
get you around this bug, but that is accidently)

- Make shure you have all required os patches for your os.
- Maybe you have to look for a newer jvm version for your os.
- Maybe you have to look for a newer os version
  (You didn't mention the os and it's version)

As I haven't any current experience with java on sun hardware and os
I'm not shure what the latest versions for the jdk and the os are.
(AFAIK 1.4.2_04 for the jvm)

> -Original Message-
> From: Rob Wichterman [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 10, 2004 10:52 PM
> To: 'Tomcat Users List'
> Subject: Stable Version
> 
> 
> I am trying to get tomcat4.1.30 to work with my webapp.  It 
> keeps dying with the following error:  This seems to happen while 
> it is compiling the jsp's.
> Any help would be appreciated.  Which release is the most stable?
> 
> Unexpected Signal : 10 occurred at PC=0xFE2315BC
> 
> Function=[Unknown. Nearest: JVM_IsSameClassPackage+0x86150]
> 
> Library=/usr/j2sdk1.4.2_02/jre/lib/sparc/client/libjvm.so
> 

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



Re: Plm with web.xml - Tomcat 4.1.27

2004-03-10 Thread S.Latha Kamatchi
Good Morning Doug,
 
Let me try this and let u know...
 
Thanks for the reply
Latha

Parsons Technical Services <[EMAIL PROTECTED]> wrote:
Latha,

For TC4 you need the web.xml to be this:


PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd";>



testServlet
Testing
yourPackageName.testServlet



testServlet
/testServlet





In TC4 you have to have both (if I understand correctly) and when you map
you don't need the /servlet in the pattern.

Give it a try.
Note all servlet tags must be grouped together and occur before the mapping
tags.

Doug
www.parsonstechnical.com



>
> My xml file is as follows:
>
> 
> > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
> "http://java.sun.com/dtd/web-app_2_3.dtd";>
> 
>
> 
> testServlet
> /servlet/testServlet
> 
>
> 
>



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


-
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster.

Re: tomcat services do not start after jdk1.4.2 install - even new tomcat

2004-03-10 Thread Bill Barker
The NetBeans co-bundle doesn't set the Windows registry entries correctly
for the service to work.  The easiest way around this is to uninstall the
NetBeans co-bundle, install the 1.4.2 SDK (it's the one below NetBeans on
Sun's site), and then if you want NetBeans as well, go ahead and install
that.

"Allistair Crossley" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
hey guys (again) .. seem to be having a few issues today.

i had apache tomcat 5.0 and tomcat 5.0.18 installed both as services and
both using jdk1.4.1 this morning. the services worked just fine.

i decided to install jdk1.4.2. the first thing i did was uninstall jdk1.4.1.
as soon as I did this i installed 1.4.2 and then updated JAVA_HOME to this.
i tried to restart the 2 tomcat services and they now do not respond and
fail. I restarted the machine and the services just won't start (error: the
service will not respond).

i figured this had to be related to not being able to find java? I looked at
the services.bat and it does not even refer to JAVA_HOME but it does have
java in it. So i checked that my system path had the jdk1.4.2\bin in it and
java works on the command line.

furthermore I can start the 2 tomcat installations using the startup.bat
scripts... the problem is confined to the services.

so i tried "service uninstall" to get rid of the services and then I
reinstalled them "service install" and they still do not work.

I then downloaded a new tomcat 5.0.19 and tried the service and it does not
work.

i think i have exhausted the possibilities now and would appreciate someone
suggesting something else ..



---
QAS Ltd.
Developers of QuickAddress Software
http://www.qas.com";>www.qas.com
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---






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



tomcat4.1 for windows

2004-03-10 Thread yuni indrasary

Hi, I recognized this list when doing some google's
dig. My final project in college is about developping
a wireless application (MIDlet, and using
HTTPconnection)that supposed to be served by servlet.
The MIDlet and servlet(using doPOST method) works well
when compiled, but when I try to run it from J2ME
WTK4.0, it promps error message that says somethink
like this:
"Servlet Exception:Null at doPOST..blah..blah" and
"Internal Error...blah..blah"
when I run this application, I used Win98se,
J2meWTK4.0, and Tomcat4.1.29.
I thought maybe it's about the server.xml
configuration file or should I install apache also? 
Would anybody be so kind to tell me some hints to set
the server configuration so it can serve the
application properly?
thank's a lot for advance..:) 

ps forgive me for my bad english, hopefully yu still
catch the idea

__
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com

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



xcuse me...

2004-03-10 Thread yuni indrasary

Hi, I knowed this list from google when I did some
google's dig for setting tomcat in serving application
from J2ME. When I try to run my application (it use
HTTPServlet with doPost method) from J2ME wtk I got
"Servlet Exception:null"and"Internal Error from
catalina" message at the device emulator. I think it's
about my configuration file that haven't set properly.
Could someone be so kind to tell me some hints to
configure the server so it can serve my application
properly?. If I have Tomcat installed, does it still
necessary to install Apache (for development purpose
only). Here is the SW and HW spec that I use:
HW:
P2, HD 20GB, RAM 128
Win98 se, J2me WTK4.0, Tomcat 4.1.29
thank's a lot for advance...:)

ps my english still very bad, hopefully you still
catch the idea.. 

__
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com

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



Re: java.library.path question???

2004-03-10 Thread Justin Ruthenbeck
Some hints to get you there...

Think about how you start Tomcat (assuming it's not as a Windows 
service).  If you were to edit that startup script to add your dll 
location to the java.library.path, then it would be available when you 
run.  If you're running with low-level tools, this will be 
straight-forward.  If you're running with an IDE, it'll be a tad more 
complicated (like everything else).

justin

At 05:29 PM 3/10/2004, you wrote:
When I run a servlet in Tomcat that executes some JNI code that calls a 
DLL,
it fails with an 'unsatisfiedlinkerror'. The problem is that my DLL that 
JNI
uses was
not in my SYSTEM path. When I put it in there, all is well.
What I would like to do is NOT put it in my SYSTEM path, but rather into a
configuration file.
Which config file/startup file do I modify so that the java.library.path
System property will
hold this path???

i.e.
System.getProperty("java.library.path") needs to also have my DLL's
directory in it
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


__
Justin Ruthenbeck
Software Engineer, NextEngine Inc.
justinr - AT - nextengine DOT com
Confidential. See:
http://www.nextengine.com/confidentiality.php
__
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


java.library.path question???

2004-03-10 Thread John MccLain
When I run a servlet in Tomcat that executes some JNI code that calls a DLL,
it fails with an 'unsatisfiedlinkerror'. The problem is that my DLL that JNI
uses was
not in my SYSTEM path. When I put it in there, all is well.
What I would like to do is NOT put it in my SYSTEM path, but rather into a
configuration file.
Which config file/startup file do I modify so that the java.library.path
System property will
hold this path???

i.e.
System.getProperty("java.library.path") needs to also have my DLL's
directory in it


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



Context Paths

2004-03-10 Thread cameron
I have the following in my server.xml:

   
   
   
   

The code in 'MyContext' is a library of code that I am hoping to be able 
to reuse in serval sites on the same server. The thing is it needs a 
config file and  I would like the config file to always be in the root 
of the site. The thing is if I do a get getRealPath("/") from the code 
in MyContext it will always return SomePath3. How do I get the docbase 
of the "" context, (SomePath2)? or even of the virtual host, 
(SomePath1), from with in MyContext.

I guess I am asking if it is possible to getRealPath cross context?

Thanks

-Cam



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


RE: java system toolkit (opensource) servlet access question

2004-03-10 Thread Filip Hanik \(lists\)
you are missing a DLL or something from your PATH variable,
Eclipse is probably setting this for you, inside eclipse, print
java.library.path variable from System.getProperties() at least that is what
I think it is, to be on the safe side do a

System.getProperties().list(System.out);

Filip

-Original Message-
From: John MccLain [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 10, 2004 6:00 PM
To: Tomcat user list
Subject: java system toolkit (opensource) servlet access question


I would like to use the cool opensource project JST, which accesses windows
registries.
I wish simply to read a value from it.
When I run the sample app in eclipse, it works fine - I get my registry
entry.
But when I run it from a servlet I get the following error:

---
java.lang.UnsatisfiedLinkError: no jst in java.library.path
java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)
java.lang.Runtime.loadLibrary0(Runtime.java:788)
.
.
.
--
The JST code is JNI code that links to a .dll file (jst.dll)
does this have something to do with it?? Why should it run different
in a servlet container than as a standalone app? - From the error above,
How do I set my java.library.path to include jst.dll??


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.614 / Virus Database: 393 - Release Date: 3/5/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.614 / Virus Database: 393 - Release Date: 3/5/2004


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



java system toolkit (opensource) servlet access question

2004-03-10 Thread John MccLain
I would like to use the cool opensource project JST, which accesses windows
registries.
I wish simply to read a value from it.
When I run the sample app in eclipse, it works fine - I get my registry
entry.
But when I run it from a servlet I get the following error:

---
java.lang.UnsatisfiedLinkError: no jst in java.library.path
java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)
java.lang.Runtime.loadLibrary0(Runtime.java:788)
.
.
.
--
The JST code is JNI code that links to a .dll file (jst.dll)
does this have something to do with it?? Why should it run different
in a servlet container than as a standalone app? - From the error above,
How do I set my java.library.path to include jst.dll??


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



[NON DELIVERY NOTIFICATION]

2004-03-10 Thread noreply
This message was verified by the filtering system of our mail server.

Original message was replaced by this one for the following reason:
*** A suspicious file (executable code) was found in the message !

Original message had the following attached files:
   (X-FILE ??? ) : mp3music.pif
TYPE : application/octet-stream

   SUSPECT FILES : 1

Original message was sent by
   From : <[EMAIL PROTECTED]>

If you did not send the original message, it is likely that it came to
us with a forged header, and you can safely ignore this warning.

If you think this is an error and the message should not be rejected by
the filtering system, or if you have any questions, you can contact us:
  [EMAIL PROTECTED]

Sincerely,
  [EMAIL PROTECTED]

 j-chkmail - (c) Ecole des Mines de Paris 2002


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



RE: webapps\ROOT\WEB-INF\classes

2004-03-10 Thread Colin McKinstry
No, no taglib. Thanks though.

> -Original Message-
> From: Schalk [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 11 March 2004 11:34 a.m.
> To: 'Tomcat Users List'
> Subject: RE: webapps\ROOT\WEB-INF\classes
> 
> 
> Do you have this set-up as a taglib? If so, do you have the 
> needed .tld file
> to describe your tag library.
> 
> Kind Regards
> Schalk Neethling
> Web Developer.Designer.Programmer.President
> Volume4.Development.Multimedia.Branding
> emotionalize.conceptualize.visualize.realize
> Tel: +27125468436
> Fax: +27125468436
> email:[EMAIL PROTECTED]
> web: www.volume4.com
>  
> This message contains information that is considered to be 
> sensitive or
> confidential and may not be forwarded or disclosed to any other party
> without the permission of the sender. If you received this 
> message in error,
> please notify me immediately so that I can correct and delete 
> the original
> email. Thank you. 
> 
> :: -Original Message-
> :: From: Colin McKinstry [mailto:[EMAIL PROTECTED]
> :: Sent: Thursday, March 11, 2004 12:24 AM
> :: To: Tomcat Users List
> :: Subject: RE: webapps\ROOT\WEB-INF\classes
> :: 
> :: Wendy wrote:
> :: 
> :: > Did you add/change the import directive in the JSP?
> :: 
> :: Yes.
> :: 
> :: <%@ page language="java" import="com.stevensons.*" %>
> :: 
> :: 
> ::
> :: 
> :: Etc.,
> :: 
> ::  Perhaps
> :: > we'd better
> :: > start over.
> :: >
> :: > You've added the package statement to Fruit.java, 
> correct?  Then you
> :: > need to compile it, and place it in
> :: > WEB-INF/classes/com/stevensons .
> :: 
> :: Yes, and it is that location.
> :: 
> :: If
> :: > all that is done, please post the JSP code that Tomcat 
> is complaining
> :: > about.
> :: >
> :: Exception
> :: 
> :: org.apache.jasper.JasperException: Cannot create bean of 
> class Fruit
> ::at
> ::
> org.apache.jasper.servlet.JspServletWrapper.service(JspServlet
> Wrapper.java:2
> 54)
> :: 
> :: (etc)
> :: 
> :: and
> :: 
> :: Root cause
> :: 
> :: javax.servlet.ServletException: Cannot create bean of class Fruit
> ::at
> org.apache.jsp.addToCatalog_jsp._jspService(addToCatalog_jsp.java:52)
> :: 
> :: (etc)
> :: 
> :: Thanks,
> :: 
> :: 
> :: 
> -
> :: To unsubscribe, e-mail: [EMAIL PROTECTED]
> :: For additional commands, e-mail: 
> [EMAIL PROTECTED]
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

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



RE: OT: Java Hosting

2004-03-10 Thread Schalk
Thanks

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.com
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: phil campaigne [mailto:[EMAIL PROTECTED]
:: Sent: Thursday, March 11, 2004 12:14 AM
:: To: Tomcat Users List
:: Subject: Re: OT: Java Hosting
:: 
:: Schalk wrote:
:: 
:: >Does anyone know of a good hosting company that hosts Java. All the
:: >companies I have talked to seem to have some limitations, either you
cannot
:: >set-up your own custom servlet-mappings via web.xml, or the Tomcat
version
:: >is old, shared instances of Tomcat that does not allow me the freedom to
:: >stop and start Tomcat as the need arises etc.
:: >
:: >Any help in this regard would be much appreciated.
:: >
:: >Kind Regards
:: >Schalk Neethling
:: >Web Developer.Designer.Programmer.President
:: >Volume4.Development.Multimedia.Branding
:: >emotionalize.conceptualize.visualize.realize
:: >Tel: +27125468436
:: >Fax: +27125468436
:: >email:[EMAIL PROTECTED]
:: >web: www.volume4.com
:: >
:: >This message contains information that is considered to be sensitive or
:: >confidential and may not be forwarded or disclosed to any other party
:: >without the permission of the sender. If you received this message in
error,
:: >please notify me immediately so that I can correct and delete the
original
:: >email. Thank you.
:: >
:: >:: -Original Message-
:: >:: From: Asif Chowdhary [mailto:[EMAIL PROTECTED]
:: >:: Sent: Wednesday, March 10, 2004 7:10 PM
:: >:: To: Tomcat Users List
:: >:: Subject: RE: Tomcat on linux : IBM JDK 1.3.1 -
:: >::
:: >:: Thank you.
:: >::
:: >:: setting the LD_ASSUME_KERNEL=2.2.5 in the user profile works.
:: >::
:: >::
:: >:: -Original Message-
:: >:: From: Lerias, Hugo [mailto:[EMAIL PROTECTED]
:: >:: Sent: Wednesday, March 10, 2004 11:57 AM
:: >:: To: Lerias, Hugo; Tomcat Users List
:: >:: Subject: RE: Tomcat on linux : IBM JDK 1.3.1 -
:: >::
:: >::
:: >:: Take a look at this post:
:: >:: http://www.linux-sxs.org/programming/ibm-java.html#APPENDIX_A
:: >::
:: >:: Cheers,
:: >:: Hugo
:: >::
:: >:: -Original Message-
:: >:: From: Lerias, Hugo
:: >:: Sent: Mittwoch, 10. März 2004 17:55
:: >:: To: 'Tomcat Users List'
:: >:: Subject: RE: Tomcat on linux : IBM JDK 1.3.1 -
:: >::
:: >::
:: >:: Are you trying to use IBM jdk 1.3 on red hat 9?
:: >::
:: >:: Hugo
:: >::
:: >:: -Original Message-
:: >:: From: Asif Chowdhary [mailto:[EMAIL PROTECTED]
:: >:: Sent: Mittwoch, 10. März 2004 17:42
:: >:: To: [EMAIL PROTECTED]
:: >:: Subject: Tomcat on linux : IBM JDK 1.3.1 -
:: >::
:: >::
:: >:: Hi,
:: >::
:: >:: I am installing tomcat on RH9.
:: >:: Tomcat version is 4.1.27 and the file is jakarta-tomcat-4.1.27.tar.gz
:: >::
:: >:: The installation works with JDK 1.4
:: >::
:: >:: but tomcat does not start when I try to use JDK 1.3.1
:: >:: The browser returns the message Unable to connect to localhost with
:: >:: http://localhost:8080/.
:: >::
:: >::
:: >:: Any suggestions.
:: >::
:: >::
:: >:: Asif
:: >::
:: >:: -
:: >:: To unsubscribe, e-mail: [EMAIL PROTECTED]
:: >:: For additional commands, e-mail: [EMAIL PROTECTED]
:: >::
:: >::
:: >:: -
:: >:: To unsubscribe, e-mail: [EMAIL PROTECTED]
:: >:: For additional commands, e-mail: [EMAIL PROTECTED]
:: >::
:: >::
:: >::
:: >:: -
:: >:: To unsubscribe, e-mail: [EMAIL PROTECTED]
:: >:: For additional commands, e-mail: [EMAIL PROTECTED]
:: >
:: >
:: >
:: >
:: >-
:: >To unsubscribe, e-mail: [EMAIL PROTECTED]
:: >For additional commands, e-mail: [EMAIL PROTECTED]
:: >
:: >
:: >
:: >
:: Try kgbinternet.com.  They have very reasonable developer accounts with
:: tomcat and mysql or postgresql.  They have dedicated jvm's so you can
:: start and stop your own tomcat.  I have used them with good success.
::  The person to talk to is
:: Keith Bjorndahl at [EMAIL PROTECTED]
:: Good luck,
:: Phil Campaigne
:: 
:: 
:: 
:: -
:: To unsubscribe, e-mail: [EMAIL PROTECTED]
:: For additional commands, e-mail: [EMAIL PROTECTED]



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



RE: webapps\ROOT\WEB-INF\classes

2004-03-10 Thread Schalk
Do you have this set-up as a taglib? If so, do you have the needed .tld file
to describe your tag library.

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.com
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Colin McKinstry [mailto:[EMAIL PROTECTED]
:: Sent: Thursday, March 11, 2004 12:24 AM
:: To: Tomcat Users List
:: Subject: RE: webapps\ROOT\WEB-INF\classes
:: 
:: Wendy wrote:
:: 
:: > Did you add/change the import directive in the JSP?
:: 
:: Yes.
:: 
:: <%@ page language="java" import="com.stevensons.*" %>
:: 
:: 
::  
:: 
:: Etc.,
:: 
::  Perhaps
:: > we'd better
:: > start over.
:: >
:: > You've added the package statement to Fruit.java, correct?  Then you
:: > need to compile it, and place it in
:: > WEB-INF/classes/com/stevensons .
:: 
:: Yes, and it is that location.
:: 
:: If
:: > all that is done, please post the JSP code that Tomcat is complaining
:: > about.
:: >
:: Exception
:: 
:: org.apache.jasper.JasperException: Cannot create bean of class Fruit
::  at
::
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
54)
:: 
:: (etc)
:: 
:: and
:: 
:: Root cause
:: 
:: javax.servlet.ServletException: Cannot create bean of class Fruit
::  at
org.apache.jsp.addToCatalog_jsp._jspService(addToCatalog_jsp.java:52)
:: 
:: (etc)
:: 
:: Thanks,
:: 
:: 
:: -
:: To unsubscribe, e-mail: [EMAIL PROTECTED]
:: For additional commands, e-mail: [EMAIL PROTECTED]




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



RE: Log4j initialisation problem.

2004-03-10 Thread Michael Forster
That sorted it, Thank you, it is a real bind trying to work out what files
are needed and what files are not needed.

and I only touched EJb;s and Tomcat/openejb for the first time 3 weeks ago,
this group has been a great help and I am just
greatful that there is so much help available for us beginners.

Mike.

> -Original Message-
> From: Yansheng Lin [mailto:[EMAIL PROTECTED]
> Sent: 10 March 2004 20:20
> To: 'Tomcat Users List'
> Subject: RE: Log4j initialisation problem.
>
>
> Hi, the Logger component you are looking at has nothing to do
> with log4j.  Also
> you are using a relative path for the prefix.  Try to use
> "${TOMCAT_HOME}/logs/mysite_tomcat_log." or simply the absolute path.
>
> For log4j, I think the following instruction will get you going on your
> log4j:WARN problem.
> 
> To have Tomcat use log4j universally, place both log4j.jar and the Jakarta
> commons-logging.jar into the $TOMCAT_HOME/common/lib directory.
> Create your
> log4j properties file as $TOMCAT_HOME/common/classes/log4j.properties and
> configure the root logger. Here is the basic log4j.properties I
> used for this
> myself:
>
> log4j.rootLogger=info, R
> log4j.appender.R=org.apache.log4j.ConsoleAppender
> log4j.appender.R.layout=org.apache.log4j.PatternLayout
> log4j.appender.R.layout.ConversionPattern=%-5p %-30.30c{1} %x - %m%n
>
> If you only need to use log4j in your own web app, just include
> log4j (and any
> log4j properties file) in your WAR.
> -
>
>
>
> -Original Message-
> From: Michael Forster [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 10, 2004 12:47 PM
> To: Tomcat Users List
> Subject: RE: Log4j initialisation problem.
>
>
> the files and entries are as follows - the error on writing the .xml file
> (causing a reload) was also as follows
>
> log4j:WARN No appenders could be found for logger
> (org.apache.catalina.session.ManagerBase).
> log4j:WARN Please initialize the log4j system properly.
>
> In the mysite.xml file
>  prefix="/dev/tomcat/logs/mysite_tomcat_log." suffix=".txt"
> timestamp="true"/>
>
>
> Mike.
> > -Original Message-
> > From: Yansheng Lin [mailto:[EMAIL PROTECTED]
> > Sent: 10 March 2004 19:39
> > To: 'Tomcat Users List'
> > Subject: RE: Log4j initialisation problem.
> >
> >
> > Sounds to me like a path problem.  you moved the context two
> > levels down when
> > you upgraded from 4 to 5. no?
> >
> > -Original Message-
> > From: Michael Forster [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, March 10, 2004 12:18 PM
> > To: Tomcat-User
> > Subject: Log4j initialisation problem.
> >
> >
> > I recently had to upgrade from 4.1 to 5
> > The new server is running and I have extracted the context out of the
> > server.xml and into the Catalina/localhost/file.xml
> >
> > but I am getting the following problem
> >
> > INFO: Processing Context configuration file URL
> > file:C:\dev\tomcat\conf\Catalina\localhost\mysite.xml
> > log4j:WARN No appenders could be found for logger
> > (org.apache.catalina.startup.TldConfig).
> > log4j:WARN Please initialize the log4j system properly.
> >
> > What am I missing? I cannot find any info on the web that describes this
> > problem
> > the logging.conf is in the right place why is it not using it
> (or if it is
> > what has changed from 4.1 to 5
> >
> > Mike.
> >
> > -BEGIN GEEK CODE BLOCK-
> > Version: 3.12
> > GCM d- s:+ a C UL P+ L+++ E--- W+++ N+++ o+ K w
> > O-- M- V- PS+ PE+ Y+ PGP t+++ 5+++ X- R+++ tv++ h++ DI D++
> > G e+ h++ r+++ y+++
> > --END GEEK CODE BLOCK--
> > ---
> > Outgoing mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.615 / Virus Database: 394 - Release Date: 08/03/2004
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> > ---
> > Incoming mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.615 / Virus Database: 394 - Release Date: 08/03/2004
> >
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.615 / Virus Database: 394 - Release Date: 08/03/2004
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG a

RE: webapps\ROOT\WEB-INF\classes

2004-03-10 Thread Colin McKinstry
Wendy wrote:

> Did you add/change the import directive in the JSP? 

Yes.

<%@ page language="java" import="com.stevensons.*" %>




Etc.,

 Perhaps 
> we'd better
> start over.
> 
> You've added the package statement to Fruit.java, correct?  Then you
> need to compile it, and place it in 
> WEB-INF/classes/com/stevensons .  

Yes, and it is that location.

If
> all that is done, please post the JSP code that Tomcat is complaining
> about.
> 
Exception

org.apache.jasper.JasperException: Cannot create bean of class Fruit
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254)

(etc)

and

Root cause

javax.servlet.ServletException: Cannot create bean of class Fruit
at org.apache.jsp.addToCatalog_jsp._jspService(addToCatalog_jsp.java:52)

(etc)

Thanks,
 

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



Re: OT: Java Hosting

2004-03-10 Thread phil campaigne
Schalk wrote:

Does anyone know of a good hosting company that hosts Java. All the
companies I have talked to seem to have some limitations, either you cannot
set-up your own custom servlet-mappings via web.xml, or the Tomcat version
is old, shared instances of Tomcat that does not allow me the freedom to
stop and start Tomcat as the need arises etc.
Any help in this regard would be much appreciated.

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.com
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Asif Chowdhary [mailto:[EMAIL PROTECTED]
:: Sent: Wednesday, March 10, 2004 7:10 PM
:: To: Tomcat Users List
:: Subject: RE: Tomcat on linux : IBM JDK 1.3.1 -
:: 
:: Thank you.
:: 
:: setting the LD_ASSUME_KERNEL=2.2.5 in the user profile works.
:: 
:: 
:: -Original Message-
:: From: Lerias, Hugo [mailto:[EMAIL PROTECTED]
:: Sent: Wednesday, March 10, 2004 11:57 AM
:: To: Lerias, Hugo; Tomcat Users List
:: Subject: RE: Tomcat on linux : IBM JDK 1.3.1 -
:: 
:: 
:: Take a look at this post:
:: http://www.linux-sxs.org/programming/ibm-java.html#APPENDIX_A
:: 
:: Cheers,
:: Hugo
:: 
:: -Original Message-
:: From: Lerias, Hugo
:: Sent: Mittwoch, 10. März 2004 17:55
:: To: 'Tomcat Users List'
:: Subject: RE: Tomcat on linux : IBM JDK 1.3.1 -
:: 
:: 
:: Are you trying to use IBM jdk 1.3 on red hat 9?
:: 
:: Hugo
:: 
:: -Original Message-
:: From: Asif Chowdhary [mailto:[EMAIL PROTECTED]
:: Sent: Mittwoch, 10. März 2004 17:42
:: To: [EMAIL PROTECTED]
:: Subject: Tomcat on linux : IBM JDK 1.3.1 -
:: 
:: 
:: Hi,
:: 
:: I am installing tomcat on RH9.
:: Tomcat version is 4.1.27 and the file is jakarta-tomcat-4.1.27.tar.gz
:: 
:: The installation works with JDK 1.4
:: 
:: but tomcat does not start when I try to use JDK 1.3.1
:: The browser returns the message Unable to connect to localhost with
:: http://localhost:8080/.
:: 
:: 
:: Any suggestions.
:: 
:: 
:: Asif
:: 
:: -
:: To unsubscribe, e-mail: [EMAIL PROTECTED]
:: For additional commands, e-mail: [EMAIL PROTECTED]
:: 
:: 
:: -
:: To unsubscribe, e-mail: [EMAIL PROTECTED]
:: For additional commands, e-mail: [EMAIL PROTECTED]
:: 
:: 
:: 
:: -
:: To unsubscribe, e-mail: [EMAIL PROTECTED]
:: For additional commands, e-mail: [EMAIL PROTECTED]



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

Try kgbinternet.com.  They have very reasonable developer accounts with 
tomcat and mysql or postgresql.  They have dedicated jvm's so you can 
start and stop your own tomcat.  I have used them with good success. 
The person to talk to is
Keith Bjorndahl at [EMAIL PROTECTED]
Good luck,
Phil Campaigne



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


RE: webapps\ROOT\WEB-INF\classes

2004-03-10 Thread Wendy Smoak
> From: Colin McKinstry [mailto:[EMAIL PROTECTED] 
> Any ideas how to cure it then?
> I've tried declaring it as a package
> package com.stevensons;

Did you add/change the import directive in the JSP?  Perhaps we'd better
start over.

You've added the package statement to Fruit.java, correct?  Then you
need to compile it, and place it in WEB-INF/classes/com/stevensons .  If
all that is done, please post the JSP code that Tomcat is complaining
about.

-- 
Wendy Smoak
Application Systems Analyst, Sr.
ASU IA Information Resources Management 

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



RE: invalid url-pattern

2004-03-10 Thread russo
Yoav:
  Thank You!  That was it. I re-read the servlet spec 2.4, section
"Mapping Requests to Servlets." I see it now. Can't help feeling dumb :(

  I guess OC4J is more liberal in evaluating the mapping or deviated from
the Sun spec here?

Anyway, Thanks Again! :)
-Ryan


>
> Hi,
>
> >What I believe to be the relevant portion of the error from
> catalina.out:
> >java.lang.IllegalArgumentException:
> > Invalid  /tool/*.afr in filter mapping
> >(full error output follows below my sig).
>
> This is an illegal URL pattern as the error message says.  You can have
> suffix patterns (*.afr) and prefix patterns (/tool/*), but not a pattern
> that combined both.
>
> Yoav Shapira

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



RE: webapps\ROOT\WEB-INF\classes

2004-03-10 Thread Colin McKinstry
Any ideas how to cure it then?

I've tried declaring it as a package

package com.stevensons;

> -Original Message-
> From: Wendy Smoak [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 11 March 2004 10:56 a.m.
> To: Tomcat Users List
> Subject: RE: webapps\ROOT\WEB-INF\classes
> 
> 
> > From: Colin McKinstry [mailto:[EMAIL PROTECTED] 
> 
> > I made the class just fine under JDK 1.4
> 
> You can compile the Fruit class just fine unter JDK 1.4, but 
> you cannot
> then import it into any class that *is* in a package.  And JSP's get
> turned into Servlet code that is in a package, so things start to fall
> apart at that point.
> 
> -- 
> Wendy Smoak
> Application Systems Analyst, Sr.
> ASU IA Information Resources Management 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

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



RE: webapps\ROOT\WEB-INF\classes

2004-03-10 Thread Wendy Smoak
> From: Colin McKinstry [mailto:[EMAIL PROTECTED] 

> I made the class just fine under JDK 1.4

You can compile the Fruit class just fine unter JDK 1.4, but you cannot
then import it into any class that *is* in a package.  And JSP's get
turned into Servlet code that is in a package, so things start to fall
apart at that point.

-- 
Wendy Smoak
Application Systems Analyst, Sr.
ASU IA Information Resources Management 

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



Re: AD authentication if exact jndi context not known

2004-03-10 Thread Martin Rostan
Hi, I'm trying to use referrals="follow" in the JNDIRealm in order to 
make it work against Active Directory, but it's not working, I' 
receiving the exception below (I'm supposing the AD process is broken).
Also I've found that the JNDI tutorial says that referrals="follow" 
doesn't work for AD: 
http://java.sun.com/products/jndi/tutorial/ldap/referral/jndi.html

Somebody knows if referrals="follow" is working with Active Directory? 
if somebody has it working, please send me the version of AD you're using.

Thanks in advance

P.S. Sorry if this message arrives duplicated, I sent it yesterday but I 
don't see it on the mailing list.

2004-03-03 09:01:31 JNDIRealm[Standalone]: Exception performing 
authentication
javax.naming.PartialResultException.  Root exception is 
javax.naming.CommunicationException: neptuno:389.  Root exception is 
java.net.ConnectException: Connection timed out: connect
 at java.net.PlainSocketImpl.socketConnect(Native Method)
 at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
 at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
 at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
 at java.net.Socket.connect(Socket.java:426)
 at java.net.Socket.connect(Socket.java:376)
 at java.net.Socket.(Socket.java:291)
 at java.net.Socket.(Socket.java:119)
 at com.sun.jndi.ldap.Connection.createSocket(Connection.java:346)
 at com.sun.jndi.ldap.Connection.(Connection.java:181)
 at com.sun.jndi.ldap.LdapClient.(LdapClient.java:119)
 at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1668)
 at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2528)
 at com.sun.jndi.ldap.LdapCtx.(LdapCtx.java:275)
 at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:173)
 at 
com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:134) 

 at 
com.sun.jndi.url.ldap.ldapURLContextFactory.getObjectInstance(ldapURLContextFactory.java:35) 

 at javax.naming.spi.NamingManager.getURLObject(NamingManager.java:579)
 at javax.naming.spi.NamingManager.processURL(NamingManager.java:361)
 at javax.naming.spi.NamingManager.processURLAddrs(NamingManager.java:341)
 at 
javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:313)
 at 
com.sun.jndi.ldap.LdapReferralContext.(LdapReferralContext.java:93)
 at 
com.sun.jndi.ldap.LdapReferralException.getReferralContext(LdapReferralException.java:132) 

 at 
com.sun.jndi.ldap.LdapNamingEnumeration.hasMoreReferrals(LdapNamingEnumeration.java:334) 

 at 
com.sun.jndi.ldap.LdapNamingEnumeration.hasMoreImpl(LdapNamingEnumeration.java:207) 

 at 
com.sun.jndi.ldap.LdapNamingEnumeration.hasMore(LdapNamingEnumeration.java:170) 

 at 
org.apache.catalina.realm.JNDIRealm.getUserBySearch(JNDIRealm.java:1036)



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


RE: Tomcat 5.0.19 international filenames inaccessible

2004-03-10 Thread Edward Toro
Quick follow-up:

This problem appears in Tomcat 4.1.30, but not in 4.1.18 or 4.1.24.  Those are just 
some of the few versions that I have access to, but it looks like it stopped working 
sometime in the Tomcat 4 development cycles.

-Original Message-
From: Yansheng Lin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 10, 2004 4:00 PM
To: 'Tomcat Users List'
Subject: RE: Tomcat 5.0.19 international filenames inaccessible


Hi, I got the same error when I tried to view
"http://localhost:8080/j2e/jsp/%E5%AE%9B%E5%90%8D.jsp";.  And I've been
researching on this for a few days now whenever I got some free time.  But the
only way that seemed have worked for others has been adding/setting the 
D:\java\bin\java.exe -Dfile.encoding==UTF-8 ... 
in your catalina config file.  But I don't like the solution myself:_(.  Not
entirely sure why either:).

Let us know if you get it working somehow through any other way. 

Thanks!

-Yan

-Original Message-
From: Edward Toro [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 10, 2004 1:38 PM
To: Tomcat Users List
Subject: Tomcat 5.0.19 international filenames inaccessible


Short version:

Does Tomcat 5 no longer serve files with international characters in their
filenames?


Long version:

Environment:  Tomcat 5.1.19 on WinXP Pro

I have a file located in: //MyWebApp/.  The filename
contains international characters:  0x305f 0x3079 0x304f (a.k.a E3-81-9F
E3-81-B9 E3-81-8F in UTF-8)).

When I navigate to the directory via http://:8080// I get a
directory listing of the files in that directory.  I can access every file on
that list except those that contain international characters.

When I click on a filename that contains international characters, I'm sent to
http://:8080/%E3%81%9F%E3%81%B9%E3%81%8F.xml.  This is the
correct result of putting the filename through a URLEncoder with the UTF-8
character set, which is what I assume is being done behind by the scene by the
server.  Except the file doesn't appear.  I get a 404 error.

So I made some Java testing code:

try {
URL url = new URL("http://:8080//%E3%81%9F%E3%81%B9%E=
3%81%8F.xml");
HttpURLConnection conn = (HttpURLConnection)url.openConnection();

// checking the headers
String header;
String key;
int i = 0;
while ((header = conn.getHeaderField(i)) != null) {
key = conn.getHeaderFieldKey(i);
System.out.println(key + " = " + header);
i++;
}

// checking the content
InputStream is = url.openConnection().getInputStream();
InputStreamReader isr = new InputStreamReader(is);
int chr;
while ((chr = isr.read()) != -1) {
System.out.print((char)chr);
}
System.out.println("success");
} catch (Throwable t) { t.printStackTrace(); }

The headers I get back are:
HTTP/1.1 404 //%E3%81%9F%E3%81%B9%E3%81%8F.scene.xml
Content-Type = text/html;charset=ISO-8859-1
Content-Language = en-US
Content-Length = 1091
Date = Wed, 10 Mar 2004 18:02:01 GMT
Server = Apache-Coyote/1.1

No help there because I get those same headers when I try to access a file that
doesn't exist at all:

HTTP/1.1 404 //inexistent.xml
Content-Type = text/html;charset=3DISO-8859-1
Content-Language = en-US
Content-Length = 1040
Date = Wed, 10 Mar 2004 18:03:22 GMT
Server = Apache-Coyote/1.1

When I try to access the input stream to read for content, I get a
FileNotFoundException.

I'm pretty confident that this problem does not exist in Tomcat 4.

I'm also pretty confident that this problem is not related to the characters
being 3-byte UTF-8.  I've tested using 2-byte UTF-8 (D0-9F, D1-80) and the
result is the same.

Is this a bug?

-Ed Toro


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


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




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



url-mapping

2004-03-10 Thread Takumi Fujiwara
Hi,

Can my webapp use the Root URL mapping?

like this:
 
HelloWorldExample
/

   
I tried, but it does not work. It only works only if
it is a ROOT webapps.

Thank you.


__
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com

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



Stable Version

2004-03-10 Thread Rob Wichterman
I am trying to get tomcat4.1.30 to work with my webapp.  It keeps dying with
thefollowing error:  This seems to happen while it is compiling the jsp's.
Any help would be appreciated.  Which release is the most stable?

 

Unexpected Signal : 10 occurred at PC=0xFE2315BC

Function=[Unknown. Nearest: JVM_IsSameClassPackage+0x86150]

Library=/usr/j2sdk1.4.2_02/jre/lib/sparc/client/libjvm.so

 

 

Dynamic libraries:

0x1 /usr/j2sdk1.4.2_02/bin/java

0xff35  /usr/lib/libthread.so.1

0xff39  /usr/lib/libdl.so.1

0xff20  /usr/lib/libc.so.1

0xff34  /usr/platform/SUNW,Sun-Blade-1000/lib/libc_psr.so.1

0xfe00  /usr/j2sdk1.4.2_02/jre/lib/sparc/client/libjvm.so

0xff2e  /usr/lib/libCrun.so.1

0xff1e  /usr/lib/libsocket.so.1

0xff10  /usr/lib/libnsl.so.1

0xff0d  /usr/lib/libm.so.1

0xff1c  /usr/lib/libsched.so.1

0xff31  /usr/lib/libw.so.1

0xff0a  /usr/lib/libmp.so.2

0xff06  /usr/j2sdk1.4.2_02/jre/lib/sparc/native_threads/libhpi.so

0xfe7d  /usr/j2sdk1.4.2_02/jre/lib/sparc/libverify.so

0xfe79  /usr/j2sdk1.4.2_02/jre/lib/sparc/libjava.so

0xff02  /usr/j2sdk1.4.2_02/jre/lib/sparc/libzip.so

0xfe4b  /usr/lib/locale/en_US.ISO8859-1/en_US.ISO8859-1.so.2

0xf979  /usr/j2sdk1.4.2_02/jre/lib/sparc/libnet.so

 

Heap at VM Abort:

Heap

 par new generation   total 4032K, used 654K [0xd540, 0xd580,
0xd5c0)

  eden space 3968K,  16% used [0xd540, 0xd54a38c0, 0xd57e)

  from space 64K,   0% used [0xd57e, 0xd57e, 0xd57f)

  to   space 64K,   0% used [0xd57f, 0xd57f, 0xd580)



RE: webapps\ROOT\WEB-INF\classes

2004-03-10 Thread Colin McKinstry
I made the class just fine under JDK 1.4

> -Original Message-
> From: Rob Ross [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 11 March 2004 10:30 a.m.
> To: 'Tomcat Users List'
> Subject: RE: webapps\ROOT\WEB-INF\classes
> 
> 
> 
> 
> > -Original Message-
> > From: Colin McKinstry [mailto:[EMAIL PROTECTED]
> 
> > I was trying to copy verbatim from "JSP: Weekend Crash 
> > Course", but the book seems hopelessly flawed.
> 
> That book was written to use Tomcat 3 and the 1.2 JDK. If you 
> use these
> versions, you can use the book as-is. Otherwise, you'll have 
> to understand
> the differences between Tomcat 3/4/5 and JDK versions 
> 1.2/1.3/1.4 in order
> to make the necessary changes to the examples.
> 
> For example, one big change introduced in JDK 1.3 is to 
> enforce  use of
> fully-qualified identifiers, such that you can no longer 
> import classes from
> the default (unnamed) package into a class. Thus many source 
> code examples
> that would compile under a 1.2 JDK will no longer work 
> correctly under 1.3.
> This isn't a tomcat specific issue though.
> 
> Rob
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

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



RE: webapps\ROOT\WEB-INF\classes

2004-03-10 Thread Rob Ross


> -Original Message-
> From: Colin McKinstry [mailto:[EMAIL PROTECTED]

> I was trying to copy verbatim from "JSP: Weekend Crash 
> Course", but the book seems hopelessly flawed.

That book was written to use Tomcat 3 and the 1.2 JDK. If you use these
versions, you can use the book as-is. Otherwise, you'll have to understand
the differences between Tomcat 3/4/5 and JDK versions 1.2/1.3/1.4 in order
to make the necessary changes to the examples.

For example, one big change introduced in JDK 1.3 is to enforce  use of
fully-qualified identifiers, such that you can no longer import classes from
the default (unnamed) package into a class. Thus many source code examples
that would compile under a 1.2 JDK will no longer work correctly under 1.3.
This isn't a tomcat specific issue though.

Rob

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



RE: webapps\ROOT\WEB-INF\classes

2004-03-10 Thread Colin McKinstry
Thanks Jon,

Now it can find "Fruit.class"

but now I get:

"org.apache.jasper.JasperException: Cannot create bean of class Fruit"

I was trying to copy verbatim from "JSP: Weekend Crash Course", but the book seems 
hopelessly flawed.

Anyone know of a good book that explains Tomcat and JSP for those never exposed to the 
technology before?

Thanks again,

> -Original Message-
> From: Jon Wingfield [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 10 March 2004 10:48 p.m.
> To: Tomcat Users List
> Subject: Re: webapps\ROOT\WEB-INF\classes
> 
> 
> I'm fairly certain classes deployed to 
> \WEB-INF\classes have to 
> be in packages.
> So your Fruit class should be deployed to 
> \WEB-INF\classes\com\stevensons
> if the Fruit class is in the com.stevensons package.
> 
> In your jsp you also MUST import the class you want to use. eg:
> <%@ page import="com.stevensons.Fruit" %>
> 
> see the following (non-exhaustive) list for more details:
> http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/index.html
> http://www.jcp.org/aboutJava/communityprocess/final/jsr154/
> 
> HTH,
> 
> Jon
> 
> 
> Colin McKinstry wrote:
> > I've tried setting the class_path to  install>\webapps\ROOT\WEB_INF\classes in the Windows 
> environment variables, but that hasn't improved matters :-(
> > 
> > Anyone got any ideas?
> > 
> > 
> >>-Original Message-
> >>From: Wendy Smoak [mailto:[EMAIL PROTECTED]
> >>Sent: Wednesday, 10 March 2004 8:57 a.m.
> >>To: Tomcat Users List
> >>Subject: RE: webapps\ROOT\WEB-INF\classes
> >>
> >>
> >>
> >>>From: Colin McKinstry [mailto:[EMAIL PROTECTED] 
> >>>The only thing I've done configuration wise is define 
> >>>CATALINA_HOME & base. I also had to create the classes 
> >>>directory in WEB-INF since it wasn't there.
> >>
> >>Did you restart after creating the 'classes' directory and 
> >>putting your
> >>class in it?  AFAIK, Tomcat builds its classpath at 
> startup, so if the
> >>directory wasn't there then, it might not be seeing the 
> contents now.
> >>
> >>-- 
> >>Wendy Smoak
> >>Application Systems Analyst, Sr.
> >>ASU IA Information Resources Management 
> >>
> >>
> -
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> > 
> > 
> > 
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> 
> 
> 

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



RE: invalid url-pattern

2004-03-10 Thread Shapira, Yoav

Hi,

>What I believe to be the relevant portion of the error from
catalina.out:
>java.lang.IllegalArgumentException:
> Invalid  /tool/*.afr in filter mapping
>(full error output follows below my sig).

This is an illegal URL pattern as the error message says.  You can have
suffix patterns (*.afr) and prefix patterns (/tool/*), but not a pattern
that combined both.

Yoav Shapira




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



invalid url-pattern

2004-03-10 Thread russo
Hi Tomcat People:

On Attempt to start my app under Tomcat 5.0.16 on AIX 5.2
I get an error after adding a filter-mapping with a url-pattern containing
forward slashes (in web.xml).

What I believe to be the relevant portion of the error from catalina.out:
java.lang.IllegalArgumentException:
 Invalid  /tool/*.afr in filter mapping
(full error output follows below my sig).

I can make the error disappear by removing the forward slashes from the


The following produces the error under Tomcat on AIX but works in my
devel. environ. on Windows 2k using Oracle JDevloper 10g (OC4J as
app.server) I can also duplicate the error under Red Hat 9/Tomcat 5.0.16:
File: web.xml --
  
Authority Filter
edu.albany.allfunds.authority.AuthFilter
  
  
 Authority Filter
 /tool/*.afr
  


while this works for both environments (Win2k with OC4J and AIX 5.2 with
Tomcat 5.0.16):
File: web.xml --
  
Authority Filter
edu.albany.allfunds.authority.AuthFilter
  
  
 Authority Filter
 *.afr
  


But, applying the filter against all .afr files in the app breaks my
security scheme (fyi: I'm using Struts and my actions use extension afr) .

In google'ing I found this Bug report 13014 from the tomcat devel list:
http://archives.real-time.com/pipermail/tomcat-devel/2003-April/049823.html

Checking Tomcat 5.0.19 release source I see this:
Line 150:this.urlPattern = RequestUtil.URLDecode(urlPattern);
in file FilterMap.java

If this is even the problem, I'm not sure what to do with that information
since it would seem that letting URLDecode default to the platform's
character encoding is the desired behavior.

I need some direction at this point
|--|
| Ryan Russo   |
| [EMAIL PROTECTED]|
| University at Albany--Computing  |
| <>|
| Technical Services Web Team  |
|__|

File: catalina.out -

[ERROR] Digester - -End event threw exception
java.lang.reflect.InvocationTargetException:
java.lang.IllegalArgumen
tException: Invalid  /tool/*.afr in filter mapping
at
org.apache.catalina.core.StandardContext.addFilterMap(StandardContext
.java:1937)
at java.lang.reflect.Method.invoke(Native Method)
at
org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.jav
a:252)
at
org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256)
at org.apache.commons.digester.Rule.end(Rule.java(Compiled Code))
at
org.apache.commons.digester.Digester.endElement(Digester.java(Compile
d Code))
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
Source
)(Compiled Code)
at
org.apache.xerces.impl.dtd.XMLDTDValidator.endNamespaceScope(Unknown
Source)(Compiled Code)
at
org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown S
ource)(Compiled Code)
at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown
Source)
(Compiled Code)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(
Unknown Source)(Compiled Code)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)(Compiled Code)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)(Compiled Code)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1548)
at
org.apache.catalina.startup.ContextConfig.applicationConfig(ContextCo
nfig.java:302)
at
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:64
4)
at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfi
g.java:254)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:166)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4
212)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:866)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:85
0)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDep
loyer.java:316)
at
org.apache.catalina.core.StandardHost.install(StandardHost.java:859)
at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:653
)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472
)
at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1002)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostC

RE: Tomcat 5.0.19 international filenames inaccessible

2004-03-10 Thread Yansheng Lin
Hi, I got the same error when I tried to view
"http://localhost:8080/j2e/jsp/%E5%AE%9B%E5%90%8D.jsp";.  And I've been
researching on this for a few days now whenever I got some free time.  But the
only way that seemed have worked for others has been adding/setting the 
D:\java\bin\java.exe -Dfile.encoding==UTF-8 ... 
in your catalina config file.  But I don't like the solution myself:_(.  Not
entirely sure why either:).

Let us know if you get it working somehow through any other way. 

Thanks!

-Yan

-Original Message-
From: Edward Toro [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 10, 2004 1:38 PM
To: Tomcat Users List
Subject: Tomcat 5.0.19 international filenames inaccessible


Short version:

Does Tomcat 5 no longer serve files with international characters in their
filenames?


Long version:

Environment:  Tomcat 5.1.19 on WinXP Pro

I have a file located in: //MyWebApp/.  The filename
contains international characters:  0x305f 0x3079 0x304f (a.k.a E3-81-9F
E3-81-B9 E3-81-8F in UTF-8)).

When I navigate to the directory via http://:8080// I get a
directory listing of the files in that directory.  I can access every file on
that list except those that contain international characters.

When I click on a filename that contains international characters, I'm sent to
http://:8080/%E3%81%9F%E3%81%B9%E3%81%8F.xml.  This is the
correct result of putting the filename through a URLEncoder with the UTF-8
character set, which is what I assume is being done behind by the scene by the
server.  Except the file doesn't appear.  I get a 404 error.

So I made some Java testing code:

try {
URL url = new URL("http://:8080//%E3%81%9F%E3%81%B9%E=
3%81%8F.xml");
HttpURLConnection conn = (HttpURLConnection)url.openConnection();

// checking the headers
String header;
String key;
int i = 0;
while ((header = conn.getHeaderField(i)) != null) {
key = conn.getHeaderFieldKey(i);
System.out.println(key + " = " + header);
i++;
}

// checking the content
InputStream is = url.openConnection().getInputStream();
InputStreamReader isr = new InputStreamReader(is);
int chr;
while ((chr = isr.read()) != -1) {
System.out.print((char)chr);
}
System.out.println("success");
} catch (Throwable t) { t.printStackTrace(); }

The headers I get back are:
HTTP/1.1 404 //%E3%81%9F%E3%81%B9%E3%81%8F.scene.xml
Content-Type = text/html;charset=ISO-8859-1
Content-Language = en-US
Content-Length = 1091
Date = Wed, 10 Mar 2004 18:02:01 GMT
Server = Apache-Coyote/1.1

No help there because I get those same headers when I try to access a file that
doesn't exist at all:

HTTP/1.1 404 //inexistent.xml
Content-Type = text/html;charset=3DISO-8859-1
Content-Language = en-US
Content-Length = 1040
Date = Wed, 10 Mar 2004 18:03:22 GMT
Server = Apache-Coyote/1.1

When I try to access the input stream to read for content, I get a
FileNotFoundException.

I'm pretty confident that this problem does not exist in Tomcat 4.

I'm also pretty confident that this problem is not related to the characters
being 3-byte UTF-8.  I've tested using 2-byte UTF-8 (D0-9F, D1-80) and the
result is the same.

Is this a bug?

-Ed Toro


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


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



RE: Please Comment: plan for co-ordinating sessions across mutlip le contexts [follow-up: success]

2004-03-10 Thread Justin Johnson
In UserDataBean, there are two versions of each setter method for each
property: a simple, public setter method per the JavaBean convention, and a
private setter that takes a boolean flag indicating whether or not the
setting should be local to the bean or propogate to the system by saving the
change in the database and notifying the other beans.  The public setter
calls the private setter with a true flag, so that used from the outside,
setting a bean property is system-wide and persistant.  Internally, the
private method is called with a false flag, for example when the bean is
constructed and retrieves its settings from the database, so that changes
are local.  When the bean receives an event, the event method calls the
private setter with a false flag, indicating a strictly local change and not
updating the database (which was updated by the bean that originated the
change).

So, if you didn't want to have per app language preferences stored in the
database (which you'd need for persistance), then you'd split the flag on
the private setter into two so that updating the database isn't tied to
spreading the change to other beans.  I suppose you could then store the app
unique language setting somewhere else, but the result would be a change to
a bean that doesn't propogate to the user's other session beans.

It's really a question of how the bean handles changes--whether or not it
chooses to propogate a change.  All the BeanEvent object and Dispatcher do
is allow for event-based communication based on arbitrary criteria
(username, in my case).

-Original Message-
From: Yansheng Lin [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 10, 2004 2:40 PM
To: 'Tomcat Users List'
Subject: RE: Please Comment: plan for co-ordinating sessions across mutliple
contexts [follow-up: success]


Hi, That's very good. But just one question, what if a user wants to have
different settings for different webapps.  For example, maybe he/she wants
to
view the Japanese version for the local department while keeping the setting
for
"Far West". How do you account for that?  

Thanks!

-Yan

-Original Message-
From: Justin Johnson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 10, 2004 1:05 PM
To: 'Tomcat Users List'
Subject: RE: Please Comment: plan for co-ordinating sessions across mutliple
contexts [follow-up: success]


I implemented UserDataBeanEvent system I mentioned below, and it appears to
be working:  A change in the state of a bean in one session is immediately
updated in the state of the same bean in a different session for the same
user.

I created a UserDataBeanEvent object with properties for the property that
was changed, the new value, and the user.  The UserDataBean signals a
singleton, a UserDataBeanEventDispatcher, with the event; the dispatcher
then forwards the event to all UserDataBeans for the same user (all
UserDataBeans register as listeners with the dispatcher on attaching to a
session, and keep a reference to it).  The dispatcher is necessary to avoid
coupling UserDataBeans directly to each other, with all the discovery
problems that would entail.

I'll have to do a little more testing to make sure it functioning as I
expect, but using the language change link changes the preference for
language across all contexts immediately.

Yoav mentioned using the SingleSignOn valve, but I require NTLM
authentication that's being provided through jCIFS, and I couldn't find any
guidance on using that as a realm, which is required for the valve.

Anyway, this is one way to unify the user's experience across multiple
contexts, and if I'm not mistaken, it's fairly lightweight.

Justin

-Original Message-
From: Justin Johnson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 10, 2004 9:58 AM
To: 'Tomcat Users List'
Subject: Please Comment: plan for co-ordinating sessions across mutliple c
ontexts


I have an internal website with several web applications, and thus several
contexts.  The user's identity is automatically provided via jCIFs (NTLM
authentication).  At the start of a session, a UserDataBean is created that
loads user preferences from a database, including the language preference
for the user (the site is English/Japanese bilingual).

I've implemented a site-wide filter that checks for changes to preferences
sent as a querystring by clicking a link (e.g., clicking on the 'nihon-go'
link in the main menu sends the URL [current path]?Language=JA).  The filter
catches the change, calls the change method in the session's UserDataBean,
which changes the preference and updates the database.

The experienced among you have already spotted the problem: with multiple
contexts there are multiple sessions for the user, and multiple
UserDataBeans; changing a preference in one bean doesn't change the
preference in another bean, which has already populated its fields from the
database.  Switch to Japanese in one context, and the change isn't reflected
in another.

What I think will work is the cr

JSR77: Tomcat full support?

2004-03-10 Thread Justin Ruthenbeck
Samuel,

I'm redirecting this to the Tomcat-User list.  You'll get better answers 
here unless you have specific questions for a specific poster that would 
not be useful for the general audience.

As for your question, most of JSR77 consists of JMX support.  Although I 
haven't used it, Tomcat5 has this.  I'm not sure if there is full 
implementation of the JSR, though.  Someone else wanna chime in?

justin

At 11:47 AM 3/10/2004, you wrote:

Justin,

Thanks for your detailed answer.
I am a newbie with Tomcat. I have a question JSR 77: J2EETM Management 
support in tomcat?

Does/will Tomcat support JSR 77? at least the servlet portion of it?

Thank you.


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


RE: Please Comment: plan for co-ordinating sessions across mutliple contexts [follow-up: success]

2004-03-10 Thread Yansheng Lin
Hi, That's very good. But just one question, what if a user wants to have
different settings for different webapps.  For example, maybe he/she wants to
view the Japanese version for the local department while keeping the setting for
"Far West". How do you account for that?  

Thanks!

-Yan

-Original Message-
From: Justin Johnson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 10, 2004 1:05 PM
To: 'Tomcat Users List'
Subject: RE: Please Comment: plan for co-ordinating sessions across mutliple
contexts [follow-up: success]


I implemented UserDataBeanEvent system I mentioned below, and it appears to
be working:  A change in the state of a bean in one session is immediately
updated in the state of the same bean in a different session for the same
user.

I created a UserDataBeanEvent object with properties for the property that
was changed, the new value, and the user.  The UserDataBean signals a
singleton, a UserDataBeanEventDispatcher, with the event; the dispatcher
then forwards the event to all UserDataBeans for the same user (all
UserDataBeans register as listeners with the dispatcher on attaching to a
session, and keep a reference to it).  The dispatcher is necessary to avoid
coupling UserDataBeans directly to each other, with all the discovery
problems that would entail.

I'll have to do a little more testing to make sure it functioning as I
expect, but using the language change link changes the preference for
language across all contexts immediately.

Yoav mentioned using the SingleSignOn valve, but I require NTLM
authentication that's being provided through jCIFS, and I couldn't find any
guidance on using that as a realm, which is required for the valve.

Anyway, this is one way to unify the user's experience across multiple
contexts, and if I'm not mistaken, it's fairly lightweight.

Justin

-Original Message-
From: Justin Johnson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 10, 2004 9:58 AM
To: 'Tomcat Users List'
Subject: Please Comment: plan for co-ordinating sessions across mutliple c
ontexts


I have an internal website with several web applications, and thus several
contexts.  The user's identity is automatically provided via jCIFs (NTLM
authentication).  At the start of a session, a UserDataBean is created that
loads user preferences from a database, including the language preference
for the user (the site is English/Japanese bilingual).

I've implemented a site-wide filter that checks for changes to preferences
sent as a querystring by clicking a link (e.g., clicking on the 'nihon-go'
link in the main menu sends the URL [current path]?Language=JA).  The filter
catches the change, calls the change method in the session's UserDataBean,
which changes the preference and updates the database.

The experienced among you have already spotted the problem: with multiple
contexts there are multiple sessions for the user, and multiple
UserDataBeans; changing a preference in one bean doesn't change the
preference in another bean, which has already populated its fields from the
database.  Switch to Japanese in one context, and the change isn't reflected
in another.

What I think will work is the create a UserDataBeanEvent that is broadcast
on changing a preference; all the other beans listen for that event, and on
receiving one, check if that event was sent by a bean for the same user as
the receiving UserDataBean; if it was, it can update its own fields to the
same value (without bothering to update the database since the broadcasting
bean did so), and so all the UserDataBeans are co-ordinated across multiple
contexts.

Does this seem workable?  Am I forgetting something, or am I missing
something about performance?  Is there a lighter-weight way to accomplish
the same thing?

Thanks,
Justin

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

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


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



Tomcat 5.0.19 international filenames inaccessible

2004-03-10 Thread Edward Toro
Short version:

Does Tomcat 5 no longer serve files with international characters in their filenames?


Long version:

Environment:  Tomcat 5.1.19 on WinXP Pro

I have a file located in: //MyWebApp/.  The filename contains 
international characters:  0x305f 0x3079 0x304f (a.k.a E3-81-9F E3-81-B9 E3-81-8F in 
UTF-8)).

When I navigate to the directory via http://:8080// I get a 
directory listing of the files in that directory.  I can access every file on that 
list except those that contain international characters.

When I click on a filename that contains international characters, I'm sent to 
http://:8080/%E3%81%9F%E3%81%B9%E3%81%8F.xml.  This is the correct 
result of putting the filename through a URLEncoder with the UTF-8 character set, 
which is what I assume is being done behind by the scene by the server.  Except the 
file doesn't appear.  I get a 404 error.

So I made some Java testing code:

try {
URL url = new URL("http://:8080//%E3%81%9F%E3%81%B9%E=
3%81%8F.xml");
HttpURLConnection conn = (HttpURLConnection)url.openConnection();

// checking the headers
String header;
String key;
int i = 0;
while ((header = conn.getHeaderField(i)) != null) {
key = conn.getHeaderFieldKey(i);
System.out.println(key + " = " + header);
i++;
}

// checking the content
InputStream is = url.openConnection().getInputStream();
InputStreamReader isr = new InputStreamReader(is);
int chr;
while ((chr = isr.read()) != -1) {
System.out.print((char)chr);
}
System.out.println("success");
} catch (Throwable t) { t.printStackTrace(); }

The headers I get back are:
HTTP/1.1 404 //%E3%81%9F%E3%81%B9%E3%81%8F.scene.xml
Content-Type = text/html;charset=ISO-8859-1
Content-Language = en-US
Content-Length = 1091
Date = Wed, 10 Mar 2004 18:02:01 GMT
Server = Apache-Coyote/1.1

No help there because I get those same headers when I try to access a file that 
doesn't exist at all:

HTTP/1.1 404 //inexistent.xml
Content-Type = text/html;charset=3DISO-8859-1
Content-Language = en-US
Content-Length = 1040
Date = Wed, 10 Mar 2004 18:03:22 GMT
Server = Apache-Coyote/1.1

When I try to access the input stream to read for content, I get a 
FileNotFoundException.

I'm pretty confident that this problem does not exist in Tomcat 4.

I'm also pretty confident that this problem is not related to the characters being 
3-byte UTF-8.  I've tested using 2-byte UTF-8 (D0-9F, D1-80) and the result is the 
same.

Is this a bug?

-Ed Toro


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



RE: Log4j initialisation problem.

2004-03-10 Thread Yansheng Lin
Hi, the Logger component you are looking at has nothing to do with log4j.  Also
you are using a relative path for the prefix.  Try to use
"${TOMCAT_HOME}/logs/mysite_tomcat_log." or simply the absolute path. 

For log4j, I think the following instruction will get you going on your
log4j:WARN problem.  

To have Tomcat use log4j universally, place both log4j.jar and the Jakarta
commons-logging.jar into the $TOMCAT_HOME/common/lib directory. Create your
log4j properties file as $TOMCAT_HOME/common/classes/log4j.properties and
configure the root logger. Here is the basic log4j.properties I used for this
myself:

log4j.rootLogger=info, R
log4j.appender.R=org.apache.log4j.ConsoleAppender
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=%-5p %-30.30c{1} %x - %m%n

If you only need to use log4j in your own web app, just include log4j (and any
log4j properties file) in your WAR.
-



-Original Message-
From: Michael Forster [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 10, 2004 12:47 PM
To: Tomcat Users List
Subject: RE: Log4j initialisation problem.


the files and entries are as follows - the error on writing the .xml file
(causing a reload) was also as follows

log4j:WARN No appenders could be found for logger
(org.apache.catalina.session.ManagerBase).
log4j:WARN Please initialize the log4j system properly.

In the mysite.xml file



Mike.
> -Original Message-
> From: Yansheng Lin [mailto:[EMAIL PROTECTED]
> Sent: 10 March 2004 19:39
> To: 'Tomcat Users List'
> Subject: RE: Log4j initialisation problem.
>
>
> Sounds to me like a path problem.  you moved the context two
> levels down when
> you upgraded from 4 to 5. no?
>
> -Original Message-
> From: Michael Forster [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 10, 2004 12:18 PM
> To: Tomcat-User
> Subject: Log4j initialisation problem.
>
>
> I recently had to upgrade from 4.1 to 5
> The new server is running and I have extracted the context out of the
> server.xml and into the Catalina/localhost/file.xml
>
> but I am getting the following problem
>
> INFO: Processing Context configuration file URL
> file:C:\dev\tomcat\conf\Catalina\localhost\mysite.xml
> log4j:WARN No appenders could be found for logger
> (org.apache.catalina.startup.TldConfig).
> log4j:WARN Please initialize the log4j system properly.
>
> What am I missing? I cannot find any info on the web that describes this
> problem
> the logging.conf is in the right place why is it not using it (or if it is
> what has changed from 4.1 to 5
>
> Mike.
>
> -BEGIN GEEK CODE BLOCK-
> Version: 3.12
> GCM d- s:+ a C UL P+ L+++ E--- W+++ N+++ o+ K w
> O-- M- V- PS+ PE+ Y+ PGP t+++ 5+++ X- R+++ tv++ h++ DI D++
> G e+ h++ r+++ y+++
> --END GEEK CODE BLOCK--
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.615 / Virus Database: 394 - Release Date: 08/03/2004
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.615 / Virus Database: 394 - Release Date: 08/03/2004
>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.615 / Virus Database: 394 - Release Date: 08/03/2004


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


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



RE: Please Comment: plan for co-ordinating sessions across mutlip le contexts [follow-up: success]

2004-03-10 Thread Justin Johnson
I implemented UserDataBeanEvent system I mentioned below, and it appears to
be working:  A change in the state of a bean in one session is immediately
updated in the state of the same bean in a different session for the same
user.

I created a UserDataBeanEvent object with properties for the property that
was changed, the new value, and the user.  The UserDataBean signals a
singleton, a UserDataBeanEventDispatcher, with the event; the dispatcher
then forwards the event to all UserDataBeans for the same user (all
UserDataBeans register as listeners with the dispatcher on attaching to a
session, and keep a reference to it).  The dispatcher is necessary to avoid
coupling UserDataBeans directly to each other, with all the discovery
problems that would entail.

I'll have to do a little more testing to make sure it functioning as I
expect, but using the language change link changes the preference for
language across all contexts immediately.

Yoav mentioned using the SingleSignOn valve, but I require NTLM
authentication that's being provided through jCIFS, and I couldn't find any
guidance on using that as a realm, which is required for the valve.

Anyway, this is one way to unify the user's experience across multiple
contexts, and if I'm not mistaken, it's fairly lightweight.

Justin

-Original Message-
From: Justin Johnson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 10, 2004 9:58 AM
To: 'Tomcat Users List'
Subject: Please Comment: plan for co-ordinating sessions across mutliple c
ontexts


I have an internal website with several web applications, and thus several
contexts.  The user's identity is automatically provided via jCIFs (NTLM
authentication).  At the start of a session, a UserDataBean is created that
loads user preferences from a database, including the language preference
for the user (the site is English/Japanese bilingual).

I've implemented a site-wide filter that checks for changes to preferences
sent as a querystring by clicking a link (e.g., clicking on the 'nihon-go'
link in the main menu sends the URL [current path]?Language=JA).  The filter
catches the change, calls the change method in the session's UserDataBean,
which changes the preference and updates the database.

The experienced among you have already spotted the problem: with multiple
contexts there are multiple sessions for the user, and multiple
UserDataBeans; changing a preference in one bean doesn't change the
preference in another bean, which has already populated its fields from the
database.  Switch to Japanese in one context, and the change isn't reflected
in another.

What I think will work is the create a UserDataBeanEvent that is broadcast
on changing a preference; all the other beans listen for that event, and on
receiving one, check if that event was sent by a bean for the same user as
the receiving UserDataBean; if it was, it can update its own fields to the
same value (without bothering to update the database since the broadcasting
bean did so), and so all the UserDataBeans are co-ordinated across multiple
contexts.

Does this seem workable?  Am I forgetting something, or am I missing
something about performance?  Is there a lighter-weight way to accomplish
the same thing?

Thanks,
Justin

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

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



RE: Restrict to specific IP's

2004-03-10 Thread Shapira, Yoav

Hi,

>I didn't realize that the default was actually "enableLookups=false".
I
>changed this to "true" and it works fine. As a side note -- any idea
why
>access control allow/deny lists are by regular expression, and not just
by
>standard wildcard?  allow="*.cs.yorku.ca" doesn't work -- you need to
do
>".*cs.yorku.ca".

Because we have a library for regular expressions and not one for
"standard wildcard" evaluation.  If you feel like writing one we'd be
glad to review it ;)

>SEVERE: Error deploying configuration descriptor jas.example1.xml
>java.io.IOException: java.lang.IllegalArgumentException: Syntax error
in
>request filter pattern *.cs.yorku.ca
>
>However, how can I get it to try reloading the context without using
>the manager or restarting the server? Removing the context file, and
>replacing it doesn't do anything.   You can't undeploy/stop/start since
it
>hasn't been "deployed".  Ideas?

I think you have to use the manager or restart the server.  Again,
patches welcome, in this case maybe to the manager's undeploy task.

Yoav




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



RE: Restrict to specific IP's

2004-03-10 Thread Jason Keltz
Hi Ralph,

You were absolutely correct.

In servers.xml, there's a line as follows:

 By default, DNS lookups are enabled when a web application calls
 request.getRemoteHost().  This can have an adverse impact on
 performance, so you can disable it by setting the
 "enableLookups" attribute to "false".  When DNS lookups are
 disabled request.getRemoteHost() will return the String version
 of the IP address of the remote client.

I didn't realize that the default was actually "enableLookups=false".  I
changed this to "true" and it works fine. As a side note -- any idea why
access control allow/deny lists are by regular expression, and not just by
standard wildcard?  allow="*.cs.yorku.ca" doesn't work -- you need to do
".*cs.yorku.ca".

Also -- if I specify an invalid wildcard like "*.cs.yorku.ca" in the
context configuration file, the server obviously doesn't load the context,
giving this reason:

SEVERE: Error deploying configuration descriptor jas.example1.xml
java.io.IOException: java.lang.IllegalArgumentException: Syntax error in
request filter pattern *.cs.yorku.ca

However, how can I get it to try reloading the context without using
the manager or restarting the server? Removing the context file, and
replacing it doesn't do anything.   You can't undeploy/stop/start since it
hasn't been "deployed".  Ideas?

Thanks for your help ..

Jason.

On Wed, 10 Mar 2004, Ralph Einfeldt wrote:

> Do you have dnslookups enabled/disabled ?
>
> If this is disabled the hostname ist the IP.
>
> > -Original Message-
> > From: Jason Keltz [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, March 10, 2004 4:43 PM
> > To: Tomcat Users List
> > Subject: RE: Restrict to specific IP's
> >
> > However, something interesting to note -- RemoteHostValve
> > works if I refer to IPs and *not* hostnames!
> > Isn't that odd?  I thought RemoteHostValve
> > was for hostname, and RemoteAddrValve works for IP.
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

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



RE: Log4j initialisation problem.

2004-03-10 Thread Michael Forster
the files and entries are as follows - the error on writing the .xml file
(causing a reload) was also as follows

log4j:WARN No appenders could be found for logger
(org.apache.catalina.session.ManagerBase).
log4j:WARN Please initialize the log4j system properly.

In the mysite.xml file



Mike.
> -Original Message-
> From: Yansheng Lin [mailto:[EMAIL PROTECTED]
> Sent: 10 March 2004 19:39
> To: 'Tomcat Users List'
> Subject: RE: Log4j initialisation problem.
>
>
> Sounds to me like a path problem.  you moved the context two
> levels down when
> you upgraded from 4 to 5. no?
>
> -Original Message-
> From: Michael Forster [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 10, 2004 12:18 PM
> To: Tomcat-User
> Subject: Log4j initialisation problem.
>
>
> I recently had to upgrade from 4.1 to 5
> The new server is running and I have extracted the context out of the
> server.xml and into the Catalina/localhost/file.xml
>
> but I am getting the following problem
>
> INFO: Processing Context configuration file URL
> file:C:\dev\tomcat\conf\Catalina\localhost\mysite.xml
> log4j:WARN No appenders could be found for logger
> (org.apache.catalina.startup.TldConfig).
> log4j:WARN Please initialize the log4j system properly.
>
> What am I missing? I cannot find any info on the web that describes this
> problem
> the logging.conf is in the right place why is it not using it (or if it is
> what has changed from 4.1 to 5
>
> Mike.
>
> -BEGIN GEEK CODE BLOCK-
> Version: 3.12
> GCM d- s:+ a C UL P+ L+++ E--- W+++ N+++ o+ K w
> O-- M- V- PS+ PE+ Y+ PGP t+++ 5+++ X- R+++ tv++ h++ DI D++
> G e+ h++ r+++ y+++
> --END GEEK CODE BLOCK--
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.615 / Virus Database: 394 - Release Date: 08/03/2004
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.615 / Virus Database: 394 - Release Date: 08/03/2004
>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.615 / Virus Database: 394 - Release Date: 08/03/2004


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



RE: Log4j initialisation problem.

2004-03-10 Thread Yansheng Lin
Sounds to me like a path problem.  you moved the context two levels down when
you upgraded from 4 to 5. no?

-Original Message-
From: Michael Forster [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 10, 2004 12:18 PM
To: Tomcat-User
Subject: Log4j initialisation problem.


I recently had to upgrade from 4.1 to 5
The new server is running and I have extracted the context out of the
server.xml and into the Catalina/localhost/file.xml

but I am getting the following problem

INFO: Processing Context configuration file URL
file:C:\dev\tomcat\conf\Catalina\localhost\mysite.xml
log4j:WARN No appenders could be found for logger
(org.apache.catalina.startup.TldConfig).
log4j:WARN Please initialize the log4j system properly.

What am I missing? I cannot find any info on the web that describes this
problem
the logging.conf is in the right place why is it not using it (or if it is
what has changed from 4.1 to 5

Mike.

-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCM d- s:+ a C UL P+ L+++ E--- W+++ N+++ o+ K w
O-- M- V- PS+ PE+ Y+ PGP t+++ 5+++ X- R+++ tv++ h++ DI D++
G e+ h++ r+++ y+++
--END GEEK CODE BLOCK--
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.615 / Virus Database: 394 - Release Date: 08/03/2004


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


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



Tomcat equivalent of Apache alias directive

2004-03-10 Thread Eric Dahnke

We're running TC in a standalone configuration. Short of 
putting Apache in front of it, and running mod_jk is there a 
way in server.xml, web.xml or otherwise to do aliasing like 
the following httpd.conf entry?

Alias /images/ "/usr/local/product/images/"


Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all



I have searched the archives as well as google with no lick. Is the
answer use apache?


Regards, Eric


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



release method in taglib

2004-03-10 Thread Billy Ng
Hi folks,

I have created several custom tag libs, I notice there is a release() method in the 
TagSupport class.  Will the release() method be automically called the tag lib is 
finished?  If not, where should I call it?  Thanks!

Billy Ng

This mailbox protected from junk email by Matador
from MailFrontier, Inc. http://info.mailfrontier.com


Log4j initialisation problem.

2004-03-10 Thread Michael Forster
I recently had to upgrade from 4.1 to 5
The new server is running and I have extracted the context out of the
server.xml and into the Catalina/localhost/file.xml

but I am getting the following problem

INFO: Processing Context configuration file URL
file:C:\dev\tomcat\conf\Catalina\localhost\mysite.xml
log4j:WARN No appenders could be found for logger
(org.apache.catalina.startup.TldConfig).
log4j:WARN Please initialize the log4j system properly.

What am I missing? I cannot find any info on the web that describes this
problem
the logging.conf is in the right place why is it not using it (or if it is
what has changed from 4.1 to 5

Mike.

-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCM d- s:+ a C UL P+ L+++ E--- W+++ N+++ o+ K w
O-- M- V- PS+ PE+ Y+ PGP t+++ 5+++ X- R+++ tv++ h++ DI D++
G e+ h++ r+++ y+++
--END GEEK CODE BLOCK--
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.615 / Virus Database: 394 - Release Date: 08/03/2004


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



RE: How to protect server.xml?

2004-03-10 Thread Sonny Sukumar

Hmm ok.  Is there any way to encrypt the passwords
stored in server.xml on top of that?  I'll take all
the security I can get. :-)

--- Yiannis Mavroukakis <[EMAIL PROTECTED]>
wrote:
> I will assume you mean protect the file from being
> read. The
> easiest way to do that is to assign read/write
> permission to the file
> to whoever user is running tomcat and remove all
> permissions from group. 
> That also assumes that you are running some flavour
> of Unix, but you could 
> achieve the same with Win32 security.
> 
> -Original Message-
> From: Sonny Sukumar [mailto:[EMAIL PROTECTED]
> Sent: 10 March 2004 01:40
> To: [EMAIL PROTECTED]
> Subject: How to protect server.xml?
> 
> 
> 
> Hey guys,
> 
> I have both a keystore password and a database
> connection user name/password in cleartext in my
> server.xml file and I don't know how to get around
> that.
> 
> In light of this, has anybody come up with a way to
> protect server.xml?  Is there a way to encrypt these
> passwords? Or perhaps to encrypt the whole
> server.xml
> file itself?
> 
> This has been weighing on my mind for a few months
> now, and I couldn't find a solution in the mailing
> list archives.
> 
> I'd appreciate any help!
> 
> Tomcat version: 4.1.27
> 
> 
> __
> Do you Yahoo!?
> Yahoo! Search - Find what you're looking for faster
> http://search.yahoo.com
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 
>

> This e-mail has been scanned for all viruses by Star
> Internet. The
> service is powered by MessageLabs.
> 
> 
>
Note:__
> This message is for the named person's use only. It
> may contain
> confidential, proprietary or legally privileged
> information. No
> confidentiality or privilege is waived or lost by
> any mistransmission.
> If you receive this message in error, please
> immediately delete it and
> all copies of it from your system, destroy any hard
> copies of it and
> notify the sender. You must not, directly or
> indirectly, use, disclose,
> distribute, print, or copy any part of this message
> if you are not the
> intended recipient. Jaguar Freight Services and any
> of its subsidiaries
> each reserve the right to monitor all e-mail
> communications through its
> networks.
> Any views expressed in this message are those of the
> individual sender,
> except where the message states otherwise and the
> sender is authorized
> to state them to be the views of any such entity.
>

> This e-mail has been scanned for all viruses by Star
> Internet. The
> service is powered by MessageLabs.


__
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com

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



catalina.out: XXX unknowon type 0

2004-03-10 Thread moehre25
Hello,

I'm using apache mit mod_jk2 and tomcat 4.1.24. Sometimes I get a strange
message at the catalina.out. This messages look like "XXX unknowon type 0".
I have some trouble with the ie 6.0. Is the message the reason for the
trouble?

Thank you for our help.

Frank


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



RE: Java Hosting

2004-03-10 Thread Mike Curwen
www.evolutionhosting.com  has TC 4.1.29


> -Original Message-
> From: Schalk [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, March 10, 2004 11:20 AM
> To: 'Tomcat Users List'
> Subject: OT: Java Hosting
> 
> 
> Does anyone know of a good hosting company that hosts Java. 
> All the companies I have talked to seem to have some 
> limitations, either you cannot set-up your own custom 
> servlet-mappings via web.xml, or the Tomcat version is old, 
> shared instances of Tomcat that does not allow me the freedom 
> to stop and start Tomcat as the need arises etc.
> 
> Any help in this regard would be much appreciated.
> 
> Kind Regards
> Schalk Neethling
> Web Developer.Designer.Programmer.President
> Volume4.Development.Multimedia.Branding
> emotionalize.conceptualize.visualize.realize
> Tel: +27125468436
> Fax: +27125468436
> email:[EMAIL PROTECTED]
> web: www.volume4.com
>  
> This message contains information that is considered to be 
> sensitive or confidential and may not be forwarded or 
> disclosed to any other party without the permission of the 
> sender. If you received this message in error, please notify 
> me immediately so that I can correct and delete the original 
> email. Thank you. 
> 
> :: -Original Message-
> :: From: Asif Chowdhary [mailto:[EMAIL PROTECTED]
> :: Sent: Wednesday, March 10, 2004 7:10 PM
> :: To: Tomcat Users List
> :: Subject: RE: Tomcat on linux : IBM JDK 1.3.1 -
> :: 
> :: Thank you.
> :: 
> :: setting the LD_ASSUME_KERNEL=2.2.5 in the user profile works.
> :: 
> :: 
> :: -Original Message-
> :: From: Lerias, Hugo [mailto:[EMAIL PROTECTED]
> :: Sent: Wednesday, March 10, 2004 11:57 AM
> :: To: Lerias, Hugo; Tomcat Users List
> :: Subject: RE: Tomcat on linux : IBM JDK 1.3.1 -
> :: 
> :: 
> :: Take a look at this post:
> :: http://www.linux-sxs.org/programming/ibm-java.html#APPENDIX_A
> :: 
> :: Cheers,
> :: Hugo
> :: 
> :: -Original Message-
> :: From: Lerias, Hugo
> :: Sent: Mittwoch, 10. März 2004 17:55
> :: To: 'Tomcat Users List'
> :: Subject: RE: Tomcat on linux : IBM JDK 1.3.1 -
> :: 
> :: 
> :: Are you trying to use IBM jdk 1.3 on red hat 9?
> :: 
> :: Hugo
> :: 
> :: -Original Message-
> :: From: Asif Chowdhary [mailto:[EMAIL PROTECTED]
> :: Sent: Mittwoch, 10. März 2004 17:42
> :: To: [EMAIL PROTECTED]
> :: Subject: Tomcat on linux : IBM JDK 1.3.1 -
> :: 
> :: 
> :: Hi,
> :: 
> :: I am installing tomcat on RH9.
> :: Tomcat version is 4.1.27 and the file is 
> jakarta-tomcat-4.1.27.tar.gz
> :: 
> :: The installation works with JDK 1.4
> :: 
> :: but tomcat does not start when I try to use JDK 1.3.1
> :: The browser returns the message Unable to connect to localhost with
> :: http://localhost:8080/.
> :: 
> :: 
> :: Any suggestions.
> :: 
> :: 
> :: Asif
> :: 
> :: 
> -
> :: To unsubscribe, e-mail: [EMAIL PROTECTED]
> :: For additional commands, e-mail: 
> [EMAIL PROTECTED]
> :: 
> :: 
> :: 
> -
> :: To unsubscribe, e-mail: [EMAIL PROTECTED]
> :: For additional commands, e-mail: 
> [EMAIL PROTECTED]
> :: 
> :: 
> :: 
> :: 
> -
> :: To unsubscribe, e-mail: [EMAIL PROTECTED]
> :: For additional commands, e-mail: 
> [EMAIL PROTECTED]
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


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



RE: Sessions

2004-03-10 Thread Mike Curwen
You have to be careful with this.
 
(All the following applies to IE6.0 on XP)
 
If you have one browser window open, and you use the File Menu to create
a New window, or you right-click and 'open in new window', then the 2
browser windows will *share* a session. 

If you use the Start Menu or Quicklaunch toolbar to launch a separate
instance of IE, then that's two different sessions.


> -Original Message-
> From: SH Solutions [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, March 10, 2004 12:27 PM
> To: 'Tomcat Users List'
> Subject: RE: Sessions
> 
> 
> Hi
> 
> > This means that the 2 browser windows are 2 separate sessions.
> 
> Right.
> 
> > My question is whether this is how tomcat implements sessions or 
> > whether
> it is something I have done code-side to force a new session created. 
> 
> Neigther nor.
> That's how browsers implement sessions (adhearing to the http 
> standard).
> 
> cu
>   Steffen
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


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



RE: Java Hosting

2004-03-10 Thread Subir Sengupta
Myjavaserver isn't accepting new users.

Subir

-Original Message-
From: Rick Umali [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 10, 2004 10:25 AM
To: Tomcat Users List
Subject: Re: Java Hosting


Hello:

> Does anyone know of a good hosting company that hosts Java?

If your needs are modest, you might look at 

http://www.myjavaserver.com

It boasts some decent facilities for application deployment, but no
ssh/telnet access. There are other constraints, but for my simple
requirements (i.e. learning), it's suitable. Check out:

http://www.myjavaserver.com/~rickumali
-- 
Rick Umali[EMAIL PROTECTED]www.rickumali.com

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



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



RE: Sessions

2004-03-10 Thread SH Solutions
Hi

> This means that the 2 browser windows are 2 separate sessions.

Right.

> My question is whether this is how tomcat implements sessions or whether
it is something I have done code-side to force a new session created. 

Neigther nor.
That's how browsers implement sessions (adhearing to the http standard).

cu
  Steffen


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



Re: mod_jk2 problems

2004-03-10 Thread Robert Hall
Apache Portable Runtime (apr)

Vi wrote:

Yes, probably some lib(s), which were not linked corectly with mod_jk2 
while compiling it?
What's apr?

Yiannis Mavroukakis wrote:

If memory serves me right, the apache httpd sources and the apr sources.

-Original Message-
From: Vi [mailto:[EMAIL PROTECTED]
Sent: 10 March 2004 17:17
To: Tomcat Users List
Subject: Re: mod_jk2 problems
Oh, yes! Thanks!
Here is what missing:
undefined symbol: ap_scoreboard_image   (./mod_jk2.so)
undefined symbol: ap_server_root(./mod_jk2.so)
undefined symbol: apr_pool_cleanup_null (./mod_jk2.so)
undefined symbol: apr_socket_create (./mod_jk2.so)
undefined symbol: ap_hook_post_config   (./mod_jk2.so)
undefined symbol: ap_get_module_config  (./mod_jk2.so)
undefined symbol: apr_file_write_full   (./mod_jk2.so)
undefined symbol: apr_send  (./mod_jk2.so)
undefined symbol: apr_table_add (./mod_jk2.so)
undefined symbol: ap_exists_scoreboard_image(./mod_jk2.so)
undefined symbol: apr_pool_create_ex(./mod_jk2.so)
undefined symbol: ap_hook_handler   (./mod_jk2.so)
undefined symbol: apr_strerror  (./mod_jk2.so)
undefined symbol: ap_update_mtime   (./mod_jk2.so)
undefined symbol: apr_connect   (./mod_jk2.so)
undefined symbol: apr_mmap_offset   (./mod_jk2.so)
undefined symbol: apr_file_seek (./mod_jk2.so)
undefined symbol: apr_md5_final (./mod_jk2.so)
undefined symbol: apr_thread_mutex_trylock  (./mod_jk2.so)
undefined symbol: apr_filename_of_pathname  (./mod_jk2.so)
undefined symbol: ap_hook_child_init(./mod_jk2.so)
undefined symbol: find_child_by_pid (./mod_jk2.so)
undefined symbol: apr_setsocketopt  (./mod_jk2.so)
undefined symbol: ap_setup_client_block (./mod_jk2.so)
undefined symbol: apr_proc_mutex_create (./mod_jk2.so)
undefined symbol: apr_thread_mutex_lock (./mod_jk2.so)
undefined symbol: ap_hook_map_to_storage(./mod_jk2.so)
undefined symbol: apr_table_set (./mod_jk2.so)
undefined symbol: apr_proc_mutex_trylock(./mod_jk2.so)
undefined symbol: apr_table_addn(./mod_jk2.so)
undefined symbol: ap_get_server_version (./mod_jk2.so)
undefined symbol: apr_pool_cleanup_register (./mod_jk2.so)
undefined symbol: ap_mpm_query  (./mod_jk2.so)
undefined symbol: apr_mmap_create   (./mod_jk2.so)
undefined symbol: apr_filepath_merge(./mod_jk2.so)
undefined symbol: ap_log_perror (./mod_jk2.so)
undefined symbol: apr_thread_mutex_create   (./mod_jk2.so)
undefined symbol: apr_pstrdup   (./mod_jk2.so)
undefined symbol: apr_date_parse_http   (./mod_jk2.so)
undefined symbol: apr_recv  (./mod_jk2.so)
undefined symbol: ap_get_server_name(./mod_jk2.so)
undefined symbol: ap_os_escape_path (./mod_jk2.so)
undefined symbol: ap_log_error  (./mod_jk2.so)
undefined symbol: apr_table_setn(./mod_jk2.so)
undefined symbol: ap_get_remote_host(./mod_jk2.so)
undefined symbol: apr_table_get (./mod_jk2.so)
undefined symbol: apr_socket_close  (./mod_jk2.so)
undefined symbol: apr_psprintf  (./mod_jk2.so)
undefined symbol: apr_file_open (./mod_jk2.so)
undefined symbol: apr_ctime (./mod_jk2.so)
undefined symbol: apr_sockaddr_info_get (./mod_jk2.so)
undefined symbol: apr_thread_mutex_destroy  (./mod_jk2.so)
undefined symbol: apr_stat  (./mod_jk2.so)
undefined symbol: apr_palloc(./mod_jk2.so)
undefined symbol: ap_strchr (./mod_jk2.so)
undefined symbol: apr_sockaddr_port_get (./mod_jk2.so)
undefined symbol: ap_should_client_block(./mod_jk2.so)
undefined symbol: apr_pvsprintf (./mod_jk2.so)
undefined symbol: apr_time_now  (./mod_jk2.so)
undefined symbol: ap_rwrite (./mod_jk2.so)
undefined symbol: apr_proc_mutex_unlock (./mod_jk2.so)
undefined symbol: apr_pool_get_parent   (./mod_jk2.so)
undefined symbol: ap_set_module_config  (./mod_jk2.so)
undefined symbol: apr_table_elts(./mod_jk2.so)
undefined symbol: ap_get_client_block   (./mod_jk2.so)
undefined symbol: ap_add_version_component  (./mod_jk2.so)
undefined symbol: apr_md5_init  (./mod_jk2.so)
undefined symbol: apr_proc_mutex_destroy(./mod_jk2.so)
undefined symbol: apr_file_info_get (./mod_jk2.so)
undefined symbol: apr_pool_clear(./mod_jk2.so)
undefined symbol: apr_pool_userdata_set (./mod_jk2.so)
undefined symbol: apr_mmap_delete   (./mod_jk2.so)
undefined symbol: ap_get_server_port(./mod_jk2.so)
undefined symbol: ap_content_type_tolower   (./mod_jk2.so)
undefined symbol: apr_proc_mutex_lock   (./mod_jk2.so)
undefined symbol: ap_rflush (./mod_jk2.so)
undefined symbol: apr_md5_update(./mod_jk2.so)
undefined symbol: ap_set_last_modified  (./mod_jk2.so)
undefined symbol: apr_socket_timeout_set(./mod_jk2.so)
undefined symbol: ap_hook_translate_name(./mod_jk2.so)
undefined symbol: ap_add_common_vars(./mod_jk2.so)
undefined symbol: apr_pool_userdata_get (./mod_jk2.so)
undefined symbol: apr_thread_mutex_unlock   (./mod_jk2.so)
Any idea where thay are defined?

Yiannis Mavroukakis wrote:

 

try

ldd -v -

Re: Java Hosting

2004-03-10 Thread Rick Umali
Hello:

> Does anyone know of a good hosting company that hosts Java?

If your needs are modest, you might look at 

http://www.myjavaserver.com

It boasts some decent facilities for application deployment, but no
ssh/telnet access. There are other constraints, but for my simple
requirements (i.e. learning), it's suitable. Check out:

http://www.myjavaserver.com/~rickumali
-- 
Rick Umali[EMAIL PROTECTED]www.rickumali.com

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



Re: mod_jk2 problems

2004-03-10 Thread Vi
WOW! Even more discoveries :)
mod_proxy has undefined symbols too! (from the same list) And 
mod_access, and probably others.
What's intersting is that they wotk ok. And I know for sure that 
mod_proxy works. What's up with that.

Yiannis Mavroukakis wrote:

If memory serves me right, the apache httpd sources and the apr sources.

-Original Message-
From: Vi [mailto:[EMAIL PROTECTED]
Sent: 10 March 2004 17:17
To: Tomcat Users List
Subject: Re: mod_jk2 problems
Oh, yes! Thanks!
Here is what missing:
undefined symbol: ap_scoreboard_image   (./mod_jk2.so)
undefined symbol: ap_server_root(./mod_jk2.so)
undefined symbol: apr_pool_cleanup_null (./mod_jk2.so)
undefined symbol: apr_socket_create (./mod_jk2.so)
undefined symbol: ap_hook_post_config   (./mod_jk2.so)
undefined symbol: ap_get_module_config  (./mod_jk2.so)
undefined symbol: apr_file_write_full   (./mod_jk2.so)
undefined symbol: apr_send  (./mod_jk2.so)
undefined symbol: apr_table_add (./mod_jk2.so)
undefined symbol: ap_exists_scoreboard_image(./mod_jk2.so)
undefined symbol: apr_pool_create_ex(./mod_jk2.so)
undefined symbol: ap_hook_handler   (./mod_jk2.so)
undefined symbol: apr_strerror  (./mod_jk2.so)
undefined symbol: ap_update_mtime   (./mod_jk2.so)
undefined symbol: apr_connect   (./mod_jk2.so)
undefined symbol: apr_mmap_offset   (./mod_jk2.so)
undefined symbol: apr_file_seek (./mod_jk2.so)
undefined symbol: apr_md5_final (./mod_jk2.so)
undefined symbol: apr_thread_mutex_trylock  (./mod_jk2.so)
undefined symbol: apr_filename_of_pathname  (./mod_jk2.so)
undefined symbol: ap_hook_child_init(./mod_jk2.so)
undefined symbol: find_child_by_pid (./mod_jk2.so)
undefined symbol: apr_setsocketopt  (./mod_jk2.so)
undefined symbol: ap_setup_client_block (./mod_jk2.so)
undefined symbol: apr_proc_mutex_create (./mod_jk2.so)
undefined symbol: apr_thread_mutex_lock (./mod_jk2.so)
undefined symbol: ap_hook_map_to_storage(./mod_jk2.so)
undefined symbol: apr_table_set (./mod_jk2.so)
undefined symbol: apr_proc_mutex_trylock(./mod_jk2.so)
undefined symbol: apr_table_addn(./mod_jk2.so)
undefined symbol: ap_get_server_version (./mod_jk2.so)
undefined symbol: apr_pool_cleanup_register (./mod_jk2.so)
undefined symbol: ap_mpm_query  (./mod_jk2.so)
undefined symbol: apr_mmap_create   (./mod_jk2.so)
undefined symbol: apr_filepath_merge(./mod_jk2.so)
undefined symbol: ap_log_perror (./mod_jk2.so)
undefined symbol: apr_thread_mutex_create   (./mod_jk2.so)
undefined symbol: apr_pstrdup   (./mod_jk2.so)
undefined symbol: apr_date_parse_http   (./mod_jk2.so)
undefined symbol: apr_recv  (./mod_jk2.so)
undefined symbol: ap_get_server_name(./mod_jk2.so)
undefined symbol: ap_os_escape_path (./mod_jk2.so)
undefined symbol: ap_log_error  (./mod_jk2.so)
undefined symbol: apr_table_setn(./mod_jk2.so)
undefined symbol: ap_get_remote_host(./mod_jk2.so)
undefined symbol: apr_table_get (./mod_jk2.so)
undefined symbol: apr_socket_close  (./mod_jk2.so)
undefined symbol: apr_psprintf  (./mod_jk2.so)
undefined symbol: apr_file_open (./mod_jk2.so)
undefined symbol: apr_ctime (./mod_jk2.so)
undefined symbol: apr_sockaddr_info_get (./mod_jk2.so)
undefined symbol: apr_thread_mutex_destroy  (./mod_jk2.so)
undefined symbol: apr_stat  (./mod_jk2.so)
undefined symbol: apr_palloc(./mod_jk2.so)
undefined symbol: ap_strchr (./mod_jk2.so)
undefined symbol: apr_sockaddr_port_get (./mod_jk2.so)
undefined symbol: ap_should_client_block(./mod_jk2.so)
undefined symbol: apr_pvsprintf (./mod_jk2.so)
undefined symbol: apr_time_now  (./mod_jk2.so)
undefined symbol: ap_rwrite (./mod_jk2.so)
undefined symbol: apr_proc_mutex_unlock (./mod_jk2.so)
undefined symbol: apr_pool_get_parent   (./mod_jk2.so)
undefined symbol: ap_set_module_config  (./mod_jk2.so)
undefined symbol: apr_table_elts(./mod_jk2.so)
undefined symbol: ap_get_client_block   (./mod_jk2.so)
undefined symbol: ap_add_version_component  (./mod_jk2.so)
undefined symbol: apr_md5_init  (./mod_jk2.so)
undefined symbol: apr_proc_mutex_destroy(./mod_jk2.so)
undefined symbol: apr_file_info_get (./mod_jk2.so)
undefined symbol: apr_pool_clear(./mod_jk2.so)
undefined symbol: apr_pool_userdata_set (./mod_jk2.so)
undefined symbol: apr_mmap_delete   (./mod_jk2.so)
undefined symbol: ap_get_server_port(./mod_jk2.so)
undefined symbol: ap_content_type_tolower   (./mod_jk2.so)
undefined symbol: apr_proc_mutex_lock   (./mod_jk2.so)
undefined symbol: ap_rflush (./mod_jk2.so)
undefined symbol: apr_md5_update(./mod_jk2.so)
undefined symbol: ap_set_last_modified  (./mod_jk2.so)
undefined symbol: apr_socket_timeout_set(./mod_jk2.so)
undefined symbol: ap_hook_translate_name(./mod_jk2.so)
undefined symbol: ap_add_common_vars(./mod_jk2.so)
undefined symbol: apr_pool_userdata_get (./mod_jk2.so)
undefined symbol: apr_thread_mutex_unlock   (./mod_jk

RE: Java Hosting

2004-03-10 Thread Schalk
Thanks

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.com
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
:: Sent: Wednesday, March 10, 2004 7:30 PM
:: To: Tomcat Users List
:: Subject: RE: Java Hosting
:: 
:: 
:: Hi,
:: 
:: >Does anyone know of a good hosting company that hosts Java. All the
:: >companies I have talked to seem to have some limitations, either you
:: cannot
:: >set-up your own custom servlet-mappings via web.xml, or the Tomcat
:: version
:: >is old, shared instances of Tomcat that does not allow me the freedom
:: to
:: >stop and start Tomcat as the need arises etc.
:: 
:: Google? ;)  A search for java tomcat hosting brings up good hits,
:: including these that claim to offer you access to web.xml:
:: 
:: http://www.eroute.net/hostingFeatures.htm
:: http://www.metawerx.com.au/
:: http://www.jsp-servlet.net/tomcat_hosting.jsp
:: http://www.eapps.com/ManagedHosting/TomcatJSPGoogle.jsp
:: 
:: I haven't used any of them, so for all I know they could be
:: blood-sucking vampires, but their web sites look reasonable ;)
:: 
:: Yoav Shapira
:: 
:: 
:: 
:: 
:: This e-mail, including any attachments, is a confidential business
communication,
:: and may contain information that is confidential, proprietary and/or
privileged.  This
:: e-mail is intended only for the individual(s) to whom it is addressed,
and may not be
:: saved, copied, printed, disclosed or used by anyone else.  If you are not
the(an)
:: intended recipient, please immediately delete this e-mail from your
computer system
:: and notify the sender.  Thank you.
:: 
:: 
:: -
:: To unsubscribe, e-mail: [EMAIL PROTECTED]
:: For additional commands, e-mail: [EMAIL PROTECTED]




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



Re: mod_jk2 problems

2004-03-10 Thread Vi
Yes, probably some lib(s), which were not linked corectly with mod_jk2 
while compiling it?
What's apr?

Yiannis Mavroukakis wrote:

If memory serves me right, the apache httpd sources and the apr sources.

-Original Message-
From: Vi [mailto:[EMAIL PROTECTED]
Sent: 10 March 2004 17:17
To: Tomcat Users List
Subject: Re: mod_jk2 problems
Oh, yes! Thanks!
Here is what missing:
undefined symbol: ap_scoreboard_image   (./mod_jk2.so)
undefined symbol: ap_server_root(./mod_jk2.so)
undefined symbol: apr_pool_cleanup_null (./mod_jk2.so)
undefined symbol: apr_socket_create (./mod_jk2.so)
undefined symbol: ap_hook_post_config   (./mod_jk2.so)
undefined symbol: ap_get_module_config  (./mod_jk2.so)
undefined symbol: apr_file_write_full   (./mod_jk2.so)
undefined symbol: apr_send  (./mod_jk2.so)
undefined symbol: apr_table_add (./mod_jk2.so)
undefined symbol: ap_exists_scoreboard_image(./mod_jk2.so)
undefined symbol: apr_pool_create_ex(./mod_jk2.so)
undefined symbol: ap_hook_handler   (./mod_jk2.so)
undefined symbol: apr_strerror  (./mod_jk2.so)
undefined symbol: ap_update_mtime   (./mod_jk2.so)
undefined symbol: apr_connect   (./mod_jk2.so)
undefined symbol: apr_mmap_offset   (./mod_jk2.so)
undefined symbol: apr_file_seek (./mod_jk2.so)
undefined symbol: apr_md5_final (./mod_jk2.so)
undefined symbol: apr_thread_mutex_trylock  (./mod_jk2.so)
undefined symbol: apr_filename_of_pathname  (./mod_jk2.so)
undefined symbol: ap_hook_child_init(./mod_jk2.so)
undefined symbol: find_child_by_pid (./mod_jk2.so)
undefined symbol: apr_setsocketopt  (./mod_jk2.so)
undefined symbol: ap_setup_client_block (./mod_jk2.so)
undefined symbol: apr_proc_mutex_create (./mod_jk2.so)
undefined symbol: apr_thread_mutex_lock (./mod_jk2.so)
undefined symbol: ap_hook_map_to_storage(./mod_jk2.so)
undefined symbol: apr_table_set (./mod_jk2.so)
undefined symbol: apr_proc_mutex_trylock(./mod_jk2.so)
undefined symbol: apr_table_addn(./mod_jk2.so)
undefined symbol: ap_get_server_version (./mod_jk2.so)
undefined symbol: apr_pool_cleanup_register (./mod_jk2.so)
undefined symbol: ap_mpm_query  (./mod_jk2.so)
undefined symbol: apr_mmap_create   (./mod_jk2.so)
undefined symbol: apr_filepath_merge(./mod_jk2.so)
undefined symbol: ap_log_perror (./mod_jk2.so)
undefined symbol: apr_thread_mutex_create   (./mod_jk2.so)
undefined symbol: apr_pstrdup   (./mod_jk2.so)
undefined symbol: apr_date_parse_http   (./mod_jk2.so)
undefined symbol: apr_recv  (./mod_jk2.so)
undefined symbol: ap_get_server_name(./mod_jk2.so)
undefined symbol: ap_os_escape_path (./mod_jk2.so)
undefined symbol: ap_log_error  (./mod_jk2.so)
undefined symbol: apr_table_setn(./mod_jk2.so)
undefined symbol: ap_get_remote_host(./mod_jk2.so)
undefined symbol: apr_table_get (./mod_jk2.so)
undefined symbol: apr_socket_close  (./mod_jk2.so)
undefined symbol: apr_psprintf  (./mod_jk2.so)
undefined symbol: apr_file_open (./mod_jk2.so)
undefined symbol: apr_ctime (./mod_jk2.so)
undefined symbol: apr_sockaddr_info_get (./mod_jk2.so)
undefined symbol: apr_thread_mutex_destroy  (./mod_jk2.so)
undefined symbol: apr_stat  (./mod_jk2.so)
undefined symbol: apr_palloc(./mod_jk2.so)
undefined symbol: ap_strchr (./mod_jk2.so)
undefined symbol: apr_sockaddr_port_get (./mod_jk2.so)
undefined symbol: ap_should_client_block(./mod_jk2.so)
undefined symbol: apr_pvsprintf (./mod_jk2.so)
undefined symbol: apr_time_now  (./mod_jk2.so)
undefined symbol: ap_rwrite (./mod_jk2.so)
undefined symbol: apr_proc_mutex_unlock (./mod_jk2.so)
undefined symbol: apr_pool_get_parent   (./mod_jk2.so)
undefined symbol: ap_set_module_config  (./mod_jk2.so)
undefined symbol: apr_table_elts(./mod_jk2.so)
undefined symbol: ap_get_client_block   (./mod_jk2.so)
undefined symbol: ap_add_version_component  (./mod_jk2.so)
undefined symbol: apr_md5_init  (./mod_jk2.so)
undefined symbol: apr_proc_mutex_destroy(./mod_jk2.so)
undefined symbol: apr_file_info_get (./mod_jk2.so)
undefined symbol: apr_pool_clear(./mod_jk2.so)
undefined symbol: apr_pool_userdata_set (./mod_jk2.so)
undefined symbol: apr_mmap_delete   (./mod_jk2.so)
undefined symbol: ap_get_server_port(./mod_jk2.so)
undefined symbol: ap_content_type_tolower   (./mod_jk2.so)
undefined symbol: apr_proc_mutex_lock   (./mod_jk2.so)
undefined symbol: ap_rflush (./mod_jk2.so)
undefined symbol: apr_md5_update(./mod_jk2.so)
undefined symbol: ap_set_last_modified  (./mod_jk2.so)
undefined symbol: apr_socket_timeout_set(./mod_jk2.so)
undefined symbol: ap_hook_translate_name(./mod_jk2.so)
undefined symbol: ap_add_common_vars(./mod_jk2.so)
undefined symbol: apr_pool_userdata_get (./mod_jk2.so)
undefined symbol: apr_thread_mutex_unlock   (./mod_jk2.so)
Any idea where thay are defined?

Yiannis Mavroukakis wrote:

 

try

ldd -v -r /etc/httpd/modules/mod_jk2.so

If there 

RE: Java Hosting

2004-03-10 Thread Shapira, Yoav

Hi,

>Does anyone know of a good hosting company that hosts Java. All the
>companies I have talked to seem to have some limitations, either you
cannot
>set-up your own custom servlet-mappings via web.xml, or the Tomcat
version
>is old, shared instances of Tomcat that does not allow me the freedom
to
>stop and start Tomcat as the need arises etc.

Google? ;)  A search for java tomcat hosting brings up good hits,
including these that claim to offer you access to web.xml:

http://www.eroute.net/hostingFeatures.htm
http://www.metawerx.com.au/
http://www.jsp-servlet.net/tomcat_hosting.jsp
http://www.eapps.com/ManagedHosting/TomcatJSPGoogle.jsp

I haven't used any of them, so for all I know they could be
blood-sucking vampires, but their web sites look reasonable ;)

Yoav Shapira




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



RE: mod_jk2 problems

2004-03-10 Thread Yiannis Mavroukakis
If memory serves me right, the apache httpd sources and the apr sources.

-Original Message-
From: Vi [mailto:[EMAIL PROTECTED]
Sent: 10 March 2004 17:17
To: Tomcat Users List
Subject: Re: mod_jk2 problems


Oh, yes! Thanks!
Here is what missing:

undefined symbol: ap_scoreboard_image   (./mod_jk2.so)
undefined symbol: ap_server_root(./mod_jk2.so)
undefined symbol: apr_pool_cleanup_null (./mod_jk2.so)
undefined symbol: apr_socket_create (./mod_jk2.so)
undefined symbol: ap_hook_post_config   (./mod_jk2.so)
undefined symbol: ap_get_module_config  (./mod_jk2.so)
undefined symbol: apr_file_write_full   (./mod_jk2.so)
undefined symbol: apr_send  (./mod_jk2.so)
undefined symbol: apr_table_add (./mod_jk2.so)
undefined symbol: ap_exists_scoreboard_image(./mod_jk2.so)
undefined symbol: apr_pool_create_ex(./mod_jk2.so)
undefined symbol: ap_hook_handler   (./mod_jk2.so)
undefined symbol: apr_strerror  (./mod_jk2.so)
undefined symbol: ap_update_mtime   (./mod_jk2.so)
undefined symbol: apr_connect   (./mod_jk2.so)
undefined symbol: apr_mmap_offset   (./mod_jk2.so)
undefined symbol: apr_file_seek (./mod_jk2.so)
undefined symbol: apr_md5_final (./mod_jk2.so)
undefined symbol: apr_thread_mutex_trylock  (./mod_jk2.so)
undefined symbol: apr_filename_of_pathname  (./mod_jk2.so)
undefined symbol: ap_hook_child_init(./mod_jk2.so)
undefined symbol: find_child_by_pid (./mod_jk2.so)
undefined symbol: apr_setsocketopt  (./mod_jk2.so)
undefined symbol: ap_setup_client_block (./mod_jk2.so)
undefined symbol: apr_proc_mutex_create (./mod_jk2.so)
undefined symbol: apr_thread_mutex_lock (./mod_jk2.so)
undefined symbol: ap_hook_map_to_storage(./mod_jk2.so)
undefined symbol: apr_table_set (./mod_jk2.so)
undefined symbol: apr_proc_mutex_trylock(./mod_jk2.so)
undefined symbol: apr_table_addn(./mod_jk2.so)
undefined symbol: ap_get_server_version (./mod_jk2.so)
undefined symbol: apr_pool_cleanup_register (./mod_jk2.so)
undefined symbol: ap_mpm_query  (./mod_jk2.so)
undefined symbol: apr_mmap_create   (./mod_jk2.so)
undefined symbol: apr_filepath_merge(./mod_jk2.so)
undefined symbol: ap_log_perror (./mod_jk2.so)
undefined symbol: apr_thread_mutex_create   (./mod_jk2.so)
undefined symbol: apr_pstrdup   (./mod_jk2.so)
undefined symbol: apr_date_parse_http   (./mod_jk2.so)
undefined symbol: apr_recv  (./mod_jk2.so)
undefined symbol: ap_get_server_name(./mod_jk2.so)
undefined symbol: ap_os_escape_path (./mod_jk2.so)
undefined symbol: ap_log_error  (./mod_jk2.so)
undefined symbol: apr_table_setn(./mod_jk2.so)
undefined symbol: ap_get_remote_host(./mod_jk2.so)
undefined symbol: apr_table_get (./mod_jk2.so)
undefined symbol: apr_socket_close  (./mod_jk2.so)
undefined symbol: apr_psprintf  (./mod_jk2.so)
undefined symbol: apr_file_open (./mod_jk2.so)
undefined symbol: apr_ctime (./mod_jk2.so)
undefined symbol: apr_sockaddr_info_get (./mod_jk2.so)
undefined symbol: apr_thread_mutex_destroy  (./mod_jk2.so)
undefined symbol: apr_stat  (./mod_jk2.so)
undefined symbol: apr_palloc(./mod_jk2.so)
undefined symbol: ap_strchr (./mod_jk2.so)
undefined symbol: apr_sockaddr_port_get (./mod_jk2.so)
undefined symbol: ap_should_client_block(./mod_jk2.so)
undefined symbol: apr_pvsprintf (./mod_jk2.so)
undefined symbol: apr_time_now  (./mod_jk2.so)
undefined symbol: ap_rwrite (./mod_jk2.so)
undefined symbol: apr_proc_mutex_unlock (./mod_jk2.so)
undefined symbol: apr_pool_get_parent   (./mod_jk2.so)
undefined symbol: ap_set_module_config  (./mod_jk2.so)
undefined symbol: apr_table_elts(./mod_jk2.so)
undefined symbol: ap_get_client_block   (./mod_jk2.so)
undefined symbol: ap_add_version_component  (./mod_jk2.so)
undefined symbol: apr_md5_init  (./mod_jk2.so)
undefined symbol: apr_proc_mutex_destroy(./mod_jk2.so)
undefined symbol: apr_file_info_get (./mod_jk2.so)
undefined symbol: apr_pool_clear(./mod_jk2.so)
undefined symbol: apr_pool_userdata_set (./mod_jk2.so)
undefined symbol: apr_mmap_delete   (./mod_jk2.so)
undefined symbol: ap_get_server_port(./mod_jk2.so)
undefined symbol: ap_content_type_tolower   (./mod_jk2.so)
undefined symbol: apr_proc_mutex_lock   (./mod_jk2.so)
undefined symbol: ap_rflush (./mod_jk2.so)
undefined symbol: apr_md5_update(./mod_jk2.so)
undefined symbol: ap_set_last_modified  (./mod_jk2.so)
undefined symbol: apr_socket_timeout_set(./mod_jk2.so)
undefined symbol: ap_hook_translate_name(./mod_jk2.so)
undefined symbol: ap_add_common_vars(./mod_jk2.so)
undefined symbol: apr_pool_userdata_get (./mod_jk2.so)
undefined symbol: apr_thread_mutex_unlock   (./mod_jk2.so)

Any idea where thay are defined?

Yiannis Mavroukakis wrote:

>try
>
>ldd -v -r /etc/httpd/modules/mod_jk2.so
>
>If there are any missing objects or functions it will report them to you.
>
>
>
>-Original Message-
>From: Vi [mailto:[EMAIL PRO

Re: How to disable AutoDeploy in Tomcat 4.1.29 ?

2004-03-10 Thread Ankur Shah
suviswan wrote:

Hi
   I have tried changing autoDeploy=false in server.xml. But it's 
not
working. It's still discovering the
web applicatios under webapps directory.
   Any ideas ?
 

Try setting the "deployOnStartup" property to false in your host 
definition. Look at section "Automatic Application Deployment" in tomcat 
docs for more info on this:

http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html#Automatic%20Application%20Deployment

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


RE: Java Hosting

2004-03-10 Thread Dale, Matt

I am shortly going to start making use of a Root server from One and One. You get full 
root access to a linux box so should be able to set up tomcat as you please. I've sent 
an email off to them for more details though so I am sure that they can offer that 
service.

www.oneandone.co.uk i think

-Original Message-
From: Schalk [mailto:[EMAIL PROTECTED]
Sent: 10 March 2004 17:20
To: 'Tomcat Users List'
Subject: OT: Java Hosting


Does anyone know of a good hosting company that hosts Java. All the
companies I have talked to seem to have some limitations, either you cannot
set-up your own custom servlet-mappings via web.xml, or the Tomcat version
is old, shared instances of Tomcat that does not allow me the freedom to
stop and start Tomcat as the need arises etc.

Any help in this regard would be much appreciated.

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.com
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Asif Chowdhary [mailto:[EMAIL PROTECTED]
:: Sent: Wednesday, March 10, 2004 7:10 PM
:: To: Tomcat Users List
:: Subject: RE: Tomcat on linux : IBM JDK 1.3.1 -
:: 
:: Thank you.
:: 
:: setting the LD_ASSUME_KERNEL=2.2.5 in the user profile works.
:: 
:: 
:: -Original Message-
:: From: Lerias, Hugo [mailto:[EMAIL PROTECTED]
:: Sent: Wednesday, March 10, 2004 11:57 AM
:: To: Lerias, Hugo; Tomcat Users List
:: Subject: RE: Tomcat on linux : IBM JDK 1.3.1 -
:: 
:: 
:: Take a look at this post:
:: http://www.linux-sxs.org/programming/ibm-java.html#APPENDIX_A
:: 
:: Cheers,
:: Hugo
:: 
:: -Original Message-
:: From: Lerias, Hugo
:: Sent: Mittwoch, 10. März 2004 17:55
:: To: 'Tomcat Users List'
:: Subject: RE: Tomcat on linux : IBM JDK 1.3.1 -
:: 
:: 
:: Are you trying to use IBM jdk 1.3 on red hat 9?
:: 
:: Hugo
:: 
:: -Original Message-
:: From: Asif Chowdhary [mailto:[EMAIL PROTECTED]
:: Sent: Mittwoch, 10. März 2004 17:42
:: To: [EMAIL PROTECTED]
:: Subject: Tomcat on linux : IBM JDK 1.3.1 -
:: 
:: 
:: Hi,
:: 
:: I am installing tomcat on RH9.
:: Tomcat version is 4.1.27 and the file is jakarta-tomcat-4.1.27.tar.gz
:: 
:: The installation works with JDK 1.4
:: 
:: but tomcat does not start when I try to use JDK 1.3.1
:: The browser returns the message Unable to connect to localhost with
:: http://localhost:8080/.
:: 
:: 
:: Any suggestions.
:: 
:: 
:: Asif
:: 
:: -
:: To unsubscribe, e-mail: [EMAIL PROTECTED]
:: For additional commands, e-mail: [EMAIL PROTECTED]
:: 
:: 
:: -
:: To unsubscribe, e-mail: [EMAIL PROTECTED]
:: For additional commands, e-mail: [EMAIL PROTECTED]
:: 
:: 
:: 
:: -
:: To unsubscribe, e-mail: [EMAIL PROTECTED]
:: For additional commands, e-mail: [EMAIL PROTECTED]




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

Any opinions expressed in this E-mail may be those of the individual and not 
necessarily the company. This E-mail and any files transmitted with it are 
confidential and solely for the use of the intended recipient. If you are not the 
intended recipient or the person responsible for delivering to the intended recipient, 
be advised that you have received this E-mail in error and that any use or copying is 
strictly prohibited. If you have received this E-mail in error please notify the 
beCogent postmaster at [EMAIL PROTECTED]
Unless expressly stated, opinions in this email are those of the individual sender and 
not beCogent Ltd. You must take full responsibility for virus checking this email and 
any attachments.
Please note that the content of this email or any of its attachments may contain data 
that falls within the scope of the Data Protection Acts and that you must ensure that 
any handling or processing of such data by you is fully compliant with the terms and 
provisions of the Data Protection Act 1984 and 1998.


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

OT: Java Hosting

2004-03-10 Thread Schalk
Does anyone know of a good hosting company that hosts Java. All the
companies I have talked to seem to have some limitations, either you cannot
set-up your own custom servlet-mappings via web.xml, or the Tomcat version
is old, shared instances of Tomcat that does not allow me the freedom to
stop and start Tomcat as the need arises etc.

Any help in this regard would be much appreciated.

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.com
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -Original Message-
:: From: Asif Chowdhary [mailto:[EMAIL PROTECTED]
:: Sent: Wednesday, March 10, 2004 7:10 PM
:: To: Tomcat Users List
:: Subject: RE: Tomcat on linux : IBM JDK 1.3.1 -
:: 
:: Thank you.
:: 
:: setting the LD_ASSUME_KERNEL=2.2.5 in the user profile works.
:: 
:: 
:: -Original Message-
:: From: Lerias, Hugo [mailto:[EMAIL PROTECTED]
:: Sent: Wednesday, March 10, 2004 11:57 AM
:: To: Lerias, Hugo; Tomcat Users List
:: Subject: RE: Tomcat on linux : IBM JDK 1.3.1 -
:: 
:: 
:: Take a look at this post:
:: http://www.linux-sxs.org/programming/ibm-java.html#APPENDIX_A
:: 
:: Cheers,
:: Hugo
:: 
:: -Original Message-
:: From: Lerias, Hugo
:: Sent: Mittwoch, 10. März 2004 17:55
:: To: 'Tomcat Users List'
:: Subject: RE: Tomcat on linux : IBM JDK 1.3.1 -
:: 
:: 
:: Are you trying to use IBM jdk 1.3 on red hat 9?
:: 
:: Hugo
:: 
:: -Original Message-
:: From: Asif Chowdhary [mailto:[EMAIL PROTECTED]
:: Sent: Mittwoch, 10. März 2004 17:42
:: To: [EMAIL PROTECTED]
:: Subject: Tomcat on linux : IBM JDK 1.3.1 -
:: 
:: 
:: Hi,
:: 
:: I am installing tomcat on RH9.
:: Tomcat version is 4.1.27 and the file is jakarta-tomcat-4.1.27.tar.gz
:: 
:: The installation works with JDK 1.4
:: 
:: but tomcat does not start when I try to use JDK 1.3.1
:: The browser returns the message Unable to connect to localhost with
:: http://localhost:8080/.
:: 
:: 
:: Any suggestions.
:: 
:: 
:: Asif
:: 
:: -
:: To unsubscribe, e-mail: [EMAIL PROTECTED]
:: For additional commands, e-mail: [EMAIL PROTECTED]
:: 
:: 
:: -
:: To unsubscribe, e-mail: [EMAIL PROTECTED]
:: For additional commands, e-mail: [EMAIL PROTECTED]
:: 
:: 
:: 
:: -
:: To unsubscribe, e-mail: [EMAIL PROTECTED]
:: For additional commands, e-mail: [EMAIL PROTECTED]




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



Re: mod_jk2 problems

2004-03-10 Thread Vi
Oh, yes! Thanks!
Here is what missing:
undefined symbol: ap_scoreboard_image   (./mod_jk2.so)
undefined symbol: ap_server_root(./mod_jk2.so)
undefined symbol: apr_pool_cleanup_null (./mod_jk2.so)
undefined symbol: apr_socket_create (./mod_jk2.so)
undefined symbol: ap_hook_post_config   (./mod_jk2.so)
undefined symbol: ap_get_module_config  (./mod_jk2.so)
undefined symbol: apr_file_write_full   (./mod_jk2.so)
undefined symbol: apr_send  (./mod_jk2.so)
undefined symbol: apr_table_add (./mod_jk2.so)
undefined symbol: ap_exists_scoreboard_image(./mod_jk2.so)
undefined symbol: apr_pool_create_ex(./mod_jk2.so)
undefined symbol: ap_hook_handler   (./mod_jk2.so)
undefined symbol: apr_strerror  (./mod_jk2.so)
undefined symbol: ap_update_mtime   (./mod_jk2.so)
undefined symbol: apr_connect   (./mod_jk2.so)
undefined symbol: apr_mmap_offset   (./mod_jk2.so)
undefined symbol: apr_file_seek (./mod_jk2.so)
undefined symbol: apr_md5_final (./mod_jk2.so)
undefined symbol: apr_thread_mutex_trylock  (./mod_jk2.so)
undefined symbol: apr_filename_of_pathname  (./mod_jk2.so)
undefined symbol: ap_hook_child_init(./mod_jk2.so)
undefined symbol: find_child_by_pid (./mod_jk2.so)
undefined symbol: apr_setsocketopt  (./mod_jk2.so)
undefined symbol: ap_setup_client_block (./mod_jk2.so)
undefined symbol: apr_proc_mutex_create (./mod_jk2.so)
undefined symbol: apr_thread_mutex_lock (./mod_jk2.so)
undefined symbol: ap_hook_map_to_storage(./mod_jk2.so)
undefined symbol: apr_table_set (./mod_jk2.so)
undefined symbol: apr_proc_mutex_trylock(./mod_jk2.so)
undefined symbol: apr_table_addn(./mod_jk2.so)
undefined symbol: ap_get_server_version (./mod_jk2.so)
undefined symbol: apr_pool_cleanup_register (./mod_jk2.so)
undefined symbol: ap_mpm_query  (./mod_jk2.so)
undefined symbol: apr_mmap_create   (./mod_jk2.so)
undefined symbol: apr_filepath_merge(./mod_jk2.so)
undefined symbol: ap_log_perror (./mod_jk2.so)
undefined symbol: apr_thread_mutex_create   (./mod_jk2.so)
undefined symbol: apr_pstrdup   (./mod_jk2.so)
undefined symbol: apr_date_parse_http   (./mod_jk2.so)
undefined symbol: apr_recv  (./mod_jk2.so)
undefined symbol: ap_get_server_name(./mod_jk2.so)
undefined symbol: ap_os_escape_path (./mod_jk2.so)
undefined symbol: ap_log_error  (./mod_jk2.so)
undefined symbol: apr_table_setn(./mod_jk2.so)
undefined symbol: ap_get_remote_host(./mod_jk2.so)
undefined symbol: apr_table_get (./mod_jk2.so)
undefined symbol: apr_socket_close  (./mod_jk2.so)
undefined symbol: apr_psprintf  (./mod_jk2.so)
undefined symbol: apr_file_open (./mod_jk2.so)
undefined symbol: apr_ctime (./mod_jk2.so)
undefined symbol: apr_sockaddr_info_get (./mod_jk2.so)
undefined symbol: apr_thread_mutex_destroy  (./mod_jk2.so)
undefined symbol: apr_stat  (./mod_jk2.so)
undefined symbol: apr_palloc(./mod_jk2.so)
undefined symbol: ap_strchr (./mod_jk2.so)
undefined symbol: apr_sockaddr_port_get (./mod_jk2.so)
undefined symbol: ap_should_client_block(./mod_jk2.so)
undefined symbol: apr_pvsprintf (./mod_jk2.so)
undefined symbol: apr_time_now  (./mod_jk2.so)
undefined symbol: ap_rwrite (./mod_jk2.so)
undefined symbol: apr_proc_mutex_unlock (./mod_jk2.so)
undefined symbol: apr_pool_get_parent   (./mod_jk2.so)
undefined symbol: ap_set_module_config  (./mod_jk2.so)
undefined symbol: apr_table_elts(./mod_jk2.so)
undefined symbol: ap_get_client_block   (./mod_jk2.so)
undefined symbol: ap_add_version_component  (./mod_jk2.so)
undefined symbol: apr_md5_init  (./mod_jk2.so)
undefined symbol: apr_proc_mutex_destroy(./mod_jk2.so)
undefined symbol: apr_file_info_get (./mod_jk2.so)
undefined symbol: apr_pool_clear(./mod_jk2.so)
undefined symbol: apr_pool_userdata_set (./mod_jk2.so)
undefined symbol: apr_mmap_delete   (./mod_jk2.so)
undefined symbol: ap_get_server_port(./mod_jk2.so)
undefined symbol: ap_content_type_tolower   (./mod_jk2.so)
undefined symbol: apr_proc_mutex_lock   (./mod_jk2.so)
undefined symbol: ap_rflush (./mod_jk2.so)
undefined symbol: apr_md5_update(./mod_jk2.so)
undefined symbol: ap_set_last_modified  (./mod_jk2.so)
undefined symbol: apr_socket_timeout_set(./mod_jk2.so)
undefined symbol: ap_hook_translate_name(./mod_jk2.so)
undefined symbol: ap_add_common_vars(./mod_jk2.so)
undefined symbol: apr_pool_userdata_get (./mod_jk2.so)
undefined symbol: apr_thread_mutex_unlock   (./mod_jk2.so)
Any idea where thay are defined?

Yiannis Mavroukakis wrote:

try

ldd -v -r /etc/httpd/modules/mod_jk2.so

If there are any missing objects or functions it will report them to you.



-Original Message-
From: Vi [mailto:[EMAIL PROTECTED]
Sent: 10 March 2004 15:24
To: Tomcat Users List
Subject: Re: mod_jk2 problems
ldd, is good, but I ment something to show me all functions of a lib.

 

libc.so.6 => /lib/i686/libc.so.6 (0x4200)
  /lib/ld-linux.so

RE: Tomcat on linux : IBM JDK 1.3.1 -

2004-03-10 Thread Asif Chowdhary
Thank you.

setting the LD_ASSUME_KERNEL=2.2.5 in the user profile works.


-Original Message-
From: Lerias, Hugo [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 10, 2004 11:57 AM
To: Lerias, Hugo; Tomcat Users List
Subject: RE: Tomcat on linux : IBM JDK 1.3.1 - 


Take a look at this post:
http://www.linux-sxs.org/programming/ibm-java.html#APPENDIX_A

Cheers,
Hugo

-Original Message-
From: Lerias, Hugo 
Sent: Mittwoch, 10. März 2004 17:55
To: 'Tomcat Users List'
Subject: RE: Tomcat on linux : IBM JDK 1.3.1 - 


Are you trying to use IBM jdk 1.3 on red hat 9?

Hugo

-Original Message-
From: Asif Chowdhary [mailto:[EMAIL PROTECTED] 
Sent: Mittwoch, 10. März 2004 17:42
To: [EMAIL PROTECTED]
Subject: Tomcat on linux : IBM JDK 1.3.1 - 


Hi,

I am installing tomcat on RH9. 
Tomcat version is 4.1.27 and the file is jakarta-tomcat-4.1.27.tar.gz

The installation works with JDK 1.4

but tomcat does not start when I try to use JDK 1.3.1
The browser returns the message Unable to connect to localhost with 
http://localhost:8080/.


Any suggestions.


Asif 

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


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



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



RE: Tomcat on linux : IBM JDK 1.3.1 -

2004-03-10 Thread Shapira, Yoav

Hi,

>Nothing gets written to the log file.
>Catalina.out is created and the process seems to start
>when I issue the grep command.

Are the tomcat ports bound?

You may wish to set debug="99" on the various containers in server.xml
to maybe get more debugging information.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



RE: Tomcat on linux : IBM JDK 1.3.1 -

2004-03-10 Thread Lerias, Hugo
Take a look at this post:
http://www.linux-sxs.org/programming/ibm-java.html#APPENDIX_A

Cheers,
Hugo

-Original Message-
From: Lerias, Hugo 
Sent: Mittwoch, 10. März 2004 17:55
To: 'Tomcat Users List'
Subject: RE: Tomcat on linux : IBM JDK 1.3.1 - 


Are you trying to use IBM jdk 1.3 on red hat 9?

Hugo

-Original Message-
From: Asif Chowdhary [mailto:[EMAIL PROTECTED] 
Sent: Mittwoch, 10. März 2004 17:42
To: [EMAIL PROTECTED]
Subject: Tomcat on linux : IBM JDK 1.3.1 - 


Hi,

I am installing tomcat on RH9. 
Tomcat version is 4.1.27 and the file is jakarta-tomcat-4.1.27.tar.gz

The installation works with JDK 1.4

but tomcat does not start when I try to use JDK 1.3.1
The browser returns the message Unable to connect to localhost with 
http://localhost:8080/.


Any suggestions.


Asif 

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


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



RE: Tomcat on linux : IBM JDK 1.3.1 -

2004-03-10 Thread Lerias, Hugo
Are you trying to use IBM jdk 1.3 on red hat 9?

Hugo

-Original Message-
From: Asif Chowdhary [mailto:[EMAIL PROTECTED] 
Sent: Mittwoch, 10. März 2004 17:42
To: [EMAIL PROTECTED]
Subject: Tomcat on linux : IBM JDK 1.3.1 - 


Hi,

I am installing tomcat on RH9. 
Tomcat version is 4.1.27 and the file is jakarta-tomcat-4.1.27.tar.gz

The installation works with JDK 1.4

but tomcat does not start when I try to use JDK 1.3.1
The browser returns the message Unable to connect to localhost with 
http://localhost:8080/.


Any suggestions.


Asif 

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


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



RE: Tomcat on linux : IBM JDK 1.3.1 -

2004-03-10 Thread Asif Chowdhary
Nothing gets written to the log file.
Catalina.out is created and the process seems to start
when I issue the grep command.



-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 10, 2004 11:51 AM
To: Tomcat Users List
Subject: RE: Tomcat on linux : IBM JDK 1.3.1 - 



Hi,

>but tomcat does not start when I try to use JDK 1.3.1
>The browser returns the message Unable to connect to localhost with
>http://localhost:8080/.

What do the logs say?

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



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



RE: tomcat services do not start after jdk1.4.2 install - even new tomcat

2004-03-10 Thread Shapira, Yoav

Hi,

>furthermore I can start the 2 tomcat installations using the
startup.bat
>scripts... the problem is confined to the services.
>
>so i tried "service uninstall" to get rid of the services and then I
>reinstalled them "service install" and they still do not work.
>
>I then downloaded a new tomcat 5.0.19 and tried the service and it does
not
>work.
>
>i think i have exhausted the possibilities now and would appreciate
someone
>suggesting something else ..

The Registry since you seem to be running on Windows.  I think the JVM
location for service is found in the Registry, and it's probably still
pointing to the JDK 1.4.1 value.  Just a guess, as I don't use services
on windows for tomcat, but it's worth checking ;)

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



Re: Tomcat on linux : IBM JDK 1.3.1 -

2004-03-10 Thread Chong Yu Meng
Asif Chowdhary wrote:

Hi,

I am installing tomcat on RH9. 
Tomcat version is 4.1.27 and the file is jakarta-tomcat-4.1.27.tar.gz

The installation works with JDK 1.4

but tomcat does not start when I try to use JDK 1.3.1
The browser returns the message Unable to connect to localhost with
http://localhost:8080/.
Any suggestions.

 

You will need Java 1.4.1, or else disable NPTL for RH9 and Fedora Core 
1, or you will get seg faults. I've written 2 docs, one for IBM Java and 
one for Tomcat 4/5, and posted it on my website (see signature below).

--
"We must respect the other fellow's religion, but only in the sense and
to the extent that we respect his theory that his wife is beautiful and
his children are smart." 
	-- Henry Mencken
++
| Pascal Chong   |
| email: [EMAIL PROTECTED]  |
||
| Please visit my site at : http://cymulacrum.net|
| If you're using my documentation, please read the Terms and|
| and Conditions at http://cymulacrum.net/terms.html |
++



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


RE: Tomcat on linux : IBM JDK 1.3.1 -

2004-03-10 Thread Shapira, Yoav

Hi,

>but tomcat does not start when I try to use JDK 1.3.1
>The browser returns the message Unable to connect to localhost with
>http://localhost:8080/.

What do the logs say?

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



RE: SSL Doesn't Stay SSL

2004-03-10 Thread John Thompson
This has changed some things.

I have replaced the SERVER_PORT condition and rule with the URI condition
and rule and left it inside the  directive.

Now the first page isn't displayed at all.  Looking at the Apache ssl.log,
SSL seems to be working fine (connection to child 7 established... Seeding
PRNG with 136 bytes of entropy).

The Apache access log, however, shows a continuous access of the same
initial page (GET /app/index.jsp HTTP/1.0).  This happens a couple times a
second.

>From the browser, I enter https://app.domain.com.  This finds the index.html
which uses the REFRESH META tag to redirects to the url /app/index.jsp

Thanks for your patience and attention.

-Original Message-
From: AMELIN Franck [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 10, 2004 10:22 AM
To: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: RE: SSL Doesn't Stay SSL

And something like this ?

RewriteCond %{REQUEST_URI} ^/servlet/app(.*)
RewriteRule ^/(.*)$ https://app.domain.com/$1 [R,L]

 -Message d'origine-
De :John Thompson [mailto:[EMAIL PROTECTED]
Envoyé :mercredi 10 mars 2004 17:02
À : 'Tomcat Users List'
Objet : RE: SSL Doesn't Stay SSL

I put these settings in the Virtual Host section as follows:


  ServerName app.domain.com
  JkMount /app/* ajp13
  JkExtractSSL On
  JkHTTPSIndicator HTTPS
  JkSESSIONIndicator SSL_SESSION_ID
  JkCIPHERIndicator SSL_CIPHER
  JkCERTSIndicator SSL_CLIENT_CERT
  DocumentRoot "/usr/local/sbin/tomcat/webapps/app"
  SSLEngine On
  SSLCertificateFile conf/ssl.crt/app.domain.com.crt
  SSLCertificateKeyFile conf/ssl.key/app.domain.com.key
RewriteEngine On
RewriteLog logs/rewrite.log
RewriteCond %{SERVER_PORT} ^80$
RewriteRule ^/(.*)$ https://app.domain.com/$1 [R,L]


I still have the same problem.  I don't want to force all virtual hosts to
use SSL, just this one servlet called app.


-Original Message-
From: AMELIN Franck [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 10, 2004 9:29 AM
To: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: RE: SSL Doesn't Stay SSL

Try to force the use of https on the server :


RewriteEngine on
RewriteLog logs/rewrite.log
RewriteCond %{SERVER_PORT} ^80$
RewriteRule ^/(.*)$ https://%{SERVER_NAME}/$1 [R,L]

In you're file httpd2.conf.



 -Message d'origine-
De :John Thompson [mailto:[EMAIL PROTECTED]
Envoyé :mercredi 10 mars 2004 15:59
À : [EMAIL PROTECTED]
Objet : SSL Doesn't Stay SSL

I'm having a problem where I want users to connect to my servlet with SSL
but I can't get it to maintain an SSL connection.  The first page of the
servlet is encrypted but when I navigate to the second and other pages, the
browser no longer shows the lock icon.  The URL is still the https:// URL.



I am using the AJP connector through Apache 2 and the SSL stuff all works
with flat content on the Apache server.  I'm running 4.1.27 Tomcat.



I don't know what other info might be helpful.



Thanks in advance.



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



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



Re: JK Connector & SYN packet for established connection

2004-03-10 Thread David Rees
CONANT,PATRICK (HP-FtCollins,ex1) wrote, On 3/10/2004 7:58 AM:
Our workers.properties file is pretty simple:
worker.list=frontend
worker.frontend.host=X.XXX.hp.com
worker.frontend.type=ajp13
worker.frontend.port=8007
Try setting the socket_keepalive and socket_timeout options and see if 
that helps:
worker.frontend.socket_keepalive=1
worker.frontend.socket_timeout=300

-Dave

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


Tomcat on linux : IBM JDK 1.3.1 -

2004-03-10 Thread Asif Chowdhary
Hi,

I am installing tomcat on RH9. 
Tomcat version is 4.1.27 and the file is jakarta-tomcat-4.1.27.tar.gz

The installation works with JDK 1.4

but tomcat does not start when I try to use JDK 1.3.1
The browser returns the message Unable to connect to localhost with
http://localhost:8080/.


Any suggestions.


Asif 

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



tomcat services do not start after jdk1.4.2 install - even new tomcat

2004-03-10 Thread Allistair Crossley
hey guys (again) .. seem to be having a few issues today. 

i had apache tomcat 5.0 and tomcat 5.0.18 installed both as services and both using 
jdk1.4.1 this morning. the services worked just fine.

i decided to install jdk1.4.2. the first thing i did was uninstall jdk1.4.1. as soon 
as I did this i installed 1.4.2 and then updated JAVA_HOME to this. i tried to restart 
the 2 tomcat services and they now do not respond and fail. I restarted the machine 
and the services just won't start (error: the service will not respond). 

i figured this had to be related to not being able to find java? I looked at the 
services.bat and it does not even refer to JAVA_HOME but it does have java in it. So i 
checked that my system path had the jdk1.4.2\bin in it and java works on the command 
line. 

furthermore I can start the 2 tomcat installations using the startup.bat scripts... 
the problem is confined to the services. 

so i tried "service uninstall" to get rid of the services and then I reinstalled them 
"service install" and they still do not work.

I then downloaded a new tomcat 5.0.19 and tried the service and it does not work.

i think i have exhausted the possibilities now and would appreciate someone suggesting 
something else ..


 
---
QAS Ltd.
Developers of QuickAddress Software
http://www.qas.com";>www.qas.com
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---




RE: mod_jk2 problems

2004-03-10 Thread Yiannis Mavroukakis
try

ldd -v -r /etc/httpd/modules/mod_jk2.so

If there are any missing objects or functions it will report them to you.



-Original Message-
From: Vi [mailto:[EMAIL PROTECTED]
Sent: 10 March 2004 15:24
To: Tomcat Users List
Subject: Re: mod_jk2 problems


ldd, is good, but I ment something to show me all functions of a lib.

>libc.so.6 => /lib/i686/libc.so.6 (0x4200)
>/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x8000)

Obviously those two are not enough



Francois JEANMOUGIN wrote:

>>it compiled well, but can't load. Is there any util to see all symbols
>>of library?
>>
>>
>
>Try ldd :
>$ ldd mod_jk.so
>)
>
>Nothing obvious :).
>
>François.
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>  
>




This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs.

Note:__
This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please immediately delete it and
all copies of it from your system, destroy any hard copies of it and
notify the sender. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. Jaguar Freight Services and any of its subsidiaries
each reserve the right to monitor all e-mail communications through its
networks.
Any views expressed in this message are those of the individual sender,
except where the message states otherwise and the sender is authorized
to state them to be the views of any such entity.

This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs.

RE: Restrict to specific IP's

2004-03-10 Thread Ralph Einfeldt
Do you have dnslookups enabled/disabled ?

If this is disabled the hostname ist the IP.

> -Original Message-
> From: Jason Keltz [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 10, 2004 4:43 PM
> To: Tomcat Users List
> Subject: RE: Restrict to specific IP's
> 
> However, something interesting to note -- RemoteHostValve 
> works if I refer to IPs and *not* hostnames!  
> Isn't that odd?  I thought RemoteHostValve
> was for hostname, and RemoteAddrValve works for IP.
> 

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



RE: NT Service terminates

2004-03-10 Thread Tariq Chalabi
Thanks for that advice - I'll try the upgrade soon as I get a moment
 
Cheers
 
Tariq

"Cox, Charlie" <[EMAIL PROTECTED]> wrote:
I had found the JVM version 1.4.0_02 (as a service) to provide random
crashes, not particularly caused by load, that went away when changing to
1.4.0_04. 
This was with tomcat 4.1.24. 
I am now using 4.1.29/JDK 1.4.2_02 without a problem.

Do you have any native libraries(db?) that may be the cause of the crash?
Look for an hs_err*.log file. This file should be in \%SYSTEMROOT%\system32.
If the user does not have write permission to there, then it will go to the
user's TEMP directory.

I'm not sure about win2k, but when using Win2003 explorer's 'search' feature
will not search the 'Documents and Settings' folder. This is where the
user's TEMP folder is by default. I wasted waaay too much time learning
this the hard way. You can use a command prompt to search the drive.

Charlie

-Original Message-
From: Adrian Kristiawan [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 08, 2004 7:52 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: NT Service terminates
Importance: High

I have a similiar problem with you, I am using Tomcat 4.1.18, but currently
I'm not running it as a Windows Service on Windows 2000 Server, instead I
start the Tomcat service by clicking the Start Tomcat shortcut in the
windows desktop. 
Whenever there is a communication link error or the communication is
down between the client and the server where Tomcat resides, the Tomcat
service just stops by itself. 
 
I thought the solution to my problem was to start the Tomcat as a windows
service,but you stated otherwise, now I'm confused on how to fix my problem.

 
Is it also true that if the load is too big, the Tomcat service will
automatically stop by itself?
 
Can anyone help us on this matter?
 
Thanks. 
 
---Original Message---
 
From: Tomcat Users List
Date: 03/08/04 17:31:40
To: Tomcat
Subject: NT Service terminates
 
I have Tomcat 4.1.24 running as Windows Service on Windows 2000 Server  -
hosting a number of applications.  I currently have it running
 
When I run a simple load test using Microsoft Stress Tester - as I increase
the load I can repeatedly force the Window Service to terminate.  I'm only
running with a load of 100 users.
 
When I run Tomcat from the command-line as an application and I repeat the
test - Tomcat runs fine - performance is fine.  No problems.
 
So what is it about running Tomcat as a service that makes it so easy to
bring down?  I'm tempted to blame the OS - but that doesn't really solve the
problem - or explain what the difference is.
 
Has anyone else observed this?
 
Is it possible to get Tomcat to start as an application - on start-up i.e.
as if it were a service - but running as an application.  Sorry if that's a
meaningless question.
 
 
-
  Yahoo! Messenger - Communicate instantly..."Ping" your friends today!
Download Messenger Now
 





  IncrediMail - Email has finally evolved - Click Here


-
  Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download 
Messenger Now

RE: servlet trouble

2004-03-10 Thread Shapira, Yoav

Hi,

>One of the ancestor implements javax.servlet.SingleThreadModel !

That's your problem.  To put it shortly and bluntly, STM is evil.  It
was deprecated in the Servlet Specification without replacement, and you
should stop using it.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



RE: Tomcat Realm Authentication + Storing Objects In The Session

2004-03-10 Thread Shapira, Yoav

Hi,

>I've run into this in JBoss and ended up making some custom mechanisms
-
>I'm hoping I don't have to do the same here!

You would have to write custom code.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



RE: SSL Doesn't Stay SSL

2004-03-10 Thread AMELIN Franck
And something like this ?

RewriteCond %{REQUEST_URI} ^/servlet/app(.*)
RewriteRule ^/(.*)$ https://app.domain.com/$1 [R,L]

 -Message d'origine-
De :John Thompson [mailto:[EMAIL PROTECTED]
Envoyé :mercredi 10 mars 2004 17:02
À : 'Tomcat Users List'
Objet : RE: SSL Doesn't Stay SSL

I put these settings in the Virtual Host section as follows:


  ServerName app.domain.com
  JkMount /app/* ajp13
  JkExtractSSL On
  JkHTTPSIndicator HTTPS
  JkSESSIONIndicator SSL_SESSION_ID
  JkCIPHERIndicator SSL_CIPHER
  JkCERTSIndicator SSL_CLIENT_CERT
  DocumentRoot "/usr/local/sbin/tomcat/webapps/app"
  SSLEngine On
  SSLCertificateFile conf/ssl.crt/app.domain.com.crt
  SSLCertificateKeyFile conf/ssl.key/app.domain.com.key
RewriteEngine On
RewriteLog logs/rewrite.log
RewriteCond %{SERVER_PORT} ^80$
RewriteRule ^/(.*)$ https://app.domain.com/$1 [R,L]


I still have the same problem.  I don't want to force all virtual hosts to
use SSL, just this one servlet called app.


-Original Message-
From: AMELIN Franck [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 10, 2004 9:29 AM
To: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: RE: SSL Doesn't Stay SSL

Try to force the use of https on the server :


RewriteEngine on
RewriteLog logs/rewrite.log
RewriteCond %{SERVER_PORT} ^80$
RewriteRule ^/(.*)$ https://%{SERVER_NAME}/$1 [R,L]

In you're file httpd2.conf.



 -Message d'origine-
De :John Thompson [mailto:[EMAIL PROTECTED]
Envoyé :mercredi 10 mars 2004 15:59
À : [EMAIL PROTECTED]
Objet : SSL Doesn't Stay SSL

I'm having a problem where I want users to connect to my servlet with SSL
but I can't get it to maintain an SSL connection.  The first page of the
servlet is encrypted but when I navigate to the second and other pages, the
browser no longer shows the lock icon.  The URL is still the https:// URL.



I am using the AJP connector through Apache 2 and the SSL stuff all works
with flat content on the Apache server.  I'm running 4.1.27 Tomcat.



I don't know what other info might be helpful.



Thanks in advance.



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



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



RE: Please Comment: plan for co-ordinating sessions across mutlip le contexts

2004-03-10 Thread Justin Johnson
I looked at it, but was worried about getting into quicksand by mixing NTLM
authentication (which is required) with preferences in that valve.  The
single-sign-on valve didn't seem easily integrated with jCifs, but I could
be wrong.

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 10, 2004 10:01 AM
To: Tomcat Users List
Subject: RE: Please Comment: plan for co-ordinating sessions across mutliple
contexts



Hi,
Can you make this UserDataBean work with Tomcat's SingleSignOn valve?
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html#Single%
20Sign%20On

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Justin Johnson [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, March 10, 2004 10:58 AM
>To: 'Tomcat Users List'
>Subject: Please Comment: plan for co-ordinating sessions across
mutliple
>contexts
>
>I have an internal website with several web applications, and thus
several
>contexts.  The user's identity is automatically provided via jCIFs
(NTLM
>authentication).  At the start of a session, a UserDataBean is created
that
>loads user preferences from a database, including the language
preference
>for the user (the site is English/Japanese bilingual).
>
>I've implemented a site-wide filter that checks for changes to
preferences
>sent as a querystring by clicking a link (e.g., clicking on the
'nihon-go'
>link in the main menu sends the URL [current path]?Language=JA).  The
>filter
>catches the change, calls the change method in the session's
UserDataBean,
>which changes the preference and updates the database.
>
>The experienced among you have already spotted the problem: with
multiple
>contexts there are multiple sessions for the user, and multiple
>UserDataBeans; changing a preference in one bean doesn't change the
>preference in another bean, which has already populated its fields from
the
>database.  Switch to Japanese in one context, and the change isn't
>reflected
>in another.
>
>What I think will work is the create a UserDataBeanEvent that is
broadcast
>on changing a preference; all the other beans listen for that event,
and on
>receiving one, check if that event was sent by a bean for the same user
as
>the receiving UserDataBean; if it was, it can update its own fields to
the
>same value (without bothering to update the database since the
broadcasting
>bean did so), and so all the UserDataBeans are co-ordinated across
multiple
>contexts.
>
>Does this seem workable?  Am I forgetting something, or am I missing
>something about performance?  Is there a lighter-weight way to
accomplish
>the same thing?
>
>Thanks,
>Justin
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


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

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



Tomcat Realm Authentication + Storing Objects In The Session

2004-03-10 Thread Alan Weissman
Hey Everyone -

 

I have been trying to figure out if Realm authentication is appropriate
for my project or if I need to implement my own.  

 

My biggest unknown right now is, because the server handles the creation
of the session, what would it take to make the server grab a user object
from the database and store it in the session after the user logs in?  

 

I've run into this in JBoss and ended up making some custom mechanisms -
I'm hoping I don't have to do the same here!

 

Thanks,

Alan

 

 



RE: servlet trouble

2004-03-10 Thread AMELIN Franck
One of the ancestor implements javax.servlet.SingleThreadModel !

The web.xml is clean.


 -Message d'origine-
De :Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Envoyé :mercredi 10 mars 2004 16:33
À : Tomcat Users List
Objet : RE: servlet trouble


Hi,

>2004-03-10 15:23:37 GestionDemandesGestionnaire: init
>2004-03-10 15:23:38 GestionDemandesGestionnaire: init
>2004-03-10 15:23:38 GestionDemandesGestionnaire: init
>2004-03-10 15:23:38 GestionDemandesGestionnaire: init
>2004-03-10 15:23:38 GestionDemandesGestionnaire: init
>2004-03-10 15:23:38 GestionDemandesGestionnaire: init
>2004-03-10 15:23:38 GestionDemandesGestionnaire: init
>2004-03-10 15:23:38 GestionDemandesGestionnaire: init
>2004-03-10 15:23:38 GestionDemandesGestionnaire: init
>2004-03-10 15:23:38 GestionDemandesGestionnaire: init
>2004-03-10 15:23:38 GestionDemandesGestionnaire: init
>2004-03-10 15:23:39 GestionDemandesGestionnaire: init
>2004-03-10 15:23:39 GestionDemandesGestionnaire: init
>2004-03-10 15:23:39 GestionDemandesGestionnaire: init
>2004-03-10 15:23:39 GestionDemandesGestionnaire: init
>2004-03-10 15:23:39 GestionDemandesGestionnaire: init
>2004-03-10 15:23:40 GestionDemandesGestionnaire: init
>2004-03-10 15:23:40 GestionDemandesGestionnaire: init

>and when i stop this server :
>
>2004-03-10 15:49:00
>StandardWrapper[/TPORECETTE:GestionDemandesGestionnaire]: Waiting for
20
>instance(s) to be deallocated

Does this servlet implement SingleThreadModel?  Is this servlet declared
multiple times in your web.xml?

Yoav Shapira



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


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


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

mod_jk missing post parameter problem resolved!

2004-03-10 Thread Marco Manini
Hi,
I tested the latest cvs version of mod_jk like you suggested me and it
works great! the problem
(http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24882) seems resolved.
Thanks for your interest.

Is a new mod_jk stable release planned (with this bugfix included) ?

Marco Manini


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



RE: Heap View vs Windows Task Manager

2004-03-10 Thread Allistair Crossley
windows task manager memory
windows+task+manager+memory
"windows task manager memory"

All give the same results .. they seem to use an OR, and none answer my particular 
question

Oh well. Thanks. ADC

-Original Message-
From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]
Sent: 10 March 2004 12:22
To: Tomcat Users List
Subject: RE: Heap View vs Windows Task Manager


Have you tried to search for
windows+task+manager+memory

I just get 30 result.

(If there is one that satisfies you is a different question)

> -Original Message-
> From: Allistair Crossley [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 10, 2004 12:06 PM
> To: [EMAIL PROTECTED]
> Cc: SH Solutions
> Subject: RE: Heap View vs Windows Task Manager
> 
> 
> 
> Just because you can type in "windows task manager memory" 
> and get back lots of results does not mean that my question 
> is answered since the search engine seems to OR the search 
> terms. Anyway that's by the by.
> 


 
---
QAS Ltd.
Developers of QuickAddress Software
http://www.qas.com";>www.qas.com
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---



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



Using Tomcat to implement a Weblogic like SSO authentication

2004-03-10 Thread Jose Alberto Fernandez
Hi, I am trying to evaluate migrating our application from Weblogic to a

Tomcat/JBoss environment. One of the main roadblocks at the moment is
our 
reliance on the way SSO is done in weblogic.

In weblogic, even within the same virtual host, you can specify
different SSO 
domains by defining diferent names for the sessionID parameter. All
webapps 
sharing the same sessionID name will share the same user authentication 
information. This is independent of whether the sessionID is passed as a

coockie or as a parameter of the request. So given the following URLs:

   /app1/main.html;dom1Id=sdjhfaksjdhfa
   /app2/other.html;dom1Id=sdjhfaksjdhfa
   /app3/another.html;dom2Id=sdjhfaksjdhfa

In this case going from /app1 to /app2 will not require authentication
because the they use the same SSO information. But going to /app3 will
cause a login since the domain is different. Moreover, this needs to
work 
without cookies. We have to shitch-off the use of cookies due to
problems in the session cookie handle by some Browsers.

Is such a configuration possible in Tomcat? Or, if not, does the Tomcat
API 
provide what is needed so one can EASILY build such an authentication
module?

Any additional suggestions? I have looked and looked around for answers
on 
this regard but found nothing.

Thanks in advance,

Jose




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

RE: SSL Doesn't Stay SSL

2004-03-10 Thread John Thompson
I put these settings in the Virtual Host section as follows: 


  ServerName app.domain.com
  JkMount /app/* ajp13
  JkExtractSSL On
  JkHTTPSIndicator HTTPS
  JkSESSIONIndicator SSL_SESSION_ID
  JkCIPHERIndicator SSL_CIPHER
  JkCERTSIndicator SSL_CLIENT_CERT
  DocumentRoot "/usr/local/sbin/tomcat/webapps/app"
  SSLEngine On
  SSLCertificateFile conf/ssl.crt/app.domain.com.crt
  SSLCertificateKeyFile conf/ssl.key/app.domain.com.key
RewriteEngine On
RewriteLog logs/rewrite.log
RewriteCond %{SERVER_PORT} ^80$
RewriteRule ^/(.*)$ https://app.domain.com/$1 [R,L]


I still have the same problem.  I don't want to force all virtual hosts to
use SSL, just this one servlet called app.


-Original Message-
From: AMELIN Franck [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 10, 2004 9:29 AM
To: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: RE: SSL Doesn't Stay SSL

Try to force the use of https on the server :


RewriteEngine on
RewriteLog logs/rewrite.log
RewriteCond %{SERVER_PORT} ^80$
RewriteRule ^/(.*)$ https://%{SERVER_NAME}/$1 [R,L]

In you're file httpd2.conf.



 -Message d'origine-
De :John Thompson [mailto:[EMAIL PROTECTED]
Envoyé :mercredi 10 mars 2004 15:59
À : [EMAIL PROTECTED]
Objet : SSL Doesn't Stay SSL

I'm having a problem where I want users to connect to my servlet with SSL
but I can't get it to maintain an SSL connection.  The first page of the
servlet is encrypted but when I navigate to the second and other pages, the
browser no longer shows the lock icon.  The URL is still the https:// URL.



I am using the AJP connector through Apache 2 and the SSL stuff all works
with flat content on the Apache server.  I'm running 4.1.27 Tomcat.



I don't know what other info might be helpful.



Thanks in advance.



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



Re: How to disable AutoDeploy in Tomcat 4.1.29 ?

2004-03-10 Thread Bill Stilwell
suviswan wrote:

Hi
   I have tried changing autoDeploy=false in server.xml. But it's not
working. It's still discovering the
web applicatios under webapps directory.
   Any ideas ?
 

autoDeploy only controls what happens at tomcat startup, do you have 
liveDeploy set to false as well?



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


RE: Please Comment: plan for co-ordinating sessions across mutliple contexts

2004-03-10 Thread Shapira, Yoav

Hi,
Can you make this UserDataBean work with Tomcat's SingleSignOn valve?
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html#Single%
20Sign%20On

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Justin Johnson [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, March 10, 2004 10:58 AM
>To: 'Tomcat Users List'
>Subject: Please Comment: plan for co-ordinating sessions across
mutliple
>contexts
>
>I have an internal website with several web applications, and thus
several
>contexts.  The user's identity is automatically provided via jCIFs
(NTLM
>authentication).  At the start of a session, a UserDataBean is created
that
>loads user preferences from a database, including the language
preference
>for the user (the site is English/Japanese bilingual).
>
>I've implemented a site-wide filter that checks for changes to
preferences
>sent as a querystring by clicking a link (e.g., clicking on the
'nihon-go'
>link in the main menu sends the URL [current path]?Language=JA).  The
>filter
>catches the change, calls the change method in the session's
UserDataBean,
>which changes the preference and updates the database.
>
>The experienced among you have already spotted the problem: with
multiple
>contexts there are multiple sessions for the user, and multiple
>UserDataBeans; changing a preference in one bean doesn't change the
>preference in another bean, which has already populated its fields from
the
>database.  Switch to Japanese in one context, and the change isn't
>reflected
>in another.
>
>What I think will work is the create a UserDataBeanEvent that is
broadcast
>on changing a preference; all the other beans listen for that event,
and on
>receiving one, check if that event was sent by a bean for the same user
as
>the receiving UserDataBean; if it was, it can update its own fields to
the
>same value (without bothering to update the database since the
broadcasting
>bean did so), and so all the UserDataBeans are co-ordinated across
multiple
>contexts.
>
>Does this seem workable?  Am I forgetting something, or am I missing
>something about performance?  Is there a lighter-weight way to
accomplish
>the same thing?
>
>Thanks,
>Justin
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



Please Comment: plan for co-ordinating sessions across mutliple c ontexts

2004-03-10 Thread Justin Johnson
I have an internal website with several web applications, and thus several
contexts.  The user's identity is automatically provided via jCIFs (NTLM
authentication).  At the start of a session, a UserDataBean is created that
loads user preferences from a database, including the language preference
for the user (the site is English/Japanese bilingual).

I've implemented a site-wide filter that checks for changes to preferences
sent as a querystring by clicking a link (e.g., clicking on the 'nihon-go'
link in the main menu sends the URL [current path]?Language=JA).  The filter
catches the change, calls the change method in the session's UserDataBean,
which changes the preference and updates the database.

The experienced among you have already spotted the problem: with multiple
contexts there are multiple sessions for the user, and multiple
UserDataBeans; changing a preference in one bean doesn't change the
preference in another bean, which has already populated its fields from the
database.  Switch to Japanese in one context, and the change isn't reflected
in another.

What I think will work is the create a UserDataBeanEvent that is broadcast
on changing a preference; all the other beans listen for that event, and on
receiving one, check if that event was sent by a bean for the same user as
the receiving UserDataBean; if it was, it can update its own fields to the
same value (without bothering to update the database since the broadcasting
bean did so), and so all the UserDataBeans are co-ordinated across multiple
contexts.

Does this seem workable?  Am I forgetting something, or am I missing
something about performance?  Is there a lighter-weight way to accomplish
the same thing?

Thanks,
Justin

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



JK Connector & SYN packet for established connection

2004-03-10 Thread CONANT,PATRICK (HP-FtCollins,ex1)
I'm running into an issue with our JK communications being interrupted by
our firewall.   Any help would be appreciated...

Our firewall is reporting that the JK Connector is sending SYN packets for
connections that are already established.  The firewall is configured to
drop connections that are inactive for over 1/2 hour, but the connections
associated with the invalid SYN packets are generally only ~3-5 minutes old.
The folks maintaining the firewall claim that the JK communications are
non-RFC compliant and the connections are being dropped as a result.  This
is happening hundreds of times per day.

This is a high-traffic load-balanced website handling hundreds of thousands
of requests per day.  We get up to 400 AJP Listener threads active on each
of our Tomcat servers at any given time.  The server hardware configuration
looks like this:
* Two IIS Servers w/ JK ISAPI plugin located in the DMZ
* Nokia firewall software
* Foundry load balancer within our internal network
* Three Tomcat 4.0 servers within our internal network

Our workers.properties file is pretty simple:
worker.list=frontend
worker.frontend.host=X.XXX.hp.com
worker.frontend.type=ajp13
worker.frontend.port=8007

Any suggestions would be appreciated.

Thanks,
Pat Conant


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



RE: Restrict to specific IP's

2004-03-10 Thread Shapira, Yoav

Howdy,

>However, something interesting to note -- RemoteHostValve works if I
refer
>to IPs and *not* hostnames!  Isn't that odd?  I thought RemoteHostValve
>was for hostname, and RemoteAddrValve works for IP.

That's an interesting observation.  The Valves, like many other
elements, are instantiated via Digester from the className attribute.
Their code seems correct... Hmm, puzzling and I don't have time ;)

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



Sessions

2004-03-10 Thread Allistair Crossley
Hi Guys

I have a session ArrayList which has a value added to it say every request a user 
makes to the struts backend. When I open 2 browser windows and continue moving in the 
new window, the list changes with the new values. When I go back to the old window and 
refresh it maintains it's values and does not show the new ones.

This means that the 2 browser windows are 2 separate sessions. My question is whether 
this is how tomcat implements sessions or whether it is something I have done 
code-side to force a new session created. 

Thanks, ADC


 
---
QAS Ltd.
Developers of QuickAddress Software
http://www.qas.com";>www.qas.com
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---




RE: Restrict to specific IP's

2004-03-10 Thread Jason Keltz
Hi Ralph,

Actually, this explains a whole lot, yes -- Thank you!

However, something interesting to note -- RemoteHostValve works if I refer
to IPs and *not* hostnames!  Isn't that odd?  I thought RemoteHostValve
was for hostname, and RemoteAddrValve works for IP.

Jason.

On Wed, 10 Mar 2004, Ralph Einfeldt wrote:

>
> Deny takes precedence over allow.
> (The valve is missing the option to define the order)
>
> I'm not shure if that explain all your problems but some.
>
> http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/valves/RequestFilterValve.java?rev=1.3&view=auto
>
> > -Original Message-
> > From: Jason Keltz [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, March 10, 2004 4:20 PM
> > To: Tomcat Users List
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: Restrict to specific IP's
> >
> >
> > Actually, here's more information on the Restricting IPs not
> > working ..
> >
> > If I use:
> >  > allow="A.B.C.D,A.B.C.E"/>
> >
> > I can access the app from the host at IP A.B.C.D and IP A.B.C.E, and
> > cannot access the app from anywhere else, so this works.
> >
> > However, if I try to be more explicit, and add a "deny" as follows:
> >
> > deny=".*" or deny="A.B.*" to the end of Valve statement, I get refused
> > connection from all hosts, including the hosts in the allow list that
> > should still be allowed access.
> >
> > If I try to go back to using "RemoteHostValve", and trying the same
> > tests..
> >
> > If I specify a single host in the allow list that is the host I am
> > accessing the webapp from, I get refused from that host, and
> > every other host.  I've even tried expanding the regexp on the allow --
> > "^host$" and
> > it doesn't work.
> >
> > Jason.
> >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

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



RE: Restrict to specific IP's

2004-03-10 Thread Ralph Einfeldt

Deny takes precedence over allow.
(The valve is missing the option to define the order)

I'm not shure if that explain all your problems but some.

http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/valves/RequestFilterValve.java?rev=1.3&view=auto

> -Original Message-
> From: Jason Keltz [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 10, 2004 4:20 PM
> To: Tomcat Users List
> Cc: [EMAIL PROTECTED]
> Subject: Re: Restrict to specific IP's
> 
> 
> Actually, here's more information on the Restricting IPs not 
> working ..
> 
> If I use:
>  allow="A.B.C.D,A.B.C.E"/>
> 
> I can access the app from the host at IP A.B.C.D and IP A.B.C.E, and
> cannot access the app from anywhere else, so this works.
> 
> However, if I try to be more explicit, and add a "deny" as follows:
> 
> deny=".*" or deny="A.B.*" to the end of Valve statement, I get refused
> connection from all hosts, including the hosts in the allow list that
> should still be allowed access.
> 
> If I try to go back to using "RemoteHostValve", and trying the same
> tests..
> 
> If I specify a single host in the allow list that is the host I am
> accessing the webapp from, I get refused from that host, and 
> every other host.  I've even tried expanding the regexp on the allow -- 
> "^host$" and
> it doesn't work.
> 
> Jason.
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

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



RE: servlet trouble

2004-03-10 Thread Shapira, Yoav

Hi,

>2004-03-10 15:23:37 GestionDemandesGestionnaire: init
>2004-03-10 15:23:38 GestionDemandesGestionnaire: init
>2004-03-10 15:23:38 GestionDemandesGestionnaire: init
>2004-03-10 15:23:38 GestionDemandesGestionnaire: init
>2004-03-10 15:23:38 GestionDemandesGestionnaire: init
>2004-03-10 15:23:38 GestionDemandesGestionnaire: init
>2004-03-10 15:23:38 GestionDemandesGestionnaire: init
>2004-03-10 15:23:38 GestionDemandesGestionnaire: init
>2004-03-10 15:23:38 GestionDemandesGestionnaire: init
>2004-03-10 15:23:38 GestionDemandesGestionnaire: init
>2004-03-10 15:23:38 GestionDemandesGestionnaire: init
>2004-03-10 15:23:39 GestionDemandesGestionnaire: init
>2004-03-10 15:23:39 GestionDemandesGestionnaire: init
>2004-03-10 15:23:39 GestionDemandesGestionnaire: init
>2004-03-10 15:23:39 GestionDemandesGestionnaire: init
>2004-03-10 15:23:39 GestionDemandesGestionnaire: init
>2004-03-10 15:23:40 GestionDemandesGestionnaire: init
>2004-03-10 15:23:40 GestionDemandesGestionnaire: init

>and when i stop this server :
>
>2004-03-10 15:49:00
>StandardWrapper[/TPORECETTE:GestionDemandesGestionnaire]: Waiting for
20
>instance(s) to be deallocated

Does this servlet implement SingleThreadModel?  Is this servlet declared
multiple times in your web.xml?

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



RE: Path to log4j

2004-03-10 Thread Shapira, Yoav

Hi,

>I am using log4j in my WebApplication.
>Where I must configurate path or classpath in Tomcat to locate
>logXX.properties (properties file of log4j).
>
>I put my propertie file in web-inf\classes but it does not works.

If you put your log4j properties files in WEB-INF/classes and the
log4j.jar in WEB-INF/lib it should work automatically.  Note the
capitalization of WEB-INF.  If it doesn't work, what errors do you get
in the log?

You can also add log4j.debug=true to your JVM properties using JAVA_OPTS
in $CATALINA_HOME/bin/catalina.sh to see log4j's internal debugging
output.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



Path to log4j

2004-03-10 Thread Haroldo Nascimento
I am using log4j in my WebApplication.
Where I must configurate path or classpath in Tomcat to locate 
logXX.properties (properties file of log4j).

I put my propertie file in web-inf\classes but it does not works.

What I need to do ?

_
MSN Hotmail, o maior webmail do Brasil.  http://www.hotmail.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


  1   2   >