You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Ken Gunderson <kg...@teamcool.net> on 2002/10/16 01:12:50 UTC

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: thanks for the memories-- see ya

Posted by David Sean Taylor <da...@bluesunrise.com>.
> $ echo $CLASSPATH
> /usr/local/share/java/classes/

I've found this page very useful when working with webapps and classpaths
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html

I normally clear my classpath and go with what they recommend on the Tomcat
site

> but hey since i upgraded ant, i cannot even build jetspeed anymore.....
>

Jetspeed is at Ant 1.5. I see Ant is now at 1.5.1
Your probably the first one to try 1.5.1 with Jetspeed.
I'll try to look into it soon.
You could log a bug though...

> 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
>

Jetspeed comes with everything you need in the webapp distribution.
No need to put xerces etc in your classpath since we compile to a specific
version
In fact it usually causes problems such as the one below

> <mondo snippage>
>
>     [javac]
> /usr/local/src/jakarta-jetspeed/src/java/org/apache/jetspeed/util/
> SimpleTransform.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/
> SimpleTransform.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/
> SimpleTransform.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
>

I recommend clearing your classpath and trying to compile again.
A lot of shops I've worked in always like for you to clear the classpath and
use the team's build environment/classpath.
Its really cuts down on support issues if everyone is on the same jars.

> 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.

Don't give up yet, you've only asked one question, no big deal.
You should've seen me on my first Open Source project.
I asked a lot of dumb questions, took me forever to figure anything out.
Ive only been on Java for 4 years. Hell I still type #include at the top of
my source code

>
> 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....

Ive used PHP before, had a very bad trip, or maybe that was LSD

>
> 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.
>

np - don't give up, the people are usually very helpful on the list, just
sometimes busy and questions occasionally slip by

David



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: thanks for the memories-- see ya

Posted by Ken Gunderson <kg...@teamcool.net>.
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:kgunders@teamcool.net]
> > Sent: Tuesday, October 15, 2002 4:13 PM
> > To: jetspeed-user@jakarta.apache.org
> > 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:
> > <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>



$ 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:../build/lib/ant-1.5.jar:../build/lib/cactus-22-1.2.jar:../build/lib/cactus-23-1.2.jar:../build/lib/cactus-ant-1.2.jar:../build/lib/httpclient.jar:../build/lib/junit.jar:../build/lib/log4j-core.jar:../build/lib/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.jar:../lib/commons-configuration-1.0-dev.jar:../lib/commons-dbcp-1.0-dev-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/fulcrum-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/servlet_2_2.jar:../lib/soap.jar:../lib/stratum-1.0-b4-dev.jar:../lib/torque-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/jdk1.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/SimpleTransform.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/SimpleTransform.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/SimpleTransform.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/SimpleTransform.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/SimpleTransform.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/SimpleTransform.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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: thanks for the memories-- see ya

Posted by David Sean Taylor <da...@bluesunrise.com>.
>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:kgunders@teamcool.net]
> Sent: Tuesday, October 15, 2002 4:13 PM
> To: jetspeed-user@jakarta.apache.org
> 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:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: thanks for the memories-- see ya

Posted by Hugh Brien <hp...@comcast.net>.
I have been successfully using Jetspeed in production for over a year.  I
have only been doing Java full time for 1.5 years and I it's the best cross
platform  language out there. Also Jetspeed is awesome and just keeps
getting better.  We just finished upgrading our existing portal from
Jetspeed 1.3a2+45 days to the latest from the CVS tree.

The reaon I love Jetspeed and Java is because I can get the same
jetspeed.war file running all of the following machines with little or now
work.  Just tweak the config files.

In my environment at my offices we have the following running:

Production Server:
1.5GHz Running Windows 2000
Apache + Jakarta Tomcat 4.0.X
Jetspeed 1.3A2 + some patches

Development Server
900 Mhz Running Linux
JakartaTomcat 4.1.X StandAlone
Latest Build of Jetspeed from CVS

Development Server
Sun Netra Running Solaris 8 and JDK 1.4.X 64 Bit
Jakarta Tomcat 4.0.X StandAlone
Latest Build of Jetspeed from CVS

Database 1:
Linux Server running MySQL 3.X

Database 2:
Windows Server running MySQL 3.x

Database 3:
Solaris 8 running MySQL 3.x


At my house I run Jetspeed on the following :

500Mhz Celeron  http://www.hughbrien.com - ugly test server but it's running
1.4b1
Windows 2000

Development Box
Twin Athelon 2200MP 512GB RAM
Dual Box Windows 2000 and RH 7.X

MultiUser Linux Box
500 Mhz AMD Processor
RH 6.2
MySQL 3.X







-----Original Message-----
From: Ken Gunderson [mailto:kgunders@teamcool.net]
Sent: Tuesday, October 15, 2002 7:13 PM
To: jetspeed-user@jakarta.apache.org
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:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>