svn commit: r1415537 - /tomcat/trunk/java/org/apache/tomcat/websocket/PojoMethodMapping.java
Author: markt Date: Fri Nov 30 08:22:15 2012 New Revision: 1415537 URL: http://svn.apache.org/viewvc?rev=1415537view=rev Log: Fix eol Modified: tomcat/trunk/java/org/apache/tomcat/websocket/PojoMethodMapping.java (contents, props changed) Modified: tomcat/trunk/java/org/apache/tomcat/websocket/PojoMethodMapping.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/websocket/PojoMethodMapping.java?rev=1415537r1=1415536r2=1415537view=diff == --- tomcat/trunk/java/org/apache/tomcat/websocket/PojoMethodMapping.java (original) +++ tomcat/trunk/java/org/apache/tomcat/websocket/PojoMethodMapping.java Fri Nov 30 08:22:15 2012 @@ -1,79 +1,79 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the License); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an AS IS BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.tomcat.websocket; - -import java.lang.reflect.Method; - -import javax.websocket.WebSocketClose; -import javax.websocket.WebSocketError; -import javax.websocket.WebSocketOpen; - -public class PojoMethodMapping { - -private final Method onOpen; -private final Method onClose; -private final Method onError; - -public PojoMethodMapping(Class? clazzPojo, String path) { -Method open = null; -Method close = null; -Method error = null; -Method[] methods = clazzPojo.getMethods(); -for (int i = 0; i methods.length; i++) { -if (open == null -methods[i].getAnnotation(WebSocketOpen.class) != null) { -open = methods[i]; -} else if (close == null -methods[i].getAnnotation(WebSocketClose.class) != null) { -close = methods[i]; -} else if (error == null -methods[i].getAnnotation(WebSocketError.class) != null) { -error = methods[i]; -} -} -this.onOpen = open; -this.onClose = close; -this.onError = error; -} - -public Method getOnOpen() { -return onOpen; -} - -public Object[] getOnOpenArgs(String path) { -// TODO Auto-generated method stub -return null; -} - -public Method getOnClose() { -return onClose; -} - -public Object[] getOnCloseArgs(String path) { -// TODO Auto-generated method stub -return null; -} - -public Method getOnError() { -return onError; -} - -public Object[] getOnErrorArgs(String path) { -// TODO Auto-generated method stub -return null; -} -} +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the License); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an AS IS BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.tomcat.websocket; + +import java.lang.reflect.Method; + +import javax.websocket.WebSocketClose; +import javax.websocket.WebSocketError; +import javax.websocket.WebSocketOpen; + +public class PojoMethodMapping { + +private final Method onOpen; +private final Method onClose; +private final Method onError; + +public PojoMethodMapping(Class? clazzPojo, String path) { +Method open = null; +Method close = null; +Method error = null; +Method[] methods = clazzPojo.getMethods(); +for (int i = 0; i methods.length; i++) { +if (open == null +methods[i].getAnnotation(WebSocketOpen.class) != null) { +open = methods[i]; +} else if (close == null +
[Bug 54225] New: if initSQL property is set to an empty string a NullPointerException is thrown by DataSource#getConnection()
https://issues.apache.org/bugzilla/show_bug.cgi?id=54225 Bug ID: 54225 Summary: if initSQL property is set to an empty string a NullPointerException is thrown by DataSource#getConnection() Product: Tomcat Modules Version: unspecified Hardware: PC OS: All Status: NEW Severity: normal Priority: P2 Component: jdbc-pool Assignee: dev@tomcat.apache.org Reporter: jan.kei...@generali.de Classification: Unclassified If the Resource in the server.xml is defined with initSQL= the method DataSource#getConnection() throws a NullPointerException. I would suggest to change this behaviour that the part in the org.apache.tomcat.jdbc.pool.DataSourceFactory class gets changed from value = properties.getProperty(PROP_INITSQL); if (value != null ) { poolProperties.setInitSQL(value); } to value = properties.getProperty(PROP_INITSQL); if (value != null ! .equals(value)) { poolProperties.setInitSQL(value); } java.lang.NullPointerException at org.apache.tomcat.jdbc.pool.ConnectionPool.setupConnection(ConnectionPool.java:276) at org.apache.tomcat.jdbc.pool.ConnectionPool.getConnection(ConnectionPool.java:180) at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:124) -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: Offline generation of effective web.xml
On 22/11/2012 19:46, Violeta Georgieva wrote: Hi, I've prepared the initial change for offline generation of effective web.xml. The change is in github: https://github.com/violetagg/apache-tomcat-8.0/commits/master. I have a few minor changes that I plan to do but before then I prefer to get your opinion about the refactoring that I made and the change as a whole. Here is the list with the major changes that I did: - The java objects that represent data structures for web.xml were moved from o.a.catalina.deploy to o.a.tomcat.util.xml package. - The web.xml parser functionality was moved to a new package - o.a.tomcat.util.xml.parse - The functionality that scans for web fragments was moved to a new package - o.a.tomcat.util.xml.scanner - The functionality that scans for annotations was moved to a new package - o.a.tomcat.util.xml.processor - Added functionality for offline generation of effective web.xml I'm looking forward to your comments. I'm starting to look at this now. The general description above looks to be heading in the right direction. They'll probably be some tweaks at the detail level. This is my first time trying to pull in changes from someone's branch at github so I'm not 100% clear on the process I am going to follow. There might be some things you could do to make it easier. I'll let you know. Mark - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: Offline generation of effective web.xml
On 30/11/2012 11:41, Mark Thomas wrote: I'm starting to look at this now. The general description above looks to be heading in the right direction. They'll probably be some tweaks at the detail level. This is my first time trying to pull in changes from someone's branch at github so I'm not 100% clear on the process I am going to follow. There might be some things you could do to make it easier. I'll let you know. OK. First question. How did you create your git repo? I am trying to add your repo as a remote repo to my own but there are no common ancestors. I think I can hack around this but I'd like to understand how it happened in the first place. Cheers, Mark - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 54227] New: maxAge should be checked on borrow
https://issues.apache.org/bugzilla/show_bug.cgi?id=54227 Bug ID: 54227 Summary: maxAge should be checked on borrow Product: Tomcat Modules Version: unspecified Hardware: All OS: Mac OS X 10.4 Status: NEW Severity: normal Priority: P2 Component: jdbc-pool Assignee: dev@tomcat.apache.org Reporter: mikael.thors...@schibsted.se Classification: Unclassified The pool doesn't look at the maxAge setting when you borrow a connection, only when you return one. That's no good, since it lets you borrow (possibly stale) connections that are much older than maxAge, rendering the feature useless in times of low activity in the pool. -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 54217] JDBC connection pool runs out of connections when Context reload=“true” is enabled in Tomcat
https://issues.apache.org/bugzilla/show_bug.cgi?id=54217 Michael Osipov 1983-01...@gmx.net changed: What|Removed |Added URL|| --- Comment #3 from Michael Osipov 1983-01...@gmx.net --- (In reply to comment #1) You are not closing your connection pool properly. You need to specify closeMethod=close. Without that the pool would not know when to close those 10 minIdle connections. The attribute is documented here: http://tomcat.apache.org/tomcat-7.0-doc/config/context. html#Resource_Definitions This is going to be close as INVALID. Just holding it open for a while as a chance to improve documentation: it would be better to add closeMethod to the examples in jndi-datasource-examples-howto.html This attribute is not available to Tomcat 6, is it? I checked the docs. Seems to be Tomcat 7 specific. I am using JDBC Pool happily with Tomcat 6 in production. -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Bug # 52529 on Tomcat 7.0.30 still rearing it's ugly head?
Hey guys, We seem to have proven that the 52529 bug is either still rearing it's head or something else here is causing the exact same problem as was reported in the above bug. We are running Tomcat 7.0.30, jjdk 1.6 on CentOS 6.3 with mod_jk session replication and load balancing. My server.xml configuration is as follows (this is server #1 of a 3 server cluster) - All IP's and passwords have been changed to protect the innocent ?xml version='1.0' encoding='utf-8'? Server port=8005 shutdown=SHUTDOWN Listener className=org.apache.catalina.core.AprLifecycleListener SSLEngine=on / !--Initialize Jasper prior to webapps are loaded. Documentation at /docs/jasper-howto.html -- Listener className=org.apache.catalina.core.JasperListener / !-- Prevent memory leaks due to use of particular java/javax APIs-- Listener className=org.apache.catalina.core.JreMemoryLeakPreventionListener / Listener className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener / Listener className=org.apache.catalina.core.ThreadLocalLeakPreventionListener / GlobalNamingResources Resource name=UserDatabase auth=Container type=org.apache.catalina.UserDatabase description=User database that can be updated and saved factory=org.apache.catalina.users.MemoryUserDatabaseFactory pathname=conf/tomcat-users.xml / /GlobalNamingResources Service name=Catalina Connector port=8080 protocol=HTTP/1.1 address=10.10.10.10 connectionTimeout=2 redirectPort=8443 / Connector protocol=HTTP/1.1 address=10.10.10.10 port=8443 maxThreads=10 scheme=https secure=true SSLEnabled=true keystoreFile=/opt/tomcat/.keystore keystorePass=!Tz4S3cR3t!42 clientAuth=false sslProtocol=TLS/ !-- Define an AJP 1.3 Connector on port 8009 -- Connector port=8009 address=10.10.10.20 protocol=AJP/1.3 redirectPort=8443 / Engine name=Catalina defaultHost=localhost jvmRoute=app00-ems-billing-prod Realm className=org.apache.catalina.realm.UserDatabaseRealm resourceName=UserDatabase/ Host name=localhost appBase=webapps unpackWARs=true autoDeploy=false xmlValidation=false xmlNamespaceAware=false deployOnStartup=true Valve className=org.apache.catalina.ha.authenticator.ClusterSingleSignOn / !-- cluster settings -- Cluster className=org.apache.catalina.ha.tcp.SimpleTcpCluster channelSendOptions=8 Manager className=org.apache.catalina.ha.session.DeltaManager / Channel className=org.apache.catalina.tribes.group.GroupChannel Membership className=org.apache.catalina.tribes.membership.McastService address=228.0.0.4 port=45564 frequency=500 dropTime=3000/ Receiver className=org.apache.catalina.tribes.transport.nio.NioReceiver address=auto port=4000 autoBind=100 selectorTimeout=5000 maxThreads=6/ Sender className=org.apache.catalina.tribes.transport.ReplicationTransmitter Transport className=org.apache.catalina.tribes.transport.nio.PooledParallelSender/ /Sender Interceptor className=org.apache.catalina.tribes.group.interceptors.TcpFailureDetector/ Interceptor className=org.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor/ /Channel Valve className=org.apache.catalina.ha.tcp.ReplicationValve filter=.*\.gif|.*\.js|.*\.jpeg|.*\.jpg|.*\.png|.*\.htm|.*\.html|.*\.css|.*\.txt statistics=true / Valve className=org.apache.catalina.ha.session.JvmRouteBinderValve / Deployer className=org.apache.catalina.ha.deploy.FarmWarDeployer tempDir=/tmp/war-temp/ deployDir=/tmp/war-deploy/ watchDir=/tmp/war-listen/ watchEnabled=false/ ClusterListener className=org.apache.catalina.ha.session.JvmRouteSessionIDBinderListener/ ClusterListener className=org.apache.catalina.ha.session.ClusterSessionListener/ /Cluster /Host /Engine /Service /Server The scenario we have is readily reproducable: If we kill -9 a server out of the cluster (ugly yes), but does not call destroySession, and keeps other application servers (and the application itself online), the user (as expected) is migrated to another server in the cluster. Once the server that was taken out of the cluster is coming back online, if an NullPEx is thrown on any of the other already active servers, it will throw an: Nov 30, 2012 12:35:11 PM org.apache.catalina.tribes.group.interceptors.TcpFailureDetector memberDisappeared, on the server that is starting up and halt loading of the application. The real kicker to
Re: Bug # 52529 on Tomcat 7.0.30 still rearing it's ugly head?
On 30/11/2012 20:12, Josh Gooding wrote: Hey guys, We seem to have proven that the 52529 bug is either still rearing it's head or something else here is causing the exact same problem as was reported in the above bug. We are running Tomcat 7.0.30, jjdk 1.6 on CentOS 6.3 with mod_jk session replication and load balancing. That's great but doesn't really tell us anything useful. If you were to provide a stack trace for the NPE then we might be able to do something. Mark - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: Bug # 52529 on Tomcat 7.0.30 still rearing it's ugly head?
Hey, I can do that: java.lang.NullPointerException at org.intermedix.emr.ui.AbstractComboBoxInfo.populateSortedMap(AbstractComboBoxInfo.java:48) at org.intermedix.emr.ui.AbstractComboBoxInfo.init(AbstractComboBoxInfo.java:21) at org.intermedix.emr.ui.ComboBoxVTableInfo.init(ComboBoxVTableInfo.java:13) at org.intermedix.emr.web.RunRecordView.buildEKGDetails(RunRecordView.java:7181) at org.intermedix.emr.web.RunRecordView.buildEventDetails(RunRecordView.java:5470) at org.intermedix.emr.web.RunRecordView.buildEventDetails(RunRecordView.java:5401) at org.intermedix.emr.web.RunRecordView.buildEventDetailsForJS(RunRecordView.java:5393) at org.apache.jsp.runentry.RunRecordDataEntry_jsp._jspService(RunRecordDataEntry_jsp.java:5956) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339) at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:746) at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:716) at org.apache.jsp.runentry.EnterRunRecord_jsp._jspService(EnterRunRecord_jsp.java:450) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.intermedix.emr.web.LoggingContextFilter.doFilter(LoggingContextFilter.java:25) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.intermedix.emr.web.BetaRedirectFilter.doFilter(BetaRedirectFilter.java:47) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.intermedix.emr.web.DBConnectionFilter.doFilter(DBConnectionFilter.java:21) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.intermedix.emr.web.xss.filter.ImdxXSSFilter.doFilter(ImdxXSSFilter.java:30) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.ha.session.JvmRouteBinderValve.invoke(JvmRouteBinderValve.java:219) at org.apache.catalina.ha.tcp.ReplicationValve.invoke(ReplicationValve.java:333) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:336) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:200) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Nov 30, 2012 11:51:52
Re: Bug # 52529 on Tomcat 7.0.30 still rearing it's ugly head?
Also on the server that was starting up (the one that stopped loading up), this message was thrown at that time: Nov 30, 2012 12:14:53 PM org.apache.catalina.tribes.group.interceptors.TcpFailureDetector memberDisappeared INFO: Received memberDisappeared[org.apache.catalina.tribes.membership.MemberImpl[tcp://{10, 20, 250, 45}:4000,{10, 20, 250, 45},4000, alive=4992097, securePort=-1, UDP Port=-1, id={-123 46 98 68 -111 39 65 5 -98 -101 24 72 104 108 -34 19 }, payload={}, command={}, domain={}, ]] message. Will verify. Nov 30, 2012 12:14:53 PM org.apache.catalina.tribes.group.interceptors.TcpFailureDetector memberDisappeared On Fri, Nov 30, 2012 at 3:47 PM, Josh Gooding josh.good...@gmail.comwrote: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
Re: Bug # 52529 on Tomcat 7.0.30 still rearing it's ugly head?
Josh, On 11/30/12 3:47 PM, Josh Gooding wrote: Hey, I can do that: java.lang.NullPointerException at org.intermedix.emr.ui.AbstractComboBoxInfo.populateSortedMap(AbstractComboBoxInfo.java:48) at org.intermedix.emr.ui.AbstractComboBoxInfo.init(AbstractComboBoxInfo.java:21) at org.intermedix.emr.ui.ComboBoxVTableInfo.init(ComboBoxVTableInfo.java:13) at org.intermedix.emr.web.RunRecordView.buildEKGDetails(RunRecordView.java:7181) at org.intermedix.emr.web.RunRecordView.buildEventDetails(RunRecordView.java:5470) at org.intermedix.emr.web.RunRecordView.buildEventDetails(RunRecordView.java:5401) at org.intermedix.emr.web.RunRecordView.buildEventDetailsForJS(RunRecordView.java:5393) at org.apache.jsp.runentry.RunRecordDataEntry_jsp._jspService(RunRecordDataEntry_jsp.java:5956) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339) at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:746) at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:716) at org.apache.jsp.runentry.EnterRunRecord_jsp._jspService(EnterRunRecord_jsp.java:450) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.intermedix.emr.web.LoggingContextFilter.doFilter(LoggingContextFilter.java:25) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.intermedix.emr.web.BetaRedirectFilter.doFilter(BetaRedirectFilter.java:47) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.intermedix.emr.web.DBConnectionFilter.doFilter(DBConnectionFilter.java:21) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.intermedix.emr.web.xss.filter.ImdxXSSFilter.doFilter(ImdxXSSFilter.java:30) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.ha.session.JvmRouteBinderValve.invoke(JvmRouteBinderValve.java:219) at org.apache.catalina.ha.tcp.ReplicationValve.invoke(ReplicationValve.java:333) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:336) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:200) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310) at
Re: Bug # 52529 on Tomcat 7.0.30 still rearing it's ugly head?
Absolutely I can get the log. Matter of fact I will run debug logging and give the log for each server. On Nov 30, 2012 10:35 PM, Christopher Schultz ch...@christopherschultz.net wrote: Josh, On 11/30/12 3:47 PM, Josh Gooding wrote: Hey, I can do that: java.lang.NullPointerException at org.intermedix.emr.ui.AbstractComboBoxInfo.populateSortedMap(AbstractComboBoxInfo.java:48) at org.intermedix.emr.ui.AbstractComboBoxInfo.init(AbstractComboBoxInfo.java:21) at org.intermedix.emr.ui.ComboBoxVTableInfo.init(ComboBoxVTableInfo.java:13) at org.intermedix.emr.web.RunRecordView.buildEKGDetails(RunRecordView.java:7181) at org.intermedix.emr.web.RunRecordView.buildEventDetails(RunRecordView.java:5470) at org.intermedix.emr.web.RunRecordView.buildEventDetails(RunRecordView.java:5401) at org.intermedix.emr.web.RunRecordView.buildEventDetailsForJS(RunRecordView.java:5393) at org.apache.jsp.runentry.RunRecordDataEntry_jsp._jspService(RunRecordDataEntry_jsp.java:5956) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339) at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:746) at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:716) at org.apache.jsp.runentry.EnterRunRecord_jsp._jspService(EnterRunRecord_jsp.java:450) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.intermedix.emr.web.LoggingContextFilter.doFilter(LoggingContextFilter.java:25) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.intermedix.emr.web.BetaRedirectFilter.doFilter(BetaRedirectFilter.java:47) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.intermedix.emr.web.DBConnectionFilter.doFilter(DBConnectionFilter.java:21) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.intermedix.emr.web.xss.filter.ImdxXSSFilter.doFilter(ImdxXSSFilter.java:30) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.ha.session.JvmRouteBinderValve.invoke(JvmRouteBinderValve.java:219) at org.apache.catalina.ha.tcp.ReplicationValve.invoke(ReplicationValve.java:333) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:336) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at
[GUMP@vmgump]: Project tomcat-taglibs-standard (in module tomcat-taglibs) failed
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at gene...@gump.apache.org. Project tomcat-taglibs-standard has an issue affecting its community integration. This issue affects 2 projects, and has been outstanding for 216 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - tomcat-taglibs-standard : Standard Taglib - tomcat-taglibs-standard-install : JSP Taglibs Full details are available at: http://vmgump.apache.org/gump/public/tomcat-taglibs/tomcat-taglibs-standard/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Optional dependency httpunit failed with reason build failed -DEBUG- (Apache Gump generated) Apache Maven Settings in: /srv/gump/public/workspace/tomcat-taglibs/standard/gump_mvn_settings.xml -INFO- Failed with reason build failed -DEBUG- Maven POM in: /srv/gump/public/workspace/tomcat-taglibs/standard/pom.xml -INFO- Failed to extract fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/tomcat-taglibs/tomcat-taglibs-standard/gump_work/build_tomcat-taglibs_tomcat-taglibs-standard.html Work Name: build_tomcat-taglibs_tomcat-taglibs-standard (Type: Build) Work ended in a state of : Failed Elapsed: 32 secs Command Line: /opt/maven2/bin/mvn --batch-mode -DskipTests=true --settings /srv/gump/public/workspace/tomcat-taglibs/standard/gump_mvn_settings.xml install [Working Directory: /srv/gump/public/workspace/tomcat-taglibs/standard] M2_HOME: /opt/maven2 - [debug] execute contextualize [INFO] [resources:testResources {execution: default-testResources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /srv/gump/public/workspace/tomcat-taglibs/standard/spec/src/test/resources [INFO] Copying 3 resources [INFO] [compiler:testCompile {execution: default-testCompile}] [INFO] No sources to compile [INFO] [surefire:test {execution: default-test}] [INFO] Tests are skipped. [INFO] [bundle:bundle {execution: default-bundle}] [INFO] [install:install {execution: default-install}] [INFO] Installing /srv/gump/public/workspace/tomcat-taglibs/standard/spec/target/taglibs-standard-spec-1.2-SNAPSHOT.jar to /srv/gump/public/workspace/mvnlocalrepo/shared/org/apache/taglibs/taglibs-standard-spec/1.2-SNAPSHOT/taglibs-standard-spec-1.2-SNAPSHOT.jar [INFO] [bundle:install {execution: default-install}] [INFO] Parsing file:/srv/gump/public/workspace/mvnlocalrepo/shared/repository.xml [INFO] Installing org/apache/taglibs/taglibs-standard-spec/1.2-SNAPSHOT/taglibs-standard-spec-1.2-SNAPSHOT.jar [INFO] Writing OBR metadata [INFO] [INFO] Building JSTL Implementation [INFO]task-segment: [install] [INFO] [INFO] [remote-resources:process {execution: default}] [INFO] snapshot org.apache.taglibs:taglibs-standard-spec:1.2-SNAPSHOT: checking for updates from apache.snapshots Downloading: http://localhost:8192/maven2/org/easymock/easymock/3.0/easymock-3.0.jar 111K downloaded (easymock-3.0.jar) [debug] execute contextualize [INFO] [resources:resources {execution: default-resources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 14 resources [INFO] Copying 3 resources [INFO] [compiler:compile {execution: default-compile}] [INFO] Compiling 96 source files to /srv/gump/public/workspace/tomcat-taglibs/standard/impl/target/classes [INFO] - [ERROR] COMPILATION ERROR : [INFO] - [ERROR] /srv/gump/public/workspace/tomcat-taglibs/standard/impl/src/main/java/org/apache/taglibs/standard/tag/common/sql/DataSourceWrapper.java:[38,7] error: DataSourceWrapper is not abstract and does not override abstract method getParentLogger() in CommonDataSource [INFO] 1 error [INFO] - [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure /srv/gump/public/workspace/tomcat-taglibs/standard/impl/src/main/java/org/apache/taglibs/standard/tag/common/sql/DataSourceWrapper.java:[38,7] error: DataSourceWrapper is not abstract and does not override abstract method getParentLogger() in CommonDataSource [INFO] [INFO] For more information, run Maven with the -e