[jboss-user] [JBoss Seam] - Re: PersistenceException during testNG unit test

2007-01-24 Thread asookazian
If anyone can please answer the datasource problem, I'd greatly appreciate it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4006069#4006069 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4006069

[jboss-user] [JBoss Seam] - Re: PersistenceException during testNG unit test

2007-01-24 Thread asookazian
problem resolved by moving persistence.xml around into various folders in Eclipse. now getting HibernateException: could not find datasource. I am referencing the persistence unit (Entity Manager) as follows: @Configuration(beforeTestClass=true) | public void init() | { |

[jboss-user] [JBoss Seam] - running testNG test suite in J2SE envmt (w/o JNDI)

2007-01-25 Thread asookazian
I am getting following exception when exec'ing following code in testNG test case: @Configuration(beforeTestClass=true) public void init() { emf = Persistence.createEntityManagerFactory(RSDB); } javax.persistence.PersistenceException: org.hibernate.HibernateException: Could

[jboss-user] [JBoss Seam] - Re: Seam 2.0 BETA

2007-07-05 Thread asookazian
As far as SSO is concerned, when is the JBoss Federated SSO integration with Seam going to be available (in what version)? Are there any recommended techniques or libraries to use for SSO and/or Kerberos authentication? View the original post :

[jboss-user] [JBoss Seam] - Re: Seam 2.0 BETA

2007-08-01 Thread asookazian
Where can we find guidelines concerning best practices when designing/developing SEAM apps (e.g., when to use stateless SB's rather than stateful as it seems conversations require stateful SB's). And the SEAM books don't cover IDE integration much at all... View the original post :

[jboss-user] [JBoss Seam] - Re: Seam 2.0 BETA

2007-08-01 Thread asookazian
and what about integration with JBoss federated SSO or other SSO frameworks/software like PingFederated and Quest Vintela??? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069824#4069824 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Error Running Basic Generated Tests From Documentation T

2007-08-02 Thread asookazian
I am experiencing this problem as well for running the testNG test suite for the hotel booking example from SEAM 1.2.1. where/how do you run ant test? in eclipse IDE? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4070229#4070229 Reply to the post :

[jboss-user] [JBoss Seam] - Red Hat Seam training???

2007-08-02 Thread asookazian
when will the following courses from Red Hat be available??? RHD460 - Intermediate SEAM (Coming Soon) RHD170 - SEAM Essentials (Coming Soon) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4070231#4070231 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Red Hat Seam training???

2007-08-02 Thread asookazian
has it been decided what version of Seam will be used to teach the material in the course(s)? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4070294#4070294 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4070294

[jboss-user] [Security JAAS/JBoss] - authorizing a user login via LdapLoginModule and JBossSX

2006-11-13 Thread asookazian
I have successfully authenticated against AD/LDAP using JBossSX and LdapLoginModule in a web app. Need to get authorization working now for EJB access for particular roles. Was able to read memberOf 'cn=' values in the attributes returned aftern authentication using jGuard. Anybody know any

[jboss-user] [Installation, Configuration Deployment] - unable to access web app on Linux w/ Jboss from remote deskt

2007-06-22 Thread asookazian
My co-worker has successfully installed and deployed a WAR on Linux Fedora 6 w/ JBoss 4.2. Apache is not installed (no mod_jk). The app runs fine on the localhost:8080 on the Linux box. We can't hit the URL from another client (Windows machine running IE or firefox) on the network. What do

[jboss-user] [Installation, Configuration Deployment] - Re: unable to access web app on Linux w/ Jboss from remote d

2007-06-22 Thread asookazian
is the following correct? C:\[JBoss install directory]\bin\run.bat -c default -b 0.0.0.0 why isn't this done in the config's by default? seems like you shouldn't have to do this post-install... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4056964#4056964

[jboss-user] [JBoss Seam] - using a popup window with a dataTable

2007-10-08 Thread asookazian
need to allow user to enter comments per row via a popup modal window. anybody done this and what's the best way to implement? I need to be able to track/store the String they enter for each row in a h:dataTable. In this use case, user will be able to enter multiple comments for n rows prior

[jboss-user] [JBoss Seam] - Re: Ajax4jsf UnboundedFifoBuffer

2007-10-09 Thread asookazian
so what is the official fix to the UnboundedFifoBuffer exception? I'm getting this as well after migrating the Seam booking app from 4.0.5.GA to 4.2.1.GA with Seam 1.2.1.GA. It happens when I'm entering data into the inputText fields in the register use case screen. I read this entire thread

[jboss-user] [JBoss Seam] - Re: Ajax4jsf UnboundedFifoBuffer

2007-10-09 Thread asookazian
I reproduced the exception: | Exception during request processing: javax.servlet.ServletException: org.apache.commons.collections.UnboundedFifoBuffer | in a Seam app using JBoss 4.0.5.GA and Seam 1.2.1.GA by adding the following to my build.xml for a seam-gen'd app: | copy

[jboss-user] [JBoss Seam] - Re: Seam nightly builds

2007-10-09 Thread asookazian
When is 2.0.0.GA due for release?? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4093210#4093210 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4093210 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - You must specify org.jboss.seam.core.init.jndiPattern or use

2007-10-13 Thread asookazian
JBoss 4.2.1.GA Seam 2.0.0.CR2 trying to deploy unaltered hotel booking example and getting the following exception while deploying in JBoss. I found another thread on this same exception in this forum but GKing recommended adding core:ejb/ to the components.xml I believe which is not

[jboss-user] [JBoss Seam] - Re: You must specify org.jboss.seam.core.init.jndiPattern or

2007-10-13 Thread asookazian
well I am unzipping 4.2.1 and 2.0.0.CR2 right now. it takes shithouse Vista about an hour to unzip JBoss. what do you mean by path to the unzipped AS? I had it set to C:\jboss-4.2.1.GA I believe and the EAR was placed in ...\default\deploy. View the original post :

[jboss-user] [JBoss Seam] - Re: You must specify org.jboss.seam.core.init.jndiPattern or

2007-10-13 Thread asookazian
well I used WinRAR and it extracted much faster. anyways, thanks, exception is no longer happening. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4094930#4094930 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094930

[jboss-user] [JBoss Seam] - faces-config.xml is missing in booking example?

2007-10-13 Thread asookazian
Seam 2.0.0.CR2 I did a search and several of the other example projects have a faces-config.xml in the resources folder. Why is this? the booking example in 1.2.1.GA had a faces-config.xml. Also, I want to start using facestrace to trace JSF lifecycle info:

[jboss-user] [JBoss Seam] - Re: faces-config.xml is missing in booking example?

2007-10-13 Thread asookazian
Not sure if this facestrace-0.8.1.jar is compatible with Eclipse 3.2.2 and JBoss 4.2.1.GA and Seam 2.0.0.CR2 or not it states in the instructions to place the ft:trace/ tag at the end of your JSF file. Trying to use facestrace with main.seam, when I navigate to main.seam, I get the

[jboss-user] [JBoss Seam] - Re: Seam nightly builds

2007-10-19 Thread asookazian
JIRA for 2.0.0.GA states 53 of 53 complete. good job. when can we download it? it's not available yet on http://labs.jboss.com/jbossseam/download/index.html View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4097077#4097077 Reply to the post :

[jboss-user] [JBoss Seam] - Re: document.getElementById() problem with JSF/Seam

2007-10-19 Thread asookazian
thx for the reply. It seems you're right based on the view source (HTML rendered) in IE: input id=mainForm:hotels:3:hideme1 type=hidden name=mainForm:hotels:3:hideme1 /span id=mainForm:hotels:3:bigoutbigout/span I don't know why the hidden field's value (hideme) is not showing above. val1

[jboss-user] [JBoss Seam] - document.getElementById() problem with JSF/Seam

2007-10-18 Thread asookazian
I noticed that a Javascript function I have inside a xhtml page could not reference/find the h:inputHidden field by ID unless it was not embedded inside a dataTable. I need to use that function to get the value of a inputHidden field inside a dataTable. Any rules about this? The function

[jboss-user] [JBoss Seam] - accessing hidden field values in a SFSB

2007-10-22 Thread asookazian
does the scope of the SFSB matter when you're trying to access hidden field values from a .xhtml page? I know that Seam defaults to conversation scope if you don't set it explicitly (which is the case in this SFSB) but does that affect retrieval of the hidden field values via the FacesMessage

[jboss-user] [JBoss Seam] - Re: accessing hidden field values in a SFSB

2007-10-22 Thread asookazian
I tried accessing the rowIndex, for example, in the SFSB via the SessionContext Seam object and that returned null as well... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4097606#4097606 Reply to the post :

[jboss-user] [JBoss Seam] - Re: accessing hidden field values in a SFSB

2007-10-22 Thread asookazian
thx for reply. I tried the input type=hidden .../ as below, but the setter methods are still not being called for these hidden fields. The way I have to reference the hidden fields is different now (no a4jForm prepended to it). setNoteText() is being called ok. !DOCTYPE composition PUBLIC

[jboss-user] [JBoss Seam] - Re: accessing hidden field values in a SFSB

2007-10-22 Thread asookazian
ok thx bro. your 2nd suggestion worked: FacesContext fc = FacesContext.getCurrentInstance(); | Map map = fc.getExternalContext().getRequestParameterMap(); | String rowIndex = (String) map.get(a4jForm:rowIndex); | log.info(rowIndex = + rowIndex);

[jboss-user] [JBoss Seam] - passing variables to a SFSB method from JSF component

2007-10-22 Thread asookazian
Is it possible to pass variables to a SFSB from a JSF as follows?: h:column | f:facet name=headerAccount Approved?/f:facet | | h:selectOneRadio value=#{myRow[1].icomsAccountApproved}

[jboss-user] [JBoss Seam] - Re: passing variables to a SFSB method from JSF component

2007-10-24 Thread asookazian
thx, my EL syntax get's screwy sometimes! I ended up using a javascript solution b/c of the modalPanel situation (I believe the rendered code only gets called when the JSF is rendered, so it doesn't happen when the modalPanel closes). View the original post :

[jboss-user] [JBoss Seam] - how to handle a form with input in modalPanel?

2007-10-24 Thread asookazian
I was posting on richFaces users forum but no luck. How can I implement this use case in JSF/Seam? Does anybody else use a modalPanel with inputText populated on open? Is there a Seam example of the following use case?: 1) multiple column dataTable 2) user clicks 'no' on a radioButton in a

[jboss-user] [JBoss Seam] - Re: how to handle a form with input in modalPanel?

2007-10-24 Thread asookazian
ok I am planning on solving this problem using Seam Remoting (AJAX). There is an onshow event handler attribute for the rich:modalPanel component. The a4j:form is inside this modalPanel. I will call the javascript function that will call the SB method annotated with @WebRemote that will

[jboss-user] [JBoss Seam] - Re: how to handle a form with input in modalPanel?

2007-10-25 Thread asookazian
thx for reply but this didn't work. I tried using it w/ and w/o the ajaxRendered attribute and placed a stop in getter method in debugger. still not firing getter when modalpanel opens... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4098910#4098910 Reply

[jboss-user] [JBoss Seam] - clickable dataTable problem

2007-10-26 Thread asookazian
So I have a clickable dataTable that's based on a join of two tables. There is a submit button for each row of the dataTable. I can't use the @DataModelSelection annotation (commented below) b/c the List does not consist of only one Entity class, it's based on two. How can I identify which

[jboss-user] [JBoss Seam] - Re: clickable dataTable problem

2007-10-27 Thread asookazian
thx bro. I'll look into this. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4099596#4099596 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4099596 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: clickable dataTable problem

2007-10-29 Thread asookazian
[EMAIL PROTECTED] wrote : asookazian wrote : So I have a clickable dataTable that's based on a join of two tables. There is a submit button for each row of the dataTable. I can't use the @DataModelSelection annotation (commented below) b/c the List does not consist of only one Entity class

[jboss-user] [JBoss Seam] - injecting SFSB's and naming conventions

2007-10-31 Thread asookazian
I have a SFSB with the following annotation: | @Stateful | @Scope(ScopeType.SESSION) | @Name(noteAction) | public class NoteAction implements NoteLocal when I reference that SFSB in another SFSB as follows: | @In(required=false) | private NoteAction noteAction; I get the following

[jboss-user] [JBoss Seam] - Re: injecting SFSB's and naming conventions

2007-10-31 Thread asookazian
with the following could in the main SFSB: | @In(create=true) | private NoteLocal myNoteAction; I get this exception: @In attribute requires non-null value: securityAuditAction.myNoteAction when I navigate to the xhtml page... View the original post :

[jboss-user] [JBoss Seam] - Re: injecting SFSB's and naming conventions

2007-10-31 Thread asookazian
Thx for the help. Must be first time I've injected a SB into another SB... @In(create=true) | private NoteAction noteAction; above doesn't work. | @In(create=true) | private NoteAction myNoteAction; | above doesn't work. | @In(create=true) |

[jboss-user] [JBoss Seam] - Factory pattern and CRUD operations

2007-10-31 Thread asookazian
So one of the tables/entities is being updated in the table after I submit my use case for a particular employee/row. I have not coded any explicit calls to the DAO methods. The submit() method in my SFSB simply has a log4j output statement. So how is the update transaction actually

[jboss-user] [JBoss Seam] - Re: Factory pattern and CRUD operations

2007-10-31 Thread asookazian
when I said serialized in server.log, this is what I was referring to: 2007-10-31 16:44:38,242 DEBUG [org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager] Saving session state to:

[jboss-user] [JBoss Seam] - GWT-Ext or Ext JS with Seam apps?

2007-11-01 Thread asookazian
anybody using Ext JS? I looked at the video and examples on www.extjs.com and was very impressed by some of the features. Seam 2.0 provides GWT integration and GWT-Ext is a wrapper for Ext JS. The re-sizeable columns in the grid and visual cues for edited cells are very cool among many other

[jboss-user] [JBoss Seam] - need help passing UI params to SFSB

2007-11-01 Thread asookazian
so I tried @RequestParameter with pages.xml config and failed (value was not coming thru, so it was null). now I'm trying the regular JSF way per pg. 292 of the Geary/horstmann 2nd edition. Anything wrong with the following code? this doesn't work either (I'm viewing the params object values

[jboss-user] [JBoss Seam] - Re: Seam 2.0.0.GA is out

2007-11-06 Thread asookazian
The migration2seam.txt seems to be aimed at user going from Seam1.2.1 to Seam2.0.0.GA. What about if you need to upgrade from 2.0.0.CR2 or CR3 to 2.0.0.GA? If we used seam-gen to create the project, should we seam-gen again using 2.0.0.GA and modify/add files accordingly? View the original

[jboss-user] [JBoss Seam] - how to change font in Jboss seam debug page stack trace?

2007-11-06 Thread asookazian
how to change font in Jboss seam debug page stack trace portion? it's hard to read that font and size... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102303#4102303 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102303

[jboss-user] [JBoss Seam] - Re: java.lang.InstantiationException with message:

2007-11-06 Thread asookazian
Prior to release 1.0.4, none of the standard Log implementations were Serializable. If you are using such a release and have a Serializable class with a member that is of type Log then it is necessary to declare that member to be transient and to ensure that the value is restored on

[jboss-user] [JBoss Seam] - Re: how to change font in Jboss seam debug page stack trace?

2007-11-07 Thread asookazian
ok, thx I see it. I'm referring to the font in the stack trace (exception) portion of that debug screen. it's really a minor point... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102611#4102611 Reply to the post :

[jboss-user] [JBoss Seam] - jboss-seam.jar in default/lib?

2007-11-08 Thread asookazian
why isn't the jboss-seam.jar as part of the JBoss 4.2.1.GA distro in the default/lib folder? Seam is a JBoss product. So most folks deploy the Seam jar's as part of the EAR??? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4103143#4103143 Reply to the post :

[jboss-user] [Clustering/JBoss] - entity caching

2008-09-25 Thread asookazian
referring to this config guide for EAP 4.3: http://www.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/4.3.0.cp02/html-single/Server_Configuration_Guide/index.html#Clustered_Entity_EJBs-Entity_Bean_in_EJB_3.0 how critical is entity caching for EJB 3 entity classes? i have set up a 2

[jboss-user] [Clustering/JBoss] - INSTRUCTIONS FOR JBOSS 2 NODE HORIZONTAL CLUSTER INSTALL AND

2008-09-25 Thread asookazian
# SUBJECT:INSTRUCTIONS FOR JBOSS 2 NODE HORIZONTAL CLUSTER INSTALL AND CONFIG ON WINDOWS OS 32-bit AUTHOR: A SOOKAZIAN DATE: 9/19/2008 VERSION:1.0.0 INTRO: This

[jboss-user] [Clustering/JBoss] - Re: Problems with JBoss clustering

2008-09-27 Thread asookazian
agohar wrote : Please note that another cluster is already running on the same network with 5 servers in it and it works fine. and i am looking to run both of these clusters in parallel. | when you say you are trying to run both of these clusters in parallel do you want all servers to join

[jboss-user] [Clustering/JBoss] - Re: JBoss 4.0.5.GA Shutdown suddenly

2008-09-27 Thread asookazian
littlefish wrote : case detail: | | -Using mod_jk with two AIX JBoss 4.0.5 GA server | | -Suddenly shutdown at the same time, without any shutdown log | | -The server log are show that they are running the same process before they shutdown | | Any one meets the same symptom?

[jboss-user] [Clustering/JBoss] - Re: How to call two jboss instances in java code

2008-09-27 Thread asookazian
is this a clustered envmt? two days records of what? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4179188#4179188 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4179188 ___

[jboss-user] [Clustering/JBoss] - Re: entity caching

2008-09-27 Thread asookazian
according to EJB 3 in action, the syncing happens at any of the following times (depends on app server implementation of syncing/caching): 1) end of EJB transaction 2) end of EJB method 3) when EJB container shuts down (node fails) so of these 3 possibilities, what does JBoss do? View the

[jboss-user] [Clustering/JBoss] - Re: EJB3 Injection and HA-JNDI

2008-09-27 Thread asookazian
as far as cluster-enabling a Seam (EJB 3) app, all you need to do is the following: 1) add to web.xml 2) add @Clustered to your stateful session beans you can also configure your entity classes to be cached using Hibernate 2nd level cache. But as long as you do the two steps above, you don't

[jboss-user] [Clustering/JBoss] - Re: How to identify partition startup/shutdown

2008-09-27 Thread asookazian
anellanat wrote : Are there any callbacks/notifications issued by JBoss when a partition is started/closed i.e. when the 'first' node joins the partition and the 'last' node leaves the partition? How can my application receive/subscribe to them? | | My application is deployed as a JAR in a

[jboss-user] [Clustering/JBoss] - Re: Controlled Singleton MBean failed to become master

2008-09-27 Thread asookazian
http://www.jboss.com/index.html?module=bbop=viewtopict=55794 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4179194#4179194 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4179194

[jboss-user] [JBoss Seam] - getting ADsPath via Seam identity object

2008-01-29 Thread asookazian
is this possible? (not very proficient with AD, so not sure what it's called exactly - JNDI/LDAP node path to a user or group??) how to extract the following info from the Seam identity object or do we have to use JNDI/LDAP query to do that based on username only? example:

[jboss-user] [JBoss Seam] - SMPC and could not enlist in transaction exception

2008-02-01 Thread asookazian
I'm not sure exactly what the root cause of this is and I'll try my best to explain this in detail. I had added three SMPC's in my components.xml as follows (and everything as far as transaction/persistence was working fine): persistence:managed-persistence-context name=CoxIMEntityManager

[jboss-user] [JBoss Seam] - Re: SMPC and could not enlist in transaction exception

2008-02-01 Thread asookazian
according to section 8.3.1 of the Seam 2.0.0.GA ref doc, the example refers to a bookingDatabase for the SMPC tag config in components.xml. What is the recommended best practice for handling situations like my post above where you need SMPC (for whatever reason, say so your conversation's

[jboss-user] [JBoss Seam] - Re: SMPC and could not enlist in transaction exception

2008-02-01 Thread asookazian
Is it correct to assume that create=true is unnecessary for the @In annotation below b/c it is already in the components.xml (auto-create=true)?? SecurityAuditAction: package com.cox.beans.session; | | import java.sql.Timestamp; | import java.util.ArrayList; | import java.util.Date;

[jboss-user] [Security JAAS/JBoss] - using Active Directory for Authorization in Seam apps

2008-02-02 Thread asookazian
we have several Seam apps that will need a security solution involving using AD for authentication and authorization. Authentication is ok (we're using NTLM with IE browsers). We need advice for authorization. Our security model involves having the owner's of the applications add members

[jboss-user] [JBoss Seam] - Re: SMPC and could not enlist in transaction exception

2008-02-04 Thread asookazian
[EMAIL PROTECTED] wrote : 1) = 1 SMPC per db (unless you use something like Shards or Metamatrix) | why would you ever need more than one SMPC per db? I can understand having 1 or 2 SMPC's for 2 db's if the db's are on the same server... anonymous wrote : 2) I'm not 100% sure, but I think

[jboss-user] [JBoss Seam] - Re: SMPC and could not enlist in transaction exception

2008-02-04 Thread asookazian
After doing some root-cause analysis I was able to reproduce the behavior with a simpler set of code as below. The key thing here is that by default, the transaction type in EJB3/JPA is REQUIRES. If you set getNoteLogList() and getPeers() methods' transaction types to REQUIRES_NEW, the

[jboss-user] [JBoss Seam] - GUI testing tools for Seam apps

2008-02-05 Thread asookazian
anybody used this tool? http://www.theserverside.com/news/thread.tss?thread_id=48338 Froglogic Squish 3.3 are there any good equivalent tools (open source) for use with Seam? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126849#4126849 Reply to the post :

[jboss-user] [EJB 3.0] - Re: EJB Local Home in EJB 3.0

2008-02-07 Thread asookazian
We are using Seam 2.0 with JBoss 4.2.1.GA. In EJB3 session beans, you only need a local interface and the SFSB/SLSB implementation class. There is no need for LocalHome interface with EJB3 as far as I know. example: @Stateful | @Name(orderAction) //@Name is Seam specific annotation |

[jboss-user] [JBoss Seam] - Re: Error running Seam Examples with JBoss-5

2008-02-09 Thread asookazian
with the same version of Seam and JBoss, I am able to start JBoss successfully but deployment of booking EAR is not successfull: 2008-02-09 20:13:17,942 INFO [javax.servlet.ServletContextListener] Welcome to Seam 2.0.1.GA | 2008-02-09 20:13:17,947 DEBUG

[jboss-user] [JBoss Seam] - entity bean reference in seam setup (seam-gen)

2008-02-12 Thread asookazian
during the interview for setup of a new Seam project using Seam2.0.0.GA I noticed that it refers to entity beans. Using EJB3 (as we do with most Seam projects), shouldn't this state something similar to JPA entities or entity classes to be more general and encompass Hibernate POJOs as well?

[jboss-user] [EJB/JBoss] - Error invoking ejbTimeout

2008-02-25 Thread asookazian
I'm using JBoss4.2.1.GA and Seam2.0.0.GA for a POC project here. error: Error invoking ejbTimeout: java.lang.RuntimeException: java.lang.IllegalStateException: Attempted to invoke a Seam component outside the an initialized application Please refer to the following thread for details on this

[jboss-user] [EJB/JBoss] - Re: Error invoking ejbTimeout

2008-02-26 Thread asookazian
I looked at the JMX console and determined that the DefaultDS was being used (HSQLDB). Also, GeneralPurposeDatabasePersistencePlugin class indicates that a table named TIMERS is being created and timer scheduling instances are being inserted into that table. I deleted all the records and the

[jboss-user] [JBoss Seam] - Re: using two @Factory methods with two EntityManager object

2007-12-19 Thread asookazian
I have successfully used two EntityManager objects pointed to two different DB's. In the case of transaction propagation via one SFSB method calling another one (in my case in the same SFSB), an XA datasource may be required to ensure the distributed transaction is supported. Gavin's

[jboss-user] [JBoss Seam] - Re: using two @Factory methods with two EntityManager object

2007-12-19 Thread asookazian
How will they tell me to use/configure SMPC, afaik it's specific to SEAM... Are there any example apps in the Seam distro that uses SMPC? I would hope so. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4114431#4114431 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Update transactions occurring prematurely in Seam app

2007-12-20 Thread asookazian
I tried using the following and in the debugger I'm seeing that in myAuditList (3rd param in action method) that row's value for the radio button clicked 'yes' is null. If I remove the 'bypassUpdates' from a4j:support, the value shows as true. I tried this twice to make sure... xhtml:

[jboss-user] [JBoss Seam] - Re: Update transactions occurring prematurely in Seam app

2007-12-20 Thread asookazian
If I replace EXTENDED PersistenceContext with SMPC, will it solve the premature update to the table? I will try that now with flushMode=MANUAL and w/o bypassUpdates in a4j:support. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4114731#4114731 Reply to the

[jboss-user] [JBoss Seam] - Re: Update transactions occurring prematurely in Seam app

2007-12-20 Thread asookazian
SEAM 2.0.0.GA JBOSS 4.2.1.GA So I tried using SMPC and it still updates the record prematurely (before @End submit method is executed). There is another SFSB (session-scope) but it should not have anything to do with this particular table persistence. Here is the current code: SFSB:

[jboss-user] [JBoss Seam] - Re: Update transactions occurring prematurely in Seam app

2007-12-20 Thread asookazian
Hey it works now! Not sure if JBoss wasn't picking up the deployment or what (I had to remove an @Out annotation as well that wasn't being used). The premature update is gone with flushMode=MANUAL and SMPC. thanks! View the original post :

[jboss-user] [JBoss Seam] - Re: Update transactions occurring prematurely in Seam app

2007-12-20 Thread asookazian
I noticed that when I reverted to the @PersistenceContext (EXTENDED) config without SMPC but with flushMode=MANUAL on @Begin, the problem was reproduced. So the key is SMPC + flushMode=MANUAL. Please correct me if that statement is wrong. View the original post :

[jboss-user] [JBoss Seam] - Re: Update transactions occurring prematurely in Seam app

2007-12-20 Thread asookazian
On pg. 814 of JPA/Hibernate book, it talks about TransactionalSeamPhaseListener. I am currently not using this in my faces-config.xml. Is it required to use this with SMPC and flushMode=MANUAL? ?xml version='1.0' encoding='UTF-8'? | faces-config version=1.2 |

[jboss-user] [JBoss Seam] - Re: implementing SMPC questions

2007-12-20 Thread asookazian
I got the following exception after successfully integrating SMPC and flushMode=MANUAL to my code. Any idea why it's happening? | 13:52:47,413 INFO [SecurityAuditAction] in preDestroy | 13:52:47,429 ERROR [STDERR] Dec 20, 2007 1:52:47 PM javax.faces.event.MethodExpressionActionListener

[jboss-user] [JBoss Seam] - Re: implementing SMPC questions

2007-12-20 Thread asookazian
submit method in SFSB: @End | @TransactionAttribute(TransactionAttributeType.REQUIRED) //REQUIRED is default, but added for clarity | public void submit() { | | Object[] myAuditListSelection = getMyAuditListSelection(); | |

[jboss-user] [JBoss Seam] - Re: EntityHome.persist fails with @GeneratedValue

2007-12-20 Thread asookazian
JBOSS4.2.1.GA SEAM2.0.0.GA Same problem here (but w/o EntityHome design pattern). I am seeing the following in the server.log before the exception. Occurs with or w/o using the TransactionalSeamPhaseListener in faces-config.xml. I am using SMPC with flushMode=MANUAL. This could be a

[jboss-user] [JBoss Seam] - Re: EntityHome.persist fails with @GeneratedValue

2007-12-21 Thread asookazian
well I determined the root cause of the exception I was getting (org.hibernate.PersistentObjectException: detached entity passed to persist: com.cox.beans.entity.TblSecurityAuditNote). It was that I had a loop that was trying to persist an already perstisted/inserted JPA entity into the DB and

[jboss-user] [JBoss Seam] - Re: Update transactions occurring prematurely in Seam app

2007-12-21 Thread asookazian
Ok, thanks! I did not see a keyword hit on 'TransactionalSeamPhaseListener' in the 2.0.0.GA ref pdf so I got a little confused when comparing with the Seam chapter in Bauer/king book. thanks again. View the original post :

[jboss-user] [JBoss Seam] - SMPC transaction propagation and REQUIRES_NEW

2007-12-21 Thread asookazian
SEAM2.0.0.GA JBOSS4.2.1.GA I'm currently using multiple SMPC's (for multiple DB's) that are configured in the components.xml. Also using flushMode=MANUAL for @Begin method to ensure that transactions are atomic (i.e. no premature updates before conversation ends). Seems to be working ok so

[jboss-user] [JBoss Seam] - in.relation.to website and Bloggers menu

2007-12-21 Thread asookazian
1) is this site developed using JSF/SEAM/EJB3? 2) what kind of component is that bloggers menu that stays fixed even if you scroll the vertical scroll bar? that's pretty cool. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4115081#4115081 Reply to the post :

[jboss-user] [JBoss Seam] - resetting/clearing a session scoped SFSB

2007-12-21 Thread asookazian
I have a conversation scoped SFSB which has a session scoped SFSB injected into it as follows: @In(create=true) | private NoteLocal noteAction; In my xhtml, there is a h:selectOneMenu coded as follows: | h:form id=peerForm | h:selectOneMenu id=selectPeer

[jboss-user] [JBoss Seam] - Re: in.relation.to website and Bloggers menu

2007-12-21 Thread asookazian
cool, thx. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4115139#4115139 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4115139 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: resetting/clearing a session scoped SFSB

2007-12-26 Thread asookazian
hmm. when the user selects another manager in the h:selectOneMenu, it's like they're started another session (similar to logging in as another user). the reason the injected NoteAction is session scoped is because it needs to handle all the note data that is entered in the main form dataTable

[jboss-user] [JBoss Seam] - best practices with Seam and presentation logic

2007-12-26 Thread asookazian
So I have a use case where I need to reset the selected value of the h:selectOneMenu. I am using the following code to tracke the old and new values: h:form id=peerForm | h:selectOneMenu id=selectPeer value=#{peerAction.employeeId}

[jboss-user] [JBoss Seam] - Re: best practices with Seam and presentation logic

2007-12-26 Thread asookazian
option #1 works. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4115560#4115560 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4115560 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: SeamFramework.org Alpha Test

2007-12-26 Thread asookazian
I hate how this Jboss forum doesn't allow you to edit your posts and doesn't sort the drop-down menus in the search screen. horrible. Happy Holidays! http://alpha.seamframework.org:/ is not working. Is the server down? View the original post :

[jboss-user] [JBoss Seam] - Re: resetting/clearing a session scoped SFSB

2007-12-26 Thread asookazian
I tried the following code: Session.instance().invalidate(); 1) I have 2 session-scoped SFSB's. How does Seam handle this? Are both of them invalidated? 2) How/when does Seam re-instantiate the SFSB's that were invalidated? I am getting the following exception when peerAction SFSB is

[jboss-user] [JBoss Seam] - Re: resetting/clearing a session scoped SFSB

2007-12-26 Thread asookazian
I added @End for the public void invalidateSession() method and get: Caused by javax.ejb.EJBTransactionRolledbackException with message: No active JTA transaction on joinTransaction call | org.jboss.ejb3.tx.Ejb3TxPolicy.handleInCallerTx(Ejb3TxPolicy.java:87) |

[jboss-user] [JBoss Seam] - Re: resetting/clearing a session scoped SFSB

2007-12-26 Thread asookazian
After the Session.instance().invalidate() call, I am seeing two of the SFSB's that are session-scoped are being destroyed: | 14:32:51,032 INFO [LoggerInterceptor] *** Entering method: destroy | 14:32:51,032 INFO [SecurityAuditAction] in preDestroy | 14:32:51,048 INFO [LoggerInterceptor]

[jboss-user] [JBoss Seam] - Re: resetting/clearing a session scoped SFSB

2007-12-26 Thread asookazian
anonymous wrote : [EMAIL PROTECTED] wrote : asookazian wrote : hmm. when the user selects another manager in the h:selectOneMenu, it's like they're started another session (similar to logging in as another user). | | | | So, then invalidate the session. | | | | I built

[jboss-user] [JBoss Seam] - Re: resetting/clearing a session scoped SFSB

2007-12-26 Thread asookazian
Oh I see. In pages.xml for the spring example is how it's redirected back home: | page view-id=* | | navigation from-action=#{login.logout} | redirect view-id=/home.xhtml/ | /navigation | | navigation from-action=#{hotelBooking.cancel} |

[jboss-user] [JBoss Seam] - Re: resetting/clearing a session scoped SFSB

2007-12-26 Thread asookazian
It seems that Seam destroys the SFSB's after the JSF has been reRendered by the clicking of the continue button in the following xhtml code: [url] a4j:form id=a4jChangePeer h:outputText value=Are you sure you want to switch to a peer? You will lose all unsaved

[jboss-user] [JBoss Seam] - Re: SeamFramework.org Alpha Test

2007-12-27 Thread asookazian
It worked from home this morning but not from office. Not sure why, possibly it's blocked but simply getting Internet Explorer cannot display the webpage with IE7 and Firefox can't establish a connection to the server at alpha.seamframework.org: with Firefox. Possible firewall issue not

[jboss-user] [JBoss Seam] - conversation timeout setting in components.xml

2008-01-11 Thread asookazian
So here is the default values for a seam-gen'd app in components.xml: core:manager concurrent-request-timeout=500 | conversation-timeout=12 | conversation-id-parameter=cid/ What happens when the conversation times out by default with a seam-gen'd app?

[jboss-user] [JBoss Seam] - server.log size is too big

2008-01-11 Thread asookazian
In less than a couple of hours today, with one Seam2.0.0.GA app on my JBoss 4.2.1.GA, the server.log exploded to 300MB+. When I changed the overall threshold to WARN in log4j.xml, the size of the log was much smaller after a few minutes (approx. 5KB). It seems after perusing the server.log

  1   2   3   4   5   >