ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yaakov Chaikin <yaakov.chai...@gmail.com>
Subject Deploying to WebLogic with Ant under Eclipse
Date Fri, 12 Aug 2005 18:41:23 GMT
Hi,

I've asked this on one of the Eclipse newsgroup, but didn't really get
an answer, so I am hoping someone on this list will be able to figure
this out.

I have an Ant script that deploys a web app to WebLogic 8.1sp4. If I
run this Ant script from the command line, everything deploys just
fine. If I try to deploy the app using the same Ant script through
Eclipse, it fails. Interestingly enough, ONLY the EJB deployment
fails. If I try to deploy just the web part of the project, it deploys
just fine.

I made sure that the Ant versions that the command line uses and
Eclipse uses are the same. Went to Ant configuration and switched Ant
Home to the same location as Ant Home of the command line. Also added
the right tools.jar from the same location as the JDK that the command
line uses. I also set up Ant to run in its own JDK (same as the JDK
used on the command line.)

Also note that I do not get the warnings (about 60 in this run) when I
run the Ant script from the command line.

Thanks,
Yaakovl

Here is the output of the Ant run:
****************************************
Buildfile: c:\project\DCII\ant\build.xml
all:
ejbClean:
initialize:
ejb:
     [echo] [Main] invoking DCII EJB component with target clean
clean:
     [echo] [dcii]  CLEAN
     [echo] [dcii]  Deleting jar files ...
   [delete] Deleting 13 files from C:\project\DCII\build
   [delete] Deleting 1 files from C:\project\DCII\build\client
   [delete] Deleting 2 files from C:\project\DCII\build\server
     [echo] [dcii]  Deleting Xdoclet generated descriptors ...
   [delete] Deleting 3 files from C:\project\DCII\descriptor\server
     [echo] [dcii]  Deleting generated EJB source files ...
   [delete] Deleting 64 files from C:\project\DCII\src\mil\dss\dcii\server\ejb
     [echo] [dcii]  Deleting class files ...
   [delete] Deleting 208 files from C:\project\DCII\classes
   [delete] Deleted 17 directories from C:\project\DCII\classes
webClean:
initialize:
web:
     [echo] [Main] invoking DCII WEB component with target clean
cleanStrutsDtdTld:
     [echo] [dciiweb]  Deleting the struts tld and dtd files ...
   [delete] Deleting 28 files from C:\project\DCII\view\WEB-INF\tld
cleanPagerDtdTld:
     [echo] [dciiweb]  Deleting the pager navigation tld and dtd files ...
   [delete] Deleting 1 files from C:\project\DCII\view\WEB-INF\tld
clean:
     [echo] [dciiweb]  CLEAN
     [echo] [dciiweb]  Deleting jar files ...
   [delete] Deleting 12 files from C:\project\DCII\build
   [delete] Deleting 1 files from C:\project\DCII\build\client
   [delete] Deleting 2 files from C:\project\DCII\build\server
   [delete] Deleting 1 files from C:\project\DCII\view\WEB-INF
     [echo] [dciiweb]  Deleting generated resource files ...
   [delete] Deleting:
C:\project\DCII\src\mil\dss\dcii\client\applicationResource.properties
     [echo] [dciiweb]  Deleting class files ...
   [delete] Deleting 107 files from C:\project\DCII\classes
   [delete] Deleted 13 directories from C:\project\DCII\classes
     [echo] [dciiweb]  Done.
ejbDeploy:
initialize:
ejb:
     [echo] [Main] invoking DCII EJB component with target deploy
copyProps:
     [echo] [dcii]  Building application properties file for unitTest
     [copy] Copying 1 file to C:\project\DCII\src\mil\dss\dcii\client
     [copy] Copying 1 file to C:\project\DCII\classes\mil\dss\dcii\client
initialize:
ejbdoclet:
[ejbdoclet] (XDocletMain.start                   47  ) Running <weblogic/>
[ejbdoclet] Generating weblogic-ejb-jar.xml.
[ejbdoclet] Generating weblogic-cmp-rdbms-jar.xml.
[ejbdoclet] (XDocletMain.start                   47  ) Running <localinterface/>
[ejbdoclet] Generating Local interface for
'mil.dss.dcii.server.ejb.session.TitleServiceBean'.
[ejbdoclet] Generating Local interface for
'mil.dss.dcii.server.ejb.entity.FileDemandRequestorBean'.
[ejbdoclet] Generating Local interface for
'mil.dss.dcii.server.ejb.entity.TitleBean'.
[ejbdoclet] Generating Local interface for
'mil.dss.dcii.server.ejb.entity.UsersBean'.
[ejbdoclet] Generating Local interface for
'mil.dss.dcii.server.ejb.entity.NameOnlyBean'.
[ejbdoclet] Generating Local interface for
'mil.dss.dcii.server.ejb.entity.FileDemandBean'.
[ejbdoclet] Generating Local interface for
'mil.dss.dcii.server.ejb.entity.RolesBean'.
[ejbdoclet] Generating Local interface for
'mil.dss.dcii.server.ejb.session.PersonServiceBean'.
[ejbdoclet] Generating Local interface for
'mil.dss.dcii.server.ejb.entity.AkaBean'.
[ejbdoclet] Generating Local interface for
'mil.dss.dcii.server.ejb.entity.DossierBean'.
[ejbdoclet] Generating Local interface for
'mil.dss.dcii.server.ejb.entity.BatchErrorBean'.
[ejbdoclet] Generating Local interface for
'mil.dss.dcii.server.ejb.session.NameOnlyServiceBean'.
[ejbdoclet] Generating Local interface for
'mil.dss.dcii.server.ejb.session.DossierServiceBean'.
[ejbdoclet] Generating Local interface for
'mil.dss.dcii.server.ejb.entity.ManageAgencyBean'.
[ejbdoclet] Generating Local interface for
'mil.dss.dcii.server.ejb.entity.ManageAgencyOfficeBean'.
[ejbdoclet] Generating Local interface for
'mil.dss.dcii.server.ejb.session.ManageAkaServiceBean'.
[ejbdoclet] Generating Local interface for
'mil.dss.dcii.server.ejb.session.WebServiceBatchProcessingBean'.
[ejbdoclet] Generating Local interface for
'mil.dss.dcii.server.ejb.entity.PersonBean'.
[ejbdoclet] Generating Local interface for
'mil.dss.dcii.server.ejb.session.SubjectSearchServiceBean'.
[ejbdoclet] (XDocletMain.start                   47  ) Running
<remoteinterface/>
[ejbdoclet] Generating Remote interface for
'mil.dss.dcii.server.ejb.session.TitleServiceBean'.
[ejbdoclet] Generating Remote interface for
'mil.dss.dcii.server.ejb.session.FileDemandServiceBean'.
[ejbdoclet] Generating Remote interface for
'mil.dss.dcii.server.ejb.session.PersonServiceBean'.
[ejbdoclet] Generating Remote interface for
'mil.dss.dcii.server.ejb.session.ReportServiceBean'.
[ejbdoclet] Generating Remote interface for
'mil.dss.dcii.server.ejb.session.LoginServiceBean'.
[ejbdoclet] Generating Remote interface for
'mil.dss.dcii.server.ejb.session.NameOnlyServiceBean'.
[ejbdoclet] Generating Remote interface for
'mil.dss.dcii.server.ejb.session.DossierServiceBean'.
[ejbdoclet] Generating Remote interface for
'mil.dss.dcii.server.ejb.session.UserServiceBean'.
[ejbdoclet] Generating Remote interface for
'mil.dss.dcii.server.ejb.session.ManageAgencyServiceBean'.
[ejbdoclet] Generating Remote interface for
'mil.dss.dcii.server.ejb.session.ManageAkaServiceBean'.
[ejbdoclet] Generating Remote interface for
'mil.dss.dcii.server.ejb.session.WebServiceBatchProcessingBean'.
[ejbdoclet] Generating Remote interface for
'mil.dss.dcii.server.ejb.session.SubjectSearchServiceBean'.
[ejbdoclet] Generating Remote interface for
'mil.dss.dcii.server.ejb.session.AuditLogServiceBean'.
[ejbdoclet] (XDocletMain.start                   47  ) Running <homeinterface/>
[ejbdoclet] Generating Home interface for
'mil.dss.dcii.server.ejb.session.TitleServiceBean'.
[ejbdoclet] Generating Home interface for
'mil.dss.dcii.server.ejb.session.FileDemandServiceBean'.
[ejbdoclet] Generating Home interface for
'mil.dss.dcii.server.ejb.session.PersonServiceBean'.
[ejbdoclet] Generating Home interface for
'mil.dss.dcii.server.ejb.session.ReportServiceBean'.
[ejbdoclet] Generating Home interface for
'mil.dss.dcii.server.ejb.session.LoginServiceBean'.
[ejbdoclet] Generating Home interface for
'mil.dss.dcii.server.ejb.session.NameOnlyServiceBean'.
[ejbdoclet] Generating Home interface for
'mil.dss.dcii.server.ejb.session.DossierServiceBean'.
[ejbdoclet] Generating Home interface for
'mil.dss.dcii.server.ejb.session.UserServiceBean'.
[ejbdoclet] Generating Home interface for
'mil.dss.dcii.server.ejb.session.ManageAgencyServiceBean'.
[ejbdoclet] Generating Home interface for
'mil.dss.dcii.server.ejb.session.ManageAkaServiceBean'.
[ejbdoclet] Generating Home interface for
'mil.dss.dcii.server.ejb.session.WebServiceBatchProcessingBean'.
[ejbdoclet] Generating Home interface for
'mil.dss.dcii.server.ejb.session.SubjectSearchServiceBean'.
[ejbdoclet] Generating Home interface for
'mil.dss.dcii.server.ejb.session.AuditLogServiceBean'.
[ejbdoclet] (XDocletMain.start                   47  ) Running
<localhomeinterface/>
[ejbdoclet] Generating Local Home interface for
'mil.dss.dcii.server.ejb.session.TitleServiceBean'.
[ejbdoclet] Generating Local Home interface for
'mil.dss.dcii.server.ejb.entity.FileDemandRequestorBean'.
[ejbdoclet] Generating Local Home interface for
'mil.dss.dcii.server.ejb.entity.TitleBean'.
[ejbdoclet] Generating Local Home interface for
'mil.dss.dcii.server.ejb.entity.UsersBean'.
[ejbdoclet] Generating Local Home interface for
'mil.dss.dcii.server.ejb.entity.NameOnlyBean'.
[ejbdoclet] Generating Local Home interface for
'mil.dss.dcii.server.ejb.entity.FileDemandBean'.
[ejbdoclet] Generating Local Home interface for
'mil.dss.dcii.server.ejb.entity.RolesBean'.
[ejbdoclet] Generating Local Home interface for
'mil.dss.dcii.server.ejb.session.PersonServiceBean'.
[ejbdoclet] Generating Local Home interface for
'mil.dss.dcii.server.ejb.entity.AkaBean'.
[ejbdoclet] Generating Local Home interface for
'mil.dss.dcii.server.ejb.entity.DossierBean'.
[ejbdoclet] Generating Local Home interface for
'mil.dss.dcii.server.ejb.entity.BatchErrorBean'.
[ejbdoclet] Generating Local Home interface for
'mil.dss.dcii.server.ejb.session.NameOnlyServiceBean'.
[ejbdoclet] Generating Local Home interface for
'mil.dss.dcii.server.ejb.session.DossierServiceBean'.
[ejbdoclet] Generating Local Home interface for
'mil.dss.dcii.server.ejb.entity.ManageAgencyBean'.
[ejbdoclet] Generating Local Home interface for
'mil.dss.dcii.server.ejb.entity.ManageAgencyOfficeBean'.
[ejbdoclet] Generating Local Home interface for
'mil.dss.dcii.server.ejb.session.ManageAkaServiceBean'.
[ejbdoclet] Generating Local Home interface for
'mil.dss.dcii.server.ejb.session.WebServiceBatchProcessingBean'.
[ejbdoclet] Generating Local Home interface for
'mil.dss.dcii.server.ejb.entity.PersonBean'.
[ejbdoclet] Generating Local Home interface for
'mil.dss.dcii.server.ejb.session.SubjectSearchServiceBean'.
[ejbdoclet] (XDocletMain.start                   47  ) Running
<deploymentdescriptor/>
[ejbdoclet] Generating EJB deployment descriptor (ejb-jar.xml).
[ejbdoclet] (XDocletMain.start                   47  ) Running <weblogic/>
[ejbdoclet] INFO:    Some classes refer to other classes that were not
found among the sources or on the classpath.
[ejbdoclet] (Perhaps the referred class doesn't exist? Hasn't been
generated yet?)
[ejbdoclet] The referring classes do not import any fully qualified
classes matching these classes.
[ejbdoclet] However, since no packages are imported, xjavadoc has
assumed that the referred classes
[ejbdoclet] belong to the same package as the referring class. The classes are:
[ejbdoclet] C:\project\DCII\src\mil\dss\dcii\server\ejb\session\WebServiceBatchProcessingBean.java
--> SubjectSearchServiceLocal qualified to
mil.dss.dcii.server.ejb.session.SubjectSearchServiceLocal
pmd:
compile:
     [echo] Class dir: ../classes, src dir: ../src
     [echo] [dcii]  COMPILE
     [echo] [dcii]  Compiling all out of date java source files ...
    [javac] Compiling 207 source files to C:\project\DCII\classes
     [echo] [dcii]  Done.
buildCommonJar:
     [echo] [dcii]  Checking to see if dciiShared.jar is up to date ...
     [echo] Build Dir: ../build, class dir: ../classes, src dir: ../src
      [jar] Building jar: C:\project\DCII\build\dciiShared.jar
     [copy] Copying 1 file to c:\project\lib\dcii
buildServerJar:
     [echo] [dcii]  Checking to see if dcii.jar is up to date ...
      [jar] Building jar: C:\project\DCII\build\server\dcii.jar
     [copy] Copying 1 file to c:\project\lib\dcii
checkEjbcDependecies:
     [echo] [dcii] Checking to see if EJBC is required
ejbc:
     [echo] c:\project\lib\isas\frameworkCommon.jar;c:\project\lib\struts\commons-beanutils.jar;c:\project\lib\struts\commons-collections-2.0.jar;c:\project\lib\struts\commons-collections.jar;c:\project\lib\struts\commons-dbcp.jar;c:\project\lib\struts\commons-digester.jar;c:\project\lib\struts\commons-fileupload.jar;c:\project\lib\struts\commons-lang.jar;c:\project\lib\struts\commons-logging.jar;c:\project\lib\struts\commons-net-1.2.2.jar;c:\project\lib\struts\commons-pool.jar;c:\project\lib\struts\commons-resources.jar;c:\project\lib\struts\commons-services.jar;c:\project\lib\struts\commons-validator.jar;c:\project\lib\struts\jakarta-oro.jar;c:\project\lib\struts\request.jar;c:\project\lib\struts\struts.jar;c:\project\lib\j2ee\j2ee.jar;c:\project\lib\jdom\jdom.jar;c:\project\lib\ldap\ldapbp.jar;C:\project\DCII\build\dciiShared.jar;c:\bea\weblogic81\server\lib\weblogic.jar
     [echo] [dcii]  Building client/server stubs for dcii Servers ...
     [java] <Aug 12, 2005 2:36:52 PM EDT> <Warning> <EJB> <BEA-010054>
<EJB Deployment: Aka has a class mil.dss.dcii.key.AkaKey that is in
the classpath. This class should only be located in the ejb-jar file.>
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\entity\Users_gm68mo_LocalHomeImpl.java:44:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\entity\Users_gm68mo_LocalHomeImpl.java:48:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbPostCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\session\ManageAkaService_707vo6_LocalHomeImpl.java:42:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\session\ManageAkaService_707vo6_LocalHomeImpl.java:46:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbPostCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\session\SubjectSearchService_9eh0ku_LocalHomeImpl.java:42:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\session\SubjectSearchService_9eh0ku_LocalHomeImpl.java:46:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbPostCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\session\TitleService_533nre_LocalHomeImpl.java:45:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\session\TitleService_533nre_LocalHomeImpl.java:49:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbPostCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\session\NameOnlyService_i795ow_LocalHomeImpl.java:45:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\session\NameOnlyService_i795ow_LocalHomeImpl.java:49:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbPostCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\session\ManageAgencyService_vvfks0_HomeImpl.java:54:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\session\ManageAgencyService_vvfks0_HomeImpl.java:58:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbPostCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\session\NameOnlyService_i795ow_HomeImpl.java:47:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\session\NameOnlyService_i795ow_HomeImpl.java:51:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbPostCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\entity\ManageAgency_4ge278_LocalHomeImpl.java:48:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\entity\ManageAgency_4ge278_LocalHomeImpl.java:52:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbPostCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\entity\NameOnly_4t5qri_LocalHomeImpl.java:44:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\entity\NameOnly_4t5qri_LocalHomeImpl.java:48:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbPostCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\session\FileDemandService_wattv4_HomeImpl.java:45:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\session\FileDemandService_wattv4_HomeImpl.java:49:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbPostCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\session\WebServiceBatchProcessingBean_f3lh59_HomeImpl.java:56:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\session\WebServiceBatchProcessingBean_f3lh59_HomeImpl.java:60:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbPostCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\entity\RolesBean_xrg4o0_LocalHomeImpl.java:45:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\entity\RolesBean_xrg4o0_LocalHomeImpl.java:49:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbPostCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\entity\ManageAgencyOffice_n2jq5g_LocalHomeImpl.java:43:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\entity\ManageAgencyOffice_n2jq5g_LocalHomeImpl.java:47:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbPostCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\session\DossierService_yf3p24_LocalHomeImpl.java:52:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\session\DossierService_yf3p24_LocalHomeImpl.java:56:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbPostCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\session\UserService_um3hps_HomeImpl.java:52:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\session\UserService_um3hps_HomeImpl.java:56:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbPostCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\entity\Titles_7bl8er_LocalHomeImpl.java:44:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\entity\Titles_7bl8er_LocalHomeImpl.java:48:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbPostCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\session\ReportService_41d40g_HomeImpl.java:53:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\session\ReportService_41d40g_HomeImpl.java:57:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbPostCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\session\SubjectSearchService_9eh0ku_HomeImpl.java:44:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\session\SubjectSearchService_9eh0ku_HomeImpl.java:48:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbPostCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\entity\FileDemandRequestor_9ambjk_LocalHomeImpl.java:43:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\entity\FileDemandRequestor_9ambjk_LocalHomeImpl.java:47:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbPostCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\session\DossierService_yf3p24_HomeImpl.java:54:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\session\DossierService_yf3p24_HomeImpl.java:58:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbPostCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\entity\FileDemand_b6hpa_LocalHomeImpl.java:43:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\entity\FileDemand_b6hpa_LocalHomeImpl.java:47:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbPostCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\session\PersonService_fo36j4_LocalHomeImpl.java:45:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\session\PersonService_fo36j4_LocalHomeImpl.java:49:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbPostCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\session\LoginService_bzcap4_HomeImpl.java:45:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\session\LoginService_bzcap4_HomeImpl.java:49:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbPostCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\session\PersonService_fo36j4_HomeImpl.java:47:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\session\PersonService_fo36j4_HomeImpl.java:51:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbPostCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\session\AuditLogService_gb1f3k_HomeImpl.java:44:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\session\AuditLogService_gb1f3k_HomeImpl.java:48:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbPostCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\session\TitleService_533nre_HomeImpl.java:47:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\session\TitleService_533nre_HomeImpl.java:51:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbPostCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\session\WebServiceBatchProcessingBean_f3lh59_LocalHomeImpl.java:54:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\session\WebServiceBatchProcessingBean_f3lh59_LocalHomeImpl.java:58:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbPostCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\session\ManageAkaService_707vo6_HomeImpl.java:44:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\session\ManageAkaService_707vo6_HomeImpl.java:48:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbPostCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\entity\Persons_6ctyql_LocalHomeImpl.java:44:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\entity\Persons_6ctyql_LocalHomeImpl.java:48:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbPostCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\entity\Dossiers_e1zqab_LocalHomeImpl.java:52:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbCreate", null);
     [java] ^
     [java] C:\DOCUME~1\chaikiy\LOCALS~1\Temp\appcgen\mil\dss\dcii\server\ejb\entity\Dossiers_e1zqab_LocalHomeImpl.java:56:
warning: non-varargs call of varargs method with inexact argument type
for last parameter;
     [java] cast to java.lang.Class for a varargs call
     [java] cast to java.lang.Class[] for a non-varargs call and to
suppress this warning
     [java] "ejbPostCreate", null);
     [java] ^
     [java] Note: Some input files use unchecked or unsafe operations.
     [java] Note: Recompile with -Xlint:unchecked for details.
     [java] 60 warnings
     [java] [J2EE:160119]Appc is unable to process the file
'C:\project\DCII\ant\..\build\server\dcii.jar'. The following error
occurred:
     [java] ERROR: The classes which ejbc generated from your home and
remote interfaces cannot be loaded.  Please ensure that you have set
the -d option to a writeable directory.
     [java] at weblogic.ejb20.ejbc.EJBCompiler.doRmic(EJBCompiler.java:354)
     [java] at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:491)
     [java] at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:387)
     [java] at weblogic.appc.compileEJB(appc.java:802)
     [java] at weblogic.appc.compileEJB(appc.java:776)
     [java] at weblogic.appc.compileInput(appc.java:463)
     [java] at weblogic.appc.runBody(appc.java:184)
     [java] at weblogic.utils.compiler.Tool.run(Tool.java:192)
     [java] at weblogic.utils.compiler.Tool.run(Tool.java:147)
     [java] at weblogic.appc.main(appc.java:1030)
     [java] weblogic.utils.compiler.ToolFailureException: ERROR: The
classes which ejbc generated from your home and remote interfaces
cannot be loaded.  Please ensure that you have set the -d option to a
writeable directory.
     [java] at weblogic.ejb20.ejbc.EJBCompiler.runRmic(EJBCompiler.java:927)
     [java] at weblogic.ejb20.ejbc.EJBCompiler.doRmic(EJBCompiler.java:351)
     [java] at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:491)
     [java] at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:387)
     [java] at weblogic.appc.compileEJB(appc.java:802)
     [java] at weblogic.appc.compileEJB(appc.java:776)
     [java] at weblogic.appc.compileInput(appc.java:463)
     [java] at weblogic.appc.runBody(appc.java:184)
     [java] at weblogic.utils.compiler.Tool.run(Tool.java:192)
     [java] at weblogic.utils.compiler.Tool.run(Tool.java:147)
     [java] at weblogic.appc.main(appc.java:1030)
     [java] --------------- nested within: ------------------
     [java] weblogic.utils.compiler.ToolFailureException:
[J2EE:160121]Errors encountered while compiling module
'C:\project\DCII\ant\..\build\server\dcii.jar':
     [java] ERROR: The classes which ejbc generated from your home and
remote interfaces cannot be loaded.  Please ensure that you have set
the -d option to a writeable directory.
     [java] - with nested exception:
     [java] [
     [java] ERROR: The classes which ejbc generated from your home and
remote interfaces cannot be loaded.  Please ensure that you have set
the -d option to a writeable directory.
     [java] ]
     [java] at weblogic.appc.compileEJB(appc.java:781)
     [java] at weblogic.appc.compileInput(appc.java:463)
     [java] at weblogic.appc.runBody(appc.java:184)
     [java] at weblogic.utils.compiler.Tool.run(Tool.java:192)
     [java] at weblogic.utils.compiler.Tool.run(Tool.java:147)
     [java] at weblogic.appc.main(appc.java:1030)

BUILD FAILED
C:\project\DCII\ant\build.xml:57: The following error occurred while
executing this line:
C:\project\DCII\ant\build.xml:42: The following error occurred while
executing this line:
C:\project\ant\build.xml:97: The following error occurred while
executing this line:
C:\project\DCII\ant\ejb-build.xml:302: Java returned: 1

Total time: 39 seconds

****************************************

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


Mime
View raw message