From: dmckeon on
This is the contents of my application.xml file. Thanks for your
help!!!

From: dmckeon on
I guess it helps to actually paste the code in! Sorry!

<?xml version="1.0" encoding="UTF-8"?>
<application id="Application_ID" version="1.4"
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/application_1_4.xsd">
<display-name>
IgFolderListEAR</display-name>
<module id="WebModule_1128609024296">
<web>
<web-uri>IgFolderList.war</web-uri>
<context-root>IgFolderList</context-root>
</web>
</module>
<module id="WebModule_1128696838171">
<web>
<web-uri>IgFolderListClient.war</web-uri>
<context-root>IgFolderListClient</context-root>
</web>
</module>
</application>
<application xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/application_1_4.xsd"
id="Application_ID">
<display-name>
IgFolderListEAR</display-name>
</application>

From: Oliver Wong on

<dmckeon(a)ameritas.com> wrote in message
news:1129308892.676200.50310(a)g43g2000cwa.googlegroups.com...
>I guess it helps to actually paste the code in! Sorry!
>
> <?xml version="1.0" encoding="UTF-8"?>
> <application id="Application_ID" version="1.4"
> xmlns="http://java.sun.com/xml/ns/j2ee"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
> http://java.sun.com/xml/ns/j2ee/application_1_4.xsd">
> <display-name>
> IgFolderListEAR</display-name>
> <module id="WebModule_1128609024296">
> <web>
> <web-uri>IgFolderList.war</web-uri>
> <context-root>IgFolderList</context-root>
> </web>
> </module>
> <module id="WebModule_1128696838171">
> <web>
> <web-uri>IgFolderListClient.war</web-uri>
> <context-root>IgFolderListClient</context-root>
> </web>
> </module>
> </application>
> <application xmlns="http://java.sun.com/xml/ns/j2ee"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
> http://java.sun.com/xml/ns/j2ee/application_1_4.xsd"
> id="Application_ID">
> <display-name>
> IgFolderListEAR</display-name>
> </application>
>

You have 2 root elements (i.e. the <application> element appears twice),
but I think you're only allowed to have 1.

- Oliver


From: Andrew Thompson on
dmckeon(a)ameritas.com wrote:


> <?xml version="1.0" encoding="UTF-8"?>
> <application id="Application_ID" version="1.4"

OK so far..

> xmlns="http://java.sun.com/xml/ns/j2ee"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
> http://java.sun.com/xml/ns/j2ee/application_1_4.xsd">

...but that XSD document tells me

" The application element is the root element of a J2EE
application deployment descriptor.
....
<xsd:unique name="context-root-uniqueness">

The context-root element content must be unique
in the ear."

...and..

> <display-name>
> IgFolderListEAR</display-name>
......
> </application>
> <application xmlns="http://java.sun.com/xml/ns/j2ee"

...this XML has two of them.
From: dmckeon on
Thanks, guys. I don't fully know what that all means, but it gives me
a good starting point. I appreciate the help!

First  |  Prev  |  Next  |  Last
Pages: 1 2 3
Prev: try/catch
Next: Try to install JSIM