IPlANET Configuration

RuntimeException thrown by the invoke method of the Dynamic MBean

Hi,
You don't mention which version you are using so I have assumed 7.0.
Customizing User Public Information Directories (UNIX/Linux) (Oracle iPlanet Web Server 7.0.9 Administrator's Guide)
Is a possible way of accessing users home dirs.
Chapter 7 Controlling Access to Your Server (Oracle iPlanet Web Server 7.0.9 Administrator's Guide)
Provides information about username/password authentication.
Whether a link prints the contents or downloads it is largely down to the content-type of the file. The mime type is set by the web server and
interpreted by the browser. Usually you get to select that the 1st time you access a given file type.  The browser will then remember
if it rendered the file or saved it.
regards,
Russell

Similar Messages

  • Oracle iplanet configuration problem

    I am trying to run a batch script through the web server. But I get this error. The same configuration runs on Sun one 6.1 , but did not work since I migrated to 7 Update 9.
    [14/Dec/2010:17:39:31] info ( 9240): CORE3274: successful server startup
    [14/Dec/2010:17:39:54] failure ( 9240): for host 127.0.0.1 trying to GET /se/restart-81.bat, cgi_scan_headers reports: HTTP4044: the CGI program E:\path\RESTAR~4.BAT did not produce a valid header (program terminated without a valid CGI header. Check for core dump or other abnormal termination)
    [14/Dec/2010:17:39:54] warning ( 9240): for host 127.0.0.1 trying to GET /se/restart-81.bat, E:\path\RESTAR~4.BAT reports: CORE4385: stderr: The filename, directory name, or volume label syntax is incorrect.
    obj.conf:
    # Use only forward slashes in pathnames--backslashes can cause
    # problems. See the documentation for more information.
    <Object name="default">
    #AuthTrans fn="match-browser" browser="*MSIE*" ssl-unclean-shutdown="true"
    #NameTrans fn="ntrans-j2ee" name="j2ee"
    NameTrans fn="pfx2dir" from="/mc-icons" dir="E:/Sun/WebServer7/lib/icons" name="es-internal"
    NameTrans from="/se" fn="pfx2dir" dir="e:/path" name="shellcgi"
    NameTrans fn=document-root root="e:/admin"
    PathCheck fn="uri-clean"
    PathCheck fn="check-acl" acl="default"
    PathCheck fn=find-pathinfo
    PathCheck fn=find-index index-names="index.html,home.html,index.jsp"
    ObjectType fn=type-by-extension
    ObjectType fn=force-type type=text/plain
    Service method=(GET|HEAD) type=magnus-internal/imagemap fn=imagemap
    #Service method=(GET|HEAD) type=magnus-internal/directory fn=index-common
    Service fn="send-shellcgi" type="magnus-internal/shellcgi"
    Service method=(GET|HEAD|POST) type=*~magnus-internal/* fn=send-file
    Service method=TRACE fn=service-trace
    #Error fn="error-j2ee"
    AddLog fn="flex-log"
    </Object>
    <Object name="cgi">
    ObjectType fn=force-type type=magnus-internal/cgi
    Service fn=send-cgi
    </Object>
    <Object name="shellcgi">
    ObjectType fn="force-type" type="magnus-internal/shellcgi"
    Service fn="send-shellcgi"
    </Object>
    server.xml :
    <?xml version="1.0" encoding="UTF-8"?>
    <!--
    Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
    -->
    <server>
    <temp-path>C:/Windows/TEMP/httpd-se-809-fda731df</temp-path>
    <access-log>
    <file>E:/netscape_logs/access_hb809</file>
    <format>%Ses->client.ip% - %Req->vars.auth-user% [%SYSDATE%] "%Req->reqpb.clf-request%" %Req->srvhdrs.clf-status% %Req->srvhdrs.content-length% "%Req->headers.referer%" "%Req->headers.user-agent%" %Req->reqpb.method% %Req->reqpb.uri% %Req->reqpb.query% "%Req->reqpb.protocol%"</format>
    </access-log>
    <http-listener>
    <name>ls1</name>
    <port>811</port>
    <server-name>https-httpd-se-809</server-name>
    <default-virtual-server-name>https-httpd-se-809</default-virtual-server-name>
    </http-listener>
    <dns-cache>
    <enabled>false</enabled>
    </dns-cache>
    <stats>
    <enabled>false</enabled>
    </stats>
    <file-cache>
    <enabled>false</enabled>
    <max-age>30</max-age>
    <max-entries>1024</max-entries>
    <sendfile>false</sendfile>
    <copy-files>true</copy-files>
    <copy-path>C:/Windows/TEMP/httpd-se-809-file-cache</copy-path>
    <cache-content>false</cache-content>
    </file-cache>
    <http>
    <server-header>""</server-header>
    </http>
    <dns>
    <enabled>false</enabled>
    </dns>
    <thread-pool>
    <max-threads>128</max-threads>
    </thread-pool>
    <event>
    <time>
    <time-of-day>00:00</time-of-day>
    </time>
    <interval>86400</interval>
    <rotate-access-log>true</rotate-access-log>
    <rotate-log>true</rotate-log>
    </event>
    <virtual-server>
    <name>https-httpd-se-809</name>
    <host>httpd-se-809</host>
    <http-listener-name>ls1</http-listener-name>
    <object-file>obj.conf</object-file>
    <search-app>
    <uri>/search</uri>
    </search-app>
    <document-root>e:/admin</document-root>
    </virtual-server>
    <mime-file>mime.types</mime-file>
    <auth-db>
    <name>default</name>
    <url>null:///none</url>
    </auth-db>
    <jvm>
    <java-home>E:/Sun/WebServer7/jdk</java-home>
    <server-class-path>E:/Sun/WebServer7/lib/webserv-rt.jar;E:/Sun/WebServer7/lib/pwc.jar;E:/Sun/WebServer7/lib/ant.jar;${java.home}/lib/tools.jar;E:/Sun/WebServer7/lib/ktsearch.jar;E:/Sun/WebServer7/lib/webserv-jstl.jar;E:/Sun/WebServer7/lib/jsf-impl.jar;E:/Sun/WebServer7/lib/jsf-api.jar;E:/Sun/WebServer7/lib/webserv-jwsdp.jar;E:/Sun/WebServer7/lib/container-auth.jar;E:/Sun/WebServer7/lib/mail.jar;E:/Sun/WebServer7/lib/activation.jar</server-class-path>
    <debug>false</debug>
    <debug-jvm-options>-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=7896</debug-jvm-options>
    <jvm-options>-Djava.security.auth.login.config=login.conf</jvm-options>
    <jvm-options>-Xms128m -Xmx256m</jvm-options>
    </jvm>
    <servlet-container>
    <dynamic-reload-interval>-1</dynamic-reload-interval>
    <anonymous-role>ANYONE</anonymous-role>
    </servlet-container>
    <cluster>
    <local-host>cafrfd1attplw01.itservices.sbc.com</local-host>
    <instance>
    <host>cafrfd1attplw01.itservices.sbc.com</host>
    </instance>
    </cluster>
    <log>
    <log-level>info</log-level>
    <log-file>E:/NetScape_Logs/errors-se-809</log-file>
    </log>
    <variable>
    <name>dir</name>
    <value/>
    </variable>
    <variable>
    <name>nice</name>
    <value/>
    </variable>
    <variable>
    <name>group</name>
    <value/>
    </variable>
    <variable>
    <name>chroot</name>
    <value/>
    </variable>
    <variable>
    <name>accesslog</name>
    <value>E:/Netscape_Logs/access_se809</value>
    </variable>
    <variable>
    <name>user</name>
    <value/>
    </variable>
    <auth-realm>
    <name>file</name>
    <class>com.iplanet.ias.security.auth.realm.file.FileRealm</class>
    <property>
    <name>file</name>
    <value>E:/Sun/WebServer7/https-httpd-se-809/config/keyfile</value>
    </property>
    <property>
    <name>jaas-context</name>
    <value>fileRealm</value>
    </property>
    </auth-realm>
    <auth-realm>
    <name>native</name>
    <class>com.iplanet.ias.security.auth.realm.webcore.NativeRealm</class>
    <property>
    <name>jaas-context</name>
    <value>nativeRealm</value>
    </property>
    </auth-realm>
    <auth-realm>
    <name>ldap</name>
    <class>com.iplanet.ias.security.auth.realm.ldap.LDAPRealm</class>
    <property>
    <name>directory</name>
    <value>ldap://localhost:389</value>
    </property>
    <property>
    <name>base-dn</name>
    <value>o=isp</value>
    </property>
    <property>
    <name>jaas-context</name>
    <value>ldapRealm</value>
    </property>
    </auth-realm>
    <default-auth-realm-name>native</default-auth-realm-name>
    <audit-accesses>false</audit-accesses>
    </server>

    you could look to see if the server returned any useful information within the log file . also, you could increase the server log level to fine to get more information.

  • Imgaes redirection in Iplanet 6.1 SP4

    Hi all,
    We have a webapp with iPlanet 6 and Weblogic 8.1. The entire application is deployed on Weblogic, while the iPlanet is just a Web Server directing all requests to the Weblogic server.
    The iPlanet is configured to use the domain www.some_company.com/ebill and that was configured as the context in the Weblogic.
    The issue we have is with static URLs in the JSP pages like �/images/a.jpg� or �../images/b.jpg� are not displayed when running under this URL context. Only when the iPlanet and Weblogic are configured to use the root context "/" they are displayed.
    Also, when changing the application code to use �images/a.jpg� without the �/� in the beginning the images are being presented. However, I would like get an opinion if it is possible to solve this via iPlanet configuration and not thru code changes.
    My obj.conf is attached below. Please advise.
    # You can edit this file, but comments and formatting changes
    # might be lost when the admin server makes changes.
    <Object name="default">
    AuthTrans fn="match-browser" browser="*MSIE*" ssl-unclean-shutdown="true"
    NameTrans fn="ntrans-j2ee" name="j2ee"
    NameTrans fn="redirect" from="/hostname:8443/ebill/loginPage.jsp" url="http://www.some_company.com:8443/loginPage.jsp"
    NameTrans fn="pfx2dir" from="/mc-icons" dir="/opt/app/hostname/iplanet/ns-icons" name="es-internal"
    NameTrans fn="document-root" root="$docroot"
    PathCheck fn="unix-uri-clean"
    PathCheck fn="check-acl" acl="default"
    PathCheck fn="find-pathinfo"
    PathCheck fn="find-index" index-names="index.html,home.html,index.jsp"
    ObjectType fn="type-by-extension"
    ObjectType fn="force-type" type="text/plain"
    Service method="(GET|HEAD)" type="magnus-internal/imagemap" fn="imagemap"
    Service method="(GET|HEAD)" type="magnus-internal/directory" fn="index-common"
    Service method="(GET|HEAD|POST)" type="*~magnus-internal/*" fn="send-file"
    Service method="TRACE" fn="service-trace"
    Error fn="error-j2ee"
    AddLog fn="flex-log" name="access"
    </Object>
    <Object name="j2ee">
    Service fn="service-j2ee" method="*"
    </Object>
    <Object name="cgi">
    ObjectType fn="force-type" type="magnus-internal/cgi"
    Service fn="send-cgi" user="$user" group="$group" chroot="$chroot" dir="$dir" nice="$nice"
    </Object>
    <Object name="es-internal">
    PathCheck fn="check-acl" acl="es-internal"
    </Object>
    <Object name="send-compressed">
    PathCheck fn="find-compressed"
    </Object>
    <Object name="compress-on-demand">
    Output fn="insert-filter" filter="http-compression"
    </Object>
    <Object name="ebill" ppath="*/ebill/*">
    Service fn="wl_proxy" WebLogicHost="app_hostname" WebLogicPort="8080"
    </Object>

    We have changed default thin driver to 920 from 817 in 610sp4. If you are using 817
    dbserver, please put 817 classes12.zip in your classpath before weblogic.jar and you will
    be ok.
    Mitesh
    Harish SK wrote:
    Our application used to update a NUMBER(15) column in Oracle with current time
    in milliseconds.
    After migrating from SP3 to SP4 I observed that ORA-01438 was being thrown during
    the update intermittently.
    Increasing the size to default NUMBER, I observed that the values getting inserted
    are sometime random like 59, 81 digits long!
    The update code just does a prepared statement and does setObject of a java.lang.Long.
    I am using the oracle thin driver in oracle's classes12.zip.
    I am sure that this is happening since using SP4, have anyone faced similar problems?

  • JavaBeans in JSP on iPlanet server problem

    Hi-
    I have deployed several JSPs, but this is my first attempt at using JavaBeans in the pages. We are using the iPlanet 4.1 web server.
    The following is my JSP code (MyTest.jsp):
    <html>
    <head>
    <title> Test case</title>
    </head>
    <body>
    <jsp: useBean id="myBean" class="Beans.MyBean" />
    </body>
    </html>
    The following is the bean code:
    package Beans
    public class MyBean {
    private String message = "No Message";
    public String getMessage() {
    return(message);
    public void setMessage(String message) {
    this.message = message;
    I have the JSP and bean in the same directory. I'm not clear on where to put it on an iPlanet server. The bean compiles fine, and iPlanet seems to be able to see it. However, when I compile the JSP I get the following error on iPlanet:
    recompiling JSP file: /<dir path>/Beans/MyTest.jsp
    JSP compilation error: java.lang.Exception: JSP parse error (line24) - Incomplete tag ending of /jsp:useBean, stack: java.lang.Exception: JSP parse error(line 24) - Incomplete tag ending of /jspuseBean
    I've looked through several books and the JSP coding to useBean looks fine. Is this error related to iPlanet? Is it tied to the directory structure? We are using JDK1.3, is it set up for JavaBeans - or do we need to download some other files?
    Any help is welcomed!
    Thanks,
    Leilani

    Leilani,
    Have you got your JSP and beans to work. I'm having a similar problem. I am getting the following error when trying to load the JSP:
    [10/Dec/2001:11:46:42] info ( 1688): Internal Info: loading servlet /wacc/jsp/pickProgram.jsp
    [10/Dec/2001:11:46:47] info ( 1688): JSP: JSP1x compiler threw exception
    org.apache.jasper.JasperException: Unable to compile class for JSPC:\iPlanet\Server4\https-wacc\config\..\ClassCache\_jsps\_wacc\_jsp\_pickProgram_jsp.java:86: Undefined variable or class name: menu
    menu.setUserId(userId);
    ^
    1 error
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:260)
         at com.netscape.server.http.servlet.NSServletEntity.load(NSServletEntity.java:230)
         at com.netscape.server.http.servlet.NSServletEntity.update(NSServletEntity.java:149)
         at com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:463)
    [10/Dec/2001:11:46:47] warning ( 1688): Internal error: Failed to get GenericServlet. (uri=/wacc/jsp/pickProgram.jsp,SCRIPT_NAME=/wacc/jsp/pickProgram.jsp)
    My iPlanet "Configure JVM Attributes" has the path to the beans directory (I have also tried adding it to the Windows CLASSPATH variable):
    C:\dir\dir\beansdir;
    and here is the JSP code snippet:
    <%@ page info="Pick Program into page" %>
    <HTML>
    <HEAD>
    </HEAD>
    <BODY BGCOLOR="#ffffff">
    <USEBEAN name="menu" type=ford.wacc.beans.Menus lifespan=page></USEBEAN>
    <%
    PrintWriter myOut = response.getWriter();
    // get logged in user id
    String tmpStr = "userid";
    String userId = tmpStr.toUpperCase();
    // store user id in bean
    try {
    menu.setUserId(userId);
    } catch (Exception ex) {
    // global variables
    String[] menuItems = null;
    %>
    <%= tmpStr %>
    <%= userId %>
    </BODY>
    </HTML>
    I believe I have my iPalnet server configured correctly but it seems to me that it is a path problem. If anyone can point me in the right direction, I'd appreciate it. Thanks.

  • Accessing beans on remote iPlanet

    I have beans on iPlanet server, running. They are tested working great, with the help of servlets running on the same machine's iPlanet Web server. Now I want to access the same beans from a java program, which doesn't know any thing about the iPlanet configuration.
    Here is the code I'm using for this:
    Hashtable env = new Hashtable();
    try {
    env.put( Context.INITIAL_CONTEXT_FACTORY,
    "com.sun.jndi.cosnaming.CNCtxFactory");
    env.put( Context.PROVIDER_URL,
    "iiop://" + mIIOPHost );
    // LIDLogger.get().logDebug( null, "Getting Initial Context" );
    Context initial = new InitialContext(env);
    }catch(Exception ex){
    System.out.println(ex.getMessage());
    ex.printStackTrace();
    The last statement,
    Context initial = new InitialContext(env);
    raises an Exception at the runtime.
    It is as follows:
    COS Name Service not registered with ORB under the name 'NameService'
    javax.naming.ConfigurationException: COS Name Service not registered with ORB under the name 'NameService'. Root exception is org.omg.CORBA.ORBPackage.InvalidName
         at com.inprise.vbroker.orb.ORB.resolve_initial_references(ORB.java:712)
         at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:254)
         at com.sun.jndi.cosnaming.CNCtx.initUsingUrl(CNCtx.java:229)
         at com.sun.jndi.cosnaming.CNCtx.initOrbAndRootContext(CNCtx.java:187)
         at com.sun.jndi.cosnaming.CNCtx.<init>(CNCtx.java:71)
         at com.sun.jndi.cosnaming.CNCtxFactory.getInitialContext(CNCtxFactory.java:35)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:668)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)
         at javax.naming.InitialContext.init(InitialContext.java:222)
         at javax.naming.InitialContext.<init>(InitialContext.java:198)
         at level3.enterprise.fid.utils.ComponentFinder.getPhysSiteMgr(ComponentFinder.java:67)
         at level3.enterprise.fid.utils.LIDClient.getPhysSiteMgr(LIDClient.java:62)
         at level3.enterprise.fid.utils.LIDClient.main(LIDClient.java:88)
    It would be great if you can help me out.
    Thank you

    Hi again,
    I'll look at this some more although I'm not able to guarantee finding you an answer. Is there any more information that you can provide?
    I also suggest that you try the iplanet news groups which you can navigate to from http://www.iplanet.com. Those guys might be able to help you with this.
    Regards
    Amanda
    Developer Technical Support
    Sun Microsystems
    http://www.sun.com/developers

  • Iplanet 6.0 web-apps.xml config issue..!

    Hi,
    I would like to know the reason for marking webapps_enable="off" or "on" in server.xml.
    The issue I'm facing is when I say :
    <VARS docroot="/usr/sample-app/web" webapps_file="web-apps.xml" webapps_enable="on"/>
    and my web-apps.xml file looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE vs PUBLIC "-//Sun Microsystems, Inc.; iPlanet//DTD Virtual Server Web Applications 6.0//EN"
    "http://developer.iplanet.com/webserver/dtds/iws-webapps_6_0.dtd">
    <vs>
    <session-manager class="com.iplanet.server.http.session.IWSSessionManager">
    <init-param>
    <param-name>maxSessions</param-name>
    <param-value>2000</param-value>
    </init-param>
    <init-param>
    <param-name>timeOut</param-name>
    <param-value>150</param-value>
    </init-param>
    <init-param>
    <param-name>reapInterval</param-name>
    <param-value>150</param-value>
    </init-param>
    </session-manager>
    <parameter-encoding enc="UTF8"/>
    </vs>
    If I make webapps_enable="on" and add a new URI as :
    <web-app uri="/sampleapp" dir="/usr/sample-app/sampleapp" enable="true"/>
    I'm getting the following error message when I start my web server;
    vs(https-somapp.xyz.COM)SAX parser error: The content of element type "vs" must match "(auth-native?,class-loader?,jsp-servlet?,parameter-encoding?,response-buffer?,response-cookie?,config-param*,role-mapping?,session-manager?,session-tracking?,session-cookie?,tempdir?,form-login-session?,web-app*)". in file:web-apps.xml at line number 22.
    Kindly assist me as I'm a newbie to Iplanet configurations.
    Thanks in advance
    SS

    Hi,
    In server.xml, the VS tag needs to also include the id of the virtual server, i.e.
    <vs> is wrong, it should be something like:
    <VS id="server.iplanet.com" connections="group1" mime="mime1"
    aclids="acl1">
    Please see the following doc for more detail on the VS element:
    http://www.scientificamerican.com/manual/nsapi/08_vserv.htm
    By the way, this is the wrong forum to post questions on webserver to, you should use the following forum in future:
    http://swforum.sun.com/jive/forum.jspa?forumID=16
    Hope this helps

  • CGI error in iPlanet 6

    I'm using iPlanet 6 on Solaris 5.8. I''ve been unsuccessful at trying to get iPlanet configured to work with CGI. Here's the error I'm getting:
    failue (26505) for host xx.xx.xx.xx rying to GET /mine/hello.cgi, cgi_start_output reports: cannot execute CGI script for /blah/blah/docs/mine/hello.cgi. (exec() failure [No such file or directory]), chroot=<none>, dir=<none>, user=<none>, group=<none>
    The hello.cgi script does exist in /blah/blah/docs/mine.
    I activated CGI as a file type and did not configure a CGI directory.
    Can anyone point out to me what I don't have set correctly?
    Thanks in advance.
    Randy

    Check that the interpeter specified by the #! line in hello.cgi exists.

  • Exception propogating password to iPlanet

    Hi,
    My user has a iPlanet resource provisioned by reconciliation. I am trying to test whether password change made in OIM should get reflected in DS which it should do out of the box I believe. When I try to change my password by logging in as the user, I am getting the following exception. Can anyone please tell me what might be causing the exception?
    Running USEXLORG
    Target Class = java.lang.String
    Running ISSSL
    Target Class = java.lang.String
    Running Get Attr Mapping
    DEBUG,13 Jan 2011 12:12:56,226,[XL_INTG.SJSDS],com.thortech.xl.integration.iplanet.util.tcUtilAttributeNameMap : getTargetAttrMapping():: STARTED
    DEBUG,13 Jan 2011 12:12:56,226,[XL_INTG.SJSDS],com.thortech.xl.integration.iplanet.util.tcUtilAttributeNameMap : getTargetAttrMapping() : Variables passed are: pLookupCode = [AttrName.Prov.Map.iPlanet]
    DEBUG,13 Jan 2011 12:12:56,238,[XL_INTG.SJSDS],com.thortech.xl.integration.iplanet.util.tcUtilAttributeNameMap : getTargetAttrMapping():: STARTED
    DEBUG,13 Jan 2011 12:12:56,238,[XL_INTG.SJSDS],com.thortech.xl.integration.iplanet.util.tcUtilAttributeNameMap : getTargetAttrMapping() : tcResultSet is Thor.API.tcMetaDataSet@9ff762e
    DEBUG,13 Jan 2011 12:12:56,238,[XL_INTG.SJSDS],com.thortech.xl.integration.iplanet.util.tcUtilAttributeNameMap : getTargetAttrMapping():: FINISHED
    DEBUG,13 Jan 2011 12:12:56,238,[XL_INTG.SJSDS],com.thortech.xl.integration.iplanet.util.tcUtilAttributeNameMap : getTargetAttrMapping():: STARTED
    Running IPNT Get Lookup Values
    DEBUG,13 Jan 2011 12:12:56,238,[XL_INTG.SJSDS],com.thortech.xl.integration.iplanet.util.tcUtilAttributeNameMap : getTargetAttrMapping():: STARTED
    DEBUG,13 Jan 2011 12:12:56,238,[XL_INTG.SJSDS],com.thortech.xl.integration.iplanet.util.tcUtilAttributeNameMap : getTargetAttrMapping() : Variables passed are: pLookupCode = [Lookup.iPlanet.Configuration]
    DEBUG,13 Jan 2011 12:12:56,242,[XL_INTG.SJSDS],com.thortech.xl.integration.iplanet.util.tcUtilAttributeNameMap : getTargetAttrMapping():: STARTED
    DEBUG,13 Jan 2011 12:12:56,242,[XL_INTG.SJSDS],com.thortech.xl.integration.iplanet.util.tcUtilAttributeNameMap : getTargetAttrMapping() : tcResultSet is Thor.API.tcMetaDataSet@9ffe6dd
    DEBUG,13 Jan 2011 12:12:56,243,[XL_INTG.SJSDS],com.thortech.xl.integration.iplanet.util.tcUtilAttributeNameMap : getTargetAttrMapping():: FINISHED
    DEBUG,13 Jan 2011 12:12:56,243,[XL_INTG.SJSDS],com.thortech.xl.integration.iplanet.util.tcUtilAttributeNameMap : getTargetAttrMapping():: STARTED
    Running MODIFYUSER
    Target Class = com.thortech.xl.integration.iplanet.tcUtilIPlanetUserOperations
    DEBUG,13 Jan 2011 12:12:56,243,[XL_INTG.SJSDS],com.thortech.xl.integration.iplanet.tcUtilIPlanetUserOperations : tcUtilIPlanetUserOperations():: STARTED
    DEBUG,13 Jan 2011 12:12:56,243,[XL_INTG.SJSDS],com.thortech.xl.integration.iplanet.tcUtilIPlanetUserOperations : tcUtilIPlanetUserOperations() : Parameter Variables passed are: pServerName = [servername], pPort = [port], pRootContext = [dc=company,dc=com], pPrincipalDN = [cn=admin,dc=company,dc=com], pPrincipalPwd = [************], oAttributeMap = [{loginDisabled=nsaccountlock, Telephone=telephonenumber, Password=userpassword, Location=l, Middle Name=initials, User ID=uid, Title=title, Email=mail, Entry DN=entrydn, Common Name=cn, Communication Language=preferredlanguage, NsuniqueID=nsuniqueid, Department=departmentnumber, Last Name=sn, First Name=givenname}], oUdfMap = [null], sslFlag = [false]
    DEBUG,13 Jan 2011 12:12:56,243,[XL_INTG.SJSDS],com.thortech.xl.integration.iplanet.util.tcUtilAttributeNameMap : tcUtilAttributeNameMap():: STARTED
    DEBUG,13 Jan 2011 12:12:56,243,[XL_INTG.SJSDS],com.thortech.xl.integration.iplanet.util.tcUtilAttributeNameMap : tcUtilAttributeNameMap():: FINISHED
    DEBUG,13 Jan 2011 12:12:56,243,[XL_INTG.SJSDS],com.thortech.xl.integration.iplanet.util.tcUtilAttributeNameMap : getIntegrationAttributes:: STARTED
    DEBUG,13 Jan 2011 12:12:56,248,[XL_INTG.SJSDS],com.thortech.xl.integration.iplanet.util.tcUtilAttributeNameMap : getIntegrationAttributes:: FINISHED
    DEBUG,13 Jan 2011 12:12:56,248,[XL_INTG.SJSDS],com.thortech.xl.integration.iplanet.tcUtilIPlanetUserOperations : setLDAPInternalAttributes() : ldapObjectClass****************objectclass
    DEBUG,13 Jan 2011 12:12:56,248,[XL_INTG.SJSDS],com.thortech.xl.integration.iplanet.tcUtilIPlanetUserOperations : setLDAPInternalAttributes() : ldapUserObjectClass****************inetorgperson|ceCustomObject|inetuser
    DEBUG,13 Jan 2011 12:12:56,248,[XL_INTG.SJSDS],com.thortech.xl.integration.iplanet.tcUtilIPlanetUserOperations : setLDAPInternalAttributes() : ldapUserDNPrefix****************uid
    DEBUG,13 Jan 2011 12:12:56,248,[XL_INTG.SJSDS],com.thortech.xl.integration.iplanet.tcUtilIPlanetUserOperations : setLDAPInternalAttributes() : ldapOrgObjectClass****************Organization
    DEBUG,13 Jan 2011 12:12:56,248,[XL_INTG.SJSDS],com.thortech.xl.integration.iplanet.tcUtilIPlanetUserOperations : setLDAPInternalAttributes() : ldapUserDisableAttr****************nsaccountlock
    DEBUG,13 Jan 2011 12:12:56,248,[XL_INTG.SJSDS],com.thortech.xl.integration.iplanet.tcUtilIPlanetUserOperations : setLDAPInternalAttributes() : ldapGroupObjectClass****************groupOfUniqueNames
    DEBUG,13 Jan 2011 12:12:56,248,[XL_INTG.SJSDS],com.thortech.xl.integration.iplanet.tcUtilIPlanetUserOperations : setLDAPInternalAttributes() : ldapGroupDNPrefix****************cn
    DEBUG,13 Jan 2011 12:12:56,248,[XL_INTG.SJSDS],com.thortech.xl.integration.iplanet.tcUtilIPlanetUserOperations : setLDAPInternalAttributes() : ldapGroupMemberAttr****************uniquemember
    DEBUG,13 Jan 2011 12:12:56,248,[XL_INTG.SJSDS],com.thortech.xl.integration.iplanet.tcUtilIPlanetUserOperations : setLDAPInternalAttributes() : ldapFirstName****************givenname
    DEBUG,13 Jan 2011 12:12:56,248,[XL_INTG.SJSDS],com.thortech.xl.integration.iplanet.tcUtilIPlanetUserOperations : setLDAPInternalAttributes() : ldapLastName****************sn
    DEBUG,13 Jan 2011 12:12:56,248,[XL_INTG.SJSDS],com.thortech.xl.integration.iplanet.tcUtilIPlanetUserOperations : setLDAPInternalAttributes() : ldapCommonName****************cn
    DEBUG,13 Jan 2011 12:12:56,248,[XL_INTG.SJSDS],com.thortech.xl.integration.iplanet.tcUtilIPlanetUserOperations : setLDAPInternalAttributes() : ldapPassword************************
    ERROR,13 Jan 2011 12:12:56,248,[XL_INTG.SJSDS],====================================================
    ERROR,13 Jan 2011 12:12:56,248,[XL_INTG.SJSDS],com.thortech.xl.integration.iplanet.tcUtilIPlanetUserOperations : tcUtilIPlanetUserOperations() : Error while getting tcUtilLDAPOperations instance. tcUtilLDAPDirectory Standard Attribute Map Not Complete
    ERROR,13 Jan 2011 12:12:56,248,[XL_INTG.SJSDS],====================================================
    java.lang.Exception: tcUtilLDAPDirectory Standard Attribute Map Not Complete
         at com.thortech.xl.integration.iplanet.tcUtilIPlanetUserOperations.<init>(Unknown Source)
         at com.thortech.xl.integration.iplanet.tcUtilIPlanetUserOperations.<init>(Unknown Source)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    Caused by: java.lang.Exception: java.lang.Exception: tcUtilLDAPDirectory Standard Attribute Map Not Complete
    BTW, I am getting the same error when I am trying to provision a user as well. Any idea whats wrong?
    Thanks,
    Supreetha
    Edited by: Supreetha on Jan 14, 2011 4:00 AM

    Did you update the iPLanet Directory Server schema to include the oracle specific object class and attributes and/or also mapped the oracle to iplanet fields if they don't have the same name?

  • ColdFusion 9 Web Server Configuration Tool  problem

    I am using:
    ColdFusion 9.01
    Oracle iPlanet Web Server 7.0.13
    Windows 2008 R2 Standard
    When I try to use the Web Server Configuration Tool, I get the following message:   warning "connectors/nsapi/intel-win64/prebuilt/jrun_nsapi.dll".  Could it be an incompatability with the versions of software that I am using?  Has anyone successfully configured ColdFusion 9.01 with Oracle iPlanet Web Server 7.0.13?
    I can't get past this message (see below).
    The wsconfig.log file has the following:
    02/14 00:39:57 debug Parsing Sun ONE Web Server (iPlanet) configuration file G:\Program Files\Oracle\WebServer7\https-CFAdmin\config\magnus.conf
    02/14 00:39:57 debug Parsing Sun ONE Web Server (iPlanet) configuration file G:\Program Files\Oracle\WebServer7\https-CFAdmin\config\obj.conf
    02/14 00:39:57 error connectors/nsapi/intel-win64/prebuilt/jrun_nsapi.dll
    java.io.FileNotFoundException: connectors/nsapi/intel-win64/prebuilt/jrun_nsapi.dll
        at jrunx.connectorinstaller.JarUtils.extractToFile(JarUtils.java:72)
        at jrunx.connectorinstaller.CIUtil.extractConnector(CIUtil.java:274)
        at jrunx.connectorinstaller.iPlanetInstaller.installConnector(iPlanetInstaller.java:136)
        at jrunx.connectorinstaller.ConnectorInstaller.installConnector(ConnectorInstaller.java:341)
        at jrunx.connectorinstaller.ConnectorInstaller.doIt(ConnectorInstaller.java:275)
        at jrunx.connectorinstaller.ConnectorInstaller.main(ConnectorInstaller.java:765)

    I'm using  Solaris 10 SPARC, iPlanet 7.0.15, and I'm not going to use Apache!
    Note: I made a slight modification to the LD_LIBRARY_PATH_64 reference in the startup script for iPlanet.
    You have to do this to make the virtual server use the 64-bit libraries.
    vi /sun/webserver7/https-<config_name>/bin/startserv
    look for this line:
        LD_LIBRARY_PATH_64="${SERVER_LIB_PATH_64}:${SERVER_JVM_LIBPATH}:${LD_LIBRARY_PATH_64}"; export LD_LIBRARY_PATH_64
    and change it to this line:
        LD_LIBRARY_PATH_64="${SERVER_LIB_PATH_64}:${SERVER_JVM_LIBPATH}:${LD_LIBRARY_PATH_64}:/us r/sfw/lib/sparcv9"; export LD_LIBRARY_PATH_64
    I'm moving from CF8 ENT to CF9 ENT.
    Here's the problem: iPlanet virtual server is configured for 64-bit operation; the connector in CF9 is 32-bit.
    Question: What Program is Making this file ---> libjrun_nsapi.so ??
    I'm assuming CF is creating it, so try to follow my logic here.....
    CF9 doesn't want to produce libjrun_nsapi.so in 64-bit mode.
    The file is located here:
    /opt/coldfusion9/runtime/lib/wsconfig/1/libjrun_nsapi.so
    Instead it spits out a 32-bit file....
    # file libjrun_nsapi.so
    libjrun_nsapi.so:       ELF 32-bit MSB dynamic lib SPARC32PLUS Version 1, V8+ Required, dynamically linked, not stripped, no debugging information avail
    It's supposed to look something like this:
    # file libjrun_nsapi.so
    libjrun_nsapi.so:       ELF 64-bit MSB dynamic lib SPARCV9 Version 1, dynamically linked, not stripped
    I found out that when I use CF8, the installer asks for 64-bit configuration during install,
    AND the initial startup makes the 64-bit connector.
    In CF9...no such menu item; it doesn't mention 32/64 bit anything.
    How do you force CF9 to produce a 64-bit libjrun_nsapi.so file?
    This creates the 32-bit file...
    cf_root/runtime/bin/wsconfig -server coldfusion -ws sunone -dir /sun/webserver7/<config-name>/config -coldfusion -v
    When I add -ws64 it breaks the script....
    cf_root/runtime/bin/wsconfig -server coldfusion -ws64 sunone -dir /sun/webserver7/<config-name>/config -coldfusion -v
    How do you force CF9 to produce a 64-bit libjrun_nsapi.so file?
    FYI:  I grabbed the libjrun_nsapi.so file from my CF8 ENT install, and used it in my CF9 ENT install.
    No errors from the web server, but it's running dirt-slow now.
    Could be the file because the libjrun_nsapi.so was created to connect with CF8, not CF9 !?
    How do you force CF9 to produce a 64-bit libjrun_nsapi.so file?

  • Running out of data connections

    Problem Statement:
    Running out of data connections after some time and
    the following SQLException is thrown:
    "failed to create a data connection with any of the
    specified drivers"
    Problem Description:
    I have an application that is running under iPlanet
    6.0 on solaris using Oracle 8 and type 2 Oracle
    driver.
    The application is using a number of stateless
    session beans.
    Normally, my servlets instantiate the remote beans in
    order to make access to their interfaces. For
    example, I have a servlet that fetches all of
    the accounts for a given customer. First, The servlet
    does the fetch by calling JNDI to lookup the "home"
    interface, then does a "create" call on the home
    interface to get the "remote" interface
    (see snippets of code below, the ejbCreate()).
    Second, the servlet calls up a specific method that
    extracts the customer's accounts (see snippets of
    code below, the method getAccountList()).
    At first all seem to work well, however after some
    random time my beans start to throw the SQLException
    "failed to create a data connection with any of the
    specified drivers"
    At first I thought that I am not closing the
    connections, but all of of my connections,
    statements, and result sets, are closed
    and even set to null in a finally block as you can
    see in the snippets of code below.
    If I restart iAS, all of the connections get released
    and things look normal again till the problem
    re-occurs.
    Initially, we had this problem on SP2, so we upgraded
    to SP3 thinking that this may solve the problem,
    however the problem remained on SP3.
    Another thing, this same application works perfectly
    well on my laptop which has similar iPlanet
    configurations except that operating system is
    Windows 2000 Advanced Server, and Oracle 8.0.4.0.0.
    System Configuration:
    Following is my system configuration and related
    iPlanet 6.0 settings.
    -1- iPlanet 6.0 SP3
    -2- Type 2 Oracle driver
    -3- SunOs, sparc SUNW, Ultra-250, solaris 5.8
    -4- Oracle 8.1.6.0.0 64-bit Production
    -5- Following are the entry settings in the iPlanet
    registry under
    Software\iPlanet\Application Server\6.0\CCS0\DAE2\ORACLE_OCI
    - CacheCleanInterval = 120
    - CacheConnTimeOut = 120
    - CacheDebugMsgs = 0
    - CacheFreeSlots = 16
    - CacheInitSlots = 64
    - CacheMaxConn = 64
    - CachMaxGlobalConn = 128
    - ConnGiveUpTime = 60
    - RMThreadMax = 32
    - RMThreadMin = 0
    - RSBufferInitRows = 25
    - RSBufferMaxBufferSize = 6553600
    - RSBufferMaxRows = 100
    - RSBufferMaxSize = 32768
    - SQLDebugMsgs = 0
    Snippets of Code:
    The following snippets of code come from a stateless
    session bean and consist of a local data member, the
    ejbCreate() method, and a typical rmi method that
    does the database connection and extraction of
    related records.
    javax.sql.DataSource dataSourceObj = null;
    public void ejbCreate()
    throws java.rmi.RemoteException, javax.ejb.CreateException
    javax.naming.Context ctx = null;
    // Ensure first that the _props have been
    // successfully instantiated by the constructor.
    if (_props != null) {
    try{
    ctx = new javax.naming.InitialContext();
    }catch (Exception ex){           
         nbUtility.logError(ex,"Error while creating Initial Context !");
    try{
    // DEBUG:
    System.out.println("ejbCreate(): NB_DATASOURCE = " + props.getPropertyValue(props.NB_DATASOURCE));
    // DEBUG:
         dataSourceObj = (javax.sql.DataSource) ctx.lookup(_props.getPropertyValue(_props.NB_DATASOURCE));
    catch (Exception ex){
         ex.printStackTrace();
    if (dataSourceObj == null)
    throw new javax.ejb.CreateException("Couldn't get DataSource object from environment");
    } else {
    throw new javax.ejb.CreateException("Couldn't create the property manager: NB_CONFIG_FILE is null, empty, not set, or the file doesn't exist.");
    * Given a customer number, this method
    * returns the list of accounts that belongs to
    * this customers.
    public nbAccountList getAccountList(String CustomerNo)
    throws java.rmi.RemoteException {
    nbAccountList accountList = null;
    if ((CustomerNo != null) && (!CustomerNo.equals(""))) {
    java.sql.Connection conn = null;
    java.sql.Statement stmt = null;
    java.sql.ResultSet rset = null;
    try {
    accountList = new nbAccountList();
    String sql = "SELECT * FROM " +
    props.getPropertyValue(props.NB_DBTABLE_ACCOUNT) +
    " WHERE " +
    "(" + props.getPropertyValue(props.NB_DBFIELD_ACCOUNT_CUSTOMERNO) +
    "='" + CustomerNo + "')";
    // DEBUG:
    nbDebug.write("accounts list SQL= " + sql);
    // DEBUG:
    // Let's get the connection, the statement, and the record set.
    conn = dataSourceObj.getConnection();
    stmt = conn.createStatement();
    rset = stmt.executeQuery(sql);
    // Let's loop for each single account
    int index = 0;
    nbAccount account = null;
    while (rset.next()) {
         String AccountNo = rset.getString(_props.getPropertyValue(_props.NB_DBFIELD_ACCTPERMIS_ACCOUNTNO));
    // Instantiate an account object
    account = new nbAccount(AccountNo);
    index++;
    } catch (SQLException e) {
         nbUtility.logError(e, "SQLException while trying to get accounts data.");
    } finally {
    try {
    if (rset != null) { rset.close(); rset = null; }      
    if (stmt != null) { stmt.close(); stmt = null; }
    if (conn != null) { conn.close(); conn = null; }
    } catch (SQLException e) {
         nbUtility.logError(e, "SQLException while trying to close connection.");
    return (accountList);      
    }

    I've experienced similar problems. Unfortunately, all efforts by iPlanet
    technical support to resolve the issue have failed. (They do keep calling
    and asking if they can close the ticket for some reason)
    One thing that's totally anoying is the ksvradmin monitory crashes when I
    try to have it report any connection pool information. They verified it's a
    bug in SP3 but won't say if it's fixed in SP4 or provide an estimate.
    To date here's what I've tried (by tech support's recomendation):
    1) Configure for global transactions. (even thow I'm not using them)
    (Failed)
    2) Switch to using 3rd party driver (We were previously using native)
    (Failed)
    3) Ran report on oracle showing number of connections used during iplanet's
    failed attempt. Report from Oracle shows 2 connections open, but iPlanet is
    configured for 120.
    4) Increased the connection pool size. (I didn't know why based on the
    above info) (Increased to 300) (Failed)
    Well there's my history. We crash after about 3 days of heavy usage. I'm
    about to give up and just reset my servers each night. Will help me with
    logfile rotation of the kjs files as well.
    Rodger Ball
    Sr. Engineer
    Business Wire
    "Bilal Chouman" <[email protected]> wrote in message
    news:[email protected]...
    Problem Statement:
    Running out of data connections after some time and
    the following SQLException is thrown:
    "failed to create a data connection with any of the
    specified drivers"
    Problem Description:
    I have an application that is running under iPlanet
    6.0 on solaris using Oracle 8 and type 2 Oracle
    driver.
    The application is using a number of stateless
    session beans.
    Normally, my servlets instantiate the remote beans in
    order to make access to their interfaces. For
    example, I have a servlet that fetches all of
    the accounts for a given customer. First, The servlet
    does the fetch by calling JNDI to lookup the "home"
    interface, then does a "create" call on the home
    interface to get the "remote" interface
    (see snippets of code below, the ejbCreate()).
    Second, the servlet calls up a specific method that
    extracts the customer's accounts (see snippets of
    code below, the method getAccountList()).
    At first all seem to work well, however after some
    random time my beans start to throw the SQLException
    "failed to create a data connection with any of the
    specified drivers"
    At first I thought that I am not closing the
    connections, but all of of my connections,
    statements, and result sets, are closed
    and even set to null in a finally block as you can
    see in the snippets of code below.
    If I restart iAS, all of the connections get released
    and things look normal again till the problem
    re-occurs.
    Initially, we had this problem on SP2, so we upgraded
    to SP3 thinking that this may solve the problem,
    however the problem remained on SP3.
    Another thing, this same application works perfectly
    well on my laptop which has similar iPlanet
    configurations except that operating system is
    Windows 2000 Advanced Server, and Oracle 8.0.4.0.0.
    System Configuration:
    Following is my system configuration and related
    iPlanet 6.0 settings.
    -1- iPlanet 6.0 SP3
    -2- Type 2 Oracle driver
    -3- SunOs, sparc SUNW, Ultra-250, solaris 5.8
    -4- Oracle 8.1.6.0.0 64-bit Production
    -5- Following are the entry settings in the iPlanet
    registry under
    Software\iPlanet\Application Server\6.0\CCS0\DAE2\ORACLE_OCI
    - CacheCleanInterval = 120
    - CacheConnTimeOut = 120
    - CacheDebugMsgs = 0
    - CacheFreeSlots = 16
    - CacheInitSlots = 64
    - CacheMaxConn = 64
    - CachMaxGlobalConn = 128
    - ConnGiveUpTime = 60
    - RMThreadMax = 32
    - RMThreadMin = 0
    - RSBufferInitRows = 25
    - RSBufferMaxBufferSize = 6553600
    - RSBufferMaxRows = 100
    - RSBufferMaxSize = 32768
    - SQLDebugMsgs = 0
    Snippets of Code:
    The following snippets of code come from a stateless
    session bean and consist of a local data member, the
    ejbCreate() method, and a typical rmi method that
    does the database connection and extraction of
    related records.
    javax.sql.DataSource dataSourceObj = null;
    public void ejbCreate()
    throws java.rmi.RemoteException, javax.ejb.CreateException
    javax.naming.Context ctx = null;
    // Ensure first that the _props have been
    // successfully instantiated by the constructor.
    if (_props != null) {
    try{
    ctx = new javax.naming.InitialContext();
    }catch (Exception ex){
    nbUtility.logError(ex,"Error while creating Initial Context
    try{
    // DEBUG:
    System.out.println("ejbCreate(): NB_DATASOURCE = " +
    props.getPropertyValue(props.NB_DATASOURCE));
    // DEBUG:
    dataSourceObj = (javax.sql.DataSource)
    ctx.lookup(_props.getPropertyValue(_props.NB_DATASOURCE));
    catch (Exception ex){
    ex.printStackTrace();
    if (dataSourceObj == null)
    throw new javax.ejb.CreateException("Couldn't get DataSource
    object from environment");
    } else {
    throw new javax.ejb.CreateException("Couldn't create the
    property manager: NB_CONFIG_FILE is null, empty, not set, or thefile
    doesn't exist.");
    * Given a customer number, this method
    * returns the list of accounts that belongs to
    * this customers.
    public nbAccountList getAccountList(String CustomerNo)
    throws java.rmi.RemoteException {
    nbAccountList accountList = null;
    if ((CustomerNo != null) && (!CustomerNo.equals(""))) {
    java.sql.Connection conn = null;
    java.sql.Statement stmt = null;
    java.sql.ResultSet rset = null;
    try {
    accountList = new nbAccountList();
    String sql = "SELECT * FROM " +
    props.getPropertyValue(props.NB_DBTABLE_ACCOUNT)
    +
    " WHERE " +
    "(" +
    props.getPropertyValue(props.NB_DBFIELD_ACCOUNT_CUSTOMERNO) +
    "='" + CustomerNo + "')";
    // DEBUG:
    nbDebug.write("accounts list SQL= " + sql);
    // DEBUG:
    // Let's get the connection, the statement, and the record
    set.
    conn = dataSourceObj.getConnection();
    stmt = conn.createStatement();
    rset = stmt.executeQuery(sql);
    // Let's loop for each single account
    int index = 0;
    nbAccount account = null;
    while (rset.next()) {
    String AccountNo =
    rset.getString(_props.getPropertyValue(_props.NB_DBFIELD_ACCTPERMIS_ACCOUNTN
    O));
    >
    // Instantiate an account object
    account = new nbAccount(AccountNo);
    index++;
    } catch (SQLException e) {
    nbUtility.logError(e, "SQLException while trying to get
    accounts data.");
    } finally {
    try {
    if (rset != null) { rset.close(); rset = null; }
    if (stmt != null) { stmt.close(); stmt = null; }
    if (conn != null) { conn.close(); conn = null; }
    } catch (SQLException e) {
    nbUtility.logError(e, "SQLException while trying to close
    connection.");
    return (accountList);
    Try our New Web Based Forum at http://softwareforum.sun.com
    Includes Access to our Product Knowledge Base!

  • Using a question mark in a obj.conf redirect

    We seem to have a problem with the following obj.conf entry on iPlanet v6.1 SP4:
    NameTrans fn="redirect" from="/xxxxxxxxx/?" url-prefix="http://www.domain.com/directory/?rid=zzzzzzzzz&"
    The "?" is not recognized by the server so the redirect is never executed. We have also tried:
    NameTrans fn="redirect" from="/xxxxxxxxx/%3f" url-prefix="http://www.domain.com/directory/?rid=zzzzzzzzz&"
    This is also not recognized. Is the "?" a special character for iPlanet configuration?
    Any help would be appreciated in solving this problem. Thanks

    The from parameter specifies a path prefix. Paths don't include query strings (the stuff beginning with "?" in the URL).
    I can't think of any easy way to do what you want in Sun ONE Web Server 6.1. However, the following could be used in Sun Java System Web Server 7.0:
    <If defined $query>
    NameTrans fn="redirect" from="/xxxxxxxxx/" url="http://www.domain.com/directory/?rid=zzzzzzzzz&$query"
    </If>In 6.1, you'll probably need to write some code (Java Servlet, Java Filter, CGI program, or NSAPI plugin) to get the functionality you want.

  • Multiple IT Resources for LDAP Server?

    All,
    I have a client with several Sun Java System Directory Server (SJSDS) instances, each containing separate user repositories. The schemas for each SJSDS instance have been customised - uid is not the user identifier attribute, nor is inetorgperson the user objectClass.
    I have imported the SJSDS connector and am stuck at how I can represent these multiple real-world SJSDS instances in OIM. I understand that I can create separate IT Resources for each SJSDS instance, complete with their individual hostnames and IP addresses; this makes sense. However, according to the "Extending the Functionality" guide (http://download.oracle.com/docs/cd/E11223_01/doc.904/e10446/custom.htm#CIHDDEGA), the user identifier attribute and objectClass seem to be defined at the connector level through the Lookup.iPlanet.Configuration Lookup Definition? Am I correct in therefore assuming that this means all of my LDAP Server IT Resources have to share the same user identifier attribute and objectClass?
    Can anyone suggest how I might be able to define unique settings for attributes such as the user identifier attribute and objectClass for each LDAP Server IT Resource? What is the standard approach?
    Also, I read that there is a one-to-one relationship between a process task and its adapter. Does this therefore mean that I should create separate "Create User" adapters for the Process Definition associated with each IT Resource implemented?
    Any guidance / clarification would be greatly appreciated :-)
    Damian

    See this is the underlying assumption for multiple instances creation in OIM for any target system:
    - Create multiple IT Resources of same IT Resource type. Each one will have individual connection parameters specified in it. You know that.
    - Now while provisioning, you just select anyone of this IT Resource as required, so your request is directed towards the required target.
    Note
    - It considers that you are always provisioning same attributes to all those targets because you will always see same process form for all targets.
    - You have same objectClass for all.
    - You have same 'Unique Attribute' and 'Key Fields' for reconciliation.
    - Although you can modify the IT Resource for providing different attribute list for prov and recon based on your target system by providing different values for look up's in place of- AttrName.Prov.Map.iPlanet and AttrName.Recon.Map.iPlanet. But since RO, Process Form etc all are same so no such real usage.
    Note - Lookup - 'AttrName.Prov.Map.iPlanet' has got one attribute objectclass. See if modifying it works. But in OIM process form, attributes will always be same
    Work-Around if above doesn't work
    The only thing you can do is replicate one instance of SJSDS multiple times within OIM for every OIM object. Say if you want 5 different instances of SJSDS then like following:
    - Create 5 identical RO, Process Form, rules, Process Definition, Lookup's etc within xml for every OIM object that you thing will change for all these 5 instances. If anything is common then let all the 5 refer to it. Do it by copying + renaming xml.
    - Now import everything in OIM. So now you can see 5 different RO like SJSDS1, SJSDS2 ,SJSDS3 .. etc for all these 5 instances and they will behave differently with no overlapping and you can configure these individually.
    - But this is very critical procedure. You need to take proper care while replicating.
    Hope it helps.
    Thanks
    Sunny
    Edited by: rajsunny

  • ODSEE to OIM Reconciliation issue - Invalid number of users

    Hi All,
    I'm trying to run an iPlanet User Trusted Recon Task job (Create users in OIM from ODSEE).
    I've added Recon fields for the "Xellerate User" Resource Object in OIM Design Console. I've setup all the reconciliation mappings in the Process Definition - Recon Field Mappings. Added code key/decode for Lookup.iPlanet.Configuration under Lookup Definition and Created Reconciliation Rule.
    When I click the "Create Reconciliation Profile" button under Object Resource -> Object Reconciliation -> Reconciliation fields. I get the following error:
    <Mar 17, 2011 2:25:50 PM EST> <Error> <oracle.iam.platform.auth.impl> <IAM-0060010> <Error while loading mapping plugin
    oracle.iam.platform.utils.userpreferences.UserDetailsException: Invalid number of users 0 entries returned for user ID <WLS KERNEL>.
    at oracle.iam.identity.usermgmt.impl.UserDetailsProviderImpl.getUserDetails(UserDetailsProviderImpl.java:135)
    at oracle.iam.platform.auth.impl.util.AuthenticationContextUtilForEJB.setUserPreferences(AuthenticationContextUtilForEJB.java:137)
    at oracle.iam.platform.auth.impl.util.AuthenticationContextUtilForEJB.setAuthenticationContextInEJB(AuthenticationContextUtilForEJB.java:93)
    at oracle.iam.conf.api.SystemConfigurationServiceEJB.getSystemPropertyx(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor773.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy295.getSystemPropertyx(Unknown Source)
    at oracle.iam.conf.api.SystemConfigurationService_nzipi9_SystemConfigurationServiceRemoteImpl.getSystemPropertyx(SystemConfigurationService_nzipi9_SystemConfigurationServiceRemoteImpl.java:139)
    at sun.reflect.GeneratedMethodAccessor1753.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:84)
    at $Proxy128.getSystemPropertyx(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor774.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
    at $Proxy306.getSystemPropertyx(Unknown Source)
    at oracle.iam.conf.api.SystemConfigurationServiceDelegate.getSystemProperty(Unknown Source)
    at oracle.iam.reconciliation.utils.Sys.getProperty(Sys.java:63)
    at oracle.iam.reconciliation.impl.config.Profile.initSystemProperties(Profile.java:97)
    at oracle.iam.reconciliation.impl.config.Profile.<init>(Profile.java:71)
    at oracle.iam.reconciliation.impl.config.ProfileXML.getProfileFromXMLObject(ProfileXML.java:210)
    at oracle.iam.reconciliation.impl.config.ProfileManager.readProfileFromXML(ProfileManager.java:301)
    at oracle.iam.reconciliation.impl.config.ProfileManager.metadataObjectChanged(ProfileManager.java:115)
    at oracle.mds.internal.notifications.EventNotificationManager$1.run(EventNotificationManager.java:615)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.mds.internal.notifications.EventNotificationManager.fireMOChangeEvent(EventNotificationManager.java:611)
    at oracle.mds.internal.notifications.EventNotificationManager.fireMOChangeEvents(EventNotificationManager.java:538)
    at oracle.mds.internal.notifications.EventDispatcherThread.run(EventDispatcherThread.java:72)
    >
    oracle.iam.platform.auth.exception.AuthenticationException: oracle.iam.platform.utils.userpreferences.UserDetailsException: Invalid number of users 0 entries returned for user ID <WLS KERNEL>.
    at oracle.iam.platform.auth.impl.util.AuthenticationContextUtilForEJB.setAuthenticationContextInEJB(AuthenticationContextUtilForEJB.java:103)
    at oracle.iam.conf.api.SystemConfigurationServiceEJB.getSystemPropertyx(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor773.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy295.getSystemPropertyx(Unknown Source)
    at oracle.iam.conf.api.SystemConfigurationService_nzipi9_SystemConfigurationServiceRemoteImpl.getSystemPropertyx(SystemConfigurationService_nzipi9_SystemConfigurationServiceRemoteImpl.java:139)
    at sun.reflect.GeneratedMethodAccessor1753.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:84)
    at $Proxy128.getSystemPropertyx(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor774.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
    at $Proxy306.getSystemPropertyx(Unknown Source)
    at oracle.iam.conf.api.SystemConfigurationServiceDelegate.getSystemProperty(Unknown Source)
    at oracle.iam.reconciliation.utils.Sys.getProperty(Sys.java:63)
    at oracle.iam.reconciliation.impl.config.Profile.initSystemProperties(Profile.java:97)
    at oracle.iam.reconciliation.impl.config.Profile.<init>(Profile.java:71)
    at oracle.iam.reconciliation.impl.config.ProfileXML.getProfileFromXMLObject(ProfileXML.java:210)
    at oracle.iam.reconciliation.impl.config.ProfileManager.readProfileFromXML(ProfileManager.java:301)
    at oracle.iam.reconciliation.impl.config.ProfileManager.metadataObjectChanged(ProfileManager.java:115)
    at oracle.mds.internal.notifications.EventNotificationManager$1.run(EventNotificationManager.java:615)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.mds.internal.notifications.EventNotificationManager.fireMOChangeEvent(EventNotificationManager.java:611)
    at oracle.mds.internal.notifications.EventNotificationManager.fireMOChangeEvents(EventNotificationManager.java:538)
    at oracle.mds.internal.notifications.EventDispatcherThread.run(EventDispatcherThread.java:72)
    Caused by: oracle.iam.platform.utils.userpreferences.UserDetailsException: Invalid number of users 0 entries returned for user ID <WLS KERNEL>.
    at oracle.iam.identity.usermgmt.impl.UserDetailsProviderImpl.getUserDetails(UserDetailsProviderImpl.java:135)
    at oracle.iam.platform.auth.impl.util.AuthenticationContextUtilForEJB.setUserPreferences(AuthenticationContextUtilForEJB.java:137)
    at oracle.iam.platform.auth.impl.util.AuthenticationContextUtilForEJB.setAuthenticationContextInEJB(AuthenticationContextUtilForEJB.java:93)
    ... 45 more
    Result Size = 1 PACKAGE STATUS = VALID
    Recompiling packages - RDBMS
    I run the iPlanet User Trusted Recon Task and nothing happens, no log gets produced in the oim_server1.log and users don't get created.
    Any help is appreciated. Thanks

    I get the same error when installing connectors. Installed both the SUN DSE and MS AD Base connector now and see this error several times during installation.
    Installation says is succeeds though.
    Will move on to creating the IT resources now to see if they actually work.

  • First attempt at JavaBeans

    So I'm using Mac OS X running Tomcat and trying to work examples from a book about JavaBeans. My JavaBean code is for a file called CarBean.java and is as follows:
    package com.wrox.cars;
    import java.io.Serializable;
    public class CarBean implements Serializable {
         public CarBean () {
         private String make = "Ford";
         public String getMake() {
              return make;
         public void setMake(String make) {
              this.make = make;
    }I'm supposed to put it in the folder: %CATALINA_HOME\WEB-INF\classes\begjsp-ch04\WEB-INF\classes\com\wrox\cars
    My default homepage is at $CATALINA_HOME/webapps/ROOT/index.jsp
    First problem is that I can't tell what folder hierarchy I'm supposed to have and where to put my CarBean.java.
    I think that's my first problem and maybe my other problem of not being able to compile it will sort itself out once it's in the correct directory. Right now when i try to compile I get the error:
    CarBean.java:1: 'class' or 'interface' expected
    package com.wrox.cars;
    ^
    CarBean.java:3: 'class' or 'interface' expected
    import java.io.Serializable;
    ^
    2 errors
    Any help would be appreciated.

    Leilani,
    Have you got your JSP and beans to work. I'm having a similar problem. I am getting the following error when trying to load the JSP:
    [10/Dec/2001:11:46:42] info ( 1688): Internal Info: loading servlet /wacc/jsp/pickProgram.jsp
    [10/Dec/2001:11:46:47] info ( 1688): JSP: JSP1x compiler threw exception
    org.apache.jasper.JasperException: Unable to compile class for JSPC:\iPlanet\Server4\https-wacc\config\..\ClassCache\_jsps\_wacc\_jsp\_pickProgram_jsp.java:86: Undefined variable or class name: menu
    menu.setUserId(userId);
    ^
    1 error
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:260)
         at com.netscape.server.http.servlet.NSServletEntity.load(NSServletEntity.java:230)
         at com.netscape.server.http.servlet.NSServletEntity.update(NSServletEntity.java:149)
         at com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:463)
    [10/Dec/2001:11:46:47] warning ( 1688): Internal error: Failed to get GenericServlet. (uri=/wacc/jsp/pickProgram.jsp,SCRIPT_NAME=/wacc/jsp/pickProgram.jsp)
    My iPlanet "Configure JVM Attributes" has the path to the beans directory (I have also tried adding it to the Windows CLASSPATH variable):
    C:\dir\dir\beansdir;
    and here is the JSP code snippet:
    <%@ page info="Pick Program into page" %>
    <HTML>
    <HEAD>
    </HEAD>
    <BODY BGCOLOR="#ffffff">
    <USEBEAN name="menu" type=ford.wacc.beans.Menus lifespan=page></USEBEAN>
    <%
    PrintWriter myOut = response.getWriter();
    // get logged in user id
    String tmpStr = "userid";
    String userId = tmpStr.toUpperCase();
    // store user id in bean
    try {
    menu.setUserId(userId);
    } catch (Exception ex) {
    // global variables
    String[] menuItems = null;
    %>
    <%= tmpStr %>
    <%= userId %>
    </BODY>
    </HTML>
    I believe I have my iPalnet server configured correctly but it seems to me that it is a path problem. If anyone can point me in the right direction, I'd appreciate it. Thanks.

  • Compression pd in loadMovie

    Dear all,
    I am building a project where I am using a loadMovie code
    inside a main movie with a .swf file, When I read the .swf file
    outside the application (on its own), it is fine. When it is
    imported inside the main movie, it pixeleates all the images...
    Both the projects (main movie and .swf file are set up to the
    highest quality with no compression on the publishing...) So, Is
    there any way to control the quality of the .swf as you import it?
    or some gimmick to take care of the pb?
    Thanks a lot.
    Fabrice

    Hi Deepak,
    Thanks for your reply ...
    I have iPlanet configured with Compression for all static contents like images / style sheets and js files.
    But there are some pages/portlets in my application which is generating huge volume of dynamic contents which resulting the page size transferred to the client
    getting increased resulting the page in outlier list. Ok What kind of URL pattern i have to look for applying the compression filter in Web.xml, can you comment
    on the below one ....
    <filter-mapping>
    <filter-name>RPFilter</filter-name>
    <url-pattern>/*</url-pattern>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    <dispatcher>INCLUDE</dispatcher>
    </filter-mapping>
    RPFilter - Is my compression filter class identifier.
    Thanks,
    Mohan

Maybe you are looking for