muhammadnaveed / syncnotes2google

Automatically exported from code.google.com/p/syncnotes2google
0 stars 0 forks source link

can't find Notes Installation #99

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi have a problem with my bat file and need help :(

Here is the error message:

SyncNotes2Google has started.
Start notes-to-google to google-to-notes synchronization.
de.bea.domingo.service.NotesServiceRuntimeException: Notes Installation nicht 
gefunden. 
Bitte stellen Sie sicher, da▀ das Verzeichnis der lokalen Notes-Installation 
in der 
Umgebungsvariable PATH aufgenommen ist.
        at de.bea.domingo.service.NotesServiceFactory.invoke(NotesServiceFactory
.java:382)
        at de.bea.domingo.service.NotesServiceFactory.createSession(NotesService
Factory.java:255)
        at de.bea.domingo.service.NotesServiceFactory.getSession(NotesServiceFac
tory.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(No
tesCalendarDAO.java:39)
        at com.googlecode.syncnotes2google.SyncService.executeSync(SyncService.j
ava:14)
        at com.googlecode.syncnotes2google.SyncNotes2Google.main(SyncNotes2Googl
e.java:23)
Caused by: de.bea.domingo.proxy.NotesProxyRuntimeException: Notes Installation n
icht gefunden. Bitte stellen Sie sicher, da▀ das Verzeichnis der lokalen 
Notes-I
nstallation in der Umgebungsvariable PATH aufgenommen ist.
        at de.bea.domingo.proxy.NotesProxyFactory.getSession(NotesProxyFactory.j
ava:394)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        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.NCreateSes
sion(I)J
        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.j
ava:383)
        ... 7 more
C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\Wind
owsPowerShell\v1.0\;c:\Program Files\ThinkPad\Bluetooth Software\;c:\Program Fil
es\ThinkPad\Bluetooth Software\syswow64;C:\Program Files (x86)\Lenovo\Access Con
nections\;C:\Program Files (x86)\IBM\Lotus\Notes
;.\syncnotes2google.jar;"C:\Program Files (x86)\IBM\Lotus\Notes\jvm\lib\ext\Note
s.jar";.\lib\domingo-1.5.1.jar;.\lib\gdata-calendar-2.0.jar;.\lib\gdata-calendar
-meta-2.0.jar;.\lib\gdata-client-1.0.jar;.\lib\gdata-client-meta-1.0.jar;.\lib\g
data-core-1.0.jar;.\lib\gdata-media-1.0.jar;.\lib\google-collect-1.0-rc1.jar

And here is my bat File:
@echo off
rem The path to the notes installation
set notes-path=C:\Program Files (x86)\IBM\Lotus\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%

cd %~dp0
java -classpath %cPath% com.googlecode.syncnotes2google.SyncNotes2Google

echo %path%

echo %cPath%

pause

It would be great if someone could help me.

Thank you very much

Original issue reported on code.google.com by Gerlach....@googlemail.com on 14 Mar 2012 at 9:49

GoogleCodeExporter commented 9 years ago
Same problem here.

Original comment by johannes...@gmail.com on 11 Jan 2013 at 6:47

GoogleCodeExporter commented 9 years ago
I have the same problem, but I can see we might have an issue running 64 bit 
version.
I have a new Notes 9.0.1 installation and I have tweaked the NotesPath variable 
to be in 8.3 format (C:\PROGRA~2\IBM\Notes) and also added it to Path 
environment variable (so its becomes part of the first 250 chars).
It seems not to help.

I am running Window 7 64 Bit Enterprise version.
I would be interested in a solution too.

Original comment by peter.ro...@gmail.com on 31 May 2014 at 6:40