tag:blogger.com,1999:blog-4318921998224788049.comments2023-03-20T15:05:53.554+01:00Jean-Sébastien Franck Programming BlogJean-Sébastien FRANCKhttp://www.blogger.com/profile/07246386252869234767noreply@blogger.comBlogger34125tag:blogger.com,1999:blog-4318921998224788049.post-52652922647968444532022-04-27T11:29:50.746+02:002022-04-27T11:29:50.746+02:00ElasticSearch + Kibana database
Elasticsearch is ...ElasticSearch + Kibana database<br /><br />Elasticsearch is a free, open-source search and analytics engine based on the Apache Lucene library. It’s the most popular search engine and has been available since 2010. It’s developed in Java, supporting clients in many different languages, such as PHP, Python, C#, and Ruby.<br /><br />Kibana is an free and open frontend application that sits on top of the Elastic Stack, providing search and data visualization capabilities for data indexed in Elasticsearch. Commonly known as the charting tool for the Elastic Stack (previously referred to as the ELK Stack after Elasticsearch, Logstash, and Kibana), Kibana also acts as the user interface for monitoring, managing, and securing an Elastic Stack cluster — as well as the centralized hub for built-in solutions developed on the Elastic Stack. Developed in 2013 from within the Elasticsearch community, Kibana has grown to become the window into the Elastic Stack itself, offering a portal for users and companies.<a href="https://genexdbs.com/" rel="nofollow">ElasticSearch + Kibana database<br /></a><br /> our <a href="https://genexdbs.com/" rel="nofollow">ElasticSearch + Kibana database</a> expert skills & 24/7 dedicated support for stable clusters and achieve unparalleled performance and cost reduction along with stable data health. Experience our enterprise-class, worldwide support for Kibana integrated Elasticsearch & other stack.With years of direct, hands-on experience managing large Elasticsearch deployments, Genex efficiently supports data-analytics in real time. Take advantage of market-leading functionalities and Kibana visualizations on large data sets, with features including high available clusters, TLS, and RBACdddhttps://www.blogger.com/profile/03388268089116067125noreply@blogger.comtag:blogger.com,1999:blog-4318921998224788049.post-89441651778711203092022-02-28T10:25:07.596+01:002022-02-28T10:25:07.596+01:00The Star Grand at The Star Gold Coast - GoyangFC
T...The Star Grand at The Star Gold Coast - GoyangFC<br />The Star Grand at The <a href="https://www.goyangfc.com/%eb%a3%b0%eb%a0%9b%eb%b0%b0%ed%8c%85.html" rel="nofollow">토토꽁머니</a> Star Gold Coast <a href="https://www.casino-roll.com/%ec%95%84%ec%8b%9c%ec%95%88%eb%b6%80%ed%82%a4.html" rel="nofollow">케이 뱃</a> features a wide variety of dining, a <a href="https://www.poormansguidetocasinogambling.com/golden-star.html" rel="nofollow">강원 랜드 칩 걸썰</a> 24-hour casino and <a href="https://www.bsjeon.net/%EB%B0%94%EC%B9%B4%EB%9D%BC%EC%B6%94%EC%B2%9C%EC%82%AC%EC%9D%B4%ED%8A%B8.html" rel="nofollow">바카라프로그램</a> a nightclub. The Star Grand at The Star Gold <a href="https://baccaratsites777.com/%eb%a8%b9%ed%8a%80-%ec%82%ac%ec%9d%b4%ed%8a%b8-%ec%a1%b0%ed%9a%8c.html" rel="nofollow">강원 랜드 떡</a> Coast iswhittneypacinihttps://www.blogger.com/profile/05271707126591473013noreply@blogger.comtag:blogger.com,1999:blog-4318921998224788049.post-58334419492896089692022-02-03T12:21:32.392+01:002022-02-03T12:21:32.392+01:00Caesars Casino Bonus Code - Aprcasino.com
When you...Caesars Casino Bonus Code - Aprcasino.com<br />When you sign up at the Caesars Casino in Las Vegas, you'll be able to <a href="https://aprcasino.com/" rel="nofollow">카지노 사이트 가입</a> play games like blackjack, roulette, and more at the top of the Caesarsgaggerjacobuccihttps://www.blogger.com/profile/16645853489194035724noreply@blogger.comtag:blogger.com,1999:blog-4318921998224788049.post-47919976412549414342019-11-14T14:45:06.872+01:002019-11-14T14:45:06.872+01:00Merci! This worked for me on .Net Core web pages w...Merci! This worked for me on .Net Core web pages where the CSRF name was <br /><input name="__RequestVerificationToken" instead of verificationTokenAnonymoushttps://www.blogger.com/profile/17765126457237198622noreply@blogger.comtag:blogger.com,1999:blog-4318921998224788049.post-12132231556728921222019-03-25T08:59:36.613+01:002019-03-25T08:59:36.613+01:00Hi Jean-Sébastien FRANCK,
i tried with regex to ca...Hi Jean-Sébastien FRANCK,<br />i tried with regex to capture CSRF but the request is getting failed<br /><br />.check(<br /> regex("""&gtinput name="verificationToken" type="hidden" value="([^"]*)" / &lt""")<br /> .saveAs("requestVerificationToken")))<br /><br />same thing which i used for configuring CSRF <br /><br />Thanks in advance <br /><br />any help or suggestions are appreciable Anonymoushttps://www.blogger.com/profile/02488641798224696043noreply@blogger.comtag:blogger.com,1999:blog-4318921998224788049.post-35596717095282894112017-05-02T09:37:23.378+02:002017-05-02T09:37:23.378+02:00Congratulations guys, quality information you have...Congratulations guys, quality information you have given!!!..Its really useful blog. Thanks for sharing this useful information<br /><a href="http://www.bestjavatraining.in/" rel="nofollow"> java training institutes in chennai </a>| <a href="http://www.bestjavatraining.in/" rel="nofollow">java j2ee training institutes in velachery<br /></a><br />Anonymoushttps://www.blogger.com/profile/13662377101256298223noreply@blogger.comtag:blogger.com,1999:blog-4318921998224788049.post-81925599216177025132016-09-26T09:17:13.601+02:002016-09-26T09:17:13.601+02:00Hi i added jacocoTestReport {
reports {
html.enabl...Hi i added jacocoTestReport {<br />reports {<br />html.enabled = true<br />html.destination "${buildDir}/jacocoHtml"<br />}<br />}<br />but i am not able to see jacocoHtml directory why?Anonymoushttps://www.blogger.com/profile/11877451407786614732noreply@blogger.comtag:blogger.com,1999:blog-4318921998224788049.post-39421762417235212662016-03-06T20:09:01.961+01:002016-03-06T20:09:01.961+01:00Variants 1 and 2 doesn't change the way you in...Variants 1 and 2 doesn't change the way you interact with a form but how you write your assertions. So you can refer to the main example for that :)Jean-Sébastien FRANCKhttps://www.blogger.com/profile/07246386252869234767noreply@blogger.comtag:blogger.com,1999:blog-4318921998224788049.post-62700233425147467162016-03-06T20:05:38.657+01:002016-03-06T20:05:38.657+01:00Hi, more information on __util__ available here : ...Hi, more information on __util__ available here : http://docs.casperjs.org/en/latest/modules/clientutils.htmlJean-Sébastien FRANCKhttps://www.blogger.com/profile/07246386252869234767noreply@blogger.comtag:blogger.com,1999:blog-4318921998224788049.post-2052245401120290352016-03-04T17:48:29.010+01:002016-03-04T17:48:29.010+01:00Hey how would you apply variant two to filling dat...Hey how would you apply variant two to filling data or clicking a button? And where could we look for more information on how to implement functionality with __util__. within casper?Anonymoushttps://www.blogger.com/profile/10103181611684581005noreply@blogger.comtag:blogger.com,1999:blog-4318921998224788049.post-39624097601774034972015-11-30T10:37:42.237+01:002015-11-30T10:37:42.237+01:00I'm glad you resolved your problem. Good luck ...I'm glad you resolved your problem. Good luck :)Jean-Sébastien FRANCKhttps://www.blogger.com/profile/07246386252869234767noreply@blogger.comtag:blogger.com,1999:blog-4318921998224788049.post-26112464078725542112015-11-30T01:51:50.156+01:002015-11-30T01:51:50.156+01:00Oh, nevermind. Works :DOh, nevermind. Works :DDomeniconihttps://www.blogger.com/profile/09462179196025506811noreply@blogger.comtag:blogger.com,1999:blog-4318921998224788049.post-5900584877493096022015-11-29T17:51:25.635+01:002015-11-29T17:51:25.635+01:00Hi, I am getting a "ReferenceError: Can't...Hi, I am getting a "ReferenceError: Can't find variable: LoginPage " when creating the var loginPage = new LoginPage();<br /><br />Looks like there is something missing!Domeniconihttps://www.blogger.com/profile/09462179196025506811noreply@blogger.comtag:blogger.com,1999:blog-4318921998224788049.post-67838591618126089632015-07-08T14:21:09.952+02:002015-07-08T14:21:09.952+02:00Hi, I wonder if you might have advice for me, I...Hi, I wonder if you might have advice for me, I'm getting the error JBAS014154: Failed to marshal EJB parameters. The problem is I have a CMR relationship. When I try and pass one EJB object to the create method of another EJB method to set the relationship, it can't marshal up remote objects. This code used to work for me with some older version of jboss, so the code itself is basically sound. I think I have to do something different to not get a remote object but rather a local object so it doesn't try and marshal it. As I understand it, whenever you do a lookup on "java:global...." it gets a remote object, but I can't find out how to do a lookup and get a local object.Johnhttps://www.blogger.com/profile/02977287092917957220noreply@blogger.comtag:blogger.com,1999:blog-4318921998224788049.post-46263279351144495542014-09-15T11:09:56.663+02:002014-09-15T11:09:56.663+02:00Hi,When i tried this example without Entity bean t...Hi,When i tried this example without Entity bean then it was running properly but when i implement Entity bean logic and tried to connect my developement database(Oracle 11g) that time i am getting error like<br /><br />12:58:09,660 INFO [org.jboss.ejb.client] (http--127.0.0.1-8080-1) JBoss EJB Client version 1.0.5.Final<br />12:58:09,687 ERROR [stderr] (http--127.0.0.1-8080-1) javax.naming.NameNotFoundException: WarWithEJB2/MemberEJB!com.jsebfranck.jboss.ejb2.entity.MemberHome -- service jboss.naming.context.java.global.WarWithEJB2."MemberEJB!com.jsebfranck.jboss.ejb2.entity.MemberHome"<br />12:58:09,690 ERROR [stderr] (http--127.0.0.1-8080-1) at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:97)<br />12:58:09,691 ERROR [stderr] (http--127.0.0.1-8080-1) at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:178)<br />12:58:09,692 ERROR [stderr] (http--127.0.0.1-8080-1) at org.jboss.as.naming.InitialContext.lookup(InitialContext.java:123)<br />12:58:09,694 ERROR [stderr] (http--127.0.0.1-8080-1) at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:214)<br />12:58:09,695 ERROR [stderr] (http--127.0.0.1-8080-1) at javax.naming.InitialContext.lookup(InitialContext.java:392)<br />12:58:09,696 ERROR [stderr] (http--127.0.0.1-8080-1) at com.jsebfranck.jboss.servlet.Ejb2Servlet.doGet(Ejb2Servlet.java:29)<br />12:58:09,697 ERROR [stderr] (http--127.0.0.1-8080-1) at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)<br />12:58:09,698 ERROR [stderr] (http--127.0.0.1-8080-1) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)<br />12:58:09,699 ERROR [stderr] (http--127.0.0.1-8080-1) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)<br />12:58:09,716 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/WarWithEJB2].[Ejb2Servlet]] (http--127.0.0.1-8080-1) Servlet.service() for servlet Ejb2Servlet threw exception: java.lang.RuntimeException: javax.naming.NameNotFoundException: WarWithEJB2/MemberEJB!com.jsebfranck.jboss.ejb2.entity.MemberHome -- service jboss.naming.context.java.global.WarWithEJB2."MemberEJB!com.jsebfranck.jboss.ejb2.entity.MemberHome"<br /> at com.jsebfranck.jboss.servlet.Ejb2Servlet.doGet(Ejb2Servlet.java:34) [classes:]<br /> at javax.servlet.http.HttpServlet.service(HttpServlet.java:734) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]<br /> at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]<br /> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]<br /> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]<br /> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]<br />Caused by: javax.naming.NameNotFoundException: WarWithEJB2/MemberEJB!com.jsebfranck.jboss.ejb2.entity.MemberHome -- service jboss.naming.context.java.global.WarWithEJB2."MemberEJB!com.jsebfranck.jboss.ejb2.entity.MemberHome"<br /> at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:97)<br /> at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:178)<br /> at org.jboss.as.naming.InitialContext.lookup(InitialContext.java:123)<br /> at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:214)<br /> at javax.naming.InitialContext.lookup(InitialContext.java:392) [rt.jar:1.6.0_06]<br /> at com.jsebfranck.jboss.servlet.Ejb2Servlet.doGet(Ejb2Servlet.java:29) [classes:]<br /> ... 15 more<br />Please help me out...Anonymoushttps://www.blogger.com/profile/10315503426576887423noreply@blogger.comtag:blogger.com,1999:blog-4318921998224788049.post-86981556434818375442014-06-24T21:28:28.680+02:002014-06-24T21:28:28.680+02:00Summary:
We currently have a testing framework usi...Summary:<br />We currently have a testing framework using Selenium with PhantomJS as the browser. We would like transition from using Selenium to using solely PhantomJS. We have a large number of selenium tests that are built on a framework that uses XML to create the test inputs. Instead of rewriting all these test scripts in CasperJS, we would like to build a framework around the XML. The framework would dynamically generate the CasperJS instead of writing static CasperJS scripts. In order to accomplish this we require software that can read the XML and generate the appropriate CasperJS, to be written in NodeJS<br />Anonymoushttps://www.blogger.com/profile/12861163091406849024noreply@blogger.comtag:blogger.com,1999:blog-4318921998224788049.post-52078706969060918272014-06-24T21:27:30.928+02:002014-06-24T21:27:30.928+02:00Hello Jean-Sebastien
I found a few very informati...Hello Jean-Sebastien<br /><br />I found a few very informative posts by you on the internet and wanted to see if you might be interested in a small initiative. We are looking to build a CasperJS framework (summary attached below) and I wanted to reach out to get your feedback and interest. If you are interested, please let us know what your rate would be for the entire project, if you were to bid for it. Hope to hear from you.<br /><br />Regards,<br />Ron<br />casperjsfw@gmail.comAnonymoushttps://www.blogger.com/profile/12861163091406849024noreply@blogger.comtag:blogger.com,1999:blog-4318921998224788049.post-86828472368498680062014-05-07T19:11:59.155+02:002014-05-07T19:11:59.155+02:00Hi,
Can you please tell me, does your reports let...Hi,<br /><br />Can you please tell me, does your reports let you see details like what are the lines in a class that are covered? I am having some issues in this sense as only the coverage percent is shown?<br /><br />I'd really appreciate a reply. <br /><br />Thank youAnonymoushttps://www.blogger.com/profile/06270883985743204872noreply@blogger.comtag:blogger.com,1999:blog-4318921998224788049.post-34998494207827499262014-03-18T17:28:40.924+01:002014-03-18T17:28:40.924+01:00Hey that was a very nice introduction to the topic...Hey that was a very nice introduction to the topic. I've been used to working with PO's in Selenium tests and they are a great way to distinct Tests from Business-Logic.<br /><br />After working with your example I found some things missing here. Maybe you could include how to work with distributed files where lets say the Tests are in test.js and the PO in po.js.<br /><br />my humble approach was something like this:<br /><br />po.js:<br />// need to override global require as of PhantomJS implementation<br />var require = patchRequire(require);<br /><br />// the page object is responsible to provide structured actions only<br />// no test-assertions are made in here.<br />// The benefit of this approach is that tests now can be written in a re-usable way<br />// by simply grabbing the necessary pieces of the PO.<br />var PO_General = function(casper) {<br /> var self = this;<br /> self.casper = casper;<br /><br /> if(casper === undefined || casper === null) {<br /> throw "Casper instance not provided as constructor-argument for page object!";<br /> }<br /><br /> self.myAction = function() {<br /> // Do your business logic<br /> self.casper.evaluate(function() {<br /> ...<br /> }); <br /> };<br />};<br /><br />exports.PageObject = PO_General;<br /><br />test.js:<br /><br />casper.test.begin('Execute Action from PO', 1, new function(){<br /> this.setUp = function() {<br /> // self-executing function to get the PageObject instance required + initialized at the same time<br /> this.PO_General = function() {<br /> var PageObjectDefintion = require('./PO_General').PageObject; <br /> return new PageObjectDefintion(casper);<br /> }();<br /> };<br /> <br /> this.test = function(test) {<br /> var self = this;<br /> <br /> casper.start('http://localhost:3000');<br /><br /> casper.then(function() {<br /> // execute the Page Object Action<br /> self.PO_General.myAction();<br /> });<br /><br /> casper.run(function(){<br /> test.done();<br /> })<br /> }<br /> <br />});Zewahttps://www.blogger.com/profile/09625226762753874321noreply@blogger.comtag:blogger.com,1999:blog-4318921998224788049.post-11896431105095196722014-02-22T16:31:40.806+01:002014-02-22T16:31:40.806+01:00Hi,
For a manual invocation of jacocoTestReport, ...Hi,<br /><br />For a manual invocation of jacocoTestReport, you must add the following lines in your build.gradle file :<br /><br /> jacocoTestReport {<br /> reports {<br /> html.enabled = true<br /> html.destination "${buildDir}/jacocoHtml"<br /> }<br /> }<br /><br />-> It will generate the report in a jacocoHtml directory.<br /><br />And in jenkins, in order to update sonar data, you have to launch the task "gradle test integTest jacoco sonarRunner".<br /><br />Cheers!Jean-Sébastien FRANCKhttps://www.blogger.com/profile/07246386252869234767noreply@blogger.comtag:blogger.com,1999:blog-4318921998224788049.post-26336953380312760892014-02-17T09:49:24.502+01:002014-02-17T09:49:24.502+01:00Hi! Thank you for the article!
How can I do the sa...Hi! Thank you for the article!<br />How can I do the same for<br />1) manual invocation of jacocoTestReport ?<br />2) in Jenkins ?Я здесь случайноhttps://www.blogger.com/profile/02259701043546956417noreply@blogger.comtag:blogger.com,1999:blog-4318921998224788049.post-47637685866052227642014-01-28T14:57:54.044+01:002014-01-28T14:57:54.044+01:00Thanks for your reply and I actually am using Ecli...Thanks for your reply and I actually am using Eclipse and I am using the standalone-full.xml configuration. Remember the ejbs are inside the war as you have stated and only the war is deployed. Am I missing something. Can you share your deployed war? The other question I wanted to ask is does it use the jboss-ejb-client.properties internally as stated in the link below https://docs.jboss.org/author/display/AS72/EJB+invocations+from+a+remote+client+using+JNDI<br /><br />fastluckymanhttps://www.blogger.com/profile/03853931273610544194noreply@blogger.comtag:blogger.com,1999:blog-4318921998224788049.post-2844169185030948032014-01-24T23:10:53.770+01:002014-01-24T23:10:53.770+01:00Are you sure to launch your jboss server with the ...Are you sure to launch your jboss server with the standalone-full configuration? --> standalone.sh --server-config=standalone-full.xmlJean-Sébastien FRANCKhttps://www.blogger.com/profile/07246386252869234767noreply@blogger.comtag:blogger.com,1999:blog-4318921998224788049.post-73393526226834894542014-01-24T09:37:25.188+01:002014-01-24T09:37:25.188+01:00Hi, thanks a lot for your tutorial! I'm actual...Hi, thanks a lot for your tutorial! I'm actually facing a similar challenge: migrate an ejb 2 application (swing client) from Jboss 4 to Jboss 7.<br />I was able to run your code locally, but I tried to connect the session bean using a remote client instead of a Servlet.<br /><br />This is how I did: <br />Hashtable properties = new Hashtable();<br />properties.put(Context.URL_PKG_PREFIXES, "org.jboss.ejb.client.naming");<br />properties.put(Context.PROVIDER_URL, "remote://localhost:4447");<br />properties.put("jboss.naming.client.connect.options.org.xnio.Options.SASL_POLICY_NOPLAINTEXT", "false");<br /><br />InitialContext ic = new InitialContext(properties);<br />Object o = ic.lookup("ejb:j7e2/j7e2-ejb-1.0.0//HelloWorldEJB!be.mil.ejb2.session.HelloWorldEJBHome");<br />HelloWorldEJBHome helloWorldEJBHome = (HelloWorldEJBHome) o;<br />HelloWorldEJB helloWorldEjb = helloWorldEJBHome.create();<br /><br />... and here comes the error: java.lang.IllegalStateException: No EJB receiver available for handling [appName:j7e2,modulename:j7e2-ejb-1.0.0,distinctname:]<br /><br />I'm nearly sure about my appName/modulename as my bean deployed like this in jboss:<br />java:global/j7e2/j7e2-ejb-1.0.0/HelloWorldEJB!be.mil.ejb2.session.HelloWorldEJBHome<br /><br />Any Idea?Anonymoushttps://www.blogger.com/profile/17373343950792154194noreply@blogger.comtag:blogger.com,1999:blog-4318921998224788049.post-38893948426090004312014-01-21T23:24:04.254+01:002014-01-21T23:24:04.254+01:00I tried this example and for some reason my ejb is...I tried this example and for some reason my ejb is not detected as I don't see the information below and ultimately i get the error javax.naming.NameNotFoundException..<br /><br />19:07:56,689 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "WarWithEJB2.war"<br />19:07:57,069 INFO [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-4) JNDI bindings for session bean named MemberEJB in deployment unit deployment "WarWithEJB2.war" are as follows:<br /><br /> java:global/WarWithEJB2/MemberEJB!com.jsebfranck.jboss.ejb2.entity.Member<br /> java:app/WarWithEJB2/MemberEJB!com.jsebfranck.jboss.ejb2.entity.Member<br /> java:module/MemberEJB!com.jsebfranck.jboss.ejb2.entity.Member<br /> java:global/WarWithEJB2/MemberEJB!com.jsebfranck.jboss.ejb2.entity.MemberHome<br /> java:app/WarWithEJB2/MemberEJB!com.jsebfranck.jboss.ejb2.entity.MemberHome<br /> java:module/MemberEJB!com.jsebfranck.jboss.ejb2.entity.MemberHomefastluckymanhttps://www.blogger.com/profile/03853931273610544194noreply@blogger.com