[jboss-user] [JBoss Portal] - Re: weired problem method gets call twice!!
I'm also getting the same issue. did u get out of this weird problem? If yes, please help me... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250059#4250059 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250059 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Error in documentation regarding Implementation of DecisionH
If you write your own Decision Class which has to implement DecisionHandler the documentation tells you to implement a method called select(). | public class ContentEvaluation implements DecisionHandler { | | public String select(OpenExecution execution) { | String content = (String) execution.getVariable("content"); | if (content.equals("you're great")) { | return "good"; | } | if (content.equals("you gotta improve")) { | return "bad"; | } | return "ugly"; | } | } | When I created my own class DecisionHandler made me implement a method called decide(). I think this an error in the docs and so it should be like this: | public class ContentEvaluation implements DecisionHandler { | | public String decide(OpenExecution execution) { | String content = (String) execution.getVariable("content"); | if (content.equals("you're great")) { | return "good"; | } | if (content.equals("you gotta improve")) { | return "bad"; | } | return "ugly"; | } | } | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250057#4250057 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250057 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: [GPD] Duplication of tag and problems with the setting o
I am using jbpm-4.0. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250054#4250054 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250054 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - [GPD] Duplication of tag and problems with the setting of pr
Good morning! I am not sure if this a bug so it's me again posting. I encountered the following problem. I was creating process definitions with the GPD component and I used an exlusive gateway and via the context menu I set a Handler Class for the gateway. Afterwards I was switching between the diagramm and source view to do some manual changes to the code like adding form-attributes to user tasks. After some switching between diagramm and source code I noticed a second handler tag within a decision. | | | | | | | Since I added the jPDL4-schema to the Eclipse catalogue the source code editor complained about this and marked the second line in red. I encountered this at least 3 times and I always had to remove the second tag manually. Should I fill an issue in JIRA? The second problem I encountered is that when I was trying to set properties of process elements in the process definition like task names the letters have been written from right to left. For example when typing "my_task" changed to "ksat_ym". Should I fill an issue for this as well? I am using Eclipse 3.5.0 (Java EE) with JRE1.6.0_06 on Windows XP SP3. Thanks for your attention. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250053#4250053 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250053 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Log4j Error
Hi, I'm trying to deploy a WAR file with it's own log4j.properties and log4j.jar. I have tried using the jboss-web.xml in the WEB-INF directory as shown below: | http://www.jboss.org/j2ee/dtd/jboss-web_4_2.dtd";> | | | | rfims:loader=rfims.war | | java2ParentDelegation=false | | | | But I keep getting the following error: 15:55:50,865 ERROR [STDERR] log4j:ERROR A "org.jboss.logging.appender.FileAppender" object is not assignable to a "org.apache.log4j.Appender" variable. | 15:55:50,865 ERROR [STDERR] log4j:ERROR The class "org.apache.log4j.Appender" was loaded by | 15:55:50,865 ERROR [STDERR] log4j:ERROR [org.jboss.mx.loading.unifiedclassload...@85097d{ url=file:/D:/jboss-4.2.2.GA/jboss-4.2.2.GA/server/default/tmp/deploy/tmp30919rfims-exp.war/ ,addedOrder=43}] whereas object of type | 15:55:50,865 ERROR [STDERR] log4j:ERROR "org.jboss.logging.appender.FileAppender" was loaded by [org.jboss.system.server.noannotationurlclassloa...@ab95e6]. | 15:55:50,865 ERROR [STDERR] log4j:ERROR Could not instantiate appender named "FILE". Can anyone help? Thanks. BTW using jboss-4.2.2.GA View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250052#4250052 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250052 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JBoss portal performance: (Portal)templatePortal.copy(da
This is a performance issue with JBP. This particular method gets called when dashboard gets created first time for user. If we have 20K users for JBP, 20k select queries gets fired every time a new dashboard gets created. So it appears complete show stopper. Even second level caching does not help in this scenario. Following is the way to recreate the scenario. 1) check out code from SVN (JBoss_Portal_Branch_2_7). 2) put the SOP's around this method in CustomizationManagerService. | if (dashboardPortal == null) | { |Portal templatePortal = (Portal)portalObjectContainer.getObject(TEMPLATE_ID); | |// Copy the template portal |System.out.println("templatePortal.copy(dashboardContext, userId, false); ===>start"); |dashboardPortal = (Portal)templatePortal.copy(dashboardContext, userId, false); |System.out.println("templatePortal.copy(dashboardContext, userId, false); ===>end"); |copy(templatePortal, dashboardContext.getChild(userId)); | | } | 3) compile & deploy and run it. Create some 8-10 users from admin-portlet. 4) restart the server then login with new users and access the dashboard. you will notice so many select queries within those SOP's. N0umber of these select statements are equal to number of dashboard already created in JBP. Following is the output with 3 users. | | templatePortal.copy(dashboardContext, userId, false); ===>start | 10:32:03,547 INFO [STDOUT] Hibernate: select displaynam0_.INSTANCE_PK as INSTANCE1_0_, displaynam0_.TEXT as TEXT0_, displaynam0_.LOCALE as LOCALE0_ from JBP_PORTAL_OBJECT_DNAMES displaynam0_ where displaynam0_.INSTANCE_PK=? | 10:32:03,548 INFO [STDOUT] Hibernate: select children0_.PARENT_KEY as PARENT4_1_, children0_.PK as PK1_, children0_.NAME as NAME1_, children0_.PK as PK9_0_, children0_."PATH" as PATH2_9_0_, children0_.NAME as NAME9_0_, children0_.PARENT_KEY as PARENT4_9_0_ from JBP_OBJECT_NODE children0_ where children0_.PARENT_KEY=? | 10:32:03,550 INFO [STDOUT] Hibernate: select portalobje0_.PK as PK10_0_, portalobje0_.LISTENER as LISTENER10_0_, portalobje0_4_.INSTANCE_REF as INSTANCE2_18_0_, case when portalobje0_1_.PK is not null then 1 when portalobje0_2_.PK is not null then 2 when portalobje0_3_.PK is not null then 3 when portalobje0_4_.PK is not null then 4 when portalobje0_.PK is not null then 0 end as clazz_0_, declaredpr1_.OBJECT_KEY as OBJECT1_2_, declaredpr1_.jbp_VALUE as jbp2_2_, declaredpr1_.NAME as NAME2_, modes2_.PK as PK3_, modes2_.name as name3_, windowstat3_.PK as PK4_, windowstat3_.name as name4_ from JBP_PORTAL_OBJECT portalobje0_ left outer join JBP_CONTEXT portalobje0_1_ on portalobje0_.PK=portalobje0_1_.PK left outer join JBP_PORTAL portalobje0_2_ on portalobje0_.PK=portalobje0_2_.PK left outer join JBP_PAGE portalobje0_3_ on portalobje0_.PK=portalobje0_3_.PK left outer join JBP_WINDOW portalobje0_4_ on portalobje0_.PK=portalobje0_4_.PK left outer join JBP_PORTAL_OBJECT_PROPS de! claredpr1_ on portalobje0_.PK=declaredpr1_.OBJECT_KEY left outer join JBP_PORTAL_MODE modes2_ on portalobje0_.PK=modes2_.PK left outer join JBP_PORTAL_WINDOW_STATE windowstat3_ on portalobje0_.PK=windowstat3_.PK where portalobje0_.PK=? | 10:32:03,557 INFO [STDOUT] Hibernate: select portalobje0_.PK as PK10_0_, portalobje0_.LISTENER as LISTENER10_0_, portalobje0_4_.INSTANCE_REF as INSTANCE2_18_0_, case when portalobje0_1_.PK is not null then 1 when portalobje0_2_.PK is not null then 2 when portalobje0_3_.PK is not null then 3 when portalobje0_4_.PK is not null then 4 when portalobje0_.PK is not null then 0 end as clazz_0_, declaredpr1_.OBJECT_KEY as OBJECT1_2_, declaredpr1_.jbp_VALUE as jbp2_2_, declaredpr1_.NAME as NAME2_, modes2_.PK as PK3_, modes2_.name as name3_, windowstat3_.PK as PK4_, windowstat3_.name as name4_ from JBP_PORTAL_OBJECT portalobje0_ left outer join JBP_CONTEXT portalobje0_1_ on portalobje0_.PK=portalobje0_1_.PK left outer join JBP_PORTAL portalobje0_2_ on portalobje0_.PK=portalobje0_2_.PK left outer join JBP_PAGE portalobje0_3_ on portalobje0_.PK=portalobje0_3_.PK left outer join JBP_WINDOW portalobje0_4_ on portalobje0_.PK=portalobje0_4_.PK left outer join JBP_PORTAL_OBJECT_PROPS de! claredpr1_ on portalobje0_.PK=declaredpr1_.OBJECT_KEY left outer join JBP_PORTAL_MODE modes2_ on portalobje0_.PK=modes2_.PK left outer join JBP_PORTAL_WINDOW_STATE windowstat3_ on portalobje0_.PK=windowstat3_.PK where portalobje0_.PK=? | 10:32:03,564 INFO [STDOUT] Hibernate: select portalobje0_.PK as PK10_0_, portalobje0_.LISTENER as LISTENER10_0_, portalobje0_4_.INSTANCE_REF as INSTANCE2_18_0_, case when portalobje0_1_.PK is not null then 1 when portalobje0_2_.PK is not null then 2 when portalobje0_3_.PK is not null then 3 when portalobje0_4_.PK is not null then 4 when portalobje0_.PK is not null then 0 end as clazz_0_, de
[jboss-user] [JBoss Messaging] - Re: Receiving Messages from multiple nodes in a Cluster
I think it's not a jbm issue, pleas take a look at the doc http://docs.jboss.org/jbossas/guides/clusteringguide/r2/en/html_single/#clustering-jndi-client View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250050#4250050 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250050 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: persistence-context-ref always yields same object instan
anonymous wrote : Whether I do the JNDI lookup multiple times right after each other in the same method, or test what the JNDI lookup returns in multiple simultaneous requests, the result is always an object instance with the same ID (e.g. org.jboss.jpa.tx.transactionscopedentitymana...@d78f1b). Hmm, i would have expected it to return different instances in the multiple simultaneous requests usecase. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250049#4250049 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250049 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Application Scoped datasources
As Peter said, even if you package the datasource within your app, the datasource will finally be bound to a JNDI tree which can be accessible by other applications deployed on the same server instance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250047#4250047 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250047 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: can multiple nodes use the same exploded war
Which exact version of JBossAS? And when you say the number of files is large, do you mean the number of files in the WAR? And so you are worried that all these files will be copied to the tmp folder on individual nodes? And hence going for exploded deployment? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250046#4250046 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250046 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Maintaining properties between deployments of WAR file
"tmcdeploy" wrote : My sys admin is insistent that it should go there ... however when I do so I get the following error: | That's because the deploy directory does not allow any files which it doesn't recognize. What is the reason they give you for not allowing the files in the conf folder (which is the right place) but forcing you to use the deploy folder? "tmcdeploy" wrote : | Can you point me to any official documentation that says I can't put it there? The documentation is here https://www.jboss.org/community/wiki/jbossapplicationserverofficialdocumentationpage but i don't think it will have a section for which files are not allowed in the deploy folder. If your admins are adamant on using the deploy folder, then you can use the properties-service.xml (which is already available in the deploy folder) to add your properties as System properties. See this guide http://docs.jboss.org/jbossas/jboss4guide/r1/html/ch10.html#ch10.props.sect: | | | xyz=some value | | | In your code, you can then access it as: System.getProperty("xyz"); View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250045#4250045 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250045 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Maintaining properties between deployments of WAR file
My sys admin is insistent that it should go there ... however when I do so I get the following error: 2009-08-18 13:57:52,096 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment listing: --- Packages waiting for a deployer --- org.jboss.deployment.deploymenti...@2da85bef { url=file:/D:/jboss-4.2.2.GA/jboss-4.2.2.GA/server/default/deploy/applicationProperties.xml } deployer: null status: null state: INIT_WAITING_DEPLOYER watch: file:/D:/jboss-4.2.2.GA/jboss-4.2.2.GA/server/default/deploy/applicationProperties.xml altDD: null lastDeployed: 1250567872096 lastModified: 1250567872096 mbeans: Can you point me to any official documentation that says I can't put it there? Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250043#4250043 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250043 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Receiving Messages from multiple nodes in a Cluster
For whole setup, Iam using Jboss AS 4.2.3GA with Jboss Messaging 1.4.2-SP1 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250042#4250042 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250042 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Maintaining properties between deployments of WAR file
You can't place it in the deploy folder. If you want it to be in deploy folder, you will have to package it with your application. Why do you want it there? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250041#4250041 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250041 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Receiving Messages from multiple nodes in a Cluster
My application is that, in which I've a session bean which is called by the client and an event is fired from that bean on a topic. My JMS remote client is listening to that topic and performs some operations on the type of event fired. The whole solution works fine if we have a single node in the cluster, but problem occurs when we have multiple nodes in the cluster. The scenario is : 1. Multiple nodes in the cluster, NOICLT22560 and NOICLT13294 and partition name is NOICLT22560_PARTITION. 2. The session bean responsible for firing the event is clustered and is firing the events on the topic using JmsXA. Being clustered, the call from the client can be executed on any of the node and thus, event can be fired from any node. But now, what I want is a type of client that can bound to the partition name, instead of the node name to receive events from any of the node in the cluster. I tried a lot, but my client gets connected to any one of the node and listen events from that node only. Here is my client code: | | package com.abc.jbmtest.client; | | | import java.util.Properties; | | import javax.jms.Connection; | import javax.jms.ConnectionFactory; | import javax.jms.ExceptionListener; | import javax.jms.JMSException; | import javax.jms.Message; | import javax.jms.MessageConsumer; | import javax.jms.MessageListener; | import javax.jms.ObjectMessage; | import javax.jms.Session; | import javax.jms.TextMessage; | import javax.jms.Topic; | import javax.naming.CommunicationException; | import javax.naming.Context; | import javax.naming.InitialContext; | import javax.naming.NamingException; | | | public class MessageListenerClient | implements MessageListener, ExceptionListener | { | | | public MessageListenerClient() | { | final Properties props = new Properties(); | props.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); | props.put(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces"); | props.put(Context.PROVIDER_URL, "NOICLT13274:1100,NOICLT22560:1100"); | //props.put("jnp.partitionname", "NOICLT22560_PARTITION"); | //props.put(Context.PROVIDER_URL, "jnp://NOICLT13274:1099,jnp://NOICLT22560:1099 "); | | try | { | final Context context = new InitialContext(props); | ConnectionFactory mTopicConnectionFactory = (ConnectionFactory) context.lookup("ConnectionFactory"); | System.out.println(mTopicConnectionFactory); | Topic mTopic = (Topic) context.lookup("topic/CMSPublic"); | | | Connection mTopicConnection = mTopicConnectionFactory.createConnection(); | Session mTopicSession = mTopicConnection.createSession(true, Session.AUTO_ACKNOWLEDGE); | | // Create subscriber | MessageConsumer mSubscriber = mTopicSession.createConsumer(mTopic); | mSubscriber.setMessageListener(this); | mTopicConnection.setExceptionListener(this); | | mTopicConnection.start(); | } | catch (final CommunicationException anException) | { | System.err.println("Server is not avaliable!!! \n Trying to reconnect the server!! " + anException.getMessage()); | } | catch (final NamingException anException) | { | System.err.println("Server is not avaliable!!! \n Trying to reconnect the server!! " + anException.getMessage()); | // stopJMSEvents(); | // startJMSEvents(); | } | catch (final JMSException anException) | { | System.err.println("Server is not avaliable!!! \n Trying to reconnect the server!! " + anException.getMessage()); | | } | | catch (Exception finalException) | { | System.err.println("Exception while starting JMS event listener. You may not be able to receive event, please restart your application"); | finalException.printStackTrace(); | } | | | } | | | | @Override | public void onMessage (Message aMessage) | { | | try | { | if (aMessage instanceof TextMessage) | { | TextMessage message; | message = (TextMessage) aMessage; | System.out.println("Message Reciieved -- " + message.getText()); | } | else if (aMessage instanceof ObjectMessage) | { | ObjectMessage message = (ObjectMessage) aMessage; | System.out.println("Message Reciieved -- " + message.getObject()); | } | else | { |
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Maintaining properties between deployments of WAR file
is it possible to have this properties file in the deploy directory rather than the conf directory? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250034#4250034 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250034 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - continuos redeployment of seam with birt
Hello guys I currently try to add birt to a seam project. I added a birt facet to an existing seam ear project and redeployed it to the jboss server. it started normally, but a few seconds after complete deployment, the application undeploys and deploys again and so on, until the server runs out of memory. In the jboss-as-logs I see no error message then I tried to make a new project, with the same result. I also tried to use seam 2.0 instead of seam 2.1 or to make a war project instead of a ear. I tried to use ant instead of maven. but always the same result. I used Seam 2.1.2 and 2.0.2 Birt 2.5 Jboss AS 5.1 Jboss Tools 3.1 M2 Anyone has the same problem? Or has an idea how to debug this? Thanks in advance View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250033#4250033 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250033 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Migration of singletons
Right; there's no mechanism to migrate. You can open a JIRA if you want to request that as a feature. Even better, implement it. :-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250032#4250032 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250032 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: virtual directories in Jboss 5
here's a solution for adding virtual directory: http://www.coderanch.com/t/436452/JBoss/JBoss-virtual-directory-jboss View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250030#4250030 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250030 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Generating DDL from annotated POJOs
I was sure I answered this issue already, but apparently that got lost somehow. You need to add the driver to the classpath of the project or console configuration in releases before JBT 3.1.x. After that (current nightly buiilds) we add the DTP connection classpath to the classpath automatically. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250028#4250028 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250028 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: prepare failed with exception XAException.XAER_RMFAIL??
@Richard, Thank you so much. I totally forgot to look in the DBMS (normally the DBA does those things). It helped me get one step further. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250027#4250027 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250027 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Authentication Error
Hello, I am getting the following exception: ERROR [JBossWebRealm] Error during authenticate java.lang.IllegalStateException: Security Context has not been set at java.security.AccessController.doPrivileged(Native Method) I don't think I should post the entire exception here but if needed I will. Can somebody give me a hint as to what possible configuration issue I might be having with this? I don't know where to set the Security Context or how to set it. Thanks for your help. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250025#4250025 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250025 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Defualt page problem
Thanks for that, I thought nobody will answer for the questions by newbies. Philip View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250022#4250022 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250022 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: sub process event propagation
The parent process does not get set in 4.0 either, but there is a relation to the parent execution (the execution that started the subprocess). So I'm not sure events bubble up to the parent execution or not. Testing is the quickest you can do or wait until I get a response from the devs (have not worked with that part myself yet) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250018#4250018 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250018 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: simple: bean name of ejb local in inject tag
There is a JndiKernelRegistryPlugin which can help you with and MC+Jndi simple integration. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250014#4250014 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250014 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: sub process event propagation
Hmm, having looked at the code and a few entries in this forum relating to visibility of parent process from the sub-process this appears to be a current limitation in 3.3 Before I raise a feature request, a question; is this also an issue in 4.0? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250013#4250013 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250013 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: java.net.BindException: Address already in use: JVM_Bind
I ran netstat -ab on Windows XP and found that Firefox was using ports 1097, 1098, 1099, and 1100. I currently have firefox 3.0.9 and multiple development plug-ins. I stoped firefox and restarted my JBoss server and it worked! I then restarted firefox and changed to ports 3031, 3032, 3033, and 3034. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250011#4250011 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250011 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - MDB Pool Settings
I am using JBoss 4.3 and having problems controlling the pool settings. How can I control the MDB pool size? Can I use the JMX console verify the changes? Specifically the min and max instances in the pool? I have tried using the pool annotation and changing setting in the standardjboss.xml with no affect. Any pointers are appreciated. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250010#4250010 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250010 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - DatabaseServerLoginModule failing after success?...confused
I am using jboss-5.0.0.GA. I have tried to use the DatabaseServerLoginModule. Please see the following configuration and audit.log. Everything seems to work until redirect back to original requested resource. I am at my wits end. Please... Any help would be much appreciated. I changed the default ports in bindings.xml | | |jboss.web:service=WebServer |80 | | | | | | | |jboss.web:service=WebServer |HttpsConnector |443 | | | lt4-mysql-ds.xml | | | jdbc/lt4DS | jdbc:mysql://localhost:3306/lt4 | com.mysql.jdbc.Driver | lt4_db_user | lt4_db_user | TRANSACTION_READ_COMMITTED | 5 | 20 | 15 | | mySQL | | | | lt4-jboss-beans.xml | | | | | | guest | java:/jdbc/lt4DS | SELECT a.userpass FROM lt4._auth_user a where a.username=? | SELECT a.role,'rolegroup' FROM lt4._auth_userrole a where a.username=? | | | | | jboss-app | | http://www.jboss.org/j2ee/dtd/jboss-app_4_2.dtd";> | | strict | java:/jaas/lt4-security-domain | com.devj2ee:loader=lt4Ear.ear | | application.xml | | http://java.sun.com/dtd/application_1_3.dtd";> | | lt4 | This is the lt4 ear. | | | lt4WebApp.war | /main | | | | jboss-web | | http://www.jboss.org/j2ee/dtd/jboss-web_5_0.dtd"; > | | java:/jaas/lt4-security-domain | | /main | | lt4webapp.com | | jdbc/lt4DS | java:/jdbc/lt4DS | | | web.xml | | http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";> | | Lt4 Web App | | | FORM | Lt4 | | /login.jsp | /fail_login.html | | | | | | SecurityRestriction | Lt4 security | /app/* | GET | POST | | | lt4_app_admin | | | CONFIDENTIAL | | | | | Lt4 User | lt4_app_admin | | | | jdbc/lt4DS | javax.sql.DataSource | Container | | | | audit.log 2009-08-17 14:33:28,708 INFO [org.jboss.bootstrap.microcontainer.ServerImpl] (main:) JBoss (Microcontainer) [5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA date=200812041714)] Started in 39s:953ms 2009-08-17 14:33:30,313 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] (Thread-12:) Periodic recovery - second pass 2009-08-17 14:33:30,320 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] (Thread-12:) AtomicActionRecoveryModule: Second pass 2009-08-17 14:33:30,320 DEBUG [com.arjuna.ats.txoj.logging.txojLoggerI18N] (Thread-12:) [com.arjuna.ats.internal.txoj.recovery.TORecoveryModule_6] - TORecoveryModule - second pass 2009-08-17 14:33:30,320 DEBUG [com.arjuna.ats.jta.logging.loggerI18N] (Thread-12:) [com.arjuna.ats.internal.jta.recovery.info.secondpass] Local XARecoveryModule - second pass 2009-08-17 14:33:40,849 DEBUG [org.apache.catalina.connector.MapperListener] (http-127.0.0.1-80-1:) Handle jboss.web:type=RequestProcessor,worker=http-127.0.0.1-80,name=HttpRequest1 type : JMX.mbean.registered 2009-08-17 14:33:40,850 DEBUG [org.apache.catalina.connector.MapperListener] (http-127.0.0.1-80-1:) Handle jboss.web:type=RequestProcessor,worker=http-127.0.0.1-80,name=HttpRequest1 type : JMX.mbean.registered 2009-08-17 14:33:40,850 DEBUG [org.apache.catalina.connector.MapperListener] (http-127.0.0.1-80-1:) Handle jboss.web:type=RequestProcessor,worker=http-127.0.0.1-80,name=HttpRequest1 type : JMX.mbean.registered 2009-08-17 14:33:40,885 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[lt4webapp.com]] (http-127.0.0.1-80-1:) REQUEST URI =/main/app/ 2009-08-17 14:33:40,888 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[lt4webapp.com]] (http-127.0.0.1-80-1:) authType=null 2009-08-17 14:33:40,892 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[lt4webapp.com]] (http-127.0.0.1-80-1:) characterEncoding=null 2009-08-17 1
[jboss-user] [Clustering/JBoss] - HTTP Status 408 - The time allowed for the login process has
HTTP Status 408 error thrown when we enter the user credential in the login screen which was idle 30 mins (Session timeout set time). We use JAAS security and jboss server 4.2.3 GA jboss portal 2.7.2. Anybody has any thought about the error will be great help. I see the similar posting in the following link but there is no reply on that and the post was very old. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4118937 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250007#4250007 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250007 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: simple: bean name of ejb local in inject tag
Thanks. yes, sorry, I meant to enter 'inject' not 'inspect'. Typo in the morning. I found "Doing Two Models" but on first read, I wasn't sure it applied to my question. Will re-read. In any case, it looks more complex than simply doing a jndi lookup explicitly from my mc pojo. Thanks again. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250005#4250005 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250005 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: can multiple nodes use the same exploded war
Anyone has experience with this kind of deployment View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250004#4250004 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250004 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Application Scoped datasources
I did what you suggested - and It still added the datasource on the global jndi tree. In this case, i put my test datasource in the META-INF directory. | | | META-INF/datasource1-ds.xml | | | When the application is deployed, I see: INFO [ConnectionFactoryBindingService] Unbound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=datasource1' from JNDI name 'java:datasource1' on the console. A second applications (DBTester) can read the datasoure by issuing a | INFO [ConnectionFactoryBindingService] Unbound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=datasource1' from JNDI name 'java:datasource1' | Thanks for the suggestion, other ideas? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250002#4250002 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250002 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Passing objects through the workflow
Process variables should exactly behave like this. So please give that a try or make a unit test that demonstrates what you want to do. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250001#4250001 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250001 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: [jBPM4] undeploying processes in jbpm-console
Jim, He already found it... look 2 posts back ;-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=425#425 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=425 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Maintenance and Repair Tools
Are 1,2 and 3 valid for all DBMS you use? Would be great if you could confirm that. And maybe also what the default locking mechanisms are on specific database. Surprises me that there is no slowdown btw. And I'm also curious what additional indexes you created that are not already on jBPM. Since I was under the impression that FK relations had an index. Regarding the tool, finding inconsistencies is (imo) a specific problem and not a general purpose tool. Most (all?) inconsistencies (PK-FK violations, required variables not persisted etc...)should not arise if the database and transactions are configured correctly. So I'm not sure what kinds of inconsistencies you are talking about. DBMS have tools to identify some low level issues like partially corrupt tables etc, but I get the impression that is not what you mean. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=424#424 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=424 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossMQ] - Re: Stopping / starting queues... can't find invoker
Well it doesn't appear to be the fact that the MDBs are in a jar which is bundled inside a sar... deployment was exactly the same. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249996#4249996 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249996 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossMQ] - Re: Stopping / starting queues... can't find invoker
I'm trying to stop processing of messages... so let's say that I've sent 20 messages to queue A... it has an business error and has to 'stop' processing of the remaining 19 messages until the business issue is resolved. What I'm trying to do is keep the queue from executing the remaining 19 messages until I say "go". I tested this 'concept' with twiddle using JBoss 4.0.4 and EJB2, by calling the stopDelivery/startDelivery methods on the org.jboss.ejb.plugins.jms.JMSContainerInvoker mbean for the queue in context. The problem I'm having is I don't have an invoker for any of my MDBs which deployed by the EJB3 deployer... MDBs deployed by EJBDeployer have an invoker mbean associted with them, EJB3 deployed mdbs do not. Now one difference is that the EJB 2 MDBs are packaged in a jar file and in the deploy directory. The EJB 3 MDBs are in jar which is packaged in a sar file - could that make a difference? Thanks! Randall View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249994#4249994 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249994 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - need to configure wildcard subdomains for a virtual host in
Hi, is there any chance to configure a virtual host in JBoss 5.1 to redirect any subdomain to one configured virtual host. Examples of the subdomains: sub1.domain.tld sub2.domain.tld sub3.domain.tld subn.domain.tld The goal is to read a subdomain as configuration element in a servlet filter and give the caller his personal view to the application in ervery request. But unfortunately the Alias alement can't handle wildcards: | | domain.tld | *.domain.tld | | The jboss-web.xml configuration is: | | / | vhost-name | | The URL http://domain.tld:8080/ works fine but it doesn't work with any subdomain e. g. http://sub4.domain.tld. Is there any way/chance to solve this with JBoss 5.1? Or does a solution with apache 2.2 and mod_rewrite and/or mod_jk exist for this problem? Any hint is welcome =) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249990#4249990 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249990 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Messaging 1.4.4 in AS5
Howard, that great news, I'd be interested to see how the remoting update effects the bridges. I'm having a strange issue where I'm running out of heap space that seems to be related to Bridges (If there not running there's no leak). Our dev environment is undergoing a rebuild at the moment but once it's back up I'll provide more info on memory leak if I can prove for sure that it's the bridges that are causing it. Cheers, Ross View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249988#4249988 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249988 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - MDBs running on Webshere listening to queue on JBM
Hi, I want my MDB deployed on Webshere to listen to queue on JBM. What is required to achieve this functionality? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249987#4249987 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249987 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: socket connection timeouts, HTTP connections made by Htt
public InitialContext getInitialContext() throws NamingException { Hashtable environment = new Hashtable(); environment.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); //environment.put(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces"); environment.put(Context.PROVIDER_URL, "jnp://localhost:1099/"); return new InitialContext(environment); } ck this code it can help u View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249978#4249978 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249978 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Passing objects through the workflow
Hi, I have an object which I need to pass through the workflow. The object implements Serializable and I can succesfully read the object from any class which implements ActivityBehaviour. I am struggling to understand how I go about re-serializing the object so the next call to a class implement ActivityBehaviour can read the serialized object with the changes the previous class made to it? I just need someone to point me in the right direction as I'm sure I'm missing something fairly straight forward with my set up. Thanks. M View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249977#4249977 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249977 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: socket connection timeouts, HTTP connections made by Htt
I thought JNDI naming was at port 1099, not related to outbound sockets called by the JVM? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249971#4249971 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249971 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: webservive form-like authentication
Alternatively, if I can't get JBoss to ask me who the currently logged in user is, can I explicitly tell it, like in a GenericSOAPHandler, xxx.yyy.setPrincipal()? Or where can I find information about a requests processing order? For example it would be good to know if session state is established BEFORE checking the @RolesAllowed declarative security. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249969#4249969 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249969 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: simple: bean name of ejb local in inject tag
| inspect? Or is that a typo for inject? EJBs are not deployed as Microcontainer Beans (MC beans). So they are not available for injection *in MC style*. However, Andrew recently has written a plugin where in you can inject EJB beans through annotations in MC beans. Like this: | public class MyMCBean | { | | @EJB | private MyBusinessInterface ejb; | | } For further reference, see this http://exitcondition.alrubinger.com/2008/12/20/doing-two-models-at-the-same-time/ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249965#4249965 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249965 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: ClassCastException due to Xerces conflict during app dep
"jaikiran" wrote : So it really needs to be a question asked in the xerces-J forums whether there is any practical way to overriding the xercesImpl jars in a application server environment where multiple classloaders are involved. I really think the only way around this problem is by ensuring the right classloader is involved in xerces initialization by correctly setting the context classloader. The article you mention in your previous post confirms this approach. I have created a post on the JBossXB forum: http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249957#4249957 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249963#4249963 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249963 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: socket connection timeouts, HTTP connections made by Htt
u can check with the port u listening on jboss jnpPort=1099 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249961#4249961 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249961 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Maintenance and Repair Tools
kukeltje: anonymous wrote : - Would be great if you could elaborate a little on the way creating the indexes impacted performance more than just the delete (thankfully it was not the coroner you had to call ;-)) (1) When we start up the jBPM java app, we load information about all the running instances from JBPM into our application. This is much faster after indexing the table (generally anything that gathers components of a process instance or process definition is significantly faster). (2) Eliminated (almost) deadlocks on tables by enabling row locking (3) No downgrade in run-time performance (process instances do not run slower due to overhead from indexing) anonymous wrote : - I'm not a fan of serialzation (I've had an incompatibility once due to upgrading a jdk). If needed, I marshal the objects, or use explicit hibernate mappings When we started this project no one really understood how hibernate worked, much less how to configure it. I think that any new variable classes we add will be implemented the same way as the native variables. anonymous wrote : - Creating an example is not trivial, but you expect 'us' to have/know tooling for debugging it ;-) Well, I wasn't looking for a tool for a specific problem, I was wondering if there were any general purpose DB tools for jBPM. (E.g., in a previous job we had a tool that would 'walk' the database and identify any inconsistencies that might cause future problems). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249959#4249959 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249959 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: [jBPM4] undeploying processes in jbpm-console
What version of the jBPM 4 console are you running? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249958#4249958 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249958 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with Taskforms: forms cannot be found / NullPoi
Hello Ronald! I started over with a new process. One thing I observed is that I let my DecisionHandler return task names but instead the transition's name between the task and the next task was needed. So there might be some other mistakes like this. If I encounter the same problem again even with paying attention to all these aspects I am going to repost. Cheers Sebastian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249956#4249956 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249956 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: webservive form-like authentication
One more thing, the application server is running JBoss 4.2.3 and JBossWS 3.0.5, although if there's no other way, I might be able to convince management to upgrade. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249953#4249953 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249953 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - webservive form-like authentication
I would like to create a JBossWS webservice with a very specific authentication scheme, it's like securing a webservice like a website with form authentication. We want a login(...) webmethod (or several of them). When a client calls it and the authentication succeeds, we store that information (username, roles) in the session. All other webmethods would be declaratively secured like with @RolesAllowed. I haven't implemented anything yet, I'm only planning now. I believe that in the endpoint class, I can get a @Resource WebServiceContext, and after that, in the login(...) method I can get the MessageContext, and then the HttpServletRequest, and then the HttpSession. This login(...) method is unsecured, so anyone can call it, we log them in and the client automatically receive a session cookie. What I don't know how to do is this: I want JBoss to ask me before every webservice method invocation who the currently logged in user/Principal is and what roles they have. In this callback I would look at the session and return to JBoss the information that the login method stores in the session. So if I wanted to call WebServiceContext.getUserPrincipal, the principal would appear there, somehow magically, because there's no setUserPrincipal. And I believe that once a Principal is associated to the current request (or maybe the session, automatically), the @RolesAllowed annotation would work as expected. Is there any extension point that lets me do this? So far I've only come up with some poor workarounds. I think I could create a GenericSOAPHandler, it knows what I want: it does execute before every request and it does have access to the session in the function handleInbound(MessageContext msgContext). I could throw an exception from there if the session is empty, but that's far from role-based security. Or, naturally, I have access to the session in all of the webmethods, so I could call an isInRole function at the start of every method, but that's much worse than doing the same thing declaratively. I have no doubt that associating a principal+roles with a session is the only viable way for me. So is it possible? Please don't suggest WS-Security or basic authentication or things like that, requirements say we can't use that, it has to be with sessions+cookies (we're porting the server from .NET, yay, but the clients will have to stay the same). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249952#4249952 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249952 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Grouping and ordering messages on queue
Strick ordering is something not included in JMS spec 1.1, so that means each vendor are free to implement their own ordering features. you have to use vendor's specific implementation. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249947#4249947 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249947 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Grouping and ordering messages on queue
thats correct, grouping is not part of the JMS specification. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249945#4249945 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249945 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Maintenance and Repair Tools
bestage: anonymous wrote : How do you re-use the jBPM component in multiple applications? Are you distributing a jar and use a central jbpm db for the tables? This is what I am planning to do in one of my projects. But I was also thinking about the possible deadlock issues. Yes, this is the tricky part. We use a central jBPM database. We have a java app written around jBPM, which can have multiple processing threads. We can run multiple copies of this java app concurrently. A central app manages jBPM requests and forwards them to one of the java apps (but does not call into jBPM directly). When a start process instance request is made, the central app sends that command to one of the java apps, and saves the instance id that was started along with the id of the app that is running it. From that point on, any request targeted at that process instance will be handled by the same java app. Similarly, within the java app there is a hash table that links the instance id to the thread number that started the instance, and all operations on that instance are handled by that thread. As long as the jBPM tables are indexed on all foreign keys (and, if necessary, configured for row locking) the threads can operate on the database without stepping on each other. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249943#4249943 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249943 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Accessing serialized timer objects
Hello, I hope that this is the right forum and apologise if it isn't. I would like to be able to produce a friendly list of timers. In other words, the list should reflect something along the following lines: * 15 Dec 2009, 3:52PM: Launch space rocket 12 (za.co.acme.messages.testmess...@31491f7b) * 23 Dec 2009, 11:00AM: Sell Mr Smiths shares and reap vast profits (za.co.acme.messages.testmess...@e2df60d) Displaying the time is trivial. However, I am not clear how I can interrogate the objects that have been serialised into the database - the objects returned by getTimers() are reluctant to be de-serialized and horrible errors are thrown when you try (I suspect because they probably aren't read from the database until the events actually fire). In our scenario, everything we are serializing into the timer system implements a consistent interface: "Description" which allows us to retrieve the details we require. Is there a way to retrieve the objects so that I can interrogate them? Or to store additional information with the timer? Obviously, I would prefer not to maintain an additional data store. I currently retrieve the timers using getTimers(), and I then iterate over the collection calling getInfo() on each Timer. I am running JBoss 5.1.0.GA. Thank you in advance for your guidance. Renen. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249942#4249942 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249942 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Grouping and ordering messages on queue
I'm not sure i understand whatyou mean. an orderinggroup doesn't have to be created you just set it on the producer or via the connection factory. can you explain what you are trying to do? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249941#4249941 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249941 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Grouping and ordering messages on queue
I answered this question by my self. But from what I have noticed this is JBoss specific functionality. I'm using JBoss of course, but I have to use non vendor specific elements in my application. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249940#4249940 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249940 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Grouping and ordering messages on queue
Thanks, that is almost everything I need. But my another question is, can I create ordering groups dynamically? On the beginning I don't know how many (and what kind) groups there will be, in my case it should be runtime. Is it possible? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249939#4249939 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249939 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - persistence-context-ref always yields same object instance i
Hi, I'm experimenting a little with the different ways of programmatically obtaining an entity manager inside a servlet. I'm running Jboss 5.10 on Mac OS X 10.5.7 using JDK 6. I tried the approach of using a persistence-context-ref element in web.xml, basically as outlined here: http://weblogs.java.net/blog/ss141213/archive/2005/12/dont_use_persis_1.html My reference looks like this: | | persistence/test | testpu | | By itself this seems to work beautifully for doing JNDI lookups in a Servlet or Filter: | EntityManager entityManager = (EntityManager )new InitialContext().lookup("java:comp/env/persistence/test"); | The above code snippet gives me back an instance of the entity manager. However, I discovered with a debugger that this is always the same instance. Whether I do the JNDI lookup multiple times right after each other in the same method, or test what the JNDI lookup returns in multiple simultaneous requests, the result is always an object instance with the same ID (e.g. org.jboss.jpa.tx.transactionscopedentitymana...@d78f1b). When I however bind the entity manager factory into the global JNDI name space using the following property in persistence.xml: | | And lookup that factory using JNDI again and then use that to create an entity manager, the instance is always different. As per the advice that an entity manager is not tread-safe (and thus should not be stored in an instance variable of a servlet), I wonder whether it's correct that the JNDI lookup for the entity manager bound via the persistence-context-ref element always returns the same object instance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249938#4249938 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249938 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Basic HTTP authentication for WSDL (using JAAS LoginModule)
Hi, I'm trying to use basic HTTP authentication for my WSDL. The user credentials should be validated by a (JAAS) LoginModule for Atlassian Crowd. Somehow the deployment of my EAR file fails. The following stacktrace shows up in my logs: | java.lang.NullPointerException | at org.jboss.ejb3.security.RoleBasedAuthorizationInterceptorFactory.createPerClass(RoleBasedAuthorizationInterceptorFactory.java:49) | at org.jboss.aop.advice.AspectFactoryDelegator.createPerClass(AspectFactoryDelegator.java:107) | at org.jboss.aop.Advisor.addPerClassAspect(Advisor.java:569) | at org.jboss.aop.advice.ScopedInterceptorFactory.create(ScopedInterceptorFactory.java:72) | at org.jboss.aop.Advisor.createInterceptorChain(Advisor.java:618) | at org.jboss.aop.Advisor.pointcutResolved(Advisor.java:888) | at org.jboss.aop.Advisor.resolveMethodPointcut(Advisor.java:650) | at org.jboss.aop.ClassContainer.createInterceptorChains(ClassContainer.java:248) | at org.jboss.aop.ClassContainer.rebuildInterceptors(ClassContainer.java:115) | at org.jboss.aop.ClassContainer.initializeClassContainer(ClassContainer.java:58) | at org.jboss.ejb3.EJBContainer.processMetadata(EJBContainer.java:342) | at org.jboss.ejb3.SessionContainer.processMetadata(SessionContainer.java:140) | at org.jboss.ejb3.Ejb3Deployment.processEJBContainerMetadata(Ejb3Deployment.java:292) | at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:356) | at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:91) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | at $Proxy0.start(Unknown Source) | Apparantly the RoleBasedAuthorizationInterceptorFactory throws an exception on line 49. When I checked its source, I've found the following code: ctx.lookup("java:/jaas/" + securityAnnotation.value()); Probably, this means that the class doesn't find my SecurityDomain annotation, while it IS present. I've got the following annotations on my web service: | @Stateless | @SecurityDomain("mydomain") | @SOAPBinding(style = SOAPBinding.Style.RPC, use = SOAPBinding.Use.LITERAL) | @WebService(name = "ProjectWebService", targetNamespace = "url", serviceName = "service") | @WebContext(urlPattern = "/url", authMethod ="BASIC", transportGuarantee ="NONE", secureWSDLAccess = false) | @RolesAllowed("admin") | @Remote(clazz.class) | Other things I've done: web.xml: | | | wsdl | /url | | | admin | | | | BASIC | | | admin | | login-config.xml (in the conf folder): | | | |admin |admin |server/ | | | | This is the code which should be responsible for authenticating the users. What am I doing wrong here? Thanks! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249936#4249936 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249936 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Grouping and ordering messages on queue
take a look at http://www.jboss.org/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.4.4.GA/html/ordering-group.html for an explanation. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249934#4249934 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249934 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - MDB session multiplexing.
Can some one explain how to configure number of JMS connections to the server? Is the server session multiplexing article (refer link below) relevant to MDBs as well? http://www.jboss.org/file-access/default/members/jbossmessaging/freezone/docs/usermanual-2.0.0.beta1/html/connection-ttl.html Thanks and Regards, sid. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249933#4249933 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249933 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Grouping and ordering messages on queue
Hi, I didn't read whole JMS specification, so please don't shout if this question is stupid. Letâs say I have 9 messages that I want to send on queue. And those messages can belong to three different groups: red group, green group and blue group. RED_GROUP = [message1, message2, message3] GREEN_GROUP = [message4, message5, message6] BLUE_GROUP = [message7, message8, message9] What I want to achieve is to assure that only one message from group is picked up by message driven bean and other messages (from the same group) wait for previous one to process. I donât care about ordering groups of messages I only care for messages in groups. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249932#4249932 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249932 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Defualt page problem
You can drop your jboss portal database schema and then recreate it. When you restart the server, the tables will be recreated and you will have the default page. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249929#4249929 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249929 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - persistence unit can not bind to jndi
Hi, I am working with JBoss 4.2.3, springframework 2.5, and Hibernate for my web app. I am trying to bind the persistence unit configured in the persistence.xml to jndi but to no avail. Could somebody shed some light on me about the right approach? Here is my configuration and stack trace. I could not find the MyAppPU under the jndi view. web.xml (sanitized version): | | | | http://java.sun.com/xml/ns/javaee"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="http://java.sun.com/xml/ns/javaee | http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd";> | | | | | org.springframework.web.context.ContextLoaderListener | | | | | | | | | | | | org.springframework.web.servlet.DispatcherServlet | | 1 | | | | | | | Persistence unit for the application. | persistence/MyAppPU | MyAppPU | | | | | | | | /spring | | /WEB-INF/tld/spring-form.tld | | | | | | | applicationContext.xml: | | | http://www.springframework.org/schema/beans"; | xmlns:seam="http://jboss.com/products/seam/spring-seam"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xmlns:aop="http://www.springframework.org/schema/aop"; | xmlns:tx="http://www.springframework.org/schema/tx"; | xmlns:jee="http://www.springframework.org/schema/jee"; | xmlns:context="http://www.springframework.org/schema/context"; | xmlns:util="http://www.springframework.org/schema/util"; | xsi:schemaLocation="http://www.springframework.org/schema/beans |http://www.springframework.org/schema/beans/spring-beans-2.0.xsd |http://www.springframework.org/schema/aop |http://www.springframework.org/schema/aop/spring-aop-2.0.xsd |http://www.springframework.org/schema/tx |http://www.springframework.org/schema/tx/spring-tx-2.5.xsd |http://www.springframework.org/schema/jee |http://www.springframework.org/schema/jee/spring-jee-2.5.xsd |http://jboss.com/products/seam/spring-seam |http://jboss.com/products/seam/spring-seam-2.0.xsd |http://www.springframework.org/schema/context | http://www.springframework.org/schema/context/spring-context-2.5.xsd |http://www.springframework.org/schema/util |http://www.springframework.org/schema/util/spring-util-2.5.xsd";> | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | persistence.xml | | http://java.sun.com/xml/ns/persistence"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd";> | | org.hibernate.ejb.HibernatePersistence | java:MyDS | | | | | | | | | | | | | | | Stack Trace: | 08:25:43,010 INFO [0]] Initializing Spring root WebApplicationContext | 08:25:43,010 INFO [ContextLoader] Root WebApplicationContext: initialization started | 08:25:43,119 INFO [XmlWebApplicationContext] Refreshing org.springframework.web.context.support.xmlwebapplicationcont...@16a93b8: display name [Root WebApplicationContext]; startup date [Mon Aug 17 08:25:43 EDT 2009]; root of context hierarchy | 08:25:43,353 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext.xml] | 08:25:44,072 INFO [XmlWebApplicationContext] Bean factory for application context [org.springframework.web.context.support.xmlwebapplicationcont...@16a93b8]: org.springframework.beans.factory.support.defaultlistablebeanfact...@121784f | 08:25:45,182 INFO [JtaTransactionManager] Using JTA UserTransaction: org.jboss.tm.usertx.client.servervmclientusertransact...@90a278 | 08:25:45,182 INF
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Application Scoped datasources
Thanks henk53 - this is the sort of idea I was looking for. I'll see what I can figure out from this. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249926#4249926 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249926 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - socket connection timeouts, HTTP connections made by HttpCli
We have an application that does robotic web extraction, its built in a servlet web container, and all the HTTP extraction is done using HTTPClient 3.1 code. When deployed on resin 3.0, all is fine, has been stable for years. Now we are releasing a new version on Jboss 4.2.3, and we find that the JVM frequently throws connection timed out exceptions (instantly, not waiting for socket connect timeout of 10 seconds) as if sockets are not available to the JVM for HTTPUrlConnection calls. This bug happens intermittently, usually when the system is inactive, as if there were a pool of sockets, that is too small and it has to expand in capacity. We have configured ulimit, socket buffers etc correctly and are deployed on the same HTTPClient libraries and JVM version (and hardware) as the fully functional Resin version. What could be causing this behavior, perhaps does JBOSS manage a connection pool for sockets or HTTP connection for general usage by code executed within the web con! tainer? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249925#4249925 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249925 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - socket connection timeouts, HTTP connections made by HttpCli
We have an application that does robotic web extraction, its built in a servlet web container, and all the HTTP extraction is done using HTTPClient 3.1 code. When deployed on resin 3.0, all is fine, has been stable for years. Now we are releasing a new version on Jboss 4.2.3, and we find that the JVM frequently throws connection timed out exceptions (instantly, not waiting for socket connect timeout of 10 seconds) as if sockets are not available to the JVM for HTTPUrlConnection calls. This bug happens intermittently, usually when the system is inactive, as if there were a pool of sockets, that is too small and it has to expand in capacity. We have configured ulimit, socket buffers etc correctly and are deployed on the same HTTPClient libraries and JVM version (and hardware) as the fully functional Resin version. What could be causing this behavior, perhaps does JBOSS manage a connection pool for sockets or HTTP connection for general usage by code executed within the we! b container? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249924#4249924 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249924 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm4 user guide : small error in doc
one more point : in § 6.2.3.1. Decision conditions there should be an image with url http://docs.jboss.com/jbpm/v4.0/userguide/html_single/images/process.decision.png but there is nothing at this URL, so that the image does not show. I suppose the correct URL would be : http://docs.jboss.com/jbpm/v4.0/userguide/html_single/images/process.exclusive.png View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249922#4249922 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249922 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: timer in ear: nothing happens
"parszab" wrote : | It seems to work: I get an exception ("Transaction is not active: tx=TransactionImple < ac") -- but the timers are created and run properly. | I beleive it is because the CMT transactions don't get propagated to the TimerEntity bean somehow when the timers are created. One issue is that the timers don't get deleted this way -- at least that is, what the log says: | 14:37:49,853 WARN [DatabasePersistencePolicy] Unable to delete timer | org.jboss.util.NestedSQLException: Transaction is not active: | tx=TransactionImple < ac, BasicAction: 7f000101:90b1:4a894efe:9a status: ActionStatus.ABORTED >; | - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: 7f000101:90b1:4a894efe:9a status: ActionStatus.ABORTED >) | at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:95) | at org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin.deleteTimer(GeneralPurposeDatabasePersistencePlugin.java:311) | at org.jboss.ejb.txtimer.DatabasePersistencePolicy.deleteTimer(DatabasePersistencePolicy.java:139) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy243.deleteTimer(Unknown Source) | at org.jboss.ejb.txtimer.TimerServiceImpl.shutdown(TimerServiceImpl.java:138) | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249919#4249919 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249919 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with Taskforms: forms cannot be found / NullPoi
Hmmm... error seems totally unrelated: https://jira.jboss.org/jira/browse/JBPM-2452 The error is on line 149: | List transitions = | ((ExecutionImpl) processInstance).getActivity().getOutgoingTransitions(); | for(Transition t : transitions) | { | String outcomeName = t.getName()!=null ? t.getName() : "to_"+t.getDestination().getName(); | outcomeDirective.getValues().add(outcomeName); | } | where there transitions is assigned a value. Can you run the appserver in debug mode (not debug logging but with breakpoints) and see what the values of the variables are? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249916#4249916 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249916 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Messaging 1.4.4 in AS5
Hi Ross, The next release for AS5 should be 1.4.5.GA, we will try to get it into AS5 as soon as possible. It relies on other thirdparty libs to be updated in AS5, especially remoting. Howard View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249913#4249913 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249913 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Many to Many realtionship question
Hi, you basically need two steps to persist data: 1) create a correct in-memory state 2) persist it It seems that your original use case failed in step 1: the relation has to be defined correct in memory, so that both sides know each other. If step 1 has the correct outcome, step 2 should work no matter which side is saved. BUT you should take care for your "Cascade" type: with a "@ManyToMany", the default is to cascade nothing. So, if your relationship contains a new child item, it is not inserted by default. You have to set "cascade = CascadeType.MERGE" to insert new childs when saving the parent. Hope this helps Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249907#4249907 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249907 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with Taskforms: forms cannot be found / NullPoi
see the jira issue about the 'outcome' variable. Might be related. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249901#4249901 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249901 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Messaging 1.4.4 in AS5
I've been keeping an eye on the AS5 roadmap and I still have not seen a task for incorporating Messaging 1.4.4 into AS5. Any idea when this might happen? I'm waiting on some fixes addressed in this release of messaging specifically to do with JMS Bridges. We cannot move to production until we have these fixes. I've tried building messaging 1.4.4 for AS5 but it does not work. Cheers, Ross View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249898#4249898 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249898 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: timer in ear: nothing happens
"kukeltje" wrote : It's in the docs: http://docs.jboss.org/jbpm/v3.2/userguide/html_single/#d0e140 Thanks a lot! I missed that unfortunately! In my experiments, though I tried to set up the environment with EntityScheduler: | | It seems to work: I get an exception ("Transaction is not active: tx=TransactionImple < ac") -- but the timers are created and run properly. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249897#4249897 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249897 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Problems with Taskforms: forms cannot be found / NullPointer
Hello! I used the following process to play around with jBPM. Everything worked fine. Lately I added forms to the user tasks. At first just for the first task which is named "request". I could login, open the task and I saw the form. Submitting also worked fine. Afterwards I loggged in as a different user to perform the following tasks and the the form for "hr_review" did not work. Instead an Exception was thrown. | | | http://jbpm.org/4.0/jpdl"; key="demo" version="1"> | | | | | | | | | | | | | | | | | | | | | | | | | | | | 13:00:08,481 ERROR [[Resteasy]] Servlet.service() for servlet Resteasy threw exc | eption | org.jboss.resteasy.spi.UnhandledException: java.lang.RuntimeException: Unexpecte | d invocation exception: null | at org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationExcept | ion(SynchronousDispatcher.java:319) | at org.jboss.resteasy.core.SynchronousDispatcher.handleException(Synchro | nousDispatcher.java:230) | at org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException( | SynchronousDispatcher.java:206) | at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispa | tcher.java:360) | at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispa | tcher.java:173) | at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.servi | ce(HttpServletDispatcher.java:93) | at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.servi | ce(HttpServletDispatcher.java:68) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl | icationFilterChain.java:290) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF | ilterChain.java:206) | at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilte | r.java:59) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl | icationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF | ilterChain.java:206) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi | lter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl | icationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF | ilterChain.java:206) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV | alve.java:235) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV | alve.java:191) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit | yAssociationValve.java:190) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica | torBase.java:433) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv | e.java:92) | at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.proce | ss(SecurityContextEstablishmentValve.java:126) | at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invok | e(SecurityContextEstablishmentValve.java:70) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j | ava:127) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j | ava:102) | at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedC | onnectionValve.java:158) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal | ve.java:109) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav | a:330) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java | :828) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce | ss(Http11Protocol.java:601) | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44 | 7) | at java.lang.Thread.run(Thread.java:619) | Caused by: java.lang.RuntimeException: Unexpected invocation exception: null | at org.jboss.bpm.console.server.util.InvocationProxy.invoke(InvocationPr | oxy.java:80) | at $Proxy143.provideForm(Unknown Source) | at org.jboss.bpm.console.server.FormProcessingFacade.provideForm(FormPro | cessingFacade.java:181) | at org.jboss.bpm.console.server.FormProcessingFacade.renderTaskUI(FormPr | ocessingFacade.java:120) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.Nati
[jboss-user] [Microcontainer] - simple: bean name of ejb local in inject tag
0Sorry for the simple question. I think its too simple to show up on searches of this forum. I use the jndi name of an ejb for the bean attribute of the inject tag and am not successful. What am I not understanding correctly? Here is the log from AS when the ejb is deployed: | 2009-08-15 17:44:49,087 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) Created KernelDeployment for: engine-beans.jar | 2009-08-15 17:44:49,089 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) installing bean: jboss.j2ee:jar=engine-beans.jar,name=GooGooEngine,service=EJB3 | 2009-08-15 17:44:49,089 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) with dependencies: | 2009-08-15 17:44:49,090 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) and demands: | 2009-08-15 17:44:49,090 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) jboss.ejb:service=EJBTimerService | 2009-08-15 17:44:49,090 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) and supplies: | 2009-08-15 17:44:49,090 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) jndi:GooGooEngine/remote | 2009-08-15 17:44:49,090 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) Class:com.gc.bluejay.beans.EngineLocal | 2009-08-15 17:44:49,090 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) jndi:GooGooEngine/local-com.gc.bluejay.beans.EngineLocal | 2009-08-15 17:44:49,090 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) jndi:GooGooEngine/local | 2009-08-15 17:44:49,090 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) Added bean(jboss.j2ee:jar=engine-beans.jar,name=GooGooEngine,service=EJB3) to K | ernelDeployment of: engine-beans.jar | Here is the segment from my jboss-beans.xml file: | | This is the error that shows in the AS server.log: | org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): | | DEPLOYMENTS MISSING DEPENDENCIES: | Deployment "HWService" is missing the following dependencies: | Dependency "GooGooEngine/local" (should be in state "Configured", but is actually in state "** NOT FOUND Depends on 'GooGooEngine/local' **") | | DEPLOYMENTS IN ERROR: | Deployment "GooGooEngine/local" is in error due to the following reason(s): ** NOT FOUND Depends on 'GooGooEngine/local' ** | | at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:993) | at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:939) | at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:873) | at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:128) | at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:369) | at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255) | at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) | at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) | at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) | Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249894#4249894 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249894 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: expression question
Can you try with the latest 3.2.6SP1? Not that you should use that, I'm just curious if it works as it should with the latest 3.2 version (it does for me) Or try change the names of the transitions to not use 'true' and 'false' but e.g. 'to_fork1' and 'to_no_collateral' View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249892#4249892 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249892 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: expression question
Hello, using v 3.2.x View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249891#4249891 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249891 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: ClassCastException due to Xerces conflict during app dep
"jaikiran" wrote : | So i guess its the responsibility of JBoss XB to switch the classloader. | By the way, switching the classloader is only going to fix the classcastexception. Switching the classloader would mean that the xerces class will end up being used from what is shipped in JBoss (or for that matter in any other application server). So it really needs to be a question asked in the xerces-J forums whether there is any practical way to overriding the xercesImpl jars in a application server environment where multiple classloaders are involved. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249890#4249890 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249890 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: ClassCastException due to Xerces conflict during app dep
I read about this, during the weekend, in the apache xerces project page. Turns out, this is a common issue with all application server and they have a FAQ for this specific issue which explains the details http://xerces.apache.org/xerces2-j/faq-general.html#faq-5. JBoss AS runs into this exact issue. "rodos77" wrote : | IMHO, I think the deployer should either do this after it instantiates the parser or it should temporarily swap out the context classloader and swap in the deployer classloader in its place The deployers use JBossXB: | at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.(SaxJBossXBParser.java:97) | at org.jboss.xb.binding.UnmarshallerImpl.(UnmarshallerImpl.java:56) | at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(Unmarsha | llerFactory.java:96) | So i guess its the responsibility of JBoss XB to switch the classloader. I am not an expert of xml or JBossXB. So i guess the best place to bring this up, is the JBossXB forum here http://www.jboss.org/index.html?module=bb&op=viewforum&f=212 "jaikiran" wrote : | From what i looked at, the deployment framework starts using the version of xerces jar present in your deployment because it sets the classloader to your deployment's classloader. I think this is the correct thing to do, because each deployment is expected to be started within its own classloader to ensure that it gets access to the right resources. Switching the classloader should be done only for the xerces issue, the rest of the deployment process should continue to use the deployment's classloader. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249883#4249883 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249883 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Environment and context.xml
the context of the context.xml did not appear in the previous message, here it is again: | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249877#4249877 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249877 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Environment and context.xml
In my tomcat deployed app I use the element in META-INF/context.xml to override the environment value in web.xml. This will be copied to the conf/engine-name/host-name/mywebappname.xml on the first deployment. The administrator can then amend the file to provide the real value he wants. In JBoss I cannot get this type of process to work. I have read a number of forums and jira issues referring to using context.xml and I have moved the file to WEB-INF. I have added additional xml to the context.xml file to make sure it is being parsed but the environment variable is not overriding the value in web.xml. Here is my file; I have tried true and false for the override. My questions are, will JBoss allow the web.xml env element (such as) A Test variable TestVariable java.lang.String TestValue to be overridden in the context.xml as per tomcat. secondly how can I get the context.xml to be externalised from the war file so it is not overwritten upon subsequent deploys of the war file. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249876#4249876 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249876 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: expression question
what version are you using? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249875#4249875 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249875 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Migration of singletons
Hi all, imagine such a scenario: - jboss on two nodes (node_one, node_two) - mySingleton's current masterNode is node_one do I understand it correctly that if I would like to manually migrate mySingleton from node_one onto node_two I can do it only via jmx-console by invoking stopSingleton() method on the node_one and startSingleton() method on the node_two? There is nothing like "migrateSingleton(fromNode, toNode)" method? Thank you for your answer. Adam my jboss: jboss-eap-4.3.0.GA_CP04 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249874#4249874 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249874 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: expression question
Hello, I also already try that one but no luck. :) Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249871#4249871 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249871 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Maintenance and Repair Tools
This is a very interesting discussion to follow. @michaelholtzmann: as I see you are using jBPM3.x.x here. I wonder if locking issues also take place with jbpm4. I hope not or to a smaller extent, since the db schema design has been improved considerably. How do you re-use the jBPM component in multiple applications? Are you distributing a jar and use a central jbpm db for the tables? This is what I am planning to do in one of my projects. But I was also thinking about the possible deadlock issues. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249865#4249865 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249865 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: expression question
"freak182" wrote : Hello, | | I change my expression to: | | | | | | | | | | | | | | | | final Map param = new HashMap(); | | param.put("collateral", new Integer(1)); | | | | | | and it work fine. Now I am just confused that i cannot use string comparisson in expression? please advice. | | Thanks a lot. | Cheers. | | | Hello, in my opinion this syntax is more readable: | | | | | | | The expression-based decisions must return a transition name. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249864#4249864 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249864 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossMQ] - Re: Stopping / starting queues... can't find invoker
I'm confused. Don't get your question clearly. Irrespective of the attached consumers, you can stop any given destination. Are you trying to stop mdbs? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249862#4249862 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249862 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Enabling session replication does not work jboss 4.3 EAP
Hi All, Still No Luck. Please help Am getting below exception while session is replicating: 13:06:07,825 ERROR [JBossCacheService] externalizeSession(): exception occurred externalizing session SessionBasedClusteredSession[id: A94CAB3F54302CF05A4BBB8C65B177DD.node2 lastAccessedTime: 1250494562345 version: 7 lastOutdated: 0] | java.io.NotSerializableException: java.util.PropertyResourceBundle | at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081) | at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302) | at java.util.HashMap.writeObject(HashMap.java:1039) | at sun.reflect.GeneratedMethodAccessor76.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:917) | at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1339) | at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290) | at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079) | at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302) | at java.util.concurrent.ConcurrentHashMap.writeObject(ConcurrentHashMap.java:1380) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:917) | at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1339) | at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290) | at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079) | at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302) | at org.jboss.web.tomcat.service.session.SessionBasedClusteredSession.writeExternal(SessionBasedClusteredSession.java:175) | at org.jboss.web.tomcat.service.session.JBossCacheService.externalizeSession(JBossCacheService.java:1027) | at org.jboss.web.tomcat.service.session.JBossCacheService.putSession(JBossCacheService.java:316) | at org.jboss.web.tomcat.service.session.JBossCacheClusteredSession.processSessionRepl(JBossCacheClusteredSession.java:121) | at org.jboss.web.tomcat.service.session.JBossCacheManager.processSessionRepl(JBossCacheManager.java:1097) | at org.jboss.web.tomcat.service.session.JBossCacheManager.storeSession(JBossCacheManager.java:652) | at org.jboss.web.tomcat.service.session.InstantSnapshotManager.snapshot(InstantSnapshotManager.java:49) | at org.jboss.web.tomcat.service.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:98) | at org.jboss.web.tomcat.service.session.JvmRouteValve.invoke(JvmRouteValve.java:84) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) | Please help View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249861#4249861 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249861 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Maintaining properties between deployments of WAR file
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=154431#4227437 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249857#4249857 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249857 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Multiple domains on Apache, mod_jk, JBoss configuration
Any one to reply? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249854#4249854 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249854 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user