RE: Tomcat 6 virtual host problem please help

2007-11-23 Thread Rocco Scappatura
You should not be attempting to place a web application actually inside the deployed directory of another web application. In your case, if you have two war files from roller, a blog app and an admin app, then place them both in the appBase for the Host: roller.war -

Re: Tomcat 6 virtual host problem please help

2007-11-23 Thread Pid
Rocco Scappatura wrote: On Nov 22, 2007 3:18 PM, Rocco Scappatura [EMAIL PROTECTED] wrote: But I get the sad surprise that indeed roller/blog is not a valid path on the filesystem. It is merely a path of a context created on the fly from data cointained in the roller data base (I

Re: Tomcat 6 virtual host problem please help

2007-11-23 Thread Pid
Rocco Scappatura wrote: 2) Suppose that I have another level inside the root webapps dir (eg: http://mysite.com:8080/toto/subdir/hello.jpg) and I would like to access to the URL above with http://alias1.com:8080/hello.jpg. How I behave myself in this situation? :-( If you mean a second

Re: Tomcat 6 virtual host problem please help

2007-11-23 Thread abe.zhu
do you want your app to be the default one? And even the app name can be avoid in a URL Path? -- From: Pid [EMAIL PROTECTED] Sent: Friday, November 23, 2007 4:07 PM To: Tomcat Users List users@tomcat.apache.org Subject: Re: Tomcat 6 virtual host

RE: Tomcat 6 virtual host problem please help

2007-11-23 Thread Rocco Scappatura
do you want your app to be the default one? Not necessarily. And even the app name can be avoid in a URL Path? Yes, but look below to understand precisily what I really want. I have an application, say 'app'. I access it trhough: http://www.example.com/app I have a valid URL:

Re: Obtaining IE identification token

2007-11-23 Thread David Delbecq
Samba team provide means in java to handle windows based SSO authentification. The server does not have to be a windows station, nor to sit behind IIS. http://jcifs.samba.org/src/docs/ntlmhttpauth.html En l'instant précis du 23/11/07 10:08, Frank Biel Knudsen s'exprimait en ces termes: IIS

Re: Problem with redirection

2007-11-23 Thread Konstantin Kolinko
What is your configuration? What version of Tomcat?! Is there Apache HTTPD in front of it? What versions of Acegi, Spring do you use? Can you reproduce your problem with a simple example? E.g. explicitly sending the redirect, using response.sendRedirect(). Please look at this message

RE: Tomcat 6 virtual host problem please help

2007-11-23 Thread David Cassidy
If you were using apache infront of tomcat you can use the proxy to do this for you I think ProxyPass / ajp13://localhost:8009/app/ any requests for '/' go to '/app/' on tomcat Hope that helps D On Fri, 2007-11-23 at 09:43 +0100, Rocco Scappatura wrote: do you want your app to be the

RE: protected/j_security_check) is not available

2007-11-23 Thread Caldarale, Charles R
From: Roflcopter [mailto:[EMAIL PROTECTED] Subject: protected/j_security_check) is not available but now trying ot login with correct occurs the following error page: description The requested resource (/user_webapp/protected/j_security_check) is not available The j_security_check servlet

RE: Problem with redirection

2007-11-23 Thread bjorn.de.bakker
Version Tomcat: 5.5 What part of the configuration do you want to see? The complete file, or any specific part? The version of Acegi we use is 1.0.0 and for Spring it is 2.0.1. There's an Iplanet in front of it, but I don't know if that's similar (I don't know much about network

RE: javax/mail/address

2007-11-23 Thread Dustin Fortin
Thank you for your reply. I have verified that sendmail is listening on port 25. It is listening on the loopback interface as well as eth0. I have verified proxy configurations as I am the netadmin. Tomcat is still stalling on boot. I will continue to scour the docs, but I'm not sure what to

RE: Sharing an object between two webapps

2007-11-23 Thread Caldarale, Charles R
From: Kaspar Fischer [mailto:[EMAIL PROTECTED] Subject: Sharing an object between two webapps I guess this is related to classloaders, but do not know how to proceed. You are correct in that it's related to classloaders, but the specific answer depends on the version of Tomcat you're

RE: javax/mail/address

2007-11-23 Thread Caldarale, Charles R
From: Dustin Fortin [mailto:[EMAIL PROTECTED] Subject: RE: javax/mail/address I can get a thread dump as you suggested earlier in this thread, but I'm not sure how to interpret it. The thread dump will show you where each thread is, including line numbers of the associated Java source

Re: URL rewriting issue in tomcat

2007-11-23 Thread Ken Bowen
Use UrlRewriteFilter: http://tuckey.org/urlrewrite/ to express the rules you need. int wrote: I have two sites running on the same server that are sharing classes, jsps, etc. I want them to be accessible via two different domains though, as follows: http://domain.com/ should serve files

URL rewriting issue in tomcat

2007-11-23 Thread int
I have two sites running on the same server that are sharing classes, jsps, etc. I want them to be accessible via two different domains though, as follows: http://domain.com/ should serve files from /webapps/ROOT http://otherdomain.com/should serve files from /webapps/ROOT/otherdomain

RE: javax/mail/address

2007-11-23 Thread Caldarale, Charles R
From: Dustin Fortin [mailto:[EMAIL PROTECTED] Subject: RE: javax/mail/address Finalizer daemon prio=10 tid=0x08081800 nid=0x1107 in Object.wait() [0xb5592000..0xb55930a0] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) -

Sharing an object between two webapps

2007-11-23 Thread Kaspar Fischer
Hi everybody, I need to share an object between two webapps A and B. How can I accomplish this? My first webapp, A, has a class SharedObjectHolder with a static public member: public class SharedObjectHolder { public static Object objectToShare; public void setObjectToShare(Object

RE: javax/mail/address

2007-11-23 Thread Katilie, John
I know this may be a little out of context but have you tried using JCONSOLE to monitor Tomcat? It's a nice little GUI and can easily show you the threads, the stack trace and Locking conditions. I'm no expert, I just started using it in the last week or so. It's pretty easy to set up to monitor a

Re: Sharing an object between two webapps

2007-11-23 Thread Kaspar Fischer
On 23.11.2007, at 17:17, Caldarale, Charles R wrote: From: Kaspar Fischer [mailto:[EMAIL PROTECTED] Subject: Sharing an object between two webapps I guess this is related to classloaders, but do not know how to proceed. You are correct in that it's related to classloaders, but the specific

RE: Problem with redirection

2007-11-23 Thread Martin Gainty
Bjorn- Do you have any Filters defined such as FilterChainProxy configured in applicationContext-acegi-security.xml...?There should be a property with a name which you should redirect to which will invoke the value (usually a jsp) which is assigned to the

RE: Sharing an object between two webapps

2007-11-23 Thread Caldarale, Charles R
From: Kaspar Fischer [mailto:[EMAIL PROTECTED] Subject: Re: Sharing an object between two webapps The class SharedObjectHolder from my previous post lies inside the JAR webapps/A/WEB-INF/lib/SharedObjectHolder.jar. Move it to shared/lib; do not leave a copy in WEB-INF/lib or any other

RE: 5.5.20 returns empty page

2007-11-23 Thread Mark
No there is no firewall (it was disabled), but I have some good at least for me news. When restoring tomcat directory from a different machine for whatever reason all directory names became lower-case. I know this is no-tomcat related but put it here anyway. So looks like making the following

Obtaining IE identification token

2007-11-23 Thread Frank Biel Knudsen
IIS and IE (Internet Explorer) both support a protocol for identifying the user if already logged into the domain. Basically, IE passes an identification token to IIS, and IIS validates the token and obtains the user ID. I know that this is possible with Tomcat, when it is used en together with

protected/j_security_check) is not available

2007-11-23 Thread Roflcopter
tomcat: 5.5.25 java: 1.5.0_12 os: windows xp i've got an errorhandling in my web.xml for errorcode 403, which prints a access denied message at the login page. it works fine with a correct login. try to login without a correct login, prints an accees denied at the login page (thats also

RE: javax/mail/address

2007-11-23 Thread Dustin Fortin
Thank you for pointing me to the docs. I've read them and was able to get rid of the exceptions in the logs by putting the correct resource name jndi entries in the global context.xml config file. However, the main issue, where tomcat stalls during startup with mail.jar in the $CATALINA_HOME/lib

RE: Tomcat 6 virtual host problem please help

2007-11-23 Thread Rocco Scappatura
If you were using apache infront of tomcat you can use the proxy to do this for you I think ProxyPass / ajp13://localhost:8009/app/ any requests for '/' go to '/app/' on tomcat Hope that helps Infact, this seems to me my last chance.. I'll let you know.. Thanks, rocsca

Problem with redirection

2007-11-23 Thread bjorn.de.bakker
We have a weird problem with Tomcat. We have an application that is accessible on 2 URL's. Let's say www.domain.com/subdomain/applicationname and www.domain.com/othername. Configuration of Tomcat looks like this: Context path=/subdomain/applicationname docBase=applicationFolder

RE: javax/mail/address

2007-11-23 Thread Martin Gainty
Hi Dustin1) verify your server is operationalgoto mailserver netstat -a | grep SMTPPort2)Proxy verify with your netadmin for proxy configurations3)read the docs as earlier suggested Martin--__Disclaimer and confidentiality noteEverything in this

RE: javax/mail/address

2007-11-23 Thread Dustin Fortin
Thank you for the explanation. So I see the locks you're talking about. For example: Finalizer daemon prio=10 tid=0x08081800 nid=0x1107 in Object.wait() [0xb5592000..0xb55930a0] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) -

RE: javax/mail/address

2007-11-23 Thread Dustin Fortin
Thanks for the suggestion, I'll get this running this afternoon and see what I can find. -dustin -Original Message- From: Katilie, John [mailto:[EMAIL PROTECTED] Sent: Friday, November 23, 2007 11:58 AM To: Tomcat Users List Subject: RE: javax/mail/address I know this may be a little

RE: configure my web app as default app instead of root in tomcat 6.0‏

2007-11-23 Thread Yonatan Menahem
Just the 'localhost' one Date: Fri, 23 Nov 2007 07:39:57 + From: [EMAIL PROTECTED] To: users@tomcat.apache.org Subject: Re: configure my web app as default app instead of root in tomcat 6.0‏ Yonatan Menahem wrote: That solved my problem. Although, I couldn't figure out how to do it