geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Isuru Samaraweera <isurunishan2...@yahoo.com>
Subject Re: Geronimo/Axis2--Java classes generation from WSDL
Date Sun, 30 Jul 2006 09:07:15 GMT
Hi Bryan,
   
   I add the log4j.properties file to the  axis2_classpath.Now I am getting the following
error when "wsdl2java" is executed.
   
  Using AXIS2_HOME:   C:\IsurusFiles\geronimo\samples\axis2\axis
Using JAVA_HOME:    C:\Program Files\Java\jdk1.5.0
  07/30 01:27:42 -- DEBUG -- getBundle(org.apache.axis2,org.apache.axis2.i18n,reso
urce,null,...) -- org.apache.axis2.i18n.ProjectResourceBundle
07/30 01:27:42 -- DEBUG -- loadBundle: Ignoring MissingResourceException: Can't
find bundle for base name org.apache.axis2.resource, locale en_US -- org.apache.
axis2.i18n.ProjectResourceBundle
07/30 01:27:42 -- DEBUG -- Created org.apache.axis2.i18n.resource, linked to par
ent null -- org.apache.axis2.i18n.ProjectResourceBundle
07/30 01:27:42 -- DEBUG -- getBundle(org.apache.axis2,org.apache.axis2.wsdl.i18n
,resource,null,...) -- org.apache.axis2.i18n.ProjectResourceBundle
07/30 01:27:42 -- DEBUG -- loadBundle: Ignoring MissingResourceException: Can't
find bundle for base name org.apache.axis2.wsdl.resource, locale en_US -- org.ap
ache.axis2.i18n.ProjectResourceBundle
07/30 01:27:42 -- DEBUG -- loadBundle: Ignoring MissingResourceException: Can't
find bundle for base name org.apache.axis2.resource, locale en_US -- org.apache.
axis2.i18n.ProjectResourceBundle
07/30 01:27:42 -- DEBUG -- Root package not found, cross link to org.apache.axis
2.i18n.resource -- org.apache.axis2.i18n.ProjectResourceBundle
07/30 01:27:42 -- DEBUG -- Root package not found, cross link to org.apache.axis
2.i18n.resource -- org.apache.axis2.i18n.ProjectResourceBundle
07/30 01:27:42 -- DEBUG -- Created org.apache.axis2.wsdl.i18n.resource, linked t
o parent org.apache.axis2.i18n.resource -- org.apache.axis2.i18n.ProjectResource
Bundle

  Thanks you,
  Regards,
  ISuru
  
Bryan Noll <bwnoll@gmail.com> wrote:
  This is a log4j problem, and is just a warning, so I don't believe it should be adversely
affecting your wsdl2java stuff in any way.  Set up a simple logger that outputs to the console...
something like the following.

A file named 'log4j.properties' needs to exist on the root of your classpath, and contain
the following (note that you can modify many/most of the properties to your liking):

###################################
log4j.threshold=ALL
log4j.rootLogger=ALL, stdout

log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{MM/dd HH:mm:ss} -- %p -- %m -- %c%n
log4j.appender.stdout.Threshold=DEBUG
###################################


Isuru Samaraweera wrote:     Hi All,
      I am trying to deploy a Axis2 web service on geronimo.However when I am trying to generate
the java classes from a WSDL file using the commandline WSDL2Java tool following error was
displayed on the console.
   
  log4j:WARN No appenders could be found for logger (org.apache.axis2.i18n.Project
ResourceBundle).
log4j:WARN Please initialize the log4j system properly.
   
  =================================================
  Command I am using is
   
  java org.apache.axis2.wsdl.WSDL2Java -S true cart.wsdl

  Does anybody in this list has encountered this problem  with Axis2 web services?
   
  Thank You,
  Regards
  Isuru
  
  
---------------------------------
  Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1ยข/min.


 		
---------------------------------
Groups are talking. We&acute;re listening. Check out the handy changes to Yahoo! Groups.

Mime
View raw message