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 : On 04/21/2014 04:30 PM, Daniel Mikusa wrote: On Apr 21, 2014, at 9:58 AM, Thom Hehl wrote: Tomcat 8/Ubuntu 12.04 I have my tomcat deployed with the example echo application. I wrote a tester that hits

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 : On 04/21/2014 04:30 PM, Daniel Mikusa wrote: On Apr 21, 2014, at 9:58 AM, Thom Hehl wrote: Tomcat 8/Ubuntu 12.04 I have my tomcat deployed with the example echo application. I wrote a tester that hits

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 pa

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 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 back. I want to

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

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 To: users@tomcat.apache.org I have downloaded the websocket

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: http://java.sun.com/xml/ns/javaee"; xmlns:xsi="http:/

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: Context configuration file

2012-01-11 Thread Thom Hehl
, 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 of our software having to tinker about > with it internally. Here is our file: > >

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: I picked this trick up from a pred

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: users@tomcat.apache.org

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: Ap

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, Decemb

RE: Logging

2011-12-01 Thread Thom Hehl
Users List 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

RE: Logging

2011-12-01 Thread Thom Hehl
gs without 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: Christop

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

RE: Logging

2011-11-30 Thread Thom Hehl
Thom, 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 lo

RE: Logging

2011-11-30 Thread Thom Hehl
o be able to tell it to dump the buffer 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-

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: 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 t

Path issues

2006-01-14 Thread Thom Hehl
tem.out.println(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?

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

Re: Spawning a thread

2006-01-14 Thread Thom Hehl
he threads 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]

Threads and SocketException

2006-01-14 Thread Thom Hehl
.java:114) at org.apache.commons.net.telnet.TelnetInputStream.run(TelnetInputStream.java:535) at java.lang.Thread.run(Unknown Source) Any ideas as to what may be happening, how I can fix? Thanks. Thom Hehl Heavyweight Software for Heavyweight Needs www.heavyweightsoftware.com -- &quo

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."

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 int

[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, the

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; /*

Cannot find servlet

2006-01-13 Thread Thom Hehl
oint.processSocket(PoolTcpEndpoint.java:527) org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) 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

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&#

Re: Session from a tag

2006-01-11 Thread Thom Hehl
class: pageContext.getSession(); Le Mercredi 11 Janvier 2006 15:57, Thom Hehl a écrit : 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 He

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 revolutio

Re: Apache + Tomcat, Tomcat only handles JSP in localhost

2006-01-09 Thread Thom Hehl
rom all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Thom Hehl Heavyweight Software for Heavyweight Needs www.heavyweightsoftware.com -- "In every revolution, there is one man with a

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"; Request

Re: First webapp/JSP

2006-01-08 Thread Thom Hehl
I now get 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

First webapp/JSP

2006-01-08 Thread Thom Hehl
hat to try next and need advice. Thanks. Thom Hehl Heavyweight Software for Heavyweight Needs www.heavyweightsoftware.com -- "In every revolution, there is one man with a vision."--Jerome Bixby - To unsubscribe, e-mail: