I’m using Web logic Server 10.3.0. I have created a OSB application (Schema, WSDL, Business and Proxy service files) in Web logic Workshop. In workshop, I have created a Server connection to Web logic server. When I tried to Publish the OSB project from Workshop, suddenly a pop up appeared with the following error message –
“An internal error occurred during: “Publishing to Oracle WebLogic Server v10.3 at localhost…”.requested array is larger than heap”
Due this error I was not able to publish the project into Web logic server.
After doing some R&D, I found the solution for this issue.1) Go to the location <BEA_HOME>\user_projects\workspaces\default\.metadata\.plugins\ org.eclipse.wst.server.core\publish\publish*.dat
2) Delete all the publish*.dat files under the above location.
3) Delete the existing Server connection in Web logic workshop.
4) Re create the Server connection in Web logic workshop.
Now try to deploy the projects into Web logic Server. You will not face this issue.