[jboss-user] [JBossWS] - Re: SOAP request missing namespace
no one have even a start of an answer ? no one have already experienced this problem ? somone of jboss ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009243#4009243 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009243 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: Deploying without packaging
It would be nice if we could : - deploy a file individually (contextual menu entry on the file in the package view for example) | - have a view showing the modified files where you select the ones to deploy. Something like the view in which you see which files need to be cheked in CVS. | | | This would enable very quick validation of a change. | | I hope we won't have to wait a long time before beta3. | Thanks for the good work ! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009236#4009236 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009236 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - How to repeat node execution N times after fail?
Hi, Suppose, I have this node: | | | | | What is the right way to repeat org.jbpm.tutorial.mytest.CreateContract execution N times after fail? I see only this way: implementing descision node after node described above and select transition by reading context variable written by described node. But this way is ugly, because every node in my workflow must be repeated on fail. Is there another way? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009237#4009237 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009237 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - how do i duplicate process definition through definition id?
i can find method to drectly do that. thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009235#4009235 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009235 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Calling createTimer from SLSB causing loca tx warning
I have some SLSB that uses container managed default transaction settings. I also configured the JBoss DefaultDS to a separated production database. What happens is when I invoke SessionContext.getTimerService().createTimer() | I will get the following Warning message: 01:20:46,065 WARN [TxConnectionManager] Prepare called on a local tx. Use of local transactions on a jta transaction with more than one branch may result in inconsistent data in some cases of failure. I think it is because that the timer is created with the DefaultDS, and my SLSB is using its own DataSource. Therefore, JBoss issues the warning as two different datasources are used in same transaction boundary. I wonder what I need to do to get rid of this warning, as I don't care about keeping a single transaction for both datasources. The createTimer() call can actually be treated as a separate transaction that has nothing to do with my main SLSB transaction. Maybe there is some EJB transaction settings I can set? Thank you, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009233#4009233 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009233 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Simple workflow for newbie
After reading manual I write this jPDL code: | | | | | | | | | | | | | | | | | | | | | | | | | FindContract, IsContractExists, CreateContract and CreateAccount are my own classes. FindContract class wites search result to context variable, IsContractExists reads this variable to decide which transition will be selected Is this approach optimal or can be refactored? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009230#4009230 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009230 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: HAJNDI over HTTP
Of course, I can use loadbalancer (Apache HTTP Server). But I want to use HAJNDI based on client-side interceptor, without loadbalancer. It is possible? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009228#4009228 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009228 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - can JBoss Seam application be deploy on oc4j
Thanks gavin for your response, but please tell me if I like to deploy simple helloworld application on oc4j, is there any specific requirement to deploy application based on jboss seam,can JBoss Seam application be deployed on oc4j? Thanks Meraj View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009227#4009227 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009227 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: OptimisticLockException
In cases like this where an OptimisticLockException occurs, does Seam have no way of using exceptions.xml to handle this fact and display a nice error message? I've exhausted all my resources and don't know where else to turn apart from this board...please, if somebody knows how to use exceptions.xml to catch it, let me know... If you need any more info on the issue, I can provide it... Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009225#4009225 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009225 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: dataTable in two windows
How do I get each row's ID to appear in it's text within the link? Right now when I put the following in pages.xml every commandLink shows up (when I put my cursor over it) with an ID URL parameter of the value that was previously selected, as opposed to the value that corresponds to the ID of what entity that row represents... Every single commandLink on the page has the exact same entityID in its URL string! Why? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009224#4009224 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009224 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Task management in seperate application
Hi, we want to separate the business process management application with jbpm from the task management application, due to security requirements, running in 2 different application servers instances. When a task was ended by calling the jbpm TaskInstance.end() method from the task management application, the process instance will be continuned within the thread calling that TaskInstance.end() method. But we want the process to be continued in the business process application. How can that be archived? BTW: We are using jms for asynchronous communication of jbpm. Thanks in advance Heiko View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009245#4009245 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009245 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: ServiceLocator pattern - delegates in the context of EJB
Another thread about service locator: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=97959 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009246#4009246 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009246 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - TreeCache is missing in JBossCache-all-2.0.0.ALPHA2
i downloaded JBossCache-all-2.0.0.ALPHA2 and there is no class TreeCache in there. Why? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009247#4009247 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009247 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: standalone client with jaas/jboss
Thanks for your reply! Actually I've followed your example, without any luck. If possible, could you send me your source code? Or explain how your EJB bean looks like, how InitialContext is configured. I'm suspecting that my InitialContext is set wrong. Alex View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009248#4009248 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009248 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - seam-gen enhancement
Would it be great that seam-gen will generate crud pages and classes for an existing Entity class,just like seam-gen generate the crud pages,classes and entity classes from database. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009250#4009250 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009250 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: OptimisticLockException
Nope, Seam cant do much about exceptions which occur at this point. As I've said here many times, JSF exception handling sucks ass, your only option is to beg for proprietary features from the JSF implementations. If you read the JSF spec, it actually says explicitly that JSF implementations should swallow and ignore exceptions that occur in phase listeners. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009256#4009256 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009256 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: persistance.units NOTYETINSTALLED
Arg ! :-( I should rename the file META-INF/persistence.xml ! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009261#4009261 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009261 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: OptimisticLockException
Actually, that's not quite right. There probably is something we can do to allow these exceptions to be handled in exceptions.xml. Will be messy, but possible. http://jira.jboss.org/jira/browse/JBSEAM-748 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009262#4009262 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009262 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How to repeat node execution N times after fail?
does createcontract know itself failed or not?if it does,add a transition to createcontract and pick that transition when it failed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009266#4009266 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009266 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen enhancement
sure, and it is all possible just not enabled in seamgen yet. you can do it by have it use a instead of care to submit a patch ? :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009267#4009267 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009267 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam 1.1.5.GA released
Seam 1.1.5, despite the strange version number, includes exciting new functionality including: * Seam/Security - integrated JAAS-based authentication and unique EL and Drools-based authorization engine * Facelets-based email templating - define emails using JSF tags in a Facelets template * Facelets-based PDF templating - create iText PDF pages using JSF tags and Facelets * WebSphere support - examples now tested and deployable on WebSphere 6.1 (along with JBoss, WebLogic and GlassFish) * J2EE support for seam-gen - quickly generate a Seam application that deploys to a WAR on any J2EE 1.4 application server * New JSF controls including a file upload component * New examples and documentation enhancements Seam 1.1.5 takes JSF where it has never been before: you can use Facelets with Seam's new JSF tag libraries to define PDF documents, and even email templates! It's now super-easy to generate reports and send emails from a Seam application. A future version of Seam will even include JSF tags for generating charts in the PDF document - soon you'll be able to use Seam for problems which you previously would have needed a specialized reporting engine for. Until today, Security was the most requested feature in the Seam forums. Seam/Security offers an innovative authorization model based around Unified EL and JBoss Rules. The model was designed to allow elegant solution of complex cases such as row-level security and ACL-based permissioning. Right now, Seam/Security lacks some bells and whistles, but the hard work is done and we can now concentrate on executing our aggressive roadmap of new features. Seam has now been tested on all the mainstream Java EE application servers, and JBoss is now preparing to offer Seam support on platforms other than JBoss AS (at first, the list of supported platforms will include WebLogic, WebSphere, GlassFish and possibly Tomcat). This release was a team effort by Shane Bryzak (Seam/Security, file uploads), Norman Richards (PDF controls), Pete Muir (Email, select list control), Michael Yuan (WebSphere support) and definitely not by Gavin King (vacation, influenza, girlfriend birthday). Full changelog: [url]http://jira.jboss.org/jira/secure/ReleaseNote.jspa?projectId=10071&styleName=Html&version=12311059 Download page: http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=163777&release_id=482792 Seam/Security documentation: http://docs.jboss.com/seam/1.1.5.GA/reference/en/html/security.html Seam PDF documentation: http://docs.jboss.com/seam/1.1.5.GA/reference/en/html/itext.html Seam email documentation: http://docs.jboss.com/seam/1.1.5.GA/reference/en/html/mail.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009268#4009268 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009268 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EJB3 RC10
any news about EJB3 RC10 ? RC9 still runs out of memory (permgen) when lazy loading relations are used. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009269#4009269 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009269 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: trouble using password verify as in booking example
I am still having trouble. Have tried several things... Maybe a constructor that set m_verify to an empty string would help? Tried it - no change. Maybe I need a @Create method. Tried it, no difference. Removed the EVENT scope for the RegisterAction. Same problem. Also noticed that it does not matter what I type. When validating the form I always get the same error. Hints anyone? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009272#4009272 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009272 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: trouble using password verify as in booking example
That message is coming from JSF. I'm not sure the exact cause. What does your local interface look like? Does it have the get/set methods declared? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009276#4009276 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009276 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: trouble using password verify as in booking example
Changed the secret output to a normal field, and set some text in m_verify in the constructor. And now I got something different - an exception that tells me that it can not find the property... javax.faces.el.PropertyNotFoundException: /register.xhtml @34,88 value="#{register.verify}": Bean: org.jboss.seam.intercept.Proxy$$EnhancerByCGLIB$$771e27f9, property: verify at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:58) at javax.faces.component.UIOutput.getValue(UIOutput.java:77) at org.apache.myfaces.shared_impl.renderkit.RendererUtils.getStringValue(RendererUtils.java:217) at org.apache.myfaces.shared_impl.renderkit.html.HtmlTextRendererBase.renderInput(HtmlTextRendererBase.java:135) at org.apache.myfaces.shared_impl.renderkit.html.HtmlTextRendererBase.encodeEnd(HtmlTextRendererBase.java:53) at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:536) at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:242) at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239) at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239) at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239) at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:580) at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:32) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:619) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009281#4009281 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009281 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: trouble using password verify as in booking example
Is getVerify()/setVerify() on the local interface? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009282#4009282 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009282 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How to repeat node execution N times after fail?
How need I change jPDL code? Is this right: | | | | | | Suppose, CreateContract handler can setup context variable to distinct success or fail. How can I pick it up and select transition from jPDL code? Is it possible to avoid doing this in every node by hand and setup this behaviour for every node in more general way? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009287#4009287 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009287 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Trinidad PPR/Ajax and Seam
AFAIK there has been no work on the Seam codebase to improve trinidad integration (waiting on a release from Trinidad) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009289#4009289 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009289 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1.5.GA released//file upload
Hi gavin, i have just tested this latest release of seam, seam space for the file upload, it seems to be bit of buggy for me, for instance. i tried to upload pictures, and the pictures can not be displayed on the space. after few times tring, when upload the same pictures again, i got exception report from the server log... in our application we need file upload component, and have been waiting for this for a while, but it seems not working so well we have tried with tomahwak component... could you please explain bit on this part? many thanks , Joan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009300#4009300 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009300 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss and NetBeans] - Re: JBoss 4.0.4 only recognized as J2EE 1.4 for web projects
Changes regarding JBoss 5 including creation of web modules compliant with Java EE 5 spec will be integrated into NetBeans 5.5.1 branch within two weeks. It will be integrated into NetBeans trunk (6.0) afterwards. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009303#4009303 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009303 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: trouble using password verify as in booking example
Local interface did not have getVerify() nor setVerify() declared - and... the example Local interface has these. My mistake. Thanks Gavin !!! Getting a better error message would have helped a newbie a lot - the initial "can not convert..." that I got was quite confusing. But hey! problem solved. Thanks again. Cheers - henrik View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009302#4009302 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009302 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: trouble using password verify as in booking example
Its not my message, its from JSF. I don't actually approve of how JSF handles these cases. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009304#4009304 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009304 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How to repeat node execution N times after fail?
createaccount handler pick transition up directly like below Token token = executionContext.getToken(); token.signal("transition name"); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009306#4009306 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009306 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Advice on Security System
Guys, with Feb 1 CVS code, the problems above have gone away and in fact, all is working well. However, I am getting the following exception trace in the log:2007-02-01 10:30:59,450 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/helloworld]] Session attribute event | listener threw exception | java.lang.IllegalStateException: No application context active |at org.jboss.seam.Component.forName(Component.java:1586) |at org.jboss.seam.Component.getInstance(Component.java:1636) |at org.jboss.seam.Component.getInstance(Component.java:1631) |at org.jboss.seam.Component.getInstance(Component.java:1608) |at org.jboss.seam.Component.getInstance(Component.java:1603) |at org.jboss.seam.persistence.PersistenceProvider.instance(PersistenceProvider.java:45) |at org.jboss.seam.core.ManagedPersistenceContext.sessionWillPassivate(ManagedPersistenceContext.java:104) |at org.jboss.web.tomcat.tc5.session.ClusteredSession.passivate(ClusteredSession.java:896) |at org.jboss.web.tomcat.tc5.session.JBossCacheManager.storeSession(JBossCacheManager.java:642) |at org.jboss.web.tomcat.tc5.session.InstantSnapshotManager.snapshot(InstantSnapshotManager.java:49) |at org.jboss.web.tomcat.tc5.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:98) |at org.jboss.web.tomcat.tc5.session.JvmRouteValve.invoke(JvmRouteValve.java:84) |at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) |at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) |at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) |at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) |at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) |at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)I am following all the latest security patterns in the CVS. I would really appreiciate your help on this. This is the only show stopper for me now. Thanks--Alex View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009314#4009314 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009314 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Advice on Security System
Looks like a bug. Please report this one in JIRA, thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009316#4009316 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009316 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - TreeCache with INVALIDATION_SYNC mode and DB sync issue.
Hi I am using TreeCach with INVALIDATION_SYNC mode. I cache large object graphs so I just want just to notify all cluster nodes when an entry is modified and make rest of the nodes fetch a fresh copy from DB. Lets say I have 2 nodes cluster with node#1 and node#2. A cached object is modified on node#1, it sends notification to the other node and update the records on DB.Now the load balancer ask node#2 to do something with this object, so it tries to fetch from cache, see its not there and goes to DB to get a fresh copy. My concern is: What if node#1 did not commit the update yet? node#2 will get an old copy... How can I make sure that I will fetch a "fresh" copy from DB? Using the pojo cache will bypass this problem but I am limited with memory so I am afraid I cant use it. Thanks Avishay View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009318#4009318 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009318 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Task management in seperate application
then build your own taskmanagement application and signal (via jms/ejb) the engine on the other system View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009321#4009321 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009321 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: AJAX4JSF in Portal
hi Julien, I remove the FaceletPortletViewHandler entry from faces-config.xml and didn't encountered the issue. I also added the view handler in web.xml: org.ajax4jsf.VIEW_HANDLERS com.sun.facelets.FaceletPortletViewHandler Then, i added a simple ajax tag as follows: But it gave me a A4J is undefined error. I try to trace the source code and found that it could be caused by AjaxContext:processHeadResources failing in the 2 "if" statements because i didn't see the debug log printout. public void processHeadResources(FacesContext context) throws FacesException { ExternalContext externalContext = context.getExternalContext(); Map requestMap = externalContext.getRequestMap(); if (!Boolean.TRUE.equals(requestMap.get(RESOURCES_PROCESSED))) { if (null != requestMap.get(BaseFilter.RESPONSE_WRAPPER_ATTRIBUTE)) { if (log.isDebugEnabled()) { log .debug("Process component tree for collect used scripts and styles"); } UIViewRoot root = context.getViewRoot(); Sorry, i'm not sure how to proceed on this. Is there a sample that i could download that illustrate the setup for: AS 4.0.5, Portal 2.4.1, Seam 1.1.1, Facelets. Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009322#4009322 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009322 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Deploying in 4.0.3SP1 AS results in empty tables, how to
User got the permissions, must be some other thing. Solved the issue now. Anyways there is also another setting which can be useful if your database tables already exist and you dont want to clear your tables everytime the application is redeployed. Here it is: View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009323#4009323 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009323 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Deploying in 4.0.3SP1 AS results in empty tables, how to
property name="hibernate.hbm2ddl.auto" value="validate" View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009325#4009325 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009325 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Deploying in 4.0.3SP1 AS results in empty tables, how to
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009324#4009324 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009324 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: how do i duplicate process definition through definition
? Me need more info. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009326#4009326 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009326 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: ClassLoader not available in meta data
What is the jbossws version? If this is still a problem for you pls create a jira issue and attach a sample deployment View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009354#4009354 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009354 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WSDL-JAVA - How do you generate both server and client a
http://labs.jboss.com/portal/jbossws/user-guide/en/html/clients.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009352#4009352 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009352 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: JBossWS tutorial
The status of the JAXWS userguide is reflected here http://jira.jboss.org/jira/browse/JBWS-1307 The URL above it the JAXRPC user guide. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009353#4009353 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009353 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to use si:selectItems with an object that has a Stri
Thanks for chasing down the problem here. I need to work on the EntityConverter to fix this. I'll do that later today. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009351#4009351 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009351 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1.5.GA released
How big were the images and what format were they in? (seamspace only supports jpeg and png). And which exception was thrown? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009346#4009346 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009346 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: how do i duplicate process definition through definition
sorry,i missed a word "not" , i can not i want copy a definition which exists in database,and use new definition to create process isntance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009347#4009347 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009347 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Enforcing a WSDL without doing WSDL first development (t
The wsdl you declare in wsdlLocation is simply published by the endpoint. Import URLs and endpoint address are rewritten otherwise there is little no none validation against the annotations that the endpoint uses. The internal meta data model is always build from the annotations. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009345#4009345 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009345 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: SchemaTypeCreator.introspectJavaProperties Exception w/
Could you please verify whether this still occurs in 1.2.0 How can I build and install the latest? http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWSFAQBuildAndInstall Where is the JBossWS source repository? http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWSFAQSourceRepository svn co https://svn.jboss.org/repos/jbossws/branches/jbossws-1.2.0 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009348#4009348 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009348 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to use si:selectItems with an object that has a Stri
I've done some more investigating and the problem is that the value property (which is #{customerHome.instance.customerType}) is passed to the BasicEntityConverter, and that customerHome.instance.customerType holds a new instance of CustomerType which doesn't have any fields set. The issue seems to stem from the seam-gen generated entity home code: @Name("customerHome") | public class CustomerHome extends EntityHome { | | @In(value = "#{customerTypeHome.instance}", required = false) | CustomerType customerType; | @In(value = "#{refCustomerStatusHome.instance}", required = false) | RefCustomerStatus refCustomerStatus; | | public void setCustomerId(Integer id) { | setId(id); | } | | public Integer getCustomerId() { | return (Integer) getId(); | } | | @Override | protected Customer createInstance() { | Customer result = new Customer(); | result.setCustomerType(customerType); | result.setRefCustomerStatus(refCustomerStatus); | return result; | } | | public List getActivities() { | return getInstance() == null ? null : new ArrayList( | getInstance().getActivities()); | } | | } | Do I need to change the seam-gen generated code (i.e. is it incorrect)? (I presume I do if the BasicEntityConverter doesn't convert a null id to whatever is required for the "no item selected" item in the drop down list to be selected. What value for #{customerHome.instance.customerType} in ( value property) would cause my drop down to correctly have the "Please Select..." (no item selected) item selected when the page is displayed? Should my CustomerHome createInstance() method instead be setting the customerType to null rather than #{customerTypeHome.instance}??? Any help would be really appreciated as I'm struggling to get my code working with & and none of the examples are really helping to clarify things... Thanks in advance, Lawrie. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009344#4009344 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009344 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: in required but not legal?
JAXWS is available in 1.2.0 Have a look at the road map in jira View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009341#4009341 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009341 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: JBossWS 1.2.0CR2 with JEMS 1.2 (and JBoss 4.0.5) fails
This is a classpath issue. Make sure jboss-jaxrpc.jar is seen first. In 4.0.5 the legacy JAXRPC API is also in jbossall-client.jar. This will cahnge in jboss-4.2.0 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009342#4009342 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009342 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Help: how to consume webservice in ejb3 ?
@WebServiceRef is supported in jbossws-1.2.0 With JAXRPC you can always use service = ServiceFactory.create(wsdl, serviceName) port = service.getPort(MySEI.class); port.doStuff() Note, if you have custom types you need to pass in jaxrpc-mapping.xml View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009340#4009340 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009340 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - JBoss 4.05 GA Stateless Session Bean JNDI lookup ClassCastEx
Hi, I'm getting a strange ClassCastException when trying to lookup a Stateless Session Bean from within my myfaces managed bean. What I'm doing is simply call | SicherheitsDatenBean sdb = (SicherheitsDatenBean) CTX.lookup("JSF-REACH/SicherheitsDatenBean/local"); | to obtain a bean instance from FacesContext CTX. The bean is registered in JNDI under that name, I can see it in my JBoss' jmx console (JBoss version 4.05 GA): | +- JSF-REACH (class: org.jnp.interfaces.NamingContext) | | +- SicherheitsDatenBean (class: org.jnp.interfaces.NamingContext) | | | +- local (proxy: $Proxy104 implements interface business.SicherheitsDaten,interface org.jboss.ejb3.JBossProxy,interface javax.ejb.EJBLocalObject) | This is the exception: | 12:15:05,671 ERROR [STDERR] java.lang.ClassCastException: $Proxy104 | 12:15:05,671 ERROR [STDERR] at facesBeans.Questionnaire.(Questionnaire.java:43) | 12:15:05,671 ERROR [STDERR] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | 12:15:05,671 ERROR [STDERR] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) | 12:15:05,671 ERROR [STDERR] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) | 12:15:05,671 ERROR [STDERR] at java.lang.reflect.Constructor.newInstance(Unknown Source) | 12:15:05,671 ERROR [STDERR] at java.lang.Class.newInstance0(Unknown Source) | 12:15:05,671 ERROR [STDERR] at java.lang.Class.newInstance(Unknown Source) | 12:15:05,671 ERROR [STDERR] at org.apache.myfaces.shared_impl.util.ClassUtils.newInstance(ClassUtils.java:274) | 12:15:05,671 ERROR [STDERR] at org.apache.myfaces.shared_impl.util.ClassUtils.newInstance(ClassUtils.java:265) | 12:15:05,687 ERROR [STDERR] at org.apache.myfaces.config.ManagedBeanBuilder.buildManagedBean(ManagedBeanBuilder.java:50) | 12:15:05,687 ERROR [STDERR] at org.apache.myfaces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:311) | 12:15:05,687 ERROR [STDERR] at org.apache.myfaces.config.LastVariableResolverInChain.resolveVariable(LastVariableResolverInChain.java:42) | 12:15:05,687 ERROR [STDERR] at org.apache.myfaces.el.ValueBindingImpl$ELVariableResolver.resolveVariable(ValueBindingImpl.java:574) | 12:15:05,687 ERROR [STDERR] at org.apache.commons.el.NamedValue.evaluate(NamedValue.java:124) | 12:15:05,687 ERROR [STDERR] at org.apache.commons.el.ComplexValue.evaluate(ComplexValue.java:140) | 12:15:05,687 ERROR [STDERR] at org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:383) | 12:15:05,687 ERROR [STDERR] at javax.faces.component.UIOutput.getValue(UIOutput.java:77) | 12:15:05,687 ERROR [STDERR] at org.apache.myfaces.shared_impl.renderkit.RendererUtils.getStringValue(RendererUtils.java:217) | 12:15:05,687 ERROR [STDERR] at org.apache.myfaces.shared_impl.renderkit.html.HtmlTextRendererBase.renderInput(HtmlTextRendererBase.java:135) | 12:15:05,687 ERROR [STDERR] at org.apache.myfaces.shared_impl.renderkit.html.HtmlTextRendererBase.encodeEnd(HtmlTextRendererBase.java:53) | 12:15:05,687 ERROR [STDERR] at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:536) | 12:15:05,687 ERROR [STDERR] at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:495) | 12:15:05,687 ERROR [STDERR] at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:363) | 12:15:05,687 ERROR [STDERR] at org.apache.jsp.docs.pages.main.questionnaire_jsp._jspx_meth_h_inputText_0(questionnaire_jsp.java:438) | 12:15:05,687 ERROR [STDERR] at org.apache.jsp.docs.pages.main.questionnaire_jsp._jspx_meth_h_form_0(questionnaire_jsp.java:383) | 12:15:05,687 ERROR [STDERR] at org.apache.jsp.docs.pages.main.questionnaire_jsp._jspx_meth_f_subview_0(questionnaire_jsp.java:356) | 12:15:05,687 ERROR [STDERR] at org.apache.jsp.docs.pages.main.questionnaire_jsp._jspx_meth_t_div_4(questionnaire_jsp.java:329) | 12:15:05,718 ERROR [STDERR] at org.apache.jsp.docs.pages.main.questionnaire_jsp._jspx_meth_f_view_0(questionnaire_jsp.java:184) | 12:15:05,718 ERROR [STDERR] at org.apache.jsp.docs.pages.main.questionnaire_jsp._jspService(questionnaire_jsp.java:97) | 12:15:05,718 ERROR [STDERR] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) | 12:15:05,718 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | 12:15:05,718 ERROR [STDERR] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334) | 12:15:05,718 ERROR [STDERR] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) | 12:15:05,718 ERROR [STDERR] at org.apache.jasper.servlet.JspServlet.service(JspServlet.jav
[jboss-user] [JBoss Eclipse IDE (users)] - Problem: Cannot create ejb3 project
Hi, I use JBossIDE-2.0.0.Beta2-Bundle-win32 and cannot create ejb3 project. It fails on the screen "Select a JBoss configuration" -> I created JBoss configuration (jboss-4.0.5.GA with ejb3) but when I select it - the "Next" and "Finish" buttons are still disabled and I cannot continue. Is it a bug or I do something wrong? Please, advice how I can create an EJB3 project with jboss ide 2. Best regards, Trifonov PS. I tested even with the jboss ide version from update site, with eclipse 3.2.1 - the problem exists again. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009330#4009330 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009330 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Disable /jbossws/services page
Yes, jbossws/services can be secured just like any other webapp in jboss View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009355#4009355 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009355 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: TreeCache is missing in JBossCache-all-2.0.0.ALPHA2
New API. See the new docs on http://labs.jboss.com/file-access/default/members/jbosscache/freezone/docs/2.0.0.Snapshot/en/html/index.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009358#4009358 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009358 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: ws4ee invalid xml response
This is HTTP1.1 chunking. Tomcat can be configured to use HTTP1.0 for specific agents. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009357#4009357 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009357 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Pbs when consuming a Web Service with JBoss WS 1.0.3 and
Have a look at jboss classloading View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009359#4009359 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009359 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Jboss Caching issue
I got one solution as TreeCache is not registered in jboss.cache so its not possible to access this . here is fine Now i am trying to register TreeCache Mbean by these steps I copied jboss-cache.jar and jgroups.jar in ${jboss.home}/lib dir and copied the tree-service.xml in ${jboss.home}/server/all/deploy dir but i am not able to register the Mbean this is my tree-service.xml file jboss:service=Naming jboss:service=TransactionManager org.jboss.cache.JBossTransactionManagerLookup REPEATABLE_READ LOCAL false /demo false org.jboss.cache.loader.FileCacheLoader location=/tmp/bhavFileStore true false false 2 15000 1 jboss:service=invoker,type=jrmp jboss.cache:service=TreeCache TreeCache true org.jboss.cache.TreeCacheMBean org.jboss.proxy.ClientMethodInterceptor org.jboss.proxy.SecurityInterceptor org.jboss.invocation.InvokerInterceptor jboss:service=invoker,type=jrmp jboss.cache:service=TreeCache should i put this file in default/deploy dir any help would be appreciated View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009364#4009364 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009364 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: jbossws.sar in jbossws1.0.4.GA fails to deploy on jboss
The EJB3 deployer is not there. You can safely comment out the DeployerInterceptorEJB3 if run in a non EJB3 distro View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009365#4009365 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009365 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: wstools not generating Java for enum pattern
Have a look at this FAQ http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWSFAQSupportedDataTypes View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009366#4009366 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009366 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1.5.GA released
Good job, thanks! I am also glad JBoss is extending support of Seam. Any chance on having a look at Resin in near future as well? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009371#4009371 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009371 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: Configuring a DB2 XA connection
This is sample datasource configuration which is working for me WmxJmsDataSource 15020 TEST 192.168.1.134 com.ibm.db2.jcc.DB2XADataSource ashwin ashwin 4 DB2 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009372#4009372 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009372 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Controllers and i18n
Good morning for all!!! I am starting with JBPM... it would like to know if feature for i18n exists some... Tanks!!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009374#4009374 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009374 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: Problem: Cannot create ejb3 project
Hi, I found the problem. I have created JBoss v4.0 (under JBoss) instead of JBoss AS 4.0 (under JBoss Inc). The names of the nodes and servers are very similar. Regards, Trifonov View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009375#4009375 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009375 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How to model a loop with GPD?
Hi Romeu, Tks for your reply. I don't quite understand this yet: "I think you need to include an end state, but you can specify a way in wich the transaction to that state is never taken." I posted this question to make sure this is not yet implemented in jbpm before I start coding it in my own way. Many thanks again. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009376#4009376 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009376 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - trying to get the language from de jndi context in EJB3SLSB
I'm creating a context for accessing a Stateless EJB3. String JNDI_FACTORY = "org.jboss.security.jndi.JndiLoginInitialContextFactory"; | String JNDI_PROVIDER_URL = "jnp://localhost"; | String JNDI_PROVIDER_PORT = "1099"; | | Properties prop = new Properties(); | prop.put( Context.INITIAL_CONTEXT_FACTORY, JNDI_FACTORY ); | prop.put( Context.PROVIDER_URL, JNDI_PROVIDER_URL + ":" | + JNDI_PROVIDER_PORT ); | | prop.put( Context.LANGUAGE, "ca"); |prop.put( Context.SECURITY_PRINCIPAL, "test1"); |prop.put( Context.SECURITY_CREDENTIALS, "test1"); | | |InitialContext ctx = new InitialContext(prop); Then I make the lookup and everythings works ok. The quiz is: How can I access to the Context.LANGUAGE from EJB3?. I've tried: - new InitialContext().getEnvironment() | - new InitialContext().lookup(Context.LANGUAGE) And this property doesn't exist. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009377#4009377 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009377 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Controllers and i18n
by default not in the processdefinitions, but the forms can be customized any way java supports. This is only valid for the forms, not the complete webconsole yet (you can customize that yourself from the source) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009379#4009379 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009379 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Controllers and i18n
"kukeltje" wrote : by default not in the processdefinitions, but the forms can be customized any way java supports. This is only valid for the forms, not the complete webconsole yet (you can customize that yourself from the source) Huuummm... ok! Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009384#4009384 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009384 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Multiple Annotations error in web.xml
Hi, I successfully created for web dynamic project in jboss eclipse ide,but web.xml file displays error message as "Multiple Annotations" at first line. I tried for some time,but unable to resolve this error in web.xml. Please provide solution for that error. Thanks in Advance. Thanks & Regards, Yogesh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009389#4009389 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009389 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - optimistic cache locking
Hi, im using jboss4.0.5.GA and if im not wrong it has hibernate 3.2 wich has optimistic cache locking, how do I enable it? For example my ejb3-cache-service.xml is | | | | jboss:service=Naming | jboss:service=TransactionManager | org.jboss.cache.JBossTransactionManagerLookup | REPEATABLE_READ | REPL_SYNC | EJB3-entity-cache | | | | | | | | | | | | | | | | | 5000 | 1 | 15000 | org.jboss.cache.eviction.LRUPolicy | | | 5 | | 5000 | 1000 | | | | | | Which is using pessimistic cache locking, whats the parameter to change? ive searched lots of manuals and configuration tutorial but no luck so far. Also, if I change it to optimistic, do I need to do anything else in the code? do I need to perform evictions by hand? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009390#4009390 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009390 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Does Seam work with JSP2.1? and what to use Facelets or JSP
Anyone knows if Seam works with JSP 2.1? and JBoss AS 4.0.5? Also now that JSP 2.1 has fixed the problem JSP had with JSF. Is it still a good idea to use Facelets? If so is there any Seam example using JSP 2.1? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009399#4009399 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009399 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Simple application component
Using Seam 1.1.0.GA I have a simple Seam component which is just for injecting a singleton session factory and a ManagedHibernateSession that uses it. (I'm aware of the HibernateSessionFactory component but I think this problem is more general). First the session factory wrapper component. | @Name( "referenceSessionFactory" ) | @Scope( ScopeType.APPLICATION ) | @Intercept( InterceptionType.NEVER ) | public class ReferenceSessionFactory | { | @Unwrap | public SessionFactory getSessionFactory() | { | return HibernateSession.getSessionFactory(); | } | } | And a test component | @Name( "test1" ) | @Scope( ScopeType.EVENT ) | public class Test1 | { | @In( create = true ) | private Session referenceSession; | | @Create | public void init() | { | int i = 1; | } | | public String getStr() | { | return "test1"; | } | } | and the components.xml piece. | | | | | | | | And my simple test page | | http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> | http://www.w3.org/1999/xhtml"; | xmlns:ui="http://java.sun.com/jsf/facelets"; | xmlns:f="http://java.sun.com/jsf/core"; | xmlns:h="http://java.sun.com/jsf/html";> | | | | | | | | Now if I request a page that references the test1 component str property I get the following error. | java.lang.IllegalStateException: SessionFactory not found | at org.jboss.seam.core.ManagedHibernateSession.getSessionFactoryFromJndiOrValueBinding(ManagedHibernateSession.java:156) | at org.jboss.seam.core.ManagedHibernateSession.createSession(ManagedHibernateSession.java:81) | at org.jboss.seam.core.ManagedHibernateSession.create(ManagedHibernateSession.java:69) | If I remove the @Create annotation from the test1 component then it works as expected (page just renders "test1"). It seems that there is some problem creating and injecting the hibernate session when it is the @Create method that is being intercepted (I can see the Component.callCreateMethod() further down in the stack trace). I haven't seen this problem injecting other components, facesContext and the referenceSessionFactory seem to work fine. More interestingly if I visit the test page it fails as above. If I visit a different page that has a hibernate session injected and no @Create it works fine. Then if I go back and refresh the test page the error changes to... | java.lang.ClassCastException: com.azure.spark.web.seam.component.ReferenceSessionFactory | at org.jboss.seam.core.ManagedHibernateSession.getSessionFactoryFromJndiOrValueBinding(ManagedHibernateSession.java:153) | at org.jboss.seam.core.ManagedHibernateSession.createSession(ManagedHibernateSession.java:81) | at org.jboss.seam.core.ManagedHibernateSession.create(ManagedHibernateSession.java:69) | Which looks like it's finding something but it returns the Seam component itself rather than the result of the @Unwrap function. This is also when intercepting the call to the @Create method of test1. Appreciate any advice on whether I'm doing something wrong or if this is a possible bug. Cheers. Mike. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009400#4009400 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009400 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - performance degradation
Hello, im running a web application on jboss4.0.5.GA using ejb3, hibernate, tomcat, mysql, treecache, prototype for ajax, servlet with pojo based html rendering, etc if more datails are needed ill be happy to provide them. Im still working in tunning the application to get better performance but the main problem im facing atm is that in time the server performance degrades, day one it works like a charm, and the following days it starts to go slower and slower. Im not leaking db connections, eviction on caches are in the range of one hour so that should not be the problem. Im using sun jvm 1.5.0_09 and starting jboss with | java -Dprogram.name=run.sh -server -Xms128m -Xmx1024m -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 -Djava.net.preferIPv4Stack=true The server is an AMD Athlon(tm) 64 Processor 3200+ with 2G ram that is also running mysql and apache under Red Hat 2.6.9-42.0.2.EL When the server gets slower I look the ServerInfo MBean and none of my classes are blocking any thread. What should I look for? JVM tunning? another JVM? is this a known issue? is my code faulty? If this is not the right forum to ask, please point me to the right one. Also, im very sorry about my raw english, is not my main lang. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009403#4009403 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009403 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: A sample with HibernateLongInstance or HibernateStringI
Just to give it code example, here is how you would do for a HibernateLongInstance: First, You have a hibernate entity with id of type Long and a hibernate mapping to your class properly loaded in the same session as JBPM mappings. The mapping: | | | | ... | Then you use a HibernateLongInstance to wrap your entity and store it as any other JBPM variable: ... | // create my entity an wrap it with HibernateLongInstance | MyEntity ent = new MyEntity(); | HibernateLongInstance entWrapper = new HibernateLongInstance(); | envWrapper.setObject(ent); | | // store it to root token context | ContextInstance contextInstance = (ContextInstance) | token.getProcessInstance().getInstance(ContextInstance.class); | contextInstance.setVariable("my-entity-variable", entWrapper); | ... To access it later, just get the wrapped object and class cast it back to your entity: ... | ContextInstance contextInstance = (ContextInstance) | token.getProcessInstance().getInstance(ContextInstance.class); | HibernateLongInstance entWrapper = (HibernateLongInstance) | contextInstance.getVariable("my-entity-variable"); | MyEntity entData = (MyEntity)entWrapper.getObject(); | ... That's it! A warning though: The default configuration has Serializable type mapped before Hibernate and EJB types. That means that if your entity class implements java.io.Serializable it will get serialized as a byte array and not as a Hibernate entity. To avoid this behavior, re-order the types in jbpm.varmapping.xml. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009404#4009404 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009404 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How to model a loop with GPD?
To put it in a programatic way: Let's say you have a 4 state cenario: 1 - Start State 2 - State A 3 - State B 4 - End State The following transitions exist: 1 to 2 2 to 3 *2 to 4 3 to 2 The "2 to 4" transition should never been taken, therefore making a 2-3-2 loop for ever. You could force this through an ActionHandler (check docs if you don't know what it is). by forcing the "2 to 3" transition context.leaveNode("2 to 3"); You could also hard code your transistions in the JPDL (xml source of the process) by placing conditions on the transactions (again see docs for this). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009405#4009405 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009405 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: trouble using password verify as in booking example
Thanks Gavin, I totally understand. No problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009411#4009411 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009411 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Jboss Caching issue
what version of jboss cache are you using? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009412#4009412 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009412 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1.5.GA released/file upload problem
thanks for the reply... 1) i tried to upload two images: one jpeg size of 43kb, the other one is bitmap size of 16kb. 2) i did not make a copy of the exceptions, but i can see from the server log that the image was actually created... although we in our application can leave without actually displaying the image on the page, but still i would like to see it actually working. 3) i would also like to test this on sql server see if this binary files can actually be persisted into database. any tips on that? (have not yet started on this) many thanks in advance and look forward to hearing from you again, regs, Joan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009424#4009424 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009424 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - jboss startup with delveryactive set to FALSE
Hi I am using JBOSS jboss-4.0.0 and have implemented a MessageDrivenBean as a singleton which acts as a persistent in inbound message event queue. On occasions I need to restart the jboss container, and have queue content as yet un-processed. I would like to be able to use the JMX org.jboss.ejb.plugins.jms.JMSContainerInvoker startDelivery() method in the JMX GUI to kick off processing the backlogged of events prior upon jboss container restart. Can you advise how to cause the MessageDataBean to be deployed with DeliveryActive FALSE so that message consumption of back logged messages does not prematurely start during jboss re-start bean deployment, and so I can start the message consumption on my command thru the GUI with startDelivery. Thanks in advance. Hope I have not missed this in FAQs and other jboss docs I have poured through. Jim View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009425#4009425 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009425 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Does Seam work with JSP2.1? and what to use Facelets or
"terryb" wrote : Anyone knows if Seam works with JSP 2.1? and JBoss AS 4.0.5? | | Also now that JSP 2.1 has fixed the problem JSP had with JSF. Is it still a good idea to use Facelets? | | If so is there any Seam example using JSP 2.1? | | Facelets is still much better than JSP 2.1. Facelets has superior performance, rapid ui development, templating system, and much more. Many of these and other features are completely missing from JSP. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009428#4009428 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009428 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Does Seam work with JSP2.1? and what to use Facelets or
thanks agori. I guess you use facelets. may I ask which development environment you use? also what do you think about using jPDL vs JFS Navigation? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009430#4009430 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009430 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1.5.GA released
Thanks for your hard work Seam team. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009441#4009441 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009441 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: java.lang.UnsupportedOperationException: setProperty mus
Hello Thomas, can you please explain this in more detail? I have exactly the same problem described above. I have a webservice running, that works very fine if call it locally (testclient and SEI on same machine). But if i use distant jboss, i get this exeption. But the classpath when starting this distant JBoss is anonymous wrote : CLASSPATH: D:\Sun\SDK\jdk\lib\tools.jar;D:\Programme\jboss-4.0.5.GA\bin\run.jar I use Java 1.5_11 and i dont have any system classpath settings. thx in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009442#4009442 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009442 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Issues moving from Seam 1.1.0 to Seam 1.1.5
Hello, I have an EAR Deployment that uses the following API's: * Seam 1.1.0 (would like to use 1.1.5) * MyFaces 1.1.4 (no - ICEFaces is not ) * Tomahawk 1.1.3 (an option for this project) * Facelets 1.1.11 The MyFaces jars are package at the EAR level. The project contains an EJB jar, a webapp war, jBPM, etc... The application (EAR) is deployed in JBoss 4.0.4. with EJB RC8 I tried simply dropping the Seam 1.1.5 jars into my project and bringing up the application. The application starts to work, however, a few clicks into the application, I consistently get the following exception: | 2007-02-01 09:37:27,005 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.interpolator | 2007-02-01 09:37:27,005 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.interpolator | 2007-02-01 09:37:27,005 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.core.interpolator | 2007-02-01 09:37:27,005 DEBUG [com.evergreen.accesscontrol.ApplicationConverter] getAsString Class: class java.lang.Long | 2007-02-01 09:37:27,005 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preRemoveVariable.org.jboss.seam.outermostExceptionInterceptor | 2007-02-01 09:37:27,005 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postRemoveVariable.org.jboss.seam.outermostExceptionInterceptor | 2007-02-01 09:37:27,052 ERROR [STDERR] Feb 1, 2007 9:37:27 AM com.sun.facelets.FaceletViewHandler handleRenderException | SEVERE: Error Rendering View[/user_access_request_select_applications.xhtml] | javax.faces.FacesException: java.io.NotSerializableException: java.lang.ThreadLocal | at org.apache.myfaces.shared_impl.util.StateUtils.getAsByteArray(StateUtils.java:190) | at org.apache.myfaces.shared_impl.util.StateUtils.construct(StateUtils.java:150) | at org.apache.myfaces.renderkit.html.HtmlResponseStateManager.writeState(HtmlResponseStateManager.java:102) | at org.apache.myfaces.application.jsp.JspStateManagerImpl.writeState(JspStateManagerImpl.java:430) | at org.jboss.seam.jsf.SeamStateManager.writeState(SeamStateManager.java:66) | at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:606) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:97) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at com.evergreen.filter.RequestDumper.doFilter(RequestDumper.java:78) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:32) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at com.evergreen.fastpass.catalina.CASSSOAuthenticatorValve.invoke(CASSSOAuthenticatorValve.java:373) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
[jboss-user] [JBoss Seam] - Re: Issues moving from Seam 1.1.0 to Seam 1.1.5
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=100416 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009445#4009445 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009445 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM 3.2 timers in a cluster
Thanks for the info. Yes, we would like to have the timer thread (servlet) running on each machine in the cluster. It seems like the simplest approach. When you say we will be in trouble doing this, are you doing so in the context of 3.2? It looks like the issue is being addressed in JobExecutorThread. acquireJobs() using Hibernate and transactional locking, but we would like to be certain. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009448#4009448 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009448 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WS Eventing client - basics question
Aha, I should use remoting. Funny actually. I already got started on a pure JBoss remoting solution. I threw out the webservice eventing and added a register/ deregister method to my existing webservice (a plain synchronous one). In the register method I add the address to a list and whenever an event is thrown I use the JBoss remoting to send messages to a JBoss remoting webserver that I started on my client side (Java Swings app). Looks like the solution was closer than I thought. Maybe I'll give it another try now I know that I should have used remoting. Changes to my application seem minimal enough. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009455#4009455 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009455 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Issues moving from Seam 1.1.0 to Seam 1.1.5
Thanks for the pointer - I saw this same problem with 1.1.1 but I just fell back to 1.1.0 also. It would be nice to make another release with this fix in short order (please?). Thanks, Brad Smith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009459#4009459 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009459 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: jbossws.sar in jbossws1.0.4.GA fails to deploy on jboss
Ah, I already updated my JBoss with EJB3.0 Nice to know there is another solution View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009458#4009458 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009458 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: NotSerializableException:ThreadLocal when using PAGE s
March 20? dang! how about 1.1.6 on Feb. 6? ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009457#4009457 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009457 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Query
Thanks Andy, well, and how to avoid this multiple bags exception thing? I have read that I should use Set instead of generic Collection, but is this solution? Bye Dalibor View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009467#4009467 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009467 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: PojoCache support JDK5.0 Enum bug, is there a work aroun
This causes strange behavior I a have an object kuku that holds an JDK5.0 Enum when I use HashMap to hold kuku objects after I remove from the cached HashMap a kuku object , the size of the map stays the same and values() will return a also the removed kuku object as null when I use TreeMap to hold kuku objects after I remove from the cached TreeMap a kuku object , the size of the map decried by one and values() will return correct data Ideas? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009471#4009471 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009471 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: standalone client with jaas/jboss
I can do that but currently i dont have access to the setup where i had the source files. Alternately, can you explain what exactly is not working in your case. Can you post some code/configurations that you have used. And what are you trying to do, is it lookup of a secure EJB from a standalone client? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009472#4009472 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009472 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: Configuring a DB2 XA connection
K R Ashwin... Which version of DB2 are you using and which version of the driver? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009473#4009473 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009473 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Does Seam work with JSP2.1? and what to use Facelets or
"terryb" wrote : thanks agori. I guess you use facelets. may I ask which development environment you use? | | also what do you think about using jPDL vs JFS Navigation? I am not a Seam user at the moment, sorry ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009474#4009474 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009474 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: removeObject do not fully remove when working with FileC
the topic http://jboss.org/index.html?module=bb&op=viewtopic&t=100342 Is I think an example of the same problem Ideas? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009477#4009477 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009477 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Where Can I Get Process Templates?
I just want to test the engine with "real" processes (telecommunication related processes, manufacturing, etc.) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009476#4009476 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009476 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user