Dbc file and Jsp error

Dear all,
I am trying to do multinode installtion on AIX 5.3 HACMP . During post installation i am getting this error.
Dbc file and Jsp error
Updating Server Security Authentication
java.sql.SQLException: Io exception: Invalid number format for port number
Database connection to jdbc:oracle:thin:@host_name:port_number:database failed
Updating Server Security Authentication failed with exit code 1
adgendbc.sh exiting with status 1
ERRORCODE = 1 ERRORCODE_END
SQLPLUS Executable : /mglapp/oramgl/mglora/8.0.6/bin/sqlplus
SP2-0642: SQL*Plus internal error state 2165, context 4294967295:0:0
Unable to proceed
ERRORCODE = 1 ERRORCODE_END
Thanks in advance

Maybe you have problem with the date format, please ensure that NLS_DATE_FORMAT env variable is set to a valid value.
Please view SP2-0642: Sql*Plus Internal Error State 2165, Context 4294967295:0:0 Doc ID: Note:396154.1.
Hope it helps.
Adith

Similar Messages

  • Since I updated my Creative Cloud desktop App to its last version, my files are no longer synchronized. I received the "fail to synch files" and "server error" messages.

    Since I updated my Creative Cloud desktop App to its last version, my files are no longer synchronized. I received the "fail to synch files" and "server error" messages.

    Hi, Jeff.
    I'm not on a network and I didn't change anything on my secutiy setups, so I got in touch to the customer support. They checked my computer and found nothing wrong, so they uploded some log files to analyse the case. I'm waiting for a answer.
    Thanks for the tips.

  • Not getting connection using DBC file in JSP page

    Hi,
    I have a custom page. I am trying to open a JDBC connection using DBC file. Below is the command I am using for that -
    ctx = new WebAppsContext(dbfilename);
    Connection conn = ctx.getJDBCConnection();
    My dbc file location is 'C:\OA\jdevhome\jdev\dbc_files\secure'.
    the code is raising exception after getJDBCConnection is called.
    Any Idea where I am missing?
    Regards,
    Adarsh

    This is not an OA question...
    The DBC information is already set in the JVM for the Oracle Application Server:
    WebAppsContext ctx = new WebAppsContext(System.getProperty("JTFDBCFILE"));
    Connection conn = ctx.getJDBCConnection();
    And always check for if the WebAppsContext or the Connection objects are null.

  • Validating XML files and generating error codes

    I want to validate an XML file with a schema & also get hold of the fields/attributes/tags
    that caused an error and generate error codes based on that. Any suggestion on
    how this can be done. DOM, SAX allow to do validation but how do I know exactly
    know which tags caused errors. We have to track the errors codes.

    "SP" <[email protected]> wrote:
    Use the HandlerBase class for getting hold of the tags and its attributes.
    The methods in this class take the tags and attributes and throw the
    SAXException. You can use these methods to find out which tag is throwing
    an
    exception.
    Hope this helps
    SP
    I am using the DOMParser.parse method with the xerces parser. I have an error
    handler registered to get hold of the errros. What happens is the parsing stops
    at the first instance of an error. I want to continue parsing to get hold of all
    errors. How can I achieve that?
    >
    "leena" <[email protected]> wrote in message
    news:[email protected]..
    I want to validate an XML file with a schema & also get hold of thefields/attributes/tags
    that caused an error and generate error codes based on that. Anysuggestion on
    how this can be done. DOM, SAX allow to do validation but how do Iknow
    exactly
    know which tags caused errors. We have to track the errors codes.

  • Batch file and JSP

    how can i call a batch file from JSP ??? possible ?

    'tis possible, but not recommended.
    You can use java.lang.Runtime.exec() method
    Read all about it here: http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html
    Note that this will run a batch file on the server - not on the client machine.

  • PAR files and jsp pages into NWDS

    Hi,
    I need to modify transactions from the MSS 50.x package, i.e. HR transactions. I need to delete some fields on the screens.
    The sysadmin was giving me a par file
    com.sap.pct.hcm.attendanceoverviewperiod.par.bak
    But when I import the par file into NWDS, the only thing I see is the portalapp.xml and a bunch of attribute files.
    No jsp page, no class files..
    When I browse into the directoria via sysadmin/support/portal runtime via WEB-INF, I do see all the necessary files. But how do I get the whole bunch of classes, jsp etc into NWDS? Download all single elements and put them manually into a NWDS project? There must be a better way
    Any help will be gracefully awarded

    I tried it, but when I follow your instruction, NWDS gives me an error in the import wizard "<dir> does not have a .project file".
    If I look in the .par file, there is no .project file at all.
    I looked in the download of the PCD, there is no .project file either, but at least the java classes and the jsp. 
    Is it removed intentionally? Probably because it is an SAP business package?

  • Java File and JSP Page

    I am to create a link verification program -- a simple java file with the database connection & some business logic and a JSP page that instantiates the my java file. It won't work. Everytime I run the jsp page, it gives me java.lang.NullPointerException. Can anyone give me some directions? The web server I am using is JRun.
    Thank you
    Below are my code:
    JSP Page:
    <%--      Verify Links
    --%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <%@ page import="java.sql.*" %>
    <%@ page import="java.net.*" %>
    <%@ page import="pro.*" %>
    <html>
    <head>
    <title>Results</title>
    </head>
    <body>
    <%
    try{
    LinkConnection newconn = new LinkConnection();
    newconn.initialize();
    newconn.query();
    newconn.close();
    }catch (ClassNotFoundException cnfe)
    out.println(cnfe);
    catch (SQLException sqle)
    out.println(sqle);
    catch (NullPointerException npe)
    out.println(npe);
    %>
    </body>
    </html>
    Java Code:
    package pro;
    import java.io.*;
    import java.sql.*;
    import java.net.*;
    public class LinkConnection {
    Connection con;
    ResultSet RS;
    Statement Stmt;
    public void initialize() throws SQLException, ClassNotFoundException
    Class.forName("oracle.jdbc.driver.OracleDriver");
    con = DriverManager.getConnection("XXXX", "XXXX", "XXXX");
    public void query() throws SQLException
    Statement Stmt=con.createStatement();
    String strSQL="Select guideline_name, guideline_url from pgt_guidelines";
    ResultSet RS=Stmt.executeQuery(strSQL);
    while (RS.next())
    String guidelinename = RS.getString("guideline_name");
    String guidelineurl = ("http://" + RS.getString("guideline_url"));
    try {
    URL url = new URL(guidelineurl);
    HttpURLConnection link=(HttpURLConnection)url.openConnection();
    System.out.println("<font color='blue'>");
    System.out.println(guidelinename);
    System.out.println("<br>");
    System.out.println(guidelineurl);
    System.out.println("</font>");
    System.out.println("<font color='red'>");
    System.out.println(link.getResponseCode());
    System.out.println("</font>");
    System.out.println("<br />");
              }catch (Exception e)
              {System.out.println("<font color='yellow'>Error Link </font>")
    public void close() throws SQLException {     
    RS.close();
    Stmt.close();
    con.close();

    i'm having the same problem, what is the solution to this
    A Servlet Exception Has Occurred
    java.lang.NullPointerException
         at test.Lesson.runSql(Lesson.java:80)
    ===== Lesson.java file =====
    package test;
    import java.sql.* ;
    import java.io.Serializable;
    public class Lesson {
         public Lesson( ) { }
    //Line 9
         public String runSql ( ) {
              String browserOutput = "";
              Connection sqlca = null;
              Statement sqlStatement = null;
              ResultSet myResultSet = null;
    //Line 16
              /* Connect to database, run SQL and produce output */
              try { 
                   /* Connection to the database */
                   Class.forName("org.gjt.mm.mysql.Driver").newInstance();
                   String theDatabase ="jdbc:mysql://localhost/employee";
                   sqlca = DriverManager.getConnection(theDatabase,"usr","pwd");
    //Line 24
                   /* Construct and execute the sql, positioning before the
                   first row in the result set */
                   sqlStatement = sqlca.createStatement();
                   myResultSet = sqlStatement.executeQuery
    //Line 29
                   ("select emp_id, " +
                        "emp_lname, " +
                        "city, " +
                        "state," +
                        "zip_code, " +
                        "emp_fname " +
                        "from employee " +
                        "where emp_id < 250 " +
                        "order by emp_lname, emp_fname");
    //Line 39
                   /* Construct the heading for the table */
                   browserOutput =
                        "<div align=left>"+
                        "<table border=0 align=left width=520>" +
                        "<caption><i><b>" +
                        "Employee Listing</b></i></caption>" ;
    //Line 46
                   /* Construct the column headings for the table */
                   browserOutput +=
                        "<th align=left>Emp_id</th>" +
                        "<th>First Name</th>" +
                        "<th>Last Name</th>" +
                        "<th>City</th>" +
                        "<th>State</th>" +
                        "<th>Zip</th>" ;
    //Line 55
                   /* Move to next row and & its contents to the html output */
                   while(myResultSet.next()) {
                        browserOutput += "<TR><TD>" +
                   myResultSet.getObject("emp_id").toString() + "</TD><TD>" +
                   myResultSet.getObject("emp_fname").toString()+"</TD><TD>" +
                   myResultSet.getObject("emp_lname").toString() + "</TD><TD>" +
                   myResultSet.getObject("city").toString() + "</TD><TD>" +
                   myResultSet.getObject("state").toString() + "</TD><TD>" +
                   myResultSet.getObject("zip_code").toString() + "</TD></TR>" ;
    //Line 66
                   }//end of while
                   sqlStatement.close();
                   sqlca.close();
              }//end of try
              catch (SQLException e) {
    //Line 72
                   browserOutput = " Error: SQLException: " + e.getMessage();
                   browserOutput= " Error: SQLState: " + e.getSQLState();
                   browserOutput= " VendorError: " + e.getErrorCode();
              }//end of SQLException
              catch (Exception e) {
                   browserOutput = " Error: JDBC Class creation: " + e.getMessage();
              }//end of Exception
    /**Line 80**/     finally {
                   try { sqlca.close(); }
                   catch(SQLException e) {
                   browserOutput = " Error: Closing connection: " + e.getMessage();
              }//end of finally
         /* Complete the html and return it to the Java Server Page */
         browserOutput += "</table>" + "</div>" ;
         return browserOutput;
         } //end of runSql
    }//end of Lesson

  • Import statement in .java files and .jsp files

    Guys I have few mysteries about this import statement.
    Please correct me if I am wrong.
    1)Suppose if I have a folder c:\SourceFolder it has one.java and two.java files.If I compile one.java then one.class files is created in c:\ClassFolder .Now two.java uses one of the method of one.java,and without using import statement I am able to compile two.java, and two.class file is created in c:\ClassFolder.I assume that the path of one.class was taken from the CLASSPATH environment variable,hence I there was no need for import statement .........am i right ?
    BUT... in My.jsp,which is in C:\JspFolder, if I want to use one.class,then I have to specifically import the class I want to use.That is i have to say
    <%@page import="one"%>
    and since the classpath is C:\ClassFolder ,it finds one.class in the C:\ClassFolder.(Note that My.class is created in a folder different from c:\ClassFolder )
    But I am wondering why was there no need for me to import one.class in two.java.
    (Note I am using JDeveloper and Apache server)
    Please help.
    In this case the pSo I am wondering in JSP why it doesn't take the class I am looking for from the classpath .
    Help.

    You have to understand Java scoping rules. In the 1st scenario with the two Java files I am guessing neither one of them begins with a package statement. This means that they belong to the default package. When you compile the compiler uses the classpath to resolve method calls looking in the default package since there was no import statement specified in two.java. JSP is a little different. Now I just read this here in these forums a couple of days ago. Since the classfiles generated from the JSP files are not in the CLASSPATH they are loaded by a different classloader. This is why you have to import all references to all classes in the default package.

  • Import statement in .java files and .jsp files ..correction

    Guys I have few mysteries about this import statement.
    Please correct me if I am wrong.
    1)Suppose if I have a folder c:\SourceFolder it has one.java and two.java files.If I compile one.java then one.class files is created in c:\ClassFolder .Now two.java uses one of the method of one.java,and without using import statement in two.java I am able to compile two.java, and two.class file is created in c:\ClassFolder.I assume that the path of one.class was taken from the CLASSPATH environment variable,hence I there was no need for import statement .........am i right ?
    BUT... in My.jsp,which is in C:\JspFolder, if I want to use one.class,then I have to specifically import one.class in My.jsp .That is i have to say
    <%@page import="one"%>
    in My.jsp.
    and since the classpath is C:\ClassFolder ,it finds one.class in the C:\ClassFolder and MyJsp is compiled sucessfully.(Note that My.class is created in a folder different from c:\ClassFolder )
    But I am wondering why was there no need for me to import one.class in two.java.
    (Note I am using JDeveloper and Apache server)
    Please help.

    It has to do with packages. Most java classes are in a package, the name of which must conform to its place on the filesystem relative to the classpath. By that I mean that if you have com.mystuff.One.java, it must be in a folder com/mystuff where com is located somewhere in the classpath.
    What you've done is a little different. I'm assuming a couple of things:
    1. you have no package declaration at the top of one.java or two.java
    2. you have the current directory "." in your classpath.
    Java has the concept of the "default package", which covers classes without a declared package, and in your case is the current directory.
    So when you're in c:\sourcefolder and run the compiler, then "."="c:\sourcefolder", and that directory is part of the default package. No import statements are necessary for classes that are in the same package. This is why two.java can call methods in one.java without an import statement.
    When you run your jsp, the "current directory" part of your classpath is not c:\sourcefolder, but some other value (probably the directory you start your jsp engine from) You will have to import all non-java-library classes because the jsp itself becomes a java class, with a package that is determined by the jsp engine.

  • Uploading a CSV file and getting Error ORA-01403: no data found in V4.1.1.

    I have an issue where myself and another user are unable to upload a csv file to my application using the "File Browse" page item in V4.1.1. I get the following error, "Error ORA-01403: no data found".
    This function was working perfectly last week prior to the upgrade of our APEX to V4.1.1 from V3. Other users are still able to upload the csv file, so the PL/SQL behind it must be ok.
    So here is where I am up to with testing.
    Tested the upload using my login on my PC – Fail
    Tested the upload using my login on another PC – Fail
    Tested the upload using other user’s login on my PC – Success
    Tested the upload using other user’s login on another PC - Success
    Any help would be greatly appreciated.
    Cheers,
    Greg

    The offending piece of code was in a block of script that I used from an online sample when I was first setting up this upload script. A colleague had the same issue in another application and rewrote the script to resolve the issue, see below.
    I'm still perplexed as to why the majority of users could run it ok, and there were only 2 of us that it errored on. But now it's working for all, and I can go back to building some cool stuff in V4.1.1.00.23.
    -- Read data from wwv_flow_files
    select blob_content into v_blob_data
    from wwv_flow_files
    where last_updated = (select max(last_updated) from wwv_flow_files where UPDATED_BY = :APP_USERID)
    and id = (select max(id) from wwv_flow_files where updated_by = :APP_USERID);
    -- Rewritten to the following, which works.
    select blob_content into v_blob_data
    from wwv_flow_files
    where id = (select ID from wwv_flow_files
    where UPDATED_BY = :APP_USERID
    and LAST_UPDATED = (select max(LAST_UPDATED) from wwv_flow_files where UPDATED_BY = :APP_USERID));

  • TS3297 Hi I was down loading IOS 6 to my iPhone through I tunes got as far as processing file and the error message of error 5000 came up and said I would loose everything off my iPhone if I proceeded. I managed to down load for iPad fine. I have an iPhon

    Just a beginner here first log in. Question is what do I do if I get an error message 5000 iF you progress you loose every thing - was trying to download IOS 6 onto my iPhone 4 and got to the very end when it ways processing file. Thank you

    Errors 3000-3999 (3004, 3013, 3014, 3018, 3164, 3194, and so on): Error codes in the 3000 range generally mean that iTunes cannot contact the update server (gs.apple.com) on ports 80 or 443.
    Update to the latest version of iTunes.
    Verify the computer's date and time are accurate.
    Check that your security or firewall software is not interfering with ports 80 or 443, or with the server gs.apple.com.
    Follow Troubleshooting security software. Often, uninstalling third-party security software will resolve these errors.
    An entry in your hosts file may be redirecting requests to gs.apple.com (see "Unable to contact the iOS software update server gs.apple.com" above).
    Internet proxy settings can cause this issue. If you are using a proxy, try without using one.
    Test restoring while connected to a known-good network.

  • Loading xml file and parsing error in web start

    Hello,
    I load a xml file from jar file, but i have a error at parsing see :
    ClassLoader cl= this.getClass().getClassLoader();
    File file = new File(cl.getResource("paradise/test/maquette/parser/areas.xml").getFile());
    parseur.parse(new InputSource(new FileInputStream(file)), this);
    the file opening but at parseur.parse() i have a path error with :
    http:// . . . . \Paradise_client\paradise.jar!\paradise\test\maquette\parser\areas.xml , bad name of directories .....
    Can you help me ? please :-(

    I need to do a similar thing but in my case I don't know the structure of the xml file. I have 2 questions for this mapping. For an xml file like this:
    <?xml version="1.0"?>
    <catalog>
    <book id="bk101">
    <author>Gambardella, Matthew</author>
    <title>XML Developer's Guide</title>
    <genre>Computer</genre>
    <price>44.95</price>
    <publish_date>2000-10-01</publish_date>
    <publisher>Dummy Publisher Co.</publisher>
    <publisher_address>
    <city>London</city>
    <street>Heart St.</street>
    <no>23/5</no>
    </publisher_address>
    <description>An in-depth look at creating applications
    with XML.
    </description>
    </book>
    </catalog>
    If I'm right, I need to create a database named catalog and a table named book. But the problem comes out here: How can i store publisher_address? In a table or what? Other problem is, is there a difference between storing id attribute of the book and genre element of the book? I think they are just columns of the book table. But if I'm wrong what is the correct solution?

  • Export PDF creates 0kb file and Print Error.

    By "Print Error", I mean a simple pop-up window with the pages logo and the sentence "Print. Error while printing" even though I haven't asked for anything to be printed. The resulting pdf file is zero k in size and useless.
    I had this problem in iW '06 and thought that '08 might fix it. No dice though.
    Deleating prefs did not fix the issue. ['06 or '08]
    Anyone? Thanks.
    CSK
    Burbank, CA

    I suspect that you've turned off a couple fonts with Font Book (or perhaps removed them from the Fonts folder). Pages expects certain fonts to exist - even if we don't use them or even want them.

  • Welcome file and Jsp compiled

    Hi,
    I have very problems with compiled JSP. I work with tomcat 4.0.1.
    1) When I compile JSP with jspc and -webapp option and -webinc,
    he creates a file xml as :
         <servlet>
    <servlet-name>.hdi_0005faideResolveur</servlet-name>
    <servlet-class>.hdi_0005faideResolveur</servlet-class>
         </servlet>
         <servlet-mapping>
    <servlet-name>.hdi_0005faideResolveur</servlet-name>
    <url-pattern>/jsp/Pastel/doc/hdi_aideResolveur.jsp</url-pattern>
         </servlet-mapping>
    It don't work. I need to modify "-class>." in "-class>".
    Is it normal ?????????
    2) In web.xml, I have define a welcome-file as :
    <welcome-file-list>
    <welcome-file>/jsp/Pastel/hdi_index.jsp</welcome-file>
    </welcome-file-list>
    When I work in un-compile Jsp, It's work well.
    But, with compile-jsp, it don't' work. I have tried :
    <welcome-file-list>
    <welcome-file>servlet/.hdi_0005findex</welcome-file>
    </welcome-file-list>
    I don't work to.
    Have you a solution ?????????
    Thanks,
    Elisabeth
    France

    I have dowloaded the jakarta-tomcat-4.0.2-b2 (21 Jan).
    The comportement is the same as 4.0.1 !!!!!!

  • JBuilder 6, WLS6.1 and JSP error

    I get the following error when I try to run or make a WAR-file for my JSP in JBuilder
    6:
    "JspWithCounter.jsp": weblogic.utils.AssertionError: ***** ASSERTION FAILED *****
    - with nested exception:[java.lang.NullPointerException]
    Has anyone any idea what this can be?
    Regards,
    Magnus

    I have the same problem.
    Try to replace doctype from web-app_2_3.dtd to web-app_2_2.dtd in your web.xml
    file.
    "Magnus Björk" <[email protected]> wrote:
    >
    I get the following error when I try to run or make a WAR-file for my
    JSP in JBuilder
    6:
    "JspWithCounter.jsp": weblogic.utils.AssertionError: ***** ASSERTION
    FAILED *****
    - with nested exception:[java.lang.NullPointerException]
    Has anyone any idea what this can be?
    Regards,
    Magnus

Maybe you are looking for

  • Compatible printers for Mac mini (Mac's)

    Where can I find a list of compatible printers for Mac. My current Windows printer is a Canon LBP-1120 and cannot use it with my Mac mini. So its probably time to get another printer for my Macs.

  • File attachments with Jdeveloper - SOAP

    Hi ! I am using JDev 10.1.3. I need to send file attachments via SOAP call. I have a soap service sending text files. I have a wsdl from the client. I am able to read the wsdl and create a client proxy using Jdev. I can see the contents of the file u

  • Upload an image in table item

    Hi everyone I'm just a noob with ADDT, i found it just a couple of days ago, and started to practicing a lot. Here's my question: Ho can i do this? imagine this add-form in the backend, title: picture 1: text: date: Well, about this form, i can make

  • Extracting data from an R/3 system to Xcelsius

    Hi, Could you help me - what is involved in extracting data from an R/3 system (i.e. not BI) and getting it into XCelsius? My idea at the moment is to write an ABAP to extract the data to a Z table, and wrap it up in a web service, and access this fr

  • Where can I locate the install files for Acrobat X

    I had exactly the same problem, and thought installing Acrobat XI Pro in trial would help.  First icon links became corrupt, then files would only open on right-click.  Searching for answers to icon links, etc. and many attempts failed to fix, so I u