Getting Exception: java.lang.ClassNotFoundException: oracle.apps.fnd.formsC
Hi,
I am getting an error while access R12 vision instance through solutionbeacon.com.
This error is coming while installing Jinitiator from the link.
Please help me out on this.
Regards,
Vara
Hi Vara;
Please enable jinit console and check error there and post it here please
Regard
Helios
Similar Messages
-
when we are trrying to access forms, we are getting below error, this is happening only one user other users able to access,and i am able to access other instances forms,
here is java console java error msg:
IE : 8 R12.1.3 pn OEL5.
basic: completed perf rollup
network: Cache entry not found [url: http://.com:8000/OA_JAVA/oracle/apps/fnd/formsClient/FormsLauncher.class, version: null]
network: Connecting http://.com:8000/OA_JAVA/oracle/apps/fnd/formsClient/FormsLauncher.class with proxy=DIRECT
network: Cache entry not found [url: http://.com:8000/OA_JAVA/oracle/apps/fnd/formsClient/FormsLauncher/class.class, version: null]
network: Connecting http://com:8000/OA_JAVA/oracle/apps/fnd/formsClient/FormsLauncher/class.class with proxy=DIRECT
load: class oracle/apps/fnd/formsClient/FormsLauncher.class not found.
va.lang.ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
basic: Exception: java.lang.ClassNotFoundException: oracle.apps.fnd.formsClient.For
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.plugin.PluginURLJarFileCallBack.downloadJAR(Unknown Source)
at sun.plugin.PluginURLJarFileCallBack.access$000(Unknown Source)
at sun.plugin.PluginURLJarFileCallBack$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.PluginURLJarFileCallBack.retrieve(Unknown Source)
at sun.net.www.protocol.jar.URLJarFile.retrieve(Unknown Source)
at sun.net.www.protocol.jar.URLJarFile.getJarFile(Unknown Source)
at sun.net.www.protocol.jar.JarFileFactory.get(Unknown Source)
at sun.net.www.protocol.jar.JarURLConnection.connect(Unknown Source)
at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(Unknown Source)
at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFileInternal(Unknown Source)
at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)
at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
at sun.misc.URLClassPath$JarLoader.access$600(Unknown Source)
at sun.misc.URLClassPath$JarLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.misc.URLClassPath$JarLoader.ensureOpen(Unknown Source)
at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)
at sun.misc.URLClassPath$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.misc.URLClassPath.getLoader(Unknown Source)
at sun.misc.URLClassPath.getLoader(Unknown Source)
at sun.misc.URLClassPath.getResource(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)when we are trrying to access forms, we are getting below error, this is happening only one user other users able to access,and i am able to access other instances forms, This is a client issue, and there is nothing you need to troubleshoot from the server side.
Try to uninstall/install Sun JRE and check then. Also, try to use a different browser and see if you can reproduce the issue.
Can't Launch Forms in E-Business when accessed via VPN: Formslauncher Notinited [ID 471120.1]
Deploying Sun JRE (Native Plug-in) for Windows Clients in Oracle E-Business Suite Release 12 [ID 393931.1]
FormsLauncher.class Not Found Error When Attempting to Access Forms in Applications [ID 291698.1]
IE8 AND R12 SECURITY SETTING REQUIREMENT ON CROSS SITE SCRIPTING (XSS) [ID 1069497.1]
If you still get the same error, enable debug as per these docs.
How to enable tracing and logging for Sun JRE (Native Plug-in) [ID 549423.1]
How To View The Java Console And Enable Tracing For Sun JRE (Native Plug-in) [ID 452853.1]
Thanks,
Hussein -
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,
SamHello 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 -
Exception in thread "main" oracle.apps.fnd.cache.CacheException
Dear Experts,
I am getting the below error.
$AFJVAPRG -classpath $AF_CLASSPATH -Dprotocol=imap \
-Ddbcfile=$FND_SECURE/TEST.dbc \
-Dport=993 -Dssl=Y \
-Dtruststore=/home/applprod/.keystore \
-Dserver=xxxxxxxxxxxxx \
[email protected] -Dpassword=pass@word01\
-Dconnect_timeout=120 -Ddebug=Y \
-DdebugMailSession=Y oracle.apps.fnd.wf.mailer.MailerException in thread "main" oracle.apps.fnd.cache.CacheException
at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:228)
at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1485)
at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:354)
at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(ExtendedProfileStore.java:211)
at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(ExtendedProfileStore.java:171)
at oracle.apps.fnd.profiles.ExtendedProfileStore.getProfile(ExtendedProfileStore.java:148)
at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDatabaseValues(DebugEventManager.java:1259)
at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(DebugEventManager.java:1114)
at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(DebugEventManager.java:1083)
at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:1050)
at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:1037)
at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:595)
at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:941)
at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:926)
at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:891)
at oracle.apps.fnd.common.AppsContext.<init>(AppsContext.java:751)
at oracle.apps.fnd.wf.apps.WorkflowContext.<init>(WorkflowContext.java:31)
at oracle.apps.fnd.wf.apps.ContextFactory.makeContext(ContextFactory.java:54)
at oracle.apps.fnd.wf.common.WorkflowContext.<init>(WorkflowContext.java:82)
at oracle.apps.fnd.wf.mailer.Mailer.main(Mailer.java:4653)
Caused by: oracle.apps.jtf.base.resources.FrameworkException: Error in IAS Cache: java.lang.NullPointerException: null Connection
at oracle.apps.jtf.cache.IASCacheProvider.get(IASCacheProvider.java:712)
at oracle.apps.jtf.cache.CacheManager.getInternal(CacheManager.java:4802)
at oracle.apps.jtf.cache.CacheManager.get(CacheManager.java:4624)
at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:216)
... 19 more
Caused by: oracle.apps.jtf.base.resources.FrameworkException:
An exception occurred in the method CacheAccess.get
null
The base exception is:
null Connection
at oracle.apps.jtf.base.resources.FrameworkException.convertException(FrameworkException.java:607)
at oracle.apps.jtf.base.resources.FrameworkException.addException(FrameworkException.java:585)
at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:66)
at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:88)
at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:202)
at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:218)
at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:249)
... 23 more
Please advise.
Mohammed. Abdul Muqeet
Edited by: Mohammed Abdul Muqeet on Jan 21, 2013 7:20 PM
Edited by: Mohammed Abdul Muqeet on Jan 21, 2013 7:21 PMPlease post the details of the application release, database version and OS.
I am getting the below error.
$AFJVAPRG -classpath $AF_CLASSPATH -Dprotocol=imap \
-Ddbcfile=$FND_SECURE/TEST.dbc \
-Dport=993 -Dssl=Y \
-Dtruststore=/home/applprod/.keystore \
-Dserver=xxxxxxxxxxxxx \
[email protected] -Dpassword=pass@word01\
-Dconnect_timeout=120 -Ddebug=Y \
-DdebugMailSession=Y oracle.apps.fnd.wf.mailer.Mailer
Please see (oracle.apps.fnd.cache.CacheException - null connection - on AppsLocalLogin.jsp [ID 414170.1]).
Thanks,
Hussein -
Java.lang.ClassNotFoundException: oracle.forms.engine.Main
I got this error when opening my forms, in java console, it says the frmall.jar file cannot be downloaded.
I tried to get access the file with http://192.168.3.44:9001/forms/java/frmall.jar , it displays 404 page not found.
I think the virtual path defined in forms.conf is not working at all. Because I tried to put a html file under each of the directory, none of them are accessible.
RewriteRule ^/forms/java/(..*) /workaroundjava/$1 [PT]
AliasMatch ^/workaroundjava/(..*) "/home/oracle/Oracle/Middleware/Oracle_FRHome1/forms/java/$1"
RewriteRule ^/forms/html/(..*) /workaroundhtml/$1 [PT]
AliasMatch ^/workaroundhtml/(..*) "/home/oracle/Oracle/Middleware/asinst_1/config/FormsComponent/forms/html/$1"
RewriteRule ^/forms/webutil/(..*) /workaroundwebutil/$1 [PT]
AliasMatch ^/workaroundwebutil/(..*) "/home/oracle/Oracle/Middleware/Oracle_FRHome1/forms/webutil/$1"
What might be the problem ?
Here is the java console log :
network: Cache entry not found [url: http://192.168.3.44:9001/forms/java/frmall.jar, version: null]
network: Connecting http://192.168.3.44:9001/forms/java/frmall.jar with proxy=DIRECT
java.io.FileNotFoundException: http://192.168.3.44:9001/forms/java/frmall.jar
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.plugin.PluginURLJarFileCallBack.downloadJAR(Unknown Source)
at sun.plugin.PluginURLJarFileCallBack.access$000(Unknown Source)
at sun.plugin.PluginURLJarFileCallBack$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.PluginURLJarFileCallBack.retrieve(Unknown Source)
at sun.net.www.protocol.jar.URLJarFile.retrieve(Unknown Source)
at sun.net.www.protocol.jar.URLJarFile.getJarFile(Unknown Source)
at sun.net.www.protocol.jar.JarFileFactory.get(Unknown Source)
at sun.net.www.protocol.jar.JarURLConnection.connect(Unknown Source)
at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(Unknown Source)
at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFileInternal(Unknown Source)
at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath$JarLoader.getJarFile(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath$JarLoader.access$1000(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath$JarLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.deploy.security.DeployURLClassPath$JarLoader.ensureOpen(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath$JarLoader.<init>(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.initAppletAdapter(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
basic: load: class oracle.forms.engine.Main not found.
java.lang.ClassNotFoundException: oracle.forms.engine.Main
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.initAppletAdapter(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Ignored exception: java.lang.ClassNotFoundException: oracle.forms.engine.Main
basic: Dialog type is not candidate for embedding
basic: Removed progress listener: sun.plugin.util.ProgressMonitorAdapter@1e966fb
security: Reset deny session certificate storeIn your Forms/Java folder ensure that frmall.jar is present
Also in your formsweb.cfg file add the jars in archive. -
I am using JBuilder5 which comes with jdk1.3. I have installed oracle 8.1.7 Enterprise version.
I am using Win NT 4.0.
I have set the PATH variable as E:\oracle\ora81\lib; and
CLASSPATH as : E:\oracle\ora81\jdbc\lib\classes12.zip;E:\oracle\ora81\jdbc\lib\nls_charset12.zip;
My JDBC code is
package sample2;
import java.sql.*;
public class Two {
Connection con;
Statement st;
public Two() {
try{
Class.forName("oracle.jdbc.driver.OracleDriver");
con = DriverManager.getConnection("jdbc:oracle:oci8:@First","scott","tiger");
st = con.createStatement();
ResultSet rs = st.executeQuery("Select * from Book");
while(rs.next())
System.out.print(rs.getInt("ID")+"\t");
System.out.print(rs.getString("title")+"\t");
System.out.print(rs.getString("author")+"\t");
System.out.print(rs.getString("subject")+"\t");
System.out.println(rs.getInt("copies")+"\t");
st.close();
con.close();
catch(Exception ex)
System.out.println("Exception : " + ex.toString());
public static void main(String[] args) {
Two two1 = new Two();
I am getting this exception:
Exception : java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
I can understand that the classpath for the driver is the problem here.
Also, I tried to run this file without JBuilder as a independent file on a notepad. Even then this exception is thrown.
I have set the PATH to E:\oracle\ora81\bin and also to E:\oracle\ora81\lib.
I ran "echo %classpath%" from my command prompt and this is what i am getting.
E:\JBuilder5\jdk1.3\lib\tools.jar;E:\JBuilder5\jdk1.3\dt.jar;E:\oracle\ora81\jdbc\lib\classes12.zip;E:
\oracle\ora81\jdbc\lib\nls_charset12.zip;
I searched solution for this probldem in Sun JDC Forum itself. Many of them suggested to unzip classes12.zip and create jar file and add it in the classpath. Alos, some have suggested to copy the classes12.zip in home directory and then include this path in the classpath. I tried those solutions also. But, nothing seem to work.
Somebody help me fix this problem.
Thanks in advance.Jbuilder5 uses a different means of loading dependent classes. Use menu : Tools -->Configure Libraries - Click New and setup a new named library that points to classes12.zip .
Then include this in u'r required Libraries of your project using menu Project --> Project Properties - required Libraries tab.
I don't thnk Jbuilder5 even refers to CLASSPATH set in Windows NT environement. Path may need to be set to include oracle/ora81/bin directory though.
Hope this helps. -
Hi,
We have installed BI Publisher as part of OBIEE 10.1.3.4.1. Our J2EE Application Server is Apache Tomcat 5.5.2.7
After manually deploying the xmlpserver.war in Tomcat and doing the changes to xmlp-server-config.xml
When i am trying access the URL, its resulting into following Tomcat Error:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
java.lang.NullPointerException
oracle.apps.xdo.servlet.GlobalContext.getProperty(GlobalContext.java:182)
oracle.apps.xdo.servlet.security.SecurityFilter.handleSSO(SecurityFilter.java:318)
oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:108)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.27 logs.
Before doing the changes, when i tried to access via URL, it was showing up BI Publisher Login Screen.
Any idea whats wrong?
I have also copied the fonts to the JRE/lib/fonts folder.
Thanks,
ShalabhsnehaI went through Tomcat Logs & found following full trace in catalina.out
- Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
at oracle.apps.xdo.servlet.GlobalContext.getProperty(GlobalContext.java:182)
at oracle.apps.xdo.servlet.security.SecurityFilter.handleSSO(SecurityFilter.java:318)
at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:108)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:595) -
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
PrashantI 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 -
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 -
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. -
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,
MolayHi,
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 -
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
-
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
SreekanthFor 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 -
hi every one,
i am getting the below error when submitting the Xml report Request
XDO Data Engine Version No: 5.6.3
Resp: 21635
Org ID : 204
Request ID: 5878206
All Parameters: P_ORGANIZATION_ID=7907:P_DELIVERY_DATE_LOW=:P_DELIVERY_DATE_HIGH=:P_FREIGHT_CODE=:P_DELIVERY_ID=:P_TRIP_ID=:P_DELIVERY_LEG_ID=4497:P_ITEM_DISPLAY=D:P_ITEM_FLEX_CODE=MSTK:DebugFlag=N
Data Template Code: CUST_WSH
Data Template Application Short Name: WSH
Debug Flag: N
{P_DELIVERY_DATE_HIGH=, P_ORGANIZATION_ID=7907, P_TRIP_ID=, P_FREIGHT_CODE=, P_DELIVERY_DATE_LOW=, P_ITEM_FLEX_CODE=MSTK, P_ITEM_DISPLAY=D, P_DELIVERY_LEG_ID=4497, P_DELIVERY_ID=}
Calling XDO Data Engine...
java.lang.NullPointerException
at oracle.apps.xdo.oa.util.DataTemplate.getDataTemplate(DataTemplate.java:379)
at oracle.apps.xdo.oa.util.DataTemplate.<init>(DataTemplate.java:226)
at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:283)
at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
Start of log messages from FND_FILE
End of log messages from FND_FILE
Executing request completion options...
Output file size:
0
Finished executing request completion options.
please help me out
Regards,
pavanhi friends,
I am facing below error diuring Instal Script in production.
XDO Data Engine Version No: 5.6.3
Resp: 50304
Org ID : 87
Request ID: 24782272
All Parameters: p_move_order_no=1937384:p_issue_num=
Data Template Code: DIA_STORE_ISSUE
Data Template Application Short Name: QAIR
Debug Flag: N
{p_issue_num=, p_move_order_no=1937384}
Calling XDO Data Engine...
java.lang.NullPointerException
at oracle.apps.xdo.oa.util.DataTemplate.getDataTemplate(DataTemplate.java:379)
at oracle.apps.xdo.oa.util.DataTemplate.<init>(DataTemplate.java:226)
at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:283)
at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
please share the solution
Thanks
Avinash Kumar
8588074565
Edited by: 893072 on Oct 14, 2012 4:28 AM -
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.
Maybe you are looking for
-
Well here it goes again. Muse wont start because when I login it says " An unexpected error occurred processing your request. Please try again later. I-200" I have been up since 5:30 am trying to get some work done on a Saturday. So I didn't have CC
-
HT1386 How do I sync my iTunes account to my iPhone if there's no devise button?
I've been trying for over two hours to set up my iTunes account and sync my iPhone with it. There's no device button beside my library button and my phone is plugged into my computer. All I wanted was a ringtone. This is way too much trouble for that
-
Report for credit releasing.
Hi team, May I know that whether there is a report to display the credit detail informatio including :sales order number,customer code, billing date:due date:sale amount(include TAX)? Or can you give me the related table name? Thanks Srikanth
-
iTunes 7 downloads good, but when I try to install it a window pops up and says "The Folder Path 'Documents and Settings/Jacob' contains an invalid character". Does anyone know how to resolve this problem?
-
Incorrect no of items transferred into the SRM SC from the Punchout catalog
Hello All, Items from the external Punch out Catalog do not get transferred properly For eg:If 3 items are picked only two are getting transferred I also checked the SLG1 for the application log and do not find any clues for the issue. This happens w