Hi Alan,

No need to apologise! Thanks for giving all the background and steps taken
so far.

I just want to check first - since you reference a dpsace-6.2-src-release
directory, have you compiled DSpace with Maven?

We've got documentation about how to install Dspace from source at
https://wiki.duraspace.org/display/DSDOC6x/Installing+DSpace -- if you
haven't done the Maven or Ant tasks yet, have a read of this page and make
sure you've got all the prerequisites installed and that you follow the
"mvn package" and "ant fresh_install" tasks. Typically, a new install will
involve creating a directory for the installed DSpace instance to live (eg
/dspace or /usr/local/dspace) and that's where the real, compiled 'webapps'
directory will live, for you to point Tomcat at (or symlink to, or as a
directory from which to copy your webapps into a Tomcat webapp base
directory)

If you have compiled and run the Ant fresh_install task, I'd recommend
starting again, and this time trying again with a different 'dspace dir'
which is separate to the source directory -- it will get confusing if you
are mixing your source code directory up with the compiled+installed
application.

Hope this helps! Let me know if I'm barking up the wrong tree or if you run
into any other issues.

Cheers

Kim

M: [email protected]
T: @kimshepherd
P: +6421883635
W: www.shepherd.nz <http://shepherd.nz>

0CCB D957 0C35 F5C1 497E CDCF FC4B ABA3 2A1A FAEC

On 13 March 2018 at 17:04, Alan Z <[email protected]> wrote:

> I am having troubles getting started due to my not understanding some
> basics about Tomcat and DSpace configuration.
> (This is with AWS "AMI" virtual with Tomcat 8, Postgresql 9.6, and DSpace
> 6.2.) All pieces seem installed correctly, but for the life of me I cannot
> get Tomcat to serve out the DSpace jspui index.jsp page.
>
> In the Dspace conf.cfg I have the following values:
>
> dspace.dir = /home/ec2-user/dspace-6.2-src-release/dspace
>
> dspace.hostname = states.xxxxx.net
>
> dspace.baseUrl = http://states.xxxxx.net:8080
>
>
> I commented out the line
>
> #dspace.url = ${dspace.baseUrl}/${dspace.ui}
> because in the Tomcat server.xml I have NOT changed the <Host> element.
> Rather I copied all the files and folders from /home/ec2-user/dspace-6.
> 2-src-release/dspace/webapps
> to the Tomcat webapps folder.
> Shoudn't this be enough to make possible browsers addressing
> http://states.xxxxx.net:8080/jspui
> to get the index.jsp file under jspui ?
>
> I would be happy to edit the <Host> element to set the appBase to the
> DSpace installation's webapps folder, except that my efforts to do all
> failed. I tried various combinations such as
>
> <Host name="states.xxxxx.net""  appBase="/home/ec2-user/
> dspace-6.2-src-release/dspace/webapps"
>
> and also
>
> <Host name="localhost"  appBase="/home/ec2-user/dspace-6.2-
> src-release/dspace/webapps"
>
> BUT finally the only way I could get even the default Tomcat page to
> display was to revert back to
>
> <Host name="localhost"  appBase="webapps"
> That's when I thought I would just copy all the DSpace apps into the
> default Tomcat webapps directory.
>
> I apologize for the newbie nature of the above. A gently hint would be
> most appreciated!
>
> A
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/dspace-community.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-community.
For more options, visit https://groups.google.com/d/optout.

Reply via email to