[JBoss jBPM] - Re: how many events in JBPM?
by fjfd
do you mean how many kinds of events?
public static final String EVENTTYPE_TRANSITION = "transition";
public static final String EVENTTYPE_BEFORE_SIGNAL = "before-signal";
public static final String EVENTTYPE_AFTER_SIGNAL = "after-signal";
public static final String EVENTTYPE_PROCESS_START = "process-start";
public static final String EVENTTYPE_PROCESS_END = "process-end";
public static final String EVENTTYPE_NODE_ENTER = "node-enter";
public static final String EVENTTYPE_NODE_LEAVE = "node-leave";
public static final String EVENTTYPE_SUPERSTATE_ENTER = "superstate-enter";
public static final String EVENTTYPE_SUPERSTATE_LEAVE = "superstate-leave";
public static final String EVENTTYPE_SUBPROCESS_CREATED = "subprocess-created";
public static final String EVENTTYPE_SUBPROCESS_END = "subprocess-end";
public static final String EVENTTYPE_TASK_CREATE = "task-create";
public static final String EVENTTYPE_TASK_ASSIGN = "task-assign";
public static final String EVENTTYPE_TASK_START = "task-start";
public static final String EVENTTYPE_TASK_END = "task-end";
public static final String EVENTTYPE_TIMER = "timer";
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968049#3968049
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968049
19 years, 8 months
[JNDI/Naming/Network] - Re: JNDI datasource not available in one webapp while its av
by wfenthusiast
More info:
I think the problem may be because my webapp is not getting bound to the 'java:' namespace because using the dumpContextList method someone posted in this forum I'm able to look at what the context contains.
Making successive calls of
System.out.println("Dumping context list for 'java:'");
| dumpContextList(ctxt, "java:");
| System.out.println("Dumping context list for ''");
| dumpContextList(ctxt, "");
results in
Dumping context list for 'java:'
| Dumping context list for ''
| 1. TopicConnectionFactory: org.jboss.naming.LinkRefPair
| 2. UIL2ConnectionFactory: javax.naming.LinkRef
| 3. UserTransactionSessionFactory: $Proxy12
| 4. UIL2XAConnectionFactory: javax.naming.LinkRef
| 5. QueueConnectionFactory: org.jboss.naming.LinkRefPair
| 6. UserTransaction: org.jboss.tm.usertx.client.ClientUserTransaction
| 7. jmx: org.jnp.interfaces.NamingContext
| 8. UILXAConnectionFactory: javax.naming.LinkRef
| 9. UILConnectionFactory: javax.naming.LinkRef
but from my other webapp i'm getting this for the same piece of code
Dumping context list for 'java:'
1. SecurityProxyFactory: org.jboss.security.SubjectSecurityProxyFactory
| 2. MyDS: org.jboss.resource.adapter.jdbc.WrapperDataSource
| 3. DefaultJMSProvider: org.jboss.jms.jndi.JNDIProviderAdapter
| 4. comp: javax.naming.Context
| 5. JmsXA: org.jboss.resource.adapter.jms.JmsConnectionFactoryImpl
| 6. jaas: javax.naming.Context
| 7. timedCacheFactory: javax.naming.Context
| 8. TransactionPropagationContextExporter: org.jboss.tm.TransactionPropagationContextFactory
| 9. StdJMSPool: org.jboss.jms.asf.StdServerSessionPoolFactory
| 10. TransactionPropagationContextImporter: org.jboss.tm.TransactionPropagationContextImporter
| 11. TransactionManager: org.jboss.tm.TxManager
| Dumping context list for ''
| 1. TopicConnectionFactory: org.jboss.naming.LinkRefPair
| 2. UIL2ConnectionFactory: javax.naming.LinkRef
| 3. UserTransactionSessionFactory: $Proxy12
| 4. UIL2XAConnectionFactory: javax.naming.LinkRef
| 5. QueueConnectionFactory: org.jboss.naming.LinkRefPair
| 6. UserTransaction: org.jboss.tm.usertx.client.ClientUserTransaction
| 7. jmx: org.jnp.interfaces.NamingContext
| 8. UILXAConnectionFactory: javax.naming.LinkRef
| 9. UILConnectionFactory: javax.naming.LinkRef
How do i solve this?
private static void dumpContextList(InitialContext ctx, String prefix) {
| try {
| int i = 1;
| for( Enumeration e = ctx.list( prefix ); e.hasMoreElements(); ) {
| Object o = e.nextElement();
| if ( o instanceof NameClassPair ) {
| System.out.println(i + ". " + o);
| } else {
| System.out.println(i + ". Found object of Class " + o.getClass().getName() + " = \"" + o.toString() + "\"" );
| }
| i++;
| }
| } catch (NamingException e) {
| e.printStackTrace();
| }
| }
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968048#3968048
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968048
19 years, 8 months
[JBossCache] - Re: JBossCache 1.4.0.SP1 released
by manik.surtani@jboss.com
Both versions ship with JGroups 2.2.9.2.
| [msurtani@dev02 lib]$ cvs upd -r JBossCache_1_4_0_GA jgroups.jar
| [msurtani@dev02 lib]$ java -jar jgroups.jar
|
| Version: 2.2.9.2
| CVS: $Id: Version.java,v 1.27.2.2 2006/05/16 04:40:29 belaban Exp $
| History: (see doc/history.txt for details)
|
| [msurtani@dev02 lib]$ cvs upd -r JBossCache_1_4_0_SP1 jgroups.jar
| [msurtani@dev02 lib]$ java -jar jgroups.jar
|
| Version: 2.2.9.2
| CVS: $Id: Version.java,v 1.27.2.2 2006/05/16 04:40:29 belaban Exp $
| History: (see doc/history.txt for details)
|
| [msurtani@dev02 lib]$ cvs diff -r JBossCache_1_4_0_GA -r JBossCache_1_4_0_SP1 jgroups.jar
| [msurtani@dev02 lib]$
|
|
You may upgrade to JGroups 2.2.9.3 with either JBoss Cache release.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968047#3968047
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968047
19 years, 8 months