madi nasser

Greenhorn
+ Follow
since Nov 21, 2001
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by madi nasser

I will deploy entity bean in websphere davanced edition 3.5
I becam the flowing error:
java.lang.ClassNotFoundException: COM.ibm.db2.jdbc.DB2XADataSourcejava.sql.SQLException:
java.lang.ClassNotFoundException: COM.ibm.db2.jdbc.DB2XADataSource
--------
com.ibm.ejs.sm.client.command.ExecutionException: Fehler beim Unterbefehl des Befehls 'myEJBContainer.start'.
at com.ibm.ejs.sm.client.RepositoryOpException.<init>(RepositoryOpException.java:51)
at com.ibm.ejs.sm.client.command.ExecutionException.<init>(ExecutionException.java:63)
at com.ibm.ejs.sm.client.command.AbstractCommand.handleAct(AbstractCommand.java(Compiled Code))
at com.ibm.ejs.sm.client.command.StartCommand.execute(StartCommand.java:93)
at com.ibm.ejs.sm.client.command.CommandManager$ExecutionThread.run(CommandManager.java:264)
at com.ibm.ejs.sm.client.command.ThreadPool$PooledThread.run(ThreadPool.java(Compiled Code))

I tested servlet with the same Driver and it functioned , so the classpfad is already set .
can someone help me
22 years ago
I wrote servlet that direct the data into the database write and read.I wrote now another Entity Bean and want I that my servlet those acces to database by this Entity Bean and not direct. perhaps it know someone like gehts that or does whether it is moglich first?

thank you in advance
22 years ago
Hi, Kyle
Thank you very much for your help.
to time I uses DB2 instead MS Access and the Entity Bean funktioniert
22 years ago
In map schema. Schema->export Entire Schema to Database
Connection type: COM.ibm.db2.app.DB2Driver
Data Source: jdbc:db2:ACCOUNT
Userid: db2admin
Password: db2admin
if i click button: Test
I receive the following errors:
java.lang.ClassNotFoundException: COM.db2.jdbc.app.DB2Driver
although my classpath contains: C:\SQLLIB\java\db2java.zip
I have unziped my db2java.zip file and find in it two DB2Driver.class files
The first one belongs to the "COM.ibm.db2.jdbc.app"
and the second one belongs to "COM.ibm.db2.jdbc.net" packages

thank you in advance
22 years ago
does someone know whether DB2 6.1 and windows 2000 fits?
how can I add a new user?
thanks in advance
22 years ago
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
------------------
22 years ago