Skip to content

Commit b5deb52

Browse files
committed
Put a tempoary fix to awsapi to workaround an issue with jetty/Spring integration limitation
1 parent 8887f01 commit b5deb52

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

awsapi/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@
326326
</connectors>
327327
<contextPath>/awsapi</contextPath>
328328
<webXml>${basedir}/web/web.xml</webXml>
329-
<webAppSourceDirectory>${basedir}/target/cloud-awsapi-${project.version}</webAppSourceDirectory>
329+
<webAppSourceDirectory>${basedir}/target/generated-webapp</webAppSourceDirectory>
330330
</configuration>
331331
</plugin>
332332
<plugin>

awsapi/src/com/cloud/bridge/service/EC2MainServlet.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ void initComponent() {
7474
@DB
7575
public void init( ServletConfig config ) throws ServletException {
7676
try{
77+
initComponent();
7778
ConfigurationHelper.preConfigureConfigPathFromServletContext(config.getServletContext());
7879
// check if API is enabled
7980
String value = csDao.getConfigValue(ENABLE_EC2_API);

0 commit comments

Comments
 (0)