traviskds
traviskds

Reputation: 31

WSO2 API Manager 1.4.0 Management Console

I downloaded and installed the WSO2 API Manager version 1.4.0 yesterday and I cannot login to the web management console (https://localhost:9443/carbon) using the default credentials (i.e. admin/admin)

I can login to the API store and API publisher and the error comes only for the management console.

Note that I performed the default install (unzip and ran ./wso2server.sh from the bin folder)

Following is part of the error stacktrace

2013-06-03 15:42:13,095]  INFO - CarbonAuthenticationUtil '[email protected] [-1234]' logged in at [2013-06-03 15:42:13,095+1000]

[2013-06-03 15:42:13,112] ERROR - AuthenticationHandler System error : 0 active authenticators registered in the system. The system should have at least 1 active authenticator service registered.
java.lang.RuntimeException: System error : 0 active authenticators registered in the system. The system should have at least 1 active authenticator service registered.
    at org.wso2.carbon.server.admin.module.handler.AuthenticationHandler.isAuthenticated(AuthenticationHandler.java:144)
    at org.wso2.carbon.server.admin.module.handler.AuthenticationHandler.authenticate(AuthenticationHandler.java:83)

Further down the stacktrace, I also get the below

[2013-06-04 11:42:15,860] ERROR - AxisEngine Authentication failure
org.apache.axis2.AxisFault: Authentication failure
    at org.wso2.carbon.server.admin.module.handler.AuthenticationHandler.authenticate(AuthenticationHandler.java:110)
    at org.wso2.carbon.server.admin.module.handler.AuthenticationHandler.invoke(AuthenticationHandler.java:55)
    at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
    at org.apache.axis2.engine.Phase.invoke(Phase.java:313)

I also get the following two warning messages on startup

[2013-06-04 11:14:05,489]  WARN - ValidationResultPrinter Swap Memory size (MB): 64 of the system is below the recommended minimum size :2048

[2013-06-04 11:14:15,444]  WARN - LandingPageWebappDeployer Product landing page not found.

Upvotes: 0

Views: 790

Answers (3)

traviskds
traviskds

Reputation: 31

@nuwandias Hi Nuwan.

I identified the issue. When I was evaluating the previous 1.3.1 version, I injected the Authorization header with the Bearer token via my Firefox browser plugin.

That was what caused the problem with the 1.4.0 version. Once I disable it it works fine.

All good now and I am looking forward to doing a deep dive evaluation of this product.

Thanks a lot for your support.

Upvotes: 1

nuwandias
nuwandias

Reputation: 1

Looking at this log message...

Swap Memory size (MB): 64 of the system is below the recommended minimum size :2048

It seems like your hard drive (or partition) has filled up. I'm wondering whether this could have caused any errors when you unzipped the zip file (if the hard disk has no free space).

If this is the case, can you free up some space (>200MB) in your partition, unzip the archive again and retry?

Upvotes: 0

nuwandias
nuwandias

Reputation: 1

I have just downloaded the zip from the website and tried the same and it worked fine. Can you please provide the following information.

  1. What is the environment that you are trying this on (OS)?
  2. What is the md5sum value of the zip archive? Mine is fea68eaadd17daa5e6fa0aff3d973601.
  3. Do you see any errors/warnings on startup? If so, could you share the startup logs too?

Thanks, Nuwan.

Upvotes: 0

Related Questions