[jboss-user] [JBoss Seam] - Re: chapter 2 helloworld example doesn't work

nickleli do-not-reply at jboss.com
Sat Dec 30 13:27:20 EST 2006


Thanks for your help norman!  here is the output that you mentioned.  it appears to not be deploying correctly but i'm not sure why...


10:22:41,343 INFO  [EARDeployer] Init J2EE application: file:/C:/Program Files/j
boss-4.0.5.GA/server/default/deploy/myproject.ear/
10:22:42,453 INFO  [Ejb3Deployment] EJB3 deployment time took: 407
10:22:42,593 INFO  [Ejb3Deployment] EJB3 deployment time took: 125
10:22:42,609 INFO  [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=mypro
ject.ear,jar=jboss-seam.jar,name=Dispatcher,service=EJB3 with dependencies:
10:22:42,609 INFO  [EJBContainer] STARTED EJB: org.jboss.seam.core.Dispatcher ej
bName: Dispatcher
10:22:42,625 INFO  [EJB3Deployer] Deployed: file:/C:/Program Files/jboss-4.0.5.G
A/server/default/deploy/myproject.ear/jboss-seam.jar
10:22:42,625 INFO  [JmxKernelAbstraction] installing MBean: persistence.units:ea
r=myproject.ear,unitName=myproject with dependencies:
10:22:42,625 INFO  [JmxKernelAbstraction]       jboss.jca:name=myprojectDatasour
ce,service=DataSourceBinding
10:22:42,625 INFO  [EJB3Deployer] Deployed: file:/C:/Program Files/jboss-4.0.5.G
A/server/default/deploy/myproject.ear/myproject.jar/
10:22:42,640 INFO  [TomcatDeployer] deploy, ctxPath=/myproject, warUrl=.../deplo
y/myproject.ear/myproject.war/
10:22:42,687 INFO  [ServletContextListener] Welcome to Seam 1.1.0.GA
10:22:42,703 INFO  [Initialization] Namespace: http://jboss.com/products/seam/co
re, package: org.jboss.seam.core, prefix: org.jboss.seam.core
10:22:42,703 INFO  [Initialization] Namespace: http://jboss.com/products/seam/fr
amework, package: org.jboss.seam.framework, prefix: org.jboss.seam.core.framewor
k
10:22:42,703 INFO  [Initialization] Namespace: http://jboss.com/products/seam/jm
s, package: org.jboss.seam.jms, prefix: org.jboss.seam.jms
10:22:42,703 INFO  [Initialization] Namespace: http://jboss.com/products/seam/dr
ools, package: org.jboss.seam.drools, prefix: org.jboss.seam.drools
10:22:42,703 INFO  [Initialization] Namespace: http://jboss.com/products/seam/re
moting, package: org.jboss.seam.remoting, prefix: org.jboss.seam.remoting
10:22:42,703 INFO  [Initialization] Namespace: http://jboss.com/products/seam/th
eme, package: org.jboss.seam.theme, prefix: org.jboss.seam.theme
10:22:42,718 INFO  [Scanner] scanning: C:\Program Files\jboss-4.0.5.GA\server\de
fault\deploy\myproject.ear\myproject.jar
10:22:42,718 INFO  [Scanner] scanning: /C:/Program Files/jboss-4.0.5.GA/server/d
efault/tmp/deploy/tmp37131jboss-seam.jar
10:22:42,765 INFO  [Initialization] Namespace: http://jboss.com/products/seam/dr
ools, package: org.jboss.seam.drools, prefix: org.jboss.seam.drools
10:22:42,765 INFO  [Initialization] Namespace: http://jboss.com/products/seam/re
moting, package: org.jboss.seam.remoting, prefix: org.jboss.seam.remoting
10:22:42,765 INFO  [Initialization] Namespace: http://jboss.com/products/seam/th
eme, package: org.jboss.seam.theme, prefix: org.jboss.seam.theme
10:22:42,765 INFO  [Initialization] Namespace: http://jboss.com/products/seam/co
re, package: org.jboss.seam.core, prefix: org.jboss.seam.core
10:22:42,765 INFO  [Initialization] Namespace: http://jboss.com/products/seam/jm
s, package: org.jboss.seam.jms, prefix: org.jboss.seam.jms
10:22:42,765 INFO  [Initialization] Namespace: http://jboss.com/products/seam/fr
amework, package: org.jboss.seam.framework, prefix: org.jboss.seam.core.framewor
k
10:22:42,765 INFO  [Initialization] reading /WEB-INF/components.xml
10:22:42,781 INFO  [Initialization] reading jar:file:/C:/Program Files/jboss-4.0
.5.GA/server/default/tmp/deploy/tmp37131jboss-seam.jar!/META-INF/components.xml
10:22:42,796 INFO  [Initialization] reading properties from: /seam.properties
10:22:42,796 INFO  [Initialization] reading properties from: /jndi.properties
10:22:42,796 INFO  [Initialization] initializing Seam
10:22:42,796 INFO  [Scanner] scanning: C:\Program Files\jboss-4.0.5.GA\server\de
fault\deploy\myproject.ear\myproject.jar
10:22:42,812 INFO  [Scanner] scanning: /C:/Program Files/jboss-4.0.5.GA/server/d
efault/tmp/deploy/tmp37131jboss-seam.jar
10:22:43,734 INFO  [Initialization] two components with same name, higher preced
ence wins: org.jboss.seam.core.pages
10:22:43,750 INFO  [Initialization] two components with same name, higher preced
ence wins: org.jboss.seam.core.manager
10:22:43,765 INFO  [Component] Component: org.jboss.seam.core.init, scope: APPLI
CATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init
10:22:43,781 INFO  [Initialization] Installing components...
10:22:43,781 INFO  [Component] Component: org.jboss.seam.core.exceptions, scope:
 APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Exceptions
10:22:43,781 INFO  [Component] Component: org.jboss.seam.core.applicationContext
, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ApplicationCon
text
10:22:43,796 INFO  [Component] Component: org.jboss.seam.core.conversationStack,
 scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationStack
10:22:43,796 INFO  [Component] Component: org.jboss.seam.remoting.messaging.subs
criptionRegistry, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.rem
oting.messaging.SubscriptionRegistry
10:22:43,796 INFO  [Component] Component: org.jboss.seam.core.isUserInRole, scop
e: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.IsUserInRole
10:22:43,796 INFO  [Component] Component: org.jboss.seam.core.redirect, scope: C
ONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Redirect
10:22:43,796 INFO  [Component] Component: org.jboss.seam.debug.contexts, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.debug.Contexts
10:22:43,796 INFO  [Component] Component: org.jboss.seam.framework.currentDateti
me, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.framework.CurrentDa
tetime
10:22:43,812 INFO  [Component] Component: org.jboss.seam.core.switcher, scope: P
AGE, type: JAVA_BEAN, class: org.jboss.seam.core.Switcher
10:22:43,812 INFO  [Component] Component: org.jboss.seam.core.conversation, scop
e: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Conversation
10:22:43,812 INFO  [Component] Component: org.jboss.seam.framework.currentDate,
scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.framework.CurrentDate
10:22:43,812 INFO  [Component] Component: org.jboss.seam.theme.themeSelector, sc
ope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.theme.ThemeSelector
10:22:43,812 INFO  [Component] Component: org.jboss.seam.core.facesMessages, sco
pe: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesMessages
10:22:43,812 INFO  [Component] Component: org.jboss.seam.core.persistenceContext
s, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.PersistenceC
ontexts
10:22:43,812 INFO  [Component] Component: org.jboss.seam.core.safeActions, scope
: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.SafeActions
10:22:43,812 INFO  [Component] Component: org.jboss.seam.core.validation, scope:
 APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Validation
10:22:43,812 INFO  [Component] Component: org.jboss.seam.core.businessProcessCon
text, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.BusinessPr
ocessContext
10:22:43,812 INFO  [Component] Component: org.jboss.seam.core.messages, scope: S
ESSION, type: JAVA_BEAN, class: org.jboss.seam.core.Messages
10:22:43,812 INFO  [Component] Component: org.jboss.seam.core.sessionContext, sc
ope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.SessionContext
10:22:43,812 INFO  [Component] Component: org.jboss.seam.core.conversationList,
scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationList
10:22:43,812 INFO  [Component] Component: org.jboss.seam.core.conversationEntrie
s, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationEntri
es
10:22:43,812 INFO  [Component] Component: org.jboss.seam.core.facesPage, scope:
PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.FacesPage
10:22:43,812 INFO  [Component] Component: org.jboss.seam.debug.introspector, sco
pe: EVENT, type: JAVA_BEAN, class: org.jboss.seam.debug.Introspector
10:22:43,828 INFO  [Component] Component: org.jboss.seam.core.pages, scope: APPL
ICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Pages
10:22:43,828 INFO  [Component] Component: org.jboss.seam.theme.theme, scope: SES
SION, type: JAVA_BEAN, class: org.jboss.seam.theme.Theme
10:22:43,828 INFO  [Component] Component: org.jboss.seam.core.resourceBundle, sc
ope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.ResourceBundle
10:22:43,828 INFO  [Component] Component: org.jboss.seam.core.localeSelector, sc
ope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.LocaleSelector
10:22:43,828 INFO  [Component] Component: org.jboss.seam.remoting.remotingConfig
, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.remoting.RemotingCo
nfig
10:22:43,828 INFO  [Component] Component: org.jboss.seam.core.facesContext, scop
e: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesContext
10:22:43,828 INFO  [Component] Component: org.jboss.seam.core.httpError, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.HttpError
10:22:43,828 INFO  [Component] Component: org.jboss.seam.core.uiComponent, scope
: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.UiComponent
10:22:43,828 INFO  [Component] Component: org.jboss.seam.core.manager, scope: EV
ENT, type: JAVA_BEAN, class: org.jboss.seam.core.Manager
10:22:43,843 INFO  [Component] Component: org.jboss.seam.core.events, scope: APP
LICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Events
10:22:43,843 INFO  [Component] Component: org.jboss.seam.core.userPrincipal, sco
pe: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.UserPrincipal
10:22:43,843 INFO  [Component] Component: org.jboss.seam.persistence.persistence
Provider, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.persistence.H
ibernatePersistenceProvider
10:22:43,843 INFO  [Component] Component: org.jboss.seam.core.interpolator, scop
e: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Interpolator
10:22:43,843 INFO  [Component] Component: org.jboss.seam.core.locale, scope: STA
TELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Locale
10:22:43,843 INFO  [Component] Component: entityManager, scope: CONVERSATION, ty
pe: JAVA_BEAN, class: org.jboss.seam.core.ManagedPersistenceContext
10:22:43,843 INFO  [Component] Component: org.jboss.seam.core.eventContext, scop
e: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.EventContext
10:22:43,843 INFO  [Component] Component: org.jboss.seam.core.pageContext, scope
: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.PageContext
10:22:43,843 INFO  [Component] Component: org.jboss.seam.core.conversationContex
t, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationC
ontext
10:22:43,843 INFO  [Component] Component: org.jboss.seam.framework.currentTime,
scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.framework.CurrentTime
10:22:43,859 INFO  [Component] Component: org.jboss.seam.core.expressions, scope
: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Expressions
10:22:43,859 INFO  [Component] Component: org.jboss.seam.core.pojoCache, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.PojoCache
10:22:43,859 INFO  [Initialization] done initializing Seam
10:22:43,859 INFO  [FacesConfigurator] Reading standard config org/apache/myface
s/resource/standard-faces-config.xml
10:22:43,890 INFO  [FacesConfigurator] Reading config jar:file:/C:/Program Files
/jboss-4.0.5.GA/server/default/tmp/deploy/tmp37131jboss-seam.jar!/META-INF/faces
-config.xml
10:22:43,890 INFO  [FacesConfigurator] Reading config jar:file:/C:/Program%20Fil
es/jboss-4.0.5.GA/server/default/./deploy/myproject.ear/myproject.war/WEB-INF/li
b/jboss-seam-debug.jar!/META-INF/faces-config.xml
10:22:43,906 INFO  [FacesConfigurator] Reading config jar:file:/C:/Program%20Fil
es/jboss-4.0.5.GA/server/default/./deploy/myproject.ear/myproject.war/WEB-INF/li
b/jboss-seam-ui.jar!/META-INF/faces-config.xml
10:22:43,921 INFO  [FacesConfigurator] Reading config jar:file:/C:/Program%20Fil
es/jboss-4.0.5.GA/server/default/./deploy/myproject.ear/myproject.war/WEB-INF/li
b/jsf-facelets.jar!/META-INF/faces-config.xml
10:22:43,921 INFO  [FacesConfigurator] Reading config /WEB-INF/navigation.xml
10:22:43,937 INFO  [FacesConfigurator] Reading config /WEB-INF/faces-config.xml
10:22:43,953 WARN  [LocaleUtils] Locale name in faces-config.xml null or empty,
setting locale to default locale : en_US
10:22:44,031 INFO  [StartupServletContextListener] ServletContext 'C:\Program Fi
les\jboss-4.0.5.GA\server\default\.\deploy\myproject.ear\myproject.war\' initial
ized.
10:22:44,031 INFO  [StartupServletContextListener] Serialization provider : clas
s org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory
10:22:44,062 INFO  [EARDeployer] Started J2EE application: file:/C:/Program File
s/jboss-4.0.5.GA/server/default/deploy/myproject.ear/
10:22:44,140 INFO  [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca
:service=DataSourceBinding,name=myprojectDatasource' to JNDI name 'java:myprojec
tDatasource'
10:22:44,140 WARN  [Ejb3Configuration] Persistence provider caller does not impl
ements the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is n
ull.
10:22:44,140 INFO  [Configuration] Reading mappings from resource: META-INF/orm.
xml
10:22:44,140 INFO  [Ejb3Configuration] [PersistenceUnit: myproject] no META-INF/
orm.xml found
10:22:44,140 INFO  [ConnectionProviderFactory] Initializing connection provider:
 org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
10:22:44,140 INFO  [InjectedDataSourceConnectionProvider] Using provided datasou
rce
10:22:46,625 INFO  [SettingsFactory] RDBMS: MySQL, version: 5.0.27-community-nt
10:22:46,625 INFO  [SettingsFactory] JDBC driver: MySQL-AB JDBC Driver, version:
 mysql-connector-java-3.1.14 ( $Date: 2006-10-18 17:40:15 +0200 (Wed, 18 Oct 200
6) $, $Revision: 5888 $ )
10:22:46,625 INFO  [Dialect] Using dialect: org.hibernate.dialect.MySQLDialect
10:22:46,625 INFO  [TransactionFactoryFactory] Transaction strategy: org.hiberna
te.ejb.transaction.JoinableCMTTransactionFactory
10:22:46,625 INFO  [TransactionManagerLookupFactory] instantiating TransactionMa
nagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
10:22:46,625 INFO  [TransactionManagerLookupFactory] instantiated TransactionMan
agerLookup
10:22:46,625 INFO  [SettingsFactory] Automatic flush during beforeCompletion():
disabled
10:22:46,625 INFO  [SettingsFactory] Automatic session close at end of transacti
on: disabled
10:22:46,625 INFO  [SettingsFactory] JDBC batch size: 15
10:22:46,625 INFO  [SettingsFactory] JDBC batch updates for versioned data: disa
bled
10:22:46,625 INFO  [SettingsFactory] Scrollable result sets: enabled
10:22:46,625 INFO  [SettingsFactory] JDBC3 getGeneratedKeys(): enabled
10:22:46,625 INFO  [SettingsFactory] Connection release mode: auto
10:22:46,625 INFO  [SettingsFactory] Maximum outer join fetch depth: 2
10:22:46,625 INFO  [SettingsFactory] Default batch fetch size: 1
10:22:46,625 INFO  [SettingsFactory] Generate SQL with comments: disabled
10:22:46,625 INFO  [SettingsFactory] Order SQL updates by primary key: disabled
10:22:46,625 INFO  [SettingsFactory] Query translator: org.hibernate.hql.ast.AST
QueryTranslatorFactory
10:22:46,625 INFO  [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
10:22:46,625 INFO  [SettingsFactory] Query language substitutions: {}
10:22:46,625 INFO  [SettingsFactory] JPA-QL strict compliance: enabled
10:22:46,625 INFO  [SettingsFactory] Second-level cache: enabled
10:22:46,625 INFO  [SettingsFactory] Query cache: enabled
10:22:46,625 INFO  [SettingsFactory] Cache provider: org.hibernate.cache.Hashtab
leCacheProvider
10:22:46,625 INFO  [SettingsFactory] Optimize cache for minimal puts: disabled
10:22:46,625 INFO  [SettingsFactory] Structured second-level cache entries: disa
bled
10:22:46,625 INFO  [SettingsFactory] Query cache factory: org.hibernate.cache.St
andardQueryCacheFactory
10:22:46,625 INFO  [SettingsFactory] Echoing all SQL to stdout
10:22:46,640 INFO  [SettingsFactory] Statistics: disabled
10:22:46,640 INFO  [SettingsFactory] Deleted entity synthetic identifier rollbac
k: disabled
10:22:46,640 INFO  [SettingsFactory] Default entity-mode: pojo
10:22:46,640 INFO  [SessionFactoryImpl] building session factory
10:22:46,640 INFO  [SessionFactoryObjectFactory] Not binding factory to JNDI, no
 JNDI name configured
10:22:46,640 INFO  [SchemaUpdate] Running hbm2ddl schema update
10:22:46,640 INFO  [SchemaUpdate] fetching database metadata
10:22:46,640 INFO  [SchemaUpdate] updating schema
10:22:46,640 INFO  [SchemaUpdate] schema update complete
10:22:46,640 INFO  [NamingHelper] JNDI InitialContext properties:{java.naming.fa
ctory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.p
kgs=org.jboss.naming:org.jnp.interfaces}
10:22:46,640 INFO  [UpdateTimestampsCache] starting update timestamps cache at r
egion: org.hibernate.cache.UpdateTimestampsCache
10:22:46,640 INFO  [StandardQueryCache] starting query cache at region: org.hibe
rnate.cache.StandardQueryCache
10:22:46,671 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo at 4b916bf4 { url=file:/C:/Program Files/jboss-
4.0.5.GA/server/default/deploy/myproject.ear/ }
  deployer: org.jboss.deployment.EARDeployer at 11f23e5
  status: null
  state: FAILED
  watch: file:/C:/Program Files/jboss-4.0.5.GA/server/default/deploy/myproject.e
ar/
  altDD: null
  lastDeployed: 1167502901218
  lastModified: 1167419957484
  mbeans:

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996979#3996979

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996979



More information about the jboss-user mailing list