Ken, While I can't really speak to your problems with building from source, I'll give my $.02 worth. If what David suggests is true that the database drivers couldn't be loaded (sorry I don't seem to see that discussion entry), it sounds like maybe you've been including the jar files in your OS's CLASSPATH. Basically any class or jar file that I use relating to jetspeed or similar is loaded in the servlet container's/app server's classpath i.e. I use Tomcat and load jetspeed and portlet related jars and class files in the /tomcat/webapps/jetspeed/web-inf/lib or classes folders (including database drivers).
Regards Ken Gunderson <[EMAIL PROTECTED]> wrote: >since top posting seems to be the preference here... > >please note that my efforts to build source tree ensued only after >failure with the precompiled jetspeed.war (1.4b1, i believe) �hope i >didn't infer that jetspeed itself was slacking. �i think this is more >of a java, rather than jetspeed, thing. �my experience thus far has >been little to no help from more than one source approached in an >effort to track this down. �seems like there are all these parts and >nobody really knows how they are supposed to play together, just that >they do in a perfect world. �when the world is less than perfect the >default seems to be pointing the finger elsewhere and saying it's not >my issue... > >shooting from the hip a bit here, as i've not been into java long enough >to be forming firm imperssions, but am rather reporting my initial >perceptions thus far. �ymmv... �and i'm not trolling for a my language >is better than yours flame war. �i'd just like to figure the damn thing >out. > >that i'm having a classpath issue has definitley occured to me, but my >classpath is set in my shell environment, and is apparenly inherited >during the build. �so how do i track the problem further?? �the fbsd >crimson port used to install jaxp.jar in /usr/local/share/java/classes, >but does so no longer, as install advises thusly: > >The following jar file has been installed: > > �/usr/local/share/java/classes/crimson.jar > >Add it to your CLASSPATH to use JAXP. > >NOTE: > �If you used previous versions of crimson, please note that there is > �now only one jar file, crimson.jar. �You should remove the old port > �and any references to the jaxp.jar to avoid confusion. > >thus ant apparently becomes broken since it relies on crimson as >dependncy... > >so am i supposed to remove all reference to jaxp.jar in the source?? >(i'm being facetious here....) > > > >On Tuesday 15 October 2002 07:15 pm, Brad Straw wrote: >> Ken, >> >> I'm not that daring and dare say not a java expert in any stretch of >> the imagination (really only about a year in java). �I don't try to >> build any of the cvs versions. �I simply wait for a formal release. >> I am using 1.3a2 as an application framework and use application >> portlets as components of the overall solution. >> >> When things didn't work, classpath issues usually were the source of >> the problem. �Given what I've seen in other portal products, open >> source or vendor-supported, jetspeed is no slacker. >> >> Ken Gunderson <[EMAIL PROTECTED]> wrote: >> >On Tuesday 15 October 2002 05:38 pm, David Sean Taylor wrote: >> >> From your email it appears that you didn't get your jdbc driver to >> >> connect, or perhaps couldn't find the driver at all. >> >> Can't help wondering if its just not a simple classpath problem. >> >> �Oh well.. >> >> >> >> Horrible Exception: java.lang.NoClassDefFoundError: >> >> >> >> >> >> I believe there is a php nuke portal server available >> >> PC Mag gave it a nice review >> >> http://www.pcmag.com/article2/0,4149,383290,00.asp >> >> Maybe that will be a better fit for your portal needs >> >> >> >> Hey, its not worth losing hair over! >> >> >> >> Best of luck, let us know how it turns out >> >> >> >> > -----Original Message----- >> >> > From: Ken Gunderson [mailto:[EMAIL PROTECTED]] >> >> > Sent: Tuesday, October 15, 2002 4:13 PM >> >> > To: [EMAIL PROTECTED] >> >> > Subject: thanks for the memories-- see ya >> >> > >> >> > >> >> > cms led me to cofax, which led me to jetspeed, which led me to >> >> > java-- the promised land. �i failed to heed the warnings of >> >> > those who had gone before me and gave it a shot. �after close to >> >> > 2 weeks i am now near bald and giving up. �sincere thanks to >> >> > Raffaele, the _ONE_ person on this list responded to my post fo >> >> > assistance. conclusion--the folks on php, python, and ruby lists >> >> > have it right-- �java sounds good intheory but fails to deliver >> >> > on the promises. �well, i'm stubborn i guess and had to learn >> >> > for myself.... >> >> > >> >> > -- >> >> > Best Wishes, >> >> > >> >> > Ken Gunderson >> >> > >> >> > -- >> >> > To unsubscribe, e-mail: >> >> > <mailto:[EMAIL PROTECTED]> >> >> > For additional commands, e-mail: >> >> > <mailto:[EMAIL PROTECTED]> >> > >> >$ echo $CLASSPATH >> >/usr/local/share/java/classes/ >> > >> >$ ll /usr/local/share/java/classes/ >> >total 3880 >> >drwxr-xr-x �2 root �wheel � �1024 Oct 15 13:29 . >> >drwxr-xr-x �6 root �wheel � � 512 Oct 15 13:25 .. >> >lrwxr-xr-x �1 root �wheel � � �48 Oct 15 13:24 activation.jar -> >> >/usr/local/share/java/jaf-1.0.1_1/activation.jar >> >-r--r--r-- �1 root �wheel �491551 Oct 15 13:29 bcel.jar >> >-rw-r--r-- �1 root �wheel �299354 Oct 15 10:56 >> > checkstyle-all-2.4.jar -r--r--r-- �1 root �wheel �205045 Oct 14 >> > 02:43 crimson.jar >> >lrwxr-xr-x �1 root �wheel � � �45 Oct 15 13:25 imap.jar -> >> >/usr/local/share/java/javamail-1.2_1/imap.jar >> >-r--r--r-- �1 root �wheel � 65378 Oct 14 07:50 jakarta-oro.jar >> >-r--r--r-- �1 root �wheel � 29871 Oct 14 07:49 jakarta-regexp.jar >> >-r--r--r-- �1 root �wheel � �6727 Oct 14 07:46 jdbc2_0-stdext.jar >> >-r--r--r-- �1 root �wheel � 19146 Oct 14 08:48 jdbcpool.jar >> >-r--r--r-- �1 root �wheel � �8674 Oct 14 07:46 jta-spec1_0_1.jar >> >-r--r--r-- �1 root �wheel �121070 Oct 14 08:16 junit.jar >> >-r--r--r-- �1 root �wheel �350677 Oct 14 08:07 log4j-1.2.7.jar >> >lrwxr-xr-x �1 root �wheel � � �45 Oct 15 13:25 mail.jar -> >> >/usr/local/share/java/javamail-1.2_1/mail.jar >> >lrwxr-xr-x �1 root �wheel � � �48 Oct 15 13:25 mailapi.jar -> >> >/usr/local/share/java/javamail-1.2_1/mailapi.jar >> >-r--r--r-- �1 root �wheel �120929 Oct 14 07:46 mm.mysql-2.0.14.jar >> >lrwxr-xr-x �1 root �wheel � � �45 Oct 15 13:25 pop3.jar -> >> >/usr/local/share/java/javamail-1.2_1/pop3.jar >> >lrwxr-xr-x �1 root �wheel � � �45 Oct 15 13:25 smtp.jar -> >> >/usr/local/share/java/javamail-1.2_1/smtp.jar >> >-r--r--r-- �1 root �wheel �906248 Oct 14 08:33 xalan.jar >> >-r--r--r-- �1 root �wheel �972027 Oct 14 08:26 xercesImpl.jar >> >-r--r--r-- �1 root �wheel �108484 Oct 14 08:33 xml-apis.jar >> >-r--r--r-- �1 root �wheel � 87331 Oct 14 08:26 xmlParserAPIs.jar >> > >> >kgunders@cochise ~ >> >$ echo $JAVA_HOME >> >/usr/local/jdk1.3.1 >> > >> >$ echo $TOMCAT_HOME >> >/usr/local/jakarta-tomcat4.1 >> > >> >$ echo $CATALINA_HOME >> >/usr/local/jakarta-tomcat4.1 >> > >> >but hey since i upgraded ant, i cannot even build jetspeed >> > anymore..... >> > >> >cochise# pwd >> >/usr/local/jakarta-ant-1.5.1/lib >> >cochise# ll >> >total 2316 >> >-r--r--r-- �1 root �wheel � � 682 Oct 14 07:32 README >> >-r--r--r-- �1 root �wheel �717666 Oct 14 07:32 ant.jar >> >lrwxr-xr-x �1 root �wheel � � �25 Oct 15 16:27 crimson.jar -> >> >../../classes/crimson.jar >> >lrwxr-xr-x �1 root �wheel � � �22 Oct 15 16:27 jaxp.jar -> >> >../../classes/jaxp.jar >> >-r--r--r-- �1 root �wheel �654735 Oct 14 07:32 optional.jar >> >-r--r--r-- �1 root �wheel �831473 Oct 14 07:32 xercesImpl.jar >> >-r--r--r-- �1 root �wheel �108484 Oct 14 07:32 xml-apis.jar >> > >> >cochise# ll ../../classes >> >ls: ../../classes: No such file or directory >> > >> >but hey-- this is the way the fbsd ant maintainer says its supposed >> > to be: >> > >> ><http://www.freebsd.org/cgi/query-pr.cgi?pr=32546>, so i guess i've >> > been hosed and closed.... �trying to build jetspeed from source >> > yeilds following: >> > >> >cochise# pwd >> >/usr/local/src/jakarta-jetspeed/build >> >cochise# ll >> >total 132 >> >drwxr-xr-x �2 root �wheel � �512 Oct 15 13:32 CVS >> >drwxr-xr-x �3 root �wheel � �512 Oct 15 13:32 bin >> >-rw-r--r-- �1 root �wheel �18339 May 25 �2001 build-tests-22.xml >> >-rw-r--r-- �1 root �wheel � 9107 May 25 �2001 build-tests-23.xml >> >-rwxr-xr-x �1 root �wheel � 2304 Nov 26 �2001 build.bat >> >-rw-r--r-- �1 root �wheel � �991 Apr �5 �2002 build.properties >> >-rwxr-xr-x �1 root �wheel � 2487 Sep 21 �2001 build.sh >> >-rw-r--r-- �1 root �wheel �54455 Sep 15 10:18 build.xml >> >drwxr-xr-x �9 root �wheel � �512 Oct 15 13:32 cactus >> >-rw-r--r-- �1 root �wheel � �264 Aug 21 19:09 checkstyle.properties >> >drwxr-xr-x �3 root �wheel � �512 Oct 15 13:32 devel >> >drwxr-xr-x �3 root �wheel � �512 Oct 15 13:34 lib >> >-rwxr-xr-x �1 root �wheel � �190 Jun 26 �2000 setlocalpath.bat >> >drwxr-xr-x �7 root �wheel � �512 Oct 15 14:04 torque >> >-rw-r--r-- �1 root �wheel �23689 Oct 15 14:05 velocity.log >> >cochise# ./build.sh war >> >Buildfile: build.xml >> > >> >init: >> > � � [echo] ---------- Jetspeed Portal Implementation 1.4b2-dev >> >---------- >> > >> > � � [echo] java.class.path = >> >/usr/local/share/java/classes:../build/lib/ant-1.5-optional.jar:../b >> >uild/lib/ant-1.5.jar:../build/lib/cactus-22-1.2.jar:../build/lib/cac >> >tus-23-1.2.jar:../build/lib/cactus-ant-1.2.jar:../build/lib/httpclie >> >nt.jar:../build/lib/junit.jar:../build/lib/log4j-core.jar:../build/l >> >ib/xercesImpl.jar:../build/lib/xml-apis.jar:../lib/castor-0.9.3.jar: >> >../lib/commons-beanutils-1.4.1.jar:../lib/commons-collections-2.0.ja >> >r:../lib/commons-configuration-1.0-dev.jar:../lib/commons-dbcp-1.0-d >> >ev-20020806.jar:../lib/commons-lang-1.0.jar:../lib/commons-logging-1 >> >.0.2.jar:../lib/commons-pool-1.0.jar:../lib/ecs-1.4.1.jar:../lib/ful >> >crum-3.0-b2-dev.jar:../lib/jcs-1.0-dev.jar:../lib/jdbc-se2.0.jar:../ >> >lib/log4j-1.2.6.jar:../lib/mail.jar:../lib/ojb-0.7.343.jar:../lib/se >> >rvlet_2_2.jar:../lib/soap.jar:../lib/stratum-1.0-b4-dev.jar:../lib/t >> >orque-3.0-b5-dev.jar:../lib/turbine-2.2-b4-dev.jar:../lib/uddi4j.jar >> >:../lib/velocity-1.3.jar:../lib/village-1.5.3.jar:../lib/xalan-2.3.1 >> >.jar:../lib/xerces-2.0.2.jar:../lib/xml-apis-2.0.2.jar:/usr/local/jd >> >k1.3.1/lib/tools.jar >> > >> > � � [echo] java.home = /usr/local/jdk1.3.1/jre >> > � � [echo] ant.home = build >> > � � [echo] user.home = /root >> > >> > � � [echo] basedir = /usr/local/src/jakarta-jetspeed >> > >> > � � [echo] cactus-22.jar = build/lib/cactus-22-1.2.jar >> > � � [echo] cactus-23.jar = build/lib/cactus-23-1.2.jar >> > � � [echo] cactus.ant.jar = build/lib/cactus-ant-1.2.jar >> > � � [echo] junit.jar = build/lib/junit.jar >> > � � [echo] build.compiler = ${build.compiler} >> > � � [echo] locale.default = en >> > >> >prepare_apis: >> > >> >apis: >> > � [delete] Deleting 16 files from >> >/usr/local/src/jakarta-jetspeed/src/java/org/apache/jetspeed/xml/api >> >/jcm [java] -- Suppressing non fatal warnings. >> > � �[javac] Compiling 16 source files to >> >/usr/local/src/jakarta-jetspeed/bin/classes >> > � �[javac] Note: Some input files use or override a deprecated API. >> > � �[javac] Note: Recompile with -deprecation for details. >> > >> >check_om: >> > >> >om: >> > >> >check_dbpsml: >> > >> >dbpsml: >> > >> >check_for_checkstyle: >> > >> >checkstyle_prepare_error: >> > � � [echo] >> > � � [echo] � � � � � � The style checker checkStyle is not present, >> >thus no >> > � � [echo] � � � � � � style checking will be performed. >> > � � [echo] >> > � � [echo] � � � � � � You can get checkStyle Release 2.3 from: >> > � � [echo] � � � � � � � �<http://checkstyle.sourceforge.net> >> > � � [echo] >> > >> >checkstyle_check_code: >> > >> >checkstyle: >> > >> >compile: >> > � �[javac] Compiling 506 source files to >> >/usr/local/src/jakarta-jetspeed/bin/classes >> > � �[javac] >> >/usr/local/src/jakarta-jetspeed/src/java/org/apache/jetspeed/util/Si >> >mpleTransform.java:62: cannot resolve symbol >> > � �[javac] symbol �: class TransformerFactory >> > � �[javac] location: package transform >> > � �[javac] import javax.xml.transform.TransformerFactory; >> > � �[javac] � � � � � � � � � � � � � �^ >> > � �[javac] >> >/usr/local/src/jakarta-jetspeed/src/java/org/apache/jetspeed/util/Si >> >mpleTransform.java:63: cannot resolve symbol >> > � �[javac] symbol �: class Transformer >> > � �[javac] location: package transform >> > � �[javac] import javax.xml.transform.Transformer; >> > � �[javac] � � � � � � � � � � � � � �^ >> > � �[javac] >> >/usr/local/src/jakarta-jetspeed/src/java/org/apache/jetspeed/util/Si >> >mpleTransform.java:64: cannot resolve symbol >> > � �[javac] symbol �: class Templates >> > � �[javac] location: package transform >> > � �[javac] import javax.xml.transform.Templates; >> > >> > >> ><mondo snippage> >> > >> > � �[javac] >> >/usr/local/src/jakarta-jetspeed/src/java/org/apache/jetspeed/util/Si >> >mpleTransform.java:481: cannot resolve symbol >> > � �[javac] symbol �: class SAXSource >> > � �[javac] location: class org.apache.jetspeed.util.SimpleTransform >> > � �[javac] � � � � � � � � final SAXSource xinput = new SAXSource( >> > is ); >> > � �[javac] � � � � � � � � � � � ^ >> > � �[javac] >> >/usr/local/src/jakarta-jetspeed/src/java/org/apache/jetspeed/util/Si >> >mpleTransform.java:481: cannot resolve symbol >> > � �[javac] symbol �: class SAXSource >> > � �[javac] location: class org.apache.jetspeed.util.SimpleTransform >> > � �[javac] � � � � � � � � final SAXSource xinput = new SAXSource( >> > is ); >> > � �[javac] � � � � � � � � � � � � � � � � � � � � � � �^ >> > � �[javac] >> >/usr/local/src/jakarta-jetspeed/src/java/org/apache/jetspeed/util/Si >> >mpleTransform.java:496: cannot resolve symbol >> > � �[javac] symbol: class StreamResult >> > � �[javac] � � � � � � � � � � � � � � � � � � � � � � � � � � �new >> >StreamResult( pw ) ); >> > � �[javac] >> > �^ [javac] Note: Some input files use or override a deprecated API. >> > [javac] Note: Recompile with -deprecation for details. >> > � �[javac] 48 errors >> > >> >BUILD FAILED >> >file:/usr/local/src/jakarta-jetspeed/build/build.xml:290: Compile >> >failed; see the compiler error output for details. >> > >> >so whether i try installing from precompiled war or compile, i am >> > hosed. i wanted to learn a bit about java, not require a ph.d. >> > before i could begin to figure anything out. >> > >> >as far as the php nukes go-- php nuke has security ongoing security >> >issues, post-nuke forked and could be cool, except one of the lead >> >developers behind the fork got killed in car crash. �additional dev >> >disagreements have led to yet another fork, so who knows where >> >post-nuke is going... � xoops.org is php and oo based, uses the >> > smarty template engine, and shows promise but is too immature yet. >> > �could have had phpgroupware up and running 100 times, but, hey, i >> > wanted to have a learning experience.... the curve seems rather >> > steep, however.... >> > >> >my post was that i am a jetspeed newbie, not that i was clueless. >> > �by way of a bit of background: been a unix sysadmin for some years >> > and experienced on both i386 and the big iron. �primarily fbsd on >> > the i386 and hp-ux on the big iron, but also experienced to some >> > degree with redhat, debian, and slow-aris. �used to think i was >> > reasonably intelligent as well. �something is fundamentally wrong >> > here if i am having so much difficulty making this app run, which >> > is not to say the problem is not on my end, as it probbaly is. �i >> > am a tenacious sort and hate to give up on this because, like i >> > said in my initial post, jetspeed looks cool. �i'm willing to stick >> > with it a bit longer if i can get some help pointing me in the >> > right direction, but at this point i am chasing my tail in circles >> > and at a loss as to where i need to go next on my own without first >> > settling down to learning java... �sorry about the rant, but i am >> > not accustomed to not being able to figure things like this out. >> > >> >thanks for your time. >> > >> >-- >> >Regards, >> > >> >Ken Gunderson >> > >> >p.s. cool domain name- >> > >> >-- >> >To unsubscribe, e-mail: >> > <mailto:[EMAIL PROTECTED]> For >> > additional commands, e-mail: >> > <mailto:[EMAIL PROTECTED]> >> >> __________________________________________________________________ >> The NEW Netscape 7.0 browser is now available. Upgrade now! >> http://channels.netscape.com/ns/browsers/download.jsp >> >> Get your own FREE, personal Netscape Mail account today at >> http://webmail.netscape.com/ > >-- >Regards, > >Ken Gunderson > >-- >To unsubscribe, e-mail: � <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > __________________________________________________________________ The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
