Deploying a Portlet

I currently have webMethods Portal 6.5 installed. I installed eclipse 3.0 and followed the instructions for installing hte webMethods development environment. I can create new portlets, build and deploy successfully.

When I deploy I get the following error even though the portlet is sucessfully deployed:

[POG.008.0003] Error Deploying Component: wm_generic_test2
Endpoint URL: [URL=“http://webmethods:8080/services/bizPolicy/wm_pghelpers”]http://webmethods:8080/services/bizPolicy/wm_pghelpers[/URL]
Reason: java.lang.NullPointerException

I can navigate to [URL=“http://webmethods:8080/services”]http://webmethods:8080/services[/URL], but bizPolicy/wm_pghelpers does not exist on the server which is why I think I am having this problem. I need this fixed because I get the same error when I try to add a “Data Query” and in other parts of the dev environment.

Please help, thanks!

I figured it out. Since I have java 5.0 installed I need to start the eclipse 3.0 environment like this:

eclipse.exe -vm “C:\Program Files\Java\j2re1.4.2_12\bin\javaw.exe”

I just put this in a .cmd file and point my eclipise shortcut to this file. To get rid of the black box that hangs around until eclipse finished put "start " before eclipse.exe.

[eclipse.cmd]

start eclipse.exe -vm … etc

Thanks for posting the solution. It was helpful to me.