Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
No replies
Sush5012
Sush5012
2 Posts
ACCEPTED ANSWER

Pinned topic BatchProcessor configuration for WAS 7 on Linux

‏2013-07-20T16:03:37Z |

Can someone pls help me with configuring the Batch Processor for MDM 902 on WAS/Linux. This is the exception that I get. I have tried lots of permutation combinatios, but nothing seems to be working. This is a production setup and is WORKING with webservices. Also both WAS and application security is enabled. I have attached all the relevant files. Pasted below is the exception.

Thanks in advance,

Regards

Sushil

[wasadmin@pwasn01 bin]$ ./runbatch.sh input/getParty.xml output/ResponseGetParty.xml
The user install roo '/usr/WebSphere/AppServer/profiles/pwasn01'
The classpath '/tmp/BatchProcessor/lib/DWLBatchFramework.jar:/tmp/BatchProcessor/properties:/tmp/BatchProcessor/lib/DWLCommonServices.jar:/tmp/BatchProcessor/lib/MDMClient.jar:/tmp/BatchProcessor/lib/CommonUtilities.jar:/tmp/BatchProcessor/lib/CustomerBatchLoaderPlugins.jar:/tmp/BatchProcessor/lib/icu4j.jar:/tmp/BatchProcessor/lib/log4j.jar:/tmp/BatchProcessor/lib/Logging.jar:/usr/WebSphere/AppServer/lib/j2ee.jar:/usr/WebSphere/AppServer/plugins/com.ibm.ws.runtime.jar:/usr/WebSphere/AppServer/runtimes/com.ibm.ws.admin.client_7.0.0.jar:/usr/WebSphere/AppServer/properties:/usr/WebSphere/AppServer/java/jre/lib/ibmorb.jar'
The system reads the input file: input/getParty.xml
The system writes to the output file: output/ResponseGetParty.xml
ERROR     - [Exception_CustomerReflectionDelegate_JNDINameLookup:] CDKBC2030E:Unable to locate a reference using the following parameters. JNDI = com/dwl/base/requestHandler/beans/DWLServiceController; URL = null; additional error message = Some object reference in the name "com/dwl/base/requestHandler/beans/DWLServiceController" relative to the context "pwasdm01Cell01/clusters/absasvoc01" is invalid.  Some possible causes include a context binding in the name which refers to a destroyed context, or an object binding which contains an invalid EJBHome reference.
com.ibm.ws.naming.util.InvalidObjectException: Some object reference in the name "com/dwl/base/requestHandler/beans/DWLServiceController" relative to the context "pwasdm01Cell01/clusters/absasvoc01" is invalid.  Some possible causes include a context binding in the name which refers to a destroyed context, or an object binding which contains an invalid EJBHome reference. [Root exception is org.omg.CORBA.INV_OBJREF:
        >> SERVER (id=31c59170, host=pwasn01.absa.co.za) TRACE START:
        >>    org.omg.CORBA.INV_OBJREF: Could not resolve IOR string.  vmcid: 0x0  minor code: 0  completed: No
        >>       at com.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.resolveUnresolvedBinding(WsnOptimizedNamingImpl.java:2001)
        >>       at com.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.resolve_binding(WsnOptimizedNamingImpl.java:1681)
        >>       at com.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.do_resolve_complete_info(WsnOptimizedNamingImpl.java:583)
        >>       at com.ibm.ws.naming.cosbase.WsnOptimizedNamingImplBase.resolve_complete_info(WsnOptimizedNamingImplBase.java:2163)
        >>       at com.ibm.WsnOptimizedNaming._NamingContextImplBase._invoke(_NamingContextImplBase.java:286)
        >>       at com.ibm.CORBA.iiop.ServerDelegate.dispatchInvokeHandler(ServerDelegate.java:623)
        >>       at com.ibm.CORBA.iiop.ServerDelegate.dispatch(ServerDelegate.java:476)
        >>       at com.ibm.rmi.iiop.ORB.process(ORB.java:518)
        >>       at com.ibm.CORBA.iiop.ORB.process(ORB.java:1574)
        >>       at com.ibm.rmi.iiop.Connection.respondTo(Connection.java:2880)
        >>       at com.ibm.rmi.iiop.Connection.doWork(Connection.java:2753)
        >>       at com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java:63)
        >>       at com.ibm.ejs.oa.pool.PooledThread.run(ThreadPool.java:118)
        >>       at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1613)
        >> SERVER (id=31c59170, host=pwasn01.absa.co.za) TRACE END.
  vmcid: 0x0  minor code: 0  completed: No]
        at com.ibm.ws.naming.jndicos.CNContextImpl.mapINV_OBJREF(CNContextImpl.java:4409)
        at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1821)
        at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1762)
        at com.ibm.ws.naming.jndicos.CNContextImpl.lookupExt(CNContextImpl.java:1513)
        at com.ibm.ws.naming.jndicos.CNContextImpl.lookup(CNContextImpl.java:645)
        at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:166)
        at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:180)
        at javax.naming.InitialContext.lookup(InitialContext.java:436)
        at com.dwl.tcrm.delegate.CustomerReflectionDelegate.init(CustomerReflectionDelegate.java:382)
        at com.dwl.tcrm.delegate.CustomerReflectionDelegate.<init>(CustomerReflectionDelegate.java:190)
        at com.dwl.batchframework.delegate.Customer.init(Customer.java:122)
        at com.dwl.batchframework.delegate.CustomerSingleton.init(CustomerSingleton.java:82)
        at com.dwl.batchframework.BatchController.initServerConfiguration(BatchController.java:395)
        at com.dwl.batchframework.BatchController.initialize(BatchController.java:360)
        at com.dwl.batchframework.BatchController.runBatch(BatchController.java:273)
        at com.dwl.batchframework.BatchController.main(BatchController.java:202)
Caused by: org.omg.CORBA.INV_OBJREF:
        >> SERVER (id=31c59170, host=pwasn01.absa.co.za) TRACE START:
        >>    org.omg.CORBA.INV_OBJREF: Could not resolve IOR string.  vmcid: 0x0  minor code: 0  completed: No
        >>       at com.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.resolveUnresolvedBinding(WsnOptimizedNamingImpl.java:2001)
        >>       at com.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.resolve_binding(WsnOptimizedNamingImpl.java:1681)
        >>       at com.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.do_resolve_complete_info(WsnOptimizedNamingImpl.java:583)
        >>       at com.ibm.ws.naming.cosbase.WsnOptimizedNamingImplBase.resolve_complete_info(WsnOptimizedNamingImplBase.java:2163)
        >>       at com.ibm.WsnOptimizedNaming._NamingContextImplBase._invoke(_NamingContextImplBase.java:286)
        >>       at com.ibm.CORBA.iiop.ServerDelegate.dispatchInvokeHandler(ServerDelegate.java:623)
        >>       at com.ibm.CORBA.iiop.ServerDelegate.dispatch(ServerDelegate.java:476)
        >>       at com.ibm.rmi.iiop.ORB.process(ORB.java:518)
        >>       at com.ibm.CORBA.iiop.ORB.process(ORB.java:1574)
        >>       at com.ibm.rmi.iiop.Connection.respondTo(Connection.java:2880)
        >>       at com.ibm.rmi.iiop.Connection.doWork(Connection.java:2753)
        >>       at com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java:63)
        >>       at com.ibm.ejs.oa.pool.PooledThread.run(ThreadPool.java:118)
        >>       at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1613)
        >> SERVER (id=31c59170, host=pwasn01.absa.co.za) TRACE END.
  vmcid: 0x0  minor code: 0  completed: No
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:44)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:516)
        at com.ibm.rmi.iiop.ReplyMessage._getSystemException(ReplyMessage.java:250)
        at com.ibm.rmi.iiop.ReplyMessage.getSystemException(ReplyMessage.java:198)
        at com.ibm.rmi.iiop.ClientResponseImpl.getSystemException(ClientResponseImpl.java:230)
        at com.ibm.rmi.corba.ClientDelegate.intercept(ClientDelegate.java:1004)
        at com.ibm.rmi.corba.ClientDelegate.invoke(ClientDelegate.java:457)
        at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1193)
        at com.ibm.rmi.corba.ClientDelegate.invoke(ClientDelegate.java:800)
        at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1223)
        at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:484)
        at com.ibm.WsnOptimizedNaming._NamingContextStub.resolve_complete_info(_NamingContextStub.java:492)
        at com.ibm.ws.naming.jndicos.CNContextImpl$2.run(CNContextImpl.java:2810)
        at com.ibm.ws.naming.jndicos.CNContextImpl$2.run(CNContextImpl.java:2806)
        at com.ibm.ws.naming.util.CommonHelpers.retry(CommonHelpers.java:771)
        at com.ibm.ws.naming.jndicos.CNContextImpl.cosResolve(CNContextImpl.java:2804)
        at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1803)
        ... 14 more
An error occurred. See the log file for details.  Additional error message = Some object reference in the name "com/dwl/base/requestHandler/beans/DWLServiceController" relative to the context "pwasdm01Cell01/clusters/absasvoc01" is invalid.  Some possible causes include a context binding in the name which refers to a destroyed context, or an object binding which contains an invalid EJBHome reference.
Exception in thread "P=829520:O=0:CT" java.lang.NullPointerException
        at com.dwl.batchframework.BatchController.closeIOqueues(BatchController.java:335)
        at com.dwl.batchframework.BatchController.runBatch(BatchController.java:295)
        at com.dwl.batchframework.BatchController.main(BatchController.java:202)
[wasadmin@pwasn01 bin]$
 

 

 

Attachments

Updated on 2013-07-20T16:06:29Z at 2013-07-20T16:06:29Z by Sush5012