I am new to JBoss. I have a JBoss 4.2.0 running on RedHat CentOS 4.5
(2.6.9-42.0.3.EL_HPTRAID #1 SMP) that freezes every two to three days.
When it does so I see many httpd processes spawned. Httpd is still logging
request but 503 error is given. When I try to use kill -3 to get a thread dump
What is the difference between the two? Based on the source code javadoc:
TransactionSuccessEvent: An event that is processed when a transaction
completes succesfully
TransactionCompletionEvent: An event that is processed when a transaction ends
But I am not sure what the real difference is.
One solution that helps is to have a @Destroy method in which you cancel the
timer using timer.cancel().
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4080151#4080151
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080151
I'd like to construct named anchors in the form of http://url#name in
s:link/. I tried to read the doc but didn't find anything. Is that possible?
How can I do it? Thanks.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4078038#4078038
Reply to the post :
I am wondering if there is anyway to not generate cid in url, for the purpose
of search engine optimization. Search engines will rank the page lower if there
are multiple urls pointing to the same page. Thanks.
View the original post :
I am running Seam 2.0 Beta on JBoss 4.2.1. I have a category list as
s:selectItems/ values in an edit entity page. The problem is that in this
page if I don't change the category selection I always get a Not a valid
value error on the selection box when I submit. Even when I change the
Does anyone have a solution yet? I have the same problem.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4073252#4073252
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073252
___
It works great. Thanks.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4072687#4072687
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4072687
___
jboss-user mailing list
I couldn't seen to find url anywhere. Thanks.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4072125#4072125
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4072125
___
jboss-user
I just upgraded my app to Seam 2.0 from Seam 1.2.1. The UI in firefox is now
pretty badly broken. I have mixed javascript with jstl to dynamically generate
javascript through a loop. Now the same code is fine in IE, but broken in
Firefox. What is weird is that when I saved the source to the
I have a permission requirement on objects that only owners or Admin role users
can update. I am ok with the Role part, using hasRole('admin'). But I am not
sure how to write ownership checking into a generic rule. Anyone has solved a
similar problem? Thanks.
View the original post :
I changed all the EJBs in my app to pojo, and used Seam entityManager. I got
this error when I ran my test that extends SeamTest:
[testng] Caused by: java.lang.RuntimeException: org.hibernate.TransactionExce
ption: Could not register synchronization for container transaction
Here is the
I'd like to use an external property file outside the deployed ear to configure
the attributes of Seam components. Does anybody know how I can do that? Thanks.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4059747#4059747
Reply to the post :
I put two properties in seam.properties
[EMAIL PROTECTED]
sendMail.bypassEmail=false
to configure a event scoped bean
|
| @Name(sendMail)
| @AutoCreate
| @Scope(ScopeType.EVENT)
| public class SendMail {
|
| private String testMail;
| private boolean bypassEmail;
|
The project is based on seam-gen. seam.properties is in the root level of the
application jar file, where includes SendMail.java.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4059481#4059481
Reply to the post :
I am pretty sure I only have seam 2.0 jar in the classpath.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4059353#4059353
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4059353
___
I have a pojo bean annotated as @Startup and with entityManager injected. After
upgrading to 2.0 Beta1 and JBoss 4.2 the init method of the bean annotated with
@Create complained about null entityManager during startup. It used to work
fine under Seam 1.2.1GA and JBoss 4.0.5.
| @Startup
|
That is it! I changed core:managed-persistence-context/ to
presistence:managed-persistence-context/. I was following the instruction
here:
http://fisheye.jboss.com/browse/JBoss/jboss-seam/seam2migration.txt?r=1.2[/url].
I wish it could be more explicit though. Thanks.
View the original post :
After migrating my app from seam 1.2.1GA to 2.0 beta 1, I am having problem
accessing my login page. The exception is
anonymous wrote :
| Caused by: java.lang.IllegalArgumentException: Could not invoke method by
reflection: RuleBasedIdentity.setSecurityRules(org.drools.RuleBase) with
I have a list view page that pops up within page a send-to-friend form (using
display block/none toggle). The send to friend form is submitted via
a:commandButton action=#{sendToFriend.send}/. The problem is that when the
form is submitted, I always get the exception saying that the
Ok, it turned out the problem has nothing to do with AJAX submission. The form
has a hidden field which I bound it to sendToFriend.entityIdField property. If
I remove this property, everything works fine. But I do need this property to
pass the id of the entity to sendToFriend bean. Here is
Yes I do have getters and setters for the property. It is a POJO. I finally
found out the solution. It is simply adding (required=false) in the
entityManager annotation. This is anti-intuitive because you'd expect
entityManager to always be available. But it seems that when the UIInput
I have a class Listing with two collections reviews and discussions. Both
Review and Discussion are subclasses mapped to the same table, distinguished by
a discriminator column type. I am using Seam 1.2.1 but the problem is most
likely related to the persistence mapping. Here are the mappings:
I want to set some property of a bean right after it is injected into another
bean. For example, I want to invoke b.setProperty1(p1) in public Class A {
|@In(create=true)
|private B b;
| }
Do I do this with org.jboss.seam.postSetVariable.b event by adding this inside
class A?
|
Ok. I worked around this problem by invoking the setter in an action method.
My only question now is what is the event org.jboss.seam.postSetVariable for? I
am too new to Seam to fully understand what it means when the manual says
called when the context variable is set. Does it mean bean
Yes, I will wait for 1.3.0
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4054579#4054579
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4054579
___
jboss-user mailing list
Unfortunately it didn't work either. I removed the ejb annotations and made it
a POJO. Then I injected entityManager using @In, I got a similar problem, the
root of which is due to the micro-container (and the JNDI) not available before
the starting up of the bean:
anonymous wrote :
|
Never mind. On closer inspection, your solution of adding
depends={org.jboss.seam.core.ejb} worked. Thanks.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4053691#4053691
Reply to the post :
I couldn't get the SFSB to instantiate correctly in my SeamTest because the
component startup was invoked before the embedded ejb container startup. Here
is the error message:
anonymous wrote :
| org.jboss.seam.InstantiationException: Could not instantiate Seam
component: companyList
|
I have a ScheduleController that schedule tasks:
| @Startup
| @Scope(ScopeType.APPLICATION)
| @Name(scheduleController)
| public class ScheduleController {
| @In
| private Schedule schedule;
|
| @In(create=true)
| private ScheduledTask aTask;
|
|
ok. any idea when Seam 1.3 will GA?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4052755#4052755
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4052755
___
jboss-user mailing list
have you solved the problem? I am having the exact problem too. I'd like to
know your answer. Thanks.
Sheldon
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4045968#4045968
Reply to the post :
I followed the example at
http://docs.jboss.com/seam/1.2.1.GA/reference/en/html/testing.html#d0e15875 to
unit test my own bean but I get:
SEVERE: Could not find datasource: java:/n2TestDatasource
javax.naming.NoInitialContextException: Need to specify class name in
environment or system
Post the persistent.xml again:
| ?xml version=1.0 encoding=UTF-8?
| !-- Persistence deployment descriptor for tests --
| persistence xmlns=http://java.sun.com/xml/ns/persistence;
| xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
|
34 matches
Mail list logo