ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Les Hughes <leslie.hug...@rubus.com>
Subject ejbjar, weblogic and classpath
Date Wed, 27 Feb 2002 12:10:55 GMT
Hi,

I've been reading the thread on ejbjar and log4j problems and I'm getting
similar issues with SOAP 2.2. Here's my build.xml snippet

       <weblogic destdir="${build.dir}/LDAPAdminDomain"
                wlclasspath="${ejbc.class.path}"
                keepgeneric="false"
                compiler="default">

        <classpath>
          <fileset dir="${lib.dir}">
            <include name="*.jar"/>
          </fileset> 
    	  </classpath> 
      </weblogic>

lib.dir contains soap.jar, mail.jar, activation.jar etc
When running I get

   +Task: java
   [ejbjar] Calling weblogic.ejbc for
C:\projects\webservice\build\LDAPAdminDomain\LDAPAdmin-generic.jar
     [ejbc] Forking C:\devtools\jdk1.3.1\jre\..\bin\java.exe -classpath
C:\bea\wlserver6.1\lib\weblogic.jar weblogic.ejbc C:\projects\web
service\build\LDAPAdminDomain\LDAPAdmin-generic.jar
C:\projects\aonwebservice\build\LDAPAdminDomain\LDAPAdmin.jar
Execute:Java13CommandLauncher: C:\devtools\jdk1.3.1\jre\..\bin\java.exe
-classpath C:\bea\wlserver6.1\lib\weblogic.jar weblogic.ejbc C:\proj
ects\webservice\build\LDAPAdminDomain\LDAPAdmin-generic.jar
C:\projects\webservice\build\LDAPAdminDomain\LDAPAdmin.jar
     [ejbc]
  [ejbc]
  [ejbc] ERROR: Error from ejbc: java.lang.NoClassDefFoundError:
org/apache/soap/rpc/RPCMessage
  [ejbc]     at java.lang.Class.getConstructors0(Native Method)
  [ejbc]     at java.lang.Class.getConstructors(Class.java:775)
  [ejbc]     at
weblogic.ejb20.compliance.ComplianceUtils.classHasPublicNoArgCtor(Compliance
Utils.java:141)
  [ejbc]     at
weblogic.ejb20.compliance.BeanClassChecker.checkBeanClassHasPublicNoArgCtor(
BeanClassChecker.java:279)

etc etc.


So, my question - is <ejbjar> or <weblogic> ignoring the nested fileset or
am I being dumb?

Bye,

Les

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message