[
https://issues.apache.org/jira/browse/LENS-181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14265758#comment-14265758
]
Jaideep Dhok edited comment on LENS-181 at 1/6/15 6:46 AM:
-----------------------------------------------------------
I believe bug is in lens-config.sh
{code}
if [ ! -d ${LENS_EXPANDED_WEBAPP_DIR}/lens-server/WEB-INF ]; then
mkdir -p ${LENS_EXPANDED_WEBAPP_DIR}/lens-server
cd ${LENS_EXPANDED_WEBAPP_DIR}/lens-server
$JAR_BIN -xf ${BASEDIR}/webapp/lens-server.war
cd -
fi
{code}
Its not expanding the war again if the web app dir already exists. I think
expanding of war should be done at install time, rather than at server startup
time.
was (Author: jaideepdhok):
I believe bug is in lens-config.sh
{code}
if [ ! -d ${LENS_EXPANDED_WEBAPP_DIR}/lens-server/WEB-INF ]; then
mkdir -p ${LENS_EXPANDED_WEBAPP_DIR}/lens-server
cd ${LENS_EXPANDED_WEBAPP_DIR}/lens-server
$JAR_BIN -xf ${BASEDIR}/webapp/lens-server.war
cd -
fi
{code}
Its not expanding the war again if the web app dir already exists. I think
expanding of war should be done at install time, rather than at server setup
time.
> Reinstalling lens server doesn't update lens/webapp
> ---------------------------------------------------
>
> Key: LENS-181
> URL: https://issues.apache.org/jira/browse/LENS-181
> Project: Apache Lens
> Issue Type: Bug
> Reporter: Arshad Matin
> Assignee: Himanshu Gahlaut
> Fix For: 2.0
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)