facebook

Application Deployment on remote server

  1. MyEclipse Archived
  2.  > 
  3. Documentation
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #234737 Reply

    jeevankc
    Member

    Hi,
    I’m using Eclipse 3.01, MyEclipse 3.8. and using Websphere5.1 as my Application Server (running on AIX – IBM P Series box).
    I found difficult deploying application on a remote application server (websphere5.1).
    I would be grateful if you could give me the solution.
    so that our team will deploy their application from their workstation itself .

    Thanx in advance…

    jee

    #234762 Reply

    Scott Anderson
    Participant

    jee,

    For truly remote deployments, please read our Remote Debugging Quickstart here:
    http://myeclipseide.com/enterpriseworkbench/help/index.jsp?topic=/com.genuitec.myeclipse.doc/html/quickstarts/remotedebugging/index.html

    For configuring WebSphere 5.1’s logging to work with MyEclipse properly, please see this:
    http://www.myeclipseide.com/Articles/WebSphere5.1LogConfiguration/WAS5.1LogConfiguration.html

    We also have a tutorial that gives a full rundown on explicitly how to use MyEclipse with WebSphere 6. The steps for 5.1 are the same, but the WebSphere console UI has changed a bit. Still, you should be able to figure out whats required by reading this:
    http://www.myeclipseide.com/images/tutorials/quickstarts/websphere6/

    #234887 Reply

    jeevankc
    Member

    Scott,
    Thanx for your immediate response. I have gone through all the documents which you refered in your reply.

    http://www.myeclipseide.com/images/tutorials/quickstarts/websphere6/

    The above URL clearly stated that MyEclipse does not currently support application deployment to remote application servers.

    Does the latest release MyEclipse 4.0 support the my requirement , if so pls let me know.

    I would be grateful if you let me know when this can be shortout.

    Thanx in advance,

    jee

    #234949 Reply

    Scott Anderson
    Participant

    jee,

    You can deploy to a remote server by using the <External Server> target in the deployment manager dialog. How to do this is covered in the Remote Debugging Quickstart, which is the first link I sent.

    #244785 Reply

    bansi
    Member

    Hi Scott
    From the above messages i see you helping someone with a similar issue. But mine is with Oracle 10g AS . Wondering if it is feasible to deploy j2ee application from MyEclipse to remote 10g AS as i really love MyEclipse i dont wanna use JDeveloper.
    Any pointers/suggestions would be highly appreciated
    Pl mail me at mail2bansi@yahoo.com

    Regards
    Bansi

    #244900 Reply

    Scott Anderson
    Participant

    Bansi,

    Yes, you can do remote deployment and debugging using the same target and techniques shown in the Remote Debugging quickstart I
    referenced earlier. The basics are all layed out in the quickstart.

    There is a little “tweaking” in the Oracle case that is needed. You simply change the server.xml configuration file to add support for an “automatic deployment” directory that MyEclipse can use for deployment.

    The file is server.xml, located under the install in j2ee\home\config:

    <application-server xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance&#8221; xsi:noNamespaceSchemaLocation=”http://xmlns.oracle.com/oracleas/schema/application-server-10_1.xsd&#8221; application-directory=”../applications”
    check-for-updates=”adminClientOnly”
    application-auto-deploy-directory=”../application-autodeploy” <!– ADD THIS LINE –>
    deployment-directory=”../application-deployments”
    connector-directory=”../connectors”
    schema-major-version=”10″ schema-minor-version=”0″ >

    If you’re using the developer preview release of 10.1.3, you can also enable source-level JSP debugging (Oracle 10.1.2 does not support it as it’s new for 10.1.3). If you download developer preview 4 (10.1.3DP4) you can modify j2ee/home/config/global-web-application.xml to contain:
    <servlet>
    <servlet-name>jsp</servlet-name>
    <servlet-class>oracle.jsp.runtimev2.JspServlet</servlet-class>
    <init-param>
    <param-name>debug</param-name>
    <param-value>true</param-value>
    </init-param>
    </servlet>

    Finally, remember the following when using Oracle:
    1) It only deploys at startup and doesn’t look for new deployments
    2) It only recognizes packaged EAR EAR deployments, now WARs or exploded
    3) The port it runs on is 8888
    4) Sometimes you need to re-add the breakpoints after the server is running to have them installed properly. This seems to be an “Oracle thing”

    #291064 Reply

    pramodp
    Member

    Hi Scott,
    Could you please let me know if the links for Remote Deployment help is still available? When I am trying to view the links available in this topic, I am getting a page not found error.

    Thanks in advance!
    -Pramod

    #291403 Reply

    Loyal Water
    Member

    Pramod,
    You will have to select “custom location” in the Project Deployment Wizard dropdown and key in the location manually.

    This is the link to the remote debugging tutorial incase you were looking for it:-
    http://www.myeclipseide.com/documentation/quickstarts/remotedebugging/

    #297672 Reply

    pramodp
    Member

    Thank you Nipun. I had looked at the document, but it seems like it is specific to app servers installed in windows machine. How do we remote deploy to a unix JBoss server? How do we specify the deploy location?

    #297722 Reply

    Loyal Water
    Member

    Hi,
    On the New Deployment window you can select the “Custom Location” option and type in the path if the server is on the network.

Viewing 10 posts - 1 through 10 (of 10 total)
Reply To: Application Deployment on remote server

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