-
1. Re: seam booking example on WAS6.1
jbalunas.jbalunas.jboss.org Apr 11, 2008 7:57 PM (in response to ericcho)Hi Eric,
Can you provide some more info on your config?
- Do you have the EJB3 feature pack installed?
- What version of Seam are you running?
- Have you taken a look at the reference guide chapter on websphere integration?
Thanks,
Jay -
2. Re: seam booking example on WAS6.1
ericcho Apr 14, 2008 5:28 PM (in response to ericcho)Hi Jay,
Yes, I'm running WAS 6.1.0.15
EJB 3.0 feature pack 6.1.0.15I'm running SEAM v2.1.0.A1
and yes, I've followed the steps laid out on Chapter 28 of the reference guide.
I've been able to get the JPA example working but I'm encountering the exception from my post for both the booking example and the seam-gen example.
Thanks,
Eric -
3. Re: seam booking example on WAS6.1
jbalunas.jbalunas.jboss.org Apr 14, 2008 5:46 PM (in response to ericcho)Hi Eric,
Thanks for verifying those things. I do not remember seeing that issue when I first worked with websphere.
Here is a thread about the same error, but not on websphere.
http://www.seamframework.org/Community/SeamphaselistenerAndNoPhaseIdBoundToCurrentThread
Could you take a look at that and see if it solves your issue as well. If it does not, and it is a websphere specific issue please let us know.
Thanks,
Jay -
4. Re: seam booking example on WAS6.1
ericcho Apr 14, 2008 6:40 PM (in response to ericcho)Thanks for pointing me to that other thread.
I've taken out the jboss-seam.jar out of the ear/lib dir but left the same jar in the root of the ear.
Not sure if I've made a step forward but this is the exception I'm getting now:
[4/14/08 10:26:31:066 MDT] 00000020 ExceptionFilt E org.jboss.seam.web.ExceptionFilter doFilter handling uncaught exception javax.servlet.ServletException: org/jboss/seam/ui/component/UISeamCommandBase.getValueExpression(Ljava/lang/String;)Ljavax/el/ValueExpression; at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1186) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1011) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) ............... ---- Begin backtrace for Nested Throwables java.lang.NoSuchMethodError: org/jboss/seam/ui/component/UISeamCommandBase.getValueExpression(Ljava/lang/String;)Ljavax/el/ValueExpression; at org.jboss.seam.ui.component.UISeamCommandBase.getUrl(UISeamCommandBase.java:105) at org.jboss.seam.ui.renderkit.LinkRendererBase.doEncodeBegin(LinkRendererBase.java:26) at org.jboss.seam.ui.util.cdk.RendererBase.encodeBegin(RendererBase.java:79) at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:717)
I've looked through the jboss-seam-ui.jar and doesn't look like there is a getValueExpression method in the UISeamCommandBase or any of the parent classes.
Any ideas?
-
5. Re: seam booking example on WAS6.1
jbalunas.jbalunas.jboss.org Apr 14, 2008 7:32 PM (in response to ericcho)Some people have seen that issue if you have JSF 1.1 in the classpath.
Seam 2+ require JSF 1.2.
-
6. Re: seam booking example on WAS6.1
ericcho Apr 15, 2008 5:54 PM (in response to ericcho)getting closer...
i am now getting the following exception
[4/15/08 9:35:49:937 MDT] 0000001e viewhandler E Error Rendering View[/home.xhtml] javax.el.ELException: /home.xhtml: The class 'org.jboss.seam.security.Identity' does not have the property 'login'. at com.sun.facelets.compiler.AttributeInstruction.write(AttributeInstruction.java:53) at com.sun.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:39) at com.sun.facelets.compiler.UILeaf.encodeAll(UILeaf.java:149) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889) at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592)
suggestions?!
Thanks!
-
7. Re: seam booking example on WAS6.1
jbalunas.jbalunas.jboss.org Apr 15, 2008 8:03 PM (in response to ericcho)Was there any other cause listed below?
I'm assuming this is the straight example code - right?
-
8. Re: seam booking example on WAS6.1
ericcho Apr 16, 2008 8:34 PM (in response to ericcho)I also got this....
[4/15/08 10:21:18:166 MDT] 0000001e compiler E Compiler Initialization Error java.util.zip.ZipException: Bad file descriptor C:\IBM\WebSphere61\AppServer\profiles\AppSrv01\installedApps\ericcNode03Cell\Seam%20Booking.ear\jboss-seam-booking.jar at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java:238) at java.util.jar.JarFile.<init>(JarFile.java:169) at java.util.jar.JarFile.<init>(JarFile.java:107) at com.sun.facelets.util.Classpath.getAlternativeJarFile(Classpath.java:124) at com.sun.facelets.util.Classpath.search(Classpath.java:67)
it looks similar to this http://www.seamframework.org/Community/ProblemLoadingFaceletOnWebsphere
But I've replaced the facelets jar with the latest.... but no change.
Thanks for your help
-
9. Re: seam booking example on WAS6.1
ericcho Apr 16, 2008 8:34 PM (in response to ericcho)I forgot to mention.... yes... it's just the example (no mods)