[Archivesspace_Users_Group] Mysql connector issues with a source build

Chris Fitzpatrick Chris.Fitzpatrick at lyrasis.org
Wed Jul 22 13:06:51 EDT 2015



Hi David,


Wow, this documentation is extremely outdated ( from v1.0.2 ).


I'll update this.


But the new way for adding this is to use the proxy_url settings in the config.rb file:

https://github.com/archivesspace/archivesspace/blob/master/common/config/config-defaults.rb#L156-L157


Change your url that you're proxying here, like

AppConfig[:public_proxy_url] = "http://my.aspace.edu/public"

AppConfig[:frontend_proxy_url] = "http://my.aspace.edu/staff"



Does that make sense? No need to compile from source for this...

b,chris.


Chris Fitzpatrick | Developer, ArchivesSpace
Skype: chrisfitzpat  | Phone: 918.236.6048
http://archivesspace.org/


________________________________
From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> on behalf of David Hietpas <hietpasd at uwosh.edu>
Sent: Wednesday, July 22, 2015 6:34 PM
To: Archivesspace Users Group
Subject: Re: [Archivesspace_Users_Group] Mysql connector issues with a source build

Hi Brian,

As I mentioned in the original email, I'm following the instructions posted from ArchivesSpace Github to setup a installation with prefixes (https://github.com/archivesspace/archivesspace/blob/master/README_PREFIX.md).  I have to use prefixes at our institute, I can't use sub-domains due to policies.

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.

Thanks.


On Wed, Jul 22, 2015 at 11:24 AM, Brian Hoffman <brianjhoffman at gmail.com<mailto:brianjhoffman at gmail.com>> wrote:
Hi David,

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?

Brian


On Jul 22, 2015, at 11:07 AM, David Hietpas <hietpasd at uwosh.edu<mailto:hietpasd at uwosh.edu>> wrote:

Due to Archon migrations, I installed Aspace v1.0.4 (https://github.com/archivesspace/archivesspace/releases/tag/v1.0.4) without issue but our University will not allow sub-domains so I have to use the Prefix method explained here (https://github.com/archivesspace/archivesspace/blob/master/README_PREFIX.md)

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.

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.

Error: http://pastebin.com/FQVJEjEi

Please advise.  Thanks.

--
David Hietpas
University of Wisconsin Oshkosh
hietpasd at uwosh.edu<mailto:hietpasd at uwosh.edu> | 920-424-0291
<lib-jar-example.jpg>_______________________________________________
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org<mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group


_______________________________________________
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org<mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group




--
David Hietpas
University of Wisconsin Oshkosh
hietpasd at uwosh.edu<mailto:hietpasd at uwosh.edu> | 920-424-0291
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20150722/8f6caa69/attachment.html>


More information about the Archivesspace_Users_Group mailing list