[jboss-user] [Installation, Configuration DEPLOYMENT] - ServletContextListener invoked before ejb JNDI binding
It seems that ear file are deployed in below sequence: ... 1. EjbDeployer: install ejb but doesn't bind it to JNDI tree. 2. TomcatDeployment - Initial servlet context and call listener: deploy war file and invoke servlet config listener 3. EjbModule - BaseLocalProxyFactory: Bould EJB LocalHome to jndi tree. ... The problem here is if we want to invoke ejb method in ServletContextListener.contextInitialized() , it will fail due to the fact that jndi name is not bound. Any suggestion/work around to solve this issue would be highly appreciated. Best regards, Arthur View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232096#4232096 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232096 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: ServletContextListener invoked before ejb JNDI binding
We wrote a simple application to verify above steps. This javaee project has one ejb module and one web module. Ejb module use ejb2.0 and has one local EJB - HelloEjb. In web module, I have one ServletContextListener which try to get local ejb HelloLocal through jndi lookup; it will fail with error in console. Besides of that, we put a simple jsp file in this module which does the same thing as listener. After web app startup, access url http://localhost:8080/MyTestWeb/index.jsp will trigger it. In this case, Jndi lookup pass without error, invocation on ejb could be found in console, too. Below is content of jboss console: anonymous wrote : | 05:58:41,867 INFO [ServerImpl] Home Dir: C:\jboss-5.0.1.GA | 05:58:41,867 INFO [ServerImpl] Home URL: file:/C:/jboss-5.0.1.GA/ | 05:58:41,867 INFO [ServerImpl] Library URL: file:/C:/jboss-5.0.1.GA/lib/ | 05:58:41,867 INFO [ServerImpl] Patch URL: null | 05:58:41,867 INFO [ServerImpl] Common Base URL: file:/C:/jboss-5.0.1.GA/common/ | 05:58:41,882 INFO [ServerImpl] Common Library URL: file:/C:/jboss-5.0.1.GA/common/lib/ | 05:58:41,882 INFO [ServerImpl] Server Name: standard | 05:58:41,882 INFO [ServerImpl] Server Base Dir: C:\jboss-5.0.1.GA\server | 05:58:41,882 INFO [ServerImpl] Server Base URL: file:/C:/jboss-5.0.1.GA/server/ | 05:58:41,882 INFO [ServerImpl] Server Config URL: file:/C:/jboss-5.0.1.GA/server/standard/conf/ | 05:58:41,882 INFO [ServerImpl] Server Home Dir: C:\jboss-5.0.1.GA\server\standard | 05:58:41,882 INFO [ServerImpl] Server Home URL: file:/C:/jboss-5.0.1.GA/server/standard/ | 05:58:41,882 INFO [ServerImpl] Server Data Dir: C:\jboss-5.0.1.GA\server\standard\data | 05:58:41,882 INFO [ServerImpl] Server Library URL: file:/C:/jboss-5.0.1.GA/server/standard/lib/ | 05:58:41,882 INFO [ServerImpl] Server Log Dir: C:\jboss-5.0.1.GA\server\standard\log | 05:58:41,882 INFO [ServerImpl] Server Native Dir: C:\jboss-5.0.1.GA\server\standard\tmp\native | 05:58:41,882 INFO [ServerImpl] Server Temp Dir: C:\jboss-5.0.1.GA\server\standard\tmp | 05:58:41,882 INFO [ServerImpl] Server Temp Deploy Dir: C:\jboss-5.0.1.GA\server\standard\tmp\deploy | 05:58:43,538 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/jboss-5.0.1.GA/server/standard/conf/bootstrap.xml | 05:58:46,007 INFO [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.CombinedVFSCache] | 05:58:46,023 INFO [VFSCacheFactory] Using VFSCache [CombinedVFSCache[real-cache: null]] | 05:58:46,835 INFO [CopyMechanism] VFS temp dir: C:\jboss-5.0.1.GA\server\standard\tmp | 05:58:46,867 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled. | 05:58:50,492 INFO [ServerInfo] Java version: 1.6.0_07,Sun Microsystems Inc. | 05:58:50,492 INFO [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_07-b06) | 05:58:50,492 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 10.0-b23,Sun Microsystems Inc. | 05:58:50,492 INFO [ServerInfo] OS-System: Windows XP 5.1,x86 | 05:58:50,679 INFO [JMXKernel] Legacy JMX core initialized | 05:58:55,632 INFO [ProfileServiceImpl] Loading profile: standard from: org.jboss.system.server.profileservice.repository.serializabledeploymentreposit...@1091857(root=C:\jboss-5.0.1.GA\server, key=org.jboss.profileservice.spi.profile...@664cb3f[domain=default,server=default,name=standard]) | 05:58:55,648 INFO [ProfileImpl] Using repository:org.jboss.system.server.profileservice.repository.serializabledeploymentreposit...@1091857(root=C:\jboss-5.0.1.GA\server, key=org.jboss.profileservice.spi.profile...@664cb3f[domain=default,server=default,name=standard]) | 05:58:55,648 INFO [ProfileServiceImpl] Loaded profile: profilei...@98ebea{key=org.jboss.profileservice.spi.profilekey@664cb3f[domain=default,server=default,name=standard]} | 05:59:00,242 INFO [WebService] Using RMI server codebase: http://localhost:8083/ | 05:59:26,914 INFO [NativeServerConfig] JBoss Web Services - Stack Native Core | 05:59:26,914 INFO [NativeServerConfig] 3.0.5.GA | 05:59:45,898 INFO [Ejb3DependenciesDeployer] Encountered deployment abstractvfsdeploymentcont...@17541938{vfsfile:/C:/jboss-5.0.1.GA/server/standard/deploy/MyTestApplication.ear/MyTestEJB.jar/} | 05:59:45,898 INFO [Ejb3DependenciesDeployer] Encountered deployment abstractvfsdeploymentcont...@17541938{vfsfile:/C:/jboss-5.0.1.GA/server/standard/deploy/MyTestApplication.ear/MyTestEJB.jar/} | 05:59:45,898 INFO [Ejb3DependenciesDeployer] Encountered deployment abstractvfsdeploymentcont...@17541938{vfsfile:/C:/jboss-5.0.1.GA/server/standard/deploy/MyTestApplication.ear/MyTestEJB.jar/} | 05:59:51,570 INFO [CorbaNamingService] CORBA Naming Started | 05:59:55,773 INFO [MailService] Mail Service bound to java:/Mail | 06:00:00,164 WARN [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component which
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: ServletContextListener invoked before ejb JNDI binding
See this http://www.jboss.org/index.html?module=bbop=viewtopict=151303 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232100#4232100 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232100 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: cannot list on any port in range 0-123
Even i faced the same problem and changing the /etc/hosts file did the trick. Thank you every one View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232102#4232102 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232102 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Accesss ssl certificate information
Hi again Does noboby have an answer to my problem? Or am I just posting my question in the wrong forum? (but neither Security nor Tomcat really seam to fit..) Once again: How do I get certificate information from the client ssl auth (which is handled in tomcat) in one of my session beans? skn81 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232103#4232103 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232103 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Singleton mbean
josey wrote : | Did you ever find a solution to this problem? no, unfortunately not. in the end we upgraded to 4.2.3jboss 5.0 CR2 had too many other issues as well. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232104#4232104 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232104 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Unable to configure a topic in Jboss 5
Hi, I'm new to JBoss Messaging services. I started with simple Queue example. It was deployed well and able to taste the result. Now the problem is, im unable to configure the TOPIC.What i did is 1)I'm using the default (as deployment folder). 2) I created the xml file and named as jboss-topic-service.xml. in default/config folder 3)I written the below code in that. server | mbean code=org.jboss.jms.server.destination.TopicService | name=jboss.messaging.destination:service=Topic,name=testTopic | xmbean-dd=xmdesc/Topic-xmbean.xml | depends optional-attribute-name=ServerPeerjboss.messaging:service=ServerPeer/depends | dependsjboss.messaging:service=PostOffice/depends | attribute name=SecurityConfig | security | role name=guest read=true write=true/ | role name=publisher read=true write=true create=false/ | role name=durpublisher read=true write=true create=true/ | /security | /attribute |/mbean | /server 4)when i start my jboss with default as deployment option, I'm unable to see my topic in the console. Here is the console output. 12:13:53,352 INFO [ServerPeer] JBoss Messaging 1.4.1.GA server [0] started | 12:13:53,461 INFO [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=20, pageSize=2000, downCacheSize=2000 | 12:13:53,539 INFO [QueueService] Queue[/queue/testQueue] started, fullSize=20, pageSize=2000, downCacheSize=2000 | 12:13:53,618 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 1 milliseconds | 12:13:53,618 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.connectionfact...@1f4ed3f started 5) In the above console output we can able to see the queue service has been configured well but Topic is not. Please help me in this . What's wrong with the configuration. Please let me know is there any thing to do in order to deal with TOPIC example. I even checked by removing the SecurityConfig attribute in jboss-topic-service.xml. But no use. Help me in this. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232105#4232105 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232105 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: ServletContextListener invoked before ejb JNDI binding
It works, thank you very much. Best wishes View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232106#4232106 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232106 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Unable to configure a topic in Jboss 5
Hi I got the error what i did. instead of placing the -service.xml file in conf folder, we need to place the file in deploy folder. Thanks, View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232109#4232109 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232109 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: WSRP with Portlet Container only
We're not arguing the usefulness of such a feature. We're just saying that there were other priorities that needed to be addressed first. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232110#4232110 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232110 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - JBossv4.2.3 not sending response for image files and browser
We are using JBoss v4.2.3.ga and Apache v 2.2.9 and mod_jk v 1.2.26 are being used as the load balancer. We have observed that sometimes JBoss fails to send response for a image file. At this stage the browser hangs but on clicking the refresh button the page is rendered completely. On analysing the network packets we saw that GET request for image is send by the browser but no response is received. We also checked the logs of apache and mod_jk but there are no logs for this particular image request. Then I shutdown the JBoss server and response code 503 was send to the browser. At this stage browser comes out of hang state. Also the logs for this request can be seen in both Apache and mod_jk logs. It is not that browser hangs only in case of one particular image but the behaviour is completely random. The images are packaged inside jar files of Trinidad components. It seems that there is some I/O failure in JBoss-tomcat because of which request doesn't get completed. The thread dump of JBoss doesn't point to any deadlocks on server side. What could be the possible reasons for this behaviour? Is it a known issue in JBoss v4.2.3.ga and is there is a fix for this? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232111#4232111 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232111 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - hot redeploy, why not?
I tried, I tried, I tried, but nothing to do for EJB hot redeploy. Anyone can help me? (I use Jboss 5.0.0)) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232117#4232117 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232117 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: WSRP with Portlet Container only
Exactly, it is planned anyway. There is no need to argue about the usefulness. Now there is no need to argue about the usefulness of most Jiras neither. If the priority was lowered is that like all default tasks it got the priority of 'Major' assigned, we preferred to lower the expectations as it wasn't planned. Also keep in mind that we do accept contributions in terms of code contributions which would be much more rewarding than giving money away. So now you can sit and wait or step up and help. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232120#4232120 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232120 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Getting threw load() exception java.lang.InstantiationExcept
Hi All, After deploying the web app, when i started the jboss AS it is throwing the following exceptions. any help would appriciated.. JBOSS version :jboss-4.2.3.GA jdk version : jdk1.5.0_16 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/eVista]] Servlet /eVista threw load() exception java.lang.InstantiationException at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at java.lang.Class.newInstance0(Class.java:350) at java.lang.Class.newInstance(Class.java:303) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1104) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4071) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4375) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553) 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.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.apache.catalina.core.StandardContext.init(StandardContext.java:5312) 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.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301) at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104) at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375) at org.jboss.web.WebModule.startModule(WebModule.java:83) at org.jboss.web.WebModule.startService(WebModule.java:61) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(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(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy44.start(Unknown Source) at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at
[jboss-user] [Installation, Configuration DEPLOYMENT] - threw load() exception java.lang.InstantiationException on s
Hi All, After deploying the web app, when i started the jboss AS it is throwing the following exceptions. any help would appriciated.. JBOSS version :jboss-4.2.3.GA jdk version : jdk1.5.0_16 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/eVista]] Servlet /eVista threw load() exception java.lang.InstantiationException at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at java.lang.Class.newInstance0(Class.java:350) at java.lang.Class.newInstance(Class.java:303) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1104) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4071) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4375) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553) 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.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.apache.catalina.core.StandardContext.init(StandardContext.java:5312) 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.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301) at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104) at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375) at org.jboss.web.WebModule.startModule(WebModule.java:83) at org.jboss.web.WebModule.startService(WebModule.java:61) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(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(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy44.start(Unknown Source) at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466) 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:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at
[jboss-user] [EJB 3.0] - @EJB injection after redeploy
I am trying deploy simple application: two stateless EJB3 beans packaged in one ejb module that, in turn, is packaged as EAR application. One EJB injects aonther by simple @EJB annotation (via local inteface): @EJB | private SwServiceLocal swService; | Everything works just fine after first deployment but fails after re-deployment (the first access to injected EJB) injection fails with the following exception: java.lang.RuntimeException: Non matching type for inject of field: private com.foo.service.SwService com.foo.service.SV2ServiceBean.swService for type: $Proxy433 of jndiName env/com.foo.service.SV2ServiceBean/swService intfs: , com.foo.service.SwServiceLocal, org.jboss.ejb3.JBossProxy 12:03:11,589 ERROR [STDERR] at org.jboss.injection.JndiFieldInjector.inject(JndiFieldInjector.java:128) | at org.jboss.injection.JndiFieldInjector.inject(JndiFieldInjector.java:106) | at org.jboss.injection.JndiFieldInjector.inject(JndiFieldInjector.java:63) | at org.jboss.ejb3.AbstractPool.create(AbstractPool.java:111) | at org.jboss.ejb3.InfinitePool.get(InfinitePool.java:49) | at org.jboss.ejb3.ThreadlocalPool.create(ThreadlocalPool.java:50) | at org.jboss.ejb3.ThreadlocalPool.get(ThreadlocalPool.java:90) | at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:54) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77) | at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:240) | at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:210) | at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:84) | at $Proxy431.processAllOperations(Unknown Source) | at fr.sncm.sgi.service.batchmanager.ServiceBatchManager.executeConnecteurInterface(ServiceBatchManager.java:789) | at fr.sncm.sgi.service.batchmanager.ServiceBatchManager.programmeInterface(ServiceBatchManager.java:612) | at fr.sncm.sgi.service.batchmanager.ServiceBatchManager.processPerformBatch(ServiceBatchManager.java:300) | 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.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) | at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166) | at fr.sncm.sgi.interceptors.LogInterceptor.logThisMethod(LogInterceptor.java:31) | at sun.reflect.GeneratedMethodAccessor191.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118) | at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126) | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at
[jboss-user] [JBoss jBPM] - Transaction problem within a timer
I have a timer with an action that invokes seam expression, within the action method, I invoke processInstance.suspend(); Seems like the process get suspended, but then, I get the following exception: 20:14:49,781 ERROR [AbstractFlushingEventListener] Could not synchronize database state with session org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.jbpm.graph.exe.Token#140] at org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1765) at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2407) at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2307) at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2607) at org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:92) at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:250) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:234) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:142) at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298) at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27) at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000) at org.jbpm.persistence.db.DbPersistenceService.flushSession(DbPersistenceService.java:261) at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:200) at org.jbpm.svc.Services.close(Services.java:243) at org.jbpm.JbpmContext.close(JbpmContext.java:133) at org.jbpm.job.executor.JobExecutorThread.executeJob(JobExecutorThread.java:195) at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:62) 20:14:49,786 INFO [DbPersistenceService] problem flushing session: optimistic locking failed 20:14:49,786 INFO [Services] optimistic locking failed, could not close service: persistence What causes it and how can I avoid it? Thanks! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232130#4232130 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232130 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Clone a Process Instance
what is the advantage of cloning? You can always modify all values and still have a history log that shows what happened. imo much easier.If you create an adhoc task in the process, that is executed at that moment, you have a specific entry in the log that everything is reset. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232139#4232139 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232139 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Retrieveing a var when the class changed
Not if you store serialized classes afaik. But I never did/try that (partly because of these kinds of dificulties) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232140#4232140 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232140 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: @EJB injection after redeploy
vlotarev wrote : but fails after re-deployment (the first access to injected EJB) How do you redeploy? Do those beans belong to the same application (jar)? Can you post the console logs from the point you do a redeploy? Do you access these beans from a standalone client? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232141#4232141 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232141 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Retrieveing a var when the class changed
Yep that's the point, I'm storing serialized classes :-( That would be a major problem when upgrading my program... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232143#4232143 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232143 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: @EJB injection after redeploy
Which version of JBoss AS do you use? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232142#4232142 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232142 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: @EJB injection after redeploy
JBoss version is 4.2.3GA I am making hot-deploy just copying corresponding EAR file in the server/deploy folder. Deployment itself went well except several warnings (I removed log entries related to entity beans deployment since as far as I guess the are out of interest). INFO [EARDeployer] Init J2EE application: file:/C:/jboss-4.2.3.GA/server/default/deploy/SV2Interface.ear | | WARN [EJBHandler] IGNORING DEPENDENCY: unable to find @EJB from interface only com.foo.service.SwService in ejb-jar.xml of SV2Servicenot used by any EJBs | WARN [EJBHandler] IGNORING DEPENDENCY: unable to find @EJB from interface only com.foo.aaa.service.serviceRejet.IServiceRejetEnterprisein ejb-jar.xml of SV2Servicenot used by any EJBs | WARN [EJBHandler] IGNORING DEPENDENCY: unable to find @EJB from interface only com.bar.bbb.service.SessionService in ejb-jar.xml ofSwServicenot used by any EJBs | WARN [EJBHandler] IGNORING DEPENDENCY: unable to find @EJB from interface only com.bar.bbb.service.DbSearchService in ejb-jar.xml of SwServicenot used by any EJBs | INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer | INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=SV2Interface.ear,jar=SV2InterfaceEJBModule.jar,name=ShipService,service=EJB3 with dependencies: | INFO [JmxKernelAbstraction] persistence.units:ear=SV2Interface.ear,jar=SV2InterfaceEJBModule.jar,unitName=SV2_Ship_Casa | INFO [JmxKernelAbstraction] persistence.units:ear=SV2Interface.ear,jar=SV2InterfaceEJBModule.jar,unitName=SV2_Reference | INFO [JmxKernelAbstraction] persistence.units:ear=SV2Interface.ear,jar=SV2InterfaceEJBModule.jar,unitName=SV2_Ship_Moro | INFO [EJBContainer] STARTED EJB: com.foo.service.ShipServiceBean ejbName: ShipService | INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer | INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=SV2Interface.ear,jar=SV2InterfaceEJBModule.jar,name=SV2Service,service=EJB3 with dependencies: | INFO [JmxKernelAbstraction] jboss.j2ee:ear=SV2Interface.ear,jar=SV2InterfaceEJBModule.jar,name=ShipService,service=EJB3 | INFO [EJBContainer] STARTED EJB: com.foo.service.SV2ServiceBean ejbName: SV2Service | INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer | INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=SV2Interface.ear,jar=SV2InterfaceEJBModule.jar,name=SwService,service=EJB3 with dependencies: | INFO [EJBContainer] STARTED EJB: com.foo.service.SwServiceBean ejbName: SwService | INFO [EJB3Deployer] Deployed: file:/C:/jboss-4.2.3.GA/server/default/tmp/deploy/tmp5596106466848300323SV2Interface.ear-contents/SV2InterfaceEJBModule.jar | INFO [EARDeployer] Started J2EE application: file:/C:/jboss-4.2.3.GA/server/default/deploy/SV2Interface.ear | As I mentioned in my first post all EJB's are located in the same jar (ejb module) that, in turn, is packaged in EAR application. I am accesing one EJB from another EJB (both of them are located in the same JAR). Thanks, Vadim View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232149#4232149 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232149 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - javax.naming.NameNotFoundException: jdbc not bound
Hi all, I want to define an Oracle datasource in JBoss AS 5.0. I follow the steps in the installation guide or even in the article in JBoss.org. I still get the same error. 1. create a oracle-ds.xml in the deploy directory 2. create a jsp inside the web application. Whenever call this webpage (jsp), get the same error javax.naming.NameNotFoundException: jdbc not bound. What's wrong? I double check the xml file without any error. How to trace this problem? Thanks for any help View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232151#4232151 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232151 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Performance slowdown on JBoss 4.2.3.GA
I've migrated my product from JBoss 4.2.2.GA to JBoss 4.2.3.GA. I'm using Remoting 2.4.0.SP1. I realized that performance is terribly slow in this version. If earlier a rmi call was taking 100 ms, now it is taking around 200 ms. Please remark, what has changed in JBoss which has caused this adverse effect? I'm just making use of the specified version of remoting. Regards Vinay View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232160#4232160 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232160 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - How to run JBoss Portal in Tomcat?
How to run JBoss Portal in Tomcat? can this be done or not? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232161#4232161 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232161 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Compatibility/Performance of Remoting 2.5.1
I'm using JBossAS 4.2.3 with Remoting 2.4.0.SP1. Can I upgrade the remoting library to 2.5.1 without any compatibility issue? What would be the impact on performance with this new library. Please comment. Vinay View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232163#4232163 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232163 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Microcontainer Demos
uaark...@gmail.com wrote : Although there is some good documentation and enough information on these forums I still cannot figure out how to run these (http://anonsvn.jboss.org/repos/jbossas/projects/demos/microcontainer/trunk/) examples. | | First of all, the sprint-int, guice-int, springframework and guice libraries need to be included with the JMXMain and bootstrap.Main modules. Not sure why they are not included. | No, they are only needed at models module (see models' pom.xml). What you need to do is to run JMXMain from the models module, using its classpath, which includes the right jars - bootstrap, jmx, spring-int, guice-int, ... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232162#4232162 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232162 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: First step towards performance improvement of EJB3 deplo
I applied your patch with same EAR I used for my first performance test. It contains 365 EJBs / Seam components. Deploy times are better, but still far from JBoss 4.2 performance : - JBoss 4.2.3 : about 1' - JBoss 5.0.1 : about 4'30 - JBoss 5.1.0.CR1 : about 5' - JBoss 5.1.0.CR1 + EJB3 patch : about 3'45 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232169#4232169 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232169 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Retrieveing a var when the class changed
But this isn't specifically a jBPM problem/issue right? At least I remember this same issue from a project long time ago. Either use your own marshalling, hibernate mapping or whatever View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232179#4232179 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232179 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - JBoss on Eclipse
Hello all, Since yesterday i was still trying to be able to make a Java Portlet on my Eclipse and show it in JBoss Portal thru Eclipse. First, i did update the software into my eclipse from this website : http://download.jboss.org/jbosstools/updates/stable/ After that,i also download jboss-portal-2.6.8.GA-bundled from http://www.jboss.org/jbossportal/download/index.html I also got other 3 files from internet which are portlet-api-1.0, servlet-api, and log4j-1.2.15 And i added a new user library which contain those last 3 files named J22_BUNDLE It went ok when i made a new dynamic Web Project. But then the problem was there when i wanted to run my java class. On the WEB-INF : there were no portlet.xml, portlets-instances.xml, jboss-portlet.xml und so on. Only web.xml was there. What do u think? What are still missing here? I would be happy to get any feedback from you. Thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232180#4232180 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232180 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: First step towards performance improvement of EJB3 deplo
chawax wrote : | | - JBoss 4.2.3 : about 1' | - JBoss 5.0.1 : about 4'30 | - JBoss 5.1.0.CR1 : about 5' | - JBoss 5.1.0.CR1 + EJB3 patch : about 3'45 Thanks for providing these numbers. Inputs like these help in narrowing down the performance issues. The numbers show some expected improvements. chawax wrote : | Deploy times are better, but still far from JBoss 4.2 performance : | Given the changes to the core services in the AS, i am not sure we can get to the JBossAS-4.x timings. However, there are still some improvements that can definitely be done in the deployment timings. Some of them are already done and commited. There are some others for which there's discussions going on. The JBossAS-5.1.0 GA which is to be released, will contain a major fix which we expect will improve the deployment time noticeably for big deployments. I'll update this thread with the details when 5.1.0 GA is out. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232181#4232181 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232181 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Does method-permission overwrite prevoius entry in ejb-jar
Hi I'm trying to restrict EJB method add in remote interface, and leave the same method in local interface accessible freely. I tried to use method-intf tag to distinguish interfaces. I have following entries: ... | assembly-descriptor | security-role | descriptionCalculator guest/description | role-nameguest/role-name | /security-role | | security-role | descriptionCalculator external role/description | role-nameexternalUser/role-name |/security-role | | method-permission | role-nameguest/role-name | method | ejb-nameCalculatorBean/ejb-name | method-intfHome/method-intf | method-nameadd/method-name | /method | /method-permission | | method-permission | role-nameexternalUser/role-name | method | ejb-nameCalculatorBean/ejb-name | method-intfRemote/method-intf | method-nameadd/method-name | /method | /method-permission | /assembly-descriptor | ... During debugging I saw that only externaUser role is available for add. It seems that previous method-permission is overwritten. My guest role is unknown. If I comment last entry, then the guest role is available. I'm invoking EJB via local interface, from another stateless EJB (packed in other jar file, but delivered in the same EAR). Caller is recognized as guest Do you know what is going on? Am I specifying permissions in incorrect way? Or did I miss something important? My login-config.xml is configured to accept unauthenticatedIdentity JBoss: 4.2.0 GA JDK: 1.6.0 u13 Thanks in advance! Darek View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232186#4232186 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232186 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - can't read resource from the classpath??
Hi all, I've created a deployer for jboss identity, which is listening on the -jboss-idm.xml file. It has two deployer classes, one is the deployer that IDMVFSParsingDeployer, which extends AbstractVFSParsingDeployer, the other is IDMSimpleVFSRealDeployer that extends AbstractSimpleVFSRealDeployer. The work that deployer need to be done is simple. 1. IDMVFSParsingDeployer just need to listening on the -jboss-idm.xml, and then turn this xml file into javabean object(Metadata). 2. IDMSimpleVFSRealDeployer will get the config file from the javabean object(metadata), and then use the jboss identity API to start its service. So in the jboss5.0.1.GA/server/default/deployer, it will have a idm-deployer. in its deploy folder, it has idm folder that only contains three files. | default-jboss-idm.xml | jboss.idm.cfg.xml | jboss.idm.hibernate.cfg.xml | In the IDMVFSParsingDeployer, I am using the vsfile.openStream to read the default-jboss-idm.xml, it works great.. the default-jboss-idm.xml is following | ?xml version=1.0 encoding=UTF-8? | jboss-idm-deployer xmlns=urn:jboss:identity:idm:deployer:v1_0_alpha | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation=urn:jboss:identity:idm:deployer:v1_0_alpha identity-deployer.xsd | JNDINamejava:/identitySessionFactory/JNDIName | idmConfigFilejboss.idm.cfg.xml/idmConfigFile | initializers | hibernateInitializerType | doCheckingtrue/doChecking | /hibernateInitializerType | /initializers | /jboss-idm-deployer so I can read the idmConfigFile property from here, but the question is, now I invoke the | JAXB2IdentityConfiguration.createConfigurationMetaData(jboss.idm.cfg.xml) It will tell me it can't find the jboss.idm.cfg.xml resource. the code for the JAXB2IdentityConfiguration.createConfigurationMetaData is: | ClassLoader classLoader = SecurityActions.getContextClassLoader(); | InputStream inputStream = classLoader.getResourceAsStream(configResource); | if (inputStream == null) | { | throw new IllegalArgumentException(Resource +configResource+ does not exist); | } | return createConfigurationMetaData(inputStream); | So I am wondering whether because the lib was in the deployer/idm-deployer folder, and then can't access the resources in the deploy/idm/ directory? Or I did something wrong in other places? Thoughts? Thanks Jeff View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232188#4232188 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232188 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: Performance slowdown on JBoss 4.2.3.GA
Forget to mention one thing, I was running default configuration in JBoss 4.2.2 whereas all configuration on JBoss 4.2.3. I'm not aware if anything in that configuration can cause this behavior. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232193#4232193 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232193 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Clustering JBOSS 5.0
Hi, I am also trying to achieve clustering in jboss 5.0.1ga. I have successfully formed group of three node but my application is not getting deployed on other two nodes. As with 4.x farm deployment was available but it's not available in 5.0.1ga, so where should i put my ear to get it deployed automatically on all cluster nodes. You can also refer my post: http://www.jboss.org/index.html?module=bbop=viewtopict=155687 Thanks in advance. Mahesh[/url] View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232209#4232209 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232209 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Jboss portal on JBoss AS5
Ups, I accidentially posted this in the wrong forum, sorry. Hi I successfully deployed Jboss portal using the instructions on: http://www.jboss.org/community/wiki/JBossPortalonAS5%3Bjsessionid=8BAD177F51EE170F8EF2B2F2F3E5485E But then I changed to JBoss AS 5.1.0CR1 and I get this at runtime. 21:17:08,408 ERROR [AbstractKernelController] Error installing to Start: name=portal:service=IdentityUIConfigurationService,type=IdentityUI state=Create mode=Manual requiredState=Installed org.jboss.portal.core.identity.services.metadata.CoreIdentityConfigurationException: Could not parse configuration file. at org.jboss.portal.core.identity.services.metadata.IdentityUIConfigurationServiceImpl.createConfiguration(IdentityUIConfigurationServiceImpl.java:340) at org.jboss.portal.core.identity.services.metadata.IdentityUIConfigurationServiceImpl.startService(IdentityUIConfigurationServiceImpl.java:135) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:376) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:269) at org.jboss.portal.jems.as.system.AbstractJBossService.start(AbstractJBossService.java:73) at sun.reflect.GeneratedMethodAccessor316.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.portal.jems.as.system.JBossServiceModelMBean$ServiceMixin.execute(JBossServiceModelMBean.java:486) at org.jboss.portal.jems.as.system.JBossServiceModelMBean$ServiceMixin.startService(JBossServiceModelMBean.java:452) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:376) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:269) at org.jboss.portal.jems.as.system.JBossServiceModelMBean$6.invoke(JBossServiceModelMBean.java:374) 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.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206) at $Proxy38.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:1631) at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) 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.deployers.ServiceDeployer.start(ServiceDeployer.java:163) at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99) at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46) at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50) at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439) at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157) at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178) at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098) at
[jboss-user] [Microcontainer] - Re: can't read resource from the classpath??
jeff.yuchang wrote : | So I am wondering whether because the lib was in the deployer/idm-deployer folder, and then can't access the resources in the deploy/idm/ directory? | If you look at the DeployerWrapper, we do set the TCCL to a cl that deployed the deployer. And I guess that one doesn't see your deployment's resources; which is normal, as it should be usually the other way around. What about if you use DeploymentUnit's cl when checking for your resource? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232215#4232215 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232215 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - How to evaluate the jboss server performance
I have a task to optimize the performance of jboss server. We are running 3 nodes(JBoss4.0.3SP1) as a cluster. The deployed application is from a famous software company. After some efforts, the communication between nodes are stable. Clustering performs fine. JVM has also been tuned. e.g GC is throughput collector. Sizing of different memory spaces.. My next aim is to optimize the whole cluster's throughput. Problem is how can I evaluate that the throughput has been improved or not? How to see, is there bottleneck between client and server or between server and database? appreciate for any idea Thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232219#4232219 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232219 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - unable to deploy .sar file in deploy folder..getting strange
JBOSS_HOME: D:\sw\jboss-4.2.2.GA JAVA: C:\Program Files\Java\jdk1.5.0_14\bin\java JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 CLASSPATH: C:\Program Files\Java\jdk1.5.0_14\lib\tools.jar;D:\sw\jboss-4.2.2.GA\bin\run.jar = :33:35,512 INFO [Server] Starting JBoss (MX MicroKernel)... :33:35,512 INFO [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139) :33:35,512 INFO [Server] Home Dir: D:\sw\jboss-4.2.2.GA :33:35,512 INFO [Server] Home URL: file:/D:/sw/jboss-4.2.2.GA/ :33:35,512 INFO [Server] Patch URL: null :33:35,512 INFO [Server] Server Name: default :33:35,512 INFO [Server] Server Home Dir: D:\sw\jboss-4.2.2.GA\server\default :33:35,512 INFO [Server] Server Home URL: file:/D:/sw/jboss-4.2.2.GA/server/default/ :33:35,512 INFO [Server] Server Log Dir: D:\sw\jboss-4.2.2.GA\server\default\log :33:35,512 INFO [Server] Server Temp Dir: D:\sw\jboss-4.2.2.GA\server\default\tmp :33:35,512 INFO [Server] Root Deployment Filename: jboss-service.xml :33:36,168 INFO [ServerInfo] Java version: 1.5.0_14,Sun Microsystems Inc. :33:36,168 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_14-b03,Sun Microsystems Inc. :33:36,168 INFO [ServerInfo] OS-System: Windows XP 5.1,x86 :33:37,747 INFO [Server] Core system initialized :33:43,076 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/ :33:43,092 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml :33:44,358 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc. :33:44,358 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer :33:44,608 INFO [TransactionManagerService] Starting recovery manager :33:44,701 INFO [TransactionManagerService] Recovery manager started :33:44,701 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference :33:50,421 INFO [EJB3Deployer] Starting java:comp multiplexer :34:32,664 ERROR [MainDeployer] Could not initialise deployment: file:/D:/sw/jboss-4.2.2.GA/server/default/deploy/TokenCounterService.sar g.jboss.deployment.DeploymentException: Connection timed out: connect; - nested throwable: (java.net.ConnectException: Connection timed out: connect) at org.jboss.deployment.SARDeployer.init(SARDeployer.java:217) at org.jboss.deployment.MainDeployer.init(MainDeployer.java:872) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.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: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.GeneratedMethodAccessor3.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
[jboss-user] [JBoss Messaging] - Wrong target. class org.jboss.jms.client.delegate.ClientConn
I get an error when trying to retrieve a remote connection: Properties prop = new Properties(); prop.put(Context.INITIAL_CONTEXT_FACTORY, org.jnp.interfaces.NamingContextFactory); prop.put(Context.PROVIDER_URL, jnp://*:64115); prop.put(Context.URL_PKG_PREFIXES, org.jboss.naming:org.jnp.interfaces); Context jndiContext = new InitialContext(prop); ConnectionFactory factory = (ConnectionFactory) jndiContext.lookup(java:/ConnectionFactory); Queue queue = (Queue) jndiContext.lookup(java:/queue/A); Connection connection = factory.createConnection(); On createConnection() I get: Exception in thread main java.lang.IllegalArgumentException: Wrong target. class org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate for public org.jboss.jms.delegate.CreateConnectionResult org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createConnectionDelegate(java.lang.String,java.lang.String,int) throws javax.jms.JMSException at org.jboss.aop.joinpoint.MethodInvocation.handleErrors(MethodInvocation.java:141) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:116) at org.jboss.jms.client.container.StateCreationAspect.handleCreateConnectionDelegate(StateCreationAspect.java:81) at org.jboss.aop.advice.org.jboss.jms.client.container.StateCreationAspect0.invoke(StateCreationAspect0.java) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createConnectionDelegate(ClientConnectionFactoryDelegate.java) at org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:205) at org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:87) at org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:82) at simple.JMSLauncher.(JMSLauncher.java:55) at simple.JMSLauncher.main(JMSLauncher.java:65) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232235#4232235 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232235 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Web Application Context Logging (log4j) Question
No one else has this problem or does custom logging for each application? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232236#4232236 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232236 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: How to evaluate the jboss server performance
more specifically, the application uses stateless session beans as end-points of web service. Client side runs several processes which read data from somewhere and use the methods that exposed from web service to parse the data to our database. How to find out, how many requests have been sent to server and processed by server per minute? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232232#4232232 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232232 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Issue with SqlServer2005 DataStore Config
I've got a SqlServer 2005 configuration where I need to use integratedSecurity. In JBoss Studio DS config I select the check box for integrated Security, but it doesn't appear to remember it After setting it and connecting, if I reopen the config the box is unchecked? Further if I make any changes to the config I start getting 'driver doens't support integrated security'. If I restart studio, recheck the IS box, it will reconnect? Anybody else seeing this? Is there a way to fix this? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232239#4232239 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232239 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Jboss portal on JBoss AS5
Support for JBoss AS5 is being worked on http://blog.jboss-portal.org/2009/03/jboss-portal-running-on-jboss-as5.html View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232241#4232241 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232241 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Jboss portal on JBoss AS5
Yes, the explanation provided by the link you sent is exactly what I have used. And everything is fine on JBoss AS 5.1.0 Beta1 but gives the above error using JBoss AS 5.1.0 CR1 --Soren View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232242#4232242 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232242 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: how to override the method logic which is currenlty call
So the project guy writes his own calculation logic (perhaps in his own EJB, perhaps as a POJO) and calls that instead of calling your method. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232252#4232252 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232252 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Jboss portal on JBoss AS5
oh, ok, so its a problem when using AS 5.1.0 CR1 :( View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232251#4232251 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232251 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Retrieveing a var when the class changed
No you're right, it's not particular to jBPM. However, this is something I just found out and I wondered if there was already a solution to this issue View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232255#4232255 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232255 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Deployment of a J2EE1.3 application fails on JBoss4.2.2
Salut, that was my fault. In jboss.xml deployment descriptor i have overseen, that assigned in a stateful session bean the following standard setting: configuration-nameStandard Stateless Sessionbean/configuration-name That has in turn no instance-cache assignment in the default container definition. The good this is, that a started to understand the cool architecture of jboss. Thanks for your audience;-) Groovie View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232257#4232257 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232257 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - JBOSS AS 4.2 startup - INFO in server.log [org.jboss.ha.fram
I have started my JBOSS AS 4.2 on linux red hat 5.2 and i am getting the following INFO in server.log. [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] Suspected member:: Is the message need to be addressed? Please update me with solution. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232263#4232263 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232263 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Clone a Process Instance
Sorry but i did not understand what you're telling me. Yes, I want to keep a trace of my process, but more than that, I wanna split my process in two: - one (which correspond to the part before now) will be ended (processInstance.end() ) - and the second (which correspond to the part after now) will be kept as active View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232262#4232262 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232262 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: An error occurred while processing your request. Please
i got this error out of a log file: My config. Windows Server 2003 on SQL 2005 Database, and JBOSS 4.0.5GA. PhoenixException: DBEngine.executeSelect: {SELECT count(*) thecount FROM {oj task LEFT OUTER JOIN rsrc ON task.rsrc_id=rsrc.rsrc_id} WHERE ( task.task_type = 'TT_Mile' OR task.task_type = 'TT_FinMile') AND task.proj_id = 1017 AND ( (task.status_code = 'TK_NotStart' AND task.target_end_date lt; '2009-05-07 14:46:20') OR(task.status_code = 'TK_Complete' AND task.act_end_date gt; '2009-04-17 14:46:20' AND task.act_start_date lt; '2009-05-07 14:46:20') )} Bei der Konvertierung eines char-Datentyps in einen datetime-Datentyp liegt der datetime-Wert außerhalb des gültigen Bereichs. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232256#4232256 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232256 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Getting threw load() exception java.lang.InstantiationEx
Unfortunately, this stack trace doesn't help. Try this. Stop the app server, remove your web app, start the app server, wait until you see the started in xx seconds log message. Then deploy your web app. Post everything that appears in the console log from the started in xx seconds message on. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232268#4232268 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232268 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: threw load() exception java.lang.InstantiationException
Please do not post the same question in multiple forums. http://www.jboss.org/index.html?module=bbop=viewtopict=155728 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232269#4232269 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232269 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Wrong target. class org.jboss.jms.client.delegate.Client
Please give the exact version of JBM being used. Thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232271#4232271 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232271 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: javax.naming.NameNotFoundException: jdbc not bound
Does this help: http://www.jboss.org/community/wiki/HowDoICreateAResourceRef If not, please post the following: * oracle-ds.xml file (mainly interested in the jndi-name entry) * web.xml file (mainly interested in the resource-ref entry for the database) * jboss-web.xml (mainly interested in the resource-ref entry for the database) * code that does the lookup View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232274#4232274 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232274 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: How to run JBoss Portal in Tomcat?
It cannot be done. The recent versions (2.6.x, 2.7.x) can run only in JBoss AS 4.2.x. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232276#4232276 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232276 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JBoss on Eclipse
So you question is why are those JAR files missing from WEB-INF/lib? The answer is that they are not needed - they are already part of either JBoss AS of Portal. If you package those files with your portlet your portlet will not work. Since you installed JBoss Tools, did you enable the portlet facet on you dynamic web app? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232277#4232277 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232277 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: How to evaluate the jboss server performance
ok i find a way to see the connections between server and data base, the requests between client and server. Yes, JMX console... Is there tool to monitor these values and do some statistics works? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232278#4232278 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232278 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: How to evaluate the jboss server performance
Have a look at Jopr: http://www.jboss.org/jopr/ I assume you have found the mbeans mentioned at http://www.jboss.org/index.html?module=bbop=viewtopicp=4193837 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232281#4232281 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232281 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Wrong target. class org.jboss.jms.client.delegate.Client
Are you sure that the JAR files in your client's classpath are those from the client directory of the server? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232282#4232282 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232282 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Issue with SqlServer2005 DataStore Config
Since this is a Developer Studio question, you might get a better response if you posted it in the Tools forum: http://www.jboss.org/index.html?module=bbop=viewtopicp=4193837 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232283#4232283 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232283 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: @EJB injection after redeploy
I did some testing: replaced @EJB dependency injection by direct JNDI lookup but this didn't solve the problem. I noticed that the same $Proxy object is returned in response to JNDI lookup after several application re-deployments. Though JNDIView MBean shows different $Proxy objects after each re-deployment. I think that this is a reason - JNDI lookup invoked from application returns an old $Proxy object that was created during the first deployment. Looks like a bug ... Does anybody can suggest any workaround? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232286#4232286 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232286 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JBoss on Eclipse
Once a portlet is created, it has to be registered with the Portal and placed on a portal page. Then you access it through the portal URL. Looks like you are not doing that. The Portal docs should tell you what is needed (besides the portlet.xml file you also need a portlet-instances.xml and *-object.xml file). Did you read the Tools portlet tutorial? http://docs.jboss.org/tools/3.0.1.GA/en/jboss_portal_tools_ref_guide/html_single/index.html View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232300#4232300 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232300 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JBoss on Eclipse
Yes.. I enabled already the portlet facet on dynamic web project. I just tried to deploy again my java portlet, but it still didn't work. This is what i got from my eclipse : http://localhost:8080/HelloWorld/WEB-INF/classes/test/TEST.java type Status report message /HelloWorld/WEB-INF/classes/test/TEST.java description The requested resource (/HelloWorld/WEB-INF/classes/test/TEST.java) is not available. But if i test only like this : http://localhost:8080 I could see JBoss Portal on my eclipse. Hmm Any suggestion? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232289#4232289 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232289 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBoss slowing down
Clebert, I tried with the jmap -histo option which gives me the below results while the production server is running on a normal day. It doesn't look like anything consuming a huge memory compared to the allocated 2GB memory. But our server has become slow already. It takes almost 10 minutes to shut down,however starting the server again is normal. We have found out that after few days if we bring down one of the jboss in cluster and try to start again it cannot join the cluster. or the running one doesn't recognize the one being started. SizeCount Class description --- 16301352159950 char[] 1423349615189 int[] 1167578492177 java.lang.Object[] 1155016018668 byte[] 1135240890303 * ConstMethodKlass 6506832 90303 * MethodKlass 5362616 128417 * SymbolKlass 4816200 8454* ConstantPoolKlass 4815816 200659 java.lang.String 3883456 121358 java.util.TreeMap$Entry 3808368 49192 short[] 3568064 8454* InstanceKlassKlass 2897120 7281* ConstantPoolCacheKlass 1658216 17595 java.util.HashMap$Entry[] 1488640 18608 java.lang.reflect.Method 1215312 50638 java.util.HashMap$Entry 1094040 27351 java.util.TreeMap View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232321#4232321 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232321 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Cache-Scope PUBLIC doesnt work
BTW- I am using Portal V 2.7 and there are no errors/exceptions in the logs when I set cache-scope to PUBLIC View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232325#4232325 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232325 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: @EJB injection after redeploy
It's interesting that new InitialContext().list() returns right bound proxy classes but direct lookup invoked on the same context new InitialContext().lookup(name) returns old proxy class ... It looks like InitialContext implementation caches bound objects somewhere (in static variable?) and this cache is not cleared during re-deployment. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232308#4232308 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232308 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - JBoss 4.2.2 installation on AIX
Hello I am looking for installation instructions of JBoss 4.2.2 on AIX 5.3. Any help or pointers would be greatly appreciated. Thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232288#4232288 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232288 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Sending mail to multiple actors in AssignmentHandler...
Hi I am using a jbpm mechanism to send email. I am using it in an AssignmentHandler: String groupNameId = | ldapService.assignTaskToGroup(GROUPNAME, code); | assignable.setPooledActors(new String[] { groupNameId }); | System.out.println(Assigned to + groupNameId); | | // Send email to each user in the group | String to = ldapService.getGroupMembersEmail(groupNameId); | CustomMail mail = new CustomMail(task-assign,null, to, null, null); | mail.execute(executionContext); | I just wanted to know if I'm not doing anything bad. thank you Ardavan View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232294#4232294 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232294 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Update quartz 1.6.5
I configured Mbean org.quartz.ee.jmx.jboss.QuartzService in one of my project deployed to Jboss 5.0.1 GA, and wanted to update quartz to version 1.6.5. I found that putting quartz-all 1.6.5 jar under lib folder of my enterprise application won't make my QuartzService Mbean instance use quartz-all 1.6.5 (still used defaut quartz 1.5.2), while copying /quartz-all-1.6.5.jar/ to the folder: /[Jboss install dir]/server/default/lib/ worked. I wonder what is the correct way to realized it and whether shall I remove the default quartz.jar under /[Jboss install dir]/common/lib, since sometimes, duplicate jar of different versions will cause trouble. Thanks a lot in advance! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232323#4232323 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232323 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss OSGi] - Switching the Bundle Directory
Hello - I am trying to use the JBossOsgi with a project built with Equinox and Eclipse. This project includes the plugins provided by the JBossOsgi project plus additional plugins I am using. It is built using eclipse project format and it uses the Equinox simpleconfigurator to load all bundles. The problem I have is that the JBossOsgi container will only load the bundles if they are located in the deploy/osgi directory. I have adjusted all of the equinox runtime properties to point to my install directory where the plugins are maintained and updated. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232332#4232332 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232332 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Jboss portal on JBoss AS5
For CR1 the -Dxb.builder.useUnorderedSequence=true is already set. The issue appears to be that an xsd file is setup wrong and that its using a choice when it really wants multiple options. It appears that this is now being enforced in 5.1 when it hasn't in the past. XSD in question: http://anonsvn.jboss.org/repos/portal/branches/JBoss_Portal_Branch_2_7_AS5/core-identity/src/resources/portal-identity-sar/conf/schema/identity-ui-configuration.xsd And xml file which is causing issues: http://anonsvn.jboss.org/repos/portal/branches/JBoss_Portal_Branch_2_7_AS5/core-identity/src/resources/portal-identity-sar/conf/identity-ui-configuration.xml The xml tag in question is identity-ui-configuration View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232327#4232327 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232327 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Wrong target. class org.jboss.jms.client.delegate.Client
Not quite helpful info. But I got a similar error sometime back. I re arranged the jar files here and there and it got resolved magically. Just to make you feel better - you are not alone in this whole jar conflicts thing. I can vividly recall the countless nights resolving the correct jar files, just because some other version of the jar is lying somewhere. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232290#4232290 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232290 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: We need some setter methods to integrate jBPM4 with spri
kayzhan, I created a working demo with the latest integration. Please look at http://www.inze.be/andries/2009/05/16/demo-on-spring-integration-with-jbpm4/ Any feedback is appreciated! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232316#4232316 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232316 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Jboss portal on JBoss AS5
mwringe wrote : For CR1 the -Dxb.builder.useUnorderedSequence=true is already set. | | The issue appears to be that an xsd file is setup wrong and that its using a choice when it really wants multiple options. It appears that this is now being enforced in 5.1 when it hasn't in the past. | Indeed the choice in the xsd does not make sense, and looks like i'm also the one to blame ;) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232333#4232333 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232333 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Issues with SQL Server 2005 and DataStore Configurations
I've got a SqlServer 2005 configuration where I need to use integratedSecurity. In JBoss Studio DS config I select the check box for integrated Security, but it doesn't appear to remember it After setting it and connecting, if I reopen the config the box is unchecked? Further if I make any changes to the config I start getting 'driver doens't support integrated security'. If I restart studio, recheck the IS box, it will reconnect? Anybody else seeing this? Is there a way to fix this? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232324#4232324 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232324 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Cache-Scope PUBLIC doesnt work
In my portlet.xml I specified cache-scopePUBLIC/cache-scope And I expect that the mark up is cached for all the users(per the portlet 2.0 spec). However it doesnt seem to be working that way. It just behaves as if cache-scope is set to PRIVATE. Here is the snippet from my portlet.xml portlet | descriptionContent Portlet/description | portlet-nameContentPortlet/portlet-name | portlet-classcom.public.portlet.ContentPortlet/portlet-class | supports | mime-typetext/html/mime-type | portlet-modeview/portlet-mode | /supports | portlet-info | titleContent Portlet/title | /portlet-info | cache-scopePUBLIC/cache-scope | expiration-cache90/expiration-cache | /portlet Any thoughts/suggestions? Thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232318#4232318 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232318 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: An error occurred while processing your request. Please
Looks like the database doesn't like like the SQL, or the app server cannot properly convert a field (looks like char vs datetime mismatch). Are you using container-managed persistence (CMP) or bean-managed persistence(BMP)? If CMP, post your *-ds.xml file. If BMP, check the mappings in the code. When posting XML text or source code, please enclose the text in UBBCode code tags - you can do this by selecting the text and clicking the Code button above the editor window. Also, click the Preview button to ensure that the formatting is correct and the XML text shows up before posting. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232304#4232304 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232304 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Singleton mbean
This forum thread may be of interest to you when you do decide to upgrade. http://www.jboss.org/index.html?module=bbop=viewtopict=149505start=0 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232310#4232310 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232310 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Wrong target. class org.jboss.jms.client.delegate.Client
I actually found out the problem, I was using the wrong jar version. but then another problem arose: how do i recover with maven this file, given that it has dots in the directory name: http://repository.jboss.com/jboss/messaging/1.4.0.SP3/lib/jboss-messaging-client.jar If I do: org.jboss.client jbossall-client 4.0.5.GA compile then maven tries for http://repository.jboss.com/jboss/messaging-client/1/4/0-SP3/lib/jboss-messaging-client/1.4.0-SP3/jboss-mesaging-client-1.4.0-SP3.jar How do I do that? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232296#4232296 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232296 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBoss 4.2.2 installation on AIX
See if this helps: http://www.jboss.org/index.html?module=bbop=viewtopicp=4205258 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232297#4232297 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232297 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - JBPM process xml : use of primitive in event listener or dec
Hello all, I would like to know how can I use a primitive type in a decision handler or an event listener (jpdl 4). For instance : | decision | handler class=some.package.SkipDecisionHandler | field | boolean value=true / | /field | /handler | transition to=some state name=load / | transition to=wait2 name=skip / | /decision | I just have the solution to use string or object, but cannot see how to do. Thanks for helping me. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232299#4232299 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232299 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: FYI : Communication between services in clustered enviro
You can use some other alternatives for JMX Notification such as registering underlying HAPartition with a BroadCasterName. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232295#4232295 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232295 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - FYI : Communication between services in clustered environmen
Hi All I just want to share some tricky points which I encountered while developing communications between services in clustered environment. There might be options out there but following 2 options are definitely available for you to use. 1) JMX Notifications * Provide cluster wide notifications You can send notification to only local listeners, only remote listeners or both. Only thing you need to do is to implement NotificationListener interface and register your service for notification in the startService method. addNotificationListener(NotificationListener, NotificationFilter, Object handBack); 2) Remote Procedure Call by using HAPartition. (If your service extends from HAServiceMBeanSupport, you will have access to underlying ClusterPartition instance) Remote method call might be more helpful if you want to call a specific method on a specific node in the cluster. Underlying HAPartition provides you following methods as of JBoss 5. Please refer to API for details. callAsyncMethodOnNode callAsyncMethodOnCluster callMethonOnCluster callMethonOnNode callMethonOnCoordinatorNode Important: In order to make your service a RPC handler, you need to register it by calling registerRPCHandler(String service_name, Object rpcHandler) on HAPartition. If you are using jmx notifications as well RPCs, make sure service name you used to register your service as a RPC handler is different than actual service name. The reason is that underlying HAServiceImpl's uses your actual service name to register its RPC handler as JMX Notification uses RPC behind the scene. (If Im not wrong method name is handleEvent.) So you might ask what could happen if I register my service with original service name for RPC? Basically your service will not be getting any notifications from anywhere and in order to see what's happening you might need to change logging level to TRACE for jboss. Note: If you are going to use instance of a custom class as data in your jmx notification, make sure that you are not using loader-repository element in jboss-app.xml. If you used it, ClassNotFoundException will occur. please let me know if anything is wrong. Cheers Erkin View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232293#4232293 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232293 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Jboss portal on JBoss AS5
for CR1 you could add the -Dxb.builder.useUnorderedSequence=true flag. This will be the default for 5.1.0.GA View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232298#4232298 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232298 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Invocation of startSingleton()
After further investigation it looks like the HAPartition is never being set. If I override the method in setHAPartiton in org.jboss.ha.jmx.AbstractHAServiceMBeanSupport like so: | public void setHAPartition(HAPartition partition) | { | log.info(GOT PARTITION: + partition); | super.setHAPartition(partition); | } | I never see my GOT PARTITION statement appear in the log. Since the partition is not being set org.jboss.ha.jmx.AbstractHAServiceMBeanSupport.startService fails because it throws an exception if the HAPArtition has not been set. Is there something I can add to my config to make sure that the HAPartition is set? Here is my config: | server | | !-- This MBean is an example of a clustered singleton -- | mbean code=com.squaretrade.semaphore.SemaphoreService |name=squaretrade:service=Semaphore | /mbean | | !-- This HASingletonController manages the cluster Singleton -- | mbean code=org.jboss.ha.singleton.HASingletonController | name=squaretrade:service=SemaphoreServiceProxy | attribute name=HAPartitioninject bean=HAPartition//attribute | attribute name=TargetNamesquaretrade:service=Semaphore/attribute | !-- Methods to invoke when become master / stop being master -- | attribute name=TargetStartMethodstartSingleton/attribute | attribute name=TargetStopMethodstopSingleton/attribute | /mbean | | /server | I tried adding | dependsHAPartition/depends | to the controller but that did not seem to make any difference View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232335#4232335 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232335 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBoss slowing down
At this point It's impossible to say what it is. You need to keep looking down the list.. for JBoss/JGroups related objects. It could be anything.. from JGroups retransmissions because of the network to real leakages. Also.. look at the stack traces on the dump itself. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232336#4232336 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232336 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBoss slowing down
Anything.. I mean... *anything*. you can't even say it is a JBM until you fully analyze the histogram. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232337#4232337 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232337 ___ 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.1.0.CR1 classloader isolation issue
Sorry Tim, I was not initially aware that this was a Messaging issue, I assumed it was a classloader isolation problem. However, I did post a link to this thread in the JBoss Messaging forums (in the Thread I mentioned above) after determining what the issue really was (although there was no further response to it there). Please feel free to move this thread to the Messaging forums if it would be helpful. Thanks, --Zack View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232347#4232347 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232347 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Cannot find session during shutdown
During the shutdown of a system with several MDB's we appear to be getting: | 2009-05-20 12:30:52,499 ERROR [org.jboss.messaging.util.ExceptionUtil] (WorkManager(2)-44) ConnectionEndpoint[fe-oz919yuf-1-mj809yuf-bruz48-x21o4c5] sendTransaction [ur4-b6b39yuf-1-mj809yuf-bruz48-x21o4c5] | javax.jms.IllegalStateException: Cannot find session with id ie-qz919yuf-1-mj809yuf-bruz48-x21o4c5 | at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.processTransaction(ServerConnectionEndpoint.java:835) | at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendTransaction(ServerConnectionEndpoint.java:497) | at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$sendTransaction$aop(ConnectionAdvised.java:101) | at org.jboss.jms.server.endpoint.advised.ConnectionAdvised$sendTransaction_N326865078927536.invokeTarget(ConnectionAdvised$sendTransaction_N326865078927536.java) | This seems to lead to 2009-05-20 12:36:34,251 WARN [com.arjuna.ats.jta.logging.loggerI18N] (Thread-13) [com.arjuna.ats.internal.jta.resources.arjunacore.norecoveryxa] [com.arjuna.ats.internal.jta.resources.arjunacore.norecoveryxa] Could not find new XAResource to use for recovering non-serializable XAResource 131075, 30, 28, 49454551102535510210157555899565550585297495250102995758575345511025355102101575558995655505852974952501029957585754 When the server restarts, what causes problems with the session not being found in a XA environment? Thanks in advance Philip View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232348#4232348 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232348 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: JBoss 5: MBean depends on EJB3 Staleless Bean according
I am also getting some problem with MBean in jboss 5. I have an MBean POJO developed using jboss ejb3 annotations @Service and @Management something like this : import org.jboss.ejb3.annotation.Management; | import org.jboss.ejb3.annotation.Service; | import javax.ejb.EJB; | @Management( KeyStoreServiceMBean.class ) | @Service( objectName = smc.jboss:service=KeyStoreService ) | public class KeyStoreService implements KeyStoreServiceMBean { | | @EJB | private KeyStoreSession keyStoreSessionBean; |... |... | } | As using jboss ejb3 annotation, in place of bundling in .sar with *-service or *-bean. I have directly bundled it in jar and there is no *-service or *-bean xml for defining this MBean. This same jar gets deployed without any complaint in jboss 4 but it never gets deployed in jboss 5 only message i see in log is 2009-05-20 16:25:42,877 INFO [org.jboss.ejb3.deployers.JBossASKernel] Added bean(jboss.j2ee:ear=core.ear,jar=core.jar,name=KeyStoreService,service=EJB3) to KernelDeployment of: core.jar | 2009-05-20 16:25:42,877 INFO [org.jboss.ejb3.deployers.JBossASKernel] installing bean: jboss.j2ee:ear=core.ear,jar=core.jar,name=AlarmsListener,service=EJB3 | 2009-05-20 16:25:42,877 INFO [org.jboss.ejb3.deployers.JBossASKernel] with dependencies: | 2009-05-20 16:25:42,877 INFO [org.jboss.ejb3.deployers.JBossASKernel] and demands: | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232349#4232349 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232349 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - MBean POJO(jboss ejb3 annotations) NOT working in jboss 5
I am not able to deploy MBean POJO in jboss 5 though it works in jboss4. I have an MBean POJO developed using jboss ejb3 annotations @Service and @Management something like this : import org.jboss.ejb3.annotation.Management; | import org.jboss.ejb3.annotation.Service; | import javax.ejb.EJB; | @Management( KeyStoreServiceMBean.class ) | @Service( objectName = smc.jboss:service=KeyStoreService ) | public class KeyStoreService implements KeyStoreServiceMBean { | | @EJB | private KeyStoreSession keyStoreSessionBean; |... |... | } | As using jboss ejb3 annotation, in place of bundling in .sar with *-service or *-bean. I have directly bundled it in jar and there is no *-service or *-bean xml for defining this MBean. This same jar gets deployed without any complaint in jboss 4 but it never gets deployed in jboss 5 only message i see in log is 2009-05-20 16:25:42,877 INFO [org.jboss.ejb3.deployers.JBossASKernel] Added bean(jboss.j2ee:ear=core.ear,jar=core.jar,name=KeyStoreService,service=EJB3) to KernelDeployment of: core.jar | 2009-05-20 16:25:42,877 INFO [org.jboss.ejb3.deployers.JBossASKernel] installing bean: jboss.j2ee:ear=core.ear,jar=core.jar,name=AlarmsListener,service=EJB3 | 2009-05-20 16:25:42,877 INFO [org.jboss.ejb3.deployers.JBossASKernel] with dependencies: | 2009-05-20 16:25:42,877 INFO [org.jboss.ejb3.deployers.JBossASKernel] and demands: | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232351#4232351 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232351 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Cannot find session during shutdown
Regarding the non-serializable error, look at this thread: http://www.jboss.org/index.html?module=bbop=viewtopict=152893 I'm not sure why you're getting this error though. Maybe some missing dependency between JCA and JBossMessaging and the shutdown order is not being respected? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232354#4232354 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232354 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Cannot find session during shutdown
anonymous wrote : I'm not sure why you're getting this error though. I was referring to this error: | 2009-05-20 12:30:52,499 ERROR [org.jboss.messaging.util.ExceptionUtil] (WorkManager(2)-44) Connectio | nEndpoint[fe-oz919yuf-1-mj809yuf-bruz48-x21o4c5] sendTransaction [ur4-b6b39yuf-1-mj809yuf-bruz48-x21 | o4c5] | javax.jms.IllegalStateException: Cannot find session with id ie-qz919yuf-1-mj809yuf-bruz48-x21o4c5 | ... | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232355#4232355 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232355 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Microcontainer Demos
Ales, That did it. I guess the most misleading of all is the fact that Main class in bootstrap module also has a main method and people are bound to try to run it. Thanks anyway. Regards, Uday View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232356#4232356 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232356 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Cannot find session during shutdown
Hi Clebert We have put in the recovery settings into the jbossjta-properties.xml and also moved it to the top during testing. It worries me a little that the session isn't found - I could only find references to that problem occurring in a clustered environment (see https://jira.jboss.org/jira/browse/JBESB-2218) though we are seeing this: | 2009-05-20 12:30:52,499 ERROR [org.jboss.messaging.util.ExceptionUtil] (WorkManager(2)-44) ConnectionEndpoint[fe-oz919yuf-1-mj809yuf-bruz48-x21o4c5] sendTransaction [ur4-b6b39yuf-1-mj809yuf-bruz48-x21o4c5] | javax.jms.IllegalStateException: Cannot find session with id ie-qz919yuf-1-mj809yuf-bruz48-x21o4c5 | at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.processTransaction(ServerConnectionEndpoint.java:835) | at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendTransaction(ServerConnectionEndpoint.java:497) | at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$sendTransaction$aop(ConnectionAdvised.java:101) | at org.jboss.jms.server.endpoint.advised.ConnectionAdvised$sendTransaction_N326865078927536.invokeTarget(ConnectionAdvised$sendTransaction_N326865078927536.java) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111) | at org.jboss.jms.server.container.SecurityAspect.handleSendTransaction(SecurityAspect.java:195) | at sun.reflect.GeneratedMethodAccessor345.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:122) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.sendTransaction(ConnectionAdvised.java) | at org.jboss.jms.wireformat.ConnectionSendTransactionRequest.serverInvoke(ConnectionSendTransactionRequest.java:82) | at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:143) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:908) | at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106) | at org.jboss.remoting.Client.invoke(Client.java:1708) | at org.jboss.remoting.Client.invoke(Client.java:612) | at org.jboss.remoting.Client.invoke(Client.java:600) | at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:189) | at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:160) | at org.jboss.jms.client.delegate.ClientConnectionDelegate.org$jboss$jms$client$delegate$ClientConnectionDelegate$sendTransaction$aop(ClientConnectionDelegate.java:221) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N326865078927536.invokeTarget(ClientConnectionDelegate$sendTransaction_N326865078927536.java) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111) | at org.jboss.jms.client.container.FailoverValveInterceptor.invoke(FailoverValveInterceptor.java:92) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:86) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:86) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.jms.client.delegate.ClientConnectionDelegate.sendTransaction(ClientConnectionDelegate.java) | at org.jboss.jms.tx.ResourceManager.sendTransactionXA(ResourceManager.java:662) | at org.jboss.jms.tx.ResourceManager.prepare(ResourceManager.java:337) | at org.jboss.jms.tx.MessagingXAResource.prepare(MessagingXAResource.java:240) | at com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord.topLevelPrepare(XAResourceRecord.java:271) | at com.arjuna.ats.arjuna.coordinator.BasicAction.doPrepare(BasicAction.java:2893) | at com.arjuna.ats.arjuna.coordinator.BasicAction.doPrepare(BasicAction.java:2850) | at com.arjuna.ats.arjuna.coordinator.BasicAction.prepare(BasicAction.java:2402) | at com.arjuna.ats.arjuna.coordinator.BasicAction.End(BasicAction.java:1790) | at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:88) | at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:177) |
[jboss-user] [JBoss Messaging] - Re: JBoss slowing down
Thanks for replying. Let us analyze more on the stack trace and the histogram and will update you. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232358#4232358 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232358 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: MBean POJO(jboss ejb3 annotations) NOT working in jboss
Ok I followed the steps mentioned in this FAQ http://www.jboss.org/community/wiki/WhydontmyAS42xServicebeansdeployinAS5 my service had @EJB for ejb dependency injection, after removing that I can see start method of my service is invoked but still it is stuck in PreInstall status, this is the message in log Deployment WebServer is missing the following dependencies: | Dependency smc.jboss:service=KeyStoreService (should be in state Create, but is actually in state PreInstall) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232361#4232361 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232361 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user