Click here to Skip to main content
15,893,487 members
Articles / Programming Languages / XML

Gotcha: EA Server Config. XML File Comments

Rate me:
Please Sign up or sign in to vote.
4.00/5 (1 vote)
29 Dec 2013CPOL1 min read 5.2K   1  
EA Server config. XML file comments

Sybase EA Server (Ver 5.5) provides 2 interfaces for the admin to work with the Server and the Repository. Sybase Jaguar Manager is the GUI interface, that one can use to manage the Server and the repositories.

Jagtool is the command line equivalent of the above manager. There are a lot of things you can do in Jagtool and with host scripting (batch files in Windows), you can make real powerful scripts to execute these in batch mode.

EA Server typically configures all elements using properties files. But, it also allows us to use XML files to configure the server. These are available at various levels such as Server, Package, Component, Connection Cache, etc.

This gotcha is about writing comments in an XML file meant for configuring EA Server. Single line comments follow the XML/HTML standard.

XML
<!!-- this is a single line comment -->

When you write multiline comments, make sure the tags are on their own line, thus:

XML
<!!-- 
This is a 
multi-line 
comment 
-->

If you include any text in the first line, it will error out.

Note: You only need <!– to mark the beginning of a comment; I doubled exclamation mark to avoid losing the comment line in view!! Otherwise, WordPress HTML processor would have hidden it from view.

Filed under: CodeProject, EAServer, Powerbuilder
Tagged: comments, easerver, XML 

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) City of Los Angeles
United States United States
Originally a Physics major, fell in love with Microprocessors and switched to Computer Science 20+ years ago. Since then, dabbled in various languages including, PowerBuilder, Oracle, Java, C, C++, Perl, Python etc. Constantly striving for quality and performance too.

I try to help fellow developers with technology as a way of "giving back to the community". Blogging became a natural extension of that effort. Still learning to perfect that art. If one new programmer out there benefits from this blog, my time and effort are fully worth it.

The underlying theme in my blogs is power and beauty of programming (and technology in general). A well written program gives me the sense of awe you get when you look at a man made wonder like Angkor Wat. You experience poetry, art, mystique, power all at once. A program and the troubleshooting that ensues also gives you a feeling you get while reading a mystery novel!

Comments and Discussions

 
-- There are no messages in this forum --