• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

EJB-VisualAge-Persistens Name Server-help

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
------------------
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
madi nasser
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, Kyle
Thank you very much for your help.
to time I uses DB2 instead MS Access and the Entity Bean funktioniert
 
So it takes a day for light to pass through this glass? So this was yesterday's tiny ad?
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic