Cannot connect to database with servlet thru apache http server / vhosts
Hello,
I have an application that works perfectly when Tomcat 5.5 is running stand-alone, but when I run Tomcat and Apache HTTP Server together, I get an error when trying to connect to the database. Servlets are working fine otherwise. Connection pooling is setup and working fine for Tomcat stand-alone. With the Apache server, I'm running Virtual Hosts.
My guess is that I need something in the host block of server.xml about the context.xml where the db resource pool is defined. This is what I have so far in server.xml:
<Host name="www.mydomain.com" debug="0" appBase="d:/WebApps/mydomain"
unpackWARs="true" autoDeploy="true">
<Context path="" docBase="" debug="0"/>
</Host>
Or the problem may be caused by something else entirely. Does anybody have any suggestions? Your help is greatly appreciated.
Thank you,
Logan
A little help? Anybody?
I can connect to the database with Tomcat stand-alone, but not with Tomcat integrated with Apache. I have seen this problem described elsewhere, but no solution has been found.
Similar Messages
-
Cannot connect to database via TNS
Hello!
I installed XE with default settings and have some trouble. I cannot connect to database via TNS. Two symptoms:
1. I can connect with SQLPLUS system/pwd (locally, without tns name input), but CANNOT connect with SQLPLUS system/pwd@EX (WITH TNS NAME input).
2. I cannot start Database Home Page.
How to avoid this problem? Any ideas?
DETAILS:
PC configuration: Win2k+SP4, 512Mb, Outpost Firewall (disabled!), No another Oracle products being installed.
TNSNAMES.ORA file:
************* BEGIN TNSNAMES *****************************************
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = pz)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
************* END OF TNSNAMES *****************************************
Listener status:
************* BEGIN STATUS *****************************************
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Prod
ction
Start Date 22-MAR-2006 17:27:15
Uptime 0 days 1 hr. 8 min. 53 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File D:\oracle\ora10xe\app\oracle\product\10.2.0\server\ne
work\admin\listener.ora
Listener Log File D:\oracle\ora10xe\app\oracle\product\10.2.0\server\ne
work\log\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=pz)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=8080))(Presentation
HTTP)(Session=RAW))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "XEXDB" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
Service "XE_XPT" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
Service "xe" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
The command completed successfully
************* END OF STATUS *****************************************
NETSTAT -an results:
************* BEGIN NETSTAT *****************************************
Proto Local Address Foreign Address State
TCP 0.0.0.0:1521 0.0.0.0:0 LISTENING
TCP 0.0.0.0:2298 0.0.0.0:0 LISTENING
TCP 127.0.0.1:2455 127.0.0.1:8080 ESTABLISHED
TCP 127.0.0.1:8080 0.0.0.0:0 LISTENING
TCP 127.0.0.1:8080 127.0.0.1:2382 CLOSE_WAIT
TCP 127.0.0.1:8080 127.0.0.1:2455 ESTABLISHED
TCP 192.168.200.49:1521 192.168.200.49:2298 ESTABLISHED
TCP 192.168.200.49:2298 192.168.200.49:1521 ESTABLISHED
<truncated>
************* END OF NETSTAT *****************************************
I found following error in SQLNET.LOG:
*************** START LOG *********************************************
Fatal NI connect error 12570, connecting to:
(LOCAL=NO)
VERSION INFORMATION:
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production
Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production
Time: 22-MAR-2006 17:28:59
Tracing not turned on.
Tns error struct:
ns main err code: 12570
TNS-12570: TNS:packet reader failure
ns secondary err code: 12560
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
*************** END OF LOG *******************************************I successfully connect with XE client to another Oracle databases from LAN, including 8i and 9i databases.
But cannot connect from another machines to my XE. -
Cannot connect to database host...
Hello,
First, I want to say i'm not so good in english that's why i'm apologies for this.
I try to use Sun VDI, my computer doesn't work in 64 bits that's why i use this product in 32 bits so I'm in a product envionnement.
I've installed A mysql 5 server in a 2003 server with php, phpmyadmin to see database, and when i install sun vdi in my solaris 10 i have this error message:
Cannot connect to database host...ip:3306 as user root, but when i've install mysql i've just root for user and i use this he work, and i use this login to connect in my database.
What can Have to do now? My port is really 3306 when i install mysql and the two machine is in the same network, ping work.
Thanks for yours futur answers
Regards,Select (1/2/0) : 1
Specify an administrator password: (in my case) xxxxxxxx _(password of my sql)_ <------ This is wrong. This can be any desired admin password.
specify a cluster signature: 7727kkkk
again
you can only connect to a remote MYSQL database in a 32-bit system.
Continue? (y/n): y
Enter the dns name of mysql server: _192.168.168.165_ <------- This is wrong. This is an IP address and not a DNS name (not sure if that is really a problem here).
Enter the port of mysql server : 3306
enter mysql priviliged administrator: root_ <------- This is wrong. Here you have to enter the admin user name of your database.
enter mysql priviliged administrator password: xxxxxxxx_ <------- Here you enter the corresponding password for this user (so password of your MySQL account)
Do you want to use a Socket secure layer (ssl) connection for '192.168.168.165'? (yn): n
Cannot connect to database host 192.168.168.x:3306 as user 'root'
Please make you shure connexion daitels you have provided are correct
Where i have wrong please? -
Cannot connect to database master at SQL server at SERVERNAME
I have installed SQL 2008 R2 in a fresh win 2008 R2. I’m running the sharepoint configuration Wizard using the database server name with the correct domain
credentials but I get the following error message. “Cannot connect to database master at SQL server at
SERVERNAME. The database might not exist, or the current user does not have permission to connect”
I‘m able to login to the new SQL server using the “SQL server management studio” with no problems. I used the sa account and a domain account.
The sharepoint server is also a new installation. And both servers have the firewall disabled.
Thanks in advance for your help.
SimonHi,
What is your SharePoint server’s version?
Please make sure you use the farm admin account to launch SharePoint configuration wizard. If not, please log in with this account, then check the effect.
In addition, check if you create a named instance, such as, servername\sharepoint, however, you only specify the servername in the configuration wizard. If this is
the case, change to servername\sharepoint, then check the effect.
Thanks,
Rock Wang
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
contact [email protected]
Regards, Rock Wang Microsoft Online Community Support -
After a system restart i cannot connect to SAP with SAPGUI.
After a system restart i cannot connect to SAP with SAPGUI.
See attached log "dev_disp" and "dev_w0"
At the end of this message you can see the comparison between the
defective system and another working system
I notice the absence of the "IGS400" process
Could you please help me ?
Best regards to everybody.
"dev_disp" log file tell me : ************************
trc file: "dev_disp", trc level: 1, release: "640"
Thu Jun 21 13:21:24 2007
kernel runs with dp version 132(ext=102) (@(#) DPLIB-INT-VERSION-132)
length of sys_adm_ext is 312 bytes
sysno 00
sid SVI
systemid 324 (IBM iSeries with OS400)
relno 6400
patchlevel 0
patchno 147
intno 20020600
make: single threaded, ASCII, 64 bit
pid 380
Thu Jun 21 13:21:27 2007
***LOG Q00=> DpSapEnvInit, DPStart (00 380) [dpxxdisp.c 1100]
shared lib "dw_xml.so" version 147 successfully loaded
shared lib "dw_xtc.so" version 147 successfully loaded
shared lib "dw_stl.so" version 147 successfully loaded
shared lib "dw_gui.so" version 147 successfully loaded
shared lib "dw_mdm.so" version 147 successfully loaded
MtxInit: -2 0 0
DpSysAdmExtInit: ABAP is active
DpIPCInit2: start server >FRASTEST_SVI_00 <
DpShMCreate: sizeof(wp_adm) 10712 (824)
DpShMCreate: sizeof(tm_adm) 3021432 (15032)
DpShMCreate: sizeof(wp_ca_adm) 18000 (60)
DpShMCreate: sizeof(appc_ca_adm) 6000 (60)
DpShMCreate: sizeof(comm_adm) 216000 (432)
DpShMCreate: sizeof(vmc_adm) 0 (448)
DpShMCreate: sizeof(wall_adm) (22440/36712/56/104)
Thu Jun 21 13:21:28 2007
DpShMCreate: SHM_DP_ADM_KEY (addr: 700000080000000, size: 3337656)
DpShMCreate: allocated sys_adm at 700000080000000
DpShMCreate: allocated wp_adm at 700000080001830
DpShMCreate: allocated tm_adm_list at 700000080004208
DpShMCreate: allocated tm_adm at 700000080004230
DpShMCreate: allocated wp_ca_adm at 7000000802e5ca8
DpShMCreate: allocated appc_ca_adm at 7000000802ea2f8
DpShMCreate: allocated comm_adm_list at 7000000802eba68
DpShMCreate: allocated comm_adm at 7000000802eba80
DpShMCreate: allocated vmc_adm_list at 700000080320640
DpShMCreate: system runs without vmc_adm
DpShMCreate: allocated ca_info at 700000080320668
DpShMCreate: allocated wall_adm at 700000080320670
MBUF state OFF
EmInit: MmSetImplementation( 2 ).
Thu Jun 21 13:21:29 2007
<ES> client 0 initializing ....
<ES> InitFreeList
<ES> block size is 4096 kByte.
Using implementation std
EsIUnamFileMapInit: ES base = 0x7000000d0000000
EsStdInit: Extended Memory 4096 MB allocated
<ES> 1023 blocks reserved for free list.
ES initialized.
Thu Jun 21 13:22:33 2007
rdisp/http_min_wait_dia_wp : 1 -> 1
Thu Jun 21 13:22:35 2007
***LOG Q0K=> DpMsAttach, mscon ( FRASTEST) [dpxxdisp.c 10036]
Thu Jun 21 13:22:36 2007
DpStartStopMsg: send start message (myname is >FRASTEST_SVI_00 <)
DpStartStopMsg: start msg sent
Thu Jun 21 13:22:47 2007
CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
Thu Jun 21 13:22:49 2007
CCMS: start to initalize 3.X shared alert area (first segment).
DpMsgAdmin: Set release to 6400, patchlevel 0
MBUF state PREPARED
MBUF component UP
DpMBufHwIdSet: set Hardware-ID
***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c 1025]
DpMsgAdmin: Set patchno for this platform to 147
Release check o.K.
Thu Jun 21 13:39:13 2007
DpSigInt: caught signal 2
DpHalt: shutdown server >FRASTEST_SVI_00 < (normal)
Thu Jun 21 13:39:14 2007
***LOG Q0I=> NiPWrite: writev (32: Broken pipe) [niuxi.c 1140]
ERROR => MsINiWrite: NiBufSend (rc=NIECONN_BROKEN) [msxxi.c 2455]
ERROR => MsIModState: MsINiWrite (rc=NIECONN_BROKEN) [msxxi.c 3695]
MBUF state OFF
MBUF component DOWN
DpModState: change server state from STARTING to SHUTDOWN
Thu Jun 21 13:39:15 2007
Stop work processes...
Thu Jun 21 13:40:18 2007
ERROR => DpWpKill(411, SIGUSR2): kill failed [dpxxtool.c 2462]
Stop gateway
Stop icman
Terminate gui connections
waiting for termination of work processes
Thu Jun 21 13:40:19 2007
waiting for termination of work processes
Thu Jun 21 13:40:20 2007
waiting for termination of work processes
Thu Jun 21 13:40:21 2007
waiting for termination of work processes
"dev_w0" log file tell me : ************************
trc file: "dev_w0", trc level: 1, release: "640"
ACTIVE TRACE LEVEL 1
ACTIVE TRACE COMPONENTS all, M
M sysno 00
M sid SVI
M systemid 324 (IBM iSeries with OS400)
M relno 6400
M patchlevel 0
M patchno 147
M intno 20020600
M make: single threaded, ASCII, 64 bit
M pid 404
M
M
M Thu Jun 21 13:22:00 2007
M ***LOG Q01=> tskh_init, WPStart (Workproc 0 1 404) [thxxhead.c 1146]
M calling db_connect ...
C DB4 SQL Reparse Activated
C
C Thu Jun 21 13:22:11 2007
C R3INLPGM: RmtExeLib from /usr/sap/SVI/SYS/exe/run/DBSLDB4RMT
C R3INLPGM: RmtExeLib is R3640ASVI
C
C Thu Jun 21 13:22:13 2007
C Connection to database done without problems.
C -
C -
DbSl EGO Structure
C -
C SAPSYSTEMNAME = SVI
C Character encoding = ASCII
C process class = dialog process
C workprocess id = 0
C local host = FRASTEST
C dbhost = FRASTEST
C rdbname =
C dbname = SVIFRASTEST
C dblib = R3SVIDATA
C application server = DVEBMGS00
C Connect type = LOCAL
C pid = 404
C dbjobname = WP00
C dbjobuser = SVI00
C dbjobno = 025901
C wpjobname = WP00
C wpjobuser = SVI00
C wpjobno = 025901
C DB2/400 vers. appl. server = PASE 4
C DB2/400 vers. DB server = V5R4
C da_cache_size = 100
C reopen = ON
C timeout_retry = 3
C ODP threshold = 800
C ODP commit thresh. = 810
C ODP open thresh. = 850
C QAQQINI library = Default (QUSRSYS)
C Alternate QAQQINI library = Not specified
C use_lobs_for_long = ON
C use_lobs_for_short = OFF
C single_execution_threshold = 2000
C single_execution_reuse = OFF
C keep_tmp_SQLpkgs = OFF
C dbsl_trace = off
C allow_cancel = OFF
C nqe_optimize_method = O - All I/O (compatibility mode)
C query_compl_reval = O
C nte_list_size = 10
C -
C
C Thu Jun 21 13:22:17 2007
C SQL monitor started for job
B
B Thu Jun 21 13:22:18 2007
B Connection 0 opened (DBSL handle 0)
B Wp Hdl ConName ConId ConState TX PRM RCT TIM MAX OPT Date Time DBHost
B 000 000 R/3 000000000 ACTIVE NO YES NO 000 255 255 20070621 132200 FRASTEST
M
M Thu Jun 21 13:22:37 2007
M db_connect o.k.
M
M Thu Jun 21 13:22:38 2007
M ICT: exclude compression: .zip,.cs,.rar,.arj,.z,.gz,.tar,.lzh,.cab,.hqx,.ace,.jar,.ear,.war,.css,.pdf,.js,.gzip,.uue,.bz2,.iso,.sda,.sar,.gif
ACTIVE TRACE LEVEL 2
ACTIVE TRACE COMPONENTS all, M
M -
C-STACK -
=> 64 bit R/3 Kernel
=> 64 bit OS400 Kernel
=> Heap limit = unlimited
=> Stack limit = unlimited
=> Core limit = unlimited
=> File size limit = unlimited
=> Heap address = 0x40000000000000009ED34587C2E94220
=> Stack address = 0xffffffffffff3f0
=> Stack low = 0xfffffffffffdb30
=> Stack high = 0xffffffffffffa90
=> Stack Trace:
Unknown at 0x3618
sleepms() at 0x1000f9324
SpinLockSemRq1() at 0x1000f926c
SemRq() at 0x1000fcf6c
ThIPCInit() at 0x1000ac1a0
tskh_init() at 0x1000ad704
tskhstart() at 0x1000c0950
DpMain() at 0x10175ad2c
nlsui_main() at 0x10172dee8
=> CPU Registers:
msr = 0x800000000000f032 iar = 0x0000000000003618
ctr = 0x0000000000003610 lr = 0x09000000000a2890
xer = 0x0000000008000000 cr = 0x000000002a404445
r00 = 0x0000000000000000 r01 = 0x0ffffffffffff3f0
r02 = 0x00000000000000a4 r03 = 0xffffffffffffffff
r04 = 0x0000000000000000 r05 = 0x0000000000000000
r06 = 0x0000000000000000 r07 = 0x0ffffffffffff520
r08 = 0x0000000000000001 r09 = 0x0000000010108003
r10 = 0xb00010000c90e000 r11 = 0xb00010000c90ef30
r12 = 0x0900000000001eb0 r13 = 0x0000000182784a50
r14 = 0x0000000000000002 r15 = 0x00000001810e6c48
r16 = 0x0ffffffffffffb28 r17 = 0x000000018001bf20
r18 = 0x0000000000000003 r19 = 0x0000000000000004
r20 = 0x0000000180c6de34 r21 = 0x0000000180c6de28
r22 = 0x000000018004ce60 r23 = 0x0000000180c6e244
r24 = 0x0000000000000064 r25 = 0x0000000000000158
r26 = 0x0000000000000158 r27 = 0x0000000000000000
r28 = 0x0000000000000000 r29 = 0x0fffffffffffffe0
r30 = 0x09001000a005ec48 r31 = 0x0000000000000000
Thu Jun 21 13:40:23 2007
Library |(SRV)PGM |Module |Function/Statement No.
Thu Jun 21 13:40:24 2007
|--||--
QSYS |QP2USER2 |QP2API |__Qp2Fork 8
QSYS |QP2USER2 |QP2API |runpase_main__FPi 6
QSYS |QP2USER2 |QP2API |runpase_common__FiPvT2 2
R3640ASVI |O4PRTLIBC |AS4STACK |As4Stack_From_PASE 3
R3640ASVI |O4PRTLIBC |AS4STACK |As4StackOut 10
R3640ASVI |O4PRTLIBC |AS4STACK |_MATINVS2__8O4_StackFv 8
M -
ACTIVE JOBS OF DEFECTIVE SYSTEM
Opz Sottosis/Lav corrente Tipo % CPU Funzione Stato
R3_00 QSYS SBS 0,0 DEQW
DISP_WORK SVI00 BCI 5,3 PGM-disp+work CNDW
GWRD SVI00 BCI 10,9 PGM-gwrd RUN
ICMAN SVI00 BCI 1,8 PGM-icman RUN
MSG_SERVER SVI00 BCI 0,0 PGM-MSG_SERVER SELW
RSLGCOLL SVI00 BCI 0,0 PGM-rslgcoll SELW
RSLGSEND SVI00 BCI 0,0 PGM-rslgsend SELW
SAPOSCOL SVI00 BCI 1,0 PGM-SAPOSCOL RUN
SAPSTART SVI00 BCH 0,0 PGM-sapstart EVTW
WATCHDOG SVI00 BCI 0,4 PGM-disp+work SELW
WP00 SVI00 BCI 1,0 PGM-disp+work RUN
WP01 SVI00 BCI 1,0 PGM-disp+work RUN
WP02 SVI00 BCI 1,0 PGM-disp+work RUN
WP03 SVI00 BCI 1,1 PGM-disp+work RUN
WP04 SVI00 BCI 0,9 PGM-disp+work RUN
WP05 SVI00 BCI 0,9 PGM-disp+work RUN
WP06 SVI00 BCI 0,8 PGM-disp+work RUN
WP07 SVI00 BCI 0,6 PGM-disp+work RUN
WP08 SVI00 BCI 0,0 RUN
ACTIVE JOBS OF WORKING SYSTEM
R3_03 QSYS SBS 0,0 DEQW
DISP_WORK TST03 BCI 0,0 PGM-disp+work SELW
GWRD TST03 BCI 0,0 PGM-gwrd SELW
ICMAN TST03 BCI 0,0 PGM-icman SELW
IGS400 TST03 BCI 0,0 PGM-igswd_mt THDW
IGS400 TST03 BCI 0,0 PGM-igsmux_mt THDW
IGS400 TST03 BCI 0,0 PGM-igspw_mt THDW
IGS400 TST03 BCI 0,0 PGM-igspw_mt THDW
MSG_SERVER TST03 BCI 0,0 PGM-MSG_SERVER SELW
RSLGSEND TST03 BCI 0,0 PGM-rslgsend THDW
SAPSTART TST03 BCH 0,0 PGM-sapstart EVTW
WATCHDOG TST03 BCI 0,0 PGM-disp+work SELW
WP00 TST03 BCI 0,0 PGM-disp+work SEMW
WP01 TST03 BCI 0,0 PGM-disp+work SEMW
WP02 TST03 BCI 2,5 PGM-disp+work RUN
WP03 TST03 BCI 0,0 PGM-disp+work SEMW
WP04 TST03 BCI 0,0 PGM-disp+work SEMW
WP05 TST03 BCI 0,0 PGM-disp+work SEMW
WP06 TST03 BCI 0,0 PGM-disp+work SEMW
WP07 TST03 BCI 0,0 PGM-disp+work SEMW
WP08 TST03 BCI 0,0 PGM-disp+work SEMW
WP09 TST03 BCI 0,0 PGM-disp+work SEMW
WP10 TST03 BCI 0,0 PGM-disp+work SEMW
WP11 TST03 BCI 0,0 PGM-disp+work SEMW
WP12 TST03 BCI 0,0 PGM-disp+work SEMWFollowing your suggestions i got this error message in the log file "dev_w0"
This process creted also a very big "core" file
B ***LOG BY4=> sql error 304 performing FET on table DDNTF [dbntab#7 @ 10281] [dbntab 1028 1]
B ***LOG BY0=> Conversion error in assignment to host variable *N. MSGID= Job=028178/SVI00/WP00 [dbntab#7 @ 10281] [dbntab 1028 1]
B *** ERROR => missing return code handler
caller does not handle code 1 from dbntab#7[3098]
Here is the complete log:
trc file: "dev_w0", trc level: 1, release: "640"
ACTIVE TRACE LEVEL 1
ACTIVE TRACE COMPONENTS all, M
M sysno 00
M sid SVI
M systemid 324 (IBM iSeries with OS400)
M relno 6400
M patchlevel 0
M patchno 147
M intno 20020600
M make: single threaded, ASCII, 64 bit
M pid 317
M
M
M Wed Aug 1 17:53:03 2007
M ***LOG Q01=> tskh_init, WPStart (Workproc 0 1 317) [thxxhead.c 1146]
M calling db_connect ...
C DB4 SQL Reparse Activated
C
C Wed Aug 1 17:53:05 2007
C R3INLPGM: RmtExeLib from /usr/sap/SVI/SYS/exe/run/DBSLDB4RMT
C R3INLPGM: RmtExeLib is R3640ASVI
C Connection to database done without problems.
C -
C -
DbSl EGO Structure
C -
C SAPSYSTEMNAME = SVI
C Character encoding = ASCII
C process class = dialog process
C workprocess id = 0
C local host = FRASTEST
C dbhost = FRASTEST
C rdbname =
C dbname = SVIFRASTEST
C dblib = R3SVIDATA
C application server = DVEBMGS00
C Connect type = LOCAL
C pid = 317
C dbjobname = WP00
C dbjobuser = SVI00
C dbjobno = 028178
C wpjobname = WP00
C wpjobuser = SVI00
C wpjobno = 028178
C DB2/400 vers. appl. server = PASE 4
C DB2/400 vers. DB server = V5R4
C da_cache_size = 100
C reopen = ON
C timeout_retry = 3
C ODP threshold = 800
C ODP commit thresh. = 810
C ODP open thresh. = 850
C QAQQINI library = Default (QUSRSYS)
C Alternate QAQQINI library = Not specified
C use_lobs_for_long = ON
C use_lobs_for_short = OFF
C single_execution_threshold = 2000
C single_execution_reuse = OFF
C keep_tmp_SQLpkgs = OFF
C dbsl_trace = off
C allow_cancel = OFF
C nqe_optimize_method = O - All I/O (compatibility mode)
C query_compl_reval = O
C nte_list_size = 10
C -
C
C Wed Aug 1 17:53:09 2007
C SQL monitor started for job
B Connection 0 opened (DBSL handle 0)
B Wp Hdl ConName ConId ConState TX PRM RCT TIM MAX OPT Date Time DBHost
B 000 000 R/3 000000000 ACTIVE NO YES NO 000 255 255 20070801 175303 FRASTEST
M
M Wed Aug 1 17:53:12 2007
M db_connect o.k.
M ICT: exclude compression: .zip,.cs,.rar,.arj,.z,.gz,.tar,.lzh,.cab,.hqx,.ace,.jar,.ear,.war,.css,.pdf,.js,.gzip,.uue,.bz2,.iso,.sda,.sar,.gif
I
I Wed Aug 1 17:53:13 2007
I MtxInit: 0 0 0
M SHM_PRES_BUF (addr: 700000200000000, size: 4400128)
M
M Wed Aug 1 17:53:14 2007
M SHM_ROLL_AREA (addr: 700000210000000, size: 268435456)
M
M Wed Aug 1 17:53:15 2007
M SHM_PAGING_AREA (addr: 700000220000000, size: 67108864)
M SHM_ROLL_ADM (addr: 700000230000000, size: 2672386)
M SHM_PAGING_ADM (addr: 700000240000000, size: 164896)
M
M Wed Aug 1 17:53:16 2007
M ThCreateNoBuffer allocated 324144 bytes for 1000 entries at 700000250000000
M ThCreateNoBuffer index size: 3000 elems
M ThCreateVBAdm allocated 7440 bytes (50 server) at 700000260000000
X EmInit: MmSetImplementation( 2 ).
X <ES> client 0 initializing ....
X Using implementation std
X ES initialized.
B
B Wed Aug 1 17:53:20 2007
B db_con_shm_ini: WP_ID = 0, WP_CNT = 13, CON_ID = -1
B
B Wed Aug 1 17:53:25 2007
B dbtbxbuf: Buffer TABL (addr: 7000002d0000100, size: 64000000, end: 7000002d3d09100)
B dbtbxbuf: Profile: max_objects = 5000, displace = 1, reorg = 1
B dbtbxbuf: request_unit = 2000, sync_reload = 5, inval_reload = 5
B dbtbxbuf: protect_shm = 0, force_checks = 0
B dbtbxbuf: tsize_retry = 31427136
B ***LOG BB0=> buffer TABL started with length 64000000 bytes [dbtbxbuf#8 @ 16037] [dbtbxbuf1603 7]
B
B Wed Aug 1 17:53:26 2007
B dbtbxbuf: Buffer TABLP (addr: 7000002e0000100, size: 16776192, end: 7000002e0fffd00)
B dbtbxbuf: Profile: max_objects = 500, displace = 1, reorg = 1
B dbtbxbuf: request_unit = 2000, sync_reload = 5, inval_reload = 5
B dbtbxbuf: protect_shm = 0, force_checks = 0
B dbtbxbuf: tsize_retry = 8322944
B ***LOG BB0=> buffer TABLP started with length 16776192 bytes [dbtbxbuf#8 @ 16037] [dbtbxbuf1603 7]
B dbtbxbuf: Reading TBX statistics:
B dbtbxbuf: Opening /usr/sap/SVI/DVEBMGS00/data/tbxnew failed (No such file or directory).
B dbtbxbuf: Renaming /usr/sap/SVI/DVEBMGS00/data/tbxnew to /usr/sap/SVI/DVEBMGS00/data/tbxstat failed (No such file or directory).
B dbtbxbuf: 110 object entries precreated
B Layout of EIBUF buffer shared memory:
B 0: 1 * 4 = 4
B 1: 1 * 360 = 360
B 2: 13 * 40 = 520
B 3: 8009 * 40 = 320360
B 4: 4000 * 160 = 640000
B 5: 8009 * 8 = 64072
B 6: 1 * 200 = 200
B 7: 65 * 8 = 520
B 8: 319664 * 128 = 40916992
B Tracing = 0, Shm Protection = 0, Force checks = 0, Recovery delay = 500000
B dbexpbuf: Buffer EIBUF (addr: 700000300000108, size: 41943040, end: 700000302800108)
B ***LOG BB0=> buffer EIBUF started with length 40960k bytes [dbexpbuf#6 @ 2342] [dbexpbuf2342 ]
B Layout of ESM buffer shared memory:
B 0: 1 * 4 = 4
B 1: 1 * 360 = 360
B 2: 13 * 40 = 520
B 3: 4001 * 40 = 160040
B 4: 2000 * 160 = 320000
B 5: 4001 * 8 = 32008
B 6: 1 * 200 = 200
B 7: 65 * 8 = 520
B 8: 28755 * 128 = 3680640
B Tracing = 0, Shm Protection = 0, Force checks = 0, Recovery delay = 500000
B dbexpbuf: Buffer ESM (addr: 700000310000108, size: 4194304, end: 700000310400108)
B ***LOG BB0=> buffer ESM started with length 4096k bytes [dbexpbuf#6 @ 2342] [dbexpbuf2342 ]
B Layout of CUA buffer shared memory:
B 0: 1 * 4 = 4
B 1: 1 * 360 = 360
B 2: 13 * 40 = 520
B 3: 16411 * 40 = 656440
B 4: 8191 * 160 = 1310560
B 5: 16411 * 8 = 131288
B 6: 1 * 200 = 200
B 7: 193 * 8 = 1544
B 8: 57325 * 256 = 14675200
B Tracing = 0, Shm Protection = 0, Force checks = 0, Recovery delay = 500000
B dbexpbuf: Buffer CUA (addr: 700000320000108, size: 16776192, end: 700000320fffd08)
B ***LOG BB0=> buffer CUA started with length 16383k bytes [dbexpbuf#6 @ 2342] [dbexpbuf2342 ]
B Layout of OTR buffer shared memory:
B 0: 1 * 4 = 4
B 1: 1 * 360 = 360
B 2: 13 * 40 = 520
B 3: 4001 * 40 = 160040
B 4: 2000 * 160 = 320000
B 5: 4001 * 8 = 32008
B 6: 1 * 200 = 200
B 7: 81 * 8 = 648
B 8: 28754 * 128 = 3680512
B Tracing = 0, Shm Protection = 0, Force checks = 0, Recovery delay = 500000
B
B Wed Aug 1 17:53:27 2007
B dbexpbuf: Buffer OTR (addr: 700000330000108, size: 4194304, end: 700000330400108)
B ***LOG BB0=> buffer OTR started with length 4096k bytes [dbexpbuf#6 @ 2342] [dbexpbuf2342 ]
B ***LOG BB0=> buffer CALE started with length 500000 bytes [dbcalbuf#2 @ 2212] [dbcalbuf2212 ]
C
C Wed Aug 1 17:53:29 2007
C *** ERROR => Error 304 in function db_fetch
[dbsldb4.cpp 9041]
C === DBSL Begin of SQL request after execution ===
C === DBSL SQLP0400 ===
C Function 5
C Package DDNTFIH Library R3SVIA2062
C Main_Pgm Main_Lib
C Statement_Name "Wx3AAADpDB" Cursor_Name "CADDNTF16461"
C Open_Options x80 Clause_For_Describe N
C Commitment_Control C
C Date_Format USA Date_Separator /
C Time_Format USA Time_Separator :
C Naming_Option SYS Decimal_Point .
C Blocking_Factor 1 Scrollable_Option 0
C Position_Option 0 Relative_Record 0
C Rows_To_Insert 0 Direct_Map N
C Reuse_DA N Name_Check Y
C Use_Ptrs 0 With_Hold N
C Close_File_Name Close_Library_Name *THRESHOLD
C Reopen 0 Use_Perf 1
C Query_Compl. (Reval) ! Statement_Text_CCSID 819
C Sort_Sequence_Table *JOB Sort_Sequence_Library *LIBL
C Language_ID *JOB Allow_Copy_Data S
C Allow_Blocking L
C === DBSL SQLDA ===
C sqldaid: SQLDA 2 , sqldabc: 816, sqln: 10, sqld: 4
C === TRACE VAR 0 ===
C sqlvar: 0, sqtype 469, sqllen 30, sqlname.data 13488
C sqlind: 0
C sqlname (hex):
C 0008000034B00000 0000000000000000 0000000000000000 0000000000000000
C sqldata row=0 (hex):
C 005400430041004C 0053002000200020 0020002000200020 0020002000200020
C 0020002000200020 0020002000200020 0020002000200020 00200020
C === TRACE VAR 1 ===
C sqlvar: 1, sqtype 501, sqllen 2, sqlname.data 0
C sqlind: -2
C sqlname (hex):
C 0000000000000000 0000000000000000 0000000000000000 0000000000000000
C sqldata row=0 (hex):
C 0000
C === TRACE VAR 2 ===
C sqlvar: 2, sqtype 497, sqllen 4, sqlname.data 0
C sqlind: -2
C sqlname (hex):
C 0000000000000000 0000000000000000 0000000000000000 0000000000000000
C sqldata row=0 (hex):
C 00000031
C === TRACE VAR 3 ===
C sqlvar: 3, sqtype 405, sqllonglen 32700
C sqldatalen NULL
C sqlind: 0
C sqlname (hex):
C 00080000FFFF0000 0000000000000000 0000000000000000 0000000000000000
C sqldata row=0 (hex):
C 0000028742000007 4100000000010000 0000280001000000 0100010000004944
C 0000000000000000 0000000000000000 0000000000000000 00000000004B4142
C === DBSL errc ===
C errc: OK
C === DBSL sqlca ===
C sqlcode: 304
C sqlerrml: 68, sqlerrmc:
C 00035CD540404040 4040404040404040 4040404040404040 4040404040404040
C 4040404040404040 4040404040404040 4040404040404040 4040404040404040
C 40400006
B ***LOG BY4=> sql error 304 performing FET on table DDNTF [dbntab#7 @ 10281] [dbntab 1028 1]
B ***LOG BY0=> Conversion error in assignment to host variable *N. MSGID= Job=028178/SVI00/WP00 [dbntab#7 @ 10281] [dbntab 1028 1]
B *** ERROR => missing return code handler
caller does not handle code 1 from dbntab#7[3098]
==> calling sap_dext to abort transaction
[dbeh.c 93]
M -
C-STACK -
=> 64 bit R/3 Kernel
=> 64 bit OS400 Kernel
=> Heap limit = unlimited
=> Stack limit = unlimited
=> Core limit = unlimited
=> File size limit = unlimited
=> Heap address = 0x40000000000000009E570787C2ED4260
=> Stack address = 0xfffffffffffd6f0
=> Stack low = 0xfffffffffffd6f0
=> Stack high = 0xffffffffffffa90
=> Stack Trace:
AixStack() at 0x10008d040
CTrcStack2() at 0x10008d138
ThControl() at 0x1006551a4
dyThControl() at 0x1003ab070
dextIntern() at 0x1003aa06c
sap_dext() at 0x1003aff24
dbeh_exit() at 0x100416924
db_ntab() at 0x10039d48c
read_ntab() at 0x101512474
db_cbufload() at 0x10150f40c
reset_handling() at 0x101512f00
init_shm_and_load_cals() at 0x10151394c
db_cbufinst() at 0x101514c48
db_calinit() at 0x1005ae8bc
db_init() at 0x1001c7ae0
ThCallHooks() at 0x1000c3654
ThIPCInit() at 0x1000ac574
tskh_init() at 0x1000ad704
tskhstart() at 0x1000c0950
DpMain() at 0x10175ad2c
nlsui_main() at 0x10172dee8
Wed Aug 1 17:53:29 2007
Library |(SRV)PGM |Module |Function/Statement No.
|--||--
QSYS |QP2USER2 |QP2API |__Qp2Fork 8
QSYS |QP2USER2 |QP2API |runpase_main__FPi 6
QSYS |QP2USER2 |QP2API |runpase_common__FiPvT2 2
R3640ASVI |O4PRTLIBC |AS4STACK |As4Stack_From_PASE 3
R3640ASVI |O4PRTLIBC |AS4STACK |As4StackOut 10
R3640ASVI |O4PRTLIBC |AS4STACK |_MATINVS2__8O4_StackFv 8
M -
M ***LOG R1B=> ThControl, sap_dext-call (00 ) [thxxdynp.c 355]
M in_ThErrHandle: 1
M *** ERROR => ThControl: illegal sap_dext call !!! (step 1, th_errno 5, action 1, level 1) [thxxhead.c 9564]
M
M Info for wp 0
M
M stat = 4
M reqtype = 1
M act_reqtype = -1
M rq_info = 0
M tid = -1
M mode = 255
M len = -1
M rq_id = 65535
M rq_source = 255
M last_tid = 0
M last_mode = 0
M int_checked_resource(RFC) = 0
M ext_checked_resource(RFC) = 0
M int_checked_resource(HTTP) = 0
M ext_checked_resource(HTTP) = 0
M report = > <
M action = 0
M tab_name = > <
M Entering ThSetStatError
M Entering ThReadDetachMode
M ThISend: still inside critical section semaphore ? -
Cannot connect oracle database follwing path.
Hi experts,
cannot connect oracle database in the following path.
i take sap daily backup on testing server ,but it is fail.
F:\oracle\MPQ\sapcheck\cegvmynv.chk' at location main-11.
but the following path not found in the testing server \sapcheck\cegvmynv.chk
what can i do?
Text removed by moderator
Job started
Step 001 started (program RSDBAJOB, variant &0000000001074, user ID SUPERUSER)
Execute logical command BRCONNECT On host mpq
Parameters: -u / -jid CHECK20110923162500 -c -f check
BR0801I BRCONNECT 7.00 (43)
BR0477I Oracle pfile D:\oracle\MPQ\102\database\initMPQ.ora created from spfile D:\oracle\MPQ\102\database\spfileMPQ.ora
BR0805I Start of BRCONNECT processing: cegvmynv.chk 2011-09-23 16.25.51
BR0252E Function fopen() failed for 'F:\oracle\MPQ\sapcheck\cegvmynv.chk' at location main-11
BR0253E errno 2: No such file or directory
BR0121E Processing of log file F:\oracle\MPQ\sapcheck\cegvmynv.chk failed
BR0806I End of BRCONNECT processing: cegvmynv.chk2011-09-23 16.25.54
BR0280I BRCONNECT time stamp: 2011-09-23 16.25.54
BR0804I BRCONNECT terminated with errors
External program terminated with exit code 3
BRCONNECT returned error status E
Job finished
Regards,
A.Sithanandan
Edited by: Matt on Sep 26, 2011 9:07 AMHi Justin,
I can connect the database where I use Oracle ODBC Driver. But Microsoft driver didn't work.
However, I can connect to the database where I use Microsoft driver in W2K (server side)...
Catherine
Can you connect with the Oracle driver? I'm not sure whether the Microsoft driver is supported against a 9i database (I have no information either way).
Justin -
AHHHHHHH! Install cannot connect to database error!
I am so frustrated with application server install...
I'm trying to install SOA 10.1.3, advanced option, 1st option
When it asks me for database account, host name, service name I enter all this info in then i click next...
This is when I get the Install cannot connect to database error even though db i'm trying to connect to is on same machine!
Anyone have any ideas other than laying off medication as to what the problem is?Check the requirement chapter in the Installation Guide, but it should be similar to:
127.0.0.1 localhost.localdomain localhost
192.168.1.88 yourserver.domain.com yourserverHowever, I don't think you should change any of this after a installation... -
To connect oracle database with ms access database
i want to connect oracle database with ms access database
i have follow the following steps
1. create ms access database.
2. create system dsn.
3. make change in listener.ora.
4. make change in hs folder.
5.change the tnsname.ora.
6. lsnrctl stop and lsnrct start.
7. create database link in oracle sql*plus.
8.select the table of ms access
but i have return the foloowing error.
ORA-12154: TNS:could not resolve the connect identifier specified
using window 2000, oracle 10gHave a look on ths thread, may it helps ...
Re: copy access data into oracle with form builder 9i -
Hi guys Pls tell me a way to connect db4 database with jsp and which driver
hi guys
Pls tell me a way to connect db4 database with jsp and
also tell me which driver i have to use
also tell me how to connect with excel sheetstake a look at the follwing links. There, you'll find all what you need :
DB4:
http://www.oracle.com/database/berkeley-db/je/index.html
http://www.oracle.com/technology/products/berkeley-db/je/index.html
http://www.oracle.com/database/berkeley-db/db/index.html
http://www.oracle.com/database/docs/berkeley-db-je-datasheet.pdf
Excel:
http://64.18.163.122/rgagnon/javadetails/java-0516.html
Hope That Helps -
Cannot connect to database via JApplet
Hi,
I created a Java application which allows me to send information to my mysql database using the jdbc connector via a JFrame. However when i modified the file to be a JApplet the info will not sent and i cannot connect to the database? Any particular reason for this?
I need it to be a JApplet so i can add it to a browser window.
Code: ( java )
private void save ()
Connection conn = null;
try
Statement stmt;
String userName = "root";
String password = "PASSWORD";
String url = "jdbc:mysql://localhost:3306/DATABASE";
Class.forName ("com.mysql.jdbc.Driver").newInstance ();
conn = DriverManager.getConnection (url, userName, password);
System.out.println ("Database connection established");
//Get a statement object
stmt = conn.createStatement();
stmt.executeUpdate( "INSERT INTO TABLE(Info i know to put in) VALUES('Values i know to put in')");
catch (Exception e)
System.err.println ("Cannot connect to database server");
finally
{if (conn != null)
{try
{conn.close ();
System.out.println ("Database connection terminated");
catch (Exception e) { /* ignore close errors*/ }
As i said above it works fine as a JFrame but not as a JApplet. Any help would be great.
Thanks GYour error reporting is not good. You print a meanningless message or ignore the error.
Print the stacktrace in the catch blocks.
Change the code, rerun it and then check the Java Console for output.
I'm guessing you'll see a security error. Unsigned applets can't access the client file system. If so, sign the applet. -
Cannot connect to Database attempts hang (no errors)
hi, i have oracle 9.2 on solaris 5.8
weirdly, today we could not connect the db anymore. even these does not work on the server:
sqlplus /nolog
SQL> connect /as sysdba
sqlplus "/ as sysdba"
sqlplus system/**
ALL attemps just hang , no errors.
what can i do?
i think the only way is reboot the machine?
any ideas?here is the output
bash-2.05# vmstat 2 20
kthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr f0 m0 m1 m2 in sy cs us sy id
0 0 0 1940080 1012952 9 25 51 0 0 0 0 0 7 5 7 729 777 245 15 3 82
0 0 0 1828840 855200 0 4 0 0 0 0 0 0 386 7 387 5626 62112 3614 25 40 35
0 0 0 1828840 855200 0 0 0 0 0 0 0 0 384 7 384 5611 62299 3786 23 40 37
0 1 0 1828840 855200 0 0 0 0 0 0 0 0 372 6 373 5582 63459 3754 24 39 37
0 2 0 1828840 855200 0 0 0 0 0 0 0 0 391 7 391 5640 63245 3976 23 38 40
0 0 0 1828840 855200 0 0 0 0 0 0 0 0 374 18 374 5789 61626 3760 24 37 3
9
0 0 0 1828840 855200 0 0 0 0 0 0 0 0 373 7 373 5536 62333 3888 20 47 34
0 0 0 1828840 855200 0 0 0 0 0 0 0 0 376 7 376 5585 62463 3594 24 42 35
0 0 0 1828840 855200 0 0 0 0 0 0 0 0 354 8 354 5364 61787 3396 24 41 36
0 0 0 1828840 855200 0 0 0 0 0 0 0 0 378 7 378 5616 61667 3777 18 47 35
0 0 0 1828840 855200 0 0 0 0 0 0 0 0 364 11 364 5494 63075 3616 24 40 3
6
0 2 0 1828840 855200 0 0 0 0 0 0 0 0 388 8 388 5733 62161 3947 22 39 39
0 0 0 1828840 855200 0 0 0 0 0 0 0 0 388 8 388 5702 61873 4142 22 43 35
0 1 0 1828840 855200 0 0 0 0 0 0 0 0 383 7 383 5584 63365 3815 28 33 40
1 0 0 1828840 855200 0 0 0 0 0 0 0 0 387 7 387 5643 63920 3846 29 29 41
0 0 0 1828840 855200 0 0 0 0 0 0 0 0 378 10 378 5650 61793 3914 23 40 3
6
0 0 0 1828840 855200 0 0 0 0 0 0 0 0 388 7 389 5644 62798 4064 24 36 40
0 0 0 1828840 855200 0 0 0 0 0 0 0 0 377 11 377 5592 62206 3941 23 47 3
0
0 0 0 1828840 855200 0 0 0 0 0 0 0 0 379 8 380 5605 61121 3959 21 50 29
kthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr f0 m0 m1 m2 in sy cs us sy id
0 0 0 1828840 855200 0 0 0 0 0 0 0 0 379 7 379 5511 61964 3549 19 46 35
Also, i cannot connect the database, i dont have any active connections, cannot run any sql statements.. -
How to connect oracle database with JAVA
how to connect oracle database with JAVA....
using j2sdk and Jcreator . which connector to use .. what are the code for that ..PLEASE .... Ask in an Oracle Java forum.
And read the documentaiton. There is a whole document devoted to doing that. http://download.oracle.com/docs/cd/B19306_01/java.102/b14355/toc.htm has examples.
PLEASE ... do not ask product questions in a forum which clearly has a title saying it is devoted to assisting with download problems. -
How to connect sql database with Flash
Dear Friends,
Iam working on a quessinarie (assesment) for elearning software. i want to connect sql database with flash and save my records in back end like add, delete, modification of student result and details.
Kindly help me to connect the sql database. or dot net server. I know how to connect PHP and mysql. But my client dont want php. only sql database and do the add, del, modificaiton.
Thanks in advance,
Syed Abdul Rahimunfortunately no, i do not know ASP well enough to give any code advice, other than the basic concept: make a request on a server-side script (such as ASP) via URLLoader - the script receives variable values (if required), runs the DB queries you wish to invoke, and 'returns' the results - pick them up in the URLVariables class via the event handler in Flash and assign them to local properties if needed, etc.
there are quite a few threads that you could find more specific information on the ASP side, here and elsewhere around the net. -
How to connect mySQL database with jdbc
Who can tell me how to connect mySQL database with jdbc? Thanks
http://onesearch.sun.com/search/developers/index.jsp?and=connect+mysql&nh=10&phr=&qt=¬=&field=title&since=&col=devforums&rf=0&Search.x=24&Search.y=16
-
How to connect MySql database with JSP
Dear everyone,
how to connect MySql database with JSP......It's too bad that nobody has ever asked this question before...
Maybe you are looking for
-
hi guys i got an error while loading infoobject atrributes i created characteristic info object "equipment" with Master data and text. when i loaded text it was working fine but the problem happened when i start loading attributes data. error code is
-
The Apple folks said I could download any apps I had purchased previously but were lost when my hard drive died. Now have the new hard drive, but don't know how to obtain Pages free from the App Store.
-
I had my itunes library on an external drive, I now have a new Windows 7 computer. How can I access my library?
-
HT3159 my built in speakers ar no working can you help thank u
my built in speakers ar no working can you help thank u
-
FM to know user name of locked table
Hi all, I have created a lock object for a Z table.I want to know a FM which should give me locked by user name. Thanks & Regards, Rock.