[jboss-user] [JBoss Seam] - Re: Issue with Seam and Tomcat 6 during tomcat startup

2007-03-19 Thread lle
Thanks Rich, According to your log snippet, you're using Tomcat 5.5 and not 6. I don't have any issues with Tomcat 5.5, only Tomcat 6. Again, thanks for your response. ly View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029506#4029506 Reply to the post : ht

[jboss-user] [JBoss Seam] - Re: Issue with Seam and Tomcat 6 during tomcat startup

2007-03-12 Thread lle
Hi Rich, I am very sure it is not an issue with port conflicts. I installed both versions of tomcat as standalone installation, not window services. For the behavior, as soon as I started Tomcat, after Seam has finished successfully initializing my application, then it dropped the application

[jboss-user] [JBoss Seam] - Re: Issue with Seam and Tomcat 6 during tomcat startup

2007-03-09 Thread lle
hi Michael, Did you have your jndi configured correctly? This is what I got in my log file of a successful Seam + Tomcat 5.5: 2007.03.09 14:29:08,808 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.LocalOnlyContextFactory, java.naming.factory

[jboss-user] [JBoss Seam] - Re: Issue with Seam and Tomcat 6 during tomcat startup

2007-03-09 Thread lle
Thank you all for your responses. MLH: I did get Seam 1.1.5 working with Mysql and Tomcat 5.5. The site apushadow gave definitely can help you out. Please describe your errors/configuration so we can help. Rich: I don't have "javaw.exe" processes when I run tomcat and I still get the error.

[jboss-user] [JBoss Seam] - Issue with Seam and Tomcat 6 during tomcat startup

2007-03-09 Thread lle
Hi all, I just upgraded my working webapps with Seam 1.1.5GA from Tomcat 5.5 to Tomcat 6 and I encountered this problem when starting up Tomcat 6: After initializing Seam successfully, Seam starts to undeploying/destroying application context and eventually closing the Hibernate session factory

[jboss-user] [JBoss Seam] - Re: explicit conversation id issue

2007-03-02 Thread lle
Thanks Gavin. It worked. I got confused when saw this in the documentation of 1.1.5GA anonymous wrote : | @Begin(id="entry#{params['blogId']}") | ... | So, I thought that's how to access the id in request param. I guess either I misunderstood the example or it is wrong in the documenta

[jboss-user] [JBoss Seam] - explicit conversation id issue

2007-03-01 Thread lle
Hi all, I am trying to begin a conversation with an explicit id sent as a HTTP request param. In my conversation-scoped bean, i have the following code: | @RequestParameter | private String conversationId; | | @Begin(id="#{conversationId}",join=true) @Create | public String findS

[jboss-user] [JBoss Seam] - Re: Explicit conversation id problem

2007-03-01 Thread lle
Hi Raffaele , Can you please explain what is the mis-alignment and why it doesn't work and how did you fix it with the boolean value? I am having some issue with explicit conversation Id and wondering if it is the same issue here. Thanks ly View the original post : http://www.jboss.com/index

[jboss-user] [JBoss Seam] - ajax4jsf commandLink and s:conversationPropagation

2006-12-29 Thread lle
Hello everyone, I am having trouble to get s:conversationPropagation working with an a4j:commandLink. I have a master/detail scenerio where a click on row of my master page will open a new window with detail information. This new window is opened through javascript and loaded with data throug

[jboss-user] [JBoss Seam] - Re: Could not instantiate Seam component error

2006-12-27 Thread lle
It's because initially that object is injected from another page. However, I have changed to use page action. Even if I removed the @In(required=false), the same exception occurs. I can provide a no-args constructor as suggested by hstang. However I'd like to understand the behavior of Seam to

[jboss-user] [JBoss Seam] - Re: Could not instantiate Seam component error

2006-12-27 Thread lle
Yes, my view does reference the context variable "selectedSession". 1. Since GASession is a Seam component, it will be instantiated by Seam even if the context variable already exists. Is that correct? 2. If I provide a default no-args constructor, this exception will go away? Then, do I ha

[jboss-user] [JBoss Seam] - Re: Could not instantiate Seam component error

2006-12-27 Thread lle
No, it doesn't because my app controls the instantiation of this class with some init values. I don't want Seam to create it. The context variable should point to an existing GASession with @DataModelSelection. Why does Seam need to instantiate this component? View the original post : htt

[jboss-user] [JBoss Seam] - Could not instantiate Seam component error

2006-12-27 Thread lle
Hi, I have a conversation scope action class, which has a bijectional conversation-scope object as a DataModelSelection. When I executed an ajax4jsf request (from an a4j:commandLink), I always get the following exception: org.jboss.seam.InstantiationException: Could not instantiate Seam compone

[jboss-user] [JBoss Seam] - Re: Question on using @DataModelSelection & open a page in a

2006-12-22 Thread lle
Thank you for your response. 1. I think I got no other choice then put a link in each column. I'll look at Trinidad tr:table to see if there's any other way. 2. s:link target doesn't work in my case since I need to control the look and feel of the new window. I used page action and it seems t

[jboss-user] [JBoss Seam] - Re: @LoggedInInterceptor

2006-12-21 Thread lle
Thanks for your response. I figured it out. It actually has nothing to do with my LoggedInInterceptor. It's due to the security constraint I set in web.xml for accessing .xhtml files directly and I put ".xhtml" in my javascript when opening a new window. Sorry, false alarm :-) Thanks. View

[jboss-user] [JBoss Seam] - @LoggedInInterceptor

2006-12-21 Thread lle
Hi, I have a LoggedInInterceptor class, which checks whether a user is logged before performing some action. >From my main page, I have a link, which opens a new window and do some other >action. When the new window opens, it always asks the user to type in the >user name and password eventhou

[jboss-user] [JBoss Seam] - Re: integration with Trinidad (ADF)

2006-12-21 Thread lle
Thanks for your response. I did try the ajax-trinidad jar file. However, the example still occurs. I found out why, it is because the view handler of ajax4jsf exists in the web.xml file. I had to remove that one too for it to work. I put a wiki page under the Trinidad master page. http://wi

[jboss-user] [JBoss Seam] - Re: Question on using @DataModelSelection & open a page in a

2006-12-21 Thread lle
Here are some relevant code snippet: main.xhtml (page with datatable and show details link): | | | | | | | | | | V | | | | | | | | | | | | | | | Account#{sess.account} |

[jboss-user] [JBoss Seam] - Question on using @DataModelSelection & open a page in a new

2006-12-21 Thread lle
hi all, In our application, there's this specific use case and I am trying to use @DataModelSelection and s:link. However, I might use them incorrectly, since it doesn't work. I have a datatable, backed by a @DataModel list. I would like something like a clickable list example. However, the u

[jboss-user] [JBoss Seam] - Getting error when binding a dataTable to a backbean compone

2006-12-19 Thread lle
Hi, I have a t:dataTable that binds to a backbean's component as follows: Here is part of the backing bean's code: @Name("alertssearch") | @Scope(ScopeType.SESSION) | @GALoggedIn | public class GASessionSearchAction { | | @In | private Session gadb; | @In(create=t

[jboss-user] [JBoss Seam] - Re: integration with Trinidad (ADF)

2006-12-19 Thread lle
here is my faces-config.xml: | http://java.sun.com/dtd/web-facesconfig_1_0.dtd";> | | | | |login |/home.xhtml | | | |main |/main.xhtml | | |error |/error.xhtml | | | | | | | |

[jboss-user] [JBoss Seam] - Re: integration with Trinidad (ADF)

2006-12-19 Thread lle
Hi, Yes, I followed the example on wiki and still got the exception. I checked my faces-config.xml many times and very sure there's no configuration of the view handler there, only in web.xml. Still got the exception... Here is my web.xml: | http://java.sun.com/xml/ns/javaee"; | xmlns:xs

[jboss-user] [JBoss Seam] - integration with Trinidad (ADF)

2006-12-18 Thread lle
Hi, Is there any of you successful in integrating Seam with Trinidad (ADF)? Seam reference document emphasizes on using Trinidad instead of Tomahawk. However, there is not much documentation or examples on how to integrate with this library. I followed the instructions on Trinidad Apache site

[jboss-user] [JBoss Seam] - Re: doesn't render the id attribute

2006-12-18 Thread lle
Hi Gavin, Can I get the fix once you finish? Thanks alot. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994825#3994825 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994825 __

[jboss-user] [JBoss Seam] - doesn't render the id attribute

2006-12-18 Thread lle
Hi, I have the following: ... The rendered html doesn't contain the id attribute. Is this a bug in Seam ui? I am currently using Seam 1.1GA, myfaces, and ajax4jsf. thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994818#3994818 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Can't get Seam managed persistance working in an app sco

2006-12-14 Thread lle
again, it got truncated. Gavin, Can I send it to your email instead? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994058#3994058 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994058 __

[jboss-user] [JBoss Seam] - Re: Can't get Seam managed persistance working in an app sco

2006-12-14 Thread lle
Sorry, forgot to mention that in my jboss-beans.xml, i got this: | | com.mysql.jdbc.Driver | jdbc:mysql://localhost:3306/ga_db | root | sadmin | java:/hibernateDatasource-mysql | 0 | 10 | 1000 | 10 | |

[jboss-user] [JBoss Seam] - Re: Can't get Seam managed persistance working in an app sco

2006-12-14 Thread lle
This is what I got in my components.xml (based on the hibernate2 example) | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994037#3994037 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=399403

[jboss-user] [JBoss Seam] - Re: Can't get Seam managed persistance working in an app sco

2006-12-14 Thread lle
I tried and it still didn't work. Same exception occurs. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994026#3994026 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994026 _

[jboss-user] [JBoss Seam] - Re: Can't get Seam managed persistance working in an app sco

2006-12-14 Thread lle
Thanks Gavin. I tried using SessionFactory.openSession() approach by having my application scope bean to read hibernate.cfg.xml file to build the SessionFactory. However, I got the following exception when startup Tomcat: | Caused by: org.hibernate.HibernateException: Could not find datasource

[jboss-user] [JBoss Seam] - Re: Can't get Seam managed persistance working in an app sco

2006-12-13 Thread lle
Hi, If i don't use ejb3, is there anything equivalent to @PersistenceContext? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993680#3993680 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993680 ___

[jboss-user] [JBoss Seam] - Re: Help with application scope bean

2006-12-13 Thread lle
Hi, I figured out at last. It's because my seam.properties resides in my WEB-INF but not inside my application.jar file. It worked now. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993674#3993674 Reply to the post : http://www.jboss.com/index.h

[jboss-user] [JBoss Seam] - Re: Seam + Tomcat + microcontainer without ejb3

2006-12-13 Thread lle
Thanks Gavin. The libraries under hibernate2 example worked for me. Thanks a lot. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993654#3993654 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993654 ___

[jboss-user] [JBoss Seam] - Help with application scope bean

2006-12-13 Thread lle
Hi, I am a newbie with Seam and am trying to convert my JSF application to use Seam without ejb3. I have an application scoped action object, which initialized a map of javabeans from the database, as below: | @Name("appManager") | @Scope(ScopeType.APPLICATION) | @Startup | public cla

[jboss-user] [JBoss Seam] - Re: Seam + Tomcat + microcontainer without ejb3

2006-12-13 Thread lle
Thanks Gavin. I downloaded the standalone microcontainer and included the jar files. The first exception disappeared but the second one (CNF: javax.jms.ExceptionListener) still occurred. Do you know where I can get the jar file to contain this class? PS: for some reason I don't want to get i

[jboss-user] [JBoss Seam] - Seam + Tomcat + microcontainer without ejb3

2006-12-12 Thread lle
Hi, I downloaded Seam 1.1CR2 and installed the jboss-seam-hibernate examples. Everything worked fine if I included hibernate-all.jar and jboss-ejb3-all.jar However, if I removed these 2 files and replace the hibernate-all.jar with the 4 jar files under hibernate/lib directory (ejb3-persistence