Error when deploying Mosaic app

Avatar

Avatar

Rupert_Knowles

Avatar

Rupert_Knowles

Rupert_Knowles

29-09-2009

Hi,

Ref: Next Gen RIA, Exercise 5,Task 2, page 13

I am getting an error in the tomcat console window, when running Ant to deploy the Mosaic app. However the Ant build is successful.

See attached log file.

Thanks,

Rupert

Replies

Avatar

Avatar

Hodmi

Avatar

Hodmi

Hodmi

29-09-2009

Interesting.  Do the applications get deployed (launch the Mosaic AIR app)?

Avatar

Avatar

Rupert_Knowles

Avatar

Rupert_Knowles

Rupert_Knowles

29-09-2009

Yes, it does, but it gives an error when you click on the Max2009App.

"Error Loading Application"

Then

<error><timestamp>2009.09.29 14.43.30</timestamp><code>0</code><message>null</message></error>

Avatar

Avatar

Hodmi

Avatar

Hodmi

Hodmi

29-09-2009

Sounds like an error in one of the XML files.  Double check the max2009_catalog.xml and/or the MAX2009.xml file.  If you are still having trouble, post those two files and I'll have a look.

Cheers,

Mike

Avatar

Avatar

RobertoBoya

Avatar

RobertoBoya

RobertoBoya

29-09-2009

Hi there

I had the same error due to an error in the XML "max2009_catalog.xml"

The easiest way to find the error out is open it on Firefox. If the XML is malformed, it will point the line and character where the error is.

In my case, I reordered some lines and a ">" was out of place.

I hope this helps

Regards

.rb

Avatar

Avatar

Rupert_Knowles

Avatar

Rupert_Knowles

Rupert_Knowles

29-09-2009

Checked the XML files, they render OK in Firefox without problems.

Went back over all the steps again, no change. Files attached.

But still getting deployment errors:

C:\MAX2009\Next Gen RIAs\Lab Material\max2009>ant
Buildfile: build.xml

deploy-catalogs:
     [echo] <error><timestamp>2009.09.29 17.04.28</timestamp><code>0</code><mess
age>com/adobe/livecycle/mosaic/service/rest/catalogservice/CatalogServiceImportR
esourceRestHandler$CatalogServiceAppModelImportFilter</message></error>

deploy-applications:
     [echo] <?xml version="1.0" encoding="UTF-8"?><application-service-invocatio
n><application-import-response><application-import-result application-import-res
ult-code="0"/></application-import-response></application-service-invocation>

deploy:

BUILD SUCCESSFUL
Total time: 1 second
C:\MAX2009\Next Gen RIAs\Lab Material\max2009>

Avatar

Avatar

Hodmi

Avatar

Hodmi

Hodmi

29-09-2009

Avatar

Avatar

Rupert_Knowles

Avatar

Rupert_Knowles

Rupert_Knowles

29-09-2009

Tried the 2 XML files above. But had the same problem.

I have attached my ZIP application file. If someone else can deploy this without problems, then something else is broken.

Avatar

Avatar

Hodmi

Avatar

Hodmi

Hodmi

29-09-2009

Rupert;

I brought your zip into my MAX environment and it runs fine.

In the C:\MAX2009\Next Gen RIAs\Server\9.0.0.0.20090828.2.219456\dist\samples\max2009 folder is a complete lab.  Can you ANT that build.xml and see what happens?

Mike

Avatar

Avatar

Val_Snider-Lync

Avatar

Val_Snider-Lync

Val_Snider-Lync

30-09-2009

I'm going to flag this as assumed answered.

Cheers,

Val