Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Site not working #9

Open
GoogleCodeExporter opened this issue Oct 23, 2015 · 2 comments
Open

Create Site not working #9

GoogleCodeExporter opened this issue Oct 23, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link
Collaborator

What steps will reproduce the problem?

1. New install of Alfresco Enterprise 4.2.2
2. alfCreateSite.sh mysite

What is the expected output? What do you see instead?

Expect to see a new site created. Get an error "Could not resolve host: Path=" 
instead. 

What version of the product are you using? On what operating system?

New build of the shell tools (from yesterday 01-07-2014)
Using a new install of Alfresco Enterprise 4.2.2

Please provide any additional information below.

The commands - alfSetAvatar.sh, alfCreateGroup.sh, alfAddAuthorityToGroup.sh, 
alfAddAuthorityToGroup.sh all work

Added Verbose mode:

Environment
=================

TERM_PROGRAM=Apple_Terminal
SHELL=/bin/bash
TERM=xterm-256color
TMPDIR=/var/folders/fn/vzlzbq910d93zwvp4m3zy2y80000gp/T/
Apple_PubSub_Socket_Render=/tmp/launch-cXTrJm/Render
TERM_PROGRAM_VERSION=326
ALFTOOLS_SHARE_ENDPOINT=http://localhost:8080/share
ALFTOOLS_ENDPOINT=http://localhost:8080/alfresco
OLDPWD=/AlfrescoCode/DemoBuild/BuildServer/Avatars
TERM_SESSION_ID=8E23A480-E53B-40B2-A8FD-6784F26CE2D9
USER=phampton
SSH_AUTH_SOCK=/tmp/launch-xxfn0v/Listeners
__CF_USER_TEXT_ENCODING=0x1F6:0:0
PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Users/Shared/alfresco-shell-t
ools/bin:/Users/Shared/my-tools/bin
__CHECKFIX1436934=1
PWD=/AlfrescoCode/DemoBuild/BuildServer
LANG=en_GB.UTF-8
PS1=$ 
SHLVL=1
HOME=/Users/phampton
ALFTOOLS_PASSWORD=xxxxxx
LOGNAME=phampton
ALFTOOLS_USER=admin
_=/usr/bin/env

Error Log
=================

connection params:
  user: admin
  endpoint: http://localhost:8080/alfresco
  curl opts: -s -S -k -f -v
  site title: mysite
  site desc:  
  site visibility: PUBLIC
  site preset: site-dashboard
  site short name: 
* Adding handle: conn: 0x7fdf0a004000
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x7fdf0a004000) send_pipe: 1, recv_pipe: 0
* Could not resolve host: Path=
* Closing connection 0
curl: (6) Could not resolve host: Path=
* Adding handle: conn: 0x7fdf0a004000
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 1 (0x7fdf0a004000) send_pipe: 1, recv_pipe: 0
* About to connect() to localhost port 8080 (#1)
*   Trying 127.0.0.1...
* Connected to localhost (127.0.0.1) port 8080 (#1)
> POST /share/service/modules/create-site HTTP/1.1
> User-Agent: curl/7.30.0
> Host: localhost:8080
> Accept: */*
> Cookie: JSESSIONID=6FFAB54BE393666A6A7F02EA8539753F;
> Content-Type: application/json
> Content-Length: 118
> 
* upload completely sent off: 118 out of 118 bytes
< HTTP/1.1 200 OK
* Server Apache-Coyote/1.1 is not blacklisted
< Server: Apache-Coyote/1.1
< Set-Cookie: 
Alfresco-CSRFToken=nRGW3D59ROGVzaSJi8MWd%2feGCQ9olKb4609Nx1VKrhg%3d; 
Expires=Wed, 09-Jul-2014 10:29:42 GMT; Path=/share
< X-Frame-Options: SAMEORIGIN
< X-XSS-Protection: 1; mode=block
< X-Content-Type-Options: nosniff
< Content-Language: en-US
< Content-Length: 0
< Date: Wed, 02 Jul 2014 10:29:42 GMT
< 
* Connection #1 to host localhost left intact

Original issue reported on code.google.com by [email protected] on 2 Jul 2014 at 11:24

@ghost
Copy link

ghost commented Oct 26, 2015

A site is no created completely. Accessing http://localhost:8080/share/page/site/sitename/dashboard throws this exception:

javax.servlet.ServletException: Could not resolve view with name 'site/sitename/dashboard' in servlet with name 'Spring
Surf Dispatcher Servlet'

@ghost ghost self-assigned this Oct 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant