Re: Tomcat7 + socketserver and contextListener

2011-05-20 Thread Micka
pl.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 wrote: > Micka wrote: > ... > > >> *Problem 2 :* >> >> &

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/ bootstrap.ja

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 = arg0.getServletContext()

Re: TomCat 7 + Socket & Java Version

2011-05-17 Thread Micka
Warnier 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 automatic

Re: TomCat 7 + Socket & Java Version

2011-05-17 Thread Micka
that better ? :p On Tue, May 17, 2011 at 3:26 PM, André Warnier wrote: > Micka, > > I'm glad that someone could help you after you provide better/clearer > information. > > Just for future reference : > > > Micka wrote: > >> Ok, >> >>

Re: TomCat 7 + Socket & Java Version

2011-05-17 Thread Micka
p ! On Tue, May 17, 2011 at 11:20 AM, Konstantin Kolinko wrote: > 2011/5/17 Micka : > > 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 pitf

Re: TomCat 7 + Socket & Java Version

2011-05-17 Thread Micka
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 wrote: > Micka, > > about the only things that

Re: TomCat 7 + Socket & Java Version

2011-05-17 Thread Micka
! 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 Tomcat7. > > And I &#

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 data

Re: Tomcat6

2011-05-10 Thread Micka
x27;t 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:

Re: Tomcat6

2011-05-08 Thread Micka
t 36 2011-05-06 16:30 tomcat-i18n-fr.jar -> ../../java/tomcat-i18n-fr-6.0.24.jar lrwxrwxrwx 1 root root 36 2011-05-06 16:30 tomcat-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, Ph