Topic
2 replies Latest Post - ‏2013-04-16T03:34:50Z by Pathogen67
SystemAdmin
SystemAdmin
1192 Posts
ACCEPTED ANSWER

Pinned topic Problem with geronimo-web.xml, adding LDAP-Realm, in HATS 8.5 with Geronimo

‏2013-03-27T19:54:23Z |
Hello:

We are trying to build a HATS project to run on a Geronimo Server. For the most part it will work, until I try to add an LDAP-Realm to the geronimo-web.xml file.

After I add the realm, and I look at the source of geronimo-web.xml file, I will see a syntax error on “dep:gbean”, and when I hover my mouse over it it reads:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'dep:gbean'. One of '{"http://geronimo.apache.org/xml/ns/deployment-1.2":service, http://java.sun.com/xml/ns/ persistence":persistence}' is expected.

And as a result the project will not deploy. I have opened a ticket with IBM, but they have requested I also post to the forum. Any help would be appreciated.

Here is a little bit of information about my environment:

Workstation: Windows XP Service Pack 3
• RAD: 8.5.1 Fixpack 1
• HATS: 8.5.0.2
• Eclipse plugin for Geronimo (GEP)
• Geronimo Server v2.2

Steps to reproduce:
• Create a very standard HATS Project
• Add a Geronimo 2.2 Server
• Deploy project and it works. No problems so far…..
• Then Add a Security role and a security constraint to WEB-INF/web.xml
• Start adding the details of the ldap-realm to WEB-INF/geronimo-web.xml, this is when the problems start.

Thanks....
Updated on 2013-03-27T20:05:13Z at 2013-03-27T20:05:13Z by tmparker