Solved

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

Posted on 2010-11-30
2
614 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
microsoft access - xml 10 58
Java Jpanels and Jframe 8 28
javap bin 2 28
MS Access XML Export Query Setup Multiple Tag Values 15 30
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, …
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

895 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now