• Post Reply Bookmark Topic Watch Topic
  • New Topic

Can't find bundle for base name org.apache.axis.resource, locale en_US  RSS feed

 
Sreeya Sengupta
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to make a Web Service call from my Application. It uses the org.apache.axis jar. The Application is running fine from my workspace. However, when I am trying to make a batch file for the Application it is giving me the following exception just after the Web Service call:

DEBUG org.apache.axis.i18n.ProjectResourceBundle 21 Mar 2011 09:40:17 CDT. - getBundle(org.apache.axis,org.apache.axis.i18n,resource,null,...)
DEBUG org.apache.axis.i18n.ProjectResourceBundle 21 Mar 2011 09:40:17 CDT. - loadBundle: Ignoring MissingResourceException: Can't find bundle for base name org.apache.axis.resource, locale en_US
DEBUG org.apache.axis.i18n.ProjectResourceBundle 21 Mar 2011 09:40:17 CDT. - Created org.apache.axis.i18n.resource, linked to parent null
DEBUG org.apache.axis.i18n.ProjectResourceBundle 21 Mar 2011 09:40:17 CDT. - getBundle(org.apache.axis,org.apache.axis.utils,resource,null,...)
DEBUG org.apache.axis.i18n.ProjectResourceBundle 21 Mar 2011 09:40:17 CDT. - loadBundle: Ignoring MissingResourceException: Can't find bundle for base name org.apache.axis.utils.resource, locale en_US
DEBUG org.apache.axis.i18n.ProjectResourceBundle 21 Mar 2011 09:40:17 CDT. - loadBundle: Ignoring MissingResourceException: Can't find bundle for base name org.apache.axis.resource, locale en_US
DEBUG org.apache.axis.i18n.ProjectResourceBundle 21 Mar 2011 09:40:17 CDT. - Root package not found, cross link to org.apache.axis.i18n.resource
DEBUG org.apache.axis.i18n.ProjectResourceBundle 21 Mar 2011 09:40:17 CDT. - Root package not found, cross link to org.apache.axis.i18n.resource
DEBUG org.apache.axis.i18n.ProjectResourceBundle 21 Mar 2011 09:40:17 CDT. - org.apache.axis.i18n.resource::handleGetObject(engineConfigLoadFactory)
DEBUG org.apache.axis.configuration.EngineConfigurationFactoryFinder 21 Mar 2011 09:40:17 CDT. - Factory org.apache.axis.configuration.EngineConfigurationFactoryServlet Ignored: unable to load/resolve class.
DEBUG org.apache.axis.i18n.ProjectResourceBundle 21 Mar 2011 09:40:17 CDT. - org.apache.axis.i18n.resource::handleGetObject(engineFactory)
DEBUG org.apache.axis.configuration.EngineConfigurationFactoryFinder 21 Mar 2011 09:40:17 CDT. - Got EngineFactory: org.apache.axis.configuration.EngineConfigurationFactoryDefault
DEBUG org.apache.axis.AxisEngine 21 Mar 2011 09:40:17 CDT. - Enter: AxisEngine::init
DEBUG org.apache.axis.i18n.ProjectResourceBundle 21 Mar 2011 09:40:18 CDT. - org.apache.axis.i18n.resource::handleGetObject(attachEnabled)
DEBUG org.apache.axis.utils.JavaUtils 21 Mar 2011 09:40:18 CDT. - Attachment support is enabled? true
DEBUG org.apache.axis.encoding.ser.JAFDataHandlerDeserializerFactory 21 Mar 2011 09:40:18 CDT. - Enter/Exit: JAFDataHandlerDeserializerFactory(class java.lang.String, {http://xml.apache.org/xml-soap}PlainText)
DEBUG org.apache.axis.i18n.ProjectResourceBundle 21 Mar 2011 09:40:18 CDT. - org.apache.axis.i18n.resource::handleGetObject(oddDigits00)
DEBUG org.apache.axis.i18n.ProjectResourceBundle 21 Mar 2011 09:40:18 CDT. - org.apache.axis.i18n.resource::handleGetObject(badChars01)
DEBUG org.apache.axis.encoding.ser.JAFDataHandlerDeserializerFactory 21 Mar 2011 09:40:18 CDT. - Enter/Exit: JAFDataHandlerDeserializerFactory(class java.awt.Image, {http://xml.apache.org/xml-soap}Image)
DEBUG org.apache.axis.encoding.ser.JAFDataHandlerDeserializerFactory 21 Mar 2011 09:40:18 CDT. - Enter/Exit: JAFDataHandlerDeserializerFactory(class javax.mail.internet.MimeMultipart, {http://xml.apache.org/xml-soap}Multipart)
DEBUG org.apache.axis.encoding.ser.JAFDataHandlerDeserializerFactory 21 Mar 2011 09:40:18 CDT. - Enter/Exit: JAFDataHandlerDeserializerFactory(interface javax.xml.transform.Source, {http://xml.apache.org/xml-soap}Source)
DEBUG org.apache.axis.encoding.ser.JAFDataHandlerDeserializerFactory 21 Mar 2011 09:40:18 CDT. - Enter/Exit: JAFDataHandlerDeserializerFactory(class org.apache.axis.attachments.OctetStream, {http://xml.apache.org/xml-soap}octet-stream)
DEBUG org.apache.axis.encoding.ser.JAFDataHandlerDeserializerFactory 21 Mar 2011 09:40:18 CDT. - Enter/Exit: JAFDataHandlerDeserializerFactory()
DEBUG org.apache.axis.AxisEngine 21 Mar 2011 09:40:18 CDT. - Exit: AxisEngine::init
DEBUG org.apache.axis.description.OperationDesc 21 Mar 2011 09:40:18 CDT. - @5bb966 added parameter >name: {http://services.feds.delta.com}xml
typeEntry: null
mode: IN
position: 0
isReturn: false
typeQName: {http://www.w3.org/2001/XMLSchema}string
javaType: class java.lang.String
inHeader: false
outHeader: false
@1e903d5<total parameters:1
DEBUG org.apache.axis.description.OperationDesc 21 Mar 2011 09:40:18 CDT. - @5bb966setReturnType({http://www.w3.org/2001/XMLSchema}string)
DEBUG org.apache.axis.i18n.ProjectResourceBundle 21 Mar 2011 09:40:18 CDT. - org.apache.axis.i18n.resource::handleGetObject(transport00)
DEBUG org.apache.axis.client.Call 21 Mar 2011 09:40:18 CDT. - Transport is org.apache.axis.transport.http.HTTPTransport@8ddc4c
DEBUG org.apache.axis.client.Call 21 Mar 2011 09:40:18 CDT. - Enter: Call::invoke(ns, meth, args)
DEBUG org.apache.axis.client.Call 21 Mar 2011 09:40:18 CDT. - operation=name: getFlifoFromFeds
returnQName: {http://services.feds.delta.com}getFlifoFromFedsReturn
returnType: {http://www.w3.org/2001/XMLSchema}string
returnClass: class java.lang.String
elementQName:null
soapAction: null
style: wrapped
use: literal
numInParams: 1
method:null
ParameterDesc[0]:
name: {http://services.feds.delta.com}xml
typeEntry: null
mode: IN
position: 0
isReturn: false
typeQName: {http://www.w3.org/2001/XMLSchema}string
javaType: class java.lang.String
inHeader: false
outHeader: false


DEBUG org.apache.axis.client.Call 21 Mar 2011 09:40:18 CDT. - operation.getNumParams()=1
DEBUG org.apache.axis.client.Call 21 Mar 2011 09:40:18 CDT. - getParamList number of params: 1
DEBUG org.apache.axis.client.Call 21 Mar 2011 09:40:18 CDT. - Enter: Call::invoke(RPCElement)
DEBUG org.apache.axis.i18n.ProjectResourceBundle 21 Mar 2011 09:40:18 CDT. - org.apache.axis.i18n.resource::handleGetObject(attachEnabled)
DEBUG org.apache.axis.Message 21 Mar 2011 09:40:18 CDT. - Attachment support is enabled? true
DEBUG org.apache.axis.SOAPPart 21 Mar 2011 09:40:18 CDT. - Enter: SOAPPart ctor(FORM_SOAPENVELOPE)
DEBUG org.apache.axis.i18n.ProjectResourceBundle 21 Mar 2011 09:40:18 CDT. - org.apache.axis.i18n.resource::handleGetObject(setMsgForm)
DEBUG org.apache.axis.SOAPPart 21 Mar 2011 09:40:18 CDT. - Setting current message form to: FORM_SOAPENVELOPE (currentMessage is now org.apache.axis.message.SOAPEnvelope)
DEBUG org.apache.axis.SOAPPart 21 Mar 2011 09:40:18 CDT. - Exit: SOAPPart ctor()
DEBUG org.apache.axis.i18n.ProjectResourceBundle 21 Mar 2011 09:40:18 CDT. - org.apache.axis.i18n.resource::handleGetObject(addBody00)
DEBUG org.apache.axis.message.SOAPBody 21 Mar 2011 09:40:18 CDT. - Adding body element to message...
DEBUG org.apache.axis.client.Call 21 Mar 2011 09:40:18 CDT. - Enter: Call::invoke()
DEBUG org.apache.axis.MessageContext 21 Mar 2011 09:40:18 CDT. - MessageContext: setTargetService(ServiceComponentImpl)
DEBUG org.apache.axis.i18n.ProjectResourceBundle 21 Mar 2011 09:40:18 CDT. - org.apache.axis.i18n.resource::handleGetObject(noService10)
DEBUG org.apache.axis.ConfigurationException 21 Mar 2011 09:40:18 CDT. - Exception:
org.apache.axis.ConfigurationException: No service named ServiceComponentImpl is available
org.apache.axis.ConfigurationException: No service named ServiceComponentImpl is available
at org.apache.axis.configuration.FileProvider.getService(FileProvider.java:233)
at org.apache.axis.AxisEngine.getService(AxisEngine.java:311)
at org.apache.axis.MessageContext.setTargetService(MessageContext.java:756)
at org.apache.axis.client.Call.invoke(Call.java:2690)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at com.delta.feds.services.ServiceComponentImplSoapBindingStub.getFlifoFromFeds(ServiceComponentImplSoapBindingStub.java:106)
at com.delta.dcc.webportal.services.FedsOperationImpl.fetchDataFromFeds(FedsOperationImpl.java:90)
at com.delta.dcc.webportal.controller.Controller$1.run(Controller.java:59)
at java.lang.Thread.run(Unknown Source)

at org.apache.axis.configuration.FileProvider.getService(FileProvider.java:233)
at org.apache.axis.AxisEngine.getService(AxisEngine.java:311)
at org.apache.axis.MessageContext.setTargetService(MessageContext.java:756)
at org.apache.axis.client.Call.invoke(Call.java:2690)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at com.delta.feds.services.ServiceComponentImplSoapBindingStub.getFlifoFromFeds(ServiceComponentImplSoapBindingStub.java:106)
at com.delta.dcc.webportal.services.FedsOperationImpl.fetchDataFromFeds(FedsOperationImpl.java:90)
at com.delta.dcc.webportal.controller.Controller$1.run(Controller.java:59)
at java.lang.Thread.run(Unknown Source)



You can find from the above exception that firstly, it cannot find the Resource Bundle inside the axis jar. I am using the same axis.jar inside the Batch file that I am using in my workspace.

Secondly, it is giving another exception that:

No service named ServiceComponentImpl is available

This method is present in one of the Web Service Client classes that I have generated in my workspace. This entire client package has also been included in the Batch file.

In many sites, this problem has been mentioned as just a logger issue with the axis jar. Not sure, if really that is the case. Even if that is the problem, I want to stop these axis loggers from generating. I have also checked my log4j properties file, could find nothing unusual there, just the same as we have always used.

Any help will be greatly appreciated.
 
Peter Johnson
author
Bartender
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I do not see what this has to do with build tools. Moving to a hopefully more relevant forum.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!