-
15. Re: Seam 1.0.0.GA
williamhe Jun 25, 2006 11:11 PM (in response to gavin.king)sorry
The portal is to circulate of, is I make wrong -
16. Re: Seam 1.0.0.GA
irfanmohammed Jul 6, 2006 5:36 PM (in response to gavin.king)I am trying out jboss-seam-1.0.1.GA with jboss-4.0.4.GA. Out of the box things didnt work.
1. I had to change the ejb-jar.xml to<?xml version="1.0"?> <ejb-jar version="3.0" xmlns="http://java.sun.com/xml/ns/j2ee"> <enterprise-beans> </enterprise-beans> <assembly-descriptor> <interceptor-binding> <ejb-name>*</ejb-name> <interceptor-class>org.jboss.seam.ejb.SeamInterceptor</interceptor-class> </interceptor-binding> </assembly-descriptor> </ejb-jar>
2. I had to copy the jars from Jboss EJB 3.0 [jboss-EJB-3.0_RC8-FD/lib/ejb3.deployer/]jboss-annotations-ejb3.jar* jboss-ejb3.jar* jboss-ejb3x.jar*
3. Now I am running into the following issue with the register link.
Can someone please help me? Where does one create the link to the data source and how does the schema get created?
Thanks,
Irfan
org.jboss.seam.InstantiationException: Could not instantiate Seam component: register
at org.jboss.seam.Component.newInstance(Component.java:740)
at org.jboss.seam.Component.newInstance(Component.java:1315)
at org.jboss.seam.Component.getInstance(Component.java:1270)
at org.jboss.seam.Component.getInstance(Component.java:1253)
at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableR
esolver.java:44)
at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyE
LContext.java:134)
at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:65)
at com.sun.el.parser.AstValue.getTarget(AstValue.java:62)
at com.sun.el.parser.AstValue.getType(AstValue.java:55)
at com.sun.el.ValueExpressionImpl.getType(ValueExpressionImpl.java:180)
at com.sun.facelets.el.TagValueExpression.getType(TagValueExpression.jav
a:60)
at com.sun.facelets.el.LegacyValueBinding.getType(LegacyValueBinding.jav
a:94)
at org.apache.myfaces.renderkit._SharedRendererUtils.findUIOutputConvert
er(_SharedRendererUtils.java:55)
at org.apache.myfaces.renderkit.RendererUtils.findUIOutputConverter(Rend
ererUtils.java:324)
at org.apache.myfaces.renderkit.RendererUtils.getConvertedUIOutputValue(
RendererUtils.java:643)
at org.apache.myfaces.renderkit.html.HtmlSecretRendererBase.getConverted
Value(HtmlSecretRendererBase.java:103)
at javax.faces.component.UIInput.getConvertedValue(UIInput.java:289)
at javax.faces.component.UIInput.validate(UIInput.java:265)
at javax.faces.component.UIInput.processValidators(UIInput.java:144)
at javax.faces.component.UIComponentBase.processValidators(UIComponentBa
se.java:417)
at javax.faces.component.UIForm.processValidators(UIForm.java:68)
at javax.faces.component.UIComponentBase.processValidators(UIComponentBa
se.java:417)
at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:14
2)
at org.apache.myfaces.lifecycle.LifecycleImpl.processValidations(Lifecyc
leImpl.java:240)
at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java
:76)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:106)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter
.java:30)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
lter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:178)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
yAssociationValve.java:175)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
e.java:74)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
rocessConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor
kerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.naming.NameNotFoundException: jboss-seam-booking not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at org.jboss.seam.Component.instantiate(Component.java:781)
at org.jboss.seam.Component.newInstance(Component.java:736)
... 46 more
-
17. Re: Seam 1.0.0.GA
pmuir Jul 7, 2006 4:08 AM (in response to gavin.king)You shouldn't need to do either (1) or (2) you mention to get Seam examples to work. Did you follow http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamInstallation, specifically using the JEMS installer NOT the JBoss AS installer with ejb3 profile? Gavin's instructions at the top of this post are also correct.
-
18. Re: Seam 1.0.0.GA
jbossjbh Jul 13, 2006 1:14 PM (in response to gavin.king)Installed via JEMS using ejb3 profile, everything works great.
Have a question though. The wiki states the following:
"Install the "ejb3" configuration using the wizard, "ejb3-clustered" if you need to run it on a cluster or "portal", if you want to use Seam to create portlets."
My question is, I've installed using the ejb3 profile, if I want to do portal development do I need to use the portal profile in addition to the ejb3 and in place of?
Many thanks,
Jon -
19. Re: Seam 1.0.0.GA
gavin.king Jul 13, 2006 1:20 PM (in response to gavin.king)No, just install the portal profile.
-
20. Re: Seam 1.0.0.GA
cja987 Aug 21, 2006 12:30 PM (in response to gavin.king)This announcement is out of date now since there's an announcement for 1.01GA. However it's stuck to the page as announcements always are, and since phpBB doesn't offer any option to view more posts per page or RSS feeds (or much of anything beyond gaping security holes) it's taking up real-estate space in this pretty busy forum.
Any way to unstick it? -
21. Re: Seam 1.0.0.GA
mzeijen Aug 23, 2006 5:40 AM (in response to gavin.king)please, get it out of here...