facebook

Deployment fails on WPS: Unrecognized option: -Xj9

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

    Hello,
    i try to deploy a Portlet-Project on a Websphere Portal Server 6.1. The web module is deployed on the server, but the web application does not start up and the portlet doesn’t show up if i add to a page.
    A “redeploy/reload” does nothing.

    This is from the deployment.log:
    —————————————————————————————————————————
    MyEclipse: deployment START exploded project: Personalhandbuch server: WAS61PortalServer time: Wed Jan 05 11:51:39 CET 2011
    —————————————————————————————————————————
    Zugriff verweigert
    Could not create the Java virtual machine.
    Unrecognized option: -Xj9
    —————————————————————————————————————-
    MyEclipse: deployment END project: Personalhandbuch server: WAS61PortalServer time: Wed Jan 05 11:51:39 CET 2011
    —————————————————————————————————————-
    —————————————————————————————————————————
    MyEclipse: deployment START exploded project: Personalhandbuch server: WAS61PortalServer time: Wed Jan 05 11:51:39 CET 2011
    —————————————————————————————————————————
    Licensed Materials – Property of IBM, 5724-E76, 5655-R17, and 5655-M44, (C) Copyright IBM Corp. 2001, 2007 – All Rights reserved. US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
    EJPXB0006I: Verbindung zu URL http://localhost:10040/wps/config wird hergestellt
    EJPXB0002I: Eingabedatei C:\Workspace\MyEclipse\Personalhandbuch\.myeclipse\websphere\portal-update-predeployed.xml wird gelesen
    <!– 1 [web-app uid=Personalhandbuch.war.webmod] –>

    <!– 2 [portlet-app uid=Personalhandbuch.war] –>

    <!– 3 [portlet name=PersonalhandbuchPortlet] –>

    <request xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance&#8221; build=”wp6103_201_01″ type=”update” version=”6.1.0.3″ xsi:noNamespaceSchemaLocation=”PortalConfig_6.1.0.2.xsd”>

    <status element=”all” result=”ok”/>

    </request>

    EJPXB0020I: Die Anforderung wurde erfolgreich auf dem Server verarbeitet.
    —————————————————————————————————————-
    MyEclipse: deployment END project: Personalhandbuch server: WAS61PortalServer time: Wed Jan 05 11:51:42 CET 2011
    —————————————————————————————————————-

    In the preferences of the VM, there are no default VM Arguments (Preferences -> Java -> Installed JREs -> Websphere Portal 6.1 JDK)

    Any ideas?

    #313548 Reply

    I forgot, I’m using My Eclipse Blue 8.6.1

    #313750 Reply

    Hello, someone’s there?

    #313779 Reply

    support-swapna
    Moderator

    simon.erhardt,

    Sorry for the delayed response.

    This looks like an incompatible JDK issue.

    Please refer to these posts which address the same :
    https://www.genuitec.com/forums/topic/closed-websphere6-s-unrecognized-option-xquickstart/
    http://www.myeclipseide.com/PNphpBB2-printview-t-18077-start-0.html

    Let us know how it helps you.

    #315299 Reply

    Hi Swapna,

    I’m sorry for the delay – the provided posts are about using the correct VM, which was the case in my environment. So this did not change anything or solve the problem.

    – Simon

    #315323 Reply

    support-swapna
    Moderator

    Simon,

    -Xj9 option is passed only if connector is Websphere Portal 6.0.
    Can you please configure connector once again and make sure that you are using WebSphere Portal 6.1 connector ?

    Let me know how this works for you.

    #315434 Reply

    Swapna,

    It’s a WebSphere Portal 6.1. connector already.

    BUT – I found out what (strangely) caused the problem: I installed MyEclipse to C:\Dev\Genuitec\MyEclipse instead using the default folder in the users directory. Everything worked fine with my own user (with which I installed). Then, because it was the system of a co-worker, MyEclipse was used from within another windows login, and the problems appeared.
    So MyEclipse is working only for that user which installed the product.

    Very strange, because it works generally, but fails in such specific areas.

    Simon

    #315447 Reply

    Hi again,

    sorry, that wasn’t correct – after a few days the problem appears again.
    Any other ideas?

    Simon

    #315477 Reply

    This is causing massively problems with our project time frame!
    Please help!

    #315478 Reply

    I think that Websphere is started with the correct VM (I can see it in the Websphere Logs), but the deployment task seems to be started not with the IBM WAS JDK, but with the MyEclipse JDK. If I execute

    java -Xj9 -version

    on each of these runtimes, it gives me no error with IBM JDK, but the known error with MyEclipse JDK.

    #315551 Reply

    It’s getting more weird, but hopeful:
    It works as soon as I start MyEclipse as Administration (Windows 7 UAC).

Viewing 11 posts - 1 through 11 (of 11 total)
Reply To: Deployment fails on WPS: Unrecognized option: -Xj9

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