OFF TOPIc : java with Oralce error in INSERT
Hi
Java send a string thar I split in values(with decimal point) When I do test only Oracle It work fine , but
when the user call from Java return me error
Then inside procedure I replace in the String changing decimal points (. by , ), then work fine
Somebody know How can Java change decimal points ?
I replace in the String changing decimal points (. by , ), then work fineThis sounds like an internationalization issue. With Oracle the decimal separators are determined by NLS parameters. In Java it is the DecimalFormatSymbols class. Whether this will solve your problem I can't say without knowing more about your code (which I don't want to know) but it seems the obvious way to go.
Cheers, APC
Blog : http://radiofreetooting.blogspot.com/
Similar Messages
-
OFF Topic: JAVA Credit Card Processing
Hi All,
This might be a bit off topic ...but I was wondering if any of you have used
any payment processing service to process credit card using Java Servletes
...I'd like to know which one (CyberCash, CreditCard.com etc) has APIs that
can be integrated with a Java Servlet ...
Any comment is appreciated.
Thanks
farhang
Bryan Kearney wrote:
>
> We have looked at PaylinX and CyberCash. PaylinX has a Java Class which you can
> use to connect to the NT only server. CyberCash, while internet based, can only
> suppl static C libraries. Not very Java Freindly.
>
> >
> > This might be a bit off topic ...but I was wondering if any of you have used
> > any payment processing service to process credit card using Java Servletes
> > ...I'd like to know which one (CyberCash, CreditCard.com etc) has APIs that
> > can be integrated with a Java Servlet ...
> > Any comment is appreciated.
CCVS from Red Hat (http://www.redhat.com/products/ccvs/) has a Java api.
We use CCVS but not the Java api so I can't comment on it.
George
[email protected] ITServices, UBC
Programmer/Analyst
phone: 604.822.4375 fax: 604.822.5116
-
New 2 Java with some errors in prog
Hey Guys and Gals im new to java and im working on some simple progs
my brain is currently wrapped around this problem
---------- Java Compiler ----------
Register8.java:81: incompatible types
found : char
required: java.lang.String
return bits.charAt(bitNumber);
^
1 error
Normal Termination
Output completed (3 sec consumed).
=======================CODE=======================
public String getBit(int bitNumber)
return bits.charAt(bitNumber);
this is the calling stuff
public class Driver
public static void main(String[] args)
Register8 Binary1 = new Register8();
System.out.println(Binary1.getBit(3));Hey there liddle buddy,
How did you define 'bits'
Thang yer very much yer really wonderful
*** ELVIS: He's the MAN ***
This answer was supplied coutesy of : -
Elvis Presley: Programming Consultants inc.
contact: [email protected]
Thang yer very much -
Off Topic, Help with Batch Auto Cropping
I have 2000+ scanned slides (Nikon 4000 film scanner) in Tiff format, and there is a black band around each scanned slide (which is normal for slides - the scanned area is slightly larger than the picture area) that I want to get rid of. I am NOT going to crop them one at a time!! Does anyone know of a program that will do this automatically in batch mode? I once saw a program that would "auto Crop" photos but I can't remember the name. The slides are 30 years old ( hence the digitizing ) and I don't care too much about the accuracy, ie if it crops a little too much.
Thanks
-Robertwish i could reward 100 points
me too ...
and another thing, once you do the l&S crop, if you want to move the location slightly, hit 'C' to bring up the crop HUD and the image goes back to full size again, but with the crop rectangle the same size as before and you can move it around if need be ...
this was an important thing that was introduced in 1.5.x along with l&s of straightening ... -
Off Topic: Anyone with 2010 MacPro driving 3 monitors?
I'm having a heck of a time with 3 monitors on a 2010 MacPro/ATI 5870. They work, but display preferences will not remain set if system sleeps past the screen saver. Wondering if other 2010 MP owners with 3 monitors are seeing the same thing.
Posted here becuase this place will most likely have 3 monitor users, most other forums only have users with dual monitors at best.
Sorry, I know it's not Photoshop related.Scott,
I run a Mac pro 2008 with two matching OEM Apple ATI Radeon HD 2600 XT
a 30" ACD, 24" NEC, 20" Sony
Like you I had the crashing problems under 10.5 (including graphic anomalies)
and font related crashes 10.6-10.6.4
10.6.5 has brought the crashing way down for me
BUT I'm wondering if you get blurry-pixelated icons on your three-screen setups?
These occur in the dock, on the desktop and in folders...
PS:
I don't have any sleep issues under 10.6.5 (except one time just after I updated, Ps was a rock and Finder was a total flake with both side monitors stuck on iTunes album art screen saver).
I let my Mac Pro deep sleep after an hour (so I sleep it over night and several times a day). -
Off topic :Newcomer in Java with Oracle
Hi
Please What books/Forums about Java with Oracle
Thank you in advancehttp://download-east.oracle.com/docs/cd/B10501_01/java.920/a96656/toc.htm
http://download-east.oracle.com/docs/cd/B10501_01/java.920/a96659/toc.htm
http://download-east.oracle.com/docs/cd/B10501_01/java.920/a96657/toc.htm -
OFF TOPIC: Anyone familiar with sed?
Apologies for the off topic nature of the post...
I'm looking for a little help with a "sed" query.
I'm trying to insert a "header" row above the first line of my file but I can't quite get it.
I've been trying:
sed -e '1i\header...\' test.csv
sed -e '1i\header...\' test.csv > test2.csv
If I read it right, I'm issuing the sed command, I'm specifiying my edit command which is to match line 1 and insert "header..." above that line.
I was trying to edit the file in situ but I then read that sed produces a copy of the file, leaving the original untouched. So I tried to redirect the output to a second file.
The sed command runs okay but I'm only getting a copy of test.csv in my second file.
Can anyone spot my mistake?
Cheers,
MarkSed uses regex, and \ is an escape.
The normal separator is /. You can use a different character (common ones are ! and # I think) if you have / literals that you don't want to have to escape, but I don't know if you can use \ as the separator. If you can, you'd at least have to escape it.
I'm too tired right now to look for any other errors.
If you want to edit in place, you might look into ed. It's kind of vi-ish, and lets you do sed-ish operations, and works okay as a non-interactive batch-command processing kind of thingy for performing edits on a file and then saving it.
Of course, if it was me, I'd just be lazy and do (echo whatever ; cat test.csv) > test2.csv -
Invoke Error while inserting consumed JMS Topic msg in table thru DBadapter
Hi All,
To brief abt my requirement, I am integrating Peoplesoft HRMS module with Oracle SOA i.e.,
+
1. PS HRMS module will publish a JMS msg into a JMS Topic
2. I will consume the same msg using JMS adapter consume operation in my SOA project
3. The Payload(msg) is coming into RECEIVE activity and thru ASSIGN activity invoking the DB adapter to insert the msg into a table.
4. INVOKE activity is throwing the below error(along with the error, able to see the payload in INVOKE activity )
<part name="summary"> +
<summary>*Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'insert' failed due to: Mapping Not Found Exception. The mapping [EMPLID] for descriptor [class insert.Employee] could not be found. The input xml record had an element [Employee/EMPLID]. Most likely the wrong xml input variable (not matching the expected xsd) was passed to this invoke. Make sure that the input xml is valid relative to the xsd and that the mapping exists in the Mappings.xml. If an old version of the descriptor without this mapping has been loaded by the database adapter, you may need to bounce the app server. If the same descriptor is described in two separate Mappings.xml files, make sure both versions include this attribute/mapping. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. *</summary>
</part>
Please, provide some suggestions.
Regards,
SatyaHi Satya,
Try replacing the Assign activity with a Transform acitivity.
Also please check the schema that comes of the DB adapter is having the similar sort of definition that you are getting in your input.
What I mean is to check for length of fields, type of the fields etc.
Thanks,
Deepak.
Edited by: DeepakDabbiru on Oct 23, 2012 3:29 AM -
Recon task fails with Java heap space error
Hi All,
I have this annoying issue at the moment where a custom recon task will start, process a few users, and then end up with a java heap space error. The app server will then restart after a few minutes and run into the same problem and bomb out while continuing to fill the log file.
This has only just started and nothing has changed in our environment so it baffles me as to why it has started. The recon task uses some code to do a lookup and then adds the users to certain groups.
Error from log:
10/12/12 17:41:03 Target Class = uob.oim.adapters.AddGroup
DEBUG,12 Dec 2010 17:41:03,704,[UBOIM],AddGroup:107:addGroup(BR20, SCHOOLS, EMPOWER)
10/12/12 17:41:03 Looking up
DEBUG,12 Dec 2010 17:41:03,704,[UBOIM],OIMConnection::getThorUtility(tcLookupOperationsIntf)
10/12/12 17:55:31 Running GETLOOKUP
10/12/12 17:55:31 Target Class = uob.oim.adapters.AddGroup
DEBUG,12 Dec 2010 17:55:31,351,[UBOIM],AddGroup:109:addGroup(MTH, CAMPUSES, EMPOWER)
10/12/12 17:55:31 Looking up
DEBUG,12 Dec 2010 17:55:31,351,[UBOIM],OIMConnection::getThorUtility(tcLookupOperationsIntf)
ERROR,12 Dec 2010 18:01:18,108,[XELLERATE.DATABASE],Class/Method: tcDataBase/readPartialStatement encounter some problems: Java heap space
java.lang.OutOfMemoryError: Java heap space
APP SERVER RESTARTS...
Then falls over again:
10/12/12 18:12:26 Running GETLOOKUP
10/12/12 18:12:26 Target Class = uob.oim.adapters.AddGroup
DEBUG,12 Dec 2010 18:12:26,610,[UBOIM],AddGroup:119:addGroup(MTH, CAMPUSES, EMPOWER)
10/12/12 18:12:26 Looking up
DEBUG,12 Dec 2010 18:12:26,610,[UBOIM],OIMConnection::getThorUtility(tcLookupOperationsIntf)
10/12/12 18:13:11 Running GETLOOKUP
10/12/12 18:13:11 Target Class = uob.oim.adapters.AddGroup
DEBUG,12 Dec 2010 18:13:11,546,[UBOIM],AddGroup:107:addGroup(S&P, PORTFOLIOS, EMPOWER)
10/12/12 18:13:11 Looking up
DEBUG,12 Dec 2010 18:13:11,547,[UBOIM],OIMConnection::getThorUtility(tcLookupOperationsIntf)
ERROR,12 Dec 2010 18:15:52,318,[XELLERATE.DATABASE],Class/Method: tcDataBase/readPartialStatement encounter some problems: Java heap space
java.lang.OutOfMemoryError: Java heap space
ERROR,12 Dec 2010 18:15:52,324,[XELLERATE.SERVER],Class/Method: tcKeylessDataObj/runInitialSelect encounter some problems: Data Access Error
com.thortech.xl.dataaccess.tcDataSetException: Data Access Error
at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.dataobj.tcKeylessDataObj.runInitialSelect(Unknown Source)
at com.thortech.xl.dataobj.tcTableDataObj.initialize(Unknown Source)
at com.thortech.xl.dataobj.tcOSI.initialize(Unknown Source)
at com.thortech.xl.dataobj.tcOSI.<init>(Unknown Source)
at com.thortech.xl.dataobj.tcScheduleItem.initialize(Unknown Source)
at com.thortech.xl.dataobj.tcScheduleItem.<init>(Unknown Source)
at com.thortech.xl.dataobj.tcScheduleItem.checkChildren(Unknown Source)
at com.thortech.xl.dataobj.tcScheduleItem.eventPostInsert(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcScheduleItem.insertResponseMilestones(Unknown Source)
at com.thortech.xl.dataobj.tcScheduleItem.eventPostUpdate(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcRCE.updateProcessData(Unknown Source)
at com.thortech.xl.dataobj.tcRCE.linkToProcess(Unknown Source)
at com.thortech.xl.dataobj.tcRCE.applyActionRules(Unknown Source)
at com.thortech.xl.dataobj.tcRCE.checkDataSorted(Unknown Source)
at com.thortech.xl.dataobj.tcRCE.eventPostUpdate(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcRCE.finishDataReceived(Unknown Source)
at com.thortech.xl.schedule.jms.reconOffline.ProcessOfflineReconMessages.finishReconciliationEvent(Unknown Source)
at com.thortech.xl.schedule.jms.reconOffline.ProcessOfflineReconMessages.execute(Unknown Source)
at com.thortech.xl.schedule.jms.messagehandler.MessageProcessUtil.processMessage(Unknown Source)
at com.thortech.xl.schedule.jms.messagehandler.ReconMessageHandlerMDB.onMessage(Unknown Source)
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:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.RunAsInterceptor.invoke(RunAsInterceptor.java:31)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.MessageDrivenConsumer.onMessage(MessageDrivenConsumer.java:347)
at com.evermind.server.ejb.MessageDrivenConsumer.processMessages(MessageDrivenConsumer.java:233)
at com.evermind.server.ejb.MessageDrivenConsumer.run(MessageDrivenConsumer.java:169)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:595)
Data AccessException:
com.thortech.xl.orb.dataaccess.tcDataAccessException: RESULT_TOO_LARGE_FOR_SERVERDetail: (none)Description: RESULT_TOO_LARGE_FOR_SERVERSQL State: Vendor Code: -1Additional Debug Info:com.thortech.xl.orb.dataaccess.tcDataAccessException
at com.thortech.xl.dataaccess.tcDataAccessExceptionUtil.createException(Unknown Source)
at com.thortech.xl.dataaccess.tcDataAccessExceptionUtil.createException(Unknown Source)
at com.thortech.xl.dataaccess.tcDataBase.createException(Unknown Source)
at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(Unknown Source)
at com.thortech.xl.dataobj.tcDataBase.readPartialStatement(Unknown Source)
at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.dataobj.tcKeylessDataObj.runInitialSelect(Unknown Source)
at com.thortech.xl.dataobj.tcTableDataObj.initialize(Unknown Source)
at com.thortech.xl.dataobj.tcOSI.initialize(Unknown Source)
at com.thortech.xl.dataobj.tcOSI.<init>(Unknown Source)
at com.thortech.xl.dataobj.tcScheduleItem.initialize(Unknown Source)
at com.thortech.xl.dataobj.tcScheduleItem.<init>(Unknown Source)
at com.thortech.xl.dataobj.tcScheduleItem.checkChildren(Unknown Source)
at com.thortech.xl.dataobj.tcScheduleItem.eventPostInsert(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcScheduleItem.insertResponseMilestones(Unknown Source)
at com.thortech.xl.dataobj.tcScheduleItem.eventPostUpdate(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcRCE.updateProcessData(Unknown Source)
at com.thortech.xl.dataobj.tcRCE.linkToProcess(Unknown Source)
at com.thortech.xl.dataobj.tcRCE.applyActionRules(Unknown Source)
at com.thortech.xl.dataobj.tcRCE.checkDataSorted(Unknown Source)
at com.thortech.xl.dataobj.tcRCE.eventPostUpdate(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcRCE.finishDataReceived(Unknown Source)
at com.thortech.xl.schedule.jms.reconOffline.ProcessOfflineReconMessages.finishReconciliationEvent(Unknown Source)
at com.thortech.xl.schedule.jms.reconOffline.ProcessOfflineReconMessages.execute(Unknown Source)
at com.thortech.xl.schedule.jms.messagehandler.MessageProcessUtil.processMessage(Unknown Source)
at com.thortech.xl.schedule.jms.messagehandler.ReconMessageHandlerMDB.onMessage(Unknown Source)
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:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.RunAsInterceptor.invoke(RunAsInterceptor.java:31)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.MessageDrivenConsumer.onMessage(MessageDrivenConsumer.java:347)
at com.evermind.server.ejb.MessageDrivenConsumer.processMessages(MessageDrivenConsumer.java:233)
at com.evermind.server.ejb.MessageDrivenConsumer.run(MessageDrivenConsumer.java:169)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:595)
What can I check/change given that this has happened out of no where. Only fix at the moment is to stop and start app server, but seems to fall over again on the same recon task.Error is just related to memory. Why don't you increase memory in your environment ?
-
Error Installing Netweaver AS(Java) with Oracle
Hello All,
I'm installing Netweaver AS(Java stack) on Windows 2003 64 bit operating system.
I'm getting the below error when the installer is trying it create database. Can anyone give me solution for fixing the error.
I'm attaching the log for the reference.
INFO 2008-05-07 22:42:50
Copied file 'C:/Program Files/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS/inifile.xml' to 'C:/Program Files/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS/inifile.4.xml'.
INFO 2008-05-07 22:42:50
Copied file 'C:/Program Files/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS/inifile.xml' to 'C:/Program Files/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS/inifile.5.xml'.
INFO 2008-05-07 22:42:52
Execute step
Component W2K_ServicePack_Check|ind|ind|ind|ind
Preprocess of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_First_Steps|ind|ind|ind|ind|0|0|W2K_ServicePack_Check|ind|ind|ind|ind|2|0.
INFO 2008-05-07 22:43:05
Copied file 'C:/Program Files/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS/keydb.xml' to 'C:/Program Files/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS/keydb.3.xml'.
INFO 2008-05-07 22:43:05
Execute step runCatprocSql of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_OraDBCheck|ind|ind|ind|ind|0|0|NW_OraDBMain|ind|ind|ind|ind|0|0|NW_OraDBStd|ind|ind|ind|ind|3|0|NW_OraDbBuild|ind|ind|ind|ind|5|0.
INFO 2008-05-07 22:43:10
Removing file C:\Program Files\sapinst_instdir\NW04S\SYSTEM\ORA\CENTRAL\AS\ora_query3_tmp0_1.sql.
INFO 2008-05-07 22:43:10
Creating file C:\Program Files\sapinst_instdir\NW04S\SYSTEM\ORA\CENTRAL\AS\ora_query3_tmp0_1.sql.
INFO 2008-05-07 22:43:10
Switched to user: xd1adm.
INFO 2008-05-07 22:43:10
Working directory changed to C:\Program Files\sapinst_instdir\NW04S\SYSTEM\ORA\CENTRAL\AS.
INFO 2008-05-07 22:43:11
Switched to user: xd1adm.
INFO 2008-05-07 22:43:11
Working directory changed to C:\Program Files\sapinst_instdir\NW04S\SYSTEM\ORA\CENTRAL\AS.
ERROR 2008-05-07 22:47:25
CJS-00084 SQL statement or script failed.<br>DIAGNOSIS: Error message: ORA-955 for defaultdest
SQL> Rem bnainani 11/29/00 - specify compatible=8.0 for create_queue_table
SQL> Rem liwong 10/20/00 - add def$_destination.flag
SQL> Rem bnainani 11/15/00 - specify compatible=8.0 for queue table
SQL> Rem narora 09/13/00 - add comment on new def$_destination columns
SQL> Rem liwong 09/01/00 - add master w/o quiesce: fixes
SQL> Rem liwong 07/12/00 - add total_prop_time_lat
SQL> Rem liwong 06/29/00 - add total_txn_count, total_prop_time
SQL> Rem liwong 05/17/00 - add_master_db w/o quiesce
SQL> Rem jstamos 05/17/00 - add_master_db w/o quiesce
SQL> Rem elu 01/24/00 - add column apply_init to def$_destination
SQL> Rem alakshmi 12/02/99 - Bug 979398: Before-row insert trigger on
SQL> Rem def$_propagator
SQL> Rem wesmith 10/31/98 - change shape of table def$_pushed_transactions
SQL> Rem jnath 02/23/98 - bug 601972: split anonymous pl/sql blocks
SQL> Rem wesmith 01/21/98 - create def$_pushed_transactions table for
SQL> Rem server-side RepAPI
SQL> Rem nbhatt 07/27/97 - change create_queuetable -> create_queue_table
SQL> Rem nbhatt 04/21/97 - change 'TRACKING' in CREATE_QUEUE to 'DEPENDENCY
SQL> Rem nbhatt 04/21/97 - change syntax of create_queue
SQL> Rem liwong 04/16/97 - Alter view system.AQ$DEF$_AQ{CALL,ERROR}
SQL> Rem liwong 04/11/97 - Fixing defaultdest_primary typo
SQL> Rem jstamos 04/10/97 - remove unneeded indexes
SQL> Rem nbhatt 04/08/97 - change create_qtable to create_queuetable
SQL> Rem jstamos 04/04/97 - tighter AQ integration
SQL> Rem liwong 04/02/97 - Add schema_name, package_name in def$_calldest
SQL> Rem ato 03/31/97 - create_qtable interface change
SQL> Rem liwong 03/25/97 - remove batch_no from def$_tranorder
SQL> Rem liwong 02/24/97 - pctversion --> 0 for def$_aqcall, def$_aqerror
SQL> Rem liwong 02/22/97 - Remove dropping view aq$def$_aqcall
SQL> Rem ademers 02/07/97 - Remove constraint def$_calldest_call
SQL> Rem liwong 01/11/97 - drop and create aq$def$_aqcall (temporary)
SQL> Rem liwong 01/10/97 - Alter view aq$def$_aqcall
SQL> Rem liwong 01/07/97 - Alter default value for batch_no
SQL> Rem jstamos 12/23/96 - change temp$nclob col
SQL> Rem jstamos 11/21/96 - nchar support
SQL> Rem sjain 11/11/96 - Remove dummy buffer # comment
SQL> Rem asgoel 11/05/96 - Disable misc_tracking in def$_aqerror
SQL> Rem sjain 11/06/96 - deferror changes
SQL> Rem vkrishna 10/28/96 - change STORED IN to STORE AS for lob
SQL> Rem sjain 10/02/96 - Aq conversion
SQL> Rem sbalaram 09/24/96 - ARPC performance - add foreign key index
SQL> Rem jstamos 09/06/96 - rename temp$lob and temporarily change nclob
SQL> Rem sjain 09/03/96 - AQ converson
SQL> Rem ademers 08/02/96 - queue_batch default in def_destination
SQL> Rem ademers 07/29/96 - queue_batch default in def_call
SQL> Rem ademers 07/29/96 - queue_batch default
SQL> Rem jstamos 07/24/96 - add system.temp$lob
SQL> Rem sbalaram 07/22/96 - create def$_aqcall and def$_aqerror tables
SQL> Rem jstamos 06/12/96 - LOB support for deferred RPCs
SQL> Rem ldoo 06/28/96 - Comment out queue_table from def_tranorder
SQL> Rem ademers 05/30/96 - create def_origin
SQL> Rem ademers 05/28/96 - fix def_destination col names
SQL> Rem ldoo 05/09/96 - New security model
SQL> Rem sjain 05/01/96 - add seq col to def_destination
SQL> Rem ademers 04/29/96 - add batch_no, dep_scn to def_call
SQL> Rem jstamos 12/04/95 - 324303: use index to avoid sorting the queue
SQL> Rem jstamos 08/17/95 - code review changes
SQL> Rem jstamos 08/16/95 - add comments to tables
SQL> Rem wmaimone 01/04/96 - 7.3 merge
SQL> Rem hasun 01/31/95 - Modify tables.<br>SOLUTION: See ora_sql_results.log and the Oracle documentation for details.
ERROR 2008-05-07 22:47:25
MUT-03025 Caught ESAPinstException in Modulecall: ESAPinstException: error text undefined.
ERROR 2008-05-07 22:47:25
FCO-00011 The step runCatprocSql with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_OraDBCheck|ind|ind|ind|ind|0|0|NW_OraDBMain|ind|ind|ind|ind|0|0|NW_OraDBStd|ind|ind|ind|ind|3|0|NW_OraDbBuild|ind|ind|ind|ind|5|0|runCatprocSql was executed with status ERROR .
INFO 2008-05-07 22:57:22
An error occured and the user decide to stop.\n Current step "|NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_OraDBCheck|ind|ind|ind|ind|0|0|NW_OraDBMain|ind|ind|ind|ind|0|0|NW_OraDBStd|ind|ind|ind|ind|3|0|NW_OraDbBuild|ind|ind|ind|ind|5|0|runCatprocSql".
Thanks,
BalaWith the help of this thred I also got resolved the issue .
Thanks to all those who confirmed there issues resolved.
Solutions - OSS Note 972263 - Inst.NW 7.0(2004s)SR2/Business Suite 2005 SR2-UNIX/Oracle
<d023322 ,18/JUL/08>----
(...)runCatprocSql was executed with status ERROR
Symptom:
You see an error message like the following in sapinst_dev.log:
ERROR .....
FCO-00011 The step runCatprocSql with step key NW_Onehost ind ind ind ind 0 0 NW_Onehost_System ind ind ind ind 1 0 NW_CreateDBandLoad ind ind ind ind 10 0 NW_CreateDB ind ind ind ind 0 0 NW_OraDBCheck ind ind ind ind 0 0 NW_OraDBMain ind ind ind ind 0 0 NW_OraDBStd ind ind ind ind 3 0 NW_OraDbBuild ind ind ind ind 5 0 runCatprocSql was executed with status ERROR .
This error only occurs if Oracle patch 10.2.04 is installed.
Solution:
Modify control.xml and restart the installation
1. Edit file control.xml in your installation directory (default sapinst_instdir).
2. Search for "this.runCatproc = "
3. Go to "script.execute_AbortOnFailure();" some lines below.
4. Replace "script.execute_AbortOnFailure();" with "script.execute();".
5. Restart Sapinst and choose "Continue with the Old Option" -
New @ RMI need help with java.rmi.UnmarshalException: error unmarshalling
Hi @ all out there,
I'm new with Java RMI and have to write a EventSystem for an college project where clients can subscribe to a topic and get notified when someone publishes a message to the subscribed topic.
At server-side I have a class called EventSystem that provides methods for subscribing and unsubscribing from topics, and also for posting messages (for publishers).
To subscribe i thought that the client must specify the topic and also itself ( means that a client calls in this way: obj.subscribe("mytopic", this).
The EventSystem handles a list of all clients, and whenever a new message is posted it goes trough all clients and invokes the handleMessage(String msg) method that all Clients have to provide.
On my local machine without RMi this concept works just great.
I now tried to get it working using RMI , but I get the following Exception when starting the client (the server starts fine) :
Looking up for rmiregistry at 138.232.248.22:1099
Subscriber exception:
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.io.InvalidClassException: SubscriberImpl; SubscriberImpl; class invalid for deserialization
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:336)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:178)
at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:132)
at $Proxy0.subscribe(Unknown Source)
at SubscriberImpl.main(SubscriberImpl.java:48)
Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.io.InvalidClassException: SubscriberImpl; SubscriberImpl; class invalid for deserialization
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:293)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.InvalidClassException: SubscriberImpl; SubscriberImpl; class invalid for deserialization
at java.io.ObjectStreamClass.checkDeserialize(ObjectStreamClass.java:713)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1733)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at sun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:306)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:290)
... 9 more
Caused by: java.io.InvalidClassException: SubscriberImpl; class invalid for deserialization
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:587)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1583)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
... 13 moreI googled now for 2 hours but can't resolve the problem alone. As far as I can understand I have to serialize Objects that I want to send to the server, right?
So how can i do this? I've never used serialization till now.
any ideas how to solve this problem?
greets from italy and sorry for my very weak english
bd_italyA class has been modified after deployment. Stop the Registry, clean, recompile, and redeploy.
-
An error occured when connecting java with Ms Access
Hello Everybody
I am a new developer in java and want to connect java with Microsoft Access
i am using JCreator LE
My code is to insert 3 records for 3 members and then save them in DB and retrieve the information
Here is the code
import java.sql.*;
public class Project3 {
public static void main(String[] args) {
try {
System.out.println("Beginning Connection");
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
String accessFileName = "Information";
String connURL = "jdbc:odbc:;DRIVER=Microsoft Access Driver (*.mdb);DBQ="+accessFileName+".mdb;PWD=";
Connection con = DriverManager.getConnection( connURL ,"","");
Statement stmt = con.createStatement();
System.out.println("Connection done successfully");
stmt.execute("Create table Member(Name String,ID Integer)");
stmt.execute("insert into Member values ('Joe','1234')");
stmt.execute(" select * from Member");
ResultSet rs=stmt.getResultSet();
if (rs != null)
while (rs.next()){
System.out.println("Name: "+rs.getString("Name")+ "ID: " + rs.getString("ID"));
stmt.close();
con.close();
catch (Exception e) {
System.out.println("An error Occurred in Connecting with the DB " );
}and the error is
Beginning Connection
Connection done successfully
An error Occurred in Connecting with the DB
it didn't insert information in the DBWell, thank u i have traced the error and fx it
but
how to modify the code and keep the user entering 3 values and search for the entered values??
Here is the correct code
import java.sql.*;
public class Project3 {
public static void main(String[] args) {
try {
System.out.println("Beginning Connection");
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
String accessFileName = "jdbc:odbc:Project";
String connURL = "jdbc:odbc:;DRIVER=Microsoft Access Driver (*.mdb);DBQ="+accessFileName+".mdb;PWD=";
Connection con = DriverManager.getConnection( accessFileName);
Statement stmt = con.createStatement();
System.out.println("Connection done successfully");
stmt.execute("Create table Member(Name String,ID Integer)");
stmt.execute("insert into Member values ('Joe','1234')");
stmt.execute(" select * from Member");
ResultSet rs=stmt.getResultSet();
if (rs != null)
while (rs.next()){
System.out.println("Name: "+rs.getString("Name")+ "ID: " + rs.getString("ID"));
stmt.close();
con.close();
catch (Exception err) {err.printStackTrace();}
} -
i bought htc 8x verizon employee edition and when i update it and during installation with my error phone get off and now phone stuck on some wheel running thing and wont get on please tell me if i could download the rom or anything also
Hi mnomi! Sorry to learn of the trouble you're running into with your new phone! Have you already switched the device via your My Verizon : http://vz.to/16lkVUY Once you have done this, and verify the sim card is inserted securely, the activation will begin. If the phone is stuck on the wheel and you cannot move forward, you may want to do an alternative reset. Please follow the below instructions:
1) Ensure the device is powered off.
2) Press and hold the Volume Down button (located on the right edge) until instructed to release in step 4.
3) Press and hold the Power button (located on the top-right edge) until the device vibrates (approximately 2 seconds) then release.
4) When the restore screen appears (exclamation mark), release the Volume Down button.
5) From the restore screen, press then release the following keys to initiate the reset process:
1. Volume Up button
2. Volume Down button
3. Power button
4. Volume Down button
*Allow several minutes for the process to complete (rotating gears appear on the display to indicate that the reset is in progress).
If you have any further questions or concerns, please let us know. Keep us posted if this resolves your concerns. Thanks!
-KristieQ_VZW
Follow us on Twitter @VZW Support -
HELP Needed with this error: Exception in thread "main" java.lang.NoClass
Folks,
I am having a problem connecting to my MSDE SQL 2000 DB on a WindowsXP pro. environment. I am learning Java and writing a small test prgm to connect the the database. The code compiles ok, but when I try to execute it i keep getting this error:
"Exception in thread "main" java.lang.NoClassDefFoundError: Test1"
I am using the Microsoft jdbc driver and my CLASSPATH is setup correctly, I've also noticed that several people have complained about this error, but have not seen any solutions....can someone help ?
Here is the one of the test programs that I am using:
import java.sql.*;
* Microsoft SQL Server JDBC test program
public class Test1 {
public Test1() throws Exception {
// Get connection
DriverManager.registerDriver(new
com.microsoft.jdbc.sqlserver.SQLServerDriver());
Connection connection = DriverManager.getConnection(
"jdbc:microsoft:sqlserver://LAPTOP01:1433","sa","sqladmin");
if (connection != null) {
System.out.println();
System.out.println("Successfully connected");
System.out.println();
// Meta data
DatabaseMetaData meta = connection.getMetaData();
System.out.println("\nDriver Information");
System.out.println("Driver Name: "
+ meta.getDriverName());
System.out.println("Driver Version: "
+ meta.getDriverVersion());
System.out.println("\nDatabase Information ");
System.out.println("Database Name: "
+ meta.getDatabaseProductName());
System.out.println("Database Version: "+
meta.getDatabaseProductVersion());
} // Test
public static void main (String args[]) throws Exception {
Test1 test = new Test1();I want to say that there was nothing wrong
with my classpath config., I am still not sure why
that didn't work, there is what I did to resolved
this issue.You can say that all you like but if you are getting NoClassDefFound errors, that's because the class associated with the error is not in your classpath.
(For future reference: you will find it easier to solve problems if you assume that the problem is your fault, instead of trying to blame something else. It almost always is your fault -- at least that's been my experience.)
1. I had to set my DB connection protocol to TCP/IP
(this was not the default), this was done by running
the
file "svrnetcn.exe" and then in the SQL Server Network
Utility window, enable TCP/IP and set the port to
1433.Irrelevant to the classpath problem.
2. I then copied all three of the Microsoft JDBC
driver files to the ..\jre\lib\ext dir of my jdk
installed dir.The classpath always includes all jar files in this directory. That's why doing that fixed your problem. My bet is that you didn't have the jar file containing the driver in your classpath before, you just had the directory containing that jar file.
3. Updated my OS path to located these files
and....BINGO! (that simple)Unnecessary for solving classpath problems.
4. Took a crash course on JDBC & basic Java and now I
have created my database, all tables, scripts,
stored procedures and can read/write and do all kinds
of neat stuff.All's well that ends well. After a few months you'll wonder what all the fuss was about. -
I have been having trouble getting into my podcasts after restoring my itunes library to an earlier library, every time I select podcast i am kicked off itunes with an error send/dont send pop up however I can acess the podcasts when sinking my ipod only
Hello there, danbucfan.
It seems that you were referred to us from the very article that provides steps for troubleshooting your issue. Although they may seem extensive, these steps will help pinpoint where the issue lies:
iTunes for Windows Vista, Windows 7, or Windows 8: Fix unexpected quits or launch issues
http://support.apple.com/kb/TS1717
If you continue to get the error, please feel free to provide the exact error message, to see if that sheds further light on what your issue may be.
Thanks for reaching out to Apple Support Communities.
Cheers,
Pedro.
Maybe you are looking for
-
I have downloaded a trial version of PSE12. Every things works OK except that I cannot make a backup of of PSE12. It stops when the system calculates the need of space for backup. Are there anybody else having that problem?
-
Commit work in the customer exit
Hi , Iam getting this dump in my system. Exception condition "DUMP_STATUS_INCONSYSTENCY_FRE" raised. As per this dump one note is there saying you should not use commit work in user exit or customer exit . But i need to update the table at that poin
-
IMessage is stuck on "Waiting for Activation"
I changed my phone number and not my carrier, and within the first 15 min I could send a text message and then it started having problems and couldn't send a message. I went into iMessanger and it's my old number as the "sending number"... I tried fo
-
Just that. Firefox comes to front of desktop, but neither new tab nor the link open. This has always worked just fine, before this update today. I am on a Mac running 10.6.8. Thank you for your help!
-
Employee Percentage getting reset to 100
Hi, I am supporting work schedule change form from technical side. When user changes the schedule to anything other than 80 or 100, for eg. 75, then eventhough program passes 75 to backend it is reset to 100. Any thought why this must be happening? W