facebook

No proxy support [Closed]

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #201568 Reply

    support-michael
    Keymaster

    Presently ME 2.7.0 version RC-2 or earlier does not provide explicit proxy support. This is an issue when developing XML files for which the ME DTD cache does not contain the XML file’s DTD. The XML editor will 1st check its DTD cache for the DTD specified by the document. If not found then the DTD is retrieved using its system URL in the DOCTYPE declaration. A firewall may block ME’s access to the public internet when it attempt to retrieve the public verison of the DTD. The result is that code completion and validation will not be available in the XML editor.

    The work-around is to manually retrieve and add the DTD to the ME DTD library. This library is used to prepopulate the XML editor’s DTD cache.

    Steps:

    1) Download the DTD from its public site

    2) Rename the DTD file to the system url with all “:\ ” chars replaced with the “_” char

    Example:
    The DTD for

    <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.0//EN" 
              "http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd"> 

    should be

    http___jakarta.apache.org_struts_dtds_struts-config_1_0.dtd

    3. Copy this file to <myeclipse install>/eclipse/plugins/org.genuitec.eclipse.xmen_2.6.<rc num>00/dtd/

    example for MyEclipse 2.7RC2:
    c:\myeclipse2.7rc2\eclipse\plugins\org.genuitec.eclipse.xmen_2.6.200/dtd

    Planned enhancements for a future ME release include support for proxy servers and DTD library cache management controls add/remove DTDs from ME’s local DTD library.

    Michael
    MyEclipse Support

    #201609 Reply

    HTTPClient by Apache has great proxy support, including NTLM authenticationv for M$ proxies

    #204420 Reply

    Riyad Kalla
    Member

    Michael,
    Is this planned for 2.8, or was it decided that proxy support should be provided by Eclipse?

    Ronald has a good suggestion about HTTPClient, if we can make us of it.

    #205576 Reply

    kitm
    Member

    Michael,

    I was having exactly this problem and found this thread which helped me resolve it. (Thanks!) However, the DTD I was having problems with is http://www.bea.com/servers/wls810/dtd/weblogic810-web-jar.dtd (from weblogic.xml) which is not included in the initial DTD cache even though it looks like an attempt was made to do so.

    The following files are all in <install dir>\MyEclipse\eclipse\plugins\com.genuitec.eclipse.xmen_2.7.1\dtd\:
    http___www.bea.com_servers_wls600_dtd_weblogic-web.dtd
    http___www.bea.com_servers_wls700_dtd_weblogic-web.dtd
    http___www.bea.com_servers_wls810_dtd_weblogic-web.dtd
    *BUT* they do not exist at http://www.bea.com/servers/wls***/dtd/weblogic-web.dtd
    *AND* they don’t contain DTD text, they contain HTML (they look like saved web-pages from BEA)

    I’ve downloaded the actual wls810 web dtd (referenced above) and added it to this directory, but you should update the pre-packaged cache for these DTD files in the next 2.7.* (or 2.8) distribution.

    Cheers,
    -Kit

    #205583 Reply

    Greg
    Member

    kitm,

    Your report has been sent to the ME dev team and they have added a new PR regarding this issue. Thanks for your help.

    #205884 Reply

    petem1030
    Member

    I have this set the same way, but myeclipse will not recognize the DTD. Is there something that I need to do to make it recognize the cache? The error I get references my web project saying that it cannot find the DTD there.

    #205885 Reply

    support-michael
    Keymaster

    Is your problem related to weblogic 8.1 DTD retrieval or is it a more general DTD caching/access issue?

    #212336 Reply

    Riyad Kalla
    Member

    Fixed in 3.8 GA

    #219552 Reply

    I’m running 3.8.2, and still have this problem – with hibernate-mapping-2.0.dtd, which is preloaded in the cache. Any idea why it’s not being found?

    Ray

    #219553 Reply

    Riyad Kalla
    Member

    Can you describe your problem in more detail? Also please provide the important lines from effected XML files and even a sample file so we can attempt to duplicate it here. Also let us know what your environment is (ME version, Eclipse version, OS, firewall, etc.)

    #219554 Reply

    Nevermind – pilot error. I had to configure MyEclipse proxy support in the Internet Tools panel.

    #219555 Reply

    Riyad Kalla
    Member

    Thanks for closing the loop, glad its working.

Viewing 12 posts - 1 through 12 (of 12 total)
Reply To: No proxy support [Closed]

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