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!
Thanks
Guys, 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.
Similar Messages
-
Periodic Alert scheduler not picking up 3 Check period Alerts out of 46
Hi All,
Please help me on this. It is rellay urgent.
In production we have 46 period alerts on one username. Due to recent changes in organization that user transferred to other organization. Now I need to cancel all these jobs on his name and need to assign on my user account since I am the owner of the applicaitons now.
I went to Periodic alert scheduler and deactivated the scheduler and activated again with today date. So now new request id came on periodic scheduler and all 43 jobs are showing scheduled on my user account . Even periodic scheduler also shwoing 'scheduled' on my user account . But some how only 3 alerts not picked up by scheduler.
Only difference I found for those 3 Alerts are they have start time and end time. Can anybody let me know how to schedule these 3 alerts again. Why did n't scheduler picked up these 3 alets.
Alert details:
Frequency-evey n calender days,Days-1,start time :05:00:00, end time : 22:00:00,Check interval : 01:00:00
I need the resoluciton asap . Appreciate your help and many thanks to looking into this issue.
Thanks,
SJPHi,
Please review these documents and see if it helps.
Note: 2059482.7 - Set Information and make Sure Periodic Alert Scheduler is Running
Note: 1016672.102 - Periodic Alert does not Run at Scheduled Time, Runs when Periodic Alert Scheduler Runs
Note: 427965.1 - Periodic Alert Scheduled for On Day of the Month, Runs on Day Enabled
Regards,
Hussein -
FDMEE 11.1.2.3 data rule schedules not picking up the periods
Hi,
I am facing a strange issue in FDMEE 11.1.2.3 data rule schedules. When I create a schedule for the data load to use the POV periods, it works fine for the first month. After I change the default periods in FDMEE , data rule scheduler doesn't pick up the latest period. It still loads data to the previously set period. I have tried using the Periods in the data rule schedule to a new month, but this issue exists. Please advise.
Thanks
Kannan.Are you scheduling the DLR from Data Load Rule page or have you created a batch definition with POV period checked and then schedule it?
Regards -
Oracle B2B not picking up Document type and document version from JMS msg
Hi,
We have developed guideline and schema for a custom positional flat file using Oracle B2B Document Editor. We were able to creat and deploy the agreement. But when we drop a message on a Queue being listened by Oracle B2B. The document type and version values were empty. We got the following error,
Error Code B2B-50083
Error Description Machine Info: (xxxxx) Description: Document protocol identification error.
Error Level ERROR_LEVEL_COLLABORATION
Error Severity ERROR
Error Text Document protocol identification error.
This is our Java code for testing that drops the message, and I can see the JMS header with these values.
message.setText(messageText);
message.setStringProperty("FROM_PARTY", "CT-Sender");
//message.setStringProperty("FROM_PARTY", "RemoteTP");
message.setStringProperty("TO_PARTY", "MyCompany");
message.setStringProperty("DOCTYPE_NAMEe", "CT");
message.setStringProperty("DOCTYPE_REVISION", "CT-AES");
We were able to test a 850 document successful through different document and agreement ....
Thanks
JohnWe have uploaded the ecs and xsd files. Are they the parser files you are mentioning? The following is the information we have for the transaction. I am just surprised whty the Document Type and others are empty.
Thanks
John
Id 0A9F196E132459F393C00000184B4897
Message Id 0A9F196E132459F392300000184B4893
Refer To Message Refer To Message
Sender Type Name
Sender Value CT-Sender
Receiver Type Name
Receiver Value MyCompany
Sender CT-Sender
Receiver MyCompany
Agreement Id
Agreement
Document Type
Document Protocol
Document Version
Message Type REQ
Direction INBOUND
State MSG_ERROR
Acknowledgement Mode NONE
Response Mode ASYNC
Send Time Stamp 09/07/2011 04:40 PM
Receive Time Stamp 09/07/2011 04:40 PM
Document Retry Interval(Channel) 0
Document Remaining Retry(Channel) 0
Document Retry Interval(Agreement) -
Partner Function not picked in Scheduling agreement.
Hi
I have maintained the Partner functions in Vendor master.
But when i create a Scheduling agreement, the partner functions are not picked from Vendor master.
Can any body help on this please?
Thanks & regards,
SasiDear Sir,
I am also face same problem.
AIM : I want to display manufacture name in good receipt.
I done : I have create one charecteristic for manufacture and in this charecteristic i have assign field of manufacture name which is maintain in vendor partner role. Then i have maintain one batch class RM_class and it assign to material.But when i want to display manufacture name in good receipt it is not display.
Analysis : The field of manufacture name is not saved in any table it is use in structure. so field of manucture is not caintain any value so it can't display any valve in good receipt.
Solution: If you give name of manufactue in CT04(charecteristic of manufacture) and this charecteristic assign to class(RM_class) then this class is assign to material.Than when you create good receipt and select manufacture name it will display at the time of batch determination and also when you want to dispaly mateiral list by manufacture you can see it with help of BMBC.
If you have any other idea please explan me.
Ragards,
Mahesh Wagh. -
Method init not found in class oracle.apps.fnd.cp.request.C
Hi all,
I am reffering to Oracle Application Framework Developers Guide Release
11.5.10 RUP3 December 2, 2005
As given in the document (page 275) Concurrent Processing: Request Submission
and Monitoring ,I want the Concurrent Processing Request Submission and Monitoring user interfaces available on my OA Framework-based pages.
I have followed the steps given in the OADevGuide but when the custom CO
is compiled it gives following error.
method <init> not found in class oracle.apps.fnd.cp.request.ConcurrentRequest.
The import statement in our code is as followed
import oracle.apps.fnd.cp.request.ConcurrentRequest;
import oracle.apps.fnd.cp.request.RequestSubmissionException;
wheather I have to open a SR on metalink asking for an updated file ConcurrentRequest.class ?
Thanks in advance,
Anant.Hi All,
Thanks Prabhat for that update.
Thanks tapashray cause u r update on thread Apply not being caught in debugger helped me a lot.
Right now I am facing a different problem.
On click of submit button The page gets called but it gives error as
oracle.apps.fnd.framework.OAException: Could not load application module 'oracle.apps.fnd.cp.srs.server.RequestAM'.
In myprojects folder under oracle dir at reqd path I have this AM .
Whether I need to add the bc4j pkg "oracle.apps.fnd.cp.srs.server.RequestAM" in my project . I dont think so as I am not extending any class/VO or doing any substitution.
my code is as followed
public void processFormData(OAPageContext pageContext, OAWebBean webBean)
System.out.println("Inside ProcessFormData");
if (pageContext.getParameter("Submit")!= null )
System.out.println("Inside Submit ");
try
// get the JDBC connection
OAApplicationModule am = pageContext.getApplicationModule(webBean);
//Connection conn = (Connection)am.getOADBTransaction();
OADBTransaction conn = am.getOADBTransaction();
System.out.println("OADBTransaction conn "+conn);
ConcurrentRequest cr = new ConcurrentRequest(conn.getJdbcConnection());
System.out.println(" ConcurrentRequest cr "+cr);
cr.setDeferred();
// call submit request
Vector param = new Vector();
String selectedValue = pageContext.getParameter("reportList");
System.out.println("selectedValue -> "+selectedValue);
param.add(selectedValue);
System.out.println("before cr.submitRequest ");
int reqId = cr.submitRequest("SQLGL", "RGFSGXML", "Run FSG and XML Publisher",null, false, param);
// int reqId = cr.submitRequest("SYSADMIN", "FNDSCURS", "User Responsibility Report",null, false, param);
System.out.println("After cr.submitRequest reqId "+reqId);
conn.commit();
System.out.println("After commit");
// redirect page to Request Scheduling page
HashMap parameters = new HashMap();
String url = "OA.jsp";
parameters.put("akRegionApplicationId", "0");
parameters.put("akRegionCode", "FNDCPPROGRAMPAGE");
String id = "" + reqId + "";
parameters.put("requestMode", "DEFERRED");
parameters.put("requestId", id);
System.out.println("before page forward ");
pageContext.setForwardURL("BSE_CONC_REQUEST"
,OAWebBeanConstants.KEEP_MENU_CONTEXT
,null
,parameters
,true
,OAWebBeanConstants.ADD_BREAD_CRUMB_NO
,OAWebBeanConstants.IGNORE_MESSAGES);
catch(RequestSubmissionException reportError)
System.out.println("RequestSubmissionException raised "+reportError.getStackTrace());
catch(SetDeferredException deferred)
System.out.println("SetDeferredException raised "+deferred.getStackTrace());
super.processFormData(pageContext,webBean);
Hope I have given all the details.
Regards,
Anant.
Message was edited by: Removed the error stack so that thread details remain on the same page
Anant -
Hi All,
I extended a CO named IndusFinalReviewPageCOXX and I got the following error.
Error(10,47): EntryFlowPageCO not found in class oracle.apps.ap.oie.entry.summary.webui.FinalReviewPageCO in class indus.oracle.apps.ap.oie.entry.summary.webui.IndusFinalReviewPageCOXX.
I already drag the class file of EntryFlowPageCO in path myclasses\oracle\apps\ap\oie\entry\summary\webui
and import the file. but the error remains same..after that I compile the class file of EntryFlowPageCO and found one more CO imports in EntryFlowPageCO. I drag class file of that CO also in appropriate path.. But still get the same error.
Pls give me the solution ASAP.
Thanks
Amit JaitlyAmit,
In the standard CO you can check that controller EntryFlowPageCO is not under myclasses\oracle\apps\ap\oie\entry\summary\webui.
Its under oracle/apps/ap/oie/entry/webui so put the same under this directory structure.
Regards,
Gyan -
Scale maintained in info records but not picking up in scheduling agreement
Hi,
We have maintained scales for PB00 in info record (subcontracting), this scale is picked up in Subcontracting Purchase Order.
But when we are trying to create Subcontracting scheduling agreement, this scale is not picked up by the system.
Why the system is picking up scales for PO but not for scheduling agrmment?
Regards,Hey there,
Please check your InfoUpdate Indicator on the scheduling agreement.
The indicator determines which prices and conditions are suggested in future PO items.
Prices and conditions can apply to an entire purchasing organization or to a single plant within a purchasing organization.
For example, if you create a purchase order for a plant for which an info record has been defined at plant level, the purchase order is based on the conditions in the plant info record and not on the conditions that apply to the purchasing organization.
probably your info record is at the Porg level and not at the plant level and hence it's not picking it up.
Hope this helps,
Cheers,
Dhaval -
Hi Experts,
When I am installing Oracle client 32 bit software on Windows 7 32 bit I am getting error as "could not find main class program will exit"
I have tried installing latest Java software 7 also JDK 1.6.0_34 still I am getting the same problem below is my " oraparam.ini " details
[Oracle]
DISTRIBUTION=TRUE
SOURCE=../stage/products.xml
LICENSE_LOCATION=
BOOTSTRAP_COMPS="oracle.swd.oui:11.1.0.6.0,oracle.swd.oui.core:11.1.0.6.0,oracle.jdk:1.5.0.1.1"
JRE_SCRATCH_LOC=jdk/jre
JRE_MEMORY_OPTIONS=" -mx96m"
DEFAULT_HOME_LOCATION=product\11.1.0\client
DEFAULT_HOME_NAME=OraClient11g_home
NO_BROWSE=/net
NLS_ENABLED=TRUE
BOOTSTRAP=TRUE
EXT_JLIB=../stage/ext/jlib
OUI_VERSION=11.1.0.6.0
## JRE_VERSION is only for Windows. This is to copy accessbridge dlls
JRE_VERSION=1.4.2
ACCESS_DIR=../install/access
#SHOW_HOSTNAME=ALWAYS_SHOW shows the hostname panel always
#SHOW_HOSTNAME=NEVER_SHOW does not the hostname panel
#SHOW_HOSTNAME=CONDITION_SHOW shows the hostname panel on condition
SHOW_HOSTNAME=NEVER_SHOW
#THIN_JDBC_FILENAME is optional and defaults to classes12.jar
#The value specified for this should be packaged with OUI, and should
#be relative to <OUI expanded stagedir>/jlib/
THIN_JDBC_FILENAME=classes12.jar
#RUN_OUICA specifies the batch script name that needs to be run
#The script is ouica.bat for win32, and ouica.sh for solaris.
#If the value is not specified, then the OUICA script is not run
RUN_OUICA=ouica.bat
CLUSTERWARE={"oracle.crs","10.1.0.2.0"}
SILENT_VARIABLE_VALIDATION=TRUE
[Generic Prereqs]
MIN_DISPLAY_COLORS=256
[IMAGES]
FILE1=images/billboards.gif
LICENSE_LOCATION=license.txtDuplicates of the other two times you asked this question:
https://forums.oracle.com/thread/2559093
https://forums.oracle.com/thread/2558027
(and this time, your question does not appear to have anything to do with this particular forum space, either)
Duplicate is locked.
Do not EVER multi--post. That is extremely bad forum etiquette. -
Schedule and Items program is not picking the new Billing lines created PN
Hi Gurus,
I am using version 11.5.10. I am populating the data into Property manager billing lines of lease thru API.
Once the Lines are inserted I am calling the Schedule and items program to for authorizatio.
My program is not picking up lines created thru API, I am trying copying the same line and inserting in billing tab and it works fine.
Looking forward to your suggestion/solution....Hi,
I don't know but I think you call of the Schedule and items program is in a new session.
Then you must commit the data before you call the Schedule and items program -
Exception "not implemented for class oracle.jdbc.driver.T4CNumberAccessor"
Hello I'm having some troubles dealing with 'java.sql.Date' I'm working with express edition database and I have three classes(different packages)
1.Mapper
2.Objects Class
3.ConsoleTest
I need to get an arraylist of objects, some of which contain dates, but when try to do it I get this exception
"java.sql.SQLException: Invalid column type: getDate not implemented for class oracle.jdbc.driver.T4CNumberAccessor"
Do you have any idea how I can implement the getDate method for this T4CNumberAccessor
Here are the methods that I'm using
1.Mapper
public ArrayList<Object> getAllTaskAuctions(Connection con)
ArrayList<Object> l1 = new ArrayList<Object>();
String SQLString1 = "select * from taskauction natural join tasks";
PreparedStatement statement=null;
try
//=== get taskauctions natural join tasks
statement = con.prepareStatement(SQLString1);
ResultSet rs = statement.executeQuery();
while(rs.next())
l1.add(new TaskAuction(rs.getInt(1), rs.getInt(2), rs.getInt(3),
rs.getDate(4), rs.getDate(5), rs.getInt(6)));
l1.add(new Task(rs.getInt(1), rs.getInt(2), rs.getString(3),
rs.getString(4), rs.getString(5), rs.getString(6), rs.getInt(7)));
catch (Exception exc)
System.out.println("Fail in TaskAuctionMapper - getAllTaskAuctions");
System.out.println(exc);
return l1;
2.ConsoleTest class
Connection con;
public Connection getConnection(){
try{
Class.forName("oracle.jdbc.driver.OracleDriver");
con = DriverManager.getConnection(
"jdbc:oracle:thin:@localhost:1521:XE", "Project", "123" );
//username/password@[/]host[:port][service_name]
catch (Exception e)
{ System.out.println("fail in getConnection()");
System.out.println(e); }
return con;
public static void main(String[] args) {
ConsoleTest ct = new ConsoleTest();
TaskAuctionMapper tam1 = new TaskAuctionMapper();
ArrayList<Object> alt1 = tam1.getAllTaskAuctions(ct.getConnection());
Iterator<Object> itr1 = alt1.iterator();
while (itr1.hasNext())
TaskAuction taskauct = (TaskAuction) itr1.next();
//Problem, exception traced to TaskAuctionMapper
System.out.println(
"Task ID: " + taskauct.getTaskid()+ ", "+
"StartDate: "+ taskauct.getStartdate()+", "+
"User ID: " + taskauct.getUserid());
}Found the answer, I shouldn't use integers as parameters of column index in the result set, but instead use String to mark the fields :)
-
Oracle.apps.fnd.framework.OAException: Could not create Java class
Hi,
Have created a customization in one environment which works just fine. When I deploy it to the next environment I get the error message:
oracle.apps.fnd.framework.OAException: Could not create Java class
Things I have checked:
1) Imported the personilzations
2) bounced apache
3) confirmed the $CLASSPATH
4) clear the cache
What else can be causing the this?
ThanksHi,
Move the all class files to respective java top. if you moved all class files to java top cross check once.
Thanks,
Venkat -
Compiler error "oracle.xml.parser.v2.XMLElement" not found in class com.oracle.demos......?
I am currently testing a simple sample application with a java code similar to the one shown at
the bottom of this post.
However during deployment/compilation the compiler gives an error:
Error(26,23): XMLElement not found in class com.oracle.demos.orderbooking.ApproveImpl
Additionally similar other errors appear:
Error(23,66): JAXBException not found in class com.oracle.demos.orderbooking.ObjectFactory
Error(51,58): UnmarshalException not found in class com.oracle.demos.orderbooking.ObjectFactory
Error(9,92): Element not found in interface com.oracle.demos.orderbooking.Approve
What's wrong?
It seems to me that I have to add some (more) *.jar files/libraries to the project?
Which *.jars and where should I add them in JDeveloper?
source code:
package com.oracle.demos.orderbooking;
public class ApproveImpl extends com.oracle.demos.orderbooking.ApproveTypeImpl implements com.oracle.demos.orderbooking.Approve
public ApproveImpl(oracle.xml.parser.v2.XMLElement node)
super(node);
}Hai James this the response I am getting can you please tell what should I write inside ora:getNodeValue() to get the value of node <genReturnText>
The drag and dropping the variable name is not working, I have to write the path manually but I dont know how.
<ns1:getRoutingAndFrameJumpersResponse xmlns:ns1="com.NetworkInstallations">
-<com.GetRoutingAndFrameJumpersOutput>
<destination>
SW
</destination>
<e2EData>
busProcOriginator
</e2EData>
<genReturnCode>
40777
</genReturnCode>
<genReturnText>
EMW_Get_Routing_And_FrameJumpers_Succeeded
</genReturnText>
<supplCode>
ISY002
</supplCode>
<supplText>
Transaction successfully completed.
</supplText>
<severityCode>
S
</severityCode>
<retriable>
false
</retriable>
</com.GetRoutingAndFrameJumpersOutput>
</ns1:getRoutingAndFrameJumpersResponse> -
Class oracle.sql.OPAQUE not found in class oracle.xdb.XMLType
I have the following code written in java in a unix box and this is the error I get when compiling the code. I am not able to find which specific jar or class file I need, Kindly help.
XMLHelper.java:0: Class oracle.sql.OPAQUE not found in class oracle.xdb.XMLType.
^
1 error
OracleResultSet orst = .... some code to get data
orst.next();
//either of the following 2 lines give the same error
//XMLType dXml = XMLType.createXML(orst.getOPAQUE(1)) ;
XMLType dXml = (XMLType)orst.getObject(i);
xmlDoc = dXml.getDOM();
Please helpHello,
from the little information in your post i would say try to import oracle.sql.*, oracle.jdbc.* and oracle.xdb.*. Make sure your project can access the following libraries ojdbc14.jar and xdb.jar.
Regards, Marc -
My jsp page is not displayed - tomcat does not pick up the class file
Hi everybody,
I have a Java code which is a controller for a jsp page, called: HomeController.java. Code is as follows:
@Controller
public class HomeController {
protected final transient Log log = LogFactory.getLog(getClass());
@RequestMapping(value = "/mypage")
public String home() {
System.out.println("HomeController: Passing through...");
return "home";
}There is nothing especial in the jsp page: home.jsp. If I go to this url:
http://localhost:8080/adcopyqueue/mypage
I can view mypage and everything works fine. Also in the tomcat Dos page I can see the comment:
HomeController: Passing through...As expected.
Now under the same directory that I have HomeController.java, I've created another file called: LoginController.java. Following is the code:
@Controller
public class LoginController {
protected final transient Log log = LogFactory.getLog(getClass());
@RequestMapping(value = "/loginpage")
public String login() {
System.out.println("LoginController: Passing through...");
return "login";
}And under the same place which I have home.jsp, I've created login.jsp.
Also under tomcat folders, LoginController.class exists under the same folder that HomeController.class exists and login.jsp exists under the same folder which home.jsp exists.
But when I go to this url: http://localhost:8080/adcopyqueue/loginpage
Nothing is displayed! I think tomcat does not pick up LoginController.class b/c on the tomcat Dos window, I do NOT see this comment:
LoginController: Passing through...Instead I see following which I do not know what do they mean?
[ INFO] [http-8080-1 01:43:45] (AppInfo.java:populateAppInfo:34) got manifest
[ INFO] [http-8080-1 01:43:45] (AppInfo.java:populateAppInfo:36) manifest entrie
s 8The structure and the code for HomeController.java and LoginController.java plus the jsp files match. I have no idea why tomcat sees one of the files and not the other?
Clean build did not help. Does anybody have any idea? Any help is greatly appraciated.
Edited by: ronitt on Nov 16, 2011 3:55 PMHi,
Please check the following path if your application is deployed or not properly if you are using eclipse:
Workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps
Maybe you are looking for
-
Touch ID does not work for ONLY MY fingerprints on my phone?
I'm on an iPhone 6 Plus 64gb running iOS 8.3. I have tried many things to resolve my issue, I have restarted the phone, deleted fingerprints, restored my phone, and everything else the apple support team has told me to do. About a week ago, Touch ID
-
In posts of this forum is not possible use embedded images. Why?
Subj...
-
In printer services error message says "unable to perform this operation"
when I try to check my ink levels in the printer services area, an error message comes up "unable to perform this operation" I have deleted and reinstalled my printer. I have downloaded the lastest driver--all to no avail
-
ITunes crashed everytime ipod touch is connected
Have brand new ipod touch 3rd generation and running iTunes 9.1.1 (ie latest) on a 15" macbook pro with system 10.5.8. Every time I attach the ipod touch the iTunes freezes with the whirling pointer. I have to use finder to force quit iTunes. I can r
-
Combining transactions FAGLB03 and FAGLL03
Hi all, I'm trying to combine the total balances of transaction FAGLB03 and attach it to the item-level outputs of FAGLL03. If i am searching between dates 01/01/2009 to 31/12/2010, then I would start with the ending balance of 31/12/2008 as the firs