cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e nio <enio...@yahoo.com>
Subject Re: AW: Cocoon on Orion2
Date Thu, 03 Apr 2003 16:21:11 GMT
  Hi Michael,
     I do not have SAP db on my machine therefore I dont have
the need for this portion.  You know how to exclude this SAP
related stuff specifically on the 2.1 dev block?  I did build
all the scratchpadwar so perhaps eliminating that may take it
out.
     Anyone else may have solution to the number 2 issue I have?

enio

--- Michael Gerzabek <michael.gerzabek@gmx.net> wrote:
> seems you're working with Web3RfcTransformer but didn't deploy
> the right version of SAP Java Connector.
> 
> > -----Ursprungliche Nachricht-----
> > Von: e nio [mailto:enio721@yahoo.com]
> > Gesendet: Donnerstag, 03. April 2003 09:00
> > An: cocoon-users@xml.apache.org
> > Betreff: Cocoon on Orion2
> > 
> > 
> > 
> > 1. I am not able to get cocoon2.1dev running on Orion2 I was
> > getting:
> > 
> > 500 Internal Server Error
> > 
> > java.lang.NoClassDefFoundError: com/sap/mw/jco/JCO$Structure
> >         at java.lang.Class.forName0(Native Method)
> >         at java.lang.Class.forName(Class.java:207)
> >         at com.evermind[Orion/2.0 (build
> > 11018)]._iz.findClass(.:19)
> >         at
> java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> >         at
> java.lang.ClassLoader.loadClass(ClassLoader.java:262)
> >         at
> >
>
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.c
> > onfigure(ExcaliburComponentSelector.java:409)
> >         at
> >
>
org.apache.avalon.framework.container.ContainerUtil.configure(Cont
> > ainerUtil.java:239)
> >         at
> >
>
org.apache.avalon.excalibur.component.DefaultComponentFactory.newI
> > nstance(DefaultComponentFactory.java:315)
> >         at
> >
>
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.i
> > nitialize(ThreadSafeComponentHandler.java:141)
> >         at
> >
>
org.apache.avalon.excalibur.component.ExcaliburComponentManager.in
> > itialize(ExcaliburComponentManager.java:555)
> >         at
> org.apache.cocoon.Cocoon.initialize(Cocoon.java:329)
> >         at
> >
>
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet
> > .java:1310)
> >         at
> >
>
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:505)
> >         at com.evermind[Orion/2.0 (build
> > 11018)]._ay._lce(.:1672)
> >         at com.evermind[Orion/2.0 (build
> > 11018)]._ay._bsd(.:3976)
> >         at com.evermind[Orion/2.0 (build
> > 11018)]._ay._lde(.:2502)
> >         at com.evermind[Orion/2.0 (build
> > 11018)]._ay._nic(.:2219)
> >         at com.evermind[Orion/2.0 (build
> 11018)]._ax._lqc(.:449)
> >         at com.evermind[Orion/2.0 (build
> 11018)]._ax._tvb(.:189)
> >         at com.evermind[Orion/2.0 (build
> 11018)]._bf.run(.:62)
> > 
> > 2. cocoon2.0.4 on Orion2 seem to work okay, except I was not
> > able to get a successful jsp which maybe due to the way
> sitemap
> > is laid out in respect to how orion2 have their directory
> > structure.  What I meant by this is I have to create this
> > directory structure in orion:
> > 
> > applications/
> >  |
> >  cocoon/
> >   |__ META-INF/
> >   |        |_ application.xml
> >   |
> >   |__ cocoon/
> >         |
> >         |__ META-INF/
> >         |
> >         |__ WEB-INF/
> >         |
> >         |_ sitemap.xmap  the main one
> >            and the rest of cocoon.war expanded
> > 
> > Looking at the sitemap.log I am getting this error:
> > 
> > 32 DEBUG   (2003-04-02) 22:37.58:991   [sitemap.reader.jsp]
> > (/cocoon/samples/jsp/welcome.htm)
> > ApplicationServerThread/JSPReader: JSPReader executing
> JSP:/s
> > amples/jsp/welcome.jsp
> >      33 DEBUG   (2003-04-02) 22:37.59:010  
> [sitemap.reader.jsp]
> > (/cocoon/samples/jsp/welcome.htm)
> > ApplicationServerThread/JSPReader: Exception in
> > JSPReader.generate()
> >      34 java.lang.ClassNotFoundException:
> > org.apache.jasper.servlet.JspServlet
> >      35     at com.evermind._as.findClass(.:417)
> >      36     at
> > java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> >      37     at
> > java.lang.ClassLoader.loadClass(ClassLoader.java:262) 
> > 
> > This seem to indicate the orion's jsp engine is not
> compatible
> > with jasper because of dependencies on Tomcat as per
> > Konstantin's  comment on another jsp issue.
> > 
> > 
> > And with the above directory layout, the main sitemap.xmap
> > doesnt seem to work right on some case for example this
> portion
> > on the standard 2.0.4 stock samples:
> > 
> >  884    <map:match pattern="welcome">
> >  885     <map:generate src="docs/samples/samples.xml"/>
> > 
> > instead of generating the samples.xml it displays the
> > cocoon/welcome/  directory contents instead. By adding a "/"
> to
> > the pattern to make it  pattern="welcome/"  it does display
> the
> > samples.xml content but when clicking to any of the href in
> the
> > contents IT IS TOTALLY out of whacked in terms of the path
> and
> > there all I get is resource not found.
> > 
> > Anyway to solve these?  Thanks in advance.
> > 
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Tax Center - File online, calculators, forms, and
> more
> > http://tax.yahoo.com
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> cocoon-users-unsubscribe@xml.apache.org
> > For additional commands, e-mail:
> cocoon-users-help@xml.apache.org
> > 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail:
> cocoon-users-help@xml.apache.org
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message