Hello, I'm reviewing Sculptor for my company and somehow can't get the archetypes tutorial to work. After doing everything as proposed in the tutorial I'm able to run the application on Jetty. However, when deployed to JBoss it won't run, giving me strange exceptions (see shell output below)...
I'm on a windows XP machine (SP3) and have installed sculpture 1.6. Has anybody here maybe already seen something like this and could give me a hint what is wrong? Without the helloworld-web.war file JBoss starts nicely. The error message doesn't really convey any meaning to me. Thanks and regards Danny Thomas ========================================================================= JBoss Bootstrap Environment JBOSS_HOME: d:\DTH\JBoss\jboss-4.2.2.GA JAVA: /cygdrive/c/Program Files/Java/jdk1.6.0_14/bin/java JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 CLASSPATH: d:\DTH\JBoss\jboss-4.2.2.GA\bin\run.jar;c:\Program Files\Java\jdk1.6.0_14\lib\tools.jar ========================================================================= 16:11:07,804 INFO [Server] Starting JBoss (MX MicroKernel)... 16:11:07,804 INFO [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139) 16:11:07,804 INFO [Server] Home Dir: D:\DTH\JBoss\jboss-4.2.2.GA 16:11:07,804 INFO [Server] Home URL: file:/D:/DTH/JBoss/jboss-4.2.2.GA/ 16:11:07,804 INFO [Server] Patch URL: null 16:11:07,804 INFO [Server] Server Name: default 16:11:07,804 INFO [Server] Server Home Dir: D:\DTH\JBoss\jboss-4.2.2.GA\server\default 16:11:07,804 INFO [Server] Server Home URL: file:/D:/DTH/JBoss/jboss-4.2.2.GA/server/default/ 16:11:07,804 INFO [Server] Server Log Dir: D:\DTH\JBoss\jboss-4.2.2.GA\server\default\log 16:11:07,804 INFO [Server] Server Temp Dir: D:\DTH\JBoss\jboss-4.2.2.GA\server\default\tmp 16:11:07,804 INFO [Server] Root Deployment Filename: jboss-service.xml 16:11:08,038 INFO [ServerInfo] Java version: 1.6.0_14,Sun Microsystems Inc. 16:11:08,038 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 14.0-b16,Sun Microsystems Inc. 16:11:08,038 INFO [ServerInfo] OS-System: Windows XP 5.1,x86 16:11:08,413 INFO [Server] Core system initialized 16:11:10,147 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/ 16:11:10,147 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml 16:11:10,459 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc. 16:11:10,459 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer 16:11:10,599 INFO [TransactionManagerService] Starting recovery manager 16:11:10,646 INFO [TransactionManagerService] Recovery manager started 16:11:10,646 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference 16:11:12,583 INFO [EJB3Deployer] Starting java:comp multiplexer 16:11:12,817 INFO [STDOUT] no object for null 16:11:12,817 INFO [STDOUT] no object for null 16:11:12,817 INFO [STDOUT] no object for null 16:11:12,833 INFO [STDOUT] no object for {urn:jboss:bean-deployer}supplyType 16:11:12,848 INFO [STDOUT] no object for {urn:jboss:bean-deployer}dependsType 16:11:14,332 INFO [NativeServerConfig] JBoss Web Services - Native 16:11:14,332 INFO [NativeServerConfig] jbossws-native-2.0.1.SP2 (build=200710210837) 16:11:14,957 INFO [Embedded] Catalina naming disabled 16:11:15,066 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: c:\Program Files\Java\jdk1.6.0_14\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;d:\Projects\EL4J\tools\maven\bin;C:\cygwin\usr\local\bin;C:\cygwin\bin;C:\cygwin\bin;C:\cygwin\usr\X11R6\bin;d:\DTH\JBoss\jboss-4.2.2.GA\bin;c:\Program Files\CollabNet Subversion Client;c:\Subversion\bin;c:\Program Files\Java\jdk1.6.0_14\bin;c:\oracle\ora92\bin;c:\Program Files\Oracle\jre\1.3.1\bin;c:\Program Files\Oracle\jre\1.1.8\bin;c:\WINDOWS\system32;c:\WINDOWS;c:\WINDOWS\System32\Wbem;c:\Program Files\Intel\DMIX;c:\Program Files\NTRU Cryptosystems\NTRU TCG Software Stack\bin\;c:\Program Files\Wave Systems Corp\Gemalto\Access Client\v5\;c:\Program Files\Graphviz2.22\bin 16:11:15,113 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080 16:11:15,113 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009 16:11:15,113 INFO [Catalina] Initialization processed in 162 ms 16:11:15,113 INFO [StandardService] Starting service jboss.web 16:11:15,113 INFO [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA 16:11:15,160 INFO [Catalina] Server startup in 42 ms 16:11:15,238 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/ 16:11:15,644 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/ 16:11:15,738 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../deploy/jbossws.sar/jbossws-context.war/ 16:11:15,816 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/ 16:11:16,425 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/ 16:11:16,753 INFO [MailService] Mail Service bound to java:/Mail 16:11:16,846 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar 16:11:16,909 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar 16:11:16,940 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar 16:11:16,971 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar 16:11:17,049 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar 16:11:17,081 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar 16:11:17,096 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar 16:11:17,112 INFO [QuartzResourceAdapter] start quartz!!! 16:11:17,159 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main 16:11:17,174 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created. 16:11:17,174 INFO [RAMJobStore] RAMJobStore initialized. 16:11:17,174 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' 16:11:17,174 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2 16:11:17,174 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. 16:11:18,002 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS' 16:11:18,205 INFO [A] Bound to JNDI name: queue/A 16:11:18,205 INFO [B] Bound to JNDI name: queue/B 16:11:18,205 INFO [C] Bound to JNDI name: queue/C 16:11:18,205 INFO [D] Bound to JNDI name: queue/D 16:11:18,205 INFO [ex] Bound to JNDI name: queue/ex 16:11:18,221 INFO [testTopic] Bound to JNDI name: topic/testTopic 16:11:18,221 INFO [securedTopic] Bound to JNDI name: topic/securedTopic 16:11:18,221 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic 16:11:18,221 INFO [testQueue] Bound to JNDI name: queue/testQueue 16:11:18,252 INFO [UILServerILService] JBossMQ UIL service available at : /127.0.0.1:8093 16:11:18,267 INFO [DLQ] Bound to JNDI name: queue/DLQ 16:11:18,346 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA' 16:11:20,782 INFO [TomcatDeployer] deploy, ctxPath=/helloworld-web, warUrl=.../tmp/deploy/tmp4377025522263037669helloworld-web-exp.war/ 16:11:22,141 FATAL [application] JSF1029: The specified InjectionProvider implementation 'org.jboss.web.jsf.integration.injection.JBossInjectionProvider' does not implement the InjectionProvider interface. 16:11:22,141 INFO [application] JSF1048: PostConstruct/PreDestroy annotations present. ManagedBeans methods marked with these annotations will have said annotations processed. 16:11:22,578 INFO [[/helloworld-web]] Initializing Spring root WebApplicationContext 16:11:22,578 INFO [ContextLoader] Root WebApplicationContext: initialization started 16:11:22,625 INFO [ClassPathXmlApplicationContext] Refreshing org.springframework.context.support.classpathxmlapplicationcont...@374ed5: display name [org.springframework.context.support.classpathxmlapplicationcont...@374ed5]; startup date [Tue Jun 23 16:11:22 CEST 2009]; root of context hierarchy 16:11:22,718 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from URL [jar:file:/D:/DTH/JBoss/jboss-4.2.2.GA/server/default/tmp/deploy/tmp4377025522263037669helloworld-web-exp.war/WEB-INF/lib/helloworld-1.0-SNAPSHOT.jar!/beanRefContext.xml] 16:11:22,812 INFO [ClassPathXmlApplicationContext] Bean factory for application context [org.springframework.context.support.classpathxmlapplicationcont...@374ed5]: org.springframework.beans.factory.support.defaultlistablebeanfact...@17b5179 16:11:22,843 INFO [DefaultListableBeanFactory] Pre-instantiating singletons in org.springframework.beans.factory.support.defaultlistablebeanfact...@17b5179: defining beans [org.helloworld]; root of factory hierarchy 16:11:22,906 INFO [ClassPathXmlApplicationContext] Refreshing org.springframework.context.support.classpathxmlapplicationcont...@15d533d: display name [org.springframework.context.support.classpathxmlapplicationcont...@15d533d]; startup date [Tue Jun 23 16:11:22 CEST 2009]; root of context hierarchy 16:11:22,906 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [applicationContext.xml] 16:11:23,359 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [EntityManagerFactory.xml] 16:11:23,406 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [Interceptor.xml] 16:11:23,640 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [more.xml] 16:11:23,655 INFO [ClassPathXmlApplicationContext] Bean factory for application context [org.springframework.context.support.classpathxmlapplicationcont...@15d533d]: org.springframework.beans.factory.support.defaultlistablebeanfact...@10ee5b8 16:11:23,687 INFO [PropertyPlaceholderConfigurer] Loading properties file from class path resource [generated-spring.properties] 16:11:23,687 INFO [PropertyPlaceholderConfigurer] Loading properties file from class path resource [spring.properties] 16:11:23,796 INFO [DefaultListableBeanFactory] Destroying singletons in org.springframework.beans.factory.support.defaultlistablebeanfact...@10ee5b8: defining beans [org.springframework.context.annotation.internalPersistenceAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,planetAccessFactory,planetRepository,planetService,springPropertyConfig,entityManagerFactory,txManager,org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0,jpaInterceptorFlushEager,errorHandlingAdvice,serviceContextStoreAdvice,txAdvice,org.springframework.aop.config.internalAutoProxyCreator,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]; root of factory hierarchy 16:11:23,796 ERROR [ContextLoader] Context initialization failed org.springframework.beans.factory.access.BootstrapException: Unable to return specified BeanFactory instance: factory key [org.helloworld], from group with resource name [classpath*:beanRefContext.xml]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.helloworld' defined in URL [jar:file:/D:/DTH/JBoss/jboss-4.2.2.GA/server/default/tmp/deploy/tmp4377025522263037669helloworld-web-exp.war/WEB-INF/lib/helloworld-1.0-SNAPSHOT.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0' defined in class path resource [EntityManagerFactory.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [EntityManagerFactory.xml]: Invocation of init method failed; nested exception is org.springframework.jdbc.datasource.lookup.DataSourceLookupFailureException: Failed to look up JNDI DataSource with name 'java:comp/env/jdbc/UniverseDS'; nested exception is javax.naming.NameNotFoundException: jdbc not bound at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:410) at org.springframework.web.context.ContextLoader.loadParentContext(ContextLoader.java:341) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:195) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3856) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4361) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553) 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.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.apache.catalina.core.StandardContext.init(StandardContext.java:5312) 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.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301) at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104) at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375) at org.jboss.web.WebModule.startModule(WebModule.java:83) at org.jboss.web.WebModule.startService(WebModule.java:61) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) 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:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) 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:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy44.start(Unknown Source) at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466) 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:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97) at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238) at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:87) at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188) at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95) 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:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy45.start(Unknown Source) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) 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:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) 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:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy9.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:26 ... and so further -- View this message in context: http://www.nabble.com/Problem-deploying-Sculptor-generated-.war-file-in-JBoss-tp24167140s17564p24167140.html Sent from the Fornax-Platform mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Fornax-developer mailing list Fornax-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fornax-developer