Struts & Sun ONE Web Server Enterprise Edition 6.1

Is there a web page that explains how to install struts and Tiles so that all web pages on the server use the information. I am trying to install on Sun ONE Web Server Enterprise Edition 6.1.
I would like to do a company web site with one location for layouts, images, etc and then all later installed web applications can use this information.

Hi,
Its wise to use Oracle THIN client, unless you will need any OCI specific features.
Oracle OCI driver requires that your client must have a Oracle Client installation to connect using OCI, but the thin driver only requires classes12.jar in the client host to connect.
You can browse thru the Oracle JDBC Developers guide for more info.
http://download-west.oracle.com/docs/cd/B10501_01/java.920/a96654/toc.htm
Elango.

Similar Messages

  • 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

  • Using private key installed on Sun One web server in java code.

    Hi,
    I am digitally signing an XML string. I have been able to successfully do this using the .keystore and the JSSE API.
    I need to run this code in the SUN ONE Web server, hence I have installed a self signed cert in the web server, using the web console.
    I need to load the .keystore that is being maintained by the Sun One Web Server in my Java program as a �KeyStore� object
    Presently I am using the following JSSE calls:
    KeyStore keystore = KeyStore.getInstance(KeyStore.getDefaultType());
    // Load the keystore contents
    FileInputStream in = new FileInputStream(keystoreFile);
    keystore.load(in, keystorePassword);
    in.close();
    Now how do I access the keystore and the certs that I have added in the web server? Is there any SUN API for this?
    Any help will be appreciated!
    Regards,
    Nandan
    Message was edited by:
    NANDAN

    The global zone should offer no services to the network except services required to administer the system. SSH from known IPs. Put everything in zones for the security of the system. Zones have no performance penalty so there is no advantage to running on the host system in the global zone.
    Sun's Java Enterprise server software webserver, directory server, etc required a full zone due to Solaris Package issues or conflicts; writing stuff in /usr; or both. A whole root for this software should not be a big deal. I create zones 9 at a time numbered in sequence. Zone 8 and 9 are whole root zones for requirements such as this.
    I'll leave to others to alert us if the whole root zone requirement changes for Sun's Java Enterprise Server software.
    Message was edited by:
    jgmarce

  • Error message upgrading Sun One Web Server

    We currently use Sun One Web Server SP 4. I have a RSA Cleartrust Agent to install that specifies SP 5. I downloaded SP 7. When I try to install it I receive the following message - "A previous release of the Web Server has been detected in the server root. Please select a different server root." I tried stoppping all the services, then installing, same result. The documentation says to run the install, it would detect the previous version and install. Do I have to uninstall the previous version? I do not want to do that. Thanks in advance.
    Jim

    admin.inf
    [General]
    Name=Administration Services
    Components=admin,admin-client
    Checked=TRUE
    Description=Server Administration Services used by system administrators to manage all iPlanet Servers.
    [admin]
    DefaultAcceptLanguage=en
    Vendor=Sun | Netscape Alliance
    Name=iPlanet Administration Server
    NickName=admin
    Description=Provides services to other server products.
    Dependencies=base/5.1
    Version=5.1
    Revision=
    Compatible=4.0
    Security=domestic
    BuildNumber=2002.158.2342
    Registration=FALSE
    Checked=TRUE
    IsAdmin=TRUE
    UseLDAP=TRUE
    BackupFiles=/admin-serv/config/adm.conf
    Mandatory=FALSE
    #install files for admin
    System32Archive=
    Archive=admin.z
    #plugin dll section
    PlugIn=insadm.dll
    ReadInf=ADM_ReadComponentInf
    PreInstall=ADM_PreInstall
    AskOptions=ADM_AskOptions
    GetSummary=ADM_GetSummary
    WriteGlobalCache=ADM_WriteGlobalCache
    WriteLocalCache=ADM_WriteLocalCache
    ReadGlobalCache=ADM_ReadGlobalCache
    ReadLocalCache=ADM_ReadLocalCache
    PostInstall=ADM_PostInstall
    PostUnInstall=ADM_PostUnInstall
    PreUnInstall=ADM_PreUnInstall
    [admin-client]
    Dependencies=base-client/5.1
    Name=Management Console
    Description=Used by system administrators to manage other server products.
    Version=5.1
    Compatible=4.0
    BuildNumber=2002.158.2342
    IsMCC=TRUE
    Checked=TRUE
    Mandatory=FALSE
    Security=domestic
    #install files admin-client component
    Archive=console.z
    #plugin dll section
    PlugIn=insadm.dll
    PreInstall=CON_PreInstall
    PostInstall=CON_PostInstall
    PostUnInstall=CON_PostUnInstall
    PreUnInstall=CON_PreUnInstall
    WebServer.inf
    [General]
    Name=iPlanet Web Server, Enterprise Edition
    Plugin=WebServer\WebServer.dll
    Description=iPlanet Web Server, Enterprise Edition
    Checked=True
    Components=NESCore,JRE,Java,Search,SNMP,I18N,CleanUp
    [NESCore]
    Vendor=Sun Netscape Alliance
    Name=Server Core
    Description=iPlanet Web Server Core
    Nickname=nescore
    Version=6.0
    BuildNumber=2
    Compatible=4.0
    Dependencies=svrcore/4.2
    DefaultAcceptLanguage=en
    Expires=0
    Registration=FALSE
    Security=domestic
    Checked=TRUE
    Mandatory=TRUE
    IsAdmin=FALSE
    UseLdap=FALSE
    SourcePath=WebServer
    Archive=nescore.zip
    System32Archive=nescore32.zip
    Plugin=WebServer\WebServer.dll
    PreInstall=SvrCore_PreInstall
    AskOptions=SvrCore_AskOptions
    WriteGlobalCache=SvrCore_ReadGlobalCache
    ReadGlobalCache=SvrCore_ReadGlobalCache
    ReadLocalCache=SvrCore_ReadLocalCache
    WriteLocalCache=SvrCore_WriteLocalCache
    GetSummary=SvrCore_GetSummary
    PostInstall=SvrCore_PostInstall
    PostUnInstall=SvrCore_PostUninstall
    [JRE]
    Name=Java Runtime Environment
    Description=Java Runtime Environment
    Nickname=JRE
    Version=1.1
    BuildNumber=2
    Compatible=1.1
    Expires=0
    Registration=FALSE
    Security=domestic
    Checked=TRUE
    Mandatory=True
    SourcePath=WebServer
    Archive=jre.zip
    PlugIn=WebServer\WebServer.dll
    PreInstall=JVM_PreInstall
    AskOptions=JVM_AskOptions
    GetSummary=JVM_GetSummary
    PostInstall=JVM_PostInstall
    [Java]
    Name=Java and Servlets
    Description=iPlanet Web Server Java and Servlets Support
    Nickname=java
    Version=6.0
    BuildNumber=2
    Compatible=4.0
    Expires=0
    Registration=FALSE
    Security=domestic
    Checked=TRUE
    Mandatory=True
    SourcePath=WebServer
    Archive=java.zip
    PlugIn=WebServer\WebServer.dll
    PreInstall=Java_PreInstall
    GetSummary=Java_GetSummary
    WriteLocalCache=Java_WriteLocalCache
    ReadLocalCache=Java_ReadLocalCache
    PostInstall=Java_PostInstall
    [Search]
    Name=Search and Indexing
    Description=iPlanet Web Server Search and Indexing Support
    Nickname=search
    Version=6.0
    BuildNumber=1
    Compatible=4.0
    Expires=0
    Registration=False
    Security=domestic
    Checked=True
    Mandatory=False
    SourcePath=WebServer
    Archive=search.zip,searchdata.zip
    PlugIn=WebServer\WebServer.dll
    PreInstall=WebPub_PreInstall
    WriteLocalCache=WebPub_WriteLocalCache
    PostInstall=WebPub_PostInstall
    [SNMP]
    Name=SNMP
    Description=iPlanet Web Server SNMP Support
    Nickname=snmp
    Version=6.0
    BuildNumber=1
    Compatible=4.0
    Expires=0
    Registration=False
    Security=domestic
    Checked=True
    Mandatory=False
    SourcePath=WebServer
    Archive=snmp.zip
    PlugIn=WebServer\WebServer.dll
    PreInstall=SNMP_PreInstall
    PostInstall=SNMP_PostInstall
    [I18N]
    Nickname=i18n
    Name=I18N Support
    Version=6.0
    Compatible=4.0
    Expires=0
    Checked=True
    Mandatory=True
    Visible=False
    SourcePath=WebServer
    Archive=i18n-core.zip
    UseLDAP=False
    Description=iPlanet Web Server Internationalization Support
    Registration=FALSE
    Plugin=WebServer\WebServer.dll
    PreInstall=I18N_PreInstall
    AskOptions=I18N_AskOptions
    WriteLocalCache=I18N_WriteLocalCache
    GetSummary=I18N_GetSummary
    PostInstall=I18N_PostInstall
    defLang=en,ja
    en=�p��
    ja=���{��
    [CleanUp]
    Name=Upgrade Files
    Description=iPlanet Web Server Upgrade Files
    Nickname=cleanup
    Version=6.0
    Compatible=4.0
    Expires=0
    Registration=False
    Security=domestic
    Checked=True
    Mandatory=True
    Visible=False
    SourcePath=WebServer
    Archive=nescore.zip
    PlugIn=WebServer\WebServer.dll
    PreInstall=Cleanup_PreInstall
    AskOptions=Cleanup_AskOptions
    GetSummary=Cleanup_GetSummary
    WriteLocalCache=Cleanup_WriteLocalCache
    PostInstall=Cleanup_PostInstall

  • JDBC persistence of session data not working on iPlanet Web Server, Enterprise Edition 6.0 SP2

    I am using windows 2000.
    iPlanet Web Server, Enterprise Edition 6.0 SP2
    I tried to do jdbc persistence for sessiondata.
    Somehow it didn't work.
    I edited the JdbcStore code and added some system.outs in it.
    From the logs I could note that
    It is going into
    JdbcStore.init(Properties config)//when the server starts up
    JdbcStore.reap(long currentTime) //when the server is brought down
    But it is not going into
    JdbcStore.save(IWSHttpSession session)
    JdbcStore.remove(IWSHttpSession session)
    JdbcStore.load(IWSHttpSession session)
    I did a "select count(*) from sessions" and it got me
    no of rows=0.
    The logs contained
    [06/Mar/2002:11:25:09] info ( 552): IWSSessionManager: Maximum number of sessions is 1000
    [06/Mar/2002:11:25:10] info ( 552): IWSSessionManager: Maximum number of sessions is 1000
    [06/Mar/2002:11:25:14] info ( 552): JdbcStore: initialized with url=jdbc:odbc:LocalServer, driver=sun.jdbc.odbc.JdbcOdbcDriver
    So I should think it was working.
    The pages that are using HttpSession are working ok but should I not get some rows in my table "sessions" when I query?
    This is the webapps.xml I used.
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!-- iWS 6.0 specific web application configuration. -->
    <!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>
    <!-- Define global configuration -->
    <!-- Configure a session manager and tracking configuration -->
    <session-manager
    class='com.iplanet.server.http.session.IWSSessionManager' >
    <init-param>
    <param-name>maxSessions</param-name>
    <param-value>1000</param-value>
    </init-param>
    <init-param>
    <param-name>timeOut</param-name>
    <param-value>1800</param-value>
    </init-param>
    <init-param>
    <param-name>session-failover-enabled</param-name>
    <param-value>true</param-value>
    </init-param>
    <init-param>
    <param-name>reapInterval</param-name>
    <param-value>600</param-value>
    </init-param>
    <init-param>
    <param-name>session-data-store</param-name>
    <param-value>com.iplanet.server.http.session.JdbcStore</param-value>
    </init-param>
    <init-param>
    <param-name>url</param-name>
    <param-value>jdbc:odbc:LocalServer</param-value>
    </init-param>
    <init-param>
    <param-name>provider</param-name>
    <param-value>sun.jdbc.odbc.JdbcOdbcDriver</param-value>
    </init-param>
    <init-param>
    <param-name>username</param-name>
    <param-value>sa</param-value>
    </init-param>
    <init-param>
    <param-name>password</param-name>
    <param-value>sa</param-value>
    </init-param>
    <init-param>
    <param-name>lookupPool</param-name>
    <param-value>4</param-value>
    </init-param>
    <init-param>
    <param-name>insertPool</param-name>
    <param-value>4</param-value>
    </init-param>
    <init-param>
    <param-name>updatePool</param-name>
    <param-value>4</param-value>
    </init-param>
    <init-param>
    <param-name>deletePool</param-name>
    <param-value>4</param-value>
    </init-param>
    <!--
    <init-param>
    <param-name>session-failover-enabled</param-name>
    <param-value>false</param-value>
    </init-param>
    -->
    </session-manager>
    <session-tracking use-cookies="true" />
    <!-- Define the web applications for this virtual server-->
    <!-- catalog application -->
    <web-app uri="/Web" dir="E:/iPlanet/Servers/docs" enable="true" >
    <!-- Specify a tempory directory. A path returned in the "javax.servlet.context.tempdir" property; defaults to WEB-INF/tmp. -->
    <!--
    <tempdir dir='/var/catalog/tmp'/>
    -->
    <!-- reload classes at every 5 minutes; also include mycatlog.jar file in the classpath -->
    <!--
    <class-loader reload-interval='300' classpath='/home/work/mycatalog.jar' />
    -->
    </web-app>
    </vs>

    I'm trying to do the same thing with a file store, also somewhat unsuccessfully. However, one thing I can point out is that the manual says that the <session-manager> element should be within the <web-app> element in web-apps.xml. In your example, it is outside of it.

  • Need IPlanet Web Server, Enterprise edition v4.1 for WinNT

    Does anybody have a copy of the IPlanet Web Server, Enterprise edition v4.1 for WinNT? I need it to build a developement environment for the company I'm consulting for.

    Try this link http://www.sun.com/download/products.xml?id=4000473e
    It's called Sun ONE Web Server 4.1

  • 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

  • Sslext NOt working Sun ONE Web Server 6.0?

    Hi,
    I have implemented the sslext tag for dynamic switching of http to https.
    I am using ATG Dynamo Server ONLY in the Development Env. (using the default Web Server of ATG) for testing this and sslext tag works fine using the Plug-In of struts which is in sslext.jar.
    but in producation the ATG Dynamo Server 6.0 is configured with Sun ONE Web Server 6.0, as forwarding request throught the Web Server to the App Server.
    But here sslext stop working?? any guss why?
    Sun ONE Server 6.0 is configured with ATG Dynamo Server 6.0 as Connection Module.
    There are three ways a Connection Module can handle requests for files whose MIME type is text/html.
    1)You can choose to have the files served by the Sun ONE Web Server,
    2)by the Dynamo server,
    3)or by the Sun ONE Web Server (but also send requests to Dynamo for logging).
    we select the 3rd option.
    any Guess why this is happening???
    regards
    DJ

    Since removing the log settings from magnus.conf failed to fix the problem, the log settings are probably not the source of the problem.
    Did anything else - e.g. ColdFusion configuration changes - occur at about the same time you changed the log settings?

  • Problem with maxprocs 1 on Sun One Web server 6.1

    I am using sun one web server on Unix with maxprocs set to 3.
    This means that there are 3 jvms running my application under 1 instance. However I have certain components like an application cache that I would like to share between these 3 processes.
    Additionally is there a way to configure the server so that requests from 1 session are served by 1 process only.
    I am really stuck here. Have searched in all the documentation, but in vain. Would really help if some one of the Sun Developers could answer this.
    Thanks
    Chetan

    Elving,
    It is great to hear that there is no predefined limit on number of sessions but if that's the case why the webserver always starts with 1000 allowed by default. Are there any potential performance reasons behind it?
    I have your link open in my browser for a few days now as a reference because I am experimenting with different Session Managers. I am trying to find a solution for BheegaChicken to be able to accomodate several thousand simultaneous sessions for his application.
    We use V6.0SP2 and SP6 and for BheegaChicken's app specifically V6.1SP2...
    I have spent some time in the past looking for the answers how to handle higher then 1000 sessions capacity on one instance and that was even before V6.1 was out. I have found the following reco that talks about optimal performance for sites using threads:
    http://docs.sun.com/source/816-5690-10/perf6.htm#17580
    *** start qoute
    Multi-Process Mode
    You can configure the server to handle requests using multiple processes with multiple threads in each process. This flexibility provides optimal performance for sites using threads, and also provides backward compatibility to sites running legacy applications that are not ready to run in a threaded environment. Because applications on Windows NT generally already take advantage of multi-thread considerations, this feature applies to Unix/Linux platforms.
    The advantage of multiple processes is that legacy applications that are not thread-aware or thread safe can be run more effectively in iPlanet Web Server. However, because all the Netscape/iPlanet extensions are built to support a single-process threaded environment, they may not run in the multi-process mode, and the Search plug-ins will fail on startup if the server is in multi-process mode.
    In the multi-process mode, the server spawns multiple server processes at startup. Each process contains one or more threads (depending on the configuration) which receive incoming requests. Since each process is completely independent, each one has its own copies of global variables, caches, and other resources. Using multiple processes requires more resources from your system. Also, if you try to install an application which requires shared state, it has to synchronize that state across multiple processes. NSAPI provides no helper functions for implementing cross-process synchronization.
    If you are not running any NSAPI in your server, you should use the default settings: one process and many threads. If you are running an application which is not scalable in a threaded environment, you should use a few processes and many threads, for example, 4 or 8 processes and 128 or 512 threads per process.
    MaxProcs (Unix/Linux)
    Use this directive to set your Unix/Linux server in multi-process mode, which may allow for higher scalability on multi-processor machines. If you set the value to less than 1, it will be ignored and the default value of 1 will be used.
    Tuning
    You can set the value for MaxProcs by:
    Editing the MaxProcs parameter in magnus.conf
    Setting or changing the MaxProcs value in the Magnus Editor of the Server Manager
    Note      You will receive duplicate startup messages when running your server in MaxProcs mode.
    *** end quote
    If it is not relevant anymore please explane.
    I am still interested to understand which of the SessionManagers is recommended by Sun to have optimal performance for sites with high number of sessions and using threads. It is not really obvious from http://docs.sun.com/source/817-6251/pwasessn.html. On top of this that's documented just for V6.1. What about V6.0?
    Thank you very much for your cooperation!
    Sasha aka ttalex

  • Sun One Web Server 6.0 Service Pack 5

    I installed Windows 2000 SP3, Coldfusion MX Updater 1, and Sun One Web Server 6.0 Service Pack 5. In 2 separate instances I had the Sun One Web Server Stop serving all html pages immediately after I set automatic access log rotation in the web server administrator. I had the access log rotate every 1440 minutes at 12:00 AM. Although the web server instance appeared to be started, no html pages could be served. In addition, I was not able to undo the changes through the web server administrator. I finally tried to edit the magnus.conf file to remove the new log settings. However, nothing could bring back the web server into a working state. Web Server restarts and entire server reboots did not resolve this issue. I was wondering if anybody else has seen this issue and if so, how did you resolve it? I was forced to completely uninstall the web server and reinstall it. This makes me hesitant to put Sun One Web Server 6.0 SP5 into production. Any other thoughts or experiences with SP5 in a Windows/ColdfusionMX environment? Thanks for any help?

    Since removing the log settings from magnus.conf failed to fix the problem, the log settings are probably not the source of the problem.
    Did anything else - e.g. ColdFusion configuration changes - occur at about the same time you changed the log settings?

  • 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>

  • How to enable fastcgi on sun one web server 6.1 SP6

    Hi, all
    I fail to install fastcgi on sun one web server 6.1 SP6. When i access php page, the following errors are displayed in error log.
    [18/Oct/2006:14:08:45] failure (21781): for host x.x.x.x trying to GET /chkwww.php, responder-fastcgi reports: FCGI1062: Stat failure
    [18/Oct/2006:14:08:45] failure (21781): for host x.x.x.x trying to GET /chkwww.php, responder-fastcgi reports: FCGI1073: Unable to service the request even after trying 0 times
    The following is the environment:
    Web Server path: /i03_01/SUNWebSP6
    PHP 4.4.2 installation path: /i03_01/php-fcgi
    PHP library path: /i03_01/php-lib
    PHP configuration: ./configure prefix=/i03_01/php-fcgi enable-fastcgi with-mysql=/i03_01/tmp/mysql-standard-4.1.12-sun-solaris2.8-sparc enable-mbstring=all enable-mbregex enable-exif with-gd with-png-dir=/i03_01/php-lib with-zlib-dir=/i03_01/php-lib with-jpeg-dir=/i03_01/php-lib with-t1lib=/i03_01/php-lib with-freetype-dir=/i03_01/php-lib
    libfastcgi.so path: /i03_01/SUNWebSP6/bin
    The following is my configuration:
    In mime.types, add this line at the bottom:
    type=magnus-internal/fastcgi exts=php,php3,php4
    In magnus.conf, add this line at the bottom:
    Init fn=load-modules shlib="/i03_01/SUNWebSP6/bin/libfastcgi.so"
    In obj.conf, add these lines at the top.
    <Object name="default">
    Service type="magnus-internal/fastcgi"
    fn="responder-fastcgi"
    app-path="/i03_01/php-fcgi/bin/php"
    min-procs="1"
    app-env="PHP_FCGI_CHILDREN=1"
    app-env="PHP_FCGI_MAX_REQUEST=200"
    app-env="PHPRC=/i03_01/SUNWebSP6/https-www/config"
    </Object>
    Anyone can help me? Thanks.
    Message was edited by:
    polyuitjerry

    Stat failure is caused when either Fastcgistub or app-path is not accessible.
    Is "Fastcgistub" executable too in /i03_01/SUNWebSP6/bin directory ? If not, then copy it to that directory. Make sure it has exec permission.
    Do you see Fastcgistub process ? If yes, then check the app-path (/i03_01/php-fcgi/bin/php). Is it accessible ?
    And also, check "Fastcgistub.log" file under <webserver-temp-dir> directory for any error msgs.

  • IPlanet migration failure for Sun One Web server 6.1SP6

    Recently we downloaded the Sun One Web server 6.1SP6 and we are having problem trying to upgrade our current version. We have been able to install the package and get the admin console running but we can not migrate the current instances across to the new version. We can successfully choose an instance to migrate however once we click the migrate button, absolutely nothing happens in the browser and nothing can be seen in any error logs and truss indicates a read of a pipe going nowhere, after which the cgi stub terminates.
    We are migrating from
    iPlanet-WebServer-Enterprise/6.0SP5 B10/31/2002 16:22
    to
    CORE1116: Sun ONE Web Server 6.1SP6 B05/07/2006 12:33

    well, it is good that you have considered to upgrade considering 6.0 Sp5 has been EOL'ed for some time now.
    here is the url that describes migrating to 6.1 from 6.0
    http://docs.sfbay/app/docs/doc/819-6514/6n8h9dr61?a=view
    now, if you are still having issues with migration using GUI, you can provide us the admin server error logs or call Sun tech support (if you have support contract) to help you with this.

  • Cant start Sun ONE Web Server 6.1SP10

    Hi,
    Running SP8 have no issues. But when I upgrade to SP10, my webserver wont start. Here are the details.
    Sun ONE Web Server 6.1SP10 B09/04/2008 10:26
    failure: CORE3170: Configuration initialization failed: Error running init function load-modules: dlopen of /opt/SUNWwbsvr/bin/https/lib/libj2eeplugin.so failed (A file or directory in the path name does not exist.)
    Launching browser....
    The file mention is even there.
    # ls -lt /opt/SUNWwbsvr/bin/https/lib/libj2eeplugin.so
    -rwxr-xr-x 1 root system 306414 Jun 14 2007 /opt/SUNWwbsvr/bin/https/lib/libj2eeplugin.so
    Appreciate all your inputs. Thanks.

    I just now installed Web Server 6.1 sp10 on AIX 5.2 machine works fine both with JDK 1.5 and 1.6 :
    First I ran with JDK 1.5 (version shown below)
    #java -version
    java version "1.5.0"
    Java(TM) 2 Runtime Environment, Standard Edition (build pap32dev-20080315 (SR7))
    IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3
    AIX ppc-32 j9vmap3223-20080315 (JIT enabled)
    J9VM - 20080314_17962_bHdSMr
    JIT  - 20080130_0718ifx2_r8
    GC   - 200802_08)
    JCL  - 20080314and then changed in https-<instance>/config/server.xml, "javahome" to point to JDK 1.6 :
    <JAVA javahome="/comps/jdk/16/aix/" serverclasspath=...>The exact version of JDK 6 I used is shown below :
    #/comps/jdk/16/aix/jre/bin/java -version
    java version "1.6.0"
    Java(TM) SE Runtime Environment (build pap3260sr2-20080818_01(SR2))
    IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4
    AIX ppc-32 jvmap3260-20080816_22093 (JIT enabled, AOT enabled)
    J9VM - 20080816_022093_bHdSMr
    JIT  - r9_20080721_1330ifx2
    GC   - 20080724_AA)
    JCL  - 20080808_02h4. oslevels
    # oslevel -q;
    Known Maintenance Levels
    5.2.0.0
    # oslevel -r
    5200-02
    # oslevel -r -q
    Known Recommended Maintenance Levels
    5200-10
    5200-09
    5200-08
    5200-07
    5200-06
    5200-05
    5200-04
    5200-03
    5200-02
    5200-01
    5200-00h4. How I built JDK
    * Go to [http://www.ibm.com/developerworks/java/jdk/aix/service.html|http://www.ibm.com/developerworks/java/jdk/aix/service.html]
    * Click on "Fix Info" link from Java 5.0 32 bit [http://www.ibm.com/developerworks/java/jdk/aix/j532/fixinfo.html|http://www.ibm.com/developerworks/java/jdk/aix/j532/fixinfo.html]
    * Click on SR7 link [http://www-912.ibm.com/eserver/support/fixes/fixcentral/pseriespkgoptions/apar?fixes=IZ18002|http://www-912.ibm.com/eserver/support/fixes/fixcentral/pseriespkgoptions/apar?fixes=IZ18002] and download the JDK.
    * You may have to create a soft links for sh (most probably only for Web Server 7 onwards)
    # cd java-home
    # ln -s bin sh
    # cd jre
    # ln -s bin sh* You may have to fix soft links in your JDK (especially links which point to /usr/java5/jre/bin) if your JDK is not installed on your local machine and you have copied that directory to another machine : for instance <JAVA-HOME>/bin/java should point to ../jre/bin/java rather than /usr/java5/jre/bin
    * Due to [http://www.ibm.com/developerworks/forums/thread.jspa?threadID=179363&tstart=30|http://www.ibm.com/developerworks/forums/thread.jspa?threadID=179363&tstart=30], you may have to download security policies (jre/lib/security/US_export_policy.jar and jre/lib/security/local_policy.jar)
    o Go to [http://www.ibm.com/developerworks/java/jdk/security/50/#sdkpol|http://www.ibm.com/developerworks/java/jdk/security/50/#sdkpol]
    o Click on "IBM SDK Policy files" link i.e. [https://www14.software.ibm.com/webapp/iwm/web/preLogin.do?source=jcesdk|https://www14.software.ibm.com/webapp/iwm/web/preLogin.do?source=jcesdk]
    o Downloaded "Unrestricted JCE Policy files for SDK 1.4" from that location (after login) [http://www6.software.ibm.com/.../unrestrict142.zip|http://www6.software.ibm.com/.../unrestrict142.zip]
    o Unzip unrestrict142.zip file and replace the two jars (US_export_policy.jar and local_policy.jar) in appropriate places in JDK.
    Same steps for JDK 6.

  • 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.

Maybe you are looking for

  • Can several users post on the same blog (SLS 10.6.2)?

    On Snow Leopard Server 10.6.2 a user (let's say user A, defined in open directory) can have it's own blog. Is there a way to allow another user (user B, defined in open directory) to post entries on user A's blog? Or can I setup a company's blog wher

  • How can I sync ff bookmarks on old XP with bookmarks on new Win7?

    Running FF32 on both devices. Properly logged on to both. Would like to know how to get bookmarks from device running on XT to newer one running Win 7. Carefully read instructions and looked at solutions to similar problems. Nothing has worked. Thank

  • IDocs not transferred to BW

    Hi Guys, I am having a problem with loading data from CRM. The IDocs are being transferred from BW to CRM but those being sent from CRM are not arriving in BW. The Datapackets are being transferred but not the IDocs. Has anyone faced a similar proble

  • 2.0 upgrade APP_SESSION error

    We are upgrading to 2.0. In order for the popups to work properly We added the APP_SESSION parameter when building the URL. Sample code: url = 'f?p=&APP_ID.:11:&APP_SESSION.::P12_CIVIL_DOCKET_ID:' + civil_docket_id + ':P11_CIVIL_DOCKET_ID:' + civil_d

  • Yellow Pages on phone

    I have been trying to find an IP phone service that would allow me to display and search the yellow pages database. Is there such a thing out there?