Hi there ...
First of all, well done VOSAO awesome job.
Yesterday I downloaded the vosaocms-0.3-20.02.2010.war file and unpacked
with Eclipse. Then I though that the Eclipse plugin will do its job and
deployed easily the war, unfortunatelly was not the case :(
However, after reading some post here and there I finally could deployed
the CMS locally and on the cloud (appengine).
Problems and solutions:
1. I had some problems with the java.home variable will I was updating my
applications through the appengine. Because I installed the JDK in
"C:\Program Files\Java\jdk1.6.0_13" and the process was liking the compiler
and some files in "C:\Program Files\Java" so what I did might not be a
clever or efficient way but it worked :P
Solution (in my case): I had to copy content of "C:\Program
Files\Java\jdk1.6.0_13" to "C:\Program Files\Java", yes all the bin, lib,
etc folders.
2. After this problem I come cross with another. The update process said
that the application was deployed successfully. However, when I accessed my
application which was already deployed in the appengine. It showed and
aweful 500 Internal Server Error. I went to the logs and try to track what
was happening. The problem was related to the initialization of the context
specifically with the 'persistenceManagerFactory' log as follows:
org.springframework.web.context.ContextLoader initWebApplicationContext:
Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'persistenceManagerFactory' defined in ServletContext
resource [/WEB-INF/applicationContext.xml]: Invocation of init method
failed; nested exception is javax.jdo.JDOFatalInternalException: Unexpected
exception caught.
Then almost at the end the cause was:
"Caused by: org.datanucleus.exceptions.NucleusException: Plugin (Bundle)
"org.datanucleus.store.appengine" is already registered. Ensure you dont
have multiple JAR versions of the same plugin in the classpath. The URL
"file:/base/data/home/apps/canberraservices/1.340205870101291195/WEB-
INF/lib/datanucleus-appengine-1.0.5.jar" is already registered, and you are
trying to register an identical plugin located at URL
"file:/base/data/home/apps/canberraservices/1.340205870101291195/WEB-
INF/lib/datanucleus-appengine-1.0.3.jar.
SOLUTION: The vosaocms-0.3-20.02.2010.war includes to jars the datanucleus-
appengine-1.0.5.jar and the datanucleus-appengine-1.0.3.jar. I just deleted
the latest and redeployed and it worked.
Probes: http://canberraservices.appspot.com
Cheers to everyone ...
Promote VOSA is what I was waiting for a real open source CMS in the Cloud
and in Java ...
Thanks ways .. keep working ... :)
Original issue reported on code.google.com by hector...@gmail.com on 1 Mar 2010 at 3:22
Original issue reported on code.google.com by
hector...@gmail.com
on 1 Mar 2010 at 3:22