aspose file tools*
The moose likes Websphere and the fly likes EJB-VisualAge-Persistens Name Server-help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "EJB-VisualAge-Persistens Name Server-help" Watch "EJB-VisualAge-Persistens Name Server-help" New topic
Author

EJB-VisualAge-Persistens Name Server-help

madi nasser
Greenhorn

Joined: Nov 21, 2001
Posts: 6
It concerns the following: I have a cmp Entity bean written with the following CMP fields: personalNr(schluessel), name and first name.
with test have I the problem. When I start the Persistent name server, wars I the following error:
[01.11.21 08:33:19:593 GMT+01:00] 7255 ManagedServer E Version : 3.5.0
[01.11.21 08:33:19:783 GMT+01:00] 7255 ManagedServer E Edition: advanced
[01.11.21 08:33:19:954 GMT+01:00] 7255 ManagedServer E Build date: Sat Jul 29 00:00:00 GMT+02:00 2000
[01.11.21 08:33:19:954 GMT+01:00] 7255 ManagedServer E Build number: q0030.12
[01.11.21 08:33:44:108 GMT+01:00] 7255 PortabilityLa W Unrecognized database or driver "sun.jdbc.odbc.JdbcOdbcDriver"; using generic settings
[01.11.21 08:33:46:912 GMT+01:00] 7255 PortabilityLa W Unrecognized database or driver "ACCESS"; using generic settings
[01.11.21 08:33:47:463 GMT+01:00] 7255 CreateNsTable W Failed to create tables java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Syntaxfehler in CREATE TABLE-Anweisung.
java.lang.Throwable(java.lang.String)
java.lang.Exception(java.lang.String)
java.sql.SQLException(java.lang.String, java.lang.String, int)
java.sql.SQLException sun.jdbc.odbc.JdbcOdbc.createSQLException(int, int, int)
void sun.jdbc.odbc.JdbcOdbc.standardError(short, int, int, int)
void sun.jdbc.odbc.JdbcOdbc.SQLExecDirect(int, java.lang.String)
boolean sun.jdbc.odbc.JdbcOdbcStatement.execute(java.lang.String)
int sun.jdbc.odbc.JdbcOdbcStatement.executeUpdate(java.lang.String)
void com.ibm.ejs.cm.portability.PortabilityLayerImpl.createTable(java.sql.Connection, java.lang.String, java.lang.String, java.lang.String)
void com.ibm.ejs.cm.pool.ConnectO.createTable(java.lang.String, java.lang.String, java.lang.String)
void com.ibm.ejs.cm.proxy.ConnectionProxy.createTable(java.lang.String, java.lang.String, java.lang.String)
void com.ibm.ejs.ns.CosNaming.CreateNsTables.dbInit(javax.sql.DataSource, java.lang.String, boolean)
javax.naming.Context com.ibm.ejs.ns.CosNaming.NameServer.init(org.omg.CORBA.ORB, boolean, javax.sql.DataSource, java.lang.String, boolean, boolean)
void com.ibm.ejs.sm.server.ManagedServer.initializeNameService(com.ibm.ejs.sm.server.RuntimeConfig)
void com.ibm.ejs.sm.server.ManagedServer.initializeRuntime(com.ibm.ejs.sm.server.RuntimeConfig)
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 [])

[01.11.21 08:33:47:603 GMT+01:00] 7255 NameServer E Initializing name service tables failed
java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Syntaxfehler in CREATE TABLE-Anweisung.
java.lang.Throwable(java.lang.String)
java.lang.Exception(java.lang.String)
java.sql.SQLException(java.lang.String, java.lang.String, int)
java.sql.SQLException sun.jdbc.odbc.JdbcOdbc.createSQLException(int, int, int)
void sun.jdbc.odbc.JdbcOdbc.standardError(short, int, int, int)
void sun.jdbc.odbc.JdbcOdbc.SQLExecDirect(int, java.lang.String)
boolean sun.jdbc.odbc.JdbcOdbcStatement.execute(java.lang.String)
int sun.jdbc.odbc.JdbcOdbcStatement.executeUpdate(java.lang.String)
void com.ibm.ejs.cm.portability.PortabilityLayerImpl.createTable(java.sql.Connection, java.lang.String, java.lang.String, java.lang.String)
void com.ibm.ejs.cm.pool.ConnectO.createTable(java.lang.String, java.lang.String, java.lang.String)
void com.ibm.ejs.cm.proxy.ConnectionProxy.createTable(java.lang.String, java.lang.String, java.lang.String)
void com.ibm.ejs.ns.CosNaming.CreateNsTables.dbInit(javax.sql.DataSource, java.lang.String, boolean)
javax.naming.Context com.ibm.ejs.ns.CosNaming.NameServer.init(org.omg.CORBA.ORB, boolean, javax.sql.DataSource, java.lang.String, boolean, boolean)
void com.ibm.ejs.sm.server.ManagedServer.initializeNameService(com.ibm.ejs.sm.server.RuntimeConfig)
void com.ibm.ejs.sm.server.ManagedServer.initializeRuntime(com.ibm.ejs.sm.server.RuntimeConfig)
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 [])

[01.11.21 08:33:48:955 GMT+01:00] 7255 NSServantMana E registering servant: /
[01.11.21 08:33:49:556 GMT+01:00] 7255 NameServer E Starting bootstrap server on port 900
[01.11.21 08:33:49:596 GMT+01:00] 7255 NameServer E Bootstrap server is listening
[01.11.21 08:33:51:970 GMT+01:00] aed BootstrapRequ E operation: get
[01.11.21 08:33:52:560 GMT+01:00] 7874 DrAdminServer A DrAdmin verf�gbar an Port 1.954
[01.11.21 08:34:10:506 GMT+01:00] 7255 CNInitialCont E Properties file not found
[01.11.21 08:34:10:516 GMT+01:00] 7255 CNInitialCont E using runtime orb
[01.11.21 08:34:10:526 GMT+01:00] 7255 CNInitialCont E Using ORB's default bootstrap server
[01.11.21 08:34:10:526 GMT+01:00] 1803 BootstrapRequ E operation: get
[01.11.21 08:34:15:654 GMT+01:00] 7255 CNInitialCont E Properties file not found
[01.11.21 08:34:15:664 GMT+01:00] 7255 CNInitialCont E using runtime orb
[01.11.21 08:34:15:664 GMT+01:00] 7255 CNInitialCont E Using ORB's default bootstrap server
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 [])
Der Persistent Name Server kann nicht gestartet werden.
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 [])

can they me help thank you
------------------
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
Part of your problem is that VAJ doesn't support the use of the JDBC-ODBC bridge with CMP EJB's.
Kyle
------------------
Kyle Brown,
Author of Enterprise Java (tm) Programming with IBM Websphere
See my homepage at http://members.aol.com/kgb1001001 for other WebSphere information.


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.
madi nasser
Greenhorn

Joined: Nov 21, 2001
Posts: 6
Hi, Kyle
Thank you very much for your help.
to time I uses DB2 instead MS Access and the Entity Bean funktioniert
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: EJB-VisualAge-Persistens Name Server-help