<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    error after push a application on openshift from jbossdeveloper
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/maurojavajdeveloper">mauro chi</a> in <i>JBoss Tools</i> - <a href="https://community.jboss.org/message/805240#805240">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>hi all. </p><p>i have&#160; created from the web interface from web site openshift a diy application.</p><p>Then i heve with jbossdeveloper imported the new application ( that i heve named tomee ) </p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Then i have modify it following the tomcat7 quick start on github.,</p><p>&#160; i have commited the modify and i have pushed from the jbossdeveloper at openshift application .</p><p>i have following the tutorial:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="color: #ff0000;"><a class="jive-link-external-small" href="http://docs.jboss.org/tools/latest/en/openshift_tools_reference_guide/html/chap-OpenSift_Tools_Reference_Guide-Import_existing_application.html" target="_blank">http://docs.jboss.org/tools/latest/en/openshift_tools_reference_guide/html/chap-OpenSift_Tools_Reference_Guide-Import_existing_application.html</a><br/> THe import existenting application created&#160; from web interface of openshift . it is that that i have make .</span></p><p><span style="color: #ff0000;"><br/></span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>but finally i get the following error:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Repository</p><p>ssh://<a class="jive-link-external-small" href="http://51539fbae0b8cdbcb700004b@tomee-sito.rhcloud.com/%7E/git/tomee.git/" rel="nofollow" target="_blank">51539fbae0b8cdbcb700004b@tomee-sito.rhcloud.com/~/git/tomee.git/</a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>restart_on_add=false</p><p>Done</p><p>restart_on_add=false</p><p>Running</p><p>.openshift/action_hooks/pre_</p><p id=":z3">build<br/>Running<br/>.openshift/action_hooks/build<br/>Running .openshift/action_hooks/deploy<br/>+<br/>'[' -d /var/lib/openshift/51539fbae0b8cdbcb700004b/app-root/data//tomcat<br/> ']'<br/>+ cp -rf<br/>/var/lib/openshift/51539fbae0b8cdbcb700004b/app-root/runtime/repo//diy/tomee<br/>/var/lib/openshift/51539fbae0b8cdbcb700004b/app-root/data/<br/>+ cd<br/>/var/lib/openshift/51539fbae0b8cdbcb700004b/app-root/data//tomee<br/> + rm<br/>-rf logs<br/>+ ln -s<br/>/var/lib/openshift/51539fbae0b8cdbcb700004b/diy-0.1/logs/ logs<br/>+ sed -ig<br/>s/OPENSHIFT_APP_DNS/<a class="jive-link-external-small" href="http://tomee-sito.rhcloud.com/" rel="nofollow" target="_blank">tomee-sito.rhcloud.com/</a><br/>conf/server.xml<br/> hot_deploy_added=false<br/>+ cd<br/>/var/lib/openshift/51539fbae0b8cdbcb700004b/app-root/data//tomee<br/>+ sed<br/>-ig s/OPENSHIFT_INTERNAL_IP/<a class="jive-link-external-small" href="http://127.9.79.129/g" rel="nofollow" target="_blank">127.9.79.129/g</a> conf/server.xml<br/>+<br/>bin/startup.sh<br/> /var/lib/openshift/51539fbae0b8cdbcb700004b/app-root/runtime/repo//</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>line 15: bin/startup.sh: Permission denied<br/>Failed to start<br/>diy-0.1<br/>Running .openshift/action_hooks/post_deploy</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>-----------------------------------------------------------------------------------------------------------<br/> <br/>into the .openshift/action_hooks/<br/>i have 6 fiels :</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>.openshift/action_hooks/pre_build</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>.openshift/action_hooks/build<br/>.openshift/action_hooks/deploy</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>.openshift/action_hooks/start:<br/>.openshift/action_hooks/stop<br/> .openshift/action_hooks/post_deploy</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>the files above it recall the fiels of strtupo of tomee. and revrite thee variable for thte ipinternal and port .</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>but if i understand it not can run the fiels above.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p> The project from jdeveloper it is from my win7 machine ,<br/>I not can set chomd .x ( to make the fiel executabel) from windows not is possible.<br/>or i have erro int othe files?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>-------------------------------------------------------------</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>i have : </p><p>1) create a diy applicatio non web site on openshift </p><p>2) i have impoter int ojbossdeveloper the diy application from openshift</p><p><span>3) i have downloaded the </span><a class="jive-link-external-small" href="https://github.com/lulinqing/openshift-tomcat-quickstart" target="_blank">https://github.com/lulinqing/openshift-tomcat-quickstart</a><span> like a zip </span></p><p>4) i have modified my tomee project for use tomee . i have modified into the filess int othe .openshit/action_hooks the word tomcat with tomee.</p><p>5) into the diy directory i have created a directory tomee and i have pasted into it the files of tomee </p><p>6) i have copied the files server.xml and tomcat.user.xml and pasted&#160; into dir conf of tomee</p><p>7) i have added the tomee listener on server.xml copied form tomcat quickl start</p><p>8) into the users.tomcat.xml i have added the user for tomee and manger-gui with usename and password.</p><p>9 ) i have from the project added the fiels form team menu ogf jbossdeveloper</p><p>10) i have form the tema menu commited and pushed at openshift</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>but i get the error above .</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Help me please .</p><p>Mauro</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/805240#805240">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Tools at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>