Intermittent JNI Panic exception when accessing Oracle

I was wondering if anyone had seem this error before and if so, did you find a resolution.
The system is a Solaris system running oracle 8.0.6 using the JDBC 9.0.1 thin client drivers.
Any help would be greatly appriciated.
The error as reported is:-
JNI panic: native code passed a wrong class to a static method
at oracle.net.ns.Packet.receive(Unknown Source)
at oracle.net.ns.NetInputStream.getNextPacket(Unknown Source)
at oracle.net.ns.NetInputStream.read(Unknown Source)
at oracle.net.ns.NetInputStream.read(Unknown Source)
at oracle.net.ns.NetInputStream.read(Unknown Source)
at oracle.jdbc.ttc7.MAREngine.unmarshalUB1(MAREngine.java:715)
at oracle.jdbc.ttc7.MAREngine.unmarshalSB1(MAREngine.java:700)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:361)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1357)
at oracle.jdbc.ttc7.TTC7Protocol.fetch(TTC7Protocol.java:921)
at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2064)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2289)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:396)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:354)
at com.telstra.mnpcis.db.domain.DBEnvelope.getNextSequenceNbr(DBEnvelope.java:498)
at java.lang.reflect.Method.invoke(Native Method)
at com.company.project.db.DBAccess.getNextSequenceNbr(DBAccess.java:566)
at com.company.project.db.PersistentDomain.getNextSequenceNbr(PersistentDomain.java:1005)
Thanks,
Neil M.

Was there a solution found to this issue?

Similar Messages

  • Error when accessing Oracle BPEL console

    The following error message shows up when access oracle BPEL console. Any advice to resolve this error? Thanks a lot in advance!
    ***************************************************************************** Oracle BPEL Server version 10.1.3.1.0 Build: 0 Build time: Mon Oct 09 08:44:49 PDT 2006 Build type: release Source tag: PCBPEL_10.1.3.1.0_GENERIC_061009.0802
    Exception Message:
    [java.lang.NoClassDefFoundError] org/apache/log4j/Category
    Exception Trace:
    java.lang.NoClassDefFoundError: org/apache/log4j/Category at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328) at java.lang.Class.getConstructor0(Class.java:2640) at java.lang.Class.getConstructor(Class.java:1629) at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:410) at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235) at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:370) at org.collaxa.thirdparty.apache.axis.components.logger.LogFactory.getLog(LogFactory.java:37) at org.collaxa.thirdparty.apache.axis.encoding.TypeMappingImpl.(TypeMappingImpl.java:68) at com.collaxa.cube.engine.deployment.TypeSoapRegistry.registerHeaderTypes(TypeSoapRegistry.java:251) at com.collaxa.cube.engine.deployment.TypeSoapRegistry.load(TypeSoapRegistry.java:79) at com.collaxa.cube.engine.core.TypeRegistry.load(TypeRegistry.java:126) at com.collaxa.cube.engine.CubeEngine.__load(CubeEngine.java:613) at com.collaxa.cube.engine.CubeEngine.load(CubeEngine.java:474) at com.collaxa.cube.admin.ServerManager.loadDomain(ServerManager.java:1111) at com.collaxa.cube.admin.ServerManager.loadAllDomains(ServerManager.java:924) at com.collaxa.cube.admin.ServerManager.init(ServerManager.java:111) at com.collaxa.cube.ejb.impl.ServerBean.init(ServerBean.java:254) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35) at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119) at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52) at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119) at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:396) at com.evermind.server.ThreadState.runAs(ThreadState.java:622) at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34) at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119) at com.evermind.server.ejb.interceptor.system.TxNotSupportedInterceptor.invoke(TxNotSupportedInterceptor.java:43) at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119) at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52) at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119) at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55) at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87) at ServerBean_RemoteProxy_4bin6i8.init(Unknown Source) at com.collaxa.cube.admin.CXLoaderServlet.init(CXLoaderServlet.java:60) at javax.servlet.GenericServlet.init(GenericServlet.java:256) at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2361) at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4810) at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4734) at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4922) at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1134) at com.evermind.server.http.HttpApplication.(HttpApplication.java:738) at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414) at com.evermind.server.Application.getHttpApplication(Application.java:545) at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1990) at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.(HttpSite.java:1909) at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:645) at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:290) at com.evermind.server.http.HttpServer.setSites(HttpServer.java:270) at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:177) at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2450) at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:998) at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131) at java.lang.Thread.run(Thread.java:595)

    ru able to login to the other applications on your App server ... viz.
    Oracle App Server Console, ESB Console, Worklist App ... etc

  • Error display when accessing oracle erp

    am getting error when i try access oracle erp with dns name
    Network Error (tcp_error)
    A communication error occurred: "Connection refused"
    The Web Server may be down, too busy, or experiencing other problems preventing it from responding to requests. You may wish to try again at a later time.
    For assistance, contact your network support team.
    what could be the solution for this issue.

    Either URL is wrong or Services on ERP server are down

  • Exception when accessing PCD object from WD code

    Hi All,
    I'm trying to implement iview properties for a Web Dynpro project according to the code on "Maximizing Web Dynpro for Java"  book.
    However, I'm getting "null" exception when running the following method:
    public IAttributeSet getRoleAttributeSet(boolean reloadIt) {
        if (reloadIt) {
          roleAttributeSet = null;
        if (roleAttributeSet == null) {
          try {
            Hashtable env = new Hashtable();
            env.put(Constants.REQUESTED_ASPECT, PcmConstants.ASPECT_SEMANTICS);
            env.put(Context.SECURITY_PRINCIPAL, WDClientUser.getCurrentUser().getSAPUser());
            InitialContext iCtx = new InitialContext(env);
            roleAttributeSet = (IAttributeSet) iCtx.lookup(iViewPath);
          } catch (Exception e) {
        return roleAttributeSet;
    The line "roleAttributeSet = (IAttributeSet) iCtx.lookup(iViewPath);" causes the exception.
    I saw several examples in SDN but none of them worked for me.
    examples like this: /message/2222425#2222425 [original link is broken]
    I used this blog: /people/daniel.wroblewski/blog/2006/07/30/everything-you-wanted-to-know-about-the-pcd
    and this PDF: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/314ae7a5-0c01-0010-c198-9c7c5e8cee46
    But get the same exception.
    I tried to set the iview path with & without "pcd:" prefix - didn't help
    I added the "PORTAL:sap.com/com.sap.portal.pcd.glservice" to my project - didn't help.
    Also, I tried using ASPECT_ADMINISTRATOR instead of ASPECT_SEMANTICS and get the IAttributeSet by using IADMInbase interface - didn't help either.
    I used this code:
    IAdminBase result =(IAdminBase)iCtx.lookup(objectName);
    IAttributeSet myIview = (IAttributeSet) result.getImplementation(IAdminBase.ATTRIBUTE_SET);
    Can someone provide me STEP BY STEP solution for getting IAttributeSet of an iview through Web Dynpro code.
    The iview path exists.
    I tested the code on EP6 SP16 & SP17.
    Thanks,
    Omri

    Hi Bharathwaj,
    I tried using the sharing references:
    PORTAL:sap.com/com.sap.portal.ivs.api_iviewf and
    PORTAL:sap.com/com.sap.portal.pcd.glservice
    both didn't help
    I have 'com.sap.portal.ivs.api_iview_api.jar' under the 'lib' folder.
    Omri

  • 9.3.3 Upgrade, null pointer exception when accessing business rules and mac

    Hello,
    We upgraded from 9.3.1 to 9.3.3. In the Essbase Administration Services Console, when I attempt to access business rules or macros from a client PC, we get a null pointer exception. The message does not tell us much, but I cannot find more.
    I can access business rules and macros using EAS Console from the server. Do I have a bad installation, or have I missed a step?
    Thank you,

    Hi,
    You might have to re-organize your application module hierarchy to place your common code.
    If your intension is to auto populate the primary key for your Entity Objects., I would suggest below common practice.
    1). Create a Base Entity Impl class for your project that extends oracle.jbo.server.EntityImpl
    2). Code your getDbSequence() method inside this base entity impl class
    3). Make sure that all your Entity Objects extend your base entity impl class
    4). Use EL expression to call this method for auto-generating primary key attribute of your Entity Object.
    e.g., adf.object.getDbSequence("sequenceName")
    Regards,
    Eshwar

  • TIME_OUT when accessing Oracle table from SAP using native SQL

    Hi,
    I have a problem in one of my native SQL statement. It takes a long time accessing the table considering that the number of records to be retrieved is only small.
    Something happened on the Oracle system. But, stilll to be confirmed. Looking further at the issue, it seems that when the value in the where clause equated is a literal (meaning the value is not declared in DATA or CONSTANTS in the ABAP Program)
    Example
    1.
    EXEC.
    WHERE FIELD = '1'
    ENDEXEC.
    instead of
    2.
    CONSTANTS: c_1 value '1'.
    EXEC.
    WHERE FIELD = c_1
    ENDEXEC.
    i found that when the way of coding is same as Example 1, a time-out error occurs. But when in Example 2, no issue.
    Can someone explain this?
    Thanks!

    Repetitively asking the same question again and again is against the forum rules.
    Please post an explain of the SQL statement on the remote machine.
    Markus

  • Exception when access JSF application deployed on apache tomcat

    Hi,
    hopefully u all will b fine.
    I am new in Java Web developement and working on JSF... I made my first hello application of JSF... but when i try to access that from browser, following exception is shown in the browser window... (I am using apache tomcat 5.5.17 and JSF 1.1)
    HTTP Status 500 �
    type Exception report
    message description: The server encountered an internal error () that prevented it from fulfilling this request.
    exception :
    org.apache.jasper.JasperException: Servlet.init() for servlet Faces Servlet threw exception
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
         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)
    root cause :
    javax.servlet.ServletException: Servlet.init() for servlet Faces Servlet threw exception
         org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:703)
         org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:670)
         org.apache.jsp.index_jsp._jspService(index_jsp.java:47)
         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)
    root cause:
    java.lang.NullPointerException
         javax.faces.webapp.FacesServlet.init(FacesServlet.java:144)
         org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:703)
         org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:670)
         org.apache.jsp.index_jsp._jspService(index_jsp.java:47)
         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)
    note: The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs.
    Apache Tomcat/5.5.17
    I placed the jsp files in "apache-tomcat-5.5.17\webapps\MyProject\"
    and web.xml and faces-config file at "apache-tomcat-5.5.17\webapps\MyProject\WEB-INF\"
    library files of JSF ("jsf-api.jar", "jsf-impl.jar" and "jstl.jar") at "apache-tomcat-5.5.17\common\lib" also i tried by placing these at "apache-tomcat-5.5.17\webapps\MyProject\WEB-INF\lib"
    Please help me out here...
    Thanks
    Imran

    Maybe your web.xml is wrong. Doublecheck it.

  • HTTP 400 Bad Request when accessing Oracle XE/Apex from the Internet

    I have Oracle Express Edition upgraded to Apex 3.2. I can access everything (SQL prompt, Apex HTTP) from my local machine. I have configured the server for remote access on a non-default (not 8080) port.
    I have executed: exec dbms_xdb.setListenerLocalAccess(false);
    I can access the server using:
    http://coyote:9977/apex (brings me to Application Express Administration Services login screen)
    (where "coyote" is the local machine name of my Windows Vista box, where the Oracle/Apex server is installed.)
    But when I try:
    http://internet_server_name:9977/apex
    (where "internet_server_name" is the internet DNS name visible of my machine visible from the internet.)
    I get "HTTP 400 Bad Request"
    I know the request is hitting the Oracle Listener (getting through firewalls, cable modem router, etc) since the http attempt causes the entry:
    20-MAR-2009 20:36:53 * http * (ADDRESS=(PROTOCOL=tcp)(HOST=68.189.244.22)(PORT=52540)) * handoff * http * 0
    to be made in the C:\oraclexe\app\oracle\product\10.2.0\server\network\log\listener.log
    An attempt using the local (Windows) machine name makes a similar entry in the listener log:
    20-MAR-2009 20:47:35 * http * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.7)(PORT=52811)) * handoff * http * 0
    This seems like a security issue of some kind (is the server dropping a request from "outside" the local domain?)
    I'm new to Oracle so I am not familiar with how to debug this sort of connectivity issue. In case it helps:
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
    Start Date 20-MAR-2009 19:27:00
    Uptime 0 days 1 hr. 30 min. 59 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\listener.ora
    Listener Log File C:\oraclexe\app\oracle\product\10.2.0\server\network\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=coyote)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=coyote)(PORT=9977))(Presentation=HTTP)(Session=RAW))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "XEXDB" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Service "XE_XPT" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Service "xe" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    The command completed successfully
    Any help appreciated,
    john

    Hans Forbrich wrote:
    CoyoteTech wrote:
    I have tried running with the firewall (F-Secure) completely disabled, but it made no difference. I do see the request hit the listener, and the handoff appears to be successful, but it goes silent from there. I also have a cable modem router that has the port forwarding set, but maybe there are other handoff ports besides the initial one (e.g. 8080) that need to be forwarded?Please also check the Windows firewall is off as well. Yes, Windows Firewall is disabled as well. See my previous post to Tyler - I'm pretty sure the reqwuest makes it through the firewall/router layer, since it causes an entry in Listener.log
    Is your problem through the router only? In other words, if you try from a second machine that is on the same side as your XE, are you working OK? (My home ISP blocks a bunch of ports. Including SMTP, FTP, Telnet. And 8080 since that is a traditional default for many Java 'servers'.)
    Yes, it appears to be related to a non-local IP address. I'm sure it makes it through the router - I also have several other ports that make it through (e.g. port 80).
    I have poked around the DBMS_EPG docs, and ran a few of the commands there (list DADS etc). DBMS_EPG was first 'released' to us in 10gR2. As far as I'm concerned, XE is the public 'beta' or 'release candidate'. (This is supported by Oracle's docs that state that Apex using DBMS_EPG is first supported using 10.2.0.3 or 11g.) There are known bugs and there is no way to patch XE to fix them. However, I do not know whether you are hitting those bugs.
    http://www.astral-consultancy.co.uk/cgi-bin/hunbug/doco.cgi?11410 provides some good notes.
    Interesting. I will check out these docs later today.
    >>
    What happens when the listener hands off to a registered handler?
    http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/concepts.htm#i1049597 gives a good description.
    Thanks.
    How do I pick up the [log] trail from there?I'm thniking that the listener's log is still the primary way to go. You may need to increase the log or trace level. I have not investigated how to gen or access logs inside EPG.I tried Tyler's trace but did not seem to add additional info to the Listener.log.

  • Strange behaviour when accessing Oracle 8i table from servlet

    Hi there,
    First a little background, I've got a 2 column table in an Oracle 8i DB that holds a very simple code to word map. There are no strange characters. Both columns are varchar.
    From my desktop machine, when I execute the the following:
    <SNIP>
                OracleDataSource ods = new OracleDataSource();
                ods.setDriverType("thin");
                ods.setServerName("DBserver.db");
                ods.setDatabaseName("DB");
                ods.setPortNumber(1527);
                ods.setUser("user");
                ods.setPassword("password");
                Connection connection = ods.getConnection();
                Statement stmt = connection.createStatement();
                ResultSet res = stmt.executeQuery(SQL);
                CachedRowSet crs = new CachedRowSetImpl();
                crs.populate(res);
                while (crs.next()) {
                    System.out.println("ID: " + crs.getString(1) +
                                       ",  Name: " + crs.getString(2));
                }<SNIP>
    Everything works fine, and I get the results I expect (both return values for getString(1) and getString(2) are exactly as they are stored in the table)
    HOWEVER:
    When I execute the same exact code in a servlet sitting on a Tomcat server (I'm using a simple applet servlet model to access the table and return a response to the applet), crs.getString(int) returns strings like: 0x53, 0x54, 0x4E and so on.
    I am unsure what this means, and would be grateful for any assistance. I am wondering where to start to troubleshoot the problem.

    I suggest you use the name of the field in your getString() so you can be sure what field its getting.
    Example:
    from:
    crs.getString(1)
    to:
    crs.getString("first_name");
    Also, I suggest you get a connection, use it, and close it (along with closing the resultSet and statement) all within a try/catch/finally block. You have to close the connection when you are done with it or you may run out of connections.
    Also, I suggest replacing this:
    CachedRowSet crs = new CachedRowSetImpl();
    crs.populate(res);
    while (crs.next()) {
    System.out.println("ID: " + crs.getString(1) +
    ", Name: " + crs.getString(2));
    with something like this:
    while(resultSet.next()){
    System.out.println("ID"
    System.out.println("ID: " + resultSet.getString("first_name") +
    ", Name: " + resultSet.getString("last_name"));
    }

  • Help,runtime exception when using oracle ses 11g

    development environment is myeclipse 8.5 , jdk1.6 , oracle ses 11g is installed on centos .
    I use the query web service example in oracle ses 11g administrator's guide to test ses 11g.
    I added wseeclient.jar,ant.jar and search_client.jar to my projects .
    the project is compiled successfully, however, A runtime exception occured when runing the project :
    Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/descriptor/DescriptorManager
         at oracle.search.query.webservice.client.OracleSearchService.<clinit>(OracleSearchService.java:58)
         at client.SESClient.main(SESClient.java:8)
    Caused by: java.lang.ClassNotFoundException: weblogic.descriptor.DescriptorManager
         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    The code is listed blow :
    package client;
    import oracle.search.query.webservice.client.*;
    public class SESClient {
         public static void main(String[] args) throws Exception {
              // runtime exception occured : java.lang.ClassNotFoundException: weblogic.descriptor.DescriptorManager
    // when create the object OracleSearchService
              OracleSearchService stub = new OracleSearchService();
              stub.setSoapURL("http://59.77.132.154:7777/search/query/OracleSearch");
              OracleSearchResult result = stub.doOracleSearch("fzu site:www.fzu.edu.cn", 1,
                        Integer.MAX_VALUE, Boolean.TRUE, Boolean.TRUE, null, "zh",
                        "zh", Boolean.TRUE, null, null, null);
              int estimatedHitCount = result.getEstimatedHitCount().intValue();
              if (estimatedHitCount == 0)
                   System.out.println("No Result!");
              else {
                   ResultElement[] resElemArray = result.getResultElements();
                   for (int i = 0; i < resElemArray.length; ++i) {
                        System.out.println(resElemArray.getTitle() + ":"
                                  + resElemArray[i].getUrl());
                        System.out.println("-----------------------------------------------------------");

    I have a reason to believe that my anti virus scanner is modifying the jar file.
    I had initially downloaded the jar file from sourceforge. It had the com.iwss.... package.
    Now i dowloaded the file in zip format and that package is not there in the zip file. But i have a new problem now.
    My eclispe just crashed with the following error message.
    JVM terminated. Exit code=1
    D:\Oracle\product\10.1.0\Client_2\jre\1.4.2\bin\javaw.exe
    -Xms40m
    -Xmx256m
    -jar C:\eclipse\startup.jar
    -os win32
    -ws win32
    -arch x86
    -launcher C:\eclipse\eclipse.exe
    -name Eclipse
    -showsplash 600
    -exitdata 1bc_74
    -vm D:\Oracle\product\10.1.0\Client_2\jre\1.4.2\bin\javaw.exe
    -vmargs
    -Xms40m
    -Xmx256m
    -jar C:\eclipse\startup.jar

  • Class not found Exception when accessing database through java using ASP

    I am trying to access the database through ASP via java:
    the database is setup as a system database..
    the java class works fine if i try to run it as a stand alone.. but as soon as I run it through ASP.. it does not get passed the driver line.. is there anything in particular I need to do ?
    JAVA and ASP and the output code looks like as follows:
    java code looks like this:
    import java.sql.*;
    public class testDB{
    private Connection connection;
    private Statement statement;
    public static void main(String[] args){
    public String getDriver(){
    String x = "start of program ";     
    try{
              Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
              x = x + " Got Driver";
              connection = java.sql.DriverManager.getConnection("jdbc:odbc:database", "sunny", "jassal");
              x = x + " After connection statement";
              statement = connection.createStatement();
              x = x + " After statement statement";
              statement.execute("Insert into name (name, age) values ('hello', 33)");
              x = x + " after insert";
              connection.close();
         } catch (Exception sqlex){x = x + sqlex.getMessage() + " " ;
              x = x + sqlex.toString() + " " ;
              x = x + sqlex.getLocalizedMessage();}
    return x;
    and the asp looks like this:
    <html>
    <%
         set javaobject = GetObject("java:testDB")
         response.write "after getting object"
         response.write javaobject.getDriver()
         set javaobject = nothing
    %>
    </html>
    after getting objectstart of program sun/jdbc/odbc/JdbcOdbcDriver java.lang.ClassNotFoundException: sun/jdbc/odbc/JdbcOdbcDriver sun/jdbc/odbc/JdbcOdbcDriver

    what would I set the classpath to be .. and I am sorry I am new to this.. but how would I be able to check the CLASSPATH .. or even how do I set the CLASSPATH.. to which directory would i need to set the classpath to
    I know I can set the classpath in dos by set CLASSPATH=
    but I dont know how to set it so it would read the drivers

  • URGENT!iBATIS not evaluating value in #value#  when accessing ORACLE

    Hi,
    I am unable to run an SQl to select a record set from oracle when i specify the value in where condition in the following manner.
    This is my sql query in XML file:
    <select id="getContractor" resultMap="contractorResult" parameterClass="contractor">
    select EIXID as eixid, FIRST_NAME as first_name, LAST_NAME as last_name from TB_CONTRACTOR where EIXID = #eixid#
    </select>
    But, when i hard code the value in sql as follows it works fine and retrieves the record.
    <select id="getContractor" resultMap="contractorResult" parameterClass="contractor">
    select EIXID as eixid, FIRST_NAME as first_name, LAST_NAME as last_name from TB_CONTRACTOR where EIXID = '12345'
    </select>
    Has anyone faces this issues. What can be the possible reason for this issue? Is there an alternate way to do it (Without using stored procedure). Please help!!
    Its urgent.
    Suni

    Bingo. The issue is that Oracle can apply implicit conversion between a
    value passed in with the SQL as it's parsed, so it will equate a passed
    in "ABC" with the real table value "ABC ". However, if the query is
    parsed with a parametrer marker instead, such as in a PreparedStatement,
    you lose the implicit conversion, so "ABC" != "ABC ". The only solutions
    are to:
    1 - redefine the column as VARCHAR2(9)
    2 - Pad all your parameter values to 9 characters, (send "ABC "
    3 - File a TAR asking Oracle to enhance it's query plan engine to apply
    the same implicit conversion of a string parameter as it would have done
    to a string value passed in in the original SQL. (Good luck on this one... ;) )
    HTH,
    Joe Weinstein at BEA Systems
    (PS: I don't even know what iBATIS is!)

  • Exception when Accessing the Workspace

    I'm getting a NoSuchMethodError when navigating to the workspace.
    Take a look: http://is-oraclesvr:9081/workspace/faces/jsf/workspace/workspace.xhtml
    I think that there must be something missing in the configuration, any clue?

    Can you provide us the exception please..

  • Getting Win32 exception when starting Oracle Infrastructure iasconsole

    Installed Oracle Infrastructure server 10GR1 and everything appears to be working EXCEPT I keep getting these "Visual Stidio Just-In-Time Debugger" pop-ups saying "An unhandled WIN32 exception occurred in nmupm.exe and also cmd.exe"
    Any ideas?
    Stumped in Boston

    I have found out the problem and solution for this OPMN error, its actually our Fusion team work
    the error is caused by Port conflicts we believe
    so by using these set of commands of opmnctl
    usage: opmnctl [verbose] [<scope>] <command> [<options>]
    verbose: print detailed execution message if available
    Permitted <scope>/<command>/<options> combinations are:
    scope command options
    start - Start opmn
    startall - Start opmn & all managed processe
    stopall - Stop opmn & all managed processe
    shutdown - Shutdown opmn & all managed proce
    [<scope>] startproc [<attr>=<val> ..] - Start opmn managed processes
    [<scope>] restartproc [<attr>=<val> ..] - Restart opmn managed processes
    [<scope>] stopproc [<attr>=<val> ..] - Stop opmn managed processes
    [<scope>] reload - Trigger opmn to reread opmn.xml
    [<scope>] status [<options>] - Get managed process status
    [<scope>] dmsdump [<attr>=<val>&..] - Get DMS stats
    [<scope>] set [<attr>=<val> ..] - Set opmn log parameters
    [<scope>] query [<attr>=<val>] - Query opmn log parameters
    ping [<max_retry>] - Ping local opmn
    validate [<filename>] - Validate the given xml file
    config [<options>] - Modify the opmn xml file
    help - Print brief usage description
    usage [<command>] - Print detailed usage description
    we have shutdown the opmn box and restarted all of its process
    it did not happen in the first time itself i have to repeat this for a several times then the SOA suite is running normally
    if any one faces this issue i can help

  • Getting exception when accessing outlook through Redemption COM

    We are accessing outlook through redemption DLL in c#.net. We are using various services like: importing contacts, calendar integration etc.  Sometime we are getting exception from redemption COM like:
    The file abc.ost is in use and cannot be accessed.
    'MyApplication' exited without properly closing your Outlook data file
    Could somebody help us to identify the root cause of this issue?
    Exception details are mentioned below:
    Exception1:
    OutlookServices.OutlookService - System.Runtime.InteropServices.COMException (0x80040119): Error in IMAPISession.OpenEntry: MAPI_E_EXTENDED_ERROR
    Error: 'MyApplication' exited without properly closing your Outlook data file 'C:\Users\abc\AppData\Local\Microsoft\Outlook\[email protected]'. 'MyApplication' must be restarted. If this error message recurs, contact support for 'MyApplication' for assistance.
    at Interop.Redemption.IRDOSession.GetMessageFromID(String EntryIDMessage, Object EntryIDStore, Object Flags)
    Exception2:
    OutlookService - System.Runtime.InteropServices.COMException (0x8004011D): Error in IMAPISession::OpenMsgStore: MAPI_E_FAILONEPROVIDER
    Error: The file C:\Users\abc\AppData\Local\Microsoft\Outlook\[email protected] - abc.ost is in use and cannot be accessed. Close any application that is using this file, and then try again. You might need to restart your computer.
     at Interop.Redemption.IRDOSession.GetDefaultFolder(rdoDefaultFolders FolderType)

    You're more likely to get help on this either directly from the Redemption people or in a .NET group, since you're not using Visual FoxPro.
    Tamar

Maybe you are looking for