[Bug 55947] New: cometD longpolling results in Nullpointer using NIO
https://issues.apache.org/bugzilla/show_bug.cgi?id=55947 Bug ID: 55947 Summary: cometD longpolling results in Nullpointer using NIO Product: Tomcat 7 Version: 7.0.47 Hardware: PC Status: NEW Severity: normal Priority: P2 Component: Connectors Assignee: dev@tomcat.apache.org Reporter: ckell...@timocom.com We use cometD 2.7.0 which connects to a Tomcat 7.0.47 via Longpolling. This works as long as we use the BIO Protocol. If we switch to NIO, after an amount of time we'll get this exception: Jan 02, 2014 10:23:43 AM org.apache.tomcat.util.net.NioEndpoint$SocketProcessor doRun Schwerwiegend: java.lang.NullPointerException at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:560) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1721) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1679) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) -- 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 55931] Security: Tomcat7 opens 2 additional random ports that listen for all IPs when JMX is enabled
https://issues.apache.org/bugzilla/show_bug.cgi?id=55931 --- Comment #2 from Michael michael_fur...@hotmail.com --- Dear Mark, What do you mean by “JMXLifecylceListener in JMXREmote.jar”? I configured JmxRemoteLifecycleListener from catalina-jmx-remote.jar. Do you mean this class or something else? Regarding JMX You absolutely correct: Java is opened 3 ports when JMX is configured and not Tomcat. When I configured JmxRemoteLifecycleListener I can control over 2 ports: rmiRegistryPortPlatform and rmiServerPortPlatform My questions: 1)What is 3-d port opened by Java? Why it is not used when connecting with JConsole? 2)Why it is not controlled by JmxRemoteLifecycleListener? Can it be controlled by JmxRemoteLifecycleListener? Is it enhancement request or it is not possible? -- 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 55588] Tomcat randomly crashes with [libtcnative-1.so+0x12e39] Java_org_apache_tomcat_jni_Socket_sendbb+0x59
https://issues.apache.org/bugzilla/show_bug.cgi?id=55588 Nitinb nitinvbhav...@yahoo.com changed: What|Removed |Added Status|NEEDINFO|NEW --- Comment #9 from Nitinb nitinvbhav...@yahoo.com --- After upgrading tomcat to 7.47 and APR to apr-1.4.6 and so far didn't encounter the issue. Kindly mark it as resolved. I will reopen in case the same issue is encountered. Thanks. -- 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 55931] Security: Tomcat7 opens 2 additional random ports that listen for all IPs when JMX is enabled
https://issues.apache.org/bugzilla/show_bug.cgi?id=55931 --- Comment #3 from Chuck Caldarale chuck.caldar...@unisys.com --- (In reply to Michael from comment #2) My questions: Bugzilla is not a support forum; post your questions on the Tomcat users' mailing list. -- 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 55588] Tomcat randomly crashes with [libtcnative-1.so+0x12e39] Java_org_apache_tomcat_jni_Socket_sendbb+0x59
https://issues.apache.org/bugzilla/show_bug.cgi?id=55588 Chuck Caldarale chuck.caldar...@unisys.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED -- 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
[VOTE][RESULT] Release Apache Standard Taglib 1.2.1
binding +1: rjung, olamy, markt non-binding +1: jboynes, hyandell No other votes have been cast so I am calling this as passed. I will publish the release artifacts though the Maven and diet repositories and then update the website before sending a general announcement. I would like to thank everyone for their help in making possible the first release of Apache’s taglibs in many years. Thanks Jeremy signature.asc Description: Message signed with OpenPGP using GPGMail
Permissions to create release directory for taglibs?
On Dec 29, 2013, at 3:10 PM, Mark Thomas ma...@apache.org wrote: I’ve uploaded a copy of the source release here: https://dist.apache.org/repos/dist/dev/tomcat/taglibs/taglibs-standard-1.2.1/ Is that what you had in mind? Do I just svn mv that to “release” when done? Yes and yes. I am trying to create the parent directory for this but do not have permission: $ svn --username jboynes mkdir https://dist.apache.org/repos/dist/release/tomcat/taglibs -mcreate release directory for taglibs svn: E175013: Access to '/repos/dist/!svn/ver/3994/release/tomcat’ forbidden Am I going about this the wrong way or do I just not have enough karma? Thanks Jeremy signature.asc Description: Message signed with OpenPGP using GPGMail
Re: Permissions to create release directory for taglibs?
On 2 January 2014 22:24, Jeremy Boynes jboy...@apache.org wrote: On Dec 29, 2013, at 3:10 PM, Mark Thomas ma...@apache.org wrote: I’ve uploaded a copy of the source release here: https://dist.apache.org/repos/dist/dev/tomcat/taglibs/taglibs-standard-1.2.1/ Is that what you had in mind? Do I just svn mv that to “release” when done? Yes and yes. I am trying to create the parent directory for this but do not have permission: $ svn --username jboynes mkdir https://dist.apache.org/repos/dist/release/tomcat/taglibs -mcreate release directory for taglibs svn: E175013: Access to '/repos/dist/!svn/ver/3994/release/tomcat’ forbidden Am I going about this the wrong way or do I just not have enough karma? No and yes! AIUI the default permission scheme set up by Infra is to restrict dist/release to PMC members. I guess the PMC could ask to have this changed for Tomcat. Thanks Jeremy - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r4030 - /release/tomcat/taglibs/
Author: olamy Date: Thu Jan 2 22:53:25 2014 New Revision: 4030 Log: create taglibs path Added: release/tomcat/taglibs/ - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r4031 - /dev/tomcat/taglibs/taglibs-standard-1.2.1/ /release/tomcat/taglibs/taglibs-standard-1.2.1/
Author: olamy Date: Thu Jan 2 22:54:11 2014 New Revision: 4031 Log: publish release Added: release/tomcat/taglibs/taglibs-standard-1.2.1/ - copied from r4030, dev/tomcat/taglibs/taglibs-standard-1.2.1/ Removed: dev/tomcat/taglibs/taglibs-standard-1.2.1/ - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r4031 - /dev/tomcat/taglibs/taglibs-standard-1.2.1/ /release/tomcat/taglibs/taglibs-standard-1.2.1/
Author: olamy Date: Thu Jan 2 22:54:11 2014 New Revision: 4031 Log: publish release Added: release/tomcat/taglibs/taglibs-standard-1.2.1/ - copied from r4030, dev/tomcat/taglibs/taglibs-standard-1.2.1/ Removed: dev/tomcat/taglibs/taglibs-standard-1.2.1/ - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: Permissions to create release directory for taglibs?
Just did that: mb-olamy:sirona olamy$ svn mkdir https://dist.apache.org/repos/dist/release/tomcat/taglibs Committed revision 4030. mb-olamy:sirona olamy$ svn mv https://dist.apache.org/repos/dist/dev/tomcat/taglibs/taglibs-standard-1.2.1 https://dist.apache.org/repos/dist/release/tomcat/taglibs Committed revision 4031. Should be ok now. On 3 January 2014 09:24, Jeremy Boynes jboy...@apache.org wrote: On Dec 29, 2013, at 3:10 PM, Mark Thomas ma...@apache.org wrote: I’ve uploaded a copy of the source release here: https://dist.apache.org/repos/dist/dev/tomcat/taglibs/taglibs-standard-1.2.1/ Is that what you had in mind? Do I just svn mv that to “release” when done? Yes and yes. I am trying to create the parent directory for this but do not have permission: $ svn --username jboynes mkdir https://dist.apache.org/repos/dist/release/tomcat/taglibs -mcreate release directory for taglibs svn: E175013: Access to '/repos/dist/!svn/ver/3994/release/tomcat’ forbidden Am I going about this the wrong way or do I just not have enough karma? Thanks Jeremy -- Olivier Lamy Ecetera: http://ecetera.com.au http://twitter.com/olamy | http://linkedin.com/in/olamy - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 55931] Security: Tomcat7 opens 2 additional random ports that listen for all IPs when JMX is enabled
https://issues.apache.org/bugzilla/show_bug.cgi?id=55931 --- Comment #4 from Konstantin Kolinko knst.koli...@gmail.com --- (In reply to Michael from comment #2) There are two cases in OP's report Case A: without JmxRemoteLifecycleListener Case B: with JmxRemoteLifecycleListener What is 3-d port opened by Java? Take a thread dump. You will see what threads actually listen on network ports. From there you may guess why. My result on Fedora 19 with OpenJDK 1.7.0_45 (OpenJDK Client VM (build 24.45-b08, mixed mode, sharing)) running without JmxRemoteLifecycleListener (Case A) is that I also see 3 open IPv6 ports. The thread dumps shows that there is one thread named RMI TCP Accept-9123 and two threads named RMI TCP Accept-0 and all three of them have the following stack trace: at java.net.ServerSocket.accept(ServerSocket.java:498) at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop(TCPTransport.java:388) at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run(TCPTransport.java:360) at java.lang.Thread.run(Thread.java:744) If I add the following to the setenv.sh, it turns on debug logging [1] CATALINA_OPTS=${CATALINA_OPTS} -Dsun.rmi.transport.tcp.logLevel=VERBOSE [1] http://docs.oracle.com/javase/7/docs/technotes/guides/rmi/sunrmiproperties.html With the logging I see how those three ports are being opened, but I do not know why. I suspect that the cause for the additional port is some bug in initialization of RMI Registry. As such, it should be fixed in the JRE. -- 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: [VOTE] Release Apache Tomcat 7.0.50
ok all good due to the refactoring, I just have to include tomcat-jsp-api jar to have the resources in the classpath. So +1 On 2 January 2014 14:41, Olivier Lamy ol...@apache.org wrote: I have errors when testing the maven plugin with the staged artifacts: SEVERE: A child container failed during start java.util.concurrent.ExecutionException: java.lang.ExceptionInInitializerError at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222) at java.util.concurrent.FutureTask.get(FutureTask.java:83) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:801) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:695) Caused by: java.lang.ExceptionInInitializerError at org.apache.catalina.startup.TldConfig.createTldDigester(TldConfig.java:94) at org.apache.catalina.startup.TldConfig.init(TldConfig.java:576) at org.apache.catalina.startup.TldConfig.lifecycleEvent(TldConfig.java:559) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) 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.util.LifecycleBase.start(LifecycleBase.java:139) ... 7 more Caused by: java.lang.NullPointerException at org.apache.tomcat.util.descriptor.DigesterFactory.idFor(DigesterFactory.java:107) at org.apache.tomcat.util.descriptor.DigesterFactory.clinit(DigesterFactory.java:59) ... 15 more To reproduce get maven plugin sources then: mvn clean install -Prun-its -Ptc-staging -DtcStagedReleaseUrl=https://repository.apache.org/content/repositories/orgapachetomcat-004 -Dtomcat7Version=7.0.50 On 28 December 2013 01:48, Mark Thomas ma...@apache.org wrote: On 20/12/2013 12:52, Violeta Georgieva wrote: The proposed Apache Tomcat 7.0.50 release is now available for voting. It can be obtained from: https://dist.apache.org/repos/dist/dev/tomcat/tomcat-7/v7.0.50/ The Maven staging repo is: https://repository.apache.org/content/repositories/orgapachetomcat-004/ The svn tag is: http://svn.apache.org/repos/asf/tomcat/tc7.0.x/tags/TOMCAT_7_0_50/ The proposed 7.0.50 release is: [ ] Broken - do not release [X] Stable - go ahead and release as 7.0.50 Stable My tests all pass. Mark - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org -- Olivier Lamy Ecetera: http://ecetera.com.au http://twitter.com/olamy | http://linkedin.com/in/olamy -- Olivier Lamy Ecetera: http://ecetera.com.au http://twitter.com/olamy | http://linkedin.com/in/olamy - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1555013 - /tomcat/maven-plugin/trunk/tomcat-maven-archetype/src/main/resources/archetype-resources/pom.xml
Author: olamy Date: Fri Jan 3 05:53:26 2014 New Revision: 1555013 URL: http://svn.apache.org/r1555013 Log: upgrade some versions in the archetype Modified: tomcat/maven-plugin/trunk/tomcat-maven-archetype/src/main/resources/archetype-resources/pom.xml Modified: tomcat/maven-plugin/trunk/tomcat-maven-archetype/src/main/resources/archetype-resources/pom.xml URL: http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/tomcat-maven-archetype/src/main/resources/archetype-resources/pom.xml?rev=1555013r1=1555012r2=1555013view=diff == --- tomcat/maven-plugin/trunk/tomcat-maven-archetype/src/main/resources/archetype-resources/pom.xml (original) +++ tomcat/maven-plugin/trunk/tomcat-maven-archetype/src/main/resources/archetype-resources/pom.xml Fri Jan 3 05:53:26 2014 @@ -28,7 +28,7 @@ properties project.build.sourceEncodingUTF-8/project.build.sourceEncoding -spring.version3.2.0.RELEASE/spring.version +spring.version4.0.0.RELEASE/spring.version /properties build @@ -37,7 +37,7 @@ plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId - version2.5.1/version + version3.1/version configuration source1.5/source target1.5/target @@ -46,12 +46,12 @@ plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId - version2.13/version + version2.16/version /plugin plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-war-plugin/artifactId - version2.3/version + version2.4/version /plugin plugin groupIdorg.apache.tomcat.maven/groupId @@ -69,7 +69,7 @@ plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-enforcer-plugin/artifactId -version1.0.1/version +version1.3.1/version executions execution idenforce-java/id @@ -150,7 +150,7 @@ dependency groupIdorg.apache.cxf/groupId artifactIdcxf-bundle-jaxrs/artifactId -version2.6.5/version +version2.6.10/version exclusions exclusion groupIdorg.eclipse.jetty/groupId @@ -191,7 +191,7 @@ dependency groupIdjunit/groupId artifactIdjunit/artifactId -version4.10/version +version4.11/version scopetest/scope /dependency /dependencies - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1555014 - /tomcat/maven-plugin/trunk/pom.xml
Author: olamy Date: Fri Jan 3 05:53:31 2014 New Revision: 1555014 URL: http://svn.apache.org/r1555014 Log: upgrade plugin version Modified: tomcat/maven-plugin/trunk/pom.xml Modified: tomcat/maven-plugin/trunk/pom.xml URL: http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/pom.xml?rev=1555014r1=1555013r2=1555014view=diff == --- tomcat/maven-plugin/trunk/pom.xml (original) +++ tomcat/maven-plugin/trunk/pom.xml Fri Jan 3 05:53:31 2014 @@ -789,7 +789,7 @@ plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-enforcer-plugin/artifactId -version1.0.1/version +version1.3.1/version executions execution idenforce-java/id - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1555012 - in /tomcat/maven-plugin/trunk: common-tomcat-maven-plugin/ tomcat-maven-archetype/src/main/resources/archetype-resources/ tomcat-maven-archetype/src/main/resources/archetype-res
Author: olamy Date: Fri Jan 3 05:53:18 2014 New Revision: 1555012 URL: http://svn.apache.org/r1555012 Log: add tomcat-jsp-api as dependency to get it working with 7.0.50 Modified: tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/pom.xml tomcat/maven-plugin/trunk/tomcat-maven-archetype/src/main/resources/archetype-resources/__rootArtifactId__-api-impl/pom.xml tomcat/maven-plugin/trunk/tomcat-maven-archetype/src/main/resources/archetype-resources/pom.xml Modified: tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/pom.xml URL: http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/pom.xml?rev=1555012r1=1555011r2=1555012view=diff == --- tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/pom.xml (original) +++ tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/pom.xml Fri Jan 3 05:53:18 2014 @@ -91,6 +91,11 @@ artifactIdtomcat-servlet-api/artifactId scopetest/scope /dependency +dependency + groupIdorg.apache.tomcat/groupId + artifactIdtomcat-jsp-api/artifactId + scopetest/scope +/dependency dependency groupIdorg.codehaus.plexus/groupId Modified: tomcat/maven-plugin/trunk/tomcat-maven-archetype/src/main/resources/archetype-resources/__rootArtifactId__-api-impl/pom.xml URL: http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/tomcat-maven-archetype/src/main/resources/archetype-resources/__rootArtifactId__-api-impl/pom.xml?rev=1555012r1=1555011r2=1555012view=diff == --- tomcat/maven-plugin/trunk/tomcat-maven-archetype/src/main/resources/archetype-resources/__rootArtifactId__-api-impl/pom.xml (original) +++ tomcat/maven-plugin/trunk/tomcat-maven-archetype/src/main/resources/archetype-resources/__rootArtifactId__-api-impl/pom.xml Fri Jan 3 05:53:18 2014 @@ -94,6 +94,11 @@ artifactIdtomcat-servlet-api/artifactId scopetest/scope /dependency +dependency + groupIdorg.apache.tomcat/groupId + artifactIdtomcat-jsp-api/artifactId + scopetest/scope +/dependency /dependencies Modified: tomcat/maven-plugin/trunk/tomcat-maven-archetype/src/main/resources/archetype-resources/pom.xml URL: http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/tomcat-maven-archetype/src/main/resources/archetype-resources/pom.xml?rev=1555012r1=1555011r2=1555012view=diff == --- tomcat/maven-plugin/trunk/tomcat-maven-archetype/src/main/resources/archetype-resources/pom.xml (original) +++ tomcat/maven-plugin/trunk/tomcat-maven-archetype/src/main/resources/archetype-resources/pom.xml Fri Jan 3 05:53:18 2014 @@ -183,6 +183,12 @@ scopetest/scope /dependency dependency +groupIdorg.apache.tomcat/groupId +artifactIdtomcat-jsp-api/artifactId +version${tomcat7Version}/version +scopetest/scope + /dependency + dependency groupIdjunit/groupId artifactIdjunit/artifactId version4.10/version - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org