[JBoss Seam] - Value injection not always working with Seam 1.1
by andrew.rw.robinson
I needed some functionality from seam 1.1 compared to 1.0.1, so I just tried to upgrade and I'm having some really bad luck. The worst is problems with the "@In(create=true)" annotation.
Exception:
java.lang.NullPointerException
| at com.outlooksoft.cpm.usercontext.UserApplicationViewBean.getCurrentAppSet(UserApplicationViewBean.java:462)
| at com.outlooksoft.cpm.usercontext.UserApplicationViewBean.changeCurrentViewSelection(UserApplicationViewBean.java:492)
| at com.outlooksoft.cpm.usercontext.UserApplicationViewBean.selectMember(UserApplicationViewBean.java:294)
| at com.outlooksoft.cpm.faces.controls.UIMemberSelectionDialog.broadcast(UIMemberSelectionDialog.java:105)
| at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:94)
| at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:168)
| at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343)
| at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
In this code, what I am doing in the broadcast is looking up the bean:
(MemberSelectionDialogBean)context.getApplication().createValueBinding("#{memberSelectionDialogBean}")
| .getValue(context);
And then calling a method on that bean. The "MemberSelectionDialogBean" is session scoped:
@Name("memberSelectionDialogBean")
| @Scope(ScopeType.SESSION)
| public class MemberSelectionDialogBean
| implements Serializable {
| ...
| private MemberSelectionDialogListener listener;
| ... }
It in tern, calls another session scoped bean:
@LoggedIn
| @Name("currentView")
| @Scope(ScopeType.SESSION)
| public class UserApplicationViewBean
| implements Serializable, MemberSelectionDialogListener {
| ...
| @In(create=true)
| private UserSessionBean userSession;
| ... }
This user session bean is also session scoped:
@LoggedIn
| @Name("userSession")
| @Scope(ScopeType.SESSION)
| public class UserSessionBean
| implements Serializable {...}
So to explain the stack:
1) a custom control (UIMemberSelectionDialog) processes the broacast during the INVOKE_APPLICATION phase
2) it looks up a bean from the faces context using a value binding (memberSelectionDialogBean)
3) it then calls a method on the UserApplicationViewBean
The problem seems to be that the MemberSelectionDialogBean uses a member variable to call the UserApplicationViewBean that is set programmatically (is not injected). It seams like all of the injections variables on that UserApplicationViewBean are set to null and are not re-set.
This worked fine on 1.0.1. I know it is ugly code (I need to fix it, but it is a large task). Any thoughts?
-Andrew
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995136#3995136
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995136
19 years, 4 months
[JBoss Seam] - Conversion Error on Registration example
by fabricio.lemos
Hello,
I´m having trouble running the Registration example. The application seems to be deployed ok but when I submit the form, I´m getting "Conversion Error" 3 times. I am using maven to package the example on a ear.
Here is the Jboss log:
| 17:46:27,470 INFO [EARDeployer] Init J2EE application: file:/C:/workspacePrototipos/Registration/reg-ear/target/reg-ear-1.0.ear
| 17:46:30,798 INFO [Ejb3Deployment] EJB3 deployment time took: 672
| 17:46:30,954 INFO [Ejb3Deployment] EJB3 deployment time took: 140
| 17:46:31,126 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=reg-ear-1.0.ear,jar=jboss-seam-1.1.jar,name=Dispatcher,service=EJB3 with dependencies:
| 17:46:31,407 INFO [EJBContainer] STARTED EJB: org.jboss.seam.core.Dispatcher ejbName: Dispatcher
| 17:46:31,501 INFO [EJB3Deployer] Deployed: file:/C:/Java/jboss-4.0.5.GA/server/default/tmp/deploy/tmp59795reg-ear-1.0.ear-contents/jboss-seam-1.1.jar
| 17:46:31,501 INFO [JmxKernelAbstraction] installing MBean: persistence.units:ear=reg-ear-1.0.ear,jar=reg-ejb-1.0.jar,unitName=userDatabase with dependencies:
| 17:46:31,501 INFO [JmxKernelAbstraction] jboss.jca:name=DefaultDS,service=DataSourceBinding
| 17:46:31,564 INFO [Version] Hibernate EntityManager 3.2.0.GA
| 17:46:31,595 INFO [Version] Hibernate Annotations 3.2.0.GA
| 17:46:31,611 INFO [Environment] Hibernate 3.2.0.ga
| 17:46:31,611 INFO [Environment] hibernate.properties not found
| 17:46:31,626 INFO [Environment] Bytecode provider name : javassist
| 17:46:31,626 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling
| 17:46:31,861 INFO [Ejb3Configuration] found EJB3 Entity bean: org.jboss.seam.example.registration.User
| 17:46:31,861 WARN [Ejb3Configuration] Persistence provider caller does not implements the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null.
| 17:46:31,954 INFO [Configuration] Reading mappings from resource: META-INF/orm.xml
| 17:46:31,970 INFO [Ejb3Configuration] [PersistenceUnit: userDatabase] no META-INF/orm.xml found
| 17:46:32,407 INFO [AnnotationBinder] Binding entity from annotated class: org.jboss.seam.example.registration.User
| 17:46:32,486 INFO [EntityBinder] Bind entity org.jboss.seam.example.registration.User on table users
| 17:46:32,845 INFO [ConnectionProviderFactory] Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
| 17:46:32,845 INFO [InjectedDataSourceConnectionProvider] Using provided datasource
| 17:46:32,861 INFO [SettingsFactory] RDBMS: HSQL Database Engine, version: 1.8.0
| 17:46:32,861 INFO [SettingsFactory] JDBC driver: HSQL Database Engine Driver, version: 1.8.0
| 17:46:32,892 INFO [Dialect] Using dialect: org.hibernate.dialect.HSQLDialect
| 17:46:32,907 INFO [TransactionFactoryFactory] Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
| 17:46:32,923 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
| 17:46:32,923 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
| 17:46:32,923 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled
| 17:46:32,923 INFO [SettingsFactory] Automatic session close at end of transaction: disabled
| 17:46:32,923 INFO [SettingsFactory] JDBC batch size: 15
| 17:46:32,923 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled
| 17:46:32,923 INFO [SettingsFactory] Scrollable result sets: enabled
| 17:46:32,923 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): disabled
| 17:46:32,923 INFO [SettingsFactory] Connection release mode: auto
| 17:46:32,923 INFO [SettingsFactory] Default batch fetch size: 1
| 17:46:32,923 INFO [SettingsFactory] Generate SQL with comments: disabled
| 17:46:32,923 INFO [SettingsFactory] Order SQL updates by primary key: disabled
| 17:46:32,923 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
| 17:46:32,939 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
| 17:46:32,939 INFO [SettingsFactory] Query language substitutions: {}
| 17:46:32,939 INFO [SettingsFactory] JPA-QL strict compliance: enabled
| 17:46:32,939 INFO [SettingsFactory] Second-level cache: enabled
| 17:46:32,939 INFO [SettingsFactory] Query cache: disabled
| 17:46:32,939 INFO [SettingsFactory] Cache provider: org.hibernate.cache.HashtableCacheProvider
| 17:46:32,939 INFO [SettingsFactory] Optimize cache for minimal puts: disabled
| 17:46:32,939 INFO [SettingsFactory] Structured second-level cache entries: disabled
| 17:46:32,954 INFO [SettingsFactory] Statistics: disabled
| 17:46:32,954 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
| 17:46:32,954 INFO [SettingsFactory] Default entity-mode: pojo
| 17:46:33,064 INFO [SessionFactoryImpl] building session factory
| 17:46:33,439 INFO [SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name configured
| 17:46:33,470 INFO [SchemaExport] Running hbm2ddl schema export
| 17:46:33,470 INFO [SchemaExport] exporting generated schema to database
| 17:46:33,470 INFO [SchemaExport] schema export complete
| 17:46:33,501 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
| 17:46:33,548 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=reg-ear-1.0.ear,jar=reg-ejb-1.0.jar,name=RegisterAction,service=EJB3 with dependencies:
| 17:46:33,548 INFO [JmxKernelAbstraction] persistence.units:ear=reg-ear-1.0.ear,jar=reg-ejb-1.0.jar,unitName=userDatabase
| 17:46:33,595 INFO [EJBContainer] STARTED EJB: org.jboss.seam.example.registration.RegisterAction ejbName: RegisterAction
| 17:46:33,642 INFO [EJB3Deployer] Deployed: file:/C:/Java/jboss-4.0.5.GA/server/default/tmp/deploy/tmp59795reg-ear-1.0.ear-contents/reg-ejb-1.0.jar
| 17:46:33,642 INFO [TomcatDeployer] deploy, ctxPath=/seam-reg, warUrl=.../tmp/deploy/tmp59795reg-ear-1.0.ear-contents/reg-web-1.0-exp.war/
| 17:46:34,064 INFO [FacesConfigurator] Reading standard config org/apache/myfaces/resource/standard-faces-config.xml
| 17:46:34,142 INFO [FacesConfigurator] Reading config jar:file:/C:/Java/jboss-4.0.5.GA/server/default/tmp/deploy/tmp59795reg-ear-1.0.ear-contents/jboss-seam-1.1.jar!/META-INF/faces-config.xml
| 17:46:34,142 INFO [FacesConfigurator] Reading config jar:file:/C:/Java/jboss-4.0.5.GA/server/default/./tmp/deploy/tmp59795reg-ear-1.0.ear-contents/reg-web-1.0-exp.war/WEB-INF/lib/jboss-seam-1.1.jar!/META-INF/faces-config.xml
| 17:46:34,157 INFO [FacesConfigurator] Reading config /WEB-INF/faces-config.xml
| 17:46:34,376 WARN [LocaleUtils] Locale name in faces-config.xml null or empty, setting locale to default locale : pt_BR
| 17:46:34,720 INFO [StartupServletContextListener] ServletContext 'C:\Java\jboss-4.0.5.GA\server\default\.\tmp\deploy\tmp59795reg-ear-1.0.ear-contents\reg-web-1.0-exp.war\' initialized.
| 17:46:34,720 INFO [StartupServletContextListener] Serialization provider : class org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory
| 17:46:34,720 INFO [ServletContextListener] Welcome to Seam 1.1.0.GA
| 17:46:34,767 INFO [Initialization] Namespace: http://jboss.com/products/seam/framework, package: org.jboss.seam.framework, prefix: org.jboss.seam.core.framework
| 17:46:34,767 INFO [Initialization] Namespace: http://jboss.com/products/seam/jms, package: org.jboss.seam.jms, prefix: org.jboss.seam.jms
| 17:46:34,767 INFO [Initialization] Namespace: http://jboss.com/products/seam/drools, package: org.jboss.seam.drools, prefix: org.jboss.seam.drools
| 17:46:34,782 INFO [Initialization] Namespace: http://jboss.com/products/seam/remoting, package: org.jboss.seam.remoting, prefix: org.jboss.seam.remoting
| 17:46:34,782 INFO [Initialization] Namespace: http://jboss.com/products/seam/theme, package: org.jboss.seam.theme, prefix: org.jboss.seam.theme
| 17:46:34,798 INFO [Scanner] scanning: /C:/Java/jboss-4.0.5.GA/server/default/tmp/deploy/tmp59795reg-ear-1.0.ear-contents/reg-ejb-1.0.jar
| 17:46:34,814 INFO [Scanner] scanning: /C:/Java/jboss-4.0.5.GA/server/default/tmp/deploy/tmp59795reg-ear-1.0.ear-contents/jboss-seam-1.1.jar
| 17:46:34,829 INFO [Scanner] scanning: /C:/Java/jboss-4.0.5.GA/server/default/./tmp/deploy/tmp59795reg-ear-1.0.ear-contents/reg-web-1.0-exp.war/WEB-INF/lib/jboss-seam-1.1.jar
| 17:46:34,861 INFO [Initialization] Namespace: http://jboss.com/products/seam/drools, package: org.jboss.seam.drools, prefix: org.jboss.seam.drools
| 17:46:34,861 INFO [Initialization] Namespace: http://jboss.com/products/seam/remoting, package: org.jboss.seam.remoting, prefix: org.jboss.seam.remoting
| 17:46:34,861 INFO [Initialization] Namespace: http://jboss.com/products/seam/theme, package: org.jboss.seam.theme, prefix: org.jboss.seam.theme
| 17:46:34,861 INFO [Initialization] Namespace: http://jboss.com/products/seam/jms, package: org.jboss.seam.jms, prefix: org.jboss.seam.jms
| 17:46:34,861 INFO [Initialization] Namespace: http://jboss.com/products/seam/framework, package: org.jboss.seam.framework, prefix: org.jboss.seam.core.framework
| 17:46:34,861 INFO [Initialization] reading /WEB-INF/components.xml
| 17:46:35,017 INFO [Initialization] reading jar:file:/C:/Java/jboss-4.0.5.GA/server/default/tmp/deploy/tmp59795reg-ear-1.0.ear-contents/jboss-seam-1.1.jar!/META-INF/components.xml
| 17:46:35,032 INFO [Initialization] reading jar:file:/C:/Java/jboss-4.0.5.GA/server/default/./tmp/deploy/tmp59795reg-ear-1.0.ear-contents/reg-web-1.0-exp.war/WEB-INF/lib/jboss-seam-1.1.jar!/META-INF/components.xml
| 17:46:35,064 INFO [Initialization] reading properties from: /seam.properties
| 17:46:35,064 INFO [Initialization] reading properties from: /jndi.properties
| 17:46:35,079 INFO [Initialization] initializing Seam
| 17:46:35,079 INFO [Scanner] scanning: /C:/Java/jboss-4.0.5.GA/server/default/tmp/deploy/tmp59795reg-ear-1.0.ear-contents/reg-ejb-1.0.jar
| 17:46:35,548 INFO [Scanner] scanning: /C:/Java/jboss-4.0.5.GA/server/default/tmp/deploy/tmp59795reg-ear-1.0.ear-contents/jboss-seam-1.1.jar
| 17:46:37,220 INFO [Scanner] scanning: /C:/Java/jboss-4.0.5.GA/server/default/./tmp/deploy/tmp59795reg-ear-1.0.ear-contents/reg-web-1.0-exp.war/WEB-INF/lib/jboss-seam-1.1.jar
| 17:46:38,001 INFO [Component] Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init
| 17:46:38,095 INFO [Initialization] Installing components...
| 17:46:38,095 INFO [Component] Component: org.jboss.seam.core.exceptions, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Exceptions
| 17:46:38,095 INFO [Component] Component: org.jboss.seam.core.applicationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ApplicationContext
| 17:46:38,095 INFO [Component] Component: org.jboss.seam.core.conversationStack, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationStack
| 17:46:38,095 INFO [Component] Component: org.jboss.seam.remoting.messaging.subscriptionRegistry, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.remoting.messaging.SubscriptionRegistry
| 17:46:38,095 INFO [Component] Component: org.jboss.seam.core.isUserInRole, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.IsUserInRole
| 17:46:38,095 INFO [Component] Component: org.jboss.seam.core.redirect, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Redirect
| 17:46:38,111 INFO [Component] Component: org.jboss.seam.framework.currentDatetime, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.framework.CurrentDatetime
| 17:46:38,158 INFO [Component] Component: org.jboss.seam.core.switcher, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.Switcher
| 17:46:38,158 INFO [Component] Component: org.jboss.seam.core.conversation, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Conversation
| 17:46:38,158 INFO [Component] Component: org.jboss.seam.framework.currentDate, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.framework.CurrentDate
| 17:46:38,173 INFO [Component] Component: org.jboss.seam.core.facesMessages, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesMessages
| 17:46:38,173 INFO [Component] Component: org.jboss.seam.theme.themeSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.theme.ThemeSelector
| 17:46:38,173 INFO [Component] Component: org.jboss.seam.core.persistenceContexts, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.PersistenceContexts
| 17:46:38,173 INFO [Component] Component: org.jboss.seam.core.safeActions, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.SafeActions
| 17:46:38,173 INFO [Component] Component: org.jboss.seam.core.validation, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Validation
| 17:46:38,173 INFO [Component] Component: org.jboss.seam.core.businessProcessContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.BusinessProcessContext
| 17:46:38,173 INFO [Component] Component: org.jboss.seam.core.sessionContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.SessionContext
| 17:46:38,173 INFO [Component] Component: org.jboss.seam.core.messages, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.Messages
| 17:46:38,189 INFO [Component] Component: org.jboss.seam.core.conversationList, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationList
| 17:46:38,189 INFO [Component] Component: org.jboss.seam.core.conversationEntries, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationEntries
| 17:46:38,189 INFO [Component] Component: org.jboss.seam.core.facesPage, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.FacesPage
| 17:46:38,189 INFO [Component] Component: org.jboss.seam.core.pages, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Pages
| 17:46:38,189 INFO [Component] Component: org.jboss.seam.theme.theme, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.theme.Theme
| 17:46:38,189 INFO [Component] Component: org.jboss.seam.core.resourceBundle, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.ResourceBundle
| 17:46:38,204 INFO [Component] Component: org.jboss.seam.core.localeSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.LocaleSelector
| 17:46:38,204 INFO [Component] Component: org.jboss.seam.remoting.remotingConfig, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.remoting.RemotingConfig
| 17:46:38,204 INFO [Component] Component: org.jboss.seam.core.facesContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesContext
| 17:46:38,204 INFO [Component] Component: org.jboss.seam.core.httpError, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.HttpError
| 17:46:38,204 INFO [Component] Component: org.jboss.seam.core.uiComponent, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.UiComponent
| 17:46:38,204 INFO [Component] Component: org.jboss.seam.core.manager, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.core.Manager
| 17:46:38,204 INFO [Component] Component: org.jboss.seam.core.events, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Events
| 17:46:38,204 INFO [Component] Component: org.jboss.seam.core.userPrincipal, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.UserPrincipal
| 17:46:38,204 INFO [Component] Component: org.jboss.seam.core.interpolator, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Interpolator
| 17:46:38,220 INFO [Component] Component: org.jboss.seam.core.locale, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Locale
| 17:46:38,220 INFO [Component] Component: org.jboss.seam.core.eventContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.EventContext
| 17:46:38,220 INFO [Component] Component: org.jboss.seam.core.pageContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.PageContext
| 17:46:38,220 INFO [Component] Component: org.jboss.seam.core.conversationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationContext
| 17:46:38,220 INFO [Component] Component: org.jboss.seam.framework.currentTime, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.framework.CurrentTime
| 17:46:38,236 INFO [Component] Component: org.jboss.seam.core.expressions, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Expressions
| 17:46:38,236 INFO [Component] Component: org.jboss.seam.core.pojoCache, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.PojoCache
| 17:46:38,236 INFO [Initialization] done initializing Seam
| 17:46:38,345 INFO [EARDeployer] Started J2EE application: file:/C:/workspacePrototipos/Registration/reg-ear/target/reg-ear-1.0.ear
| 17:46:47,220 INFO [Events] no events.xml file found
| 17:46:47,314 INFO [Pages] no pages.xml file found
| 17:46:47,736 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.PRETTY_HTML' found, using default value true
| 17:46:47,736 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default value true
| 17:46:47,736 INFO [MyfacesConfig] Tomahawk jar not available. Autoscrolling, DetectJavascript, AddResourceClass and CheckExtensionsFilter are disabled now.
|
And that is my components.xml:
| <?xml version="1.0" encoding="UTF-8"?>
| <components xmlns="http://jboss.com/products/seam/components"
| xmlns:core="http://jboss.com/products/seam/core"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation=
| "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-1.1.xsd
| http://jboss.com/products/seam/components http://jboss.com/products/seam/components-1.1.xsd">
| <core:init jndi-pattern="reg-ear-1.0/#{ejbName}/local"/>
| </components>
|
I do have seam.properties in the root of the jar that contains the User entity.
Could it be a classpath problem? My ear is very similar to the one in
http://docs.jboss.com/seam/1.1GA/reference/en/html/configuration.html#d0e...
In my WEB-INF/lib I have:
| el-api.jar
| el-ri.jar
| jboss-seam.jar
| jboss-seam-ui.jar
| myfaces-api-1.1.4.jar
| myfaces-impl-1.1.4.jar and
| thirdparty-all.jar
|
|
| I´m using Seam 1.1GA and Jboss 4.0.5GA.
|
| Thanks in advance...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995135#3995135
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995135
19 years, 4 months