[jboss-user] [JBoss Cache Users] - Re: Eviction queue fills up causing threads to block
Or you could just simply catch any Throwable which would include other Exceptions, RuntimeExceptions and Errors. Also, I'd do so at the top level, in EvictionTimerTask.Task class. How about you fill up a JIRA and attach a source patch with your suggestion? :) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257525#4257525 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257525 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: @Resource and systemproperties-service.xml
It's ok, it works fine, but I want to be able to use the values défined in the systemproperties-service.xml also ! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257526#4257526 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257526 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - jboss message recieve issue
i used 16 threads to send 5kmessage to a queue,it has 1000tps but i used 16 threads to recieve messages from the queue,it only has 10tps. i used jboss 4.3+jboss message 1.4.4 sp3+oracle10g View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257528#4257528 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257528 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: jboss message recieve issue
Hi, I suggest you create a JIRA for this, attach the test if you have. That will help a lot to investigate the issue. Thanks Howard View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257530#4257530 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257530 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Jbmp task recovery
i made : command = new GetTaskListCommand(aUsuario, true); result =(ArrayList)remoteCMDService.execute(command); for( Object task : result ) { and here i filter and order tasks by (TaskInstance)task).getProcessInstance().getContextInstance().getVariables() } but if i have too task java will have a memory problem, y need to filter on server, ¿is it possible? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257532#4257532 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257532 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - SignalCommand problems
Good morning, I'm starting with jBPM and need to move a task that this stop. I do it: SignalCommand signalCommand = new SignalCommand(); signalCommand.setTokenId(processInstance.getRootToken().getId()); signalCommand.setVariables(aWorkItem); remoteCMDService.execute(signalCommand); but, besides continuing the task seems to create another one, you know if I am doing well. Thank you very much in advance. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257535#4257535 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257535 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: org.jbpm.persistence.db.DbPersistenceService commit
Hi The following exception i am getting org.jbpm.persistence.db.DbPersistenceService commit whenever i am calling the following API jbpmContext = JbpmConfiguration.getInstance().createJbpmContext(); TaskInstance taskInstance = jbpmContext.getTaskInstance(taskInstanceId); taskInstance.end(); Please suggest Regards, Saravanan.P View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257537#4257537 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257537 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] JBoss version 3.0.5 Vs 4.2.3
Hi, I have an application which works on JBoss 3.0.5. But when I try to deploy the same application on JBoss 4.2.3 following warn/error occurs: 2009-09-28 10:09:27,817 WARN [org.jboss.system.ServiceController] Problem starting service jboss:service=invoker,type=http,target=Naming java.lang.NoSuchMethodError: org.jboss.util.Strings.replaceProperties(Ljava/lang/String;)Ljava/lang/String; 2009-09-28 10:09:27,801 WARN [org.jboss.system.ServiceController] Problem starting service jboss:service=invoker,type=httpHA java.lang.NoSuchMethodError: org.jboss.util.Strings.replaceProperties(Ljava/lang/String;)Ljava/lang/String; 2009-09-28 10:09:27,801 WARN [org.jboss.system.ServiceController] Problem starting service jboss:service=invoker,type=http java.lang.NoSuchMethodError: org.jboss.util.Strings.replaceProperties(Ljava/lang/String;)Ljava/lang/String; 2009-09-28 10:09:27,832 WARN [org.jboss.system.ServiceController] Problem starting service jboss:service=invoker,type=http,target=Naming,readonly=true java.lang.NoSuchMethodError: org.jboss.util.Strings.replaceProperties(Ljava/lang/String;)Ljava/lang/String; Hence I try to locate org.jboss.util.Strings.replaceProperties but couldn't find this method in the JBoss Server API. Does any one know how could I bypass this issue? Any help is much appreciated. Thanks, Pranav ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] JBoss Deployment Issue on 4.2.3
Hi, I am trying to deploy an application on JBoss 4.2.3 and am getting the below errors. This application is running well on Jboss 3.0.5. All the beans and stuff is defined and files were not changed. Could any one please suggest what could be the issue? Is there some changes with the deployment descriptor syntax or format since JBoss 3.0.5? Any help is much appreciated. Thanks, Pranav 2009-09-29 15:43:41,112 ERROR [org.jboss.deployment.MainDeployer] Could not create deployment: file:/D:/Java/ jboss-4.2.3.GA/server/grmbs/deploy/ejb-management.jar org.jboss.deployment.DeploymentException: expected one container-name tag 2009-09-29 15:43:41,128 ERROR [org.jboss.deployment.MainDeployer] DeploymentException while trying to deploy a package with a new deployer org.jboss.deployment.DeploymentException: expected one container-name tag 2009-09-29 15:43:41,165 ERROR [org.jboss.deployment.MainDeployer] Could not create deployment: file:/D:/Java/ jboss-4.2.3.GA/server/grmbs/deploy/jmx-ejb-adaptor.jar org.jboss.deployment.DeploymentException: expected one container-name tag 2009-09-29 15:43:41,177 ERROR [org.jboss.deployment.MainDeployer] DeploymentException while trying to deploy a package with a new deployer org.jboss.deployment.DeploymentException: expected one container-name tag 2009-09-29 15:43:41,198 ERROR [org.jboss.deployment.MainDeployer] Could not create deployment: file:/D:/Java/ jboss-4.2.3.GA/server/grmbs/deploy/notification-listener.jar org.jboss.deployment.DeploymentException: expected one container-name tag 2009-09-29 15:43:41,208 ERROR [org.jboss.deployment.MainDeployer] DeploymentException while trying to deploy a package with a new deployer org.jboss.deployment.DeploymentException: expected one container-name tag 2009-09-29 15:43:41,256 ERROR [org.jboss.system.server.Server] Root deployment has missing dependencies; continuing Incomplete Deployment listing: --- Incompletely deployed packages --- org.jboss.deployment.deploymenti...@cad26b26 { url=file:/D:/Java/ jboss-4.2.3.GA/server/grmbs/deploy/ejb-management.jar } deployer: org.jboss.ejb.ejbdeplo...@ab835a status: Deployment FAILED reason: expected one container-name tag state: FAILED watch: file:/D:/Java/jboss-4.2.3.GA/server/grmbs/deploy/ejb-management.jar altDD: null lastDeployed: 1254203021081 lastModified: 1254203019961 mbeans: org.jboss.deployment.deploymenti...@7888101a { url=file:/D:/Java/ jboss-4.2.3.GA/server/grmbs/deploy/jmx-ejb-adaptor.jar } deployer: org.jboss.ejb.ejbdeplo...@ab835a status: Deployment FAILED reason: expected one container-name tag state: FAILED watch: file:/D:/Java/ jboss-4.2.3.GA/server/grmbs/deploy/jmx-ejb-adaptor.jar altDD: null lastDeployed: 1254203021154 lastModified: 1254203020008 mbeans: org.jboss.deployment.deploymenti...@8d818653 { url=file:/D:/Java/ jboss-4.2.3.GA/server/grmbs/deploy/notification-listener.jar } deployer: org.jboss.ejb.ejbdeplo...@ab835a status: Deployment FAILED reason: expected one container-name tag state: FAILED watch: file:/D:/Java/ jboss-4.2.3.GA/server/grmbs/deploy/notification-listener.jar altDD: null lastDeployed: 1254203021190 lastModified: 1254203020008 mbeans: --- MBeans waiting for other MBeans --- ObjectName: jboss:service=invoker,type=jrmp State: FAILED Reason: java.lang.AbstractMethodError: org.jboss.invocation.jrmp.server.JRMPInvoker.jbossInternalLifecycle(Ljava/lang/String;)V I Depend On: jboss:service=TransactionManager ObjectName: jboss:service=invoker,type=http State: FAILED Reason: java.lang.NoSuchMethodError: org.jboss.util.Strings.replaceProperties(Ljava/lang/String;)Ljava/lang/String; ObjectName: jboss:service=invoker,type=httpHA State: FAILED Reason: java.lang.NoSuchMethodError: org.jboss.util.Strings.replaceProperties(Ljava/lang/String;)Ljava/lang/String; ObjectName: jboss:service=invoker,type=http,target=Naming State: FAILED Reason: java.lang.NoSuchMethodError: org.jboss.util.Strings.replaceProperties(Ljava/lang/String;)Ljava/lang/String; ObjectName: jboss:service=invoker,type=http,target=Naming,readonly=true State: FAILED Reason: java.lang.NoSuchMethodError: org.jboss.util.Strings.replaceProperties(Ljava/lang/String;)Ljava/lang/String; ObjectName: jboss.jca:service=LocalTxCM,name=hsqldbDS State: CONFIGURED I Depend On: jboss.jca:service=LocalTxDS,name=hsqldbDS jboss.jca:service=LocalTxPool,name=hsqldbDS jboss.jca:service=CachedConnectionManager jboss.security:service=JaasSecurityManager jboss.jca:service=RARDeployer ObjectName: jboss.jca:service=LocalTxDS,name=hsqldbDS State: CONFIGURED I Depend On: jboss.jca:service=RARDeployment,name=JBoss LocalTransaction JDBC Wrapper jboss:service=Hypersonic Depends On Me: jboss.jca:service=LocalTxCM,name=hsqldbDS ObjectName: jboss.jca:service=XaTxCM,name=jmsra State: CONFIGURED I Depend On: jboss.jca:service=RARDeployer jboss.jca:service=XaTxDS,name=jmsra
[jboss-user] [JBoss Portal Users] - Help required for implementing SSO for Jboss Portal with Act
Hello Everyone, We need to do Single Sign On(SSO) implementation of Jboss portal with Actuate Report Server. The version of Actuate we are using is Actuate10 The version of Jboss portal is jboss-epp-4.3 Any help/reference document related to this will be really appreciated. Cheers Vijay View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257541#4257541 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257541 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: JBoss Messaging Issues
Hi, Thanks for the reply but I am not creating a cluster of jboss4 and jboss5, instead I am trying to run both on same machine with different ports. I am running jboss4 on default ports and jboss5 on ports-02 with same bind address (0.0.0.0 or ip). cheers View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257542#4257542 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257542 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache Users] - Re: Eviction queue fills up causing threads to block
Unfortunately, I don't seem to have the necessary rights to create JIRA issues :-( View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257545#4257545 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257545 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: org.jbpm.persistence.db.DbPersistenceService commit
You should read Ronald's great as: Why don't you post a full stacktrace? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257546#4257546 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257546 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache Users] - Re: InstanceAlreadyExistsException During hot deployment
Once you disabled the jmxStats, JBossCache does not try to bind anything to the mbean server. Even more, the mbean object name for JBC3.0.0 or greater should be jboss.cache:service=JBossCache, and not jboss.cache:service=TreeCache. Can you double check the JBC version you are using? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257551#4257551 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257551 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Redirect JBoss root page to a different URL
you have JBoss running on port 80 ? maybe you mean you have Apache Web Server fronting JBoss AS ? If you have such a configuration you could use mod rewrite for example. If you are running jBoss standalone you could add an index.jsp page containing something like that. % response.sendRedirect(/abc/def.html ); % Hope it helps. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257557#4257557 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257557 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - JBoss BRMS Enterprise and JBoss Tools
I'm trying to know if i can use my rules, which I generated with JBoss BRMS Enterprise, in my elclipse with JBoss Tools (from community). Are them the same engine? Would have there any problem? Thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257560#4257560 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257560 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB] - Re: JBOSS PROBLEM
Please state -which version of JBoss AS you are running -the JDK is set in JAVA_HOME. -if any libraries in the WEB-INF/lib folder regards View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257566#4257566 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257566 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering] - Re: Java Heap Space error in JBOSS 5.1.0 GA
set Java options in JBOSS_HOME/bin/run.cmd (or run.sh in Unix) Ex. set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m -XX:MaxPermSize=256m View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257568#4257568 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257568 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering] - Re: weblogic jndi lookup from jboss in cluster
Copying weblogic.jar into JBoss/common/lib solves the problem. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257569#4257569 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257569 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - java.lang.RuntimeException: Error setting up server invoker
Hello, I currently get the following error during start of the JBoss server (from console): 2009-09-29 10:29:14,290 DEBUG [com.arjuna.ats.jbossatx.jta.TransactionManagerService] Creating jboss:service=TransactionManager 2009-09-29 10:29:14,290 DEBUG [com.arjuna.ats.jbossatx.jta.TransactionManagerService] Created jboss:service=TransactionManager 2009-09-29 10:29:16,618 WARN [org.jboss.system.ServiceController] Problem creating service jboss.remoting:service=Connector,transport=socket java.lang.RuntimeException: Error setting up server invoker SocketServerInvoker[UNINITIALIZED] at org.jboss.remoting.ServerInvoker.create(ServerInvoker.java:814) at org.jboss.remoting.transport.Connector.init(Connector.java:430) at org.jboss.remoting.transport.Connector.create(Connector.java:782) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java: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:995) at $Proxy0.create(Unknown Source) at org.jboss.system.ServiceController.create(ServiceController.java:330) at org.jboss.system.ServiceController.create(ServiceController.java:273) at org.jboss.system.ServiceController.create(ServiceController.java:349) at org.jboss.system.ServiceController.create(ServiceController.java:273) at sun.reflect.GeneratedMethodAccessor2.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: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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy4.create(Unknown Source) at org.jboss.deployment.SARDeployer.create(SARDeployer.java:258) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java: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 $Proxy5.deploy(Unknown Source) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362) at org.jboss.Main.boot(Main.java:200) at org.jboss.Main$1.run(Main.java:508) at java.lang.Thread.run(Thread.java:619) Caused by: java.net.UnknownHostException: 0.0.0.0.. at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method) at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:849) at java.net.InetAddress.getAddressFromNameService(InetAddress.java:1200) at java.net.InetAddress.getAllByName0(InetAddress.java:1153) at java.net.InetAddress.getAllByName(InetAddress.java:1083) at
[jboss-user] [EJB 3.0 Users] - Re: synchronized @Service
It shouldn't be an issue using synchronized in your @Service POJO, however I would suggest you to check out for EJB 3.1 as soon as it will be available on JBoss. There the new @Singleton POJOs have specific synchronization tags. Have a look here: http://www.mastertheboss.com/en/jboss-server/219-ejb-31-tutorial.html hope it helps View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257572#4257572 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257572 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - one log4j config for entire ear
Hello! Please, help me to solve the problem. I need to provide logging for my ear. I want to have only one log4j.xml file in the ear and this file should configure logging for all war's and beans inside ear. I don't want to use JBoss' log4j.xml. Is it possible and how can I do that? Thank you! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257573#4257573 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257573 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: java.lang.RuntimeException: Error setting up server invo
Hi, What's your version of JBoss and JBM? how did you start it from command line? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257576#4257576 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257576 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: java.lang.RuntimeException: Error setting up server invo
Looks to me there is an extra . on the address: | Caused by: java.net.UnknownHostException: 0.0.0.0.. | Should be 0.0.0.0 not 0.0.0.0. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257577#4257577 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257577 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering] - Re: Java Heap Space error in JBOSS 5.1.0 GA
Hi, Thanks for your reply. But in Jboss 5.1.0 GA these are the default values. Sridhar View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257602#4257602 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257602 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security] - Re: NullPointerException @ DatabaseServerLoginModule.java:14
Hi, I've the same problem as mactex. Struggling for 3 days with: javax.security.auth.login.LoginException: java.lang.NullPointerException I try to use database as user repository in Drools 4 BRMS or Drools 5 Guvnor. Got similar configuration as mactex except that I had to point policy from login-config.xml in the components.xml file of the guvnor/brms: security:identity authenticate-method=#{authenticator.authenticate} jaas-config-name=oracleDS/ conn = ds.getConnection(); returns null. Please can anyone help us? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257611#4257611 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257611 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: jbpm 4.1 - Task assignment
- Yes - Yes, but you might need other changes as well if there have been core/console related enhancements (check the jira, but even that is not always a guarantee) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257618#4257618 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257618 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Jbmp task recovery
yes look at the query api's View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257619#4257619 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257619 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: org.jbpm.persistence.db.DbPersistenceService commit
Sebastian is partly right, for the full meaning of my 'great' look at http://www.jboss.org/index.html?module=bbop=viewtopict=158610 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257621#4257621 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257621 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Jbmp task recovery
But do this IN your NEW command, not using one of 'ours' and do filtering afterwards. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257622#4257622 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257622 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - Re: JBoss BRMS Enterprise and JBoss Tools
afaik it should be ok. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257626#4257626 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257626 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: NoClassDefFound Exception from Sun AS 8.2 to JBM 1.4.0
anonymous wrote : jbossall-client.jar is an evil aggregation of jars. You will need to use the individual client jars from /jboss/client. I have changes the examples to make use of the correct jars, and we have documented the minimal set for JBM, but depending on the other EE features you use you may need to add more client jars. I would suggest looking at the JBossAS docs. (Or ask on the jbas forum if you still miss anything). Where can I find the minimal set of client jars needed for a remote JBM client? And also does this solves the problem with the jar ordering in the classpath - I mean if I use all the needed client jars instead of jbossall-client.jar should I care about this order anymore? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257628#4257628 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257628 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Implementing Escalation in jBPM 4.1
I don't manage to turn up the loglevel. Any hints? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257632#4257632 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257632 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - How to stop a process instance
Is it possible to programatically terminate a process instance ? I tried the ProcessIntance.end() method but it doesn't work. After this method was called the token continue to the next task node and the process status in not equal to terminated. The method ProcessInstance.hasEnded() return false. Did I misunderstood something ? What I need to do is to programatically terminate the current process instance when an unexpected exception occurs. Any ideas to do this ? Personally, I was very near to give up with all this over-complicated stuff. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257634#4257634 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257634 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI and Naming] - HA JNDI , failed to connect from stand alone
Hi, I am trying to connect from a stand alone program to a 2 nodes cluster started on binding set ports-02 and ports-03, all the start and node discovery seams to be ok, but the JNDI lookup fails. here is the client code: | Connection connection = null; | InitialContext initialContext = null; | | | HashtableString, String jndiParameters = new HashtableString, String(); | jndiParameters.put(java.naming.provider.url, 127.0.0.1:1102,127.0.0.1:1103); | jndiParameters.put(java.naming.factory.initial, org.jnp.interfaces.NamingContextFactory); | jndiParameters.put(java.naming.factory.url.pkgs, org.jboss.naming:org.jnp.interfaces); | | | initialContext = new InitialContext(jndiParameters); | | | ConnectionFactory cf = (ConnectionFactory)initialContext.lookup(/ConnectionFactory); I get the following: | Exception in thread Main Thread javax.naming.CommunicationException: Could not obtain connection to any of these urls: 127.0.0.1:1102,127.0.0.1:1103 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connect to server /127.0.0.1:1103 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server /127.0.0.1:1103 [Root exception is java.net.ConnectException: Connection refused: connect]]] | at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1763) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:693) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686) | at javax.naming.InitialContext.lookup(InitialContext.java:392) | at HAJNDISample.main(HAJNDISample.java:32) | Very strange, I have checked the MBean configurations in JMX and it seams to be correct. Thanks in advance Roman View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257635#4257635 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257635 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security] - Re: NullPointerException @ DatabaseServerLoginModule.java:14
a little update. Now I know that ctx.lookup(dsJndiName); returns null. dsJndiName is bounded otherwise if I write there some wrong string like ctx.lookup(blablabla'); I get error that blablabla was not bound, so my dsJndiName is bounded, but empty? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257639#4257639 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257639 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Violation of unique constraint with two splits (JBPM-255
With the following process definition the problem still occurs, I don't think the nesting is the source of the problem: ?xml version=1.0 encoding=UTF-8? | | process name=test xmlns=http://jbpm.org/4.0/jpdl; |start g=143,8,31,30 name=start1 | transition to=fork1/ |/start |fork g=143,72,65,29 name=fork1 | transition g=-44,-18 name=left to=task1/ | transition g=9,-24 name=right to=task2/ |/fork |task assignee=test g=73,134,66,56 name=task1 | transition to=join1/ |/task |task assignee=test g=192,135,64,55 name=task2 | transition to=join1/ |/task |join g=142,201,34,36 name=join1 | transition to=fork2/ |/join |fork g=138,269,57,32 name=fork2 | transition g=-44,-18 name=left to=task3/ | transition g=-44,-18 name=right to=task4/ |/fork |task g=66,329,56,51 name=task3 | transition to=join2/ |/task |task g=191,332,65,43 name=task4 | transition to=join2/ |/task |join g=133,385,39,35 name=join2 | transition to=end1/ |/join |end g=136,455,44,56 name=end1/ | /process Code: String deploymentId = repositoryService.createDeployment() | .addResourceFromClasspath(processDefinitionFilename) | .deploy(); | | Execution execution = executionService.startProcessInstanceByKey(test); | | ListTask tasks = processEngine.getTaskService().findPersonalTasks(test); | for(int i = 0;itasks.size();i++){ | System.out.println(i); | processEngine.getTaskService().completeTask(tasks.get(i).getId()); | } | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257640#4257640 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257640 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: How to stop a process instance
Do you have a unittest that I can run? You do not demonstrate where you want to end the process instance. And what doe you mean by 'over-complicated'? Nothing from your post points to something that is complicated, let alone over-complicated. It might be a bug, yes, but over-complicated it is not. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257642#4257642 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257642 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: @Resource and systemproperties-service.xml
jprio wrote : but I want to be able to use the values défined in the systemproperties-service.xml also ! That's a bit tricky actually. Because of the way the deployers work in AS-5, the dependency jboss:type=Service,name=SystemProperties should actually be added on the deployer which parses the ejb-jar.xml into metadata, which from what i see is not straightforward. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257643#4257643 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257643 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: JBPM 4.0 HistoryEvent, HistorySession
Hi tcr, do you have found a solution for your problem ? or does anybody else have a solution for this problem. i would also like to use a customized history event for tracking and some informational tasks. regards SirFrancis View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257646#4257646 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257646 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Translation of task node from jBPM3 to 4
Bumping this. Is there any equivalent for task-node in jbpm 4? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257647#4257647 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257647 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Violation of unique constraint with two splits (JBPM-255
ok, now the pd looks correct. Can you make a full unitest like described in my post in http://www.jboss.org/index.html?module=bbop=viewtopict=158610 So we can see in what step it fails, use that to (probably) fix the problem. Can you also provide debug logs for the accompanying test? If you chance left and right in fork2 to left2 and right2 it works? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257648#4257648 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257648 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Translation of task node from jBPM3 to 4
no there is not. And not sure if it will return as it was or whether alternative ways (more bpmn like) will be implemented. What is the behaviour you need? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257650#4257650 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257650 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Implementing Escalation in jBPM 4.1
configuration file looks good. maybe you have multiple logging.properties files on your classpath. check that you have only one. another thing that you can do when you are in your ide is put this text in your Display window: org.hsqldb.util.DatabaseManager.main(new String[]{}) | select it and then press SHIFT+ALT+D if you're using the hsqldb in memory db then you can inspect live during your debug session. (be carful with closing the database manager as it will close your whole test run) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257660#4257660 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257660 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: jbpm 4.1 installation problems on jboss 4.2.3
Yes. I'm able to see JbpmDs from the jmx-console. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257663#4257663 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257663 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Transaction Demarcation : Same vs Different Server
Greetings Am running JBoss 4.0.5 Application Server Deployed thereon, as an ear file, is an EJB 3 Stateless Session Bean The Bean, by neccessity performs its own transaction demarcation (i.e the Bean performs explicit beginTransaction and commitTransaction via calls to Hibernate V 3.2.5). The Bean is invoked by a Service deployed as a sar file. The Bean is accessed by the Service, in ALL cases, via a JNDI Naming Context lookup. The Service class also performs its own explicit transactional demarcation. The problem is that the Service class behaves differently in the situation where it is deployed in a different application server instance to the Bean than if they are deployed in the same server. In the situation of seperate servers it is possible to support two distinct simulataneous transactions (the desired result) . In the case of colocated archives deployed to the same server it is not. In this case the Beans commitTransaction also closes the open transaction in the calling Service . This is not desired, two independent transactions should be maintained in this case as well. Ive breifly investigated forcing the Service not to perform any call optomization (e.g forcing a remoting lookup rather than a direct in memory method call) but without luck. How can I enforce distinct Transactional Contexts in the colocated case E. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257667#4257667 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257667 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - Re: Can not install JBoss Tools in Eclipse Galileo
The missing update sites required to install the maven or birt integration are listed here: https://www.jboss.org/tools/download/dev.html and here: http://download.jboss.org/jbosstools/updates/JBossTools-3.1.0.M3/ and here: http://download.jboss.org/jbosstools/updates/development/ Add the following URLs into Eclipse the same way you added the JBoss Tools update site URL, and make sure the checkbox for 'Contact all update sites' is checked. http://download.eclipse.org/birt/update-site/2.5/ http://m2eclipse.sonatype.org/update-dev If these sites are already in your list, make sure they're enabled: Help Install... Available software sites scroll, find, click Enable OK. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257675#4257675 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257675 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: jbpm 4.1 installation problems on jboss 4.2.3
with or without the java: prefix? And what about the name in the config file? Does that contain the prefix or not? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257677#4257677 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257677 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: one log4j config for entire ear
See if this helps: http://www.jboss.org/index.html?module=bbop=viewtopicp=4125552#4125416 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257678#4257678 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257678 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: jbpm 4.1 installation problems on jboss 4.2.3
I have the same problem, the JbpmDS is deployed and started as I can see in jmx-console. I also am installing jbpm4.1 on jboss 4.2.3, any ideas? Thanks, Sergio View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257680#4257680 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257680 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: jbpm 4.1 installation problems on jboss 4.2.3
It's java:JbpmDS both in the console and the ds config file. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257682#4257682 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257682 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [MQ] - Re: Old JMS out of threads error back again in 4.02??
Has this got been fixed. If so, in which version. We are having the same issue. Any urgent help is much appreciated. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257685#4257685 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257685 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - No ping on secondaryBindPort or no reporting to JBM of conne
Hello there, We are running Jboss AS 4.2.3.GA with JBoss Messaging 1.4.4.GA on one box behind a firewall, and we are connecting to one of the topics in the server using a stand alone client running on a different box. In remoting-bisocket-service.xm we have configured the secondaryBindPort to 4458. This port and the primary port 4457 are open in the firewall, but with a configured timeout of 1 hour. The problem we are experiencing is that if no message is sent within that timeout window, the firewall does not close port 4457 because of the ping sent from client to server. However, there is no ping on the secondary port and the most worrying thing is that, once the firewall closes 4458 because of the timeout, the problem is logged by jboss remoting in the client with DEBUG level, but JBoss Messaging is NOT notified of this exception. This prevents any further messages posted on the topic to be forwarded to the client, while the client sits there happily thinking that everything is OK. Summing this up, the problem is that, on one hand, when the secondary bind port times out at the firewall, JBM is not notified, and on the other, there is no ping from server to client that could prevent this from happening. Any ideas? Thank you in advanced. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257687#4257687 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257687 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - issues with seting up jboss windows serivces.
jboss Version:jboss-5.1.0.GA Java Version:JDK 6 Operating System: Window 2008. I am having issues with setting up windows services on Windows 2008. Executed service.bat install from bin directry and it says that it installed Jboss Application Server 5.0. But when I look at the windows service. I am not seeing this services installed. When I executed the same script on Windows XP it works fine. Could some one advise me how to setup Jboss Windows services on Windows 2008. Thanks, Vijay View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257690#4257690 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257690 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: org.jbpm.persistence.db.DbPersistenceService commit
You are probably posting the rest now, but try with the latest 3.2.6SPx first View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257691#4257691 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257691 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: issues with seting up jboss windows serivces.
I don't have my Server 2008 system available just now, but I thought for sure that the service installed just fine for me. Did you run service.bat within a command prompt that you opened with the Run as Administrator option? Also, you should be aware of the problem discussed in this post: http://www.jboss.org/index.html?module=bbop=viewtopicp=4256716 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257692#4257692 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257692 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - unified invoker startup error
I'm trying to enable JNDI, EJB, and JMS over HTTP using the instructions from here: http://www.jboss.org/community/wiki/EJBJMSandJNDIoverHTTPwithUnifiedInvoker I'm getting this error message when I deploy the unified invoker SAR: | 2009-09-29 09:21:15,016 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/unified-invoker]] (main) Servlet /unified-invoker threw load() exception | javax.servlet.ServletException: Can not find servlet server invoker with same locator as specified (servlet://127.0.0.1:8080/unified-invoker/Ejb3ServerInvokerServlet) | at org.jboss.remoting.transport.servlet.web.ServerInvokerServlet.getInvokerFromInvokerUrl(ServerInvokerServlet.java:209) | at org.jboss.remoting.transport.servlet.web.ServerInvokerServlet.init(ServerInvokerServlet.java:68) | at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048) | at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:950) | at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4122) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4421) | at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:312) | at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:144) | at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461) | at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) | at org.jboss.web.deployers.WebModule.start(WebModule.java:97) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206) | at $Proxy36.start(Unknown Source) | at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42) | at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37) | at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) | at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) | at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.system.ServiceController.doChange(ServiceController.java:688) | at org.jboss.system.ServiceController.start(ServiceController.java:460) | at org.jboss.system.microcontainer.jmx.ServiceControllerStartStopLifecycleCallback.install(ServiceControllerStartStopLifecycleCallback.java:44) | at sun.reflect.GeneratedMethodAccessor266.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59) | at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150) | at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66) | at org.jboss.beans.info.plugins.AbstractBeanInfo.invoke(AbstractBeanInfo.java:300) | at
[jboss-user] [Installation, Configuration Deployment] - using error-page in web.xml for custom error page
I'm trying to create custom error page for my application to 500 errors, so I added these lines to my application web.xml file: error-page error-code500/error-code /pages/error.html /error-page I tested it by throwing custom exception from my ejb code (I'm using jsf+ejb)This does not do anything and I still see jboss error page. I tried to change the web.xml in the deployers directory and in the deploy/ROOT.war but still see the same error page. How can I make my custom page to be uploaded in such a case? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257699#4257699 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257699 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI and Naming] - Re: HA JNDI , failed to connect from stand alone
One more thing also seams strange: the fact that I can connect and lookup to Naming service port, specified in service=Naming but it doesn't supports fail over. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257700#4257700 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257700 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Implementing Escalation in jBPM 4.1
Okay, thanks for all the hints. It was really due to a classpath problem. Here's what I found: Logging and using Tom's hint with the DBManager showed that there was a query for an execution which did not exist anymore. Before the executing of the job (transition with timer to task escalation) there are 2 entries in the Execution Table. One is escalation.1 and the second is escalation.1-timeout. After the transition to escalation escalation.1-timeout gets deleted, execution.1 is active again and when you try to complete the task timeout which is still in the tasklist you get the Exception because the associated execution cannot be found. (I did not post logs since there cannot be seen really a lot and they get very large with a higher loglevel set. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257701#4257701 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257701 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: unified invoker startup error
I should point out that I've tried binding to 0.0.0.0, localhost, 127.0.0.1, my machine's actual IP address, and the hostname and got the same error in all cases. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257702#4257702 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257702 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Hibernate, Sessions, and Sync - Oh my!
I think this may help us out a lot! You've got the right idea - a custom node sends off an async request to our central application and waits. Some time later, our jBPM app receives the results of that request, then creates a new jbpmContext, loads the token, signals it, and closes the context. One additional detail ... our jBPM java app is multi-threaded for performance reasons, which adds another wrinkle to the hibernate problem. Can you supply some more details about the interlock between the sessions? This is new territory for me. Thanx. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257704#4257704 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257704 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - HA JNDI connection
Hi, I have tried to run HA-JNDI sample the question is what port to use for java.naming.provider.url the one that is specified in Naming service usually 1099 or the port that is specified in HAJNDI service usually 1100. I have tried both options: if I connect to the Naming service port the sample is working but doesn't survive a fail over on the other hand I can't connect to the HAJNDI service port. I think I am missing something, please advice. Thanks in advance. Roman View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257709#4257709 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257709 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Re: avoid lazy-initialization exceptions
You can provide your own JAXBContextFactory, take a look at org.jboss.ws.core.jaxws.CustomizableJAXBContextFactory for instance. This way you can setup the property you need in the context at creation. Then make sure your context factory is loaded by the JBossWS ServiceLoader (basically you might want to either set your factory through a System property or add a org.jboss.ws.core.jaxws.JAXBContextFactory file in META-INF/services somewhere in the classpath). View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257711#4257711 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257711 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Re: avoid lazy-initialization exceptions
INteresting link to better follow this topic: http://blogs.sun.com/searls/entry/jaxb_custom_accessor_for_marshalling View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257712#4257712 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257712 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: jbpm 4.1 installation problems on jboss 4.2.3
sridhar18 wrote : It's java:JbpmDS both in the console and the ds config file. By ds config you mean the jbpm-*-ds.xml? One should set jndi-name to java:JbpmDS? It guives the error : Could not create deployment: file:/C:/jboss/jboss-4.2.3.GA/server/default/deploy/jbpm/jbpm-hsqldb-ds.xml | org.jboss.deployment.DeploymentException: Invalid character ':' in value part of property When I deploy it with the jndi-name as JbpmDS, in the jmx-console the bindname appears like java:JbpmDS, but the hibernate does not find the datasource java:JbpmDS specified in the hibernate.connection.datasource property. Can you clarify what you wrote please? BRegards, Sergio View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257717#4257717 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257717 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering] - JBoss Cache Replication not happening in a clustered environ
Hi, We have couple of JBoss nodes set up in a clustered mode and we are testing whether the JBoss cache is getting replicated properly. The nodes are coming up properly and joining the cluster as far as we can verify. The only problem is that changes to the cache is not getting replicated between the nodes. I have attached the configuration we are using below. Is there any way to debug the cache replication issue? Any logs that we can look at? Since we are setting this up for the first time, any help would be appreciated. Thanks, Ramesh -- jbosscache xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns=urn:jboss:jbosscache-core:config:3.0 !-- isolation levels supported: READ_COMMITTED and REPEATABLE_READ nodeLockingSchemes: mvcc, pessimistic (deprecated), optimistic (deprecated) -- !-- Used to register JMX statistics in any available MBean server -- !-- If region based marshalling is used, defines whether new regions are inactive on startup. -- !-- Used to register JVM shutdown hooks. hookBehavior: DEFAULT, REGISTER, DONT_REGISTER -- !-- Used to define async listener notification thread pool size -- !-- Used to enable invocation batching and allow the use of Cache.startBatch()/endBatch() methods. -- !-- serialization related configuration, used for replication and cache loading -- !-- cluster configuration -- !-- Defines whether to retrieve state on startup -- !-- Network calls are synchronous. -- !-- -- !-- Uncomment this for async replication. -- !-- Uncomment to use Buddy Replication -- !-- numBuddies = 1 ignoreColocatedBuddies = true -- !-- Configures the JGroups channel. Looks up a JGroups config file on the classpath or filesystem. udp.xml ships with jgroups.jar and will be picked up by the class loader. -- !-- -- !-- uncomment to define a JGroups stack here-- UDP bind_addr=10.10.1.245 mcast_send_buf_size=32000 mcast_port=45566 ucast_recv_buf_size=64000 loopback=true mcast_recv_buf_size=64000 max_bundle_size=3 max_bundle_timeout=30 use_incoming_packet_handler=false use_outgoing_packet_handler=false ucast_send_buf_size=32000 ip_ttl=32 enable_bundling=true/ PING timeout=2000 num_initial_members=3/ MERGE2 max_interval=3 min_interval=1/ FD_SOCK/ FD timeout=1 max_tries=5 shun=true/ VERIFY_SUSPECT timeout=1500/ pbcast.NAKACK use_mcast_xmit=false gc_lag=0 retransmit_timeout=300,600,1200,2400,4800 discard_delivered_msgs=true/ pbcast.STABLE stability_delay=1000 desired_avg_gossip=5 max_bytes=40/ pbcast.GMS print_local_addr=true join_timeout=5000 shun=false view_bundling=true view_ack_collection_timeout=5000/ FRAG2 frag_size=6/ pbcast.STREAMING_STATE_TRANSFER use_reading_thread=true/ pbcast.FLUSH timeout=0/ !-- Alternate TCP stack: customize it for your environment, change bind_addr and initial_hosts -- !-- TCP bind_addr=10.10.1.245 start_port=7800 loopback=true tcp_nodelay=true recv_buf_size=2000 send_buf_size=64 discard_incompatible_packets=true enable_bundling=true max_bundle_size=64000 max_bundle_timeout=30 use_incoming_packet_handler=true use_send_queues=false sock_conn_timeout=300 skip_suspected_members=true/ TCPPING initial_hosts=10.10.1.245[7800], 10.10.1.245[7800] port_range=3 timeout=3000 num_initial_members=3/ MERGE2 max_interval=10 min_interval=2/ FD_SOCK / FD timeout=1 max_tries=5 shun=true/ VERIFY_SUSPECT timeout=1500 / pbcast.NAKACK use_mcast_xmit=false gc_lag=0 retransmit_timeout=300,600,1200,2400,4800 discard_delivered_msgs=true/ pbcast.STABLE stability_delay=1000 desired_avg_gossip=5 max_bytes=40/ pbcast.GMS print_local_addr=true join_timeout=3000 shun=true view_bundling=true/ pbcast.STATE_TRANSFER / -- !-- Eviction configuration. WakeupInterval defines how often
[jboss-user] [jBPM Users] - Re: jbpm 4.1 installation problems on jboss 4.2.3
Yes. In the jbpm-*-ds.xml I have it as JbpmDS so jboss prefixes it with java: when it tries to load it. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257722#4257722 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257722 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: jbpm 4.1 installation problems on jboss 4.2.3
And you have the hibernate.connection.datasource = java:JbpmDS ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257724#4257724 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257724 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: jbpm 4.1 installation problems on jboss 4.2.3
i have it as java:/JbpmDS View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257727#4257727 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257727 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: using error-page in web.xml for custom error page
Just wanted to add that when mapping 404 errors to custom disaply page it works just fine: error-page error-code404/error-code /pages/error.html /error-page so it looks like there is some special problem with 500 errors... any ideas? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257728#4257728 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257728 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal Users] - Re: SSO / LDAP Integration
Update: I have my own login module for doing Single Sign-on. That part works. What doesn't work is the ability to get UserProfile information from the Active Directory server. Using this forum, the closest problem I could find is: http://www.jboss.org/index.html?module=bbop=viewtopict=135866 This article indicates that what I want isn't possible because this isn't supported in Synchronizing* login modules. So the only way the delegating UserProfile works is by using the IdentityLoginModule? I thought the SynchronizingLoginModule was supposed to handle allowing different login modules to be used and then it would handle all the portal voodoo by adding it to the end of the login chain. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257732#4257732 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257732 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - determining version of servlet in Jboss
I am downloading JBOss 3.2.7 to see if I can get a JSF 1.2 app running in it. How do I determine which servlet spec (jar) a particular version of JBoss AS is using? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257731#4257731 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257731 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: determining version of servlet in Jboss
apparently the manifest.mf in servlet-api.jar has it View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257734#4257734 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257734 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache Users] - Re: JDBCCacheLoader failed to obtain connection with JNDI na
After some trial and error, I finally located the problem. It seems that the org.jboss.util.naming.NonSerializableFactory class in the required jboss-common-core.jar dependent library is causing any JNDI lookup to fail. I've created a issue with the JBoss Common project: https://jira.jboss.org/jira/browse/JBCOMMON-93 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257737#4257737 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257737 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Design: When the line between domain objects and service obj
I have a design question in the fight about domain driven design, the anemic domain model, and the way EJB/JPA force us to do things. Consider a web-mail application which is built using JPA for persistence and EJB for the services layer. Let's say we have a service method in our EJB like this: | public void incomingMail(String destination, Message message) { | Mailbox mb = findMailBox(destination); // who cares how this works | mb.addMessage(message); | } | This is seemingly a reasonable business method. Presumably, the Mailbox object will still be attached and it will seamlessly save the changes back to the database. After all, that is the promise of transparent persistence. The Mailbox object would have this method: | public void addMessage(Message message) { | messages.add(message); | } | Here's where it gets complicated -- assume we want to have other mailbox types. Say we have an AutoRespondingMailbox which automatically responds to the sender, and a HelpDeskMailbox which automatically opens a helpdesk ticket with each email received. The natural thing to do would be to extend Mailbox, where AutoRespondingMailbox has this method: | public void addMessage(Message message) { | String response = getAutoResponse(); | // do something magic here to send the response automatically | } | The problem is that our Maibox object and it's subclasses are domain objects (and in this example, also JPA entities). The Hibernate guys (and many others) preach a non-dependent domain model -- that is, a domain model that does not depend on container/runtime provided services. The issue with such a model is that the AutoRespndingMailbox.addMessage() method cannot send an email because it can't access, for example, JavaMail. The exact same issue would occur with HelpDeskMailbox, as it could not access WebServices or JNDI injection to communicate with the HelpDesk system. So you're forced to put this functionality in the service layer, like this: | public void incomingMail(String destination, Message message) { | Mailbox mb = findMailBox(destination); // who cares how this works | if (mb instanceof AutoRespondingMailbox) { | String response = ((AutoRespondingMailbox)mb).getAutoResponse(); | // now we can access the container services to send the mail | } else if (mb instanceof HelpDeskMailbox) { | // ... | } else { | mb.addMessage(message); | } | } | Having to use instanceof in that way is the first sign of a problem. Having to modify this service class each time you want to subclass Mailbox is another sign of a problem. Does anyone have best practices for how these situations are handled? Some would say that the Mailbox object should have access to the container services, and this can be done with some fudging, but it's definitely fighting the intended usage of JPA to do that, as the container provides dependency injection everywhere except in Entities, clearly indicating that this isn't an expected use case. So, what are we expected to do instead? Liter-up our service methods and give-up polymorphism? Our objects automatically become relegated to C-style structs and we lose most of the benefit of OO. The Hibernate team would say that we should split our business logic between the domain layer and the service layer, putting all of the logic that's not dependent on the container into the domain entities, and putting all the logic that is dependent on the container into the services layer. I can accept that, if someone can give me an example of how to do that without having to completely give-up polymorphism and resorting to instanceof and other such nastiness. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257740#4257740 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257740 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB] - Loading classes from client for EJB 2 / RMI Class loading fr
Imagine you have a SessionBean with the method: | Object executeTask(Task t) throws RemoteException { | return t.execute(); | } | where | public interface Task { | Object execute(); | } | This means, the client of this EJB can call the method executeTask with its own class, that implements Task interface: | public class Pi implements Task, Serializable { | ... | /** | * Compute the value of pi to the specified number of digits after the | * decimal point. The value is computed using Machin's formula | */ | public Object execute() { | int digits = 45; | int scale = digits + 5; | BigDecimal arctan1_5 = arctan(5, scale); | BigDecimal arctan1_239 = arctan(239, scale); | BigDecimal pi = arctan1_5.multiply(FOUR).subtract(arctan1_239) | .multiply(FOUR); | return pi.setScale(digits, BigDecimal.ROUND_HALF_UP); | } | Obviously, the server will not have this implementation class. RMI has introduced special JVM Parameter for this: java.rmi.server.codebase The client has to specify it while starting its jvm: -Djava.rmi.server.codebase=file:/Users/xxx/work/samples/compute-client-0.0.1-SNAPSHOT.jar where the jar file compute-client-0.0.1-SNAPSHOT.jar contains the class PI. This works perfectly in standard sun's RMI. This also works fine in JBoss 4.2 and newer, but only if the SessionBean is implemented and deployed as EJB3. Unfortunately I have failed trying to get it running in JBoss 4.2.2 for the SessionBean that was implemented and deployed as EJB2 with the following exception: | Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: sample.remote.ejb2client.Pi | at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212) | at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:521) | at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415) | at java.lang.ClassLoader.loadClass(ClassLoader.java:251) | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374) | at java.lang.Class.forName0(Native Method) | at java.lang.Class.forName(Class.java:242) | at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:585) | at org.jboss.invocation.MarshalledValueInputStream.resolveClass(MarshalledValueInputStream.java:109) | at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1544) | at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466) | at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) | at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1634) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) | at org.jboss.invocation.MarshalledValue.get(MarshalledValue.java:91) | ... | Does anybody have an idea what can be wrong? P.S. The security manager of both client and server were set to java.lang.SecuirtyManager. The corresponding policy file on both client and app. server allows everything: | grant { | permission java.security.AllPermission; | }; | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257745#4257745 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257745 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache Users] - What is an invocation, and the related option override?
I'd appreciate some clarification regarding the Invocation concept. What is considered an invocation? It looks like JBC uses ThreadLocal to store transaction and InvocationContext, so it appears to me that a invocation is basically having the same lifespan as a thread. Is this correct? What if the thread is pooled and reused? The reason this is important is that the cache option overrides are per Invocation. In other words, if I set and option override, it last for that invocation. Therefore, clarifying on the invocation concept becomes necessary but I wasn't able to find a good straight answer on it. Thanks in advance, Alan View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257752#4257752 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257752 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal Users] - links from portlet content to another portal page
I need to create inline hyper-links in the content (JSP fragment) of a portlet to another portal page. What is the best way to do this. I would like to do this from the JSP not from the portlet's Java code. I am not building a menu but simply hyper-linking some of the content that appears in the portlet. Basically, what I need to know is how to generate the href for the anchor tag below | I need a hyper-link to a href=another page/a in the portal. | I don't care if the solution is JBoss specific. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257757#4257757 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257757 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: Design: When the line between domain objects and service
Hello! In the case of the mail-box, why not push the functionallity of reacting to an email into the implementation of the mailbox? E.g. change the mailbox.addMessage() method and dynamically set up a reference to the mailbox when you startup the bean. In general, you could use an Adapter/Notifier pattern (with the additional advantage of being able to send one message too several mailboxes). Am I missing something there? Cheers , Georg View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257766#4257766 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257766 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: Design: When the line between domain objects and service
Don't read too much into my specific example. I'm trying to illustrate a point. My point is that EJB and JPA force us into a model where our domain objects cannot rely on any container provided services. I fully understand the reasoning behind it. However, I'm asking for ideas on elegant ways to deal with this issue. If certain subclasses of an Entity need to do things that weren't necessarily anticipated when the service layer was created, we have to make changes to the service layer to specifically support these things. So each time I subclass Mailbox, I have to modify a service method somewhere to deal with that new type of Mailbox, if that new type has any different behavior which may need a container service. This means we completely miss-out on the polymorphism of the Mailbox object. Seems to go against the whole notion of objects, which combine data and behavior, and more into a combination of data structures and procedural methods. So, does anyone have any solutions? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257767#4257767 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257767 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - JBOSS runs as a service, but will not autostart
I can successfully get JBOSS to start by typing service jboss start from the command line, but cannot get it to auto start as a service. I believe I have done everything necessary: 1) Placed chkconfig: 2345 80 20 in my start script 2) Executed chkconfig --list to make sure it has been added 3) Checked the server run level (3) to make sure I have the right values for chkconfig 4) Executed ntsysv to make sure there is an * in the JBOSS box (there is) 5) Manually looked in the rc3.d folder to make sure a symlink is there. 6) Have manually run the commands in the startup script (from command line) to make sure they properly start the JBOSS server (they do) Whew! So when I reboot my server, JBOSS still doesn't start automatically. Is there some simple step I am missing? Thanks! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257768#4257768 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257768 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Ending task with timer - session is closed
Hi, I'm using following configuration: JBoss AS 4.3 jBPM 3.2.2 Seam 2.0.2 Hibernate 3.3.0 jBPM is configured to use JTA. JbpmContext is injected with Hibernate session took from Seam managed EntityManager. When I end task, which has a timer, everything works fine but at the end of rendering phase exception is thrown: | 02:50:26,345 ERROR [TaskMgmtSession] org.hibernate.SessionException: Session is closed! | 02:50:26,438 ERROR [SeamPhaseListener] uncaught exception | org.jbpm.JbpmException: couldn't get task instance '146' | at org.jbpm.db.TaskMgmtSession.getTaskInstance(TaskMgmtSession.java:190) | at org.jbpm.JbpmContext.getTaskInstanceForUpdate(JbpmContext.java:251) | at org.jboss.seam.bpm.TaskInstance$1.work(TaskInstance.java:49) | at org.jboss.seam.bpm.TaskInstance$1.work(TaskInstance.java:43) | at org.jboss.seam.util.Work.workInTransaction(Work.java:41) | at org.jboss.seam.bpm.TaskInstance.getTaskInstance(TaskInstance.java:39) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:21) | at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:125) | at org.jboss.seam.Component.callComponentMethod(Component.java:2092) | at org.jboss.seam.Component.unwrap(Component.java:2118) | at org.jboss.seam.Component.getInstance(Component.java:1890) | at org.jboss.seam.Component.getInstance(Component.java:1855) | at org.jboss.seam.Component.getInstance(Component.java:1832) | at org.jboss.seam.Component.getInstance(Component.java:1827) | at org.jboss.seam.bpm.TaskInstance.instance(TaskInstance.java:64) | at org.jboss.seam.contexts.BusinessProcessContext.getTaskInstance(BusinessProcessContext.java:231) | at org.jboss.seam.contexts.BusinessProcessContext.getNamesFromContext(BusinessProcessContext.java:109) | at org.jboss.seam.contexts.BusinessProcessContext.getNames(BusinessProcessContext.java:97) | at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:241) | at org.jboss.seam.contexts.Contexts.flushAndDestroyContexts(Contexts.java:356) | at org.jboss.seam.contexts.FacesLifecycle.endRequest(FacesLifecycle.java:112) | at org.jboss.seam.jsf.SeamPhaseListener.afterRenderResponse(SeamPhaseListener.java:513) | at org.jboss.seam.jsf.SeamPhaseListener.afterServletPhase(SeamPhaseListener.java:245) | at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:192) | at com.sun.faces.lifecycle.Phase.handleAfterPhase(Phase.java:175) | at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:114) | at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) | at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141) | at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281) | at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at
[jboss-user] [Installation, Configuration Deployment] - Re: issues with seting up jboss windows serivces.
Yes I ran service.bat at the command line. When I opened Services from Adminstration Tools-- Control pannel. I do not see the service installed. When I tried on XP every thing works fine. I see the same batch script doesnot work on Windows 2008. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257771#4257771 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257771 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache Users] - Re: InstanceAlreadyExistsException During hot deployment
Thanks Mircea.Markus for pointing me in right direction. I am able to fix the problem. I upgraded my cache jars to 'Malagueta' version of JBC 3.2.0GA. Also there was one old jar file of JBC which was creating the conflict. Then I also tested the cluster name other than jboss.cache:service=TreeCache and that worked all well, no issues. :)[/img] View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257772#4257772 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257772 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - JBoss fallback mechanism for authentication methods
I am using the CLIENT-CERT authentication method and I would like to implement a fallback mechanism so that the user can login with a username/password, in the case that they do not posess a certificate. BEA has an easy way to do this, by allowing a comma separated list of auth-method's. http://download.oracle.com/docs/cd/E12840_01/wls/docs103/security/thin_client.html#auth-method I am new to JBoss and I am wondering if there is a clean way to accomplish this with JBoss AS? Thoughts? Thanks in advance, - Steve View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257773#4257773 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257773 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: jbpm4.1 task duedate does not persist
I'd like to contribute some code to fix this. Is there a guide or doc somewhere about submission of code for the project? I guess first thing is to file a JIRA issue. To clarify the problem, the task definition's due date is not persisted and obviously therefore not referenced when the task activity is created so no due date can (currently) be set on a task based on the definition. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257774#4257774 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257774 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - Re: Can not install JBoss Tools in Eclipse Galileo
Thanks for the quick responses. I have downloaded the last Galileo version (SR1) today, and JBossTools worked at first time! Seems there were some dependencies which were added to this SR Ernesto View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257775#4257775 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257775 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: HA JNDI connection
Hi, I think first you make sure the hajndi service is up and running and the port 1100 is listening. If you want to get more help, i think you put the question to the AS forum. Here we are more good at JBM issues. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257781#4257781 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257781 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: HA JNDI connection
Hi, Basically you are right but I have published it here because I am trying JBM samples and want to fix it. Now the problem it self: I have started the all configuration of jboss 5.1 GA and mbean shows that the service is there and listening, do you think I need to config something else ? Thanks in advance Roman View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257782#4257782 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257782 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: HA JNDI connection
I suggest you try out jbm examples first. you can download it here: http://jboss.org/downloading/?projectId=jbossmessagingurl=/jbossmessaging/downloads/jbm-examples-1.4.3.zip the queue-failover example should be a good start. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257783#4257783 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257783 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: HA JNDI connection
btw that zip file seams to be corrupted I got the test samples directly from SVN View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257784#4257784 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257784 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user