- This topic has 7 replies, 2 voices, and was last updated 19 years, 6 months ago by jasondesmarais.
-
AuthorPosts
-
jasondesmaraisMemberI set the Tomcat 4 -> Paths -> Append to library path and still still get a popup message when I start my application as follows:
The dynamic link library Engine.dll could not be found in the specified path
C:\JBuilderX\jdk1.4\bin;.;C:\WINNT\system32;.;C:\WINNT\system32;C:\WINNT;C:\PROGRA~1\Merant\vm\win32\bin;C:\PROGRA~1\Merant\vm\common\bin\win32;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\.entry from com.genuitec.eclipse.easie.tomcat4.prefs
LIBRARY_PATH=”C\:\\JBuilderX\\jdk1.4\\bin;C\:\\jakarta-tomcat-4.1.27\\bin;C\:/partners/IWFWS/v3_9/Server/runtime/eclipse/working”
OPT_LIBRARYPATH1=C\:/partners/IWFWS/v3_9/Server/runtime/eclipse/workingIf I set the path in a command window to include the same directory I added to the library path, Tomcat starts successfully. I could create a batch file and use this to start eclipse, but this would confuse a lot of developers.
set PATH=C:\partners\IWFWS\v3_9\Server\runtime\eclipse\working;%PATH%
call C:\eclipse\eclipse.exeI also tried setting my path to only include the java bin directory and start eclipse and again it does not work.
Any assistance is appreciated.
Environment
Windows 2000 Professional SP 4
Eclipse 3.0.2
MyEclipse 3.8.4
java.library.path=C:\WINNT\system32;.;C:\WINNT\system32;C:\WINNT;C:\PROGRA~1\Merant\vm\win32\bin;C:\PROGRA~1\Merant\vm\common\bin\win32;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\
java.runtime.version=1.4.2_01-b06
Riyad KallaMemberjason,
I would encourage you to simplify your library path such that it ONLY includes the dirs that contain libraries that you need in it. I see quite a few dirs that don’t need to be in there, as well as duplicates. Do you have an environment variable set as well or are you simply listing all the entries under the Paths preferences?
jasondesmaraisMemberI also tried setting my path to only include the java bin directory and starting eclipse. Again it did not work.
I already tried this. Do you have any other ideas?
thank you,
Jason
Riyad KallaMemberYou quoted yourself and said you “already tried it”… I have no doubt you did, you typed that 😀
Were you referring to my post or did you honestly mean the /bin comment?
Also I don’t have any more suggestions for you besides trying a clean workspace, resetting up the tomcat home dir and then adding 1 library path entry at a time until it works.
jasondesmaraisMemberI honestly meant to quote myself.
I believe you are suggesting that I remove as much as possible from my java.library.path. Everything in my java.library.path is from my PATH system variable. I already set my PATH system variable to the minimum (only the java bin directory) and My Eclipse was still not adding the Library Path entry to my library path in Tomcat. I will try setting up a new workspace and see if that works.
Riyad KallaMemberWait, I want you to try something else (it hink there might be a bug in some cases going on with the library path):
1) Makes sure your Tomcat Paths settings look good, meaning the 2 classpath boxes are empty and in the bottom library path box you just have 2 entries, hit OK
2) Go to <eclipse dir>\workspace\.metadata\.plugins\org.eclipse.core.runtime\.settings directory and open the file named “com.genuitec.eclipse.easie.tomcat5.prefs”, paste the contents here for me to look at. This may shed some light on the way the library paths are being processed.Another thread related to this here: https://www.genuitec.com/forums/topic/myeclipse-not-picking-up-tomcat-library-path/#post-228670
jasondesmaraisMemberI’m using Tomcat 4, so these are from the file “com.genuitec.eclipse.easie.tomcat4.prefs”
LIBRARY_PATH=”C\:\\JBuilderX\\jdk1.4\\bin;C\:\\jakarta-tomcat-4.1.27\\bin;C\:/partners/IWFWS/v3_9/Server/runtime/eclipse/working”
OPT_LIBRARYPATH1=C\:/partners/IWFWS/v3_9/Server/runtime/eclipse/working
jasondesmaraisMemberI also noticed that Tomcat only loads the libraries if the opt_librarypath1 entry is in both my DOS path before I start Eclipse and in the MyEclipse Tomcat library path. If the entry is in only one of the two paths, my application does not work.
-
AuthorPosts