balatrue
asked on
com.ibm.ws.exception.RuntimeError: Unable to initialize the Name Service
Hi guys,
I tried to start websphere Application Server 5.1 and I got the following error in SerevrOut.log file. Could you please help me to figure out this.
com.ibm.ws.exception.Runti meError: Unable to initialize the Name Service
at com.ibm.ws.naming.bootstra p.NameServ erImpl.sta rt(NameSer verImpl.ja va:417)
at com.ibm.ws.runtime.compone nt.Contain erImpl.sta rtComponen ts(Contain erImpl.jav a:536)
at com.ibm.ws.runtime.compone nt.Contain erImpl.sta rt(Contain erImpl.jav a:413)
at com.ibm.ws.runtime.compone nt.ServerI mpl.start( ServerImpl .java:183)
at com.ibm.ws.runtime.WsServe r.start(Ws Server.jav a:128)
at com.ibm.ws.runtime.WsServe r.main(WsS erver.java :225)
at sun.reflect.NativeMethodAc cessorImpl .invoke0(N ative Method)
at sun.reflect.NativeMethodAc cessorImpl .invoke(Na tiveMethod AccessorIm pl.java:79 )
at sun.reflect.DelegatingMeth odAccessor Impl.invok e(Delegati ngMethodAc cessorImpl .java:41)
at java.lang.reflect.Method.i nvoke(Meth od.java:38 6)
at com.ibm.ws.bootstrap.WSLau ncher.main (WSLaunche r.java:189 )
Caused by: com.ibm.ws.naming.distcos. NameSpaceC onstructio nException : instantiateNC: Unexpected exception encountered
at com.ibm.ws.naming.distcos. NameSpaceB uilder.ins tantiateNC (NameSpace Builder.ja va:1319)
at com.ibm.ws.naming.distcos. NameSpaceB uilder.cre ateRootNC( NameSpaceB uilder.jav a:1215)
at com.ibm.ws.naming.distcos. NameSpaceB uilder.bui ldNameSpac e(NameSpac eBuilder.j ava:310)
at com.ibm.ws.naming.distcos. NSBSingleA ppSvr.buil dNameSpace (NSBSingle AppSvr.jav a:78)
at com.ibm.ws.naming.bootstra p.NameServ erImpl.sta rt(NameSer verImpl.ja va:403)
... 10 more
Caused by: java.lang.reflect.Invocati onTargetEx ception
at sun.reflect.NativeConstruc torAccesso rImpl.newI nstance0(N ative Method)
at sun.reflect.NativeConstruc torAccesso rImpl.newI nstance(Na tiveConstr uctorAcces sorImpl.ja va:79)
at sun.reflect.DelegatingCons tructorAcc essorImpl. newInstanc e(Delegati ngConstruc torAccesso rImpl.java :43)
at java.lang.reflect.Construc tor.newIns tance(Cons tructor.ja va:313)
at com.ibm.ws.naming.distcos. NameSpaceB uilder.ins tantiateNC (NameSpace Builder.ja va:1312)
... 14 more
Caused by: java.lang.NoSuchMethodErro r: com.ibm.ejs.oa.UserKey: method updateBytes([BI)V not found
at com.ibm.ejs.oa.UserKey.<in it>(UserKe y.java:256 )
at com.ibm.ejs.oa.EJSRootOAIm pl.registe rServant(E JSRootOAIm pl.java:39 2)
at com.ibm.ejs.oa.EJSOAImpl.r egisterSer vant(EJSOA Impl.java: 331)
at com.ibm.ws.naming.distcos. ServantMan agerImpl.r egisterCon text(Serva ntManagerI mpl.java:1 83)
at com.ibm.ws.naming.cosbase. WsnOptimiz edNamingIm plBase.<in it>(WsnOpt imizedNami ngImplBase .java:221)
at com.ibm.ws.naming.ipcos.Ws nOptimized NamingImpl .<init>(Ws nOptimized NamingImpl .java:182)
at com.ibm.ws.naming.distcos. WsnDistrib utedNC.<in it>(WsnDis tributedNC .java:116)
at com.ibm.ws.naming.distcos. ReadOnlyNC .<init>(Re adOnlyNC.j ava:59)
... 19 more
---- Begin backtrace for nested exception
com.ibm.ws.naming.distcos. NameSpaceC onstructio nException : instantiateNC: Unexpected exception encountered
at com.ibm.ws.naming.distcos. NameSpaceB uilder.ins tantiateNC (NameSpace Builder.ja va:1319)
at com.ibm.ws.naming.distcos. NameSpaceB uilder.cre ateRootNC( NameSpaceB uilder.jav a:1215)
at com.ibm.ws.naming.distcos. NameSpaceB uilder.bui ldNameSpac e(NameSpac eBuilder.j ava:310)
at com.ibm.ws.naming.distcos. NSBSingleA ppSvr.buil dNameSpace (NSBSingle AppSvr.jav a:78)
at com.ibm.ws.naming.bootstra p.NameServ erImpl.sta rt(NameSer verImpl.ja va:403)
at com.ibm.ws.runtime.compone nt.Contain erImpl.sta rtComponen ts(Contain erImpl.jav a:536)
at com.ibm.ws.runtime.compone nt.Contain erImpl.sta rt(Contain erImpl.jav a:413)
at com.ibm.ws.runtime.compone nt.ServerI mpl.start( ServerImpl .java:183)
at com.ibm.ws.runtime.WsServe r.start(Ws Server.jav a:128)
at com.ibm.ws.runtime.WsServe r.main(WsS erver.java :225)
at sun.reflect.NativeMethodAc cessorImpl .invoke0(N ative Method)
at sun.reflect.NativeMethodAc cessorImpl .invoke(Na tiveMethod AccessorIm pl.java:79 )
at sun.reflect.DelegatingMeth odAccessor Impl.invok e(Delegati ngMethodAc cessorImpl .java:41)
at java.lang.reflect.Method.i nvoke(Meth od.java:38 6)
at com.ibm.ws.bootstrap.WSLau ncher.main (WSLaunche r.java:189 )
Caused by: java.lang.reflect.Invocati onTargetEx ception
at sun.reflect.NativeConstruc torAccesso rImpl.newI nstance0(N ative Method)
at sun.reflect.NativeConstruc torAccesso rImpl.newI nstance(Na tiveConstr uctorAcces sorImpl.ja va:79)
at sun.reflect.DelegatingCons tructorAcc essorImpl. newInstanc e(Delegati ngConstruc torAccesso rImpl.java :43)
at java.lang.reflect.Construc tor.newIns tance(Cons tructor.ja va:313)
at com.ibm.ws.naming.distcos. NameSpaceB uilder.ins tantiateNC (NameSpace Builder.ja va:1312)
... 14 more
Caused by: java.lang.NoSuchMethodErro r: com.ibm.ejs.oa.UserKey: method updateBytes([BI)V not found
at com.ibm.ejs.oa.UserKey.<in it>(UserKe y.java:256 )
at com.ibm.ejs.oa.EJSRootOAIm pl.registe rServant(E JSRootOAIm pl.java:39 2)
at com.ibm.ejs.oa.EJSOAImpl.r egisterSer vant(EJSOA Impl.java: 331)
at com.ibm.ws.naming.distcos. ServantMan agerImpl.r egisterCon text(Serva ntManagerI mpl.java:1 83)
at com.ibm.ws.naming.cosbase. WsnOptimiz edNamingIm plBase.<in it>(WsnOpt imizedNami ngImplBase .java:221)
at com.ibm.ws.naming.ipcos.Ws nOptimized NamingImpl .<init>(Ws nOptimized NamingImpl .java:182)
at com.ibm.ws.naming.distcos. WsnDistrib utedNC.<in it>(WsnDis tributedNC .java:116)
at com.ibm.ws.naming.distcos. ReadOnlyNC .<init>(Re adOnlyNC.j ava:59)
... 19 more
Thanks
Bala
I tried to start websphere Application Server 5.1 and I got the following error in SerevrOut.log file. Could you please help me to figure out this.
com.ibm.ws.exception.Runti
at com.ibm.ws.naming.bootstra
at com.ibm.ws.runtime.compone
at com.ibm.ws.runtime.compone
at com.ibm.ws.runtime.compone
at com.ibm.ws.runtime.WsServe
at com.ibm.ws.runtime.WsServe
at sun.reflect.NativeMethodAc
at sun.reflect.NativeMethodAc
at sun.reflect.DelegatingMeth
at java.lang.reflect.Method.i
at com.ibm.ws.bootstrap.WSLau
Caused by: com.ibm.ws.naming.distcos.
at com.ibm.ws.naming.distcos.
at com.ibm.ws.naming.distcos.
at com.ibm.ws.naming.distcos.
at com.ibm.ws.naming.distcos.
at com.ibm.ws.naming.bootstra
... 10 more
Caused by: java.lang.reflect.Invocati
at sun.reflect.NativeConstruc
at sun.reflect.NativeConstruc
at sun.reflect.DelegatingCons
at java.lang.reflect.Construc
at com.ibm.ws.naming.distcos.
... 14 more
Caused by: java.lang.NoSuchMethodErro
at com.ibm.ejs.oa.UserKey.<in
at com.ibm.ejs.oa.EJSRootOAIm
at com.ibm.ejs.oa.EJSOAImpl.r
at com.ibm.ws.naming.distcos.
at com.ibm.ws.naming.cosbase.
at com.ibm.ws.naming.ipcos.Ws
at com.ibm.ws.naming.distcos.
at com.ibm.ws.naming.distcos.
... 19 more
---- Begin backtrace for nested exception
com.ibm.ws.naming.distcos.
at com.ibm.ws.naming.distcos.
at com.ibm.ws.naming.distcos.
at com.ibm.ws.naming.distcos.
at com.ibm.ws.naming.distcos.
at com.ibm.ws.naming.bootstra
at com.ibm.ws.runtime.compone
at com.ibm.ws.runtime.compone
at com.ibm.ws.runtime.compone
at com.ibm.ws.runtime.WsServe
at com.ibm.ws.runtime.WsServe
at sun.reflect.NativeMethodAc
at sun.reflect.NativeMethodAc
at sun.reflect.DelegatingMeth
at java.lang.reflect.Method.i
at com.ibm.ws.bootstrap.WSLau
Caused by: java.lang.reflect.Invocati
at sun.reflect.NativeConstruc
at sun.reflect.NativeConstruc
at sun.reflect.DelegatingCons
at java.lang.reflect.Construc
at com.ibm.ws.naming.distcos.
... 14 more
Caused by: java.lang.NoSuchMethodErro
at com.ibm.ejs.oa.UserKey.<in
at com.ibm.ejs.oa.EJSRootOAIm
at com.ibm.ejs.oa.EJSOAImpl.r
at com.ibm.ws.naming.distcos.
at com.ibm.ws.naming.cosbase.
at com.ibm.ws.naming.ipcos.Ws
at com.ibm.ws.naming.distcos.
at com.ibm.ws.naming.distcos.
... 19 more
Thanks
Bala
Is it a single AppServer, or a Federated AppServer, or a cluster member?
ASKER
It is a single App Server. . I couldn't find standalone property of the AdminService. I guess i am missing something.
appears to be a mismatch in your jar versions.
ASKER
Ok if it is a mismatch in a jar version, what i have to do fix it. Please explain me going further.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Ok , I will check that, thanks !
What is the value of the 'standalone' property of the AdminService element in this file?