Skip to main content
This forum is closed to new posts and responses. New discussions are now taking place in the IBM Developer Answers forum.
 
developerWorks
AIX and UNIX
Information Mgmt
Lotus
New to Lotus
Products
How to buy
Downloads
Live demos
Technical library
Training
Support
Forums & community
Events
Rational
Tivoli
WebSphere
Java™ technology
Linux
Open source
SOA and Web services
Web development
XML
My developerWorks
About dW
Submit content
Feedback



developerWorks  >  Lotus  >  Forums & community  >  Notes/Domino 8 Forum

Notes/Domino 8 Forum

Previous Next
Subject: JVM AddAttachment Crash
Feedback Type: Problem
Product Area: Domino Server
Technical Area: Crash
Platform: Windows 2003 server
Release: 8.0
Reproducible: Always

I have problem with java agents.
In log you can see:
2008-05-15 16:48:32 AMgr: Agent ('ProductImport' in 'SmartBiz.nsf') error message: java.lang.OutOfMemoryError
2008-05-15 16:48:32 AMgr: Agent ('ProductImport' in 'SmartBiz.nsf') error message: at java.io.ByteArrayOutputStream.toByteArray(ByteArrayOutputStream.java:157)
2008-05-15 16:48:32 AMgr: Agent ('ProductImport' in 'SmartBiz.nsf') error message: at lotus.domino.ClassHashtable.explodeArchive(Unknown Source)
2008-05-15 16:48:32 AMgr: Agent ('ProductImport' in 'SmartBiz.nsf') error message: at lotus.domino.ClassHashtable.addAttachment(Unknown Source)
2008-05-15 16:48:32 AMgr: Agent ('ProductImport' in 'SmartBiz.nsf') error message: at lotus.domino.AgentLoader.addAttachment(Unknown Source)
2008-05-15 16:48:32 JVM: The addAttachment (Ljava/lang/String;[B)V() method failed.
2008-05-15 16:49:30 AMgr: Agent 'DataImport' in 'Base.nsf' did not process all documents successfully. Check the Agent Log for more information: JVM: Attempt to retrieve Java agent attachments failed.
2008-05-15 16:54:45 Chronos: Performing hourly full text indexing

If I run this agent from console everything works fine.
Log here:
2008-05-15 16:31:58 Remote console command issued by Developer/Server: tell amgr run Base.nsf 'DataImport'
2008-05-15 16:32:02 JVM: Java Virtual Machine initialized.
2008-05-15 16:32:02 AMgr: Start executing agent 'DataImport' in 'Base.nsf'
2008-05-15 16:32:03 Agent Manager: Agent printing: Agent START
2008-05-15 16:32:04 Agent Manager: Agent printing: Wykonuje: exec SP_FillProductCategories
2008-05-15 16:32:04 Agent Manager: Agent printing: Wykonuje: exec SP_SelectProductCategories
2008-05-15 16:32:04 Agent Manager: Agent printing: Wykonuje: select * from v_form_fields where form_alias = 'fProduct'
2008-05-15 16:32:04 Agent Manager: Agent printing: Wykonuje: exec SP_FillProduct
2008-05-15 16:32:13 Agent Manager: Agent printing: Wykonuje: exec SP_SelectProducts
2008-05-15 16:32:13 Agent Manager: Agent printing: Import Start
2008-05-15 16:32:21 Agent Manager: Agent printing: Import End
2008-05-15 16:32:21 Agent Manager: Agent printing: Agent END
2008-05-15 16:32:21 AMgr: Agent 'DataImport' in 'Base.nsf' completed execution
This crash reveals only when the agent is run by scheduler. I tried the solutions for version 6.x which I find on Notes 6 forum, but as you can see whithout results(http://www-10.lotus.com/ldd/nd6forum.nsf/DateAllThreadedweb/c53ad23599cbab2085256d24005f0a61?OpenDocument and http://www.openntf.org/projects/pmt.nsf/HomeLookup/76e168547497b9df8625737f002cff2e!OpenDocument&Click=).
Thanks for help


Feedback number WEBB7ENLUX created by 1Siger1 1Siger1 on 05/15/2008


JVM AddAttachment Crash (1Siger1 1Siger1... 15.May.08)
. . JVM AddAttachment Crash (Lucien Buitenhu... 18.Jul.08)
. . . . In DDM I receive the same error (Tony DeLotto 19.Aug.10)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds

Resources

 Resources
Forum use and etiquette
Native Notes Access
Web site Feedback

Lotus Support


 Lotus Support
IBM Support Portal - Lotus software
Lotus Support documents
Lotus support by product
Lotus support downloads
Lotus support RSS feeds

Wikis

 Wikis
IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Connections Cloud Developers
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

Lotus Forums


 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
IBM Connections
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
Lotus Enterprise Integration
Lotus Protector
Lotus Quickr
Lotus SmartSuite