[jboss-user] [jBPM Users] - Re: jbpm 4.0 creating and running processes without persiste
Hi , Still stuck in this ... any help is appreciated .. Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253216#4253216 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253216 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Trusted certificate stores used by Jboss 4.2.2 Applicati
I fixed this issue, I am putting the solution I tried to find, I created one JSP, and saw which trusted certificate store is being used. My JSP gave me the answer, I added the root certificate in the trusted keystore shown by my jsp,, and it started working:) <%...@page import="java.net.*,java.io.*,com.sun.net.ssl.*,com.sun.net.ssl.internal.ssl.Provider,java.security.*,javax.net.ssl.*,java.util.*"%> <% String ls_resp = null; try { String surl = "https://www.samba.com/b2b/epayments/sc/SCConnectRequest.svl";; String ls_psswd = "Ol2882666"; String ls_cert_path = "/App1/web/install/samba/certificate/GODigitalID.pfx"; BufferedReader lo_bufferedReader = null; BufferedInputStream lo_bis = null; com.sun.net.ssl.SSLContext ctx = null; com.sun.net.ssl.KeyManagerFactory kmf = null; KeyStore ks = null; java.net.URL uRL = null; uRL= new java.net.URL(null,new String(surl),new com.sun.net.ssl.internal.www.protocol.https.Handler()); ctx = com.sun.net.ssl.SSLContext.getInstance("SSL"); kmf = com.sun.net.ssl.KeyManagerFactory.getInstance("SunX509"); ks = KeyStore.getInstance("PKCS12"); char[] lc_psswd = ls_psswd.toCharArray(); ks.load(new FileInputStream(ls_cert_path), lc_psswd); kmf.init(ks, lc_psswd); ctx.init(kmf.getKeyManagers(), null, null); SSLSocketFactory sslSocketFactory = ctx.getSocketFactory(); Enumeration aliases = ks.aliases(); while (aliases.hasMoreElements()) { out.println(aliases.nextElement()); } out.println("here 1"); com.sun.net.ssl.HttpsURLConnection.setDefaultSSLSocketFactory(sslSocketFactory); com.sun.net.ssl.HttpsURLConnection httpsURLConnection = (com.sun.net.ssl.HttpsURLConnection)uRL.openConnection(); httpsURLConnection.setHostnameVerifier(httpsURLConnection.getDefaultHostnameVerifier()); out.println(System.getProperty("javax.net.ssl.trustStore")); System.setProperty("javax.net.ssl.trustStore", "/usr/java/jre/lib/security/cacerts"); System.setProperty("javax.net.ssl.trustStorePassword", "changeit"); out.println("here 2"); out.println(System.getProperty("javax.net.ssl.trustStore")); httpsURLConnection.setDoOutput(true); httpsURLConnection.setDoInput(true); httpsURLConnection.setRequestMethod("POST"); httpsURLConnection.setRequestProperty("Content-Type", "application/x-www-form-urlencoded"); OutputStream lo_out = httpsURLConnection.getOutputStream(); out.println("here 3"); //lo_out.write(qstring, 0, qstring.length); lo_out.flush(); int c; lo_bis = new BufferedInputStream(httpsURLConnection.getInputStream()); StringBuffer lo_tmp = new StringBuffer(); out.println("here 4"); while((c = lo_bis.read())!= -1) { lo_tmp.append((char)c); } lo_bis.close(); lo_out.close(); ls_resp = lo_tmp.toString(); out.println("ls_resp"+ls_resp); } catch(Exception e) { out.println(e.toString()); } %> View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253215#4253215 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253215 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Ability to build custom process steps
Can Web service be used as an actor in process in jbpm? to add some more clarity on this question is In a workflow i reach a process step and from there i make a webservice call get the response and use that response as input for next process. Is this possible? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253214#4253214 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253214 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: does JBPM support below features?
Hi cssatheesh, I suppose from your questions, that you are searching a process-management-engine for your java project and that you have already evaluated JBoss Drool ( I insinuate that, because of the "rulecentric" scope of your questions :D) As I'm doing the same task for one of our projects, I'm trying to share my insights about both engines with you. My first finding is that both engines (jbpm and drools flow) have their own right and their own focus in implementing a workflow-management-engine. Drools is a very powerful rule-centric engine which has integrated lot's of functionality provided to Business-Rules, while Jbpm is a lightweight solution concentrating on the java world. Both has it's advantages, but Drools is (in my opinion ;) ) a solution which is useful if your project benifits from a very high integration of buisiness-rules. It perfomes lesser than jbpm in the java-world and is more error-prone because it's complex architecture. I'm trying to give you a deeper insight in your questions but i must admit that my insights are restricted. 1) Yes, for both libraries but with a restriction, you have to use the esb or java-class actions to invoke them in jbpm, while you have to create a workitem or a java-action in drools. 2) Yes, this is were Jbpm is clearly superiour to Drools, you can intstanciate a method of a random pojo, with chosen parameters using the java-action, were you have to use a workItem or a java-drools-action in drools (which is quite less flexible). 3)Yes you can use hql and sql actions, and call stored procedures with your java classes invoced by a java action. For drools you have to use a workItem or a java-drools-action 4 + 5)Neither jbpm nor drools implement a default webservice to call a process (at least I don't know such a default webservice), but it's quite easy to implement a webservice calling the processengine, especially if you use Jboss Seam or a library like axis2. At least there is nothing about rules in Jbpm ;) , you have to call a rule-engine like drools for this purpose, but this might be more efficient if your development is java-centric and is using relativly few rules. I hope this helped, CU Jan View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253213#4253213 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253213 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: jBPM admin privilege clarification
kukeltje, Hopefully i will post the questions going fwd with some clarity. Sorry for the trouble. If I login as an admin, will i be able to view job queue: current queue, executed jobs, exceptions? With respect to this question, this is related to jBPM job queues View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253212#4253212 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253212 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: Technology questions
Hi! Thanks so far, PeterJ - that looks very promising. These are all things I already played with, that's why I agree about feasability. And I agree about the CLI, a telnet client could be built with lots of CLI calls and a nice dialog menu. What about login mechanisms, any special recommendations? Thanks - Michael View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253206#4253206 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253206 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal Users] - Re: JBoss 5.1.0.GA
Yes but JBoss World happened to be early September ;) And my talk is tomorrow to present our brand new project from JBoss Portal and eXo Portal: http://www.gatein.org Binaries with JBoss 5.1.0.GA are available. (as of now the jboss AS zip failed during the upload so it's uploading again, but the tar.gz will work) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253202#4253202 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253202 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: need help to delete clustered queue without db in 5.1
Ok i should have looked more. The postoffice mbean's serverpeer attribute has the destroyqueue attribute. Now i feel dumb! worked perfectly! August View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253199#4253199 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253199 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: Please! PLEASE! PLEASE! Just ONE Getting-started exa
anonymous wrote : The stuff I tried to use about a year back was very unusable If you would have said 2 or 3 years ago, and that you used JBoss IDE (the predecessor to JBoss Tools), I would have heartily agreed with you. But for about the past year or so JBoss Tools have been pretty decent to work with. Currently, I am using Eclipse 3.5 (the Ganymede Java EE package) with JBoss Tools 3.1 (the Development Updates - don't use the Nightly Updates unless you like surprises). Of course, for real development work I tend to use Eclipse as a glorified text editor - all of my building, packaging and deploying is done at the command line using either Ant or Maven. This way I know exactly what I am getting, and the process is repeatable and can be automated. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253198#4253198 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253198 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - need help to delete clustered queue without db in 5.1
Hi all, I have the following queue: | | jboss.messaging:service=ServerPeer | | jboss.messaging:service=PostOffice | |true | | when i remove the queue (ie remove the -server.xml file) it undeploys. When i put it back i get an error: anonymous wrote : "Queue MY_QUEUE is already deployed as clustered = true so cannot redeploy as clustered=true . You must delete the destination first before redeploying" This is clearly addressed here: https://jira.jboss.org/jira/browse/JBMESSAGING-1235 BUT ... it tells me to "*delete the original destination from storage*." So, if i don't have access to the DB how can i do that? The queue is no longer visible via the jmx-console. I'm missing something obvious i'm sure. Any thoughts? I can get into the DB if needed and adjust the JBM_POSTOFFICE stuff but i'm curious if it can be done from the jmx-console. thanks! august View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253197#4253197 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253197 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: Please! PLEASE! PLEASE! Just ONE Getting-started exa
"Wolfgang Knauf" wrote : Hi, | | I think you should remove all three files from WEB-INF\lib of the WAR. | | The JBoss ones are found at those locations: | -ejb3-persistence.jar => common\lib | -el-api.jar => common\lib | , jsf-api.jar => server\default\deploy\jbossweb.sar\jsf-libs | Normally, NetBeans should add those to the references/class path of your project (at least Eclipse does so ;-) ). | | Best regards | | Wolfgang I agree, except that under NetBeans, the project will not build after these are removed. I am not sure where to add them into the NetBeans compile path without them ending up a part of the project. Ideas? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253196#4253196 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253196 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Same token seems to be attached to two task instances?
Hello, We run jbpm 3.2.6.SP1 on Oracle. We use the Command interface to operate JBPM and our applications use that only to interface with JBPM. (It is a painful way of using it, but we did not have time to replicate all console capabilities to use just the engine) We run jbpm-console in the same JBoss application server for administrative and troubleshooting purposes. After hundreds of successfully completed workflow instances we got a strange problem. This workflow has no forks, just task and decision nodes so we should never end up with two active nodes on the flow. In this case we got two tasks active, I think due to the fact that they ended up with the same token attached. At least that how it shows up on the jbpm-console. This wrecks havoc with everything down the line and there seems to be no way of fixing it without messing with the database. I was wondering how something like that can occur and if anyone has seen a similar problem. Thank You, Tamas PS: We discovered this during the pilot just days before we were planning to go full deployment at our site. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253195#4253195 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253195 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: Please! PLEASE! PLEASE! Just ONE Getting-started exa
I have tried using JBoss/J2EE development under Eclipse, and had many many problems. I don't have the buckets of money to pay for JBoss Tools subscriptions. Do you know of any open-source options under Eclipse? The stuff I tried to use about a year back was very unusable (the open-source curse, you know). I am certainly open to suggestions. I certainly don't want to abandon JBoss, but I am just out of options... /Mark View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253194#4253194 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253194 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: does JBPM support below features?
"salaboy21" wrote : You can also use Drools Flow to support all that requirements. And with Drools Flow you just need to learn one set of APIs to implement what you want. | jBPM is the only BPM solution that will make it through productization into JBoss products. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253193#4253193 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253193 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Handling failure of automated activities
Hello - I am very, very happy with Jbpm4, and I am currently looking for a hint on best practices for handling failures of automatic activities invoking retries or failovers - for example, a whose class connects to an external server (which may be down at the time of calling) I understand I can signal the failure in the return variable and model the retry / failover process explicitly with a switch, but that seems rather cumbersome. My preference would be to have the possibility to implicitly choose from the activity the outgoing transition, pointing to a "retry" state which periodically re-enters the automatic activity with a timer. I am not sure if it is possible to define that an exception in the java class with exception-handlers, because the docs seem incomplete. Also, about exception handling, I could not find any hints on these two points: 1- what possibilities are there to "recover" a process that has encountered an unhandled exception? 2- will other process instances running in the same PVM keep going in such a case? Any pointers woud be really appreciated. Bye and thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253180#4253180 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253180 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal Users] - Security concerns when creating CMS windows in portal admin
We are using version 2.7.2 of Portal. We want our users to be able to create portlet windows to display the CMS content they create in the CMS system. However, it seems the only way to do this is from within the portal management portlet. In order for users to access this portlet they must be portal admins, but we don't want our users to have that role. Is there another method for allowing users to create portlet windows based on CMS without giving portal admin role? Scott View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253179#4253179 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253179 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - Re: birt integration - tag p:birt broken on postback
That is a bug in the JBoss BIRT integration. Please create a jira. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253174#4253174 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253174 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: sample application using JBPM BPEL in OpenSource
You should read the documentation and ask a more specific question. However I do not think that there are a lot of BPEL engine users. http://docs.jboss.com/jbpm/bpel/v1.1/userguide/ You should also take a look at Riftsaw (https://www.jboss.org/riftsaw) since the jBPM BPEL engine is not an BPEL 2.0 compliant engine. As far as I understood the developers of jBPM the BPEL engine is discontinued and they are intentions to work towards the integration of support for Riftsaw. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253173#4253173 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253173 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: [jBPM 4.1] not finding the GPD
If you are sure it's an inconsistency between the docs and the actual location in the released archive you should fill a JIRA issue. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253172#4253172 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253172 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Re: disable client chunking in jbossws-3.0.1-native-2.0.4.GA
True, but I don't what to change configuration for other clients running who could be using the same config. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253168#4253168 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253168 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Deploying JBPM project created by Eclipse in Tomcat serv
"Nanaki" wrote : | | | ProcessDefinition processDefinition = ProcessDefinition.parseXmlResource( | | "org/xxx/definitions/yyy/processdefinition.xml"); | | | But i still don't understand (I didn't find a true example on internet) how to "use the jbpm api and retrieve the jpdl file from" like you said. | The parseXmlResouce above does this... "Nanaki" wrote : | Because now, as i understand, i can do all the movements i desire with the token on the workflow, but can't display it on the workflow image. | | Can you show me a part of java code that retrieve this image from the "processdefinition.xml" and how to display it (and update it at each time that we move the token with the method token.signal("xxx") | | The image is not retrieved from the processdefinition.xml, it is a separate image in a deployment. It is generated by the gpd. Look at the ant task in the source for deployments on how to also deploy this image. "Nanaki" wrote : | I'd like to have for example the same interface like when we deploy with Jboss server (the image with a red square around the node). | That is part of the console. Look at the sourcecode of that on how the image and processdefinition.xml together are used to implement this. "Nanaki" wrote : | In a second time, is there any other method via JBPM 4.1 ? | My collegue asks if there's a simple method by using the processdefinition.xml file, and the template folder deployed in the Webapps folder when installing JBPM 4.1 ? | | I do not get what you mean here? "Nanaki" wrote : | Have you ever tested this version since its release ? | I used the nightly on a regular basis, but not fully tested it, why? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253167#4253167 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253167 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: jBPM admin privilege clarification
Satheesh (assuming that is your name) >From al your posts I get the impression that you are comparing serveral >solutions. Your questions are however that short and often in non-standard >terminology that it is hard for us to comment in detail or comment at all. I >can understand that you have limited time, but posting these kinds of short >blurry questions does not help much. E.g. If you have an application with job queues, completed jobs, exceptions etc... are those jBPM job queues? You mention they are part of an application, so no relation to jBPM? If they are just jbpm related, why mention the app... In the jBPM console, privileges are only partly implemented, experimenting a little will give you the best impression. Regarding your second question, A process assigned to roles? How? In what way? Process steps, especially tasks, can be assigned to users and/or roles(groups). I View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253166#4253166 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253166 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Ability to build custom process steps
- Yes - Yes - A webservice as an actor? I don't get that one. A service is a service, not an actor. - Sure, jBPM has a all kinds of services like, process, task, repository, identity - Manual re-execution? Sure, you can print the graphical representation and follow it manually, although I don't think that is what you mean ;-) Please clarify a little, we are not clairvoyant. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253165#4253165 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253165 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Re: disable client chunking in jbossws-3.0.1-native-2.0.4.GA
You could also turn off chunking by setting the chunksize to 0 in the jboss/server/default/deploy/jbossws.sar/META-INF/standard-jaxws-client-config.xmlfile: Standard Client http://org.jboss.ws/dispatch/validate http://org.jboss.ws/http#chunksize 0 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253164#4253164 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253164 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Re: JAX-WS Web Service Authentication (NTLM) against a MS CR
I fixed my problem by disabling chunking by reverting the client to a different configuration, you could try: | CrmTaskServiceSoap port = (new CrmTaskService(url, new QName("http://schemas.microsoft.com/crm/2007/WebServices";, "CrmService"))) | .getCrmTaskServiceSoap(); | | ... | | ((StubExt) port).setConfigName("HTTP 1.0 Client"); | | String ret = port.create(ent); | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253161#4253161 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253161 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Re: disable client chunking in jbossws-3.0.1-native-2.0.4.GA
found the solution: revert to old http 1.0 client config: | ((StubExt) pms).setConfigName("HTTP 1.0 Client"); | client configurations found in jboss/server/default/deploy/jbossws.sar/META-INF/standard-jaxws-client-config.xml View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253160#4253160 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253160 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - birt integration - tag p:birt broken on postback
Hello, I've used today p:birt tag with embed - just like in the sample : I have in the same JSF page a form with h:commandButton. On first render, everything works fine. On postback, birt tag generates an error (I dont remember exactly which one). The line in error was in UIDocument#encodeBegin because designNameValue was null on postback : buffer.append(URLEncoder.encode(designNameValue,"UTF-8")); This is due because saveState and restoreState are not implemented in org.jboss.seam.birt.ui.UIDocument (just look at http://fisheye.jboss.org/browse/~raw,r=11184/JBossTools/trunk/birt/plugins/org.jboss.tools.birt.core/resources/jboss-seam-birt.jar for instance). You should save the state of all the attributes in saveState method otherwise they are going to be null on every postback. A second bug : some attributes are missing in saveState and restoreState of UIParameter (locale, isnull). Should I fill a JIRA issue ? Thanks ! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253158#4253158 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253158 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Re: JAX-WS Web Service Authentication (NTLM) against a MS CR
I working with NTLM in a different scenario, and it seems that NTLM doesn't work when chunking is used by the client. Do a sniff on your traffic to see what is going on. If you have the appropriate jbossws version you can turn chunking off (http://www.jboss.org/community/wiki/JBossWS-NativeUserGuide#Chunked_encoding_setup). if You are using 3.2.0 I'm curious as to your results (i am using an older version and still searching for a way to disable chunking). see my thread at http://www.jboss.org/index.html?module=bb&op=viewtopic&t=160737 for a bigger explanation of my findings. When the client is using chunking, it seems like the jvm doesn't recognize the 401 that is returned from the server before it sends the first chunk and thus never calls our custom authenticators. When chunking is not used, the client sends its whole request at once and then waits for the response (which is a 401) that triggers the authentication sequence. That's my theory anyway. GL View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253152#4253152 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253152 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Deploying JBPM project created by Eclipse in Tomcat serv
Ok, a couple days ago, I studied the door example. So I have understand this simple sample (how to get a token, how to move it to differents state ...). So now, I'd like to see this test directly on the worflow image. For example, I have a JUnit test testing some movement of the token. anonymous wrote : ou can also use the jbpm api and retrieve the jpdl file from e.g. your war and use a startup servlet to deploy it and have some checks around that to see if it is not already deployed. I understand how to deploy a process via this part of code: JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext(); | ProcessDefinition processDefinition = ProcessDefinition.parseXmlResource( | "org/xxx/definitions/yyy/processdefinition.xml"); | jbpmContext.deployProcessDefinition(processDefinition); | jbpmContext.close(); I also understand how to run a process via: jbpmContext = jbpmConfiguration.createJbpmContext(); | processInstance = jbpmContext.newProcessInstance("processname"); | | contextInstance = processInstance.getContextInstance(); | contextInstance.setVariable("var", myVar); | | processInstance.getRootToken().signal(); | So i know how to move the token by using different "signal". But i still don't understand (I didn't find a true example on internet) how to "use the jbpm api and retrieve the jpdl file from" like you said. Because now, as i understand, i can do all the movements i desire with the token on the workflow, but can't display it on the workflow image. Can you show me a part of java code that retrieve this image from the "processdefinition.xml" and how to display it (and update it at each time that we move the token with the method token.signal("xxx") I'd like to have for example the same interface like when we deploy with Jboss server (the image with a red square around the node). === In a second time, is there any other method via JBPM 4.1 ? My collegue asks if there's a simple method by using the processdefinition.xml file, and the template folder deployed in the Webapps folder when installing JBPM 4.1 ? Have you ever tested this version since its release ? Thank you ^^ (again :p) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253151#4253151 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253151 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Re: Cannot change the context root for web service
Try deploying in separate jars, from my experience you can't have two different context roots in the same jar. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253148#4253148 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253148 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - jBPM admin privilege clarification
Consider I have an application containing job queues, completed jobs, exception, etc. If I login as an admin, will i be able to view job queue: current queue, executed jobs, exceptions? Can a process be assigned to Roles, and User in Roles (Human tasks)? Kindly clarify the above questions View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253147#4253147 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253147 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Ability to build custom process steps
Hi all, can anyone provide answer for the below ques? Does jBPM provide ability to build custom process steps? Can Web service be used as an actor in process in jbpm? Can a process be exposed as services? Does jBPM support manual re-execution of process instances? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253143#4253143 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253143 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - SQL Server Windows Authentication
We are currently attempting to replace the default hypersonic database with SQL Server 2005. We would like to use the SQL Server's windows authentication and not use the username/password combination in the datasource definition file. We would like to avoid having any passwords saved in plain text on this particular system. Is this possible and what fields must be added/used for this to be accomplished? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253137#4253137 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253137 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - twiddle does not work in web configuration if I change HTTP
1. Choose default configuration. Change port "The listening socket for the Naming service" in jboss-5.1.0.GA\server\default\conf\bindingservice.beans\META-INF\bindings-jboss-beans.xml from 1099 to 17235. Run JBoss. Execute next command: twiddle.sh -s localhost:17235 serverinfo -d Output - "jboss". All is ok. Change "A HTTP/1.1 Connector on port 8080" in jboss-5.1.0.GA/server/default/deploy/jbossweb.sar/server.xml from 8080 to 17230. Run JBoss. Execute next command: Twiddle.sh -s localhost:17235 serverinfo -d Output - "jboss". All is ok. 2. Choose webconfiguration. Change port "The listening socket for the Naming service" in jboss-5.1.0.GA\server\default\conf\bindingservice.beans\META-INF\bindings-jboss-beans.xml from 1099 to 17235. Run JBoss. Execute next command: twiddle.sh -s localhost:17235 serverinfo -d Output - "jboss". All is ok. Change "A HTTP/1.1 Connector on port 8080" in jboss-5.1.0.GA/server/default/deploy/jbossweb.sar/server.xml from 8080 to 17230. Run JBoss. Execute next command: twiddle.sh -s localhost:17235 serverinfo -d Output: anonymous wrote : 19:10:41,347 DEBUG [Twiddle] args[0]=-s | 19:10:41,352 DEBUG [Twiddle] args[1]=localhost:17235 | 19:10:41,352 DEBUG [Twiddle] args[2]=serverinfo | 19:10:41,352 DEBUG [Twiddle] args[3]=-d | 19:10:41,382 DEBUG [Twiddle] Command name: serverinfo | 19:10:41,390 DEBUG [Twiddle] Command arguments: -d | 19:10:41,391 DEBUG [Twiddle] command proto type properties: jar:file:/local/jboss/bin/twiddle.jar!/org/jboss/console/twiddle/commands.properties | 19:10:41,407 DEBUG [Twiddle] Adding command 'jsr77'; proto: org.jboss.console.twiddle.command.jsr77comm...@13421342 | 19:10:41,411 DEBUG [Twiddle] Adding command 'xmbean'; proto: org.jboss.console.twiddle.command.xmbeancomm...@23892389 | 19:10:41,414 DEBUG [Twiddle] Adding command 'info'; proto: org.jboss.console.twiddle.command.infocomm...@2bfc2bfc | 19:10:41,416 DEBUG [Twiddle] Adding command 'get'; proto: org.jboss.console.twiddle.command.getcomm...@350e350e | 19:10:41,421 DEBUG [Twiddle] Adding command 'invoke'; proto: org.jboss.console.twiddle.command.invokecomm...@40af40af | 19:10:41,430 DEBUG [Twiddle] Adding command 'create'; proto: org.jboss.console.twiddle.command.createcomm...@48c548c5 | 19:10:41,433 DEBUG [Twiddle] Adding command 'setattrs'; proto: org.jboss.console.twiddle.command.setattrscomm...@53355335 | 19:10:41,436 DEBUG [Twiddle] Adding command 'unregister'; proto: org.jboss.console.twiddle.command.unregistercomm...@5a9c5a9c | 19:10:41,439 DEBUG [Twiddle] Adding command 'queryMethod'; proto: org.jboss.console.twiddle.command.querymethodcomm...@64a864a8 | 19:10:41,442 DEBUG [Twiddle] Adding command 'listDomains'; proto: org.jboss.console.twiddle.command.listdomainscomm...@6bb06bb0 | 19:10:41,445 DEBUG [Twiddle] Adding command 'query'; proto: org.jboss.console.twiddle.command.querycomm...@73567356 | 19:10:41,449 DEBUG [Twiddle] Adding command 'set'; proto: org.jboss.console.twiddle.command.setcomm...@79f179f1 | 19:10:41,454 DEBUG [Twiddle] Adding command 'serverinfo'; proto: org.jboss.console.twiddle.command.serverinfocomm...@5ce05ce | 19:10:41,460 DEBUG [ServerInfoCommand] processing arguments: -d | 19:10:41,658 DEBUG [TimedSocketFactory] createSocket, hostAddr: localhost/127.0.0.1, port: 17235, localAddr: null, localPort: 0, timeout: 0 | 19:10:43,128 ERROR [Twiddle] Exec failed | java.rmi.ServerException: IOE; nested exception is: | java.net.ConnectException: Connection refused | at org.jboss.invocation.http.interfaces.HttpInvokerProxy.invoke(HttpInvokerProxy.java:133) | at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:365) | at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:197) | at org.jboss.jmx.connector.invoker.client.InvokerAdaptorClientInterceptor.invoke(InvokerAdaptorClientInterceptor.java:66) | at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:68) | at org.jboss.proxy.ClientMethodInterceptor.invoke(ClientMethodInterceptor.java:74) | at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:101) | at $Proxy0.getDefaultDomain(Unknown Source) | at org.jboss.console.twiddle.command.ServerInfoCommand.execute(ServerInfoCommand.java:137) | at org.jboss.console.twiddle.Twiddle.main(Twiddle.java:306) | Caused by: | java.net.ConnectException: Connection refused | at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:389) | at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:250) | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:237) | at java.net.Socket.connect(Socket.java:540) | at java.net.Socket.connect(Socket.java:490) | at sun.net.NetworkClient.doConnect(NetworkClient.java:180) | at sun.net.www.http.HttpClient.openSe
[jboss-user] [Beginner's Corner] - Re: how to see your posts
Thanks Peter. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253128#4253128 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253128 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - disable client chunking in jbossws-3.0.1-native-2.0.4.GA
Hey all, I have an external webservice endpoint that i have wsconsumed the wsdl for and generated the necessary classes for a client to call the web services. I am dynamically setting the port endpoint at runtime to avoid consuming the wsdl at runtime. the code looks like: | PrincipalManagement princMgmt = new PrincipalManagement(null, | new QName("http://www.microsoft.com/iptv/bss";, | "PrincipalManagement")); | | PrincipalManagementSoap pms = princMgmt.getPrincipalManagementSoap(); | | ((BindingProvider) pms).getRequestContext().put( | BindingProvider.ENDPOINT_ADDRESS_PROPERTY, | "http://"; + wsServer | + "/bss/PrincipalManagement.asmx"); | The server also has NTLM authentication required. NTLM authentication is the thing that is breaking when using the newer version. It works fine in jboss 4.2.1, but not in 4.2.3. I believe the reason is because the request made with the older jbossws version does not use chunking (Transfer-Encoding: chunked), but rather specifes the content-length. here are the http header sniffs: OLD version: | POST /bss/PrincipalManagement.asmx?datatype=JBossWSMessage= HTTP/1.1 | | SOAPAction: "http://www.microsoft.com/iptv/bss/ReadAccount"; | Content-Type: text/xml; charset=UTF-8 | JBoss-Remoting-Version: 22 | User-Agent: JBossRemoting - 2.2.1.GA (Bluto) | Host: #.#.#.# | Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 | Connection: keep-alive | Content-Length: 185 | ... | NEW version: | POST /bss/PrincipalManagement.asmx HTTP/1.1 | SOAPAction: "http://www.microsoft.com/iptv/bss/ReadAccount"; | Content-Type: text/xml; charset=UTF-8 | JBoss-Remoting-Version: 22 | User-Agent: JBossRemoting - 2.2.2.SP11 | Host: #.#.#.# | Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 | Connection: keep-alive | Transfer-Encoding: chunked | I see a newer version of jbossws (3.2...) has a chunking feature (http://www.jboss.org/community/wiki/JBossWS-NativeUserGuide#Chunked_encoding_setup). Is it possible to disable client chunking on jbossws-3.0.1-native-2.0.4.GA? Thanks Kagey View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253125#4253125 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253125 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: Can I restart an APP using JMX console?
Thanks! I actually found the answer in the wiki: http://www.jboss.org/community/wiki/RedeployFromTheJMXConsole View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253123#4253123 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253123 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: how to see your posts
I think you might have to do a search to view only your posts - put your userid into the "Search for Author" field. To watch a topic, click the "Watch this topic for replies" link that is between the buttons after the last post and before the "Instant Reply" text box. (The link text is in a very light font and is easy to miss) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253122#4253122 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253122 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - Re: How to create a JDBC connection
The oracle-ds.xml file is still needed, the one described in Developer's Notebook is probably still accurate (no major changes have gone into *-ds.xml files since 4.0). You should look into using JPA (EJB3-style entity beans) for your database access. Not sure of the exact steps to do this using Tools. Do you have an existing database schema, or will you be generating the schema based on your persistent objects? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253121#4253121 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253121 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: Can I restart an APP using JMX console?
Actually, the best way might be to "touch" the war file, or the web.xml file if you are using exploded deployment. If I recall correctly, the mbean that controls the deployment of the war, if you call the stop() operation then the app gets undeployed, meaning the war is removed form the deploy directory. So you have to copy the war back into that directory. (It has been a while since I tried this so my memory of the exact series of event might not be accurate.) But if you want to try it, run the jmx console and look for mbeans that contain the war file name (but not any of the servlet or jsp names). One of those mbeans will have the lifecycle methods (start/stop/etc). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253120#4253120 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253120 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - Re: rule traversal/execution order i drools
This question would be better asked on the RULES forum... I doubt very much the tooling team knows the ecccentricities of the rules engine. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253118#4253118 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253118 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: Technology questions
Perhaps web services for the "child services". And perhaps Seam for the main server, both for database handling and for the web user interface (Seam incorporates EJBs, entity beans and JSF). You can easily add a rich client later, and have it access the EJBs within the Seam app. Unfortunately, I don't think that telnet will work in this, but if instead of "telnet" you want "a command-line utility" then you could write such a utility that also uses the EJBs. Hope that helps. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253116#4253116 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253116 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: Deployment exception
What you posted is the report printed at the end of deployment and this report rarely provides any clues as to why the deployment failed. You need to find the first exception stack trace in the console log and post that. (By the way, you might have to increase the command prompt buffer to prevent the log entries from scrolling off of the buffer.) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253115#4253115 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253115 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: How to catch JTA/JPA exception?
"gackonac" wrote : | | So, is there any callback method/interface to be implemented by app, in order to get info from server about JTA status/actions? http://java.sun.com/javaee/5/docs/api/javax/transaction/Synchronization.html View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253114#4253114 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253114 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: Please! PLEASE! PLEASE! Just ONE Getting-started exa
Mark, just as an aside, I am not sure how set you are on using NetBeans, but since primarily Sun engineers developed both NetBeans and GlassFish it would make sense that the interaction between the two is seamless. In the proprietary world this could be considered as vendor lock-in. If you want to do development work for JBoss AS, Eclipse with JBoss Tools would be a better choice for the IDE. (There is also a JBoss Developer's Studio, but it requires a subscription and I don't think it supports AS 5.x yet.) And JBoss Tools provides several detailed tutorials. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253113#4253113 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253113 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - how to see your posts
Hi I was wondering how to see your posts only. I was finding "Show My Posts" link after I login the community home. But am not able to see any link related to that. One more thing how you add a particular topic in your watch list. I remember reading the FAQ ones but I am not having clue about this. Please help guys. TIA View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253111#4253111 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253111 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - Runing default Jboss Rules app in Eclipse3.5 + Drools3.1
Hi Here I am trying to run a default Drools Project in eclipse3.5 JDK1.5 Windowx XP I created a Drool Runtime.(c:/drools) But no jar was automatically copied to that directory. I manually copied these jars to that. Here is the list of jar filesdrools-all-jdk5-2.1.jar | drools-ant-5.0.1.jar | drools-api-5.0.1.jar | drools-bam-5.0.1.jar | drools-clips-5.0.1.jar | drools-compiler-5.0.1.jar | drools-core-5.0.1.jar | drools-decisiontables-5.0.1.jar | drools-jsr94-5.0.1.jar | drools-mc-5.0.1.jar | drools-messenger-jms-5.0.1.jar | drools-persistence-jpa-5.0.1.jar | drools-process-task-5.0.1.jar | drools-templates-5.0.1.jar | drools-transformer-jaxb-5.0.1.jar | drools-transformer-jxls-5.0.1.jar | drools-verifier-5.0.1.jar | drools-workitems-5.0.1.jarNow I am getting this error in Eclipse consoleorg.drools.RuntimeDroolsException: Unable to load dialect 'org.drools.rule.builder.dialect.java.JavaDialectConfiguration:java:org.drools.rule.builder.dialect.java.JavaDialectConfiguration' | at org.drools.compiler.PackageBuilderConfiguration.addDialect(PackageBuilderConfiguration.java:274) | at org.drools.compiler.PackageBuilderConfiguration.buildDialectConfigurationMap(PackageBuilderConfiguration.java:259) | at org.drools.compiler.PackageBuilderConfiguration.init(PackageBuilderConfiguration.java:176) | at org.drools.compiler.PackageBuilderConfiguration.(PackageBuilderConfiguration.java:153) | at org.drools.compiler.PackageBuilder.(PackageBuilder.java:242) | at org.drools.compiler.PackageBuilder.(PackageBuilder.java:142) | at org.drools.builder.impl.KnowledgeBuilderProviderImpl.newKnowledgeBuilder(KnowledgeBuilderProviderImpl.java:29) | at org.drools.builder.KnowledgeBuilderFactory.newKnowledgeBuilder(KnowledgeBuilderFactory.java:29) | at com.sample.DroolsTest.readKnowledgeBase(DroolsTest.java:39) | at com.sample.DroolsTest.main(DroolsTest.java:23) | Caused by: java.lang.RuntimeException: The Eclipse JDT Core jar is not in the classpath | at org.drools.rule.builder.dialect.java.JavaDialectConfiguration.setCompiler(JavaDialectConfiguration.java:94) | at org.drools.rule.builder.dialect.java.JavaDialectConfiguration.init(JavaDialectConfiguration.java:55) | at org.drools.compiler.PackageBuilderConfiguration.addDialect(PackageBuilderConfiguration.java:270) | ... 9 more | Can someone help me out of it. TIA View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253108#4253108 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253108 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: NameAlreadyBoundException classpathentries in JBoss 5.1.
Also, post the configuration files that contain the text "classPathEntries". View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253107#4253107 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253107 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: Setting up JBoss Tools in Galileo
thanks Jaikiran View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253106#4253106 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253106 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: JBoss server hangs in state
The changing ports are not a problem - some ports are dynamically assigned. See this for a list of key ports: http://www.jboss.org/community/wiki/UsingJBossBehindAFirewall The telnet syntax is "telnet [hostname] [port]", not [username]. The [hostname]s I suggested were based on the netstat output. If telnet cannot access port 1099, then Eclipse will not be able to access it either, and thus will never be able to tell whether the app server is running. All I can think of at this point is that a firewall is blocking the ports. Depending on how insistent your firewall is in doing this blocking, you might have to uninstall the firewall software to get this working. I have had to uninstall ZoneAlarm and Symantec on occasion to get some software to work, usually because I left those firewalls on 'automatic' mode and they guessed wrong. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253102#4253102 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253102 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - How to create a JDBC connection
Hi, I am trying to use a JDBC-connection to a oracle-database in a simple web-application (only servlets & JSPs) with Eclipse 3.4.2 and JBoss Tools 3. Is there a tutorial on the web how I can create a JDBC-connection with the JBoss Tools? A few years ago I have used the chapter "Connecting to a real database" from the book "JBoss - A Developer's Notebook": Creating an oracle-ds.xml, deploying it under server/default/deploy and putting a datasource-tag within the jbosscmp-jdbc.xml file. Is this still a valid approach or is this outdated with JBoss Tools 3? I think I should use the "Data Source Explorer" and the "Database Connections" instead, but I have no clue how to do this. Does exist an easy way to create a simple JDBC-connection for my DAO within a web-app? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253099#4253099 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253099 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - [jBPM 4.1] not finding the GPD
I did not find the subdirectory gpd when unzipping the jbpm-4.1.zip , whereas it was present in the 4.0 version. (and is referred to in the 4.1 doc jbpm-4.1/doc/userguide/html_single/index.html#graphicalprocessdesigner) Is it elsewhere now? ---> yes , it is in jbpm-4.1\install\src\gpd could someone udpate the doc? need a JIRA? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253098#4253098 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253098 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Re: Heavy load during web method call
2 cores is adequate, but you have to realize that while the GC is running only one of the cores will be available for the app to use. For monitoring GC, see my presentation at http://www.cecmg.de/doc/tagung_2007/agenda07/24-mai/2b3-peter-johnson/index.html View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253097#4253097 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253097 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: How to catch JTA/JPA exception?
Thanks for you answer Jaikiran. But that is more like "workaround" solution. In more general case (global/server) transaction can fail because of some other reason (JPA/SQL exception is just one of them). So, is there any callback method/interface to be implemented by app, in order to get info from server about JTA status/actions? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253095#4253095 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253095 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Can I restart an APP using JMX console?
Hi all, How can I restart an application in the JBoss container (a war file app) that is not responding without restarting the entire AS? I think there must be a JMX bean to do this, but I cannot find it. Any reply would be appreciated. Best Regards, MG View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253094#4253094 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253094 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - sample application using JBPM BPEL in OpenSource
Hi I am working in OpenSource. We can use Eclipse, JBOSS for JBPM BPEL designing . I am new to BPEL .Any one plz help me for developing a sample application using BPEL . I mean just let me know what are the sequence by which I can get a BPEL deployed and invoked. I am not able to get any clue how to use this.? Thanks in advance View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253091#4253091 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253091 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: Setting up JBoss Tools in Galileo
JBoss Tools questions are better answered in JBoss Tools user forum http://www.jboss.org/index.html?module=bb&op=viewforum&f=201 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253088#4253088 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253088 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - WS-Eventing SubscriptionEnd problem
Greetings all, I am trying to trap the SubscriptionEnd messages but an having no luck. Below are my Class, WSDL and Stacktrace. I am sure it is something small I am overlooking but I can't see it. Any and all help is appreciated. Earnie! Class package org.ebsinc.targeteer.ws; | | import javax.jws.WebMethod; | import javax.jws.WebParam; | import javax.jws.WebService; | import javax.xml.ws.addressing.Action; | | import org.jboss.logging.Logger; | import org.jboss.ws.annotation.EndpointConfig; | import org.jboss.ws.extensions.eventing.jaxws.AbstractEventSourceEndpoint; | import org.jboss.ws.extensions.eventing.jaxws.SubscriptionEnd; | | @WebService(name = "EventSource", portName = "EventSourcePort", targetNamespace = "http://schemas.xmlsoap.org/ws/2004/08/eventing";, | wsdlLocation = "/WEB-INF/wsdl/target.wsdl", endpointInterface = "org.jboss.ws.extensions.eventing.jaxws.EventSourceEndpoint") | @EndpointConfig(configName = "Standard WSAddressing Endpoint") | public class TargeteerRegistrationEndpoint extends AbstractEventSourceEndpoint { | private static final Logger log = Logger | .getLogger(TargeteerRegistrationEndpoint.class); | | @Override | protected Logger getLogger() { | return log; | } | | @WebMethod(operationName = "SubscriptionEnd") | @Action(input = "http://schemas.xmlsoap.org/ws/2004/08/eventing/SubscriptionEnd";) | public void subscriptionEnd( | @WebParam(name = "SubscriptionEnd", targetNamespace = "http://schemas.xmlsoap.org/ws/2004/08/eventing";, | partName = "body") SubscriptionEnd subEnd) { | log.debug("Subscription is ending " + subEnd); | } | | } | WSDL | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | StackTrace 09:51:23,562 ERROR [SOAPFaultHelperJAXRPC] SOAP request exception | javax.xml.rpc.soap.SOAPFaultException: Endpoint {http://schemas.xmlsoap.org/ws/2004/08/eventing}EventSourcePort does not contain operation meta data for: {http://schemas.xmlsoap.org/ws/2004/08/eventing}SubscriptionEnd | at org.jboss.ws.core.jaxrpc.SOAPFaultHelperJAXRPC.exceptionToFaultMessage(SOAPFaultHelperJAXRPC.java:189) | at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.exceptionToFaultMessage(SOAPFaultHelperJAXWS.java:183) | at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.createFaultMessageFromException(SOAP11BindingJAXWS.java:102) | at org.jboss.ws.core.CommonSOAPBinding.bindFaultMessage(CommonSOAPBinding.java:671) | at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:285) | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:474) | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:295) | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:205) | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:131) | at org.jboss.wsf.common.servlet.AbstractEndpointServlet.service(AbstractEndpointServlet.java:85) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) | at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilt
[jboss-user] [jBPM Users] - Re: Deploying JBPM project created by Eclipse in Tomcat serv
you don't *have* to deploy the definition from the designer, you can also use the jbpm api and retrieve the jpdl file from e.g. your war and use a startup servlet to deploy it and have some checks around that to see if it is not already deployed. This all is totally independent of your webproject structure, frameworks or anything. Same is true for jBPM 4 btw. Integration on e.g. signalling a process/task can be done e.g. from jsf beans. Not really difficult. Just do like is done in lots of testcases. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253084#4253084 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253084 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Unwanted warning
Hi, I have a WS client created with wsconsume, but I want to specify the service endpoint at runtime. The solution I found is: | MyService stub = new MyService(null, SERVICE_QNAME); | MyPortType myPort = stub.getMyPort(); | ((BindingProvider)myPort).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, endpointUrlString); | which works ok, except that I get a "WARN [org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl] Cannot get port meta data for: {http://ws...}MyPort"; in the log. I suppose this is caused by the fact that I pass null as wsdl location, but I don't want the client to parse the wsdl each time. Can someone help me get rid of this warning? Maybe there is a better way to dynamically specify the endpoint? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253075#4253075 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253075 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: How to trigger Sub-process from custom state recursively
look/search at the 'foreach' example (for jbpm3 ) in the wiki. Instead of multiple tasks, just start multiple subprocesses. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253073#4253073 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253073 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: Setting up JBoss Tools in Galileo
Hey guys It has been long but no reply to the post. Would someone please say 1. Is there something wrong with the post- not enough information etc. 2. Is the tech that I am using not good enough and people seldom use it. 3. The post is in wrong place. If the post is in not rite place, please say where to put it up. Thanks in advance dudes. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253069#4253069 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253069 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Deploying JBPM project created by Eclipse in Tomcat serv
Oh... I see, that's what I though... That's why i saw new workflow added into the jbpm-console when I deployed them (because they are just deployed in the DB, so I can see them once I launch the jbpm-console and use them). I'm a little perplex knowing this... Because I read everywhere that the Workflow we draw can be include into a web application, and know, if I undestand how it works, it's not possible (or not easily). I used jBPM with that goal: anonymous wrote : 1) Draw a worflow into eclipse by using jBPM-JPDL plugin | 2) Generate the workflow (and the .jsp source files needed to run it) | 3) Integrate/Display these .jsp into our project (I have a Web Project in Java J2E technology, using Hibernate and Struts) So my question will be like that: anonymous wrote : 1) Are these 3 steps are possible with JBPM 3.x ? | | 2) If not, is it possible with the latest release (4.1 of the 1st September 2009) ? So to be more simple, now I drawn the workflow. By launching it on Jboss server, I saw that it generates a website in .jsp format (faces/home.jsp, faces/login.jsp, faces/task.jsp ... ...). I'd like to take these pages (the .jsp generated) and integrate them in my own Web Java project. My situation is like that: anonymous wrote : I have in my website a template with 3 parts: | 1) A header at the top; | 2) A menu at the left; | 3) And a blank jsp in the middle. The final result I'd like is to replace the blank .jsp file by the workflow pages generated by Jboss. Is it possible ? If it's not possible, I think that I really misunderstood what Jboss jBPM is. Thanks a lot for your answers, it helps me a lot to understand the paradigm of Jboss JBPM. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253066#4253066 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253066 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - rule traversal/execution order i drools
Hi Guys I have started to use Drools engine. I set it up in Eclipse using Jboss Tools package distribution. Now I am having difficulty understanding how to specify the rules, in the rule.drl files. Here are the points that I am mostly confused about 1. what is the order in which the rules are fired. (I have multiple rules defined in the same file.) 2. In case I want to put some rules in other rule file. How to load them in working memory and what will be order in which rules in these two separate files will run. 3. I don't want to modify the object. This object attributes are being used as driving conditions in these rules. So of the rules are being reentered the condition will be true again. This is leading to unending loop. 4. I want to visit rules in the order they are specified in the rule file- from top to bottom. And I want to enter each loop only once. Any pointer to the document that gives information on the way drool rule engine works will be very helpful. I appreciate your efforts guys. Thanks in advance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253065#4253065 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253065 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: jBPM4 - Remote Service interface
Right. Unfortunately we already have jBPM3 running on the same Tomcat. We are using Alfresco and it is embedded in their product. We are trying to move away from from Alfrescos jBPM because of poor integration in our opinion. As far as the communications I was referring to external systems sending notifications back to jBPM. Which ProcessEngine will receive the notifications? But it is minor. Thanks for your input. We will discuss this and figure something out. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253061#4253061 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253061 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: NameAlreadyBoundException classpathentries in JBoss 5.1.
Please post the entire exception stacktrace. While posting logs or xml content or code, please remember to wrap it in a code block by using the Code button in the message editor window. Please use the Preview button to ensure that your post is correctly formatted. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253060#4253060 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253060 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Technology questions
Hello, I've been playing around a little bit with jboss to see whether it fits my needs. So far I find it very interesting. Diving deeper into the topics, I'm a little bit lost on the question what jboss technology to chose. I'd like to implement something like that: * Several virtual kvm servers * on each server one "child service" should be running and answer to queries from a main server * only the main server has an underlying database * a web interface shall be the view to care for the entry/handling of all data * a rich client and a telnet client may be added later * the child services are only "dumb executors", they do things in the system with root privileges or they lookup things in the system and give feedback to the main server. * Login via web is of course mandatory, main server should handle logins Is there any jboss example that comes close to what I'm looking for? What technology should I start with each of my points above? (except for the first one) Thanks in advance for any advise! Regards Michael View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253055#4253055 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253055 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: Deployment exception
Ya. Classpath was having value . and the path of Log4j home. Now I have deleted it. Now it gives the following error: DEPLOYMENTS IN ERROR: Deployment "vfsfile:/C:/jboss-5.1.0.GA/server/default/deploy/ROOT.war/" is in error due to the following reason(s): or g.jboss.deployers.spi.DeploymentException: URL file:/C:/jboss-5.1.0.GA/server/default/deploy/ROOT.war/ deployment failed Deployment "jboss.web.deployment:war=/web-console" is in error due to the following reason(s): org.jboss.deployers.spi .DeploymentException: URL file:/C:/jboss-5.1.0.GA/server/default/deploy/management/console-mgr.sar/web-console.war/ depl oyment failed Deployment "jboss.web.deployment:war=/jbossws" is in error due to the following reason(s): org.jboss.deployers.spi.Dep loymentException: URL file:/C:/jboss-5.1.0.GA/server/default/deploy/jbossws.sar/jbossws-management.war/ deployment faile d Deployment "vfsfile:/C:/jboss-5.1.0.GA/server/default/deploy/admin-console.war/" is in error due to the following reas on(s): org.jboss.deployers.spi.DeploymentException: URL file:/C:/jboss-5.1.0.GA/server/default/tmp/5c4ow43-arxzl6-fz3zl7 0o-1-fz3zm0lr-v/admin-console.war/ deployment failed Deployment "jboss.web.deployment:war=/invoker" is in error due to the following reason(s): org.jboss.deployers.spi.Dep loymentException: URL file:/C:/jboss-5.1.0.GA/server/default/deploy/http-invoker.sar/invoker.war/ deployment failed Deployment "vfsfile:/C:/jboss-5.1.0.GA/server/default/deploy/jmx-console.war/" is in error due to the following reason (s): org.jboss.deployers.spi.DeploymentException: URL file:/C:/jboss-5.1.0.GA/server/default/deploy/jmx-console.war/ dep loyment failed 17:03:20,993 INFO [Http11AprProtocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080 17:03:21,025 INFO [AjpAprProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009 17:03:21,040 INFO [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)] Start ed in 3m:4s:600ms thanks and regards, Ajay View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253048#4253048 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253048 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - How to trigger Sub-process from custom state recursively?
Hi All I have started working jbpm recently. I'm trying to realise following scenario with jbpm. Any help is appreciated. Start points to a custom activity which requests an XML file from external source. If file exists, next custom activity starts streaming it. At this point, I would like trigger rest of the logic (sub-process?) recursively for each piece of data from streaming. So, How can I start/trigger execution of sub-processes asynchronously from a custom activity with some data? Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253045#4253045 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253045 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Deploying JBPM project created by Eclipse in Tomcat serv
the PROCESS is deployed to the DB via the deploy servlet. jBPM 3 does not deploy do the deploy folder and in 4 this is only experimental View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253034#4253034 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253034 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering] - Session replication in jBoss 5.1.0 GA
Hi, I am trying the clustering in jboss 5.1.0 installed in two different machines with Apache 2.2.8 and mod_jk-1.2.28-httpd-2.2.3. The loadbalacing is working. But when i shut down one server, then the session of that particular server is not being maintained and am getting 503 exception with the below exception in mod_jk.log Exception: [Wed Sep 02 14:51:35 2009][3060:3416] [debug] jk_lb_worker.c (950): searching worker for session route node1 [Wed Sep 02 14:51:35 2009][3060:3416] [info] jk_lb_worker.c (981): all workers are in error state for session YcpysrgSEAz5HMz+mXxp3A__.node1 [Wed Sep 02 14:51:35 2009][3060:3416] [info] jk_lb_worker.c (1453): All tomcat instances failed, no more workers left (attempt=1, retry=1) [Wed Sep 02 14:51:35 2009][3060:3416] [info] jk_lb_worker.c (1464): All tomcat instances are busy or in error state [Wed Sep 02 14:51:35 2009][3060:3416] [error] jk_lb_worker.c (1469): All tomcat instances failed, no more workers left [Wed Sep 02 14:51:35 2009]router 10.68.200.122 2.390595 [Wed Sep 02 14:51:35 2009][3060:3416] [info] mod_jk.c (2615): Service error=0 for worker=router Below are my configuration: httpd.conf JkWorkersFile conf/workers.properties JkLogFile logs/mod_jk.log JkLogLevel debug JkLogStampFormat "[%a %b %d %H:%M:%S %Y]" JkMount /*.jsp router JkMount /*.* router JkMount /war31/* router JkMount /mbankserver2/* router JkMount /jmx-console/* router JkRequestLogFormat "%w %V %T" JkShmFile logs/jk.shm JkMount jkstatus Order deny,allow Deny from all Allow from 127.0.0.1 workers.properties worker.node1.port=8009 worker.node1.host=ip worker.node1.type=ajp13 worker.node1.lbfactor=1 worker.node1.cachesize=10 worker.node2.port=8009 worker.node2.host=ip worker.node2.type=ajp13 worker.node2.lbfactor=1 worker.node2.cachesize=10 worker.list=router,jkstatus worker.router.type=lb worker.router.balance_workers=node1,node2 worker.router.sticky_session=1 worker.jkstatus.type=status In application web.xml - Added the distributable tag jboss-web.xml SET_AND_NON_PRIMITIVE_GET SESSION true In both machine Jboss 1. Configured the jvmRoute in server.xml 2. Mentioned the path as SESSIONS.sar in context.xml Starting the jboss with run -c all -b ip Please let me know if i am missing something in the configuration. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253032#4253032 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253032 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Cannot use @Depends in EJB depending on another EAR deployme
We have an @Service EJB3 deployed as EAR that does not only depend on a service, but also on classes provided by another EAR deployment. We have declared the dependency using @Depends, but it seems that the annotation cannot take effect because already loading of the EJB class fails, since it uses classes provided by the other EAR which isn't deployed yet - a NoClassDefFoundError is thrown. The only solution we have found so far is having the EJB EAR deployed after the other EAR by renaming it to something like "xxx...". Is there another way to declare a dependency of an EJB3 to an EAR deployment than the @Depends annotation, i.e. by using some deployment descriptor like jboss.xml? We actually tried the latter but failed on the fact that in EJB 2.1 there is nothing like a "service" enterprise bean. We also tried to make the EJB an (X)MBean which has a dependency to the EAR deployment but that does not seem to affect the EJB - it is still deployed before the EAR it depends on. Any ideas? Cheers, Torsten View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253030#4253030 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253030 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: Please! PLEASE! PLEASE! Just ONE Getting-started exa
Hi, I think you should remove all three files from WEB-INF\lib of the WAR. The JBoss ones are found at those locations: -ejb3-persistence.jar => common\lib -el-api.jar => common\lib , jsf-api.jar => server\default\deploy\jbossweb.sar\jsf-libs Normally, NetBeans should add those to the references/class path of your project (at least Eclipse does so ;-) ). Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253028#4253028 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253028 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Deploying JBPM project created by Eclipse in Tomcat serv
Thanks for the quick answer kukeltje ! For the story, I spent my times configuring all sort of possibilities using different version of jBPM and only a few of them "works" sucessfully. So I explain what i did and where i am now: I have followed this wiki few days ago: anonymous wrote : http://www.jboss.org/community/wiki/JbpmOnTomcat I sucessfully launched the jBPM-console with Apache Tomcat/6.0.20 and jBPM 3.2.GA (the same jBPM as the wiki). So the example runs well, I can launch the jbpm-console via Apache Tomcat, play with some workflows inside, and it interacts well with the MySQL DB (login, update the workflow table when i play with it inside the application). So now, I create a simple jBPM in eclipse, like the one shown in the jBoss jBPM demo here: anonymous wrote : http://docs.jboss.com/jbpm/v3/demos/movies/jbpm-overview.htm Like shown in the demo, to deploy the process, i click on the process, then go to the deployment tabs in Eclipse and launch the button "Deploy process archive ...". A message saying that it was deployed sucessfully is diplayed. I though, now i have configured jBPM using the Apache Tomcat server, that the project will be deploy directly in the webapps folder of Tomcat. But no, and the problem is that I don't know where it is deployed (and so I don't know the URL adress of the project... Because generally, it is juste: http://localhost:8080/projectname , with projectname corresponding to the name of the folder deployed in webapps Tomcat). The webapps folder doesn't contain the project deployed (and I really have no idea where it is). Here's a screenshot describing what i said and some interrogations i have. [img]http://img232.imageshack.us/img232/763/jbpm.png[/img] http://img232.imageshack.us/img232/763/jbpm.png Thanks for your help :) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253011#4253011 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253011 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: NameAlreadyBoundException classpathentries in JBoss 5.1.
Some extra information: Bith applications have a dependency on jibx. After deploying the first application I see this in the log file: 11:06:36,669 INFO [ClientENCInjectionContainer] STARTED CLIENT ENC CONTAINER: jibx-extras-1.2.1 11:06:36,673 INFO [ClientENCInjectionContainer] STARTED CLIENT ENC CONTAINER: jibx-run-1.2.1 What does this mean? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253008#4253008 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253008 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - NameAlreadyBoundException classpathentries in JBoss 5.1.0 JD
Hi, We are migrating from 4.2.3 to 5.1.0 and are deploying the first two ejb jars. When deploying the second jar we get the following exception: 10:56:19,320 ERROR [Ejb3ClientDeployer] Could not deploy vfszip:/opt/jboss-5.1.0.GA/server/trp/deploy/internet-resources-services-impl-1.0-SNAPSHOT-ejb-deployment.jar/jibx-extras-1.2.1.jar/ javax.naming.NameAlreadyBoundException: classPathEntries jboss.xml of app 1: http://www.jboss.com/xml/ns/javaee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee http://www.jboss.org/j2ee/schema/jboss_5_1.xsd"; version="3.0"> net.ripe:loader=internet-resources-services-impl.jar jboss xml of app 2: http://www.jboss.com/xml/ns/javaee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee http://www.jboss.org/j2ee/schema/jboss_5_1.xsd"; version="3.0"> net.ripe:loader=customer-services-impl.jar Any thoughts how to solve this? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253005#4253005 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253005 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: Please! PLEASE! PLEASE! Just ONE Getting-started exa
Oh, there is no need to apologize about assuming something :-) I am just letting you know that the example I am trying to run is simple enough that there is not much to do wrong. Your idea about the conflicts sounds very possible. The deployed WAR file is at http://www.t4p.com/ZooAppJBoss.war /Mark View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253000#4253000 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253000 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Deploying JBPM project created by Eclipse in Tomcat serv
why do you use jBPM 3.1.4? There is a 3.2.x version and already even a 4.0 version. And yes, jBPM 3 runs great on Tomcat, 3.2 even better than 3.1. You *cannot* run the JBoss version on Tomcat since there are some differences, but those are described in many places (including the wiki) So for us to be helpfull, you have to provide e.g. errors/stacktraces etc, since it should work. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252999#4252999 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4252999 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: Please! PLEASE! PLEASE! Just ONE Getting-started exa
Hi Mark, sorry for assuming that you "misused" Netbeans. I don't know this IDE, but I think that some library is added automatically to your deployed package which conflicts with JBoss. Could you post the content of all "lib" folders of the deployed ear file? Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252994#4252994 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4252994 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: JBoss server hangs in state
Both PCs running with XP Service Pack 3. Yes, when I run netstat on my PC with 4.2.3 twice I got different outputs. The ports 1098, 1099, 3873, , 4445, 4446, 8009, 8080, 8083 and 8093 are always the same, but three ports change: 1153, 1154, 1157 at the first call 1158, 1159, 1162 at the second call 1167, 1168, 1170 at the third call "telnet [user-name] 1099" does not work on both PCs. It's always the same error: Connecting to [user-name]...Could not open connection to the host on port 1099: Connection failed I have started JBoss on both PCs within Eclipse and on the command-line. The output is the same: JBoss started within Eclipse (host-name in the Overview is localhost): INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8080 JBoss started within Eclipse (host-name in the Overview is 127.0.0.1): INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080 JBoss started on command line: INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252991#4252991 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4252991 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: process definition image
The console is smart enough to check the package names of the process XML/ process image, which allows for multiple processes/images in one .bar. The g attribute is only storing the x, y of the activity. So you still need the image to 'draw' for example the current activity on that image, using the x,y from the g attribute. Ofc, another approach could be that the process is reconstructed using the g attribute only (which is exactly what happens when you use Signavio and the GPD), but we haven't followed that path yet. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252989#4252989 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4252989 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: jBPM4 - Remote Service interface
The only downside is that your config is repeated twice (once on tomcat, once on JBoss). Imo, if there is a communication problem with external systems, than there is a problem in the architecture ;-) The biggest plus for having separate process engines is that each instance can be controlled on its on. Say you want to migrate the tomcat version to another DB, or upgrade the tomcat version only, than this approach lets you do exactly that. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252988#4252988 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4252988 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Deploying JBPM project created by Eclipse in Tomcat server
Hello, I'm developping a project using Jboss jBPM. So I had designed a workflow using the jPDL Eclipse plugin and my project can be deployed by launching Jboss server (start.bat). When done, I have searched where Jboss is deploying the project and discovered that the folder was created in 2 places: anonymous wrote : "jbpm-starters-kit-3.1.4\jbpm\src\resources\jbpm.war\"; | AND | "jbpm-starters-kit-3.1.4\jbpm-server\server\jbpm\tmp\deploy\tmpXXXjbpm-exp.war\" I imagine that the second folder is a temp/cache folder used when the project is deployed (when we shutdown the server, this folder disappears). I have followed many wiki and tuto on "How to setup Jboss/jBPM with Apache Tomcat and MySQL" but I didn't make it. I wanted to know if it was possible to deploy the project generated by jBoss server in Tomcat by, for example: anonymous wrote : Copy the project folder generated (generated and used by jBoss server) directly into Tomcat webapps. | OR | Make a .war of this project generated by Jboss server and deploy it into Tomcat webapps (it's approximatively the same thing i thing...) So i tried this 2 methods but i didn't make it... The project is not correctly deployed (in the Tomcat manager, I can see the "deployed" status at FALSE). Is there a simple solution to take a jBPM project and to run i on Apache Tomcat server (i imagine that the 2 servers or not so different) ? My configuration: jbpm-starters-kit-3.1.4 Apache Tomcat/6.0.20 Thanks for your help. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252987#4252987 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4252987 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: Urgent! Clustered-queue on 2 nodes failed
Also beware of this: https://jira.jboss.org/jira/browse/JBMESSAGING-1713 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252984#4252984 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4252984 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: How to catch JTA/JPA exception?
The flush to DB automatically happens on a tx commit. So the exception happens during the onCommit callbacks of tx. If you want the DB operation to be run immidiately, then use the flush() to explicitly flush it to DB and catch the exception: | onMessage() | { | | try | { | em.update...(...); | |// flush |em.flush(); | } | catch (Exception e) | { | ... | } | | } View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252983#4252983 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4252983 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB] - Re: EJB3 Timer and AS restart
There is a post in a different forum about this: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=139076 And a bug in JIRA: https://jira.jboss.org/jira/browse/JBAS-5779 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252981#4252981 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4252981 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: Custom StrictMaxPool settings in ...-aop.xml ignored
See this http://www.jboss.org/file-access/default/members/jbossejb3/freezone/docs/reference/1.0.7/html/SessionBean_and_MDB_configuration.html View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252980#4252980 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4252980 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB] - Re: EJB3 Timer and AS restart
I have experienced the same problem, currently with jboss-4.2.3.GA. And for me, the problem is even worse because the timers expire at a time the server is not yet completely started and not all required services are started. This results in failures and eventually I have to restart the server and then the problem can start all over. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252975#4252975 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4252975 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user