Topic
  • 1 reply
  • Latest Post - ‏2013-02-01T18:16:41Z by lisaw
SystemAdmin
SystemAdmin
1485 Posts

Pinned topic Trying to connecto to Grid from a weblogic server (12c)

‏2013-01-28T09:53:50Z |
Hi Team,

Our web application resides on weblogic server and we are now trying to use IBM extreme scale for caching data. I am able to start a grid on my local machine and java client that came bundled with the extreme scale also works as a stand alone(I had to set the "-Djava.endorsed.dirs= mydir\\ObjectGrid\\lib\\endorsed" to get it working). I am using "wxsutils-2.7.1-SNAPSHOT.jar" to work with grid. So when server starts up i have a startup servlet calling " com.devwebsphere.wxsutils.WXSUtils.getDefaultUtils();" for intializing the grid connection. The objectgrid.xml and wxutils.properties are in place on classpath.

Now this startup servelet gives the following exception when running on a weblogic 12c server.The endrosed library is also place on classpath.

1/28/13 15:18:10:663 IST 0000000b RuntimeInfo I CWOBJ0903I: The internal version of WebSphere eXtreme Scale is v6.0.1 (8.5.0.1) http://cf11224.14173638.
Jan 28, 2013 3:18:10 PM com.ibm.ws.objectgrid.WXSProperties
INFO: WXS_PROPERTY_CWOBJ0054
1/28/13 15:18:10:907 IST 0000000b WXSProperties I CWOBJ0054I: The value of the "com.ibm.websphere.objectgrid.container.reconnect.block.reconnect.time" property is "30000".
Jan 28, 2013 3:18:10 PM com.ibm.ws.objectgrid.WXSProperties
INFO: WXS_PROPERTY_CWOBJ0054
1/28/13 15:18:10:908 IST 0000000b WXSProperties I CWOBJ0054I: The value of the "com.ibm.websphere.objectgrid.container.reconnect.min.successful.heartbeats" property is "10".
Jan 28, 2013 3:18:10 PM com.ibm.ws.objectgrid.WXSProperties
INFO: WXS_PROPERTY_CWOBJ0054
1/28/13 15:18:10:908 IST 0000000b WXSProperties I CWOBJ0054I: The value of the "com.ibm.websphere.objectgrid.container.reconnect.restart" property is "true".
Jan 28, 2013 3:18:10 PM com.ibm.ws.objectgrid.WXSProperties
INFO: WXS_PROPERTY_CWOBJ0054
1/28/13 15:18:10:909 IST 0000000b WXSProperties I CWOBJ0054I: The value of the "com.ibm.websphere.objectgrid.container.reconnect.restart.delay" property is "2000".
Jan 28, 2013 3:18:10 PM com.ibm.ws.objectgrid.WXSProperties
INFO: WXS_PROPERTY_CWOBJ0054
1/28/13 15:18:10:910 IST 0000000b WXSProperties I CWOBJ0054I: The value of the "com.ibm.websphere.objectgrid.container.reconnect.restart.parent.timeout" property is "180000".
Jan 28, 2013 3:18:10 PM com.ibm.ws.objectgrid.WXSProperties
INFO: WXS_PROPERTY_CWOBJ0054
1/28/13 15:18:10:910 IST 0000000b WXSProperties I CWOBJ0054I: The value of the "com.ibm.websphere.objectgrid.container.reconnect.retry.forever" property is "false".
Jan 28, 2013 3:18:11 PM com.ibm.ws.objectgrid.server.DefaultDependencyProvider
INFO: ClientProperty_CWOBJ2020
1/28/13 15:18:11:010 IST 0000000b DefaultDepend I CWOBJ2020I: Client properties are: preferLocalJVM=true, preferLocalHost=true, preferZones=null, features=XSSYSTEM, bootStrapListShuffle=true.
Jan 28, 2013 3:18:11 PM com.ibm.ws.objectgrid.server.DefaultDependencyProvider
INFO: ORB_DEFAULT_PROPERTY_SET_CWOBJ0063
1/28/13 15:18:11:012 IST 0000000b DefaultDepend I CWOBJ0063I: The com.ibm.CORBA.FragmentTimeout property was not configured. The com.ibm.CORBA.FragmentTimeout property is being set to 30.
Jan 28, 2013 3:18:11 PM com.ibm.ws.objectgrid.server.DefaultDependencyProvider
INFO: ORB_DEFAULT_PROPERTY_SET_CWOBJ0063
1/28/13 15:18:11:012 IST 0000000b DefaultDepend I CWOBJ0063I: The com.ibm.CORBA.ConnectTimeout property was not configured. The com.ibm.CORBA.ConnectTimeout property is being set to 10.
Jan 28, 2013 3:18:11 PM com.ibm.ws.objectgrid.server.DefaultDependencyProvider
INFO: ORB_DEFAULT_PROPERTY_SET_CWOBJ0063
1/28/13 15:18:11:012 IST 0000000b DefaultDepend I CWOBJ0063I: The com.ibm.CORBA.MinOpenConnections property was not configured. The com.ibm.CORBA.MinOpenConnections property is being set to 1024.
Jan 28, 2013 3:18:11 PM com.ibm.ws.objectgrid.server.DefaultDependencyProvider
INFO: ORB_DEFAULT_PROPERTY_SET_CWOBJ0063
1/28/13 15:18:11:013 IST 0000000b DefaultDepend I CWOBJ0063I: The com.ibm.CORBA.iiop.NoLocalCopies property was not configured. The com.ibm.CORBA.iiop.NoLocalCopies property is being set to true.
Jan 28, 2013 3:18:11 PM com.ibm.ws.objectgrid.server.DefaultDependencyProvider
INFO: ORB_DEFAULT_PROPERTY_SET_CWOBJ0063
1/28/13 15:18:11:013 IST 0000000b DefaultDepend I CWOBJ0063I: The com.ibm.CORBA.ThreadPool.MaximumSize property was not configured. The com.ibm.CORBA.ThreadPool.MaximumSize property is being set to 256.
Jan 28, 2013 3:18:11 PM com.ibm.ws.objectgrid.server.DefaultDependencyProvider
INFO: ORB_DEFAULT_PROPERTY_SET_CWOBJ0063
1/28/13 15:18:11:014 IST 0000000b DefaultDepend I CWOBJ0063I: The com.ibm.CORBA.ConnectionMultiplicity property was not configured. The com.ibm.CORBA.ConnectionMultiplicity property is being set to 1.
Jan 28, 2013 3:18:11 PM com.ibm.ws.objectgrid.server.DefaultDependencyProvider
INFO: ORB_DEFAULT_PROPERTY_SET_CWOBJ0063
1/28/13 15:18:11:014 IST 0000000b DefaultDepend I CWOBJ0063I: The com.ibm.ws.orb.transport.DeferSSLHandshake property was not configured. The com.ibm.ws.orb.transport.DeferSSLHandshake property is being set to true.
Jan 28, 2013 3:18:11 PM com.ibm.ws.objectgrid.server.DefaultDependencyProvider
INFO: ORB_DEFAULT_PROPERTY_SET_CWOBJ0063
1/28/13 15:18:11:014 IST 0000000b DefaultDepend I CWOBJ0063I: The com.ibm.CORBA.RequestTimeout property was not configured. The com.ibm.CORBA.RequestTimeout property is being set to 30.
Jan 28, 2013 3:18:11 PM com.ibm.ws.objectgrid.server.DefaultDependencyProvider
INFO: ORB_DEFAULT_PROPERTY_SET_CWOBJ0063
1/28/13 15:18:11:015 IST 0000000b DefaultDepend I CWOBJ0063I: The com.ibm.CORBA.ServerSocketQueueDepth property was not configured. The com.ibm.CORBA.ServerSocketQueueDepth property is being set to 1024.
Jan 28, 2013 3:18:11 PM com.ibm.ws.objectgrid.server.DefaultDependencyProvider
INFO: ORB_DEFAULT_PROPERTY_SET_CWOBJ0063
1/28/13 15:18:11:015 IST 0000000b DefaultDepend I CWOBJ0063I: The com.ibm.CORBA.ThreadPool.IsGrowable property was not configured. The com.ibm.CORBA.ThreadPool.IsGrowable property is being set to false.
Jan 28, 2013 3:18:11 PM com.ibm.ws.objectgrid.server.DefaultDependencyProvider
INFO: ORB_DEFAULT_PROPERTY_SET_CWOBJ0063
1/28/13 15:18:11:025 IST 0000000b DefaultDepend I CWOBJ0063I: The com.ibm.CORBA.FragmentSize property was not configured. The com.ibm.CORBA.FragmentSize property is being set to 0.
Jan 28, 2013 3:18:11 PM com.ibm.ws.objectgrid.server.DefaultDependencyProvider
INFO: ORB_DEFAULT_PROPERTY_SET_CWOBJ0063
1/28/13 15:18:11:026 IST 0000000b DefaultDepend I CWOBJ0063I: The com.ibm.CORBA.SocketWriteTimeout property was not configured. The com.ibm.CORBA.SocketWriteTimeout property is being set to 30.
Jan 28, 2013 3:18:11 PM com.ibm.ws.objectgrid.server.DefaultDependencyProvider
INFO: ORB_DEFAULT_PROPERTY_SET_CWOBJ0063
1/28/13 15:18:11:026 IST 0000000b DefaultDepend I CWOBJ0063I: The com.ibm.CORBA.NoLocalInterceptors property was not configured. The com.ibm.CORBA.NoLocalInterceptors property is being set to true.
Jan 28, 2013 3:18:11 PM com.ibm.ws.objectgrid.server.DefaultDependencyProvider
INFO: ORB_DEFAULT_PROPERTY_SET_CWOBJ0063
1/28/13 15:18:11:027 IST 0000000b DefaultDepend I CWOBJ0063I: The com.ibm.CORBA.MaxOpenConnections property was not configured. The com.ibm.CORBA.MaxOpenConnections property is being set to 1024.
Jan 28, 2013 3:18:11 PM com.ibm.ws.objectgrid.server.DefaultDependencyProvider
INFO: ORB_DEFAULT_PROPERTY_SET_CWOBJ0063
1/28/13 15:18:11:027 IST 0000000b DefaultDepend I CWOBJ0063I: The com.ibm.CORBA.ThreadPool.MinimumSize property was not configured. The com.ibm.CORBA.ThreadPool.MinimumSize property is being set to 256.
Jan 28, 2013 3:18:11 PM com.ibm.ws.objectgrid.server.DefaultDependencyProvider
INFO: ORB_DEFAULT_PROPERTY_SET_CWOBJ0063
1/28/13 15:18:11:027 IST 0000000b DefaultDepend I CWOBJ0063I: The com.ibm.CORBA.LocateRequestTimeout property was not configured. The com.ibm.CORBA.LocateRequestTimeout property is being set to 10.
Jan 28, 2013 3:18:11 PM com.ibm.ws.objectgrid.ObjectGridManagerImpl
INFO: CLIENT_OVERRIDE_URL_CWOBJ2433
1/28/13 15:18:11:247 IST 0000000b ObjectGridMan I CWOBJ2433I: Client-side ObjectGrid settings will be overridden for domain DefaultDomain using the URL file:/C:/ACSS/TestWorkSpace/Test_ACSS_WebProject/build/classes/objectgrid.xml.
Jan 28, 2013 3:18:12 PM com.devwebsphere.wxsutils.WXSUtils connectClient
SEVERE: Exception
com.ibm.websphere.objectgrid.ObjectGridRuntimeException
at com.ibm.ws.objectgrid.ObjectGridManagerImpl.getObjectGrid(ObjectGridManagerImpl.java:1780)
at com.ibm.ws.objectgrid.ObjectGridManagerImpl.getObjectGrid(ObjectGridManagerImpl.java:1512)
at com.devwebsphere.wxsutils.WXSUtils.connectClient(WXSUtils.java:588)
at com.devwebsphere.wxsutils.WXSUtils.connectClient(WXSUtils.java:567)
at com.devwebsphere.wxsutils.ConfigProperties.connect(ConfigProperties.java:176)
at com.devwebsphere.wxsutils.WXSUtils.getDefaultUtils(WXSUtils.java:767)
at com.web.startup.servlet.InitializeServlet.init(InitializeServlet.java:31)
at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:299)
at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:250)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
at weblogic.servlet.internal.StubSecurityHelper.initServletInstance(StubSecurityHelper.java:94)
at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:82)
at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:74)
at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:60)
at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:34)
at weblogic.servlet.internal.ServletStubImpl.initStubLifecycleHelper(ServletStubImpl.java:624)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:565)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1874)
at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1848)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1738)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2740)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1704)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:781)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:213)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:208)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:70)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:212)
at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:111)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:213)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:208)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:70)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:24)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:729)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:258)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:61)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:165)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:192)
at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:369)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:186)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:94)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

Now if i deploy the same app on a tomcat server it works like a charm
From comparing the tomcat startup and weblogic error i see that as the client tries to resister some port the weblogic is failing..i may be wrong..... Can anyone shed light on this?
Updated on 2013-02-01T18:16:41Z at 2013-02-01T18:16:41Z by lisaw
  • lisaw
    lisaw
    101 Posts

    Re: Trying to connecto to Grid from a weblogic server (12c)

    ‏2013-02-01T18:16:41Z  
    Since you have CWOBJ2433I printing out in your logs, I know you trying to override objectGrid.xml from your client side. I know it works in Tomcat, but you might want to try debugging by either not trying to override the server's xml, or making sure the client xml is correct. I'm pretty sure that is what is throwing the ObjectGridRuntimeException.

    WebSphere eXtreme Scale client configuration

    Let me know what you find.

    • Lisa

    Websphere eXtreme Scale Development