Re: Tomcat vs. Samba

2008-12-08 Thread André Warnier
Caldarale, Charles R wrote: All that being said, if you're running Tomcat as a Windows service, it is likely using the Local System Account, ... And, for information, one of the characteristics of the LocalSystem account is that it does not have access to any Windows network resources, such

Re: Tomcat vs. Samba

2008-12-08 Thread André Warnier
Mitch Gitman wrote: 2. I literally can't solve this problem while still running as a Windows service. [...] Yes you can... - the LocalSystem account is special, one of the special things about it being that it cannot access Windows network resources. - if you need Tomcat to access Windows

bad content type mod_jk 1.2.27

2008-12-08 Thread marcobalc
i all, I have a problem with tomcat 6.0.18 Apache/2.2.9 mod_jk/1.2.27 Some times the content-type sent from my tomcat is ignored and the response have content type text/plain. For this reason some servlet that should return excel file and set the contentType(application/excel) have bad

How to not rot my tomcat pb linked with new cookie parser

2008-12-08 Thread killbulle
Hi, the list i've a litle problem here, i use Domino for authentication, ant this one produce invalid cookie with an equal at the end,and also don't set version to 1-BOOM So i facing an horrible solution, build a hack to parse the cookie(wating for a domino fix) the question is, is there a

Re: Modjk add node at runtime

2008-12-08 Thread Rainer Jung
killbulle schrieb: Hi, i'am in new clustering config i still use modjk(1.2.27 works great for the momentl) Thanks. i ve just a litlle question in the worker.propertis how to add new cluster member at runtime ? or i have to prepare fake node with 0 loadbalancing for the future If you are

Re: bad content type mod_jk 1.2.27

2008-12-08 Thread marcobalc
Hi, no FlushHeader option is not vital: I have tried this option in order to solve the problem. With o without this option I have the same problem. I attach one request for Excel that return the bad result http://www.nabble.com/file/p20893729/logModJk.txt logModJk.txt Many thanks, Marco

Tomcat not displaying jsp files.

2008-12-08 Thread Gaurav Pruthi
Hi, I am facing a strange issue infact from past one year. I am using tomcat virtual hosting but i am not able to run jsp pages in the root directory. Every time i have to create a directory in the AppBase and have to put all the jsp pages into it so that they could get executed. Here are my

Re: Tomcat not displaying jsp files.

2008-12-08 Thread Serge Fonville
Have you created a ROOT directory in your appBase? Regards, Serge Fonville On Mon, Dec 8, 2008 at 2:27 PM, Gaurav Pruthi [EMAIL PROTECTED] wrote: Hi, I am facing a strange issue infact from past one year. I am using tomcat virtual hosting but i am not able to run jsp pages in the root

Modjk add node at runtime

2008-12-08 Thread killbulle
Hi, i'am in new clustering config i still use modjk(1.2.27 works great for the momentl) i ve just a litlle question in the worker.propertis how to add new cluster member at runtime ? or i have to prepare fake node with 0 loadbalancing for the future regards Marc -- View this message in

Re: bad content type mod_jk 1.2.27

2008-12-08 Thread Rainer Jung
Hi Marco, marcobalc schrieb: i all, I have a problem with tomcat 6.0.18 Apache/2.2.9 mod_jk/1.2.27 Some times the content-type sent from my tomcat is ignored and the response have content type text/plain. For this reason some servlet that should return excel file and set the

Re: How to not rot my tomcat pb linked with new cookie parser

2008-12-08 Thread Gregor Schneider
Maybe this might help: http://marc.info/?l=tomcat-userm=122538405720489w=2 Cheers Gregor -- just because your paranoid, doesn't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371

RE: SSL/Apache and Proxy

2008-12-08 Thread Doctor Khumalo
Anyone know anything about this or will my post be ignored? From: [EMAIL PROTECTED] To: users@tomcat.apache.org Subject: RE: SSL/Apache and Proxy Date: Fri, 5 Dec 2008 14:18:12 + Here is my server.xml config. I can see the main localhost but whenever I try to type

Re: bad content type mod_jk 1.2.27

2008-12-08 Thread Rainer Jung
marcobalc schrieb: Hi, no FlushHeader option is not vital: I have tried this option in order to solve the problem. With o without this option I have the same problem. I attach one request for Excel that return the bad result http://www.nabble.com/file/p20893729/logModJk.txt

Re: SSL/Apache and Proxy

2008-12-08 Thread Kees de Kooter
Could you post your apache proxy configuration? On Mon, Dec 8, 2008 at 15:38, Doctor Khumalo [EMAIL PROTECTED] wrote: Anyone know anything about this or will my post be ignored? From: [EMAIL PROTECTED] To: users@tomcat.apache.org Subject: RE: SSL/Apache and Proxy Date: Fri, 5 Dec 2008

Re: SSL/Apache and Proxy

2008-12-08 Thread Rainer Jung
Your configuration doesn't look like you are speaking HTTPS on Tomcat port 8443, but your Apache error looks like you configured httpd to proxy to an HTTPS port. So either enable HTTPS on Tomcat 8443 or tell Apache to talk HTTP to the backend. See also

Re: tomcat gets stuck after a load for streams writing

2008-12-08 Thread Filip Hanik - Dev Lists
6.0.18 tons of bug fixes (and security) Filip Michal Singer wrote: * I see that the requests processors increase but it does not stop the stuck * The data base is slow on get connection but i checked the connections and i still have many left that can be used * i see that the active threads

RE: Tomcat vs. Samba

2008-12-08 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat vs. Samba - when you have such a user-id/password, then go into the Services applet (My computer...,Manage.., Services and Applications,.. Services, right-click on Tomcat in the right panel, choose Properties, and the Logon

Re: bad content type mod_jk 1.2.27

2008-12-08 Thread marcobalc
Hi, .ic is the extension mapped to the controllers of my spring webapp. The Excel is generated by a controller (servlet): this controller execute this instructions response.setContentType(application/excel); response.setHeader(Content-Disposition,attachment; filename=\ nomeFileExcel \);

Re: Tomcat not displaying jsp files.

2008-12-08 Thread removeps-groups
What address are you typing into the address/location bar? --- On Mon, 12/8/08, Gaurav Pruthi [EMAIL PROTECTED] wrote: From: Gaurav Pruthi [EMAIL PROTECTED] Subject: Tomcat not displaying jsp files. To: Tomcat Users List users@tomcat.apache.org Date: Monday, December 8, 2008, 5:27 AM Hi,

Re: SSL/Apache and Proxy

2008-12-08 Thread Markus Schönhaber
Doctor Khumalo: Anyone know anything about this or will my post be ignored? Hijacking unrelated threads is a good way to get ignored. Regards mks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: bad content type mod_jk 1.2.27

2008-12-08 Thread Rainer Jung
Hi Marco, marcobalc schrieb: Hi, .ic is the extension mapped to the controllers of my spring webapp. The Excel is generated by a controller (servlet): this controller execute this instructions response.setContentType(application/excel);

RE: SSL/Apache and Proxy

2008-12-08 Thread Doctor Khumalo
So is being a d-bag. Date: Mon, 8 Dec 2008 17:23:10 +0100 From: [EMAIL PROTECTED] To: users@tomcat.apache.org Subject: Re: SSL/Apache and Proxy Doctor Khumalo: Anyone know anything about this or will my post be ignored? Hijacking unrelated threads is a good way to get ignored. Regards

RE: SSL/Apache and Proxy

2008-12-08 Thread Doctor Khumalo
This is what I placed in my httpd-ssl.conf entry for this particular sight VirtualHost local3:443ServerName local3:443DocumentRoot /usr/local/apache2/htdocs/stirDirectoryIndex index.html index.jsp index.shtmlErrorLog logs/local3_ssl_error_log

RE: SSL/Apache and Proxy

2008-12-08 Thread Doctor Khumalo
OK, thanks. If I remove Tomcat from the equation, I can get HTTPS to work with Apache but when I try to start Tomcat and proxy the HTTPS request to Tomcat, it fails. So, enabling HTTPS on Tomcat 8443 like the following still fails: Connector port=8443 minSpareThreads=5

Re: SSL/Apache and Proxy

2008-12-08 Thread Rainer Jung
Doctor Khumalo schrieb: OK, thanks. If I remove Tomcat from the equation, I can get HTTPS to work with Apache but when I try to start Tomcat and proxy the HTTPS request to Tomcat, it fails. So, enabling HTTPS on Tomcat 8443 like the following still fails: Connector port=8443

Re: SSL/Apache and Proxy

2008-12-08 Thread Milan Cvejic
You can just use proxy_pass_ajp instead just proxy_pass. This way you don't need tomcat ssl listener. Rainer Jung wrote: Doctor Khumalo schrieb: OK, thanks. If I remove Tomcat from the equation, I can get HTTPS to work with Apache but when I try to start Tomcat and proxy the HTTPS request

mod_jk initialization error

2008-12-08 Thread Abhi
I am trying to get tomcat running with apache using mod_jk connector. I compiled mod_jk.so from source and put it under apache modules directory. I get no error while restarting apache and also apache tells me it has loaded mod_jk module. But my requests are not forwarded to tomcat. I get the

Path

2008-12-08 Thread coubeatczech
hi, do you know how to set root of my webapp one directory further? For example I have an application myapp in /opt/tomcat6/webapps/myapp/ and there is an URL within my page like /jsp/any.jsp, i want it to address http://host:port/myapp/jsp/any.jsp , NOT http://host:port/jsp/any.jsp , like it

Re: Path

2008-12-08 Thread David Smith
${pageContext.request.contextPath}/jsp/any.jsp coubeatczech wrote: hi, do you know how to set root of my webapp one directory further? For example I have an application myapp in /opt/tomcat6/webapps/myapp/ and there is an URL within my page like /jsp/any.jsp, i want it to address

Re: Path

2008-12-08 Thread coubeatczech
David Smith-2 wrote: ${pageContext.request.contextPath}/jsp/any.jsp and do i need set the context path anywhere in some *.xml file, or it work just right that as you've wrote? -- View this message in context: http://www.nabble.com/Path-tp20899470p20899908.html Sent from the

Re: Path

2008-12-08 Thread David Smith
No need to edit any *.xml files. Your webapp already knows what it's context path is when the request comes in. The expression I wrote is used in jsp pages to compose server absolute links to resources like jsps, html pages, images, javascript, css, etc., ... Consider it in the context of: a

RE: SSL/Apache and Proxy

2008-12-08 Thread Doctor Khumalo
Connector port=8443 minSpareThreads=5 maxSpareThreads=75 proxyName=local3 enableLookups=true disableUploadTimeout=true acceptCount=100 maxThreads=200 scheme=https secure=true SSLEnabled=true SSLCertificateFile=/usr/local/apache2/conf/ssl.key/local3.crt

Re: Path

2008-12-08 Thread coubeatczech
David Smith-2 wrote: No need to edit any *.xml files. Your webapp already knows what it's context path is when the request comes in. The expression I wrote is used in jsp pages to compose server absolute links to resources like jsps, html pages, images, javascript, css, etc., ...

Re: mod_jk initialization error

2008-12-08 Thread Milan Cvejic
You need to define workers.properties file... It seem to me that you didn't created configuration for mod_jk. Abhi wrote: I am trying to get tomcat running with apache using mod_jk connector. I compiled mod_jk.so from source and put it under apache modules directory. I get no error while

RE: SSL/Apache and Proxy

2008-12-08 Thread Doctor Khumalo
How would I do that? Date: Mon, 8 Dec 2008 18:01:16 +0100 From: [EMAIL PROTECTED] To: users@tomcat.apache.org Subject: Re: SSL/Apache and Proxy You can just use proxy_pass_ajp instead just proxy_pass. This way you don't need tomcat ssl listener. Rainer Jung wrote: Doctor Khumalo

Re: SSL/Apache and Proxy

2008-12-08 Thread André Warnier
Dear Doctor, With the kind of postings you did previously on this forum, you could consider yourself lucky to get any answers at all. A bit of basic civility would certainly not hurt your future prospects. - To unsubscribe,

RE: SSL/Apache and Proxy

2008-12-08 Thread Charlie Wingate
The funny thing is that the Doc wanted to be removed from this aweful blog not barely a day before it was found to be useful; I wish I had a filter for posts from this type of user. ~Charlie The significant problems we have can not be solved at the same level of thinking with which we

request for enlightening - StandardSession and expiring flag

2008-12-08 Thread Leon Rosenberg
Hi, I think either me or StandardSession.java are missing some synchronization knowledge :-) /** * We are currently processing a session expiration, so bypass * certain IllegalStateException tests. NOTE: This value is not * included in the serialized version of this object.

RE: request for enlightening - StandardSession and expiring flag

2008-12-08 Thread Caldarale, Charles R
From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Subject: request for enlightening - StandardSession and expiring flag Correct me if I'm wrong, but if two threads come in simultaneously into this method, wouldn't they both bypass the first check for expiring==true and the synchronized block

Again: Autodeploy in Tomcat 6

2008-12-08 Thread Gregor Schneider
Good evening, I thought I understood the autodeploy-feature. howver... I've started to move away from Tomcat 5.5 towards 6.0, and created my virtual hosts as suggested in the docs: I've created - ${catalina.home}/example.com (directory) - ${catalina.home}/example.com/META-INF (directory, no

Re: request for enlightening - StandardSession and expiring flag

2008-12-08 Thread Leon Rosenberg
On Mon, Dec 8, 2008 at 9:36 PM, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Subject: request for enlightening - StandardSession and expiring flag Correct me if I'm wrong, but if two threads come in simultaneously into this method, wouldn't they

Re: bad content type mod_jk 1.2.27

2008-12-08 Thread marcobalc
Hi, many thanks for advice: I have enabled this log and I see the information that I attach. http://www.nabble.com/file/p20903814/committed.txt committed.txt The problem seem to be the row FINE: Response already committed but I don't understand why the response was committed... I

RE: request for enlightening - StandardSession and expiring flag

2008-12-08 Thread Caldarale, Charles R
From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Subject: Re: request for enlightening - StandardSession and expiring flag I'm wondering whether this https://issues.apache.org/bugzilla/show_bug.cgi?id=46193 can be related. Certainly looks suspicious, but I'm not sure how the specific

RE: Again: Autodeploy in Tomcat 6

2008-12-08 Thread Caldarale, Charles R
From: Gregor Schneider [mailto:[EMAIL PROTECTED] Subject: Again: Autodeploy in Tomcat 6 Next, I put a webapp (roller.war) into ${catalina.home}/webapps - awaiting deployment Since you've redefined the appBase to example.com, nobody's looking at the old appBase directory. What happens

Re: bad content type mod_jk 1.2.27

2008-12-08 Thread marcobalc
Hi, I have tested an other controller that return to a jsp with simple HTML. The last rows of this controller are ... log.debug(isCommitted?? +response.isCommitted()); Map m = new HashMap(); m.put(tutteListe, tutteListe); return new ModelAndView(getInputView(), m); I have invoked 5

Re: Again: Autodeploy in Tomcat 6

2008-12-08 Thread Gregor Schneider
Duuh.. sorry for the misunderstanding: On Mon, Dec 8, 2008 at 10:39 PM, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Gregor Schneider [mailto:[EMAIL PROTECTED] Subject: Again: Autodeploy in Tomcat 6 Next, I put a webapp (roller.war) into ${catalina.home}/webapps - awaiting

RE: Again: Autodeploy in Tomcat 6

2008-12-08 Thread Caldarale, Charles R
From: Gregor Schneider [mailto:[EMAIL PROTECTED] Subject: Re: Again: Autodeploy in Tomcat 6 actually, I put roller.war into ${catalina.home}/example.com/webapps O.k., that's good, and your server.xml appears to be o.k. as well. I'll assume you restarted Tomcat after making the changes to

applying existing SSL certificate (tomcat + linux)

2008-12-08 Thread kachijs
Hey! 1) I have certificate from windows server 2003 (iis 6.0) i exported it in *.pfx (as linux dont understand this encription i converted it to *.pem) then i seperated private key from certificate (two files (*.pem (certificate) and *.key (private key)). launched command (will post it as soon

Re: Again: Autodeploy in Tomcat 6

2008-12-08 Thread Gregor Schneider
Hi Chuck, everything's working fine now. That was what I missed: On Mon, Dec 8, 2008 at 11:22 PM, Caldarale, Charles R [EMAIL PROTECTED] wrote: Note that autoDeploy is effective only for webapps added while Tomcat is running; it's the deployOnStartup attribute that determines what happens

Re: Tomcat vs. Samba

2008-12-08 Thread Mitch Gitman
André, thanks. I can confirm that changing the log-on user in Services worked. As Charles notes in the subsequent post, I can see now that the Log On tab in Configure Tomcat (tomcat6w.exe) mimics the Log On tab for a service's properties in the Services admin tool. On Mon, Dec 8, 2008 at 1:14 AM,

Undeploy context

2008-12-08 Thread Tokajac
Hello! Tomcat is running all the time. When i want to delete folder and .war file from the webapps folder i got the error message: Unable to delete ... These files are making trouble: commons-validator.jar formdef_1_0-validator_1_2_0.jar struts.jar I'm using Ant. My question is:

RE: Undeploy context

2008-12-08 Thread Caldarale, Charles R
From: Tokajac [mailto:[EMAIL PROTECTED] Subject: Undeploy context Tomcat is running all the time. What version of Tomcat? What platform are you running on? What JVM version? You need to provide the basics anytime you start a discussion thread. When i want to delete folder and .war file

Re: mod_jk initialization error

2008-12-08 Thread Abhi
Thanks Milan. This is how my apache2.conf looks LoadModule jk_module /usr/lib/apache2/modules/mod_jk.so JkWorkersFile path to workers.properties/workers.properties JkLogFile /var/log/apache2/mod_jk.log JkLogLevelerror JkLogStampFormat [%a %b %d %H:%M:%S %Y] JkMount /foo/* worker1

Re: Tomcat not displaying jsp files.

2008-12-08 Thread Gaurav Pruthi
No I haven't created ROOT directory in the appBase. On Mon, Dec 8, 2008 at 6:59 PM, Serge Fonville [EMAIL PROTECTED]wrote: Have you created a ROOT directory in your appBase? Regards, Serge Fonville On Mon, Dec 8, 2008 at 2:27 PM, Gaurav Pruthi [EMAIL PROTECTED] wrote: Hi, I am

Re: Tomcat not displaying jsp files.

2008-12-08 Thread Gaurav Pruthi
I am using http://www.mydomain.com/index.jsp On Mon, Dec 8, 2008 at 9:45 PM, [EMAIL PROTECTED] wrote: What address are you typing into the address/location bar? --- On Mon, 12/8/08, Gaurav Pruthi [EMAIL PROTECTED] wrote: From: Gaurav Pruthi [EMAIL PROTECTED] Subject: Tomcat not