Coding style formatter for Idea
by Michael Musgrove
There's a bunch of config files for code formatting in the directory
ide-configs for Eclipse and Netbeans users.
Does anyone have something similar for idea they'd like to donate (there
is a config for inspections but not for formatting)?
12 years, 11 months
XML comments in standalone.xml
by Anil Saldhana
Hi all,
this may have already been discussed. If so, apologies.
I am wondering if it is a good idea to retain the xml comments in
standalone.xml when it gets written back.
The reason I am asking is the user may temporarily disable a particular
section of the configuration. When the file gets rewritten, currently
the commented out section is erased.
Regards,
Anil
12 years, 11 months
Results of CLI commands
by Panzer, Robert
Hi,
I surely missed discussions about this, but playing aroung with the CLI I was wondering why the format of the output is somehow similar to JSON but not exactly like it.
For example for a command like this:
/subsystem=datasources/xa-data-source=JDBC_XA_DATASOURCE/:write-attribute(name=min-pool-size,value=10)
I get this response:
{
"outcome" => "success",
"response-headers" => {"process-state" => "reload-required"}
}
Wouldn't it be nice to have a response like this?
{
outcome : "success",
response-headers : { process-state : "reload-required"}
}
Surely a stupid question but I was just wondering.
Kind regards,
Robert
WINCOR NIXDORF International GmbH
Sitz der Gesellschaft: Paderborn
Registergericht Paderborn HRB 3507
Geschäftsführer: Eckard Heidloff (Vorsitzender), Stefan Auerbach, Dr. Jürgen Wunram
Vorsitzender des Aufsichtsrats: Karl-Heinz Stiller
Steuernummer: 339/5884/0020 - Ust-ID Nr.: DE812927716 - WEEE-Reg.-Nr. DE44477193
Diese E-Mail enthält vertrauliche Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben,
informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.
This e-mail may contain confidential information.
If you are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail.
Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
12 years, 11 months
startup argument changed ?
by Max Rydahl Andersen
Hi,
Just got https://issues.jboss.org/browse/JBIDE-10663 reported which indicates recent AS 7.1 final builds have changed its startup arguments, i.e. -logmodule causing failure to start.
Any info on what has changed and if that change is/was intentional would be great since as I recall that argument have been required until now thus we include it and
if it will cause 7.1.0 to fail then our recent JBoss tools and developer studio M5 users will not be able to run AS 7.1.0 without manually changing the launch setup ;(
Any info appreciated - thanks!
/max
http://about.me/maxandersen
12 years, 11 months
Problem met on as7 clustering with mod_cluster
by Weinan Li
Hi,
I've tried to play AS7 with clustering mode and seems failed on last step. Here's what I did:
1. Prepare two hosts: one is 'master' (10.0.2.3), the other one is 'slave' (10.0.2.2)
2. 'master' is domain controller
3. deploy a 'hello-world' web app into domain. The project is extremely simple: just a index.jsp and web.xml. In web.xml there is a <distributable/>.
4. The contents in index.jsp:
<% System.out.println( "Evaluating date now" ); java.util.Date date = new java.util.Date(); %>
5. Start two hosts, the domain seems run correctly, and the web-app is deployed correctly in domain. From log from both 'master' and 'slave', they are all fine:
slave log: [Server:server-three-slave] 12:25:18,673 INFO [stdout] (MSC service thread 1-2) GMS: address=server-three-slave/web, cluster=web, physical address=10.0.2.2:55450
master log: [Server:server-three] 12:25:12,885 INFO [stdout] (MSC service thread 1-1) GMS: address=server-three/web, cluster=web, physical address=10.0.2.3:55450
6. Start apache httpd with mod_cluster setup, and seeing from the log everything is fine:
httpd log: [Wed Jan 18 12:13:25 2012] [notice] Digest: done
[Wed Jan 18 12:13:25 2012] [notice] Advertise initialized for process 11716
[Wed Jan 18 12:13:25 2012] [notice] Apache/2.2.15 (Unix) DAV/2 mod_cluster/1.1.x configured -- resuming normal operations
master log: [Server:server-three] 12:25:21,339 INFO [org.jboss.modcluster.ModClusterService] (ContainerBackgroundProcessor[StandardEngine[jboss.web]]) Engine [jboss.web] will use jvmRoute: b5c2598e-49fb-3c4b-996c-f3451747f44a
7. the httpd is run on 10.0.2.3
8. try to access cluster from http://10.0.2.3/demo, it redirects me to: http://10.0.2.3:8330/demo, and I could see the 'hello world' projects page. Seems everything is fine, domain works, cluster works, and web project in jboss domain can be accessed correctly via mod_cluster. BUT here is the problem:
There's some communication problem between mod_cluster on 'master' (10.0.2.3) and the host on 'slave' (10.0.2.2), if the jboss host on 'slave' is run and registered into domain controller, mod_cluster begins to throw error:
% tail -f /etc/httpd/logs/error_log
[Wed Jan 18 01:21:59 2012] [error] (111)Connection refused: proxy: http: attempt to connect to 127.0.0.1:8330 (localhost) failed
[Wed Jan 18 01:21:59 2012] [error] ap_proxy_connect_backend disabling worker for (localhost)
[Wed Jan 18 01:22:00 2012] [error] proxy: http: disabled connection for (localhost)
So the result becomes that only 'master' is serving the request from http://10.0.2.3/demo
This could be seen when we access the index.jsp in demo project, because in jsp we have:
<% System.out.println( "Evaluating date now" ); java.util.Date date = new java.util.Date(); %>
We can only see the log output in 'master':
[Server:server-three] 12:15:33,041 INFO [stdout] (http--10.0.2.3-9138-1) Evaluating date now
And I've tried to use multiple web browsers / different computers to access the cluster, all I can see is that only 'master' is serving the requests, 'slave' is idle all the time.
I'm using jboss-as-7.1.0.CR1b in my environment (there are bugs in previous version in infinispan/as7 integration on clustering). And I'm using mod_cluster-1.1.3.Final-linux2-x86-so.tar.gz for httpd part.
And here's my mod_cluster conf:
Listen 10.0.2.3:6666
<VirtualHost 10.0.2.3:6666>
<Directory />
Order deny,allow
Deny from all
Allow from 10.0.2.
</Directory>
KeepAliveTimeout 60
MaxKeepAliveRequests 0
ManagerBalancerName other-server-group
AdvertiseFrequency 5
</VirtualHost>
I can ensure that domain are set correctly. So I believe the problem should be in mod_cluster/as7 integration part. But I cannot find what I'm doing wrong on my configurations, can anyone help?
Cheers,
- Weinan Li
JBoss, Redhat
12 years, 11 months
quickstarts: NoClassDef found error
by Heiko Braun
Another problem with the quickstarts taken from CR1:
java.lang.NoClassDefFoundError: org/apache/el/parser/ELParser
org.apache.el.lang.ExpressionBuilder.createNodeInternal(ExpressionBuilder.java:123)
/Heiko
12 years, 11 months
Circular dependency: jbossts depends on jboss-as
by Carlo de Wolf
Failed to read artifact descriptor for
org.jboss.jbossts:jbossjts:jar:4.16.0.Final: The repository system is
offline but the artifact org.jboss.as:jboss-as-parent:pom:7.1.0.Beta1b
is not available in the local repository. -> [Help 1]
Carlo
12 years, 11 months
Removing arquillian/protocol-servlet
by Carlo de Wolf
I'm trying to simplify the Arquillian integration a bit. Right now it is
modeled that AS 7 can support multiple protocols, but only protocol-jmx
is supported. protocol-servlet got disabled with:
https://github.com/jbossas/jboss-as/commit/6a03acd585c37712d4afa6ed38cb07...
There are already floating a lot of concerns through Arquillian integration:
- OSGi vs non-OSGi
- Managed vs Remote
- Client Side Extension vs Server Side Deployment
- JMX protocol vs Servlet protocol
If the last one can be eliminated it'll just become a function of the
client side extension.
So any objections to removing arquillian/protocol-servlet?
Carlo
12 years, 11 months
Glitch in DistributedCacheManager
by Carlo de Wolf
I'm seeing an occasional glitch of DistributedCacheManagerTest.
This is on a branch based off 381d4911e8f43e119897eb4fde03a81c7184130e
(12-Jan). So it might not be completely relevant anymore. Plus so far no
Jenkins appears to be affected.
The code itself seems a little odd to me, because there is a ThreadLocal
playing ball here which might not have been reset properly.
Hmm, maybe I should add a facility to the test runner to show all
ThreadLocals at the end of a run.
Has anyone else seen this happen?
Carlo
12 years, 11 months
DMR model implementers please read
by ssilvert@redhat.com
It's been bugging me for awhile that the way we structure and edit the
domain model is inconsistent from domain to domain.
Everyone seems to have his own way of dealing with the complexity of his
own model. I think the time has come to start talking about best
practices and making sure things work consistently across domains.
Please read and discuss: https://docspace.corp.redhat.com/docs/DOC-89231
Stan
12 years, 11 months