[jboss-user] [JBoss Seam] - Re: How to change font of
"thejavafreak" wrote : Please refer to documentation in http://jcaptcha.sourceforge.net/ as this is not Seam's problem. Thank you very much!!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096831#4096831 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096831 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: SEAM/Spring Integration Issue
1st - please in the future don't repost your question over several forums 2nd - add more information about what versions, env, ... are you running 3rd - the exception says it all :-) Check if there is a setContextLocations method on org.jboss.seam.ioc.spring.ContextLoader class in your version of Seam artifact. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096830#4096830 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096830 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: throws
config as 180 then the question is solved the reason: in mysql,default global.wait_timeout is 28800 second,if the value of idle-timeout-minutes more than global.wait_timeout,and when mysql close the idle connection,the connection still in the jboss connection pool.then if jboss application get the connection from pool,however the connection in not exist. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096829#4096829 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096829 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - s:selectDate of "jboss-seam-2.0.0.BETA1" doesn't work in JBo
I deployed "jboss-seam-2.0.0.BETA1\examples\seamspace" to JBoss4.2.1, when i push the little button to select a date in page "http://localhost:8080/seam-space/register.seam";, It shows erorr "Function excpected"!!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096828#4096828 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096828 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Universal JSF-native confirmation box
Sounds interesting, could you elaborate? I thought most rules there were for post-action navigation. It might be a nice "you-can't-do-this-with-plain-JSF"-addition the manual since I would think this requirement is quite common. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096824#4096824 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096824 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to change font of
Please refer to documentation in http://jcaptcha.sourceforge.net/ as this is not Seam's problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096823#4096823 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096823 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - SEAM/Spring Integration Issue
Hi All, I am trying to integrate Spring with SEAM in JBoss, but when I try to use the spring context loader in components.xml: I get the following error: java.lang.IllegalArgumentException: no such setter method: org.jboss.seam.ioc.spring.ContextLoader.contextLocations Can anyone shed some light on this? Thanks, Paul View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096821#4096821 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096821 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBPM sending mail
"racbsl" wrote : I am not able to send mail from the JBPM. Can somebody please help, details mentioned below:- | | Following are my entries in the processdefinition.xml:- | < state name="auction" > | < event type="before-signal" > | < action name="SendMail" class="com.jbay.action.MyMailAction" > | < subject >Test Mail from JBOSS JBPM < / subject > | < text >This is a Mail from JBOSS JBPM sent by Rajesh Choudhari< / text > | < to >[EMAIL PROTECTED]< /to> | < / action > | < / event > | < transition name="to_end" to="end1" >< / transition > |< / state > | Following is the entry in my jbpm.cfg.xml:- | < string name="jbpm.mail.smtp.host" value="localhost" /> | < string name='mail.class.name' value='com.jbay.actio.MyMailAction' / > | Following is the code in MyMailAction:- | public void execute(ExecutionContext executionContext){ | // TODO Auto-generated method stub | //executionContext.getContextInstance().; | Properties mailProps = new Properties(); | mailProps.put("jbpm.mail.smtp.host", "10.77.225.254"); | mailProps.put("port","25"); | Mail.send(mailProps, this.getFromAddress(), this.getRecipients(), this.getSubject(), this.getText()); | | Following is the error:- | 11:13:50,344 [main] ERROR GraphElement : action threw exception: couldn't send email | org.jbpm.JbpmException: couldn't send email | at org.jbpm.mail.Mail.send(Mail.java:142) | at com.jbay.action.MyMailAction.execute(MyMailAction.java:23) | at org.jbpm.graph.def.Action.execute(Action.java:122) | at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:247) | at org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:215) | at org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:185) | at org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:169) | at org.jbpm.graph.exe.Token.signal(Token.java:191) | at org.jbpm.graph.exe.Token.signal(Token.java:139) | at org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:251) | at com.jbay.HelloTest.testActionHandler(HelloTest.java:59) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at junit.framework.TestCase.runTest(TestCase.java:154) | at junit.framework.TestCase.runBare(TestCase.java:127) | at junit.framework.TestResult$1.protect(TestResult.java:106) | at junit.framework.TestResult.runProtected(TestResult.java:124) | at junit.framework.TestResult.run(TestResult.java:109) | at junit.framework.TestCase.run(TestCase.java:118) | at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130) | at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) | Caused by: javax.mail.SendFailedException: Sending failed; | nested exception is: | class javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25; | nested exception is: | java.net.ConnectException: Connection refused: connect | at javax.mail.Transport.send0(Transport.java:218) | at javax.mail.Transport.send(Transport.java:80) | at org.jbpm.mail.Mail.send(Mail.java:140) | ... 26 more | | anonymous wrote : anonymous wrote : View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096822#4096822 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096822 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss/Spring Integration] - SEAM/Spring Integration Issue
Hi All, I am trying to integerate Spring with SEAM in JBoss, but when I try to use the spring context loader in components.xml: I get the following error: java.lang.IllegalArgumentException: no such setter method: org.jboss.seam.ioc.spring.ContextLoader.contextLocations Can anyone shed some light on this? Thanks, Paul View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096820#4096820 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096820 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to change font of
Another question, i want to generate an image with more letters, for example, 6-10 letters. How should i set configuration? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096819#4096819 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096819 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - JBPM sending mail
I am not able to send mail from the JBPM. Can somebody please help, details mentioned below:- Following are my entries in the processdefinition.xml:- Test Mail from JBOSS JBPM This is a Mail from JBOSS JBPM sent by Rajesh Choudhari [EMAIL PROTECTED] Following is the entry in my jbpm.cfg.xml:- Following is the code in MyMailAction:- public void execute(ExecutionContext executionContext){ // TODO Auto-generated method stub //executionContext.getContextInstance().; Properties mailProps = new Properties(); mailProps.put("jbpm.mail.smtp.host", "10.77.225.254"); mailProps.put("port","25"); Mail.send(mailProps, this.getFromAddress(), this.getRecipients(), this.getSubject(), this.getText()); Following is the error:- 11:13:50,344 [main] ERROR GraphElement : action threw exception: couldn't send email org.jbpm.JbpmException: couldn't send email at org.jbpm.mail.Mail.send(Mail.java:142) at com.jbay.action.MyMailAction.execute(MyMailAction.java:23) at org.jbpm.graph.def.Action.execute(Action.java:122) at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:247) at org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:215) at org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:185) at org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:169) at org.jbpm.graph.exe.Token.signal(Token.java:191) at org.jbpm.graph.exe.Token.signal(Token.java:139) at org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:251) at com.jbay.HelloTest.testActionHandler(HelloTest.java:59) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) Caused by: javax.mail.SendFailedException: Sending failed; nested exception is: class javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25; nested exception is: java.net.ConnectException: Connection refused: connect at javax.mail.Transport.send0(Transport.java:218) at javax.mail.Transport.send(Transport.java:80) at org.jbpm.mail.Mail.send(Mail.java:140) ... 26 more View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096818#4096818 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096818 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: New jBPM Getting Started Documentation
Hi, I'm also starting to evaluate the jBPM and have similar problem as posted by bhuber. gpd.xml is not shown as diagram, only processdefinition.xml does. I downloaded jbpm-jpdl-suite-3.2.2.zip, installed it and integrated Eclipse as described in the readme of the designer subdirectory (so downloaded Eclipse eclipse-SDK-3.3-win32.zip from jboss repository and installed with ant). kukeltje mentioned something about "...wrong combination of eclipse and gdp ...". But what kind of misconfiguration is imaginable, when I downloaded and installed the recommended packages? RM View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096816#4096816 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096816 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - How to change font of "seam captcha"
Enter the above letters* * The generated graphicImage by seam is not clear enough that I cannot recognise it sometimes!!! Can i change it??? Seam_reference does not give the answer. Is there some document in detail form which i can find the answer??? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096817#4096817 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096817 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Please help on invoking the jboss WS?
solve the problem. please refer to http://www.jboss.com/index.html?module=bb&op=viewtopic&t=104843 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096815#4096815 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096815 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Please help on invoking the jboss WS?
I clean up my war fle lib, remove all the jboss ws related jar file, seems the exception changed to java.lang.IllegalStateException: Canot get target bean instance at org.jboss.wsf.spi.invocation.InvocationHandlerJSE.getTargetBean(InvocationHandlerJSE.java:54) at org.jboss.wsf.stack.jbws.ServiceLifecycleInvocationHandler.invoke(ServiceLifecycleInvocationHandler.java:47) at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:206) at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:396) at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:260) at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:177) at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:110) at org.jboss.wsf.spi.invocation.EndpointServlet.service(EndpointServlet.java:72) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) 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.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:156) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:613) Caused by: java.lang.InstantiationException: tv.blackarrow.integration.twc.ws.Hello at java.lang.Class.newInstance0(Class.java:335) at java.lang.Class.newInstance(Class.java:303) at org.jboss.wsf.spi.invocation.InvocationHandlerJSE.getTargetBean(InvocationHandlerJSE.java:49) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096811#4096811 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096811 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: JBOSS Webservice & Thai Language
It's work thanks Oskar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096810#4096810 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096810 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Multiple SOAP attachments via MTOM document/literal?
Is it possible to have an API as such: class Attachments { private DataHandler dh; public DataHandler[] getAttachments(); public void setAttachments(DataHandler[] attachments); } public interface StoreAttachments { void storeAttachments(Attachments arg); } using MTOM/XOP and document/literal (or any other encoding)? I want to be able to send multiple attachments (20MB on average each attachment) in a single SOAP message. Is this doable in JBossWS 2.0.1? Thanks! Martin View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096809#4096809 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096809 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: use JBOSSIDE to publish project like registration but no
there is a same error in my project, who can give me some help? thank u View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096807#4096807 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096807 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Urgent : Time getting different than system time
Set the timezone for the date formatter. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096806#4096806 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096806 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: run seam 1.2.1GA on Jboss 4.2.1GA
I'm using the same configuration and it works without a problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096804#4096804 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096804 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Junk characters after validation.
Hi All We have project being developed in the following environment 1) Tomcat 5.5 2) Jboss Seam 1.2.1 3) Hibernate 3.0 We have registration form with around 20 fields. The form enctype is ?multipart/form-data?. Following types of fields are included in the form 1) Textbox 2) Text Area 3) Select Box 4) List Box 5) File 6) Date There are some mandatory fields for which we have specified required=?true? in our xhtml file. There are also some fields for which we have hibernate validation happening. Now the problem is if the user submits the form without filling up the mandatory fields junk values are getting added to a textfield which is of date type. Example of some junk values are below Example 1. ?-17449159816946 Content-Disposition: form-data; name="applicant:division"" Example 2. "-17449159816946" Example 3. " -11206587428982 Content-Disposition: form-data; name="applicant:division" " Our application development is almost complete and we need to solve this problem. Any directions to solve this issue is greatly appreciated. Thx in advance Murali View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096805#4096805 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096805 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm.cfg.xml not getting picked up
Thanks for your reply! by first time, i mean when the webapp is deployed on the server, I found that my custom notifier and email address resolver are instantiated. But when the actual mail event is fired during the course of the workflow(later on :) ), that time jbpm's mail.class is invoked, which uses default of from-email-address as [EMAIL PROTECTED], which throws an invalid address error. By keeping jbpm.cfg.xml file directly in classpath, my notifier was picked up alwayz, but as long as i kept it as j-workflow/jbpm.cfg.xml, the default kept getting used, even though this file was present in the classes of my webapp. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096801#4096801 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096801 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Hooking to JBoss Shutdown
Hello Dimitris, In my case version upgrade is not possible as customer has fixed it to JBoss 4.0.3 SP1. If I add the run time hook to JVM I will reach the back to square state since there can be chance that hook start working after the Session Bean has already unbound. Is there a possibility so that I can ensure that the JVM hook always work before the actual shutdown sequence starts? Or is there some start up parameter setting by which I can ask JBoss to emit the notification during Ctrl + C also? Regards Arun View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096800#4096800 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096800 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Entity Authorization
Thanks for the response. I think it might be possible. I've got some drools reading to do... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096799#4096799 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096799 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Please help on invoking the jboss WS?
I recently met the problem when I use the jbossWS. I use the jboss 4.2 AS and jbossws2.0GA, jdk1.5.07 Here is my code package tv.blackarrow.integration.twc.ws; import javax.jws.WebMethod; import javax.jws.WebParam; import javax.jws.WebResult; import javax.jws.WebService; import javax.jws.soap.SOAPBinding; /** * This class was generated by the JAX-WS RI. * JAX-WS RI 2.1.1-b03- * Generated source version: 2.0 * */ @WebService(name = "Hello", targetNamespace = "http://ws.twc.integration.blackarrow.tv/";) @SOAPBinding(style = SOAPBinding.Style.RPC) public interface Hello { /** * * @param arg0 * @return * returns java.lang.String */ @WebMethod @WebResult(partName = "return") public String echo( @WebParam(name = "arg0", partName = "arg0") String arg0); } package tv.blackarrow.integration.twc.ws; import javax.jws.WebMethod; import javax.jws.WebParam; import javax.jws.WebResult; import javax.jws.WebService; import javax.jws.soap.SOAPBinding; @javax.jws.WebService(endpointInterface="tv.blackarrow.integration.twc.ws.Hello") @SOAPBinding(style = SOAPBinding.Style.RPC) public class HelloImpl implements Hello{ @WebMethod public String echo(String input) { System.out.println("This is echo of"+input); return input; } } client side ackage tv.blackarrow.integration.twc.wsclient; import java.net.MalformedURLException; import java.net.URL; import javax.xml.namespace.QName; import javax.xml.ws.Service; import javax.xml.ws.WebEndpoint; import javax.xml.ws.WebServiceClient; import tv.blackarrow.integration.twc.ws.*; /** * This class was generated by the JAX-WS RI. * JAX-WS RI 2.1.1-b03- * Generated source version: 2.0 * */ @WebServiceClient(name = "HelloService", targetNamespace = "http://ws.twc.integration.blackarrow.tv/";, wsdlLocation = "http://localhost:8080/baapi/hello?wsdl";) public class HelloService extends Service { private final static URL HELLOSERVICE_WSDL_LOCATION; static { URL url = null; try { url = new URL("http://localhost:8080/baapi/hello?wsdl";); } catch (MalformedURLException e) { e.printStackTrace(); } HELLOSERVICE_WSDL_LOCATION = url; } public HelloService(URL wsdlLocation, QName serviceName) { super(wsdlLocation, serviceName); } public HelloService() { super(HELLOSERVICE_WSDL_LOCATION, new QName("http://ws.twc.integration.blackarrow.tv/";, "HelloService")); } /** * * @return * returns Hello */ @WebEndpoint(name = "HelloPort") public Hello getHelloPort() { return (Hello)super.getPort(new QName("http://ws.twc.integration.blackarrow.tv/";, "HelloPort"), Hello.class); } } package tv.blackarrow.integration.twc.wsclient; import tv.blackarrow.integration.twc.ws.*; public class HelloClient { public static void main(String args[]) { if (args.length != 1) { System.err.println("usage: EchoClient "); System.exit(1); } HelloService service = new HelloService(); Hello echo = service.getHelloPort(); System.out.println("Server said: " + echo.echo(args[0])); } } Here is my web.xml setting HelloService tv.blackarrow.integration.twc.ws.Hello 1 HelloService /hello/* Here is the wsdl ? ? ? ? ? http://schemas.xmlsoap.org/soap/http"/> ? ? http://ws.twc.integration.blackarrow.tv/"; use="literal"/> ? http://ws.twc.integration.blackarrow.tv/"; use="literal"/> ? ? http://127.0.0.1:8080/baapi/hello"/> when I run the wsrunclient to invoke the client, it shows [Fatal Error] :-1:-1: Premature end of file. Server said: null I check with the jboss log, 20:42:17,955 INFO [LifecycleHandlerImpl] WebService started: http://127.0.0.1:8080/baapi/hello 20:43:25,799 ERROR [SOAPFaultHelperJAXWS] SOAP request exception java.lang.ClassCastException: org.jboss.ws.core.soap.EnvelopeBuilderDOM at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:252) at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:179) at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:377) at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:260) at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:177) at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:110) at org.jboss.wsf.spi.invocation.Endpoin
[jboss-user] [JBoss Seam] - Re: the method invoked twice, when render the page once!
i use the @Factory,but can't solve the question my list bean generated jboss gen: package cn.sh.guanghua.manhour.service.admin; | | import org.jboss.seam.Component; | import org.jboss.seam.ScopeType; | import org.jboss.seam.annotations.Factory; | import org.jboss.seam.annotations.Name; | import org.jboss.seam.framework.EntityQuery; | | import java.util.ArrayList; | import java.util.List; | import java.util.Arrays; | | import javax.faces.model.SelectItem; | import javax.persistence.Query; | | import cn.sh.guanghua.manhour.common.Constants; | import cn.sh.guanghua.manhour.model.admin.User; | import cn.sh.guanghua.manhour.service.Authenticator; | | @Name("userList") | public class UserList extends EntityQuery { | | | private long projectId = -1; | | /** | * | */ | private static final long serialVersionUID = -4312632636363206451L; | | private static final String[] RESTRICTIONS = { | "lower(user.username) like concat('%',concat(lower(#{userList.user.username}),'%'))", | "lower(user.name) like concat('%',concat(lower(#{userList.user.name}),'%'))"}; | | private User user = new User(); | | @Override | public String getEjbql() { | return "select user from User user where username <> 'admin'"; | } | | @Override | public Integer getMaxResults() { | return 15; | } | | public User getUser() { | return user; | } | | @Override | public List getRestrictions() { | List list = new ArrayList(); | | if (this.getUser().getState() == 0) { | list.add("lower(user.state) = #{userList.user.state}"); | } | else if (this.getUser().getState() == 1) { | list.add("lower(user.state) = #{userList.user.state}"); | } | else { | //do nothing | } | list.addAll(Arrays.asList(RESTRICTIONS)); | return list; | } | | /** | * @return | */ | @SuppressWarnings("unchecked") | @Factory(scope=ScopeType.CONVERSATION) | public List getUsersByManager() { | Authenticator authenticator = (Authenticator) Component.getInstance("authenticator"); | User loginUser = authenticator.getUser(); | List list = new ArrayList(); | list.add(new SelectItem(loginUser.getId(), loginUser.getName())); | | Query query = getEntityManager().createQuery("select user from User user " + | "where user.username <> 'admin' and user.state = 0 " + | " and user.userManager.id=" + loginUser.getId() + " and user.id <> " + loginUser.getId()); | List users = query.getResultList(); | for (User user : users) { | list.add(new SelectItem(user.getId(), user.getName())); | } | return list; | } | | | | } | my page code invoking the method: | | http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096797#4096797 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096797 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Does [jbpm-bpel-1.1.Beta3] support BPEL2.0
Hi, I am going to do some workflow wiht bpel2.0.I chosed Jobss4.04 and jbpm-bpel-1.1.Beta3.But when I coming on it ,I get confused. Does "jbpm-bpel-1.1.Beta3" support BPEL2.0,In jbpm-bpel-1.1.Beta3's HelloWorld sampel, I found such namspace : xmlns:bpel="http://schemas.xmlsoap.org/ws/2003/03/business-process/"; But, in bpel2.0 spec , the namespace shold like this : xmlns:bpws="http://docs.oasis-open.org/wsbpel/2.0/process/executable"; So I get confused whether the jbpm-bpel-1.1.Beta3 really support bpel2.0, I would very appreciated, if any can help me. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096794#4096794 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096794 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Entities are lost in SMPC
Can you create a reproducible test case? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096793#4096793 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096793 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: run seam 1.2.1GA on Jboss 4.2.1GA
If you make the appropriate changes to use the JSF RI instead of myfaces, it should run, but you'd be better off using Seam on JBoss 4.2.1. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096792#4096792 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096792 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: UnsupportedOperationException at conversationList
Try to use myfaces 1.1 and deploy it on JBoss 4.0 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096791#4096791 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096791 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: document.getElementById() problem with JSF/Seam
try: document.getElementById("formID:dataTableId:rowNumber:elementID") View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096790#4096790 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096790 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: erros when starting JBOSS ... seam
Try to add the el-api.jar and el-impl.jar into the classpath View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096789#4096789 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096789 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - run seam 1.2.1GA on Jboss 4.2.1GA
Whether can seam 1.2.1GA run on Jboss 4.2.1GA or not? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096787#4096787 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096787 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Entity Authorization
Can you use entity security to achieve this? http://docs.jboss.org/seam/2.0.0.CR2/reference/en/html/security.html#d0e7324 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096786#4096786 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096786 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Jboss managed servers
Hi friends, I would like to know how to configure managed servers in JBoss 4.2.1 If any body provide any links or procedure, that provides great help to me. Thanks! vvk View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096785#4096785 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096785 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How work with multiple processdefinition.xml and graphic
Thanks! That works. Interesting note: I cannot easily create or rename a file with the leading period, such as ".gpd.customname.xml". However, the plug-in creates one for you when you create a custom-named process definition file, e.g. customname.xml, and then open it in the plug-in editor . So I cut and pasted the contents of the original gpd.xml file into the one the plug-in made for me. (I'm wondering if there might be deployment glitches caused by the unorthodox name with a leading period.) By the way, is there any magic to naming the folder containing these files with the ".par" suffix? Does that trigger any functionality in the plugin? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096779#4096779 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096779 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - document.getElementById() problem with JSF/Seam
I noticed that a Javascript function I have inside a xhtml page could not reference/find the field by ID unless it was not embedded inside a dataTable. I need to use that function to get the value of a inputHidden field inside a dataTable. Any rules about this? The function seems pretty simple. document.getElementById("elementID"). If the inputHidden was inside then the function call works like this: document.getElementById("formID: elementID") View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096778#4096778 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096778 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Create Portlet on Jboss-4.2.1 GA + jboss seam 2.0.0 beta 1
i have a .ear project working on jboss seam (jboss-4.2.1 GA + jboss seam 2.0.0 beta1). i need to generate one portlet to include it in jira. could you please tell me how should i configure the portlet.xml and jboss-portlet.xml to generate the portlet.. Regards Jaime View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096777#4096777 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096777 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Simple Portlet
i have a .ear project working on jboss seam (jboss-4.2.1 GA + jboss seam 2.0.0 beta1). i need to generate one portlet to include it in jira. could you please tell me how should i configure the portlet.xml and jboss-portlet.xml to generate the portlet.. Regards Jaime View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096775#4096775 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096775 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: wsconsume Ant task fails to find
"balkanboy" wrote : My apologies - I dont think I did my due diligence with the classpath - I've fixed the problem - I added "fork=true" to the 'wsconsume' Ant task, as well as , and it started to work. | | Thanks for reading :). Hm, my code got eaten- here's the fix: | http://127.0.0.1:8080/datamart-beans/DatamartImpl?wsdl"; > | | | Since the forked wsconsume task will run inside of its own JVM, obviously activation.jar is getting picked up... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096774#4096774 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096774 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: wsconsume Ant task fails to find
My apologies - I dont think I did my due diligence with the classpath - I've fixed the problem - I added "fork=true" to the 'wsconsume' Ant task, as well as , and it started to work. Thanks for reading :). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096773#4096773 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096773 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Configured SLSB
Hi! Maybe this sounds like a dumb question, but I'm confused. When I configure a component using components.xml: | | aValue | | and this is a SLSB: | @Stateless | public class MyClass | { | private String prop; | } | and I have several components all configured in the xml file of the same class (configured differently though), will the component 'xxx' have a valid configuration when invoked or do I need a @Stateful for this? I'm just speaking about the configuration and not storing any state from within a method of the SLSB. Please clarify that for me, Thomas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096772#4096772 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096772 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: 3.2alpha2 unable to load process archives
Cool, isn't this a great forum. Helped me solve this problem in 10 minutes by using Google... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096771#4096771 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096771 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: away from console setup for jmx-console?
Oops, last one should have been 4445 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096770#4096770 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096770 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: away from console setup for jmx-console?
Don't forget to open the ports in your firewall. I opened 8080, 1099, 1098, , 5. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096769#4096769 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096769 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Starting JBoss
You never said which version of JBoss AS you are using. I will assume 4.2.x. You need a 5.0 JDK for that version. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096768#4096768 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096768 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Looking for Jar file for org.jboss.portal.identity.User
i beilive you would have to find the jbosssx.jar source. as an example here is an example User i created that i use with our custom Login module: | /** | * com.xxx.databaseUser | */ | package com.xxx.database; | | import java.sql.Date; | import java.sql.ResultSet; | import java.sql.SQLException; | | /** | * | */ | final class User { | | private final long userID; | private final String loginName; | private final String encryptedPassword; | private final Date fromDate; | private final Date termDate; | private final long loginCount; | private final Date lastLoginDate; | private int loginAttempts; | | /** | * @param rs [EMAIL PROTECTED] ResultSet} | * @throws SQLException se | * aanderson Sep 24, 2007 | */ | User(final ResultSet rs) throws SQLException { | this.userID = rs.getLong("USER_ID"); | this.loginName = rs.getString("LOGIN_NAME"); | this.encryptedPassword = rs.getString("PASSWORD"); | this.fromDate = rs.getDate("FROM_DATE"); | this.termDate = rs.getDate("TERM_DATE"); | this.loginCount = rs.getLong("LOGIN_CNT"); | this.lastLoginDate = rs.getDate("LAST_LOGIN_DATE"); | this.loginAttempts = rs.getInt("LOGIN_ATTEMPTS"); | } | | /** | * @return the encryptedPassword | */ | String getEncryptedPassword() { | return this.encryptedPassword; | } | | /** | * @return the fromDate | */ | Date getFromDate() { | return this.fromDate; | } | | /** | * @return the lastLoginDate | */ | Date getLastLoginDate() { | return this.lastLoginDate; | } | | /** | * @return the loginAttempts | */ | int getLoginAttempts() { | return this.loginAttempts; | } | | /** | * @return the loginCount | */ | long getLoginCount() { | return this.loginCount; | } | | /** | * @return the loginName | */ | String getLoginName() { | return this.loginName; | } | | /** | * @return the termDate | */ | Date getTermDate() { | return this.termDate; | } | | /** | * @return the userID | */ | long getUserID() { | return this.userID; | } | | /** | * increments the login attempts and returns the incremented value | * @param loginAttemptsIn int | */ | void incrementLoginAttempts(final int loginAttemptsIn) { | this.loginAttempts = loginAttemptsIn; | } | | /** | * @return true if this users term date is before today | */ | boolean isUserTermed() { | if (this.termDate == null) { | return false; | } | return this.termDate.before(new java.sql.Date(System.currentTimeMillis())); | } | | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096761#4096761 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096761 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Looking for Jar file for org.jboss.portal.identity.User
the UserPrinciple: | package com.xxx.database; | | import java.security.Principal; | | /** | * | */ | public final class UserPrincipal implements Principal { | | private final String name; | | /** | * @param nameIn | * | */ | public UserPrincipal(final String nameIn) { | if (nameIn == null) { | throw new IllegalArgumentException("No null principal name accepted"); | } | this.name = nameIn; | } | | /** | * @param o | *Object | * @return boolean aanderson Aug 7, 2007 | * @see java.lang.Object#equals(java.lang.Object) | */ | @Override | public boolean equals(final Object o) { | if (o == this) { | return true; | } | if (o instanceof Principal) { | final Principal that = (Principal) o; | return this.name.equals(that.getName()); | } | return false; | } | | /** | * @return String | * @see java.security.Principal#getName() | */ | public String getName() { | return this.name; | } | | /** | * @return int | * @see java.lang.Object#hashCode() | */ | @Override | public int hashCode() { | return this.name.hashCode(); | } | | /** | * @return String | * @see java.lang.Object#toString() | */ | @Override | public String toString() { | return "PortalPrincipal[" + this.name + "]"; | } | } | | and the custom module: | /** | * HMIDataBaseLoginModule | * | */ | package com.xxx.database; | | import java.io.IOException; | import java.security.acl.Group; | import java.sql.SQLException; | import java.util.Map; | | import javax.security.auth.Subject; | import javax.security.auth.callback.Callback; | import javax.security.auth.callback.CallbackHandler; | import javax.security.auth.callback.NameCallback; | import javax.security.auth.callback.UnsupportedCallbackException; | import javax.security.auth.login.FailedLoginException; | import javax.security.auth.login.LoginException; | | import org.jboss.security.auth.spi.DatabaseServerLoginModule; | | /** | * | */ | public final class HMIDataBaseLoginModule extends DatabaseServerLoginModule { | | private static final org.apache.log4j.Logger LOG = org.apache.log4j.Logger.getLogger(HMIDataBaseLoginModule.class); | private String dsJndiName = "java:/OracleDS"; | // do not remove this field | private UserPrincipal identity; | //private long lockoutTime;; | private int maxRetries; | | /** | * @param subjectIn [EMAIL PROTECTED] Subject} | * @param callbackHandlerIn [EMAIL PROTECTED] CallbackHandler} | * @param sharedStateIn [EMAIL PROTECTED] Map} | * @param optionsIn [EMAIL PROTECTED] Map} | * @see org.jboss.security.auth.spi.DatabaseServerLoginModule#initialize(javax.security.auth.Subject, javax.security.auth.callback.CallbackHandler, java.util.Map, java.util.Map) | */ | @Override | public void initialize(final Subject subjectIn, final CallbackHandler callbackHandlerIn, final Map sharedStateIn, final Map optionsIn) { | super.initialize(subjectIn, callbackHandlerIn, sharedStateIn, optionsIn); | LOG.info("Initializing LoginModule"); | try { | this.maxRetries = Integer.valueOf((String) optionsIn.get("maxRetries")).intValue(); | this.dsJndiName = (String) optionsIn.get("dsJndiName"); | //this.lockoutTime = Long.valueOf((String) optionsIn.get("lockTimeMillies")).longValue(); | this.callbackHandler = callbackHandlerIn; | if (this.callbackHandler == null) { | this.callbackHandler = new HMICallbackHandler(); | } | } catch (final Throwable e) { | HMIDataBaseLoginModule.LOG.error("Error initializing", e); | } | HMIDataBaseLoginModule.LOG.debug("LoginModule initialized"); | } | | /** | * @return boolean | * @throws LoginException le | * | * @see org.jboss.security.auth.spi.UsernamePasswordLoginModule#login() | */ | @Override | public boolean login() throws LoginException { | HMIDataBaseLoginModule.LOG.debug("in HMIDataBaseLoginModule.login"); | if (this.callbackHandler == null) { | throw new LoginException("No callback handler is available"); | } | if (super.login()) { |
[jboss-user] [JBoss Portal] - Re: How to set and get Portal session
their are a few things in http request for that. isUserInRole("String"); which returns a boolean or getUserPrincipal() which returns a Principle View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096760#4096760 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096760 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam built-in components not working with Woodstock !!!
I found that Seam built-in components wont work if you have Woodstock libraries in your classpath. I tried removing the Woodstock libraries and everything works fine. These are the jar files that i have 1. dataprovider.jar | 2. dojo-0.4.3-ajax.jar | 3. json.jar | 4. prototype-1.5.0.jar | 5. webui-jsf.jar | 6. webui-jsf-suntheme.jar | | Below is the stacktrace | | | | java.lang.UnsupportedOperationException | | at org.jboss.seam.Namespace.entrySet(Namespace.java:23) | | at java.util.AbstractMap.toString(Unknown Source) | | at java.lang.String.valueOf(Unknown Source) | | at java.lang.StringBuilder.append(Unknown Source) | | at com.sun.webui.jsf.faces.UIComponentELResolver.getValue(UIComponentELResolver.java:72) | | at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53) | | at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64) | | at org.apache.el.parser.AstValue.getValue(AstValue.java:97) | | at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186) | | at com.sun.faces.application.ValueBindingValueExpressionAdapter.getValue(ValueBindingValueExpressionAdapter.java:102) | | at org.jboss.seam.core.Expressions$1.getValue(Expressions.java:69) | | at org.jboss.seam.Component.getInstanceFromFactory(Component.java:1684) | | at org.jboss.seam.Component.getInstance(Component.java:1633) | | at org.jboss.seam.Component.getInstance(Component.java:1610) | | at org.jboss.seam.Component.getInstance(Component.java:1604) | | at org.jboss.seam.jsf.SeamELResolver.getValue(SeamELResolver.java:49) | | at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53) | | at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64) | | at org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:45) | | at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186) | | at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71) | | at javax.faces.component.UIOutput.getValue(UIOutput.java:173) | | at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:189) | | at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:320) | | at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:200) | | at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:836) | | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:896) | | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892) | | at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:577) | | at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108) | | at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:256) | | 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.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63) | | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) | | at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) | | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57) | | at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) | | at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79) | | at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) | | at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84) | | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:228) | | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.
[jboss-user] [JBoss Seam] - Re: SelectOneMenu and OneToMany Seam 2.0 setup
Thanks Damian...I finally got it working...In hind sight it was such an easy solution. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096758#4096758 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096758 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Integration Testing with TestNG and embeddedEjb
Sure, I will send over my project environment to you. Thanks... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096756#4096756 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096756 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - call ServerPeer.enableMessageCounters on jboss startup
I'm using jboss messaging 1.4 with jboss as 4.2.0-GA Is there any way to enable message counters on the ServerPeer mbean in the config file? I see there is a method you can invoke on the ServerPeer. Can I configure the server to automatically invoke this method, or do I have to write my own mbean that invokes this method? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096752#4096752 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096752 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Fast Infoset
I put this comment on http://jira.jboss.org/jira/browse/JBWS-925. I am re-posting it here as it seems appropriate to stimulate discussion on this topic. The referenced document (http://java.sun.com/developer/technicalArticles/xml/fastinfoset) is over four years old. Since the time it was published several of your open source competitors have integrated Fast Infoset into their stacks. This includes Apache's Axis2 (http://wso2.org/library/2686) which is used by Geronimo (http://geronimo.apache.org/) and Jonas (http://jonas.objectweb.org/). It also includes Sun's reference implementation of JAX-WS (https://jax-ws.dev.java.net/) which is the basis of the Metro Web Service Stack (https://metro.dev.java.net/) used by Glassfish (https://glassfish.dev.java.net/). I don't know anything about commercial vendors, but I assume coverage is good there as well. The reason I bring this up is because I am endeavoring to write the highest performing web service possible with open source software. Right now, we have standardized on JBoss, but the benefits of Fast Infoset look large enough that they might justify changing application servers. Is there any possibility Fast Infoset could be integrated into the 2.0.x codebase rather than the 2.1.x codebase? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096751#4096751 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096751 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Jbossws Tutorial.
Hi zeeshan.javeed, this is my code: | package sum; | | import javax.jws.WebMethod; | import javax.jws.WebService; | import javax.jws.soap.SOAPBinding; | | | | @WebService | @SOAPBinding(style = SOAPBinding.Style.RPC) | public class Sum { | | @WebMethod | public int sumAB(int a, int b){ | return a+b; | } | | } | | web.xml: | | | http://java.sun.com/xml/ns/javaee"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd";> | | | Sum | sum.Sum | | | | Sum | /* | | | | file sum.war: directory META-INF. directory WEB-INF: web.xml directory classes: directory sum: Sum.class If I go to http://localhost:8080/jbossws/services jboss give me these statistics: anonymous wrote : | Registered Service Endpoints | Endpoint Name jboss.ws:context=sum,endpoint=Sum | Endpoint Addresshttp://127.0.0.1:8080/sum?wsdl | StartTime StopTime | Thu Oct 18 23:12:09 CEST 2007 | RequestCountResponseCount FaultCount | 0 0 0 | MinProcessingTime MaxProcessingTime AvgProcessingTime | 0 0 0 | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096750#4096750 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096750 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: autostart a task
ok, thanks kukeltje, I thought it was an attribute or something that could make the task "autostartable" Thanks for your reply again. Neuquino View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096747#4096747 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096747 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Hot Deployment: org.jboss.deployers.spi.DeploymentException:
i have jboss-5.0.0.Beta2 i deployed jar(hot deployment) with ejb3 session bean and jpa entity. i.e i pasted the jar file when the server is running. it worked fine. i modified the session bean, created same jar and deployed again(hot). but it is throwing exception. what is the procedure for re-deployment ? pls help to understand. org.jboss.deployers.spi.DeploymentException: java.io.EOFException: Unexpected en d of ZLIB input stream at org.jboss.ejb3.deployers.EJBRegistrationDeployer.deploy(EJBRegistrati onDeployer.java:167) at org.jboss.deployers.plugins.deployer.AbstractSimpleDeployer.commitDep loy(AbstractSimpleDeployer.java:52) at org.jboss.deployers.plugins.deployer.DeployerWrapper.commitDeploy(Dep loyerWrapper.java:170) at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy( MainDeployerImpl.java:592) at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainD eployerImpl.java:476) at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainD eployerImpl.java:406) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocatio n.java:121) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation. java:110) at org.jboss.profileservice.aop.MainDeployerAspect.process(MainDeployerA spect.java:53) at org.jboss.aop.advice.org.jboss.profileservice.aop.MainDeployerAspect_ z_process_381299.invoke(MainDeployerAspect_z_process_381299.java) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation. java:101) at AOPContainerProxy$0.process(AOPContainerProxy$0.java) at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDSca nner.java:302) at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScan ner.java:234) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:41 7) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java :280) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask. access$101(ScheduledThreadPoolExecutor.java:65) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask. runPeriodic(ScheduledThreadPoolExecutor.java:142) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask. run(ScheduledThreadPoolExecutor.java:166) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec utor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor .java:675) at java.lang.Thread.run(Thread.java:595) Caused by: java.io.EOFException: Unexpected end of ZLIB input stream at java.util.zip.ZipFile$2.fill(ZipFile.java:336) at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:134) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read1(BufferedInputStream.java:256) at java.io.BufferedInputStream.read(BufferedInputStream.java:313) at java.io.DataInputStream.readFully(DataInputStream.java:176) at java.io.DataInputStream.readFully(DataInputStream.java:152) at javassist.bytecode.CodeAttribute.(CodeAttribute.java:106) at javassist.bytecode.AttributeInfo.read(AttributeInfo.java:78) at javassist.bytecode.MethodInfo.read(MethodInfo.java:455) at javassist.bytecode.MethodInfo.(MethodInfo.java:77) at javassist.bytecode.ClassFile.read(ClassFile.java:653) at javassist.bytecode.ClassFile.(ClassFile.java:52) at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:409) at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:398) at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:363) at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:318) at org.jboss.ejb3.deployers.EJBRegistrationDeployer.deploy(EJBRegistrati onDeployer.java:157) ... 26 more View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096745#4096745 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096745 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Requir
issue is solved. my mistake. i had a typo error in the datasource name. the dependency error is because of that. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096741#4096741 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096741 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Jbossws Tutorial.
Hi, You was very right that we have to speficy a package name. Without package name , it did not work but now it works. Now I will create a client and will keep on posting. Thanks in deed. Regards, Zeeshan Javeed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096740#4096740 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096740 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Programmatic arbitrary redirection inside pageflow
If that still doesn't convince you, then you should make Pageflow.reposition protected instead of public, or at least put javadoc on it saying that it doesn't work when called externally... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096737#4096737 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096737 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Programmatic arbitrary redirection inside pageflow
My use case is that I want the ability to programmatically show simple messages to the user and then end the pageflow when they click "Ok" on the message page. The reason for that is for edge cases where certain conditions arise where the user shouldn't continue any further in the pageflow. In psuedo-code, it'd look like: | if(someEdgeCondition) { |Message "Sorry, but you can't continue. Please try again once you fix it." |EndPageflow | } | Basically just like exception throwing should work, except without the long, multiple stack traces being put into the webapp's error log. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096735#4096735 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096735 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: away from console setup for jmx-console?
"PeterJ" wrote : I assume that you are running JBoss AS 4.2.x (you never said). That version binds to localhost by default. If you bind it to 0.0.0.0, then it will be accessible from anywhere: | | ./run.sh -b 0.0.0.0 | | By the way, this is documented in the readme file. | | Oh, and if you are running the app server as a service, see my post in http://www.jboss.com/index.html?module=bb&op=viewtopic&t=121025&postdays=0&postorder=asc&start=10, near the bottom of the page . Thanks for the prompt response! =) I restarted the run.sh script using the 0.0.0.0 notation. I then did ... http://xxx.xx.xx.xx:8080/jmx-console ...and it still said Cannot connect to server. I need to change some more settings as I see discussed in some other posts. I'll get back with you on what happens. Thanks again for being some prompt. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096733#4096733 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096733 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Programmatic arbitrary redirection inside pageflow
You haven't convinced me that it should implemented in Seam, no. For me, a lot of the point of a pageflow is that it clearly shows all the paths of execution. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096731#4096731 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096731 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: autostart a task
you could try writing an actionhandler that on the task-create event also starts it. Not sure if it works, but giving it a try won't hurt View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096730#4096730 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096730 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Custom resource factory accessible through JNDI
I have developed resource factory which produces desired objects and is accessible through JNDI context implementing javax.naming.spi.ObjectFactory. It is possible to register such a factory in tomcat's server.xml. However our new customer requires Jboss 4.0.x. I have found a lot of information regarding jboss-web.xml file, but noting how to actually register factory in jboss JNDI. So far I know Jboss offers 3 of box (JNDIBindingServiceMgr, NamingAlias and ExternalContext) context, but non of them fill fill my needs. I could have managed to successfully create JNDI reference through org.jboss.naming.JNDIBindingServiceMgr but this is limited to Java Beans or text values. What I need is to hook implementation javax.naming.spi.ObjectFactory interface to jboss JNDI. web.xml | test web application which tests custom jndi context | | | Object factory for test resource manager. | | | res/TestresourceManager | | | java.lang.String | | | jboss-web.xml | | res/TestresourceManager | res/TestresourceManager | Thank you in advance, Jan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096729#4096729 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096729 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam2 as portlet
The best starting point is the portal example in Seam CVS. I've also asked Alex, who said he had some patches, to create a jira issue and attach them. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096728#4096728 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096728 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Visual Editor Won't Start on Ubuntu 6 *with libxp6 insta
we got a similar issue in jira: JBIDE-1096 btw. as a workaround try and start eclipse in an environment where it can't see your firefox View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096725#4096725 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096725 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Starting JBoss
When starting my JBoss server it is giving me a Java error. The header info in my command prompt displays JBoss finding my JDK, but I am concerned with it going to a java folder. The directory it gives the Java is: C:\j2sdk1.4.2_13\bin\java This is the error I am receiving: java.lang.UnsupportedClassVersionError: javax/management/NotificationEmitter (Un supported major.minor version 49.0) There is also a long stack trace that I didn't post. It seems as if my JDK is the wrong version but it is 1.4.2. Any suggestions? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096722#4096722 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096722 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Activemq and Ajax
I don't think that question is relevant in a JBoss Tools forum... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096723#4096723 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096723 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: away from console setup for jmx-console?
I assume that you are running JBoss AS 4.2.x (you never said). That version binds to localhost by default. If you bind it to 0.0.0.0, then it will be accessible from anywhere: ./run.sh -b 0.0.0.0 By the way, this is documented in the readme file. Oh, and if you are running the app server as a service, see my post in http://www.jboss.com/index.html?module=bb&op=viewtopic&t=121025&postdays=0&postorder=asc&start=10, near the bottom of the page . View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096719#4096719 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096719 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - JBWS-1622, multiple root context with EJB providing WS probl
The release notes for jboss-jaxws_2.0.0GA indicate that this has been fixed. However, I'm deploying with jboss-jaxws_2.0.1GA and I'm still getting the same exception. Wasn't this fixed? If so, how? Do I need to do anything else? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096720#4096720 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096720 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam with iText and RTF support
@Norman: Thank you very much for the fast anwser :-) Right now I am using indentation on to solve my problem. But thanks for offering your support. I will drop you a note when I feel like doing some coding concerning tables for RTF! :-) Greetings, Alexander View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096718#4096718 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096718 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam2 as portlet
Ok, thanks for the information. In the mean time, is there a place where I could find additional information and try to implement those by myself? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096716#4096716 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096716 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Activemq and Ajax
Hi. I am trying to implement Activemq and Ajax. But my _amq.js is not calling AjaxServlet. Can anybody explain the flow.I mean the sequence of functions and servlet getting called Thanks in advance. jkm View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096714#4096714 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096714 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - DataTable Sorting Example
Hello All, I have a seam-gen app that gives me a pretty good head start for the simple crud operations needed to maintain a database. I like the pagination of data that is baked in to the JSF pages as the data sources for the components are backed by the EntityQuery objects. However, I have a few instances where I need to build a custom query or do some Ajax look ahead type of querying, and I'd like my datatables in those lists to look and feel like the datatables that are bound to the EntityQuerys. The nice thing about the EntityQuery is that you get the pagination and ability to resort the data simply. Can I use this in my Stateful session bean instead of using EntityManager.createQuery()? Does anyone know of an example where the data for the JSF page is coming from a session bean page controller and has the ability to sort/paginate data easily? Thanks in advance! Cheers! mg View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096713#4096713 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096713 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: coerceToType / javaassist error
Pete: Using @Proxy pointed to an the common ISubject interface does work. I will try to send a test case soon. Turning off the proxy also works. I do not have time to go into detail; however, look at the use of natural keys for the links for ManyToOne mappings. ProHibernate3 talks about it. Though only some discussion. This way the lazy-load of an object into a map can use the "natural key"-"machine-key" as key-value. Then lazy loading can load the object iff it has been selected and another transaction to the server occurs and the natural key can be displayed in selectItems as a . View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096712#4096712 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096712 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problem with variable argument list logging
Use #0, not #1 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096711#4096711 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096711 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Deployment using JSR88
Hi, I have been working on JSR88 API for Deploy/Undeploy/Stop/Start of an EJB on JBossASv4.0.2. I was able to deploy/undeploy an EJB, but I was not able to start/stop an app. Later I found out that start/stop were not implemented in that version. So, I moved to 4.0.5.GA and later to 4.2.1.GA. But, there were some changes in the URI and others. Now, am not even able to connect to the JBossAS. Am I doing something basically wrong.. | public class Main { | public static void main(String[] args) { | try { | javax.enterprise.deploy.spi.factories.DeploymentFactory df = new org.jboss.deployment.spi.factories.DeploymentFactoryImpl(); | javax.enterprise.deploy.spi.DeploymentManager dm; | dm = df.getDeploymentManager("http://org.jboss.deployment/jsr88";, null, null); | javax.enterprise.deploy.spi.Target[] targets = dm.getTargets(); | javax.enterprise.deploy.spi.TargetModuleID[] modules; | modules = dm.getAvailableModules(javax.enterprise.deploy.shared.ModuleType.EJB, targets); | | System.out.println(targets.length + " " + targets[0]); | System.out.println(modules); | | } catch (javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException ex) { | ex.printStackTrace(); | } catch (javax.enterprise.deploy.spi.exceptions.TargetException ex) { | ex.printStackTrace(); | } | } | } | The error I get is : anonymous wrote : | Caused by: javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] | [Root exception is javax.naming.CommunicationException: Failed to connect to server localhost:1099 | [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused: connect | ] | ] | ] | I tried with a different URI ("jnp://localhost:1099") also. But, it does not fetch me any modules. Iam unable to understand, what Iam doing wrong. Please let me know. Am badly stuck. Any pointers to any documentation/examples will also be helpful. TIA... Thanks and Regards, Prashanth Babu. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096708#4096708 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096708 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Entities are lost in SMPC
Switching from SMPC to @PersistenceContext(type=EXTENDED) solves the problem , without any other changes in code. If I were not sure that conversation is always the same long-running one, the obvious suspection could be getting out of scope. But conversation is ok. Absolutely no idea what might cause this effect... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096710#4096710 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096710 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - NPE when creating query
Hi! I'm using JBoss-4-1.2.1.GA with SEAM 2.0.0.CR2. I get the following exception when creating a query | Caused by: java.lang.NullPointerException | at org.hibernate.hql.ast.tree.FromClause.findIntendedAliasedFromElementBasedOnCrazyJPARequirements(FromClause.java:120) | at org.hibernate.hql.ast.tree.FromClause.containsClassAlias(FromClause.java:247) | at org.hibernate.hql.ast.tree.FromClause.isFromElementAlias(FromClause.java:135) | at org.hibernate.hql.ast.HqlSqlWalker.isNonQualifiedPropertyRef(HqlSqlWalker.java:467) | at org.hibernate.hql.antlr.HqlSqlBaseWalker.addrExpr(HqlSqlBaseWalker.java:4382) | at org.hibernate.hql.antlr.HqlSqlBaseWalker.expr(HqlSqlBaseWalker.java:1212) | for this query: | select x from com.xaidat.nippon.Article x where (( UPPER(x.code) LIKE UPPER(?1) OR UPPER(x.name) LIKE UPPER(?2) OR UPPER(x.manufacturer.name) LIKE UPPER(?3) OR UPPER(x.productgroup.name) LIKE UPPER(?4) ) AND ( UPPER(x.code) LIKE UPPER(?5) OR UPPER(x.name) LIKE UPPER(?6) OR UPPER(x.manufacturer.name) LIKE UPPER(?7) OR UPPER(x.productgroup.name) LIKE UPPER(?8) )) order by price ASC | How can I fight this problem? Thanks, Thomas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096709#4096709 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096709 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How work with multiple processdefinition.xml and graphic
prefixed by "gpd." that should be I assume View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096705#4096705 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096705 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - away from console setup for jmx-console?
Can JBoss be rigged to work from your workstation instead of going to a cold computer room (down the hall in my case) and using the console? I can't find stuff using Google that shows how to configure your RedHat/JBoss server so I can run jmx-console from my desk's workstation webrowser instead of at the console where the server is located. Can anyone help me? I've tried lots of stuff...: 1) changing hosts.allow in /etc/ directory. 2) ./run.sh -b xxx.xx.xx.xx (x = my workstation IP address) 3) Changed the /etc/hosts and /etc/sysconfig/network files 4) I went to the console and changed some displayed IP settings to match my workstation IP address on the jmx-console html screen but there were too many choices so I quit doing that. 5) Used the jems-installer program (hoping it would have some setting to allow me to view jmx-console from my desk) but that GUI installer did not go in that direction. 6) Lots of Googling for terms like "remote access of jmx-console" that went on and on...but no basic instructions for something that seems so simple and much needed. Lots of dead-ends. Weblogic (from what I've been told) allows for people like me to work from my desk instead of at the console. Does JBoss allow for working at your desk? P.S. I'm new at JBoss/RedHat. I come from a home version orientation where I use UBuntu. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096706#4096706 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096706 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - autostart a task
Is there any way to start a task automatically? So not to press Start link in each task at the jbpm-console? Thanks. Regards, Neuquino View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096703#4096703 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096703 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Deploy JPivot Portlet on JBoss Portal
Hi, has anyone successfully deployed JPivot portlet on JBoss Portal? I am clueless right now and I read the README file but still very confused. also I tried to develop a simple web application using JPivot and use it to connect to my MS XML/A. The application works fine on Tomcat but on JBoss, it always gave this error. Please help. line 44 is org.apache.jasper.JasperException: An exception occurred processing JSP page /testpage.jsp at line 44 Stacktrace: at org.apache.jasper.servlet.JspServletWrapper.handle JspException(JspServletWrapper.java:518) at org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:411) at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:320) at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:266) at javax.servlet.http.HttpServlet.service(HttpServlet .java:803) at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206) at com.tonbeller.wcf.controller.RequestFilter$MyHandl er.normalRequest(RequestFilter.java:139) at com.tonbeller.wcf.controller.RequestSynchronizer.h andleRequest(RequestSynchronizer.java:127) at com.tonbeller.wcf.controller.RequestFilter.doFilte r(RequestFilter.java:263) at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doF ilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:230) at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:175) at org.jboss.web.tomcat.security.SecurityAssociationV alve.invoke(SecurityAssociationValve.java:179) at org.jboss.web.tomcat.security.JaccContextValve.inv oke(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.CachedConnectionV alve.invoke(CachedConnectionValve.java:157) at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:241) at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.process(Http11Protocol.java:580) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run( JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:595) Caused by: javax.servlet.ServletException: javax.servlet.jsp.JspException: org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException: com.tonbeller.jpivot.olap.model.OlapException: javax.xml.soap.SOAPException: Unable to create message factory for SOAP: org.jboss.ws.core.soap.MessageFactoryImpl View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096702#4096702 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096702 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Missing project file in 3.2.2
That is because there is no jbpm source tarball anymore. Use anonymous cvs access to get the source. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096701#4096701 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096701 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: LGPL issue
Are you planning to distribute your changes? ie to fork and make the fork publicly available? If so, please can you explain what features you lack and why you needed to change the sources to implement them? jBPM is pretty flexible and extensible so it is kind of surprising to see this happen. Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096697#4096697 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096697 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How work with multiple processdefinition.xml and graphic
You can use an arbitrary name, with the '.xml' extension. In that case the graphical information (the gpd.xml file) should have the same name but prefixed by '.gpd'. Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096696#4096696 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096696 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - EJB3 Initialization Parameter
What is the standard way to pass an initialization parameter to an EJB3 Stateless Session Bean? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096693#4096693 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096693 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: How to set and get Portal session
Thanks for your responses. The string value is just one of the things we want to pass to the portlets. I wonder if you have done anything to user's roles retrieving? That means that if you have a login page in the portal, after you log in, Jboss knows how to map that user's role to appropriate portlets. I wonder if JBoss ever exposes that role throughout its scope? If it does, do you know the name of that variable? (like PortletSession.APPLICATION_SCOPE) or is there a way to get the user's role without doing a JNDI lookup through Hibernate to the database to get the role? Thanks, SGM View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096692#4096692 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096692 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Hooking to JBoss Shutdown
If I remember the issue you mention was not a complete fix and I had to fix it properly in 4.0.4. Maybe upgrade? or again, hook to jvm shutdown. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096691#4096691 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096691 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: I can't get the parameter in my portlet
Hi, That is strange. I can't detect something wrong in the code. You may look at the jsp of the portal (user portlet jsp, samples...) as some example. such as : | "> | | | | The url is not hard coded but built with the portal url factory. this may be necessary... do you get the "act" parameter that is in the url ? or not ? oups... I've just got it : the parameters of the url are available in the request of the action method of the portlet. not the doView (render method). you have to get them in the action method, and then, if you want to get some info about that in the render method (doView), you must do some response.setRenderParameter(myRenderParamName, | myRenderParamValue) This way, the myRenderParamName is put in the request instance in the doView method. look also at the portlet specification JSR-168 for all this... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096690#4096690 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096690 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Multiple methods calls and SFSB creation
I think I discovered at least part of my problem. As for a new SFSB being created, the selectedCsessionValueChangeListener was getting an exception from a query and it wasn't being log/handled anywhere. Once I fixed this problem, a second SFSB is NOT created. Still looking for why it calls the same method 3 times. Earnie! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096688#4096688 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096688 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How work with multiple processdefinition.xml and graphic
What is the recommended way to develop and organize many workflows for an application? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096683#4096683 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096683 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - How can I create an encoded URL to make a method call?
I'm trying to integrate PayPal checkout into a Seam application and need to be able to pass a URL to PayPal to call back to my application. I'm wondering if there's a facility in Seam (or JSF for that matter) that would allow me to pass an EL method reference, e.g. #{shoppingCart.setPayPalResults} to create a URL that will call my Seam component method. I have been looking at org.jboss.seam.ui.HtmlLink's encodeBegin() method and will hack through this, if necessary, but it seems there should be a much easier way to do this. Any help would be greatly appreciated. Thanks Rick View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096680#4096680 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096680 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Conversion/Validation error - other lists of entities in vie
I have a view that contains 4 separate backing beans, three of them being Lists of entities that are displayed using an tag. My problem is that if I get a conversion or validation error on the form, the fields within the datatables are reverted to their values from when the form was originally rendered, before the user potentially changed values. The only case where they are not reverted is if the conversion/validation error occurs on a field within a datatable. In such case, all entries rendered within that datatable retain the value that the user changed them to (a partial victory!). To extend that thought, if I purposefully enter one invalid entry within each datatable, the entire form is redisplayed with the exact values that I entered. Anyone have an idea why this is happening and what I can do to resolve it such that, if any conversion/validation error on any field, the entire form, including all datatables, is redisplayed with the data as I entered it? FYI, I had a theroy that Seam or JSF had difficulty handling a form with multiple backing beans. So, one thing I tried was to create a POJO to act as a backing bean, put all 4 of the previous backing beans within it, define a factory method to load the new backing bean, then change the view to reference the new, consilidated backing bean. Unfortunately, same result... Thanks for any help you can provide! Here's the code, after I combined the 4 backing beans... The view: 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:h="http://java.sun.com/jsf/html"; | xmlns:f="http://java.sun.com/jsf/core"; | xmlns:hob="http://keyfact2.collegeview.com/tags/jsfcomponents"; | xmlns:si="http://jboss.com/products/seam/selectitems/taglib"; | xmlns:a="https://ajax4jsf.dev.java.net/ajax"; | xmlns:rich="http://richfaces.ajax4jsf.org/rich"; | xmlns:s="http://jboss.com/products/seam/taglib"; | template="/template_school_ugTab.xhtml"> | | | | | | | | | | | | | | | | | Admissions Policy | | | | | | | | | | | Notification Policy | | | | | | | | | | | Registration Policy | | | | | | | |
[jboss-user] [JBossWS] - Re: Jbossws Tutorial.
Hi, abdujaparov is it possible for you to post here your complete code including how u make war file ... I am not able to see any error on server console but also not able to see my webservice on jbossws page. plz do help me out. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096681#4096681 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096681 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Complex Validation
Posted a few days ago: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=121416 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096679#4096679 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096679 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Hooking to JBoss Shutdown
Hello Dimitris, Thank you for the great suggestion. I tried it and worked, the only change needed was to set BarrierEnabledOnStartup to true. Now when I shutdown JBoss with shutdown script my code is working perfectly as the notification send just the moment the server begins shutdown action. The problem now is when the shutdown is activated through Ctrl + C the same problem occurs. I guess the "org.jboss.system.server.stopped" notification is not broad casted in this case. I am using JBoss 4.0.3SP1, but still the notification is not send when Shutdown is initiated using Ctrl + C. I saw a related issue in JIRA-2300(http://jira.jboss.com/jira/browse/JBAS-2300). How can I ensure safe clean up during JBoss shutdown using Ctrl+C also? Regards Arun View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096677#4096677 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096677 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - CrossContext jsessionid
Hi, I have two applications: One of them generates a session ID, executes some process, and in some situations, forwards to a jsp in another web application. I do this as a pluggable templating system. In this JSP I do some things, and return the requested page to the user, but although I do a encodeURL for every link in the page, jsessionid is not introduced in the urls. Looking at the code, I have seen this (org.apache.catalina.connector.Response), line 1413, method doIsEncodeable(req,res) | String contextPath = getContext().getPath(); | if (contextPath != null) { |String file = url.getFile(); |if ((file == null) || !file.startsWith(contextPath)) | return (false); |if( file.indexOf(";jsessionid=" + session.getIdInternal()) >= 0 ) | return (false); | } | Looking at this code, I assume it is IMPOSSIBLE to encode urls in different contexts. Is there a way to achieve this? Is this a bug, or expected behaviour? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096676#4096676 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096676 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - How to integrate fckfaces with seam?
How to integrate fckfaces with seam?kindly let me know what kind of configuration need to be done and which file need to be modified? Pls help, Thanks in advance ! regards!!! Henry Xu View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096673#4096673 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096673 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user