Hi.
I am having some serious classloader-related problems when deploying an EAR on
JBoss AS 4.2.3. The EAR contains a WAR and a lib directory at the root of the
EAR contains all the librairies. I have not defined a jboss-app.xml file and
therefore no EAR-specific loader repository, BUT I have sw
Hi all.
I have a distributed architecture which is such that I don't need cache
replication. Thus I plan to use the plain TreeCache and not PojoCache.
My question is : in non-replicated mode, do I need to call the startService()
method or do I just need to instantiate a TreeCache and that's it ?
Guys,
can you give me advice on the good way(s) to start a cache instance when on
application startup (in my case on Weblogic) ?
My idea is this :
a CacheManager singleton is instanciated by the classloader (or by the Spring
BeanFactory, whichever), the TreeCache instance -myCache- is an attrib
Are there any advantages in using PojoCache instead of TreeCache if no
replication is required ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030692#4030692
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030692
_
Hi.
I'm using TreeCache 1.4.1 with no replication. I understand that each calling
thread will start an internal transaction, even if there is no transactional
context in the client.
- Does that mean that I need to configure a TransactionManager in the cache
config file ?
- Is there any way of
Hi. I'm using JBoss 4.2.2.GA with EJB3 MDBs and Spring to inject the MDB's
business logic. I'm getting an error related to the MDB's lifecyle.
Here's my MDB code :
package com.acme.impl;
|
|
| import javax.annotation.Resource;
| import javax.ejb.ActivationConfigProperty;
| import javax
Hi. I'm using JBoss 4.2.2.GA with EJB3 MDBs and Spring to inject the MDB's
business logic. I'm getting an error related to the MDB's lifecyle.
Here's my MDB code :
package com.acme.impl;
|
|
| import javax.annotation.Resource;
| import javax.ejb.ActivationConfigProperty;
| import javax
Hi.
I am considering using Spring's Message Listeners with JBoss Messaging (as an
alternative to MDBs).
Can anyone tell me if it actually works ? On the JBM wiki there is a warning
about using JmsTemplates but there is no mention of the Message Listeners.
View the original post :
http://www.jb
Hi.
I would like to benefit from the JCA-managed connection factory's ability to
cache connections.
In a non-clustered configuration, what is the JNDI name of that connection
factory ? Does ConnectionFactory map to it ? Should I use the same JNDI name
inside JBoss and in a standalone client ?
V
Hi all.
Could I please get some pointers on best practices for managing connections in
JMS publishers that send messages to JBoss Messaging ?
I read on the Wiki that the JCA-managed connection factory caches connections,
so is it ok to simply open and close a connection for each message ?
Or shou
Thanks Clebert.
How do I make sure I am using that JCA based connection factory ?
Is its JNDI name java:/JmsXA ?
Does the JNDI name ConnectionFactory map to it ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159015#4159015
Reply to the post :
http://www.jbo
I did check out the Wiki AND the JBM documentation, but there are still some
open points for me.
The page that discusses the issue of JmsTemplates and connection open/close
says to use the JCA-managed connection factory with JNDI name java:/JmsXA.
(http://wiki.jboss.org/wiki/JBMSpringJMSTemplateN
We are using EJB3 MDBS on JBoss 4.2.2GA, and we keep getting the following
exception.
Any ideas ?
2008-08-02 16:41:43,033 124733 DEBUG
[org.springframework.jms.listener.DefaultMessageListenerContainer]
(listenerContainer-1:) Consumer [EMAIL PROTECTED] of session [EMAIL PROTECTED]
did not rece
Hi.
I am a complete jBPM newb, so forgive me if this question has been answered
before.
I would like to know how to programmatically tell jBPM to set a timer on a
particular instance of a workflow, so that the process will resume at a
specified date.
I am using Spring Modules, and know how to r
Could you please be more specific, with some URLs or the useful classes in the
javadoc
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082202#4082202
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082202
___
Hi guys.
Is it possible to set a node's timer properties (e.g. duedate, repeat, etc.) by
getting them from the process instance's context variables ? Is this something
that can be done with jPDL's expression language ? If so, could you give me
pointers on the correct EL syntax for that ?
Thanks.
Hi.
I'm testing a simple process with one node and a timer at that node, and I get
the following error :
| 16:34:23,466 INFO [STDOUT] 16:34:23,466 ERROR [GraphElement] action threw
exception: service 'scheduler' unavailable
| org.jbpm.svc.JbpmServiceException: service 'scheduler' unavailabl
OK, problem solved, the DBSchedulerServiceFactory definition was missing in the
jbpm.cfg.xml file.
I now get another problem :
| 2007-09-20 18:05:48,493 INFO [STDOUT] 18:05:48,493 ERROR [JobSession]
org.hibernate.TransientObjectException: object references an unsaved transient
instance - sa
See my post here (my reply, not the original issue) :
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=119241
I think I'm getting the same problem as you are.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086786#4086786
Reply to the post :
http://ww
I am testing a very simple process containing only one node, in which a basic
timer is declared. The process is called by the doGet method of a basic servlet
:
| protected void doGet(HttpServletRequest request, HttpServletResponse
response) throws ServletException, IOException {
|
OK, I created the new topic.
I hope that I will get more useful answers than this one.
"kukeltje" wrote : Fabian,
|
| New problems belong in new topics
|
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087131#4087131
Reply to the post :
http://ww
It's really simple. All the timer is supposed to do is wait for one minute.
I just deploy a servlet so that I can use my browser to signal the process
instance. You have the servlet's doGet method code above. Nothing else is
needed, because it encapsulates the process definition in XML.
What I c
PROBLEM SOLVED :
Apparently jBPM cannot use a timer when the corresponding process definition
has only been instantiated in memory from an XML definition but has not been
persisted (at least in the Hibernate L1 cache if not in the DB).
When I add this call after instantiating the process defini
I'd like to use jBM's expression language so that a Timer can obtain its
duedate parameter from the ContextInstance of the process. I've tried this :
|
|
|
|
|
|
|
|
|
|
|
and I get an error message telling me that my XML i
"kukeltje" wrote : correct... not all params can be EL. The duedate e.g. can't.
File a jira issue for thisor better, look in the source of jbpm to see how
to achieve this (it is realy easy)
I appreciate your answer, but also find it somewhat weird : if you know the
answer, and if it is inde
Ok I've looked into it a bit, and it seems that the quickest way to achieve
this, without modifying the jPDL schema, is to override the read(Element
actionElement, JpdlXmlReader jpdlReader) method of class
org.jbpm.scheduler.def.CreateTimerAction. The overriden method can then call
the org.jbpm
Why do I talk about modifying the schema ? Well, I had a look at the jpdl-3.2
schema, and apparently all the objects that can handle EL have a "expression"
attribute, whereas objects that can't don't seem to have one.
For example, the action element :
|
|
|
|
Hi.
I am using an architecture where business logic and jBPM are co-located in the
same JVM and share the same classloader.
I am wondering whether I should systematically use the Command Service
interface to interact with jBPM, versus directly using the public methods
exposed by the jBPM object
I spent some time on finding out how to programmatically create and cancel
timers, so I thought it might be a good idea to share this with you.
(Note : this works with jBPM-jPDL 3.2.1 and 3.2.2).
1- Define a scheduler service in jbpm.cfg.xml :
2- Start a job executor thread (we do it via Spring
I've figured it out.
I posted the solution here :
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=120995
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094086#4094086
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply
Ok here it is below.
(Maybe I should start a blog ;-), or independent paid consultancy ;-)) )
| public class JbpmLifeCycleListener {
|
| /** Keylogger. */
| private static KeyLogger keyLogger =
KeyLoggerFactory.getLogger(JbpmLifeCycleListener.class);
|
| /** Jbpm
Hi.
I see on the Wiki (http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossWSSpecStatus)
that JBossWS require J2EE 5 for HTTP, SOAP and JAX-RPC support. I also read on
the JBossWS FAQ that JBossWS runs on JBoss AS 4.0.4, which to my knowledge is
at the J2EE 1.4 level. I'm a bit puzzled.
View the or
Can I get an answer on this please ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053858#4053858
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053858
___
jboss-user mailing
Strangely enough, I am not getting any answer to this question. Maybe it is
stupid or badly worded.
Let me put it another way then : what is the most recent version of JBossWS
that I can use on a J2EE 1.4 compliant application server, such as JBoss 4 ?
All I want to do is use SOAP 1.2 over http,
34 matches
Mail list logo