- This topic has 24 replies, 5 voices, and was last updated 18 years, 8 months ago by
Riyad Kalla.
-
AuthorPosts
-
skamisetMemberHi,
I am having hard time configuring Resin 2.1 with MyEclipse 3.7.2. I added
JDK path, added resin/bin to library path. I keep getting “dynamic link library LIBEAY32.dll not found ……”, I checked bin directory dll file is there.I will appreciate your help very much.
Srini
Scott AndersonParticipantSrini,
You’ll need to add the bin directory that contains the dll to the java library path for the connector at Window > Preferences > MyEclipse > Application Servers > Resin 2 > Paths for it to be found. More information about this specifically is in the Resin 2 FAQ here:
http://www.myeclipseide.com/FAQ+index-myfaq-yes-id_cat-25.htmlMore information on application server setup in general is available in our Application Server Quickstart in the Documentation section here: http://www.myeclipseide.com/ContentExpress-display-ceid-67.html
skamisetMemberHi Thank you reply,
But as I mentioned in my post I already added Resin/bin to my library path but still getting same error
-Srini
Scott AndersonParticipantSrini,
In your first post it wasn’t clear to me that you added the bin directory on the connector preference page I referenenced and not to your external environment’s java library path. It must be configured in the connector page to work as the external path is ignored at runtime. Also, please reverify that you added the directory, not the file itself, to the library path and not to the classpath.
Johannes de JongMemberI’m having the same problem.
– I use Eclipse 3.1 M4
– I use MyEclipse 3.8.4-BethaFor3.1
– I run Resin 2.1.14
– I added the bin directory to the library path. I still get the same problem.
– I do not get the problem when I start resin outside Eclipse.Thanks
– Upgrading Resin is NO option my provider won’t upgrade for awhile.
–
tenjinMemberHi,
I’m having the same problem.
I have:
Eclipse 3.2
MyEclipseIDE 5.0.1GA_3.2
Resin2.1.17There is no LIBEAY32.DLL in the <resin>/bin directory. Should there be?
I have to get this working with Resin 2.1.x as my hosting provider will not upgrade.
Please let me know how to fix this.
Regards
Darren.
tenjinMemberHi,
I have a fix of sorts:
Go here:
http://wiki.caucho.com/Openssl
Download and install the SSL implementation and copy the DLLs as directed. This will remove the DLL errors.
However, if you are using a Sun JDK 5.0 release you will just get another error about logging.
Read this thread for a fix to that (note: I haven’t tried this bit yet!):
Regards
Darren.
tenjinMemberHi,
Okay, I’ve tried it and it did fix the logging problem.
However, now I get the following error when I try to view my JSP:
“500 Servlet Exception
Resin can’t load sun.tools.javac.Main. Usually this means that the JDK
tools.jar is missing from the classpath, possibly because of using a JRE
instead of the JDK. You can either add tools.jar to the classpath or change
the compiler to an external one with <java compiler=’javac’/> or jikes.java.lang.ClassNotFoundException: sun/tools/javac/Main”
FYI, this is a simple MyEclipseIDE default JSP with just boilerplate text in it.
I am using:
Eclipse 3.2
MyEclipseIDE 5.0.1GA_3.2
Resin2.1.17
JDK 5.0 (1.5.0_06)I’ve tried adding the tools.jar to the classpath in WINDOW->PREFERENCES->MYECLIPSE->APPLICATIONSERVERS->Resin2->Paths but that didn’t work.
Any ideas?
Cheers
Darren.
Riyad KallaMemberDarren,
Are you *sure* you are launching Resin with a JDK and not a JRE? (Double check that the configured path isn’t to something like C:\jdk1.5.0_06\jre instead of the top level JDK dir).
tenjinMemberHi,
Yes, just double checked. In fact, if I set it back to the JRE I get a warning box pop up on the screen saying it needs a JDK.
When set back to the JDK this message disappears.
Is there any other diagnostic information I can supply?
Any ideas what might be causing this problem?
Cheers
Darren.
Riyad KallaMemberWhat does the startup log for Resin look like?
tenjinMemberHi,
Hmmm……. I’ve just checked again and now I’m not sure.
I have Java installed in D:\PROGRAM FILES\JAVA
Would the space cause a problem?
Also, it looks like the IDE is picking up the JRE libraries but not the SDK libraries? Have a look at this image:
I have tried adding the D:\PROGRAM FILES\JAVA\LIB jars to the JDK libraries but that didn’t work.
Any ideas?
Cheers
Darren.
” alt=””>
Riyad KallaMemberHeck, let’s try something easy, just click that “Add External JARs” button and go add tools.jar to that list, then try that. The bottom line is that Tools isn’t in your boot classpath, so there are multiple ways to fix that. Lets’ try them in the order of easiest to hardest 🙂
tenjinMemberHi,
I added tools.jar but that didn’t help.
Any ideas?
Cheers
Darren.
tenjinMemberHi,
Could the fix in this thread have caused the classpath problem –
Cheers
Darren.
-
AuthorPosts