Hi, how do i invoke an ElementType.TYPE-Hibernate-Validator on
PROCESS_VALIDATIONS - phase ?
s:validate{All} works only on field-level ...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095888#4095888
Reply to the post :
http://www.jboss.com/index.html?modu
Is there a way to retrieve the LoginContext in an EJB ?
I'd like to make it possible that the user can change his user-login-name. But
always a user did such a change the UserPrinciple-Information holds the old
name. I need to replace the SimplePrinciple with the user-login-name by the new
one.
I investigated that i need all users currently logged in (because somebody else
can change the username in the application for a currently logged in user.)
This is somewhat stupid, but these are the requirements.
Any ideas ?
View the original post :
http://www.jboss.com/index.html?module=bb&o
Here is the snippet of code i'm processing
| Label l;
| for (Label newLabel : labels) {
| l = entityManager.createQuery(
| "from Label where name = :name and appId = :appId")
| .setParameter("name", newLabel.getName())
| .setParameter("appId", a
Sorry, i forgot to post versions.
jboss-4.2.0 which uses
* hibernate-entitymanager-3.2.1.ga
* hibernate-annotations-3.2.1.ga
* hibernate-core-3.2.3.ga
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083069#4083069
Reply to the post :
http://ww
hello everybody !
Is there an easy way in seam to implement batchprocessing ?
On jboss-startup there should be a thread created which performes tasks
in an iterative and synchron way.
As i know @IntervalDuration and @Asynchronous does not wait for the previously
started Thread - therefore it's
Is there a way to ask seam, whether is is started up ?
I tried to create an MBean which spawn's a thread doing the recurring job.
But MBeans are initialized before Seam is up in JBoss ...
Any ideas ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087271#40872
| q.setFlushMode(FlushModeType.COMMIT);
|
solved this problem ... i'm processing a Set of different labels, therefore the
merged data need not to be flushed before processing the next query (it does
not affect the results).
Just for those who are interested in the solution
see ht
Hello !
Is this known as bug now ? Could anyone post the JIRA issue nbr/link ?
I've an similar problem: I try to implments a retry-mechanism for an
asynchronous task. This is implemented as follows ..
The retry is not processed in an asynchron way as expected .. (?)
| @Stateless
| @AutoC
H .
There is a condition in the AsynchronousInterceptor which prevents
@Asynchronous calls to be made from @Asynchronous methods ...
Why ?
!Contexts.getEventContext().isSet(AbstractDispatcher.EXECUTING_ASYNCHRONOUS_CALL)
| @AroundInvoke
|public Object aroundInvoke(InvocationC
Hi Gavin,
I would be pleased if you could help me in this case; the
org.jboss.seam.async.AsynchronousInterceptor is written by you ...
Why it's not allowed to make asynchronous calls from asychronous methods ?
Thanks in advance
Matthias
View the original post :
http://www.jboss.com/index.h
Thanks very much!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088844#4088844
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088844
___
jboss-user mailing list
jboss-user@li
If i start an Asynchronous method with an IntervalDuration assigned, the
interval will be timed from the last 'start' of the method not from the the
last execution-end.
This causes the Tasks to be launched in parallel if the previous task was not
finished because it needs longer than the interv
No, i don't think so ...
I need something like the following
PseudoCode:
| @Stateful
| @Startup
| @Name("batch")
| @Scope (ScopeType.APPLICATION)
| @TransactionManagement (TransactionManagementType.BEAN)
| public class BatchBean implements Batch {
|
| private AtomicBoolean a
the @Asynchronous inside the @Asynchronous - topic is needed for another task
in my application ...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088964#4088964
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088964
_
Hi everybody,
I've many readonly - screens which do never need a flush ...
What about a new FlushModeType.NONE in
org.jboss.seam.annotations.FlushModeType
Comments & discussion are welcome
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089177#408
That is an option, yes. But this needs you to be sure that a flush is never
called in your components ...
Just to ensure that a flush will be ignored ...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089195#4089195
Reply to the post :
http://www.jboss.com
what libraries are needed to get the integrationtest running ?
I added all jars contained in 'lib' of the current cvs into test
of my parent-project. this did not work ...
thats my testcase
| public class BarInputManagerTest
| extends SeamTest
| {
|
| @Test
| pub
Have you got the idea what i'm doing ? Is jBPM an option for doing this ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4090287#4090287
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4090287
I tried to explain it by posting pseudo-code ...
I like to create a simple service which runs in it's own thread from startup of
seam until shutdown. The service itselve performs synchron tasks ..
Hmm. How could i explain it better ?
View the original post :
http://www.jboss.com/index.html?m
Is is possible to add the source-artifacts to your maven-repository ?
Please ..
You only need to add the following to your pom-files
|
| maven-source-plugin
|
|
|
@kenglover: Thanks, but i'm using Quartz not EJB-Timers. I'm sorry, should have
told it.
@pete.muir: I tried the approach by scheduling an asynchronous task at startup,
which performs some operations and gives the control for the next operation to
a new asynchronous task. This works fine for so
The version 2.0.0.CR2 throws an exception on startup ...
| java.lang.NullPointerException
| at
org.jboss.seam.async.AsynchronousInterceptor.isExecutingAsynchronousCall(AsynchronousInterceptor.java:64)
| at
org.jboss.seam.async.AsynchronousInterceptor.aroundInvoke(Asynchro
It's is not an asynchronous method to be invoked ... It's the method marked
with @Destroy @Remove ...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092479#4092479
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=409247
I'm sorry, i did place an @Asynchronous on a statefull application-scoped
@Startup bean.
I splitted the bean into a stateless one and an application-scoped bean for
holding the state ...
For which contexts are @Asynchronous methods allowed ?
View the original post :
http://www.jboss.com/inde
im using :
jboss 4.2.0GA
| jboss-seam 2.0.0.CR2
|
| i tried to use the following jsf-versions ...
| 1.2_04-p02 ( used by seam 2.0.0.CR2 )
| | 1.2_04-b10-p01 ( bundled with jboss 4.2.0 )
|
| any ideas whats wrong ?
| using 2.0.0.CR1 causes no error on startup ...
|
|
.. because it does not follow the naming-conventions for source-bundles ...
There are two hyphen's before 'sources-jar' instead of one ...
http://repository.jboss.com/maven2/org/jboss/seam/jboss-seam/2.0.0.CR2/
anonymous wrote :
| Index of /maven2/org/jboss/seam/jboss-seam/2.0.0.CR2
|
|
I think jasperreports is a good choice for everyone ...
It creates PDF, CVS, XLS, etc. from one template ;)
Report-Templating is easy using iReports ...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092652#4092652
Reply to the post :
http://www.jboss.com/i
Thanks ...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092957#4092957
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4092957
___
jboss-user mailing list
jboss-user@lists.jb
Hi!
Can anybody explain to me how to replace the clientId from the output rendered
by
| * h:messages
| * h:message
| * s:message
|
with the labelvalue ?
The tomahawk - library has an tag called t:messages with an attribute
'replaceIdWithLabel' ? Is there an alternative for this in se
Your persistencecontext has to be named 'entityManager'.
Otherwise you can define it easily in your components.xml
|
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094966#4094966
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=pos
31 matches
Mail list logo