Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to Start Persistent Name Server in VAJ

 
senthilkumar narayan
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am unable to start Persistent Name Server in VAJ with deafult parameters itself. Here is the trace log.
Any Ideas on how to fix this problem?
------------------------------------------
[02.12.04 16:44:23:883 PST] 3681 ManagedServer E Version : 3.5.3
[02.12.04 16:44:23:915 PST] 3681 ManagedServer E Edition: advanced
[02.12.04 16:44:23:915 PST] 3681 ManagedServer E Build date: Sun Mar 04 00:00:00 PST 2001
[02.12.04 16:44:23:915 PST] 3681 ManagedServer E Build number: ptf3b0109.01
[02.12.04 16:44:36:493 PST] 3681 _ConnMgrBaseI E Register to dump facility.
[02.12.04 16:44:36:508 PST] 3681 _ConnMgrBaseI E Initialize PreparedStatement cache.
[02.12.04 16:44:36:508 PST] 3681 _ConnMgrBaseI E Initialize prepared statement cache. Size:30
InstantDB - Version 3.13
Copyright (c) 1997-2000 Instant Computer Solutions Ltd.
[02.12.04 16:44:52:930 PST] 3681 NSServantMana E registering servant: /
[02.12.04 16:44:53:368 PST] 3681 NameServer E Starting bootstrap server on port 900
[02.12.04 16:44:53:430 PST] 3681 NameServer E Bootstrap server is listening
[02.12.04 16:44:54:852 PST] 2e6e BootstrapRequ E operation: get
[02.12.04 16:44:55:243 PST] 1d45 DrAdminServer A SMTL0018I: DrAdmin available on port 1,325
[02.12.04 16:45:00:508 PST] 3681 EJSJDBCPersis E create
"com.ibm.ejs.ns.CosNaming.EJSJDBCPersisterBindingBean"
[02.12.04 16:45:02:680 PST] 3681 CNInitialCont E Properties file not found
[02.12.04 16:45:02:680 PST] 3681 CNInitialCont E using runtime orb
[02.12.04 16:45:02:821 PST] 3681 CNInitialCont E Using ORB's default bootstrap server
[02.12.04 16:45:02:868 PST] 3072 BootstrapRequ E operation: get
[02.12.04 16:45:05:258 PST] 3681 EJSJDBCPersis E create
"com.ibm.ejs.ns.CosNaming.EJSJDBCPersisterContextBean"
[02.12.04 16:45:05:508 PST] 3681 CNInitialCont E Properties file not found
[02.12.04 16:45:05:508 PST] 3681 CNInitialCont E using runtime orb
[02.12.04 16:45:06:602 PST] 3681 EJSContainer E Bean method threw exception
javax.ejb.DuplicateKeyException
java.lang.Throwable()
java.lang.Exception()
javax.ejb.CreateException()
javax.ejb.DuplicateKeyException()
void com.ibm.ejs.persistence.EJSJDBCPersister.create(javax.ejb.EntityBean)
void com.ibm.ejs.container.ContainerManagedBeanO.postCreate()
javax.ejb.EJBObject com.ibm.ejs.container.EJSHome.postCreate(com.ibm.ejs.container.BeanO, java.lang.Object)
com.ibm.ejs.ns.CosNaming.Binding com.ibm.ejs.ns.CosNaming.EJSBindingHomeBean.create(java.lang.String, java.lang.String, java.lang.String, java.lang.String, int)
com.ibm.ejs.ns.CosNaming.Binding com.ibm.ejs.ns.CosNaming.EJSRemoteBindingHome.create(java.lang.String, java.lang.String, java.lang.String, java.lang.String, int)
com.ibm.ejs.ns.CosNaming.Binding com.ibm.ejs.ns.CosNaming._BindingHome_Stub.create(java.lang.String, java.lang.String, java.lang.String, java.lang.String, int)
void com.ibm.ejs.ns.CosNaming.EJBDataStore.bind(com.ibm.ejs.ns.CosNaming.BindingBean)
void com.ibm.ejs.ns.CosNaming.NsSessionBean.bind(com.ibm.ejs.ns.CosNaming.ContextId, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int)
void com.ibm.ejs.ns.CosNaming.EJSRemoteNsSession.bind(com.ibm.ejs.ns.CosNaming.ContextId, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int)
void com.ibm.ejs.ns.CosNaming._NsSession_Stub.bind(com.ibm.ejs.ns.CosNaming.ContextId, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int)
void com.ibm.ejs.ns.CosNaming.NsSessionDataStore.bind(com.ibm.ejs.ns.CosNaming.BindingBean)
org.omg.CosNaming.NamingContext com.ibm.ejs.ns.CosNaming.ExtendedNamingImpl.bind_new_context(org.omg.CosNaming.NameComponent [])
javax.naming.Context com.ibm.ejs.ns.jndi.CNContextImpl.doCreateSubcontext(org.omg.CosNaming.NameComponent [])
javax.naming.Context com.ibm.ejs.ns.jndi.CNContextImpl.createSubcontext(java.lang.String)
javax.naming.Context javax.naming.InitialContext.createSubcontext(java.lang.String)
void com.ibm.ejs.sm.server.ManagedServer.exportUserTx()
void com.ibm.ejs.server.EJServer.start()
void com.ibm.ivj.control.tools.internal.EJSServer.startEJS(java.lang.String [])
boolean com.ibm.ivj.control.node.NameServerRunner.startServer()
void com.ibm.ivj.control.node.NameServerRunner.main(java.lang.String [])
java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object [])

[02.12.04 16:45:06:790 PST] 3681 EJSContainer E Bean method threw exception
com.ibm.ejs.ns.CosNaming.DataStore$AlreadyBoundException
java.lang.Throwable()
java.lang.Exception()
com.ibm.ejs.ns.CosNaming.DataStore$AlreadyBoundException()
void com.ibm.ejs.ns.CosNaming.EJBDataStore.bind(com.ibm.ejs.ns.CosNaming.BindingBean)
void com.ibm.ejs.ns.CosNaming.NsSessionBean.bind(com.ibm.ejs.ns.CosNaming.ContextId, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int)
void com.ibm.ejs.ns.CosNaming.EJSRemoteNsSession.bind(com.ibm.ejs.ns.CosNaming.ContextId, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int)
void com.ibm.ejs.ns.CosNaming._NsSession_Stub.bind(com.ibm.ejs.ns.CosNaming.ContextId, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int)
void com.ibm.ejs.ns.CosNaming.NsSessionDataStore.bind(com.ibm.ejs.ns.CosNaming.BindingBean)
org.omg.CosNaming.NamingContext com.ibm.ejs.ns.CosNaming.ExtendedNamingImpl.bind_new_context(org.omg.CosNaming.NameComponent [])
javax.naming.Context com.ibm.ejs.ns.jndi.CNContextImpl.doCreateSubcontext(org.omg.CosNaming.NameComponent [])
javax.naming.Context com.ibm.ejs.ns.jndi.CNContextImpl.createSubcontext(java.lang.String)
javax.naming.Context javax.naming.InitialContext.createSubcontext(java.lang.String)
void com.ibm.ejs.sm.server.ManagedServer.exportUserTx()
void com.ibm.ejs.server.EJServer.start()
void com.ibm.ivj.control.tools.internal.EJSServer.startEJS(java.lang.String [])
boolean com.ibm.ivj.control.node.NameServerRunner.startServer()
void com.ibm.ivj.control.node.NameServerRunner.main(java.lang.String [])
java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object [])

[02.12.04 16:45:08:508 PST] 3681 NSServantMana E registering servant: ead35058-00f1-ebb0-0632-0a639a28aa77
[02.12.04 16:45:08:508 PST] 3681 NSServantMana E creating a new context: ead35058-00f1-ebb0-0632-0a639a28aa77
[02.12.04 16:45:08:508 PST] 3681 NamingContext E resolve: name = jta cname = /
[02.12.04 17:11:56:188 PST] 3072 EJSContainer E Bean method threw exception
javax.ejb.DuplicateKeyException
java.lang.Throwable()
java.lang.Exception()
javax.ejb.CreateException()
javax.ejb.DuplicateKeyException()
void com.ibm.ejs.ns.CosNaming.PropertyBean.checkForDuplicateKey(com.ibm.ejs.ns.CosNaming.PropertyPKey)
com.ibm.ejs.ns.CosNaming.PropertyPKey com.ibm.ejs.ns.CosNaming.PropertyBean.ejbCreate(java.lang.String, java.lang.String, java.lang.String, java.lang.String, byte [])
com.ibm.ejs.ns.CosNaming.Property com.ibm.ejs.ns.CosNaming.EJSPropertyHomeBean.create(java.lang.String, java.lang.String, java.lang.String, java.lang.String, byte [])
com.ibm.ejs.ns.CosNaming.Property com.ibm.ejs.ns.CosNaming.EJSRemotePropertyHome.create(java.lang.String, java.lang.String, java.lang.String, java.lang.String, byte [])
com.ibm.ejs.ns.CosNaming.Property com.ibm.ejs.ns.CosNaming._PropertyHome_Stub.create(java.lang.String, java.lang.String, java.lang.String, java.lang.String, byte [])
void com.ibm.ejs.ns.CosNaming.EJBDataStore.set_property(com.ibm.ejs.ns.CosNaming.PropertyBean)
void com.ibm.ejs.ns.CosNaming.NsSessionBean.set_property(com.ibm.ejs.ns.CosNaming.ContextId, java.lang.String, java.lang.String, java.lang.String, java.lang.String, byte [])
void com.ibm.ejs.ns.CosNaming.EJSRemoteNsSession.set_property(com.ibm.ejs.ns.CosNaming.ContextId, java.lang.String, java.lang.String, java.lang.String, java.lang.String, byte [])
void com.ibm.ejs.ns.CosNaming._NsSession_Stub.set_property(com.ibm.ejs.ns.CosNaming.ContextId, java.lang.String, java.lang.String, java.lang.String, java.lang.String, byte [])
void com.ibm.ejs.ns.CosNaming.NsSessionDataStore.set_property(com.ibm.ejs.ns.CosNaming.PropertyBean)
void com.ibm.ejs.ns.CosNaming.ExtendedNamingImpl.define_property(org.omg.CosNaming.NameComponent [], java.lang.String, org.omg.CORBA.Any)
org.omg.CORBA.portable.OutputStream org.omg.ExtendedNaming._NamingContextImplBase._invoke(java.lang.String, org.omg.CORBA.portable.InputStream, org.omg.CORBA.portable.ResponseHandler)
com.ibm.rmi.ServerResponse com.ibm.CORBA.iiop.ExtendedServerDelegate.dispatch(com.ibm.rmi.ServerRequest)
com.ibm.rmi.ServerResponse com.ibm.CORBA.iiop.ORB.process(com.ibm.rmi.ServerRequest)
void com.ibm.CORBA.iiop.WorkerThread.run()
void com.ibm.ejs.oa.pool.ThreadPool$PooledThread.run()

[02.12.04 17:11:56:798 PST] 3681 EJServer E Server open for business.

------------------------------------------

[ December 04, 2002: Message edited by: senthilkumar narayan ]
[ December 04, 2002: Message edited by: senthilkumar narayan ]
[ December 04, 2002: Message edited by: senthilkumar narayan ]
[ December 04, 2002: Message edited by: senthilkumar narayan ]
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sigh. Your InstantDB database is corrupted (a common occurance, which is why we stopped using it in WebSphere products). You can either try running the PNS on another database like DB2, or (which may be easiest) remove the WebSphere Test Environment Feature and then Re-add it, which will zap and then restore the database.
Kyle
 
senthilkumar narayan
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your suggestion.
I did try reintalling VAJ and readding "WEBSPHERE Test environment", I didnot work.
Problem was, I had an unwanted JNDI jar in the classpath, which was somehow clashing with the PNS. When I removed this JNDI jar, It worked fine.
Errors in PNS for Medium level tracing was also misleading! Even now, I am getting the errors, but I able to create datasource, start PNS and able to get data from the database using SQL query.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic