IPlanet WebServer Hangs on JSP file change

Hello,
I am using IPlanetWebServer-Enterprise/4.1SP5 and the server just hangs when there is a JSP file changed after the first successfull load. Looking at ther errors log, I can see that it is doing:
compileJSP(): invoking Java compiler, file =/.....
When the first time its successful, it follows that compilsJSP() with
For JSP Compilation : JDKLocation-/usr/java/, fork_java_c=no,enable_debug=yes
Is there a fix for this problem?? Please help
Thanks

I did all of the 3 things that you told me in the context.properties file.
The same behavior is still happening....here is the sequence
1) start the server from scratch
2) load the jsp file (ok)
3) change the jsp file with emacs
4) reload the jsp file (ok, see the changes)
5) change ths jsp file with emacs again
6) reload the jsp file (HANGS, browser is just waiting for reply)
errors file trace...
04/Mar/2002:11:49:44] info (12964): Service(): uri=/seehawk/optimizer/jsp/omCost.jsp cgiScriptName=/seehawk/optimizer/jsp/omCost.jsp token=null cached=false
[04/Mar/2002:11:49:44] info (12964): JSP: This is a jsp 1.x file
[04/Mar/2002:11:49:44] info (12964): JSP: Before JSP1x compiler.compile, servletName = /seehawk/optimizer/jsp/omCost.jsp servletPath = /usr/local/home/gasweb/seehawk/optimizer/jsp/omCost.jsp & dir = ../ClassCache
[04/Mar/2002:11:49:44] info (12964): JSP1x Jasper Trace: Package name is: jsps.seehawk._optimizer._jsp
[04/Mar/2002:11:49:44] info (12964): JSP1x Jasper Trace: Class name is: omCostjsp
[04/Mar/2002:11:49:44] info (12964): JSP1x Jasper Trace: Java file name is: /usr/local/netscape/server4/https-kw_chan/config/../ClassCache/_jsps/_seehawk/_optimizer/_jsp/_omCost_jsp.java
[04/Mar/2002:11:49:44] info (12964): JSP1x Jasper Trace: Class file name is: /usr/local/netscape/server4/https-kw_chan/config/../ClassCache/_jsps/_seehawk/_optimizer/_jsp/_omCost_jsp.class
[04/Mar/2002:11:49:45] info (12964): JSP1x Jasper Trace: Compiling with: -classpath /usr/local/soap-2_2:/usr/local/xerces-2_0_0/xercesImpl.jar:/usr/local/xerces-2_0_0/xmlParserAPIs.jar:/usr/local/soap-2_2/lib/soap.jar:/usr/local/:/usr/local/netscape/server4/plugins/samples/servlets/beans.10/SDKBeans10.jar:/usr/local/netscape/server4/plugins/samples/servlets/beans/SDKBeans.jar:/usr/local/netscape/server4/bin/https/jar/Bugbase.jar:/usr/local/netscape/server4/bin/https/jar/Calljsac.jar:/gasweb:/usr/local/netscape/server4/webagent/java/SafeAdapter.jar:/usr/local/netscape/server4/webagent/java/SafeAdapterHelper.jar:/usr/local/netscape/server4/webagent/java/env.jar:/usr/local/netscape/server4/webagent/java/jsafe.jar:/usr/local/netscape/server4/webagent/java/msr.jar:/usr/local/netscape/server4/webagent/java/smjavaagentapi.jar:/usr/local/netscape/server4/webagent/java/smjavasdk.jar:/usr/local/netscape/server4/bin/https/jar/NSServletLayer.jar:/usr/local/netscape/server4/bin/https/jar/NSJavaUtil.jar:/usr/local/netscape/server4/bin/https/jar/NSJavaMiscUtil.jar:/usr/local/netscape/server4/bin/https/jar/servlets.jar:/usr/local/netscape/server4/bin/https/jar/jsp092.jar:/usr/local/netscape/server4/bin/https/jar/xml.jar:/usr/local/netscape/server4/bin/https/jar/jspengine.jar:/usr/local/netscape/server4/bin/https/jar/SSJS.jar:/usr/local/netscape/server4/bin/https/jar/js14lc30.jar:/usr/local/netscape/server4/bin/https/jar/ldapjdk.jar:::../ClassCache:/usr/local/netscape/server4/https-kw_chan/config/../ClassCache -d /usr/local/netscape/server4/https-kw_chan/config/../ClassCache /usr/local/netscape/server4/https-kw_chan/config/../ClassCache/_jsps/_seehawk/_optimizer/_jsp/_omCost_jsp.java
[04/Mar/2002:11:49:45] info (12964): IWSJavaC.compile(): forking external compiler, java=/usr/java//bin/javac
Thanks
Ka-Wai

Similar Messages

  • Iplanet webserver 4.1 JSP problem

    Hi I am using iplanet webserver 4.1, whenever i change my jsp file, i have to restart my webserver instance otherwise ia gm getting error..is ther any way i can prevent to restart the webserver?

    this is the script.
    mv /logs/https-`uname -a`-443/access /logs/https-`uname -a`-443/access.yesterday
    compress /logs/https-`uname -a`-443/access.yesterday
    /opt/netscape/server4/https-`uname -a`-443/restart
    the moving and compressing works properly but the restart command doesn't actually kill the and restart the httpd process, and doesn't create the access or error log.
    The restart is a graceful restart will not ask for password, the same setting was working fine for a long time. it suddenly started to give this problem.
    the webserver is working fine(taking requests ,etc) except that the log files are not being written.
    i did a truss and the data collected is above i see that it is giving error #91 ERESTART many times
    there is another server with same settings which is working fine the only difference is that its patch level is lower.

  • Where to place my java bean files in iplanet Webserver  6.0

    Hi,
    I have installed SunOne iPlanet webserver 6.0 (Not Application Server). I have written very simple jsp program, that will instance a java bean (not EJB).and say Hello world. I have written test.jsp I have placed under c:\iplanet\servers\docs (root webdirectory). Where do i need to place helloBean.java file in iplanet webserver 6.0. Even i have created WEB-INF\classes & WEB-INF\lib folder under c:\iplanet\servers\docs I have created a .war file, that also put in classpath of iplanet. Finally i am getting here message that, helloBean.not found, when i see the error log file. Do i need to create jar / war file to do this simple program ?
    Please answer me, i am very much interest on this.
    Thank a lot
    Regards
    - Thilip

    Hi,
    Thanks for your immediate reply. Still, i am getting the same problem. I have gone through your instruction.
    i have placed my jsp file in c:/iplanet/servers/docs folder
    i have placed my bean file in c:/iplanet/servers/docs/firstBean folder
    Also mentioned in JVM classpath as like this
    c:/iplanet/servers/docs/firstBean
    But i am getter error msg that firstBean.databaseBean class not found.
    Please suggest me to do any other neccessary step ?
    Please inform me.
    Thanks in advance.
    Regards
    - Thilip

  • Delete or change JSP files

    Hi Guys,
    when I delete a JSP file in web, I've still access to the deleted file with InternetExplorer. When I change and save a JSP file the InternetExplorer shows the old version.
    How can it be? How can I delete or Change the file correctly?
    The other discusions brought me no solution.
    http://scn.sap.com/thread/1772196 I don't have autorization for this solution.
    I'm using MII 14.0 SP4 Patch 2.
    Regards,
    Matthias

    Hi Mathias,
    You can try using "Publish" option on right click of the parent folder of the JSP page or on the WEB folder of your project. The reason you are still able to access deleted file is that the file is still on the server and a publish would re-copy the contents under the folder on to the server.
    Same is the reason for you not being able to see the changes that you do in JSP page. Try "Publish" after any changes to web resources.
    Hope this helps!
    Regards,
    Ria

  • Tomcat doesn't pick up the changes to jsp files

    My original problem was JAR locking. I changed context.xml files both in conf\ and my application.
    jakarta-tomcat-5.5.9\conf\context.xml
    <Context  reloadable="true" antiResourceLocking="true" antiJARLocking="true">
           <WatchedResource>WEB-INF/web.xml</WatchedResource>     
    </Context>myApplication\META-INF\context.xml
    <Context  reloadable="true" antiResourceLocking="true" antiJARLocking="true">        
        <WatchedResource>WEB-INF/web.xml</WatchedResource>
    </Context>Now I can undeploy without having jarLocking problem.
    But now tomcat doesn't pick up the changes to jsp files automatically!!!
    I have to undeploy/deploy even I just change jsp files!
    What's wrong?

    You can't do anything except speak in a different accent. Apple would have to add specific support for different accents in a future iOS update.

  • Unable to change .jsp file at runtime using weblogic 8.1 server

    Hello all,
    I'm running weblogic 8.1 and the development environment is workshop.
    I have several .jsp files in the application.
    when the server is running and I try to change the .jsp file and access it throw the browser, I'm getting compilation errors and when I copy the original file again everything is OK.
    I'm gessing the problem occurs due to the date of the new .jsp file(if I compile the .jsp file it creates a new servlet with newer date then the file generate when compiling the application before running the server).
    Your advice will be welcome.

    Hi Robert,
    Take a look at the SAP Note "[1553921 - Is there a utility that would help in writing database logon code?"|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533353333333933323331%7D.do]
    The utility provided in above SAp Note will generate the logon code for your existing report, update the logon information of the target database in the code.
    Also search for the sample application 'change database at runtime' in top right corner search box.
    Hope it helps,
    Thanks,
    Bhushan.

  • My JSP file does not reflec the change of a Bean

    My test environment: Win 2000, JDK 1.3.1, OC4J(standalone)
    My problem:
    In servlet, the change of a Strng value is reflected at the next refresh of a browser.
    But, when a jsp file call a bean's getXXX(return a String value) method, and if the String value of that bean is changed, the next refresh or visit to that jsp file does not reflect the change of that bean.
    For example:
    1) TestClass.java
    public class TestClass {
    private String txt;
    public class TestClass {
    txt = "Test"; ----- (g
    public String getTxt() {
    return txt;
    2) test.jsp
    <html><body>
    <h2>
    <% TestClass test = new TestClass(); --(h
    out.print(test.getTxt()); %> --(i
    </h2>
    </body></html>
    In my first vistit to "http://localhost:8888/test.jsp" the brower shows "Test" String, but after I change the txt value to "Test1"((g) the brower does not reflect the change.
    I found that if I use <jsp:useBean id="test" class="TestClass" /> instead of (h-(i line, the brower reflects the change of the bean.
    Why does this occur?
    Thaks in advance.
    PS) In some cases(Not above example), I get the java.lang.ClassCastException.
    So Each time I change a Servlet or a Bean, I restart OC4J.
    null

    SangKyu,
    <jsp:useBean > has a property called scope, which defaults to "page".
    So the bean gets reset everytime you reload the page.
    Can I suggest that you set it to "session"?
    The following syntax card I have found userful:
    http://java.sun.com/products/jsp/syntax.pdf
    Cheers,
    Scott
    Atlassian - Supporting YOUR 'Orion/OC4J' World
    http://www.atlassian.com - [EMAIL][email protected][EMAIL]

  • Can I change scope in my jsp file ??

    Hi all,
    I have html form, jsp for display, bean for Logic and I want the project result is doing sarch in html file,
    bean handle the search in database, and display in jsp, since the database is big, the result is lot, so I want my search result be display 10 recode per page there for I had to use session in my display jsp file.but that bother my new search, if I don't reopen my browns I can't do the new search, like first I search chicken it has over 400 recods, then I jump back to my html file and want to search by duck , I still got the result chicken, if I change my scope to request then is easy to start a new search but can't do to next.
    any ideal??

    Hi,
    The problem still at handle continue search and a new search. i add a again method in my jsp file and can handle new search and old session for few search then get error
    IndexOutOfBoundsException: Index: 60, Size: 4
    <html>
    <head>
         <title>select List</title>
    </head>
    <body>
    <basefont face="Arial">
    <%@ page import = "num.NameBean" %>
    <jsp:useBean id="ViruName" scope="session" class="num.NameBean"/>
    <jsp:setProperty name="ViruName" property="*"/>
    </jsp: useBean>
      <%
       if (ViruName.getString()==null){%>
        <center>
         Sorry, you nedd to enter something for search!
      <br>
    <font size=-1>(Please hit the browser 'back' button to continue)</font><br>
    </center>
    <%}else{%>
    <table align="center" width="600"border="1">
         <tr>
              <td width="20%"><b>FieldNumber</b></td>
              <td width><b>Name</b></td>
              <td width="30%"><b>HiTiter</b></td>
              <td width="30%"><b>SubType</b></td>
         </tr>
    <%
         int rowCount = 0;
         int startRow = 0;
         if (ViruName.Mysearch()) {
              String start = (String) request.getParameter("start");
              if (start != null) {
                   startRow = new Integer(start).intValue();
                   ViruName.setStartRow(startRow);
              while (rowCount < 10 && ViruName.nextRow() > 0) {
                   rowCount++;
    %>
         <tr>
                   <td width="10%"><jsp:getProperty name="ViruName" property="fieldNumber"/></td>
                    <td width="30%"><jsp:getProperty name="ViruName" property="name"/></td>
              <td width="30%"><jsp:getProperty name="ViruName" property="hiTiter"/></td>
              <td width="30%"><jsp:getProperty name="ViruName" property="subType"/></td>
         </tr>
    <%
              }//end while
         }//end if
    %>
    </table>
         <!-- Display the back and next links -->
                   <a href="?start=<%= ViruName.getCurrentRow() %>">Next</a>
                            <% ViruName.again();%>
                     <a href ="test.html">new search</a>
    <%
    %>
    </body>
    </html>
    package num;
    import java.util.*;
    import java.sql.*;
    public class NameBean implements java.io.Serializable {
      /* Member Variables */
      private String fieldNumber;
      private String name;
      private String hiTiter;
      private String subType;
      private String string;
      private String text=null;
      /* ArrayLists to hold recordsets */
      private List fieldNumberList, nameList, hiTiterList, subTypeList;
      /* Helper Variables */
      private int currentRow;
      private int rowCount;
      private Connection db = null;
      /* Constructor */
      public NameBean() {
        /* Initialize bean properties */
        setFieldNumber("");
        setName("");
        setHiTiter("");
        setSubType("");
        /* Initialize arrayLists to hold recordsets */
        fieldNumberList = new ArrayList();
        nameList = new ArrayList();
        hiTiterList = new ArrayList();
        subTypeList = new ArrayList();
        /* Initialize helper variables */
        currentRow = 0;
        rowCount = 0;
        /* Get database connection */
        dbConnect();
      /* Get Database Connection */
      private void dbConnect() {
        if (db == null) {
          try {
            Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
            db = DriverManager.getConnection("jdbc:microsoft:sqlserver://localhost:1433;selectMethod=cursor","test","1234");
            db.setCatalog("HKData");          
          catch (Exception e) {
            System.out.println("Error Connecting to catalog DB: " + e.toString());
      /* Accessor Methods */
      public String getfieldNumber() {
        return fieldNumber;
    /* one way to set data will get from database */
      public void setFieldNumber(String fieldNumber) {
         this.fieldNumber =fieldNumber;
      public String getName() {
        return name;
      public void setName(String _name) {
        name = _name;
      public String getHiTiter() {
        return hiTiter;
      public void setHiTiter(String _hiTiter) {
        hiTiter = _hiTiter;
       public String getSubType() {
        return subType;
      public void setSubType(String _subType) {
        subType = _subType;
    public  String getString(){
        return string;
    public void setString( String string ) {  
       this.string =string;    }
      /* Read-only attribute */
      public int getCurrentRow() {
        return currentRow;
      /* Populate Record List */
      public boolean Mysearch() {
        /* If prodIDList is empty, then execute the query to populate it */
        if (fieldNumberList.isEmpty()) {
          try {
                       Statement s = db.createStatement();
                      String Sql="select ViruName00.FieldNumber, Name, HiTiter, SubType, Storage";
                             Sql+=" from ViruName00, Storage00";
                             Sql+=" where ViruName00.NewNum=Storage00.NewNum and Name like'"+string+"%'";
                            Sql+=" Union";
                             Sql+=" select ViruName01.FieldNumber,Name, HiTiter,SubType, Storage";
                            Sql+=" from ViruName01, Storage01";
                             Sql+=" where ViruName01.NewNum=Storage01.NewNum and Name like'"+string+"%'";
                            Sql+=" Union";
                             Sql+=" select ViruName02.FieldNumber,Name, HiTiter, SubType,Storage";
                             Sql+=" from ViruName02, Storage02";
                             Sql+=" where ViruName02.NewNum=Storage02.NewNum and Name like'"+string+"%'";
                             Sql+=" Union";
                             Sql+=" select ViruName03.FieldNumber,Name, HiTiter, SubType, Storage";
                             Sql+=" from ViruName03, Storage03";
                             Sql+=" where ViruName03.NewNum=Storage03.NewNum and Name like' "+string+"%'";
               ResultSet rs = s.executeQuery (Sql);
            fieldNumberList.clear();
            nameList.clear();
            hiTiterList.clear();
            subTypeList.clear();
            rowCount = 0;
            while (rs.next()) {
              fieldNumberList.add(rs.getString("FieldNumber"));
              nameList.add(rs.getString("Name"));
              hiTiterList.add(rs.getString("HiTiter"));   
              subTypeList.add(rs.getString("SubType"));
              rowCount++;
          catch (Exception e) {
            System.out.println("Error populating productBean: " + e.toString());
            return false;
        /* Return status of operation (assume success if it made it this far) */
        return true;
      /* Reset current row */
      public void setStartRow(int start) {
        if (start < rowCount) {
          currentRow = start;
      /* Move to next row */
      public int nextRow() {
        if (currentRow == rowCount) {
          currentRow = 0; // Reset for next page request
          return 0; // return 0 to indicate end of recordset
        /* Populate bean properties with current row */
        setFieldNumber((String)fieldNumberList.get(currentRow));
        setName((String)nameList.get(currentRow));
        setHiTiter((String)hiTiterList.get(currentRow));
        setSubType((String)subTypeList.get(currentRow));   
        currentRow++;
        /* return currentRow*/
        return currentRow;
    public void again(){
        fieldNumberList.clear();
            nameList.clear();
            hiTiterList.clear();
            subTypeList.clear();
    }

  • Where do I deploy my jar and jsp files in iplanet server directory ?

    I am new to iPlanet webserver , we are using version 6.
    can anyone give me brief explanation to this. Thanks.

    Hi,
    Please follow the below steps for running JSP & Servlet in iWS6.0
    What Does the Server Need to Run JSP.
    iPlanet Web Server 6.0 includes the Java Runtime Environment (JRE) but not the Java Development
    Kit (JDK) due to licensing restrictions.
    The server can run servlets and precompiled JSPs using the JRE, but you need the JDK to develop
    new JSPs or to deploy uncompiled JSPs.
    Configuring JRE/JDK Paths.
    <b> To specify the path to the JDK.</b>
    1.Switch to the Web Server Administration Server.
    2.Click the "Global Settings" tab and select "Configure JDK/JRE Paths".
    3.Specify the path to your JDK. This is the path up to the level where the bin, lib, etc.
    directories exist.
    <b>Java Server Pages</b>
    Ensure that JSP are enabled.
    Test JSP :
    Open a browser and access your servlet with the following URL :
    http://hostname:port_number/jsp/Helloworld.jsp
    <b> Using Servlet Pages </b>
    Access the Administration Server
    1. Simply start a browser and type the following URL in your browser :
    http://hostname.domain-name:administration_port
    2. You will be prompted for you administrator User ID and Password. Enter
    the correct information.
    3. In order for Servlet to execute properly, there must be a designated Servlet directory.
    By default, "Servlet" is defined within your document root.
    <b> Test Servlet </b>
    Open a browser and access your servlet with the following URL :
    http://hostname:port_number/servlet/HelloworldServlet
    <b>For deploy Webapplications, I hope the below link will help you.</b>
    http://docs.iplanet.com/docs/manuals/enterprise/60sp1/ag/esprgrm.htm#1006308
    http://docs.iplanet.com/docs/manuals/enterprise/60sp1/ag/esprgrm.htm#1004309
    I hope this helps.
    Thanks,
    Dakshin.
    Developer Technical Support
    Sun Microsystems
    http://www.sun.com/developers/support.

  • Error  404 Not Found in  iplanet webserver

    Hi,
    We have application to hosted in iplanet webserver and weblogic application server.
    we/users accesing one URL like http://domain.com/context/folder1/index.jsp.
    some request fails(intermittently) and giving 404 not found error to user page.we checked the iplanet access and error logs. in logs we saw 404 not found error.
    we got some solution to change KeepAliveTimeOut param from 30 sec to 300 sec. we did the same . but after that also we are facing the issue.
    please any one knows . please help us.
    Regards
    karthik

    Hi,
    Is your web server forwarding all requests to Application server (web logic). If so you need ti have those files in the app server doc root.
    give more details like what you are using passthrough or reverse proxy for request forwarding to Weblogic from Webserver.
    thx

  • Virtual Hosting in iPlanet WebServer 6.0

    I have created a virtual server in the default installation of iPlanet WebServer 6.0 The Virtual Server Class is the DEFAULT class. For a Vortual object class i'll have a obj.conf rite????
    But my obj.conf don't have any object for obj.conf
    I have attached my obj.conf files below....
    First is from /wsroot/https-instance/config
    # Use only forward slashes in pathnames--backslashes can cause
    # problems. See the documentation for more information.
    <Object name=default>
    NameTrans fn="NSServletNameTrans" name="servlet"
    NameTrans fn="pfx2dir" from="/servlet" dir="d:/iplanetws/servers/docs/servlet" name="ServletByExt"
    NameTrans fn=pfx2dir from=/mc-icons dir="d:/iplanetws/servers/ns-icons" name="es-internal"
    NameTrans fn="pfx2dir" from="/manual" dir="d:/iplanetws/servers/manual/https" name="es-internal"
    NameTrans fn=document-root root="$docroot"
    PathCheck fn=nt-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
    </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>
    Next is in /wsroot/https-admserv/config
    # Use only forward slashes in pathnames--backslashes can cause
    # problems. See the documentation for more information.
    <Object name="default">
    NameTrans fn="admin-uri2path" root="d:/iplanetws/servers/https-admserv/config"
    NameTrans fn="NSServletNameTrans" name="servlet"
    NameTrans fn="pfx2dir" from="/servlet" dir="d:/iplanetws/servers/docs/servlet" name="ServletByExt"
    PathCheck fn="admin-check-admpw" admpwfile="d:/iplanetws/servers/https-admserv/config/admpw" admdns="*.iplanet.com" admip="*" final=true
    PathCheck fn=find-pathinfo
    PathCheck fn="nt-uri-clean"
    PathCheck fn="ntcgicheck" extension=".exe"
    PathCheck fn=find-index index-names="index.html"
    ObjectType fn="type-by-extension"
    ObjectType fn="force-type" type="magnus-internal/cgi"
    Service fn="send-cgi" type="magnus-internal/cgi"
    Service fn="NSServletService" type="magnus-internal/jsp"
    Service fn="imagemap" method="GET" type="magnus-internal/imagemap"
    Service fn="send-file" method="GET"
    Error fn="admin-error" reason="server error"
    AddLog fn="flex-log" name="access"
    </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">
    ObjectType fn="force-type"
    </Object>
    <Object name="jsp">
    Service fn="NSServletService"
    </Object>
    Plzz. clarify in this regards..
    Thanks and Regards
    Ashok R

    Hi,
    In iWS6.0 it has been changed. About virtual configuration details,
    it will under "server.xml" file, please look it out above file in config directory.
    For more information, look it to
    NSAPI Programmer&#8217;s Guide for iPlanet Web Server.(http://docs.iplanet.com).
    Thanks,
    Daks.

  • Accessing my own class members from the JSP file

    Hi,
    I have created a class by name simple.java.and the package structure is like sridhar.source.useful.In this package i placed my file simple.java.
    Now i import this file with the import statement in JSP like
    <%@ import = "sridhar.source.useful.*" %>
    Now from the JSP file i want to execute some of the methods in simple.java.
    I tried this one by importing the simple.java in my JSP file,but i am getting some errors:
    variables that i have declared in Java files are not defined.
    The JSP is not importing the class simple.java
    I am executing my JSP in weblogic6.1(webserver is IPlanet)
    shall i need to set any classpath for this in the weblogic shell script??
    pls clarify me if any configuration is to be made or not??
    regards
    Naidu

    For JSP with IPlanet/weblogic and imported custom classes:
    Put your class / package in the correct folder. $path is any path you want....
    Ex: package foo, class foorbar must be
    $path/foo/foobar.class
    All classes must be .class, not .jar.
    Weblogic/IPlanet must be configured to have the CLASSPATH
    $path/
    (do not include foo/foobar!)
    The JSP has
    <%@ import "foo.*" %>
    Your class may now be used just like the other imported classes. Say you have an object Foobar with a constructor, you can just say
    Foobar myFoo = new Foobar();
    I do this with my classes, so if you have any questions, just ask.

  • Webserver in seperate exe file??

    Hi Guys
    So - I'm developing a piece of software that aqquires data from a USB board - this has been working well for years, everybody is happy..
    Now I want to publish the results to users via the NI web server.. Using the web publishing tool I have created a html doc from a sub VI within  the main application with the front panel I wish to publish, and that displays various values updated every 5 seconds..(the monitor function, NOT remote control).. I quickly realized that when a number of browsers are looking at the VI my main application starts to hang - have not been able to fully understand why, but I guess the NI core waits for each request to be shipped.. not really a problem since I'm not doing a VI to be published on facebook with +1.000.000 viewers - but since it potentially stalls the entire application, I risk that my measurement is disrupted, which is a no go, since the measurement may be in the field somewhere, and not next to a guy at an office desk.. Thus - I moved the call to the sub-VI into an external call using a static VI reference and the front panel open / Run methods and the "wait untill Done" flag set to false.
    This too is working very well and inside the development system I can now "sabotage" the application with multiple hits on the "refresh" button of a browser without stalling the application.. now problems arise - part because I do not have a full working knowledge of how the runtime engine operates, i guess - but... when I build this program into an exe, I can again stall the program by hitting the "refresh" button fast.... I assume that the runtime engine treats everything called from within the exe file in one thread?? 
    Questions:
    Is there a way (in a labVIEW .EXE file) to call a VI from another VI that totally separates them from each other so that if 'mainprogram' calls 'webserver', and 'webserver' hangs for some reason, this does not cause 'mainprogram' to equally hang? Could I for instance change the execution system of the VI with all 'webserver' related contant in the "execution" options?
    If not - I guess building two exe files 'mainprogram' & 'webserver' and then launch 'webserver' using system exec from 'mainprogram' will prove a solution.
    however - this means that now passing of data is no longer possible - in 2010 using lv8.6, what is the best means to move data back and forth between two seperate exe files? Ideally I would send a cluster of refnum's of the indicators from 'mainprogram' then read the values of these in 'webserver' and update the display here - but is the reference addresses from one exe, anything worth in the other exe (two seperate address spaces etc)?
    Should I learn to use datasockets - or would a TCP approach be the best? We are not talking massive amounts of data - in the area of 15 value and string controls + 2 graphs with less than 1000 points. Remember that this should only be done locally between two exe files on the same computer, to I would prefer to keep this as simple as possible - something like a pipe used in Unix code. 
    Last but not least - is there a way to run 'webserver' as some sort of service, so that the user will avoid having a window open he does not need, or a minimized 'webserver' window in the taskbar?
    many questions - and yes I know that I can read all about datasockets and TCP in the forum halls - and I'm doing it, but I would prefer to not waste too many days brushing up on new stuff not needed because my plan is wack from the start..
    Thank you for your help. 

    this is my question regarding the .exe files.
    what if i whant to make my project available for every one, not only for those that already have jre instaled, and someone that doesn't know or doesn't want to install jre want's to benefit from it????
    what do u have to answer to that??
    a serious answer please..!!

  • While integrating Weblogic server with Iplanet webserver

    Hi ,
    I am facing issues while connecting weblogic application server with Iplanet webserver:
    while i hit the desired url, it showing the below log, it is not providing me proper page (weblogic console page )
    Sat Mar 23 06:12:37 2013 <1535513639993579> URL::parseHeaders: CompleteStatusLine set to [HTTP/1.1 302 Moved Temporarily]
    Sat Mar 23 06:12:37 2013 <1535513639993579> URL::parseHeaders: StatusLine set to [302 Moved Temporarily]
    Sat Mar 23 06:12:37 2013 <1535513639993579> Hdrs from WLS:[Date]=[Sat, 23 Mar 2013 00:42:37 GMT]
    Sat Mar 23 06:12:37 2013 <1535513639993579> Hdrs from WLS:[Transfer-Encoding]=[chunked]
    Sat Mar 23 06:12:37 2013 <1535513639993579> Hdrs from WLS:[Location]=[http://10.11.12.231/console/login/LoginForm.jsp]
    Sat Mar 23 06:12:37 2013 <1535513639993579> Hdrs from WLS:[X-WebLogic-JVMID]=[-420809910]
    Sat Mar 23 06:12:37 2013 <1535513639993579> Hdrs from WLS:[X-Powered-By]=[Servlet/2.5 JSP/2.1]
    Sat Mar 23 06:12:37 2013 <1535513639993579> parsed all headers OK
    Sat Mar 23 06:12:37 2013 <1535513639993579> sendResponse() : uref_p->getStatus() = '302'
    Sat Mar 23 06:12:37 2013 <1535513639993579> Hdrs to client (add):[date]=[Sat, 23 Mar 2013 00:42:37 GMT]
    Sat Mar 23 06:12:37 2013 <1535513639993579> Hdrs to client (add):[Location]=[http://10.11.12.231/console/login/LoginForm.jsp]
    Sat Mar 23 06:12:37 2013 <1535513639993579> Hdrs to client (add):[X-Powered-By]=[Servlet/2.5 JSP/2.1]
    Sat Mar 23 06:12:37 2013 <1535513639993579> canRecycle: conn=1 status=302 isKA=1 clen=-1 isCTE=1
    Sat Mar 23 06:12:37 2013 <1535513639993579> closeConn: pooling for '10.11.12.231/7001'
    Sat Mar 23 06:12:37 2013 <1535513639993579> request [console/] processed successfully..................
    Please help me.
    Thanks,
    Chinna

    Hi,
    First thing are you seeing any request coming to weblogic server? if not then,
    What configuration you have added in server.xml and virtual server instance object conf file for weblogic integration.
    It is pretty straight forward,
    1. add weblogic plugin libproxy_61.so in plugin/weblogic directory on webserver.
    2. add WLS cluster server/ standalone server information in server.xml
    3. in object file create a new object of type="magnus-internal/directory" add WL specific configuration and then add condition to select WLS object created or make it default object for handling all request.
    Thanks,
    Ranjan

  • WLS 5.1/iPlanet 4.1 and JSP

    Hello!
    We are using Weblogic 5.1 and Netscape's iPlanet as a proxy server. Both
    the machines are running of seperate NT boxes with static IP addresses.
    All the changes which need to made on iPlanet side (i.e. copying
    proxy36.dll, modificatiopn of mime types file, changes to the obj.conf
    file etc.) have been made. Howver I am still not able to get the JSP
    forwarded to Weblogic to get them serviced.
    When I try to execute a JSP, I get the "Internal Server Error". On
    analyzing the
    error message sin the log files for iPlanet it reports that it is not
    able to connect to
    Weblogic.
    In order to fix this porblem I just copies the proxy36.dll for Weblogic
    version
    4.5.1 and copied it in the required iPlanet directory. This seems to
    have fixed
    the problem of getting the JSP serviced by Weblogic, but I am wary about
    the solution.
    Am I doing something wrong or is there a new files availabel for
    download. I checked
    the website for BEA and did not find any answers.
    I had this evironment set up pretty quickly when using Weblogic 4.5.1.
    Any ideas? Anything I might have overlooked. I have pretty much follwed
    all the instructions specified by Weblogic to set up Netscape as a proxy
    server.
    Any help in resolving this problem would be greatly appreciated.
    Thanks.
    Vijay R

    I have the same setup but it's on one NT box and works OK. Make sure you have the proxy36.dll from Weblogic 5.1 Service Pack 6. Release notes say you MUST have SP6 proxy file to work with iPlanet 4.1
    Sam Fowler
    Vijay Raghavacharian <[email protected]> wrote:
    Hello!
    We are using Weblogic 5.1 and Netscape's iPlanet as a proxy server. Both
    the machines are running of seperate NT boxes with static IP addresses.
    All the changes which need to made on iPlanet side (i.e. copying
    proxy36.dll, modificatiopn of mime types file, changes to the obj.conf
    file etc.) have been made. Howver I am still not able to get the JSP
    forwarded to Weblogic to get them serviced.
    When I try to execute a JSP, I get the "Internal Server Error". On
    analyzing the
    error message sin the log files for iPlanet it reports that it is not
    able to connect to
    Weblogic.
    In order to fix this porblem I just copies the proxy36.dll for Weblogic
    version
    4.5.1 and copied it in the required iPlanet directory. This seems to
    have fixed
    the problem of getting the JSP serviced by Weblogic, but I am wary about
    the solution.
    Am I doing something wrong or is there a new files availabel for
    download. I checked
    the website for BEA and did not find any answers.
    I had this evironment set up pretty quickly when using Weblogic 4.5.1.
    Any ideas? Anything I might have overlooked. I have pretty much follwed
    all the instructions specified by Weblogic to set up Netscape as a proxy
    server.
    Any help in resolving this problem would be greatly appreciated.
    Thanks.
    Vijay R

Maybe you are looking for

  • Is there a way to generate table of contents into page links?

    I have created a PDF document from a data modeling tool.  After the document is created I am looking to generate page links en masse from the table of contents to the appropriate referenced page.  I know I can add links one at a time, but that is too

  • Archive files are in XML format and not in the original format

    Hi all, I am using a receiver file adapter with archiving option. When I look at the archive files they are in the XML converted format and not in the original flat file format received. We would like to store these files for audit purpose and it doe

  • New emails appear then disappear

    I've had 2 emails pop up as notifications and by the time I open mail to read them they have disappeared. They aren't in junk or deleted.

  • ImageIcon with servlets

    If I use (in my servlets) ImageIcon imageIcon = new ImageIcon("/te/a.jpg"); or ImageIcon imageIcon = new ImageIcon(byte_out.toByteArray()); (where byte_out is a ByteArrayOutputStream) il works very well with Tomcat 4 and Tomcat 5 on WinXp, but it doe

  • Value converting to upper case

    Hi, There is a table control, but when i am taking a value from the table in PAI of my screen, the value gets converted to upper case, can any one suggest me what would be happening. Is there any way to control this? Thanks in Advance, kushagra sharm