[jboss-user] [JBoss Messaging Users] - Re: Conterpart of UIL2XAConnectionFactory?
"Marco.Pehla" wrote : Hello Howard, | | since I didn't wrote the application, I don't know if there's a reason why this special UIL2XAConnectionFactory has been used. The following Wiki page is everything I know so far. | | http://www.jboss.org/community/wiki/ConfigUIL2 | | I hope it helps. | | | With kind regards, | Marco AFAIK this is possible adding a JNDI. Reference in jms-ds.xml View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269727#4269727 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269727 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: Conterpart of UIL2XAConnectionFactory?
Hello Howard, since I didn't wrote the application, I don't know if there's a reason why this special UIL2XAConnectionFactory has been used. The following Wiki page is everything I know so far. http://www.jboss.org/community/wiki/ConfigUIL2 I hope it helps. With kind regards, Marco View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269724#4269724 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269724 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: JBPM 4.2 Sub-Processs Not able to access Variables
Please use the code-tags to supply your process definition. If possible please also supply a unit test demonstrating your problem. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269721#4269721 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269721 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Spring Integration] - Re: JBoss-Spring-ActiveMQ integration issue
I am using Spring2.5.5, ActiveMQ5.3, JBoss 5.1. I am using 10 concurrent cousumers in DefaultMessageListenerContainer | | | | | | | I have tried with "cacheLevelName" property with None,Session,Connection The problem is that only one consumer gets invoked. I have tested it. Can somebody help me? I want 1. if 10 messages (huge) come to my queue, the all the 10 consumers get invoked and complete the process 2. how can I increase this number as my number of messages consumers increase ,since in ActiveMQ console I am just seeing fixed number of consumers. i.e. how to pool ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269720#4269720 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269720 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Extracting information from a jpdl file
Sebastian, I completely agree with you. The code I have given there is nothing more than a work around. There should be some method may be part of either Execution/OpenExecution interface and/or ExecutionService which does the job properly. And I have already voted for the issue. Ajay, If your requirement is to show all the tasks possible by an user even if the task is not currently active, then that will be fairly difficult to achieve. Data model of Jbpm4 does not support that. So you will have to change there. Since "Task" is the representation of manual tasks in Jbpm4, it makes sense to have actors/roles/swimlanes for tasks. Actors with something else does not make much sense. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269719#4269719 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269719 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Spring Integration] - JBoss-Spring-ActiveMQ integration issue
I am using Spring2.5.5, ActiveMQ5.3, JBoss 5.1. I am using 10 concurrent cousumers in DefaultMessageListenerContainer I have tried with "cacheLevelName" property with None,Session,Connection The problem is that only one consumer gets invoked. I have tested it. Can somebody help me? I want 1. if 10 messages (huge) come to my queue, the all the 10 consumers get invoked and complete the process 2. how can I increase this number as my number of messages consumers increase ,since in ActiveMQ console I am just seeing fixed number of consumers. i.e. how to pool ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269718#4269718 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269718 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: JBoss AS 5.1.0.GA + Seam 2.2.0 - ZipException: error in
anonymous wrote : 2009-12-04 13:13:28,497 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/pba] | ] (main) Exception sending context initialized event to listener instance of class org.jboss.seam.se | rvlet.SeamListener | java.lang.RuntimeException: Error handling file /usr/share/jboss/jboss-5.1.0.GA/server/all/farm/9-he | rcules-ear.ear/jboss-seam.jar | at org.jboss.seam.deployment.URLScanner.handleArchiveByFile(URLScanner.java:128) | Hmm, going by the comments in that JIRA, the URLScanner shouldn't have been used by the deployers. Do you still see the issue if you use the "default" config? Probably you will, but wanted to confirm. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269715#4269715 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269715 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB] - Re: Transaction and EJB3 Singleton
Which version of JBoss AS? For AS-5.1.0, download the latest EJB3 plugin http://www.jboss.org/ejb3/ejb3plugin.html. See if it works with the plugin. The latest plugin can be downloaded here http://www.jboss.org/ejb3/downloads.html View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269714#4269714 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269714 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Setting up classloaders to override JSF version in JBoss
See if these help: http://www.jboss.org/community/wiki/JBossClassLoadingUseCases http://www.jboss.org/community/wiki/classloadingconfiguration View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269713#4269713 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269713 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache Users] - Re: JBossCache Deadlock in Hibernate BulkOperationCleanupAct
Hi All, I m using Jboss 5.1.0 in clustered environment. Hibernate version is 3.3.1. whenever i try to delete multiple lines from the db, after the operation i get an exception like below. 16:45:10,621 ERROR [ActionQueue] could not release a cache lock | org.hibernate.cache.CacheException: java.lang.IllegalStateException: Transaction TransactionImple < ac, BasicAction: 7f01:e946:4b1e3199:71 status: ActionStatus.COMMITTED > is not in a valid state to be invoking cache operations on. | at org.hibernate.cache.jbc2.util.CacheHelper.removeAll(CacheHelper.java:380) | at org.hibernate.cache.jbc2.util.CacheHelper.removeAll(CacheHelper.java:360) | at org.hibernate.cache.jbc2.access.TransactionalAccessDelegate.evictOrRemoveAll(TransactionalAccessDelegate.java:146) | at org.hibernate.cache.jbc2.access.TransactionalAccessDelegate.evictAll(TransactionalAccessDelegate.java:142) | at org.hibernate.cache.jbc2.entity.TransactionalAccess.evictAll(TransactionalAccess.java:102) | at org.hibernate.impl.SessionFactoryImpl.evictEntity(SessionFactoryImpl.java:870) | at org.hibernate.action.BulkOperationCleanupAction.evictEntityRegions(BulkOperationCleanupAction.java:153) | at org.hibernate.action.BulkOperationCleanupAction.afterTransactionCompletion(BulkOperationCleanupAction.java:132) | at org.hibernate.engine.ActionQueue.afterTransactionCompletion(ActionQueue.java:198) | at org.hibernate.impl.SessionImpl.afterTransactionCompletion(SessionImpl.java:451) | at org.hibernate.jdbc.JDBCContext.afterTransactionCompletion(JDBCContext.java:252) | at org.hibernate.transaction.CacheSynchronization.afterCompletion(CacheSynchronization.java:117) | at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.afterCompletion(SynchronizationImple.java:123) | at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.afterCompletion(TwoPhaseCoordinator.java:381) | at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:99) | at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:177) | at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1423) | at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:137) | at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75) | at org.jboss.aspects.tx.TxPolicy.endTransaction(TxPolicy.java:170) | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:87) | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:190) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.aspects.remoting.ReplicantsManagerInterceptor.invoke(ReplicantsManagerInterceptor.java:52) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.ejb3.security.RoleBasedAuthorizationInterceptorv2.invoke(RoleBasedAuthorizationInterceptorv2.java:201) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:186) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:67) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:176) | at org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:216) | at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:207) | at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHand
[jboss-user] [JBoss Messaging Users] - Re: DLQ Strategies
If the messages in the DLQ are still of some interests to you, you can create a consumer to the DLQ and process those messages. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269707#4269707 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269707 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - DLQ Strategies
So I am wondering what I should do with messages that end up in the DLQ. They weren't processed for some reason, but what should I do next? I would like to hear about what some people have done or common error recovery strategies. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269705#4269705 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269705 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Re: Failed to load org.jboss.wsf.spi.invocation.WebServiceCo
Did you use "ant deploy-jboss423 " to update ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269704#4269704 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269704 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - WS client reuse http connection
Does anyone know how to set the client (generated by wsconsume.sh) to reuse http connections? Can anyone point me in the right direction? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269703#4269703 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269703 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Setting up classloaders to override JSF version in JBoss
Unfortunately, losing the injection features is not an option. I am quite happy to configure the classloader on the application, but I am not sure how to do so. Thanks, Ian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269702#4269702 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269702 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache Users] - Re: I blogged about JBoss Cache, can somebody please check i
Brian, Now updated. Many thanks for your feedback. By the way, using CacheManagerLocator 'tastes' decidely old-fashioned. Are there any plans for JBoss Cache/Infinispan to support something like a @Cache injection annotation for member variables? Something like: @Cache(name='sfsb-cache') | private Cache mMyCache; Regards, Richard. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269701#4269701 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269701 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: Messaging in 4.2.3 - getting the subscriber id
Ok, thanks Ill dig into AOP a bit more. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269700#4269700 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269700 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - Re: Galileo & JBoss Tools
If you can use Carbon, then there's a XulRunner Carbon 32-bit (for OSX 10.4+) available in M4, and the forthcoming RC1 (should be this week). If you need Cocoa (32-bit only), then yes, you'll need the latest JBT 3.1 nightly. In either case, you need to match Eclipse 32 with Java 32, or it won't run. (You could also use something to virtualize Windows or Linux on your Mac and then run the win32 or linux.gtk (x86 or x86_64) versions... but I digress. :) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269697#4269697 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269697 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: JBPM 4.2 Sub-Processs Not able to access Variables
my jpdl being main-proc:: View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269696#4269696 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269696 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - JBPM 4.2 Sub-Processs Not able to access Variables
Hi I have main Process < Main-Proc > invokes sub-process on certain decision node. Main-Proc will be started by providing Process -Id Domain -Id and set of variables. i could able to access those variables in my main-proc (execution.getVaraibles() ) but i couldn;t get the same inside my sub-proc. even i couldn't say sup-proc execution.getParent().getVariable(). parent is comming as null. ??? any idea its a bug or i am i doing wrong. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269692#4269692 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269692 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - Re: Galileo & JBoss Tools
Thanks for the info! So what you are saying is I should use the 32 bit version of eclipse with the JBoss Tools nightly build loaded. I will also need to get Apple Java 5.0 32-bit... Thanks Again! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269688#4269688 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269688 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - Re: Galileo & JBoss Tools
BTW, http://superuser.com/questions/31526/does-snow-leopard-provide-java-6-for-32-bit-machines View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269683#4269683 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269683 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - Re: Galileo & JBoss Tools
JBoss Tools 3.1.0.M4 does not include a version of XulRunner for 64-bit Mac. However, the latest nightly builds from trunk DO contain a Cocoa XulRunner... but only for 32-bit. http://download.jboss.org/jbosstools/updates/nightly/trunk/ Or for offline install, try this update site zip: http://download.jboss.org/jbosstools/builds/nightly/trunk/latestBuild.html If you want to use the above, you'll need a 32-bit JVM. AFAIK there should be an Apple Java 5.0 32-bit for Snow Leopard (64-bit Cocoa) out there somewhere. If you find it, please post a link to it here (with a statement of your success using JBT w/ 32-bit Cocoa XulRunner). Thanks! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269682#4269682 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269682 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - Galileo & JBoss Tools
Hello - I am trying to get JBoss Tools (JBossTools-3.1.0.M4) installed on eclipse Galileo (3.5.1.R35) It is the 64 bit cocoa version. Everything seems to install correctly however when I go through the process of setting up a HelloWorld JSR Portlet example (one of the tutorials on the JBoss Tools site) the code is not being generated. Everything seems to work correctly; the xml files are built and the project structure looks correct. The only problem is that the Java code is not generated. If anyone has any pointers on where I can look, what I can try or how I can fix it I appreciate it. Thanks in advance! Brett View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269681#4269681 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269681 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB] - Transaction and EJB3 Singleton
I have a ejb3 project with managed singleton: | @Service (name = ProfileStateMachine.NAME, objectName = "vis:service=StateMachine") | @Management (IMainStateMachine.class) | @Remote (ProfileStateMachine.class) | public class MainStateMachine implements IMainStateMachine, ProfileStateMachine { | @PersistenceContext (unitName = "vis") | private EntityManager entityManager; | | void start(){ | SomeEntity entity1=entityManager.find(SomeEntity.class,2); | | SomeEntity entity2=new SomeEntity(); | entity2.setFieldOne("one"); | entity2.setFiledTwo("two"); | entityManager.persist(entity2); | } | | void stop(){ | } | } | interface IMainStateMachine | public interface IMainStateMachine { | void start(); | | void stop(); | | } I receive a exception during project deployment | Caused by: javax.persistence.TransactionRequiredException: EntityManager must be access within a transaction | at org.jboss.jpa.deployment.ManagedEntityManagerFactory.verifyInTx(ManagedEntityManagerFactory.java:155) | at org.jboss.jpa.tx.TransactionScopedEntityManager.persist(TransactionScopedEntityManager.java:186) | The exception is thrown at the persist command | entityManager.persist(entity2); | I think the start() method is executed before the project was deployed. Same operation ("entityManager.persist()") works well if it is executed after deploy. My project has a three stage: starting, working, stopping. I need to use EntityManager during all stages. What I should do to solve the problem? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269678#4269678 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269678 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Console: host not found error
Hi, all Thanks for your answer, Ronald. Though I've been searching for information on this fact for a few weeks, I had not reached an answer until now. I accept I'm not really used to JIRAs yet. After Ronalds response, I started browsing all JIRA issues (not only Console), and found this one in JBPM, issue 2562: "Hard-coded host and port for Tomcat". You can find https://jira.jboss.org/jira/browse/JBPM-2562 With what Tom comments in that JIRA, I found the JBPM server configuration file at: {JBOSS_HOME}\server\default\deploy\jbpm\jbpm-service.sar\jbpm-service-jboss-beans.xml In that file, I changed this code: | | ${jboss.bind.address} | | to this one (I'm changing webServiceHost property, and adding webServicePort): | | | publicIP | publicPort | | And now it is working correctly from outside the router/firewall. I didn't try it yet, but I suppose that now I will have the previous problem when trying to access this files from inside the network, if that network can't resolv the public IP. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269676#4269676 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269676 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal Users] - Re: jboss on Linux
thanks for the feed back much appreciated Regards Denny View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269674#4269674 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269674 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: What is the difference between a Task and an Execution?
Thanks again Santanu. Makes sense. Especially the "entry from db is removed" part. Now I understand why hibernate would complain about multiple entries being found, if I moved from one task to the next. (i.e. I should mark the first task as completed!) Ajay View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269673#4269673 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269673 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Extracting information from a jpdl file
Thanks Santanu. getOutcomes does work, but the overhead of convert states to tasks is way too much... getOutgoingTransitions() always returns an empty list! - I think its broken - or maybe I am not using it correctly. Anyway... The requirement has changed: Now, we (me) need to supply the UI with the entire map at startup. As in: The UI starts up, and requests for the "action map" -> which is a list of who can perform which transitions. Unfortunately, I cannot find any easy way of storing role information with the diagram itself: the who can do what part. So, for now, I am thinking of adding an "allowedRoles" to each transition element. Will have to parse the jpdl file myself to get this information out of the file, but I will have all the data in one place. The unfortunate downside is that I won't be able to use the UI to edit the jpdl diagram... Is there an alternative way? Thanks Ajay View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269672#4269672 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269672 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - unidirectional and bidirectional relationship
Hi everybody, What's the difference between unidirectional relationship and bidirectional relationship!! Best Regards View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269671#4269671 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269671 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal Users] - Re: jboss on Linux
Some pointers to help you decide: You can get some idea from this blog: http://blog.jboss-portal.org/2008/09/scaling-jboss-portal-to-new-height.html regarding EPP performance. Also see the http://andrigoss.blogspot.com/2008/02/jvm-performance-tuning.html All of these were done on RHEL and JBoss EAP (Enterprise Application Platform) and JBoss EPP (Enterprise Portal Platform). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269669#4269669 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269669 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal Users] - Re: jboss on Linux
We have a client that has high exportations that Linux will perform better. >From your experience, what can we expect. and What can we recommend to the >client around Linux and Jboss AS. From testing that we have carried out to >date there has been some big performance improvements on some sides, but not >over all. Can you possibly send me some test data and reports, this will help me a lot with the client I have. Regards Denny View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269667#4269667 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269667 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering] - Re: FirstAvailable LBP is sticky when not serialized
I ran the same app on 5.1.0.GA after commenting out all lines in ejb3-interceptors-aop.xml that had IsLocal in them, and I could not get calls to the bean to get load balanced. I guess there's something else going on, but I don't have time to investigate further on this version. I'm going to stick with 4.2.3.GA (I don't have a choice) cloning the value returned from the jndi lookup. I will surely revisit this in the future though. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269665#4269665 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269665 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - How to run a Filter before the WebService to alter the SOAP
Would somebody please give me some pointers on how to setup an XML translation filter on POST? The idea is for the JBossWS stuff to see my translated XML to create its message from so the filter must run before the @WebService servlet. I am trying to get the JBossWS stuff to read RPC/encoded SOAP messages, and was thinking that I might be able to run the XML through a filter on POST to spit out RPC/literal XML that the JBossWS code could then understand. Thanks. -Shadow View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269664#4269664 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269664 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Error installing to Start: name=persistence.unit:unitNa
"Wolfgang Knauf" wrote : Hi, | | you should take a look at the warnings which appear on deploy: | anonymous wrote : 1) | | 06:09:25,956 WARN [Ejb3AnnotationHandler] JBMETA-4: did not find any bean meta data for annotation bean HotelTestBean, will create some | | | | 2) | | 06:09:27,485 WARN [WebServiceDeployerEJB] Ingore ejb deployment with null classname: org.jboss.metadata.ejb.jboss.jbosssessionbeanmetad...@8fd19516{hoteltestbean} | | | It seems something is wrong with your deployment, but I don't see what. | | Please describe the structure of your ejb JAR file (which files are in which path). You might post the output of "jar tvf insertJarNameHere.jar". | | Do you find your beans in JNDIView (see: http://www.jboss.org/community/wiki/DisplayTheJDNITreeWithTheJMXConsole ). | | Best regards | | Wolfgang Hi Mr Wolfgang, i fixed the problem ,Thank you so much!! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269659#4269659 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269659 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal Users] - Bug handling user names with Kerberos
First, I know this most likely won't ever be fixed because it has been end of lifed, but the Gatein project is still in Beta, as thus not a viable alternative. Anyway, I have been having problems where my Single Sign-On users can't access their dashboard after login. I have tracked the problem down to Kerberos users having a realm (ssou...@realm). If I just use ssoUser, then everything works fine. In reviewing the code, I find that after logging in as ssou...@realm, that the code in PageCustomizerInterceptor:197 User user = controllerCtx.getUser(); only returns ssoUser, not ssou...@realm. This is the username that is used for checking my security level in the PortalObjectPermission:295-299 Principal user = (Principal)i.next(); String userName = user.getName(); // return userName.equals(i2.next()); This evaluates to ssou...@realm.equals(ssoUser), since the Principal still has the correct u...@realm, but i2.next() is taken from the 'path:/username', which is dashboard:/ssoUser. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269658#4269658 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269658 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Extracting information from a jpdl file
Thanks for clarifying this, Santanu. For the workaround you have supplied IMHO there should be a "clean" way to do it using the API. If you have not yet done it maybe you want to vote for the issue. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269652#4269652 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269652 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache Users] - Re: I blogged about JBoss Cache, can somebody please check i
Thanks for doing this! :-) A couple suggestions: 1) You imply right at the beginning that your post is oriented toward AS users, but I recommend you state flat-out that your example is for running in the AS. That's because CacheManagerLocator doesn't exist outside the AS so people trying it outside the AS will fail. 2) The "sfsb-cache" is meant for EJB3 SFSB replication. It's technically possible to use it for other purposes, but I'd recommend creating a separate config, particular if clustered EJB3 SFSBs are deployed in your AS. Note also that sfsb-cache doesn't integrate with the standard JTA transaction manager running in the AS, so if your app needs JTA integration you'd need a different config. BTW, a (hopefully) helpful link for this general topic is http://www.jboss.org/file-access/default/members/jbossclustering/freezone/docs/cluster_guide/5.1/html/jbosscache.chapt.html#jbosscache-custom-deployment View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269651#4269651 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269651 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: What is the difference between a Task and an Execution?
Task is a wait state where it requires manual action. Task typically represents runtime state of the manual task. So once the task is done the "Task" entry from db is removed. Execution is the common representation of runtime path of execution. So every process instance is an Execution, every sub process is also an Execution. There is execution underneath for tasks as well. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269648#4269648 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269648 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering] - Re: FirstAvailable LBP is sticky when not serialized
Ah, sorry, you said you're using 4.2.3. The binding of EJB3 proxies in 4.2.3 works the same as EJB2. The change to using a javax.naming.Reference and an ObjectFactory is in 5.x. Can you try 5.1? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269643#4269643 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269643 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Extracting information from a jpdl file
It is possible to get the outcomes if your current wait node is a task node. Since task node is the node for manual tasks, it might somewhat serve your purpose. This is the code for getting outcome for a task node: | taskService.getOutcomes(task.getId()) | If the wait node is some other wait node like "state" node, then there is no standard way to get the outcome. However you can still manage to get them, but the code may not look as clean. | //executionImpl can be obtained in multiple ways | //typically it can be obtained by type casting current process instance | //ExecutionImpl executionImpl = (ExecutionImpl)processInstance; | executionImpl.getActivity().getOutgoingTransitions(); | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269640#4269640 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269640 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Examples do not work?
Hello, Should not all the provided examples be executable? When deploying the examples in jbpm 4.2, 20 out of 37 are excluded in the build.xml file. Simply including all of them again crashes the jbpm console (exceptions due to errors in process files). Also java src files are included in the business archive, java classes cannot be updated since ther're already in the jbpm/userlibs-folder etc. Including only the task/swimlane example is kind of confusing, no exceptions but process does not appear in console? I run the "demo.setup.jboss" environment (nice job btw!) Should a "Cleanup examples" JIRA be created perhaps? Cannot find any related to this currently. br, Jens View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269629#4269629 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269629 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: async fork
Also, I have a unit-test which test the process outside the container, without the persistence, it seems to work fine. I'm getting a couple of failure points according to the stacktraces, 1 in action handler in the main process (leave node method) - before entering fork. 1 in action handler in sub-process (leave node method). Are these SEOs I should be trying to suppress/ignore? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269621#4269621 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269621 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering] - Re: FirstAvailable LBP is sticky when not serialized
The test bean I'm using to setup this scenario is an EJB3 bean. Here it is for reference: package com.foo.session; | | import javax.ejb.Remote; | import javax.ejb.Stateful; | | import org.apache.log4j.Logger; | import org.jboss.annotation.ejb.Clustered; | import org.jboss.ha.framework.interfaces.FirstAvailable; | | @Stateful | @Clustered(loadBalancePolicy=FirstAvailable.class) | @Remote( value= Test2.class ) | public class Test2Bean implements Test2 { | | private final static Logger log = Logger.getLogger( Test2Bean.class ); | | private int count; | | public void setCount( int count ) { | log.info( "setCount( " + count + " )" ); | this.count = count; | } | | public void printCount() { | log.info( "count=" + count ); | } | } The load balance policy is only ever instantiated once. I copied the code from the FirstAvailable LBP to add some traces a few days ago to get a better idea of what's going on, and the constructor only ever got called once, during the app's initialization. 11:17:58,312 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=testEAR.ear,jar=testEJB.jar,name=Test2Bean,service=EJB3 with dependencies: | 11:17:58,375 INFO [EJBContainer] STARTED EJB: com.foo.session.Test2Bean ejbName: Test2Bean | 11:17:58,406 INFO [MyLBPolicy] LOAD BALANCE POLICY CONSTRUCTOR CALLED I had already removed the IsLocal interceptor after having pulled most of my hair out ;) Thanks for mentioning it though. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269620#4269620 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269620 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: async fork
Bump Has there been any further work on this, I too am seeing the SOE Caused by: org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.jbpm.graph.exe.Token#740] | at org.hibernate.persister.entity.AbstractEntityPersister.forceVersionIncrement(AbstractEntityPersister.java:1235) | at org.hibernate.event.def.AbstractLockUpgradeEventListener.upgradeLock(AbstractLockUpgradeEventListener.java:82) | at org.hibernate.event.def.DefaultLockEventListener.onLock(DefaultLockEventListener.java:64) | at org.hibernate.impl.SessionImpl.fireLock(SessionImpl.java:584) | at org.hibernate.impl.SessionImpl.lock(SessionImpl.java:576) | at org.jbpm.graph.node.Join.execute(Join.java:116) | at org.jbpm.graph.def.Node.enter(Node.java:319) I have a process with a fork, under which there are 3 sub-processes. I have updated to 3.2.6.SP1 as suggested in previous post. 3.2.6.SP1 Oracle 10g XE Jboss 4.2.3 Any help appreciated! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269614#4269614 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269614 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Resteasy + Seam = 403 Forbidden, any idea why?
I have already have the discussion going on the Resteasy mailing list but I would like to ask here as well if someone had experience with this Resteasy and Seam problem. Basically I have made my own test project based on the tasks example. At first I am trying a very simple Restful service. Only two GET methods, one returns a String representation of an email and the other Email object - (plain/text) / (application/xml) headers respectively. Now I made a simple client as well which makes request to GET - (plain/txt). It works as expected and I get the String representation of the Email. When I try the same with GET - (application/xml) I am getting 403 - Forbidden response. I have been debugging for a day now and I get a feeling the problem lies on the Seam security side because the Resteasy would have returned 401 - Not Authorized. Did anyone have similar problem? Any help would be appreciated. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269598#4269598 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269598 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Re: Failed to load org.jboss.wsf.spi.invocation.WebServiceCo
I had copied ant.properties.example to ant.properties. Then I modified the path in that file to where my JBoss isntance was loaded and then invoked ant to do the install i.e. ant -f ant.properties View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269597#4269597 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269597 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - add custom HttpSessionListener to Web Services endpoint
Hello, I am using JBOSS JAX-WS Native with my stateless EJB to expose its methods via WS (@WebService annotation) and I need to set my own HttpSessionListener on WS connections (I want to be notified when session is destroyed). I would normally do it in web.xml, but I expose my EJB automagically and I don't define any web.xml. How can I achieve my goal then? I'd very appreciate any ideas. Best regards, Michal Trzcinka View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269596#4269596 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269596 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: NotBound ERRoR
Continued here: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=164609 Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269593#4269593 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269593 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Error installing to Start: name=persistence.unit:unitNa
Hi, you should take a look at the warnings which appear on deploy: anonymous wrote : 1) | 06:09:25,956 WARN [Ejb3AnnotationHandler] JBMETA-4: did not find any bean meta data for annotation bean HotelTestBean, will create some | | 2) | 06:09:27,485 WARN [WebServiceDeployerEJB] Ingore ejb deployment with null classname: org.jboss.metadata.ejb.jboss.jbosssessionbeanmetad...@8fd19516{hoteltestbean} | It seems something is wrong with your deployment, but I don't see what. Please describe the structure of your ejb JAR file (which files are in which path). You might post the output of "jar tvf insertJarNameHere.jar". Do you find your beans in JNDIView (see: http://www.jboss.org/community/wiki/DisplayTheJDNITreeWithTheJMXConsole ). Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269591#4269591 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269591 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Setting up classloaders to override JSF version in JBoss
Hi Ian, here is an approach which works without changing the class loader: http://www.jboss.org/community/wiki/JBoss5AndMyFaces This also works for the sun reference implementation of JSF. Unfortunately, you might loose injection features. Hope this helps Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269586#4269586 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269586 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Re: How to recieve RPC/encoded SOAP messages in JBoss5?
Hi I am having the exact same issue as well. One of my clients is using RPC encoded in their WSDL, which I am having to call. So, I am unable to port the client into the latest version of JBoss. Any pointers would be greatly appreciated. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269585#4269585 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269585 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence] - Re: Weird generated SQL with JBoss 5.1
I did a little more research on the pbm I have : To be a little more specific I am wondering how to disable the Oracle dialect related paging behavior ? When using the EntityManager to execute a native query it seems that Hibernate thinks that a paging type query is to be executed... Is there maybe a property I need to set in the persistence.xml to disable the paging behavior for native query? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269582#4269582 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269582 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: Conterpart of UIL2XAConnectionFactory?
Hi Marco, Sorry I need to ask what is UIL2XAConnectionFactory in JBossMQ? Can you explain the purpose of it so I can answer if there is an equivalent in JBM? Thanks Howard View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269558#4269558 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269558 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: EntityManager.refresh() - Works on Detatched Or Managed
Hi, the second statement is correct. To make a detached entity managed, you have to use "find" or "getReference". See https://www.hibernate.org/hib_docs/ejb3-api/javax/persistence/EntityManager.html#refresh%28java.lang.Object%29 Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269545#4269545 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269545 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Conterpart of UIL2XAConnectionFactory?
Dear all, I need to migrate an application actually using JBossMQ's UIL2XAConnectionFactory on an JBoss 4.0.2 AS. Its supposed to run now on an JBoss 4.2.3 with JBoss Messaging. I didn't found anything, is there an counterpart to the UIL2XAConnectionFactory or is anyone able to recommend a connection factory of JBoss Messaging that fulfills the same purpose? Regards, Marco View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269538#4269538 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269538 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence] - Weird generated SQL with JBoss 5.1
Hi, I am trying to migrate my ejb3 app from JBoss 4.2.3 to JBoss 5.1 I get a strange hibernate related issue when trying to perfrom an native query with JBoss 5.1 : String nativeQuery = "select sysdate from dual"; | Query query = getEntityManager().createNativeQuery(nativeQuery); When I execute this code withing JBoss 5.1 I get the following in the console : 12:09:22,833 INFO [STDOUT] Hibernate: select * from (select sysdate from dual ) where rownum <= ? This used to work perfectly inside JBoss 4.2.3 so I wonder what I need to do ??? Any ideas? - Patrick View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269543#4269543 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269543 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: Session EJB 3.1 packaged in war file not recognized in J
JBoss AS 6.0.0.M1 does not support any EJB 3.1 features. https://jira.jboss.org/jira/browse/JBAS-7526 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269540#4269540 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269540 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - JBoss Messaging recovery configuration on JBoss 5.1
I am switching my JBoss AS from the 4.2.3 version to 5.1. I was trying to configure the JBoss Messaging recovery resource with the following XML: Code: However I got the exception: Local XARecoveryModule.xaRecovery got XA exception javax.transaction.xa.XAException: Error trying to connect to provider java:/DefaultJMSProvider, XAException.XAER_RMERR I did some research what I was doing wrong and looked in to the JBoss Enterprise Application Platform 5.0.0 documentation for JBoss Transactions and JBoss Messaging. I noticed in the guide for JBoss Messaging that there is no section any more for configuring the recovery resource. Does this mean that I don't need to configure the XA recovery resource anymore? I also asked this question on the JBoss transaction user forum but nobody could answer me that question. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269531#4269531 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269531 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA] - Re: Example File System RA
I've read the documentation Vicky pointed out and also came across http://wernli.nine.ch/web/guest/52 The latter is transactional, but misses a jboss-service.xm file (if it is needed, no idea yet). The former is not transactional. So I was wondering if someone could give me a quick hint on whether the JBoss example still runs (maybe slightly adapted) on JBoss AS 5.x (the example is seems to be deleted from the 5 docs in svn) or do I need to start from scratch or ... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269511#4269511 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269511 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: How a pass signal from state a task or java?? I do not u
What are you trying to achieve here? Both your code and your jpdl look flawed. You seems to expect a variable "response" changing its value. But who is changing the value (means where is the code which changes the value of "response") and who is setting the value in execution context? Also, I get a feel that you are expecting start event triggered again and again without going out of the node. That is also not possible. If you can explain your requirement and let us know how response variable will be set and will be changed then we can try to correct your process flow. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269506#4269506 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269506 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user