Hello,
is it possible to map the TransactionManager so, that it will be externally
accessible?
I would use it from Hibernate console without changing of my persistence.xml.
I tried it with other AS as JBoss an it works.
Thanks, Gena
View the original post :
Hello,
the current implementation of the event observer pattern seems to be (in my
opinion) unstable: the new one observer can throw an uncaught runtime
exception and so prevent other observer from the reaction to this event.
Are there any fail-safe design pattern known, how we should use
Hello,
my remember me cookie doesn't disappear after at least one login with the
rememberMe set to true. I think the method clearCookieValue() should remove
the cookie from the same path, as it was set once. So if i change the line 99
of Selector.java from cookie.setPath(/) to
Hello,
i'm trying to use the built-in security handling. With the pages.xml it works
fine. But, if i try to restrict some controller action, no redirect occurs and
the application just throws an exception
| 17:34:57,328 ERROR [[default]] Servlet.service() for servlet default threw
exception
Ok, with s:button the redirection to login works properly also on method
invocations, but not with h:commandButton, any idea why?!
I'm using trinidad 1.2.1 on the jsf-ri-1.2 latest with latest cvs build of
jboss Seam2
Gena
View the original post :
Hello,
i'm trying to get the testng tests working.
Could please someone explain, why the method invocation on a POJO- Seam-
component is correctly intercepted by EE5SeamInvocationContext but each call
to an ejb3 component is intercepted by EJB3InterceptorsInterceptor if i use
the Jboss
Hello
i'm trying to run a testng test. At the beginning it looks fine:
| 01:55:18,578 INFO [Component] Component: offerLifecycle, scope: STATELESS,
type: STATELESS_SESSION_BEAN, class: de.intermobil.appl.OfferLifecycleBean,
JNDI: OfferLifecycleBean/local
but as soon es the test needs an
Hello
i'm trying the @WebService example from the reference-documentation but i'm
getting following exception on Identity.instance() call:
| Caused by: java.lang.IllegalStateException: No active session context
| at org.jboss.seam.security.Identity.instance(Identity.java:157)
|
Sorry, configured, but didn't deploy.
Thank you for the hint!
Gena
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4066448#4066448
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4066448
Try to use the page parameters in pages.xml:
| page view=/edit_user.xhtml login-required=true
| param name=userId value=#{editUser.userId}/
| /page
|
if you request /edit_user.seam?userId=someId , after login succeeded, you
should be redirected to the page with userId set.
Gena
View
Hello,
i think, to get the last changes on locale/bundles working, the line 68 in
LocaleSelector.java should be changed from
Contexts.removeFromAllContexts(org.jboss.seam.core.resourcebundle);
to
Contexts.removeFromAllContexts(org.jboss.seam.core.resourceBundle);
Gena
View the original post
@wolfc thank you for the answer!
its a pity, that a small error (misunderstanding of this aspect of ejb-spec)
results in a total instability of a whole application. I think, its really
confusing, to get a dirty new injected STATELESS bean from a container.
Couldn't it be better, to purge the
Hello all,
some entity was changed otherwise during it was editing in web. This entity is
associated with an extended persistent context. After trying to persist the
changes, it naturally (as expected) throws an exception. My idea is
| Entity merged = em.merge(dirtyEntity) ;
|
Hello
just one stupid question. I invoke 3 method on one injected stateless bean
instance. During the invocation chain this SLSB holds the internal state.
After the the work is done, i forget this SLSB.
And now the question, if i repeat the operation described above in the next
This is well within the contract for JSF - It simply says that the value
attribute of the UISelectMany should be an array or List - it doesn't say that
it is a PersistentBag.
PersistentBag is an implementation of java.util.List and i don't see any need
in a replacement of an existing and not
thank you!
it was the navigation.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4059555#4059555
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4059555
___
jboss-user mailing list
i think, it could, but we use now two different ds one for JBoss and one for
our application. In the future, we plan to switch the jboss ds to our
production one. Do you think, the XA were the performance killer or a source
of system instability?
View the original post :
Hello,
i think, it should be possible to use the byte[] as is (+custom content type)
with s:graphicImage.
I prepare the images with JAI and if use the s:graphicImage the quality
decreases. If i comment the preparation of BufferedImage out and put the
input array to output thru, i get an
Ok, JIRA issue is now open
http://jira.jboss.org/jira/browse/JBSEAM-1592
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4059487#4059487
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4059487
Hi
During em.merge( ) operation i'm getting an exception, because the
Arrays.ArrayList doesn't provide the AbstractList.remove functionality.
As the collection was retrieved from DB, it was an instance of PersistentBag.
After form submission it becomes Arrays.ArrayList. So someone
Hi,
is it possible, you are getting some where an uncaught exception (i would say
null pointer) and seam interceptor rolls back the transaction? In the next step
your page will rerender and touch a really null (or corrupt) objects.
Gena
View the original post :
Thank you for the answer!
The problem is, for example i need to submit form and persist an object in an
old long running conversation. Then i must initiate a redirect to a new page,
take some parameters from an old conversation and begin a new long running
conversation. Optionally, it would be
Hello
it seems, that the s:conversationPropagation doesn't affect the h:commandButton
behaivour.
This code works, but doesn't cause a submition of form values
s:button propagation=begin action=offer/createOffer value=#{uib.Next}
styleClass=submit
|
Hi
i'm using an ajax4jsf enabled page, which works proper until i send even a
smallest ajax event. Then i get a PersistentObjectException (detached
entity...). The conversation seems to be long running, the session has manual
flash mode. The entity, which is the cause of an exception is
Hi
i'm using an ajax4jsf enabled page, which works proper until i send even a
smallest ajax event. Then i get a PersistentObjectException (detached
entity...). The conversation seems to be long running, the session has manual
flash mode. The entity, which is the cause of an exception is
Hi
the small example is attached to Jira. I hope, it will be helpful.
Gena
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4046347#4046347
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4046347
Ok, i've found it!
Since the new jboss ts implementation supports only one local-tx-resource per
distributed transaction, the timer can not be commited until a bean uses more
then one local-tx resource. Timers are hosted by default within the non xa
hsqldb. So if we use in our transaction also
Hello all
i'm using s:fileUpload as a replacement of trinidad upload tag as described by
the seam docs and example. Since two weeks i've got a recent implementation of
trinidad and tried to use it. It works so far but the s:fileUpload doesn't
work correct anymore. I'm not sure, if the problem
Are any workarounds/patches or corrections available now?
Thx
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4042669#4042669
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4042669
I've got it! Since the new jboss ts implementation supports only one
local-tx-resource per distributed transaction, the timer can not be commited
until your bean is using more then one local-tx resource. Timers are hosted by
default within the non xa hsqldb. So if we use in our transaction also
Ok, i've found it!
Since the new jboss ts implementation supports only one local-tx-resource per
distributed transaction, the timer can not be commited until a bean uses more
then one local-tx resource. Timers are hosted by default within the non xa
hsqldb. So if we use in our transaction also
Hello,
i'm using the freshest CVS Seam on JBoss4.2.0CR2 with trinidad, ajax4jsf and
jsf 1.2ri (all jars from AS or Seam-dist).
Stack trace:
| SCHWERWIEGEND: Error Rendering View[/offer/step1.xhtml]
| java.lang.IllegalArgumentException: Cannot convert (id=1868 token=REPAIRED
Hello, i 've got an Exception, that OneType is not of type OneType_javassist...
in method coerceToType.
My workaround (works for me but possible isn't a finest solution)
if (type == null || Object.class.equals(type) ||
obj.getClass().isAssignableFrom(type))
Please check this and describe
Hello, i'm using the seam-wrapper for EJB3 timers via @Asynchronous. In a
simple case it works fine:
Timer iface:
@Local
| public interface TimerTester {
| @Asynchronous
| public abstract Timer say(String what, @Expiration
| Date expireTime, @IntervalDuration
| Long
Hi, while i'm trying to persist one start and one end timer, i get following
exception. Some details on the unit of work: I persist my object (object graph)
at the end of long running conversation with extended persistent context. Then
i do em.flash() and (if all succeeded) i wish to schedule
I hope yes:
My ejb-jar.xml:
...
| assembly-descriptor
| interceptor-binding
| ejb-name*/ejb-name
|
interceptor-classorg.jboss.seam.ejb.SeamInterceptor/interceptor-class
| /interceptor-binding
|/assembly-descriptor
| ...
View the original
...
| 11:43:48,804 INFO [Component] Component: utilWeb, scope: EVENT, type:
JAVA_BEAN, class: de.intermobil.util.UtilWeb
| 11:43:48,804 DEBUG [Component] interceptor stack:
[Interceptor(org.jboss.seam.interceptors.MethodContextInterceptor),
Not only my components but also no one Seam component can be injected
(facesMessages, applicationContext, log etc. are nulls!!)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4008231#4008231
Reply to the post :
Ok, i don't know why, but it works now. I've tried the Seam-generated example
as described on Wiki. And it did work!
The only difference was the eclipse project kind: my project is a simple
application, but seam-tutorial is an Enterprise Application. So i was missing
the EAR-libraries. In my
Hi, i've got probably a stupid injection issue but i need a hint:
1. While testing with testng no one Seam component can be injected. However,
@EJB components can be!
2. All components seem to be correctly installed/registered during start up
3. Component.getInstance(..) and so on work
40 matches
Mail list logo