Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Not A Bug
-
Affects Version/s: 2.0 final
-
Fix Version/s: 2.0.1
-
Component/s: Commons
-
Labels:
-
Environment:OS is Centos: Linux 2.6.18-194.17.4.el5xen #1 SMP Mon Oct 25 16:36:31 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux centos
AppServer is JBoss 6.0 final
JDK: jdk1.6.0_23
Description
execute commands to create a web applicatoin
grails create-app grails20test grails createDomainClass Book grails generate-all grails20test.Book grails dev war grails20.war
copy this grails20.war to $JBOSS_HOME/server/default/deploy
when execute run.sh to startup JBoss, got the following error
--------------------------------------------------------------------------------------------------------------------------------------------------------- 03:53:26,772 INFO [JSFImplManagementDeployer] Initialized 3 JSF configurations: [Mojarra-1.2, MyFaces-2.0, Mojarra-2.0] 03:53:37,885 ERROR [AbstractKernelController] Error installing to PostClassLoader: name=vfs:///apps/jboss-6.0.0.Final/server/default/deploy/grails20.war state=ClassLoader mode=Manual requiredState=PostClassLoader: org.jboss.deployers.spi.DeploymentException: Error during deploy: vfs:///apps/jboss-6.0.0.Final/server/default/deploy/grails20.war at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) [:2.2.0.GA] at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:185) [:2.2.0.GA] at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [:2.2.0.GA] at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550) [:2.2.0.GA] at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491) [:2.2.0.GA] at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA] at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA] at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA] at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983) [:2.2.0.GA] at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076) [:2.2.0.GA] at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679) [:2.2.0.GA] at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106) [:6.0.0.Final] at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java:143) [:0.2.2] at org.jboss.profileservice.dependency.ProfileDeployAction.deploy(ProfileDeployAction.java:151) [:0.2.2] at org.jboss.profileservice.dependency.ProfileDeployAction.installActionInternal(ProfileDeployAction.java:94) [:0.2.2] at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.GA] at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.GA] at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.GA] at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.GA] at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.GA] at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA] at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA] at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA] at org.jboss.profileservice.dependency.ProfileActivationWrapper$BasicProfileActivation.start(ProfileActivationWrapper.java:190) [:0.2.2] at org.jboss.profileservice.dependency.ProfileActivationWrapper.start(ProfileActivationWrapper.java:87) [:0.2.2] at org.jboss.profileservice.dependency.ProfileActivationService.activateProfile(ProfileActivationService.java:215) [:0.2.2] at org.jboss.profileservice.dependency.ProfileActivationService.activate(ProfileActivationService.java:159) [:0.2.2] at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.activate(AbstractProfileServiceBootstrap.java:112) [:0.2.2] at org.jboss.profileservice.resolver.BasicResolverFactory$ProfileResolverFacade.deploy(BasicResolverFactory.java:87) [:0.2.2] at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.start(AbstractProfileServiceBootstrap.java:91) [:0.2.2] at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:132) [:6.0.0.Final] at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.Final] at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5] at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5] at java.lang.Thread.run(Thread.java:662) [:1.6.0_23] Caused by: java.lang.Error: Error visiting "/apps/jboss-6.0.0.Final/server/default/deploy/grails20.war/WEB-INF/lib/grails-datastore-gorm-1.0.0.RELEASE.jar/org/grails/datastore/gorm/GormStaticApi$_merge_closure10.class" at org.jboss.classloading.plugins.vfs.VFSResourceVisitor.visit(VFSResourceVisitor.java:268) [jboss-classloading-vfs.jar:2.2.0.GA] at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:408) [jboss-vfs.jar:3.0.0.GA] at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:410) [jboss-vfs.jar:3.0.0.GA] at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:410) [jboss-vfs.jar:3.0.0.GA] at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:410) [jboss-vfs.jar:3.0.0.GA] at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:410) [jboss-vfs.jar:3.0.0.GA] at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:396) [jboss-vfs.jar:3.0.0.GA] at org.jboss.classloading.plugins.vfs.VFSResourceVisitor.visit(VFSResourceVisitor.java:102) [jboss-classloading-vfs.jar:2.2.0.GA] at org.jboss.deployers.vfs.plugins.classloader.VFSDeploymentClassLoaderPolicyModule.visit(VFSDeploymentClassLoaderPolicyModule.java:181) [:2.2.0.GA] at org.jboss.scanning.plugins.DeploymentUnitScanner.scan(DeploymentUnitScanner.java:111) [:1.0.0.GA] at org.jboss.scanning.spi.helpers.UrlScanner.scan(UrlScanner.java:96) [:1.0.0.GA] at org.jboss.scanning.deployers.ScanningDeployer.deploy(ScanningDeployer.java:95) [:1.0.0.GA] at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) [:2.2.0.GA] ... 43 more Caused by: java.lang.RuntimeException: Error visiting resource: VFSResourceContext @ org/grails/datastore/gorm/GormStaticApi$_merge_closure10.class / BaseClassLoader@64b86e21{vfs:///apps/jboss-6.0.0.Final/server/default/deploy/grails20.war}, visitor: org.jboss.scanning.annotations.plugins.GenericAnnotationVisitor@4901f42d at org.jboss.scanning.plugins.visitor.IgnoreSetErrorHandler.handleError(IgnoreSetErrorHandler.java:56) [:1.0.0.GA] at org.jboss.scanning.plugins.visitor.ReflectResourceVisitor.visit(ReflectResourceVisitor.java:91) [:1.0.0.GA] at org.jboss.scanning.annotations.plugins.AnnotationsScanningPlugin.visit(AnnotationsScanningPlugin.java:89) [:1.0.0.GA] at org.jboss.scanning.spi.helpers.ScanningPluginWrapper.visit(ScanningPluginWrapper.java:112) [:1.0.0.GA] at org.jboss.classloading.plugins.visitor.FederatedResourceVisitor.visit(FederatedResourceVisitor.java:101) [jboss-classloading.jar:2.2.0.GA] at org.jboss.classloading.plugins.vfs.VFSResourceVisitor.visit(VFSResourceVisitor.java:264) [jboss-classloading-vfs.jar:2.2.0.GA] ... 55 more Caused by: java.lang.IllegalArgumentException: Null type at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl.getTypeInfo(IntrospectionTypeInfoFactoryImpl.java:354) [jboss-reflect.jar:2.2.0.GA] at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl$2.run(IntrospectionTypeInfoFactoryImpl.java:230) [jboss-reflect.jar:2.2.0.GA] at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl$2.run(IntrospectionTypeInfoFactoryImpl.java:218) [jboss-reflect.jar:2.2.0.GA] at java.security.AccessController.doPrivileged(Native Method) [:1.6.0_23] at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl.getMethods(IntrospectionTypeInfoFactoryImpl.java:217) [jboss-reflect.jar:2.2.0.GA] at org.jboss.reflect.plugins.ClassInfoImpl.getDeclaredMethods(ClassInfoImpl.java:416) [jboss-reflect.jar:2.2.0.GA] at org.jboss.scanning.plugins.visitor.ClassHierarchyResourceVisitor.handleClass(ClassHierarchyResourceVisitor.java:80) [:1.0.0.GA] at org.jboss.scanning.plugins.visitor.ReflectResourceVisitor.doVisit(ReflectResourceVisitor.java:108) [:1.0.0.GA] at org.jboss.scanning.plugins.visitor.ReflectResourceVisitor.visit(ReflectResourceVisitor.java:86) [:1.0.0.GA] ... 59 more 03:54:13,611 INFO [JMXConnector] starting JMXConnector on host 10.5.112.23:1090 03:54:13,782 INFO [MailService] Mail Service bound to java:/Mail 03:54:14,570 INFO [HornetQServerImpl] live server is starting.. 03:54:14,695 INFO [JournalStorageManager] Using AIO Journal 03:54:14,715 WARNING [HornetQServerImpl] Security risk! It has been detected that the cluster admin user and password have not been changed from the installation default. Please see the HornetQ user guide, cluster chapter, for instructions on how to do this. 03:54:15,419 INFO [NettyAcceptor] Started Netty Acceptor version 3.2.1.Final-r2319 10.5.112.23:5455 for CORE protocol 03:54:15,420 INFO [NettyAcceptor] Started Netty Acceptor version 3.2.1.Final-r2319 10.5.112.23:5445 for CORE protocol 03:54:15,423 INFO [HornetQServerImpl] HornetQ Server version 2.1.2.Final (Colmeia, 120) started 03:54:15,487 INFO [WebService] Using RMI server codebase: http://10.5.112.23:8083/ 03:54:15,843 INFO [jbossatx] ARJUNA-32010 JBossTS Recovery Service (tag: JBOSSTS_4_14_0_Final) - JBoss Inc. 03:54:15,850 INFO [arjuna] ARJUNA-12324 Start RecoveryActivators 03:54:15,957 INFO [arjuna] ARJUNA-12310 Recovery manager listening on endpoint 10.5.112.23:4712 03:54:15,913 INFO [arjuna] ARJUNA-12296 ExpiredEntryMonitor running at Fri, 6 Jan 2012 03:54:15 03:54:15,960 INFO [arjuna] ARJUNA-12344 RecoveryManagerImple is ready on port 4712 03:54:15,961 INFO [jbossatx] ARJUNA-32013 Starting transaction recovery manager 03:54:15,971 INFO [arjuna] ARJUNA-12163 Starting service com.arjuna.ats.arjuna.recovery.ActionStatusService on port 4713 03:54:15,976 INFO [arjuna] ARJUNA-12337 TransactionStatusManagerItem host: 10.5.112.23 port: 4713 03:54:16,117 INFO [arjuna] ARJUNA-12170 TransactionStatusManager started on port 4713 and host 10.5.112.23 with service com.arjuna.ats.arjuna.recovery.ActionStatusService 03:54:16,171 INFO [jbossatx] ARJUNA-32017 JBossTS Transaction Service (JTA version - tag: JBOSSTS_4_14_0_Final) - JBoss Inc. 03:54:16,248 INFO [arjuna] ARJUNA-12202 registering bean jboss.jta:type=ObjectStore. 03:54:16,480 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /apps/jboss-6.0.0.Final/bin/native/lib64 03:54:16,592 INFO [ModClusterService] Initializing mod_cluster 1.1.0.Final 03:54:16,604 INFO [TomcatDeployment] deploy, ctxPath=/invoker 03:54:17,008 INFO [RARDeployment] Required license terms exist, view vfs:/apps/jboss-6.0.0.Final/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml 03:54:17,034 INFO [RARDeployment] Required license terms exist, view vfs:/apps/jboss-6.0.0.Final/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml 03:54:17,076 INFO [RARDeployment] Required license terms exist, view vfs:/apps/jboss-6.0.0.Final/server/default/deploy/jms-ra.rar/META-INF/ra.xml 03:54:17,098 INFO [HornetQResourceAdapter] HornetQ resource adaptor started 03:54:17,109 INFO [RARDeployment] Required license terms exist, view vfs:/apps/jboss-6.0.0.Final/server/default/deploy/mail-ra.rar/META-INF/ra.xml 03:54:17,126 INFO [RARDeployment] Required license terms exist, view vfs:/apps/jboss-6.0.0.Final/server/default/deploy/quartz-ra.rar/META-INF/ra.xml 03:54:17,381 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: Thread-2 03:54:17,401 INFO [SchedulerSignalerImpl] Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl 03:54:17,401 INFO [QuartzScheduler] Quartz Scheduler v.1.8.3 created. 03:54:17,403 INFO [RAMJobStore] RAMJobStore initialized. 03:54:17,405 INFO [QuartzScheduler] Scheduler meta-data: Quartz Scheduler (v1.8.3) 'JBossQuartzScheduler' with instanceId 'NON_CLUSTERED' Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally. NOT STARTED. Currently in standby mode. Number of jobs executed: 0 Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads. Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered. 03:54:17,405 INFO [StdSchedulerFactory] Quartz scheduler 'JBossQuartzScheduler' initialized from an externally opened InputStream. 03:54:17,405 INFO [StdSchedulerFactory] Quartz scheduler version: 1.8.3 03:54:17,406 INFO [QuartzScheduler] Scheduler JBossQuartzScheduler_$_NON_CLUSTERED started. 03:54:17,821 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS' 03:54:18,202 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA' 03:54:18,429 INFO [xnio] XNIO Version 2.1.0.CR2 03:54:18,442 INFO [nio] XNIO NIO Implementation Version 2.1.0.CR2 03:54:18,677 INFO [remoting] JBoss Remoting version 3.1.0.Beta2 03:54:18,820 INFO [TomcatDeployment] deploy, ctxPath=/ 03:54:22,992 INFO [TomcatDeployment] deploy, ctxPath=/pulse137 03:54:23,052 ERROR [STDERR] SLF4J: Class path contains multiple SLF4J bindings. 03:54:23,053 ERROR [STDERR] SLF4J: Found binding in [vfs:/apps/jboss-6.0.0.Final/common/lib/slf4j-jboss-logmanager.jar/org/slf4j/impl/StaticLoggerBinder.class] 03:54:23,053 ERROR [STDERR] SLF4J: Found binding in [vfs:/apps/jboss-6.0.0.Final/server/default/deploy/pulse137.war/WEB-INF/lib/slf4j-log4j12-1.5.8.jar/org/slf4j/impl/StaticLoggerBinder.class] 03:54:23,053 ERROR [STDERR] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. 03:54:23,832 INFO [[/pulse137]] Initializing Spring root WebApplicationContext 03:54:33,596 INFO [STDOUT] 2012-01-06 03:54:33,596 [Thread-2] ERROR hbm2ddl.SchemaExport - Unsuccessful: create table P_USER (user_ldap varchar(8) generated by default as identity (start with 1), active_flag varchar(1) not null, admin_flag varchar(1) not null, created_by varchar(8) not null, created_date timestamp not null, email_address varchar(255) not null, email_flag varchar(1) not null, first_name varchar(40) not null, last_login timestamp, last_name varchar(40) not null, phone_number varchar(30) not null, rep_score numeric not null, updated_by varchar(8) not null, updated_date timestamp not null, primary key (user_ldap)) 03:54:33,597 INFO [STDOUT] 2012-01-06 03:54:33,597 [Thread-2] ERROR hbm2ddl.SchemaExport - Wrong data type: USER_LDAP in statement [create table P_USER (user_ldap varchar(8) generated by default as identity (start with 1)] 03:54:35,610 INFO [[/pulse137]] Initializing Spring FrameworkServlet 'grails' 03:54:35,739 INFO [service] Removing bootstrap log handlers 03:54:35,824 ERROR [ProfileServiceBootstrap] Failed to load profile:: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): DEPLOYMENTS IN ERROR: Deployment "vfs:///apps/jboss-6.0.0.Final/server/default/deploy/grails20.war" is in error due to the following reason(s): java.lang.IllegalArgumentException: Null type at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1228) [:2.2.0.GA] at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:905) [:2.2.0.GA] at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java:87) [:6.0.0.Final] at org.jboss.profileservice.deployment.ProfileDeployerPluginRegistry.checkAllComplete(ProfileDeployerPluginRegistry.java:107) [:0.2.2] at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:135) [:6.0.0.Final] at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.Final] at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5] at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5] at java.lang.Thread.run(Thread.java:662) [:1.6.0_23] 03:54:35,845 INFO [org.apache.coyote.http11.Http11Protocol] Starting Coyote HTTP/1.1 on http-10.5.112.23-8080 03:54:35,848 INFO [org.apache.coyote.ajp.AjpProtocol] Starting Coyote AJP/1.3 on ajp-10.5.112.23-8009 03:54:35,849 INFO [org.jboss.bootstrap.impl.base.server.AbstractServer] JBossAS [6.0.0.Final "Neo"] Started in 1m:20s:596ms
Issue Links
- Trackbacks
-
Deploy on jboss
Prepare Jboss for Grails If you would like to prepare a Jboss instance to share Groovy/Grails libraries for all application copy al Grails jars to jboss/server/<profile>/lib directory. This are not all jars residing in "grailsx.y.z/lib" directory.</pr...
Activity
- All
- Comments
- Work Log
- History
- Activity
- Git Commits