gawor | 1 Nov 02:43 2010
Picon

[BUILD] trunk: Failed for Revision: 1029526

Geronimo Revision: 1029526 built with tests included

See the full build-2100.log file at http://people.apache.org/builds/geronimo/server/binaries/trunk/20101031/build-2100.log

 
See the unit test reports at http://people.apache.org/builds/geronimo/server/binaries/trunk/20101031/unit-test-reports

[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] skip non existing resourceDirectory /home/geronimo/geronimo/trunk/plugins/tomcat/geronimo-tomcat7/src/main/filtered-resources
[INFO] Copying 3 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 129 source files to /home/geronimo/geronimo/trunk/plugins/tomcat/geronimo-tomcat7/target/classes
[WARNING]
/home/geronimo/geronimo/trunk/plugins/tomcat/geronimo-tomcat7/src/main/java/org/apache/geronimo/tomcat/LifecycleListenerGBean.java:[101,19]
[deprecation] addOperation(java.lang.String) in org.apache.geronimo.gbean.GBeanInfoBuilder
has been deprecated

[WARNING]
/home/geronimo/geronimo/trunk/plugins/tomcat/geronimo-tomcat7/src/main/java/org/apache/geronimo/tomcat/LifecycleListenerGBean.java:[102,19]
[deprecation] addOperation(java.lang.String) in org.apache.geronimo.gbean.GBeanInfoBuilder
has been deprecated

[WARNING]
/home/geronimo/geronimo/trunk/plugins/tomcat/geronimo-tomcat7/src/main/java/org/apache/geronimo/tomcat/ManagerGBean.java:[93,19]
[deprecation] addOperation(java.lang.String) in org.apache.geronimo.gbean.GBeanInfoBuilder
has been deprecated

[WARNING]
/home/geronimo/geronimo/trunk/plugins/tomcat/geronimo-tomcat7/src/main/java/org/apache/geronimo/tomcat/HostGBean.java:[171,19]
(Continue reading)

Chi Runhua (JIRA | 1 Nov 04:59 2010
Picon

[jira] Resolved: (GERONIMO-5413) Documentation of Generic Header based authentication support in geronimo


     [
https://issues.apache.org/jira/browse/GERONIMO-5413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chi Runhua resolved GERONIMO-5413.
----------------------------------

    Resolution: Fixed

Doc is ready at  https://cwiki.apache.org/GMOxDOC21/configuring-http-header-based-authentication.html

> Documentation of Generic Header based authentication support in geronimo
> ------------------------------------------------------------------------
>
>                 Key: GERONIMO-5413
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5413
>             Project: Geronimo
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: documentation
>            Reporter: Amit Puri
>            Assignee: Chi Runhua
>             Fix For: 2.1.7
>
>
> Geronimo should include documentation regarding Generic Header based authentication. It is related to
generic header authentication login module which should be able to validate the authentication results
passed as http request headers.

--

-- 
(Continue reading)

chi runhua | 1 Nov 07:41 2010
Picon

Re: fail to build openejb plugin on G trunk

The problem was resolved after I upgraded my JDK version from Sun JDK 1.6.0.18 to 1.6.0.21.

Thanks Shawn for the help.

Jeff



On Fri, Oct 29, 2010 at 9:17 AM, chi runhua <chirunhua <at> gmail.com> wrote:
Hi, I encountered the following exception when trying to build the latest Geronimo server(Revision: 1028561). It's an exception thrown out by the setAttribute() method in org.apache.geronimo.deployment.service.SingleGBeanBuilder. I tried to specify the <version>${openejbVersion}</version> in the pom.xml but it didn't work.

[ERROR] Failed to execute goal org.apache.geronimo.buildsupport:car-maven-plugin:3.0-SNAPSHOT:package (default-package) on project openejb: could not package plugin: Unknown attribute accessTimeout on org.apache.geronimo.configs/openejb/3.0-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/openejb/3.0-SNAPSHOT/car,j2eeType=GBean,name=DefaultStatelessContainer -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.geronimo.buildsupport:car-maven-plugin:3.0-SNAPSHOT:package (default-package) on project openejb: could not package plugin
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:203)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:140)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:314)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:151)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:132)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoExecutionException: could not package plugin
    at org.apache.geronimo.mavenplugins.car.PackageMojo.execute(PackageMojo.java:246)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:195)
    ... 19 more
Caused by: org.apache.geronimo.common.DeploymentException: Unknown attribute accessTimeout on org.apache.geronimo.configs/openejb/3.0-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/openejb/3.0-SNAPSHOT/car,j2eeType=GBean,name=DefaultStatelessContainer
    at org.apache.geronimo.deployment.service.SingleGBeanBuilder.setAttribute(SingleGBeanBuilder.java:74)
    at org.apache.geronimo.deployment.service.GBeanBuilder.addGBeanData(GBeanBuilder.java:123)
    at org.apache.geronimo.deployment.service.GBeanBuilder.build(GBeanBuilder.java:108)
    at org.apache.geronimo.deployment.NamespaceDrivenBuilderCollection.build(NamespaceDrivenBuilderCollection.java:43)
    at org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConfiguration(ServiceConfigBuilder.java:252)
    at org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConfiguration(ServiceConfigBuilder.java:211)
    at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:250)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
    at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
    at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:872)
    at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
    at org.apache.geronimo.mavenplugins.car.PackageMojo.invokeDeployer(PackageMojo.java:560)
    at org.apache.geronimo.mavenplugins.car.PackageMojo.buildPackage(PackageMojo.java:376)
    at org.apache.geronimo.mavenplugins.car.PackageMojo.execute(PackageMojo.java:243)
    ... 21 more



Any suggestions?

Thanks.



gawor | 1 Nov 08:47 2010
Picon

[BUILD] trunk: Failed for Revision: 1029568

Geronimo Revision: 1029568 built with tests included

See the full build-0300.log file at http://people.apache.org/builds/geronimo/server/binaries/trunk/20101101/build-0300.log

 
See the unit test reports at http://people.apache.org/builds/geronimo/server/binaries/trunk/20101101/unit-test-reports

[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] skip non existing resourceDirectory /home/geronimo/geronimo/trunk/plugins/tomcat/geronimo-tomcat7/src/main/filtered-resources
[INFO] Copying 3 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 129 source files to /home/geronimo/geronimo/trunk/plugins/tomcat/geronimo-tomcat7/target/classes
[WARNING]
/home/geronimo/geronimo/trunk/plugins/tomcat/geronimo-tomcat7/src/main/java/org/apache/geronimo/tomcat/LifecycleListenerGBean.java:[101,19]
[deprecation] addOperation(java.lang.String) in org.apache.geronimo.gbean.GBeanInfoBuilder
has been deprecated

[WARNING]
/home/geronimo/geronimo/trunk/plugins/tomcat/geronimo-tomcat7/src/main/java/org/apache/geronimo/tomcat/LifecycleListenerGBean.java:[102,19]
[deprecation] addOperation(java.lang.String) in org.apache.geronimo.gbean.GBeanInfoBuilder
has been deprecated

[WARNING]
/home/geronimo/geronimo/trunk/plugins/tomcat/geronimo-tomcat7/src/main/java/org/apache/geronimo/tomcat/ManagerGBean.java:[93,19]
[deprecation] addOperation(java.lang.String) in org.apache.geronimo.gbean.GBeanInfoBuilder
has been deprecated

[WARNING]
/home/geronimo/geronimo/trunk/plugins/tomcat/geronimo-tomcat7/src/main/java/org/apache/geronimo/tomcat/HostGBean.java:[171,19]
[deprecation] addOperation(java.lang.String) in org.apache.geronimo.gbean.GBeanInfoBuilder
has been deprecated

[WARNING]
/home/geronimo/geronimo/trunk/plugins/tomcat/geronimo-tomcat7/src/main/java/org/apache/geronimo/tomcat/TomcatEJBWebServiceContext.java:[241,20]
[deprecation] setStatus(int,java.lang.String) in org.apache.catalina.connector.Response has
been deprecated

[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 13 resources
[INFO] skip non existing resourceDirectory /home/geronimo/geronimo/trunk/plugins/tomcat/geronimo-tomcat7/src/test/filtered-resources
[INFO] Copying 3 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 9 source files to /home/geronimo/geronimo/trunk/plugins/tomcat/geronimo-tomcat7/target/test-classes
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory: /home/geronimo/geronimo/trunk/plugins/tomcat/geronimo-tomcat7/target/surefire-reports
[org.apache.geronimo.tomcat.JACCSecurityTest] : Initialized
[org.apache.geronimo.tomcat.ContainerTest] : Initialized
[org.apache.geronimo.tomcat.TomcatServerGBeanTest] : Initialized
[org.apache.geronimo.tomcat.TomcatServerGBeanTest] : Initialized
[org.apache.geronimo.tomcat.TomcatServerGBeanTest] : Initialized
[org.apache.geronimo.tomcat.ApplicationTest] : Initialized
[org.apache.geronimo.tomcat.StatTest] : Initialized
[org.apache.geronimo.tomcat.JAASSecurityTest] : Initialized

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.geronimo.tomcat.ContainerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.446 sec
Running org.apache.geronimo.tomcat.BasicTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.042 sec
Running org.apache.geronimo.tomcat.TomcatServerGBeanTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.608 sec
Running org.apache.geronimo.tomcat.ApplicationTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.837 sec <<< FAILURE!
Running org.apache.geronimo.tomcat.JAASSecurityTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.752 sec
Running org.apache.geronimo.tomcat.StatTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.595 sec <<< FAILURE!
Running org.apache.geronimo.tomcat.JACCSecurityTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.423 sec <<< FAILURE!

Results :

Tests in error: 
  testExplicitMapping(org.apache.geronimo.tomcat.JACCSecurityTest)

Tests run: 9, Failures: 0, Errors: 3, Skipped: 0

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to
/home/geronimo/geronimo/trunk/plugins/tomcat/geronimo-tomcat7/target/surefire-reports for
the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: There are test failures.

Please refer to
/home/geronimo/geronimo/trunk/plugins/tomcat/geronimo-tomcat7/target/surefire-reports for
the individual test results.
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:715)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
	at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.

Please refer to
/home/geronimo/geronimo/trunk/plugins/tomcat/geronimo-tomcat7/target/surefire-reports for
the individual test results.
	at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:575)
	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
	... 17 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 28 minutes 51 seconds
[INFO] Finished at: Mon Nov 01 03:34:27 EDT 2010
[INFO] Final Memory: 540M/967M
[INFO] ------------------------------------------------------------------------

Wang Guang Zhe (JIRA | 1 Nov 08:53 2010
Picon

[jira] Updated: (GERONIMO-5669) Exceptions occurs when executing "deploy encrypt secret" on Win2008


     [
https://issues.apache.org/jira/browse/GERONIMO-5669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wang Guang Zhe updated GERONIMO-5669:
-------------------------------------

    Attachment: encrypt2.png
                encrypt1.png

> Exceptions occurs when executing "deploy encrypt secret" on Win2008
> -------------------------------------------------------------------
>
>                 Key: GERONIMO-5669
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5669
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: commands
>    Affects Versions: 3.0
>         Environment: OS: Windows 2008 R2 x64
> JDK: Sun JDK 1.6.0_20
>            Reporter: Wang Guang Zhe
>             Fix For: 3.0
>
>         Attachments: encrypt1.png, encrypt2.png
>
>

--

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Wang Guang Zhe (JIRA | 1 Nov 08:53 2010
Picon

[jira] Created: (GERONIMO-5669) Exceptions occurs when executing "deploy encrypt secret" on Win2008

Exceptions occurs when executing "deploy encrypt secret" on Win2008
-------------------------------------------------------------------

                 Key: GERONIMO-5669
                 URL: https://issues.apache.org/jira/browse/GERONIMO-5669
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: commands
    Affects Versions: 3.0
         Environment: OS: Windows 2008 R2 x64
JDK: Sun JDK 1.6.0_20
            Reporter: Wang Guang Zhe
             Fix For: 3.0
         Attachments: encrypt1.png, encrypt2.png

--

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Rick McGuire | 1 Nov 10:11 2010
Picon

Re: [VOTE] release geronimo txmanager and connector components 2.2.1 - CANCELED

Vote canceled due to the problems discovered.

Rick

On 10/29/2010 6:36 PM, David Jencks wrote:
> Hi Rick,
>
> With Jarek's help I have the osgi tx tests running and unfortunately there are some problems.  Working on
fixing them but...
>
> -1
>
> thanks
> david jencks
>
> On Oct 26, 2010, at 5:15 AM, Rick McGuire wrote:
>
>> This is a bug-fix release that will be used for the Geronimo server 2.2.1 and 2.1.7 releases.   The
following Jiras included in this update.
>>
>> GERONIMO-5649 txmanager could try to replace dead XAResources in commit and rollback tasks
>>
>> The components up for vote are:
>>
>> org/apache/geronimo/components/geronimo-txmanager-parent/2.2.1/geronimo-txmanager-parent-2.2.1-source-release.tar.gz
>> org/apache/geronimo/components/geronimo-txmanager-parent/2.2.1/geronimo-txmanager-parent-2.2.1-source-release.zip
>>
>> from the staging repository at:
>>
>> https://repository.apache.org/content/repositories/orgapachegeronimo-006/
>>
>> The source repo is:
>>
>> https://svn.apache.org/repos/asf/geronimo/components/txmanager/tags/geronimo-txmanager-parent-2.2.1
>>
>> Vote will be open for 72 hours.
>>
>> [ ] +1  approve
>> [ ] +0  no opinion
>> [ ] -1  disapprove (and reason why)
>>
>>
>> Rick
>

Ivan (JIRA | 1 Nov 10:19 2010
Picon

[jira] Commented: (GERONIMO-5579) Problem with "deploy:connect" gogo command


    [
https://issues.apache.org/jira/browse/GERONIMO-5579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12926863#action_12926863
] 

Ivan commented on GERONIMO-5579:
--------------------------------

First step changes are committed to trunk at rev.1029580. Use port and hostname to identify whether the
expected server is the embedded one.
Seems some new ObjectFatory impls are used in trunk, some naming related changes might be required.

> Problem with "deploy:connect" gogo command
> ------------------------------------------
>
>                 Key: GERONIMO-5579
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5579
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: commands
>    Affects Versions: 3.0
>         Environment: windows platform 
>            Reporter: maojia
>            Assignee: Ivan
>            Priority: Minor
>
> I started two server instances on my local Windows platform:
> geronimo-tomcat7-javaee6-3.0-SNAPSHOT     using port 1099,started with the "run Geronimo" command;
> geronimo-tomcat6-javaee5-2.2       using port 1109, started with the "startup"command.
> On the karaf shell for the geronimo-tomcat7-javaee6-3.0-SNAPSHOT  server:
> I ran the "deploy:connect --port 1109"command trying to connect the geronimo-tomcat6-javaee5-2.2
server. "Connection established"was displayed. 
> However,when running the "deploy:list-modules"command, it was the modules belonging to the
geronimo-tomcat7-javaee6-3.0-SNAPSHOT server that was listed, indicating that it was still the 
> geronimo-tomcat7-javaee6-3.0-SNAPSHOT server that was connected.
> The information on the command window is as follows:
> geronimo> deploy:disconnect
> Not connected
> geronimo> deploy:connect --hostname localhost --port 1109
> Connection established
> geronimo> deploy:list-modules
> Found 54 modules
>   + org.apache.geronimo.configs/activemq-broker-blueprint/3.0-SNAPSHOT/car
>   + org.apache.geronimo.configs/activemq-ra/3.0-SNAPSHOT/car
>   + org.apache.geronimo.configs/aries-deployer/3.0-SNAPSHOT/car
>   + org.apache.geronimo.configs/axis2-deployer/3.0-SNAPSHOT/car
>   + org.apache.geronimo.configs/bval-deployer/3.0-SNAPSHOT/car
>   + org.apache.geronimo.configs/client-deployer/3.0-SNAPSHOT/car
>  .......

--

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Picon

[jira] Commented: (GERONIMO-5668) Use fewer acceptor threads for Jetty


    [
https://issues.apache.org/jira/browse/GERONIMO-5668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12926906#action_12926906
] 

Trygve Sanne Hardersen commented on GERONIMO-5668:
--------------------------------------------------

I have looked a bit more at this and have filed a bug for Jetty, see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=329180. This is based on Shawn's work, many thanks.

I'll watch the Jetty bug and let you know if it gets fixed at the Jetty side so that Geronimo can be updated to
use a newer Jetty version. I have a patch ready for running Geronimo against Jetty trunk.

> Use fewer acceptor threads for Jetty
> ------------------------------------
>
>                 Key: GERONIMO-5668
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5668
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: Jetty
>    Affects Versions: 2.2.1
>         Environment: Only tested on OS X 1.6 with Java 1.6
>            Reporter: Trygve Sanne Hardersen
>         Attachments: geronimo-2.2-1027647-jetty-acceptors.patch
>
>
> Geronimo applies the maxThreads parameter as the number of acceptor threads in Jetty, with a default
value of 50. With newer versions (7.2.0) of Jetty this gives the following warning during startup:
> # Acceptors should be <=2*availableProcessors
> Server shutdowns are also very slow, it takes about 1 second to stop each acceptor thread.
> The attached patch sets the number of acceptor threads to 2 per connector (HTTP, HTTPS and AJP), and
exposes this and the acceptor queue size (50) as a parameter in config-substitutions.properties.

--

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

gawor | 1 Nov 14:34 2010
Picon

[BUILD] trunk: Failed for Revision: 1029637

Geronimo Revision: 1029637 built with tests included

See the full build-0900.log file at http://people.apache.org/builds/geronimo/server/binaries/trunk/20101101/build-0900.log

 
See the unit test reports at http://people.apache.org/builds/geronimo/server/binaries/trunk/20101101/unit-test-reports

Running org.apache.geronimo.deployment.tools.ClientDeployableTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.586 sec
Running org.apache.geronimo.deployment.tools.DDBeanRootTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.035 sec
Running org.apache.geronimo.deployment.tools.WebDeployableTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 sec

Results :

Tests run: 3, Failures: 0, Errors: 0, Skipped: 0

[INFO] [bundle:bundle {execution: default-bundle}]
[INFO] [geronimo-osgi:verify-manifest {execution: verify-manifest}]
[INFO] Resolving OSGi bundle: org.apache.geronimo.modules.geronimo-test-ddbean
[INFO] OSGi bundle is resolved: org.apache.geronimo.modules.geronimo-test-ddbean
[INFO] [ianal:verify-legal-files {execution: default}]
[INFO] Checking legal files in: geronimo-test-ddbean-3.0-SNAPSHOT.jar
[INFO] [install:install {execution: default-install}]
[INFO] Installing
/home/geronimo/geronimo/trunk/plugins/j2ee/geronimo-test-ddbean/target/geronimo-test-ddbean-3.0-SNAPSHOT.jar
to /home/geronimo/.m2/repository/org/apache/geronimo/modules/geronimo-test-ddbean/3.0-SNAPSHOT/geronimo-test-ddbean-3.0-SNAPSHOT.jar
[INFO] [bundle:install {execution: default-install}]
[INFO] Parsing file:/home/geronimo/.m2/repository/repository.xml
[INFO] Installing org/apache/geronimo/modules/geronimo-test-ddbean/3.0-SNAPSHOT/geronimo-test-ddbean-3.0-SNAPSHOT.jar
[INFO] Writing OBR metadata
[INFO] ------------------------------------------------------------------------
[INFO] Building Geronimo Plugins, J2EE :: Web 2.5 Builder
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [genesis:validate-configuration {execution: default}]
[INFO] [geronimo-property:set-property {execution: set-property}]
[INFO] snapshot org.apache.geronimo.modules:geronimo-web:3.0-SNAPSHOT: checking for updates from jetty.oss.sonatype.org
[INFO] snapshot org.apache.geronimo.modules:geronimo-web:3.0-SNAPSHOT: checking for updates from openqa-snapshots
[INFO] snapshot org.apache.geronimo.modules:geronimo-web:3.0-SNAPSHOT: checking for updates from codehaus.snapshots
[INFO] snapshot org.apache.geronimo.modules:geronimo-web:3.0-SNAPSHOT: checking for updates from apache.snapshots
[INFO] snapshot org.apache.geronimo.modules:geronimo-naming-builder:3.0-SNAPSHOT: checking for
updates from jetty.oss.sonatype.org
[INFO] snapshot org.apache.geronimo.modules:geronimo-naming-builder:3.0-SNAPSHOT: checking for
updates from openqa-snapshots
[INFO] snapshot org.apache.geronimo.modules:geronimo-naming-builder:3.0-SNAPSHOT: checking for
updates from codehaus.snapshots
[INFO] snapshot org.apache.geronimo.modules:geronimo-naming-builder:3.0-SNAPSHOT: checking for
updates from apache.snapshots
[INFO] snapshot org.apache.geronimo.modules:geronimo-security-builder:3.0-SNAPSHOT: checking
for updates from jetty.oss.sonatype.org
[INFO] snapshot org.apache.geronimo.modules:geronimo-security-builder:3.0-SNAPSHOT: checking
for updates from openqa-snapshots
[INFO] snapshot org.apache.geronimo.modules:geronimo-security-builder:3.0-SNAPSHOT: checking
for updates from codehaus.snapshots
[INFO] snapshot org.apache.geronimo.modules:geronimo-security-builder:3.0-SNAPSHOT: checking
for updates from apache.snapshots
[INFO] snapshot org.apache.geronimo.modules:geronimo-test-ddbean:3.0-SNAPSHOT: checking for
updates from jetty.oss.sonatype.org
[INFO] snapshot org.apache.geronimo.modules:geronimo-test-ddbean:3.0-SNAPSHOT: checking for
updates from openqa-snapshots
[INFO] snapshot org.apache.geronimo.modules:geronimo-test-ddbean:3.0-SNAPSHOT: checking for
updates from codehaus.snapshots
[INFO] snapshot org.apache.geronimo.modules:geronimo-test-ddbean:3.0-SNAPSHOT: checking for
updates from apache.snapshots
[INFO] [enforcer:enforce {execution: default}]
[INFO] [xmlbeans:xmlbeans {execution: default}]
IO Error java.net.ConnectException: Connection timed out
Time to build schema type system: 378.063 seconds
BUILD FAILED
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] XmlBeans compile failed:
 xml ErrorLoading schema file /home/geronimo/geronimo/trunk/plugins/j2ee/geronimo-web-2.5-builder/src/main/xsd/geronimo-web-2.0.1.xsd
xml ErrorLoading config file /home/geronimo/geronimo/trunk/plugins/j2ee/geronimo-web-2.5-builder/src/main/xsdconfig/xmlconfig.xml
xml
Error/home/geronimo/geronimo/trunk/plugins/j2ee/geronimo-web-2.5-builder/src/main/xsd/geronimo-web-2.0.1.xsd:38:5:
error: java.net.ConnectException: Connection timed out
xml
Error/home/geronimo/geronimo/trunk/plugins/j2ee/geronimo-web-2.5-builder/src/main/xsd/geronimo-web-2.0.1.xsd:121:17:
error: src-resolve: element 'persistence <at> http://java.sun.com/xml/ns/persistence' not found.

[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: XmlBeans compile failed:
 xml ErrorLoading schema file /home/geronimo/geronimo/trunk/plugins/j2ee/geronimo-web-2.5-builder/src/main/xsd/geronimo-web-2.0.1.xsd
xml ErrorLoading config file /home/geronimo/geronimo/trunk/plugins/j2ee/geronimo-web-2.5-builder/src/main/xsdconfig/xmlconfig.xml
xml
Error/home/geronimo/geronimo/trunk/plugins/j2ee/geronimo-web-2.5-builder/src/main/xsd/geronimo-web-2.0.1.xsd:38:5:
error: java.net.ConnectException: Connection timed out
xml
Error/home/geronimo/geronimo/trunk/plugins/j2ee/geronimo-web-2.5-builder/src/main/xsd/geronimo-web-2.0.1.xsd:121:17:
error: src-resolve: element 'persistence <at> http://java.sun.com/xml/ns/persistence' not found.

	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
	at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.codehaus.mojo.xmlbeans.XmlBeansException: XmlBeans compile failed:
 xml ErrorLoading schema file /home/geronimo/geronimo/trunk/plugins/j2ee/geronimo-web-2.5-builder/src/main/xsd/geronimo-web-2.0.1.xsd
xml ErrorLoading config file /home/geronimo/geronimo/trunk/plugins/j2ee/geronimo-web-2.5-builder/src/main/xsdconfig/xmlconfig.xml
xml
Error/home/geronimo/geronimo/trunk/plugins/j2ee/geronimo-web-2.5-builder/src/main/xsd/geronimo-web-2.0.1.xsd:38:5:
error: java.net.ConnectException: Connection timed out
xml
Error/home/geronimo/geronimo/trunk/plugins/j2ee/geronimo-web-2.5-builder/src/main/xsd/geronimo-web-2.0.1.xsd:121:17:
error: src-resolve: element 'persistence <at> http://java.sun.com/xml/ns/persistence' not found.

	at org.codehaus.mojo.xmlbeans.AbstractXmlBeansPlugin.execute(AbstractXmlBeansPlugin.java:292)
	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
	... 17 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 21 minutes 25 seconds
[INFO] Finished at: Mon Nov 01 09:22:42 EDT 2010
[INFO] Final Memory: 473M/999M
[INFO] ------------------------------------------------------------------------


Gmane