Bug report regarding SSL library used by Sharepoint web server

I have attempted to report this by email to the [email protected] address, but they tell me this is not the correct address to use and have refused to give me a better one or forward my bug report on to the correct people. I'm hoping that by posting it here I will get the attention of someone who can fix the problem.PROBLEM DESCRIPTION:Accessing the Sharepoint web servers (157.55.229.87) is not possible from a Scientific Linux 6.5 system using OpenSSL 1.0.1e. Analysis of the network traffic shows the client successfully connects to the server and sends a TLS handshake. The server responds with a TCP ACK, but does not include a TLS handshake response. After 30 seconds the server tears the connection down with a TCP RST.
This is reproducable with the following command:
openssl s_client -showcerts -connect sexeysschool-my.sharepoint.com:443
DIAGNOSIS:
The client's TLS handshake contains several length fields - one in the TLSv1 record layer, another in the Client Hello handshake payload and one for each of the cipher suites list and extension list. Each of the length headers is 16 bits long, so should be able to contain any value up to 65535.
By hand-editing the handshake packet and replaying it, I have discovered that if the value of the TLSv1 record layer length header is <= 255, the Sharepoint server responds correctly. However, if the length header exceeds 255, the Sharepoint server does not respond.
Under Scientific Linux 6.5, 74 cipher suites (totalling 148 octets) and 5 extensions (totalling 65 octets) are presented by the client, yielding a TLSv1 record layer length of 258 octets.
Please let me know if I can be of any further help, and if possible it would be useful to have some feedback regarding this issue so that we can keep our customers informed.

Hi Mark,
According to your description, my understanding is that the Article Date column displayed with the value based on GMT0 in the Refinement web part.
Microsoft SharePoint stores date and time values in Coordinated Universal Time (UTC, but also named GMT or Zulu) format, and almost all date and time values that are returned by members of the object model are in UTC format. So the value
of the Article Date column stores the date and time in UTC format in the database, and the search indexes the UTC value of the Article Date column after crawling the database so that it displays the UTC value in Refinement web part.
The list column values displayed in the lists that are obtained through the indexer for the SPListItem class are already formatted in the local time for the site so if you’re working on current context list item and fetch a datetime field
like so SPContext.Current.ListItem["Your-DateTime-Field"] you’ll retrieve a DateTime object according the specified time zone in the regional settings.
More references:
http://francoisverbeeck.wordpress.com/2012/05/24/sharepoint-tip-of-the-day-be-careful-when-wor/
Thanks,
Victoria
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Victoria Xia
TechNet Community Support

Similar Messages

  • Can IBM WebSphere be used as a web server?

    I have heard that IBM WebSphere be used as a web server.
    Is this true?
    If so , can an SAP EP7 be used as a web server since Websphere is a portal as well.
    Thanks!

    Hi,
    Apache in general doesn't have a good application focus, so most configuration in httpd.conf is for all applications (which to apache are only folders).
    It does however use virtual host that are commonly used to separate configuration between applications.
    For SAP NetWeaver Java (all java stackbased systems can be web servers) the configuration is either done at the virtual host level or at the Java EE application level.
    The HTTP Provider ( http://help.sap.com/saphelp_nw04s/helpdata/en/8c/541eed26ef934cb161ed0b65a050ee/frameset.htm) provides you with the possibility of setting up virtual hosts.
    These virtual hosts can have a root directory which is similar to the DocumentRoot command in httpd.conf: basically it tells you were the .html files are.
    Note that the HTTP provide cannot process dynamic files(like .jsp, .php etc), only static HTML files
    The Java EE application use the various deployment descriptors for WAR and EAR for defining security settings, servlet settings (can replace need for rewrite rules) and everything else needed for the application to run.
    Java EE application can have dynamic files in the form of .jsp and it should be trivial to create a wrapper Java EE application where you just put your html files in a folder in order to mimic a web server.
    However, you should redeploy the application when you make changes to the html files in order to make sure the application is stored correctly in the database and synchronized to all cluster nodes.
    Regards
    Dagfinn

  • I am using the "G Web Server" with Bridgeview 2.1. The problem I am having is that I have to

    restart the web server once every 2 to 3 days, or the web pages don't show the vi (images). Any ideas to trouble shoot - I dont know if the problem is related to my workstation hardware or a setting that needs to be tweaked on the G Web Server. Thank you.I am using a Pentium 233 machine/ Win 95. The PLC I am collecting info from is a GE Fanuc Series 9030 (?). Ethernet connection.

    restart the web server once every 2 to 3 days, or the web pages don't show the vi (images). Any ideas to trouble shoot - I dont know if the problem is related to my workstation hardware or a setting that needs to be tweaked on the G Web Server. Thank you.Hi,
    we are using the G Web Server with LabVIEW on a WinNT 4 machine. Up to now these works fine. Therefore I would recommend you to choose a more stable OS.
    Maybe you can try to programmatically restart the server every 2 days. Within LabVIEW you would do this by running "HTTP Server Control.vi". Unfortunatly all connections will be closed, thus be aware of that!
    Hope that helps
    chris

  • Using the Embedded Web Server To Connect A Wireless Printer To Your Network

    AKA:No Wireless Setup Wizard Button, which would be way easier.
    The Prelude
    Some entry level printers do not offer a 'Wireless Setup Wizard' button, or a menu option that is accessible from the front of the printer. Printers that do not offer this luxury option, can still be easily configured to communicate to your router if you have a Mac or Windows PC.
    You still may have an easy option to get your network settings configured in your printer, if your router supports WPS. I personally do not like to use WPS as it can bring its own frustrations. WPS is not within the scope of this document.
    This document is geared towards the last available option, and in my opinion the best option. It can however be the most involved option. I am referring to using the Embedded Web Server (EWS). Most modern network capable HP Printers have a setting page that can be accessed from a web browser. The process is rather simple, but many confusing hiccups can occur, and that is what I hope to prepare you for.  There will be variances for different printers. I am using my experience with consumer printers that have been around the last few years.
    First, do not get overexcited about this document: Accessing the HP Embedded Web Server. Don't get me wrong, it is a great document, it's just that the instructions, while accurate, will not work until your printer is configured to connect to your network first. We will revisit this later however.
    Seatbelts Please
    The first thing we need to do, is have the printer broadcast its own network, sometimes referred to as AdHoc, sometimes referred to as Auto Wireless Connect. To do this, you need to navigate the menu system of the printer, and find the option to reset the network settings, network defaults or something similar. If your printer has the Wireless Direct feature you won't need to reset the network settings, but this is a perfect time to make sure Wireless Direct is turned on. If you aren't using Wireless Direct, the timer starts. Generally speaking, for the next two hours, the printer will broadcast an 'HP Setup' network, or have some variation of the printers name listed in available wireless networks. Regardless you should have plenty of time, if you read it all first and then went throught the steps.
    *Preparation:
    Here is where you want to use your favorite device, one capable of seeing 2.4ghz networks. Android phone, Apple iPad, Chromebook, Windows or Mac Notebook that you decided not to install the printer software on. Any of these devices will work. Apple iOS devices required a bit of coddling, as Safari doesn't work well with the EWS Wireless Setup Wizard.
    Do you know your network SSID? What about the passphrase, passkey or whatever the security word is called?
    If you didn't set it up, and just started using it when the internet guy installed it, then there is probably a sticker on the router with that information. If you still can't find it, call your ISP, router manufacturer or favorite family member for help to find that information (If you use a family member, remember to buy them something nice on the next gift giving holiday in your region).
    *Apple iOS specific, device preparation:
    1. You will save yourself a lot of frustration by downloading the Chrome Browser for iOS now. Go ahead, I will wait...
    If you are installing Chrome for the first time, when it completes the install, open it, and get passed the greeting and tutorial before continuing.
    2. You need to forget your home network connection when you are done with step 1. Just hold down on your home network in the wireless networks list, and 'Forget' the connection (or find the arrow that leads to the same option). If you do not take this step, it will reconnect to the home network once you run the Wireless Setup Wizard, causing you to have to back track.
    3. Be aware, when you connect to your printer's network, that it may appear to not connect (ie. spinning wheel, no confirmation) to the printer. This is a known behavior. Just close the wireless settings, and proceed as normal.
    Begin The Journey
    Open up the wireless section of your device and look in the list of available networks and tell it to connect to the HP printer network. The SSID will usually start with HP, and may have the printer model or the word SETUP in the name. Once you are connected (see "Apple iOS specific, device preparation #3 if you are using iOS), it is time to open your browser, preferably the Chrome browser when at all possible. In the address bar type 192.168.223.1 and press go or hit enter. I use the colloquialism 'hit' when I just mean 'press' again, sorry for the redudancy.
    If all is well, you should see a web page that should refer to your printer. Now is the time to find the 'Wireless Setup Wizard' button. Most printers should have it here on the main page of the EWS. Just take your time, it may not be obvious at first. Once you press it, the setup process will begin. Follow the instructions. It should see a list of detected wireless networks, and you can select your home network. Then if it requires a password, it will prompt for you to enter it. At the end of the Wizard, it might say something about not being able to test it, or show a page cannot be displayed screen. This is OK. This means the printer is now talking to your router and not your device in your hand.
    Proof Of Concept
    You can now tell your device to scan and connect back to your normal home network. Once you connect, you can verify if you can see your printer. Keep in mind, with dual band routers, that the printers will typically only be visible on the 2.4GHZ network, so your device should also connect to that network as well for testing. Once connected, now we need to find out what IP Address the printer has. Remember the document I started with “Accessing the HP Embedded Web Server”. It now is relevant, and you can complete those instructions to make sure you can see your printer on the same network. If your device can enter the printers EWS with its new IP, then you have officially connected your printer to your network. Also your printers wireless light should be solid, indicating communication.
    If It Worked
    Now the fun begins. If you are setting up ePrint, and if there is no option to configure ePrint from the front panel, find the Web Services tab, and proceed with that process. If you are setting it up to a Chomebook, you still need to setup ePrint (if it is an ePrinter) before configuring Cloudprint... but that's another document.
    I hope I have not missed any small detail that pertains to your configuration that made this hard to follow. Any comments would be welcomed to improve this for future use.
    TwoPointOh
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping!

    That printer also has a USB port why don't you connect it using that port?
    If you insist on using ethernet, Mac OS X can create two network connections at the same time. On the iMac you can configure one of the network connections to be wireless and the other to be wired using the ethernet port.
    Since you already have a wireless network configured and connecting to your AirPort Extreme for Internet access all you need to do is plug in an ethernet cable from your iMac directly to your printer and configure them to use self-assigned IP addresses. Self-assigned IP addresses take the form of 169.xxx.xxx.xxx and are used in this configuration to avoid any conflicts with your other network. You have to configure the iMac and the printer to each have a unique IP address in the self-assigned range, just make each of the last group of numbers in the IP address different, and then the iMac should be able to print to the printer.
    Note that when you configure the Imac and printer this way no other network devices will be able to print

  • Using weblogic as web server for Enterprise Manager can someone pls help?

    hello,
    can i have your help on this?
    i want to use Weblogic as web server instead of apache in the structure of Enterprise Manager 10g R3?
    have any of you try this? can someone please provide me some link related to how to configure Weblogic as web server for Enterprise Manager.
    Many thanks in advance
    Cheers,
    Cosmin

    You'll probably have better luck posting in the Enterprise Manager forum:
    Enterprise Manager

  • Using Weblogic as web server for Enterprise Manager 10g R3?

    hello,
    can i have your help on this?
    i want to use Weblogic as web server instead of apache in the structure of Enterprise Manager 10g R3?
    have any of you try this? can someone please provide me some link related to how to configure Weblogic as web server for Enterprise Manager.
    Many thanks in advance
    Cheers,
    Cosmin

    Im dont think its possible to do this with enterpise manager (Dbcosole), It might be possible with GRID .. have a look here
    http://www.oracle.com/technology/products/wag/index.html

  • Crystal Reports for VS 2008 deployment on a web server

    Hello,
    I have .NET web application created in Visual Studio 2008. It uses built-in Crystal Report Viewer control. The reports are not built into the assembly, they are loaded from report files prepared outside of Visual Studio 2008.
    I would like to deploy Crystal Reports run-time components on a web server (Windows 2008 server with IIS 7).  I have found the article describing what needs to be deployed: https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=56787567
    Can you please let me know what kind of setup (virtual folder(s), permissions) is needed to make Crystal runtime components available for my web application. I have been trying to find instructions in the forums/wikis/articles with no success. I will need this info to communicate with our system administrator.
    Thank you.

    As long as you are deploying your app to a default app pool, you do not need to worry about virtual directories. The process you are running under will need read / write permissions on the win     emp folder as the report print engine uses that extensively.
    If you are using custom app pool you will have to either
    1) create the viewer virtual directory
    2) make the viewer folder part of your app directory structure
    Other than that, keep the following resources close at hand:
    KB 1329630
    KB 1278952
    [Dynamic images appear as red X on Crystal Reports in VS .NET web viewer|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0437ea8-97d2-2b10-2795-c202a76a5e80]
    [Viewer toolbar images appear as red u2018X on Crystal Reports VS .NET web viewer|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50aa68c0-82dd-2b10-42bf-e5502b45cd3a]
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

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

  • Using JSP in Web Server

    Hi,
    Can I use JSPs and Servlets without using the Application server in the web server?

    Hi,
    By default JSP and Servlets are supported by iWS/SUN ONE Web Server. For iWS till version 4.1 you need to manually enable the servlet engine and jsp. This can be done from the Server side, goto admin mode, select the server for which you want to activate the JSP, select servlet tab and click on appropriate radio button (YES) for Enabling JSP's and Servlet's.
    NOTE: If you disable Servlet engine and JSPs are enabled, JSPs will also be disabled.
    From version 6, JSP support is enabled by default.
    Regards
    Srini

  • Use Imac as Web Server in A Windows Environment

    I would like to use an Imac to host some sites over my companies intranet. My question is how can it be done. I dont need the mac to file share or anything like that, just run as a ftp and web server. Any suggestions?

    Any reason why, assuming you have Windows 2000/2003 Server?
    At any rate, this subject doesn't have anything to do with Windows Compatibility as there isn't any compatibility issue here.
    Just turn on the Web Serving option in the Sharing control panel and Apache will start up.

  • Disabling Weblogic's http server port - Using an external web server

    Hi,
    We are using Weblogic 8.1 as application server and IWS as web server. We have
    siteminder web agent configured on the web server for implementing authentication
    and authorization.
    All our requests first go to the web server which redirects them to the application
    server.
    Since Weblogic itself has a http listen port, user can still send requests directly
    to the application server(which does not have any siteminder configuration on
    it). Is it possible to ensure that all http requests made directly to the application
    server are not processed so that the user is forced to hit the web server first.
    Thanks,
    Akash

    When you say redirect, do you mean you use an HTTP redirect to send it to your
    WLS servers URL? Or do you mean you proxy the requests from the webserver to
    the WLS instance? In the former case, you must expose WLS's HTTP server to the
    clients in order to redirect them to the address and you will not be able to
    stop them from going directly there. In the case of the latter, you can put
    your WLS instance behind the firewall so external users can't get to it. If you
    also need to protect it from internal users you should probably not use
    siteminder as your authentication mechanism. You may be able to configure
    siteminder so that it has to authenticate itself to send requests to weblogic
    and then protect all weblogic resources with that role requirement.
    Sam
    [email protected] wrote:
    Hi,
    We are using Weblogic 8.1 as application server and IWS as web server. We have
    siteminder web agent configured on the web server for implementing authentication
    and authorization.
    All our requests first go to the web server which redirects them to the application
    server.
    Since Weblogic itself has a http listen port, user can still send requests directly
    to the application server(which does not have any siteminder configuration on
    it). Is it possible to ensure that all http requests made directly to the application
    server are not processed so that the user is forced to hit the web server first.
    Thanks,
    Akash

  • {Q} Debuging Servlets with VCafe 4.0 using WebLogic as WEB server

    Hi,
              I am trying to set up VCafe 4.0 to debug servlets deployed on WebLogic 5.1.
              I don't have any problem with default servlet debugging, but I don't know
              how to tell VCafe that my WEB Server isWebLogic. Any ideas?
              Greg Mirsky
              

    What edition of VCafe is required?
              Enterprise, Professional or standard. I am now using JBuilder and anyone has
              experience comparing it with VCafe.
              Jonathan
              Don Reamey wrote:
              > Start the EJB Server from within Cafe ( you must have an EJB project open),
              > also have your servlet project open.
              >
              > Once the EJB server has been started from with in Cafe, select attach to
              > process from the file menu.
              >
              > Attach to your server and set a break point in your sevlet.
              >
              > Go to the browser of your choice and run your application as normal.
              >
              > The break point should get hit and you can start stepping.
              >
              > The same procedure works for JSP's as long as you have the
              > keepgenerated=true.
              >
              > Don Reamey
              > www.ibexone.com
              >
              > "Greg Mirsky" <[email protected]> wrote in message
              > news:[email protected]..
              > > Hi,
              > > I am trying to set up VCafe 4.0 to debug servlets deployed on WebLogic
              > 5.1.
              > > I don't have any problem with default servlet debugging, but I don't know
              > > how to tell VCafe that my WEB Server isWebLogic. Any ideas?
              > > Greg Mirsky
              > >
              > >
              > >
              

  • Getting Defunct processes while using Oracle iPlanet Web Server 7.0.9 in Solaris 10

    Hi,
    I have installed Oracle iPlanet Web Server 7.0.9 in our Solaris 10. \
    Successfully Configured iPlanet web server using the manual and the application scripts are working fine with this iPlanet webserver.
    Even if the application is working fine, the iPlanet webserver stop responding at a period of time and needs to be restart manually...
    Found that lots of defunct processes(PPID of webservd) are created and these defuncts (zombies) leads to stop the services.
    I am not good in iPlanet webserver configuration settings on the Solaris 10 OS.
    Could anyone help me to fix this issue ?
    Thanks,
    Antony.

    Here is the truss output (last few lines before the application hungs...
    /14:    2516.1065        0.0000 time()                                          = 1428330724
    /49:    2516.1382        0.0001 pollsys(0xFFFFFFFF71E3FB40, 1, 0xFFFFFFFF71E3FA80, 0x00000000) = 0
    /49:    2516.1386        0.0000 lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
    /49:    2516.1389        0.0000 lwp_kill(66, SIG#0)                             Err#3 ESRCH
    /49:    2516.1412        0.0022 munmap(0xFFFFFFFF70D00000, 262144)              = 0
    /49:    2516.1413        0.0000 lwp_exit()
    /39:    2516.1553        0.0000 pollsys(0xFFFFFFFF7283FB40, 1, 0xFFFFFFFF7283FA80, 0x00000000) = 0
    /39:    2516.1557        0.0000 lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
    /39:    2516.1559        0.0000 lwp_kill(75, SIG#0)                             Err#3 ESRCH
    /39:    2516.1561        0.0001 munmap(0xFFFFFFFF70400000, 262144)              = 0
    /39:    2516.1562        0.0000 lwp_exit()
    /25:    2516.1614        0.0000 lwp_park(0xFFFFFFFF73CFBA90, 0)                 Err#62 ETIME
    /16:    2516.1671        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /35:    2516.2558        0.0000 lwp_park(0xFFFFFFFF72EFBA90, 0)                 Err#62 ETIME
    /16:    2516.2673        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /16:    2516.3675        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /36:    2516.4317        0.0000 lwp_park(0xFFFFFFFF72CFBE60, 0)                 Err#62 ETIME
    /15:    2516.4505        0.0000 lwp_park(0xFFFFFFFF7613F9D0, 0)                 Err#62 ETIME
    /16:    2516.4677        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /16:    2516.5679        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /27:    2516.6533        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF7383FD20, 0x00000000) = 0
    /16:    2516.6681        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /1:     2516.7105        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF7FFFA6A0, 0x00000000) = 0
    /16:    2516.7684        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /34:    2516.8137        0.0000 lwp_park(0xFFFFFFFF730FBA70, 0)                 Err#62 ETIME
    /16:    2516.8685        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /16:    2516.9686        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /16:    2517.0688        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /14:    2517.1057        0.0001 pollsys(0x00000000, 0, 0xFFFFFFFF744FBDA0, 0x00000000) = 0
    /14:    2517.1061        0.0000 time()                                          = 1428330725
    /25:    2517.1618        0.0000 lwp_park(0xFFFFFFFF73CFBA90, 0)                 Err#62 ETIME
    /16:    2517.1691        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /35:    2517.2561        0.0000 lwp_park(0xFFFFFFFF72EFBA90, 0)                 Err#62 ETIME
    /16:    2517.2693        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /16:    2517.3695        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /36:    lwp_park(0xFFFFFFFF72CFBE60, 0) (sleeping...)
    /15:    lwp_park(0xFFFFFFFF7613F9D0, 0) (sleeping...)
    /16:    2517.4696        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /54:    2517.5362        0.0000 pollsys(0xFFFFFFFF7193FB40, 1, 0xFFFFFFFF7193FA80, 0x00000000) = 0
    /54:    2517.5364        0.0000 lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
    /54:    2517.5367        0.0000 lwp_kill(53, SIG#0)                             Err#3 ESRCH
    /54:    2517.5368        0.0001 munmap(0xFFFFFFFF71A00000, 262144)              = 0
    /54:    2517.5369        0.0000 lwp_exit()
    /16:    2517.5697        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /27:    pollsys(0x00000000, 0, 0xFFFFFFFF7383FD20, 0x00000000) (sleeping...)
    /16:    2517.6699        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /1:     2517.7106        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF7FFFA6A0, 0x00000000) = 0
    /1:     2517.7111        0.0001 close(26)                                       = 0
    /1:     2517.7113        0.0000 write(24, " 8", 1)                              = 1
    /1:     2517.7115        0.0000 close(23)                                       = 0
    /1:     2517.7116        0.0000 close(24)                                       = 0
    /1:     2517.7118        0.0000 lwp_unpark(25)                                  = 0
    /25:    2517.7118        0.0000 lwp_park(0xFFFFFFFF73CFBA90, 0)                 = 0
    /1:     2517.7120        0.0000 lwp_unpark(35)                                  = 0
    /35:    2517.7120        0.0000 lwp_park(0xFFFFFFFF72EFBA90, 0)                 = 0
    /25:    2517.7121        0.0000 lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
    /25:    2517.7122        0.0000 lwp_kill(61, SIG#0)                             Err#3 ESRCH
    /35:    2517.7123        0.0000 lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
    /25:    2517.7124        0.0001 munmap(0xFFFFFFFF71200000, 262144)              = 0
    /25:    2517.7125        0.0000 lwp_exit()
    /1:     2517.7126        0.0000 lwp_wait(25, 0xFFFFFFFF7FFFA47C)                = 0
    /35:    2517.7127        0.0000 lwp_kill(52, SIG#0)                             Err#3 ESRCH
    /35:    2517.7128        0.0001 munmap(0xFFFFFFFF71B00000, 262144)              = 0
    /35:    2517.7129        0.0000 lwp_unpark(1)                                   = 0
    /1:     2517.7129        0.0000 lwp_park(0x00000000, 0)                         = 0
    /35:    2517.7130        0.0000 lwp_exit()
    /1:     2517.7132        0.0000 lwp_wait(35, 0xFFFFFFFF7FFFA47C)                = 0
    /1:     2517.7134        0.0000 close(13)                                       = 0
    /16:    2517.7700        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /34:    2517.8141        0.0000 lwp_park(0xFFFFFFFF730FBA70, 0)                 Err#62 ETIME
    /16:    2517.8702        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /16:    2517.9704        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /22:    2517.9743        0.0001 pollsys(0xFFFFFFFF73F3FA98, 1, 0xFFFFFFFF73F3F9D0, 0x00000000) = 0
    /16:    2518.0706        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /14:    2518.1063        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF744FBDA0, 0x00000000) = 0
    /14:    2518.1073        0.0000 time()                                          = 1428330726
    /1:     2518.1082        0.0000 lseek(1, 0, SEEK_CUR)                           = 0
    /1:     2518.1083        0.0000 lseek(2, 0, SEEK_CUR)                           = 4128
    /1:     2518.1085        0.0000 lseek(2, 0, SEEK_CUR)                           = 4128
    /1:     2518.1093        0.0000 lseek(1, 0, SEEK_CUR)                           = 0
    /1:     2518.1094        0.0000 lseek(2, 0, SEEK_CUR)                           = 4128
    /1:     2518.1095        0.0000 lseek(2, 0, SEEK_CUR)                           = 4128
    /1:     2518.1102        0.0000 _exit(0)

  • Using Sun Java Web Server 2.0 for XSQL

    In the documentation for XSQL, a number of Java Web servers are described but not Sun java web server. I need to know the configuration for Sun java web server 2.0 for running XSQL.
    null

    This is not enough information to be useful.

  • Is it possible to use Standalone Apache web server with APEX ?

    HI,
    We are currently evaluating Oracle Applciation Express to be part of our product suite.
    Currently, in our software landscape, we are using standalone apache http server on the database server (Required for our java front end application). We support our product on both 9i & 10g. My query is for Oracle APEX, can I use the same standaloe apache http server or Is it a must that I have to use Oracle HTTP server. (I read abt' embedded PL/SQL gateway, however I am not sure whether it's supported on 9i). I am not sure, whether for mod_plsql we have to use Oracle HTTP server only.
    Any inputs on this will be of great help.
    Thanks,
    Ganesh

    To access APEX through Apache, you need to use mod_plsql. I don't think there is a mod_plsql plug-in that you can install into a standalone Apacher server. I could be wrong, someone else might know more about this.
    I think it would probably be easiest to use the HTTP server that comes on the 10g companion disk - that comes "free" when you buy the database. It is Apache and it has mod_plsql already installed and set up.
    Seems like I played around with the embedded PL/SQL gateway (DBMS_EPG package) on 9i a while ago. I could be wrong, it was a while ago. I was in the process of upgrading 8iR3 to 9iR2 and also evaluating new features of 10gR1. Things seem to mesh together after time.
    Thanks,
    Dan

Maybe you are looking for

  • How to use Z10 as Wifi USB Adapter (NOT internet tethering)

    Hi, I would like to know if there is a way to use my Z10 as a USB dongle to receive wifi signal from my router. I tried to disable the Data Service first and hoping it will let me choose my home wifi, but it did not work. It always asks to turn on th

  • Depth of field glitch

    Hi, I'm having some trouble with the depth of field in a scene that i'm animating. When the depth of field is turned on, a weird pixelated grainy bar appears across my image. It is definitely the DOF that is causing this as it disappears when turned

  • Has mssql2008r2 got "Cumulative Update Package 6 for SQL Server 2008 Service Pack 1"

    hi, I have Microsoft SQL Server 2008 R2 (RTM) - 10.50.1600.1 (Intel X86)   Apr  2 2010 15:53:02   Copyright (c) Microsoft Corporation  Express Edition with Advanced Services on Windows NT 5.1 <X86> (Build 2600: Service Pack 3)  , i wanted to know has

  • Reporting point backflush and milestone confirmation

    hello pp experts,                        if we have the option of milestone confirmation then why do we use reporting point backflush, actually what's the difference between them?

  • "The server responded: "403" to operation

    This week i have suddenly got this error, "The server responded: "403" to operation CalDAVWriteEntityQueueableOperation." when I went to add an event to iCal from the Virgin website. I have done this before with no issues I have been using Winmail.da