Hi. I'm having problems with the deployment on weblogic as well.
Creating a war file with soapui-pro-3.6.1-windows-bin gives the following stacktrace:
####<02.feb.2011 kl 13.33 CET> <Error> <HTTP> <aloha.test> <Foo_Admin_Server> <weblogic.kernel.Default (self-tuning) 1> <<WLS Kernel>> <> <> <1296649996993> <BEA-101020> <[ServletContext@341365834[app:dwh-mock-target module:dwh-mock-target.war path:/dwh-mock-target spec-version:2.5]] Servlet failed with Exception
java.lang.NullPointerException
at java.io.File.<init>(File.java:222)
at com.eviware.soapui.mockaswar.MockAsWarServlet$MockServletSoapUICore.dispatchRequest(MockAsWarServlet.java:246)
at com.eviware.soapui.mockaswar.MockAsWarServlet.service(MockAsWarServlet.java:171)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:176)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3594)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Trying the latest
soapui-pro-3.6.2-SNAPSHOT-windows-bin release it no longer throws an exception, the page shows up when visiting the main page, but all it says is just:
soapUI MockServices Log for project [null]
WSDLs:
So it seems that the project was not loaded. A tomcat6 deployment of the same war file gives the expected result:
soapUI MockServices Log for project [dwh]
WSDLs: [AgreementServiceSoapBinding MockService]
I can't find much more info in the weblogic logs than the following lines (admin.stdout log);
<02.feb.2011 kl 14.12 CET> <Info> <Deployer> <BEA-149074> <Successfully completed deployment task: [Deployer:149026]start application dwh-mock-target on foo_Admin_Server.>
14:13:30,241 WARN [SoapUI] Missing folder [/opt/spt/weblogic/foo_domain/./ext] for external libraries
14:13:30,265 INFO [DefaultSoapUICore] Creating new settings at [/home/foo-i/soapui-settings.xml]
14:13:30,668 WARN [SoapUI] Missing folder [/opt/spt/weblogic/foo_domain/./ext] for external libraries
14:13:30,668 INFO [DefaultSoapUICore] Creating new settings at [/home/foo-i/soapui-settings.xml]
The server does not have access to create new files in the home directory, was hoping that the war file would be self-contained. Is this the reason its not loading the project file?
thanks for any help.