IFS & Cocoon / XSP

Hi,
I'm currently fighting with iFS and XSP ...
The goal is to have an XSP-Taglib for iFS to use iFS functionality in XSP-Server-Pages ...
An example XSP-Taglib works without any Problems, as well as an stand-alone Java program to put a document into the iFS repository (and gather some informational data from the iFS) ...
But as soon as I try to put both parts together the java compiler refuses to compile ... When I use the classes full qualified (oracle.ifs.beans.LibaryService) with an OutOfMemory-Error or ResourceUnavailable-Error, when I try to use an import oracle.ifs.beans.* with an absolutely senseless error (an method of the interface is not implement, but it is) ...
If I compile it by Hand (works when I do not use the import statement) the XSP-Processor throws an NullPointer-Exception ...
I assume it must be something with the XML-Parsing (which might be incompatible in Cocoon/Xerces/Xalan and Oracle iFS) ...
I use TomCat 3.2beta2 with Cocoon 1.7.4 at the on side and Oracle 8.1.6 with iFS 1.0.8.3.0 on the other ...
Any help is highly appreciated ...
Bye.
Jens
null

... it was a problem with same class names ...
org.w3c.dom.Document and oracle.ifs.beans.Document ...
both packages were imported with an * ...
import org.w3c.dom.*;
came from the Cocoon XSP processor and ...
import oracle.ifs.beans.*;
... came from me ...
both imports in one java file seem to confuse the java compiler ... (and it doesn't
seem to take care of those situations)
Regards,
Jens
null

Similar Messages

  • Cocoon XSP and EJBs

    Hello SaiRam,
    Have you tried Cocoon XSP with WLS?
    I am trying to set it up, but I have big
    problems making Cocoon XSP reference
    my EJB jars and classes and this result in
    the inability to dynamically compile a
    XSP page. Another problem is that the
    way I set up weblogic_classpath and
    classpath prevents me from using JSPs
    with WebLogic (provided I changed
    them to be able to use Cocoon)?!
    I guess the Cocoon's and Weblogic's
    java compilers get on their way?!
    Thanks!
    Georgi

    Hi Georgi,
    XSP seems to work fine for me with WLS. XSPs seem to rely on java.class.path
    being set up correctly.
    I have had to run startWebLogic.cmd from the command line -- I tried running
    wlconfig.exe etc to get the "start WebLogic from the console" to get working --
    but i was not able to set java.class.path as needed.
    Currently, my classpath settings are like this ..
    weblogic.class.path looks like ...
    c:\cocoon-1.7.4\lib\cocoon.jar;c:\jars\xerces_1_0_3.jar;c:\jars\xalan_1_0_1.jar;
    c:\jars\fop_0_12_1.jar;c:\jars\classes111.zip;c:\jars\jaas.jar;c:\jars\jndi.jar;
    c:\jars\ldap.jar;c:\jars\ldapbp.jar;c:\jars\providerutil.jar;c:\jdk1.3\lib\tools.jar;
    c:\jars\stylebook-1.0-b2.jar;.\license;.\classes;.\lib\weblogicaux.jar;.\myserver\serverclasses
    java.class.path looks like
    .\classes\boot;.\eval\cloudscape\lib\cloudscape.jar;c:\jdk1.3\lib\tools.jar;
    c:\jars\cocoon.jar;c:\jars\xalan_1_0_1.jar;c:\jars\xerces_1_0_3.jar;
    c:\jars\fop_0_12_1.jar;c:\jars\servlet_2_2.jar;c:\jars\stylebook-1.0-b2.jar;
    c:\jars\classes111.zip;c:\jars\jaas.jar;c:\jars\jndi.jar;c:\jars\ldap.jar;
    c:\jars\ldapbp.jar;c:\jars\providerutil.jar
    Both JSPs and XSPs seem to work fine -- although i have never yet tried to
    reference EJBs from XSPs.
    Hope this helps!
    Thanks
    sai
    Georgi Kostadinov wrote:
    Hello SaiRam,
    Have you tried Cocoon XSP with WLS?
    I am trying to set it up, but I have big
    problems making Cocoon XSP reference
    my EJB jars and classes and this result in
    the inability to dynamically compile a
    XSP page. Another problem is that the
    way I set up weblogic_classpath and
    classpath prevents me from using JSPs
    with WebLogic (provided I changed
    them to be able to use Cocoon)?!
    I guess the Cocoon's and Weblogic's
    java compilers get on their way?!
    Thanks!
    Georgi

  • XSP, XML, XSLT ( Cocoon )

    I have been trying to install Cocoon on weblogic server 5.1 with
    Service pack 6 installed.
    I have followed the installation instructions provided but I cannot
    get either Cocoon.xml or any of the samples to run.
    Has anyone sucessfully managed to install this correctly ? If so
    can you tell me how ?
    Regards
    Neil
    ----- Posted via NewsOne.Net: Free (anonymous) Usenet News via the Web -----
    http://newsone.net/ -- Free reading and anonymous posting to 60,000+ groups
    NewsOne.Net prohibits users from posting spam. If this or other posts
    made through NewsOne.Net violate posting guidelines, email [email protected]

    I was able to get Coccoon 1.8.2 to work with WLS5.1 SP8. I needed to modify
    the
    classpath in the startup script to include ....
    PRE_CLASSPATH=$PRE_CLASSPATH:$THIRDPARTY/cocoon.jar:$THIRDPARTY/fop_0_15_0.j
    ar:$THIRDPARTY/turbine-pool.jar:$THIRDPARTY/w3c.jar:$THIRDPARTY/xalan_1_2_D0
    2.jar:$THIRDPARTY/xerces_1_2.jar:$THIRDPARTY/servlet_2_2.jar:./lib/weblogica
    ux.jar:/usr/java1.2/lib/tools.jar
    where $THIRDPARTY defines the location of the jar files. One of the key
    things was having the servlet_2_2.jar file in the classpath
    as shown above.
    In addition I need to define in the web applications web.xml file to map for
    the
    cocoon servlet...
    <servlet>
    <servlet-name>org.apache.cocoon.Cocoon</servlet-name>
    <servlet-class>org.apache.cocoon.Cocoon</servlet-class>
    <init-param>
    <param-name>properties</param-name>
    <param-value>./WEB-INF/cocoon.properties</param-value>
    </init-param>
    </servlet>
    <servlet-mapping>
    <servlet-name>org.apache.cocoon.Cocoon</servlet-name>
    <url-pattern>*.xml</url-pattern>
    </servlet-mapping>
    So each application defines this on a per application basis. You will also
    need to copy the
    cocoon classes to a common location (e.g. serverclasses).
    Good luck.
    <[email protected]> wrote in message
    news:9akfeb$ffs$[email protected]..
    I have been trying to install Cocoon on weblogic server 5.1 with
    Service pack 6 installed.
    I have followed the installation instructions provided but I cannot
    get either Cocoon.xml or any of the samples to run.
    Has anyone sucessfully managed to install this correctly ? If so
    can you tell me how ?
    Regards
    Neil
    ----- Posted via NewsOne.Net: Free (anonymous) Usenet News via theeb -----
    http://newsone.net/ -- Free reading and anonymous posting to 60,000+
    groups
    NewsOne.Net prohibits users from posting spam. If this or other posts
    made through NewsOne.Net violate posting guidelines, [email protected]

  • Displaying Images with Cocoon

    I am a bit of a Cocoon Newbie but I have spent a day or two trying to resolve this issue. Here Goes.
    We are starting to use Cocoon 2.1 and we are replacing a Struts based system that extracts information from a Legacy Database (IDMS) and retrieves among other things JPEG images. With the Struts system we couldn't find a way to use a JSP to display the image so we had to use a servlet.
    I was under the impression that there might be an easy way to do this in Cocoon but now I'm not so sure. Most of the examples in any Cocoon books are using the inbuilt SQL type features to extract the image but this is not an option for us.
    Has anyone created a JPEG image object and then diaplayed it using an XSP or maybe just using a servlet.
    I would appreciate any help from someone who has done this or knows how this can be done.

    I actually tried both ways of achieving this and both worked (reader method took quite a while)!
    Initially I extended ResourceReader (instead of Image Reader). The difficulty came in getting it to read from a session attribute rather than a URL but I achieved this by overriding the Generate method.
    I used the JSP code scriptlet from AslanovSergey and put this in a Cocoon Action. The only tweaking I needed was to flush the output !
    To answer your question the JPEGdata was already in a byte array so that code was spot on (apart from the flush ).
    Thanks for your help.

  • WebLogic 5.1 + Cocoon

    Hi all,
    I am posting the steps involved in integrating Cocoon 1.7.4 with Weblogic 5.1
    -- in the hope that it will be useful for some of the XML gang. I received some
    good help from Philip Aston, Jim Typrowitz, James Scott et al. from the Cocoon
    mailing list.
    Thanks
    sai
    1) Added the following lines to weblogic.properties
    #Cocoon Stuff added by Sai
    weblogic.httpd.webApp.cocoon=/weblogic/myserver/cocoonwar
    weblogic.httpd.register.*.xml=org.apache.cocoon.Cocoon
    weblogic.httpd.initArgs.*.xml=\properties=cocoon.properties
    2) Created a directory "cocoonwar" under /weblogic/myserver
    3) Copied the "WEB-INF" directory from cocoon-1.7.4/src to
    /weblogic/myserver/cocoonwar
    4) Verified that the directory includes the file web.xml
    5) In the line in web.xml that has cocoon.properties, replaced the line with
    <param-value>./WEB-INF/cocoon.properties</param-value>
    6) Copied the cocoon.properties file to /weblogic/myserver/cocoonwar/WEB-INF
    7) Made sure that the repository directory specified in cocoon.properties file
    is "./repository"
    processor.xsp.repository = ./repository
    8) Created a sub-directory /weblogic/myserver/cocoonwar/repository
    9) Copied the samples directory (/cocoon1.7.4/samples) to
    /weblogic/myserver/public_html/samples
    10) Created a directory c:\jars and copied cocoon.jar, xerces_1_0_3.jar,
    xalan_1_0_1.jar,
    fop_0_12_1.jar, jaas.jar, jndi.jar, ldap.jar,ldapbp.jar, providerutil.jar,
    stylebook-1.0-b2.jar
    11) In startWebLogic.cmd file replaced the "set PRE_CLASSPATH=" line with
    set PRE_CLASSPATH=c:\cocoon-1.7.4\lib\cocoon.jar;c:\jars\xerces_1_0_3.jar;
    c:\jars\xalan_1_0_1.jar;c:\jars\fop_0_12_1.jar;
    c:\jars\jaas.jar;c:\jars\jndi.jar;c:\jars\ldap.jar;c:\jars\ldapbp.jar;
    c:\jars\providerutil.jar;c:\jdk1.3\lib\tools.jar;c:\jars\stylebook-1.0-b2.jar
    12) Where JAVA_CLASSPATH is being set in startWebLogic.cmd, appended the
    following
    ;c:\jdk1.3\lib\tools.jar;c:\jars\cocoon.jar;c:\jars\xalan_1_0_1.jar;
    c:\jars\xerces_1_0_3.jar;c:\jars\fop_0_12_1.jar;c:\jars\servlet_2_2.jar;
    c:\jars\stylebook-1.0-b2.jar;c:\jars\jaas.jar;c:\jars\jndi.jar;c:\jars\ldap.jar;
    c:\jars\ldapbp.jar;c:\jars\providerutil.jar
    13) Restarted weblogic and try accessing http://localhost:7001/Cocoon.xml and
    http://localhost:7001/samples/index.xml -- assuming here that 7001 is the port
    14) If it doesnt work, try copying cocoon.properties to
    \weblogic\myserver\public_html
    15) In case you get an LDAP related error, then probably you are missing the
    jndi.jar and
    associated jar files. Try to get them from the Sun website. Or if you cant get
    it
    go ahead and comment the line
    processor.type.ldap = org.apache.cocoon.processor.ldap.LdapProcessor
    16) Make sure you have tools.jar on JAVA_CLASSPATH

    Hi all,
    I am posting the steps involved in integrating Cocoon 1.7.4 with Weblogic 5.1
    -- in the hope that it will be useful for some of the XML gang. I received some
    good help from Philip Aston, Jim Typrowitz, James Scott et al. from the Cocoon
    mailing list.
    Thanks
    sai
    1) Added the following lines to weblogic.properties
    #Cocoon Stuff added by Sai
    weblogic.httpd.webApp.cocoon=/weblogic/myserver/cocoonwar
    weblogic.httpd.register.*.xml=org.apache.cocoon.Cocoon
    weblogic.httpd.initArgs.*.xml=\properties=cocoon.properties
    2) Created a directory "cocoonwar" under /weblogic/myserver
    3) Copied the "WEB-INF" directory from cocoon-1.7.4/src to
    /weblogic/myserver/cocoonwar
    4) Verified that the directory includes the file web.xml
    5) In the line in web.xml that has cocoon.properties, replaced the line with
    <param-value>./WEB-INF/cocoon.properties</param-value>
    6) Copied the cocoon.properties file to /weblogic/myserver/cocoonwar/WEB-INF
    7) Made sure that the repository directory specified in cocoon.properties file
    is "./repository"
    processor.xsp.repository = ./repository
    8) Created a sub-directory /weblogic/myserver/cocoonwar/repository
    9) Copied the samples directory (/cocoon1.7.4/samples) to
    /weblogic/myserver/public_html/samples
    10) Created a directory c:\jars and copied cocoon.jar, xerces_1_0_3.jar,
    xalan_1_0_1.jar,
    fop_0_12_1.jar, jaas.jar, jndi.jar, ldap.jar,ldapbp.jar, providerutil.jar,
    stylebook-1.0-b2.jar
    11) In startWebLogic.cmd file replaced the "set PRE_CLASSPATH=" line with
    set PRE_CLASSPATH=c:\cocoon-1.7.4\lib\cocoon.jar;c:\jars\xerces_1_0_3.jar;
    c:\jars\xalan_1_0_1.jar;c:\jars\fop_0_12_1.jar;
    c:\jars\jaas.jar;c:\jars\jndi.jar;c:\jars\ldap.jar;c:\jars\ldapbp.jar;
    c:\jars\providerutil.jar;c:\jdk1.3\lib\tools.jar;c:\jars\stylebook-1.0-b2.jar
    12) Where JAVA_CLASSPATH is being set in startWebLogic.cmd, appended the
    following
    ;c:\jdk1.3\lib\tools.jar;c:\jars\cocoon.jar;c:\jars\xalan_1_0_1.jar;
    c:\jars\xerces_1_0_3.jar;c:\jars\fop_0_12_1.jar;c:\jars\servlet_2_2.jar;
    c:\jars\stylebook-1.0-b2.jar;c:\jars\jaas.jar;c:\jars\jndi.jar;c:\jars\ldap.jar;
    c:\jars\ldapbp.jar;c:\jars\providerutil.jar
    13) Restarted weblogic and try accessing http://localhost:7001/Cocoon.xml and
    http://localhost:7001/samples/index.xml -- assuming here that 7001 is the port
    14) If it doesnt work, try copying cocoon.properties to
    \weblogic\myserver\public_html
    15) In case you get an LDAP related error, then probably you are missing the
    jndi.jar and
    associated jar files. Try to get them from the Sun website. Or if you cant get
    it
    go ahead and comment the line
    processor.type.ldap = org.apache.cocoon.processor.ldap.LdapProcessor
    16) Make sure you have tools.jar on JAVA_CLASSPATH

  • WLS with Cocoon

    Has anyone tried using Apache's Cocoon for managing web publishing? I've
    has a go with Xalan and Xerces, and been pleased with these to date. I've
    now come across Apache's Cocoon, and would be interested to here the
    opinions of anyone who has used it already.
    Mark.

    I also managed to get cocoon and weblogic 451 working without too much
    difficulty.
    However I have't been able to suss out the mechanism for passing a default
    file to the cocoon servlet.
    Anybody know what to do?
    Humphrey Sheil <[email protected]> wrote in message
    news:[email protected]...
    I got Cocoon 1.7.4 working with weblogic 5.1 very easily (apart from one
    major issue which I'll detail and gripe about below ;-)).
    I used the instructions posted on the Cocoon list by Philip Aston (which
    I've included below) which worked but one change was required.
    I got a problem (about 50% of the time) where weblogic would fail todeploy
    my cocoon war and also complain about another process listening on ports
    7001 / 7002 which simply wasn't true. Turns out that if weblogic isunable
    to parse the web.xml that comes with cocoon, I had to replace it with an
    example taken from the weblogic examples directory (with the relevant
    information included). The way weblogic deals with this - cascading the
    error in deploying to affect the port listening is not good.
    Once I got this working, I hooked up security etc. in about 10 minutesusing
    the servlet 2.2 form-based authentication and am generally very happy with
    the weblogic-cocoon integration.
    Here are the posted instructions and I'm also attaching my web.xml file asa
    reference. I didn't have any problems getting XSP to work (although I'mnot
    using it at all - just hitting the samples provided). Even given thepoints
    Philip makes below about losing hot deploy abilities, your EJBs should
    deploy fine with this turned off.
    Regards,
    Humphrey
    Philip Aston wrote:
    I've been playing with using Cocoon 1.7.4 in conjunction with BEA
    WebLogic Server 5.1. (Stefano and folks, feel free to add any or all
    of this to the installation guide. You might also like to add a
    success report for MS NT 4.0 SP4, BEA WebLogic Server 5.1 SP3, JDK
    1.2.2.)
    WLS 5.1 implements Servlet 2.2. so it plugs in easily. Here's a quick
    recipe:
    - Add the xerces, xalan, fop, servlet, and cocoon JAR files (from the
    distribution) to your CLASSPATH. (See below). If you're using Java
    2, you should also add the tools.jar file from the JDK distribution
    to your CLASSPATH.
    - Create a new subdirectory tree of your WLS run time directory
    "cocoonwar/WEB-INF" and copy the default web.xml file (from the
    src directory of the distribution) there.
    - Copy the cocoon.properties from the conf directory of the
    distribution to cocoonwar/WEB-INF and updated the web.xml file to
    refer to it.
    - Copy the samples directory from the distribution to cocoonwar
    - Map the web application into the WLS URI name space by adding the
    following line to your weblogic.properties file:
    weblogic.httpd.webApp.cocoon=cocoonwar
    Start WLS, point your browser at
    "http://localhost:7001/cocoon/samples/index.xml" and away you go.
    Classpaths and XSP:
    To support hot deployment of EJB's and Servlets, WebLogic Server
    uses its own class loader with its own classpath (the "WebLogic
    classpath"). Normally you'd put all the WebLogic Server container
    code, JDBC drivers, etc. in your Java CLASSPATH (so that WebLogic
    Server can start up) and add all your application code (stuff that
    needs to be able to be redeployable) to the WebLogic classpath.
    Cocoon is effectively "container" code, and the XSP processor uses
    dynamic classloading which only understands the Java CLASSPATH, so
    you should put all of the Cocoon jars in CLASSPATH.
    The big problem with this is that you can't use any code that loads
    from the WebLogic classpath within XSP's. This includes all of the
    WebLogic API, so is a PITA. To overcome this, either the way Cocoon
    loads classes needs to be modified (Stefano, is this easy?), or the
    WebLogic Server class loader needs to be disabled (in which case you
    have to be willing to live without hot redeployment).
    To disable the WebLogic class loader, put your application classes,
    the Cocoon jars and all of the WebLogic Server stuff into the Java
    CLASSPATH add -Dweblogic.system.disableWeblogicClassPath=true to the
    Java command at the end of you WebLogic start script.
    - Phil
    This is not an official BEA response. Please do not send me unrelated
    WebLogic support questions - I am unable to answer them. Instead
    please use the BEA developer newsgroups - see
    http://developer.bea.com, or contact BEA support.
    Philip Aston - Senior Consultant
    BEA Professional Services (Northern Europe)
    "Bob" <[email protected]> wrote in message
    news:[email protected]...
    I have been trying to get Cocoon working with WL. So far it has been a
    lot
    of trouble. I am mostly interested in getting XSP to work. The firstthing
    you need to do is usethe -Dweblogic.system.disableWeblogicClassPath=true
    command to turn off dynamic class loading. The problem I am now havingis
    that some of my EJBs won't deploy.
    If you don't want XSP Cocoon works well.
    -Bob
    Mark Bower <[email protected]> wrote in message
    news:[email protected]...
    Has anyone tried using Apache's Cocoon for managing web publishing?
    I've
    has a go with Xalan and Xerces, and been pleased with these to date.I've
    now come across Apache's Cocoon, and would be interested to here the
    opinions of anyone who has used it already.
    Mark.

  • Tomcat 3.3, Cocoon 1.8.2. util.xsl not found

    Hello,
    Once I installed Tomcat and Cocoon, I wanted to test my installation by loading up the Cocoon information URI : http://localhost:8080/cocoon/Cocoon.xml
    Problem:
    java.lang.RuntimeException: Error loading logicsheet at file://org/apache/cocoon/processor/xsp/library/java/util.xsl due to java.net.UnknownHostException: org
    I can't access to the file util.xsl. I checked, it is in the right place.
    As I had these errors...
    java.lang.RuntimeException: Error creating org.apache.cocoon.parser.XercesParser: make sure the needed classes can be found in the classpath (org/apache/xerces/framework/XMLParser)
    ...and...
    java.lang.RuntimeException: Error creating org.apache.cocoon.transformer.XalanTransformer: make sure the needed classes can be found in the classpath (org/apache/xalan/xpath/xml/XMLParserLiaison)
    ...always when I want access to Cocoon.xml file, I copied xalan_1_2_D02.jar and xerces_1_2.jar in TOMCAT_HOME\webapps\cocoon\WEB-INF\lib to fix these problems.
    So I tried to do the same thing with cocoon.jar file.
    What I tried to do :
         * copy cocoon.jar in TOMCAT_HOME\webapps\cocoon\WEB-INF\lib
         * I changed resource:// into file:// in cocoon.properties file
         * I tried to put the whole path : file://mypath/util.xsl
         * I copied COCOON_HOME\build\classes\org\*.* in
         TOMCAT_HOME\webapps\cocoon\WEB-INF
    Is anybody have an explanation, doc...
    Thanks in advance.
    Julien

    Problem:
    java.lang.RuntimeException: Error loading logicsheet
    at
    file://org/apache/cocoon/processor/xsp/library/java/uti
    .xsl due to java.net.UnknownHostException: org
    I can't access to the file util.xsl. I checked, it is
    in the right place.I've noticed that Java file-urls need either one or thee slashed (/) to work, so either:
    file:///
    or
    file:/
    Otherwise it goes looking for a web host by the name of the file, which is really strange behaviour.
    Tuomas Rinta

  • Rcalling webservices using XSP

    i am calling webservices using XSP and <soap:call
    my code is
    <?xml version="1.0" encoding="UTF-8"?>
    <xsp:page language="java"
    xmlns:xsp="http://apache.org/xsp"
    xmlns:soap="http://apache.org/xsp/soap/3.0">
    <page title="Main">
    <soap:call url="http://www.webservicex.net/stockquote.asmx"
    method="http://www.webserviceX.NET/GetQuote">
    <s0:GetQuote xmlns:s0="http://www.webserviceX.NET/">
    <s0:symbol>tstf</s0:symbol>
    </s0:GetQuote>
    </soap:call>
    </page>
    </xsp:page>i am getting following error
    <?xml version="1.0" encoding="UTF-8"?>
    <page title="Main" xmlns:xsp="http://apache.org/xsp" xmlns:xscript="http://apache.org/xsp/xscript/1.0" xmlns:soap="http://apache.org/xsp/soap/3.0">
    <soap-err:error xmlns:soap-err="http://apache.org/xsp/soap/3.0">org.apache.cocoon.ProcessingException: Error invoking remote service: java.lang.IllegalArgumentException: port out of range:-1: java.lang.IllegalArgumentException: port out of range:-1</soap-err:error>
    </page>
    please any body could help me
    thanx in advance

    This is your first day on the forum, so perhaps you can be forgiven.
    First, don't cross-post, it's considered rude:
    http://forum.java.sun.com/thread.jsp?thread=549835&forum=34&message=2683191
    http://forum.java.sun.com/thread.jsp?thread=549831&forum=31&message=2683185
    Second, the forum isn't an on-demand consultancy. Everyone here is a volunteer. You can't demand an answer within a certain time frame. Give it time, but remember that there's no guarantee. If no one knows, or no one's interested, you might not get the answer you want.
    Read this, too:
    http://www.catb.org/~esr/faqs/smart-questions.html

  • Exception:: XSP Java Compiler :: Compilation failed for _index.  The compil

    Dear all
    My organization has a web cum wap site running on XML - XSL. When i uploaded a modified file it started giving me the following error
    java.lang.Exception: XSP Java Compiler: Compilation failed for
    _index.java The compiler has run out of memory. Consider using the
    "-J-mx<number>" command line option to increase the maximum heap
    size.
    The site is running on Linux platform ( with Apache, Jserv, Cocoon).
    can anybody help me to resolve this problem.
    with thanxs and regards
    Rohit Joshi
    (Mobile Application Developer)
    Globe Communication (http://www.globecommunication.net)
    Nil - 26 Malviya Nagar, Delhi, India.

    Thank you very much.
    But the as i had wrote that am using Apache, Jserv and Cocoon, my site is in XML , XSL format..i can do logical work in XML and representation in two formats one is HTML and one in WML through XSL. so only i have to make all these files and put them in to theirs respective place, htdocs. Then , as u know, it automaticaaly parsed, compiled and processed through parsers and processors provided by servers. So i don't need to compile each java file. Now u suggest me what i have to do? Is their any procedure that Cocoon Engine automaticaaly can increased this size.
    Thanxs and regards
    Rohit Joshi

  • Servlet produced XML and Cocoon 2

    Hello,
    I have just over one years experience with using servlets, and have a good understanding of the way that they operate.
    I am currently trying to dynamically produce XML from a servlet and pipe this through Cocoon 2, however I have had no success so far, and have trawled through all of the Cocoon mailing list.
    I am aware that (and indeed have utilised) XSP and JSP can be used in the Cocoon pipeline, but I have not found many resources regarding the use of servlets. I believe that I have to create a generator, but the Cocoon 2 API is a bit sparce to say the least :-)
    If anyone can provide me with links, info, examles, or just a good kick in the right direction I will be much appreciatve.
    Thanks in advance,
    Will

    As I understand Cocoon it is all abot performance and oriented that all the element do not just generate XML as text but do pipline that generates events, so that system starts processing the document before its end loaded. And servlets knows nothing about pipeline so I think it is not easy to make it integrated in Cocoon.

  • IFS & JDK 1.2

    ... I'm having trouble with an iFS-Client and Sun JDK 1.2.1 ...
    The client is a Solaris/Sparc maschine with Sun JDK 1.1.8 and 1.2.1 ... The iFS / Oracle 8i Server is an Windows NT 4.0 SP 5 machine with the supplied Sun JRE 1.1.8 (in %ORAHOME%\ifs\jre) ...
    Everything is just fine, when I try the following piece of code and have 1.1.8 on the client side ... But when I try to switch the Client to 1.2.1. ('cause other components I want to use, need at least JDK 1.2), I just get an "oracle.ifs.common.IfsException: IFS-21008: Login failure" error ...
    LibraryService ifsService=new LibraryService();
    LibrarySession ifs=ifsService.connect(args[0],args[1],"IfsDefault");
    It's iFS version 1.0.8.3.0 on both sides ...
    Any ideas ?
    Regards,
    Jens
    null

    ... that's not very good ...
    Other components I want to use, will get soon updates which I want to use (Cocoon 1.8 / 2, Turbine and so on), but require JDK 1.2 ...
    When will iFS 1.1 be available (or is there no date yet) ?
    Regards,
    Jens
    null

  • Error in starting iFS from NT 4.0

    Hi,
    Im having difficulty in starting "ifsstart" and I am getting the following error message in the the ifsagent & ifsprotocol log files.
    IfsException in starting ServerManager; FATAL
    oracle.ifs.common.IfsException: IFS-10620: Unable to construct connection pool
    oracle.ifs.common.IfsException: IFS-10633: Unable to create library connection
    oracle.ifs.common.IfsException: IFS-10600: Unable to construct library connection
    java.sql.SQLException: Error while trying to retrieve text for error ORA-12705
    Server Manager exiting.
    Any ideas?

    If you get an error like:
    java.sql.SQLException: Error while trying to retrieve text for error ORA-xxxxx, it usually means that you can't even access the database at all. I think that you might no be able to use SQL*Plus at this point. Of course, you can't start iFS without having a connection to the database. This is what the error means.

  • EBook file protected error on Cocoon reader

    Hi,
    I hope someone here can help with a persistent problem!
    My wife and I both have Cocoon eBook readers (model BK7021) and have joined our local library.  We have both created Adobe IDs and have successfully downloaded several books form the library to a desktop PC and a laptop, both running Windows 7.  We have Adobe Digital Editions 2.0 installed.
    We can both open and read the books on the computers but when we copy them to the eBook readers we both get the same error 'eBook file protected'.
    Can someone explain where we are going wrong?
    Thanks
    Roger

    Thank you!  Finally tracked it down to HKCU / Software / Microsoft / Windows / CurrentVersion / Explorer / User Shell Folders / Personal
    - but it took a bit of finding.  Why regedit couldn't find the string I don't know - either I or it stuffed up somewhere.  Would be nice if there were a option in Reader for where you want it put - or are they trying to keep it as simple as possible (eg for idiots like me?).
    Many thanks, Mylenium.

  • Oracle ifs and BEA weblogic

    Oracle ifs and BEA weblogic
    We have one application server with weblogic and and ifs 1.0.9 , and one db server with Oracle 8.1.7.
    with the following configuration:
    Web server
    appl server with weblogic 6.0 and ifs 1.1.9
    Oracle 8i Enterprise with interMedia text
    We need to use the iFS API call for our application.
    As I know, weblogic 6.0 support JDK1.3 but ifs 1.1.9 supports up to JDK1.2.
    Is this configuration possible?
    Any conflict if two version JDK co-exist inside same machine?
    Any suggestion?
    If I separate the appl. server into two machines, that is,
    one server installed with weblogic, the other one installed with ifs.
    How could I make use the ifs API call from appl. server?
    Is there any configuration guides for this setting?
    Thanks a lot.
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Luis:
    The iFS API is 100% pure Java. You can use it from any other Java application, be it JSP, EJB, or a standalone application.
    So it really comes down to the CLASSPATH. The iFS API is split among a set of .jar files, and some of the configuration information is stored in .properties files that are outside of these .jar files. All of this stuff needs to be in the CLASSPATH of whatever JVM is calling the iFS API.
    The iFS API uses the Oracle JDBC driver to communicate with the Oracle database. This is another requirement. You can't use another JDBC driver; you have to use ours.
    So again, it's all about configuration.<HR></BLOCKQUOTE>
    Would you mind to share more detail on configurating weblogic to integrate the iFS API?
    null

  • Read open file from IFS system

    Hi,
    The special programm create a new file on the IFS-volume and write some data in to this file. The program doesn`t closing this file (working some hours).
    Can I read data from this file immediatly (stream access)?
    System:
    Oracle 9.0.1 WinNT
    IFS 9.0.1
    regards,
    Anton

    Hi,
    First you need to upload the PDF file from FTP server. For that you can refer the following link
    Re: acess file on FTP server
    Once you upload the PDF file, you can convert the PDF to OTF and OTF to Text. But I am not sure on the function modules that will do this.

Maybe you are looking for

  • I have a Intel Celeron 900 Series processor in my laptop, will I be able to use Creative Cloud?

    I want to download CS6 on my Laptop but cannot find out if my system meets requirements.

  • Remove from Main Window

    Hi all, I'm having some trouble removing text from labels in my main window. I have a main window which has a JMenuBar. On the MenuBar I have a options > file> Remove Menu Item. When I select the Remove Menu Item, a Remove Dialog opens up with a JLis

  • Problem in Web service callable object!!

    Hi, I have created a function module in R/3, and made it RFC enabled.Now i am trying to use this webservice in creating CO for web service.Now when i test it, i am getting this error: Web service method http://<hostname>.<fully qualified domain name>

  • No entry sign on reinstalled Address Book

    I have reinstalled address book (after deleting it for reasons I can't recall).  It has contacts in it and opens up fine but a) there is a "no entry" sign when I open Applications as a stack and) b it doesn't sync with my iPhone 4, though everything

  • Export log from SXMB_MONI

    Hi, Are there any means of exporting SXMB_MONI data to another application in order to send email or display the log with another piece of software? I read something about JMX, is it possible to use this technology to access SXMB_MONI? Regards Yann