- This topic has 10 replies, 2 voices, and was last updated 13 years, 10 months ago by Simon Erhardt.
-
AuthorPosts
-
Simon ErhardtMemberHello,
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” 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?
Simon ErhardtMemberI forgot, I’m using My Eclipse Blue 8.6.1
Simon ErhardtMemberHello, someone’s there?
support-swapnaModeratorsimon.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.htmlLet us know how it helps you.
Simon ErhardtMemberHi 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
support-swapnaModeratorSimon,
-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.
Simon ErhardtMemberSwapna,
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
Simon ErhardtMemberHi again,
sorry, that wasn’t correct – after a few days the problem appears again.
Any other ideas?Simon
Simon ErhardtMemberThis is causing massively problems with our project time frame!
Please help!
Simon ErhardtMemberI 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.
Simon ErhardtMemberIt’s getting more weird, but hopeful:
It works as soon as I start MyEclipse as Administration (Windows 7 UAC). -
AuthorPosts