Fwd: [Arun]Proposal for reviewing a book on 'Wildfly: New Features' for Packt Publishing
by Arun Gupta
Anybody interested in reviewing this book ?
Let me know and I'll connect.
---------- Forwarded message ----------
From: Deepti Thore <deeptit(a)packtpub.com>
Date: Thu, Mar 6, 2014 at 10:42 PM
Subject: [Arun]Proposal for reviewing a book on 'Wildfly: New
Features' for Packt Publishing
Pleased to meet you!
I am Deepti Thore, an Author Acquisition Executive at Packt. Packt
Publishing is a print-on-demand publishing company which specializes
in publishing books based on specific technologies and solutions. You
can find more information about us at http://www.packtpub.com.
This mail is regarding the proposal for Reviewing a book. The title of
the book is "Wildfly: New Features".
The total page count of the book would be approximately 100 pages.
I researched your profile, and felt that you would be an ideal person
to review this book for us.
The reader of this book will learn about all the new features of
Wildfly with small coded examples.
The target audience for the book would be JBOss AS7 developers who
want to know all the new features of Wildfly.
As a token of thanks, your name and biography would be included in the
"About the Reviewer" section in the first few pages of the book.
You will also be receiving two copies of the book: one eBook or print
copy of the book you review and an eBook of your choice from our
For more details regarding reviewing, please visit
If you are interested in this proposal, then please let me know at the
earliest. I would be happy to answer any questions you may have.
Author Acquisition Executive|Packt Publishing| www.packtpub.com
Interested in becoming an author? Visit http://authors.packtpub.com
for all the information you need about writing for Packt.
Gathering diagnostic data
by James Livingston
I do support for JBoss at RH, especially lower level components like the
JVM and core server, and I've come to realise that we don't have
particularly good mechanisms for gathering diagnostic data. Obviously
there is logging, but for a number of problems it isn't enough. There is
also the JDR subsystem, but that has the serious limitation that the
server instance(s) have to be working correctly to use it.
One piece of data that I think can be useful for a common set of
problems are thread dumps. For standalone instances Oracle/OpenJDK's
'jstack' tool is useful, but for domain mode you need to manually go to
each machine and find the correct process ID to use it. Something that
could potentially be useful is to be able to tell Host Controllers to
take a thread dump from the servers it manages (or all of them), using
the same Attach/SA APIs as jstack.
A feature to allow HC-based extensions as mentioned in the thread about
the RHQ agent could be useful for implementing this too. Right now, I
believe it would need to be added to the HC code directly.
Is this something that might be possible or a good idea to do? I have
some ideas about other things that may be useful, like per-thread CPU
usage which RH support currently uses a pile of shell scripts for, but
starting with one thing may be simpler.
James "Doc" Livingston
JBoss Support Engineering Group
Issue with HTTP upgrade for remote naming on OpenShit?
by Jeff Mesnil
Now we have an OpenShift cartridge for WildFly 8.0.0.Final (hanks Farah!), I’m adding instructions to the JMS quickstarts to deploy them on OpenShift.
The helloworld-mdb is working fine but I have an issue with the helloworld-jms one.
In this quick start, the Java client makes a lookup to JNDI to retrieve the JMS resources.
The quickstart uses the “http-remoting://localhost:8080” as the JNDI provider URL for a local WildFly server.
When I host WildFly on OpenShift, that URL should translate to http-remoting://<app>-<namespace>.rhcloud.com:80 (in my case http-remoting://helloworldjms-jmesnil.rhcloud.com:80)
However this does not work:
$ mvn clean compile exec:java -Djava.naming.provider.url=http-remoting://helloworldjms-jmesnil.rhcloud.com:80
Feb 17, 2014 3:28:46 PM org.xnio.Xnio <clinit>
INFO: XNIO version 3.2.0.Final
Feb 17, 2014 3:28:46 PM org.xnio.nio.NioXnio <clinit>
INFO: XNIO NIO Implementation Version 3.2.0.Final
Feb 17, 2014 3:28:46 PM org.jboss.remoting3.EndpointImpl <clinit>
INFO: JBoss Remoting version 4.0.0.Final
Feb 17, 2014 3:28:46 PM org.jboss.as.quickstarts.jms.HelloWorldJMSClient main
INFO: Attempting to acquire connection factory "jms/RemoteConnectionFactory"
Feb 17, 2014 3:28:47 PM org.jboss.as.quickstarts.jms.HelloWorldJMSClient main
SEVERE: Failed to connect to any server. Servers tried: [http-remoting://helloworldjms-jmesnil.rhcloud.com:80 (java.io.IOException: Invalid response code 200)]
Remote naming is correctly complaining that the HTTP Upgrade handshake responded with a 200 OK instead of a 100 Continue.
Indeed, the deployed WildFly server does not upgrade my connection. You can check by hand using curl:
$ curl -v http://helloworldjms-jmesnil.rhcloud.com -H 'Connection:upgrade' -H 'Upgrade:jboss-remoting' -H 'Sec-JbossRemoting-Key: Xj8ZjttC3aixB1bAZ9w39A=='
* Connected to helloworldjms-jmesnil.rhcloud.com (22.214.171.124) port 80 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.30.0
> Host: helloworldjms-jmesnil.rhcloud.com
> Accept: */*
> Sec-JbossRemoting-Key: Xj8ZjttC3aixB1bAZ9w39A==
< HTTP/1.1 200 OK
< Date: Mon, 17 Feb 2014 14:23:37 GMT
* Server Wildfly 8 is not blacklisted
< Server: Wildfly 8
< Last-Modified: Mon, 17 Feb 2014 14:20:22 GMT
< X-Powered-By: Undertow 1
< Content-Type: text/html
< Content-Length: 41708
< Vary: Accept-Encoding
[Home Page content follows]
The undertow’s http-listener is the default one;
<http-listener name="default" socket-binding="http" proxy-address-forwarding="true”/>
I tried removing the proxy-address-forwarding attribute but that did not change anything.
Has someone managed to use remote naming with WildFly on OpenShift?
Am I missing something obvious to make it run?
JBoss, a division of Red Hat
GSoc aspirant wishing to seek valuable guide regarding JBoss AS 7(wildfly) quickstarts project.
by Giriraj Sharma
Hii,I am Giriraj Sharma, a dedicated GSoc'14 aspirant(3 years' experience
in JavaSE+1.5 year's experience in JavaEE) from Dept. of Computer Science,
National Institute of Technology, HP, India, interested in making valuable
contribution to the project* JBoss AS Quickstarts : JBoss AS
management,services and modules*(
listed in JBoss GSoc 2014 ideas Page.
I was initially interested in contributing quickstarts for hibernate ORM
with JBoss AS. It was mentioned as a proposed project on the ideas page. I
forked *jboss-developer/jboss-eap-quickstarts* repository from github a few
weeks back and I read the guide to contributing to a quickstart (
http://www.jboss.org/jdf/quickstarts/get-involved/).* I have been actively
committing on git repository
<https://github.com/jboss-developer/jboss-eap-quickstarts>) since past
15-20 days. One of my commit has been merged and my several other(11)
commits are under code review.* But,I recently came to know that hibernate
quickstarts have been removed form GSoc 2014 JBoss project ideas page.The
mentors told me that it was listed in GSoc 2014 ideas page because it was
copy-pasted from GSoc 2013 ideas page but is not a part of GSoc 2014
ideas.This project is removed in the new modified list of GSoc 2014 ideas.
The project proposal *JBoss AS Quickstarts : JBoss AS management,services
and modules *is still a part of *GSoc 2014 JBoss ideas* Page.I am really
enthusiastic about contributing quickstarts for JBoss AS as it will let me
help in understanding the architecture and scripting down the server. I am
currently reading through the documentation of JBoss AS *Admin Guide*
<https://docs.jboss.org/author/display/AS7/Documentation>. *I have also
forked up the wildfly/wildfly repository (wildfly/wildfly ·
and read contribution guide (Hacking on
Basically, I am a newbie but, an application developer for J2EE
technologies. I have used JBoss AS 7 for my past projects but here I shall
be dealing with JBoss AS itself.* I wish to have a bit of your guidance so
as how to start up working upon JBoss AS quickstarts and is the project
proposal about working on quickstarts(demo applications) or is it about
actually writing code/patches for JBoss AS. Please give me brief details
about how I may start up contributing for this project proposal.*
Department of Computer Science
National Institute of Technology Hamirpur