facebook

WAS deployment failure

  1. MyEclipse IDE
  2.  > 
  3. WebSphere Development
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #330744 Reply

    sarathy64
    Participant

    HI,

    I am using MyEclipse Blue 10.6 with WebSPhere 6.1 fixpack 27. I am getting following error in deployment log when trying to deploy a EAR.

    ———————————————————————————————————————————–
    MyEclipse: deployment START exploded project: EPP_EAR server: websphere61Server#MyEclipseBlueCNS time: Wed Oct 03 10:20:10 EDT 2012
    ———————————————————————————————————————————–
    The syntax of the command is incorrect.
    ————————————————————————————————————————
    MyEclipse: deployment END project: EPP_EAR server: websphere61Server#MyEclipseBlueCNS time: Wed Oct 03 10:20:15 EDT 2012
    ————————————————————————————————————————

    #330766 Reply

    support-swapna
    Moderator

    sarathy64,

    Sorry that you are seeing this issue.

    Can you please give us some more information to help understand the issue?

    1. Is this the first time you have installed Websphere 6.1 on your machine ?

    2. Is the EAR project created in MyEclipse Blue or exported from elsewhere ? If yes then did you enhance the project to work with MyEclipse Blue ?

    3. Do you see this issue only with this one EAR project or with all the projects ? Also check if you can deploy the EAR to WAS 6.1 outside of MyEclipse.

    4. Did you specify any additional arguments when configuring the WAS 6.1 to work with MyEclipse Blue ? Please share the installation path for your Websphere 6.1 server.

    #331893 Reply

    sarathy64
    Participant

    Hi Swapna,

    It turned out that there was a JAR that was corrupt that was causing this issue. Now, I have run into the same issue again. This time my workspace was working and deploying just fine. I updated my workspace to get some changes to ejb-jar.xml and session beans done by another developer from the repository. I reviewed these changes and they look just fine. Deployment however is failing with the same error.

    I looked at the JARs in the EAR and they look just fine. I doubled checked the ejb-jar and session bean changes and they look just fine. I undeployed/redeployed, did a clean and rebuild of projects but the problem persists.

    I am stuck due to this problem and unable to continue with my development activities. Any help would be very much appreicated.

    I exported the EAR and tried deploying directly into WebSphere which gives me the following error.

    [10/31/12 20:36:34:622 EDT] 00000025 ServletWrappe E SRVE0068E: Uncaught exception thrown in one of the service methods of the servlet: action. Exception thrown : javax.servlet.ServletException: Processing of multipart/form-data request failed. Async operation timed out
    at org.apache.struts.upload.CommonsMultipartRequestHandler.handleRequest(CommonsMultipartRequestHandler.java:242)
    at com.ibm.isclite.container.controller.NLSDiskMultipartRequestHandler.handleRequest(NLSDiskMultipartRequestHandler.java:76)

    Installation path: C:\Program Files (x86)\IBM\WebSphere\AppServer
    profile location: C:\Program Files (x86)\IBM\WebSphere\AppServer\profiles\MyEclipseBlueCNS

    Error message in deployment log:
    MyEclipse: deployment START exploded project: EPP_EAR server: websphere61Server#MyEclipseBlueCNS time: Wed Oct 31 21:14:23 EDT 2012
    ———————————————————————————————————————————–
    The syntax of the command is incorrect.
    ————————————————————————————————————————
    MyEclipse: deployment END project: EPP_EAR server: websphere61Server#MyEclipseBlueCNS time: Wed Oct 31 21:14:24 EDT 2012
    ————————————————————————————————————————

    Best Regards,
    -sarathy

    #331894 Reply

    sarathy64
    Participant

    I also reviewed the EAR using winZip and the contents look ok to me.

    #331906 Reply

    support-swapna
    Moderator

    Sarathy,

    Sorry that you are seeing this issue.

    Can you please try these steps ?

    1. Switch off EJB Deploy in the EAR properties.Right click on EAR project > Properties > MyEclipse > EAR > uncheck ‘Run EJB Deploy Tool’. Now run the MyEclipse EJB Deploy manually by right clicking on the EAR > MyEclipse > Run EJB Deploy. Once it is done, try deploying the project. If the deployment fails, please copy paste the error message for us.

    2. Can you also try to strip the project of its source code and try deploying ?

    Let us know how it works for you.

    #331909 Reply

    sarathy64
    Participant

    Hi Swapna,

    I turned off ejbdeploy as you instructed and getting the following error when I tried to run ejbdeploy manually.

    EJB deploy failed
    C:\Program Files\IBM\WebSphere\AppServer\deploytool\itp\plugins is not an existing directory.

    My WebSphere is installed at:
    C:\Program Files (x86)\IBM\WebSphere\AppServer\deploytool\itp\plugins is not an existing directory.

    and don’t know why the IDE is now looking in a different place.

    How do I strip the project off its source code?

    Thank you for the response.

    Best Regards,
    -sarathy

    #332002 Reply

    support-swapna
    Moderator

    Sarathy,

    1. Can you turn off ejb deploy and try to deploy the project without manually running the MyEclipse EJB Deploy ?

    2. Can you also recheck the server path in the connector to see if it reflects correctly?

    Let us know what you see.

    #332007 Reply

    sarathy64
    Participant

    Hi Swapna,

    I ended up recreating the workspace which resolved the issue. I am a bit weary of running into this problem again. I will try these steps when I run into this problem again. It seems there is not much information anywhere to determine why deployment is reporting ‘Syntax error’.

    Thanks for the tips.
    Best Regards,
    -sarathy

    #332037 Reply

    support-swapna
    Moderator

    sarathy,

    Glad that you got the issue resolved.
    Do let us know if you see any issues.

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: WAS deployment failure

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