[jboss-user] [JBoss Getting Started Documentation] - Re: what component?
I think I use JDK5 because in repertory /usr/java I have a repertory jdk1.5.0. What are the difference between 4.2.3 and 5.0.0? I'm sorry but there not very documentation about mod_cluster.I have ever test to install it in my configuration but no succes it's why a search some help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205766#4205766 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205766 ___ 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()
Excellent, thank you very much Brian, it works:) If there's something I can do for you in return regarding this issue let me know. Adam View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205765#4205765 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205765 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: How to convert -service.xml into -jboss-beans.xml ?
"Juergen.Zimmermann" wrote : | How do I convert it into e.g. messaging-jboss-beans.xml ? - http://www.jboss.org/community/docs/DOC-9449 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205761#4205761 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205761 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Config file for configuring JMX
I need to use a monitoring tool which connects to app servers via JMX to get java information(heap) etc. What files will help change the port where I can connect JMX client ? Also how to I enable disable JMX on JBOSS servers ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205757#4205757 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205757 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - How to convert -service.xml into -jboss-beans.xml ?
I have the following "classic" MBean definition in messaging-service.xml: | | | | jboss.messaging:service=ServerPeer | | jboss.messaging:service=PostOffice | | How do I convert it into e.g. messaging-jboss-beans.xml ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205755#4205755 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205755 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - ldapLoginModule Config for Multiple OU tree structure
I'm not a JBoss programmer, but I do need help trying to configure JBoss for a JBoss application that authenticates to our Novell eDirectory LDAP tree. What I can't figure out is how to authenticate a user quickly if they reside in one of many OUs. For example, a user's DN might be cn=jdoe,ou=Staff,ou=CO,O=NISD. A user at another campus might be cn=jsmith,ou=Staff,ou=NHS,O=NISD. We have figured out how to stack multiple login modules using the "optional" flag so that it tries to authenticate the user against each possible OU. Also, the useFirstPass option means that once the user authenticates in one module, the rest of the optional modules are skipped. An example: | useFirstPass | ldap://[server]:389 | simple | cn= | ,ou=staff,ou=CO,O=NISD | false | | | | useFirstPass | ldap://[server]:389 | simple | cn= | ,ou=staff,ou=NHS,O=NISD | false | | | The tricky part is that we have users in 19 different OUs, and each authentication attempt takes 3 seconds. So anyone in an OU at the bottom of the stacked list takes 57 seconds (19 * 3) to authenticate. Also, anyone entering a bad password has to wait 57 seconds to find out, since the stacked list has to go to the bottom to make sure none of the modules succeeded. Is there a way to do this with one module that does a subtree search instead of one module for each OU? The documented subtree options only seem to apply to role queries, not user authentication. In this case, our role query is done against a database, and we only need to check the user's name and password. I know LDAP URLs have syntax for subtree searches, but trying to embed the syntax in the provider, principalDNPrefix, or principalDNSuffix options hasn't worked. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205753#4205753 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205753 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Row lock contentions on BPEL_FROM
JIRA issue is at https://jira.jboss.org/jira/browse/JBPM-2002 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205750#4205750 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205750 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBPM Deployment Problem
Having the same problem here.. Any ideas please. Thanks you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205747#4205747 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205747 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Row lock contentions on BPEL_FROM
Thanks for your reply. When we tried setting mutable="false" on the hbm.xml file itself, in some cases, it resulted in exception | INFO | jvm 1| 2009/01/29 22:21:08 | java.lang.NullPointerException | INFO | jvm 1| 2009/01/29 22:21:08 | at org.jbpm.bpel.graph.basic.assign.FromVariable.extract(FromVariable.java:44) | INFO | jvm 1| 2009/01/29 22:21:08 | at sun.reflect.GeneratedMethodAccessor310.invoke(Unknown Source) | INFO | jvm 1| 2009/01/29 22:21:08 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | This was running on JBoss 4.0.5GA with Hibernate 3.2.0GA jars. On other server where we were running newer version of Hibernate, it seemed to work ok. There is one more thing we tried is creating new ElementType, just for ELEMENT_ column of this table and changed its equals method to always return true. When hibernate calls 'IsDirty' on various objects, this type always says not dirty. After this it didn't run that query anymore. Changing the isMutable method of this new class to return false did not have exact same effect, though it reduced the number of queries. Can you please suggest what is the right approach to fix this locally for us? The flag on hbm.xml file seemed to be the right one until we got that exception. I will be filing JIRA issues shortly. Thanks, Meghana View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205745#4205745 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205745 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Row lock contentions on BPEL_FROM
No, it is a bug. The BPEL_FROM table is supposed to be immutable once the process gets saved to the database. However the element type is mutable, and Hibernate probably does not know enough to realize the element did not change. Please do file the jira issue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205744#4205744 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205744 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: jboss portal DeploymentException: - nested throwable: (j
I downloaded jboss-portal-2.2.1-SP3.zip (binary) but still getting exception when trying to deploy with my JBOSS 4.0.3 some help please; how to resolve this error? thanks 2009-01-29 17:25:47,156 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/portal-core]] Error configuring application listener of class org.apache.myfaces.webapp.StartupServletContextListener java.lang.ClassNotFoundException: org.apache.myfaces.webapp.StartupServletContextListener at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3617) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4104) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) 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.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.apache.catalina.core.StandardContext.init(StandardContext.java:5005) 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.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:280) at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:88) at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:357) at org.jboss.web.WebModule.startModule(WebModule.java:68) at org.jboss.web.WebModule.startService(WebModule.java:46) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230) at sun.reflect.GeneratedMethodAccessor2.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:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:428) 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:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy85.start(Unknown Source) at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:400) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingM
[jboss-user] [EJB 3.0] - Re: Ejb3 - MDB
Hi, I did the following after which it started working a)no change in build.xml b) i was having two datasources, oracle-ds and derby-ds. I deleted the oracle-ds, and put the hsqldb-ds.xml(provided by jboss by default). c)deleted all ejb jar in deploy folder d)deleted tmp and work folder and restart the server made it as though it is new jboss server after that ran the same build, it started working..i am not sure which of the one above solved the problem Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205715#4205715 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205715 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - JAX-WS 2.0 and JAx-WS 2.1
Hello all: i use the following JDK 5 JBoss 4.2.3 GA JBossWS jbossws-native-3.0.5.GA NetBean 6.5 I managed to created a JAX-WS web service successfully and deployed to JBoss. I'm able to view the wsdl file no problem either. However, in NetBean 6.5, when I tried to create web service client by pointing to the wsdl location, I get the following error You are loading JAX-WS 2.0 API from jar:file:./jboss-4.2.3.GA/client/jboss-jaxws.jar!/javax/xml/ws/Service.class but this tool requires JAX-WS 2.1 API. I'm wondering what am I doing wrong? If I switch the server to GlassFish1, then I don't get the issue at all. Any insight is greatly appreciate it. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205703#4205703 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205703 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Configuring JBoss (4.2.1) SSL
Yes SoulGrind, what you suggest should work. Just add the keystoreFile and keystorePass attributes to the server.xml provide correct values to the attributes and restart the server..:) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205702#4205702 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205702 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: regarding JBM_MSG_REF table
When you get alot of messages in memory, we begin to page them to disk. This is a safeguard so we don't consume all the memory in the box. As consumers pull messages out of the queues, we pull messages out of the db and load them back in to memory. The page ord is the order in which messages get pushed and pulled form the DB. SELECT MESSAGE_ID, DELIVERY_COUNT, PAGE_ORD, SCHED_DELIVERY FROM JBM_MSG_REF WHERE CHANNEL_ID = ? AND PAGE_ORD BETWEEN ? AND ? ORDER BY PAGE_ORD So we get the minimum page ord and we start from there. Each batch of page_refs we load, we add that many to the page ord we start with. This error looks like the messages were removed somehow and made the ord numbes get out of sequence. Deleting the ord numbers are fine, they will renumber themselves. Jay:) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205697#4205697 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205697 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBPM, GPD eclipse plugin
what has changed in this week? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205696#4205696 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205696 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Finding process instances by vars
uh using joins? subselects? etc View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205695#4205695 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205695 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: MDB redeploy with ...-service.xml
The "InstanceAlreadyExistsException" is in the AS5 forum now: http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205691 Thanks Wolfgang View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205692#4205692 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205692 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Eager fetching missing an element when retrieved remotel
Hi, I would not recommend usage of FetchType.EAGER in a many-to-many relationship, because on loading one parent, it might happen that half of the database is loaded, if fetching cascades from parent to childs to other parents to other childs and so on ;-). Better use LAZY and provide some methods in the session bean to fetch the parents of the children of a parent. Best regards Wolfgang View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205690#4205690 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205690 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: MDB redeploy with ...-service.xml
Hi Jaikiran, many thanks for the suggestion with the @Depends annotation, the "NameNotFoundException" is gone now. I modified my MDB: @MessageDriven (activationConfig= | { | @ActivationConfigProperty(propertyName="destinationType", propertyValue="javax.jms.Queue"), | @ActivationConfigProperty(propertyName="destination", propertyValue="queue/MessageBeanQueue") | }) | @Depends(value = "knauf:service=Queue,name=MessageBeanQueue") | public class MessageBean implements MessageListener | { On deploy, I see that it waits for my service: 22:49:55,640 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=Message.ear,jar=MessageEJB.jar,name=MessageBean,service=EJB3 | 22:49:55,640 INFO [JBossASKernel] with dependencies: | 22:49:55,640 INFO [JBossASKernel] and demands: | 22:49:55,640 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService | 22:49:55,640 INFO [JBossASKernel] knauf:service=Queue,name=MessageBeanQueue | 22:49:55,640 INFO [JBossASKernel] and supplies: | 22:49:55,656 INFO [JBossASKernel] jndi:null | 22:49:55,656 INFO [JBossASKernel] Class:javax.jms.MessageListener Thanks to ALRubinger for adding detailed info output of deployed beans ;-). Wolfgang View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205688#4205688 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205688 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: jboss portal DeploymentException: - nested throwable: (j
The installation guide for each version states which version of JBoss AS it supports. I don't think that there is a centralized page that lists all of them. Looks like Portal 2.2 will run on 4.0.3. Portal 2.4 runs on 4.0.5, so it might run on 4.0.3, but no guarantees. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205687#4205687 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205687 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: jboss portal DeploymentException: - nested throwable: (j
Thanks for the reply Peter, it was very helpful. By any chance would you or anyone know which version of portal can I run with jboss3.0.x ? or where can I get this kind of jboss portal environment requirement information? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205685#4205685 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205685 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Admin role ignored when fetched from LDAP
Hi Oliver, I think I found the problem (at least on my end). It looks like something has a hardcoded case-sensitive role 'Admin'. I tested this by creating a role 'admin' and adding a user to it. It was ignored. When I deleted 'admin' from LDAP and added the role 'Admin', the dashboard showed up. Based on your log it looks like you have an 'admin' group. This sounds like a bug. Its rather annoying as I was hoping to use an alternate role name (e.g. portaladmin). The documentation indicates that you can do this, but it doesn't work. Furthermore, it looks like there are many XML files that associate directly with the role 'Admin'. I tried changing all config files to use my alternate admin name and still could not get the CMS admin dashboard to show. I found several fixed Portal bugs surrounding the hardcoded Admin role, but its clear that its not fully fixed. e.g. https://jira.jboss.org/jira/browse/JBPORTAL-1733 -Greg View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205682#4205682 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205682 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Strange behavior replicated session (Error)
Seems to me the newly restarted node is not receiving the session cache state upon startup (do you see any errors/warnings from jgroups in your logs after restarting node1?), or has already begun accepting requests before the receiving the session cache state. How long did you wait between steps 4 and 5? Can you try waiting a bit and see if the observed behavior is different? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205681#4205681 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205681 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: Server is not Responding ( Jboss 4.2.3.GA with JDK1.5) a
I'm having a very similar problem with JBOSS 4.0.5GA. We have a very specific application where each client sends one request every 0.9 secs (Using AJAX for that). It works fine for approximately 2 days and half and the the server stops to respond requests. After that is not possible access http://ip:8080/ or http://ip:8080/myApplications. I monitored heap size, memory, threads, and everything looks fine. No errors on log files. It just stop to respond requests...but if I check the server status it says it is running with no problems. Please...if you have any suggestion about what I can do to solve this problemplease let me know! Thanks a lot. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205673#4205673 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205673 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Eager fetching missing an element when retrieved remotel
Wow, I almost forgot about this. I still do not know what the problem is with this implementation of @ManyToMany. Actually, I do not believe anything is wrong with the code as written. I am fairly certain there is a problem with Hibernate, the entity manager, data marshaller, or something else. I would welcome someone to point out a mistake that I may have made. Anyhow, for those interested there is a workaround. Create the relational entities (i.e. ParentChildTbl and ChildGrandchildTbl) yourself and apply @ManyToOne, @OneToMany annotations with Sets-- not Collections-- for the foreign attributes on the ChildTbl and eager fetching will work as expected. If you must use Collections, I read somewhere that setting the hibernate annotation @Fetch(FetchMode.SUBSELECT) on bags (Collections) may work or you may use a List with an @IndexColumn. For example: Under ChildTbl.java (Similarly, update ParentTbl.java and GrandchildTbl.java. They would have @OneToMany relationships with ParentChildTbl.java and ChildGrandchildTbl.java, respectively) | ... | @Id | @GeneratedValue(generator = "system-uuid") | @Column(name = "child_id", nullable = false) | private String childId; | | @Column(name = "notes") | private String notes; | | @OneToMany(cascade = CascadeType.ALL, fetch = FetchType.EAGER, mappedBy = "childTbl") | private Set parentChildTblSet | | @OneToMany(cascade = CascadeType.ALL, fetch = FetchType.EAGER, mappedBy = "childTbl") | private Set grandchildTblSet; | ... | Create ChildGrandchildTbl.java (Similarly create ParentChildTbl.java) | ... | @EmbeddedId | protected ChildGrandchildPK childGrandchildPK; | | @JoinColumn(name = "child_id", insertable = false, nullable = false, updatable = false) | @ManyToOne(cascade = CascadeType.ALL, fetch = FetchType.EAGER) | private ChildTbl childTbl; | | @JoinColumn(name = "grandchild_id", insertable = false, nullable = false, updatable = false) | @ManyToOne(cascade = CascadeType.ALL, fetch = FetchType.EAGER) | private GrandchildTbl grandchildTbl; | ... | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205671#4205671 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205671 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: How to configure XA Datasource for JBoss 4.2.2 and Postg
See another example here https://jira.jboss.org/jira/browse/JBDOCS-166;jsessionid=634979E66F63A2801F2FA73FC76582D2?page=com.atlassian.jira.plugin.system.issuetabpanels%3Achangehistory-tabpanel View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205670#4205670 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205670 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - JBoss Tools 3 Candidate Release 2
A new candidate release has been made. See blog here http://in.relation.to/Bloggers/JBossTools3CR2Released View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205666#4205666 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205666 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Java virtual machine option for JBoss Web 2.1.1GA in 64b
First, there are several variations of out-of-memory errors and each one has a different solution. Exactly what error are you seeing? If you are getting an "out of heap space" error with only 10 users, then you are either working with large data items (can happen is you load large XML documents) or you have a memory leak. If you have a memory leak then increasing the heap size will not help. Having a large heap is not always a good thing - the larger the heap the longer it will take to do a full garbage collection. You really need to analyze the heap usage of your program. Search for some of my posts in the performance tuning forums for suggestions. Also see my presentation at http://www.cecmg.de/doc/tagung_2007/agenda07/24-mai/2b3-peter-johnson/index.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205662#4205662 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205662 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: How can I have multiple virtual IPs address on the serve
You can set up multiple IP address for a NIC in both Windows and Linux. The key is to run off DHCP address assignment and to set the IP addresses manually. In Windows, go to the Advanced Properties for the TCP/IP setting for your network connection. You can add multiple IP addresses there. In Linux you can use ifconfig to assign multiple IP addresses. You can also make configuration file changes to do the same but those changes are distro-specific. Try googling "linux multiple virtual ip addresses". I have a resource that explains this in a little more detail with some examples but it is not free. I can provide a URL if you are interested. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205661#4205661 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205661 ___ 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()
Hmm, simple question, complicated answer from me. First, I'll cut to the bottom line. Instead of deploying via a -service.xml, use a -jboss-beans.xml: | | | | | | | @org.jboss.aop.microcontainer.aspects.jmx.JMX(name="test:service=StartupTestingCFD2", exposedInterface=org.jboss.ha.singleton.examples.HASingletonMBeanExampleMBean.class, registerDirectly=true) | | | | | | @org.jboss.aop.microcontainer.aspects.jmx.JMX(name="test:service=HASingletonController", exposedInterface=org.jboss.ha.singleton.HASingletonControllerMBean.class, registerDirectly=true) | | | | | startSingleton | stopSingleton | | | | | Now, the details. First, deploying via a -service.xml should work. But in actually deploying an example to test it before posting here I found a bug: https://jira.jboss.org/jira/browse/JBAS-6435 . Hopefully that will be fixed for 5.0.1 which is due out soon. Now, let's assume JBAS-6435 were fixed and you could use a -service.xml. It would look like this: | | | | | | | | | | test:service=StartupTestingCFD22 | startSingleton | stopSingleton | | | There were two problems with your XML: 1) The values for the "name" attribute on your mbean elements were invalid. The value needs to be a legal JMX ObjectName. 2) I need to update the AS 5 docs need to be to specify how to dependency inject the HAPartition, i.e. instead of jboss:service=${jboss.partition.name:DefaultPartition} View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205655#4205655 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205655 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WSSE UsernameToken without HTTP basic auth?
mikaeljl, for the following: - anonymous wrote : However, I've noticed that if I do: | @Resource | javax.xml.ws.WebServiceContext wsCtx; | wsCtx.getUserPrincipal() will return null. | Is this the expected result? Can you please raise a Jira issue under JBWS and assign it to me and I will review what is happening. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205652#4205652 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205652 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Java virtual machine option for JBoss Web 2.1.1GA in 64b
Thanks 4 the explaination so from those 3 which is the best one in a memory intensive web app ? (outofmemeory heap error often happen in development and testing in 32bit with less than 10 concurrent users, and when in production mode it must be able to handle 100-300 concurrent users) on a x86_64 multi-processor server with 32 giga of fb RAM View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205650#4205650 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205650 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - How can I have multiple virtual IPs address on the server?
Hi, We have an application which emulates many terminals and we also need to connect it to an old server which provides a few services. That old server has some kind of key/value table which are used to associate each terminal Id to an IP address. By doing that it can deny access to any other terminal which comes from the same IP and have a different terminal Id. So as we need to have multiple terminals running on one machine (Application Server on either Linux or Win Server). How can we cheat the old server so that it will think any terminal has its own IP address? Is there any thing that can be done only with software? If so, is it reliable? Cheers View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205643#4205643 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205643 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Row lock contentions on BPEL_FROM
Hello, We are using JBPM 3.2 and BPEL extension 1.1GA. It is using Oracle as backend and running quite a bit of load. We are seeing row lock contentions on BPEL_FROM table a lot. The one query we see multiple times is - update BPEL_FROM set ELEMENT_=:1 where ID_=:2 After investigating further, we found that due to Hibernate's auto flushmode, BPEL_FROM table records are updated every time flush is called. However the data of these records never change in reality. After adding the mutable="false" flag on From.hbm.xml file, these queries are not run anymore. However we would like to know if it is safe change to make. Was it by design that the rows get updated everytime or is it a bug and we should create JIRA issue for it? Thank you, Meghana View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205641#4205641 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205641 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Workflow/page approval in portal
Hi, I'm trying to figure out if portal can institute some kind of approval for the actual portal pages? I assume this will have something to do with jBPM integration, but since the docs seem a bit shallow, I figured I'd post on here. I already have CMS approval working, but page approval is also needed. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205640#4205640 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205640 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - Re: what component?
I assume that you are asking which JBoss AS ZIP file to download. Do you want to use 4.2.3 or 5.0.0? Are you using JDK5 or JDK6? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205635#4205635 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205635 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] orm based auth problem
I configure my web application with form based authentication. When I type the url for protected page, jboss redirect to my login page. The problem is that jboss renders my login page first and then invoke the request listener and filter class. I have print out messages in my login page and listener and filter classes and for sure messages were printed out first in login page. If I just type login page url directly, messages were printed out first in listener and filter classes. I try the same war file in jetty server, it always has the right order: call listener, filter and then render page. Do I need to change configuration to make it work or I need change my code? I must call filter and listener first before rendering login Page. My jboss server is 4.2.3.GA -- Haipeng Du Salt Lake City ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Advanced Documentation] - Re: configuring default application
Please don't cross-post: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=149478 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205627#4205627 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205627 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Advanced Documentation] - Re: For Default Web application using JBoss AS
Here is one way to accomplish this. First remove the current default app at server/xxx/deploy/jboss-web.deployer/ROOT.war (remove the whole directory). Second, add a jboss-web.xml file to your web app's WEB-INF directory and put the following it it: | |/ | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205626#4205626 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205626 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: jboss portal DeploymentException: - nested throwable: (j
Portal 2.7.1 is not compatible with AS 4.0.3. You need to run JBoss AS 4.2.x. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205621#4205621 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205621 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: jboss and tivoli ldap
i configured with openldap, it is working fine. does jboss support ibm tivoli ldap? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205616#4205616 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205616 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Admin role ignored when fetched from LDAP
Hi Oliver, I am also using SunDS 6.3 (with OpenSSO schema). I'm using the LDAP identity module instead of the SyncLDAP module. I found that there was a bug in JBoss where it wasn't retrieving LDAP roles correctly: https://jira.jboss.org/jira/browse/JBPORTAL-2282 In order to trace the bug I had to add a lot of logging to the LDAP module before I figured out what was going on. Unfortunately, after fixing the bug, the admin role was still ignored by the portal. I haven't been able to trace it further yet to see what might be the cause. I will update if I find anything. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205613#4205613 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205613 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: EAR deployment with isolated hibernate classes on JBoss
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=133202 Let us know if that doesn't work. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205611#4205611 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205611 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - EAR deployment with isolated hibernate classes on JBoss 4.2.
Hi everybody, I'm trying to deploy an EAR with a new version of hibernate and I'm encountering some problems with class loading (I've read the articles on the wiki but it didn't help). I've installed a fresh version of JBoss 4.2.3.GA. ear-deployer is configured with default values (isolated = false, callByValue = false, javaee5lib=true). I deploy an EAR with isolated class loading with following configuration: My jboss-app file | | | com.example:loader=example-loader | | java2ParentDelegation=false | | | | I've a lib directory with following jars: - hibernate-entitymanager-3.3.1.ga.jar - hibernate-annotations-3.3.0.ga.jar - hibernate-common-annotations-3.0.0.GA.jar - hibernate-3.2.4.sp1.jar - hibernate-validator-3.0.0.GA.jar - ejb3-persistence-1.0.1.GA.jar - jasperreports.jar - drools-compiler.jar - drools-core.jar When I deploy my app, I've a ClassCastException for HibernatePersistence because the entitymanager jar is loaded twice: once from the default lib of jboss and once from the ear lib. How is it possible with my jboss-app configured with isolated class loading and no parent delegation ? The stack trace: | 16:24:48,234 INFO [PersistenceUnitDeployment] Starting persistence unit persistence.units:ear=IAM-registration-ear-0.1-SNAPSHOT.ear,jar=IAM-registration-ejb-0.1-SNAPSHOT.jar,unitName=iamDataBase | [Loaded $Proxy76 from org.jboss.mx.util.MBeanProxyExt$1$1] | [Loaded org.jboss.ejb3.entity.PersistenceUnitInfoImpl from file:/C:/dev/jboss-4.2.3.GA/server/default/tmp/deploy/tmp38469jboss-ejb3.jar] | [Loaded javax.persistence.spi.PersistenceProvider from file:/C:/dev/jboss-4.2.3.GA/server/default/lib/ejb3-persistence.jar] | [Loaded org.hibernate.ejb.HibernatePersistence from file:/C:/dev/jboss-4.2.3.GA/server/default/lib/hibernate-entitymanager.jar] | [Loaded javax.persistence.spi.PersistenceProvider from file:/C:/dev/jboss-4.2.3.GA/server/default/deploy/IAM-registration-ear-0.1-SNAPSHOT.ear/lib/ejb3-persistence-1.0.1.GA.jar] | [Loaded org.hibernate.ejb.HibernatePersistence from file:/C:/dev/jboss-4.2.3.GA/server/default/deploy/IAM-registration-ear-0.1-SNAPSHOT.ear/lib/hibernate-entitymanager-3.3.1.ga.jar] | 16:24:48,265 WARN [ServiceController] Problem starting service persistence.units:ear=IAM-registration-ear-0.1-SNAPSHOT.ear,jar=IAM-registration-ejb-0.1-SNAPSHOT.jar,unitName=iamDataBase | java.lang.ClassCastException: org.hibernate.ejb.HibernatePersistence | at org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:245) | 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.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:103) | 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 $Proxy56.start(Unknown Source) | at org.jboss.ejb3.JmxKernelAbstraction.
[jboss-user] [JBossMQ] - Re: MDB Pool
First you need to know if you can process the messages in parallel and how long the onMessage() MEthod will run. This will determine how many threads you can run in parallel (concurrency and reordering) on which queue. The MDB Pool itself is not that interesting (if enough instances are available) as the parallelity is controled by the dequeueing threads. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205602#4205602 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205602 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - what component?
Hello. Sorry I'm french.. I don't know what are the component that I have to download for my configuration.Please help me. 1 serveur apache et 2 serveur tomcat OS Suse Linux server 32 bits Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205595#4205595 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205595 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Axis deployment in JBoss - Exception extracting jars
Hi Which version of Axis are you using? I have tried this using axis-1_4 follow the steps.. in axis-1_4/webapps/ copy axis folder somewhere and make it axis.war (dont forget to add xercesImpl.jar and xml-apis.jar in lib folder) then drope it into your JBossAS/server/default/deploy (if you are using default mode ) let me know if it doesn't helps :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205588#4205588 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205588 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Transaction timeout
By User transaction do you mean adding an annotation in th eEJB3? Thank you View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205581#4205581 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205581 ___ 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()
Thanks for quick response. Well, then I suppose I must have some mistake in my configuration files. Info: Version: JBOSS 5.0.0 GA My singleton class: public class StartupService2 implements StartupService2MBean { | | Logger log = Logger.getLogger(StartupService2.class); | private boolean isMasterNode; | | public String getName() { | return "com.xitee.cfd.be:service=StartupService"; | } | | public boolean isMasterNode() { | return isMasterNode; | } | | public void startSingleton() { | isMasterNode = true; | log.info("starting testing-singleton"); | } | | public void stopSingleton() { | isMasterNode = false; | log.info("stopping testing-singleton"); | } | } My MBean interface: public interface StartupService2MBean { | | public void startSingleton(); | | public void stopSingleton(); | | public boolean isMasterNode(); | } My jboss-service.xml: | | | | | jboss:service=${jboss.partition.name:DefaultPartition} | | StartupTestingCFD2 | startSingleton | stopSingleton | | | After deploying the application (into deploy directory) I would expect "starting testing-singleton" string to appear in the server.log file, however this does not happen. Could you please give me any startup hint, how to solve this? Do you need some more information from my side? Adam View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205576#4205576 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205576 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - JBPM, GPD eclipse plugin
Hi folks, my problem since weeks is that my current Eclipse (Version: 3.4.0 Build id: I20080617-2000) and also some Versions b4 have a Problem with the JBPM-GDP Designer-Plugin (3.1.6). If i try such a simpe Process-Definition with 3 or 4 nodes/states, everythinks fine. For larger Process-Definitions, there it hangs for over 20 Seconds if i try to save The Modified Diagramm. Has anybody else the such Problems? Is there any option i can use with my eclipse for a still better performance during work through large Process-Definitions? thx View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205573#4205573 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205573 ___ 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()
It should be invoked automatically when the application is deployed *on the master node*, which typically would be the first node started in the cluster. You should never have to call it from the JMX console. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205570#4205570 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205570 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Invocation of startSingleton()
Hi, I have read a lot of accessible documentation regarding HAsingletons, however, I probably still do not understand one basic thing (when the startSingleton() method is invoked). I tried to do the HASingleton example shown in chapter 11.2 of: http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Clustering_Guide/5/pdf/Clustering_Guide.pdf I thought the startSingleton() method is supposed to be invoked automatically when the application is deployed. Is this correct? In my case it is not so. Or am I supposed to call it from the JMX console? Thanks for an answer for such a basic question. Adam View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205568#4205568 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205568 ___ 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 put EJB 2.1 Entity + EJB 3 session in signle JAR
I am currently performing that migration. During the migration process I have EJB2.1 and EJB3 in the same application. I don't plan to put this 2 ejb types together in production. However, it should work fine. Migrating only session bean is very simple and work quite fine. However, you will have to put these ejb3 in a separate jar file that your EJB2.1. When you will migrate you entities, the only problem I see in having both type of EJB is that I don't think you can have managed relationship between EJB2.1 entity and EJB3 entity. Otherwise migrating is going well. To accelerate a little bit the migration process, I have use xslt files created by oracle. You can find this xslt files at the following location: http://www.oracle.com/technology/pub/articles/vohra_ejb.html Hope this will help, An Phong Do www.solabs.com View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205567#4205567 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205567 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Change number of available languages
please nobody? so it is impossible to decrease the available languages? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205551#4205551 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205551 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Masking URL
yeah found something like this here. Will lurk over there for information http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4091796#4091796 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205544#4205544 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205544 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Require jbpm31Spring20Demo.zip files, the sample integra
any luck? If anyone has got the please, please share View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205543#4205543 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205543 ___ 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: IllegalStateException when calling Blob.length()
i am facing exactly same issue with simple java client and jboss version is 4.3.0_GA. Any workarounds? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205542#4205542 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205542 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: I cant' graphically wire two events with different names
It's actually not currently possible to graphically edit the coordination information without first "salting" the page coordination metadata with a -object.xml file. I've opened a JIRA for it: https://jira.jboss.org/jira/browse/JBPORTAL-2288 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205539#4205539 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205539 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Masking URL
Thank you for the input. I was googling around when i stumbled upon something they called mod_rewrite. But it was for apache. I was wondering if there are similar thing that we can use for jboss. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205538#4205538 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205538 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Javassist Enhancement failed: Duplicate Method error
Hi there, I've just started using JBoss AS 5 so excuse me if I'm missing something obvious... I have a problem with EJBs I'm deploying to a JBoss 5.0.0 GA installation. Some of the entities I'm deploying cause the following error to occur during deployment: ... 14:11:15,750 INFO [SessionFactoryImpl] building session factory 14:11:16,812 ERROR [BasicLazyInitializer] Javassist Enhancement failed: za.co.bridgept.persistence.model.ResponsibilityColumn java.lang.RuntimeException: duplicate method: remove in za.co.bridgept.persistence.model.ResponsibilityColumn_$$_javassist_8 at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:344) at javassist.util.proxy.ProxyFactory.createClass2(ProxyFactory.java:314) at javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:273) at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.getProxyFactory(JavassistLazyInitializer.java:162) at org.hibernate.proxy.pojo.javassist.JavassistProxyFactory.postInstantiate(JavassistProxyFactory.java:66) at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:183) at org.hibernate.tuple.entity.AbstractEntityTuplizer.(AbstractEntityTuplizer.java:158) at org.hibernate.tuple.entity.PojoEntityTuplizer.(PojoEntityTuplizer.java:76) at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.(EntityEntityModeToTuplizerMapping.java:80) at org.hibernate.tuple.entity.EntityMetamodel.(EntityMetamodel.java:325) at org.hibernate.persister.entity.AbstractEntityPersister.(AbstractEntityPersister.java:457) at org.hibernate.persister.entity.SingleTableEntityPersister.(SingleTableEntityPersister.java:131) at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:84) at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:261) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1327) at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867) at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669) at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:132) at org.jboss.jpa.deployment.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:311) 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.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59) at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150) at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66) at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241) at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47) at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109) at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70) at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221) at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) 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.dependency.plugins.AbstractController.install(AbstractController.java:1598) at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) at org.jboss.dependency.p
[jboss-user] [JBoss jBPM] - Re: Finding process instances by vars
Yes, I thought so, but I have no idea how to do that since there is no direct association between processinstance->vars, there's a context in the middle that is associated with a MAP of vars, Is there any example or something similar somewhere? Many thanks, Asaf. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205528#4205528 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205528 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Action in timer
Hello, I've created a simply timer that shows a message. This is the timer: | | | System.out.println("I reset my timer!"); | | | | This works, but ... when I want that, instead showing this message an action was executed, doesn't work!! Why?? Could someone help me?? The timer is: | | | | | | | And the TesterActionHandler class is: | public class TesterActionHandler implements ActionHandler { | | private ExecutionContext ec = null; | public Log log = LogFactory.getLog(this.getClass()); | | public void execute(ExecutionContext context) throws Exception { | |//I want to execute a this content with the timer | } | My class extends of ActionHandler is that correct??? Could someone explain me why the content of the execute method is not being executed??? Thanks a lot, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205524#4205524 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205524 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Transaction manager file not found
you get the exception when starting the cache? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205516#4205516 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205516 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Transaction manager file not found (Repost)
Hi, I am using Jboss cache searchable in my application. I have a method which I use to cache all that I need. I have exposed this from the JMX-console. The method, creates a singleton "Cache" and "SearchableCache" object and uses this to perform the caching. The method works fine if I have no "Configuration" element attached to it, but when I try to use a Configuration for my cache, I am getting a java.lang.ClassNotFoundException: org.jboss.cache.transaction.GenericTransactionManagerLookup I have tried to create configurations via both Java and xml variants. The interesting part to the whole thing is, I get this exception only when accessing the method from JMX. If I access from the app, it seems to work absolutely fine. I have tried using , the 3 transaction managers provided by jboss cache and also JTA. My app runs on jboss 4.05 and uses Spring for service, transaction and configuring JMX. Any help is appreciated. Regards Sundar S View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205374#4205374 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205374 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with jbpm 3.3.1 GA and JBoss AS 5.0.0 GA
>> is solved by adding a patch I found in the JIRA (a few .xhtml files) hi the_fredo may i ask the exact url for the patch you mentioned. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205490#4205490 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205490 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: unable to run server in eclipse 3.2.1
Hi, JBoss AS Tools 1.1.2 dosn't support Eclipse 3.2.1. It works with Eclipse 3.3.* only. And Eclipse core is not enough for JBoss Tools. It requers Eclipse for Java EE Developers. See http://www.jboss.org/community/docs/DOC-10044 for details. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205482#4205482 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205482 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - JBPM Deployment Problem
We are not able to deploy our workflow on JBoss 5.0.0 and are not able to view anything on http://localhost:8080/jbpm-console We are able to see JBoss console at http://localhost:8080 but jBPM console is not seen. Any idea/tutorial how to bring up jBPM-console? We are using Jbpm 3.3.1. We have a basic task node added to the workflow. When we run our test case as JUnit Test case, the results are as expected. Now we want to deploy this simple workflow. Our deployment parameters are as follows- Server Name: localhost Server Port : 8080 This results into an exception, but once we replace localhost with IP address the connection is tested successfully and deployment is possible.. But this is not the expected behaviour. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205481#4205481 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205481 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Masking URL
Hi, the ".do" URL sounds like Struts? If yes: ask your question in the struts forum. In short: your long URL is a GET request. You could convert this to POST requests, if you place all parameters as hidden fields in a form. But this is a matter of your app, no JBoss issue. Best regards Wolfgang View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205480#4205480 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205480 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Very strange problem while looking up HAJMS Topic
Hello again. I said i was going to test your asynchronous idea but i'm sorry i can't reproduce the problem again when synchronous.. I must have changed something somewhere. "bstansbe...@jboss.com" wrote : | You'd have to do something like what people do with JMS temporary queues to turn an asynchronous messaging system into something synchronous;. i.e. execute your commands on a different thread but have that thread at the end send a message to the node that initiated the process telling them it's complete. The node that initiates the process blocks waiting for those messages to come in. | Complex. Yuck. Let's find a better way. | Yeah it could work but i would rather not do that.. anonymous wrote : | The JGroups channel guarantees that the application will receive messages in the order sent. You can't guarantee that if you allow multiple threads to deliver messages. | | JGroups 2.6 (used in AS 5) improves on the single-threaded JG 2.4 architecture by having a thread pool to carry messages up, but it still only allows one thread at a time per sender to be delivering messages to the application. So wouldn't help with your problem. | Ah i see. anonymous wrote : | Yes, because AS 5 uses JBoss Messaging instead of JBossMQ. No more JMS server only running on one node. Instead your topics and queues are deployed on every node. So there would be no need for HA-JNDI to make a group RPC to find the JMS resources; they would be bound locally. | | BTW, you can install JBoss Messaging in 4.2.3 as well. See the JBoss Messaging project pages. Perhaps that's your solution. Hm, i sort of want to try it now. I'm going to read about it a bit before i decide if it's not too tough to migrate. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205479#4205479 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205479 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: [Jboss 4.2.2GA] [EJB 3.0 - SFSB] [javax.ejb.EJBException
>From the JIRA comments: anonymous wrote : When a non serializable object that JBoss Serialization tries to serialize does not contain an default empty constructor. So you have a non serializable object (which does not contain a default constructor) which causes this incorrect exception to be thrown when the bean is being passivated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205476#4205476 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205476 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: [Jboss 4.2.2GA] [EJB 3.0 - SFSB] [javax.ejb.EJBException
In previous reply... I mean I could not get cause and cure View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205474#4205474 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205474 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: [Jboss 4.2.2GA] [EJB 3.0 - SFSB] [javax.ejb.EJBException
I have seen the link you sent... I could get cause as well as cure... I am sorry if I am at the wrong forum... But If you can tell in short about the problem and solution, it will be great View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205473#4205473 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205473 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Admin role ignored when fetched from LDAP
I just had the idea that it might be useful to know which kind of LDAP we use. For me, it's Sun's Java System Directory Server. Kind regards Oliver View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205460#4205460 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205460 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Dashboard show to other users
Its easy - every user might configure its own dashboard, apply own theme, add desired portlets - another words - create its own page. After then this dashboard might use other users - just view its content. Examples: Car renting portal. Administrator of portal has configured only default portal with welcome page, explanations and thats all. After that every registered user (actually depending on role which is owner) receives pre-configured portal with set of pages and portlets on them. This user is owner of this portal and might change theme of this portal, location of portlets, and add or remove some portlets from his own portal. In his portal he publishes its car to be rented. Another user, who registers himself as owner, also receives its portal, where he changes theme, portlets, etc. And so on. Currently we have implemented such scenario by building new portal for every owner. But we have investigated, that in case of very big amount of portals performance of JBoss Portal significantly drops down. Actually configuration of own portal is almost the same, as every user might configure its own dashboard. I think, since dashboard is only one, it doesn't affect so much performance and its possible probably to use in our scenario in case of big amount of users. But the main problem how to show my own dashboard to other users. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205459#4205459 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205459 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: MDB redeploy with ...-service.xml
"Wolfgang Knauf" wrote : Hi jaikiran, | | the -service.xml in META-INF instead of the JAR root ... | The first error (javax.management.InstanceAlreadyExistsException) is gone. | As i suspected, this looks like some issue with JBossAS-5 deployment. Maybe you could open a thread in our AS5 forum to see if someone has more inputs. anonymous wrote : So I assume that -service.xml files MUST be placed in META-INF? Is this correct? Not sure. AS5 forum may provide an answer :) But if placing it at the root of the jar is incorrect, then atleast the deployer should not throw a AlreadyExistsException. "Wolfgang Knauf" wrote : | results only in this error: | | | javax.naming.NameNotFoundException: MessageBeanQueue not bound | | at org.jnp.server.NamingServer.getBinding(NamingServer.java:771) | | at org.jnp.server.NamingServer.getBinding(NamingServer.java:779) | | ... | | 21:14:01,335 INFO [QueueService] Queue[queue/MessageBeanQueue] started, fullSize=20, pageSize=2000, downCacheSize=2000 | | | For the "NameNotFoundException": is there some dependency of the MDB deployer to the service deployer, which is in the wrong order? | | Thanks | | Wolfgang Yes, looks like an ordering issue. Going by the logs, you first see the error and then the successful binding of the queue. Add a @Depends on your MDB (either the annotation or through deployment descriptor jboss.xml) to prevent the MDB from deploying before the queue is deployed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205458#4205458 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205458 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Admin role ignored when fetched from LDAP
Hello, yes, I can. But you'll see that the configuration is disappointingly simple ;-): | | true | true | false | Authenticated | User | java:/portal/UserModule | java:/portal/RoleModule | java:/portal/MembershipModule | java:/portal/UserProfileModule | com.sun.jndi.ldap.LdapCtxFactory | ldap://address:389/ | simple | cn=Directory Manager | | ou=People,o=boschrexroth | (uid={0}) | ou=Roles,o=boschrexroth | (member={1}) | cn | | -1 | 1 | SUBTREE_SCOPE | false | | | | guest | java:/portal/UserModule | java:/portal/RoleModule | java:/portal/UserProfileModule | java:/portal/MembershipModule | true | Authenticated | Although it's no problem to use roles instead of groups, this issue should be covered anyhow. Well, let's see what we can find out. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205457#4205457 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205457 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user