07-21-04 10:59 PM
Bryon Kataoka wrote:
> Would you know how to set this up so I can test in WSAD? Do I need
> security enabled?
>
> So far I have updated the ConfigServices and LoaderServices in
> C:\Program Files\IBM\WebSphere
> Studio\runtimes\portal_v50\shared\app\co
nfig\services
>
> I put my qualidfied class file in C:\Program Files\IBM\WebSphere
> Studio\runtimes\portal_v50\shared\app
>
> I run a test but never see a system out that I have in the code.
I'm not using WSAD, but I found that I had to explicitly add the JAR
containing my custom command to
/path/to/AppServer/config/cells/<cell>/nodes/<node>/libraries.xml. Add
something like
<classPath>${WPS_HOME}/shared/app/MyJar.jar</classPath>
as the last <classPath/> element in the WPSlib element.
I think that if you don't have security enabled, portal will only work
with LogoutUserNoAuth; you can test your methods by extending the
...NoAuth class instead of the ...Auth class. That's what I found today
trying to extend LoginUser.
[ Post a follow-up to this message ]
|