tag:blogger.com,1999:blog-30587633.comments2022-04-26T03:37:19.740+05:30My WikiJaikiranhttp://www.blogger.com/profile/08503182723143814781noreply@blogger.comBlogger400125tag:blogger.com,1999:blog-30587633.post-22881173406394112722018-05-11T20:52:13.851+05:302018-05-11T20:52:13.851+05:30@Alexandru, it looks like the blogger software ate...@Alexandru, it looks like the blogger software ate the (XML?) tag that you had in your question. What did you want to pass to the junitlauncher?<br /><br />P.S: If it's feasible for you, I think it's better to ask this question in the ant user mailing list https://ant.apache.org/mail.html. I keep a watch on those lists a bit more actively than here.<br />Jaikiranhttps://www.blogger.com/profile/08503182723143814781noreply@blogger.comtag:blogger.com,1999:blog-30587633.post-20575843569329977362018-05-03T20:08:30.281+05:302018-05-03T20:08:30.281+05:30Hi,
Is there any possiblity to pass a to the jun...Hi,<br /><br />Is there any possiblity to pass a to the junitlauncher?<br /><br />Thank you!Anonymoushttps://www.blogger.com/profile/02900192134687160264noreply@blogger.comtag:blogger.com,1999:blog-30587633.post-71746668261831716912018-02-22T21:14:26.036+05:302018-02-22T21:14:26.036+05:30I am really excited about the new roadmap and this...I am really excited about the new roadmap and this release. Great job!Adil Arifnoreply@blogger.comtag:blogger.com,1999:blog-30587633.post-29353850047521238602017-11-20T17:32:04.346+05:302017-11-20T17:32:04.346+05:30>> I searched online, find couple of Kafka p...>> I searched online, find couple of Kafka performance benchmark articles, they always state SSL performance usually has 30% decreasing compared with plaintext mode. But our Kafka SSL performance is only 20%-30% of plaintext performance. (We measured using 1k bytes msg size on 3 node cluster). Can you post the comparison for plaintext vs JRE SSL performance in your chart?<br /><br />Sophie,<br /><br />I don't have the exact numbers right now from our internal testing of SSL vs non-SSL performance. However, I do remember that it was around 25% degradation when we last tested it around an year back.Jaikiranhttps://www.blogger.com/profile/08503182723143814781noreply@blogger.comtag:blogger.com,1999:blog-30587633.post-29062673607701269532017-11-14T04:54:17.686+05:302017-11-14T04:54:17.686+05:30Just some additional info, when I tested with kafk...Just some additional info, when I tested with kafka producer perf script sending event to EB plaintext port (EB is configured with SSL on and inter broker communication is also using SSL), I can get 240k EPS. <br /><br />"10000000 records sent, <b>241435.090176</b> records/sec (230.25 MB/sec), 101.60 ms avg latency, 757.00 ms max latency, 77 ms 50th, 256 ms 95th, 337 ms 99th, 663 ms 99.9th." <br /><br />When the script sending events to SSL port, I only get 40-50k EPS.<br /><br />"5000000 records sent, <b>51666.236115</b> records/sec (49.27 MB/sec), 1168.51 ms avg latency, 4924.00 ms max latency, 512 ms 50th, 3656 ms 95th, 4302 ms 99th, 4632 ms 99.9th."Sophiehttps://www.blogger.com/profile/11791183695617360900noreply@blogger.comtag:blogger.com,1999:blog-30587633.post-10640384409706711422017-11-14T04:39:38.697+05:302017-11-14T04:39:38.697+05:30Thank you for posting this. Great article, very us...Thank you for posting this. Great article, very useful info. I was looking for these kind of performance data these days. We also see the performance issue when turn on SSL, we are using Kafka 0.11.0.0. I searched online, find couple of Kafka performance benchmark articles, they always state SSL performance usually has 30% decreasing compared with plaintext mode. But our Kafka SSL performance is only 20%-30% of plaintext performance. (We measured using 1k bytes msg size on 3 node cluster). Can you post the comparison for plaintext vs JRE SSL performance in your chart? I want to see whether it's our environment issue, or other factors causing our SSL performance issues. <br /><br />thanks <br /><br />Sophie Sophiehttps://www.blogger.com/profile/11791183695617360900noreply@blogger.comtag:blogger.com,1999:blog-30587633.post-16486705511829450422017-01-11T18:26:16.231+05:302017-01-11T18:26:16.231+05:30Hi Jaikiran,
My EJB is packaged as a JAR bundled ...Hi Jaikiran,<br /><br />My EJB is packaged as a JAR bundled inside EAR. One of MBean inside JAR is using EJB. Below is the structure of ear<br />EAR<br />-----META-INF<br /> -------application.xml<br /> -------jboss-classloading.xml<br /> -------META-INF<br />-----JAR<br /> --------EJB Bean<br /> --------MBean<br /><br />Note: JBoss version 5.2.*<br /><br /><br />During shutdown, jboss shutdow hook trying to stop ejb services. Before that Jboss shutdown hook unbinding ejb3registrar. Due to ejb3registrar unavailability while stoping service, jboss throwing exception.<br />org.jboss.ejb3.common.registrar.spi.NotBoundException: Could not retrieve Ejb3Registrar as a registrar implementation has not yet been bound.<br /><br />Can you tell me, how we can configure my ear so that it will undeploy first before unbinding ejb3registrar. Or is there any solition to the above problem.<br /><br />Thank you in advance!<br />Thanks<br />AsisAnonymoushttps://www.blogger.com/profile/00724114975321050176noreply@blogger.comtag:blogger.com,1999:blog-30587633.post-15858034490851224182015-09-24T03:04:27.314+05:302015-09-24T03:04:27.314+05:30Thank you for this post!
I could connect from a l...Thank you for this post! <br />I could connect from a local (Windows) box if I used "localhost" in the remote process, but not the IP address. The IP address started working after I made sure <interfaces> section of my server configuration file had this:<br /> <interface name="management"><br /> <inet-address value="${jboss.bind.address.management:127.0.0.1}"/><br /> </interface><br />AND of course I started my server with -Djboss.bind.address.management=[my host]<br />I'm pretty sure there are other solutions to this problem, but at least that's one that works.<br /><br />After that I still was not able to connect from a remote LINUX box. The trick was to remove quotes around the JBOSS_HOME variable while setting the CLASSPATH in the jconsole.sh script:<br /><br />WAS (doesn't work): CLASSPATH="$CLASSPATH:\""$JBOSS_HOME"\"/bin/client/jboss-cli-client.jar"<br />CHANGED TO (works): CLASSPATH="$CLASSPATH:"$JBOSS_HOME"/bin/client/jboss-cli-client.jar"Anonymoushttps://www.blogger.com/profile/11738972381323398982noreply@blogger.comtag:blogger.com,1999:blog-30587633.post-6344148588445689472015-08-31T13:34:50.424+05:302015-08-31T13:34:50.424+05:30As the client side login module not authenticating...As the client side login module not authenticating the user actually.It simply sending the credential to the jboss (as much as I have understood). Actual authentication is being made when ejb call is made. My question is - how does the jboss come to know about the credential when actual athentication is being made?<br /><br />Thanks in advance.Anonymoushttps://www.blogger.com/profile/17538780708548173377noreply@blogger.comtag:blogger.com,1999:blog-30587633.post-48063478842098002392015-08-21T09:55:52.097+05:302015-08-21T09:55:52.097+05:30Your articles very interesting friend,
a question...Your articles very interesting friend,<br /><br />a question, where is the class as the eclipse can not find it<br /><br /> ServiceFactory serviceFactory = ServiceFactory.newInstance();<br /><br />thanksAnonymoushttps://www.blogger.com/profile/11599265908340761253noreply@blogger.comtag:blogger.com,1999:blog-30587633.post-23634831098783964792015-07-03T13:29:36.426+05:302015-07-03T13:29:36.426+05:30Thank you so much. your post helped me a lot!Thank you so much. your post helped me a lot!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-30587633.post-39942744798112802882015-06-01T09:22:48.660+05:302015-06-01T09:22:48.660+05:30@stijndewitt You can use a portable JNDI name to p...@stijndewitt You can use a portable JNDI name to point to the datasource. Take a look at one such example here <a href="https://github.com/javaee-samples/javaee7-samples/blob/master/jpa/datasourcedefinition-webxml-pu/src/main/resources/META-INF/persistence.xml#L7" rel="nofollow">https://github.com/javaee-samples/javaee7-samples/blob/master/jpa/datasourcedefinition-webxml-pu/src/main/resources/META-INF/persistence.xml#L7</a>.<br /><br />There are more such examples in that github repo:<br /><br /><a href="javascript:void(0);" rel="nofollow">https://github.com/javaee-samples/javaee7-samples/tree/master/jpa</a> (JPA specific)<br />Jaikiranhttps://www.blogger.com/profile/08503182723143814781noreply@blogger.comtag:blogger.com,1999:blog-30587633.post-42540066069103543142015-05-30T18:01:04.962+05:302015-05-30T18:01:04.962+05:30>> tom thaler said...
>> Where is the ...>> tom thaler said...<br />>> Where is the persistence.xml stored?<br /><br />Inside the WAR.<br />Which we cannot alter (as it's a signed archive)<br />And should not contain container specific code...<br />Such as:<br /><br /> java:jboss/datasources/ExampleDS <br /> <br /> <br /> <br /> <br /> <br /><br />This snippet of config ties your code both to JBoss and to Hibernate.... Kinda makes you wonder what the whole point of EE and JPA was again????<br /><br />Can anyone, please, show a complete working example using code/config inside the WAR that is actually *portable*? I don't want to make 15 different WARs to be able to support 5 EE server types and 3 persistence providers.... :(Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-30587633.post-36140986565655852792015-04-27T18:22:05.322+05:302015-04-27T18:22:05.322+05:30This comment has been removed by the author.Anonymoushttps://www.blogger.com/profile/09520695535369376378noreply@blogger.comtag:blogger.com,1999:blog-30587633.post-72248958134186823952015-02-25T21:55:20.509+05:302015-02-25T21:55:20.509+05:30I know I'm commenting on an "old" ar...I know I'm commenting on an "old" article but one problem that I'm finding is that there're no samples available for the Wildfly specific deployment desciptors. For example, what'd be the schema declarations for jboss-ejb3.xml? Just changing the schema from java.sun.com to xmlns.jcp.org isn't valid.Abhijit Sarkarnoreply@blogger.comtag:blogger.com,1999:blog-30587633.post-59292859852774925012015-02-23T22:29:03.763+05:302015-02-23T22:29:03.763+05:30Doesn't work on WIldfly 8.2.0.Final.
https://d...Doesn't work on WIldfly 8.2.0.Final.<br />https://developer.jboss.org/message/919701#919701Abhijit Sarkarnoreply@blogger.comtag:blogger.com,1999:blog-30587633.post-83055479208315782902015-02-04T11:52:34.642+05:302015-02-04T11:52:34.642+05:30Nice jai,
Can you please write one blog on load ba...Nice jai,<br />Can you please write one blog on load balancing if possible for you??<br />Thanks!Bhaskarhttps://www.blogger.com/profile/14197613330546209098noreply@blogger.comtag:blogger.com,1999:blog-30587633.post-15317902649109867232014-12-14T00:53:24.347+05:302014-12-14T00:53:24.347+05:30Thanks Jai for the update, I keep checking your bl...Thanks Jai for the update, I keep checking your blogs for my technical hunger.. :)Bhaskarhttps://www.blogger.com/profile/14197613330546209098noreply@blogger.comtag:blogger.com,1999:blog-30587633.post-31519567705522067822014-11-07T13:35:32.483+05:302014-11-07T13:35:32.483+05:30That's right. Be sure to close the InputStream...That's right. Be sure to close the InputStream when you are done using it.<br />Jaikiranhttps://www.blogger.com/profile/08503182723143814781noreply@blogger.comtag:blogger.com,1999:blog-30587633.post-58839544157127341622014-11-07T11:34:40.128+05:302014-11-07T11:34:40.128+05:30It is also important to close the file which is op...It is also important to close the file which is opened in the finally blockVenkatRamannoreply@blogger.comtag:blogger.com,1999:blog-30587633.post-54767692947572114162014-10-25T13:19:18.295+05:302014-10-25T13:19:18.295+05:30Please create a forum thread here http://www.coder...Please create a forum thread here http://www.coderanch.com/forums/f-63/JBoss and provide all the relevant details like the JBoss/WildFly version you are using and the code snippets. Also post there, how you are deploying the applicationJaikiranhttps://www.blogger.com/profile/08503182723143814781noreply@blogger.comtag:blogger.com,1999:blog-30587633.post-79085061929086946272014-10-25T12:45:49.947+05:302014-10-25T12:45:49.947+05:30Hi Jai,
Im trying to lookup an application/Bean n...Hi Jai,<br /><br />Im trying to lookup an application/Bean name.While taking the jmx-console im not able to see the application in the jndi tree.My application is say x.ear and im trying to access a bean in x.ear from another module packed in y.war.Both of them are running on the same jboss.Pls helpAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-30587633.post-10175592256719537072014-07-24T14:30:59.105+05:302014-07-24T14:30:59.105+05:30Easy, simple and Understandable....Thanks
Easy, simple and Understandable....Thanks<br /><br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-30587633.post-82532651195327060742014-01-29T17:19:36.215+05:302014-01-29T17:19:36.215+05:30>> Where is the persistence.xml stored?
Tom...>> Where is the persistence.xml stored?<br /><br />Tom, In my example here, I used the approach of publishing the pre-built binary application to OpenShift. So the persistence.xml is already part of the .war binary. The EE spec mandates the persistence.xml to be at a specific location within the .war (.war/WEB-INF/classes/META-INF folder).<br />Jaikiranhttps://www.blogger.com/profile/08503182723143814781noreply@blogger.comtag:blogger.com,1999:blog-30587633.post-45939793473116240202014-01-29T15:50:03.575+05:302014-01-29T15:50:03.575+05:30Where is the persistence.xml stored? Is it similar...Where is the persistence.xml stored? Is it similar to standalone.xml so I have to get a copy from .openshift/config and then commit?Anonymoushttps://www.blogger.com/profile/03215849734067281549noreply@blogger.com