SSL crash with Cocoon 1.82

2001-07-09 Thread Frans Thamura

Dear All,

Are there anyone ever try use Cocoon in Apache with SSL connection.

I create components and work well in HTTP environment, but in HTTPS

Do you have a solution or tips for me?

Thanks

Fran


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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




Installing Cocoon2

2001-07-09 Thread JStalnecker

I have been trying to install Cocoon2.0b1 on my Windows NT environment for
a couple of days, without success.  According to the Install directions
this should be an easy four step process.  I have downloaded the zip many
times, and each time I try to install it I received errors on the build.
The install directions tell me that all I have to do is set my JAVA_HOME
variable, then build the war.  Well I have received error such as:

error in ant main
no jaxp compliant parser found
build.xml not found ( this is the most recent and I double and triple
checked that this file was in the root of the Cocoon  folder)

Has any got this thing running on a Windows environment?  I am about to
give up on this product, because if it is this error prone during
installation what will it be like running?

Any last minute help will be appreciated.
Joy

P.S. Thanks again to all who trying to help in the past


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




Using XSP in both XML and XSL

2001-07-09 Thread Jason Smith


I've been looking for an answer to this for some while now and I can't seem
to find
any sort of solution for it, so if anybody here can help me out I'd be most
appreciative.

Here's the deal: I'm wondering if you can use XSP in both an XML file and in
an XSL file.
Here's basically what I'm attempting to do:

- I have a HTTP server that dishes out XML documents that are created via
PHP. This box
  provides a search engine and the results are sent back to the requestor
via XML.

- In order to make sense of this stuff, I do an include in an XML file on my
Cocoon server
  (which can be either on the same machine or seperated -- most likely, it
will be seperate)
  like such:

... stuff ...

util:include-uri
  util:href
xsp:exprhttp://search.engine.com/search.php?query=; + 
  URLEncoder.encode(request.getparameter(query))
/xsp:expr
  /util:href
/util:include-uri

... etc ...


- This XML document then goes off to an XSL doc, which will take the search
results and do
  some magic on them like ordering them and displaying so many per page.
(The search engine
  returns all links that match a query unordered.)


So, I have to use XSP (I believe) in both the XML doc (to create the proper
query to send to the
search engine and such, the query above is abbreviated for the sake of
brevity) and in the
XSL document (to make sense of returned results).

The problem is, whenever I try using XSP in both the root XML document and
in the XSL that is
applied to it, nothing happens. If I try to open that XML document in a
browser, the browser will
sit there forever waiting for the page to be returned by the web server that
Cocoon is on. The
web browser will never time-out, it will just sit there forever with a
spining globe. (Or animated
I'm downloading right now thing, whatever.)

Anybody have any ideas? Is it even possible? And what's going on there
anywhere? Can Cocoon compile
the XSP when you have it on more than one page or what?

Here's my setup if it's pertinent:

Apache 1.3.20
Sun JDK 1.3.1
Cocoon 1.8.2
Tomcat 3.2.2
Linux 2.4.3 kernel

Thanks for the help, hopefully...

J

-
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: AW: Installing Cocoon2

2001-07-09 Thread JStalnecker


actually my cocoon\lib folder has 8,724,857 bytes used, curious.  Also I am
using jdk1.3 ( I am not sure if this would affect cocoon or not)


   

Carsten   

ZiegelerTo: [EMAIL PROTECTED] 

cziegeler@succ:   

ndn.de  Subject: AW: Installing Cocoon2   

   

07/09/01   

10:19 AM   

Please 

respond to 

cocoon-users   

   

   





Hi,

I can compile Cocoon2.0b1 on my system after downloading it,
without any problems.

I have the sun jdk 1.2.2 installed and simply set JAVA_HOME
to the installed directory. And then a simple build is
sufficient.

Regarding the messages you mentioned it seems that either
your zip files is corrupt or unpacking doesn't work as
expected.
If you select the properties in the explorer of the cocoon/lib
directory, you should have 24 files in there and approx.
8.777.728 Bytes used.


Carsten

Open Source GroupsunShine - b:Integrated

Carsten Ziegeler, SN AG, Klingenderstrasse 5, D-33100 Paderborn
www.sundn.de  mailto: [EMAIL PROTECTED]



 -Ursprungliche Nachricht-
 Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Gesendet: Montag, 9. Juli 2001 15:47
 An: [EMAIL PROTECTED]
 Betreff: Installing Cocoon2


 I have been trying to install Cocoon2.0b1 on my Windows NT environment
for
 a couple of days, without success.  According to the Install directions
 this should be an easy four step process.  I have downloaded the zip many
 times, and each time I try to install it I received errors on the build.
 The install directions tell me that all I have to do is set my JAVA_HOME
 variable, then build the war.  Well I have received error such as:

 error in ant main
 no jaxp compliant parser found
 build.xml not found ( this is the most recent and I double and triple
 checked that this file was in the root of the Cocoon  folder)

 Has any got this thing running on a Windows environment?  I am about to
 give up on this product, because if it is this error prone during
 installation what will it be like running?

 Any last minute help will be appreciated.
 Joy

 P.S. Thanks again to all who trying to help in the past


 -
 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: Installing Cocoon2

2001-07-09 Thread JStalnecker


Yes I am running this from the DOS prompt. Here I hope this helps.

C:\C:\Cocoon-2.0b1\build.bat -Dinclude.webapp.libs=yes webapps

C:\if not c:\jdk1.3 ==  goto gotJavaHome

C:\if not c:\Cocoon-2.0b1 ==  goto gotAntHome

C:\set CP=c:\jdk1.3\lib\tools.jar;c:\Cocoon-2.0b1\lib\ant_1_3.jar;c:
\Cocoon-2.0b1\li
b\ant_1_3-optional.jar;.\lib\xerces_1_4_0.jar;.\lib\xalan-2.1.0.jar

C:\c:\jdk1.3\bin\java.exe  -classpath c:\jdk1.3\lib\tools.jar;c:
\Cocoon-2.0b1\lib\an
t_1_3.jar;c:\Cocoon-2.0b1\lib\ant_1_3-optional.jar;.\lib\xerces_1_4_0.jar;.
\lib\xalan
-2.1.0.jar org.apache.tools.ant.Main -Djava.home=c:\jdk1.3 -Dant.home=c:
\Cocoon-2.0b1
 -Dinclude.webapp.libs yes webapps
Buildfile: build.xml does not exist!
Build failed

C:\set CP=

Thanks again for your help
Joy


   
  
Marcus Crafter 
  
[EMAIL PROTECTED]To: 
[EMAIL PROTECTED]   
sdner.net cc: 
  
   Subject: Re: Installing 
Cocoon2   
07/09/01 10:38 AM  
  
Please respond to  
  
cocoon-users   
  
   
  
   
  




On Mon, 9 Jul 2001 [EMAIL PROTECTED] wrote:

 I have been trying to install Cocoon2.0b1 on my Windows NT environment
for
 a couple of days, without success.  According to the Install directions
 this should be an easy four step process.  I have downloaded the zip many
 times, and each time I try to install it I received errors on the build.
 The install directions tell me that all I have to do is set my JAVA_HOME
 variable, then build the war.  Well I have received error such as:

 error in ant main
 no jaxp compliant parser found
 build.xml not found ( this is the most recent and I double and triple
 checked that this file was in the root of the Cocoon  folder)

   Sounds quite strange. Are you doing this all from a command
prompt ?
   or clicking on the batch file from explorer ?

   Can you send us a complete trace of whats happening from start
of your
   build to finish.

 Has any got this thing running on a Windows environment?  I am about to
 give up on this product, because if it is this error prone during
 installation what will it be like running?

   hmm.. installing a product has nothing to do with its stability.
Just
   take Windows for an example. :-)

   Cheers,

   Marcus

--
.
 ,,$,  Marcus Crafter
;$'  ':Computer Systems Engineer
$: :   Open Software Associates GmbH
 $   o_)$$$:   82-84 Mainzer Landstrasse
 ;$,_/\ :'   60327 Frankfurt Germany
   ' /( 
   \_' Email : [EMAIL PROTECTED]
  .Business Hours : +49 69 9757 200
:   After Hours: +49 69 49086750


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




Installing Cocoon 2 onto Cocoon 1

2001-07-09 Thread Eric Vernichon

There's no problem compiling. Once i've done the instructions given on the 
cocoon site, and when i try it, it seems to be the old cocoon running (v1.8.2). 
Anyone can tell me what files i need to remove.
Thanks.

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




Servlet error starting cocoon2

2001-07-09 Thread Daniel Fernández

Attached, you have the HTML page returned by COCOON

I've made all posibilities:

Make the war, and put it into the webapps.

1- Without the file lib/jaxp.jar    TOMCAT CAN'T
START
2- Renaming the file lib/parser.jar to lib/zparser.jar - TOMCAT CAN'T
START
3- With the two points (1 and 2) -- TOMCAT CAN'T START
4- With all files, and without renaming - SERVLET ERROR

PC: AMD K6-2 400Mhz 256 Mb RAM
DOS: Windows 2000 Profesional (SP-1)
Server: Tomcat 3.2.2

Please, help me and Thankx

--- Segmentation Fault ---

Title: Internal servlet error




Cocoon 2 - Internal servlet error


type internal-servlet-error
message Internal servlet error
description Cocoon was not initialized.
sender org.apache.cocoon.servlet.CocoonServlet
source Cocoon servlet
request-uri/cocoon

embedded exceptionorg.xml.sax.SAXException: Could not get valid parserNamespace not supported by SAXParser

embedded exception stacktraceorg.xml.sax.SAXException: Could not get valid parserNamespace not supported by SAXParser
	at org.apache.cocoon.components.parser.JaxpParser.parse(JaxpParser.java:61)
	at org.apache.cocoon.Cocoon.configure(Cocoon.java:213)
	at org.apache.cocoon.Cocoon.initialize(Cocoon.java:157)
	at org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:600)
	at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:151)
	at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
	at org.apache.tomcat.core.Handler.init(Handler.java:215)
	at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
	at org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartupInterceptor.java:130)
	at org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
	at org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
	at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
	at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)


exceptionorg.apache.avalon.framework.configuration.ConfigurationException: Error trying to load configurations

stacktraceorg.apache.avalon.framework.configuration.ConfigurationException: Error trying to load configurations
	at org.apache.cocoon.Cocoon.configure(Cocoon.java:217)
	at org.apache.cocoon.Cocoon.initialize(Cocoon.java:157)
	at org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:600)
	at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:151)
	at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
	at org.apache.tomcat.core.Handler.init(Handler.java:215)
	at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
	at org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartupInterceptor.java:130)
	at org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
	at org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
	at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
	at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)






-
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: Servlet error starting cocoon2

2001-07-09 Thread Lajos Moczar

You need to copy the xercesXXX.jar file from the Cocoon2 distribution to 
$TOMCAT_HOME/lib AND remove both jaxp.jar and parser.jar. I've got 3.2.2 
running with Cocoon2 on Win98 and Linux. On Linux, I got away with 
copying the xerces jar, removing jaxp.jar and renaming parser.jar to 
zparser.jar, but on Windows I had to remove parser.jar as well. Then 
everything worked.

Regards,

Lajos Moczar
galatea.com


Daniel Fernández wrote:

 Attached, you have the HTML page returned by COCOON
 
 I've made all posibilities:
 
 Make the war, and put it into the webapps.
 
 1- Without the file lib/jaxp.jar    TOMCAT CAN'T
 START
 2- Renaming the file lib/parser.jar to lib/zparser.jar - TOMCAT CAN'T
 START
 3- With the two points (1 and 2) -- TOMCAT CAN'T START
 4- With all files, and without renaming - SERVLET ERROR
 
 PC: AMD K6-2 400Mhz 256 Mb RAM
 DOS: Windows 2000 Profesional (SP-1)
 Server: Tomcat 3.2.2
 
 Please, help me and Thankx
 
 --- Segmentation Fault ---
 
 
 
 
   Cocoon 2 - Internal servlet error
   
 
 
 type internal-servlet-error
 
 message Internal servlet error
 
 description Cocoon was not initialized.
 
 sender org.apache.cocoon.servlet.CocoonServlet
 
 source Cocoon servlet
 
 request-uri
 
 /cocoon
 
 embedded exception
 
 org.xml.sax.SAXException: Could not get valid parserNamespace not supported by 
SAXParser
 
 embedded exception stacktrace
 
 org.xml.sax.SAXException: Could not get valid parserNamespace not supported by 
SAXParser
   at org.apache.cocoon.components.parser.JaxpParser.parse(JaxpParser.java:61)
   at org.apache.cocoon.Cocoon.configure(Cocoon.java:213)
   at org.apache.cocoon.Cocoon.initialize(Cocoon.java:157)
   at org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:600)
   at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:151)
   at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
   at org.apache.tomcat.core.Handler.init(Handler.java:215)
   at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
   at 
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartupInterceptor.java:130)
   at org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
   at org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
   at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
   at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
 
 exception
 
 org.apache.avalon.framework.configuration.ConfigurationException: Error trying to 
load configurations
 
 stacktrace
 
 org.apache.avalon.framework.configuration.ConfigurationException: Error trying to 
load configurations
   at org.apache.cocoon.Cocoon.configure(Cocoon.java:217)
   at org.apache.cocoon.Cocoon.initialize(Cocoon.java:157)
   at org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:600)
   at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:151)
   at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
   at org.apache.tomcat.core.Handler.init(Handler.java:215)
   at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
   at 
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartupInterceptor.java:130)
   at org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
   at org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
   at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
   at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
 
 
 
 
 
 
 -
 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]
 cocoonerror.html
 
 Content-Type:
 
 text/html
 Content-Encoding:
 
 quoted-printable
 
 
 
 attachment.txt
 
 Content-Type:
 
 text/plain


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




Hi, Nayim !

2001-07-09 Thread hayriye yerlikaya

Concerning your ask for help from Januar 2001 :
You have to use stylesheet !

If you need any help, you can ask me !
Be successfull !



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




[C2.0/1] Error in SQLTransformer??

2001-07-09 Thread Lajos Moczar

I've been trying to find out why SQLTransformer has empty result sets. 
After various debug statements, I realized that the finally clause in 
the execute() method of the Query object in SQLTransformer.java is 
closing and releasing the connection after the query is executed. Does 
anyone know why this is? I commented out the close/release statements 
and now all my queries work!

Obviously, there needs to be a release of the connection back to the 
pool, but it needs to occur after all result rows have been read. So 
I've added a call to query.close() at the end of the executeQuery() 
method. Anyone know if this is the intended behavior or am I way off here?


Lajos Moczar
galatea.com


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




Examples

2001-07-09 Thread JStalnecker

Does anyone have a simple example using Cocoon to create a PDF file for
display in a browser from a dynamically created XML document?  In the past
I have created a dynamic XML document, processed it using a static XSL
document using a custom servlet which explicitly named the processor to
transform the XML.  I am not sure how to use Cocoon to transform my dynamic
documents.

I have installed Cocoon 2 and integrated it with Resin2.0.  Now how to I
use Cocoon in my existing application to create new PDF reports?

This is a large request, but I just can not seem to get all the pieces to
come together.

Thanks again,
Joy


-
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: [C2.0/1] Error in SQLTransformer??

2001-07-09 Thread Vadim Gritsenko

Check CVS version of transformer - IIRC this issue is already resolved.

Vadim

 -Original Message-
 From: Lajos Moczar [mailto:[EMAIL PROTECTED]]
 Sent: Monday, July 09, 2001 15:20
 To: [EMAIL PROTECTED]
 Subject: [C2.0/1] Error in SQLTransformer??
 
 
 I've been trying to find out why SQLTransformer has empty result sets. 
 After various debug statements, I realized that the finally clause in 
 the execute() method of the Query object in SQLTransformer.java is 
 closing and releasing the connection after the query is executed. Does 
 anyone know why this is? I commented out the close/release statements 
 and now all my queries work!
 
 Obviously, there needs to be a release of the connection back to the 
 pool, but it needs to occur after all result rows have been read. So 
 I've added a call to query.close() at the end of the executeQuery() 
 method. Anyone know if this is the intended behavior or am I way off here?
 
 
 Lajos Moczar
 galatea.com
 
 
 -
 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: Yeah, we need (Examples )

2001-07-09 Thread Kalven Beaver

Anyone that could supply a short but sweet example for
c2, I would also appreciate it!

kb
--- [EMAIL PROTECTED] wrote:
 Does anyone have a simple example using Cocoon to
 create a PDF file for
 display in a browser from a dynamically created XML
 document?  In the past
 I have created a dynamic XML document, processed it
 using a static XSL
 document using a custom servlet which explicitly
 named the processor to
 transform the XML.  I am not sure how to use Cocoon
 to transform my dynamic
 documents.
 
 I have installed Cocoon 2 and integrated it with
 Resin2.0.  Now how to I
 use Cocoon in my existing application to create new
 PDF reports?
 
 This is a large request, but I just can not seem to
 get all the pieces to
 come together.
 
 Thanks again,
 Joy
 
 

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


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

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