OracleAS 10.1.3 missing class error
Hi
When I deploy my ear file on a newly installed OracleAS 10.1.3 I get the following error. I used to deploy the same ear file on previous version of OracleAS 10.1.2 and it worked fine. Please let me know how to fix this problem.
Thanks in advance.
"oracle.classloader.util.AnnotatedNoClassDefFoundError:
Missing class: org.apache.log4j.Logger
Dependent class: gov.faa.fast.UI.Controller
Loader: CRUX.root:0.0.2
Code-Source: /C:/Ora10GAS/j2ee/home/applications/CRUX/CRUX-ejb.jar
Configuration: <ejb> in C:\Ora10GAS\j2ee\home\applications\CRUX
The missing class is not available from any code-source or loader in the system. at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2051) [C:/Ora10GAS/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@9627532] at oracle.classloader.PolicyClassLoader.internalLoadClass "
Mustafa,
This is just a suggestion. In OC4J stand-alone 10.1.3.0.0, you can still use the "applib" subdirectory. In other words, try removing the shared library you created, as well as any references to it in any of your deployment descriptors or OC4J configuration files and simply place all the required JARs in the "applib" subdirectory. Then undeploy your application completely -- in other words, delete all related files and directories and remove all references to it in the OC4J configuration files -- and deploy it again.
Good Luck,
Avi.
Similar Messages
-
Oracle AppsAdaptor causing Missing class error
Hi
Can any one help with the error we are encountering below. We have a production process that uses an Oracle Apps adaptor to call one of the supplied Oracle API's to insert data into the fnd_flex_values table from a BPEL process. Originally the adaptor was working but recently it stopped working when inserting records causing the errors below.
<bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>file:/nas/orasoft/delta/product/10.1.3/soaas/bpel/domains/default/tmp/.bpel_InsertProjectCodesOracle_1.4_6f5863e8891810138c841b2d8fbe166b.tmp/InsertFlexValues.wsdl [ InsertFlexValues_ptt::InsertFlexValues(InputParameters,OutputParameters) ] - WSIF JCA Execute of operation 'InsertFlexValues' failed due to: Could not instantiate InteractionSpec oracle.tip.adapter.soa_erp.AppsStoredProcedureInteractionSpec due to:
Missing class: oracle.tip.adapter.soa_erp.AppsStoredProcedureInteractionSpec
Dependent class: oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA
Loader: oracle.bpel.common:10.1.3
Code-Source: /nas/orasoft/delta/product/10.1.3/soaas/bpel/lib/orabpel.jar
Configuration: <code-source> in /nas/orasoft/delta/product/10.1.3/soaas/j2ee/oc4j_soa/config/server.xml
This load was initiated at orabpel.root:0.0.0 using the Class.forName() method.
The missing class is not available from any code-source or loader in the system.; nested exception is:
oracle.classloader.util.AnnotatedClassNotFoundException:
Missing class: oracle.tip.adapter.soa_erp.AppsStoredProcedureInteractionSpec
Dependent class: oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA
Loader: oracle.bpel.common:10.1.3
Code-Source: /nas/orasoft/delta/product/10.1.3/soaas/bpel/lib/orabpel.jar
Configuration: <code-source> in /nas/orasoft/delta/product/10.1.3/soaas/j2ee/oc4j_soa/config/server.xml
This load was initiated at orabpel.root:0.0.0 using the Class.forName() method.
The missing class is not available from any code-source or loader in the system.; nested exception is:
org.collaxa.thirdparty.apache.wsif.WSIFException: Could not instantiate InteractionSpec oracle.tip.adapter.soa_erp.AppsStoredProcedureInteractionSpec due to:
Missing class: oracle.tip.adapter.soa_erp.AppsStoredProcedureInteractionSpec
Dependent class: oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA
Loader: oracle.bpel.common:10.1.3
Code-Source: /nas/orasoft/delta/product/10.1.3/soaas/bpel/lib/orabpel.jar
Configuration: <code-source> in /nas/orasoft/delta/product/10.1.3/soaas/j2ee/oc4j_soa/config/server.xml
This load was initiated at orabpel.root:0.0.0 using the Class.forName() method.
The missing class is not available from any code-source or loader in the system.; nested exception is:
oracle.classloader.util.AnnotatedClassNotFoundException:
Missing class: oracle.tip.adapter.soa_erp.AppsStoredProcedureInteractionSpec
Dependent class: oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA
Loader: oracle.bpel.common:10.1.3
Code-Source: /nas/orasoft/delta/product/10.1.3/soaas/bpel/lib/orabpel.jar
Configuration: <code-source> in /nas/orasoft/delta/product/10.1.3/soaas/j2ee/oc4j_soa/config/server.xml
This load was initiated at orabpel.root:0.0.0 using the Class.forName() method.
The missing class is not available from any code-source or loader in the system.</summary>
</part><part name="detail"><detail>org.collaxa.thirdparty.apache.wsif.WSIFException: Could not instantiate InteractionSpec oracle.tip.adapter.soa_erp.AppsStoredProcedureInteractionSpec due to:
Missing class: oracle.tip.adapter.soa_erp.AppsStoredProcedureInteractionSpec
Dependent class: oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA
Loader: oracle.bpel.common:10.1.3
Code-Source: /nas/orasoft/delta/product/10.1.3/soaas/bpel/lib/orabpel.jar
Configuration: <code-source> in /nas/orasoft/delta/product/10.1.3/soaas/j2ee/oc4j_soa/config/server.xml
This load was initiated at orabpel.root:0.0.0 using the Class.forName() method.
The missing class is not available from any code-source or loader in the system.; nested exception is:
oracle.classloader.util.AnnotatedClassNotFoundException:
Missing class: oracle.tip.adapter.soa_erp.AppsStoredProcedureInteractionSpec
Dependent class: oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA
Loader: oracle.bpel.common:10.1.3
Code-Source: /nas/orasoft/delta/product/10.1.3/soaas/bpel/lib/orabpel.jar
Configuration: <code-source> in /nas/orasoft/delta/product/10.1.3/soaas/j2ee/oc4j_soa/config/server.xml
This load was initiated at orabpel.root:0.0.0 using the Class.forName() method.
The missing class is not available from any code-source or loader in the system.</detail>
</part></bindingFault>Hi,
This issue occurs if any tag is missing in one of the following files
oc4-ra.xml
application.xml
server.xml
check manually in oc4j-ra.xml and server.xml if any tags are missing particularly <connector-factory> tag
%ORACLE_HOME%\j2ee\oc4j_soa\application-deployments\default\ AppsAdapter\oc4j-ra.xml if any tag is missing.
once modified restart oc4j server and test
Regards,
Deepa -
Missing Class error from handler class - urgent question!
Hi,
I am getting an "Missing Class" error when running a web service. The web service was generated from a Java class via the "create J2EE web service" option.
The web service has a JAX-RPC handler class added, which belongs to the same package as a logging class. The logging class is used to write to a file for debug purposes. A "missing class" error is being generated whenever I attempt to invoke the web service (via the enterprise manager test util), the error refers to the logging class which is used by the main handler class. The JAX-RPC handler works fine by itself, the error is only seen when I attempt to use the logging class.
I have re-built, re-deployed from scratch again, but still get the same error! Am I missing something simple here?
thanks for any adviceHello,
I have posted something similar, but I am not sure how to get over this issue. I am not sure if this is a code issue, I have scanned both EJB 2.0 and 2.1 specifications, but nothing caught my eye.
Here is the error I am getting starting this in JDeveloper 1013 :
Apr 11, 2006 12:17:49 AM com.evermind.server.Application setConfig
WARNING: Application: current-workspace-app is in failed state as initialization failedjava.lang.InstantiationException: Error initializing ejb-modules: [current-workspace-app:CNSI-JDev-7_Exp-7_0:DbUtilWrapper] - Unable to load ejb-class com.my.common.database.ejb.DbUtilWrapperBean, see section 23.2 of the EJB 2.1 specificationjava.lang.ExceptionInInitializerError: java.lang.NullPointerException
Here is the ejb-jar.xml :
<session>
<description>Session Bean ( Stateless )</description>
<display-name>DbUtilWrapper</display-name>
<ejb-name>DbUtilWrapper</ejb-name>
<home>com.my.common.database.ejb.DbUtilWrapperHome</home>
<remote>com.my.common.database.ejb.DbUtilWrapper</remote>
<local-home>com.my.common.database.ejb.DbUtilWrapperLocalHome</local-home>
<local>com.my.common.database.ejb.DbUtilWrapperLocal</local>
<ejb-class>com.my.common.database.ejb.DbUtilWrapperBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
I am not sure if this should be in the assembly-descriptor, in ejb-jar.xml or orion-ejb-jar.xml :
<method-permission>
<unchecked/>
<method>
<ejb-name>DBUtilWrapper</ejb-name>
<method-name>*</method-name>
</method>
</method-permission>
Any ideas ?
Thanks -
"Missing Class" error when running web service
Hi,
I am getting an "Missing Class" error when running a web service. The web service was generated from a Java class via the "create J2EE web service" option.
The web service has a JAX-RPC handler class added, which belongs to the same package as a logging class. The logging class is used to write to a file for debug purposes. A "missing class" error is being generated whenever I attempt to invoke the web service (via the enterprise manager test util), the error refers to the logging class which is used by the main handler class. The JAX-RPC handler works fine by itself, the error is only seen when I attempt to use the logging class.
I have re-built, re-deployed from scratch again, but still get the same error! Am I missing something simple here?
thanks for any adviceCant you paste some of your code, formatted in code tags? It looks like there is a problem passing some of the XMl response, it doesnt like a tag html.
If you post some code somebody might actually be able to help you. -
Oracle.classloader.util.AnnotatedNoClassDefFoundError: Missing Class
I have j2ee web service consumer, when I run it in embeded oc4j env, I get -
oracle.classloader.util.AnnotatedNoClassDefFoundError:
Missing class: com.krisco.webservice.node.SimpleUINode
Dependent class: java.lang.reflect.Array
Loader: jre.bootstrap
Code-Source: unknown
Configuration: jre bootstrap
at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2051) [C:/java/jdev10g_j2ee/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@12] at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1665) [C:/java/jdev10g_j2ee/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@12]
This only happens when the called method returns an array of complex type.
Amazingly, it works fine with a j2se consumer with the same service (in the same jdev project!)
I don't understand, what I am missing here. Any help is appreciated.
Thanks in advance.Eric,
I have already tried what you are suggesting, to the extent that I seperate the Proxy and j2eeConsumer into separate projects and made sure that WEB-INF/lib contains the Proxy.jar.
It fails only when the operation (method) returns an array of complex-type. It works fine with operations returning complex-types. The problem seems to be with de-serialization.
I think it is a bug in the IDE generated code. The entire J2EE consumer worked earlier, I think that after installing a few IDE-patches the trouble started.
Thanks,
Kris. -
Missing class error in AIA11g O2C PIP/
Hi All,
I have installed SOA Suite 11g and deployed AIA3.1 O2C Comms PIP. After deployment, on invoking any service i get the below error and the transaction fails. Can someone tell if there is any other configuration required.
Any information would be highly appreciated.
Dependent class: oracle.xml.xpath.XSLExtFunctions
Loader: sun.misc.Launcher$AppClassLoader@136597364
Code-Source: /opt/app/oracle/mw_home/oracle_common/modules/oracle.xdk_11.1.0/xmlparserv2_sans_jaxp_services.jar
Configuration: /opt/app/oracle/mw_home/oracle_common/modules/oracle.xdk_11.1.0/xmlparserv2_sans_jaxp_services.jar
This load was initiated at default.composite.QueryProductClassAndAttributesSCECommsReqABCSImpl.soa_f11f2a84-66b0-4f13-b3f3-25608aa1b717:1.0 using the loadClass() method.
Check the detailed root cause described in the exception message text and verify that the XPath query is correct.
.>
<Nov 21, 2011 9:57:11 PM EST> <Error> <oracle.soa.bpel.engine.xml> <BEA-000000> <
javax.xml.xpath.XPathExpressionException: Extension function error: Class not found '
Missing class: oracle.apps.aia.core.xpath.AIAFunctions
Dependent class: oracle.xml.xpath.XSLExtFunctions
Loader: sun.misc.Launcher$AppClassLoader@136597364
Code-Source: /opt/app/oracle/mw_home/oracle_common/modules/oracle.xdk_11.1.0/xmlparserv2_sans_jaxp_services.jar
Configuration: /opt/app/oracle/mw_home/oracle_common/modules/oracle.xdk_11.1.0/xmlparserv2_sans_jaxp_services.jar
Thanks,
Vijay.Hello,
I have posted something similar, but I am not sure how to get over this issue. I am not sure if this is a code issue, I have scanned both EJB 2.0 and 2.1 specifications, but nothing caught my eye.
Here is the error I am getting starting this in JDeveloper 1013 :
Apr 11, 2006 12:17:49 AM com.evermind.server.Application setConfig
WARNING: Application: current-workspace-app is in failed state as initialization failedjava.lang.InstantiationException: Error initializing ejb-modules: [current-workspace-app:CNSI-JDev-7_Exp-7_0:DbUtilWrapper] - Unable to load ejb-class com.my.common.database.ejb.DbUtilWrapperBean, see section 23.2 of the EJB 2.1 specificationjava.lang.ExceptionInInitializerError: java.lang.NullPointerException
Here is the ejb-jar.xml :
<session>
<description>Session Bean ( Stateless )</description>
<display-name>DbUtilWrapper</display-name>
<ejb-name>DbUtilWrapper</ejb-name>
<home>com.my.common.database.ejb.DbUtilWrapperHome</home>
<remote>com.my.common.database.ejb.DbUtilWrapper</remote>
<local-home>com.my.common.database.ejb.DbUtilWrapperLocalHome</local-home>
<local>com.my.common.database.ejb.DbUtilWrapperLocal</local>
<ejb-class>com.my.common.database.ejb.DbUtilWrapperBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
I am not sure if this should be in the assembly-descriptor, in ejb-jar.xml or orion-ejb-jar.xml :
<method-permission>
<unchecked/>
<method>
<ejb-name>DBUtilWrapper</ejb-name>
<method-name>*</method-name>
</method>
</method-permission>
Any ideas ?
Thanks -
(DII) Client Example - - missing class error
To jump into DII, I have copied the source for the "Dynamic Invocation Interface (DII) Client Example" into a new class created in netbeans. The api jar for JAX-RPC has been mounted in the environment. The example compiles fine, but upon execute the following error comes up:
javax.xml.rpc.ServiceException: java.lang.ClassNotFoundException: com.sun.xml.rpc.client.ServiceFactoryImpl
at javax.xml.rpc.ServiceFactory.newInstance(ServiceFactory.java:65)
at node.HelloClient.main(HelloClient.java:29)
Do I need to get another api here? Looking into the jax-rpc jar file I can see the javax.xml.rpc.ServiceFactory class, but can not see com.sun.xml.rpc.client.ServiceFactoryImpl .
Could someone point me to an answer? Thanks in advance for the help.The jaxrpc jar that I downloaded was from under the xml downloads (jaxrpc-1_0-fr-api-class.zip). Once extracted this gave me a jar file of jaxrpc-api.jar.
It seems that you might be using a different jar? (jaxrpc-ri.jar)?
Under my downloaded jar file, there is no client belwo the heirarchy of javax/xml/rpc . Where could I find the download for the jar file that you are refrencing?
Thank you for your help.
R -
I am using JDeveloper 10.1.3 and get the following error when executing the web service proxy with my call to the web service( this web service is using class OracleXMLSave with method insertXML):
I have included the xdb.jar in my project properties libraries of the web service project and added a file group with xdb.jar to the properties of the webservices.deploy. What else needs to be done? This worked in JDeveloper 10.1.2.
THE ERROR after running proxy in log window:
java.rmi.ServerException:
start fault message:
caught exception while handling request: caught exception while handling request: oracle.classloader.util.AnnotatedNoClassDefFoundError:
Missing class: oracle.xdb.XMLType
Dependent class: dbdata2package.DBDataOperations
Loader: DBData2WSApp-DBData2Operations-WS.web.WebServices:0.0.0
Code-Source: /D:/h/cots/Oracle/JDeveloper10g10.1.3/j2ee/home/applications/DBData2WSApp-DBData2Operations-WS/WebServices/WEB-INF/classes/
Configuration: WEB-INF/classes/ in D:\h\cots\Oracle\JDeveloper10g10.1.3\j2ee\home\applications\DBData2WSApp-DBData2Operations-WS\WebServices\WEB-INF\classes
The missing class is available from the following locations:
1. Code-Source: /D:/h/cots/Oracle/JDeveloper10g10.1.3/j2ee/home/applications/DBDataWSApp-webservice-WS/WebServices/WEB-INF/lib/xdb.jar (from WEB-INF/lib/ directory in D:\h\cots\Oracle\JDeveloper10g10.1.3\j2ee\home\applications\DBDataWSApp-webservice-WS\WebServices\WEB-INF\lib)
This code-source is available in loader DBDataWSApp-webservice-WS.web.WebServices:0.0.0.
2. Code-Source: /D:/h/cots/Oracle/JDeveloper10g10.1.3/j2ee/home/applications/DBDataWSApp-DBDataOperations-WS/WebServices/WEB-INF/lib/xdb.jar (from WEB-INF/lib/ directory in D:\h\cots\Oracle\JDeveloper10g10.1.3\j2ee\home\applications\DBDataWSApp-DBDataOperations-WS\WebServices\WEB-INF\lib)
This code-source is available in loader DBDataWSApp-DBDataOperations-WS.web.WebServices:0.0.0.
:end fault message
at oracle.j2ee.ws.client.StreamingSender._raiseFault(StreamingSender.java:545)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:390)
at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:111)
at dbdata2packageproxy.runtime.DBData2WSSoapHttp_Stub.insertData(DBData2WSSoapHttp_Stub.java:80)
at dbdata2package.DBData2WSSoapHttpPortClient.insertData(DBData2WSSoapHttpPortClient.java:54)
at dbdata2package.DBData2WSSoapHttpPortClient.main(DBData2WSSoapHttpPortClient.java:34)
Process exited with exit code 0.Hi,
actually you increment the index
pstmt.setString(++idx,inrecord.getCommentID());
which means you never have an index of 0 but always start with 1
Frank -
XSQL Error. Missing class: oracle.xdb.XMLType XML
I am using OC4J and XSQL to publish information and most of the normal stuff runs fine. When I try to run the following query, I get errors. I copied the following example from XML developer's kit manual and work fine in SQL*Plus.
=============================
<?xml version="1.0"?>
<xsql:query connection="demo" xmlns:xsql="urn:oracle-xsql">
select XmlElement("DepartmentList",
XmlAgg(
XmlElement("Department",
XmlAttributes(deptno as "Id"),
XmlForest(dname as "Name"),
(select XmlElement("Employees",
XmlAgg(
XmlElement("Employee",
XmlAttributes(empno as "Id"),
XmlForest(ename as "Name",
sal as "Salary",
job as "Job")
from emp e
where e.deptno = d.deptno
) as result
from dept d
order by dname
</xsql:query>
====================
Following is the header portion of the errors shown.
XML-25017: Unexpected Error Occurred
oracle.classloader.util.AnnotatedNoClassDefFoundError:
Missing class: oracle.xdb.XMLType
Dependent class: oracle.xml.sql.core.OracleXMLConvert
Loader: oracle.xml:10.1.0_2
Code-Source: /C:/oracle/oc4j_1013/lib/xsu12.jar
Configuration: <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\oracle\oc4j_1013\j2ee\home\oc4j.jar
The missing class is available from the following locations:
1. Code-Source: /C:/oracle/oc4j_1013/j2ee/home/applications/xsql/xsql/WEB-INF/lib/xdb.jar (from WEB-INF/lib/ directory in C:\oracle\oc4j_1013\j2ee\home\applications\xsql\xsql\WEB-INF\lib)
This code-source is available in loader xsql.web.xsql:0.0.0.
I tried to search several forums but was unable to find any solution to resolve this issue. Any help is appreciated.
Thanks,I am using OC4J and XSQL to publish information and most of the normal stuff runs fine. When I try to run the following query, I get errors. I copied the following example from XML developer's kit manual and work fine in SQL*Plus.
=============================
<?xml version="1.0"?>
<xsql:query connection="demo" xmlns:xsql="urn:oracle-xsql">
select XmlElement("DepartmentList",
XmlAgg(
XmlElement("Department",
XmlAttributes(deptno as "Id"),
XmlForest(dname as "Name"),
(select XmlElement("Employees",
XmlAgg(
XmlElement("Employee",
XmlAttributes(empno as "Id"),
XmlForest(ename as "Name",
sal as "Salary",
job as "Job")
from emp e
where e.deptno = d.deptno
) as result
from dept d
order by dname
</xsql:query>
====================
Following is the header portion of the errors shown.
XML-25017: Unexpected Error Occurred
oracle.classloader.util.AnnotatedNoClassDefFoundError:
Missing class: oracle.xdb.XMLType
Dependent class: oracle.xml.sql.core.OracleXMLConvert
Loader: oracle.xml:10.1.0_2
Code-Source: /C:/oracle/oc4j_1013/lib/xsu12.jar
Configuration: <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\oracle\oc4j_1013\j2ee\home\oc4j.jar
The missing class is available from the following locations:
1. Code-Source: /C:/oracle/oc4j_1013/j2ee/home/applications/xsql/xsql/WEB-INF/lib/xdb.jar (from WEB-INF/lib/ directory in C:\oracle\oc4j_1013\j2ee\home\applications\xsql\xsql\WEB-INF\lib)
This code-source is available in loader xsql.web.xsql:0.0.0.
I tried to search several forums but was unable to find any solution to resolve this issue. Any help is appreciated.
Thanks, -
Hi,
We are using JDeveloper 10.1.3.0.4(SU5) on windows for development of ADF application. We need to deploy the developed application onto Oracle Application Server 10g (10.1.3) which is running on Solaris. We are using BC4J, WAR and EAR deployment profiles in jdeveloper to create the .war and .ear files.
If I deploy the generated ear on a standalone OC4J server install on my windows PC, it works fine.
Now when I deploy the generated .ear file onto the Oracle Application Server 10.1.3 through Application Server Control interface and then try to access the jspx pages under our application we are getting following error:
oracle.classloader.util.AnnotatedNoClassDefFoundError: Missing class: javax.servlet.jsp.jstl.core.Config Dependent class: com.sun.faces.application.ViewHandlerImpl Loader: accaweb.web.accaweb:0.0.0 Code-Source: /oracle/app/oracle/product/10gas3/j2ee/home/applications/accaweb/accaweb/WEB-INF/lib/jsf-impl.jar Configuration: WEB-INF/lib/ directory in /oracle/app/oracle/product/10gas3/j2ee/home/applications/accaweb/accaweb/WEB-INF/libThe missing class is available from the following locations: 1. Code-Source: /oracle/app/oracle/product/10gas3/j2ee/home/default-web-app/WEB-INF/lib/jstl.jar (from WEB-INF/lib/ directory in /oracle/app/oracle/product/10gas3/j2ee/home/default-web-app/WEB-INF/lib) This code-source is available in loader default.web.defaultWebApp:0.0.0. at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2051) [oracle/app/oracle/product/10gas3/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@1482257]
I have confirmed that the .war file inside the .ear file does contain the jstl.jar file under WEB-INF/lib folder. And the jar file does contain the class 'javax.servlet.jsp.jstl.core.Config'
As a workaround, I found that if I copy the jstl.jar file from default-web-app to my application web-inf/lib folder, things start to work fine. ie copy from: '/oracle/app/oracle/product/10gas3/j2ee/home/default-web-app/WEB-INF/lib/jstl.jar'
to: '/oracle/app/oracle/product/10gas3/j2ee/home/applications/accaweb/accaweb/WEB-INF/lib/'
– or –
Another workaround is to add the '/oracle/app/oracle/product/10gas3/j2ee/home/default-web-app/WEB-INF/lib/jstl.jar' file in the classpath for my web application through Application Server Control setting page.
Now both of these workaround needs us to perform additional post deployment steps which should really not be required since the jar files is included in the project.
Has anyone faced this issue? Any pointers in this respect will be a great help.
regards - rutwikSurprise Surprise !
I just tried deploying the file via uploading it from the Application Server Control UI and it worked fine.
Till now, I was ftp'ing the ear file from my PC to the server on which Oracle AS is running and was telling Application Server Control to pick form that uploaded location.
I am still not clear on why it works with HTTP upload and not via the FTP upload?
cheers - rutwik -
I downloaded Steve's sample application "14. Dynamic JDBC Credentials for Model 1 and Model 2 [10.1.3.2] 2006, Upd: 30-MAR-2007 "
I tried to run it, but got an error as like below.
I'm using Jdeveloper 10.1.3.1.
Can anybody help me?
------------------< my error >-----------------------------------------------------------------------------
oracle.classloader.util.AnnotatedNoClassDefFoundError:
Missing class: oracle.adf.view.faces.webapp.AdfFacesFilterHelper
Dependent class: oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl
Loader: current-workspace-app.web.DynamicCredentialsJSF:0.0.0
Do I need somthing for this application?
Please help again.
Message was edited by:
sdcsdcI have the same problem when trying to run a project created in 10.1.3.2 with 10.1.3.1
I guess it's not downward compatible. It might seem silly trying to do this, but after testing I found that I can work around a bug in 10.1.3.1, something that doesn't work (anymore) in 10.1.3.2....
I don't know yet how to fix it....
[Update:] I created a new Application in 10.1.3.1 (BC and JSF in my case) en copied the jar files I got in the WEB-INF/lib into the app I made in 10.1.3.2. and voila, problem solved.
Message was edited by:
Wendy Tromp -
Oracle Scheduler not picking up classes
Hi
I am trying out the new Oracle Scheduler in release 3. I have set up an EAR with a scheduler-ejb.jar (just like in the demo). I have put the class files in to this jar inside the ear. I have an init servlet that then submits the job to the scheduler.
I keep getting an oracle.classloader.util.AnnotatedClassNotFoundException: Missing class: com.test.MailSender
Here is the whole stack trace:
InvalidArgumentException: class {0} was not found
oracle.ias.scheduler.InvalidArgumentException: class {0} was not found
at oracle.ias.scheduler.core.SchedulerImpl.add(SchedulerImpl.java:137)
at oracle.ias.scheduler.core.SchedulerImpl.add(SchedulerImpl.java:48)
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:69)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:55)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:86)
at SchedulerRemote_StatelessSessionBeanWrapper12.add(SchedulerRemote_StatelessSessionBeanWrapper12.java:137)
at com.test.InitServlet.initMailSender(InitServlet.java:152)
at com.test.InitServlet.init(InitServlet.java:65)
at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2231)
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4617)
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4541)
at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4730)
at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1019)
at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:649)
at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:428)
at com.evermind.server.Application.getHttpApplication(Application.java:512)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1975)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1894)
at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:633)
at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:302)
at com.evermind.server.http.HttpServer.setSites(HttpServer.java:273)
at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:180)
at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2296)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:944)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:113)
at java.lang.Thread.run(Thread.java:595)
Caused by: oracle.classloader.util.AnnotatedClassNotFoundException:
Missing class: com.test.MailSender
Dependent class: oracle.ias.scheduler.core.SchedulerImpl
Loader: default.root:0.0.0
Code-Source: /C:/product/10.1.3/OracleAS_1/j2ee/Qas1/config/../../home/lib/scheduler.jar
Configuration: <library> in /C:/product/10.1.3/OracleAS_1/j2ee/Qas1/config/application.xml
This load was initiated at default.root:0.0.0 using the Class.forName() method.
The missing class is available from the following locations:
1. Code-Source: /C:/product/10.1.3/OracleAS_1/j2ee/Qas1/applications/omdis/scheduler-ejb.jar (from <ejb> in C:\product\10.1.3\OracleAS_1\j2ee\Qas1\applications\omdis)
This code-source is available in loader omdis.root:0.0.0. This is a child of the dependent loader default.root:0.0.0.
2. Code-Source: /C:/product/10.1.3/OracleAS_1/j2ee/Qas1/applications/omdis/omdis/WEB-INF/classes/ (from WEB-INF/classes/ in C:\product\10.1.3\OracleAS_1\j2ee\Qas1\applications\omdis\omdis\WEB-INF\classes)
This code-source is available in loader omdis.web.omdis:0.0.0. This is the current thread's context loader, and it appears that Class.forName() was used to load the dependent class. If a loader was not explicitly passed to Class.forName(), try passing the result of calling Thread.currentThread().getContextClassLoader().
at oracle.classloader.PolicyClassLoader.handleClassNotFound(PolicyClassLoader.java:2061)
at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1665)
at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1621)
at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1606)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at oracle.ias.scheduler.core.SchedulerImpl.add(SchedulerImpl.java:133)
... 35 more
This is the code that submits the job:
Scheduler scheduler = null;
InitialContext ic = new InitialContext();
Object ref = ic.lookup("java:comp/env/ejb/scheduler");
SchedulerHome home = (SchedulerHome)
PortableRemoteObject.narrow(ref, SchedulerHome.class);
scheduler = home.create();
IntervalSchedule schedule = new IntervalSchedule();
schedule.setInterval(10000);
Properties props = new Properties();
scheduler.add("Mail Sender Job",
new MailSender().getClass().getName(), schedule, props);
The exception is thrown when I try to add the job.
Any suggestions would be great!
ThanksGuys, I'm also having the same trouble with Oracle AS 10.1.3 on startup after deployment of my application.
java.lang.IllegalStateException: unexpected mbean count, 0
at oracle.ias.scheduler.core.Configuration.writeActivationConfig(Configuration.java:447)
at oracle.ias.scheduler.core.Configuration.bootstrap(Configuration.java:239)
at oracle.ias.scheduler.core.SchedulerBean.ejbCreate(SchedulerBean.java:80)
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:69)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:34)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.LifecycleManager$LifecycleCallback.invokeLifecycleMethod(LifecycleManager.java:619)
at com.evermind.server.ejb.LifecycleManager$LifecycleCallback.invokeLifecycleMethod(LifecycleManager.java:606)
at com.evermind.server.ejb.LifecycleManager.postConstruct(LifecycleManager.java:89)
at com.evermind.server.ejb.StatelessSessionBeanPool.createContextImpl(StatelessSessionBeanPool.java:41)
at com.evermind.server.ejb.BeanPool.createContext(BeanPool.java:405)
at com.evermind.server.ejb.BeanPool.allocateContext(BeanPool.java:232)
at com.evermind.server.ejb.StatelessSessionEJBHome.getContextInstance(StatelessSessionEJBHome.java:51)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:83)
at SchedulerRemote_StatelessSessionBeanWrapper12.getJobs(SchedulerRemote_StatelessSessionBeanWrapper12.java:700)
at oracle.j2ee.jmsrouter.schedjob.JobScheduleMgr.getJobConfig(JobScheduleMgr.java:321)
at oracle.j2ee.jmsrouter.admin.PersistentConfig.getPersistentConfig(PersistentConfig.java:292)
at oracle.j2ee.jmsrouter.admin.AdminMgr.getPersistentJobs(AdminMgr.java:768)
at oracle.j2ee.jmsrouter.admin.AdminMgr.createStats(AdminMgr.java:708)
at oracle.j2ee.jmsrouter.admin.AdminMgr.<init>(AdminMgr.java:157)
at oracle.j2ee.jmsrouter.engine.CtrlTable.<init>(CtrlTable.java:123)
at oracle.j2ee.jmsrouter.engine.CtrlTable.getCtrlTable(CtrlTable.java:145)
at oracle.j2ee.jmsrouter.ejb.AdminMgrBean.getAdminMgr(AdminMgrBean.java:351)
at oracle.j2ee.jmsrouter.ejb.AdminMgrBean.getLogMgr(AdminMgrBean.java:337)
at oracle.j2ee.jmsrouter.ejb.AdminMgrBean.registerXMLConfigListener(AdminMgrBean.java:300)
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:69)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.TxBeanManagedInterceptor.invoke(TxBeanManagedInterceptor.java:53)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.RunAsInterceptor.invoke(RunAsInterceptor.java:31)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:86)
at AdminMgr_StatelessSessionBeanWrapper8.registerXMLConfigListener(AdminMgr_StatelessSessionBeanWrapper8.java:512)
at oracle.j2ee.jmsrouter.mbean.MsgRouterMBeanServlet.init(MsgRouterMBeanServlet.java:86)
at javax.servlet.GenericServlet.init(GenericServlet.java:256)
at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2231)
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4617)
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4541)
at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4730)
at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1019)
at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:649)
at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:428)
at com.evermind.server.Application.getHttpApplication(Application.java:512)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1975)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1894)
at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:633)
at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:302)
at com.evermind.server.http.HttpServer.setSites(HttpServer.java:273)
at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:180)
at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2296)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:944)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:113)
at java.lang.Thread.run(Thread.java:595)
In my application i have only 4 session beans and 2 MDBs. But I am not using any Oracle scheduler feature. What is the reason of such exception and how can I overcome it. I don't need any oracle scheduler for my application, may be there is way to switch it off? This makes me really angry, bcz Oracle EM console failes to open coz of it.
Best regards. -
I downloaded Oracle SQL Developer 1.5 for Windows from the Oracle website and installed it on my computer. This zip file includes the JDK1.5.0_06. Then I ran Help | Check For Updates. This installed JTDS JDBC Driver 11.1.1.5304 and MySQL JDBC Driver 11.1.1.5304. I am trying to create a new database connection. Below are my settings.
Connection Name = TEST
Username = <the schema name>
Password = <the password>
Save Password = unchecked
Role = default
Connection Type = TNS
OS Authentication = unchecked
Proxy Connection = unchecked
Network Alias = <alias from tnsnames.ora>
When I click the [Connect] button I get the following message:
Status : Failure - Test failed: Missing class: oracle.dms.instrument.ExecutionContextForJDBCDependent class: oracle.jdbc.driver.Physica...
Any help on resolving this would be greatly appreciated.
Thank you.Thanks also!!!
NB ... path for sql dev must be one's own local path ... I copied from this OTN board ... and ... it didn't work.
When I went to try again, step by step, from a DOS prompt, I realized ... duh ... the path ...
But it is odd ... it wants its own JDBC class stuff ... why can't it find it when you put it on a short cut with a "start in" directory as itself?
Sometimes I hate computers ...
(I upgraded because my older version "just refused" to run one day ... had been meaning to try newer version) -
Composite invoking Spring Context errors with Missing class indicator field
Hi. I’m working on a composite with a Spring Context component that is referenced in a BPMN process and have run into some issues and I was hoping you may have some insight.
I’m able to deploy the composite successfully, however when I try testing it on the SOA Server, it fails with the exception below:
<auditQueryPayload auditId="17008" ciKey="12">
<dataState>
<dataObject name="FaultMessage" isBusinessIndicator="false">
<value> com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.oracle.com/bpel/extension}remoteFault} messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage} parts: {{ summary=<summary>Exception [EclipseLink-44] (Eclipse Persistence Services - 2.3.1.v20111018-r10243): org.eclipse.persistence.exceptions.DescriptorException Exception Description: Missing class indicator field from database row [UnmarshalRecord()]. Descriptor: XMLDescriptor(com.bea.infra.events.ExtendedData --> [DatabaseTable(ns2:ExtendedData)])</summary> ,detail=<detail> Exception Description: Missing class indicator field from database row [UnmarshalRecord()]. Descriptor: XMLDescriptor(com.bea.infra.events.ExtendedData --> [DatabaseTable(ns2:ExtendedData)])</detail>} </value>
</dataObject>
</dataState>
</auditQueryPayload>
The class referenced in the error, ExtendedData, is a very simple, abstract class. Here it is:
@XmlSeeAlso( { AssetUnregistered.class, ExtractionReassign.class,
RelatedAssetRegister.class, ExtractionSubsequentNotify.class,
ExtractionIntialNotify.class, AssetSubmission.class,
ExtractionStatusChanged.class, MultiUse.class,
ALERExtendedData.class })
public abstract class ExtendedData {
Do you have any thoughts or would know someone who could help?
Thanks,
MikeI've tried adding the jar to the classpath, installing the jar on the weblogic server, adding all the dependencies, and adding the jar to the project sourcepath. None of these worked either. Any Help would be appreciated.
-
Missing classes at Oracle 8i JServer
does somebody know, which CLASSPATH is missing
for the JServer context
[->]
when i wanna connect to the AURORA IIOP Port 1040 at my
linuxbox with JDeveloper I'll get that message:
org.omg.CORBA.OBJECT_NOT_EXISTS[completed=MAYBE]
I belife, that a CLASSPATh is missing at the
$CLASSPATH enviroment variable
if somebody solved that probleme please help
me; I need it for may dissas;
[tx]
fan
nullTo clean up your memory at the end of a call
you may use the End-Of-Call Callback.
The following code is the example given by Oracle in their documentation:
import oracle.aurora.memoryManager.Callback;
import oracle.aurora.memoryManager.EndOfCallRegistry;
public class EndOfCallExmpl extends Object {
static String cachedField = null;
private static Callback thunk = null;
static void clearCachedField() {
System.out.println("before clearing the cached field");
cachedField = null;
thunk = null;}
public static String getCachedField() {
if (cachedField == null) {
// save thunk in static field so it doesn't get reclaimed
// by garbage collector
thunk = new Callback () {
public void act(Object obj) {
EndOfCallExmpl.clearCachedField();
// register thunk to clear cachedField at end of call
EndOfCallRegistry.registerCallback(thunk);
// finally, set the cached field
cachedField = "hello world";
return cachedField;}
null
Maybe you are looking for
-
How to send a photo to a forum full quality
HI: Pardon my lack of knowledge but I recently got back into photography and joined a few photo forums, I would like to post some pictures but I am told that I need a hosting service like pbase which has a fee. I have a .Mac acount and use the iWeb a
-
I don't know what I did. I started messing around with After Effects and accidentally opened up Adobe Media Encoder Queue. After that, that's when I noticed the problem. I can still import the video frames into layers but I can't open it up directly.
-
Problem with logic at-selection screen
Hi , I have this piece of code : I have 3 radiobuttons and corresponding screens and fields like r_matnr s_charge etc on that screen . default radio button is r_build . a) If on this screen is user forgots to give value for s_matnr then error is
-
Move all pictures of current catalog to different drive and folder
The drive I use today is getting to small for more pictures in the future. I want to move all my pictures of the current catalog to a new drive (different drive letter) and new file folder structure (directory name). How can I do this in the easiest
-
How to install eLearning Suite silently without the license agreement prompt
I was able to install the eLearning Suite 1.0 by following the guideline "How to install Captivate Silently". I used the "setup --mode=silent --deploymentFile=install.xml" method, and that worked except one thing. Adobe Air prompted for a License A