Unable to start MWS -- java.lang.NullPointerException

Hi All,

There is a change in DB. So, shut down IS, MWS. Changed db pools of IS, pointed to new Db in files under pool folder, started which is UP and running. For MWS, changed DB details in mws.db.xml in /MWS/server/default/config/ folder. I tried to start which didn’t come up saying below error:

java.lang.NullPointerException
at com.webMethods.portal.framework.impl.PortalServlet.acquireURI(PortalServlet.java:650)
at com.webMethods.portal.system.PortalSystem.acquireURI(PortalSystem.java:704)
at com.webMethods.portal.portlet.wm_xt_usertabset.mechanics.UsertabsetMechanics$RootPageResolver.acquireURI(UsertabsetMechanics.java:59)
at com.webMethods.portal.system.PortalSystem.acquireURI(PortalSystem.java:704)
at com.webMethods.portal.portlet.wm_xt_portalrules.rules.PortalRuleContext.(PortalRuleContext.java:33)
at com.webMethods.portal.portlet.wm_xt_portalrules.mechanics.PortalRulesMechanics.getRuleContext(PortalRulesMechanics.java:214)
at com.webMethods.portal.portlet.wm_xt_portalrules.mechanics.PortalRulesMechanics.getRuleContext(PortalRulesMechanics.java:207)
at com.webMethods.portal.portlet.wm_xt_portalrules.mechanics.PortalRulesMechanics.getRuleForUser(PortalRulesMechanics.java:443)
at com.webMethods.portal.portlet.impl.wm_xt_skin.mechanics.SkinMechanics.getCurrentSkinID(SkinMechanics.java:524)
at com.webMethods.portal.framework.presentation.PresentationManager.setSessionData(PresentationManager.java:539)
at com.webMethods.portal.framework.presentation.PresentationManager.preparePresentationData(PresentationManager.java:240)
at com.webMethods.portal.framework.dispatch.DispatchManager.preparePresentationData(DispatchManager.java:815)
at com.webMethods.portal.framework.dispatch.DispatchManager.handle(DispatchManager.java:432)
at com.webMethods.portal.framework.dispatch.DispatchManager.handleError(DispatchManager.java:402)
at com.webMethods.portal.framework.error.ErrorManager.handleException(ErrorManager.java:97)
at com.webMethods.portal.framework.impl.PortalServlet.service(PortalServlet.java:291)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
at com.webMethods.portal.framework.impl.NTLMFilter.doFilter(NTLMFilter.java:50)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.webMethods.caf.faces.servlet.GZIPFilter.doFilter(GZIPFilter.java:42)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)

So I stopped the MWS, created a new instance default2 with ./mws.sh new -Dserver.name=default2 … syntax, pointed correct db details in mws.db.xml file and tried to start mws with syntax: ./mws.sh -s default2 run &

In logs, it keeps writing below statement:

[POP.004.0074] Specified domain in URI not found [domain, uri] – [dcs/administrator, administrator]. This can be due to directory service being disabled or removed
[POP.004.0074] Specified domain in URI not found [domain, uri] – [dcs/administrator, administrator]. This can be due to directory service being disabled or removed
[POP.004.0074] Specified domain in URI not found [domain, uri] – [dcs/administrator, administrator]. This can be due to directory service being disabled or removed
[POP.004.0074] Specified domain in URI not found [domain, uri] – [dcs/administrator, administrator]. This can be due to directory service being disabled or removed
[POP.004.0074] Specified domain in URI not found [domain, uri] – [dcs/administrator, administrator]. This can be due to directory service being disabled or removed
[POP.004.0074] Specified domain in URI not found [domain, uri] – [dcs/administrator, administrator]. This can be due to directory service being disabled or removed

After sometime ( an hour ) its giving below statement in logs:

2015-05-07 15:29:55 AST (Framework:FATAL) [RID:158] - [POP.007.0029] No authentication information was found.
com.webMethods.portal.PortalException: [POP.007.0029] No authentication information was found.
at com.webMethods.portal.framework.session.handlers.Validate.handle(Validate.java:211)
at com.webMethods.portal.framework.session.SessionManager.setGuestSession(SessionManager.java:368)
at com.webMethods.portal.framework.session.SessionManager.handleSession(SessionManager.java:195)
at com.webMethods.portal.framework.dispatch.DispatchManager.initSession(DispatchManager.java:661)
at com.webMethods.portal.framework.dispatch.DispatchManager.handleDispatch(DispatchManager.java:334)
at com.webMethods.portal.framework.impl.PortalServlet.service(PortalServlet.java:272)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
at com.webMethods.portal.framework.impl.NTLMFilter.doFilter(NTLMFilter.java:50)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.webMethods.caf.faces.servlet.GZIPFilter.doFilter(GZIPFilter.java:42)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)
2015-05-07 15:29:55 AST (org.mortbay.log:ERROR) - /
java.lang.NullPointerException
at com.webMethods.portal.framework.impl.PortalServlet.acquireURI(PortalServlet.java:650)
at com.webMethods.portal.system.PortalSystem.acquireURI(PortalSystem.java:704)
at com.webMethods.portal.portlet.wm_xt_usertabset.mechanics.UsertabsetMechanics$RootPageResolver.acquireURI(UsertabsetMechanics.java:59)
at com.webMethods.portal.system.PortalSystem.acquireURI(PortalSystem.java:704)
at com.webMethods.portal.portlet.wm_xt_portalrules.rules.PortalRuleContext.(PortalRuleContext.java:33)
at com.webMethods.portal.portlet.wm_xt_portalrules.mechanics.PortalRulesMechanics.getRuleContext(PortalRulesMechanics.java:214)
at com.webMethods.portal.portlet.wm_xt_portalrules.mechanics.PortalRulesMechanics.getRuleContext(PortalRulesMechanics.java:207)
at com.webMethods.portal.portlet.wm_xt_portalrules.mechanics.PortalRulesMechanics.getRuleForUser(PortalRulesMechanics.java:443)
at com.webMethods.portal.portlet.impl.wm_xt_skin.mechanics.SkinMechanics.getCurrentSkinID(SkinMechanics.java:524)
at com.webMethods.portal.framework.presentation.PresentationManager.setSessionData(PresentationManager.java:539)
at com.webMethods.portal.framework.presentation.PresentationManager.preparePresentationData(PresentationManager.java:240)
at com.webMethods.portal.framework.dispatch.DispatchManager.preparePresentationData(DispatchManager.java:815)
at com.webMethods.portal.framework.dispatch.DispatchManager.handle(DispatchManager.java:432)
at com.webMethods.portal.framework.dispatch.DispatchManager.handleError(DispatchManager.java:402)
at com.webMethods.portal.framework.error.ErrorManager.handleException(ErrorManager.java:97)
at com.webMethods.portal.framework.impl.PortalServlet.service(PortalServlet.java:291)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
at com.webMethods.portal.framework.impl.NTLMFilter.doFilter(NTLMFilter.java:50)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.webMethods.caf.faces.servlet.GZIPFilter.doFilter(GZIPFilter.java:42)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)
2015-05-07 15:29:55 AST (Framework:INFO) [RID:159] - Processing request [1fyno852h93o0:null] http://192.168.43.69:8585/favicon.ico (GET)
2015-05-07 15:29:55 AST (Framework:WARN) [RID:159] - RequestURI: /favicon.ico
2015-05-07 15:29:55 AST (Framework:WARN) [RID:159] - RequestPath: /favicon.ico
2015-05-07 15:29:55 AST (Framework:WARN) [RID:159] - Parameters:

2015-05-07 15:29:55 AST (Framework:WARN) [RID:159] - Attributes:
jmx.request.start = 1431001795553
previous_rid = 39
rid = 40

2015-05-07 15:29:55 AST (Framework:WARN) [RID:159] - Headers:
Accept = /
Accept-Encoding = gzip, deflate, sdch
Accept-Language = en-US,en;q=0.8
Connection = keep-alive
Cookie = test_cookie; SSO_ID=2pi8jsc5yuojs; ssnid=41940850f4a111e48b7dd31d3daa5ffa; JSESSIONID=1fyno852h93o0
Host = 192.168.43.69:8585
Referer = http://192.168.43.69:8585/
User-Agent = Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36

2015-05-07 15:29:55 AST (Framework:FATAL) [RID:159] - [POP.007.0029] No authentication information was found.
com.webMethods.portal.PortalException: [POP.007.0029] No authentication information was found.
at com.webMethods.portal.framework.session.handlers.Validate.handle(Validate.java:211)
at com.webMethods.portal.framework.session.SessionManager.setGuestSession(SessionManager.java:368)
at com.webMethods.portal.framework.session.SessionManager.handleSession(SessionManager.java:195)
at com.webMethods.portal.framework.dispatch.DispatchManager.initSession(DispatchManager.java:661)
at com.webMethods.portal.framework.dispatch.DispatchManager.handleDispatch(DispatchManager.java:334)
at com.webMethods.portal.framework.impl.PortalServlet.service(PortalServlet.java:272)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
at com.webMethods.portal.framework.impl.NTLMFilter.doFilter(NTLMFilter.java:50)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.webMethods.caf.faces.servlet.GZIPFilter.doFilter(GZIPFilter.java:42)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)
2015-05-07 15:29:55 AST (org.mortbay.log:ERROR) - /favicon.ico
java.lang.NullPointerException
at com.webMethods.portal.framework.impl.PortalServlet.acquireURI(PortalServlet.java:650)
at com.webMethods.portal.system.PortalSystem.acquireURI(PortalSystem.java:704)
at com.webMethods.portal.portlet.wm_xt_usertabset.mechanics.UsertabsetMechanics$RootPageResolver.acquireURI(UsertabsetMechanics.java:59)
at com.webMethods.portal.system.PortalSystem.acquireURI(PortalSystem.java:704)
at com.webMethods.portal.portlet.wm_xt_portalrules.rules.PortalRuleContext.(PortalRuleContext.java:33)
at com.webMethods.portal.portlet.wm_xt_portalrules.mechanics.PortalRulesMechanics.getRuleContext(PortalRulesMechanics.java:214)
at com.webMethods.portal.portlet.wm_xt_portalrules.mechanics.PortalRulesMechanics.getRuleContext(PortalRulesMechanics.java:207)
at com.webMethods.portal.portlet.wm_xt_portalrules.mechanics.PortalRulesMechanics.getRuleForUser(PortalRulesMechanics.java:443)
at com.webMethods.portal.portlet.impl.wm_xt_skin.mechanics.SkinMechanics.getCurrentSkinID(SkinMechanics.java:524)
at com.webMethods.portal.framework.presentation.PresentationManager.setSessionData(PresentationManager.java:539)
at com.webMethods.portal.framework.presentation.PresentationManager.preparePresentationData(PresentationManager.java:240)
at com.webMethods.portal.framework.dispatch.DispatchManager.preparePresentationData(DispatchManager.java:815)
at com.webMethods.portal.framework.dispatch.DispatchManager.handle(DispatchManager.java:432)
at com.webMethods.portal.framework.dispatch.DispatchManager.handleError(DispatchManager.java:402)
at com.webMethods.portal.framework.error.ErrorManager.handleException(ErrorManager.java:97)
at com.webMethods.portal.framework.impl.PortalServlet.service(PortalServlet.java:291)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
at com.webMethods.portal.framework.impl.NTLMFilter.doFilter(NTLMFilter.java:50)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.webMethods.caf.faces.servlet.GZIPFilter.doFilter(GZIPFilter.java:42)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)
2015-05-07 15:29:56 AST (Framework:INFO) [RID:160] - Processing request [1fyno852h93o0:null] http://192.168.43.69:8585/ (GET)
2015-05-07 15:29:56 AST (Framework:WARN) [RID:160] - RequestURI: /
2015-05-07 15:29:56 AST (Framework:WARN) [RID:160] - RequestPath: /
2015-05-07 15:29:56 AST (Framework:WARN) [RID:160] - Parameters:

2015-05-07 15:29:56 AST (Framework:WARN) [RID:160] - Attributes:
jmx.request.start = 1431001796878
previous_rid = 40
rid = 41

2015-05-07 15:29:56 AST (Framework:WARN) [RID:160] - Headers:
Accept = text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8
Accept-Encoding = gzip, deflate, sdch
Accept-Language = en-US,en;q=0.8
Cache-Control = max-age=0
Connection = keep-alive
Cookie = test_cookie; SSO_ID=2pi8jsc5yuojs; ssnid=41940850f4a111e48b7dd31d3daa5ffa; JSESSIONID=1fyno852h93o0
Host = 192.168.43.69:8585
User-Agent = Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36

2015-05-07 15:29:56 AST (Framework:FATAL) [RID:160] - [POP.007.0029] No authentication information was found.
com.webMethods.portal.PortalException: [POP.007.0029] No authentication information was found.
at com.webMethods.portal.framework.session.handlers.Validate.handle(Validate.java:211)
at com.webMethods.portal.framework.session.SessionManager.setGuestSession(SessionManager.java:368)
at com.webMethods.portal.framework.session.SessionManager.handleSession(SessionManager.java:195)
at com.webMethods.portal.framework.dispatch.DispatchManager.initSession(DispatchManager.java:661)
at com.webMethods.portal.framework.dispatch.DispatchManager.handleDispatch(DispatchManager.java:334)
at com.webMethods.portal.framework.impl.PortalServlet.service(PortalServlet.java:272)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
at com.webMethods.portal.framework.impl.NTLMFilter.doFilter(NTLMFilter.java:50)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.webMethods.caf.faces.servlet.GZIPFilter.doFilter(GZIPFilter.java:42)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)
2015-05-07 15:29:56 AST (org.mortbay.log:ERROR) - /
java.lang.NullPointerException

I am unable to proceed further, checked in forum, empower site but didn’t find any solution. Can you please help me to resolve this.

Thanks,
Anil.

Hi All,
Forgot to update, I created tables related to IS, MWS with DBCC. Finally in the logs I found below lines:

directory
2015-05-07 16:23:56 AST (Framework:WARN) - [POP.004.0074] Specified domain in URI not found [domain, uri] – [dcs/administrator, administrator]. This can be due to directory service being disabled or removed
directory
2015-05-07 16:23:56 AST (Framework:WARN) - [POP.004.0074] Specified domain in URI not found [domain, uri] – [dcs/administrator, administrator]. This can be due to directory service being disabled or removed
directory
2015-05-07 16:23:56 AST (com.webMethods.jackrabbit.spi2mws.query.lucene.MultiIndex:INFO) - Created initial index for 4641 nodes
2015-05-07 16:23:56 AST (com.webMethods.jackrabbit.spi2mws.query.lucene.SearchIndex:INFO) - Index initialized: /opt/softwareag/MWS/server/default2/data/search_jcr Version: 2
2015-05-07 16:23:56 AST (Framework:INFO) - Initializing component: com.webMethods.portal.system.impl.UpdateBuildVersion
2015-05-07 16:23:56 AST (Framework:INFO) - Cleaning up temp folder …
2015-05-07 16:23:56 AST (Framework:INFO) - Done cleaning temp folder.
2015-05-07 16:24:07 AST (com.softwareag.caf.shared.diagnostics.envcapture.fs.FolderStructureCapturer:INFO) - Capturing directory structure: /opt/softwareag/MWS (might take a while)…
2015-05-07 16:24:14 AST (com.softwareag.caf.shared.diagnostics.envcapture.fs.FolderStructureCapturer:INFO) - Processed 10000 items…
2015-05-07 16:24:19 AST (com.softwareag.caf.shared.diagnostics.envcapture.fs.FolderStructureCapturer:INFO) - Processed 20000 items…
2015-05-07 16:24:23 AST (com.softwareag.caf.shared.diagnostics.envcapture.fs.FolderStructureCapturer:INFO) - Processed 30000 items…
2015-05-07 16:24:27 AST (com.softwareag.caf.shared.diagnostics.envcapture.fs.FolderStructureCapturer:INFO) - Structure folder captured.
2015-05-07 16:24:27 AST (com.softwareag.caf.shared.diagnostics.envcapture.connection.DbConnectionChecker:INFO) - Checking database parameters…
2015-05-07 16:24:27 AST (com.softwareag.caf.shared.diagnostics.envcapture.connection.DbConnectionChecker:INFO) - DB Product Version : Microsoft SQL Server 2008 R2 - 10.50.1600.1
2015-05-07 16:24:27 AST (com.softwareag.caf.shared.diagnostics.envcapture.connection.DbConnectionChecker:INFO) - DB Product name : Microsoft SQL Server
2015-05-07 16:24:27 AST (com.softwareag.caf.shared.diagnostics.envcapture.connection.DbConnectionChecker:INFO) - Major version : 10
2015-05-07 16:24:27 AST (com.softwareag.caf.shared.diagnostics.envcapture.connection.DbConnectionChecker:INFO) - Minor version :50
2015-05-07 16:24:27 AST (com.softwareag.caf.shared.diagnostics.envcapture.connection.DbConnectionChecker:INFO) - Checking database connectivity…
2015-05-07 16:24:28 AST (com.softwareag.caf.shared.diagnostics.envcapture.connection.DbConnectionChecker:INFO) - Successful connection to DB
2015-05-07 16:24:28 AST (com.softwareag.caf.shared.diagnostics.envcapture.net.InternetChecker:INFO) - Checking internet connectivity…
2015-05-07 16:24:28 AST (com.softwareag.caf.shared.diagnostics.envcapture.net.InternetChecker:INFO) - Internet connectivy is not present.
2015-05-07 16:24:28 AST (com.softwareag.caf.shared.diagnostics.envcapture.net.NetworkConnectivityInfo:INFO) - Collecting network information…
2015-05-07 16:24:28 AST (com.softwareag.caf.shared.diagnostics.envcapture.net.NetworkConnectivityInfo:INFO) - Network Information: HOST DE1-OMR-RV-WM01
2015-05-07 16:24:28 AST (com.softwareag.caf.shared.diagnostics.envcapture.net.NetworkConnectivityInfo:INFO) - Network Information: Interface Display Name: eth1; Network Information: Name: eth1; Network Information: InetAddress/fe80:0:0:0:250:56ff:fe98:5b5c%2Network Information: InetAddress/192.168.43.69

2015-05-07 16:24:28 AST (com.softwareag.caf.shared.diagnostics.envcapture.net.NetworkConnectivityInfo:INFO) - Network Information: Interface Display Name: lo; Network Information: Name: lo; Network Information: InetAddress/0:0:0:0:0:0:0:1%1Network Information: InetAddress/127.0.0.1

2015-05-07 16:24:47 AST (com.softwareag.caf.shared.diagnostics.envcapture.output.EnvCaptureOuput:INFO) - Creating zip output: /opt/softwareag/MWS/server/default2/logs/snapshots/envcapture-2015-05-07-16_24_06_AST.zip
2015-05-07 16:24:54 AST (com.softwareag.caf.shared.diagnostics.envcapture.output.EnvCaptureOuput:INFO) - /opt/softwareag/MWS/server/default2/logs/snapshots/envcapture-2015-05-07-16_24_06_AST.zip created
2015-05-07 16:24:54 AST (Framework:INFO) - Restarting down after INITIALIZATION or UPGRADE…
2015-05-07 16:24:54 AST (Framework:INFO) - restart command line: [sh, mws.sh, -s, default2, -w, 180, silent_restart]
2015-05-07 16:24:56 AST (Framework:INFO) [RID:1] - Processing request [bbbc70qdzodw:null] http://localhost.localdomain:8585/ (GET)
2015-05-07 16:24:56 AST (Framework:WARN) [RID:1] - RequestURI: /
2015-05-07 16:24:56 AST (Framework:WARN) [RID:1] - RequestPath: /
2015-05-07 16:24:56 AST (Framework:WARN) [RID:1] - Parameters:
command = getAXSRFT
localControl = true
serializeResult = true

2015-05-07 16:24:56 AST (Framework:WARN) [RID:1] - Attributes:
jmx.request.start = 1431005096038
org.mortbay.jetty.newSessionId = bbbc70qdzodw
previous_rid = 0
rid = 1

2015-05-07 16:24:56 AST (Framework:WARN) [RID:1] - Headers:
Accept = text/html, image/gif, image/jpeg, *; q=.2, /; q=.2
Connection = keep-alive
Host = localhost.localdomain:8585
User-Agent = Java/1.6.0_27

2015-05-07 16:24:56 AST (Framework:FATAL) [RID:1] - Caught throwable:
java.lang.NullPointerException
at com.webMethods.portal.framework.auth.AuthManager.getAnonUserName(AuthManager.java:105)
at com.webMethods.portal.framework.auth.AuthManager.handleAuth(AuthManager.java:69)
at com.webMethods.portal.framework.session.SessionManager.handleSession(SessionManager.java:188)
at com.webMethods.portal.framework.dispatch.DispatchManager.initSession(DispatchManager.java:661)
at com.webMethods.portal.framework.dispatch.DispatchManager.handleDispatch(DispatchManager.java:334)
at com.webMethods.portal.framework.impl.PortalServlet.service(PortalServlet.java:272)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
at com.webMethods.portal.framework.impl.NTLMFilter.doFilter(NTLMFilter.java:50)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.webMethods.caf.faces.servlet.GZIPFilter.doFilter(GZIPFilter.java:46)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)
2015-05-07 16:24:56 AST (org.mortbay.log:ERROR) - /
java.lang.NullPointerException
at com.webMethods.portal.framework.impl.PortalServlet.acquireURI(PortalServlet.java:650)
at com.webMethods.portal.system.PortalSystem.acquireURI(PortalSystem.java:704)
at com.webMethods.portal.portlet.wm_xt_usertabset.mechanics.UsertabsetMechanics$RootPageResolver.acquireURI(UsertabsetMechanics.java:59)
at com.webMethods.portal.system.PortalSystem.acquireURI(PortalSystem.java:704)
at com.webMethods.portal.portlet.wm_xt_portalrules.rules.PortalRuleContext.(PortalRuleContext.java:33)
at com.webMethods.portal.portlet.wm_xt_portalrules.mechanics.PortalRulesMechanics.getRuleContext(PortalRulesMechanics.java:214)
at com.webMethods.portal.portlet.wm_xt_portalrules.mechanics.PortalRulesMechanics.getRuleContext(PortalRulesMechanics.java:207)
at com.webMethods.portal.portlet.wm_xt_portalrules.mechanics.PortalRulesMechanics.getRuleForUser(PortalRulesMechanics.java:443)
at com.webMethods.portal.portlet.impl.wm_xt_skin.mechanics.SkinMechanics.getCurrentSkinID(SkinMechanics.java:524)
at com.webMethods.portal.framework.presentation.PresentationManager.setSessionData(PresentationManager.java:539)
at com.webMethods.portal.framework.presentation.PresentationManager.preparePresentationData(PresentationManager.java:240)
at com.webMethods.portal.framework.dispatch.DispatchManager.preparePresentationData(DispatchManager.java:815)
at com.webMethods.portal.framework.dispatch.DispatchManager.handle(DispatchManager.java:432)
at com.webMethods.portal.framework.dispatch.DispatchManager.handleError(DispatchManager.java:402)
at com.webMethods.portal.framework.error.ErrorManager.handleException(ErrorManager.java:97)
at com.webMethods.portal.framework.impl.PortalServlet.service(PortalServlet.java:291)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
at com.webMethods.portal.framework.impl.NTLMFilter.doFilter(NTLMFilter.java:50)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.webMethods.caf.faces.servlet.GZIPFilter.doFilter(GZIPFilter.java:46)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)
2015-05-07 16:25:03 AST (Framework:WARN) - [POP.004.0074] Specified domain in URI not found [domain, uri] – [dcs/administrator, administrator]. This can be due to directory service being disabled or removed
directory
2015-05-07 16:25:03 AST (Framework:WARN) - [POP.004.0074] Specified domain in URI not found [domain, uri] – [dcs/administrator, administrator]. This can be due to directory service being disabled or removed
directory
2015-05-07 16:25:03 AST (Framework:WARN) - [POP.004.0074] Specified domain in URI not found [domain, uri] – [dcs/administrator, administrator]. This can be due to directory service being disabled or removed
directory
2015-05-07 16:25:04 AST (Framework:WARN) - [POP.004.0074] Specified domain in URI not found [domain, uri] – [dcs/administrator, administrator]. This can be due to directory service being disabled or removed
directory
2015-05-07 16:25:04 AST (Framework:WARN) - [POP.004.0074] Specified domain in URI not found [domain, uri] – [dcs/administrator, administrator]. This can be due to directory service being disabled or removed
directory
2015-05-07 16:25:04 AST (Framework:WARN) - [POP.004.0074] Specified domain in URI not found [domain, uri] – [dcs/administrator, administrator]. This can be due to directory service being disabled or removed
directory
2015-05-07 16:25:07 AST (Framework:WARN) - [POP.004.0074] Specified domain in URI not found [domain, uri] – [dcs/administrator, administrator]. This can be due to directory service being disabled or removed
directory
2015-05-07 16:25:07 AST (Framework:WARN) - [POP.004.0074] Specified domain in URI not found [domain, uri] – [dcs/administrator, administrator]. This can be due to directory service being disabled or removed
directory
2015-05-07 16:25:07 AST (Framework:WARN) - [POP.004.0074] Specified domain in URI not found [domain, uri] – [dcs/administrator, administrator]. This can be due to directory service being disabled or removed
directory
./mws.sh: line 353: 6428 Killed $RUN_CMD

Did someone come across this error, kindly help me to resolve this.

Thanks,
Anil.

Hi Anil,

sounds that somehow the new mws schema was not migrated or initialized correctly.

If this is just a move (or copy) of an existing schema from one database to another reconfiguring the servers should be sufficient.

If this correlates with a wM migration from one version to another make sure that the appropiate steps have been followed.

Which version of wM is this occuring on?

Regards,
Holger

Thanks Holger for your swift response.

We are on wM8.2.2. It is a new installation on RHL which was done a month ago. Client asked us to use different DB. So, created tables using DBCC on the new DB. Modified DB entries in mws.db.xml for MWS. Now tried to start MWS using run.ksh but still getting same ‘java.lang.NullPointerException’ exception. Any clue how can I overcome this ?

Thanks,
Anil.

Hi Anil,

please ask the DBA to export the schema from the old DB and then import it to the new DB.
Hope that the DBs are of identical type and version otherwise you will have to completely recreate the MWS.

For the time from export to import shutdown IS and MWS.
After import is completed try to restart MWS first before starting IS.

If this does not help you will have to uninstall MWS, recreate DB-Schema, re-install MWS.
After MWS has been started once again you will have to do all the configurations in MWS again.

Regards,
Holger

Holger,

When we created tables again, changed details in mws.db.xml then we are trying to start the MWS, it should point to new DB, use it. Why we have to import the existing db to new one ?

Thanks,
Anil.

Hi Anil,

this is due to the fact that the MWS will not recreate the required informations when pointed to an empty database.

MWS stores quite a lot of its configuration in the database when it is started for the first time after installation.

By exporting and importing the configured schema the MWS will recognize these informations.
This will not happen when the MWS is started against a fresh database schema.

Regards,
Holger