[jboss-user] [JBoss Portal] - Re: JBoss Portal Server start up problem
selvarevathi wrote : | wats the purpose of portal-wsrp.sar will it affect any other portal applications. portal-wsrp.sar contains our implementation of the WSRP standard. If you don't know what that is, you don't need it. :) As mentioned in my previous post, you can safely remove it from jboss-portal.sar. As Thomas said, if you are starting with Portal today, you should probably consider using Portal 2.6 (which should be released in its GA version very soon now). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058541#4058541 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058541 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Facelets (Source) Tags problems with seam validation
Actually, this is fixed in Seam2. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058539#4058539 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058539 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - JBoss(Tomcat) ISAPI Redirector
Hello, We are having a problem with an ISAPI redirector dll configured to redirect to JBoss. We get an IIS page error 404 when trying to access the tomcat URL. 2007-06-28 03:17:59 10.18.102.162 GET /quality_center/QCisapi_redirect.dll - 80 - 10.34.161.18 Mozilla/4.0 - 404 1785 291 0 The Redirector is configured on an IIS6.0 Web Site and directing to a separate server which has JBoss 4.0 installed. The funny thing is we currently have a working installation with the same configuration. Please see extracts from the redirector log files for a) the IIs server that works and b) the IIS server that doesnt work. -Extracts posted below- Can I bring your attention to the last line of the logs. The working installation says HttpExtensionProc started which tells me that the extension portion of the redirector has been invoked after a positive match on a URI-worker-map The Non working installation says HttpFilterProc started which tells me that it is trying to use the filter portion of the DLL after a positive URI-worker-map(almost like its going into a loop). Log file extract (A) [Mon Jun 25 11:56:08 2007] [jk_isapi_plugin.c (626)]: HttpFilterProc started [Mon Jun 25 11:56:08 2007] [jk_isapi_plugin.c (672)]: In HttpFilterProc Virtual Host redirection of /qualitycenter.hhw.pprod.edc/qcbin/ [Mon Jun 25 11:56:08 2007] [jk_uri_worker_map.c (351)]: Into jk_uri_worker_map_t::map_uri_to_worker [Mon Jun 25 11:56:08 2007] [jk_uri_worker_map.c (368)]: Attempting to map URI '/qualitycenter.hhw.pprod.edc/qcbin/' [Mon Jun 25 11:56:08 2007] [jk_uri_worker_map.c (456)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Mon Jun 25 11:56:08 2007] [jk_isapi_plugin.c (678)]: In HttpFilterProc test Default redirection of /qcbin/ [Mon Jun 25 11:56:08 2007] [jk_uri_worker_map.c (351)]: Into jk_uri_worker_map_t::map_uri_to_worker [Mon Jun 25 11:56:08 2007] [jk_uri_worker_map.c (368)]: Attempting to map URI '/qcbin/' [Mon Jun 25 11:56:08 2007] [jk_uri_worker_map.c (391)]: jk_uri_worker_map_t::map_uri_to_worker, Found a context match loadbalancer - /qcbin/ [Mon Jun 25 11:56:08 2007] [jk_isapi_plugin.c (688)]: HttpFilterProc [/qcbin/] is a servlet url - should redirect to loadbalancer [Mon Jun 25 11:56:08 2007] [jk_isapi_plugin.c (737)]: HttpFilterProc check if [/qcbin/] is points to the web-inf directory [Mon Jun 25 11:56:08 2007] [jk_isapi_plugin.c (777)]: HttpExtensionProc started Log file extract (B) [Wed Jun 27 14:30:06 2007] [jk_isapi_plugin.c (626)]: HttpFilterProc started [Wed Jun 27 14:30:06 2007] [jk_isapi_plugin.c (672)]: In HttpFilterProc Virtual Host redirection of /qualitycenter.hhw.pprod.edc/qcbin/ [Wed Jun 27 14:30:06 2007] [jk_uri_worker_map.c (351)]: Into jk_uri_worker_map_t::map_uri_to_worker [Wed Jun 27 14:30:06 2007] [jk_uri_worker_map.c (368)]: Attempting to map URI '/qualitycenter.hhw.pprod.edc/qcbin/' [Wed Jun 27 14:30:06 2007] [jk_uri_worker_map.c (456)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Wed Jun 27 14:30:06 2007] [jk_isapi_plugin.c (678)]: In HttpFilterProc test Default redirection of /qcbin/ [Wed Jun 27 14:30:06 2007] [jk_uri_worker_map.c (351)]: Into jk_uri_worker_map_t::map_uri_to_worker [Wed Jun 27 14:30:06 2007] [jk_uri_worker_map.c (368)]: Attempting to map URI '/qcbin/' [Wed Jun 27 14:30:06 2007] [jk_uri_worker_map.c (391)]: jk_uri_worker_map_t::map_uri_to_worker, Found a context match loadbalancer - /qcbin/ [Wed Jun 27 14:30:06 2007] [jk_isapi_plugin.c (688)]: HttpFilterProc [/qcbin/] is a servlet url - should redirect to loadbalancer [Wed Jun 27 14:30:06 2007] [jk_isapi_plugin.c (737)]: HttpFilterProc check if [/qcbin/] is points to the web-inf directory [Wed Jun 27 14:30:07 2007] [jk_isapi_plugin.c (626)]: HttpFilterProc started I have checked the web site config on each of the IIS servers and they are both identical..even down to the web service extensions. Thank you in advance and any more indepth information will be provided post haste. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058542#4058542 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058542 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Netbeans and JBoss Portal
I'm using netbeans for my IDE and jboss-portal-2.6-CR2. When I create a project, the default Java EE version is set to J2EE 1.4 and the option for Java EE 5 is not on the drop down list. I believe the jboss-portal version that I have is compatible with Java EE5, why is it that I can not see it as an option? Is there something I can do to fix this? When I create projects using the non-portal jboss (jboss-4.2.0.GA) I can see the Java EE 5 option just fine, just not in the portal version. Thanks in advance. -Ray View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058544#4058544 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058544 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to extract the page id
Can Pageflow-defintion.xml be called from the servlet? If yes then how do we call it from the servlet? And where to put it in web application ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058545#4058545 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058545 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: uninitialized nodes
Node.replaceAll(Map m) should not load the data. Node.putAll() really is a merge operation, which is why the cache will load old data when doing a getData() View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058546#4058546 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058546 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - How to create Jboss server instance other than default (crea
Hi, Could anyone please let me know how to create a new server instance other than default which is created at the time of installation. I am using Jboss 4.0.4 on windows 2000 platform. Thanks in advance. Regards, Jignesh View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058547#4058547 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058547 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Initial state transfer failed: Channel.getState() return
As said I increased the InitialStateRetrievelTimeout to a higher value and find it proper now. Thanks !! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058548#4058548 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058548 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Netbeans and JBoss Portal
Hi, I think this question should be aske to the netbeans people. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058550#4058550 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058550 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: 2.4.1: how to dynamically select css file for a page
I have a solution, although it's somewhat like a hack... - the page has been defined a 'declaredProperty', e.g. 'layout' - the declaredProperty is retrieved within a portlet instance, which is placed on every page, and set into the APPLICATION_SCOPE's session - a custom ThemeTagHandler retrieves the layout value from the page-context's session and replaces the css file generated by theme.assembleResponse() Is there a smarter way of doing this in Portal 2.4? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058551#4058551 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058551 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Is it correct application of JBoss Cache
Well, it probably would have been faster to read the documentation than write all that. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058552#4058552 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058552 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: When and where to use jBPM in Seam app ?
Ok. Let's consider the order example again. Order processing in my system may take several days or even weeks. During that process order is handled by 5 different executives and passes through 7 statuses. From business point of view, it is single long running business-process. If I understand correctly, I can associate order component with @Scope(PROCESS) so that Seam takes care of it's persistence across sessions and users. Order can be tied to jBPM task, and task is always assigned to some person (actor). Under such approach, Order may even not be entity bean. Stateful session bean with scope=process will be persisted too, right ? On the other hand, if I make Order entity bean, I can explicitly save it's state and assignments in key points. In such case, I don't understand benefits of jBPM usage, except of better visualization as Pete says. Using both approaches together seems some kind of persistence duplication to me : Order will be (1) persisted as entity bean , and (2) persisted as scope=process Seam component. Or does Seam know that it is already an entity bean that needs no additional state management efforts ? Is it a good practice to rely on Scope=process context for stateful session beans , without EJB persistence ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058553#4058553 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058553 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Unable to access JBoss after starting - Portal works fin
The solution to this is to add -Djboss.bind.address=0.0.0.0 after the run.sh or run.bat script. This later version of JBoss only binds to the localhost for security reasons. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058554#4058554 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058554 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - notification of cache getting replicated
Is there a way that the other machine comes to know that the data in my cache is replicated? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058555#4058555 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058555 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: java.lang.ClassCastException: com.sun.faces.application.
I got it. I removed the exception by deleting my jsf realted jars i.e. jsf-api and jsf-impl jars from my war since, jboss 4.2 GA web deployer itself contains these jar files under jsf-libs folder. But now I am getting a new problem that is I am unable to find a way to declare a context fro my webapp. [TomcatDeployer] deploy, ctxPath=/myapp, warUrl=.../tmp/deploy/tmp56381myapp-exp.war/ [config] Unable to process deployment descriptor for context 'null' It doesn't deploy my webapp and I am unable to run it. Please help me in finding some solutions to it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058556#4058556 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058556 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: log4j with jboss issue ?
Hi, I followed two approaches documented by JBOSS, i.e. RepositorySelector and MDC. Both don't work. Dont' work means it didn't generate my application owned log file. To bad Benson View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058557#4058557 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058557 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - help on web services feasibility study..
Hi All, I am new to both web services and jboss .. Basically, ideally, i would like to have things work as follows:- Parties: P1. Third party Web Services Provider running on .NET P2. J2EE 1.4 Application running on JBOSS (v4.20), which consumes services from P1 and provides services for P3 P3. J2SE RCP clients Security: X.509 certificate based authentication, signature over https for all interactions. So, what exactly do a need for P2 and P3??? I suppose JBossWS should work for P2, but unfortunately both quick start and user guide links are not working, at least today... http://jbws.dyndns.org/mediawiki/index.php/Quick_Start http://jbws.dyndns.org/mediawiki/index.php/JAX-WS_User_Guide My main doubts is on P3, is there any readily available api that supports WS-security? any comments or recommendations are welcomed. thanks a lot. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058559#4058559 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058559 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Question: how to test seam app using hibernate
I am new to seam and testing :P how do I test a seam app if it uses hibernate any examples would be appreciated. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058558#4058558 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058558 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Seperate log4j.xml for each application
Hi, Both suggestion from the Wiki don't work. It is cheating. I just cut and paste the code into my code, it doesn't work at all. too bad Benson View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058560#4058560 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058560 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Jbpm class in Seam ?
Hi I have certain question regarding the Jbpm class provided in the seam. It does provide the certain method to have the pageflow in the java code. | getPageflowDefinitionFromResource(String resourceName) getPageflowDefinitionFromXml(String pageflowDefinition) | getPageflowDefinitions() | getPageflowProcessDefinition(String pageflowName) | Now my question is - can we use these methods to have the pageflow.xml in the java class. And can we use the Pageflow.instance() to use the pageflow object. I got the answer that it won't work in any external java class unless you have the embedded container with it. Now the question is can we implement all the Jbpm Pageflow methods in a servlet. Again will that servlet be the part of the seam web application? If yes, then where we put that servlet in web app? I am not going for any testng or junit test . I need all these in a plain java class so that i can use it as a utility.. pls solve out the issue Thanks, View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058562#4058562 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058562 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Date Convert Error
Hi i like to insert date inside oracle 10 database in the date field which i assigned field as date format. Tdate(date) h:inputText value=#{user1.tdate} f:convertDateTime pattern=dd-MM-/ /h:inputText i try to insert in 23-jun-2007 format but it giving exception value must be a datetime. can any View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058565#4058565 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058565 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Problems with an old version of Jboss and mod_jk with Apache
Hi guys, I was asked to upgrade the version of mod_jk used by our apache 2.0.59 to a newer version so I went ahead and grabbed the newest version from the Apache connectors website http://tomcat.apache.org/connectors-doc/ However since upgrading to the newer version of mod_jk, compiled from source on a Linux box with both versions 1.2.21 and 1.2.23, I cannot get it working. What the browser shows is a 200 Ok Response and that the server is not working. I found the Jboss version to be: Release ID: JBoss [WonderLand] 3.2.1 (build: CVSTag=JBoss_3_2_1 date=200310021350) In the apache mod_jk logs I get: [Thu Jun 28 16:22:04 2007] [5301:26336] [error] ajp_connection_tcp_get_message::jk_ajp_common.c (1005): wrong message size 10268 8192 from 127.0.0.1:8009 | [Thu Jun 28 16:22:04 2007] [5301:26336] [error] ajp_get_reply::jk_ajp_common.c (1606): (workertest) Tomcat is down or network problems. Part of the response h | as already been sent to the client | [Thu Jun 28 16:22:05 2007] [5301:26336] [error] ajp_connection_tcp_get_message::jk_ajp_common.c (1005): wrong message size 10260 8192 from 127.0.0.1:8009 | [Thu Jun 28 16:22:05 2007] [5301:26336] [error] ajp_get_reply::jk_ajp_common.c (1606): (workertest) Tomcat is down or network problems. Part of the response h | as already been sent to the client | [Thu Jun 28 16:22:05 2007] [5301:26336] [error] ajp_service::jk_ajp_common.c (1942): (workertest) Connecting to tomcat failed. Tomcat is probably not started | or is listening on the wrong port I found these old posts: http://osdir.com/ml/java.jetty.support/2003-01/msg00133.html Which are around a similar time and *may* be related. Any ideas whats wrong here? Do I need to upgrade Jboss/jetty before I attempt to upgrade mod_jk? Currently we have an older version of mod_jk running but there is no information on which version it is, even in debug mode the version information does not get printed. Does this look like a problem with a very old version of Jboss? Or am I doing something wrong with mod_jk. Also does anyone know an appropriate forum for mod_jk, I cannot find one. Regards, Gareth Regards, Gareth View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058566#4058566 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058566 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Inserting Date into Database
Hi i like to insert date inside oracle 10 database in the date field which i assigned field as date format. Tdate(date) h:inputText value=#{user1.tdate} f:convertDateTime pattern=dd-MM-/ /h:inputText i try to insert in 23-jun-2007 format but it giving exception value must be a datetime. can any suggest me thank u regards kavi View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058567#4058567 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058567 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Problems with an old version of Jboss and mod_jk with Ap
I should have mentioned, compiled from scratch with the apache sources. JBoss is included as part of a larger proprietary application so upgrading it cannot be done without the vendor (HP). The current version of mod_jk I have does work fine View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058569#4058569 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058569 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Problem with Seam generator edit pages
I have a problem with seam generator edit pages. When I have a complex object that have inside a reference to another object, seam generator generates a dataPanel to try to select the object to bring it to the edit form. The problem is when I fill the inputText simple fields before select the object. When I select the complex object seam losses all the data introduced before and I have to fill the data again in the form. Do you have a solution for this problem? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058571#4058571 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058571 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: uninitialized nodes
In order to call replaceAll, I need to have a Node first. And when I try to get a node, the cache calls the cacheloader to load the data. This is exactly what I want to avoid. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058574#4058574 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058574 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Can a Stateless bean make a call to an entity bean to pe
Hello again! If your datasource is correctly deployed, then I don't know. It might be a TopLink issue. This is the way to deploy a EJB3 jar file and connect it to a datasource. When using EJB3 and JPA you are not using Hibernate directly. You are using JPA, which JBoss in turn maps to Hibernate. You don't have to care about the implementation of JPA. JBoss choose Hibernate, Glassfish choose TopLink, but they are all doing the same thing. The whole idéa is that you don't have to care about the underlying mechanism/implementation. So, if you are using pure JPA, then you should go for the standard behaviour of the apllication server's implementation. On the other hand, if you are using special features of for example TopLink, or if you aren't satisfied with the standard implementation (in this case Hibernate), then of course you should go for TopLink if you find TopLink solve your problems. Kind regards Oskar View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058576#4058576 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058576 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to create hibernate criteria
Thank you Fabricio I will try your advice and let you know if it worked. Yes jboss-ejb3-all.jar is packaged. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058572#4058572 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058572 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: or in RESTRICTIONS
Thank you Dan, Your solution works like a charm and thank you to Seam that it indexes even the not used restrictions. Sincerely Malte View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058578#4058578 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058578 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Can a Stateless bean make a call to an entity bean to pe
Hi again! Good news! Take a look at this post on another forum http://forums.oracle.com/forums/thread.jspa?threadID=244914 //Oskar View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058577#4058577 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058577 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Tomcat Java 5.0 problem, on a 6.0 JDK...
For those getting the above problem (which should actually show the error that 5.0 generics can't be used ) change Tomcat's web.xml to read: init-param | param-namecompilerTargetVM/param-name | param-value1.5/param-value | /init-param | init-param | param-namecompilerSourceVM/param-name | param-value1.5/param-value | /init-param Under the JSP servlet def. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058581#4058581 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058581 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JBoss Portal Server start up problem
ok chris will try for that thanx a lot chris for u r patience reply have a great day View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058582#4058582 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058582 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 2.0 BETA
Good news! :) I have several question: 1) Are you planning to switch development complitly to 2 version or you'll also support 1? 2) Can I download somewhere Jboss Seam 2.0 with all requered (AS, JSF 1.2 etc.) as one installation package? I had a lot of problems to install Jboss Seam on my Jboss AS and update all requered packages... 3) Are Jboss Seam 2.0 fully support application that was writen for 1.2.1 for example? May be you have migration guide? Where I can find it? Thank you for a good job!:) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058583#4058583 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058583 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: jbpm and exception handling
Hey, say something. I believe there is simple way to do this, but I can't find it, and now my project can't be finished because of this. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058584#4058584 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058584 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - DataModel and Row Unavailable
I have some problems in using the datamodel. I have two Tables on my page and i add entries from one table to the 2nd, which works fine. After adding i should have the possibility to remove entries again from the 2nd table, which works, but only with the first entry.. If i alway delete the first entry until the table is empty this is again no problem, but if i like to delete an entry in the middle or at the end, I get an exception saying the row is unavailable.. My Bean: | @Stateful | @Scope(ScopeType.CONVERSATION) | @Name(caseAction) | public class CaseAction implements ICase,Serializable{ | | | @PersistenceContext | private EntityManager em; | | @In | private User authUser; | | @Logger | private Log log; | | @In | private FacesMessages facesMessages; | | private PersistentFacesState state; | | @In(create=true) | @Out(required=false) | private Patient patient; | | @Out(value=selectedMedCase,required=false) | MedCase mcase; | | @In(create=true) | @Out(required=false) | private CaseType caseType; | | | @DataModel(value=professionals) | private ListHealthProfessional professionals; | @DataModelSelection(value=professionals) | @Out(required=false) | private HealthProfessional selectedProfessional; | | @DataModel(value=searchProfessionals) | private ListHealthProfessional searchProfessionals; | @DataModelSelection(value=searchProfessionals) | @Out(required=false) | private HealthProfessional selectedSearchedProfessionals; | | private String description; | | | | public CaseAction(){ | | } | | @Begin(join=true) | @Factory(searchProfessionals) | public void initSearchProfessionals(){ | searchProfessionals = em.createQuery(FROM HealthProfessional hp + | order by hp.lastname).getResultList(); | professionals = new ArrayListHealthProfessional(); | } | | | @End | public String create(){ | | log.info(create) | | return /protected/prof/profMyCases.seam; | } | | | | public void deleteProf(){ | professionals.remove(selectedProfessional); | state = PersistentFacesState.getInstance(); | | log.info(delete Health Professional); | | } | | public void addProf(){ | | if(!professionals.contains(selectedSearchedProfessionals)){ | professionals.add(selectedSearchedProfessionals); | } | | log.info(added Health Professional: #{selectedSearchedProfessionals}); | } | | public void patientChanged(ValueChangeEvent event){ | log.info(patient change event); | } | | public ListPatient getMyPatients(){ | HealthProfessional prof = (HealthProfessional)authUser; | | ListPatient patients; | | | patients = em.createNamedQuery(findAllPatientOfProfessional) | .setParameter(prof, prof).getResultList(); | | return patients; | } | | public ListCaseType getCaseTypes(){ | | ListCaseType types; | | types = em.createNamedQuery(findAllCaseTypes).getResultList(); | | return types; | } | | public String getDescription(){ | return description; | } | | public void setDescription(String description){ | this.description = description; | } | | | | @Destroy @Remove | public void destroy(){ | | } | | } | My website: | ?xml version=1.0 encoding=ISO-8859-1 ? | ui:composition xmlns:ui=http://java.sun.com/jsf/facelets; | xmlns:jsp=http://java.sun.com/JSP/Page; | xmlns:f=http://java.sun.com/jsf/core; | xmlns:h=http://java.sun.com/jsf/html; | xmlns:ice=http://www.icesoft.com/icefaces/component; | xmlns:s=http://jboss.com/products/seam/taglib; | template=../../layout/template.jsp | | ui:define name=content | | | ice:panelAccordion expanded=true styleClass=accordion | f:facet name=header | ice:outputText value=#{messages['profNewCase.title']} / | /f:facet | |
[jboss-user] [JBoss jBPM] - Re: jBPM or pages.xml overloading / extending / composition
utiba_davidr | Joined: Sat Jun 23, 2007 08:52 AM First of all: welcome to the JBoss forums. The subject of your question is promising! But... I don't know about the other members, but in general I have a strong objection against posting the very same question in multiple forums. A usenet-like cross-posting might be alright to some, but is different than posting the very same thing as separate topics in multiple forums. The latter implies that people might spend their time typing the very same answer that someone else already gave elsewhere. Or, for your own benefit: it may also imply that wrong answers are not noticed by people who only read the topic in the other forum(s). So, I guess this very topic should continue at the very same topic in the Seam forum, in which a few replies have already been given, posted Wed Jun 27, 2007 23:35 PM. Cheers, Arjan. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058586#4058586 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058586 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Seperate log4j.xml for each application
Yeah I couldn't get it to work either, allbeit I didn't try for very long. It seems to be a poor feature of Log4J that you can only have one config per JVM. In the end we have to have 1 log4j config in our EAR file which has knowledge of every application deployed and the JBoss log4j config too, as you can understand this is not ideal. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058587#4058587 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058587 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM or pages.xml overloading / extending / composition
Oops, excuse me for my previous reply. I did not yet dive into the posts in the Seam forum, and apparently in that specific topic you and Gavin King decided that this question was better asked in the jBPM forum -- and you even linked here. Good! So: I hope you'll find your answer here. At least my erroneous comments make your topic move up in the list of topics... Sorry, Arjan. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058590#4058590 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058590 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to extract the page id
trekker880 wrote : Is there any sample code to test the pageflow transitions? As in PageflowTest.java? This is currently not enabled in CVS, but it was enabled until recently. So, I guess that was not hard to find and you're surely able to get that code working again? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058591#4058591 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058591 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: DataModel and Row Unavailable
Recently solved the same problem , thanks to this forum . The situation was like your's : adding rows from one table to another (shopping cart) and then deleting rows from shopping cart. http://www.jboss.com/index.html?module=bbop=viewtopict=111675 ( the initial request is about another problem, but starting from 4th message the talk is about row is unavailable ) Good luck. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058592#4058592 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058592 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to create hibernate criteria
Great Fabricio It worked! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058595#4058595 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058595 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam gen edit pages, update without press save button
I have a problem with seam generator edit pages. When a generated pojo has a complex object inside it, seam gen generates in the edit page a rich:tab with the following code. rich:tab label=entidad * labelClass=required | div class=association id=entidadParent | | h:outputText value=No entidad | |rendered=#{operacionHome.instance.entidad == null}/ | | rich:dataTable var=entidad |value=#{operacionHome.instance.entidad} | rendered=#{operacionHome.instance.entidad != null} | rowClasses=rvgRowOne,rvgRowTwo | id=entidadTable | bypassUpdates=true | h:column | f:facet name=headerempresa/f:facet | #{entidad.empresa.nombre} | /h:column | h:column | f:facet name=headernombre/f:facet | #{entidad.nombre} | /h:column | h:column | f:facet name=headernumerocnmv/f:facet | #{entidad.numerocnmv} | /h:column | h:column | f:facet name=headerisin/f:facet | #{entidad.isin} | /h:column | /rich:dataTable | | div class=actionButtons | s:button value=Select entidad bypassUpdates=true | view=/EntidadList.xhtml | f:param name=from value=OperacionEdit/ | /s:button | /div | | /div | /rich:tab When I press the botton and I bring the object entidad the following update is aoutomatically executed without press the save button: | 10:28:30,488 INFO [STDOUT] Hibernate: update fondval.dbo.operacion set entidadid=?, ctapersonasid=?, activoid=?, volumen=?, divisaid=?, sistema=?, precio=?, fecha=?, mercadoid=?, tipoprecio=?, tipo=?, referencia=? where operacionid=? | Can you help me with this question, please? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058600#4058600 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058600 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to extract the page id
Can you tell me how to access to that code in cvs? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058601#4058601 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058601 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: async pain
thanks ed for working on this problem. I'd like to see some of the developers to work on this too to have it fixed in a public version. we did some bad hacks similar to ed's to get this to work, but still, I believe its not production ready. right now I don't have any more time to work on this, I just hope our stuff will do... al View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058602#4058602 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058602 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem with Exception Handler or I just can't do this?
Exception handlers have limited use. They cannot influence the graph excecution in the way you apparently want it. Their use is to perform some corrective action (set variables, send email, jms message etc.) and then either continue the graph execution (the behaviour you observe) or else rethrow an exception for the transaction to fail and the token to end up in the node it started from. So the behaviour you see is correct. Regards, Koen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058603#4058603 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058603 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: DataModel and Row Unavailable
Yes, i read your problem already. But it seems that my problem is something else.. I have the in the attribute rendered the rowCount-Thing already built in and I even get the exception if I don't add the rendered-attribute. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058604#4058604 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058604 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How can I split storage scheme JBPM and general?
Hi, we adjusted our jbpm.cfg.xml to use DbPersistenceServiceFactory instead of JtaDbPersistenceServiceFactory. This configuratoin works fine... (read on) jbpm-context | service name=persistence | factory | bean name=persistence.factory | class=org.jbpm.persistence.db.DbPersistenceServiceFactory | | field name=isTransactionEnabled | false / | /field | | /bean | /factory | /service | service name=tx factory=org.jbpm.tx.TxServiceFactory / | /jbpm-context ... (continued) UNTIL you want to user the JBPM varmapping to store your Hibernate LongIdInstances. There are some random -or at least confusing- runtime behaviours when using Hibernate as JPA provider as well as JBPM persistence engine. At least there is some confusion regarding responsibility for the persisting of the LongIdInstaces between both Hibernate configurations. We therefore went over to use TopLink as the JPA provider for our EJB3 Entity Beans and keeping Hibernate as JBPM configuration. HTH View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058605#4058605 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058605 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: async pain
Alex, There are 3 ways to get this fixed quickly: - Develop a good patch and contribute it - Get many people to vote for the issue - Buy commercial support and report it as a major issue. There are currently to few people having a problem with this to get it 'fixed' by the core developers working on it and dropping other things. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058606#4058606 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058606 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Jboss 4.2.0 and SQL Server
i can't understand. I've debug the aplication with jboss ide to see the variable values. The entity usuario has a List of concesiones. When i run with debug i could see the value of this list and i was ok, it has the list of Concesiones i wanted but it crashes when calling the getList method (com.sun.jdi.InvocationException occurred invoking method) and after it jboss crashes .10:36:36,147 ERROR [LazyInitializationException] illegal access to loading collection | org.hibernate.LazyInitializationException: illegal access to loading collection | at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:341) | at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:86) | at org.hibernate.collection.PersistentBag.toString(PersistentBag.java:483) | at com.satdatatelecom.satdataweb.model.usuariofachada.ejb.actions.finders.FindUsuarioAction.execute(FindUsuarioAction.java:31) | at com.satdatatelecom.satdataweb.model.usuariofachada.ejb.actions.LoginUsuarioAction.execute(LoginUsuarioAction.java:65) | at com.satdatatelecom.satdataweb.model.usuariofachada.ejb.UsuarioFacadeEJB.loginUsuarioVO(UsuarioFacadeEJB.java:198) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) | at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166) | at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79) | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77) | at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:106) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:278) | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106) | at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:734) | at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:560) | at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:369) | at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:165) | 10:36:38,022 ERROR [LazyInitializationException] illegal access to loading collection | org.hibernate.LazyInitializationException: illegal access to loading collection | at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:341) | at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:86) | at org.hibernate.collection.PersistentBag.toString(PersistentBag.java:483) | at com.satdatatelecom.satdataweb.model.usuariofachada.ejb.actions.finders.FindUsuarioAction.execute(FindUsuarioAction.java:31) | at
[jboss-user] [JBoss Seam] - Re: Use jsf and seam navigation rule together
could i still use the session,request and application scope? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058608#4058608 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058608 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to extract the page id
Stop constantly asking this question in multiple threads all over the place. anonymous wrote : Can Pageflow-defintion.xml be called from the servlet? If you really want to just parse a pageflow definition from a servlet, then you can just use a XML (e.g. SAX) parser. This has nothing to with Seam at all, so please don't ask how to do that here. anonymous wrote : If yes then how do we call it from the servlet? Calling it from a servlet is again nothing to do with Seam, please ask on a more appropriate forum. anonymous wrote : And where to put it in web application ? Your packaging structure is up to you. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058609#4058609 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058609 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How can I split storage scheme JBPM and general?
Can you please elaborate about the strange behavior you mentioned? That could help us create a standard solution for splitting the storage View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058612#4058612 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058612 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Date Convert Error
I don't think that dd-MM- is the correct pattern for 23-jun-2007. This is just the standard Java SimpleDateFormat stuff, so take a look at that for the correct pattern :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058613#4058613 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058613 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM or pages.xml overloading / extending / composition
Don't know about extending and overloading but pageflow composition (http://jira.jboss.com/jira/browse/JBSEAM-157 ?) would be an option. What I personnaly would like is a dynamic processcomposition. This way you can have one big main process, but runtime decide which subprocess to load for a specific user. Would that solve your problem or would overloading/extending of subprocesses still be required? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058614#4058614 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058614 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.3.0.ALPHA entity converter: The instance was not
http://jira.jboss.com/jira/browse/JBSEAM-1487 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058615#4058615 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058615 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: async pain
Ronald, you're absolutely right, but there's nothing I can do now. Our hacks are not of a quality for a patch. I can quickly describe what we did: - new job executor who is starting 1 job reader thread - job reader thread uses java executor service for thread pool - reads jobs from db and starts new single job execution thread for each job - synchronize on exclusive and on process id/node - wait 1 second in each single job execution thread to not interfere with other jobs still running, this is the worst part, but it works - changes are extensions, no patches. new job executor configured in jbpm config too bad above doesn't work with 3.2.1 how many is many people ? alex View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058616#4058616 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058616 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Help : seamdisc problem
Hello, is this the reason why i can not find the seamdisc example in Seam 2.0.0.Beta1? Or is it delivered and i can not find it, because i'm blind? Ciao, Carsteb View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058619#4058619 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058619 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: ui:insert / stopped working in Seam 2.0 within source
As always, it's very hard to help you when you don't post code! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058618#4058618 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058618 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM or pages.xml overloading / extending / composition
Dynamic process composition would be very useful. Is this something that is being worked on? Is there any way to achieve the same effect with the current release? Thanks, Damian. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058622#4058622 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058622 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam gen edit pages, update without press save button
Is that supposed to be an edit page or what? I don't understand how you are selecting anything with that button. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058611#4058611 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058611 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Seperate log4j.xml for each application
the problem is not comming log4j. It's a jboss classloading problem. In jboss4.3 sp1 version, you could have a log4j.jar version for each of you application. But with jboss 4.2 version doing so, you may experience with exception below | log4j:ERROR A org.jboss.logging.appender.FileAppender object is not assignable to a org.apache.log4j.Appender variable. | log4j:ERROR The class org.apache.log4j.Appender was loaded by | log4j:ERROR [WebappClassLoader | delegate: false | repositories: | /WEB-INF/classes/ | -- Parent Classloader: | [EMAIL PROTECTED] | ] whereas object of type | log4j:ERROR org.jboss.logging.appender.FileAppender was loaded by [EMAIL PROTECTED] | log4j:ERROR Could not instantiate appender named FILE. | It seem not possible to override jboss server librairies (log4j.jar is present in jboss server lib and has been customised). Even if you try to isolate classloadiing, it's not working witk log4j. Meissa View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058623#4058623 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058623 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: async pain
ax666 wrote : Ronald, you're absolutely right, but there's nothing I can do now. | Our hacks are not of a quality for a patch. I can quickly describe what we did: | - new job executor who is starting 1 job reader thread | - job reader thread uses java executor service for thread pool | - reads jobs from db and starts new single job execution thread for each job | - synchronize on exclusive and on process id/node | - wait 1 second in each single job execution thread to not interfere with other jobs still running, this is the worst part, but it works | - changes are extensions, no patches. new job executor configured in jbpm config | | I asked one of the core developers to comment on this, so let's wait on that. Mind that real-time processing was never one of the main requirements of jBPM, so the 1 second is not to bad imo (jms could do this automatically for you with the retry-timeout) ax666 wrote : | too bad above doesn't work with 3.2.1 Hmm... so you mean there is a difference in this area between 3.2 and 3.2.1? ax666 wrote : | how many is many people ? | A few hundred no just kidding... getting it in the top 10 of most voted issues should be enough.. 3-5 votes i think View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058624#4058624 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058624 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM or pages.xml overloading / extending / composition
damianharvey wrote : Dynamic process composition would be very useful. Is this something that is being worked on? No damianharvey wrote : | Is there any way to achieve the same effect with the current release? No, not as far as i know Please file a jira issue for this. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058626#4058626 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058626 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: log4j with jboss issue ?
We all are having the same problem. It seem impossible to override log4j.jar despite the wiki explanations about that. The only one solution is to remove your log4j version and to let the one with is jboss server lib to be loaded. This is a ugly solution. Jboss guys have to tells us why the make things as painfull as that. Meissa View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058627#4058627 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058627 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Scary, scary thing: browser cache + Ajax4JSF???
Hi, I've just noticed an answer for this thread and I'm curious how do you perceive this problem in general. http://www.jboss.com/index.html?module=bbop=viewtopict=112124 ...suggesting cleaning browser cache as a solution for a specific error. Ok, as a developer I can do it after A4J update that requires it. But after going into production environment and when in the future there will be a need for such update after a huge amount of users got it cached...? Don't you feel scared by this? Suggesting reload in this situation can be often a no-go (uneducated users, perceived system credibility etc.). Another question is how to make user to reload his cache (special error page for ResourceNotFoundException, suggesting cache reload?). Is there something I'm not aware of? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058628#4058628 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058628 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Use jsf and seam navigation rule together
the navigation model has no affect on the scopes available View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058629#4058629 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058629 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - jboss 4.2 and log4j nightmare
Hi jboss guys, We are been more and more to suffer about the Impossibility to override log4j.jar in jboss 4.2 version. The classloading isolation configuration that is explained in the wiki is not working at all. Jboss still complain when we put log4j.jar in our appllications librairies. Can you please,please,please give to us a real solution to get rif of this problem. Removing log4j.jar from our librairies is not a solution. here is the well known exption trace: | log4j:ERROR A org.jboss.logging.appender.FileAppender object is not assignable to a org.apache.log4j.Appender variable. | log4j:ERROR The class org.apache.log4j.Appender was loaded by | log4j:ERROR [WebappClassLoader | delegate: false | repositories: | /WEB-INF/classes/ | -- Parent Classloader: | [EMAIL PROTECTED] | ] whereas object of type | log4j:ERROR org.jboss.logging.appender.FileAppender was loaded by [EMAIL PROTECTED] | log4j:ERROR Could not instantiate appender named FILE. | Any help is greetly appreciated. Meisssa View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058630#4058630 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058630 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: async pain
with 3.2.1 : anonymous wrote : 11:19:01,985 [pool-1-thread-1] DEBUG GraphElement - event 'node-leave' on 'Node(fileCheck)' for 'Token(/)' | 11:19:02,003 [pool-1-thread-1] DEBUG GraphElement - event 'transition' on 'Transition(check-to-fork)' for 'Token(/)' | 11:19:02,006 [pool-1-thread-1] DEBUG GraphElement - event 'node-enter' on 'Fork(fork1)' for 'Token(/)' | 11:19:02,010 [pool-1-thread-1] DEBUG DbMessageService - saved job[2, org.jbpm.job.ExecuteNodeJob] | 11:19:02,012 [pool-1-thread-1] DEBUG Token - token[1] is unlocked by token[1] | 11:19:02,024 [pool-1-thread-1] ERROR GraphElement - action threw exception: token '1' can't be locked by 'job[2]' cause it's already locked by 'token[1]' | org.jbpm.JbpmException: token '1' can't be locked by 'job[2]' cause it's already locked by 'token[1]' | at org.jbpm.graph.exe.Token.lock(Token.java:646) | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058631#4058631 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058631 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: How to create Jboss server instance other than default (
you just have to copy the default directory and give it another name. Assume you name it myInstance. To run it, you'll have to use run -c myInstance. hope that help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058632#4058632 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058632 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - access the entityManager in a converter (seam 2 beta)
Hello In seam 1.3 alpha, I use the entityManager in a converter (in getAsObject) like this : public Object getAsObject(FacesContext arg0, UIComponent arg1, String arg2) { | if (StringUtils.isEmpty(arg2)){ return null;} | log.info(getAsObject avec arguement #0, arg2); | | TypecolList typecolList = (TypecolList) Component.getInstance(typecolList); | if (typecolList == null ) { | log.info(typecolList est null); | return null; | } | EntityManager em = typecolList.getEntityManager(); | Typecol typecol = em.find(Typecol.class, Integer.parseInt(arg2) ); | | return typecol; | } | I am a newbie and I know this code is not clean. With seam 2 beta, It raises an exception: EntityManager is closed. So my question is : how can I access to my entities without using the EntityManeager ? or How can I have access to the entity Manager ? Best Regards Adrien View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058633#4058633 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058633 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to extract the page id
@ pete.muir i was just trying to find out the seam feasibility bt it got repeated in two seperate thread. neverthless sorry for any inconvenience. Again as you said that the code i posted in this same thread isn't interpreted by the container. | ProcessDefinition pageflowDefinition =jbpm.getPageflowProcessDefinition(submit2); | So there is no way out to use this in external java file.Can't we embed the container. In few words, i want to create a component sort of class using seam If you could help me ,it would be appriciated lot Thanx, View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058635#4058635 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058635 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How to use FindTaskInstances in multiple transitions?
Thanks to all, but not answer my question... In this process: A-B A-C A, B and C are task-nodes with one task each When a user end the task in A, i want that the token stays in A (ok...signaling off). What i want next is that the users that can resume B and C can see in their pending task list interface the B and C tasks... Is this possible with findTaskInstances? or i need to get the leaving transitions collection and collect the tasks manually? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058636#4058636 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058636 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: How to create Jboss server instance other than default (
meissa wrote : you just have to copy the default directory and give it another name. | Assume you name it myInstance. To run it, you'll have to use | | run -c myInstance. | | hope that help. Thanks dear. Also I would really appritiate if you can explain me how can I run both the instance at a time.. because default instance runs on port no. 8080 .. so for any other instance to run at the same time, I guess I will have to configure it on new port no. Could you please help me how to configure port number ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058638#4058638 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058638 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: access the entityManager in a converter (seam 2 beta)
I am not sure if this is the best way. It would probably be better to use the seam entity converter, but here goes: | InitialContext ctx = new InitialContext(); | String jndiEntityManagerFactory = factoryDefinedInComponentsXml; | EntityManagerFactory factory = (EntityManagerFactory) ctx | .lookup(jndiEntityManagerFactory); | EntityManager entityManager = factory.createEntityManager(); | Hope, it helps! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058639#4058639 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058639 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: How to create Jboss server instance other than default (
jignesh_it009 wrote : meissa wrote : you just have to copy the default directory and give it another name. | | Assume you name it myInstance. To run it, you'll have to use | | | | run -c myInstance. | | | | hope that help. | | | Thanks dear. Also I would really appreciate if you can explain me how can I run both the instance at a time.. because default instance runs on port no. 8080 .. so for any other instance to run at the same time, I guess I will have to configure it on new port no. Could you please help me how to configure port number ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058640#4058640 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058640 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: InputText value being cached
What JSF framework do you use ? I ask the question because IceFaces has this bug in its bug list : http://jira.icefaces.org/browse/ICE-1343 . A hack is given there. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058642#4058642 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058642 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: access the entityManager in a converter (seam 2 beta)
Ousp The exception is not in my converter. It is the s:convertEntity / in my xhtml page that raises it ! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058644#4058644 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058644 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 2.0 BETA
Is Seam 1.3.0 (still in ALPHA) still going to be released? What's the difference between 1.3 and 2.0 (BETA)? Or just ignore 1.3 ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058645#4058645 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058645 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Hibernate tools on Seam Gen project
Has anyone got Hibernate Tools - specifically the HQL queries - working on a basic Seam Gen project? I've asked this question in the Hibernate Tools forum (http://forum.hibernate.org/viewtopic.php?p=2356963#2356963) but I think it is best addressed to a Seam audience. Essentially, Hibernate tools picks up the Console Config from the project (using the hibernate-console.properties that Seam Gen helpfully generates). However when I try to perform a query it tells me that the Entity is not mapped. My understanding is that using the JPA connection it wouldn't require this. Can anyone point me in the right direction? Thanks, Damian. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058646#4058646 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058646 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: access the entityManager in a converter (seam 2 beta)
Easiest way is to use a Seam component | @Name(myConverter) @BypassInterceptors @Converter | public class MyConverter implements Converter{ | |@In EntityManager entityManager; | |@Transactional |public Object getAsObject(FacesContext arg0, UIComponent arg1, String arg2) { |entityManager.joinTransaction(); |... |} | } h:selectOneMenu ... converter=myConverter View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058647#4058647 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058647 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: jboss 4.2 and log4j nightmare
So you've tried http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoaderScoping and it doesn't work for you? (you don't even have to rename conf/log4j.xml, it is already renamed) There is a testcase in the jboss testsuite for this exact scenario: org.jboss.test.classloader.test.ScopingUnitTestCase View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058648#4058648 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058648 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: access the entityManager in a converter (seam 2 beta)
do you mind posting the snipped of your page? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058649#4058649 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058649 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 2.0 BETA
1) We are now working entirely on Seam2, Seam 1.2.1.GA is part of the Application Platform though, and will be maintained 2) Not from the community releases, but the application platform will offer this (still should soon be GA IIRC) 3) The migration guide is in the download for Seam2, or here http://fisheye.jboss.com/browse/JBoss/jboss-seam/seam2migration.txt?r=1.1 - no, you can't just swap an app between 1.2.1 and 2 - mainly due to repackaging and the upgrade to JSF 2 No, Seam 1.3.0 won't be released. 1.3 was the old name for 2 :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058651#4058651 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058651 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: access the entityManager in a converter (seam 2 beta)
s:decorate template=layout/display.xhtml | ui:define name=labelType de collectivité/ui:define | h:selectOneMenu id=typecol value=#{colList.col.typecol} | s:selectItems value=#{typecolList.resultList} var=untypcol label=#{untypcol.nom} noSelectionLabel=Select... hideNoSelectionLabel=false/ | s:convertEntity / | /h:selectOneMenu | /s:decorate | I'am looking at the doc references to see if something has changed. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058652#4058652 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058652 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Hibernate tools on Seam Gen project
Make sure you use a really up to date version of hibernate tools (newer than 3.2 beta 9). A good bet is the JBoss Tools releases, though I haven't specifically tried it with them View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058653#4058653 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058653 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam gen edit pages, update without press save button
I have an object Operacion that has inside an object Entidad. I want to edit my Operation object.I want to change Entidad field in Operacion, so for this reason I have to press the botton. When I press the button I show a list of Entidad objects to select one of them. Then when I return to my page seam executes the update of Operaction always. I have done some test using properties like bypassUpdates but seam continues doing the update. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058654#4058654 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058654 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam gen edit pages, update without press save button
rbcdexia wrote : I have an object Operacion that has inside an object Entidad. | I want to edit my Operation object.I want to change Entidad field in Operacion, so for this reason I have to press the botton. When I press the button I show a list of Entidad objects to select one of them. Then when I return to my page seam executes the update of Operaction always. | I have done some test using properties like bypassUpdates but seam continues doing the update. | | | This is my complete edit page: | !DOCTYPE composition PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN | http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; | | ui:composition xmlns=http://www.w3.org/1999/xhtml; | xmlns:s=http://jboss.com/products/seam/taglib; | xmlns:ui=http://java.sun.com/jsf/facelets; | xmlns:f=http://java.sun.com/jsf/core; | xmlns:h=http://java.sun.com/jsf/html; | xmlns:a=https://ajax4jsf.dev.java.net/ajax; | xmlns:rich=http://richfaces.ajax4jsf.org/rich; | template=layout/template.xhtml | | ui:define name=body | | h:messages globalOnly=true styleClass=message id=globalMessages/ | | h:form id=operacion styleClass=edit | | rich:panel | f:facet name=headerEdit Operacion/f:facet | | | s:decorate id=ctapersonasidDecoration template=layout/edit.xhtml | ui:define name=labelId Cuenta en personas/ui:define | h:inputText id=ctapersonasid |required=true |disabled=#{operacionHome.managed} | value=#{operacionHome.instance.ctapersonasid} | a:support bypassUpdates=true event=onblur reRender=ctapersonasidDecoration/ | /h:inputText | /s:decorate | | s:decorate template=layout/display.xhtml | ui:define name=labelFecha/ui:define | h:inputText id=fechaDecoration2 value=#{operacionHome.instance.fecha} required=true | s:convertDateTime pattern=MM/dd// | /h:inputText | s:selectDate for=fechaDecoration2 startYear=1910 endYear=2007img src=img/calendar.gif//s:selectDate | /s:decorate | !--s:decorate id=fechaDecoration template=layout/edit.xhtml | ui:define name=labelfecha/ui:define | h:inputText id=fecha |size=16 |required=true | value=#{operacionHome.instance.fecha} | s:convertDateTime type=both dateStyle=short/ | | /h:inputText | /s:decorate-- | | s:decorate id=volumenDecoration template=layout/edit.xhtml | ui:define name=labelVolumen/ui:define | h:inputText id=volumen |required=true | value=#{operacionHome.instance.volumen} |size=27 | a:support bypassUpdates=true event=onblur reRender=volumenDecoration/ | /h:inputText | /s:decorate | | s:decorate id=precioDecoration template=layout/edit.xhtml | ui:define name=labelPrecio/ui:define | h:inputText id=precio |required=true | value=#{operacionHome.instance.precio} |size=27 | a:support bypassUpdates=true event=onblur reRender=precioDecoration/ | /h:inputText | /s:decorate | | s:decorate id=tipoprecioDecoration template=layout/edit.xhtml | ui:define name=labelTipo de precio/ui:define | h:inputText id=tipoprecio |required=true | value=#{operacionHome.instance.tipoprecio} | a:support bypassUpdates=true event=onblur reRender=tipoprecioDecoration/ | /h:inputText | /s:decorate | | s:decorate id=divisaidDecoration template=layout/edit.xhtml | ui:define name=labelId Divisa/ui:define | h:inputText id=divisaid |required=true |value=#{empty divisaDivisaid ? operacionHome.instance.divisaid : operacionHome.instance.divisaid} | | a:support bypassUpdates=true event=onblur reRender=divisaidDecoration/ | /h:inputText | /s:decorate | | s:decorate
[jboss-user] [JBoss Seam] - Re: entity update without submit
Thank you It works! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058657#4058657 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058657 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: access the entityManager in a converter (seam 2 beta)
I dont't undestand the problem with s:convertEntity. anonymous wrote : Description | | Assigns an entity converter to the current component. This is primarily useful for radio button and dropdown controls. | | The converter works with any managed entity which has an @Id annotation - either simple or composite. | | Attributes | | None. | | Configuration | | You must use Seam managed transactions (see Section 8.2, ?Seam managed transactions?) with s:convertEntity /. There is an Id on typeCol. Seam managed transactions is the default behavior and I didn't change anything about this. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058658#4058658 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058658 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: access the entityManager in a converter (seam 2 beta)
It's hard for me to understand, too, especially when I don't get that exception. Post the complete stack trace. Probably colList and typeColList are retrieved in seperate transactions, which causes this problem... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058660#4058660 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058660 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: access the entityManager in a converter (seam 2 beta)
the stack trace : Exception during request processing: | Caused by javax.servlet.ServletException with message: EntityManager is closed | javax.faces.webapp.FacesServlet.service(FacesServlet.java:256) | org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) | org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:63) | org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:87) | org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:63) | org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:46) | org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127) | org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277) | org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:40) | org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:140) | org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) | org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) | org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179) | org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433) | org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) | org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) | org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) | org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) | org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241) | org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) | org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580) | org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) | java.lang.Thread.run(Thread.java:595) | | Caused by java.lang.IllegalStateException with message: EntityManager is closed | | org.hibernate.ejb.EntityManagerImpl.getSession(EntityManagerImpl.java:42) | org.hibernate.ejb.AbstractEntityManagerImpl.joinTransaction(AbstractEntityManagerImpl.java:447) | org.hibernate.ejb.AbstractEntityManagerImpl.joinTransaction(AbstractEntityManagerImpl.java:442) | org.jboss.seam.persistence.EntityManagerProxy.joinTransaction(EntityManagerProxy.java:120) | org.jboss.seam.framework.EntityIdentifier.find(EntityIdentifier.java:25) | org.jboss.seam.ui.converter.EntityConverterStore.get(EntityConverterStore.java:43) | org.jboss.seam.ui.converter.EntityConverter.getAsObject(EntityConverter.java:81) | org.jboss.seam.ui.converter.PrioritizableConverter.getAsObject(PrioritizableConverter.java:61) | org.jboss.seam.ui.converter.ConverterChain.getAsObject(ConverterChain.java:107) | com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:152) | com.sun.faces.renderkit.html_basic.MenuRenderer.convertSelectOneValue(MenuRenderer.java:197) | com.sun.faces.renderkit.html_basic.MenuRenderer.getConvertedValue(MenuRenderer.java:359) | javax.faces.component.UIInput.getConvertedValue(UIInput.java:934) | javax.faces.component.UIInput.validate(UIInput.java:860) | javax.faces.component.UIInput.executeValidate(UIInput.java:1065) | javax.faces.component.UIInput.processValidators(UIInput.java:666) | javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1030) | javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1030) | javax.faces.component.UIForm.processValidators(UIForm.java:229) |
[jboss-user] [JCA/JBoss] - Configuration of JCA Inflow Resource Adapter
I'm using jboss4.0.5.GA to connect to a legacy system via tcp. To do this I'm using a JCA inflow resource connected to an MDB. This is currently working as expected. My question how can I configure this in a maintainable way? Currently the configuration sits within the ejb-jar.xml and jboss.xml files that are built into my ear file. An extract of my ejb-jar file is shown below: activation-config-property | activation-config-property-nametxPort/activation-config-property-name | activation-config-property-value10001/activation-config-property-value | /activation-config-property | | activation-config-property | activation-config-property-namerxPort/activation-config-property-name | activation-config-property-value10002/activation-config-property-value | /activation-config-property | | activation-config-property | activation-config-property-nameacknowledgementTimeout/activation-config-property-name | activation-config-property-value2000/activation-config-property-value | /activation-config-property | | activation-config-property | activation-config-property-namenumberOfRetries/activation-config-property-name | activation-config-property-value3/activation-config-property-value | /activation-config-property | Depending on customer requirements, I will need to change the port numbers etc, and even deploy more that one of these per install. Currently the only way i can find to do this is to change the jboss.xml and the ejb-jar.xml file. Is there any way of configuring these outside of an ear file? Can I configure this within a -ds.xml file even though I'm only using an inflow resource adapter? Could I deploy these using a -service.xml file? Thanks, Gareth View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058668#4058668 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058668 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - MD5 MessageDigest not available
Hi everybody. I'm adding Md5 hashcode security to my users passwords. but I'm getting the following error: anonymous wrote : | ERROR [Util] Password hash calculation failed | java.security.NoSuchAlgorithmException: MD5 MessageDigest not available | Everytime I login. My code is: login-module code = org.jboss.security.auth.spi.DatabaseServerLoginModule | flag = required | !--module-option name = unauthenticatedIdentityguest/module-option-- | module-option name = dsJndiNamejava:/woneview/module-option | module-option name = principalsQuerySELECT password FROM bu_usuario WHERE username=?/module-option | module-option name = rolesQuerySELECT rol, 'Roles' FROM bu_roles WHERE username=?/module-option | | module-option name = hashAlgorithmMD5/module-option | module-option name = hashEncodingbase64/module-option | | /login-module | I think I forgot to add something to the jboss path, but I have not found any information. Any comments are welcome. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058669#4058669 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058669 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: ResourceBundle in Database
Hi, I'm trying to have my resource bundles stored in a database aswell, and wanted to follow pete's post, but I don't really understand some part of it. What do you mean by: anonymous wrote : 3. Implement a DBContol (to control caching of the resource bundle) What's that? Is it supposed to be a class? What class is it supposed to extends from (or to implements)? What is it supposed to do exactly? What about those overrides also. How am I supposed to override those component? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058670#4058670 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058670 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: access the entityManager in a converter (seam 2 beta)
To add a few more words : I have the same generated code by seam-gen with seam 1.3alpha and seam 2beta. But the convertEntity just doesn't work with the seam 2beta version. Thanks for your help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058671#4058671 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058671 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Couldn't install eclipse plug-ins
JBoss Tools is for WTP 2.0 so what do you want me to fix ;) Where do you see that plugin reference ? The nightly builds should only point to WTP 2/eclipse 3.3 plugins. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058675#4058675 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058675 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How to use FindTaskInstances in multiple transitions?
if the token stays in A there are no tasks in B and C (the tasknodes are not entered yet) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058678#4058678 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058678 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: async pain
this occurs with me when I have async on the fork... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058679#4058679 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058679 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM or pages.xml overloading / extending / composition
Correction there is something like a customsubprocessresolver... that can be used to achieve this. Look at the testcases in the source!!! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058680#4058680 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058680 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Hibernate tools on Seam Gen project
Cheers Pete. I'm using 3.2.0.200706241629-nightly (sounds up to date) with Eclipse 3.3.0. Do you have the HQL query working? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058681#4058681 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058681 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user