Its the bug generating offline istallation:

13 views
Skip to first unread message

ign...@gmail.com

unread,
Nov 21, 2013, 8:50:02 AM11/21/13
to kwa...@googlegroups.com
I create package and i have this variabbles

kwatee_package_dir in ng@tp_talin01 = /usr/apache-tomcat/webapps/ROOT

when i generate offline installation from frozen configuration i get this offline file descriptor:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<bundle version="1.0" name="installer">
<environments>
<environment name="ng_tp">
<deployments>
<deployment name="123">
<server_packages>
<server name="tp_talin01">
<kwatee_deployment_dir>/var/tmp/kwatee/ng_tp/123</kwatee_deployment_dir>
<pre_setup_action><![CDATA[/etc/init.d/tomcat stop]]></pre_setup_action>
<post_setup_action><![CDATA[/etc/init.d/tomcat start]]></post_setup_action>
<pre_cleanup_action><![CDATA[/etc/init.d/tomcat stop]]></pre_cleanup_action>
<post_cleanup_action><![CDATA[/etc/init.d/tomcat start]]></post_cleanup_action>
<package name="ng" active_version="1.0.1.0.1-SNAPSHOT">
<kwatee_package_dir>/var/tmp/kwatee/ng_tp/123/ng</kwatee_package_dir>
</package>
</server>
</server_packages>
</deployment>
</deployments>
</environment>
</environments>
</bundle>


but when do it on sketch:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<bundle version="1.0" name="installer">
<environments>
<environment name="ng_tp">
<deployments>
<deployment name="SKETCH">
<server_packages>
<server name="tp_talin01">
<kwatee_deployment_dir>/var/tmp/kwatee/ng_tp/SKETCH</kwatee_deployment_dir>
<pre_setup_action><![CDATA[/etc/init.d/tomcat stop]]></pre_setup_action>
<post_setup_action><![CDATA[/etc/init.d/tomcat start]]></post_setup_action>
<pre_cleanup_action><![CDATA[/etc/init.d/tomcat stop]]></pre_cleanup_action>
<post_cleanup_action><![CDATA[/etc/init.d/tomcat start]]></post_cleanup_action>
<package name="ng" active_version="1.0.1.0.1-SNAPSHOT">
<kwatee_package_dir>/usr/apache-tomcat/webapps/ROOT</kwatee_package_dir>
</package>
</server>
</server_packages>
</deployment>
</deployments>
</environment>
</environments>
</bundle>


Could you fix it ?

Mac

unread,
Nov 25, 2013, 1:07:06 AM11/25/13
to
The bug is confirmed. This is fixed in update 2.1.14 which was released on Nov 24, 2013

Thanks for your feedback

ign...@gmail.com

unread,
Nov 26, 2013, 11:40:12 AM11/26/13
to kwa...@googlegroups.com
This bug is not fixed. Probalby problem is when you generate descriptor.xml in frezed version i have two definition of variables:
kwatee_package_dir in tp_talin01 server = /usr/apache-tomcat/webapps/ROOT
kwatee_package_dir system = %{kwatee_deployment_dir}/%{kwatee_package_name}

The last one variable is not in sketch where generating descritor.xml is correct.

Only when is correct generated is when i have variable defined like:
kwatee_package_dir everywhere = /usr/apache-tomcat/webapps/ROOT


Then in description is coreect value
<kwatee_package_dir>/usr/apache-tomcat/webapps/ROOT</kwatee_package_dir>

Mac

unread,
Dec 12, 2013, 1:05:17 AM12/12/13
to kwa...@googlegroups.com
This issue has now been definitively fixed with the kwatee 2.1.16 release
Reply all
Reply to author
Forward
0 new messages