[jboss-user] [EJB 3.0] - Re: $Proxy200 error & Invalid (i.e. remote) invocation of lo
anonymous wrote : So does this mean I do not need to call em.getTransaction.begin(), em.getTransaction.commit() and em.getTransaction.rollback() but it still means I need to call em.persist(myEntity) or em.delete(myEntity) from inside the bean, right ? Yes. It does. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200499#4200499 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200499 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - How to test a jboss action class
Hi, I am using the JBoss ESB server. I have an action pipeline which has 3 classes. I have to unit test each of my action classes seperately using junit.However if I have to create and instance of my action class I need to have a ConfigTree object. Is this advisable to create a instance of ConfigTree in a test class ? Is there any other way to unit test these action classes? Please give me suggestions. Thanks in advance, Sheeba View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200498#4200498 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200498 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: AccessLogValve pattern
At the time I didn't find any fix to this problem and since I later implemented the solution using a different approach, I didn't bother finding out if it has been fixed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200497#4200497 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200497 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EBJ configuration help needed!!!
I tried many ways to get this fixed... but it didnot help me. I meddled with the jboss-service.xml file under \all\deploy\ejb3.deployer\META-INF folder by setting socket://${jboss.bind.address}:3873/?maxPoolSize=600 maxPoolSize=600 attribute, which didnot work. I also changed my standardjboss.xml file under \all\conf folder for maximum pool size of by stateless session beans.. | | Standard Stateless SessionBean | | | | 150 | | | which didnot work... I am making only local calls to my EJBs (3.0) , so what invokers will be involved in the calls and where can I alter them??? Regards Thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200492#4200492 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200492 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: SocketProcessId.getpid could not get unique port
Thanks. The problem has been fixed. I have a bad entry in my hosts file. And I removed that entry, now Jboss 5 runs OK. But strange enough, for jboss 4.2.x, even that bad entry exists, the jboss server can start without any problem. Thanks again. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200485#4200485 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200485 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Problem while migrating from weblogic to Jboss
Hello Everyone I am using jboss 3.2.6 with jdk 1.4 i have a problem with deploying my module that was earlier deployed in weblogic i have a module named test1.ear ..this is deployed .. this module has a gui to login login and authentication is done ..after that there are some more modules represented by buttons when i click on one of the button for which ear is deployed like test2.ear then it is also successfulll but while working on test2.ear it requirtes test3.jar and test3.war files now while deploying these test3.jar and test3.war to deploy directory i get the following errors ... | 12:09:25,693 WARN [verifier] EJB spec violation: | Bean : RaContactInfo | Method : public Long ejbCreate() | Section: 10.6.4 | Warning: The throws clause must define the javax.ejb.CreateException. | | 12:09:25,694 WARN [verifier] EJB spec violation: | Bean : RaContactInfo | Method : public Long ejbCreate(Long, String) | Section: 10.6.4 | Warning: The throws clause must define the javax.ejb.CreateException. | | 12:09:25,694 WARN [verifier] EJB spec violation: | Bean : RaContactInfo | Method : public Long ejbCreate(Long, String, Long) | Section: 10.6.4 | Warning: The throws clause must define the javax.ejb.CreateException. | | 12:09:25,706 WARN [verifier] EJB spec violation: | Bean : RaDataInterchangeInfo | Method : public Long ejbCreate() | Section: 10.6.4 | Warning: The throws clause must define the javax.ejb.CreateException. | | 12:09:25,707 WARN [verifier] EJB spec violation: | Bean : RaDataInterchangeInfo | Method : public Long ejbCreate(Long, String, Long, Long, String, String, Long, Long, String, String, String, String, String, Long, Long, String, String) | Section: 10.6.4 | Warning: The throws clause must define the javax.ejb.CreateException. | | 12:09:25,715 WARN [verifier] EJB spec violation: | Bean : RaFileSeqNum | Method : public RaFileSeqNumPK ejbCreate() | Section: 10.6.4 | Warning: The throws clause must define the javax.ejb.CreateException. | | 12:09:25,715 WARN [verifier] EJB spec violation: | Bean : RaFileSeqNum | Method : public RaFileSeqNumPK ejbCreate(Integer, String, Integer) | Section: 10.6.4 | Warning: The throws clause must define the javax.ejb.CreateException. | | 12:09:25,721 WARN [verifier] EJB spec violation: | Bean : RaVpmnHpmnTriplet | Method : public Integer ejbCreate() | Section: 10.6.4 | Warning: The throws clause must define the javax.ejb.CreateException. | | 12:09:25,721 WARN [verifier] EJB spec violation: | Bean : RaVpmnHpmnTriplet | Method : public Integer ejbCreate(Integer, Long, String, String) | Section: 10.6.4 | Warning: The throws clause must define the javax.ejb.CreateException. | | 12:09:25,729 WARN [verifier] EJB spec violation: | Bean : RaEmergencyServicelist | Method : public RaEmergencyServicelistPK ejbCreate() | Section: 10.6.4 | Warning: The throws clause must define the javax.ejb.CreateException. | | 12:09:25,730 WARN [verifier] EJB spec violation: | Bean : RaEmergencyServicelist | Method : public RaEmergencyServicelistPK ejbCreate(Long, String, String, Long) | Section: 10.6.4 | Warning: The throws clause must define the javax.ejb.CreateException. | | 12:09:25,739 WARN [verifier] EJB spec violation: | Bean : RaFraudInfo | Method : public RaFraudInfoPK ejbCreate() | Section: 10.6.4 | Warning: The throws clause must define the javax.ejb.CreateException. | | 12:09:25,739 WARN [verifier] EJB spec violation: | Bean : RaFraudInfo | Method : public RaFraudInfoPK ejbCreate(Long, String, Long, String, Timestamp, String) | Section: 10.6.4 | Warning: The throws clause must define the javax.ejb.CreateException. | | 12:09:25,739 WARN [verifier] EJB spec violation: | Bean : RaFraudInfo | Method : public RaFraudInfoPK ejbCreate(Long, String, Long, String, String, String, Timestamp, String, Float, Long, Long, Long, String) | Section: 10.6.4 | Warning: The throws clause must define the javax.ejb.CreateException. | | 12:09:25,739 WARN [verifier] EJB spec violation: | Bean : RaFraudInfo | Method : public RaFraudInfoPK ejbCreate(Long, String, Long, String, String, String, Timestamp, String, Float, Long, Long, long) | Section: 10.6.4 | Warning: The throws clause must define the javax.ejb.CreateException. | | 12:09:25,747 WARN [verifier] EJB spec violation: | Bean : RaInvoiceInfo | Method : public Long ejbCreate() | Section: 10.6.4 | Warning: The throws clause must define the javax.ejb.CreateException. | | 12:09:25,748 WARN [verifier] EJB spec violation: | Bean : RaInvoiceInfo | Method : public Long ejbCreate(Long, String, Long, Long, String, Float, String, Float) | Section: 10.6.4 | Warning: The throws clause must define the javax.ejb.CreateException. | | 12:09:25,748 WARN [verifier] EJB spec
[jboss-user] [JBossWS] - How to resolved this problem.
11:35:11,487 ERROR [MainDeployer] Could not start deployment: file:/C:/jboss-4.2.2.GA/server/default/deploy/commonAPI.jar java.lang.IllegalStateException: Cannot build JAXB context at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilder.createJAXBContext(JAXWSMetaDataBuilder.java:925) at org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.buildWebServiceMetaData(JAXWSWebServiceMetaDataBuilder.java:146) at org.jboss.ws.metadata.builder.jaxws.JAXWSServerMetaDataBuilder.setupProviderOrWebService(JAXWSServerMetaDataBuilder.java:50) at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilderEJB3.buildMetaData(JAXWSMetaDataBuilderEJB3.java:78) at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.create(UnifiedMetaDataDeploymentAspect.java:71) at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:115) at org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:97) at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:90) at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188) at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95) 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:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy34.start(Unknown Source) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) 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:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy9.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) 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) at org.jboss.system.ServiceController.start(ServiceController.java:417) at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) 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(AbstractMBeanInvo
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Performance consideration using java:/DefaultDS or DefaultDS
Hi there This is just a simple question but one which is important to me: In terms of application design, strategy and performance, which is better to use : java:/DefaultDS (java namespace) or DefaultDS (Global JNDI namespace) and why? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200476#4200476 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200476 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: getting datasource jndi?
Post your oracle-ds.xml and your code. What server are you using ? Because you may have to set some properties before context initialization. Also post your JNDIView (from the JMX Console) if you are using JBoss AS. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200468#4200468 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200468 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: $Proxy200 error & Invalid (i.e. remote) invocation of lo
Thank you so much Wolfgang..this I did not know :-) So does this mean I do not need to call em.getTransaction.begin(), em.getTransaction.commit() and em.getTransaction.rollback() but it still means I need to call em.persist(myEntity) or em.delete(myEntity) from inside the bean, right ? (This is linked to my later question on where is the most suitable place to instantiate the EntityManagerFactory and EntityManager.) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200466#4200466 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200466 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: With SSLBisocket is there is java.rmi.server.hostname or
Okay, I'm stupid.. It's the multihome stuff that I need to use. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200455#4200455 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200455 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: Identifying the thread that is eating up my CPU
In my setup, the threads do not have process ids, so I cannot tell if the Java stack dump (jstack output) mentions the process id associated with each thread. But based on your observations, I would say that it doesn't. None the less, the thread identified as pid 21998 is in the jstack output. Like I wrote earlier, you might have to take several stack dumps, and compare them, to identify the busy thread. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200452#4200452 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200452 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - With SSLBisocket is there is java.rmi.server.hostname or som
I've been using it successfully for about a year now, I recently changed my server side to bind to 0.0.0.0 instead of the specific IP address we were using before. Now when some clients try to connect, when they client.addListener(..) they attempt to connect to that host via the DNS name of the server which seems to be wrong (well, it's not in DNS so they can't resolve it) With RMI there is java.rmi.server.hostname where you can put in an IP address for the server to use, is there an equivalent? thanks, Ian View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200448#4200448 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200448 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: Identifying the thread that is eating up my CPU
Hi Peter Thank you for your reponse I am running on linux so each thread has a PID The main thread is 21997 but htop shows that pid 21997 AND 21998 are eating the CPU but jstack 21997 does not provide anything on 21008 It is like if htop is telling me processId 21997 created thread 21998 and thread 21998 is eating the CPU But jstack is telling me process 21997 doesn't have anything on thread 21998 matt View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200446#4200446 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200446 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: problem with eclipse 3.2.2 and jbpm jpdl designer!!
GPD 3.1.6 is build and tested on Eclipse 3.4.1. Any other combination is not guaranteed to work. With the above combination the installation and creation of jBPM projects and process files seems to happen smoothly. At least on my machine ;-) Cheers, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200445#4200445 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200445 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: Identifying the thread that is eating up my CPU
Are you, by any chance, running with the kernel option that shows each thread as its own process? I can't recall the option name off hand, but if you do a "ps -ef | grep java", how many entries do you get? Based on the jps output, I suspect that 21997 is the process (and the master thread for the process) while 21998 is just a thread. The best way to find out what is taking up all the processor is to run jstack several time, each time a few seconds apart, and look at the threads that are still in the same code. You can ignore the http threads waiting on objects - instead look for threads running your code. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200443#4200443 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200443 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Action.java:122 NullPointerException
I am attempting to run this under Mule 2.1.1 Enterprise. We are running MySQL as the database. The source is a JMS Queue running on ActiveMQ. No matter what I place onto the queue, the error occurs and I have confirmed that data is being placed onto the queue. I am getting the following exception when trying to do a simple business process: ==process.xml=== xmlns="http://jbpm.org/3/jpdl"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://jbpm.org/3/jpdl http://jbpm.org/jpdl-3.1.xsd"; SubscriptionRequest subscriptionRequest ===snippent from mule.cfg== http://localhost:/services/Axiom"/> =exception = ERROR 2009-01-08 15:01:15,795 [jBpmConnector.dispatcher.1] org.jbpm.instantiation.Delegation: couldn't load delegation class 'org.mule.providers.bpm.jbpm.actions.ValidateMessageSource' java.lang.ClassNotFoundException: class 'org.mule.providers.bpm.jbpm.actions.ValidateMessageSource' could not be found by the process classloader at org.jbpm.instantiation.ProcessClassLoader.findClass(ProcessClassLoader.java:118) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at org.jbpm.instantiation.Delegation.instantiate(Delegation.java:140) at org.jbpm.instantiation.Delegation.getInstance(Delegation.java:125) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:147) at org.jbpm.instantiation.Delegation$$EnhancerByCGLIB$$cb0d36ae.getInstance() at org.jbpm.graph.def.Action.execute(Action.java:121) at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:264) at org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:220) at org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:190) at org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:174) at org.jbpm.graph.def.Node.enter(Node.java:303) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:147) at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$4d0a8154.enter() at org.jbpm.graph.def.Transition.take(Transition.java:151) at org.jbpm.graph.def.Node.leave(Node.java:394) at org.jbpm.graph.node.StartState.leave(StartState.java:70) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:147) at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$4d0a8154.leave() at org.jbpm.graph.exe.Token.signal(Token.java:195) at org.jbpm.graph.exe.Token.signal(Token.java:140) at org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:271) at org.mule.transport.bpm.jbpm.Jbpm.startProcess(Jbpm.java:150) at org.mule.transport.bpm.ProcessMessageDispatcher.processAction(ProcessMessageDispatcher.java:163) at org.mule.transport.bpm.ProcessMessageDispatcher.doDispatch(ProcessMessageDispatcher.java:69) at org.mule.transport.AbstractMessageDispatcher$Worker.run(AbstractMessageDispatcher.java:273) at org.mule.work.WorkerContext.run(WorkerContext.java:310) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528) at java.lang.Thread.run(Unknown Source) ERROR 2009-01-08 15:01:15,795 [jBpmConnector.dispatcher.1] org.jbpm.instantiation.Delegation: couldn't
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: AccessLogValve pattern
Is there any solution out there for this error with 4.0.5, is it corrected in a later jboss release? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200431#4200431 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200431 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss/Spring Integration] - ViewExpiredException with Spring, JBossand JSF
Hi, We have recently migrated from weblogic to Jboss. I am not sure if the way we are deploying the application is the right way to do. It is in production though. Recently we have an issue that when session times out, it the user clicks on any link , there would be an HTTP 500 error. To prevent this, I created a sessionTimeoutFilter, which would check for the session validity. After implementing this, we have been getting a lot of ViewExpiredExceptions and the users are being thrown out very frequently. We are using JSF. Any ideas about this? Any ideas if checking the session frequently would cause any issues?? Thanks Vinaya View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200429#4200429 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200429 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Re: Jboss not Running/starting
See this: http://www.jboss.org/community/docs/DOC-9758 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200427#4200427 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200427 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: How to implement BreadCrumb
I have created a custom tabs.jsp for my application but i don't know how i get the current node from the PortalNode or other. I use jboss portal 2.7. Can you help me please? Thanks a lot View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200426#4200426 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200426 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Jboss not Running/starting
Hi All , I am new to JBoss and EJB3.0. I have downloaded jboss-5.0.0.GA.zip and unzipped the required files into C:\jboss-5.0.0.GA. I have downloaded "jdk-1_5_0_17-windows-i586-p" (ie.jdk1.5 update 17) and installed my jdk in C:\Java\jdk1.5.0_17 and i have set the JAVA_HOME to C:\Java\jdk1.5.0_17 and path to C:\Java\jdk1.5.0_17\bin. And when i click on run.bat it blinks and disappears or when i give the command C:\jboss-5.0.0.GA\bin>run.bat i get an error saying 'findstr' is not recognized as an internal or external command, operable program or batch file. Can any one walk me through the installation. I have just started learning EJBs from Orielly but i am unable to do the code example as i am unable to install JBOSS. Can anyone point me where i am going wrong. With Regards Deepthi View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200424#4200424 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200424 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Log4j mismatch ?
Yes, having your own copy of lg4j.xml can cause this. Most likely, your log messages are going to stdout, which is intercepted by log4j within JBoss, with the end resulting being what you see. The typical way of logging in JBoss AS is to not have any logging-related info in your app (no log4j.properties or xml, no logging JAR files), and to instead define your logging in the server/xxx/conf/jboss-log4j.xml file. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200423#4200423 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200423 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: New SystemOuts since upgrade to 2.0.0.GA with Jboss AS (
I had experienced a similar problem with lots of [aop-trace] output running a client code against JBoss server The problem has gone away, when jboss-logging-log4j.jar was placed in client CLASSPATH. Apparently, default logging is done by org.jboss.logging.Log4jLoggerPlugin, which was missing from classpath, and SystemOutLoggerPlugin was used instead. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200421#4200421 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200421 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: problems connecting to a Queue
jeuk, were you able to find a way to stop outputting [aop-trace] messages? I've tried alt. log4j configuration on my client to no avail. Is this really a log4j related output? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200416#4200416 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200416 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Trying to persist process instances - need some help
Specifically the tables were JBPM_ID_GROUP, JBPM_ID_USER, JBPM_ID_MEMBERSHIP, and JBPM_ID_PERMISSIONS. Also #2 I had wrong, I think there were some errors in my hibernate config. I came across another example located here: http://jboss.org/community/docs/DOC-11139 And was able to use some of their configurations to get over that hump. So now I'm pretty sure the remaining problems are specific to my code (instead of the Jbpm setup files) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200415#4200415 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200415 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Trying to persist process instances - need some help
So it turns out I think I had a couple of things missing/wrong. (Of course :) ) So #1, it seems when trying to load up an external DB and use the jbpm-console there are a couple of things that should be known: a) The database build scripts located under {jbpm-install}/database do not include any of the authentication tables needed to actually use the jbpm-console web app. b) When installing jbpm through the jar installer, if you chose hypersonic as your database, it *will* however give you the correct tables needed for jbpm-console (hence why it works out of the box) So what I ended up doing was copying the SQL out of my {jboss-server}/data/hypersonic/JbpmDB.script that hypersonic was using to create the remaining tables needed for my jbpm-console to work correctly. Once I was able to get the console working correctly (knowing I had the correct DB settings and hibernate) I was able to then compare/use these settings in my own app. I'm working closer to getting it working correctly. Now I'm getting what seems to be a more manageable exception :) org.hibernate.AssertionFailure: null id in org.jbpm.graph.def.ProcessDefinition entry (don't flush the Session after an exception occurs) I'm happy though that the jbpm-console examples are working and persisting correctly to Mysql! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200413#4200413 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200413 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: Recommended Memory Usage
Sounds great. That makes perfect sense. Thank you for your help, Peter! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200412#4200412 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200412 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Deadlock in JDBCCacheLoader
It is possible to have a deadlock in JDBCCacheLoader when concurrently trying to put two different entries into it. Timing has to be right of course and even then chances are small (like 1 to 16384). But still it is a problem. I have found it in version 1.4.1.SP8 but it is still a problem in 3.0.1.GA I have put together a unit test (for 3.0.1.GA) which demonstrates the issue: trying to put Fqns "/a/b" and "/c/d" at the same time is fine, but "/a/m" and "/l/p" is not | import static org.easymock.EasyMock.*; | | import java.sql.Connection; | import java.sql.DatabaseMetaData; | import java.sql.PreparedStatement; | import java.sql.ResultSet; | import java.util.Hashtable; | import java.util.Properties; | | import javax.naming.Context; | import javax.naming.NamingException; | import javax.naming.spi.InitialContextFactory; | import javax.sql.DataSource; | | import junit.framework.TestCase; | | import org.easymock.Capture; | import org.easymock.IAnswer; | import org.jboss.cache.CacheSPI; | import org.jboss.cache.Fqn; | import org.jboss.cache.config.CacheLoaderConfig.IndividualCacheLoaderConfig; | import org.jboss.cache.io.ByteBuffer; | import org.jboss.cache.loader.JDBCCacheLoader; | import org.jboss.cache.marshall.Marshaller; | | public class JDBCCacheLoaderTest extends TestCase { | private static final long EXECUTE_QUERY_DELAY = 1000; | private static final long MAX_TIME_FOR_PUT = 1; | | private static Context context; | | public static class SimpleContextFactory implements InitialContextFactory { | public Context getInitialContext(Hashtable environment) throws NamingException { | return context; | } | } | | private JDBCCacheLoader jdbcCacheLoader; | | @Override | protected void setUp() throws Exception { | System.setProperty("java.naming.factory.initial", "JDBCCacheLoaderTest$SimpleContextFactory"); | | //JDBC mocks | context = createNiceMock("context", Context.class); | final CacheSPI cacheSPI = createNiceMock("cacheSPI", CacheSPI.class); | final Marshaller marshaller = createNiceMock("marshaller", Marshaller.class); | final DataSource dataSource = createNiceMock("dataSource", DataSource.class); | final Connection connection = createNiceMock("connection", Connection.class); | final DatabaseMetaData databaseMetaData = createNiceMock("databaseMetaData", DatabaseMetaData.class); | final PreparedStatement preparedStatement = createNiceMock("preparedStatement", PreparedStatement.class); | final ResultSet resultSet = createNiceMock("resultSet", ResultSet.class); | makeThreadSafe(cacheSPI, true); | makeThreadSafe(marshaller, true); | makeThreadSafe(dataSource, true); | makeThreadSafe(connection, true); | makeThreadSafe(databaseMetaData, true); | makeThreadSafe(preparedStatement, true); | makeThreadSafe(resultSet, true); | | //mock expectations | expect(context.lookup("java:/JDBCCacheLoader")).andStubReturn(dataSource); | expect(cacheSPI.getMarshaller()).andStubReturn(marshaller); | expect(marshaller.objectToBuffer(capture(new Capture(.andStubReturn(new ByteBuffer(new byte[] {'a'}, 0, 1)); | expect(dataSource.getConnection()).andStubReturn(connection); | expect(connection.getMetaData()).andStubReturn(databaseMetaData); | expect(databaseMetaData.getDriverName()).andStubReturn("a driver name"); | expect(connection.prepareStatement(capture(new Capture(.andStubReturn(preparedStatement); | expect(preparedStatement.executeQuery()).andStubAnswer(new IAnswer() { | public ResultSet answer() throws Throwable { | Thread.sleep(EXECUTE_QUERY_DELAY); | return resultSet; | } | }); | preparedStatement.executeUpdate(); | expectLastCall().andStubReturn(1); | | replay(context, cacheSPI, marshaller, dataSource, connection, databaseMetaData, preparedStatement, resultSet); | | //JDBCCacheLoader init | Properties props = new Properties(); | props.put("cache.jdbc.table.name","TREE_CACHE"); | props.put("cache.jdbc.table.create","false"); | props.put("cache.jdbc.fqn.column","FQN"); | props.put("cache.jdbc.node.column","NODE"); | props.put("cache.jdbc.datasource","java:/JDBCCacheLoader"); | | IndividualCacheLoaderConfig config = new IndividualCacheLoaderConfig(); | config.setProperties(pr
[jboss-user] [JBoss jBPM] - problem with eclipse 3.2.2 and jbpm jpdl designer!!
Hello all, I'm a newbie with jBPM and just woulk like to start to use it in eclipse. My banking company uses RSA7, so underlying eclipse 3.2.2 as IDE. I'vre tried to install many versions of jbpm-jpdl-designer as eclipse plugin, among which 3.1.6, 3.1.5, and 3.1.3.SP2, but unfortunately no one is running well. More exactly, the installation happens well (except for the documentation feature, as said in an ealier post, that generates an exception) but if i don't choose this option and only jBPM jPDL Tools 3.1.6, all is ok. The problem is that when i restart the eclipse, i just don't see any File ->New -> Project -> jBPM Project. What i am exacty doing during installation: - download eclipse-SDK-3.2.2-win32.zip and extract it in $eclipse-folder. - download jbpm-jpdl-designer-3.1.6.zip, extract it somewhere and copy feature and plugin folders in $eclipse-folder - open eclipse no File->New->Project->Jbpm Project although the plugin is well installed. i verify it by Help->Software Update-> Manage Configuration, i can see the item jBPM jPDL Tools 3.1.6! What's wrong with this way of doing? Did anyone be successfull on installing designer plugin with eclipse 3.2.2? By the way, i doesn't seem to work neither with eclipse 3.4! Having spent about a day searching, reading and testing, I could do with some clues as to where to look next. I'd very much appreciate your suggestions. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200406#4200406 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200406 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Exceptions thrown to the client without logging
I have some custom exceptions created in my web service. When the client calls that web service within jboss, when it fails with a custom exception I want it to return to the client the exception. All fine, except for one little thing. The JAXWS that handles the request, before sending the exception to the client, calls logger.error on that exception! I can configure the log4j or some other logger to avoid this, but is there some nice solution, like configuring jax to only stacktrace the exceptions that aren't defined in the web service interface. Thank You View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200405#4200405 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200405 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools Model Update NPE
thanks for tracking down - please report it in jira with the steps we need to do to reproduce it (i..e attach a minimal project ?) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200402#4200402 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200402 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Jarjared version of JBC3 for using in JBossAS 4.2
Suggest you get the source from svn directly. Tagged releases are under http://anonsvn.jboss.org/repos/jbosscache/core/tags. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200396#4200396 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200396 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: org.jboss.cache.TreeCache and JBoss cache > 1.4.1
If you want to use sesssion replication, I don't think this is fixable, at least no fix that doesn't involve repackaging the JBC 3 classes as discussed at http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200115#4200115. See my post above where I say anonymous wrote : if the 3.0.1 classes are in the war, they'll be visible to the session replication code as well, likely leading to incompatible type issue (e.g. which version or org.jboss.cache.Fqn). Your java.lang.VerifyError is the kind of thing I was talking about. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200395#4200395 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200395 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Log4j mismatch ?
I have JBoss setup with the default log4j.xml. My problem is that all application related messages that are printed in the server.log are displayed at INFO level. The application that is deployed has its own log4j file with its own pattern layout. Could this be causing it or is the issue someplace else ? The output of the log files looks something like this date:time INFO [thread name] classname (filename :line number) - [entire application message - most of which is a repeat of the ealier pattern] Do let me now. Thanks, -Kevin. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200394#4200394 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200394 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Problem when using EJB3EntityTreeCache for caching entit
Please give an example of how you are calling "flush for tables". View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200393#4200393 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200393 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss compatibility with Windows server 2008
JBoss AS (and JBoss SOA) are pure Java, thus they should run the same on any operating system that has a JVM. Having said that, you can run into networking/firewall and permission issues because some OSes have security tightened down more than others. But the OS vendor should provide the necessary information on how to configure your security settings to open ports and do other such things. I have Server 2008 running in VMWare. I think that I ran JBoss AS there with no issues (it's been several months since I used Server 2008). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200385#4200385 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200385 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Wrong column type: expected: numeric(10, 0)
The xml was eaten in the previous post. | change from: | | to: | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200384#4200384 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200384 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools Model Update NPE
I actually tracked the problem down to one TLD file. If this is in web-inf, I get the error. The name is functions.tld. I removed all but one function definition and still get the NPE: 1.0 1.1 AA Functions http://www.foo.com/functions AA Functions isApproved com.foo.aa.webapp.util.WebUtils boolean isApproved(com.foo.aa.business.ReviewRecord) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200383#4200383 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200383 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Wrong column type: expected: numeric(10, 0)
work around. try changing persistence.xml as follows: file is located here //src/model/META-INF/persistence.xml change from: to: This will skip the validity check during start up. I think this should be considered a bug by JBoss. I have Developer 1.0 GA and the 2.0 Beta and they both suffer from the same problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200382#4200382 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200382 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Not able to start JBoss
Always follow the "caused by" trail when debugging problems. In your case, the "root" "caused by" is: anonymous wrote : Caused by: java.lang.RuntimeException: Exception creating identity: ashish.fiserv.co.in: ashish.fiserv.co.in Is this your host's name? What are the contents of the /etc/hosts file? It would appear that that file contains incorrect information. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200380#4200380 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200380 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - How to monitor JBoss Messaging
Hi What is the best way to monitor the performance of a Topic in Jboss Message - Number of messages processed / seconds - Number of messages in the Topic waiting to be processed - CPU usage etc... Is the JMX console / jboss.messaging.destination / the tool provided to monitor the topic ? Thank you for your help View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200379#4200379 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200379 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: Timer problem when using jconsole
Hello, I met exactly the same issue and it was due to a vm property I added in run.bat: -Dcom.sun.management.jmxremote After deleting this property from the JAVA_OPS args, it worked fine! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200378#4200378 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200378 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: AS 5.0: Why touch web.xml for exploded deploys?
Since your are now asking for a new feature, you should ask on the JBoss Tools forum. http://www.jboss.com/index.html?module=bb&op=viewforum&f=201. Note that I am assuming that you have installed JBoss Tools into Eclipse. I haven't looked closely enough at the workings of JBoss Tools and how it does deployment, but I do know that it in some way automatically updates the deployed application. I do not know if that is by touching the web.xml or not. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200377#4200377 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200377 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Error creating MBeanProxy when using @Depends
Hello, I met exactly the same issue and it was due to a vm property I added in run.bat: -Dcom.sun.management.jmxremote After deleting this property from the JAVA_OPS args, it worked fine! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200376#4200376 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200376 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: workaround for StackOverflow exception
"vanyatka" wrote : Here is what I've tried: | | | | | | | | | | | | Not the best solution, but I thought I'd do the trick. Unfortunately there is another problem, now in Seam: | | https://jira.jboss.org/jira/browse/JBSEAM-2575 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200373#4200373 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200373 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Newbie FAQ type question - Where is Admin documentation?
Please define the term "Parent instance". Do you mean deploying the Portal multiple times to the app server? As far as I know, that is not possible for the Portal (you can do it for other apps provided each instance has its own context, or if your define virtual hosts). Also, why would you even need to do that if you can use a single Portal instance to define multiple portals? For setting up SSL: http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Server_Configuration_Guide/4/html/Security_on_JBoss-Using_SSL_with_JBoss_using_JSSE.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200371#4200371 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200371 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: Recommended Memory Usage
No, it will not have to double. A lot of that 1/2 GB is for the JVM code and the operating system is smart enough to shared the code between Java instances. Thus while the first instance will use up a lot of memory, a second instance will not use as much additional memory. Based on your heap size, you should be able to run two JBoss AS instances in 2GB of memory. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200369#4200369 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200369 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - unable to do graph navigation in jbpm using token.signal or
Hi All, I have a process definition with a start state, end-state and a node in between. I have configured actionhandlers for the start state , node and the end state. i am using the jbpm exceutioncontext from the execute() method to advance the token using either : a) context.getNode().leave(context, namedTransition); or b) context.getToken().signal(namedTransition) in the second case i am explicitly unlocking the current node using the token id as below: long tokenId = context.getToken().getId(); Token currentToken = context.getToken(); if(currentToken.isLocked()) { currentToken.unlock("token[" +new Long(tokenId).toString()+"]"); } the events which i am checking for are node-enter and node-leave events in the execute method which I am overriding in my ActionHandlers configured for these nodes. start-state = node-leave node = node-enter and node-leave end-state = node-enter start-state ---transition1---> node1 ---transition2 > end-state For the above scenario everything works as expected. However if i introduce one more node between the start and end states : start-state ---transition1---> node1 ---transition2 > node2 transition3> end-state the process instance doesnt complete and in one case returns the token to the first node and in another returns the token to the second node. Thus the process instance wont complete unless i explicitly keep calling the token.signal(transition) or the node.leave(transition) as stated above. Can anyone help me resolve this ? I have tried task-nodes as well but the behaviour is erratic. Is there something in the API I am missing ? TIA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200366#4200366 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200366 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Jboss Portal 2.7.0 and JBoss AS 5
2.7 won't run on AS5 you need to use EAP 4.3 or JBoss AS 4.2 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200362#4200362 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200362 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Jboss Portal 2.7.0 and JBoss AS 5
Hi, I'm testing portal in the new JBoss AS and does not success. I put the directory "jboss-portal.sar" (2.7.0-ga) inside "jboss-5.0.0.GA\server\default\deploy" and run. The result: 2009-01-08 12:42:32,225 WARN [org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext] (main) Unable to register deployment mbean vfsfile:/C:/jboss-5.0.0.GA/server/default/deploy/jboss-portal.sar/portal-admin.sar/portal-admin.war/ | javax.management.InstanceAlreadyExistsException: jboss.deployment:id="vfsfile:/C:/jboss-5.0.0.GA/server/default/deploy/jboss-portal.sar/portal-admin.sar/portal-admin.war/",type=SubDeployment already registered. | at org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistry.java:767) | at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:236) | at sun.reflect.GeneratedMethodAccessor89.invoke(Unknown Source) | 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.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:90) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:90) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1431) | at java.security.AccessController.doPrivileged(Native Method) | ... | Some idea ?? Thanks Simundi View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200358#4200358 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200358 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Updating of existing TaskInstances
Hello, is it possible to update values of existing TaskInstances? Our task has a due date defined something like #{dateVariable + 5 days} which is ok when we create the task. While the task is open, the instance variable #{dateVariable} can change. I'd like to update the task's due date to a new value representing the new date (incl. running the EL evaluation). Is this process design even proper? Any help appreciated. Petr View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200357#4200357 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200357 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: plug-in problem
Can you please give a little bit more info on your environment and the way you try to install the GPD? Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200354#4200354 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200354 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Browser identification
Hi, I try to adapt the configuration and maybe the style of the portal with the type of client browser. Does anyone knows, if it is possible? Can we interact with the configuration of the portal, dynamically? Before displaying the page to the client, can we adapt her for each type of browser (firefox, safari, internet explorer?) Thanks for any help! Best regards. __ Philippe View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200353#4200353 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200353 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: 4.0.5GA cluster with mySQL
what was the solution ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200351#4200351 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200351 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Problems with examples
I forwarded this to Mark Newton - the examples author. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200348#4200348 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200348 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Grant free access to resource
Hi, I want protect the whole applicattion, but I need grant access to some folders, cuz my login page looks for resources in these folders. How can I do it? I tried to create a security constraint using unauthorizedIdentity, but it didn´t work. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200346#4200346 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200346 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Problems with examples
Hi I downl;oaded the latest examples on 10-Dec-2008 and can't seem to get commandLineClient to run. It appears as if the deployer is not being initialised in EmbeddedBootstrap. Any help would be gratefully appreciated. I'm running under Windows XP as follows: C:\examples\User_Guide\gettingStarted\commandLineClient\target\client-cl.dir>"C:\Program Files\Java\jdk1.5.0_07\bin\java" -Djava.ext.dirs=./lib -cp client-1.0.0.jar org.jboss.examp le.client.Client Client DEBUG [08-01-2009 13:52:53] KernelFactory - Starting JBoss Kernel construction... Client DEBUG [08-01-2009 13:52:53] KernelFactory - Completed JBoss Kernel construction. Duration: 203 milliseconds --- Menu: d) Deploy Human Resources service u) Undeploy Human Resources service a) Add employee l) List employees r) Remove employee g) Get a salary s) Set a salary t) Toggle hiring freeze m) Display menu p) Print service status q) Quit >d Client WARN [08-01-2009 13:53:03] EmbeddedBootstrap - Error during deployment: null java.lang.NullPointerException at org.jboss.example.client.EmbeddedBootstrap.deploy(EmbeddedBootstrap.java:31) at org.jboss.example.client.Client.deploy(Client.java:72) at org.jboss.example.client.ConsoleInput$1.run(ConsoleInput.java:52) at java.lang.Thread.run(Thread.java:595) > Regards Alan Halley View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200344#4200344 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200344 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - ProcessInstance ending changed
I am updating from an older version (3.1.4) to the latest jbpm version (3.3.0.GA). I saw that the method end(boolean reativeSuper) was removed. This is breaking some of our unit tests. We have scenario's where we want to stop child tokens of a process instance without activating the parent. This means really aborting the process instance and not continuing any more. Before when calling token.end(false), this would call processInstance.end(false), which would not reactivate the parent token. Now this reactivates the parent token, so the parent process instance continues. What was the reason behind this breaking change? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200334#4200334 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200334 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Problems with EJB3 and JBossWS
Hello everybody, I have the following problem: I developed a simple EJB application using JBoss 5.0.0.GA without any upgrading. The EJB application is made by 2 Entity with oneToMany bidirectional relation. I also developed a SLSB to create, delete, get the entity beans. Due to relation Entity Bean 1 contains a list of Entity Beans 2 and Entity Bean 2 contains a reference to Entity Bean 1. I also developed a simple external client. Through this client I call the SLSB to create some Entity Bean 1 and some Entity Beans 2 and the relationships. Thorough the same SLSB I get all Entity Bean 1 (with all the related Entity Bean 2) and I have no problems. Now I exposed all the methods of SLSB as WS and I created another client for WS. With this client I am able to call all methods except the method that get all Entity Bean 1. I have an error due to bidirectional relationship between the Entity Bean 1 and the Entity Bean 2. I modified the relationship from bidirectional to unidirectional and now I am able to call the method get all Entity Bean 1 from WS Client. Is there one able to explain me which is the problem and if I can solve it? Thank you very much and bye, Giordano View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200330#4200330 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200330 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: $Proxy200 error & Invalid (i.e. remote) invocation of lo
Hi, to comment on one of your older questions: anonymous wrote : You are right...it is all managed by the container especially when using entity managers but surely you have to be calling em.gettransaction.begin(), em.gettransaction.commit(),em.persist(object) from somewhere in code to make it happen ! By default a transaction is started automatically when you call a session bean method from the client, and it is committed afterwards. So you don't need to care about them. More control over transaction (e.g. you want to start new one if one session bean calls another bean's method) can be achieved through annotations like @RequiresNew. And only if all this is not sufficient, you can perform your own transaction handling. But in most use cases, the default behavior is good enough I think. Hope this helps Wolfgang View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200328#4200328 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200328 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Identifying the thread that is eating up my CPU
Hi I need a little bit of help to get started I use jboss4.2.2 with Jboss Messaging 1.4.0 SP3 My application is eating up 100% CPU and I am trying to find out which thread is responsible for it When I run htop and I sort by CPU usage I see that my application created many threads and especially 2 of them eating up the CPU PID User PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command 21997 root 16 0 2080M 1403M 129M S 100 18.3 5h35:28 /usr/lib/jvm/java-1.5.0-sun/bin/java -Dprogram.name=run.sh -server -Xms1024 -Xmx1024 -Dsun.rmi.dgc.client.gcInterval=360 ... 21998 root 17 0 2080M 1403M 129M R 92.8 18.3 4h28:52 /usr/lib/jvm/java-1.5.0-sun/bin/java -Dprogram.name=run.sh -server -Xms1024 -Xmx1024 -Dsun.rmi.dgc.client.gcInterval=360 ... All other threads related to this application have CPU = 0% When I run jps, I see 26596 Jps 21997 Main When I run jstack 21997 > /tmp/jstack.21997 and view jstack.21997 then I don't see any information related to PID 21998 Why is that? I am trying to get an understanding of what the thread 21998 is doing but why can't I see anything about it in the jstack dump of the process 21997 ? I would appreciate any help Thank you View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200327#4200327 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200327 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How to model hierarchy recursion process ?
Recusrion is not supported, but as you can see in 'their' complicated view, they use more atomic operations to achieve this. jBPM supoports almost all of these atomic operations and with e.g. a decision you can create a loop (I know looping is different, but I think a loop is better here than recursion). The stack overflow occurs if you finish the task and not save it and close the context. Otherwise it should work., I did this myself several times. In a custom assignmenthandler you can check which person/role should be the next one to act upon the task. Works for me. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200323#4200323 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200323 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How to obtain step of jbpm instance
Ok! What a silly!! I thought that method getRootToken from an instance always return the first token of the jPDL. Sorry and thank you View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200316#4200316 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200316 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Transition loop
I have a workflow requirement where I need to keep asking users in a system for approval till it is approved by all of them. I decided to loop over two jbpm nodes first being decision node and then a task node. Here I get a StackOverFlow Exception when i load the taskinstance from db again and try to end it. I have searched across various forums, only solution ppl seems to suggest for this is to persist it. Currently I am persisting the task instance created and then I end the task by fetching it from database. After this flow is suppose to go to decision node and decide whether to go to task node or to end. but as soon as it reached decision node I get StackOverflow exception. Cud anyone explain where and how i need to persist. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200315#4200315 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200315 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Stack overflow on recursive patten.
I have a workflow requirement where I need to keep asking users in a system for approval till it is approved by all of them. I decided to loop over two jbpm nodes first being decision node and then a task node. Here I get a StackOverFlow Exception when i load the taskinstance from db again and try to end it. I have searched across various forums, only solution ppl seems to suggest for this is to persist it. Currently I am persisting the task instance created and then I end the task by fetching it from database. After this flow is suppose to go to decision node and decide whether to go to task node or to end. but as soon as it reached decision node I get StackOverflow exception. Cud anyone explain where and how i need to persist. It will be very help full if somebody can share what approach/design did they have used to resolve this problem. Any input will be helpful and is appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200314#4200314 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200314 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: $Proxy200 error & Invalid (i.e. remote) invocation of lo
Ok, I've finally solved the problem. Since I'm using JBoss server, it seems that everything that I put directly on the classpath is overriden by what's in the JBoss client directory especially the hibernate files. So anybody using JBoss, do be careful especially when you are doing the Hibernate Compatibility Matrix portion. Now all I need to know is, since my client is calling my session bean is calling my wrapper datasource which persists the entity to db, where do I place my em.gettransaction.begin(), em.persist(entity), em.gettransaction.commit() and em.gettransaction.rollback() commands? Do I do it in the client as follows :- | BiddingTestBeanRemote bidder= (BiddingTestBeanRemote) ctx.lookup("BiddingTestEAR/BiddingTestBean/remote"); | //BiddingTestBeanLocal bidder = (BiddingTestBeanLocal) PortableRemoteObject.narrow (obj, BiddingTestBean.class); | | em.getTransaction().begin(); | bidder.setBidder(); // call the bean's setter method | em.persist(bidder); | em.getTransaction().commit(); | or in the bean as follows :- | em.getTransaction().begin(); | Bidder bidder = new Bidder(); | bidder.setBidderName("Bidder No 1"); | bidder.setBidSessionId(1); | em.persist(bidder); | em.getTransaction().commit(); | Please can somebody help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200312#4200312 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200312 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - How to configure Connection Factories for No Transactions an
I am a new user to JBoss Messaging. Using JBoss Messaging 1.4.0 SP3. I tried forming Connection Factories with it; but found that all the connection factories were by default created for XA_Transactions. I need to create Connection Factories for Local Transactions and No Transactions. I had modified connection-factories-service.xml with the following entries, and created a few MBean entries all of them turned out to be XA Transaction Connection Factory. jboss.messaging:service=ServerPeer jboss.messaging:service=Connector,transport=bisocket jboss.messaging:service=PostOffice /LTConnectionFactory java:/LTConnectionFactory Let me know what else I need to do. I read through the JBoss Messaging 1.4 Users Guide. But couldn't find any related information. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200310#4200310 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200310 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How to obtain step of jbpm instance
by usin g the api... get the active tokens of an instance recusively and check what node they are in View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200309#4200309 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200309 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Programmatically create a JMS connection factory
I need to create a JMS connection factory programmatically in a remote standalone (non-JBoss AS) JVM using just a simple endpoint specification; ideally, given just TCP/IP host:port address of a JBoss Messaging server. org.jboss.jms.client.JBossConnectionFactory seems like the logical entry point, but setting up the delegates looks a bit involved; a pointer in the right direction, and warning about pitfalls would be highly appreciated. Thank you, Attila. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200307#4200307 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200307 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: validatorPingPeriod/Timeout etc. not properly passed fro
sure I'll verify. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200306#4200306 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200306 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: validatorPingPeriod/Timeout etc. not properly passed fro
Howard- could you verify this and whether or not it is fixed in the latest remoting release? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200304#4200304 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200304 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: usage of visual edittor for jsf / seam pages
anonymous wrote : so in xml terms you want to be able to zoom in on elements/tagpairs. That's right. I'll submit a feature request. Regarding templates... can they be nested too... can a template reference another template? If so, the same idea would apply. It would be nice to have some sort of "open-on" capability where a mouse action in the VPE visual pane "zooms in" to the template, and so on for further nesting. The interesting issue here is when traversing files, how does VPE remember how to zoom back out? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200298#4200298 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200298 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: EJB3 and remote client EJB access
Im using LdapExtLoginModule and in the code I can see that it in the validatePassword() method stores the AuthenticationException from failed validation in the super class. Then in the super class UsernamePasswordLoginModule, the AuthenticationException is retrieved again in the login() method and used as initCause() on the FailedLoginException that is thrown out of login(). The problem seems to be that the original AuthenticationException has a resolvedObject set with LdapCtx which is not serializable, and when the FailedLoginException is serialized to be sent over to the client, it blows up with NotSerializableException. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200293#4200293 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200293 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JmsXA configuration
It started after i change the way IntialContext was constructed. Earlier i made initialcontext using properties object.. I changed it to a default constructor initialcontext. It started working. I guess system is expecting later initialcontext. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200292#4200292 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200292 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss 5.0 Taking LONG Time to Start Up
"ctf" wrote : | For a completely clean & unmodified instance (no apps) of JBoss 5.0, it takes about 1 minute to start. | Looks OK. "ctf" wrote : | In Eclipse, using the JBoss plugin, it takes about 2 minutes to start the app using the "Run" command | I haven't used the Eclipse JBoss plugin, so not sure if that is expected. I guess, you could ask about this in the forum here http://www.jboss.com/index.html?module=bb&op=viewforum&f=201. P.S: I hope, i am pointing you to the right forum - I don't know if the Eclipse Plugin you are talking about is different from the JBoss Tools :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200289#4200289 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200289 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Unable to compile class for JSP after deploying EAR upda
anonymous wrote : I build an EAR file on my Mac OSX workstation and upload it to my production Linux web server's deploy directory, there is a seemingly random chance per .JSP page that going to that page will generate an "Unable to compile class for JSP" exception. | | Here is a typical error: | java.io.FileNotFoundException: no such file: /usr/java/jboss-4.2.3.GA/server/default/work/jboss.web/localhost/_/org/apache/jsp/Web/overview_jsp.class | | Wild guess - http://www.jboss.com/index.html?module=bb&op=viewtopic&t=146078 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200288#4200288 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200288 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Migrate ejb2.1(jboss-4.0.5.GA) to jboss-5.0.0.GA
anonymous wrote : 2009-01-08 14:35:11,421 INFO [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/, vfsUrl=myatlas.ear/myatlas.war You are trying to bind your application to the / context, which is already taken up by ROOT.war. See this for details http://www.jboss.com/index.html?module=bb&op=viewtopic&t=147130 You will have to change the context of the web-app (in application.xml) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200287#4200287 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200287 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss compatibility with Windows server 2008
I am looking for compatibility of JBoss-soa-4.3 with windows serv 2008. Please let me know View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200285#4200285 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200285 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: How to do exploded deployment?
I got it working by rebuilding my dev. environment. * Downloaded and installed the current Eclipse IDE JEE distro (3.4.1) * Downloaded and installed JBoss Tools 3 CR1 from the update sites (I had to uncheck the JBoss Birt option before the install would work) * Restarted Incremental publishing to the JBoss deploy folder is now working correctly. Thanks for the help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200284#4200284 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200284 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - JBoss compatibility with Windows server 2008
Hi, I wanted to know if JBoss apps would work in the same manner on Windows Server 2008 as on win2003 We are about to install win server 2008 on our machines and are anxious if we would face some issues here? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200282#4200282 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200282 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: Parameter names in Mbeans
+ 1 :-) Hi all, I've read the FAQ and did not find anything about it... Is there a way to give "human readable" names to method-parameters for MBean in JBoss jmx-console? Thanks for advice. Carsten View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200280#4200280 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200280 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM 3.3.0GA and Oracle causing StaleObjectStateExceptio
Digged into it a bit further. Seems to me that there are cases for which FORCE lock will never work. Let me try to explain: If you have a process with a fork join where the parallel branches contain a node which performs a query. If you can run from start to the join in the same transaction you get into trouble with the FORCE lock. What happens is: - Main token gets created and persisted - version is 0 - Fork join is triggered, 2 child tokens are created. - when query is performed in a node in one of the branches, an auto flush is done. This will increment the version of the parent lock to 1, since this one changed since the beginning of the process (some dates are filled in,...) - When you arrive in the fork, the lock will try to increase the version to 1, which fails since it is already 1. So my problem was not related to any bug in oracle but just due to the default locking and the fact that in my unit test I run through the complete process in one transaction. In these cases you need to set lock to upgrade. In other cases you can leave the default locking (force lock). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200278#4200278 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200278 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Can JBoss set Username Token in SOAP header with authent
I'll call a web service by using Java , I need client code example to put username and password by using token message ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200276#4200276 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200276 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JmsXA configuration
In java code, i am doing ic.lookup("java:/JmsXA"); Do i need to mention java , some where else ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200275#4200275 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200275 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - How to obtain step of jbpm instance
Hello! I would like to know how could obtain in which step is a jbpm instance. In which task, node or state is a determinated instance. How could I do this?? Thanks in advance, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200274#4200274 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200274 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: $Proxy200 error & Invalid (i.e. remote) invocation of lo
I've just narrowed my problem down to this error (see console output below) where my client app always shows that I am using Hibernate Annotations 3.2.1.GA no matter what HA version I'm adding to the client classpath in Eclipse or directly to the JBoss's server/default/lib. It's pretty strange and stubborn too. This first line below always comes out in black and the rest in red in the console output: Client Side Console Output: | - Hibernate Annotations 3.2.1.GA | Jan 8, 2009 5:11:11 PM org.hibernate.cfg.Environment | INFO: Hibernate 3.3.0.SP1 | Jan 8, 2009 5:11:11 PM org.hibernate.cfg.Environment | INFO: hibernate.properties not found | Jan 8, 2009 5:11:11 PM org.hibernate.cfg.Environment buildBytecodeProvider | INFO: Bytecode provider name : javassist | Jan 8, 2009 5:11:11 PM org.hibernate.cfg.Environment | INFO: using JDK 1.4 java.sql.Timestamp handling | Jan 8, 2009 5:11:12 PM org.hibernate.ejb.Version | INFO: Hibernate EntityManager 3.4.0.GA | Exception in thread "main" java.lang.NoSuchMethodError: org.hibernate.cfg.AnnotationConfiguration.setProperty(Ljava/lang/String;Ljava/lang/String;)Lorg/hibernate/cfg/AnnotationConfiguration; | at org.hibernate.ejb.Ejb3Configuration.setProperty(Ejb3Configuration.java:535) | at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:165) | at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:253) | at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:125) | at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:52) | at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:34) | at BidClient.main(BidClient.java:54) | | Strangely enough, for the server-side output (when I start JBoss from Eclipse), it seems to correctly show that I am using Hibernate Annotations 3.4.0.GA (see below): Server-Side Console output: | 17:34:39,562 INFO [Version] Hibernate Annotations 3.4.0.GA | 17:34:39,578 INFO [Environment] Hibernate 3.3.0.SP1 | 17:34:39,593 INFO [Environment] hibernate.properties not found | 17:34:39,593 INFO [Environment] Bytecode provider name : javassist | 17:34:39,593 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling | 17:34:39,718 INFO [Version] Hibernate Commons Annotations 3.1.0.GA | 17:34:39,718 INFO [Version] Hibernate EntityManager 3.4.0.GA | 17:34:39,968 INFO [AnnotationBinder] Binding entity from annotated class: my.com.eperolehan.entities.Bidder | 17:34:40,015 INFO [EntityBinder] Bind entity my.com.eperolehan.entities.Bidder on table BIDDER | 17:34:40,109 INFO [Version] Hibernate Validator 3.0.0.GA | What could be the problem ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200273#4200273 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200273 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JmsXA configuration
You forgot the java: View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200272#4200272 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200272 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - JmsXA configuration
I just want to know changes required to configure JmsXA. I am trying to use jmsXA for my JMS application on JBoss 4.2.3 GA with JBM 1.4.0.SP3 I have made all the necessary changes for configuring JBM with JBoss, and it is working fine with ClusteredConnectionFactory. But when i want to use JmsXA . it is giving error Jmsxa not bound. | javax.naming.NameNotFoundException: JmsXA | at org.jboss.ha.jndi.TreeHead.lookup(TreeHead.java:242) | at org.jboss.ha.jndi.HAJNDI.lookup(HAJNDI.java:155) | at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:312) | at $Proxy69.lookup(Unknown Source) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627) | at javax.naming.InitialContext.lookup(InitialContext.java:351) | This is my hajndi-jms-ds.xml , which contains changes for Jboss messaging.. do i need to make any other changes ? | | | | | | | | | | | DefaultJMSProvider | | org.jboss.jms.jndi.JNDIProviderAdapter | | | XAConnectionFactory | | XAConnectionFactory | | XAConnectionFactory | | |java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory |java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces |java.naming.provider.url=${jboss.bind.address:localhost}:1100 |jnp.disableDiscovery=false |jnp.partitionName=${jboss.partition.name:DefaultPartition} |jnp.discoveryGroup=${jboss.partition.udpGroup:230.0.0.4} |jnp.discoveryPort=1102 |jnp.discoveryTTL=16 |jnp.discoveryTimeout=5000 |jnp.maxRetries=1 | | | | | | jboss:service=XidFactory | StdJMSPool | | org.jboss.jms.asf.StdServerSessionPoolFactory | | | | | | JmsXA | | jms-ra.rar | org.jboss.resource.adapter.jms.JmsConnectionFactory | javax.jms.Topic | java:/DefaultJMSProvider | 20 | JmsXARealm | | | | | Thanks in advance. Awaiting for a clue.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200271#4200271 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200271 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Jarjared version of JBC3 for using in JBossAS 4.2
Yes, that's what I did at first, but it didn't work. Maybe my fault? So I had hardcoded magicNumbers in the java class, so refactorings work better for my case. I still want to know if there is a test suite to pass over JBC to verify it works correctly. I have downloaded the distrib, which includes a sources, but no tests. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200269#4200269 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200269 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: plug-in problem
No one can help me? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200268#4200268 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200268 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Feature request: Application Restart button
"KoosPol" wrote : Creating a specific build script task for touching the web.xml is specific as hell, and could be missed dearly. After some further research, I found the RedHat docs exactly mention this too: (par. 3.1 "Exploded Deployment") http://www.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/4.3.0.cp01/html-single/Server_Configuration_Guide/index.html#Deployment Apparently/luckily I'm not by myself. I would vote up Franciscos post at http://www.seamframework.org/Community/HOWTORunBookingsExampleFromEclipse#comment35746. He specifically suggests for a button which will overcome the "touch web.xml" detour. With all being IDE centric, the command line is indeed an awkward solution for this. So, by now I know what I want and how to ask it :-) Can we get an "Application Restart" button in the server view? Thanks again. Koos View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200267#4200267 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200267 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: How to do exploded deployment?
I am using Eclipse 3.4.1 and JBoss AS Tools 2.0.0 GA. The default publishing is as you say to a separate deploy directory under the Eclipse .pluging directory. When I make an incremental change (eg. to a .xhtml file), the change is published successfully. However, when I switch to publishing to the JBoss deploy folder, the incremental change does not appear. Do I need to configure something on the server to allow incremental publishing ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200263#4200263 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200263 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Kernel/KernelController reference under JBossAS
"obrien" wrote : | as the Microcontainer is not singleton by its design, what is the recommended way how to retrieve reference of Kernel (or KernelContext) running within JBossAS? | Have a look at what I'm doing with MC/AS + WebBeans integration: - http://anonsvn.jboss.org/repos/jbossas/projects/webbeans-ri-int/trunk/ In this case it's part of ServletContext's attributes. If you have services, then you can simply inject it - see KernelConstants for the MC core bean names. "obrien" wrote : What functionality is AS adding on top of Microcontainer itself? | Mostly it's the work around ProfileService (PS) - bootstrap, actual runtime managed objects handling, hot deployment, ... And the legacy jmx handling is being done as part of AS code - but this can be easily stripped out (see my MC article on DZone). And of course there is plenty of custom AS deployers that are too specific to be part of MC, but they build on the helper deployers we've introduced in the MC itself. "obrien" wrote : | Is there any documentation related to it? | I know Scott has being working on the AS docs, and since PS is mostly his work (and now Emanuel's) I'm sure he did touch on the subject. And I think there are some wiki pages about the PS design, ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200262#4200262 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200262 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: $Proxy200 error & Invalid (i.e. remote) invocation of lo
The error message on my Eclipse console stubbornly shows that I am still using Hibernate Annotations 2.1.GA despite me adding the latest versions of HA to the classpath. I have also tried adding them to the lib folder of server\default. That I guess is the source of my error but how do I get Eclipse to recognise that I'm using a later version of HA than 2.1.GA ??? Eclipse Console error message: | - Hibernate Annotations 3.2.1.GA | Jan 8, 2009 3:08:51 PM org.hibernate.cfg.Environment | INFO: Hibernate 3.3.0.SP1 | Jan 8, 2009 3:08:51 PM org.hibernate.cfg.Environment | INFO: hibernate.properties not found | Jan 8, 2009 3:08:51 PM org.hibernate.cfg.Environment buildBytecodeProvider | INFO: Bytecode provider name : javassist | Jan 8, 2009 3:08:51 PM org.hibernate.cfg.Environment | INFO: using JDK 1.4 java.sql.Timestamp handling | Jan 8, 2009 3:08:51 PM org.hibernate.ejb.Version | INFO: Hibernate EntityManager 3.4.0.GA | Exception in thread "main" java.lang.NoSuchMethodError: org.hibernate.cfg.AnnotationConfiguration.setProperty(Ljava/lang/String;Ljava/lang/String;)Lorg/hibernate/cfg/AnnotationConfiguration; | at org.hibernate.ejb.Ejb3Configuration.setProperty(Ejb3Configuration.java:535) | at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:165) | at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:253) | at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:125) | at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:52) | at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:34) | at BidClient.main(BidClient.java:53) | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200261#4200261 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200261 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: $Proxy200 error & Invalid (i.e. remote) invocation of lo
Hmmm...I still seem to be bouncing between ReflectionManager class not found exceptions and AnnotationConfiguration class not found exceptions ...despite checking that I've got the right combination of Hibernate components from the Compatibility Matrix (see my previous post). Could it be a possible addition of any other jars into my classpath ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200260#4200260 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200260 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: $Proxy200 error & Invalid (i.e. remote) invocation of lo
Hi itsme You are right...it is all managed by the container especially when using entity managers but surely you have to be calling em.gettransaction.begin(), em.gettransaction.commit(),em.persist(object) from somewhere in code to make it happen ! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200259#4200259 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200259 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user