CMSDK / iFS 9.0.3

Under iFS version 1.1.x I was told that Oracle does not support more than one iFS schema per Oracle instance. Does this still hold true for CMSDK / iFS 9.0.3? We have a user written application that interacts with the iFS API/schema. We DO NOT use any of the iFS provided protocol servers. We do however run the IfsAgents Server for each iFS schema to maintain / garbage collect in each environment. Will CMSDK / iFS 9.0.3 allow more than one IfsAgent process on a server? I basically want one set of agents per CMSDK/iFS schema installed in one single instance on one server. Does this make sense? Is it possible to do this with the new version of iFS?

Here are the detailed instructions on how to do it. I hope this will work for you:
Setting up multiple CM SDK domains on one host
Introduction
============
The Oracle Content Management SDK (CM SDK) is released as a component of the Oracle 9iAS product suite. Upon installation users can configure the product for use. This by default includes the creation of one CM SDK domain (aka instance) and associated entities. Each of these domains includes a Domain Controller, one set of the CM SDK agents, one or more CM SDK nodes (residing on separate hosts), and one or more CM SDK HTTP nodes (residing on separate hosts).
It is also possible to configure multiple domains on a single middle-tier host. Each such domain would include one CM SDK node, one HTTP node, a Domain controller and a set of agents. There is only one installation of the CM SDK product, in effect only one set of binaries. The configuration process will permit multiple domains to use the same software. This document outlines the process setup such a configuration.
A. Installation
===============
Install Oracle iAS 9.0.2 or 9.0.2.0.1 on your machine. The J2EE (Core) option would suffice.
Install Oracle CM SDK 9.0.3 into your <oracle_home>. After installation is complete, your directory structure will look like this -
<oracle_home>
ifs
cmsdk
bin
lib
j2ee
OC4J_iFS_cmsdk
applications
cmsdk
cmsdk
applications-deployments
config
B. Configuration
================
Creating the First Domain
The CM SDK Configuration Assistant will automatically start when iFS is installed. Follow the instructions in the CM SDK Installation Guide to complete your configuration process. You can also choose to run the Configuration Assistant later. This is done by using the script ifsca in the <oracle_home>/cmsdk/bin directory.
Be sure to choose to create a domain. Call this first domain "DOMAIN1".
Have all the following selected:
Run Domain Controller
Run HTTP Node
Run Node
Your first domain is now ready.
Creating a Second Domain
Run the CM SDK Configuration Assistant. Again create a domain with the same options, but call this second domain "DOMAIN2".
Be sure to give different port numbers for protocols you wish to use.
Disable these protocols on your second domain if they are enabled on the first:
SMB
AFP
E-Mail protocols (IMAP/SMTP)
The configuration will not work as before. It will prompt you with the following dialog:
There already exists an OC4J instance for another HTTP Node configured on this machine. Do you wish to replace that instance? Click "Yes" to replace the instance. Click "No" to leave the instance untouched and not create any instance for this new HTTP Node.
Click "No". This second OC4J instance must be set up manually.
You now have two iFS domains configured within the same <oracle_home>. You may now use "ifsctl" to start and stop each independently. An HTTP Node exists for DOMAIN1, but not for the DOMAIN2; this must now be manually configured to work.
C. Setting Up Your Second OC4J Instance
=======================================
In order to create your second OC4J instance, you must first prepare a new EAR (Enterprise Application Resource) for use.
Preparing an EAR file for Second OC4J Instance
Create a temporary directory for use. Assign it to an environment variable $IFSTMP.
Copy the <oracle_home>/ifs/cmsdk/lib/cmsdk.ear file into $IFSTMP.
Go into $IFSTMP. Uncompress the EAR file. Use the following command:
jar xvf cmsdk.ear
Edit the application.xml file located in $IFSTMP/META-INF directory. You will see the following contents in the file:
<application>
<description>Oracle ifs Administration</description>
<display-name>Oracle ifs Administration<display-name>
<module>
<web>
<web-uri>cmsdk.war</web-uri>
<context-root>/cmsdk</context-root>
</web>
</module>
</application>
Replace the term "cmsdk.war" with "domain2.war" and "cmsdk" with "domain2" (above). "domain2" is now the new name of your second OC4J instance.
Go into $IFSTMP. Rename the cmsdk.war file to "domain2.war". Now use the following command to jar it all up (NOTE: The JAR process will ignore the $IFSTMP/META-INF/MANIFEST.MF file which is O.K.)
jar cvf domain2.ear
You now have a EAR file which you can use for deployment.
Deploying EAR file
==================
Now open a web browser and connect to the iAS Enterprise Manager Console. You must open your browser on the machine where you put your new EAR file.
Under the "System Components" section, choose "Create OC4J Instance".
You will be prompted for a new name for your chosen OC4J Instance. Enter "OC4J_iFS_domain2". After the instance has been created, select "OK" and return to the main EMD page.
You will now see your newly created OC4J instance listed. Click on it.
You will now see information about your OC4J instance. Under the "Applications" section, click on "Deploy EAR File".
You will now be presented with a Deploy Application wizard. Read and click through to "Step 2" of the wizard.
You will now need to name and deploy your EAR file. In the text box "J2EE Application", indicate the path to your modified EAR file from the "Preparing And Deploying Second Instance for OC4J" section. You will find your domain2.ear in $IFSTMP. You can also click the "Browse..." button to find it.
For the text box marked "Application Name" enter "domain2".
For the rest of the Deployment Wizard steps. You can simply click "Next" and accept all the defaults. After "Step 8", click "Deploy".
You should have the following setup:
OC4J Instance Name Domain Name Application Name EAR
OC4J_iFS_cmsdk domain1 cmsdk cmsdk.ear
OC4J_iFS_domain2 domain2 domain2 domain2.ear
You now have a second OC4J instance of CM SDK recognized by the iAS Enterprise Manager Console. It does not work yet. You must now manually prepare your new OC4J instance.
Your directory structure now looks like
<oracle_home>
ifs
cmsdk
bin
lib
j2ee
OC4J_iFS_cmsdk
applications
cmsdk
cmsdk
applications-deployments
config
OC4J_iFS_domain2
applications
domain2
domain2
applications-deployments
config
Setting Up OC4J Configuration Files for Your Second Instance
First make a backup copy, then modify the file <oracle_home>/opmn/conf/opmn.xml. Look for a section that looks something like this
<oc4j maxRetry="3" instanceName="OC4J_ifs_cmsdk" gid="OC4J_iFS_cmsdk" numProcs="1">
<config-file path="/iashome/j2ee/OC4J_iFS_cmsdk/config/server.xml"/>
<java-option value="-Xmx256m "/>
<oc4j-option value="-properties"/>
<port ajp="3001-3100" jms="3201-3300" rmi="3101-3200"/>
<environment>
<prop name="LIBPATH" value="/iashome/lib32:/iashome/lib"/>
<prop name="DISPLAY" value=":0.0"/>
<prop name="NLS_LANG" value=".UTF8"/>
<prop name="LD_LIBRARY_PATH" value="/iashome/lib32:/iashome/lib"/>
<prop name="SHLIB_PATH" value="/iashome/lib32:/iashome/lib"/>
</environment>
Look for the section where instanceName="OC4J_iFS_domain2". It looks like this:
<oc4j instanceName="OC4J_iFS_domain2" gid="OC4J_iFS_domain2">
<config-file path="/iashome/j2ee/OC4J_iFS_domain2/config/server.xml"/>
Now copy the first <environment> section into the section for your second OC4J instance.
Make a backup copy, then modify the file <oracle_home>/j2ee/OC4J_iFS_domain2/config/application.xml. Comment out the following sections:
<library path="../../../jlib/uix2.jar" />
<library path="../../../jlib/share.jar" />
Copy the file <oracle_home>/j2ee/OC4J_iFS_cmsdk/config/oc4j.properties to the directory <oracle_home>/j2ee/OC4J_iFS_domain2/config/. Make a backup copy, then edit your new copy of the file. It will look something like this:
java.awt.headless=true
IFS.DOMAIN.Name=ifs://mydbserver:1521:orcl8:DOMAIN1
IFS.DOMAIN.NODE.Name=myappserver.oracle.com HTTP Node
IFS.DOMAIN.NODE.OracleHome=/iashome
replace the domain name DOMAIN1 with DOMAIN2.
Make a backup, then edit the file <oracle_home>/j2ee/OC4J_iFS_domain2/applications/domain2/domain2/index.html.
change all instances of "cmsdk" to "domain2"
Edit the file <oracle_home>/j2ee/OC4J_iFS_domain2/config/default-web-site.xml. Look for the following section:
<default-web-app application="default" name="defaultWebApp" root="/j2ee"/>
<web-app application="default" name="dms" root="/dmsoc4j"/>
<web-app application="domain2" name="domain2" root="/domain2" load-on-startup="true"/>
Add the last line to that section.
Copy the file <oracle_home>/j2ee/OC4J_iFS_cmsdk/application-deployments/cmsdk/cmsdk/orion-web.xml into the directory <oracle_home>/j2ee/OC4J_iFS_domain2/application-deployments/domain2/domain2. Make a backup copy of the file if it already exists in the destination directory.
Log into the Enterprise Manager Console. Under the "System Components" section, click on your second domain (myserver:1521:myservice:DOMAIN2) to set that up. Under "Configuration" click "Server Configurations".
Then click on HttpAdminServerConfiguration. Under the Properties, modify the following properties with these values
IFS.SERVER.APPLICATION.UIX.ApplicationServletMount /domain2/admin
IFS.SERVER.APPLICATION.UIX.ContentServletMount /domain2/content
IFS.SERVER.APPLICATION.UIX.StaticResourcesMount /domain2/static
Save the above properties. Now, you have to change certain properties in the DavServerConfiguration. From the above UI, cliek on the DavServerConfiguration and click Properties. Modify the following property to have the value shown below:
IFS.SERVER.PROTOCOL.DAV.ContextServletPath /domain2/content
Save and exit out of EMD.
Restart EMD, iAS & iFS (both domains). At this point both the domains should be up and running.
If you are able to access the following URLs and use them, then your multi iFS domain has worked correctly.
EMD
http://<server-name>:1810
Domain 1
Content Servlet - http://<server-name>:<port-number>/cmsdk/content
Admin Servlet - http://<server-name>:<port-number>/cmsdk/admin
Domain 2
Content Servlet - http://<server-name>:<port-number>/domain2/content
Admin Servlet - http://<server-name>:<port-number>/domain2/admin
You should also be able to see the logs of two different machines domains, nodes under directory $ORACLE_HOME/ifs/cmsdk/log.
D. Notes
========
Oracle CM SDK does not support installation of multiple 9iAS Oracle Homes on the same machine.

Similar Messages

  • Cancel check out in CMSDK

    Hello,
    I am working with the CMSDK(iFS 9.0.3), and have a doubt about the operation of cancel-check-out.
    Ej:
    1.- I create a versionado document called "prueba.txt" with the content "original document".
    2.- I make check-out on the document "prueba.txt".
    3.- I modify the content of "prueba.txt" with the text "modified document"
    4.- I make cancel-check-out of "prueba.txt".
    5.- The content of "prueba.txt" is "modified document".
    According to as the previous version of iFS worked (with the PendingPublicObject), when making cancel-check-out the document was with the content that tapeworm before making check-out. Now when making cancel-check-out does not return to be left the content that tapeworm the document before check-out.
    My question: Is correct the new operation of cancel-check-out or I am making something bad?
    Note: cancel-check-out means to do unreserve() of the VersionSeries.
    Thanks.
    Fabricio.

    Hi Matt,
    My commentary basically aimed at cancel-check-out, since in the previous versions cancel-check-out discarded the modifications that had been made on the document, since these were stored in the PendingPublicObject. Now when cancel-check-out is made not they discard the modifications. He is this correct one?
    Thanks for the answer.
    Fabricio.

  • Modify date in CMSDK

    Hello,
    I am working with the CMSDK(iFS 9.0.3), and have a doubt about the operation of the time zone that is configured to him to iFS.
    1.- The time zone is config by each user of iFS?
    2.- The time zone is config for the domain of iFS?
    When I make a modification by means of ifsbrowser setea me one hour that does not agree with local time (-3 hours) and when I make a modification by means of the application that I have developed to setea one hour me that does not agree either with the local time (+3 hours).
    So that it passes this?
    Thanks.
    Fabricio.

    Which function I must to use in formula?
    Thanks
    Gianmarco

  • Ifsimportexport silent mode

    I am trying to run ExportContent in silent mode as documented in this manual:
    http://download-west.oracle.com/docs/html/B14176_01/migrating.htm#sthref1333
    However, no matter what I do, the command results in a GUI interface for ifsimportexport.
    My environment is CMSDK 9.0.4.2 on oracle 10g database and application server.
    The exact script I use is as follows:
    #!/bin/ksh
    . ~oracle/.kshrc >/dev/null 2>&1
    IFS_ROOT_HOME=${ORACLE_HOME}/ifs
    RELATIVE_PATH=system
    . ${IFS_ROOT_HOME}/common/bin/ifsunixcmds
    . ${DIR_NAME}/${RELATIVE_PATH}/ifssetenv
    export CLASSPATH=${IFS_CLASSPATH}
    export JRE_ARGS="-Xmx32M"
    export logfile=/var/runlog/`basename $0`_$$.log
    main () {
    ${IFS_JAVA} ${JRE_ARGS} oracle.ifs.admin.export.ExportContent exportcontent.def
    main "$@"
    exportcontent.def contains:
    IFS.EXPORT.RunSilent = true
    IFS.EXPORT.Username = system
    IFS.EXPORT.Password = manager
    IFS.EXPORT.Service = IfsDefaultService
    IFS.EXPORT.Domain = ifs://dbserver:1521:cmsdk:CMSDK
    IFS.EXPORT.SchemaPassword = password
    IFS.EXPORT.ExportedPaths = /
    IFS.EXPORT.ExportTreeSize = 50
    IFS.EXPORT.LogFile = /home/oracle/exp/log/exp.log
    IFS.EXPORT.ExportSetName = exp_051105.exp
    IFS.EXPORT.ExportToPath = /home/oracle/exp/exp

    The documentation does not state this, however the exact syntaxt to invoke this operation is this:
    ${IFS_JAVA} ${JRE_ARGS} oracle.ifs.admin.export.ExportContent parameterfile=exportcontent.def
    However, the logfile generated for this operation is still seems to be verbose. I tried setting the IFS.EXPORT.Verbose to false. I even tried the whole process by invoking the GUI and explicitely setting the logging verbosity to false. Unfortunatley, both the instances resulted in large verbose logs.
    Is there any way one can supress verbose loggging?

  • IFS/CMSDK - How to set READINDICATIONENABLED Extended Attribute to TRUE?

    iFS/CMSDK - How do I set READINDICATIONENABLED Extended Attribute to TRUE for PrimaryUserProfile?
    I have a requirement to provide a list of all users who have read a specified document. I would like like this attribute to be automatically set for every user when created. Thus, when a user has viewed a particular document a entry will be automatically place in the ODMZ_READ_INDICATION view/table.

    Please repost this question in the iFS forum, http://forums.oracle.com/forums/forum.jsp?forum=152

  • Ifs-21030 Database operation timed out

    Hi,
    We have installed cmsdk 9.0.4.2.2 with oas10g 10.1.2.0.2. The application runs fine, but sometimes we got the following error:
    [AJPRequestHandler-ApplicationServerThread-6] ERROR cmsdk.CmsdkUtil - Error with gettting document
    oracle.ifs.common.IfsException: IFS-21030: Database operation timed out
    java.sql.SQLException: ORA-01013: user requested cancel of current operation.
    I have set the IFS.SERVICE.SESSION.DefaultSearchTimeoutPeriod, but it doesn't help. Normally the documents are displayed immediately, but when the error occurs, it can take 30 min or more. Mostly, but not always, the error occurs on monday morning, while getting the first or second document after the weekend in which the application is not used. Sometimes the first documents comes up immediately, and the second gives the error.
    Are the parameters, agents, sessions, .. to configure to avoid this problem?
    Can anyone help me with this?
    Regards,
    Els

    I forgot to mention that we use a webservice. This is the complete error from the OC4J instance, found in the <oracle home>\opmn\logs dir
    oracle.ifs.common.IfsException: IFS-21030: Database operation timed out
    java.sql.SQLException: ORA-01013: user requested cancel of current operation
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:137)
         at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:698)
         at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:630)
         at oracle.jdbc.driver.T2CPreparedStatement.doDefineExecuteFetch(T2CPreparedStatement.java:1142)
         at oracle.jdbc.driver.T2CPreparedStatement.execute_for_rows(T2CPreparedStatement.java:1010)
         at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:1022)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1109)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2932)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:2973)
         at oracle.ifs.server.S_LibrarySession.executeQuery(S_LibrarySession.java:16561)
         at oracle.ifs.server.S_LibraryObjectSelector.findObjectById(S_LibraryObjectSelector.java:556)
         at oracle.ifs.server.S_LibraryObjectSelector.selectObjectById(S_LibraryObjectSelector.java:494)
         at oracle.ifs.server.S_LibrarySession.constructLibraryObjectData(S_LibrarySession.java:8024)
         at oracle.ifs.server.S_LibrarySession.getLibraryObjectData(S_LibrarySession.java:7811)
         at oracle.ifs.server.S_LibrarySession.getLibraryObject(S_LibrarySession.java:8283)
         at oracle.ifs.server.S_LibrarySession.getPublicObject(S_LibrarySession.java:8407)
         at oracle.ifs.server.S_LibrarySession.DMgetPublicObjectData(S_LibrarySession.java:8051)
         at oracle.ifs.beans.LibrarySession.DMgetPublicObjectData(LibrarySession.java:13209)
         at oracle.ifs.beans.LibrarySession.getPublicObject(LibrarySession.java:4944)
         at be.kindengezin.cmsdk.CmsdkUtil.getDocument(CmsdkUtil.java:74)
         at be.kindengezin.cmsdk.CmsdkUtil.getDocumentMimeType(CmsdkUtil.java:91)
         at be.kindengezin.cmsdk.content.CmsdkContentServlet.doGet(CmsdkContentServlet.java:41)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    kind regards,
    Els

  • Oracle.ifs.admin.export.ExportUsers NOT working in SILENT mode

    I'm trying to export my CMSDK users via the commandline script (since the GUI tool MAKES YOU SELECT EACH USER ONE AT A TIME!!!) but it is not working. The CMSDK doc incorrectly tells you to run oracle.ifs.admin.export but I've found that you have to run ...ExportUsers. However my def file has the runsilent attr set but the GUI app still pops up???? Below is my script
    #!/bin/sh
    IFS_ROOT_HOME=$ORACLE_HOME/ifs
    export IFS_ROOT_HOME
    . $ORACLE_HOME/ifs/common/bin/ifsunixcmds
    . $ORACLE_HOME/ifs/cmsdk/bin/system/ifssetenv
    CLASSPATH=${IFS_CLASSPATH}
    export CLASSPATH
    java -Xmx64M oracle.ifs.admin.export.ExportUsers /d01/app/oracle/product/oas904mid/ifs/cmsdk/export/export-users.def
    And here is my def file...
    IFS.EXPORT.RunSilent=true
    IFS.EXPORT.Username=system
    IFS.EXPORT.Password=manager9ifs
    IFS.EXPORT.Service=IfsDefault
    IFS.EXPORT.SchemaPassword=gapp1969
    IFS.EXPORT.LogFile=export-users.log
    IFS.EXPORT.USER.ExportedUsers=bdillon
    IFS.EXPORT.ExportSetName=dev-users
    IFS.EXPORT.ExportToPath=/d01/app/oracle/product/oas904mid/ifs/cmsdk/export/
    IFS.EXPORT.ExportTreeSize=50
    IFS.EXPORT.USER.GetAllAncestors=true
    IFS.EXPORT.USER.GetDirectAncestors=false

    Pl see your other thread here - libxp.so.6
    You cannot terminate an install before successful completion and expect things to work flawlessly ;-)
    Srini

  • CMSDK Non-ASCII Characters and WebFolders

    Hi,
    i have the follow problems with the CMSDK and Microsoft.
    windows-explorer:
    It is impossible to enter a folder that contains non-ascii characters in the name.(the clientrequest will never send.)
    After the doubleclick on the foldername, i get a errormessage an then the url in the editbox is ISO-8859-1 encoded, but this url will never send to the sever.
    Other operations like create, rename, ... have no problems with non-ascii chars.
    with the IE, i can enter without a problem.
    MS Word:
    I can't save any file with non-ascii chars in the name.
    Only this methods are send:
    PROPFIND
    PROPFIND
    GET
    GET
    But never a "PUT", without a non-ascii char in the name the traffic looks like this:
    PROPFIND
    PROPFIND
    GET
    GET
    PROPFIND
    LOCK
    PUT
    It is also impossible to enter a folder containing non-ascii characters in the name, form the word filesave-dialog.
    URL UTF-8 encoding is enabled in the IE options and other operations (MOVE,COPY) are send correctly UTF-8 encoded.
    is there any solution?
    thanks
    Maik

    Have you set the following DAV Server configuration property:
    IFS.SERVER.PROTOCOL.DAV.Webfolders.DefaultCharset
    for your domain?
    You have to configure it for the character set that you want your clients to use when connecting to iFS via WebDAV.
    (You can use the web admin tool to change this property.)
    The reason for this is that the Microsoft WebFolders client software does not transmit the client's character set to the server, so the server has no way of knowing what to expect.

  • Logging in ifs and renderering capabilities out of the box

    Hello there
    Just wondering if anybody could clarify/confirm a few things for me...
    I'm currently trying to use 9ifs as a 'conversion' engine. I have an XML file within a 9ifs repository that I wish to transform using an xslt when I retrieve it.
    Does 9ifs contain out of the box functionality to perform this? If so, how do I use it or do I need to write a custom renderer to perform the tasks that I have specified?
    I have had a play with the SimpleXmlRenderer however have not been able to find any solid examples of how to use it nor do I know whether it is possible to use it to specify the xslt that will perform the transformation.
    I have also heard that 9ifs has an inbuilt 'logging' capability - ie it can keep a record of files that have gone in to 9ifs or gone out. Is this also true and how would I use it?
    Finally, I have heard that one of the capabilities of ifs is that it provides 'transactional' support in either putting files into the repository or taking files out - ie a file is either there or it is not, there is no in between, corrupt file state. Can anybody shed any light on this as to whether it is true or not?
    Jason

    The CMSDK does not include any out-of-the-box XML transformation capabilities, but it is very easy to code XML/XSLT transformations using Java, and I believe Internet Explorer has built-in support for it, so one could consider that built-in functionality. You could write your own servlet to perform any kind of transformation you wish on any file in the CMSDK, and serve up the resulting file via HTTP, for example.
    The CMSDK is extensible and configurable in a way that could allow you to keep track of files uploaded and downloaded into the instance. You can write custom code and plug it into various extensibility points which allow you to modify default behavior or extend it to include custom operations. See the developer's guide and the javadoc for more details.
    The CMSDK is a transactional object store -- it is true that files can be uploaded and modified within a transaction, and completely rolled back in case of failures.

  • IFS-21030 - ?

    Hello,
    I have this error:
    oracle.ifs.common.IfsException: IFS-21030: Database operation timed out
    java.sql.SQLException: ORA-01013: user requested cancel of current operation
    I need as soon as possible some explanation about this, and possible causes,
    because I could not find information anywhere.
    Thank you.

    The CMSDK has time-outs in place for operations and for searches.
    Use the Web admin tool and look at any of the ServiceConfiguration objects. You will find the following properties:
    IFS.SERVICE.SESSION.DefaultSearchTimeoutPeriod
    IFS.SERVICE.SessionOperationTimeoutPeriod
    The first property defaults to one minute (60 seconds) and the second defaults to five minutes (300 seconds). You may change these as you see fit. (Make sure to change the ServiceConfiguration that is in use by the Servers in your Node.)

  • IFS-20010 Unable to get service configuration

    Hi,
    I'm trying to connect to iFS from a Java application. Basically it's a remote server which we'll connect to using RMI for some integration work. It will run on the same server as CM SDK.
    Anyway, I try and connect to the service using:
    LibraryService.startService(name, schemaPassword, serviceConfig, domainName)
    and it comes back with this error:
    oracle.ifs.common.IfsException: IFS-20102: Unable to start service (IfsDefault)
    oracle.ifs.common.IfsException: IFS-20010: Unable to get service configuration properties (SmallServiceConfiguration)
    java.lang.NullPointerException
    at oracle.gss.util.NLSLocale.getNLSLanguage(NLSLocale.java:675)
    I'm running it from the command line, I have a batch file to set the classpath. Interestingly, if I run an Agent (i.e., a java class that extends oracle.ifs.management.domain.IfsServer) standalone, it works fine.
    This makes me think there's some element of the classpath that I'm missing, but I'm not entirely sure what!
    Could anyone shed any light on this? Metalink doesn't seem to have anything!
    Cheers,
    Phill
    P.S. -- my CLASSPATH is as follows:
    set CLASSPATH=%CLASSPATH%;%ORACLE_HOME%\ifs\cmsdk\lib\cmsdk.jar;%ORACLE_HOME%\lib;
    set CLASSPATH=%CLASSPATH%;%ORACLE_HOME%\jdbc\lib\classes12.zip;%ORACLE_HOME%\j2ee\home\lib;
    set CLASSPATH=%CLASSPATH%;%ORACLE_HOME%\j2ee\home\jazn.jar
    set CLASSPATH=%CLASSPATH%;%ORACLE_HOME%\jdbc\lib\nls_charset12.jar
    set CLASSPATH=%CLASSPATH%;%ORACLE_HOME%\ifs\cmsdk\settings\

    Just FYI, the solution to this was that the java security policy was denying access. I changed the java.policy to
    grant {
         permission java.security.AllPermission;
    And this solved the problem.

  • BC4J Application Using CMSDK

    Hello Experts!
    I am trying to develop a BC4J Struts application that will use the CMSDK for file upload and download only (no versioning), and to take advantage of Oracle Text Search.
    Does anyone have insight into the steps necessary to integrate them both. A thin JDBC connection to the database storing the meta-data in one schema is used. My thought is to create a new connection to the IFSSYS schema after the meta-data commit, to upload PDF files to the document repository. Is this even doable without sacrificing CMSDK functionality?
    Succinctly, I am using BC4J for meta-data entry, then create an iFS Session; use a modified upload.jsp from WSAII to upload the PDF to a predefined folder.
    I am using JDev 10.1.2.2 against the 10.1.2 Oracle App Server.
    Thanking you in advance for your professionalism and expertise shown in helping me with this.
    v/r
    Dave
    David C. Freyer
    ARSC Engineering
    Elizabeth City, NC 27909
    252-335-6831
    [email protected]

    I agree with Shay that using JDeveloper 10.1.3 is your best bet.
    Section 13.6, "Creating an Input Form" in the ADF Developer's Guide for Forms/4GL Developers talks about doing what you need to (however, using the 10.1.3 version).
    For previous versions of JDeveloper, the best bet is to study the ADF Toy Store Demo to find the pages that are doing what you want to accomplish.
    the 9.0.5 version of that demo is at:
    http://www.oracle.com/technology/products/jdev/collateral/papers/10g/adftoystore.html
    The 10.1.2 version of that demo is at:
    http://www.oracle.com/technology/products/jdev/tips/muench/adftoystore1012/index.html

  • CMSDK beginner

    Hello everybody. I am trying to understand if it is easy to build a web based document management system program with CMSDK. Do any of you know where it possible to find real example of a web based skeleton document management system easy to deploy just not to get discouraged at the very beginning and give up.

    Have you tried the Web Started Application?
    It can be found on at otn.oracle.com/products/ifs. There are several links pointing to it and the sample code page. The readme shows you how to deploy it in the CM SDK as well as run it from JDeveloper.
    Oracle CM SDK 9.0.4 pre-deploys this.
    The source code to the starter app is also provided.
    The app is a simple web based user interface showing how to create these types of applications. It is fairly basic but is a good starting point.
    The sample code provided also provides some help in getting started.
    Simon.

  • IFS Access from Portal (Sample Portlets)?

    Just wondering if there are any sample JSP/Servlet Portlets floating around illustrating access to iFS (9.0.3 cmsdk) for document storage/management. Something that is a true portlet that lives properly within a portal environment would be ideal.
    thanks

    I was aware of the Oracle sample, but it really isn't that functional as indicated by other threads in this forum. It basically is a link to the iFS WebUI that jumps out of portal. In any case, we intend to work with the cmsdk which does not support WebUI.
    Can anyone share/point to some examples of portlets (JSP,Servlet based) that can access the facilities of cmsdk.
    thanks

  • CMSDK: How to replace the deprecated Parser

    Since 9.0.3 custom parsers are deprecated. Custom parsers where the ideal mechanism to ensure consistency in document-handling functions throughout the different protocols, while providing the possibility to act upon an upload operation before any decisions where made about how to store the document.
    You could, for instance, decide to store the document as an instance of a specific subclass of document. This decision would be unrelated to the specific protocol the user chose to use to perform his upload, and thus it was possible to maintain consistent logic across the different protocols.
    The 9.0.3 developer reference, chapter 12, suggests that you actually don't need these parsers, that they are overly complex and that you can simply implement your parser in a http-servlet (implying that you shouldn't use ftp, smb, ... for uploads). To stress their point (I guess) they removed (silently) the possibility for custom parsing from all but the cup protocols.
    I thoroughly disagree with this and would like to maintain the functionality provided to us by the 9.0.2 parser - if necessary with different techniques. Two existing customers are unable to upgrade to newer versions simply because of this problem.
    I have taken the possibility of an agent into account, but that lacks the possibility to interactively inform a user about problems regarding the content of his uploaded file. Furthermore, changing the cmsdk-class of an allready created object is tedious.
    Anybody from Oracle with an explanation about the deprecation of the parsers?
    Has anybody faced the same problems? Did you survive?
    Happy to hear your thoughts,
    Bart

    I figured out the order in which things get stored in iFS, when creating a new Document:
    1. S_TieDocument.extendedPreInsert
    2. S_TieContentObject.extendedPreInsert
    3. S_TieDocument.extendedPostInsert
    4. S_TieFolderRelationship.extendedPreInsert
    5. S_TieFolderRelationship.extendedPostInsert
    6. S_TieContentObject.extendedPostInsert
    After the post-insert calls, things are stored in the database. If I would want to determine the type of a document based on its contents or the folder it will be stored in, then this information should be available in step 1. Before the document is stored in the database, we have to change the class id, or the document will be stored in the wrong tables.
    But in step 1, the S_TieContentObject has not been created and there is no relation between the document content and the document itself. The same goes for the folder relationship. So I don't think changing the document type (class id) in a server-side override is going to work.
    Does anybody at Oracle has ever tried any of this?

Maybe you are looking for

  • Hang on import on OS X

    Dual G4 1.8GHz, 1.5GB RAM, OS X 10.4.8, Nikon D80, Lightroom v1.0 (trial) Plugged in my camera and imported my last shoot into a custom named folder, renaming the files to include a date string. About 2/3rds through Lightroom hung hung hard. It was s

  • UpdateDate to Access

    I have tried many approaches to getting a date (java.sql.Date) into my Access Database, but with no success. I want to leave it as a date field, so converting it to a string is less than optimal. 'updateDate' gives me an error when I try to updateRow

  • Missing wireless.h include file

    Hi all, I'm trying to compile Xsupplicant (both from AUR, and manually), but it fails with this error message: checking for iwlib.h... no configure: error: header file <iwlib.h> is required for Xsupplicant Of course, i have kernel-headers, and iwlib.

  • Windows 7 crash after Adobe automatic upgrade

    Hi I just finished installing Windows 7 and everything worked just fine. At first... However, this morning, a message came up asking if I would like Adobe to automatically look for upgrades. After clicking yes, it all went downhill. To begin with the

  • Tranferring data between Mac

    I need help in connecting and transferring data (mostly photos) from my old PowerPC 6400/180 to my newer 24" iMac. The 6400 has been upgraded with a G3 processor and runs on OS 9.1. The iMac is running OS 10.4.10. I think I may have a faulty ethernet