I have a problem when i'm deploying an application with bea weblogic workshop.
I've a simple web project.....in this web project there is a subfolder for to splitting different functionality.
- The problem -
If i deploy a *.ear (workshop generated) file,no problem.
But if i deploy from workshop (exploded dir) i have a strange error when i'm connecting to a jsp in a subfolder.
Ex.
"Http://localhost:7001/MyWebApp/subfolder1/test.jsp"
Response:
"An error as occurred:"
---------
Stack Trace:
<8-set-2004 17.52.46 CEST> <Error> <HTTP> <BEA-101020> <[ServletContext(id=67806
87,name=MyWebApp,context-path=/MyWebApp)] Servlet failed with Exception
java.lang.NullPointerException
at java.io.File.<init>(File.java:180)
at com.bea.wlw.netui.pageflow.DynamicSubappActionServlet.registerStaleMo
dule(DynamicSubappActionServlet.java:540)
at com.bea.wlw.netui.pageflow.DynamicSubappActionServlet.ensureModuleReg
istered(DynamicSubappActionServlet.java:500)
at com.bea.wlw.netui.pageflow.DynamicSubappActionServlet.getModuleConfig
(DynamicSubappActionServlet.java:455)
at com.bea.wlw.netui.pageflow.DynamicSubappActionServlet.ensureModuleSel
ected(DynamicSubappActionServlet.java:435)
at com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(PageFlowJspFilt
er.java:141)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:27)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:6316)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:3622)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2569)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
>
----------
Where is the error?
Must i add any information about subfolder in a descriptor???
?:|
Thanks
Ferdinando
Are you sure your exploded ear and archived ear are identical (appart from compression).
Can you access other jsps and servlets from the broken deployment?
What happens if you archive and deploy your exploded ear?