facebook

[Closed] Help with Resin 2.1 configuration

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 15 posts - 1 through 15 (of 25 total)
  • Author
    Posts
  • #223976 Reply

    skamiset
    Member

    Hi,

    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

    #223977 Reply

    Scott Anderson
    Participant

    Srini,

    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.html

    More 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

    #223980 Reply

    skamiset
    Member

    Hi 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

    #223994 Reply

    Scott Anderson
    Participant

    Srini,

    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.

    #224335 Reply

    I’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.

    #258638 Reply

    tenjin
    Member

    Hi,

    I’m having the same problem.

    I have:

    Eclipse 3.2
    MyEclipseIDE 5.0.1GA_3.2
    Resin2.1.17

    There 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.

    #258639 Reply

    tenjin
    Member

    Hi,

    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!):

    http://tinyurl.com/khqhn

    Regards

    Darren.

    #258640 Reply

    tenjin
    Member

    Hi,

    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.

    #258665 Reply

    Riyad Kalla
    Member

    Darren,
    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).

    #258669 Reply

    tenjin
    Member

    Hi,

    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.

    #258672 Reply

    Riyad Kalla
    Member

    What does the startup log for Resin look like?

    #258673 Reply

    tenjin
    Member

    Hi,

    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=””>

    #258693 Reply

    Riyad Kalla
    Member

    Heck, 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 🙂

    #258707 Reply

    tenjin
    Member

    Hi,

    I added tools.jar but that didn’t help.

    Any ideas?

    Cheers

    Darren.

    #258708 Reply

    tenjin
    Member

    Hi,

    Could the fix in this thread have caused the classpath problem –

    http://tinyurl.com/khqhn

    Cheers

    Darren.

Viewing 15 posts - 1 through 15 (of 25 total)
Reply To: [Closed] Help with Resin 2.1 configuration

You must be logged in to post in the forum log in