And moving forward to JBoss AS 5.0GA
tony.herstell1 Jan 23, 2009 8:45 AMI remove the seam.properties file as per the Wiki.
I get these errors at run up:
20:32:55,156 WARN [AbstractDeploymentContext] Unable to register deployment mbean vfsfile:/C:/jboss-5.0.0.GA/server/selwyn/deploy/Sec.ear/SecEJB.jar/sec-ds.xml javax.management.InstanceAlreadyExistsException: jboss.deployment:id="vfsfile:/C:/jboss-5.0.0.GA/server/selwyn/deploy/Sec.ear/SecEJB.jar/sec-ds.xml",type=SubDeployment already registered. at org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistry.java:767)
See the WARN statement:
20:33:42,828 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=secDatasource' to JNDI name 'java:secDatasource' 20:33:42,828 INFO [PersistenceUnitDeployment] Starting persistence unit persistence.unit:unitName=Sec.ear/SecEJB.jar#secDatabase 20:33:42,906 INFO [Version] Hibernate Annotations 3.4.0.GA 20:33:42,937 INFO [Environment] Hibernate 3.3.1.GA 20:33:42,953 INFO [Environment] hibernate.properties not found 20:33:42,953 INFO [Environment] Bytecode provider name : javassist 20:33:42,968 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling 20:33:43,140 INFO [Version] Hibernate Commons Annotations 3.1.0.GA 20:33:43,156 INFO [Version] Hibernate EntityManager 3.4.0.GA 20:33:43,296 WARN [Ejb3Configuration] Persistence provider caller does not implement the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null. 20:33:43,546 INFO [AnnotationBinder] Binding entity from annotated class: nz.co.selwynequestriancentre.model.entity.Resource 20:33:43,671 INFO [EntityBinder] Bind entity nz.co.selwynequestriancentre.model.entity.Resource on table Resource 20:33:43,843 INFO [AnnotationBinder] Binding entity from annotated class: nz.co.selwynequestriancentre.model.entity.event.TestTemplate 20:33:43,843 INFO [EntityBinder] Bind entity nz.co.selwynequestriancentre.model.entity.event.TestTemplate on table TestTemplate 20:33:43,921 INFO [AnnotationBinder] Binding entity from annotated class: nz.co.selwynequestriancentre.model.entity.User 20:33:43,921 INFO [EntityBinder] Bind entity nz.co.selwynequestriancentre.model.entity.User on table User 20:33:43,953 INFO [AnnotationBinder] Binding entity from annotated class: nz.co.selwynequestriancentre.model.entity.event.CompetitorDetails 20:33:43,953 INFO [EntityBinder] Bind entity nz.co.selwynequestriancentre.model.entity.event.CompetitorDetails on table CompetitorDetails 20:33:43,968 INFO [AnnotationBinder] Binding entity from annotated class: nz.co.selwynequestriancentre.model.entity.booking.BookingResource 20:33:43,968 INFO [EntityBinder] Bind entity nz.co.selwynequestriancentre.model.entity.booking.BookingResource on table BookingResource 20:33:44,109 INFO [AnnotationBinder] Binding entity from annotated class: nz.co.selwynequestriancentre.model.entity.booking.BookingResourceWithHoursRange 20:33:44,140 INFO [AnnotationBinder] Binding entity from annotated class: nz.co.selwynequestriancentre.model.entity.Images 20:33:44,140 INFO [EntityBinder] Bind entity nz.co.selwynequestriancentre.model.entity.Images on table Images 20:33:44,156 INFO [AnnotationBinder] Binding entity from annotated class: nz.co.selwynequestriancentre.model.entity.MailingListEntry 20:33:44,156 INFO [EntityBinder] Bind entity nz.co.selwynequestriancentre.model.entity.MailingListEntry on table MailingListEntry 20:33:44,156 INFO [AnnotationBinder] Binding entity from annotated class: nz.co.selwynequestriancentre.model.entity.booking.BookingResourceWithRiders 20:33:44,156 INFO [AnnotationBinder] Binding entity from annotated class: nz.co.selwynequestriancentre.model.entity.booking.BookingResourceWithMeals 20:33:44,156 INFO [AnnotationBinder] Binding entity from annotated class: nz.co.selwynequestriancentre.model.entity.SelwynEquestrianCentreRole 20:33:44,156 INFO [EntityBinder] Bind entity nz.co.selwynequestriancentre.model.entity.SelwynEquestrianCentreRole on table SelwynEquestrianCentreRole 20:33:44,156 INFO [AnnotationBinder] Binding entity from annotated class: nz.co.selwynequestriancentre.model.entity.event.ClassEntity 20:33:44,171 INFO [EntityBinder] Bind entity nz.co.selwynequestriancentre.model.entity.event.ClassEntity on table ClassEntity 20:33:44,171 INFO [AnnotationBinder] Binding entity from annotated class: nz.co.selwynequestriancentre.model.entity.booking.BookingResourceWithNumbers 20:33:44,171 INFO [AnnotationBinder] Binding entity from annotated class: nz.co.selwynequestriancentre.model.entity.ResourceStatus 20:33:44,187 INFO [EntityBinder] Bind entity nz.co.selwynequestriancentre.model.entity.ResourceStatus on table ResourceStatus 20:33:44,187 INFO [AnnotationBinder] Binding entity from annotated class: nz.co.selwynequestriancentre.model.entity.booking.Booking 20:33:44,187 INFO [EntityBinder] Bind entity nz.co.selwynequestriancentre.model.entity.booking.Booking on table Booking 20:33:44,187 INFO [AnnotationBinder] Binding entity from annotated class: nz.co.selwynequestriancentre.model.entity.event.Cost 20:33:44,187 INFO [EntityBinder] Bind entity nz.co.selwynequestriancentre.model.entity.event.Cost on table Cost 20:33:44,187 INFO [AnnotationBinder] Binding entity from annotated class: nz.co.selwynequestriancentre.model.entity.Image 20:33:44,203 INFO [EntityBinder] Bind entity nz.co.selwynequestriancentre.model.entity.Image on table Image 20:33:44,203 INFO [AnnotationBinder] Binding entity from annotated class: nz.co.selwynequestriancentre.model.entity.event.Paperwork 20:33:44,218 INFO [EntityBinder] Bind entity nz.co.selwynequestriancentre.model.entity.event.Paperwork on table Paperwork 20:33:44,218 INFO [AnnotationBinder] Binding entity from annotated class: nz.co.selwynequestriancentre.model.entity.booking.BookingDay 20:33:44,218 INFO [EntityBinder] Bind entity nz.co.selwynequestriancentre.model.entity.booking.BookingDay on table BookingDay 20:33:44,218 INFO [AnnotationBinder] Binding entity from annotated class: nz.co.selwynequestriancentre.model.entity.event.TestStep 20:33:44,218 INFO [EntityBinder] Bind entity nz.co.selwynequestriancentre.model.entity.event.TestStep on table TestStep 20:33:44,234 INFO [AnnotationBinder] Binding entity from annotated class: nz.co.selwynequestriancentre.model.entity.event.Score 20:33:44,234 INFO [EntityBinder] Bind entity nz.co.selwynequestriancentre.model.entity.event.Score on table Score 20:33:44,234 INFO [AnnotationBinder] Binding entity from annotated class: nz.co.selwynequestriancentre.model.entity.event.Event 20:33:44,234 INFO [EntityBinder] Bind entity nz.co.selwynequestriancentre.model.entity.event.Event on table Event 20:33:44,265 INFO [AnnotationBinder] Binding entity from annotated class: nz.co.selwynequestriancentre.model.entity.Horse 20:33:44,265 INFO [EntityBinder] Bind entity nz.co.selwynequestriancentre.model.entity.Horse on table Horse 20:33:44,312 INFO [Version] Hibernate Validator 3.1.0.GA 20:33:44,500 INFO [HibernateSearchEventListenerRegister] Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled. 20:33:44,656 INFO [ConnectionProviderFactory] Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider 20:33:44,671 INFO [InjectedDataSourceConnectionProvider] Using provided datasource 20:33:45,093 INFO [SettingsFactory] RDBMS: MySQL, version: 5.1.30-community 20:33:45,093 INFO [SettingsFactory] JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-5.1.7 ( Revision: ${svn.Revision} ) 20:33:45,156 INFO [Dialect] Using dialect: org.hibernate.dialect.MySQLInnoDBDialect 20:33:45,171 INFO [TransactionFactoryFactory] Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory 20:33:45,187 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup 20:33:45,203 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup 20:33:45,203 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled
and
20:33:48,375 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA date=200812042120)] Started in 1m:15s:938ms 20:33:52,609 INFO [Contexts] starting up: org.jboss.seam.security.identity 20:33:52,625 INFO [Contexts] starting up: org.jboss.seam.web.session 20:33:52,828 WARN [InterceptorsFactory] EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container 20:33:52,828 WARN [InterceptorsFactory] EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container 20:33:52,843 WARN [InterceptorRegistry] applicable interceptors is non-existent for public void org.jboss.seam.transaction.EjbSynchronizations.beforeCompletion() throws javax.ejb.EJBException,java.rmi.RemoteException 20:33:52,843 WARN [InterceptorRegistry] applicable interceptors is non-existent for public void org.jboss.seam.transaction.EjbSynchronizations.afterCompletion(boolean) throws javax.ejb.EJBException,java.rmi.RemoteException 20:33:52,843 WARN [InterceptorRegistry] applicable interceptors is non-existent for public void org.jboss.seam.transaction.EjbSynchronizations.destroy() 20:33:52,843 WARN [InterceptorRegistry] applicable interceptors is non-existent for public void org.jboss.seam.transaction.EjbSynchronizations.afterTransactionBegin() 20:33:52,843 WARN [InterceptorRegistry] applicable interceptors is non-existent for public void org.jboss.seam.transaction.EjbSynchronizations.afterBegin() 20:33:52,843 WARN [InterceptorRegistry] applicable interceptors is non-existent for public void org.jboss.seam.transaction.EjbSynchronizations.beforeTransactionCommit() 20:33:52,843 WARN [InterceptorRegistry] applicable interceptors is non-existent for public void org.jboss.seam.transaction.EjbSynchronizations.registerSynchronization(javax.transaction.Synchronization) 20:33:54,484 WARN [InterceptorRegistry] applicable interceptors is non-existent for public void org.jboss.seam.transaction.EjbSynchronizations.afterTransactionCommit(boolean) 20:33:54,515 WARN [InterceptorRegistry] applicable interceptors is non-existent for public void org.jboss.seam.transaction.EjbSynchronizations.afterTransactionRollback() 20:33:54,515 WARN [InterceptorRegistry] applicable interceptors is non-existent for public boolean org.jboss.seam.transaction.EjbSynchronizations.isAwareOfContainerTransactions() 20:33:54,515 WARN [InterceptorRegistry] applicable interceptors is non-existent for public void org.jboss.seam.transaction.EjbSynchronizations.beforeCompletion() throws javax.ejb.EJBException,java.rmi.RemoteException 20:33:54,515 WARN [InterceptorRegistry] applicable interceptors is non-existent for public void org.jboss.seam.transaction.EjbSynchronizations.afterCompletion(boolean) throws javax.ejb.EJBException,java.rmi.RemoteException 20:33:54,515 WARN [InterceptorRegistry] applicable interceptors is non-existent for public void org.jboss.seam.transaction.EjbSynchronizations.destroy() 20:33:54,515 WARN [InterceptorRegistry] applicable interceptors is non-existent for public void org.jboss.seam.transaction.EjbSynchronizations.afterTransactionBegin() 20:33:54,531 WARN [InterceptorRegistry] applicable interceptors is non-existent for public void org.jboss.seam.transaction.EjbSynchronizations.afterBegin() 20:33:54,531 WARN [InterceptorRegistry] applicable interceptors is non-existent for public void org.jboss.seam.transaction.EjbSynchronizations.beforeTransactionCommit() 20:33:54,531 WARN [InterceptorRegistry] applicable interceptors is non-existent for public void org.jboss.seam.transaction.EjbSynchronizations.registerSynchronization(javax.transaction.Synchronization) 20:33:54,531 WARN [InterceptorRegistry] applicable interceptors is non-existent for public void org.jboss.seam.transaction.EjbSynchronizations.afterTransactionCommit(boolean) 20:33:54,531 WARN [InterceptorRegistry] applicable interceptors is non-existent for public void org.jboss.seam.transaction.EjbSynchronizations.afterTransactionRollback() 20:33:54,531 WARN [InterceptorRegistry] applicable interceptors is non-existent for public boolean org.jboss.seam.transaction.EjbSynchronizations.isAwareOfContainerTransactions()
and when I run the app:
20:33:59,234 INFO [Contexts] starting up: org.jboss.seam.security.identity 20:33:59,234 INFO [Contexts] starting up: org.jboss.seam.web.session 20:33:59,890 ERROR [viewhandler] Error Rendering View[/home.xhtml] java.lang.IllegalArgumentException: Image pointed to must exist (input stream must not be null) at org.jboss.seam.ui.graphicImage.Image.readImage(Image.java:446) at org.jboss.seam.ui.graphicImage.Image.readImage(Image.java:394) at org.jboss.seam.ui.graphicImage.Image.setInput(Image.java:141) at org.jboss.seam.ui.graphicImage.GraphicImageRendererBase.doEncodeBegin(GraphicImageRendererBase.java:31)
Does ANY of this mean anything to anyone?