Problem in deploying Custom Shared Lib Extension (Doc ID 1450405.1)

Last updated on APRIL 30, 2012

Applies to:

Oracle WebCenter Portal - Version 11.1.1.5.0 and later
Information in this document applies to any platform.

Symptoms

When using SampleWebCenterSpacesExtensions, run the "deploy-shared-lib" Ant taskdef gives an error (NullPointer). The wls.userconfig and wls.userkey are properly generated using wlst according to the documentation.

 

[exec]  Deploy started at Thu Mar 15 15:40:09 2012
    [exec]
    [exec] User configuration file was not found.  Check location of the file.
    [exec] Please enter your username :Please enter your password :
    [exec] This Exception occurred at Thu Mar 15 15:40:10 BRT 2012.
    [exec] java.lang.NullPointerException
    [exec] at weblogic.management.scripting.WLSTHelper.connect(WLSTHelper.java:176)
    [exec] at weblogic.management.scripting.WLScriptContext.connect(WLScriptContext.java:61)
    [exec] at weblogic.management.scripting.utils.WLSTUtil.initializeOnlineWLST(WLSTUtil.java:147)
    [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [exec] at java.lang.reflect.Method.invoke(Method.java:597)
- - -
    [exec] at org.python.util.PythonInterpreter.execfile(Unknown Source)
    [exec] at weblogic.management.scripting.WLST.main(WLST.java:124)
    [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [exec] at java.lang.reflect.Method.invoke(Method.java:597)
    [exec] at weblogic.WLST.main(WLST.java:29)
    [exec] None
    [exec] #########################################################
    [exec] #####     Deployment Failed                     #########
    [exec] #####     Contact support with Exception Stack  #########
    [exec] #########################################################
    [exec]
    [exec]
    [exec] Exiting WebLogic Scripting Tool.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms