miércoles, 22 de octubre de 2014

Error occurred during initialization of VM Could not reserve enough space for object heap

ERROR: Error occurred during initialization of VM Could not reserve enough space for object heap

Characteristics: Could be another version of Java or Eclipse

Situation: Using ANT as a compiler, JDK 1.7.0_51, Struts, Eclipse Kepler, Windows 7, Jboss EAP 6.1

Possible solution: Change the JDK. In this case I had JDK 1.6.0_21. Moving to Java7. Its a MUST than the JDK and Eclipse must be for 32 bits both. (or 64, but better 32).

Error JBAS014775

ERROR: Error JBAS014775

Characteristics: Could be another line refering to LDAP

Situation: Using ANT as a compiler, JDK 1.7.0_51, Struts, Eclipse Kepler, Windows 7, Jboss EAP 6.1

Possible solution: Delete the line:  <security-domain>java:/jaas/LDAP</security-domain> from jboss-web.xml

Error JBWEB004036

ERROR: org.apache.jasper.JasperException: JBWEB004036: File "/tlds/struts-logic.tld" not found

Situation: Using ANT as a compiler, JDK 1.7.0_51, Struts, Eclipse Kepler, Windows 7, Jboss EAP 6.1

Possible solution: Change URI of the tld. I recomend to change the URI of apache <%@ taglib prefix="logic" uri="http://struts.apache.org/tags-logic" %> on the JSP files.

Error: unmappable character for encoding UTF8

ERROR: error: unmappable character for encoding UTF8

Characteristics: Could be another enconding

Situation: Using ANT as a compiler, JDK 1.7.0_51, Struts2, Eclipse Kepler, Windows 7, Jboss EAP 6.1

Possible solution: On eclipse Go to -> build.xml ->  External Tools Configuration -> Select build.xml -> Common -> change encoding