Issue in iPlanet loading obj.conf file in admin console module

Dear all,
I have done following chanegs in obj.conf file to block insecure http methods,but whenever I try to access admin module of iPlanet and restart, all manual changes done in obj.conf disappears.
Only one time it asked me with message that file has been modified manually do you want to load?
but this is not happening every time.I am using iplanet 9.
Please let me know if there is any issue with this or I am missing something.
to just brief, only after trying 20 times it asked me above mentioned message
---obj.conf file contents----
<Object name="WebCon1" ppath="*/WebCon/*">
*<Client method="(GET|POST)">*
AuthTrans fn="match-browser" browser="MSIE*" ssl-unclean-shutdown="true"*
*</Client>*
*<Client method="(HEAD|PUT|TRACE|TRACK|SEARCH|INDEX|OPTIONS|DELETE|MKDIR|SHOWMETHOD|UNLINK|CHECKIN|TEXTSEARCH|SPACEJUMP|CONNECT|PATCH|PROPFIND|PROPPATCH|MKCOL|COPY|MOVE|LOCK|UNLOCK|CHECKOUT|RMDIR|ACL|VERSION-CONTROL|REPORT|UNCHECKOUT|ORDERPATCH)">*
*AuthTrans fn="set-variable" remove-headers="transfer-encoding" set-headers="content-length: -1" error="405"*
*</Client>*
NameTrans fn="pfx2dir" from="/mc-icons" dir="/home/cedera/iPlanetServer/Installation/ns-icons" name="es-internal"
PathCheck fn="unix-uri-clean"
PathCheck fn="find-pathinfo"
ObjectType fn="type-by-extension"
ObjectType fn="force-type" type="text/plain"
Service method="(GET|POST)" type="image/gif" fn="send-file"
Service method="(GET|POST)" type="image/jpeg" fn="send-file"
Service method="(GET|POST)" type="text/css" fn="send-file"
Service method="(GET|POST)" type="application/x-javascript" fn="send-file"
Service method="(GET|POST)" type="magnus-internal/imagemap" fn="imagemap"
Service method="(GET|POST)" type="magnus-internal/directory" fn="send-error" path="/WebCon/WebCon/restrict.htm"
Service method="(GET|POST)" fn="wl_proxy" WebLogicHost="10.10.61.224" WebLogicPort="444" HungServerRecoverSecs="600" Debug="ALL" DebugConfigInfo="TRUE" RequireSSLHostMatch="FALSE" WLLogFile="/home/cedera/iPlanetServer/Installation/https-webcon2/logs/Log_JSP.txt" PathTrim="/WebCon" PathPrepend="/WebConverter" SecureProxy="ON" URIContainsSpace="true" ErrorPage="/home/cedera/iPlanetServer/Installation/docs/WebCon/WebCon/serviceUnavailable.htm" MaxPostSize="-1" DefaultFileName="WebCon/login.jsp" ConnectTimeoutSecs="10" ConnectRetrySecs="2" WLDNSRefreshInterval="0" TrustedCAFile="/home/cedera/iPlanetServer/Installation/https-webcon2/config/trustedcafile.pem"
AddLog fn="flex-log" name="access"
</Object>
I have added contents marked in bold manually....
but it was not picking up it from frontend...then suddenly after 20 time, it picked up these changes in admin...
but now if I am trying to change in <client> tag , but it does not recognise any new changes done manually...it loads same obj.conf...whenever i restart instance from frontend...
Edited by: sweetvish on Nov 9, 2009 9:26 PM

After making manual changes in obj.conf, have you tried clicking the 'Apply' link in admin console and then choosing 'Load configuration Changes' option?

Similar Messages

  • Nsapi in cluster (obj.conf file conflict)

    Hi,
              I running WLS5.1.0 SP5 on Sun 5.7 Solaris v2.7, with IPlanet4.0SP1,
              running with the plugin...
              When I am on non-cluster environment, everything is just fine, but on
              cluster, IPlanet is starting, but I can not see anything on the browser
              (page cannot be displayed), I have attached my obj.conf file. Please let
              me know ASAP what I am doing wrong...
              Regards
              GOD BLESS
              Chris
              ## ------------- BEGIN SAMPLE OBJ.CONF CONFIGURATION ---------
              # (no cluster)
              # The following line locates the NSAPI library for loading at
              # startup, and identifies which functions within the library are
              # NSAPI functions. Verify the path to the library (the value
              # of the shlib=<...> parameter) and that the file is
              # readable, or the server will fail to start.
              Init fn="load-modules" funcs="wl-proxy,wl-init"\
              shlib=/usr/netscape/server4/bin/https/lib/libproxy.so
              Init fn="wl-init"
              # Configure which types of HTTP requests should be handled by the
              # NSAPI module (and, in turn, by WebLogic). This is done
              # with one or more "<Object>" tags as shown below.
              # Here we configure the NSAPI module to pass requests for
              # "/weblogic" to a WebLogic Server listening at port 7011 on
              # the host ags-dtcXXXX.agsolutions.co.uk that is your localhost (e.g:
              ags-dtc1724) .
              <Object name="weblogic" ppath="*/weblogic/*">
              Service fn=wl-proxy WebLogicCluster="10.0.4.13:7011,10.0.4.14:7011"\
              PathTrim="/weblogic"
              </Object>
              # NSAPI's configuration to pass request for any file begining with
              # "WLS" to weblogic server on port 7011.
              <Object name="eutility" ppath="*WLS*">
              Service fn=wl-proxy WebLogicCluster="10.0.4.13:7011,10.0.4.14:7011"
              PathTrim="/EUtility"
              </Object>
              # NSAPI's configuration to pass request for any file begining with
              # "wls" to weblogic server on port 7011.
              <Object name="eutility1" ppath="*wls*">
              Service fn=wl-proxy WebLogicCluster="10.0.4.13:7011,10.0.4.14:7011"
              PathTrim="/EUtility"
              </Object>
              # Here we configure the plug-in so that requests that
              # match "/servletimages/" will be handled by the
              # plug-in/WebLogic.
              <Object name="si" ppath="*/servletimages/*">
              Service fn=wl-proxy WebLogicCluster="10.0.4.13:7011,10.0.4.14:7011"
              </Object>
              # This Object directive works by file extension rather than
              # request path. To use this configuration, you must also add
              # a line to the mime.types file:
              # type=text/jsp exts=jsp
              # This configuration means that any file with the extension
              # ".jsp" will be proxied to WebLogic. Then you must add the
              # Service line for this extension to the Object "default",
              # which should already exist in your obj.conf file:
              <Object name=default>
              NameTrans fn=pfx2dir from=/ns-icons\
              dir="/usr/Netscape/Server4/ns-icons"
              NameTrans fn=pfx2dir from=/mc-icons\
              dir="/usr/Netscape/Server4/ns-icons"
              NameTrans fn="pfx2dir" from="/help" dir=\
              "/usr/netscape/server4/manual/https/ug"
              NameTrans fn=document-root root="/usr/eutilweb"
              Service method="(GET|HEAD|POST|PUT)" type=text/jsp fn=wl-proxy\
              WebLogicCluster="10.0.4.13:7011,10.0.4.14:7011 PathPrepend=/jspfiles
              PathCheck fn=unix-uri-clean
              PathCheck fn="check-acl" acl="default"
              PathCheck fn=find-pathinfo
              PathCheck fn=find-index
              index-names="index.html,index.htm,wls.htm,wls.html,home.html"
              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) type=*~magnus-internal/* fn=send-file
              AddLog fn=flex-log name="access"
              </Object>
              # The following directive enables HTTP-tunneling of the
              # WebLogic protocol through the NSAPI plug-in.
              <Object name="tunnel" ppath="*/HTTPClnt*">
              Service fn=wl-proxy WebLogicCluster="10.0.4.13:7011,10.0.4.14:7011"
              </Object>
              ## ------------- END SAMPLE OBJ.CONF CONFIGURATION ---------
              [att1.html]
              

              Since IPlanet is started ( as per your email) , are you able to access
              index.html page?
              If yes, add the following debug flag in obj.conf and point your browser
              to
              http://[NES-host]:[port]/weblogic/index.html?__WebLogicBridgeConfig (2
              under scores)
              <Object name="weblogic" ppath="*/weblogic/*">
              Service fn=wl-proxy WebLogicCluster="10.0.4.13:7011,10.0.4.14:7011"
              PathTrim="/weblogic" DebugConfigInfo="ON"
              </Object>
              Does the screen shot shows primary & secondary server info?
              what's the build date/time on it?
              PS: Also make sure there aren't any extra spaces in it.. Sometimes NES
              is very much picky..
              Kumar
              starssoul wrote:
              > Hi,
              >
              > I running WLS5.1.0 SP5 on Sun 5.7 Solaris v2.7, with IPlanet4.0SP1,
              > running with the plugin...
              > When I am on non-cluster environment, everything is just fine, but on
              > cluster, IPlanet is starting, but I can not see anything on the
              > browser
              > (page cannot be displayed), I have attached my obj.conf file. Please
              > let me know ASAP what I am doing wrong...
              > Regards
              >
              > GOD BLESS
              > Chris
              >
              >
              >
              >
              > Init fn="load-modules" funcs="wl-proxy,wl-init"\
              > shlib=/usr/netscape/server4/bin/https/lib/libproxy.so
              > Init fn="wl-init"
              >
              > <Object name="weblogic" ppath="*/weblogic/*">
              > Service fn=wl-proxy WebLogicCluster="10.0.4.13:7011,10.0.4.14:7011"\
              > PathTrim="/weblogic"
              > </Object>
              >
              >
              > ## ------------- END SAMPLE OBJ.CONF CONFIGURATION ---------
              [att1.html]
              

  • $doc root Variable use in obj.conf file of iPlanet6 SP2

    Is there any way I can build expressions in obj.conf file using $docroot variable?
    I have the following configured in the obj.conf now:
    <<Object name="default">
    NameTrans fn="NSServletNameTrans" name="servlet"
    NameTrans fn="pfx2dir" from="/servlet" dir="/home/ns6.0SP2/https-site/docs/servlet" name="ServletByExt"
    NameTrans fn="pfx2dir" from="/mc-icons" dir="/home/ns6.0SP2/ns-icons" name="es-internal"
    NameTrans fn="pfx2dir" from="/cgi-bin" dir="/home/ns-home/https-site/cgi-bin" name="cgi"
    NameTrans fn="pfx2dir" from="/manual" dir="/home/ns6.0SP2/manual/https" name="es-internal"
    NameTrans fn="document-root" root="$docroot"
    </Object>
    I would like to have something like this:
    <Object name="default">
    NameTrans fn="NSServletNameTrans" name="servlet"
    NameTrans fn="pfx2dir" from="/servlet" dir="$docroot/servlet" name="ServletByExt"
    NameTrans fn="pfx2dir" from="/mc-icons" dir="/home/ns6.0SP2/ns-icons" name="es-internal"
    NameTrans fn="pfx2dir" from="/cgi-bin" dir="$docroot/../cgi-bin" name="cgi"
    NameTrans fn="pfx2dir" from="/manual" dir="/home/ns6.0SP2/manual/https" name="es-internal"
    NameTrans fn="document-root" root="$docroot"
    </Object>
    I have tried the code above but unfortunatelly it does not work - I get "Not Found
    The requested object does not exist on this server." error.
    I need this to specify different $docroot-s for different URLs but keep the same default object for all of them.
    Is there any other way to implement this?
    Thank you very much for your cooperation!
    Sasha

    Yes, this technique does work.
    However, in your example, the NameTrans fn="pfx2dir" from="/cgi-bin" directive will probably not work as you expect. This is because the PathTrans fn="unix-uri-clean" directive (which is written to all obj.conf files iWS creates) will reject all paths that contain "..". For more information on the unix-uri-clean SAF, refer to the NSAPI Programmer's Guide at http://docs.iplanet.com/docs/manuals/enterprise/50/nsapi/03_direc.htm#18613

  • Example of obj.conf file using dynamic headers/footers

    Just a quick query. I'm trying to use dynamic headers/footers and I've read
    the notes on:
    http://docs.iplanet.com/docs/manuals/enterprise/50/ag/essearch.htm#26999
    I cant seem to get it to work. Could you send me an example of an obj.conf
    file so I can get mine to work?
    Many Thanks in Advance,
    Mian Amar Ahmad

    Thanks. I followed the guidance of the 3 links you provided. I thought what I coded in the obj.conf was working.
    <If $uri =~ "^/dynamic/(.*)$">
    NameTrans fn="restart" uri="/$1?$query"
    </If>
    But, I later found that this fails when the method is a GET and the query-string is null and when the method is a POST. I need all GETs and POSTs starting with "/dynamic" to have it stripped and "restarted". So, I modified my original config to make POSTs work. So now I have the following code:
    <If $method eq "POST" and $uri =~ "^/dynamic/(.*)$">
    NameTrans fn="restart" uri="/$1"
    </If>
    <If $method eq "GET" and $uri =~ "^/dynamic/(.*)$">
    NameTrans fn="restart" uri="/$1?$query"
    </If>
    Now, I'm left with trying to get it working for GETs where the query-string is null. I'm not quite sure how to do this? Do you have any suggestions? It seems like the code is getting pretty crazy just to perform this functionality, Is there a simplier way that I am not seeing?

  • What web service & xml will be used for deleting the packged epub/pdf file from Admin Console

    What web service & xml will be used for deleting the packged epub/pdf file from Admin Console?
    I am able to delete the files from Admin console directy but not able to get which web service is calling on deleting the file from admin console:
    Mangal

    Hi Jim,
    I tired following web service and xml to delete the packaged ebook but it is giving me error instead of response:
    Web Service & XML
    http://myserver_url/admin/ManageResourceKey
    <request action="delete" auth="builtin" xmlns="http://ns.adobe.com/adept">
    <nonce>" . $nonce . "</nonce>
    <expiration>'. $expiration .'</expiration>
    <resourceKey>
    <resource>resource_id</resource>
    <resourceItem>1</resourceItem>
    </resourceKey>
    </request>
    Error Message
    <error xmlns="http://ns.adobe.com/adept"
    data="E_ADEPT_DATABASE http://myserver_url/admin/ManageResourceKey
    Cannot%20delete%20or%20update%20a%20parent%20row:%20a%20foreign%20key%20constraint%20fails %20(`adept`.`distributionrights`,%20CONSTRAINT%20`distributionrights_ibfk_2`%20FOREIGN%20K EY%20(`resourceid`)%20REFERENCES%20`resourcekey`%20(`resourceid`))"/>
    Magal Varshney

  • Loading .obj model file to applet returns AccessControlException

    I examined other applets where this code seems to work. Yet, I can't get it to function properly within my code.
         URL fileURL = null;
            try {
             fileURL = new URL( getDocumentBase(), "test.obj");
            } catch (Exception e) {
             System.err.println("Exception: "+ e);
             System.exit(1);
            ObjectFile f = new ObjectFile();
            Scene s = null;
            try {
                s = f.load( fileURL );
            catch (Exception e) {
                System.err.println(e);
                System.exit(1);
            }I can load image files without any problems. Any help will be appreciated.

    Forgot to post the error message..
    java.security.AccessControlException: access denied (java.io.FilePermission /home/squier/cwol/html/test.obj read)
    java.security.AccessControlException: access denied (java.lang.RuntimePermission exitVM)
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
         at java.security.AccessController.checkPermission(AccessController.java:427)
         at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
         at java.lang.SecurityManager.checkExit(SecurityManager.java:744)
         at java.lang.Runtime.exit(Runtime.java:88)
         at java.lang.System.exit(System.java:868)
         at cwol.BattleApp.loadModel(BattleApp.java:157)
         at cwol.BattleApp.init(BattleApp.java:63)
         at sun.applet.AppletPanel.run(AppletPanel.java:374)
         at java.lang.Thread.run(Thread.java:595)

  • Set up a read only group on the config.xml file through Admin console

    I would like to set up a group which can use Admin console
    (http://ip:7001/console).
    However, this group cannot deploy, modify anything on the configuration. In
    the document, I can add ACL lists. But how? The table of permission
    function on the document is not clear. For example, there is no READ and
    WRITE on the table in the Admin Server guide. Please help.
    If I have guest enable on the Admin console. What is the user name and
    password of a gest to use the Admin console?
    Thanks for help.

    Do you want to expose the Admin app on the same network as the managed app?
    If not, just hide (black hole) the IP/port to the admin server.
    If I have guest enable on the Admin console. What is the user name and
    password of a gest to use the Admin console?I don't think guest has a password. Allowing guest means non-auth'd users
    can access it.
    Peace,
    Cameron Purdy
    Tangosol, Inc.
    Clustering Weblogic? You're either using Coherence, or you should be!
    Download a Tangosol Coherence eval today at http://www.tangosol.com/
    "SLC" <[email protected]> wrote in message
    news:3c5dcd78$[email protected]..
    I would like to set up a group which can use Admin console
    (http://ip:7001/console).
    However, this group cannot deploy, modify anything on the configuration.In
    the document, I can add ACL lists. But how? The table of permission
    function on the document is not clear. For example, there is no READ and
    WRITE on the table in the Admin Server guide. Please help.
    If I have guest enable on the Admin console. What is the user name and
    password of a gest to use the Admin console?
    Thanks for help.

  • Proxy 4.04 : Manual configurations of .conf files not loading

    Hello,
    Apologies if i sound a bit noobish , but some questions regarding manually configuring files (*.conf) using notepad/vi.
    Issue now is , whenever i use a script or manually copy & paste newer configs, i do not get prompted for the reload configuration prompt like in 3.6. While i do realize the software supports dynamic reconfiguration , but i noticed that there is no updates show in my admin server (e.g , updated templates in obj.conf but in admin server -> view templates , it's not showing). And no prompt to "load configuration files). I'm running java that came with the package itself btw.

    Hello,
    Apologies if i sound a bit noobish , but some questions regarding manually configuring files (*.conf) using notepad/vi.
    Issue now is , whenever i use a script or manually copy & paste newer configs, i do not get prompted for the reload configuration prompt like in 3.6. While i do realize the software supports dynamic reconfiguration , but i noticed that there is no updates show in my admin server (e.g , updated templates in obj.conf but in admin server -> view templates , it's not showing). And no prompt to "load configuration files). I'm running java that came with the package itself btw.

  • Configuring wl-proxy for iPlanet obj.conf

    Can you please email me a sample iPlanet obj.conf with Weblogic proxy(by file extension) plug-in setting to also inclulde Debug="ON" and ConnectTimeoutSec=20 parameters?
              

    The Debug option was added in a fairly recent service pack so make sure you are using the plugin from Service
              Pack 8 (I am assuming WLS 5.1 here...).
              As for Netscape, try putting all of the parameters on one line (with no line continuation characters and no
              white space in the cluster list). Netscape, especially on NT is very sensitive to how the obj.conf file is
              formatted. Try the one attached.
              Hope this helps,
              Robert
              Ganapur Srinivas wrote:
              > Hello,
              >
              > Following is the contents of the obj.conf file, which we are using to set up the
              > iPlanet for clustered environment of Weblogic. With the below settings we are able
              > to access the JSP files, but not able to pass the Servlet request via the Proxy plug-in.
              > Also the Debug=ON option is not working properly. Of the two machines the request
              > is going to only one machine, if that particular machine is not on the net, the request
              > is not directed to the live machine which has weblogic instance running.
              >
              > If somebody already running Weblogic clustering successfully please let us know if
              > the following settings are okay in obj.conf:
              >
              > ====================START of obj.conf
              > # Sun Netscape Alliance - obj.conf
              > # You can edit this file, but comments and formatting changes
              > # might be lost when the admin server makes changes.
              >
              > # Use only forward slashes in pathnames--backslashes can cause
              > # problems. See the documentation for more information.
              >
              > Init fn="load-modules" funcs="wl-proxy,wl-init"\
              > shlib=C:/Netscape/Server4/https-MyMachine/proxy36.dll
              > Init fn="wl-init"
              >
              > Init fn="flex-init" access="C:/Netscape/Server4/https-MyMachine/logs/access" format.access="%Ses->client.ip%
              > - %Req->vars.auth-user% [%SYSDATE%] \"%Req->reqpb.clf-request%\" %Req->srvhdrs.clf-status%
              > %Req->srvhdrs.content-length%"
              > Init fn="load-types" mime-types="mime.types"
              > Init disable="yes" fn="dns-cache-init"
              >
              > <Object name="default">
              > NameTrans fn="pfx2dir" from="/ns-icons" dir="C:/Netscape/Server4/ns-icons" name="es-internal"
              > NameTrans fn="pfx2dir" from="/mc-icons" dir="C:/Netscape/Server4/ns-icons" name="es-internal"
              > NameTrans fn="pfx2dir" from="/help" dir="C:/Netscape/Server4/manual/https/ug" name="es-internal"
              > NameTrans fn="pfx2dir" from="/manual" dir="C:/Netscape/Server4/manual/https" name="es-internal"
              > NameTrans fn="document-root" root="D:/Webserver/examples"
              > Service method="(GET|HEAD|POST|PUT)" type=text/jsp fn=wl-proxy\
              > WebLogicCluster="10.236.130.48:7001, 10.236.130.47:7001"
              > ErrorPage="d:/Netscape/Server4/https-MyMachine/MyErrorpage.htm"
              > Debug=ON
              > PathCheck fn="nt-uri-clean"
              > PathCheck fn="check-acl" acl="default"
              > PathCheck fn="find-pathinfo"
              > PathCheck fn="find-index" index-names="index.html"
              > 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-simple"
              > Service method="(GET|HEAD|POST)" type="*~magnus-internal/*" fn="send-file"
              > AddLog fn="flex-log" name="access"
              > </Object>
              >
              > <Object name="weblogic" ppath="*/weblogic/*">
              > Service fn=wl-proxy WebLogicCluster="10.236.130.48:7001, 10.236.130.47:7001" PathTrim="/weblogic"
              > </Object>
              >
              > <Object name="cgi">
              > ObjectType fn="force-type" type="magnus-internal/cgi"
              > Service fn="send-cgi"
              > </Object>
              >
              > <Object name="es-internal">
              > PathCheck fn="check-acl" acl="es-internal"
              > </Object>
              >
              > ====================END of obj.conf
              >
              > sam nemati <[email protected]> wrote:
              > >Can you please email me a sample iPlanet obj.conf with Weblogic proxy(by file extension)
              > plug-in setting to also inclulde Debug="ON" and ConnectTimeoutSec=20 parameters?
              # Sun Netscape Alliance - obj.conf
              # You can edit this file, but comments and formatting changes
              # might be lost when the admin server makes changes.
              # Use only forward slashes in pathnames--backslashes can cause
              # problems. See the documentation for more information.
              Init fn="load-modules" funcs="wl-proxy,wl-init" shlib="C:/Netscape/Server4/https-MyMachine/proxy36.dll"
              Init fn="wl-init"
              Init fn="flex-init" access="C:/Netscape/Server4/https-MyMachine/logs/access" format.access="%Ses->client.ip% - %Req->vars.auth-user% [%SYSDATE%] \"%Req->reqpb.clf-request%\" %Req->srvhdrs.clf-status% %Req->srvhdrs.content-length%"
              Init fn="load-types" mime-types="mime.types"
              Init disable="yes" fn="dns-cache-init"
              <Object name="default">
              NameTrans fn="pfx2dir" from="/ns-icons" dir="C:/Netscape/Server4/ns-icons" name="es-internal"
              NameTrans fn="pfx2dir" from="/mc-icons" dir="C:/Netscape/Server4/ns-icons" name="es-internal"
              NameTrans fn="pfx2dir" from="/help" dir="C:/Netscape/Server4/manual/https/ug" name="es-internal"
              NameTrans fn="pfx2dir" from="/manual" dir="C:/Netscape/Server4/manual/https" name="es-internal"
              NameTrans fn="document-root" root="D:/Webserver/examples"
              Service method="(GET|HEAD|POST|PUT)" type=text/jsp fn=wl-proxy WebLogicCluster="10.236.130.48:7001,10.236.130.47:7001" ErrorPage="d:/Netscape/Server4/https-MyMachine/MyErrorpage.htm" Debug=ON
              PathCheck fn="nt-uri-clean"
              PathCheck fn="check-acl" acl="default"
              PathCheck fn="find-pathinfo"
              PathCheck fn="find-index" index-names="index.html"
              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-simple"
              Service method="(GET|HEAD|POST)" type="*~magnus-internal/*" fn="send-file"
              AddLog fn="flex-log" name="access"
              </Object>
              <Object name="weblogic" ppath="*/weblogic/*">
              Service fn=wl-proxy WebLogicCluster="10.236.130.48:7001,10.236.130.47:7001" PathTrim="/weblogic"
              </Object>
              <Object name="cgi">
              ObjectType fn="force-type" type="magnus-internal/cgi" Service fn="send-cgi"
              </Object>
              <Object name="es-internal">
              PathCheck fn="check-acl" acl="es-internal"
              </Object>
              

  • Iplanet 6.0 sp1 plugin - libproxy.so init failure in obj.conf

    hello all -
    iPlanet 6.0, service pack 1 (weblogic plugin desired)
    Solaris 2.8 with latest patchset (including patch 109234-09)
    JDK 1.3.1-04 ... weblogic 5.1, service pack 11
    These simple lines in obj.conf consistently fail :
    Init fn="load-modules" funcs="wl-proxy,wl-init"\
    shlib=/export/home/iplanet60/plugins/lib/libproxy.so
    Init fn="wl-init"
    .. iplanet "errors" log shows these errors when these lines are included :
    complains about server.xml (points back to these lines) .. "line 32, column 15:
    Error processing obj.conf line 3 : init functions are not allowed in the objset"
    . if I pull these lines .. http server starts fine.
    Started to research solaris patches - 109234-09 is installed - this is of interest
    as it contains libproxy.so for apache - tried loading that in but cannot load
    in that file as WLS plugin.
    libproxy.so : definately chmod 777 .. definately in right path.
    any thoughts on what my problem could be?
    thx JR.

    hello all -
    I solved this problem quite easily.
    The BEA docs suggest to put the 'Init fn' calls in the obj.conf file. I found
    if I do not do this but place the calls to 'Init fn' (only) in magnus.conf - all
    works fine. I had repeated failures to start the http server while these 'Init
    fn' calls resided in the obj.conf file.
    On a side note, the solaris patchset supplied libproxy.so is an apache ref file
    and should not be used. I just copied the normal libproxy.so from $WLHOME/lib/solaris.
    Hope this helps someone. JR
    "John Russell" <[email protected]> wrote:
    >
    hello all -
    iPlanet 6.0, service pack 1 (weblogic plugin desired)
    Solaris 2.8 with latest patchset (including patch 109234-09)
    JDK 1.3.1-04 ... weblogic 5.1, service pack 11
    These simple lines in obj.conf consistently fail :
    Init fn="load-modules" funcs="wl-proxy,wl-init"\
    shlib=/export/home/iplanet60/plugins/lib/libproxy.so
    Init fn="wl-init"
    ... iplanet "errors" log shows these errors when these lines are included
    complains about server.xml (points back to these lines) .. "line 32,
    column 15:
    Error processing obj.conf line 3 : init functions are not allowed in
    the objset"
    .. if I pull these lines .. http server starts fine.
    Started to research solaris patches - 109234-09 is installed - this
    is of interest
    as it contains libproxy.so for apache - tried loading that in but cannot
    load
    in that file as WLS plugin.
    libproxy.so : definately chmod 777 .. definately in right path.
    any thoughts on what my problem could be?
    thx JR.

  • Issue while loading the library files(".so" or ".sl") using JNI

    Hi,
    We are loading the c library files using system.load during the init phase of servlet.
    While loading the application for the first time everything goes smooth and application behaves as expected.
    We are facing the below issue when we try restarting the application through admin console in case of WAS (web sphere) for any patch deployment in the application.
    java.lang.UnsatisfiedLinkError: Native Library /users/test1/siva/jnilib.so already loaded in another classloader.
    If we restart the complete WAS every thing works fine.
    There is no specific System.unload function available in java to remove the loaded library in JVM.
    Is there any alternate way to unload the library which is loaded in class loader to resolve this issue which can be called in the destroy phase of servlet?
    Any help here is highly apreciated.
    TIA,
    Siva.

    sivabalan wrote:
    Hi,
    We are loading the c library files using system.load during the init phase of servlet.
    You mean a shared library, not C files (which would be source.)
    However I am not sure that loading it in a servlet is a good idea. But that is a different issue.
    Is there any alternate way to unload the library which is loaded in class loader to resolve this issue which can be called in the destroy phase of servlet?This is how it works on the Sun VM back to about 1.2. And as far as I know there is no other way for it to work on any other VM.
    You have a class with native methods that relies on the shared library. The class and the shared library are loaded into a class loader. If the class loader is unloaded by the GC then the native library will be unloaded as well.
    A class loader can be collected by the GC if if the classes loaded by it are no longer actively references. So ALL class instances can be collected.
    If the above is true then by running System.gc() twice it will collect the classloader and thus the native library.
    So in your situation it might work if your app server allows you do GC (full GC is better if that is an option). You could try unloading the app, then doing the GC option several times, then do a load. Try the GC option about 6 times and the reduce it down to see if 2 work.
    If that doesn't work then there could be some programmatic solutions using the same idiom.

  • Netscape plugin, pathprepend in obj.conf

    Environment - iPlanet 4.1, Weglogic 5.1 sp6 Issue - Is it possible to select the web root directory of iPlanet to be redirected to Weblogic root? Currently, the setting in iPlanet's obj.conf looks like this - Service method="(GET|HEAD|POST|PUT)" type="text/jsp" fn="wl-proxy" WebLogicHost="127.0.0.1" WebLogicPort="7001" PathPrepend="/acx"When executing on Weblogic it's as if the files are in the webroot, while in actuality, they're in webroot/acx. I got around the path issues for images, etc but is it possible to have PathPrepend="/"? This did not work when I tried it.Sam Fowler
              

    I also have the same problem. My problem is when the proxy is transferred to weblogic and even if I have the virtual mapping done on the iPlanet WS, the weblogic is looking for my data under the root of the weblogic server.
              Tony Pham
              Sam Fowler wrote:
              > Environment - iPlanet 4.1, Weglogic 5.1 sp6 Issue - Is it possible to select the web root directory of iPlanet to be redirected to Weblogic root? Currently, the setting in iPlanet's obj.conf looks like this - Service method="(GET|HEAD|POST|PUT)" type="text/jsp" fn="wl-proxy" WebLogicHost="127.0.0.1" WebLogicPort="7001" PathPrepend="/acx"When executing on Weblogic it's as if the files are in the webroot, while in actuality, they're in webroot/acx. I got around the path issues for images, etc but is it possible to have PathPrepend="/"? This did not work when I tried it.Sam Fowler
              

  • Editting the obj.conf of netscape enterprise server 3.6 to map two".so"

    I have netscape enterprise server 3.6 (I know.. but cant go another option now)
    I already have a application running on this server which is accessed by "www.abc.com/Application" (dummy url).
    In the obj.conf file.. it is as below.
    Init fn="load-types" mime-types="mime.types"
    Init fn="load-modules" funcs="fun1,fun2" shlib="/usr2/abc/home/web/slib/AA.so"
    Init fn="fun1" LateInit="yes" ui_url_prefix="Application"
    This works fine....Now I have a BB.so which I want to be accessed by "www.abc.com/Application1" (dummy url).
    When i edit the config file as below. It doesnt seem to work. Can someone please help.
    Init fn="load-types" mime-types="mime.types"
    Init fn="load-modules" funcs="fun1,fun2" shlib="/usr2/abc/home/web/slib/AA.so"
    Init fn="fun1" LateInit="yes" ui_url_prefix="Application"
    Init fn="load-types" mime-types="mime.types"
    Init fn="load-modules" funcs="fun1,fun2" shlib="/usr2/abc/home/web/slib/BB.so"
    Init fn="fun1" LateInit="yes" ui_url_prefix="Application2"
    Both AA.so and BB.so in few functionalites, but otherwise are same. And I want both "www.abc.com/Application1" and "www.abc.com/Application2" to work.
    Im new to this.. please excuse my ignorance.

    First - You really, REALLY should be upgrading to Web Server 6.1 or Web Server 7.0 (or Open Web Server). Really.
    Second - You can have multiple SAFs, but you need to make sure that you code them to avoid conflicts with function names, data structures, etc. Good luck.

  • Reference DOCUMENT_ROOT in obj.conf

    In server.xml <document-root> is specified for each virtual server. How do I reference this value later in obj.conf file?
    Here is the idea. I need a multiple virtual servers to share a common obj.conf file, and I want to easily add new virtual servers with minimal server.xml editing. (This minimal edit would be to add <object-file> line). Then in obj.conf I need to reference the document root for current virtual server. Specifically, I need to check the requested URI for existence like this:
    <If $uri =~ '^/(.*)$' and !(-f"$docroot/$1")>
    So how do I place <document-root> from server.xml into that $docroot variable? Would be great if this variable was predefined, but it is not.

    Thank you for your help, I use SJSWS update 4, but I sure will upgrade.
    As for configuration, I need to do the opposite thing. Once again.
    I don't want all virtual servers to use the same document root. I want each one to have it's own document root. To make the creation of new virtual servers as quick as possible I need it to happen like this:
    1. I add a virtual server with Admin Console (web interface). I specify document root with this interface.
    2. I force it to use my-obj.conf by editing server.xml manually and adding <object-file> directive.
    3. Deploy the configuration.
    That is all. No other configuration steps should be performed.
    Now the problem follows. my-obj.conf needs to know the document root of whatever virtual server it is invoked this time, and document root needs to be stored in some variable so something (file system path, exactly) could be tested against it. Recall the line:
    <If $uri =~ '^/(.*)$' and !(-f"$docroot/$1")>
    When the server runs through my-obj.conf, it sure knows the document root since it is set in <document-root> directory which Admin Console creates automatically in server.xml.
    So it would be great if there was a predefined variable $docroot which I could use in my-obj.conf. I can see from the list you provided that there is no such a variable. I know that I could define one by adding <variable> directive to server.xml, but it's redundant, and I want to keep the creation of a virtual server as simple as possible.
    I also tried to refer to $env{'DOCUMENT_ROOT'} in my-obj.conf, somehow it happens to be not defined, while the documentation states that $env includes CGI variables (is it fixed in recent iPlanet?)
    So my last chance: is there a SAF that would put document root into a variable so it can be read?
    The predefined variables really lack for documentation. What members do $env, $reqpb and rq have? Could not find it anywhere.

  • Loading .obj and .mtl in Java, how I can do this?

    Well, I'm having problem with this, I'm doing my Course Conclusion Work related with augmented reality in java (JARToolKit) and I want to import models 3D in the format .obj, but I need to import it's materials too that is in the file .mtl. Anyone that already use this or do this if can help me I will be grateful, I need this and I trying everything, any help will be very good to me.
    Thanks,
    Jairo.

    Hi,
    the Java 3D API includes a utility for loading '.obj/.mtl'-files: com.sun.j3d.loaders.objectfile.ObjectFile.
    August

Maybe you are looking for

  • How to add a custom column in a table?

    Hi, I have a requirement to add a custom field into the table of view InrLastHist of component ICCMP_BT_IRHIST. The data to be display in the column will be based on the standard category column. I was thinking of adding a value attribute into the cu

  • Upgrade from win 7 to win 8.1 issue

    I updated my win from 7 to 8.1 my WiFi adapter is not able to identify network. prior to upgrade when i was in win 7 it was working. Can some guide with troubleshooting steps that i can do. I did uninstall the network adapter couple of times but no l

  • How can I get Illustrator to install?

    I have installed and reinstalled the Adobe Creative Suite multiple times, yet I keep getting a message that reads 'localized resource files for this application could not be loaded' for illustrator. How do I resolve this issue?

  • Resultset returning too many rows when using Group by

    Hello My problem is this I run the following query which uses a Group By sQury = "SELECT Distinct Searches.categoryId ,count(Searches.categoryId) AS NUMBER_OF_APPEARANCE" + " FROM Searches " + " GROUP BY Searches.categoryId "; When I run this query i

  • How do I set up wireless printing of my Officejet Pro 8500 on a laptop with Windows 8?

    How do I set up wireless printing from my all in one Officejet Pro 8500 printer to my laptop with Windows 8?