[jboss-user] [JBoss Portal] - Re: UserFriendly URLs: Can we have an '_' instead of '+' in
Thanks for the reply. Well can you please advice me of how you were accessing the portlet session in the theme's index.jsp. A code snippet would greatly help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078097#4078097 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078097 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - port 8080 closed with JBoss 4.2.1.GA
When I changed from using JBoss 4.0.5.GA to 4.2.1.GA people could no longer access my web applications from the Internet. I could still access it from the local host. netstat -a showed listening on port 8080 but a port test from the Internet said the port was closed. With 4.0.5.GA things worked fine and the port test reported that port 8080 was open. I looked in release notes and installation documentation and searched this forum but could find nothing on this. Its very secure though. Suggestions welcome. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078096#4078096 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078096 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - New Seam builds do not support with JSP?
The seam example "messages" now can not work. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078095#4078095 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078095 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Page takes too long to load
More info about similar performance issue in this JIRA http://jira.jboss.com/jira/browse/RF-726 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078094#4078094 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078094 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Registration confirmation page....
Not quite sure what you mean by registration confirmation, but if you want to work with url parameters, the best way is usually to use page parameters: http://docs.jboss.com/seam/2.0.0.B1/reference/en/html/events.html#d0e3813 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078093#4078093 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078093 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen and hibernate tools! Target Unreachable, identi
"dashti" wrote : | 1. I used hibernate tools reverse engineering to do this approach! | Yeah, that's old and deprecated. Seam-gen is its replacement. "dashti" wrote : | Exception during request processing: | | Caused by javax.el.PropertyNotFoundException with message: "Target Unreachable, identifier 'humansHome' resolved to null" | | ... | | | That's strange. Is there a class called HumansHome that is correctly annotated @Name("humansHome")? Maybe try seam-gen from the command line (outside of Jboss IDE). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078092#4078092 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078092 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to end converstation when user doesn't cooperate?
"tynor" wrote : | Recall that these are seam-gen generated views and Home classes -- and they are indeed generated as conversational: | | | | | | | | | ... | | | That code ought to be in WidgetEdit.page.xml, which is for the edit page, which is conversational. I think you'll find the WidgetList.page.xml file doesn't start a conversation. I agree that if you are going to be editing a widget, you want it to happen in a new conversation. And I'm pretty sure seamgen does this correctly. In seamgen, if you're on an edit screen (in a conversation), the links to get out (either the menu or the cancel/done button) either end the conversation (cancel/done) or don't propagate it (menu.xhtml links). So, the conversation won't be re-used the next time you edit or create a new widget. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078091#4078091 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078091 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: impossible usecase?
No, you can't start multiple conversations in one request. And I'm pretty sure you wouldn't want to; that's not what they're designed for. As far as the post-it scenario, I don't think you want a separate backing bean for each post-it. Wouldn't it make more sense to have a single PostItController that contains a list of PostIt objects? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078090#4078090 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078090 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - select multiple entities for datatable
Have used several attempts to display data from multiple entities without success List reslist = entityManager.createQuery("select qr.gpnum, csy.name from QueryResult qr, Csy20oats csy where qr.gpnum=csy.y20gpnum").getResultList(); | return reslist; | | name | #{results.name} | | | gpnum | #{results.gpnum} | | | display data from only one entity - no problem List reslist = entityManager.createQuery("select qr from QueryResult qr, Csy20oats csy where qr.gpnum=csy.y20gpnum").getResultList(); | return reslist; Also have used ListDataModel, but it's the same. Is it possible to display data from multiple entities and if 'yes', what I have to do? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078086#4078086 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078086 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - h:messages renderer or firefox bug?
When using markup as such: | | | | | | with css as such: | | /* GLOBAL MESSAGES */ | #template_global_messages_area { | margin-top: -5px; | text-align: center; | width: 100%; | background-color: rgb(81, 81, 81); | padding-top: 2px; | padding-bottom: 2px; | } | | | .info { | text-align: left; | color: rgb(135 206 250); | } | I get markup delivered as such: | | You have the following Role(s):Administrator.Login Successful | | | | | | | | | | It appears that Firefox doesn't like the class="info" on the tr wheras IE is tolerent... | | | | Is this a bug with the h:messages renderer? Should it put the style on the td? | | Or is firefox buggy? | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078084#4078084 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078084 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: impossible usecase?
Oh! This sounds like good news! What version are you using? I've been trying, but not been able to start multiple converations (got wierd behaviour). Then i read this: http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959566 "[EMAIL PROTECTED]" wrote : Conversations begin and end at request boundaries. You cannot create two new conversations during a single request. So is this changed now? Starting several conversations per request is fine? And can i run several conversations per page? (my doubts come from http://lists.jboss.org/pipermail/jboss-user/2007-May/060440.html). I just haven't got it to work, so I'm still a bit sceptical, since I've tried so many things, but maybe I've been doing it wrong? Lastly, it seems to me like conversations might be heavyweight. Is the pattern "one conversation per instance" considered good (if it works at all :D )? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078083#4078083 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078083 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Drools v4.0.0 and Tomcat
Does Drools v4.0.0 compatible with Servlet/JSP 2.5/2.1 specifications? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078082#4078082 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078082 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - seam-gen and hibernate tools! Target Unreachable, identifier
Hi there ! I wanted to generate my entites automatically from my database ! I used jboss-seam-2.0.0.BETA1 , jboss-4.2.1.GA, JBossTools-200706241629-nightly-ALL-win32. I had 2 ways: 1. I used hibernate tools reverse engineering to do this approach! I get the lastest dev Jboss IDE from the eclipse update center and do the tutorial follow the flash , http://www.jboss.com/products/seam/captivate/SeamHBTools.swf there was a big problem that there was no longer @jboss.seam.annotations.IfInvalid in the jboss-seam.jar. and after deleting all references to it, it doesn't work either ! how can I get it work ??!? 2. after that I used Seam Gen: first of all , I made a new project, and the I used generate entites, it worked properly, but when I run the project, I can login, and after logging in, I go to one of the xyzList pages, and after trying to use Create New row or Search the table, I encounter this exeption: so now i cannot ran this tutorial , maybe this tutorial cannot work in the lastest Jboss IDE or something i do wrong . Exception during request processing: | Caused by javax.el.PropertyNotFoundException with message: "Target Unreachable, identifier 'humansHome' resolved to null" | | org.jboss.el.parser.AstValue.getTarget(AstValue.java:38) | org.jboss.el.parser.AstValue.invoke(AstValue.java:95) | org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276) | org.jboss.seam.core.Expressions$2.invoke(Expressions.java:174) | org.jboss.seam.navigation.Page.preRender(Page.java:275) | org.jboss.seam.navigation.Pages.preRender(Pages.java:292) | org.jboss.seam.jsf.SeamPhaseListener.preRenderPage(SeamPhaseListener.java:541) | org.jboss.seam.jsf.SeamPhaseListener.beforeRender(SeamPhaseListener.java:473) | org.jboss.seam.jsf.SeamPhaseListener.beforeServletPhase(SeamPhaseListener.java:146) | org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:116) | com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:222) | com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144) | javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) | 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.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.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:63) | 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:157) | 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(H
[jboss-user] [JBoss Seam] - Re: How to end converstation when user doesn't cooperate?
My last reply prompted me to confirm that the following button does in fact reset the id in the home class: | | | | | | You'd think that that means that setWidgetWidgetId() would get called with null (which would in turn call setId(null) and reset the instance to null). In fact, it's never called!So maybe my problems are not conversational so much as due to the fact that the mechanism for setting id is broken or otherwise not being invoked. Is there something wrong with the above? Can I pass a null explicitly? I've tried | | but my breakpoint in setId() is never called for my Create Button... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078080#4078080 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078080 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to put named anchor in
'fragment' attribute ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078079#4078079 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078079 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to end converstation when user doesn't cooperate?
Thanks for sticking with me Christian - I'm sure I'll come to enlightenment with your help. anonymous wrote : | - make your FooList.xhtml page non-conversational as is the normal case, I don't know why that would be a conversational screen | Recall that these are seam-gen generated views and Home classes -- and they are indeed generated as conversational: | | | | ... | Perhaps this should be considered a "bug" in seam-gen? anonymous wrote : | - "Instead of a "new" widget, we're editing an old one." Even if you stay inside the same conversation that should not happen if you pass the identifier of the edited item correctly from the list to the edit screen. | Yes: if I pass pass a widgetId, I will edit the proper widget, as here: | | | | however, when I try to invoke the same view with a freshly created widget , I end up reusing the most recently edited instance (in cases where I have not explicitly ended the conversation as in my previous message): | | | | | | | (again, this is straight seam-gen conventions from a "seam generate-entities"-- if it's "wrong", then perhaps we need to log a JIRA against seamgen?) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078078#4078078 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078078 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to end converstation when user doesn't cooperate?
Two solutions: - make your FooList.xhtml page non-conversational as is the normal case, I don't know why that would be a conversational screen - "Instead of a "new" widget, we're editing an old one." Even if you stay inside the same conversation that should not happen if you pass the identifier of the edited item correctly from the list to the edit screen. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078077#4078077 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078077 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Migrate SunOne To Jboss
Hello Im Migrating my app SunOne to Jboss 4.0.5 GA, but an error appear in server.log: 12:22:54,611 INFO [org.apache.catalina.loader.WebappClassLoader] validateJarFile(C:\jboss-4.0.5.GA\server\sic\.\tmp\deploy\tmp29442project-exp.war\WEB-INF\lib\wsclient_extended.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class 2007-08-25 12:22:54,736 DEBUG [org.jboss.web.tomcat.filters.ReplyHeaderFilter] Adding header name: X-Powered-By='Servlet 2.4; JBoss-4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)/Tomcat-5.5' 2007-08-25 12:22:54,783 INFO [org.apache.struts.util.PropertyMessageResources] Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true 2007-08-25 12:22:54,783 INFO [org.apache.struts.util.PropertyMessageResources] Initializing, config='org.apache.struts.action.ActionResources', returnNull=true 2007-08-25 12:22:55,033 ERROR [org.apache.commons.digester.Digester] Digester.getParser: org.xml.sax.SAXNotRecognizedException: http://apache.org/xml/features/validation/dynamic at oracle.xml.jaxp.JXSAXParserFactory.setFeature(JXSAXParserFactory.java:137) at org.apache.commons.digester.parser.XercesParser.configureXerces(XercesParser.java:185) at org.apache.commons.digester.parser.XercesParser.newSAXParser(XercesParser.java:138) at org.apache.commons.digester.ParserFeatureSetterFactory.newSAXParser(ParserFeatureSetterFactory.java:73) at org.apache.commons.digester.Digester.getParser(Digester.java:682) at org.apache.commons.digester.Digester.getXMLReader(Digester.java:891) at org.apache.commons.digester.Digester.parse(Digester.java:1572) at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:1006) at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:955) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470) at javax.servlet.GenericServlet.init(GenericServlet.java:211) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3917) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4201) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) An idea to solution this problem Thanks Manuel Raul View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078074#4078074 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078074 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Entity-query of Contact List sample does not run against
Done: http://jira.jboss.org/jira/browse/JBSEAM-1864 Regards, Ali Sadik Kumlali View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078075#4078075 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078075 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to end converstation when user doesn't cooperate?
anonymous wrote : It will time out. Thanks Christian and Amitev -- that does seem to be the intent. However it doesn't match what I observe. Here's the order of play: User visits WidgetList.xhtml -- this does a join="true" - perhaps creating a new conversation, perhaps joining an existing one. User clicks a link to end up in WidgetEdit.xhtml -- this also does a join="true" and reuses the existing conversation. Here we're viewing Widget#1. OK so far. User navigates directly back to WidgetList.xhtml via a menu link. (no end-conversation). User clicks "Create Widget" button, ending up back in WidgetEdit.xhtml, but since we've used join="true", we're still in the long running conversation and reuse the old WidgetHome, which is holding onto the Widget#1. Instead of a "new" widget, we're editing an old one. I've tried marking the Create Widget button as propagation="none" and propagation="end", but I still see the bad behavior (create widget edits the already existing Widget#1). I've tried setting join="false, nested="true" - that doesnt work (the old Home instance is still reused). I can't find a way to avoid it. Steve View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078073#4078073 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078073 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Why is injection not working in AS 4.0 and 4.2 (servlets
I have noticed and also mentioned in this forum then @EJB does not work in versions prior to jboss 5. So can any when tell what is the alternate ejb3 injection annotation for jboss. Will @Resource work, if yes then how? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078072#4078072 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078072 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: acess servlet remotly
Try searching the forum for "access server remotely". I did that and found lots of hits where others have already asked this question (we are averaging about 2 or 3 a week) and had it answered. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078071#4078071 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078071 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Server Getting Shutdown
Try setting the app server up as a service. That is a better option for production than starting via putty, and will also solve the problem if you are running into a putty-related timeout issue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078070#4078070 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078070 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to end converstation when user doesn't cooperate?
I note that Michael Yuan touches on this in his book and suggests just letting unused conversations "time out". (section 7.2.4). However, I don't see how this works when one selects join="true" (as does seamgen, and in fact, as he does in the previous section of the book). When one revisits a page marked join="true", we'll reuse the old conversation, not create a new one and let the old one go stale. Should I consider using join="false" instead? (i.e. create a new conversation for each page?) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078067#4078067 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078067 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to end converstation when user doesn't cooperate?
anonymous wrote : | However: what happens if the user exits the form by some other means (e.g. a link off the global menu.xhtml, a bookmarked link, etc.). The conversation will not end. | It will time out. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078069#4078069 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078069 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to end converstation when user doesn't cooperate?
When the user leaves the conversation it will time out. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078068#4078068 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078068 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Registration confirmation page....
Is there any example of a registration confirmation page using seam? In the past I have passed parameters in the URL to confirm an email address. Any ideas on how I can implement them in Seam? Thanks, M View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078066#4078066 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078066 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - How to end converstation when user doesn't cooperate?
Seam 1.2.1-GA, seam-gen derived infrastructure (Home classes, etc.) My recent discovery of the need to use MANUAL flushing on a certain page has gotten me to pay more attention to conversational lifespan than I had in earlier phases of our app's development. I am now worried about the following use case / bug which I can easily produce in my app (NOTE: this is on a page that is not using MANUAL flushing - it's orthogonal to the flush-mode): User selects "Edit Widget" which instantiates a new instance of WidgetHome and loads Widget #1 into its getInstance(). page.xml for this page sets up the conversation: As long as the user ends his interaction with the form in one of the "expected" ways (Save, Remove, Cancel), he will trigger a corresponding specified either in the navigation rules in page.xml, or via a propagation="end" in the xhtml. However: what happens if the user exits the form by some other means (e.g. a link off the global menu.xhtml, a bookmarked link, etc.). The conversation will not end. Let's say that menu link gets him back to the page where he can click "Create Widget". Normally, this would create a new WidgetHome and a brand spanking fresh createInstance() call would create a new Widget instance. But since I'm still in the old conversation, I end up reusing the old WidgetHome from the "improperly" exited form page -- and my "Create Widget" screen is populated with the Widget #1 I was visiting before I so rudely left the page with a Menu link instead of a Cancel. I can't find any provision in the Seam navigation model for blanket ending a conversation. For the global navigation menu, perhaps I could add propogate="end" to all the s:link's (I'd have to think that through - I'm not sure I'd _always_ want to do that). but that doesn't help with other cases (a bookmarked link, the user typing a URL into the address bar, etc.). The only think I can think of is to create some sort of AJAX-y event that I can call from an onunload Javascript event to end the conversation no matter why the user is navigating away from the page. This feels dirty. It can't be how Seam intends conversations to work... Help? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078065#4078065 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078065 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Entity-query of Contact List sample does not run against
Please open a JIRA issue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078064#4078064 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078064 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Entity-query of Contact List sample does not run against
Thanks Felix. I was actually looking for EJB QL expression, not SQL function. Anyway, your reply helped me find following comment from Hibernate Reference document[1]: anonymous wrote : string concatenation ...||... or concat(...,...) (use concat() for portable EJB-QL queries) After I changed the query as follows, it worked with both Oracle and HSQL: | | from Contact | lastName | | lower(firstName) like lower( concat(#{exampleContact.firstName}, '%' )) | lower(lastName) like lower( concat(#{exampleContact.lastName}, '%') ) | | | Sample's code in CVS should be changed to make the application more portable, I believe. If Seam developers think the same way, I can create a Jira issue. Regards, Ali Sadik Kumlali [1] http://www.hibernate.org/hib_docs/entitymanager/reference/en/html/queryhql.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078063#4078063 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078063 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - acess servlet remotly
Hello , I just installed Jboss 4.2.1GA I deployed simple web application with one simple servlet when I access http://localhost:8080/myApp/test it works fine when I try to access http://myIPAddress:8080/myApp/test I gey 404 , is there anyting I should do in order to turn remote access on? thank u. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078060#4078060 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078060 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Hibernate 3, MySQL and nullable timestamp
I've got an issue with Hibernate 3 hbm2ddl and my MySQL 5.0 database One of my entities has a field that is mapped onto a TIMESTAMP column. This field can be null but in MySQL, a TIMESTAMP can only be null if specified in the column declaration. From MySQL documentation: anonymous wrote : | TIMESTAMP columns are NOT NULL by default, cannot contain NULL values, and assigning NULL assigns the current timestamp. However, a TIMESTAMP column can be allowed to contain NULL by declaring it with the NULL attribute. In this case, the default value also becomes NULL unless overridden with a DEFAULT clause that specifies a different default value. | Unfortunately, the following mapping: | | | | | | | | | | | | Produces the following CREATE TABLE when hdm2ddl runs: | create table INCIDENT ( | --... | END_DATE TIMESTAMP, | --... | ) type=InnoDB; | Did I miss something or is it a bug? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078058#4078058 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078058 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Server Getting Shutdown
Can any body please help me. We have a deployment date which is nearing. I am still not able to fix this problem. Following is the problem Scenario I am using Jboss-4.0.2 installed on the linux. The server is getting shutdown in every 30 min. Can any one help what could be the problem. I have used no-hop option, but its still getting shut down. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078057#4078057 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078057 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Server Getting Shutdown
Can any body please help me. We have a deployment date which is nearing. I am still not able to fix this problem. Following is the problem Scenario I am using Jboss-4.0.2 installed on the linux. The server is getting shutdown in every 30 min. Can any one help what could be the problem. I have used no-hop option, but its still getting shut down. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078056#4078056 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078056 ___ 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.1 -> doesnot bother jboss.xml values
But I wish container validation should fail, rather than silently ignoring it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078055#4078055 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078055 ___ 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.1 -> doesnot bother jboss.xml values
"srikap2007" wrote : | If I have any other questions please answer them. Do post your questions here in the forums. If not me, there will be someone else who will be willing to help. "srikap2007" wrote : | Earlier JBOSS used to be very easy It still is :) "srikap2007" wrote : | but now it became a monster, so huge. | JBoss has definitely grown (as does every successful software) but that doesnt mean you will have to learn everything about JBoss. You will hardly find anyone who knows each and every detail of it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078054#4078054 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078054 ___ 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.1 -> doesnot bother jboss.xml values
Yes it works. It works after I remove the tags. Thankyou very much If I have any other questions please answer them. I was struggling to make things work with JBoss. Earlier JBOSS used to be very easy, but now it became a monster, so huge. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078053#4078053 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078053 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: org.hibernate.ObjectNotFoundException: No row with the g
Here's the exception log 11:20:54,884 INFO [DefaultLoadEventListener] Error performing load command org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.lightspeed.hibernate.informix.housekeeping.HKpackage.LsHkPkgSvc#[LsHkPkgSvcId: lsHkPkg: BLK2 lsHkSvc: 24]] at org.hibernate.ObjectNotFoundException.throwIfNull(ObjectNotFoundException.java:27) at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:118) at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:167) at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:79) at org.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:641) at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:257) at org.hibernate.type.ManyToOneType.assemble(ManyToOneType.java:160) at org.hibernate.collection.PersistentSet.initializeFromCache(PersistentSet.java:96) at org.hibernate.cache.entry.CollectionCacheEntry.assemble(CollectionCacheEntry.java:35) at org.hibernate.event.def.DefaultInitializeCollectionEventListener.initializeCollectionFromCache(DefaultInitializeCollectionEventListener.java:126) at org.hibernate.event.def.DefaultInitializeCollectionEventListener.onInitializeCollection(DefaultInitializeCollectionEventListener.java:48) at org.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:1412) at org.hibernate.collection.AbstractPersistentCollection.forceInitialization(AbstractPersistentCollection.java:271) at org.hibernate.engine.PersistenceContext.initializeNonLazyCollections(PersistenceContext.java:796) at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:215) at org.hibernate.loader.Loader.doList(Loader.java:1561) at org.hibernate.loader.Loader.list(Loader.java:1544) at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:375) at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:271) at org.hibernate.impl.SessionImpl.list(SessionImpl.java:830) at org.hibernate.impl.QueryImpl.list(QueryImpl.java:74) at com.lightspeed.hibernate.common.HibernateUtil.getList(HibernateUtil.java:183) at com.lightspeed.hibernate.informix.housekeeping.HKpackage.HKPackageHelper.getPackageByHotelandCode(HKPackageHelper.java:53) at com.lightspeed.logic.housekeeping.HousekeepingAdminHandler._saveHKService(HousekeepingAdminHandler.java:655) at com.lightspeed.ejb.housekeeping.HousekeepingAdminBean.saveHKService(HousekeepingAdminBean.java:270) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.invocation.Invocation.performCall(Invocation.java:345) at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:214) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:130) at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:51) at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:105) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:139) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122) at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624) at org.jboss.ejb.Container.invoke(Container.java:873) at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:413) at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:88) at $Proxy352.saveHKService(Unknown Source) at com.lightspeed.gooey.helper.HousekeepingHelper.saveHKServices(HousekeepingHelper.java:215) at com.lightspeed.gooey.command.HKPackagesCommand.saveHKServices(HKPackagesCommand.java:405) at com.lightspeed.gooey.command.HKPackagesCommand.execute(HKPackagesCommand.java:96) at com.lightspeed.gooey.F
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: jboss 4.2.1 -> doesnot bother jboss.xml values
anonymous wrote : in the META_INF directory along with ejb-jar.xml Assuming your ejbjar is named myApp.jar, then the jboss.xml (and ejb-jar.xml) should be placed in META-INF (note the exact name of this folder) folder, which at the root of the jar. | myApp.jar | | | |--- META-INF | | | |-- jboss.xml Also, add the DOCTYPE declaration to your jboss.xml (however, i am not sure whether that's the reason for the file being ignored): http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd";> | | | | | | And now, the most likely reason why the jboss.xml is being ignored: anonymous wrote : | | IDValue | ejb/ABC | ejb/BCD | | | | get* | true | | | | As per the dtd at http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd, i dont see any mention about the < method-attributes> element. Remove that section from your jboss.xml and see if it works. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078050#4078050 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078050 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Can action called from button avoid committing transacti
I don't think so. I could be wrong. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078049#4078049 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078049 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - org.hibernate.ObjectNotFoundException: No row with the given
Hello, I am encountering this exception on an intermittent basis and could not figure why its so infrequent. It seems this happens on Session.load() and not able to query the object. I read a few forums on this on changing the primary key's datatype, but not convinced is thats the core issue. If any of you have encountered this, kindly help. Regards, Dinesh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078048#4078048 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078048 ___ 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.1 -> doesnot bother jboss.xml values
2007-08-25 09:39:55,937 DEBUG [org.jboss.ejb.EjbModule] startService, starting container: IDValue 2007-08-25 09:39:55,937 DEBUG [org.jboss.system.ServiceController] starting service jboss.j2ee:jndiName=IDValue,service=EJB 2007-08-25 09:39:55,937 DEBUG [org.jboss.ejb.EntityContainer] Starting jboss.j2ee:jndiName=IDValue,service=EJB 2007-08-25 09:39:55,937 DEBUG [org.jboss.ejb.EntityContainer] Begin java:comp/env for EJB: IDValue 2007-08-25 09:39:55,937 DEBUG [org.jboss.ejb.EntityContainer] TCL: [EMAIL PROTECTED] 2007-08-25 09:39:55,937 DEBUG [org.jboss.ejb.EntityContainer] Unable to retrieve orbjavax.management.InstanceNotFoundException: jboss:service=CorbaORB is not registered. 2007-08-25 09:39:55,937 DEBUG [org.jboss.ejb.EntityContainer] End java:comp/env for EJB: IDValue 2007-08-25 09:39:55,953 INFO [org.jboss.ejb.plugins.local.BaseLocalProxyFactory] Bound EJB LocalHome 'IDValue' to jndi 'local/[EMAIL PROTECTED]' 2007-08-25 09:39:55,953 DEBUG [org.jboss.proxy.ejb.ProxyFactory] (re-)Binding Home IDValue 2007-08-25 09:39:55,984 INFO [org.jboss.proxy.ejb.ProxyFactory] Bound EJB Home 'IDValue' to jndi 'IDValue' 2007-08-25 09:39:55,984 DEBUG [org.jboss.ejb.plugins.AbstractInstanceCache] Starting InvalidableEntityInstanceCache... 2007-08-25 09:39:55,984 DEBUG [org.jboss.system.ServiceController] starting service jboss.j2ee:service=EJB,plugin=pool,jndiName=IDValue 2007-08-25 09:39:55,984 DEBUG [org.jboss.ejb.plugins.EntityInstancePool] Starting jboss.j2ee:service=EJB,plugin=pool,jndiName=IDValue 2007-08-25 09:39:55,984 DEBUG [org.jboss.ejb.plugins.EntityInstancePool] Started jboss.j2ee:service=EJB,plugin=pool,jndiName=IDValue 2007-08-25 09:39:55,984 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss.j2ee:service=EJB,plugin=pool,jndiName=IDValue dependent components: [] 2007-08-25 09:39:55,984 DEBUG [org.jboss.resource.connectionmanager.CachedConnectionInterceptor] start called in CachedConnectionInterceptor 2007-08-25 09:39:55,984 DEBUG [org.jboss.ejb.EntityContainer] Started jboss.j2ee:jndiName=IDValue,service=EJB 2007-08-25 09:39:55,984 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss.j2ee:jndiName=IDValue,service=EJB dependent components: [] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078047#4078047 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078047 ___ 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.1 -> doesnot bother jboss.xml values
Sorry, The file is so big that I could only post only a tiny part of server.log. But now I am trying to put relevant lines from the log file... | 2007-08-25 09:39:55,937 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.PaymentMethod#findByPrimaryKey] SQL: SELECT t0_PaymentMethod.paymentID FROM PAYMENTMETHOD t0_PaymentMethod WHERE t0_PaymentMethod.paymentID=? | 2007-08-25 09:39:55,937 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCQueryManager.PaymentMethod] Added findByPrimaryKey query command for local home interface | 2007-08-25 09:39:55,937 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.IDValue] Insert Entity SQL: INSERT INTO IDVALUE (tableName, idValue, startTime) VALUES (?, ?, ?) | 2007-08-25 09:39:55,937 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.IDValue] Entity Exists SQL: SELECT COUNT(*) FROM IDVALUE WHERE tableName=? | 2007-08-25 09:39:55,937 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCCommandFactory.IDValue] entity-command: [commandName=default,commandClass=class org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand,attributes={}] | 2007-08-25 09:39:55,937 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCRemoveEntityCommand.IDValue] Remove SQL: DELETE FROM IDVALUE WHERE tableName=? | 2007-08-25 09:39:55,937 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.IDValue] Table 'IDVALUE' already exists | 2007-08-25 09:39:55,937 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.IDValue] Indices for table IDVALUEnot created as table existed | 2007-08-25 09:39:55,937 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.IDValue#findByPrimaryKey] SQL: SELECT t0_IDValue.tableName FROM IDVALUE t0_IDValue WHERE t0_IDValue.tableName=? | 2007-08-25 09:39:55,937 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCQueryManager.IDValue] Added findByPrimaryKey query command for home interface | 2007-08-25 09:39:55,937 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.IDValue#findByPrimaryKey] SQL: SELECT t0_IDValue.tableName FROM IDVALUE t0_IDValue WHERE t0_IDValue.tableName=? | 2007-08-25 09:39:55,937 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCQueryManager.IDValue] Added findByPrimaryKey query command for local home interface | 2007-08-25 09:39:55,937 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.Customer] Foreign key constraint not added as requested: relationshipRolename=Customers-default-shippingAddress | 2007-08-25 09:39:55,937 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.Customer] Foreign key constraint not added as requested: relationshipRolename=Customer-default-paymentmethod | 2007-08-25 09:39:55,937 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.Customer] Foreign key constraint not added as requested: relationshipRolename=ContactAddress | 2007-08-25 09:39:55,937 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.Address] Foreign key constraint not added as requested: relationshipRolename=Address | 2007-08-25 09:39:55,937 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.Address] Foreign key constraint not added as requested: relationshipRolename=Address | 2007-08-25 09:39:55,937 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.PaymentMethod] Foreign key constraint not added as requested: relationshipRolename=PaymentMethod | 2007-08-25 09:39:55,937 DEBUG [org.jboss.ejb.EjbModule] startService, starting container: IDValue | 2007-08-25 09:39:55,937 DEBUG [org.jboss.system.ServiceController] starting service jboss.j2ee:jndiName=IDValue,service=EJB | 2007-08-25 09:39:55,937 DEBUG [org.jboss.ejb.EntityContainer] Starting jboss.j2ee:jndiName=IDValue,service=EJB | 2007-08-25 09:39:55,937 DEBUG [org.jboss.ejb.EntityContainer] Begin java:comp/env for EJB: IDValue | 2007-08-25 09:39:55,937 DEBUG [org.jboss.ejb.EntityContainer] TCL: [EMAIL PROTECTED] | 2007-08-25 09:39:55,937 DEBUG [org.jboss.ejb.EntityContainer] Unable to retrieve orbjavax.management.InstanceNotFoundException: jboss:service=CorbaORB is not registered. | 2007-08-25 09:39:55,937 DEBUG [org.jboss.ejb.EntityContainer] End java:comp/env for EJB: IDValue | 2007-08-25 09:39:55,953 INFO [org.jboss.ejb.plugins.local.BaseLocalProxyFactory] Bound EJB LocalHome 'IDValue' to jndi 'local/[EMAIL PROTECTED]' | 2007-08-25 09:39:55,953 DEBUG [org.jboss.proxy.ejb.ProxyFactory] (re-)Binding Home IDValue | 2007-08-25 09:39:55,984 INFO [org.jboss.proxy.ejb.ProxyFactory] Bound EJB Home 'IDValue' to jndi 'IDValue' | 2007-08-25 09:39:55,984 DEBUG [org.jboss.ejb.plugins.AbstractInstanceCache] Starting InvalidableEntityInstanceCache... | 2007-08-25 09:39:55,984 DEBUG [org.jboss.system.ServiceController] starting service jboss.j2ee:service=EJB,plugin=pool,jndiName=IDValue | 2007-08-25 09:39:55,984 DEBUG [org.jboss.ejb.plugins.EntityInstancePool] Starting jboss.j2ee:service=EJB,plugin=pool,jndiName=IDValue | 2007-08-25 09:39:55,984 DEBUG [org.jbos
[jboss-user] [Beginners Corner] - Re: ERROR [action.ActionServlet] Parsing error processing re
Answered at http://www.jboss.com/index.html?module=bb&op=viewtopic&t=116936 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078041#4078041 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078041 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Faster start for JBoss Server??
"BruceSpringfield" wrote : Correction: out-of-box installation startup is 23 seconds. With my apps deployed, then it turns into 57 seconds. I guess, the startup time increases/varies when your application is deployed. Does your application do anything on startup? Maybe some database activity or any other such initialization which might be taking its own time. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078040#4078040 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078040 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss/Spring Integration] - Answer to Why Spring in Jboss question
Hi, I am trying to find an article or post that could answer the 'Why bother to add Spring to Jboss' question. I did read This and that explains how, not why. We have an existing J2EE application running in Jboss and other developers are planning to convert it to Spring. I think they are doing it wrong and destroying the J2EE design pattern but I need to understand Spring to steer them in the correct direction. Is there any benefit in changing an MBean service into a Spring bean? I can see no point in this. Thanks, Ken View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078039#4078039 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078039 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - How to put named anchor in
I'd like to construct named anchors in the form of http://url#name in . I tried to read the doc but didn't find anything. Is that possible? How can I do it? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078038#4078038 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078038 ___ 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.1 -> doesnot bother jboss.xml values
Post the exact contents present in your jboss.xml (While posting make sure, you use the Code button above to wrap the contents of jboss.xml in a [ code] block). Also, where have you placed the jboss.xml in your application? Also post the JBoss logs while your application is being deployed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078037#4078037 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078037 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: ant task for process archive deploying - Wiki?
The process gets deployed, probably... Set | create-drop | to | create | as 'create-drop' drops the built schema again when closing the connection to the DB. See the Hibernate docs for this. I'll create a JIRA Entry for the buggy, missleading Userguide due to the ant task, as well. I had the same problem... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078036#4078036 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078036 ___ 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.1 -> doesnot bother jboss.xml values
Hi, Suppose I have a bean named say A, and I want to deploy it with jndi name as B. I am having jboss.xml entries as A B B . But, JBOSS deployer never cares about "B". I checked the log files. It always deploys it using the ejb-name A and no B anywhere in the fle. What is the problem ? It was not like that in ealier jboss 3.x and jboss 2.x versions? How to force the jboss to care my jboss.xml file? Please answer. If it cannot, then JBOSS is not portable or am I missing something here? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078035#4078035 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078035 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: ERROR [action.ActionServlet] Parsing error processing re
Makes perfect sense. I was trying to run the server when I was offline. I'll pay better attention to the stack traces from now on. Apologies. Thanks a lot! :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078034#4078034 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078034 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - Trace level or?
Hi all! I am trying to simulate message and log that anywhere, I am using Eclipse. I send message in Queque and I try to see what is happening. In server log I do not see any MBean action logged. I also tried normal java.util.logging.Logger and dont see any. I think I need to set JBoss Apl. Server and log4j to TRACE level. Actually not sure! Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078033#4078033 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078033 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Entity-query of Contact List sample does not run against
String concatenation in SQL is either done by the concat() function (ANSI) or by using two pipes (|| - supported by almost all rdbms). Regards Felix View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078032#4078032 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078032 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Configuring ejb with jboss 4.0.3 with oracle10g
Your ejb-jar.xml is not right. With in tag swap the values for the tags and View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078031#4078031 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078031 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Advanced Seam Book coming??
So you're not impressed by practical seam projects? I'm deciding to purchase it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078029#4078029 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078029 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Flushing CMP 2.0 EntityBean updates before end of transa
Hi Ram, Entity Bean is in memory, so you are seeing your updates. And JDBC is reading from database so you are not seeing your updates. EJBFind is returning reference to the bean in memory. Anyway, if you want to see the results from session bean, then you should force entity bean (its like cache/buffer) to commit. That you can do by calling entity bean method with in a transaction (thats the only way ejbStore is guaranteed to call). Or you can implement SessionSynchronization interface in your sessionBean. Then you can listen to Beforecommit event. Thats a different approach but more right approach to achieve what you are trying to do. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078028#4078028 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078028 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Advanced Seam Book coming??
I'm reading my 3rd Seam book now. Practical JBoss Seam Projects. Seems to rehash a lot of the material from the other Apress book and the Yuan book. Pretty short as well. Are there any authors working on an advanced Seam book that discusses best practices, design patterns (DAO, etc.), scalability/performance/clustering, OOAD/UML chapter? Basically a book that doesn't cover, "you need Java 5 for annotations", and this JBoss AS version, etc. I know the Yuan book covered some advanced topics like difference b/n saving state to client or server, clustering and DAO a little but a lot of it was intro as well. There may be some books in process on Seam 2... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078027#4078027 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078027 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EJB3 client error - java.io.EOF exception
is there any info in the server log (in the log dir)? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078026#4078026 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078026 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Update for entities with oneToMany relatinship not worki
are you saving using EntityManager.merge ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078025#4078025 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078025 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: EJB initialization
"edwiles" wrote : | 1. How can we get the bean to initialize when JBoss starts up? As far as i know, there isnt a direct way of doing this. Have you checked this section in the JBoss guide which mentions about scheduling tasks using JMX http://docs.jboss.org/jbossas/jboss4guide/r1/html/ch10.html#ch10.sched.sect View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078024#4078024 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078024 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Not binding factory to JNDI, no JNDI name configured
anonymous wrote : i cant seem to get my jndi name bound Did you check the JNDI tree? If not, follow these steps: - Go to http://localhost:8080/jmx-console - On the page that comes up, look for service=JNDIView - Click on that link - Click on the Invoke button next to the list() method, on the page that is shown - The next page will contain the contents of the JNDI tree. See if you can find AVmanBean or AVmanBeanFactory in that. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078023#4078023 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078023 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: location of utility jars (application specific) shared b
Are these 6 WAR files related? If so, you can create an EAR file out of these WAR and JAR files and deploy the EAR as an application. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078022#4078022 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078022 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - Re: Invoke onMessage - MDB
And even in the Wiki http://wiki.jboss.org/wiki/Wiki.jsp?page=SampleMDB View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078021#4078021 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078021 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: using custom date picker in form within jbpm-console web
check the yahoo user interface components. they fit into any kind of applications View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078020#4078020 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078020 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: ERROR [action.ActionServlet] Parsing error processing re
anonymous wrote : 09:45:08,644 INFO [STDOUT] 09:45:08,623 ERROR [action.ActionServlet] Parsing error processing resou | rce path | java.net.UnknownHostException: struts.apache.org | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177) | at java.net.Socket.connect(Socket.java:519) | at java.net.Socket.connect(Socket.java:469) | at sun.net.NetworkClient.doConnect(NetworkClient.java:157) | at sun.net.www.http.HttpClient.openServer(HttpClient.java:382) | at sun.net.www.http.HttpClient.openServer(HttpClient.java:509) | at sun.net.www.http.HttpClient.(HttpClient.java:231) | at sun.net.www.http.HttpClient.New(HttpClient.java:304) | at sun.net.www.http.HttpClient.New(HttpClient.java:316) | at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:813) | at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:765) | at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:690) | at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:934) | at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) | at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source) | at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source) | at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source) | at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source) | at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) anonymous wrote : | http://struts.apache.org/dtds/struts-config_1_2.dtd";> Going by the stacktrace, it appears that while parsing the struts-config.xml file, the server is trying to contact struts.apache.org site for validating the xml to check whether it conforms to the dtd. I guess, the internet connection was down at the time when this happened. I guess you can reproduce this error on a system which doesnt have access to internet. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078019#4078019 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078019 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Problem with no handledException with StaleObjectStateExcept
Hi, I've been trying to figure this out for 5 straight days and cannot understand why org.jboss.seam.handledException is not being set in certain cases. Actually, it is set, but I cannot retrieve it in my handler class. First the setup: -Seam 1.2.1 -Tomcat -Richfaces 3.0.1 -Myfaces 1.1.5 Ok, so I have a "my account" page, where a user can update his details. I also have an admin function, where an admin can update any user's details. The StaleObjectStateException occurs if both the user and the admin update the details at the same time. Nothing strange about this. What is strange is that if the admin is the "winner" (i.e. his update was commited) then the exception handler for the user's exception gets hold of org.jboss.seam.handledException value and proceeeds. However, if the user is the winner, then the admin's handler (same class) does NOT get the org.jboss.seam.handledException value. Why? Obviously something is happening in one case but not the other, but I can't figure out what. Here are some details: The "handler" is defined as follows: | | pages.xml | | | | | | | | | | | | So, when a StaleObjectStateException occurs, the user is redirected to /errorConcurrentModif.xhtml, which has a page action handle(). | @Stateless | @Name("concurrentModifHandler") | public class ConcurrentModifHandler implements ConcurrentModifHandlerLocal { | | public void handle() { | ... | StaleObjectStateException sose = null; | if (Contexts.isConversationContextActive()) { | Object o = Contexts.getConversationContext().get("org.jboss.seam.handledException"); | if (o != null && o instanceof StaleObjectStateException) { | sose = (StaleObjectStateException) o; | } | } | | ... | } | Here, sose is null in one case but not the other. In both cases, prior to reaching my code, org.jboss.seam.core.Exceptions successfully sets "org.jboss.seam.handledException" into an instance of ServerConversationContext's "additions" map. Another funny thing I noticed was that in the case where it works (as I expected), the ServerConversationContext's flush() method is called before my handler, but in the case where sose is null, the flush() method is called afterwards. flush() is where the values in the additions map are moved to the Session's attributes. Here's how the pages are set up. First the admin's (role is named BR). The admin (BR) searches for users and gets presented with a data table in a page called manageBidders. The actualt DataModel is created in a Session scoped component. | @Stateful | @Name("bidderSearch") | @Scope(ScopeType.SESSION) | @Restrict("#{s:hasRole('BR')}") | public class BidderSearchingAction implements BidderSearchingLocal { | ... | @DataModel | private List bidders; | ... | @Factory | public List getBidders() { | ... | return bidders; | } | } | The admin then clicks on the edit link in the data table | | ... | | ... | | BidderManager: | @Stateful | @Scope(ScopeType.CONVERSATION) | @Name("bidderManager") | public class BidderManager implements BidderManagerLocal { | ... | @Begin(join = true) | public void showEdit(Bidder selectedBidder) { | selBidder = database.merge(selectedBidder); | userName = selBidder.getUserName(); | emailRepeat = selBidder.getEmailAddress(); | action = Constants.EDIT; | } | ... | } | And the corresponding entry in pages.xml | | #{s:hasRole('BR')} | | | | | When the admin submits the changes, an action bidderManager.save() is called. | | | | In BidderManager: | |@End | @Restrict("#{s:hasRole('Bidder') or s:hasRole('BR')}") | public void save() { | ... | } | | Navigation after save is handled by pages.xml: | | #{s:hasRole('Bidder') or s:hasRole('BR')} | | | | | | | | | Now, for the user (the Bidder) the process is as follows: His menubar has a link to "my account": | | As you see, it is the same action class BidderManager, but in this case the showEditMyAccount method | @Begin(join = true) | @Restrict("#{s:hasRole('Bidder')}") | public void showEditMyAccount() { | selBidder = loggedInUser.getBidder(); | userName = selBidder.getUserName(); | action = Constants.EDIT_MYACCOUNT; | } | This presents the user with the same page as the admin, but with some fields disabled. The same bidderManager.save() as for the admin is called on submit. The loggedIn
[jboss-user] [JBoss Portal] - Installation of jbp 2.6
Hello, I'm sure I'm missing something. My configuration is as follow : - jboss 4.0.5 GA with EJB 3 module (I'm working with seam) - MySQL 5 (with the truncation bug fixed) - jboss portal 2.6.1 Ok so I downloaded jboss portal and started to read (RTFM, right ?). I did exactly as it is written for the installation from binary distribution (not the bundle one). I created the DB, modified the xml file. I placed the .sar and the *-ds.xml in my serder/default/deploy directory. I launched jboss and baamm ! I got a ClassNotFoundException for org.jboss.varia.scheduler.Scheduler. I started to search and found the package 20 minutes later (scheduler-plugin.jar). It's not written in the documentation ! I relaunched jboss, everything installed. Ok great ! I glanced at the schema and the data in MySQL, sounds ok to me. I opened firefox and go to http://127.0.0.1/portal. It 's working,great ! So I decided to login with admin/admin or user/user. Everytime I try to submit the form I've got a "null" just above the form. I created a new account just to test it. The creation worked fine as I can see the datas in the DB. Again I try to login with this new account and same thing always this "null" above the form. So my portal is working fine but I can't login ;o). What a joke !!! I tried a lot of thing with MySQL and I did search on this very forum and on internet but I couln't find my 2 problems. For the first one you can admit that you can give this scheduler-plugin.jar with the portal.jar, no ? If you have any idea with my second problem or if you know another portal solution. I'm aware. Cheers. Christophe View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078017#4078017 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078017 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:fileUpload error
Hi, I started a seam-gen project to make the deployable example and I found that upload over there worked!! So I understood why it doesn't work for me infact if I delete the Tomahawk library it works!! So maybe it is the tomahawk filter that give problems... I need that library so I don't know how to do...do you have some idea to solve this? Demetrio P.S.: if you want I can integrate tomahawk library to the uploadFileTest example I have done and send it to you, or if you need to now how I integrated the tomahawk lbrary (maybe I wronged something) I just made a post in my blog, you can find it here: http://demetrio812.blogspot.com/2007/08/install-tomahawk-in-seam-gen-generated.html thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078016#4078016 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078016 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: richfaces3.0.1 is not fit for seam?
i used seam 1.2.1 and jboss4.0.4, please help me thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078015#4078015 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078015 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Asynchronous JavaBean method not getting called
check following components.xml - async:timer... declared - async namespace declared interface of bean with contains asynch method - fully annotated with @Asynchronous - Method parameters fully anotated as needed (see docu) class of bean with contains asynch method - fully annoted, also method params - may return a handler to pasue, resume and cancel the job calling bean - bean with asynch method must be injected by Interfsce via @In - call -> works Greetz GHad View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078013#4078013 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078013 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: richfaces3.0.1 is not fit for seam?
and my web.xml like this: | http://java.sun.com/xml/ns/j2ee"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";> |hello | | org.ajax4jsf.VIEW_HANDLERS | org.jboss.seam.ui.facelet.SeamFaceletViewHandler | | | org.ajax4jsf.SKIN | myskin | | | javax.faces.CONFIG_FILES | /WEB-INF/faces-config.xml | | | org.ajax4jsf.COMPRESS_SCRIPT | false | | | javax.faces.STATE_SAVING_METHOD | server | | | | | org.jboss.seam.servlet.SeamListener | | | Seam Exception Filter | org.jboss.seam.servlet.SeamExceptionFilter | | | Seam Exception Filter | *.jsf | | | | org.apache.myfaces.webapp.StartupServletContextListener | | | a4jEchoText | | Ajax4jsf Filter | ajax4jsf | org.ajax4jsf.Filter | | | ajax4jsf | Faces Servlet | REQUEST | FORWARD | INCLUDE | | | ajax4jsf | *.seam | | | | | Faces Servlet | javax.faces.webapp.FacesServlet | 1 | | | Faces Servlet | /faces/* | | | Faces Servlet | *.jsf | | | BASIC | | | 10 | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078012#4078012 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078012 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: richfaces3.0.1 is not fit for seam?
if is it not fit for seam? how to remove the errors. help me please. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078011#4078011 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078011 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Deploying Moving from mod_jk2 to mod_jk problems...
Hi All, I have apache2 on one machine and I'm trying to upgrade it to apache2.2. In apache2.2 mod_jk2 is not available so I need to use mod_jk or mod_proxy, Or any other idea... This is my original workers2.properties | | timing=0 | debug=0 | | [lb:text2pic] | info=text2pic load balancer. | sticky=1 | debug=0 | | [lb:cs] | info=cs load balancer. | sticky=1 | debug=0 | | [channel.socket:server1] | info=Ajp13 forwarding over socket | debug=0 | host=127.0.0.1 | port=8009 | tomcatId=server1 | group=text2pic | group=cs | level=1 | | [channel.socket:server2] | info=Ajp13 forwarding over socket | debug=0 | host=X.X.X.X | port=8009 | tomcatId=server1 | group=cs | level=0 | | and apart of my http.conf | | JkUriSet group lb:cs | JkUriSet info "Map the whole CustomerService webapp" | Order allow,deny | Allow from all | | I'm trying to use jkmount but I can't get it to work... | JkMount /cs/* ajp13 | or to use ProxyPass ProxyPass /cs ajp://127.0.0.1:8009 | ProxyPassReverse /cs ajp://127.0.0.1:8009 | In the ProxyPass I can get an reply from tomcat (the default page not my application) and in JkMount nothing... What I'm missing ??? Thanks, Gili View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078008#4078008 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078008 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Richfaces and IceFaces in same application??
Hi, is it possible to use richfaces and icefaces in same application?? is there chance to have conflict between those two components?? Best regards, mb View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078007#4078007 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078007 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Entity-query of Contact List sample does not run against Ora
Hi all, I'm trying Contact List sample to be run against Oracle. Everything goes well until I make a search by name. When I enter 'Gav' for the first name and 'K' for the last name, Seam (Oracle actually) gives an error that says: ORA-01722: invalid number! I found the reason was "contacts" entity-query found in components.xml: | | from Contact | lastName | | lower(firstName) like lower( #{exampleContact.firstName} + '%' ) | lower(lastName) like lower( #{exampleContact.lastName} + '%' ) | | | This query definition creates following SQL that HSQL accepts, but Oracle does not: | select * | from ( | select ... | from CONTACT c | where (lower(c.firstName) like lower('Gav') + '%') | and (lower(c.lastName) like lower('K') + '%') | order by ... | ) where rownum <= ... | What part Oracle does not allow is concatenation operation, '+'. Therefore, following SQL is perfectly acceptable (also by HSQL): | select * | from ( | select ... | from CONTACT c | where (lower(c.firstName) like lower('Gav%')) | and (lower(c.lastName) like lower('K%')) | order by ... | ) where rownum <= ... | What entity-query should I write to let Seam generate Oracle friendly SQL? Regards, Ali Sadik Kumlali View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078006#4078006 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078006 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: impossible usecase?
"obfuscator" wrote : Well, there is conversations, | but I cannot start more than one per request, so I cannot start one | conversation per post it when the user logs in. I guess you can start as many conversations as you want per user-action. In your backing bean, you can say: | Conversation.instance.begin(); | or | Conversation.instance.beginNested(); | better yet, say like this: | if (Conversation.isLongRunning){ | Conversation.instance.beginNested(); | Conversation.instance.setDescription("readFooRedirectedFromReadBar"); | } | else { | Conversation.instance.begin(); | Conversation.instance.setDescription("readFooFromSiteRoot"); | } | I am doing this in my own application and the multi-conversation-spawning works like charm. (I have a problem with the pop()/end()/leave() now, not quite sure the exact semantics of these three methods, need to investigate this part of Seam source code) anonymous wrote : The crux is that the | conversations need to be started before the first page is shown, You may want to try page action. There is description of page action in Seam documentation. Regards, Ellen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078005#4078005 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078005 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Logs
Hi all! I have problem sending message in Queque and seeing what's happening In server log I do not see any Bean action logged. I also tried normal java.util.logging.Logger and dont see any. I am trying to simulate message and log that anywhere, I am using Eclipse, should I configure log4j or I need to configure JBoss server?? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078004#4078004 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078004 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - EntityNotFoundException after Delete action
I'm trying to re-use a form as an edit form if its posted with GET parameters. The form works fine for both add and edit. The problem is that if I delete an entry, the next time I try to use the form as an add form, it throws an error (below). The offending JSF snippet: | | | The accoundDao is defined as follows: | | | | | | The exception is: | javax.faces.el.EvaluationException: /accountForm.xhtml @27,46 rendered="#{!accountDao.managed}": Exception getting value of property managed of base of type : org.jboss.seam.framework.EntityHome_$$_javassist_2 | at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:60) | at javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:1075) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:241) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249) | at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:573) | at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108) | at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:229) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63) | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57) | at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) | at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:60) | at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) | at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) | at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79) | at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) | at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:96) | at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:220) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:619) | Caused by: javax.f
[jboss-user] [JBoss Seam] - Re: Error: don't flush the Session after an exception occurs
Hi Pete! This is from components.xml | | | | | | I'm using pojo persistence View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078002#4078002 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078002 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: ERROR [action.ActionServlet] Parsing error processing re
I'm not sure what happened, but after a couple of redeployments of my application, this issue just disappeared. I think this issue can be marked as solved. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078001#4078001 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078001 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: assigne task from outlook
uhhmm I think that will be difficult. If my previous comment is totally unclear to you, I think you'll have big problems realizing it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078000#4078000 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078000 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: process variables
lots. Try reading the docs View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077999#4077999 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077999 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: where is informix database script about jbpm 3.1.4 ?
if informix is supported by hibernate, than you can very easily create a ddl for it. Just look how it is done for other databases View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077998#4077998 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077998 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: GPD/Process Designer tool without eclipse..??
That is what is mentioned before except that swithching off all less-relevant menus is not in scope. That would require a customized eclipse (from the source) and take way to much (time and money) to maintain View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077997#4077997 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077997 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: selectDate & convertDateTime
Hi there, I have a question about the possibility of "overloading" s:selectDate month and weeknames? I was searching for the subject and I found this ( http://jira.jboss.org/jira/browse/JBSEAM-623 ) It's says anonymous wrote : - Day and month names are localised as well. So it seams that there is already a way to redefine the names for a specific language (based on the localization - locale) (correct me if I'm wrong :) There are any examples?? Best regards, Tiago. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077996#4077996 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077996 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Deploy new process definitions by the client
it is not called zipdeployer, it is the 'generic' deployer that e.g. the servlet in the webapp uses. it is a static method on the ProcessDefinition.. surprising isn't it... I think you should search a little more clever in the future (no offence) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077995#4077995 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077995 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBPM 3.2 on tomcat which uses mysql - LOGINI UNSUCCESSFU
I think he used sql View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077994#4077994 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077994 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: cancel-event in timer
if it works without the schemadefinition, please file a jira issue to get the schema updated View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077992#4077992 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077992 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: BUILD ERROR
maybe we should create a small, very small unzip ant task ourselves so this download is not needed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077991#4077991 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077991 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: MDA generators with Seam?
"asookazian" wrote : do these products have any relation to executable UML? How much actual code is generated? We're using AndroMDA in my team, and the code generated from the EJB3+seam cartridge is really good. There is a really good documentation at http://web.aanet.com.au/persabi/andromda/howto.html which gives a nice overview, complete with generated code examples. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077989#4077989 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077989 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: MDA generators with Seam?
I have not tried it recently but Taylor seem to be the generator that utilizes seam and annotations the best. http://taylor.sourceforge.net/index.php/Overview p.s. if someone wrote a uml to annotations/hbm.xml transformer seam generate entities would be able to generate seamlessly from that... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077987#4077987 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077987 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - impossible usecase?
Hi I have a problem that I've tried to solve for quite some time with seam. I'll give you a simple example that shows the conceptual problem. Any guidance on how to solve this problem would be greatly appriciated. Let's say that I'm developing an application for displaying post-its. Users can add new post-its with custom text, and they are persisted until next login. A post-it has a view (postit.jsp) and a backing bean (SFSB, PostIt.java). Now, I want to be able to create several post-its, sharing the same view and backing-bean, just initiated with different texts. I find this being a huge problem with seam. How can i have several instances of the same components coexisting, with just different initialization? What I've done is a hack. The postIt.jsp page calls a hack function, setting a variable in the backing bean (postItId=3) or something. Now I can diffrentiate between postIts in my factory method, and set the text accordingly, but there is one huge problem still: All post-its share the same backing-bean instance. Now, since I don't want all post-its showing the same text, how can I let them have different backing beans instances? Well, there is conversations, but I cannot start more than one per request, so I cannot start one conversation per post it when the user logs in. The crux is that the conversations need to be started before the first page is shown, so triggering conversations through user actions is not an option. Using component roles could maybe work, but they are very static in nature, and would not provide a good solution as far as I can see. It would be nice if there could be some mechanism that would identify the requesting view, so that several identical views could coexist within the same context, with separate backing bean instances. A candidate for such an identifier could be the position of the component in the JSF tree or similar. Anyway, even though this is a simple example, i believe that this might become a big problem. I mean, not being able to keep separate instances of views is sort of a big problem, and feels very non-OO. I've probably overlooked the obvious solution, so I'm asking people here how they would solve this problem. Best Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077986#4077986 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077986 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Can action called from button avoid committing transacti
May i set flush mode from s:link/s:button? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077983#4077983 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077983 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user