Solved

syntax on XML file: Element type "sun-appserv-deploy" must be followed by either attribute specifications ">" or "/>"

Posted on 2010-11-30
2
616 Views
Last Modified: 2012-05-10
Hello I am unable to make this work:

 <target name="deploy.war.to.glassfish" depends="deploy.create.glassfish.password.file">
    <sun-appserv-deploy
        user="${deployment.glassfish.server.username}"
        passwordfile="${deploy.glassfish.password.file.path}"
        host="${deployment.glassfish.server}"
        port="${deployment.glassfish.admin.port}"
            
            <!--11/30/2010  Fileset used below to list all the files that were needed to be deployed. -->
            <fileset dir="d:/NHINC">
                  <include name="AdapterDocRetrieveProxyEJB.jar"/>
                  <include name="AggregatorEJB.jar"/>
                  <include name="AuditRepositoryEJB.jar"/>
                  <include name="ConnectionManagerEJB.jar"/>
                  <include name="DocumentTransformEJB.jar"/>
                  <include name="EntityAuditLogQueryEJB.jar"/>
                  <include name="EntityDocQueryProxyEJB.jar"/>
                  <include name="EntityHiemSubscriptionEJB.jar"/>
                  <include name="NhincDocQueryEJB.jar"/>
                  <include name="NhincDocRetrieveEJB.jar"/>
                  <include name="NhincHiemSubscriptionEJB.jar"/>
                  <include name="AdapterPolicyEngineProxyEJB.jar"/>
                  <include name="NhincAuditQueryEJB.jar"/>
                  <include name="GatewaySubscriptionRepositoryEJB.jar"/>
                  <include name="AdapterDocQueryProxyEJB.jar"/>
                  <include name="EntityDocRetrieveEJB.jar"/>
                  <include name="PropAssessorEJB.jar"/>
            </fileset>
            
            asinstalldir="${glassfish.home}"
            />
  </target>


I receive the error listed above.

Please help out.

Thank you,
Midani
0
Comment
Question by:midani222
2 Comments
 
LVL 16

Accepted Solution

by:
jmatix earned 500 total points
ID: 34240831
Try this:

<target name="deploy.war.to.glassfish" depends="deploy.create.glassfish.password.file">
    <sun-appserv-deploy
        user="${deployment.glassfish.server.username}"
        passwordfile="${deploy.glassfish.password.file.path}"
        host="${deployment.glassfish.server}"
        port="${deployment.glassfish.admin.port}"
        asinstalldir="${glassfish.home}">  
            <!--11/30/2010  Fileset used below to list all the files that were needed to be deployed. -->
            <fileset dir="d:/NHINC">
                  <include name="AdapterDocRetrieveProxyEJB.jar"/>
                  <include name="AggregatorEJB.jar"/>
                  <include name="AuditRepositoryEJB.jar"/>
                  <include name="ConnectionManagerEJB.jar"/>
                  <include name="DocumentTransformEJB.jar"/>
                  <include name="EntityAuditLogQueryEJB.jar"/>
                  <include name="EntityDocQueryProxyEJB.jar"/>
                  <include name="EntityHiemSubscriptionEJB.jar"/>
                  <include name="NhincDocQueryEJB.jar"/>
                  <include name="NhincDocRetrieveEJB.jar"/>
                  <include name="NhincHiemSubscriptionEJB.jar"/>
                  <include name="AdapterPolicyEngineProxyEJB.jar"/>
                  <include name="NhincAuditQueryEJB.jar"/>
                  <include name="GatewaySubscriptionRepositoryEJB.jar"/>
                  <include name="AdapterDocQueryProxyEJB.jar"/>
                  <include name="EntityDocRetrieveEJB.jar"/>
                  <include name="PropAssessorEJB.jar"/>
            </fileset>
            </sun-appserv-deploy>
</target>

Open in new window

0
 

Author Closing Comment

by:midani222
ID: 34241111
Thanks!
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API (http://dictionary.reference.com/browse/API?s=t) has made its way into the popular lexicon of the English language.  A few years ago, …
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question