[jboss-user] [Messaging, JMS & JBossMQ] - Re: Sequential processing of messages with the same Key
anonymous wrote : You don't create 700,000 subscriptions that would be a management nightmare. ;-) | It would also require every send of a message checking 700,000 selectors to see | which subscription matches the message. | | You use a "like", e.g. all customers beginning with A, B, C, etc. | to divide them into groups according to how much concurreny you need. | | Or better yet, you use a "hash" of the customer id if you want a better spread. I am missing something totally. A queue can process multiple messages at once, depending on the size of the thread pool, right?. Doesn't this create concurrency? If I understood the whole JMS clustering thing then the cluster should make sure that those processes get distributed one the cluster. If I want to make it more scalable then I only make sure that the queue can be processed by more threads and that more machines are available on the cluster. Lets forget about the DB for now, because that will become the bottleneck eventually (if you don't let it scale ;)). But I see where you are going. Doesn't your solution also mean that a subscription can only have one thread to make sure that it processes all the messages sequentially? Because that would indeed be the solution. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068103#4068103 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068103 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: what happen with my entity bean , need expert help
No I have followed your instruction, here is my code: MySite.java: package test; @javax.persistence.Entity @javax.persistence.Table(name="SI_SITE") public class MySite { @javax.persistence.Column(name="siteId") @javax.persistence.Id private java.lang.Long siteId; @javax.persistence.Column(name="name") private java.lang.String name; @javax.persistence.Column(name="description") private java.lang.String description; @javax.persistence.Column(name="staticSite") private boolean staticSite; @javax.persistence.Column(name="status") private int status; public MySite() { } ... getter and setter for the previous attributes } The client (part of a session bean): EjbLocator ejbLocator=EjbLocator.getLocator(); MySite siteEJB3=ejbLocator.find(MySite.class, new Long(1)); EjbLocator.java: public class EjbLocator { @PersistenceContext(unitName="StatInfoUnit") private EntityManager manager; private static Context ctx; private static EjbLocator instance = new EjbLocator(); private EjbLocator() { try { ctx = new InitialContext(); } catch (NamingException e) { logger.error(e.getMessage()); } } public static EjbLocator getLocator() { return instance; } private T getEjb(Class ejbClass, String name) { try { T service = (T) new InitialContext().lookup("Statinfo/" + name + "/local"); return service; } catch (NamingException e) { return null; } } public T find(Class ejb3Class, Object id) { return manager.find(ejb3Class, id); } public void persist(Object ejb3Object) { manager.persist(ejb3Object); } } I have a persistence.xml in META-INF dir: java:/StatInfoDS META-INF/orm.xml test.MySite false org.hibernate.ejb.HibernatePersistence I have a orm.xml in META-INF dir: http://java.sun.com/xml/ns/persistence/orm"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm orm_1_0.xsd" version="1.0"> Deployment is OK but the exception (Nullpointer) occurs when the client part is called, any idea? Thanks a lot for your help, JF View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068102#4068102 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068102 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to prevent double submit
use a conversation View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068100#4068100 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068100 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Specifying users and passwords for admin role.
Hi, I am trying to setup users and passwords as explained in http://wiki.jboss.org/wiki/Wiki.jsp?page=SecureTheJmxConsole. Yet, whenever I try to shutdown the server, the authentication fails. Also, the default of admin/admin did not work. How can I specify the user and password for shutdown ? I am forced to provide a user id and password because the security constraint is uncommented in web.xml. Is this correct ? Regards, Nags. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068098#4068098 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068098 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Can Windows Network Load Balancing(NLB) Service and JGroup
The two machines (192.168.225.116/117) are configured to load balance the HTTP reqeusts by using Windows 2003's NLB service. The virtual IP exposed by NLB is 192.168.225.48. The two JBoss 4.0.4 GA servers in all mode are run on this two machines. We got the a lot of the following error messages displayed in server.log and the JBoss server on 192.168.225.116 is stuck by the messages. 2007-07-26 13:29:37,651 WARN [org.jgroups.protocols.pbcast.GMS] join(192.168.225.116:2899) sent to 192.168.225.48:1095 timed out, retrying Note that 192.168.225.48 is the virtual IP. How to solve this issue? How to let JGroup not send messages to 192.168.225.48? Thanks for your help very much. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068097#4068097 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068097 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - How to prevent double submit
Hi all! When submitting a form and the action method takes longer it is a big trouble if the user submits the form more times before the method finished. How to prevent double submit with Seam? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068095#4068095 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068095 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Getting duplicate entry exception
I am using JBoss Cache 1.4.1SP3 & JBoss AP 4.0.3 SP1. I am facing the same issue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068094#4068094 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068094 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - JBoss Cache 1.4.1 SP3 |Problem with OPTIMISTIC NodeLockingSc
We are using JBoss AS 4.0.3 SP1 and JBoss Cache 1.4.1 SP3 and MySQL Server 5.0.18. We are using OPTIMISTIC NodeLockingScheme currently. We are getting various cache exceptions:- 1- DataVersioning 2- Duplicate Key 3- ReadWriteLock Because of these errors, our production system gets down. Here is the exception stack trace:- ReadWriteLock Exception 26 Jul 07 08:05:36, INFO org.jboss.cache.interceptors.TxInterceptor:invoke:161 There was a problem handling this request java.lang.InterruptedException at EDU.oswego.cs.dl.util.concurrent.NullSync.attempt(NullSync.java:38) at org.jboss.cache.lock.IdentityLock.acquireReadLock(IdentityLock.java:248) at org.jboss.cache.Node.acquireReadLock(Node.java:417) at org.jboss.cache.Node.acquire(Node.java:384) at org.jboss.cache.interceptors.PessimisticLockInterceptor.lock(PessimisticLockInterceptor.java:231) at org.jboss.cache.interceptors.PessimisticLockInterceptor.invoke(PessimisticLockInterceptor.java:160) at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68) at org.jboss.cache.interceptors.CacheStoreInterceptor.invoke(CacheStoreInterceptor.java:186) at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68) at org.jboss.cache.interceptors.CacheLoaderInterceptor.invoke(CacheLoaderInterceptor.java:197) at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68) at org.jboss.cache.interceptors.UnlockInterceptor.invoke(UnlockInterceptor.java:32) at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68) at org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:345) at org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:156) at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68) at org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:157) at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5520) at org.jboss.cache.TreeCache.put(TreeCache.java:3678) at com.tg.cache.manager.FareCacheProviderImpl.addToCache(FareCacheProviderImpl.java:104) at com.tg.ws.abacus.AbacusFareService.putResponseInCache(AbacusFareService.java:615) at com.tg.ws.abacus.AbacusFareService_1_5.getFaresFromCacheOrWSForRequest(AbacusFareService_1_5.java:189) at com.tg.ws.abacus.FarePoolHandler.execute(FarePoolHandler.java:29) at com.tg.ws.abacus.FarePoolHandler.execute(FarePoolHandler.java:15) at com.tg.parallel.concurrent.JavaConcurrentPoolExecutor$CallableAdapter.call(JavaConcurrentPoolExecutor.java:93) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Duplicate Key Exception 26 Jul 07 08:38:23, ERROR org.jboss.cache.loader.JDBCCacheLoader:insertNode:981 Failed to insert node: Duplicate entry '/fare/JDH/UDR/3' for key 1 com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException: Duplicate entry '/fare/JDH/UDR/3' for key 1 at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:931) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2870) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1573) at com.mysql.jdbc.ServerPreparedStatement.serverExecute(ServerPreparedStatement.java:1160) at com.mysql.jdbc.ServerPreparedStatement.executeInternal(ServerPreparedStatement.java:685) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1400) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1314) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1299) at org.jboss.cache.loader.JDBCCacheLoader.insertNode(JDBCCacheLoader.java:969) at org.jboss.cache.loader.JDBCCacheLoader.put(JDBCCacheLoader.java:321) at org.jboss.cache.interceptors.CacheStoreInterceptor.invoke(CacheStoreInterceptor.java:216) at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68) at org.jboss.cache.interceptors.CacheLoaderInterceptor.invoke(CacheLoaderInterceptor.java:197) at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68) at org.jboss.cache.interceptors.UnlockInterceptor.invoke(UnlockInterceptor.java:32) at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68) at org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:345) at org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:156) at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
[jboss-user] [JBoss Portal] - Re: Classloader problems
Dear Thomas, after some hours of frustration: I'm back with my portlets where I started, with the MyFaces stuff replaced by Sun's RI in portlet.xml, the jsf-portlet.jar removed from WEB-INF/lib of my war file. This was my first guess with JBossAS 4.2.1/JBossPortal 2.6.0 and my first guess with JBossPortal 2.6.1 as well. It's simply what worked with JBossAS (with MyFaces 1.1.5)/JBossPortal 2.4. The exceptions in 2.6.0 were far worse but simply to show what's left: anonymous wrote : | 04:22:53,728 ERROR [STDERR] org.jboss.portal.portlet.container.PortletInitializationException: Portlet class not found com.sun.faces.portlet.FacesPortlet | 04:22:53,734 ERROR [STDERR] at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.start(PortletContainerImpl.java:252) | 04:22:53,736 ERROR [STDERR] at org.jboss.portal.portlet.impl.container.PortletApplicationContextImpl.startPortletApplication(PortletApplicationContextImpl.java:130) | 04:22:53,736 ERROR [STDERR] at org.jboss.portal.portlet.deployment.jboss.PortletAppDeployment.start(PortletAppDeployment.java:153) | 04:22:53,739 ERROR [STDERR] at org.jboss.portal.core.deployment.jboss.PortletAppDeployment.start(PortletAppDeployment.java:94) | 04:22:53,742 ERROR [STDERR] at org.jboss.portal.server.deployment.jboss.DeploymentContext.start(DeploymentContext.java:99) | 04:22:53,743 ERROR [STDERR] at org.jboss.portal.server.deployment.jboss.PortalDeploymentInfoContext.start(PortalDeploymentInfoContext.java:211) | 04:22:53,744 ERROR [STDERR] at org.jboss.portal.server.deployment.jboss.ServerDeployer.start(ServerDeployer.java:217) | 04:22:53,745 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) | 04:22:53,746 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) | 04:22:53,748 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor180.invoke(Unknown Source) | 04:22:53,749 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 04:22:53,751 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 04:22:53,752 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | 04:22:53,753 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | 04:22:53,755 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | 04:22:53,758 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | 04:22:53,759 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | 04:22:53,763 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | 04:22:53,764 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | 04:22:53,765 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | 04:22:53,766 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | 04:22:53,769 ERROR [STDERR] at $Proxy198.deploy(Unknown Source) | 04:22:53,769 ERROR [STDERR] at org.jboss.portal.server.deployment.jboss.ServerDeployer.deploy(ServerDeployer.java:259) | 04:22:53,771 ERROR [STDERR] at org.jboss.portal.server.deployment.WebAppAdapter.deploy(WebAppAdapter.java:54) | 04:22:53,774 ERROR [STDERR] at org.jboss.portal.server.deployment.WebAppIntercepter.handleNotification(WebAppIntercepter.java:160) | 04:22:53,776 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) | 04:22:53,776 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 04:22:53,778 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 04:22:53,779 ERROR [STDERR] at org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:153) | 04:22:53,781 ERROR [STDERR] at $Proxy200.handleNotification(Unknown Source) | 04:22:53,782 ERROR [STDERR] at org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotification(JBossNotificationBroadcasterSupport.java:127) | 04:22:53,782 ERROR [STDERR] at org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotification(JBossNotificationBroadcasterSupport.java:108) | 04:22:53,783 ERROR [STDERR] at org.jboss.deployment.SubDeployerSupport.emitNotification(SubDeployerSupport.java:340) | 04:22:53,783 ERROR [STDERR] at org.jboss.deployment.SubDeployerSupport.start(SubDeployerSupport.java:308) | 04:22:53,784 ERROR [STDERR] at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:482) | 04:22:53,785 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor228.invoke(Unknown Source) | 04:22:53,785 ERROR [STDERR] at su
[jboss-user] [JBoss Seam] - Re: richfaces*.jar into where?
Yes I am using 4.2.0.GA too. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068090#4068090 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068090 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Response Content-Type
is it possible to change the response content type auf portal? for my portal the response content type is as follows: Server: Apache-Coyote/1.1 X-powered-by: Servlet 2.4; JBoss-4.0.4.CR2 (build: CVSTag=JBoss_4_0_4_CR2 date=200604241359)/Tomcat-5.5 Content-Type: text/html;charset=UTF-8 Transfer-Encoding: chunked Date: Fri, 27 Jul 2007 05:55:51 GMT 200 OK but i want to change UTF-8 to ISO-9859-1 in my jsp template i have <%@ page contentType="text/html;charset=ISO-8859-1" pageEncoding="ISO-8859-1" %> but with no effect is there another place/config where i can change this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068089#4068089 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068089 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Problem while starting JBoss with Messaging 1.0.1 GA
Thanks very much ,tim I have replaced the entire JBoss Server Directory with Messaging. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068088#4068088 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068088 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - AOP proxy, do I lose method annotation information?
I have a class that's deployed in JBoss Microcontainer, e.g. | @Configured | public class Person { | | /** | * Sets poem. | */ | @Property(name="poetry", description="poetry, oh noetry!") | public void setPoem(String poem) { | this.poem = poem; | } | I apply an install aspect: | | AspectManager | | | | | | | | But then, inside my "Callback", I see the proxied class: | public class InstallConfiguredCallback{ | | public void install(ControllerContext ctx){ | Object target = ctx.getTarget(); | | Here, target.getClass().getMethod("setPoem").getAnnotation(Property.class) returns null. It seems the class was changed to an AOP proxy, do I lose my method-level annotations when this happens? This is JBoss AOP 2.0 - snapshot ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068087#4068087 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068087 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: richfaces*.jar into where?
I had the same problem (on a 4.2.0.GA). Doing the stuff described in this thread solveld the problem: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=112713&postdays=0&postorder=asc&start=0 The path to jboss-service.xml should be something like this: server/default/deploy/jboss-web.deployer/META-INF/ Which richfaces version do you use? see: anonymous wrote : | You need richfaces-3.0.1-SNAPSHOT.jar in WEB-INF/lib and you have to change | in jboss-4.0.5.GA/server/default/deploy/jbossweb-tomcat55.sar/META-INF/jboss-service.xml | from false to true Code: | ... | | for jboss4.2.0 is the same just jboss-service.xml has a different path. | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068086#4068086 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068086 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Exception when deploying a process definition to Mysql
Ok.Got it again. In the jbpm-configuration created by the example, no services are created. I commented that code and obtained a context throgh the default settings like JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext(); Fanally it works now View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068085#4068085 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068085 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Explicit set of identity login?
"[EMAIL PROTECTED]" wrote : You can perform a manual login in your registration method. Take a look at the seamspace example, at the end of the RegisterAction.uploadPicture() method. Thanks for the info. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068084#4068084 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068084 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Exception when deploying a process definition to Mysql
Ok.I figured it out. The jbpm.jpdl.mysql.sql not only does not have a ; at each sql statement, there is no commit at the end. So even though i ran the script there are no tables in the DB :( But even after that I still keep getting the exception org.jbpm.JbpmException: no jbpm tx service configured at org.jbpm.persistence.db.DbPersistenceService.isRollbackOnly(DbPersistenceService.java:390) at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:212) at org.jbpm.svc.Services.close(Services.java:222) at org.jbpm.JbpmContext.close(JbpmContext.java:139) at org.jbpm.examples.action.HelloWorldDbTest.deployProcessDefinition(HelloWorldDbTest.java:116) at org.jbpm.examples.action.HelloWorldDbTest.testSimplePersistence(HelloWorldDbTest.java:78) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068083#4068083 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068083 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: richfaces*.jar into where?
"blackers" wrote : Can you try putting it in your /WEB-INF/lib This is where i have my rich faces jar file. I have also set the UseJBossWebLoader to true but not changed Java2ClassLoadingCompliance from it's defaults. | | still same. nothing changed. Are you using JBoss 4.2.0.GA too? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068082#4068082 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068082 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBPM IDentity
Sorry OM, i myself dont know how to add users to existing jbpm tables for identity component, had it been using ur custom tables, i could have helped you out ;) goodluck! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068081#4068081 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068081 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: TaskList by Taskname
I was implementing it using HQL only(but it adds so many extra lines of code!) ; many thanks for the confirmation, holly77 :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068080#4068080 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068080 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 2, pages.xml and pageflow
I still don't understand why it is not working, but here is what I found out. After the transition (false), we go to the page /flow/itemSelection.xhtml That page is defined on pages.xml as: | | The action is triggered and the outcome of this action is "listA" I end up in the "navigate" method of Pages.java which is defined as: |public boolean navigate(FacesContext context, String actionExpression, String actionOutcomeValue) |{ | String viewId = getViewId(context); | if (viewId!=null) | { | List stack = getPageStack(viewId); | for (int i=stack.size()-1; i>=0; i--) | { | Page page = stack.get(i); | Navigation navigation = page.getNavigations().get(actionExpression); | if (navigation==null) | { |navigation = page.getDefaultNavigation(); | } | | if ( navigation!=null && navigation.navigate(context, actionOutcomeValue) ) return true; | | } | } | return false; |} | The parameters are: | actionExpression: #{flow.itemSelectionOutcome} | actionOutcomeValue: "listA" | So far so good, I believe. String viewId = getViewId(context) returns "/flow/itemSelection.xhtml" which is correct as well. Nevertheless, when the following is performed: | Navigation navigation = page.getNavigations().get(actionExpression); | navigation is null! No navigation rule is found, so the defaultNavigation is selected and is null as well. So I don't understand why is that. So instead of | | | | | | | | | | | | | I changed to: | | | | | | | | | | | But this leads to the same problem. Is there anything wrong in the what I'm doing? I believe this should work. Richard View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068079#4068079 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068079 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Examples: Code Police ;-)
One single issue will be fine. You can assign to me if you like. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068078#4068078 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068078 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Explicit set of identity login?
You can perform a manual login in your registration method. Take a look at the seamspace example, at the end of the RegisterAction.uploadPicture() method. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068077#4068077 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068077 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam security & user session...
In general, I would just restrict the way the client interface is built to not display a login form if the user is already logged in. The seamspace (and other examples) do this already, take a look at template.xhtml and home.xhtml in seamspace. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068076#4068076 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068076 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:selectDate js error in IE in Seam 2.0 Beta
I just tested the latest CVS version of selectDate in IE7 and it seems to be working fine. Which version of Seam are you using, and what javascript error is IE reporting? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068075#4068075 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068075 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Breaking changes - Seam CVS updated with JBoss Rules 4.0.0.G
I've updated CVS with the latest GA release of drools. This change may break some existing applications, so I recommend that everyone who is using Drools in their Seam project review the following upgrade tips from the Drools documentation: http://labs.jboss.com/file-access/default/members/drools/freezone/docs/4.0.0.13773GA/html/ch01s02.html For an example of something that has changed, the assert() method has now been renamed to insert() to avoid a naming collision. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068074#4068074 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068074 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: richfaces*.jar into where?
Can you try putting it in your /WEB-INF/lib This is where i have my rich faces jar file. I have also set the UseJBossWebLoader to true but not changed Java2ClassLoadingCompliance from it's defaults. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068073#4068073 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068073 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Explicit set of identity login?
This is probably a security concern since I didn't see any identity.setLoggedIn method or something along that lines. I am basing an app. on the seam-gen utilty and have added a registration page. When the user is registered and persisted I want the identity field to automatically be set to logged in so when they return to the home page it understands that the new user is now authenticated. What is the best way to do this? Thanks, S.D. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068070#4068070 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068070 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBPM 3.2.1 web app?does not display deployed process
anonymous wrote : | When I deploy from the Web App I go and find the xml file named "processdefinintion" (it's in a folder w/ the xml file of the gpd and the process image) and hit deploy. I then receive the error: "Error deploying process: An exception of type "org.jbpm.jpdl.JpdlException" was thrown. The message is: [[ERROR] no processdefinition.xml inside process archive]". | have you tried deploying locally? when you do you will notice that what is deployed is a zip containing the process definition and other files. if you can create that, try to upload it to the server. the server will unpack the file and find the process definition inside. That may not be the root of your issues, but its one thing you can change. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068069#4068069 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068069 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Trouble using Embeddable EJB 3.0
Hi: I am the co-author of EJB 3 in Action. I am trying to port our code examples for the book to the JBoss Embeddable container using Tomcat. While deploying, I am getting the following error: === WARN 26-07 22:28:28,046 (BeanSchemaBinding.java:init:233) -You should use the 2.0 version of the Microcontainer xml. xmlns='urn:jboss:bean-deployer:2.0' ERROR 26-07 22:28:29,484 (AbstractController.java:incrementState:440) -Error installing to Start: name=UserTransaction state=Create java.lang.RuntimeException: Unable to lookup TransactionManager at org.jboss.ejb3.tx.TxUtil.getTransactionManager(TxUtil.java:51) at org.jboss.ejb3.embedded.UserTransactionImpl.start(UserTransactionImpl.java:62) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:55) at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:107) at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66) at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:75) at org.jboss.kernel.plugins.dependency.LifecycleAction.installAction(LifecycleAction.java:115) at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.install(KernelControllerContextAction.java:100) at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:709) at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:429) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:538) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:472) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:274) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:177) at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:291) at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:261) at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:117) at org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deploy(BeanXMLDeployer.java:95) at org.jboss.ejb3.embedded.ServletBootstrapListener.deployXmlResource(ServletBootstrapListener.java:74) at org.jboss.ejb3.embedded.ServletBootstrapListener.contextInitialized(ServletBootstrapListener.java:174) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4334) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:566) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethod
[jboss-user] [JNDI/Naming/Network] - Re: PROJECTNAME/FooBean/remote JNDI naming?
by default the archive name is not included as part of the jndi name UNLESS it's an EAR. so, if you package your JAR in an EAR, then the jndi lookup will include the EAR name. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068065#4068065 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068065 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: NPE in ExtendedFormAuthenticator
Hi, The same thing just happened to me as well. I think the code is buggy. Since the earlier reference had checked session to be not null, I believe at line 104, the same check should be applied too. I will add the check to the code, and jar uf it. Gokhan. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068063#4068063 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068063 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - RMI per call overhead?
I tested a Stateless Session Bean using EJB 3.0, JBoss 4.2.0, Java 1.6. The server is RedHat linux and the bean has a method which does nothing but return an Integer. While connected to the internet I can ftp to the remote server at a rate of around 120KB/s so I have a reasonable connection. However using RMI over HTTP (pure RMI did not make it faster) I get a consistent time of around 500ms to execute that single method call - returning that one integer. It appears to be the method overhead - returning several large objects is only 100ms slower. Running that same method with the server on the same machine results in an overhead of 15ms per execution to return that integer. Is there something specifically that I should be caching to reduce the per call overhead? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068062#4068062 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068062 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to let user print off a list?
Why not just create a separate page optimized for printing (ie "printer-friendly" version). Open it in a new window. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068061#4068061 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068061 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: RC1->RC3 problems
"supi" wrote : | 3) New bugs introduced | I admitt, I only ran a couple of our automated tests, but it didn't look pretty. Pojo cache can't even handle the following anymore: | Thanks, I created an issue for this problem here: http://jira.jboss.com/jira/browse/JBCACHE-1150 -Jason View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068060#4068060 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068060 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re:
I guess the problem is that a this is a totally valid error if the wsdl and message are incorrect. In my case I believe it was a Jboss issue just because it worked when I reinstalled with the same files... Hard to say without more information from you guys. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068059#4068059 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068059 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: java.lang.UnsupportedOperationException: TreeCache is a
Probably something wrong with your Hibernate cache configuration. I don't see TreeCache in that stack trace, so I assume you set up some sort of contradicting properties in there. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068058#4068058 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068058 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - how to write query for in select
Hi, if table a (int av, varchar(10) an), table b (int bv, varchar(10) bn), I want select count(*) from a a where av in (select bv from b b where a.an = b.vn) how to convert it into EJB QL using entityManager.createQuery? Thanks John View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068057#4068057 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068057 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - jbpm with toplik persistence api
can i use toplink persistence librery under jboss? if so, what do i have to do to get the app run, i move the war to the deploy folder and when i start the app it said something about the persistence provider, the one for jboss is hibernate, what can i do to change it or put it towork the app with that library thanks guys, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068056#4068056 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068056 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Does JBoss Portal support usernames with special charact
I see a [EMAIL PROTECTED] added somewhere though I am logging in as temp (though I am authenticating as "[EMAIL PROTECTED]" for LDAP purposes, I've overridden most APIs in the login modules to simply return "temp"... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068052#4068052 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068052 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - java.lang.UnsupportedOperationException: TreeCache is a full
Trying to set up TreeCache for performance testing, and encountered the following error. Changed Hibernate to the latest release 3.2.4 sp1 and swapped in its associated treecache. Same error occurred under both JBOSS 4.0.5 and the latest 4.2.0. Changed Treecache to 1.4.1 sp3. The error persists. What could be the problem. Ehcache worked fine in all scenarios. java.lang.UnsupportedOperationException: TreeCache is a fully transactional cache: hibernate.test.com.kin.site.domain.Person at org.hibernate.cache.TreeCache.unlock(TreeCache.java:147) at org.hibernate.cache.ReadWriteCache.put(ReadWriteCache.java:176) at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:156) at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:842) at org.hibernate.loader.Loader.doQuery(Loader.java:717) at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224) at org.hibernate.loader.Loader.loadEntity(Loader.java:1784) at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:48) at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:42) at org.hibernate.loader.entity.BatchingEntityLoader.load(BatchingEntityLoader.java:82) at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:2977) at org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:393) at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:374) at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:137) at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:193) at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:101) at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:878) at org.hibernate.impl.SessionImpl.get(SessionImpl.java:815) at org.hibernate.impl.SessionImpl.get(SessionImpl.java:808) at org.h2uow.persistence.hibernate.SessionDecorator.get(SessionDecorator.java:241) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068049#4068049 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068049 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:fileUpload woes
i found this http://shrubbery.mynetgear.net/wiki/Facelets_'loadImplicit'_error One annoying thing about using Facelets with SEAM/EJB3/JBoss is that there are some strange 'ERROR' log messages that happen when the first page is hit. They look something like this: 07:38:26,843 ERROR \[STDERR\] Nov 29, 2006 7:38:26 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/java/jboss-4.0.5.GA-ejb3/server/default/./tmp/deploy/tmp64384starter1.ear-contents/webapp-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml So, I've finally figured out what this means. Basically, the Facelets compiler is emitting the message to System.err, which JBoss's Log4J setup interprets as an error level log message. I think that's a reasonable assumption to make with Log4J. If java.util.logging were a pet dog I'd say: Bad logging! Bad! Nnno! The folks at Sun should know better than to write to System.err, especially if the message is not an error. Perhaps the JDK logging can be tweaked to make this work better, but still... highly annoying. [edit] Solution #1 Ignore the messages. They are only errors because ConsoleHandler writes log messages to System.err (dodgy) and the JBoss logging framework interprets them as errors, redirecting the messages as ERROR level (understandable). [edit] Solution #2 Use a different logging handler by using a different java.util.logging (a.k.a. JULI) configuration. [edit] Solution #3 Experimental - Use a ContextListener to reconfigure JULI to send logging messages to Log4J. :) Retrieved from "http://shrubbery.mynetgear.net/wiki/Facelets_%27loadImplicit%27_error"; View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068046#4068046 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068046 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Very basic validation question
Oh, I did not know that! Thanks for the update. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068045#4068045 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068045 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: UserFriendly URLs: Can we have an '_' instead of '+' in
Guys Thanks for the replies, But, my problem here is. 1) the URLs should be user friendly. Precisely, users should be able to type in the URLs in the browser and go to a page. www.MySite.com/About_Us where if we find that its www.MySite.com/About+Us .. then thats not UserFriendly. 2) Using Localization according to doc. If i had inferred correct, This would not hold good for pages being defined from Portal Admin interface. Apart from this there is one more issue How can i set the title of a portal page/Portlet as html title. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068044#4068044 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068044 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: richfaces*.jar into where?
"jbuechel" wrote : Exception? sorry, just now reproduced it. java.lang.NoClassDefFoundError: org/richfaces/event/DataScrollerEvent | at java.lang.Class.getDeclaredMethods0(Native Method) | at java.lang.Class.privateGetDeclaredMethods(Class.java:2395) | at java.lang.Class.getDeclaredMethods(Class.java:1763) | at org.jboss.injection.InjectionUtil.processMethodAnnotations(InjectionUtil.java:96) | at org.jboss.injection.InjectionUtil.processAnnotations(InjectionUtil.java:173) | at org.jboss.ejb3.EJBContainer.processMetadata(EJBContainer.java:354) | at org.jboss.ejb3.SessionContainer.processMetadata(SessionContainer.java:120) | | at org.jboss.ejb3.Ejb3Deployment.processEJBContainerMetadata(Ejb3Deployment.java:288) | at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:338) | at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:91) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:417) | at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy33.start(Unknown Source) | at org.jboss.ejb3.EJB3Deployer.start(EJB3Deployer.java:512) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97) | at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238) | at org.jboss.ws.integration.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:93) | at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188) | at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy34.start(Unknown Source) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) | at sun.reflect.GeneratedMe
[jboss-user] [EJB 3.0] - Re: what happen with my entity bean , need expert help
JF HEINTZ - Are you also using @Inject instead of @PersistenceUnit? Post your code? ejbiva, Did this work for you? S, ALR View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068039#4068039 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068039 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Cannot create EntityManager from Springframework
Where you able to fix this issue? I'm getting the same error. And I know the HibernatePersistence class in the jar file I have implements the interface because I decompiled the class. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068038#4068038 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068038 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Messaging bridge question
Chip- I will take a look at this and try and replicate ASAP, but will probably be next week since we are really snowed under (what's new?) right now. :) Thx View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068036#4068036 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068036 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Problem after mcving from 1.3 to 1.4
I don't know if this is the answer or not but I changed my jbossjta-properties.xml to refer to java:DefaultJMSProvider (from simply DefaultJMSProvider) and the error message I was receiving stopped. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068037#4068037 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068037 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Problem after mcving from 1.3 to 1.4
BTW - thanks for the feedback :) This kind of feedback on issues is exactly the kind of thing we want to expose and fix before we release ther GA. :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068035#4068035 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068035 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Problem after mcving from 1.3 to 1.4
This is because the Arjuna recovery manager is starting up and starting it's recovery cycle before the JMSProviderLoader has been deployed and can't find it. This should be harmless. I will however make sure the error message is suppressed on RC2/GA since it's pretty ugly. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068034#4068034 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068034 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Problem after mcving from 1.3 to 1.4
I would like to revisit my initial problem if I may. When I look in my server.log file I see several messages about the DefaultJMSProvider e.g. DEBUG [org.jboss.jms.jndi.JMSProviderLoader] Bound adapter to java:/DefaultJMSProvider This seems to conflict with the error message I am seeing above i.e.: javax.naming.NameNotFoundException: DefaultJMSProvider not bound I am not sure what to make of this error. Either the DefaultJMSProvider is bound or it's not? This seems to be a JMS issue so the fact that I am using Oracle shouldn't be an issue (as far as I can tell). There must be something I am doing wrong (or not at all) which is preventing the DefaultJMSProvider to act as expected. Any thoughts? Thanks, anders View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068032#4068032 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068032 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Stale state problem kills process instance?
I was continuing to simplify this case and took out first one node and then the other - resulting in: | Start || | Fork || | Join || | End | and am continuing to have the same error. So far, flows with no fork seem to work. These are other related results: S=start;F=Fork;FA=asynch fork;N=node;NA=asynch node;J=join;E=end | S--F--J--ESTALE | S--FA--J--E NO ERROR | S--F--N--J--E STALE | S--FA--N--J--E NO ERROR | S--FA--(N1, N2)--J--E NPE as below | S--FA--(NA1, NA2)--J--E NPE as below | | HTTP Status 500 - | | type Exception report | | message | | description The server encountered an internal error () that prevented it from fulfilling this request. | | exception | | javax.servlet.ServletException | javax.faces.webapp.FacesServlet.service(FacesServlet.java:256) | org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | | root cause | | java.lang.NullPointerException | java.lang.String.compareTo(String.java:998) | java.lang.String.compareTo(String.java:90) | org.jboss.gravel.data.action.SortActionListener$ELComparator.compare(SortActionListener.java:144) | java.util.Arrays.mergeSort(Arrays.java:1284) | java.util.Arrays.sort(Arrays.java:1223) | java.util.Collections.sort(Collections.java:159) | edu.emory.mathcs.backport.java.util.Collections.sort(Collections.java:31) | org.jboss.gravel.data.action.SortActionListener.processAction(SortActionListener.java:83) | javax.faces.event.ActionEvent.processListener(ActionEvent.java:77) | javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:758) | javax.faces.component.UICommand.broadcast(UICommand.java:368) | org.jboss.gravel.action.handler.ResponseActionsHandler.onComponentPopulated(ResponseActionsHandler.java:24) | com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:180) | com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47) | com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314) | com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169) | com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47) | com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314) | com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169) | org.jboss.gravel.common.handler.CollectionHandler.applyNextHandler(CollectionHandler.java:155) | com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169) | com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47) | com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314) | com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169) | com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47) | com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314) | com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169) | com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49) | com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25) | com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248) | com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294) | com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273) | com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:143) | com.sun.facelets.tag.ui.DecorateHandler.apply(DecorateHandler.java:105) | com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47) | com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314) | com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169) | com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47) | com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314) | com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169) | com.sun.facelets.tag.ui.DefineHandler.apply(DefineHandler.java:58) | com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:128) | com.sun.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:306) | com.sun.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:279) | com.sun.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:68) | com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47) | com.sun.facelets.compiler.NamespaceHandler.apply(Names
[jboss-user] [JBoss Seam] - Re: resource not registered org.richfaces.renderkit.images.T
As fernando_jmt mentioned, Ctrl+F5 also makes wonders sometimes. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068031#4068031 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068031 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Deploying to OC4J 10.1.3.1
OK. I now have it working. Long story short, oc4j 10.1.3 does not bundle the TLE jars. Adding that fixed the problem. I'm also bundling all the seam jars in the war and not touching the applib dir, unlike the wiki article above. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068028#4068028 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068028 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Evaluation of action attibute in s:link
When I think of it, I might be more willing to accept Gavin's suggestion. From the beginning I was not so sure if this should be made available. I wanted to discuss it with the folks but somehow the thread headed somewhere else. I think this issue will be discussed and eventually syntax will change in some way. It's not ready for a solution right now, or I simply don't see it. JBoss EL will make modifications, I just hope they will make it to a JSR. Thank you, dmitriy for sharing the code. I will look at it when I have more time. You have definitely saved me a lot of work. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068027#4068027 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068027 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to let user print off a list?
You can also use css to determine how the printing appears on paper... google "printing css" for examples. You can go as far as to have only one div show up for printing, or show divs in print that aren't visible on screen. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068026#4068026 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068026 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam security & user session...
You can use the identity object to check if the user is logged in, get the user name, etc. There is a method on identity to log out. Within your JSF page you can simply refer to #{identity.username} and in your code you can do @In Identity identity; (org.jboss.seam.security.Identity). There are many examples of how this works in the seam examples. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068025#4068025 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068025 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Stale state problem kills process instance?
I've set up JBPM with the web console and a datasource pointing to a postgres installation. Everything works fine and I can execute flows except for instances like this one which specifically does not work for me: | Start->Fork | | \ | Node1 Node2 | \/ | Join || | End | | Nodes 1 and 2 (this is the simplest case i could come up with though i have others that are more complex) are completely unconfigured, meaning no events, action or exception handlers on them. and nothing is set to asynchronous. heres the error i get in the web console: Error starting process: An exception of type "org.hibernate.StaleObjectStateException" was thrown. The message is: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.jbpm.graph.exe.Token#5672] I tried wiping out the rest of the processes in the database, tried every transaction isolation level in the datasource, restarting the app server etc. this is BTW running on 4.0.5GA and the latest JBPM from cvs. I added considerably to the logging and still can not see the stack trace of an exception anywhere in the log. When this happens it does not create an instance of the process - or if it does it rolls it back. without a stack trace its hard to figure out whats going on... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068024#4068024 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068024 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Application configuration parameters
I think that the DB option is the easiest by now. I think JNDI would be the best of the worlds, but I'm a newbie in JNDI and configuration in JBOSS. Do you recommend any article or a good JNDI tutorial with a JBOSS or JEE enphasis? btw... Thanks you all for the quick answer. Ricardo Memoria View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068023#4068023 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068023 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: URL for JBOSS 4.2.1 to the JBOSS config page is not work
thanks it works now View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068022#4068022 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068022 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Custom Logging in Seam
"matt.drees" wrote : Here's another (probably bad) idea. | | Create a Seam interceptor that looks for a @Logger field and replaces the default Log instance with yours. | | Of course, your stack traces are that much bigger and maybe method calls are a tiny bit slower, and I think you might have to annotate all of your classes. But maybe there are ways around that. Yes, this is possible using an @PostConstruct interceptor. Someday we really need to get around to allowing interceptors to be declared in components.xml, to save the need for an annotation. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068021#4068021 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068021 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Very basic validation question
"[EMAIL PROTECTED]" wrote : That's not true, validation annotations are supposed to work on SFSBs, but there was a bug in Seam 2.0 beta 1 that meant they had to be declared on the local interface. This is already fixed in CVS. Thanks for support. Seam is just great :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068020#4068020 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068020 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Custom Logging in Seam
"matt.drees" wrote : At first I was thinking that you could create an observer for "org.jboss.seam.postCreate.*", but then I found out events don't handle wildcards. | | Gavin, if you're still following this thread, are wildcard events a bad idea? I kinda like the thought... Hum, I guess it could be interesting, but I want to see a truly compelling usecase first. (This is not one.) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068019#4068019 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068019 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Custom Logging in Seam
"ucfjeff" wrote : We have a custom log implementation that wraps log4j. It collects extra application (appID, serverName, etc) and session data (sessionID, customerID, etc) for analysis while staying as close to the log4j style as possible. Why not just use the log4j NDC for this? Here's an example from Seam CVS: http://fisheye.jboss.com/browse/JBoss/jboss-seam/src/main/org/jboss/seam/web/LoggingFilter.java?r=1.2 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068018#4068018 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068018 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Very basic validation question
"[EMAIL PROTECTED]" wrote : The validation annotations are processed by Hibernate. They are *not* supposed to work on stateful session beans. To validate data in the session bean, you have to write your own validation code, or you can use JSF validator tags in the view page. That's not true, validation annotations are supposed to work on SFSBs, but there was a bug in Seam 2.0 beta 1 that meant they had to be declared on the local interface. This is already fixed in CVS. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068017#4068017 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068017 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Problem after mcving from 1.3 to 1.4
Thanks, Tim. I'll go back to using 1.3 for now. Peace, Anders View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068016#4068016 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068016 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: ClassCastException while while class transfering from ea
We'll I've gotten around the issue by using ejb remotes. (Before I was trying to access a local). I still wonder how I was getting the ClassCastException, since I would prefer to use locals while the war is inside the ear. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068015#4068015 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068015 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam security & user session...
Hi, How can I check user logged sessions in Seam? Example: User Martin login to app, and open another tab in FF and login on Peter account so there could be some errors. How can I check if user is logged, and if is, then logout user or throw some warning/error? Is this mechanism implemented in Seam Space example? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068014#4068014 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068014 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Very basic validation question
Hmm, are you sure? http://jira.jboss.com/jira/browse/JBSEAM-1626 seems to indicate that they should work on session beans. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068011#4068011 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068011 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Classloading issue either with JMS inflow, TM, or Hibernate
Issue with JBoss 4.2.0 Hibernate can't seem to find my class when it does a commit from a MDB. It seems Hibernate doesn't know the classloader, and The way to reproduce this is to create an EJB3 entity with a Serializable field, modify that field in an MDB, and you get this: | 2007-07-25 11:14:41,313 ERROR [AbstractFlushingEventListener] Could not synchronize database state with session | org.hibernate.type.SerializationException: could not deserialize | at org.hibernate.util.SerializationHelper.deserialize(SerializationHelper.java:214) | at org.hibernate.util.SerializationHelper.deserialize(SerializationHelper.java:240) | at org.hibernate.type.SerializableType.fromBytes(SerializableType.java:82) | at org.hibernate.type.SerializableType.deepCopyNotNull(SerializableType.java:74) | at org.hibernate.type.MutableType.deepCopy(MutableType.java:25) | at org.hibernate.type.SerializableToBlobType.deepCopy(SerializableToBlobType.java:102) | at org.hibernate.type.TypeFactory.deepCopy(TypeFactory.java:353) | at org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:114) | at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:248) | at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:232) | at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:140) | at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298) | at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27) | at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000) | at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338) | at org.hibernate.ejb.AbstractEntityManagerImpl$1.beforeCompletion(AbstractEntityManagerImpl.java:515) | at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:114) | at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:249) | at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:88) | at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:177) | at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1256) | 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.resource.adapter.jms.inflow.JmsServerSession$XATransactionDemarcationStrategy.end(JmsServerSession.java:494) | at org.jboss.resource.adapter.jms.inflow.JmsServerSession.run(JmsServerSession.java:248) | at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:204) | at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:275) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743) | at java.lang.Thread.run(Thread.java:595) | Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: com.example.msg.Message | at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:306) | at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:514) | at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:408) | at java.lang.ClassLoader.loadClass(ClassLoader.java:251) | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) | at java.lang.Class.forName0(Native Method) | at java.lang.Class.forName(Class.java:242) | at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:574) | at org.hibernate.util.SerializationHelper$CustomObjectInputStream.resolveClass(SerializationHelper.java:268) | at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1538) | at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460) | at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339) | at org.hibernate.util.SerializationHelper.deserialize(SerializationHelper.java:210) | ... 28 more | Looks like serialization expects the context classloader to be set correctly for the calling thread: | | public final class SerializationHelper { | ... | /** | * Custom ObjectInputStream implementation to more appropriately handle classloading | * within app servers (mainly jboss - hence this class inspired by jboss's class of | * the same purpose). | */ | private static final class CustomObjectInputStream extends ObjectInputStream { | ClassLoader loader = Thread.currentThread().getContextClassLoader(); | | View the original post : http://www.jboss.com/index.html?mo
[jboss-user] [EJB 3.0] - Callbacks with in Message Driven Pojo?
I like the idea of the MDP for simplifying the code for async calls, but in the examples that I see, there is no way for the client to know when the call has completed -- other than polling for some resultant type of data. Has there been any thought to being to pass some sort of callback object that the consumer can invoke, (callback probably tied to some temporary queue that the client who issued the original async call is listening on)? In the examples, it is mentioned regarding using the @CurrentMessage to get access to the JMS message including the ReplyTo field, yet I don't see any mechanism of how the sender can set the replyTo so that they can setup their own callback listener on that field. Additionally, considering that internally an ObjectMessage is being created/sent, does it even specify a replyTo arg? thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068009#4068009 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068009 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Problem after mcving from 1.3 to 1.4
This was covered in an earlier thread: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=114049 1.4.0.RC1 is only tested against Mysql - sorry I should have been more explicit about this in the release notes. Of course, for the GA we will have tested against all supported databases. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068008#4068008 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068008 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Exadel Plugins available in opensource
Congrats! I'm excited to see this great new best-of-bread product. Is there a time-line for the first official release? I'm currently using Exadel Studio Pro for training courses, and I'll have to jump ship unless I have a solid build that doesn't expire at the end of August. Also, will the JSF tooling still support Exadel Studio Pro templates? ~~~ Kito D. Mann - Author, JavaServer Faces in Action http://www.virtua.com - JSF/Java EE consulting, training, and mentoring http://www.JSFCentral.com - JavaServer Faces FAQ, news, and info * Sign up for the JSF Central newsletter! http://oi.vresp.com/?fid=ac048d0e17 * View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068007#4068007 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068007 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Does JBoss Portal support usernames with special charact
Sure, will try to look into it! In the meantime, is there a workaround for this that you can think of? I tried to submit the request as "userA" (as opposed to [EMAIL PROTECTED]), and then, add the suffix to authenticate the user in the custom LDAP login module. This doesn't work as the JBoss Portal code seems to always pick up the user Principal as "[EMAIL PROTECTED]". Really need to get past this issue, so any help would be appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068006#4068006 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068006 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: URL for JBOSS 4.2.1 to the JBOSS config page is not work
Have a look at these: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBoss42FAQ http://www.jboss.com/index.html?module=bb&op=viewtopic&t=113416 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068005#4068005 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068005 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - SSO + Programmatic Web Login
I have 3 web apps. 2 are using the regular j_security_check login and the other is using the new Web authenticaiton. I have single sign on setup up and if i log into the apps with the j_security_check and then go to the other 2 i stay logged in. But if i use the Web Authentication and go to the other apps, i am not logged in. Is there a way to do this? I'm guessing no since it seems that the Web Authentication login is just specific to that app but another opinion to confirm this would be much appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068004#4068004 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068004 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Problem after mcving from 1.3 to 1.4
When I run my test I get lots of these messages on the stdout: 2007-07-26 15:14:35,820 WARN [org.jboss.messaging.core.impl.JDBCPersistenceManager] SQLException caught - assuming deadlock detected, try:1 java.sql.SQLException: ORA-02291: integrity constraint (MANDERSO.SYS_C0011668) violated - parent key not found I hacked the DB and removed the referential integrity constraint (JBM_MSG_REF.MESSAGE_ID -> JBM_MSG.MESSAGE_ID) just to see what would happen i.e. not considering it a legitimate fix, and I ceased getting the messages and the test ran. I started getting other stack traces instead. I know that the database schema changed between 1.3 and 1.4. Is there some other configuration required to avoid the SQLException above? When I googled I only found one issue and that was re: duplicate keys, not parent key not found. Thanks, Anders View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068003#4068003 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068003 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - URL for JBOSS 4.2.1 to the JBOSS config page is not working
http://10.171.28.116:8080 this is our server and the server shows that we are up and listening on port 8080, but when I try and bring up the JBOSS config web page it tells me it cannot find the server... I checked our DNS, firewall and I don't know what else to check. Any suggestions View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068002#4068002 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068002 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: richfaces*.jar into where?
That is a good news. But i need it now. Is there a Beta version of the next release? The daily build is still one jar. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068001#4068001 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068001 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Does JBoss Portal support usernames with special charact
Thanks a lot ! (now if you find where it fails and can submit a patch that would be even better :-P i have to try ;) ) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068000#4068000 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068000 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Custom Logging in Seam
At first I was thinking that you could create an observer for "org.jboss.seam.postCreate.*", but then I found out events don't handle wildcards. Gavin, if you're still following this thread, are wildcard events a bad idea? I kinda like the thought... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067998#4067998 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067998 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - s:selectDate js error in IE in Seam 2.0 Beta
Hi all, There appears to a javascript problem preventing the selectDate component working in IE (v7 I have tried, no access to v6) with the released Beta version of Seam. It works fine in Firefox. Is this a known issue, and is there a workaround? Or is it resolved in the imminent CR release? cheers phil View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067995#4067995 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067995 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Custom Logging in Seam
Here's another (probably bad) idea. Create a Seam interceptor that looks for a @Logger field and replaces the default Log instance with yours. Of course, your stack traces are that much bigger and maybe method calls are a tiny bit slower, and I think you might have to annotate all of your classes. But maybe there are ways around that. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067994#4067994 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067994 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: UserFriendly URLs: Can we have an '_' instead of '+' in
Just to add to Sohil answer. You can name your page About_Us and localize it as "About Us" (see the doc) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067993#4067993 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067993 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Does JBoss Portal support usernames with special charact
Filed bug: http://jira.jboss.com/jira/browse/JBPORTAL-1614 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067992#4067992 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067992 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Very basic validation question
The validation annotations are processed by Hibernate. They are *not* supposed to work on stateful session beans. To validate data in the session bean, you have to write your own validation code, or you can use JSF validator tags in the view page. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067991#4067991 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067991 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Very basic validation question
So would somebody post a bugreport for this? I'm quite new to Java EE, and I'm afraid that I can't express the problem good enough yet. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067990#4067990 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067990 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: resource not registered org.richfaces.renderkit.images.T
make your code inside a form (a4j:form) that was by me. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067989#4067989 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067989 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: How to emulate ServiceMBeanSupport using AOP
Thanks ... Look forward to that in the annotated format. Actually, I find that a Lifecycle-Configure is probably the way to go, rather than doing an . One addendum, if somebody happens to try my code out, the aspect declaration works better as: | | | | | LifecycleCallback | | [/cpde] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067988#4067988 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067988 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: UserFriendly URLs: Can we have an '_' instead of '+' in
The 'Space' character being encoded as '+' is part of standard URL encoding rules set forth by the RFC 1738. see here for details: http://tools.ietf.org/html/rfc1738 If you need your URL to have an '_' instead of '+', make sure the value being encoded is About_Us and not About Us btw- I am just curious why the '+' sign in the URL matters when the title itself shows the 'Space' character as you would expect. The '+' does get decoded back into 'Space' character when your server receives the request Hope this helps. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067987#4067987 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067987 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Neither 2.0-SNAPSHOT nor 2.0.Beta work with Maven build
That's fine if you don't want to restructure. I don't see it as "complex", just tedious. Regarding optional dependencies, isn't this feature supported by maven? http://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html I'm really not familiar with this feature. Of course, setting these packages to optional will break people's code existing, but MC is pre-2.0. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067983#4067983 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067983 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Custom Logging in Seam
Here's an idea. I'm not a log4j guru, but it looks like you can specify a LoggerFactory in your log4j config file. So, maybe you can adapt/wrap your custom log impl as a log4j Logger, and make a LoggerFactory that produces those instead of the vanilla Logger objects. So, solve the problem completely above Seam. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067982#4067982 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067982 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Make a portal page not to be displayed as part of Tabs
I got work around. Modified the Tabs.jsp which saying that they should not spit our the html code for child nodes, which are pages under pages and thus achieved hiding feature for pages. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067980#4067980 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067980 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Problem after mcving from 1.3 to 1.4
I found that by undoing the change I made in accordance with Chapter 8 i.e. removing this line http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067979#4067979 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067979 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - UserFriendly URLs: Can we have an '_' instead of '+' in port
Envi: 2.6, 4.2, Oracle, Alfresco. I am trying to define user friendly URLs for portal pages. When i name a Portal page which gets added into the tab which has a space in it say something like "About Us" The value on the tab displays fine... But the url accessing it has the space replaced by '+', how can i replace that '+' say with an '_' Scenario in detail Page name under default portal, as defined in *-object.xml : About Us Page access url - current : /portal/defualt/About+Us Page access url - expecting :/portal/defualt/About_Us Please advice. Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067978#4067978 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067978 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - getClass() inside of seam component constructor
I print out getClass() value in a constructor of a seam bean and it is printed twice with different values. Two questions why is constructor invoked twice and why getClass values are different each time? [java] 15:16:41,684 ERROR [STDERR] -- getClass() class com.test.portal.web.common.CountryBean [java] 15:16:41,700 ERROR [STDERR] -- getClass() class com.test.portal.web.common.CountryBean_$$_javassist_53 Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067976#4067976 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067976 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Hibernate version supported
What Hibernate versions are supported with JBPM 3.2 and JBPM 3.1.4? Thanks for your reply.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067972#4067972 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067972 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: BMT does not work the expected way.
>From the EJB3 Persistence spec (section 5.3, page 116) it says to use: EntityManagerFactory emf = | javax.persistence.Persistence.createEntityManagerFactory("Order"); | EntityManager em = emf.createEntityManager(); when working in a Java SE environment. When working in an EE container use injection/JNDI lookup. For example: @Stateless | @TransactionManagement(TransactionManagementType.BEAN) | public class TravelAgentBean { | | @PersistenceUnit(unitName="titan") | private static EntityManagerFactory factory; | ...} | ps. you can get a UserTransaction with: @Resource UserTransaction tx; if you want to avoid the jndi lookup. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067973#4067973 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067973 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBPM 3.2.1 web app?does not display deployed process
I found this post: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=109765&postdays=0&postorder=asc&start=10 Which referenced an ant build (last post of the thread). I'm going to work through this documentation: http://www.jboss.com/products/jbpm/docs/deployment To see if the other deployment options work. On the suggestion of a friend I found some more syntax errors (still figuring out how to implement the mail actions using templates) which didn't cause any change in error messages. I also used windows task manager to see if I was running multiple servers and therefore deploying successfully to the one which was not being referenced by the web app, but as far as I could tell this was not the case. Does anyone has any suggestions about where I could look next for a solution? Thanks for your time, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067966#4067966 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067966 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user