Use_current_session = FALSE does not run my job correctly
We have a custom scheduler that invokes jobs based on schedules/conditions. Until now, the jobs were all kicked off in the same session. Since the record set to be processed is increasing, we want the jobs submitted in parallel.
So the main job is split into several discrete jobs & run them in different sessions (dbms_scheduler.run_job with use_current_session = FALSE). The programs & jobs get created successfully.
The program has around 12 arguments defined.
The jobs run; however error out with "ORA-06502: PL/SQL: numeric or value error ORA-06502: PL/SQL: numeric or value error: character to number conversion error" *(DBA_SCHEDULER_JOB_RUN_DETAILS)*
If I run the jobs with this parameter = TRUE the jobs run successfully. Any pointers greatly appreciated.
Here are additional details..
DB: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
dba_scheduler_global_attribute
MAX_JOB_SLAVE_PROCESSES
LOG_HISTORY 30
DEFAULT_TIMEZONE US/Pacific
LAST_OBSERVED_EVENT
EVENT_EXPIRY_TIME
CURRENT_OPEN_WINDOW WEEKEND_WINDOW
v$parameter where name like '%process%'
processes 150
gcs_server_processes 0
db_writer_processes 1
log_archive_max_processes 2
job_queue_processes 20
aq_tm_processes 0
Thanks
Kiran.
Hi,
This error seems clear,
character to number conversion error : at "XXA.XXX_ANP_ENGINE_MASTER_PKG", line 24
This is application code which the scheduler did run but the application code is throwing the error.
You will have to debug the issue occurring at line 24 of package "XXA.XXX_ANP_ENGINE_MASTER_PKG". You may be relying on something in your session which is not available in a background session - so the job fails when run in the background.
Hope this helps,
Ravi.
Similar Messages
-
REPORT DOES NOT RUN CORRECTLY , URGENT PLEASE HELP
Hi,
I am trying to run a report from visul basic screen, but it does not run correctly. Here is how I am running the report. There is a screen developed in VB This screen prompts the user for user id and password. Once it gets that, it connects to the oracle database and pulls out a column from a table. And passes that value as a parameter to the report. Now I am calling the the report for each individual value . There are 21 value being pulled out of the database and it invokes the report 21 times. So there are 21 report engines gets started. Is there a better way to do that ? Secondly when I pass the parameter , some parameters does not pass correctly I guess , because its not generating any out put . Like out of 21 may be 10 or 11 reports gets generated correctly but rest of the reports are blank. I debug the screen i saw that the parameter value is correct, everything seems good. But still the reports are comming blank. Any Idea why it is so ? The command line that i am using in VB screen is
Shell "C:\progra~1\ora95_2\bin\rwrun60.exe P:\Business_Analysis_&_Reporting_Tool\Test_REPORT_Templates\STORE_TYPES\Baby_Distribution_Report.Rdf USERID=" & UID & "/" & PWD & "@cposp201 DESFORMAT=PDF DESTYPE=FILE DESNAME=" & txtPath.Text & Replace(strName, " ", "_") & ".PDF BRND='" & adoRecBrand!Brand & "' PRINTJOB=NO PARAMFORM=NO"
In the above command " adoRecBrand!Brand " is the parameter thats being passed. This is actually a recordset and brand is the column in it. When I debug the screen , I see the value also there. But the report comes out blank. Please help. This is urgent.
Thanks
FerozThe way you call reports is not scalable. If you have 100 records come back from database, you would end up launch 100 engines at the same times, which probably will blow up your machine. You should use oracle reports server to do that. You can either use rwcli60 to submit the job to reports server, or invoke rwcgi60 from URL.
I am afraid some of reports engine failed to start and you get nothing back in your case.
After switch to use reports server achitecture, if you still see some report is blank in your application, then you can run that report with that special set of parameters manually and see if any problem with the report itself.
Hope this helps.
Thanks,
-Shaun -
Background job in Released status and does not run. What is the problem?
Hi Experts,
I ran a ABAP report as a background job. But when I see the job status in SM37 I found that it is "Released" but the job does not run further, It remains in "Released" state. I have given the correct variant and start condition "immediate" . Moreover there is no spool and log as well.
The ABAP report runs fine in forground. It used to run in background few days back.
What could be the problem? Kindly help!
Thanks
GopalHi Bob,
But I checked after 2 days still the job status is in Released state. There were some other jobs that ran successfully. So atleast after two days I hope the job should have run. I can't even delete it. What shall I do?
Thanks
Gopal -
SSIS Job deployment does not run my .exe but is described as a success
Hi i have scripted a simple script task in c# to run an exe with the following code
Process.start(filename.exe);
i have also tried using the 'Execute Process task' in the SSIS toolbox.
both methods work when i debug.
However when deployed to the SQL server as a job, the jobs are described as a success but my program does not run?!
The exe file is published from SQL visual studio and the resultant filename is setup.exe which i am trying to run.
Any help pleasE?
I am not using any shared file resources, the setup.exe is on my desktop.this is all i get
Message Type
Message Time
Message
Message Source Name
Subcomponent Name
Execution Path
OnPostExecute
8/22/2014 4:15:09 PM
Package:Finished, 4:15:09 PM, Elapsed time: 00:00:00.234.
Package
\Package
OnPostExecute
8/22/2014 4:15:09 PM
Execute Process Task:Finished, 4:15:09 PM, Elapsed time: 00:00:00.203.
Execute Process Task
\Package\Execute Process Task
OnPostValidate
8/22/2014 4:15:09 PM
Execute Process Task:Validation is complete.
Execute Process Task
\Package\Execute Process Task
OnPreExecute
8/22/2014 4:15:09 PM
Execute Process Task:Start, 4:15:09 PM.
Execute Process Task
\Package\Execute Process Task
OnPreValidate
8/22/2014 4:15:09 PM
Execute Process Task:Validation has started.
Execute Process Task
\Package\Execute Process Task
OnPreExecute
8/22/2014 4:15:09 PM
Package:Start, 4:15:09 PM.
Package
\Package
OnPreValidate
8/22/2014 4:15:09 PM
Package:Validation has started.
Package
\Package
OnPreValidate
8/22/2014 4:15:09 PM
Execute Process Task:Validation has started.
Execute Process Task
\Package\Execute Process Task
OnPostValidate
8/22/2014 4:15:09 PM
Execute Process Task:Validation is complete.
Execute Process Task
\Package\Execute Process Task
OnPostValidate
8/22/2014 4:15:09 PM
Package:Validation is complete.
Package
\Package
OnInformation
8/22/2014 4:15:08 PM
Package:Information: Succeeded in upgrading the package.
Package
\Package
OnInformation
8/22/2014 4:15:08 PM
run exe:Information: The Script Task "ST_6ba434db5c5649b7b68ab5fb14977781" has been migrated.
The package must be saved to retain migration changes.
run exe
\Package\run exe
OnWarning
8/22/2014 4:15:04 PM
run exe:Warning: Found SQL Server Integration Services 2012 Script Task "ST_6ba434db5c5649b7b68ab5fb14977781"
that requires migration!
run exe
\Package\run exe -
List of games that are not running correctly or does not run in ICS update
I hope to start a list for apps (esp games) that does not run after the ICS update.
Kindly list the game name along with the error. Hopefully its not off topic.Since many of us having issues with gaming [both HD and Non-HD] after updating to ICS, so i decided to share a little bit of info regarding gaming performance in ICS.
For the gaming troubles we are not yet sure whom to blame? SONY, ICS or the Game developer.
1. Few game developers said that their 3D engine is not yet compatible with ICS.
2. No response from Google yet.
3. Sony was suppose to update their Graphics driver [Adreno] in ICS, so we were expecting better gaming experience, but in reality it declined. [Hoping to solve in 4.0.4, if SONY releases]
Remember Gaming performance and experience can be different depending on device, application version etc. Results stated below may not be same for all.
Few Gaming updates from different users:
# Angry Birds Space : For some it worked/some not working [Worked for me]
# Temple Run : Touch Control issues [ Game Developers said that their 3D engine is not yet compatible with ICS]
# Fruit Ninja: Some reported it lags. The speed of movement is slow.
# Asphalt 6HD : Works but some weird lines appears in the screen.
# NOVA 2 HD : Runs for 2-3 mins then force closes.
# Backstab HD : Runs for 2-3 mins then force closes.
# Dead Space : Working well till now.
# MW3: Working.
# Fifa 12 : Not working for me.
# Shadow Gun: Not Working.
Now it was advised that you must use the latest version of the games available in Google play store. The version worked in Gingerbread may not work in ICS. So it is recommended that you download the latest version of the games you want to play in ICS.
**Before Downloading you can also contact the developers if the games has any compatibility issues with ICS or not.
Message was edited by: Auni -
Job Cancelled with an error "Data does not match the job def: Job terminat"
Dear Friends,
The following job is with respect to an inbound interface that transfers data into SAP.
The file mist.txt is picked from the /FI/in directory of the application server and is moved to the /FI/work directory of application server for processing. Once the program ends up without any error, the file is moved to /FI/archive directory.
The below are the steps listed in job log, no spool is generated for this job and it ended up with an error "Data does not match the job definition; job terminated".Please see below for more info.
1.Job Started
2.Step 001 started (program Y_SAP_FI_POST, variant MIST, user ID K364646)
3.File mist.txt copied from /data/sap/ARD/interface/FI/in/ to /data/sap/ARD/interface/FI/work/.
4.File mist.txt deleted from /data/sap/ARD/interface/FI/in/.
5.File mist.txt read from /data/sap/ARD/interface/FI/work/.
6.PD-DKLY-Y_SAP_FI_POST: This job was started periodically or directly from SM36/SM37 (Message Class: BD, Message Number : 076)
7.Job PD-DKLY-Y_SAP_FI_POST: Data does not match the job definition; job terminated (Message Class : BD, Message No. 078)
8.Job cancelled after system exception
ERROR_MESSAGE
Could you please analyse and come up about under what circumstance the above error is reported.
As well I heard that because of the customization issues in T.Code BMV0, the above error has raised.
Also please note that we can define as well schedule jobs from the above transaction and the corresponding data is stored in the table TBICU
My Trials
1. Tested uplaoding an empty file
2. Tested uploading with wrong data
3. Tested uploading with improper data that has false file structue
But failed to simulate the above scenario.
Clarification Required
Assume that I have defined a job using BMV0. Is that mandatory to use the same job in SM37/SM36 for scheduling?
Is the above question valid?
Edited by: dharmendra gali on Jan 28, 2008 6:06 AMDear Friends,
_Urgent : Please work on this ASAP _
The following job is with respect to an inbound interface that transfers data into SAP.
The file mist.txt is picked from the /FI/in directory of the application server and is moved to the /FI/work directory of application server for processing. Once the program ends up without any error, the file is moved to /FI/archive directory.
The below are the steps listed in job log, no spool is generated for this job and it ended up with an error "Data does not match the job definition; job terminated".Please see below for more info.
1.Job Started
2.Step 001 started (program Y_SAP_FI_POST, variant MIST, user ID K364646)
3.File mist.txt copied from /data/sap/ARD/interface/FI/in/ to /data/sap/ARD/interface/FI/work/.
4.File mist.txt deleted from /data/sap/ARD/interface/FI/in/.
5.File mist.txt read from /data/sap/ARD/interface/FI/work/.
6.PD-DKLY-Y_SAP_FI_POST: This job was started periodically or directly from SM36/SM37 (Message Class: BD, Message Number : 076)
7.Job PD-DKLY-Y_SAP_FI_POST: Data does not match the job definition; job terminated (Message Class : BD, Message No. 078)
8.Job cancelled after system exception
ERROR_MESSAGE
Could you please analyse and come up about under what circumstance the above error is reported.
As well I heard that because of the customization issues in T.Code BMV0, the above error has raised.
Also please note that we can define as well schedule jobs from the above transaction and the corresponding data is stored in the table TBICU
My Trials
1. Tested uplaoding an empty file
2. Tested uploading with wrong data
3. Tested uploading with improper data that has false file structue
But failed to simulate the above scenario.
Clarification Required
Assume that I have defined a job using BMV0. Is that mandatory to use the same job in SM37/SM36 for scheduling?
Is the above question valid? -
Background Job cancelling with error Data does not match the job definition
Dear Team,
Background Job is getting cancelled when I run a Job on periodically but the same Job is executing perfectly when I run it manually(repeat scheduling) .
Let me describe the problem clearly.
We have a program which picks up files from an FTP server and posts the documents into SAP. We are scheduling this program as a background Job daily. This Job is running perfectly if the files contain no data. But if the file contains data the JOb is getting cancelled with the following messages.
And also the same Job is getting executed perfectly when repeat scheduling is done ( even for files with data).
Time Message text Message class Message no. Message type
03:46:08 Job PREPAID_OCT_APPS2_11: Data does not match the job definition; job terminated BD 078 E
03:46:08 Job cancelled after system exception ERROR_MESSAGE 00 564 A
Please help me in resolving this issue.
Thanks in advance,
Sai.hi,
If you have any GUI function modules used in the program of job
you cannot run it in background mode. -
Regarding "Data does not match the job definition; job terminated"
Dear Friends,
The following job is with respect to an inbound interface that transfers data into SAP.
The file mist.txt is picked from the /FI/in directory of the application server and is moved to the /FI/work directory of application server for processing. Once the program ends up without any error, the file is moved to /FI/archive directory.
The below are the steps listed in job log, no spool is generated for this job and it ended up with an error "Data does not match the job definition; job terminated".Please see below for more info.
1.Job Started
2.Step 001 started (program Y_SAP_FI_POST, variant MIST, user ID K364646)
3.File mist.txt copied from /data/sap/ARD/interface/FI/in/ to /data/sap/ARD/interface/FI/work/.
4.File mist.txt deleted from /data/sap/ARD/interface/FI/in/.
5.File mist.txt read from /data/sap/ARD/interface/FI/work/.
6.PD-DKLY-Y_SAP_FI_POST: This job was started periodically or directly from SM36/SM37 (Message Class: BD, Message Number : 076)
7.Job PD-DKLY-Y_SAP_FI_POST: Data does not match the job definition; job terminated (Message Class : BD, Message No. 078)
8.Job cancelled after system exception
ERROR_MESSAGE
Could you please analyse and come up about under what circumstance the above error is reported.
As well I heard that because of the customization issues in T.Code BMV0, the above error has raised.
Also please note that we can define as well schedule jobs from the above transaction and the corresponding data is stored in the table TBICU
My Trials
1. Tested uplaoding an empty file
2. Tested uploading with wrong data
3. Tested uploading with improper data that has false file structue
But failed to simulate the above scenario.
Clarification Required
Assume that I have defined a job using BMV0. Is that mandatory to use the same job in SM37/SM36 for scheduling?
Is the above question valid?Hi dharmendra
Good Day
How are you
I am facing the same problem which you have posted
By any chance have you got the soultion for this
If so please let me know the solution for this.
Thanks in advance.
Cheers
Vallabhaneni -
Lightroom 5.6 does not run following latest CC Photoshop 2014 and Bridge updates
I am running Creative Cloud Photography on OSX 10.9.4. Yesterday I updated Photoshop 2014 and Bridge using the CC desktop app as prompted by CC. Since then Lightroom does not run. When I open it the blue intro screen flashes up for less than a second. To try and recover I have uninstalled Lightroom (5.6) and re-installed it several times using both the CC app and directly from the Adobe website. The result is always the same. I can find nothing about this on Adobe Support although I can find others who have had the same symptoms on a web search. Their solution was to re-install Lightroom from the web site but that hasn't worked for me. I had Lightroom installed before I went to CC and before CC included Lightroom in the Photography package. Does anyone understand this issue and can you please advise me what to try next? Many thanks.
Okay, Solution 1 from this link Error "Unable to start correctly - 0Xc00007b" fixed it for me. But now it's asking me for the serial number which I can't find anywhere... shouldn't that go without with the cloud?
-
Why does vi execute in HIGHLIGHT mode only? Does not RUN from front panel
This is extraordinarily puzzling to me...
The attached vi sends a serial command to a motor controller. Command has the form /1V5500P0R, where the /1 means "motor 1", 5500 is the velocity, and the P0 means "rotate positive direction" and R means RUN (do the command).
When I run the VI from the front panel, the motor does not respond. The correct command string appears in the String indicator box, but, the motor does not turn on. HOWEVER, when I use either HIGHLIGHT EXECUTION, or I SINGLE STEP through the block diagram, the vi works perfectly. It issues the correct command the motor runs properly after stepping over VISA WRITE to VISA CLOSE... The VI accepts any velocity command I want to put in the NUMERIC control on the front panel.
I tried putting the code into a WHILE loop to see if that made any difference...and it does not.
What is happening?
Thanks,
Dave
Attachments:
Simple VISA speed controller forum nov 20.vi 12 KBHello Angelica,
Your suggestion about use of the WAIT VISA function works, however, I am reluctant to use it because I do not want to slow down the application. The application accepts two inputs and creates the one serial output, and the faster it does this, the better for my application.
I had no problem running these VI's on my old PC in Labview 2011. The new PC requires this WAIT function. There is software provided by the hardware manufacturer to manually send the SERIAL commands, and it works fine on both PCs.
New PC is Intel(R) core(TM) i3-2230 CPU @ 2.2GHz, 3G RAM 64 bit processor and Labview 2012
Old PC is Intel (R) Pentium (R) M Processor 1.73GHz, .99G RAM, 32 bit processor and Labview 2011
Understand that in the attached VI, only a single serial command is being sent, so, is it possible that backlogging or overloading of the device can occur from a single serial command? This does not happen with the manufacturer's interface. The attached vi works with the 10ms wait time. This VI is one of a family of VI's that I wrote and operated in Labview 2011 on the old PC, and all of the worked fine without the WAIT function. Now, none of them will run in either Labview 2011 or Labview 2012 without the WAIT in the VISA as shown in the attached VI.
Do you really think that the command is being sent too quickly? The device communicates over the RS485 bus at 9600 baud, 1 Stop bit, No Parity, No flow control. How can a single string be sent too quickly?
Thank you,
David
Attachments:
Simple VISA speed controller WAIT.vi 14 KB -
Simple Operational Profile and Plan does not run against agent
So i'm attempting to use the Operational Profile function of Ops Center to extend some functionality which it does not have (set up bonded interfaces during build process of OL 6.x)
However my script is having issues it never seems to run as a remote shell. So I simplified it, and broke my script down to simply
#!/bin/bash
/bin/pwd
/bin/ls
exit 0
And it still failed to run.
I've poured over the documentation, my script runs fine when manually incanted from the command line.
I've attempted following https://blogs.oracle.com/oem/entry/ops_center_using_operational_profiles but as you can see even my simple of simple plans does not run, let alone anything more complex.
Full job logs:
Job ID : EC-SERVER.com.au.664
Job Name : do ls script;AGENT
Job Type : Execute-DeploymentPlan
Job Description : -
Run ID : 1
Status : FAILED
Mode : Actual run
Owner : xvmadm
Create Date : 11/11/2014 09:03:04 AM EST
Start Date : 11/11/2014 09:03:04 AM EST
Last Updated : 11/11/2014 09:03:08 AM EST
Execution Order : PARALLEL
Failure Policy : CONTINUE_ON_FAILURE
Task : AGENT
Task : CmpExecuteTask
Task : ExecuteTask
Task Run ID : 24369
Target : AGENT
Status : FAILED
Result : Task failed. (15030)
Logs :
11/11/2014 09:03:04 AM EST INFO EC-SERVER.com.au.664.1.24369 acquired the recursive lock on the target - PC-SERVER.com.au-172a7b21/AGENT.com.au-abf1fc69/com.sun.hss.domain:name=localhost,type=OperatingSystem for the duration of Task
11/11/2014 09:03:04 AM EST INFO Task is posted to the Proxy Controller (PC-SERVER.com.au-172a7b21), from the Enterprise Controller. (15011)
11/11/2014 09:03:08 AM EST INFO Task is received by the Proxy Controller. (15012)
11/11/2014 09:03:08 AM EST INFO Task is posted to the Agent Controller (AGENT.com.au-abf1fc69), from the Proxy Controller. (15013)
11/11/2014 09:03:08 AM EST INFO Task is received by the agent controller.
11/11/2014 09:03:08 AM EST INFO EC-SERVER.com.au.664.1.24369 released the recursive lock on the target - PC-SERVER.com.au-172a7b21/AGENT.com.au-abf1fc69/com.sun.hss.domain:name=localhost,type=OperatingSystem for the duration of Task
I wanted to avoid raising an SR for something so potentially trivial, but what the heck is going on here?Nothing? no one uses this functionality?
-
Program compiles, but does not run
To: XCode Users <[email protected]>
From: Brigit Ananya <[email protected]>
Subject: Program compiles, but does not run
I am trying to port a Java application from the PC to the Mac. I am using XCode and the program compiles, but it does not run.
When I try to run the ...app, I get the message that the main class is not specified, etc.
When I try to run the ...jar, I do not get the message that the main class is not specified, but I do get the message that there is no Manifest section for bouncycastle, etc.
Here are the detailed messages I get in the Console when I try to run the program:
When I try to run the ...app, I get the following message:
1/9/09 7:21:17 AM [0x0-0x8c08c].com.AnanyaSystems.AnanyaCurves[2253] [LaunchRunner Error] No main class specified
1/9/09 7:21:17 AM [0x0-0x8c08c].com.AnanyaSystems.AnanyaCurves[2253] [JavaAppLauncher Error] CallStaticVoidMethod() threw an exception
1/9/09 7:21:17 AM [0x0-0x8c08c].com.AnanyaSystems.AnanyaCurves[2253] Exception in thread "main" java.lang.NullPointerException
1/9/09 7:21:17 AM [0x0-0x8c08c].com.AnanyaSystems.AnanyaCurves[2253] at apple.launcher.LaunchRunner.run(LaunchRunner.java:112)
1/9/09 7:21:17 AM [0x0-0x8c08c].com.AnanyaSystems.AnanyaCurves[2253] at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
1/9/09 7:21:17 AM [0x0-0x8c08c].com.AnanyaSystems.AnanyaCurves[2253] at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)
When I try to run the ...jar, I do get the following message:
1/9/09 7:22:43 AM [0x0-0x8d08d].com.apple.JarLauncher[2262] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] Exception in thread "main"
1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] java.lang.SecurityException: no manifiest section for signature file entry org/bouncycastle/asn1/DEREnumerated.class
1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at sun.security.util.SignatureFileVerifier.verifySection(SignatureFileVerifier.java:377)
1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:231)
1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:176)
1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.util.jar.JarVerifier.processEntry(JarVerifier.java:233)
1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.util.jar.JarVerifier.update(JarVerifier.java:188)
1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.util.jar.JarFile.initializeVerifier(JarFile.java:325)
1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.util.jar.JarFile.getInputStream(JarFile.java:390)
1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at sun.misc.URLClassPath$JarLoader$1.getInputStream(URLClassPath.java:620)
1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at sun.misc.Resource.cachedInputStream(Resource.java:58)
1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at sun.misc.Resource.getByteBuffer(Resource.java:113)
1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.net.URLClassLoader.defineClass(URLClassLoader.java:249)
1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.security.AccessController.doPrivileged(Native Method)
1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
I do specify the main class in both, the Manifest file and the Info.plist file, in the correct way, "package.MainClass". Is there another place where I need to specify it?
Why do I need org/bouncycastle/asn1/DEREnumerated.class, and how would I have to specify it in Manifest?
I also posted these questions at Mac Programming at forums.macrumors.com and at Xcode-users Mailing List at lists.apple.com/mailman/listinfo, but I did not get any answer.
Please help! Thanks!There was something wrong with my Info.plist file.
So, here is my corrected Info.plist file:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>AnanyaCurves</string>
<key>CFBundleGetInfoString</key>
<string></string>
<key>CFBundleIconFile</key>
<string>AnanyaCurves.icns</string>
<key>CFBundleIdentifier</key>
<string>com.AnanyaSystems.AnanyaCurves</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>AnanyaCurves</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.1</string>
<key>CFBundleSignature</key>
<string>ac</string>
<key>CFBundleVersion</key>
<string>0.1</string>
<key>Java</key>
<dict>
<key>JMVersion<key>
<string>1.4+</string>
<key>MainClass</key>
<string>AnanyaCurves</string>
<key>VMOptions</key>
<string>-Xmx512m</string>
<key>Properties</key>
<dict>
<key>apple.laf.useScreenMenuBar</key>
<string>true</string>
<key>apple.awt.showGrowBox</key>
<string>true</string>
</dict>
</dict>
</dict>
</plist>Ok, so now I can at least run the AnanyaCurves.jar file by double-clicking on it.
However, I still cannot run the AnanyaCurves.app file. When I double-click on it, I get the following message in the Console:
1/11/09 5:12:26 PM [0x0-0x67067].com.apple.JarLauncher[1128] at ananyacurves.AnanyaCurves.main(AnanyaCurves.java:1961)
1/11/09 5:13:11 PM [0x0-0x6a06a].com.AnanyaSystems.AnanyaCurves[1137] [JavaAppLauncher Error] CFBundleCopyResourceURL() failed loading MRJApp.properties file
1/11/09 5:13:11 PM [0x0-0x6a06a].com.AnanyaSystems.AnanyaCurves[1137] [LaunchRunner Error] No main class specified
1/11/09 5:13:11 PM [0x0-0x6a06a].com.AnanyaSystems.AnanyaCurves[1137] [JavaAppLauncher Error] CallStaticVoidMethod() threw an exception
1/11/09 5:13:11 PM [0x0-0x6a06a].com.AnanyaSystems.AnanyaCurves[1137] Exception in thread "main" java.lang.NullPointerException
1/11/09 5:13:11 PM [0x0-0x6a06a].com.AnanyaSystems.AnanyaCurves[1137] at apple.launcher.LaunchRunner.run(LaunchRunner.java:112)
1/11/09 5:13:11 PM [0x0-0x6a06a].com.AnanyaSystems.AnanyaCurves[1137] at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
1/11/09 5:13:11 PM [0x0-0x6a06a].com.AnanyaSystems.AnanyaCurves[1137] at apple.launcher.JavaApplicationLauncher.main(JavaApplicationLauncher.java:61)Why is it looking for the MRJApp.properties file? Isn't this outdated? Shouldn't it look for the Info.plist file? I do not have a MRJApp.properties file.
Also, in the Run menu of my XCode project, Go, Run, and Debug are disabled, but perhaps this has to do with not being able to run the AnanyaCurves.app file.
Thanks for your time! I really appreciate any help you can give me! -
Application does not run on target system
Hello, This is my first attempt at using this forum & creating a LV standalone application and I have encountered a brick wall.
I have created a simple VI to display some T/C readings that runs fine on the (LV prof 8.5) development system, but not on a different target PC.
The target PC does not have LV installed, just DAQ-MX software for Windows V8.6
The DAQ hardware is a SCXI-1000 chassis with SCXI-1600 USB interface, taking data with SCXI 1102. I am using the same hardware on both
the development PC and the target PC. The DAQ hardware works correctly on the target PC (using MAX). My application loads, but just does
not run on the target pc.
Solved!
Go to Solution.Hello André
I am not sure. On my last attempt, I had included "additional installers" Run-Time Engine(s) 8.0.1, 8.2.1, and 8.5.1.
The application seems to load. The screen looks normal, it just doesn't seem to acquire any data (although it appears to be running).
The VI is very simple. I have attached it (didn't realize I could do this before). I hope this answers your questions.
Thanks,
Bob
Attachments:
thermo2.vi 250 KB -
My adobe captivate6 installs but does not run on my windows7 dell inspiron
my adobe captivate6 installs but does not run on my windows7 dell inspiron with 4gb ram and 500gb hdsk, i downloaded the trial first 32bit and it installed fine and didnt run. so i thought that a full version with a 64bit installation will do the trick, but after that the captivate 6 did not still work on my system. i also tried it on an acer with duo core and the captivate software installed and did not still work. it only shows the captivate flash screen.
a friend installed his on an acer laptop 64bit, i3processor, and it works fine. please i will be glad if i can be helped on how to correct this
thanksHave you tried right clicking on the Cp icon and selecting Run as Administrator? This is something you MUST do in Win7 but was not necessary on Xp.
-
ICal does not run one event that has a Applescript attached to it. 24u?
I have a number of reoccurring events in iCal that run a Applescript. Tow of them refuses to run. I have tried it as a Applescript and saved it as a run only and neither works (the script run fine if I test them by hand).
so I thought I have a look in the log and found this 24u information.
can anybody help out here? I am not sure why it appears, if it is good or bad, how to fix it and if it is at all realted to my problem. Other scripts seem to run well, it is this one and an other one that do not get activated by iCall.
They run on a MM running 10.6.8, iCall 4.0.4 (1395.7)
Thanks.
Log today:
19/09/2011 07:00:00 iCal Helper[211] Error loading /Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX: dlopen(/Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX, 262): no suitable image found. Did find:
/Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX: mach-o, but wrong architecture
19/09/2011 07:00:00 [0x0-0x12012].com.apple.iCal.helper[211] iCal Helper: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/24U Appearance OSAX.osax" declares no loadable handlers.
19/09/2011 07:45:01 iCal Helper[317] Error loading /Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX: dlopen(/Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX, 262): no suitable image found. Did find:
/Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX: mach-o, but wrong architecture
19/09/2011 07:45:01 [0x0-0x28028].com.apple.iCal.helper[317] iCal Helper: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/24U Appearance OSAX.osax" declares no loadable handlers.
19/09/2011 14:30:02 iCal Helper[1019] Error loading /Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX: dlopen(/Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX, 262): no suitable image found. Did find:
/Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX: mach-o, but wrong architecture
19/09/2011 14:30:02 [0x0-0x73073].com.apple.iCal.helper[1019] iCal Helper: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/24U Appearance OSAX.osax" declares no loadable handlers.Hi,
It looks like the version of 24U's Appearance OSAX you have installed does not run on Lion.
I would contact the developer to see if they have a version that does yet. See http://www.24usoftware.com/AppearanceOSAX
Alternatively you could look to see if the Applescript really needs to use it.
Best wishes
John M
Edit: If you are running Snow Leopard, I think you may need to make the application "iCal Helper" (which you'll find in iCal's application package) run as 32 bit. I'd also suggest you check this with 24U.
Maybe you are looking for
-
Suppose that several VIs running simultaneously on the same computer. How can I find out the names of the running VIs, from another VI? If the already running VIs are clones of the same basic VI, open and run with the option "Prepare to call and forg
-
HP Officejet Pro 8000 Will Not Print
Hello, I have had a persistent problem with this printer which appears that it loses connectivity, however a diagnostic page revealed that it was connected to my wireless router and ready to go! I don't know what to do and am getting extremely frust
-
How to upgrade Support Package for NSP (Netweaver Sneak Preview) server?
hello guru, I have installed Netweaver Sneak Preview on my notebook. This ABAP Application Server 7 's support package is 12. Can I upgrade it to the newest support package? Can I do it in the normal way, just like normal SAP server, use SPAM? Thanks
-
InitialContext and javax.rmi.PortableRemoteObject
I've been trying to locate a very annoying problem that I get when I try to bind remote objects in JNDI. I have now located the problem but I have no idea why this causes a problem or how to fix it. It seems that creating an InitialContext has differ
-
How to download older versions of keynote
i have the newest version of keynote but i need version 4.0.4. how do i get it?