root@cloudtest:~# vmc login -t
target: http://api.cf.os

>>>
REQUEST: GET /info
REQUEST_HEADERS:
accept : application/json
content-length : 0
user-agent : Ruby
RESPONSE: [200]
RESPONSE_HEADERS:
cache-control : max-age=0, private, must-revalidate
connection : keep-alive
content-type : application/json; charset=utf-8
date : Thu, 28 Feb 2013 08:32:22 GMT
etag : "a7560828ca757356623088b3f44b8f7c"
keep-alive : timeout=20
server : nginx
transfer-encoding : chunked
x-ua-compatible : IE=Edge,chrome=1
RESPONSE_BODY:
{
"name": "vcap",
"build": 2222,
"support": "http://support.cloudfoundry.com",
"version": "0.999",
"description": "VMware's Cloud Application Platform",
"allow_debug": false,
"frameworks": {
"rack": {
"name": "rack",
"runtimes": [
{
"name": "ruby18",
"version": "1.8.7p357",
"description": "Ruby 1.8"
},
{
"name": "ruby19",
"version": "1.9.2p180",
"description": "Ruby 1.9"
}
],
"detection": [
{
"config.ru": true
},
{
"config/environment.rb": false
}
]
},
"play": {
"name": "play",
"runtimes": [
{
"name": "java",
"version": "1.6.0_24",
"description": "Java 6"
},
{
"name": "java7",
"version": "1.7.0_04",
"description": "Java 7"
}
],
"detection": [
{
"lib/play.*.jar": true
}
]
},
"java_web": {
"name": "java_web",
"runtimes": [
{
"name": "java",
"version": "1.6.0_24",
"description": "Java 6"
},
{
"name": "java7",
"version": "1.7.0_04",
"description": "Java 7"
}
],
"detection": [
{
"*.war": true
}
]
},
"standalone": {
"name": "standalone",
"runtimes": [
{
"name": "java",
"version": "1.6.0_24",
"description": "Java 6"
},
{
"name": "java7",
"version": "1.7.0_04",
"description": "Java 7"
},
{
"name": "ruby18",
"version": "1.8.7p357",
"description": "Ruby 1.8"
},
{
"name": "ruby19",
"version": "1.9.2p180",
"description": "Ruby 1.9"
},
{
"name": "node",
"version": "0.4.12",
"description": "Node.js"
},
{
"name": "node06",
"version": "0.6.8",
"description": "Node.js"
},
{
"name": "node08",
"version": "0.8.2",
"description": "Node.js"
}
],
"detection": [

]
},
"rails3": {
"name": "rails3",
"runtimes": [
{
"name": "ruby18",
"version": "1.8.7p357",
"description": "Ruby 1.8"
},
{
"name": "ruby19",
"version": "1.9.2p180",
"description": "Ruby 1.9"
}
],
"detection": [
{
"config/application.rb": true
},
{
"config/environment.rb": true
}
]
},
"spring": {
"name": "spring",
"runtimes": [
{
"name": "java",
"version": "1.6.0_24",
"description": "Java 6"
},
{
"name": "java7",
"version": "1.7.0_04",
"description": "Java 7"
}
],
"detection": [
{
"*.war": true
}
]
},
"node": {
"name": "node",
"runtimes": [
{
"name": "node",
"version": "0.4.12",
"description": "Node.js"
},
{
"name": "node06",
"version": "0.6.8",
"description": "Node.js"
},
{
"name": "node08",
"version": "0.8.2",
"description": "Node.js"
}
],
"detection": [
{
"*.js": "."
}
]
},
"lift": {
"name": "lift",
"runtimes": [
{
"name": "java",
"version": "1.6.0_24",
"description": "Java 6"
},
{
"name": "java7",
"version": "1.7.0_04",
"description": "Java 7"
}
],
"detection": [
{
"*.war": true
}
]
},
"grails": {
"name": "grails",
"runtimes": [
{
"name": "java",
"version": "1.6.0_24",
"description": "Java 6"
},
{
"name": "java7",
"version": "1.7.0_04",
"description": "Java 7"
}
],
"detection": [
{
"*.war": true
}
]
},
"sinatra": {
"name": "sinatra",
"runtimes": [
{
"name": "ruby18",
"version": "1.8.7p357",
"description": "Ruby 1.8"
},
{
"name": "ruby19",
"version": "1.9.2p180",
"description": "Ruby 1.9"
}
],
"detection": [
{
"*.rb": "\\s*require[\\s\\(]*['\"]sinatra(/base)?['\"]"
},
{
"config/environment.rb": false
}
]
}
},
"authorization_endpoint": "http://uaa.cf.os"
}
<<<
>>>
REQUEST: GET /login
REQUEST_HEADERS:
accept : application/json
content-length : 0
user-agent : Ruby
CFoundry::TargetRefused: target refused connection (Connection refused -
connect(2))
For more information, see ~/.vmc/crash

*UAA.LOG*

Feb 28, 2013 8:37:51 AM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [varz] in context with path [] threw
exception
java.lang.IllegalStateException: No WebApplicationContext found: no
ContextLoaderListener registered?
at
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:251)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
at
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)
at
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at
org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at
org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at
org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at
org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at
org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
at
org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
at
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
at
org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:680)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

Search Discussions

  • Dave Syer at Feb 28, 2013 at 9:28 am

    On 28/02/13 08:39, hu kai wrote:
    REQUEST: GET /login
    REQUEST_HEADERS:
    accept : application/json
    content-length : 0
    user-agent : Ruby
    CFoundry::TargetRefused: target refused connection (Connection refused
    - connect(2))
    For more information, see ~/.vmc/crash
    So the UAA is not running. How did you build and install it? What version?

    --
    Dave Syer
    dsyer@vmware.com
  • Hu kai at Mar 1, 2013 at 5:45 am
    Hi Dave

    Not running ? java.lang.IllegalStateException: No
    WebApplicationContext found: no ContextLoaderListener registered ?

    I use BOSH deployment .

    +-------+--------------+---------------------+
    Name | Release(s) | Stemcell(s) |
    +-------+--------------+---------------------+
    cfoss | appcloud/127 | bosh-stemcell/0.6.7 |
    +-------+--------------+---------------------+

    uaa -> /var/vcap/data/packages/uaa/23.1/

    在 2013年2月28日星期四UTC+8下午5时28分35秒,David Syer写道:
    On 28/02/13 08:39, hu kai wrote:
    REQUEST: GET /login
    REQUEST_HEADERS:
    accept : application/json
    content-length : 0
    user-agent : Ruby
    CFoundry::TargetRefused: target refused connection (Connection refused
    - connect(2))
    For more information, see ~/.vmc/crash
    So the UAA is not running. How did you build and install it? What
    version?

    --
    Dave Syer
    ds...@vmware.com <javascript:>
  • Dave Syer at Mar 1, 2013 at 6:30 am

    On 01/03/13 05:45, hu kai wrote:
    No WebApplicationContext found: no ContextLoaderListener registered ?
    Like I said. Not running. This looks like maybe a sign of a bad WAR file.
    I use BOSH deployment .

    +-------+--------------+---------------------+
    Name | Release(s) | Stemcell(s) |
    +-------+--------------+---------------------+
    cfoss | appcloud/127 | bosh-stemcell/0.6.7 |
    +-------+--------------+---------------------+
    I'm not aware of any problems with release 127. Maybe your blobs are
    corrupted? What do you get if you '$ cksum blobs/uaa/*' in your
    cf-release directory?

    D.

    --
    Dave Syer
    dsyer@vmware.com
  • Hu kai at Mar 1, 2013 at 8:55 am
    uaa:
    enabled: true
    url: http://uaa.cf.os:*8080*

    Add 8080 in cc. Problem-solving.

    在 2013年3月1日星期五UTC+8下午2时30分33秒,David Syer写道:
    On 01/03/13 05:45, hu kai wrote:
    No WebApplicationContext found: no ContextLoaderListener registered ?
    Like I said. Not running. This looks like maybe a sign of a bad WAR
    file.
    I use BOSH deployment .

    +-------+--------------+---------------------+
    Name | Release(s) | Stemcell(s) |
    +-------+--------------+---------------------+
    cfoss | appcloud/127 | bosh-stemcell/0.6.7 |
    +-------+--------------+---------------------+
    I'm not aware of any problems with release 127. Maybe your blobs are
    corrupted? What do you get if you '$ cksum blobs/uaa/*' in your
    cf-release directory?

    D.

    --
    Dave Syer
    ds...@vmware.com <javascript:>

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupvcap-dev @
postedFeb 28, '13 at 8:39a
activeMar 1, '13 at 8:55a
posts5
users2

2 users in discussion

Hu kai: 3 posts Dave Syer: 2 posts

People

Translate

site design / logo © 2021 Grokbase