I am using iPlanet Enterprise Server 4.1sp7,

and I want to set up customized error responses. I have entered the file name of a valid html file in the "Error Response" link under the "preferences tab" for the server. However, it is not working, all I get is the default browser error page. Any ideas?

Damien,
Did you try entering in the absolute path to the file and not just the filename? Also, did you do a save and apply of the change so that the webserver process restarts and reloads the obj.conf changes?
I tested this with iPlanet Web Server 4.1sp9 and it seems to be working properly there.

Similar Messages

  • "Error creating JVM" in iPlanet Web Server 4.1SP7 when configured with JDK

    I need to configure iPlanet Web Server 4.1SP7 to execute JSP/Servlets on itself and lookup EJBs kept on IBM Websphere Application Server 4.0.1, both running on different servers with Sun Solaris.
    Whenever, I try to configure iPlanet Web Server 4.1 SP7 to use IBM's JDK 1.3.0 (provided with WAS 4.0) to lookup an EJB, iPlanet server stops as soon as it starts, giving:
    [07/Feb/2003:11:52:38] info ( 2788): Internal error: unable to create JVM acquire failed1:52:38] info ( 2788): NSServletSession::(late)init - JVMControl:: [07/Feb/2003:11:52:38] failure ( 2788): Failure to load JVM (check your JRE) on(late) NSServletLateInit: unknown error): conf_init: Error running init function
    Evenif, I configure it using Sun's JDK 1.4.0.03, iPlanet wS keeps on giving "Exiting JVM" in the error log..
    Now, I want to know, which JVMs are supported by iPlanet Web Server 4.1 SP7, that can be used to lookup deployed components (EJBs/Datasource) on Websphere Application Server 4.0.1?
    Regards,
    Vaibhav
    [email protected]

    I think you are running into this:
    http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsunone%2F8322&zone_32=-Xrs%2A%20
    Thanks
    Manish

  • Using IPlanet LDAP Server!!!

    Hi, i'm using IPlanet LDAP Server 5.0 and Weblogic 6.0 SP1.
    After succeeding in connecting the LDAP server, i want to list all the users
    and groups, then the following exception came up. Does anyone know the
    reason?
    I don't know why we should define the "Users" & "Groups" information when we
    try to connect to a LDAP server. Please help me. Thanks!
    Exception
    weblogic.management.configuration.RealmException: RealmManager.listUsers -
    with nested exception:
    [weblogic.security.ldaprealm.LDAPException: could not get user list - with
    nested exception:
    [javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object];
    remaining name 'dc=crcc,ou=People,cn=eric lu']]
         at
    weblogic.management.configuration.RealmManager.listUsers(RealmManager.java:1
    63)
         at
    weblogic.management.console.pages._domain._usertable._jspService(_usertable.
    java:346)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
         at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :213)
         at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:1265)
         at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :1622)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    * Name: Gary Wang
    * Tele: 010-65546668-8119
    * Mail: [email protected]

    When you use the LDAP v1 realms you have to supply four primary sets of information
    1) The URL of the LDAP server
    2) The principal and credentials you use to bind with ... this will usually be
    the distinguished name and user password for a user that is set with administrative
    rights
    3) The User information that indicates (a) what node to look for users ... for
    example ou=People,dc=crcc and (b) the attribute that maps to the login ID (typically,
    uid)
    4) The Group information that indicates (a) what node to look for groups ... for
    exampel ou=Groups,dc=crcc and the attribute in each group that represents the
    member dn typically either uniquemember or uniquename
    Hope this helps.
    "Gary" <[email protected]> wrote:
    Hi, i'm using IPlanet LDAP Server 5.0 and Weblogic 6.0 SP1.
    After succeeding in connecting the LDAP server, i want to list all the
    users
    and groups, then the following exception came up. Does anyone know the
    reason?
    I don't know why we should define the "Users" & "Groups" information
    when we
    try to connect to a LDAP server. Please help me. Thanks!
    Exception
    weblogic.management.configuration.RealmException: RealmManager.listUsers
    with nested exception:
    [weblogic.security.ldaprealm.LDAPException: could not get user list -
    with
    nested exception:
    [javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object];
    remaining name 'dc=crcc,ou=People,cn=eric lu']]
         at
    weblogic.management.configuration.RealmManager.listUsers(RealmManager.java:1
    63)
         at
    weblogic.management.console.pages._domain._usertable._jspService(_usertable.
    java:346)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
         at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :213)
         at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:1265)
         at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :1622)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    * Name: Gary Wang
    * Tele: 010-65546668-8119
    * Mail: [email protected]

  • Global data in a servlet using iPlanet Web Server

    Our configuration is an Applet->Servlet->JNI->C/C++ code.
    We have C code that does a number of lengthy mathematical calculations. This C code not only uses its own global variables but, it is also comprised of numerous subroutines that all call each other, reading and writing global C variables as they go. These globals are all isolated to the C code shareable object (.so) library that is included using the LoadLibrary call when the servlet is initialized.
    The problem is that in a multi-user environment (3-5 simultaneous users) we need to have each user have their own "copy" of the servlet (and the C code) so that users will not be accessing each other's global data. We can NOT have only one copy of the C code and define it as synchronized because the calculations that are performed can take a very long time and we can not hold off user requests while the firs user finishes.
    Our hope is that there is a way to configure the iPlanet Web server such that each new user that starts up a copy of the Applet/Servlet combination will get their own "space" so that they can work independently of any other user. We have at most 20 users of this system and only 3-5 simultaneous users so we should not have a problem with memory or CPU speed.
    If anyone has a solution, I would greatly appreciate it!

    The C library is shareable. But you don't want it to be shared. That's your question summarized, isn't it?
    You probably can't prevent it from being shared, so to prevent multiple use of it you would have to queue up the requests to be done one at a time. WynEaston's suggestion of having the servlet implement SingleThreadModel would help, but I believe the servlet spec allows servers to run multiple copies of a servlet that does that (as opposed to running a single copy in multiple threads).
    Your other alternative is to rewrite the math in Java, or at least in some object-oriented language where you don't need global variables (which are the source of your problem). All right, I can already hear you saying "But that wouldn't be as fast!" Maybe not, but that isn't everything. Now you have a problem in queueing theory: do you want a single server that's fast, but jobs have to wait for it, or do you want multiple servers that aren't as fast, but jobs don't have to wait? That's a question you would have to evaluate based on the usage of your site, and it isn't an easy one.

  • Connection timeout when using iPlanet web-server uses Weblogic 6.1 proxy server to proxy requests to an HTTP server

    Hi all,
    My configuration is as follows: I have an iPlanet web-server that uses a WebLogic
    6.1 (sp1) server to proxy requests to another HTTP server. The HTTP request runs
    for 120 seconds. This causes Weblogic to timeout after a while. The error I get
    is as follows:
    <Aug 25, 2003 3:37:09 PM GMT+00:00> <Warning> <HttpClient> <Couldn't open connection
    java.net.ConnectException: Connection timed out
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:320)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:133)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:120)
    at java.net.Socket.<init>(Socket.java:273)
    at java.net.Socket.<init>(Socket.java:127)
    at weblogic.net.http.HttpClient.openServer(HttpClient.java:194)
    at weblogic.net.http.HttpClient.openServer(HttpClient.java:254)
    at weblogic.net.http.HttpClient.<init>(HttpClient.java:117)
    at weblogic.net.http.HttpClient.New(HttpClient.java:149)
    at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:109)
    at com.db.gmr.dcm.DebtIssueServlet.getVectorFromConnection(DebtIssueServle
    t.java:285)
    at com.db.gmr.dcm.IssuesUSThread.run(IssuesUSThread.java:29)
    >
    I get the same error when I added the following plug-in configuration parameters
    (in obj.conf):
    ConnectTimeoutSecs="170" ConnectRetrySecs="170".
    What do I need to do to extend this timeout? Any help you can provide will be
    greatly appreciated..
    Thanks
    Manish

    Hi all,
    My configuration is as follows: I have an iPlanet web-server that uses a WebLogic
    6.1 (sp1) server to proxy requests to another HTTP server. The HTTP request runs
    for 120 seconds. This causes Weblogic to timeout after a while. The error I get
    is as follows:
    <Aug 25, 2003 3:37:09 PM GMT+00:00> <Warning> <HttpClient> <Couldn't open connection
    java.net.ConnectException: Connection timed out
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:320)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:133)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:120)
    at java.net.Socket.<init>(Socket.java:273)
    at java.net.Socket.<init>(Socket.java:127)
    at weblogic.net.http.HttpClient.openServer(HttpClient.java:194)
    at weblogic.net.http.HttpClient.openServer(HttpClient.java:254)
    at weblogic.net.http.HttpClient.<init>(HttpClient.java:117)
    at weblogic.net.http.HttpClient.New(HttpClient.java:149)
    at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:109)
    at com.db.gmr.dcm.DebtIssueServlet.getVectorFromConnection(DebtIssueServle
    t.java:285)
    at com.db.gmr.dcm.IssuesUSThread.run(IssuesUSThread.java:29)
    >
    I get the same error when I added the following plug-in configuration parameters
    (in obj.conf):
    ConnectTimeoutSecs="170" ConnectRetrySecs="170".
    What do I need to do to extend this timeout? Any help you can provide will be
    greatly appreciated..
    Thanks
    Manish

  • Access to Oracle 8i DB using iPlanet web server

    Hi ,
    I have been trying to implement Connection Pooling in my application using the built-in features of iPlanet App server 6.5 . For the same i have made the following entries:
    1. web.xml
    <resource-ref>
    <description>Ptrade Entry</description>
    <res-ref-name>jdbc/ptradeDataSource</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    2. ias-web.xml
    <resource-ref>
    <res-ref-name>jdbc/ptradeDataSource</ref-ref-name>
    <jndi-name>jdbc/ptrade/ptradeDB</jndi-name>
    </resource-ref>
    3. Also my class tries to ge the context using
    try {
    InitialContext ic = new InitialContext();
    ds = (DataSource)ic.lookup("java:comp/env/jdbc/ptradeDataSource");
    catch (NamingException ne) {
    System.out.println("Naming Exception" + ne);
    Connection dbc = ds.getConnection();
    return dbc;
    However i am getting an javax.naming.NameNotfoundException: can't locate jdbc/ptradeDataSource.
    Could somebody pls tell me what is wrong with my configuration and code?

    Hi Rahul,
    Thanks for bringing this page to my
    notice..But there are still a few doubts which i
    have...
    . I have worked on JNDI so far, so could you please
    tell me where exactly i need to define the namespace
    of JNDI ? In which all configuration files would i
    need to declare the database? more specifically,Would
    i need to make any changes to server.xml?Probably web.xml and server.xml
    2. Could you please share any xml files that would
    give the additions that i need to make in my setup?I don't use iPlanet. Not many people do these days that I know of.
    You could look at the Tomcat docs on how to set up a JNDI data source. That should help.
    3. Would i need to explicitly close the DB
    connections in my code?You should be already. If you're not, you're writing bad code. ResultSets and Statements need to be closed as well.
    %

  • JSP creating XML, on Solaris 2.6 using Netscape Enterprise Server 4.0

    Hi,
    I have a jsp file which generates a dynamic xml document. Data is
    obtained from Oracle using jdbc and the OracleXSU utils : xmlparser.jar
    and xsu12.jar are used to give an XML string.
    This works fine on NT4.0/Java Web Server 2.0, but when I port to
    Solaris 2.6,Netscape Enterprise Server 4.0, this gives problems.
    I get the following error message which is of no help. Nor there
    is an error message on the Solaris log files.
    The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
    Unspecified error
    When you do a View Source, it does show the XML returned from the
    server, but it simply doesn't style it on the browser.
    Is there any setting anywhere?
    Please help.
    Thanks,
    Cassian.

    How did you setup the *.xsql mapping to the
    oracle.xml.xsql.XSQLServlet servlet ?
    I don4t know how to do this with Netscape
    Enterprise Server.
    Thanks for your help!
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Julie Zhu ([email protected]):
    We are running //...//oracle.xml.xsql.XSQLServlet/helloworld.xsql on Netscape. Enterprise Server 4.0 SP4 on UNIX and getting the following message
    XSQL-003: Failed to find 'XSQLConnections.xml' file in server CLASSPATH.
    XSQL-004: Could not acquire a database connection named: demo
    XSQL-007: Cannot acquire a database connection to process page.
    We have tried to put XSQLConfig.xml in every where that the Server suppose to find, but returned with the same error message. We don't know what we can do next. Can any of you give us some suggestion? Besides, we also have following questions:
    1. How do you treat XSQLConfig.xml inside of your source code? Which path does it search?
    2. Is the file XSQLConfig.xml all lower case or case mixed inside of your code? Because when we extract downloaded file on UNIX machine, it returns with xsqlconfig.xml, but on WINNT, it was XSQLConfig.xml. Which one is right? However, in UNIX even we chang it to XSQLConfig.xml, it still does work.
    We are really in dead-end, please help.
    Julie Zhu<HR></BLOCKQUOTE>
    null

  • Using iPlanet Web Server 6.0 (with ASP or JSP), is it possible to create a StarOffice, Word or Acrobat document using a template and merging it with data from a database (say Oracle)?

     

    Hi,
    It is possible, But it has to be done through codes and iPlanet Web Server has nothing to do with it. But if you want to create the word document by ASP you have to install ASP plugin like ChilliASP (from Chilisoft) with iPlanet Web Server.Merging with database can be done through your code.
    To know more abt creating word doc through ASP try this link
    http://web.ukonline.co.uk/vance/code/aspworddoc.pdf
    Regards,
    T.Raghulan.

  • Oracle Portal for LDAP Authentication using Iplanet directory server

    I have oracle portal on solaries machine and Iplanet directory server 5.1 on windows NT,
    Can i user portal user authentication Iplanet LDAP.
    Regards
    srinivas

    Yes You can. You have to provide the necessary info while running the ssoldap.sql.
    Vinodh R.

  • Access pdf files on-line using iPlanet as server

    We are using Sun One Web Server as server. Our system generate files in pdf fomat and this pdf format must be available online. We created a folder inside server machine directory e.g. /var/opt/generatedreports/ .. The pdf files will open once a user clicks on the link.
    how could i check this directory-mapping?

    Ok, thanks. I think I will find a way to show the files. Maybe i'll use a jsp page instead. Thanks again.

  • I use Iplanet web server and my question is, once I make changes to my java file, is it necessary to restart the server after every change to the file(java)??

     

    Hi,
    In your iWS, Go to particular instance config directory
    edit contexts.properties file
    (eg:-/usr/netscape/server4/https-test/config/contexts.properties).
    Do the below changes.
    (uncomment
    context.global.reloadInterval=5
    "And"
    context.global.isModifiedCheckAggressive=true).
    Example:-
    ~~~~~~~~~~~
    # Context properties:
    # context.global.sessionmgr=com.netscape.server.http.session.SimpleSessionManager
    # context.global.sessionmgr.initArgs=
    # context.global.initArgs=initial=0
    # context.global.realPathFromRequest=false
    # context.global.respondCookieVersion=0
    # context.global.sessionExpireOnClose=false
    # context.global.includeTransparency=true
    # context.global.tempDir=/tmp
    context.global.reloadInterval=5
    # context.global.javaBufferSize=0
    # context.global.bufferSize=4096
    # context.global.docRoot=/foo/bar
    # context.global.inputStreamLengthCheck=true
    # context.global.outputStreamFlushTimer=0
    # context.global.uri=/
    # context.global.host=
    # context.global.ip=
    # context.global.authdb=default
    # context.global.classpath=
    # context.global.singleClassLoader=false
    # context.global.contentTypeIgnoreFromSSI=true
    # context.global.parameterEncoding=utf8
    # context.global.sessionCookie=NSES40Session
    context.global.isModifiedCheckAggressive=true
    I hope this will work for you.
    Thanks,
    Daks.
    Developer Technical Support
    Sun Microsystems
    http://www.sun.com/developers/support.

  • Why should we use iPlanet Web Server compared to TomCat?

     

    i seriously doubt you want to use wsdl4j unless you are doing really advanced webservice work. assuming you are developing this webservice from scratch, you basically want to use JAXWS: define an appropriate interface and your value classes, and let JAXWS do the rest. metro is the JAXWS implementation included in the oracle jdk and it has great tutorials and reference documentation online. i'd suggest you start here: http://metro.java.net/getting-started/

  • Netscape Enterprise Server running Cylink PrivateWire security software becomes unresponsive

    I'm using iPlanet Web Server 4.1, Server Side Java Script (SSJS), LiveWire, and a security software, Cylink PrivateWire. When concurrent users increase, the server becomes unresponsive, forcing me to restart the hung server. What configurations need to be done on the Web Server.Will configuration of parameters 'Listen Queue Size', 'HTTP Persistent Connection Timeout', 'Native Thread Pool' have a specific effect?

    Hi,
    Please let me know, The below information.
    1. is there any errors? in error log.
    3. let me know the .perf output of your server.
    4. iWS service pack ??
    And please try to increase RqThrottle(magnus.conf) and file descriptors value( at OS side).
    and let see any improvements.
    (http://docs.iplanet.com/docs/manuals/ enterprise/41/scaling/html/estune.htm)
    And to confirm the sceniro iWS becomes
    unresponsive after particular load. I would request you
    to create one more test instance without enableing
    Cylink PrivateWire security software. And test it out
    whether iWS becomes unresponsive after some concurrent users increase.
    Thanks,
    Thanks,
    Dakshin.
    Developer Technical Support
    Sun Microsystems
    http://www.sun.com/developers/support.

  • Oracle Enterprise Server 8i 8.1.7 and HP Proliant ML350 G3

    I would like if it has any clarification regarding the compatibility problem between Oracle Enterprise Server 8i 8.1.7 and HP Proliant ML350 G3 Server. I cann't proceed with the installation of Oracle Enterprise Server 8i 8.1.7 on that machine whilst the process just stop at first logo. When I'm using Oracle Enterprise Server 9i 9.1 version, the installation process can proceed successfully. But, my customer (own Oracle Enterprise Server 8i 8.1.7) requires to install Oracle 8i 8.1.7 not Oracle 9i 9.1 version.
    So, please someone help me to rectify that problem !!!!!

    Can it be installed? It probably can be (assuming we're talking XP Professional).
    Is it certified? On the main OTN page, under "Get Support" is the certification & availability matrix. Following that down, you'll find that the Oracle client was certified on 8.1.7, subject to the application of a number of patchsets, but that the Oracle database was not. Windows 2000 was the latest flavor of Windows that was certified with the 8.1.7 database.
    Justin
    Distributed Database Consulting, Inc.
    www.ddbcinc.com

  • Help required on iPlanet Web Server.

    I am using iPlanet Web Server 4.1 to run my jsp' ans servlets. I need to know that if i write System.out.println("Hello World") statement in my Servlet, where it will get printed. Please let me know if theres some way for that. As this is very help full in knowing the prog flow.
    In Jakarta-Tomcat a window popsup and System.out.println statments are printed there. Is there any way we can do with iPlanet.

    Hi,
    You need to configure your web server.
    FOllowing should help you to solve your problem.
    http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsunone%2F4790&zone_110=4790%2A%20
    http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsunone%2F4235&zone_110=4235%2A%20
    http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsunone%2F4699&zone_110=4699%2A%20
    -Amol

Maybe you are looking for

  • Convert a string value to a variable

    I have faced a problem while writting down the following Pl/SQL block...I want to select the field values dynamically from emp table.... DECLARE V_COL VARCHAR2(20); V_COL1 VARCHAR2(20); TYPE T IS TABLE OF EMP.ENAME%TYPE; T1 T; CURSOR C IS SELECT COLU

  • Newbie Layout Help Needed

    I am normally an After Effects and Premiere Pro user but have been forced to volunteer for help on a Dreamweaver project.  The site is built on the template: HTML, 1 column fixed, centered, header and footer.  I want to be able to insert a photo the

  • Combine output  from two data sources for a line graph.

    Hello Experts, I need your help in following scenario. Scenario - We have a line graph created in VC. We have a numeric field in the data seris and a date field in the Category axis.                   This is working fine. Requirement - Customer want

  • Stray process killed by launchd

    Hi there, I am trying to make launchd restart a Java daemon in my Mac. I finally made my plist file work. I use a shell script that kills old java process and starts it from scratch. It works but right after the shell script finishes executing launch

  • Japplet jar file

    hi friends..... i have created an java project in which an japplet file is added. i searched allover in this folder but barring japplet class file and javafile there is not any other file created after running this japplet. actually my quary is how c