File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Websphere and the fly likes nested exception in Persistent Name Server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "nested exception in Persistent Name Server " Watch "nested exception in Persistent Name Server " New topic
Author

nested exception in Persistent Name Server

Kathy OConnell
Greenhorn

Joined: Dec 03, 2001
Posts: 29
I am developing my first EJB in VisualAge for Java version 4. When I try to start the Persistent Name Server, I get the following message:
An exception has occurred while starting the Persistent Name Server. com.ibm.ejs.EJSException:; nested exception is:
I have deployed the EJB (Account). However, not all the classes/interfaces expected have been generated – 3 are missing: AccountTransfer, AccountTransferBean, AccountTransferHome.
I am pointing to an Access database using jdbc.
Do you have any suggestions on how to get around this?
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
Kathy, I am moving this to the WebSphere forum.


Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Graeme Brown
Ranch Hand

Joined: Oct 13, 2000
Posts: 193
Kathy
If you tell us what the nested exception is, it will give us more of a clue about what the problem is.
If your account bean is CMP, I don't think that will work if you are using ODBC to connect to Access.
[ January 26, 2002: Message edited by: Graeme Brown ]
Kathy OConnell
Greenhorn

Joined: Dec 03, 2001
Posts: 29
The actual exception is not given in the error message.
However, in the console the following is given:
Persistent Name Server cannot be started.
com.ibm.ejs.EJSException: ; nested exception is:
java.rmi.RemoteException: jta/ JNDI subcontext not available; nested exception is:
javax.naming.NameAlreadyBoundException
java.rmi.RemoteException: jta/ JNDI subcontext not available; nested exception is:
javax.naming.NameAlreadyBoundException
javax.naming.NameAlreadyBoundException
java.lang.Throwable()
java.lang.Exception()
javax.naming.NamingException()
javax.naming.NameAlreadyBoundException()
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 [])
Following your suggestion, if you cannot use a CMP bean to connect to Access using ODBC from VisualAge, then what databases can you connect to? I tried installing DB2 from the CD given in the book, but was unsuccessful. I think that was because I have Windows 2000 and the version of DB2 I had could only be installed in Win 98 or Win NT.
Thanks
Kathy
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
Kathy,
You can download a free version of DB2 from the IBM Website that will install on Windows 2000.
Kyle


Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
Kathy OConnell
Greenhorn

Joined: Dec 03, 2001
Posts: 29
I looked into downloading DB2 from internet, but was put off by size of download - over 500mb. But, if that is the only way I will do it
Thanks
Kathy
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: nested exception in Persistent Name Server