Re: Redhat-ccm-list Digest, Vol 3, Issue 24

"Rob Hayashida" <[email protected]> Tue, 18 May 2004 10:57:48 -0500
Newsgroups gmane.linux.redhat.ccm.general
Message-ID <[email protected]>
I will be on vacation starting Tuesday May 18 - May 26. Returning to the
office on Thursday May 27.  

If you need immediate assistance, please contact Pratik Mehta 
Phone:(847) 706 3642  
E-mail: [email protected]


Thanks.

Rob Hayashida


>>> redhat-ccm-list 05/18/04 11:00 >>>

Send Redhat-ccm-list mailing list submissions to
	[email protected]

To subscribe or unsubscribe via the World Wide Web, visit
	https://www.redhat.com/mailman/listinfo/redhat-ccm-list
or, via email, send a message with subject or body 'help' to
	[email protected]

You can reach the person managing the list at
	[email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Redhat-ccm-list digest..."


Today's Topics:

   1. classpath problem since latest nightly upgrades (David ROBIN)
   2. Re: classpath problem since latest nightly upgrades
      (Dennis Gregorovic)
   3. Re: classpath problem since latest nightly upgrades (David ROBIN)
   4. Problems installing APLAWS (HJ Thompson)
   5. Re: Problems installing APLAWS (HJ Thompson)


----------------------------------------------------------------------

Message: 1
Date: 17 May 2004 18:12:06 +0200
From: David ROBIN <[email protected]>
Subject: [redhat-ccm-list] classpath problem since latest nightly
	upgrades
To: [email protected]
Message-ID: <1084810326.27619.38.camel@Shrike>
Content-Type: text/plain

Hi, i have installed the latest version of WAF 6.1 with CMS.
It was working fine, but since i upgrade to AUTO.05-16-2004  i got an
error when i run ant deploy : 


=======================
[mulder@Shrike testwaf]$ ant deploy
Buildfile: build.xml
                                                                        
                                                     
init:
     [echo] /var/ccm-devel/dev/mulder/testwaf/build.xml
     [echo] /usr/share/java/
                                                                        
                                                     
deploy-ccm-core:
     [echo] deployed 'ccm-core' to
/var/ccm-devel/web/mulder/testwaf/webapps
                                                                        
                                                     
deploy-ccm-cms:
     [echo] deployed 'ccm-cms' to
/var/ccm-devel/web/mulder/testwaf/webapps
                                                                        
                                                     
deploy-global:
                                                                        
                                                     
compile-testwaf:
    [mkdir] Created dir:
/var/ccm-devel/dev/mulder/testwaf/testwaf/build/src
    [mkdir] Created dir:
/var/ccm-devel/dev/mulder/testwaf/testwaf/build/classes
                                                                        
                                                     
copy-src-testwaf:
                                                                        
                                                     
copy-sql-testwaf:
    [mkdir] Created dir:
/var/ccm-devel/dev/mulder/testwaf/testwaf/build/sql
                                                                        
                                                     
generate-ddl-testwaf:
    [mkdir] Created dir:
/var/ccm-devel/dev/mulder/testwaf/testwaf/build/sql/testwaf/ddl/postgres
     [java] Exception in thread "main" java.lang.NoClassDefFoundError:
com/arsdigita/persistence/pdl/PDL
       [if] Error in class net.sf.antcontrib.logic.IfTask
                                                                        
                                                     
BUILD FAILED
file:/var/ccm-devel/dev/mulder/testwaf/build.xml:239: Java returned: 1
                                                                        
                                                     
Total time: 2 seconds

========================

I fix it by modifying one of the path tag : 

 <path id="ccm-core.build.classpath">
        <fileset dir="${apps.ccm-core.location}/">
          <include name="ccm-core-6.1.0/**"/>          
          <include name="ccm-core-6.1.0.jar"/>

 <!-- i add these 2 lines-->       
    <include name="ccm-core-6.1.0.AUTO.05.16.2004.jar"/>	    
    <include name="ccm-core-6.1.0.AUTO.05.16.2004/**"/>            
 </fileset>
</path>
It seems that the symlink where causing troubles

But i now got another NoClassDefFoundError when i run ccm load 

===================
[mulder@Shrike testwaf]$ ccm load --interactive ccm-core ccm-cms
Exception in thread "main" java.lang.NoClassDefFoundError:
com/arsdigita/packaging/MasterTool
====================================
I tried to do a new project from scratch, but i still got the same
classpath problems.
Before i upgrade i was able to run the cms, and all was working fine
(except that i have no content item because the rpms where missing)

So i think that I have done something wrong when upgrading (i just
download everything, and do rpm -Uvh on all the new rpms)

Should i have done something else to avoid these classpath problems?

Thanks in advance for your help,

David




------------------------------

Message: 2
Date: Mon, 17 May 2004 15:41:54 -0400
From: Dennis Gregorovic <[email protected]>
Subject: Re: [redhat-ccm-list] classpath problem since latest nightly
	upgrades
To: [email protected]
Cc: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain

I'm not sure why the RPM upgrading is causing those CLASSPATH problems. 
However, here are a few debugging tips:

* use rpm -Uvvh.  The extra 'v' will cause it to output the action of
the %pre and %post scriptlets.  This is where the symlinks are set, so
if something is going wrong, it should show up there.

* run ccm --verbose load to see the CLASSPATH it uses.  This should
basically contain the entries from /etc/ccm/ccm.classpath.  Note that
/etc/ccm/ccm.classpath does not use the symlink names (e.g. it has
/usr/share/java/ccm-core-6.1.0.AUTO.41915.jar on my machine instead of
/usr/share/java/ccm-core-6.1.0.jar).  So, the fact that ccm load isn't
finding a class indicates that something else beside the symlinks is
screwy.

-- Dennis




------------------------------

Message: 3
Date: 17 May 2004 23:59:33 +0200
From: David ROBIN <[email protected]>
Subject: Re: [redhat-ccm-list] classpath problem since latest nightly
	upgrades
To: Dennis Gregorovic <[email protected]>
Cc: [email protected]
Message-ID: <1084831173.29634.12.camel@Shrike>
Content-Type: text/plain

Hi, and thanks again for asnwering so fast :)
I had resolved classpath problems by desisntalling/reinstalling rpms, 
but before to do that i checked my ccm.classpath and the symlink were
used in mine (and after reinstalling rpms i still have symlink in it).
But it works fine now ....
Maybe something went wrong with the symlink during rpm upgrade, because
when i desinstalled the rpms, i ran updateb and locate ccm after to be
sure to remove everything, and i saw in the locate ccm output that the
symlink where still there after having perform my big rpm -e.

I still have one little problem  : cms runs well,
but i still have no contet type registered, and this time i have all the
rpms for the content types installed.
should i add one entries <ccm:application
name="ccm-cms-content-type-agenda" > for each content type or is it in
the enterprise.init file of my project that i have to add initilizer?

Thanks a lot again for your support

David




------------------------------

Message: 4
Date: Mon, 17 May 2004 20:08:45 -0400 (EDT)
From: HJ Thompson <[email protected]>
Subject: [redhat-ccm-list] Problems installing APLAWS
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii

Hi all,

I suspect some of you have some experience in this
area. I have two problems:

a) "--verbose" is "accidently" being inserted when
running "ccm load-bundle --interactive --name
aplaws-plus-demo". Why/what is this? 


"
[howard@HT-Linux APLAWS]$ ccm load-bundle
--interactive --name aplaws-plus-demo
CCM_HOME: /usr/share/ccm
CCM_TOOLS_HOME: /usr/share/ccm-tools
CCM_TOOLS_COMMANDS_DIR: /usr/share/ccm-tools/commands
looking up /usr/share/ccm-tools/commands/load-bundle
/usr/share/ccm-tools/commands/load-bundle --verbose
--verbose --interactive --name aplaws-plus-demoreading
/usr/share/ccm-tools/bundles/aplaws-plus-demo/applications.cfg
ccm load --verbose --verbose --interactive ccm-core
ccm-cms ccm-cms-assets-relatedlink ccm-ldn-dublin
ccm-cms-types-contact ccm-cms-types-esdservice
ccm-cms-types-article ccm-cms-types-filestorageitem
ccm-cms-types-mparticle ccm-cms-types-newsitem
ccm-cms-types-pressrelease ccm-cms-types-formitem
ccm-cms-types-formsectionitem ccm-cms-types-inlinesite
ccm-ldn-xmlfeed ccm-ldn-util ccm-ldn-atoz ccm-ldn-rss
ccm-ldn-portal ccm-ldn-navigation ccm-ldn-search
ccm-ldn-shortcuts ccm-ldn-subsite ccm-ldn-terms
ccm-ldn-aplaws ccm-forum ccm-ldn-importer
ccm-ldn-theme
--parameter-file
/usr/share/ccm-tools/bundles/aplaws-plus-demo/integration.properties
..."

b) After having removed the "--verbose" flags from the
above scripting (copy/paste/new script), ccm start
and/or going to http://localhost:8080 causes a log
entry showing the following error:


2004-05-17 19:54:18,404 [ main] INFO  runtime.Startup
- Running Legacy Init for
class com.arsdigita.core.Initializer (1 out of 28)
2004-05-17 19:54:19,757 [ main] ERROR
rdbms.RDBMSEngine - select st_.param_key as c_1,
       st_.base_privilege as c_2,
       st_.param_name as c_3
from (
            select base_privilege, param_key,
param_name
            from parameterized_privileges) st_
java.sql.SQLException: ERROR:  Relation
"parameterized_privileges" does not exist


Any help in this area would be greatly appreciated.

Sincerely,

Howard Thompson

______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca




------------------------------

Message: 5
Date: Mon, 17 May 2004 20:30:17 -0400 (EDT)
From: HJ Thompson <[email protected]>
Subject: Re: [redhat-ccm-list] Problems installing APLAWS
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii

Hi all,

Small addition. If I don't strip out the "--verbose"
flags then the scripting terminates prematurely with
the following:

Unrecognized option: --verbose

Thanks,

Howard Thompson

 --- HJ Thompson <[email protected]> wrote: > Hi all,
> 
> I suspect some of you have some experience in this
> area. I have two problems:
> 
> a) "--verbose" is "accidently" being inserted when
> running "ccm load-bundle --interactive --name
> aplaws-plus-demo". Why/what is this? 
> 
> 
> "
> [howard@HT-Linux APLAWS]$ ccm load-bundle
> --interactive --name aplaws-plus-demo
> CCM_HOME: /usr/share/ccm
> CCM_TOOLS_HOME: /usr/share/ccm-tools
> CCM_TOOLS_COMMANDS_DIR:
> /usr/share/ccm-tools/commands
> looking up /usr/share/ccm-tools/commands/load-bundle
> /usr/share/ccm-tools/commands/load-bundle --verbose
> --verbose --interactive --name
> aplaws-plus-demoreading
>
/usr/share/ccm-tools/bundles/aplaws-plus-demo/applications.cfg
> ccm load --verbose --verbose --interactive ccm-core
> ccm-cms ccm-cms-assets-relatedlink ccm-ldn-dublin
> ccm-cms-types-contact ccm-cms-types-esdservice
> ccm-cms-types-article ccm-cms-types-filestorageitem
> ccm-cms-types-mparticle ccm-cms-types-newsitem
> ccm-cms-types-pressrelease ccm-cms-types-formitem
> ccm-cms-types-formsectionitem
> ccm-cms-types-inlinesite
> ccm-ldn-xmlfeed ccm-ldn-util ccm-ldn-atoz
> ccm-ldn-rss
> ccm-ldn-portal ccm-ldn-navigation ccm-ldn-search
> ccm-ldn-shortcuts ccm-ldn-subsite ccm-ldn-terms
> ccm-ldn-aplaws ccm-forum ccm-ldn-importer
> ccm-ldn-theme
> --parameter-file
>
/usr/share/ccm-tools/bundles/aplaws-plus-demo/integration.properties
> ..."
> 
> b) After having removed the "--verbose" flags from
> the
> above scripting (copy/paste/new script), ccm start
> and/or going to http://localhost:8080 causes a log
> entry showing the following error:
> 
> 
> 2004-05-17 19:54:18,404 [ main] INFO 
> runtime.Startup
> - Running Legacy Init for
> class com.arsdigita.core.Initializer (1 out of 28)
> 2004-05-17 19:54:19,757 [ main] ERROR
> rdbms.RDBMSEngine - select st_.param_key as c_1,
>        st_.base_privilege as c_2,
>        st_.param_name as c_3
> from (
>             select base_privilege, param_key,
> param_name
>             from parameterized_privileges) st_
> java.sql.SQLException: ERROR:  Relation
> "parameterized_privileges" does not exist
> 
> 
> Any help in this area would be greatly appreciated.
> 
> Sincerely,
> 
> Howard Thompson
> 
>
______________________________________________________________________
> 
> Post your free ad now! http://personals.yahoo.ca
> 
> 
> -- 
> Redhat-ccm-list mailing list
> [email protected]
>
https://www.redhat.com/mailman/listinfo/redhat-ccm-list
> Archives:
https://www.redhat.com/pipermail/redhat-ccm-list/ 

______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca




------------------------------

-- 
Redhat-ccm-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/redhat-ccm-list


End of Redhat-ccm-list Digest, Vol 3, Issue 24
**********************************************


-- 
Redhat-ccm-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/redhat-ccm-list
Archives: https://www.redhat.com/pipermail/redhat-ccm-list/