Error with connection

Dear All
First of all I new to JAVA and thanx lot for your help which help me lot to clear my mind.
Now I have problem with following code.
//----  HTML Code -----
<html>
<head>
  <title>Well Come To Billing Ts</title>
   <meta http-equiv="Content-Type" content="text/html;">
   <script language="javaScript" type="text/javascript" src="calendar.js"></script>
   <link href="calendar.css" rel="stylesheet" type="text/css">
</head>
<form name ="mFORM"
        method="POST" action="SelectServer.do"
        onSubmit="document.mFORM.target = 'middle';return true;"
<div class="jive-quote"> </div>
  <br>
          <b>From date </b>  <br> 
          <a href="#" onClick="setYears(2008, 2999);
          showCalender(this, 'T2');"><img align="left" src="calender.png">
          </a>
          <input  align="left" type="text"  size="14" name="T2"><br>
          <b>To date </b> <br>
          <a href="#" onClick="setYears(2008, 2999);
          showCalender(this, 'T3');"><img  align="left" src="calender.png">
          </a>
          <input align="left" type="text" size="14" name="T3"><br><br>
       <left>
         <br><b><font size="3">Payment Location Code</font></b><br>
              <select name="PLC" size="1">
                  <option>107
                  <option>108
              </select><br><br>
              <b>Enter Bill Run Id :-  </b><br>
                 <input type="text" name="T1"  value="" size="12">
               <br><b><font size="3">Select Server :-</font></b><br>
                   <select name="Server" size="1">
                       <option>SVM_GDN
                       <option>SVM_SRV1
                       <option>SVM_SRV2
                       <option>SVM_SRV3
                       <option>SVM_SRV4
                       <option>SVM_SRV5
                       <option>SVM_SRV6
                       <option>SVM_SRV7
                   </select>
               <br><br>
               <input type="submit" value="DATA Report" name="SUBMIT" />
               </left>
               <left>
               <br><br>
               <input type="submit" value="Graph Report" name="SUBMIT">
               </left>
  </form>
    <!-- Calender Script  -->
    <table id="calenderTable">
        <tbody id="calenderTableHead">
          <tr>
            <td colspan="4" align="left">
               <select onChange="showCalenderBody(createCalender(document.getElementById('selectYear').value,
                this.selectedIndex, false));" id="selectMonth">
                   <option value="0">Jan</option>
                   <option value="1">Feb</option>
                   <option value="2">Mar</option>
                   <option value="3">Apr</option>
                   <option value="4">May</option>
                   <option value="5">Jun</option>
                   <option value="6">Jul</option>
                   <option value="7">Aug</option>
                   <option value="8">Sep</option>
                   <option value="9">Oct</option>
                   <option value="10">Nov</option>
                   <option value="11">Dec</option>
               </select>
            </td>
            <td colspan="2" align="left">
                   <select onChange="showCalenderBody(createCalender(this.value,
                    document.getElementById('selectMonth').selectedIndex, false));" id="selectYear">
                    </select>
               </td>
            <td align="left">
                   <a href="#" onClick="closeCalender();"><font color="#003333" size="+1">X</font></a>
               </td>
            </tr>
       </tbody>
       <tbody id="calenderTableDays">
         <tr style="">
           <td>Sun</td><td>Mon</td><td>Tue</td><td>Wed</td><td>Thu</td><td>Fri</td><td>Sat</td>
         </tr>
       </tbody>
       <tbody id="calender"></tbody>
    </table>
<!-- End Calender Script  -->
<body>
</body>
</html>
//----- Servlet Code
package com.example.web;
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import java.sql.*;
public class ServerSelection extends HttpServlet
     PrintWriter out;
   public void init()
     out = null;
     public void doPost(HttpServletRequest request,
                       HttpServletResponse response)
                       throws IOException, ServletException
          response.setContentType("text/html;charset=UTF-8");
          out = response.getWriter();
    String c = request.getParameter("Server");
    String t1 = request.getParameter("T1");
    String b1 = request.getParameter("SUBMIT");
    String p = request.getParameter("PLC");
    String t2 = request.getParameter("T2");
    String t3 = request.getParameter("T3");
    if (b1.equals("DATA Report")){
          if(t1.equals("") && (t2.equals(""))){
            RequestDispatcher view= request.getRequestDispatcher("Response.jsp");
            view.forward(request, response);
          else if(t2.equals("")) {
            RequestDispatcher view= request.getRequestDispatcher("ResponseBID.jsp");
            view.forward(request, response);
          else {
              RequestDispatcher view= request.getRequestDispatcher("ResponseDate.jsp");
            view.forward(request, response);
   else if(b1.equals("Graph Report")){
             if(t1.equals("") && (t2.equals(""))){ 
               RequestDispatcher view= request.getRequestDispatcher("ResponseGraph.jsp");
               view.forward(request, response);
          else if(t2.equals("")) {
               RequestDispatcher view= request.getRequestDispatcher("ResponseBIDGraph.jsp");
               view.forward(request, response);
          else {
              RequestDispatcher view= request.getRequestDispatcher("ResponseDateGraph.jsp");
            view.forward(request, response);
//--- DriverLoaderCode
package com.example.model;
import java.io.*;
import java.sql.*;
import java.util.*;
import oracle.jdbc.*;
import oracle.jdbc.driver.*;
import oracle.sql.*;
public class DriverLoader {
    /** Creates a new instance of DriverLoader */
    public DriverLoader() {
    Connection con;
     String driverName = "oracle.jdbc.driver.OracleDriver" ;
     String user = "amitj";
     String password = "amitj_05";
    public Connection getConnection(String server){
      try{ 
           Class.forName(driverName);
           if(server.equals("SVM_GDN")){
             String url = "jdbc:oracle:thin:@Host:Sid";
             con = DriverManager.getConnection(url,user,password);
           else if (server.equals("SVM_SRV1")){
               String url = "jdbc:oracle:thin:@Host:Sid";
             con = DriverManager.getConnection(url,user,password);
           else if (server.equals("SVM_SRV2")){
               String url = "jdbc:oracle:thin:@Host:Sid";
             con = DriverManager.getConnection(url,user,password);
           else if (server.equals("SVM_SRV3")){
               String url = "jdbc:oracle:thin:@Host:Sid";
             con = DriverManager.getConnection(url,user,password);
           else if (server.equals("SVM_SRV4")){
              String url = "jdbc:oracle:thin:@Host:Sid";
             con = DriverManager.getConnection(url,user,password);
           else if (server.equals("SVM_SRV5")){
               String url = "jdbc:oracle:thin:@Host:Sid";
             con = DriverManager.getConnection(url,user,password);
           else if (server.equals("SVM_SRV6")){
               String url = "jdbc:oracle:thin:@Host:Sid";
             con = DriverManager.getConnection(url,user,password);
           else if (server.equals("SVM_SRV7")){
               String url = "jdbc:oracle:thin:@Host:Sid";
             con = DriverManager.getConnection(url,user,password);
           else {
               System.out.println("Connection Error");
      catch(Exception e) {
          System.out.println(e);
       return con;
// ----      JSP Code
<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%--
The taglib directive below imports the JSTL library. If you uncomment it,
you must also add the JSTL library to the project. The Add Library... action
on Libraries node in Projects view can be used to add the JSTL 1.1 library.
--%>
<%--
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
--%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<%@ page import="com.example.model.*" %>
<%@ page import="java.io.*,java.sql.*,java.util.*"%>
<%@ page import="oracle.jdbc.*,oracle.jdbc.driver.*,oracle.sql.*"%>
<html>
<head>
  <title>Well Come To Billing Ts</title>
  <base target="_self">
  </head>
    <body>
<% 
          String c = request.getParameter("Server");
          String p=request.getParameter("PLC");
                int sum = 0;       
                 DriverLoader d = new DriverLoader();
                 Connection con = d.getConnection(c);
                    ResultSet rs = null;
                    PreparedStatement pstmt=null;
                      ResultSet rs1 = null;
                    PreparedStatement pstmt1=null;
                    ResultSetMetaData rsmd = null;
                        String query = null;
                        String query1 = null;
query = "  "
query1 = " "
                    pstmt=con.prepareStatement(query);
                    pstmt1=con.prepareStatement(query1);
                    rs = pstmt.executeQuery();
                    rs1 = pstmt1.executeQuery();
                    rsmd = rs.getMetaData();
                    int colcount = rsmd.getColumnCount();
%>
                 </TABLE>
    </body>
</html>Plz help

Dear All
Actually , I am getting java.lang.NullPointerException while running this
I have servlet class to call different JSP for different selection
In JSP I am calling a model to get connection with server as per the selection
And the JSP use the that connection and gives the result to client
But for this model code I am getting java.lang.NullPointerException.
Even I am passing the server selection.
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException
     org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
     org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
     com.example.web.ServerSelection.doPost(ServerSelection.java:59)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
     org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
root cause
java.lang.NullPointerException
     org.apache.jsp.Response_jsp._jspService(Response_jsp.java:95)
     org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
     org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
     com.example.web.ServerSelection.doPost(ServerSelection.java:59)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
     org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)

Similar Messages

  • I can't update my iOS 5! it downloads it and than say that there is error with connection? what should I do?

    it downloads it and than say that there is error with connection? what should I do?

    Are you getting a network connection error or a different error ? If it is a network connection and you've tried turning off all your firewall and antivirus software then you could try downloading the update via a browser : https://discussions.apple.com/message/16703914#16703914

  • Getting strange error with connect by clause

    Hi Everyone,
    I have a 2 test oracle databases and each of them contain a table called department (dept_no,dept_name, main_dept_no) where each department entry is connected to main department by dept_no in the MAIN_DEPT_NO column.
    The strange problem is when I execute the query on the 1 ^st^ database I get D.DEPT_NO is not available column (D.* all columns from department table) but it is there and what is more strange this query works fine on 2 ^nd^ database.
    Is there any settings I have to do in the database so that it can work with connect by clause ?
    SELECT SUBSTR(LPAD(' ', 4*(LEVEL))  || '· ' ||DEPT_NAME,1,50)  DEPT_NAME_HY, D.*
    FROM PERSONEL.DEPARTMENT D
    START WITH MAIN_DEPT_NO IS NULL
    CONNECT BY PRIOR DEPT_NO=MAIN_DEPT_NOThank you.

    SSU wrote:
    Hi Everyone,
    I have a 2 test oracle databases and each of them contain a table called department (dept_no,dept_name, main_dept_no) where each department entry is connected to main department by dept_no in the MAIN_DEPT_NO column. Did you mean two SCHEMAs or tow databases?
    Please post DB version.
    The exact error message you are getting.
    output of the below from the DB rom where you are getting the error
    DESC PERSONEL.DEPARTMENT

  • Error with connecting to TEST in Financial Reporting Studio

    Test server is confirmed working as seen connecting to EPMA in Workspace. However, when it comes to connecting to Test in FRS, after changing the Test URL to Test server in the startup box, I received the following error message:
    "You are not authorized to use this functionality. Contact your administrator."
    Any idea where and how I should go about this? If in Shared Services, where exactly?

    Sounds like you need to give/get yourself access to create reports. In shared services your user ID needs to be provisioned with the role of Report Designer. It's under Reporting and Analysis - Reporting and Analysis Administrator - Content Manager - Report Designer.

  • Error with Connection to Oracle with Wallet , JDBC, and UNIX

    Hello - our application has been getting this error periodically while connecting to an oracle database using OCI JDBC drivers.
    caused by: java.sql.SQLException: ORA-28759: failure to open file
    at oracle.jdbc.driver.DatabaseError.throwsSqlException(DatabaseError.java:125)
    at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:681)
    at oracle.jdbc.driver.T2CConennection.logon(T2CConnection.java :362)
    at oracle.jdbc.driver.PhysicalConnection.<init>
    at oracle.jdbc.driver.T2CConnection.<init>
    at oracle.jdbc.driver.T2CDriverExtension.getConnection
    at oracle.jdbc.driver.OracleDriver.connect
    at java.sql.DriverManager.getConnection
    at java.sql.DriverManager.getConnection
    Once we get this error we keep getting it and are unable to get a connection until we restart it. the file it has the issue with is the cwallet.sso, which I figured out by turning on tracing. The file is there and it gets the connection originally - but for some reason periodically we lose access to that file. But when we get the error the file is there and when we restart the process it's perfectly fine.
    The only way we have been able to replicate this error is by create a sameple JAVA app which just keeps opening connections to the database with the wallet without closing the connections. Everytime we hit the 50th connection that error appears and it's unable to get another connection. If we close the connections everytime it's alright.
    It's not a limit on the amount of connections to oracle because we have no limit set. The best explaination we can find is that unix has some sort of limit on how many concurrent accesses to that file can be done within one process. We have been unable to figure out that limit. We tried playing around with the file descriptor limits to see if it gets more or less then 50, but no luck.
    If anyone has any other suggestions it would be greatly appreciated - we are stuck right now.
    Thanks!

    No suggestions?

  • Interface Errors with connection to F5's

    We are seeing input errors on all the interfaces that connect to our F5's.
    We have checked the duplex (hard set to 100 full both ends, swapped the cable and switch interface but not changed the F5 as all the interfaces have the same issue on different F5's and Cisco switches.
    The switch is WS-C3750-24TS code 12.2(25r)SEC
    #sh int fa1/0/7 controller
    FastEthernet1/0/7 is up, line protocol is up (connected)
      Hardware is Fast Ethernet, address is
      Description: F5
      MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
         reliability 255/255, txload 1/255, rxload 1/255
      Encapsulation ARPA, loopback not set
      Keepalive set (10 sec)
      Full-duplex, 100Mb/s, media type is 10/100BaseTX
      input flow-control is off, output flow-control is unsupported
      ARP type: ARPA, ARP Timeout 04:00:00
      Last input never, output 00:00:00, output hang never
      Last clearing of "show interface" counters 10w5d
      Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
      Queueing strategy: fifo
      Output queue: 0/40 (size/max)
      5 minute input rate 2000 bits/sec, 2 packets/sec
      5 minute output rate 3000 bits/sec, 2 packets/sec
         26162416 packets input, 2535286219 bytes, 0 no buffer
         Received 26891 broadcasts (0 multicast)
         0 runts, 21 giants, 0 throttles
         512374 input errors, 257369 CRC, 0 frame, 0 overrun, 0 ignored
         0 watchdog, 0 multicast, 0 pause input
         0 input packets with dribble condition detected
         83195901 packets output, 1867380031 bytes, 0 underruns
         0 output errors, 0 collisions, 0 interface resets
         0 babbles, 0 late collision, 0 deferred
         0 lost carrier, 0 no carrier, 0 PAUSE output
         0 output buffer failures, 0 output buffers swapped out
         Transmit FastEthernet1/0/7               Receive
       1871501261 Bytes                       2536725439 Bytes
         60868339 Unicast frames                26138764 Unicast frames
          3617974 Multicast frames                     0 Multicast frames
         18731564 Broadcast frames                 26904 Broadcast frames
                0 Too old frames              2179100855 Unicast bytes
                0 Deferred frames                      0 Multicast bytes
                0 MTU exceeded frames            1721856 Broadcast bytes
                0 1 collision frames              255003 Alignment errors
                0 2 collision frames              257388 FCS errors
                0 3 collision frames                  21 Oversize frames
                0 4 collision frames                   0 Undersize frames
                0 5 collision frames               41239 Collision fragments
                0 6 collision frames
                0 7 collision frames              412735 Minimum size frames
                0 8 collision frames             6098676 65 to 127 byte frames
                0 9 collision frames            10296716 128 to 255 byte frames
                0 10 collision frames             748567 256 to 511 byte frames
                0 11 collision frames             503169 512 to 1023 byte frames
                0 12 collision frames            8618196 1024 to 1518 byte frames
                0 13 collision frames                  0 Overrun frames
                0 14 collision frames                  0 Pause frames
                0 15 collision frames
                0 Excessive collisions                 0 Symbol error frames
                0 Late collisions                     21 Invalid frames, too large
                0 VLAN discard frames                  0 Valid frames, too large
                0 Excess defer frames              41239 Invalid frames, too small
         22585962 64 byte frames                       0 Valid frames, too small
         14550725 127 byte frames
    Has anyone seen this issue before?

    They are at different locations so it cannot be patch panel/cabling.

  • Error with Connection to JDBC MS SQL Server 2000

    Hi,
    I have this error:
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]End of stream was detected on a read.
    And here is my connection statment:
    Connection conn = DriverManager.getConnection ("jdbc:microsoft:sqlserver://MYPC:8081","*****","*****");
    Any ideas?
    Many thanks in advance.

    java.sql.SQLException: [Microsoft][SQLServer 2000
    Driver for JDBC]End of stream was detected on a
    read.
    Any ideas?http://support.microsoft.com/?kbid=823896
    if that doesn't work, try this:
    http://www.mcse.ms/archive90-2005-9-1649153.html
    thanks.
    mp

  • Error with connecting ipod touch to computer

    applemobiledevice stops working and freezes itunes.
    I've done everything possible to try and fix this, reinstall, turn off firewall, repair the feature, and start/restart the feature.
    i dont know what to do, i had all my music, videos, and pictures on my ipod touch then my computer crashed. I had to reformat everything, and install vista over again. i tried to connect my ipod to the comp to see if it recognizes it and now it does not. I need some help because nothing right now is working
    thanks.

    You have to sync the videos via iTunes. See:
    iTunes: Frequently asked questions about viewing and syncing videos
    iTunes: May be unable to transfer videos to iPhone, iPad, or iPod

  • Error with connecting to WL 8.1 jms server in an applet

              Hi all
              i tried to follow below technical article to enable my applet to subscribe to
              a JMS topic setup on the WL server 8.1
              http://dev2dev.bea.com/products/wlserver81/whitepapers/WLS_81_jms_applets.jsp
              However, my applet always threw below error msg as initialize the JNDI context.
              

              Hi all
              i tried to follow below technical article to enable my applet to subscribe to
              a JMS topic setup on the WL server 8.1
              http://dev2dev.bea.com/products/wlserver81/whitepapers/WLS_81_jms_applets.jsp
              However, my applet always threw below error msg as initialize the JNDI context.
              

  • Iphone 4 randomly came up with a grey screen showing 'ios6' and then said 'connect to iTunes'. However iTunes won't pick the device up and states there is an error with the device?

    My iPhone was working fine yesterday and then showed a grey screen with the message 'ios6'. When I tried to use the phone it came up with the error message 'connect to iTunes'. When I got home from work I did this, at first iTunes could not detect the device and then it suggested a system restore. Once the restore had completed I selected the language, country/region and then came back to the same error message 'connect to iTunes'. When I tried to connect the device iTunes could not detect it and stated that there was a problem with the device.
    I have telephoned my network provider to request a replacement device on my insurance but they have said they cannot authorise until I have had the fault diagnosed my Apple. Only problem is there are no genius appointments free until Friday!
    Any help would be massively appreciated!

    We're not Apple. Se can not magically make a genius appointment available for you.

  • Error while Connecting report Best Practices v1.31 with SAP

    Hello experts,
    I'm facing an issue while trying to connect some of my reports from Best Practices for BI with SAP.
    It only happens when it's about info sets, the other ones that are with SAP tables go smoothly without a problem.
    The most interesting is I have already one of the reports connected to SAP info sets.
    I have already verified the document of steps of creation of additional database that comes with BP pack. They seem ok.
    Here goes what Crystal Reports throws to me after changing the data source to SAP:
    For report "GL Statement" one of the Financial Analysis one which uses InfoSet: /KYK/IS_FIGL_I3:
    - Failed to retrieve data from the database; - click ok then...
    - Database connector error: It wasn't indicated any variant for exercise (something like this after translating) - click ok then
    - Database connector error: RFC_INVALID_HANDLE
    For report "Cost Analysis: Planned vs. Actual Order Costs" one of the Financial Analysis one which uses InfoSet: ZBPBI131_INFO_ODVR and ZBPBI131_INFO_COAS; and also the Query CO_OM_OP_20_Q1:
    - Failed to retrieve data from the database; - click ok then...
    - Database connector error: check class for selections raised errors - click ok then
    - Database connector error: RFC_INVALID_HANDLE
    Obs.: Those "Z" infosets are already created in SAP environment.
    The one that works fine is one of the Purchasing Analysis reports:
    - Purchasing Group Analysis -> InfoSet: /KYK/IS_MCE1
    I'm kind of lost to solve this, because I'm not sure if it can be in the SAP JCO or some parameter that was done wrongly in SAP and I have already check possible solutions for both.
    Thanks in advance,
    Carlos Henrique Matos da Silva - SAP BusinessObjects BI - Brazil.

    I re-checked step 3.2.3 - Uploading Crystal User Roles (transaction PFCG) - of the manual where it talks about CRYSTAL_ENTITLEMENT and CRYSTAL_DESIGNER roles, I noticed in the Authorizations tab that the status was saying it hadn't been generated and I had a yellow sign, so then that was what I did (I generated) as it says in the manual.
    Both statuses are now saying "Authorization profile is generated" and the sign is now green on the tab.
    I had another issue in the User tab (it was yellow as Authorizations one before generating)....all I needed to do to change to green was comparing user (User Comparison button).
    After all that, I tried once more to refresh the Crystal report and I still have the error messages being thrown.
    There's one more issue in one of the tabs of PFCG transaction, it is on the Menu one where it is with a red sign, but there's nothing talking about it in the manual. I just have a folder called "Role menu" without anything in it.
    Can it be the reason why I'm facing errors when connecting the report to SAP infoSets? (remember one of my reports which is connected to an infoSet works good)
    Thanks in advance,
    Carlos Henrique Matos da Silva - SAP BusinessObjects BI - Brazil.

  • JCONTROL - dies with Error while connecting to DB

    Hi....Experts
    DB : Oracle 10.2.0.4.0
    OS ; AIX 5.3
    NW : 7.0 SP22
    UT  : EP
    Yesterday the above server got rebooted by a power failure. after that
    The server's DB is coming up as ora<sid> user, listener is also up
    But as <sid>adm user - when i am starting . The jcotnrol dies and in thee work directory
    ....log_bootstrap_ID1168012.0.log fiel shows the below messages in the tail end,
    ================================================================
    ERROR-1 : OBSERVED
    ================================================================
    ==[ Caused by: ]==----
    com.sap.engine.frame.core.configuration.ConfigurationException: Error while connecting to DB.
         at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.createConnection(DBConnectionPool.java:365)
         at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.<init>(DBConnectionPool.java:130)
         at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandler.<init>(PersistenceHandler.java:38)
         at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.<init>(ConfigurationCache.java:149)
         at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.init(ConfigurationManagerBootstrapImpl.java:236)
         at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.<init>(ConfigurationManagerBootstrapImpl.java:49)
         at com.sap.engine.bootstrap.Synchronizer.<init>(Synchronizer.java:74)
         at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.java:473)
         at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:146)
         at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:971)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
         at java.lang.reflect.Method.invoke(Method.java:391)
         at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    Caused by: java.sql.SQLException: Io exception: There is no process to read data written to a pipe.
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:420)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
         at com.sap.sql.jdbc.NativeConnectionFactory.createNativeConnection(NativeConnectionFactory.java:215)
         at com.sap.sql.connect.OpenSQLDataSourceImpl.createPooledConnection(OpenSQLDataSourceImpl.java:608)
         at com.sap.sql.connect.OpenSQLDataSourceImpl.getPooledConnection(OpenSQLDataSourceImpl.java:285)
         at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.createConnection(DBConnectionPool.java:307)
         ... 15 more
    [Feb 10, 2012 4:46:28 PM ] [Bootstrap module]> Problem occurred while performing synchronization.
    ================================================================
    ERROR-2 : OBSERVED
    ================================================================
    also i see error in work directory ...sapcpe.log as below
    Host:d45adm> more sapcpe.log
    2012/02/10 19:01:45
    sapcpe version UC: @(#) $Id: //bas/700_REL/src/ccm/sapstart/sapxxcpe.c#20 $ SAP
    Command line:
      0: /usr/sap/D45/SYS/exe/run/sapcpe
      1: name=D45
    Trace level (profile): 1
    INFO:    Try to find file table sapcpeft (default:sapcpeft)
    INFO:    Try to find file table in the central directory /usr/sap/D45/SYS/exe/ctrun/sapcpeft
    INFO:    not found any file table.
    source: /usr/sap/D45/SYS/exe/ctrun
    target: /usr/sap/D45/SYS/exe/run
    ERROR: sapcpe: find <src> /usr/sap/D45/SYS/exe/ctrun failed, 2, No such file or directory, [sapxxcpe.c:1464]
    sapcpe.log: END
    ================================================================
    any thoughts & advises, clues ???
    Rgds
    PR

    ISSUE  - RESOLVED
    ####Summary######################################
    Key Word of this Issue :
    Exception in thread "main" java.sql.SQLException: Io exception: There is no process to read data written to a pipe.
    Reason
    Name resolution by conflict / failure by netsvc.conf even we have hostfile & ping works with host name for Every user.
    Solution
    Adjusted netsvc.conf file to use the hostfile.
    DETAILS OF RESOLUTION
    OSS Experts asked me to copy the results
    SAP Note No. 867176: FAQ: Oracle JDBC (JdbcCheckup) - Point 10
    01. I copied JdbcCheckup.sar to location /home/sidadm/867176-jdbchkup/
    02. Extracted the same in same foler with command : SAPCAR -xvf JdbcCheckup.sar
    03. Now folder contained 2 files ""JdbcCheckup.java""  and "" JdbcCheckup.sar""
    04. my JDBC driver file ojdbc14.jar is in location /oracle/client/10x_64/instantclient/
    05. To determine the JDBC driver version issued the below command as per note
    $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
    $Command : java -classpath /oracle/client/10x_64/instantclient/ojdbc14.jar:. JdbcCheckup
    $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
    Please enter information to test connection to the database
    user: SAPSR3DB
    password: PASSWORD
    database(a TNSNAME entry): SID
    Hostname: portalserver
    Port (1521): 1527
    Connecting to the database...Connecting...
    jdbc:oracle:thin:@portalserver:1527:SID, SAPSR3DB, PASSWORD
    Exception in thread "main" java.sql.SQLException: Io exception: There is no process to read data written to a pipe.
            at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
            at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
            at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)
            at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)
            at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:441)
            at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
            at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
            at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
            at java.sql.DriverManager.getConnection(DriverManager.java:559)
            at java.sql.DriverManager.getConnection(DriverManager.java:189)
            at JdbcCheckup.main(JdbcCheckup.java:128)
    portalserver:sidadm>
    $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
    06. Immediately id did google with above Syntax of error.
    """java.sql.SQLException: Io exception: There is no process to read data
    written to a pipe"""
    https://forums.oracle.com/forums/thread.jspa?threadID=1320173
    which was referring about netsvc.conf
    With UNIX Team discussions, adjusted the host file as first name
    resolution source and DNS servers list followed in same(netsvc.conf)  file. which
    fixed the issue and "JdbcCheckup" passed.
    07. JdbcCheckup Command - Passed output.
    $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
    $Command :  java -classpath /oracle/client/10x_64/instantclient/ojdbc14.jar:. JdbcCheckup
    $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
    Command :  java -classpath /oracle/client/10x_64/instantclient/ojdbc14.jar:. JdbcCheckup
    Please enter information to test connection to the database
    user: SAPSR3DB
    password: PASSWORD
    database(a TNSNAME entry): SID
    Hostname: portalserver
    Port (1521): 1527
    Connecting to the database...Connecting...
    jdbc:oracle:thin:@portalserver:1527:SID, SAPSR3DB, PASSWORD
    connected.
    =============
    Database Product Name is ... Oracle
    Database Product Version is  Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, Data Mining and Real Application Testing options
    =============
    JDBC Driver Name is ........ Oracle JDBC driver
    JDBC Driver Version is ..... 10.2.0.4.0
    =============
    Hello World
    Your JDBC installation is correct.
    portalserver:sidadm>
    $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
    BIG THANK TO EVERYONE !!!!!!!!!!!!!!!!
    REGARDS
    PR

  • How do I get connected to a server on my network via an IP address?  When I try to open in a URL and login as a registered user with proper login it errors out saying there was a problem with connecting to the server?

    I am new to Mac...How do I get connected to a server on my network via a hyper link IP address path?  When I try to open in a URL and login as a registered user with proper login it errors out saying there was a problem with connecting to the server?

    Some of the following is going to use some technical terms — this area is inherently somewhat technical. 
    If you don't understand some part of the following reply, please ask.
    Is this your own OS X Server system on your own network, or is this some other server within some larger organization? 
    You're posting this in the OS X Server forum, which is a software package that allows OS X systems to provide web-based and many other services; to become servers.
    If it's your OS X Server on your network, then the network and DNS configurations are suspect, or the server is somehow malfunctioning or misconfigured.   This is unfortunately fairly common, as some folks do try to avoid setting up DNS services.
    If it's a larger organization and somebody else is managing the server and the network, then you'll probably need to contact the IT folks for assistance; to learn the network setup and DNS requirements, and if there's a problem with the server itself.
    The basic web URL "hyper link IP address path" — without using DNS — usually looks something the following, where you'll need to replace 10.20.30.40 with the IP address of your server:
    http://10.20.30.40
    UptimeJeff has posted a URL that specifies the AFP file system; an OS X file share.  That's used if you're connecting to an Apple storage service somewhere on your network.  You might alternatively need to specify smb://10.20.30.40 or such, if it's a Windows file server.  (There can be additional requirements for connecting to Windows Server systems, too.)
    If there's local IT staff available here, please contact them for assistance.  If these are your own local systems and your own local OS X Server system, then some information on the server will be needed.  (If you're on a NAT'd network, you'll also need to get DNS services configured and working on your local OS X Server system and your network — you'll not be able to skip this step and reference ISP DNS servers here — or things can and usually will get weird.)

  • Error when connect to SAP with JCo Connector on linux

    Dear all,
    Please, i need help. i was tray to connect to SAP with SAP JCo on linux ubuntu, but i have an error.
    this is the error :
    com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed
    Connect_PM  GWHOST=myhost, GWSERV=sapgw00, ASHOST=myhost, SYSNR=00
    LOCATION    CPIC (TCP/IP) on local host
    ERROR       hostname 'avatar-bumi' unknown
    TIME        Thu Feb 14 15:25:48 2008
    RELEASE     640
    COMPONENT   NI (network interface)
    VERSION     37
    RC          -2
    MODULE      niuxi_mt.c
    LINE        388
    DETAIL      NiPGetHostByName2: hostname 'avatar-bumi' not found
    SYSTEM CALL gethostbyname_r
    ERRNO       110
    ERRNO TEXT  Connection timed out
    COUNT
            at com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeConnect(Native Method)
            at com.sap.mw.jco.rfc.MiddlewareRFC$Client.connect(MiddlewareRFC.java:1125)
            at com.sap.mw.jco.JCO$Client.connect(JCO.java:3138)
            at sapjco.Main.main(Main.java:34)
    Exception in thread "main" com.sap.mw.jco.JCO$Exception: (121) JCO_ERROR_NULL_HANDLE: Invalid rfc_handle = NULL encountered
            at com.sap.mw.jco.rfc.MiddlewareRFC.nativeGetAttributes(Native Method)
            at com.sap.mw.jco.rfc.MiddlewareRFC$Client.getAttributes(MiddlewareRFC.java:1233)
            at com.sap.mw.jco.JCO$Client.getAttributesInternal(JCO.java:2940)
            at com.sap.mw.jco.JCO$Client.getAttributes(JCO.java:2994)
            at sapjco.Main.main(Main.java:38)
    How to resolve this error....
    Regards,
    Lisa
    Edited by: Lisa Yanti on Feb 14, 2008 9:35 AM

    I was resolve this error by my self.
    We can handle this error with registering our current IP and host name on /etc/hosts.
    example:
    content of /etc/hosts:
    127.0.0.1 localhost
    127.0.1.1 myhost.workgroup
    The following lines are desirable for IPv6 capable hosts
    ::1 ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts
    added the ip and host name to be like this configuration
    127.0.0.1 localhost
    127.0.1.1 myhost.workgroup
    172.20.17.74 myhost
    The following lines are desirable for IPv6 capable hosts
    ::1 ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts

  • I'm new to iPad mini and uv I'm trying to get a movie I purchased to where I can watch it offline but when I click the option to download and watch offline it keeps giving me and error with download try again later I have a good wifi connection ??

    I'm new to iPad mini and uv I'm trying to get a movie I purchased to where I can watch it offline but when I click the option to download and watch offline it keeps giving me and error with download try again later I have a good wifi connection ??

    You have a "good WiFi connection". What does that mean exactly? Can you send and receive email and are other internet related activities working OK for you? Have you tried restarting or rebooting your iPad? Sometimes that helps. If nothing else, it's a good place to start.
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

Maybe you are looking for

  • How to get the Real Path of a file which is accessed  by URL?

    iam using tomcat6.0. I have a file xyz.xml at the top of the webapplication HFUSE which i can able to access by URL http://localhost:8080/HFUSE/xyz.xml My problem is how to get the realpath of the file "xyz.xml" for reading and writing purposes. I tr

  • Best Method To Upgrade Database From 8.0.5.2.6 to 9.2.0.5

    I have the following: Oracle 8 (8.0.5.2.6) Database running on a machine with Windows NT And I want to accomplish the following: Upgrade database to Oracle 9i (9.2.0.5) on a new machine running Windows Server 2003. I am looking for advice on the best

  • Oh can I duplicate a page in a PDF file?

    How can I duplicate a page in a file? I thought I could just drag it down but that doesn't seem to work.

  • How can i get my sync key from mobile firefox (android)?

    I logged in to the sync in my desktop browser and then set up syncing with firefox for android but i recently reset my firefox config and computer isn't connected. Because i lost my sync key i can't connect it again. If key can be retrieved on connec

  • Customer master maintenace checking

    Hi All Expert, I want add the following checking to the Customer Master Maintenance, 1. Customer Group and each User ID can create / Modify / View some group of customer 2. Customer group will add to the single role for each UserID 3. When create Cus