Open GoogleCodeExporter opened 9 years ago
mhm - tried the same at workstations from my colleagues and all went fine. They
use
same OS, Same Java runtime, same Lotus Notes same .bat file and it works.
So something wrong with settings on my machine...
Original comment by magnet...@gmail.com
on 15 Nov 2009 at 5:18
I also am having this issue. Any suggestions? I am on Win7; Notes 7; local
notes is
located in "C:\Program Files (x86)\lotus\notes\"
Original comment by kevinmcheung
on 11 Dec 2009 at 12:07
I am also having this problem. WinXP. Path value is:
PATH=C:\Program
Files\DominoForOutlook\;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Pro
gram
Files\Common Files\Roxio Shared\DLLShared\;c:\Program
Files\Hummingbird\Connectivity\9.00\Accessories\;C:\Program
Files\QuickTime\QTSystem\;C:\Apps\Notes;C:\Apps\Notes
As you can see, C:\Apps\Notes is in the path, and that's where notes.exe is.
Original comment by gamitte...@gmail.com
on 2 Mar 2010 at 4:22
Hi,
I am it on Mac OS 105.8 with Notes 8.5. I get the following error on not
finding the local notes
installation. I would highly appreciate any ideas.
Start notes-to-google to google-to-notes synchronization.
de.bea.domingo.service.NotesServiceRuntimeException: Local Notes installation
not found. Please ensure that
your Notes installation directory is in the system path.
at de.bea.domingo.service.NotesServiceFactory.invoke(NotesServiceFactory.java:382)
at de.bea.domingo.service.NotesServiceFactory.createSession(NotesServiceFactory.java:255)
at de.bea.domingo.service.NotesServiceFactory.getSession(NotesServiceFactory.java:161)
at com.googlecode.syncnotes2google.Factory.getNotesSession(Factory.java:45)
at com.googlecode.syncnotes2google.Factory.getMailDatabase(Factory.java:99)
at com.googlecode.syncnotes2google.dao.NotesCalendarDAO.getFirstEntry(NotesCalendarDAO.java:38)
at com.googlecode.syncnotes2google.SyncService.executeSync(SyncService.java:14)
at com.googlecode.syncnotes2google.SyncNotes2Google.main(SyncNotes2Google.java:23)
Caused by: de.bea.domingo.proxy.NotesProxyRuntimeException: Local Notes
installation not found. Please
ensure that your Notes installation directory is in the system path.
at de.bea.domingo.proxy.NotesProxyFactory.getSession(NotesProxyFactory.java:394)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at de.bea.domingo.service.InvocationTask.run(InvocationTask.java:102)
at de.bea.domingo.threadpool.SimpleThreadPool.run(SimpleThreadPool.java:369)
at de.bea.domingo.proxy.DNotesThread.run(DNotesThread.java:244)
Caused by: java.lang.UnsatisfiedLinkError:
lotus.domino.local.Session.NCreateSession(I)I
at lotus.domino.local.Session.NCreateSession(Native Method)
at lotus.domino.local.Session.createSession(Unknown Source)
at lotus.domino.NotesFactory.createSession(Unknown Source)
at de.bea.domingo.proxy.NotesProxyFactory.getSession(NotesProxyFactory.java:383)
... 7 more
------
Thanks,
Ln
Original comment by lakshmin...@gmail.com
on 3 Mar 2010 at 10:48
Original comment by henols
on 23 Mar 2010 at 10:28
I'm geting the same. MacOS 10.5.8. Java SE 6.
Cannot run Java in 32 bit mode. Continuing in 64 bit mode.
SyncNotes2Google has started.
Start notes-to-google to google-to-notes synchronization.
de.bea.domingo.service.NotesServiceRuntimeException: Local Notes installation
not
found. Please ensure that your Notes installation directory is in the system
path.
at de.bea.domingo.service.NotesServiceFactory.invoke(NotesServiceFactory.java:382)
at
de.bea.domingo.service.NotesServiceFactory.createSession(NotesServiceFactory.jav
a:255)
at de.bea.domingo.service.NotesServiceFactory.getSession(NotesServiceFactory.java:161)
at com.googlecode.syncnotes2google.Factory.getNotesSession(Factory.java:45)
at com.googlecode.syncnotes2google.Factory.getMailDatabase(Factory.java:99)
at
com.googlecode.syncnotes2google.dao.NotesCalendarDAO.getFirstEntry(NotesCalendar
DAO.java:39)
at com.googlecode.syncnotes2google.SyncService.executeSync(SyncService.java:14)
at com.googlecode.syncnotes2google.SyncNotes2Google.main(SyncNotes2Google.java:23)
Caused by: de.bea.domingo.proxy.NotesProxyRuntimeException: Local Notes
installation
not found. Please ensure that your Notes installation directory is in the
system path.
at de.bea.domingo.proxy.NotesProxyFactory.getSession(NotesProxyFactory.java:394)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at de.bea.domingo.service.InvocationTask.run(InvocationTask.java:102)
at de.bea.domingo.threadpool.SimpleThreadPool.run(SimpleThreadPool.java:369)
at de.bea.domingo.proxy.DNotesThread.run(DNotesThread.java:244)
Caused by: java.lang.UnsatisfiedLinkError:
lotus.domino.local.Session.NCreateSession(I)I
at lotus.domino.local.Session.NCreateSession(Native Method)
at lotus.domino.local.Session.createSession(Unknown Source)
at lotus.domino.NotesFactory.createSession(Unknown Source)
at de.bea.domingo.proxy.NotesProxyFactory.getSession(NotesProxyFactory.java:383)
... 7 more
-------
I have also put the directory which contains the Notes.jar in the PATH
variable, it
still doesn't work -
PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Applications/Not
es.app/Contents/MacOS/jvm/lib/ext
Original comment by jan.ho...@gmail.com
on 8 Apr 2010 at 11:53
I instead am trying to execute it with the following:
java -d32 -Djava.library.path "/Applications/Notes.app/Contents/MacOS"
-classpath
"/Applications/Notes.app/Contents/MacOS/jvm/lib/ext/Notes.jar:./syncnotes2google
.jar:./lib/domingo-1.5.1.jar:./lib/gdata-calendar-2.0.jar:./lib/gdata-calendar-m
eta-2.0.jar:./lib/gdata-client-1.0.jar:./lib/gdata-client-meta-1.0.jar:./lib/gda
ta-core-1.0.jar:./lib/gdata-media-1.0.jar:./lib/google-collect-1.0-rc1.jar"
com.googlecode.syncnotes2google.SyncNotes2Google
This give me the NoClassDefFoundError:
Exception in thread "main" java.lang.NoClassDefFoundError:
Caused by: java.lang.ClassNotFoundException:
.Applications.Notes.app.Contents.MacOS
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:310)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
------
SO... notice the lines
/Applications/Notes/app/Contents/MacOS (Wrong)
AND
.Applications.Notes.app.Contents.MacOS (Also wrong)
The correct path is written properly in the command and I even enclosed it in
quotes:
"/Applications/Notes.app/Contents/MacOS"
It's time to give up on this tool and try something else.
Original comment by jan.ho...@gmail.com
on 8 Apr 2010 at 3:00
I'm not convinced if this is the right place to post my solution, but on my
Win7
(64bit) I encounterd the same problems. Here als my solution. I needed to
install 32-
Bit Java and adopt the execution in the syncnotes2google.bat file in the
following
way now it's working again like a charme! I really love this tool!
"C:\Program Files (x86)\Java\jre6\bin\java.exe" -classpath
.;"C:/IBM/Lotus/Notes/jvm/lib/ext/Notes.jar";./syncnotes2google.jar;./lib/doming
o-
1.5.1.jar;./lib/gdata-calendar-2.0.jar;./lib/gdata-calendar-meta-2.0.jar;./lib/g
data-
client-1.0.jar;./lib/gdata-client-meta-1.0.jar;./lib/gdata-core-1.0.jar;./lib/gd
ata-
media-1.0.jar;./lib/google-collect-1.0-rc1.jar -Dhttp.proxyHost=XXXXXX -
Dhttp.proxyPort=8080 -Dhttps.proxyHost=XXXXXX -Dhttps.proxyPort=8080
com.googlecode.syncnotes2google.SyncNotes2Google
Original comment by swis...@gmail.com
on 13 Apr 2010 at 7:58
I had the same problem under Linux
there you have to add to LD_LIBRARY_PATH the same path as to the PATH
environment
variable (the lotus notes install directory) :
notesPath=/opt/ibm/lotus/notes
...
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$notesPath
Original comment by patrick....@gmail.com
on 16 Apr 2010 at 1:02
I am also on Mac OSX with 32bit and 64bit Java installed. Sync wont work with
64bit,
you get this "lotus notes installation not found" error. You have to run the
Java
configuration and set the topmost version to Java 5, 32bit.
I need to run other applications with Java 6, 64bit, because they wont work on
Java
5, 32bit - So, I have to switch Java's before I sync. I have always hated Java
(not
the concept, but the implementation) and it's not getting any better.
Original comment by jan.ho...@gmail.com
on 17 May 2010 at 8:55
I had the same problem, I didn't found the right way to change the PATH to get
this package working. But if you simply copy your *.class in the notes
directory (for me, c:\lotus\notes), it will work. The problem is that I have to
copy these files every times I run my project in my notes directory, so I wrote
a small Batch-file to do that.
cd "C:\lotus\notes"
set CLASSPATH=%CLASSPATH%;C:\jdk\lib\domingo-1.5.1.jar
set CLASSPATH=%CLASSPATH%;C:\jdk\lib\Notes.jar
copy C:\EclipseWS\JEE\GUITest\bin\*.* C:\lotus\notes\*.*
java SimpleFrame
Original comment by alex.ser...@gmail.com
on 9 Aug 2010 at 9:46
Comment #08 worked for me; I had to start java from my java installation
directory.
"C:\Program Files (x86)\Java\jre6\bin\java" -classpath <TRUNCATED>
Original comment by ksou...@gmail.com
on 7 Sep 2010 at 3:53
[deleted comment]
It's most likely that "notes.exe" is not in your path or is set incorrectly.
The first test here is to run Notes from the command line, by typing "notes"
(without the quotes). If that launches Notes, then the problem is else.
Original comment by jeffrey....@sanlam.co.za
on 15 Jun 2011 at 1:51
Hi,
I run:
Win7 64 bit.
Notes 8.5
path c:\notes
I have the following error:
D:\Tools\syncnotes2google-0.0.5>syncnotes2google.bat
SyncNotes2Google has started.
Start notes-to-google to google-to-notes synchronization.
de.bea.domingo.service.NotesServiceRuntimeException: Local Notes installation no
t found. Please ensure that your Notes installation directory is in the system p
ath.
However:
C:\notes>dir/s notes.exe
Volume in drive C is SYSTEM
Volume Serial Number is 0A6F-023A
Directory of C:\notes
29/09/09 12:28 890,248 notes.exe
1 File(s) 890,248 bytes
Total Files Listed:
1 File(s) 890,248 bytes
0 Dir(s) 74,203,734,016 bytes free
Here is my .bat file:
set notes-path=C:\notes
set notes-jar=\jvm\lib\ext\Notes.jar
Could you suggest please what may be the issue?
Original comment by zagwal...@gmail.com
on 29 Jun 2011 at 8:56
I got the same issue and manage to resolve.
Resolution:
My syncnotes2google.bat:
@echo off
rem The path to the notes installation
set notes-path=C:\notes
rem The relative path to the Notes.jar from the notes installation. ex.
Notes.jar or jvm/lib/ext/Notes.jar
set notes-jar=\jvm\lib\ext\notes.jar
set cPath=%CLASSPATH%;.\syncnotes2google.jar
set cPath=%cPath%;"%notes-path%\%notes-jar%"
set cPath=%cPath%;.\lib\domingo-1.5.1.jar
set cPath=%cPath%;.\lib\gdata-calendar-2.0.jar
set cPath=%cPath%;.\lib\gdata-calendar-meta-2.0.jar
set cPath=%cPath%;.\lib\gdata-client-1.0.jar
set cPath=%cPath%;.\lib\gdata-client-meta-1.0.jar
set cPath=%cPath%;.\lib\gdata-core-1.0.jar
set cPath=%cPath%;.\lib\gdata-media-1.0.jar
set cPath=%cPath%;.\lib\google-collect-1.0-rc1.jar
set path=%path%;%notes-path%
"C:\Program Files (x86)\Java\jre6\bin\java" -classpath %cPath%
com.googlecode.syncnotes2google.SyncNotes2Google
pause
My sync.properties:
#Google information
# Google account email
google.account.email=***@gmail.com
# Google account password
google.account.password=*****
# Google calendar name to sync with
google.calendar.name=Calendar
# Google default reminder time
google.calendar.reminderminutes=15
#Notes information
# Notes File/Preferences/Location Preferences.../Servers/'Home/mail server', if
there are \ in the path replace them with /
notes.domino.server=
# Notes File/Preferences/Location Preferences.../Mail/'Mail file', if there are
\ in the path replace them with /
notes.mail.db.file="full patch to your local nsf file"
#Sync information
# Valid directions notes-to-google (default), google-to-notes ,bi-direction
sync.direction=notes-to-google
# Number of days (ex. 15d) or month (ex. 2m) back in time, default 14 days
sync.start=7d
# Number of days(ex. 15d) or month (ex. 2m) in the future, default 3 month
sync.end=1m
Started the bat file afterwards and calender is now in sync.
Original comment by Hoffmann...@gmail.com
on 31 Jan 2012 at 10:37
Thanks Hoffmann.
This fixed my same problem too, except I had to find the different path for my
java.exe and replace "[\Java\jre6\bin\] with my path, as different versions
java will place the java.exe in different locations.
Now my calendar is also in sync. again.
Original comment by stephenf...@gmail.com
on 1 Feb 2012 at 11:25
Thanks for all the great comments!!!
Between this q/a thread and a couple of the other one's I did get mine to work.
I was unable to have the events sync with a "unique" calendar i.e. one called
Lotus. But this does work now, syncing my events to my google calendar!
Original comment by chad.ken...@gmail.com
on 25 Jul 2012 at 2:35
Comment 16 by Hoffman was extremely helpful. Apparently on a 64 bit version of
Windows 7, you must specify the full path the Java.exe.
Thanks!
Original comment by rucas...@gmail.com
on 13 Dec 2012 at 2:41
Original issue reported on code.google.com by
magnet...@gmail.com
on 9 Nov 2009 at 6:29Attachments: