Traveler startup error: Addinmain: Can't create Java VM

I posted regarding this last week but still don’t have a solution.

We upgraded a Domino server from 7.0x to 8.5. That’s all fine. Then we installed Traveler 8.5. We’ve not used Traveler before. The install went without a problem, but Traveler service wont start. The error is “Traveler:Addinmain: Can’t create Java VM”. I’ve tried without success the suggestions posted here: http://www-10.lotus.com/ldd/nd85forum.nsf/5f27803bba85d8e285256bf10054620d/6635930510ac32448525762000664e67?OpenDocument

Any further suggestions would be appreciated.

Subject: Traveler - “Can’t start JVM”

  1. Add NTS_Java_Parms=-Xms96m -Xmx128m

  2. See if Traveler will now start - if not try -Xms96m -Xmx96m

  3. Download VMMAP from Microsoft Learn: Build skills that open doors in your career

d535533.aspx

  1. Extract VMMAP and run vmmap.exe.

  2. Select traveler.exe process

  3. What is the Shareable memory allocation?

On 32 bit OS 2GB is max possible memory for a process and we have seen the Shareable use up a large portion of this. We are still investigating why this happens so would be interested to know the results on your system.

Also please include the Domino Version, OS Version and results of this command in the domino console:

show stat Database.*

Subject: Traveler - Can’t Start JVM

Essentially this is an out of memory scenario - Traveler runs as a Domino task, so in some cases the Domino Server has allocated substantial Shared memory, which leaves insufficient memory for Traveler to start the JVM. The memory limitation is 2GB total for a 32 bit OS due to the 32 bit addressing architecture. Trying to limit the amount of memory allocated by the Domino server will help. One thing to try is adding this to the notes.ini:

SF_Buffer_Pool_Size_MB=256

Which limits the buffer pool size to 256 MB. I believe 512MB is the default.

Let us know if this helps.

Subject: Traveler - “Can’t start JVM”

That did not solve the issue either.

Thanks for your continuing efforts.

Jeff

Subject: Traveler - “Can’t start JVM”

Hi Corey. Thanks for your response. Sorry for the delay. I was out for a couple of days.

I tried your suggestions.

  1. The NTS_Java_Parms mods to the Notes.ini had no effect.

  2. the VMMap doesn’t work because the traveler.exe is not a running process.

The Domino version is: Lotus Domino (r) Server (Release 8.5FP1 for Windows/32)

The OS is MS Windows Server 2003 Standard Edition with Service Pack 2.

The show stat Database.* command yields:

Database.DAFailoverCount = 0

Database.DARefreshServerInfoCount = 0

Database.DAReloadCount = 0

Database.Database.BufferPool.Maximum.Megabytes = 512

Database.Database.BufferPool.MM.Reads = 0

Database.Database.BufferPool.MM.Writes = 0

Database.Database.BufferPool.Peak.Megabytes = 63

Database.Database.BufferPool.PerCentReadsInBuffer = 92.73

Database.DbCache.CurrentEntries = 50

Database.DbCache.DatabaseLinkEntries = 0

Database.DbCache.HighWaterMark = 50

Database.DbCache.Hits = 49

Database.DbCache.InitialDbOpens = 133

Database.DbCache.Lookups = 521

Database.DbCache.MaxBucketLength = 2

Database.DbCache.MaxEntries = 1536

Database.DbCache.NumBuckets = 1543

Database.DbCache.NumBucketsUsed = 47

Database.DbCache.OvercrowdingRejections = 0

Database.DbCache.Size = 5011

Database.DbOpen.FoundInDbCacheExpanded = 49

Database.DbOpen.FoundInDbCacheUnexpanded = 0

Database.DbOpen.FoundInDBQ.Expanded = 588

Database.DbOpen.FoundInDBQ.Unexpanded = 1026

Database.DbOpen.FoundInDBQ.WithRLock = 1026

Database.DbOpen.FoundInDBQ.WithWLock = 588

Database.DbOpen.FoundLinkInDbCache = 0

Database.DbOpen.InitialDbOpens = 133

Database.DbOpen.NameExpansionsNeeded = 788

Database.DBUCache.MaxEntries = 2560

Database.ExtMgrPool.Peak = 65,406

Database.ExtMgrPool.Used = 151

Database.FileIO.MBRead = 71

Database.FileIO.MBWritten = 2

Database.FileIO.TotalReads = 16462

Database.FileIO.TotalWrites = 778

Database.FreeHandleStack.FreeHandleStackHits = 2358

Database.FreeHandleStack.HandleAllocations = 2747

Database.FreeHandleStack.MissRate = 14

Database.LDAP.NAMELookupBindFailures = 0

Database.LDAP.NAMELookupBinds = 0

Database.LDAP.NAMELookupBytesReceived = 0

Database.LDAP.NAMELookupEntries = 0

Database.LDAP.NAMELookupFailures = 0

Database.LDAP.NAMELookupTotal = 0

Database.LDAP.NAMELookupTotalLookupTime = 0

Database.MonitorPool.Event.Used = 0

Database.MonitorPool.Monitors.Used = 2144

Database.MonitorPool.Size = 41943040

Database.Monitor.Evaluations = 2

Database.Monitor.RegisteredDBs = 2

Database.Monitor.Registered.Current = 2

Database.Monitor.Registered.Peak = 2

Database.Monitor.Registered.Total = 2

Database.NAMELookupCacheCacheSize = 120,808

Database.NAMELookupCacheHashSize = 2,167,619

Database.NAMELookupCacheHits = 242

Database.NAMELookupCacheLookups = 889

Database.NAMELookupCacheMaxSize = 16,777,216

Database.NAMELookupCacheMisses = 213

Database.NAMELookupCacheMisses.ItemMisses = 27

Database.NAMELookupCacheNoHitHits = 434

Database.NAMELookupCachePool.Peak = 3,145,728

Database.NAMELookupCachePool.Used = 2,424,352

Database.NAMELookupCacheResets = 0

Database.NAMELookupCache.ContainerResets = 0

Database.NAMELookupCache.CriticalContainerResets = 0

Database.NAMELookupCache.EligibleContainerResets = 0

Database.NAMELookupMisses = 136

Database.NAMELookupTotal = 620

Database.NAMELookupTotalLookupTime = 0.888

Database.NIFPool.Peak = 1,048,576

Database.NIFPool.Used = 856,992

Database.NIF.ViewRead.Optimized = 196

Database.NIF.ViewRead.Optimized.Failed.AccessCheck = 0

Database.NIF.ViewRead.Optimized.Failed.NavType = 10

Database.NIF.ViewRead.Optimized.Failed.NotFlat = 179

Database.NIF.ViewRead.Optimized.Failed.TmpColl = 0

Database.NIF.ViewRead.Total = 375

Database.NSFPool.Peak = 2,097,152

Database.NSFPool.Used = 1,202,144

Database.NSF.ClusterHashTable.EntriesWithSameIndex = 0

Database.NSF.ClusterHashTable.FreedEntriesOnCleanup = 0

Database.NSF.ClusterHashTable.HashedEntries = 0

Database.NSF.ClusterHashTable.HashIsFull = 0

Database.NSF.ClusterHashTable.MissedHashHits = 0

Database.NSF.ClusterHashTable.SuccessfullHashHits = 0

Database.NSF.Replicate.NotesMergedBack = 0

Database.NSF.Replicate.NotesReceived = 0

Database.NSF.Replicate.NotesReopened = 0

Database.NSF.Replicate.NotesSent = 0

Database.NSF.Replicate.SCR.DbOutOfSync = 0

Database.NSF.Replicate.SCR.DeferredEvent = 0

Database.NSF.Replicate.SCR.DeleteMerge = 0

Database.NSF.Replicate.SCR.Deletions = 0

Database.NSF.Replicate.SCR.DestinationResets = 0

Database.NSF.Replicate.SCR.FolderUpdates = 0

Database.NSF.Replicate.SCR.HeaderUpdates = 0

Database.NSF.Replicate.SCR.MaxQueuedMemoryMB = 0

Database.NSF.Replicate.SCR.NoteUpdateFolderMerge = 0

Database.NSF.Replicate.SCR.NoteUpdates = 0

Database.NSF.Replicate.SCR.PastConserveMem = 0

Database.NSF.Replicate.SCR.PastMaxMem = 0

Database.NSF.Replicate.SCR.SrvDbMatch = 0

Database.NSF.Replicate.SCR.SrvDbOpens = 0

Database.NSF.Replicate.SCR.SrvDbUseLRU = 0

Database.NSF.Replicate.SCR.SrvOutOfSync = 0

Database.NSF.Replicate.SCR.SrvSrcSameDb = 0

Database.NSF.Replicate.SCR.SrvTotalOps = 0

Database.NSF.Replicate.SCR.UnreadUpdates = 0

Database.NSF.Replicate.UnreadMarks.ChunkLookups = 0

Database.NSF.Replicate.UnreadMarks.ChunksScanned = 0

Database.NSF.Replicate.UnreadMarks.ChunksSkimmed = 0

Database.NSF.Replicate.UnreadMarks.DroppedFutureEntries = 0

Database.NSF.Replicate.UnreadMarks.DroppedOldEntries = 0

Database.NSF.Replicate.UnreadMarks.FullReplications = 0

Database.NSF.Replicate.UnreadMarks.LocalMaxChunks = 0

Database.NSF.Replicate.UnreadMarks.LocalUnreadOperations = 0

Database.NSF.Replicate.UnreadMarks.MessagesReceived = 0

Database.NSF.Replicate.UnreadMarks.MessagesSent = 0

Database.NSF.Replicate.UnreadMarks.OperationsReceived = 0

Database.NSF.Replicate.UnreadMarks.OperationsSent = 0

Database.NSF.Replicate.UnreadMarks.UsersActive = 0

Database.NSF.Replicate.UnreadMarks.UsersActiveMax = 0

Database.NSF.SignatureCache.Hits = 3

Database.NSF.SignatureCache.Tries = 53

Database.NSF.UNKS.MemorySaved = 1942698

Database.NSF.UNKS.MemoryUsed = 262144

Database.NSF.UNKS.Shared = 110070

Database.NSF.UNKS.Total = 110070

Database.NTOpen.DesignOpens = 1423

Database.NTOpen.ProfileOpens = 81

Database.NTOpen.Total = 1841

Database.NTUpdate.Adds = 19

Database.NTUpdate.Deletes = 3

Database.NTUpdate.DesignUpdates = 4

Database.NTUpdate.ExpiredSoftDeletes = 0

Database.NTUpdate.ProfileUpdates = 0

Database.NTUpdate.Updates = 24

Database.ObjectContext.PercentReadsInCache = 0.548582995951417

Database.RM.Sys.Logged = Disabled

Database.ViewRegister.Summary.Allocs = 0

Database.ViewRegister.Summary.CurrentUpdates = 0

Database.ViewRegister.Summary.Frees = 0

Database.ViewRegister.Summary.NumRegistered = 33

Database.ViewRegister.Summary.OverallDeRegistrations = 0

Database.ViewRegister.Summary.OverallRegistrations = 33

Database.ViewRegister.Summary.PeakQueueUpdates = 0

Database.ViewRegister.Summary.PeakUpdates = 0

149 statistics found

Subject: Traveler -can’t start JVM

Sorry to here you are still having issues. At this point I think it may be best to open a problem report to get correct level of service for your system. The support team will want to review the server configuration and log files.

http://www-01.ibm.com/support/docview.wss?uid=swg21297416

Here is the support link:

Subject: Traveler -can’t start JVM

OK. When we figure out the solution I will post it here.

Thanks again for the help.

Subject: Wrong NotesProgram path in notes.ini

We had the same problem running notes / traveler 9.0 on Ubuntu 12.04, and we tried variuos things. The solution in the end was the NotesProgram= line in notes.ini. By mistake, it seems some install program is putting in /opt/ibm/lotus/notes/90000/linuxx with 2 x’s at the end. Changing it to …/linux and traveler started.

Subject: Traveler - Can’t start JVM

Basically this is an out of memory scenario. Ensure the system has at least 4 GB of System memory then add /3GB flag to the boot.ini file of the system and reboot.

EX:

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=“Windows Server 2003, Enterprise” /noexecute=optout /fastdetect /3GB

See this technote for additional info:

http://www-01.ibm.com/support/docview.wss?rs=463&uid=swg21257005#IBM%20Lotus%20Recommendations

Subject: Traveler - Can’t start JVM - SOLVED

I worked with IBM on this issue, and they could not really figure it out either. They proposed there was not enough RAM on the server box. But just for fun I spun up a Parallels virtual machine with Windows 2003 server, Domino 8.5 (configured as another server on my Domino domain) and Traveler 8.5. The VM had only 1.25 gigs of RAM, but Domino and Traveler started up on it perfectly. Mind you, the Domino was running minimal services – only those I thought Traveler would need to talk to my main server.

Further, yesterday we downloaded and installed the new Domino and Traveler version 8.5.1, installed them on the original server and Traveler started with no problem.

So, we’re happy all around. Thanks, IBM, for your help and for the new version. We have some iPhone users eager to screw up my day playing with Traveler. :wink:

Subject: Other solutions.

I had this problem as well. MUCH later, with 8.5.2 on Linux. Seems after a lot of digging, a mistaken entry in the notes.ini pointing to the wrong NotesProgram location (/opt/…/85000/… instead of /opt/…/85020/…) seemed to set it right. Note that everything else in domino aside from traveler was working out quite alright despite this, as near as I could tell at least.