Re: [C1] Installation woes [rant AND request] - PLEASE help!

2001-12-06 Thread Derek Hohls

Hi

The logfile created does not show anything when the ESQL tags are not
processed; it is empty.

Have tried reinstalling all the components; again, everything works
fine on the test machine, and not on the current web server - and we
have tried to get the version and individual file configurations
matching as far is as possible.

I am not sure what you mean  explicitly load mysql_comp.jar in
tomcat.sh  I cannot find any :staticClasspath section - can you please
give me an example of what this section should look like and where to
insert it.

Thanks!!
Derek

 [EMAIL PROTECTED] 09/11/2001 04:47:07 
Hi Derek:

Here is my cocoon.properties. Note the entire jdbc-driver section: 
you'll see that the DBMM driver is also listed on the first line:

# These are the supported jdbc-drivers and their adaptors.
# These properties are used by the DBFactory.
processor.xsp.pool.database.adaptor=DBWeblogic,DBOracle,DBInstantDB,DBPostgres,DBSybase,DBInformix,DBMM
processor.xsp.pool.database.adaptor.DBWeblogic=weblogic.jdbc.pool.Driver
processor.xsp.pool.database.adaptor.DBOracle=oracle.jdbc.driver.OracleDriver
processor.xsp.pool.database.adaptor.DBInstantDB=org.enhydra.instantdb.jdbc.idbDriver
processor.xsp.pool.database.adaptor.DBPostgres=postgresql.Driver
processor.xsp.pool.database.adaptor.DBInformix=com.informix.jdbc.IfxDriver
processor.xsp.pool.database.adaptor.DBSybase=com.sybase.jdbc.SybDriver
processor.xsp.pool.database.adaptor.DBMM=org.gjt.mm.mysql.Driver

Also note the log line: this can help you see exactly where it is 
throwing up:

processor.xsp.pool.logfile=c:\_trash\dbPool.log

I guess the next thing to look at is versions: what is your tomcat, jdk

 mysql versions?

Also, do you explicitly load mysql_comp.jar in tomcat.sh/tomcat.bat?
You 
might try that. Edit the :staticClasspath section and add it. It really

seems like cocoon is just not able to access the jar.

Lajos
galatea.com


Derek Hohls wrote:

 Thanks - they do all already have the mysql_uncomp.jar as well...
 
 
[EMAIL PROTECTED] 09/11/2001 10:35:02 

 Dunno if this makes a difference, but I have mysql_comp.jar located
in $TOMCAT_HOME/webapps/cocoon/web-inf/lib
 
 Another thought:  try each configuration using mysql_uncomp.jar. 
Perhaps one of the OS's (or one of the JDK's) is having a problem
reading a compressed jar.
 
 HTH.
 
 
 DR
 
 
 
 At 09:44 AM 11/9/01 +0200, you wrote:
 
Lajos
Thanks - I have actually done all this - tho' I only have just put
mysql_comp.jar in $TOMCAT_HOME/lib
That's what so frustrating... it all *looks* the same on each machine
[settings-wise] but behaves differently!  If you could send a copy of
whatever files you think are relevant, I would appreciate that.
Derek

 
 

-
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html
 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html
 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: [C1] Installation woes [rant AND request] - PLEASE help!

2001-12-06 Thread Derek Hohls

Hi

The logfile created does not show anything when the ESQL tags are not
processed; it is empty.

Have tried reinstalling all the components; again, everything works
fine on the test machine, and not on the current web server - and we
have tried to get the version and individual file configurations
matching as far is as possible.

I am not sure what you mean  explicitly load mysql_comp.jar in
tomcat.sh  I cannot find any :staticClasspath section - can you please
give me an example of what this section should look like and where to
insert it.

Thanks!!
Derek

 [EMAIL PROTECTED] 09/11/2001 04:47:07 
Hi Derek:

Here is my cocoon.properties. Note the entire jdbc-driver section: 
you'll see that the DBMM driver is also listed on the first line:

# These are the supported jdbc-drivers and their adaptors.
# These properties are used by the DBFactory.
processor.xsp.pool.database.adaptor=DBWeblogic,DBOracle,DBInstantDB,DBPostgres,DBSybase,DBInformix,DBMM
processor.xsp.pool.database.adaptor.DBWeblogic=weblogic.jdbc.pool.Driver
processor.xsp.pool.database.adaptor.DBOracle=oracle.jdbc.driver.OracleDriver
processor.xsp.pool.database.adaptor.DBInstantDB=org.enhydra.instantdb.jdbc.idbDriver
processor.xsp.pool.database.adaptor.DBPostgres=postgresql.Driver
processor.xsp.pool.database.adaptor.DBInformix=com.informix.jdbc.IfxDriver
processor.xsp.pool.database.adaptor.DBSybase=com.sybase.jdbc.SybDriver
processor.xsp.pool.database.adaptor.DBMM=org.gjt.mm.mysql.Driver

Also note the log line: this can help you see exactly where it is 
throwing up:

processor.xsp.pool.logfile=c:\_trash\dbPool.log

I guess the next thing to look at is versions: what is your tomcat, jdk

 mysql versions?

Also, do you explicitly load mysql_comp.jar in tomcat.sh/tomcat.bat?
You 
might try that. Edit the :staticClasspath section and add it. It really

seems like cocoon is just not able to access the jar.

Lajos
galatea.com


Derek Hohls wrote:

 Thanks - they do all already have the mysql_uncomp.jar as well...
 
 
[EMAIL PROTECTED] 09/11/2001 10:35:02 

 Dunno if this makes a difference, but I have mysql_comp.jar located
in $TOMCAT_HOME/webapps/cocoon/web-inf/lib
 
 Another thought:  try each configuration using mysql_uncomp.jar. 
Perhaps one of the OS's (or one of the JDK's) is having a problem
reading a compressed jar.
 
 HTH.
 
 
 DR
 
 
 
 At 09:44 AM 11/9/01 +0200, you wrote:
 
Lajos
Thanks - I have actually done all this - tho' I only have just put
mysql_comp.jar in $TOMCAT_HOME/lib
That's what so frustrating... it all *looks* the same on each machine
[settings-wise] but behaves differently!  If you could send a copy of
whatever files you think are relevant, I would appreciate that.
Derek

 
 

-
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html
 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html
 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: [C1] Installation woes [rant AND request] - PLEASE help!

2001-12-06 Thread Derek Hohls

Lajos

Still no luck!!  Please send the copies of all the files you think are
relevant.  

Thanks
Derek

[sinking fast into despair  }-[

 [EMAIL PROTECTED] 09/11/2001 09:38:49 
Sure we're still running 1.8.2; works for my site and probably will 
until I ever find the time to upgrade to 2.01.

Basically, here is how I got it all to work (1.8.2 w/ Tomcat 3.2.2  
MySQL on both Linux  Win 98):

1) added mysql_comp.jar to Tomcat's classpath (I just edited tomcat.sh

/tomcat.bat, but I suppose you could just throw it in $TOMCAT_HOME/lib


2) edited cocoon.properties and added a line to for the mysql driver:

processor.xsp.pool.database.adaptor.DBMM=org.gjt.mm.mysql.Driver

(add this after the other adaptors: note that DBMySQL is incorrect!).


3) edited cocoon.properties and added the connection info for the
pool:

processor.xsp.pool.database.default.driver=org.gjt.mm.mysql.Driver
processor.xsp.pool.database.default.url=jdbc:mysql://localhost/mydatabase
processor.xsp.pool.database.default.username=myuser
processor.xsp.pool.database.default.password=mypass
processor.xsp.pool.database.default.maxConnections=3
processor.xsp.pool.database.default.expiryTime=360


4) restarted tomcat


Let me know if this still doesn't work  I can send you copies of the 
actual files.

Lajos
galatea.com



Derek Hohls wrote:

 You can skip the rant and read the request at the end...
 
 rant
 
 I come to bury Caesar, not to praise him Julius Caesar, Act III,
Scene ii
 
 So, at one time in my life, I was a Windows programmer [well, still
am, really].  And life was occasionally frustrating, but mostly colorful
and satisfying.  And then came the Web.  Wow!  New ideas, new paradigms,
and new languages to learn... and boy, did they come thick and fast in a
stream of acronyms... HMTL, CSS, JS; followed by XML, JSP, XSLT.  I did
my best to absorb them all and see how and where they could be used to
help those around [non techies, mostly] me to make use (and sense!) of
this 'information revolution'.  
 
 Looming over it all, of course, is the ongoing conflict between Sun
[Java] and Microsoft [VB/ASP et al].  Open source vs vendor.  Being in a
poorish country, with limited resources, OS made financial sense; and
the paradigm and philosophy was one that appealed to my nature.  But
what to use?  I did not have the luxury of time to contribute (or, in
most cases, even the expertise) to a new area, and needed something that
was useful and intuitive to use.  Then I found Cocoon - at last,
something that tied together everything I had been learning in a
meaningful way.   I installed it - it worked [pretty much - BUT see
below] and I started designing, developing and coding.  I scorned those
others who were suggesting - dare I say it aloud - M$ tools such as
VBScript, ASP or even Oracle Web Developers XYZ; don't be fooled, I
said, big companies do not have your interests at heart - OS is the way,
the truth... well, anyway, it's good and What We Should Be Doing.  That
was then.  
Now (for the last 4 weeks) I have been desperately trying to get a UNIX
box working to replicate what I have on my development machine; while
colleagues [techie and non techie] alike are watching with increasing
scepticism as they move on with Oracle, ASP and Access [choke] et al.  
No one is actually smirking yet at least not to my face.  I have
posted before - but the traffic seems thick with [c2] and [docbook]
queries... maybe I am the last person on the planet still trying to use
1.8?
 
 Is it too late - maybe M$ will take me back - look, son, here is an
ASP primer and an Intro to VB - its not hard... you don't really need
that U**X... let me dim the lights for you
 
 /rant
 
 request
 
 Seriously, I really do need help trying to finalize my Cocoon
installations.   I have 3 machines, and each of which has a slightly
different problem.  All are running Apache/Tomcat/Cocoon 1.8.2/mySQL.
 
 Machine 1: Win2000 (development)
 - dbPool does NOT work BUT embedding Database properties in esql
tags does 
 
 Machine 2: UNIX (test)
 - dpPool works BUT embedding Database properties in esql tags does
NOT
 
 Machine 3: UNIX (Deployment)
 - neither dbPool or embedded properties works!
 
 I am sure the problems lie with some configuration or file location
SOMEWHERE, but have run out things to try ... apart from pushing buttons
at random.  If I cannot solve this very soon, it will be back to M$
tools and that would not, I think, be good for my soul.
 
 ARE THE DEVELOPERS STILL OUT THERE (do they care?)
 
 /request
 
 Many thanks for listening
 Derek
 
 [EMAIL PROTECTED] 
 
 
 

-
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html
 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 



-
Please check that your 

RE: [C1] Installation woes [rant AND request] - PLEASE help!

2001-11-11 Thread Max Larsson

Hi,

just to inform you your setting for the DBPostgres seems to be wrong.
It should be org.postgresql.Driver.

Max

 -Original Message-
 From: Lajos Moczar [mailto:[EMAIL PROTECTED]]
 Sent: Freitag, 9. November 2001 15:47
 To: [EMAIL PROTECTED]
 Subject: Re: [C1] Installation woes [rant AND request] - PLEASE help!
 
 
 Hi Derek:
 
 Here is my cocoon.properties. Note the entire jdbc-driver section: 
 you'll see that the DBMM driver is also listed on the first line:
 
 # These are the supported jdbc-drivers and their adaptors.
 # These properties are used by the DBFactory.
 processor.xsp.pool.database.adaptor=DBWeblogic,DBOracle,DBInst
 antDB,DBPostgres,DBSybase,DBInformix,DBMM
 processor.xsp.pool.database.adaptor.DBWeblogic=weblogic.jdbc.p
 ool.Driver
 processor.xsp.pool.database.adaptor.DBOracle=oracle.jdbc.drive
 r.OracleDriver
 processor.xsp.pool.database.adaptor.DBInstantDB=org.enhydra.in
 stantdb.jdbc.idbDriver
 processor.xsp.pool.database.adaptor.DBPostgres=postgresql.Driver
 processor.xsp.pool.database.adaptor.DBInformix=com.informix.jd
 bc.IfxDriver
 processor.xsp.pool.database.adaptor.DBSybase=com.sybase.jdbc.SybDriver
 processor.xsp.pool.database.adaptor.DBMM=org.gjt.mm.mysql.Driver
 
 Also note the log line: this can help you see exactly where it is 
 throwing up:
 
 processor.xsp.pool.logfile=c:\_trash\dbPool.log
 
 I guess the next thing to look at is versions: what is your 
 tomcat, jdk 
  mysql versions?
 
 Also, do you explicitly load mysql_comp.jar in 
 tomcat.sh/tomcat.bat? You 
 might try that. Edit the :staticClasspath section and add it. 
 It really 
 seems like cocoon is just not able to access the jar.
 
 Lajos
 galatea.com
 
 
 Derek Hohls wrote:
 
  Thanks - they do all already have the mysql_uncomp.jar as well...
  
  
 [EMAIL PROTECTED] 09/11/2001 10:35:02 
 
  Dunno if this makes a difference, but I have mysql_comp.jar 
 located in $TOMCAT_HOME/webapps/cocoon/web-inf/lib
  
  Another thought:  try each configuration using 
 mysql_uncomp.jar.  Perhaps one of the OS's (or one of the 
 JDK's) is having a problem reading a compressed jar.
  
  HTH.
  
  
  DR
  
  
  
  At 09:44 AM 11/9/01 +0200, you wrote:
  
 Lajos
 Thanks - I have actually done all this - tho' I only have 
 just put mysql_comp.jar in $TOMCAT_HOME/lib
 That's what so frustrating... it all *looks* the same on 
 each machine [settings-wise] but behaves differently!  If you 
 could send a copy of whatever files you think are relevant, I 
 would appreciate that.
 Derek
 
  
  
  
 -
  Please check that your question has not already been answered in the
  FAQ before posting. http://xml.apache.org/cocoon/faqs.html
  
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
  
 -
  Please check that your question has not already been answered in the
  FAQ before posting. http://xml.apache.org/cocoon/faqs.html
  
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: [C1] Installation woes [rant AND request] - PLEASE help!

2001-11-11 Thread Derek Hohls

Thanks, but as I am not using Postgres, I do not think that this is necessarliy an 
issue.

Derek.

 [EMAIL PROTECTED] 12/11/2001 08:54:30 
Hi,

just to inform you your setting for the DBPostgres seems to be wrong.
It should be org.postgresql.Driver.

Max

 -Original Message-
 From: Lajos Moczar [mailto:[EMAIL PROTECTED]] 
 Sent: Freitag, 9. November 2001 15:47
 To: [EMAIL PROTECTED] 
 Subject: Re: [C1] Installation woes [rant AND request] - PLEASE help!
 
 
 Hi Derek:
 
 Here is my cocoon.properties. Note the entire jdbc-driver section: 
 you'll see that the DBMM driver is also listed on the first line:
 
 # These are the supported jdbc-drivers and their adaptors.
 # These properties are used by the DBFactory.
 processor.xsp.pool.database.adaptor=DBWeblogic,DBOracle,DBInst
 antDB,DBPostgres,DBSybase,DBInformix,DBMM
 processor.xsp.pool.database.adaptor.DBWeblogic=weblogic.jdbc.p
 ool.Driver
 processor.xsp.pool.database.adaptor.DBOracle=oracle.jdbc.drive
 r.OracleDriver
 processor.xsp.pool.database.adaptor.DBInstantDB=org.enhydra.in
 stantdb.jdbc.idbDriver
 processor.xsp.pool.database.adaptor.DBPostgres=postgresql.Driver
 processor.xsp.pool.database.adaptor.DBInformix=com.informix.jd
 bc.IfxDriver
 processor.xsp.pool.database.adaptor.DBSybase=com.sybase.jdbc.SybDriver
 processor.xsp.pool.database.adaptor.DBMM=org.gjt.mm.mysql.Driver
 
 Also note the log line: this can help you see exactly where it is 
 throwing up:
 
 processor.xsp.pool.logfile=c:\_trash\dbPool.log
 
 I guess the next thing to look at is versions: what is your 
 tomcat, jdk 
  mysql versions?
 
 Also, do you explicitly load mysql_comp.jar in 
 tomcat.sh/tomcat.bat? You 
 might try that. Edit the :staticClasspath section and add it. 
 It really 
 seems like cocoon is just not able to access the jar.
 
 Lajos
 galatea.com
 
 
 Derek Hohls wrote:
 
  Thanks - they do all already have the mysql_uncomp.jar as well...
  
  
 [EMAIL PROTECTED] 09/11/2001 10:35:02 
 
  Dunno if this makes a difference, but I have mysql_comp.jar 
 located in $TOMCAT_HOME/webapps/cocoon/web-inf/lib
  
  Another thought:  try each configuration using 
 mysql_uncomp.jar.  Perhaps one of the OS's (or one of the 
 JDK's) is having a problem reading a compressed jar.
  
  HTH.
  
  
  DR
  
  
  
  At 09:44 AM 11/9/01 +0200, you wrote:
  
 Lajos
 Thanks - I have actually done all this - tho' I only have 
 just put mysql_comp.jar in $TOMCAT_HOME/lib
 That's what so frustrating... it all *looks* the same on 
 each machine [settings-wise] but behaves differently!  If you 
 could send a copy of whatever files you think are relevant, I 
 would appreciate that.
 Derek
 
  
  
  
 -
  Please check that your question has not already been answered in the
  FAQ before posting. http://xml.apache.org/cocoon/faqs.html
  
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
  
 -
  Please check that your question has not already been answered in the
  FAQ before posting. http://xml.apache.org/cocoon/faqs.html
  
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: [C1] Installation woes [rant AND request] - PLEASE help!

2001-11-09 Thread Derek Hohls

hmmm - witty - but not particularly helpful! 

of course, windoze is significantly better, with clear consistency across ALL versions 
;-}
see: 
http://www.arachnoid.com/lutusp/whycomp.html

 [EMAIL PROTECTED] 09/11/2001 09:51:20 
Derek Hohls wrote:

it all *looks* the same on each machine but behaves differently!

Ah, now you are starting to understand the beauty of Java! :^)



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: [C1] Installation woes [rant AND request] - PLEASE help!

2001-11-09 Thread David Rosenstrauch

Dunno if this makes a difference, but I have mysql_comp.jar located in 
$TOMCAT_HOME/webapps/cocoon/web-inf/lib

Another thought:  try each configuration using mysql_uncomp.jar.  Perhaps one of the 
OS's (or one of the JDK's) is having a problem reading a compressed jar.

HTH.


DR



At 09:44 AM 11/9/01 +0200, you wrote:
Lajos
Thanks - I have actually done all this - tho' I only have just put mysql_comp.jar in 
$TOMCAT_HOME/lib
That's what so frustrating... it all *looks* the same on each machine [settings-wise] 
but behaves differently!  If you could send a copy of whatever files you think are 
relevant, I would appreciate that.
Derek


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: [C1] Installation woes [rant AND request] - PLEASE help!

2001-11-09 Thread Derek Hohls

Thanks - they do all already have the mysql_uncomp.jar as well...

 [EMAIL PROTECTED] 09/11/2001 10:35:02 
Dunno if this makes a difference, but I have mysql_comp.jar located in 
$TOMCAT_HOME/webapps/cocoon/web-inf/lib

Another thought:  try each configuration using mysql_uncomp.jar.  Perhaps one of the 
OS's (or one of the JDK's) is having a problem reading a compressed jar.

HTH.


DR



At 09:44 AM 11/9/01 +0200, you wrote:
Lajos
Thanks - I have actually done all this - tho' I only have just put mysql_comp.jar in 
$TOMCAT_HOME/lib
That's what so frustrating... it all *looks* the same on each machine [settings-wise] 
but behaves differently!  If you could send a copy of whatever files you think are 
relevant, I would appreciate that.
Derek


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: [C1] Installation woes [rant AND request] - PLEASE help!

2001-11-09 Thread David Rosenstrauch

Hi Derek.

I think you might have overlooked the other suggestion in my msg:

I have mysql_comp.jar located in $TOMCAT_HOME/webapps/cocoon/web-inf/lib, not 
$TOMCAT_HOME/lib as you do.

Maybe makes a difference, maybe not.  Just thought I'd point it out though.


DR


At 01:29 PM 11/9/01 +0200, you wrote:
Thanks - they do all already have the mysql_uncomp.jar as well...

  [EMAIL PROTECTED] 09/11/2001 10:35:02 
Dunno if this makes a difference, but I have mysql_comp.jar located in 
$TOMCAT_HOME/webapps/cocoon/web-inf/lib

Another thought:  try each configuration using mysql_uncomp.jar.  Perhaps one of the 
OS's (or one of the JDK's) is having a problem reading a compressed jar.

HTH.


DR



At 09:44 AM 11/9/01 +0200, you wrote:
 Lajos
 Thanks - I have actually done all this - tho' I only have just put mysql_comp.jar 
in $TOMCAT_HOME/lib
 That's what so frustrating... it all *looks* the same on each machine 
[settings-wise] but behaves differently!  If you could send a copy of whatever files 
you think are relevant, I would appreciate that.
 Derek


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED] 


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




[C1] Installation woes [rant AND request] - PLEASE help!

2001-11-08 Thread Derek Hohls

You can skip the rant and read the request at the end...

rant

I come to bury Caesar, not to praise him Julius Caesar, Act III, Scene ii

So, at one time in my life, I was a Windows programmer [well, still am, really].  And 
life was occasionally frustrating, but mostly colorful and satisfying.  And then came 
the Web.  Wow!  New ideas, new paradigms, and new languages to learn... and boy, did 
they come thick and fast in a stream of acronyms... HMTL, CSS, JS; followed by XML, 
JSP, XSLT.  I did my best to absorb them all and see how and where they could be used 
to help those around [non techies, mostly] me to make use (and sense!) of this 
'information revolution'.  

Looming over it all, of course, is the ongoing conflict between Sun [Java] and 
Microsoft [VB/ASP et al].  Open source vs vendor.  Being in a poorish country, with 
limited resources, OS made financial sense; and the paradigm and philosophy was one 
that appealed to my nature.  But what to use?  I did not have the luxury of time to 
contribute (or, in most cases, even the expertise) to a new area, and needed something 
that was useful and intuitive to use.  Then I found Cocoon - at last, something that 
tied together everything I had been learning in a meaningful way.   I installed it - 
it worked [pretty much - BUT see below] and I started designing, developing and 
coding.  I scorned those others who were suggesting - dare I say it aloud - M$ tools 
such as VBScript, ASP or even Oracle Web Developers XYZ; don't be fooled, I said, big 
companies do not have your interests at heart - OS is the way, the truth... well, 
anyway, it's good and What We Should Be Doing.  That was then.  Now (for the last 4 
weeks) I have been desperately trying to get a UNIX box working to replicate what I 
have on my development machine; while colleagues [techie and non techie] alike are 
watching with increasing scepticism as they move on with Oracle, ASP and Access 
[choke] et al.   No one is actually smirking yet at least not to my face.  I have 
posted before - but the traffic seems thick with [c2] and [docbook] queries... maybe I 
am the last person on the planet still trying to use 1.8?

Is it too late - maybe M$ will take me back - look, son, here is an ASP primer and an 
Intro to VB - its not hard... you don't really need that U**X... let me dim the lights 
for you

/rant

request

Seriously, I really do need help trying to finalize my Cocoon installations.   I have 
3 machines, and each of which has a slightly different problem.  All are running 
Apache/Tomcat/Cocoon 1.8.2/mySQL.

Machine 1: Win2000 (development)
- dbPool does NOT work BUT embedding Database properties in esql tags does 

Machine 2: UNIX (test)
- dpPool works BUT embedding Database properties in esql tags does NOT

Machine 3: UNIX (Deployment)
- neither dbPool or embedded properties works!

I am sure the problems lie with some configuration or file location SOMEWHERE, but 
have run out things to try ... apart from pushing buttons at random.  If I cannot 
solve this very soon, it will be back to M$ tools and that would not, I think, be good 
for my soul.

ARE THE DEVELOPERS STILL OUT THERE (do they care?)

/request

Many thanks for listening
Derek

[EMAIL PROTECTED]



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: [C1] Installation woes [rant AND request] - PLEASE help!

2001-11-08 Thread Lajos Moczar

Sure we're still running 1.8.2; works for my site and probably will 
until I ever find the time to upgrade to 2.01.

Basically, here is how I got it all to work (1.8.2 w/ Tomcat 3.2.2  
MySQL on both Linux  Win 98):

1) added mysql_comp.jar to Tomcat's classpath (I just edited tomcat.sh 
/tomcat.bat, but I suppose you could just throw it in $TOMCAT_HOME/lib


2) edited cocoon.properties and added a line to for the mysql driver:

processor.xsp.pool.database.adaptor.DBMM=org.gjt.mm.mysql.Driver

(add this after the other adaptors: note that DBMySQL is incorrect!).


3) edited cocoon.properties and added the connection info for the pool:

processor.xsp.pool.database.default.driver=org.gjt.mm.mysql.Driver
processor.xsp.pool.database.default.url=jdbc:mysql://localhost/mydatabase
processor.xsp.pool.database.default.username=myuser
processor.xsp.pool.database.default.password=mypass
processor.xsp.pool.database.default.maxConnections=3
processor.xsp.pool.database.default.expiryTime=360


4) restarted tomcat


Let me know if this still doesn't work  I can send you copies of the 
actual files.

Lajos
galatea.com



Derek Hohls wrote:

 You can skip the rant and read the request at the end...
 
 rant
 
 I come to bury Caesar, not to praise him Julius Caesar, Act III, Scene ii
 
 So, at one time in my life, I was a Windows programmer [well, still am, really].  
And life was occasionally frustrating, but mostly colorful and satisfying.  And then 
came the Web.  Wow!  New ideas, new paradigms, and new languages to learn... and boy, 
did they come thick and fast in a stream of acronyms... HMTL, CSS, JS; followed by 
XML, JSP, XSLT.  I did my best to absorb them all and see how and where they could be 
used to help those around [non techies, mostly] me to make use (and sense!) of this 
'information revolution'.  
 
 Looming over it all, of course, is the ongoing conflict between Sun [Java] and 
Microsoft [VB/ASP et al].  Open source vs vendor.  Being in a poorish country, with 
limited resources, OS made financial sense; and the paradigm and philosophy was one 
that appealed to my nature.  But what to use?  I did not have the luxury of time to 
contribute (or, in most cases, even the expertise) to a new area, and needed 
something that was useful and intuitive to use.  Then I found Cocoon - at last, 
something that tied together everything I had been learning in a meaningful way.   I 
installed it - it worked [pretty much - BUT see below] and I started designing, 
developing and coding.  I scorned those others who were suggesting - dare I say it 
aloud - M$ tools such as VBScript, ASP or even Oracle Web Developers XYZ; don't be 
fooled, I said, big companies do not have your interests at heart - OS is the way, 
the truth... well, anyway, it's good and What We Should Be Doing.  That was then.  
Now (for the last 4 weeks) I have been desperately trying to get a UNIX box working to 
replicate what I have on my development machine; while colleagues [techie and non 
techie] alike are watching with increasing scepticism as they move on with Oracle, ASP 
and Access [choke] et al.   No one is actually smirking yet at least not to my 
face.  I have posted before - but the traffic seems thick with [c2] and [docbook] 
queries... maybe I am the last person on the planet still trying to use 1.8?
 
 Is it too late - maybe M$ will take me back - look, son, here is an ASP primer and 
an Intro to VB - its not hard... you don't really need that U**X... let me dim the 
lights for you
 
 /rant
 
 request
 
 Seriously, I really do need help trying to finalize my Cocoon installations.   I 
have 3 machines, and each of which has a slightly different problem.  All are running 
Apache/Tomcat/Cocoon 1.8.2/mySQL.
 
 Machine 1: Win2000 (development)
 - dbPool does NOT work BUT embedding Database properties in esql tags does 
 
 Machine 2: UNIX (test)
 - dpPool works BUT embedding Database properties in esql tags does NOT
 
 Machine 3: UNIX (Deployment)
 - neither dbPool or embedded properties works!
 
 I am sure the problems lie with some configuration or file location SOMEWHERE, but 
have run out things to try ... apart from pushing buttons at random.  If I cannot 
solve this very soon, it will be back to M$ tools and that would not, I think, be 
good for my soul.
 
 ARE THE DEVELOPERS STILL OUT THERE (do they care?)
 
 /request
 
 Many thanks for listening
 Derek
 
 [EMAIL PROTECTED]
 
 
 
 -
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html
 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For 

Re: [C1] Installation woes [rant AND request] - PLEASE help!

2001-11-08 Thread Derek Hohls

Lajos
Thanks - I have actually done all this - tho' I only have just put mysql_comp.jar in 
$TOMCAT_HOME/lib
That's what so frustrating... it all *looks* the same on each machine [settings-wise] 
but behaves differently!  If you could send a copy of whatever files you think are 
relevant, I would appreciate that.
Derek


 [EMAIL PROTECTED] 09/11/2001 09:38:49 
Sure we're still running 1.8.2; works for my site and probably will 
until I ever find the time to upgrade to 2.01.

Basically, here is how I got it all to work (1.8.2 w/ Tomcat 3.2.2  
MySQL on both Linux  Win 98):

1) added mysql_comp.jar to Tomcat's classpath (I just edited tomcat.sh 
/tomcat.bat, but I suppose you could just throw it in $TOMCAT_HOME/lib


2) edited cocoon.properties and added a line to for the mysql driver:

processor.xsp.pool.database.adaptor.DBMM=org.gjt.mm.mysql.Driver

(add this after the other adaptors: note that DBMySQL is incorrect!).


3) edited cocoon.properties and added the connection info for the pool:

processor.xsp.pool.database.default.driver=org.gjt.mm.mysql.Driver
processor.xsp.pool.database.default.url=jdbc:mysql://localhost/mydatabase
processor.xsp.pool.database.default.username=myuser
processor.xsp.pool.database.default.password=mypass
processor.xsp.pool.database.default.maxConnections=3
processor.xsp.pool.database.default.expiryTime=360


4) restarted tomcat


Let me know if this still doesn't work  I can send you copies of the 
actual files.

Lajos
galatea.com



Derek Hohls wrote:

 You can skip the rant and read the request at the end...
 
 rant
 
 I come to bury Caesar, not to praise him Julius Caesar, Act III, Scene ii
 
 So, at one time in my life, I was a Windows programmer [well, still am, really].  
And life was occasionally frustrating, but mostly colorful and satisfying.  And then 
came the Web.  Wow!  New ideas, new paradigms, and new languages to learn... and boy, 
did they come thick and fast in a stream of acronyms... HMTL, CSS, JS; followed by 
XML, JSP, XSLT.  I did my best to absorb them all and see how and where they could be 
used to help those around [non techies, mostly] me to make use (and sense!) of this 
'information revolution'.  
 
 Looming over it all, of course, is the ongoing conflict between Sun [Java] and 
Microsoft [VB/ASP et al].  Open source vs vendor.  Being in a poorish country, with 
limited resources, OS made financial sense; and the paradigm and philosophy was one 
that appealed to my nature.  But what to use?  I did not have the luxury of time to 
contribute (or, in most cases, even the expertise) to a new area, and needed 
something that was useful and intuitive to use.  Then I found Cocoon - at last, 
something that tied together everything I had been learning in a meaningful way.   I 
installed it - it worked [pretty much - BUT see below] and I started designing, 
developing and coding.  I scorned those others who were suggesting - dare I say it 
aloud - M$ tools such as VBScript, ASP or even Oracle Web Developers XYZ; don't be 
fooled, I said, big companies do not have your interests at heart - OS is the way, 
the truth... well, anyway, it's good and What We Should Be Doing.  That was then.  
Now (for the last 4 weeks) I have been desperately trying to get a UNIX box working to 
replicate what I have on my development machine; while colleagues [techie and non 
techie] alike are watching with increasing scepticism as they move on with Oracle, ASP 
and Access [choke] et al.   No one is actually smirking yet at least not to my 
face.  I have posted before - but the traffic seems thick with [c2] and [docbook] 
queries... maybe I am the last person on the planet still trying to use 1.8?
 
 Is it too late - maybe M$ will take me back - look, son, here is an ASP primer and 
an Intro to VB - its not hard... you don't really need that U**X... let me dim the 
lights for you
 
 /rant
 
 request
 
 Seriously, I really do need help trying to finalize my Cocoon installations.   I 
have 3 machines, and each of which has a slightly different problem.  All are running 
Apache/Tomcat/Cocoon 1.8.2/mySQL.
 
 Machine 1: Win2000 (development)
 - dbPool does NOT work BUT embedding Database properties in esql tags does 
 
 Machine 2: UNIX (test)
 - dpPool works BUT embedding Database properties in esql tags does NOT
 
 Machine 3: UNIX (Deployment)
 - neither dbPool or embedded properties works!
 
 I am sure the problems lie with some configuration or file location SOMEWHERE, but 
have run out things to try ... apart from pushing buttons at random.  If I cannot 
solve this very soon, it will be back to M$ tools and that would not, I think, be 
good for my soul.
 
 ARE THE DEVELOPERS STILL OUT THERE (do they care?)
 
 /request
 
 Many thanks for listening
 Derek
 
 [EMAIL PROTECTED] 
 
 
 
 -
 Please check that your question has not already been answered in the
 FAQ before posting. 

Re: [C1] Installation woes [rant AND request] - PLEASE help!

2001-11-08 Thread Ryan Shaw

Derek Hohls wrote:

it all *looks* the same on each machine but behaves differently!

Ah, now you are starting to understand the beauty of Java! :^)



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]