Sun ONE Web Server & Remote User field

Hi,
I look for a tip to my Sun ONE Web Server 6.1 SP2 configuration.
I have:
- OS: Sun Solaris 8
- Apache 1.3 (listen port :80)
- Sun ONE Web Server 6.1 SP2 (listen port :81)
- Weblogic 8.1 SP4 (listen port :8001)
The 3 applications are in the same server.
My first configuration works:
- Apache works with basic authentification by password file (generate with htpasswd) and communicates with Weblogic
- Weblogic listens http requests and work with the remote user id (use method HttpServletRequest.getRemoteUser())
My second configuration doesn't work:
- Apache works with basic authentification by password file (generate with htpasswd) + reverse proxy mode (use VirtuaHost) and communicates with Sun ONE Web Server
- Sun ONE Web Server works with no authentification mode and communicates with Weblogic
- Weblogic listens http requests and works with the remote user id (use method HttpServletRequest.getRemoteUser())
The HttpServletRequest.getRemoteUser() returns null in my second configuration.
How I can configure my Sun ONE Web Server to foward the remote user id ?
Thank you.
Christophe.

Can you send your obj.conf?
I do not have a 6.1 Web Server installed, by guess work try
NameTrans fn="redirect" from="/index.html" url="/"
Also remove find-index or any such SAFs if you have in your obj.conf
PathCheck fn="find-index" index-names="index.html,home.html,index.jsp"Why do you need this?

Similar Messages

  • Enabling end - user access in Sun One Web Server 6.1 SP2

    Hi,
    I am new to Sun One Web Server 6.1 SP2 and I can't figure how to enable the end user access so that the end users can change their password.
    On iPlanet 6.0 SP2, in the Distributed Admin page, I could enable Distrubuted Administration as well as end user access on the webserver. The end users could then change their own password. I can't find a similar feature in Sun One Web server 6.1 SP2.
    Could anyone out there tell me how to get this done?
    Thanks in advance!

    Hi,
    I just found from release notes that End user administration feature (which was under Distributed Administration ) is no longer supported in Sun One Web Server 6.1. [Problem ID 4865295 in release notes]
    Could anyone provide a workaround to get over this and allow the end users to change their passwords?
    Many thanks in advance,
    auporna.

  • Connecting to Oracle 9i with Sun One Web Server 6.1 SP4

    I have an application that connects to an Oracle 9i database. When I run iPlanet 4.1, I am able to login to the application and run it. Since I have migrated to Sun One Web Server 6.1 SP4, I have not been able to login. Through some built in error logging, I have been able to determine that my user validation routine is receiving a Null pointer when it trys to connect to the database. I have also determined that my login servlet is executing properly. When I receive the Null pointer error, I am redirected to a failed login page, which is what is supposed to happen in such a case. I believe that I do not have the web server configured properly to connect to the database and I am not sure how to do it! Below is an excerpt from my code where the database connection occurs and the exception is detected. Any help would be appreciated!
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
              oracleConnect = DriverManager.getConnection("jdbc:oracle:thin:@" + chost + ":" + cport + ":" + csid ,u,p);
         enable = true;
    oracleConnect.close();
    }catch(java.sql.SQLException e){processError.logError("validateUser Invalue user" + e.getMessage()); enable = false;}
    catch(java.io.FileNotFoundException e){processError.logError("validate User error" + e.getMessage());}
    catch(java.io.IOException e){processError.logError("evalidateUser rror File Error " + e.getMessage());}
    catch(java.lang.NullPointerException e){processError.logError("validateUser error Null Pointer " + e.getMessage());}

    You are not using the server's built in JDBC Connection pooling, so there is no special WebServer configuration needed to connect to a database.
    If in the other hand, you want to use the built in connection pooling, then refer to this page to see how to create a connection pool
    http://docs.sun.com/source/817-1831-10/agjava.html#wp1085593
    Samples on how to configure and use JDBC connection pooling can be found in the sample apps
    http://docs.sun.com/source/817-1833-10/pwawap.html#wp40108

  • How to deploy .war on Sun ONE Web Server 6.0?

    Hi Everyone
    I have been trying unsuccessfully to deploy a .war application using Sun One Web Server 6.0.
    I only installed Sun ONE for the first time this morning and don't know much about web servers - yet.
    I deployed the web application from the web-based admin console. I'm not sure exactly what to put in the URI field. I just deployed it on the only existing "virtual server". I don't really know anything about virtual servers.
    Also: I installed with the defaults, what port should I try to access my app from?
    The documentation doesn't help much - so please don't give me a URL to some docs i won't understand.
    I miss the autodeploy offered by other tools. I have deployed this app before on other servers.
    thanks in advance

    The URI is the "virtual path" at which the web application is accessible. For example, if you deploy a web application at the URI /foo, you would access the web application by requesting http://server.example.com:port/foo/.
    Unfortunately, I can't tell you what port your Web Server instance is listening on as that's configured at install time. If you don't remember the port you selected, check the server.xml configuration file. The port is recorded in that file.

  • Sun One web server 6.0 Authentication

    Does anyone know if it is possible to use form based authentication under Sun One Web Server 6.0, that checks the user authentication on a proprietary API. I need to use a JAVA library to authenticate users and i would like to use it under the form based authentication method inside the web server. Is it possible to write a plug-in for web server authentication mechanism?
    Thank you

    I have almost identical problem (topic �iPlanet 6.0 stops responding�). Since than I made some serious testing and found out that NSAPI does not produce problem. There are two types of delays: the shortest last from 10 to 20 seconds and usually there is �Error accepting connection (The semaphore timeout period has expired.� message in error log. The longest sometimes last more than 10 minutes.
    This is short cut from my response time log (in miliseconds):
    10:30:18 Response:    15
    10:30:28 Response:    32
    10:30:38 Response:    47
    10:30:48 Response:    31
    10:31:06 Response:  8265
    10:31:17 Response:   188
    10:31:27 Response:    31
    10:31:37 Response:    16
    10:31:47 Response:    16
    10:31:57 Response:    31
    10:32:07 Response:    32
    10:32:17 Response:    31
    10:32:37 Response: 10578
    10:32:47 Response:    31
    10:32:57 Response:    31
    10:33:07 Response:    32
    10:33:17 Response:    47
    10:33:27 Response:    31
    10:33:38 Response:   266
    10:33:48 Response:    62
    10:33:58 Response:    31
    10:34:08 Response:    47
    10:34:18 Response:    47
    10:34:28 Response:    31
    10:34:49 Response: 11047
    10:34:59 Response:    31
    10:35:10 Response:    93
    10:35:20 Response:    32
    10:35:30 Response:    46
    10:35:40 Response:    32
    10:35:50 Response:    47
    10:36:00 Response:    46
    10:36:10 Response:    32
    10:36:20 Response:    62
    10:36:30 Response:    47
    10:36:40 Response:    31
    10:36:50 Response:   391
    10:37:01 Response:   297and Connection statistics from Admin web at delay
    Total Number Of Connections:  31644 
    Maximum Number Of Queued Connections: 4096 
    Peak Number Of Queued Connections: 285 
    Current Number Of Queued Connections: 285 
    Number Of Processes:  1 Configuration is Sun One Web Server 6.0.6, Win2K Advanced Server with SP4, Single Processor Machine (Compaq DL360).

  • How do I configure a Sun One Web Server 6.1 to run JSP pages

    I have a Sun One Web server version 6.1 running on Solaris 10.
    The web server is not configured to run JSP pages. When I try and run a JSP page, I get an HTTP 405 error.
    Can somebody please point me to the configuration directions, including changes to the obj.conf, magnus,.conf, etc.
    Thanks

    Web Container is enabled by default.
    Here are my config files
    $tail -1 magnus.conf
    Init fn="load-modules" shlib="/export2/ws6.1sp11/bin/https/lib/libj2eeplugin.so" shlib_flags="(global|now)"$cat obj.conf
    # 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="pfx2dir" from="/mc-icons" dir="/export2/ws6.1sp11/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>JAVA settings in server.xml:
    <JAVA classpathsuffix="" debug="false" debugoptions="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n" dynamicreloadinterval="-1" envclasspathignored="true" javahome="/export2/ws6.1sp11/bin/https/jdk" nativelibrarypathprefix="" serverclasspath="/export2/ws6.1sp11/bin/https/jar/webserv-rt.jar:${java.home}/lib/tools.jar:/export2/ws6.1sp11/bin/https/jar/webserv-ext.jar:/export2/ws6.1sp11/bin/https/jar/webserv-jstl.jar:/export2/ws6.1sp11/bin/https/jar/ktsearch.jar">
            <JVMOPTIONS>-Djava.security.manager</JVMOPTIONS>
            <JVMOPTIONS>-Djava.security.policy=/export2/ws6.1sp11/https-alamanac.india.sun.com/config/server.policy</JVMOPTIONS>
        <JVMOPTIONS>-Djava.security.auth.login.config=/export2/ws6.1sp11/https-alamanac.india.sun.com/config/login.conf</JVMOPTIONS>
        <JVMOPTIONS>-Djava.util.logging.manager=com.iplanet.ias.server.logging.ServerLogManager</JVMOPTIONS>
        <JVMOPTIONS>-Xmx256m</JVMOPTIONS>
        <SECURITY anonymousrole="ANYONE" audit="false" defaultrealm="native">
          <AUTHREALM classname="com.iplanet.ias.security.auth.realm.file.FileRealm" name="file">
            <PROPERTY name="file" value="/export2/ws6.1sp11/https-alamanac.india.sun.com/config/keyfile"/>
            <PROPERTY name="jaas-context" value="fileRealm"/>
          </AUTHREALM>
          <AUTHREALM classname="com.iplanet.ias.security.auth.realm.webcore.NativeRealm" name="native">
            <PROPERTY name="jaas-context" value="nativeRealm"/>
          </AUTHREALM>
          <AUTHREALM classname="com.iplanet.ias.security.auth.realm.ldap.LDAPRealm" name="ldap">
            <PROPERTY name="directory" value="ldap://localhost:389"/>
            <PROPERTY name="base-dn" value="o=isp"/>
            <PROPERTY name="jaas-context" value="ldapRealm"/>
          </AUTHREALM>
                <AUTHREALM name="solaris" classname="com.iplanet.ias.security.auth.realm.solaris.SolarisRealm">
                  <PROPERTY name="jaas-context" value="solarisRealm"/>
                </AUTHREALM>
        </SECURITY>
        <RESOURCES>
            </RESOURCES>
      </JAVA>

  • Cannot initialize CGI exec subsystem - Sun ONE Web Server 6.1

    Hello,
    I have a problem connecting to a running admin server on Solaris 9. Startup is as follows:
    (error log)
    [12/Mar/2004:11:06:43] info ( 2579): CORE1116: Sun ONE Web Server 6.1 B08/22/2003 12:37
    [12/Mar/2004:11:06:43] info ( 2580): CORE3016: daemon is running as super-user
    [12/Mar/2004:11:06:47] info ( 2580): CORE5076: Using [Java HotSpot(TM) Server VM, Version 1.4.1_03] from
    [Sun Microsystems Inc.]
    [12/Mar/2004:11:06:49] info ( 2580): WEB0100: Loading web module in virtual server [vs-admin] at [/admin-
    app]
    [12/Mar/2004:11:06:56] info ( 2580): HTTP3072: [LS ls1] http://lab1:84 ready to accept requests
    [12/Mar/2004:11:06:56] info ( 2580): CORE3274: successful server startup
    Then, when I try to connect to it with the browser it results with an error:
    [12/Mar/2004:11:09:31] failure ( 2580): cgi_init reports: HTTP4047: could not initialize CGI subsystem (Cgistub path ../../bin/https/bin/Cgistub), err fork() failure [Not enough space]
    [12/Mar/2004:11:09:31] failure ( 2580): for host 10.101.12.146 trying to GET /https-admserv/bin/index, cgi_start_exec reports: HTTP4066: cannot initialize CGI exec subsystem
    What is the meaning of '...not enough space' ?
    The port itself is still listening:
    *.84 *.* 0 0 49152 0 LISTEN
    I must add that the server itself has been already successfully installed, ealier tests with the admserv were fine. But all of a sudden I can't get rid of this error, I made no changes except several reboots.
    Regards Nick

    Hello trejo.cj,
    space in /tmp seems not to be the problem:
    ! root@lab1:/tmp# df -k
    Filesystem            kbytes    used   avail capacity  Mounted on
    /dev/dsk/c0t0d0s0     479872   99067  332818    23%    /
    /dev/dsk/c0t0d0s6    4031059  986895 3003854    25%    /usr
    /proc                      0       0       0     0%    /proc
    mnttab                     0       0       0     0%    /etc/mnttab
    fd                         0       0       0     0%    /dev/fd
    /dev/dsk/c0t0d0s4    1984564 1250344  674684    65%    /var
    swap                   43168      16   43152     1%    /var/run
    swap                   59064   15912   43152    27%    /tmp
    /dev/dsk/c0t0d0s5    8063580 4078907 3904038    52%    /opt
    /dev/dsk/c0t0d0s7    15119586 3999501 10968890    27%    /export/home
    ls -la /tmp
    prw-r-----   1 cics     cics           0 Mar 16 12:00 .LAB1REG.fifo
    drwxrwxr-x   2 root     root         104 Mar 16 11:28 .X11-pipe
    drwxrwxr-x   2 root     root         104 Mar 16 11:28 .X11-unix
    drwx--x--x   2 cics     cics         106 Mar 16 12:10 EFC1385
    drwx--x--x   2 Slab1    cics         106 Mar 16 12:00 EFS945
    drwx------   2 netlife  netlife      264 Mar 16 11:56 https-admintool-9d93b4d6
    drwx------   2 root     other        207 Mar 16 11:54 https-admserv-9d93b4d6
    drwx------   2 netlife  netlife      162 Mar 16 11:54 https-btv-9d93b4d6
    -r--r--r--   1 root     root           0 Mar 16 11:28 llbdbase.dat
    -rw-r--r--   1 root     other          0 Mar 16 11:52 lock.https-admintool.84
    -rw-r--r--   1 root     other          0 Mar 16 11:52 lock.https-admserv.84
    -rw-r--r--   1 root     other          0 Mar 16 11:52 lock.https-btv.84
    ! root@lab1:/tmp# cd https-admintool-9d93b4d6
    ! root@lab1:/tmp/https-admintool-9d93b4d6# ls -la
    srwxrwxrwx   1 netlife  netlife        0 Mar 16 11:56 .cgistub_676
    srwxrwxrwx   1 root     other          0 Mar 16 11:54 iwsadmin.675
    -rw-r--r--   1 root     other     720896 Mar 16 12:05 iwsstats.https-admintool
    srwxr-xr-x   1 root     other          0 Mar 16 11:54 iwswatchdog.674
    The file iwsstats.https-admintool is a binary. Are there any hints inside why the server gives this error? If yes, can it be displayed?
    I my case I have installed a virtual server named admintool, this is owned by user netlife.
    Now I changed in the Server Manager in the CGI settings > Listen Sockets the info about CGI user and CGI group according to the netlife user.
    Right now it works, so I will watch out for further occurences.
    Nick

  • Unable to start Sun One Web Server 6.1 SP5 64bits on Solaris 10

    Hello,
    I installed the Sun One Web Server 6.1 SP5 64bits successfully on a Solaris 10 machine, but was unable to started up the web server application:
    The error message is below,
    # pwd
    /app/SUNWwbsvr61sp5/https-admserv
    # ls
    ClassCache config restart SessionData stop
    conf_bk logs rotate start webapps
    # ./start
    Sun ONE Web Server 6.1SP5 (64-Bit) B12/02/2005 04:37
    failure: CORE3170: Configuration initialization failed: Error running init function load-modules: dlopen of /app/SUNWwbsvr61sp5/bin/https/lib/libj2eeplugin.so failed (ld.so.1: webservd: fatal: libjvm.so: open failed: No such file or directory)
    I have searched the forum and found some what similar case but it was for SP4.
    Please if anyone had experienced with this please advise how to resolve this issue.
    I greatly appreciated,
    Thank you
    Edited by: n2sun on Jun 12, 2008 10:15 AM

    just check the env file for the user who is starting or running that.
    say if it is cshell, you can see the following variables in the .cshrc which will be under the user's home directory
    setenv JAVAHOME  WS_Root/jdk
    setenv LD_LIBRARY_PATH  WS_Root/lib: /libnow source that file
    source .cshrcthen start the webserver.

  • Sun ONE Web Server 6.1SP5

    Hi,
    I had a absolutely working copy of sam (inherited) and for some reason today it was not authenticating (prompting for incorrect password although I was using correct uid/pwd on browser console), so I restarted the server and now I cant even go to the browser console page...
    looking at the start logs following error spits off during start time:
    =======================================
    ++ ./webservd-wdog -r /opt/SUNWwbsvr -d /opt/SUNWwbsvr/https-dev.companyname/config -n https-dev.companyname
    Sun ONE Web Server 6.1SP5 B06/23/2005 17:36
    info: CORE3016: daemon is running as super-user
    info: CORE5076: Using [Java HotSpot(TM) Server VM, Version 1.5.0_04] from [Sun Microsystems Inc.]
    info: WEB0100: Loading web module in virtual server [https-dev.companyname] at [amserver]
    warning: WEB6100: locale-charset-info is deprecated, please use parameter-encoding
    info: WEB0100: Loading web module in virtual server [https-dev.companyname] at [ampassword]
    warning: WEB6100: locale-charset-info is deprecated, please use parameter-encoding
    info: WEB0100: Loading web module in virtual server [https-dev.companyname] at [amcommon]
    info: WEB0100: Loading web module in virtual server [https-dev.companyname] at [amconsole]
    warning: WEB6100: locale-charset-info is deprecated, please use parameter-encoding
    info: WEB0100: Loading web module in virtual server [https-dev.companyname] at [search]
    failure: WebModule[amserver]: WEB2783: Servlet /amserver threw load() exception
    javax.servlet.ServletException: WEB2778: Servlet.init() for servlet LoginLogoutMapping threw exception
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:949)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3478)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3760)
    at com.iplanet.ias.web.WebModule.start(WebModule.java:251)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:652)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355)
    at org.apache.catalina.startup.Embedded.start(Embedded.java:995)
    at com.iplanet.ias.web.WebContainer.start(WebContainer.java:431)
    at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:500)
    at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161)
    ----- Root Cause -----
    java.lang.NullPointerException
    at com.sun.identity.authentication.UI.LoginLogoutMapping.init(LoginLogoutMapping.java:71)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:921)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3478)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3760)
    at com.iplanet.ias.web.WebModule.start(WebModule.java:251)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:652)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355)
    at org.apache.catalina.startup.Embedded.start(Embedded.java:995)
    at com.iplanet.ias.web.WebContainer.start(WebContainer.java:431)
    at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:500)
    at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161)
    info: HTTP3072: [LS ls1] http://dev.companyname:80 ready to accept requests
    startup: server started successfully
    ++ test 0 -ne 0
    ++ exit 0
    =======================================
    Thanks
    Sat

    Ooops! it's an initialization error. There are many possible causes given the log you posted. It could be convenient if you enable message debugging so you can have a better idea of what's happening.
    Some common reasons for such error:
    - The dsameuser/puser password changed
    - A configuration file is damaged
    - Operative System permissions changed for configuration files/directories
    - a File system corruption
    - Something weird happened to your DS instance
    I'm supposing you are ABSOLUTELY sure nobody configured wrongly the product.
    Regards

  • Sun ONE Web Server 6.1 and Beans

    Hello,
    I am learning JSP and I have a new install of Sun ONE Web Server Enterprise Edition 6.1. I have a some java code (a class) I would like to use in my JSP page via <jsp:useBean...>.
    Where do I put my .java (or compiled .class) file?
    For example: UserData.class
    Thanks,
    Michael

    Thanks for the reply.
    Under my <appdir> I created a WEB-INF and classes directries. I copied my .class file to it but still get the message in the Sun One 6.1 error log:
    C:\Sun\WebServer6.1\https-titan\ClassCache\https-titan\default-webapp\_jsps\_apps\_bean1\_SaveName_jsp.java:66: package user does not exist
         user = (user.UserData) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "user.UserData");
         ^
    I am so new - what else can you recommend?
    Thanks again,
    Michael

  • Config sun one web server???

    Hi all,
    I have just install Sun One Web server 6.1, Sun One Directory 5.2 and Sun One Instant Messaging 6.1 together on Win2K advance server. And I have successful launch Sun� ONE Instant Messenger.
    But I can not know, how to create LDAP user ID and password to Login to Sun ONE Instant Messenger???
    are there something I must config on Sun One Web server 6.1???
    Could anyone help me to solve this problem?
    I'm looking forward to receive your reply soon.
    Thanks

    Well I came across this exact error today while doing some backwards compatibility testing for the load balancer plugin.
    Turns out it was my own fault, as I was trying to use the wrong version of the lbplugin (libpassthrough.so) for
    the Web Server version I was using. I was using the ES6.0 version on ES6.1 and I got that exact "referenced symbol not found" message in the webserver Errors log.
    Once I used the correct lbplugin library for sjws6.1, everything started perfect.
    So double check the version of the lbplugin you are using is made for the correct version of the web server you are running. It's easy to mess up since all of the libraries are the same name [libpassthrough.so]

  • Help for Installing PHP and Sun One Web Server

    Hi
    I tried to install PHP 5.1.4 and Sun One Web Server 6.1. I am not able to complete this and got stuck. All the available materials in net seems to flow above my head.
    It will be very helpful if someone could let me know the step by step configuration a bit brief for the same.
    Thanks in advance
    Kathirvel Balakrishnan

    Hi Craig
    I am following these steps,
    1st step : Installing PHP on the WindowsNT server (NT users only)
    Copy the php files on your server
    Get the php zip file
    Copy the php files under a directory (for example : d:php4)
    (be careful don't use c:Program Filesphp because of the space between Program and Files
    copy php4ts.dll to c:winnt and msvcrt.dll if you don't already have it on your system
    Edit php.ini-dist
    rename php.ini-dist to php.ini
    Edit php.ini : Indicate in which directory you have copied youre php files. (extension_dir = d:php4extensions ; directory in which the loadable extensions (modules) reside.)
    copy php.ini in winnt directory (php.ini is parsed in my config)
    Matthias Kramer told me that he had to move php.ini to <path-to-netscape-server>/https-servername/config for it to be parsed
    Make a file association under Windows NT
    In a DOS Window, type assoc .php=PHPScript
    ftype PHPScript=d:php4php.exe %1 %*
    Test the 1st step
    Create a C:test.php file with a single line like <? echo("Nothing to write"); ?>
    Create a C:test.bat file with 2 lines test.php
    pause
    double-clic on test.bat
    If you see something like X-Powered-By: PHP/4.0.3
    Content-type: text/html
    Nothing to write
    then the NT association works!!
    2nd step : Configuring Netscape Enterprise Server or iPlanet for PHP4 with nsapi (NT & UNIX)
    Unix users only
    Compile PHP as follows: ./configure --with-nsapi=/usr/local/netscape/server4 --enable-libgcc
    make
    make install
    Add LD_LIBRARY_PATH=<libdir> to your Netscape server startup script
    where <libdir> is the full path to the directory where libstdc++.so.2.10.0 is located (usually /usr/local/lib)
    Add a mime-type to the Netscape Server
    In the Netscape Administration console chose Preferences|Mime Types
    Add a new type called magnus-internal/x-httpd-php for exts=php
    Click here for screenshot
    Stop your Web Server
    Make a copy of obj.conf located in: <path-to-netscape-server>/https-servername/config
    Modify obj.conf
    There are several section in obj.conf
    At the end of the Init section of obj.conf (necessarely after mime type init),
    place this two lines For NT users
    Init fn="load-modules" funcs="php4_init,php4_close,php4_execute,php4_auth_trans" shlib="d:/php4/sapi/php4nsapi.dll"
    Init fn="php4_init" errorString="Failed to initialise PHP!"
    For Unix users
    Init fn="load-modules" funcs="php4_init,php4_close,php4_execute,php4_auth_trans" shlib="/usr/local/netscape/server4/bin/libphp4.so"
    Init fn="php4_init" errorString="Failed to initialise PHP!"
    In The < Object name="default" > section,
    place this line (necessarely after all 'ObjectType' and before all 'AddLog' lines) Service fn="php4_execute" type="magnus-internal/x-httpd-php"
    Add a new object called x-httpd-php <Object name="x-httpd-php">
    ObjectType fn="force-type" type="magnus-internal/x-httpd-php"
    Service fn=php4_execute
    </Object>
    Restart your Web Server
    Test the 2nd step
    Put the test.php file in the document root of your server
    Then type http://server/test.php
    If you can see "nothing to write" in your browser then it works!
    AS mentioned in step 1,
    I am not getting the PHP message.
    I am installing it in my laptop, it has no IP, is that has to do something with this.
    Please guide me from here.
    Thanks in advance
    Kathirvel

  • Error while running Application on Sun One Web Server 6.1

    Can some one please explain me how can I run application on sun one web server 6.1 ?
    It is deployed .war file successfully. It only loads default.jsp and then fives following error:
    1) Package netscape.ldap not found in import.
    I imported this package to my java file.
    Thanks,

    We need to deploy the application by next week end. any suggestions please

  • Error while running sample app HelloWorld on sun one web server 6.1

    I tried to deploy and run the HelloWorld - sample application on sun one web server 6.1. It's giving me following errrors.
    (1) , root cause: java.lang.NullPointerException
    (2) info ( 924): JSP11 Log:unable to load jsp class: jsps.index_jsp
    what's the solution for that?
    Thanks
    Naimesh

    Can You please explain me how can I deploy .war file of my application on sun one web server 6.1 ?
    It is deployed successfully. It only loads default.jsp and then fives following error:
    1) Package netscape.ldap not found in import.
    I imported this package to my java file.
    Thanks,

  • Error when starting Sun ONE Web Server 6.1SP4 after successful installation

    I have installed Sun ONE Web Server 6.1SP4 on my Solaris computer and I receive the following error when I try to start the Admin server:
    Sun ONE Web Server 6.1SP4 B01/20/2005 17:43
    failure: CORE3170: Configuration initialization failed: Error running init funct
    ion load-modules: dlopen of /opt/SUNWwbsvr/bin/https/lib/libj2eeplugin.so failed
    (ld.so.1: webservd: fatal: relocation error: file /opt/SUNWwbsvr/bin/https/lib/
    libares3.so: symbol __res_state: referenced symbol not found)
    I am running Solaris 8 and I have installed Patch 108993-22 as stated in chapter 2 of the installation and migration guide. I have also installed patches 116602-01, 115827-01, 113648-03, 112396-02, 111317-05, 111310-01, 111111-04, 111023-03, 110386-03, 108987-15, and 108528-24 since they are necessary for patch 108993-22.
    I have been stumped by this error. I have tried several different ways to install this software but I always get the same error. I believe that I have the latest version of the Sun One Web Server and I received no error notifications when I installed it! Any help would be apeciated!
    Thanks!!!!!

    I think this might occur if you don't have the patch for SunAlert 46042 installed. There's more information on this critical Solaris security vulnerability, which was reported back in 2002, at http://sunsolve.central.sun.com/search/document.do?assetkey=1-26-46042-1
    Can you run the following command to check if you have patch 109326-09 installed and let us know the result?showrev -p | grep 109326If you don't have 109326-09 or higher installed, you should install it as soon as possible. You can follow the link from the SunAlert. Better yet, install the latest Solaris 8 recommended patch cluster from http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/patch-access to make sure your system is fully patched and up to date.

Maybe you are looking for

  • GR POsting date as Base line date in MIRO.

    Hi SAP Expert, Using StandardConfiguration, Base line date in MIRO can be populated as Posting date/Invoice document date/ new entry of Invoice Reciept using configuration of Terms of Payment. My client requirement is to populate GR posting date as a

  • When opening a new tab, how to you define what page loads

    I downloaded an application to try to "speed up" my computer. I'm usually prety good about making sure i know whats being downoaded but it downloaded yahoo something or other (toolbar i think) and now when I open a new tab in firefox it goes to yahoo

  • IDvd freezes during 2nd -3rd burn

    When burning DVDs with IDVD the first dvd burns ok but on the 2nd -3rd try the process freezes up. The Dvd is ejected but not completely burned. I have to force quit and start the entire process over- takes hour+ The problem started after upgrading t

  • Maximum number of vlans and HSRPs can be created?

    Hi, would appreciate if anyone can advise what is the maximum number of vlans as well as HSRP can be created? Is it the same for all layer 2 and 3 switches? Thanks Christina

  • I have iPhoto v.8.1.2 which won't open now.

    Can I re-install the iLife'09 I have to fix and if so, will I lose my current photos?