[jboss-user] [JBoss Seam] - To parenthesis or not to parenthesis, that is thy question.

2007-08-23 Thread bytor99999
OK, that subject is just foolish, but anyway, I always seem to get myself stuck behind a problem of my pages.xml navigation not working. Now, I have gotten smart after the tenth time this has happened to me to first try to either add or remove the parenthesis in the pages.xml for a

[jboss-user] [JBoss Seam] - Re: To parenthesis or not to parenthesis, that is thy questi

2007-08-23 Thread bytor99999
Sorry I am tired, I did that half way. It should check to see if the actionExpression already has parenthesis or not, if not then add them for the second check, and if it does then remove it for the second check into the Map. View the original post :

[jboss-user] [JBoss Seam] - Re: Page takes too long to load

2007-08-23 Thread bytor99999
How about lowering your Seam logging level? :) to just show INFO messages. or turn off Seam logging. I know that Seam does a lot of logging and that definitely will slow things down. I have seen the same thing, it kind of amazes me how much. I thought my app was really slow, but I just changed

[jboss-user] [JBoss Seam] - The need for () in from-action

2007-08-09 Thread bytor99999
I was a little bit confused on whether you need to include the () in a from-action in the pages.xml all the time or some of the time, or only on days that start with a W Looking in what I currently have for pages.xml it appears that it isn't necessary to have (). However, in one particular

[jboss-user] [Performance Tuning] - Re: JNDI datasource connection pooling

2007-08-02 Thread bytor99999
This is what I have read and seen. Unfortunately there is no stead fast true rule for those settings. It is always a depends on many factors. I have never heard to set them to the same setting, but the more Connections you have created the more memory it takes up. Obviously constantly creating

[jboss-user] [JBoss Seam] - Re: @Destroy annotated method on Application Scoped componen

2007-07-17 Thread bytor99999
Thanks. Sure, where can I find the nightly build? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4065062#4065062 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4065062 ___

[jboss-user] [JBoss Seam] - Re: @Destroy annotated method on Application Scoped componen

2007-07-16 Thread bytor99999
[EMAIL PROTECTED] wrote : Mark, sorry, for not replying sooner. What you are doing should work, that error (normally) means that Seam hasn't set up it's lifecycle properly. Can file a JIRA issue so that we don't loose this one. Thanks, so who will create the JIRA? I think you might do that

[jboss-user] [JBoss Seam] - @Destroy annotated method on Application Scoped component

2007-07-10 Thread bytor99999
When trying to put an @Destroy method on an Application Scoped Component we get a WARN stack trace | 17:10:26,843 WARN [Component] Exception calling component @Destroy method: pluginContainerBootstrap | java.lang.IllegalStateException: no event context active | at

[jboss-user] [JBoss Seam] - Re: @Destroy annotated method on Application Scoped componen

2007-07-10 Thread bytor99999
Maybe if I used one of the built-in events like org.jboss.seam.preDestroyContext.Application or org.jboss.seam.preRemoveVariable. to point to that method that right now has the @Destroy annotation. View the original post :

[jboss-user] [JBoss Seam] - Re: @Destroy annotated method on Application Scoped componen

2007-07-10 Thread bytor99999
Using org.jboss.seam.preDestroyContext.Application does not call the method at all, I then assumed it was because Application should be APPLICATION so Using org.jboss.seam.preDestroyContext.APPLICATION we get the following exception. | 15:18:45,718 INFO [TomcatDeployer] undeploy,

[jboss-user] [Messaging, JMS JBossMQ] - Queues/Topics config and Docs versus Wiki pages

2007-06-25 Thread bytor99999
I am trying to find out all the configuration possibilities for Queues and Topics In the JBoss Admin docs it shows in Chapter 6 Section 6.3.11.1. org.jboss.mq.server.jmx.Queue Section 6.3.11.2. org.jboss.mq.server.jmx.Topic http://docs.jboss.org/jbossas/jboss4guide/r5/html/ch6.chapt.html There

[jboss-user] [Performance Tuning] - Re: DS - No managed connections available within blocking ti

2007-06-07 Thread bytor99999
Not that I am any expert, but what about if the issue is on the database side, like the Database can only create 100 connections/server processes. Ask your DBA as to what that is set to. Mark View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4052177#4052177

[jboss-user] [Performance Tuning] - Re: DS - No managed connections available within blocking ti

2007-06-07 Thread bytor99999
But, the other question is why you need to set it that high of 200, How many users are you expecting. If you need 200, then a test with only 500 users is not going to help you test performance on your server, to simulate what your normal traffic would be. View the original post :

[jboss-user] [JBoss Seam] - s:selectItems and text to display between the radio buttons

2007-05-29 Thread bytor99999
I have the following in my xhtml page | h:form |h:selectOneRadio value=#{operationAction.selectedControl} |s:selectItems value=#{controlActions} var=control label=#{control.name} | p/prich:spacer width=24px/ | h:outputText

[jboss-user] [Installation, Configuration Deployment] - Jar inside a jar inside a war, AS 5 Beta2

2007-05-08 Thread bytor99999
So I am deploying a war. Off the root of the war I have a path say myApp.war\somedir\ inside that directory resides a jar file. Inside that jar file is a lib directory, so we would have myApp.war\somedir\myJar.jar\lib\otherJar.jar. The classes inside the otherJar.jar are not being loaded, so

[jboss-user] [Installation, Configuration Deployment] - Re: Jar inside a jar inside a war, AS 5 Beta2

2007-05-08 Thread bytor99999
Please ignore this thread. It is not an AS5 issue. As the classes inside the myJar.jar needs to be loaded by our own ClassLoader and not the war's or the AS's ClassLoaders. Mark View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4044003#4044003 Reply to the

[jboss-user] [JBoss Seam] - Re: Optional Fields In Query

2007-05-01 Thread bytor99999
You'll want to post this in the Hibernate or EJB3 forum. This is not a question about Seam. Mark View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4042163#4042163 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4042163

[jboss-user] [JBoss Seam] - Re: For Gavin to review

2007-05-01 Thread bytor99999
Definitely deploying in JBAS 5. http://jira.jboss.com/jira/browse/JBSEAM-1103 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4042165#4042165 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4042165

[jboss-user] [JBoss Seam] - Re: For Gavin to review

2007-05-01 Thread bytor99999
http://jira.jboss.com/jira/browse/JBSEAM-1103 Sorry actual link. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4042166#4042166 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4042166

[jboss-user] [JBoss Seam] - SeamTest and FacesRequest

2007-03-20 Thread bytor99999
I have been trying to create FacesRequests in a util class, so that I could re-use the same FacesRequest in other SeamTests. However, I seem to be getting a NullPointerException when I do this. The NPE comes from the SeamTest class in line 407 which is phases.beforePhase( new

[jboss-user] [JBoss Seam] - FacesRequest masks the root cause of an Exception

2007-03-13 Thread bytor99999
I was going to make a Jira entry about it, but figured it is best to post in the forums first. Especially when doing a little research, it looks like this might be happening at the EL apis level. Here is what is happening SUMMARY: Exception thrown in FacesRequest in SeamTest masks the root

[jboss-user] [JBoss Seam] - TestNG and SeamTest

2007-03-12 Thread bytor99999
We have a weird issue, when running the test from a Maven script the test is passing, however, we have set it up to fail on purpose. Has anyone ever seen this? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4027346#4027346 Reply to the post :

[jboss-user] [JBoss Seam] - Weird results when doing TestNG

2007-02-26 Thread bytor99999
I call getPrinciple() to find out the principle in my test, and it always returns gavin Why? ;) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4022537#4022537 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4022537

[jboss-user] [JBoss Seam] - Re: hibernate vs ejb3 in seam

2007-02-26 Thread bytor99999
So it is not really a question of EJB3/JPA or Hibernate, but which implementation of EJB3/JPA are you going to use. So in the examples, the ones that say are using EJB3/JPA, yes they are following the spec, but its implementation is Hibernate. Hibernate implements EJB3/JPA plus it add much

[jboss-user] [JBoss Eclipse IDE (users)] - Re: Hibernate Tools Beta 9 JPA Persistence Unit

2007-02-16 Thread bytor99999
Thanks Max, I put a request for something like this in JIRA. :) What would be cool, is being able to keep the persistence.xml exactly the way it is with a Data Source JNDI name, but in the console you can create a DataSource and give it a name that matches the JNDI name you gave in the

[jboss-user] [JBoss Eclipse IDE (users)] - Hibernate Tools Beta 9 JPA Persistence Unit

2007-02-15 Thread bytor99999
So we have a persistence.xml but it points to a DataSource and will put the EntityManagerFactory into JNDI. So in order to get the DataSource, the app server would need to be running. Is there a way to config hibernate tools to use this persistence.xml without having to startup JBoss AS and

[jboss-user] [JBoss Eclipse IDE (users)] - Re: Hibernate Tools Beta 9 JPA Persistence Unit

2007-02-15 Thread bytor99999
It just seems like you need to have your database and app server running in order to get the EMF to be created to start developing and getting Code Completion. So you need to configure your project to point to the app server and to the database server. Correct? Thanks Mark View the original

[jboss-user] [JBoss Seam] - Re: Instance Referencing in Conversation State

2007-01-04 Thread bytor99999
Could it be that I need an attribute like create=true in the @In annotation. I would also like the attribute to be cleared out so that when we see the form the next time it is blank and doesn't have the last entered values. Thanks View the original post :

[jboss-user] [JBoss Seam] - Instance Referencing in Conversation State

2007-01-03 Thread bytor99999
Not sure how to post this question, but I have come across a situation that an idea I have for a solution kind of sounds like a hack to me. Here is my issue, I have a Form and a DataTable underneath it. I input values into the form, and I click Add To List and it adds it to the list. This all

[jboss-user] [JBoss Seam] - Re: Lookup Values in ComboBoxes

2007-01-02 Thread bytor99999
Under the Components section on the wiki here http://www.jboss.com/wiki/Wiki.jsp?page=JBossSeam It looks like there are a few solutions for DropDowns. I will take a look at them. The second one looks the simplest, but the first is much more flexible. I like Annotations usage so I like the

[jboss-user] [JBoss Seam] - Lookup Values in ComboBoxes

2006-12-28 Thread bytor99999
Is there an annotation for attributes on Collections that makes the Collection usable for dropdowns, so that it fills the combobox with values, and when a user selects one it gets associated to another attribute of the class. Kind of like @DataModel and @DataModelSelection So far i have set

[jboss-user] [JBoss Seam] - Rich UI Form

2006-12-28 Thread bytor99999
So I have a stateful session bean for my page, and in the page users will enter new objects into a collection. But I want the user to stay on the same page while they enter more records. I can have a @Begin to start, and I have a save and cancel button that goes to @End methods. I could add a

[jboss-user] [JBoss Seam] - Re: @Embeddable Object and JSF referencing in a Form

2006-12-12 Thread bytor99999
I think you hit it on the head. For some reason, I am getting a little bit confused at when JSF/Seam will create an instance of objects for me, and when I have to create the instances myself in code. So right now in my code, there isn't a new Address() line, and I probably need it. Whereas the

[jboss-user] [JBoss Seam] - @Embeddable Object and JSF referencing in a Form

2006-12-11 Thread bytor99999
So I have a simple example where I have an Embedded object. So I have a Location class that has an Address object. The Address object is annotated with @Embedded. The Address class has @Embeddable. In my form I have an InputText with h:inputText value=#{location.address.city}

[jboss-user] [EJB 3.0] - Sizing a Stateless Session Bean Pool Size

2006-11-30 Thread bytor99999
I feel like I am asking a stupid question, but where do you configure your Stateless Session Bean Pool Size. I would assume that you can create a pool for each different SLSB you have, so one could have min/max say 20/50 and have a different SLSB be min/max 100/200 Thanks View the original

[jboss-user] [JBoss Seam] - Re: Unable to call a method on my statefull session bean

2006-10-30 Thread bytor99999
bsheward wrote : My understanding is this: | | Seam calls the methods in your session beans when it encounters the action=#{name.action} declarations, where name is the name of the Seam managed component, and action is the name of the method in the managed component. | | However,

[jboss-user] [JBoss Seam] - Unable to call a method on my statefull session bean

2006-10-27 Thread bytor99999
Again, I must be overlooking something simple. So I have a page that has a header/footer. menu on the left and content in the center right. So the menu on the left is working with a stateless session bean, They click a link on the left and a form appears in the center, with two buttons a Begin

[jboss-user] [JBoss Seam] - Re: Unable to call a method on my statefull session bean

2006-10-27 Thread bytor99999
Oh, basically the bean is not being called and the page stays on the exact same page it was on. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3981468#3981468 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3981468

[jboss-user] [JBoss Seam] - Re: Unable to call a method on my statefull session bean

2006-10-27 Thread bytor99999
I just read one thing in the JSF Javadocs that the h:commandButton action must call a method that takes no parameters? Could that be the reason why? And the @In annotation is enough to get my object in the method, then how do I reference that object? View the original post :

[jboss-user] [JBoss Seam] - Re: Unable to call a method on my statefull session bean

2006-10-27 Thread bytor99999
Thanks, I also noticed that my comment above about parameters in an action method is not allowed. In looking at all the examples I noticed this. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3981478#3981478 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Unable to call a method on my statefull session bean

2006-10-27 Thread bytor99999
So I then have this form that has values to #{location.xxx}, In the statefull session bean, I would then have a property called Location location that has an @In annotation on it for the bean to have access to that object created by the form. Correct? View the original post :

[jboss-user] [JBoss Seam] - Re: Getting Stateless Sesion bean to trigger from CommandLin

2006-10-24 Thread bytor99999
So what you are saying is that my code is fine, it is my installation that is off. :) I did use the UI Installation for installing EJB3 since it is easier, but i will install another JBoss version. I already have 7 JBoss servers installed on my machine, so one more will never hurt it. :)

[jboss-user] [JBoss Seam] - Re: Getting Stateless Sesion bean to trigger from CommandLin

2006-10-24 Thread bytor99999
Actually wished there was a way to edit posts, but in the UI Web Installer now installs 4.0.5GA So I think I am going to install that and get the new Seam Beta that was just released yesterday. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3980573#3980573

[jboss-user] [JBoss Seam] - Re: Getting Stateless Sesion bean to trigger from CommandLin

2006-10-24 Thread bytor99999
I actually just looked at the Getting Started guide, and that is exactly how I installed my AS 4.0.4GA Installation that is getting that exception. Mark View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3980572#3980572 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Getting Stateless Sesion bean to trigger from CommandLin

2006-10-24 Thread bytor99999
So with 4.0.5.GA it is now no longer throwing that exception. Now to put actual code behind those links. :) Thanks guys View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3980583#3980583 Reply to the post :

[jboss-user] [JBoss Seam] - Getting Stateless Sesion bean to trigger from CommandLink

2006-10-23 Thread bytor99999
I am having aproblem getting my xhtml page to fire a method on my stateless session bean. I am sure it must be something simple I am missing Here is my interface | public interface WebManager { | public String logIn(); | public String newRoadTrip(); | public String

[jboss-user] [JBoss Seam] - Can an object be both an @Entity and @Embeddable

2006-10-03 Thread bytor99999
Basically I have a lookup table that has US States. But in an Address I want to embed the State Code. So that in a ComboBox lists the States and assigns an attribute of the Address to the State object returned. But instead of there being a foreign key to the state record, I want the Code in the

[jboss-user] [JBoss Seam] - Re: Can an object be both an @Entity and @Embeddable

2006-10-03 Thread bytor99999
Thanks Gavin. I'll just make them Entities. Mark View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3975907#3975907 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3975907 ___

[jboss-user] [JBoss Seam] - Re: Building a JBoss Seam website in 2 hours for our JUG

2006-07-22 Thread bytor99999
Very cool. Please let us know how it went. Mark Spritzler View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3960140#3960140 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3960140 ___