You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Deepak Bhole <db...@redhat.com> on 2006/04/05 19:26:10 UTC

Problems with services in latest code?

Hi,

Is anyone else having problems with the latest axis code? I updated my
axis2 tree, did a full rebuild, and re-deployed the war cleanly, and can
no longer see any services in the list (not even version). 

- catalina.out shows no exceptions
- admin page shows no services, no service groups, no modules, etc.
- if I go to validate, I see a bunch of "OMFactory cannot be resolved or
is not a type" no related errors, with a trace:

	org.apache.jasper.compiler.DefaultErrorHandler.javacError
(DefaultErrorHandler.java:84)
	org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
	org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:409)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

- I cannot upload a service either... that too, gives a trace:
	org.apache.jasper.JasperException
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:370)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

root cause 

java.lang.NullPointerException
	java.io.File.<init>(File.java:347)
	org.apache.jsp.upload_jsp.jspInit(org.apache.jsp.upload_jsp:26)
	org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:78)
	org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:145)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:305)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

note 

- Attempts to access custom services (in the WEB-INF/services directory)
directly via a client fail as well.

Any ideas?

Thanks,
Deepak


Re: Problems with services in latest code?

Posted by Deepak Bhole <db...@redhat.com>.
On Wed, 2006-04-05 at 13:26 -0400, Deepak Bhole wrote:
> Hi,
> 
> Is anyone else having problems with the latest axis code? I updated my
> axis2 tree, did a full rebuild, and re-deployed the war cleanly, and can
> no longer see any services in the list (not even version). 

Found it.. it was partly because of how I had eclipse configured :( each
module is a separate project in my eclipse config, so when I updated
those, only things in modules/ got updates, but nothing in the main
directory. When I did a full svn up in the trunk dir, it got additional
updates which fixed things. 

Sorry for the false alarm.

Deepak