deploying webservices: Cannot find the declaration of element ''AppContainer''.

xiffy

New Member
Hi all,
I'm in the middle of trying to get Webservices running for Openedge 10.0B
I've got Progress, Tomcat (5.0.28) installed on my local machine (Win2K).
I've copie the wsa directory from openEdge-installpath/servlet to the tomcat-installpath/webapps
When i point my browser to http://localhost:8080/manager/html/list Ican see that the wsa is running; When I point my browser tohttp://localhost:8080/wsa/wsa1 it tells me:
WSA Web Services

Status:wsa1:OK:111


So that seems ok.
Then I open the progress explorer tool, connect to the admin and go thewebservices adapter. Choose the option 'deploy a new webservice' andchoose my wsm file. No matter what wsm file I choose, in the progressexplorer I'll always end up with an error telling me the webserviceshas not been deployed. "Failed to deploy Webservice for:wsa1 WSArequest error: Unable to initialize the application"
Then when I open the wsa logfile I see some errors generated by the wsawhilst parsing the wsm file: (the wsa logfiles are partly in dutch,don't know why because english is the default language so i'lltranslate this myself. so some of these are not the real progressmessages)
[05/02/16@11:10:00.464+0100] P-000000 T-http-8080-Processor23 3wsa1Admin-Provider creating WSADfile:C:/bin/tomcat/webapps/wsa//wsa1/erbstest.wsad
[05/02/16@11:10:00.479+0100] P-000000 T-http-8080-Processor23 1 wsa1 ---------------- XML parsing error: NULL
[05/02/16@11:10:00.479+0100] P-000000 T-http-8080-Processor23 3wsa1WSA Message: cvc-elt.1: Cannot find the declaration ofelement''AppContainer''.
[05/02/16@11:10:00.479+0100] P-000000 T-http-8080-Processor23 3 wsa1WSA Line: 2 Colom: 112
[05/02/16@11:10:00.479+0100] P-000000 T-http-8080-Processor23 3wsa1Admin-Provider creating WSDLfile:C:/bin/tomcat/webapps/wsa//wsa1/erbstest.wsdl
[05/02/16@11:10:00.510+0100] P-000000 T-http-8080-Processor23 3wsa1Admin-Provider creating Application Runtime attributefile:C:/bin/tomcat/webapps/wsa//wsa1/erbstest.props
[05/02/16@11:10:00.510+0100] P-000000 T-http-8080-Processor23 3wsa1Admin-Provider writing Runtime attributes for applicationerbstestto disk.
[05/02/16@11:10:00.510+0100] P-000000 T-http-8080-Processor23 3 wsa1 Admin-Provider Initializing application
[05/02/16@11:10:00.510+0100] P-000000 T-http-8080-Processor23 3 wsa1Admin-Provider Initializing application: erbstest
[05/02/16@11:10:00.510+0100] P-000000 T-http-8080-Processor23 1wsa1---------------- XML parsingfout:file:///C:/bin/tomcat/webapps/wsa//wsa1/erbstest.props
[05/02/16@11:10:00.510+0100] P-000000 T-http-8080-Processor23 3wsa1Properties Melding: cvc-elt.1:Cannot find the declaration ofelement ''ApplicationRuntimeProperties''.



When I open the wsm file, both elements AppContainer and AppObject are present.
Also trying to deploy one of the progress samples leaves me with this xml-parsing errors.


Does anyone have a clue what I'm doing wrong? Any help would be appreciated.
 
I noticed this thread hadn't been answered the last two months and did get a couple of views. The problems I described above all had to do with a couple of incompatibilities between Tomcat en Openedge.
This list should give you an indication which version of Tomcat and JVM do operate with OpenEdge webservices and which don't:
Fix: Upgrade to 10.0B Service Pack 1 (or later) and make sure you are using one of these configurations (or a similar one):

Tomcat 5.0.8 + J2SE 1.4.2_06 / 1.5.0_1 - works fine.
Tomcat 5.0.16 + J2SE 1.4.2_06 / 1.5.0_1 - works fine.
Tomcat 5.0.28 + J2SE 1.4.2_06 / 1.5.0_1 - fails.
Tomcat 5.5.7 + J2SE 1.4.2_06 (needs compat package) - fails.
Tomcat 5.5.7 + J2SE 1.5.0_1 - works fine.


This information can be found in solution P65736
 
Back
Top