Link Hosting:

2003-04-05 Thread Steven Punte




 Cocoon Web Site Editor ( hosting 
page):
 
    www.eapps.com should 
definitely be added to the Cocoon hosting list.  They are very 
state-of-the-art nearly 100% open source: tomcat + jboss.  Cocoon 2.0.3 
worked the first time.  I'm have deployed Cocoon for the demo portion 
of www.jxreports.com.  
Very nice for only $20/month! 
 
  Steven P. Punte
 
Steven P. PunteCandlelight 
SoftwareBy 
Candlelight If Necessary![EMAIL PROTECTED]om http://www.candlelightsoftware.com+1.707.874.1028  
voice+1.707.486.8786  cell/voicemail   
 


 


Cocoon Consultant

2003-02-03 Thread Steven Punte
 Apache Cocoon is a formable and powerful platform.  If your needs are "appropriate," Cocoon can be an enormous productivity enhancement.
 I have architected, designed and implemented production quality and operation web services (Hotel Property Management System: www.amansi.com) using the Cocoon platform, and written four related articles: see http://www.candlelightsoftware.com/paper.html.
 I offer my services to be part of your team, to deliver solutions and answers quickly, and guide your project into the correct choices.  In a nutshell:
 o First explore whether the Cocoon framework IS a good  choice for you project.
 o Develop a first-pass paper design base on my experiences.
 o Maintain synchronized development environments so that  I can quickly solve those nasty time consuming  environment problems.
 o Allow you team to focus on the "domain problem," and  not get tied up in the lower level technology.
 o Provide additional custom components as needed.
 o Modify Cocoon to meet your needs in an appropriate  generic manner so that such enhancements can be rolled  into the main release.
 Let's start small, so that you gain trust in my services, and go from there.  I am a seasoned professional use to quickly assimilating the issues, concerns and priorities of my clients.
Steven P. PunteCandlelight SoftwareBy Candlelight If Necessary![EMAIL PROTECTED]http://www.candlelightsoftware.com+1.707.874.1028  voice+1.707.486.8786  cell/voicemailDo you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now

Re: Cocoon 2.0.4 + orion 1.5.3 Not Working

2003-01-13 Thread Steven Punte
I have found a few problems with 1.4.0, but havn't worked them out yet, instead just stayed with 1.3.1.  Orion requires you copy the tools.jar from whatever JDK installation you have to it's home directory in order for JSP to work.  In this manner, it is having you supply the appropriate java compiler.  
Yes, my instructions are intented to move the default orion web app out of the way and instead replace it with the top of the cocoon default app.  This is intentional.  But lots of arrangements are possible.  See Orion docs for more details.
steve
 
 e nio <[EMAIL PROTECTED]> wrote:
Is jdk1.4.0.01 compatible with cocoon2.0.4? Seems not, orperhaps this is known issue and I just can't recall. Anyhow, Iwent looking for a jdk1.3.1 on my system, and used it torecompile cocoon.2.0.4. It works great with Tomcat4.1.12 (notall samples work but its okay) but same war file (deployed percandlelightsoftware.com intructions) is also working now.However, some samples work in Tomcat but not in orion, anexample is jsp in cocoon. It could not findcocoon/samples/jsp/welcome.htm. Really strange. Anyhow for Steve, by using id="defaultWebApp" this makes thedefault "localhost:/" points to cocoon and the sample codethat comes with orion is basically inaccessable because of thismapping?Regards,e nio--- Steven Punte <[EMAIL PROTECTED]>wrote:> > Give it a try as identially as possible to the instructions> I've posted on candlelightsoftware.com. That is, use cocoon> 2.0.3, orion 1.5.4, jdk 1.3.1, etc... Once you have a working> system, then step by step migrate to the versions you desire. > Overall, you will spend LESS time in this manner than trying> to do everything at once. Also, did Orion without cocoon and> just it's default app come alive? Did the orion jsp pages> operate? These are good intermeidate check points. > Unfortionately, most java error messages / stack traces, are> not very helpful.> Steve Punte> e nio <[EMAIL PROTECTED]>wrote:Per subject, it does not> work, please help if possible. Forgot> to include the stack trace errors on my previous post today:> > Cocoon 2 - Internal server error> > > type fatal> > message Language Exception> > description org.apache.cocoon.ProcessingException: Language> Exception:> org.apache.cocoon.components.language.LanguageException: Error> compiling sitemap_xmap: Line> 1928, column 58: method substitute(java.util.List,> java.lang.String) not found in class> org.apache.cocoon.www.sitemap_xmap Line 1930, column 14:> method> substitute(java.util.List,> java.lang.String) not found in class> org.apache.cocoon.www.sitemap_xmap Line 1939, column 41:> method substitute(java.util.List, java.lang.String) not found> in> class> org.apache.cocoon.www.sitemap_xmap Line 2008, column 39:> method> substitute(java.util.List,...> > stack-trace> > org.apache.cocoon.ProcessingException: Language Exception:> org.apache.cocoon.components.language.LanguageException: Error> compiling sitemap_xmap:> Line 1928, column 58: method substitute(java.util.List,> java.lang.String) not found in class> org.apache.cocoon.www.sitemap_xmap> Line 1930, column 14: method substitute(java.util.List,> java.lang.String) not found in class> org.apache.cocoon.www.sitemap_xmap> Line 1939, column 41: method substitute(java.util.List,> java.lang.String) not found in class> org.apache.cocoon.www.sitemap_xmap...> > Thanks in advance for helping me resolve.> > __> Do you Yahoo!?> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.> http://mailplus.yahoo.com> >-> Please check that your question has not already been answered> in the> FAQ before posting. > > To unsubscribe, e-mail: > For additional commands, e-mail: > > > > -> Do you Yahoo!?> Yahoo! Mail Plus - Powerful. Affordable. Sign up now__Do you Yahoo!?Yahoo! Mail Plus - Powerful. Affordable. Sign up now.http://mailplus.yahoo.com-Please check that your question has not already been answered in theFAQ before posting. To unsubscribe, e-mail: <[EMAIL PROTECTED]>For additional commands, e-mail: <[EMAIL PROTECTED]>Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now

Re: Cocoon 2.0.4 + orion 1.5.3 Not Working

2003-01-13 Thread Steven Punte
Enio:
   I think 1.4.0 with Cocoon has "some" issues, but the basic stuff works.
  Yes, you should be able to remove crimson.jar and parser.jar.  Orion doesn't use them specifically, only apps do.
  steve
 e nio <[EMAIL PROTECTED]> wrote:
I've done some cleaning up, so I may only have orion 1.5.3 +jdk 1.4.0_01 + Cocoon 2.0.4. Yes the default orion apps comesalive under default-web-app/examples and even the sample xml/xslfiles under default-web-app/examples/xsl/. Btw, Thank you forposting "howtos" at your site. Further, I wanted to know from you if the crimson.jar andparser.jar can be removed without any conflict? And how to tellorion to use the xalan/xerces combo instead of orion's defaultparsers?Thanks,enio--- Steven Punte <[EMAIL PROTECTED]>wrote:> > Give it a try as identially as possible to the instructions> I've posted on candlelightsoftware.com. That is, use cocoon> 2.0.3, orion 1.5.4, jdk 1.3.1, etc... Once you have a working> system, then step by step migrate to the versions you desire. > Overall, you will spend LESS time in this manner than trying> to do everything at once. Also, did Orion without cocoon and> just it's default app come alive? Did the orion jsp pages> operate? These are good intermeidate check points. > Unfortionately, most java error messages / stack traces, are> not very helpful.> Steve Punte> e nio <[EMAIL PROTECTED]>wrote:Per subject, it does not> work, please help if possible. Forgot> to include the stack trace errors on my previous post today:> > Cocoon 2 - Internal server error> > > type fatal> > message Language Exception> > description org.apache.cocoon.ProcessingException: Language> Exception:> org.apache.cocoon.components.language.LanguageException: Error> compiling sitemap_xmap: Line> 1928, column 58: method substitute(java.util.List,> java.lang.String) not found in class> org.apache.cocoon.www.sitemap_xmap Line 1930, column 14:> method> substitute(java.util.List,> java.lang.String) not found in class> org.apache.cocoon.www.sitemap_xmap Line 1939, column 41:> method substitute(java.util.List, java.lang.String) not found> in> class> org.apache.cocoon.www.sitemap_xmap Line 2008, column 39:> method> substitute(java.util.List,...> > stack-trace> > org.apache.cocoon.ProcessingException: Language Exception:> org.apache.cocoon.components.language.LanguageException: Error> compiling sitemap_xmap:> Line 1928, column 58: method substitute(java.util.List,> java.lang.String) not found in class> org.apache.cocoon.www.sitemap_xmap> Line 1930, column 14: method substitute(java.util.List,> java.lang.String) not found in class> org.apache.cocoon.www.sitemap_xmap> Line 1939, column 41: method substitute(java.util.List,> java.lang.String) not found in class> org.apache.cocoon.www.sitemap_xmap...> > Thanks in advance for helping me resolve.> > __> Do you Yahoo!?> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.> http://mailplus.yahoo.com> >-> Please check that your question has not already been answered> in the> FAQ before posting. > > To unsubscribe, e-mail: > For additional commands, e-mail: > > > > -> Do you Yahoo!?> Yahoo! Mail Plus - Powerful. Affordable. Sign up now__Do you Yahoo!?Yahoo! Mail Plus - Powerful. Affordable. Sign up now.http://mailplus.yahoo.com-Please check that your question has not already been answered in theFAQ before posting. To unsubscribe, e-mail: <[EMAIL PROTECTED]>For additional commands, e-mail: <[EMAIL PROTECTED]>Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now

Re: Cocoon 2.0.4 + orion 1.5.3 Not Working

2003-01-13 Thread Steven Punte
Give it a try as identially as possible to the instructions I've posted on candlelightsoftware.com.  That is, use cocoon 2.0.3, orion 1.5.4, jdk 1.3.1, etc...  Once you have a working system, then step by step migrate to the versions you desire.  Overall, you will spend LESS time in this manner than trying to do everything at once.  Also, did Orion without cocoon and just it's default app come alive?  Did the orion jsp pages operate?  These are good intermeidate check points.  Unfortionately, most java error messages / stack traces, are not very helpful.
    Steve Punte
 e nio <[EMAIL PROTECTED]> wrote:
Per subject, it does not work, please help if possible. Forgotto include the stack trace errors on my previous post today:Cocoon 2 - Internal server errortype fatalmessage Language Exceptiondescription org.apache.cocoon.ProcessingException: LanguageException:org.apache.cocoon.components.language.LanguageException: Errorcompiling sitemap_xmap: Line1928, column 58: method substitute(java.util.List,java.lang.String) not found in classorg.apache.cocoon.www.sitemap_xmap Line 1930, column 14: methodsubstitute(java.util.List,java.lang.String) not found in classorg.apache.cocoon.www.sitemap_xmap Line 1939, column 41:method substitute(java.util.List, java.lang.String) not found inclassorg.apache.cocoon.www.sitemap_xmap Line 2008, column 39: methodsubstitute(java.util.List,...stack-traceorg.apache.cocoon.ProcessingException: Language Exception:org.apache.cocoon.components.language.LanguageException: Errorcompiling sitemap_xmap:Line 1928, column 58: method substitute(java.util.List,java.lang.String) not found in classorg.apache.cocoon.www.sitemap_xmapLine 1930, column 14: method substitute(java.util.List,java.lang.String) not found in classorg.apache.cocoon.www.sitemap_xmapLine 1939, column 41: method substitute(java.util.List,java.lang.String) not found in classorg.apache.cocoon.www.sitemap_xmap...Thanks in advance for helping me resolve.__Do you Yahoo!?Yahoo! Mail Plus - Powerful. Affordable. Sign up now.http://mailplus.yahoo.com-Please check that your question has not already been answered in theFAQ before posting. To unsubscribe, e-mail: <[EMAIL PROTECTED]>For additional commands, e-mail: <[EMAIL PROTECTED]>Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now

Re: Cocoon@Oracle 9iAS/Linux

2002-11-26 Thread Steven Punte
Pavel:
  I get this same error message but when attempting it on Windows 2000!?  So far, no amount of fiddelling with class paths has solved this problem.  I'm presently thinking it has something to do with a partial apache xerces package existing somewhere in OC4J, and thus this prevents the proper full package from being loaded: but this is just a guess at this point in time.
  Are you sure you achieved opeation on windows?  I would be interested in how you did this.
Steve Punte
 
 Pavel Ivanov <[EMAIL PROTECTED]> wrote:
Hi there!Question for Linux and OC4J gurus:There is a following problem. We have installed Oracle 9iAS (release 2) ontop of Red Hat Linux(kernel 2.4.7). We have our app, which uses Cocoon 2.02 as framework.Everything worked finewhile we were using:1) Various Tomcats/Catalinas2) JBOSS with and w/o Catalina3) OC4J (aka Oracle 9iAS containers) for Windows4) Weblogic 5.1, 6.1, 7.0Now we can't handle Cocoon start to work. Problem is known: conflict ofXML/XSL parsers (xalan/xerces.jar)Trace is following:==org.apache.cocoon.ProcessingException: SAX2 driver classorg.apache.xerces.parsers.SAXParser not found:java.lang.ClassNotFoundException: org.apache.xerces.parsers.SAXParseratorg.apache.cocoon.generation.ServerPagesGenerator.setup(ServerPagesGenerator.java:204)atorg.apache.cocoon.components.pipeline.AbstractEventPipeline.setupPipeline(AbstractEventPipeline.java:202)atorg.apache.cocoon.components.pipeline.CachingEventPipeline.setup(CachingEventPipeline.java:278)atorg.apache.cocoon.components.pipeline.CachingEventPipeline.generateKey(CachingEventPipeline.java:141)atorg.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingStreamPipeline.java:317)atorg.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:153)atorg.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:109)atorg.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:136)atorg.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:109)atorg.apache.cocoon.components.treeprocessor.ContainerNode.invoke(ContainerNode.java:70)atorg.apache.cocoon.components.treeprocessor.sitemap.CallNode.invoke(CallNode.java:122)atorg.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:85)atorg.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:156)atorg.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:109)atorg.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:140)atorg.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:109)atorg.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:144)atorg.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:328)atorg.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:293)at org.apache.cocoon.Cocoon.process(Cocoon.java:575)at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:999)at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)atcom.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)atcom.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)atcom.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)atcom.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)atcom.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:151)at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)java.lang.ClassNotFoundException: org.apache.xerces.parsers.SAXParseratorg.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:118)atorg.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:96)atorg.apache.cocoon.components.language.markup.AbstractMarkupLanguage.generateCode(AbstractMarkupLanguage.java:377)atorg.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generateResource(ProgramGeneratorImpl.java:370)atorg.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createResource(ProgramGeneratorImpl.java:333)atorg.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:292)atorg.apache.cocoon.generation.ServerPagesGenerator.setup(ServerPagesGenerator.java:198)atorg.apache.cocoon.components.pipeline.AbstractEventPipeline.setupPipeline(AbstractEventPipeline.java:202)atorg.apache.cocoon.components.pipeline.CachingEventPipeline.setup(CachingEventPipeline.java:278)atorg.apache.cocoon.components.pipeline.CachingEventPipeline.generateKey(Cach

Re: Something really stupid

2002-11-26 Thread Steven Punte
A "cleaner" bridge, if possible, would be to have your existing application output it's contents over HTTP as either just text or preferrable XML.  If XML, then just a pipelien with the XML Generator and you got it all: no temporary files, etc..   If the output is a more primitive text format, then just write a custom XSP to digest it and begin your pipeline.
Steve Punte
Candlelight Software
 Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now

Update Orion Web Server - Cocoon Integration Instructions (also jdk1.4.1)

2002-11-16 Thread Steven Punte
Updated instructions for integration of Orion Web Server(http://orionserver.com) version 1.5.4 with ApacheCocoon version 2.0.3 can be found at:
 http://www.candlelightsoftware.com/orion-cocoon.html
Also this combination is tested against JDK 1.4.1!
Steven P. PunteCandlelight SoftwareBy Candlelight If Necessary![EMAIL PROTECTED] http://www.candlelightsoftware.com
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site

Update Orion Web Server - Cocoon Integration Instructions

2002-11-14 Thread Steven Punte
Updated instructions for integration of Orion Web Server(http://orionserver.com) version 1.5.4 with ApacheCocoon version 2.0.3 can be found at:
 http://www.candlelightsoftware.com/orion-cocoon.html
Also this combination is tested against JDK 1.4.1!
Steven P. PunteCandlelight SoftwareBy Candlelight If Necessary![EMAIL PROTECTED] http://www.candlelightsoftware.comDo you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site

Re: Cocoon & Orion

2002-11-02 Thread Steven Punte

--- Alejandro Raiczyk <[EMAIL PROTECTED]>
wrote:
> Hi, I'm trying to run C2 in Orion and I get the
> following error:
> 
> org.apache.cocoon.ProcessingException: Error
> compiling sitemap:
> java.lang.NoClassDefFoundError:
> org/apache/batik/dom/svg/SAXSVGDocumentFactory
>   at
>
org.apache.cocoon.sitemap.Handler.run(Handler.java:290)
>   at java.lang.Thread.run(Thread.java:484)
> java.lang.NoClassDefFoundError:
> org/apache/batik/dom/svg/SAXSVGDocumentFactory

File ~cocoon_2.0.3/WEB-INF/lib/batik-all-1.5b2.jar
seems to be corrupted or just somehow not 
properly packaged.  That is command:

jar tvf batik-all-1.5b2.jar

fail on freshly downloaded binaries.  

I'll send you a version that I've gotton to
work by unzipping using winzip and then 
re-archiving.

Not sure why this isn't seen on all server?

Steve Punte

__
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/

-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Pipeline vs Pipeline(S)

2002-10-31 Thread Steven Punte
What the difference between

  
..
..
  

and

  
..
  

  
..
  

Thanks in advance:
Steve Punte
[EMAIL PROTECTED]

__
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/

-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Re: PERFUME PROPOSAL: SOAP FOR COCOON

2002-09-23 Thread Steven Punte

> > PERFUME PROPOSAL:  SOAP FOR COCOON
> > 
> > For the web application project I'm orchestrating,
we
> > wish to add commercial quality support for SOAP 
> > messaging: both act as a client and as a server.
> > 
> > I have examined the existing soap client package,
> > and new soap package, but I'm uncomfortable with
> > them because the former is xsp based, and the
later
> > is implemented only as a reader.
> 
> Is there something the reader currently
prohibits you from doing ?


My anticipated application solution will probably
have two or 
three XSL transformation steps, one or two SQL, and
possibly
a custom transformer or two.  It is a style of
software architecture
I call XML-Directed Software, and it seems highly
suitable
for creating soap services.

I'm under the impression a reader cannot do this. 
That somehow
a reader is first, last, and all elements of a
pipeline.  Is
this true, or am I misinformed?


> 
> > It is my opinion that Cocoon needs components that
can
> > 
> > play well together, and can be mixed and matched.
> > Therefore, I'd like to propose a package I call
> > "PERFUME."
> > 
> > PERFUME:
> > 
> >   1)  The implementation of Perfume shall
result
> >   in three distinct Cocoon components:
> > 
> >   a)  A generator that can receive
a soap
> >   message and turn it into an
xml sax
> >   stream.
> 
> StreamGenerator ?
> 
> >   b)  A serializer that can
convert an xml
> >   stream into a return soap
message.
> 
> XMLSerializer ?
> 
> or do you mean a serializer that can magically
convert something like:
> 
> 
>   123123123
> 
> 
> into:
> 
> http://schemas.xmlsoap.org/soap/envelope/";;
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";;
>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";;>
>  
>
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";;

> xmlns:ns1="Cocoon-JVM-Memory">
>123123123
>  
> 
>   
> 
> If this is the case, note that the serializer
requires knowledge of the
> request content to build up the response xml
structure appropriately,
> and also how it should convert the first xml
document into the second.


Yes, it does looks the StreamGenerator and
XMLSerializer could do
the job.  Handling errors according to the SOAP
standard may
be a bit difficult, but it seems like these two
components 
should handle the more straight forward situations.

 
> >   c)  A transformer that can act
as a soap
> >   client.  Incoming xml is
transmitted
> >   as a soap message, the pipe
is blocked
> >   until return or time out,
and then the 
> >   received message is returned
into the xml 
> >   sax stream.
> 
> Yes. Something like this is on my TODO list at
the moment. I was
> considering reusing the markup from the xsp tag
lib - did you see any
> problems with that ?


You tell me?  I haven't downloaded your client code
yet.  The question
is whether your approach is too "reader" oriented to
be metamorphosised
into a transformer.


> 
> >   2)  The intended usage is:
> > 
> >   a)  If one wishes to implement a
soap service,
> >   a pipeline beginning with
the generator
> >   and ending with the
serializer is 
> >   constructed.
> 
> How will this actually work for the end user
though ?
> 
> Lets look at a simple pipeline:
> 
> 
>   
>   
>   
> 


You pipeline above is exactly what I'm think of for a
soap-service!


> 
> So the real work of doing the service is done
during the transform stage,
> which means the end-user will have to write
their own transformer/s to
> convert the soap request into a soap response,
manually parsing the
> input soap document (!)


Yes, but Cocoon components like SQLTransformer and
XSLTransformer are
good at this tasks. My biggest concern is that they
are NOT good
at handling errors, for example if someone sends the
wrong message
to the wrong port.


> 
> That could be simplified by writing a
SOAPTransformer that provides a
> framework for calling a user defined class to do
the work and return the
> results, but that's actually the same as the
current AxisRPCReader - just
> that in the case of the reader the explicit
generation and serialization
> stages are removed from the pipeline.


Again, see comments about XML-Directed Software.  The
key concept is
to solve the problem in the framework of a stream of
XML transformer
components.  Is this new, and is the present
available arse

Re: PERFUME PROPOSAL: SOAP FOR COCOON

2002-09-23 Thread Steven Punte

> >> PERFUME:
> >>>
> >>>   1)  The implementation of Perfume
shall result
> >>>   in three distinct Cocoon
components:
> >>>
> >>>   a)  A generator that can
receive a soap
> >>>   message and turn it into
an xml sax
> >>>   stream.
> >>
> >> Why not use an Action? Then you could set sitemap
variables, call 
> >> other
> >> actions, use an existing generator...
> >
> >   Please elaborate more here.  I've only
written one action component 
> > so far, that is used to set a sitemap
> > variable. How would an action component take the
place of a generator 
> > component.
> 
> My first reason for not using a generator to handle
the SOAP request is 
> that it doesn't quite fit into the role of
generators, I think the 
> generator should be used to create the response.


A generator would be best suited to part of the task

of creating a "soap service", right?  I think we are
on the same page here, just different terminology.


> But the real problem I see here is how to do
something useful with the 
> SOAP request. Once you receive the request you've go
to do something 
> with it. If all you have is a SOAPGenerator and a
SOAPSerializer, then 
> all you can so is put some transformers in between
them to turn the 
> request into a response. You wouldn't be able to do
a whole lot unless 
> you wrote your own transformer. With the built in
transformers the most 
> complex thing I could see doing in using an
XSLTransformer and the an 
> SQLTransformer to do a database lookup. If you want
to perform some of 
> the functions that are typically done with Actions
or flowscript you'll 
> need Actions.


On the contrary, I do not see this as the problem,
but rather the
solution.  In My Humble Opinion, the future of
software is in
Cocoon like architectures which are XML centric, and
posses
transformers that modify information from start to
finish.
I call this XML-Directed Software: SQLTransformer,
XSLTransform
LDAPTransformer, are specific instance of this
concept.   


> If you had a SOAPAction though, you could take
information about the 
> soap request and place it into sitemap parameters,
from there you could 
> use those parameters with selectors to choose
appropriate pieces of the 
> pipeline.


I'm intrigue by this, but still unable to visualize
it.  Can
you provide a example of a sitemap fragment(s) that
demonstrate
what you are articulating?

> >
> >   Where can I find out more about flowscript?
> 
> Got me. I followed the discussion of the dev list
for a while, but I've 
> never played with 2.1 and there's no doc that I've
found yet. I guess 
> download 2.1.


Can anyone else point us to an overview of
flowscript?


Steve Punte

__
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Re: PERFUME PROPOSAL: SOAP FOR COCOON

2002-09-22 Thread Steven Punte

> PERFUME:
> >
> >   1)  The implementation of Perfume shall
result
> >   in three distinct Cocoon components:
> >
> >   a)  A generator that can receive
a soap
> >   message and turn it into an
xml sax
> >   stream.
> 
> Why not use an Action? Then you could set sitemap
variables, call other 
> actions, use an existing generator...


Please elaborate more here.  I've only written one
action
component so far, that is used to set a sitemap
variable.
How would an action component take the place of a 
generator component.


> 
> >   b)  A serializer that can
convert an xml
> >   stream into a return soap
message.
> 
> Would the current XMLSerializer work for this? I'm
not that familiar 
> with SOAP, but I was under the impression that it
was xml documents 
> sent via HTTP.


This is an interesting question.  I have a sneaky
feeling that 
SOAP, especially originating from M$, has additional
implied
requirements than simply XML (i.e. setting HTTP
parameters).  
It is just a suspicion at this point in time, and I'm
hoping 
some more experience developers can comment here. 
But using


> 
> 
> >   c)  A transformer that can act
as a soap
> >   client.  Incoming xml is
transmitted
> >   as a soap message, the pipe
is blocked
> >   until return or time out,
and then the
> >   received message is returned
into the xml
> >   sax stream.
> 
> Sounds nice. You could keep the piece that
transforms the sax stream 
> into soap separate from the soap client. That way
you could just use an 
> xsl stylesheet, or any other transformer, to create
the soap and it 
> would be more controllable by the end user.
> 
> Another thought is to have a SOAPAction that does a
similar thing, this 
> way you could receive a request, access a soap
server, then setup the 
> pipeline based on the results of the soap request.
And maybe there's 
> even a way to integrate this with flowscript so that
flowscript can 
> perform actions based on incoming soap, or you could
access a soap 
> service from within flowscript.


Where can I find out more about flowscript?


> >
> >   d)  It seems like the generator
and serializer need
> >   potentially an
out-of-pipeline connection with
> >   each other.  Or that some
method of the generator
> >   conveying forward a soap
related error to the
> >   serializer is needed.
> 
> If it was a soap action rather tan generator it
could set sitemap 
> parameters, or fail.

An alternate strategy is to require certain xml
fragment(s), like an
error structure, be propagated forward from the
generator to the 
serializer.  Both strategies seem to require some
participation on
the user.  I'm wondering if there is a more robust
strategy.


> >
> >   f)  Should the soap-client
transformer be able to
> >   execute multiple soap
request to different
> >   services and not just one
action?  Probably so.
> 
> You could chain the transformers, or use an
aggregator for this.


The drawback to chaining transformers is that how
does the original
soap document specify which soap request is to be
executed by
which soap transformer.  Seems messy.  

How would an aggregator work here?


Steve

__
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




PERFUME PROPOSAL: SOAP FOR COCOON

2002-09-21 Thread Steven Punte

PERFUME PROPOSAL:  SOAP FOR COCOON

For the web application project I'm orchestrating, we
wish to add commercial quality support for SOAP 
messaging: both act as a client and as a server.

I have examined the existing soap client package,
and new soap package, but I'm uncomfortable with
them because the former is xsp based, and the later
is implemented only as a reader.

It is my opinion that Cocoon needs components that can

play well together, and can be mixed and matched.
Therefore, I'd like to propose a package I call
"PERFUME."

PERFUME:

1)  The implementation of Perfume shall result
in three distinct Cocoon components:

a)  A generator that can receive a soap
message and turn it into an xml sax
stream.

b)  A serializer that can convert an xml
stream into a return soap message.

c)  A transformer that can act as a soap
client.  Incoming xml is transmitted
as a soap message, the pipe is blocked
until return or time out, and then the 
received message is returned into the xml 
sax stream.
 
2)  The intended usage is:

a)  If one wishes to implement a soap service,
a pipeline beginning with the generator
and ending with the serializer is 
constructed.

b)  If one wishes to implement a soap client,
a pipeline with the transformer is constructed.

3)  Construction:

It seems to me there are really two fundamental
modules to this effort: a module that converts 
a sax stream to HTTP-SOAP, and a module that 
convert HTTP-SOAP to an xml sax stream.  Both
modules are used twice in the overall project,
both being used in the transformer component.

4)  Issues:

a)  First, how does this proposal sound to you?
Is this the type of soap implementation you
would like to see?

b)  Are any of the existing cocoon soap related
software suitably reusable and appropriate 
here.

c)  Is apache soap/axis suitable for use here?
My preliminary examination of these packages
are they overlap too much with existing 
cocoon to be easily integrated.

d)  It seems like the generator and serializer need
potentially an out-of-pipeline connection with
each other.  Or that some method of the generator 
conveying forward a soap related error to the
serializer is needed.

e)  Should WSDL be incorporate into this proposal?
Please someone correct me if I'm wrong, but 
don't WSDL and XmlSchema do almost the same
thing?  It seems like most of WSDL was a early
solution before XmlSchema became ready. I think
ebXml also makes no reference to WSDL.

f)  Should the soap-client transformer be able to 
execute multiple soap request to different 
services and not just one action?  Probably so.


SHORT-CIRCUIT:  NED INPUT!



Steven P. Punte
Candlelight Software
[EMAIL PROTECTED]
http://www.candlelightsoftware.com

__
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




IS an XSP Transformer Possible?

2002-08-18 Thread Steven Punte

In the cocoon environment, XSP provides a great
way of address problems that don't fit into 
the paradigm of an existing generator.

However, XSP can only be used at the first
step in a pipeline.

I find myself writing lots of custom transformers
to address issues that don't fit into any 
of the existing standard generators.

Would there be a way to write an XSP Transformer?
How about we call this "XST" for now.  Some of
it's characteristics would be:

o  A conventional transformer class would exits.
o  In a pipeline, one would specify the above 
 transformer and a particular xst file.
o  The xst file would be compile automatically
 when needed.
o  A basic internal design would simply allow
 hooks to the various SAX events (i.e. start and
 end of element and document).
o  Output events could be nicely written as in xsp
 like "string"
o  Perhaps a more a more interesting internal
 model would come with a stack to facilitate
 more complex processing.

Steve Punte
Candlelight Software

__
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com

-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




How to obtain org.apache.cocoon.environment.Environment?

2002-05-20 Thread Steven Punte

Dear Cocoon User Group:

  How does one obtain the
  org.apache.cocoon.environment.Environment?

  I've trying:

  public void setup(  ) {
environment =
(Environment)(objectModel.get(Constants.CONTEXT_ENVIRONMENT_CONTEXT));
  }

  As how one obtains session and request, but the
  above always returns null.  

  Cocoon 2.0.2.

  Thanks in advance.

  Steve Punte


__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

-
Please check that your question has not already been answered in the
FAQ before posting. 

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




How does one control caching when using xsl:include?

2002-05-11 Thread Steven Punte

Dear Cocoon User Group:

  I've began separating my XSL stylesheet 
  into multiple files (i.e. due to size)
  using the xsl:include tag.

  But now I loose the automatic caching/
  detection and behavior of Cocoon on
  any of the sub-stylesheet files.

  Is there a way (i.e. configuration) to gain
  this back?  I'm willing to pay the CPU
  penalty especially in development mode?

  Thanks in advance.

Steve Punte
[EMAIL PROTECTED]

__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

-
Please check that your question has not already been answered in the
FAQ before posting. 

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




A SOAP Transformer?

2002-05-05 Thread Steven Punte

Dear Cocoon Users:
  
  Does it make sense that a "SOAP Transformer"
  could be added to the Cocoon arsenal?

  An incoming XML doc would contain the URL of
  the web service to be accessed, perhaps
  also necessary authentication information,
  and the SOAP body.  The SOAP Transformer
  would simply send the message, and insert
  the response into the document stream.

  Does this make sense as a useful component?
  Or are there some hidden issues that would
  introduce complexity?

  Steve Punte
  [EMAIL PROTECTED] 

__
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

-
Please check that your question has not already been answered in the
FAQ before posting. 

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




Is there any performance monitoring tool?

2002-05-02 Thread Steven Punte

Dear Cocoon User Group:

  Does anyone know if there is any performance
  monitoring tool built into Cocoon2?  Something
  that would report the number of ms 
  consumed by each component for a particular
  request.

  Thanks in advance:

Steve Punte

__
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

-
Please check that your question has not already been answered in the
FAQ before posting. 

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




Does xsl:attribute-set work? Cocoon-2.0.2

2002-04-23 Thread Steven Punte

Dear Cocoon User Group:

  Is anyone sucessfully using the Xsl tag
  "attribute-set" with Cocoon 2.0.2 sucessfully.

  I always get a null pointer expection even
  when I just boil it down to the one line:



  Hmm:  pretty hard to wrong here, but maybe.

  Steve Punte

__
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/

-
Please check that your question has not already been answered in the
FAQ before posting. 

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




Is anyone working on a book? Was: Why isn't Cocoon making into the commerical world?

2002-04-04 Thread Steven Punte

Cocoon User Group:

   It seems like the primary reason people feel
   Cocoon is being held back from entering 
   into prime time is documentation. 

   Just out of interest, is anyone working on
   a full book for Cocoon?

Steve Punte
[EMAIL PROTECTED]
By Candlelight If Necessary



__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

-
Please check that your question has not already been answered in the
FAQ before posting. 

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




Cocoon vs EJB

2002-04-01 Thread Steven Punte

Dear Cocoon User Group:

OK.  Cocoon and the EJB world cannot be compared
side-
by-side since they are different beasts, but I put
EJB in the subject because it represents the "J2EE
Flag Ship;" at least, that is my perception.

A better subject line could have been "Cocoon vs.
JSP + ServerBeans + EJB" or similar.

Never-the-less, I've been studying the hell out of
EJB technology for the past two months, and EJB is
suppose to be good stuff?

Cases in point:

o   One is suppose to write four, may six files
for each EJB: XxxBean, XxxHome, XxxRemote,
ejb-jar.xml, and now maybe XxxLocalHome and
XxxLocalRemote (isn't that last one an 
oxymoron?).

o   Adding another process space between the 
servlet container and the database is a 
good thing?  I don't care how much object
pooling goes on.  The fastest software is
software that doesn't exist.

o   Entity EJB beans can provide caching, but 
haven't databases been providing caching for
the last two decades already?

o   Ya, CMP EJB are nice, but plain old JDBC does
most of this anyway WITHOUT any subclassing.

o   Transactions?  Doesn't look that difficult with
JTA, but I haven't done a project yet with JTA.

o   Distributed EJB's for improved reliability?  Wow,
there is sure a lot to potentially go wrong
here.

In summary:

1)  For the complexity, has anyone found that the EJB
technology really brings good stuff to the table?

If so, are such projects mainstream, or somewhat
corner case like the super high rel banking domain?


2)  It seems like for nearly all projects, Cocoon
makes
a much functionality and productivity richer 
starting base than what Sun is advocating.  

But I'm probably preaching to the quire here.

 
  Inquiring Minds Want To Know: 
 
  Steven P. Punte
 
 
Steven P. Punte
Candlelight Software
By Candlelight If Necessary!
[EMAIL PROTECTED] 
http://www.candlelightsoftware.com 

__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://http://taxes.yahoo.com/

-
Please check that your question has not already been answered in the
FAQ before posting. 

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




Why isn't Cocoon making into the commerical world?

2002-03-28 Thread Steven Punte

Dear Cocoon User Group:

   First of all, I LOVE the Cocoon framework,
   I'm a total believer, and expecially love
   how Cocoon2 is turning out!

   Cocoon seems just awesomely powerfully, years
   ahead of the classical architectures proposed
   by Sun (i.e. JSP to ServletBeans to EJBs...).

   But how come there is NO (i.e. ABSOLUTELY NO)
   demand for Cocoon expertise in the US market?
   Type in key word "java" and retrieve 3500 hits
   on www.dice.com.  Type in key word "cocoon" 
   and get ZERO!

   Is it all just a dream?

   Steve

PS:
   No need to reply if "your" commerical project
   is using it: congradulation.  But the bigger
   picture is my question.




__
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/

-
Please check that your question has not already been answered in the
FAQ before posting. 

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




Cocoon2 emulation of Cocoon1: How?

2002-03-23 Thread Steven Punte
Cocoon User Group:
    Does anyone have an example of a 
    structure that can emulate the old standard Cocoon 1 
    XML -> XSP -> XSL -> HTML  pattern?
    Looking for confortable starting place.
    steve
 
 
   
 Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®

Is Cocoon Commercial Support Desired?

2002-03-17 Thread Steven Punte
Dear Cocoon User Group:
 
    I am consider offering commercial support for Cocoon.  Do you
    belong to a firm that would be interested in such support?
 
    Such commercial would support be:
 
    o    Rapid response and resolution to problems and issues.
    o    Testing, defect replication, and defect resolution on
    exact same hardware and OS platform as client.
    o    Custom modifications and additions as needed.
    o    Production worthiness and scaling testing.
    o    Detail and fully tested installation and integration 
    instructions to clients particular environment.
 
    Please contact me at email address below if your firm/project
    is interested in such cost effective support.
 

  Sincerely: 
 
  Steven P. Punte
 
Steven P. PunteCandlelight SoftwareBy Candlelight If Necessary![EMAIL PROTECTED]om http://www.candlelightsoftware.com  
 

Do You Yahoo!?
Yahoo! Sports - live college hoops coverage

Re: from session-attribute to xsl-variable

2002-01-13 Thread Steven Punte

The construct is something like



That is, if I understand your queestion correctly.

steve

--- Uwe Stelzer <[EMAIL PROTECTED]> wrote:
> Hello Cocoon fellows,
> 
> How can I only copy the content of a session
> attribute to a xsl variable in my xsl-logicsheet?
> 
> I have tried this here, but I only get an empty
> string in $usertype:
>  name="usertype"> name="usertype"/>
> 
> If I do a simple
>  name="usertype">student
> then it works!
> 
> If I put 
> elsewhere in my template, it works also.
> 
> What am I doing wrong?
> 
> TIA
> 
> Uwe Stelzer
> 
> 
> 
>
-
> Please check that your question has not already been
> answered in the
> FAQ before posting.
> 
> 
> To unsubscribe, e-mail:
> <[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <[EMAIL PROTECTED]>
> 


__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

-
Please check that your question has not already been answered in the
FAQ before posting. 

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




Cocoon2 + Orion + MySql Integration Instructions

2002-01-05 Thread Steven Punte

  Integration instruction to bring Orion Web Server +
  Cocoon2 Publishing Framework + MySql Database
  alive are available at:

http://www.candlelightsoftware.com/orion-cocoon.html

  This creates a very effective low cost
  highly portable combination!

Sincerely:

Steven P. Punte

Steven P. Punte
Candlelight Software
By Candlelight If Necessary!
[EMAIL PROTECTED]
http://www.candlelightsoftware.com



__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

-
Please check that your question has not already been answered in the
FAQ before posting. 

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




Cocoon2 + Orion Integration Instructions

2001-12-28 Thread Steven Punte

Cocoon2 + Orion Integration Instructions

  Instructions on how to bring Cocoon2 alive on
  the Orion Web Server can be found at:

   
http://www.candlelightsoftware.com/orion-cocoon.html


Sincerely:

Steven P. Punte

Steven P. Punte
Candlelight Software
By Candlelight If Necessary!
[EMAIL PROTECTED]
http://www.candlelightsoftware.com


__
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

-
Please check that your question has not already been answered in the
FAQ before posting. 

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




Can Soap be processed with XSLT using Cocoon?

2001-12-15 Thread Steven Punte


Dear Cocoon Users: 

 Can Cocoon be configured to create a SOAP endpoint 
 in which the business logic is written in XSLT and/or 
 XSP?   

 That is, can the business logic be written (many 
 details excluded) in the following manner: 

  

  

  

  

  

  

  

  

 The wrapper interface would need to properly proces 
 and strip off the HTTP protocol header. 

 Sincerely: 

   steve punte 
   [EMAIL PROTECTED] 





__
Send a friend your Buddy Card and stay in contact always with Excite Messenger
http://messenger.excite.com



-
Please check that your question has not already been answered in the
FAQ before posting. 

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




Financial Business Model: Was Stable Software Needed

2001-07-22 Thread Steven Punte

My point is don't loose out and just become an interesting
"experimental academic project."  

There is HUGH INTEREST by the software industry in this
type of architecture.  There are undoubted many commercial 
firms working on comparable frameworks. Sales of such 
XML framework technology will probably exceed $1B by 2005.

I was driven away from TOMCAT last year because of it lack
of "production worthiness'."  It looks like it is more mature
now, and I may return.  It's sure costly to change back and
fourth.

I wish some financial business model could be integrated into this 
type of open-source project.  Say maybe free for all development
work and $1000/cpu for production use.  Any commercial company
would not heisted to pony up $1K for a bit more stability and
support.

There is really a need in the market for something in-between the
very low cost open source and the $10K and up variety of full
commercial software.

Hell, the UC campuses have gone from free tuition to big bucks "fees" 
(i.e. still supposedly free tuition) over the last few decades.

PS:
I'm on 1.8.2++  See http://candlelightsoftware.com/cocoon.html
for the "++".  

PSS:
I love the Cocoon Framework!  :-)

PSSS:
I showed an ASP instance of Cocoon at a Hotel trade
show in June, and the technology was a real hit!!

Steven P. Punte
Candlelight Software
By Candlelight If Necessary!
[EMAIL PROTECTED]
http://candlelightsoftware.com

On Sat, 21 Jul 2001 09:54:02 -0700, [EMAIL PROTECTED] wrote:

>  I would like to point out that the cocoon team has done a good job of
>  balancing feature requests with development release time. If what you
need
>  is stable and mature software perhaps you'd like to consider using Cocoon
>  1.X series and see if it does what you need (which is what I did) while
>  features are completed and the code matures enough to meet your
>  requirements.
>  
>  Or, more bluntly, use commercial software if it gives you the more stable
>  and usable system that you're looking for.
>  
>  Once upon a time, "Steven Punte" was seen writting:
>  
>  > I too agree with Roys' statements.  Stable software is
>  > everything.  Otherwise Cocoon will just take it's
>  > place as some interesting R&D project in the Software
>  > Halls of History while another project, another firm,
>  > deliveres a stable usable system to market that
>  > becomes the standard.
>  > 
>  >   Steve Punte
>  
>  
>  -
>  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]>
>





___
Send a cool gift with your E-Card
http://www.bluemountain.com/giftcenter/



-
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: 2.1? Stable Software Needed

2001-07-21 Thread Steven Punte

I too agree with Roys' statements.  Stable software is 
everything.  Otherwise Cocoon will just take it's 
place as some interesting R&D project in the Software
Halls of History while another project, another firm,
deliveres a stable usable system to market that 
becomes the standard.

Steve Punte



On Thu, 19 Jul 2001 08:40:06 -0700, [EMAIL PROTECTED] wrote:

>  So here I've been waiting for a stable Cocoon 2, and I find that the 
>  development has blown past a stable 2.0 release, and now is working 
>  on 2.1. Is there any hope of a stable release anytime soon? I have 
>  production services running (shakily, unfortunately) on 1.8.3, and 
>  would appreciate having a stable version of 2.x, in the (perhaps 
>  forlorn) hope that my troubles may disappear. Can anyone give me a 
>  sense of the proposed development path? Please respond directly to me 
>  as well as the list, since I cannot deal with signing up to a list 
>  that gets the kind of traffic this list does. Thanks,
>  Roy Tennant
>  eScholarship
>  California Digital Library
>  
>  -
>  Please check that your question has not already been answered in the
>  FAQ before posting. 
>  
>  To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>  For additional commands, e-mail: <[EMAIL PROTECTED]>
>





___
Send a cool gift with your E-Card
http://www.bluemountain.com/giftcenter/



-
Please check that your question has not already been answered in the
FAQ before posting. 

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




Use PJA: How to run cocoon2 without X11

2001-07-06 Thread Steven Punte

Another possiblity, especially if a graphics card
is not available, is to use the PJA toolkit.

Either PJA classes can be directly invoked, or with
enought finess of awt.properties, all graphics
activity will be routed to this pure java 
implementation.

Result is very platform independent operation.


Steve Punte
[EMAIL PROTECTED]




On Fri, 6 Jul 2001 18:46:01 +0200, [EMAIL PROTECTED] wrote:

>  Hi!
>  
>  How can I run cocoon 2 without X11. Why is a Display needed???
>  
>  Christoph Gaffga
>  
>  
>  
>  > Hi !
>  >
>  > for me, this is a strange error. Why does C2 need the X server.
>  > And how can I fix it.
>  >
>  > thanks in advance.
>  >
>  > Christoph Gaffga
>  >
>  >
>  >
>  > ERROR   41966   [cocoon  ] (Thread-5): Error compiling sitemap
>  > java.lang.InternalError: Can't connect to X11 window server using
':0.0'
>  as
>  > the value of the DISPLAY variable.
>  > at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
>  > at
>  > sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:58)
>  > at java.lang.Class.forName0(Native Method)
>  > at java.lang.Class.forName(Class.java:120)
>  > at
>  >
> 
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment
>  > .java:58)
>  > at sun.awt.motif.MToolkit.(MToolkit.java:57)
>  > at java.lang.Class.forName0(Native Method)
>  > at java.lang.Class.forName(Class.java:120)
>  > at java.awt.Toolkit$2.run(Toolkit.java:498)
>  > at java.security.AccessController.doPrivileged(Native Method)
>  > at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:489)
>  > at
java.awt.SystemColor.updateSystemColors(SystemColor.java:342)
>  > at java.awt.SystemColor.(SystemColor.java:335)
>  > at
>  >
> 
org.apache.batik.css.value.DefaultSystemColorResolver.activeBorder(DefaultSy
>  > stemColorResolver.java:27)
>  > at
>  > org.apache.batik.css.value.ColorFactory.(ColorFactory.java:75)
>  > at
>  >
> 
org.apache.batik.css.value.CommonValueFactoryMap.(CommonValueFactoryMa
>  > p.java:39)
>  > at
>  >
> 
org.apache.batik.css.svg.SVGValueFactoryMap.(SVGValueFactoryMap.java:3
>  > 9)
>  > at
>  >
> 
org.apache.batik.css.svg.SVGValueFactoryMap.(SVGValueFactoryMap.java:3
>  > 2)
>  > at
>  >
> 
org.apache.batik.dom.svg.SVGDOMImplementation.(SVGDOMImplementation.ja
>  > va:88)
>  > at
>  >
> 
org.apache.batik.dom.svg.SVGDOMImplementation.(SVGDOMImplementation.
>  > java:59)
>  > at
>  >
> 
org.apache.batik.dom.svg.SAXSVGDocumentFactory.(SAXSVGDocumentFactory.
>  > java:59)
>  > at
org.apache.cocoon.xml.dom.SVGBuilder.(SVGBuilder.java:59)
>  > at
>  >
> 
org.apache.cocoon.serialization.SVGSerializer.(SVGSerializer.java:47)
>  > at java.lang.Class.newInstance0(Native Method)
>  > at java.lang.Class.newInstance(Class.java:237)
>  > at
>  >
> 
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(De
>  > faultComponentFactory.java:83)
>  > at
>  >
> 
org.apache.avalon.excalibur.pool.AbstractPool.newPoolable(AbstractPool.java:
>  > 70)
>  > at
>  >
> 
org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.grow(SoftResourceL
>  > imitingPool.java:82)
>  > at
>  >
> 
org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.initialize(SoftRes
>  > ourceLimitingPool.java:67)
>  > at
>  >
> 
org.apache.avalon.excalibur.component.PoolableComponentHandler.initialize(Po
>  > olableComponentHandler.java:75)
>  > at
>  >
> 
org.apache.avalon.excalibur.component.DefaultComponentSelector.addComponent(
>  > DefaultComponentSelector.java:306)
>  > at
>  >
> 
org.apache.cocoon.sitemap.SitemapComponentSelector.addSitemapComponent(Sitem
>  > apComponentSelector.java:42)
>  > at
>  >
> 
org.apache.cocoon.sitemap.AbstractSitemap.load_component(AbstractSitemap.jav
>  > a:150)
>  > at
>  >
> 
org.apache.cocoon.www.sitemap_xmap$Configurer.configSerializers(sitemap_xmap
>  > .java:940)
>  > at
>  > org.apache.cocoon.www.sitemap_xmap.configure(sitemap_xmap.java:490)
>  > at
>  >
> 
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(De
>  > faultComponentFactory.java:110)
>  > at
>  >
> 
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(
>  > ThreadSafeComponentHandler.java:78)
>  > at
>  >
> 
org.apache.avalon.excalibur.component.DefaultComponentSelector.addComponent(
>  > DefaultComponentSelector.java:306)
>  > at
>  >
> 
org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerat
>  > or(GeneratorSelector.java:75)
>  > at
>  >
> 
org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerat
>  > or(GeneratorSelector.java:71)
>  > at
>  >
> 
org.apache.cocoon.components.language.generator.GeneratorSelector.select(Gen
>  > eratorSelector.java:57)
>  >

Re: Xalan version for Cocoon 1.8.x

2001-06-15 Thread Steven Punte

Werner:

   If you are looking for better performance, I've
   achieve operation of cocoon 1.8.2+ with Saxon.
   Straigh 1.8.2 requires some modifications.  See
   http://www.candlelightsoftware.com/cocoon for
   detail information.

   steve



On Fri, 15 Jun 2001 16:14:19 +0100, [EMAIL PROTECTED] and
[EMAIL PROTECTED] wrote:

>  Hi,
>  
>  Given that I have not seen any reply to my question, let's try it again
(and
>  rephrase it at the same time .. ;-)).
>  
>  Is it possible to move from Xalan 1.2.2 to Xalan 2 without breaking
anything
>  in Cocoon 1.8.2 ?. I just tried this last week, and I am having problems
>  telling me that the XMLParserLiaison class can not be found. Checked the
JAR
>  file of Xalan 2, and indeed it seems as if that class does not exist
>  anymore.
>  
>  Is it that I am doing things wrong, or does Cocoon require Xalan to be of
>  version 1.x.y ?
>  
>  Thanks
>  Werner
>  
>  Werner Guttmann wrote:
>  
>  > Hi,
>  >
>  > I am running Cocoon 1.8.2 on Solaris 2.7 with Sun's JDK 1.2.2, and I
>  > having problems with different Cocoon and non-Cocoon web applications
>  > (residing on the same servlet engine) having different requirements
>  > related to Xalan version numbers, i.e. some of them requiring Xalan
1.2.
>  >
>  > Before describing the problem in detail, would anybody know of a reason
>  > why Cocoon 1.8.x would require Xalan 1.2.2 (or below) and hence would
>  > prevent me from switching to Xalan 2 ?
>  >
>  > Regards
>  > Werner
>  >
>  > -
>  > Please check that your question has not already been answered in the
>  > FAQ before posting. 
>  >
>  > 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. 
>  
>  To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>  For additional commands, e-mail: <[EMAIL PROTECTED]>
>





___
Send a cool gift with your E-Card
http://www.bluemountain.com/giftcenter/



-
Please check that your question has not already been answered in the
FAQ before posting. 

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




Saxon "extra stuff" problem, and comment from Michael Kay

2001-06-02 Thread Steven Punte

I send this question to Michael Kay, author of Saxon,
and received the reply below.  He seems to indicated 
that this is configurable, but I'm not sure of how
to adjust cocoon to eliminate this extra information.

Can anyone suggest how to achieve such a "configuration" 
to Saxon?

   Steve Punte

-
>From Michael Kay:

Please send me an example of a stylesheet that exhibits this behavior.

The XML namespace should never be output.

The XSP namespace should be output only when the XSLT rules require, and
these rules are the same as in Xalan. Depending where it comes from, you may
be able to suppress it using exclude-result-prefixes.

Mike Kay

> -Original Message-
> From: Steve Punte [mailto:[EMAIL PROTECTED]]
> Sent: 22 May 2001 19:25
> To: [EMAIL PROTECTED]
> Subject: Can emission of namespace attributes be suppressed on Saxon?
>
>
> Dear Michael:
>
>   Saxon is great.
>
>   I'm using it with the Cocoon framework instead of Xalan
>   because it is much higher performance.
>
>   However, a difference I see is that name space attribute
>   information is attached to all nodes.
>
> XALAN:
>   
>   
>   
>
>
> SAXON:
>xmlns:xml="http://www.w3.org/XML/1998/namespace";
> xmlns:xsp="http://www.apache.org/1999/XSP/Core"; >
>   
>   
>
>
>   While technically more correct, this is causing A LOT of
>   extra information to be inserted into the synthesized
>   java file (i.e. XSP technology), and thus the 64KByte
>   java method function JVM limitation is approached.
>
>   Is there anyway to suppress this behavior?
>
>   Thanks in advance:
>
>   Steve Punte




On Sat, 2 Jun 2001 14:43:44 +0200 , [EMAIL PROTECTED] wrote:

>  Yes ... we also have this problem in our XSP pages - it adds source code
to 
>  generated .java pages to include namespace declaration attributes in
every 
>  element we produce using XSP.
>  
>  Our configuration is:
>  
>  Cocoon 1.8.3, Saxon 6.2.2.
>  
>  Does anybody other have these problems with SAXON as XSLT transformer ?
>  Have anyone found the solution for this problem ?
>  
>  Thanks
>  
>  Peter
>  
>  > -Original Message-
>  > From: Steven Punte [mailto:[EMAIL PROTECTED]]
>  > Sent: Monday, May 21, 2001 9:02 PM
>  > To: [EMAIL PROTECTED]
>  > Subject: HELP: Too many namespace attributes with Saxon
>  > 
>  > 
>  > When using Saxon, each and every node is specified with 
>  > detailed namespace information.  For example:
>  > 
>  > Xalan:
>  > 
>  >
>  >  
>  >   
>  > 
>  > 
>  > Saxon:
>  > 
>  > > xmlns:xml http://www.w3.org/XML/1998/namespace
>  > xmlns:xsp http://www.apache.org/1999/XSP/Core >
>  >   
>  >   
>  > 
>  > 
>  > While this is perhaps "more correct", it quickly
>  > and needlessly pushes me over the 64K byte JVM
>  > limitation.
>  > 
>  > Does anyone know a way of suppressing this behavior?
>  > 
>  > Thanks:
>  > 
>  >Steve Punte
>  > 
>  > 
>  > 
>  > 
>  > FRAGMETN OUTPUT JAVA FILE USING XALAN
>  > 
>  > xspCurrentNode =
>  >   document.createElement("page");
>  > xspParentNode.appendChild(xspCurrentNode);
>  > 
>  > 
>  > SAME FRAGMENT OUTPUT JAVA FILE USING SAXON
>  > 
>  > xspCurrentNode =
>  >   document.createElement("page");
>  > xspParentNode.appendChild(xspCurrentNode);
>  > 
>  >   ((Element) xspCurrentNode).setAttribute(
>  > "xmlns:xml",
>  > "http://www.w3.org/XML/1998/namespace";
>  >   );
>  > 
>  >   ((Element) xspCurrentNode).setAttribute(
>  > "xmlns:xsp",
>  > "http://www.apache.org/1999/XSP/Core";
>  >   );
>  > 
>  > 
>  > 
>  > 
>  > 
>  > ___
>  > Send a cool gift with your E-Card
>  > http://www.bluemountain.com/giftcenter/
>  > 
>  > 
>  > 
>  > -
>  > 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 co

What is Your Presentation Layer?

2001-05-26 Thread Steven Punte

Dear Cocoon User Group:

  I've spent about the last six months building a 
  large complex cocoon based dynamic web site.

  Yes, the separation of content, logic, and presentation
  is great.  However, the more I think about it, the hard 
  it seems to define exactly should be in the presentation layer.

  Certainly, color scheme, font type, encapsulation 
  of all HTML,  etc... is in the presentation layer.  

  However, what about layout?  If one moves layout into
  the presentation layer, then many page specific 
  templates (i.e. ) 
  (or equivalent) are needed in the presentation layer.
  This doesn't seem right.

  On the other hand, if layout is specified in the logic
  layer, then this makes it more difficult to support
  a different display technology such as WAP, where 
  pages need to be broken up into the finer granularity
  of cards.

  Hmm.
   
  So, "What is Your Presentation Layer?"

  Inquiring Minds Want To Know!

  Steve Punte
  [EMAIL PROTECTED]  





___
Send a cool gift with your E-Card
http://www.bluemountain.com/giftcenter/



-
Please check that your question has not already been answered in the
FAQ before posting. 

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




Re: xsl:variable

2001-05-26 Thread Steven Punte


On 25 May 01 16:38:08 CDT, [EMAIL PROTECTED] wrote:

What you want to use is 
  
 Steve Punte
 [EMAIL PROTECTED]

>  Hi, I have a question about xsl:variables. 
>  I use the following:
>  
>  
>  
>
>   
> user
> pwd
>   
>  
>  
>  
>  
>  to declare the variables, and:
>  
>  
>   
>
>
>  
>  
>  to try to get a hold of them but I cant get it to work. 
>  
>  I would be very glad whith help on this.
>  
>  /Niklas
>  
>  
>  -
>  Please check that your question has not already been answered in the
>  FAQ before posting. 
>  
>  To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>  For additional commands, e-mail: <[EMAIL PROTECTED]>
>





___
Send a cool gift with your E-Card
http://www.bluemountain.com/giftcenter/



-
Please check that your question has not already been answered in the
FAQ before posting. 

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