I am upgrading the Ofbiz portion of several applications and have run into a
few errors.  This is ofbiz 12.04 running postgres with entityengine.xml
configured to use postgres and with a postgres driver jar file loaded into
framework/entity/lib/jdbc.  These applications have run with 9.x for many
years.

First, is there any general documentation as to upgrading from version 9 to
10 and from version 10 to 11 and or 12.  What configuration changes are
required beyond the obvious changes in entityengine.xml.

Second, I noted the lack of entitygroup.xml files generally.  Are these
files no longer required and if not, how do you define what group an entity
belongs to.

I am also trying to fix all the errors in the console.log file.

I extend several view entities.  I am getting an error like this for all of
them:

Exception: org.ofbiz.entity.GenericEntityConfException
Message: Entity to extend does not exist: ContentAndRole

This does exist as a view-entity in
applications\content\enditydef\enditymodel.xml

Can view entities no longer be extended?  Basically, I am just adding
relations to these view entities to make it easier to use them.

Finally, I am gettng this error:

2013-05-15 14:10:01,058 (main) [   DelegatorFactory.java:53 :ERROR]
---- exception
report ----------------------------------------------------------
Exception: java.lang.ClassNotFoundException
Message: java.lang.Class
---- stack
trace ---------------------------------------------------------------
java.lang.ClassNotFoundException: java.lang.Class
org.ofbiz.base.util.UtilObject.getObjectFromFactory(UtilObject.java:209)

I added a printf statement at the top of this function to print the class
names and the output looks like this:

Loading default from interface java.lang.Class

Where default is the name of the object we are trying to load and
java.lang.Class is the factory interface we are loading from, so I am
assuming that this is the default delegator and something is misconfigured.

Any pointers would help in trying to track this down.



I am getting lots of warnings in the log file.  I have gone through and
fixed most of the warnings.

One warning I am getting is this:
ContainerLoader.java:77 :INFO ] [Startup] Loading containers...
Warning : Module classpath component 'C:\Windows\Sun\Java\bin' is not valid
and will be ignored

I dont even have a Windows\Sun directory.  Can anyone tell me where tis is
being generated from?


Thanks in Advance
Skip


Reply via email to