facebook

[Closed] Jrun common lib directory (server/lib)

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

    Pangloss14
    Member

    Hi,

    I’m having an issue where it seems I don’t have access to the %JRUN_ROOT%/server/lib directory when I’m running Jrun from inside MyEclipse. In my case, I’m trying to load a JDBC driver but I’m pretty sure this is a general problem that I’m having. However, when I start JRun from outside Eclipse my app runs fine. I’m running JRun 4 with MyEclipse 4.03 on top of Eclipse 3.1.1 and JDK 1.4.2_09. The only option I have for starting Jrun within Eclipse is -Dsun.io.useCanonCaches=false. Outside of Eclipse, I haven’t changed anything.

    Regards,

    John

    #240764 Reply

    Scott Anderson
    Participant

    John,

    I’m having an issue where it seems I don’t have access to the %JRUN_ROOT%/server/lib directory when I’m running Jrun from inside MyEclipse.

    On what do you base that? The inability to load the JDBC driver? If so, you might just need to add the JDBC driver jar to the JRun connector’s classpath on the JRun 4 > Paths preference page. If that doesn’t do it, can you please post all the information we request in the [URL=http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-393.html]Posting Guidelines[/URL] thread at the top of this forum? That will give us some context so we can look deeper.

    #240840 Reply

    Pangloss14
    Member

    Hi Scott,

    Thanks, that did it. But I don’t really understand why that is even necessary given that it works using the same JRun setup outside of MyEclipse. As well, I had no issues running my app with Tomcat 5 inside of MyEclipse (i.e. appending the class path wasn’t necessary).

    Regards,

    John

    #240844 Reply

    Scott Anderson
    Participant

    John,

    Each server is a bit different. In JRun’s case the external startup likely looks at your config, determines if you need a database, and adds the driver. Tomcat just loads everything up automatically. In any case, glad that took care of it.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: [Closed] Jrun common lib directory (server/lib)

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