NotesDomino eWay issue

Hi all,

I had an issue when Implementing the prjNotesDomino_Sample_JCD Project(createDoc).

Follow is the server.log

[#|2006-10-16T12:04:42.062+0800|INFO|IS5.1.1|STC.eWay.NotesDomino.com.stc.conne ctor.notesdominoadapter.appconn.NotesDominoApplicationImpl|_ThreadID=36; ThreadName=Thread-86;|*** Notes session successfully created *** CN=di.han/O=alibaba/C=cn|#]

[#|2006-10-16T12:04:45.046+0800|WARNING|IS5.1.1|STC.eWay.NotesDomino.com.stc.co nnector.notesdominoadapter.appconn.NotesDominoAgent|_ThreadID=36; ThreadName=Thread-86;|Unsupported MBean type; unable to send alert.|#]

[#|2006-10-16T12:04:45.046+0800|SEVERE|IS5.1.1|STC.eWay.NotesDomino.com.stc.con nector.notesdominoadapter.appconn.NotesDominoAgent|_ThreadID=36; ThreadName=Thread-86;|***** Unable to locate or Open the database: SAMPLE.nsf on server 10.0.1.178:63148|#]

[#|2006-10-16T12:04:45.046+0800|SEVERE|IS5.1.1|STC.eWay.NotesDomino.com.stc.con nector.notesdominoadapter.appconn.NotesDominoApplicationImpl|_ThreadID=36; ThreadName=Thread-86;|*** Unable to create document ****|#]

[#|2006-10-16T12:04:45.046+0800|SEVERE|IS5.1.1|STC.eWay.NotesDomino.com.stc.con nector.notesdominoadapter.appconn.NotesDominoApplicationImpl|_ThreadID=35; ThreadName=Worker: 15; Context=project=Notes,deployment=Deployment1,collab=CreateDoc_CM_CreateDoc1,ext ernal=File1;|*** Unable to create the document *** |#]

My CAPS notes configuration:

Database Type:Remote

NOtes/Domino Server: <myNoteServer>:63148

NOtes/Domino Database SAMPLE.nsf

Notes/Domino User:******

Password:*******

JCD code:

package ToruialNotes;

public class CreateDoc

{

public com.stc.codegen.logger.Logger logger;

public com.stc.codegen.alerter.Alerter alerter;

public com.stc.codegen.util.CollaborationContext collabContext;

public com.stc.codegen.util.TypeConverter typeConverter;

public void receive( com.stc.connector.appconn.file.FileTextMessage input, com.stc.connector.appconn.file.FileApplication FileClient_1, com.stc.connector.notesdominoadapter.appconn.NotesDominoApplication NotesDomino_1, dtd.Notes532244024.NOTES_DOCUMENT Notes_NOTES_DOCUMENT_1 )

throws Throwable

{

boolean Status;

Notes_NOTES_DOCUMENT_1.unmarshalFromString( input.getText() );

NotesDomino_1.createDocument();

if (Notes_NOTES_DOCUMENT_1.hasNOTES_ITEM()) {

for (int i1 = 0; i1 < Notes_NOTES_DOCUMENT_1.countNOTES_ITEM(); i1 += 1) {

if (Notes_NOTES_DOCUMENT_1.getNOTES_ITEM( i1 ).hasItemName()) {

NotesDomino_1.getDocument().getItem( i1 ).setItemName( Notes_NOTES_DOCUMENT_1.getNOTES_ITEM( i1 ).getItemName() );

}

if (Notes_NOTES_DOCUMENT_1.getNOTES_ITEM( i1 ).hasItemValue()) {

NotesDomino_1.getDocument().getItem( i1 ).setItemValue( Notes_NOTES_DOCUMENT_1.getNOTES_ITEM( i1 ).getItemValue() );

}

}

}

Status = NotesDomino_1.saveDocument();

if (!Status) {

FileClient_1.setText( "Document Not Created" );

} else {

FileClient_1.setText( "Document Added\"" );

}

FileClient_1.write();

}

}

I can connect to Lotus by java code in eclipse and create document succueed on SAMPLE.nsf.Java code:

import lotus.domino.*;

public class aaa {

public static void main(String[] argv) {

try {

String host = "10.0.1.178:63148";

Session s = NotesFactory.createSession(host, "di.han", "12345678");

Database db = s.getDatabase(null, "sample.nsf");

if(db.isOpen())

{

Document doc=db.createDocument();

//db.getAllDocuments();

doc.appendItemValue("FirstName","qqqq");

doc.appendItemValue("LastName","wwww");

doc.appendItemValue("EEID","1234");

doc.appendItemValue("SSN","11-11-1999");

doc.save(true,false);

}

// Operational code goes here

} catch (Exception e) {

e.printStackTrace();

}

}

}

Anyone had such issue as me?

Message was edited by:

bobye

[4107 byte] By [bobye] at [2007-11-26 10:50:32]
# 1

From the release notes (on JCAPS 5.1.1)....

"To enable the eWay... the following are required:"

"Lotus Notes/Domino 6.0, 6.5 and 7.0 with Lotus Notes Client installed on the same host as the eGate Participating Host."

"The special DLL used for password event handling must be placed in the Lotus Notes CLient area."

Do you mean these criterias?

TE

TravelEntity at 2007-7-7 3:03:09 > top of Java-index,Java Enterprise System,Java Composite Application Platform Suite -- General Discussion...
# 2
Thank you for you informaction. We had got confirm from SUN that was a bug in CAPS 5.11 and wait for fix.
bobye at 2007-7-7 3:03:09 > top of Java-index,Java Enterprise System,Java Composite Application Platform Suite -- General Discussion...