[jboss-user] [JBossCache] - Re: Adding AOP interceptors to inserted objects
If you are using PojoCache2.0, you can add your aop-enabled interceptor in pojocache-aop.xml like you would have for jboss-aop interceptors. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024818#4024818 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024818 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: PojoCacheListener does not propagate in a cluster
Yes, the PojoCache listener is only acting in local mode. We are still invetigating a good way to map this into remote notification. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024819#4024819 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024819 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Issue deploying multiple Seam webapps
anonymous wrote : Previously we had jboss-seam.jar and jboss-seam-ui.jar in the jboss deploy directory. With the upgrade we've changed to the new structure where these jar's are packaged into the ear file. jboss-seam-ui.jar should go in WEB-INF/lib. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024820#4024820 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024820 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: JBoss Eclipse IDE 2.0.0.Beta bundle: JBoss Server confi
Same here with eclipse 3.2.2 on kubuntu linux. Is anybody doing something doing with that? Or is there already any solution? Please, let me know. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024821#4024821 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024821 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Do we need failed page access logged as ERROR
I´d also prefer not to log the whole exception as this is more like a standard-issue and logging the whole stack-trace always looks like having a problem or a bug in the application, which is not really the case if the user is not logged in. Thomas View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024822#4024822 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024822 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @In(create = true) @Out works fine in 1.1.5.GA and not i
Any help please :-) It's a really big problem for me, that Seam 1.2.0 creates a new instance of userDomain when an AccountBean method is invoked - for each AccountBean method call I get a new userDomain instance ! Seam 1.1.5 creates one instance of userDomain and use this instance when an AccountBean method is invoked - for each AccountBean method call I get the same userDomain instance (this is the expected behaviour). Because of this I can't use Seam 1.2.0 for my application :-( View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024823#4024823 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024823 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - @WebServiceRef jbossws 1.2.0.GA
I'm running jboss 4.0.5.GA with EJB3.0 Configuration and jbossws 1.2.0.GA installed with the installer. I'm using an stateless session bean as a webservice-client. I generated the artifacts with ws-import. If I use @WebServiceRef I run into the following Exception: | Non matching type for inject of field: de.uniSiegen.crm.server.ejb3.session.webservice.generated.bpeluserinteractiondialog.CrmPLService de.uniSiegen.crm.server.ejb3.session.webservice.BPELUserInteractionDialogCallbackClient.service for type: org.jnp.interfaces.NamingContext of jndiName env/de.uniSiegen.crm.server.ejb3.session.webservice.BPELUserInteractionDialogCallbackClient/service | intfs: , javax.naming.Context, java.io.Serializable If I don't use this annotation and instanciate the Service like this: CrmPLService service = new CrmPLService(); everything works fine. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024826#4024826 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024826 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Adding a default interceptor
Is there any work around to put interceptor definitions in components.xml? Thanx and Regards, -haric- View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024827#4024827 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024827 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Q: Using Hibernate with the jdbc:odbc bridge
I've been able to run this instance of Hibernate outside of the AS, but as soon as I try and deploy it inside I receive the following | 22:11:49,935 INFO [STDOUT] 22:11:49,935 INFO [ServiceBean] Exposing service with name {http://webservice.myob.identityconcepts.com.au}authenticate | 22:11:51,732 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/ | 22:11:52,403 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080 | 22:11:52,747 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009 | 22:11:52,794 INFO [JkMain] Jk running ID=0 time=0/203 config=null | 22:11:52,810 INFO [Server] JBoss (MX MicroKernel) [4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)] Started in 2m:50s:313ms | 22:14:32,560 INFO [STDOUT] 22:14:32,560 INFO [Environment] Hibernate 3.2.1 | 22:14:32,607 INFO [STDOUT] 22:14:32,607 INFO [Environment] hibernate.properties not found | 22:14:32,607 INFO [STDOUT] 22:14:32,607 INFO [Environment] Bytecode provider name : cglib | 22:14:32,622 INFO [STDOUT] 22:14:32,622 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling | 22:14:32,841 INFO [STDOUT] 22:14:32,841 INFO [Configuration] configuring from resource: /WEB-INF/classes/hibernate.cfg.xml | 22:14:32,841 INFO [STDOUT] 22:14:32,841 INFO [Configuration] Configuration resource: /WEB-INF/classes/hibernate.cfg.xml | 22:14:33,028 INFO [STDOUT] 22:14:33,028 INFO [Configuration] Reading mappings from resource : au/com/identityconcepts/myob/sync/hibernate/Customers. | xml | 22:14:33,247 INFO [STDOUT] 22:14:33,247 INFO [HbmBinder] Mapping class: au.com.identityconcepts.myob.sync.hibernate.Customers - Customers | 22:14:33,372 INFO [STDOUT] 22:14:33,372 INFO [Configuration] Reading mappings from resource : au/com/identityconcepts/myob/sync/hibernate/Address.xm | l | 22:14:33,388 INFO [STDOUT] 22:14:33,388 INFO [HbmBinder] Mapping class: au.com.identityconcepts.myob.sync.hibernate.Address - Address | 22:14:33,419 INFO [STDOUT] 22:14:33,419 INFO [Configuration] Reading mappings from resource : au/com/identityconcepts/myob/sync/hibernate/Employees. | xml | 22:14:33,435 INFO [STDOUT] 22:14:33,435 INFO [HbmBinder] Mapping class: au.com.identityconcepts.myob.sync.hibernate.Employees - Employees | 22:14:33,466 INFO [STDOUT] 22:14:33,466 INFO [Configuration] Reading mappings from resource : au/com/identityconcepts/myob/sync/hibernate/PersonalCa | rds.xml | 22:14:33,482 INFO [STDOUT] 22:14:33,482 INFO [HbmBinder] Mapping class: au.com.identityconcepts.myob.sync.hibernate.PersonalCards - PersonalCards | 22:14:33,513 INFO [STDOUT] 22:14:33,513 INFO [Configuration] Reading mappings from resource : au/com/identityconcepts/myob/sync/hibernate/Suppliers. | xml | 22:14:33,544 INFO [STDOUT] 22:14:33,544 INFO [HbmBinder] Mapping class: au.com.identityconcepts.myob.sync.hibernate.Suppliers - Suppliers | 22:14:33,575 INFO [STDOUT] 22:14:33,575 INFO [Configuration] Configured SessionFactory: null | 22:14:33,794 INFO [STDOUT] 22:14:33,794 INFO [DriverManagerConnectionProvider] Using Hibernate built-in connection pool (not for production use!) | 22:14:33,810 INFO [STDOUT] 22:14:33,810 INFO [DriverManagerConnectionProvider] Hibernate connection pool size: 1 | 22:14:33,810 INFO [STDOUT] 22:14:33,810 INFO [DriverManagerConnectionProvider] autocommit mode: false | 22:14:33,841 INFO [STDOUT] 22:14:33,841 INFO [DriverManagerConnectionProvider] using driver: sun.jdbc.odbc.JdbcOdbcDriver at URL: jdbc:odbc:Driver={ | MYOB_ODBC};TYPE=MYOB;UID=Administrator;PWD=password;KEY=C:\myob15\615541809127.key;DATABASE=C:\myob15\Acme.myo;HOST_EXE_PATH=C:\myob15\Myob.exe;ACCESS | _TYPE=READ_WRITE;Identify_By=Card_Name;SUPPRESS_WARNING=TRUE; | 22:14:33,872 INFO [STDOUT] 22:14:33,872 INFO [DriverManagerConnectionProvider] connection properties: {user=, password=, autocommit=false} | CLI : [TID: B84]:[Sat Mar 03 22:14:36 2007] rdacstmt.c:99: *** rda_cliAllocStmt: connection is not opened | # | # An unexpected error has been detected by HotSpot Virtual Machine: | # | # EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x2a2694e5, pid=240, tid=2948 | # | # Java VM: Java HotSpot(TM) Client VM (1.5.0_07-b03 mixed mode) | # Problematic frame: | # C [odbcmyob.dll+0x3794e5] | # | # An error report file with more information is saved as hs_err_pid240.log | # | # If you would like to submit a bug report, please visit: | # http://java.sun.com/webapps/bugreport/crash.jsp | # | CLI : [TID: B84]:[Sat Mar 03 22:14:36 2007] rdachenv.c:342: rda_cliFreeEnv() 1 connection handles still exist under this environment handle | | [error occurred during error reporting, step 270, id 0xc005] | | Any thoughts on how to address this? Thanks in advance. Adam View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024828#4024828
[jboss-user] [Microcontainer] - Re: Evaluating IOC Containers
Your xml is commented - with !--. Turn on debuging / trace log for more info. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024830#4024830 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024830 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: long wait when cache is started
What do you mean in anonymous wrote : 2) State in your DB is large | ? the state of the cache? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024831#4024831 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024831 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Evaluating IOC Containers
I don't think comments in xml will cause any problem , the pojo-beans.xml contains only one bean . Turn on debuging / trace log for more info. Yes this is the last option left now :( View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024832#4024832 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024832 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - High CPU consumption.
Hello, We have just migrated from HP/UX to Linux (SUSE AMD 4CPU) and after a couple of hours we can see a large consumption of CPU (200%). This problem has never appears before this migration. We use the JDK1.5.0_11, and the parameters for the JVM are : -server -Xms1024m -Xmx1024m -XX:MaxPermSize=128m -XX:+UseParNewGC -XX:+CMSParallelRemarkEnabled -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 Have you an idea of this problem? Does exist some tuning for Jboss on Linux ? Thanks, Jerome View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024833#4024833 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024833 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: @WebServiceRef jbossws 1.2.0.GA
Have a look at | cd jbossws-tests | ant -Dtest=jaxws/samples/webserviceref test | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024834#4024834 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024834 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Get directions?
Hello. I am quite green at jBPM and am trying to create a prototype as a proof of concept for something larger. The idea is to have a jBPM set of tasks which will each one call an already existant routine/class. This routine/class, upon invocation, generates an HTML screen for data entry, and after the accept button, calls another class which will insert the form data in a database. The return from this second routine should give control back to the jBPM task flow, so it can take control and proceed to the next step. I have read the documentation, but I still have quite a few doubts, namely which process to use to call the routine (It is a simple Java class), and how to have the routine notify the task that it has finished its part. You will probably find this quite basic, but I feel quite stuck with it... :-( Any information or pointers for discussions on this subject are widely welcome. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024836#4024836 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024836 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Multiple EJBs with 1 WSDL
Yes, this can be done if you manually consolidate the generated wsdls. Then use @WebService(wsdlLocation=bigservice.wsdl) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024835#4024835 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024835 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: session leak in tomcat.
Try the catalina-5.5.20.jar from http://jira.jboss.com/jira/browse/JBAS-4131 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024837#4024837 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024837 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - FR: customizable per-conversation timeout value
What about providing a property for @Begin that would allow to specify what is a timeout of a given conversation? Depending on a context, some conversation should be valid for a long time, some not... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024838#4024838 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024838 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Detached entities and security domains
Hi, I've got two EJB3 JAR, each hosting session beans living in different security domains. Is it true that the JPA entities received from a session bean living on security domain A, will be detached within the session bean living in the other security domain B, thus disabling lazy-loading? Could anyone confirm this behavior? Regards, Frank. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024839#4024839 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024839 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: three wordings to define propagation
http://jira.jboss.com/jira/browse/JBSEAM-786 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024840#4024840 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024840 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: FR: customizable per-conversation timeout value
Put a feature request in JIRA - and see what happens :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024841#4024841 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024841 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Database change script from 3.1 to 3.2
Hi Ronald, thanks for that hint! Don't know, why I didn't found that myself. Was a hard week I think I looked at that stuff a bit I could generate the update SLQ's for hsqldb with the following statements (in Windows): | ant -f build.upgrade.xml generate.old.schema | del target\db\localDB.lck | ant -f build.upgrade.xml generate.update target/schema.upgrade.log | The batch file is not working (no idea why). To generate updates for MySQL I have changed the ant file a bit (not catch the hibernate.cfg.xml's, so I could overwrite them with my own and added the mySQL driver to the classpath). With that, I got some SQL's which have updated my database in about 5 minutes... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024842#4024842 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024842 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Questions on s:selectItems
gus888 wrote : I used following code in converters class:return ((EntityManager) Component.getInstance(em)).find( | | Category.class, Integer.valueOf(arg2)); | then I got the entityManager is null exception. However, after I change em to entityManager, exception disappeared. I find this very hard to believe. By entityManager is null you mean you get an NPE? Or are you trying to use the entityconverter with this? In addition, I ever read a posting which stated the s:selectItems currently doesn't support h:selectOneRadio. Is it correct? since I cannot get it work. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024843#4024843 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024843 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - StringIndexOutOfBoundsException when using selectDate
I get an exception when using s:selectDate, my code looks like this: | s:decorate | h:inputText | id=jobstartdate | value=#{job.start} | required=true | size=10 | styleClass=textfield | s:convertDateTime pattern=MM/dd/ / | a:support | event=onblur | reRender=startErrors / | /h:inputText | s:selectDate for=jobstartdate | img src=../images/calendar.gif / | /s:selectDate | br / | a:outputPanel id=startErrors | s:message / | /a:outputPanel | /s:decorate | And the exception like this: anonymous wrote : | 16:25:32,863 ERROR [STDERR] Mar 3, 2007 4:25:32 PM com.sun.facelets.FaceletViewH | andler handleRenderException | SEVERE: Error Rendering View[/jobs/createjob.xhtml] | java.lang.StringIndexOutOfBoundsException: String index out of range: 2 | at java.lang.String.substring(String.java:1935) | at org.jboss.seam.ui.UISelectDate.commaSeparate(UISelectDate.java:141) | at org.jboss.seam.ui.UISelectDate.writeLocaleInformation(UISelectDate.ja | va:118) | at org.jboss.seam.ui.UISelectDate.writeScript(UISelectDate.java:98) | at org.jboss.seam.ui.UISelectDate.encodeBegin(UISelectDate.java:70) | at org.jboss.seam.ui.JSF.renderChild(JSF.java:341) | at org.jboss.seam.ui.JSF.renderChildren(JSF.java:323) | at org.jboss.seam.ui.UIDecorate.encodeChildren(UIDecorate.java:355) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSu | pport.java:244) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSu | pport.java:249) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSu | pport.java:249) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSu | pport.java:249) | at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.jav | a:573) | at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapp | er.java:101) | at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandle | r.java:221) | 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(Appl... Any ideas what could it be? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024845#4024845 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024845 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @In(create = true) @Out works fine in 1.1.5.GA and not i
holtak wrote : What is userDomain? (StatefullBean, StatelessBean,...) | and what scope is it in? Use debug.seam to check if it is really there where you want it. | | I`ll check the @In (create=true) acting today when I come to coding but I`ve moved to 1.2PATCH1 from 1.1.5 and don`t have this problems. | | userDomain is an instance name for an EntityBean (User) and AccountBean is a StatefulBean with the scope CONVERSATION. I have debugged the code and can see that every time Seam 1.2.0 invokes a method on AccountBean a new instance of userDomain (User) is created and injected. But in Seam 1.1.5 only one userDomain (User) instance is created and this instance will be injected in every method call on AccountBean. I will try to debug some more and test it against Seam 1.1.6. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024847#4024847 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024847 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - pooling MDBs, using activeMQ
Hi, I'm using activeMQ as my JMS provider within JBoss AS. How can I configure a pool of MDBs/threads? - How would I do this with JBossMQ or JBoss Messaging? - How can I do this with activeMQ? Is it just the same as the above? The reason I ask is that I'm testing throughput and I have many clients sending messages to my queue, but the messages are being taken from the queue and processed at a fairly slow rate. I think its because I have too few MDBs instantiated to consume the messages. So I'd like to increase the MDB pool. Thanks, Pete View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024852#4024852 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024852 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Adding a default interceptor
No, not yet, sorry. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024856#4024856 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024856 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: FR: customizable per-conversation timeout value
You can put interceptors in ejb-jar.xml, if they are session bean components. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024857#4024857 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024857 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Questions on s:selectItems
Hi Peter, Thank you for your reply. Yes, when I use em as persistent name, I got an exception entityManager is null. Then I changed em into entityManager in components.xml, and also changed the converter code to: return ((EntityManager)Component.getInstance(entityManager)).find(Category.class, Integer.valueOf(arg2)); then the exception disappeared. anonymous wrote : the s:selectItems currently doesn't support h:selectOneRadio.Sorry I made a stupid mistake, s:selectItems works in h:selectOneRadio. Thank you very much. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024858#4024858 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024858 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Questions on s:selectItems
petemuir wrote : Or are you trying to use the entityconverter with this? Peter, I exactly followed the ui example in Seam 1.2.0. 1. added following code in components.xml:framework:entity-query name=categories ejbql=select c from Category c / 2. created Converters class, and added the convert code as same as the ui example. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024859#4024859 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024859 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Questions on s:selectItems
framework:entity-query name=categories ejbql=select c from Category c entity-manager=#{em}/ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024860#4024860 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024860 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Excel support in Seam: any interest?
Felix, I have already some code and would be glad to share it with you. As soon as I return from vacation (in about 2 weeks) I can share it. I also think that if templates work we should handle them as first priority. Regards, Mike View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024861#4024861 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024861 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @In(create = true) @Out works fine in 1.1.5.GA and not i
No comments/help from the people behind JBoss Seam? It's really strange, because I only replaced the 1.1.5 jar files (jboss-seam.jar and jboss-seam-ui.jar) with the 1.2.0 files. Have something changed in the @In @Out behaviour in 1.2.0 or/and in the bijection implementation? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024862#4024862 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024862 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @In(create = true) @Out works fine in 1.1.5.GA and not i
Nothing significant has changed, no. No-one can help you if you havn't showed the code for UserDomain. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024863#4024863 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024863 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Questions on s:selectItems
Thank you so much, Peter. Gus View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024864#4024864 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024864 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: JNDI Problem
Here's the remote session bean facade which you can use in JBoss-3.2.x to work with datasources from the standalone client: Home interface: package org.myapp.ejb; | | import java.rmi.RemoteException; | import javax.ejb.CreateException; | import javax.ejb.EJBHome; | | /** | * | * @author Jaikiran Pai | * | */ | public interface HelloWorldHome extends EJBHome { | | public HelloWorldRemote create() throws RemoteException, CreateException; | | } Remote interface: package org.myapp.ejb; | | import java.rmi.RemoteException; | import javax.ejb.EJBObject; | | /** | * | * @author Jaikiran Pai | * | */ | public interface HelloWorldRemote extends EJBObject { | | public void workWithDatabase(String dataSourceName) throws RemoteException; | | } The bean class: package org.myapp.ejb; | | import java.rmi.RemoteException; | | import javax.ejb.EJBException; | import javax.ejb.SessionBean; | import javax.ejb.SessionContext; | import javax.naming.Context; | import javax.naming.InitialContext; | import javax.naming.NamingException; | import javax.sql.DataSource; | | /** | * | * @author Jaikiran Pai | * | */ | public class HelloWorldBean implements SessionBean { | | /** | * Session context | */ | private SessionContext sessionCtx; | | /** | * Default constructor | * | */ | public HelloWorldBean() { | | | } | | /** | * @see javax.ejb.SessionBean#setSessionContext(javax.ejb.SessionContext) | */ | public void setSessionContext(SessionContext sessionCtx) throws EJBException, RemoteException { |this.sessionCtx = sessionCtx; | } | | public void ejbActivate() throws EJBException { | | } | | public void ejbPassivate() throws EJBException { | } | | public void ejbRemove() throws EJBException { | } | | | public void ejbCreate() { | } | | /** | * | * @param dataSourceName | * @throws RemoteException | */ | public void workWithDatabase(String dataSourceName) throws RemoteException { | | try { | Context ctx = new InitialContext(); | DataSource dataSource = (DataSource) ctx.lookup(dataSourceName); | System.out.println(Got datasource: + dataSource); | /* | * TODO: Do something with the datasource | */ | | } catch (NamingException ne) { | /* | * TODO: Do exception handling | */ | ne.printStackTrace(); | throw new RemoteException(Exception while working with datasource,ne); | } | | } | | } ejb-jar.xml ?xml version=1.0 encoding=UTF-8? | !DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN 'http://java.s | un.com/dtd/ejb-jar_2_0.dtd' | | ejb-jar | |description![CDATA[No Description.]]/description |display-nameSample EJB Application/display-name | |enterprise-beans | | !-- Session Beans -- | session | | ejb-nameHelloWorldBean/ejb-name | remoteorg.myapp.ejb.HelloWorldRemote/remote | homeorg.myapp.ejb.HelloWorldHome/home | ejb-classorg.myapp.ejb.HelloWorldBean/ejb-class | session-typeStateless/session-type | transaction-typeContainer/transaction-type | | | /session | | |/enterprise-beans | |!-- Assembly Descriptor -- |assembly-descriptor | |!-- transactions -- |container-transaction | method | ejb-nameHelloWorldBean/ejb-name | method-name*/method-name |/method |trans-attributerequired/trans-attribute | /container-transaction |/assembly-descriptor | | | | /ejb-jar jboss.xml: ?xml version=1.0 encoding=UTF-8? | !DOCTYPE jboss PUBLIC -//JBoss//DTD JBOSS 3.0//EN http://www.jboss.org/j2ee/dtd/jboss_3_0.dtd; | | jboss |enterprise-beans | session | ejb-nameHelloWorldBean/ejb-name | jndi-nameHelloWorld/jndi-name | /session |/enterprise-beans | /jboss The standalone class: package org.myapp.client; | | import javax.naming.Context; | import javax.naming.InitialContext; | import javax.rmi.PortableRemoteObject; | | import org.myapp.ejb.HelloWorldHome; | import org.myapp.ejb.HelloWorldRemote; | | | | /** | * | * @author Jaikiran Pai | * | */ | public class TestClient { | | public static void
[jboss-user] [JBoss Seam] - Re: @In(create = true) @Out works fine in 1.1.5.GA and not i
Ok, I will do some more investigation :-) User (userDomain): | @Entity | @Name(userDomain) | @Table(name = userx) // user is a reserved word in PostgreSQL | @Inheritance(strategy = InheritanceType.SINGLE_TABLE) | @DiscriminatorColumn(name = DISCRIMINATOR, discriminatorType = DiscriminatorType.STRING) | @NamedQueries({ | @NamedQuery(name = user.findByUsername, | query = select u from User u where u.username = :username)}) | public class User implements Serializable { | private Long id; | | private String username; | private String password; | private String firstname; | private String lastname; | private String email; | private Address address; | private Account account; | private SetAuthority authorities; | | // User settings | private UserSettings userSettings; | | // User type | private UserType type; | | // Disclaimer accept date | private Date disclaimerAcceptDate; | | public User() { | userSettings = new UserSettings(); | } | | @Id | @GeneratedValue | public Long getId() { | return id; | } | | public void setId(Long id) { | this.id = id; | } | | @Column(unique = true, nullable = false) | public String getUsername() { | return username; | } | | public void setUsername(String username) { | this.username = username; | } | | @Column(nullable = false) | public String getPassword() { | return password; | } | | public void setPassword(String password) { | this.password = password; | } | | @Column(nullable = false) | public String getFirstname() { | return firstname; | } | | public void setFirstname(String firstname) { | this.firstname = firstname; | } | | @Column(nullable = false) | public String getLastname() { | return lastname; | } | | public void setLastname(String lastname) { | this.lastname = lastname; | } | | public String getEmail() { | return email; | } | | public void setEmail(String email) { | this.email = email; | } | | @Embedded | public Address getAddress() { | return address; | } | | public void setAddress(Address address) { | this.address = address; | } | | @OneToOne(cascade = CascadeType.ALL) | public Account getAccount() { | return account; | } | | public void setAccount(Account account) { | this.account = account; | } | | @ManyToMany(fetch = FetchType.EAGER) | @JoinTable(name = user_authority, joinColumns = [EMAIL PROTECTED](name = user_id)}, | inverseJoinColumns = [EMAIL PROTECTED](name = authority_id)}) | public SetAuthority getAuthorities() { | return authorities; | } | | public void setAuthorities(SetAuthority authorities) { | this.authorities = authorities; | } | | @OneToOne(cascade = CascadeType.ALL) | public UserSettings getUserSettings() { | return userSettings; | } | | public void setUserSettings(UserSettings userSettings) { | this.userSettings = userSettings; | } | | public UserType getType() { | return type; | } | | public void setType(UserType type) { | this.type = type; | } | | @Column(name = disclaimer_accept_date, nullable = false) | public Date getDisclaimerAcceptDate() { | return disclaimerAcceptDate; | } | | public void setDisclaimerAcceptDate(Date disclaimerAcceptDate) { | this.disclaimerAcceptDate = disclaimerAcceptDate; | } | | @Transient | public boolean isDisclaimerAccepted() { | return disclaimerAcceptDate != null; | } | | @Transient | public GrantedAuthorityImpl[] getGrantedAuthorities() { | int index = 0; | | GrantedAuthorityImpl grantedAuthorities[] = new GrantedAuthorityImpl[authorities.size()]; | for (Authority authority : authorities) { | grantedAuthorities[index++] = new GrantedAuthorityImpl(authority.getAuthority()); | } | | return grantedAuthorities; | } | | @Override | public String toString() { | StringBuffer sb = new StringBuffer(); | sb.append(Username: ).append(username); | sb.append(, Firstname: ).append(firstname); | sb.append(, Lastname: ).append(lastname); | | return sb.toString(); | } | } | | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024866#4024866 Reply
[jboss-user] [JBossWS] - Re: Multiple EJBs with 1 WSDL
OK. So, really this is as simple as changing the webservices.xml file wsdl-fileMETA-INF/wsdl/TestAPI.wsdl/wsdl-file entry and nothing else (I'm not using JSR181, I'm using ws-tools and XDoclet) If I put the WSDL back together appropriately, it should all fall out. The WSDL ports defined with webservices.xml with proper port compenent and service endpoint settings will do the rest... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024868#4024868 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024868 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Java 5 dependency a problem for Web Console ?
Integration with Java 5 is of utmost importance IMO. We need to get tighter integration with SEAM! SEAM is getting a lot of attention right now and so now is the time to either branch JBPM to port 1.5 or just declare the change as part of the roadmap. With all of the attention, people are sure to want to know more and more about JBPM, especially if SEAM makes is so easy to use. Furthermore, with so many eyes on the project, discussion is sure to flourish with new and better ideas for how JBPM's future should take shape. Things are moving so quickly over there, with great advances every couple of weeks or so. I think the longer we wait in 1.4 land, the more we postpone the next step in JBPM's success. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024870#4024870 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024870 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Migration to JBoss Messaging without changing client side co
Hi, We are in process to migrate our JMS servers from JBossMQ to JBoss messaging. I know from user the guide that we need replace jbossmq-client.jar with jboss-messaing-client.jar in clients' classpathes. The problem we are facing is that we have many clients which are very difficult to update their classpathes once. I am wandering if there is a way to config clients without using any JMS provider specific client side lib (or jar). Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024873#4024873 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024873 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: CSS header injection
you may have to add the servlet root path, of the servlet (webapp) that deliver the css file. did you try it ? that is : /ProcesosInternos/WEB-INF/css/Styles.css instead of ProcesosInternos, it should rather be the name of the web app. the display-name that is in the web.xml file. sometime, there must be a _ before the name. /_ProcesosInternos/WEB-INF/css/Styles.css you can look in one of the html page that is produce by the portal, how it is done for the layout css file. See there how it is written for those layout and theme css files. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024874#4024874 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024874 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: 1.2.0.CR1 transparent node failover does not always work
OK, this is supposed to be fixed in 1.2.0.GA. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024875#4024875 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024875 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Embed EJB3 into my own application (try and errors)
Hi, i'm clicking/trying since several days to create some few EJB3 beans. I would like to have them as plain JDK 1.5 Java beans with some annotations to persist them with hibernate to postgres without any dependency on microkernels and such. I would expect to use some few *.jar files for the annotations, hibernate and postgres JDBC and throw them into my application to easily access the DB. I think i have followed all wikis, tutorials around but i always get stuck (jboss-EJB-3.0_Embeddable_ALPHA_5.zip, jboss-EJB-3.0_RC9_Patch_1.zip). With the ejb3-project-backup.zip and a lot of copying i got a bit further, but running the TestNGDummyTest i get: Cannot find embedded-ejb3-project-ds-beans.xml What is a proper/easy way to get started, is it a naive approach i follow or the wrong tools? Thanks for some psychological assistance, Marcel View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024876#4024876 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024876 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - How to trigger a new Entity Instance with Home Object in sea
I used seam gen to generate my entities for CRUD operations and it appears to work great at first. However, there is an inheirent problem. On the List page for my entity, I can create my entity one time and everything works great. The next time I go to create another entity, the previous one must still be resident becuase I get a duplicate identifier error from Hibernate, because it is attempting to persist the same entity. This is default behavior with the seam generated CRUD app, and I am wondering how to get around it, I know the answer, I just don't know where to put the code. I know that when clicking on the Create Entity, I should somehow trigger a new instance of the Entity in the Home object to be created. What confuses me is the done button has a propogation=end on it, which I assumed would end the conversation and a new one would be created, thus, a new reference to my entityHome object, but that is not the case, there is still the reference to the old one. Thanks for the help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024877#4024877 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024877 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - how to use ws compile
Can someone help me to use ws complie. I have maybe a pb with path, i don't know but i can't run it... I have JAVA_HOME and JBOSS_HOME, ANT_HOME... and their bin in path... Which instruction did i use please View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024878#4024878 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024878 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Portlet navigation with CMS.
yes, you have to extend it, so it does. same for the cache feature (invalidation, if you use it for CMS Portlet), you have to add it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024879#4024879 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024879 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Problem updating model values with ajax4jsf
I have a problem with updating model values using ajax4jsf. It looks like it does only validation phase but skips data model update phase. I'm trying to run simplest example of ajax4jsf: | s:decorate | h:inputText value=#{mybean.textField} styleClass=textfield | a:support event=onkeyup reRender=repeater / | /h:inputText | h:outputText id=repeater value=#{mybean.textField} / | /s:decorate | I get no error, I can see that there is asynch request done to the server but my bean doesn't get updated. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024880#4024880 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024880 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: High CPU consumption.
The best thing to do is take some thread dumps when you see the unexpected processor usage. Those should tell you what is running. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024884#4024884 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024884 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Not quite getting it (aka noclassdeffound)
I am new to AOP and have been attempting to get a basic trace advice running. I am using jdk 5.0 and annotations, JBossAS 4.0.5. I created my class and annotated a method but nothing happened. I suspected that I needed to set 'EnableLoadtimeWeaving' to true because I did not use any aopc. Is that a correct understanding of how it works? I set the flag to true and then I got a null pointer exception. See trace 1. I then downloaded 1.5.4 SP2 TWICE but it would not unzip, so I downloaded 1.5.4 SP1 and used the jboss-aop-jdk50.deployer from that. I then got a noclassdeferror for AOPScopedClassLoaderHelper. See trace 0. I searched for a jar with that class but could not find one so I am pretty much dead in the water. Any help would really be appreciated. Thanks TRACE 0. Caused by: java.lang.NoClassDefFoundError: org/jboss/aop/classpool/AOPScopedClassLoaderHelper at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357) at java.lang.Class.getConstructor0(Class.java:2671) at java.lang.Class.getConstructor(Class.java:1629) at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1232) at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:286) at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:344) at org.jboss.system.ServiceCreator.install(ServiceCreator.java:157) ... 35 more TRACE 1. java.lang.NullPointerException at org.jboss.aop.deployment.AspectManagerServiceJDK5.attachTranslator(AspectManagerServiceJDK5.java:42) at org.jboss.aop.deployment.AspectManagerService.createService(AspectManagerService.java:121) at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) at $Proxy0.create(Unknown Source) at org.jboss.system.ServiceController.create(ServiceController.java:330) at org.jboss.system.ServiceController.create(ServiceController.java:273) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy4.create(Unknown Source) at org.jboss.deployment.SARDeployer.create(SARDeployer.java:258) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy6.deploy(Unknown Source) at
[jboss-user] [EJB 3.0] - Self-destroying a stateful session bean
Does anybody know if there is a way how a stateful session bean can destroy itself without rolling back the current transaction? The only idea I had was to call the bean's own remove-method - of course not directly but through the proxy by SessionContext.getEJBObject(). Unfortunately this caused the remove-method of a completely new bean instance to be called. So this is no solution. Regards, Jan View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024886#4024886 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024886 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problem updating model values with ajax4jsf
do you have other fields at the form? If so, add ajaxSingle=true to the a:support to avoid the processing of them. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024887#4024887 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024887 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - A bug on s:fileUpload in Seam + ICEfaces
Hi, I think that it is a bug in org.jboss.seam.ui.UIFileUpload. In the decode(FacesContext context) method of UIFileUpload, if I run seamspace example, the request in Object *request* = context.getExternalContext().getRequest(); got MultipartRequest Object. But in Seam+ICEfaces application, I found that the request got ServletEnvironmentRequest Object (from icefaces) in both ice:form enctype=multipart/form-data and h:form enctype=multipart/form-data cases. Since the decode method does not have if (request instanceof ServletEnvironmentRequest)... the uploaded byte data is always null. Hope it is correct. Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024888#4024888 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024888 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Error when deploying to Tomcat
I've been struggling for several hours trying to get my Seam app to run on Tomcat. I've hit a brick wall. I get the following error in the catalina.log file: SEVERE: Error Rendering View[/home.xhtml] javax.faces.el.EvaluationException: Cannot get value for expression '#{testList.firstResult}' ... ... Caused by: java.lang.IllegalArgumentException: EntityManagerFactory not found in JNDI ... ... Caused by: javax.naming.NameNotFoundException: myappEntityManagerFactory not bound Any ideas on what is causing this? Many thanks, -Michael View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024889#4024889 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024889 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: Interface not impl problems with WS from JSR-181 POJO
rjacobyez, I have two strategies for you. Here they are: 1) Upgrade your JBoss App Server to 4.0.5 as I don't think 4.0.4 supports J2EE 5. 2) When you install be sure to select the ejb3 installation. Between the 2 you should be able to get a web service going. The client maybe a different story, I have been attempting to write one now for two weeks. Good Luck! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024890#4024890 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024890 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: I need helps from anyone about JAAS with DatabaseServerL
Hi all! Thanks Jaikirain! Your explains are very helpfull for me and everyone that want discovery about JBoss. Two day ago, I have two problems and I posted they on Forum but not received reply. I hope that you can explain and help me about they again. 1. My operating system is XP2, I use jboss-4.0.5.GA. I assume that have three person with usernames are A, B and C. And now, I want A and B are allow restart JBoss server, C is not allow! How I can do ? 2. I have two bean called Bean1 and Bean2. If copy both of them into deploy folder (on server), the deploy is ok! But now, how the server check to server can deploy Bean1 not Bean2. How I can do this ? Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024891#4024891 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024891 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: Validation of destroyed connections
http://jira.jboss.org/jira/browse/JBAS-4170 This has been resolved in 4.2 and 5.0. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024893#4024893 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024893 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Adding a default interceptor
I read the documentation that, in order to make seam perform its magic, we need to add, interceptor declaration inside the ejb-jar.xml, but if my application is deployed inside a portal environment which is must be a web module(.war), then where I can define the interceptor declaration? please give a description Thanx and regards, -haric- View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024894#4024894 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024894 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Adding a default interceptor
one more question, related to my last post, has this issue already added at jira, what is the issue ID? thanx again -haric- View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024895#4024895 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024895 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: wsrp and remote resources
It should indeed be working. I will be looking at it ASAP. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024896#4024896 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024896 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: wsrp session propagation problem
We interpreted the WSRP specification as: Consumers are supposed to return ANY cookies that the producer sends REGARDLESS of whether the producer requires a call to initCookie. It turns out that BEA's consumer version 9.1 and earlier behaves similarly as you not SAP's consumer does. Since our producer relies on cookies to handle sessions, we are now requesting initCookie to be called to work around consumers that don't send the cookies we send them back. The fix is already in subversion and will be available in the upcoming version 2.4.2 and 2.6.BETA1. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024897#4024897 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024897 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam/Hibernate meetup in San Francisco, Friday, March 2
Well, that was fun :-) Great to meet you all, Gavin, Steve, Emmanuel, Max, Bob, and then some. Even Igor and Sergey were there, who I just had lunch with on Tuesday! When are you all coming BACK to SF? Better be soon! Cheers! Rob View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024899#4024899 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024899 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: How do I default a portlet window to maximized?
I also have the same requirement, by any chance did you get this resolved ? Thanks.. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024900#4024900 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024900 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user