Solved

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

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
java set up 1 46
eclipse formatting 6 41
C# SQL BULK INSERT CLASS 5 35
starter POM and spring-boot-starter,  spring-boot-web 2 14
Many times as a report developer I've been asked to display normalized data such as three rows with values Jack, Joe, and Bob as a single comma-separated string such as 'Jack, Joe, Bob', and vice versa.  Here's how to do it. 
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

758 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

24 Experts available now in Live!

Get 1:1 Help Now