jboss deployment error

37 views
Skip to first unread message

mogudoom

unread,
Dec 20, 2011, 6:04:10 AM12/20/11
to Fornax-Platform
i have been installed and follow the tutorial well

all think are working well , source is compiled and i have few junit
test error

but when i deployed my war file in to Jboss server i m getting
following error

i am using sculptor 2.0.0 snapshot

i copied encache.jar file nd mysql.jar file in server/all /deploy/lib
or server/default/deploy.lib
i placed war file and mben properties file in server/all/deploy or
server/default/deploy

and i have created database and i make sure my jndi connecton bniding
properly there s no error in jndi biniding

but still i m getting following error


2011-12-20 16:02:49,640 INFO
[org.springframework.beans.factory.support.DefaultListableBeanFactory]
(main) Destroying singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@13541cb:
defining beans
[exceptionResolver,repository,dynamicMenu,webExceptionAdvice,org.springframework.aop.config.internalAutoProxyCreator,webAction,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0,flowMapper,faceletsViewResolver,org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter#0,org.springframework.webflow.mvc.servlet.FlowHandlerAdapter#0,localeResolver,themeResolver,messageSource,urlController,urlHandler,localeChangeInterceptor,themeChangeInterceptor,flowExecutor,flowRegistry,org.springframework.faces.model.converter.FacesConversionService#0,org.springframework.webflow.expression.spel.WebFlowSpringELExpressionParser#0,org.springframework.faces.webflow.JsfViewFactoryCreator#0,facesFlowBuilderServices,jpaFlowExecutionListener,facesContextListener,createMoonAction,createPlanetAction,deletePlanetAction,listPlanetAction,updateMoonAction,updatePlanetAction,viewMoonAction,viewPlanetAction,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor];
parent:
org.springframework.beans.factory.support.DefaultListableBeanFactory@1773dc1
2011-12-20 16:02:49,640 ERROR
[org.springframework.web.context.ContextLoader] (main) Context
initialization failed
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'createMoonAction' defined in
FileHandler@32801551[path=WEB-INF/classes/org/helloworld/milkyway/web/
CreateMoonAction.class context=file:/C:/FirstOne/jboss-5.1.0.GA/server/
all/tmp/5c4o12-757og9-gwery06h-1-gweryx23-aj/helloworld-web.war/
real=file:/C:/FirstOne/jboss-5.1.0.GA/server/all/tmp/5c4o12-757og9-
gwery06h-1-gweryx23-aj/helloworld-web.war/WEB-INF/classes/org/
helloworld/milkyway/web/CreateMoonAction.class]: Initialization of
bean failed; nested exception is
org.springframework.aop.framework.AopConfigException: Cannot proxy
target class because CGLIB2 is not available. Add CGLIB to the class
path or specify proxy interfaces.
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:
527)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:
456)
at org.springframework.beans.factory.support.AbstractBeanFactory
$1.getObject(AbstractBeanFactory.java:291)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:
222)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:
288)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:
190)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:
580)
at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:
895)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:
425)
at
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:
276)
at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:
197)
at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:
47)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:
3910)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:
4393)
at
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:
310)
at
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:
142)
at
org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:
461)
at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:
157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:
264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:
668)
at
org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:
206)
at $Proxy38.start(Unknown Source)
at
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:
42)
at
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:
37)
at
org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:
62)
at
org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:
71)
at
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:
51)
at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:
348)
at
org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:
286)
at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:
1631)
at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:
934)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:
1082)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:
984)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:
822)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:
553)
at org.jboss.system.ServiceController.doChange(ServiceController.java:
688)
at org.jboss.system.ServiceController.start(ServiceController.java:
460)
at
org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:
163)
at
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:
99)
at
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:
46)
at
org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:
62)
at
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:
50)
at
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:
171)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:
1439)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:
1157)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:
1178)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:
1098)
at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:
348)
at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:
1631)
at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:
934)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:
1082)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:
984)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:
822)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:
553)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:
781)
at
org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:
702)
at
org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:
117)
at
org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:
70)
at
org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:
53)
at
org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:
361)
at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:
348)
at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:
1631)
at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:
934)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:
1082)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:
984)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:
822)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:
553)
at
org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:
306)
at
org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:
271)
at
org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:
461)
at org.jboss.Main.boot(Main.java:221)
at org.jboss.Main$1.run(Main.java:556)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.springframework.aop.framework.AopConfigException:
Cannot proxy target class because CGLIB2 is not available. Add CGLIB
to the class path or specify proxy interfaces.
at
org.springframework.aop.framework.DefaultAopProxyFactory.createAopProxy(DefaultAopProxyFactory.java:
67)
at
org.springframework.aop.framework.ProxyCreatorSupport.createAopProxy(ProxyCreatorSupport.java:
104)
at
org.springframework.aop.framework.ProxyFactory.getProxy(ProxyFactory.java:
112)
at
org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.createProxy(AbstractAutoProxyCreator.java:
476)
at
org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.wrapIfNecessary(AbstractAutoProxyCreator.java:
362)
at
org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.postProcessAfterInitialization(AbstractAutoProxyCreator.java:
322)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:
407)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:
1426)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:
519)
... 80 more
2011-12-20 16:02:49,640 ERROR [org.apache.catalina.core.ContainerBase.
[jboss.web].[localhost].[/helloworld-web]] (main) Exception sending
context initialized event to listener instance of class
org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'createMoonAction' defined in
FileHandler@32801551[path=WEB-INF/classes/org/helloworld/milkyway/web/
CreateMoonAction.class context=file:/C:/FirstOne/jboss-5.1.0.GA/server/
all/tmp/5c4o12-757og9-gwery06h-1-gweryx23-aj/helloworld-web.war/
real=file:/C:/FirstOne/jboss-5.1.0.GA/server/all/tmp/5c4o12-757og9-
gwery06h-1-gweryx23-aj/helloworld-web.war/WEB-INF/classes/org/
helloworld/milkyway/web/CreateMoonAction.class]: Initialization of
bean failed; nested exception is
org.springframework.aop.framework.AopConfigException: Cannot proxy
target class because CGLIB2 is not available. Add CGLIB to the class
path or specify proxy interfaces.
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:
527)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:
456)
at org.springframework.beans.factory.support.AbstractBeanFactory
$1.getObject(AbstractBeanFactory.java:291)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:
222)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:
288)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:
190)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:
580)
at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:
895)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:
425)
at
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:
276)
at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:
197)
at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:
47)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:
3910)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:
4393)
at
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:
310)
at
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:
142)
at
org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:
461)
at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:
157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:
264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:
668)
at
org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:
206)
at $Proxy38.start(Unknown Source)
at
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:
42)
at
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:
37)
at
org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:
62)
at
org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:
71)
at
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:
51)
at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:
348)
at
org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:
286)
at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:
1631)
at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:
934)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:
1082)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:
984)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:
822)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:
553)
at org.jboss.system.ServiceController.doChange(ServiceController.java:
688)
at org.jboss.system.ServiceController.start(ServiceController.java:
460)
at
org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:
163)
at
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:
99)
at
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:
46)
at
org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:
62)
at
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:
50)
at
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:
171)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:
1439)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:
1157)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:
1178)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:
1098)
at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:
348)
at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:
1631)
at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:
934)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:
1082)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:
984)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:
822)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:
553)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:
781)
at
org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:
702)
at
org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:
117)
at
org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:
70)
at
org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:
53)
at
org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:
361)
at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:
348)
at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:
1631)
at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:
934)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:
1082)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:
984)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:
822)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:
553)
at
org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:
306)
at
org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:
271)
at
org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:
461)
at org.jboss.Main.boot(Main.java:221)
at org.jboss.Main$1.run(Main.java:556)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.springframework.aop.framework.AopConfigException:
Cannot proxy target class because CGLIB2 is not available. Add CGLIB
to the class path or specify proxy interfaces.
at
org.springframework.aop.framework.DefaultAopProxyFactory.createAopProxy(DefaultAopProxyFactory.java:
67)
at
org.springframework.aop.framework.ProxyCreatorSupport.createAopProxy(ProxyCreatorSupport.java:
104)
at
org.springframework.aop.framework.ProxyFactory.getProxy(ProxyFactory.java:
112)
at
org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.createProxy(AbstractAutoProxyCreator.java:
476)
at
org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.wrapIfNecessary(AbstractAutoProxyCreator.java:
362)
at
org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.postProcessAfterInitialization(AbstractAutoProxyCreator.java:
322)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:
407)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:
1426)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:
519)
... 80 more
2011-12-20 16:02:49,656 ERROR
[org.apache.catalina.core.StandardContext] (main) Error listenerStart
2011-12-20 16:02:49,656 ERROR
[org.apache.catalina.core.StandardContext] (main) Context [/helloworld-
web] startup failed due to previous errors
2011-12-20 16:02:49,656 INFO [org.apache.catalina.core.ContainerBase.
[jboss.web].[localhost].[/helloworld-web]] (main) Closing Spring root
WebApplicationContext
2011-12-20 16:02:49,656 INFO
[org.springframework.context.support.ClassPathXmlApplicationContext]
(main) Closing
org.springframework.context.support.ClassPathXmlApplicationContext@ca138e:
startup date [Tue Dec 20 16:02:47 IST 2011]; root of context hierarchy
2011-12-20 16:02:49,656 INFO
[org.springframework.context.support.DefaultLifecycleProcessor] (main)
Stopping beans in phase 0
2011-12-20 16:02:49,656 INFO
[org.springframework.beans.factory.support.DefaultListableBeanFactory]
(main) Destroying singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@1e8282f:
defining beans [org.helloworld]; root of factory hierarchy
2011-12-20 16:02:49,656 INFO
[org.springframework.context.support.ClassPathXmlApplicationContext]
(main) Closing ApplicationContext 'org.helloworld': startup date [Tue
Dec 20 16:02:47 IST 2011]; root of context hierarchy
2011-12-20 16:02:49,656 INFO
[org.springframework.beans.factory.support.DefaultListableBeanFactory]
(main) Destroying singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@1773dc1:
defining beans
[org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,planetRepository,planetService,springPropertyConfig,entityManagerFactory,txManager,org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0,publishAdvice,subscribeBeanPostProcessor,simpleEventBusImpl,org.springframework.aop.config.internalAutoProxyCreator,jpaInterceptorFlushEager,errorHandlingAdvice,hibernateErrorHandlingAdvice,serviceContextStoreAdvice,txAdvice,businessService,readOnlyBusinessService,updatingBusinessService,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#1,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#2,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#3,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#4];
root of factory hierarchy
2011-12-20 16:02:49,656 INFO
[org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean]
(main) Closing JPA EntityManagerFactory for persistence unit
'UniverseEntityManagerFactory'
2011-12-20 16:02:49,656 INFO [org.hibernate.impl.SessionFactoryImpl]
(main) closing
2011-12-20 16:02:49,671 ERROR
[org.jboss.kernel.plugins.dependency.AbstractKernelController] (main)
Error installing to Start: name=jboss.web.deployment:war=/helloworld-
web state=Create mode=Manual requiredState=Installed
org.jboss.deployers.spi.DeploymentException: URL file:/C:/FirstOne/
jboss-5.1.0.GA/server/all/tmp/5c4o12-757og9-gwery06h-1-gweryx23-aj/
helloworld-web.war/ deployment failed
at
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:
331)
at
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:
142)
at
org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:
461)
at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:
157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:
264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:
668)
at
org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:
206)
at $Proxy38.start(Unknown Source)
at
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:
42)
at
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:
37)
at
org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:
62)
at
org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:
71)
at
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:
51)
at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:
348)
at
org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:
286)
at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:
1631)
at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:
934)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:
1082)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:
984)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:
822)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:
553)
at org.jboss.system.ServiceController.doChange(ServiceController.java:
688)
at org.jboss.system.ServiceController.start(ServiceController.java:
460)
at
org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:
163)
at
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:
99)
at
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:
46)
at
org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:
62)
at
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:
50)
at
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:
171)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:
1439)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:
1157)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:
1178)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:
1098)
at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:
348)
at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:
1631)
at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:
934)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:
1082)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:
984)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:
822)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:
553)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:
781)
at
org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:
702)
at
org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:
117)
at
org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:
70)
at
org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:
53)
at
org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:
361)
at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:
348)
at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:
1631)
at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:
934)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:
1082)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:
984)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:
822)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:
553)
at
org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:
306)
at
org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:
271)
at
org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:
461)
at org.jboss.Main.boot(Main.java:221)
at org.jboss.Main$1.run(Main.java:556)
at java.lang.Thread.run(Thread.java:662)
2011-12-20 16:02:50,234 INFO
[org.jboss.jpa.deployment.PersistenceUnitDeployment] (main) Stopping
persistence unit
persistence.unit:unitName=#UniverseEntityManagerFactory
2011-12-20 16:02:50,234 INFO [org.hibernate.impl.SessionFactoryImpl]
(main) closing
2011-12-20 16:02:50,234 INFO
[org.hibernate.impl.SessionFactoryObjectFactory] (main) Unbinding
factory from JNDI name:
persistence.unit:unitName=#UniverseEntityManagerFactory
2011-12-20 16:02:50,234 INFO [org.hibernate.util.NamingHelper] (main)
JNDI InitialContext properties:
{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory,
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
2011-12-20 16:02:50,234 INFO
[org.hibernate.impl.SessionFactoryObjectFactory] (main) Unbound
factory from JNDI name:
persistence.unit:unitName=#UniverseEntityManagerFactory
2011-12-20 16:02:50,234 ERROR
[org.jboss.kernel.plugins.dependency.AbstractKernelController] (main)
Error installing to Real: name=vfszip:/C:/FirstOne/jboss-5.1.0.GA/
server/all/deploy/helloworld-web.war/ state=PreReal mode=Manual
requiredState=Real
org.jboss.deployers.spi.DeploymentException: URL file:/C:/FirstOne/
jboss-5.1.0.GA/server/all/tmp/5c4o12-757og9-gwery06h-1-gweryx23-aj/
helloworld-web.war/ deployment failed
at
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:
331)
at
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:
142)
at
org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:
461)
at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:
157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:
264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:
668)
at
org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:
206)
at $Proxy38.start(Unknown Source)
at
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:
42)
at
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:
37)
at
org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:
62)
at
org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:
71)
at
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:
51)
at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:
348)
at
org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:
286)
at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:
1631)
at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:
934)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:
1082)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:
984)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:
822)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:
553)
at org.jboss.system.ServiceController.doChange(ServiceController.java:
688)
at org.jboss.system.ServiceController.start(ServiceController.java:
460)
at
org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:
163)
at
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:
99)
at
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:
46)
at
org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:
62)
at
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:
50)
at
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:
171)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:
1439)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:
1157)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:
1178)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:
1098)
at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:
348)
at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:
1631)
at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:
934)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:
1082)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:
984)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:
822)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:
553)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:
781)
at
org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:
702)
at
org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:
117)
at
org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:
70)
at
org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:
53)
at
org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:
361)
at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:
348)
at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:
1631)
at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:
934)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:
1082)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:
984)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:
822)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:
553)
at
org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:
306)
at
org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:
271)
at
org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:
461)
at org.jboss.Main.boot(Main.java:221)
at org.jboss.Main$1.run(Main.java:556)
at java.lang.Thread.run(Thread.java:662)
2011-12-20 16:02:50,281 INFO
[org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main)
deploy, ctxPath=/jmx-console
2011-12-20 16:02:50,421 ERROR
[org.jboss.system.server.profileservice.ProfileServiceBootstrap]
(main) Failed to load profile: Summary of incomplete deployments (SEE
PREVIOUS ERRORS FOR DETAILS):

DEPLOYMENTS IN ERROR:
Deployment "vfszip:/C:/FirstOne/jboss-5.1.0.GA/server/all/deploy/
helloworld-web.war/" is in error due to the following reason(s):
org.jboss.deployers.spi.DeploymentException: URL file:/C:/FirstOne/
jboss-5.1.0.GA/server/all/tmp/5c4o12-757og9-gwery06h-1-gweryx23-aj/
helloworld-web.war/ deployment failed

2011-12-20 16:02:50,421 INFO
[org.apache.coyote.http11.Http11Protocol] (main) Starting Coyote HTTP/
1.1 on http-127.0.0.1-8080
2011-12-20 16:02:50,453 INFO [org.apache.coyote.ajp.AjpProtocol]
(main) Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
2011-12-20 16:02:50,453 INFO
[org.jboss.bootstrap.microcontainer.ServerImpl] (main) JBoss
(Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA
date=200905221053)] Started in 47s:782ms

i posted log file , please address as soon as possible

Regards.
Mogudoom Abdul Kadar.

Patrik Nordwall

unread,
Dec 25, 2011, 2:53:29 PM12/25/11
to fornax-...@googlegroups.com
I think the documentation was written prior to JBoss 5.1.0, which I assume that you use.
In previous versions of JBoss I think cglib was included in jboss default lib.

Do you have this in your pom?
        <dependency>
            <groupId>cglib</groupId>
            <artifactId>cglib-nodep</artifactId>
            <version>2.2</version>
            <!-- Add scope provided when deployed in jboss -->
            <scope>provided</scope>
        </dependency>

What happens if you remove <scope>provided</scope>, i.e. include the cglib jar into the war file?

/Patrik

mogudoom abdul Kader

unread,
Dec 25, 2011, 11:07:13 PM12/25/11
to fornax-...@googlegroups.com
yes its there , and by the way thanks for ur response problem is exactly what u said and cglib is not added in my war file , i just added the jar in war file it got worked thanks a lot

And one more problem ,  i m using MYSQL 5.5 in that i have a field which contains large character data like BLOB and CLOB but in my sql CLOB has been changed to TEXT database type , so i wanna to know what s the equalent of TEXT in model class

i have written like that in model desigh.
Enity sample {
Clob Comment databaseColumn = "IRFCMNT" databaseType = "TEXT"
--
Thanks && Regards
-----
mogudoom

Patrik Nordwall

unread,
Dec 27, 2011, 3:05:01 PM12/27/11
to fornax-...@googlegroups.com
On Mon, Dec 26, 2011 at 5:07 AM, mogudoom abdul Kader <mogu...@gmail.com> wrote:
yes its there , and by the way thanks for ur response problem is exactly what u said and cglib is not added in my war file , i just added the jar in war file it got worked thanks a lot

And one more problem ,  i m using MYSQL 5.5 in that i have a field which contains large character data like BLOB and CLOB but in my sql CLOB has been changed to TEXT database type , so i wanna to know what s the equalent of TEXT in model class

i have written like that in model desigh.
Enity sample {
Clob Comment databaseColumn = "IRFCMNT" databaseType = "TEXT"
}

In your sculptor-generator.properties you can override the values defined in default-sculptor-generator.properties. Add:
db.mysql.type.Clob=TEXT
Reply all
Reply to author
Forward
0 new messages