wrote:
> On 23.06.2016 21:43, Jason Ricles wrote:
>>
>> Fail-secure is a condition achieved by the application server in order
>> to ensure that in the event of an operational failure, the system does
>> not enter into an unsecure state where intended security properties no
wrote:
> On 23/06/2016 20:21, Jason Ricles wrote:
>> Does tomcat have a secure state if system initialization fails,
>> shutdown fails, or aborts fail?
>
> Define "secure state", "system initialization", "fails", "shutd
Does tomcat have a secure state if system initialization fails,
shutdown fails, or aborts fail?
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
I am trying to send a file over a websocket in binary and keep getting
this error
"code [1009], reason [No async message support and buffer too small.
Buffer size: [800,000], Message size: [131,170]]"
I am confused since it is saying the buffer size is too small but the
size is 800,000 and the
On Wed, Feb 10, 2016 at 7:47 AM, Konstantin Kolinko
<knst.koli...@gmail.com> wrote:
> 2016-02-10 5:40 GMT+03:00 Jason Ricles <jgr...@alum.lehigh.edu>:
>> Is there any formal forum to make a feature request for tomcat?
>
> http://tomca
Is there any formal forum to make a feature request for tomcat?
I noticed I was having a silent failure with a binary websocket with tomcat
since I didn't flip the bytebuffer from write to read and the send kept
failing down at the low level of the code without any error being thrown.
With that
I have an application that sends binary websocket messages between a
class and the web application using a websocket server written in
java.
The data being sent from the java class is encoded in a binary buffer
with the bytes in ISO8859_1. However, when I receive the bytes on the
websocket server
The message is built and sent in a javaclass connected to a websocket
server for the web application also written in java then the message
is passed to the webpage which uses javascript
On Mon, Feb 8, 2016 at 2:25 PM, André Warnier (tomcat) <a...@ice-sa.com> wrote:
> On 08.02.2016 19:
to
be re-directed to an static page not connected to the database or back-end.
And if user== administrator; then, do not redirect. Allow user to see
error.
On 08/10/2015 10:01 AM, Jason Ricles wrote:
Introduction:
I have an application that uses a webpage as the GUI and the backend
is written
Introduction:
I have an application that uses a webpage as the GUI and the backend
is written in Java so thuswebsockets using Apache Tomcat 7 are the way
I am communicating between the GUI and the backend code that does all
the grunt work. A websocket server is the go between, between the
backend
I have an application that uses the websocket jars from tomcat and
sometimes get this error,
java.util.ServiceConfigurationError:
javax.websocket.ContainerProvider: Provider
org.apache.tomcat.websocket.WsContainerProvider not found
Then it gets the error for a while and magically finds the jars
I am currently using tomcat 7.0.57 to host a website for the purpose
of having a websocket serverdeployed with the page for the purpose of
communicating between an external java program and the webpage. I
would like to write some unit test to test that the integration
between the external java
, Christopher Schultz
ch...@christopherschultz.net wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Jason,
On 12/11/14 9:07 AM, Jason Ricles wrote:
I am currently using tomcat 7.0.57 to host a website for the
purpose of having a websocket serverdeployed with the page for the
purpose
No no, it goes Website (GUI) ws server -- external java program
On Thu, Dec 11, 2014 at 11:25 AM, Christopher Schultz
ch...@christopherschultz.net wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Jason,
On 12/11/14 10:03 AM, Jason Ricles wrote:
To the question, the external
, Jason Ricles wrote:
No no, it goes Website (GUI) ws server -- external java
program
Okay, and your unit test is going to test which interaction? From GUI
to ws server, or from ws server (really a servlet) to the external
Java program?
If it were me, I'd be testing whether your
to update tomcat since it was not in the bug
database at all.
On Thu, Dec 4, 2014 at 4:50 PM, David kerber dcker...@verizon.net wrote:
On 12/4/2014 4:32 PM, Jason Ricles wrote:
Yes it was a bug so we will try to get a waiver to use 7.0.57 for our
environment instead of 7.0.53
So it works
I have tomcat 7.0.53 and have been having a problem with the following
error when sending a binary message CloseReason: code [1002], reason
[The client frame set the reserved bits to [x] which was not supported
by this endpoint] where x is between 1-7 when printed out. So I
remote debugged and
with tomcat?
On Thu, Dec 4, 2014 at 12:16 PM, Mark Thomas ma...@apache.org wrote:
On 04/12/2014 15:26, Jason Ricles wrote:
I have tomcat 7.0.53 and have been having a problem with the following
error when sending a binary message CloseReason: code [1002], reason
[The client frame set
Well the trace is fine so I will upgrade and try and see what happens.
If it is not fixed I assume I should file a bug report.
On Thu, Dec 4, 2014 at 1:19 PM, Mark Thomas ma...@apache.org wrote:
On 04/12/2014 18:04, Jason Ricles wrote:
Due to some regulations out of my control right now we can
Yes it was a bug so we will try to get a waiver to use 7.0.57 for our
environment instead of 7.0.53
On Thu, Dec 4, 2014 at 1:20 PM, Jason Ricles jgr...@alum.lehigh.edu wrote:
Well the trace is fine so I will upgrade and try and see what happens.
If it is not fixed I assume I should file a bug
Here is the wireshark of the binary data that is being transferred over.
00 00 00 00 00 00 00 00 00 00 00 00 86 dd 60 00 ..`.
0010 00 00 5c 15 06 40 00 00 00 00 00 00 00 00 00 00 ..\..@..
0020 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00
Mark,
Is there any way to do two back to back writes to a websocket with a
sort of blocking technique, and without using a sleep?
On Mon, Dec 1, 2014 at 3:13 PM, Mark Thomas ma...@apache.org wrote:
On 01/12/2014 18:30, Jason Ricles wrote:
What might be causing this error on concurrent writes
No luck try to find a blocking call or having the websocket server
reader go off into another thread. so basically no way around this
problem it seems?
On Tue, Dec 2, 2014 at 9:19 AM, Mark Thomas ma...@apache.org wrote:
On 02/12/2014 13:05, Jason Ricles wrote:
Mark,
Is there any way to do two
no problem 100% of the time.
On Tue, Dec 2, 2014 at 4:08 PM, Jason Ricles jgr...@alum.lehigh.edu wrote:
No luck try to find a blocking call or having the websocket server
reader go off into another thread. so basically no way around this
problem it seems?
On Tue, Dec 2, 2014 at 9:19 AM, Mark Thomas ma
I have a binary queue that I am writing to a websocket server written
in java from a client end point with the following code,
while((bbuf = messageQueue.take()).get(0) != 0)
{
bbuf.position(bbuf.limit());
bbuf.flip();
for(Session session :
What might be causing this error on concurrent writes in a websocket,
CloseReason: code [1002], reason [The client frame set the reserved
bits to [2] which was not supported by this endpoint]?
-
To unsubscribe, e-mail:
().sendBinary(bbuf);
System.out.println(sent);
}
Jason Ricles
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
wrote:
2014-11-18 22:14 GMT+03:00 Jason Ricles jgr...@alum.lehigh.edu:
I am writing a websocket communication with the client and server
endpoints both in java code (using tomcat 7.0.53 as the web server)
When I send a text message using the
session.getbasicremote.sendText(String) method
Why is the bytebuffer now filled with 0 and no data after doing a flip?
On Tue, Nov 18, 2014 at 3:12 PM, Jason Ricles jgr...@alum.lehigh.edu wrote:
Yup that flip did it and it works. Yes haha that was one of the many
reasons I didn't major in something with more writing. Luckily its
just
...@christopherschultz.net wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Jason,
On 10/28/14 3:06 PM, Jason Ricles wrote:
Chris, foo has to run as a daemon outside of tomcat. It will be
interacting with low level drivers through jni.
While interesting, it's not terribly relevant.
I
of that.
On Wed, Oct 29, 2014 at 1:47 PM, Christopher Schultz
ch...@christopherschultz.net wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Jason,
On 10/29/14 8:28 AM, Jason Ricles wrote:
foo is not a webapp, it is a separate program running on the
computer as a daemon.
I
You can use upstart if you have that, with a .conf file. However unless you
source the profile.d or wherever your environment variables are held do not
use them in an init task!
On Wed, Oct 29, 2014 at 1:55 PM, Christopher Schultz
ch...@christopherschultz.net wrote:
-BEGIN PGP SIGNED
No,
it is external as in it is running in a daemon on a linux machine where the
tomcat server is also running.
On Tue, Oct 28, 2014 at 4:35 AM, Johan Compagner jcompag...@servoy.com
wrote:
I would like to be able to access my sessions from an external java
class,
however each time I do
to share the data between the processes.
A simple and easy solution would be to use http://hazelcast.com/, for
example.
On Tue, Oct 28, 2014 at 2:06 PM, Jason Ricles jgr...@alum.lehigh.edu
wrote:
No,
it is external as in it is running in a daemon on a linux machine where
the
tomcat
Jason Ricles jgr...@alum.lehigh.edu:
Martin,
I can not use hazelcast due to regulations I have to abide by, is where
any
other built in way besides sockets that will allow me to share data
between
the two processes?
You could use an embedded ( or not ) messaging broker
Does it matter that foo will not be running on a server? It will be running
as a standalone on the machine, unaware of tomcat basically.
On Tue, Oct 28, 2014 at 9:36 AM, Martin Grigorov mgrigo...@apache.org
wrote:
On Tue, Oct 28, 2014 at 3:06 PM, Jason Ricles jgr...@alum.lehigh.edu
wrote
and just regular messages.
On Tue, Oct 28, 2014 at 9:42 AM, chris derham ch...@derham.me.uk wrote:
On 28 October 2014 11:06, Jason Ricles jgr...@alum.lehigh.edu wrote:
Ok so here is the problem I have been spinning my wheels on for day let
me
just lay it out.
I have a daemon written
I can not using anything outside of tomcat to accomplish this, due anything
outside of tomcat being on an approved list.
On Tue, Oct 28, 2014 at 9:51 AM, Martin Grigorov mgrigo...@apache.org
wrote:
On Tue, Oct 28, 2014 at 3:38 PM, Jason Ricles jgr...@alum.lehigh.edu
wrote:
Does it matter
I am looking at it but am having trouble seeing the connection, do you care
to expand on how it can be used other then for the http request?
On Tue, Oct 28, 2014 at 10:00 AM, Martin Grigorov mgrigo...@apache.org
wrote:
On Tue, Oct 28, 2014 at 3:54 PM, Jason Ricles jgr...@alum.lehigh.edu
wrote
. What's the problem with using a socket? Or better
yet, a message broker like ActiveMQ like someone else has already
suggested?
On Tue, 2014-10-28 at 09:46 -0400, Jason Ricles wrote:
Communicate means something happens that the daemon is monitoring, so
thus
the daemon sends a message
to an API instead of
having to invent message formats and protocols.
On Tue, 2014-10-28 at 10:16 -0400, Jason Ricles wrote:
Yes we are trying to portable, well the socket is the last resort. We are
trying to avoid it until now but will go that way if we have to if there
is
no other way
, Christopher Schultz
ch...@christopherschultz.net wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Jason,
On 10/28/14 9:06 AM, Jason Ricles wrote:
Ok so here is the problem I have been spinning my wheels on for day
let me just lay it out.
I have a daemon written in java running
I have the following code for a web-socket
package comm2.hello;
import java.io.IOException;
import java.util.ArrayList;
import javax.websocket.OnClose;
import javax.websocket.OnMessage;
import javax.websocket.OnOpen;
import javax.websocket.Session;
import javax.websocket.server.ServerEndpoint;
I have a tomcat webpage with a websocket server written in java to
communicate with the webpage. I want this websocket server to be able to
communicate with an external java program without an sockets, so something
like this
webpagewebsocket serverexternal java
Does anyone happen to know if embedded tomcat is in Defense
Information Systems Agency list? I know regular tomcat is but I have a
need to use embedded tomcat for what I need to accomplish.
Jason Ricles
Where can I find a checklist so that I may make my tomcat server DISA
compliant?
--
Jason Ricles
Jr Software Engineer
Mikros Systems Corp
46 matches
Mail list logo