Unable to access Connect Gateway Admin Console

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Unable to access Connect Gateway Admin Console

anji
Hi All,

  Can some one please help me on the following issue...

Unable to access Connect Gateway Admin Console getting the following error in server log....

Caused by: org.apache.cxf.transport.http.HTTPException: HTTP response '404: Not Found' when communicating with http://localhost:8080/CONNECTDirectConfig/ConfigurationService


Your quick help is much appreciated!!!

Thanks & Regards,
Anji
Reply | Threaded
Open this post in threaded view
|

Re: Unable to access Connect Gateway Admin Console

Minh
Administrator
Hi Anji,

Those error happens when your CONNECT.ear doesn't have Direct Profile.  If you don't need Direct module, then you can safely ignore those error.  

Can you check the server log to see if you have other error? Url for Connect Gateway AdminGUI usually is http://localhost:8080/CONNECTAdminGUI.  Please change to reflect your environment.

Thanks
Minh-Hai Nguyen
CONNECT Product Team Member
Reply | Threaded
Open this post in threaded view
|

Re: Unable to access Connect Gateway Admin Console

anji
Thank you very much Minh.

My Problem is ConnectAdminGUI sigin page is appearing as shown in the screenshot.


But, after i enter username and password, I am getting the reported error. I don't know where it's configured to call directconfig service as part of sign in process.

what all i know is this service was configured in internalConnectionInfo.xml file as follows..



            <businessService serviceKey="uddi:nhincnode:directconfig">
                <name xml:lang="en">directconfig</name>
                <bindingTemplates>
                    <bindingTemplate bindingKey="uddi:nhincnode:directconfig" serviceKey="uddi:nhincnode:directconfig">
                        <accessPoint useType="endPoint">http://localhost:8080/CONNECTDirectConfig/ConfigurationService</accessPoint>
                        <categoryBag>
                            <keyedReference tModelKey="CONNECT:adapter:apilevel" keyName="" keyValue="LEVEL_a0"/>
                        </categoryBag>
                    </bindingTemplate>
                </bindingTemplates>
                <categoryBag>
                    <keyedReference tModelKey="uddi:nhin:standard-servicenames" keyName="directconfig" keyValue="directconfig"/>
                </categoryBag>
            </businessService>

Can you please tell me how to skip calling this service as part of sign in??

Thanks,
Anji
Reply | Threaded
Open this post in threaded view
|

Re: Unable to access Connect Gateway Admin Console

Minh
Administrator
Hi Anji,
Can you try to remove the whole block inside internalConnection.xml since you don't need direct profile?
 <businessService serviceKey="uddi:nhincnode:directconfig">
                <name xml:lang="en">directconfig</name>
                <bindingTemplates>
                    <bindingTemplate bindingKey="uddi:nhincnode:directconfig" serviceKey="uddi:nhincnode:directconfig">
                        <accessPoint useType="endPoint">http://localhost:8080/CONNECTDirectConfig/ConfigurationService</accessPoint>
                        <categoryBag>
                            <keyedReference tModelKey="CONNECT:adapter:apilevel" keyName="" keyValue="LEVEL_a0"/>
                        </categoryBag>
                    </bindingTemplate>
                </bindingTemplates>
                <categoryBag>
                    <keyedReference tModelKey="uddi:nhin:standard-servicenames" keyName="directconfig" keyValue="directconfig"/>
                </categoryBag>
            </businessService>
Also, what connection version do you use?
Thanks,
Minh-Hai Nguyen
CONNECT Product Team Member
Reply | Threaded
Open this post in threaded view
|

Re: Unable to access Connect Gateway Admin Console

anji
Exactly did the same thing and just restarted the server. Now, I got the below error...

[#|2016-11-22T09:35:44.546-0600|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=311;_ThreadName=Thread-2;|[22/09:35:44:544] ERROR  AdapterEndpointManager          Error getting API Level by Service Name:


 java.lang.NullPointerException
        at gov.hhs.fha.nhinc.connectmgr.AdapterEndpointManager.getAPILevelsFromBusinessService(AdapterEndpointManager.java:96)
        at gov.hhs.fha.nhinc.connectmgr.AdapterEndpointManager.getAdapterAPILevelsByServiceName(AdapterEndpointManager.java:84)
        at gov.hhs.fha.nhinc.connectmgr.AdapterEndpointManager.getApiVersion(AdapterEndpointManager.java:50)


Thanks,
Anji
Reply | Threaded
Open this post in threaded view
|

Re: Unable to access Connect Gateway Admin Console

anji
I completely remove the service from internalConnectionInfo.xml file. Now, the above error was gone. But, i am getting a new error as follows...

[#|2016-11-22T10:03:52.161-0600|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=113;_ThreadName=Thread-2;|[22/10:03:52:161] DEBUG  UserAuthorizationListener       current page: /login.xhtml


 |#]

[#|2016-11-22T10:03:52.172-0600|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=113;_ThreadName=Thread-2;|Hibernate: select userlogin0_.ID as ID0_, userlogin0_.SALT as SALT0_, userlogin0_.SHA1 as SHA3_0_, userlogin0_.USERNAME as USERNAME0_, userlogin0_.userRole as userRole0_ from UserLogin userlogin0_ where (userName=? )|#]

[#|2016-11-22T10:03:52.176-0600|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=113;_ThreadName=Thread-2;|Hibernate: select userrole0_.ROLEID as ROLEID1_2_, userrole0_.ROLENAME as ROLENAME1_2_, preference1_.prefRoleId as prefRoleId4_, preference1_.PREFID as PREFID4_, preference1_.PREFID as PREFID2_0_, preference1_.ACCESSPAGE as ACCESSPAGE2_0_, preference1_.PAGEDESC as PAGEDESC2_0_, preference1_.PAGENAME as PAGENAME2_0_, preference1_.prefRoleId as prefRoleId2_0_, userlogins2_.userRole as userRole5_, userlogins2_.ID as ID5_, userlogins2_.ID as ID0_1_, userlogins2_.SALT as SALT0_1_, userlogins2_.SHA1 as SHA3_0_1_, userlogins2_.USERNAME as USERNAME0_1_, userlogins2_.userRole as userRole0_1_ from UserRole userrole0_ left outer join PagePreference preference1_ on userrole0_.ROLEID=preference1_.prefRoleId left outer join UserLogin userlogins2_ on userrole0_.ROLEID=userlogins2_.userRole where userrole0_.ROLEID=?|#]

[#|2016-11-22T10:03:52.190-0600|WARNING|glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=113;_ThreadName=Thread-2;|StandardWrapperValve[facesServlet]: PWC1406: Servlet.service() for servlet facesServlet threw exception
java.lang.NullPointerException
        at org.primefaces.context.PrimeFacesContext.release(PrimeFacesContext.java:26)
        at org.primefaces.context.PrimeFacesContext.release(PrimeFacesContext.java:28)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:235)
        at org.apache.myfaces.webapp.MyFacesServlet.service(MyFacesServlet.java:112)
Reply | Threaded
Open this post in threaded view
|

Re: Unable to access Connect Gateway Admin Console

anji
Hi,
   I replaced the Primefaces-4.0.Jar file with PrimeFaces-5.0.jar. Now, the above error was gone. But, Now i am getting backward compatibility issues like NoSuchMethoderror while accessing componenets in Gateway Admin UI. I must use Primefaces-4.0.Jar file then.

   can some one help me out how to resolve that NullPointerException w.r.to Primefaces-4.0.Jar.

Thanks,
Anji
Reply | Threaded
Open this post in threaded view
|

Re: Unable to access Connect Gateway Admin Console

Sovann Huynh
Administrator
Hi there, we are considering the possibility of upgrading to Primefaces 4.0 in the future but we currently do not support it.
Sovann
CONNECT Product Team Member
Reply | Threaded
Open this post in threaded view
|

Re: Unable to access Connect Gateway Admin Console

anji
I think you mean upgrading to primeface-5.0 but not primefaces-4.0 :-D