About server.xml

2003-08-17 Thread Alexander Vavilin
Hello all,

I am new to Tomcat, so can anybody explain or advice an article about
this elements. Specially I cant understand the meaning of elements:
, , , , ,
, .

Thanks in advance.


  
  
  
  
  
  
usersa
password
driverClassName
  org.hsql.jdbcDriver
driverName
  jdbc:HypersonicSQL:database
  
  
  

  mail.smtp.host
  localhost

  
  


-- 
Best regards,
 Alexander  mailto:[EMAIL PROTECTED]


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



Re[2]: A good book about Tomcat

2003-08-14 Thread Alexander Vavilin
Hello John,

And what about Apress ??? I have ebook called Apache Jakarta-Tomcat by
James Goodwill.

The year of publication is 2002, and it covers Tomcat 4.0 beta 1.
Certainly things was changed in version 4.1, but it is a good start
point, I think.

-- 
Best regards,
Alexander
mailto:[EMAIL PROTECTED]

Friday, August 15, 2003, 5:18:11 AM, you wrote:

JB> Wrox sucked anyway.  I hated the red, glaring cover 
JB> with the geeks in the pictures. :)  If I wanted to see 
JB> a geek, I'd go through my own photo album, thank you 
JB> very much.

JB> The TomCat book from O'Reilly is OK, but it 
JB> left be scrambling to find the real way to do things 
JB> so I can't recommend it as a perfect guide.  I'm sure 
JB> a lot of stuff is out of date with 4.1, but it's one 
JB> of the few O'Reilly books I can't recommend.  I look 
JB> forward to an updated edition in the future.


JB> On Thursday 14 August 2003 13:29, Mubaraka Arif wrote:
>> Professional Apache Tomcat - Vivek Chopra, Ben
>> Galbraith, Sing Li, Romin Irani... [Wrox
>> Publication] is good one for TOmcat Administration
>> and Configuration.
>>
>> ~ Mubaraka Arif
>>Software Developer
>>Administrative Technology & Information Services
>>St Mary's University
>>San Antonio, TX -78228
>>
>> On 2003.08.14 14:22 Alexander Vavilin wrote:
>> > Hi all, can anybody advice me a good book about
>> > Tomcat ???.
>> >
>> > --
>> > Best regards,
>> >  Alexander 
>> > mailto:[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[2]: url-pattern and realms security

2003-08-14 Thread Alexander Vavilin
Hello Colin,

Of course, your /* directive will overwrite all. You should use more
concrete names and paths.

-- 
Best regards,
Alexander
mailto:[EMAIL PROTECTED]

Friday, August 15, 2003, 4:53:36 AM, you wrote:

MC> Sorry sorry,  elements are unique, just a copying error.

MC> -Original Message-
MC> From: Alexander Vavilin [mailto:[EMAIL PROTECTED] 
MC> Sent: Thursday, August 14, 2003 10:33 PM
MC> To: Tomcat Users List
MC> Subject: Re: url-pattern and realms security


MC> Hello Colin,

MC> I am not sure, but I think you cannot do this, first an 
MC> element means an UNIQUE name. Can you understand ? You must give it
MC> different names. Second thing, I never heard about  element.

MC> Hope it will help.


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



Re: url-pattern and realms security

2003-08-14 Thread Alexander Vavilin
Hello Colin,

I am not sure, but I think you cannot do this, first an
 element means an UNIQUE name. Can you
understand ? You must give it different names. Second thing, I never
heard about  element.

Hope it will help.

-- 
Best regards,
Alexander
mailto:[EMAIL PROTECTED]

Friday, August 15, 2003, 1:38:17 AM, you wrote:

MC> So I looked at the servlet spec, but it doesn't specify (as far as I read)
MC> how hierarchical security constraints should work and Tomcat 4.1.27 seems to
MC> not do hiarachical constraints :)  Also searching the list I didn't turn up
MC> results of this type, although I swear I've seen this issue before...

MC> I want to secure "/*" with a standard role and then "/stuff1" with another
MC> role and "/stuff2" with yet another role.

MC> So I put in the web.xml:

MC>   
MC>   
MC>   General Secured content root  
MC>   /*  
MC>   GET  
MC>   POST  
MC>   
MC>   
MC>   standard  
MC>   
MC> 

MC>   
MC>   
MC>   General Secured content root  
MC>   /stuff1  
MC>   GET  
MC>   POST  
MC>   
MC>   
MC>   usertype1  
MC>   
MC> 

MC>   
MC>   
MC>   General Secured content root  
MC>   /stuff2  
MC>   GET  
MC>   POST  
MC>   
MC>   
MC>   usertype2  
MC>   
MC> 

MC> But the second two seem to be overriden by the first.  (A link on a WebLogic
MC> site shows the above to work, but I don't have WebLogic)

MC> Is this known behavior or did I miss something?

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


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



Tomcat returns error

2003-08-14 Thread Alexander Vavilin
Hello, everybody

I have the following problem. My Tomcat server is running perfectly,
so I have several servlets, for example (album, index, etc.) and I
have a servlet called faq. When I am trying access this servlet via
browser, Tocat returns an error message:

HTTP Status 503 - Servlet faq is currently unavailable



type Status report

message Servlet faq is currently unavailable

description The requested service (Servlet faq is currently unavailable) is not 
currently available.




Apache Tomcat/4.1.24

It seems very strange, because an album servlet which is in the same
directory works perfectly, here is my web.xml file:


http://java.sun.com/j2ee/dtds/web-app_2_3.dtd";>



album
album
1


album
/album


faq
faq
1


faq
/faq



Very strange isnt it ???

-- 
Best regards,
 Alexander  mailto:[EMAIL PROTECTED]


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



A good book about Tomcat

2003-08-14 Thread Alexander Vavilin
Hi all, can anybody advice me a good book about Tomcat ???.

-- 
Best regards,
 Alexander  mailto:[EMAIL PROTECTED]


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