Hello,
I'm very noob on WS, so, excuse me in advance.
I wish to submit several Users in one soap request.
Let's say that a user is :
@Entity
| @Name(user)
| public class User implements Serializable
| {
|
| private int id;
| private String uid;
|
| public User(){}
I wish to launch transaction that takes hours from a Quartzed Asynchronous
method:
| @Asynchronous
| @Transactional
| @TransactionTimeout(10)
| public QuartzTriggerHandle scheduleAsynchronousJob(@Expiration Date
expiration, AsynchronousJob asynchronousJob)
|
In a simple call:
try {
| Contexts.getEventContext().set(user,
user);
| Renderer.instance().render(/mail.xhtml);
| } catch (Exception e) {
|
Just a precision, Quartz send the mails.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4082522#4082522
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082522
___
jboss-user mailing
Any way to manage fileUpload exception?
Fe Multipart request is larger than allowed size return a 500 page.
This is not working too:
| exception class=org.jboss.seam.web.FileUploadException
| redirect view-id=/home.xhtml
| messageUpload problem/message
|
Adding import org.jboss.seam.async.QuartzDispatcher; where the Asynchronous
method is set will fix you classloader error.
Next step is:
11:27:15,026 ERROR [JobStoreTX] Error retrieving job, setting trigger state to
ERROR.
| org.quartz.JobPersistenceException: Couldn't retrieve job because a
Fixed on CVS, an other thread is talking about it.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4071322#4071322
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071322
___
I can submit empty document (no specified path) with the following code:
(data, filename, contentType have @NotNull attributes).
h:form enctype=multipart/form-data
| s:decorate id=documentDecorate
template=layout/decorateField.xhtml
|
I become quite crasy about this issue.
My Entity:
anonymous wrote :
| @Basic @Future @Temporal(TemporalType.TIMESTAMP)
|public Date getStart()
|{
| return start;
|}
|
|public void setStart(Date start)
|{
| this.start = start;
|}
|
Edit code not quote. :/
I become quite crasy about this issue.
My Entity:
| @Basic @Future @Temporal(TemporalType.TIMESTAMP)
|public Date getStart()
|{
| return start;
|}
|
|public void setStart(Date start)
|{
| this.start = start;
|}
Hello,
I have to offer 3 dynamic dates on a selectOneListbox.
This code:
h:selectOneListbox id=start value=#{sV.start} styleClass=sessionInput
| s:convertDateTime pattern=MM/dd//
| f:selectItems value=#{sV.availableStarts} /
| /h:selectOneListbox
Render:
select
getComputeSessionVisus is not properly raised by the asynchronous method
processGetComputes through
events.raiseTransactionSuccessEvent(flushComputeSessionVisus);
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4061743#4061743
Reply to the post :
Hello,
How raising an Event from an Asynchronous method?
Basically:
newSessionBean.java
| ...
|public String step1()
|{
| sessionVisu = new SessionVisu(sessionVisu, user);
| sessionVisu.setStatus(description);
|
13 matches
Mail list logo