Thanks for your reply. I am using server side states saving, and we don't have
hashmap lookup in our pages.
We can't migrate to MyFaces 1.1.5 and Tomahawk 1.1.6 due to compatibility
problem with seam 1.2.1. Also, MyFaces 1.1.5 doesn't work well with Seam 1.3.
So basically we can't change our en
We did a performance test on Seam using Load Runner. The result is really
disappointing. Compare with our old system(Struts based), seam is about 10
times slower. Here is the result:
Hardware: Xeon 5130 * 2 + Intel S5000 SAS + 4G 667 FBM + 15K 73G SAS RAID 10
New seam based version (using ejb3)
I have a similar problem with @Out and I don't know if it's caused by the same
problem as described.
I have a page that dispalys a search box and serach result, when searchResult
annotated with @Out is null, a search box shows. Otherwise, search result is
displayed. I've noticed search result i
Thanks for your help.
We just noticed we have a few jsf components that directly cooperate with
myfaces components. In this case, we have to stick to myfaces. I've spent a
whole trying to get our app working with
Jboss4.2+Seam1.3CVSBuild+MyFaces1.1.5+Tomahawk1.1.5, but with no luck. Maybe
my
I'm currently using Seam 1.2.1 GA + JBoss 4.0.5 JEMS + MyFaces 1.1.4 + Tomahawk
1.1.3. Once Seam 1.3 is release, I'll have to upgrade everything
(Seam1.3+JBoss4.2+?). Since Seam 1.3 is mainly tested with JSF 1.2 Sun RI,
using MyFaces 1.1.5 seems not a good choice anymore(I've seen people havin
Great. It works. Thanks a lot.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4048844#4048844
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4048844
___
jboss-user mailing list
I have some pages under /admin/* that I don't want them publicly available. I
have a virtual NIC with IP 10.3.0.1, I need to allow access to /admin/* that
comes from this NIC. It would be nice if Seam support this:
|
|
I don't know if there's other better ways doing it. Can someone share
I'm using a4j:poll to keep my session alive (like gmail). Everytime if I
redeploy my app, a4j:poll would cause a NullPointerException:
| 09:19:08,749 ERROR [PhaseListenerManager] Exception in PhaseListener
RESTORE_VIEW(1) afterPhase
| java.lang.NullPointerException
| at
org.apache
No, it doesn't work. @Begin is used for conversation scoped component.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046681#4046681
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4046681
my ejb.
| @Stateless
| @Name("myBean")
| public class MyBean implements MyBeanInterface{
|
| @In(create=true)
| MyState myState;
|
| public String search(){
| return doSearch(myState.getSearchString());
|
| }
|
| }
|
my page
|
|
|
|
If I
I've tried changing my component to @Stateless, but it doesn't help. my method
is not even invoked.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046389#4046389
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4046389
_
I've been having this problem for a long time and hope I can find a good
solution here.
I have a lot of pages that having a couple of inputTexts and a commandButton.
When commandButton is clicked, it invokes a session scoped component.
Everything works fine if user clicks the button before sess
In jsf back bean, I can assign a default (see following code). In seam, is
there anyway to assign a default value to my component?
|
| default
| Defaults
| application
|
|
| nodeResults
| 15
|
|
|
|
I keep getting this exception periodically. It seems Seam can't find my
stateful bean when trying to destroy my timed out conversation. Anyone having
the same problem?
| javax.ejb.EJBNoSuchObjectException: Could not find Stateful bean:
5c4o05h-wulhek-f1g66qmp-1-f1ghkdmx-2f
| at
org
No, I just noticed I don't have "" in my components.xml.
Everything is working now. Thanks a lot.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041773#4041773
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041773
I get IllegalStateException when I try to call an @Asynchronous annotated
method in my @Create annotated method when app is started.
| ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/]]
Exception sending context initialized event to listener instance of class
org.jbos
In the doc, Seam timer is triggered from
paymentAction.scheduleRecurringPayment() which itself is a seam component and
it has seam application context. In my case, seam component is triggered at
startup time and it doesn't have any active application context. Is there
anyway to force seam to cr
I'm using ejb3 timer and I wanna access application scoped component when
@Timeout method is called. I get "no active application context" when trying to
do this. Is there anyway to do it?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041703#4041703
Reply t
It would be nice to have an event "org.jboss.seam.beforeAuthenticate", so I can
manually populate values and call identity.login.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041251#4041251
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=
also noticed if page is directed from
"org.jboss.seam.security.NotLoggedInException" defined in pages.xml, rememberme
would stop working.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041247#4041247
Reply to the post :
http://www.jboss.com/index.html?modul
finally figured out why it didn't work for me before. it's caused by
"MyFacesExtensionsFilter", FacesContext.getCurrentInstance() returns null when
I have myfaces extension filter installed.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041246#4041246
Reply
thanks for your help. I've tried seamspace and it seems to work, I still can
see any reason why my app doesn't work.
Another question is, does rememberme feature provide auto-login? It seems it
only saves the username, but user still have to enter their password to login
manually each time they
Tried 1.2.1.GA, still having the same problem. can't see why
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040617#4040617
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040617
__
I'm using Seam 1.2GA and latest Jboss JEMS installer.
I ticked the rememberme box when log in. If I close IE and comes back again, it
directs me to the login page. It seems login information is not saved in
cookies.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtop
I'm thinking of using Seam rememberme, but I can't find any doc saying how to
use this feature. I've tried this in my login form:
|
|
but it doesn't seem to work. Is there anything else I need to do?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=404046
Has anyone had the same problem?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040143#4040143
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040143
___
jboss-user mailing lis
Sorry I should say it's cause by "EntitySecurityListener", Here is my content
in orm.xml
|
| http://java.sun.com/xml/ns/persistence/orm";
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
|
xsi:schemaLocation="http://java.sun.com/xml/ns/persisten
I have a java SWT client that accesses my ejb remotely. If orm.xml is packed
into my ejb.jar, I keep getting No active session context when trying to access
my ejb method remotely.
| Caused by: java.lang.IllegalStateException: No active session context
| at org.jboss.seam.security.Identi
Is there anyway to change orderby parameter for an @Orderby annotated
collection?
e.g.
@OrderBy("age desc")
private List persons
at runtime, I wanna sort by name at runtime. is there anyway to do it?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024388#4024
Thanks michea. I've tried what you said and now I can start jboss. However, it
still doesn't allow me to deploy any simple application.
| Caused by: java.lang.IllegalArgumentException: failed to parse:
| at java.awt.datatransfer.DataFlavor.(DataFlavor.java:292)
| at
javax.
I did follow the instruction. my enviroment:
Jboss JEMS 1.2 CR1 (AS 4.0.5.GA, EJB3 1.0.0.CR9-jboss4.0.5, Portal 2.4.0.GA,
JBossWS 1.0.3.SP1 Installer)
I downloaded jbossws 1.0.4 and I did:
1.) Copy lib/jbossws-client.jar to $JBOSS_HOME/client/
2.) Unzip lib/jbossws.sar to $JBOSS_HOME/server/defau
I did a search for 8080 and there are at least 20 files contain 8080. Is there
any standard way to change the port number to 80?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017558#4017558
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=po
Has anyone managed to get jbossws working with jboss JEMS 1.2.0.GA (downloaded
from http://labs.jboss.com/portal/jemsinstaller/downloads).
Can't get jsr181pojo working with bundled JBossWS 1.0.3.SP1. When I try to
upgrad to JBossWS 1.0.4, everything stops working. I just can't see how I can
get
I've changed my port number from 8080 to 80 as you can see:
|
|
However, I can see that jbossws is still trying to connect 8080 for invoking
services. Anyone knows why this happens?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017301#4017301
Reply
I keep getting this when trying to run a very simple demo code:
| ERROR [org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper] SOAP request exception
|
| java.lang.NoClassDefFoundError
|
| at
org.jboss.ws.jaxrpc.encoding.SimpleDeserializer.deserialize(SimpleDeserializer.java:52)
|
|
anyone knows?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015748#4015748
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015748
___
jboss-user mailing list
jboss-user@lists.
I've followed this article to run my first ws test:
http://www.regdeveloper.co.uk/2007/01/23/ejb_web_services/
However, I keep getting this exception:
| javax.xml.soap.SOAPException: Could not setup remoting client
| at
org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:16
I'm using ajax4jsf commandButton to submit the form and I've noticed
s:fileUpload doesn't work with ajax submit. here is my code:
|
|
|
|
|
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012014#4012014
I've just noticed jboss doesn't support servlet as welcome file. I thought this
is defined in servlet spec 2.4. Anyone knows a good walk around?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011654#4011654
Reply to the post :
http://www.jboss.com/index.html
I've just downloaded 1.1.5 and try to put the following code in my session
listener:
| @Name("mysessionlistener")
| @Scope(SESSION)
| public class MyListener{
| @Create
| public void sessionCreated() {
| Identity identity=(Identity)Component.getInstance(Identity.class,true);
| }
JIRA link: http://jira.jboss.org/jira/browse/JBSEAM-632
I've also notices, if my pages is being manipulated by ajax4jsf components,
h:commandLink would stop working as well.
Is there any plan to fix this bug in Seam 1.1.5? I have to decide whether to
abandon ajax4jsf if this bug is not gonna b
Sorry for my mistyping. The EntityManager is injected to my session scoped EJB.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4007224#4007224
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4007224
__
My EntityManager is injected to my session scoped and I have 3 methods:
| @PersistenceContext(type = EXTENDED)
| private EntityManager em;
|
| public String list(){
| ...
| }
|
| public String edit(){
| ...
| }
|
| public String save(){
| ...
| }
|
In list method
I've noticed its background is transparent in Firefox. Also is there anyway to
configure its locale, language...?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4007173#4007173
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=rep
Sorry I was trying to explain my situation better but made it worse. Here is my
scenario. The person.xhtml page shows all the properties of Person entity. In
this page, I need to show top 5 records of person's calls and reviews. Here is
the code:
|
|
|
|
|
|
|
Thanks Gavin. I've had a look at Query and it looks great. However, my
situation is a bit more complicated. What I need is a way to to paginating the
collocation based property of my entities. Here is my code:
|
|
|
|
|
|
|
|
|
|
|
|
As y
I've been trying to solve this problem for ages but still couldn't find a good
solution. I have an entity which looks like this:
| class Person{
| String name;
| int age;
| List reviews;
| List calls;
| }
|
in my jsf page, I have:
|
|
|
| ...
|
|
|
| ...
|
The following code works fine:
| public List getReviews() {
| return reviews;
| }
|
| public void setReviews(List reviews) {
| this.reviews = reviews;
| }
|
in my jsf page, I have:
|
|
However, if I change List to Set, it says
I'm using ajax4jsf+seam at moment. As Icefaces is becoming more compatible with
seam, I'm thinking of adding icefaces to my application when next version of
both seam and icefaces are released. Since ajax4jsf and icefaces are naturally
competitors, would it be a problem to put them together? Any
I've removed ajax4jsf , it then works. I thinks it's a bug when integrate with
ajax4jsf. I've created a JIRA issue:
http://jira.jboss.org/jira/browse/JBSEAM-667
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4003292#4003292
Reply to the post :
http://www.jbo
The jsf code I've posted was copied from Seam doc:
http://docs.jboss.com/seam/1.1GA/reference/en/html_single/#validation
I don't understand why it doesn't work. Removing a:components would lose ajax
support. Is this a bug?
View the original post :
http://www.jboss.com/index.html?module=bb&op=v
I've tried this but it doesn't seem to work. I get nothing appeared when user
typed wrong thing and left the inputtext box. Here is my code:
| public void checkLocation(){
| facesMessages.add("country", "error message");
| }
|
my page:
|
|
|
s:decorate + s:message is a great feature in Seam. I wonder if there's a way
to manually validate the user input. Here is my scenario, I have following code
in my page:
|
|
|
|
| http://www.jboss.com/index.html?m
Thanks Gavin. This seems not work for me. Looking at your url, I've noticed it
deosn't have "clr=true". why does my url have clr=true? What does clr do? Is
there anyway to get ride of it?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998893#3998893
Reply to
I'm writing a little problem behaves similar to other instant messengers (e.g.
MSN, yahoo messenger). The client login to the server and talk to the server
individually. I'm not sure whether to use a temporary destination between
server and the client, or use JMX to create a dynamic destination.
Why do I get InstanceNotFoundException ? here is my code:
| mbeanServer = MBeanServerFactory.createMBeanServer();
| ObjectName objName = new ObjectName("jboss.messaging:service=ServerPeer");
| mbeanServer.invoke(objName, "createQueue",
| new Object[] { "anyname", null },
I've tried doing it for my page, but it still doesn't solve my original
problem: It doesn't create a new conversation! All I need is to ask Seam to
create a new conversation when @Being annotated method is invoked and cid's
value can't be found. This problem drives me crazy now. I might have to
It says "jms:queue-connection" is not a valid tag in components.xml when I
deploy it. here is my xml definition:
| http://jboss.com/products/seam/components";
| xmlns:core="http://jboss.com/products/seam/core";
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instanc
I simply followed seam doc
http://docs.jboss.com/seam/1.1GA/reference/en/html/jms.html#d0e5121
and I haven't added any thing new. The doc seem to be not updated. Here is my
code:
| @In(create=true)
| private QueueSender paymentQueueSender;
| @In(create=true)
| private QueueSession q
removing no-conversation-view-id from components.xml seems not the right way to
do it. There are cases users do need to be redirected when conversation doesn't
exist.
I think the correct behaviour should to create a new conversation when @Being
annotated method is invoked and cid's value can't
I'm using JBoss messaging at moment. I can send a message from a standalone
client. When I try to send a message from my ejb, I keep getting
NullPointerException.
Here is how I defined the component
|
| queue/testQueue
|
|
Is there any guidelines of how u can use jbo
Thanks for your help. It is a result view.
Here is what I'm trying to do. I have 3 pages: search->choose from result->
detailed info. I used s:link in the 2nd page. the detailed info page needs to
be bookmarkable. The back bean has a search method and showResult method. both
action methos are a
yes, I just noticed it's actually caused by clr=true. what does clr mean? Is
there anyway to solve this problem?
Here is how mu url looks like:
http://testmachine:8080/myweb/home.meal?city=1&actionMethod=home.xhtml%3AmyBean.myMethod&cid=3&clr=true&conversationPropagation=join
View the original p
anyone knows?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996689#3996689
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996689
___
jboss-user mailing list
jboss-user@lists.
I have a bookmarkable page that is opened through s:link. the action method is
annoated with @Begin(join=true) in a conversation scoped bean. The s:linke
generated url has a parameter "cid=2". When I restart my browser and paste the
url, I get an error saying that conversaton can't be found and
I've noticed that if my page is opened through s:link, the ajax4jsf
a:commandLink in this page would stop working. Is there anyway to work around?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995931#3995931
Reply to the post :
http://www.jboss.com/index.h
I'm having the same problem as well. Have you managed to solve the problem?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995173#3995173
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995173
___
No. No one answered me yet and I still couldn't find a solution.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964909#3964909
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3964909
__
aha, it's a jsf issue.
Looks like the simplest solution is to add one more field with "width: 0px;
height: 0px" to make it invisible.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963739#3963739
Reply to the post :
http://www.jboss.com/index.html?module=b
The Seam booking demo works because it has 2 input fields: username and
password. If there's only one input field (say only username), it would stop
working. It is caused by being alone in the form.
I guess the first thing to do is to find out whether this is a Seam bug, or
Facelet bug? With
I guess more than 80% of users in this world use IE 6. Is there any way to get
around this problem?
What I have now is quite simple. A form contains 2 elements: a inputText for
user to enter search term, and a commandButton for submit the form (similar to
google's home page). When user entered
In Seam booking example login page, you are required to enter username and
password. when you enter username and password and press enter, it will submit
the form. However, if you only have one inputText in your page (remove the
password inputText from .xhtml file), and when you press enter, the
http://answers.google.com/answers/
I guess google answers might be better place to go for paid questions.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963494#3963494
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963
I can see there is DefaultValidatorMessages.properties file in hibernate jar
file. Buf for somehow, hibernate is not able to load it. Anyone knows about
this?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962763#3962763
Reply to the post :
http://www.jboss
I'm trying to use hibernate validators, and I keep getting:
Caused by: java.util.MissingResourceException: Can't find resource for bundle
java.util.PropertyResourceBundle, key validator
.length
It seems it's unable to find the resource bundle file. Do I need to do
something special before using
I have a stateless ejb that has 2 methods: list() and edit(). list method
populate a list so user can click on one of the items for editing. However, my
edit() method is never triggered when user clicked on the items. Changing my
ejb to Stateful would solve the problem. Is there any reason why S
76 matches
Mail list logo