-
Continue reading →: Spring Framework marks transaction to rollback when everything is fine
Eventually, you can’t conclude the whole process flux because, at the end, the Spring Framework marks the transaction to rollback, even when all exceptions were caught. The evidence of this scenario is this following message Transaction was marked for rollback only; cannot commit. The exception thrown is org.springframework.orm.jpa.JpaSystemException. It happens…
-
Continue reading →: Generating client for SOAP using CXF
What is needed WSDL file describing the services Apache CXF (3.1+) JDK (1.7+) Straight to point In order to create the set of Client’s classes, verify for the following environment variables: JAVA_HOME: Path to JDK location, eg. C:\Progra~1\Java\jdk1.7.0_80 CXF_HOME: Path to CXF location, eg. C:\Java\apache-cxf-3.1.13 Now, open a command prompt…
-
Continue reading →: Creating rules dynamically with DroolsThis “how to” walks through a solution to dynamically create and execute business rules. Why we need this It’s common the necessity to implement some kind of rules to choose between one and other action. Often, these rules are expressed in a sort of business thinking. Drools is a Business…
-
Continue reading →: The danger of persistence of decision-making in project managementRecently I’ve been talking to a colleague, during a happy hour, about good projects that lead to bad results. Despite the fact that in happy hour meetings one isn’t supposed to talk about work, the conversation brought some good reflections. Since the time I attended high school in data processing…
-
Continue reading →: PWC6345: There is an error in invoking javac.
Accessing your application in GlassFish you get this error message: org.apache.jasper.JasperException: PWC6345: There is an error in invoking javac. A full JDK (not just JRE) is required Try to verify the parameter AS_JAVA inside of file glassfish\config\asenv.bat(.conf). This parameter should be the JDK path.







