Re: [jboss-user] Hot deploy scanner and netboot

2009-11-26 Thread Stephen Davidson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Maciek.

This list does appear to be currently monitored by anybody from the
JBoss group.  You might be better off to try the forums, possible the
Beginner's corner for these particular questions.

Regards,
Steve

Maciej Madej wrote:
> Hi,
> 
> I have two questions:
> 
> 1)How to set "recursiveScan" and "scanEnabled" properties for hot
> deployment in jboss 5.1.0? I've tried setting "scanEnabled" as follow
> (in hdscanner-jboss-beans.xml):
> 
>  class="org.jboss.system.server.profileservice.hotdeploy.HDScanner">
>  bean="ProfileServiceDeployer"/>
>  bean="ProfileService"/>
> 5000
> false
> HDScanner
> 
> 
> But it does not work :( . I have also found out that "recursiveScan" is
> property of VFSDeploymentScanner. But in which xml I should set it?
>  
> 2)Is there an example how to use netboot with jboss 5.1.0?
> 
> --
> Maciek
> 
> 
> 
> 
> ___
> jboss-user mailing list
> jboss-user@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-user

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iEYEARECAAYFAksPFD4ACgkQSphIUSiVzgb0VACg0oJ2EFWbTI40OhbLx+1j26QE
l2EAoMdyFkuNszfddzfrvexhAJtAzhEh
=C3ah
-END PGP SIGNATURE-
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] Hot deploy scanner and netboot

2009-11-26 Thread Maciej Madej
Hi,

I have two questions:

1)How to set "recursiveScan" and "scanEnabled" properties for hot deployment
in jboss 5.1.0? I've tried setting "scanEnabled" as follow (in
hdscanner-jboss-beans.xml):




5000
false
HDScanner


But it does not work :( . I have also found out that "recursiveScan" is
property of VFSDeploymentScanner. But in which xml I should set it?

2)Is there an example how to use netboot with jboss 5.1.0?

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


[jboss-user] [JBoss Web Services Users] - JBossWS is Java EE 5 compliant?

2009-11-26 Thread Oberiko
Hello,

The last word I've seen on this is the 2007 whitepaper which states that 
JBossWS is not fully Java EE 5 compliant.  Can anyone confirm otherwise?

For example, if I were to create an application in JBossWS, would I be able to 
deploy it to another Java EE 5 compliant application server (as listed 
http://java.sun.com/javaee/overview/compatibility.jsp)?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267706#4267706

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267706
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: jbpm4 task can be by many actor in the same task compone

2009-11-26 Thread kukeltje
oh, and if you want multiple users (e.g. all members of the group) to have 
their own task:

http://www.jboss.org/community/wiki/ForEachForkActionHandler 

It 'just' needs to be ported to 4.0

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267704#4267704

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267704
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: List task comments with Activity name

2009-11-26 Thread kukeltje
Also vote for the individual issues if you think it is applicable.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267701#4267701

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267701
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: List task comments with Activity name

2009-11-26 Thread sebastian.s
rmoskal, have you voted on the issue?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267700#4267700

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267700
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Problem with node state

2009-11-26 Thread sebastian.s
You did not mention it but I concluded you are using jBPM 3.x. So I can't help 
you since I use 4.x. But I advise you to post your process definition and a 
unit test. Also see the post about reporting problems.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267696#4267696

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267696
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: List task comments with Activity name

2009-11-26 Thread sebastian.s
Hey Ronald,

thanks for your support. Of course I understand that you don't have the time 
and that it's not your task to take care of it. I just asked because I thought 
you had a clue. I was especially irritated because I thought there was 
consensus on the history related issues being addresed in 4.3.

I'll try to get answers from Joram and Tom.

Sebastian

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267695#4267695

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267695
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Unable to complete task

2009-11-26 Thread TejJBPM
JBPM 4.2

I am unable to complete a task. It throws a hiberanate exception. Any pointers??

I found a JIRA with a similar issue but I am not giving Async as an attribute 
in the start node but still get the same error
https://jira.jboss.org/jira/browse/JBPM-2535?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel



JPDL

  | 
  | http://jbpm.org/4/jpdl";>
  |
  |   
  |
  | 
  |   
  |  
  |
  | 
  |  
  |  
  | ${task.name} 
  |  
  |
  |  
  |  
  |   
  |   
  |
  |
  |
  |
  |Your move request is approved!
  |Employee name ${employeeName} and request details 
${requestDetails}   
  |   
  |
  |
  |
  |Your move request is rejected!
  |Employee name ${employeeName} and request details 
${requestDetails}   
  |   
  |
  | 
Error
org.hibernate.NonUniqueResultException: query did not return a unique result: 2
  | at 
org.hibernate.impl.AbstractQueryImpl.uniqueElement(AbstractQueryImpl.java:844)
  | at 
org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:835)
  | at 
org.jbpm.pvm.internal.hibernate.DbSessionImpl.findTaskByExecution(DbSessionImpl.java:386)
  | at 
org.jbpm.jpdl.internal.activity.MailListener.notify(MailListener.java:50)
  | at 
org.jbpm.pvm.internal.model.op.ExecuteEventListener.perform(ExecuteEventListener.java:81)
  | at 
org.jbpm.pvm.internal.model.ExecutionImpl.performAtomicOperationSync(ExecutionImpl.java:655)
  | at 
org.jbpm.pvm.internal.model.ExecutionImpl.performAtomicOperation(ExecutionImpl.java:615)
  | at 
org.jbpm.pvm.internal.model.ExecutionImpl.signal(ExecutionImpl.java:416)
  | at 
org.jbpm.pvm.internal.model.ExecutionImpl.signal(ExecutionImpl.java:402)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at 
org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:197)
  | at 
org.jbpm.pvm.internal.model.ExecutionImpl_$$_javassist_5.signal(ExecutionImpl_$$_javassist_5.java)
  | at org.jbpm.pvm.internal.task.TaskImpl.complete(TaskImpl.java:194)
  | at 
org.jbpm.pvm.internal.cmd.CompleteTaskCmd.execute(CompleteTaskCmd.java:60)
  | at 
org.jbpm.pvm.internal.cmd.CompleteTaskCmd.execute(CompleteTaskCmd.java:32)
  | at org.jbpm.pvm.internal.cmd.CompositeCmd.execute(CompositeCmd.java:43)
  | at org.jbpm.pvm.internal.cmd.CompositeCmd.execute(CompositeCmd.java:35)
  | at 
org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
  | at 
org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:54)
  | 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.svc.SkipInterceptor.execute(SkipInterceptor.java:43)
  | at 
org.jbpm.pvm.internal.svc.TaskServiceImpl.completeTask(TaskServiceImpl.java:105)
  | 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267694#4267694

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267694
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: jbpm4 task can be by many actor in the same task compone

2009-11-26 Thread kukeltje
yes,  see  6.2.6.2 in the documentation

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267693#4267693

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267693
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: jbpm4 task can be by many actor in the same task compone

2009-11-26 Thread kukeltje
yes,  see  6.2.6.2 in the documentation

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267692#4267692

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267692
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Problem with node state

2009-11-26 Thread mafemuea
Hello everybody.

When it finish a task of my workflow has to wait (10 days, it's customizable), 
to advance to the next task (of another node).
I tested with a 'node state' between the two nodes happend the following error:

Caused by: org.hibernate.TransientObjectException: object references an unsaved 
transient instance - save the transient instance before flushing: 
org.jbpm.graph.def.Action

Thanks a lot.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267691#4267691

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267691
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: List task comments with Activity name

2009-11-26 Thread kukeltje
I agree, but unfortunately I can only try to influence the core devs since I do 
not have the time to do this myself. Gathering as many  votes as possible is 
the best to do (or getting paid support and escalate). I'll see what I can do

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267690#4267690

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267690
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools Users] - Re: Where is the nightly build?

2009-11-26 Thread nickboldt
http://download.jboss.org/jbosstools/updates/nightly/trunk/ now contains a 
newer build: 3.1.0.v200911251807N-H130-RC1

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267689#4267689

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267689
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal Users] - Why this exception occurs?

2009-11-26 Thread thinwath
Hello,

I'm using Portal 2.7.0 and configured a local-tx-datasource which I'm using 
with hibernate so that it uses the JTA Tx.

Don't why but often this exception is thrown and my whole portal doesn't work 
anymore


  | exception 
  | 
  | javax.servlet.ServletException: javax.transaction.SystemException: 
java.lang.Throwable: Unabled to enlist resource, see the previous warnings. 
tx=TransactionImple < ac, BasicAction: a05dd21:43df:4b0d585b:37546 status: 
ActionStatus.ABORT_ONLY >
  | java.lang.Exception.(Exception.java:77)
  | javax.servlet.ServletException.(ServletException.java:86)
  | 
org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:278)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:798)
  | com.cj.trim.trimFilter.doFilter(Unknown Source)
  | 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:89)
  | 
  | 
  | root cause 
  | 
  | javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist 
resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: 
a05dd21:43df:4b0d585b:37546 status: ActionStatus.ABORT_ONLY >
  | java.lang.Throwable.(Throwable.java:196)
  | java.lang.Exception.(Exception.java:41)
  | javax.transaction.SystemException.(SystemException.java:39)
  | 
org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener$TransactionSynchronization.checkEnlisted(TxConnectionManager.java:750)
  | 
org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConnectionManager.java:486)
  | 
org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:352)
  | 
org.jboss.resource.connectionmanager.BaseConnectionManager2.reconnectManagedConnection(BaseConnectionManager2.java:524)
  | 
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:392)
  | 
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:849)
  | 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89)
  | 
org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:65)
  | 
org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:417)
  | 
org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:140)
  | 
org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:138)
  | org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1517)
  | org.hibernate.loader.Loader.doQuery(Loader.java:665)
  | 
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:232)
  | org.hibernate.loader.Loader.loadEntity(Loader.java:1851)
  | 
org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:48)
  | 
org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:42)
  | 
org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3036)
  | 
org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:394)
  | 
org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:331)
  | 
org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:129)
  | 
org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:170)
  | 
org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:60)
  | org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:874)
  | org.hibernate.impl.SessionImpl.get(SessionImpl.java:812)
  | org.hibernate.impl.SessionImpl.get(SessionImpl.java:808)
  | 
org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.getObjectNode(PersistentPortalObjectContainer.java:282)
  | 
org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.getObjectNode(PersistentPortalObjectContainer.java:252)
  | 
org.jboss.portal.core.impl.model.portal.AbstractPortalObjectContainer.getContext(AbstractPortalObjectContainer.java:107)
  | 
org.jboss.portal.core.impl.model.portal.AbstractPortalObjectContainer.getContext(AbstractPortalObjectContainer.java:81)
  | 
org.jboss.portal.core.model.portal.DefaultPortalCommandFactory.doMapping(DefaultPortalCommandFactory.java:72)
  | org.jboss.portal.core.controller.Controller.handle(Controller.java:252)
  | 
org.jboss.portal.server.RequestControllerDispatcher.invoke(RequestControllerDispatcher.java:51)
  | 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:104)
  | 
org.jboss.portal.core.cms.aspect.IdentityBindingInterceptor.invoke(IdentityBindingInterceptor.java:47)
  | 
org.jboss.portal.server.ServerIntercept

[jboss-user] [JBoss Web Services Users] - Re: java.lang.LinkageError: loader constraint violation:(In

2009-11-26 Thread ddefrancesco
Hi again,

just one thing...
at the link http://www.jboss.org/jbossws/downloads/  are downloadable the 
jbossws distributions...which file am I to download??

Which is the readme file??

Cheers 

--
Daniele

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267673#4267673

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267673
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Web Services Users] - Re: java.lang.LinkageError: loader constraint violation:(In

2009-11-26 Thread ddefrancesco
Hi all,

I'm facing the very same issue, I can run test successfully but when I embed 
the ws call in my jsf webapp the dreaded LinkageError show itself...
I'm aware that should be a library problem...I actually have tried many lib 
configs...but no luck so far...

any further pointers??

Cheers

--
Daniele

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267671#4267671

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267671
___
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-26 Thread alesj
Go to ClassLoaderSystem(MBean) and invoke its getClassLoaderForClass for 
RARDeployment class.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267661#4267661

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267661
___
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-26 Thread ad-rocha
Hi ales,

>From JMX I could see this:

Regarding to RARDeployer service:
Domain jboss.deployment 
type Component 
id "RARDeployer" 
Java Class org.jboss.deployers.structure.spi.helpers.ComponentDeploymentContext 
Description Management Bean. 

Regarding to connector:
Domain jboss.deployment 
type Deployment 
id 
"vfszip:/C:/Java/jboss-5.1.0.GA/server/default/deploy/rysys-cobol-connector-1.1.5.rar/"
 
Java Class 
org.jboss.deployers.vfs.plugins.structure.AbstractVFSDeploymentContext 
Description Management Bean. 

If you need more information, please let me know where (in jmx console) I can 
find it.

Andre




View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267659#4267659

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267659
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0 Users] - Re: Client JNDI lookup (vs. JBoss), ClassNotFoundException

2009-11-26 Thread kesson
It seems to be working...  A LOT OF THANKS!

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267656#4267656

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267656
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginner's Corner] - Re: Configuration Problem

2009-11-26 Thread Wolfgang Knauf
Hi,

"security-domain" must be the last element in the "container-configuration" 
tag. The error message says it all ;-).

I would advice you to use a validating editor to create xml files (e.g. Eclipse 
+ WebToolsPlatform plugin), this avoids those errors. 

Best regards

Wolfgang

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267655#4267655

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267655
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0 Users] - Re: Client JNDI lookup (vs. JBoss), ClassNotFoundException

2009-11-26 Thread Wolfgang Knauf
Hi,

seems your client requires "commons-lang.x.jar". Maybe the JNDI lookup raises 
an exception on this client, and some internal exception if from commons-lang. 

Hope this helps

Wolfgang

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267651#4267651

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267651
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0 Users] - Client JNDI lookup (vs. JBoss), ClassNotFoundException

2009-11-26 Thread kesson
Hello all,
I just hope it is a right thread for my question. I'm running on Windows  XP 
with JBoss 4.2.2.GA installed on it (but actually the same problem is also on 
Linux installation of JBoss). I've got a small client trying to do get an 
InitialContext() and talk to the local JBoss server running on same machine. 
I've got such an exception as a result:

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/la
ng/exception/NestableException
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
4)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at $Proxy0.(Unknown Source)
at sun.reflect.GeneratedSerializationConstructorAccessor16.newInstance(U
nknown Source)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.io.ObjectStreamClass.newInstance(ObjectStreamClass.java:924)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
737)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at java.rmi.MarshalledObject.get(MarshalledObject.java:142)
at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:7
2)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:710)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at JbossMainApp.appclient.Main.getResourceManager(Main.java:134)
at JbossMainApp.appclient.Main.main(Main.java:56)


I am running the app from batch file, and the command line is like this:

  | set clib_dir=D:\dev_folder\client_lib
  | set jboss_client_path=D:\dev_folder\jboss-4.2.2.GA\client
  | java -classpath 
%clib_dir%\velo.jar;%jboss_client_path%\jbossall-client.jar;%jboss_client_path%\log4j.jar;%jboss_client_path%\jsf-api.jar;%jboss_client_path%\ejb3-persistence.jar;%clib_dir%\password1_4.jar;%clib_dir%\commons-cli-1.0.jar;%clib_dir%\groovy-all-1.1-BETA-1.jar;%clib_dir%\commons-configuration-1.3.jar;%jboss_client_path%\jnp-client.jar
  app.main app_parameter

The remarkable fact is that I have the same application call in another 
evironment (production env., installed on Linux server), with the same command 
line and pretty same configuration of JBoss - there I have it working well. 

I'll appreciate every help/hint.

TIA.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267650#4267650

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267650
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging Users] - Re: jbm 1.4.6.GA download missing

2009-11-26 Thread ekobir
Hi

Can you let me know where I can find dependencies to build 1.4.6, please?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267642#4267642

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267642
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - jbpm4 task can be by many actor in the same task component?

2009-11-26 Thread optixpro
i want to know how to manage task in the same task component for many user 

ex.

START-->Task Order-->END

Task order assignment is sale man

sale man have 4 employee they can using the same task but deferent web console


thankyou ^^

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267641#4267641

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267641
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache Users] - Re: READ_COMMITTED is violated when cache mode is INVALIDATI

2009-11-26 Thread veklov
There is similar issue with REPL_SYNC. In this case it can be fixed by 
commenting out begin/end calls in thread2. Is that an issue with 
DummyTransactionManagerLookup or with cache itself?


  | import java.util.ArrayList;
  | import java.util.Collections;
  | import java.util.List;
  | import java.util.concurrent.BrokenBarrierException;
  | import java.util.concurrent.CyclicBarrier;
  | import java.util.concurrent.TimeUnit;
  | import java.util.concurrent.TimeoutException;
  | import javax.transaction.TransactionManager;
  | 
  | import junit.framework.TestCase;
  | import org.jboss.cache.Cache;
  | import org.jboss.cache.CacheFactory;
  | import org.jboss.cache.CacheSPI;
  | import org.jboss.cache.DefaultCacheFactory;
  | import org.jboss.cache.config.Configuration;
  | import org.jboss.cache.lock.IsolationLevel;
  | 
  | public class TestReplSyncReadCommitted2 extends TestCase {
  | 
  | private static final String NODE_FQN = "/node";
  | private static final String KEY = "key";
  | private static final String VALUE1 = "value1";
  | private static final String VALUE2 = "value2";
  | 
  | private static Cache createCache() {
  | final CacheFactory cf = new DefaultCacheFactory();
  | final Configuration configuration = new Configuration();
  | configuration.setCacheMode(Configuration.CacheMode.REPL_SYNC);
  | 
configuration.setTransactionManagerLookupClass("org.jboss.cache.transaction.DummyTransactionManagerLookup");
  | configuration.setIsolationLevel(IsolationLevel.READ_COMMITTED);
  | configuration.setLockAcquisitionTimeout(1L);
  | return cf.createCache(configuration, true);
  | }
  | 
  | public void testRemoveNodeTwoCaches() throws InterruptedException {
  | final Cache cache1 = createCache();
  | final Cache cache2 = createCache();
  | assertEquals("Members count", 2, cache1.getMembers().size());
  | assertEquals("Members count", 2, cache2.getMembers().size());
  | 
  | final CyclicBarrier barrier = new CyclicBarrier(2);
  | final List exceptions = Collections.synchronizedList(new 
ArrayList());
  | 
  | final Thread thread1 = new Thread() {
  | public void run() {
  | try {
  | await(barrier);
  | await(barrier);
  | getTransactionManager(cache1).begin();
  | assertEquals("Must be replicated", VALUE1, 
cache1.get(NODE_FQN, KEY));
  | await(barrier);
  | await(barrier);
  | assertNull("Must be removed", cache1.get(NODE_FQN, 
KEY));
  | getTransactionManager(cache1).commit();
  | } catch (Throwable e) {
  | exceptions.add(e);
  | }
  | }
  | };
  | final Thread thread2 = new Thread() {
  | public void run() {
  | try {
  | await(barrier);
  | getTransactionManager(cache2).begin();
  | cache2.put(NODE_FQN, KEY, VALUE1);
  | getTransactionManager(cache2).commit();
  | await(barrier);
  | await(barrier);
  | getTransactionManager(cache2).begin();
  | cache2.removeNode(NODE_FQN);
  | getTransactionManager(cache2).commit();
  | await(barrier);
  | } catch (Throwable e) {
  | exceptions.add(e);
  | }
  | }
  | };
  | 
  | thread1.start();
  | thread2.start();
  | thread1.join();
  | thread2.join();
  | 
  | cache1.stop();
  | cache2.stop();
  | 
  | if (!exceptions.isEmpty()) {
  | fail(exceptions.toString());
  | }
  | }
  | 
  | public void testPutTwoCaches() throws InterruptedException {
  | final Cache cache1 = createCache();
  | final Cache cache2 = createCache();
  | assertEquals("Members count", 2, cache1.getMembers().size());
  | assertEquals("Members count", 2, cache2.getMembers().size());
  | 
  | final CyclicBarrier barrier = new CyclicBarrier(2);
  | final List exceptions = Collections.synchronizedList(new 
ArrayList());
  | 
  | final Thread thread1 = new Thread() {
  | public void run() {
  | try {
  | await(barrier);
  | await(barrier);
  | getTransactionManager(cache1).begin();
  | assertEquals("Must be replicated", VALUE1, 
cache1.get(NODE_FQN, KEY));
  | await(barrier);
  | await(barrier);
  | assertEquals("Must be replicated", VALUE2, 
cache1.get(NODE_FQN, KEY));
  |   

[jboss-user] [jBPM Users] - How to reference Superprocess from Subprocess (jBPM 4.2) ?

2009-11-26 Thread jjp
I try to access the Superprocess of a Subprocess. I tried Execution.getParent() 
but it always returned null. What is the sense of the getParent function ? The 
API manual says "the parent execution in the execution structure", but the link 
"execution structure" maps to the package documentation.

Is the execution structure the Superprocess/Subprocess Structure ?

If not, how can I get the Superprocess of a Subprocess ?

Thanks

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267631#4267631

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267631
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: IdentityService

2009-11-26 Thread TejJBPM
@kukeltje - I will try to post a small testcase soon...

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267628#4267628

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267628
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: IdentityService

2009-11-26 Thread TejJBPM
has anybody used deletemembership at all? I tried passing the dbid or the 
groupname..neither seem to delete it..both gives the same error...

I have to stick with plain JDBC?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267625#4267625

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267625
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: How to signal subprocess?

2009-11-26 Thread OlivierL
Waaouu It works perfectly!! Thanks

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267623#4267623

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267623
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: List task comments with Activity name

2009-11-26 Thread sebastian.s
Here are the related issues. Please comment and vote.

This is the issue aiming to extend the API:
https://jira.jboss.org/jira/browse/JBPM-2398

This issue gives an overview about history-related issues:
https://jira.jboss.org/jira/browse/JBPM-2568

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267622#4267622

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267622
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: List task comments with Activity name

2009-11-26 Thread sebastian.s
Seems the issue you mentioned got postponed, Ronald. I don't understand why. In 
my eyes this issue should have priority over lots of others which were kept for 
the 4.3 release.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267621#4267621

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267621
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Need Suggestion :: MySql and JBpm

2009-11-26 Thread sebastian.s
You can use unit tests with all supported databases. You just have to put an 
appropiate configuration in the classpath to tell jBPM to use your 
MySQL-database when running your unit tests.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267620#4267620

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267620
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache Users] - READ_COMMITTED is violated when cache mode is INVALIDATION_S

2009-11-26 Thread veklov
Hello.

Please see below test case. Currently working assertions are commented out. Is 
that a bug? Cache version is 3.2.1.GA


  | import java.util.ArrayList;
  | import java.util.Collections;
  | import java.util.List;
  | import java.util.concurrent.CyclicBarrier;
  | import java.util.concurrent.TimeUnit;
  | import javax.transaction.TransactionManager;
  | 
  | import junit.framework.TestCase;
  | import org.jboss.cache.Cache;
  | import org.jboss.cache.CacheFactory;
  | import org.jboss.cache.CacheSPI;
  | import org.jboss.cache.DefaultCacheFactory;
  | import org.jboss.cache.config.Configuration;
  | import org.jboss.cache.lock.IsolationLevel;
  | 
  | public class TestInvalidationSyncReadCommited extends TestCase {
  | 
  | private static final String NODE_FQN = "/node";
  | private static final String KEY = "key";
  | private static final String VALUE1 = "value1";
  | private static final String VALUE2 = "value2";
  | 
  | private static Cache createCache() {
  | final CacheFactory cf = new DefaultCacheFactory();
  | final Configuration configuration = new Configuration();
  | 
configuration.setCacheMode(Configuration.CacheMode.INVALIDATION_SYNC);
  | 
configuration.setTransactionManagerLookupClass("org.jboss.cache.transaction.DummyTransactionManagerLookup");
  | configuration.setIsolationLevel(IsolationLevel.READ_COMMITTED);
  | configuration.setLockAcquisitionTimeout(1L);
  | return cf.createCache(configuration, true);
  | }
  | 
  | public void testPut() throws Exception {
  | final Cache cache1 = createCache();
  | final Cache cache2 = createCache();
  | assertEquals("Members count", 2, cache1.getMembers().size());
  | assertEquals("Members count", 2, cache2.getMembers().size());
  | 
  | final CyclicBarrier barrier = new CyclicBarrier(2);
  | final List exceptions = Collections.synchronizedList(new 
ArrayList());
  | 
  | cache1.put(NODE_FQN, KEY, VALUE1);
  | 
  | final Thread thread1 = new Thread() {
  | public void run() {
  | try {
  | getTransactionManager(cache1).begin();
  | assertEquals("Must be in cache", VALUE1, 
cache1.get(NODE_FQN, KEY));
  | await(barrier);
  | await(barrier);
  | //assertEquals("For some reason it is in cache", 
VALUE1, cache1.get(NODE_FQN, KEY));
  | assertNull("Must be invalidated before commit", 
cache1.get(NODE_FQN, KEY));
  | getTransactionManager(cache1).commit();
  | assertNull("Must be invalidated", cache1.get(NODE_FQN, 
KEY));
  | } catch (Throwable e) {
  | exceptions.add(e);
  | }
  | }
  | };
  | final Thread thread2 = new Thread() {
  | public void run() {
  | try {
  | await(barrier);
  | getTransactionManager(cache2).begin();
  | cache2.put(NODE_FQN, KEY, VALUE2);
  | getTransactionManager(cache2).commit();
  | await(barrier);
  | } catch (Throwable e) {
  | exceptions.add(e);
  | }
  | }
  | };
  | 
  | thread1.start();
  | thread2.start();
  | thread1.join();
  | thread2.join();
  | 
  | cache1.stop();
  | cache2.stop();
  | 
  | if (!exceptions.isEmpty()) {
  | fail(exceptions.toString());
  | }
  | }
  | 
  | public void testRemoveNode() throws Exception {
  | final Cache cache1 = createCache();
  | final Cache cache2 = createCache();
  | assertEquals("Members count", 2, cache1.getMembers().size());
  | assertEquals("Members count", 2, cache2.getMembers().size());
  | 
  | final CyclicBarrier barrier = new CyclicBarrier(2);
  | final List exceptions = Collections.synchronizedList(new 
ArrayList());
  | 
  | cache1.put(NODE_FQN, KEY, VALUE1);
  | 
  | final Thread thread1 = new Thread() {
  | public void run() {
  | try {
  | getTransactionManager(cache1).begin();
  | assertEquals("Must be in cache", VALUE1, 
cache1.get(NODE_FQN, KEY));
  | await(barrier);
  | await(barrier);
  | //assertEquals("For some reason it is in cache", 
VALUE1, cache1.get(NODE_FQN, KEY));
  | assertNull("Must be invalidated before commit", 
cache1.get(NODE_FQN, KEY));
  | getTransactionManager(cache1).commit();
  | assertNull("Must be invalidated", cache1.get(NODE_FQN, 
KEY));
  | } catch (Throwable e) {
  | 

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

2009-11-26 Thread belcar
I have deployed the same code as a stand-alone Java Application launched from 
the CLI on that same linux server, and it keeps serving messages, even after a 
nights sleep.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267618#4267618

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267618
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JNDI and Naming] - JNDI multi url over HTTP

2009-11-26 Thread ark99
Hi,

I try to use a coma separated list of url for initializing my InitialContext. 

When I use a single url with jnp, it works fine:
String url = "jnp://localhost:1099";

When I use a list of url with jnp, it works fine:
String url = "jnp://thisIsAFakeServer:1099,jnp://localhost:1099";

When I use a single url over http (when HTTPInvoker is activated), it works 
fine (This is my actual configuration in production):
String url = "http://localhost:8080/invoker/JNDIFactory";;

BUT When I use a list of url over http, I got a MalformedUrlException
String url = 
"http://thisIsAFakeServer:8080/invoker/JNDIFactory,http://localhost:8080/invoker/JNDIFactory";;

Is this coming from the HTTPInvoker configuration? The problem is that I'd like 
to use a list of URL, but the use of HTTP is necessary too... But if it works 
with jnp, it must be possible with http too?

Any idea?


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267617#4267617

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267617
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user