[jboss-user] [JBoss jBPM] - Re: Doubt with subprocess
Hi fjfernandez, I have a similar problem and i didn't found a really good solution, so all i'm going to tell you should be used only as a guide. I writed all the definitions that were used only as subprocesses in an properties text file and this way i could filter the process definitions that were listed. This is a valid solution for your first problem, but i have not found the way for tasks from subprocess appearing in the window of the main process. Maybe my solution isn't the best, but is the only one i could find. If anyone can help or you find out anything about this, please post it. Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995521#3995521 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995521 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Problem setting webservice port with jboss 4.0.5
It works, thanks I have default\deploy\jbossws14.sar\jbossws.beans which is a file I rename the file and unzip it under default\deploy\jbossws14.sar\jbossws.beans (which is now a directory) and I find the relevant file as default\deploy\jbossws14.sar\jbossws.beans\META-INF\jboss-beans.xml Only I couldn't figure out that a 2Kb files could be an archive. I wonder why it was zipped. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995519#3995519 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995519 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: JBOSS Vs JAVA 6.0
There is no hard date for this and it's not a requirement either for J2EE1.4 or JavaEE5. For now we run testsuites under jdk6 to find out any issues. We'll probably target JBoss5, maybe not the first release. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995517#3995517 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995517 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Possible memory leak
Hi, We are getting OOMEs running our application. We have processed java heap dumps using IBM Heap analyzer for their JVM. It finds leak suspect org.hibernate.cfg.Settings. If someone is able to look whole heap dump, I can send it. Could somebody tell me why there is so many instances of org.hibernate.cfg.Settings and how to get rid of them? :) | 21 304 592 [216] 49 array of EDU/oswego/cs/dl/util/concurrent/ConcurrentReaderHashMap$Entry 0x93177138 | 21 302 216 [40] 3 EDU/oswego/cs/dl/util/concurrent/ConcurrentReaderHashMap$Entry 0x93090030 | 21 301 936 [240] 48 org/jboss/ejb3/stateful/StatefulContainer 0x92a117a0 |20 657 472 [40] 5 org/jnp/interfaces/NamingContext 0x92a12c68 | 20 262 616 [40] 4 org/jnp/server/NamingServer 0x92a12770 | 20 261 936 [56] 2 java/util/Hashtable 0x92a12790 | 20 261 880 [32] 3 array of java/util/Hashtable$Entry 0x92a127b8 |20 261 176 [40] 4 java/util/Hashtable$HashtableCacheHashEntry 0x954b6070 | 20 258 640 [48] 4 javax/naming/Binding 0x954b6050 | 20 258 592 [32] 3 org/jnp/interfaces/MarshalledValuePair 0x954b5e20 | 20 258 296 [40] 3 org/jboss/ejb3/BaseSessionContext 0x954b5e08 |20 257 888 [112] 9 org/jboss/ejb3/stateful/StatefulBeanContext 0x954b5d78 | 11 653 656 [64] 4 java/util/HashMap 0x954b6df0 | 11 653 528 [24] 2 array of java/util/HashMap$Entry 0x954b6e20 | 11 653 504 [40] 3 java/util/HashMap$Entry 0x954b6e70 |11 653 464 [64] 7 org/hibernate/ejb/EntityManagerImpl 0x954b60c8 | 11 643 048 [144] 25 org/hibernate/impl/SessionFactoryImpl 0x92b56548 | 5 782 520 [200] 14 org/hibernate/cfg/Settings 0x935c31b8 | 3 820 536 [40] 4 org/hibernate/engine/query/QueryPlanCache 0x935f84f8 | 1 389 712 [304] 100 class org/hibernate/impl/SessionFactoryImpl 0x35f2a360 | 549 256 [64] 3 java/util/HashMap 0x93854eb8 | 71 872 [144] 30 org/hibernate/event/EventListeners 0x92b56f30 | 9 432 [56] 2 java/util/Properties 0x935fab28 | 5 416 [40] 2 java/util/Collections$UnmodifiableMap 0x93869990 | 3 656 [64] 2 java/util/HashMap 0x93869b30 | 3 112 [24] 1 org/hibernate/ejb/Ejb3Configuration$Ejb3EntityNotFoundDelegate 0x92a73918 | 1 496 [280] 6 org/hibernate/stat/StatisticsImpl 0x935f7480 | 1 280 [32] 3 org/hibernate/context/JTASessionContext 0x9366bc88 | 1 176 [64] 2 java/util/HashMap 0x935fcb18 | Br, Juha Moisio View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995515#3995515 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995515 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: How contribute to Freemarker plugin and add my Plugin ec
"azerr" wrote : anonymous wrote : Please send a *patch* and not just an updated plugin. | | I have sent you my Freemarker updated, because I would like that you see my new feature and that you validate it. I have change a lot of code like package name, so I'm waiting for your validation. | Yes, I received it; but please send it as a *patch*. anonymous wrote : | anonymous wrote : | | Hibernate tools can also generate different artifacts; nothing special about that. | I agree with you, but when you want generate any component, you must respect some rules, like have java classes bean in your project. Imagine you want generate components for PHP, Hibernate mapping is used to get metadata of your database (with Hibernate Tools), BUT you need not to have Bean classes when you want generate components like PHP page. | You only need the java classes in your project if you haven't specified all the types of your mapping files. e.g. when you generate pojo's you just need the mapping files - no classes; otherwise hbm2java could not be possible. anonymous wrote : | If you want use others XML model, like XMI, WSDL, ... is it possible to use Hibernate Tool for generate component without XML mapping hibernate but with WSDL, XMI,... XML models? | | anonymous wrote : ditto for Hibernate Tools. | I'm sorry, I don't understand what you mean? Is it possible with Hibernate Tools, to generate Bean, DTO and Assembleur (which transform Bean to DTO and DTO to Bean)? | We don't have those implemented (except "bean), but nothing in the tools prevents it. anonymous wrote : | anonymous wrote : In Hibernate Tools these are called "Exporters"; we don't have a generic way of describing them but if someone wants to add it feel free ;) | Akrogen is not bulk generator. When you develop a new CRUD Form, you want generate ONLY components for this form (just the ActionForm for instance, because others developpers has for instance already developped another components that you don't want generate), sometimes, you want update name of your CRUD form, sometimes you want update others parameters. Hibernate Tools is bulk generator, Akrogen is not bulk generator. It generate ONLY the component for a XML model that you need. | | If you take the functionnality Source/Generate getter/setter in the Eclipse, you can checked the getter/setter that you want generate and not all the getter/setter of your class. Akrogen have the same goal. | I don't get your "bulk" argument here ? Hibernate tools defaults to generate for all entities and components but that can of course be controlled by the exporter if you want to.and adding a "generate only *this* part" is of course possilbe If I understand your docs at http://akrogen.sourceforge.net/generation/wizard.html you have some nice wizard page generation which if I understand it correctly is something that would be nice to have for our Exporters (today we "just" have an table where you can set the property values) This page http://akrogen.sourceforge.net/generation/component.html I don't get ...the template looks waay more complex than what I would think is necessarybut maybe I just don't believe in too generic code generation ;) tip: If you want users to understand Akrogen features you should try and document it with some better examples, the current page is very sparse on information. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995516#3995516 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995516 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - java.lang.RuntimeException: java.lang.NoSuchMethodException:
Hi All, I am trying to use jBoss AOP cache in my application and I am using AOP pre-compiler to precompile my POJO which is used for session replication. I was successfull in deploying the application in Windows, but when I tried deploying it in Unix, I am getting an exception when trying to create an instance of the POJO whose byte code was weaved at compile time. I am running jBoss 4.0.5 and JDK 1.5.0_07-b03. I am stuck here and any help would be greatly appreciated! Please find below the stack trace at com.users.impl.UserSystemImpl.getUser(UserSystemImpl.java:204) at com.users.impl.UserSystemImpl.validateAPIKey(UserSystemImpl.java:672) at com.api.security.AuthenticationRestlet.handle(AuthenticationRestlet.java:106) at com.impl.RestletTarget.handle(RestletTarget.java:170) at com.impl.MapletImpl.delegate(MapletImpl.java:212) at com.impl.MapletImpl.handle(MapletImpl.java:162) at org.restlet.component.RestletContainer.handle(RestletContainer.java:220) at com.impl.RestletTarget.handle(RestletTarget.java:170) at com.impl.MapletImpl.delegate(MapletImpl.java:212) at com.impl.MapletImpl.handle(MapletImpl.java:162) at org.restlet.component.RestletContainer.handle(RestletContainer.java:220) at com.api.support.RestTarget.handle(RestTarget.java:71) at com.api.ServerServlet.handle(ServerServlet.java:403) at com.api.ServerServlet.handle(ServerServlet.java:388) at com.api.ServerServlet.service(ServerServlet.java:204) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) at org.jboss.web.tomcat.tc5.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:87) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodException: addObserver at org.jboss.aop.ClassAdvisor.attachClass(ClassAdvisor.java:250) at org.jboss.aop.AspectManager.getAdvisor(AspectManager.java:459) at com.users.impl.UserImpl.(UserImpl.java) ... 36 more Caused by: java.lang.NoSuchMethodException: addObserver at org.jboss.aop.ClassAdvisor.getMethod(ClassAdvisor.java:261) at org.jboss.aop.ClassAdvisor.getMethod(ClassAdvisor.java:269) at org.jboss.aop.ClassAdvisor.populateMixinMethods(ClassAdvisor.java:332) at org.jboss.aop.ClassAdvisor$1.run(ClassAdvisor.java:228) at java.security.AccessController.doPrivileged(Native Method) at org.jboss.aop.ClassAdvisor.attachClass(ClassAdvisor.java:209) Thanks Jugs View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995523#3995523 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995523 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - java.lang.RuntimeException: java.lang.NoSuchMethodException:
Hi All, I am trying to use jBoss AOP cache in my application and I am using AOP pre-compiler to precompile my POJO which is used for session replication. I was successfull in deploying the application in Windows, but when I tried deploying it in Unix, I am getting an exception when trying to create an instance of the POJO whose byte code was weaved at compile time. I am running jBoss 4.0.5 and JDK 1.5.0_07-b03. I am stuck here and any help would be greatly appreciated! Please find below the stack trace at com.users.impl.UserSystemImpl.getUser(UserSystemImpl.java:204) at com.users.impl.UserSystemImpl.validateAPIKey(UserSystemImpl.java:672) at com.api.security.AuthenticationRestlet.handle(AuthenticationRestlet.java:106) at com.impl.RestletTarget.handle(RestletTarget.java:170) at com.impl.MapletImpl.delegate(MapletImpl.java:212) at com.impl.MapletImpl.handle(MapletImpl.java:162) at org.restlet.component.RestletContainer.handle(RestletContainer.java:220) at com.impl.RestletTarget.handle(RestletTarget.java:170) at com.impl.MapletImpl.delegate(MapletImpl.java:212) at com.impl.MapletImpl.handle(MapletImpl.java:162) at org.restlet.component.RestletContainer.handle(RestletContainer.java:220) at com.api.support.RestTarget.handle(RestTarget.java:71) at com.api.ServerServlet.handle(ServerServlet.java:403) at com.api.ServerServlet.handle(ServerServlet.java:388) at com.api.ServerServlet.service(ServerServlet.java:204) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) at org.jboss.web.tomcat.tc5.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:87) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodException: addObserver at org.jboss.aop.ClassAdvisor.attachClass(ClassAdvisor.java:250) at org.jboss.aop.AspectManager.getAdvisor(AspectManager.java:459) at com.users.impl.UserImpl.(UserImpl.java) ... 36 more Caused by: java.lang.NoSuchMethodException: addObserver at org.jboss.aop.ClassAdvisor.getMethod(ClassAdvisor.java:261) at org.jboss.aop.ClassAdvisor.getMethod(ClassAdvisor.java:269) at org.jboss.aop.ClassAdvisor.populateMixinMethods(ClassAdvisor.java:332) at org.jboss.aop.ClassAdvisor$1.run(ClassAdvisor.java:228) at java.security.AccessController.doPrivileged(Native Method) at org.jboss.aop.ClassAdvisor.attachClass(ClassAdvisor.java:209) Thanks Jugs View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995524#3995524 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995524 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - sql server connection
Hi all, i need some urgent help from somebody: thanks in advance... in my application i used seam setup, in the database connection bit i used sqlserver, i BELIEVE that i have connection url and right driver class! and my goal is to generate all the tables from my ejb3 classes. i can see the tables are generated in the buildin hsql db, BUT once i connected over to sqlserver, the tables are NOT generated!! i miss some configuration somewhere or? here is the build.property from seam-gen: #Wed Dec 20 11:46:56 CET 2006 model.package=com.omxgroup.oith driver.jar=lib/jtds-1.2.jar project.name=nprj hibernate.connection.driver_class=net.sourceforge.jtds.jdbc.Driver database.drop=y jboss.home=C\:/Program4/jboss-4.0.5.GA test.package=com.omxgroup.oith.test hibernate.dialect=org.hibernate.dialect.SQLServerDialect workspace.home=C\:/Projects database.exists=n action.package=com.omxgroup.oith database.type=mssql hibernate.connection.username=sa hibernate.connection.url=jdbc\:jtds\:sqlserver\://localhost\:1433;DatabaseName\=nprj;SelectMethod\=cursor hibernate.connection.password=sa eclipse.wtp=n View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995525#3995525 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995525 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - java.lang.RuntimeException: java.lang.NoSuchMethodException:
Hi All, I am trying to use jBoss AOP cache in my application and I am using AOP pre-compiler to precompile my POJO which is used for session replication. I was successfull in deploying the application in Windows, but when I tried deploying it in Unix, I am getting an exception when trying to create an instance of the POJO whose byte code was weaved at compile time. I am running jBoss 4.0.5 and JDK 1.5.0_07-b03. I am stuck here and any help would be greatly appreciated! Please find below the stack trace at com.users.impl.UserSystemImpl.getUser(UserSystemImpl.java:204) at com.users.impl.UserSystemImpl.validateAPIKey(UserSystemImpl.java:672) at com.api.security.AuthenticationRestlet.handle(AuthenticationRestlet.java:106) at com.impl.RestletTarget.handle(RestletTarget.java:170) at com.impl.MapletImpl.delegate(MapletImpl.java:212) at com.impl.MapletImpl.handle(MapletImpl.java:162) at org.restlet.component.RestletContainer.handle(RestletContainer.java:220) at com.impl.RestletTarget.handle(RestletTarget.java:170) at com.impl.MapletImpl.delegate(MapletImpl.java:212) at com.impl.MapletImpl.handle(MapletImpl.java:162) at org.restlet.component.RestletContainer.handle(RestletContainer.java:220) at com.api.support.RestTarget.handle(RestTarget.java:71) at com.api.ServerServlet.handle(ServerServlet.java:403) at com.api.ServerServlet.handle(ServerServlet.java:388) at com.api.ServerServlet.service(ServerServlet.java:204) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) at org.jboss.web.tomcat.tc5.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:87) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodException: addObserver at org.jboss.aop.ClassAdvisor.attachClass(ClassAdvisor.java:250) at org.jboss.aop.AspectManager.getAdvisor(AspectManager.java:459) at com.users.impl.UserImpl.(UserImpl.java) ... 36 more Caused by: java.lang.NoSuchMethodException: addObserver at org.jboss.aop.ClassAdvisor.getMethod(ClassAdvisor.java:261) at org.jboss.aop.ClassAdvisor.getMethod(ClassAdvisor.java:269) at org.jboss.aop.ClassAdvisor.populateMixinMethods(ClassAdvisor.java:332) at org.jboss.aop.ClassAdvisor$1.run(ClassAdvisor.java:228) at java.security.AccessController.doPrivileged(Native Method) at org.jboss.aop.ClassAdvisor.attachClass(ClassAdvisor.java:209) Thanks Jugs View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995526#3995526 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995526 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: components.xml
are you meaning to put configuration for all classes in the com.helloworld package in com/helloworld/components.xml or put configuration for a class named com.helloworld.Hello in a resource named com/helloworld/Hello.component.xml ? :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995527#3995527 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995527 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Pageflow and @StartTask
Ok, it is working now. I was blind with injection and I couldn't see the easiest way. Thank you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995528#3995528 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995528 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: error regarding log4j
Hi, you could look at the modified date of the log4j.xml and on the server date. I had this problem when the server date was behind the date of the computer where I changed the log4j.xml. Then jboss compares the system date with the last modified date and realizes a modification on the file. I helped for me to change the log4j.xml on the machine where the jboss is running or fixing any datetime differences. Peter View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995529#3995529 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995529 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: java.lang.RuntimeException: java.lang.NoSuchMethodExcept
Are you sure you are aopc'ing and running with the same version of aop? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995531#3995531 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995531 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: JCA as a UDP interface (design query)
Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995534#3995534 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995534 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Vacation
Go for it and enjoy I will wait for your touch in WS... I have dreams about it (sometimes nithmare)... and I will do my best for Norman... Thanks, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995537#3995537 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995537 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - java.lang.NoClassDefFoundError: org/jaxen/VariableContext
When I upgraded from 4.0.4GA to 4.0.5GA I started to get problems with passivation, see below: 19:50:35,960 ERROR [SimpleStatefulCache] problem passivation thread javax.ejb.EJBException: Could not passivate; failed to save state at org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersist enceManager.java:363) at org.jboss.ejb3.cache.simple.SimpleStatefulCache.passivate(SimpleStatefulCache.java:196) at org.jboss.ejb3.cache.simple.SimpleStatefulCache$SessionTimeoutTask.run(SimpleStatefulCache.java:129) Caused by: java.io.IOException Caused by: java.lang.NoClassDefFoundError: org/jaxen/VariableContext I do not have any clustering turned on and should not have any caching but I still get this problem. The class org/jaxen/VariableContext is in the jar jaxen.jar in jboss_home/server/default/lib so why can Jboss not find his class and why is it needed. Any help is very much appreciated! /Fredrik View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995539#3995539 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995539 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: Listing all EJBs through JMX
You can navigate the jsr77 tree using a simple jmx query: *:j2eeType=EjbModule,* Try JBOSS_HOME/bin/twiddle jsr77 on the latest jboss or look how it is implemented in the source code. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995541#3995541 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995541 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: integration with Trinidad (ADF)
Hello you are using Trinitad with a4j, so try with ajax4jsf 1.0.5 and a4j-trinidad.jar see https://ajax4jsf.dev.java.net/nonav/ajax/ajax-jsf/download.html#binary Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995542#3995542 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995542 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: java.lang.RuntimeException: java.lang.NoSuchMethodExcept
Can you double check your classpath. Or specifically sometimes two different versions of jboss-cache.jar? And you have same vm for Windows and Unix? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995543#3995543 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995543 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: How contribute to Freemarker plugin and add my Plugin ec
anonymous wrote : Yes, I received it; but please send it as a *patch*. That's done. anonymous wrote : You only need the java classes in your project if you haven't specified all the types of your mapping files. e.g. when you generate pojo's you just need the mapping files - no classes; otherwise hbm2java could not be possible. Sorry, I have not seen. anonymous wrote : We don't have those implemented (except "bean), but nothing in the tools prevents it. Is it easy to change default architecture (bean) with another architecture? With Akrogen you can create your own Project (MyJ2EE project) and add it component, wizard, for your architecture. anonymous wrote : I don't get your "bulk" argument here ? Hibernate tools defaults to generate for all entities and components but that can of course be controlled by the exporter if you want to.and adding a "generate only *this* part" is of course possilbe My explanation was not enough good. Imagine you want create finder DAO with specific criteria (findByCountryId). With Akrogen you can create XML component which generate this method. For this, you must create a template (XSL, Freemarker), and create a XML component MyComponent (parameters IN criteria => XML => display list of your hbm property into the list checkable). When you select the hbm (menu AKROGE->Components->MyComponent) , the XML component will display a Wizard page, with all property of your hbm. you check Id property and click finish, your DAO findByCountryId will be generated. anonymous wrote : tip: If you want users to understand Akrogen features you should try and document it with some better examples, the current page is very sparse on information. I agree with you my documentation is very bad. I have a lot of development for Akrogen (ex : I work to export Freemarker Plugin context .freemarker-ide.xml and build auomaticly Akrogen XML component). I'm searching people to help me to develop Akrogen and write documentation, but it's very difficult. Thank you for your answer. Angelo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995546#3995546 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995546 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: @manytoone left join problem
I have the same problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995545#3995545 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995545 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
jboss-user@lists.jboss.org
Hmmn... You are right this is problematic. Each time when a pojo is attached, a new cache node will be created under __JBossInternal__. So for optimistic locking this will be problem for concurrent transaction. This will evitably create high rate of rollback and degrade the performance. I ahve created a jira: http://jira.jboss.com/jira/browse/JBCACHE-915 A partial workaround is to use "region" in cache such that __JBossInternal__ is separate for each region. However, for concurrent access under the same region, the problem would still exist. Any reason that you must use optimistic locking? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995547#3995547 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995547 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Jboss Web Server Performance Tuning
Hi All, Any suggestions for tuning jboss web server? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995548#3995548 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995548 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam And ICEFaces menubar
no ideas?? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995550#3995550 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995550 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Examples for Usage&Configuration of PojoCache
Are there any examples/codesnippets/docs for using the pojocache-component?! And talking about this component - is there generally any documentation on the components supplied with seam? The notes in the documentation are a little bit sparse, some code-snippets to exemplify the usage&configuration would be helpful... thx stf View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995552#3995552 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995552 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - Container managed transaction with transaction attribute "No
Hi, How does the EJB container will acknowledges the messages, if the MDB users Container managed transaction with transaction attribute "NotSupported"??. I had read that if transaction attribute is "required" container will acknowledge the message when it commits it.But in the case of "NotSupported" there is no transaction. Thanks and regards unnis View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995551#3995551 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995551 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Jboss Cache Tuning
Any suggestions for tuning Jboss Cache? What are all the configurations/Parameteres we need to look into? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995554#3995554 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995554 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - JBoss Default Portal Redirection after Successful Login
Hi, I want to login to my portal after successful authentication from the Jboss Portal Login Page. Any help on how could i acheieve that. Thanks in Advance Sridhar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=399#399 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=399 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - problems following jbossIDE tutorial
Hi. I've just started using JbossIDE and i'm following the tutorial but i'm stucked on step 5. The problem is that once i've configured (as described on tutorial) the xdoclet configuration and make it run, it seems that xdoclet doesn't generate the home and remote interfaces, neither modifies the ejb-jar.xml and jboss.xml, this generate various errors (because this xml don't have any description of the bean...) Can anyone help me? i'm using jbossIDE 1.6 over a clean eclipse 3.1.2 installation View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995556#3995556 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995556 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Hibernate, fetch-join + order by order problem
Hello I have normal master-detail table pair where master table has mapping like this (important snippets): | | ... | | | ... | | | | | ... | | So I have analyzes ordered by their start_ts column. Now we need process big portion of BEs along with their analysis and we used fetch join in order to do it quickly (lazy load was unacceptably slow - too many selects). Code for listing those BE with analysis. Criteria criteria = session.createCriteria(BE.class); | ... | criteria.addOrder(Order.asc("stopTimestamp")); | criteria.setFetchMode("analysis", FetchMode.JOIN); | return (Collection) criteria.list(); And now tail of the generated SQL: ... order by analysis2_.start_ts, this_.STOP_TS asc (this_ is be table of course) Problem is that I need to order by stop_ts first (be order is much more important, than comes the order of related analysis). What's the cure for this? Thanks for hint Virgo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995557#3995557 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995557 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: java.lang.RuntimeException: java.lang.NoSuchMethodExcept
Hi Ben, Thanks for the reply. I am using jboss-cache-jdk50.jar and I am attaching the MANIFEST below Manifest-Version: 1.0 Ant-Version: Apache Ant 1.6.2 Created-By: 1.5.0_06-b05 (Sun Microsystems Inc.) Built-By: rrajasekaran Created-On: August 11 2006 Main-Class: org.jboss.cache.Version Specification-Title: JBossCache Specification-Version: 1.4.0.SP1 Specification-Vendor: JBoss Inc. Implementation-Title: JBossCache Implementation-Version: 1.4.0.SP1 Implementation-Vendor: JBoss Inc. Default jBoss installation has a jboss-aop.deployer folder where there is a acopy jboss-aop.jar and I am using jboss-aop-jdk50.jar. As for the JVM, windows version is jre1.5.0_06 and Unix is build jre1.5.0_07-b03. Thanks Jugs View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995559#3995559 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995559 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - HelloWorld-Ajax with Facelets
Hello, running the helloworld4 example with .jsp from JBoss Seam Book was successful. Here the code: ManagerAction.java int MAX_RESULTS_RETURNED = 10; | String [] popularNames = new String [] { | "Gavin King", "Thomas Heute", "Michael Yuan", | "Norman Richards", "Bill Burke", "Marc Fleury" | }; | public void suggestName (FacesContext context, |String partialName, CompletionResult result) { | | System.out.println("Auto Complete method is called"); | | int totalNum = 0; | if (partialName.length() > 0) { | for (int i=0; i | | | | | | | Now, when I use Facelets for a similar example with same Bean-Code I receive the Error: ELException: /hello2.xhtml: Bean: org.jboss.seam.intercept.Proxy$$EnhancerByCGLIB$$73f8c9e7, property: suggestName 11:29:38,603 ERROR [STDERR] 21.12.2006 11:29:38 com.sun.facelets.FaceletViewHandler handleRenderException | SCHWERWIEGEND: Error Rendering View[/hello2.xhtml] | javax.el.ELException: /hello2.xhtml: Bean: org.jboss.seam.intercept.Proxy$$EnhancerByCGLIB$$73f8c9e7, property: suggestName | at com.sun.facelets.compiler.AttributeInstruction.write(AttributeInstruction.java:53) | at com.sun.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:39) | at org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:433) | at org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChildren(RendererUtils.java:419) | at org.apache.myfaces.shared_impl.renderkit.html.HtmlGroupRendererBase.encodeEnd(HtmlGroupRendererBase.java:75) | at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:536) | at org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:442) | at org.apache.myfaces.shared_impl.renderkit.html.HtmlGridRendererBase.renderChildren(HtmlGridRendererBase.java:216) | at org.apache.myfaces.shared_impl.renderkit.html.HtmlGridRendererBase.encodeEnd(HtmlGridRendererBase.java:98) | at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:536) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:242) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239) | at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:580) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:32) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(Maste
[jboss-user] [JBoss Seam] - ...rendered="#{}" and s:link
Hi, I have seam link like: why rendered doesn't works here? I have object in session scope loggedIn, and when object is != null I want to render him. h:commnadLink works fine... can anyone tell me why s:link don't interpate "rendered"? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995562#3995562 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995562 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Vacation
+1 - Merry Xmas and a happy new year to all of you! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995563#3995563 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995563 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: ...rendered=
The renderer appears to ignore that attribute, so it looks like a bug. I suggest you file a jira issue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995564#3995564 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995564 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - RC9 Patch 1 released
The EJB 3.0 RC9 Patch 1 implementation is only usable with JBoss 4.0.5.GA. The patch has been released to provide compatibility with the full (non-installer) release for JBossAS 4.0.5. The patch also corrects a problem with the installer version that caused hot redeploys to fail with a classloading issue. You can download the RC9 patch 1 release here: http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=132063&release_id=471103 Please follow the instructions in INSTALL.html to install the patch. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995565#3995565 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995565 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Examples for Usage&Configuration of PojoCache
I can't find this in an example. But it is really easy. Add jgroups.jar jboss-cache.jar (see the seam lib dir), add a treecache.xml (example in the remoting/chatroom example) to your ear, (make sure they are on the ear classpath, e.g. put them in application.xml), add a tag to the page surrounding the portion of the view to cache, watch it cache. You can tune it from treecache.xml. This is all the integration seam has with cache afaik, but you can use the pojocache component in your beans e.g. PojoCache.instance().put(region, key, content); | PojoCache.instance().get(region, key); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995566#3995566 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995566 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Examples for Usage&Configuration of PojoCache
I created http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamExamplesByConcept this to hopefully make it easier to find stuff in the examples. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995567#3995567 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995567 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: ...rendered=
BTW, problem ise s:link is always rendered every time when loggedIn is null or not!:/ Using Seam 1.1.0GA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995569#3995569 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995569 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam cannot find my components
That's a classloading problem, of your classes. Check your ear structure - post it if you're stuck. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995568#3995568 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995568 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: java.lang.RuntimeException: java.lang.NoSuchMethodExcept
Hi Kabir, Thanks for your reply. I am using the same version of jBoss Cache ( JBossCache-1.4.0.SP1 ) and AOP ( jboss-aop-1.3.5 ). Infact jBoss Cache is bundling jboss-aop-jdk50.jar and I am using that in both aopc'ing and running the application. Thanks, Jugs View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995575#3995575 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995575 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Examples for Usage&Configuration of PojoCache
thx peter, that was everything I needed: And the remoting-example is really helpful, shows everything I wanted to know! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995578#3995578 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995578 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Cache, missing entries
Both tx run on the same cache isntance. Here is more datailed call flow 1-2) each tx has its own localCacheCopy Set keys=treeCache.getKeys(nodeName) Iterator it=keys.iterator() Map localCacheCopy=; while(it.hastNext() { Object key=it.next(); Object val=treeCache.getObject("OURCACHE",key) localCacheCopy.put(key,val)l } //Store localCacheCopy in tx local data. 3-4) getLocalCacheCopy().put("ALA","ALA"); getLocalCacheCopy().put("BEATA","BEATA"); - retrieves localCacheCopy for Tx[1] 5) getLocalCacheCopy().remove("OLA"); - retrieves localCacheCopy for Tx[2] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995585#3995585 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995585 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - cache loader which saves only on shutdown
Can I configure a cache loader so that it doesn't save cached objects every time there is a put or remove, but only during shutdown? Such a configuration would be used in a cluster containing two processes on the same machine. It is acceptable if the content of the distibuted cache is lost occassinally, but restarting both processes nearly at the same time shouldn't empty the cache. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995586#3995586 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995586 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Two errors on startup
Yes, jboss-remoting is there. I'll speak with my boss about upgrading. I'm doing my work on a testing server, but the production site runs the same versions, and he is understandably reluctant to muck with a working production site unless absolutely necessary. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995588#3995588 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995588 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Error : hibernate.cfg.xml file not found
I placed hibernate.cfg.xml in web-inf folder and i tried to deploy but when iam running the application that will not finding the hibernate.cfg.xml file Even i tried using hibernate.cfg.xml file in server\default\deploy folder in jboss server also but the same error iam getting . I placed all the hbm.xml files in lib folder of the application suresh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995587#3995587 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995587 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: Listing all EJBs through JMX
Hi dimitris, I tried to use twiddle according to the examples (http://docs.jboss.org/jbossas/jboss4guide/r1/html/ch2.chapter.html), but I only got error messages, such as: C:\jboss-4.0.3SP1\bin>twiddle query 'jboss:service=JNDIView' | 13:48:38,772 ERROR [Twiddle] Command failure | org.jboss.console.twiddle.command.CommandException: Unused argument: JNDIView' | at org.jboss.console.twiddle.command.QueryCommand.processArguments(Query | Command.java:104) | at org.jboss.console.twiddle.command.QueryCommand.execute(QueryCommand.j | ava:119) | at org.jboss.console.twiddle.Twiddle.main(Twiddle.java:290) | or even C:\jboss-4.0.3SP1\bin>twiddle query '*:j2eeType=EjbModule,*' | 13:50:26,810 ERROR [Twiddle] Command failure | org.jboss.console.twiddle.command.CommandException: Unused argument: EjbModule | at org.jboss.console.twiddle.command.QueryCommand.processArguments(Query | Command.java:104) | at org.jboss.console.twiddle.command.QueryCommand.execute(QueryCommand.j | ava:119) | at org.jboss.console.twiddle.Twiddle.main(Twiddle.java:290) I am using JBoss-4.0.3-SP1 and Java 5. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995590#3995590 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995590 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Global environment entries
I'm trying to get some form of global environment entry so that it can be seen in JNDI by everybody. We want a series of bits of information to be stored that will be different depending on whether the server is in a dev/test environment and a live environment. In Tomcat we used server.xml Environment tags, but this doesn't seem to work in JBoss. I found the JNDI Binding Manager, but this causes me problems too, as it produces the cryptic error message ObjectName: jboss.tests:name=example1 State: FAILED Reason: org.jboss.deployment.DeploymentException: No property editor for attribute: BindingsConfig; type=class org.jboss.naming.JNDIBindings This is for the example that's in the documentation! We're using jboss4.0.5 with the EJB3 extensions. The only other way I can see to attack this problem is something like a custom bit of Java code that does the necessary work, or alternatively storing the properties in a database, but both of them seem like a bit of a waste. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995592#3995592 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995592 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - auth-method FORM ? realm-name ? JBoss-4.0.5GA, what i missed
HELP PLS! I don't know where to search for the decision of my problem. There is some application that use FORM authentication method. These are fragments of config-files. login-config.xml: | | ... | | | | guest | java:/PostgreDS | SELECT PASSWD FROM SYS_USERS WHERE USERID=? | SELECT ROLEID, 'Roles' FROM SYS_ROLES WHERE USERID=? | | | | | web.xml: |... | | FORM | MyDomain | |/LoginForm.jsp |/LoginForm.jsp | | |... | jboss-web.xml: | | java:/jaas/MyDomain | | but when i try open application in browser, in log file appears this message: | ... | 00:00:27,890 ERROR [UsersRolesLoginModule] Failed to load users/passwords/role files | java.io.IOException: No properties file: users.properties or defaults: defaultUsers.properties found | at org.jboss.security.auth.spi.Util.loadProperties(Util.java:315) | at org.jboss.security.auth.spi.UsersRolesLoginModule.loadUsers(UsersRolesLoginModule.java:186) | at org.jboss.security.auth.spi.UsersRolesLoginModule.createUsers(UsersRolesLoginModule.java:200) | at org.jboss.security.auth.spi.UsersRolesLoginModule.initialize(UsersRolesLoginModule.java:127) | ... | 00:00:27,890 ERROR [AuthenticationManager] Couldn't log in. | Message=Missing users.properties file. | And i can'nt perform login in my application. Whence has appeared UsersRolesLoginModule, if I specified DatabaseServerLoginModule? What i missed? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995594#3995594 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995594 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - ERROR : hibernate.cfg.xml file not found
Hi , In my web application i used hibernate.cfg.xml where the file should be placed exactly. my application structure is given below jbpm>src --->.java files web-inf >classes hibernate.cfg.xml liball the jars when iam deploying my application in jboss server using hibernate it will not finding hibernate.cfg.xml file Thanks, Suresh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995597#3995597 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995597 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - I want to know all my Endstate in graph?
salut I have à graph, I'm doing the function for access at node of graph. I need to do a function for recover all my endstate. I readed the documentation, I don't find what I need. is there a function which does that? or I must program it thank you for your help View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995598#3995598 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995598 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - JBoss doesnt release threads after executing MDB (out of Mem
Hi, I am using JBoss AS jboss-4.0.2. I am getting OutOfMemoryError when I send the messages to an MDB. It happens after i send 30-40 messages. What I have observed on the web-console of Jboss is that #Threads increases by some 30 whenever I sent one message to a queue. Even though message is getting consumed instantly, the thread count doesn?t come down but keep on increasing by a factor of approx 30 or more with each message. After sometime it reaches some 2000 figure and server starts giving out of memory error. If I make process synchronous (I mean not use MDB) , thread count doesnt increase. It implies that each message is adding approx. 30 threads and threads are not released after messages are getting consumed. Can anybody explain it and give a fix ? Please find the stack of errors below. I get either of these two stacks. Any help will be appreciated. Thank you Suhail 20 Dec 2006 16:20:10,176 WARN (UILServerILService Accept Thread:) [org.jboss.mq.il.uil2.UILServerILService] Unexpected error in setup of client connection java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:574) at org.jboss.mq.il.uil2.SocketManager.start(SocketManager.java:147) at org.jboss.mq.il.uil2.UILServerILService.run(UILServerILService.java:162) at java.lang.Thread.run(Thread.java:595) 20 Dec 2006 13:18:35,031 ERROR (TimeoutFactory-0:) [org.jboss.logging.Log4jService$ThrowableListenerLoggingAdapter] Unhandled Throwable org.jboss.util.threadpool.ThreadPoolFullException: java.lang.OutOfMemoryError: unable to create new native thread at org.jboss.util.threadpool.BasicThreadPool.execute(BasicThreadPool.java:417) at org.jboss.util.threadpool.BasicThreadPool.runTaskWrapper(BasicThreadPool.java:192) at org.jboss.util.threadpool.BasicThreadPool.run(BasicThreadPool.java:212) at org.jboss.util.threadpool.BasicThreadPool.run(BasicThreadPool.java:206) at org.jboss.util.timeout.TimeoutFactory.doWork(TimeoutFactory.java:223) at org.jboss.util.timeout.TimeoutFactory.access$000(TimeoutFactory.java:41) at org.jboss.util.timeout.TimeoutFactory$1.run(TimeoutFactory.java:136) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995601#3995601 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995601 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - Problem with createTopicConnection - over http proxy server
Hi All! I tried find any solution for follow issue during migration to HTTP lookups: 1. We have JBOSS 4.0.5GA server installed in our local network. 2. We successfully work with EJB beans locally and remotely 3. We have no problem to work with JMS locally But... createTopic throws exception (see below). I've found source of this problem usage of ipaddress in url: http://145.9.239.153:8080/jbossmq-httpil/HTTPServerILServlet Because java not able to detect - this ip address is local and can't be accessed thru gateway. We have workaround - put specific ip address into list of bypass adresses, but it seems ugly, we have couple of remote servers, that should be accessed thru gateway. How we can force client usage of URL instead of ip? (jndi.properties have full qualified name of server host) | jndiContext = m_ctx; | ref = (TopicConnectionFactory) jndiContext.lookup("HTTPConnectionFactory"); | m_topic = (Topic)jndiContext.lookup(LMProperties.sTOPIC_PATH); | // here it hangs for 2 mins and throw exception: | m_topic_connection = ref.createTopicConnection(); | Exception: | Cannot authenticate user; - nested throwable: (java.io.IOException: Server returned HTTP response code: 504 for URL: http://145.9.239.153:8080/jbossmq-httpil/HTTPServerILServlet) | javawsApplicationMain|org.jboss.mq.SpyJMSException.getAsJMSException(SpyJMSException.java:72) | org.jboss.mq.SpyJMSException.rethrowAsJMSException(SpyJMSException.java:57) | org.jboss.mq.Connection.authenticate(Connection.java:1069) | org.jboss.mq.Connection.(Connection.java:252) | org.jboss.mq.Connection.(Connection.java:323) | org.jboss.mq.SpyConnection.(SpyConnection.java:116) | org.jboss.mq.SpyConnectionFactory.internalCreateConnection(SpyConnectionFactory.java:137) | org.jboss.mq.SpyConnectionFactory.createTopicConnection(SpyConnectionFactory.java:118) | Glad to get any suggestions... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995603#3995603 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995603 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - 1.2.0beta1 with JEMS 1.2.0CR1 fails
After installing JBoss Messaging using "ant -f release-admin.xml" I tried to start the JBoss server using "run -c messaging". However, I get the following stack trace. Any hint is appreciated! ... | 2006-12-21 15:14:17,347 INFO [org.jboss.remoting.transport.socket.SocketServerInvoker] Invoker started for locator: InvokerLocator [socket://127.0.0.1:3873/] | 2006-12-21 15:14:23,476 ERROR [org.jboss.deployment.MainDeployer] Could not create deployment: file:/C:/Programme/jboss/server/messaging/deploy/jboss-messaging.sar/postgresql-persistence-service.xml | org.jboss.deployment.DeploymentException: org.jboss.messaging.core.plugin.JDBCPersistenceManager.(); - nested throwable: (java.lang.NoSuchMethodException: org.jboss.messaging.core.plugin.JDBCPersistenceManager.()) | at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196) | at org.jboss.system.ServiceController.install(ServiceController.java:226) | 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.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy4.install(Unknown Source) | at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:959) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy6.deploy(Unknown Source) | at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) | at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) | at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | at sun.reflect.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.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.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(
[jboss-user] [JBoss Seam] - Re: HelloWorld-Ajax with Facelets
Hi, I think it's a problem with the parameters of suggestName() method. But how can I pass the required values? thx andi View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995609#3995609 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995609 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Design question
Hi everyone, First of all I love Seam. So far we've built one application of the medium complexity and experience is very positive. We have pretty large legacy application which needs to be brought to the new technology with certain improvements. I can see how most of it could be implemented using Seam. There is though one module which is completely meta data driven. We have a set of dynamic forms which have variable number of controls. Controls' name get there names assigned at runtime based on a couple of factors: user role, product category, etc. The question is how one can capture the data from like this in non ugly way? Is there a way to implement this is Seam? I appreciate your attention and ideas. Thanks, Ed View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995612#3995612 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995612 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: Listing all EJBs through JMX
Use double quotes. twiddle query "*:j2eeType=WebModule,*" View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995613#3995613 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995613 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: jndi.properties jnp.timeout=60000000 ignored
I did the same in my jboss-service.xml file (I'm using jboss 4.0.5GA ) over Linux. At first - I tested with a value of 1 second, and it did work (got timeout after 1 second). Then, I changed the value to 7200 seconds (2 hours) but I got the SocketTimeout exception with a value of 1800 seconds. Can anyone tell me what is wrong? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995619#3995619 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995619 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - problem using the pages.xml to call action method?
Hello all. I am having problem using the action attribute in the page element in the file pages.xml. I have a view-file which has a form and a datatable element. I want to populate this datatable with data from a seam component when the user loads the page, not in the response of the form submit. I have defined a method initAllMessages that populates my list (my list has @Out @DataModel) with data and I use that list in the datatable | | | | I instruct seam to call the initAllData with the action parameter in a page element in pages.xml like this: | | The problem is that I get an exception: 2006-12-21 10:42:39,640 ERROR [org.jboss.portal.portlet.container.org_apache_myfaces_portlet_MyFacesGenericPortlet] The portlet threw an exception javax.faces.el.EvaluationException: Exception while invoking expression #{post.initAllMessages} The class in where I define my method to call implements an interface, has conversation scope and the Name annotation. The method it self has the @Create annotation The seam view-file is loaded in a portlet contained in JBoss Portal. Why am I getting this exception when seam tries to call the method? Is there better/another way to populate data in a datatable on a non-faces get request? thank you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995620#3995620 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995620 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Cache, missing entries
I don't see any puts or removes to the tree cache here. TreeCache is not aware of changes you make to localCacheCopy. Also, getObject(String, Object) is not part of the TreeCache API. Did you mean "treeCache.get("OURCACHE", key)"? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995616#3995616 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995616 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - jbossws 2.0.0.CR2 - binary version
Since I am stuck with following issue http://www.jboss.com/index.html?module=bb&op=viewtopic&t=97721 I want to try version 2.0.0 CR2 on jboss-4.0.5 Is the binary version available somewhere for jbossws-2.0.0.CR2 or do I need to build it from the source? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995622#3995622 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995622 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Hibernate SessionFactory in Seam App?
Hi, I'm getting a exception as follows when trying to do as you described. I must have something else wrong unfortunately. anonymous wrote : javax.naming.NameNotFoundException: EntityManagerFactory not bound I've wrapped my servlet with SeamServletFilter as follows in web.xml | | | Seam Servlet Filter | org.jboss.seam.servlet.SeamServletFilter | | | Seam Servlet Filter | /servlet/* | | | And for my verify user servlet mapping I have the following | | VerifyUser | | com.clooster.web.servlet.VerifyUser | | | | | VerifyUser | /servlet/VerifyUser | | Inside my servlet I have an API to get the EntityManager as follows: | protected EntityManager getEntityManager() throws NamingException | { | EntityManagerFactory factory = (EntityManagerFactory) | Naming.getInitialContext().lookup("java:/EntityManagerFactory"); | | EntityManager em = factory.createEntityManager(); | | return em; | } | Calling the above method results in the NameNotFoundException. One another note, once I have the above problem solved - what is the prescribed way to redirect a user to a property seam page. I'm going to attempt to do the following - will it work? | EntityManager em = this.getEntityManager(); | | ClUsers user = em.find(ClUsers.class, greeter.getName()); | | if (user != null) | { | // ok we have verified that this user's email address is valid | // and he/she is whom they say they are - set the status | // in the db and commit for this user. | | user.setStatus((short) 1); | | em.persist(user); | | // now login the user | LoginAction loginAction = (LoginAction) Component.getInstance(LoginAction.class); | Contexts.getSessionContext().set("greeter", greeter); | loginAction.login(); | } | else | { | response.getOutputStream().println( | "Invalid User"); | } | Or should I be using the HttpServletResponse.enodeRedirectURL API? Again, thank you for your great work! PVM View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995623#3995623 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995623 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - Re: JMS Framework Stops on changing System Time
I have the same issue on JBoss 4.0.3SP1. Changing the system time crashed my Topic Subscriber. Unfortunately I don't have a stack trace, but only a print out of the JMSException.toString() | org.jboss.mq.SpyJMSException: Exiting on IOE; - nested throwable: (java.io.EOFException) | I could try to reproduce this on a test system with a stack trace if anybody needs it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995624#3995624 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995624 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: problem using the pages.xml to call action method?
Having @Out @Datamodel on the same variable is a BAD idea - you're outjecting two different things to the same context variable. Just use @DataModel. The most common way of populating data is via @Factory. It's impossible to tell the problem from that little bit of a stack trace, you need to post the whole thing. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995625#3995625 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995625 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Hibernate SessionFactory in Seam App?
I really doubt you want em.persist(user), probably em.merge(user) - persist will add a transient entity to the database not update a persistent one. Can you post your persistence.xml? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995626#3995626 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995626 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: HelloWorld-Ajax with Facelets
Have you got a bp taglib? can you post it or point us to it on the web? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995627#3995627 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995627 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Design question
Can you give us a bit more detail? Something concrete? Some ideas I've used: facelets tag handlers, dynamically ui:including forms View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995628#3995628 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995628 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Mapping between form field and database fields
I would go for a some transient fields for day,month, year, and make the getters and setters call a updateDate() function which attempts to alter the date field based on the current day/month/year fields. Or, perhaps build a custom JSF component. IMO though you would be better with one date (jsf) field and one of the available date selectors (there is one in Seam, Trinidad, Tomahawk, IceFaces...) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995629#3995629 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995629 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Query allowed process instance creation for current user
jBPM currently has no information in it to declare who is allowd to start processes, so the answer is no View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995632#3995632 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995632 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Doubt with subprocess
the answer to the second question is to write custom queries and design your own tasklist ui View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995633#3995633 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995633 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Jbpm performance problem
uhhmmm... wrong forum? There is no jbpm class at all in this stacktrace View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995634#3995634 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995634 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Tutorial not working
I think you're trying to run the demo in 1.4.1.BETA anonymous wrote : | file:///B:/tools/JBossCache-1.4.1.BETA/docs/tutorial/en/html/index.html | from within 1.4.0.SP1 build with the wrong path to the ant runtime. anonymous wrote : | JBossCache-1.4.0.SP1 1266>build.sh run.demo | Therefore ant complains about finding the right runtime libraries and you get the ant exception. I tested both demos with 1.4.1.BETA and they're both working fine. I didn't test 1.4.1.SP1 so I can't tell if the issue there. In anycase, you should be testing 1.4.1.BETA. Also, make sure that your prompt is at JBossCache.1.4.1.BETA directory when invoking sh build.sh run.demo Let us know how it's working for you. Cheers View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995635#3995635 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995635 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Tutorial not working
And http://jira.jboss.com/jira/browse/JBCACHE-912 is resolved with status 'can't reproduce bug' If you can't run the tutorials as per my last post, please reopen the issue View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995637#3995637 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995637 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Running JBoss with run -c all reboots Windows XP
I can't reproduce this using the steps posted on the JIRA. Does this consistently fail in the creation of the juddi service? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995638#3995638 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995638 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: HelloWorld-Ajax with Facelets
It's included as ui.tld (I think) in the bpcatalog-ee5-ea-0.6-installer.jar from sun's blueprints website https://www.dev.java.net/files/documents/1713/36734/bpcatalog-ee5-ea-0.6-installer.jar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995639#3995639 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995639 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: problem using the pages.xml to call action method?
This is the complete stack trace. In the middle it says: Caused by: org.jboss.seam.RequiredException: In attribute requires value for component: post.message That might be a clue..? 2006-12-21 16:44:37,562 ERROR [org.jboss.portal.portlet.container.org_apache_myfaces_portlet_MyFacesGenericPortlet] The portlet threw an exception javax.faces.el.EvaluationException: Exception while invoking expression #{post.initAllMessages} at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:153) at org.jboss.seam.core.Pages.callAction(Pages.java:161) at org.jboss.seam.core.Pages.callAction(Pages.java:143) at org.jboss.seam.jsf.AbstractSeamPhaseListener.callPageActions(AbstractSeamPhaseListener.java:128) at org.jboss.seam.jsf.AbstractSeamPhaseListener.beforeRender(AbstractSeamPhaseListener.java:98) at org.jboss.seam.jsf.SeamPortletPhaseListener.beforePhase(SeamPortletPhaseListener.java:52) at org.jboss.seam.jsf.SeamExtendedManagedPersistencePortletPhaseListener.beforePhase(SeamExtendedManagedPersistencePortletPhaseListener.java:37) at org.apache.myfaces.lifecycle.LifecycleImpl.informPhaseListenersBefore(LifecycleImpl.java:520) at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:342) at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:323) at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:298) at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:380) at org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:266) at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:133) at javax.portlet.GenericPortlet.render(GenericPortlet.java:306) at org.jboss.portal.portlet.container.PortletContainer.invokeRender(PortletContainer.java:516) at org.jboss.portal.portlet.container.PortletContainer.dispatch(PortletContainer.java:438) at org.jboss.portal.portlet.container.PortletContainerInvoker$1.invoke(PortletContainerInvoker.java:73) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:134) at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeNotSupported$aop(TransactionInterceptor.java:85) at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N4547270787964792031.invokeNext(TransactionInterceptor$invokeNotSupported_N4547270787964792031.java) at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66) at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:101) at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N4547270787964792031.invokeNext(TransactionInterceptor$invokeNotSupported_N4547270787964792031.java) at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeNotSupported(TransactionInterceptor.java) at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:55) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:118) at org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:50) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:118) at org.jboss.portal.portlet.aspects.portlet.ProducerCacheInterceptor.invoke(ProducerCacheInterceptor.java:51) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:118) at org.jboss.portal.portlet.aspects.portlet.ModesInterceptor.invoke(ModesInterceptor.java:60) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:118) at org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:46) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:118) at org.jboss.portal.portlet.aspects.portlet.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:55) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:118) at org.jboss.portal.portlet.aspects.portlet.Portle
[jboss-user] [JBoss Seam] - Re: Vacation
Felices Vacaciones, capo! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995641#3995641 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995641 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: HelloWorld-Ajax with Facelets
facelets requires different supporting files that jsp, tld files are for jsp, .taglib.xml for facelets. I suspect that is the problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995642#3995642 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995642 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: problem using the pages.xml to call action method?
Yes. You've specified that message must be injected and outjected (i.e. not null on both injection and outjection). It is null. use required=false View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995643#3995643 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995643 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Running JBoss with run -c all reboots Windows XP
Yes it does consistently failing on JUDDI service View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995644#3995644 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995644 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Tutorial not working
Thanks Hany. Not sure, how to reopen the jira case, hence commenting here: Thanks for your response. I am also convinced that its somewhere in my env. This is the first command I ran after downloading. The dir is right as you can see in the pwd output and I also put echo statements for CACHE_HOME and ANT_HOME JBossCache-1.4.1.BETA 1518>pwd /home/vsubrama/tools/JBossCache-1.4.1.BETA JBossCache-1.4.1.BETA 1519>sh build.sh run.demo CACHE_HOME=. ANT_HOME=./ant-dist java.lang.InstantiationException: org.apache.tools.ant.Main at java.lang.Class.newInstance(I)Ljava.lang.Object;(Unknown Source) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:195) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55) JBossCache-1.4.1.BETA 1520> View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995645#3995645 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995645 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss and NetBeans] - nb5.5-jboss4.x usage
I've been using nb5.5 with jb4 as target server (dev env on windowsXP) about 4 months now. I have some issues, most expensive one is in re-depoying my webapp: a self-contianed war, deployed on tomcat. Scenario is: I make a change to a jsp or javascript or cssstyle or java src, then redeploy by right-click on "Projects-->redeploy project" ( side note: under standalone tomcat, changes to jsps and javascript do not require redeployment. Can this be achieved in my jboss4 setup??) After the redeploy, my changes are acessible in a new browser session with my webapp. However, after I redeploy 4-5 times, the entire netbeans freezes up ( memory related I'm sure. I notice for each deploy jboss creates a new webapp in jb/../server/tmp/deploy -and does not delete the previous one ) and hangs, needs to be killed from "Task Manager", restarted. This is a real deadline killer, does anyone have advice for me or tips on what I may be doing wrong?? thanks for any help. md View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995646#3995646 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995646 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Tutorial not working
The cause of this is that there is an old version of ant somewhere in the class path or configuration. See Ant FAQ for the issue http://ant.apache.org/faq.html#InstantiationException View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995648#3995648 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995648 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Is presentation layer part of Business Process design?
I have a workflow kind of web application where user has to submit four screens of data(with data persistence on each screen) in sequential order. I have been trying to implement this using JBPM. Here is a question regarding that When I model the business process , should the presentation layer JSP/Struts action should it be tied to a task/node. or The process should be just at the data level and let the strust action call the JBPM context?manager like the Struts Tasks example shown in the wiki Thanks, Siva View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995647#3995647 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995647 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: problem using the pages.xml to call action method?
That did "susen" (as we say in sweden) ie: It works. Thanks!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995649#3995649 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995649 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Running Scripts inside J2EE Containers
I have a "wierd" requirement to run scripts within JBoss. I am aware that this is not the smartest thing to do. But are there known ways to do this. The reason being, we need: 1. Control over the execution context (detect run-away scripts). 2. Control the lifecycle of the scripts to terminate run-away scripts I am using a script interpreter like the one from BSF. Is there even a best practice on this approach - considering that it is not a valid approach. - Sanjeev View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995650#3995650 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995650 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Hibernate SessionFactory in Seam App?
I see where your going with that - my persistence.xml had a different name for the factory. | | | org.hibernate.ejb.HibernatePersistence | java:/CloosterWeb20Datasource | | | | | | | So I changed my api to use the proper name and I got further along in the process. However, now I have a new exception when trying to use the Component.getInstance method. After my servlet is done verifying the user, I would like to bring the user back to either my home page or a logged in section of my site. The new exception occurs when calling this code: | // now login the user | LoginAction loginAction = (LoginAction) Component.getInstance(LoginAction.class); | Contexts.getSessionContext().set("greeter", greeter); | loginAction.login(); | The exception is: | 11:02:31,593 ERROR [SeamExceptionFilter] uncaught exception handled by Seam | java.lang.ClassCastException: org.jboss.seam.intercept.Proxy$$EnhancerByCGLIB$$1 | fc85c98 | at com.clooster.web.servlet.VerifyUser.processRequest(VerifyUser.java:81 | ) | at com.clooster.web.servlet.XHttpServlet.doGet(XHttpServlet.java:37) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl | icationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF | ilterChain.java:173) | at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilt | er.java:46) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl | icationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF | ilterChain.java:173) | at org.jboss.seam.servlet.SeamServletFilter.doFilter(SeamServletFilter.j | ava:48) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl | icationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF | ilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi | lter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl | icationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF | ilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV | alve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV | alve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit | yAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv | e.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j | ava:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j | ava:105) | at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConne | ctionValve.java:156) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal | ve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav | a:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java | :869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p | rocessConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo | int.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor | kerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | 11:02:31,593 ERROR [[VerifyUser]] Servlet.service() for servlet VerifyUser threw | exception | java.lang.IllegalStateException: No active event context | at org.jboss.seam.core.Manager.instance(Manager.java:249) | at org.jboss.seam.contexts.Lifecycle.flushAndDestroyContexts(Lifecycle.j | ava:345) | at org.jboss.seam.contexts.Lifecycle.endRequest(Lifecycle.java:264) | at org.jboss.seam.servlet.SeamServletFilter.doFilter(SeamServletFilter.j | ava:55) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl | icationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF | ilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi | lter.java:96) | at
[jboss-user] [JBossWS] - Re: jbossws 1.0.4GA - wstools fail on a webervice
hI. I ran into the same problem. Try using | | Worked for me. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995652#3995652 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995652 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Tutorial not working
Yup, that fixed it. Maybe the build.sh script should reset the classpath to make the env kosher. The GUI is kinda rudimentary. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995653#3995653 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995653 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Deploy a web application on JBoss
My mistake, I meant the deploy method. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995654#3995654 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995654 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Design question
The idea is that we have a set of products. Each of them has a number of attributes. Each attribute can be marked as searchable which makes them appear on the product search page. Operator can turn the searchable attribute on and off at application runtime. Name of the corresponding to the attribute form control is _. Currently we are using ajax to build this form on the fly. Application is old, completely home grown, no framework is used. Ed View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995655#3995655 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995655 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Cache, missing entries
Yes I meant "get" not "getObject". YOu asked for desc of steps 1-5 6) here Tx commits, SynchronizationHanlder executes preCommitActions Iterator iterc=getLocalCacheCopy().entrySet().iterator();- Tx[1] while (iterc.hasNext()) { Map.Entry nextEntry = (Map.Entry)iterc.next(); cache.put(nodeName, nextEntry.getKey(), nextEntry.getValue()); } //this is note executed since noetries have been removed if(getRemovedEntriesSet().size()>0) { iterc=getRemovedEntriesSet().iterator(); while(iterc.hasNext()) { Object key=iterc.next(); cache.remove(nodeName,key) } } 7) looks similar, however no put operation is performed, only one remove since entry has been removed and that key has been added to RemovedEntriesSet. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995656#3995656 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995656 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Running JBoss with run -c all reboots Windows XP
If you enable TRACE logging for category org.jboss.jaxr.juddi, is anything further logged after DEBUG [org.jboss.system.ServiceCreator] About to create bean: jboss:service=juddi with code: org.jboss.jaxr.juddi.JUDDIService? All that's going on between the logging of that message and the normal subsequent message is instantiation of the object and registration with the JMX server. The instantiation is very straightforward; just initialize a bunch of boolean fields and a few others to null. Most complex thing is creating a logger. There's nothing special about the JMX registration for this service either. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995657#3995657 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995657 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: Jboss Web Server Performance Tuning
Have a look at http://wiki.jboss.org/wiki/Wiki.jsp?page=SPECjAppServer2002Tuning. Many of the tuning concepts provided apply to web applications in general, not just specjappserver. Also, browse through the posts in this forum, quite a few tuning suggestions have been posted. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995658#3995658 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995658 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: JBossIDE 2.0beta2 and JBoss 4.0.5 launch problem
"yahro" wrote : Hi guys, | as far as I know in 2.0.0B2, in launch configuration tabs are mislabeled - put -u username -p password in Stop tab instead of Twiddle tab and it works fine... This is correct and probably should be logged as a bug in JIRA. Taking this into account this is what you should set In the twiddle tab (which is really shutdown): | -S -s :1099 -a jmx/rmi/RMIAdaptor --user= --password= In the shutdown tab (which is really twiddle): -s :1099 -a jmx/rmi/RMIAdaptor --user= --password= View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995659#3995659 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995659 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Hibernate SessionFactory in Seam App?
It's having problems instatiating the component LoginAction (probably choking on some EntityManager related operation) - but I've not got much experience in this area. If you can do a redirect like you mention then that is a cleaner approach IMO. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995660#3995660 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995660 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Listing all datasources available
Hi. First of all, I apologyze if I am posting in the wrong group. I have a quick question: what's the easiest way of having a list of all available datasource (*-ds.xml) in a JBoss AS? I don't want to list the deploy directory and check the *-ds.xml files. I'd prefer inspecting that information through a more reliable JMX MBean, or through JNDI lookups or something. Best regards. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995661#3995661 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995661 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Listing all datasources available
Is there an easy way to list all datasources available in a JBoss AS? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995662#3995662 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995662 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Tutorial not working
The shell script already set $ANT_HOME variable local to the script. If you uncomment the classpath line (line 6) in the script that would do exactly what you're suggesting. I'm not sure why this line is commented in the script!! Anybody? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995663#3995663 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995663 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Cache, missing entries
I suspect your problem arises from using a Synchronization to update JBC. JBC itself uses a Synchronization to control replication of transactional changes around the cluster. If your Synchronization's beforeCompletion is executed by the TransactionManager after JBC's, I'm not sure what will happen. Are you able to ensure that your Synchronization is registered with the transaction before any call goes into JBC? I'm not sure from your original post -- do you see this with both pessimistic and optimistic locking? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995664#3995664 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995664 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user