<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><br class=""></div><div class=""><br class=""></div><div class="">I’m using </div><div class=""><br class=""></div><div class="">config.rb:</div><div class=""><br class=""></div><div class=""><div class="">AppConfig[:hostname] = proc { Socket.gethostname }</div><div class=""># […] </div><div class="">AppConfig[:frontend_url] = "<a href="http://localhost:8088/admin" class="">http://localhost:8088/admin</a>" # 8080 used by tomcat!   </div><div class="">AppConfig[:public_url] = "<a href="http://localhost:8081/public" class="">http://localhost:8081/public</a>"</div><div class="">AppConfig[:frontend_proxy_url] = proc { "<a href="http://#{AppConfig[:hostname]}/admin" class="">http://#{AppConfig[:hostname]}/admin</a>" }</div><div class="">AppConfig[:public_proxy_url] = proc { "<a href="http://#{AppConfig[:hostname]}/public" class="">http://#{AppConfig[:hostname]}/public</a>" }</div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">apache conf:</div><div class=""><br class=""></div><div class=""><div class="">    ProxyPass /admin     <a href="http://localhost:8088/admin" class="">http://localhost:8088/admin</a></div><div class="">    ProxyPass /public   <a href="http://localhost:8081/public" class="">http://localhost:8081/public</a></div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Which mostly works. </div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div class="">On the admin welcome page (after login) I’m missing these assets: </div><div class=""><br class=""></div><div class=""><a href="http://localhost/assets/glyphicons-halflings-regular.woff2" class="">http://localhost/assets/glyphicons-halflings-regular.woff2</a> Failed to load resource: the server responded with a status of 404 (Not Found)</div><div class=""><a href="http://localhost/assets/icomoon/icomoon.woff?-z7cehr" class="">http://localhost/assets/icomoon/icomoon.woff?-z7cehr</a> Failed to load resource: the server responded with a status of 404 (Not Found)</div><div class=""><a href="http://localhost/assets/glyphicons-halflings-regular.woff" class="">http://localhost/assets/glyphicons-halflings-regular.woff</a> Failed to load resource: the server responded with a status of 404 (Not Found)</div><div class=""><a href="http://localhost/assets/icomoon/icomoon.ttf?-z7cehr" class="">http://localhost/assets/icomoon/icomoon.ttf?-z7cehr</a> Failed to load resource: the server responded with a status of 404 (Not Found)</div><div class=""><a href="http://localhost/assets/glyphicons-halflings-regular.ttf" class="">http://localhost/assets/glyphicons-halflings-regular.ttf</a> Failed to load resource: the server responded with a status of 404 (Not Found)</div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">which, I assume is what is causing some glyphs (which I had thought were images) to come up as empty squares.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">And when looking at Collections in the public interface, I get the missing Components </div><div class="">(with a constant 'busy loading’ icon ) that was reported in a previous message by <span style="font-family: Calibri, sans-serif; font-size: 15px;" class="">Reid, Sarah N.</span></div><div class=""><span style="font-family: Calibri, sans-serif; font-size: 15px;" class=""><br class=""></span></div><div class=""><span style="font-family: Calibri, sans-serif; font-size: 15px;" class=""><br class=""></span></div><div class=""><span style="font-family: Calibri, sans-serif; font-size: 15px;" class="">Chrome Console error message is:</span></div><div class=""><span style="font-family: Calibri, sans-serif; font-size: 15px;" class=""><br class=""></span></div><div class=""><font face="Calibri, sans-serif" class=""><span style="font-size: 15px;" class="">GET <a href="http://d-172-25-72-74.bootp.virginia.edu/publictree?uri=%2Frepositories%2F8%2Fresources%2F12" class="">http://d-172-25-72-74.bootp.virginia.edu/publictree?uri=%2Frepositories%2F8%2Fresources%2F12</a> 404 (Not Found)bH.ajaxTransport.e.send @ application-a05f22ac3ad515fde2728c1832af5791.js:25bH.extend.ajax @ application-a05f22ac3ad515fde2728c1832af5791.js:25a.add_children @ application-a05f22ac3ad515fde2728c1832af5791.js:25(anonymous function) @ application-a05f22ac3ad515fde2728c1832af5791.js:25bH.extend.each @ application-a05f22ac3ad515fde2728c1832af5791.js:14bH.fn.bH.each @ application-a05f22ac3ad515fde2728c1832af5791.js:14(anonymous function) @ application-a05f22ac3ad515fde2728c1832af5791.js:25bH.Callbacks.i @ application-a05f22ac3ad515fde2728c1832af5791.js:25bH.Callbacks.cc.fireWith @ application-a05f22ac3ad515fde2728c1832af5791.js:25bH.extend.ready @ application-a05f22ac3ad515fde2728c1832af5791.js:25bY @ application-a05f22ac3ad515fde2728c1832af5791.js:25</span></font></div><div class=""><span style="font-family: Calibri, sans-serif; font-size: 15px;" class=""><br class=""></span></div><div class=""><br class=""></div><div class="">And it I insert a ‘/‘ between ‘public’ and ‘tree’ in that URL above, </div><div class=""><br class=""></div><div class=""><a href="http://d-172-25-72-74.bootp.virginia.edu/public/tree?uri=/repositories/8/resources/12" class="">http://d-172-25-72-74.bootp.virginia.edu/public/tree?uri=%2Frepositories%2F8%2Fresources%2F12</a></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">and try it in the browser, I get back some JSON that looks like what the AJAX calls are expecting:</div><div class=""><br class=""></div><div class=""><pre style="widows: 1; word-wrap: break-word; white-space: pre-wrap;" class="">{"self":{"title":"Alderman Family Papers","id":12,"node_type":"resource","publish":true,"suppressed":false,"record_uri":"/repositories/8/resources/12","level":"collection","jsonmodel_type":"resource_tree","instance_types":[],"containers":[],"has_children":false},"path_to_root":[],"direct_children":[]}</pre><div class=""><br class=""></div></div><div class="">I just found that a few minutes ago, so I haven’t yet found the source of that bug. </div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">— Steve Majewski</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><br class=""><div><blockquote type="cite" class=""><div class="">On Jul 22, 2015, at 2:27 PM, David Hietpas <<a href="mailto:hietpasd@uwosh.edu" class="">hietpasd@uwosh.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><div class="">Thanks Chris.  I saw the version number and assumed it would work from 1.0.2 and up.<br class=""><br class=""></div>I tried what you suggested yesterday without success.  I've attached a screenshot with what is happening with my config information with the setup you suggested.<br class=""><br class=""></div>config.rb:<br class="">AppConfig[:backend_url] = "<a href="http://localhost:8092/" class="">http://localhost:8092</a>"<br class="">AppConfig[:frontend_url] = "<a href="http://localhost:8090/" class="">http://localhost:8090</a>"<br class="">AppConfig[:solr_url] = "<a href="http://localhost:8093/" class="">http://localhost:8093</a>"<br class="">AppConfig[:public_url] = "<a href="http://localhost:8091/" class="">http://localhost:8091</a>"<br class=""><br class="">AppConfig[:frontend_proxy_url] = "<a href="http://localhost/archivesspace/frontend" class="">http://localhost/archivesspace/frontend</a>"<br class="">AppConfig[:public_proxy_url] = "<a href="http://localhost/archivesspace/public" class="">http://localhost/archivesspace/public</a>"<br class=""><br class=""><div class=""><br class="">Apache:<br class="">    RewriteRule ^/archivesspace/frontend$ <a href="http://localhost:8090/" class="">http://localhost:8090/</a> [L,P]<br class="">    RewriteRule ^/archivesspace/frontend/(.*)$ <a href="http://localhost:8090/$1" class="">http://localhost:8090/$1</a> [L,P]<br class=""><br class=""><br class=""><br class=""><br class=""><br class=""><br class=""><br class=""><br class=""><br class=""><br class=""><div class=""><br class=""></div></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Wed, Jul 22, 2015 at 12:06 PM, Chris Fitzpatrick <span dir="ltr" class=""><<a href="mailto:Chris.Fitzpatrick@lyrasis.org" target="_blank" class="">Chris.Fitzpatrick@lyrasis.org</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr" class="">
<div style="font-size: 12pt; background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif;" class=""><p class=""><br class="">
</p><p class=""><br class="">
</p><p class="">Hi David,</p><p class=""><br class="">
</p><p class="">Wow, this documentation is extremely outdated ( from v1.0.2 ). </p><p class=""><br class="">
</p><p class="">I'll update this. </p><p class=""><br class="">
</p><p class="">But the new way for adding this is to use the proxy_url settings in the config.rb file: </p><p class=""><a title="Cmd+Click or tap to follow the link" href="https://github.com/archivesspace/archivesspace/blob/master/common/config/config-defaults.rb#L156-L157" target="_blank" class="">https://github.com/archivesspace/archivesspace/blob/master/common/config/config-defaults.rb#L156-L157</a></p><p class=""><br class="">
</p><p class="">Change your url that you're proxying here, like </p><p class="">AppConfig[:<span class="">public_proxy_url] = "<a href="http://my.aspace.edu/public" target="_blank" class="">http://my.aspace.edu/public</a>"</span></p><p class="">AppConfig[:<span class="">frontend_proxy_url</span><span class="">] = "<a href="http://my.aspace.edu/staff" target="_blank" class="">http://my.aspace.edu/staff</a>"</span></p><div class=""><span class=""></span><br class="webkit-block-placeholder"></div><p class=""><br class="">
</p><p class=""><br class="">
</p><p class="">Does that make sense? No need to compile from source for this...</p><p class="">b,chris. <br class="">
</p><p class=""><br class="">
</p>
<div class="">
<div name="divtagdefaultwrapper" class="">
<div class=""><font size="2" class="">
<div class="">Chris Fitzpatrick | <font size="2" class="">Developer, ArchivesSpace</font><br class="">
Skype: chrisfitzpat  | Phone: 918.236.6048<br class="">
<a href="http://archivesspace.org/" target="_blank" class="">http://archivesspace.org/</a><br class="">
</div>
</font></div>
</div>
</div>
<br class="">
<br class="">
<div style="" class="">
<hr style="display:inline-block;width:98%" class="">
<div dir="ltr" class=""><font style="font-size:11pt" face="Calibri, sans-serif" class=""><b class="">From:</b> <a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank" class="">archivesspace_users_group-bounces@lyralists.lyrasis.org</a> <<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank" class="">archivesspace_users_group-bounces@lyralists.lyrasis.org</a>> on behalf of David Hietpas
 <<a href="mailto:hietpasd@uwosh.edu" target="_blank" class="">hietpasd@uwosh.edu</a>><br class="">
<b class="">Sent:</b> Wednesday, July 22, 2015 6:34 PM<br class="">
<b class="">To:</b> Archivesspace Users Group<br class="">
<b class="">Subject:</b> Re: [Archivesspace_Users_Group] Mysql connector issues with a source build</font>
<div class=""> </div>
</div><div class=""><div class="h5">
<div class="">
<div dir="ltr" class="">Hi Brian,<br class="">
<div class=""><br class="">
As I mentioned in the original email, I'm following the instructions posted from ArchivesSpace Github to setup a installation with prefixes (<a href="https://github.com/archivesspace/archivesspace/blob/master/README_PREFIX.md" target="_blank" class="">https://github.com/archivesspace/archivesspace/blob/master/README_PREFIX.md</a>). 
 I have to use prefixes at our institute, I can't use sub-domains due to policies.<br class="">
</div>
<div class=""><br class="">
</div>
<div class="">When I start with the original zip file, I don't run into this problem and the app starts up fine.  However, I'm plagued with url issues (css, js, assets, etc...) from the app when setting up the application with prefixes through Apache.<br class="">
<br class="">
</div>
<div class="">Thanks.<br class="">
<br class="">
</div>
</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On Wed, Jul 22, 2015 at 11:24 AM, Brian Hoffman <span dir="ltr" class="">
<<a href="mailto:brianjhoffman@gmail.com" target="_blank" class="">brianjhoffman@gmail.com</a>></span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word" class="">Hi David,
<div class=""><br class="">
</div>
<div class="">Why are you building the application from source rather than just downloading the zip and starting there? Can you confirm that you have the same problem when you start from the ZIP file?</div>
<div class=""><br class="">
</div>
<div class="">Brian</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
<div class="">
<div class="">
<div class="">
<div class="">On Jul 22, 2015, at 11:07 AM, David Hietpas <<a href="mailto:hietpasd@uwosh.edu" target="_blank" class="">hietpasd@uwosh.edu</a>> wrote:</div>
<br class="">
</div>
</div>
<blockquote type="cite" class="">
<div class="">
<div class="">
<div dir="ltr" class="">
<div class="">Due to Archon migrations, I installed Aspace v1.0.4 (<a href="https://github.com/archivesspace/archivesspace/releases/tag/v1.0.4" target="_blank" class="">https://github.com/archivesspace/archivesspace/releases/tag/v1.0.4</a>) without issue but our University will
 not allow sub-domains so I have to use the Prefix method explained here (<a href="https://github.com/archivesspace/archivesspace/blob/master/README_PREFIX.md" target="_blank" class="">https://github.com/archivesspace/archivesspace/blob/master/README_PREFIX.md</a>)<br class="">
<br class="">
</div>
So I reinstalled using the 1.0.4 from the source code adding the config/config.rb with the proper prefixes just as instructed.  I ran "build/run dist".  Unzipped the compiled code.  I put the mysql-connector-java.jar in the archivesspace/lib directory like
 I had in the working version above.  I've attached a screenshot.<br class="">
<div class="">
<div class=""><br class="">
</div>
<div class="">It can't find the mysql-connector-java though it is in the lib directory of Archivesspace.  I've drop the exact version 5.1.13 as well as the newest.  It works perfectly fine in the non-source version but not the source build version.<br class="">
</div>
<div class=""><br class="">
Error: <a href="http://pastebin.com/FQVJEjEi" target="_blank" class="">http://pastebin.com/FQVJEjEi</a><br class="">
<br class="">
</div>
<div class="">Please advise.  Thanks.<br clear="all" class="">
</div>
<div class=""><br class="">
-- <br class="">
<div class="">
<div dir="ltr" class=""><font face="'PrimaSans BT,Verdana,sans-serif'" class="">David Hietpas<br class="">
University of Wisconsin Oshkosh<br class="">
<a href="mailto:hietpasd@uwosh.edu" target="_blank" class="">hietpasd@uwosh.edu</a> | 920-424-0291</font></div>
</div>
</div>
</div>
</div>
</div>
</div>
<span class=""><lib-jar-example.jpg></span>_______________________________________________<br class="">
Archivesspace_Users_Group mailing list<br class="">
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" target="_blank" class="">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br class="">
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" target="_blank" class="">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br class="">
</blockquote>
</div>
<br class="">
</div>
</div>
<br class="">
_______________________________________________<br class="">
Archivesspace_Users_Group mailing list<br class="">
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" target="_blank" class="">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br class="">
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" rel="noreferrer" target="_blank" class="">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br class="">
<br class="">
</blockquote>
</div>
<br class="">
<br clear="all" class="">
<br class="">
-- <br class="">
<div class="">
<div dir="ltr" class=""><font face="'PrimaSans BT,Verdana,sans-serif'" class="">David Hietpas<br class="">
University of Wisconsin Oshkosh<br class="">
<a href="mailto:hietpasd@uwosh.edu" target="_blank" class="">hietpasd@uwosh.edu</a> | 920-424-0291</font></div>
</div>
</div>
</div>
</div></div></div>
</div>
</div>

<br class="">_______________________________________________<br class="">
Archivesspace_Users_Group mailing list<br class="">
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" class="">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br class="">
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" rel="noreferrer" target="_blank" class="">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br class="">
<br class=""></blockquote></div><br class=""><br clear="all" class=""><br class="">-- <br class=""><div class="gmail_signature"><div dir="ltr" class=""><font face="'PrimaSans BT,Verdana,sans-serif'" class="">David Hietpas<br class="">University of Wisconsin Oshkosh<br class=""><a href="mailto:hietpasd@uwosh.edu" target="_blank" class="">hietpasd@uwosh.edu</a> | 920-424-0291</font></div></div>
</div>
<span id="cid:73B30F30-280B-4C2B-B106-861BE08D923C@Virginia.EDU"><example.jpg></span>_______________________________________________<br class="">Archivesspace_Users_Group mailing list<br class=""><a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" class="">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br class="">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group<br class=""></div></blockquote></div><br class=""></body></html>