Friends, i need some help on this

I have J2EE application which runs on AS 400 and tried to connect to domino database. Websphere application server that the application uses runs at 5.0 and domino is at 6.0.2. I get following error when in my code it tries to get connection, the code and error are as following : please let me know asap if you have some idea,

CODE :

		//prop.put(Context.PROVIDER_URL, providerURL);

		prop.put(javax.naming.Context.PROVIDER_URL, providerURL);

		//prop.put(Context.INITIAL_CONTEXT_FACTORY, "com.ibm.ejs.ns.jndi.CNInitialContextFactory");

		prop.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY, "com.ibm.websphere.naming.WsnInitialContextFactory");

		ctx = new InitialContext(prop);

		

		System.out.println("creating notes session using current creds");

		Session session = NotesFactory.createSession(notesServer, null);

		System.out.println("username: " + session.getUserName());

// System.out.println("creating session: " + notesServer + " " + notesUser + " " + password + " " + notesDatabase + " " + providerURL);

// Session session = NotesFactory.createSession(notesServer, notesUser, password);

  		System.out.println("got session - getting DB");

  		ndbContent = session.getDatabase("", notesDatabase);



  		System.out.println("got database");



    	if (!ndbContent.isOpen()) ndbContent.open();

ERROR THAT I GET :

Exception occurred while processing method “findByPrimaryKey”. Exception data: java.lang.NoClassDefFoundError: lotus/domino/NotesFactory

O prior to findbyprimarykey in getCustomerDetails. Cust num = CN=5,O=SSP

O starting refresh

O Customer Number in refresh: CN=5,O=SSP

O creating notes session using current creds

O Recycle objects in CustomerBean refresh

[9/3/03 14:46:51:056 CDT] dbcba04f ExceptionUtil E CNTR0019E: Non-application exception occurred while processing method “findByPrimaryKey”. Exception data: java.lang.NoClassDefFoundError: lotus/domino/NotesFactory

  /CustomerKey;)Lcom/flights/ejb/bmp/CustomerKey;+0 (CustomerBean.java:60) 

  java/lang/Throwable.<init>(Ljava/lang/String;)V+4 (Throwable.java:90)     

  java/lang/Error.<init>(Ljava/lang/String;)V+1 (Error.java:46)             

  java/lang/NoClassDefFoundError.<init>(Ljava/lang/String;)V+1 (NoClassDefFooundError.java:43)   

  com/flights/ejb/bmp/CustomerBean.getConnection()Llotus/domino/Database;+0 (CustomerBean.java:177)   

  com/flights/ejb/bmp/CustomerBean.refresh(Lcom/flights/ejb/bmp/CustomerKey;;)V+0 (CustomerBean.java:421)          

  com/flights/ejb/bmp/CustomerBean.ejbFindByPrimaryKey(Lcom/flights/ejb/bmp/CustomerKey;)Lcom/flights/ejb/bmp/CustomerKey;+0 (CustomerBean.java:60)

com/flights/ejb/bmp/CustomerBean.ejbFindByPrimaryKey(Lcom/flights/ejb/bmp/CustomerKey;)Lcom/flights/ejb/bmp/CustomerKey;+0 (CustomerBean.java:60)

com/flights/ejb/bmp/EJSBMPCustomerHomeBean_3479103c.findByPrimaryKey(Lcom//flights/ejb/bmp/CustomerKey;)Lcom/flights/ejb/bmp/Customer;+0 (EJSBMPCustomerHomeBean_3479103c.java:62)

com/flights/ejb/bmp/EJSRemoteBMPCustomerHome_3479103c.findByPrimaryKey(Lcom/flights/ejb/bmp/CustomerKey;)Lcom/flights/ejb/bmp/Customer;+0 (EJSRemoteBMPCustomerHome_3479103c.java:64)

com/ibm/CORBA/iiop/ClientDelegate$1.run()Ljava/lang/Object;+0 (ClientDelegate.java:1049)

com/ibm/CORBA/iiop/ClientDelegate.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;+0 (ClientDelegate.java:1034)

$Proxy15.findByPrimaryKey(Lcom/flights/ejb/bmp/CustomerKey;)Lcom/flights/ejb/bmp/Customer;+0 (:??)

com/flights/ejb/bmp/_CustomerHome_Stub.findByPrimaryKey(Lcom/flights/ejb/bmp/CustomerKey;)Lcom/flights/ejb/bmp/Customer;+0 (_CustomerHome_Stub.java:250)

com/flights/ejb/session/CustomerFlightBean.getCustomerDetails(Ljava/lang/String;)Lcom/flights/CustomerInfo;+0 (CustomerFlightBean.java:530)

com/flights/ejb/session/EJSRemoteStatelessCustomerFlight_929c7f29.getCustomerDetails(Ljava/lang/String;)Lcom/flights/CustomerInfo;+0 (EJSRemoteStatelessCustomerFlight_929c7f29.java:27)

com/ibm/CORBA/iiop/ClientDelegate$1.run()Ljava/lang/Object;+0 (ClientDelegate.java:1049)

com/ibm/CORBA/iiop/ClientDelegate.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;+0 (ClientDelegate.java:1034)

$Proxy14.getCustomerDetails(Ljava/lang/String;)Lcom/flights/CustomerInfo;+0 (:??)

com/flights/ejb/session/_CustomerFlight_Stub.getCustomerDetails(Ljava/lang/String;)Lcom/flights/CustomerInfo;+0 (_CustomerFlight_Stub.java:537)

FlightsServlet.displayCustomer(Ljavax/servlet/http/HttpSession;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0 (FlightsServlet.java:729)

FlightsServlet.doPost(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0 (FlightsServlet.java:109)

Subject: friends, i need some help on this

Looks like your WAS JVM (check the classpath) is missing the necessary NSCO jar files.

Subject: friends, i need some help on this

Being a Java developer, this exception message should mean something for you:

java.lang.NoClassDefFoundError: lotus/domino/NotesFactory

Cheers!

Luke