[jboss-user] [JBoss Seam] - Re: seam cannot reference EJB, why?

2007-05-15 Thread hsiung
Hi Titou thanks for your enhancement. I love Seam but for me too it is a show stopper if it does not support the REMOTE feature (which includes the ability to deploy Seam components on different J2EE modules). However I have some hope. Christian Bauer from the Seam team told me that the REMOT

[jboss-user] [JBoss Seam] - Re: seam cannot reference EJB, why?

2007-05-14 Thread titou09
Alain, we reached the same point and this is a major point for us to NOT use seam all the way (This is the only problem with seam we see in fact...) The problem is the same if you use POJOs instead of EJB3 and try to isolate those POJOs in an utiliy jar deployed in your ear, and keep only the "s

[jboss-user] [JBoss Seam] - Re: seam cannot reference EJB, why?

2007-05-10 Thread hsiung
I solved the problem now. The solution is to use EAR and package the jboss-seam.jar library in the EAR instead of deploying JAR and WAR without an EAR and having jboss-seam.jar twice. The actual implementation of Seam does NOT support the separation of Web container and EJB container. When using

[jboss-user] [JBoss Seam] - Re: seam cannot reference EJB, why?

2007-04-28 Thread hsiung
the content of the ejb jar is - jndi-properties | - META-INF/seam.properties | - META-INF/ejb-jar.xml | - META-INF/persistence.xml | - META-INF/Manifest.mf | - com/ideartis/jee/fbn/Booking.class | - com/ideartis/jee/fbn/BookingBean.class | - com/ideartis/jee/fbn/ View the origina

[jboss-user] [JBoss Seam] - Re: seam cannot reference EJB, why?

2007-04-28 Thread petemuir
Show the contents of FBN-EJB.jar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041659#4041659 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041659 ___ jboss-user mailing lis

[jboss-user] [JBoss Seam] - Re: seam cannot reference EJB, why?

2007-04-28 Thread hsiung
here is the startup log in which Seam scans the ejb jar: 20:03:09,933 INFO [ServletContextListener] Welcome to Seam 1.2.1 | 20:03:09,953 INFO [Scanner] scanning: /D:/opt/jboss-4.0.5/server/default/./tmp/deploy/tmp1148FBN-app.ear-contents/FBN-JSF-exp.war/WEB-INF/lib/jboss-s | eam.jar | 20:0

[jboss-user] [JBoss Seam] - Re: seam cannot reference EJB, why?

2007-04-27 Thread petemuir
Can you post the startup log for one where it does scan your ejb jar? As I don't use IDEA and do use the packaging structure we recommend you follow (that generated by seam-gen) I can't really be of much help in isolating where your problem is occurring - you seem to have the right files in the

[jboss-user] [JBoss Seam] - Re: seam cannot reference EJB, why?

2007-04-27 Thread hsiung
Hi Peter sorry to disturbe you again. I just wanted to clean up some issues. "petemuir" wrote : | I must admit I haven't the first clue as to how IDEAs packaging stuff works, and from your startup log you seem to have some jars in odd places being scanned (outside the jboss deploy directory)

[jboss-user] [JBoss Seam] - Re: seam cannot reference EJB, why?

2007-04-27 Thread petemuir
My apologies, it's fine in META-INF, I missed that change! Your bookingBean component would be shown in the list of components installed if it were being. I must admit I haven't the first clue as to how IDEAs packaging stuff works, and from your startup log you seem to have some jars in odd pl

[jboss-user] [JBoss Seam] - Re: seam cannot reference EJB, why?

2007-04-27 Thread hsiung
I just put the seam.properties in the root instead of under META-INF directory of the JAR deployed on the EJB container but.. always the same exception:-( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041428#4041428 Reply to the post : http://www.jboss.com/

[jboss-user] [JBoss Seam] - Re: seam cannot reference EJB, why?

2007-04-27 Thread hsiung
Ref Manual Seam 1.2.1GA p 192 anonymous wrote : There is one final item you need to know about. You must place a seam.properties, METAINF/ | seam.properties or META-INF/components.xml file in any archive in which your Seam components are | deployed I misunderstood the sentence so that I have

[jboss-user] [JBoss Seam] - Re: seam cannot reference EJB, why?

2007-04-27 Thread hsiung
I have the empty seam.properties file in META-INF directory of the JAR deployed on the EJB container. As well as another seam.properties in WEB-INF of the WAR for the web container. How can I see that the bookingBean seam component is not loaded? Shall I put the seam.properties file outside the ME

[jboss-user] [JBoss Seam] - Re: seam cannot reference EJB, why?

2007-04-27 Thread petemuir
The seam.properties file MUST be in the root of your jar - can you give me a link to the section of the ref manual that says it must in META-INF and I'll fix it :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041415#4041415 Reply to the post : http://www.

[jboss-user] [JBoss Seam] - Re: seam cannot reference EJB, why?

2007-04-27 Thread petemuir
The bookingBean isn't being loaded. Make sure you have a seam.properties file in the root your jar which you package your components. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041390#4041390 Reply to the post : http://www.jboss.com/index.html?module=bb

[jboss-user] [JBoss Seam] - Re: seam cannot reference EJB, why?

2007-04-27 Thread hsiung
my startup log: 00:24:54,296 INFO [ServletContextListener] Welcome to Seam 1.2.1 | 00:24:54,336 INFO [Scanner] scanning: /D:/Ideartis/Software-assets/FBN/FBN-EJB/jboss-seam.jar | 00:24:54,376 INFO [Scanner] scanning: /D:/opt/jboss-4.0.5/server/default/./tmp/deploy/tmp54865FBN-JSF-exp.war/W

[jboss-user] [JBoss Seam] - Re: seam cannot reference EJB, why?

2007-04-27 Thread petemuir
That all looks basically correct to me. Show your startup log from where it says Welcome to Seam to application started View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041303#4041303 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mod

[jboss-user] [JBoss Seam] - Re: seam cannot reference EJB, why?

2007-04-26 Thread hsiung
yes the interface of the SFSB declares the setters and getters already public interface Booking { | .. | public String getDepartureAirport(); | public void setDepartureAirport(String departureAirport); | .. | View the original post : http://www.jboss.com/index.html?m

[jboss-user] [JBoss Seam] - Re: seam cannot reference EJB, why?

2007-04-26 Thread petemuir
make sure getters and setters for departureAirport are on the interface for the SFSB. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041197#4041197 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041197

[jboss-user] [JBoss Seam] - Re: seam cannot reference EJB, why?

2007-04-26 Thread hsiung
You're right, thank you. After I correct the name I still got the same exception. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041179#4041179 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041179 _

[jboss-user] [JBoss Seam] - Re: seam cannot reference EJB, why?

2007-04-26 Thread dilator
It could be: #{bookingBean.departureAirport} != @Name("bookingbean") View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041069#4041069 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041069 _