aspose file tools*
The moose likes Websphere and the fly likes EJB Server Exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "EJB Server Exception" Watch "EJB Server Exception" New topic
Author

EJB Server Exception

Srinivas Phani Kumar Pinisetti
Greenhorn

Joined: Nov 03, 2002
Posts: 1
Hi All,
I wrote a simple Entity Bean(CMP). I have mapped with the Database fields. After generating the deployed code (IDE is VisualAge for Java 3.5.3), while trying to run the EJB server, i got the following error.
EJB Server Exception
com.ibm.ejs.EJSException: ; nested eception is:
com.ibm.ejs.sm.exception.ActiveObjectInitException
I checked the console. The console message is as follows:
The following beans are deployed in the server:
(1) com.bgc.entity.DemoEBBean
******************************************
[02.11.07 10:02:30:017 GMT+05:30] 4501 ManagedServer E Version : 3.5.3
[02.11.07 10:02:30:017 GMT+05:30] 4501 ManagedServer E Edition: advanced
[02.11.07 10:02:30:032 GMT+05:30] 4501 ManagedServer E Build date: Sun Mar 04 00:00:00 GMT+05:30 2001
[02.11.07 10:02:30:032 GMT+05:30] 4501 ManagedServer E Build number: ptf3b0109.01
[02.11.07 10:02:34:829 GMT+05:30] 520 DrAdminServer A SMTL0018I: DrAdmin available on port 1,343
[02.11.07 10:02:41:235 GMT+05:30] 4501 ActiveEnterpr W Failed to start the bean "com/bgc/entity/DemoEB" com.ibm.websphere.csi.CSIException: failed to get home instance; nested exception is:
com.ibm.ejs.container.ContainerException: loading bean meta data failed; nested exception is:
com.ibm.websphere.csi.CSIException: persister creation failed; nested exception is:
com.ibm.ejs.persistence.EJSPersistenceException: ; nested exception is:
java.sql.SQLException: invalid arguments in call
com.ibm.ejs.container.ContainerException: loading bean meta data failed; nested exception is:
com.ibm.websphere.csi.CSIException: persister creation failed; nested exception is:
com.ibm.ejs.persistence.EJSPersistenceException: ; nested exception is:
java.sql.SQLException: invalid arguments in call
com.ibm.websphere.csi.CSIException: persister creation failed; nested exception is:
com.ibm.ejs.persistence.EJSPersistenceException: ; nested exception is:
java.sql.SQLException: invalid arguments in call
com.ibm.ejs.persistence.EJSPersistenceException: ; nested exception is:
java.sql.SQLException: invalid arguments in call
java.sql.SQLException: invalid arguments in call
java.lang.Throwable(java.lang.String)
java.lang.Exception(java.lang.String)
java.sql.SQLException(java.lang.String, java.lang.String, int)
void oracle.jdbc.dbaccess.DBError.throwSqlException(java.lang.String, java.lang.String, int)
void oracle.jdbc.dbaccess.DBError.throwSqlException(int, java.lang.Object)
void oracle.jdbc.dbaccess.DBError.check_error(int)
oracle.jdbc.dbaccess.DBConversion oracle.jdbc.ttc7.TTC7Protocol.logon(java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
oracle.jdbc.driver.OracleConnection(oracle.jdbc.dbaccess.DBAccess, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
java.sql.Connection oracle.jdbc.driver.OracleDriver.getConnectionInstance(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
java.sql.Connection oracle.jdbc.driver.OracleDriver.connect(java.lang.String, java.util.Properties)
com.ibm.ejs.cm.pool.ConnectO com.ibm.ejs.cm.pool.JDBC1xConnectionFactory.createConnection(com.ibm.ejs.cm.pool.ConnectionPool)
com.ibm.ejs.cm.pool.ConnectO com.ibm.ejs.cm.pool.ConnectionPool.createConnection(java.lang.String, java.lang.String)
com.ibm.ejs.cm.pool.ConnectO com.ibm.ejs.cm.pool.ConnectionPool.createOrWaitForConnection(java.lang.String, java.lang.String)
com.ibm.ejs.cm.pool.ConnectO com.ibm.ejs.cm.pool.ConnectionPool.findFreeConnection(java.lang.String, java.lang.String)
com.ibm.ejs.cm.pool.ConnectO com.ibm.ejs.cm.pool.ConnectionPool.findConnectionForTx(org.omg.CosTransactions.Coordinator, java.lang.String, java.lang.String, java.util.Properties)
com.ibm.ejs.cm.pool.ConnectO com.ibm.ejs.cm.pool.ConnectionPool.allocateConnection(java.lang.String, java.lang.String, java.util.Properties)
java.sql.Connection com.ibm.ejs.cm.pool.ConnectionPool.getConnection(java.lang.String, java.lang.String)
java.sql.Connection com.ibm.ejs.cm.DataSourceImpl.getConnection(java.lang.String, java.lang.String)
void com.ibm.ejs.persistence.EJSJDBCPersister.initialize(javax.sql.DataSource, java.lang.String, java.lang.String, java.lang.String)
com.ibm.ejs.persistence.EJSJDBCPersister com.ibm.ejs.persistence.EJSJDBCPersister.create(com.ibm.ejs.util.PortableDeploymentDescriptor, javax.sql.DataSource, java.lang.ClassLoader)
com.ibm.websphere.csi.EJBPersister com.ibm.ejs.sm.active.ActiveEJBContainer.create(com.ibm.websphere.csi.EJBConfigData)
java.rmi.Remote com.ibm.ejs.container.EJSContainer.loadBeanMetaData(java.lang.String)
java.rmi.Remote com.ibm.ejs.container.EJSContainer.getHomeInstance(java.lang.String)
java.rmi.Remote com.ibm.ejs.sm.active.ActiveEJBContainer.startBean(java.lang.String, com.ibm.ejs.util.PortableDeploymentDescriptor, java.lang.String, boolean, java.lang.String, com.ibm.ejs.sm.active.ActiveEnterpriseBean, java.lang.String)
void com.ibm.ejs.sm.active.ActiveEnterpriseBean.startAction(boolean, com.ibm.ejs.sm.util.ObjectCollection)
void com.ibm.ejs.sm.active.ActiveObject.startObject(long, boolean)
void com.ibm.ejs.sm.active.ActiveObject.start(int, com.ibm.ejs.sm.active.ActiveObjectConfig)
void com.ibm.ejs.sm.active.ActiveObject.operateOnContainedObjects(com.ibm.ejs.sm.active.ActiveObjectConfig, java.lang.String, com.ibm.ejs.sm.util.ObjectCollection)
void com.ibm.ejs.sm.active.ActiveEJBContainer.startAction(boolean, com.ibm.ejs.sm.util.ObjectCollection)
void com.ibm.ejs.sm.active.ActiveObject.startObject(long, boolean)
void com.ibm.ejs.sm.active.ActiveObject.start(int, com.ibm.ejs.sm.active.ActiveObjectConfig)
void com.ibm.ejs.sm.active.ActiveObject.operateOnContainedObjects(com.ibm.ejs.sm.active.ActiveObjectConfig, java.lang.String, com.ibm.ejs.sm.util.ObjectCollection)
void com.ibm.ejs.sm.active.ActiveEJBServer.startAction(boolean, com.ibm.ejs.sm.util.ObjectCollection)
void com.ibm.ejs.sm.active.ActiveObject.startObject(long, boolean)
void com.ibm.ejs.sm.active.ActiveObject.start(int, com.ibm.ejs.sm.active.ActiveObjectConfig)
java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object [])
java.lang.Object com.ibm.ejs.sm.agent.AdminAgentImpl.activeObjectInvocation(com.ibm.ejs.sm.agent.ContainmentPath, java.lang.String, com.ibm.ejs.sm.agent.ParamList)
java.lang.Object com.ibm.ejs.sm.agent.AdminAgentImpl.invokeActiveObject(com.ibm.ejs.sm.agent.ContainmentPath, java.lang.String, com.ibm.ejs.sm.agent.ParamList)
void com.ibm.ejs.server.EJServer.configRuntime(java.util.Properties [])
void com.ibm.ejs.server.EJServer.start()
void com.ibm.ivj.control.tools.internal.EJSServer.startEJS(java.lang.String [])
Any help would be appreciated
TIA,
Srinivas


PSP KUMAR
Padmanaban Jayabalan
Greenhorn

Joined: May 08, 2002
Posts: 14
Hi,
Check the database name and password u have given in the EJB server properties.
Hope this will work fine.
Padmanaban
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EJB Server Exception