- This topic has 9 replies, 5 voices, and was last updated 15 years, 7 months ago by Loyal Water.
-
AuthorPosts
-
jeevankcMemberHi,
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
Scott AndersonParticipantjee,
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.htmlFor configuring WebSphere 5.1’s logging to work with MyEclipse properly, please see this:
http://www.myeclipseide.com/Articles/WebSphere5.1LogConfiguration/WAS5.1LogConfiguration.htmlWe 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/
jeevankcMemberScott,
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
Scott AndersonParticipantjee,
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.
bansiMemberHi 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.comRegards
Bansi
Scott AndersonParticipantBansi,
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” xsi:noNamespaceSchemaLocation=”http://xmlns.oracle.com/oracleas/schema/application-server-10_1.xsd” 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”
pramodpMemberHi 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
Loyal WaterMemberPramod,
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/
pramodpMemberThank 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?
Loyal WaterMemberHi,
On the New Deployment window you can select the “Custom Location” option and type in the path if the server is on the network. -
AuthorPosts