Internal error: Net8 protocol error. while starting MWS

Hi.

Smth happened and i don’t understant what is it and what i should do with it…

MWS worked fine since 2011. I restarted MWS yesterday and got an error:

2013-09-06 15:50:20 MSD (sqlDebug:FATAL)  - [sag-cjdbc42-0011][Oracle JDBC Driver]Internal error: Net8 protocol error.
java.io.IOException: [sag-cjdbc42-0011][Oracle JDBC Driver]Internal error: Net8 protocol error.
	at com.wm.dd.jdbc.oraclebase.ddac.read(Unknown Source)
	at java.io.BufferedReader.fill(BufferedReader.java:136)
	at java.io.BufferedReader.read1(BufferedReader.java:187)
	at java.io.BufferedReader.read(BufferedReader.java:261)
	at com.wm.dd.jdbc.oraclebase.dds.read(Unknown Source)
	at com.wm.dd.jdbc.oraclebase.dds.read(Unknown Source)
	at com.webmethods.rtl.util.FileUtil.copyWriter(FileUtil.java:401)
	at com.webmethods.rtl.util.FileUtil.copyWriter(FileUtil.java:363)
	at com.webmethods.rtl.util.StringTools.loadStringFromReader(StringTools.java:412)
	at com.webmethods.portal.service.sql.core.BaseSqlWorker.getClob(BaseSqlWorker.java:1637)
	at com.webmethods.portal.service.meta2.thing.impl.Thing.loadThings(Thing.java:1638)
	at com.webmethods.portal.service.meta2.thing.impl.BasicThingFactory.loadThings(BasicThingFactory.java:151)
	at com.webmethods.portal.service.meta2.impl.ThingService.loadThings(ThingService.java:573)
	at com.webmethods.portal.service.portlet.impl.PortletProvider.getXTypes(PortletProvider.java:772)
	at com.webmethods.portal.service.portlet.impl.PortletProvider.initComponents(PortletProvider.java:711)
	at com.webmethods.portal.system.impl.BaseProvider.init(BaseProvider.java:170)
	at com.webmethods.portal.service.portlet.impl.PortletProvider.init(PortletProvider.java:341)
	at com.webmethods.portal.system.init.impl.DefaultPhase.initComponent(DefaultPhase.java:107)
	at com.webmethods.portal.system.impl.BaseProvider.initComponents(BaseProvider.java:602)
	at com.webmethods.portal.system.impl.BaseProvider.init(BaseProvider.java:170)
	at com.webmethods.portal.system.init.impl.DefaultPhase.init(DefaultPhase.java:49)
	at com.webmethods.portal.system.init.impl.DefaultPhaseProvider.initComponent(DefaultPhaseProvider.java:262)
	at com.webmethods.portal.system.impl.BaseProvider.initComponents(BaseProvider.java:602)
	at com.webmethods.portal.system.impl.BaseProvider.init(BaseProvider.java:170)
	at com.webmethods.portal.system.init.impl.DefaultPhaseProvider.initializePhases(DefaultPhaseProvider.java:91)
	at com.webmethods.portal.system.init.impl.ClusterPhaseProvider.initializePhases(ClusterPhaseProvider.java:65)
	at com.webmethods.portal.system.init.impl.PartitionPhaseProvider.initializePhases(PartitionPhaseProvider.java:59)
	at com.webmethods.portal.system.PortalSystem.init(PortalSystem.java:874)
	at com.webmethods.portal.system.PortalSystem.main(PortalSystem.java:826)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at com.webmethods.portal.system.start.Main.start(Main.java:133)
	at com.webmethods.portal.system.start.Main.main(Main.java:38)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:247)
	at java.lang.Thread.run(Thread.java:662)

And i can’t open MWS :8585.

HTTP ERROR 500
Problem accessing /. Reason:
    INTERNAL_SERVER_ERROR
Caused by:
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.<init>(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)

Full log is in attachment.
IS is started and working normally.

Can you help me? What i must do to repait it?

full.log|attachment (81.6 KB)

Hi Nadezhda,

Did u get any solution to your MWS issue? I am also getting the same issue while starting MWS. It was working fine till now but suddenly started throwing error as below when accessed through browser.
I tried restarting MWS through command line…but no success. I am attaching the full log.

Please let me know if u could solve the issue.

HTTP ERROR 500
Problem accessing /. Reason:

INTERNAL_SERVER_ERROR

Caused by:
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)

full.log|attachment (516 KB)

Hi alok,
this error you are getting while accessing MWS using custom login page or everytime you get it when you restart your server?
Whether your server is coming up and running? Are you able to login using MWS default login page using ‘Administrator’ and manage?

Regards,
Vikas

Hi Vikas,

No the server is not starting. Everytime I try starting the server through cmd, it shows this NullPointerException and disappears. Unable to access the login page.

As part of quick resolution of the issue, we have created a new server instance in our development environment. Still we are trying to make the old instance work. Any solution?

Thanks & Regards,
Alok Ranjit Samal

Dear Samal,
I have the same issue, tried many ways but still could not able to resolve. Please see Unable to start MWS -- java.lang.NullPointerException - webMethods - Software AG Tech Community & Forums thread for more help, let me know if you found any solution.

Thanks,
Anil.

The original issue might be caused by some changes on the database side.

Another option might by the applicatioon of fixes to the MWS or the Shared components.

One way to check might be to apply the latest SCG_x_DataDirect42_Fix and retry.

Most likely MWS will not complete its startup sequence as it is unable to locate the configuration data due to the protocol error.

Regards,
Holger