NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

CDMI Reference cannot be built

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
byte_2702



Joined: 21 Aug 2012
Posts: 3

PostPosted: Tue Aug 21, 2012 7:54 am    Post subject: CDMI Reference cannot be built Reply with quote

Hello,

I tried to build the following release CDMI Reference on two different computers:
http://www.snia.org/sites/default/files/CDMI_RI_1_0c.zip

One computer uses the Scientific Linux CERN 5.8 distribution. The other uses the current Ubuntu 12.04 distribution.
The newest version of NetBeans 7.2 including Glassfish 3.1.2 is installed on both computers.
And there's also the newest version of Oracle's JDK (Java) installed on both computers, too.
I receive the following error messages on both computers.

If I try to build the project, three output windows will open:

The output window "org.snia - CDMI Server":
Code:
cd /Java; JAVA_HOME=/usr/java/latest /home/Jana/netbeans-7.2/java/maven/bin/mvn -Dnetbeans.deploy=true package
Scanning for projects...
                                                                       
------------------------------------------------------------------------
Building org.snia - CDMI Server 0.1-SNAPSHOT
------------------------------------------------------------------------
Downloading: http://download.java.net/maven/2/org/springframework/spring-core/maven-metadata.xml
Downloading: http://repo.maven.apache.org/maven2/org/springframework/spring-core/maven-metadata.xml
Downloading: http://download.java.net/maven/glassfish/org/springframework/spring-core/maven-metadata.xml
Downloading: http://download.java.net/maven/1/org/springframework/spring-core/maven-metadata.xml
         
Downloaded: http://repo.maven.apache.org/maven2/org/springframework/spring-core/maven-metadata.xml (3 KB at 9.2 KB/sec)
         
Downloading: http://download.java.net/maven/2/org/springframework/spring-beans/maven-metadata.xml
Downloading: http://download.java.net/maven/1/org/springframework/spring-beans/maven-metadata.xml
Downloading: http://repo.maven.apache.org/maven2/org/springframework/spring-beans/maven-metadata.xml
Downloading: http://download.java.net/maven/glassfish/org/springframework/spring-beans/maven-metadata.xml
         
Downloaded: http://repo.maven.apache.org/maven2/org/springframework/spring-beans/maven-metadata.xml (2 KB at 25.0 KB/sec)
         
Downloading: http://download.java.net/maven/1/org/springframework/spring-context/maven-metadata.xml
Downloading: http://download.java.net/maven/2/org/springframework/spring-context/maven-metadata.xml
Downloading: http://repo.maven.apache.org/maven2/org/springframework/spring-context/maven-metadata.xml
Downloading: http://download.java.net/maven/glassfish/org/springframework/spring-context/maven-metadata.xml
         
Downloaded: http://repo.maven.apache.org/maven2/org/springframework/spring-context/maven-metadata.xml (3 KB at 32.4 KB/sec)
         
Downloading: http://download.java.net/maven/1/org/springframework/spring-web/maven-metadata.xml
Downloading: http://repo.maven.apache.org/maven2/org/springframework/spring-web/maven-metadata.xml
Downloading: http://download.java.net/maven/2/org/springframework/spring-web/maven-metadata.xml
Downloading: http://download.java.net/maven/glassfish/org/springframework/spring-web/maven-metadata.xml
         
Downloaded: http://repo.maven.apache.org/maven2/org/springframework/spring-web/maven-metadata.xml (3 KB at 31.9 KB/sec)
         
Downloading: http://download.java.net/maven/2/org/springframework/spring-aop/maven-metadata.xml
Downloading: http://download.java.net/maven/1/org/springframework/spring-aop/maven-metadata.xml
Downloading: http://repo.maven.apache.org/maven2/org/springframework/spring-aop/maven-metadata.xml
Downloading: http://download.java.net/maven/glassfish/org/springframework/spring-aop/maven-metadata.xml
         
Downloaded: http://repo.maven.apache.org/maven2/org/springframework/spring-aop/maven-metadata.xml (3 KB at 33.9 KB/sec)
         
[resources:resources]
[debug] execute contextualize
Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
Copying 1 resource

[compiler:compile]
Nothing to compile - all classes are up to date

[resources:testResources]
[debug] execute contextualize
Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
skip non existing resourceDirectory /Java/src/test/resources

[compiler:testCompile]
Nothing to compile - all classes are up to date

[surefire:test]
Surefire report directory: /Java/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------

Results :

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

[war:war]
Packaging webapp
Assembling webapp [cdmi-server] in [/Java/target/cdmi-server]
Processing war project
Copying webapp resources [/Java/src/main/webapp]
Webapp assembled in [2491 msecs]
Building war: /Java/target/cdmi-server.war
WEB-INF/web.xml already added, skipping
------------------------------------------------------------------------
BUILD SUCCESS
------------------------------------------------------------------------
Total time: 10.501s
Finished at: Tue Aug 21 09:23:30 CEST 2012
Final Memory: 15M/151M
------------------------------------------------------------------------
NetBeans: Deploying on GlassFish Server 3.1.2
    profile mode: false
    debug mode: false
    force redeploy: true
Starting GlassFish Server 3.1.2
GlassFish Server 3.1.2 is running.
In-place deployment at /Java/target/cdmi-server
Initializing...
deploy?DEFAULT=/Java/target/cdmi-server&name=org.snia_cdmi-server_war_0.1-SNAPSHOT&contextroot=/Java&force=true failed on GlassFish Server 3.1.2
 Fehler beim Deployment: Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.context.annotation.internalCommonAnnotationProcessor': Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: Method must not be null. Weitere Informationen finden Sie unter server.log.
The module has not been deployed.
See the server log for details.
   at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:210)
   at org.netbeans.modules.maven.j2ee.ExecutionChecker.performDeploy(ExecutionChecker.java:178)
   at org.netbeans.modules.maven.j2ee.ExecutionChecker.executionResult(ExecutionChecker.java:130)
   at org.netbeans.modules.maven.execute.MavenCommandLineExecutor.run(MavenCommandLineExecutor.java:212)
   at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153


The output window "Java DB Database Process":
Code:
Tue Aug 21 09:23:32 CEST 2012 : Sicherheitsmanager mit einfacher Server-Sicherheitsrichtlinie installiert.
Tue Aug 21 09:23:33 CEST 2012 : Apache Derby Network Server 10.8.1.2 - (1095077) wurde gestartet und ist bereit, Verbindungen am Port 1527 zu akzeptieren.

Without errors.

The output window "GlassFish Server 3.1.2":
Code:
Launching GlassFish on Felix platform
INFO: Running GlassFish Version: GlassFish Server Open Source Edition 3.1.2.2 (build 5)
INFO: Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry
INFO: Grizzly Framework 1.9.50 started in: 80ms - bound to [0.0.0.0:8080]
INFO: Grizzly Framework 1.9.50 started in: 47ms - bound to [0.0.0.0:8181]
INFO: Grizzly Framework 1.9.50 started in: 15ms - bound to [0.0.0.0:3700]
INFO: Grizzly Framework 1.9.50 started in: 40ms - bound to [0.0.0.0:4848]
INFO: Grizzly Framework 1.9.50 started in: 16ms - bound to [0.0.0.0:7676]
INFO: GlassFish Server Open Source Edition 3.1.2.2 (5) Startzeit: Felix (10.609ms), Startservices(1.926ms), gesamt(12.535ms)
INFO: HV000001: Hibernate Validator 4.3.0.Final
INFO: Grizzly Framework 1.9.50 started in: 4ms - bound to [0.0.0.0:8080]
INFO: JMX005: JMXStartupService had Started JMXConnector on JMXService URL service:jmx:rmi://dhcppc8.localdomain:8686/jndi/rmi://dhcppc8.localdomain:8686/jmxrmi
INFO: SEC1002: Security Manager is OFF.
INFO: SEC1010: Entering Security Startup Service
INFO: SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.
INFO: SEC1115: Realm [admin-realm] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.
INFO: SEC1115: Realm [file] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.
INFO: SEC1115: Realm [certificate] of classtype [com.sun.enterprise.security.auth.realm.certificate.CertificateRealm] successfully created.
INFO: SEC1011: Security Service(s) Started Successfully
INFO: WEB0169: Created HTTP listener [http-listener-1] on host/port [0.0.0.0:8080]
INFO: WEB0169: Created HTTP listener [http-listener-2] on host/port [0.0.0.0:8181]
INFO: WEB0169: Created HTTP listener [admin-listener] on host/port [0.0.0.0:4848]
INFO: WEB0171: Created virtual server [server]
INFO: WEB0171: Created virtual server [__asadmin]
INFO: WEB0172: Virtual server [server] loaded default web module []
WARNING: DPL8027: Ignore WEB-INF/sun-web.xml in archive /Java/target/cdmi-server/, as GlassFish counterpart runtime xml WEB-INF/glassfish-web.xml is present in the same archive.
INFO: PWC1412: WebModule[null] ServletContext.log():Initializing Spring root WebApplicationContext
INFO: Root WebApplicationContext: initialization started
INFO: Refreshing org.springframework.web.context.support.XmlWebApplicationContext@15d236b8: display name [Root WebApplicationContext]; startup date [Tue Aug 21 09:23:57 CEST 2012]; root of context hierarchy
INFO: Loading XML bean definitions from class path resource [applicationContext.xml]
INFO: Loading XML bean definitions from class path resource [META-INF/cxf/cxf.xml]
INFO: Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-jaxrs-binding.xml]
INFO: Loading XML bean definitions from class path resource [META-INF/cxf/cxf-servlet.xml]
INFO: Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@15d236b8]: org.springframework.beans.factory.support.DefaultListableBeanFactory@4867618a
INFO: Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@4867618a: defining beans [org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,cxf,org.apache.cxf.bus.spring.BusApplicationListener,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,org.apache.cxf.resource.ResourceManager,org.apache.cxf.configuration.Configurer,org.apache.cxf.binding.BindingFactoryManager,org.apache.cxf.transport.DestinationFactoryManager,org.apache.cxf.transport.ConduitInitiatorManager,org.apache.cxf.wsdl.WSDLManager,org.apache.cxf.phase.PhaseManager,org.apache.cxf.workqueue.WorkQueueManager,org.apache.cxf.buslifecycle.BusLifeCycleManager,org.apache.cxf.endpoint.ServerRegistry,org.apache.cxf.endpoint.ServerLifeCycleManager,org.apache.cxf.endpoint.ClientLifeCycleManager,org.apache.cxf.transports.http.QueryHandlerRegistry,org.apache.cxf.endpoint.EndpointResolverRegistry,org.apache.cxf.headers.HeaderManager,org.apache.cxf.catalog.OASISCatalogManager,org.apache.cxf.endpoint.ServiceContractResolverRegistry,org.apache.cxf.jaxrs.JAXRSBindingFactory,org.apache.cxf.transport.servlet.ServletTransportFactory,cdmiService,objectIdResource,capabilityResource,pathResource,badRequestExceptionMapper,conflictExceptionMapper,containerProvider,capabilityProvider,forbiddenExceptionMapper,notFoundExceptionMapper,unauthorizedExceptionMapper,unsupportedOperationExceptionMapper,containerDao,dataObjectDao,capabilityDao]; root of factory hierarchy
SEVERE: Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.context.annotation.internalCommonAnnotationProcessor': Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: Method must not be null
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
   at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:578)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:365)
   at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
   at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:4750)
   at com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:550)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:5366)
   at com.sun.enterprise.web.WebModule.start(WebModule.java:498)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:917)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:733)
   at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2019)
   at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1669)
   at com.sun.enterprise.web.WebApplication.start(WebApplication.java:109)
   at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)
   at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)
   at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:301)
   at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)
   at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
   at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:389)
   at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:348)
   at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:363)
   at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1085)
   at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95)
   at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1291)
   at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1259)
   at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:461)
   at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:212)
   at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
   at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
   at com.sun.enterprise.v3.services.impl.ContainerMapper$Hk2DispatcherCallable.call(ContainerMapper.java:354)
   at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
   at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
   at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
   at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
   at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
   at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
   at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
   at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
   at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
   at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
   at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
   at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
   at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
   at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
   at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.IllegalArgumentException: Method must not be null
   at org.springframework.util.Assert.notNull(Assert.java:112)
   at org.springframework.core.BridgeMethodResolver.findBridgedMethod(BridgeMethodResolver.java:63)
   at org.springframework.beans.GenericTypeAwarePropertyDescriptor.<init>(GenericTypeAwarePropertyDescriptor.java:58)
   at org.springframework.beans.CachedIntrospectionResults.<init>(CachedIntrospectionResults.java:254)
   at org.springframework.beans.CachedIntrospectionResults.forClass(CachedIntrospectionResults.java:144)
   at org.springframework.beans.BeanWrapperImpl.getCachedIntrospectionResults(BeanWrapperImpl.java:252)
   at org.springframework.beans.BeanWrapperImpl.getPropertyDescriptorInternal(BeanWrapperImpl.java:282)
   at org.springframework.beans.BeanWrapperImpl.isWritableProperty(BeanWrapperImpl.java:333)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1247)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
   ... 55 more

SEVERE: PWC1306: Startup of context /Java failed due to previous errors
SEVERE: PWC1305: Exception during cleanup after start failed
org.apache.catalina.LifecycleException: PWC2769: Manager has not yet been started
   at org.apache.catalina.session.StandardManager.stop(StandardManager.java:873)
   at org.apache.catalina.core.StandardContext.stop(StandardContext.java:5571)
   at com.sun.enterprise.web.WebModule.stop(WebModule.java:527)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:5384)
   at com.sun.enterprise.web.WebModule.start(WebModule.java:498)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:917)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:733)
   at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2019)
   at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1669)
   at com.sun.enterprise.web.WebApplication.start(WebApplication.java:109)
   at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)
   at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)
   at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:301)
   at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)
   at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
   at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:389)
   at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:348)
   at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:363)
   at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1085)
   at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95)
   at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1291)
   at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1259)
   at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:461)
   at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:212)
   at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
   at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
   at com.sun.enterprise.v3.services.impl.ContainerMapper$Hk2DispatcherCallable.call(ContainerMapper.java:354)
   at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
   at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
   at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
   at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
   at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
   at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
   at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
   at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
   at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
   at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
   at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
   at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
   at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
   at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
   at java.lang.Thread.run(Thread.java:722)

SEVERE: ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.context.annotation.internalCommonAnnotationProcessor': Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: Method must not be null
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:5389)
   at com.sun.enterprise.web.WebModule.start(WebModule.java:498)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:917)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:733)
   at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2019)
   at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1669)
   at com.sun.enterprise.web.WebApplication.start(WebApplication.java:109)
   at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)
   at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)
   at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:301)
   at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)
   at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
   at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:389)
   at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:348)
   at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:363)
   at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1085)
   at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95)
   at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1291)
   at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1259)
   at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:461)
   at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:212)
   at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
   at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
   at com.sun.enterprise.v3.services.impl.ContainerMapper$Hk2DispatcherCallable.call(ContainerMapper.java:354)
   at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
   at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
   at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
   at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
   at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
   at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
   at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
   at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
   at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
   at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
   at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
   at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
   at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
   at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
   at java.lang.Thread.run(Thread.java:722)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.context.annotation.internalCommonAnnotationProcessor': Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: Method must not be null
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
   at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:578)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:365)
   at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
   at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:4750)
   at com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:550)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:5366)
   ... 39 more
Caused by: java.lang.IllegalArgumentException: Method must not be null
   at org.springframework.util.Assert.notNull(Assert.java:112)
   at org.springframework.core.BridgeMethodResolver.findBridgedMethod(BridgeMethodResolver.java:63)
   at org.springframework.beans.GenericTypeAwarePropertyDescriptor.<init>(GenericTypeAwarePropertyDescriptor.java:58)
   at org.springframework.beans.CachedIntrospectionResults.<init>(CachedIntrospectionResults.java:254)
   at org.springframework.beans.CachedIntrospectionResults.forClass(CachedIntrospectionResults.java:144)
   at org.springframework.beans.BeanWrapperImpl.getCachedIntrospectionResults(BeanWrapperImpl.java:252)
   at org.springframework.beans.BeanWrapperImpl.getPropertyDescriptorInternal(BeanWrapperImpl.java:282)
   at org.springframework.beans.BeanWrapperImpl.isWritableProperty(BeanWrapperImpl.java:333)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1247)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
   ... 55 more

WARNING: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.context.annotation.internalCommonAnnotationProcessor': Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: Method must not be null
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.context.annotation.internalCommonAnnotationProcessor': Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: Method must not be null
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:921)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:733)
   at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2019)
   at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1669)
   at com.sun.enterprise.web.WebApplication.start(WebApplication.java:109)
   at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)
   at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)
   at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:301)
   at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)
   at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
   at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:389)
   at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:348)
   at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:363)
   at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1085)
   at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95)
   at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1291)
   at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1259)
   at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:461)
   at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:212)
   at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
   at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
   at com.sun.enterprise.v3.services.impl.ContainerMapper$Hk2DispatcherCallable.call(ContainerMapper.java:354)
   at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
   at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
   at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
   at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
   at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
   at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
   at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
   at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
   at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
   at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
   at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
   at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
   at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
   at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
   at java.lang.Thread.run(Thread.java:722)

SEVERE: Exception while invoking class com.sun.enterprise.web.WebApplication start method
java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name
'org.springframework.context.annotation.internalCommonAnnotationProcessor': Initialization of bean failed; nested exception is
java.lang.IllegalArgumentException: Method must not be null
   at com.sun.enterprise.web.WebApplication.start(WebApplication.java:138)
   at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)
   at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)
   at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:301)
   at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)
   at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
   at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:389)
   at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:348)
   at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:363)
   at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1085)
   at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95)
   at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1291)
   at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1259)
   at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:461)
   at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:212)
   at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
   at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
   at com.sun.enterprise.v3.services.impl.ContainerMapper$Hk2DispatcherCallable.call(ContainerMapper.java:354)
   at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
   at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
   at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
   at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
   at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
   at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
   at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
   at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
   at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
   at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
   at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
   at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
   at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
   at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
   at java.lang.Thread.run(Thread.java:722)

SEVERE: Exception while loading the app
SEVERE: Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.context.annotation.internalCommonAnnotationProcessor': Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: Method must not be null


P.S. The Warning "WARNING: DPL8027: Ignore WEB-INF/sun-web.xml in archive /Java/target/cdmi-server/,
as GlassFish counterpart runtime xml WEB-INF/glassfish-web.xml is present in the same archive." can be ignored.
I know the reason for that message. It hasn't to do with the other error messages, too.

My guess is that there's a wrong path in a configuration file somewhere or that it needs a permission somewhere or
that it needs another version of something somewhere. Did someone already gain same experiences? Can someone help?
I tried to contact SNIA, but it seems that they don't have a support for that, at least they don't answer.
Many thanks in advance!

byte
Back to top
byte_2702



Joined: 21 Aug 2012
Posts: 3

PostPosted: Tue Aug 21, 2012 10:33 am    Post subject: Reply with quote

I believe the problem seems to be in the applicationContext.xml. After I've read a PDF which came along with the code.
Back to top
macsun



Joined: 21 Aug 2012
Posts: 1

PostPosted: Tue Aug 21, 2012 12:45 pm    Post subject: Forum to ask questions on the CDMI Reference Implementation Reply with quote

The best place to get answers on the CDMI reference implementation is the Google Group "SNIA Cloud":

https://groups.google.com/forum/#!forum/snia-cloud

-- mark
Back to top
byte_2702



Joined: 21 Aug 2012
Posts: 3

PostPosted: Tue Aug 21, 2012 3:51 pm    Post subject: Reply with quote

Seems I forgot that link again after I registered there. Thanks for the reminder. I will continue in the Google group then. Many thanks!
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo