Re: Compiling mod_jk in CentOs release 6.5

2014-05-16 Thread J Java
on. no advise Thanks, Shailesh On Wed, May 7, 2014 at 10:14 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > To whom it may concern, > > On 5/3/14, 4:10 AM, J Java wrote: > > /configure > &

Re: Compiling mod_jk in CentOs release 6.5

2014-05-03 Thread J Java
iling-tomcat-connector-mod_jk-on-redhat-6805 thanks, Shailesh. On Sat, May 3, 2014 at 1:40 PM, J Java wrote: > /configure > > --with-apxs=/usr/lib64/httpd/modules > > > > > > whenever I run above I keep getting this: > > > > configure: error: You must speci

Re: Compiling mod_jk in CentOs release 6.5

2014-05-03 Thread J Java
/configure > --with-apxs=/usr/lib64/httpd/modules > > > whenever I run above I keep getting this: > > configure: error: You must specify a valid --with-apxs path > > Any ideas why I am getting this error? - --with-apxs needs to be given the full path to the apxs program (in httpd-devel package). S

Re: Tomcat 7.0.50 - URL Questions

2014-04-24 Thread J Java
I'm not sure I understand what you are proposing. >> I have mixed up two reverse proxy mechanoisms(mod_proxy and mod_jk. I hope as long as it is working it shouldn't be a problem. Thanks, Shailesh. On Fri, Apr 25, 2014 at 10:37 AM, J Java wrote: > thanks Chris, > >

Re: Tomcat 7.0.50 - URL Questions

2014-04-24 Thread J Java
thanks Chris, On Fri, Apr 25, 2014 at 1:31 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Shailesh, > > On 4/24/14, 12:03 PM, J Java wrote: > >> Each virtual host can only have one defaul

Re: Tomcat 7.0.50 - URL Questions

2014-04-24 Thread J Java
Each virtual host can only have one default (ROOT) web app. Read about virtual hosting in the Users Guide. >> Also even if its not the standard and right thing the way I have handled it. does it have any pitfalls? thanks, Shailesh On Thu, Apr 24, 2014 at 9:33 PM, J Java wrote: > >

Re: Tomcat 7.0.50 - URL Questions

2014-04-24 Thread J Java
I'm just getting confused. You first posted as Nam Pham ("signed" as "Nam"). Then as J Java. And your StackOverflow question says Shailesh Vaishampayan. I can't keep up. >> Sorry for any confusion. Maybe I made a mistake in posting the reply. But Nam is the

Re: Tomcat 7.0.50 - URL Questions

2014-04-24 Thread J Java
Please forgive me if my assumptions are absurd Thanks, Shailesh. On Thu, Apr 24, 2014 at 9:02 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Whoever you are, > > On 4/23/14, 7:57 PM, J Java wrote:

Re: Tomcat 7.0.50 - URL Questions

2014-04-23 Thread J Java
After searching online(seeing mixed results), and searching through the Wiki, I was hoping someone can confirm how I can do the following: I installed my app, and it has a default URL of: http://something:port/webappname/morestuff.action I was wondering if it was possible to setup Tomcat so I cou

Re: Tomcat 8 websocket example

2014-04-18 Thread J Java
Please check if you have not included websocket related jars in your application's WEB-INF/lib. if you have ,please remove as it does not initialize the websockets correctly. THey only need to be in tomcat's lib On Fri, Apr 18, 2014 at 10:17 PM, Daniel Mikusa wrote: > On Apr 18, 2014, at 12:28 P

Re: Concurrency - Servlet created instances accessing static classes

2014-03-24 Thread J Java
if you are accessing any static variables in method Y,it can cause concurrency issues. Thanks, Shailesh. On Mon, Mar 24, 2014 at 9:38 PM, John Smith wrote: > I should know this, but I want to confirm with smarter people on the board. > > Assume the following: > 1. Servlet receives an HTTP POST

Re: secure reverse proxy to my tomcat server HELP NEEDED

2014-03-03 Thread J Java
Can you change and retry below lines : ProxyPass / http://my.webserver.com:8443/ toProxyPass / https://my.webserver.com:8443/ ProxyPassReverse /app http://localhost:8443/ to ProxyPassReverse /app https://localhost:8443/

Re: Websocket stopped working on tomcat 7.0.50

2014-03-01 Thread J Java
place ProxyPass /jkweb ! ProxyPass /jkweb/ ! Directives. Thanks, Shailesh. On Sat, Mar 1, 2014 at 6:33 PM, J Java wrote: > When I revert to earlier config with localhost it starts working. > > > On Sat, Mar 1, 2014 at 6:18 PM, J Java wrote: > >> JkMount /jkweb/* local

Re: Websocket stopped working on tomcat 7.0.50

2014-03-01 Thread J Java
When I revert to earlier config with localhost it starts working. On Sat, Mar 1, 2014 at 6:18 PM, J Java wrote: > JkMount /jkweb/* localtomcat > JkUnMount /jkweb/project/content/* localtomcat > JkUnMount /jkweb/angle/content/* localtomcat > JkUnMount /jkweb/index.jsp localtomcat

Re: Websocket stopped working on tomcat 7.0.50

2014-03-01 Thread J Java
1, 2014 at 6:14 PM, J Java wrote: > Mark, > > following is how i have configured reverse proxy : > > ProxyRequests Off > ProxyPreserveHost On > > ProxyPass /jkweb ! > ProxyPass /jkweb/ ! > ProxyPass /jkweb/websocket/ ws://localhost:8080/jkweb/websocket/ > Proxy

Re: Websocket stopped working on tomcat 7.0.50

2014-03-01 Thread J Java
hanks, Shailesh. On Sat, Mar 1, 2014 at 4:10 PM, Mark Thomas wrote: > On 1 March 2014 10:02:48 GMT, J Java wrote: > >I tried debuggin tomcat sources. And compared the difference I am > >getting > >between normal tomcat websocket examples and my code. Only difference i > &g

Re: Websocket stopped working on tomcat 7.0.50

2014-03-01 Thread J Java
to dummy host it has stopped working On Sat, Mar 1, 2014 at 2:31 PM, J Java wrote: > > 127.0.0.1 - - [01/Mar/2014:14:20:12 +0530] "GET > /jkweb/js/angle/addAngle.js?_=1393663610411 HTTP/1.1" 200 4278 > 127.0.0.1 - - [01/Mar/2014:14:20:41 +053

Re: Websocket stopped working on tomcat 7.0.50

2014-03-01 Thread J Java
5 +0530] "GET /jkweb/websocket/fileuploadtracker?uniqueTocken=9c9e740c-7171-4c33-bc92-e0a46cb2d2b5 HTTP/1.1" 101 - Above is the relevant log section of apache : could it be the cause that websocket request is coming from phasingapp.com and others from 127.0.01 On Sat, Mar 1, 2014 at 1:

Websocket stopped working on tomcat 7.0.50

2014-03-01 Thread J Java
I had recently implemented websocket on tomcat 7.0.50. my tomcat runs behind apache 2.4. I use Strtus 2 and Spring Security. It has stopped working. Problem : Websocket connection is opened successfully. Javascript event handler get fires successfully. Apache logs show that request was accepted as

Re: Websocket on tomcat 7.0.50 not working

2014-02-18 Thread J Java
n you gave websocket-api.jar in application's WEB-INF/lib along with tomcat's lib? If possible you can answer the similar question I have posted on stackoverflow.com as well. Thanks, Shailesh On Tue, Feb 18, 2014 at 8:06 PM, J Java wrote: > Another Update: > > I downloaded

Re: Websocket on tomcat 7.0.50 not working

2014-02-18 Thread J Java
n Tue, Feb 18, 2014 at 7:41 PM, J Java wrote: > yes Nikki. its jkweb > > Thanks, > Shailesh > > > > On Tue, Feb 18, 2014 at 6:53 PM, Niki Dokovski wrote: > >> On Tue, Feb 18, 2014 at 3:10 PM, J Java wrote: >> >> > just an update : >> > >&

Re: Websocket on tomcat 7.0.50 not working

2014-02-18 Thread J Java
yes Nikki. its jkweb Thanks, Shailesh On Tue, Feb 18, 2014 at 6:53 PM, Niki Dokovski wrote: > On Tue, Feb 18, 2014 at 3:10 PM, J Java wrote: > > > just an update : > > > > this is what i get in tomcat access logs : > > > > 127.0.0.1 - - [18/Feb/2014:16:42

Re: Websocket on tomcat 7.0.50 not working

2014-02-18 Thread J Java
just an update : this is what i get in tomcat access logs : 127.0.0.1 - - [18/Feb/2014:16:42:45 +0530] "GET /jkweb/websocket/fileuploadtracker HTTP/1.1" 404 1017 is this correct ?? On Tue, Feb 18, 2014 at 5:56 PM, J Java wrote: > Also I using Struts 2. but my Struts2 servlet

Re: Websocket on tomcat 7.0.50 not working

2014-02-18 Thread J Java
Also I using Struts 2. but my Struts2 servlet only handles urls with pattern : *.action struts2 *.action Also I have configured Spring security but logs show that it is filtering the request properly. On Tue, Feb 18, 2014 at 5:42 PM, J Java wrote: > I have currently deployed it thro

Re: Websocket on tomcat 7.0.50 not working

2014-02-18 Thread J Java
I have currently deployed it through Eclipse Juno. However I am *not * using Eclipse's instance. My webapp gets deployed in my tomcat and not Eclipse's one. Please let me know any additional information you need. Or please let me know how to go debugging it like checking if Websocket Server endpoin

Websocket on tomcat 7.0.50 not working

2014-02-18 Thread J Java
I am trying to implement a websocket on tomcat 7.0.50 using annotated endpoints as specified in Java Websocket API (1.0)- JSR 356. Following are the brief steps how I have coded it 1) Write a websocket endpoint using @ServerEndpoint annotation 2) implement @onOpen and @onMessage methods 3) open a w