[redhat-ccm-list] Cannot seem to get ccm installed. Please help.

Tom tom415 at yahoo.com
Tue Apr 20 00:25:47 UTC 2004


Dennis,

Success!  THANK YOU very much for your help.

Regards,
Tom Baik




--- Dennis Gregorovic <dgregor at redhat.com> wrote:
> Before, when I wrote /usr/share/tomcat, that was just a sample value.
> 
> You'll have to use whatever corresponds to the installation of Tomcat
> that you have.  
> 
> If CATALINA_BASE is set, you can use that value for TOMCAT_HOME.
> http://jakarta.apache.org/tomcat/tomcat-4.1-doc/RUNNING.txt
> 
> -- Dennis
> 
> 
> On Mon, 2004-04-19 at 19:54, Tom wrote:
> > Dennis,
> > 
> > Echoing TOMCAT_HOME returns /usr/share/tomcat but the directory is
> > empty.  Running ccm start with the --verbose flag returned the
> > following:
> > 
> > [root at www tomcat]# ccm start --verbose --container=tomcat
> > /usr/local/java/current/bin/java -classpath
> >
>
/usr/local/java/current/lib/tools.jar:/usr/share/tomcat/bin/bootstrap.jar:/usr/share/ccm-tools/server/tomcat/classes
> >   -Dccm.home=/usr/share/ccm -Dccm.conf=/usr/share/ccm/conf/registry
> > -Dcom.arsdigita.util.Assert.enabled=true
> >
>
-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
> >
>
-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl
> >
>
-Djavax.xml.transform.TransformerFactory=com.icl.saxon.TransformerFactoryImpl
> >
>
-Djava.ext.dirs=/usr/local/java/current/jre/lib/ext:/usr/local/java/current/lib/ext:/usr/share/ccm/webapps/WEB-INF/system:/usr/share/ccm-tools/lib/security
> >  -Djava.endorsed.dirs=/usr/share/tomcat/common/endorsed
> > -Dcatalina.base=/usr/share/tomcat -Dcatalina.home=/usr/share/tomcat
> > com.arsdigita.tools.catalina.startup.Bootstrap -config
> > /usr/share/ccm/conf/server.xml start >
> > /usr/share/ccm/logs/catalina-stdout.log 2>
> > /usr/share/ccm/logs/catalina-stderr.log &
> > 
> > 
> > It looks like bootstrap.jar is in the classpath.  What can you tell
> > from this output?
> > 
> > Thanks,
> > Tom
> > 
> > 
> > 
> > 
> > 
> > --- Dennis Gregorovic <dgregor at redhat.com> wrote:
> > > Sounds like Tomcat's bootstrap.jar is not in the classpath.  If
> you
> > > add
> > > the --verbose flag when running ccm start, it will print out the
> > > classpath that it is using.  My guess is that TOMCAT_HOME is not
> set
> > > correctly.  
> > > 
> > > -- Dennis
> > > 
> > > On Mon, 2004-04-19 at 16:21, Tom wrote:
> > > > Dennis,
> > > > 
> > > > Great.  I continued with the installation procedure by running
> "ccm
> > > > hostinit --container=tomcat --parameter
> > > http-port=<http-port-number>
> > > > --parameter shutdown-port=<shutdown-port-number>".
> > > > 
> > > > When I execute "ccm start --container=tomcat", ccm does not
> seem to
> > > > start up.  There is no process listening on the http-port and I
> get
> > > the
> > > > following error in the log file catalina-stdout.log:
> > > > 
> > > > Bootstrap: Class loader creation threw exception
> > > > java.lang.NoClassDefFoundError:
> > > > org/apache/catalina/startup/ClassLoaderFactory
> > > >         at
> > > com.arsdigita.tools.catalina.startup.Bootstrap.main(Unknown
> > > > Source)
> > > > 
> > > > 
> > > > Please help again.  Thanks.
> > > > 
> > > > 
> > > > Tom
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > --- Dennis Gregorovic <dgregor at redhat.com> wrote:
> > > > > That output looks fine.  It appears to have finished
> > > successfully.
> > > > > 
> > > > > On Mon, 2004-04-19 at 14:30, Tom wrote:
> > > > > > Thanks again for your help.
> > > > > > 
> > > > > > I followed your directions and I got past the previous
> error.
> > > > > > 
> > > > > > Now, it seems to continue installing and stops after this
> > > output:
> > > > > > 
> > > > > > CHECK: The database type is recognized
> > > > > > CHECK: The ccm-core package is configured.
> > > > > > CHECK: The JDBC URL parameter is set.
> > > > > > CHECK: The database is accepting connections
> > > > > > CHECK: JAAS is available
> > > > > > WARNING: Multiple implementations of the same API found
> > > > > > 
> > > > > > The CCM runtime classpath contains two or more
> implementations
> > > of
> > > > > the
> > > > > > same API.  Only one, from the first location listed below,
> will
> > > be
> > > > > > used.
> > > > > > 
> > > > > >     /usr/local/java/j2sdk1.4.2_04/jre/lib/rt.jar
> > > > > >     /usr/share/ccm-tools/lib/security/jaas.jar
> > > > > > CHECK: JCE is available
> > > > > > WARNING: Multiple implementations of the same API found
> > > > > > 
> > > > > > The CCM runtime classpath contains two or more
> implementations
> > > of
> > > > > the
> > > > > > same API.  Only one, from the first location listed below,
> will
> > > be
> > > > > > used.
> > > > > > 
> > > > > >     /usr/local/java/j2sdk1.4.2_04/jre/lib/jce.jar
> > > > > >     /usr/share/ccm-tools/lib/security/jce.jar
> > > > > > 2004-04-19 13:24:27,838 [ main] INFO  packaging.Loader -
> > > Loading
> > > > > schema
> > > > > > for ccm-core
> > > > > > 2004-04-19 13:24:48,156 [ main] INFO  packaging.Loader -
> > > Loading
> > > > > schema
> > > > > > for ccm-portalserver
> > > > > > 2004-04-19 13:24:49,464 [ main] INFO  packaging.Loader -
> > > Loading
> > > > > schema
> > > > > > for ccm-cms
> > > > > > 2004-04-19 13:24:57,475 [ main] INFO  runtime.Startup -
> > > > > Initializing
> > > > > > WAF runtime
> > > > > > 2004-04-19 13:24:59,067 [ main] INFO  runtime.Startup -
> > > > > Initialization
> > > > > > complete
> > > > > > 2004-04-19 13:24:59,068 [ main] INFO  packaging.Loader -
> > > Running
> > > > > > initializer com.arsdigita.core.Initializer
> > > > > > com/arsdigita/notification/Notification.pdl: line 33,
> column 10
> > > > > > [warning]: table already has primary key:
> > > > > > com/arsdigita/notification/Notification.pdl: line 31,
> column 4
> > > > > > com/arsdigita/notification/Notification.pdl: line 34,
> column 10
> > > > > > [warning]: table already has primary key:
> > > > > > com/arsdigita/notification/Notification.pdl: line 31,
> column 4
> > > > > > 
> > > > > > 2004-04-19 13:25:03,140 [ main] WARN 
> > > mimetypes.MimeTypeInitializer
> > > > > -
> > > > > > Had INSOFilterEnabled set to true when using a non Oracle
> > > database.
> > > > > > This is not allowed. Setting to false. Database=PostgreSQL
> > > > > > 2004-04-19 13:25:03,496 [ main] INFO  packaging.Loader -
> > > Running
> > > > > data
> > > > > > loader com.arsdigita.core.Loader
> > > > > > 2004-04-19 13:25:08,487 [ main] INFO  packaging.Loader -
> > > Running
> > > > > > initializer com.arsdigita.portalserver.Initializer
> > > > > > 2004-04-19 13:25:21,485 [ main] WARN  admin.Initializer -
> There
> > > is
> > > > > no
> > > > > > Portal Site Map application instance on /portal-admin/. 
> > > Installing
> > > > > > now.
> > > > > > 2004-04-19 13:25:21,609 [ main] WARN  admin.Initializer -
> Done
> > > > > > installing Portal Site Map on
> /portal-admin/portal-sitemap/.
> > > > > > 2004-04-19 13:25:21,912 [ main] INFO  packaging.Loader -
> > > Running
> > > > > data
> > > > > > loader com.arsdigita.portalserver.Loader
> > > > > > 2004-04-19 13:25:21,940 [ main] WARN  portalserver.Loader -
> > > Adding
> > > > > > stylesheet: /packages/login/xsl/login_ps_en.xsl
> > > > > > 2004-04-19 13:25:21,949 [ main] WARN  portalserver.Loader -
> > > Done
> > > > > > 2004-04-19 13:25:21,958 [ main] INFO  packaging.Loader -
> > > Running
> > > > > > initializer com.arsdigita.cms.Initializer
> > > > > > com/arsdigita/content-section/ContentSection.pdl: line 113,
> > > column
> > > > > 37
> > > > > > [warning]: table already has primary key:
> > > > > > com/arsdigita/content-section/ContentSection.pdl: line 39,
> > > column
> > > > > 38
> > > > > > 
> > > > > > 2004-04-19 13:25:38,181 [ main] INFO  packaging.Loader -
> > > Running
> > > > > data
> > > > > > loader com.arsdigita.cms.Loader
> > > > > > 
> > > > > > 
> > > > > > Has the "load" process concluded or did it stop
> prematurely?
> > > > > > 
> > > > > > Regards,
> > > > > > Tom Baik
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > --- Dennis Gregorovic <dgregor at redhat.com> wrote:
> > > > > > > That error indicates that the Servlet jar is not in your
> > > > > classpath. 
> > > > > > > Installing servlet-2.3-1ccm.noarch.rpm from the nightly
> > > builds
> > > > > should
> > > > > > > solve the problem.  If not, try manually adding the
> servlet
> > > jar
> > > > > to
> > > > > > > your
> > > > > > > classpath (e.g.
> > > > > CLASSPATH=$CLASSPATH:/usr/share/java/servlet-2.3.jar)
> > > > > > > 
> > > > > > > -- Dennis
> > > > > > > 
> > > > > > > 
> > > > > > > On Mon, 2004-04-19 at 13:06, Tom wrote:
> > > > > > > > I just cannot seem to get ccm installed and running. 
> I've
> > > done
> > > > > a
> > > > > > > few
> > > > > > > > complete uninstalls and re-installs with no success. 
> Would
> > > > > someone
> > > > > > > > please help.
> > > > > > > > 
> > > > > > > > I've downloaded the nightly builds and installed them. 
> > > When I
> > > > > then
> > > > > > > try
> > > > > > > > to load the applications using "ccm load --interactive
> > > > > <pkg-key>" I
> > > > > > > get
> > > > > > > > the following error:
> > > > > > > > 
> > > > > > > > [root at www noarch]# ccm load --interactive ccm-core
> ccm-cms
> > > > > > > > ccm-portalserver
> > > > > > > > com.arsdigita.util.UncheckedWrapperException: class =
> class
> > > > > > > > com.arsdigita.web.WebConfig, params = [], values = []
> (root
> > > > > cause:
> > > > > > > > java.lang.reflect.InvocationTargetException)
> > > > > > > >         at
> > > > > com.arsdigita.util.Classes.newInstance(Classes.java:85)
> > > > > > > >         at
> > > > > com.arsdigita.util.Classes.newInstance(Classes.java:133)
> > > > > > > >         at
> > > > > com.arsdigita.packaging.Config.<init>(Config.java:44)
> > > > > > > >         at
> com.arsdigita.packaging.Load.run(Load.java:232)
> > > > > > > >         at
> > > > > > >
> com.arsdigita.packaging.MasterTool.main(MasterTool.java:90)
> > > > > > > > Root cause:
> > > > > > > > java.lang.reflect.InvocationTargetException
> > > > > > > >         at
> > > > > > > >
> > > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> > > > > > > Method)
> > > > > > > >         at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> > > > > > > >         at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> > > > > > > >         at
> > > > > > > >
> > > java.lang.reflect.Constructor.newInstance(Constructor.java:274)
> > > > > > > >         at
> > > > > com.arsdigita.util.Classes.newInstance(Classes.java:77)
> > > > > > > >         at
> > > > > com.arsdigita.util.Classes.newInstance(Classes.java:133)
> > > > > > > >         at
> > > > > com.arsdigita.packaging.Config.<init>(Config.java:44)
> > > > > > > >         at
> com.arsdigita.packaging.Load.run(Load.java:232)
> > > > > > > >         at
> > > > > > >
> com.arsdigita.packaging.MasterTool.main(MasterTool.java:90)
> > > > > > > > Caused by: java.lang.NoClassDefFoundError:
> > > > > > > > javax/servlet/ServletResponse
> > > > > > > >         at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
com.arsdigita.web.WebConfig$CachePolicyParameter.<init>(WebConfig.java:188)
> > > > > > > >         at
> > > > > com.arsdigita.web.WebConfig.<init>(WebConfig.java:90)
> > > > > > > >         ... 9 more
> > > > > > > > 
> > > > > > > > 
> > > > > > > > Please help.  Thanks.
> > > > > > > > 
> > > > > > > > Regards,
> > > > > > > > Tom Baik
> > > > > > > > 
> > > > > > > > 
> > > > > > > > 
> > > > > > > > 
> > > > > > > > 
> > > > > > > > 	
> > > > > > > > 		
> > > > > > > > __________________________________
> > > > > > > > Do you Yahoo!?
> > > > > > > > Yahoo! Photos: High-quality 4x6 digital prints for 25
> > > > > > > > http://photos.yahoo.com/ph/print_splash
> > > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > -- 
> > > > > > > Redhat-ccm-list mailing list
> > > > > > > Redhat-ccm-list at redhat.com
> > > > > > > https://www.redhat.com/mailman/listinfo/redhat-ccm-list
> > > > > > > Archives:
> https://www.redhat.com/pipermail/redhat-ccm-list/
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > 	
> > > > > > 		
> > > > > > __________________________________
> > > > > > Do you Yahoo!?
> > > > > > Yahoo! Photos: High-quality 4x6 digital prints for 25
> > > > > > http://photos.yahoo.com/ph/print_splash
> > > > > 
> > > > > 
> > > > > -- 
> > > > > Redhat-ccm-list mailing list
> > > > > Redhat-ccm-list at redhat.com
> > > > > https://www.redhat.com/mailman/listinfo/redhat-ccm-list
> > > > > Archives: https://www.redhat.com/pipermail/redhat-ccm-list/
> > > > 
> > > > 
> > > > 
> > > > 	
> > > > 		
> > > > __________________________________
> > > > Do you Yahoo!?
> > > > Yahoo! Photos: High-quality 4x6 digital prints for 25
> > > > http://photos.yahoo.com/ph/print_splash
> > > 
> > > 
> > > -- 
> > > Redhat-ccm-list mailing list
> > > Redhat-ccm-list at redhat.com
> > > https://www.redhat.com/mailman/listinfo/redhat-ccm-list
> > > Archives: https://www.redhat.com/pipermail/redhat-ccm-list/
> > 
> > 
> > 
> > 	
> > 		
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Photos: High-quality 4x6 digital prints for 25
> > http://photos.yahoo.com/ph/print_splash
> 



	
		
__________________________________
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢
http://photos.yahoo.com/ph/print_splash





More information about the Redhat-ccm-list mailing list