Error while compiling hellowbigdataworld.java

kvlite started successfully ; i tested by pinging from different command prompt.
while try to compile the example program hellowbigdataworld.java getting error.
package oracle.kv does not exist

I created custom VO and files in my local JDev and it is working properly.
I wanna migrate it to actual instance.So my question is is it mandatory to compile custom java file in application server or i can use same which i used in my local machine(windows)?
-- Manoj

Similar Messages

  • Error while compiling VO  java files

    I am getting following error while compiling VO java class in my instance
    Exception in thread "main" java.lang.ClassFormatError: com.sun.tools.javac.main.Main (erroneous method access flags)
    at JvClassReader.throw_class_format_error(byte) (/usr/lib/libgcj.so.5.0.0)
    at JvClassReader.handleMethod(int, int, int, int) (/usr/lib/libgcj.so.5.0.0)
    at JvClassReader.read_methods() (/usr/lib/libgcj.so.5.0.0)
    at JvClassReader.parse() (/usr/lib/libgcj.so.5.0.0)
    at JvDefineClass(java.lang.Class, byte[], int, int) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.VMClassLoader.defineClass(java.lang.ClassLoader, java.lang.String, byte[], int, int, java.security.ProtectionDomain) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.ClassLoader.defineClass(java.lang.String, byte[], int, int, java.security.ProtectionDomain) (/usr/lib/libgcj.so.5.0.0)
    at java.security.SecureClassLoader.defineClass(java.lang.String, byte[], int, int, java.security.CodeSource) (/usr/lib/libgcj.so.5.0.0)
    at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
    at gnu.gcj.runtime.VMClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.5.0.0)
    at JvFindClass(_Jv_Utf8Const, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
    at JvBytecodeVerifier.verify_instructions_0() (/usr/lib/libgcj.so.5.0.0)
    at JvVerifyMethod(_Jv_InterpMethod) (/usr/lib/libgcj.so.5.0.0)
    at JvPrepareClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
    at JvWaitForState(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.VMClassLoader.linkClass0(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0)
    at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.Class.forName(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
    at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.5.0.0)
    at JvThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0)
    at JvRunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/libgcj.so.5.0.0)
    at __libc_start_main (/lib/tls/libc-2.3.4.so)
    Please advise me to get rid of this one.
    -- Manoj
    Edited by: 856261 on May 4, 2011 12:55 AM

    I created custom VO and files in my local JDev and it is working properly.
    I wanna migrate it to actual instance.So my question is is it mandatory to compile custom java file in application server or i can use same which i used in my local machine(windows)?
    -- Manoj

  • Error while compiling PricingUserExits.Java on IPC Server

    Hi,
    While compiling PricingUserExits.Java on IPC Server, I am getting "cannot resolve symbol" error for class object.
    Can anyone reply back procedure of how to complie this Java Program and neccessary steps....
    Thank you for support.
    Regards,
    Sameer

    Dear Andrew,
    Thanks for reply.
    As per our understanding, after compilation of java file we get class file.
    While compilation we are getting following error:
    On DOS Prompt:
    E:\usr\sap\ipc\lib\userexits>javac PricingUserExits.java
    PricingUserExits.java:172: cannot resolve symbol
    symbol  : class FormulaNotImplementedException
    location: class userexits.PricingUserExits
                                    throw new FormulaNotImplementedException(prItem,
    "group key formula", keyFormNo);
                                              ^
    PricingUserExits.java:195: cannot resolve symbol
    symbol  : class FormulaNotImplementedException
    location: class userexits.PricingUserExits
                                    throw new FormulaNotImplementedException(prItem,
    "copy formula", copyFormulaNo);
                                              ^
    Please reply back which IPC Java libraries are required and what is the path.
    If you have any documentation related to it then please email it to [email protected]
    Regards,
    Sameer

  • Error while compiling AMImpl.java at server side

    Hi,
    When I'm trying to compile the .java files at server side I'm getting the following errors, Can some one help me what is the issue?
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    Note: /econv2/app/oracle/econv2comn/java/xxafp/oracle/apps/qp/pricelistrebate/webui/XxafpEepRebateCreateCO.java uses or overrides a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    Note: /econv2/app/oracle/econv2comn/java/xxafp/oracle/apps/qp/pricelistrebate/server/PricelistrebateAMImpl.java uses unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    javac: invalid flag: /econv2/app/oracle/econv2comn/java/xxafp/oracle/apps/qp/pricelistrebate/picklist/server/DivisionPicklistVOImpl.JAVA
    Thanks,
    Mahesh

    Hi Mahesh
    check if it helps out..
    http://www.rgagnon.com/javadetails/java-0521.html
    AJ

  • Error while compiling QuoteRenderer.java file

    Currently I am working on Quotes customizations. As part of customizations, I need to modify the seeded java file (i.e., $JAVA_TOP/oracle/apps/qot/util/QuoteRenderer.java)
    Since i have only class files, I have decompiled the class file using JAD and modified the code and placed in the same path and tried to compile. Then I am getting the below errors: [I am getting the same errors even if i placed the decompiled file without any modifications]. Can you help in resolving this issue.
    Errors:
    oracle/apps/qot/util/QuoteRenderer.java:16: package javax.servlet.jsp does not exist
    import javax.servlet.jsp.JspWriter;
    ^
    oracle/apps/qot/util/QuoteRenderer.java:17: package javax.servlet.jsp does not exist
    import javax.servlet.jsp.PageContext;
    ^
    oracle/apps/qot/util/QuoteRenderer.java:127: cannot find symbol
    symbol : class PageContext
    location: class oracle.apps.qot.util.QuoteRenderer
    public static void loadQuoteLines(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse, PageContext pagecontext, int i)
    ^
    oracle/apps/qot/util/QuoteRenderer.java:664: cannot find symbol
    symbol : class PageContext
    location: class oracle.apps.qot.util.QuoteRenderer
    public static void loadQuoteLines(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse, PageContext pagecontext, String s, String s1)
    ^
    oracle/apps/qot/util/QuoteRenderer.java:775: cannot find symbol
    symbol : class PageContext
    location: class oracle.apps.qot.util.QuoteRenderer
    public static void loadQuoteLines(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse, PageContext pagecontext, String s)
    ^
    oracle/apps/qot/util/QuoteRenderer.java:838: cannot find symbol
    symbol : class PageContext
    location: class oracle.apps.qot.util.QuoteRenderer
    private static void partialLoadQuoteLines(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse, PageContext pagecontext, int i)
    ^
    oracle/apps/qot/util/QuoteRenderer.java:916: cannot find symbol
    symbol : class PageContext
    location: class oracle.apps.qot.util.QuoteRenderer
    public static void loadExpandList(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse, PageContext pagecontext)
    ^
    oracle/apps/qot/util/QuoteRenderer.java:975: cannot find symbol
    symbol : class PageContext
    location: class oracle.apps.qot.util.QuoteRenderer
    public static void renderQuoteLines(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse, PageContext pagecontext, String s, String s1)
    ^
    oracle/apps/qot/util/QuoteRenderer.java:1652: cannot find symbol
    symbol : class PageContext
    location: class oracle.apps.qot.util.QuoteRenderer
    public static void renderQuoteLineSmry(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse, PageContext pagecontext, String s)
    ^
    oracle/apps/qot/util/QuoteRenderer.java:386: reference to QuoteException is ambiguous, both method QuoteException(java.lang.String,java.lang.Object[]) in oracle.apps.qot.core.QuoteException and method QuoteException(java.lang.String,java.lang.String) in oracle.apps.qot.core.QuoteException match
    throw new QuoteException(s2, null);
    ^
    oracle/apps/qot/util/QuoteRenderer.java:982: cannot find symbol
    symbol : class JspWriter
    location: class oracle.apps.qot.util.QuoteRenderer
    JspWriter jspwriter = pagecontext.getOut();
    ^
    oracle/apps/qot/util/QuoteRenderer.java:1659: cannot find symbol
    symbol : class JspWriter
    location: class oracle.apps.qot.util.QuoteRenderer
    JspWriter jspwriter = pagecontext.getOut();
    ^
    Note: oracle/apps/qot/util/QuoteRenderer.java uses or overrides a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.

    Hi,
    You need to add librabry for j2ee-1.4.jar in your classpath this can be found under JSP Runtime library in your jdevhome\jdevbin folder.
    ~Ankul

  • Error While Compiling Seeded Java Files

    Error(12,8): class oracle.apps.gl.jahe.server.FndFlexValidationQualifierEOImpl should be declared abstract; it does not define method setLastUpdateLogin(oracle.jbo.domain.Number) in class oracle.apps.fnd.framework.server.OAEntityImpl
    Error(10,8): class oracle.apps.gl.jahe.server.GlAheDetailRangeEOImpl should be declared abstract; it does not define method setLastUpdateLogin(oracle.jbo.domain.Number) in class oracle.apps.fnd.framework.server.OAEntityImpl
    Error(12,8): class oracle.apps.gl.jahe.server.GlLookupEOImpl should be declared abstract; it does not define method setLastUpdateLogin(oracle.jbo.domain.Number) in class oracle.apps.fnd.framework.server.OAEntityImpl
    Have copied one of the java code that failed? any Suggestions?
    package oracle.apps.gl.jahe.server;
    import oracle.apps.fnd.framework.server.OAEntityImpl;
    import oracle.jbo.server.EntityDefImpl;
    import oracle.jbo.server.AttributeDefImpl;
    import oracle.jbo.domain.Number;
    import oracle.jbo.domain.Date;
    import oracle.jbo.Key;
    // --- File generated by Oracle Business Components for Java.
    public class FndFlexValidationQualifierEOImpl extends OAEntityImpl
    protected static final int FLEXVALUESETID = 0;
    protected static final int IDFLEXAPPLICATIONID = 1;
    protected static final int IDFLEXCODE = 2;
    protected static final int SEGMENTATTRIBUTETYPE = 3;
    protected static final int VALUEATTRIBUTETYPE = 4;
    protected static final int ASSIGNMENTDATE = 5;
    private static oracle.apps.fnd.framework.server.OAEntityDefImpl mDefinitionObject;
    * This is the default constructor (do not remove)
    public FndFlexValidationQualifierEOImpl()
    * Retrieves the definition object for this instance class.
    public static synchronized EntityDefImpl getDefinitionObject()
    if (mDefinitionObject == null)
    mDefinitionObject = (oracle.apps.fnd.framework.server.OAEntityDefImpl)EntityDefImpl.findDefObject("oracle.apps.gl.jahe.server.FndFlexValidationQualifierEO");
    return mDefinitionObject;
    * Gets the attribute value for FlexValueSetId, using the alias name FlexValueSetId
    public Number getFlexValueSetId()
    return (Number)getAttributeInternal(FLEXVALUESETID);
    * Sets <code>value</code> as the attribute value for FlexValueSetId
    public void setFlexValueSetId(Number value)
    setAttributeInternal(FLEXVALUESETID, value);
    * Gets the attribute value for IdFlexApplicationId, using the alias name IdFlexApplicationId
    public Number getIdFlexApplicationId()
    return (Number)getAttributeInternal(IDFLEXAPPLICATIONID);
    * Sets <code>value</code> as the attribute value for IdFlexApplicationId
    public void setIdFlexApplicationId(Number value)
    setAttributeInternal(IDFLEXAPPLICATIONID, value);
    * Gets the attribute value for IdFlexCode, using the alias name IdFlexCode
    public String getIdFlexCode()
    return (String)getAttributeInternal(IDFLEXCODE);
    * Sets <code>value</code> as the attribute value for IdFlexCode
    public void setIdFlexCode(String value)
    setAttributeInternal(IDFLEXCODE, value);
    * Gets the attribute value for SegmentAttributeType, using the alias name SegmentAttributeType
    public String getSegmentAttributeType()
    return (String)getAttributeInternal(SEGMENTATTRIBUTETYPE);
    * Sets <code>value</code> as the attribute value for SegmentAttributeType
    public void setSegmentAttributeType(String value)
    setAttributeInternal(SEGMENTATTRIBUTETYPE, value);
    * Gets the attribute value for ValueAttributeType, using the alias name ValueAttributeType
    public String getValueAttributeType()
    return (String)getAttributeInternal(VALUEATTRIBUTETYPE);
    * Sets <code>value</code> as the attribute value for ValueAttributeType
    public void setValueAttributeType(String value)
    setAttributeInternal(VALUEATTRIBUTETYPE, value);
    * Gets the attribute value for AssignmentDate, using the alias name AssignmentDate
    public Date getAssignmentDate()
    return (Date)getAttributeInternal(ASSIGNMENTDATE);
    * Sets <code>value</code> as the attribute value for AssignmentDate
    public void setAssignmentDate(Date value)
    setAttributeInternal(ASSIGNMENTDATE, value);
    // Generated method. Do not modify.
    protected Object getAttrInvokeAccessor(int index, AttributeDefImpl attrDef) throws Exception
    switch (index)
    case FLEXVALUESETID:
    return getFlexValueSetId();
    case IDFLEXAPPLICATIONID:
    return getIdFlexApplicationId();
    case IDFLEXCODE:
    return getIdFlexCode();
    case SEGMENTATTRIBUTETYPE:
    return getSegmentAttributeType();
    case VALUEATTRIBUTETYPE:
    return getValueAttributeType();
    case ASSIGNMENTDATE:
    return getAssignmentDate();
    default:
    return super.getAttrInvokeAccessor(index, attrDef);
    // Generated method. Do not modify.
    protected void setAttrInvokeAccessor(int index, Object value, AttributeDefImpl attrDef) throws Exception
    switch (index)
    case FLEXVALUESETID:
    setFlexValueSetId((Number)value);
    return;
    case IDFLEXAPPLICATIONID:
    setIdFlexApplicationId((Number)value);
    return;
    case IDFLEXCODE:
    setIdFlexCode((String)value);
    return;
    case SEGMENTATTRIBUTETYPE:
    setSegmentAttributeType((String)value);
    return;
    case VALUEATTRIBUTETYPE:
    setValueAttributeType((String)value);
    return;
    case ASSIGNMENTDATE:
    setAssignmentDate((Date)value);
    return;
    default:
    super.setAttrInvokeAccessor(index, value, attrDef);
    return;
    * Creates a Key object based on given key constituents
    public static Key createPrimaryKey(Number flexValueSetId, Number idFlexApplicationId, String idFlexCode, String segmentAttributeType, String valueAttributeType)
    return new Key(new Object[] {flexValueSetId, idFlexApplicationId, idFlexCode, segmentAttributeType, valueAttributeType});
    }

    Common error, you need to add LASTUPDATELOGIN definitino to your EO...
    protected static final int FLEXVALUESETID = 0;
    protected static final int IDFLEXAPPLICATIONID = 1;
    protected static final int IDFLEXCODE = 2;
    protected static final int SEGMENTATTRIBUTETYPE = 3;
    protected static final int VALUEATTRIBUTETYPE = 4;
    protected static final int ASSIGNMENTDATE = 5;
    protected static final int LASTUPDATELOGIN = 6;
    public Number getLastUpdateLogin()
    return (Number)getAttributeInternal(LASTUPDATELOGIN);
    public void setLastUpdateLogin(Number value)
    setAttributeInternal(LASTUPDATELOGIN, value);
    To protected Object getAttrInvokeAccessor...
    case LASTUPDATELOGIN:
    return getLastUpdateLogin();
    To protected void setAttrInvokeAccessor ...
    case LASTUPDATELOGIN:
    setLastUpdateLogin((Number)value);
    return;
    This should resolve your problem.
    Edited by: sreese on May 15, 2009 4:32 PM

  • Error while compiling java file using J2SE 1.5.0

    Dear Sir,
    I'm getting the following error while compiling the java file.The code is also given.
    package test;
    public class TestRowSet {
    public TestRowSet() {
    "TestRowSet.java": cannot access java.lang.Object,bad class file: D:\Program Files\Java\jdk1.5.0\jre\lib\rt.jar\java\lang\Object.class,class file has wrong version 49.0, should be 48.0,Please remove or make sure it appears in the correct subdirectory of the classpath. at line 4, column 1
    Please help me out.
    --Suketu Naik.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    But I'm compiling within "Borland JBuilder 9.0". I've
    set the JDK path of the current project to point to
    the path of JDK 1.5.0 . I've also tried to compile at
    command prompt with "javac". I'm getting the same
    error of "Undefinedclassloader" with long StatckTrace.
    I don't know anything about JBuilder either. If you use the command prompt and enter the full path to the 1.5 javac.exe then that will prove whether the issue is using an older javac or not. For example "c:\j2sdk1.5.0_01\bin\javac HelloWorld.java"

  • Error while compile .Java to .class

    I am new in java card. I have some problem when compile java card applet.
    1. I installed j2sdk1.4.2_07 and java_card_kit- 2_2_2 to build a sample java card. I set the environment as:
    @echo off
    set JC_HOME=C:\java_card_kit-2_2_2-windows\java_card_kit-2_2_2
    set JAVA_HOME=c:\j2sdk1.4.2_07
    set PATH=.;%JC_HOME%\bin;%JAVA_HOME%\bin;%PATH%
    I created a java applet and saved in C\STCard, and I use windows command to compile, the command is:
    c:\java_card_kit-2_2_2-windows\java_card_kit-2_2_2\samples>javac -g -classpath c:\STCard;..\lib\api.jar;..lib\installer.jar c:\STCard\*.java
    but the error is: "cannot access javacard.framework.APDU"
    What am I wrong?
    2. I use eclipse 3.3.2, eclipse jcde 0.1, java_card_kit-2_2_2, jdk1.6.0 to compile java card applet. The compilation from .java to .class was no problem, but from the .class to .cap has problem:
    java com.sun.javacard.converter.Converter -config .\converter2.opt
    error: stcard.STCard: unsupported class file format of version 50.0.
    What should I do to convert from .class to .cap?
    Thx all

    I have a typically problem , I am a student and learning core java am just a beggineer in java,i have sucessfully installed my JavaEE1.5 software on my computer but have got a problem while compiling my Java programs ,while passing the commands in my command prompt i am encounteering a problem ,am geeting an error message in my command prompt" 'javac' is not recoginized as an internal or external command ,operable program or batch file".i had also tried my own software cd of JavaEE1.5 version and installed at others computers it is running sucessfully but can i know Why it is not geeting in to my Pc & giving compilation error while compiling my java programs. so kindly sujjest me my remedy of my problem.

  • Error IFS 20010 while compiling the java files

    Hello Friends,
    The error "IFS 20010 - Failed to get PropertyResorceBundler".....
    This error is generating while compiling the java files which will connect to the iFS with the username, password and the servicename. this error points to the servicename not found.
    I will be very greatfull for any hits or help.....

    Samir,
    You must include $ORACLE_HOME/ifs1.1/settings in you classpath.
    Thank You
    Brian Ball
    null

  • Error while compiling the ejb java source files.................

    hi,
    i am new to ejb.......
    i have got error while compiling the ejb java source files............
    while compiling..........of this three i ahve got err in ejb home interface....
    ejb remote interface - succeded
    ejb bean class - succeded
    ejb home interface - error
    the error..............is in the return type of the ejb create() method in ejb home interface(which is the type of remote interface).
    the error message is cannot resolve symbol

    Hi,
    thanks for ur reply .....
    i have done enough searching in all sites including sun forum but in vain
    i have pasted my error below...
    can u plz predict anything from it
    D:\>path=%path%;c:\j2sdk1.4.2_12\bin;
    D:\>set classpath=%classpath%;d:\Sun\AppServer\lib\j2ee.jar;
    D:\>javac d:\Librarys\Library.java
    D:\>javac d:\Librarys\LibraryBean.java
    D:\>javac d:\Librarys\LibraryHome.java
    d:\Librarys\LibraryHome.java:8: cannot resolve symbol
    symbol : class Library
    location: interface Librarys.LibraryHome
    public Library create(String id, String name, String address, String phoneNo
    ) throws RemoteException, CreateException;
    ^
    d:\Librarys\LibraryHome.java:9: cannot resolve symbol
    symbol : class Library
    location: interface Librarys.LibraryHome
    public Library findByPrimaryKey(String id) throws FinderException, RemoteExc
    eption;
    ^
    2 errors
    thanks in advance...

  • Error while running a Java Program

    Can anyone help me,
    I am getting the following error while running a Java program, Below is the exception thrown, please help.
    java.nio.BufferOverflowException
    at java.nio.Buffer.nextPutIndex(Buffer.java:425)
    at java.nio.DirectByteBuffer.putChar(DirectByteBuffer.java:463)
    at org.jetel.data.StringDataField.serialize(StringDataField.java:295)
    at org.jetel.data.DataRecord.serialize(DataRecord.java:283)
    at org.jetel.graph.DirectEdge.writeRecord(DirectEdge.java:216)
    at org.jetel.graph.Edge.writeRecord(Edge.java:288)
    at com.tcs.re.component.RESummer1.run(RESummer1.java:505)
    java.nio.BufferOverflowException
    at java.nio.Buffer.nextPutIndex(Buffer.java:425)
    at java.nio.DirectByteBuffer.putChar(DirectByteBuffer.java:463)
    at org.jetel.data.StringDataField.serialize(StringDataField.java:295)
    at org.jetel.data.DataRecord.serialize(DataRecord.java:283)
    at org.jetel.graph.DirectEdge.writeRecord(DirectEdge.java:216)
    at org.jetel.graph.Edge.writeRecord(Edge.java:288)
    at com.tcs.re.component.RECollectCont.run(RECollectCont.java:304)

    Ok, let's see. Write the following class:
    public class Grunt {
      public static void main(String[] args) {
        System.out.println("Hello Mars");
    }Save it as "C:\Grunt.java", compile by typing:
    javac c:\Grunt.javaRun by typing:
    java -classpath "C:\" GruntDoes it say "Hello Mars"? If yes, go back to your program and compare for differences (maybe you used the "package" statement?).
    Regards

  • Error While Compiling Jdbc Application

    Hi,
    I am getting an error while compiling a JDBC application ... as shon below...
    please help me regardinmg this and also please specify how to include jar file ....
    JdbcApp.java:5: package Oracle.jdbc.driver does not exist
    DriverManager.registerDriver(new Oracle.jdbc.driver.OracleDriver());

    Thanx for that!!!
    but i am still getting the exception...
    D:\Java>java JdbcApp
    Exception in thread "main" java.sql.SQLException: Io exception: The Network Adap
    ter could not establish the connection
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:334)
    at oracle.jdbc.ttc7.TTC7Protocol.handleIOException(TTC7Protocol.java:366
    8)
    at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:353)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:371)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
    va:551)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:351)
    at java.sql.DriverManager.getConnection(DriverManager.java:525)
    at java.sql.DriverManager.getConnection(DriverManager.java:171)
    at JdbcApp.main(JdbcApp.java:7)
    kindly solve this...

  • Error while compiling the composite through custom ant script

    Hi,
    I am getting the following error while compiling the composite through custom built ant scripts which are intern call the ant-sca-package.xml. And the composite is created by upgrading the 10g bpels. But the same composite is successfully compiling from Jdeveloper (11.1.1.4).
    oad of wsdl "oramds:/soa/shared/workflow/NotificationService.wsdl" failed
    oracle.fabric.common.FabricException: Error in getting XML input stream: oramds:/soa/shared/workflow/NotificationService.wsdl: oracle.mds.exception.MDSException: MDS-00054: The file to be loaded oramds:/soa/shared/workflow/NotificationService.wsdl does not exist.
         at oracle.fabric.common.metadata.MetadataManagerImpl.getInputStreamFromAbsoluteURL(MetadataManagerImpl.java:280)
         at oracle.integration.platform.common.MDSMetadataManagerImpl.getInputStreamFromAbsoluteURL(MDSMetadataManagerImpl.java:555)
         at oracle.fabric.common.metadata.MetadataManagerImpl.getDocumentAsInputStream(MetadataManagerImpl.java:159)
         at oracle.integration.platform.common.MDSMetadataManagerImpl.getDocumentAsInputStream(MDSMetadataManagerImpl.java:417)
         at oracle.fabric.common.wsdl.WSDLManager.loadWSDL(WSDLManager.java:241)
         at oracle.fabric.common.wsdl.WSDLManager.loadWSDL(WSDLManager.java:304)
         at oracle.soa.scac.ValidateComposite.loadWSDLs(ValidateComposite.java:934)
         at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:491)
         at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
         at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
    Caused by: java.io.IOException: oracle.mds.exception.MDSException: MDS-00054: The file to be loaded oramds:/soa/shared/workflow/NotificationService.wsdl does not exist.
         at oracle.mds.internal.net.AbstractOraMDSURLConnection.getPDocStream(AbstractOraMDSURLConnection.java:388)
         at oracle.mds.internal.net.AbstractOraMDSURLConnection.getInputStream(AbstractOraMDSURLConnection.java:176)
         at oracle.mds.internal.net.OraMDSURLConnection.getInputStream(OraMDSURLConnection.java:67)
         at java.net.URL.openStream(URL.java:1010)
         at oracle.fabric.common.metadata.MetadataManagerImpl.getInputStreamFromAbsoluteURL(MetadataManagerImpl.java:276)
         ... 9 more
    Caused by: oracle.mds.exception.MDSException: MDS-00054: The file to be loaded oramds:/soa/shared/workflow/NotificationService.wsdl does not exist.
         at oracle.mds.internal.net.AbstractOraMDSURLConnection.getPDocStream(AbstractOraMDSURLConnection.java:339)
    And in the following blog, its recommended to check for the adf-config.xml. But when upgrading the bpels from 10g to 11.1.1.4, I don't see any such file created by Jdeveloper.
    http://orasoa.blogspot.com/2010/08/ant-and-mds-composite-compile-error.html
    Not sure if I am missing some properties to add in by custom script while compiling.
    Thanks
    Sree
    Edited by: Sree on Jul 4, 2011 7:25 AM

    Hi Hussain,
    Thanks for the reply.
    Were you able to compile the form at the client side successfully?
    1) Were you able to compile the form at the client side successfully?:
    Ans: Yes, I was able to compile the form successfully at client side.
    2) Are you logged in as applmgr user? Have you sourced the application env file before compiling the form?
    Ans: No, I have not logged by applmgr user, i am using my own login. Yes I have sourced the application env file before compiling the form
    3) What does "echo $FORMS_PATH" return?
    Ans: echo $FORMS_PATH on server gives this path
    /u01/app/EBS00/apps/apps_st/appl/au/12.0.0/resource:/u01/app/EBS00/apps/apps_st/appl/au/12.0.0/resource/stub
    Can you please advise?
    Thanks,

  • JAXB Bindings - error while compiling Schema(s)

    Hello, I want to create Java classes from a XML Schema by using JAXB Binding. However, when I do that a message error appears: "Error while compiling Schema" and then it says:
    "C:\...\NetBeansProjects\myproject\build.xml:12: Problem: failed to create task or type import
    Cause: The name is undefined.
    Action: Check the spelling.
    Action: Check that any custom tasks/types have been declared.
    Action: Check that any <presetdef>/<macrodef> declarations have taken place."
    Does anybody know what it's happening? It could be that there is a .jar missing?
    Thank you very much

    The document build.xml at line 12 says <import file="nbproject/build-impl.xml"/>. The file nbproject / build-impl.xml exists. If you want I could send it to you.You could post it here (the build-impl.xml, I mean).
    I have a working example, we could compare.
    I have included all the .jar you mentioned (excep the jaxb1-imp.jar).?
    If you added this JAXB compiling target via NB's wizard, as you describe below, you shouldn't have to "include" whatever jars wich are already in the JDK. That is, if you're using JDK6 - JAXB was not (or not so much) included in the JDK prior to 1.6.
    If the JDK is 1.5, I have no idea where you have to add these jars, possibly you're not add them in the correct classpath. Presumably Ant itself would need them in its classpath to be able to define the task.
    And I have not touched anythingThey all say that... :o)
    the only thing I did was to add other .jars (for other purposes).See?
    Is it possible that you removed one of the important jars when doing back-and-forth tries?
    But anyway I went back to remove this new .jars and the JAXB Binding still doesn't work .
    Should I uninstall the IDE and re-install? I do not know what else to do ...Do you have any reason to believe you did corrupt the JDK or NetBeans's installation? For example, when you write about adding/removing the mentioned jars, did you do that somewhere in the JDK or NB installation?
    Other than that, I don't see what reinstalling NB would do.
    Without going to such extremes, have you tried simply to remove the JAXBBinding, and add it again in the NetBeans project, using the wizard?

  • "Error while registering the Java 2 Runtime Environment registry keys"

    "Error while registering the Java 2 Runtime Environment registry keys"
    I am getting the above error when trying to install the 1.3 JRE (installed with the 1.3 plug in which I need). As part of my development I have been installing and uninstalling the JRE multiple times. Then, I got the above error when trying to install it, and now it appears to be installed but I cannot uninstall it. When I try to uninstall it, it just remains, and when I try to install it again I get the above error. I have tried cleaning up all javasoft registry entries, but it doesnt seem to have helped. Can anyone help me either completely uninstall the JRE so I can do a clean install or help me get rid of the error above when I install. Is there some registry entries I should be looking at? Anything else? this is quite urgent as I need to test my applet with the plugin installed and not installed - and I currently cant uninstall it. Any ideas?
    Thanks for your help
    Aaron

    I am getting this same error message when trying to upgrade from 1.3.1_03 to 1.3.1_19.
    I have multiple versions of jre's and jdks on my machine.
    Anyone else seen this problem or know how to resolve it.

Maybe you are looking for