Is it possible to have a calculated value in the duedate field on a timer?
e.g.
|
|
|
|
|
|
|
|
I would want duedate="4 business hours" to be something like
duedate=#{MyDateUtil.add(requestedTime,4)}, and requestedTime is a process
instan
As described in
http://labs.jboss.com/community/wiki/HAWebSessionsviaDatabasePersistencethere
there is a way to tell JBoss to store web sessions in a datasource without
using the Tomcat PersistentManager but the code in SVN has a bug:
| 2009-11-04 13:25:29,945 WARN
[org.jboss.web.tomcat.se
Tomcat provides a way to store web sessions data that is resilient to server
reboots using the org.apache.catalina.session.PersistentManager as described in
http://tomcat.apache.org/tomcat-6.0-doc/config/manager.html but in jboss
5.1.0GA that support is broken:
Using the following context.xml
Hi all,
I want to incorporate JBPM4 taskforms in my own GWT application. What do I need
to do for this? Is there some information available about this?
Is it possible to have a sequence of pages in a taskform, some kind of wizard
to complete before the transition is made in the process?
Can we
hi..
i've started with one problem , but ended up spilling my guts:)
i have the lest jboss tools and eclipse 3.5.1, i suddenly noticed that if my
hbm is not valid by the dtd i don't get a report in the xml editor, only in the
tree editor.
another problem i've stubmled upon is the use of entit
In the past I've used AndroMDA for generating domain model from an UML class
diagram. First EJB2, then Hibernate and in the last projects EJB3 based
entities. It was a great tool for modelling, especially in the old days when it
wasn't practically possible to write all those deployment descripto
I decided to use the start event because so I can use a TaskQuery instead of
HistoryTaskQuery. I just want to gain access to the properties of the task the
transition originates from.
process definition:
|
|
| http://jbpm.org/4.0/jpdl"; key="process"
version="1">
|
|
|
MDB running on JBOSS 4.2.0 GA (configured with JBM 1.4.4 - Using remoting 2.2.3
) connecting to a remote Topic on a different server (JBOSS 5.1.0GA + JBM
1.4.3)
I configured my mdb by following these instructions -
http://www.jboss.org/community/wiki/HowDoIConfigureAnMDBToTalkToARemoteQueue
Is this an EAR? If yes, then are you packaging the ejb interfaces both in the
.war and the ejb .jar? If yes, then remove those interfaces from the .war.
http://www.jboss.org/community/wiki/ClassCastExceptions
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4264
Hello,
I have also the problem. Exactly same exception after creating new role and
user. This error produced when I try to log into portal only with the new user.
Env : JBoss portal 2.7, Sun JVM 64 bits, Linux CentOS 5, PostgreSQL 8.
Any suggestions ?
Thanks
View the original post :
http
I should add that this scenario can send messages ok if I use non-XA
(ConnectionFactory instead of java:/JmsXA). But I can't get rollback support
with non-xa.
If the transaction in Server1 fails I expect the message to not be sent to
Server2.
View the original post :
http://www.jboss.org/ind
Hi all,
apologies if this was answered already but I have not yet found the solution.
I am running a JBoss cluster, 2 machines, Java 5 with: JBossCache 3.2.0.GA,
JBoss 5.1.0.GA and JBossESB 4.6 and essentially performing the following:
| try {
| Node seriesNode = _addSeries(seriesUuid)
Environment:
Server1 (jms client)
Jboss 4.2.2
Jboss Messaging 1.4.0 SP3
Server2 (jms server)
Jboss 4.2.2
Jboss Messaging 1.4.0 SP3
Jboss ESB 4.5
Problem:
Can't successfully send a JMS message from Server1 to Server2 as part of an XA
transaction.
Client:
EJB 2.0 (CMT) sending JMS message to q
Hi all,
I have jboss AS 4.2.3GA installed and i upgraded my remoting package (only
jboss-remoting.jar) to 2.5.2. we have an RCP client that uses InitialContext to
create the RMI proxies.
my problem is that this client queries the jboss all the time and when i want
to reset jboss, i calls one o
Typo - replace "zip task to built" with "jar task to build"
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263974#4263974
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263974
___
while calling look up from standard alone application, it will work fine
|
| InitialContext ctx = null;
| Hashtable props = new Hashtable();
|
| props.put("java.naming.factory.initial",
"org.jnp.interfaces.NamingContextFactory");
| pr
OK - found the answer to this... problem was that I am running ubuntu, and so I
was running the ant ear command using sudo, so it was pullin gproperties from
root.properties rather than myuser.properties.
Thank again to everyone.
View the original post :
http://www.jboss.org/index.html?module=
anonymous wrote : what is the correct or desired way to get the necessary
files into the myproj.war file, given that I am using Ant?
I follow the mechanism used by Maven - I first use the Ant copy task to gather
all necessary files for the WAR in an exploded directory, usually at
target/myappn
anonymous wrote : it seems that jboss does not load new shared libs at runtime
That is correct. You have to restart the app server to get it to recognize new
JAR files placed into server/xxx/lib or common/lib.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263
Yesterday i moved the code from the entity to the RoleHome.
Now looks like this in RoleHome.java
package ch.emtm.session;
|
| import java.util.ArrayList;
| import java.util.List;
|
| import javax.persistence.EntityManager;
|
| import org.jboss.seam.annotations.Begin;
| import org
You changed the port number in the server.xml file to 8480? That is enough for
the transform to miss the port and for the sample-bindings.xml not to work.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263960#4263960
Reply to the post :
http://www.jboss.org/
But how to access the current task-object from within the EventListener firing
on the task-end event? I just have access to execution which is of type
EventListenerExecution.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263959#4263959
Reply to the post :
Any takers from the dev team?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263958#4263958
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263958
___
jboss-user mailing list
"john_es" wrote :
| Now, what I ended up having to do was to add a bunch of xml files from my
workingfolder/trunk/conf to the myproj.war file manually.
|
| As my last question on this thread -- what is the correct or desired way to
get the necessary files into the myproj.war file, given t
Thanks for clarifying this. The review of the JIRA issues regarding the history
API is taking place during the next days, right? Maybe this could also be taken
into account.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263956#4263956
Reply to the post :
h
Nobody know how to do???
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263954#4263954
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263954
___
jboss-user mailing list
jboss
Normally, the real cause should be shown somewhere down in the stacktrace (but
as you stated, this is missing)?
Have you tried the process against the 4.3 trunk?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263953#4263953
Reply to the post :
http://www.jb
OK - now after being able to decode the error logs, withg all my thanks to the
people on this list... I was able to get it deployed and running. Wow. Thanks!
Now, what I ended up having to do was to add a bunch of xml files from my
workingfolder/trunk/conf to the myproj.war file manually.
As my
anonymous wrote : I have to say that I don't understand the workaround you have
proposed. I've been re-thinking this and it came to my mind that thinking in a
transition-wise way actually I would have to get the activitiy the transition
originates from and than retrieve the corresponding task si
Hi,
could you post the updated code which removes from the relationship, and also
the relationship related snippets of the entities? There were so many changes
that I need a full update of it ;-).
I think it is better to keep this code in the session bean, because you are
manipulating more tha
I think this is hardly possible since it is splattered all over with
implementation details. I'll have to check back after consultation. Maybe
instead of posting I could supply it to you by e-mail.
I already raised log levels. Is there no way to see more?
View the original post :
http://www.jb
Of course you're right and one could easily argue about the definition and yes
I am talking about the last task in an transition-wise way.
I have to say that I don't understand the workaround you have proposed. I've
been re-thinking this and it came to my mind that thinking in a transition-wise
So if I see it correctly, the error happens when starting a new process
instance, the process definition isn't found in the repositorycache, which
actually triggers the deployment again.
So far this is acceptable. Could you post your process?
View the original post :
http://www.jboss.org/index
You can always try to explain your use cases in the BPM console (BPMNC)
console. If your use case is general enough, it might end up in the official
release, without you having to resort to custom coding.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263938#
After doing a bit of googling, I have figured out that my myproj.war file is
missing the WEB-INF/config-struts.xml file.
So, is this a matter of getting ant to put it in there, or do I do this
manually?
John
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=426
Getting the previous task is indeed tricky. Because it depends on what you call
'previous'. The previous one in the process, transition-wise (as you state). Or
is it the previous task that has been done by the same assignee (easy to
retrieve) in potentially some parallel path?
For me it is the
This is the only error I see:
| INFO: exception while executing command
org.jbpm.pvm.internal.cmd.startprocessinstanceinlatest...@5ad89e02
| java.lang.ClassCastException:
org.jbpm.jpdl.internal.model.JpdlProcessDefinition cannot be cast to
java.util.List
| at
org.jbpm.pvm.internal.r
The error usually meant that there was something wrong with the process xml -
but I've never seen it being thrown at runtime.
Regarding java activities, there are no limitations for the constructor (as
long it is the default constructor).
It sure sounds like a strange problem. i'm curious to se
Thanks for your response, Joram
I'll be using a "standalone" bpm by now, so I'll check GWT.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263928#4263928
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263928
Hi,
I used the "@Depends" only for a MDB queue, not for a depends on an EJB, so I
cannot provide with a perfect sampl ;-).
But I think it should be:
@Depends(value="jboss.j2ee:ear=nameOfEarFile.ear,jar=nameOfJarFile.jar,name=nameOfBean,service=EJB3")
You used the JNDI names, but you need the nam
If my approach is wrong please point me to some tutorial or docs where is
explained how to do it.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263920#4263920
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263920
Hi, i am using jboss 5.1.0. I need to send messages to other application
deployed on websphere 6( or may higher).
Up to now no success with this. The people that develop the application using
websphere gave me
queue.manager.name=...
queue.manager.host=...
queue.manager.port=...
queue.manager.cha
GateIn Portlet Container is a rebranded project of JBoss Portlet Container, the
documentation of the previous container still apply:
http://www.jboss.org/gatein/portletcontainer/documentation.html
For the portlet container, the JSR-286 specification document is also a
must-read
View the origina
anonymous wrote :
| Then I deployed the shared lib file on the test server, that runs on linux,
and jboss complains about a class not found, that is in the shared jar.
|
| Do you have any idea about the different behaviour ?
|
| I will continue to investigate on my own...
|
| Alb
"iltrex" wrote : "PeterJ" wrote : You could do this: unjar all 20-some JARs
into a common directory and then JAR the contents of that directory. Then you
will have one JAR file which contains all the classes in the 20-some JAR files.
|
| that is a very good suggestion. I will make some tests
18:05:26,151 INFO [STDOUT] ArrayList is got:
| 18:05:26,151 INFO [STDOUT] One Animal is got:Animal-->name:Animal.1,age:1
| 18:05:26,151 WARN [StatelessBeanContext] EJBTHREE-1337: do not get
WebServiceContext property from
| stateless bean context, it should already have been
== result from JBoss AS==
| 18:05:01,199 DEBUG [ManagerBase] Start expire sessions StandardManager at
1257329101199 sessioncount 0
| 18:05:01,199 DEBUG [ManagerBase] End expire sessions StandardManager
processingTime 0 expired sessions: 0
| 18:05:07,230 FINE [tcp]
below codes are for Client test
below codes are for Client test
below codes are for Client test
| /**
| * EJBWebServiceBean.java
| *
| * This file was auto-generated from WSDL
| * by the Apache Axis 1.4
package com.ybxiang.ejbws;
|
| import java.util.ArrayList;
| import java.util.Iterator;
|
| import javax.jws.WebMethod;
|
| public interface EJBWebServiceInterface {
| public void passParameter1(String s);
| public void passParameter2(Animal a);
| public void p
package com.ybxiang.ejbws;
|
| public class Human extends Animal implements java.io.Serializable{
| private String email;
|
| public void setEmail(String email) {
| this.email = email;
| }
|
| public String getEmail() {
| return email;
package com.ybxiang.ejbws;
|
| import javax.xml.bind.annotation.XmlSeeAlso;
|
| @XmlSeeAlso({Human.class})
| public class Animal implements java.io.Serializable{
| private String name;
| private Long age;
| public String getName() {
| return name;
|
=sorry, i will rearrange the code by
|
|
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263897#4263897
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263897
__
Obviously, the result is NOT what i want!!!
Please help me!!! I am really painfull now.
Thank you in advance!!! Please!!!
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263895#4263895
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&
Printed result:
Server:
18:05:26,120 WARN [StatelessBeanContext] EJBTHREE-1337: do not get
WebServiceContext property from stateless bean context, it should already have
been injected
18:05:26,120 INFO [STDOUT] String is got:Test string
18:05:26,120 WARN [StatelessBeanContext] EJB
The client code:
Create a new java project WSClient.
Animal.java and Human.java are copied from server part.
package com.ybxiang.ejbws;
import javax.xml.bind.annotation.XmlSeeAlso;
@XmlSeeAlso({Human.class})
public class Animal implements java.io.Serializable{
private String name;
I compiled those code and run in eclipse:
run as --> run on server[jboss 5.1]
Now, i can see that the web service is deployed successfully and i can visit
http://127.0.0.1:8080/PolymorphismEJBWebService/EJBWebServiceBean?wsdl
I got the wsdl:
- http://ejbws.ybxiang.com/";
xmlns="http://sch
Dear JBoss developers,
I spent several days to solve the problem of polymorphism in JBoss
WebService, but failed.
I googled many articles, Only
"http://forums.sun.com/thread.jspa?threadID=5225941"; is usefull to me. But it
just does NOT work!!
Please help me. Great Thanks to
directly not yet (look in the jira) but indirectly you can from a generic (to
be created by you) actionhandler which does e.g. do some reflection etc...
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263876#4263876
Reply to the post :
http://www.jboss.org/in
Hi,
is it possible to tell jboss to generate the wsdl for an ejb3 webservice
without any imports ?
for following wsdl is generated for our webservice. the main problem is
that the imported file contains another import. to generated the client
we have to download the 3 files manually and fix the
59 matches
Mail list logo