[jboss-user] [JBoss Messaging Users] - Re: How to set socket timeouts?

2009-11-18 Thread belcar
No, I do not use a MDB.  The application opens up a single connection and 
session and manages a thread pool.  I've got one daemon thread that polls for 
incoming messages and dispatches incoming messages to a worker thread obtained 
from that pool.

That works great, but after X-time messages are no longer being consumed.  If I 
restart the application, it processes all persisted messages on the queue.

Thank you

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266217#4266217

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266217
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging Users] - Re: How to set socket timeouts?

2009-11-18 Thread belcar
It was setup this way to make sure traffic flow in 1 direction only.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266219#4266219

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266219
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - Spring autowired beans and jboss 5

2009-11-18 Thread fadi
Hi all,

my application was developed on jboss 4.2.3 GA and it worked just fine but due 
to this bug http://jira.icefaces.org/browse/ICE-4376 I have to use jboss 
5.1.0GA. 
the problem now: I use autowiring in spring and jboss 5 can not resolve it! I 
end up with this

09:46:17,536 WARNING [lifecycle] javax.el.PropertyNotFoundException: Target 
Unreachable, identifier 'loginController' resolved to null
  | javax.faces.el.PropertyNotFoundException: 
javax.el.PropertyNotFoundException: Target Unreachable, identifier 
'loginController' resolved to null
  | at 
javax.faces.component.ValueBindingValueExpressionAdapter.getType(ValueBindingValueExpressionAdapter.java:96)
  | at 
com.icesoft.faces.renderkit.dom_html_basic.BaseRenderer.getConvertedValue(BaseRenderer.java:64)
  | at javax.faces.component.UIInput.getConvertedValue(UIInput.java:942)
  | at javax.faces.component.UIInput.validate(UIInput.java:868)
  | at javax.faces.component.UIInput.executeValidate(UIInput.java:1072)
  | at javax.faces.component.UIInput.processValidators(UIInput.java:672)
  | at 
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1058)
  | at 
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1058)
  | at 
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1058)
  | at 
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1058)
  | at 
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1058)
  | at javax.faces.component.UIForm.processValidators(UIForm.java:235)
  | at 
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1058)
  | at 
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1058)
  | at 
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1058)
  | at 
javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:700)
  | at 
com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:76)
  | at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
  | at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
  | at 
com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:18)
  | at 
com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.renderCycle(ReceiveSendUpdates.java:122)
  | at 
com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.service(ReceiveSendUpdates.java:73)
  | at 
com.icesoft.faces.webapp.http.core.RequestVerifier.service(RequestVerifier.java:28)
  | at 
com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24)
  | at 
com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:160)
  | at 
com.icesoft.faces.webapp.http.servlet.SessionDispatcher$1.service(SessionDispatcher.java:42)
  | at 
com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19)
  | at 
com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:63)
  | at 
com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:62)
  | at 
com.icesoft.faces.webapp.http.servlet.SessionVerifier.service(SessionVerifier.java:22)
  | at 
com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)
  | at 
com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:153)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  | at 
com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:56)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378)
  | at 
org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
  | at 
org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
  | at 
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
  | at 
org.springframework.security.ui.SessionFixationProtectionFilter.doFilterHttp(SessionFixationProtectionFilter.java:67)
  | at 
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
  | at 
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
  | at 
org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
  | at 

[jboss-user] [JBoss Messaging Users] - Re: How to set socket timeouts?

2009-11-18 Thread gaohoward
How is your remoting config looks like? It seems to me maybe your remoting ping 
timeout is too small. If the connection between your message client and server 
is not good, try to enlarge the ping period.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266222#4266222

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266222
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0 Users] - Re: tuning ejb3 calling

2009-11-18 Thread jaikiran
anonymous wrote : Exception in thread main 
java.lang.UnsupportedClassVersionError: Bad version number in .class file
  | 
Actually, this isn't specific to EJB3 or tuning of EJB3 :) I guess you compiled 
some class (or classes) using a higher version of Java (Java 1.6?) and are 
using it in a server running on a lower version of Java (Java 1.5?)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266224#4266224

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266224
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging Users] - Re: How to set socket timeouts?

2009-11-18 Thread belcar
There is a firewall between both machines, so I enabled those sections:
The configuration looks as follows:

attribute name=marshaller 
isParam=trueorg.jboss.jms.wireformat.JMSWireFormat/attribute
  | attribute name=unmarshaller 
isParam=trueorg.jboss.jms.wireformat.JMSWireFormat/attribute
  | attribute name=dataType isParam=truejms/attribute
  | attribute name=socket.check_connection isParam=truefalse/attribute  
 
  | attribute name=serverBindAddress${jboss.bind.address}/attribute
  | attribute name=serverBindPort4457/attribute
  | attribute name=clientSocketClass 
isParam=trueorg.jboss.jms.client.remoting.ClientSocketWrapper/attribute
  | attribute 
name=serverSocketClassorg.jboss.jms.server.remoting.ServerSocketWrapper/attribute
  | attribute 
name=onewayThreadPoolorg.jboss.jms.server.remoting.DirectThreadPool/attribute
  | 
  | !-- Firewall settings enabled--
  | attribute name=numberOfCallRetries isParam=true5/attribute
  | attribute name=pingFrequency isParam=true3/attribute
  | attribute name=pingWindowFactor isParam=true71582/attribute
  | attribute name=generalizeSocketException isParam=truetrue/attribute
  | 
  | !-- Now remoting supports socket write timeout configuration. Uncomment 
this if you need it. --
  | !-- attribute name=writeTimeout isParam=true3/attribute --
  | !-- End immutable parameters --
  | 
  | attribute name=stopLeaseOnFailure isParam=truetrue/attribute
  | !-- Periodicity of client pings. Server window by default is twice this 
figure --   
  | attribute name=clientLeasePeriod isParam=true1/attribute
  | attribute name=validatorPingPeriod isParam=true1/attribute
  | attribute name=validatorPingTimeout isParam=true5000/attribute
  | 
  | attribute name=failureDisconnectTimeout isParam=true0/attribute
  | attribute name=callbackErrorsAllowed1/attribute
  | attribute name=registerCallbackListenerfalse/attribute
  | attribute name=useClientConnectionIdentity 
isParam=truetrue/attribute
  |
  | attribute name=timeout isParam=true0/attribute
  | 
  | !-- Number of seconds to wait for a connection in the client pool to 
become free --
  | attribute name=numberOfRetries isParam=true10/attribute
  | 
  | !-- Max Number of connections in client pool. This should be significantly 
higher than
  | the max number of sessions/consumers you expect --
  | attribute name=JBM_clientMaxPoolSize isParam=true200/attribute
  | 
  | !-- The maximum time to wait before timing out on trying to write a 
message to socket for delivery --
  | attribute name=callbackTimeout1/attribute 
  | 
  | !-- Use these parameters to specify values for binding and connecting 
control connections to 
  | work with your firewall/NAT configuration--
  | attribute name=secondaryBindPort55794/attribute   

  | attribute name=secondaryConnectPort55794/attribute 

Thank you 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266225#4266225

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266225
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging Users] - Re: How to set socket timeouts?

2009-11-18 Thread gaohoward
please try to uncomment the 'writeTimeout' and give it a value suitable for 
your case.

This controls the socket write timeout when the JBM server is trying to deliver 
messages through a socket that has been closed by the firewall.



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266226#4266226

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266226
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - User-specified log class 'org.apache.commons.logging.impl.Lo

2009-11-18 Thread delbd
Hello,


i try to migrate a webapplication that was working fine on tomcat 5.5. Since 
JBoss web container is based on tomcat, i thought this migration would be 
straightforward. However, after deployement i get this strange error i can't 
locate:

jvm 1| 19:10:45,775 ERROR [[/intranet]] Error configuring application 
listener of class org.apache.commons.chain.web.ChainListener
  | jvm 1| java.lang.ExceptionInInitializerError
  | jvm 1|  at 
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  | jvm 1|  at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
  | jvm 1|  at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  | jvm 1|  at 
java.lang.reflect.Constructor.newInstance(Constructor.java:513)
  | jvm 1|  at java.lang.Class.newInstance0(Class.java:355)
  | jvm 1|  at java.lang.Class.newInstance(Class.java:308)
  | jvm 1|  at 
org.jboss.web.tomcat.service.TomcatInjectionContainer.newInstance(TomcatInjectionContainer.java:264)
  | jvm 1|  at 
org.jboss.web.tomcat.service.TomcatInjectionContainer.newInstance(TomcatInjectionContainer.java:256)
  | jvm 1|  at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3859)
  | jvm 1|  at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4393)
  | jvm 1|  at 
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310)
  | jvm 1|  at 
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)
  | jvm 1|  at 
org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
  | jvm 1|  at 
org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
  | jvm 1|  at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
  | jvm 1|  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | jvm 1|  at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | jvm 1|  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | jvm 1|  at java.lang.reflect.Method.invoke(Method.java:597)
  | jvm 1|  at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
  | jvm 1|  at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
  | jvm 1|  at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | jvm 1|  at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | jvm 1|  at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
  | jvm 1|  at 
org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
  | jvm 1|  at $Proxy38.start(Unknown Source)
  | jvm 1|  at 
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
  | jvm 1|  at 
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
  | jvm 1|  at 
org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
  | jvm 1|  at 
org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
  | jvm 1|  at 
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
  | jvm 1|  at 
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
  | jvm 1|  at 
org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
  | jvm 1|  at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
  | jvm 1|  at 
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
  | jvm 1|  at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
  | jvm 1|  at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
  | jvm 1|  at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
  | jvm 1|  at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
  | jvm 1|  at 
org.jboss.system.ServiceController.doChange(ServiceController.java:688)
  | jvm 1|  at 
org.jboss.system.ServiceController.start(ServiceController.java:460)
  | jvm 1|  at 
org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
  | jvm 1|  at 
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
  | jvm 1|  at 
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
  | jvm 1|  at 

[jboss-user] [MQ] - PostDeleteEventListener call

2009-11-18 Thread aejaz

The class looks like this:

public class MyClass implements PostDeleteEventListener,
PostInsertEventListener, PostUpdateEventListener, Initializable {


public void onPostDelete(PostDeleteEvent event) {
System.out.println(Post delete event);
}

public void onPostInsert(final PostInsertEvent event) {
System.out.println(Post insert event);
}

public void onPostUpdate(final PostUpdateEvent event) {
System.out.println(Post update event);
}

public void initialize(final Configuration config) {
}

}


persistence.xml values:







Problem is that System.out messages are coming on inserting a row in db and 
updating a row in db. But on a row deletion System.out message is not coming.

jboss-5.0.0.GA is used.



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266228#4266228

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266228
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [MQ] - Re: PostDeleteEventListener call

2009-11-18 Thread aejaz

The class looks like this:

public class MyClass implements PostDeleteEventListener,
PostInsertEventListener, PostUpdateEventListener, Initializable {


public void onPostDelete(PostDeleteEvent event) {
System.out.println(Post delete event);
}

public void onPostInsert(final PostInsertEvent event) {
System.out.println(Post insert event);
}

public void onPostUpdate(final PostUpdateEvent event) {
System.out.println(Post update event);
}

public void initialize(final Configuration config) {
}

}


persistence.xml values:







Problem is that System.out messages are coming on inserting a row in db and 
updating a row in db. But on a row deletion System.out message is not coming.

jboss-5.0.0.GA is used.



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266229#4266229

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266229
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [MQ] - Re: PostDeleteEventListener call

2009-11-18 Thread aejaz

The class looks like this:

public class MyClass implements PostDeleteEventListener,
PostInsertEventListener, PostUpdateEventListener, Initializable {


public void onPostDelete(PostDeleteEvent event) {
System.out.println(Post delete event);
}

public void onPostInsert(final PostInsertEvent event) {
System.out.println(Post insert event);
}

public void onPostUpdate(final PostUpdateEvent event) {
System.out.println(Post update event);
}

public void initialize(final Configuration config) {
}

}


persistence.xml values:

property 
name=hibernate.ejb.event.post-insert 
value=org.hibernate.ejb.event.EJB3PostInsertEventListener, 
com.dgrid.htflex.services.util.MyClass 
property 
name=hibernate.ejb.event.post-update 
value=org.hibernate.ejb.event.EJB3PostUpdateEventListener, 
com.dgrid.htflex.services.util.MyClass 
property 
name=hibernate.ejb.event.post-delete 
value=org.hibernate.ejb.event.EJB3PostDeleteEventListener, 
com.dgrid.htflex.services.util.MyClass 



Problem is that System.out messages are coming on inserting a row in db and 
updating a row in db. But on a row deletion System.out message is not coming.

jboss-5.0.0.GA is used.



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266230#4266230

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266230
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [MQ] - Hibernate post delete event listner

2009-11-18 Thread aejaz
The class looks like this:

public class MyClass implements PostDeleteEventListener,
PostInsertEventListener, PostUpdateEventListener, Initializable {


public void onPostDelete(PostDeleteEvent event) {
System.out.println(Post delete event);
}

public void onPostInsert(final PostInsertEvent event) {
System.out.println(Post insert event);
}

public void onPostUpdate(final PostUpdateEvent event) {
System.out.println(Post update event);
}

public void initialize(final Configuration config) {
}

}


persistence.xml values:

property
name=hibernate.ejb.event.post-insert
value=org.hibernate.ejb.event.EJB3PostInsertEventListener, 
com.dgrid.htflex.services.util.MyClass
property
name=hibernate.ejb.event.post-update
value=org.hibernate.ejb.event.EJB3PostUpdateEventListener, 
com.dgrid.htflex.services.util.MyClass
property
name=hibernate.ejb.event.post-delete
value=org.hibernate.ejb.event.EJB3PostDeleteEventListener, 
com.dgrid.htflex.services.util.MyClass



Problem is that System.out messages are coming on inserting a row in db and 
updating a row in db. But on a row deletion System.out message is not coming.

jboss-5.0.0.GA is used. 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266231#4266231

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266231
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - Re: User-specified log class 'org.apache.commons.logging.imp

2009-11-18 Thread jaikiran
Which version of JBoss AS is this?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266232#4266232

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266232
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - Re: User-specified log class 'org.apache.commons.logging.imp

2009-11-18 Thread delbd
sorry, did not specify, informations about jboss:
jvm 1| 09:52:36,250 INFO  [ServerImpl] Release ID: JBoss [The Oracle] 
5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)
  | jvm 1| 09:52:36,250 INFO  [ServerImpl] Bootstrap URL: null
  | jvm 1| 09:52:36,250 INFO  [ServerImpl] Home Dir: 
/web/intraweb/apps/jboss-5.1.0.GA
  | jvm 1| 09:52:36,251 INFO  [ServerImpl] Home URL: 
file:/web/intraweb/apps/jboss-5.1.0.GA/
  | jvm 1| 09:52:36,251 INFO  [ServerImpl] Library URL: 
file:/web/intraweb/apps/jboss-5.1.0.GA/lib/
  | jvm 1| 09:52:36,252 INFO  [ServerImpl] Patch URL: null
  | jvm 1| 09:52:36,252 INFO  [ServerImpl] Common Base URL: 
file:/web/intraweb/apps/jboss-5.1.0.GA/common/
  | jvm 1| 09:52:36,252 INFO  [ServerImpl] Common Library URL: 
file:/web/intraweb/apps/jboss-5.1.0.GA/common/lib/
  | jvm 1| 09:52:36,252 INFO  [ServerImpl] Server Name: default
  | jvm 1| 09:52:36,252 INFO  [ServerImpl] Server Base Dir: 
/web/intraweb/apps/jboss-5.1.0.GA/server
  | jvm 1| 09:52:36,252 INFO  [ServerImpl] Server Base URL: 
file:/web/intraweb/apps/jboss-5.1.0.GA/server/
  | jvm 1| 09:52:36,253 INFO  [ServerImpl] Server Config URL: 
file:/web/intraweb/apps/jboss-5.1.0.GA/server/default/conf/
  | jvm 1| 09:52:36,253 INFO  [ServerImpl] Server Home Dir: 
/web/intraweb/apps/jboss-5.1.0.GA/server/default
  | jvm 1| 09:52:36,253 INFO  [ServerImpl] Server Home URL: 
file:/web/intraweb/apps/jboss-5.1.0.GA/server/default/
  | jvm 1| 09:52:36,253 INFO  [ServerImpl] Server Data Dir: 
/web/intraweb/apps/jboss-5.1.0.GA/server/default/data
  | jvm 1| 09:52:36,253 INFO  [ServerImpl] Server Library URL: 
file:/web/intraweb/apps/jboss-5.1.0.GA/server/default/lib/
  | jvm 1| 09:52:36,253 INFO  [ServerImpl] Server Log Dir: 
/web/intraweb/apps/jboss-5.1.0.GA/server/default/log
  | jvm 1| 09:52:36,253 INFO  [ServerImpl] Server Native Dir: 
/web/intraweb/apps/jboss-5.1.0.GA/server/default/tmp/native
  | jvm 1| 09:52:36,254 INFO  [ServerImpl] Server Temp Dir: 
/web/intraweb/apps/jboss-5.1.0.GA/server/default/tmp
  | jvm 1| 09:52:36,254 INFO  [ServerImpl] Server Temp Deploy Dir: 
/web/intraweb/apps/jboss-5.1.0.GA/server/default/tmp/deploy
  | jvm 1| 09:52:37,003 INFO  [ServerImpl] Starting Microcontainer, 
bootstrapURL=file:/web/intraweb/apps/jboss-5.1.0.GA/server/default/conf/bootstrap.xml
  | jvm 1| 09:52:37,745 INFO  [VFSCacheFactory] Initializing VFSCache 
[org.jboss.virtual.plugins.cache.CombinedVFSCache]
  | jvm 1| 09:52:37,748 INFO  [VFSCacheFactory] Using VFSCache 
[CombinedVFSCache[real-cache: null]]
  | jvm 1| 09:52:38,099 INFO  [CopyMechanism] VFS temp dir: 
/web/intraweb/apps/jboss-5.1.0.GA/server/default/tmp
  | jvm 1| 09:52:38,100 INFO  [ZipEntryContext] VFS force nested jars 
copy-mode is enabled.
  | jvm 1| 09:52:39,777 INFO  [ServerInfo] Java version: 1.6.0_17,Sun 
Microsystems Inc.
  | jvm 1| 09:52:39,777 INFO  [ServerInfo] Java Runtime: Java(TM) SE 
Runtime Environment (build 1.6.0_17-b04)
  | jvm 1| 09:52:39,777 INFO  [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit 
Server VM 14.3-b01,Sun Microsystems Inc.
  | jvm 1| 09:52:39,777 INFO  [ServerInfo] OS-System: Linux 
2.6.24-24-xen,amd64
  | 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266235#4266235

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266235
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: [JBPM4] Is there a way to create subprocess programatica

2009-11-18 Thread zptian
Hi Sushant, thanks for your post. It's very helpful. We did the similar 
experiments. However your implementation is more thorough and the way to deal 
variable is better( just use a hardcoded instance variable for 
noOfTrantisionsFromNode, and another one for LIST_OF_EXECUTIONS)

We'll look into your approach in details and will come back if any questions,

Thanks
Zengping



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266236#4266236

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266236
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0 Users] - Re: tuning ejb3 calling

2009-11-18 Thread redlight
hi jaikiran,

anonymous wrote : Actually, this isn't specific to EJB3 or tuning of EJB3 :) 
:d , yeah but is there a know pattern or best practices for that ? if yes  is 
there some example somewhere :d ?


yeah thanks yu were right in my jboss side i was compiling ejb's with java6


and thanks a lot

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266237#4266237

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266237
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - Re: User-specified log class 'org.apache.commons.logging.imp

2009-11-18 Thread jaikiran
anonymous wrote : 
  | Caused by: org.apache.commons.logging.LogConfigurationException: 
User-specified log class 'org.apach
  | e.commons.logging.impl.Log4JLogger' cannot be found or is not useable.
  | 

anonymous wrote : 
  | However, log4jlogger is there inside the 
WEB-INF/lib/commons-logging-1.1.1.jar
  | 

anonymous wrote : 
  | jboss-5.1.0.GA
  | 

JBoss AS ignores the presence of jars containing org.apache.commons.logging 
from the web deployments. Change the following from JBOSS_HOME/server/ 
servername/deployers/jbossweb.deployer/META-INF/war-deployers-jboss-beans.xml:

  | property 
name=filteredPackagesjavax.servlet,org.apache.commons.logging/property  
  | 
to

  | property name=filteredPackagesjavax.servlet/property
  | 
This will remove the filtering and the commons logging jar will be visible to 
the classloader.

This is fixed in later version of JBoss AS 
https://jira.jboss.org/jira/browse/JBAS-7117   

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266241#4266241

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266241
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal Users] - Re: Only GET supported?

2009-11-18 Thread thinwath
Hi Andy,

yes I've problems with post forms. 

Example:
form method=post action=/portal/authsec/portal/Portlet_Window
  | input type=hidden name=action value=1 /
  | input type=test name=user_name value= /
  | input type=submit name=submit value=submit /
  | /form
  | 

When this form is submitted no processAction method will be triggerd. Change 
the method to GET - it will work.

I've found a workaround (?) for this problem

form method=post action=/portal/authsec/portal/Portlet_Window?action=1
  | input type=test name=user_name value= /
  | input type=submit name=submit value=submit /
  | /form
  | 

This piece of code will trigger the action method. The Portal has Version 2.7.0

Dunno why first solution doesn't work.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266250#4266250

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266250
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - BusinessCalendarImpl throws null pointer exception

2009-11-18 Thread joshsiaw
=== Environment ==
- jBPM Version : 4.2
- Database : MySql 5.0.67
- JDK : 1.6.0_16
- Container : 1.6.0_16
- Configuration : default jbpm.cfg.xml copied from Examples project
- Libraries : default jBPM 4.2 libraries

=== Process ==

  | ?xml version=1.0 encoding=UTF-8?
  | 
  | process name=test xmlns=http://jbpm.org/4.0/jpdl;
  |start g=193,63,48,48 name=start1
  |   transition to=Inspection/
  |/start
  |task assignee=valTech1 g=170,141,92,52 name=Inspection 
duedate=10 business hours
  |   transition to=Verify Inspection Report name=timeout g=11,-7
  |   /transition
  |/task
  |task assignee=svt g=147,224,136,52 name=Verify Inspection Report
  |   transition to=Valuation/
  |/task
  |task assignee=avo g=171,316,92,52 name=Valuation
  |   transition to=Certify Valuation/
  |/task
  |task assignee=vo g=165,397,106,52 name=Certify Valuation
  |   transition to=Billing/
  |/task
  |task assignee=clerk g=173,478,92,52 name=Billing
  |   transition to=end1/
  |/task
  |end g=194,558,48,48 name=end1/
  | /process
  | 

=== API ===


  | Task task = 
jbpmServices.getTaskService().createTaskQuery().processDefinitionId(test-1).activityName(Inspection).uniqueResult();
  | Calendar cal = Calendar.getInstance();
  | BusinessCalendarImpl businessCalendar = new BusinessCalendarImpl();
  | Duration duration = new Duration(10 business days);
  | Date date = businessCalendar.add(cal.getTime(), duration);
  | task.setDuedate(date);
  | 

=== Stacktrace ==
anonymous wrote : 
  | Exception in thread main java.lang.NullPointerException
  | at 
org.jbpm.pvm.internal.cal.BusinessCalendarImpl.findDay(BusinessCalendarImpl.java:154)
  | at 
org.jbpm.pvm.internal.cal.BusinessCalendarImpl.findDayPart(BusinessCalendarImpl.java:160)
  | at 
org.jbpm.pvm.internal.cal.BusinessCalendarImpl.add(BusinessCalendarImpl.java:78)
  | at eval.tester.tester.testTaskDueDate(tester.java:56)
  | at eval.tester.tester.main(tester.java:39)
  | 
=== Debug logs ==

Fails at this point:


  | protected Day findDay(Date date) {
  | Calendar calendar = createCalendar();
  | calendar.setTime(date);
  | int weekDayIndex = calendar.get(Calendar.DAY_OF_WEEK);
  | return days[weekDayIndex];
  |   }
  | 

=== Problem description =

BusinessCalendarImpl throws null pointer exception. Looking through the code it 
looks like its caused by the days[] being null. Am I using it correctly? Any 
help would be appreciated.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266251#4266251

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266251
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools Users] - Re: Developping a Potlet with JBoss Tools and JBoss Portal

2009-11-18 Thread elmaroufy
Thaks a lot
just an other question, when can i downloas d portlet-api.jar

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266260#4266260

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266260
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - Is the order of URLs from getResources correct ?

2009-11-18 Thread ejroberts
I have been trying to understand how the class loaders work in JBOSS 5.1.0 GA 
(JDK6 distribution) with regards to resources.

I am testing with a resource file in META-INF/services of many consecutively 
numbered jars, strategically placed in the various jar folders, in order to 
determine in which order the jars are loaded. I am running JBOSS on windows and 
connecting using a remote debugger in Eclipse, in order to breakpoint each URL 
passed back. 

In conf/jboss-service.xml there are a number of  entries; the common/lib, 
server/?/lib, and two additional entries to deal with our particular deployment 
(the addition of which seems misguided, but I don't think they cloud my 
question in any way). Am I correct in thinking these locations form part of the 
System Class Loader ?

(SAR Test)
When performing getResources(META-INF/services/my.resource.file) from a 
classloader of a class located within a SAR deployment, the search order is 
1) the jars within the current SAR
2) the jars within other SARs within the same class loader domain
3) classpath entries defined in conf/jboss-service.xml but in a different 
sequence; 
server/?/lib (defined first)
additional/lib (defined third)
additional/lib/jdbc (defined fourth)
common/lib (defined second)

(WAR Test)
When performing getResources(META-INF/services/my.resource.file) from a 
classloader of a class located within a WAR deployment, the search order is 
1) some of the classpath entries defined in conf/jboss-service.xml and in a 
different sequence; 
additional/lib (defined third)
common/lib (defined second)
server/?/lib (defined first)
2) the jars within the current WAR
3) the jars within SARs within the same class loader domain
4) the last of the classpath entries defined in conf/jboss-service.xml 
additional/lib/jdbc (defined fourth)

The order that the tests have produced is unexpected. Perhaps I'm missing 
something obvious. Nevertheless, if someone can help explain the behaviour I 
would appreciate it.

The reason I am asking is that we are deploying many SARs and WARs, and 
multiple versions of some jars are unfortunately unavoidable. I want to be able 
to advise team members on the intricacies of the class loading so they are 
forewarned and can resolve any issues. I believe I understand the process of 
isolation using jboss-classloading.xml files and the hierarchy behaves as one 
would expect, but when I consider how say XML Parsers are typically located, 
knowing the behaviour of getResources is as important to understand.

Any help gratefully received


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266261#4266261

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266261
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - Solved: User-specified log class 'org.apache.commons.logging

2009-11-18 Thread delbd
This works, thanks

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266265#4266265

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266265
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal Users] - Re: Localization of layouts

2009-11-18 Thread aspdeepak
Please be aware of the encoding issues of ResourceBundles the 
PropertyResourceBundles are not Unicode ready. Every unicode has to be 
converted into unicode escape sequences. 

This can be achieved using the native2ascii tool (thankfully there is an ant 
task for this).


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266270#4266270

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266270
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: nested Forks

2009-11-18 Thread makam
I just post as a incident. with the test case.

Greetings.

Sebatian

https://jira.jboss.org/jira/browse/JBPM-2648

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266271#4266271

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266271
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0 Users] - Re: How to find Entity by Id

2009-11-18 Thread Wolfgang Knauf
Hi,

the JNDIView is here: 
http://www.jboss.org/community/wiki/DisplayTheJDNITreeWithTheJMXConsole

The default JNDI name of CustomerHome is EarName/JarName/Beanclass if the 
the app is deployed as EAR file. If it is a JAR file, it is JarName/Beanclass.

You don't need JNDI properties if your portal webapp is running in the same 
JBoss instance as the EJBs.

Hope this helps

Wolfgang

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266272#4266272

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266272
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Issue with jbpm 4.2 - designer plugin in eclipse

2009-11-18 Thread buchnerm
anyone who can help? 



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266275#4266275

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266275
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0 Users] - Re: Remote and local interface on same ejb instance

2009-11-18 Thread Wolfgang Knauf
Hi,

do you mean something like this?


  | @Stateless
  | public class ABean implements ARemote
  | {
  |   //Access B and C through local interface?
  |   @EJB
  |   private BBean;
  | 
  |   @EJB
  |   private CBean;
  | }
  | 
  | 
  | @Remote
  | public interface ARemote
  | {
  | }
  | 
  | 
  | @Stateless
  | public class BBean implements BLocal
  | {
  | }
  | 
  | 
  | @Local
  | public interface BLocal
  | {
  | }
  | 
  | @Stateless
  | public class CBean implements CLocal
  | {
  | }
  | 
  | 
  | @Local
  | public interface CLocal
  | {
  | }
  | 

If not, please modify my sample. Currently, I don't get your question ;-).

Best regards

Wolfgang

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266276#4266276

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266276
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - Re: how to configure Jboss As 4 and hibernate2 ??

2009-11-18 Thread matzelito
yes thanx, that will help me

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266277#4266277

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266277
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Predefined Components for GD

2009-11-18 Thread buchnerm
Hi

Is there something like additional components like (send eMail, callWS, ..)
out there for GD in eclipse?

Greetings Max 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266278#4266278

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266278
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging Users] - message publishing to stopped topic

2009-11-18 Thread strzyga
i'm using JBM 1.4.0.SP3/JBoss 4.3.0 GA

i have a topic with one durable subscriber and a publisher which periodically 
publish messages to topic 
when i stop the topic (jmx-console stop() method) publisher still publishes 
messages, but those messages are not persisted in DB (and not received by 
consumer)

the problem is that method TopicPublisher.publish(Message), while publishing to 
stopped topic, returns without any exceptions, so i have no idea that something 
is wrong and that i'm loosing messages
is it ok?

JBM 1.4 User's Guide chapter 7.7 says:
If the call to send a persistent message to a persistent destination returns 
successfully with no exception, then you can be sure that the message was 
persisted...

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266279#4266279

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266279
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: [JBPM4] Is there a way to create subprocess programatica

2009-11-18 Thread priyesh68
Hi there,

Thanks for your solution. Can you provide an example usage of your solution. 

1) I am not sure how you set the noOfTrantisionsFromNode value in 
JBPMTransientStorage. Can we call static methods from the java activity?

2) Do we just define the nodes we want forked as a transition in the custom 
node?

Thanks

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266283#4266283

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266283
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: [JBPM4] Is there a way to create subprocess programatica

2009-11-18 Thread sushantgupta402
@Priyesh

JBPMTransientStorage is a substitute for the transient variable . I used it 
bcoz transient variables were not working as expected in my case. So if you 
want you can use the transient variable as well. noOfTrantisionsFromNode 
variable is getting set from my application based on the criteria which 
determines how many parallel subporcesses I want.

I did not get your point 2 can you please elaborate it bit more?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266289#4266289

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266289
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - [jBPM4.2] how to get subprocessinstance from processInstance

2009-11-18 Thread the_fredo
Hi !

in the db, when a process instance forks a subprocess, the process instance 
keeps a key (_SUBPROCINST) to the subprocess instance. Good.
But how to get it from the API ?

In my context, I only have a ref to the main processInstanceId, but this one 
forks a subprocess that leads to a task, and I need to make the correlation 
between this task and the main processInstanceId

...and by the way, congratulations to jbpm developers for the work they did in 
jBPM4, that's impressive :-)

Thanks !



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266291#4266291

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266291
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache Users] - Re: MVCC leading to deadlocks in synchronous replication mod

2009-11-18 Thread spennec
I'm interested in an answer to this problem, too... 

Aren't JBossCache comitters monitoring this forum anymore? It's been almost two 
weeks since this problem has been posted, and still no answer...

If it turns out the situation described by vsevel is actually a bug and not a 
misuse, then JBossCache has a serious problem... 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266293#4266293

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266293
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: nested forks

2009-11-18 Thread saraswati.santanu
Hi Sebastian,
   You found a bug there. It took sometime to understand why is it behaving 
that way. I think the problem is there in ForkActivity class. Actually the 
following things happen in sequence transition from one Fork node to any other 
node.

   1. Create child execution for each transition
   2. Mark state of each child execution as STATE_ACTIVE_CONCURRENT
   3. take the transition
next few steps are regular transition steps:
   4. Perform transition end activity (for the source node)
   5. Perform transition take activity
   6. Execute transition start event listener on destination
   7. Perform transition start activity (for destination)
   8. Execute the activity behaviour of the destination

   Now for your case, at the last step it will execute ForkActivity again. Here 
is the fork activity execute method. Please notice the line in bold and the if 
block surrounding:


  |   public void execute(ExecutionImpl execution) {
  | Activity activity = execution.getActivity();
  | 
  | // evaluate the conditions and find the transitions that should be 
forked
  | ListTransition forkingTransitions = new ArrayListTransition();
  | ListTransition outgoingTransitions = 
activity.getOutgoingTransitions();
  | for (Transition transition: outgoingTransitions) {
  |   Condition condition = transition.getCondition();
  |   if  ( (condition==null)
  | || (condition.evaluate(execution))
  |   ) {
  | forkingTransitions.add(transition);
  |   }
  | }
  | 
  | // if no outgoing transitions should be forked, 
  | if (forkingTransitions.size()==0) {
  |   // end this execution
  |   execution.end();
  |   
  | // if there is exactly 1 transition to be taken, just use the incoming 
execution
  | } else if (forkingTransitions.size()==1) {
  |   execution.take(forkingTransitions.get(0));
  |   
  | // if there are more transitions
  | } else {
  |   ExecutionImpl concurrentRoot = null;
  |  if (Execution.STATE_ACTIVE_ROOT.equals(execution.getState())) {
  | concurrentRoot = execution;
  | execution.setState(Execution.STATE_INACTIVE_CONCURRENT_ROOT);
  | execution.setActivity(null);
  |   } else if (Exec 
ution.STATE_ACTIVE_CONCURRENT.equals(execution.getState())) {
  | concurrentRoot = execution.getParent();
  |   }
  | 
  |   for (Transition transition: forkingTransitions) {
  | // launch a concurrent path of execution
  | String childExecutionName = transition.getName();
  | ExecutionImpl concurrentExecution = 
concurrentRoot.createExecution(childExecutionName);
  | concurrentExecution.setActivity(activity);
  | concurrentExecution.setState(Execution.STATE_ACTIVE_CONCURRENT);
  | concurrentExecution.take(transition);
  | 
  | if (concurrentRoot.isEnded()) {
  |   break;
  | }
  |   }
  | }
  |   }
  | 

For a fork, the state of any child execution is 
Execution.STATE_ACTIVE_CONCURRENT. So for our nested fork state will be 
STATE_ACTIVE_CONCURRENT and it will satisfy the else if condition:


  |  if (Execution.STATE_ACTIVE_ROOT.equals(execution.getState())) {
  | concurrentRoot = execution;
  | execution.setState(Execution.STATE_INACTIVE_CONCURRENT_ROOT);
  | execution.setActivity(null);
  |   } else if (Exec 
ution.STATE_ACTIVE_CONCURRENT.equals(execution.getState())) {
  | concurrentRoot = execution.getParent();
  |   }
  | 

So the root of the children of the nested fork becomes the first level fork! 
Now the codes goes into the next loop:


  |   for (Transition transition: forkingTransitions) {
  | // launch a concurrent path of execution
  | String childExecutionName = transition.getName();
  | ExecutionImpl concurrentExecution = 
concurrentRoot.createExecution(childExecutionName);
  | concurrentExecution.setActivity(activity);
  | concurrentExecution.setState(Execution.STATE_ACTIVE_CONCURRENT);
  | concurrentExecution.take(transition);
  | 
  | if (concurrentRoot.isEnded()) {
  |   break;
  | }
  |   }
  | 

Here ExecutionImpl concurrentExecution = 
concurrentRoot.createExecution(childExecutionName); line creates a child 
execution of actually the grand parent execution. In the same createExecution 
method of ExecutionImpl it also sets the propagation to explicit to avoid 
automatic transition.


  | public ExecutionImpl createExecution(String name) {
  | // when an activity calls createExecution, propagation is explicit.
  | // this means that the default propagation (proceed()) will not be 
called 
  | propagation = Propagation.EXPLICIT;
  | ...
  | ...
  | }
  | 

Now the stuation where we land up is - the grand parent execution of the first 
fork (fork1) is set to propagation EXPLICIT, but it was already 

[jboss-user] [EJB 3.0 Users] - Resolve an EJB Module Remote or Local type in a web applicat

2009-11-18 Thread elmaroufy
Hi
i have a ear application that contains web(jsf) application and ejb module
i want to inject an ejb in the jsf managed bean but i eclips cant resolve à 
type (remote and local interface).
must i add the ejb module project to the web application class path.
thank you

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266304#4266304

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266304

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - Re: Seam Application from JBoss 4.2.3 to JBoss 5.1.0

2009-11-18 Thread Ceene
Does anybody have an idea? I need urgent help.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266306#4266306

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266306
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Microcontainer Users] - Re: Struggling with jboss-classloading.xml

2009-11-18 Thread alesj
ad-rocha wrote : 
  | Anyway, I don't believe it is a ellegant approach and now I suppose I'm 
tied to JBoss SLF4J implementation :-(
  | 
That's as elegant as it gets. :-)
But I think you're not doing it right.

Try doing this.
Create new jar, which includes this contents

wrapper.jar
* lib
** slf4j.jar
* META-INF
** jboss-structure.xml
** jboss-classloading.xml

where jboss-structure.xml looks like

  | structure
  | context
  | path name=/
  | metaDataPath
  |  path name=META-INF/
  |   /metaDataPath
  |   classpath
  | path name=lib suffixes=.jar/
  | /classpath
  | /context
  | /structure
  | 

and jboss-classloading.xml like

  | classloading xmlns=urn:jboss:classloading:1.0
  |capabilities
  |   module name=slf4.jar version=2.0/
  |/capabilities
  | /classloading
  | 

then simply have this jboss-classloading.xml in your rar

  | classloading xmlns=urn:jboss:classloading:1.0 export-all=NON_EMPTY
  |requirements
  |   module name=slf4j.jar from-inclusive=2.0/
  |/requirements
  | /classloading
  | 

I might be missing some details, but let's see how far we get.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266312#4266312

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266312
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal Users] - Re: Email validation: java.lang.ClassCastException: org.jbpm

2009-11-18 Thread aeik
Hello DagoKent,

i had this Exception when there's a wrong configuration in the identity-modul.


  | exception
  | 
  | javax.servlet.ServletException: java.lang.ClassCastException: 
org.jbpm.bytes.ByteArray_$$_javassist_52 cannot be cast to 
org.jboss.portal.core.identity.services.workflow.UserContainer
  | 
org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:278)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  | 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | 
  | root cause
  | 
  | java.lang.ClassCastException: org.jbpm.bytes.ByteArray_$$_javassist_52 
cannot be cast to org.jboss.portal.core.identity.services.workflow.UserContainer
  | 
org.jboss.portal.core.identity.services.workflow.impl.CreateUserAction.execute(CreateUserAction.java:51)
  | org.jbpm.graph.def.Action.execute(Action.java:122)
  | org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:264)
  | org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:220)
  | 
org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:190)
  | org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:174)
  | org.jbpm.graph.def.Transition.take(Transition.java:138)
  | org.jbpm.graph.def.Node.leave(Node.java:394)
  | 
  | 

This files were the cause:

base-path: jboss-portal-2.7.2/server/default/deploy/jboss-portal.sar

files:
/portal-identity.sar/conf/identity-ui-configuration.xml

/portal-identity.sar/portal-identity.war/jsf/common/editProfileInfo.xhtml
/portal-identity.sar/portal-identity.war/jsf/common/profile.xhtml
/conf/identity/profile-config.xml



I found that it is a bad idea to remove fields from 
identity-ui-configuration.xml.
If you remove fields the data JBoss saves temporarly is damaged and is not 
useable to activate the user, even if you change your configuration to a 
working one. You hve to reregister to test if it is working.

With a fresh installation this should not happen, but perhaps it helps to solve 
your problem.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266313#4266313

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266313
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security] - Exclude EJB from global SecurityDomain?

2009-11-18 Thread mwx.dennis
Hi everyone,

in my EJB application I have defined a global security-domain in the jboss.xml 
file. 

I use a custom LoginModule which accesses my UserService EJB during the login 
process. My problem is, I get an infinite login loop because when I access the 
UserService (which is in the global security-domain too) the LoginModule jumps 
in again to login the user. 

I guess the solution would be to exclude the UserService from my global 
security domain. Is this possible at all?

Any hints would be greatly appreciated.
There is a similar issue here:
http://www.jboss.org/index.html?module=bbop=viewtopict=137896

Regards,
Dennis


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266315#4266315

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266315
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools Users] - Re: Developping a Potlet with JBoss Tools and JBoss Portal

2009-11-18 Thread OChikvina
If you use JBoss Portal + JBoss AS bundle as mentioned in tutorial, then a 
portlet library should be there. Just one thing there: to configure the project 
classpath to include the library, you should select Portlet Target Runtime 
Provider on the JBoss Portlet Capabilities page while creating a project.

For details, see http://www.jboss.org/community/wiki/PortletFacetLibraries

The docs should be updated nevertheless, thanks for pointing to this.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266317#4266317

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266317
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Problem moving from 4.1 to 4.2 using Spring configuratio

2009-11-18 Thread saraswati.santanu
I tried your jbpm configuration. I did not get the exception, but it did not 
work also. I got stuck after firing one select. It looked like a deadlock. 
However the problem I notices in you jbpm.cfg.xml is presence of 
hibernate-session twice. I used the second one (with curent=true) 
successfully.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266322#4266322

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266322
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache Users] - Re: Question about lockParentForChildInsertRemove - when to

2009-11-18 Thread bstansbe...@jboss.com
Indirectly, the parent node *does* include state information like info about 
number of nodes. Not directly, i.e. in the node's attribute map. But 
indirectly, via the getChildren() and getChildrenNames() methods. If your 
application uses those methods and counts on transactional consistency in the 
results, that's when you'd set lockParentForChildInsertRemove to true.

Personally I've never written an app where I needed to set 
lockParentFroChildInsertRemove to true.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266324#4266324

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266324
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB] - Migrating application from 4.0.2 to 4.2.3 GA = Could not res

2009-11-18 Thread majkers
Hi all, 

my application lets call it x.ear was working and deploying well on JBoss 4.0.2 
but after migrating it to JBoss 4.2.3 GA while deploying it on server I have a 
lot of warnings: 

WARN  [org.jboss.ejb.StatelessSessionContainer] Could not restore ejb timers  
  | javax.management.RuntimeMBeanException  
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java:176)
  
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:163)
  
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)  
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)  
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:193)  
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) 
 
  | at org.jboss.ejb.Container.restoreTimers(Container.java:771)  
  | at 
org.jboss.ejb.SessionContainer.startService(SessionContainer.java:410)  
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
  
  | at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)  
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
  
  | at java.lang.reflect.Method.invoke(Method.java:599)  
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)  
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)  
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:193)  
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) 
 
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
  
  | at $Proxy0.start(Unknown Source)  
  | at org.jboss.system.ServiceController.start(ServiceController.java:417) 
 
  | at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)  
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
  
  | at java.lang.reflect.Method.invoke(Method.java:599)  
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)  
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)  
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:193)  
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) 
 
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)  
  | at $Proxy43.start(Unknown Source)  
  | at org.jboss.ejb.EjbModule.startService(EjbModule.java:429)  
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
  
  | at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)  
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
  
  | at java.lang.reflect.Method.invoke(Method.java:599)  
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)  
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)  
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:193)  
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) 
 
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
  
  | at $Proxy0.start(Unknown Source)  
  | at org.jboss.system.ServiceController.start(ServiceController.java:417) 
 
  | at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)  
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
  
  | at java.lang.reflect.Method.invoke(Method.java:599)  
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)  
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)  
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:193)  
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) 
 
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)  
  | at $Proxy41.start(Unknown Source)  
  | at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:662)  
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
  | at 

[jboss-user] [Installation, Configuration Deployment] - jndi, rebind, java.io.NotSerializableException

2009-11-18 Thread delbd
Hello,

trying to migrate an application from tomcat to JBoss, i am blocked with this 
error.

  | jvm 1| java.io.NotSerializableException: org.enhydra.shark.Shark
  | jvm 1|  at 
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156)
  | jvm 1|  at 
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
  | jvm 1|  at java.rmi.MarshalledObject.init(MarshalledObject.java:101)
  | jvm 1|  at 
org.jnp.interfaces.MarshalledValuePair.init(MarshalledValuePair.java:65)
  | jvm 1|  at 
org.jnp.interfaces.NamingContext.createMarshalledValuePair(NamingContext.java:1425)
  | jvm 1|  at 
org.jnp.interfaces.NamingContext.rebind(NamingContext.java:567)
  | jvm 1|  at 
org.jnp.interfaces.NamingContext.rebind(NamingContext.java:540)
  | jvm 1|  at javax.naming.InitialContext.rebind(InitialContext.java:408)
  | jvm 1|  at 
be.rmi.intranet.chain.setup.SharkSetup.execute(SharkSetup.java:56)
  | jvm 1|  at 
org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:166)
  | jvm 1|  at 
be.rmi.intranet.servlet.SetupServlet.init(SetupServlet.java:298)
  | 
The application am trying to migrate uses jndi to store objets created at 
startup that the whole application needs. Unfortunately, none of those objet 
are serializable and there is no reason to make them serialisable, since they 
are meant to be local to the JVM. According to JBoss docs i found on subjet, 
local VM / environment ressources are to be stored in the java:comp/env .

This is what we do
Binding shark at java:comp/env/Shark
However, despite locality of objet, jboss complains it's not serializable. We 
can easily move those object to somewhere else in jndi so JBoss does not try to 
serialize them. But since those are proprietary objects, it's impossible or 
very difficult to make them serializable. Where should we store non 
serializable items in jndi? Or how can i tell jndi not to try to serialize 
objet (we don't need them to be remotely accessible or available in a cluster)

Side question, how to convert this context.xml entry to jboss?
Environment name=conf/shark/GraphPictures 
value=/home/intrarmi/shark-runtime/repository/png type=java.lang.String 
override=false /

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266327#4266327

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266327
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Problem moving from 4.1 to 4.2 using Spring configuratio

2009-11-18 Thread RockerRocker
I changed that already (only one hibernate-session with client = true ) but 
same result. No clue at why i am able to deploy but not start ?
Googled/Binged it , could find much .. Stuck on it ..

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266329#4266329

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266329
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering] - Re: obtain cluster lock

2009-11-18 Thread bstansbe...@jboss.com
That sounds like a reasonable approach. Generally if you want to control access 
to something and that something provides it's own locking mechanisms, it's wise 
to use them. That's what you're doing here.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266333#4266333

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266333
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Jbpm 4 setup on existing JBOSS server

2009-11-18 Thread RockerRocker
I will try this out. I dont have any EJBs , its just POJO beans handled by 
Spring.

Can you please send me the details on how to create new console. Any help wud 
be appreciated.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266335#4266335

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266335
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginner's Corner] - jboss installation

2009-11-18 Thread amira88
hallo everybody,
i try to install jboss 4.0.5,but i could not. from 8 hours
i downloaded the ems-installer-1.2.0.CR1.jar­­ and jboss.4.0.5.GA (ZIP 
folder) but nothing is happen!!
please help.
thank you so much

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266336#4266336

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266336

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Jbpm 4 supports Oracle 11g release 2

2009-11-18 Thread harish21
I am going to use Oracle 11g release 2 as my database. does jbpm 4 supports the 
oracle 11g ?
do we have hibernate dialect for oracle 11g? as jbpm has a in built hibernate.

please guide me..
thanks 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266350#4266350

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266350
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginner's Corner] - Re: jboss installation

2009-11-18 Thread PeterJ
First, why are you installing 4.0.5? That is an ancient version. You should 
install 5.1.0 instead.

Second, what do you mean by nothing is happen? Do you mean that after 8 hours 
the download has not finished? Or do you mean something else?

If it is a download problem, what URL are you getting the downloads from? I 
just now downloaded 4.0.5 and it took only about 12 minutes.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266355#4266355

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266355
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: [jBPM-3.2] - org.jbpm.graph.def.Node Classs

2009-11-18 Thread mike_burton
Thanks Santanu.

I am able to deploy my xml using method deploy() in NewDeployment class.
Is there any way to map this xml to ProcessDefinition class in jBPM 4.x.

Thanks in advance for your valuable reply..

 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266357#4266357

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266357
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - jbpm integration with java

2009-11-18 Thread harish21
can we make use of some features of jbpm in java enterprise application?
1.email integration
2.timers

i mean, to integrate jbpm with java, do we have to implement application  in 
eclipse only? Ihave my application implemented in My Eclipse , how can 
integrate jbpm in java which is developed in myeclipse.

Thanks


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266359#4266359

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266359
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Jbpm 4 supports Oracle 11g release 2

2009-11-18 Thread kukeltje
it has been a long time ago, but since this same question has been answered a 
very short time ago: stf (deliberately forgetting the second f or rather the 
first one)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266369#4266369

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266369
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Predefined Components for GD

2009-11-18 Thread sebastian.s
There is mail task in jBPM 4.x. Haven't you noticed? AFAIK theren't any 
additional components available.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266372#4266372

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266372
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginner's Corner] - Re: jboss installation

2009-11-18 Thread amira88
Hello Mr Peter,

now i execute the (jems-installer-1.2.0.CR1 ) jar :a graphical installer  and 
an error is always appearing (java.io.filenotfound exception)  in the end of 
installation.

searching for a solution take me 8 hour sir.

so after downloading the 5.0 version what i have to do after that.

thank you very much sir


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266377#4266377

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266377
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Jbpm 4 supports Oracle 11g release 2

2009-11-18 Thread harish21
hi ronald
I am not able find the hibernate dialect for oracle 11g. does the daliect for 
oracel 11g is same as oracle 10g?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266379#4266379

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266379
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Jbpm 4 setup on existing JBOSS server

2009-11-18 Thread xalperte
Sorry, I think I did not explained myself well. 

The console I'm talking about is a console my company has built by itself. It's 
entirely different from the jBPM console and its fully integrated with our 
product.

By the way, are you using any configuration management tool like maven? If so, 
it can be very easy to create a JavaEE project (EAR) and test if that works. 

My suggestion...

In order to do a fast test, you can create a maven j2ee simple project. 

To do that you can run the following command:

maven archetype:generate

From the list of archetypes you can select the option 
maven-archetype-j2ee-simple.

Only for test, you can add the jbpm4 dependencies to the pom.xml file of the 
primary-source module, and create a custom EventListener 
(src/main/java/). You must create also a test-process.bar to call the 
event listener.   

The last step will be add the gwt-console dependencies to the pom.xml file of 
theear module. I do not know how many dependencies you will need, maybe 
inspect the jbpm4 maven repository could help you.

After that you can generate the ear file and deploy it to the jboss deploy 
folder in order to test if everything runs well. 

Well, I don't know if exists a more easily way to test that.

I hope that will help you!.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266381#4266381

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266381
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: nested forks

2009-11-18 Thread makam

Thank you very much for your help, I have already reported the bug.
You think of any alternative for the management of the Fork? because I need to 
shoot 2 tasks,and one of the optional, which is not controlled at the end. 
but without a Fork not how.
here ther is an example but not working 

I would like the task 2 shot in Task 3 and Task 4, but I can not achieve.


  | process name=c xmlns=http://jbpm.org/4.0/jpdl;
  |start g=15,176,48,48 name=start1
  |   transition to=task1/
  |/start
  |end g=655,182,48,48 name=end1/
  |task g=241,173,92,52 name=task2
  |   transition to=task4/
  |   transition to=task3/
  |/task
  |task g=357,61,92,52 name=task3
  |   transition to=task5/
  |/task
  |task g=362,327,92,52 name=task4
  |   transition to=task5/
  |/task
  |task g=113,174,92,52 name=task1
  |   transition to=task2/
  |/task
  |task name=task5 g=489,181,92,52
  |   transition to=end1/
  |/task
  | 
  | 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266383#4266383

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266383
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: nested forks

2009-11-18 Thread makam
Here is the link of the Bug report.

https://jira.jboss.org/jira/browse/JBPM-2650

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266384#4266384

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266384
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginner's Corner] - Re: jboss installation

2009-11-18 Thread PeterJ
anonymous wrote : o after downloading the 5.0 version what i have to do after 
that. 
Unzip the zip file.

See this: http://www.jboss.org/index.html?module=bbop=viewtopicp=4205258
That is for an older version on Linux, but the steps still apply (on Windows, 
ignore step 4 and use run.bat in step 5) 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266385#4266385

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266385
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: [JBPM4] Is there a way to create subprocess programatica

2009-11-18 Thread priyesh68
I managed to get it to work. 

Your solution is very elegant :-)

Thanks

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266388#4266388

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266388
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginner's Corner] - Re: jboss installation

2009-11-18 Thread amira88
Hi Mr Peter,
i unzipped the zip file us you said 
after that i put this commande in dos shell:
cd c:\unzipped file\bin
chmod a+x *.sh

but an error is generated chmod commande do not exist.
is it write what i did sir

thank you sir

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266389#4266389

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266389
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginner's Corner] - Re: jboss installation

2009-11-18 Thread PeterJ
Why did you try the chmod command? I said to ignore step 4.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266391#4266391

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266391
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginner's Corner] - Re: jboss installation

2009-11-18 Thread amira88
Hi sir ,
sorry for the mistake 
is it right what i did sir
thank you

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266392#4266392

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266392
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginner's Corner] - Re: jboss installation

2009-11-18 Thread amira88
i tried .\run.sh command
but a window appeared:
windows can not open this file run.sh
u should choose a program to do it:
use web service
or
use installed program

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266393#4266393

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266393
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginner's Corner] - Re: jboss installation

2009-11-18 Thread PeterJ
I also said to use run.bat in step 5.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266394#4266394

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266394
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginner's Corner] - Re: jboss installation

2009-11-18 Thread amira88
sorry sir bad luck
Error:no server jvm at c:\progrmfiles\java\jre1.6.0-07\bin\server\jvm.dll

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266398#4266398

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266398
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache Users] - Re: Question about lockParentForChildInsertRemove - when to

2009-11-18 Thread rsmysore
Thanks Brian.   I think I kind of get the implication.  However, arent 
getChildren or getChildrenNames methods considered read operations, and if so, 
with mvcc, the reads wouldnt need a write lock anyway.  The read calls would 
return something that is based on isolation level (REPEATABLE_READ) in that 
case.  So how would that affect the application.  

By the way, the only use case for which we need getChildren is to retrieve all 
objects of a certain type that are cached.  In that case, if we get a snapshot 
from before any of the current running transaction started, that is good 
enough.   The more I think about it, I am pretty sure we don't need this in our 
application.  But I am just trying to understand if there is something obvious 
that  I am ignoring, like nodes getting lost or overwritten by different 
threads etc.  For eg. just because I didnt set this option to true, if two 
threads insert two nodes into this parent at the same time, we would never run 
into a situation where one of the node is lost or overwritten by the other or 
something of that nature, right?   I wouldn't think so, but just confirming.   
Now, its totally ok if the read calls at around the same time don't include 
this/these node because of the transaction being not committed yet.  

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266399#4266399

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266399
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - Prevent EJB deployment with sar

2009-11-18 Thread Falcor1
Hi,

I have a jar file, lets call it ejb.jar, that contains both the interface and 
implementation of several stateless session beans.  I typically deploy ejb.jar 
and one other jar containing stateless session beans in an ear.  I am now 
working on a sar file that contains a single MBean, this MBean makes use of 
some of the stateless session beans in the ejb.jar.  The sar that deploys my 
MBean can't be bundled in the ear with ejb.jar because it has to be flexible so 
that it can use the stateless session beans locally or talk to them remotely if 
they are deployed in a separate JBoss instance.

Since the sar may be running on a separate machine, it at least needs to have 
the interfaces for my EJBs on the classpath, so it has ejb.jar in the root of 
the sar.  My problem is that when trying to deploy the sar, JBoss wants to 
deploy the EJBs also but fails because there is no persistence unit definition 
(it's usually found in the ear's META-INF).  So is there a way to tell JBoss 
not to deploy the stateless session beans that it is finding in the sar?  If 
not then I guess my next alternative would be to deploy this as a war, but 
that's not ideal in this case.

Thanks

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266401#4266401

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266401
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginner's Corner] - Re: jboss installation

2009-11-18 Thread amira88
Hi mr peter,
every thing is good now :
 i Opened a browser, and entered the url: http://localhost:8080. and i-m seeing 
the home page. is it the final step.
jboss is installed now if its not what i have to do

thank you so much sir ,this is only because of you thank you another time 


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266403#4266403

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266403
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB] - caching the jndi call

2009-11-18 Thread redlight
hi,

i got my ejb's up and running

in my web project i call them like that 


  | TraxManager TraxManager = (TraxManager)context.lookup(TraxService/remote);
  | 

in my web project i implement this call in each of managed beans, which no an 
optimal solution

so i try to do a generic method ==



  | import java.util.Collections;
  | import java.util.HashMap;
  | import java.util.Map;
  | import java.util.Properties;
  | 
  | import javax.ejb.EJBHome;
  | import javax.naming.Context;
  | import javax.naming.InitialContext;
  | import javax.naming.NamingException;
  | 
  | public class EJBHomeFactory {
  | 
  |  private static  MapString, Object cache=Collections.synchronizedMap(new 
HashMap());; //used to hold references to EJBHomes/JMS Resources for re-use
  | 
  | 
  |  private EJBHomeFactory() throws ServiceLocatorException  {
  |   try {
  | //THIS DOESN'T GET EXECUTED :( 
  | cache = Collections.synchronizedMap(new HashMap());
  |   } catch (Exception e) {
  | throw new ServiceLocatorException(e);
  |}
  | }
  | 
  |  
  | public static Object lookupObject(String jndiName) throws 
ServiceLocatorException {
  |  EJBHome home = null;
  |  Context context = null;
  |
  |   try {   
  | if (cache.containsKey((Object)jndiName)) {
  | return cache.get(jndiName);
  | } else { 
  | Properties props  = new Properties();
  |
props.setProperty(java.naming.factory.initial,org.jnp.interfaces.NamingContextFactory);
  |
props.setProperty(java.naming.provider.url, jnp://192.168.1.201:1099);
  |
props.setProperty(java.naming.factory.url.pkgs, org.jboss.naming);
  |props.setProperty(jnp.socket.Factory, 
org.jnp.interfaces.TimedSocketFactory);
  |  context = new InitialContext(props);
  | //Object obj = context.lookup(jndiName);
  | cache.put(jndiName, context.lookup(jndiName));
  | }
  |} catch (NamingException ne) {
  | throw new ServiceLocatorException(ne);
  |} catch (Exception e) {
  | throw new ServiceLocatorException(e);
  |}
  |return cache.get(jndiName);
  | 
  | }
  | 
  | 
  | 
  | public MapString, Object getCache() {
  | return cache;
  | }
  | 
  | 
  | 
  | public void setCache(MapString, Object cache) {
  | EJBHomeFactory.cache = cache;
  | }
  | 
  | 
  | }
  | 
  | 
  | 

i test with 2 class, so that the first one , fill the map and the second should 
find a a map with the key of the jndi name , but it never found it,

  |if (cache.containsKey((Object)jndiName)) {
  | return cache.get(jndiName);
  | } 
is never executed


and thanks 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266404#4266404

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266404
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginner's Corner] - Re: jboss installation

2009-11-18 Thread PeterJ
You are trying to run with a JRE, you need to set JAVA_HOME to where you 
installed a JDK. Either that or edit the run.bat file to remove the check for 
the 'server' JVM - to do that, comment out these lines:

%JAVA% -server -version 21 | findstr /I hotspot  nul
  | if not errorlevel == 1 (
  |   set JAVA_OPTS=%JAVA_OPTS% -server
  | )

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266405#4266405

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266405
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Problem moving from 4.1 to 4.2 using Spring configuratio

2009-11-18 Thread RockerRocker
I am getting DBSession error due to this error -- 

  | 16:14:51,625 INFO  [STDOUT] Hibernate: select propertyim0_.KEY_ as KEY1_6_, 
propertyim0_.VERSION_ as VERSION2_6_, propertyim
  | _.VALUE_ as VALUE3_6_ from JBPM4_PROPERTY propertyim0_ where 
propertyim0_.KEY_='next.dbid'
  | 16:14:51,671 INFO  [STDOUT] Hibernate: update JBPM4_PROPERTY set 
VERSION_=?, VALUE_=? where KEY_=? and VERSION_=?
  | 16:14:51,734 INFO  [DefaultCommandService] exception while executing 
command org.jbpm.pvm.internal.cmd.deploy...@1c0dc84
  | org.hibernate.SessionException: Session is closed!
  | at 
org.hibernate.impl.AbstractSessionImpl.errorIfClosed(AbstractSessionImpl.java:72)
  | at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:558)
  | at org.hibernate.impl.SessionImpl.save(SessionImpl.java:550)
  | at org.hibernate.impl.SessionImpl.save(SessionImpl.java:546)
  | at 
org.jbpm.pvm.internal.repository.RepositorySessionImpl.deploy(RepositorySessionImpl.java:60)
  | at org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:47)
  | at org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:33)
  | at 
org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
  | at 
org.jbpm.pvm.internal.spring.CommandTransactionCallback.doInTransaction(CommandTransactionCallback.java:50)
  | at 
org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:127)
  | at 
org.jbpm.pvm.internal.tx.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:77)
  | at 
org.jbpm.pvm.internal.svc.EnvironmentInterceptor.executeInNewEnvironment(EnvironmentInterceptor.java:53)
  | at 
org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:40)
  | at 
org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55)
  | at 
org.jbpm.pvm.internal.repository.DeploymentImpl.deploy(DeploymentImpl.java:91)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266406#4266406

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266406
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginner's Corner] - Re: jboss installation

2009-11-18 Thread PeterJ
If you see the home page, it is installed.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266407#4266407

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266407
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA] - Re: Discovery of JCA ConnectionFactory without resource-ref

2009-11-18 Thread maffeis
Thanks for your feedback, Vicky. The trick is to define a res-ref-name not 
starting with ra nor jdbc in jboss-web.xml. Once I avoided using the ra 
JNDI context, my connection factories became accessible without declaring them 
in web.xml

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266408#4266408

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266408
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: nested forks

2009-11-18 Thread saraswati.santanu
We can use our understanding about the bug to have a hack for the time being.

We see task1 twice because the transition to task1 is the default transition of 
the fork node. To stop task1 from appearing twice we need to make sure that it 
is not the default transition. Instead we can add a dummy node for default 
transition to make sure that the rest of the forked nodes behave properly. We 
can try a flow like this:


  | ?xml version=1.0 encoding=UTF-8?
  | 
  | process name=ForumFlow2 xmlns=http://jbpm.org/4.0/jpdl;
  | 
  |start g=5,129,48,48 name=start1
  |   transition to=fork1/
  |/start
  |end g=957,121,48,48 name=end1/
  |
  |task g=300,199,92,52 name=task2
  |   transition g=444,222: to=join2/
  |/task
  |task g=334,329,92,52 name=task3
  |   transition g=679,358: to=join1/
  |/task
  |task g=745,120,92,52 name=task8
  |   transition to=end1/
  |/task
  |task g=513,120,92,52 name=task9
  |   transition to=join1/
  |/task
  |task g=294,123,92,52 name=task1
  |   transition to=join2/
  |/task
  |fork g=211,130,48,48 name=fork2
  |   transition name=to java1 to=java1 g=235,68:-45,-18/
  |   transition to=task1/
  |   transition g=235,228: to=task2/
  |/fork
  |join g=417,123,48,48 name=join2
  |   transition to=task9/
  |/join
  |join g=652,119,48,48 name=join1
  |   transition to=task8/
  |/join
  |fork g=93,126,48,48 name=fork1
  |   transition g=114,355: to=task3/
  |   transition to=fork2/
  |/fork
  |java name=java1
  |  class=org.jbpm.test.DoNothingActivity
  |  method=doNothing 
  |  g=301,41,92,52
  |/java
  | /process
  | 

And a dummy java activity class


  | package org.jbpm.test;
  | 
  | /**
  |  * @author Santanu
  |  *
  |  */
  | public class DoNothingActivity{
  | 
  | public void doNothing() {
  | System.out.println(Doing nothing);
  | }
  | 
  | }
  | 

This should give you correct list of tasks after the nested fork.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266409#4266409

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266409
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0 Users] - Re: ejb3 and web services

2009-11-18 Thread goldberg.howard
1. Anyone have an example of doing this?  I see you can register a web service 
in jndi via a descriptor, and retrieve; so I'd expect you could inject and call 
getPort?

2. I see that the answer requires jsr-237 or using an implementation like 
commonJ.  Is there going to be an out-of-the-box service in a future JBOSS, or 
is commonJ adequate.

Howard

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266411#4266411

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266411
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: [jBPM-3.2] - org.jbpm.graph.def.Node Classs

2009-11-18 Thread saraswati.santanu
ProcessDefinition has a deployment (refer to 
ProcessDefinition.getDeploymentId()). Deployment id is retrieved from process 
definition. Use DeploymentQuery to find the Deployment using the id. You can 
get the xml from this deployment. However the bad part is you have to type cast 
Deployment to DeploymentImpl to be able to access the xml resources. You need 
to use getResource(String) method there of DeploymentImpl.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266412#4266412

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266412
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Problem moving from 4.1 to 4.2 using Spring configuratio

2009-11-18 Thread xalperte
I'm pretty sure that this exception appears to be the cause of another that 
happens before... try to debug your code in order to find the original exception

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266415#4266415

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266415
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginner's Corner] - Re: jboss installation

2009-11-18 Thread amira88
thank u *1000
mr peter
but where i have to put the code 

%JAVA% -server -version 21 | findstr /I hotspot  nul
if not errorlevel == 1 (
  set JAVA_OPTS=%JAVA_OPTS% -server
)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266416#4266416

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266416
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Problem moving from 4.1 to 4.2 using Spring configuratio

2009-11-18 Thread RockerRocker
Only change i have is 
command-service name=txRequiredCommandService
  retry-interceptor /
  environment-interceptor /
  spring-transaction-interceptor current=false/

Previous working code was with 4.0 and following 

command-service 
  retry-interceptor /
  environment-interceptor /
  spring-transaction-interceptor current=true/

Not sure if spring-transaction-interceptor = false makes the session close ?? 
Will redo everything again :(


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266418#4266418

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266418
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginner's Corner] - Re: jboss installation

2009-11-18 Thread PeterJ
My post about commenting out the code was in regards to your earlier post about 
the 'server' JVM. Since you stated that you now have it running, you can ignore 
that post.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266420#4266420

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266420
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Jbpm 4 supports Oracle 11g release 2

2009-11-18 Thread kukeltje
questions about hibernate dialects belong  in the hibernate forum. The other 
question was identical to your topic

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266421#4266421

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266421
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Problem moving from 4.1 to 4.2 using Spring configuratio

2009-11-18 Thread RockerRocker
Rolled back everything to as it was JBPM 4CR1 with New instance of Jboss 5.0, 
still same error - i am so frustated 



ERROR AT CLICK OF DEPLOY

  | 17:48:52,343 INFO  [STDOUT] ***
  | 17:48:52,468 INFO  [STDOUT] deployed TestEmail.jpdl.xml
  | 17:48:52,593 INFO  [STDOUT] Hibernate: select propertyim0_.KEY_ as KEY1_6_, 
propertyim0_.VERSION_ as VERSION2_6_, propertyim0
  | _.VALUE_ as VALUE3_6_ from JBPM4_PROPERTY propertyim0_ where 
propertyim0_.KEY_='next.dbid'
  | 17:48:52,609 INFO  [STDOUT] Hibernate: update JBPM4_PROPERTY set 
VERSION_=?, VALUE_=? where KEY_=? and VERSION_=?
  | 17:48:52,687 INFO  [DefaultCommandService] exception while executing 
command org.jbpm.pvm.internal.cmd.deploy...@1a0b93e
  | org.hibernate.SessionException: Session is closed!
  | at 
org.hibernate.impl.AbstractSessionImpl.errorIfClosed(AbstractSessionImpl.java:72)
  | at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:558)
  | at org.hibernate.impl.SessionImpl.save(SessionImpl.java:550)
  | at org.hibernate.impl.SessionImpl.save(SessionImpl.java:546)
  | at 
org.jbpm.pvm.internal.repository.RepositorySessionImpl.deploy(RepositorySessionImpl.java:60)
  | at org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:47)
  | at org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:33)
  | at 
org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
  | at 
org.jbpm.pvm.internal.spring.CommandTransactionCallback.doInTransaction(CommandTransactionCallback.java:50)
  | at 
org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:127)
  | at 
org.jbpm.pvm.internal.tx.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:77)
  | at 
org.jbpm.pvm.internal.svc.EnvironmentInterceptor.executeInNewEnvironment(EnvironmentInterceptor.java:53)
  | at 
org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:40)
  | at 
org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55)
  | 



JBPM Config file 

  | ?xml version=1.0 encoding=UTF-8?
  | 
  | jbpm-configuration xmlns=http://jbpm.org/xsd/cfg;
  | 
  |   process-engine-context
  |   
  | repository-service /
  | repository-cache /
  | execution-service /
  | history-service /
  | management-service /
  | task-service /
  | identity-service /
  | 
  | command-service
  |   retry-interceptor /
  |   environment-interceptor /
  |   spring-transaction-interceptor current=true/
  |   
  |   !--spring-transaction-interceptor /--
  | 
  | /command-service
  | 
  | 
  | hibernate-configuration
  |   cfg resource=jbpm.hibernate.cfg.xml / 
  | /hibernate-configuration
  | 
  | deployer-manager
  |   jpdl-deployer /
  | /deployer-manager
  | 
  | script-manager default-expression-language=juel
  | default-script-language=juel
  | read-contexts=execution, environment, process-engine
  | write-context=
  | script-language name=juel 
factory=org.jbpm.pvm.internal.script.JuelScriptEngineFactory /
  | /script-manager
  | 
  | authentication /
  | 
  | job-executor auto-start=false /
  | 
  | id-generator /
  | 
  | 
  | 
  | business-calendar
  |   mondayhours=9:00-12:00 and 12:30-17:00/
  |   tuesday   hours=9:00-12:00 and 12:30-17:00/
  |   wednesday hours=9:00-12:00 and 12:30-17:00/
  |   thursday  hours=9:00-12:00 and 12:30-17:00/
  |   fridayhours=9:00-12:00 and 12:30-17:00/
  |   holiday period=01/07/2008 - 31/08/2008/
  | /business-calendar
  |   
  |   /process-engine-context
  | 
  | transaction-context
  | repository-session /
  | pvm-db-session /
  | job-db-session /
  | task-db-session /
  | message-session /
  | timer-session /
  | history-session /
  | transaction /
  |
  | hibernate-session current=true /
  | identity-session /
  |   /transaction-context
  | 
  | /jbpm-configuration

APPLICATION COMMON CONFIG

  | ?xml version=1.0 encoding=UTF-8?
  | beans xmlns=http://www.springframework.org/schema/beans;
  | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  | xmlns:aop=http://www.springframework.org/schema/aop;
  | xmlns:tx=http://www.springframework.org/schema/tx;
  | xsi:schemaLocation=
  | http://www.springframework.org/schema/beans 
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
  | http://www.springframework.org/schema/tx 
http://www.springframework.org/schema/tx/spring-tx-2.0.xsd
  | http://www.springframework.org/schema/aop 
http://www.springframework.org/schema/aop/spring-aop-2.0.xsd;
  | 
  | 
  | bean 

[jboss-user] [jBPM Users] - Re: Problem moving from 4.1 to 4.2 using Spring configuratio

2009-11-18 Thread RockerRocker
Just a update - 
It works fine with 4.0 jars - above error were because still had 4.2 jars in 
lib.. 

I will stick with 4 until i hear more from anyone.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266424#4266424

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266424
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginner's Corner] - jBoss AS 5.1 Cluster - Problem 01

2009-11-18 Thread sergiobz
Hi Everybody.

I Trying to set up a cluster of 2 jBoss as 5.1 nodes, but when i start the 
jboss app server , without any kind of application i am getting the following 
error:

2009-11-18 17:50:00,376 ERROR [STDERR] (AOPListner) Exception in thread 
AOPListner 
  | 2009-11-18 17:50:00,377 ERROR [STDERR] (AOPListner) 
java.util.ConcurrentModificationException
  | 2009-11-18 17:50:00,377 ERROR [STDERR] (AOPListner) at 
java.util.WeakHashMap$HashIterator.nextEntry(WeakHashMap.java:762)
  | 2009-11-18 17:50:00,377 ERROR [STDERR] (AOPListner) at 
java.util.WeakHashMap$KeyIterator.next(WeakHashMap.java:795)
  | 2009-11-18 17:50:00,377 ERROR [STDERR] (AOPListner) at 
org.jboss.aop.AspectManager.getAdvisors(AspectManager.java:537)
  | 2009-11-18 17:50:00,377 ERROR [STDERR] (AOPListner) at 
org.jboss.console.plugins.AOPLister$RefreshPoller.run(AOPLister.java:891)
  | 

Here are my information:

Initialization command:

 $JBOSS_HOME/bin/run.sh -c all -g Ozonion -b 10.246.71.191 
-Djboss.messaging.ServerPeerID=1 -Djboss.service.binding.set=ports-default


Here is my MSSQL-DS file:

datasources
  |local-tx-datasource
  |jndi-nameDefaultDS/jndi-name
  |connection-url
  |
jdbc:jtds:sqlserver://10.246.71.191:1433/jms;SendStringParametersAsUnicode=false;prepareSQL=2
  |/connection-url
  |driver-class
  |net.sourceforge.jtds.jdbc.Driver
  |/driver-class
  |user-nameuser/user-name
  |passwordpassword/password
  |max-pool-size1024/max-pool-size
  |min-pool-size128/min-pool-size
  |transaction-isolationTRANSACTION_READ_COMMITTED/transaction-isolation
  |blocking-timeout-millis15000/blocking-timeout-millis
  |idle-timeout-minutes1/idle-timeout-minutes
  |metadata
  | type-mappingMS SQLSERVER2005/type-mapping
  |/metadata
  |/local-tx-datasource
  | /datasources
  | 


Plus, i changed the 
$JBOSS_HOME/server/all/deploy/messages/hsqldb-persistence-service.xml for the 
example mssql-persistence-service.xml


Something that i am missing?



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266429#4266429

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266429
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginner's Corner] - jBoss AS 5.1 Cluster - Problem 02

2009-11-18 Thread sergiobz
Hi Everybody.

I Trying to set up a cluster of 2 jBoss as 5.1 nodes, but when i start the 
jboss app server , without any kind of application i am getting the following 
warning:

2009-11-18 17:49:56,386 WARN  
[org.jboss.jms.server.jbosssx.JBossASSecurityMetadataStore] (main) WARNING! 
POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component 
which sucks messages from one node to another has not had its password changed 
from the installation default. Please see the JBoss Messaging user guide for 
instructions on how to do this.
  | 
  | 

I  googled for a while, without any kind of success.

So, can anyone guide me how to solve this potential security risk?



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266430#4266430

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266430
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginner's Corner] - JBoss AS jBPM

2009-11-18 Thread StevenMayhew
Hi all,

I'm having a few issues sorting out an installation of JBoss to configure it 
correctly with jBPM. Currently I have a JBoss AS instance running correctly on 
the machine and it all works perfectly. However its integrating it with jBPM 
that I'm having issues with. The only tutorial that I could find is dated 
(http://www.jboss.org/community/wiki/jbpm3gettingstarted) and isn't much help 
with the latest version (4.2) of jBPM. 

I tried reverting to an old version so that I could run through the 
instructions in the wiki and still had no luck. Basically I'm just after some 
guidance to configuring my JBoss 5.1.0 install so that I can successfully use 
jBPM with it.

Any help at all would be appreciated. You can assume that so far all I have 
done is unzip the JBoss AS instance and tested it, because thats pretty much as 
far as I have come before hitting brick walls and enduring head-smash-on-desk 
moments.

Cheers,
Steven

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266435#4266435

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266435
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Problem moving from 4.1 to 4.2 using Spring configuratio

2009-11-18 Thread saraswati.santanu
Rocker, 
are you missing db id generator in your jbpm.cfg.xml file? 


  | object class=org.jbpm.pvm.internal.id.DatabaseDbidGenerator
  |   field name=commandServiceref object=txRequiredCommandService 
//field
  | /object
  | 
  | object class=org.jbpm.pvm.internal.id.DatabaseIdComposer 
init=eager /
  | 

You need to remove any id-generator component also if present. This is 
something new in 4.2. Also what I understand is you do not need to mention 
hibernate-configuration in jbpm.cfg.xml since you are already giving them in 
spring configuration.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266443#4266443

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266443
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: jbpm.wire.bindings.xml

2009-11-18 Thread rams.rapo
I'm equal fan of spring  jboss :)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266445#4266445

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266445
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache Users] - Re: Can't acquire lock in 0 ms

2009-11-18 Thread navaneethforu
We are using Tree cache 1.4.1SP11 and getting simmilar excption


  | 2009-11-16 09:33:31,435] [WARN ] [org.jboss.cache.TreeCache] replication 
failure with method_call _evict; id:8; Args: ( arg[0] = 
///masterdata/active 
  | BarcodeTypeList) exception 
  | org.jboss.cache.lock.TimeoutException: failure acquiring lock: 
fqn=///masterdata/activeBarcodeTypeList, 
caller=Thread[IncomingMessageHandler (channel= 
  | -APP-CACHE-TEST),5,JGroups threads], lock=unlocked 
(org.jboss.cache.lock.lockstrategyreadcommit...@7c72d14f) 
  | at org.jboss.cache.Node.acquire(Node.java:533) 
  | at 
org.jboss.cache.interceptors.PessimisticLockInterceptor.acquireNodeLock(PessimisticLockInterceptor.java:410)
 
  | 
  | at 
org.jboss.cache.interceptors.PessimisticLockInterceptor.lock(PessimisticLockInterceptor.java:322)
 
  | at 
org.jboss.cache.interceptors.PessimisticLockInterceptor.invoke(PessimisticLockInterceptor.java:196)
 
  | at 
org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68) 
  | at 
org.jboss.cache.interceptors.UnlockInterceptor.invoke(UnlockInterceptor.java:32)
 
  | at 
org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68) 
  | at 
org.jboss.cache.interceptors.InvalidationInterceptor.invoke(InvalidationInterceptor.java:60)
 
  | at 
org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68) 
  | at 
org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:379)
 
  | at 
org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:174) 
  | at 
org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68) 
  | at 
org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:179)
 
  | at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5934) 
  | at org.jboss.cache.TreeCache._replicate(TreeCache.java:5211) 
  | at sun.reflect.GeneratedMethodAccessor228.invoke(Unknown Source) 
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 
  | at java.lang.reflect.Method.invoke(Method.java:585) 
  | at org.jgroups.blocks.MethodCall.invoke(MethodCall.java:330) 
  | at org.jgroups.blocks.RpcDispatcher.handle(RpcDispatcher.java:281) 
  | at 
org.jgroups.blocks.RequestCorrelator.handleRequest(RequestCorrelator.java:654) 
  | at 
org.jgroups.blocks.RequestCorrelator.receiveMessage(RequestCorrelator.java:544) 
  | at 
org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:367) 
  | at 
org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:779)
 
  | at org.jgroups.JChannel.up(JChannel.java:1090) 
  | at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:382) 
  | at 
org.jgroups.stack.ProtocolStack.receiveUpEvent(ProtocolStack.java:398) 
  | at org.jgroups.stack.Protocol.passUp(Protocol.java:520) 
  | at 
org.jgroups.protocols.pbcast.STATE_TRANSFER.up(STATE_TRANSFER.java:158) 
  | at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470) 
  | at org.jgroups.stack.Protocol.passUp(Protocol.java:520) 
  | at org.jgroups.protocols.pbcast.GMS.up(GMS.java:763) 
  | at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470) 
  | at org.jgroups.protocols.pbcast.GMS.receiveUpEvent(GMS.java:783) 
  | at org.jgroups.stack.Protocol.passUp(Protocol.java:520) 
  | at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:262) 
  | at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470) 
  | at org.jgroups.stack.Protocol.passUp(Protocol.java:520) 
  | at 
org.jgroups.protocols.pbcast.NAKACK.handleMessage(NAKACK.java:685) 
  | at org.jgroups.protocols.pbcast.NAKACK.up(NAKACK.java:517) 
  | at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470) 
  | at org.jgroups.stack.Protocol.passUp(Protocol.java:520) 
  | at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:170) 
  | at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470) 
  | at org.jgroups.stack.Protocol.passUp(Protocol.java:520) 
  | at org.jgroups.protocols.FD.up(FD.java:300) 
  | at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470) 
  | at org.jgroups.stack.Protocol.passUp(Protocol.java:520) 
  | at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:301) 
  | at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470) 
  | at org.jgroups.stack.Protocol.passUp(Protocol.java:520) 
  | at org.jgroups.protocols.MERGE2.up(MERGE2.java:162) 
  | at org.jgroups.stack.Protocol.receiveUpEvent(Protocol.java:470) 
  | at org.jgroups.stack.Protocol.passUp(Protocol.java:520) 
  | 
  | at 

[jboss-user] [Persistence] - Hibernate PostDelete event listener not getting called

2009-11-18 Thread aejaz
Hi,

I have the following class in my jar file(which has all the EJBs)
which gets deployed on JBoss 5.0 AS. 

public class MyClass implements PostDeleteEventListener,
PostInsertEventListener, PostUpdateEventListener, Initializable {


public void onPostDelete(PostDeleteEvent event) {
System.out.println(Post delete event received);
}

public void onPostInsert(final PostInsertEvent event) {
System.out.println(Post insert event received);
}

public void onPostUpdate(final PostUpdateEvent event) {
System.out.println(Post update event received);
}

public void initialize(final Configuration config) {
}

}

I have the following entries in my persistence.xml,

property name=hibernate.ejb.event.post-insert 
value=org.hibernate.ejb.event.EJB3PostInsertEventListener, 
services.util.MyClass
property name=hibernate.ejb.event.post-update
value=org.hibernate.ejb.event.EJB3PostUpdateEventListener, 
services.util.MyClass
property name=hibernate.ejb.event.post-delete
value=org.hibernate.ejb.event.EJB3PostDeleteEventListener, 
services.util.MyClass

When I execute an update or insert HQL statement, corresponding
methods onPostUpdate()  onPostInsert() are being called but if
I execute a delete statement the corresponding onPostDelete() 
method is not getting called.

Does anyone have any idea why this will not work.

Thanks,
Aejaz




View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266450#4266450

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266450
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginner's Corner] - Re: JBoss AS jBPM

2009-11-18 Thread jaikiran
You might get some help, if you post this question in the jBPM user forum here 
http://www.jboss.org/index.html?module=bbop=viewforumf=217

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266451#4266451

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266451
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginner's Corner] - Re: jBoss AS 5.1 Cluster - Problem 01

2009-11-18 Thread jaikiran
It's been discussed here 
http://www.jboss.org/index.html?module=bbop=viewtopict=155294.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266453#4266453

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266453
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginner's Corner] - Re: jBoss AS 5.1 Cluster - Problem 02

2009-11-18 Thread jaikiran
See 
http://labs.jboss.com/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.4.5.GA/html/configuration.html#conf.serverpeer.attributes.suckerpassword

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266454#4266454

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266454
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - Re: jndi, rebind, java.io.NotSerializableException

2009-11-18 Thread jaikiran
You could use the APIs on org.jboss.util.naming.NonSerializableFactory 
http://anonsvn.jboss.org/repos/common/common-core/trunk/src/main/java/org/jboss/util/naming/NonSerializableFactory.java

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266455#4266455

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266455
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - Re: Prevent EJB deployment with sar

2009-11-18 Thread jaikiran
anonymous wrote :  So is there a way to tell JBoss not to deploy the stateless 
session beans that it is finding in the sar?

Are you even packaging the bean implementation classes (which have the 
@Stateless annotation) in the .sar? If you are packaging only the interfaces 
(which is the right thing), then i don't see any issue.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266456#4266456

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266456
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: jbpm integration with java

2009-11-18 Thread saraswati.santanu
Jbpm is meant to be used in Java EE applications. You should be able to use 
every feature that Jbpm provides in an enterprise application.

Eclipse has no role to play in running Jbpm. You may choose to use Eclipse 
based graphical designer or you can use some other graphical designer or for 
that matter no designer just textpad to create Jpdl xmls.

Its good to know that you are developing java in your myeclipse
anonymous wrote : java which is developed in myeclipse I thought it is 
developed by a team led by James Gosling some 15-20 years back :). Just as jest.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4266466#4266466

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266466
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user