cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP 500 Internal server Error when connecting to EPO

Ran update on server 2003 R2 Service Pack 2 had dot net updates. was able to connect to EPO before update.

Checked https://eposerver:8443/core/config and test connection error message

Test failed: Login failed for user ". The user is not associated with a trusted SQL Server connection.

Here is Orion.log

2013-04-04 14:11:03,155 ERROR [http-8443-Processor21] [/core].[login]  - Servlet.service() for servlet login threw exception

org.springframework.beans.factory.BeanCreationException: Bean factory is shut down

          at com.mcafee.orion.core.spring.MultiParentBeanFactory.checkEnabled(MultiParentBeanFactory.java:382)

          at com.mcafee.orion.core.spring.MultiParentBeanFactory.getBean(MultiParentBeanFactory.java:180)

          at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)

          at com.mcafee.orion.core.servlet.LoginServlet.addLoginHook(LoginServlet.java:238)

          at com.mcafee.orion.core.servlet.LoginServlet.doPost(LoginServlet.java:231)

          at com.mcafee.orion.core.servlet.LoginServlet.doGet(LoginServlet.java:60)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)

          at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:659)

          at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:457)

          at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:395)

          at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:311)

          at org.apache.catalina.authenticator.FormAuthenticator.forwardToLoginPage(FormAuthenticator.java:321)

          at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:245)

          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:528)

          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)

          at com.mcafee.orion.core.server.AjaxValve.invoke(AjaxValve.java:84)

          at com.mcafee.orion.core.server.OrionUserSetupValve.invoke(OrionUserSetupValve.java:41)

          at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:393)

          at com.mcafee.orion.core.server.OrionSingleSignOn.invoke(OrionSingleSignOn.java:141)

          at com.mcafee.orion.core.server.ClientCertValve.invoke(ClientCertValve.java:69)

          at com.mcafee.orion.core.server.ClientCertValve.invoke(ClientCertValve.java:69)

          at com.mcafee.orion.core.server.ParameterEncodingValve.invoke(ParameterEncodingValve.java:37)

          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)

          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)

          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:879)

          at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)

          at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)

          at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)

          at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)

          at java.lang.Thread.run(Thread.java:619)

2013-04-04 14:11:03,155 WARN  [http-8443-Processor21] authenticator.FormAuthenticator  - Unexpected error forwarding to login page

org.springframework.beans.factory.BeanCreationException: Bean factory is shut down

          at com.mcafee.orion.core.spring.MultiParentBeanFactory.checkEnabled(MultiParentBeanFactory.java:382)

          at com.mcafee.orion.core.spring.MultiParentBeanFactory.getBean(MultiParentBeanFactory.java:180)

          at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)

          at com.mcafee.orion.core.servlet.LoginServlet.addLoginHook(LoginServlet.java:238)

          at com.mcafee.orion.core.servlet.LoginServlet.doPost(LoginServlet.java:231)

          at com.mcafee.orion.core.servlet.LoginServlet.doGet(LoginServlet.java:60)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)

          at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:659)

          at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:457)

          at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:395)

          at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:311)

          at org.apache.catalina.authenticator.FormAuthenticator.forwardToLoginPage(FormAuthenticator.java:321)

          at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:245)

          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:528)

          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)

          at com.mcafee.orion.core.server.AjaxValve.invoke(AjaxValve.java:84)

          at com.mcafee.orion.core.server.OrionUserSetupValve.invoke(OrionUserSetupValve.java:41)

          at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:393)

          at com.mcafee.orion.core.server.OrionSingleSignOn.invoke(OrionSingleSignOn.java:141)

          at com.mcafee.orion.core.server.ClientCertValve.invoke(ClientCertValve.java:69)

          at com.mcafee.orion.core.server.ClientCertValve.invoke(ClientCertValve.java:69)

          at com.mcafee.orion.core.server.ParameterEncodingValve.invoke(ParameterEncodingValve.java:37)

          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)

          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)

          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:879)

          at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)

          at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)

          at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)

          at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)

          at java.lang.Thread.run(Thread.java:619)

2013-04-04 14:11:03,155 ERROR [http-8443-Processor21] servlet.ControllerServlet  - an unexpected error occurred while core's bean factory was not available

org.springframework.beans.factory.BeanCreationException: Bean factory is shut down

          at com.mcafee.orion.core.spring.MultiParentBeanFactory.checkEnabled(MultiParentBeanFactory.java:382)

          at com.mcafee.orion.core.spring.MultiParentBeanFactory.getBean(MultiParentBeanFactory.java:180)

          at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)

          at com.mcafee.orion.core.servlet.LoginServlet.addLoginHook(LoginServlet.java:238)

          at com.mcafee.orion.core.servlet.LoginServlet.doPost(LoginServlet.java:231)

          at com.mcafee.orion.core.servlet.LoginServlet.doGet(LoginServlet.java:60)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)

          at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:659)

          at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:457)

          at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:395)

          at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:311)

          at org.apache.catalina.authenticator.FormAuthenticator.forwardToLoginPage(FormAuthenticator.java:321)

          at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:245)

          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:528)

          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)

          at com.mcafee.orion.core.server.AjaxValve.invoke(AjaxValve.java:84)

          at com.mcafee.orion.core.server.OrionUserSetupValve.invoke(OrionUserSetupValve.java:41)

          at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:393)

          at com.mcafee.orion.core.server.OrionSingleSignOn.invoke(OrionSingleSignOn.java:141)

          at com.mcafee.orion.core.server.ClientCertValve.invoke(ClientCertValve.java:69)

          at com.mcafee.orion.core.server.ClientCertValve.invoke(ClientCertValve.java:69)

          at com.mcafee.orion.core.server.ParameterEncodingValve.invoke(ParameterEncodingValve.java:37)

          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)

          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)

          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:879)

          at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)

          at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)

          at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)

          at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)

          at java.lang.Thread.run(Thread.java:619)

2013-04-04 14:11:23,655 ERROR [http-8443-Processor24] html.StyleTag    - org.springframework.beans.factory.BeanCreationException: Bean factory is shut down

2013-04-04 14:11:23,655 WARN  [http-8443-Processor24] html.StyleTag    - unable to initialize the Style tag's listener since the event service could not be obtained

2013-04-04 14:11:23,655 ERROR [http-8443-Processor24] html.StyleTag    - org.springframework.beans.factory.BeanCreationException: Bean factory is shut down

2013-04-04 14:11:23,655 WARN  [http-8443-Processor24] html.StyleTag    - unable to initialize the Style tag's listener since the event service could not be obtained

2013-04-04 14:11:23,686 ERROR [http-8443-Processor24] html.StyleTag    - org.springframework.beans.factory.BeanCreationException: Bean factory is shut down

2013-04-04 14:11:23,686 WARN  [http-8443-Processor24] html.StyleTag    - unable to initialize the Style tag's listener since the event service could not be obtained

0 Kudos
6 Replies
mbauman8
Level 11

Re: HTTP 500 Internal server Error when connecting to EPO

hi

maybe your password is to complicated (The Domain Administrator password contains Non-English characters. (Example: ç, ú, é, á, etc.))

look:

https://kc.mcafee.com/corporate/indexpage=content&id=KB51912

0 Kudos
mbauman8
Level 11

Re: HTTP 500 Internal server Error when connecting to EPO

0 Kudos
alexn
Level 14

Re: HTTP 500 Internal server Error when connecting to EPO

Try the following,

I think you are having Windows authentication settings in yopur ePo, for some reasons or maybe you have changed password or user that was communicating with SQL,

Now Either enable SA user in your SQL and changed your settings from windows authentication to Mixd mode or crfeate a new SQL user and let the settings as it is.

The easy way to do so is to install Microsoft SQL Management studio on your server machine and commect to your SQL instance, ther you will finf all the setting for SA user, mixed mod authentication and new user creation.

Once you create new user or enabled SA user, you will

apply the settings here  https://eposerver:8443/core/config  and also restart ePo services.

You may report back once you do or find any ambiguity,

Thanks

Regds

0 Kudos

Re: HTTP 500 Internal server Error when connecting to EPO

Thanks for your help but as you can see I already had it working and all I did was ran server udpate.

Updates were manly .net framework updates.

I am running server2003R2 on Hyper-V nothing else is installed on guest OS.

Also i have not made any changes to password or username

Message was edited by: jigneshparmar on 7/04/13 11:43:41 PM
0 Kudos
apoling
Level 14

Re: HTTP 500 Internal server Error when connecting to EPO

Hi,

Please make sure that you can test the database connection on the core/config page and if succeeds Apply it and restart ePO services (all 3) or the server.

If it does not succeed, make sure that the user used for the connection exists, you know the password and the connection succeeds from, say, a SQL Management Studio (installed on any client).

Thanks.

Attila

0 Kudos
mbauman8
Level 11

Re: HTTP 500 Internal server Error when connecting to EPO

hi jignesh

I had the same phenomene. my server had more then one interface. after the update the epo lost the gateway in the main interface.

can you chech this?

be shure that your password has only easy letters. (abc ... or/and 123 ..)

good look

0 Kudos