Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Error when deploying Mosaic app

Rupert_Knowles
Level 2
Level 2

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

9 Replies
Hodmi
Level 8
Level 8

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

Rupert_Knowles
Level 2
Level 2

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>

Hodmi
Level 8
Level 8

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

RobertoBoya
Level 1
Level 1

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

Rupert_Knowles
Level 2
Level 2

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>

Rupert_Knowles
Level 2
Level 2

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.

Hodmi
Level 8
Level 8

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

Val_Snider-Lync
Level 3
Level 3

I'm going to flag this as assumed answered.

Cheers,

Val