Yongming, I noticed that you did not get a response to this question.  Are
you still encountering this issue?

Your approach sounds correct to me.  Here are a couple things to try.

1. Since you are running XMLUI, have you cleared your Cocoon cache?
Sometimes that simple action can resolve unexpected behavior.
2. If you grep the files in your config directory, do you see an residual
references to port 8080?

Terry

On Wed, Feb 8, 2017 at 7:07 AM, Wang, Yongming <[email protected]> wrote:

> Dear all,
>
> Our environment:  New installation, DSpace 6.0, xmlui mirage2, RHEL7
>
> Description of problem:
>
> When the users conduct the self-registration by entering their email, an
> url is generated and sent to that user's email. When the users click that
> url, they got an "Unable to connect" error. I looked at the url. It's like
> the following:
>
> http://xxx.xxxx.xxx:8080/xmlui/register?token=
> 2bfb5abeaa6bf1fa3309ca63f9d8c2d5
>
> I realized that we have configured our server to have our dspace to point
> to the standard http port (80), not the default 8080. So I modified the
> local.cfg to remove 8080 from dspace.baseUrl. Now the generated url is like
> the following:
>
> http://xxx.xxxx.xxx/xmlui/register?token=2bfb5abeaa6bf1fa3309ca63f9d8c2d5
>
> This time the error massage is "Page cannot be found," with a stack of
> java errors like this:
>
> Java stacktrace: org.apache.cocoon.ResourceNotFoundException: Page cannot
> be found at org.dspace.app.xmlui.aspect.general.PageNotFoundTransformer.
> addBody(PageNotFoundTransformer.java:185) at org.dspace.app.xmlui.wing.
> AbstractWingTransformer.startElement(AbstractWingTransformer.java:234) at
> org.dspace.app.xmlui.aspect.general.PageNotFoundTransformer.sendEvent(
> PageNotFoundTransformer.java:237) at org.dspace.app.xmlui.aspect.general.
> PageNotFoundTransformer.endElement(PageNotFoundTransformer.java:153) at
> sun.reflect.GeneratedMethodAccessor114.invoke(Unknown Source) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.
> invoke(Method.java:606)
> ...
>
>
> My questions are:
>
> 1. Am I in the right direction to remove 8080 of dspace.baseUrl in
> local.cfg?
>
> 2. What's my next move to fix the "page cannot be found" error?
>
> Any help or guidance will be greatly appreciated.
>
>
>
>
> Yongming
>
> --
> Yongming Wang
> Systems Librarian/Associate Professor
> The College of New Jersey
> tel: 609-771-3337 <(609)%20771-3337>
> email: [email protected]
>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" 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-tech.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Terry Brady
Applications Programmer Analyst
Georgetown University Library Information Technology
http://georgetown-university-libraries.github.io/
<https://www.library.georgetown.edu/lit/code>
425-298-5498 (Seattle, WA)

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" 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-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to