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!
The logs actually tell you what is wrong - the org/apache/commons/io/IOUtils class is missing. I'm not sure why it isn't included in WebLogic but you can get the package which contains this class from the Apache Commons project (http://commons.apache.org/proper/commons-io/download_io.cgi).
I was having the same problem but fixed it by copying commons-io-2.4.jar found in the package to $MW_HOME/wlserver/server/lib/consoleapp/APP-INF/lib (which appears to house all the other commons jars).