saravanakumar sundaram

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

Recent posts by saravanakumar sundaram

Hai,
I have developed a sample CMP Bean in wsad4.0 with Oracle as backend. I have tested it using ejb test client and found it working. Now when i try to deploy in the websphere4.0 using admin console, i get following exception.
[02.09.02 09:48:51:109 GMT+05:30] 5e7ef20a SystemOut U An unexpected exception was thrown. Halting execution.
[02.09.02 09:48:51:234 GMT+05:30] 5e7ef20a SystemOut U Shutting down workbench.
[02.09.02 09:48:51:671 GMT+05:30] 5e7ef20a SystemOut U Error during generation of deployment code: null.
[02.09.02 09:48:51:703 GMT+05:30] 5e7ef20a SystemOut U >com.ibm.etools.ejbdeploy.EJBDeploymentException (Error during generation of deployment code: null.)
[02.09.02 09:48:51:750 GMT+05:30] 5e7ef20a SystemOut U WrappedExecption of java.io.FileNotFoundException: ORACLE_V8_Primitives.xmi (The system cannot find the file specified)
[02.09.02 09:48:51:796 GMT+05:30] 5e7ef20a SystemOut U at com.ibm.etools.emf.resource.impl.ResourceSetImpl.getObjectAndLoad(ResourceSetImpl.java:184)
[02.09.02 09:48:51:796 GMT+05:30] 5e7ef20a SystemOut U at com.ibm.etools.emf.ref.impl.RefBaseObjectImpl.resolve(RefBaseObjectImpl.java:417)
[02.09.02 09:48:51:812 GMT+05:30] 5e7ef20a SystemOut U at com.ibm.etools.rdbschema.gen.impl.RDBDatabaseGenImpl.getDataTypeSet(RDBDatabaseGenImpl.java:240)
[02.09.02 09:48:51:828 GMT+05:30] 5e7ef20a SystemOut U at com.ibm.ObjectQuery.crud.schema.DataStoreMap.targetTypeSet(DataStoreMap.java:503)
[02.09.02 09:48:51:828 GMT+05:30] 5e7ef20a SystemOut U at com.ibm.ObjectQuery.crud.schema.QueryGenConfigInfo.reset(QueryGenConfigInfo.java:155)
[02.09.02 09:48:51:828 GMT+05:30] 5e7ef20a SystemOut U at com.ibm.ObjectQuery.crud.schema.DataStoreMap.<init>(DataStoreMap.java:44)
[02.09.02 09:48:51:828 GMT+05:30] 5e7ef20a SystemOut U at com.ibm.ObjectQuery.crud.schema.DataStoreMap.singletonFor(DataStoreMap.java:487)
[02.09.02 09:48:51:843 GMT+05:30] 5e7ef20a SystemOut U at com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.run(EJBDeployOperation.java:504)
[02.09.02 09:48:51:843 GMT+05:30] 5e7ef20a SystemOut U at com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.doit(EJBDeployOperation.java:217)
[02.09.02 09:48:51:843 GMT+05:30] 5e7ef20a SystemOut U at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.invokeDeployment(BatchExtension.java:704)
[02.09.02 09:48:51:843 GMT+05:30] 5e7ef20a SystemOut U at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.run(BatchExtension.java:861)
[02.09.02 09:48:51:843 GMT+05:30] 5e7ef20a SystemOut U at com.ibm.etools.ejbdeploy.batch.impl.BatchDeploy.execute(BatchDeploy.java:122)
[02.09.02 09:48:51:843 GMT+05:30] 5e7ef20a SystemOut U at com.ibm.etools.ejbdeploy.EJBDeploy.execute(EJBDeploy.java:60)
[02.09.02 09:48:51:859 GMT+05:30] 5e7ef20a SystemOut U at com.ibm.etools.ejbdeploy.EJBDeploy.main(EJBDeploy.java:207)
Is the deployment description created by wsad is not compatible with WAS4.0??
Can somebody help me??
Thanks
Saran
22 years ago
Hai,
I have downloaded the WSAD trial version and i created a sample project(EJB) which would use data source to talk to DB2(for the entity beans) which is running in a mainframe machine.
I have created the data source(dats) in the server( with the userid, password working in the db2cca).
I am getting the below exception when i start server(websphere administrative domain).
--------------------
[6/27/02 15:57:48:774 GMT+05:30] 3d7f36d9 Server U Version : 4.0.2
[6/27/02 15:57:48:784 GMT+05:30] 3d7f36d9 Server U Edition: Advanced Single Server Edition for Multiplatforms
[6/27/02 15:57:48:794 GMT+05:30] 3d7f36d9 Server U Build date: Tue Dec 18 00:00:00 GMT+05:30 2001
[6/27/02 15:57:48:794 GMT+05:30] 3d7f36d9 Server U Build number: a0150.05
[6/27/02 15:57:56:946 GMT+05:30] 3d7f36d9 DrAdminServer I WSVR0053I: DrAdmin available on port 7000
[6/27/02 15:57:57:386 GMT+05:30] 3d7f36d9 ResourceBinde I WSVR0049I: Binding Session Persistence datasource as jdbc/Session
[6/27/02 15:57:57:487 GMT+05:30] 3d7f36d9 ResourceBinde I WSVR0049I: Binding datas as jdbc/datas
[6/27/02 15:58:03:956 GMT+05:30] 3d7f36d9 EJBEngine I WSVR0037I: Starting EJB jar: PrototypeEJB
[6/27/02 15:58:12:899 GMT+05:30] 3d7f36d9 ConnectionPoo X CONM6009E: Failed to get connection to the database from datasource (datas).
[6/27/02 15:58:13:009 GMT+05:30] 3d7f36d9 StaleConnecti A CONM7007I: Mapping the following SQLException, with ErrorCode -30,082 and SQLState 08001, to a StaleConnectionException: COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver] SQL30082N Attempt to establish connection failed with security reason "15" ("PROCESSING FAILURE"). SQLSTATE=08001
at COM.ibm.db2.jdbc.app.SQLExceptionGenerator.throw_SQLException(SQLExceptionGenerator.java:174)
at COM.ibm.db2.jdbc.app.SQLExceptionGenerator.check_return_code(SQLExceptionGenerator.java:431)
at COM.ibm.db2.jdbc.app.DB2Connection.connect(DB2Connection.java:432)
at COM.ibm.db2.jdbc.app.DB2Connection.<init>(DB2Connection.java:351)
at COM.ibm.db2.jdbc.app.DB2ReusableConnection.<init>(DB2ReusableConnection.java:66)
at COM.ibm.db2.jdbc.DB2PooledConnection.getConnection(DB2PooledConnection.java:183)
at com.ibm.ejs.cm.pool.ConnectO.<init>(ConnectO.java:99)
at com.ibm.ejs.cm.pool.JDBC1xConnectionFactory.createConnection(JDBC1xConnectionFactory.java:42)
at com.ibm.ejs.cm.pool.ConnectionPool.createConnection(ConnectionPool.java:954)
at com.ibm.ejs.cm.pool.ConnectionPool.createOrWaitForConnection(ConnectionPool.java:896)
at com.ibm.ejs.cm.pool.ConnectionPool.findFreeConnection(ConnectionPool.java:814)
at com.ibm.ejs.cm.pool.ConnectionPool.findConnectionForTx(ConnectionPool.java:720)
at com.ibm.ejs.cm.pool.ConnectionPool.allocateConnection(ConnectionPool.java:654)
at com.ibm.ejs.cm.pool.ConnectionPool.getConnection(ConnectionPool.java:307)
at com.ibm.ejs.cm.DataSourceImpl$1.run(DataSourceImpl.java:122)
at java.security.AccessController.doPrivileged(Native Method)
at com.ibm.ejs.cm.DataSourceImpl.getConnection(DataSourceImpl.java:120)
at com.ibm.ejs.persistence.EJSJDBCPersister.initialize(EJSJDBCPersister.java:189)
at com.ibm.ejs.persistence.EJSJDBCPersister.create(EJSJDBCPersister.java:140)
at com.ibm.ws.cpi.JDBCPersisterFactoryImpl.create(JDBCPersisterFactoryImpl.java:91)
at com.ibm.ejs.container.EJSContainer.loadBeanMetaData(EJSContainer.java:800)
at com.ibm.ejs.container.EJSContainer.getHomeInstance(EJSContainer.java:544)
at com.ibm.ejs.container.EJSContainer.startBean(EJSContainer.java:508)
at com.ibm.ws.runtime.BeanHelper.startBean(BeanHelper.java:154)
at com.ibm.ws.runtime.EJBEngine.addEjbModule(EJBEngine.java:437)
at com.ibm.ws.runtime.Server.startModule(Server.java:607)
at com.ibm.ws.runtime.StandardServer.initializeModules(StandardServer.java:321)
at com.ibm.ws.runtime.StandardServer.initializeRuntime0(StandardServer.java:349)
at com.ibm.ws.runtime.Server.initializeRuntime(Server.java:884)
at com.ibm.ws.runtime.StandardServer.main(StandardServer.java:519)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:158)
at com.ibm.etools.websphere.tools.runner.api.ServerRunner$1.run(ServerRunner.java)
------------------------
To identify the source of prob,
I have created a sample application(with simple query) to check the data source(using IBM jdk). ALso I have created the data source(datas) from admin console.
It is running quite nicely.
I dont understand what could be the prob.
Can somebody help???
Thanks
Saran
22 years ago
hai,
I have a oracle forms application which should call EJB, available in websphere. Can somebody give me an idea of how this can be done.
Thanks for the help in advance.
Saran
22 years ago
The problem could in the vector only as the vector contents gets appended everytime you call buildData.BuildForDisplay(rst) function.
try one thing. try to make that vector empty after the processing and see.
24 years ago
Please find below some code on exception errorpage JSP.
Errorpage.jsp
--------------
<%@ page isErrorPage="true" %>
<html>
<body>
<h1>
Error Page
</h1>
<hr>
<h2>
Received the exception:<br>
<font color=red>
<%= exception.toString() %>
</font>
</h2>
</body>
</html>
Errorhandler.jsp
----------------
<%@ page errorPage="errorpage.jsp" %>
<html>
<body>
<form method=post action="errhandler.jsp">
What's the coolest programming language in the known universe?<p>
Java<input type=radio name=language value="JAVA" checked>
C++<input type=radio name=language value="CPP">
Visual Basic<input type=radio name=language value="VB">
<p>
<input type=submit>
</form>
<%
if (request.getMethod().equals("POST")) {
if (request.getParameter("language").equals("JAVA")) {
out.println("<hr><font color=red>You got that right!</font>");
} else {
throw new Exception("You chose the wrong language!");
}
}
%>
</body>
</html>
May be this could help you.
24 years ago