ProtoCom cannot generate Code with JEE settings

Description

Code generation does not work with JEE settings. When chosing JSE settings the generation works.

Generator seems to bind in jars from the old ProtoCom release.

Environment

None

Activity

Show:
Sebastian Lehrig
September 28, 2015, 4:30 PM

Based on some more complex examples, my last commits fixed some classpath bugs that occurred when components where assembled multiple times. However, in general the problem is not completely solved yet; I created as a dedicated description. The issues mentioned in this Jira are, however, resolved now.

Sebastian Lehrig
September 16, 2015, 2:49 PM

After deep investigation, I guess that you did not configure a suitable Glassfish server? Without that, the generated prototype misses required libraries.

As a future help, we now generate into the Readme.txt file a small guide:
The current EJB ProtoType is tied to a Glassfish 4 runtime environment. We currently require to have such an
environment with the name "GlassFish 4" installed. Check your Eclipse settings under "Server -> Runtime Environments" to
check this requirement. In future versions, we plan to parametrize the target runtime; see:
org.palladiosimulator.protocom/src/org/palladiosimulator/protocom/tech/iiop/repository/JavaEEIIOPFacetCore.xtend

Please report if you mange to generate prototypes now...

Sebastian Lehrig
September 11, 2015, 7:24 PM

In my last commit (Rev. 29095; see Subversion changes), I managed to fix the dependency issue for ProtoCom/EJB as well (an API call now gets the recent version of a given plug-in from the Eclipse platform).

The issue that Robert identified is therefore resolved. However, the package structure seems to be messed up in my first test. This might be due to newer xtend and/or newer Palladio libraries. This issue needs investigation next.

Sebastian Lehrig
September 11, 2015, 5:33 PM

ProtoCom Java EE for Servlets (with a Tomcat SAP HANA Cloud server as target) now work again. Required JARs are received from your current Eclipse platform now (instead of being delivered in out-dated version along with the ProtoCom EE Framework).

Next, I'm investigating what's still wrong with the ProtoCom Java EE for EJBs.

Robert Heinrich
August 19, 2015, 5:58 PM
  • de.uka.ipd.sdq.simucomframework.variables_1.0.0.201401301023.jar (available but uses older version)

  • org.palladiosimulator.protocom.resourcestrategies_1.0.0.201401301023.jar (dto.)

  • org.palladiosimulator.protocom.framework_1.0.0.201401301023.jar (not available)

Fixed

Assignee

Sebastian Lehrig

Reporter

Robert Heinrich

Labels

None

Requirement Category

Functional

External issue URL

None

Time remaining

0m

Fix versions

Affects versions

Priority

Major