[jboss-user] [JBoss Seam] - Re: Seam performance vs plain JSF
Thank you very much for your concern Jay, I'm looking forward for any news you might have on this subject - whatever it would be (configuration change, code change or just different results than me). I'll also be very interested about your performance results between plain jsf and seam if you make such tests. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111849#4111849 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111849 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Changing the id of a processDefinition or of a instance?
anonymous wrote : and then the next one will have an ID of 2, and then 3, and then 4, etc etc etc I forgot the '1' :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111848#4111848 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111848 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Changing the id of a processDefinition or of a instance?
You shouldn't be changing the ID of a ProcessDefinition or ProcessInstance. They are auto generated when saving to the database, as with most id fields. They start at zero, and increment by one for each new table row. So yes, the first ones should have an ID of zero, and then the next one will have an ID of 2, and then 3, and then 4, etc etc etc..It's just a unique identifier. Let it be :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111847#4111847 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111847 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Multiple NIC deployment
Thanks. But, I have a restriction to run only one JBoss instance. i.e 2 processes will be started if I execute run script twice. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111844#4111844 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111844 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Can somebody tell me the difference between followed UDP con
Hello: This time I want to config web cluster between Windows XP and Linux. I found there are two place to configure the multicast. One is in file: D:\jboss-4.0.4.GA\server\all\deploy\tc5-cluster.sar\META-INF\jboss-service.xml, which show as follows: The other is in file: D:\jboss-4.0.4.GA\server\all\deploy\cluster-service.xml: | When I grab the IP package, I found both of them sent package. So I want to ask the difference between them. Which one is useful for multicast configure? Thank you! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111842#4111842 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111842 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Jboss 4.2.2 Audit Manager
Feature not available on 4.2 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111841#4111841 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111841 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Capturing client IP address
Still searching for a answer. Am I doing anything terribly wrong View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111839#4111839 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111839 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Update site ...
Hello, I just read that JBoss Developer Studio is released. As far as I understood it - please correct me if I''m wrong - this is a preconfigured bundle containing Eclipse, the former Exadel Studio and what you changed in it and much more. Further it was my understanding that the important stuff - by that I mean the former Exadel Studio in its current version with additions for Seam, etc. - is also available for free, open source. My problem is that I neither can't find a download link nor, preferable, an update site that provides me some shiny Seam development environment with code completion. So please give me a hint and post a link ;) Last but not least I would like to thank all involved people for their awesome work. I'm really looking forward to using it! Thank you very much! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111833#4111833 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111833 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - is join A able to wait for other tasks which point to join B
hi, i really wanna know is join A able to wait for other tasks which point to join B? if yes, how ? thx a lot View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111832#4111832 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111832 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: ConcurrentModificationException - On authenticate
Hi Shane, ty for your answer. My environment: - JBoss Seam 2.0.0GA - JBoss 4.2.2 any suggestion ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111831#4111831 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111831 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: ConcurrentModificationException when setup connection wi
Please help!!! I have no idea about it now. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111822#4111822 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111822 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: ConcurrentModificationException - On authenticate
Which version of Seam is this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111818#4111818 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111818 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seambay example always throws NotLoggedInException
The session obviously needs to be propagated between requests, though I don't know enough about web services to tell you how to fix it (are cookies enabled?) It may be best to ask about this on the JBossWS forum. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111817#4111817 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111817 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: fmt:formatDate Unparseable date urgent!
Maybe the top topic's error list is not excatly. anonymous wrote : org.jboss.util.NestedRuntimeException: Unparseable date: "2007-10-12 14:30:30"; - nested throwable: (java.text.ParseException: Unparseable date: "2007-10-12 14:30:30") | org.jboss.util.propertyeditor.DateEditor.setAsText(DateEditor.java:134) | org.apache.taglibs.standard.lang.jstl.Coercions.coerceToObject(Coercions.java:683) | org.apache.taglibs.standard.lang.jstl.Coercions.coerce(Coercions.java:268) | org.apache.taglibs.standard.lang.jstl.ELEvaluator.convertStaticValueToExpectedType(ELEvaluator.java:329) | org.apache.taglibs.standard.lang.jstl.ELEvaluator.evaluate(ELEvaluator.java:206) | org.apache.taglibs.standard.lang.jstl.ELEvaluator.evaluate(ELEvaluator.java:172) | org.apache.taglibs.standard.lang.jstl.Evaluator.evaluate(Evaluator.java:110) | org.apache.taglibs.standard.lang.jstl.Evaluator.evaluate(Evaluator.java:138) | org.apache.taglibs.standard.lang.support.ExpressionEvaluatorManager.evaluate(ExpressionEvaluatorManager.java:84) | org.apache.taglibs.standard.tag.el.fmt.FormatDateTag.evaluateExpressions(FormatDateTag.java:143) | org.apache.taglibs.standard.tag.el.fmt.FormatDateTag.doStartTag(FormatDateTag.java:76) | org.apache.jsp.clubindex_jsp._jspx_meth_fmt_005fformatDate_005f0(clubindex_jsp.java:905) | org.apache.jsp.clubindex_jsp._jspService(clubindex_jsp.java:228) | org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) | javax.servlet.http.HttpServlet.service(HttpServlet.java:803) | org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:387) | org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320) | org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) | javax.servlet.http.HttpServlet.service(HttpServlet.java:803) | org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1063) | org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:386) | org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229) | org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194) | org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) | javax.servlet.http.HttpServlet.service(HttpServlet.java:690) | javax.servlet.http.HttpServlet.service(HttpServlet.java:803) | org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111814#4111814 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111814 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - fmt:formatDate Unparseable date urgent!
When web server is resin, it's ok. And these days I deploy the web app to jboss-4.2.1.GA. When i use jstl(1.1) like this: report follow error. How to resolve this problem? thank you! anonymous wrote : org.apache.jasper.JasperException: org.jboss.util.NestedRuntimeException: Unparseable date: "Thu Oct 25 14:00:00 CST 2007"; - nested throwable: (java.text.ParseException: Unparseable date: "Thu Oct 25 14:00:00 CST 2007") | org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:535) | org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:429) | org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320) | org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) | javax.servlet.http.HttpServlet.service(HttpServlet.java:803) | org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1063) | org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:386) | org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229) | org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194) | org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) | javax.servlet.http.HttpServlet.service(HttpServlet.java:690) | javax.servlet.http.HttpServlet.service(HttpServlet.java:803) | org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | | | root cause View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111812#4111812 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111812 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: error in form generation
the correct start state is : start-state name="enter request" task name="request entry" swimlane="ernie" controller variable name="start date" access="read,write,required" variable name="duration" access="read,write,required" /controller /task transition name="" to="evaluate request" /start-state View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111810#4111810 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111810 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - error in form generation
Someone can help me ? I generate a form (request-entry.xhtml ) in generate form button, and deploy the process. When i started the process, i got this error: 23:40:19,536 WARN [JpdlXmlReader] process xml warning: swimlane 'ernie' does not have an assignment 23:40:48,642 WARN [ProxyWarnLog] Narrowing proxy to class org.jbpm.graph.node.StartState - this operation breaks == 23:40:48,703 INFO [STDOUT] null 23:40:55,874 ERROR [STDERR] 10/12/2007 23:40:55 com.sun.facelets.FaceletViewHandler handleRenderException SEVERE: Error Rendering View[/common/taskform.xhtml] com.sun.facelets.tag.TagException: //request-entry.xhtml @14,20 Tag Library supports namespace: http://jbpm.org/jsf, but no tag was defined for name: dataform at com.sun.facelets.compiler.CompilationManager.pushTag(CompilationManager.java:193) at com.sun.facelets.compiler.SAXCompiler$CompilationHandler.startElement(SAXCompiler.java:189) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(Unknown Source) at com.sun.facelets.compiler.SAXCompiler.doCompile(SAXCompiler.java:226) at com.sun.facelets.compiler.Compiler.compile(Compiler.java:104) at com.sun.facelets.impl.DefaultFaceletFactory.createFacelet(DefaultFaceletFactory.java:192) at com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:141) at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:293) at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273) at com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:140) at com.sun.facelets.tag.ui.IncludeHandler.apply(IncludeHandler.java:60) at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47) at com.sun.facelets.tag.ui.DefineHandler.apply(DefineHandler.java:58) at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:128) at com.sun.facelets.impl.DefaultFaceletContext$TemplateClientMomento.apply(DefaultFaceletContext.java:303) at com.sun.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:273) at com.sun.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:63) at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47) at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49) at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47) at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248) at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294) at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273) at com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:140) at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:113) at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49) at com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95) at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:481) at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:523) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:133) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:244) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.Appl
[jboss-user] [JBoss Seam] - Re: Eclipse JbossIDE - how to get pageflow editor?
Ok, I just found it :) I need to right click xml file in eclipse, then list of available editors appears. There is no pageflow editor, but there is option "Other..." - and there I can find it :) Regards Pawel Stawicki View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111798#4111798 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111798 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Eclipse JbossIDE - how to get pageflow editor?
Hi, I have eclipse and I installed JbossIDE. I still cannot edit pageflow in graphical mode. What should I do? Is there some tutorial maybe? Regards Pawel Stawicki View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111795#4111795 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111795 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: jboss AS, jboss Web and php
thanks for your reply. i read the thread you pointed at, but i'm afraid that it's not what i'm looking for... the main thing that i'm looking for is the JBoss Application Server and not the JBoss Web. i only want the JBoss Web in order to use php (and url rewriting might be nice as well). now, i'm still a bit confused about all of this, can i just add the JBoss Native to the JBoss AS? will that do the trick for me? thanks, nitzan. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111792#4111792 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111792 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - reconfigure hobernate.connection.password for jbpm connectio
I am using jbpm 3.2 and mysql. I need to remove the hibernate.connection.password from the hibernate.cfg.xml file as it is considered a security breach to have the password in plain text. However, once the hibernate sessionfactory is built in jbpm I am no longer able to change the password property and have jbpm pick up the value and use it. I have also tried just setting the System property and this also is not working. Is there a way to do this in my code? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111788#4111788 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111788 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Jkmount /jmx-console/* not working in Apache
My last post is quite lengthy and I think I'll have a better chance at getting an answer for this question, but if somebody can answer my last post I'll be glad or even impressed. I have Apache2 and Jboss 4 running on the same machine, when I set JkMount /* jboss I can get to my http://localhost/jmx-console with no problem, but if I set JkMount /jmx-console/* jboss in my configuration I get the following error message. [Sun Dec 09 23:06:09 2007] [jk_uri_worker_map.c (486)]: Into jk_uri_worker_map_t::map_uri_to_worker [Sun Dec 09 23:06:09 2007] [jk_uri_worker_map.c (500)]: Attempting to map URI '/jmx-console' [Sun Dec 09 23:06:09 2007] [jk_uri_worker_map.c (618)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Sun Dec 09 23:06:09 2007] [jk_uri_worker_map.c (486)]: Into jk_uri_worker_map_t::map_uri_to_worker [Sun Dec 09 23:06:09 2007] [jk_uri_worker_map.c (500)]: Attempting to map URI '/jmx-console' [Sun Dec 09 23:06:09 2007] [jk_uri_worker_map.c (618)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Sun Dec 09 23:06:09 2007] [jk_uri_worker_map.c (486)]: Into jk_uri_worker_map_t::map_uri_to_worker [Sun Dec 09 23:06:09 2007] [jk_uri_worker_map.c (500)]: Attempting to map URI '/error/HTTP_NOT_FOUND.html.var' [Sun Dec 09 23:06:09 2007] [jk_uri_worker_map.c (618)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Sun Dec 09 23:06:09 2007] [jk_uri_worker_map.c (486)]: Into jk_uri_worker_map_t::map_uri_to_worker This is my modjk configuration file for apache === LoadModule jk_module /usr/lib/apache2/mod_jk.so JkWorkersFile /etc/apache2/conf.d/workers.properties #JkShmFile /var/log/apache2/mod_jk.shm JkLogFile /var/log/apache2/mod_jk.log JkLogLevel debug JkLogStampFormat "[%a %b %d %H:%M:%S %Y]" JkLogLevel debug JkMount /* jboss This is my workers.properties file == worker.list=jboss worker.jboss.port=8009 worker.jboss.host=localhost worker.jboss.type=ajp13 worker.jboss.lbfactor=1 Any help would be greatly appreciated... Here is my last post if anyone is interested. http://jboss.org/index.html?module=bb&op=viewtopic&t=125531 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111783#4111783 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111783 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: is it possible that joinContext in joinhandler find all
i mean joinhandler have to wait for other tokens belong to other join. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111782#4111782 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111782 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:decorate looses form values on validation error
Hey, I figured out what it was and it ties in with another issue I have been having. I have created a custom resource resolver that loads resources from JAR files.. Well, actually I have created a deployer that registers resources that are dropped into the deploy directory and the custom resource resolver looks to that service for resources. The issue here is that the template being included is loaded in such a way, and suffers from this fate: INFO: Facelet[/file:/usr/local/jboss/jboss-4.2.2.GA/server/default/tmp/deploy/tmp35770wt_umarket_mobilink-dev.ear-contents/wt_umarket_common_mobilink-dev.uiar!/WEB-INF/templates/fragment/edit.xhtml] was modified @ 10:14:38, flushing component applied @ 10:14:27 I feel that this 'flush' is what is causing the loss of information - my question is how do I prevent it flushing a component that has not been modified? p.s. Sorry to be a bit heavy footed earlier, its quite frustrating not having other people on hand to ask questions of and having to wait around on a forum response. Cheers, David View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111781#4111781 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111781 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: WSRP user and role propagation
These methods are not safe to use without support for web service level security which is not currently supported but should be in a future version of Portal. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111780#4111780 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111780 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: is it possible that joinContext in joinhandler find all
how to make joinhandler waiting for all these tokens until they are finished? thx a lot View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111779#4111779 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111779 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: exception occurs while deployingDB2JDBC driver jar
Which version of JBossASA are you using (as far as I know, there was never an EJB3 that went with 4.0.3)? Also, what version of EJB3 did you install? Also, looking at the code, I don't see how the JDBC JAR file could be affecting this (though, considering interdependencies, anything is possible). The code that blows up looks like it is scanning the EJB classes in an EJB jar file looking for annotations. Do this. Add the option "-verbose:class" to the JAVA_OPTS and run it again. This causes the JVM to print out the location of every class file loaded. Redirect stdout to a file because you will get a lot of output. Start by posting the last 20 or so class files loaded before this error occurs. Also, just to be sure, replace the older version of the JDBC JAR file and see if things still run. Finally, do a 'jar -tf jdbc.jar', where jdbc.jar is the name of the JDBC JAR file, and post the names of all classes that are not from IBM. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111778#4111778 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111778 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: actionHandler creates mutiple tokens , then to same Join
myactionhandler could create dynamica number of tokens, fork only create static number of tokens, that's why i use actionhandler rather than fork. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111775#4111775 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111775 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Are Stateless Session EJB Thread-safe
Stateless session beans do no have identity so every concurrent request will actually be directed to a different instance from the stateless session bean pool. The server dynamically manages the pool size to deal with the request load. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111773#4111773 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111773 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Are Stateless Session EJB Thread-safe
If I have multiple clients making requests on a single stateless session EJB at the same time what happens ? It is my understanding that EJB's are thread-safe. So does the container place the requests in a queue or what ? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111770#4111770 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111770 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - JSP, I18n and XML
Hi I'm using XML based JSP files, and they are working well for me. Somethings like this: http://www.w3c.org/1999/xhtml"; | xmlns:jsp="http://java.sun.com/JSP/Page"; | xmlns:fmt="http://java.sun.com/jsp/jstl/fmt"; | xmlns:h="http://java.sun.com/jsf/html"; | xmlns:c="http://java.sun.com/jsp/jstl/core"; | version="2.0"> | | | | | | | | | | | | | Now the frameset's label is correctly rendered using the appropriate language, and the radio buttons class is set correctly to pick up the correct CSS style sheet. My problem is how do I code the radio button's "value" and "title" attributes so they get correctly internationalised too? I really don't want to pass in the servlet request to the editor bean. Yes it would allow the bean to extract the locale and do the internationisation within itself and thus return the correct string. However, I think it would be much better to handle all the internationalisation in the JSP file and just have the bean return the keys (or part thereof). That seams a neater, and therefore better, design to me. Many thanks for your suggestions Steve View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111765#4111765 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111765 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Communication between Business and Presentation Layer
Thnx, I got it working today. Two jboss instances, one containing the ejb3 business logic and one containing the web application based on seam, reusing the entities from the ejb3 layer. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111763#4111763 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111763 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam EJBContext -> 2 questions
Annotaton to question "1". Without throwing EJBException View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111761#4111761 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111761 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam EJBContext -> 2 questions
1. How can I get EJBContext in seam? I need to rollback transaction but without throwint basic "Exception" 2. I found this on forum archive: http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086986#4086986 My question is: Is this possible to get EJBContext in Tomcat 6.0 & JBossEmbedded? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111760#4111760 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111760 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: SeamTest Unit Tests Working...But Not Integration Tests
I hinted at this already, but I want to be clear about the structure of my project. The overall structure of my project is a WAR file deployed to WebLogic. In the WEB-INF/lib directory, along with all the third-party library files like Seam, etc will be two JAR files of my creation--a persistence JAR (which contains all my entities and some utility classes that use those entities) and a model JAR that contains all the Seam action classes that do all the work. Both JARs are in the classpath of my test and have seam.properties in their respective META-INF folders, and it is a class in the model JAR that I am trying to test. Then again, I am not actually testing any of my code since all I am calling is getValue("#{identity.loggedIn}");. Now maybe none of this has anything to do with this issue, but since the SeamTest infrastructure is such a mystery, I thought I would mention it just in case. Especially since the SeamTest stuff I tested successfully in IntelliJ relies on all the configuration files and compiled classes to be in a directory called test-build. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111757#4111757 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111757 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Please help~~deployment of webservice
HI all, I am using jboss 4.0.4, jwsdp-2.0 and jbpm-bpel 1.1 beta 3. I have install everything needed to run the web service. after the installation, i deploy the hello example in the folder of jbpm-bpel. I can see the hello service in this link http://localhost:8080/jbossws/services then , i click the link http://localhost:8080/hello/greeter?wsdl then nothing is shown up in the browser. i am using safari as my browser. Is that suppose to see something after clicking the link? and i start my web service by going to link http://localhost:8080/hello/greeter it throws an exception HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.jboss.util.NotImplementedException: HTTP GET not supported org.jboss.ws.server.ServiceEndpointServlet.doGet(ServiceEndpointServlet.java:95) javax.servlet.http.HttpServlet.service(HttpServlet.java:697) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) note The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs. Did i do something wrong? Can anyone tell me why it throws exception? And How to fix the problem? Thanks a lot! sim View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111755#4111755 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111755 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: exception occurs while deployingDB2JDBC driver jar
The jboss deploys fine with db2jcc.jar(V2.8.46) for DB2 Universal JDBC drive View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111754#4111754 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111754 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Please help~~deployment of webservice
HI all, I am using jboss 4.0.4, jwsdp-2.0 and jbpm-bpel 1.1 beta 3. I have install everything needed to run the web service. after the installation, i deploy the hello example in the folder of jbpm-bpel. I can see the hello service in this link http://localhost:8080/jbossws/services then , i click the link http://localhost:8080/hello/greeter?wsdl then nothing is shown up in the browser. i am using safari as my browser. Is that suppose to see something after clicking the link? and i start my web service by going to link http://localhost:8080/hello/greeter it throws an exception HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.jboss.util.NotImplementedException: HTTP GET not supported org.jboss.ws.server.ServiceEndpointServlet.doGet(ServiceEndpointServlet.java:95) javax.servlet.http.HttpServlet.service(HttpServlet.java:697) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) note The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs. Did i do something wrong? Can anyone tell me why it throws exception? And How to fix the problem? Thanks a lot! sim View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111752#4111752 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111752 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Please help~~deployment of webservice
HI all, I am using jboss 4.0.4, jwsdp-2.0 and jbpm-bpel 1.1 beta 3. I have install everything needed to run the web service. after the installation, i deploy the hello example in the folder of jbpm-bpel. I can see the hello service in this link http://localhost:8080/jbossws/services then , i click the link http://localhost:8080/hello/greeter?wsdl then nothing is shown up in the browser. i am using safari as my browser. Is that suppose to see something after clicking the link? and i start my web service by going to link http://localhost:8080/hello/greeter it throws an exception HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.jboss.util.NotImplementedException: HTTP GET not supported org.jboss.ws.server.ServiceEndpointServlet.doGet(ServiceEndpointServlet.java:95) javax.servlet.http.HttpServlet.service(HttpServlet.java:697) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) note The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs. Did i do something wrong? Can anyone tell me why it throws exception? And How to fix the problem? Thanks a lot! sim View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111753#4111753 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111753 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: exception occurs while deployingDB2JDBC driver jar
The db2jcc.jar is from IBM new release DB2 Universal JDBC driver to the latest version (3.1.57). We didn't change it. And it works fine with other application. Is it possible to know what class causes this problem? I mean the class name that cannot be read? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111751#4111751 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111751 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: exception occurs while deployingDB2JDBC driver jar
I see that in this repost of your question that you are now identifying the version of the JVM you are using. Have you verified that the JDBC JAR file is not corrupted? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111750#4111750 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111750 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam performance vs plain JSF
These are surprising results for me as well. I will review them and compare with our own servers. I will be adding more tests and comparisons in regards to performance to the Seam project as time goes on. I appreciate your work on this. Thanks, -Jay JBoss Seam QE. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111749#4111749 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111749 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JBoss refuses to start again after stopping/starting MyS
What operating system (and version) are you using? What version of mysql? If you run the mysql command line utility, can you log into mysql with the user-name and password in you *-ds.xml file and then access the jboss_appserver database? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111748#4111748 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111748 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Changing the id of a processDefinition or of a instance?
Is normal that when you creates: | ProcessDefinition processDef = ProcessDefinition.parseXmlResource("SeleccionDePersonal/processdefinition.xml"); | assertNotNull("La definición del proceso no debe ser nula", processDef); | | //Crea una instancia del proceso | ProcessInstance instancia = new ProcessInstance(processDef); | assertEquals("La instancia del proceso se encuentra en el estado inicial", | instancia.getRootToken().getNode().getName(), | "Establecer criterios del puesto de trabajo"); | The id's of the processDefinition & the instance were 0 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111746#4111746 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111746 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - exception occurs while deployingDB2JDBC driver jar
Hello All, Our application uses Jboss4.03 with 1.5 jdk. It works fine till now we updated the DB2 JDBC Driver jar from IBM. With the new DB2 JDBC Driver jar, the server gets "java.io.IOException: non class file" threw by "org.jboss.ejb3.EJB3Deployer.hasEjbAnnotation". The whole stacktrace: 13:33:47,606 ERROR [MainDeployer] Could not initialise deployment: file:/C:/EMServer/server/all/deploy/6_ems.sar.ear/ org.jboss.deployment.DeploymentException: exception in init of file:/C:/EMServer/server/all/tmp/deploy/tmp21386ems.sar-contents/lib/drivers/db2/ ava.lang.RuntimeException: java.io.IOException: non class file) at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:53) at org.jboss.deployment.MainDeployer.init(MainDeployer.java:887) at org.jboss.deployment.MainDeployer.init(MainDeployer.java:881) at org.jboss.deployment.MainDeployer.init(MainDeployer.java:881) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:798) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy8.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOpera
[jboss-user] [JBossWS] - Re: Document Literal style
"zeeshan.javeed" wrote : Hi, | I have to modify the current webservices developed using old version of Jbossws. Now I have complied the server side with new jbossws 2.0.2 and new wsdl file is generated and deployed. The new client created against this wsdl file using wsconsume works very fine but the old client, created with pervious version are not working. This is a quite common issue for users that have been using old JBossWS versions. If you need to expose a wsdl contract that is exactly the same of your previous one, you should try with the top-down approach. See this for further information: http://jbws.dyndns.org/mediawiki/index.php?title=JBossWS_JAX-WS_Tools#Top-Down_.28Using_wsconsume.29 This way your service clients should work without changes. anonymous wrote : After my investigation, I am of the view that problme is due to mapping and document literal style. Earlier code generated a mapping.xml file and now this time no mapping.xml file is generated. So that is the main reason I asked how we can use the Document Literal in a right way. As previously said, the jaxrpc-mapping.xml is not related to the wsdl style you use (Document/literal, rpc/literal, etc.). That mapping file is simply not generated by our jax-ws stack. anonymous wrote : Secondly, my wsdl file is always generated and deployed in Jboss , default/data folder. I wanted to deploy it some other location and with different port , for example 8080 instead of 80, so that i can debug the out put using TCP MON. Can Any body, help me how to | 1) use Document Literal ( so that it generates mapping.xml file ) | 2) change locatoin and port of wsdl file. Is your concern about the wsdl address or the endpoint address? Please take a look at the FAQ to understand how the endpoint address relates to the context configuration (i.e. how you can change that address): http://jbws.dyndns.org/mediawiki/index.php?title=FAQ#How_do_I_know_what_endpoint_address_is_being_used.3F The port used for every endpoints depends on the jboss-web configuration of your application server. You might also be interested in reading how you can configure JBossWS to rewrite the endpoint addresses in the wsdl files (once you download the wsdl, you get the endpoint address from it's contents... and that automatically generated address can be rewritten changing the host and port): http://jbws.dyndns.org/mediawiki/index.php?title=FAQ#How_does_rewriting_of_the_soap_address_in_WSDL_work.3F Finally, it seems to me there has been a little misunderstanding with Richard on what you need to do. The wsdlLocation attribute of @WebService should be used to point the stack to the wsdl location during the deployment phase. As a matter of fact jbossws needs to read the wsdl (if you decide to expose your own one instead of letting it generate it for you) and wsdlLocation specifies the relative URL to the wsdl. You can of course deploy your wsdl as a simple xml file everywhere you want as a simple jboss-web app and then have jbossws read it from there... but imho that's not the suggest way to go. Please give us some further information to better understand your usecase. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111744#4111744 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111744 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: JBREM-786:
hi, sorry i haven't replied in a while. i kind of got away from this for a bit. anyway, we certainly have a mix of code. just fyi, we are using jboss 4.0.5.GA in production, so my changes are built on top of the remoting version in that release, which i believe is actually JBossRemoting 1.4.3. to respond to your question about the leaky connections, i believe we have that fix: that is the change which extends the "synchronized(this)" block up around the clientpool updates in ServerThread.run, correct? in our application, we have a high number of relatively quick remote calls happening on ~60 threads in each client app server. Since we had ~10 client servers running ~60 threads all banging on the same remote server, we easily hit the 300 thread maximum in the server thread pool. this means that new requests to the server can cause "evict()" to be called on the clientpool (in SocketServerInvoker). This eviction will cause a socket to be closed after an in-flight call ends. On the client side, this will cause a pooled socket to be fine for one call, and then throw an EOFException the next time it is used. With the retry logic backported, it would seem highly unlikely that a single request would see 3 closed client sockets in a row (especially with the "flush" call before the last attempt). However, when we fired up the system at full speed, we would see at least one of these complete failures per "job" (which could be ~100k remote calls to the remote server among all t! he client boxes). the flushConnectionPool() call on the last attempt was obviously an attempt to mitigate this problem, however it still does not gaurantee that the client will get a fresh connection on the next attempt, only makes it more likely. apparently, in our application, this was not a good enough effort as we still saw the issue (albeit infrequently). When i implemented the changes included in the patch, however, this problem stopped occurring at all. It seems clear, though, that this patch would be more appropriate for the 2.0 code base, not the 1.4.x code base (unless there is more backporting planned). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111743#4111743 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111743 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Not able to access web service via IP
Sorry, read the third point as "run.bat -b ". Also, all the results are from remote machine. It works fine on the server machine, even if I use external IP to connect to server using GUI. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111742#4111742 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111742 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Not able to access web service via IP
I can see the JBoss console, and can see wsdl's for our webservices. I have added the following part to run.bat: | -Djava.rmi.server.hostname= -Djava.rmi.server.useLocalHostname=true | because the server is behind router. 1. If I call "run.bat" directly, it starts the webservices on localhost (127.0.0.1:8080). 2. If I call "run.bat -b ", I can see JBoss console and wsdl's from remote machine, but cannot access any webservice methods. 3. If I call "run.bat -b ", I get exception saying that the ports are already in use (they are not) and server does not start properly. Can you tell me what I am doing wrong? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111741#4111741 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111741 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - How to use JBossSSO and JBossPortal
I've found this issue http://jira.jboss.com/jira/browse/JBSSO-24 indicating the out-of-the-box integration between JBossPortal and JBossSSO is ready. But I can't find any documentation explaining how to use it. Somebody knows how to use it? I'm using JBossPortal 2.6.2 and I want to use the latest available version of JBossSSO Thanks, Martin View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111740#4111740 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111740 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JBoss refuses to start again after stopping/starting MyS
here it is : | | | | DefaultDS | jdbc:mysql://localhost:3306/jboss_appserver | com.mysql.jdbc.Driver | mco | TefNout | org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter | org.jboss.resource.adapter.jdbc.vendor.MySQLValidConnectionChecker | |mySQL | | | It worked fine before stopping/starting MySQL. It was the first time I stop/start MySQL since the JBoss installation. Thanks for your help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111739#4111739 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111739 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: exception occurs while deploying DB2JDBC driver jar
I would suspect a corrupted JAR file. The error means that the class file it was attempting to load (probably the Driver class) is not a valid class file. Another possibility could be that the JAR file was compiled with a more recent version of the java compiler (such as 1.5) and you are running it with an older JVM (such as 1.4). Also, not sure what your post has to do with the JBoss Portal, you should have placed this post in the Installation, Configuration & DEPLOYMENT forum. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111738#4111738 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111738 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam performance vs plain JSF
So Monday Hello ! Here is some more information about the load tests we executed. If you want more information please tell me. Also, if you have an idea on how we can achieve betters results, I'm interested (of course !). Otherwise I think you can find some interesting comparative and instructive (ar least for me !) performance results. Please note, I'm really far from being a bench expert or a system expert - I'm only a humble little developper so once more please - if anyone sees some interesting optimization to apply just tell me ! Also, those tests were made on a simple application and are not representative for application in production environment (we didnt' have time to code one for each framework :)). Extract >From our test: . Seam consumes 3 times (really average) more cpu than the same app with plain jsf. . JSF consumes 3 times (really average) more than plain old Struts like app. I would have really expected at the beginning a performance ratio of 2 times more for Seam app that Struts like but it's like 10 ! arrrggh ! I - Test Environment 1. Injector platform used : Pentium IV 3 GHz, 2 Go RAM. Windows XP Professional SP1 with JMeter 2.3. 2. App Server Websphere 6.1.0.13 IBM JRE 5.0 SR6 64bits (Java(TM) 2 Runtime Environment, Standard Edition (build pap64devifx-20071025 (SR6b)). sxqwas02 : 6 Processors 2.1 GHz Power PC5 40894464 Ko One JVM No clustering and no session replication. JVM Parameters Initial Heap Size = 256 Mo Max Heap Size = 512 Mo Web Container Threads = Session Timeout = 4 minutes JDBC Pool = {connectionTimeout=60s, maxConnections=10, minConnections=5, reapTime=60, unusedTimeout=120, aged=0} Threadpool : minSize = 5,maxSize = 20 3. Web Server IBM HTTP Server 6.1.0.5 CPU : 1 proc 2812.972 MHz Dual-Core AMD Opteron(tm) Processor 8220 SE RAM : 1025372 Ko IHS Parameters Timeout 300 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 15 StartServers 5 MaxClients 150 MinSpareThreads 5 MaxSpareThreads 10 ThreadsPerChild 25 MaxRequestsPerChild 1 II - Test scenario 1. Scenario User uses jpa sample application bundled with Seam. All vusers execute the following scenario in loop : 1. go to page /jpa/home.seam 2. loggin user=demo pass=demo 3. user press the 'Find Hotel' button (no search criteria and max results=10). 4. user selects first record in the list 5. user books this hotel 6. user enters booking information 7. user confirms his reservation 8. user cancels his reservation. 2. mesurement points All version of the application were tested with 15tx/s, 30tx/s, 60tx/s, 120tx/s, 240tx/s. 3. Ramp up period/think time, vuser count, etc... No think time. No Ramp up period (we used a constant throughput timer in JMeter to limit the number of request to 15, 30, ...tx/s) depending on the scenario. 4. Applications tested a. jpa sample modified to remove a4j and RichFaces components & libraries. uses SUN RI 1.2 (bundled with Seam), facelets, Seam 2.0.0.GA name:jpa-no-a4j.ear same as jpa from Seam except rich*.jar removed, el-impl.jar added (if it wasn't already there). b. jpa sample modified to remove Seam, include Spring for business Layer. uses SUN RI 1.2, facelets, Spring (bundled with Seam 2.0.0.GA) name:jpa-standard-jsf-facelets.ear c. jpa sample modified to remove Seam and facelets, include Spring for business Layer. uses SUN RI 1.2, JSP, Spring (bundled with Seam 2.0.0.GA) name:jpa-standard-jsf-sun-1.2.ear d. jpa sample modified to remove Seam and facelets, include Spring for business Layer. uses IBM JSF (1.1), JSP, Spring (bundled with Seam 2.0.0.GA) name:jpa-standard-jsf.ear e. another demo application which runs with a Struts like framework. name:demo.ear 5. Notes Please, note that when we removed Seam, we put hotel list in request scope, not in session scope. Note also log level was at WARN (so no logs after startup during test execution). III Results Result data was retrieved from : a. JMeter Summary Report (tx/s, page size). b. topas (cpu usage). c. Wily Introscope (hea size, session size) 1. Test with 15tx/s Scenario tx/s CPU used(%) el time moy (ms)page size (ko) session size (ko) bytes used in heap (Mo) | jpa-no-a4j.ear 15 10 87 5,8 181,4 244,3 | jpa-standard-jsf-facelets.ear | 15 449 6,2 81,1 NA | jpa-standard-jsf.ear | 15 4 47 6,2 2,0220 | jpa-standard-jsf-sun-1.2.ear | 15 4,5
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Porting from 2.4.4 to 4.2.1
Sorry about the jcml not coming through...should look like this: | com.inet.tds.TdsDriver | | | | |org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl |mydb |jdbc:inetdae:myserver:1433?database=mydb |user |pass |false |false |false |true |12 |180 |false |false |1.0 |0 |40 | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111734#4111734 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111734 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Porting from 2.4.4 to 4.2.1
I've been tas,ked with porting a couple of servlets from JBoss 2.4.4 to 4.2.1. They run on Windows 2000 servers with MS SQL Server 2K. Problem is, I don't have much experience with J2EE and app servers, so I'm working by trial and error. I configured the mssql-ds.xml file, deployed the Opta2000.jar (with inet drivers), and created a test servlet that connects in the same manner as the application: InitialContext ctx = new InitialContext(); Object obj = ctx.lookup("java:/mydb"); DataSource fDataSource = (DataSource) obj; org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl fXADataSource = (org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl) obj; But the last cast is throwing this: java.lang.ClassCastException: org.jboss.resource.adapter.jdbc.WrapperDataSource at Test400.doGet(Test400.java:25) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) (rest of stack trace omitted). I've also tried it with a mssql-xa-ds.xml using the XADataSourceImpl above as the datasource class, but the WrapperDataSource is still returned. Below is the relevant portion of the jboss.jcml deployment, which is used by the code above. If someone could help me get this ported to 4.2.1 it would be greatly appreciated. >From 2.4.4 Jboss.jcml: com.inet.tds.TdsDriver,com.ibm.as400.access.AS400JDBCDriver org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl mydb jdbc:inetdae:myserver:1433?database=mydbname user pass false false false true 12 180 false false 1.0 0 40 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111733#4111733 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111733 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JBoss refuses to start again after stopping/starting MyS
Based on the location of the error immediately after the establishment of DefaultDS, I assume that the error messages concern that datasource (the portal uses PortlaDS, not DefaultDS, and it is opened much later in the console output). I therefore assume that you replaced the hsqldb-ds.xml file, which uses Hypersonic to manage DefaultDS, with another *-ds.xml file to use MySQL for DefaultDS. Could you post the contents of that *-ds.xml file. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111732#4111732 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111732 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - exception occurs while deploying DB2JDBC driver jar
Hello All, Our application uses Jboss4.03. It works fine till now we updated the DB2 JDBC Driver jar. With the new DB2 JDBC Driver jar, the server gets "java.io.IOException: non class file" threw by "org.jboss.ejb3.EJB3Deployer.hasEjbAnnotation". The whole stacktrace: 13:33:47,606 ERROR [MainDeployer] Could not initialise deployment: file:/C:/EMServer/server/all/deploy/6_ems.sar.ear/ org.jboss.deployment.DeploymentException: exception in init of file:/C:/EMServer/server/all/tmp/deploy/tmp21386ems.sar-contents/lib/drivers/db2/ ava.lang.RuntimeException: java.io.IOException: non class file) at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:53) at org.jboss.deployment.MainDeployer.init(MainDeployer.java:887) at org.jboss.deployment.MainDeployer.init(MainDeployer.java:881) at org.jboss.deployment.MainDeployer.init(MainDeployer.java:881) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:798) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy8.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) 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
[jboss-user] [JBoss Seam] - seambay example always throws NotLoggedInException
Hi, I've been trying to access the seambay example from a small client-webservice. (note: the stub-code was generated with wsimport without any trouble) Here's my code: | public class AuctionTester | { | AuctionService auctionService; | | public AuctionTester() | { | auctionService = new AuctionService_Service().getAuctionServicePort(); | } | | public void login() | { | try { | boolean loggedIn = auctionService.login("demo", "demo"); | System.out.println("Invoking the login operation on the port; result = "+loggedIn); | } catch(Exception e) { | e.printStackTrace(); | } | } | public void logout() | { | try { | boolean loggedOut = auctionService.logout(); | System.out.println("Invoking the logout operation on the port; result = "+loggedOut); | } catch(Exception e) { | e.printStackTrace(); | } | } | public void createAuction() | { | try { | auctionService.createAuction("blah", "test", 1); | } catch(Exception e) { | e.printStackTrace(); | } | } | | public static void main(String[] args) | { | AuctionTester auctionTester = new AuctionTester(); | auctionTester.login(); | auctionTester.printSpaces(); | auctionTester.logout(); | } | } | The login seems to succeed (returns true), but when auctionTester.printSpaces(); is invoked, the server-side throws this exception: | 19:38:20,598 ERROR [SOAPFaultHelperJAXWS] SOAP request exception | org.jboss.seam.security.NotLoggedInException | at org.jboss.seam.security.Identity.checkRestriction(Identity.java:222) | at org.jboss.seam.security.SecurityInterceptor.aroundInvoke(SecurityInterceptor.java:38) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) | at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:106) | at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:155) | at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:91) | at org.jboss.seam.example.seambay.AuctionAction_$$_javassist_2.createAuction(AuctionAction_$$_javassist_2.java) | at org.jboss.seam.example.seambay.AuctionService.createAuction(AuctionService.java:47) | 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:597) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) | at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166) | at org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationContext.java:44) | at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:101) | at org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:50) | 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:597) | at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118) | at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79) | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(Stat
[jboss-user] [JBossWS] - Re: My WS doesn't send any attachment... why?
Take a look at the user guide, attachments chapter: http://jbws.dyndns.org/mediawiki/index.php?title=JAX-WS_User_Guide#Attachments View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111728#4111728 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111728 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - JBoss refuses to start again after stopping/starting MySQL
Hi, I have got a pb running AS 4.2.2 + portal 2.6.2 after stopping/starting MySQL 5.0.26. Everything was running OK. I have just stopped/started MySQL to change a variable value (max_allowed_packet). First I had stopped JBoss, and after MySQL being running again, I had started JBoss again. But then JBoss makes an error : 18:02:47,654 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA' | 18:02:47,797 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS' | 18:02:48,103 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null | org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (com.mysql.jdbc.CommunicationsException: Communications link failure | | Last packet sent to the server was 0 ms ago.) | at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:179) | at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:577) | at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:262) | at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:500) | at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:341) I have tried several times to start/stop everything, putting again the first MySQL variable value, verifying it is possible to connect to MySQL (command line, MySQL admin). But I did not get again JBoss connecting to MySQL. I don't understand what has changed. It is like if stopping/starting MySQL, something changed on MySQL server but I don't see what. If somebody can give me some help, that would be very nice. Thanks a lot. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111727#4111727 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111727 ___ 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: JPA/Hibernate and default constraints
there is no reference to 'default constraint' in the Hibernate 3.2.2 documentation: http://www.hibernate.org/hib_docs/reference/en/html_single/ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111723#4111723 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111723 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: SeamTest Unit Tests Working...But Not Integration Tests
Well, I have tried a bunch of things. I used seamgen to create a dummy project which I then imported into IntelliJ. I ran the generated build script to run an integration test, and of course it worked. So then I used the information from that run as well as Pete's comments to make a bunch of changes. Here is the classpath that works from my IntelliJ run: | C:\seamgen\test\test-build;C:\seamgen\test\lib\test\hibernate-all.jar;C:\seamgen\test\lib\test\jboss-embedded-all.jar;C:\seamgen\test\lib\test\thirdparty-all.jar;C:\seamgen\test\bootstrap;C:\seamgen\test\lib\activation.jar;C:\seamgen\test\lib\ant-antlr.jar;C:\seamgen\test\lib\antlr-runtime.jar;C:\seamgen\test\lib\antlr.jar;C:\seamgen\test\lib\asm-attrs.jar;C:\seamgen\test\lib\asm.jar;C:\seamgen\test\lib\cglib- nodep.jar;C:\seamgen\test\lib\cglib.jar;C:\seamgen\test\lib\commons-beanutils.jar;C:\seamgen\test\lib\commons-collections.jar;C:\seamgen\test\lib\commons-digester.jar;C:\seamgen\test\lib\commons-lang.jar;C:\seamgen\test\lib\commons- logging.jar;C:\seamgen\test\lib\core.jar;C:\seamgen\test\lib\dbunit.jar;C:\seamgen\test\lib\dom4j.jar;C:\seamgen\test\lib\drools-compiler.jar;C:\seamgen\test\lib\drools-core.jar;C:\seamgen\test\lib\ejb-api.jar;C:\seamgen\test\lib\el-api.jar;C:\seamgen\test\lib\groovy-all.jar;C:\seamgen\test\lib\gwt-servlet.jar;C:\seamgen\test\lib\hibern! ate-annotations.jar;C:\seamgen\test\lib\hibernate-commons-annotations.jar;C:\seamgen\test\lib\hibernate-entitymanager.jar ;C:\seamgen\test\lib\hibernate-search.jar;C:\seamgen\test\lib\hibernate-validator.jar;C:\seamgen\test\lib\hibernate.jar;C:\seamgen\test\lib\hsqldb.jar;C:\seamgen\test\lib\itext.jar;C:\seamgen\test\lib\janino.jar;C:\seamgen\test\lib\javassist.jar;C:\seamgen\test\lib\jaxb- api.jar;C:\seamgen\test\lib\jaxws-api.jar;C:\seamgen\test\lib\jboss-aop.jar;C:\seamgen\test\lib\jboss-cache.jar;C:\seamgen\test\lib\jboss-common-core.jar;C:\seamgen\test\lib\jboss-dependency.jar;C:\seamgen\test\lib\jboss- deployers.jar;C:\seamgen\test\lib\jboss-el.jar;C:\seamgen\test\lib\jboss-embedded-api.jar;C:\seamgen\test\lib\jboss-jmx.jar;C:\seamgen\test\lib\jboss-kernel.jar;C:\seamgen\test\lib\jboss-logging-spi.jar;C:\seamgen\test\lib\jboss- seam-debug.jar;C:\seamgen\test\lib\jboss-seam-gen.jar;C:\seamgen\test\lib\jboss-seam-ioc.jar;C:\seamgen\test\lib\jboss-seam-mail.jar;C:\seamge! n\test\lib\jboss-seam-pdf.jar;C:\seamgen\test\lib\jboss-seam-remoting. jar;C:\seamgen\test\lib\jboss- seam-ui.jar;C:\seamgen\test\lib\jboss-seam.jar;C:\seamgen\test\lib\jboss-system.jar;C:\seamgen\test\lib\jbossxb.jar;C:\seamgen\test\lib\jbpm-jpdl.jar;C:\seamgen\test\lib\jcaptcha-all.jar;C:\seamgen\test\lib\jcommon.jar;C:\seamgen\test\lib\jfreechart.jar;C:\seamgen\test\lib\jgroups.jar;C:\seamgen\test\lib\jms.jar;C:\seamgen\test\lib\jsf- api.jar;C:\seamgen\test\lib\jsf-facelets.jar;C:\seamgen\test\lib\jsf-impl.jar;C:\seamgen\test\lib\jsp-api.jar;C:\seamgen\test\lib\jsr173_api.jar;C:\seamgen\test\lib\jsr181-api.jar;C:\seamgen\test\lib\jsr250-api.jar;C:\seamgen\test\lib\jstl.jar;C:\seamgen\test\lib\jta.jar;C:\seamgen\test\lib\log4j.jar;C:\seamgen\test\lib\lucene- core.jar;C:\seamgen\test\lib\mail.jar;C:\seamgen\test\lib\meldware-mailapi.jar;C:\seamgen\test\lib\meldware-mailjmx.jar;C:\seamgen\test\lib\mvel14.jar;C:\seamgen\test\lib\persistence-api.jar;C:\seamgen\test\lib\portlet-api.jar ;C:\seamgen\test\lib\quartz.jar;C:\seamgen\test\lib\richfaces-! api.jar;C:\seamgen\test\lib\richfaces-impl.jar;C:\seamgen\test\lib\richfaces-ui.jar;C:\seamgen\test\lib\saaj-api.jar;C:\seamgen\test\lib\servlet-api.jar;C:\seamgen\test\lib\spring.jar;C:\seamgen\test\lib\testng.jar;C:\seamgen\test\lib\urlrewritefilter.jar' | Here now is my classpath after tinkering: | C:\project\model\dist\project-model-test.jar;C:\project\persistence\dist\project-persistence.jar;C:\project\libs\seam-hibernate\test-build;C:\project\libs\seam-hibernate\hibernate-all.jar;C:\project\libs\seam-hibernate\jboss-embedded-all.jar;C:\project\libs\seam-hibernate\thirdparty-all.jar;C:\project\libs\seam-hibernate\bootstrap;C:\project\libs\commons\commons-beanutils.jar;C:\project\libs\commons\commons-collections.jar;C:\project\libs\commons\commons-digester.jar;C:\project\libs\commons\commons-lang.jar;C:\project\libs\commons\commons-logging.jar;C:\project\libs\sun-jsf\el-api.jar;C:\project\libs\sun-jsf\jsf-api.jar;C:\project\libs\sun-jsf\jsf-impl.jar;C:\project\libs\sun-jsf\jsp-api.jar;C:\project\libs\sun-jsf\jstl.jar;C:\project\libs\sun-jsf\servlet-api.jar;C:\project\libs\seam-hibernate\activation.jar;C:\project\libs\seam-hibernate\ant-antlr.jar;C:\project\libs\seam-hibernate\antlr-runtime.jar;C:\project\libs\seam-hibernate\antlr.jar;C:\project\libs\seam-hibernate! \asm-attrs.jar;C:\project\libs\seam-hibernate\asm.jar;C:\project\libs\seam-hibernate\cglib-nodep.jar;C:\project\libs\seam-hibernate\cglib.jar;C:\project\libs\seam-hibernate\core.jar;C:\project\libs\seam-hibernate\dom4j.jar;C:\project\libs\seam-hibernate\drools-
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - JPA/Hibernate and default constraints
We have the following constraint defined in sql server 2005: | USE [boIcomsSecurityAudit] | GO | ALTER TABLE [dbo].[tblSecurityAuditNote] ADD CONSTRAINT [DF_tblSecurityAuditNote_TimeStamp] DEFAULT (getdate()) FOR [TimeStamp] I am persisting to the db table above via a Seam2.0.0.GA/JBoss 4.2.2.GA web app. The constructor for the JPA entity is as follows: | public TblSecurityAuditNote(Integer siteId, | Integer employeeNumber, String noteType, String noteText) { | | this.siteId = siteId; | this.employeeNumber = employeeNumber; | this.noteType = noteType; | this.noteText = noteText; | } After em.persist() fires in the SFSB and the transaction commits, the insert shows 'null' for the TimeStamp column (of type datatime) for that newly inserted record. The problem is that when the value is 'null' the default constraint does not fire the getdate() t-sql function. The default constraint works when I issue the following command in SQL management studio: | insert into tblsecurityauditnote(SITE_ID, EMPLOYEE_NUMBER, NoteType, NoteText) | values (333, 74055, 'mojo jojo', 'text of a note') Is there a way around this (e.g. JPA annotation?) or should we remove the table default constraint and use a getdate method in the Java code??? setTimeStamp() is not being called on the JPA entity. So it must default to 'null' which makes sense I guess... thx. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111722#4111722 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111722 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - "java.util.zip.ZipException: error in opening zip file" erro
Hello, Does anybody know this error? We use jboss 4.03. It works fine till we update the new version sqlserverJDBCDriver.jar. The following error shows on the server while deploying this jar. 2:44:15,559 ERROR [MainDeployer] Could not initialise deployment: file:/C:/EMServer/server/all/deploy/6_ems.sar.ear/ rg.jboss.deployment.DeploymentException: exception in init of file:/C:/EMServer/server/all/tmp/deploy/tmp47770ems.sar-contents/lib/drivers/sqlserver/1.2/sqljdbc.jar-contents/sqlj c.jar; - nested throwable: (java.lang.RuntimeException: java.util.zip.ZipException: error in opening zip file) at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:53) at org.jboss.deployment.MainDeployer.init(MainDeployer.java:887) at org.jboss.deployment.MainDeployer.init(MainDeployer.java:881) at org.jboss.deployment.MainDeployer.init(MainDeployer.java:881) at org.jboss.deployment.MainDeployer.init(MainDeployer.java:881) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:798) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy8.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.Deleg
[jboss-user] [JBoss Seam] - Re: Tomcat, Seam 2.0.0.GA with no embedded?
I used the JPA as an example. I did find the problem though. I had a few extra config files still around from before, so I deleted them and that fixed the issue View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111711#4111711 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111711 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Changing the id of a processDefinition or of a instance??
Hello! Someone knows how to change the id of a ProcessDefinition or an instance? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111710#4111710 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111710 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Multiple NIC deployment
Do this. Make a copy of server/default (for example, copy it as server/other). Deploy one of the WARs to server/default/deploy, and the other WAR to server/other/deploy. Then run the servers giving the -b option, as follows: run -c default -b IP1 run -c other -b IP2 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111709#4111709 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111709 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
Re: [jboss-user] [JBossWS] - Re: UsernameToken authentication using JBossWS
Hi Alessio and others, any new clue about this? Thank you, Leandro. 2007/12/7, Leandro Sales <[EMAIL PROTECTED]>: > Hello, please consider de following WSDL: > > > http://schemas.xmlsoap.org/wsdl/soap/"; > xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"; > xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; > xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"; > xmlns:tns="http://www.xxx.com/"; xmlns:s1="http://www.xxx.com/security"; > xmlns:s="http://www.w3.org/2001/XMLSchema"; > xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"; > xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"; > targetNamespace="http://www.xxx.com/"; > xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";> >xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";>This web service > provides real-time data data. > > targetNamespace="http://www.xxx.com/";> > > > > > > > name="GetStationsResult" type="tns:ArrayOfStation"/> > > > > > >name="Station" nillable="true" type="tns:Station"/> > > > > >type="s:string"/> >type="s:int"/> >type="s:double"/> >type="s:double"/> >type="s:double"/> >type="s:double"/> > > > > > > type="s:string"/> > > > > > > > name="GetObservationVariablesByStationResult" > type="tns:ArrayOfString"/> > > > > > >nillable="true" type="s:string"/> > > > > > > type="s:string"/> > type="s:string"/> > > > > > > > name="GetLatestObservationByStationAndVariableResult" > type="tns:Observation"/> > > > > > >type="s:string"/> >name="ObsVariableUnit" type="s:string"/> >type="s:double"/> >type="s:dateTime"/> >type="s:int"/> > > > > > > type="s:string"/> > > > > > > > name="GetLatestObservationsByStationResult" > type="tns:ArrayOfObservation"/> > > > > > >name="Observation" nillable="true" type="tns:Observation"/> > > > > > > type="s:string"/> > type="s:string"/> > type="s:dateTime"/> > type="s:dateTime"/> > > > > > > > name="GetObservationsByStationAndVariableResult" > type="tns:ArrayOfObservation"/> > > > > > > > type="s:string"/> > type="s:dateTime"/> > type="s:dateTime"/> > > > > > > > name="GetObservationsByStationResult" type="tns:ArrayOfObservation"/> > > > > > targetNamespace="http://www.xxx.com/security";> > > > >type="s:string"/> >type="s:string"/> > > > > > > > > > > > > > > > > element="tns:GetObservationVariablesByStation"/> > > > element="tns:GetObservationVariablesByStationResponse"/> > > > > > > element="tns:GetLatestObservationByStationAndVariable"/> > > > element="tns:GetLatestObservationByStationAndVariableResponse"/> > > > > > > element="tns:GetLatestObservationsByStation"/> > > > element="tns:GetLatestObservationsByStationResponse"/> > > > > > > element="tns:GetObservationsByStationAndVariable"/> > > > element="tns:GetObservationsByStationAndVariableResponse"/> > > > > > > > > > element="tns:GetObservationsByStationResponse"/> > > > > > > >xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";>... > > > > >xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";>... > > > > >xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";>... >message="tns:GetLatestObservationByStationAndVariableSoapIn"/> >message="tns:GetLatestObservationByStationAndVariableSoapOut"/> > > >xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";>... > > > > >xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";>... > > > > >xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";> > > > > >type="tns:xxx_x0020_Web_x0020_ServiceSoap"> >
[jboss-user] [JBoss Seam] - Re: Unable to bootstrap testNG...
I've just experienced the same (or similar) problem. FAILED CONFIGURATION: @BeforeClass init | java.lang.NoSuchFieldError: mainDeployer | at org.jboss.seam.mock.embedded.BootstrapWrapper.createDeploymentGroup(BootstrapWrapper.java:28) | at org.jboss.embedded.Bootstrap.deployResourceBases(Bootstrap.java:305) | at org.jboss.seam.mock.EmbeddedBootstrap.startAndDeployResources(EmbeddedBootstrap.java:16) | at org.jboss.seam.mock.BaseSeamTest.startJbossEmbeddedIfNecessary(BaseSeamTest.java:1005) | at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:929) | at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42) | ... Removed 22 stack frames I had upgraded my Seam JARs from 2.0.0.CR2 to the latest 2.0.1.SNAPSHOT (I needed the DataModel fix). If I downgrade my JARs back to 2.0.0.CR2 then the Integration tests work. Short of rebuilding my project skeleton, is there any solution to this? Cheers, Damian. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111708#4111708 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111708 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Exception on Timer-Execution under Weblogic
Hi guys, I'm working with Weblogic 10.0 and jbpm-jpdl-3.2.2. I have the same problem. Do you have an idea on how I can fix it? Thanks a lot in advance. Caused by: javax.ejb.TransactionRolledbackLocalException: EJB Exception: ; nested exception is: java.lang.IllegalStateException: Single expiration timers cannot be cancelled from within ejbTimeout | at weblogic.ejb.container.internal.EJBRuntimeUtils.throwTransactionRolledbackLocal(EJBRuntimeUtils.java:232) | at weblogic.ejb.container.internal.BaseLocalObject.handleSystemException(BaseLocalObject.java:861) | at weblogic.ejb.container.internal.BaseLocalObject.handleSystemException(BaseLocalObject.java:788) | at weblogic.ejb.container.internal.BaseLocalObject.postInvoke1(BaseLocalObject.java:483) | at weblogic.ejb.container.internal.BaseLocalObject.postInvokeTxRetry(BaseLocalObject.java:421) | at org.jbpm.scheduler.ejbtimer.TimerServiceBean_p7ac74_ELOImpl.cancelTimersByName(TimerServiceBean_p7ac74_ELOImpl.java:228) | at org.jbpm.scheduler.ejbtimer.EjbSchedulerService.deleteTimersByName(EjbSchedulerService.java:49) | at org.jbpm.scheduler.def.CancelTimerAction.execute(CancelTimerAction.java:46) | at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:264) | ... 37 more | Caused by: java.lang.IllegalStateException: Single expiration timers cannot be cancelled from within ejbTimeout | at weblogic.ejb.container.timer.TimerImpl.cancel(TimerImpl.java:626) | at org.jbpm.scheduler.ejbtimer.TimerServiceBean.cancelTimersByName(TimerServiceBean.java:53) | at org.jbpm.scheduler.ejbtimer.TimerServiceBean_p7ac74_ELOImpl.cancelTimersByName(TimerServiceBean_p7ac74_ELOImpl.java:213) | ... 40 more | ; nested exception is: org.jbpm.JbpmException: couldn't execute [EMAIL PROTECTED] | at weblogic.ejb.container.internal.EJBRuntimeUtils.throwEJBException(EJBRuntimeUtils.java:147) | at weblogic.ejb.container.internal.BaseLocalObject.handleSystemException(BaseLocalObject.java:847) | at weblogic.ejb.container.internal.BaseLocalObject.handleSystemException(BaseLocalObject.java:788) | at weblogic.ejb.container.internal.BaseLocalObject.postInvoke1(BaseLocalObject.java:483) | at weblogic.ejb.container.internal.BaseLocalObject.postInvokeTxRetry(BaseLocalObject.java:421) | at org.jbpm.ejb.impl.CommandServiceBean_jdfmx8_ELOImpl.execute(CommandServiceBean_jdfmx8_ELOImpl.java:76) | at org.jbpm.scheduler.ejbtimer.TimerServiceBean.ejbTimeout(TimerServiceBean.java:95) | ... 5 more | ; nested exception is: org.jbpm.JbpmException: couldn't execute timer | at weblogic.ejb.container.internal.EJBRuntimeUtils.throwEJBException(EJBRuntimeUtils.java:147) | at weblogic.ejb.container.internal.BaseLocalObject.handleSystemException(BaseLocalObject.java:833) | at weblogic.ejb.container.internal.BaseLocalObject.handleSystemException(BaseLocalObject.java:788) | at weblogic.ejb.container.internal.BaseLocalObject.postInvoke1(BaseLocalObject.java:483) | at weblogic.ejb.container.internal.BaseLocalObject.postInvoke(BaseLocalObject.java:736) | Truncated. see log file for complete stacktrace View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111704#4111704 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111704 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: jboss AS, jboss Web and php
See the discussion at [url]http://www.jboss.com/index.html?module=bb&op=viewtopic&t=121051[/ur]. Though some are the specific issues discussed are Linux-related, the general 'how to get php running in jbossas' portion applies to XP as well. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111702#4111702 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111702 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: configuration question
I have added the following to bootstrap-beans.xml | org.postgresql.Driver | jdbc:postgresql://192.168.10.79:5432/payroll_levent | postgres | java:/payrollDatasource | 0 | 10 | 1000 | 5 | | | | | | | | | | I now get : [testng] FAILED CONFIGURATION: @BeforeClass init |[testng] org.jboss.deployers.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): |[testng] |[testng] *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State} |[testng] |[testng] payrollDSBootstrap |[testng] -> TransactionManager{Configured:** NOT FOUND **} |[testng] -> InitialContextProperties{Configured:** NOT FOUND **} |[testng] -> CachedConnectionManager{Configured:** NOT FOUND **} |[testng] |[testng] payrollDatasource |[testng] |[testng] |[testng] *** CONTEXTS IN ERROR: Name -> Error |[testng] |[testng] InitialContextProperties -> ** NOT FOUND ** |[testng] |[testng] TransactionManager -> ** NOT FOUND ** |[testng] |[testng] CachedConnectionManager -> ** NOT FOUND ** |[testng] |[testng] |[testng] at org.jboss.embedded.Bootstrap.checkIncomplete(Bootstrap.java:144) |[testng] at org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:169) |[testng] at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:201) |[testng] at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:214) |[testng] at org.jboss.seam.mock.EmbeddedBootstrap.startAndDeployResources(EmbeddedBootstrap.java:11) |[testng] at org.jboss.seam.mock.BaseSeamTest.startJbossEmbeddedIfNecessary(BaseSeamTest.java:1006) |[testng] at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:931) |[testng] at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42) |[testng] ... Removed 22 stack frames | This way it seems like transactionManager and other stuff does not get injected for some reason. I cannot tell why. Also in the documentation it says, seam-gen generates "jboss-beans.xml" file but I cannot seem to find it. It would be great if someone said I am barking at the correct tree. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111698#4111698 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111698 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: different connection node/pool
There is no way to have one datasource support two different connection pools. How would the datasource know which of the pools to use? And what would be the benefit of having two connection pools of 100 connections each, as opposed to having a single connection pool of 200 connections? However, you can create multiple datasources for the same database, and each would have its own connection pool. You can then have some applications request one of the datasource and other request the other datasource. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111695#4111695 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111695 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Undeploying multiple wars inside an ear causes NameAlrea
We use JBoss 4.2.1. The jboss-app.xml looks like this: | http://www.jboss.org/j2ee/dtd/jboss-app_3_2.dtd'> | | | jboss.loader:loader=de.bdal.pquant.server-pquantserver-1.0-SNAPSHOT | java2ParentDelegation=true | | | and the contents of the ear are: C:\Programme\Java\jboss-4.0.5.GA\server\bdal\deploy>jar -tf pquantserver-SNAPSHOT.ear META-INF/ META-INF/MANIFEST.MF acegi-security-1.0.5.jar antlr-2.7.6.jar aopalliance-1.0.jar asm-1.5.3.jar asm-attrs-1.5.3.jar axis-1.4.jar axis-jaxrpc-1.4.jar axis-saaj-1.4.jar backport-util-concurrent-3.0.jar cglib-2.1_3.jar commons-beanutils-1.7.0.jar commons-codec-1.3.jar commons-collections-3.2.jar commons-fileupload-1.2.jar commons-httpclient-3.0.1.jar commons-lang-2.3.jar dom4j-1.6.1.jar ehcache-1.3.0.jar hessian-3.0.20.jar hibernate-3.2.5.ga.jar jdom-1.0.jar jibx-extras-1.1.5.jar jibx-run-1.1.5.jar joda-time-1.4.jar jsr107cache-1.0.jar META-INF/application.xml META-INF/jboss-app.xml oro-2.0.8.jar Test1.jar Test2.jar quartz-1.5.2.jar spring-2.0.7.jar stax-api-1.0.1.jar wstx-asl-3.2.1.jar xpp3-1.1.3.4.O.jar META-INF/maven/ META-INF/maven/de.bdal.pquant.server/ META-INF/maven/de.bdal.pquant.server/pquantserver-app/ META-INF/maven/de.bdal.pquant.server/pquantserver-app/pom.xml META-INF/maven/de.bdal.pquant.server/pquantserver-app/pom.properties JSP1.war JSP2.war and here is the rest of the server log 2007-12-10 17:42:33,932 ERROR [org.jboss.deployment.MainDeployer] Could not start deployment: file:/C:/Programme/Java/jboss-4.0.5.GA/server/bdal/tmp/deploy/tmp4256pquantserver-app-1.0-SNAPSHOT.ear-contents/JSP2.war org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameAlreadyBoundException) at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:384) at org.jboss.web.WebModule.startModule(WebModule.java:83) at org.jboss.web.WebModule.startService(WebModule.java:61) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy38.start(Unknown Source) at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466) 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:597) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97) at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238) at org.jboss.ws.integration.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:93) at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.star
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Problem in creating multiple instance of Jboss running o
What operating system are you running on and which JDK are you using? Version numbers, please. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111690#4111690 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111690 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: removing the default portal
You should not remove the Home tab. Instead, modify the jboss-portal.sar/conf/data/default-object.xml file to remove the portlet objects from the 'default' portal page, and then in your *-object.xml file add you own poortlets to the default page. To get rid of the login link, modify the jboss-portal.sar/portal.core.war/WEB-INF/jsp/header/header.jsp file and remove the login link. Finally, you should really have started a new topic, not posted to an older one. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111688#4111688 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111688 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - New EJB causes JNDI failure on existing EJB?
Hi, We have an existing JEE application with components on 2 JBoss servers (machine 1 and machine 2). The application on machine 1 uses JNDI to access the application on machine 2. This has been working with no problems for about a year now. Recently we tried to add a second application to the same 2 JBoss servers. This time machine 2 uses JNDI to access machine 1. When we tried to deploy the second application, it worked fine, but it caused JNDI in the first application to stop working with javax.naming.NameNotFoundException (stack trace below). However the session bean in question was logged as bound on startup and appeared in the list in the JMX console. The names of the ears in the second application come before those in the first application alphabetically, so I guess the classes in the second application are loaded first and this might be confusing the first application somehow? We are using org.jboss.deployment.scanner.PrefixDeploymentSorter and have not yet attempted to isolate the ears from each other in any way. The problem went away when we removed the second application on machine 2. However I don't understand why there was a problem in the first place, because the 2 applications on machine 2 do not share any of the same classes. Application 2 on machine 2 does have a jndi.properties referencing machine 1. Is there any way that this could be interfering with the code that makes the first application available to JNDI? We are using jboss-4.0.4.GA on Red Hat. The code in application 1 on machine 1 to do the JNDI lookup is: Hashtable env=new Hashtable(); | env.put(InitialContext.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); | env.put(InitialContext.PROVIDER_URL,"jnp://machine2.mycompany.com:1099"); | env.put(InitialContext.URL_PKG_PREFIXES,"org.jboss.naming:org.jnp.interfaces"); | | InitialContext context = new InitialContext(env); | MyWorker myWorker = (MyWorker) context.lookup("MyWorkerBean/remote"); Stack trace is: javax.naming.NameNotFoundException: MyWorkerBean not bound | at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) | at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) | at org.jnp.server.NamingServer.getObject(NamingServer.java:543) | at org.jnp.server.NamingServer.lookup(NamingServer.java:267) | 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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294) | at sun.rmi.transport.Transport$1.run(Transport.java:153) | at java.security.AccessController.doPrivileged(Native Method) | at sun.rmi.transport.Transport.serviceCall(Transport.java:149) | at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460) | at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701) | at java.lang.Thread.run(Thread.java:595) | at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247) | at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223) | at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126) | at org.jnp.server.NamingServer_Stub.lookup(Unknown Source) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) | at javax.naming.InitialContext.lookup(InitialContext.java:351) | at com.mycompany.client.MyWorkerBeanDelegate.(MyWorkerBeanDelegate.java:43) | at com.mycompany.client.Controller.doMyWorkerAction(Controller.java:289) | at com.mycompany.client.Controller.doWorkPackage(Controller.java:167) | 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.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) | at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166) | at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOper
[jboss-user] [JBoss Seam] - Re: Seam Security - add a permission to Identity
It should be available in CVS sometime next month. The workaround is to extend Identity yourself with the functionality that you need, although I don't imagine that this is trivial. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111686#4111686 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111686 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: FileUploadException from SocketTimeoutException
This isn't a Seam issue, it's a Tomcat/environment issue. Googling on this particular exception with Tomcat returns a multitude of results, although nothing concrete that I can point you to, sorry. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111683#4111683 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111683 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Tomcat, Seam 2.0.0.GA with no embedded?
Hi, If you would like to work with Seam 2 + Tomcat without EJB3, then take a look at this step-by-step tutorial. Use JPA example as your template and replace src and web (view) files with your existing ones. http://techieexchange.wordpress.com/2007/11/11/rad-seam-development-with-eclipse-and-tomcat-step-by-step-tutorial-screencast/ Hope this helps. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111681#4111681 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111681 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - JDBCCacheLoader and MySQL problems
java.lang.IllegalStateException: Failed to load node for fqn | /viewCache/MostRecentRegularTopics/view: Unable to load to deserialize | result: java.io.OptionalDataException | at org.jboss.cache.loader.JDBCCacheLoader.loadNode(Unknown Source) | at org.jboss.cache.loader.JDBCCacheLoader.get(Unknown Source) | at org.jboss.cache.loader.AsyncCacheLoader.get(Unknown Source) | at | org.jboss.cache.interceptors.CacheLoaderInterceptor.loadData(Unknown Source) | at | org.jboss.cache.interceptors.CacheLoaderInterceptor.loadNode(Unknown Source) | at | org.jboss.cache.interceptors.CacheLoaderInterceptor.invoke(Unknown Source) | at org.jboss.cache.interceptors.Interceptor.invoke(Unknown Source) | at | org.jboss.cache.interceptors.CacheStoreInterceptor.invoke(Unknown Source) | at org.jboss.cache.interceptors.Interceptor.invoke(Unknown Source) | at | org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(Unknown Source) | at org.jboss.cache.interceptors.TxInterceptor.invoke(Unknown Source) | at org.jboss.cache.interceptors.Interceptor.invoke(Unknown Source) | at | org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(Unknown Source) | at org.jboss.cache.TreeCache.invokeMethod(Unknown Source) | at org.jboss.cache.TreeCache.get(Unknown Source) | at org.jboss.cache.TreeCache.get(Unknown Source) | at org.jboss.cache.TreeCache.get(Unknown Source) | at sun.reflect.GeneratedMethodAccessor344.invoke(Unknown Source) | at | sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at | org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at | org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at | org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at | org.jboss.system.server.jmx.LazyMBeanServer.invoke(LazyMBeanServer.java:291) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy363.get(Unknown Source) | at I have this exception when JBC is trying to fetch objects from database that are larger than 4kB. I have read the following: http://jira.jboss.com/jira/browse/JBCACHE-320 Hany Mesha writes that it is working for him for objects with large sizes with minor tweaking. I wonder what he mean by that :) Any sugestions are welcome. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111678#4111678 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111678 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - ConcurrentModificationException - On authenticate
Hi, im with ConcurrentModificationException while trying to authenticate at the same time with more than 1 machine, i dont know how to solve this problem, and its really serious, because my clients needs to authenticate at same time. Any help ? | SEVERE: Error Rendering View[/faces/home/home.xhtml] | | java.util.ConcurrentModificationException | | at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:449) | | at java.util.AbstractList$Itr.next(AbstractList.java:420) | | at org.jboss.seam.navigation.Pages.getStringValuesFromModel(Pages.java:679) | | at org.jboss.seam.ui.component.UISeamCommandBase.getUrl(UISeamCommandBase.java:51) | | at org.jboss.seam.ui.renderkit.LinkRendererBase.doEncodeBegin(LinkRendererBase.java:26) | | at org.jboss.seam.ui.util.cdk.RendererBase.encodeBegin(RendererBase.java:79) | | at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:788) | | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:884) | | at javax.faces.render.Renderer.encodeChildren(Renderer.java:137) | | at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:812) | | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886) | | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892) | | at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:577) | | at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108) | | at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:216) | | at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106) | | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251) | | at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144) | | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245) | | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) | | at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68) | | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | | at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85) | | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) | | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44) | | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | | at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141) | | at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281) | | at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60) | | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | | at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58) | | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | | at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:150) | | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) | | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) | | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179) | | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433) | | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) | | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) | | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) | | at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) | | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | | at org.apache.catalina.connector.CoyoteA
[jboss-user] [JCA/JBoss] - Configuring query time-out in Jboss 3.2.5
Hi, I'm looking for a way to configure the query time-out in Jboss 3.2.5 (not in code - i.e. Statement.setQueryTimeout() ) All I found so far was the way to do it in Jboss version 4.0.3 via the DataSource configuration parameter . Any suggestions? Thanks, Lior View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111675#4111675 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111675 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - HELP: SEAM + RICHFACES + PORTLETS
Hi everyone, I have doing a simple portlet with Seam + Richfaces, but I have some problems. I have a portlet with a search of data from a SQL Server database. I get data from this database, and show it in a rich:datatable, but when I want to see another page from the datatable, it doesn´t work. Anyone knows if Richfaces fixes with seam and portlets...or not? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111673#4111673 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111673 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Error when loading bean definitions
When I start the JBoss server from the eclipse IDE (3.3.1.1) I get the following error org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from ServletContext resource [/WEB-INF/applicationContext]; nested exception is java.net.ConnectException: Connection timed out: connect java.net.ConnectException: Connection timed out: connect The server starts fine when outside the firewall but never when inside. I've tried configuring the proxy settings inside eclipse (pref->general->network connections). Im not sure where the proxy configuration needs to be done. I've also tried to copy the spring schema - http://www.springframework.org/dtd/spring-beans-2.0.dtd to my local WEB-INF directory but this doesn't help. My applicationContext looks like this... http://www.springframework.org/dtd/spring-beans-2.0.dtd";> ... Ideas? Thanks Andy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111669#4111669 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111669 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Problem with Jboss/Tomcat when using Apache Loadbalancer
i have Jboss 4.0.5(Cluster) on Windows 2003. My loadbalancer are Apache/2.2.4 (Win32) mod_jk/1.2.23 with this configuration: workers.properties: Here only one Node configuration for example. # Define Node1 worker.node1.port=8009 worker.node1.host=127.0.0.1 worker.node1.type=ajp13 worker.node1.lbfactor=1 #worker.node1.local_worker=1 (1) #worker.node1.cachesize=10 #deprecated for Apache/2.2.4 (Win32) mod_jk/1.2.23 #worker.node1.socket_timeout=10 #worker.node1.socket_keepalive=1 #The next three properties allow mod_jk to efficiently determine if a connection is in error or not responding fast enough due to whatever reason. worker.node1.connect_timeout=1 worker.node1.prepost_timeout=1 #This value must equal server.xml's connectionTimeout of 10 minutes worker.node1.connection_pool_timeout=600 worker.node1.connection_pool_size=250 worker.node1.connection_pool_minsize=126 On the Tomcat side: server.xml My AJP 1.3 Connector on port 8009 Connector port="8009" address="127.0.0.1" emptySessionPath="true" enableLookups="false" redirectPort="8443" protocol="AJP/1.3" maxThreads="800" backlog="200" connectionTimeout="60" / i have often this errors on the Apache side and often my Jboss are not respond anymore.My Jboss are not down. --1-- [Mon Dec 10 13:32:54 2007][4916:6568] [error] jk_ajp_common.c (951): (node3) can't receive the response message from tomcat, network problems or tomcat (127.0.0.1:8109) is down (errno=60) [Mon Dec 10 13:32:54 2007][4916:6568] [error] jk_ajp_common.c (1618): (node3) Tomcat is down or network problems. Part of the response has already been sent to the client [Mon Dec 10 13:32:54 2007][4916:6568] [info] jk_ajp_common.c (1902): (node3) receiving from tomcat failed, recoverable operation attempt=0 [Mon Dec 10 13:32:54 2007][4916:6568] [info] jk_ajp_common.c (1941): (node3) sending request to tomcat failed, recoverable operation attempt=1 [Mon Dec 10 13:32:54 2007]loadbalancer 10.10.9.115 0.015625 --2-- [Mon Dec 10 13:25:25 2007][4916:2796] [error] jk_ajp_common.c (951): (node4) can't receive the response message from tomcat, network problems or tomcat (127.0.0.1:8209) is down (errno=60) [Mon Dec 10 13:25:25 2007][4916:2796] [error] jk_ajp_common.c (1618): (node4) Tomcat is down or network problems. Part of the response has already been sent to the client [Mon Dec 10 13:25:25 2007][4916:2796] [info] jk_ajp_common.c (1902): (node4) receiving from tomcat failed, recoverable operation attempt=1 [Mon Dec 10 13:25:25 2007][4916:2796] [info] jk_ajp_common.c (1941): (node4) sending request to tomcat failed, recoverable operation attempt=2 [Mon Dec 10 13:25:25 2007][4916:2796] [error] jk_ajp_common.c (1953): (node4) Connecting to tomcat failed. Tomcat is probably not started or is listening on the wrong port [Mon Dec 10 13:25:26 2007]loadbalancer 10.10.9.115 0.00 [Mon Dec 10 13:25:27 2007][4916:2796] [info] jk_lb_worker.c (1098): service failed, worker node4 is in error state [Mon Dec 10 13:25:27 2007][4916:2796] [info] jk_lb_worker.c (1160): All tomcat instances are busy or in error state --3-- [Mon Dec 10 12:46:41 2007][5468:3588] [info] jk_ajp_common.c (1215): (node3) error sending request. Will try another pooled connection [Mon Dec 10 12:46:41 2007][5468:3588] [info] jk_ajp_common.c (1215): (node3) error sending request. Will try another pooled connection [Mon Dec 10 12:46:41 2007][5468:3588] [info] jk_ajp_common.c (1215): (node3) error sending request. Will try another pooled connection [Mon Dec 10 12:46:41 2007][5468:3588] [info] jk_ajp_common.c (1215): (node3) error sending request. Will try another pooled connection [Mon Dec 10 12:46:41 2007][5468:3588] [info] jk_ajp_common.c (1215): (node3) error sending request. Will try another pooled connection [Mon Dec 10 12:46:41 2007][5468:3588] [info] jk_ajp_common.c (1241): (node3) all endpoints are disconnected [Mon Dec 10 12:46:41 2007][5468:3588] [info] jk_ajp_common.c (1244): (node3) increase the backend idle connection timeout or the connection_pool_minsize [Mon Dec 10 12:46:41 2007][5468:3588] [info] jk_ajp_common.c (1941): (node3) sending request to tomcat failed, recoverable operation attempt=1 [Mon Dec 10 12:46:42 2007]loadbalancer 10.10.9.115 0.00 What is going on on Tomcat side ? Really out of ideas, any suggestions? Tufan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111667#4111667 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111667 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Undeploying multiple wars inside an ear causes NameAlrea
Yes, that's true. Sorry, I will post the logs and the jboss-app.xml soon. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111665#4111665 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111665 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Resource not found exceptions with seam using mod_jk
I am running an application built on Seam using standard Richfaces/Facelets components. Everything works fine when you talk to JBoss directly, however as soon as we hooked up Apache using mod_jk and try to forward to a single JBoss node (not clustered yet or loadbalanced) we get errors on the home page that some of the resources cannot be found: 17:17:32,953 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception org.ajax4jsf.resource.ResourceNotFoundException: Resource not registered : org.ajax4jsf.javascript.AjaxScript.seam ... It appears that ".seam" is being appended to the javascript resource requests (not just the ajax ones) and some of the image requests (i.e. the page source shows the images for the tabs as images/theImage.gif.seam ) . I don't have access to the server right now to give you the full error message, but it is similar to the one above. Is there a setup issue I missed in the mod_jk setup or am I missing a context setting on the JBoss server? Thanks for any help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111664#4111664 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111664 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Problem with mod_jk and RichFaces/Seam js not finding js and
Not sure if this is the best place to post this, but I only have this issue when I am trying to run clustered with an Apache front end to JBoss. I am running an application built on Seam using standard Richfaces/Facelets components. Everything works fine when you talk to JBoss directly, however as soon as we hooked up Apache using mod_jk and try to forward to a single JBoss node (not clustered yet or loadbalanced) we get errors on the home page that some of the resources cannot be found: 17:17:32,953 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception org.ajax4jsf.resource.ResourceNotFoundException: Resource not registered : org.ajax4jsf.javascript.AjaxScript.seam ... It appears that ".seam" is being appended to the javascript resource requests (not just the ajax ones) and some of the image requests (i.e. the page source shows the images for the tabs as images/theImage.gif.seam) . I don't have access to the server right now to give you the full error message, but it is similar to the one above. Is there a setup issue I missed in the mod_jk setup or am I missing a context setting on the JBoss server? Thanks for any help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111661#4111661 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111661 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Undeploying multiple wars inside an ear causes NameAlrea
By the way, i guess you have a typo in the subject line of your post. You mean "Deploying multiple wars inside an ear causes NameAlreadyBo", dont you? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111662#4111662 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111662 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Question about SEAM booking example
Take a look at the JPA example - that runs completely outside of a J2ee env and is a version of the booking example. There are also examples there for several different application containers. As for how to get Mysql data source setup the easiest way might be to run seam gen and tell it that you are using mysql. Set what ever values you want for the other questions but answer the ones below. Check the seam-gen instructions for more information if needed. | . |[input] What kind of database are you using? [mysql] (hsql, [mysql], oracle, postgres, mssql, db2, sybase, enterprisedb, ) | | [input] Enter the Hibernate dialect for your database [org.hibernate.dialect.MySQLDialect] [org.hibernate.dialect.MySQLDialect] | | [input] Enter the filesystem path to the JDBC driver jar [lib/mysql.jar] [lib/mysql.jar] | | [input] Enter JDBC driver class for your database [com.mysql.jdbc.Driver] [com.mysql.jdbc.Driver] | | [input] Enter the JDBC URL for your database [jdbc:mysql:///youdbname] [jdbc:mysql:///yourdbname] | | [input] Enter database username [user] [user] | | [input] Enter database password [password] [password] | ... | Then have seam-gen create a new project. ./seam new-project Your options are then to use that generated project as a starting point, or extract from it the important bits for the mysql config (elements of persistence.xml and components.xml). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111659#4111659 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111659 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: FileUploadException from SocketTimeoutException
Sorry to bump but this is really important. Someone of the Seam team ? I am using Seam 2.0 and JBoss 4.2.2 Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111657#4111657 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111657 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Document Literal style
Hi, "zeeshan.javeed" wrote : | Where we can write the code for the location of wsdl file and how to specify the port ? | import javax.jws.*; | import javax.jws.soap.*; | | @SOAPBinding( | style=SOAPBinding.Style.DOCUMENT, | use=SOAPBinding.Use.LITERAL | ) | @WebService(wsdlLocation="YOUR_WSDL_LOCATION_URL") | public interface ServiceIface | { | ... | } Richard View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111658#4111658 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111658 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: [i]Introduction[/i] not working in my project but workin
Hi, thank's for responding to my message "[EMAIL PROTECTED]" wrote : hi, from what i can see in the errorlog it can find the class org.andromda.samples.aop.sades.domain.SolicitudProfesorGrupoDaoImpl. | can you think of any reason why it says that it doesnt find the class? It's strange. I can't figure out why it can't be found. If I comment the jboss-aop.xml contents, without changing any thing else, the error disappears. I taught maybe is a classpath thing, so I changed the manifest.mf file inside the aop file to include the SolicitudProfesorGrupoDaoImpl containing jar, but nothing changed. (Is that the Class-Path manifest information for?). What I added to my aop module pom.xml file is: | org.apache.maven.plugins | maven-jar-plugin | | | true | | true | | | | | Without any luck. If I understand it correctly, my introduction, should only add some messages in the create. So, I think it shouldn't work also without the introduction, but it does work without it. "[EMAIL PROTECTED]" wrote : i cant see any jboss aop related messages in your log; do you precompile the introduction, or is it done at loadtime? I first tried to do it pre-compiling, but it didn't work either. (Or maybe I was doing some thing wrong). Now I'm trying to do it at loadtime. That way, I think, I reduce some of the risk of configuration errors (I'm very, very, new to maven2), and I have the injboss example to base on. "[EMAIL PROTECTED]" wrote : hm, if you deployed the injboss example in the same appserver and it worked its possibly only a packaging issue thats causing it, but im not sure. - im rambling a bit here, but if youre still stuck try to provide some more info and ill look into it. Well yes, I am deploying both projects to the same appserver, and I'm also still stuck with it. Some thing is getting broken with the introduction. I can't find why/what I really appreciate your help. I'm not sure what else to say/post. I could send the source code (about 3M), or the ear file (about 10M)... what ever you ask me to. That way you could comment and uncomment the jboss-aop.xml contents (sades-1.0-SNAPSHOT.ear\sades-aop-1.0-SNAPSHOT.aop\META-INF\jboss-aop.xml) and see with your own eyes the error messages. (I'm using JBoss 4.2.1GA, JBoss-AOP 1.5.6, Maven-2.0.5, Windows XP Pro. I have installed jdk1.5.0_13 and jdk1.6.0_03, I'm pretty sure the 1.6 jdk is the active one). I don't know if it helps, but here I put the beginning of the related source files. These files work perfectly with the jboss-aop.xml commented contents. The last one is the one that doesn't get found with jboss-aop.xml uncommented contents. // license-header java merge-point | // | // Attention: Generated code! Do not modify by hand! | // Generated by: SpringDao.vsl in andromda-spring-cartridge. | // | package org.andromda.samples.aop.sades.domain; | | /** | * @see org.andromda.samples.aop.sades.domain.SolicitudProfesorGrupo | */ | public interface SolicitudProfesorGrupoDao | { | ... // license-header java merge-point | // | // Attention: Generated code! Do not modify by hand! | // Generated by: SpringHibernateDaoBase.vsl in andromda-spring-cartridge. | // | package org.andromda.samples.aop.sades.domain; | | /** | * | * Base Spring DAO Class: is able to create, update, remove, load, and find | * objects of type org.andromda.samples.aop.sades.domain.SolicitudProfesorGrupo. | * | * | * @see org.andromda.samples.aop.sades.domain.SolicitudProfesorGrupo | */ | public abstract class SolicitudProfesorGrupoDaoBase | extends org.springframework.orm.hibernate3.support.HibernateDaoSupport | implements org.andromda.samples.aop.sades.domain.SolicitudProfesorGrupoDao | { | ... // license-header java merge-point | /** | * This is only generated once! It will never be overwritten. | * You can (and have to!) safely modify it by hand. | */ | package org.andromda.samples.aop.sades.domain; | | import org.hibernate.Criteria; | import org.hibernate.FetchMode; | import org.hibernate.criterion.Restrictions; | | /** | * @see org.andromda.samples.aop.sades.domain.SolicitudProfesorGrupo | */ | public class SolicitudProfesorGrupoDaoImpl | extends org.andromda.samples.aop.sades.domain.SolicitudProfesorGrupoDaoBase | { | |public String stuff; // agregado para probar AOP | | public SolicitudProfesorGrupoDaoImpl() | { | super(); | System.out.println("--ADENTRO- CREATE ORIGINAL"); | System.out.println("--ADENTRO- CREATE ORIGINAL"); | } | ... (Note that the "--ADENTRO- CREATE ORIGINAL" messages always appear in the JBoss console) Thank you very much in advance. (By the way, Before I decided to go to
[jboss-user] [JBossWS] - Re: Document Literal style
Hi, "zeeshan.javeed" wrote : How we can forec the wsdl fiel to be generated using Doc /Lit ? | | import javax.jws.soap.*; | | @SOAPBinding( | style=SOAPBinding.Style.DOCUMENT, | use=SOAPBinding.Use.LITERAL | ) | public interface ServiceIface | { | ... | } | Richard View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111656#4111656 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111656 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Asynchronous method triggered multiple times.
I know that EJB3 Timer is persistent but is-it normal that JBoss add new timeout in its database each times the application is deployed? I haven't the problem with Glassfish. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111652#4111652 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111652 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Injection doesnt work
The value would be an input to the text field by the userthat value should be available for the SessionBean "[EMAIL PROTECTED]" wrote : Where are you expecting the value to come from? What creates it? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111651#4111651 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111651 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Problem with deploy web application with JSF 1.2 to JBoss 4.
Hi all, I'm trying to deploy simple web app with Sun JSF 1.2_04-b16-p02 and I've got the following exception (if I deploy to Tomcat or if I create web application in IntelliJIdea with no JSF support attached, everything works fine). Any idea to solve this ? Many thanks in advance. David Exception got: 2007-12-10 15:28:47,421 FATAL [javax.enterprise.resource.webcontainer.jsf.application] JSF1029: The specified InjectionProvider implementation 'org.jboss.web.jsf.integration.injection.JBossInjectionProvider' does not implement the InjectionProvider interface. 2007-12-10 15:28:47,421 INFO [javax.enterprise.resource.webcontainer.jsf.application] JSF1048: PostConstruct/PreDestroy annotations present. ManagedBeans methods marked with these annotations will have said annotations processed. 2007-12-10 15:28:47,515 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/Web]] Exception sending context initialized event to listener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfigureListener java.lang.ClassCastException: com.sun.faces.config.WebConfiguration cannot be cast to com.sun.faces.config.WebConfiguration at com.sun.faces.config.WebConfiguration.getInstance(WebConfiguration.java:135) at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:228) at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:69) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3856) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4361) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553) 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:597) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111650#4111650 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111650 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam dvd store example
What does netbeans do with the EAR/WAR? Where does it put it? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111649#4111649 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111649 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Undeploying multiple wars inside an ear causes NameAlrea
The application.xml looks fine to me. Which version of JBoss are you using? Also, the server.log file contains more verbose logs and those logs might explain what's going wrong. Do you have any other configuration files (like jboss-app.xml or jboss-web.xml in your application)? Can you post the contents of the following (from the command prompt): jar -tf myapp.ear where myapp.ear is the name of your application. That will print out the exact contents of your package. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111648#4111648 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111648 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user