Re: Tomcat throws IllegalStateException “The remote endpoint was in state [BINARY_FULL_WRITING] …” when calling RemoteEndpoint.Async.sendBinary concurrently on the same session

2015-10-27 Thread Mark Thomas
On 27/10/2015 19:33, Farzad Panahi wrote: > Thanks Mark for your quick response. > > But how do I know the previous message is finished? RemoteEndpoint > does not expose the state. Yes it does. Via the Future or the SendHandler depending on how you sent the async message. For the Basic handler,

Re: Tomcat throws IllegalStateException “The remote endpoint was in state [BINARY_FULL_WRITING] …” when calling RemoteEndpoint.Async.sendBinary concurrently on the same session

2015-10-27 Thread Farzad Panahi
Thanks Mark for your quick response. But how do I know the previous message is finished? RemoteEndpoint does not expose the state. On Tue, Oct 27, 2015 at 7:30 PM, Mark Thomas wrote: > On 27/10/2015 19:15, Farzad Panahi wrote: >> Hi, >> >> I am using tomcat 8.0.23 to terminate my websocket conne

Re: Tomcat throws IllegalStateException “The remote endpoint was in state [BINARY_FULL_WRITING] …” when calling RemoteEndpoint.Async.sendBinary concurrently on the same session

2015-10-27 Thread Mark Thomas
On 27/10/2015 19:15, Farzad Panahi wrote: > Hi, > > I am using tomcat 8.0.23 to terminate my websocket connections. I have > the following code to take care of the incoming messages: > > @OnMessage > public void onMsg(Session session, byte[] request) { > executorService.execute(() -> >

Tomcat throws IllegalStateException “The remote endpoint was in state [BINARY_FULL_WRITING] …” when calling RemoteEndpoint.Async.sendBinary concurrently on the same session

2015-10-27 Thread Farzad Panahi
Hi, I am using tomcat 8.0.23 to terminate my websocket connections. I have the following code to take care of the incoming messages: @OnMessage public void onMsg(Session session, byte[] request) { executorService.execute(() -> session.getAsyncRemote().sendBinary(

RE: Tomcat answers on port 80, not on 443

2015-10-27 Thread Beyer, Gregory L
Still struggling with this. I'm amazed that implementing SSL in Tomcat is so difficult. It's not in straight Apache, or IIS. Is Tomcat really so different an animal? I tried changing \\Program files to \\progra~1\ -- no joy.:-( A question I posed last week that got overlooked -- Am I

Re: Java 7 and 8 features

2015-10-27 Thread tomcat
On 27.10.2015 17:01, Vinicius Corrêa de Almeida wrote: I analized some releases and i noticed that not using java 7 features like multi catch and in java 8 do not use lambda expressions and others features, so i came by this email to know why the developers not using this features? I believe t

Re: Java 7 and 8 features

2015-10-27 Thread David kerber
On 10/27/2015 12:01 PM, Vinicius Corrêa de Almeida wrote: I analized some releases and i noticed that not using java 7 features like multi catch and in java 8 do not use lambda expressions and others features, so i came by this email to know why the developers not using this features? Which ve

Java 7 and 8 features

2015-10-27 Thread Vinicius Corrêa de Almeida
I analized some releases and i noticed that not using java 7 features like multi catch and in java 8 do not use lambda expressions and others features, so i came by this email to know why the developers not using this features?

Re: Tomcat 6, DB2 Driver Problems

2015-10-27 Thread Christopher Schultz
Simone, On 10/27/15 10:39 AM, simone.rodenbach@devk.de wrote: > we are using Apache Tomcat/6.0.41. I added the database driver " db2jcc4.jar" > into the tomcat lib folder. > Our application don't deploy the database driver. We are connecting to the > datasource with a jndi datasource lookup

AW: Tomcat 6, DB2 Driver Problems

2015-10-27 Thread Simone.Rodenbach.ext
Yes it is the lib folder of the tomcat -Ursprüngliche Nachricht- Von: Anderson Ramos [mailto:anderson.andy1...@gmail.com] Gesendet: Dienstag, 27. Oktober 2015 15:46 An: Tomcat Users List Betreff: Re: Tomcat 6, DB2 Driver Problems Hi Simone ! Are you tried to put this jar driver on tomc

Re: jsp to servlet

2015-10-27 Thread Christopher Schultz
Суржин, On 10/27/15 7:45 AM, Суржин Константин Вадимович wrote: > Hi. > win XP. > Apache Tomcat 8.0.15 > jdk8 > animal.jsp (page code below) > Animal.java(page code below) > > line 10 -> animalBean_0 = new org.animal.Animal(); > and all right. > > line 16 -> animalBean_1 = (Animal) > java.bea

Re: Tomcat 6, DB2 Driver Problems

2015-10-27 Thread Anderson Ramos
Hi Simone ! Are you tried to put this jar driver on tomcat common libs ? I hope helped you. Best regards... Em 27/10/2015 12:39, escreveu: > Hi, > > we are using Apache Tomcat/6.0.41. I added the database driver " > db2jcc4.jar" into the tomcat lib folder. > Our application don't deploy the da

Tomcat 6, DB2 Driver Problems

2015-10-27 Thread Simone.Rodenbach.ext
Hi, we are using Apache Tomcat/6.0.41. I added the database driver " db2jcc4.jar" into the tomcat lib folder. Our application don't deploy the database driver. We are connecting to the datasource with a jndi datasource lookup. But, after a HotDeployment I get every minute the following log-mes

jsp to servlet

2015-10-27 Thread Суржин Константин Вадимович
Hi. win XP. Apache Tomcat 8.0.15 jdk8 animal.jsp (page code below) Animal.java(page code below) line 10 -> animalBean_0 = new org.animal.Animal(); and all right. line 16 -> animalBean_1 = (Animal) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "Animal"); but I need a line 1 in

Re: ClientAbortException: java.io.IOException: Failed to send AJP message

2015-10-27 Thread tomcat
On 27.10.2015 10:46, Yogesh Patel wrote: Ok Thanks, My Tomcat version is : 7.0.47 Error stack trace is below: " org.apache.catalina.core.StandardWrapperValve.invoke:Line 211 - ClientAbortException: java.io.IOException: Failed to send AJP message at org.apache.catalina.connector.Outp

Re: ClientAbortException: java.io.IOException: Failed to send AJP message

2015-10-27 Thread Yogesh Patel
Ok Thanks, My Tomcat version is : 7.0.47 Error stack trace is below: " org.apache.catalina.core.StandardWrapperValve.invoke:Line 211 - ClientAbortException: java.io.IOException: Failed to send AJP message at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:4

Re: ClientAbortException: java.io.IOException: Failed to send AJP message

2015-10-27 Thread tomcat
Yogesh, 1) please follow the rules of this list, and don't "top-post" : http://tomcat.apache.org/lists.html#tomcat-users #6 2) please follow the rules of this list, and post your messages as plain text : http://tomcat.apache.org/lists.html#tomcat-users #7 As you can see below, what you are send