From: Daniel P. B. <ber...@re...> - 2004-03-15 14:04:29
|
On Mon, Mar 15, 2004 at 01:56:58PM -0000, Pillai, Ainga wrote: > Hi, >=20 > Installed a content type RPM on our production server. Running 'ccm load > mycontenttype' loads the content into the database and completes > successfully. However, when starting the server using 'ccm start' I get a > ClassNotFoundException for the content type initializer.=20 >=20 > But the command 'ccm which uk.gov.camden.mycontenttypeinitializer' returns > the name of the correct jar file and location of the class. >=20 > The file /etc/ccm/ccm.classpath does contain the jar files of my content > type.=20 You've almost certainly not run 'ccm hostinit' after loading the contnet type. The 'ccm.classpath' file is only used for command line tools. WHen running in a servlet container, the normal classpath rules apply - ie it'll look in the various WEB-INF/lib directories. Dan. --=20 |=3D- Daniel P. Berrange - ber...@re... -= =3D| |=3D- Red Hat, 338 Euston Road, London, NW1 3BT. +44 (0)7977 267 243 -= =3D| |=3D- -= =3D| |=3D- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -= =3D|=20 |