Re: Configuring a JSR-356 Websocket

2014-04-22 Thread Thom Hehl
On 04/21/2014 04:30 PM, Daniel Mikusa wrote: On Apr 21, 2014, at 9:58 AM, Thom Hehl th...@corrisoft.com wrote: Tomcat 8/Ubuntu 12.04 I have my tomcat deployed with the example echo application. I wrote a tester that hits the URL provided and sends a message and then receives the response

Re: Configuring a JSR-356 Websocket

2014-04-22 Thread Thom Hehl
On 04/22/2014 07:35 AM, Mark Thomas wrote: On 22/04/2014 12:31, Thom Hehl wrote: I appreciate the help, but I've been through the tutorials. I've been debugging the code for tomcat 8.05 and this looks like a defect. It finds my class in ContextConfig.checkHandlesTypes and then passes

Re: Configuring a JSR-356 Websocket

2014-04-22 Thread Thom Hehl
On 04/22/2014 07:50 AM, Konstantin Kolinko wrote: 2014-04-22 15:31 GMT+04:00 Thom Hehl th...@corrisoft.com: On 04/21/2014 04:30 PM, Daniel Mikusa wrote: On Apr 21, 2014, at 9:58 AM, Thom Hehl th...@corrisoft.com wrote: Tomcat 8/Ubuntu 12.04 I have my tomcat deployed with the example echo

Re: Configuring a JSR-356 Websocket

2014-04-22 Thread Thom Hehl
On 04/22/2014 07:50 AM, Konstantin Kolinko wrote: 2014-04-22 15:31 GMT+04:00 Thom Hehl th...@corrisoft.com: On 04/21/2014 04:30 PM, Daniel Mikusa wrote: On Apr 21, 2014, at 9:58 AM, Thom Hehl th...@corrisoft.com wrote: Tomcat 8/Ubuntu 12.04 I have my tomcat deployed with the example echo

Configuring a JSR-356 Websocket

2014-04-21 Thread Thom Hehl
Tomcat 8/Ubuntu 12.04 I have my tomcat deployed with the example echo application. I wrote a tester that hits the URL provided and sends a message and then receives the response back. I want to deploy my own websocket. I have done so using the @ServerEndpoint(value = /websocket) annotation.

Tomcat 8 websocket example

2014-04-18 Thread Thom Hehl
I have downloaded the websocket example echo in the examples section of the tomcat 8 docs. I downloaded both java classes and the xhtml file and have placed all of these in my eclipse project. I then created a basic web.xml which is: ?xml version=1.0 encoding=UTF-8? web-app

Fwd: Tomcat 8 websocket example

2014-04-18 Thread Thom Hehl
Also, I found several examples of this same issue on stack overflow with no solutions. Original Message Subject:Tomcat 8 websocket example Date: Fri, 18 Apr 2014 12:28:56 -0400 From: Thom Hehl th...@corrisoft.com To: users@tomcat.apache.org I have

Context configuration file

2012-01-11 Thread Thom Hehl
We are using a context configuration file to provide our database connectivity through a JNDI entry to our application so that the file can change without the purchasers of our software having to tinker about with it internally. Here is our file: Context path=/chronicle debug=5 reloadable=true

RE: Context configuration file

2012-01-11 Thread Thom Hehl
, 2012 8:29 AM To: Tomcat Users List Subject: Re: Context configuration file On Wed, 2012-01-11 at 05:01 -0800, Thom Hehl wrote: We are using a context configuration file to provide our database connectivity through a JNDI entry to our application so that the file can change without the purchasers

RE: Context configuration file

2012-01-11 Thread Thom Hehl
7.0.8 This is the configuration file in conf/Catalina/localhost and shares the name of my webapp. -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Wednesday, January 11, 2012 10:52 AM To: Tomcat Users List Subject: Re: Context configuration file On 11/01/2012 13:01, Thom

RE: How to forward all kind of request from ROOT to another subdirectory?

2011-12-08 Thread Thom Hehl
Simplest would be to set up an index.html in the root path that redirects to whatever you wish. You can find 500 hits on google about how to do an HTML redirect. -Original Message- From: Xybrek [mailto:xyb...@gmail.com] Sent: Thursday, December 08, 2011 3:07 AM To:

RE: Apache HTTPD - Tomcat, Passing Errors

2011-12-06 Thread Thom Hehl
How about a re-direct to a page that Apache will handle. You could re-direct to http://blah.com/invalid.page or some such or even a valid page. -Original Message- From: Jonathan Rosenberg [mailto:shmol...@gmail.com] Sent: Monday, December 05, 2011 3:42 PM To: Tomcat Users List Subject:

RE: hi

2011-12-02 Thread Thom Hehl
Don't use it. Why build applications on a platform you have doubts about? I think you should build all of your applications using snobol. See http://en.wikipedia.org/wiki/SNOBOL for websites. -Original Message- From: srilaxmi deevela [mailto:deevelasrila...@gmail.com] Sent: Friday,

RE: Logging

2011-12-01 Thread Thom Hehl
-Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Wednesday, November 30, 2011 6:15 PM To: Tomcat Users List Subject: Re: Logging -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thom, On 11/30/11 1:04 PM, Thom Hehl wrote: I'm using VI to reading

RE: Logging

2011-12-01 Thread Thom Hehl
shutting down the server. -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Thursday, December 01, 2011 8:38 AM To: Tomcat Users List Subject: Re: Logging On 01/12/2011 13:03, Thom Hehl wrote: -Original Message- From: Christopher Schultz [mailto:ch

RE: Logging

2011-12-01 Thread Thom Hehl
Subject: RE: Logging On Thu, 2011-12-01 at 06:01 -0800, Thom Hehl wrote: I'm looking for stack traces. People report defects and we get a stack trace and I need to see it in the log, but instead, the log is still in the buffer. Usually I have to shutdown the server and start it back up to get

Logging

2011-11-30 Thread Thom Hehl
When running Tomcat 7.0.20 as a daemon, it doesn't appear to be writing the logs to the file until tomcat is stopped. Is there some way I can make tomcat dump the logs it's holding onto?

RE: Logging

2011-11-30 Thread Thom Hehl
to file. It sounds like there's no way to do that with the default logger. -Original Message- From: Daniel Mikusa [mailto:dmik...@vmware.com] Sent: Wednesday, November 30, 2011 11:46 AM To: Tomcat Users List Subject: Re: Logging On Wed, 2011-11-30 at 07:01 -0800, Thom Hehl wrote: When

RE: Logging

2011-11-30 Thread Thom Hehl
, On 11/30/11 10:01 AM, Thom Hehl wrote: When running Tomcat 7.0.20 as a daemon, it doesn't appear to be writing the logs to the file until tomcat is stopped. Is there some way I can make tomcat dump the logs it's holding onto? What tool are you using to read the log file? Anything else we should

Spawning a thread

2006-01-14 Thread Thom Hehl
Isn't there a caveat about spawning a new thread inside of a servlet? Thom Hehl Heavyweight Software for Heavyweight Needs www.heavyweightsoftware.com -- In every revolution, there is one man with a vision.--Jerome Bixby

Re: Spawning a thread

2006-01-14 Thread Thom Hehl
and handle any required shutdown. George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Thom Hehl

Re: Threads and SocketException

2006-01-14 Thread Thom Hehl
The issue is that this works just fine when not running inside of Tomcat. Any ideas what runing inside of a servlet context-spawned thread can cause this kind of error? Wade Chandler wrote: --- Thom Hehl [EMAIL PROTECTED] wrote: OK, I'm using tomcat and a sevlet to launch a background

Path issues

2006-01-14 Thread Thom Hehl
(path.getAbsolutePath()); When I run this under windows, the path points to the Tomcat5.5, which is where tomcat is installed. When I run this under Redhat Linux, it points to the webapps directory under the tomcat directory. Is there anyone that doesn't think this is broken? Thanks. Thom Hehl

Re: Path issues

2006-01-14 Thread Thom Hehl
I think, though, that tomcat should be consistent in the way it handles things. Tomcat on Unix should behave like tomcat under windows. Inconsistency is a real problem here. Wendy Smoak wrote: On 1/14/06, Thom Hehl [EMAIL PROTECTED] wrote: Wanted to run this by the list before turning

Cannot find servlet

2006-01-13 Thread Thom Hehl
) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) java.lang.Thread.run(Unknown Source) I'm not sure where to look next. Help? Thanks. Thom Hehl Heavyweight Software for Heavyweight Needs www.heavyweightsoftware.com -- In every revolution, there is one

Re: Cannot find servlet

2006-01-13 Thread Thom Hehl
I verified this and the class is correctly stored in the jar. I'm really stumped on this one. Wade Chandler wrote: --- Thom Hehl [EMAIL PROTECTED] wrote: Sigh, I don't know why I keep having problems like this. I have the following servlet: package rex; /* * Copyright 2006

[Fwd: Re: Cannot find servlet]

2006-01-13 Thread Thom Hehl
I tried uncompressing the jar file into the classes directory, but it didn't change anything. Anyone have any ideas for me to look at? I don't know what's up. Thom Hehl Heavyweight Software for Heavyweight Needs www.heavyweightsoftware.com -- In every revolution, there is one man with a vision

Re: [Fwd: Re: Cannot find servlet]

2006-01-13 Thread Thom Hehl
As we all suspected, I was, in fact, being an idiot. My lib directory was under the rex directory, not under rex/WEB-INF. I've been looking at this for hours and it just never sunk in. Must be tired. Been a long week. Thanks! Thom Hehl wrote: I tried uncompressing the jar file

Session from a tag

2006-01-11 Thread Thom Hehl
I'm trying to get to the session from a tag. I have a bean stored there that I want to use in my tag. How can I retrieve this. I can't find this information anywhere. Thanks. Thom Hehl Heavyweight Software for Heavyweight Needs www.heavyweightsoftware.com -- In every revolution, there is one

Re: Session from a tag

2006-01-11 Thread Thom Hehl
Ah!!! That's what I was looking for. Thanks so much! David Delbecq wrote: getJspContext().getAttribute(someKey,PageContext.SESSION_SCOPE) Le Mercredi 11 Janvier 2006 16:19, Thom Hehl a écrit : This explains the code I found. What if you extend SimpleTagSupport. What's the difference

First webapp/JSP

2006-01-08 Thread Thom Hehl
().getRequestDispatcher(url); dispatcher.forward(request, response); return; } } And in my tomcat directory, I have webapps/visioneer/WEB-INF/SearchErrors.jsp. I have also tried my forward as: /visioneer/SearchErrors.jsp I don't know what to try next and need advice. Thanks. Thom

Re: First webapp/JSP

2006-01-08 Thread Thom Hehl
this error: *type* Status report *message* _/visioneer/HomeSearch.jsp_ *description* _The requested resource (/visioneer/HomeSearch.jsp) is not available. _ Mark Thomas wrote: Thom Hehl wrote: OK, I've looked through the docs and googled and I'm not having any luck with this. I have

Re: First webapp/JSP

2006-01-08 Thread Thom Hehl
Wow! Thanks, that's it. I started without that, but added it when I was having problems. Thanks again! Wendy Smoak wrote: On 1/8/06, Thom Hehl [EMAIL PROTECTED] wrote: String url = /visioneer/HomeSearch.jsp; RequestDispatcher dispatcher = getServletContext