ASCII Migration
We are currently planning or codepage conversion to ASCII. One of our consultants provided us with a converted physical file (from another client) for us to do an initial test with DataMirror's Transformation Server.
These initial tests are failing because DataMirror's Transformation Server does not seem to support derived expressions for data type GRAPHICS.
If I use the command, DSPFFD FILE(ASCIIDATA/MAKT)to display the attributes of the test file MAKT, I get the following output.
=========================================================
Display File Field Description
Input parameters
File . . . . . . . . . . . . . . . . . . . : MAKT
Library . . . . . . . . . . . . . . . . . : ASCIIDATA
File Information
File . . . . . . . . . . . . . . . . . . . : MAKT
Library . . . . . . . . . . . . . . . . . : ASCIIDATA
File location . . . . . . . . . . . . . . . : *LCL
Externally described . . . . . . . . . . . : Yes
Number of record formats . . . . . . . . . : 1
Type of file . . . . . . . . . . . . . . . : Physical
File creation date . . . . . . . . . . . . : 06/08/06
Text 'description'. . . . . . . . . . . . . : Defaults changed by R3loaddb
Record Format Information
Record format . . . . . . . . . . . . . . . : MAKT
Format level identifier . . . . . . . . . . : 350BA14FF8C30
Number of fields . . . . . . . . . . . . . : 5
Record length . . . . . . . . . . . . . . . : 204
Field Level Information
Data Field Buffer Buffer Field Column
Field Type Length Length Position Usage Heading
MANDT GRAPHIC 3 6 1 Both MANDT
Coded Character Set Identifier . . . . . : 13488
UCS2 or Unicode conversion . . . . . . . : *CONVERT
MATNR GRAPHIC 18 36 7 Both MATNR
Coded Character Set Identifier . . . . . : 13488
UCS2 or Unicode conversion . . . . . . . : *CONVERT
SPRAS GRAPHIC 1 2 43 Both SPRAS
Coded Character Set Identifier . . . . . : 13488
UCS2 or Unicode conversion . . . . . . . : *CONVERT
MAKTX GRAPHIC 40 80 45 Both MAKTX
Coded Character Set Identifier . . . . . : 13488
UCS2 or Unicode conversion . . . . . . . : *CONVERT
MAKTG GRAPHIC 40 80 125 Both MAKTG
Coded Character Set Identifier . . . . . : 13488
UCS2 or Unicode conversion . . . . . . . : *CONVERT
=========================================================
Can someone with an ASCII system run the same command and send me the output. I just want to verify that the file our consultant sent to us has been converted properly.
Thank you,
Roy
Hi Roy,
Our MAKE of ECC 5.0 ASCII looks like same - see below.
Mimix has no problem synchronizing it.
Regards,
Victor Lin
Display File Field Description
Input parameters
File . . . . . . . . . . . . . . . . . . . : MAKT
Library . . . . . . . . . . . . . . . . . : R3TSTDATA
File Information
File . . . . . . . . . . . . . . . . . . . : MAKT
Library . . . . . . . . . . . . . . . . . : R3TSTDATA
File location . . . . . . . . . . . . . . . : *LCL
Externally described . . . . . . . . . . . : Yes
Number of record formats . . . . . . . . . : 1
Type of file . . . . . . . . . . . . . . . : Physical
SQL file type . . . . . . . . . . . . . . . : TABLE
File creation date . . . . . . . . . . . . : 12/25/05
Text 'description'. . . . . . . . . . . . . : Defaults changed by R3loaddb
Record Format Information
Record format . . . . . . . . . . . . . . . : MAKT
Format level identifier . . . . . . . . . . : 350BA14FF8C30
Number of fields . . . . . . . . . . . . . : 5
Record length . . . . . . . . . . . . . . . : 204
Field Level Information
Data Field Buffer Buffer Field Column
Field Type Length Length Position Usage Heading
MANDT GRAPHIC 3 6 1 Both MANDT
Default value . . . . . . . . . . . . . . :
UX'003000300030'
Coded Character Set Identifier . . . . . : 13488
UCS2 or Unicode conversion . . . . . . . : *CONVERT
MATNR GRAPHIC 18 36 7 Both MATNR
Default value . . . . . . . . . . . . . . :
UX'0020'
Coded Character Set Identifier . . . . . : 13488
UCS2 or Unicode conversion . . . . . . . : *CONVERT
SPRAS GRAPHIC 1 2 43 Both SPRAS
Default value . . . . . . . . . . . . . . :
UX'0020'
Coded Character Set Identifier . . . . . : 13488
UCS2 or Unicode conversion . . . . . . . : *CONVERT
MAKTX GRAPHIC 40 80 45 Both MAKTX
Default value . . . . . . . . . . . . . . :
UX'0020'
Coded Character Set Identifier . . . . . : 13488
UCS2 or Unicode conversion . . . . . . . : *CONVERT
MAKTG GRAPHIC 40 80 125 Both MAKTG
Default value . . . . . . . . . . . . . . :
UX'0020'
Coded Character Set Identifier . . . . . : 13488
UCS2 or Unicode conversion . . . . . . . : *CONVERT
Similar Messages
-
Dos2unix doesn't convert some RDF files to BINARY...
Hi,
I have a peculiar issue with a couple of RDF's.
My scripts copies all the files to a temp directory; move them to the relevant tops/paths and then do a "dos2unix" on the RDF and RTF files.
Majority of the reports work fine when this is done.
But this doesn't work fine for 2 RDFs.
1) I have customized AR Customer Invoice program (RAXINV_SEL.rdf).
Once i run the installation scripts, it copies everything and does a dos2unix on RDF and RTF files. I can see the custom RDF (XX_RAXINV_SEL.rdf) in $CUSTOM_TOP/reports/US directory.
It doesn't even throw any error when i run the below command in the Custom_Top.
[chundurk-DEV]/u01/oracle/EBSDEV/apps/apps_st/appl/xxabc/12.0.0/reports/US > dos2unix XX_RAXINV_SEL.rdf
dos2unix: converting file XX_RAXINV_SEL.rdf to UNIX format ...
[chundurk-DEV]/u01/oracle/EBSDEV/apps/apps_st/appl/xxabc/12.0.0/reports/US >
But when i run the report, It thows the below error:
REP-1070: Error while opening or saving a document.
REP-0110: Unable to open file '/u01/oracle/EBSDEV/apps/apps_st/appl/xxbwp/12.0.0/reports/US/XX_RAXINV_SEL.rdf'.
When i drag the RDF to $CUSTOM_TOP/reports/US in BINARY Mode using FTP, the report works perfectly fine.
2) This is happening the same way for one of my custom reports too.
We've developed about 50-60 reports and all of them work fine, except these 2 reports.
Please suggest. Thanks in advance for your help.
Regards,
KesavaGareth,
Lets ignore the functionality of migration tool for now; its happening the same when i do it directly using SSH Secure Shell Unix & FTP tool.
The steps i generally follow to migrate the reports are provided below:
1. Logged in to SSH Secure Shell Unix & FTP tool.
2. Created a temporary folder say 'reports' in /home/user directory.
3. Drag all the report files to /home/user/reports directory in default mode i.e., ASCII (Migration tool ClearQuest also does the same).
4. Then provide permissions on these files:
chmod 755 *.*
5. Run the shell Script:
090xxbwp_inv_mov_apps.sh apps apps ghoord01:1521:EBSDEV.
Shell script just has the commands shown below:
1. cp -f 090XXBWP_INV_MOV.rdf $XXBWP_TOP/reports/US/XXBWP_INV_MOV.rdf
cp -f 090XXBWP_INV_MOV.rtf XXBWP_INV_MOV.rtf
2. FNDLOAD $1/$2 O Y UPLOAD $FND_TOP/patch/115/import/afcpprog.lct 090XXBWP_INV_MOV_CP.ldt - CUSTOM_MODE=FORCE
FNDLOAD $1/$2 0 Y UPLOAD $XDO_TOP/patch/115/import/xdotmpl.lct 090XXBWP_INV_MOV_XML.ldt - CUSTOM_MODE=FORCE
3. dos2unix $XXBWP_TOP/reports/US/XXBWP_INV_MOV.rdf
dos2unix XXBWP_INV_MOV.rtf
4. chmod 755 $XXBWP_TOP/reports/US/XXBWP_INV_MOV.rdf
chmod 755 XXBWP_INV_MOV.rtf
5. XDOLoader command to attach the RTF File to XML Template Skeleton.
Once this is done; It works perfectly fine for all the reports (RDF's), except two of them.
For the two reports that doesn't work; it thows the below error when the report is ran in APPS:
REP-0110: Unable to open file 'XXBWP_INV_MOV.rdf'.
REP-1070: Error while opening or saving a document.
REP-0110: Unable to open file '/u01/oracle/EBSDEV/apps/apps_st/appl/xxbwp/12.0.0/reports/US/XXBWP_INV_MOV.rdf'.
Workaround currently in Use:
Transfer the RDF file manually in BINARY MODE to $XXBWP_TOP/reports/US directory and the issue is resolved.
Request you to let me know if you can provide me with any permanant solution for this.
Thanks,
Kesava -
How to migrate from ascii to unicode (MaxDB 7.5)? loadercli: ERR -25347
Hi,
I use MaxDB 7.5.00.26. (Ok, I know that I should switch to 7.6, however, it is not possilble for some customer restriction for now, but should be possible quite soon).
We'd like to migrate a db from ascii to unicode. Based on the infos in the thread "Error at copying database using dumps via loadercli: error -25364" I tried the following:
Export sourcedb
1. Export catalog and data
C:\> loadercli -d db_asc -u dba,dba
loadercli> export db catalog outstream file 'C:\tmp1\20080702a_dbAsc.catalog' ddl
OK
loadercli> export db data outstream file 'C:\tmp1\20080702b_dbAsc.data' pages
OK
loadercli> exit
Import targetdb
1. Create a new empty DB with '_UNICODE=yes'
2. Set 'columncompression' to 'no'
C:\> dbmcli -d db_uni -u dba,dba param_directput columncompression no
ERR
-24979,ERR_XPNOTFOUND: parameter not found
Couldn't find this parameter e.g. in dbmgui (parameters general, extended and support)
3. Import catalog and data
C:\> loadercli -d db_uni -u dba,dba
loadercli> import db catalog instream file 'C:\tmp1\20080702a_dbAsc.catalog' ddl
OK
loadercli> import db data instream file 'C:\tmp1\20080702b_dbAsc.data' pages
ERR -25347
Encoding type of source and target database do not match: source = ASCII, target
= UNICODE.
loadercli> exit
What is wrong? Is a migration from ascii to unicode to be done somehow else?
Can I migrate a db from 7.5.00.26 to 7.6.03.15 in the same way or should it be done in another way.
It would be greate if you point me to a post etc. where these two migrations are explained in detail.
Thanks in advance - kind regards
MichaelHi,
I can neither find "USEUNICODECOLUMNCOMPRESSION" nor "COLUMNCOMPRESSION". Could it be that there do exist from MaxDB version 7.6 on and not in 7.5?
Kind regards,
Michael
The complete parameter list (created by "dbmcli -d db_uni -u dbm,dbm param_directgetall > maxdb_params.txt") is:
OK
KERNELVERSION KERNEL 7.5.0 BUILD 026-123-094-430
INSTANCE_TYPE OLTP
MCOD NO
RESTART_SHUTDOWN MANUAL
_SERVERDB_FOR_SAP YES
_UNICODE YES
DEFAULT_CODE ASCII
DATE_TIME_FORMAT INTERNAL
CONTROLUSERID DBM
CONTROLPASSWORD
MAXLOGVOLUMES 2
MAXDATAVOLUMES 11
LOG_VOLUME_NAME_001 LOG_001
LOG_VOLUME_TYPE_001 F
LOG_VOLUME_SIZE_001 131072
DATA_VOLUME_NAME_0001 DAT_0001
DATA_VOLUME_TYPE_0001 F
DATA_VOLUME_SIZE_0001 262144
DATA_VOLUME_MODE_0001 NORMAL
DATA_VOLUME_GROUPS 1
LOG_BACKUP_TO_PIPE NO
MAXBACKUPDEVS 2
BACKUP_BLOCK_CNT 8
LOG_MIRRORED NO
MAXVOLUMES 14
_MULT_IO_BLOCK_CNT 4
_DELAY_LOGWRITER 0
LOG_IO_QUEUE 50
_RESTART_TIME 600
MAXCPU 1
MAXUSERTASKS 50
_TRANS_RGNS 8
_TAB_RGNS 8
_OMS_REGIONS 0
_OMS_RGNS 25
OMS_HEAP_LIMIT 0
OMS_HEAP_COUNT 1
OMS_HEAP_BLOCKSIZE 10000
OMS_HEAP_THRESHOLD 100
OMS_VERS_THRESHOLD 2097152
HEAP_CHECK_LEVEL 0
_ROW_RGNS 8
_MIN_SERVER_DESC 16
MAXSERVERTASKS 21
_MAXTRANS 292
MAXLOCKS 2920
_LOCK_SUPPLY_BLOCK 100
DEADLOCK_DETECTION 4
SESSION_TIMEOUT 900
OMS_STREAM_TIMEOUT 30
REQUEST_TIMEOUT 5000
_USE_ASYNC_IO YES
_IOPROCS_PER_DEV 1
_IOPROCS_FOR_PRIO 1
_USE_IOPROCS_ONLY NO
_IOPROCS_SWITCH 2
LRU_FOR_SCAN NO
_PAGE_SIZE 8192
_PACKET_SIZE 36864
_MINREPLY_SIZE 4096
_MBLOCK_DATA_SIZE 32768
_MBLOCK_QUAL_SIZE 16384
_MBLOCK_STACK_SIZE 16384
_MBLOCK_STRAT_SIZE 8192
_WORKSTACK_SIZE 8192
_WORKDATA_SIZE 8192
_CAT_CACHE_MINSIZE 262144
CAT_CACHE_SUPPLY 3264
INIT_ALLOCATORSIZE 221184
ALLOW_MULTIPLE_SERVERTASK_UKTS NO
_TASKCLUSTER_01 tw;al;ut;2000*sv,100*bup;10*ev,10*gc;
_TASKCLUSTER_02 ti,100*dw;30000*us;
_TASKCLUSTER_03 compress
_MP_RGN_QUEUE YES
_MP_RGN_DIRTY_READ NO
_MP_RGN_BUSY_WAIT NO
_MP_DISP_LOOPS 1
_MP_DISP_PRIO NO
XP_MP_RGN_LOOP 0
MP_RGN_LOOP 0
_MP_RGN_PRIO NO
MAXRGN_REQUEST 300
_PRIO_BASE_U2U 100
_PRIO_BASE_IOC 80
_PRIO_BASE_RAV 80
_PRIO_BASE_REX 40
_PRIO_BASE_COM 10
_PRIO_FACTOR 80
_DELAY_COMMIT NO
_SVP_1_CONV_FLUSH NO
_MAXGARBAGE_COLL 0
_MAXTASK_STACK 1024
MAX_SERVERTASK_STACK 100
MAX_SPECIALTASK_STACK 100
_DW_IO_AREA_SIZE 50
_DW_IO_AREA_FLUSH 50
FBM_VOLUME_COMPRESSION 50
FBM_VOLUME_BALANCE 10
_FBM_LOW_IO_RATE 10
CACHE_SIZE 10000
_DW_LRU_TAIL_FLUSH 25
XP_DATA_CACHE_RGNS 0
_DATA_CACHE_RGNS 8
XP_CONVERTER_REGIONS 0
CONVERTER_REGIONS 8
XP_MAXPAGER 0
MAXPAGER 11
SEQUENCE_CACHE 1
_IDXFILE_LIST_SIZE 2048
_SERVER_DESC_CACHE 74
_SERVER_CMD_CACHE 22
VOLUMENO_BIT_COUNT 8
OPTIM_MAX_MERGE 500
OPTIM_INV_ONLY YES
OPTIM_CACHE NO
OPTIM_JOIN_FETCH 0
JOIN_SEARCH_LEVEL 0
JOIN_MAXTAB_LEVEL4 16
JOIN_MAXTAB_LEVEL9 5
_READAHEAD_BLOBS 25
RUNDIRECTORY E:\_mp\u_v_dbs\EVERW_T3
_KERNELDIAGFILE knldiag
KERNELDIAGSIZE 800
_EVENTFILE knldiag.evt
_EVENTSIZE 0
_MAXEVENTTASKS 1
_MAXEVENTS 100
_KERNELTRACEFILE knltrace
TRACE_PAGES_TI 2
TRACE_PAGES_GC 0
TRACE_PAGES_LW 5
TRACE_PAGES_PG 3
TRACE_PAGES_US 10
TRACE_PAGES_UT 5
TRACE_PAGES_SV 5
TRACE_PAGES_EV 2
TRACE_PAGES_BUP 0
KERNELTRACESIZE 653
EXTERNAL_DUMP_REQUEST NO
_AK_DUMP_ALLOWED YES
_KERNELDUMPFILE knldump
_RTEDUMPFILE rtedump
_UTILITY_PROTFILE dbm.utl
UTILITY_PROTSIZE 100
_BACKUP_HISTFILE dbm.knl
_BACKUP_MED_DEF dbm.mdf
_MAX_MESSAGE_FILES 0
_EVENT_ALIVE_CYCLE 0
_SHAREDDYNDATA 10280
_SHAREDDYNPOOL 3658
USE_MEM_ENHANCE NO
MEM_ENHANCE_LIMIT 0
__PARAM_CHANGED___ 0
__PARAM_VERIFIED__ 2008-07-02 21:10:19
DIAG_HISTORY_NUM 2
DIAG_HISTORY_PATH E:\_mp\u_v_dbs\EVERW_T3\DIAGHISTORY
_DIAG_SEM 1
SHOW_MAX_STACK_USE NO
LOG_SEGMENT_SIZE 43690
SUPPRESS_CORE YES
FORMATTING_MODE PARALLEL
FORMAT_DATAVOLUME YES
HIRES_TIMER_TYPE CPU
LOAD_BALANCING_CHK 0
LOAD_BALANCING_DIF 10
LOAD_BALANCING_EQ 5
HS_STORAGE_DLL libhsscopy
HS_SYNC_INTERVAL 50
USE_OPEN_DIRECT NO
SYMBOL_DEMANGLING NO
EXPAND_COM_TRACE NO
OPTIMIZE_OPERATOR_JOIN_COSTFUNC YES
OPTIMIZE_JOIN_PARALLEL_SERVERS 0
OPTIMIZE_JOIN_OPERATOR_SORT YES
OPTIMIZE_JOIN_OUTER YES
JOIN_OPERATOR_IMPLEMENTATION YES
JOIN_TABLEBUFFER 128
OPTIMIZE_FETCH_REVERSE YES
SET_VOLUME_LOCK YES
SHAREDSQL NO
SHAREDSQL_EXPECTEDSTATEMENTCOUNT 1500
SHAREDSQL_COMMANDCACHESIZE 32768
MEMORY_ALLOCATION_LIMIT 0
USE_SYSTEM_PAGE_CACHE YES
USE_COROUTINES YES
MIN_RETENTION_TIME 60
MAX_RETENTION_TIME 480
MAX_SINGLE_HASHTABLE_SIZE 512
MAX_HASHTABLE_MEMORY 5120
HASHED_RESULTSET NO
HASHED_RESULTSET_CACHESIZE 262144
AUTO_RECREATE_BAD_INDEXES NO
LOCAL_REDO_LOG_BUFFER_SIZE 0
FORBID_LOAD_BALANCING NO -
Samba shares no longer visible after migration to systemd
EDIT: Note the file server is CLI only.
I upgraded my file server to systemd about a week ago and have yet to get the Samba share visible from other devices within my network. Eveything worked fine under initscripts and other than system upgrades the only thing that has changed about the system is the migration to systemd and addition of the netcfg package. I can connect manually by typing "smb://<IP>" in a file manager address field but when trying to access the Share via browsing on two different WD media players, a Xoom tablet, typing "smb://" in the address bar of a basic file manager like Thunar or PCManFM or using browsing the Network or Samba Shares links in the Network place from Dolphin the share just doesn't show up.
The fact that I can access the Share directly, it's just not visible when browsing, makes me think samba is working properly but I'm not sure how to further diagnose the issue and I'd really like to solve the problem and learn something rather than just load up a previous image of the PC before the systemd migration.
Commands from client
my /etc/hosts...
cat /etc/hosts
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost dads-pc
192.168.10.131 dads-pc.HOMESERVER dads-pc
192.168.10.100 Serverbox.HOMESERVER Serverbox
Master Browser search, this does look odd, I don't use it on any machine so where the heck did the .255 at the end of the IP address come from?
$ nmblookup -M HOMESERVER
querying HOMESERVER on 192.168.10.255
name_query failed to find name HOMESERVER#1d
I can sign in fine...
$ smbclient -L Serverbox
Enter dad's password:
Failed to load upcase.dat, will use lame ASCII-only case sensitivity rules
Failed to load lowcase.dat, will use lame ASCII-only case sensitivity rules
Domain=[HOMESERVER] OS=[Unix] Server=[Samba 3.6.9]
Sharename Type Comment
IPC$ IPC IPC Service (Samba Server)
Server Disk The Family Network Share Files
ParentalMovies Disk Movie folders for Mom and Dad
Movies Disk Family Movie folders
Domain=[HOMESERVER] OS=[Unix] Server=[Samba 3.6.9]
Server Comment
SERVERBOX Samba Server
Workgroup Master
HOMESERVER SERVERBOX
I can sign in as one of the media players fine...
$ smbclient -L Serverbox -U lr_mediaplayer
Enter lr_mediaplayer's password:
Failed to load upcase.dat, will use lame ASCII-only case sensitivity rules
Failed to load lowcase.dat, will use lame ASCII-only case sensitivity rules
Domain=[HOMESERVER] OS=[Unix] Server=[Samba 3.6.9]
Sharename Type Comment
IPC$ IPC IPC Service (Samba Server)
Server Disk The Family Network Share Files
ParentalMovies Disk Movie folders for Mom and Dad
Movies Disk Family Movie folders
Domain=[HOMESERVER] OS=[Unix] Server=[Samba 3.6.9]
Server Comment
SERVERBOX Samba Server
Workgroup Master
HOMESERVER SERVERBOX
Commands from Server
Both smbd and nmbd services appear functional...
$ systemctl status smbd nmbd
smbd.service - Samba SMB/CIFS server
Loaded: loaded (/etc/systemd/system/smbd.service; enabled)
Active: active (running) since Mon, 2012-11-19 17:48:07 CST; 2h 9min ago
Main PID: 534 (smbd)
CGroup: name=systemd:/system/smbd.service
├ 534 /usr/sbin/smbd -F
├ 551 /usr/sbin/smbd -F
└ 559 /usr/sbin/smbd -F
nmbd.service - Samba NetBIOS name server
Loaded: loaded (/etc/systemd/system/nmbd.service; enabled)
Active: active (running) since Mon, 2012-11-19 17:48:07 CST; 2h 9min ago
Main PID: 536 (nmbd)
CGroup: name=systemd:/system/nmbd.service
└ 536 /usr/sbin/nmbd -F
The global portion of my /etc/samba/smb.conf file...
[global]
workgroup = HOMESERVER
server string = Samba Server
log file = /var/log/samba/%m.log
max log size = 50
dns proxy = No
valid users = dad, lisa, administrator,lr_mediaplayer, xoom, br_mediaplayer
read list = dad, lisa, administrator, lr_mediaplayer, xoom, br_mediaplayer
write list = dad, lisa, administrator
load printers = no
write cache size = 262144
large readwrite = yes
# These next lines have been added after systemd conversion based on web research, none of which has helped.
log level = 10
name resolve order = host bcast lmhosts wins
interfaces = eth0 192.168.10.100/19
preferred master = yes
Testing of the /etc/samba/smb.conf file, no errors ...
$ testparm smb.conf
Load smb config files from smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[Movies]"
Processing section "[ParentalMovies]"
Processing section "[Server]"
Loaded services file OK.
WARNING: You have some share names that are longer than 12 characters.
These may not be accessible to some older clients.
(Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
Server role: ROLE_STANDALONE
My network config file for [email protected]...
$ cat /etc/network.d/eth0
CONNECTION='ethernet'
DESCRIPTION='A basic static ethernet connection using iproute'
INTERFACE='eth0'
IP='static'
ADDR='192.168.10.100'
#ROUTES=('192.168.0.0/24 via 192.168.1.2')
GATEWAY='192.168.10.1'
DNS=('76.85.229.110' '76.85.229.111')
Master Browser search and again with the rogue .255 ending for the IP address being broadcast.
$ nmblookup -M HOMESERVER
INFO: Current debug levels:
all: 10
tdb: 10
printdrivers: 10
lanman: 10
smb: 10
rpc_parse: 10
rpc_srv: 10
rpc_cli: 10
passdb: 10
sam: 10
auth: 10
winbind: 10
vfs: 10
idmap: 10
quota: 10
acls: 10
locking: 10
msdfs: 10
dmapi: 10
registry: 10
doing parameter name resolve order = host bcast lmhosts wins
doing parameter log file = /var/log/samba/%m.log
doing parameter max log size = 50
doing parameter dns proxy = No
doing parameter valid users = dad, lisa, administrator,lr_mediaplayer, xoom, br_mediaplayer
doing parameter read list = dad, lisa, administrator, lr_mediaplayer, xoom, br_mediaplayer
doing parameter write list = dad, lisa, administrator
doing parameter load printers = no
doing parameter write cache size = 262144
doing parameter large readwrite = yes
doing parameter preferred master = yes
pm_process() returned Yes
lp_servicenumber: couldn't find homes
set_server_role: role = ROLE_STANDALONE
Substituting charset 'UTF-8' for LOCALE
added interface eth0 ip=fe80::3285:a9ff:fe8e:90f7%eth0 bcast=fe80::ffff:ffff:ffff:ffff%eth0 netmask=ffff:ffff:ffff:ffff::
added interface eth0 ip=192.168.10.100 bcast=192.168.10.255 netmask=255.255.255.0
bind succeeded on port 0
Socket options:
SO_KEEPALIVE = 0
SO_REUSEADDR = 1
SO_BROADCAST = 1
Could not test socket option TCP_NODELAY.
Could not test socket option TCP_KEEPCNT.
Could not test socket option TCP_KEEPIDLE.
Could not test socket option TCP_KEEPINTVL.
IPTOS_LOWDELAY = 0
IPTOS_THROUGHPUT = 0
SO_SNDBUF = 212992
SO_RCVBUF = 212992
SO_SNDLOWAT = 1
SO_RCVLOWAT = 1
SO_SNDTIMEO = 0
SO_RCVTIMEO = 0
Could not test socket option TCP_QUICKACK.
Socket opened.
lang_tdb_init: /usr/lib/samba/en_US.UTF-8.msg: No such file or directory
querying HOMESERVER on 192.168.10.255
bind succeeded on port 0
Socket options:
SO_KEEPALIVE = 0
SO_REUSEADDR = 1
SO_BROADCAST = 1
Could not test socket option TCP_NODELAY.
Could not test socket option TCP_KEEPCNT.
Could not test socket option TCP_KEEPIDLE.
Could not test socket option TCP_KEEPINTVL.
IPTOS_LOWDELAY = 0
IPTOS_THROUGHPUT = 0
SO_SNDBUF = 212992
SO_RCVBUF = 212992
SO_SNDLOWAT = 1
SO_RCVLOWAT = 1
SO_SNDTIMEO = 0
SO_RCVTIMEO = 0
Could not test socket option TCP_QUICKACK.
parse_nmb: packet id = 9235
nmb packet from 192.168.10.100(35072) header: id=9235 opcode=Query(0) response=Yes
header: flags: bcast=No rec_avail=Yes rec_des=Yes trunc=No auth=Yes
header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0
answers: nmb_name=HOMESERVER<1d> rr_type=32 rr_class=1 ttl=259200
answers 0 char .....d hex 0000C0A80A64
Got a positive name query response from 192.168.10.100 ( 192.168.10.100 )
192.168.10.100 HOMESERVER<1d>
Thank you.
Last edited by imatechguy (2012-11-20 03:16:39)ChojinDSL wrote:Do you have a firewall running on that server?
Are your clients also using systemd?
Yes I do have a firewall, iptables, and it's the same configuration from before the migration to systemd. Also note that I can access the shares when explicitly defining the path whether that's in a File Manager, cli or other so access isn't being blocked. For lack of a better explanation the whole thing gives the appearance that although the Share is active it's just not broadcasting it's existence like it should be.
I have two PC's, both Arch, one with Openbox and one running KDE that I have migrated to systemd. Both can access the Share when the path is explicitly defined but don't see it when trying to just browse for the the Share. I have a Xoom tablet, running Android Jelly Bean, that exhibits the same behavior. I also have two media players, one an older WD LiveTV Plus model the other a newer WD LiveTV model, neither of which can see the share and browsing is the only option for those devices. So I've got a pretty good assortment of devices and operating systems that could see the share when browsing previously but can not see the same share by browsing since the migration to systemd on the file server.
Thank you. -
Cfhttp: Migration of Webservice from CF 6.1 to CF 8.0.1 fails
Hello,
our application is consumer of a webservice. It works well on CF 6.1 (Sun Solaris) for longer time.
Now we have to migrate to a new platform with CF 8.0.1 on Linux. The service returns "Connection Failure".
Because of security reasons username and password must be in the SOAP header. So we implemented the service invocation via CFHTTP.
Can please anybody help?
We assume that the error has something to do with a wrong or wrong interpreted content length of the returned code.
Thank you very much in advance and greetings from Germany.
Rainer
Facts:
- The physical connection to the webservice server is ok. Requests of us can be found in the logfiles there. It seems they are processed there normally.
- If we send wrong XML data intentionally (invalid XML-syntax, wrong user name...) the returned data contains sensible error messages which comes definitly from the target server.
- If we send correct XML data the only file content which is return is "Connection Failure"
- There are no hints in the logfiles.
- The sended data does not contain any special character.
- The returned data can contain special characters (e.g. German umlauts).
The code:
<cfprocessingdirective pageencoding="iso-8859-1">
<!--- ... --->
<cfsavecontent variable="soap"><?xml version="1.0" encoding="utf-8" ?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:opal="#request.opal_webservice_ns#">
<soapenv:Header>
<wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext" soapenv:mustUnderstand="1">
<wsse:UsernameToken>
<wsse:Username>#request.opal_username#</wsse:Username>
<wsse:Password Type="wsse:PasswordText">#request.opal_password#</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</soapenv:Header>
<soapenv:Body>
<opal:OPAL_spc-_spcGet_spcAREMIS_spcOpportunity_spcData_GetAREMISData_Input>
<opal:Process_spcInstance_spcId></opal:Process_spcInstance_spcId>
<opal:Object_spcId>#ucase(opalid)#</opal:Object_spcId>
<opal:Siebel_spcOperation_spcObject_spcId>?</opal:Siebel_spcOperation_spcObject_spcId>
<opal:Error_spcCode></opal:Error_spcCode>
<opal:Error_spcMessage></opal:Error_spcMessage>
</opal:OPAL_spc-_spcGet_spcAREMIS_spcOpportunity_spcData_GetAREMISData_Input>
</soapenv:Body>
</soapenv:Envelope>
</cfsavecontent>
<cfhttp method="post" url="#request.opal_webservice_url#" throwonerror="no" timeout="20" charset="utf-8">
<cfhttpparam type="Header" name="charset" value="UTF-8" />
<cfhttpparam type="header" name="SOAPAction" value="#request.opal_webservice_soapaction#">
<cfhttpparam type="header" name="Host" value="#request.opal_webservice_host#">
<cfhttpparam type="header" name="Content-Length" value="#len(soap)#">
<cfhttpparam type="XML" name="XML" value="#soap#">
</cfhttp>
<cfdump var="#cfhttp#" label="cfhttp">
Technical data of the new server (which fails):
Operating system (uname -a):
Linux mhpa3y4c 2.6.18-028stab060.8 #1 SMP Mon Feb 9 20:25:36 MSK 2009 i686 i686 i386 GNU/Linux
Server Details
Server Product ColdFusion
Version 8,0,1,195765
Edition Enterprise
Serial Number 1185-5039-8342-3354-3033-xxxx
Operating System UNIX
OS Version 2.6.18-028stab060.8
Update Level /opt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/updates/hf801-1878 .jar
JVM Details
Java Version 1.6.0_14
Java Vendor Sun Microsystems Inc.
Java Vendor URL http://java.sun.com/
Java Home /usr/java/jdk1.6.0_14/jre
Java File Encoding ASCII
Java Default Locale en_US
File Separator /
Path Separator :
Line Separator Chr(10)
User Name webrun
User Home /home/webrun
User Dir /opt/jrun4/bin
Java VM Specification Version 1.0
Java VM Specification Vendor Sun Microsystems Inc.
Java VM Specification Name Java Virtual Machine Specification
Java VM Version 14.0-b16
Java VM Vendor Sun Microsystems Inc.
Java VM Name Java HotSpot(TM) Server VM
Java Specification Version 1.6
Java Specification Vendor Sun Microsystems Inc.
Java Specification Name Java Platform API Specification
Java Class Version 50.0
Java Class Path CF Classpath
pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/updates/hf801-1878.ja r: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/updates/chf8010002.ja r: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/mlibwrapper_jai.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/jaxb-api.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/commons-net-1.4.0.jar : pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/jpedal.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/xml-apis.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/verity.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/jai_core.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/asn1.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/xercesImpl.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/certj.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/smpp.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/jnbcore.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/vparametric.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/wsdl2java.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/wsdl4j-1.5.1.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/derbytools.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/axis.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/commons-beanutils-1.6 .jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/bcel.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/jstack.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/java2wsdl.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/jintegra.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/cf-assembler.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/im.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/poi-2.5.1-final-20040 804.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/saaj.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/xsdlib.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/ldap.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/clibwrapper_jiio.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/jutf7-0.9.0.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/mysql-connector-java- commercial-5.0.5-bin.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/flex-messaging.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/iTextAsian.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/derbyclient.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/commons-discovery-0.2 .jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/smack.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/mm-mysql-jdbc.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/vsearch.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/cfusion.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/postgresql-8.1-407.jd bc3.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/ib6core.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/tools.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/ib6swing.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/cfusion-req.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/flashgateway.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/commons-digester-1.7. jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/ldapbp.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/mail.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/log4j-1.2.12.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/STComm.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/jaxb-libs.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/jsch-0.1.28m.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/vadmin.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/cf4was.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/cf-logging.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/crystal.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/jai_imageio.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/xalan.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/pdfencryption.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/derbyrun.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/cf-acrobat.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/jax-qname.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/derby.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/ri_generic.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/httpclient.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/izmado.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/ant.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/derbynet.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/namespace.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/backport-util-concurr ent.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/iText.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/commons-httpclient-3. 0.1.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/commons-collections-2 .1.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/macromedia_drivers.ja r: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/jaxb-xjc.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/jakarta-oro-2.0.6.jar : pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/cdo.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/ib6addonpatch.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/commons-logging-api.1 .0.4.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/jaxrpc.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/ant-launcher.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/cf4was_ae.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/ib6util.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/webchartsJava2D.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/cdohost.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/jai_codec.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/metadata-extractor-2. 2.2.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/jakarta-slide-webdavl ib-2.1.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/FCSj.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/relaxngDatatype.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/jdom-1.0.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/jaxb-impl.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/flex-messaging-opt.ja r: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/poi-contrib-2.5.1-fin al-20040804.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/flex-messaging-common .jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/wc50.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/flex-messaging-req.ja r: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/jeb.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/commons-logging.1.0.4 .jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/rome-cf.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/commons-codec-1.3.jar : pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/ib6http.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/tt-bytecode.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/gateway/lib/examples.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/gateway/lib/: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfform/jars/flex.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfform/jars/jcert.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfform/jars/batik-css.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfform/jars/batik-util.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfform/jars/commons-logging.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfform/jars/batik-transcoder.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfform/jars/oscache.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfform/jars/jsse.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfform/jars/jakarta-oro-2.0.7.jar : pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfform/jars/commons-discovery.jar : pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfform/jars/batik-awt-util.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfform/jars/concurrent.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfform/jars/jnet.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfform/jars/batik-ext.jar: pt/jrun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfform/jars/: :
Server Classpath
/opt/jrun4/servers/lib:
/opt/jrun4/servers/lib/jrun-patch.jar:
/opt/jrun4/servers/lib/pbclient42RE.jar:
/opt/jrun4/servers/lib/pbserver42RE.jar:
/opt/jrun4/servers/lib/pointbase-service.jar:
/opt/jrun4/servers/lib:
/opt/jrun4/servers/lib/jrun-patch.jar:
/opt/jrun4/servers/lib/pbclient42RE.jar:
/opt/jrun4/servers/lib/pbserver42RE.jar:
/opt/jrun4/servers/lib/pointbase-service.jar:
/opt/jrun4/lib:
/opt/jrun4/lib/instutil.jar:
/opt/jrun4/lib/java2wsdl.jar:
/opt/jrun4/lib/jrun-ant-tasks.jar:
/opt/jrun4/lib/jrun-xdoclet.jar:
/opt/jrun4/lib/jrun.jar:
/opt/jrun4/lib/jrunwizard-installer.jar:
/opt/jrun4/lib/jrunwizard.jar:
/opt/jrun4/lib/jspc.jar:
/opt/jrun4/lib/macromedia_drivers.jar:
/opt/jrun4/lib/migrate.jar:
/opt/jrun4/lib/mysql-connector-java-commercial-5.0.5-bin.jar:
/opt/jrun4/lib/oem-xdoclet.jar:
/opt/jrun4/lib/sniffer.jar:
/opt/jrun4/lib/webservices.jar:
/opt/jrun4/lib/wsconfig.jar:
/opt/jrun4/lib/wsdl2java.jar:
/opt/jrun4/lib/xmlscript.jar:
/opt/jrun4/lib/jrun.jar
Java Ext Dirs /usr/java/jdk1.6.0_14/jre/lib/ext:/usr/java/packages/lib/ext
Technical data former server (which runs well):
Operating System (uname -a):
SunOS MHPA24ZC 5.8 Generic_117350-45 sun4us sparc FJSV,GPUZC-M
Server Details
Server Product
ColdFusion MX
Version
6,1,0,hf52806_61
Edition
Enterprise
Serial Number
CED600-55949-37264-xxxxxx
Operating System
UNIX
OS Version
5.8
JVM Details
Java Version
1.4.2
Java Vendor
Sun Microsystems Inc.
Java Vendor URL
http://java.sun.com/
Java Home
/export/home/coldf/coldfusionmx/runtime/jre
File Separator
Path Separator
Line Separator
Chr(10)
User Name
coldf
User Home
/export/home/coldf
User Dir
/export/home/coldf/coldfusionmx/runtime/bin
Java VM Specification Version
1.0
Java VM Specification Vendor
Sun Microsystems Inc.
Java VM Specification Name
Java Virtual Machine Specification
Java VM Version
1.4.2-b28
Java VM Vendor
Sun Microsystems Inc.
Java VM Name
Java HotSpot(TM) Server VM
Java Specification Version
1.4
Java Specification Vendor
Sun Microsystems Inc.
Java Specification Name
Java Platform API Specification
Java Class Version
48.0
Java Class Path
/export/home/coldf/coldfusionmx/runtime/servers/lib: /export/home/coldf/coldfusionmx/runtime/servers/lib/hf52806_61.jar: /export/home/coldf/coldfusionmx/runtime/servers/lib/hf53398_61.jar: /export/home/coldf/coldfusionmx/runtime/servers/lib/hf53419_61.jar: /export/home/coldf/coldfusionmx/runtime/servers/lib/hf53486_61.jar: /export/home/coldf/coldfusionmx/runtime/servers/lib/hf53685_61.jar: /export/home/coldf/coldfusionmx/runtime/servers/lib/hf53797_61.jar: /export/home/coldf/coldfusionmx/runtime/servers/lib/hf53813_61.jar: /export/home/coldf/coldfusionmx/runtime/servers/lib/hf53852_61.jar: /export/home/coldf/coldfusionmx/runtime/servers/lib/hf54464_61.jar: /export/home/coldf/coldfusionmx/servers/lib: /export/home/coldf/coldfusionmx/lib/cfusion.jar: /export/home/coldf/coldfusionmx/lib: /export/home/coldf/coldfusionmx/lib/NetComponents.jar: /export/home/coldf/coldfusionmx/lib/bcel.jar: /export/home/coldf/coldfusionmx/lib/cf4was.jar: /export/home/coldf/coldfusionmx/lib/cf4was_ae.jar: /export/home/coldf/coldfusionmx/lib/cfmx-ssl.jar: /export/home/coldf/coldfusionmx/lib/cfmx_bootstrap.jar: /export/home/coldf/coldfusionmx/lib/cfusion.jar: /export/home/coldf/coldfusionmx/lib/cfx.jar: /export/home/coldf/coldfusionmx/lib/collections.jar: /export/home/coldf/coldfusionmx/lib/crimson.jar: /export/home/coldf/coldfusionmx/lib/flashgateway.jar: /export/home/coldf/coldfusionmx/lib/httpclient.jar: /export/home/coldf/coldfusionmx/lib/izmado.jar: /export/home/coldf/coldfusionmx/lib/jakarta-oro-2.0.6.jar: /export/home/coldf/coldfusionmx/lib/java2wsdl.jar: /export/home/coldf/coldfusionmx/lib/jaxp-api.jar: /export/home/coldf/coldfusionmx/lib/jdom.jar: /export/home/coldf/coldfusionmx/lib/ldap.jar: /export/home/coldf/coldfusionmx/lib/ldapbp.jar: /export/home/coldf/coldfusionmx/lib/log4j.jar: /export/home/coldf/coldfusionmx/lib/macromedia_drivers.jar: /export/home/coldf/coldfusionmx/lib/mail.jar: /export/home/coldf/coldfusionmx/lib/pbclient42RE.jar: /export/home/coldf/coldfusionmx/lib/pbembedded42RE.jar: /export/home/coldf/coldfusionmx/lib/pbserver42RE.jar: /export/home/coldf/coldfusionmx/lib/pbtools42RE.jar: /export/home/coldf/coldfusionmx/lib/tools.jar: /export/home/coldf/coldfusionmx/lib/tt-bytecode.jar: /export/home/coldf/coldfusionmx/lib/webcharts.jar: /export/home/coldf/coldfusionmx/lib/webchartsJava2D.jar: /export/home/coldf/coldfusionmx/lib/webservices.jar: /export/home/coldf/coldfusionmx/lib/wsdl2java.jar: /export/home/coldf/coldfusionmx/lib/xalan.jar: /export/home/coldf/coldfusionmx/runtime/lib/jrun.jar: /export/home/coldf/coldfusionmx/runtime/lib: /export/home/coldf/coldfusionmx/runtime/lib/instutil.jar: /export/home/coldf/coldfusionmx/runtime/lib/java2wsdl.jar: /export/home/coldf/coldfusionmx/runtime/lib/jrun-ant-tasks.jar: /export/home/coldf/coldfusionmx/runtime/lib/jrun-xdoclet.jar: /export/home/coldf/coldfusionmx/runtime/lib/jrun.jar: /export/home/coldf/coldfusionmx/runtime/lib/jspc.jar: /export/home/coldf/coldfusionmx/runtime/lib/migrate.jar: /export/home/coldf/coldfusionmx/runtime/lib/oem-xdoclet.jar: /export/home/coldf/coldfusionmx/runtime/lib/sniffer.jar: /export/home/coldf/coldfusionmx/runtime/lib/webservices.jar: /export/home/coldf/coldfusionmx/runtime/lib/wsconfig.jar: /export/home/coldf/coldfusionmx/runtime/lib/wsdl2java.jar: /export/home/coldf/coldfusionmx/runtime/lib/xmlscript.jar: /oracle/orav920/jdbc/lib/classes12.jar: /home5/coldf/java: /home5/coldf/java/csvjdbc.jar: /home5/coldf/java/verona: /home5/coldf/java/verona/jCO.jar: /home5/coldf/java/csvjdbc.jar: /export/home/coldf/coldfusionmx/lib/cfusion.jar
Java Ext Dirs
/export/home/coldf/coldfusionmx/runtime/jre/lib/extAnd you can use the ColdFusion Code Analyzer
http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172e0811cbec0d04c -7fee.html
But yeah, as Dan said, definitely set up a test server and plan a series of tests that must pass.
-Fernis -
Reading of accented characters in US-ASCII format in Exchange 2010
I finished a migration from Exchange 2003 to Exchange 2010.
I have one unsolved problem. An internal application generates and sends automatically reporting mails using the US-ASCII format through an anonymous Exchange 2010 Receive connector. This connector was configured following the Microsoft recommandations (article
"Allow Anonymous Relay on a Receive Connector",
http://technet.microsoft.com/en-us/library/bb232021(printer).aspx).
The problem is that accented characters like "é", "è" or "à" are converting in "?" when the reporting mails arrive in the user mailboxes in Exchange 2010.
I made the following test :
1. When I generate from the shell in Powershell a mail in US-ASCII format, the accented characters are converted to ?
$encoding = [System.Text.Encoding]::ASCII
Send-MailMessage -To '[email protected]' -Subject 'Test' -Body 'Test mail avec des é è à et @' -SmtpServer '172.16.3.55' -From
'[email protected]' –encoding $encoding
2. When I generate from the shell in Powershell a mail in UTF7 format, the accented characters remains unchanged in the mailbox :
$encoding = [System.Text.Encoding]::UTF7
Send-MailMessage -To '[email protected]' -Subject 'Test' -Body 'Test mail avec des é è à et @' -SmtpServer '172.16.3.55' -From
'[email protected]' –encoding $encoding
Is there a solution to keep the accented characters without changing the US-ASCII message format in the reporting application ?
Best regards,
Pascalhi,
I think it is by design.
In an Exchange Server 2010 organization, content conversion is handled by the categorizer on a server that has the Hub Transport server role installed. Categorization on each message happens after a newly arrived message is put in the Submission queue. In
addition to recipient resolution and routing resolution, content conversion is performed on the message before the message is put in a delivery queue.
Please see this link:http://technet.microsoft.com/en-us/library/bb232174.aspx
thanks,
CastinLu
TechNet Community Support -
Identify InfoObjects that have a non-7-bit-US-ASCII character in key
Hello,
we plan to do a Unicode migration with our BW. SAP recommends, that in order to prevent problems during data extraction all keys of the characteristic InfoObjects should only contain 7-bit-US-ASCII characters.
But we have manually (by hazard) identified some master data records that contain some non-7-bit-US-ASCII characters (like for example "Ö" or "Ä").
We'd now like to check ALL characteristic InfoObjects regarding this issue.
Does anybody know about an ABAP-Report that would ease that task? Generally spoken, the programm should walk through the list of all characteristic InfoObjects and check for each one the master data table for "bad" keys (i. e. keys that contain a non-7-bit-US-ASCII character).
Thanks to any answers in advance!
Best regards,
PhilippI tested your code today,
dialog save open
Firefox 1.5 OK OK OK
IE 6.0 OK OK NGdailog: filename show in download popup dialog
save: save to disk from dialog
open: open directly from dailog -
How to migrate the data in AS/400 to Oracle
I have a customer, they plan to migrate their data from AS/400 DB2 V5R3,V6R1 to Oracle 11g. Since the source system is in production, they can only halt for 48 hours,
which way is the fastest?
ORACLE workbench can only support to IBM DB2/400 V4R3 and V4R5, must we export the data from AS400 to ASCII then sql load to Oracle, the user data size is about 3T?
even get the initial data, how to capture the increased data? Oracle GoldenGate 11g can't access AS400 as source.Hello,
An option would be to use the Database Gateway for DRDA. With this tool, all the data in the iSeries machine will be seen like an Oracle Table.
You will be able to run statements like :
INSERT INTO <Oracle_table> SELECT <col1, col2.....> FROM <iSeries_table>@AS400
or even like
CREATE TABLE <oracle_table> AS SELECT * FROM <iSeries_table>@AS400
The Database Gateway for DRDA is more an integration tool than a migration tool. You will be able to access live data on the AS/400 like this data was in Oracle
table(s). You can even modify the AS/400 data (insert, update, delete) from Oracle. This can avoid to have to do a one-time migration.
The Database Gateway for DRDA documentation is available at http://download.oracle.com/docs/cd/E11882_01/gateways.112/e12014/toc.htm -
Hi,
We are migrating the siebel database from DB2 to Oracle 11g.
While doing the migration, the following values are found for the siebel related tables on DB2.
for example:
CREATE TABLE S_SERVICE_SCRPT (
ROW_ID NVARCHAR2(15) NOT NULL,
CREATED TIMESTAMP(9) DEFAULT CURRENT TIMESTAMP NOT NULL,
CREATED_BY NVARCHAR2(15) NOT NULL,
LAST_UPD TIMESTAMP(9) DEFAULT CURRENT TIMESTAMP NOT NULL,
LAST_UPD_BY NVARCHAR2(15) NOT NULL,
MODIFICATION_NUM DECIMAL DEFAULT 0 NOT NULL,
CONFLICT_ID NVARCHAR2(15) DEFAULT gx'00030' NOT NULL,
NAME NVARCHAR2(75) NOT NULL,
PROG_LANG NVARCHAR2(30) NOT NULL,
REPOSITORY_ID NVARCHAR2(15) NOT NULL,
Please can anybody provide inputs how to get the equivalent for these gx___ values on Oracle 11g.
Many thanks in advanceFound a suitable link at IBM:
http://publib.boulder.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=/com.ibm.db29.doc.sqlref/db2z_sql_declareglobaltemptable.htm
gx is the hexadecimal graphic string constant - which is similar to our unistr function.
Not sure which character is representated by 00030, but here's a method you can use to simply figure out the Oracle equivalent code point.
First you need to figure out the DB2 character represented by the default value - let's assume it is '@'
Assuming the NCHAR character set is UTF8 and the NLS character set is WE8MSWIN1252, then you can execute:
select ascii('@') from dual;
ASCII('@')
64
in SQL*Plus and you'll get the code point 64.
Convert the 8bit code point to unicode using:
SQL> select dump(convert(chr(64),'UTF8','WE8MSWIN1252'),16) from dual;
DUMP(CONVERT(CH
Typ=1 Len=1: 40
and you can create the table with the default value represented by the hex value 0040:
SQL> create table abc (col1 varchar2(20) default '@',
2 col2 nvarchar2(20) default unistr('\0040'));
Table created.
SQL> insert into abc values (default,default);
1 row created.
SQL> select * from abc;
COL1 COL2
@ @ -
Database migration from US7ASCII to UTF8
Hi All,
As a part of Data migration we need to change the existing database
character set from US7ASCII to UTF8. My Database is running on Oracle 9.2.0.6.
In my database I have 5 schemas.
1) Can any body suggest how to migrate the character set from US7ASCII to UTF8?
2) How to migrate all schemas data from US7ASCII to UTF8?
Thanks in advanceYou may want to consider the character sets of your clients and the settings used up until now to store and retrieve data. Did you have true ascii-only clients/apps? The general idea is data quality analysis and management. You can find more info about this in the doc in the link given above.
-
Customize the stored procedure migrating of MWB
Hi, All,
Is there anybody know how much customize we can have for using
the MWB when migrate stored procedure? For sample I have a SQL
Server 6.5 strored procedure like following:
/******************* SQL Server 6.5 sp *************/
CREATE PROCEDURE sp_SelectUsers
AS
select
tbl_Sp_users.ID, UserName, Password, ExpiresOn,
PwdChangedDate, tbl_Sp_UserGrps.name
from
tbl_Sp_users, tbl_Sp_UserGrps
where
GroupID = tbl_Sp_UserGrps.id
order by username
/******************* end ***************************/
After I migrate it to Oracle 8 with MWB, I got following object,
one Pkg and one Procedure in Oracle db, like following:
/****************** Oracle Pkg **********************/
CREATE OR REPLACE PROCEDURE sp_SelectUsers(
RC1 IN OUT sp_SelectUsersPkg.RCT1)
AS
StoO_selcnt INTEGER;
StoO_error INTEGER;
StoO_rowcnt INTEGER;
StoO_errmsg VARCHAR2(255);
StoO_sqlstatus INTEGER;
BEGIN
OPEN RC1 FOR
SELECT tbl_Sp_users.ID, UserName, Password,
ExpiresOn, PwdChangedDate, tbl_Sp_UserGrps.name FROM
tbl_Sp_users, tbl_Sp_UserGrps
WHERE GroupID = tbl_Sp_UserGrps.id
ORDER BY username ;
END sp_SelectUsers;
/******************* Oracle Procedure ****************/
PROCEDURE sp_SelectUsers(
RC1 IN OUT sp_SelectUsersPkg.RCT1)
AS
StoO_selcnt INTEGER;
StoO_error INTEGER;
StoO_rowcnt INTEGER;
StoO_errmsg VARCHAR2(255);
StoO_sqlstatus INTEGER;
BEGIN
OPEN RC1 FOR
SELECT tbl_Sp_users.ID, UserName, Password,
ExpiresOn, PwdChangedDate, tbl_Sp_UserGrps.name FROM
tbl_Sp_users, tbl_Sp_UserGrps
WHERE GroupID = tbl_Sp_UserGrps.id
ORDER BY username ;
END sp_SelectUsers;
/******************* end *****************************/
As our client use RDO as access method, there is no way we can
use this migrated SP in RDO and return resultset. We need
convert this SP to following to be able to use RDO to get
resultset back in client:
/******************* need convert to *********************/
create or replace package sp_selectUsersPkg
as
cursor c1
is select tbl_Sp_users.ID, UserName, Password,ExpiresOn,
PwdChangedDate, tbl_Sp_UserGrps.name
from tbl_Sp_users, tbl_Sp_UserGrps
where GroupID = tbl_Sp_UserGrps.id
order by username;
type UsersCur
is ref cursor return c1%ROWTYPE;
procedure sp_selectUsers(UserCursor in out UsersCur );
END;
create or replace package body sp_selectUsersPkg
as
procedure sp_selectUsers(UserCursor in out UsersCur )
is
begin
open UserCursor for
select tbl_Sp_users.ID, UserName,
password, ExpiresOn,
PwdChangedDate, tbl_Sp_UserGrps.name
from tbl_Sp_users, tbl_Sp_UserGrps
where GroupID = tbl_Sp_UserGrps.id
order by username;
end;
end;
/******************* end *********************************/
Is there any idea how we can do this? I hope we don't need do
this manually.
Thank you very much for any help!
Jing
nullI have done a rough example of using VB6, RDO and ODBC
drivers, which may be of help to some workbench users:
Calling Oracle 8.1.5 stored procedures with ref cursors using RDO
and Visual
Basic.
Ver 0.1 [email protected]
Summary
Versions Used
Table
Code
With Explicit Ref Cursor Argument
Without Explicit Ref Cursor Argument
Actions
Summary
This gives a comparison of the connectivity between Visual Basic
and Oracle,
with both the intersolve and oracle drivers. The Oracle odbc
still has
significant
shortcomings in comparison to the intersolve/Merant driver.
Versions Used
Visiual Basic 6.0, Oracle odbc driver 8.1.5.3.0, Oracle Database
8.1.5.0.0 on
NT, intersolve/Merant 3.5 32 bit Oracle driver.
Table
html table replaced by rough results in ascii form
test case with named result set cursor variable:
sSQL = "{CALL reftest.GetEmpData(?)}"
oracle 8.1.5.3
could not find item indicated by text, known vb6.0 bug?, thinks
reftest is user
intersolve
could not find item indicated by text, known vb6.0 bug?, thinks
reftest is user
sSQL = "begin reftest.GetEmpData(?); end;"
oracle 8.1.5.3
run time error 40002 driver not capable
intersolve
ok
sSQL = "{CALL GetEmpData(?)}"
oracle 8.1.5.3
run time error 40002 driver not capable
intersolve
could not find item indicated by text,?(similar to bug above?)
at qd.rdoParameters(0).Type = rdTypeVARCHAR
sSQL = "begin GetEmpData(?); end;"
oracle 8.1.5.3
run time error 40002 driver not capable
intersolve
ok
procedure with result set last argument wanting to be simulated
as not
argument result set
strsql = "{CALL BYROYALTYPkg.byroyalty()}"
oracle 8.1.5.3
ok
intersolve
ok
strsql = "begin BYROYALTYPkg.byroyalty(); end;"
oracle 8.1.5.3
wrong number of arguments in byroyalty
intersolve
ok
strsql = "{CALL byroyalty() }"
oracle 8.1.5.3
wrong number of arguments
intersolve
ok
strsql = "begin byroyalty(); end;"
oracle 8.1.5.3
wrong number of arguments
intersolve
ok
Code
With Explicit Ref Cursor Argument
Oracle Stored Procedures and Packages
(on scott/tiger account)
create or replace package reftest as
cursor c1 is select ename from emp;
type empCur is ref cursor return c1%ROWTYPE;
procedure GetEmpData(EmpCursor in out empCur );
END;
create or replace package body reftest as
procedure GetEmpData(EmpCursor in out empCur) is
begin
open EmpCursor for select ename from emp;
end;
end;
create or replace procedure GetEmpData(EmpCursor in out
reftest.empCur)
is
begin
open EmpCursor for select ename from emp;
end;
VB code
Private Sub Command1_Click()
Dim cn As New rdoConnection
Dim qd As rdoQuery
Dim rs As rdoResultset
Dim cl As rdoColumn
Static Number As Integer
Number = 0
cn.Connect = "uid=scott; pwd=tiger; DSN=Oracle;"
'enable the MS Cursor library
cn.CursorDriver = rdUseOdbc
'Make the connection
cn.EstablishConnection rdDriverPrompt
sSQL = "BEGIN GetEmpData(?); END;"
Set qd = cn.CreateQuery("", sSQL)
qd.rdoParameters(0).Type = rdTypeVARCHAR
'Dynamic or Keyset is meaningless here
Set rs = qd.OpenResultset(rdOpenStatic)
'all the output is routed to the debug window
Debug.Print ".....Starting Result Sets....."
Do
Debug.Print
Debug.Print
Do Until rs.EOF
For Each cl In rs.rdoColumns
If IsNull(cl.Value) Then
Debug.Print " "; cl.Name; "NULL"; 'Error
trap for
null fields
Else
Debug.Print " "; cl.Name; " ";
cl.Value;
End If
Next
Debug.Print
rs.MoveNext
Loop
Loop While rs.MoreResults
cn.Close
End Sub
Without Explicit Ref Cursor Argument
Oracle Stored Procedures and Packages
(requires table:
SQL> desc MTG_VERSION
Name
Null?
Type
VERSION
NUMBER
create or replace PACKAGE BYROYALTYPkg AS
TYPE RT1 IS RECORD (
val MTG_VERSION.VERSION%TYPE
TYPE RCT1 IS REF CURSOR RETURN RT1;
PROCEDURE byroyalty(
RC1 IN OUT BYROYALTYPkg.RCT1);
END;
create or replace PACKAGE BODY BYROYALTYPkg AS
PROCEDURE byroyalty(
RC1 IN OUT BYROYALTYPkg.RCT1)
AS
StoO_selcnt INTEGER;
StoO_error INTEGER;
StoO_rowcnt INTEGER;
StoO_errmsg VARCHAR2(255);
StoO_sqlstatus INTEGER;
BEGIN
OPEN RC1 FOR
SELECT VERSION FROM MTG_VERSION;
END byroyalty;
END;
create or replace PROCEDURE byroyalty(
RC1 IN OUT BYROYALTYPkg.RCT1)
AS
StoO_selcnt INTEGER;
StoO_error INTEGER;
StoO_rowcnt INTEGER;
StoO_errmsg VARCHAR2(255);
StoO_sqlstatus INTEGER;
BEGIN
OPEN RC1 FOR
SELECT VERSION FROM MTG_VERSION;
END byroyalty;
VB code
Dim env1 As rdoEnvironment
Dim conn1 As rdoConnection
Dim strsql As String
Dim ps As rdoPreparedStatement
Dim rs As rdoResultset
Private Sub Command1_Click()
strsql = "begin byroyalty(); end;"
'in oracle odbc driver uses refcusor argument to
get result set
Set ps = conn1.CreatePreparedStatement("PsTest",
strsql)
Set rs = ps.OpenResultset(rdOpenStatic)
Text1 = rs!Version
rs.Close
End Sub
Private Sub Form_Load()
rdoEngine.rdoDefaultCursorDriver = rdUseOdbc
Set env1 = rdoEngine.rdoCreateEnvironment(" ", " ", " ")
strsql = "ODBC;DSN=tot4;UID=test;PWD=test;"
Set conn1 = env1.OpenConnection(" ", rdDriverPrompt, False,
strsql)
conn1.QueryTimeout = 3600
End Sub
Actions
Encourage odbc to allow result sets , via the odbc processed
extra
argument, outside of packages.
Document the current situation, and keep users informed of
developments.
Turloch
Oracle Migration Workbench Team
Turloch O'Tierney (guest) wrote:
: Jing,
: Note that there is an example in the FAQ where the intersolve
: driver was used so no change was required in the client code.
The
: intersolve driver optionally converts the extra argument into a
: result set. With the Oracle ODBC driver the argument needs to
be
: explicitly handled.
: Is there a problem with RDO and the 8.0.5 ODBC driver handling
: package references?
: Turloch
: Turloch O'Tierney
: Oracle,
: Migration and Technology Group.
: FAQ entry reproduced:
: How are result sets/dynasets returned to the calling program?
: The Oracle Migration Workbench parser adds an extra
argument
: of type REF CURSOR for result
: sets/dynasets. This type is understood and can be
: manipulated by both PL/SQL and Oracle JDBC. Oracle8
: release 8.0.5 ODBC drivers support REF CURSORs which means
: that the additional argument must be
: explicitly handled by the application, and the client
: application code must be changed. However, some
: third-party vendors such as Intersolv supply ODBC drivers
: for Oracle that support REF CURSORs and can, in
: addition, implicitly make use of REF CURSORs for using
: result sets/dynasets. Therefore, no change is
: required in the client application code. This is
illustrated
: in the following examples of an MS SQL Server
: stored procedure and its equivalent Oracle package and
: stored procedure as generated by the Oracle
: Migration Workbench parser.
: MS SQL Server Stored Procedure
: CREATE PROCEDURE byroyalty
: AS
: select au_id from titleauthor
: GO
: Oracle8i Package and Stored Procedure
: PACKAGE BYROYALTYPkg AS
: TYPE RT1 IS RECORD (
: au_id titleauthor.au_id%TYPE
: TYPE RCT1 IS REF CURSOR RETURN RT1;
: END;
: PROCEDURE byroyalty(
: RC1 IN OUT byroyaltyPkg.RCT1)
: AS
: StoO_selcnt INTEGER;
: StoO_error INTEGER;
: StoO_rowcnt INTEGER;
: StoO_errmsg VARCHAR2(255);
: StoO_sqlstatus INTEGER;
: BEGIN
: OPEN RC1 FOR
: SELECT au_id FROM titleauthor;
: END byroyalty;
: The following example illustrates the typical ODBC code
used
: by Intersolv to call the above MS SQL Server
: stored procedure. This code also works for the above
: Oracle8i package and stored procedure. Note that error
: handling must be added in a real application:
: SQLPrepare(...,'{call byroyalty()}',...)
: SQLExecute()
: SQLBindCol()
: SQLFetch()
: Comments:
: SQLPrepare(...,'{call byroyalty()}',...) is the ODBC SQL
: syntax used to execute stored procedures.
: SQLExecute()executes the stored procedure.
: SQLBindCol()assigns storage for result column 1 in the
: result set (au_id).
: SQLFetch() fetches the first record from the result set
: generated by the stored procedure.
: The following examples illustrate how to call the above MS
: SQL Server stored procedure with result
: sets/dynasets in Visual Basic using DAO and RDO on top of
: ODBC. This code works for Oracle8i packages
: and stored procedures if you use an Intersolv ODBC driver
to
: understand Oracle REF CURSORs.
: DAO
: Private Sub Command2_Click()
: Dim sSql As String
: sSql = "{call byroyalty()}"
: 'In Oracle ODBC driver use refcusor argument to get
: result set
: Set rCustomers = dbsServer.OpenRecordset(sSql,
: dbOpenDynamic)
: Text4 = rCustomers.Fields(0)
: theend:
: End Sub
: Please note, this example assumes that a DAO connection
has
: been set up already.
: RDO
: Private Sub Command1_Click()
: StrSql = "{call byroyalty}"
: 'in oracle odbc driver uses refcusor argument to get
: result set
: Set Ps = connx1.CreatePreparedStatement("PsTest",
: StrSql)
: Set Rs = Ps.OpenResultSet(rdOpenStatic)
: Text3 = Rs!au_id
: Rs.Close
: End Sub
: Please note, this example assumes that an RDO connection
has
: been set up already.
: Jing Zhang (guest) wrote:
: : Hi, All,
: : Is there anybody know how much customize we can have for
using
: : the MWB when migrate stored procedure? For sample I have a
SQL
: : Server 6.5 strored procedure like following:
: : /******************* SQL Server 6.5 sp *************/
: : CREATE PROCEDURE sp_SelectUsers
: : AS
: : select
: : tbl_Sp_users.ID, UserName, Password, ExpiresOn,
: : PwdChangedDate, tbl_Sp_UserGrps.name
: : from
: : tbl_Sp_users, tbl_Sp_UserGrps
: : where
: : GroupID = tbl_Sp_UserGrps.id
: : order by username
: : /******************* end ***************************/
: : After I migrate it to Oracle 8 with MWB, I got following
: object,
: : one Pkg and one Procedure in Oracle db, like following:
: : /****************** Oracle Pkg **********************/
: : CREATE OR REPLACE PROCEDURE sp_SelectUsers(
: : RC1 IN OUT sp_SelectUsersPkg.RCT1)
: : AS
: : StoO_selcnt INTEGER;
: : StoO_error INTEGER;
: : StoO_rowcnt INTEGER;
: : StoO_errmsg VARCHAR2(255);
: : StoO_sqlstatus INTEGER;
: : BEGIN
: : OPEN RC1 FOR
: : SELECT tbl_Sp_users.ID, UserName, Password,
: : ExpiresOn, PwdChangedDate, tbl_Sp_UserGrps.name FROM
: : tbl_Sp_users, tbl_Sp_UserGrps
: : WHERE GroupID = tbl_Sp_UserGrps.id
: : ORDER BY username ;
: : END sp_SelectUsers;
: : /******************* Oracle Procedure ****************/
: : PROCEDURE sp_SelectUsers(
: : RC1 IN OUT sp_SelectUsersPkg.RCT1)
: : AS
: : StoO_selcnt INTEGER;
: : StoO_error INTEGER;
: : StoO_rowcnt INTEGER;
: : StoO_errmsg VARCHAR2(255);
: : StoO_sqlstatus INTEGER;
: : BEGIN
: : OPEN RC1 FOR
: : SELECT tbl_Sp_users.ID, UserName, Password,
: : ExpiresOn, PwdChangedDate, tbl_Sp_UserGrps.name FROM
: : tbl_Sp_users, tbl_Sp_UserGrps
: : WHERE GroupID = tbl_Sp_UserGrps.id
: : ORDER BY username ;
: : END sp_SelectUsers;
: : /******************* end *****************************/
: : As our client use RDO as access method, there is no way we
can
: : use this migrated SP in RDO and return resultset. We need
: : convert this SP to following to be able to use RDO to get
: : resultset back in client:
: : /******************* need convert to *********************/
: : create or replace package sp_selectUsersPkg
: : as
: : cursor c1
: : is select tbl_Sp_users.ID, UserName, Password,ExpiresOn,
: : PwdChangedDate, tbl_Sp_UserGrps.name
: : from tbl_Sp_users, tbl_Sp_UserGrps
: : where GroupID = tbl_Sp_UserGrps.id
: : order by username;
: : type UsersCur
: : is ref cursor return c1%ROWTYPE;
: : procedure sp_selectUsers(UserCursor in out UsersCur );
: : END;
: : create or replace package body sp_selectUsersPkg
: : as
: : procedure sp_selectUsers(UserCursor in out UsersCur )
: : is
: : begin
: : open UserCursor for
: : select tbl_Sp_users.ID, UserName,
: : password, ExpiresOn,
: : PwdChangedDate, tbl_Sp_UserGrps.name
: : from tbl_Sp_users, tbl_Sp_UserGrps
: : where GroupID = tbl_Sp_UserGrps.id
: : order by username;
: : end;
: : end;
: : /******************* end *********************************/
: : Is there any idea how we can do this? I hope we don't need do
: : this manually.
: : Thank you very much for any help!
: : Jing
Oracle Technology Network
http://technet.oracle.com
null -
Content server migration - loadercli and I'm running nuts...
We have an (old) content server database of 150 GB on 7.3.0.52 and we're trying to migrate that database to Linux x86_64 bit. I tried the following before:
- tried to install/run 7.3 on SuSE SLES 11 SP1 - failing (new kernel threading)
- tried to restore the 7.3 backup on 7.5 - failing (host pagaes too old)
- tried to use 'loadercli' of 7.5 (Note 962019) - failing (ASCII --> Unicode)
- now trying to use 7.6.06.20 and stuck
I want to use pipes as transport and use loadercli on the target system (7.6).
I created two files (according to note 962019)
EXPORT USER
catalog outstream pipe '/home/sqdcos/trans/COS.CAT'
data outstream pipe '/home/sqdcos/trans/COS.DATA' PAGES
package outstream file '/home/sqdcos/trans/COS.export'
and
IMPORT USER
catalog instream pipe '/home/sqdcos/trans/COS.CAT'
data instream pipe '/home/sqdcos/trans/COS.DATA' PAGES
package outstream '/home/sqdcos/trans/COS.import'
The pipes are not existing.
I start the export which seems to work, the COS.CAT pipe is created.
As soon as I start the import, I get the following error message:
IMPORT USER
catalog instream pipe '/home/sqdcos/trans/COS.CAT'
data instream pipe '/home/sqdcos/trans/COS.DATA' PAGES
package outstream '/home/sqdcos/trans/COS.import'
// M Execute PACKAGE to transform CATALOG
// M Import PACKAGE x'01000000A296EB4EB45800009B16031EC842BF0100000000'
// M Number of TABLES transformed : 3
// M Processed command is a PAGES format based copy from database
// with ASCII catalog to database with UNICODE catalog
// M Execute PACKAGE to transform DATA
// M Number of TABLES to transform: 0
// E -25329: The given data file '/home/sqdcos/trans/COS.DATA' was not
// generated using EXPORT in PAGE Format (missing table description).
plus I get an additional pipe created "COS.DATA0000"
What am I missing here? I'm fiddling with this since hours and I can't figure what I'm doing wrong.
Markuswhat is the source platform (just to be able to test here)?
Source platform is SLES 9 32bit
Target is SLES 11 SP1 64bit
> 50% less data volume in the target sounds strange.
it is, data is missing.
> What does the loader.log say - source and target - anything suspicious?
Not really, it looks "good":
loadercli -d COS -n xx.xx.xx.xx -u SAPR3,SAP -b COS_EXPORT.sql
Loader protocol: '/home/sqdcos/sdb/connd266/loader/log/loader.log'
Loader packages: '/home/sqdcos/sdb/connd266/loader/packages'
User SAPR3 connected to database COS schema SAPR3 on 191.1.1.29.
EXPORT USER
catalog outstream pipe '/home/sqdcos/trans/COS.CAT'
data outstream pipe '/home/sqdcos/trans/COS.DATA' RECORDS
package outstream file '/home/sqdcos/trans/COS.export'
Successfully executed:
Total number of tables (definition) exported: 3
Total number of tables (data) exported: 3 (excluded: 0, failed: 0)
loadercli -d COS -u SAPR3,SAP -b COS_IMPORT.sql
Loader protocol: '/home/sqdcos/sdb/connd266/loader/log/loader_2011121600202813.log'
Loader packages: '/home/sqdcos/sdb/connd266/loader/packages'
User SAPR3 connected to database COS schema SAPR3 on local host.
IMPORT USER
catalog instream pipe '/home/sqdcos/trans/COS.CAT'
data instream pipe '/home/sqdcos/trans/COS.DATA' RECORDS
package outstream '/home/sqdcos/trans/COS.import'
Successfully executed:
Total number of tables (definition) imported: 3
Total number of tables (data) imported: 3 (excluded: 0, failed: 0)
Could/should we use a higher version on the target system?
Markus -
.olb object library cannot open file in 11g - migration from 10g to 11g
I have an object library (.olb) that will not open in Foras 11.1.1.2.0. It opens fine in 10g. I have tried converting it to ascii (.olt) but it will not creat the binary filie in 11g - get PDE-PER001 Internal Error (cakaa 2) when I try to convert any ascii file from 10g into 11g.
I have tried using frmplsqlconv, the conversion tool on .olb but get following error when it is run: ERROR opening easstnd.olb :oracle.forms.jdapi.JdapiStatusException: Failed to load olb
Check subclass and library dependencies
Any help appreciated!
KimKim,
We are not migrating yet, and we have not started converting all our forms and reports, but for the tests we have done, I never had to use frmplsqlconv (in fact, I don't know what it is). What I have done is:
1) As I told you before, I copied everything (forms, reports, etc.) we have to a new location.
2) I opened ALL the pll files with Builder 11g, saved them, and generated the plx files. The only problem I encountered here was that with some plls, Forms Builder crashed when opening them. I had to open those with Forms Builder 10g, and remove program units one by one until I found the culprit. After removing the program unit causing the crash, I opened the pll successfully with Forms Builder 11g, and created the program unit I had deleted.
3) After all plls were generated, I opened the forms I wanted to test, saved them, and generated the fmx files.
4) Same thing with reports (rdf and jsp files).
I have never gotten an error in Builder when closing plls, and we don't have either .fmt or .pld files.
Carlos -
Meetingplace migration from 5.4 to 8.x
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;}
Hi experts,
We are planning to migrate our MeetingPlace 5.4 to 8.0. I have following components ..
1) Web server in DMZ
2) Web server Internal
3) Directory server (MPDS)
4) MP 8106
I am using web scheduling , data conferencing and audio meetings.
As we know migration is very time consuming , I wanted to understand what are all your thoughts about the migration process I am planning as per Cisco’s documentation.
Buy new hardware for MP 7.x which should be compatible with MP 8.0. Install 7.x and test it in lab environment and test the functionalities . After this take a downtime and upgrade your 5.4 MP to 6.0 MR5 (I think 2 steps one to 6.0 then next to MR5). Export all the required data from MP6.0MR5 and implement it on 7.0.2 new MeetingPlace system. Test all the components like web , directory integration users profiles, future meetings and group on 7.x.
On 7.x I will have one application server , one web server ,Media server 3545 and install WebEx node for MCS.
Upgrade the mp 7.x to 8.x (application, media and mp web server)
Since there is architectural change in MP 8.0, we will need Web ex node for MCS for data conferencing and scheduling. In this case since we have been using the MP scheduling and web conferencing, as per Cisco documentation we have option to keep our MP web as front end for web scheduling and conferencing in 8.x. But all the meetings will be actually scheduled on WebEx Node for MCS on backend.
Here are my few question:
1) In old architecture there are no charges for any internal or external web conferencing, but it looks in 8.x WebEx data conferencing and scheduling is chargeable (monthly basis) is it correct ?
2) Are MeetingPlace 7.x and 8.0 is compatible with exchange 2010 and outlook 2010 for email integration ?
3) Will inside webex node for MCS fulfill our external conferencing and scheduling requirements. I think externally users will see the webex data conferencing and webex scheduling page instead of MP web. Is it correct?
4) Should I plan different approach for the complete deployement?
Thanks
rawatIn old architecture
there are no charges for any internal or external web conferencing, but
it looks in 8.x WebEx data conferencing and scheduling is
chargeable (monthly basis) is it correct ?
Correct, in MeetingPlace 8.0 and beyond you need to have an active WebEx MeetingCenter (or Enterprise) contract. This contract involves a monthly fee for the web conferencing portion. The only exception is for those customers with high security requirements that the WebEx SAS 70 compliance is not sufficient for. If you fall into that category you need to speak with your Cisco AM.
Are MeetingPlace 7.x and 8.0 is compatible with exchange 2010 and
outlook 2010 for email integration ?
Current documentation only lists Exchange 2007 SP1: http://docwiki.cisco.com/wiki/Cisco_Unified_MeetingPlace_Release_8.0_--_System_Requirements_for_Cisco_Unified_MeetingPlace_Release_8.0#Microsoft_Exchange_Server
Will inside webex node for MCS fulfill our external conferencing and
scheduling requirements. I think externally users will see the webex
data conferencing and webex scheduling page instead of MP web. Is it
correct?
No. The WebEx Node for MCS is only used for Internal Ports web meeting ports which are restricted to corporate users on your internal corporate network. All external participants (those joining from outside the firewall) must join using the WebEx SaaS cloud. These users will consume External Ports. You cannot mix the legacy MeetingPlace scheduling with WebEx scheduling; it is one or the other system-wide.
Should I plan different approach for the complete deployement?
My recommondation is to decide whether you want a WebEx contract or not. If not, you need to stay on MeetingPlace 7. If you do, then I suggest using WebEx scheduling which results in a far simpler deployment model. MeetingPlace scheduling is being kept only to ease the transition for existing customers, it is not the product strategy going forward. -
Edit Return Addresses - Invalid hostname. Only US-ASCII characters are allowed.
On our two C series appliances the C350 and the C660 we can log in to the GUI and go to System Administration \ Return Addresses and change the
Return Addresses for System-Generated Email to something more meaningful and practical then reports@hostname. For example we like to use a proper suffix instead of @hostname we use @ourAwesomeCompany.com. Anyway on the M series the M650 we can't change the suffix East of the @ sign. We get this error:
Invalid hostname. Only US-ASCII characters are allowed.
Did any of you, or can any of you change the Return Addresses on your M series? You don't have to go as far as commiting the changes if you are willing to try this for me, just type something in and hit Submit that should be enough to generate the error.Hello,
We have two M1060.
When we tested the version 7.7.0-206 or earlier, we found the same problem as you by GUI.
Recently, we're migrating to 7.9.0-107 and that is right now.
So, you can migrate without fear
Maybe you are looking for
-
Create a dvd from past project and event moved to external hard drive
i have version 7.04 DVD. Moved several projects and events to external hard drive. How do I go to "existing dvd projects" and create a dvd from a completed past dvd project? do i have to move the project and event back to the iMac hard drive..thanks
-
Dear Frnds, Here i have Service Products,Sales Item and Service item in a Service Order , Purchase Requisition has to be triggered in ECC from CRM .Can any one guide me thrgh step by step config and as well as process. Thanks in Advan
-
User settings for Default plant in some transactions
Hi gurus, is it possible to get a default plant in any transaction that you enter ... e.x In any Tcode or tcode MD04, i want my relevant plant ,ie ABCD to appear by default always.Whta would be the user settings I need to do Thnx in ADVANCE HKR
-
PDF Digital Signature using SM2 Encryption
Hi, Is there any way to use SM2 encryption for digital signature in PDF instead of the default encryption? Thanks, Amir Mehmood
-
URGENT HELP - DO NOT DISCONNECT!!
Hi all. I've read the backposts on this and tried, but its not helped. Just plugged my iPod in to update and it came up with the usual "do not disconnect" sign on the iPod, however iTunes did not recognise that the iPod had been plugged in. Went thro