Error when deploying Mosaic app

Avatar

Avatar
Validate 1
Level 1
Rupert_Knowles
Level 1

Likes

0 likes

Total Posts

7 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
Rupert_Knowles
Level 1

Likes

0 likes

Total Posts

7 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
Rupert_Knowles
Level 1

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
Boost 50
Level 5
Hodmi
Level 5

Likes

68 likes

Total Posts

454 posts

Correct reply

53 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Boost 50
Level 5
Hodmi
Level 5

Likes

68 likes

Total Posts

454 posts

Correct reply

53 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile
Hodmi
Level 5

29-09-2009

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

Avatar

Avatar
Validate 1
Level 1
Rupert_Knowles
Level 1

Likes

0 likes

Total Posts

7 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
Rupert_Knowles
Level 1

Likes

0 likes

Total Posts

7 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
Rupert_Knowles
Level 1

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
Boost 50
Level 5
Hodmi
Level 5

Likes

68 likes

Total Posts

454 posts

Correct reply

53 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Boost 50
Level 5
Hodmi
Level 5

Likes

68 likes

Total Posts

454 posts

Correct reply

53 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile
Hodmi
Level 5

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
Level 1
RobertoBoya
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
View profile

Avatar
Level 1
RobertoBoya
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
View profile
RobertoBoya
Level 1

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
Validate 1
Level 1
Rupert_Knowles
Level 1

Likes

0 likes

Total Posts

7 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
Rupert_Knowles
Level 1

Likes

0 likes

Total Posts

7 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
Rupert_Knowles
Level 1

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
Boost 50
Level 5
Hodmi
Level 5

Likes

68 likes

Total Posts

454 posts

Correct reply

53 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Boost 50
Level 5
Hodmi
Level 5

Likes

68 likes

Total Posts

454 posts

Correct reply

53 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile
Hodmi
Level 5

29-09-2009

Avatar

Avatar
Validate 1
Level 1
Rupert_Knowles
Level 1

Likes

0 likes

Total Posts

7 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
Rupert_Knowles
Level 1

Likes

0 likes

Total Posts

7 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
Rupert_Knowles
Level 1

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
Boost 50
Level 5
Hodmi
Level 5

Likes

68 likes

Total Posts

454 posts

Correct reply

53 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Boost 50
Level 5
Hodmi
Level 5

Likes

68 likes

Total Posts

454 posts

Correct reply

53 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile
Hodmi
Level 5

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
Affirm 3
Level 2
Val_Snider-Lync
Level 2

Likes

0 likes

Total Posts

47 posts

Correct reply

3 solutions
Top badges earned
Affirm 3
Affirm 1
View profile

Avatar
Affirm 3
Level 2
Val_Snider-Lync
Level 2

Likes

0 likes

Total Posts

47 posts

Correct reply

3 solutions
Top badges earned
Affirm 3
Affirm 1
View profile
Val_Snider-Lync
Level 2

30-09-2009

I'm going to flag this as assumed answered.

Cheers,

Val