[jboss-user] [JBossWS] - Re: DOM API on SOAPElementImpl causes NotImplementedExceptio
Hi, I am facing the same issue. Will you please help me to solve this issue. Note: I have posted this issue in the following link. http://jboss.org//index.html?module=bbop=viewtopicp=4250290 Thanks Anoop View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250295#4250295 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250295 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: JBoss Richfaces Tools installation issue with Eclipse 3.
JBoss Tools 3.0.x requires Eclipse 3.4.2 (Ganymede). https://www.jboss.org/tools/download/stable/3_0_GA.html http://download.jboss.org/jbosstools/updates/stable/ JBoss Tools 3.1.0 requires Eclipse 3.5.x (Galileo). https://www.jboss.org/tools/download/dev.html http://download.jboss.org/jbosstools/updates/development/ View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250296#4250296 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250296 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Confusing regarding unit test
Good morning! I am a bit confused regarding a process and a unit test of mine. This is my process: | ?xml version=1.0 encoding=UTF-8? | | process key=task_types name=task_types xmlns=http://jbpm.org/4.0/jpdl; |start g=95,26,48,48 name=start1 | transition g=-26,-29 name=to state1 to=state1/ |/start |state g=209,39,92,52 name=state1 | transition g=-51,-21 name=to java1 to=java1/ |/state |java class=JavaClass g=212,124,92,52 method=printMessage name=java1 | transition g=-50,-21 name=to task1 to=task1/ |/java |task g=215,210,92,52 name=task1 | transition g=-68,-12 name=to custom1 to=custom1/ |/task |custom class=CustomClass g=214,290,92,52 name=custom1 | transition g=-48,-21 name=to end1 to=end1/ |/custom |end g=395,303,48,48 name=end1/ | /process | This is the part of my unit test: | public void testWaiteStateAndJavaTask() { | ProcessInstance processInstance = executionService.startProcessInstanceByKey(task_types); | Execution execution = processInstance.findActiveExecutionIn(state1); | assertNotNull(execution); | String executionId = execution.getId(); | executionService.signalExecutionById(executionId); | SetString activities = processInstance.findActiveActivityNames(); | System.out.println(activities.toString()); | | } | Execution log: | 08:38:57,350 FIN | [ProcessDefinitionImpl] creating new execution for process 'task_types' | 08:38:57,413 FIN | [DefaultIdGenerator] generated execution id task_types.1 | 08:38:57,413 FIN | [ExecuteActivity] executing activity(start1) | 08:38:57,413 FIN | [ExecuteActivity] executing activity(state1) | 08:38:57,491 FIN | [Signal] signalling activity(state1), signalName=null | 08:38:57,507 FIN | [ExecuteActivity] executing activity(java1) | Methodenaufruf in JavaClass erfolgt. | 08:38:57,507 FIN | [ExecuteActivity] executing activity(task1) | | [state1] | Calling activities.toString() returns [state1]. I expected [task1] rather than state1 when calling findActiveActivityNames(). Can somebody shed some light on this? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250297#4250297 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250297 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Confusing regarding unit test
It's annoying that one cannot edit and correct posts in the forums. The title should be Confusion regarding unit test. :) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250298#4250298 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250298 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Mix of synchronous and asynchronous distribution in cluster
Hello, I am new to JBoss Cache and currently evaluating. I can see the config or for either blocking or not on cache operations. I am wondering if it is possible to mix that in a clustered environment with 3 or more servers (caches) running to have the state distributed sync'd to some nodes and asyn'd to others? Any replies are very much appreciated Regards Jonas View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250299#4250299 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250299 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Portal + Seam itext
hi, I had a project that using Portal + Seam + Richfaces. It is working, however the customer would like a feature to see some dynamic report in pdf format and then to save it. I was thinking of using seam itext to make this pdf report, which is generated after customers enter some inputs. However, i don't know how to integrate seam itext into portal. I think it may not be possible to display a pdf document in a portlet. I am using: Portal 2.7.2 Seam 2.1.2GA Richfaces 3.3.1GA Any1 has any success in using or workaround seam itext in a portal envirnoment? Many thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250300#4250300 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250300 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Error message Network is unreachable
I am running a clustered server with 1 cluster. I am running on a linux box. The -Djava.net.preferIPv4Stact=true appaers to not help :( View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250301#4250301 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250301 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Error message Network is unreachable
Can I find out where the exception is cooming from? 11:35:20,165 ERROR [UDP] exception=java.io.IOException: Network is unreachable, msg=[dst: 228.1.2.3:45566, src: se-ore-webp-test:32787 (additional data: 14 bytes) (2 headers), size = 0 bytes], mcast_addr=228.1.2.3:45566 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250304#4250304 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250304 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - variable resolver
Hello, In jbpm3 there was the possibility to plugin your own variable resolver. Will this be possible in jbpm 4 as well? Wkr, Sofie View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250305#4250305 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250305 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Passing objects through the workflow
As I am new to jBPM I was wondering from my workflow if there was anything you could suggest that would improve it? I have no wait states and thus all the java nodes will probably end up being custom nodes passing an object from one to the other till the end. Is this ok? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250306#4250306 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250306 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Error message Network is unreachable
have a look here: http://www.jboss.org/community/wiki/JGroups look in the troubleshooting section. It's likely that you need to adjust multicast configuration. hope it helps View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250312#4250312 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250312 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - EJB3 : Can not connect http client invoker with eclipse la
Hello, I have a problem when I try to call an EJB deployed on JBoss server (4.2.3.GA) from a Main class. If I call my EJB from a webapp deployed on a JBoss server it works perfectly, but if I try to call the same ejb from a main launched by eclipse the look-up work fine (a sysout on the interface give this result : jboss.j2ee:ear=myEjb.ear,jar=ejb-private.jar,name=myEjbImpl,service=EJB3 ). Nevertheless when I launch a method from the ejb I receive this error : org.jboss.remoting.CannotConnectException: Can not connect http client invoker. Connection refused: connect. I configured eclipse to use the jboss library in JBOSS_HOME/client when I execute my application. Thank for any help you can provide. Jean PS : the full stacktrace org.jboss.remoting.CannotConnectException: Can not connect http client invoker. Connection refused: connect. | at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:348) | at org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:137) | at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122) | at org.jboss.remoting.Client.invoke(Client.java:1634) | at org.jboss.remoting.Client.invoke(Client.java:548) | at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:62) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:67) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:53) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:74) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:107) | at $Proxy0.askForPayAuth(Unknown Source) | at xx.TesteurMain.main(TesteurMain.java:29) | Caused by: java.net.ConnectException: Connection refused: connect | at java.net.PlainSocketImpl.socketConnect(Native Method) | at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) | at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) | at java.net.Socket.connect(Socket.java:519) | at sun.net.NetworkClient.doConnect(NetworkClient.java:152) | at sun.net.www.http.HttpClient.openServer(HttpClient.java:382) | at sun.net.www.http.HttpClient.openServer(HttpClient.java:509) | at sun.net.www.http.HttpClient.init(HttpClient.java:231) | at sun.net.www.http.HttpClient.New(HttpClient.java:304) | at sun.net.www.http.HttpClient.New(HttpClient.java:316) | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:817) | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:769) | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:694) | at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:861) | at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:277) | at org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:137) | at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122) | at org.jboss.remoting.Client.invoke(Client.java:1634) | at org.jboss.remoting.Client.invoke(Client.java:548) | at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:62) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:67) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:53) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:74) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:107) | at $Proxy0.askForPayAuth(Unknown Source) | at x.factory.TesteurMain.main(TesteurMain.java:29) | at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:74)
[jboss-user] [Clustering/JBoss] - Re: Can't get JBoss to use custom loadbalancer
With JBoss 5 the load balance policy class are into: jboss-5.0.0.GA\common\lib\jbossha.jar jboss-5.0.0.GA\client\jboss-ha-legacy-client.jar With JBoss 4: jboss-4.2.2.GA\client\jbossha-client.jar: jboss-4.2.2.GA\server\all\lib\jbossha.jar: try adding your custom load balancing policy in both client and server .jars. Let me know if it worked. bye francesco View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250318#4250318 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250318 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - JBM2 Beta4 with JBAS5.1 - setListener( null )
Using the JMS API. If I attempt to clear the currently registered listener on a QueueReceiver then I get an IllegalStateException when I try to receive on it: javax.jms.IllegalStateException: Cannot call receive(...) - a MessageHandler is set | at org.jboss.messaging.core.client.impl.ClientConsumerImpl.receive(ClientConsumerImpl.java:161) | at org.jboss.messaging.jms.client.JBossMessageConsumer.getMessage(JBossMessageConsumer.java:213) | at org.jboss.messaging.jms.client.JBossMessageConsumer.receiveNoWait(JBossMessageConsumer.java:146) I have a simple test case which looks this: queueReceiver.setMessageListener( listener ); | | queueConnection.start( ); | thread.wait( 3 ); | | queueReceiver.setMessageListener( null ); | queueReceiver.receiveNoWait( ); | How can I clear the message listener attribute from a QueueReceiver once it's been set? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250320#4250320 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250320 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Error message Network is unreachable
Thank you, with the information there I managed to solve it! It was related to the IP stack just as you guessed! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250321#4250321 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250321 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBM2 Beta4 with JBAS5.1 - setListener( null )
simon_temple wrote : Using the JMS API. If I attempt to clear the currently registered listener on a QueueReceiver then I get an IllegalStateException when I try to receive on it: | | javax.jms.IllegalStateException: Cannot call receive(...) - a MessageHandler is set | | at org.jboss.messaging.core.client.impl.ClientConsumerImpl.receive(ClientConsumerImpl.java:161) | | at org.jboss.messaging.jms.client.JBossMessageConsumer.getMessage(JBossMessageConsumer.java:213) | | at org.jboss.messaging.jms.client.JBossMessageConsumer.receiveNoWait(JBossMessageConsumer.java:146) | | I have a simple test case which looks this: | | queueReceiver.setMessageListener( listener ); | | | | queueConnection.start( ); | | thread.wait( 3 ); | | | | queueReceiver.setMessageListener( null ); | | queueReceiver.receiveNoWait( ); | | | | How can I clear the message listener attribute from a QueueReceiver once it's been set? Thre is a bug in the JBossMessageConsumer which prevents to unset the message listener. We'll fix it. Please not however that even with this bug fixed, your test case may not work. From MessageConsumer.setMessageListener() javadoc: anonymous wrote : | The effect of calling MessageConsumer.setMessageListener while messages are being consumed by an existing listener or the consumer is being used to consume messages synchronously is undefined. | You should stop your queueConnection to prevent message consumption before unsetting the message listener to have a correct behavior. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250322#4250322 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250322 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBM2 Beta4 with JBAS5.1 - setListener( null )
Thank you. I will change my test case to stop the the queueConnection and restart it once the listener has been removed (nulled). View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250323#4250323 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250323 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBM2 Beta4 with JBAS5.1 - setListener( null )
Fixed in trunk https://jira.jboss.org/jira/browse/JBMESSAGING-1716 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250324#4250324 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250324 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - how to change the login action in the jboss portal
Hi All, I want to change the login page query . so that insted of getting the data from the jboss portal database i want to check in the Microsoft CRM . and then i should all the user to login . as the table structure in the jboss portal database and CRM is completely differnt . Where i should change the code so that it checkes the CRM insted of portal database . i want to retine same login query for the admin . only for user login it should look into the CRM insted of portal db . can any one please help me on where to change the code . View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250331#4250331 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250331 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - adding the upload file option in Identity portal
Hi All , I am using jboss AS 4.2+portal 2.7 . i am want to add the upload file option in the registration page . i am using the identity portal for registration page . i have added the bellow code . but when submit the form , form is not getting submited . if i use in the form tag enctype=multipart/form-data . in the portlet . xml i am using javax.portlet.faces.GenericFacesPortlet class . can any one please help me on this . thanks in advance . This is the code i have added . I have configured the extension filter in the web.xml !-- Extensions Filter -- filter-nameextensionsFilter/filter-name filter-classorg.apache.myfaces.component.html.util.ExtensionsFilter/filter-class init-param param-nameuploadMaxFileSize/param-name param-value100m/param-value Set the size limit for uploaded files. Format: 10 - 10 bytes 10k - 10 KB 10m - 10 MB 1g - 1 GB /init-param init-param param-nameuploadThresholdSize/param-name param-value100k/param-value Set the threshold size - files below this limit are stored in memory, files above this limit are stored on disk. Format: 10 - 10 bytes 10k - 10 KB 10m - 10 MB 1g - 1 GB /init-param !-- init-param param-nameuploadRepositoryPath/param-name param-value/temp/param-value Set the path where the intermediary files will be stored. /init-param -- filter-mapping filter-nameextensionsFilter/filter-name url-pattern*.xhtml/url-pattern /filter-mapping form is properly encoded and add the t:inputFileUpload h:form enctype=multipart/form-data id=myForm name=myForm t:inputFileUpload id=myUploadedFile storage=file accept=image/* styleClass=myStyle value=#{myBackingBean.myUploadedFile}/ /h:form UploadedFile instance variable and setter/getter to backing bean import org.apache.myfaces.custom.fileupload.UploadedFile; public class MyBackingBean { private UploadedFile myUploadedFile; public UploadedFile getMyUploadedFile() { return myUploadedFile; } public void setMyUploadedFile(UploadedFile myUploadedFile) { this.myUploadedFile = myUploadedFile; } } View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250332#4250332 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250332 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Mix of synchronous and asynchronous distribution in clus
Using this option, you can force some invocations to be async even though the general cache is set up to be sync. But you cannot make the calls sync to some members and async to others. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250336#4250336 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250336 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Confusing regarding unit test
I tried the your code, got the same result and got confused a bit but then I tried : | ProcessInstance processInstance = executionService.startProcessInstanceByKey(task_types/*, variables*/); | Execution execution = processInstance.findActiveExecutionIn(state1); | assertNotNull(execution); | String executionId = execution.getId(); | executionService.signalExecutionById(executionId); | SetString activities = processInstance.findActiveActivityNames(); | System.out.println(activities.toString()); | | //reload | processInstance = executionService.findProcessInstanceById(executionId); | activities = processInstance.findActiveActivityNames(); | System.out.println(activities.toString()); | and here the log : | 12:03:26,545 FIN | [ProcessDefinitionImpl] creating new execution for process 'task_types' | 12:03:26,561 FIN | [DefaultIdGenerator] generated execution id task_types.226 | 12:03:26,561 FIN | [ExecuteActivity] executing activity(start1) | 12:03:26,561 FIN | [ExecuteActivity] executing activity(state1) | 12:03:26,576 FIN | [Signal] signalling activity(state1), signalName=null | 12:03:26,592 FIN | [ExecuteActivity] executing activity(java1) | JavaClass.printMessage() - Hallo !! | 12:03:26,592 FIN | [ExecuteActivity] executing activity(task1) | [state1] | [task1] | it looks like the ProcessInstance object has to be reloaded by our means View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250338#4250338 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250338 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Confusing regarding unit test
PS : not sure this is the intended behaviour, though ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250339#4250339 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250339 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBM2 Beta4 with JBAS5.1 - setListener( null )
I have retested against BETA5 and can confirm that this issue has been fixed. :-) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250340#4250340 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250340 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - JBoss Portal Crash after deploying portlet
I am using jboss-portal-2.7.2 and have created an new Portal (i am very new to jboss!) Everything worked fine until i deployed the email-portlet. After i got it working in the portal i confiured it for an mail-server. the next thing that happened was that the portlet didnt work anymore. after i restarted the portal the portal itself didnt work anymore. after login it shows this error message exception | | javax.servlet.ServletException: java.lang.NullPointerException | 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) | as solution i tried the following: - undeploy the email-portlet - deleting folders under jboss-portal-2.7.2\server\default except conf, deploy and lib but the error message still appears. anyone an idea how i can solve such a problem? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250341#4250341 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250341 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Can't get JBoss to use custom loadbalancer
kedarpjoshi wrote : Hi, | | did u get solution to this? Even i am facing the same problem. I have clustered stateless beans [EJB 3.0] in my application. In my clustered deployment, all calls to the beans originated within the server VM are handled by the beans from the same server node only although there are beans avaialable freely in other node and the load balance policy is round robin. Please let me know how u resolved ur problem. | | thanks, | Kedar My problem was (as usual) a simple silly error from my side. Just forgot to put the classes in the client jars, only in the server application... /Jonas View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250343#4250343 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250343 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - jboss profiler 1 (CR4) - not getting any results
I have set up jboss-profiler on JbossAS 4.2.2 (compiled my own libjbossAgent.so and libjbossInspector.so using the provided compile.sh scripts) on Centos. JVM startup params have been updated. -XrunjbossInspector:/tmp/profiler/runtime,include=com.mycompany,ignore=* -agentlib:jbossAgent Start up jboss, go to the mbean via jmx-console and activate profiling. Log files appear in /tmp/profiler/runtime (serverspy files). Access my application - which is extremely slow - a few minutes to load up sometimes. The log files grow. I then go to the mbean and stop the profiler collection. Go to /jboss-profiler web application, click on runtime profiler link, select the pid and leave all options selected, click submit. See all log files being processed, but on the next screen, i dont get any results :( seems to be doing everything except getting the results, am I doing anything wrong? How can i verify what is / isnt working? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250344#4250344 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250344 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Confusing regarding unit test
I expected the process to have reached the task custom1. So this task should be in the list of active activities. state1 should not be active anymore since I sent the signal which makes task1 take the default transition. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250347#4250347 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250347 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Endpoint registration
Have a look at the eardeployment sample in the jbossws testsuite, it does what you're trying to do. The forum is still active, but you might not get a lot of replies in this period of the year ;-) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250354#4250354 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250354 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Question about Navigation in JBoss Portal
the default tab navigation only shows me subpages up to the first level. when i create a sub-subpage it isnt displayed in the tabs. i would like it to work like the tabs on this project-side, which is made with magnolia. i already tried to test the Custom Navigation Portlet from Portlet Swap. unfortunately i didn't get it to work. would be grateful for any input. ___ using jboss-portal-2.7.2 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250356#4250356 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250356 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Default encryption scheme for SynchronizingLDAPExtLoginModul
Hi all, We have a scheme where if AD is down, the user authenticates via the locally stored credentials in the database, which have been stored via the SynchronizingLDAPExtLoginModule. However. I'm having trouble matching the password scheme of the database login module (DBIdentityLoginModule) to that of the SynchronizingLDAPExtLoginModule. What scheme does SynchronizingLDAPExtLoginModule use and what should I configure the database login module to use so that passwords can be validated locally? Regards, Dean View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250357#4250357 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250357 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Linking JBPM processes with external entities
Hello, We have a legacy system which uses Hibernate and JBPM for tracking entity state in workflow. E.g. we have Offer business entity which is processed through an approval cycle. In our entity we have a process id field/property which points to the process instance it is bound to. Every time we have some workflow transitions with execute them on this process instance. Currently we have e problem with cross querying between JBPM and our system's entities. E.g. we need to search for Offers by their attributes and by workflow states. Since JBPM API is designed so that it hides direct Hibernate object mappings it is unclear how to do such type of queries. Could you please advice what to do in such situations? Thanks in advance View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250360#4250360 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250360 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: JBoss crashed under peak load
Hello, it would be necessary to know more details about your applications, anyway if jBoss is overwhelmed by the amount of request you might try to increase the thread pool in conf/jboss-service.xml for example: mbean code=org.jboss.util.threadpool.BasicThreadPool | name=jboss.system:service=ThreadPool | attribute name=NameJBoss System Threads/attribute | attribute name=ThreadGroupNameSystem Threads/attribute | attribute name=KeepAliveTime6/attribute | attribute name=MaximumPoolSize500/attribute | attribute name=MaximumQueueSize2000/attribute | attribute name=BlockingModerun/attribute | /mbean hope it helps Francesco View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250361#4250361 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250361 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - JBoss4.2.2GA Cluster - SocketException: socket closed error
We are having a cluster configured JBoss server as follows. Three nodes are available in the Cluster and the DBServer as well as Load balancer are available on a separate server. For Load balancer we are using Apache 2 with mod_jk. We have used Jboss Messaging instead of JBoss MQ. We have followed the insstructions using this page http://www.jboss.org/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.4.3.GA/html/installation.html We are trying to run a Jmeter script which will search a table and retrieve the data and from the search result a single data will be viewed and then the application will be logged out. The display page of a particular record will contain around 100 fields. Now when we are trying to run the script, we are getting the SocketException: socket closed in the server console. we are running for 50 concurrent users. Please find the attached Server configuration file(which is setup in the present scenario) JMeter Setup: *** Following are the setup that are deployed in the Jmeter. a) 3 Jmeter clients are used for 50 concurrent users(25 users in each client). b) Ramp up time is set as 5 for each client. c) Guassian Random timer is used in between the each requests in the JMeter script. d) Both Xms and Xmx is set to 1024m in all the JMeter clients. Software Setup: *** All the three Cluster nodes are having the same setup. OS: Windows 2003 Server EE Application Server: JBoss 4.2.2 GA (Community Edition) WebServer: Embedded Tomcat Database: Oracle 10g Release2 (Patch10.2.0.4) Java: Sun JDK 1.6 Update 11 Apache: Apache HTTP Server 2.0.63 Tomcat Connector: mod_jk 1.2.28 Hardware Setup: CPU: IntelCore2XeonRProcessã¼E5405ÃÂ1 Memory: 4GB Other Configuration : # WinNT MPM IfModule mpm_winnt.c ThreadsPerChild 600 MaxRequestsPerChild 0 Exception : java.net.SocketException: socket closed at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at java.net.HttpURLConnection.getResponseCode(Unknown Source) at org.apache.jmeter.protocol.http.sampler.HTTPSampler.readResponse(HTTPSampler.java:291) at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:522) at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1037) at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1023) at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:346) at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:243) at java.lang.Thread.run(Unknown Source) Caused by: java.net.SocketException: socket closed at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(Unknown Source) at java.io.BufferedInputStream.fill(Unknown Source) at java.io.BufferedInputStream.read1(Unknown Source) at java.io.BufferedInputStream.read(Unknown Source) at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source) at sun.net.www.http.HttpClient.parseHTTP(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown Source) at java.net.URLConnection.getHeaderFieldInt(Unknown Source) at java.net.URLConnection.getContentLength(Unknown Source) at org.apache.jmeter.protocol.http.sampler.HTTPSampler.readResponse(HTTPSampler.java:261) ... 6 more Please let us know what might be the problem and any solutions offered to improve the perfomance of Apache/mod_jk/tomcat/Jboss will be of great thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250362#4250362 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250362 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Confusing regarding unit test
IMHO, state 1 is not active anymore, but the instance of ProcessInstance you use is obsolete at the end, there is a need to obtain a newer instance what I question is wether the fact that instances of ProcessInstance get obsololete is intended or not View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250364#4250364 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250364 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: HistoryTask worthless... or is it me?
please search the jira. Have been issues reported against this and since it was/is new functionality, it was not fully developed yet. So yes, you are right, but on the other hand not ;-) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250365#4250365 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250365 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with indexes in jbpm.history.hbm.xml
Can you make a unit test that demonstrates the problem? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250368#4250368 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250368 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM 4.0 and
what is: 'does not work'? Please be more specific in providing unittests View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250369#4250369 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250369 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: variable resolver
There is a jira issue about extending the resolver, not sure about makeing it configurable. What are you looking for? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250370#4250370 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250370 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Passing objects through the workflow
If it does the job, scales well, I would change nothing View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250371#4250371 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250371 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Passing objects through the workflow
or is it 'I wouldn't change anything'? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250372#4250372 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250372 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Confusing regarding unit test
What you get back is not a reference to something but the thing that is active at the time you requested it (disconnected). The behaviour of jBPM is as expected. Same is true for tasklists etc. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250373#4250373 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250373 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Linking JBPM processes with external entities
what version? In 3 you can get a hibernate session and do whatever you want. in 4 there are query api's. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250374#4250374 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250374 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Confusing regarding unit test
Okay I changed my unit test to this: | public void testWaiteStateAndJavaTask() { | ProcessInstance processInstance = executionService.startProcessInstanceByKey(task_types); | Execution execution = processInstance.findActiveExecutionIn(state1); | assertNotNull(execution); | String executionId = execution.getId(); | executionService.signalExecutionById(executionId); | processInstance = executionService.findProcessInstanceById(processInstance.getId()); | SetString activities = processInstance.findActiveActivityNames(); | System.out.println(activities.toString()); | } | Now it works as expected. Thanks for your explanation, Ronald. Need to keep this in mind. anonymous wrote : What you get back is not a reference to something but the thing that is active at the time you requested it (disconnected). The behaviour of jBPM is as expected. Same is true for tasklists etc. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250375#4250375 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250375 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: JBoss4.2.2GA Cluster - SocketException: socket closed er
httpd conf -- Timeout 300 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 15 # WinNT MPM IfModule mpm_winnt.c ThreadsPerChild 600 MaxRequestsPerChild 0 mod_jk properties --- JkMount /myappli/*.* loadbalancer JkWatchdogInterval 60 Worker.properties: --- worker.list=loadbalancer,status worker.template.type=ajp13 worker.template.port=8009 worker.template.ping_mode=A worker.template.connection_pool_size=30 worker.template.socket_timeout=10 worker.template.retries=20 worker.node1.reference=worker.template worker.node1.host=192.168.41.71 worker.node2.reference=worker.template worker.node2.host=192.168.41.72 worker.node3.reference=worker.template worker.node3.host=192.168.41.73 worker.loadbalancer.type=lb worker.loadbalancer.balance_workers=node1,node2,node3 worker.loadbalancer.sticky_session=True worker.status.type=status AJP 1.3 Connector: - Connector port=8009 address=${jboss.bind.address} protocol=AJP/1.3 emptySessionPath=true enableLookups=false redirectPort=8443 maxThreads=300 connectionTimeout=6/ View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250377#4250377 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250377 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: DatabaseServerLoginModule failing after success?...confu
Hi, as your question is not related to the original poster's problem, please open a new thread. You might take a look at a tutorial I found doing some google: http://tips4techies.blogspot.com/2008/05/using-database-login-module-in-jboss.html Or buy a book like JBoss in Action, as you seem to be a JBoss beginner ;-) Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250380#4250380 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250380 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: Basic HTTP authentication for WSDL (using JAAS LoginModu
H... Unfortunately, I never tried to secure a web service, I used it only for servlets/JSPs. For those, I would add a jboss-web.xml to my app: ?xml version=1.0 encoding=UTF-8? | !DOCTYPE jboss-web PUBLIC | -//JBoss//DTD Web Application 4.2//EN | http://www.jboss.org/j2ee/dtd/jboss-web_4_2.dtd; | | jboss-web | security-domainjava:/jaas/mydomain/security-domain | context-root...context-root | | /jboss-web | Maybe you could give this one a try? Wolfgang View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250382#4250382 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250382 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Setting up JBoss Tools in Galileo
Hi Guys I was trying to download the JBoss tools using the way given on this page http://www.jboss.org/tools/download/update.html. I followed all the steps given in there. But some dependency problems came up. After just discarding the ones that were troublesome. I finished the not-all update. First thing I was wondering even if I am trying the location as specified on the site. These problems are coming up. Now after this incomplete installation many projects are not running well. This was as expected. how to do it better way. Please help. Thanks in advance. One of the errors is - After that I tried to create a new Drool Project. But the problem was that particular AJDT is not available. So how to get rid of this thing. Or How to do it a way so as to not get those dependency errors. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250383#4250383 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250383 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: GlassfishConfigureListener NoSuchMethodError
I pulled out the jar files from my maven build on the war app, and it still runs with the same error using the jboss jsf jars. I wonder if it is pulling the jboss jsf files first despite what I have set in the jboss-service.xml file. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250384#4250384 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250384 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Authentication Error
Hi, which JBoss version? I assume that you use a custom login module? If yes: please post it, too. In general, you should provide is with much more details about your app. Also, in the Post reply window, you should wrap all config and code snippets in Code-Blocks (see toolbar button), because this increases readability. Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250385#4250385 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250385 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Linking JBPM processes with external entities
- We're planning to use JBPM 4.0 but I see no possibility to do mentioned above queries using query API. I see only ProcessInstanceQuery class providing very basic functionality. Or You meant some other API, are You? - If I do queries through Hibernate session I'll be automatically dependent on some internal JBPM classes like: org.jbpm.pvm.internal.model.ExecutionImpl. Is it legal? Which is official JBPM position on that? - Also developer's guide says: Currently jBPM's persistence is based on hibernate. But in the future we might switch to JPA. That is why we recommend to stick with the API as much as possible as the API will hide you from those changes. (http://docs.jboss.com/jbpm/v4.0/devguide/html_single/) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250389#4250389 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250389 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Default encryption scheme for SynchronizingLDAPExtLoginM
We have a similar setup with AD authentication and DB as a backup. I have the DBIdentityLoginModule configured with the options of: module-option name=hashAlgorithmMD5/module-option | module-option name=hashEncodingHEX/module-option I believe these are the defaults for this module. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250390#4250390 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250390 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Implementing concurrent dynamic tasks in jbpm4
I try to implement Pattern 15 in jbpm4 http://www.workflowpatterns.com/patterns/control/multiple_instance/wcp15.php Multiple Instances without a priori Run-Time Knowledge try 1) I use a custom implementation of ExternalActivityBehaviour, that basically just waits for signals to spawn off dynamic task instances, the code in signal() to do this looks like this: | DbSession dbSession = Environment.getFromCurrent(DbSession.class); | | // create new task | TaskImpl task = (TaskImpl) dbSession.createTask(); | task.setName(taskname); | task.setNew(true); // no idea what this is but looks good | task.setExecution(execution); | task.setProcessInstance(execution.getProcessInstance()); | task.setSignalling(false); | task.setAssignee(assignor); | task.setActivityName(complete); | | // save task | dbSession.save(task); | | // deal with the history table | HistoryEvent.fire(new TaskCreated(task), execution); | this gives me the tasks in the users tasklist and they can be completed, however the problem is the history table, as pointed out in http://www.jboss.org/index.html?module=bbop=viewtopict=160034 there is no way to get the information about the task instance from the taskHistory table, the only useful information would be the activity, but since all these dynamic tasks are created for the same activity this doesn't help much either. try 2) My second approach to implement Pattern 15 is to use dynamic activities like described in: http://www.jboss.org/index.html?module=bbop=viewtopict=159765 (this isn't exactly the pattern but close enough) the code in this thread implements an event listener which means it can only be invoked on a limited set of workflow events (start, end) when taking transition or entering nodes as far as I understand (someone please correct me if I am missing something here). try 3) So again I tried to implement this in a custom ActivityBehaviour, which can receive random signals with executionService.signalExecutionById(..). I basically use the code from the event listener which dynamically creates a new execution first, then a new Activity and wires them with transitions. The code is in the placeViceMentorTask() method at http://www.jboss.org/index.html?module=bbop=viewtopict=159765 The problem with this approach is: what is the state of the new execution? Execution.STATE_ACTIVE_CONCURRENT doesn't work since it requires a Execution.STATE_INACTIVE_CONCURRENT_ROOT for the parent execution which means I can no longer signal it for more executions. the dynamic created activity and its transitions are not in the process definiton and I can't find any database table for the transitions, now when I reboot the process engine they probably will be lost... so I am running out of ideas and wanted to know if someone is tackling the same problem with more success than I had so far, any ideas are very welcome, the first one with a solution gets a beer from me when he/she is in Stuttgart, Germany View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250391#4250391 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250391 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Urgent! Clustered-queue on 2 nodes failed
Hello Glenwood, Can i know what you did to fix the issue? Since we too face similar kind of issue. We have created two queues in cluster and everything works fine JBoss 5.0.0 GA whereas the same code does not work in JBoss 5.1.0 GA where the messages are sent to two queues in round robin (say out of 10 messages, 5 goes to node1 and 5 goes to node 2). When we try to consume, consumer pointing to node1 can consume only 5 from node 1 and nothing from node2. Thanks in advance. Regards, Venkat View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250394#4250394 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250394 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: GlassfishConfigureListener NoSuchMethodError
Looking at the exception again, it appears to be a missing method error, not a missing class. Are you sure you are getting the exact same error message, because if you are one of the Glassfish JAR files is still in your WAR. And check your JSF config files and the web.xml file, and any other config files you have View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250395#4250395 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250395 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - JBPM4 Spring-Hibernate Integration
Hello, I am using JBPM4 in my application that is already using integrated Spring+Hibernate, web based. I have read the following guides about jbpm4 to integrate into spring, but not successful. 1. http://www.inze.be/andries/2009/05/16/demo-on-spring-integration-with-jbpm4/ 2. http://www.nljug.org/pages/events/content/jspring_2009/sessions/00034/ Looking for expert advice and thanks in advance. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250396#4250396 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250396 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: JBoss Portal Crash after deploying portlet
The exception you posted looks like it appeared in your browser. There should be a corresponding exception in the console log, please post that. Portal keeps config info in a database. You might also have to wipe the database to get back to a clean system. In other words, removing the data, temp , log and work dirs is not enough (unless you are using the HSQLDB database, in which case it stores its data in the data directory). View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250397#4250397 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250397 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: how to change the login action in the jboss portal
CRM? Does this help: http://www.jboss.org/community/wiki/ConfigurePortalForMicrosoftActiveDirectory View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250400#4250400 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250400 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Authentication Error
Hello Wolfgang and thanks for your reply! Ok, here is more information thanks for your patience. I am using JBoss 5.1.0GA - JDK6. I am also usuing a custom login config. Below is the configuration: | application-policy name=MYCOMPANY-login-module | authentication | login-module code=org.MYCOMPANY.security.auth.MYCOMPANYLoginModule flag=required | module-option name = modeUSER/module-option | | /login-module | | /authentication | /application-policy | | Part of the Login Module Code: | | public boolean login() throws LoginException | { | Session ses = null; | try | { | valid = false; | int code; | NameCallback n = new NameCallback(User Name - , Guest); | PasswordCallback p = new PasswordCallback(Password - , false); | | callbackHandler.handle(new Callback[]{n, p}); | userName = n.getName().trim(); | password = new String(p.getPassword()).trim(); | code = General.getLoginID(userName, password); //validate login with username code 0 successfully authenticated | if (code 0) //if valid login ID was found for user name and password | { | ses = HibernateFactory.getInstance().getSession(); | Login login = (Login)ses.load(Login.class, Integer.toString(code)); | namePrincipal = new MYCOMPANYPrincipal(login); | valid = true; | } | else if (isValidUserName(userName) Employers.isValidTemporaryPassword(userName, password)) //if user name and password are valid | { | NewEmployeePrincipal nep = new NewEmployeePrincipal(userName); | Login login = new Login(); | login.getAssociations().add(nep); | login.setCurrentAssociation(nep); | login.setName(userName); | namePrincipal = new MYCOMPANYPrincipal(login); | valid = true; | } | if (!valid) | { | logger.info(NOT A VALID login() - Invalid Username/Password combination - MYCOMPANYLoginModule.login()); | | } | return valid; | } | catch(Throwable t) | { | t.printStackTrace(); | logger.error(Exception - MYCOMPANYLoginModule: , t); | SessionLog.exception(this.getClass().getName() + .login() exception: , t); | throw new LoginException(this.getClass().getName() + .login() exception: + t); | } | finally | { | if (ses != null) | { | try | { | ses.close(); | } | catch(Exception e) | { | SessionLog.exception(this.getClass().getName() + .login() exception: , e); | } | } | } | } | | Everything returns as I expect on the login code. I still have more work on my part to integrate another login module that deals with roles for our authentication but what throws me off is that exception message that the security context has not been set. I hope this is the information you need to help. Please let me know if there is anything else I can look at or post here. Thanks again! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250404#4250404 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250404 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: GlassfishConfigureListener NoSuchMethodError
ok, here are the relevant files. I do not see any reference to Glassfish here. faces-config.xml | faces-config | | application | message-bundleLocalizationResources/message-bundle | locale-config | default-localeen/default-locale | supported-localeen/supported-locale | supported-localefr/supported-locale | /locale-config | /application | | navigation-rule | from-view-id/login.jsp/from-view-id | navigation-case | from-outcomesuccess/from-outcome | to-view-id/portal/index.jsp/to-view-id | /navigation-case | navigation-case | from-outcomefailure/from-outcome | to-view-id/login.jsp/to-view-id | /navigation-case | /navigation-rule | | navigation-rule | from-view-id/portal/webClientSend.jsp/from-view-id | navigation-case | from-outcomesuccess/from-outcome | to-view-id/portal/webClientSendResult.jsp/to-view-id | /navigation-case | navigation-case | from-outcomefailure/from-outcome | to-view-id/portal/webClientFailure.jsp/to-view-id | /navigation-case | /navigation-rule | | managed-bean | descriptionUsed managing the current Locale./description | managed-bean-namelocaleBean/managed-bean-name | managed-bean-classnet.sourceforge.gateway.sstp.faces.beans.LocaleBean/managed-bean-class | managed-bean-scopesession/managed-bean-scope | /managed-bean | | managed-bean | descriptionAuthenticates Users/description | managed-bean-nameloginBean/managed-bean-name | managed-bean-classnet.sourceforge.gateway.sstp.faces.beans.LoginBean/managed-bean-class | managed-bean-scopesession/managed-bean-scope | managed-property | property-nameuser/property-name | value#{sessionScope.user}/value | /managed-property | /managed-bean | | managed-bean | descriptionGateway Client/description | managed-bean-namegatewayClientBean/managed-bean-name | managed-bean-classnet.sourceforge.gateway.sstp.faces.beans.GatewayClientBean/managed-bean-class | managed-bean-scoperequest/managed-bean-scope | /managed-bean | | /faces-config | web.xml | web-app | display-nameGateway Boss Edition/display-name | | context-param | param-namecontextConfigLocation/param-name | param-value | classpath:net/sourceforge/gateway/sstp/webservices/services.xml | /param-value | /context-param | | context-param | param-nameorg.apache.myfaces.ERROR_HANDLING/param-name | param-valuefalse/param-value | /context-param | | context-param | param-namefacelets.DEVELOPMENT/param-name | param-valuefalse/param-value | /context-param | | context-param | param-nameorg.apache.myfaces.ALLOW_JAVASCRIPT/param-name | param-valuetrue/param-value | /context-param | | context-param | param-nameorg.apache.myfaces.AUTO_SCROLL/param-name | param-valuefalse/param-value | /context-param | | context-param | param-nameorg.apache.myfaces.SAVE_FORM_SUBMIT_LINK_IE/param-name | param-valuefalse/param-value | /context-param | | context-param | param-nameorg.apache.myfaces.PRETTY_HTML/param-name | param-valuetrue/param-value | /context-param | | context-param | param-nameorg.apache.myfaces.CHECK_EXTENSIONS_FILTER/param-name | param-valuetrue/param-value | /context-param | | context-param | param-nameorg.apache.myfaces.READONLY_AS_DISABLED_FOR_SELECTS/param-name | param-valuetrue/param-value | /context-param | | context-param | param-nameorg.apache.myfaces.RESOURCE_VIRTUAL_PATH/param-name | param-value/faces/myFacesExtensionResource/param-value | /context-param | | context-param | param-nameorg.apache.myfaces.STRICT_XHTML_LINKS/param-name | param-valuetrue/param-value | /context-param | | context-param | param-nameorg.apache.myfaces.DETECT_JAVASCRIPT/param-name | param-valuefalse/param-value | /context-param | | context-param | param-namejavax.faces.STATE_SAVING_METHOD/param-name | param-valueserver/param-value | /context-param | | context-param | param-nameorg.apache.myfaces.ADD_RESOURCE_CLASS/param-name | param-valueorg.apache.myfaces.renderkit.html.util.DefaultAddResource/param-value | /context-param | | context-param | param-nameorg.apache.myfaces.VIEWSTATE_JAVASCRIPT/param-name | param-valuefalse/param-value | /context-param | | context-param | param-nameorg.apache.myfaces.CONFIG_REFRESH_PERIOD/param-name | param-value2/param-value | /context-param | | context-param | param-nameorg.apache.myfaces.RENDER_VIEWSTATE_ID/param-name | param-valuetrue/param-value
[jboss-user] [Beginners Corner] - Re: Authentication Error
Hi, what is the base class of your login module? You might take a look at JBoss classes which are also derived from this one, maybe they provide you with some hint. I fear that we are leaving the field of my knowledge, but I try to give you further help. Wolfgang View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250407#4250407 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250407 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Authentication Error
My login module class implements javax.security.auth.spi.LoginModule. Do you think the problem is code and not a configuration issue? Thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250409#4250409 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250409 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss]
I am trying to configure DatabaseServerLoginModule for my web application. I have login page with user name and password when click on submit what should happen I am having one basic question. So when I click on submit, will JBoss check for credentials or we have to check against the database programatically. please let me know I am new to this. please help. please also send me the sample code if you have for authentication and authroization using JBoss. regards ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Problem installing jbossws-native-3.1.1.GA onto jboss-4.2.3.
Hi I have a problem with my installation of jbossws 3.1.1 over the top of jboss 4.2.3.GA. I get this error: | 2009-08-19 14:53:36,920 ERROR [org.jboss.deployment.MainDeployer] Could not start deployment: file:/app/jboss-4.2.3.GA/server/fred/tmp/deploy/tmp32687FRED.ear-contents/FRED.war | java.lang.IllegalStateException: Failed to load org.jboss.wsf.spi.invocation.WebServiceContextFactory: org.jboss.wsf.container.jboss42.WebServiceContextFactoryImpl | at org.jboss.wsf.spi.util.ServiceLoader.loadFromServices(ServiceLoader.java:97) | ... | lots of lines | ... | at java.lang.Thread.run(Unknown Source) | Caused by: java.lang.NoClassDefFoundError: org/jboss/wsf/spi/invocation/WebServiceContextEJB | at java.lang.Class.getDeclaredConstructors0(Native Method) | at java.lang.Class.privateGetDeclaredConstructors(Unknown Source) | at java.lang.Class.getConstructor0(Unknown Source) | at java.lang.Class.newInstance0(Unknown Source) | at java.lang.Class.newInstance(Unknown Source) | at org.jboss.wsf.spi.util.ServiceLoader.loadFromServices(ServiceLoader.java:92) | Looking at the jbossws-native-3.1.1.GA binary distribution it appears that there is no class org.jboss.wsf.spi.invocation.WebServiceContextEJB. It is not contained within jbossws-spi.jar although jbossws-native-core.jar does contain org.jboss.wsf.stack.jbws.WebServiceContextEJB I can see this class in the jbossws-spi.jar for a jboss 4.2.3 that has not been upgraded with jbossws-native-3.1.1 The classes in FRED.war were built using the ws*.bat scripts/code that shipped with the jbossws shipped with Jboss 4.2.3.GA. Not sure if this is relevant. Any advice gratefully received. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250417#4250417 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250417 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Concurrency/Async
I've done quite a bit of searching and reading on asynchronous processes in jbpm, and I'm slightly confused as to whether or not JBPM 4.0 can handle parallel processes? (not parallel business processes). My unit test calls 3 processes which should be started by the workflow independently of each other. | java class=org.workflow.FindProviders g=276,7,80,40 method=execute name=find providers | transition name= to=fork/ |/java | |fork g=298,85,80,40 name=fork | transition g=-62,-18 name=validate red to=validate red request/ | transition g=-64,-18 name=validate exp to=validate exp request/ | transition g=-63,-17 name=validate sys to=validate sys request/ |/fork | |custom continue=async name=validate red request class=org.workflow.Validate1 exp=#{myObj} | transition g=-27,-18 name= to=join/ |/custom | |custom continue=async name=validate exp request class=org.workflow.Validate2 exp=#{myObj} | transition g=-27,-18 name= to=join/ |/custom | |custom continue=async name=validate sys request class=org.workflow.Validate3 exp=#{myObj} | transition g=-27,-18 name= to=join/ |/custom | |join g=267,368,80,40 name=join | transition name=check results to=evaluate validation results g=-47,-16/ |/join Within classes Validate1, Validate2, Validate3, I put the thread to sleep for different times (2, 3 and 6 seconds). I expected the maximum time for completion would be 6 seconds. My Unit test does start each job one after the other which, I am hoping is the reason why this is not working as expected. I'm stuck as to how I would write a Unit test to ensure it is happening in parallel. | ListJob jobs = managementService.createJobQuery() | .processInstanceId(processInstanceId) | .list(); | | for(Job job: jobs) { | managementService.executeJob(job.getId()); | } | Any suggestions would be much appreciated. Regards, M View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250420#4250420 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250420 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Concurrency/Async
Apologies for the rubbish thread title. It should read Concurrency/Async Unit test case query. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250421#4250421 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250421 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Default encryption scheme for SynchronizingLDAPExtLoginM
Thanks for your reply. I actually tried this scheme and it failed. However, as you suggested it again I gave it another whirl and found I have some other problem, as the password was being validated. Thanks for your help. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250422#4250422 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250422 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: GlassfishConfigureListener NoSuchMethodError
Thanks for including the pom.xml - I copied your dependencies to one of my poms, ran mvn, and then scanned the downloaded JARs for glassfish classes. I did find some - in the spring-context-*.jar files. But neither one was the GlassFishConfigureListener. But none of those dependencies obtained JAR files that contained the net.sourceforge.gateway.sstp package. And I also see this in the web.xml: context-param | param-namecontextConfigLocation/param-name | param-value | classpath:net/sourceforge/gateway/sstp/webservices/services.xml | /param-value | /context-param So where is the JAR file that contains this package, and what is in the services.xml file? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250424#4250424 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250424 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: GlassfishConfigureListener NoSuchMethodError
GlassFishConfigureListener is in jsf-impl-1.2-b19.jar... services.xml | beans xmlns=http://www.springframework.org/schema/beans; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xmlns:jaxws=http://cxf.apache.org/jaxws; | xsi:schemaLocation=http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd; | | import resource=classpath:META-INF/cxf/cxf.xml/ | import resource=classpath:META-INF/cxf/cxf-extension-soap.xml/ | import resource=classpath:META-INF/cxf/cxf-servlet.xml/ | | jaxws:endpoint id=EFileServiceSoap implementor=net.sourceforge.gateway.sstp.webservices.EFileServiceSoap address=/EFileServiceSoap | jaxws:inInterceptors | bean class=org.apache.cxf.binding.soap.saaj.SAAJInInterceptor/ | bean class=org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor | constructor-arg | map | entry key=action value=UsernameToken/ | entry key=passwordType value=PasswordText/ | entry key=passwordCallbackRef | bean class=net.sourceforge.gateway.sstp.authentication.EFileCallbackHandler/ | /entry | /map | /constructor-arg | /bean | /jaxws:inInterceptors | /jaxws:endpoint | | jaxws:endpoint id=SendTransmitters implementor=net.sourceforge.gateway.sstp.webservices.SendTransmitters address=/SendTransmitters | jaxws:inInterceptors | bean class=org.apache.cxf.binding.soap.saaj.SAAJInInterceptor/ | bean class=org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor | constructor-arg | map | entry key=action value=UsernameToken/ | entry key=passwordType value=PasswordText/ | entry key=passwordCallbackRef | bean class=net.sourceforge.gateway.sstp.authentication.SendTransmittersCallbackHandler/ | /entry | /map | /constructor-arg | /bean | /jaxws:inInterceptors | /jaxws:endpoint | | jaxws:endpoint id=GatewayStatus implementor=net.sourceforge.gateway.sstp.webservices.GatewayStatus address=/StatusRequest | jaxws:inInterceptors | bean class=org.apache.cxf.binding.soap.saaj.SAAJInInterceptor/ | bean class=org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor | constructor-arg | map | entry key=action value=UsernameToken/ | entry key=passwordType value=PasswordText/ | entry key=passwordCallbackRef | bean class=net.sourceforge.gateway.sstp.authentication.GatewayStatusCallbackHandler/ | /entry | /map | /constructor-arg | /bean | /jaxws:inInterceptors | /jaxws:endpoint | | jaxws:endpoint id=SQLServiceSoap implementor=net.sourceforge.gateway.sstp.webservices.SQLServiceSoap address=/SQLServiceSoap | jaxws:inInterceptors | bean class=org.apache.cxf.binding.soap.saaj.SAAJInInterceptor/ | bean class=org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor | constructor-arg | map | entry key=action value=UsernameToken/ | entry key=passwordType value=PasswordText/ | entry key=passwordCallbackRef | bean class=net.sourceforge.gateway.sstp.authentication.SQLServiceCallbackHandler/ | /entry | /map | /constructor-arg | /bean | /jaxws:inInterceptors | /jaxws:endpoint | /beans | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250425#4250425 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250425 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: JBoss Portal Crash after deploying portlet
thx for reply. I indeed use HSQLDB, as i am just testing before real development. So i expected all the config to be reset after deleting the folders. Maybe this part of the console log is helpful. --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- | ObjectName: jboss.web.deployment:war=portal-identity.war,id=-1456428062 | State: FAILED | Reason: org.jboss.deployment.DeploymentException: URL file:/C:/jboss-portal-2. | 7.2/server/default/deploy/jboss-portal.sar/portal-identity.sar/portal-identity.w | ar/ deployment failed | | ObjectName: jboss.web.deployment:war=portal-admin.war,id=-2037919538 | State: FAILED | Reason: org.jboss.deployment.DeploymentException: URL file:/C:/jboss-portal-2. | 7.2/server/default/deploy/jboss-portal.sar/portal-admin.sar/portal-admin.war/ de | ployment failed | | ObjectName: jboss.web.deployment:war=emailPortlet-web-1.0.war,id=-601299710 | State: FAILED | Reason: org.jboss.deployment.DeploymentException: URL file:/C:/jboss-portal-2. | 7.2/server/default/tmp/deploy/tmp35985emailPortlet-web-1.0-exp.war/ deployment f | ailed | | ObjectName: jboss.web.deployment:war=portal-wsrp-admin.war,id=1416039848 | State: FAILED | Reason: org.jboss.deployment.DeploymentException: URL file:/C:/jboss-portal-2. | 7.2/server/default/deploy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-admin.war | / deployment failed View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250427#4250427 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250427 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: persistence-context-ref always yields same object instan
anonymous wrote : If there is anything else you'd like me to test, please let me know. The information you provided should be enough to reproduce this locally. I'll look into this and read a bit more in the spec before updating this thread later this week. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250428#4250428 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250428 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: GlassfishConfigureListener NoSuchMethodError
I guess it would help if I used the proper search string when looking for classes. The missing method, scanWebXml, is actually in the base class ConfigureListener in the package in the same JAR file. And the server/xxx/deploy/jboss-web.deployer/jsf-libs/jsf-impl.jar file contains the ConfigureListener class, and guess what method it is missing? Anyway, make sure that you do not include the jsf-impl-xxx.jar, or jsf-api-xxx.jar in your web app. (And alternative might be to replace those files in the jsf-libs directory with yours...) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250432#4250432 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250432 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBPM4 Spring-Hibernate Integration
Well, you should specify some more details if you expect to get help here. I tried out jBPM4 with Spring using Adre Inze's tutorial too and had no problems at all. So the problem may be in your project setup. Maybe some dependencies are missing. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250434#4250434 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250434 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: JBoss Portal Crash after deploying portlet
That is just the report the deployer prints at the end of the deployment, it does not tell why things went wrong. I really need to see the very first exception stack trace in the console log when your start the app server. Considering that various changes you have made, and that the deployment report indicates that some of the modules that ship with Portal did not deploy, you might want to reinstall the Portal and run it first to ensure there are no problems, and then try with your portlet again. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250435#4250435 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250435 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: How to set EJBContext callerPrincipal from LoginModule?
I have similar problem, added a question to stackoverflow: http://stackoverflow.com/questions/1295938/jaas-and-jboss-5-problem-with-principal The reflection example works but I would prefer ... hmm... different solution. Also watching and voted that bug. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250437#4250437 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250437 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - JAX-WS Web Service Authentication (NTLM) against a MS CRM Se
Hello everybody, I am currently developing a jboss web service client, which is supposed to connect to a web service on a Microsoft CRM Dynamics (I hope I've got the name right) instance, running on an Internet Information Server. The service itself and the relevant data types are defined in a what appears to be a standard CrmServiceWsdl.aspx file. I've generated the Java classes with the /bin/wsconsume.bat tool in the JBoss folder. We have many times used this tool successfully, when programming JBoss web services and clients for them. Everything seemed nice and well, the client easily connected (including HTTP BASIC authentication) and sent what looked like a correct request to a dummy JBoss web service which I wrote for testing purposes. The problems appeared when we tried the real thing, namely connecting to the MS CRM web service. The IIS Server has the Windows Intergrated Security authentication activated, which is supposed to be NTLM. First I have tried doing HTTP Basic, as the IIS was also supposed to support it: | url = new java.net.URL(InfondsParameter.CRMWebServiceUrlCreateUpdateTask.get(em)); | | CrmTaskServiceSoap port = (new CrmTaskService(url, new QName(http://schemas.microsoft.com/crm/2007/WebServices;, CrmService))) | .getCrmTaskServiceSoap(); | ((BindingProvider)port).getRequestContext().put(BindingProvider.USERNAME_PROPERTY, username); | ((BindingProvider)port).getRequestContext().put(BindingProvider.USERNAME_PROPERTY, password); | This didn't work and I kept getting the javax.xml.ws.WebServiceException: org.jboss.ws.WSException: Target endpoint address not set error message plus debug messages (my own) telling me the WSDL could not be reached. Then I decided to aim for the NTLM authentication. Following advice I found on many (non official) sources in Internet, I wrote the following: | static class MyAuthenticator extends Authenticator { | | private String user; | private String pass; | | public MyAuthenticator(String user, String pass) { | this.user = user; | this.pass = pass; | } | | public PasswordAuthentication getPasswordAuthentication() { | return (new PasswordAuthentication(kuser, kpass.toCharArray())); | } | } | | public static void callCreateTask() | | Authenticator.setDefault(new MyAuthenticator(username, password)); | | url = new java.net.URL(InfondsParameter.CRMWebServiceUrlCreateUpdateTask.get(em)); | | CrmTaskServiceSoap port = (new CrmTaskService(url, new QName(http://schemas.microsoft.com/crm/2007/WebServices;, CrmService))) | .getCrmTaskServiceSoap(); | | ... | | String ret = port.create(ent); | } | Now the WSDL seems to get reached and consumed, but at the last row I still get a org.jboss.ws.WSException: Invalid HTTP server response [401] - Unauthorized. The port.create(ent) statement is just calling the create operation, defined in the WSDL, with the argument being an entity, also as defined in the WSDL. I really fail to grasp what is going wrong. As far as I know, Java is supposed to support NTLM Authentication off the shelf through the Authenticator class and it obviously does some work, as the WSDL residing on the IIS could be opened and read. However, the call to the service itself could not be authorised. I've found some references to a CrmAuthenticationToken having to be set, but neither my CrmTaskService (which is the standard CrmService), nor CrmTaskServiceSoap (which is the proxy of the service) has been generated with a possibility to set Credentials or AuthenticationToken. Has anyone had exprience with interfacing the Microsoft CRM Web Services? Any advice, insight or ideas are welcome! Thank you in advance! Best regards, Ivan Stefanov View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250438#4250438 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250438 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: ...Port does not contain operation meta data for: {http:
Hi, Any updates on this issue ? Has anyone been able to solve it ? I'm using JBoss 5.1.0 and I get this problem. (SOAPFaultException... Port does not contain operation meta data for EncryptedData... ) Also what is the key for this issue on Jira ? thanks! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250439#4250439 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250439 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: GlassfishConfigureListener NoSuchMethodError
Yeah removing the jars from the webapp gives the same error (odd I know) when I start the jboss server. Maybe I will try to replace the default jars in jboss with the ones the web app uses. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250440#4250440 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250440 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: GlassfishConfigureListener NoSuchMethodError
ok swapping jars makes it very angry, lots of classnotfound errors. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250441#4250441 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250441 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: GlassfishConfigureListener NoSuchMethodError
Ok I found the solution to this. Thank you for your help. I took all references out of my web app to jsf-impl-xxx.jar and jsf-api-xxx.jar. I then just downloaded the jar files off the web and placed them into the \server\default\deploy\jboss-web.deployer\jsf-libs directory alongside the jsf-api.jar and jsf-impl.jar. It works fine now. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250444#4250444 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250444 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: GlassfishConfigureListener NoSuchMethodError
I'll assume you restored the jsf-lib files. So try this. Add -verbose:class to the JAVA_OPTS in the run.bat file (I assume you are using windows based on the '\' you used in the path). You will need to redirect stdout/stderr to a file. This option causes the JVM to print out each class laoded and the JAR it came from. Search the output for both the GlassFishConfigureListener and the ConfigureListener. The ConfigureListener class should come from the jsf-libs directory. The JAR the GlassFishConfigureListener came from is the JAR you want to get rid of. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250445#4250445 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250445 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - reading a file stored outside the .war
hi, we are developing a servlet here that will read the content of a couple of files and outputs binary data. rather than storing our base-files in a database (which would be quite slow, given the size of our files) or putting them in the .war (which would prevent us from later adding files short of rebuilding/redeploying) we want to store them in a local folder of the system where our jboss-instance runs and open them as files via FileInputStream: o) where would be the proper directory to store those files? o) is there a proper way to do this (obvious extensions will be a file-upload/management servlet as a next step)? thanks for any help that can point us into the right direction! cheers, s View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250446#4250446 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250446 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: ClassCastException due to Xerces conflict during app dep
Ok, I've created 2 patches for swapping out the context classloader. One for a class in the jbossweb project and one for a class in the JBossXB project. Either patch, when applied to the corresponding project, resolves the issue. You can now decide in which project it is more appropriate to fix this issue and apply the patch to the corresponding source repository to resolve this once and for all. JBossXB patch: | *** orig\org\jboss\xb\binding\UnmarshallerFactory.java 2009-04-19 20:18:06.0 -0400 | --- new\org\jboss\xb\binding\UnmarshallerFactory.java 2009-08-19 12:13:34.345631600 -0400 | *** | *** 90,95 | --- 90,98 | { | public Unmarshaller newUnmarshaller() | { | + ClassLoader oldCl = Thread.currentThread().getContextClassLoader(); | + Thread.currentThread().setContextClassLoader(this.getClass().getClassLoader()); | + |UnmarshallerImpl unmarshaller; |try |{ | *** | *** 99,104 | --- 102,111 |{ | throw new JBossXBRuntimeException(e.getMessage(), e); |} | + finally | + { | + Thread.currentThread().setContextClassLoader(oldCl); | + } | |JBossXBParser parser = unmarshaller.getParser(); |if(validation != null) | jbossweb patch: | *** orig\org\jboss\web\tomcat\service\deployers\JBossContextConfig.java 2009-05-22 09:10:46. | 0 -0400 | --- new\org\jboss\web\tomcat\service\deployers\JBossContextConfig.java 2009-08-19 12:32:46.517506600 | -0400 | *** | *** 542,547 | --- 542,550 | | protected void processContextConfig(String resourceName, boolean local) | { | + ClassLoader oldCl = Thread.currentThread().getContextClassLoader(); | + Thread.currentThread().setContextClassLoader(this.getClass().getClassLoader()); | + | ContextMetaData contextMetaData = null; | try | { | *** | *** 593,598 | --- 596,605 |ok = false; |return; | } | + finally | + { | + Thread.currentThread().setContextClassLoader(oldCl); | + } | | if (contextMetaData != null) | { | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250448#4250448 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250448 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Concurrency/Async
Hi mmusaji, if my understanding of the job scheduler is correct, the execution time for your unit test is 11 sec? Maybe you should use threads like so (not tested): | ListJob jobs = managementService.createJobQuery() | .processInstanceId(processInstanceId) | .list(); | | for(final Job job: jobs) { | new Thread(new Runnable() { | public void run() { | managementService.executeJob(job.getId()); | } | }).run(); | } | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250449#4250449 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250449 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM 4.0 and
Does not work is everything I wrote in the first post of this thread. I have task nodes with users specified in the assignee field and that is creating the problems I see where it give me the SEVERE error: Table 'jbpm4_deployment' already exists View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250451#4250451 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250451 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: ClassCastException due to Xerces conflict during app dep
Thank you for your efforts on patching this :) And good to know that it fixes the issue (although out of curiosity, i will try out a sample application and see why xerces is now happy this workaround). anonymous wrote : You can now decide in which project it is more appropriate to fix this issue and apply the patch to the corresponding source repository to resolve this once and for all. I am really not an expert on JBossXB, so its really the JBossXB guys who need to decide about this. The design forum thread that you opened is the right place to discuss this patch. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250452#4250452 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250452 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Session Timed out message in login.jsp
Hello. I have a requirement to alert the user when the session is timed out, at the login page. Is there any method by which I can determine this from login.jsp. Or should it be implemented using filters to forward the user to a different page? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250455#4250455 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250455 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: JBoss 5.0.1.GA Native Maven2 Eclipse POM dependencies: d
So I'll respond to my own post just in case anyone else runs into a similar problem. I finally figured out the dependency that allows me to reference JBoss from within an Eclipse workspace and run my deployed web service on a local JBoss Runtime Server. You'll need the following dependency in your pom.xml file: dependency | groupIdorg.jboss.jbossas/groupId | artifactIdjboss-as-main/artifactId | version5.0.1.GA/version | scopeprovided/scope | /dependency By adding this dependency I was able to call my mavenized JEE web service, bundled in an ear (as a war with an associated ejb.jar) all deployed to an Eclipse JBoss Runtime with nothing on my project classpath other than the JDK and Maven references. Hope this helps any one else who is struggling with something similar View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250459#4250459 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250459 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with indexes in jbpm.history.hbm.xml
Oh, and I forgot to include my jbpm.hibernate.cfg.xml: | ?xml version=1.0 encoding=utf-8? | | !DOCTYPE hibernate-configuration PUBLIC | -//Hibernate/Hibernate Configuration DTD 3.0//EN | http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd; | | hibernate-configuration | session-factory | | property name=hibernate.dialectorg.hibernate.dialect.Oracle10gDialect/property | property name=hibernate.connection.driver_classoracle.jdbc.OracleDriver/property | property name=hibernate.connection.urljdbc:oracle:oci:@orcl/property | property name=hibernate.connection.usernamejbpm/property | property name=hibernate.connection.passwordjbpm/property | property name=hibernate.hbm2ddl.autocreate-drop/property | property name=hibernate.format_sqltrue/property | | mapping resource=jbpm.repository.hbm.xml / | mapping resource=jbpm.execution.hbm.xml / | mapping resource=jbpm.history.hbm.xml / | mapping resource=jbpm.task.hbm.xml / | mapping resource=jbpm.identity.hbm.xml / | | /session-factory | /hibernate-configuration | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250463#4250463 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250463 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Socket Timeout with EJB2 on JBoss v4.0.5GA?
Sure did [sorry for the late response]. I posted a similar question in the JBoss Remoting Forum, and someone pointed me toward using the JBoss Unified Invoker to accomplish this. The thread in the JBoss Remoting Forum is http://www.jboss.org/index.html?module=bbop=viewtopict=152317. At a high level, the Sun RMI timeout parameters don't work for the communication between the clients and the server because they don't use the Sun RMI libraries for their communication; they use the JBoss Remoting libraries. So in order to get the timeouts to work, you have to configure the JBoss Remoting libraries. To do so, you have to define the UnifiedInvoker in the jboss-service.xml and set the timeouts for it. You do that in the following file: - jboss_home/server/app_name/conf/jboss-service.xml Next you have to tell JBoss that your remote EJBs should use the configured UnifiedInvoker for their communication. You do this in the following file: - jboss_home/server/app_name/conf/standardjboss.xml I basically followed the instructions in the following document: http://docs.jboss.org/jbossas/unified_invoker/UnifiedInvoker_guide.html For reference, the steps I followed and the resulting configuration changes are below: First I added the UnifiedInvoker configuration to my jboss-service.xml. The full configuration is below. The timeout attribute is the one that actually times out the sockets: !-- Changes to Support the Unified Invoker: | http://docs.jboss.org/jbossas/unified_invoker/UnifiedInvoker_guide.html#d0e9 | -- | |!-- Unified invoker (based on remoting) -- |mbean code=org.jboss.invocation.unified.server.UnifiedInvoker | name=jboss:service=invoker,type=unified | !-- To turn on strict RMI exception propagation uncomment block below -- | !-- This will cause the UnifiedInvokerProxy to wrap RemoteExceptions -- | !-- within a ServerException, otherwise will throw root exception -- | !-- (not RemoteException) -- | !-- attribute name=StrictRMIExceptiontrue/attribute -- | dependsjboss:service=TransactionManager/depends | dependsjboss.remoting:service=Connector,transport=socket/depends |/mbean | |!-- The Connector is the core component of the remoting server service. -- |!-- It binds the remoting invoker (transport protocol, callback configuration, -- |!-- data marshalling, etc.) with the invocation handlers. -- |mbean code=org.jboss.remoting.transport.Connector | xmbean-dd=org/jboss/remoting/transport/Connector.xml | name=jboss.remoting:service=Connector,transport=socket | display-name=Socket transport Connector |!-- Can either just specify the InvokerLocator attribute and not the invoker element in the -- |!-- Configuration attribute, or do the full invoker configuration in the in invoker element -- |!-- of the Configuration attribute. -- | |!-- Remember that if you do use more than one param on the uri, will have to include as a CDATA, -- |!-- otherwise, parser will complain. -- |!-- attribute name=InvokerLocator![CDATA[socket://${jboss.bind.address}:4446/?datatype=invocation]]/attribute -- | | attribute name=Configuration | !-- Using the following invoker element instead of the InvokerLocator above because specific attributes needed. -- | !-- If wanted to use any of the parameters below, can just add them as parameters to the url above if wanted use the InvokerLocator attribute. -- | config | !-- Other than transport type and handler, none of these configurations are required (will just use defaults). -- | invoker transport=socket |attribute name=dataType isParam=trueinvocation/attribute |attribute name=marshaller isParam=trueorg.jboss.invocation.unified.marshall.InvocationMarshaller/attribute |attribute name=unmarshaller isParam=trueorg.jboss.invocation.unified.marshall.InvocationUnMarshaller/attribute |!-- This will be port on which the marshall loader port runs on. -- |!-- attribute name=loaderport isParam=true4447/attribute -- |!-- The following are specific to socket invoker -- |attribute name=numAcceptThreads100/attribute |attribute name=maxPoolSize2500/attribute |!-- attribute name=clientMaxPoolSize isParam=true304/attribute-- |attribute name=socketTimeout isParam=true30/attribute |!--Set the all important client side socket timeout to 5 minutes. -- |attribute name=timeout isParam=true30/attribute |attribute name=serverBindAddress${jboss.bind.address}/attribute |
[jboss-user] [Remoting] - Re: Socket Timeout?
Thanks for the info, that was the nudge that I needed to get the timeouts to work. See http://www.jboss.org/index.html?module=bbop=viewtopict=152166 for the full details on how to get this to work. Thanks Kevin View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250462#4250462 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250462 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with indexes in jbpm.history.hbm.xml
Test cases that demonstrates the two situations with the same db error messages: one without the Java node (which prints out errors but continues the workflow process without any blocking issues), another with the Java node (which prints out errors and gets stuck in infinite loop while exporting schema to db over and over again). For both cases, I use the same Java code; relevant snippet from my App.java is shown here. App.java: | private ProcessEngine processEngine; | private RepositoryService repositoryService; | private ExecutionService executionService; | private TaskService taskService; | | private MapString, Object caseinfo = new HashMapString, Object(); | private int tenth = 0; | | public App() { | processEngine = new Configuration().buildProcessEngine(); | repositoryService = processEngine.getRepositoryService(); | executionService = processEngine.getExecutionService(); | taskService = processEngine.getTaskService(); | | repositoryService.createDeployment().addResourceFromClasspath(workflow.jpdl.xml).deploy(); | } | | public String whatCond() { | tenth++; | if (tenth == 10) { | tenth = 0; | log.info(Checking isTenth: YES); | return yes; | } else { | log.info(Checking isTenth: NO); | return no; | } | } | | public String runPOC(String arg) { | ProcessInstance processInstance = executionService.startProcessInstanceByKey(test); | String pid = processInstance.getId(); | String cond = yes; | | ListTask taskList = taskService.findPersonalTasks(cathy); | Task task = taskList.get(0); | String taskDbid = task.getId(); | MapString, Object variables = new HashMapString, Object(); | variables.put(arg, arg); | variables.put(cond, cond); | taskService.setVariables(taskDbid, variables); | taskService.completeTask(taskDbid); | | processInstance = executionService.findProcessInstanceById(pid); | String result = processInstance.findActiveActivityNames().toArray()[0].toString(); | log.info(Result: + result); | | return result; | } | Here's the test case with no Java nodes where it prints out the error message but continues without any blocking issues. workflow.jpdl.xml: | ?xml version=1.0 encoding=UTF-8? | | process name=test xmlns=http://jbpm.org/4.0/jpdl; |decision expr=#{arg} g=228,336,61,49 name=runJava? | transition g=-5,5 name=no to=nojava/ | transition name=yes to=java g=-44,-21/ |/decision |task assignee=cathy g=60,336,97,49 name=new | transition g=-24,-18 name=to runJava? to=runJava?/ |/task |task assignee=peter g=276,216,97,49 name=nojava | transition g=-41,-21 name=to end to=end/ |/task |task assignee=cathy g=612,456,97,49 name=bad | transition g=-21,-16 name=to end to=end/ |/task |task assignee=peter g=444,336,97,49 name=good | transition g=-41,-21 name=to end to=end/ |/task |end g=636,336,49,49 name=end/ |start g=84,216,49,49 name=start | transition g=7,-11 name=to new to=new/ |/start |decision expr=#{cond} g=468,456,49,49 name=condition? | transition g=-11,-18 name=no to=bad/ | transition g=-21,-3 name=yes to=good/ |/decision |state name=java g=288,456,97,49 | transition name=to condition? to=condition? g=-40,-21/ |/state | /process | Errors appears but workflow continues. In the example here, I pass runPOC with arg no first, then I tried it with arg yes: | 11:49:07,678 INFO [SchemaExport] exporting generated schema to database | 11:49:10,256 SEVERE [SchemaExport] Unsuccessful: create index IDX_HDETAIL_HVAR on JBPM4_HIST_DETAIL (HVAR_) | 11:49:10,256 SEVERE [SchemaExport] ORA-01408: such column list already indexed | | 11:49:10,256 SEVERE [SchemaExport] Unsuccessful: create index IDX_HDETAIL_HTASK on JBPM4_HIST_DETAIL (HTASK_) | 11:49:10,272 SEVERE [SchemaExport] ORA-01408: such column list already indexed | | 11:49:10,272 SEVERE [SchemaExport] Unsuccessful: create index IDX_HDETAIL_HACTI on JBPM4_HIST_DETAIL (HACTI_) | 11:49:10,272 SEVERE [SchemaExport] ORA-01408: such column list already indexed | | 11:49:10,272 SEVERE [SchemaExport] Unsuccessful: create index IDX_HDETAIL_HPROCI on JBPM4_HIST_DETAIL (HPROCI_) | 11:49:10,272 SEVERE [SchemaExport] ORA-01408: such column list already indexed | | 11:49:10,912 INFO [SchemaExport] schema export complete | 11:50:47,148 INFO [App] Result: nojava | 11:50:50,711 INFO [App] Result: java |
[jboss-user] [Remoting] - Re: Messaging blocked by long time-out
I've just attached to JBREM-1120 two versions of jboss-remoting.jar with the write timeout facility implemented: * 2.2.3.SP1 preview (874 kb): writes Remoting version: 2.2.3.SP1-preview: 8/19/2009 - 14:54 when loaded * 2.5.2 preview (1.07 Mb): writes JBossRemoting Version 2.5.2 (Flounder) preview: 8/19/09-14:59 when loaded Note that release 2.2.3.SP1 is scheduled for September 14, 2009. Right now I don't have a release date for 2.5.2. -Ron View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250467#4250467 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250467 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Possible deadlock with JBoss Cache? - Timeout exceptions whi
Hi there, I am working on a standalone java application that uses Jboss cache and atomikos JTA transactions implementation. Here are the details on what is being used and some of the configuration we use. Java 1.5/1.6 Jboss Cache 3.1.0 (transactional cache) Atmoikos 3.5.4 (standalone JTA) Eclipselink JPA 1.1.0 (All DB interaction) Spring 2.5 (dependency injection, transactional aspects) Jboss configuration (the locking scheme) isolationLevel=REPEATABLE_READ lockParentForChildInsertRemove=true lockAcquisitionTimeout=2 nodeLockingScheme=mvcc writeSkewCheck=false concurrencyLevel=500 On server startup, using JPA a bunch of objects are fetched from DB and put into the jboss cache. Later on, we have a call that this server processes that does the following. Start transaction (not explicitly coded, but configured as transactional advice using spring. ) Get objects from cache if needed and analyze for each object that needs updating start transaction (propagation REQUIRES_NEW, so failure of one object doesnt affect others) Get object from cache, apply changes update object in jboss cache -- Problem occurs here update object in DB using JPA commit/rollback transaction Now for the most part this works fine. But recently we started seeing some exceptions when an existing object is being set back into the cache after modification. In this case the outer transaction hasnt even done a get on the cache for this object. The exact steps from above in this case looks something like this Start transaction for each object that needs updating (only one object needs to be updated) start transaction Get object from cache, apply changes update object in jboss cache -- Problem occurs here, see exception below Some other test cases that run the same exact steps work fine. If i keep trying this again and again with the same object, i can reproduce the problem consistently. However, if I delete this object from database and cache. Re-import it and run the same exact scenario again, it works fine. The problem is gone. Makes me wonder if it has to do with the order or where it belongs in the cache. I have also made sure that the external transaction does not do any get or update of this object in cache. There is no other thread accessing this object in cache either, actually, I have made sure that there is no other activity on the server at all. I have also tried NESTED (though that is not what we want) for propagation (in spring transactional advice), and that doesnt seem to help either. I have changed isolation level for jboss cache to READ_COMMITTED and that doesnt help either. I have tried turning on debug logging and that doesnt seem to give any further info on the transaction holding the lock. Any ideas on what is going wrong here. Could it be a bug in jboss cache? Any help is appreciated. Thanks Prasad Here is the exception ERROR (8790): org.jboss.cache.lock.TimeoutException: Unable to acquire lock on Fqn [/Metadata/Form/Objects/14] after [4] milliseconds for requestor [GlobalTransaction::418]! Lock held by [GlobalTransaction::17] at org.jboss.cache.mvcc.MVCCNodeHelper.acquireLock(MVCCNodeHelper.java:157) at org.jboss.cache.mvcc.MVCCNodeHelper.wrapNodeForWriting(MVCCNodeHelper.java:195) at org.jboss.cache.mvcc.MVCCNodeHelper.wrapNodeForWriting(MVCCNodeHelper.java:184) at org.jboss.cache.interceptors.MVCCLockingInterceptor.handlePutKeyValueCommand(MVCCLockingInterceptor.java:101) at org.jboss.cache.interceptors.base.PrePostProcessingCommandInterceptor.visitPutKeyValueCommand(PrePostProcessingCommandInterceptor.java:88) at org.jboss.cache.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:100) at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116) at org.jboss.cache.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:131) at org.jboss.cache.commands.AbstractVisitor.visitPutKeyValueCommand(AbstractVisitor.java:65) at org.jboss.cache.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:100) at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116) at org.jboss.cache.interceptors.TxInterceptor.attachGtxAndPassUpChain(TxInterceptor.java:301) at org.jboss.cache.interceptors.TxInterceptor.handleDefault(TxInterceptor.java:283) at org.jboss.cache.commands.AbstractVisitor.visitPutKeyValueCommand(AbstractVisitor.java:65) at org.jboss.cache.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:100) at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116) at
[jboss-user] [JBoss Messaging] - Re: hanging Timer threads ?
Gao - Thanks for all your help. I used AS 5.1 ( jbm 1.4.3 ) and see that the timer threads go away after i connect/ disconnect n number of times...(except for a few and they don't continue to grow..) But on the server , i do see a bunch of worker threads created and there are in waiting/blocked state even after i disconnect all the connections from the client. Any ideas ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250471#4250471 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250471 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Possible deadlock with JBoss Cache? - Timeout exceptions
Additional Note: Though we do configure for clustering, there is only one node in this case. See more configuration details below. Eviction configuration. eviction wakeUpInterval=3000 | default algorithmClass=org.jboss.cache.eviction.LRUAlgorithm eventQueueSize=20 | property name=maxNodes value=1/ | /default | region name=/Metadata/Form | property name=maxNodes value=1/ | /region | | region name=/Workflow/Escalation | property name=maxNodes value=5000/ | /region | | region name=/Workflow/Filter | property name=maxNodes value=5000/ | /region | | region name=/Workflow/ActiveLink | property name=maxNodes value=5000/ | /region | | region name=/Metadata/Menu | property name=maxNodes value=5000/ | /region | | region name=/Metadata/Container | property name=maxNodes value=5000/ | /region | | region name=/AccessControl/User | property name=maxNodes value=1/ | /region | | region name=/Metadata/Container/Application | property name=maxNodes value=0/ | /region | | region name=/Config | property name=maxNodes value=0/ | /region | | /eviction | | clustering mode=invalidation clusterName=JBossCache-Cluster | | !-- |Defines whether to retrieve state on startup | -- | stateRetrieval timeout=2 fetchInMemoryState=false/ | | !-- |Network calls are synchronous. | -- | sync replTimeout=2/ | | !-- |Configures the JGroups channel. Looks up a JGroups config file on the classpath or filesystem. udp.xml |ships with jgroups.jar and will be picked up by the class loader. | -- | jgroupsConfig configFile=jgroups-config.xml/ | /clustering | The atomikos transaction manager is injected using the DummyTransactionManager. See configuration below. !-- | Used to register a transaction manager and participate in ongoing transactions. There is no | JNDI present, since we are out of the container. Dummy lookup. | The transaction manager is injected programatically. | -- | transaction transactionManagerLookupClass=org.jboss.cache.transaction.DummyTransactionManagerLookup | syncRollbackPhase=true | syncCommitPhase=true/ View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250472#4250472 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250472 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Linking JBPM processes with external entities
- I never mentioned that the query api's would do what you need, I just wanted to point at the differences between 3 and 4 - Custom queries through sessions are not supported on jbpm4 yet (not sure if they will be or if the query api will/need to be extended. - Correct, see previous statement View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250477#4250477 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250477 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: Messaging blocked by long time-out
Chul Yoon wrote : | I assume I can just set the write timeout attribute for JBM in remoting-bisocket-service.xml | | Something like this?: | | | | attribute name=writeTimeout20/attribute | | | That will set writeTimeout on the server side, which will affect (1) writing responses to the client and (2) sending messages to the client. If you want to configure the client side as well, then add the isParam attribute, which will put writeTimeout in the InvokerLocator which gets sent to the client: | attribute name=writeTimeout isParam=true20/attribute | -Ron View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250478#4250478 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250478 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM 4.0 and
kukeltje wrote : what is: 'does not work'? Please be more specific in providing unittests I'm not going to try to reproduce in any other way. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250480#4250480 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250480 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with indexes in jbpm.history.hbm.xml
uhmm. you use the class that is your 'test app' also as the actionhandler and you do a lot of work in the constructor. Now that is an obvious explanation why you see the loop. since each time your actionhandler is called it is constructed and starts a new process etc... so it is not a loop, but a recursive thing. Separate your java actionhandler from the test class or make the actionhandler an inner class. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250481#4250481 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250481 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user