[jboss-user] [Javassist user questions] - Re: repository.jboss.org versions available?
Much appreciated. The official groupId:artifactId combo would be a great enhancement to the http://labs.jboss.com/javassist/ pages. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249125#4249125 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249125 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Portlet Edit mode
Hello, I'm trying to implement the method doEdit on a portlet to display another page. But I'm getting the following error which is unclear for me (error at the end): Thanks in advance. | public class PortfolioEditPortlet extends GenericFacesPortlet { | | private static final Logger LOG = Logger.getLogger(PortfolioEditPortlet.class); | | @Override | protected void doEdit(RenderRequest request, RenderResponse response) throws PortletException, IOException { | System.out.println(!-); | System.out.println(! IN DO EDIT PORTLET MODE); | System.out.println(!-); | //super.doEdit(request, response); | PortletRequestDispatcher dispatcher = getPortletContext().getRequestDispatcher(/Portfolio/portfolioChanged.seam); | //dispatcher.forward(request, response); | dispatcher.include(request, response); | System.out.println(Dispatcher); | | | } | Error anonymous wrote : | 08:17:59,971 ERROR [SeamPhaseListener] swallowing exception | java.lang.NullPointerException | at org.jboss.seam.navigation.Pages.getRequestUrl(Pages.java:543) | at org.jboss.seam.navigation.Pages.getRequestScheme(Pages.java:478) | at org.jboss.seam.contexts.FacesLifecycle.beginRequest(FacesLifecycle.java:57) | at org.jboss.seam.jsf.SeamPhaseListener.beforeRestoreView(SeamPhaseListener.java:381) | at org.jboss.seam.jsf.SeamPhaseListener.beforeServletPhase(SeamPhaseListener.java:140) | at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:118) | at org.jboss.seam.jsf.SeamPhaseListenerWrapper.beforePhase(SeamPhaseListenerWrapper.java:175) | at org.jboss.portletbridge.lifecycle.LifecyclePhase.execute(LifecyclePhase.java:65) | at org.jboss.portletbridge.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:62) | at org.jboss.portletbridge.lifecycle.PortletLifecycle.execute(PortletLifecycle.java:114) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) | at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178) | at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290) | at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368) | at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495) | at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654) | at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:557) | at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:481) | at org.jboss.portal.portlet.impl.jsr168.api.PortletRequestDispatcherImpl.dispatch(PortletRequestDispatcherImpl.java:142) | at org.jboss.portal.portlet.impl.jsr168.api.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:79) | at home.prototype.portal.portfolio.portlet.PortfolioEditPortlet.doEdit(PortfolioEditPortlet.java:25) | at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:330) | at javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:445) | at
[jboss-user] [JBoss Tools (users)] - JBoss Richfaces Tools installation issue with Eclipse 3.5
Hello, I have installed a fresh Eclipse Galileo for JEE on a Windows XP Pro and the JDK 1.6. Now I try to install the RichFaces Tools from the stable update-site and get the following error: Cannot complete the install because of a conflicting dependency. Software being installed: JBoss Tools RichFaces 3.0.1.GA-R200905070146-H18 (org.jboss.tools.richfaces.feature.feature.group 3.0.1.GA-R200905070146-H18) Software currently installed: Eclipse IDE for Java EE Developers 1.2.0.20090621-0820 (epp.package.jee 1.2.0.20090621-0820) Only one of the following can be installed at once: International Components for Unicode for Java (ICU4J) 4.0.1.v20090415 (com.ibm.icu 4.0.1.v20090415) International Components for Unicode for Java (ICU4J) 3.8.1.v20080530 (com.ibm.icu 3.8.1.v20080530) Cannot satisfy dependency: From: Eclipse IDE for Java EE Developers 1.2.0.20090621-0820 (epp.package.jee 1.2.0.20090621-0820) To: org.eclipse.epp.package.jee.feature.feature.group [1.2.0.20090621-0820] Cannot satisfy dependency: From: Java EE IDE Feature 1.2.0.20090621-0820 (org.eclipse.epp.package.jee.feature.feature.group 1.2.0.20090621-0820) To: org.eclipse.platform.feature.group [3.5.0.v20090611a-9gEeG1HFtQcmRThO4O3aR_fqSMvJR2sJ] Cannot satisfy dependency: From: Eclipse Platform 3.5.0.v20090611a-9gEeG1HFtQcmRThO4O3aR_fqSMvJR2sJ (org.eclipse.platform.feature.group 3.5.0.v20090611a-9gEeG1HFtQcmRThO4O3aR_fqSMvJR2sJ) To: org.eclipse.rcp.feature.group [3.5.0.v20090519-9SA0FwxFv6x089WEf-TWh11] Cannot satisfy dependency: From: Eclipse RCP 3.5.0.v20090519-9SA0FwxFv6x089WEf-TWh11 (org.eclipse.rcp.feature.group 3.5.0.v20090519-9SA0FwxFv6x089WEf-TWh11) To: com.ibm.icu [4.0.1.v20090415] Cannot satisfy dependency: From: SSE JavaScript Source Editor 1.0.200.v200805160650 (org.eclipse.wst.javascript.ui 1.0.200.v200805160650) To: bundle com.ibm.icu [3.4.4,4.0.0) Cannot satisfy dependency: From: Jsp Editor Plug-in 3.0.1.GA-R200905070146-H18 (org.jboss.tools.jst.jsp 3.0.1.GA-R200905070146-H18) To: bundle org.eclipse.wst.javascript.ui 0.0.0 Cannot satisfy dependency: From: JBoss Tools RichFaces 3.0.1.GA-R200905070146-H18 (org.jboss.tools.richfaces.feature.feature.group 3.0.1.GA-R200905070146-H18) To: org.jboss.tools.jst.jsp [3.0.1.GA-R200905070146-H18] It seems that there is one plugin (JavaScript Editor), which depends on ICU4J 3.8.1 and all the other plugins need version 4.0.1. Is there a workaround? Best Regards Christian View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249131#4249131 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249131 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - too many message in queue causes java.lang.OutOfMemoryError
Hi, The story is that we have a producer and no consumer on a queue and the message count become ~20 and an OutOfMemoryError is thrown. The server (JBM.1.4.0.SP3 / jboss-4.2.2.GA) is not able to restart also! anonymous wrote : | mysql select count(*),channel_id from JBM_MSG_REF group by channel_id; | +--++ | | count(*) | channel_id | | +--++ | |7 | 24 | | |11365 | 25 | | | 2058 | 26 | | | 12 | 28 | | | 4445 | 29 | | | 4424 | 30 | | | 3056 | 39 | | | 190072 |601 | | +--++ | 8 rows in set (0.13 sec) | Here is the log after restart: anonymous wrote : | 2009-08-12 10:03:19,823 ERROR [STDERR] Exception in thread RMI TCP Connection(idle) | 2009-08-12 10:03:19,823 ERROR [STDERR] java.lang.OutOfMemoryError: GC overhead limit exceeded | 2009-08-12 10:03:19,823 ERROR [STDERR] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:534) | 2009-08-12 10:03:19,823 ERROR [STDERR] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790) | 2009-08-12 10:03:19,823 ERROR [STDERR] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649) | 2009-08-12 10:03:19,823 ERROR [STDERR] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) | 2009-08-12 10:03:19,823 ERROR [STDERR] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) | 2009-08-12 10:03:19,823 ERROR [STDERR] at java.lang.Thread.run(Thread.java:619) | 2009-08-12 10:03:19,843 ERROR [org.jboss.messaging.util.ExceptionUtil] Queue[null, name=mgmt_billing_model_events] startService | java.lang.OutOfMemoryError: Java heap space | at org.jboss.messaging.core.impl.message.MessageSupport.createReference(MessageSupport.java:292) | at org.jboss.messaging.core.impl.message.SimpleMessageStore.reference(SimpleMessageStore.java:77) | at org.jboss.messaging.core.impl.PagingChannelSupport.processReferences(PagingChannelSupport.java:583) | at org.jboss.messaging.core.impl.PagingChannelSupport.doLoad(PagingChannelSupport.java:498) | at org.jboss.messaging.core.impl.PagingChannelSupport.load(PagingChannelSupport.java:211) | at org.jboss.jms.server.destination.QueueService.startService(QueueService.java:89) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196) | at sun.reflect.GeneratedMethodAccessor89.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java: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.system.ServiceController$ServiceProxy.invoke(ServiceController.java:995) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:417) | at org.jboss.system.ServiceController.start(ServiceController.java:435) | at org.jboss.system.ServiceController.start(ServiceController.java:435) | at org.jboss.system.ServiceController.start(ServiceController.java:435) | at org.jboss.system.ServiceController.start(ServiceController.java:435) | at org.jboss.system.ServiceController.start(ServiceController.java:435) | at org.jboss.system.ServiceController.start(ServiceController.java:435) | at org.jboss.system.ServiceController.start(ServiceController.java:435) | at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | 2009-08-12 10:03:19,864 WARN [org.jboss.system.ServiceController] Problem starting service jboss.messaging.destination:service=Queue,name=mgmt_billing_model_events | java.lang.OutOfMemoryError: Java heap space | at org.jboss.messaging.core.impl.message.MessageSupport.createReference(MessageSupport.java:292) | at
[jboss-user] [JBoss jBPM] - Re: How to get Task based on Task Variables.
@kukeltje: I'm using jbpm 4 and want to do the same thing: get a list of tasks which have a certain value for one particular variable. You say that the query api should be used, but I don't see any possibility to query for variables? Is this something that will be added later on, or should we write a custom hql? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249135#4249135 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249135 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How to get Task based on Task Variables.
Some extra info on my previous post: In jbpm 3 we extended TaskInstance (hibernate level) with some property and used a custom TaskInstanceFactory. We could create a custom query to retrieve all tasks with a given value for that property (no need to use variables) + we could create a bi-directional mapping between the property object and the task object. But in jbpm 4 I don't see a possibility to do this, because we can't register a custom taskInstanceFactory. So we are forced (imho) to use a variable to bind a task to these objects in our datamodel (and loose the bi-directional mapping) or activily keep an extra mapping table up to date. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249136#4249136 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249136 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - How to know message's send order?
In JBM-1.4.2.GA-SP1, how to know two messages' send order? I find that message's timestamp property is NOT the order, but how to judge? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249140#4249140 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249140 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Jboss Seam datasource problem
Hi, I'm new to JBoss and Seam also and I've got well known problem with not founding datasource config file. Basically My problem looks as fallow: 09:57:38,062 ERROR [[/seamSample]] Exception sending context initialized event to listener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfigureListener com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! org.jboss.seam.jsf.SeamApplicationFactory at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:213) at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:196) at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:60) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4393) 09:57:41,333 ERROR [DatasourceConnectionProvider] Could not find datasource: java:/seamSampleDatasource javax.naming.NameNotFoundException: seamSampleDatasource not bound at org.jnp.server.NamingServer.getBinding(NamingServer.java:771) at org.jnp.server.NamingServer.getBinding(NamingServer.java:779) at org.jnp.server.NamingServer.getObject(NamingServer.java:785) at org.jnp.server.NamingServer.lookup(NamingServer.java:443) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:726) ... ... ... 09:57:41,335 ERROR [[/seamSample]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener org.jboss.seam.InstantiationException: Could not instantiate Seam component: entityManagerFactory at org.jboss.seam.Component.newInstance(Component.java:2144) at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304) at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278) at org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:113) at org.jboss.seam.init.Initialization.init(Initialization.java:740) ... ... ... etc. Project was generated by seam-gen plugin for eclipse and deployed on JBoss 5.0, seam v. 2.1. If anybody could help me to solve this problem it would be great. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249143#4249143 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249143 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem configuring jBPM4 with Spring
i post this as a bug: https://jira.jboss.org/jira/browse/JBPM-2483 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249145#4249145 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249145 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - how does jboss find jboss-log4j.xml
As we know, in conf/jboss-service.xml, Log4jService is configured with specified url resource:jboss-log4j.xml. This is not a URL with file protocol. My question is what is resource protocol. And how can jboss find the actual jboss-log4j.xml file under conf folder. I tried URL configURL = new URL(resource:jboss-log4j.xml); but the following exception is thrown. Exception in thread main java.net.MalformedURLException: unknown protocol: resource at java.net.URL.(Unknown Source) at java.net.URL.(Unknown Source) at java.net.URL.(Unknown Source) could someone give me some tips? thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249147#4249147 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249147 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Smooks supported input data types and versions
Hi There I have been evaluating the Smooks plugin with JBoss tools 3.1 M2. First, thanks for a great tool. This is going to be very useful for easier/more productive use of Smooks. I do have a requirement for the following and was wondering when/if your plugin will be supporting them: CSV-Java transforms Use of the 1.21 Smooks distribution Many thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249148#4249148 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249148 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How to Generate ad-hoc Task, activities process ??
what is 'ad-hoc' for you? Generating a process 'runtime' is possible like is done in many unit tests ins the source. Adding tasks runtime to the process instance I'm not sure about. In 3 this is possible, 4 I have no clue. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249158#4249158 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249158 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: too many message in queue causes java.lang.OutOfMemoryEr
You can limit the number of messages you want to host in memory, by using destination-paging-parameters. Please refer the section 6.6.2.1.8 on the JBM documentation : http://labs.jboss.com/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.4.0.SP3/html_single/index.html#conf.destination.queue View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249159#4249159 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249159 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: From
does it make a difference if you go through the 'complete zh language exam' or not? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249161#4249161 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249161 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: How to know message's send order?
I'm afraid that I understand your query. Can you elaborate on this please ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249163#4249163 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249163 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBPM4.0 Oracle Parent Key Not Found Error
https://jira.jboss.org/jira/browse/JBPM-2477 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249164#4249164 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249164 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Accessing the parent/super execution from a subprocess e
Maybe you can have a workaround and pass the processInstanceKey as a variable? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249166#4249166 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249166 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: How to know message's send order?
My code is: | Message message = consumer.receive(1); | I got 2 messages by order: msg1, msg2, I find sometimes msg1.getJMSTimestamp() msg2.getTimestamp(), but I send msg1 before msg2. I refer to the source of JBM-1.4.2, maybe jbm query the queue order by ORD, which is a field of jbm_msg_ref table, but I cannot got it. Is there anyway to determine whether I send msg1 before msg2? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249168#4249168 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249168 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: How to know message's send order?
A message's timestamp is set on the *client side* before it is sent, not by the server. The order messages are put in a queue are the order they are received on the server. So, there's no guarantee that messages in a queue will be in order of timestamp. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249172#4249172 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249172 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Create new JMS resource [queue/topic] in runtime
I've learned the way to manage JMS destinations via JMX. The code creating new JMS queue in runtime could look like: | try { | MBeanServer server = MBeanServerLocator.locate(); | SetObjectName objnames = server.queryNames(null, null); | for (ObjectName on: objnames) { | System.out.print(on.getCanonicalName()); | } | ObjectName on = new ObjectName(jboss.messaging:service=ServerPeer); | MBeanInfo info = server.getMBeanInfo(on); | MBeanOperationInfo[] ops = info.getOperations(); | MBeanParameterInfo[] signatures = null; | String deployQueue = deployQueue; | for (MBeanOperationInfo op: ops) { | if (deployQueue.equals(op.getName())) { | signatures = op.getSignature(); | break; | } | } | if (signatures == null) { | throw new RuntimeException(ServerPeer JBoss MBean has been changed. No ' + deployQueue + ' operation exist anymore.); | | } | String[] ssigs = new String[signatures.length]; | for (int i=0; i signatures.length; i++) { | ssigs = signatures.getType(); | } | | Object[] params = new Object[2]; | params[0] = new String(newQueue01); | params[1] = new String(newQueue01); | server.invoke(on, deployQueue, params, ssigs); | } catch (Exception e) { | e.printStackTrace(); | } | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249176#4249176 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249176 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBM Topic Pub-Sub
sanches wrote : | Could you please share the code which injects or lookups ServerPeer please? Solution is described at http://www.jboss.org/index.html?module=bbop=viewtopict=159697 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249178#4249178 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249178 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Class loading conflict
Hi I have a sar that includes xmlbeans 2.3.0 - which works fine in AS 5.1. However when I installed ESB4.6, which has version 2.2.0 of this jar in its esb-deployer, I get schema version problems. What is the best way to isolate my sar from being affected by jar versions in other non-dependent deployments? Regards Gary View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249182#4249182 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249182 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - [jBPM4] ESB Service
Hello, In jBPM3 there is an ESB Service that hooks up directly to the ESB service. In jBPM4 there isn't such node in the designer or I didn't find it. Will there be an ESB Service node in jBPM4? Is the ESB service usage by JBPM supposed to be done by codding the access to it in a java class or something custom? Thanks, Sergio View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249183#4249183 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249183 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: [jBPM4] ESB Service
https://jira.jboss.org/jira/browse/JBPM-2270 Vote for it (and have others to) to give it a higher priority. currently the java or maybe better the custom node is the way to go. You can ofcourse use the esb code from the jBPM 3 source to get an impression. The thing is, that for sync req/resp this is not that difficult to do. When needing async functionality it is harder since the esb must know how to talk to jBPM View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249185#4249185 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249185 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Documents doesn't match actual software
The updating of SMOOKS documentation is now in process. So, please, look up nightly builds documentation for up-to-date guide version in a few days The nightly builds documentation is here: http://download.jboss.org/jbosstools/nightly-docs/ View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249188#4249188 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249188 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: updating classpath
I'm not sure if this is a good solution. My main intention is to let JBoss to provide the additional functionalities so that I don't have to wrap up all the jars in every application that might need them. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249189#4249189 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249189 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Smooks supported input data types and versions
Hi dedwards60: The smooks tools in JBoss tools 3.1M3 can support CSV now. User can add CSV reader and CSV file via CSVReaderWizard. When they add the reader, the smooks tools can recognize the csv file and display the XML structure of it on the SelectorSelectionDialog to generate the selector string. But now , it just support Smooks 1.1.2. You can get more details from here: https://jira.jboss.org/jira/browse/JBIDE-4551 Hope it can help you. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249193#4249193 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249193 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - task searches - best practice
Hello, i'd like to implement some search funktions for task instances: - all tasks of a distinct state - all tasks changed last 24 h - all tasks having a distinct variable value is where any useful Component to perform these searches? If not, can i use the EntityManager to create a hibernate query ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249196#4249196 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249196 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: SMOOKS quick start
sacauskis wrote : I'm trying to do the SMOOKS quickstart at http://docs.jboss.org/tools/3.1.0.M2/en/jboss_smooks_plugin_ref_guide/html/quick_start.html | | but it seems out of data. Is there a newer one? I'm using jboss tools 3.0.1. | | Thanks | | Mike The Smooks tools was redesigned from version 3.1.x , so you can't map the Smooks tools 3.0.1 with the documentation 3.1m2. :) Actually , because the new smooks tools was developing , there are many changes of the GUI every day, so it's hard to change the documents with the tools' modifications immediately. But we will try our best to do that. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249197#4249197 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249197 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossMQ] - Queues get deleted when stopping the JBOSS server
When I stop the jboss server instance using the ./stop command , the corresponding queues on the MQ server get deleted , can anyone please explain. I have deployed the application on JBOSS server and the queues which I am on using is on a diffrent MQ server. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249198#4249198 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249198 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Newbie
Hey. Using the admin portlet you can create different portals and pages and make them default . View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249201#4249201 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249201 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem with Errors in named queries when deploying jbpm
Hi, could you explain your problem plz ? I have the same problem using jBPM on weblogic. I haven't this line org.hibernate.hql.classic.ClassicQueryTranslatorFactory in my hibernate.cfg file. For the JSF-Console, with this config (in weblogic.xml), it works: container-descriptor prefer-web-inf-classestrue/prefer-web-inf-classes /container-descriptor But i don't understand why :P. Thx View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249202#4249202 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249202 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Smooks supported input data types and versions
Thanks for your response DartPeng, this could certainly be a help to me. Out of interest, do you know if you will be moving to support smooks 1.2.1 at any point. I can of course use 1.1.2, but I note there are many bugfixes in 1.2.1 plus enhanced features in areas I am interested in. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249203#4249203 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249203 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Portlets displayed when only admin role assigned
Hi, Just wandering why a admin also seems portlets to which he/she has admin access only. Example: Admin logins to portal and by default all the portlets he has admin access to is displayed.. Portlets should only be displayed to a user if they have a view access as this portlets contain user specific data which is not available for admin user. Is there any work around to this? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249204#4249204 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249204 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Portlets displayed when only admin role assigned
Forgot yo mention i am using portal 2.7.2 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249205#4249205 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249205 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: [jBPM4] ESB Service
Thank you Ronald, already voted and going to wait for it, because I'll need the async functionality. BRegards, Sergio View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249207#4249207 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249207 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossMQ] - Re: Queues get deleted when stopping the JBOSS server
Seems like you're creating temporary destinations. Can you make sure that you're deploying destinations via a configuration file please ? BTW, what's the JBoss version in use ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249208#4249208 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249208 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Accessing the parent/super execution from a subprocess e
hey kukeltje Thanks for the reply. I had that in mind too but I was wondering if there is an way to access the super process. Is it an intended behavior of jBPM to block the access? If so, why? At least there should be a method getSuperProcessId() so I can access the super process using the ExecutionService. greets View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249209#4249209 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249209 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Problem deploy WS (ClassFormatError)
Hi, I have a project java and compile it with ANT. When deploy the war (with his web.xml, etc) gives me a error. | 14:23:19,852 ERROR [MainDeployer] Could not create deployment: file:/D:/jboss-soa-p.4.3.0/jboss-as_SOA/server/default/deploy/WebServiceGde.war | java.lang.ClassFormatError: Method getDescripcion in class es/ree/gde/webservice/logica/WebServiceGde has illegal signature ourceFile | at java.lang.ClassLoader.defineClass1(Native Method) | at java.lang.ClassLoader.defineClass(ClassLoader.java:620) | at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) | at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) | at java.net.URLClassLoader.access$100(URLClassLoader.java:56) | at java.net.URLClassLoader$1.run(URLClassLoader.java:195) | 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.jboss.wsf.container.jboss42.JAXWSDeployerHookPreJSE.getEndpointBeans(JAXWSDeployerHookPreJSE.java:145) | at org.jboss.wsf.container.jboss42.JAXWSDeployerHookPreJSE.isWebServiceDeployment(JAXWSDeployerHookPreJSE.java:104) | at org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:87) | at org.jboss.wsf.container.jboss42.DeployerInterceptor.create(DeployerInterceptor.java:79) | at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180) | at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91) | 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 $Proxy46.create(Unknown Source) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) | at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy9.deploy(Unknown Source) | If I believe a project web in eclipse and deploy the webservice works fine. I believe I believe that the classes are not compiled well. In addition they occupy differently the .class that I compile that those that eclipse generates. ¿?¿?¿?? I work with JDK1.5 and JBOSS.4.3 Thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249211#4249211 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249211 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem with Errors in named queries when deploying jbpm
Hi, i have found a solution, In weblogic-application.xml, put: prefer-application-packages package-nameantlr.*/package-name /prefer-application-packages View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249215#4249215 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249215 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Great article on jBPM and user interaction patterns
Hello! Tom's blog post pointed me to this wonderful article. Since I liked it that much and not everyone might be reading Tom's Blog I'm posting the link to the article here, too. http://www.infoq.com/articles/jBPM-user-interaction-patterns Enjoy! Sebastian View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249217#4249217 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249217 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - JBPM version help and table cleanup
How do I determine the version of JBPM we're using? There's nothing in our jar file naming, the manifest file or documentation that is helping me. The jbpm.core.jar was version controlled in our system on 5/25/2005 and contains the processdefinition-2.0.dtd. Does this indicate version 2.0? The reason I'm asking is our dba has asked about the following tables since they've grown relatively large. JBPM_EXELOG -- 984,161 rows jbpm_invokelog -- 543,420 rows jbpm_variableinstance -- 442,565 rows Is there guidance on cleaning up the JBPM tables, especially the log files. Can they safely be archived and truncated? Thanks, Jim View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249219#4249219 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249219 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - org.jboss.cache.lock.TimeoutException: how to find out whi
I'm using JBoss Cache 1.4.1 SP12. Recently I got a lock timed-out exception(see below) very frequently. And it is not reproducible. Several monthes ago I could find this exception occasionally and I moved to 1.4.1 SP12, then the problem disappered. But now it comes back...:( My question is : 1. How can I find out which cache node is locked? (any specific log category) 2. Is this exception dangerous? (It is logged as a WARNING) 12:48:30,921 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator_2] TwoPhaseCoordinator.beforeCompletion - failed for com.arjuna.ats.internal.jta.resources.arjunacore.synchronizationim...@f5bcc9 java.lang.RuntimeException: at org.jboss.cache.interceptors.TxInterceptor$LocalSynchronizationHandler.beforeCompletion(TxInterceptor.java:1196) at org.jboss.cache.interceptors.OrderedSynchronizationHandler.beforeCompletion(OrderedSynchronizationHandler.java:76) at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:114) at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:247) at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:86) at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:177) at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1406) at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:135) at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:87) at org.jboss.aspects.tx.TxPolicy.endTransaction(TxPolicy.java:175) at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:87) at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:94) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:70) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.remoting.ReplicantsManagerInterceptor.invoke(ReplicantsManagerInterceptor.java:51) 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:106) 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.dynamicInvoke(StatelessContainer.java:280) at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:280) at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106) at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82) at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:866) at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:608) at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:406) at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:173) Caused by: org.jboss.cache.ReplicationException: rsp=sender=172.18.15.23:34579, retval=null, received=false, suspected=false at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:4464) at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:4386) at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:4504) at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:110) at org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:88) at org.jboss.cache.interceptors.ReplicationInterceptor.runPreparePhase(ReplicationInterceptor.java:152) at org.jboss.cache.interceptors.ReplicationInterceptor.invoke(ReplicationInterceptor.java:69) at
[jboss-user] [JBoss jBPM] - Re: How to Generate ad-hoc Task, activities process ??
Sure, this is definitely ok for jBPM4. faisalgeek, I suppose you means generating task, activities process at run time, not only at the process definition(jpdl), don't u? I use to have similar requirement, and I found few documents about the internal jBPM api. So I had to read the source code of jBPM4. I can share my code of generating task activity at runtime. | import java.util.List; | | import org.jbpm.api.Execution; | import org.jbpm.api.ExecutionService; | import org.jbpm.api.TaskService; | import org.jbpm.api.listener.EventListener; | import org.jbpm.api.listener.EventListenerExecution; | import org.jbpm.jpdl.internal.activity.TaskActivity; | import org.jbpm.pvm.internal.env.Environment; | import org.jbpm.pvm.internal.env.SpringContext; | import org.jbpm.pvm.internal.history.HistoryEvent; | import org.jbpm.pvm.internal.history.events.TaskActivityStart; | import org.jbpm.pvm.internal.model.Activity; | import org.jbpm.pvm.internal.model.ActivityImpl; | import org.jbpm.pvm.internal.model.ExecutionImpl; | import org.jbpm.pvm.internal.model.Transition; | import org.jbpm.pvm.internal.model.TransitionImpl; | import org.jbpm.pvm.internal.model.ExecutionImpl.Propagation; | import org.jbpm.pvm.internal.session.DbSession; | import org.jbpm.pvm.internal.task.TaskImpl; | import org.jbpm.pvm.internal.util.Clock; | | /** | * èªå¨为åÂÂÃ¥ÂÂå¦å¦é¢åÂÂ建ä¸Â个任å¡ï¼Â为å¦习ä¸Âå¿ÂÃ¥ÂÂ建两个任å¡ã | * | * @author a href=mailto:rogerof...@gmail.com;Roger Yan/a | * | */ | public class ApplicationListener implements EventListener { | // private GroupManager groupManager; | @Override | public void notify(EventListenerExecution execution) throws Exception { | ExecutionImpl exe = (ExecutionImpl) execution; | ActivityImpl fork = exe.getActivity(); | //creating two tasks and associated activities | placeViceMentorTask(exe, center1); | placeViceMentorTask(exe, center2); | } | | private void placeViceMentorTask(ExecutionImpl execution, String assignee) { | Environment env = Environment.getCurrent(); | TaskService taskService = env.get(TaskService.class); | DbSession dbSession = env.get(DbSession.class); | | // è·åÂÂå½ÂÃ¥ÂÂæ§è¡ÂçÂÂç»Âç¹ç¸堳信æ¯ | ActivityImpl fork = execution.getActivity(); | ListTransition trans = fork.getOutgoingTransitions(); | TransitionImpl transition = (TransitionImpl) trans.get(0); | ActivityImpl join = (ActivityImpl) transition.getDestination().getOutgoingTransitions().get(0) | .getDestination(); | | // 1. creating an activity | ActivityImpl newActivity = fork.getProcessDefinition().createActivity(æÂÂ交å¯导å¸Âä¿¡æ¯1); | TaskActivity ta = new TaskActivity(); | newActivity.setBehaviour(ta); | | // 2.creating an outgoing transition | TransitionImpl outgoing = newActivity.createOutgoingTransition(); | // outgoing.setDestination((ActivityImpl) join); | outgoing.setName(è³æÂÂå¦æÂÂå¡ä¸Âå¿Â审核); | join.addIncomingTransition(outgoing); | | // 3.creating an execution | ExecutionImpl newExec = execution.createExecution(); | newExec.setActivity(newActivity); | newExec.setState(Execution.STATE_ACTIVE_CONCURRENT); | newExec.setName(viceMentorExecution); | newExec.setTransition(outgoing); | newExec.setPropagation(Propagation.UNSPECIFIED); | newExec.setHistoryActivityStart(Clock.getCurrentTime()); | dbSession.save(newExec); | | TaskImpl task = (TaskImpl) taskService.newTask(); | task.setAssignee(assignee); | task.setName(æÂÂ交å¯导å¸ÂèµÂæÂÂ1); | task.setExecution(newExec); | task.setSignalling(true); | taskService.saveTask(task); | | HistoryEvent.fire(new TaskActivityStart(task), newExec); | newExec.waitForSignal(); | } | } | The code looks ugly, but it just works for me. Take it as a reference. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249222#4249222 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249222 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Portlet Edit mode
Ok, just to reply if it help others. in portlet.xml | portlet | descriptionportfolioEdit/description | portlet-nameportfolioEdit/portlet-name | display-nameportfolioEdit/display-name | portlet-classhome.prototype.portal.portfolio.portlet.PortfolioEditPortlet/portlet-class | init-param | namejavax.portlet.faces.defaultViewId.view/name | value/portfolioEdit.xhtml/value | /init-param | init-param | namejavax.portlet.faces.defaultViewId.edit/name | value/portfolioEdit.PortletEditMode.xhtml/value | /init-param | init-param | namejavax.portlet.faces.defaultViewId.help/name | value/portfolioEdit.PortletHelpMode.xhtml/value | /init-param | init-param | namejavax.portlet.faces.preserveActionParams/name | valuetrue/value | /init-param | init-param | namejavax.portlet.faces.autoDispatchEvents/name | valuetrue/value | /init-param | init-param | namejavax.portlet.faces.bridgeEventHandler/name | valuehome.prototype.portal.common.event.SelectionChangedPortfolioEventHandler/value | /init-param | supports | mime-typetext/html/mime-type | portlet-modeVIEW/portlet-mode | portlet-modeEDIT/portlet-mode | portlet-modeHELP/portlet-mode | portlet-modeadmin/portlet-mode | /supports | supported-localeen/supported-locale | supported-localeit/supported-locale | supported-localede/supported-locale | portlet-info | titlePortfolio Edition/title | keywordsmanagement,admin/keywords | /portlet-info | supported-processing-event | qname xmlns:home=urn:home:prototype:portal:common:eventhome:SelectionChangedPortfolioEvent/qname | /supported-processing-event | /portlet | | and in portlet-instances.xml | deployment | if-existsoverwrite/if-exists | instance | instance-idportfolioEdit/instance-id | portlet-refportfolioEdit/portlet-ref | security-constraint | policy-permission | action-nameEDIT/action-name | role-nameAdmin/role-name | /policy-permission | policy-permission | action-nameview/action-name | unchecked/ | /policy-permission | /security-constraint | /instance | /deployment | anonymous wrote : | | | | After that, there is no need to do anything in the implementation class PortfolioEditPortlet View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249226#4249226 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249226 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Class loading conflict
See http://www.jboss.org/index.html?module=bbop=viewtopict=159343 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249227#4249227 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249227 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - SecurityAssociation: javax.security.auth.Subject dissapears
I'm working in large, international banking project in Switzerland. In an Eclipse RCP 3.4 client, some of the remote method calls fail with Caller unauthorized. We're using ClientLoginModule and JAAS Logon. Everything used to work with JBoss AS 4.2.2.GA. Now, with the client libraries of Jboss AS 5.1, some method calls will not be accepted by the server, for the SecurityContext of the RMI seems to be incomplete. We could trace the problem down to the SecurityAssociation class. In a debug session we could show that immediately before a successful method call, SecurityAssociation.getSubject() would return the expected Subject. Magically, before other calls to remote methods it would return null. Interestingly, getPrincipal() and getCredential() both return the expected values, still. Method calls fail if and only if getSubject() returns null. We believe that there is a flaw in the way the SubjectThreadLocal is used. The problem is only reproducible in the full RCP application, thus we assume that the problem is that not all Threads are correctly equipped with a consistent SubjectStack. Can anybody help us out? You must have heard this before, don't you? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249230#4249230 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249230 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - How to deploy a BPEL process
Hi everyone! Im trying to deploy the Hello World Example from jbpm-bpel-1.1.1\doc\userguide\pdf\jbpm-bpel.pdf in chapter 5. I already created the BPEL process and the WSDL and the bpel-definition.xml. Now I have to deploy these files (To deploy the process definition, call: ant deploy.process) But where can i find this ANT-file? I thought that i have to generate a .par file first via ant pack-definition. I cant find this ANT-file, too... Any ideas how to find 'em? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249244#4249244 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249244 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Messaging and transactions together
I have a great problem with understanding transactions along with messaging. What I have to do is to write a Servlet that will receive a lot of data, e.g. POST request with 10 numbers in content, I have to parse those numbers and do both: - Save them into database (I'm using JPA with Hibernate below) - For every number I have to send message on queue with it. On the other site there are Message Driven Beans (MDB) that consumes messages, takes numbers from them and do something with those numbers (e.g. send them to another system). What My problem is that I want it to happen in two steps 1 - Numbers parsing, persisting into database and sending messages with them (in one transaction, because if any of the numbers in content is corrupted I have to roll back both saving data to database and sending messages) 2 - After everything have been saved and send (there was a transaction commit) MDBs start to consume messages and process them and reding also the same numbers from database (in second separate transaction managed by EJB container, because if anything during processing message goes wrong I want it to go back on queue), the same numbers that were saved in previous transaction. What I can't do is that I can not force QueueSession (Even tried XAQueueSession) to work with JTA user transaction. This is what I do: | protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, | IOException { | UserTransaction userTransaction = null; | | QueueConnectionFactory jmsConnectionFactory = null; | MessageProducer jmsProducer = null; | QueueSession jmsSession = null; | QueueConnection jmsConnection = null; | Queue jmsSingleNumberQueue = null; | | QueueConnectionFactory jmsConnectionFactory =(QueueConnectionFactory) initialContext.lookup(ServiceConstants.CONNECTION_FACTORY_JNDI); | jmsConnection = jmsConnectionFactory.createQueueConnection(); | jmsSingleMsisdnQueue = (Queue) initialContext.lookup(ServiceConstants.SINGLE_NUMBER_QUEUE_JNDI); | jmsSession = jmsConnection.createQueueSession(true, Session.SessionTransacted); | jmsProducer = jmsSession.createProducer(jmsSingleNumberQueue); | | userTransaction = (UserTransaction) (new InitialContext()) | .lookup(ServiceConstants.USER_TRANSACTION_JNDI); | | userTransaction.begin(); | | for(...every number in from request content...){ | 1. parse number | 2. save number to DB | 3. send message with number | } | | userTransaction.commit(); | | } | This is only sketch so if something is not clear please tell. When I wrote this code I noticed that JMS session is not a part of user transaction. In other words, when I put some messages on queue they are instantly consumed by MDB. Also in this case where there is jmsSession = jmsConnection.createQueueSession(true, Session.SessionTransacted); I have to commit JMS session by my self. It seams that JMS session do not see or event cooperate with user transaction. When I used XAQueueSession, commit was made by session but there was other problem, this commit also didn't care about user transaction and messages were consumed instantly after sending, that brought another problem, because User transaction in many cases didn't commit and numbers that were persisted (2. save number to DB) are not visible to MDB and I'm getting NoResultException when I'm trying to retrieve those numbers from DB (they are just not commited yet and MDB (with transaction attribute required) works in another transaction so those numbers are not visible for him). Maybe I'm misunderstood the concept of JMS and JBoss messaging so please correct me. I would appreciate if you have any ideas how to solve my problem. P.S Sorry for my English - learning still in progress. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249245#4249245 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249245 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - sar deployment problem on jboss-5.1.0.GA
I am trying to deploy my ear file on jboss-5.1.0.GA which is working fine on jboss-4.2.2.GA is throwing deployment exception. ear |--- |---ejb jars |---war |---sar jboss-service.xml contents: | mbean code=com.ecentives.harvester.business.reader.InboundMessageReader | name=harvester:name=imap1,service=inbound-message-reader | attribute name=Imapserver1/attribute | attribute name=InboxFolderInbox/attribute | attribute name=UnmanageableFolderUnmanageable/attribute | dependsjboss.messaging.destination:service=Queue,name=InboundMessageQueue/depends | dependsjboss.j2ee:module=stagertoqueue.jar,service=EjbModule/depends | /mbean | | mbean code=org.jboss.varia.scheduler.SingleScheduleProvider | name=jboss:name=p1,service=HASingleScheduleProvider | dependsjboss:service=${jboss.partition.name:DefaultPartition}/depends | dependsjboss:service=ScheduleManager/depends | dependsharvester:name=imap1,service=inbound-message-reader/depends | dependsjboss.ha:service=HASingletonDeployer,type=Barrier/depends | attribute name=ScheduleManagerNamejboss:service=ScheduleManager/attribute | attribute name=TargetNameharvester:name=imap1,service=inbound-message-reader/attribute | attribute name=TargetMethodreadInboundMessages()/attribute | attribute name=DateFormat/attribute | attribute name=StartDateNOW/attribute | attribute name=Period30/attribute | attribute name=Repetitions-1/attribute |/mbean | sar is failed to deploy. I have SingleScheduleProvider service. Below is the error stacktrace 19:51:41,068 WARN [HDScanner] Failed to process changes org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): DEPLOYMENTS MISSING DEPENDENCIES: Deployment harvester:service=inbound-message-reader1 is missing the following dependencies: Dependency jboss.j2ee:ear=hv.ear,jar=stagertoqueue.jar,service=EjbModule (should be in state Create, but is actually in state ** NOT FOUND Depends on 'jboss.j2ee:ear=hv.ear,jar=stagertoqueue. jar,service=EjbModule' **) Deployment jboss:name=p1,service=HASingleScheduleProvider is missing the following dependencies: Dependency jboss:service=harvester (should be in state Create, but is actually in state ** NOT FOUND Depends on 'jboss:service=harvester' **) DEPLOYMENTS IN ERROR: Deployment jboss.j2ee:ear=hv.ear,jar=stagertoqueue.jar,service=EjbModule is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.j2ee:ear=hv.ear,jar=stagertoqueue.jar,service=Ej bModule' ** Deployment jboss:service=harvester is in error due to the following reason(s): ** NOT FOUND Depe nds on 'jboss:service=harvester' ** at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:993) at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:939) at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:873 ) at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainD eployerAdapter.java:128) at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:369) at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(Scheduled ThreadPoolExecutor.java:65) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(Schedule dThreadPoolExecutor.java:142) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadP oolExecutor.java:166) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595) Please help me. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249246#4249246 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249246 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - JBoss ESB 4.6 not supported in nightly builds
Hi all, I am running Eclipse Galileo with the JBoss Tools nightly build (currently 20090812). When I launch the new ESB Project Wizard the Target runtime dropdown displays my JBoss 4.2.2 and 4.2.3 runtimes but not my JBoss 5.1.0 runtime, and the JBoss ESB version only supports up to 4.5 Also the New JBoss ESB Runtime dialog in the JBoss Tools/Jboss ESB Runtimes/ preference menu only supports up to Version 4.5 Although I can change the libraries in the project after it is created, it will not deploy properly to 5.1.0 from the IDE using the Server/Add and Remove context menu. I took a look in JIRA but did not see a ticket related to JBoss ESB 4.6 support, did I miss it it? Is it already planned? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249247#4249247 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249247 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Classloader violation richfaces3.3 and JBoss 5.1.0
jaikiran wrote : Have you configured classloading in your application? These might help you understand what's going on: | | http://www.jboss.org/community/wiki/ClassCastExceptions | | http://www.jboss.org/community/wiki/ClassLoadingConfiguration | | http://www.jboss.org/community/wiki/JBossClassLoadingUseCases | | In relation to http://www.jboss.org/community/wiki/ClassCastExceptions about using the JMX console of JBoss for verify duplicate deployments, the jmx console show me: org.richfaces.component.UIPanelMenu Information Not loaded in repository cache There is no problem, and prueba.ear is the unique application in the server. The richfaces libraries only exist in server/default/lib and are the same version of application. In relation to http://www.jboss.org/community/wiki/ClassLoadingConfiguration about isolation: The first part (jboss-app.xml) jboss-app loader-repository prueba:archive=prueba.ear /loader-repository /jboss-app and jboss-web.xml jboss-web class-loading loader-repository pruebaWar:archive=pruebaWar /loader-repository /class-loading /jboss-web It doesn't work. The second part about Isolation with Overriding Server Classes jboss-app loader-repository prueba:archive=prueba.ear loader-repository-config java2ParentDelegation=false /loader-repository-config /loader-repository /jboss-app jboss-web class-loading java2ClassLoadingCompliance=false loader-repository pruebaWar:archive=pruebaWar loader-repository-configjava2ParentDelegation=false/loader-repository-config /loader-repository /class-loading /jboss-web It doesn't work. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249249#4249249 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249249 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Errors running multiple applications inside one Jboss 3 serv
Errors running multiple applications inside one Jboss 3 server instance (multiple application EARâÂÂs inside one âÂÂ$JBOSS_HOME\Server\MyApps\â directory). We are developing multiple J2EE applications that run within their own Jboss server instance, but now we have a Case to deploy them all inside one Jboss server instance that I mentioned above. Because we have developed the applications independently with the idea to run in separated JBoss server instances, a lot of our applications are using different versions of third party JARâÂÂs. By deploying them all in one Jboss server instance will give us the problem of getting class version conflicts during class loading, because application A is using common.whaterver-1.0 jar and application B is using common.whatever-2.0.jar and that works perfectly if they are deployed inside separated server instances, but by putting them together we have to isolated every class/JAR version by letting Jboss know which class to use for which application. Jboss has the option to configure isolated class loader, but we can only configure them for one namespace. (Example: com.mycompany.crm.web) but how do we do that if we use multiple versions of third party JARâÂÂs that have other namespace like org.apach. and org.hibernate etc. and application A is using hibernate3 and application B is using hibernate3.2. Is it possible to configure this kind of scenarios, or do we have to line-out all our Applications to use the same kind of third party JAR versions? If so than JBoss 3 or newer has not the functionality to run multiple Applications with different class versions inside one Jboss server instance, and the only option would be by lining-out all Applications to run the same third-party JAR versions. Please let me know if IâÂÂm wrong, and give me the solution to configure this for JBoss 3 or higher. Documentations that we already found are: http://www.jboss.org/community/wiki/jbossclassloadingusecases http://www.jboss.org/community/wiki/ClassLoadingConfiguration But how can we do it if we have multiple namespaces and class version that need to use the same class-loading repository for application A and a other class-loading repository for application B etc.? Thanks Regards, Ben. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249250#4249250 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249250 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Errors running multiple applications inside one Jboss 3 serv
Errors running multiple applications inside one Jboss 3 server instance (multiple application EARÂÂs inside one anonymous wrote : ÂÂ$JBOSS_HOME\Server\MyApps\ÂÂdirectory). We are developing multiple J2EE applications that run within their own Jboss server instance, but now we have a Case to deploy them all inside one Jboss server instance that I mentioned above. Because we have developed the applications independently with the idea to run in separated JBoss server instances, a lot of our applications are using different versions of third party JARÂÂs. By deploying them all in one Jboss server instance will give us the problem of getting class version conflicts during class loading, because application A is using common.whaterver-1.0 jar and application B is using common.whatever-2.0.jar and that works perfectly if they are deployed inside separated server instances, but by putting them together we have to isolated every class/JAR version by letting Jboss know which class to use for which application. Jboss has the option to configure isolated class loader, but we can only configure them for one namespace. (Example: com.mycompany.crm.web) but how do we do that if we use multiple versions of third party JARÂÂs that have other namespace like org.apach. and org.hibernate etc. and application A is using hibernate3 and application B is using hibernate3.2. Is it possible to configure this kind of scenarios, or do we have to line-out all our Applications to use the same kind of third party JAR versions? If so than JBoss 3 or newer has not the functionality to run multiple Applications with different class versions inside one Jboss server instance, and the only option would be by lining-out all Applications to run the same third-party JAR versions. Please let me know if Im wrong, and give me the solution to configure this for JBoss 3 or higher. Documentations that we already found are: http://www.jboss.org/community/wiki/jbossclassloadingusecases http://www.jboss.org/community/wiki/ClassLoadingConfiguration But how can we do it if we have multiple namespaces and class version that need to use the same class-loading repository for application A and a other class-loading repository for application B etc.? Thanks Regards, Ben. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249252#4249252 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249252 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: Messaging with IBM Websphere MQ 7 JCA Adapter - Multiple
Hi. I've solved this myself. Solution was easy: There is no need to configure topic destination. Once connection factory is obtained use session object to create Topic. Here is code: InitialContext ic = new InitialContext(); | | ConnectionFactory cf = (javax.jms.ConnectionFactory) ic.lookup(java:wmq/myFC); | | Connection conn = cf.createConnection(); | conn.start(); | | Session sess = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); | Topic topic = sess.createTopic(CITY/NEWS/City_1); | MessageProducer mp = sess.createProducer(topic); | mp.send(sess.createTextMessage(***This is topic message*** )); | conn.close();//comment this if calling from MDB View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249254#4249254 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249254 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How to Generate ad-hoc Task, activities process ??
good to know it kind works the same in 4. thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249261#4249261 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249261 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: Does Aop-Precompiling effect Loadtime Weaving (Performan
I have found the following statement in the docs: It is also perfectly reasonable to mix and match compile time and load time though. If you have load-time transformation enabled, precompiled aspects are not transformed when they are loaded and ignored by the classloader transformer. But I guess that does not really have an impact on the performance. If I have only 10 classes which get weaved and 200 that dont, loadtime weaving still consumes almost the same amount of time, because it has to scan all the 200 files that are not going to be weaved. Is this opinion right? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249256#4249256 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249256 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem with Errors in named queries when deploying jbpm
thanks for reporting back View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249259#4249259 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249259 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Accessing the parent/super execution from a subprocess e
don't think it is intended. just not implemented View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249255#4249255 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249255 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Messaging and transactions together
Using XAQueueSession is the correct way. You need to use getXAResource() and explicitly enlist the XAResource into your transaction. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249257#4249257 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249257 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: task searches - best practice
Where are you storing the information that a task belongs to a particular state? You can always use Hibernate to query any table in any manner for the jbpm tables. There is of course the TaskQuery interface, but you can take a similar approach if you like that(maybe extend the interface? it's something I was starting to work on the other day. following the same approach as jbpm internally does), or write up a DAO just for your Task Queries, View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249263#4249263 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249263 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: sar deployment problem on jboss-5.1.0.GA
Let's continue this in your other post in the AS5 forum http://www.jboss.org/index.html?module=bbop=viewtopict=159808 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249264#4249264 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249264 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Documents doesn't match actual software
Thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249266#4249266 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249266 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Retrieve queue size in jboss 5.1
Hi All, I'm developing some experiments using jboss 5.1 concerning queue monitoring for determine sizes, rates and depths of messages consumption in a clustered queue. However I'm stuck with the fact that just JBM 2.0 has core management API to access this resources. I cannot do it with JBM installed with jboss 5.1. Right? Do you see any alternative to get this parameters? Please I would appreciate your help. Thanks in advance. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249268#4249268 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249268 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Is it possible to set timeout on the server instead of clien
Hi everyone, I searched the forums here and I noticed that other developers are inserting the kind of code: | BindingProvider provider = (BindingProvider) somePort; | provider.getRequestContext().put(org.jboss.ws.timeout, 120); | to configure the timeout for the client. But is there a way to set the default timeout setting on the JBossWS side so that *any* potential web service client(outside of java) can assume a default timeout setting? I'm trying to implement a long-running-web-service that could take a long time to finish (possibly 10 minutes?) and I would like to hold that connection long enough so that a response will get back the client. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249269#4249269 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249269 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - struggling getting to grips with jbpm
Hi, I'm hoping someone can point me in the right direction. I have a number of problems with Jbpm but they are probably all related to the fact that I need to learn a lot more about it. But I have come to a stop when it comes to implementing a workflow with a fork in it. I'm using JBPM 4.0. When I attempt to run my test class I get an SQL exception. This is the code I am using to test my workflow. | deploymentId = repositoryService.createDeployment() | .addResourceFromClasspath(process.jpdl.xml).deploy(); | | ProcessInstance processInstance = executionService.startProcessInstanceByKey(process); | String processInstanceId = processInstance.getId(); | My work flow looks something like this. I've simplified it but I'm pretty sure I'm doing something pretty basic wrong here. | process name=process xmlns=http://jbpm.org/4.0/jpdl; |start | transition to=first transition name=/ |/start | |java class=org.companyname.class.AClass method=execute name=first transition | transition name= to=fork/ |/java | |fork name=fork | transition name= to=start a process / | transition name= to=start second process / |/fork | |java class=org.companyname.class.BClass method=execute name=start a process | transition name= to=join/ |/java | |java class=org.companyname.class.BClass method=execute name=start second process | transition name= to=join/ |/java | |join name=join | transition name= to=process joined/ |/join | |java class=org.companyname.class.CClass method=execute name=process joined | transition name= to=end/ |/java | |end name=end/ |/process | The exception I'm getting is this 16:55:02,332 WRN | [JDBCExceptionReporter] SQL Error: 1062, SQLState: 23000 | 16:55:02,332 SEV | [JDBCExceptionReporter] Duplicate entry 'fraud.70.' for key 2 If anyone can provide me with any sort of guidance then it would much appreciated. As you can probably tell I'm on a steep learning curve with Jboss and JBPM. Regards M View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249270#4249270 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249270 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: updating classpath
anonymous wrote : My main intention is to let JBoss to provide the additional functionalities so that I don't have to wrap up all the jars in every application that might need them. | Actually that's exactly the opposite of the best practice :) Here's an explanation about this: http://www.jboss.org/community/wiki/JBossClassLoadingUseCases View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249271#4249271 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249271 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: updating classpath
interesting :) I was actually reading this right this minute Tnx, View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249272#4249272 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249272 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Retrieve queue size in jboss 5.1
Yes.. if this is what you asked, you can install it in JBoss 5.1 as you can see on the quickstart guide: http://labs.jboss.com/file-access/default/members/jbossmessaging/freezone/docs/quickstart-2.0.0.beta4/html/installation.html#installation.jboss Perhaps I didn't understand your question in regard of 5.1 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249273#4249273 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249273 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Endpoint registration
I have an endpoint, in my ejb jar file, deployed to JBoss 4.2.2GA. I can see the bean is being deployed but I see nothing about the endpoint registration, like I do all the portal services. I also see the portal services endpoints at the services URL http://localhost:8080/jbossws/services but not mine. Is there something else I need to do to get it to register? Perhaps a cfg file in the ear? I am using the first example from Java Web Services: Up and Running Interface | @WebService | @SOAPBinding(style = Style.RPC) // more on this later | public interface TimeServer { | @WebMethod String getTimeAsString(); | @WebMethod long getTimeAsElapsed(); | } | Impl @WebService(endpointInterface = com.symcare.ids.services.TimeServer) | public class TimeServerImpl implements TimeServer { | public String getTimeAsString() { return new Date().toString(); } | public long getTimeAsElapsed() { return new Date().getTime(); } | } | Thanks! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249274#4249274 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249274 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: JDK 5 annotated method pointcut
Try setting the RetentionPolicy on your method annotation. @Target({ElementType.METHOD}) | @Retention(RetentionPolicy.RUNTIME) | public @interface MyAnnotation {} This solved the problem for me. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249277#4249277 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249277 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: struggling getting to grips with jbpm
first please give transitions a name or leave the attributes out. Secondly, show some more detailed logging e.g. on debug level. It's very hard for us to even imagine where things go wrong now. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249278#4249278 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249278 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: No partial refresh in HTTPS
The problem is in dyna.js in the function isURLAccepted : if (url.indexOf(http://;) == 0) this function always return false in https I replace this if ... else statement by : |var base_url_escaped = server_base_url.replace(/\//g,\\/); |var regexp = /^http[s]{0,1}:\\/\\/[^\\/]* + base_url_escaped + .*$|^ + base_url_escaped + /; |if (!url.match(eval(regexp))) { | return false; |} | I have tested in IE7 and Firefox 3.0. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249279#4249279 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249279 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: JBoss 4.2.3 and Security Annotations
It looks like there is a special ejb plugin for jboss : http://www.jboss.org/ejb3 Is that something I need. It looks like this one is only for JBoss AS 5.1.0 though. I also see installation docs for JBoss 4.0.3SP1: http://www.jboss.org/ejb3/docs/tutorial/installing.html But nothing for JBoss 4.2 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249280#4249280 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249280 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: Does Aop-Precompiling effect Loadtime Weaving (Performan
Yes View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249283#4249283 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249283 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Endpoint registration
The above deployment was in an ear file. I tried it according to the JBossWS documentation and had no mention of the service in the server log. I packaged the the impl and the interface in a jar file and deployed it to the deploy directory as directed in: anonymous wrote : Simply wrap up the service implementation class, the endpoint interface and any custom data types in a JAR and drop them in the deploy directory. No additional deployment descriptors required. | Anyone have an idea? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249285#4249285 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249285 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: No partial refresh in HTTPS
Awesome ! We will very likely include this in the EPP 4.3 CP02. have you signed the contributor agreement ? https://www.jboss.org/contribute View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249289#4249289 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249289 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Understand JNDI naming convention
Jboss 4.2: I always have hard time understanding JNDI naming convention. I try to understand one way or the other but next time when I look at them it again leads to more confusing. I have hard time understanding 1. concept of java:/comp compared to mapped-by name. 2. Also what Global JNDI is. 3. When I look in JNDI view of jmx-console I see something like e.cache:service=CacheLoader I don't know what those : and . and = are for. How to interpret that whole string. Is it just the unique string or does ., : and = have some special meaning. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249292#4249292 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249292 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - scoped repository not working for apps in alternate deployme
Hello, I have set up JBoss to scan for deployments in a directory in addition to deploy/: jboss-service.xml: deploy/,fs-deploy/ In my apps I specify the need to use scoped class loading: jboss-app loader-repositorymydomain.com:loader=uniquedeploymentname.ear/loader-repository /jboss-app However when I boot JBoss app1 loads all the classes and when app2 loads it finds shared instances of the classes (i.e. shares singletons). When I move app1 and app2 into the deploy dir (standard deployment location) class loading works as expected. What do I need to do to get apps placed in fs-deploy to behave like deploy? I am using JBoss-eap-4.2.0 thanks, Brandon View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249291#4249291 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249291 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: scoped repository not working for apps in alternate depl
I believe I discovered what was happening. The server that I was debugging on was missing the trailing / after the directory name so the entire directory was being treated as a deployment instead of as a dir of sub deployments. thanks, Brandon View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249294#4249294 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249294 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: ClassCastException due to Xerces conflict during app dep
Hi jaikiran, So are there any updates on this issue? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249299#4249299 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249299 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: ClassCastException due to Xerces conflict during app dep
Yes, i did try this out. From what i looked at, the deployment framework starts using the version of xerces jar present in your deployment because it sets the classloader to your deployment's classloader. I think this is the correct thing to do, because each deployment is expected to be started within its own classloader to ensure that it gets access to the right resources. Now the real issue with xerces is that its an endorsed library. i.e. it's part of the Java endorsed library directory. So the only way to override the xerces version appears to be to change the version in the JBoss endorsed directory (but that can lead to other issues). This is where i had left off in my investigation of this issue a while back. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249300#4249300 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249300 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: ClassCastException due to Xerces conflict during app dep
jaikiran wrote : This is where i had left off in my investigation of this issue a while back. | | I did not reply back with these details earlier because, i did see that there was some weird logic in getting hold of the right classloader in the xerces implementation (ObjectFactory and/or its related classes). So i am not sure whether its an intended behaviour or just a bug in its implementation. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249301#4249301 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249301 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - How can I get Edit Mode to default to Maximized Window State
I'm trying to figure out a way to get from the standard VIEW mode of a portlet to Maximized EDIT mode by clicking the Edit link at the upper right hand corner of the portlet. I tried changing the window state in the doView() but it doesn't look like it is possible. Has anyone had any luck doing this? Thanks, Tim View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249302#4249302 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249302 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: ClassCastException due to Xerces conflict during app dep
jaikiran wrote : I think this is the correct thing to do, because each deployment is expected to be started within its own classloader to ensure that it gets access to the right resources. I do not believe JBoss 4 does this. It uses the deployer's classloader when deploying the war, not the war's classloader. Thus the problem is avoided. jaikiran wrote : So the only way to override the xerces version appears to be to change the version in the JBoss endorsed directory (but that can lead to other issues). The application I'm working on may be installed at a client site where we have no controll over the the App Server. In addition, as you said, changing the endorsed Xerces may lead to other problems so I do not think this is a viable solution. Are you saying that currently there is no solution to this problem? If so, I'd say this is a pretty big issue for JBoss considering this problem is not seen in JBoss 4 and thus constitutes a pretty important change in behavior. Perhaps this should be escalated and/or be given more attention? I've seen numerous posts on the forum complaining about this and none of the workarounds (classloader isolation, removing Xerces from war) address the underlying problem of being able to use a different version of Xerces than the one in the endorsed dir. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249303#4249303 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249303 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Newbie
Hi Thanks for that, How can I get into Admin portal, what is the URl for that, any idea Thanks Philip View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249305#4249305 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249305 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - DeploymentScanner
I am hoping a more senior JBoss expert can share his knowledge on remote deployments to JBoss-AS. We are using JBoss-4.2.3GA. We are using Hudson to accomplish our builds for the web project. We are now attempting to deploy the war file to a remote JBoss-AS running on Redhat Linux. What I discovered is JBoss-AS has the ability to scan a URL and accomplish a hot-deployment for us. We can just drop off the war file in a directory for JBoss to scan. We would have to manually remove the old war file so JBoss-AS will undeploy it for us. The guys on my team are not very supportive on making this work because they want a clean build and suspect JBoss-AS will not provide us with this capability following my approach. Are there any pitfalls with using the Deployment Scanner JXMBean like I described above? Thanks for taking the time to read my post. HG View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249307#4249307 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249307 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Find Usages
Hey all, Just wondering if there is any way at all so that when I do a find usages on a method that it will also find the .xhtml files that contain EL expressions that call the method as well. IDEA 8 does this and it is great. It allows me to refactor methods and have the .xhtml files updated at the same time. I don't seem to be able to do this with eclipse + jbossTools. Is this something that is planned for the future? Or is it available now but needs some setting up? Cheers, Tim View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249310#4249310 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249310 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Retrieve queue size in jboss 5.1
luis-a-cas...@ptinovacao.p wrote : Hi All, | | I'm developing some experiments using jboss 5.1 concerning queue monitoring for determine sizes, rates and depths of messages consumption in a clustered queue. However I'm stuck with the fact that just JBM 2.0 has core management API to access this resources. I cannot do it with JBM installed with jboss 5.1. Right? | | Do you see any alternative to get this parameters? Please I would appreciate your help. | | Thanks in advance. Did you mean that you want to retrieve destination specific statistics, such as message count, subscriber count etc on destinations deployed in JBoss-5.x (JBM-1.4.x-GA)? If this is what you want, this can be done using an MBean :-) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249311#4249311 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4249311 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user