Re: How to plug a customized membership service to Tribes

2012-08-20 Thread Sajith Kariyawasam
Anyone please? On Thu, Aug 16, 2012 at 3:08 PM, Sajith Kariyawasam saj...@gmail.comwrote: Hi all, I'm trying to understand how Tribes can be used to solve our needs, so I'm going through the source. There I found membershipService property of

MySQL connection error [was: error while shutting down tomcat]

2012-08-20 Thread Ognjen Blagojevic
Ijlal, On 18.8.2012 2:03, Ijlal EL HAZITI wrote: I understand that it's an access to mysql problem. So I gave the user sakai all permissions required, and re-verified the file catalina.properties (where I should put mysql username and the password) but in vain. I still have the same error.

Re: Problem with uploading large files

2012-08-20 Thread Sahana Voleti
Also in my localhost logs in tomcat 7.0.29. It is logging like this: 192.168.2.67 - - [20/Aug/2012:13:32:20 +0530] (¬ûÑ¿¿??«ÊR˱{fÔb²¹? æè 5í?ºÙ³,µj\­´?? }by*Ý?ÀB5ÅÖ8añ¹¶i?ùÇ Z;?ÐÀû#pÌ8 ûæý5Å*1éIEWç?[?Y°U?ïs,5tÕù)?WÆ?iU¼??/µ£kîUð$?+º05­ |7ξÒL«WXÒè¦-?Àp|wny· E?éX68Ä 400 - What

Null pointer when calling getRemoteAddr in exception handling

2012-08-20 Thread Peter Cipov
Hello, I have encountered ambiguous feature/bug of request ...servlet code ... throw new LoginException(String.format(Login failed for user %s from IP %s (%s), principalName, request.getRemoteAddr(), type ), ex); ..

AW: hostConfigClass attribute

2012-08-20 Thread Schulz-Hildebrandt, Ole
-Ursprüngliche Nachricht- Von: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Gesendet: Freitag, 17. August 2012 15:50 An: Tomcat Users List Betreff: Re: hostConfigClass attribute 2012/8/16 Schulz-Hildebrandt, Ole ole.schulz-hildebra...@ppimedia.de: Hi, I'm working with

Re: Null pointer when calling getRemoteAddr in exception handling

2012-08-20 Thread Konstantin Kolinko
2012/8/20 Peter Cipov pci...@kerio.com: Hello, I have encountered ambiguous feature/bug of request ...servlet code ... throw new LoginException(String.format(Login failed for user %s from IP %s (%s), principalName, request.getRemoteAddr(),

Configure logs without date in the file name

2012-08-20 Thread Ricardo F
Hello, I have tomcat 7.0.26 and I see how the /logs folder grow every day with tons of logs with the date, like: catalina.2012-08-20.loghost-manager.2012-08-20.loglocalhost_access_log.2012-08-20.txtlocalhost.2012-08-20.logmanager.2012-08-20.log How can I remove the date between the name and the

redirecting people to maintenance mode

2012-08-20 Thread Miguel González Castaños
Dear all, I have a Tomcat web server. From time to time, I need to do some maintenance and want people not to interact with the Tomcat server while I'm doing it. The key thing here is that the Tomcat server is up and running. This is what I want to achieve: - I want all people to be

Re: redirecting people to maintenance mode

2012-08-20 Thread Jose María Zaragoza
I assume I can use iptables to redirect people to a different web server, but how can I know that I need to redirect them to the maintenance.html if that server is serving other web pages too? You can try Valve filters . With Valve, you have access to Request and Response objects I didn't

difficulty in running acegisample.war file in tomcat

2012-08-20 Thread Ragini
Hi all, I am trying to run acegisample.war file from tomcat. I have followed all the instruction to run it from here. (http://www.ibm.com/developerworks/java/library/j-acegi1/#section6.2). When I try to run the file by (|http://localhost:8080/acegisample/|), it gives me http status- 404.

Re: redirecting people to maintenance mode

2012-08-20 Thread Miguel González Castaños
On 20/08/2012 12:37, Jose María Zaragoza wrote: I assume I can use iptables to redirect people to a different web server, but how can I know that I need to redirect them to the maintenance.html if that server is serving other web pages too? You can try Valve filters . With Valve, you have

Re: redirecting people to maintenance mode

2012-08-20 Thread mailingl...@j-b-s.de
What about a non-tomcat solution like a load balancer (apache, nginx?) in front of your tomcats? Sent from my iPhone On 21.08.2012, at 12:25, Miguel González Castaños miguel_3_gonza...@yahoo.es wrote: Dear all, I have a Tomcat web server. From time to time, I need to do some

Re: redirecting people to maintenance mode

2012-08-20 Thread Jose María Zaragoza
maybe I haven't worded my idea correctly. I can't assume the Tomcat service in server1 is running all the time (since it's under maintenance, tomcat might be restarted a few times during the maintenance). That's why I thought about iptables. The issue is that iptables run at the IP level while

Re: redirecting people to maintenance mode

2012-08-20 Thread Konstantin Kolinko
2012/8/21 Miguel González Castaños miguel_3_gonza...@yahoo.es: On 20/08/2012 12:37, Jose María Zaragoza wrote: I assume I can use iptables to redirect people to a different web server, but how can I know that I need to redirect them to the maintenance.html if that server is serving other

Re: difficulty in running acegisample.war file in tomcat

2012-08-20 Thread Konstantin Kolinko
2012/8/20 Ragini raginippa...@gmail.com: Hi all, I am trying to run acegisample.war file from tomcat. I have followed all the instruction to run it from here. (http://www.ibm.com/developerworks/java/library/j-acegi1/#section6.2). Using Acegi in very outdated. This product has been renamed

Re: Configure logs without date in the file name

2012-08-20 Thread Konstantin Kolinko
2012/8/20 Ricardo F ri...@hotmail.com: Hello, I have tomcat 7.0.26 and I see how the /logs folder grow every day with tons of logs with the date, like: catalina.2012-08-20.loghost-manager.2012-08-20.loglocalhost_access_log.2012-08-20.txtlocalhost.2012-08-20.logmanager.2012-08-20.log How can

Re: Problem with uploading large files

2012-08-20 Thread Konstantin Kolinko
2012/8/20 Sahana Voleti sahanasithmas...@gmail.com: Also in my localhost logs in tomcat 7.0.29. It is logging like this: 192.168.2.67 - - [20/Aug/2012:13:32:20 +0530] (¬ûÑ¿¿?? «ÊR˱{fÔb²¹? æè 5í?º Ù³,µj\­ ´?? }b y* Ý?ÀB5ÅÖ8añ¹¶i? ùÇ Z;?ÐÀû#pÌ8 ûæ ý5Å *1éIEWç?[?Y°U?ïs,5tÕù

Re: Problem with uploading large files

2012-08-20 Thread Konstantin Kolinko
2012/8/20 Sahana Voleti sahanasithmas...@gmail.com: Konstantin Kolinko, U mentioned these steps in your mail: 1. Read documentation for AccessLogValve. 2. Use a text editor to edit server.xml file (for the global access log) or the META-INF/context.xml file of your web application (for your

Re: Problem with uploading large files

2012-08-20 Thread Sahana Voleti
Is there any size limitations fr this apache commons upload? Also is there any standalone application I can use? I think there is some problem in parsing because of which I am getting multipart/formdata request failed. On Mon, Aug 20, 2012 at 5:03 PM, Konstantin Kolinko

Re: Problem with uploading large files

2012-08-20 Thread Sahana Voleti
The documentation is fine but how do you use content length there? On Mon, Aug 20, 2012 at 5:10 PM, Sahana Voleti sahanasithmas...@gmail.comwrote: Is there any size limitations fr this apache commons upload? Also is there any standalone application I can use? I think there is some problem in

Re: redirecting people to maintenance mode

2012-08-20 Thread André Warnier
Miguel González Castaños wrote: Dear all, I have a Tomcat web server. Apparently, you also have an email program that sends messages dated from the future. Or, maybe you should say then : I will have a Tomcat web server. Either way, it makes it a bit harder to follow the gist of the

Re: Problem with uploading large files

2012-08-20 Thread Konstantin Kolinko
2012/8/20 Sahana Voleti sahanasithmas...@gmail.com: The documentation is fine but how do you use content length there? I am logging the value of the content-length header. What that header means is defined in the HTTP protocol specification. On Mon, Aug 20, 2012 at 5:10 PM, Sahana Voleti

Re: Problem with uploading large files

2012-08-20 Thread Sahana Voleti
can you give me a sample code using content length? On Mon, Aug 20, 2012 at 5:38 PM, Konstantin Kolinko knst.koli...@gmail.comwrote: 2012/8/20 Sahana Voleti sahanasithmas...@gmail.com: The documentation is fine but how do you use content length there? I am logging the value of the

Re: redirecting people to maintenance mode

2012-08-20 Thread Miguel González Castaños
On 20/08/2012 13:50, André Warnier wrote: Miguel González Castaños wrote: Dear all, I have a Tomcat web server. Apparently, you also have an email program that sends messages dated from the future. Or, maybe you should say then : I will have a Tomcat web server. Either way, it makes it

Re: redirecting people to maintenance mode

2012-08-20 Thread Jose María Zaragoza
Sorry, for any reason the date was changed in my system inadvertently Corrected. I don't have any problem to fix issues to people from the future :-) - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For

%{xxx}t not working

2012-08-20 Thread John Byrne
Hello Tomcat List, I was wondering if you could help me with a server.xml log question. I'm trying to format the times that go into the logs but not having any success. The output always ends up as : ???. I've read that any time format accepted by Java's SimpleDateFormat will work

Re: %{xxx}t not working

2012-08-20 Thread Konstantin Kolinko
2012/8/20 John Byrne john_by...@apple.com: I was wondering if you could help me with a server.xml log question. I'm trying to format the times that go into the logs but not having any success. The output always ends up as : ???. I've read that any time format accepted by Java's

Re: %{xxx}t not working

2012-08-20 Thread John Byrne
I've tried both 7.0.29 and 7.0.8. Thank you for the help. John Byrne John Byrne System Administrator, IST john_by...@apple.com On Aug 20, 2012, at 12:43 PM, Konstantin Kolinko wrote: 2012/8/20 John Byrne john_by...@apple.com: I was wondering if you could help me with a server.xml

Re: redirecting people to maintenance mode

2012-08-20 Thread André Warnier
Miguel González Castaños wrote: Dear all, I have a Tomcat web server. From time to time, I need to do some maintenance and want people not to interact with the Tomcat server while I'm doing it. The key thing here is that the Tomcat server is up and running. This is what I want to achieve:

RE: tomcat and DB oracle problem - only in higher versions

2012-08-20 Thread Dale Ogilvie
Does this help? https://forums.oracle.com/forums/thread.jspa?threadID=279238

RE: ClassCastException org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl

2012-08-20 Thread Dale Ogilvie
So, I ran with JVM option -verbose:class Then I requested a jsp from app1 and the console printed: ... [Loaded javax.el.ExpressionFactory from file:/C:/apache-tomcat-7.0.27/lib/el-api.jar] [Loaded org.apache.jasper.runtime.JspApplicationContextImpl from