'unexpected error condition deploying war on new WebLogic server

I am trying to deploy a simple war file onto a new WebLogic 12c server on OSX 10.9.4

I installed via the wls1213_devzip_update1.zip and followed the instructions in the ReadMe to configure the new installation.

WebLogic starts without error via ./startWebLogic.sh and I am able to log into the Admin Console.

After following these steps in the Admin Console: Deploy > Install > upload your files > Choose File > select the war on the file system > Next

After clicking Next, I get the following error in the browser:

An unexpected error condition has been detected. Details have been recorded in the admin server log

And the following errors in the log:

<Feb 1, 2015 6:50:49 AM MST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING.> 
<Feb 1, 2015 6:51:43 AM MST> <Error> <netuix> <BEA-423147> <Exception [com.bea.portlet.adapter.scopedcontent.ActionLookupFailedException: java.lang.NoClassDefFoundError: org/apache/commons/io/IOUtils] thrown while trying to do task [handlePostbackData] in class [com.bea.netuix.servlets.controls.content.PageFlowContent].> 
<Feb 1, 2015 6:51:43 AM MST> <Error> <netuix> <BEA-423405> <An exception [java.lang.NoClassDefFoundError: org/apache/commons/io/IOUtils] was thrown while rendering the content at [null].> 
<Feb 1, 2015 6:51:43 AM MST> <Error> <netuix> <BEA-423137> <There was an error loading the requested URI null.> 
<Feb 1, 2015 6:51:43 AM MST> <Error> <netuix> <BEA-423223> <There was an error while running a lifecycle stage :: Lifecycle: UIControl.render :: for the control :: null ::.> 
<Feb 1, 2015 6:51:43 AM MST> <Error> <netuix> <BEA-423405> <An exception [java.lang.NoClassDefFoundError: org/apache/commons/io/IOUtils] was thrown while rendering the content at [/com/bea/console/actions/app/install/Flow.jpf].> 
<Feb 1, 2015 6:51:43 AM MST> <Error> <netuix> <BEA-423137> <There was an error loading the requested URI /com/bea/console/actions/app/install/Flow.jpf.> 
<Feb 1, 2015 6:51:43 AM MST> <Error> <netuix> <BEA-423223> <There was an error while running a lifecycle stage :: Lifecycle: UIControl.render :: for the control :: null ::.> 
<Feb 1, 2015 6:51:43 AM MST> <Error> <netuix> <BEA-423405> <An exception [java.lang.NoClassDefFoundError: org/apache/commons/io/IOUtils] was thrown while rendering the content at [null].> 
<Feb 1, 2015 6:51:43 AM MST> <Error> <netuix> <BEA-423137> <There was an error loading the requested URI null.> 
<Feb 1, 2015 6:51:43 AM MST> <Error> <netuix> <BEA-423223> <There was an error while running a lifecycle stage :: Lifecycle: UIControl.render :: for the control :: null ::.> 
<Feb 1, 2015 6:51:43 AM MST> <Error> <netuix> <BEA-423405> <An exception [java.lang.NoClassDefFoundError: org/apache/commons/io/IOUtils] was thrown while rendering the content at [null].> 
<Feb 1, 2015 6:51:43 AM MST> <Error> <netuix> <BEA-423137> <There was an error loading the requested URI null.> 
<Feb 1, 2015 6:51:43 AM MST> <Error> <netuix> <BEA-423223> <There was an error while running a lifecycle stage :: Lifecycle: UIControl.render :: for the control :: null ::.> 

Let me know if there is more info i can provide to help troubleshoot. Thanks!



Solution 1:[1]

Thanks for finding this. We recently updated the version of apache fileupload used by the WLS admin console as part of a security patch, and that introduced a new dependency on commons-io that was lost somewhere in the process. We'll track that down. In the interim, copying the jar to consoleapp/APP-INF/lib is an appropriate workaround (and that's what our fix will be doing.)

I believe that this issue only affects the console's upload feature during deployment. All other features should work as expected.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1