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
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 :
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
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
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
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
___
[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
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
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 :
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,
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
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
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 :
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
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
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
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
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
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
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
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
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 :
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
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
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
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
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
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 :
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
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
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
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
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
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}
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
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,
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
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
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 :
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 :
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 :
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. :)
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
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 :
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 :
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
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
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
___
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
___
49 matches
Mail list logo