This content has been marked as final.
Show 5 replies
-
1. Re: deploying the sample app on AS 7
asookazian Jun 27, 2011 3:45 PM (in response to asookazian)btw, note:
12:38:07,858 INFO [org.jboss.bootstrap.impl.base.server.AbstractServer] JBossAS [6.0.0.Final "Neo"] Started in 7m:1s:517ms
that's way too slow, I've allocated 3GB to the VB VM and the 8GB i7 laptop is using 5GB ram currently. it wasn't that slow before to start up and there's only one app deployed.
does AS 6 start up much slower in debug mode? maybe that's the problem?
-
2. Re: deploying the sample app on AS 7
asookazian Jun 27, 2011 3:48 PM (in response to asookazian)uh oh:
/index.xhtml @21,75 value="#{newMember.name}": Target Unreachable, identifier 'newMember' resolved to null
I entered a single char for the name and submitted the form...
-
3. Re: deploying the sample app on AS 7
asookazian Jun 27, 2011 4:28 PM (in response to asookazian)with AS 7:
13:21:27,108 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.deployment.unit."default-ds.xml".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."default-ds.xml".STRUCTURE: Failed to process phase STRUCTURE of deployment "default-ds.xml" at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1675) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [:1.6.0_20] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [:1.6.0_20] at java.lang.Thread.run(Thread.java:636) [:1.6.0_20] Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: Failed to mount deployment content at org.jboss.as.server.deployment.module.DeploymentRootMountProcessor.deploy(DeploymentRootMountProcessor.java:82) at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115) ... 4 more Caused by: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) [:1.6.0_20] at java.util.zip.ZipFile.<init>(ZipFile.java:131) [:1.6.0_20] at java.util.jar.JarFile.<init>(JarFile.java:150) [:1.6.0_20] at java.util.jar.JarFile.<init>(JarFile.java:114) [:1.6.0_20] at org.jboss.vfs.spi.JavaZipFileSystem.<init>(JavaZipFileSystem.java:95) at org.jboss.vfs.spi.JavaZipFileSystem.<init>(JavaZipFileSystem.java:81) at org.jboss.vfs.VFS.mountZip(VFS.java:408) at org.jboss.vfs.VFS.mountZip(VFS.java:434) at org.jboss.as.server.deployment.impl.ServerDeploymentRepositoryImpl.mountDeploymentContent(ServerDeploymentRepositoryImpl.java:86) at org.jboss.as.server.deployment.module.DeploymentRootMountProcessor.deploy(DeploymentRootMountProcessor.java:78) ... 5 more
13:21:40,579 WARN [sample] (MSC service thread 1-2) Seed data import failed.: java.lang.NullPointerException at org.jboss.as.jpa.transaction.TransactionUtil.getTransaction(TransactionUtil.java:160) [jboss-as-jpa-7.0.0.Beta4-SNAPSHOT.jar:7.0.0.Beta4-SNAPSHOT] at org.jboss.as.jpa.transaction.TransactionUtil.isInTx(TransactionUtil.java:75) [jboss-as-jpa-7.0.0.Beta4-SNAPSHOT.jar:7.0.0.Beta4-SNAPSHOT] at org.jboss.as.jpa.container.TransactionScopedEntityManager.isInTx(TransactionScopedEntityManager.java:102) [jboss-as-jpa-7.0.0.Beta4-SNAPSHOT.jar:7.0.0.Beta4-SNAPSHOT] at org.jboss.as.jpa.container.AbstractEntityManager.transactionIsRequired(AbstractEntityManager.java:686) [jboss-as-jpa-7.0.0.Beta4-SNAPSHOT.jar:7.0.0.Beta4-SNAPSHOT] at org.jboss.as.jpa.container.AbstractEntityManager.persist(AbstractEntityManager.java:575) [jboss-as-jpa-7.0.0.Beta4-SNAPSHOT.jar:7.0.0.Beta4-SNAPSHOT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_20] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [:1.6.0_20] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [:1.6.0_20] at java.lang.reflect.Method.invoke(Method.java:616) [:1.6.0_20] at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305) [weld-core-1.1.1.Final.jar:2011-04-04 15:54] at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54) [weld-core-1.1.1.Final.jar:2011-04-04 15:54] at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163) [weld-core-1.1.1.Final.jar:2011-04-04 15:54] at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299) [weld-core-1.1.1.Final.jar:2011-04-04 15:54] at org.jboss.weld.bean.builtin.CallableMethodHandler.invoke(CallableMethodHandler.java:57) [weld-core-1.1.1.Final.jar:2011-04-04 15:54] at org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:62) [weld-core-1.1.1.Final.jar:2011-04-04 15:54] at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125) [weld-core-1.1.1.Final.jar:2011-04-04 15:54] at org.jboss.weldx.persistence.org$jboss$weld$bean-sample$war$home$student$opt$jboss-as-7$standalone$deployments$sample$war$WEB-INF$classes-ProducerField-com$acme$sample$data$MemberRepositoryProducer$em_$$_WeldProxy.persist(org$jboss$weld$bean-sample$war$home$student$opt$jboss-as-7$standalone$deployments$sample$war$WEB-INF$classes-ProducerField-com$acme$sample$data$MemberRepositoryProducer$em_$$_WeldProxy.java) [weld-core-1.1.1.Final.jar:] at com.acme.sample.data.SeedDataImporter.importData(SeedDataImporter.java:51) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_20] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [:1.6.0_20] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [:1.6.0_20] at java.lang.reflect.Method.invoke(Method.java:616) [:1.6.0_20] at org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLifecycleMethodInterceptor.java:69) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:287) at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:370) at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doPostConstruct(Jsr299BindingsInterceptor.java:85) [jboss-as-weld-7.0.0.Beta4-SNAPSHOT.jar:7.0.0.Beta4-SNAPSHOT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_20] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [:1.6.0_20] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [:1.6.0_20] at java.lang.reflect.Method.invoke(Method.java:616) [:1.6.0_20] at org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLifecycleMethodInterceptor.java:61) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:287) at org.jboss.as.weld.injection.WeldInjectionInterceptor.processInvocation(WeldInjectionInterceptor.java:73) [jboss-as-weld-7.0.0.Beta4-SNAPSHOT.jar:7.0.0.Beta4-SNAPSHOT] at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:287) at org.jboss.as.ee.component.ManagedReferenceInterceptor.processInvocation(ManagedReferenceInterceptor.java:53) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:287) at org.jboss.as.ee.component.ManagedReferenceInterceptor.processInvocation(ManagedReferenceInterceptor.java:53) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:287) at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:44) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:287) at org.jboss.as.ejb3.component.session.SessionInvocationContextInterceptor.processInvocation(SessionInvocationContextInterceptor.java:66) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:287) at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:370) at org.jboss.ejb3.tx2.impl.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:271) at org.jboss.ejb3.tx2.impl.CMTTxInterceptor.requiresNew(CMTTxInterceptor.java:421) at org.jboss.as.ejb3.tx.SingletonLifecycleCMTTxInterceptor.processInvocation(SingletonLifecycleCMTTxInterceptor.java:60) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:287) at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:287) at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) at org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:156) at org.jboss.as.ee.component.BasicComponent.createInstance(BasicComponent.java:79) at org.jboss.as.ejb3.component.singleton.SingletonComponent.getComponentInstance(SingletonComponent.java:110) at org.jboss.as.ejb3.component.singleton.SingletonComponent.start(SingletonComponent.java:124) at org.jboss.as.ee.component.ComponentStartService.start(ComponentStartService.java:44) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1675) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [:1.6.0_20] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [:1.6.0_20] at java.lang.Thread.run(Thread.java:636) [:1.6.0_20]
I'm downloading the latest nightly build of AS 7...
-
4. Re: deploying the sample app on AS 7
asookazian Jun 28, 2011 11:07 AM (in response to asookazian)btw, is this sample app a CDI/Weld app or a Seam 3 app? thx.
-
5. Re: deploying the sample app on AS 7
asookazian Jun 28, 2011 11:20 AM (in response to asookazian)there is no app named
sample
in weld-1.1.0 or seam-3.0.0 distros, just checked...