Dev 6 Web Server

Am I missing something? I dutifully downloaded the 200+MB dev 6
from the ftp site. Where is the server part? Even when I do a
custom install, I do not see anything like a server (which we did
with v 2.1).
null

Loyal,
Guess what?! Oracle decided to bundle the Developer Server as a
separate product when they moved to Oracle Developer 6.0. You
have to order it now as a separate product, and pay for it too--
as a separate license with a minimum of 8-users at about $300
each for a min of $2400.
Cheers,
-- Ernie.
Loyal Barber (guest) wrote:
: Am I missing something? I dutifully downloaded the 200+MB dev
6
: from the ftp site. Where is the server part? Even when I do
a
: custom install, I do not see anything like a server (which we
did
: with v 2.1).
null

Similar Messages

  • Crystal Reports XI and Sun One 6.1 web server SP 5 Error finding JNDI name

    I am trying to create a Crystal Reports XI report in a JSP using Sun One 6.1 Web server sp 5.
    At this point I am getting the error �Error finding JNDI name� on Sun One
    The application will run on Netbeans/Tomcat
    I have done the following:
    I edited CRConfig.xml
    <?xml version="1.0" encoding="utf-8"?>
    <CrystalReportEngine-configuration>

    <DataDriverCommon>
         <JavaDir>C:\Program Files\Java\j2re1.4.2_10\bin</JavaDir>
    <Classpath>C:\oracle\product\10.2.0\client_1\jdbc\lib\ojdbc14.jar;�</Classpath>

    <JDBC>
         <CacheRowSetSize>100</CacheRowSetSize>
         <JDBCURL>jdbc:oracle:thin:@10.10.10.10:1521:dev</JDBCURL>
         <JDBCClassName>oracle.jdbc.driver.OracleDriver</JDBCClassName>
         <JDBCUserName>lab_ro</JDBCUserName>
         <JNDIURL></JNDIURL>

    </JDBC>
    I created a report using JDBC (JNDI) connection and have the JNDI Connection set to the name of DATA.
    The report works just fine in Crystal Reports.
    Then in Netbeans I created an application and it runs in the Tomcat part of Netbeans
    In context.xml I have:
    <Context path="/BOEnterpriseTest3">
    <Resource name="jdbc/dev" auth="Container" type="javax.sql.DataSource"
    driverClassName="oracle.jdbc.driver.OracleDriver" url="jdbc:oracle:thin:@10.10.10.10:1521:dev"
    username="theuserid" password="thepassword" maxActive="20" maxIdle="10" maxWait="-1"/>
    </Context>
    In web.xml I have
    <web-app>
    <context-param>
    <param-name>crystal_image_uri</param-name>
    <param-value>crystalreportviewers11</param-value>
    </context-param>

    <taglib>
    <taglib-uri>/crystal-tags-reportviewer.tld</taglib-uri>
    <taglib-location>/WEB-INF/crystal-tags-reportviewer.tld</taglib-location>
    </taglib>
    <resource-ref>
    <description>jdbc:oracle:thin:@10.10.10.10:1521:dev</description>
    <res-ref-name>jdbc/dev10g</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Application</res-auth>
    <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    <resource-ref>
    <description>jdbc:oracle:thin:@10.10.10.10:1521:dev</description>
    <res-ref-name>Data</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Application</res-auth>
    <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    </web-app>
    in web-inf\sun-web.xml I have
    <sun-web-app>
    <resource-ref>
    <res-ref-name>jdbc/dev10g</res-ref-name>
    <jndi-name>Data</jndi-name>
    </resource-ref>
    </sun-web-app>
    I have copied all of Common Files\Business Objects\3.0\java\lib and Common Files\Business Objects\3.0\java\lib\external to the lib folder
    I have copied crystalreportviewers11 to the root of my web application
    I have tried to load the JNDI information and display the report
    <%@page pageEncoding="UTF-8"
    import="com.crystaldecisions.reports.reportengineinterface.*,
    com.crystaldecisions.report.web.viewer.*,
    javax.naming.*,
    javax.sql.*,
    java.sql.*"%>
    <%
    InitialContext initContext = new InitialContext();
    DataSource source = (DataSource) initContext.lookup("java:comp/env/jdbc/dev10g");
    Context initCtx = new InitialContext();
    Context envCtx = (Context) initCtx.lookup("java:comp/env");
    try{
         // Look up our data source
    DataSource ds = (DataSource)initCtx.lookup("Data");
    out.println("found ds under jdbc/Data");
    catch ( NamingException e ){
    // Look up our data source
    DataSource ds = (DataSource) initContext.lookup("java:comp/env/jdbc/dev10g");
    initCtx.bind("Data", ds);     
    out.println("found ds under java:com/env:jdbc/Data - bound into root initial context for Crystal to find");
    %>
    <%
    //Use the relative path to the report; the physical or full qualified URL cannot be used.
    String reportName = "useridincluded.rpt";
    //Database username and password
    String userName = "theuserid";
    String password = "thepassword";
    //check to see if the Report Source Session Variable already exist
    Object reportSource = session.getAttribute("Report1");
    // Create a new ConnectionInfos and ConnectionInfo object
    com.crystaldecisions.sdk.occa.report.data.ConnectionInfos connectionInfos = new com.crystaldecisions.sdk.occa.report.data.ConnectionInfos();
    com.crystaldecisions.sdk.occa.report.data.ConnectionInfo connectionInfo = new com.crystaldecisions.sdk.occa.report.data.ConnectionInfo();
    //Set username and password for the report's database
    connectionInfo.setUserName(userName);
    connectionInfo.setPassword(password);
    //Add object to collection
    connectionInfos.add(connectionInfo);
    //---------- Create a ReportClientDocument -------------
    com.crystaldecisions.reports.sdk.ReportClientDocument reportClientDocument = new com.crystaldecisions.reports.sdk.ReportClientDocument();
    //---------- Set the path to the location of the report soruce -------------
    //Open report.
    reportClientDocument.open(reportName, 0);
    //Get the report source
    reportSource = reportClientDocument.getReportSource();
    //---------- Create the viewer and render the report -------------
    //create the CrystalReportViewer object
    com.crystaldecisions.report.web.viewer.CrystalReportViewer crystalReportViewer = new com.crystaldecisions.report.web.viewer.CrystalReportViewer();
    //set the reportsource property of the viewer
    crystalReportViewer.setReportSource(reportSource);
    //set the DB logon into the viewer
    crystalReportViewer.setDatabaseLogonInfos(connectionInfos);
    //set viewer attributes
    crystalReportViewer.setOwnPage(true);
    crystalReportViewer.setOwnForm(true);
    crystalReportViewer.refresh();
    //set the CrystalReportViewer print mode
    //crystalReportViewer.setPrintMode(com.crystaldecisions.report.web.viewer.CrPrintMode.ACTIVEX);
    crystalReportViewer.setPrintMode(com.crystaldecisions.report.web.viewer.CrPrintMode.PDF);
    //process the report
    crystalReportViewer.processHttpRequest(request, response, getServletConfig().getServletContext(), null);
    %>
    On the Sun One Web server
    On the Java Tab
    JDBC Connection Pools
    Pool Name = dev10g
    Class name = oracle.jdbc.pool.OracleDataSource
    User id = theuserid
    url = 10.10.10.10
    password=thepassword
    JDBC Resources
    JNDI Name=dev10g
    Pool = dev10g
    I get the error finding JNDI name � how do I tell Sun One where the JNDI is to make Crystal Reports work?

    I tried the following to test the JNDI
    I am trying to do JNDI in Sun One Web server 6.1 sp 5 but I seem to be missing an important part. I get two different errors based on the JSP code, �Cannot retrieve data source: javax.naming.NamingException: Cannot create resource instance� or �Cannot retrieve data source: javax.naming.NamingException: Cannot create resource instance�.
    Context.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <Context path="/BOTest">
      <Resource name="jdbc/dev10g" auth="Container" type="javax.sql.DataSource"
    driverClassName="oracle.jdbc.driver.OracleDriver" url="jdbc:oracle:thin:@10.10.10.10:1521:dev10g"
    username="userid" password="password" maxActive="20" maxIdle="10" maxWait="-1"/>
      <Resource name="Data" auth="Container" type="javax.sql.DataSource"
    driverClassName="oracle.jdbc.driver.OracleDriver" url="jdbc:oracle:thin:@10.10.10.10:1521:dev10g"
    username="userid" password="password" maxActive="20" maxIdle="10" maxWait="-1"/>
    </Context>Sun-one.xml:
    <sun-web-app>
    <context-root>BOTest</context-root>
    <resource-ref>
    <res-ref-name>jdbc/dev10g</res-ref-name>
    <jndi-name>jdbc/dev10g</jndi-name>
    </resource-ref>
    </sun-web-app>web.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app
        PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
        "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
        <session-config>
            <session-timeout>
                30
            </session-timeout>
        </session-config>
        <welcome-file-list>
         <welcome-file>
                index.jsp
            </welcome-file>
        </welcome-file-list>
        <resource-ref>
            <description>jdbc:oracle:thin:@10.10.10.10:1521:dev10g</description>
            <res-ref-name>jdbc/dev10g</res-ref-name>
            <res-type>javax.sql.DataSource</res-type>
            <res-auth>Application</res-auth>
            <res-sharing-scope>Shareable</res-sharing-scope>
        </resource-ref>
        <resource-ref>
            <description>jdbc:oracle:thin:@10.10.10.10:1521:dev10g</description>
            <res-ref-name>Data</res-ref-name>
            <res-type>javax.sql.DataSource</res-type>
            <res-auth>Application</res-auth>
            <res-sharing-scope>Shareable</res-sharing-scope>
        </resource-ref>
    </web-app>server.xml has:
    <RESOURCES>
    - <JDBCCONNECTIONPOOL name="dev10g" datasourceclassname="oracle.jdbc.pool.OracleDataSource" steadypoolsize="8" maxpoolsize="32" poolresizequantity="2" idletimeout="300" maxwaittime="60000" connectionvalidationrequired="off" connectionvalidationmethod="auto-commit" validationtablename="" failallconnections="off" transactionisolationlevel="read-uncommitted" isolationlevelguaranteed="off">
      <PROPERTY name="URL" value="jdbc:oracle:thin:@10.45.3.197:1521:dev10g" />
      <PROPERTY name="User" value="lab_ro" />
      <PROPERTY name="Password" value="0asphalt1" />
      </JDBCCONNECTIONPOOL>
      <JDBCRESOURCE jndiname="jdbc/dev10g" poolname="dev10g" enabled="on" />
      <JDBCRESOURCE jndiname="Data" poolname="dev10g" enabled="on" />
    - <JDBCCONNECTIONPOOL name="Data" datasourceclassname="oracle.jdbc.pool.OracleDataSource" steadypoolsize="8" maxpoolsize="32" poolresizequantity="2" idletimeout="300" maxwaittime="60000" connectionvalidationrequired="off" connectionvalidationmethod="auto-commit" validationtablename="" failallconnections="off" transactionisolationlevel="read-uncommitted" isolationlevelguaranteed="off">
      <PROPERTY name="User" value="lab_ro" />
      <PROPERTY name="URL" value="jdbc:oracle:thin:@10.45.3.197:1521:dev10g" />
      <PROPERTY name="Password" value="0asphalt1" />
      </JDBCCONNECTIONPOOL>
      <JDBCRESOURCE jndiname="jdbc/Data" poolname="Data" enabled="on" />
      <JDBCRESOURCE jndiname="dev10g" poolname="dev10g" enabled="on" />
      </RESOURCES>I am getting the following error: �Cannot retrieve data source: javax.naming.NamingException: Cannot create resource instance�
    With the following code:
    <%@page
       import="java.io.*,
               javax.sql.*,
               javax.naming.*,
               java.sql.*,
               java.util.*"%>
    <%
    Context init;
    Context ctx;
    DataSource datasource;
    Connection con;
    try
    init = new InitialContext();
    Context envCtx = (Context) init.lookup("java:comp/env");
    datasource = (DataSource)  envCtx.lookup("jdbc/dev10g");
    catch(NamingException ex)
        out.print("Cannot retrieve data source: " + ex.toString(true));
        return;
    try
        con = datasource.getConnection();
    catch (Exception e)
      out.print("Cannot retrieve connection: " + e.toString());
      return;
    try
        PreparedStatement pstmt = con.prepareStatement("SELECT PROJNO FROM MATERIALSLAB.VW_ASPHALTHEADERINFO");
        ResultSet results = pstmt.executeQuery();
        while (results.next())
        out.println(results.getString(1));
    catch(Exception ex)
    out.print("Got connection, can't execute query: " + ex.toString());
    return;
    %>I get the following error: Cannot retrieve data source: javax.naming.NamingException: Cannot create resource instance
    With the following code:
    <%@page
       import="java.io.*,
               javax.sql.*,
               javax.naming.*,
               java.sql.*,
               java.util.*"%>
    <%
    Context init;
    Context ctx;
    DataSource datasource;
    Connection con;
    try
        init = new InitialContext();
        ctx = (Context) init.lookup("java:comp/env");
        datasource = (DataSource) ctx.lookup("jdbc/dev10g");
    catch(NamingException ex)
        out.print("Cannot retrieve data source: " + ex.toString(true));
        return;
    try
        con = datasource.getConnection();
    catch (Exception e)
      out.print("Cannot retrieve connection: " + e.toString());
      return;
    try
        PreparedStatement pstmt = con.prepareStatement("SELECT PROJNO FROM MATERIALSLAB.VW_ASPHALTHEADERINFO");
        ResultSet results = pstmt.executeQuery();
        while (results.next())
        out.println(results.getString(1));
    catch(Exception ex)
    out.print("Got connection, can't execute query: " + ex.toString());
    return;
    %>

  • I want to upload a web gallery created to free web server

    What is the best free web server to upload photo galleries created in lightroom.
    I use a mac

    1.  Regarding the licenses.  I need confirmation that I have everything for DI-SERVER based development and implementation on my site (WE ARE THE CUSTOMER)
    It says on license administration that we have (in production):
    13 pro licenses
    SDK - Development : 19 available licenses
    SDK - Implementation: 9999 available licenses
    SDK Tools - 99990 available licenses
    I don't see DI Server anywhere.   We / I am the end customer who bought all these tools to be able to build a web front end.
    Now I am concerned that we did not buy the DI Server -- which is really what we need since my app needs to be web based. 
    Is this concern valid since I was able to use the quick & dirty method of using .asp to LOGIN, and RETREIVE the list of users using the DI-SERVER api (SDOBI_SERVER.node, GetUserList, Login). 
    Does this confirm that I can use DI-SERVER api? 
    If so how come some people on this forum suggest that there needs to be a DI-SERVER entry in the License Administration?
    2.  Is it possible to run my pure development pc/server with dev SAP B1  instances loaded but pointing it to the production license server
    Or is it better to have a separate license server on the development machine?
    Mike

  • Deploying to a web server

    We have a web server/BOXI server with 11.5.3300 runtimes installed. I was not involved in the install.
    I was instructed by support to install BOE XI R2 SDK for development with VS 2005.
    After doing the samples (which run great on my dev pc), published it to the web server.
    The app won't run. It complains it can't find the 11.5.3700 assemblies.
    Since this is a test BOXI server, I checked the production server. It has 11.5.3308 assemblies.
    Is the server running an older version? How do I fix the runtimes?

    Hi Richard,
    You will need to install the Crystal Reports runtimes for the 2.0 framework.  There is an issue where the 2.0 framework dlls do not install properly on a web server that does not have VS.NET 2005 installed.
    You will need to download the .NET server install that corresponds to the Service Pack level you are at and use the msi that ends in _2005.msi.
    Search on Crystal Reports|XI Release 2|*
    [https://www.sdn.sap.com/irj/sdn/businessobjects-downloads]
    Jason

  • HTTP post data from the Oracle database to another web server

    Hi ,
    I have searched the forum and the net on this. And yes I have followed the links
    http://awads.net/wp/2005/11/30/http-post-from-inside-oracle/
    http://manib.wordpress.com/2007/12/03/utl_http/
    and Eddie Awad's Blog on the same topic. I was successful in calling the servlet but I keep getting errors.
    I am using Oracle 10 g and My servlet is part of a ADF BC JSF application.
    My requirement is that I have blob table in another DB and our Oracle Forms application based on another DB has to view the documents . Viewing blobs over dblinks is not possible. So Option 1 is to call a procedure passing the doc_blob_id parameter and call the web server passing the parameters.
    The errors I am getting is:
    First the parameters passed returned null. and
    2. Since my servlet directly downloads the document on the response outputStream, gives this error.
    'com.evermind.server.http.HttpIOException: An established connection was aborted by the software in your host machine'
    Any help please. I am running out of time.
    Thanks

    user10264958 wrote:
    My requirement is that I have blob table in another DB and our Oracle Forms application based on another DB has to view the documents . Viewing blobs over dblinks is not possible. Incorrect. You can use remote LOBs via a database link. However, you cannot use a local LOB variable (called a LOB <i>locator</i>) to reference a remote LOB. A LOB variable/locator is a pointer - that pointer cannot reference a LOB that resides on a remote server. So simply do not use a LOB variable locally as it cannot reference a remote LOB.
    Instead provide a remote interface that can deal with that LOB remotely, dereference that pointer on the remote system, and pass the actual contents being pointed at, to the local database.
    The following demonstrates the basic approach. How one designs and implements the actual remote interface, need to be decided taking existing requirements into consideration. I simply used a very basic wrapper function.
    SQL> --// we create a database link to our own database as it is easier for demonstration purposes
    SQL> create database link remote_db connect to scott identified by tiger using
      2  '(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521))(CONNECT_DATA=(SID=dev)(SERVER=dedicated)))';
    Database link created.
    SQL> --// we create a table with a CLOB that we will access via this db link
    SQL> create table xml_files( file_id number, xml_file clob );
    Table created.
    SQL> insert into xml_files values( 1, '<root><text>What do you want, universe?</text></root>' );
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> --// a local select against the table works fine
    SQL> select x.*, length(xml_file) as "SIZE" from xml_files x;
       FILE_ID XML_FILE                                                                                SIZE
             1 <root><text>What do you want, universe?</text></root>                                    53
    SQL> --// a remote select against the table fails as we cannot use remote pointers/locators
    SQL> select * from xml_files@remote_db x;
    ERROR:
    ORA-22992: cannot use LOB locators selected from remote tables
    no rows selected
    SQL> //-- we create an interface on the remote db to deal with the pointer for us
    SQL> create or replace function ReturnXMLFile( fileID number, offset integer, amount integer ) return varchar2 is
      2          buffer  varchar2(32767);
      3  begin
      4          select
      5                  DBMS_LOB.SubStr( x.xml_file, amount, offset )
      6                          into
      7                  buffer
      8          from    xml_files x
      9          where   x.file_id = fileID;
    10 
    11          return( buffer );
    12  end;
    13  /
    Function created.
    SQL> --// we now can access the contents of the remote LOB (only in 4000 char chunks using this example)
    SQL> select
      2          file_id,
      3          ReturnXMLFile@remote_db( x.file_id, 1, 4000 ) as "Chunk_1"
      4  from       xml_files@remote_db x;
       FILE_ID Chunk_1
             1 <root><text>What do you want, universe?</text></root>
    SQL> --// we can also copy the entire remote LOB across into a local LOB and use the local one
    SQL> declare
      2          c               clob;
      3          pos             integer;
      4          iterations      integer;
      5          buf             varchar2(20);   --// small buffer for demonstration purposes only
      6  begin
      7          DBMS_LOB.CreateTemporary( c, true );
      8 
      9          pos := 1;
    10          iterations := 1;
    11          loop
    12                  buf := ReturnXMLFile@remote_db( 1, pos, 20 );
    13                  exit when buf is null;
    14                  pos := pos + length(buf);
    15                  iterations := iterations + 1;
    16                  DBMS_LOB.WriteAppend( c, length(buf), buf );
    17          end loop;
    18 
    19          DBMS_OUTPUT.put_line( 'Copied '||length(c)||' byte(s) from remote LOB' );
    20          DBMS_OUTPUT.put_line( 'Read Iterations: '||iterations );
    21          DBMS_OUTPUT.put_line( 'LOB contents (1-4000):'|| DBMS_LOB.SubStr(c,4000,1) );
    22 
    23          DBMS_LOB.FreeTemporary( c );
    24  end;
    25  /
    Copied 53 byte(s) from remote LOB
    Read Iterations: 4
    LOB contents (1-4000):<root><text>What do you want, universe?</text></root>
    PL/SQL procedure successfully completed.
    SQL> The concern is the size of the LOB. It does not always make sense to access the entire LOB in the database. What if that LOB is a 100GB in size? Irrespective of how you do it, selecting that LOB column from that table will require a 100GB of data to be transferred from the database to your client.
    So you need to decide WHY you want the LOB on the client (which will be the local PL/SQL code in case of dealing with a LOB on a remote database)? Do you need the entire LOB? Do you need a specific piece from it? Do you need the database to first parse that LOB into a more structured data struct and then pass specific information from that struct to you? Etc.
    The bottom line however is that you can use remote LOBs. Simply that you cannot use a local pointer variable to point and dereference a remote LOB.

  • How to install Apache Web Server with PHP on Sun Solaris Sparc machine

    Hi,
    We are trying to install the Apache Web Server and the PHP package on a Sun Solaris Sparc machine running on SunOS 5.8. We are having compilation problems with the source code of both these packages.
    Does anybody know if there are ready solaris packages for Apache and PHP available from where we can download and install instead of source code compilation?
    Or any instructions / things to watch for when installing Apache with PHP (if anybody has tried installing Apache with PHP on Sun Solaris earlier) is most welcome.
    Thanks,
    Harish

    Apache should be bundled along with Solaris check in "/var/apache" in Solaris 8 and Solaris 9
    php is available at www.php.net
    I found an old document for installing PHP maybe this will help.
    Cheers
    -Dhruva
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++Installing PHP 3.x for Apache 1.x.x on Solaris
    Introduction
    This document describes how to install PHP for Apache on Solaris.
    You should have Apache installed before trying to install PHP.
    If you want to use PHP with MySQL then you must install MySQL first.
    Before we Begin
    1. These instructions assume that you have Apache installed according to instructions.
    Getting PHP
    1. You must be logged in as root to perform this installation.
    su root
    2. I save all my downloads in:
    /usr/local/dist
    If you don't already have one, you may need to create that directory now:
    mkdir /usr/local/dist
    3. You can get PHP 3.0.14 from here(www.php.net).
    cd /usr/local/dist
    ftp ftp.php.net
    cd pub/distributions
    bin
    get php-3.0.14.tar.gz
    bye
    Installing PHP
    1. We will install PHP in /usr/local/build, but use a tricky tar command
    to do it in on hit from the download directory:
    cd /usr/local/dist
    tar xvfz php-3.0.12.tar.gz -C ../build
    Compiling PHP
    1. First let's get where the action is:
    cd /usr/local/build/php-3.0.14
    2. You now have 3 options:
    * Simple PHP install without MySQL - goto step 3
    * Simple PHP install with MySQL - goto step 4
    * Custom PHP install - goto step 5
    3. Simple PHP install without MySQL. Next, jump to step 6.
    ./configure --with-apache=../apache_1.3.12
    4. Simple PHP install with MySQL. MySQL must be installed before you can configure PHP to use it. I recommend that MySQL should always be reachable with /usr/local/mysql. Even if you install it else where you
    should create a symbolic link from /usr/local/mysql. Otherwise the compiler can have problems finding the mysqlclient library. The command
    should look like this:
    ./configure with-mysql=/usr/local/mysql with-apache=../apache_1.3.12
    Next, jump to step 6.
    5. Custom PHP install. Take a look at the available configuration directives by using this command:
    ./configure --help
    6. Now we can make the PHP executable. This may take a while.
    make
    7. Now we install the PHP module with:
    make install
    Adding the PHP Module to Apache
    1. Now we have to setup Apache to include the PHP module:
    cd ../apache_1.3.12
    2. Re-configure Apache to use the PHP module. You should use your previous Apache configure command along with the PHP activate module directive.
    You can see your previous Apache configure command by doing:
    cat config.status
    You can configure Apache using the previous command with the added PHP module by doing:
    ./config.status --activate-module=src/modules/php3/libphp3.a
    If you used the simple Apache install from instructions the command will look like this:
    ./configure prefix=/usr/local/apache activate-module=src/modules/php3/libphp3.a
    3. Make and install Apache with PHP enabled:
    make
    4. We need to stop the server before installing the files:
    /usr/local/apache/bin/apachectl stop
    5. Now we can install the new binaries:
    make install
    6. Start apache again (now running the new php enabled version):
    /usr/local/apache/bin/apachectl start
    Setting Up PHP
    1. We have to tell Apache to pass certain file extensions to PHP. We do this in Apache's httpd.conf file.
    cd /usr/local/apache/conf
    2. Edit the httpd.conf file. If you do a search for php you will find a couple of commented out lines telling Apache to use the PHP module. You should uncomment them to look like this.
    AddType application/x-httpd-php3 .php3
    AddType application/x-httpd-php3-source .phps
    3. I prefer to use the extension .phtml, you can use whatever extension you like (even .html) by adding lines to httpd.conf like this:
    AddType application/x-httpd-php3 .phtml
    Check that it Works
    1. We have to restart Apache to make these changes take effect on the running server.
    cd /usr/local/apache/bin
    ./apachectl restart
    2. Apache should now be running with PHP enabled. The server version should include PHP/3.0b2.
    ./apachectl status
    Apache Server Status for dev.synop.com
    Server Version: Apache/1.3.9 (Unix) PHP/3.0.12
    Server Built: Oct 25 1999 00:37:07
    3. Now it is time to test PHP with a page. The simplest thing to do is create a page called test.php3. My file is here. This file contains the
    following text:
    <?php phpinfo(); ?>
    4. Point your browser at this file on the virtual host which you used:
    http://localhost/test.php3

  • Poor Performance of Sun One Web Server 6.0 SP6

    We are running on an E450 with 2GB of memory, Solaris 8 2/02 with Recommended and Security Patch Cluster from 31 Jul 03, Sun One Web Server 6.0 SP6, Macromedia ColdFusion 5, JDK 1.4.1_02. We are seeing intermittent (three or four times a day) performance problems, extremely poor response time.
    A vanilla, �test� iPlanet web server was put up on port 2443 with https turned on and off. Repeated control tests on file operations (�copy link as�) showed similar results as those described in High Impact above. Changes to add KeepAlive parameters (in magnus.conf) showed no noticeable improvement.
    Tests were conducted -- on the test server -- accessing the same file from two clients, one a thin client (TC), the other a Unix workstation (UW).
    Results:
    1) Sometimes process TC was started first and continued normally while process UW hung up; when this happened, only one httpd process was building cpu time;
    2) Sometimes process UW was started first and continued normally while process TC hung up; when this happened, only one httpd process was building cpu time;
    3) Sometimes both process TC and process UW continued normally regardless of which was started first; when this happened, two different httpd processes were building cpu time together;
    Speculation on Process Management - speculation is that, in the case of the 3rd bullet above, iPlanet assigned different httpd processes to the two requests. In the case of the first two bullets, however, the belief is that iPlanet actually assigned the second request to the same process it had previously assigned the first request. In this case, the second request was left to wait. It appears that most of the work done by httpd children is performed by only two or three children, even when there are 10 available.
    Questions;
    Why are the other httpd children are not more fully utilized?
    What about changing the number of Acceptor Threads?
    Could turning on Native Polling help (UseNativePoll in magnus.conf)?
    Any other thoughts about what is going on or how to fix the issue?
    Thanks for any assistance
    Excerpt from /etc/system
    * Web Server and ColdFusion Setting
    set shmsys: shminfo_shmmax = 2147483647
    set shmsys: shminfo_shmmin = 1
    set shmsys: shminfo_shmmni = 100
    set shmsys: shminfo_shmseg = 50
    set semsys: seminfo_semmns = 1750
    set semsys: seminfo_semmni = 70
    set msgsys:msginfo_msgmax = 65535
    set msgsys:msginfo_msgmnb = 65535
    set msgsys:msginfo_msgseg = 8192
    set msgsys:msginfo_msgssz = 16
    * Default is 512, which handles several thousand connections
    *set tcp:tcp_conn_hash_size=262144
    * Do not set to 0 in solaris 8 on Production Systems
    *set sq_max_size=0
    set rlim_fd_max=8192
    set rlim_fd_cur=8192
    * END of Web / ColdFusion Settings
    Excerpt from /etc/rc2.d/S69inet
    ## Web Server and ColdFusion Settings
    # Comment out tcp_slow_start_initial, because default is 4
    #ndd -set /dev/tcp tcp_slow_start_initial 2
    ndd -set /dev/tcp tcp_xmit_hiwat 32768
    ndd -set /dev/tcp tcp_recv_hiwat 32768
    ndd -set /dev/tcp tcp_conn_req_max_q 1024
    ndd -set /dev/tcp tcp_conn_req_max_q0 4096
    ndd -set /dev/tcp tcp_time_wait_interval 60000
    ndd -set /dev/tcp tcp_keepalive_interval 900000
    # Comment out next 4 to accept default
    # - change only if tcp longer than 10 seconds expected
    #ndd -set /dev/tcp tcp_ip_abort_interval 60000
    #ndd -set /dev/tcp tcp_rexmit_interval_max 10000
    #ndd -set /dev/tcp tcp_rexmit_interval_initial 3000
    #ndd -set /dev/tcp tcp_rexmit_interval_min 3000
    # Left out changing ephemeral (short lived) port
    #ndd -set /dev/tcp tcp_smallest_anon_port 1024
    # Keep default of 1480576
    #ndd -set /dev/tcp tcp_cwnd_max 65535
    ## End of Web / ColdFusion Settings
    Excerpt from magnus.conf
    RqThrottle 1
    MaxProcs 10
    StackSize 131072
    ## Added for lightly loaded systems
    KeepAliveQueryMeanTime 1
    KeepAliveQueryMaxSleepTime 0

    Because the security context is set as a process context, the NSAPI thread locks the process prior to setting the security context. The older NASPI plugin that we are using is not reentrant, it will not work with the mulitthreading model. Under multithreading each thread would have access to the security context of each thread.

  • So, noone at all is running SJS Web Server on Solaris 10 Update 6??

    Trying to get some feedback on running SJS Web Server under Solaris 10 Update 6.
    problems?
    "Boy, That was a Mistake"
    "Works Great"
    "No Problems"
    What?? Anything at all...
    Thanks

    Never mind.
    It is a known bug documented on manual " [Solaris 10 10/08 Release Notes, Chapter 2 Solaris Runtime Issues|http://docs.sun.com/app/docs/doc/820-5245/chapter2-1000?a=view] " as shown below.
    The solution is to apply vold patch [138130-01|http://sunsolve.sun.com/search/document.do?assetkey=1-21-138130-01-1].
    Solaris 10 10/08 DVD Media Might Not be Automatically Mounted by vold (6712352)
    The Solaris 10 10/08 DVD does not mount by default during runtime. No error message is displayed.
    Workaround: Perform the following steps:
       1. Become superuser.
       2. Disable vold:
          * On Solaris 10 Systems:
                # svcadm disable -t volfs
          * On Solaris 8 and Solaris 9 systems:
                /etc/init.d/volmgt stop
       3. Mount the media manually by using the # mount -F hsfs path to block device path to mount point command. For example:
          # mount -F hsfs /dev/rdsk/c0t2d0s2 /mnt

  • CDSSO Issue in Web Server 6.1 SP 5. Agent and AM in different domain.

    I have Sun ONE Web Server 6.1SP5 and installed Policy Agent 2.2.
    URL: http://sjws6-dev-10.team.xtra.co.nz:10080
    I have Access Manager 7.0 in Application Server.
    URl : http://sjapp9-dev.uname.tech.co.nz:8080/amserver
    So Agent and Access Manager is in different domain.
    I have enabled CDSSO.
    # Cross-Domain Single Sign On URL
    # Is CDSSO enabled.
    com.sun.am.policy.agents.config.cdsso.enable=true
    # This is the URL the user will be redirected to for authentication
    # in a CDSSO Scenario.
    com.sun.am.policy.agents.config.cdcservlet.url = http://sjapp9-dev.uname.tech.co.nz:8080/amserver/cdcservlet
    Now problem what i am facing is :-
    When i try accessing a protected resource then it searches the Parent Realm Data Store.
    It should search the LDAP Data store which i configured for the Realm.
    com.sun.am.policy.am.login.url = http://ajapp9-dev.uname.tech.co.nz:8080/amserver/UI/Login?realm=YTel
    amAuthLDAP Log.
    08/25/2008 12:13:02:459 PM NZST: Thread[service-j2ee,5,main]
    LDAP resbundle locale=en_US
    08/25/2008 12:13:02:459 PM NZST: Thread[service-j2ee,5,main]
    Host: sjapp9-dev
    PORT : 38389
    08/25/2008 12:13:21:153 PM NZST: Thread[service-j2ee,5,main]
    LDAP initialize()
    08/25/2008 12:13:21:153 PM NZST: Thread[service-j2ee,5,main]
    attrs is : []
    08/25/2008 12:13:21:166 PM NZST: Thread[service-j2ee,5,main]
    bindDN-> cn=amldapuser,ou=DSAME Users,dc=uname,dc=tech,dc=co,dc=nz
    baseDN-> dc=uname,dc=tech,dc=co,dc=nz
    userNamingAttr-> uid
    userSearchAttr(s)-> [uid]
    userCreationAttrs-> []
    searchFilter->
    searchScope-> 2
    ssl-> false
    authLevel: 0
    Host: sjapp9-dev
    PORT : 38389
    Pattern : *|(|)|&|!
    08/25/2008 12:13:21:171 PM NZST: Thread[service-j2ee,5,main]
    Connecting to sjapp9--dev:38389
    Searching dc=uname,dc=tech,dc=co,dc=nz for (uid=johndoe)
    scope = 2
    08/25/2008 12:13:21:171 PM NZST: Thread[service-j2ee,5,main]
    Create LDAPConnectionPool: sjapp9--dev:38389
    08/25/2008 12:13:21:171 PM NZST: Thread[service-j2ee,5,main]
    LDAPAuthUtils.LDAPAuthUtils: min=1, max=5
    08/25/2008 12:13:21:183 PM NZST: Thread[service-j2ee,5,main]
    userAttrSize is : 2
    08/25/2008 12:13:21:184 PM NZST: Thread[service-j2ee,5,main]
    Cannot find entries for (uid=johndoe)
    But it should seach in the User LDAP Data store.
    Not sure what is the problem.
    Regards,
    Edited by: IDM1312 on Aug 25, 2008 2:10 AM

    I presume that by now you have tried changeing your cdcservlet.url to read:
    com.sun.am.policy.agents.config.cdcservlet.url = http://sjapp9-dev.uname.tech.co.nz:8080/amserver/cdcservlet?realm=YTel

  • Azure - Glassfish web server

    Is Azure going to support Glassfish web server in the future ?

    Hi greener2014,
    In terms stricly related to support, please be informed that you can install Glassfish on your own on any Azure VM configuration supporting Glassfish just like you would on your own on-premises machine. So the answer is yet.
    In terms of using Glassfish more like a SaaS (for example, Azure Websites) rather than use it like an IaaS, there's no current preview of a Glassfish service running as a service and neither is there any support for pure Java apps on Azure WebSites, from
    what I know. So the answer would be, not yet. What you could do is post a request to have it supported just like you would directly on uservoice:
    http://feedback.azure.com/forums/34192--general-feedback
    Should the community desire such a feature, you'll probably get supported by the rest of Java devs and the team will surely look into it.
    Good luck!
    Alex

  • Sun one web server 6.0 sp9. Crash occurred in function JVM_NewArray or JVM_

    We have a web page with 2 frame set (fa, and fb)
    fb has a table with a cell containing div of another table xx.
    We face the case where the result in the table xx is not completely displayed due to server crash.
    Each time this page is serviced the server crash with the following exception in server was shown from the errors log:
    Server crash detected (signal SIGBUS)
    Crash occurred in function JVM_FillInStackTrace from module /usr/j2se/jre/lib/sparc/client/libjvm.so
    Occasionally the server crash with the following exception:
    Server crash detected (signal SIGSEGV)
    Crash occurred in function JVM_NewArray from module /usr/j2se/jre/lib/sparc/client/libjvm.so
    We were not able to simulate this problem in another instance in �dev� box.
    We were also not able to simulate this problem in another instance in same �final� box.
    The following was googled for JVM_NewArray :
    bug id : 4839641 <http://developer.java.sun.com/developer/bugParade/bugs/4839641.html>
    bug id : 4720694 <http://developer.java.sun.com/developer/bugParade/bugs/4720694.html>
    The web service is in �final� box using the following:
    - Sun one web server 6.0 sp9.
    -SunFire 880
    -OS: Solaris 9
    - Using the Java HotSpot(TM) Client VM v1.4.1_01a from Sun Microsystems Inc.
    -JSP
    -Java
    Would this problem we are facing be a sunone server issue or JVM issue?
    Or would there be other issues?

    It sure sounds like a JVM bug. I think you should try
    using either a) the JVM shipped with Web Server 6.0
    SPx (as this is the JVM version that's received the
    most testing with Web Server 6.0 SPx) or b) the
    latest 1.4-series JVM (as this will include bug fixes
    made since 1.4.1_01a).Thanks for the prompt reply.
    Would have to upgrade the JVM then.
    Will get back again if the upgrade of the JVM solves this issue.

  • Sun one web server 6.0 sp9. Crash occurred in function JVM_NewArray

    We have a web page with 2 frame set (fa, and fb)
    fb has a table with a cell containing div of another table xx.
    We face the case where the result in the table xx is not completely displayed due to server crash.
    Each time this page is serviced the server crash with the following exception in server was shown from the errors log:
    Server crash detected (signal SIGBUS)
    Crash occurred in function JVM_FillInStackTrace from module /usr/j2se/jre/lib/sparc/client/libjvm.so
    Occasionally the server crash with the following exception:
    Server crash detected (signal SIGSEGV)
    Crash occurred in function JVM_NewArray from module /usr/j2se/jre/lib/sparc/client/libjvm.so
    We were not able to simulate this problem in another instance in �dev� box.
    We were also not able to simulate this problem in another instance in same �final� box.
    The following was googled for JVM_NewArray :
    bug id : 4839641 <http://developer.java.sun.com/developer/bugParade/bugs/4839641.html>
    bug id : 4720694 <http://developer.java.sun.com/developer/bugParade/bugs/4720694.html>
    The web service is in �final� box using the following:
    - Sun one web server 6.0 sp9.
    -SunFire 880
    -OS: Solaris 9
    - Using the Java HotSpot(TM) Client VM v1.4.1_01a from Sun Microsystems Inc.
    -JSP
    -Java
    Would this problem we are facing be a sunone server issue or JVM issue?
    Or would there be other issues?

    It sure sounds like a JVM bug. I think you should try
    using either a) the JVM shipped with Web Server 6.0
    SPx (as this is the JVM version that's received the
    most testing with Web Server 6.0 SPx) or b) the
    latest 1.4-series JVM (as this will include bug fixes
    made since 1.4.1_01a).Thanks for the prompt reply.
    Would have to upgrade the JVM then.
    Will get back again if the upgrade of the JVM solves this issue.

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

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

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

  • Sun java web server - using a lot of memory

    sjws 6.1sp7 - solaris 10u4
    we have a web server instance that uses over 3gb of ram. it servers mostly jsps. i understand why permanent heap is so large (jsp classes) any one have an idea of what else could be going on here?
    17921 webservd 3271M 2976M cpu1 0 10 9:05:55 31% webservd/80
    pmap shows (cut down for length):
    00010000 8K r-x-- /opt/jws61/bin/https/bin/webservd
    00020000 8K rwx-- /opt/jws61/bin/https/bin/webservd
    00022000 1171168K rwx-- [ heap ]
    < snip, and a bunch of the following >
    74000000 5440K r--s- dev:314,2 ino:6823381
    74560000 120K r--s- dev:314,2 ino:6823394
    74590000 408K r--s- dev:314,2 ino:6823341
    74600000 464K r--s- dev:314,2 ino:6823383
    74680000 2192K r--s- dev:314,2 ino:6823304
    748B0000 72K r--s- dev:314,2 ino:6823307
    748D0000 144K r--s- dev:314,2 ino:6823286
    74900000 1264K r--s- dev:314,2 ino:6823418
    74A50000 160K r--s- dev:314,2 ino:6823345
    74A80000 552K r--s- dev:314,2 ino:6823276
    74B10000 8K r--s- dev:314,2 ino:6823327
    74B20000 352K r--s- dev:314,2 ino:6823280
    74B80000 832K r--s- dev:314,2 ino:6823319
    74C60000 104K r--s- dev:314,2 ino:6823324
    74C80000 504K r--s- dev:314,2 ino:6823337
    74D10000 352K r--s- dev:314,2 ino:6823283
    74D70000 32K r--s- dev:314,2 ino:6823406
    74D80000 664K r--s- dev:314,2 ino:6823271
    74E30000 16K r--s- dev:314,2 ino:6823314
    74E40000 40K r--s- dev:314,2 ino:6823349
    74E50000 32K r--s- dev:314,2 ino:6823404
    74E60000 104K r--s- dev:314,2 ino:6823278
    74E80000 584K r--s- dev:314,2 ino:6823347
    74F20000 312K r--s- dev:314,2 ino:6823248
    74F80000 1808K r--s- dev:85,40 ino:3471
    75150000 80K r--s- dev:314,2 ino:6823373
    < snip, and then what appears to be taking up most of the memory >
    96800000 20480K rwx-- [ anon ]
    97C00000 20480K rwx-- [ anon ]
    99000000 20480K rwx-- [ anon ]
    9A400000 28672K rwx-- [ anon ]
    9C000000 4096K rwx-- [ anon ]
    9C400000 4096K rwx-- [ anon ]
    9C800000 4096K rwx-- [ anon ]
    9CC00000 28672K rwx-- [ anon ]
    9E800000 8192K rwx-- [ anon ]
    9F000000 8192K rwx-- [ anon ]
    9F800000 24576K rwx-- [ anon ]
    A1000000 4096K rwx-- [ anon ]
    A1400000 4096K rwx-- [ anon ]
    A1800000 12288K rwx-- [ anon ]
    A2400000 40960K rwx-- [ anon ]
    A4C00000 8192K rwx-- [ anon ]
    A5400000 16384K rwx-- [ anon ]
    A6400000 24576K rwx-- [ anon ]
    A7C00000 40960K rwx-- [ anon ]
    AA400000 20480K rwx-- [ anon ]
    AB800000 12288K rwx-- [ anon ]
    AC400000 20480K rwx-- [ anon ]
    AD800000 4096K rwx-- [ anon ]
    ADC00000 36864K rwx-- [ anon ]
    B0000000 4096K rwx-- [ anon ]
    B0400000 16384K rwx-- [ anon ]
    B1400000 4096K rwx-- [ anon ]
    B1800000 8192K rwx-- [ anon ]
    B2000000 45056K rwx-- [ anon ]
    B4C00000 12288K rwx-- [ anon ]
    B5800000 4096K rwx-- [ anon ]
    B5C00000 12288K rwx-- [ anon ]
    B6800000 16384K rwx-- [ anon ]
    B7800000 4096K rwx-- [ anon ]
    B7C00000 4096K rwx-- [ anon ]
    B8000000 4096K rwx-- [ anon ]
    B8400000 4096K rwx-- [ anon ]
    B8800000 4096K rwx-- [ anon ]
    B8C00000 4096K rwx-- [ anon ]
    #/usr/jdk/j2sdk1.4.2_16/bin/jmap -heap 17921
    Attaching to process ID 17921, please wait...
    Debugger attached successfully.
    Server compiler detected.
    JVM version is 1.4.2_13-b06
    using thread-local object allocation.
    Mark Sweep Compact GC
    Heap Configuration:
    MinHeapFreeRatio = 40
    MaxHeapFreeRatio = 70
    MaxHeapSize = 67108864 (64.0MB)
    NewSize = 2228224 (2.125MB)
    MaxNewSize = 4294901760 (4095.9375MB)
    OldSize = 1441792 (1.375MB)
    NewRatio = 2
    SurvivorRatio = 32
    PermSize = 16777216 (16.0MB)
    MaxPermSize = 1073741824 (1024.0MB)
    Heap Usage:
    New Generation (Eden + 1 Survivor Space):
    capacity = 347406336 (331.3125MB)
    used = 163723696 (156.1390838623047MB)
    free = 183682640 (175.1734161376953MB)
    47.1274352348024% used
    Eden Space:
    capacity = 336920576 (321.3125MB)
    used = 163723696 (156.1390838623047MB)
    free = 173196880 (165.1734161376953MB)
    48.59415175640683% used
    From Space:
    capacity = 10485760 (10.0MB)
    used = 0 (0.0MB)
    free = 10485760 (10.0MB)
    0.0% used
    To Space:
    capacity = 10485760 (10.0MB)
    used = 0 (0.0MB)
    free = 10485760 (10.0MB)
    0.0% used
    tenured generation:
    capacity = 715849728 (682.6875MB)
    used = 645847144 (615.9278335571289MB)
    free = 70002584 (66.7596664428711MB)
    90.22105041576548% used
    Perm Generation:
    capacity = 895221760 (853.75MB)
    used = 894921568 (853.4637145996094MB)
    free = 300192 (0.286285400390625MB)
    99.96646730302892% used

    It usually takes about 24 hours to get there. It is easily reproducible. "Kill -3" is not leaving a javacore for some reason.
    The applications are mostly jsp, and are all over the board. There is a lot of XML parsing, some db connections, and all sorts of other home grown things. However, if the jsp applications were leaking would that not be in the heap?
    How would I hunt down these allocations?
    A2400000 40960K rwx-- [ anon ]
    A4C00000 8192K rwx-- [ anon ]
    A5400000 16384K rwx-- [ anon ]
    A6400000 24576K rwx-- [ anon ]
    A7C00000 40960K rwx-- [ anon ]
    AA400000 20480K rwx-- [ anon ]
    AB800000 12288K rwx-- [ anon ]
    ###server.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!--
       Copyright (c) 2003 Sun Microsystems, Inc.  All rights reserved.
       Use is subject to license terms.
    -->
    <!DOCTYPE SERVER PUBLIC "-//Sun Microsystems Inc.//DTD Sun ONE Web Server 6.1//EN" "file:///opt/jws61/bin/https/dtds/sun-web-server_6_1.dtd" >
    <SERVER>
        <PROPERTY name="docroot" value="/xxxxxweb/xxx"/>
        <PROPERTY name="accesslog" value="/data/logs/xxxxx/access"/>
        <PROPERTY name="user" value=""/>
        <PROPERTY name="group" value=""/>
        <PROPERTY name="chroot" value=""/>
        <PROPERTY name="dir" value=""/>
        <PROPERTY name="nice" value=""/>
        <LS id="ls1" port="92" servername="xxxxx" defaultvs="https-bamxxx"/>
        <MIME id="mime1" file="mime.types"/>
        <ACLFILE id="acl1" file="/opt/jws61/httpacl/generated.https-xxxxx.acl"/>
        <VSCLASS id="vsclass1" objectfile="obj.conf">
            <VS id="https-xxxxx" connections="ls1" mime="mime1" aclids="acl1" >
                <PROPERTY name="docroot" value="/xxxxxweb/xxx"/>
                <WEBAPP uri="/" path="/xxxxxweb/xxx" enabled="true"/>
            </VS>
        </VSCLASS>
    <JAVA javahome="/usr/jdk/j2sdk1.4.2_13" serverclasspath="/opt/jws61/bin/https/jar/webserv-rt.jar:${java.home}/lib/tools.jar:/opt/jws61/bin/https/jar/webserv-ext.jar:/opt/jws61/bin/https/jar/webserv-jstl.jar:/opt/jws61/bin/https/jar/ktsearch.jar:/opt/oracle/product/9.2.0/jdbc/lib/ojdbc14.jar:/opt/oracle/product/9.2.0/jdbc/lib/nls_charset12.jar:/opt/oracle/product/9.2.0/jdbc/lib/ocrs12.jar" classpathsuffix="" envclasspathignored="true" nativelibrarypathprefix="/opt/oracle/product/9.2.0/lib32" debug="false" debugoptions="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n" dynamicreloadinterval="-1">
            <!--
            <JVMOPTIONS>-Djava.security.manager</JVMOPTIONS>
            <JVMOPTIONS>-Djava.security.policy=/opt/jws61/https-xxxxx/config/server.policy</JVMOPTIONS>
            <JVMOPTIONS>-Djava.security.auth.login.config=/opt/jws61/https-xxxxx/config/login.conf</JVMOPTIONS>
            -->
            <JVMOPTIONS>-Djava.util.logging.manager=com.iplanet.ias.server.logging.ServerLogManager</JVMOPTIONS>
            <JVMOPTIONS>-Djava.awt.headless=true</JVMOPTIONS>
            <JVMOPTIONS>-server</JVMOPTIONS>
            <JVMOPTIONS>-Xmx1024m</JVMOPTIONS>
            <JVMOPTIONS>-Xms96m</JVMOPTIONS>
            <JVMOPTIONS>-Xrs</JVMOPTIONS>
            <JVMOPTIONS>-XX:MaxPermSize=1024m</JVMOPTIONS>
            <JVMOPTIONS>-Denv=proddc2split</JVMOPTIONS>
            <JVMOPTIONS>-Dhttp.proxyHost=proxy-vip.xxxops.com</JVMOPTIONS>
            <JVMOPTIONS>-Dhttp.proxyPort=3128</JVMOPTIONS>
            <JVMOPTIONS>-Dhttps.proxyHost=proxy-vip.xxxops.com</JVMOPTIONS>
            <JVMOPTIONS>-Dhttps.proxyPort=3128</JVMOPTIONS>
    <!--       <JVMOPTIONS>-DORACLE_HOME="/opt/oracle/product/9.2.0"</JVMOPTIONS> -->
            <SECURITY defaultrealm="native" anonymousrole="ANYONE" audit="false">
                <AUTHREALM name="file" classname="com.iplanet.ias.security.auth.realm.file.FileRealm">
                  <PROPERTY name="file" value="/opt/jws61/https-xxxxx/config/keyfile"/>
                  <PROPERTY name="jaas-context" value="fileRealm"/>
                </AUTHREALM>
                <AUTHREALM name="native" classname="com.iplanet.ias.security.auth.realm.webcore.NativeRealm">
                  <PROPERTY name="jaas-context" value="nativeRealm"/>
                </AUTHREALM>
                <!--
                <AUTHREALM name="ldap" classname="com.iplanet.ias.security.auth.realm.ldap.LDAPRealm">
                  <PROPERTY name="directory" value="ldap://localhost:389"/>
                  <PROPERTY name="base-dn" value="o=isp"/>
                  <PROPERTY name="jaas-context" value="ldapRealm"/>
                </AUTHREALM>
                -->
                <!--
                <AUTHREALM name="solaris" classname="com.iplanet.ias.security.auth.realm.solaris.SolarisRealm">
                  <PROPERTY name="jaas-context" value="solarisRealm"/>
                </AUTHREALM>
                -->
            </SECURITY>
            <RESOURCES>
            </RESOURCES>
        </JAVA>
        <LOG file="/data/logs/xxxxx/errors" loglevel="info"/>
    </SERVER>###magnus.conf
    # The NetsiteRoot, ServerName, and ServerID directives are DEPRECATED.
    # They will not be supported in future releases of the Web Server.
    NetsiteRoot /opt/jws61
    ServerName entertainment
    ServerID https-xxxxxx
    RqThrottle 128
    DNS off
    Security off
    PidLog /opt/jws61/https-xxxxxx/logs/pid
    User webservd
    StackSize 131072
    TempDir /tmp/https-xxxxxx-ba138622
    CGIWaitPid on
    KeepAliveThreads 4
    KeepAliveTimeout 30
    KernelThreads off
    MaxKeepAliveConnections 256
    MaxProcs 1
    UseNativePoll on
    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-modules" shlib="/opt/jws61/bin/https/lib/libj2eeplugin.so" shlib_flags="(global|now)"###obj.conf
    <Object name="default">
    AuthTrans fn="match-browser" browser="*MSIE*" ssl-unclean-shutdown="true"
    NameTrans fn="redirect" from="/NASApp/xxx/" url-prefix="/"
    NameTrans fn="ntrans-j2ee" name="j2ee"
    NameTrans fn=pfx2dir from=/mc-icons dir="/opt/jws61/ns-icons" name="es-internal"
    NameTrans fn=document-root root="$docroot"
    PathCheck fn=unix-uri-clean
    PathCheck fn="check-acl" acl="default"
    PathCheck fn=find-pathinfo
    PathCheck fn=find-index index-names="index.html,home.html,index.jsp"
    ObjectType fn=type-by-extension
    ObjectType fn=force-type type=text/plain
    Service method=(GET|HEAD) type=magnus-internal/imagemap fn=imagemap
    #Service method=(GET|HEAD) type=magnus-internal/directory fn=index-common
    Service method=(GET|HEAD) type=magnus-internal/directory fn=send-error code=404 path="404.html"
    Service method=(GET|HEAD|POST) type=*~magnus-internal/* fn=send-file
    Service method=TRACE fn=service-trace
    Error fn="error-j2ee"
    Error fn=send-error code=404 path="/xxxxxxweb/xxx/404.html"
    Error fn=send-error code=405 path="/xxxxxxweb/xxx/404.html"
    Error fn=send-error code=500 path="/xxxxxxweb/xxx/500.html"
    AddLog fn=flex-log name="access"
    </Object>
    <Object name="j2ee">
    Service fn="service-j2ee" method="*"
    </Object>
    <Object name="cgi">
    ObjectType fn=force-type type=magnus-internal/cgi
    Service fn=send-cgi user="$user" group="$group" chroot="$chroot" dir="$dir" nice="$nice"
    </Object>
    <Object name="es-internal">
    PathCheck fn="check-acl" acl="es-internal"
    </Object>
    <Object name="send-compressed">
    PathCheck fn="find-compressed"
    </Object>
    <Object name="compress-on-demand">
    Output fn="insert-filter" filter="http-compression"
    </Object>
    <Object ppath="*.xml">
    AuthTrans fn="set-variable" insert-srvhdrs="Cache-Control: max-age=60"
    AuthTrans fn="set-variable" insert-srvhdrs="Edge-Control: max-age=60"
    </Object>

  • Web Server Problem : Dr Watson Error

    I use Dev 2000 on Web Application and Windows NT as a Web Server
    and I always get this Dr Watson error :
    An Application error has occured
    and an application error log is being generated
    F50WEB32.exe
    Exception (0xc0000025),Address:Ox77f1cd91
    Please help me.
    null

    We too were receiving Dr. Watson consistently when launching our
    application via the web.
    Hardware configuration was -- NT with Service Pack 4
    We have been very sucessful with the same configuration using NT
    with Service Pack 3.
    Finally, Oracle notified us that for Service Pack 4 a special
    version Oracle web server products is required. Once that was
    delivered and installed, Dr. Watson left the sceen.
    Hope this gives you another avenue to check.
    Karen McNulty (guest) wrote:
    : We've been getting this error as well! For us, this error
    only
    : occurs when I try to configure the listener for displaying
    icons
    : (gifs). Whenever I add a virtual directory /web_icons/ (and
    : made sure the registry.dat file is configured properly), my
    : application freezes when I start it on the web. Once I remove
    : that virtual directory, it is fine, except of course my icon
    : gifs do not display.
    : I called Oracle and started a TAR on this, but they have not
    : been able to help yet.
    : Let me know if you figure out anything ...
    : Karen
    : Bahri (guest) wrote:
    : : I use Dev 2000 on Web Application and Windows NT as a Web
    : Server
    : : and I always get this Dr Watson error :
    : : An Application error has occured
    : : and an application error log is being generated
    : : F50WEB32.exe
    : : Exception (0xc0000025),Address:Ox77f1cd91
    : : Please help me.
    null

  • Published Flash module and 404 errors in the web server log

    I’ve created a Presenter module, published it to my computer, and uploaded all the files to a web server. And it plays fine via the web.
    The odd thing is a bunch of 404 errors in the web log:
    10.1.2.104 - - [29/Jul/2009:10:36:00 -0700] "GET /repository/university/courses/3/flash/data/spk10821.1.jpg HTTP/1.1" 404 255 "-" 1166 419
    10.1.2.104 - - [29/Jul/2009:10:36:29 -0700] "GET /repository/university/courses/3/flash/data/spk10821.1.jpg HTTP/1.1" 404 255 "-" 1166 419
    10.1.2.104 - - [29/Jul/2009:10:36:57 -0700] "GET /repository/university/courses/3/flash/data/spk10821.1.jpg HTTP/1.1" 404 255 "-" 1166 419
    In the data directory there is a file named spk10821.jpg that was generated by Presenter. The image is actually the presenter bio photo that would normally show up in the sidebar -- but no photo is there. The browser never requests the valid spk10821.jpg file, only the non-existent spk10821.1.jpg path.
    Anybody know why this would be happening? I see in data/viewer.xml there is a tag for <image>spk10821.1.jpg</image> but I don’t know why Presenter would mention that file in the XML but generate a differently-named one in the publish folder.
    I’m wondering if I should have the web server rewrite requests with the ".1.jpg" ending to get rid of the ".1" part so they will work.
    By the way, this is with PowerPoint 2003 SP3 and Presenter 7.0.1.

    Hi Daniel,
    I am assuming that you are using Visual Studio 2010 to target the .Net framework 4.0
    Crystal Reports 2008 is not compatible with VS 2010. Use [Crystal Reports for Visual Studio 2010|Crystal Reports for Visual Studio 2010 Production Release Now AvailableCystlR%2528SAPWeblogs%253ACrystal+Reports%2529] to target .Net framework 4.0.
    Deploy the application using the methods specified in the 'Deployment' section of the [CR for VS 2010 .Net SDK developer guide|http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/crnet_dg_2010_en.zip].
    See if you can reproduce the issue after redeploying the application as mentioned above.
    Few questions-
    - Is it the dev machine or production machine causing the issue?
    - OS version?
    - What does the application do? i.e. view, export, print report?
    - Issue is with some reports or all the reports.
    See if there is an image on the report, remove the image and add it as a picture object ' Insert --> Picture' from the CR designer.
    Hope this helps,
    Bhushan.

Maybe you are looking for