Highlighted

Error when deploying Mosaic app

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

Highlighted

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>

Highlighted

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

Highlighted

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

Highlighted

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>

Highlighted

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.

Highlighted

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