cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From reza x <>
Subject null pointer exception using weblogic 8.x`
Date Mon, 23 Feb 2004 05:59:17 GMT
hi all
i am using weblogic version 8.x for my cocoon application deployment,but i have a problem
in cocoonServlet initilization.the exception is as follows:
	at org.apache.cocoon.servlet.CocoonServlet.init(
	at weblogic.servlet.internal.ServletStubImpl$
	at weblogic.servlet.internal.ServletStubImpl.createServlet(
	at weblogic.servlet.internal.ServletStubImpl.createInstances(
	at weblogic.servlet.internal.ServletStubImpl.prepareServlet(
	at weblogic.servlet.internal.ServletStubImpl.getServlet(
	at weblogic.servlet.internal.ServletStubImpl.invokeServlet(
	at weblogic.servlet.internal.ServletStubImpl.invokeServlet(
	at weblogic.servlet.internal.WebAppServletContext$
	at weblogic.servlet.internal.WebAppServletContext.invokeServlet(
	at weblogic.servlet.internal.ServletRequestImpl.execute(
	at weblogic.kernel.ExecuteThread.execute(
I think the problem is that My webApp has been deployed as .war file and the following line

      this.servletContextPath = this.servletContext.getRealPath("/");
returns null ,so the exception is occured.
can any one help me to solve this problem.
thanks alot for your attention
Best Regards.
Mehrdad Hosein

Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
View raw message