Java.lang.ClassNotFoundException: oracle.j2ee.ws.server.WSForwardServlet

Hi,
I created a simple ADF BC Service with Jdeveloper and I am trying to deploy it to weblogic server in my soa setup.While deploying the application I am getting the below exception in the console:
JDeveloper Version: Studio Edition Version 11.1.1.5.0 (Build JDEVADF_11.1.1.5.0_GENERIC_110409.0025.6013)
Console output:
==========
[11:33:42 AM] ---- Deployment started. ----
[11:33:42 AM] Target platform is (Weblogic 10.3).
[11:34:20 AM] Retrieving existing application information
[11:34:22 AM] Running dependency analysis...
[11:34:22 AM] Building...
[11:34:22 AM] Deploying 3 profiles...
[11:34:22 AM] Wrote Archive Module to /home/sreekanth/jdeveloper/mywork/ADF-BC-Application1/Project1/deploy/bcProfile1_Common.jar
[11:34:22 AM] Wrote EJB Module to /home/sreekanth/jdeveloper/mywork/ADF-BC-Application1/Project1/deploy/bcProfile1_MiddleTier.jar
[11:34:23 AM] Wrote Enterprise Application Module to /home/sreekanth/jdeveloper/mywork/ADF-BC-Application1/deploy/Project1_bcProfile1.ear
[11:34:23 AM] /space/Sreekanth/Oracle/Middleware/jdk160_24/jre/bin/java -client -jar /space/Sreekanth/Oracle/Middleware/jdeveloper/../oracle_common/modules/oracle.webservices_11.1.1/wsa.jar -jaxwsEjbAssemble -input /home/sreekanth/jdeveloper/mywork/ADF-BC-Application1/deploy/Project1_bcProfile1.ear -output /home/sreekanth/jdeveloper/mywork/ADF-BC-Application1/deploy/tmp -classpath /space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/adf-share-support.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.adf.share.ca_11.1.1/adf-share-ca.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.adf.share.ca_11.1.1/adf-share-base.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/adflogginghandler.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/adfsharembean.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.jmx_11.1.1/jmxframework.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.jmx_11.1.1/jmxspi.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.idm_11.1.1/identitystore.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.adf.model_11.1.1/adfm.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.adf.model_11.1.1/bc4j-mbeans.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.adf.model_11.1.1/bc4jwizard.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/groovy-all-1.6.3.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.xdk_11.1.0/xmlparserv2.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.adf.model_11.1.1/db-ca.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.adf.model_11.1.1/jdev-cm.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.ldap_11.1.1/ojmisc.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/commons-el.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/jsp-el-api.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/oracle-el.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.javatools_11.1.1/resourcebundle.jar:/space/Sreekanth/Oracle/Middleware/modules/javax.activation_1.1.0.0_1-1.jar:/space/Sreekanth/Oracle/Middleware/modules/javax.mail_1.1.0.0_1-4-1.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.adf.model_11.1.1/adftransactionsdt.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.adf.view_11.1.1/adf-dt-at-rt.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.adf.model_11.1.1/adfdt_common.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.adf.model_11.1.1/adflibrary.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.adf.security_11.1.1/adf-share-security.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.adf.security_11.1.1/adf-controller-security.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.mds_11.1.1/mdsrt.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.mds_11.1.1/oramds.jar:/space/Sreekanth/Oracle/Middleware/modules/javax.servlet_1.0.0.0_2-5.jar:/space/Sreekanth/Oracle/Middleware/modules/javax.jsp_1.2.0.0_2-1.jar:/space/Sreekanth/Oracle/Middleware/jdeveloper/ide/macros/../../../wlserver_10.3/server/lib/ojdbc6.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/jlib/commons-cli-1.0.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.bali.share_11.1.1/share.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.xmlef_11.1.1/xmlef.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.dms_11.1.1/dms.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.xdk_11.1.0/xml.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.javacache_11.1.1/cache.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.ucp_11.1.0.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.odl_11.1.1/ojdl.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.javatools_11.1.1/javatools-nodeps.jar:/space/Sreekanth/Oracle/Middleware/modules/javax.management_1.2.1.jar:/space/Sreekanth/Oracle/Middleware/modules/javax.management.j2ee_1.0.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.ldap_11.1.1/ldapjclnt11.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.jps_11.1.1/jps-api.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.jps_11.1.1/jps-common.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.jps_11.1.1/jps-ee.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.jps_11.1.1/jps-internal.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.jps_11.1.1/jps-unsupported-api.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.jps_11.1.1/jps-manifest.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.jps_11.1.1/jacc-spi.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.pki_11.1.1/oraclepki.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.osdt_11.1.1/osdt_core.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.osdt_11.1.1/osdt_cert.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.osdt_11.1.1/osdt_xmlsec.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.osdt_11.1.1/osdt_ws_sx.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.iau_11.1.1/fmw_audit.jar:/space/Sreekanth/Oracle/Middleware/modules/javax.security.jacc_1.0.0.0_1-1.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.adf.model_11.1.1/adfbcsvc.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.adf.model_11.1.1/adfbcsvc-share.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/commonj.sdo_2.1.0.jar:/space/Sreekanth/Oracle/Middleware/modules/org.eclipse.persistence_1.1.0.0_2-1.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.webservices_11.1.1/wsclient.jar:/space/Sreekanth/Oracle/Middleware/oracle_common/modules/oracle.web-common_11.1.1.jar:/space/Sreekanth/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/space/Sreekanth/Oracle/Middleware/modules/javax.ejb_3.0.1.jar -createSchemaMappings -ear /home/sreekanth/jdeveloper/mywork/ADF-BC-Application1/deploy/Project1_bcProfile1.ear -servletFilterClass oracle.jbo.server.svc.ServiceContextFilter
[11:34:24 AM] INFO: Unable to load annotation javax.interceptor.Interceptors for parsing. The annotation is ignored.
[11:34:24 AM] INFO: Unable to load annotation javax.interceptor.Interceptors for parsing. The annotation is ignored.
[11:34:24 AM] INFO: GenericWSWarAnnotationListener.parseAnnotatedClass Adding Servlet Mapping with URL pattern /AppModuleService for annotated WebService class project1.server.serviceinterface.AppModuleServiceImpl
[11:34:24 AM] WSA process exited with code 0.
[11:34:36 AM] Deploying Application...
[11:34:54 AM] [Deployer:149193]Operation 'deploy' on application 'Project1_bcProfile1' has failed on 'AdminServer'
[11:34:54 AM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application Project1_bcProfile1 on AdminServer.: Failed to load webapp: 'ADF-BC-Application1-Project1-context-root'.
[11:34:58 AM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'ADF-BC-Application1-Project1-context-root'
[11:34:58 AM] Caused by: java.lang.ClassNotFoundException: oracle.j2ee.ws.server.WSForwardServlet
[11:34:58 AM] See server logs or server console for more details.
[11:34:58 AM] weblogic.application.ModuleException: Failed to load webapp: 'ADF-BC-Application1-Project1-context-root'
[11:35:00 AM] #### Deployment incomplete. ####
[11:35:00 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
can some one help If I have to add something to classpath or install any additional plugins.
Thanks
Sreekanth

For sure you are missing a library as the 'Caused by: java.lang.ClassNotFoundException: oracle.j2ee.ws.server.WSForwardServlet' error tells.
You can use 'Tools'->'Manage Libraries' and paste the class name into the search field, search for it and see all libraries which contain the missing class. Add this (one of them) to the projects libs and it should work.
Make sure you deploy to a server which is set up with the correct adf runtime libs (11.1.1.5.0 means you need a WLS 10.3.5 server).
Timo

Similar Messages

  • Java.lang.ClassNotFoundException: oracle.j2ee.ws.wsdl.extensions.addressing

    Hello,
    I'm on weblogic 12c
    Im using a client generated by CFX plugin in Maven. Everything works fine but I have a lot of those lines in my log file.
    WARNING: Registering oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry extension failed; java.lang.ClassNotFoundException: oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry
    SEVERE: Failed to create WsdlDefinitionFeature for wsdl location: http://10.152.174.30:7001/LBCGatewayWeb/LBCISOWebChanelService, error: javax.xml.ws.WebServiceException, message: java.lang.ClassNotFoundException: oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry
    How can I remove this problem ?

    Hi,
    This above warning message can be avoided if you will extend your weblogic domain to support JRF.
    If this helps please mark.
    Thanks,
    Kishore

  • Java.lang.ClassNotFoundException: oracle.aurora.server.SGiopServer

    I have installed correctly JServer as is specified in the Note:156477.1
    I have configured the listener and MTS server for session-based IIOP communication.
    sess_sh:
    sess_sh -user sys -password nedbahok -service sess_iiop://sb450:2815:db3 -useServiceName
    javax.naming.CommunicationException: Unknown service: :session1 [Root exception
    is javax.naming.CommunicationException: Unknown service: 172.24.65.210:2815:db3
    listener_log:
    20-SEP-2001 14:05:58 * SUCCESS * (ADDRESS=(PROTOCOL=tcp)(HOST=172.24.75.125)(PORT=1927))
    * establish * giop * 0
    AND:
    bdump/db3_s000_20225 (server process):
    *** SESSION ID:(7.23278) 2001-09-20 14:06:27.924
    java.lang.ClassNotFoundException: oracle.aurora.server.SGiopServer in <SYS>
      at oracle.aurora.rdbms.DbmsJava.classForNameAndSchema(DbmsJava.java)
      at oracle.aurora.rdbms.DbmsJava.classForNameInSystemSchema(DbmsJava.java)
      at oracle.aurora.net.Presentation.getHandlerOfClass(Presentation.java)
      at oracle.aurora.net.Presentation.getHandler(Presentation.java)
      at oracle.aurora.net.VirtualCircuit.processRequest(VirtualCircuit.java)
      at oracle.aurora.net.Presentation.handleRequest(Presentation.java)
    oracle.aurora.net.NoPresentationException: Class does not exist in SYSTEM schema: oracle.aurora.server.SGiopServer
      at oracle.aurora.net.Presentation.getHandlerOfClass(Presentation.java)
      at oracle.aurora.net.Presentation.getHandler(Presentation.java)
      at oracle.aurora.net.VirtualCircuit.processRequest(VirtualCircuit.java)
      at oracle.aurora.net.Presentation.handleRequest(Presentation.java)
    jox_call_java_pres_: caught
    ORA-29532: Java call terminated by uncaught Java exception: oracle.aurora.net.NoPresentationException: Class does not exist in SYSTEM schema: oracle.aurora.server.SGiopServer
    What is a problem ?
    I have reinstalled Jserver some times.
    HELP !!!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Have you run the script initjvm.sql? This script configures your
    SYSTEM tablespace with Java objects.

  • Java.lang.ClassNotFoundException: oracle/webdb/provider/v2/adapter/soapV1/ProviderAda

    i am using tutorial "Building Java Portlets Using Oracle9i JDeveloper"
    from: "http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/ARTICLES/BUILD.JAVA.PORTLETS.USING.JDEVELOPER.V2.HTML "
    I recieve following error when i try to run this command in browser like:
    http://host.domain/<application>/providers
    java.lang.ClassNotFoundException: oracle/webdb/provider/v2/adapter/soapV1/ProviderAdapter
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.webdb.provider.v2.utils.soap.SOAPProcessor.locateService(Unknown Source)
         at oracle.webdb.provider.v2.adapter.SOAPServlet.doHTTPCall(Unknown Source)
         at oracle.webdb.provider.v2.adapter.SOAPServlet.service(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:684)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:243)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    i think the problem is in the _default.properties file either container fail to initialize that file. Is there any solution to that problem or there is some other way to solve this problem.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hi Usman,
    If you have installed JPDKv2 properly, all the samples would be deployed automatically & _default.properties file is created
    in %PDKHOME%\home\applications\jpdk\jpdk\WEB-INF\deployment.
    A Sample _default.properties file would look like
    serviceClass=oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter
    loaderClass=oracle.portal.provider.v2.http.DefaultProviderLoader
    showTestPage=true
    definition=providers/sample/provider.xml
    autoReload=true
    Going through the exception it seems that the _default.properties file is there, hence it is able to read the serviceClass (first line from it)
    ProviderAdapter.class file is in pdkjava.jar which resides at %PDKHOME%\home\applications\jpdk\jpdk\WEB-INF\lib
    I think you need to see if you have this class file in the pdkjava.jar .
    Thanks & Regards,
    Abhinav

  • Re : Error java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDrive

    Hello All,
    I am writing this simple program which connects to Oracle DB ( 10.2 ). The Java version I have is 1.5.0_13 . I do have oracle client installed. When I run the below code ...I get error
    java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
            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:306)
            at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:164)
            at OraThin.main(OraThin.java:13)The code I have is :
    import java.io.*;
    import java.sql.*;
    public class OraThin {
      public static void main(String[] args) {
        try {
    System.out.println(System.getProperty ("java.class.path") );
          Connection con=null;
          Class.forName("oracle.jdbc.driver.OracleDriver");
          con=DriverManager.getConnection(
            "jdbc:oracle:thin:@hostname:15282:ServiceName",
            "scott",
            "tiger");
          Statement s=con.createStatement();
          s.execute("SELECT SYSDATE FROM DUAL");
          s.close();
          con.close();
      } catch(Exception e){e.printStackTrace();}
    } Please suggest as to what am I missing, I am not that well versed with Java.
    Thanks in advance,
    Sam

    Hello Paul,
    Thanks for you suggestion. Based on it , I did add the exact jar file in the PATH environmental variable in XP.
    Path=C:\oraclexe\app\oracle\product\10.2.0\server\jdbc\lib\ojdbc14.jar;C:\oraclexe\a
    pp\oracle\product\10.2.0\server\bin;C:\oracle\product\10.2.0\client_1\bin;C:\Ora
    cle\product\10.1.0\Client_1\bin;C:\Oracle\product\10.1.0\Client_1\jre\1.4.2\bin\
    client;C:\j2sdk1.4.2_06\bin;Even after adding the specific jar file *("C:\oraclexe\app\oracle\product\10.2.0\server\jdbc\lib\ojdbc14.jar")* ..I am getting the exact same error. moreover, to verify this I also tried to import import oracle.jdbc.driver.*.....and now my code would not even complie and I get error *(c:\Program Files\Java\jdk1.5.0_13\bin\OraThin.java:3: package oracle.jdbc.driver*
    does not exist ) . I also rebooted my machine just to make sure ...that didnt work either. Also, I changed these jar to be first in the PATH varibale ..to avoid conflict with any later .jar's classes. The code is :
    import java.io.*;
    import java.sql.*;
    import oracle.jdbc.driver.*;
    public class OraThin {
      public static void main(String[] args) {
        try {
    System.out.println(System.getProperty ("java.class.path") );
          Connection con=null;
          Class.forName("oracle.jdbc.driver.OracleDriver");
          con=DriverManager.getConnection(
            "jdbc:oracle:thin:@hostname:15282:ServiceName",
            "scott",
            "tiger");
          Statement s=con.createStatement();
          s.execute("SELECT SYSDATE FROM DUAL");
          s.close();
          con.close();
      } catch(Exception e){e.printStackTrace();}
    }What am I missing here!! ?
    Thanks again,
    Sam

  • Java.lang.ClassNotFoundException: oracle.adf.library.webapp.ResourceServlet

    I use Jdev 11.1.1.5 to create a BPM process application which contains a process with 3 interactive activities.
    Each interacitive acitivity has a form project. I can deply these projects to a domain. Then, I delete them. However, after that, I cannot deploy them.
    I try to create a new SOA domain. However, I get same error message as follow.
    [04:04:48 PM] ---- Deployment started. ----
    [04:04:48 PM] Target platform is (Weblogic 10.3).
    [04:04:48 PM] Retrieving existing application information
    [04:04:48 PM] Running dependency analysis...
    [04:04:48 PM] Building...
    [04:05:14 PM] Deploying profile...
    [04:05:17 PM] Wrote Web Application Module to C:\JdevWorkspace\BPM\initiatorUI\deploy\initiatorUI.war
    [04:05:19 PM] Deploying Application...
    [04:05:24 PM] [Deployer:149193]Operation 'deploy' on application 'initiatorUI' has failed on 'AdminServer'
    [04:05:24 PM] [Deployer:149193]Operation 'deploy' on application 'initiatorUI' has failed on 'AdminServer'
    [04:05:24 PM] [Deployer:149193]Operation 'deploy' on application 'initiatorUI' has failed on 'AdminServer'
    [04:05:24 PM] [Deployer:149193]Operation 'deploy' on application 'initiatorUI' has failed on 'AdminServer'
    [04:05:24 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application initiatorUI on AdminServer,BPMJMSServer,SOAJMSServer,UMSJMSServer.: Failed to load webapp: 'initiatorUI.war'.
    [04:05:24 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'initiatorUI.war'
    [04:05:24 PM] Caused by: java.lang.ClassNotFoundException: oracle.adf.library.webapp.ResourceServlet
    [04:05:24 PM] See server logs or server console for more details.
    [04:05:24 PM] weblogic.application.ModuleException: Failed to load webapp: 'initiatorUI.war'
    [04:05:24 PM] #### Deployment incomplete. ####
    [04:05:24 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)

    Thanks Amjad. It worked for me as well!!
    I think the reasoning behind this is: If we deploy it from the Application tab, it deploys the EAR file whereas simply right clicking the project and deploy, deploys the WAR file.

  • Java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriveroracle.j

    My compile works just fine: javac mail_create.java
    but when I try to run I get OracleDriver error. Not sure how to fix this. Using RedHat Linux 7.3
    [ora9ias@tautog classes]$ java mail_create
    Error: java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriveroracle.j
    dbc.driver.OracleDriver
    [ora9ias@tautog classes]$ pwd
    /home/oracle/9iAS/j2ee/home/default-web-app/WEB-INF/classes
    [ora9ias@tautog classes]$
    Some of my code...
    import java.io.*;
    import java.util.*;
    import java.text.*;
    import java.sql.*;
    public class mail_create {
    public static void main(String[] arguments) {
    StringTokenizer st1;
         int cnt1, cnt2, cnt3, cnt4, ival, newal;
         String commabv, commemail, comabbrv, commca, commail;
         String comcod []=new String [99];
         String comvar []=new String [800];
         String curabr []=new String [800];
         String comail []=new String [800];
    try {
         Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
    .....

    http://search.java.sun.com/search/java/index.jsp?qt=%2Boracledriver+%2Bclassnotfoundexception&nh=10&qp=&rf=1&since=&country=&language=&charset=&variant=&col=javaforums

  • Java.lang.ClassNotFoundException: oracle.adf.view.faces.webapp.UIXComponent

    Hi all,
    My JDEV 11g suddenly can't be started and it throws this error message:
    java.lang.ClassNotFoundException: oracle.adf.view.faces.webapp.UIXComponentTag
    searched on internet, got no luck so far. It looks like that I missed a jar file somewhere that contains this class. But weird thing is that the IDE worked fine previously and I didn't do any change. Can someone tell me which jar file I might miss?
    Btw, I used the integrated WLS locally.
    Thanks in advance!
    Edited by: shawn_abc on Jan 30, 2012 2:48 PM

    'Trinidad Runtime 11' is included in the IDE, I couldn't find a "public_html" folder in Model project, but I see this folder under this path: \ViewController\model\public_html, also I see this folder: \ViewController\model\WEB-INF. I tried to rename the "public_html" to "public_html-bak" there and restart the server, then tried to launch the app in JDEV IDE, still I got this error: java.lang.ClassNotFoundException: oracle.adf.view.faces.webapp.UIXComponentTag.
    I check the library and classpath in IDE and it shows this jar file is used: C:\Oracle\JDev11114gU3\oracle_common\modules\oracle.adf.view_11.1.1\trinidad-api.jar
    then I opened this jar file and could only find the UIXComponentTag class as this path within the jar file: org\apache\myfaces\trinidad\webapp\UIXComponentTag.class. So I am wondering how could the application ask for this package: oracle.adf.view.faces.webapp.UIXComponentTag at all? I did a search in the application for "oracle.adf.view.faces.webapp", no returned at all.
    Thanks,
    Shawn
    Edited by: shawn_abc on Feb 2, 2012 3:45 PM

  • Java.lang.ClassNotFoundException: oracle.wcps.util.debug.Debug

    <2013-2-21 下午05时14分42秒 CST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1361438073387' for task '1'. Error is: 'java.lang.ClassNotFoundException: oracle.wcps.util.debug.Debug'
    java.lang.ClassNotFoundException: oracle.wcps.util.debug.Debug
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: oracle.wcps.util.debug.Debug
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
         Truncated. see log file for complete stacktrace
    >
    <2013-2-21 下午05时14分42秒 CST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'BpmComReceiveDocTaskflow [Version=V2.0]'.>
    <2013-2-21 下午05时14分42秒 CST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    java.lang.ClassNotFoundException: oracle.wcps.util.debug.Debug
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: oracle.wcps.util.debug.Debug
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
         Truncated. see log file for complete stacktrace
    >
    [05:14:42 PM] #### Deployment incomplete. ####
    [05:14:42 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    #### Cannot run application BpmComReceiveDocTaskflow due to error deploying to IntegratedWebLogicServer.
    [Application BpmComReceiveDocTaskflow stopped and undeployed from Server Instance IntegratedWebLogicServer]
    Edited by: 989450 on 2013-2-21 上午1:34
    I don't know how to solve this problem , Can anyboy help me? Thanks
    Edited by: 989450 on 2013-2-21 下午4:51

    Please check if wcps-util.jar is present in your Framework jars. That should solve the problem.
    This jar you can find in your deployed jars wcps-util-app-lib folder at the following path
    in your local machine system folder for JDev : DefaultDomain\servers\DefaultServer\tmp\_WL_user

  • Java.lang.ClassNotFoundException: weblogic.j2ee.descriptor.wl.serverBean,

    Hi,
    I tried to follow the procedure to use WLST to change the port number of one of my Servers...
    started wslt.sh with no problems reports...
    but when issued the commands
    wsl:/offline>readDomain('path to my base_domain') <-- was successful
    wls:/offline/base_domain>cd('servers/AdminServer')
    Error: cd() failed. Do dumpStack() to see details.
    wls:/offline/base_domain>dumpStack()
    com.oracle.cie.domain.script.jython.WLSTException: java.lang.ClassNotFoundException: weblogic.j2ee.descriptor.wl.serverBean
    at com.oracle.cie.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:51)
    ... 29 more
    So I guess that one of the two, either I am missing one of the jars in my classpath (in this case I don't know which one?) because weblogic.jar does not have this class in it.
    or ?
    please help if you can you are the only help o-bey 1 !
    Cheers!

    Hi,
    I tried to follow the procedure to use WLST to change the port number of one of my Servers...
    started wslt.sh with no problems reports...
    but when issued the commands
    wsl:/offline>readDomain('path to my base_domain') <-- was successful
    wls:/offline/base_domain>cd('servers/AdminServer')
    Error: cd() failed. Do dumpStack() to see details.
    wls:/offline/base_domain>dumpStack()
    com.oracle.cie.domain.script.jython.WLSTException: java.lang.ClassNotFoundException: weblogic.j2ee.descriptor.wl.serverBean
    at com.oracle.cie.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:51)
    ... 29 more
    So I guess that one of the two, either I am missing one of the jars in my classpath (in this case I don't know which one?) because weblogic.jar does not have this class in it.
    or ?
    please help if you can you are the only help o-bey 1 !
    Cheers!

  • Error : java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver

    Hi,
    I am writing an application and am trying to open a connection to Oracle database that is on a server. I am using the following test code to check if it connects to the database.
    import java.sql.*;
    class dbAccess {
      public static void main (String args []) throws SQLException
            String DBurl = "jdbc:oracle:thin:@local:1522:DBORA";
            String user = "test";
            String pwd = "test123";
            Class.forName("oracle.jdbc.driver.OracleDriver");
            con = DriverManager.getConnection(DBurl, user, pwd);
    }On running the above program I keep on getting the following error:
    Error : java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
    java.lang.NullPointerException
    If I open the connection using JDeveloper wizard I can see the DB. But if running the above program in the JDev, JCreator or commandline keep on getting the error. Any help is appreciated. Thanks

    How do I set the path for the Oracle Driver. ThanksI dunno. You're supposed to know where that class is (what jar it lives in). You set it up in JDeveloper in the first place, so you must have known where it is. After you know that, it's up to you to figure out how JCreator projects are set up to include jars in a project (just like JDeveloper projects do). For the command-line way, you set the classpath on the command-line arguments:
    java -cp (your classpath here, which must include the jars it needs) ...

  • Error(1): java.lang.ClassNotFoundException: oracle.cabo.ui.jsps.tags.ListOf

    Iam getting the following errors when I try to compile my jsp. But when I compile it om another pc it works fine
    Error(1): java.lang.ClassNotFoundException: oracle.cabo.ui.jsps.tags.ListOfValuesTEI
    Error(1): Unable to load taghandler class: http://java.sun.com/jstl/core
    Iam using jdev IDE 9.0.3.10.35
    below is the code Iam trying to compile. Is it a bug Iam experiencing or faulty code??????
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    <HTML>
    <HEAD>
    <TITLE>  </TITLE>
    <LINK rel="stylesheet" type="text/css" href="../style/sheet.css">
    <script language="JavaScript">
    function confirmDelete(id) {
      var ans = confirm("Weet U zeker dat U deze allocatie wilt verwijderen?");
      if (!ans) return;
      window.document.SelectionForm.action="../servlet/colossus.servlets.DeleteAllocation";
      window.document.SelectionForm.selectedID.value=id;
      window.document.SelectionForm.url.value=document.location;
      window.document.SelectionForm.submit();
    function modify(id) {
      url = escape(window.document.location);
      window.document.location="../servlet/colossus.servlets.ModifyAllocation?allocID="+escape(id)+"&url="+url;
    </script>
    </HEAD>
    <BODY topmargin=10 leftmargin=15 >
    <table border="0" cellPadding="5" cellSpacing="0" width="472">
      <tr>
        <td bgcolor="#ffffff">     
          <table border="0" cellPadding="2" cellSpacing="0" width="462">
            <tr>
              <td class="kopbalk" width="440"><P class="kop"> <b>Allocaties bekijken</b></P></td>
              <td width="22"></td>
            </tr>
            <tr>
              <td width="440" height="10"></td>
              <td width="102" height="10"></td>
            </tr>
            <tr>
              <td width="440">
                <table width="440" cellpadding="2" cellspacing="0" border="0">
             <form name="SelectionForm" action="../servlet/colossus.servlets.ShowAllocations" method="get">
               <input type="hidden" name="selectedID" value="" />
               <input type="hidden" name="url" value="" />
               <c:if test="${!(empty errorMsg)}">
               <tr>
                 <td colspan="2" class="error"><p><c:out value="${errorMsg}" /></p></td>
                  </tr>
                  </c:if>
                  <tr>
                    <td width="130"><P>Van <FONT size="1">(dd-mm-jjjj)</FONT></P></td>
                    <td width="310"><P>
              <INPUT type="text" name="startDay" size="2" maxlength="2" value="<c:out value='${param.startDay}'/>"> -
              <INPUT type="text" name="startMonth" size="2" maxlength="2" value="<c:out value='${param.startMonth}'/>"> -
              <INPUT type="text" name="startYear" size="4" maxlength="4" value="<c:out value='${param.startYear}'/>"> om
              <INPUT type="text" name="startHour" size="2" maxlength="2" value="<c:out value='${param.startHour}'/>"> :
              <INPUT type="text" name="startMinute" size="2" maxlength="2" value="<c:out value='${param.startMinute}'/>">
              </P></td>
                  </tr>
                  <tr>
                    <td width="130"><P>Tot <FONT size="1">(dd-mm-jjjj)</FONT></P></td>
                    <td width="310"><P>
              <INPUT type="text" name="endDay" size="2" maxlength="2" value="<c:out value='${param.endDay}'/>" > -
              <INPUT type="text" name="endMonth" size="2" maxlength="2" value="<c:out value='${param.endMonth}'/>"> -
              <INPUT type="text" name="endYear" size="4" maxlength="4" value="<c:out value='${param.endYear}'/>"> om
              <INPUT type="text" name="endHour" size="2" maxlength="2" value="<c:out value='${param.endHour}'/>"> :
              <INPUT type="text" name="endMinute" size="2" maxlength="2" value="<c:out value='${param.endMinute}'/>">
              </P></td>
                  </tr>
                  <tr>
                    <td width="130"><P>Vestiging</P></td>
                    <td width="310"><P>
                      <SELECT name="vestigingID">
                  <c:forEach items="${offices}" var="office">
                          <option value="<c:out value='${office.ID}'/>" <c:out value="${office.selected}" /> >
                            <c:out value="${office.name}"/>
                          </option>
                  </c:forEach> 
                      </SELECT>
                    </P></td>
                  </tr>
               <tr>
                 <td colspan="2" width="440">
                <div align="center"><input type="submit" value="- Ok -"></div>
              </td>
               </tr>
             </form>
                </table>
              </td>
              <td width="102"> </td>
            </tr>
            <tr>
              <td width="440"> </td>
              <td width="102"> </td>
            </tr>
            <tr>
              <td colspan="2">
                <table width="542" cellpadding="0" cellspacing="0" border="0">
    <!--// begin van de tabel //-->
    <c:if test="${!(empty allocs)&&(empty errorMsg)}">
    <TABLE border="0" cellpadding="1" cellspacing="1" bgcolor="#000000" width="572">
      <TR>
        <TD bgcolor="#ffffff" width="30"><P> </P></TD>
        <TD bgcolor="#ffffff" width="80" align="center"><P><B>Verdieping</B></P></TD>
        <TD bgcolor="#ffffff" width="80" align="center"><P><B>Ruimte</B></P></TD>
        <TD bgcolor="#ffffff" width="80" align="center"><P><B>Van</B></P></TD>
        <TD bgcolor="#ffffff" width="80" align="center"><P><B>Tot</B></P></TD>
        <TD bgcolor="#ffffff" width="200" align="center"><P><B>Omschrijving</B></P></TD>
      </TR>
      <c:forEach items="${allocs}" var="alloc">
        <TR>
          <TD bgcolor="#ffffff" width="30" align="center">
            <a href="javascript:modify('<c:out value="${alloc.ID}" />')"><IMG src="../images/edit.gif" border="0" alt="Allocatie wijzigen"></a><a href="javascript:confirmDelete('<c:out value="${alloc.ID}" />')"><IMG src="../images/delete.gif" border="0" alt="Allocatie verwijderen"></a>
          </TD>
          <TD bgcolor="#ffffff" width="80" align="center"><P><c:out value="${alloc.floorNumber}" /></P></TD>
          <TD bgcolor="#ffffff" width="80" align="center"><P><c:out value="${alloc.roomNumber}" /></P></TD>
          <TD bgcolor="#ffffff" width="80" align="center"><c:out value="${alloc.shortStartDate}" /><br>
                                                          <c:out value="${alloc.startTime}" /></TD>
          <TD bgcolor="#ffffff" width="80" align="center"><c:out value="${alloc.shortEndDate}" /><br>
                                                          <c:out value="${alloc.endTime}" /></TD>
          <TD bgcolor="#ffffff" width="200" align="left"><P><c:out value="${alloc.description}" /></P></TD>
        </TR>
      </c:forEach>
    </TABLE>
    </c:if>
    <!--// einde van de tabel //-->
                </table>          
              </td>
            </tr>
                       </TABLE>
        </td>
      </tr>
    </table>
    </BODY>
    </HTML>

    Olival,
    Is your application using UIX ? Seems like it from the error. The class you are getting the error on
    Erro: java.lang.ClassNotFoundException: oracle.cabo.ui.jsps.tags.RenderingContextTEI"
    is part of uix2.jar, which is available in JDev environment, but not under standalone
    OC4J. Hence the error.
    -Prasad
    Hi,
    I'm getting this error when trying to run my struts app:
    "500 Internal Server Error
    OracleJSP: oracle.jsp.parse.JspParseException: Nzmero da Linha 1, <%@ taglib uri="/WEB-INF/struts-logic.tld"
    prefix="logic" %>
    Erro: java.lang.ClassNotFoundException: oracle.cabo.ui.jsps.tags.RenderingContextTEI"
    The error msg is localized to my country (Brazil), so "Nzmero da Linha" translates to "Line Number", and "Erro" means "Error".
    The error comes from the 1st page called by the application (index.jsp), wich uses the struts redirect tag.
    Strange enough, this error only shows on OC4J 9.0.3 stand-alone (got the latest version today from OTN), but when calling from JDeveloper 9.0.3 (production), using the embedded OC4J, everything's ok.
    Has anybody experienced the same error ?
    Tnxs,
    Olival Jr.

  • Exception in thread "main" java.lang.ClassNotFoundException: oracle.jdbc.dr

    Hi
    I am trying to use type 4 driver to connect to my Oracle 9i Rel2 database. I downloaded the odbc14.jar from oracle and added in the C:\Oracle9i\jdbc\lib path. As on the website, I setup my environment:
    Setting Up Your Environment
    On Win95/Win98/NT:
    - Add [ORACLE_HOME]\jdbc\lib\classes111.zip and
    [ORACLE_HOME]\jdbc\lib\nls_charset11.zip to your CLASSPATH.
    (Add classes12.zip and nls_charset12.zip if JDK 1.2.x or 1.3 is
    used. Add ojdbc14.jar and nls_charset12.zip if JDK 1.4 is used.)
    - Make sure [ORACLE_HOME]\bin is in your PATH.
    Still I am getting the following error during runtime:
    Exception in thread "main" java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at jdbc.InsertQueryEx.main(InsertQueryEx.java:11)
    Below is the source code:
    import java.sql.*;
    import java.io.*;
    public class InsertQueryEx {
    public static void main(String[] args)throws Exception{
    Class.forName("oracle.jdbc.OracleDriver");
    Connection con = DriverManager.getConnection("jdbc:oracle:thin:@Prashy:1521:orcl", "scott", "tiger");
    DataInputStream din = new DataInputStream(System.in);
    Statement stmt = con.createStatement();
    while(true){
    try{
    System.out.println("enter emp name");
    String name = din.readLine();
    System.out.println("enter emp no");
    int no = Integer.parseInt(din.readLine());
    System.out.println("enter emp salary");
    float sal = Float.parseFloat(din.readLine());
    System.out.println("enter emp address");
    String addr = din.readLine();
    int count = stmt.executeUpdate("insert into myemp values("+no+",'"+name+"',"+sal+",'"+addr+"')");
    if(count>0)
    System.out.println("Record added");
    else
    System.out.println("Failed");
    catch (Exception e){
    System.err.println("Exception: "+e.getMessage());
    Any help is appreciated
    Thanks
    Prashant

    I am sorry but I did add those in the classpath but still getting this error:
    This is what I have for user variable in classpath:
    .;C:\Oracle9i\jdbc\lib\ojdbc14.jar;C:\Oracle9i\jdbc\lib\nls_charset12.jar
    error is:
    java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at jdbc.InsertQueryEx.main(InsertQueryEx.java:14)
    Thanks

  • Java.lang.ClassNotFoundException: oracle.xml.parser.v2.XMLParseException

    Hi there Masters
    I am new in Java and I would need your help please..
    I am calling a function in Java passing 1 parameter and returning an XML back but at the point of execution I get an error below... At the end I have attached my java code...PLEASE HELP
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/xml/parser/v2/XMLParseException
         at oracle.xdb.XMLTypeFactory.create(XMLTypeFactory.java:78)
         at oracle.sql.OPAQUE.toClass(OPAQUE.java:328)
         at oracle.sql.OPAQUE.toJdbc(OPAQUE.java:278)
         at oracle.sql.OPAQUE.toJdbc(OPAQUE.java:259)
         at oracle.jdbc.driver.NamedTypeAccessor.getObject(NamedTypeAccessor.java:190)
         at oracle.jdbc.driver.NamedTypeAccessor.getObject(NamedTypeAccessor.java:117)
         at oracle.jdbc.driver.OracleCallableStatement.getObject(OracleCallableStatement.java:1578)
         at oracle.jdbc.driver.OracleCallableStatementWrapper.getObject(OracleCallableStatementWrapper.java:815)
         at hospitaltool.RunAsnIn.runAsnIn(RunAsnIn.java:41)
         at hospitaltool.HospitalTool.main(HospitalTool.java:38)
    Caused by: java.lang.ClassNotFoundException: oracle.xml.parser.v2.XMLParseException
         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
         ... 10 more
    =====================JAVA CODE====================================
    package hospitaltool;
    import java.sql.*;
    import oracle.jdbc.*;
    import oracle.xdb.XMLType;
    public class RunAsnIn {
    public void runAsnIn(Connection con, Boolean fam) throws SQLException {
    System.out.println("RunASNIn Section");
    String messStatus;
    int numRecs = 0; //to hold the number of Records processed
    int totRecs = 0; //to hold the number of total records processed
    ResultSet rs = null;
    Statement stmt = null;
    stmt = con.createStatement();
    //Delete all already caused messages
    try {
    rs = stmt.executeQuery("DELETE FROM asnin WHERE message_num IN(SELECT message_num FROM asnin MINUS SELECT message_num FROM hospital WHERE family = 'ASNIn')");
    //Select all the uncaused messages
    rs = stmt.executeQuery("SELECT message_num FROM hospital WHERE family = 'ASNIn' and rownum <= 1 MINUS SELECT message_num FROM asnin");
    //Go thru the uncaused messages
    } catch (Exception e) {
    while (rs.next()) {
    String messageNum = rs.getString(1);
    // System.out.println("tableName=" + messageNum);
    System.out.println(messageNum);
    //Get the XMLDoc
    XMLType xml = null;
    //Get the XML Doc
    CallableStatement cs1 = null;
    //CallableStatement proc = con.prepareCall("? {call rmsauto.hospitaltool.getmessagedoc(?)}");
    try {
    cs1 = con.prepareCall("{? = call rmsauto.hospitaltool.getmessagedoc(?)}");
    cs1.registerOutParameter(1, OracleTypes.OPAQUE, "SYS.XMLTYPE");
    cs1.setString(2, messageNum);
    cs1.execute();
    } catch (Exception e) {
    xml = (XMLType) cs1.getObject(1);
    System.out.println(xml.getStringVal());
    }

    I did google this and found that I needed a specific jar file called xmlparserv2.jar and I did download it and loaded it on as part of my Libraries the I got a new error... I am using NetBeans
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/xml/binxml/BinXMLMetadataProvider
         at oracle.xdb.XMLTypeFactory.create(XMLTypeFactory.java:78)
         at oracle.sql.OPAQUE.toClass(OPAQUE.java:328)
         at oracle.sql.OPAQUE.toJdbc(OPAQUE.java:278)
         at oracle.sql.OPAQUE.toJdbc(OPAQUE.java:259)
         at oracle.jdbc.driver.NamedTypeAccessor.getObject(NamedTypeAccessor.java:190)
         at oracle.jdbc.driver.NamedTypeAccessor.getObject(NamedTypeAccessor.java:117)
         at oracle.jdbc.driver.OracleCallableStatement.getObject(OracleCallableStatement.java:1578)
         at oracle.jdbc.driver.OracleCallableStatementWrapper.getObject(OracleCallableStatementWrapper.java:815)
         at hospitaltool.RunAsnIn.runAsnIn(RunAsnIn.java:41)
         at hospitaltool.HospitalTool.main(HospitalTool.java:38)
    Caused by: java.lang.ClassNotFoundException: oracle.xml.binxml.BinXMLMetadataProvider
         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
         ... 10 more
    Java Result: 1

  • Java.lang.ClassNotFoundException: oracle.spatial.geometry.JGeometry

    I have installed UIM 7.2.2 on Oracle Linux 5.6_64 bit. There was no error message during the installation. But we are getting java.lang.ClassNotFoundException: oracle.spatial.geometry.JGeometry exception during runtime, specially while opening UIM home page in the browser.
    Any suggestion?
    Thanks,
    Molay

    Hi,
    Please let me know the iPlanet service pack number that you are using.
    Thanks
    Ganesh .R
    Developer Technical Support
    Sun Microsystems
    http://www.sun.com/developers/support

Maybe you are looking for

  • HP LaserJet 1018 printer and windows 7Ultimate 32bit

    I have HP LaserJet 1018 printer and it hasn't any problem when I used windows 7 professional but problems started when I replaced it with windows 7 Ultimate 32bit , In the beganning the windows didn't detect its existance so I ran the Hppsdr tool but

  • IWeb text gone crazy!

    Trying to add some new text boxes to my existing home page, but all of a sudden they 'publish' as plain black text, looking nothing like the colored text (in different fonts) that I added. No matter how many times I re-do it, it still won't publish a

  • Will iDVD Disk Image work for creating DVD's on PC

    I created a disk image of video that I have made DVD's from. I want to send the disk image to friends to create DVD's but they have PC's. Is there a way for them to use that disk image to make CD's? What programs would they use? etc.

  • Hashing classes in F4 SDK

    Hi, Can anyone point me to an SHA-1 Provider in Flex4 please - I simply wish to generate a 160-bit hash of a string. I see a SHA256 in mx.utils but it is not what I need. Many thanks, Simon.

  • FaceTime has disappeared from my iPhone, Help?

    how do I reinstall it. I've tried going through settings, but my number is in light grey and I can't activate it