Re: Manager error 'FAIL - Invalid context path null was specified'

2005-09-04 Thread Mark Thomas

Andy wrote:

When I request a reload like this -

http://testxtb.example.com/manager/reload?xtb

I get this response-

FAIL - Invalid context path null was specified

However according to this page -

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

This is a valid syntax


You need to read this page again and look more closely at the 
examples. For a reload the example is:

http://localhost:8080/manager/reload?path=/examples

so you need

http://localhost:8080/manager/reload?path=/xtb

Mark


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



Re: After 1st installation of JDBCRealm?

2005-09-04 Thread Mark Thomas
梁炳場 wrote:
 Thank you Mark,
 
 How about security manager?
 
 Can I use policy file under $CATALINA_HOME/conf/catalina.policy file
 with JDBCRealm?

Yes you can but this is not at all related to application users/roles.
See
http://java.sun.com/j2se/1.4.2/docs/guide/security/smPortGuide.html
for what this does.

Mark


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



Re: After 1st installation of JDBCRealm?

2005-09-04 Thread 梁炳場
Thank you.

Can JDBCRealm support a user has more than 1 roles?

Can the SecurityManager support controlling path of Struts such  as
/fooApp/fooPath.do?

Thank you in advance




在 2005/9/4,Mark Thomas [EMAIL PROTECTED] 撰寫:
 梁炳場 wrote:
  Thank you Mark,
 
  How about security manager?
 
  Can I use policy file under $CATALINA_HOME/conf/catalina.policy file
  with JDBCRealm?
 
 Yes you can but this is not at all related to application users/roles.
 See
 http://java.sun.com/j2se/1.4.2/docs/guide/security/smPortGuide.html
 for what this does.
 
 Mark
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 



Why does tomcat redirect to welcome files

2005-09-04 Thread Jim Kennedy
I have setup Tomcat to use index.html as the only welcome file.  I noticed
that the engine redirects to index.html.  I'm wondering why that is the
case.  I would prefer Status: HTTP/1.1 200 OK 
Not:  Status: HTTP/1.1 302 Moved Temporarily 
 
As the server response.  The are very good reasons for this as search engine
indexers don't like 302's.
 
I confirmed the above using
http://www.searchengineworld.com/cgi-bin/servercheck.cgi
A nice web tool that checks http header.
 
thanks for any help
 
 
Jim Kennedy
IT Consultant
 
 


Re: Why does tomcat redirect to welcome files

2005-09-04 Thread Mark Thomas

Jim Kennedy wrote:

I have setup Tomcat to use index.html as the only welcome file.  I noticed
that the engine redirects to index.html.  I'm wondering why that is the
case.  I would prefer Status: HTTP/1.1 200 OK 
Not:  Status: HTTP/1.1 302 Moved Temporarily 


spec quote section=SRV.9.10
The container may send the request to the welcome resource with a 
forward, a redirect, or a container specific mechanism that is 
indistinguishable from a direct request.

/spec-quote

There is also the issue of security constraints. See 
http://marc.theaimsgroup.com/?l=tomcat-devm=110980317127394w=2 for a 
discussion.




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



Re: After 1st installation of JDBCRealm?

2005-09-04 Thread Mark Thomas
 Can JDBCRealm support a user has more than 1 roles?

Yes.

 Can the SecurityManager support controlling path of Struts such  as
 /fooApp/fooPath.do?
Yes you can but this is not at all related to application users/roles.
See
http://java.sun.com/j2se/1.4.2/docs/guide/security/smPortGuide.html
for what this does.

Again, please read the security manager docs. It has *nothing* to do
with web application user/roles.



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



Do URL query strings with semi-colons work with TC ?

2005-09-04 Thread Darryl L. Miles


I swear I had application code working that was using semi-colons to 
delimit query string parameters.  I'm sure I've also seen TC append a 
;JSESSIONID= at the end of the URL.


But my own application code written like:

String val = request.getParameters(name);

Yeilds: val=value;name2=foobar;


Is there an additional option to allow semi-colon usage, instead of amp;  ?

Running TC 5.5.9

Thanks.

--
Darryl L. Miles



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