Virtual directory in iplanet web server 4.1

Hi
We are new to iplanet web server4.1 .we need to run the jsp files from
weblogic 5.1.we have done the following configuration
1)changed the obj.conf file as per documents in weblogic.
2)changed the mime types for jsp from magnus-internal/jsp to text/jsp .
3)i have created a virtual directory with url prefix as "ashish" and Legacy
JSP directory as
"c:/weblogic/myserver/public_html/jspfiles"
4)i have file test.jsp with the path as
"c:/weblogic/myserver/public_html/jspfiles/test.jsp"
5)in the browser i give the path as http://atg/ashish/test.jsp where atg is
machine name.now the problem is instead of looking for the file as
"c:/weblogic/myserver/public_html/jspfiles/test.jsp"
it look as "c:/weblogic/myserver/public_html/jspfiles/ashish/test.jsp"
because of this it does not find the file .
6)if i create ashish folder in c:/weblogic/myserver/public_html/jspfiles
then it finds the file.
what is the problem .???
also on obj.conf file i have written as
Service method="(GET|HEAD|POST|PUT)" type="text/jsp" fn="wl-proxy"
WebLogicHost="192.168.100.78" WebLogicPort="7001"
i have omitted pathprepend directive above.
Any ideas for this problem.What is the concept of virtual directory which is
there in Internet Information Server.
Thanks in advance
Ashish

Please see my response in the JSP newsgroup
Ashish Nathani wrote:
Hi
We are new to iplanet web server4.1 .we need to run the jsp files from
weblogic 5.1.we have done the following configuration
1)changed the obj.conf file as per documents in weblogic.
2)changed the mime types for jsp from magnus-internal/jsp to text/jsp .
3)i have created a virtual directory with url prefix as "ashish" and Legacy
JSP directory as
"c:/weblogic/myserver/public_html/jspfiles"
4)i have file test.jsp with the path as
"c:/weblogic/myserver/public_html/jspfiles/test.jsp"
5)in the browser i give the path as http://atg/ashish/test.jsp where atg is
machine name.now the problem is instead of looking for the file as
"c:/weblogic/myserver/public_html/jspfiles/test.jsp"
it look as "c:/weblogic/myserver/public_html/jspfiles/ashish/test.jsp"
because of this it does not find the file .
6)if i create ashish folder in c:/weblogic/myserver/public_html/jspfiles
then it finds the file.
what is the problem .???
also on obj.conf file i have written as
Service method="(GET|HEAD|POST|PUT)" type="text/jsp" fn="wl-proxy"
WebLogicHost="192.168.100.78" WebLogicPort="7001"
i have omitted pathprepend directive above.
Any ideas for this problem.What is the concept of virtual directory which is
there in Internet Information Server.
Thanks in advance
Ashish

Similar Messages

  • Virtual Directory for app web server

    I have a web application that runs over Windows 2000 advanced server, does anybody know how can i change the address, i.e.: http://localhost:8080/servlet/eureka to http://localhost or http://something ?
    I have j2re 1.3 and java plug-in .
    Thanks

    in order to run http://localhost with out specifying port number, you need to set your server port to 80 (which is an official http port) in the configuraton file. I don't know what kind of server you are using. If you use Tomcat, you need to modify your server.xml file from 8080 to 80.

  • Can iDSIE (Meta-directory) be used as a single authentication point from iPlanet Web Server for multiple databases using direct "or" indirect connectors?

    Basically, the latest release of iPlanet Web Server forces the user/group information source to be an LDAP database. Currently, the user accounts are in Active Directory, NT, Oracle and NetWare Directory Service in this heterogeneous environment.
    What I am looking for is a meta-directory product which can do two things:
    1-Single authentiation point for users in mulitple databases from iPlanet Web Server.
    2-Single administration point for all of the databases listed above.
    For example, can I add/modify/delete a user account at the meta-directory level and have this propagate to all of the databases listed above reducing the administration to one meta-directory product?

    With an Virtual Directory solution, you can authenticate Iplanet Web Server against nearly anything including any LDAPv3 Directory Server, Microsoft Active Directory, Windows NT Domains, Oracle RDBMS, IBM DB2 RDBMS, Microsoft SQL, and others.
    All of this is done dynamically and doesn't require any heavyweight synchronization process. The Virtual Directory acts as a dynamic schema / DIT / data translation engine for different types of repositories.
    OctetString's Virtual Directory Engine is one such example. You can download a 30 day evaluation copy at:
    http://www.octetstring.com
    It will take you all of 30 minutes to get iPlanet Web Server authenticated against and using groups from things like Oracle RDBMS, Windows NT Domains, or Active Directory.

  • Installing Iplanet web server and directory server behind a firewall

    When installing iplanet web server and directory server behind a firewall - should the interal ip address be used or the external ip address?

    Hello,
    When you are installing iplanet web server behind a firewall,you should use the internal ip address in the firewall.
    1. The external ip address connection to the Internet. The type of IP address used?dynamic (commonly used for standard
    modems) or static (commonly used for cable modems) is dictated by the ISP to which you connect and the type of service it provides.
    2. The internal ip adress connection. This connection must be a static IP assignment, and it must be assigned by you.
    obviously it depends on the type of firewall setup you have.
    Thanks
    Selva

  • Calling servlet problem in iPlanet web server.

    Hello, friends.
    I have installed iPlanet web server 6.0. After installation I am using the default virtual server only. Thus, for all testing pages also, I use the default Document Root only (C:\iplanet\servers\docs\testsite) (I think, here "docs" is the default document root, right? If I am wrong, please correct me). I have got 2 JSP pages and 1 servlet. I put the JSP pages, into "testsite" folder and put the servlet into a folder called "myservlets" (C:iplanet\servers\docs\myservlets).
    The jsp1.jsp page calls the servlet.class and in return the servlet redirects to jsp2.jsp page.
    My question is: what paths should I use in jsp1.jsp file and in servlet.class file?
    Thanks in Advance for all your help,
    ~ Nirav

    There is a major security breach in authenticating
    iPlanet Web Server 6.0 SP3 and SP4 using Sun ONE
    Directory Server. Using a valid user id, any
    password except null string would allow user access
    the restricted resources. iPlanet Web Server 6.0 SP5
    and 4.1 SP12 worked fine with similar configuration.Did you get an answer for this?
    We are having the exact same problems with our iPlanet Web server 6.0 SP3.
    thank you.

  • Deploying war files on iplanet web server 6.0

    Hello All,
    I tried to deploy an war file on iplanet web server 6.0 using both command line wdeploy and iplanet webserver browser based admin tool. Both the times it did say successfully deployed. I checked the WEB-INF files and it does contain all class files..But the problem is when I try to post a form to one of the class files the error log says as if it cannot find the class file.(I tried the sample app HelloWorld supplied by vendor)
    =========
    05/Mar/2002:13:19:14] config (13777): for host xx.xx.xx.xx trying to POST /samples/helloworld/GreeterServlet, handle-processed reports: The request method is not applicable to this requested resource.
    =================
    any help in this regards is appreciated
    Thanks
    sudhir

    Hello,
    I got few steps to deploy the WAR file, if you followed the same steps and got the error then ignore this else try with this steps.
    a) Set your environment variable IWS_SERVER_HOME to your server_root directory.
    b) Add the server_root/bin/https/httpsadmin/bin directory to your classpath.
    c) Configure your virtual server for web applications.
    From the Server Manager page, select the VirtualServerClass tab, select a Class, and click the Manage button.
    Select a Virtual Server and go to the Java Web Apps Settings page for that virtual server. Make sure that the virtual server has Web Apps State turned On, and web-apps.xml is the name of Web Apps File.
    To extract the sample WAR file HelloWorld.war in server_root/plugins/servlets/examples/web-apps/HelloWorld, use the wdeploy command as follows:
    wdeploy deploy -u /hello -i server.iplanet.com -v testvs -d
    /iws60/https-server.mydomain.com/testvs/web-apps/hello
    /iws60/plugins/servlets/examples/web-apps/HelloWorld/HelloWorld.war
    The syntax for the command is as follows:
    wdeploy deploy -u uri_path -i instance -v vs_id [-d directory] war_file
    uri_path Specify the URI prefix (a path to access the web application from the browser).
    instance Specify the server instance name. (Note: Do not include "https" in the front.)
    vs_id Specify the Virtual Server name as it appears on the Manage Virtual Servers page.
    directory Specify a directory to extract WAR files. If this directory doesn't exist already, it will be created for you now.
    war_file Specify the name of the WAR file.
    If the WAR file is extracted successfully, the message "web application deploy successful" appears at the command line.
    For verification, go to the /iws60/https-server.iplanet.com/testvs/web-apps/hello directory. It should have the following contents:
    colors
    index.jsp
    META-INF
    WEB-INF/
    web.xml
    /classes/
    HelloWorldServlet.class
    HelloWorldServlet.java
    SnoopServlet.class
    SnoopServlet.java
    In the server_instance/config directory, the web-apps.xml file should have the following entry:
    <vs>
    <web-app uri="/hello"
    dir="/iws60/https-server.iplanet.com/testvs/web-apps/hello"/>
    </vs>
    Restart the server instance from the command line or go to the admin GUI and apply configuration changes to the server instance.
    Now when you access the webserver instance in your browser, the Error log of that server instance will record successful initialization of the web application environment(web-apps.xml) for the virtual server(vs name). You can access the web application from a browser as follows:
    http://server.Mydomain.com:80/hello/index.jsp
    or:
    http://server.Mydomain.com/hello/
    The syntax is as follows:
    http://vs_urlhost[:vs_port]/uri_path/[index_page]
    Thanks
    Selva

  • Using Struts Example in IPlanet web Server 6.0

    Hai
         i am new to struts and i was trying to run the example application shiped along with the binary distribution
         in iplanet webserver 6.0.
         I have extracted the struts-example.war file in to a folder named strutsexamples under my iplanetdocroot\servers\docs\ Using the
         link DeployWebApplications in the admin side of the iplanet application.
         By doing the above steps all the example files are extracted in to the folder iplanetdocroot\servers\docs\strutsexamples directory .
    Problem 1:      when i restarted the server i found the following error in the log file
              [06/Apr/2003:19:58:03] info ( 394): successful server startup
              [06/Apr/2003:19:58:03] info ( 394): iPlanet-WebServer-Enterprise/6.0SP1 B08/20/2001 01:49
              [06/Apr/2003:19:58:05] info ( 394): Installing a new configuration
              [06/Apr/2003:19:58:05] info ( 394): [LS ls1] http://gdcblr1596.gdcblr, port 80 ready to accept requests
              [06/Apr/2003:19:58:05] info ( 394): A new configuration was successfully installed
              [06/Apr/2003:19:58:09] info ( 394): Loading IWSSessionManager by default.
              [06/Apr/2003:19:58:09] info ( 394): IWSSessionManager: Maximum number of sessions is 1000
              [06/Apr/2003:19:58:10] info ( 394): Adding web application (/diva) at (E:/iPlanet/Servers/docs/diva)
              [06/Apr/2003:19:58:10] info ( 394): Loading IWSSessionManager by default.
              [06/Apr/2003:19:58:10] info ( 394): IWSSessionManager: Maximum number of sessions is 1000
              [06/Apr/2003:19:58:10] info ( 394): Adding web application (/struts) at (E:/iPlanet/Servers/docs/struts)
              [06/Apr/2003:19:58:10] info ( 394): Loading IWSSessionManager by default.
              [06/Apr/2003:19:58:10] info ( 394): IWSSessionManager: Maximum number of sessions is 1000
              [06/Apr/2003:19:58:10] info ( 394): Adding web application (/strutsexamples) at (E:/iPlanet/Servers/docs/strutsexamples)
              [06/Apr/2003:19:58:10] info ( 394): Loading IWSSessionManager by default.
              [06/Apr/2003:19:58:10] info ( 394): IWSSessionManager: Maximum number of sessions is 1000
              [06/Apr/2003:19:58:11] info ( 394): vs(https-gdcblr1596.gdcblr)servlet 'action' class = 'org.apache.struts.action.ActionServlet' loaded in context =                '/strutsexamples'
              [06/Apr/2003:19:58:11] info ( 394): action: init
              [06/Apr/2003:19:58:13] warning ( 394): vs(https-gdcblr1596.gdcblr)ServletException thrown in servlet.init; context = /strutsexamples, servlet = 'action';           stack tace: javax.servlet.UnavailableException: Parsing error processing resource path
                   at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java, Compiled Code)
                   at org.apache.struts.action.ActionServlet.init(ActionServlet.java, Compiled Code)
                   at javax.servlet.GenericServlet.init(GenericServlet.java:258)
                   at com.iplanet.server.http.servlet.WServletEntity.loadAndInitServlet(WServletEntity.java:98)
                   at com.iplanet.server.http.servlet.WebApplication.init(WebApplication.java, Compiled Code)
                   at com.iplanet.server.http.servlet.VirtualServer.init(VirtualServer.java, Compiled Code)
                   at com.iplanet.server.http.servlet.NSServletRunner.VSInit(NSServletRunner.java:680)
              , root cause:
              [06/Apr/2003:19:58:13] info ( 394): Successfully initialized web application environment (web-apps.xml) for virtual server (https-gdcblr1596.gdcblr)
    Problem 2: when i was trying to invoke the example by typing http://localhost/strutsexamples/ i am getting only the following errors .
                   [06/Apr/2003:20:03:17] info ( 394): vs(https-gdcblr1596.gdcblr)servlet 'jsp' class = 'org.apache.jasper.servlet.JspServlet' loaded in context =                     '/strutsexamples'
                   [06/Apr/2003:20:03:17] info ( 394): jsp: init
                   [06/Apr/2003:20:03:18] info ( 394): jsp: init
                   [06/Apr/2003:20:03:19] failure ( 394): Internal error: servlet service function had thrown ServletException (uri=/strutsexamples/):                          javax.servlet.ServletException, stack: javax.servlet.ServletException
                        at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:453)
                        at jsps.index_jsp._jspService(_index_jsp.java, Compiled Code)
                        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
                        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                        at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:247)
                        at org.apache.jasper.servlet.JspServlet$JspServletWrapper.access$6(JspServlet.java:237)
                        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:520)
                        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:589)
                        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                        at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:891)
                        at com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1064)
                        at com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:953)
                   , root cause: javax.servlet.jsp.JspException
                        at org.apache.struts.util.RequestUtils.message(RequestUtils.java:975)
                        at org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:294)
                        at jsps.index_jsp._jspService(_index_jsp.java, Compiled Code)
                        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
                        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                        at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:247)
                        at org.apache.jasper.servlet.JspServlet$JspServletWrapper.access$6(JspServlet.java:237)
                        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:520)
                        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:589)
                        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                        at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:891)
                        at com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1064)
                        at com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:953)     
         I have read all the FAQ and searched in web also and i am not able to find any answer to my problem .
         Kindly if someone knows how to overcome the above problem do reply me to this id .
         If any one has got the steps to be done to use struts in IplanetWebServer 6.0 do mail me also .
    thanks and regards
    Divakar.Renganathan
    Associate Consultant
    MascotSystems .
    Bangalore.

    Hi,
    Were you successful in getting the steps for incorporating struts with iPlanet Web Server 6.0 ?
    If so, please email them to me as I am having similar problems.
    Thanks
    Harinder
    [email protected]

  • Deplyment in iPlanet Web Server 6.0

    Hi
    Here is the log output that i received after deploying in iPlanet web server 6.0 from a war file. It contains the jsps, servlet classes, beans, and ejb classes. I have my ejbs deployed in weblogic server 8.1 Can anybody help? Thankyou.
    [31/Mar/2004:11:21:33] info ( 1080): Installing a new configuration
    [31/Mar/2004:11:21:50] info ( 1032): successful server startup
    [31/Mar/2004:11:21:50] info ( 1032): iPlanet-WebServer-Enterprise/6.0SP1 B08/20/2001 01:49
    [31/Mar/2004:11:21:51] info ( 1032): Installing a new configuration
    [31/Mar/2004:11:21:51] info ( 1032): [LS ls1] http://IdeasAshok, port 8080 ready to accept requests
    [31/Mar/2004:11:21:51] info ( 1032): A new configuration was successfully installed
    [31/Mar/2004:11:21:52] info ( 1032): Loading IWSSessionManager by default.
    [31/Mar/2004:11:21:52] info ( 1032): IWSSessionManager: Maximum number of sessions is 1000
    [31/Mar/2004:11:21:55] info ( 1032): Adding web application (/ideas) at (D:/ bea/ideas)
    [31/Mar/2004:11:21:56] info ( 1032): Loading IWSSessionManager by default.
    [31/Mar/2004:11:21:56] info ( 1032): IWSSessionManager: Maximum number of sessions is 1000
    [31/Mar/2004:11:21:56] info ( 1032): Successfully initialized web application environment (web-apps.xml) for virtual server (https-Ashok)
    [31/Mar/2004:11:23:59] info ( 1032): vs(https-Ashok)servlet 'jsp' class = 'org.apache.jasper.servlet.JspServlet' loaded in context = '/ideas'
    [31/Mar/2004:11:23:59] info ( 1032): jsp: init
    [31/Mar/2004:11:23:59] info ( 1032): jsp: init
    [31/Mar/2004:11:23:59] failure ( 1032): Internal error: Unexpected error condition thrown (unknown exception,no description), stack: java.lang.NoClassDefFoundError: javax/security/auth/callback/CallbackHandler
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:115)
         at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:131)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:660)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:241)
         at javax.naming.InitialContext.init(InitialContext.java:217)
         at javax.naming.InitialContext.<init>(InitialContext.java:193)
         at ideas.util.ServerProperties.getContext(ServerProperties.java:48)
         at ideas.beans.AdhocHandBean.<init>(AdhocHandBean.java:39)
         at jsps.jsp._AdhocHandoff_jsp._jspService(_AdhocHandoff_jsp.java:194)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:247)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.access$6(JspServlet.java:237)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:520)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:589)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:891)
         at com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1064)
         at com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:953)

    Hi,
    Already solved the problem, only needed the charset for JAVA.
    Anyway for future reference for others re internationalization in iPlanet...
    1. Place your resource bundles in <path to your instance>/WEB-INF/classes/
    2. Place your i18n tag library (as for me it is taglibs-i18n.tld) in <path to your instance>/WEB-INF/
    3. Place your i18n API (as for me it is taglibs-i18n.jar) in <path to your instance>/WEB-INF/lib if it is a jar file, else <path to your instance>/WEB-INF/classes.
    4. Add taglib element in your web deployment descriptor file (web.xml):
    <taglib>
         <taglib-uri>/WEB-INF/taglibs-i18n.tld</taglib-uri>
         <taglib-location>/WEB-INF/taglibs-i18n.tld</taglib-location>
    </taglib>
    NOTE:
    Make sure the DTD reference for your web.xml points to http://java.sun.com/dtd/web-app_2_3.dtd. Old version was http://java.sun.com/j2ee/dtds/web-app_2_3.dtd. Please update your application to use the new name.
    5. Add the following to the JVM classpath in SUNONE:
    5.a. <path to your JRE lib>/charsets.jar (for charsets for JAVA)
    5.b. <path to your instance>/WEB-INF/classes/ (directory where your resource bundles are)
    6. Restart the instance.
    This will work either for pre-compiled and uncompiled jsps.
    Hope this will help.
    my 2 cents,
    Eson.

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

  • How Create Virtual Directory On Oracle Application Server 10g on RHEL 5

    Dear Sir
    i have deployed my application on OAS 10g on RHEL 5 ,,now since my application is calling some pro*c programs and then they generate some text based reports on fixed folder named
    /treas/temp
    now i simply have to open these text based reports on web browser
    WEB.SHOW_DOCUMENT('/forms/pcreport/'||v_filename);
    but for that i need to create virtual directory name : " /pcreport " without code
    kindlly help as its working on my developer suit 10g i created a virtual directory in my application server by making following entry in "orion-web.xml" file
    <virtual-directory virtual-path="/pcreport" real-path="/u/treas/temp" />
    kindlly help

    (My paths shown, yours will be different)
    In a text editor :
    /u01/app/oracle/product/midtier/Apache/Apache/conf/httpd.conf
    Add
    Alias /pcreport/ "/u01/app/oracle/product/midtier/forms/pcreport/"
    <Directory "/u01/app/oracle/product/midtier/forms/pcreport/">
    Options Indexes
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>
    Create the pcreport directory.
    Add a simple test page
    vi /u01/app/oracle/product/midtier/forms/pcreport/test.html
    <html>
    <head>
    <title>Simple test page </title>
    <style type="text/css">
    body {
    margin-left: 20%;;
    margin-right: 20%;
    border: 1px dotted gray;
    padding: 10px 10px 10px 10px;
    </style>
    </head>
    <body>
    <p>test!</p>
    </body>
    </html>
    Test
    http://yourserver.com:7777/pcreport/test.html
    Best Regards
    mseberg

  • Integrating iPlanet Web Server 6.0 with SunOne App Server 7.0

    I am experiencing problems integrating iPlanet Web Server 6.0 with SunOne App Server 7.0
    My magnus.conf is
    #ServerRoot /usr/iplanet/servers/https-test
    ServerID https-test
    ServerName sulev016.eur.gep.ge.com
    ErrorLog /usr/iplanet/servers/https-test/logs/errors
    PidLog /usr/iplanet/servers/https-test/logs/pid
    User root
    MtaHost localhost
    DNS off
    Security off
    ClientLanguage en
    AdminLanguage en
    DefaultLanguage en
    RqThrottle 128
    StackSize 131072
    CGIWaitPid on
    TempDir /tmp/https-test-ab0d7966
    Init fn=flex-init access="$accesslog" 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 fn="load-modules" shlib="/usr/iplanet/servers/bin/https/lib/libNSServletPlugin.so" funcs="NSServletEarlyInit,NSServletLateInit,NSServletNameTrans,NSServletService" shlib_flags="(global|now)"
    Init fn="NSServletEarlyInit" EarlyInit=yes
    Init fn="NSServletLateInit" LateInit=yes
    Init fn="load-modules" shlib="/usr/iplanet/servers/plugins/passthrough/bin/libpassthrough.so" funcs="init-passthrough,auth-passthrough,check-passthrough,service-passthrough" NativeThread="no"
    Init fn="init-passthrough"
    ==========================================
    my obj.conf is
    <Object name=default>
    NameTrans fn="assign-name" from="(/OMS|/OMS/*)" name="passthrough"
    NameTrans fn="NSServletNameTrans" name="servlet"
    NameTrans fn="pfx2dir" from="/servlet" dir="/usr/iplanet/servers/docs/servlet" name="ServletByExt"
    NameTrans fn=pfx2dir from=/mc-icons dir="/usr/iplanet/servers/ns-icons" name="es-internal"
    NameTrans fn="pfx2dir" from="/manual" dir="/usr/iplanet/servers/manual/https" 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"
    ObjectType fn=type-by-extension
    ObjectType fn=force-type type=text/plain
    Service type="magnus-internal/jsp" fn="NSServletService"
    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>
    <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="servlet">
    ObjectType fn=force-type type=text/html
    Service fn="NSServletService"
    </Object>
    <Object name="jsp092">
    ObjectType fn="type-by-extension"
    ObjectType fn="change-type" type="magnus-internal/jsp092" if-type="magnus-internal/jsp"
    Service fn="NSServletService" type="magnus-internal/jsp092"
    </Object>
    <Object name="ServletByExt">
    ObjectType fn=force-type type=magnus-internal/servlet
    Service type="magnus-internal/servlet" fn="NSServletService"
    </Object>
    <Object name="es-internal">
    PathCheck fn="check-acl" acl="es-internal"
    </Object>
    <Object name="passthrough">
    ObjectType fn="force-type" type="magnus-internal/passthrough" Service type="magnus-internal/passthrough" fn="service-passthrough" servers="http://3.224.68.131:81"
    Error reason="Bad Gateway" fn="send-error" uri="$docroot/badgateway.html"
    </Object>
    The requests are not passing through to the app server when i try to access it through port 80.
    Presently I am testing my appln over port 81 on the app server.
    Thanks and Regards
    Vineet Guliani

    Each ObjectType and Service directive should begin on a new line. You appear to have placed two directives on a single line.

  • SSL implementation on iplanet web server 6.0

    Hi,
    we've successfully implemented verisign SSL certificate on iplanet web server 6.0 and we have configured the a parent directory to non-ssl class and the a sub directory to the ssl-class. when we tried to run a JSP page, we are getting an error that the page is not found.
    if both are configured for the same directory (ie.. the parent directory then its working fine)....
    can anybody tell me what went wrong with the implementation...
    thanks in advance,
    regards
    Ramachandran

    How did you configure one directory use ssl and another director not? Are you using only one listener?
    I would like to configure my iws to work like this:
    a directory like server/app uses ssl3
    another directory like server/appler uses ssl3 without client authentication. Important: I�m not able to create another listener. I must use listerners already created.

  • IPlanet Web Server & Glassfish not takeover session from stoped instance?

    I have 3 Physical Machine
    1> server hostname is 'linuxgf175'(192.168.1.175) main cluster control (DAS) and Install iPlanet Webserver with gflb-configurator
    2> server hostname is 'linuxgf170'(192.168.1.170) server for node1(n1) has Instance1 (i1)
    3> server hostname is 'linuxgf180'(192.168.1.180) server for node2(n2) has Instance2 (i2)
    1. I was install iPlanet Web Server to same DAS machine. (192.168.1.175)
    2. And create Server Certificates request.
    Certificate Details
    Nickname cert-linuxgf175
    Subject CN=linuxgf175
    Issuer Self Signed
    Key Type RSA
    Key Size (bits) 1024
    Valid From April 18, 2011 7:30:09 PM ICT
    Valid Till April 18, 2012 7:30:09 PM ICT
    Fingerprint CE:D8:5E:97:DB:56:89:00:56:A7:0F:EB:0D:D4:4A:06
    Serial Number 00:94:26:11:AB
    Server Name linuxgf175
    (Picture : http://s138.photobucket.com/albums/q262/madoatz/?action=view&current=iPl... )
    3. And create new http-listenser (SSL for communicate with DAS port 8082 )
    (Picture : http://s138.photobucket.com/albums/q262/madoatz/?action=view&current=iPl... )
    4. And import cert file(s1as.rfc) to glassfish-lbconfigurator wizard. (run lb-configure command #java -jar glassfish-lbconfigulator.jar )
    I was exported that file like this command :
    keytool -export -rfc -alias s1as -keystore /usr/glassfish3/glassfish/domains/domain1/config/keystore.jks -file ./s1as.rfc
    5. Create and Apply http-lb to DAS domain success !! :)
    asadmin> create-http-lb devicehost linuxgf175 deviceport 8082 --target c1 cluster_lb
    Enter admin user name> admin
    Enter admin password for user "admin">
    Command create-http-lb executed successfully.
    asadmin>
    asadmin> apply-http-lb-changes cluster_lb
    Enter admin user name> admin
    Enter admin password for user "admin">
    Command apply-http-lb-changes executed successfully.
    6. Deploy "clusterjsp.ear" Application to Cluster c1 with avalibilityenable=true
    deploy success
    (Picture : http://s138.photobucket.com/albums/q262/madoatz/?action=view&current=iPl... )
    7.try to open application , use browser open to iPlanet webserver success
    http://192.168.1.175:80/clusterjsp
    ## But, It can not handle session between instance (i1) and Instance 2 (i2)
    i input some data session into instance (i1)
    HttpSession Information:
    Served From Server: 192.168.1.175
    Server Port Number: 80
    Executed From Server: linuxgf170
    Executed Server IP Address: 127.0.0.1
    Session ID: 3ed17253ef55fb5d37203a738e2b
    Session Created: Thu Apr 21 00:20:08 ICT 2011
    Last Accessed: Thu Apr 21 00:20:08 ICT 2011
    Session will go inactive in 1800 seconds
    INPUT : test1 = test1
    INPUT : test2 = test2
    after that try to stop Instance (i1) linuxgf170
    come back to browser and refesh button. It's change route display to instance i2 (linuxgf180)
    HttpSession Information:
    Served From Server: 192.168.1.175
    Server Port Number: 80
    Executed From Server: linuxgf180
    Executed Server IP Address: 127.0.0.1
    Session ID: 3ee66ddd60498d68660a55fadcc5
    Session Created: Thu Apr 21 00:21:34 ICT 2011
    Last Accessed: Thu Apr 21 00:21:34 ICT 2011
    Session will go inactive in 1800 seconds
    BUT INPUT DATA is not display ?? I loss...session.
    Please sir.... please see image url and help clarify T_T
    Can direct contect to me for more help Thank you very much for best support.
    [email protected]
    skype : mr_lalit

    More iPlanet startup log....
    [root@linuxgf175 webserver7]# cd admin-server/
    [root@linuxgf175 admin-server]# cd bin/
    [root@linuxgf175 bin]# ./startserv
    Oracle iPlanet Web Server 7.0.9 B07/04/2010 01:31
    info: CORE3016: daemon is running as super-user
    info: CORE5076: Using [Java HotSpot(TM) Server VM, Version 1.6.0_20] from [Sun Microsystems Inc.]
    info: WEB0100: Loading web module in virtual server [admin-server] at [admingui]
    info: WEB0100: Loading web module in virtual server [admin-server] at [jmxconnector]
    info: HTTP3072: admin-ssl-port: https://linuxgf175:8989 ready to accept requests
    info: CORE3274: successful server startup
    [root@linuxgf175 bin]# cd ../../
    [root@linuxgf175 webserver7]# pwd
    /usr/glassfish3/webserver7
    [root@linuxgf175 webserver7]# cd https-linuxgf175/
    [root@linuxgf175 https-linuxgf175]# cd bin/
    [root@linuxgf175 bin]# ./startserv
    Oracle iPlanet Web Server 7.0.9 B07/04/2010 01:31
    info: reports: Initializing lbplugin BuildId: GlassFish 3.1 load-balancer plugin b05
    info: CORE5076: Using [Java HotSpot(TM) Server VM, Version 1.6.0_20] from [Sun Microsystems Inc.]
    config: , name-trans-passthrough reports: init-passthrough has not been called
    config: , name-trans-passthrough reports: init-passthrough has not been called
    config: , name-trans-passthrough reports: init-passthrough has not been called
    warning: reports: lb.configurator: XML_VALIDATOR_WARNING: Cookies will not be rewritten by web server. All cookie updates will be handled by application server. If you are using older version of application server, then failover will not work.
    warning: reports: lb.configurator: Preferred failover instance feature is enabled.
    warning: reports: lb.runtime: RNTM2019: Daemon http://linuxgf170:28080 has been intialized.
    warning: reports: lb.runtime: RNTM2019: Daemon https://linuxgf170:28181 has been intialized.
    warning: reports: lb.runtime: RNTM2019: Daemon http://linuxgf180:28080 has been intialized.
    warning: reports: lb.runtime: RNTM2019: Daemon https://linuxgf180:28181 has been intialized.
    warning: reports: lb.runtime: RNTM2019: Daemon http://linuxgf170:28081 has been intialized.
    warning: reports: lb.runtime: RNTM2019: Daemon https://linuxgf170:28182 has been intialized.
    info: HTTP3072: http-listener-1: http://linuxgf175:80 ready to accept requests
    info: HTTP3072: http-listener-ssl: https://linuxgf175:8090 ready to accept requests
    info: CORE3274: successful server startup
    [root@linuxgf175 bin]#

  • I have perl scripts that I want to be able to run with my iplanet web server 6.0. How can I make it work in Windows NT? (Because I have no problem when I use it with Linux).

     

    Hi Melanie,
    In order to run a PERL script under Windows NT the iPlanet Web Server needs to know where to find the PERL interpreter.
    follow these steps :
    1) Make sure Windows NT knows what a .pl file is. In file Manager click on file and choose associate from the menu. Check the "files with extension" drop-down list for pl - if it exists verify that it is pathed to your perl.exe. If it is not already on the list click the "New Type" button. In the Filetype box put pl. Choose open from the Action drop-down list. In the Command box specify the full path to your perl.exe interpreter (Make sure to use short filenames, rather than long filenames.) Click the OK button. Then click the Close button in the main Associate dialog box. Double click a .pl file to test - it should automatically launch the PERL interpreter and feed it your .pl file.
    2) Create a directory to contain your .pl scripts.
    ~server_root\shell-cgi is a good choice.
    or \cgi-bin\
    NOTE: Make very sure that this directory is NOT part of the document root, it should have it's own directory (preferably at the same level of the docroot).
    3) In the Admin Server select Programs.
    4) Choose CGI directory (normally) or WinCGI directory or ShellCGI Directory depending on ur choice from the Programs menu.
    5) Put the URL Prefix you would like to map to your Shell-CGI directory into the URL Prefix field.
    6) Put the full path to your Shell-CGI directory in the Shell CGI directory field.
    7) Click OK.
    8) The save and apply changes page will display your changes and give you the opportunity to verify them. If they are correct click the Save and Apply button. If not Click the Undo button and go back to step 4.
    (9)You can then call your .pl scripts directly by referencing the directory mapping that you have just created. For example:
    http://my.server.whatever/shell-cgi/ myscript.pl
    this should work now.
    If not Pls Mail me.
    regards
    T.Raghulan
    [email protected]

  • Maximum number of simultaneous CGIs on iPlanet Web Server 6.0

    I have installed iPlanet Web Server 6.0 on a Windows 2000 Advanced Server SP2 machine. I have configured a directory as CGI directory. The actual CGI is an exe written using C++.
    Now when I try to access this CGI from the browser, only 1 CGI is loaded at a time even if I send requests for multiple CGIs. I have added the following lines to my "magnus.conf" file:
    RqThrottle 128
    MinCGIStubs 10
    CGIExpirationTimeout 36000
    MaxCGIStubs 100
    CGIStubIdleTimeout 0
    But still the CGI launching is being serialized with only 1 CGI being launched at a time. What could be the reason for this? Can anyone help me out on this one?
    Thanks in advance.
    Varun Goswami

    You can try adding the following directive to your config\magnus.conf configuration file:
    KernelThreads 1
    This directive instructs the web server to use native (kernel) threads to service requests.

Maybe you are looking for