Lijo Jacob

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

Recent posts by Lijo Jacob

The ServletRequestListener is used to listen events on the request. There is no meaning in making it servlet specific. A request can be to any resource, need not be to a servlet.
18 years ago
jar command is independent of the server. It comes with the JDK.
18 years ago
Here is an example:

I have a Java Bean by name Paper with the following instance variables:
int paper_id
and
String short_nm

And from some part of the code, an ArrayList having objects of the Paper bean is put in the session scope (by the name 'papers').

Now if I want to use the paper_ids of the objects in the ArrayList to populate a select box then:

<c:set var="papers" value="${sessionScope.papers}" />

<html:select size="1" property="newPaper" value="${spp.newPaper}" >

<html ption value="0">Select Paper</html ption>
<html ptions collection="papers" property="paper_id" labelProperty="paper_id" />

</html:select>
20 years ago
Iam using WSAD 5.1.1. I created a CMP(2.0) bean with database IBM DB2 7.2. There were no problems during ejb-rdb mapping . But when I run the universal test client, and invoking any of the home interface methods like create or findByPrimaryKey, I get the following Exception:

RemoteException occurred in server thread; nested exception is: java.rmi.RemoteException: ; nested exception is: javax.ejb.EJBException: nested exception is: com.ibm.ws.ejbpersistence.utilpm.PersistenceManagerException: PMGR6022E: Error using adapter to create or execute an Interaction. ???


The server is a WebSphere 5.0 test env.
DataSource is Version 5.0
JDBC Provider Implementation Class Name : COM.ibm.db2.jdbc.DB2ConnectionPoolDataSource
DataSource Helper class is : com.ibm.websphere.rsadapter.DB2DataStoreHelper


I tried creating a CMP 1.1 bean with the same database table.
For this everything worked fine without any errors.

Kindly help me on this issue...
20 years ago