<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: 'times new roman', 'new york', times, serif;">Με λίγο debug βλέπω αυτό το σφάλμα όταν πάω να κάνω Save ή Publish:</div><div style="font-family: 'times new roman', 'new york', times, serif;"><ol class="outline-disclosure" tabindex="0" style="box-sizing: border-box; font-size: 12px; list-style-type: none; -webkit-padding-start: 12px; margin: 0px; outline: none; padding-left: 0px; line-height: 12px; font-family: Consolas, 'Lucida Console', monospace;"><li title="" class="parent expanded" style="box-sizing: border-box; padding: 0px 0px 0px 14px; margin-top: 1px; margin-left: -12px; word-wrap: break-word;"><span class="console-message-text source-code" style="box-sizing: border-box; white-space: pre-wrap; color: red !important;"><span style="box-sizing: border-box;">POST
 http://83.212.xxx.xxx:8080/geoexplorer/maps/ 401 (Unauthorized)</span> <a href="http://83.212.114.186:8080/geoexplorer/script/GeoExplorer.js" class="console-message-url webkit-html-resource-link" title="http://83.212.114.186:8080/geoexplorer/script/GeoExplorer.js:396" style="box-sizing: border-box; float: right; text-align: right; max-width: 100%; margin-left: 4px; color: rgb(84, 84, 84); cursor: pointer;">GeoExplorer.js:396</a></span></li><ol class="children expanded" style="box-sizing: border-box; position: relative; margin: 0px; cursor: default; min-width: 100%; list-style-type: none; -webkit-padding-start: 12px; font-size: inherit; padding: 0px 0px 0px 12px !important;"><li title="" class="selected" style="box-sizing: border-box; padding: 0px 0px 0px 14px; margin-top: 1px; margin-left: -2px; word-wrap: break-word;"><div style="box-sizing: border-box;"><span class="console-message-text source-code" style="box-sizing: border-box; white-space:
 pre-wrap; color: red !important;">b.send</span><a href="http://83.212.114.186:8080/geoexplorer/script/GeoExplorer.js" class="console-message-url webkit-html-resource-link" title="http://83.212.114.186:8080/geoexplorer/script/GeoExplorer.js:396" style="box-sizing: border-box; float: right; text-align: right; max-width: 100%; margin-left: 4px; color: rgb(84, 84, 84); cursor: pointer;">GeoExplorer.js:396</a></div></li><li title="" class="" style="box-sizing: border-box; padding: 0px 0px 0px 14px; margin-top: 1px; margin-left: -2px; word-wrap: break-word;"><div style="box-sizing: border-box;"><span class="console-message-text source-code" style="box-sizing: border-box; white-space: pre-wrap; color: red !important;">(anonymous function)</span></div><div style="box-sizing: border-box;"><span class="console-message-text source-code" style="box-sizing: border-box; white-space: pre-wrap; color: red !important;"><br></span></div><div style="box-sizing:
 border-box;"><span class="console-message-text source-code" style="box-sizing: border-box; white-space: pre-wrap; color: red !important;"><br></span></div></li></ol></ol></div><div>Με άμεση πρόσβαση βέβαια στο  http://83.212.xxx.xxx:8080/geoexplorer/maps/ έχω πρόσβαση και μου επιστρέφει JSON δεδομένα.</div><div><br></div>  <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font size="2" face="Arial"> <b><span style="font-weight:bold;">Απο:</span></b> Leonidas Liakos <leonidas_liakos@yahoo.gr><br> <b><span style="font-weight: bold;">Προς:</span></b> "greek@lists.osgeo.org" <greek@lists.osgeo.org> <br> <b><span style="font-weight: bold;">Στάλθηκε:</span></b> 9:24 μ.μ. Παρασκευή, 10 Μαΐου
 2013<br> <b><span style="font-weight: bold;">Θέμα:</span></b> [OSGeo-Greek] Σχετ:  Σχετ:  Geoexplorer, αδυναμία αποθήκευσης-δημοσίευσης χαρτών<br> </font> </div> <div class="y_msg_container"><br><div id="yiv7144774126"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><div>Δυστυχώς δοκίμασα διαφορετικό path αλλά ούτε σε αυτήν την περίπτωση διορθώθηκε το πρόβλημα.</div><div>Το περίεργο είναι ότι σε development mode δεν υπάρχει πρόβλημα.</div><div><br></div>  <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1"> 
 <font size="2" face="Arial"> <b><span style="font-weight:bold;">Απο:</span></b> Angelos Tzotsos <gcpp.kalxas@gmail.com><br> <b><span style="font-weight:bold;">Προς:</span></b> greek@lists.osgeo.org <br> <b><span style="font-weight:bold;">Στάλθηκε:</span></b> 3:19 μ.μ. Παρασκευή, 10
 Μαΐου 2013<br> <b><span style="font-weight:bold;">Θέμα:</span></b> Re: [OSGeo-Greek]
 Σχετ:  Geoexplorer, αδυναμία αποθήκευσης-δημοσίευσης χαρτών<br> </font> </div> <div class="yiv7144774126y_msg_container"><br><div id="yiv7144774126">
  
    
  
  <div>
    <div class="yiv7144774126moz-cite-prefix">On 05/10/2013 02:10 PM, Leonidas Liakos
      wrote:<br>
    </div>
    <blockquote type="cite">
      <pre>Άγγελε ευχαριστώ,μερικά στοιχεία:
Λειτουργικό: Ubuntu 12.04 server
Έκδοση Geoexplorer: 3.0.2
Η παράμετρος GEOEXPLORER_DATA: /home/geoexplorer_data
Τα δικαιώματά του φακέλου είναι:
drwxrwxrwx  2 tomcat7 tomcat7     4096 May  8 23:54 geoexplorer_data/
Το αρχείο web.xml με τις ρυθμίσεις είναι αυτό:
<a rel="nofollow" class="yiv7144774126moz-txt-link-freetext" target="_blank" href="http://pastebin.com/DENrsvWN">http://pastebin.com/DENrsvWN</a>



________________________________
 Απο: Angelos Tzotsos <a rel="nofollow" class="yiv7144774126moz-txt-link-rfc2396E" ymailto="mailto:gcpp.kalxas@gmail.com" target="_blank" href="mailto:gcpp.kalxas@gmail.com"><gcpp.kalxas@gmail.com></a>
Προς: <a rel="nofollow" class="yiv7144774126moz-txt-link-abbreviated" ymailto="mailto:greek@lists.osgeo.org" target="_blank" href="mailto:greek@lists.osgeo.org">greek@lists.osgeo.org</a> 
Στάλθηκε: 11:41 π.μ. Παρασκευή, 10 Μαΐου 2013
Θέμα: Re: [OSGeo-Greek] Geoexplorer, αδυναμία αποθήκευσης-δημοσίευσης χαρτών
 


Καλημέρα και χρόνια πολλά.

Αν και χρησιμοποιώ τον geoexplorer μόνο σε περιβάλλον python και
      όχι σε Java, θα πρότεινα να δείς περισσότερο το θέμα των
      permissions.
Σε τι λειτουργικό κάνεις εγκατάσταση? 
Ποιά έκδοση του Geoexplorer χρησιμοποιείς?
Σε ποιό φάκελο έχεις ρυθμίσει το GEOEXPLORER_DATA? 
Μπορείς να κάνεις ένα pastebin το αρχείο ρυθμίσεων σου?

Άγγελος

On 05/10/2013 11:03 AM, Leonidas Liakos wrote:

Χρόνια Πολλά και Χριστός Ανέστη!!!
Πρόσφατα εγκατέστησα τον geoexplorer και αντιμετωπίζω το εξής πρόβλημα που περιγράφω στο gis.stackexchange: <a rel="nofollow" class="yiv7144774126moz-txt-link-freetext" target="_blank" href="http://gis.stackexchange.com/questions/60240/geoexplorer-cannot-save-and-publish-maps">http://gis.stackexchange.com/questions/60240/geoexplorer-cannot-save-and-publish-maps</a> Φαίνεται ότι για κάποιον λόγο δεν μπορεί να κάνει insert στην βάση geoexplorer.db όπου αποθηκεύει τους χάρτες (ενώ μπορεί να διαβάσει).
Ο φάκελος (που ορίζεται με την παράμετρο GEOEXPLORER_DATA) και η βάση ανήκουν στον χρήστη/ομάδα tomcat7 και έχω δώσει full permissions (chmod 777).
Μήπως έχει κανείς ιδέα τι μπορεί να φταίει; Ευχαριστώ Λεωνίδας! 
</pre>
      <blockquote type="cite">
        <pre>_______________________________________________
</pre>
      </blockquote>
      <pre>Greek mailing list <a rel="nofollow" class="yiv7144774126moz-txt-link-abbreviated" ymailto="mailto:Greek@lists.osgeo.org" target="_blank" href="mailto:Greek@lists.osgeo.org">Greek@lists.osgeo.org</a> <a rel="nofollow" class="yiv7144774126moz-txt-link-freetext" target="_blank" href="http://lists.osgeo.org/mailman/listinfo/greek">http://lists.osgeo.org/mailman/listinfo/greek</a> 


</pre>
      <br>
      <fieldset class="yiv7144774126mimeAttachmentHeader"></fieldset>
      <br>
      <pre>_______________________________________________
Greek mailing list
<a rel="nofollow" class="yiv7144774126moz-txt-link-abbreviated" ymailto="mailto:Greek@lists.osgeo.org" target="_blank" href="mailto:Greek@lists.osgeo.org">Greek@lists.osgeo.org</a>
<a rel="nofollow" class="yiv7144774126moz-txt-link-freetext" target="_blank" href="http://lists.osgeo.org/mailman/listinfo/greek">http://lists.osgeo.org/mailman/listinfo/greek</a>
</pre>
    </blockquote>
    Τα settings φαίνονται OK.<br>
    <br>
    Θα συνιστούσα να μεταφέρεις το φάκελο σε ένα σημείο που ο χρήστης
    Tomcat να έχει πρόσβαση σε όλο το path.<br>
    πχ /tmp/geoexplorer_data ή στο /var/www/......<br>
    <br>
    Άγγελος<br>
    <br>
    <pre class="yiv7144774126moz-signature">-- 
Angelos Tzotsos
Remote Sensing Laboratory
National Technical University of Athens
<a rel="nofollow" class="yiv7144774126moz-txt-link-freetext" target="_blank" href="http://users.ntua.gr/tzotsos">http://users.ntua.gr/tzotsos</a></pre>
  </div>

</div><br>_______________________________________________<br>Greek mailing list<br><a rel="nofollow" ymailto="mailto:Greek@lists.osgeo.org" target="_blank" href="mailto:Greek@lists.osgeo.org">Greek@lists.osgeo.org</a><br><a rel="nofollow" target="_blank" href="http://lists.osgeo.org/mailman/listinfo/greek">http://lists.osgeo.org/mailman/listinfo/greek</a><br><br><br></div> </div> </div>  </div></div></div><br>_______________________________________________<br>Greek mailing list<br><a ymailto="mailto:Greek@lists.osgeo.org" href="mailto:Greek@lists.osgeo.org">Greek@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/greek" target="_blank">http://lists.osgeo.org/mailman/listinfo/greek</a><br><br><br></div> </div> </div>  </div></body></html>