Deploying a Jersey webapp on Jboss AS 7

it has already been mentioned in this post : https://community.jboss.org/message/744530#744530 , you can just ask the resteasy module to not scan for other JAX RS implementations in your webapp; just add this to your web.xml : <context-param> <param-name>resteasy.scan</param-name> <param-value>false</param-value> </context-param> <context-param> <param-name>resteasy.scan.providers</param-name> <param-value>false</param-value> </context-param> <context-param> <param-name>resteasy.scan.resources</param-name> <param-value>false</param-value> </context-param> worked fine for me

JBoss default password

The default credentials are: login: admin password: admin But if you use EAP these credentials are turned off by default and there is no active user (security reasons :)). If you want to turn on these users, you have to edit the following file in your current profile: ./deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/web-console-users.properties. It should be enough to remove … Read more

How to change port number in jboss-7

The file is $JBOSS_HOME/standalone/configuration/standalone.xml. Find <socket-binding-group> and <socket-binding> there. EDIT There’s multiple ways to do this. The recommended way is to use the management console. If JBoss AS runs on your local computer, open the URL http://localhost:9990/console/App.html#socket-bindings and edit the socket-bindings there. I tested it on Wildfly 8.1.0 Final, don’t know if the URL is … Read more

JBoss WildFly: Starts but can’t connect?

By default jboss/wildfly binding to localhost, if you want change this, you can execute: standalone.sh -b 0.0.0.0 listen on all IP addresses of the machine (if multihomed) Another alternative is configure in standalone.xml the interfaces section. Change: <interfaces> <interface name=”management”> <inet-address value=”127.0.0.1″/> </interface> <interface name=”public”> <inet-address value=”127.0.0.1″/> </interface> </interfaces> to: <interfaces> <interface name=”management”> <!– Use … Read more

Jboss AS7 Deployment warning : does not point to a valid jar for a Class-Path reference

This is just a warning that you can in most cases safely ignore. What it tells you is that in your struts-1.2.9.jar has in META-INF/MANIFEST.MF in Class-Path reference to “commons-beanutils.jar” and that this file/jar cannot be referenced. But given that you have commons-beanutils-1.7.0.jar there everything will work fine. To get rid of the warning you … Read more

How to change default port 8080 in WildFly

In your standalone.xml file, look for this element: <socket-binding-group name=”standard-sockets” default-interface=”public” port-offset=”${jboss.socket.binding.port-offset:0}”> The port-offset attribute lets you modify all the ports wildfly uses, by adding the number you specify. For example, the default value is 0, which means that http port will be 8080, remoting 4447, etc. If you use ${jboss.socket.binding.port-offset:100}, http port will be … Read more