Spring3.2 and jboss as 7

Apparently this is “normal”, everything should still work. Likely there’s an (anonymous) inner class in StandardServletAsyncWebRequest. See also Applicaiton is deployed in JBoss7.0.2 Final (Arc ) but failed to in 7.1.1 Final (Brontes) and metadata-complete=”true” not respected. Basically it’s just a warning, everything is fine.

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

Logback and Jboss 7 – don’t work together?

You need to exclude the servers version of slf4j from your deployment. Create a jboss-deployment-structure.xml file and place it in either your WARS META-INF or WEB-INF directory. The contents of the file should look like this: <jboss-deployment-structure> <deployment> <!– Exclusions allow you to prevent the server from automatically adding some dependencies –> <exclusions> <module name=”org.slf4j” … Read more

How do I shutdown JBoss AS 7 server?

For some reason the JBoss team decided to reorganize the scripts between minor revision upgrades. In any case, jboss-cli.sh is the replacement for jboss-admin.sh (they are for all intents and purposes the exact same script). So your new shutdown command is: ./jboss-cli.sh –connect command=:shutdown

“HTTPS required” while logging in to Keycloak as admin

I was running the key cloak inside a docker container, The keycloak command line tool was avaialble inside the keycloak container. docker exec -it {contaierID} bash cd keycloak/bin ./kcadm.sh config credentials –server http://localhost:8080/auth –realm master –user admin ./kcadm.sh update realms/master -s sslRequired=NONE If the admin user is not created, then the user can be created … 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

Binding JBoss AS 7 to all interfaces

Edit standalone/configuration/standalone.xml and insert the tag any-address instead of inet-address bound to 127.0.0.1 – Example: <interfaces> <interface name=”management”> <inet-address value=”127.0.0.1″/> </interface> <interface name=”public”> <any-address/> </interface> </interfaces> In the public interface, I’ve changed the original inet-address with any-address. After restarting, you’ll be able to browse JBoss port 8080 over the network.

Hibernate generates negative id values when using a sequence

The new behaviour is the followings: AllocationSize is a range of primary key values reserved for Hibernate. And the select seq.nextval from dual will be done only after hibernate consumed this range of primary keys. So you must declare the same value on both allocationSize (Hibernate) and sequence increment by (DB) When explicitly set allocationSize=500, … Read more