>
> When I start my tomcat (3.2.4) I got a message in log:
> "
> - JAX-RPC servlet initializing
> - missing context information
> "
>
Greetings,
I went to the jaxrpc source code, and the problem is in the code below
(JAXRPCServletDelegate) that says that it cannot get the attribute
JAXRPCServlet.JAXRPC_RI_RUNTIME_INFO which is parsed, built and set in
JAXRPCContextListener class. The error (~warning) is outputted only when
it trys to get (and is null), and not in builder.
Anyone have a clue for this result?
thanks,
Pedro Salazar.
------CODE--------
--BEGIN JAXRPCContextListener--
...
JAXRPCRuntimeInfo info = parser.parse(is);
context.setAttribute(JAXRPCServlet.JAXRPC_RI_RUNTIME_INFO, info);
...
--END JAXRPCContextListener--
--BEGIN JAXRPCServletDelegate--
init(){
...
jaxrpcInfo = (JAXRPCRuntimeInfo)
servletContext.getAttribute(JAXRPCServlet.JAXRPC_RI_RUNTIME_INFO);
if (jaxrpcInfo == null) {
logger.warn(defaultLocalizer.localize(messageFactory.getMessage(
"servlet.warning.missingContextInformation")));
}
else {
Map endpointsByName = new HashMap();
for (Iterator iter = jaxrpcInfo.getEndpoints().iterator();
iter.hasNext();) {
RuntimeEndpointInfo info= (RuntimeEndpointInfo)
iter.next();
if (endpointsByName.containsKey(info.getName())) {
logger.warn(defaultLocalizer.localize(messageFactory.getMess
age("servlet.warning.duplicateEndpointName", info.getName())));
}
else {
endpointsByName.put(info.getName(), info);
registerEndpointUrlPattern(info);
}
}
}
...
}
--END JAXRPCServletDelegate--
>
> When I start my tomcat (3.2.4) I got a message in log:
> "
> - JAX-RPC servlet initializing
> - missing context information
> "
>
--
<ps>
pedro-b-salazar_at_ptinovacao.pt
key id: 0E129E31D803BC61