Re: Sessions number issue
And I have no idea what questions I have to answer here! other than application sessions are being created by users and session field is remaining as zero. On clicking on the session number which is a '0' displays following error message: An error occurred at line: 109 in the jsp file: /WEB-INF/jsp/sessionsList.jsp DeltaSession cannot be resolved to a type 106:Session currentSession = (Session) iter.next(); 107:String currentSessionId = JspHelper.escapeXml(currentSession.getId()); 108:String type; 109:if (currentSession instanceof DeltaSession) { 110:if (((DeltaSession) currentSession).isPrimarySession()) { 111:type = "Primary"; 112:} else { An error occurred at line: 110 in the jsp file: /WEB-INF/jsp/sessionsList.jsp DeltaSession cannot be resolved to a type 107:String currentSessionId = JspHelper.escapeXml(currentSession.getId()); 108:String type; 109:if (currentSession instanceof DeltaSession) { 110:if (((DeltaSession) currentSession).isPrimarySession()) { 111:type = "Primary"; 112:} else { 113:type = "Backup"; And my questions was why this could be happening and how could this be fixed Thanks - Original Message - From: "Christopher Schultz" <ch...@christopherschultz.net> To: "Tomcat Users List" <users@tomcat.apache.org> Sent: Saturday, February 20, 2016 11:03:22 AM Subject: Re: Sessions number issue Qadeer, On 2/19/16 9:50 PM, Qadeer Khan wrote: > Thanks so much for the help. I thought it were the open forum for any > one needing support for Tomcat related questions. It is, but you aren't answering any of our followup questions. It's making it literally impossible to help you. -chris > - Original Message - > From: "André Warnier (tomcat)" <a...@ice-sa.com> > To: users@tomcat.apache.org > Sent: Friday, February 19, 2016 3:08:48 PM > Subject: Re: Sessions number issue > > On 19.02.2016 17:40, David kerber wrote: >> On 2/19/2016 11:20 AM, Qadeer Khan wrote: >>> Anyone, please throw some insight on the following issue >> >> You need to do the research and answer the questions that Mark asked in your >> other thread. >> >> Since you're using jboss, this may well be a jboss problem, rather than >> tomcat. > > What I do not really understand here, is that the (partial) information > provided so far > seems to at least indicate that this is a JBOSS site and a RedHat customer; > that RedHat > does the development and support of JBOSS and has several JBOSS support > forums available; > and that the OP works for RedHat, as a Senior Consultant no less. > So why does the OP not contact his own support resources first ? > > I mean, it is not that we don't /want/ to help (Tomcat 6-7 being used by > JBOSS and all > that), but would the above not be a logical first step ? > > [snip] > > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Sessions number issue
Thanks so much for the help. I thought it were the open forum for any one needing support for Tomcat related questions. - Original Message - From: "André Warnier (tomcat)" <a...@ice-sa.com> To: users@tomcat.apache.org Sent: Friday, February 19, 2016 3:08:48 PM Subject: Re: Sessions number issue On 19.02.2016 17:40, David kerber wrote: > On 2/19/2016 11:20 AM, Qadeer Khan wrote: >> Anyone, please throw some insight on the following issue > > You need to do the research and answer the questions that Mark asked in your > other thread. > > Since you're using jboss, this may well be a jboss problem, rather than > tomcat. What I do not really understand here, is that the (partial) information provided so far seems to at least indicate that this is a JBOSS site and a RedHat customer; that RedHat does the development and support of JBOSS and has several JBOSS support forums available; and that the OP works for RedHat, as a Senior Consultant no less. So why does the OP not contact his own support resources first ? I mean, it is not that we don't /want/ to help (Tomcat 6-7 being used by JBOSS and all that), but would the above not be a logical first step ? [snip] - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Sessions number issue
Anyone, please throw some insight on the following issue - On clicking on the session number '0', he is getting the following error. Any idea? FAIL - Encountered exception org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: [18] in the generated java file: [/opt/jboss/jws-3.0/tomcat7/work/Catalina/localhost/manager/org/apache/jsp/WEB_002dINF/jsp/sessionsList_jsp.java] Only a type can be imported. org.apache.catalina.ha.session.DeltaSession resolves to a package An error occurred at line: 109 in the jsp file: /WEB-INF/jsp/sessionsList.jsp DeltaSession cannot be resolved to a type 106:Session currentSession = (Session) iter.next(); 107:String currentSessionId = JspHelper.escapeXml(currentSession.getId()); 108:String type; 109:if (currentSession instanceof DeltaSession) { 110:if (((DeltaSession) currentSession).isPrimarySession()) { 111:type = "Primary"; 112:} else { An error occurred at line: 110 in the jsp file: /WEB-INF/jsp/sessionsList.jsp DeltaSession cannot be resolved to a type 107:String currentSessionId = JspHelper.escapeXml(currentSession.getId()); 108:String type; 109:if (currentSession instanceof DeltaSession) { 110:if (((DeltaSession) currentSession).isPrimarySession()) { 111:type = "Primary"; 112:} else { 113: type = "Backup"; Qadeer Khan - RHCJA,RHCSA RedHat Consulting - Public Sector Senior Consultant Mobile: 703-798-5621 Email: qk...@redhat.com http://www.redhat.com - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Session on Tomcat 7 manager screem
Ok I got a little more information the user On cllicking on the session number '0', he is getting the following error. Any idea? FAIL - Encountered exception org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: [18] in the generated java file: [/opt/jboss/jws-3.0/tomcat7/work/Catalina/localhost/manager/org/apache/jsp/WEB_002dINF/jsp/sessionsList_jsp.java] Only a type can be imported. org.apache.catalina.ha.session.DeltaSession resolves to a package An error occurred at line: 109 in the jsp file: /WEB-INF/jsp/sessionsList.jsp DeltaSession cannot be resolved to a type 106:Session currentSession = (Session) iter.next(); 107:String currentSessionId = JspHelper.escapeXml(currentSession.getId()); 108:String type; 109:if (currentSession instanceof DeltaSession) { 110:if (((DeltaSession) currentSession).isPrimarySession()) { 111:type = "Primary"; 112:} else { An error occurred at line: 110 in the jsp file: /WEB-INF/jsp/sessionsList.jsp DeltaSession cannot be resolved to a type 107:String currentSessionId = JspHelper.escapeXml(currentSession.getId()); 108:String type; 109:if (currentSession instanceof DeltaSession) { 110:if (((DeltaSession) currentSession).isPrimarySession()) { 111:type = "Primary"; 112:} else { 113:type = "Backup"; Stacktrace: Thanks Original Message - From: "Mark Thomas" <ma...@apache.org> To: "Tomcat Users List" <users@tomcat.apache.org> Sent: Thursday, February 18, 2016 11:50:24 AM Subject: Re: Session on Tomcat 7 manager screem On 18/02/2016 16:45, Qadeer Khan wrote: > Can you tell what a session definition is? You are claiming there is a bug with session handling yet you don't know what a session is? Oh dear. Time for you to spend some time reading the Servlet specification. Mark > > > On 18/02/2016 16:28, Qadeer Khan wrote: >> Hey Guys, >> >> Someone please throw some light as I am being asked about it several time now > > Then maybe try reading the responses you received to your previous post > and answering the questions you were asked. > >> There is are several running java applications deployed and running on >> tomcat server 7 but the 'session' field on the Manager screen always show a >> '0". > > OK. So there aren't any sessions. > >> So there are sessions running by users but no increment shown under 'session' > > You need to provide some evidence to back up that statement. You have > been asked several times for this and still have not provided any. What > have you done to confirm that sessions are created? > >> Please throw some light as why it is not increment and what can be done to >> fix it? > > You have yet to demonstrate that there is anything to fix. > > Mark > > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Session on Tomcat 7 manager screem
I am not sure why so aggravated you get... I am not claiming any bugs or anything and I am no expert in Tomcat 7 application server. I am at client site and they are simply asking me a question as I explained before. They have java applications deployed and creating more than one sessions of application and as I said earlier session is not incrementing It is as simple as that!! - Original Message - From: "Mark Thomas" <ma...@apache.org> To: "Tomcat Users List" <users@tomcat.apache.org> Sent: Thursday, February 18, 2016 11:50:24 AM Subject: Re: Session on Tomcat 7 manager screem On 18/02/2016 16:45, Qadeer Khan wrote: > Can you tell what a session definition is? You are claiming there is a bug with session handling yet you don't know what a session is? Oh dear. Time for you to spend some time reading the Servlet specification. Mark > > > On 18/02/2016 16:28, Qadeer Khan wrote: >> Hey Guys, >> >> Someone please throw some light as I am being asked about it several time now > > Then maybe try reading the responses you received to your previous post > and answering the questions you were asked. > >> There is are several running java applications deployed and running on >> tomcat server 7 but the 'session' field on the Manager screen always show a >> '0". > > OK. So there aren't any sessions. > >> So there are sessions running by users but no increment shown under 'session' > > You need to provide some evidence to back up that statement. You have > been asked several times for this and still have not provided any. What > have you done to confirm that sessions are created? > >> Please throw some light as why it is not increment and what can be done to >> fix it? > > You have yet to demonstrate that there is anything to fix. > > Mark > > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Session on Tomcat 7 manager screem
Can you tell what a session definition is? On 18/02/2016 16:28, Qadeer Khan wrote: > Hey Guys, > > Someone please throw some light as I am being asked about it several time now Then maybe try reading the responses you received to your previous post and answering the questions you were asked. > There is are several running java applications deployed and running on tomcat > server 7 but the 'session' field on the Manager screen always show a '0". OK. So there aren't any sessions. > So there are sessions running by users but no increment shown under 'session' You need to provide some evidence to back up that statement. You have been asked several times for this and still have not provided any. What have you done to confirm that sessions are created? > Please throw some light as why it is not increment and what can be done to > fix it? You have yet to demonstrate that there is anything to fix. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Session on Tomcat 7 manager screem
Hey Guys, Someone please throw some light as I am being asked about it several time now There is are several running java applications deployed and running on tomcat server 7 but the 'session' field on the Manager screen always show a '0". So there are sessions running by users but no increment shown under 'session' Please throw some light as why it is not increment and what can be done to fix it? Help. Please! Thanks - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
tomcat 7/modcluster ssl issue
Hello, I am trying to hookup ssl connection between mod_Cluster load balancer and tomcat 7 and seems to be following everything but when I start tomcat server, I am getting the following error in my catalina.out. My password is for the keystore is "tomcat". I have checked and rechecked. Any thoughts??? java.lang.IllegalStateException: java.io.IOException: Keystore was tampered with, or password was incorrect at org.jboss.modcluster.mcmp.impl.JSSESocketFactory.(JSSESocketFactory.java:113) at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler$Proxy.(DefaultMCMPHandler.java:790) at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.add(DefaultMCMPHandler.java:196) at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.init(DefaultMCMPHandler.java:143) at org.jboss.modcluster.ModClusterService.init(ModClusterService.java:142) at org.jboss.modcluster.container.catalina.CatalinaEventHandlerAdapter.init(CatalinaEventHandlerAdapter.java:272) at org.jboss.modcluster.container.catalina.CatalinaEventHandlerAdapter.lifecycleEvent(CatalinaEventHandlerAdapter.java:210) at org.jboss.modcluster.container.catalina.standalone.ModClusterListener.lifecycleEvent(ModClusterListener.java:136) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402) at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:110) at org.apache.catalina.startup.Catalina.load(Catalina.java:576) at org.apache.catalina.startup.Catalina.load(Catalina.java:599) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:310) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:484) Here is relevant info from my server.xml - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Session is not incrementing on Manager GUI on Tomcat 7
There is a running applications on tomcat server but the 'session' field on the Manager screen always show a '0". only for /manager it shows a '1'. How to fix that? Thanks - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Session is not incrementing on Manager GUI on Tomcat 7
so if an application is installed on webapps directory, and if we run that app, it does not increment the session automatically? Where we have to configure that so that one can see the session increment. Obviously I am new to tomcat so bear with me ... - Original Message - From: "Mark Thomas" <ma...@apache.org> To: "Tomcat Users List" <users@tomcat.apache.org> Sent: Friday, February 12, 2016 10:44:30 AM Subject: Re: Session is not incrementing on Manager GUI on Tomcat 7 On 12/02/2016 15:34, Qadeer Khan wrote: > There is a running applications on tomcat server but the 'session' field on > the Manager screen always show a '0". only for /manager it shows a '1'. > > How to fix that? Fix what? Why assume that an application uses sessions? Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Session is not incrementing on Manager GUI on Tomcat 7
I have a few sample applications installed on two machines. One my local and the other on a server. When I run an application via manager UI, on my local, it increments the session But if the same application run on another server, session remains a 0. My assumption here and everybody at client site that if you run a java application it should create a session or session. Is this assumption incorrect and if it, then why it is showing session incremented on one machine and not the other. Thanks Qadeer Khan - RHCJA,RHCSA RedHat Consulting - Public Sector Senior Consultant Mobile: 703-798-5621 Email: qk...@redhat.com http://www.redhat.com - Original Message - From: "Mark Thomas" <ma...@apache.org> To: "Tomcat Users List" <users@tomcat.apache.org> Sent: Friday, February 12, 2016 12:04:48 PM Subject: Re: Session is not incrementing on Manager GUI on Tomcat 7 On 12/02/2016 15:57, Qadeer Khan wrote: > so if an application is installed on webapps directory, and if we run that > app, it does not increment the session automatically? Where we have to > configure that so that one can see the session increment. > > Obviously I am new to tomcat so bear with me ... You are missing the point. I'll try again. Why assume that an application uses sessions? Mark > > > > - Original Message - > From: "Mark Thomas" <ma...@apache.org> > To: "Tomcat Users List" <users@tomcat.apache.org> > Sent: Friday, February 12, 2016 10:44:30 AM > Subject: Re: Session is not incrementing on Manager GUI on Tomcat 7 > > On 12/02/2016 15:34, Qadeer Khan wrote: >> There is a running applications on tomcat server but the 'session' field on >> the Manager screen always show a '0". only for /manager it shows a '1'. >> >> How to fix that? > > Fix what? Why assume that an application uses sessions? > > Mark > > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
SSL between modcluster and tomcat 7
I am looking for any good instructions on configuring ssl between mod_cluster and Tomcat 7 including creating certs. Greatly appreciate any help Thanks Qadeer - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Why session on manager screen not updated?
There is a running application on tomcat server but the session is always a zero on manager ui screen. For other applications like manager, host manager and sample we have session updated but not for one application. The application is jackrabbit which is a messaging application. Any thoughts? Thanks Qadeer - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org