Wednesday, January 06, 2010

How to change Catalina/Tomcat server settings in Jboss

For example in the "default" profile:

jboss-5.1.0.GA/server/default/deploy/jbossweb.sar/server.xml

Change the following:

<Connector protocol="HTTP/1.1" port="8080" address="${jboss.bind.address}"
connectionTimeout="20000" redirectPort="8443" />
<Connector protocol="AJP/1.3" port="8009" address="${jboss.bind.address}"
redirectPort="8443" />

Tuesday, January 05, 2010

Classpath entry ... jar will not be exported or published. Runtime ClassNotFoundExceptions may result.

To avoid the following warning in Eclipse:
"Classpath entry ... jar will not be exported or published. Runtime ClassNotFoundExceptions may result."

Add the following attribute to the mentioned classpath entry in the project ".classpath" file.

Example
<classpathentry kind="var" path="M2_REPO/javax/ejb/ejb-api/3.0/ejb-api-3.0.jar">
<attributes>
<attribute name="org.eclipse.jst.component.nondependency" value=""/>
</attributes>
</classpathentry>

Friday, September 04, 2009

Jboss AS 5.1.0.GA client dependency (maven)

Dependency itself:

dependency
groupid org.jboss.jbossas groupid
artifactid jboss-as-server artifactid
version 5.1.0.GA version
classifier client classifier
scope provided scope
dependency

Extra repo:

repositories
repository
id JBOSS id
name JBoss Repository name
url http://repository.jboss.org/maven2/ url
repository


repositories

Monday, June 01, 2009

Maven plink/pscp

Both plink and pscp have to be in PATH.


serverId
userId
C:\key-putty-private.ppk

plink
pscp
-l userId -pw pass

664
775

Thursday, May 28, 2009

Charge macro

/cast [nocombat,stance:3] Battle Stance
/cast [nocombat] Charge
/cast [combat,stance:1] Berserker Stance
/cast [combat,stance:3] Berserker Rage

Thursday, May 14, 2009

Maven socks proxy

set MAVEN_OPTS=-DsocksProxyHost=yourSocksProxyHost -DsocksProxyPort=yourSocksProxyPort

Thursday, April 23, 2009

CVS Checkout

cvs -d user@localhost:/export/cvs co path/to/proyect