Jquery slider is not consistently loads while running coded ui automation script
Hello Guys,<o:p></o:p>
I am doing coded ui automation testing for mvc application. Now there are some features where we are loading Jquery slider from left towards right. Actually those slider loads properly
when users does it manually but when i ran it using coded ui script, so sometimes slider comes and go back within seconds .This means it is not loading properly but sometime its load fine.so due to that coded ui does not find respective control to click over.<o:p></o:p>
I have tried to wait with different option of playback , wait , delay but the behavior is still same.
That means my test fails to load proper slider window most of the time.<o:p></o:p>
Can anyone suggests me some inclinations to solve this problem. <o:p></o:p>
Thanks in advance.<o:p></o:p>
Actually i have tried to wait in all possible ways provided by coded ui . But issue happens only sometime during following scenario:
1. I click on "x" button
2. Then that slider gets loaded from right towards left. There is again other internal ajax call which brings up data to show on slider. For that i have used webwaitforcontrolready=3 to disable ajax or js engine.
3. But sometimes problem occurs when automation scripts clicks on "x" button ,then slider comes and go back within fraction of seconds. I do not know whether it is due to network speed or any other issue. so due to that subsequent action on that slider are
not getting executed or gets failed.
could you please suggests me which wait should i use till that slider loads completely and then only move to next action?
i have tried using wait(), thread sleep(),waitforcontrolready(),waitforcontrolexits(),waitforcontrolenabled(),playback.settings.waitforreadylevel=allthreads.
Similar Messages
-
Images not getting Loaded while running Java Application through jar file
Hello Friends,
I have a problem while starting my application.I have written my application using pure java.There is no JSP or anything just pure swings.Mine is a standalone appplication.So i used to run it using a batch file.And when i used to start my application it used to not show me the images.so what i did was i mentioned the starting directory in the properties of the batch file (ie in the start in column field).But that was when i was using weblogic server.And i have lot of people working on the same application.so i used ZAC publisher in weblogic and along with that i used to publish the batch file also.so the users dint have any problem.But now what is my problem is i m trying to use JAVA Webstart instead of weblogic ZAC.Now in webstart what happens is that i have to run the appliaction thru jar file.so where do i mention the class path so that the images get loaded.As of now the imaes are not getting loaded.i feel this is a class path problem.but where do i mention it that is my problem.It would be really helpfule if someone could help me out.
thanx and regards,
[email protected]try out this
ImageIcon img1=new ImageIcon(this.getClass().getResource(imagename));
for exmaple
Imageicon img1=new ImageIcon(this.getClass().getResource("name1.jpg"));
dont 4get to include the image files in the jar file -
XML report is not giving heading while running from application.
Hi Everybody,
We are facing one issue in xml.
XML report is not giving heading while running from application.
Pls suggest.
Regards
Sreehari.
Edited by: user1762471 on Sep 27, 2010 10:48 PMWhat application you mean?
-
DDLIMP utility is failing while running the DDL_OLTP.ctl script for Siebel
DDLIMP utility is failing while running the DDL_OLTP.ctl script for Siebel source on DB2.
Below is the the log details:
2021 2012-11-08 03:23:46 2012-11-08 03:25:56 -0700 0000002a 001 003f 0001 09 ddlimp 604 736 C:\OBIA\Upgrade\CTLFiles\DDL_.log
ContextInit ContextInit 0 0 2012-11-08 03:23:46 Message Facility failed to init. Siebel Root: C:\DAC\client\utilities
Trace Trace 3 0 2012-11-08 03:23:46 Siebel Enterprise Applications ODBC DDL Import Utility, Version 7.7 [18030] ENU
Trace Trace 3 0 2012-11-08 03:23:46 Copyright (c) 2001 Siebel Systems, Inc. All rights reserved.
Trace Trace 3 0 2012-11-08 03:23:46
This software is the property of Siebel Systems, Inc., 2207 Bridgepointe Parkway,
San Mateo, CA 94404.
User agrees that any use of this software is governed by: (1) the applicable
user limitations and other terms and conditions of the license agreement which
has been entered into with Siebel Systems or its authorized distributors; and
(2) the proprietary and restricted rights notices included in this software.
WARNING: THIS COMPUTER PROGRAM IS PROTECTED BY U.S. AND INTERNATIONAL LAW.
UNAUTHORIZED REPRODUCTION, DISTRIBUTION OR USE OF THIS PROGRAM, OR ANY PORTION
OF IT, MAY RESULT IN SEVERE CIVIL AND CRIMINAL PENALTIES, AND WILL BE
PROSECUTED TO THE MAXIMUM EXTENT POSSIBLE UNDER THE LAW.
If you have received this software in error, please notify Siebel Systems
immediately at (650) 295-5000.
SQLDBUtilityLog SQLDBUtilityLog 3 0 2012-11-08 03:23:46 ddlimp /U SIEBEL /P ***** /C siebel /G SSE_ROLE /F C:\OBIA\Upgrade\CTLFiles\DDL_OLTP.CTL /L C:\OBIA\Upgrade\CTLFiles\DDL_
SQLDBUtilityLog SQLDBUtilityLog 3 0 2012-11-08 03:23:46
SQLDBUtilityLog SQLDBUtilityLog 3 0 2012-11-08 03:23:46 Connecting to the database...
DBCLog DBCLogError 1 0 2012-11-08 03:23:52 SQL Warning, SQL State 01004, 0, [DataDirect][ODBC DB2 Wire Protocol driver]String data, right truncated.
DBCLog DBCLogError 1 0 2012-11-08 03:23:52 SQL Warning, SQL State , 40042692, CLog DBCLogError 1 0 2012-11-08 03:23:52 SQL Warning, SQL State 01004, 0, [DataDirect][ODBC DB2 Wire Protocol driver]String data, right truncated.
SQLDBUtilityLog SQLDBUtilityLog 3 0 2012-11-08 03:23:52 Connected.
SQLDBUtilityLog SQLDBUtilityLog 3 0 2012-11-08 03:23:52
SQLDBUtilityLog SQLDBUtilityLog 3 0 2012-11-08 03:23:52 Reading tables and indexes from DDL file...
SQLDBUtilityLog SQLDBUtilityLog 3 0 2012-11-08 03:23:52 Read 522 tables and 1084 indexes from DDL file...
SQLDBUtilityLog SQLDBUtilityLog 3 0 2012-11-08 03:23:52
SQLDBUtilityLog SQLDBUtilityLog 3 0 2012-11-08 03:23:52 Reading existing schema...
SARMLog SARMInformation 3 0 2012-11-08 03:23:52 SARM is OFF -change param SARMLevel to enable
SQLDBUtilityLog SQLDBUtilityLog 3 0 2012-11-08 03:25:56 Read 0 tablespaces, 6137 tables and 24846 indexes from existing schema...
SQLDBUtilityLog SQLDBUtilityLog 3 0 2012-11-08 03:25:56
SQLDBUtilityLog SQLDBUtilityLog 3 0 2012-11-08 03:25:56 Running SQL statements against the database...
SQLDBUtilityLog SQLDBUtilityLog 3 0 2012-11-08 03:25:56 Merging table S_ETL_COSTLST ...
SQLError Statement 0 0 2012-11-08 03:25:56 SQL Statement:
alter table S_ETL_COSTLST modify
CONFLICT_ID varchar(15)
DBCLog DBCLogError 1 0 2012-11-08 03:25:56 [DataDirect][ODBC DB2 Wire Protocol driver][UDB DB2 for Windows, UNIX, and Linux]ILLEGAL SYMBOL modify; VALID SYMBOLS ARE table S_ETL_COSTLST. ADD
SQLError Statement 0 0 2012-11-08 03:25:56 SQL Statement:
alter table S_ETL_COSTLST modify
CONFLICT_ID varchar(15)
DBCLog DBCLogError 1 0 2012-11-08 03:25:56 [DataDirect][ODBC DB2 Wire Protocol driver][UDB DB2 for Windows, UNIX, and Linux]An error occurred during implicit system action type '2'. Information returned for the error includes SQLCODE '-104', SQLSTATE '42601' and message tokens 'modify|table S_ETL_COSTLST|ADD'.
SQLError Statement 0 0 2012-11-08 03:25:56 SQL Statement:
alter table S_ETL_COSTLST modify
CONFLICT_ID default '0'
DBCLog DBCLogError 1 0 2012-11-08 03:25:56 [DataDirect][ODBC DB2 Wire Protocol driver][UDB DB2 for Windows, UNIX, and Linux]ILLEGAL SYMBOL modify; VALID SYMBOLS ARE table S_ETL_COSTLST. ADD
SQLDBUtilityLog SQLDBUtilityLog 3 0 2012-11-08 03:25:56
SQLDBUtilityLog SQLDBUtilityLog 3 0 2012-11-08 03:25:56 37000: [DataDirect][ODBC DB2 Wire Protocol driver][UDB DB2 for Windows, UNIX, and Linux]ILLEGAL SYMBOL modify; VALID SYMBOLS ARE table S_ETL_COSTLST. ADD
SQLError Statement 0 0 2012-11-08 03:25:56 SQL Statement:
alter table S_ETL_COSTLST modify
CONFLICT_ID default '0'
DBCLog DBCLogError 1 0 2012-11-08 03:25:56 [DataDirect][ODBC DB2 Wire Protocol driver][UDB DB2 for Windows, UNIX, and Linux]An error occurred during implicit system action type '2'. Information returned for the error includes SQLCODE '-104', SQLSTATE '42601' and message tokens 'modify|table S_ETL_COSTLST|ADD'.
SQLDBUtilityLog SQLDBUtilityLog 3 0 2012-11-08 03:25:56
SQLDBUtilityLog SQLDBUtilityLog 3 0 2012-11-08 03:25:56 56098: [DataDirect][ODBC DB2 Wire Protocol driver][UDB DB2 for Windows, UNIX, and Linux]An error occurred during implicit system action type '2'. Information returned for the error includes SQLCODE '-104', SQLSTATE '42601' and message tokens 'modify|table S_ETL_COSTLST|ADD'.
SQLDBUtilityLog SQLDBUtilityLog 3 0 2012-11-08 03:25:56 alter table S_ETL_COSTLST modify
SQLDBUtilityLog SQLDBUtilityLog 3 0 2012-11-08 03:25:56 CONFLICT_ID default '0'
SQLDBUtilityLog SQLDBUtilityLog 3 0 2012-11-08 03:25:56
SQLDBUtilityLog SQLDBUtilityLog 3 0 2012-11-08 03:25:56 ;
SQLDBUtilityLog SQLDBUtilityLog 3 0 2012-11-08 03:25:56 writeExecDDL error (UTLOdbcExecDirectDDL pDDLSql).
SQLDBUtilityLog SQLDBUtilityLog 3 0 2012-11-08 03:25:56 writeExecDDL error (UTLDbDdlColModify).
SQLDBUtilityLog SQLDBUtilityLog 3 0 2012-11-08 03:25:56 Error in MainFunction (UTLDbDdlDbMerge).
SQLDBUtilityLog SQLDBUtilityLog 3 0 2012-11-08 03:25:56 Error in Main function...
GenericLog GenericError 1 0 2012-11-08 03:25:56 (logapi.cpp (167) err=1 sys=126) SBL-GEN-00001: (logapi.cpp: 167) error code = 1, system error = 126, msg1 = (null), msg2 = (null), msg3 = (null), msg4 = (null)If you run DAC on a 64-bit windows Operating System, you must create the ODBC data source using the ODBC Administrator tool in %windir%\SysWOW64\odbcad32.exe. for creating the data warehouse tables.
If helps pls mark -
I wrote two mobile pages with dreamweaver cs5.5 and jquery. Both do online calculations. Both appear and accept input. One page using jquery datepicker does not calculate. Solely in Firefox. IE9, Safari, Chrome display correct results. Debuggers show no error. Firebug seems telling me that Firefox does not get a result from datepicker function.
Thanks. But did not help. I had done this several times before, reload, clear cache, disable extensions etc. Always used standard theme. I tried the same on two different machines, with next to last version and after having installed the latest version. In the debugger I can see that variables "zeit1" (jquery datepicker) were not filled with the datepicking results, while in all other browsers zeitX shows the current date and the app shows the results that are expected. Given that another comparable app - only without date and datepicker functions - works in Firefox I think one should explore why solely datepicker - or the function using datepicker - does not show results solely in Firefox on desktop (no mobile device with Firefox on hand) . I indeed believe that there is a mistake in my code which is detected only by Firefox (10.0.2 at the present time, with Win7 64bit - had the problem with 3.6... on another machine). Given that you could run the app with results on your machine: could it be the context of locale/culture (here: de)?
Kind regards -
I am trying to run a PowerShell script to upload files into a SharePoint site in an Azure environment...the script works fine on my local machine, but every time I run it in Azure (remotely), I get errors. Here is what my simple script looks like...
if ( (Get-PSSnapin -Name Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue) -eq $null )
Write-Host "Loading Sharepoint Module "
[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint")
Add-PSSnapin -Name Microsoft.SharePoint.PowerShell
if ( (Get-PSSnapin -Name Microsoft.SharePoint.PowerShell) -eq $null )
Write-Host "Failed to load sharepoint snap-in. Could not proceed further, Aborting ..."
Exit
#Script settings
$webUrl = "http://sampleWebUrl"
$docLibraryName = "My Documents"
$docLibraryUrlName = "My%20Documents"
$localFolderPath = get-childitem "C:\Upload\Test Upload\My Documents\" -recurse
$contentType = "ContenttType1"
#Open web and library
$web = Get-SPWeb $webUrl
write-host "Web:" $web
$docLibrary = $web.Lists[$docLibraryName]
write-host "docLibrary:" $docLibrary
$files = ([System.IO.DirectoryInfo] (Get-Item $localFolderPath)).GetFiles()
write-host "files:" $files
If ($contentType = "ContenttType1")
#Open file
$fileStream = ([System.IO.FileInfo] (Get-Item $file.FullName)).OpenRead()
# Gather the file name
$FileName = $File.Name
#remove file extension
$NewName = [IO.Path]::GetFileNameWithoutExtension($FileName)
#split the file name by the "-" character
$FileNameArray = $NewName.split("_")
$check = $FileNameArray.Length
#Add file
$folder = $web.getfolder($docLibrary.rootFolder.URL)
write-host "Copying file " $file.Name " to " $folder.ServerRelativeUrl "..."
$spFile = $folder.Files.Add($folder.Url + "/" + $file.Name, [System.IO.Stream]$fileStream, $true)
$spItem = $spFile.Item
write-host "Success"
write-host "SP File:" $spFile
write-host "SP Item" $spItem
#populate columns
$spItem["Column1"] = $FileNameArray[0]
$spItem["Column2"] = $FileNameArray[1]
$spItem.Update()
$fileStream.Close();
Again, I can run this on my local machine and it works just fine, but when I attempt to run it on the Azure environment I get this error...
Get-Item : Cannot find path 'C:\powershellscripts\12653_B7045.PDF' because it does not exist.
At C:\PowerShellScripts\Upload-FilesIntoSharePointTester.ps1:32 char:42
+ $files = ([System.IO.DirectoryInfo] (Get-Item $localFolderPath)).GetFiles()
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\powershellscripts\12653_B7045.PDF:String) [Get-Item], ItemNotFoundException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetItemCommand
What strikes me first is the fact that the file its looking for is in the "C:\Upload\Test Upload\My Documents\" directory, but the error keeps saying "C:\powershellscripts\" which is where my script resides and not the files I want to
upload into SharePoint. When I step through the code, all the variables are holding the correct values. The $localFolderPath shows the name of files that I am attempting to upload, so it recognizes them. But once I step through this particular line of code,
the error occurs...
$files = ([System.IO.DirectoryInfo] (Get-Item $localFolderPath)).GetFiles()
Is this an error caused because I am remoting into the Azure environment? Has anyone dealt with this issue before? I would really appreciate the help. Thanks
Update: quick thing I noticed is that these two lines of code are returning null values. Again, is this handled differently in Azure or remotely? I ask cause this is the way I know how to do this, locally.
$docLibrary = $web.Lists[$docLibraryName]
$files = ([System.IO.DirectoryInfo] (Get-Item $localFolderPath)).GetFiles()"...square brackets are wildcard characters in Windows PowerShell..."
When you use cd without a parameter it uses the -Path parameter. In this case you'll have to escape the square brackets so they are not considered wildcards. Each of the commands in the first example does the exact same thing.
cd 'Learn PowerShell `[Do Whatever`]'
cd -Path 'Learn PowerShell `[Do Whatever`]'
cd (or Set-Location) also has a literal path parameter (-LiteralPath) that does not require using an escape character (`) before each of the brackets. Hope this helps.
cd -LiteralPath 'Learn PowerShell [Do Whatever]' -
Hierarchical tree not showing up while running the form
Hi Gurus,
I have a problem while running forms in 10g AS.
The hierarchical tree control is showing up when I run the form in my local development (win xp) system. But, when I run the same form through my 10g Application server(linux), the hierarchical tree control is not showing up.
Can anyone suggest some solutions ?
Thanks in advance.
Sundar KHi Andreas,
Thanks for the reply.
The form shows a blank square-box, instead hiearchical tree. I can see other controls like text-box, LOV, command button on the same form.
The java console shows,
Downloading http://test.abits.com:7778/forms/java/frmall_jinit.jar to JAR cache
Downloading http://test.abits.com:7778/forms/java/f60tree.jar to JAR cache
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
Forms Applet version is : 10.1.2.0
The problem persist, even though I change the appsweb.cfg file to use frmall.jar instead of frmall_jinit.jar.
I'm using 10g application server (iAS 10.1.2.0.2).
Kindly advise. Thanks in advance.
Sundar K -
'JAVA_HOME is not set' error while running icommand via cront in Linux
Hi all:
I'm trying to run icommand to execute .sh, I can execute manually successful but I want to run in automaticlly. so I choose 'cront' command. however, there's an error out while using crontab -e as below:
ERROR: JAVA_HOME is not set. Please set JAVA_HOME and run this command.
What strange is, it's OK while running the shell manually but failed via 'cront' command. Does anyone can help me to resolve it?
Thanks in advance.
the shell is below:
#!/bin/sh##
/fmw/Oracle/Middleware/Oracle_SOA1/bam/bin/icommand -cmd export -name "/LAEH_Core_Framework/Data_Object/laehDataObject" -file "/fmw/bamExport/abc.xml"
echo "111"Let me guess:
When you export manually you don't do it as root right?
when you use your scripts via crontab it is possible that a variable (in this case JAVA_HOME) is not set (for the user root).
So you probably have to check whether JAVA_HOME exists when your logged in as root.
I hope this helps -
Hi Oracle Experts,
I am trying to setup a new GRID Standalone Infrastructure on a previously installed Oracle 11g database.
It runs all fine but when prompts to run the root.sh script it does not allow to proceed as it prompts to overwrite the existing path for /usr/bin/local
well, I google'd and tried with overwrite : Y . It prompted to run the script but it failed ...
Could you please help me on this ..
[root@asm ~]# /u01/app/11.2.0/grid/root.sh
Running Oracle 11g root.sh script...
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/11.2.0/grid
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: y
Copying dbhome to /usr/local/bin ...
The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: y
Copying oraenv to /usr/local/bin ...
The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: y
Copying coraenv to /usr/local/bin ...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
To configure Grid Infrastructure for a Stand-Alone Server run the following command as the root user:
/u01/app/11.2.0/grid/perl/bin/perl -I/u01/app/11.2.0/grid/perl/lib -I/u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/crs/install/roothas.pl
[root@asm ~]# /u01/app/11.2.0/grid/perl/bin/perl -I/u01/app/11.2.0/grid/perl/lib -I/u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/ crs/install/roothas.pl
2015-03-18 01:42:25: Checking for super user privileges
2015-03-18 01:42:25: User has super user privileges
2015-03-18 01:42:25: Parsing the host name
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
LOCAL ADD MODE
Creating OCR keys for user 'oracle', privgrp 'oinstall'..
Operation successful.
CRS-4664: Node asm successfully pinned.
Adding daemon to inittab
CRS-4123: Oracle High Availability Services has been started.
ohasd is starting
acfsroot: ACFS-9320: Missing advmutil.
acfsroot: ACFS-9320: Missing advmutil.bin.
acfsroot: ACFS-9320: Missing fsck.acfs.
acfsroot: ACFS-9320: Missing fsck.acfs.bin.
acfsroot: ACFS-9320: Missing mkfs.acfs.
acfsroot: ACFS-9320: Missing mkfs.acfs.bin.
acfsroot: ACFS-9320: Missing mount.acfs.
acfsroot: ACFS-9320: Missing mount.acfs.bin.
acfsroot: ACFS-9320: Missing acfsdbg.
acfsroot: ACFS-9320: Missing acfsdbg.bin.
acfsroot: ACFS-9320: Missing acfsutil.
acfsroot: ACFS-9320: Missing acfsutil.bin.
acfsroot: ACFS-9301: ADVM/ACFS installation can not proceed:
acfsroot: ACFS-9302: No installation files found at /u01/app/11.2.0/grid/install/usm/EL5/x86_64/2.6.18-8/2.6.18-8.el5xen-x86_64/bin.
asm 2015/03/18 01:43:06 /u01/app/11.2.0/grid/cdata/asm/backup_20150318_014306.olr
Successfully configured Oracle Grid Infrastructure for a Standalone Server
when I checked for ASM instance its not running ... but just ohasd service and nothing else ..
[root@asm grid]# ps -ef | grep pmon
oracle 5831 1 0 01:15 ? 00:00:01 ora_pmon_db11g1
root 12625 8794 0 02:30 pts/2 00:00:00 grep pmon
[root@asm grid]#
[root@asm grid]#
[root@asm grid]# ps -ef | grep d.bin
oracle 12643 1 5 02:30 ? 00:00:00 /u01/app/11.2.0/grid/bin/ohasd.bin reboot
root 12715 8794 0 02:30 pts/2 00:00:00 grep d.bin
[root@asm grid]#
Could you please help .hi,
The issue not with /usr/bin/local. When you excute root.sh, it will try configure the ASM with New GRID HOME. Issue started, whent tried to start
CRS-4123: Oracle High Availability Services has been started.
ohasd is starting <<=================================================================
acfsroot: ACFS-9320: Missing advmutil.
Please let us know the below details
==> Acfs is configured the servers??
==>acfsutil registry
acfsutil info fs output.
==> With out ASM instance , How the database, CRS STarted ???
==> Please try stop and start the crs.
==> crsctl query crs activeversion output
Regards
Krishnan -
When I booted my computer up from cold and click firefox to run it sat there and tryed to load instead it sits there and does the nor responding thing. I have totally uninstalled the program a few times and re installed a new download and the same thing happen. I can not run firefox any longer and i have run it everyday for a very long time. This seems to be the only program with an issue.
None of the stuff in " http://kb.mozillazine.org/Locked_or_damaged_places.sqlite " helps. I have tried and tried and I have even wipe the computer clean still didn't help. I got the same problem as he/she has got in the first posted. Can add some web pages but not all the web pages I want.. I should have never updated to 3.6.13... That's when it all started for me, from that version..... Now Version 3.6.14 is out, I was hoping the version 3.6.14 might would fix the problem wrong again....
Funny thing is i can not even Bookmark Firefox.com!!!!!...lol
So any ideas on how to fix it other than the link giving would help.
Thanks. -
SYST: Date 00.00.0000 not expected - error while running DTP.
I had a red alert in a process chain , the message showed TRASFORMATION IS INACTIVE , When I tried after activating DTP manually again gives the same error, atlast I ran the ACTIVE ALL routine again it shows the same message . It also shows SYST: Date 00.00.0000 not expected error.
Can anyone please help me in this issue?This error message is typically associated with trying to populate a field that references 0DATE incorrectly. Check that all of your update routines are syntactically correct and that the data in your source is populated correctly too.
You should be able to see at which line of the generated transformation program that is failing by looking at any short dumps in ST22 or checking the job log in SM37. Place a breakpoint before this point and run through the load in debug mode to analyse if it is a specific data record or it is the update logic that is causing the error.
Regards,
Nick -
Inovice is not being importe while running Request :Payables Open Interface
Dear
We are on release on R12, We need to import legacy invoice into oracle e-business thought import program,
Right now we are working on to import invoice through subject mentioned request, but after running this request
System is not being import invoice and showing message as below mentioned.
I have also mentioned insert query through do this.
We are on release on R12, We need to import legacy invoice into oracle e-business thought import program,
Right now we are working on to import invoice through subject mentioned request, but after running this request
System is not being import invoice and showing message as below mentioned.
I have also mentioned insert query through do this.
MSG-00000: 0 invoice(s) were created during the process run
MSG-00000: 0 invoice(s) were fetched during the process run
MSG-00000: summarize flagN
insert into AP_INVOICES_INTERFACE (
invoice_id,
workflow_flag,
invoice_num,
vendor_id,
vendor_site_id,
invoice_amount,
INVOICE_CURRENCY_CODE,
invoice_type_lookup_code ,
invoice_date,
gl_date,
DESCRIPTION,
-- PAY_GROUP_LOOKUP_CODE,
source,
org_id )
values ( 132277,
'D',
'INV100',
'1401',
'192',
1200.00,
'PKR',
'STANDARD',
sysdate,
sysdate,
'This Invoice is created for test purpose',
-- 'WUFS SUPPLIER',
'Manual Invoice Entry',
82 );
3cs test scenario
insert into AP_INVOICE_LINES_INTERFACE (
invoice_id,
line_number,
line_type_lookup_code,
amount )
values (132277,
1,
'ITEM',
1200.00
appreciate your response
--thanksThanks for reply,
As you mentioned regarding operating unit, we were passing it throught backe-end and fron as well, but still the same error appearing, and we need to do this asap, becuase we are going to live and we don't have much time.
Kindly any body can guide me to reslove this problem, -
Index does not exist error while running the query
Hi Everone,
I am facing some problem when i try to tun the query in BEx. When i run the query, it is giving the error "Index does not exist". Please help me out.
With Regards
Pavan
Edited by: PavanRaj_S on Mar 3, 2010 4:50 AMHi,
If you facing index problem go to mange create the index and you want to know what are all the infocubes not maintained index go db02 you can find out.
Regards
sivaraju -
Class not found error while running a JSP App
Hi everybody,
I am getting the following error while try to run a JSPApp using JBuilder
and weblogic server 6.1.
C:\JBuilder6\jdk1.3.1\bin\javaw -classpath "C:\BEA
Home\wlserver6.1\lib\weblogic.jar;C:\BEA
Home\wlserver6.1\lib\weblogic.jar;C:\JBuilder6\jdk1.3.1\demo\jfc\Java2D\Java
2Demo.jar;C:\JBuilder6\jdk1.3.1\jre\lib\i18n.jar;C:\JBuilder6\jdk1.3.1\jre\l
ib\jaws.jar;C:\JBuilder6\jdk1.3.1\jre\lib\rt.jar;C:\JBuilder6\jdk1.3.1\jre\l
ib\sunrsasign.jar;C:\JBuilder6\jdk1.3.1\lib\dt.jar;C:\JBuilder6\jdk1.3.1\lib
\htmlconverter.jar;C:\JBuilder6\jdk1.3.1\lib\tools.jar" -ms64m -mx64m -Djav
a.library.path=C:/BEA Home/wlserver6.1/bin -Dbea.home="C:/BEA
Home" -Dweblogic.Domain=mydomain -Dweblogic.Name=myserver -Djava.security.po
licy==C:/BEA
Home/wlserver6.1/lib/weblogic.policy -Dweblogic.management.password=suresh74
weblogic.Server
java.lang.NoClassDefFoundError: Home/wlserver6/1/bin
Exception in thread "main"
i didn't understand where it is picking the path Home/wlserver6/1/bin.
I am really frustrated with this.
Can any one over there Have any Idea or gone through this, please help me ,
I would be thankfull to them.
Thank you,
-Suresh
Hi.
Try putting double quotes around your java.library.path definition - I think it
can't handle the space in the string. So change:
-Djava.library.path=C:/BEA Home/wlserver6.1/bin
to
-Djava.library.path="C:/BEA Home/wlserver6.1/bin"
Regards,
Michael
Suresh Babu wrote:
> Hi everybody,
>
> I am getting the following error while try to run a JSPApp using JBuilder
> and weblogic server 6.1.
> C:\JBuilder6\jdk1.3.1\bin\javaw -classpath "C:\BEA
> Home\wlserver6.1\lib\weblogic.jar;C:\BEA
> Home\wlserver6.1\lib\weblogic.jar;C:\JBuilder6\jdk1.3.1\demo\jfc\Java2D\Java
> 2Demo.jar;C:\JBuilder6\jdk1.3.1\jre\lib\i18n.jar;C:\JBuilder6\jdk1.3.1\jre\l
> ib\jaws.jar;C:\JBuilder6\jdk1.3.1\jre\lib\rt.jar;C:\JBuilder6\jdk1.3.1\jre\l
> ib\sunrsasign.jar;C:\JBuilder6\jdk1.3.1\lib\dt.jar;C:\JBuilder6\jdk1.3.1\lib
> \htmlconverter.jar;C:\JBuilder6\jdk1.3.1\lib\tools.jar" -ms64m -mx64m -Djav
> a.library.path=C:/BEA Home/wlserver6.1/bin -Dbea.home="C:/BEA
> Home" -Dweblogic.Domain=mydomain -Dweblogic.Name=myserver -Djava.security.po
> licy==C:/BEA
> Home/wlserver6.1/lib/weblogic.policy -Dweblogic.management.password=suresh74
> weblogic.Server
>
> java.lang.NoClassDefFoundError: Home/wlserver6/1/bin
>
> Exception in thread "main"
>
> i didn't understand where it is picking the path Home/wlserver6/1/bin.
>
> I am really frustrated with this.
>
> Can any one over there Have any Idea or gone through this, please help me ,
> I would be thankfull to them.
>
> Thank you,
> -Suresh
Michael Young
Developer Relations Engineer
BEA Support
-
Class not Found Exception while running an EJB
I have created and published a EJB in Oracle 8i (in a particular
schema) by running the deployejb tool supplied. The ejb was
published successfully. On running the client program I get an
error saying that the mybeans's HomeHelper class cannot be
found. This error occurs when there is a lookup to the home
interface of the bean. The exception thrown says Reasons are
unknown. On checking the objects of type 'JAVA CLASS' I found
that the homeHelper class object had been created automatically
be the deploy process. What is the reason for the class not
found exception and what can I do to correct it. ?
The code for the beans is as given below :
Home Interface
package mituser ;
import javax.ejb.*;
import java.rmi.RemoteException;
public interface MITUserHome extends EJBHome {
public MITUser create()
throws CreateException, RemoteException;
Remote Interface
package mituser ;
import javax.ejb.EJBObject;
import java.rmi.RemoteException;
public interface MITUser extends EJBObject {
public int validateUserName (String username)
throws java.sql.SQLException, RemoteException;
public int validatePassword (String username, String password)
throws java.sql.SQLException, RemoteException;
public String validateSearchAccess (String username, String
password)
throws java.sql.SQLException, RemoteException;
Bean
package mituserServer ;
import java.sql.*;
import java.rmi.RemoteException;
import javax.ejb.*;
public class MITUserBean implements SessionBean {
SessionContext ctx;
public void ejbCreate() throws CreateException,
RemoteException {
public void ejbActivate() {
public void ejbPassivate() {
public void ejbRemove() {
public void setSessionContext(SessionContext ctx) {
this.ctx = ctx;
public int validateUserName (String username) throws
SQLException, RemoteException
int count = 0 ;
Connection conn =
new oracle.jdbc.driver.OracleDriver().defaultConnection ();
PreparedStatement ps =
conn.prepareStatement ("select count(username) from
useraccountinfo where username = ?");
try {
ps.setString (1, username);
ResultSet rset = ps.executeQuery ();
if (!rset.next ())
throw new RemoteException ("no registered user with User
Name " + username);
count = rset.getShort(1) ;
return count ;
} finally {
ps.close();
public int validatePassword (String username, String password)
throws SQLException, RemoteException
int count = 0 ;
Connection conn =
new oracle.jdbc.driver.OracleDriver().defaultConnection ();
PreparedStatement ps =
conn.prepareStatement ("select count(username) from
useraccountinfo where username = ? and password = ?");
try {
ps.setString (1, username);
ps.setString(2, password);
ResultSet rset = ps.executeQuery ();
if (!rset.next ())
throw new RemoteException ("Invalid Password ");
count = rset.getShort(1) ;
return count ;
} finally {
ps.close();
public String validateSearchAccess (String username, String
password) throws SQLException, RemoteException
String searchaccess = "" ;
Connection conn =
new oracle.jdbc.driver.OracleDriver().defaultConnection ();
PreparedStatement ps =
conn.prepareStatement ("select searchprofileaccess from
useraccountinfo where username = ? and password = ?");
try {
ps.setString (1, username);
ps.setString(2, password);
ResultSet rset = ps.executeQuery ();
if (!rset.next ())
throw new RemoteException ("Access Denied for " +
username );
searchaccess = rset.getString(1) ;
return searchaccess ;
} finally {
ps.close();
Client program
import mituser.MITUser;
import mituser.MITUserHome;
import oracle.aurora.jndi.sess_iiop.ServiceCtx;
import javax.naming.Context;
import javax.naming.InitialContext;
import java.util.Hashtable;
public class Client {
public static void main (String [] args) throws Exception {
int count = 0 ;
String access = "" ;
if (args.length != 4) {
System.out.println("usage: Client serviceURL objectName
user password");
System.exit(1);
String serviceURL = args [0];
String objectName = args [1];
String user = args [2];
String password = args [3];
Hashtable env = new Hashtable();
env.put(Context.URL_PKG_PREFIXES, "oracle.aurora.jndi");
env.put(Context.SECURITY_PRINCIPAL, user);
env.put(Context.SECURITY_CREDENTIALS, password);
env.put(Context.SECURITY_AUTHENTICATION,
ServiceCtx.NON_SSL_LOGIN);
Context ic = new InitialContext(env);
MITUserHome home = (MITUserHome)ic.lookup (serviceURL +
objectName);
MITUser testBean = home.create ();
count = testBean.validateUserName("MITA");
if (count > 0 )
System.out.println ("Valid User");
else
System.out.println ("Invalid User");
count = testBean.validatePassword("MITA", "MITA");
if (count > 0 )
System.out.println ("Valid Password");
else
System.out.println ("Invalid Password");
access = testBean.validateSearchAccess("MITA", "MITA");
if ( access.equalsIgnoreCase("YES") )
System.out.println ("Search Access Available");
else
System.out.println ("Search Access Denied");
The Descriptor file
// MIT UserBean EJB deployment descriptor
SessionBean mituserServer.MITUserBean {
BeanHomeName = "test/mitUserJDBCBean";
RemoteInterfaceClassName = mituser.MITUser;
HomeInterfaceClassName = mituser.MITUserHome;
AllowedIdentities = {MIT};
SessionTimeout = 20;
StateManagementType = STATEFUL_SESSION;
RunAsMode = CLIENT_IDENTITY;
TransactionAttribute = TX_REQUIRED;
Batch File for deploying the ejb
@echo off
if (%ORACLE_HOME%)==() goto usage
if (%ORACLE_SERVICE%)==() goto usage
if (%JDK_CLASSPATH%)==() goto usage
@echo on
set CLASSPATH=.;%ORACLE_HOME%\lib\aurora_client.jar;%ORACLE_HOME%
\jdbc\lib\classes111.zip;%ORACLE_HOME%\sqlj\lib\translator.zip;%
ORACLE_HOME%\lib\vbjorb.jar;%ORACLE_HOME%\lib\vbjapp.jar;%
JDK_CLASSPATH%
javac -g mituser\MITUser.java
javac -g mituser\MITUserHome.java
javac -g mituserServer\MITUserBean.java
jar cf0 mituser.jar mituser\MITUser.class
mituser\MITUserHome.class mituserServer\MITUserBean.class
javac -g Client.java
call deployejb -republish -temp temp -u mit -p mit -s %
ORACLE_SERVICE% -descriptor mituser.ejb mituser.jar
@echo off
goto done
:usage
@echo -------------------------------------------------------
@echo Following are the requirements to run this script
@echo set ORACLE_HOME to installed Oracle home
@echo set ORACLE_SERVICE to the CORBA service name of
your databae
@echo for example sess_iiop://localhost:2481:ORCL
@echo set JDK_CLASSPATH to the full path of your JDK
classes.zip
@echo -------------------------------------------------------
:done
Batch file for running the cleint program
@echo off
if (%ORACLE_HOME%)==() goto usage
if (%ORACLE_SERVICE%)==() goto usage
if (%JDK_CLASSPATH%)==() goto usage
@echo on
set CLASSPATH=.;%ORACLE_HOME%\lib\aurora_client.jar;%ORACLE_HOME%
\jdbc\lib\classes111.zip;%ORACLE_HOME%\sqlj\lib\translator.zip;%
ORACLE_HOME%\lib\vbjorb.jar;%ORACLE_HOME%\lib\vbjapp.jar;%
JDK_CLASSPATH%;server_generated.jar
java Client %ORACLE_SERVICE% /test/mitUserJDBCBean mit mit
@echo off
goto done
:usage
@echo -------------------------------------------------------
@echo Following are the requirements to run this script
@echo set ORACLE_HOME to installed Oracle home
@echo set ORACLE_SERVICE to the CORBA service name of
your databae
@echo for example sess_iiop://localhost:2481:ORCL
@echo set JDK_CLASSPATH to the full path of your JDK
classes.zip
@echo -------------------------------------------------------
:done
I know this is not strictly to do with JDBC but there appears to
be no discussion forum for EJB
Hoping for a response soon as it us very URGENT
Thanks
Mita
nullI have created and published a EJB in Oracle 8i (in a particular
schema) by running the deployejb tool supplied. The ejb was
published successfully. On running the client program I get an
error saying that the mybeans's HomeHelper class cannot be
found. This error occurs when there is a lookup to the home
interface of the bean. The exception thrown says Reasons are
unknown. On checking the objects of type 'JAVA CLASS' I found
that the homeHelper class object had been created automatically
be the deploy process. What is the reason for the class not
found exception and what can I do to correct it. ?
The code for the beans is as given below :
Home Interface
package mituser ;
import javax.ejb.*;
import java.rmi.RemoteException;
public interface MITUserHome extends EJBHome {
public MITUser create()
throws CreateException, RemoteException;
Remote Interface
package mituser ;
import javax.ejb.EJBObject;
import java.rmi.RemoteException;
public interface MITUser extends EJBObject {
public int validateUserName (String username)
throws java.sql.SQLException, RemoteException;
public int validatePassword (String username, String password)
throws java.sql.SQLException, RemoteException;
public String validateSearchAccess (String username, String
password)
throws java.sql.SQLException, RemoteException;
Bean
package mituserServer ;
import java.sql.*;
import java.rmi.RemoteException;
import javax.ejb.*;
public class MITUserBean implements SessionBean {
SessionContext ctx;
public void ejbCreate() throws CreateException,
RemoteException {
public void ejbActivate() {
public void ejbPassivate() {
public void ejbRemove() {
public void setSessionContext(SessionContext ctx) {
this.ctx = ctx;
public int validateUserName (String username) throws
SQLException, RemoteException
int count = 0 ;
Connection conn =
new oracle.jdbc.driver.OracleDriver().defaultConnection ();
PreparedStatement ps =
conn.prepareStatement ("select count(username) from
useraccountinfo where username = ?");
try {
ps.setString (1, username);
ResultSet rset = ps.executeQuery ();
if (!rset.next ())
throw new RemoteException ("no registered user with User
Name " + username);
count = rset.getShort(1) ;
return count ;
} finally {
ps.close();
public int validatePassword (String username, String password)
throws SQLException, RemoteException
int count = 0 ;
Connection conn =
new oracle.jdbc.driver.OracleDriver().defaultConnection ();
PreparedStatement ps =
conn.prepareStatement ("select count(username) from
useraccountinfo where username = ? and password = ?");
try {
ps.setString (1, username);
ps.setString(2, password);
ResultSet rset = ps.executeQuery ();
if (!rset.next ())
throw new RemoteException ("Invalid Password ");
count = rset.getShort(1) ;
return count ;
} finally {
ps.close();
public String validateSearchAccess (String username, String
password) throws SQLException, RemoteException
String searchaccess = "" ;
Connection conn =
new oracle.jdbc.driver.OracleDriver().defaultConnection ();
PreparedStatement ps =
conn.prepareStatement ("select searchprofileaccess from
useraccountinfo where username = ? and password = ?");
try {
ps.setString (1, username);
ps.setString(2, password);
ResultSet rset = ps.executeQuery ();
if (!rset.next ())
throw new RemoteException ("Access Denied for " +
username );
searchaccess = rset.getString(1) ;
return searchaccess ;
} finally {
ps.close();
Client program
import mituser.MITUser;
import mituser.MITUserHome;
import oracle.aurora.jndi.sess_iiop.ServiceCtx;
import javax.naming.Context;
import javax.naming.InitialContext;
import java.util.Hashtable;
public class Client {
public static void main (String [] args) throws Exception {
int count = 0 ;
String access = "" ;
if (args.length != 4) {
System.out.println("usage: Client serviceURL objectName
user password");
System.exit(1);
String serviceURL = args [0];
String objectName = args [1];
String user = args [2];
String password = args [3];
Hashtable env = new Hashtable();
env.put(Context.URL_PKG_PREFIXES, "oracle.aurora.jndi");
env.put(Context.SECURITY_PRINCIPAL, user);
env.put(Context.SECURITY_CREDENTIALS, password);
env.put(Context.SECURITY_AUTHENTICATION,
ServiceCtx.NON_SSL_LOGIN);
Context ic = new InitialContext(env);
MITUserHome home = (MITUserHome)ic.lookup (serviceURL +
objectName);
MITUser testBean = home.create ();
count = testBean.validateUserName("MITA");
if (count > 0 )
System.out.println ("Valid User");
else
System.out.println ("Invalid User");
count = testBean.validatePassword("MITA", "MITA");
if (count > 0 )
System.out.println ("Valid Password");
else
System.out.println ("Invalid Password");
access = testBean.validateSearchAccess("MITA", "MITA");
if ( access.equalsIgnoreCase("YES") )
System.out.println ("Search Access Available");
else
System.out.println ("Search Access Denied");
The Descriptor file
// MIT UserBean EJB deployment descriptor
SessionBean mituserServer.MITUserBean {
BeanHomeName = "test/mitUserJDBCBean";
RemoteInterfaceClassName = mituser.MITUser;
HomeInterfaceClassName = mituser.MITUserHome;
AllowedIdentities = {MIT};
SessionTimeout = 20;
StateManagementType = STATEFUL_SESSION;
RunAsMode = CLIENT_IDENTITY;
TransactionAttribute = TX_REQUIRED;
Batch File for deploying the ejb
@echo off
if (%ORACLE_HOME%)==() goto usage
if (%ORACLE_SERVICE%)==() goto usage
if (%JDK_CLASSPATH%)==() goto usage
@echo on
set CLASSPATH=.;%ORACLE_HOME%\lib\aurora_client.jar;%ORACLE_HOME%
\jdbc\lib\classes111.zip;%ORACLE_HOME%\sqlj\lib\translator.zip;%
ORACLE_HOME%\lib\vbjorb.jar;%ORACLE_HOME%\lib\vbjapp.jar;%
JDK_CLASSPATH%
javac -g mituser\MITUser.java
javac -g mituser\MITUserHome.java
javac -g mituserServer\MITUserBean.java
jar cf0 mituser.jar mituser\MITUser.class
mituser\MITUserHome.class mituserServer\MITUserBean.class
javac -g Client.java
call deployejb -republish -temp temp -u mit -p mit -s %
ORACLE_SERVICE% -descriptor mituser.ejb mituser.jar
@echo off
goto done
:usage
@echo -------------------------------------------------------
@echo Following are the requirements to run this script
@echo set ORACLE_HOME to installed Oracle home
@echo set ORACLE_SERVICE to the CORBA service name of
your databae
@echo for example sess_iiop://localhost:2481:ORCL
@echo set JDK_CLASSPATH to the full path of your JDK
classes.zip
@echo -------------------------------------------------------
:done
Batch file for running the cleint program
@echo off
if (%ORACLE_HOME%)==() goto usage
if (%ORACLE_SERVICE%)==() goto usage
if (%JDK_CLASSPATH%)==() goto usage
@echo on
set CLASSPATH=.;%ORACLE_HOME%\lib\aurora_client.jar;%ORACLE_HOME%
\jdbc\lib\classes111.zip;%ORACLE_HOME%\sqlj\lib\translator.zip;%
ORACLE_HOME%\lib\vbjorb.jar;%ORACLE_HOME%\lib\vbjapp.jar;%
JDK_CLASSPATH%;server_generated.jar
java Client %ORACLE_SERVICE% /test/mitUserJDBCBean mit mit
@echo off
goto done
:usage
@echo -------------------------------------------------------
@echo Following are the requirements to run this script
@echo set ORACLE_HOME to installed Oracle home
@echo set ORACLE_SERVICE to the CORBA service name of
your databae
@echo for example sess_iiop://localhost:2481:ORCL
@echo set JDK_CLASSPATH to the full path of your JDK
classes.zip
@echo -------------------------------------------------------
:done
I know this is not strictly to do with JDBC but there appears to
be no discussion forum for EJB
Hoping for a response soon as it us very URGENT
Thanks
Mita
null
Maybe you are looking for
-
Elements 11 - incompatible driver
I am trying to run Adobe Elements 11 on a Samsung NP300E5C laptop on Windows 7 but it errors when I try to start a new project from the welcome screen stating that it has found an incompatible display driver and I should update (Intel(R) HD Graphics
-
CAD_Desktop material Creation
Hi, I am new to DMS and i am try to implement it to a Client. Please let me know what are the views the system will create if material is created with CAD_Desktop. Regards Ramesh
-
How to change my security answer in ipad
How to change my security answers in ipad?
-
Max_cells_one_index
Dear All, Have you got any idea about how to calculate max_cells_one_index? As a BIA parameter it is set to 125000000 (3.000.000 as default ). However, running a query to extract a large volume of the data leads to an error like below. "The followin
-
IPhoto w/ latest update still crashing....
Here is the error log. Any help would be greatly appreciated! Process: iPhoto [418] Path: /Applications/iPhoto.app/Contents/MacOS/iPhoto Identifier: com.apple.iPhoto Version: 9.2.1 (9.2.1) Build Info: iPhotoProjec