Bring the ham hocks and water to a boil in a large pot over high heat. Reduce heat to meduim-low, cover, and simmer until the pork is very tender, about 2 hours. When done, remove the ham hocks to a plate to cool to room temperature, then shred the meat, discarding the fat, skin, and bones. Strain the cooking liquid and reserve 2 1/2 quarts.
Return the 2 1/2 quarts of broth to a boil in a large pot over high heat, and stir in the chicken soup base until dissolved. Place the cornmeal in a bowl, and stir in the thyme, sage, savory, allspice, nutmeg, clove, black pepper, white pepper, cayenne pepper, salt, and pepper. Slowly whisk the cornmeal into the boiling broth, and reduce heat to medium-low. Simmer 15 minutes, stirring frequently.
While the cornmeal is cooking, melt the butter in a large skillet over medium heat. Stir in the onion, and cook until the onion has softened and turned translucent, about 5 minutes. After the cornmeal has cooked for 15 minutes, stir in the onion, shredded ham hock, and Cheddar cheese. Cook and stir an additional 15 minutes; the mixture will be thick enough that a spoon will stand up in it. Season to taste, scrapple must be well-seasoned or it will taste very bland when fried. Oil the bottom and sides of three 9×5 inch loaf pans, and pour in the scrapple. Cover the pans with plastic wrap, and refrigerate overnight.
To serve the scrapple, remove from the loaf pans and cut into 1/4 to 1/2 inch thick slices. Fry in melted butter in a skillet over medium-high heat until brown and crispy on both sides, about 10 minutes.