facebook

Administrator rights and web server deployment in MyEclipse

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #344834 Reply

    WillG
    Member

    Hello,

    I am chasing down some information regarding the need for administrator rights on a local machine when using MyEclipseBlue, in particular for deployment of applications to a was7 server development environment. Our users have been requesting admin rights to get around some issues they have seen during deployment and I wanted to know if this was normal or if there is something we need to address in the settings or perhaps installation procedure. The issues they are seeing are as follows.

    It may be the intent that admin rights are not required to use MyEclipse Blue and it is true there are workarounds but, without admin rights, it is problematic to use rapid exploded deployment to our local WAS7 servers. I have seen no issues when deploying using the admin console, when using rapid deployment without admin rights however, we have seen the following issues:

    1. After application deployment, the status of the application in the server view is “Redeploy”. Redeploying the application at this point produces the desired status of “OK”.
    2. While removing deployment you get an error message saying the removal was unsuccessful and the app is still listed in the server view. If at this point, you look at your workspace with Windows explorer the application is not there. At this point you cannot deploy the app because MyEclipse thinks it is still deployed. If you restart MyEclipse, the application is gone from the server view and then you can deploy again.

    Neither of these issues happens if you have admin rights to your machine.

    Thanks in advance.
    Will

    #344855 Reply

    support-swapna
    Moderator

    Will,

    Firstly WebSphere configured to run as a Windows service requires appropriate permissions to be started. Secondly the deployment location is in Program Files, which is protected. MyEclipse needs to copy deployment files to a directory within WebSphere server and fails because of insufficient rights.

    MyEclipse has to have appropriate rights, so that it can copy the files and start the service.
    You may try to experiment with the settings, also please check the .log file which is located at <workspace dir>/.metadata/.log for any errors of interest.

    Let us know if you see any issues or have any questions.

    #344938 Reply

    WillG
    Member

    Thanks for the information. We will start looking there.

    #345379 Reply

    alivanalli
    Member

    Home path for both MyEclipse and WebSphere is NOT the program files directory. We have created a new folder with the name WEBDEV under C:\. Here is the path for both installs.

    MyEclipseBlue: C:\webdev\Genuitec\Profiles\DOTDevelopmentBase

    Websphere: C:\webdev\IBM\WebSphere\AppServer\profiles\WAS7Profile01

    Where do you we need to apply settings?

    #345405 Reply

    support-swapna
    Moderator

    alivanalli,

    You need to run the MyEclipse as Administrator, to be able to start the Websphere service.
    Did you already configure the MyEclipse to work with the Websphere server? If no, please add the Websphere server from Window > Preferences > MyEclipse > Servers > Websphere > Websphere 7.

    Let us know if you see any issues.

    #345411 Reply

    alivanalli
    Member

    Issue persisted even after running MyEclipse as Administrator.

    I already configured the MyEclipse to work with the websphere server.

    Need further directions.

    #345450 Reply

    support-swapna
    Moderator

    alivanalli,

    Can you please answer some more questions for us?

    1. What exact issue are you seeing? Please elaborate.
    2. Please share the details about the project and the deployment mode you are using.
    3. Also share the Installation Details from MyEclipse > Installation Summary > Installation Details.
    4. If you are seeing issues with deploying the project, please clear the contents of the deployment.log, replicate the issue with deployment and attach the contents of the deployment log to help us investigate further.

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Administrator rights and web server deployment in MyEclipse

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