dev@glassfish.java.net

Re: Build problem

From: Jane Young <jane.young_at_oracle.com>
Date: Thu, 17 Jun 2010 09:26:09 -0700

Not sure if it's related to Amy's build failure. But her failure was in
tests.
The solution to Amy's failure is to unset the environment
ENABLE_REPLICATION and try the build again. The reason is that CLIs
are not cluster aware.




Yamini K B wrote:
> Hi,
>
> I'm getting the following error during build. I created a fresh
> workspace, but same problem.
> Any pointers appreciated.
>
> Thanks,
> -Yamini
>
> Beginning parsing
> /home/yamini/.m2/repository/org/glassfish/deployment/deployment-versioning/3.1-SNAPSHOT/deployment-versioning-3.1-SNAPSHOT.jar
>
> Using meta-inf file for
> /home/yamini/.m2/repository/org/glassfish/deployment/deployment-versioning/3.1-SNAPSHOT/deployment-versioning-3.1-SNAPSHOT.jar
>
> Beginning parsing
> /home/yamini/.m2/repository/junit/junit/4.3.1/junit-4.3.1.jar
> Ignoring service-less junit-4.3.1.jar
> Finished introspecting auto-depends-1.0.25.jar
> Finished introspecting osgi-adapter-1.0.25.jar
> Finished introspecting hk2-core-1.0.25.jar
> Finished introspecting glassfish-3.1-SNAPSHOT.jar
> Starting to introspect
> finished introspecting
> Starting to introspect
> finished introspecting
> Found contract : org.glassfish.api.admin.FileMonitoring
> --> org.glassfish.kernel.FileMonitoringImpl {index:
> {org.glassfish.api.admin.FileMonitoring,}
> class: {org.glassfish.kernel.FileMonitoringImpl,}
> }
> Found contract : com.sun.enterprise.module.bootstrap.Populator
> --> com.sun.enterprise.v3.server.GFDomainXml {index:
> {com.sun.enterprise.module.bootstrap.Populator,}
> class: {com.sun.enterprise.v3.server.GFDomainXml,}
> }
> Found contract : org.glassfish.api.embedded.admin.EmbeddedAdminContainer
> --> org.glassfish.kernel.embedded.EmbeddedAdminCtrImpl {index:
> {org.glassfish.api.embedded.admin.EmbeddedAdminContainer,org.glassfish.api.embedded.EmbeddedContainer,}
>
> class: {org.glassfish.kernel.embedded.EmbeddedAdminCtrImpl,}
> }
> Found contract : org.glassfish.api.admin.ClusterExecutor
> --> org.glassfish.api.admin.Cluster$TargetBasedExecutor {index:
> {org.glassfish.api.admin.ClusterExecutor,}
> class: {org.glassfish.api.admin.Cluster$TargetBasedExecutor,}
> }
> Found contract : org.glassfish.flashlight.client.ProbeClientMediator
> --> org.glassfish.flashlight.impl.client.FlashlightProbeClientMediator
> {index: {org.glassfish.flashlight.client.ProbeClientMediator,}
> class:
> {org.glassfish.flashlight.impl.client.FlashlightProbeClientMediator,}
> }
> Found contract : com.sun.common.util.logging.LoggingConfig
> --> com.sun.common.util.logging.LoggingConfigImpl {index:
> {com.sun.common.util.logging.LoggingConfig,com.sun.common.util.logging.LoggingConfigImpl,}
>
> class: {com.sun.common.util.logging.LoggingConfigImpl,}
> }
> Found contract : org.glassfish.api.admin.ServerEnvironment
> --> org.glassfish.server.ServerEnvironmentImpl {index:
> {org.glassfish.api.admin.ServerEnvironment,}
> class: {org.glassfish.server.ServerEnvironmentImpl,}
> }
> Found contract : org.glassfish.api.admin.AdminCommand
> --> com.sun.enterprise.v3.admin.AnotherPublicMethod {index:
> {org.glassfish.api.admin.AdminCommand:notannoated-public-command,}
> org.glassfish.api.admin.AdminCommand: {notannoated-public-command,}
> class: {com.sun.enterprise.v3.admin.AnotherPublicMethod,}
> }
> --> com.sun.enterprise.v3.admin.SimplePrivateCommand {index:
> {org.glassfish.api.admin.AdminCommand:simple-private-command,}
> org.glassfish.api.admin.AdminCommand: {simple-private-command,}
> class: {com.sun.enterprise.v3.admin.SimplePrivateCommand,}
> }
> --> com.sun.enterprise.v3.admin.SimplePublicCommand {index:
> {org.glassfish.api.admin.AdminCommand:simple-public-command,}
> org.glassfish.api.admin.AdminCommand: {simple-public-command,}
> class: {com.sun.enterprise.v3.admin.SimplePublicCommand,}
> }
> --> com.sun.enterprise.v3.admin.CommandRunnerTest$DummyAdminCommand
> {index: {org.glassfish.api.admin.AdminCommand:dummy-admin,}
> org.glassfish.api.admin.AdminCommand: {dummy-admin,}
> class: {com.sun.enterprise.v3.admin.CommandRunnerTest$DummyAdminCommand,}
> }
> --> com.sun.enterprise.v3.admin.GetRestartRequiredCommand {index:
> {org.glassfish.api.admin.AdminCommand:_get-restart-required,}
> org.glassfish.api.admin.AdminCommand: {_get-restart-required,}
> class: {com.sun.enterprise.v3.admin.GetRestartRequiredCommand,}
> }
> --> com.sun.enterprise.v3.admin.ListCommand {index:
> {org.glassfish.api.admin.AdminCommand:list,}
> org.glassfish.api.admin.AdminCommand: {list,}
> class: {com.sun.enterprise.v3.admin.ListCommand,}
> }
> --> com.sun.enterprise.v3.admin.ListCommandsCommand {index:
> {org.glassfish.api.admin.AdminCommand:list-commands,}
> org.glassfish.api.admin.AdminCommand: {list-commands,}
> class: {com.sun.enterprise.v3.admin.ListCommandsCommand,}
> }
> --> com.sun.enterprise.v3.admin.commands.ListThreadpools {index:
> {org.glassfish.api.admin.AdminCommand:list-threadpools,}
> org.glassfish.api.admin.AdminCommand: {list-threadpools,}
> class: {com.sun.enterprise.v3.admin.commands.ListThreadpools,}
> }
> --> com.sun.enterprise.v3.admin.DeleteAuditModule {index:
> {org.glassfish.api.admin.AdminCommand:delete-audit-module,}
> org.glassfish.api.admin.AdminCommand: {delete-audit-module,}
> class: {com.sun.enterprise.v3.admin.DeleteAuditModule,}
> }
> --> com.sun.enterprise.v3.admin.DumpHK2Command {index:
> {org.glassfish.api.admin.AdminCommand:dump-hk2,}
> org.glassfish.api.admin.AdminCommand: {dump-hk2,}
> class: {com.sun.enterprise.v3.admin.DumpHK2Command,}
> mode: {debug,}
> }
> --> com.sun.enterprise.v3.admin.GetCommand {index:
> {org.glassfish.api.admin.AdminCommand:get,}
> org.glassfish.api.admin.AdminCommand: {get,}
> class: {com.sun.enterprise.v3.admin.GetCommand,}
> }
> --> com.sun.enterprise.v3.admin.RestartDomainCommand {index:
> {org.glassfish.api.admin.AdminCommand:restart-domain,}
> org.glassfish.api.admin.AdminCommand: {restart-domain,}
> class: {com.sun.enterprise.v3.admin.RestartDomainCommand,}
> }
> --> com.sun.enterprise.v3.admin.CreateAuditModule {index:
> {org.glassfish.api.admin.AdminCommand:create-audit-module,}
> org.glassfish.api.admin.AdminCommand: {create-audit-module,}
> class: {com.sun.enterprise.v3.admin.CreateAuditModule,}
> }
> --> com.sun.enterprise.v3.admin.DeleteSsl {index:
> {org.glassfish.api.admin.AdminCommand:delete-ssl,}
> org.glassfish.api.admin.AdminCommand: {delete-ssl,}
> class: {com.sun.enterprise.v3.admin.DeleteSsl,}
> }
> --> com.sun.enterprise.v3.admin.ListMessageSecurityProvider {index:
> {org.glassfish.api.admin.AdminCommand:list-message-security-providers,}
> org.glassfish.api.admin.AdminCommand: {list-message-security-providers,}
> class: {com.sun.enterprise.v3.admin.ListMessageSecurityProvider,}
> }
> --> com.sun.enterprise.v3.admin.SetCommand {index:
> {org.glassfish.api.admin.AdminCommand:set,}
> org.glassfish.api.admin.AdminCommand: {set,}
> class: {com.sun.enterprise.v3.admin.SetCommand,}
> }
> --> com.sun.enterprise.v3.admin.commands.ListLoggerLevels {index:
> {org.glassfish.api.admin.AdminCommand:list-logger-levels,}
> org.glassfish.api.admin.AdminCommand: {list-logger-levels,}
> class: {com.sun.enterprise.v3.admin.commands.ListLoggerLevels,}
> }
> --> com.sun.enterprise.v3.admin.LocationsCommand {index:
> {org.glassfish.api.admin.AdminCommand:__locations,}
> org.glassfish.api.admin.AdminCommand: {__locations,}
> class: {com.sun.enterprise.v3.admin.LocationsCommand,}
> }
> --> com.sun.enterprise.v3.admin.VersionCommand {index:
> {org.glassfish.api.admin.AdminCommand:version,}
> org.glassfish.api.admin.AdminCommand: {version,}
> class: {com.sun.enterprise.v3.admin.VersionCommand,}
> }
> --> com.sun.enterprise.v3.admin.DeleteMessageSecurityProvider {index:
> {org.glassfish.api.admin.AdminCommand:delete-message-security-provider,}
> org.glassfish.api.admin.AdminCommand: {delete-message-security-provider,}
> class: {com.sun.enterprise.v3.admin.DeleteMessageSecurityProvider,}
> }
> --> com.sun.enterprise.v3.admin.ListCommandDescriptorsCommand {index:
> {org.glassfish.api.admin.AdminCommand:list-descriptors,}
> org.glassfish.api.admin.AdminCommand: {list-descriptors,}
> class: {com.sun.enterprise.v3.admin.ListCommandDescriptorsCommand,}
> mode: {debug,}
> }
> --> com.sun.enterprise.v3.admin.commands.DeleteJvmOptions {index:
> {org.glassfish.api.admin.AdminCommand:delete-jvm-options,}
> org.glassfish.api.admin.AdminCommand: {delete-jvm-options,}
> class: {com.sun.enterprise.v3.admin.commands.DeleteJvmOptions,}
> }
> --> com.sun.enterprise.v3.admin.CreateSystemProperties {index:
> {org.glassfish.api.admin.AdminCommand:create-system-properties,}
> org.glassfish.api.admin.AdminCommand: {create-system-properties,}
> class: {com.sun.enterprise.v3.admin.CreateSystemProperties,}
> }
> --> com.sun.enterprise.v3.admin.CreateProfiler {index:
> {org.glassfish.api.admin.AdminCommand:create-profiler,}
> org.glassfish.api.admin.AdminCommand: {create-profiler,}
> class: {com.sun.enterprise.v3.admin.CreateProfiler,}
> }
> --> com.sun.enterprise.v3.admin.ListAuditModule {index:
> {org.glassfish.api.admin.AdminCommand:list-audit-modules,}
> org.glassfish.api.admin.AdminCommand: {list-audit-modules,}
> class: {com.sun.enterprise.v3.admin.ListAuditModule,}
> }
> --> com.sun.enterprise.v3.admin.commands.ListJvmOptions {index:
> {org.glassfish.api.admin.AdminCommand:list-jvm-options,}
> org.glassfish.api.admin.AdminCommand: {list-jvm-options,}
> class: {com.sun.enterprise.v3.admin.commands.ListJvmOptions,}
> }
> --> com.sun.enterprise.v3.admin.commands.SetLogLevel {index:
> {org.glassfish.api.admin.AdminCommand:set-log-level,}
> org.glassfish.api.admin.AdminCommand: {set-log-level,}
> class: {com.sun.enterprise.v3.admin.commands.SetLogLevel,}
> }
> --> com.sun.enterprise.v3.admin.ListContracts {index:
> {org.glassfish.api.admin.AdminCommand:list-contracts,}
> org.glassfish.api.admin.AdminCommand: {list-contracts,}
> class: {com.sun.enterprise.v3.admin.ListContracts,}
> mode: {debug,}
> }
> --> com.sun.enterprise.v3.admin.commands.CreateJvmOptions {index:
> {org.glassfish.api.admin.AdminCommand:create-jvm-options,}
> org.glassfish.api.admin.AdminCommand: {create-jvm-options,}
> class: {com.sun.enterprise.v3.admin.commands.CreateJvmOptions,}
> }
> --> com.sun.enterprise.v3.admin.commands.CreateThreadpool {index:
> {org.glassfish.api.admin.AdminCommand:create-threadpool,}
> org.glassfish.api.admin.AdminCommand: {create-threadpool,}
> class: {com.sun.enterprise.v3.admin.commands.CreateThreadpool,}
> }
> --> com.sun.enterprise.v3.admin.DeleteProfiler {index:
> {org.glassfish.api.admin.AdminCommand:delete-profiler,}
> org.glassfish.api.admin.AdminCommand: {delete-profiler,}
> class: {com.sun.enterprise.v3.admin.DeleteProfiler,}
> }
> --> com.sun.enterprise.v3.admin.commands.GenerateJvmReportCommand
> {index: {org.glassfish.api.admin.AdminCommand:generate-jvm-report,}
> org.glassfish.api.admin.AdminCommand: {generate-jvm-report,}
> class: {com.sun.enterprise.v3.admin.commands.GenerateJvmReportCommand,}
> }
> --> com.sun.enterprise.v3.admin.commands.RotateLog {index:
> {org.glassfish.api.admin.AdminCommand:rotate-log,}
> org.glassfish.api.admin.AdminCommand: {rotate-log,}
> class: {com.sun.enterprise.v3.admin.commands.RotateLog,}
> }
> --> com.sun.enterprise.v3.admin.ListModulesCommand {index:
> {org.glassfish.api.admin.AdminCommand:list-modules,}
> org.glassfish.api.admin.AdminCommand: {list-modules,}
> class: {com.sun.enterprise.v3.admin.ListModulesCommand,}
> }
> --> com.sun.enterprise.v3.admin.UptimeCommand {index:
> {org.glassfish.api.admin.AdminCommand:uptime,}
> org.glassfish.api.admin.AdminCommand: {uptime,}
> class: {com.sun.enterprise.v3.admin.UptimeCommand,}
> }
> --> com.sun.enterprise.v3.admin.CreateMessageSecurityProvider {index:
> {org.glassfish.api.admin.AdminCommand:create-message-security-provider,}
> org.glassfish.api.admin.AdminCommand: {create-message-security-provider,}
> class: {com.sun.enterprise.v3.admin.CreateMessageSecurityProvider,}
> }
> --> com.sun.enterprise.v3.admin.commands.DeleteThreadpool {index:
> {org.glassfish.api.admin.AdminCommand:delete-threadpool,}
> org.glassfish.api.admin.AdminCommand: {delete-threadpool,}
> class: {com.sun.enterprise.v3.admin.commands.DeleteThreadpool,}
> }
> --> com.sun.enterprise.v3.admin.StopDomainCommand {index:
> {org.glassfish.api.admin.AdminCommand:stop-domain,}
> org.glassfish.api.admin.AdminCommand: {stop-domain,}
> class: {com.sun.enterprise.v3.admin.StopDomainCommand,}
> }
> --> com.sun.enterprise.v3.admin.DeleteSystemProperty {index:
> {org.glassfish.api.admin.AdminCommand:delete-system-property,}
> org.glassfish.api.admin.AdminCommand: {delete-system-property,}
> class: {com.sun.enterprise.v3.admin.DeleteSystemProperty,}
> }
> --> com.sun.enterprise.v3.admin.ListContainersCommand {index:
> {org.glassfish.api.admin.AdminCommand:list-containers,}
> org.glassfish.api.admin.AdminCommand: {list-containers,}
> class: {com.sun.enterprise.v3.admin.ListContainersCommand,}
> }
> --> com.sun.enterprise.v3.admin.CreateSsl {index:
> {org.glassfish.api.admin.AdminCommand:create-ssl,}
> org.glassfish.api.admin.AdminCommand: {create-ssl,}
> class: {com.sun.enterprise.v3.admin.CreateSsl,}
> }
> --> com.sun.enterprise.v3.admin.ListSystemProperties {index:
> {org.glassfish.api.admin.AdminCommand:list-system-properties,}
> org.glassfish.api.admin.AdminCommand: {list-system-properties,}
> class: {com.sun.enterprise.v3.admin.ListSystemProperties,}
> }
> --> org.glassfish.config.support.GenericCreateCommand {index:
> {org.glassfish.api.admin.AdminCommand:create-application-ref,}
> method-name: {getApplicationRef,}
> org.glassfish.api.admin.AdminCommand: {create-application-ref,}
> class: {org.glassfish.config.support.GenericCreateCommand,}
> targetType: {com.sun.enterprise.config.serverbeans.RefContainer,}
> }
> --> org.glassfish.config.support.GenericCreateCommand {index:
> {org.glassfish.api.admin.AdminCommand:create-node-ssh,}
> method-name: {getNode,}
> org.glassfish.api.admin.AdminCommand: {create-node-ssh,}
> class: {org.glassfish.config.support.GenericCreateCommand,}
> targetType: {com.sun.enterprise.config.serverbeans.Nodes,}
> }
> --> org.glassfish.config.support.GenericCreateCommand {index:
> {org.glassfish.api.admin.AdminCommand:create-config,}
> method-name: {getConfig,}
> org.glassfish.api.admin.AdminCommand: {create-config,}
> class: {org.glassfish.config.support.GenericCreateCommand,}
> targetType: {com.sun.enterprise.config.serverbeans.Configs,}
> }
> --> org.glassfish.config.support.GenericListCommand {index:
> {org.glassfish.api.admin.AdminCommand:list-nodes,}
> method-name: {getNode,}
> org.glassfish.api.admin.AdminCommand: {list-nodes,}
> class: {org.glassfish.config.support.GenericListCommand,}
> targetType: {com.sun.enterprise.config.serverbeans.Nodes,}
> }
> --> org.glassfish.config.support.GenericCreateCommand {index:
> {org.glassfish.api.admin.AdminCommand:create-cluster,}
> method-name: {getCluster,}
> org.glassfish.api.admin.AdminCommand: {create-cluster,}
> class: {org.glassfish.config.support.GenericCreateCommand,}
> targetType: {com.sun.enterprise.config.serverbeans.Clusters,}
> }
> --> org.glassfish.config.support.GenericDeleteCommand {index:
> {org.glassfish.api.admin.AdminCommand:delete-cluster,}
> method-name: {getCluster,}
> org.glassfish.api.admin.AdminCommand: {delete-cluster,}
> class: {org.glassfish.config.support.GenericDeleteCommand,}
> targetType: {com.sun.enterprise.config.serverbeans.Clusters,}
> }
> --> org.glassfish.config.support.GenericCreateCommand {index:
> {org.glassfish.api.admin.AdminCommand:_register-instance,}
> method-name: {getServer,}
> org.glassfish.api.admin.AdminCommand: {_register-instance,}
> class: {org.glassfish.config.support.GenericCreateCommand,}
> targetType: {com.sun.enterprise.config.serverbeans.Servers,}
> }
> --> org.glassfish.config.support.GenericDeleteCommand {index:
> {org.glassfish.api.admin.AdminCommand:delete-application-ref,}
> method-name: {getApplicationRef,}
> org.glassfish.api.admin.AdminCommand: {delete-application-ref,}
> class: {org.glassfish.config.support.GenericDeleteCommand,}
> targetType: {com.sun.enterprise.config.serverbeans.RefContainer,}
> }
> --> org.glassfish.config.support.GenericListCommand {index:
> {org.glassfish.api.admin.AdminCommand:list-clusters,}
> method-name: {getCluster,}
> org.glassfish.api.admin.AdminCommand: {list-clusters,}
> class: {org.glassfish.config.support.GenericListCommand,}
> targetType: {com.sun.enterprise.config.serverbeans.Clusters,}
> }
> --> org.glassfish.config.support.GenericDeleteCommand {index:
> {org.glassfish.api.admin.AdminCommand:_unregister-instance,}
> method-name: {getServer,}
> org.glassfish.api.admin.AdminCommand: {_unregister-instance,}
> class: {org.glassfish.config.support.GenericDeleteCommand,}
> targetType: {com.sun.enterprise.config.serverbeans.Servers,}
> }
> --> org.glassfish.flashlight.cli.DisableMonitoring {index:
> {org.glassfish.api.admin.AdminCommand:disable-monitoring,}
> org.glassfish.api.admin.AdminCommand: {disable-monitoring,}
> class: {org.glassfish.flashlight.cli.DisableMonitoring,}
> }
> --> org.glassfish.flashlight.cli.EnableMonitoring {index:
> {org.glassfish.api.admin.AdminCommand:enable-monitoring,}
> org.glassfish.api.admin.AdminCommand: {enable-monitoring,}
> class: {org.glassfish.flashlight.cli.EnableMonitoring,}
> }
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] null; nested exception is
> java.lang.ExceptionInInitializerError: null
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 5 minutes 22 seconds
> [INFO] Finished at: Thu Jun 17 21:32:36 IST 2010
> [INFO] Final Memory: 118M/162M
> [INFO]
> ------------------------------------------------------------------------
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>