facebook

Problem using Resin 3.0.9 [Closed]

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #217294 Reply

    cdtuck
    Member

    – System Setup ——————————-
    Operating System and version: Windows XP SP2
    Eclipse version: 3.0.0
    Eclipse build id: 200406251208
    Fresh Eclipse install (y/n): yes
    If not, was it upgraded to its current version using the update manager? no
    Other installed external plugins: None
    Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*: 8
    MyEclipse version: EnterpriseWorkbenchInstaller_030802.exe
    Eclipse JDK version: 1.5.0
    Application Server JDK version: 1.5.0
    Are there any exceptions in the Eclipse log file? no

    I’m not normally a Resin user but in trying to use it with the above version of MyEclipse I get the following error on startup (Using the Run/Stop Servers drop down):
    Pop up dialogue with “Could not find main class. Program will exit.”
    Console has: java.lang.NoClassDefFoundError: com/rc/retroweaver/runtime/ClassLiteral
    at com.caucho.util.L10N.<clinit>(L10N.java:45)
    at com.caucho.server.resin.Resin.<clinit>(Resin.java:58)
    Exception in thread “main”

    I can start up the webserver fine by running httpd.exe directly. I can then also access the app that I have deployed from Myeclipse.

    Seems like something pretty fundamental is wrong, maybe an essential configuration step? Any ideas?

    thanks,

    Chris

    #217312

    Scott Anderson
    Participant

    Chris,

    Can you try running Eclipse and Resin with JDK 1.4.2? I don’t believe that either are tested on JDK 1.5.0 yet.

    #218214

    Dennie
    Member

    Exact same situation here. I am using JDK 1.4.2_04.

    Greetz Dennie

    #218220

    Scott Anderson
    Participant

    Dennie,

    Resin 3.0.9 changed their launch model a little bit. Simply navigate to Window > Preferences > MyEclipse > Application Servers > Resin 3 > Paths and append retroweaver.jar (from the resin lib dir) to the classpath. The server will then start correctly.

    Also, we have a nice Application Server Configuration Quickstart, available here:
    http://www.myeclipseide.com/images/tutorials/quickstarts/appservers/

    #218229

    Dennie
    Member

    Yes that solved my problem. Thank you! It’s really nice to have the application server integrated in eclipse. I checked the quickstart manual but it didn’t give me the answer.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Problem using Resin 3.0.9 [Closed]

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