Hi All,

My adventures in Axis2 continue, with incrementally more success.  I never managed to build the svn head from 2 days ago due to various build errors, but the new 0.94 release builds fine.  I've noticed these anomalies so far:

1.  The war does not contain two required libraries, both part of Apache Commons:  FileUpload and IO.  These are needed for uploading services -- after adding version 1.1 of each, upload seems to work fine.
2.  The built-in "version" service shows as "Faulty".  This is also getting a ClassNotFoundException, but is not apparently a missing library.  Does anybody know what is wrong here?  Here is the exception:

This Web axisService has deployment faults

Error: org.apache.axis2.deployment.DeploymentException: Processing Operations Modules ClassNotFoundException Error in loading message receivers org.apache.axis2.rpc.receivers.RPCMessageReceiver; nested exception is: org.apache.axis2.deployment.DeploymentException: Processing Operations Modules ClassNotFoundException Error in loading message receivers org.apache.axis2.rpc.receivers.RPCMessageReceiver at org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:234) at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:391) at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:196) at org.apache.axis2.deployment.listener.RepositoryListenerImpl.update(RepositoryListenerImpl.java:140) at org.apache.axis2.deployment.listener.RepositoryListenerImpl.checkServices(RepositoryListenerImpl.java:90) at org.apache.axis2.deployment.DeploymentEngine.load(DeploymentEngine.java:545) at org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:56) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:39) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:53) at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:211) at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:191) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:750) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:130) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) Caused by: org.apache.axis2.deployment.DeploymentException: Processing Operations Modules ClassNotFoundException Error in loading message receivers org.apache.axis2.rpc.receivers.RPCMessageReceiver at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:171) at org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(ArchiveReader.java:92) at org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:228) ... 24 more

Chuck


Chuck Williams <[EMAIL PROTECTED]> wrote on 01/11/2006 12:56:50 AM:

Hi Ruchith,

I got those jars -- thanks!  However, I ran into additional missing jars.  First groovy, which I found and installed manually in the repository.  Then on the next build it was xalan.  I've been running offline (-o) because it is so much faster, but have just kicked off an online build to see if it will find all the missing jar's for me.

Thanks for your tip on installing jars manually into the maven repository, since as much be apparent, I am new to maven too.  I just found the maven 1 documentation (having first read the maven 2 doc before realizing they are incompatible), and so now have useful things like the command line switches.

It's late in my timezome, so I'll check on the build tomorrow and hopefully will have success.  Of course, by then 0.94 will probably be on the site with the jdk 1.5 compatibility I need anyway.  But it's good to successfully build from source, just in case I find a bug ( :-) ) and need to fix it, or want to make an enhancement.

I'm looking forward to using axis2 soon!

Thanks for your help,

Chuck


Ruchith Fernando <[EMAIL PROTECTED]> wrote on 01/11/2006 12:27:00 AM:

Hi Chuck,

My bad ... I have not set the permissions properly for you to download
the jars...
I just fixed it ... please try now.

Thanks,
Ruchith

On 1/11/06, Chuck Williams <[EMAIL PROTECTED]> wrote:
  
 -o is my new friend -- thanks for that!

 However, both jar's appear to be corrupt at your url (I tried downloading
each twice with the same result):


==========================================================

     [javac] Compiling 257 source files to
/home/chuck/Repositories/MetaLINCSSVN/Libraries/axis2/trunk/axis2/modules/security/target/classes
     [javac] error: error reading
/home/chuck/.maven/repository/bouncycastle/jars/bcprov-jdk13-128.jar;
error in opening zip file
     [javac] Note: * uses or overrides a deprecated API.
     [javac] Note: Recompile with -Xlint:deprecation for details.
     [javac] Note: Some input files use unchecked or unsafe operations.
     [javac] Note: Recompile with -Xlint:unchecked for details.
     [javac] 1 error

 BUILD FAILED

[EMAIL PROTECTED]:~$ unzip -l bcprov-jdk13-128.jar
 Archive:  bcprov-jdk13-128.jar
   End-of-central-directory signature not found.  Either this file is not
   a zipfile, or it constitutes one disk of a multi-part archive.  In the
   latter case the central directory and zipfile comment will be found on
   the last disk(s) of this archive.
 unzip:  cannot find zipfile directory in one of bcprov-jdk13-128.jar or
         bcprov-jdk13-128.jar.zip, and cannot find bcprov-jdk13-128.jar.ZIP,
period.
 [EMAIL PROTECTED]:~$ unzip -l opensaml-1.0.1.jar
 Archive:  opensaml-1.0.1.jar
   End-of-central-directory signature not found.  Either this file is not
   a zipfile, or it constitutes one disk of a multi-part archive.  In the
   latter case the central directory and zipfile comment will be found on
   the last disk(s) of this archive.
 unzip:  cannot find zipfile directory in one of opensaml-1.0.1.jar or
         opensaml-1.0.1.jar.zip, and cannot find opensaml-1.0.1.jar.ZIP,
period.
 I really appreciate your help!  Could you possibly point me to the right
jars?

 Thanks,

 Chuck



 Ruchith Fernando <[EMAIL PROTECTED]> wrote on 01/10/2006 11:28:00
PM:



 You can turn off downloading of snapshots in the maven build by using
"-o" option (without quotes).
E.g. maven clean jar -o

As for the missing jars:
For now you can download them from
http://people.apache.org/~ruchithf/maven/
and copy them into your local maven repository (in the
".maven/repository/" directory in your home directory). Make sure you
preserve the directory structure:

bouncycastle/
 |
 +- jars
 |
 +- bcprov-jdk13-128.jar

opensaml/
 |
 +- jars
 |
 +- opensaml-1.0.1.jar


Thanks,
Ruchith

On 1/11/06, Chuck Williams <[EMAIL PROTECTED]> wrote:


 Ruchith, thanks for the help.

 I've been trying to build from the svn head, but as of yet with no success.
 Maven takes a long.... time on each attempt trying to download all the
SNAPSHOT versions of jars. I wish it was possible to turn this off. It
times out on every connection, and keeps retrying the same jars for every
module over and over again.

 More importantly, I'm now consistently failing due to some missing
dependencies. Is there any way I can resolve this? Here is the end of my
maven build output:


BUILD FAILED
 File......
/home/chuck/.maven/cache/maven-multiproject-plugin-1.3.1/plugin.jelly
 Element... maven:reactor
 Line...... 217
 Column.... 9
 The build cannot continue because of the following unsatisfied
dependencies:

 bcprov-jdk13-128.jar
 opensaml-1.0.1.jar

 Total time: 51 minutes 53 seconds
 Finished at: Tue Jan 10 21:17:03 HST 2006


 Thanks for any help,

 Chuck



 Ruchith Fernando <[EMAIL PROTECTED]> wrote on 01/10/2006 12:17:00
AM:



 Hi Chuck,

With 0.93 SAAJ impl didn't support DOM Level 3 interfaces, but this is
fixed right now with the new SAAJ impl since it depends on the new
OM-DOM impl (DOOM). With JDK 1.5, the DOM impl must support DOM level
3 interfaces.

Please try the latest code from the SVN or you can try 0.94 which will
be released tomorrow 11-Jan :-).


On 1/10/06, Chuck Williams <[EMAIL PROTECTED]> wrote:


 Hi All,

I'm just starting with Axis2 and am getting errors building it that
resemble jdk 1.5 incompatibility errors reported in the archives against
earlier builds. Specifically, various classes in saaj appear not to
provide implementations for certain abstract methods in
org.w3c.dom.Node, e.g. getUserData(). Is there a solution for the
problem below?

Thanks for any tips,

Chuck

maven dist-bin

...

+----------------------------------------
| Executing multiproject:install-callback Apache Axis 2.0 - SAAJ
| Memory: 20M/34M
+----------------------------------------

jar:install:


build:end:

build:start:

multiproject:install-callback:
 [echo] Running jar:install for Apache Axis 2.0 - SAAJ
java:prepare-filesystem:
 [mkdir] Created dir:
/home/chuck/OpenSource/Apache/xml/axis2-0.93-src/modules/saaj/target/classes

java:compile:
 [echo] Compiling to
/home/chuck/OpenSource/Apache/xml/axis2-0.93-src/modules/saaj/target/classes
 [echo]
==========================================================

 NOTE: Targetting JVM 1.5, classes
 will not run on earlier JVMs

==========================================================

 [javac] Compiling 125 source files to
/home/chuck/OpenSource/Apache/xml/axis2-0.93-src/modules/saaj/target/classes
 [javac]
/home/chuck/OpenSource/Apache/xml/axis2-0.93-src/modules/saaj/src/org/apache/axis2/saaj/NodeImpl.java:39:
org.apache.axis2.saaj.NodeImpl is not abstract and does not override
abstract method getUserData(java.lang.String) in org.w3c.dom.Node
 [javac] public class NodeImpl implements Node {
 [javac] ^
 [javac]
/home/chuck/OpenSource/Apache/xml/axis2-0.93-src/modules/saaj/src/org/apache/axis2/saaj/SOAPElementImpl.java:34:
org.apache.axis2.saaj.SOAPElementImpl is not abstract and
does not
override abstract method getUserData(java.lang.String) in org.w3c.dom.Node
 [javac] public class SOAPElementImpl extends NodeImpl implements
SOAPElement {
 [javac] ^
 [javac]
/home/chuck/OpenSource/Apache/xml/axis2-0.93-src/modules/saaj/src/org/apache/axis2/saaj/SOAPBodyImpl.java:35:
org.apache.axis2.saaj.SOAPBodyImpl is not abstract and does
not override
abstract method getUserData(java.lang.String) in org.w3c.dom.Node
 [javac] public class SOAPBodyImpl extends SOAPElementImpl implements
SOAPBody {
 [javac] ^
 [javac]
/home/chuck/OpenSource/Apache/xml/axis2-0.93-src/modules/saaj/src/org/apache/axis2/saaj/DetailEntryImpl.java:23:
org.apache.axis2.saaj.DetailEntryImpl is not abstract and
does not
override abstract method getUserData(java.lang.String) in org.w3c.dom.Node
 [javac] public class DetailEntryImpl extends SOAPElementImpl
implements DetailEntry {
 [javac] ^
 [javac]
/home/chuck/OpenSource/Apache/xml/axis2-0.93-src/modules/saaj/src/org/apache/axis2/saaj/TextImpl.java:27:
org.apache.axis2.saaj.TextImpl is not abstract and does not override
abstract method getUserData(java.lang.String) in org.w3c.dom.Node
 [javac] public class TextImpl extends NodeImpl implements Text {
 [javac] ^
 [javac]
/home/chuck/OpenSource/Apache/xml/axis2-0.93-src/modules/saaj/src/org/apache/axis2/saaj/SOAPHeaderElementImpl.java:25:
org.apache.axis2.saaj.SOAPHeaderElementImpl is not abstract
and does not
override abstract method getUserData(java.lang.String) in org.w3c.dom.Node
 [javac] public class SOAPHeaderElementImpl extends SOAPElementImpl
implements
 [javac] ^
 [javac]
/home/chuck/OpenSource/Apache/xml/axis2-0.93-src/modules/saaj/src/org/apache/axis2/saaj/SOAPPartImpl.java:33:
org.apache.axis2.saaj.SOAPPartImpl is not abstract and does
not override
abstract method
renameNode(org.w3c.dom.Node,java.lang.String,java.lang.String) in
org.w3c.dom.Document
 [javac] public class SOAPPartImpl extends SOAPPart {
 [javac] ^
 [javac]
/home/chuck/OpenSource/Apache/xml/axis2-0.93-src/modules/saaj/src/org/apache/axis2/saaj/SOAPBodyElementImpl.java:25:
org.apache.axis2.saaj.SOAPBodyElementImpl is not abstract
and does not
override abstract method getUserData(java.lang.String) in org.w3c.dom.Node
 [javac] public class SOAPBodyElementImpl extends SOAPElementImpl
implements
 [javac] ^
 [javac]
/home/chuck/OpenSource/Apache/xml/axis2-0.93-src/modules/saaj/src/org/apache/axis2/saaj/SOAPFaultImpl.java:38:
org.apache.axis2.saaj.SOAPFaultImpl is not abstract and
does not
override abstract method getUserData(java.lang.String) in org.w3c.dom.Node
 [javac] public class SOAPFaultImpl extends SOAPBodyElementImpl
implements SOAPFault {
 [javac] ^
 [javac]
/home/chuck/OpenSource/Apache/xml/axis2-0.93-src/modules/saaj/src/org/apache/axis2/saaj/SOAPEnvelopeImpl.java:31:
org.apache.axis2.saaj.SOAPEnvelopeImpl is not abstract and
does not
override abstract method getUserData(java.lang.String) in org.w3c.dom.Node
 [javac] public class SOAPEnvelopeImpl extends SOAPElementImpl
implements SOAPEnvelope {
 [javac] ^
 [javac]
/home/chuck/OpenSource/Apache/xml/axis2-0.93-src/modules/saaj/src/org/apache/axis2/saaj/SOAPDocumentImpl.java:24:
org.apache.axis2.saaj.SOAPDocumentImpl is not abstract and
does not
override abstract method
renameNode(org.w3c.dom.Node,java.lang.String,java.lang.String) in
org.w3c.dom.Document
 [javac] public class SOAPDocumentImpl implements Document {
 [javac] ^
 [javac]
/home/chuck/OpenSource/Apache/xml/axis2-0.93-src/modules/saaj/src/org/apache/axis2/saaj/SOAPFaultElementImpl.java:25:
org.apache.axis2.saaj.SOAPFaultElementImpl is not abstract
and does not
override abstract method getUserData(java.lang.String) in org.w3c.dom.Node
 [javac] public class SOAPFaultElementImpl extends SOAPElementImpl
implements
 [javac] ^
 [javac]
/home/chuck/OpenSource/Apache/xml/axis2-0.93-src/modules/saaj/src/org/apache/axis2/saaj/DetailImpl.java:36:
org.apache.axis2.saaj.DetailImpl is not abstract and does
not override
abstract method getUserData(java.lang.String) in org.w3c.dom.Node
 [javac] public class DetailImpl extends SOAPFaultElementImpl
implements Detail {
 [javac] ^
 [javac]
/home/chuck/OpenSource/Apache/xml/axis2-0.93-src/modules/saaj/src/org/apache/axis2/saaj/AttrImpl.java:22:
org.apache.axis2.saaj.AttrImpl is not abstract and does not override
abstract method isId() in org.w3c.dom.Attr
 [javac] public class AttrImpl extends NodeImpl implements Attr {
 [javac] ^
 [javac]
/home/chuck/OpenSource/Apache/xml/axis2-0.93-src/modules/saaj/src/org/apache/axis2/saaj/SOAPHeaderImpl.java:32:
org.apache.axis2.saaj.SOAPHeaderImpl is not abstract and
does not
override abstract method getUserData(java.lang.String) in org.w3c.dom.Node
 [javac] public class SOAPHeaderImpl extends SOAPElementImpl
implements SOAPHeader {
 [javac] ^
 [javac] Note:
/home/chuck/OpenSource/Apache/xml/axis2-0.93-src/modules/saaj/src/org/apache/axis2/saaj/SOAPConnectionImpl.java
uses or overrides a deprecated API.
 [javac] Note: Recompile with -Xlint:deprecation for details.
 [javac] Note: Some input files use unchecked or unsafe operations.
 [javac] Note: Recompile with -Xlint:unchecked for details.
 [javac] 15 errors

BUILD FAILED
File......
/home/chuck/.maven/cache/maven-multiproject-plugin-1.3.1/plugin.jelly
Element... maven:reactor
Line...... 217
Column.... 9
Unable to obtain goal [multiproject:install-callback] --
/home/chuck/.maven/cache/maven-java-plugin-1.5/plugin.jelly:63:48:
<ant:javac> Compile failed; see the compiler error output for details.
Total time: 5 minutes 23 seconds
Finished at: Mon Jan 09 21:51:16 HST 2006







--
Ruchith





--
Ruchith



--

 Chuck Williams
 Manawiz
 Principal
 V: (808)885-8688
 C: (415)846-9018
 [EMAIL PROTECTED]
 Skype: manawiz
 AIM: hawimanawiz
 Yahoo: jcwxx

    


--
Ruchith
  

--
Chuck Williams
Manawiz
Principal
V: (808)885-8688
C: (415)846-9018
[EMAIL PROTECTED]
Skype: manawiz
AIM: hawimanawiz
Yahoo: jcwxx

--
Chuck Williams
Manawiz
Principal
V: (808)885-8688
C: (415)846-9018
[EMAIL PROTECTED]
Skype: manawiz
AIM: hawimanawiz
Yahoo: jcwxx

Reply via email to