AW: debian tomcat4 cocoon war file deployment problems

2002-07-03 Thread Philipp Bo?em

could be a problem wether with your jdk version, there is quit a good
dokumentation on the cocoon homepage about the differnt distributions and
jdks

-Ursprungliche Nachricht-
Von: icewind [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 3. Juli 2002 19:55
An: [EMAIL PROTECTED]
Betreff: debian tomcat4 cocoon war file deployment problems


Im using debian and have the latest tomcat4 package
installed (tomcat 4.0.3) Instead of using the cocoon2
debian package, I opted for the cocoon.war file that I
downloaded off the web.

When I put the cocoon.war file in $TOMCAT_HOME/webapps
and restart tomcat, I get errors. The errors start off
like this:

org.apache.cocoon.ProcessingException: Language
Exception:
org.apache.cocoon.components.language.LanguageException:
Error compiling sitemap_xmap: Line 22, column 49:
cannot access class Component; file
org/apache/avalon/framework/component/Component.class
not found Line 23, column 53: cannot access class
Configurable; file
org/apache/avalon/framework/configuration/Configurable.class
not found Line 24, column 53: cannot access class
Configuration; file
org/apache/avalon/framework/configuration/Configuration.class
not found Line 25, column 53: cannot access class
ConfigurationException; file
org/apache/avalon/framework/configuration/ConfigurationException.class
not found Line 26, column 53: cannot access class
DefaultConfiguration; file
org/apache/avalon/framework/configuration/DefaultConfiguration.class
not found Line 27, column 50: cannot access class
Parameters;


As you can see, the jar files are not being
recgonized. coocoon.war gets extracted into the
$TOMCAT_HOME/work/localhost/cocoon directory, but a
cocoon directory is not created in
$TOMCAT_HOME/webapps.

I can get cocoon to work if I install the cocoon.war
file on ANOTHER MACHINE, restart tomcat on that
machine, and it will extract cocoon succesfully from
the war file. I can then tar up that cocoon directory
from the other machine and send it over to the
broken machine and cocoon will run fine.

I guess what this boils down to is the tomcat cant
extract my cocoon.war If anyone knows what what might
cause this, I would be interested in knowing. I'm
inclined to think it is more of a tomcat issue than a
cocoon one because the same war file deploys correctly
on a redhat machine running the same version of tomcat
as well as the broken debian machine running Resin.

Thanks for any help.

--iw0

__
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com

-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.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/faq/index.html

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




AW: set up pipeline for pdf file

2002-06-25 Thread Philipp Bo?em

hi,

it seems, that adobe is about to start. but than a message within browser
appers, that there is an error while trying to use this document.

log files message doesnt really tell me anything.

what is meant with IMHO?

-Ursprungliche Nachricht-
Von: KOZLOV Roman [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 25. Juni 2002 13:50
An: Cocoon users mail list
Betreff: Re: set up pipeline for pdf file


Hi,

IMHO, this should work without serializer (for already prepared pdf). It
is necessary just to check path
to the source. What is appeared in a browser? What is in log files?

Roman

Abhishek Goel wrote:

 hi,
  i think for this you have to use FOPserializer and then you should define
that serializer in your
 pipeline.
 Hope this will work.
 Regards
 Abhishek Goel

 Philipp BÃñem wrote:

  hi,
 
  does anyone know, how to define a pipline for opening pdf s beeing
stored
  under cocoon.
 
  i want enable people to upload files to my server, under cocoon.
 
  problem is, that i cant find a hint how to open files, within my cocoon
  directory, that are not xml, or similar.
 
  i tried it with the pipeline:
 
  map:match pattern=upload-dir/hello.pdf
  map:read mime-type=application/pdf
src=upload-dir/hello.pdf/
  /map:match
 
  which doesnt work.
 
  -
  Please check that your question  has not already been answered in the
  FAQ before posting. http://xml.apache.org/cocoon/faq/index.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/faq/index.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/faq/index.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/faq/index.html

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




AW: ESQL, Multiple Queries

2002-06-12 Thread Philipp Bo?em

i have got following runnig. is probably not the most elegant way, but it
works.

?xml version=1.0?
xsp:page xmlns:xsp=http://apache.org/xsp;
xmlns:xsp-formval=http://apache.org/xsp/form-validator/2.0;
xmlns:xsp-request=http://apache.org/xsp/request/2.0;
xmlns:esql=http://apache.org/cocoon/SQL/v2;
document
esql:connection
esql:poolseminarnoten/esql:pool
esql:execute-query
esql:query
update studenten set matrikelnr='xsp-request:get-parameter
name=matrikelnr/' where id = 'xsp-request:get-parameter name=id/'
/esql:query
/esql:execute-query
esql:execute-query
esql:query
update studenten set name='xsp-request:get-parameter 
name=name/'
where id = 'xsp-request:get-parameter name=id/'
/esql:query
/esql:execute-query
esql:execute-query
esql:query
update studenten set vorname='xsp-request:get-parameter
name=vorname/' where id = 'xsp-request:get-parameter name=id/'
/esql:query
/esql:execute-query
esql:execute-query
esql:query
update studenten set thema='xsp-request:get-parameter 
name=thema/'
where id = 'xsp-request:get-parameter name=id/'
/esql:query
/esql:execute-query
esql:execute-query
esql:query
update studenten set betreuer='xsp-request:get-parameter
name=betreuer/' where id = 'xsp-request:get-parameter name=id/'
/esql:query
/esql:execute-query
esql:execute-query
esql:query
update studenten set abgabetermin='xsp-request:get-parameter
name=abgabetermin/' where id = 'xsp-request:get-parameter name=id/'
/esql:query
/esql:execute-query
esql:execute-query
esql:query
update studenten set seminarnote='xsp-request:get-parameter
name=seminarnote/' where id = 'xsp-request:get-parameter name=id/'
/esql:query
/esql:execute-query
esql:execute-query
esql:query
select * from studenten
/esql:query
esql:results
esql:row-results
text
esql:get-string 
column=matrikelnr/
esql:get-string 
column=name/
esql:get-string 
column=vorname/
esql:get-string 
column=thema/
esql:get-string 
column=betreuer/
esql:get-string 
column=abgabetermin/
esql:get-string 
column=seminarnote/
/text
/esql:row-results
/esql:results
/esql:execute-query
/esql:connection
/document
/xsp:page

-Ursprungliche Nachricht-
Von: Derek Hohls [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 12. Juni 2002 09:54
An: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Betreff: Re: ESQL, Multiple Queries


Mike

Suggest you work through the IBM Developer Works Tutorial -
Cocoon 2: Build database-driven sites (05/30/2002)
it explains things nesting/grouping really clearly...

http://www-105.ibm.com/developerworks/education.nsf/dw/xml-onlinecourse-byne
west?OpenDocumentCount=500

Derek

 [EMAIL PROTECTED] 12/06/2002 09:53:30 
Hi

I m wondering how i can do multiple selects with the esql
logicsheet.

thanx
mike

-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.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/faq/index.html

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