Tomcat7 + socketserver and contextListener

2011-05-20 Thread Micka
Hi, * Informations :* System : Ubuntu 10.04 Server Tomcat : Using CATALINA_BASE: /usr/local/tomcat7 Using CATALINA_HOME: /usr/local/tomcat7 Using CATALINA_TMPDIR: /usr/local/tomcat7/temp Using JRE_HOME:/usr/lib/jvm/java-6-sun Using CLASSPATH: /usr/local/tomcat7/bin/

Re: Tomcat7 + socketserver and contextListener

2011-05-20 Thread Micka
) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) I really don't understand this problem ... On Fri, May 20, 2011 at 11:59 AM, André Warnier a...@ice-sa.com wrote: Micka wrote: ... *Problem 2 :* After sudo /etc/init.d/tomcat

Re: getting current context

2011-05-19 Thread Micka
Hi, You should implents ServletContextListener to get the context () : http://www.roseindia.net/servlets/ServletContextListener-example.shtml @Override public void contextInitialized(ServletContextEvent arg0) { if (context == null) { context =

Re: TomCat 7 + Socket Java Version

2011-05-17 Thread Micka
) If someone has an idea of what it can be, i'm very interesting ! Thx, On Mon, May 16, 2011 at 6:47 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Micka, On 5/16/2011 12:18 PM, Micka wrote: I've an application that is running under

Re: TomCat 7 + Socket Java Version

2011-05-17 Thread Micka
of the information that I sent, because It is an echo ) D) Information : the function used to send the char array is : void java.io.PrintWriter.write( char[] buf ) Thx for the support, On Tue, May 17, 2011 at 10:59 AM, André Warnier a...@ice-sa.com wrote: Micka, about the only things that I

Re: TomCat 7 + Socket Java Version

2011-05-17 Thread Micka
, Konstantin Kolinko knst.koli...@gmail.com wrote: 2011/5/17 Micka mickamus...@gmail.com: void java.io.PrintWriter.write(char[] buf) Do you know about the difference between byte and char, between OutputStream and Writer? That is Java IO basics. The common pitfall is that different OSes

Re: TomCat 7 + Socket Java Version

2011-05-17 Thread Micka
. is that better ? :p On Tue, May 17, 2011 at 3:26 PM, André Warnier a...@ice-sa.com wrote: Micka, I'm glad that someone could help you after you provide better/clearer information. Just for future reference : Micka wrote: Ok, Machine A : OS : Windows Seven JVM : jre6 Tomcat : v7.0.8

Re: TomCat 7 + Socket Java Version

2011-05-17 Thread Micka
Warnier a...@ice-sa.com wrote: Micka wrote: Thx for the advise, My mail will be better for the next time. To explain better my application, it is a TCP server. And it received connection requests from clients. In my configuration I'm automatically waiting and accepting a connection

TomCat 7 + Socket Java Version

2011-05-16 Thread Micka
Hi, I've an application that is running under Tomcat7. And I 've created a serversocket, in my PC, the application is running without problem. But when I place the application in my linux machine, I observed a problem in the socket communication. To check if the client received correctly the

Re: Tomcat6

2011-05-10 Thread Micka
understand why in Tomcat6 it doesn't work, because the web app lib is the same ! Thx anyway for your help ^^ On Tue, May 10, 2011 at 8:52 AM, Felix Schumacher felix.schumac...@internetallee.de wrote: Hi Micka, On Sun, 8 May 2011 20:44:01 +0200, Micka wrote: Thanks for your answer, I just

Re: Tomcat6

2011-05-08 Thread Micka
-i18n-ja.jar - ../../java/tomcat-i18n-ja-6.0.24.jar I don't understand what is wrong ! * Thanks for your help !* On Sat, May 7, 2011 at 5:41 PM, Phil Steitz phil.ste...@gmail.com wrote: On 5/7/11 3:33 AM, Micka wrote: Hi, I really don't understand why i've this error ! On my