Consumer application username/password setting
Hello,
We are migrating our ADF server from 11.1.1.2 to 11.1.15.
We have a problem with an application that is a web service consumer.
The username/password are set when you create the connection in the wizard from jdevelopper.
On the developer PC, it works.
On the 11.1.1.2, after a jdev deploy it works.
On the 11.1.1.5, after a jdev deploy it does not work.
I have snooped the traffic between the adf consumer and the web server (provider).
It does not work because it does not send the username/password in the http header.
How can I reconfigure the username password that it used to authenticate in the web server
providing the web service.
Thanks in advance for your answer.
Hi,
please check below link
13.2.2 How to Create a New Web Service Connection
http://docs.oracle.com/cd/E23943_01/web.1111/b31974/web_services.htm#CJAEFIAJ
This will create Application_name\.adf\META-INF\connection.xml
<Reference name="TestService" className="oracle.adf.model.connection.webservice.impl.WebServiceConnectionImpl" credentialStoreKey="TestService" xmlns="">
<Factory className="oracle.adf.model.connection.webservice.api.WebServiceConnectionFactory"/>
<RefAddresses>
<XmlRefAddr addrType="WebServiceConnection">
<Contents>
<wsconnection description="file:/C:/JDeveloper/mywork/WS-Proxy-Authentication/Project2/src/com/client/TestService.wsdl" service="{http://SampleWebService/}TestService">
<model name="{http://SampleWebService/}TestService" xmlns="http://oracle.com/ws/model">
<service name="{http://SampleWebService/}TestService">
<port name="TestPort" binding="{http://SampleWebService/}TestPortBinding">
<soap username="transportUserName" password="transportPassword" addressUrl="http://localhost:7001/WS-Proxy-Authentication-Project1-context-root/TestPort" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
<operation name="hello">
<soap soapAction="" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
<input name=""/>
<output name=""/>
</operation>
</port>
</service>
</model>
</wsconnection>
</Contents>
</XmlRefAddr>
<SecureRefAddr addrType="transportPassword"/>
<SecureRefAddr addrType="transportUserName"/>
</RefAddresses>
</Reference>
HTH
Regards,
Sunil P
Similar Messages
-
Error APP-FND-01516 INVALID APPLICATION USERNAME, PASSWORD, OF DATABASE
Hi Guru's,
I've installed 11i - 11.5.9 on 2000 Server.
I'm Facing an Error after initialization of applet.
I'm mentioned the exact error bellow.
APP-FND-01516 INVALID APPLICATION USERNAME, PASSWORD, OF DATABASE
Username : APPLSYSPUB
Password : PUB
Database : PROD
Can any one truble shoot my problem.
Even i'm not able to initialized my Database due to this problem.
I have prepared Some Screan Shots, Like Window Services, Applet initializer, and The exact applet which shows the error. if any one of u provide me your's mail Id I can Send.
Please Trouble shoute this problem.
Thanks
LavHi Sir,
I Followed Up Your instrustion and hear is The Out Put.
D:\> cd d:\oracle\oracle\proddb\9.2.0
D:\> Source the environment file (PROD_edu)
1. D:\> echo %ORACLE_HOME% -> Should point to 'd:\oracle\proddb\9.2.0'
Out Put : D:\oracle\proddb\9.2.0>echo %ORACLE_HOME%
d:\oracle\proddb\9.2.0
2. D:\> echo %ORACLE_SID% -> Should return 'PROD'
Out Put :D:\>echo %ORACLE_SID%
%ORACLE_SID%
D:\>
3. D:\> cd d:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu
Out Put : D:\>cd d:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>
D:\> addlnctl.cmd start PROD
Out Put :D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM | NOTES
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM |
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM | HISTORY
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM |
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM +=========================
===============================================+
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM ##########################
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM This file is automatically
generated by AutoConfig. It will be read and overwritten.
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM If you were instructed to
edit this file, or if you are not able to use the settings
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM created by AutoConfig, ref
er to Metalink document 165195.1 for assistance.
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM ##########################
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>echo ""
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>echo "You are running addlnctl.
cmd"
"You are running addlnctl.cmd"
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>echo ""
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>date /T
Thu 02/08/2007
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>time /T
1:49p
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>IF "start" == "" GOTO usage
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>IF "PROD" == "" GOTO usage
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>set control_code=start
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>set listener_name=PROD
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>IF /I "start" == "start" GOTO c
ontrol_ok
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>set ORA_ENVFILE="d:\oracle\prod
db\9.2.0\PROD_edu.cmd"
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>set DB_NAME=PROD
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM setup the environment for
Oracle
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>if exist "d:\oracle\proddb\9.2.
0\PROD_edu.cmd" goto env_ok
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>call "d:\oracle\proddb\9.2.0\PR
OD_edu.cmd"
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM $Header: ad8idbnt.env 115.
6 2003/05/19 20:27:58 rcchang ship $
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM ==========================
================================================
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM NAME
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM PROD.env
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM DESCRIPTION
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM Setup environment for O
racle 8i RDBMS HOME
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM NOTES
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM HISTORY
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM Created by AutoConfig
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM ==========================
================================================
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM ##########################
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM This file is automatically
generated by AutoConfig. It will be read and overwritten.
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM If you were instructed to
edit this file, or if you are not able to use the settings
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM created by AutoConfig, ref
er to Metalink document 165195.1 for assistance.
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM ##########################
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>set TWO_TASK=
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>set ORA_NLS33=
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>set LOCAL=PROD
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>set ORACLE_SID=
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>set ORACLE_HOME=d:\oracle\prodd
b\9.2.0
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>IF "db920" == "db920" (
set PATH=d:\oracle\proddb\9.2.0\bin;C:\j2sdk1.4.1\bin;d:\oracle\proddb\9.2.0\Apa
che\perl\5.00503\bin\MSWin32-x86;d:\oracle\proddb\9.2.0\bin;C:\j2sdk1.4.1\bin;d:
\oracle\proddb\9.2.0\Apache\perl\5.00503\bin\MSWin32-x86;d:\oracle\proddb\9.2.0\
bin;C:\j2sdk1.4.1\bin;d:\oracle\proddb\9.2.0\Apache\perl\5.00503\bin\MSWin32-x86
;d:\oracle\proddb\9.2.0\bin;C:\j2sdk1.4.1\bin;d:\oracle\proddb\9.2.0\Apache\perl
\5.00503\bin\MSWin32-x86;D:\oracle_10g\bin;C:\mksnt;C:\WINNT\system32;C:\WINNT;C
:\WINNT\System32\Wbem
set PERL5LIB=d:\oracle\proddb\9.2.0\Apache\perl\5.00503\lib;d:\oracle\proddb\9.
2.0\Apache\perl\site\5.00503\lib
) ELSE (set PATH=d:\oracle\proddb\9.2.0\bin;C:\j2sdk1.4.1\bin;d:\oracle\proddb\
9.2.0\bin;C:\j2sdk1.4.1\bin;d:\oracle\proddb\9.2.0\Apache\perl\5.00503\bin\MSWin
32-x86;d:\oracle\proddb\9.2.0\bin;C:\j2sdk1.4.1\bin;d:\oracle\proddb\9.2.0\Apach
e\perl\5.00503\bin\MSWin32-x86;d:\oracle\proddb\9.2.0\bin;C:\j2sdk1.4.1\bin;d:\o
racle\proddb\9.2.0\Apache\perl\5.00503\bin\MSWin32-x86;D:\oracle_10g\bin;C:\mksn
t;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem )
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>set LD_LIBRARY_PATH=d:\oracle\p
roddb\9.2.0\lib
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>set TNS_ADMIN=d:\oracle\proddb\
9.2.0\network\admin\PROD_edu
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>set NLS_LANG=American_America.W
E8ISO8859P1
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>set nls_numeric_characters = .,
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>set nls_date_format = DD-MON-RR
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>set nls_sort = binary
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>set nls_language = american
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>set nls_territory = america
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>echo ""
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>echo "The environment settings
are as follows ..."
"The environment settings are as follows ..."
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>echo ""
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>echo " ORACLE_HOME : d:\o
racle\proddb\9.2.0"
" ORACLE_HOME : d:\oracle\proddb\9.2.0"
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>echo " ORACLE_SID : "
" ORACLE_SID : "
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>echo " TWO_TASK : "
" TWO_TASK : "
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>echo " PATH : d:\o
racle\proddb\9.2.0\bin;C:\j2sdk1.4.1\bin;d:\oracle\proddb\9.2.0\Apache\perl\5.00
503\bin\MSWin32-x86;d:\oracle\proddb\9.2.0\bin;C:\j2sdk1.4.1\bin;d:\oracle\prodd
b\9.2.0\Apache\perl\5.00503\bin\MSWin32-x86;d:\oracle\proddb\9.2.0\bin;C:\j2sdk1
.4.1\bin;d:\oracle\proddb\9.2.0\Apache\perl\5.00503\bin\MSWin32-x86;d:\oracle\pr
oddb\9.2.0\bin;C:\j2sdk1.4.1\bin;d:\oracle\proddb\9.2.0\Apache\perl\5.00503\bin\
MSWin32-x86;D:\oracle_10g\bin;C:\mksnt;C:\WINNT\system32;C:\WINNT;C:\WINNT\Syste
m32\Wbem"
" PATH : d:\oracle\proddb\9.2.0\bin;C:\j2sdk1.4.1\bin;d:\oracle\pro
ddb\9.2.0\Apache\perl\5.00503\bin\MSWin32-x86;d:\oracle\proddb\9.2.0\bin;C:\j2sd
k1.4.1\bin;d:\oracle\proddb\9.2.0\Apache\perl\5.00503\bin\MSWin32-x86;d:\oracle\
proddb\9.2.0\bin;C:\j2sdk1.4.1\bin;d:\oracle\proddb\9.2.0\Apache\perl\5.00503\bi
n\MSWin32-x86;d:\oracle\proddb\9.2.0\bin;C:\j2sdk1.4.1\bin;d:\oracle\proddb\9.2.
0\Apache\perl\5.00503\bin\MSWin32-x86;D:\oracle_10g\bin;C:\mksnt;C:\WINNT\system
32;C:\WINNT;C:\WINNT\System32\Wbem"
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>echo " LD_LIBRARY_PATH : d:\o
racle\proddb\9.2.0\lib"
" LD_LIBRARY_PATH : d:\oracle\proddb\9.2.0\lib"
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>echo ""
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>set logfile="d:\oracle\proddb\9
.2.0\appsutil\log\PROD_edu\addlnctl.txt"
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>echo
ECHO is on.
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>echo "The log information will
be written to"
"The log information will be written to"
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>echo "\t"d:\oracle\proddb\9.2.0
\appsutil\log\PROD_edu\addlnctl.txt""
"\t"d:\oracle\proddb\9.2.0\appsutil\log\PROD_edu\addlnctl.txt""
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>echo
ECHO is on.
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>IF /I "start" == "start" GOTO s
tartdb
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>echo ""
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>echo "Starting listener process
PROD ..."
"Starting listener process PROD ..."
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>echo ""
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM first try reload
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>lsnrctl reload PROD
LSNRCTL for 32-bit Windows: Version 9.2.0.3.0 - Production on 08-FEB-2007 13:49:
57
Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROCPROD))
The command completed successfully
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM if reload fails, then try
start
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>if 0 GTR 0 goto no_listener
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>echo ""
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>echo "Listener PROD has already
been started."
"Listener PROD has already been started."
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>echo ""
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>goto end
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>echo "addlnctl.cmd exiting with
status 0"
"addlnctl.cmd exiting with status 0"
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>
Last Step : D:\> addbctl.cmd start
Out Put :
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM *=========================
===============================================+
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM | Copyright (c) 2000 Oracl
e Corporation, Redwood Shores, California, USA |
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM | Al
l rights reserved |
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM | App
lications Division |
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM +=========================
===============================================+
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM |
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM | FILENAME
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM | addbctl.cmd
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM |
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM | DESCRIPTION
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM | Start / Stop database
PROD
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM |
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM | USAGE
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM | addbctl.sh <start | st
op> {immediate | abort | normal}
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM |
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM | PLATFORM
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM | NT Generic
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM |
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM | NOTES
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM |
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM | HISTORY
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM |
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM +=========================
===============================================+
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM $Header: addbctl.cmd 115.1
0 2003/03/27 07:27:29 swgopal ship $
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>echo ""
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>echo "You are running addbctl.c
md"
"You are running addbctl.cmd"
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>echo ""
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>date /T
Thu 02/08/2007
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>time /T
1:50p
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>IF "start" == "" GOTO usage
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>set shutdown_mode="normal"
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>set control_code=start
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>IF /I "start" == "start" GOTO c
ontrol_ok
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>set ORA_ENVFILE="d:\oracle\prod
db\9.2.0\PROD_edu.cmd"
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>set DB_NAME=PROD
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM setup the environment for
Oracle
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>if exist "d:\oracle\proddb\9.2.
0\PROD_edu.cmd" goto env_ok
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>call "d:\oracle\proddb\9.2.0\PR
OD_edu.cmd"
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM $Header: ad8idbnt.env 115.
6 2003/05/19 20:27:58 rcchang ship $
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM ==========================
================================================
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM NAME
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM PROD.env
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM DESCRIPTION
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM Setup environment for O
racle 8i RDBMS HOME
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM NOTES
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM HISTORY
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM Created by AutoConfig
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM ==========================
================================================
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM ##########################
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM This file is automatically
generated by AutoConfig. It will be read and overwritten.
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM If you were instructed to
edit this file, or if you are not able to use the settings
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM created by AutoConfig, ref
er to Metalink document 165195.1 for assistance.
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM ##########################
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>set TWO_TASK=
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>set ORA_NLS33=
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>set LOCAL=PROD
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>set ORACLE_SID=
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>set ORACLE_HOME=d:\oracle\prodd
b\9.2.0
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>IF "db920" == "db920" (
set PATH=d:\oracle\proddb\9.2.0\bin;C:\j2sdk1.4.1\bin;d:\oracle\proddb\9.2.0\Apa
che\perl\5.00503\bin\MSWin32-x86;d:\oracle\proddb\9.2.0\bin;C:\j2sdk1.4.1\bin;d:
\oracle\proddb\9.2.0\Apache\perl\5.00503\bin\MSWin32-x86;d:\oracle\proddb\9.2.0\
bin;C:\j2sdk1.4.1\bin;d:\oracle\proddb\9.2.0\Apache\perl\5.00503\bin\MSWin32-x86
;d:\oracle\proddb\9.2.0\bin;C:\j2sdk1.4.1\bin;d:\oracle\proddb\9.2.0\Apache\perl
\5.00503\bin\MSWin32-x86;d:\oracle\proddb\9.2.0\bin;C:\j2sdk1.4.1\bin;d:\oracle\
proddb\9.2.0\Apache\perl\5.00503\bin\MSWin32-x86;D:\oracle_10g\bin;C:\mksnt;C:\W
INNT\system32;C:\WINNT;C:\WINNT\System32\Wbem
set PERL5LIB=d:\oracle\proddb\9.2.0\Apache\perl\5.00503\lib;d:\oracle\proddb\9.
2.0\Apache\perl\site\5.00503\lib
) ELSE (set PATH=d:\oracle\proddb\9.2.0\bin;C:\j2sdk1.4.1\bin;d:\oracle\proddb\
9.2.0\bin;C:\j2sdk1.4.1\bin;d:\oracle\proddb\9.2.0\Apache\perl\5.00503\bin\MSWin
32-x86;d:\oracle\proddb\9.2.0\bin;C:\j2sdk1.4.1\bin;d:\oracle\proddb\9.2.0\Apach
e\perl\5.00503\bin\MSWin32-x86;d:\oracle\proddb\9.2.0\bin;C:\j2sdk1.4.1\bin;d:\o
racle\proddb\9.2.0\Apache\perl\5.00503\bin\MSWin32-x86;d:\oracle\proddb\9.2.0\bi
n;C:\j2sdk1.4.1\bin;d:\oracle\proddb\9.2.0\Apache\perl\5.00503\bin\MSWin32-x86;D
:\oracle_10g\bin;C:\mksnt;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem )
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>set LD_LIBRARY_PATH=d:\oracle\p
roddb\9.2.0\lib
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>set TNS_ADMIN=d:\oracle\proddb\
9.2.0\network\admin\PROD_edu
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>set NLS_LANG=American_America.W
E8ISO8859P1
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>set nls_numeric_characters = .,
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>set nls_date_format = DD-MON-RR
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>set nls_sort = binary
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>set nls_language = american
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>set nls_territory = america
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>echo ""
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>echo "The environment settings
are as follows ..."
"The environment settings are as follows ..."
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>echo ""
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>echo " ORACLE_HOME : d:\o
racle\proddb\9.2.0"
" ORACLE_HOME : d:\oracle\proddb\9.2.0"
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>echo " ORACLE_SID : "
" ORACLE_SID : "
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>echo " TWO_TASK : "
" TWO_TASK : "
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>echo " PATH : d:\o
racle\proddb\9.2.0\bin;C:\j2sdk1.4.1\bin;d:\oracle\proddb\9.2.0\Apache\perl\5.00
503\bin\MSWin32-x86;d:\oracle\proddb\9.2.0\bin;C:\j2sdk1.4.1\bin;d:\oracle\prodd
b\9.2.0\Apache\perl\5.00503\bin\MSWin32-x86;d:\oracle\proddb\9.2.0\bin;C:\j2sdk1
.4.1\bin;d:\oracle\proddb\9.2.0\Apache\perl\5.00503\bin\MSWin32-x86;d:\oracle\pr
oddb\9.2.0\bin;C:\j2sdk1.4.1\bin;d:\oracle\proddb\9.2.0\Apache\perl\5.00503\bin\
MSWin32-x86;d:\oracle\proddb\9.2.0\bin;C:\j2sdk1.4.1\bin;d:\oracle\proddb\9.2.0\
Apache\perl\5.00503\bin\MSWin32-x86;D:\oracle_10g\bin;C:\mksnt;C:\WINNT\system32
;C:\WINNT;C:\WINNT\System32\Wbem"
" PATH : d:\oracle\proddb\9.2.0\bin;C:\j2sdk1.4.1\bin;d:\oracle\pro
ddb\9.2.0\Apache\perl\5.00503\bin\MSWin32-x86;d:\oracle\proddb\9.2.0\bin;C:\j2sd
k1.4.1\bin;d:\oracle\proddb\9.2.0\Apache\perl\5.00503\bin\MSWin32-x86;d:\oracle\
proddb\9.2.0\bin;C:\j2sdk1.4.1\bin;d:\oracle\proddb\9.2.0\Apache\perl\5.00503\bi
n\MSWin32-x86;d:\oracle\proddb\9.2.0\bin;C:\j2sdk1.4.1\bin;d:\oracle\proddb\9.2.
0\Apache\perl\5.00503\bin\MSWin32-x86;d:\oracle\proddb\9.2.0\bin;C:\j2sdk1.4.1\b
in;d:\oracle\proddb\9.2.0\Apache\perl\5.00503\bin\MSWin32-x86;D:\oracle_10g\bin;
C:\mksnt;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem"
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>echo " LD_LIBRARY_PATH : d:\o
racle\proddb\9.2.0\lib"
" LD_LIBRARY_PATH : d:\oracle\proddb\9.2.0\lib"
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>echo ""
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>REM set priv_connect=internal/m
anager@PROD
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>set DB_VERSION="db920"
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>IF "db920" == "db817" GOTO db81
7
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>set priv_connect="/ as sysdba"
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>GOTO connectstr_ok
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>IF /I "start" == "start" GOTO s
tartdb
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>echo
ECHO is on.
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>echo "Starting the database $DB
_NAME ..."
"Starting the database $DB_NAME ..."
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>echo
ECHO is on.
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>sqlplus /nolog @d:\oracle\prodd
b\9.2.0\appsutil\scripts\PROD_edu\adstrtdb.sql "/ as sysdba"
SQL*Plus: Release 9.2.0.3.0 - Production on Thu Feb 8 13:50:56 2007
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected.
ORA-01081: cannot start already-running ORACLE - shut it down first
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.3.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.3.0 - Production
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>goto end
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>echo "addbctl.cmd exiting with
status 0"
"addbctl.cmd exiting with status 0"
D:\oracle\proddb\9.2.0\appsutil\scripts\PROD_edu>
Now Tell Me What w'll be the next Step : Applet still showing the same error.
Thanks -
Default database name,username & password set-up in CMS!
Hi All,
Is there any way to configure the database name, database username and password as default in CMS, so that when ever we deploy the report we doesn't need to give the database configuration details everytime to each and every individual reports. we have almost 400 reports running in the server and for every month there will be atleast 5 new or modified reports adds up to the list. I tried but couldn't find any solution.
thankz,
kalyan.Hi,
I would recommend to build a generic report with the database connection and the username you want
You can then make this report available to the developers, who can use it as template for building the "real" reports.
Regards,
Stratos -
HTMLDB_MAIL.SEND smtp username/password setting
I use HTMLDB_MAIL.SEND to send email from apex interface.
But how i can define userneme, password and smtp server ??
thank's a lot.
ByeIn Apex Instance Administration page (login to Internal workspace as admin),
Under Home>Manage InstanceInstance>Settings menu, there is an Email section.
You can specify the following items:
SMTP Host Address
SMTP Host Port
SMTP Authentication Username
SMTP Authentication Password
Administration Email Address
Notification Email Address
Maximum Emails per Workspace
If you do not have right to acces it, ask your DBA for help. -
Problems setting up username & password for SQL
Due to the outstanding advice I recieved from this excellent forum, I have managed to overcome my first problem with declaring a new Class.
This leads me to request help with my next biggest problem:
Setting up a user GUI that takes a "username" & "password" that will be used to access a password protected database.
I am a simple bloke, with simple thought processes, so please, go easy on me...
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.sql.*;
public class DBQuery1 {
String username = "" , password = "";
public static void main(String[] arguments) {
PassDB UPass = new PassDB();
String data = "jdbc:odbc:JavaTestDataBase";
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection conn = DriverManager.getConnection(data, "" + username, "" + password);
Statement st = conn.createStatement();
ResultSet rec = st.executeQuery(
"SELECT Title, ContactID, First, Last, Dear FROM Contacts "
+ "WHERE (Title='Mr') ORDER BY ContactID");
/* ResultSet rec2 = st.executeQuery(
"SELECT Subject, ContactID FROM Calls "
+ "WHERE (Subject Is Not Null) ORDER BY ContactID");
System.out.println("\nFirst Name\tSurname\t\tNick Name\t\tSubject\n");
while(rec.next()) {
System.out.println(rec.getString(3) + "\t\t" + rec.getString(4) + "\t\t" + rec.getString(5) /* + rec2.getString(1) */ );
st.close();
catch (SQLException s) {
System.out.println("SQL Error: " + s.toString() + " " + s.getErrorCode() + " " + s.getSQLState());
catch (Exception e) {
System.out.println("Error: " + e.toString() + e.getMessage());
class PassDB extends javax.swing.JFrame implements ActionListener {
String username = "", password = "";
JTextField uname = new JTextField(10);
JTextField pword = new JTextField(10);
// JPasswordField pword = new JTextField(10);
PassDB() {
super("duBe's database logon");
setSize(220, 160);
setDefaultCloseOperation(EXIT_ON_CLOSE);
JPanel pane = new JPanel();
JLabel unameLabel = new JLabel ("Username: ");
JLabel pwordLabel = new JLabel ("Password: ");
JButton submit = new JButton("OK");
submit.addActionListener(this);
pane.add(unameLabel);
pane.add(uname);
pane.add(pwordLabel);
pane.add(pword);
pane.add(submit);
setContentPane(pane);
setVisible(true);
public void actionPerformed(ActionEvent evt) {
PassDB clicked = (PassDB)evt.getSource();
username = uname.getText();
password = pword.getText();
This code generates two errors, stating:
C:\Java_progs>javac DBQuery1.java
DBQuery1.java:14: non-static variable username cannot be referenced from a static context
Connection conn = DriverManager.getConnection(data, "" +
username, "" + password);
^
DBQuery1.java:14: non-static variable password cannot be referenced from a static context
Connection conn = DriverManager.getConnection(data, "" +
username, "" + password);
^
2 errors*****************************
The code works when I remove the reference to the variables "username" & "password" in Connection "conn" call & replace them with the actual username & password, but this is not exactly what I was after. I was hoping to make the program responsive to each individual user, not set in code.
I also would like to make the program pause after the call in "main" to "PassDB" to wait for "PassDB" to exit before continuing.
I would also like to make "PassDB" destroy itself after the "OK" button is pressed & the "username" & "password" set.
If that isn't enough for you, I would really like the program to search 2 different database tables, return their values & compare them to be sure that they are the same.
When I try & search 2 different tables, as in:
ResultSet rec = st.executeQuery(
"SELECT Title, ContactID, First, Last, Dear FROM Contacts "
+ "WHERE (Title='Mr') ORDER BY ContactID");
ResultSet rec2 = st.executeQuery(
"SELECT Subject, ContactID FROM Calls "
+ "WHERE (Subject Is Not Null) ORDER BY ContactID")javac tells me that "ResultSet" is set to null 0
As always, I am extremely appreciative of any assistance you are able to offer.
Kind regards
duBedat
[email protected]This is where I'm at now:
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.sql.*;
public class DBQuery {
static String username = "" ;
static String password = "" ;
public static void main(String[] arguments) {
PassDB UPass = new PassDB();
String data = "jdbc:odbc:JavaTestDataBase";
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection conn = DriverManager.getConnection(data, "" + DBQuery.username, "" + DBQuery.password);
Statement st = conn.createStatement();
ResultSet rec = st.executeQuery(
"SELECT Title, ContactID, First, Last, Dear FROM Contacts "
+ "WHERE (Title='Mr') ORDER BY ContactID");
/* ResultSet rec2 = st.executeQuery(
"SELECT Subject, ContactID FROM Calls "
+ "WHERE (Subject Is Not Null) ORDER BY ContactID");
System.out.println("\nFirst Name\tSurname\t\tNick Name\t\tSubject\n");
while(rec.next()) {
System.out.println(rec.getString(3) + "\t\t" + rec.getString(4) + "\t\t" + rec.getString(5) /* + rec2.getString(1) */ );
st.close();
catch (SQLException s) {
System.out.println("SQL Error: " + s.toString() + " " + s.getErrorCode() + " " + s.getSQLState());
catch (Exception e) {
System.out.println("Error: " + e.toString() + e.getMessage());
class PassDB extends javax.swing.JFrame implements ActionListener {
static boolean getOut = false;
JTextField uname = new JTextField(10);
JTextField pword = new JTextField(10);
// JPasswordField pword = new JTextField(10);
public PassDB() {
super("duBe's database logon");
setSize(220, 160);
setDefaultCloseOperation(EXIT_ON_CLOSE);
JPanel pane = new JPanel();
JLabel unameLabel = new JLabel ("Username: ");
JLabel pwordLabel = new JLabel ("Password: ");
JButton submit = new JButton("OK");
submit.addActionListener(this);
pane.add(unameLabel);
pane.add(uname);
pane.add(pwordLabel);
pane.add(pword);
pane.add(submit);
setContentPane(pane);
while(getOut == false)
setVisible(true);
public void actionPerformed(ActionEvent evt) {
PassDB clicked = (PassDB)evt.getSource();
DBQuery.username = uname.getText();
DBQuery.password = pword.getText();
getOut = true;
} Any advice is greatly appreciated
duBe -
Goto Responsiblity Page without Username/Password !!
Hi all,
In 11.5.10.2, Is it possible to go to the Responsibility page without issuing the username and password?
In 10g Application server we are able to do this by adding the following line in
formsweb.cfg under ORACLE_HOME/forms90/server:
[example]
userid= test/test@db_name
After saving this file we restart the forms service.
see the url below:
url : http://host-name.domain-name/forms90/f90servlet?config=[example]&form=<location_of_main_form>.fmx
Now we are able to access the forms and it wont ask for username/password.
Is it poosible to do the same in 11.5.10.2 ?
Thanks,
MaheshMahesh,
There is no supported way to pass the application username/password and skip the main login page. You can pass the username only in the application URL by adding "username=<username>" to the application URL.
What is the point of accessing the responsibility page without entering the username/password?
Regards,
Hussein -
Setting Username/Password in Application.cfm
I'm just moving my DB from Access over to MSSql, and I'm
having difficulty figuring out how to set a global
username/password in Application.cfm.
I am able to set the username and password within the
individual queries (using username= and password=) but I'd like to
set the username and password within application.cfm so I do not
have to go and change each and every cfquery statement throughout
my site.
So, essentially, I'm looking to insert code int he
Application.cfm which logs into the MSSQL server, so whenever a
cfquery is executed, the db is already logged into.
Thanks!
AndrewYou can set application variables for your user name and
password within application.cfm, then use those variables in your
cfquery and cfstoredproc tags. That will allow you to change the
value in one place instead of having to do it everywhere. As for
staying logged on to the server, you may want to consider checking
the Maintain Connections option in your advanced settings for your
particular data source in ColdFusion Administrator.
Phil -
HTTPS over a Proxy!! Set up of username/password
I am transferring over https to a receving servlet over a Proxy.
How do I specify the username and password for the Proxy in my
application ,if the proxy server supports this.
I have configured my application to send it over a Proxy with:
https.proxyHost = <Proxy Host>
https.proxyPort = 0000
or
System.setProperty("https.proxyHost","Proxy Host");
System.setProperty("https.proxyPort","8080");
How can I set the Property for Username and Password too?
Please does any one know this?
ajay
[email protected]Or you could use the Authenticator class
in JDK.
class MyAuth extends Authenticator {
protected PasswordAuthentication getPasswordAuthentication() {
System.out.println("The realm '" + getRequestingPrompt() +
"' at '" + getRequestingHost() + ":" + getRequestingPort() +
"'\n" + "using " + getRequestingProtocol() + " is requesting " +
getRequestingScheme().toUpperCase() + " authentication.");
System.out.println("");
System.out.println("What should we send them? Let's send them ...");
System.out.println("");
return new PasswordAuthentication("username", "password".toCharArray());
// set to the authenticator you want to use.
Authenticator.setDefault(new myAuth());
URL url =
new URL("http://www.some.com/something_protected/index.htm"); -
Setting cookie to save username/password information
Hello,
I have created an Application in PhP/MySql. The Mysql database used by my application is hosted by my website provider. The problem is the website provider has set the Timeout of 1 minute for connection to database.So, if there is inactivity of more than 1 minute then user is logged out and he has to Login Again. To resolve this issue I want to store Username/Password as cookie in my browser, so that the user is not logged out again and again. I created by application using Dreamweaver CS4 and used its Login Server Behaviour to create my login page.I would really appreciate if someone can guide me about setting cookies in a dreamweaver created login page.
ThanksHello,
I also tried setting up the cookies to prevent user being logged out due to inactivity but soon realized it is not going to help me, once I looked closely looked on authentication code.I then called my website provider and told them about the issue. The technical support gotten back to me telling that
they have noticed that the session path for my account was not set properly and they have set it again.This seems to have resolved the issue!
Thanks all for your help! -
When starting Mozilla Firefox 3.6, I get an error window which opens up additionally overtop my browser windows stating:
"Javascript Application"
followed with :
"Invalid username/password combination. If you continue to get this error, try entering your email address as your username."
Obviously it is happening with one of my email addresses/usernames & password combinations of which I know the username for (which I choose not to post here) and I'm not sure where to begin looking for a resolution to this problem.I was able to resolve this by disabling (under Tools - Add-ons) Yahoo! Mail Notifier
Hope this helps some of you also! -
Hi,on starting firefox which i have used solely as my browser for years i am now getting an error message from java script application that shows my username followed by a message saying; 'username'-Invalid username/password combination.If you keep getting this error,try entering your email address as your username'. I then press the OK button within that error message box and it dissapears and everything seems ok although hover my cursor over the mail(envelope) icon and it says not connected.
I only started having this problem since downloading firefox 4.It also does not tell me where this problem is occuring so i do not know where to log on with this information.I would be most grateful for any help with this matter.Many thanks.Take a look in the Error Console for details about that.
Tools > Error Console <br />
Right-click the message and use '''Copy''' to get that complete message. -
Every time I start up Firefox, I get the following:
JavaScript Application
"mfernandez1957" Invalid username/password combination. If you continue to get this error, try entering your email address as your username.
What do I do?
Another issue is hang ups, I mean every few seconds it hangs up and I get (Not Responding), which is frustrating when you're entering data or whatever and in the middle it freezes so then you have to go back and retype stuff that never got entered. It even hangs right out the gate, I get (Not Responding), I mean, before Firefox is even fully loaded, it hangs, it even hangs (though considerably less frequently) with all my plug ins currently disabled. So that's another issue.
If y'all can help, I would be grateful.hello, please try to [[Reset Firefox – easily fix most problems|reset firefox]] and see if this can address the issue...
-
Set up username & password "admin" are not accepted by the Set Up page
I hope someone can help.
When I finished setting up the router via the cd-set up wizard, I tried getting into the Set Up page via the Internet Explorer.
It does not accept the username & password "admin" that is mentionned in the set-up manual.
Please help.
Thank youNot too hard to know. It's documented. But what's really interesting is that it's not always true. With some Linksys products, even though the manual and tech support say leave user name blank, you actually have to type in 'admin'!
-
Problem while setting username password to router
Hi,
i am trying to connect to router using java program. i am connecting with out any problem.
while giving the credentials like username and password i can't placing the original username
password.instead some thing is setted.
here is my code
public class ConnectRouter
public static void main(String[] args) throws Exception {
try
if (args.length != 2) {
System.err.println("Usage: java router username and password");
System.exit(1);
String password = URLEncoder.encode(args[0], "US-ASCII");
String username=URLEncoder.encode(args[1],"US-ASCII");
URL url = new URL("http://192.168.0.75:23");
URLConnection connection = url.openConnection();
connection.setDoOutput(true);
System.out.println("connection obj got");
PrintWriter out = new PrintWriter(connection.getOutputStream());
out.println(username);----------------------------------------------------------------------------------------------->passing username
out.println(password);------------------------------------------------------------------------------------------------>passing password
Process p = Runtime.getRuntime().exec("cmd /c perl C:\\perlsrc\\uname.pl");
// out.println(args[0]);
System.out.println("-----------connected---------------");
out.close();
BufferedReader in = new BufferedReader(new InputStreamReader(connection.getInputStream()));
String inputLine;
while ((inputLine = in.readLine()) != null)
System.out.println(inputLine);
in.close();
}catch(Exception e){e.printStackTrace();}
}output is as follows:
connection obj got
-----------connected---------------
ÿûÿûÿýÿý
User Access Verification
Username: POST / HTTP/1.1--------------------------------------->here something is placed instead of my username
Password:
% Authentication failed.
Username: Host: 192.168.0.75:23--------------------------------->here something is placed instead of my username
Password:
% Authentication failed.
Username: Connection: keep-alive
Password:
% Authentication failed.
Process exited with exit code 0.
please explain me where i am missing???
Regards,
NagarajuHi ejp,
i done as follows even i am getting same problem
please help me
public class ConnectRouter extends Authenticator
static String username,password;
public static void main(String[] args) throws Exception
Authenticator.setDefault(new ConnectRouter());
try
if (args.length != 2) {
System.err.println("Usage: java router username and password");
System.exit(1);
password = URLEncoder.encode(args[0], "US-ASCII");
username=URLEncoder.encode(args[1],"US-ASCII");
URL url = new URL("http://192.168.0.75:23");
URLConnection connection = url.openConnection();
connection.setDoOutput(true);
System.out.println("connection obj got");
PrintWriter out = new PrintWriter(connection.getOutputStream());
out.println(username);
out.println(password);
Process p = Runtime.getRuntime().exec("cmd /c perl C:\\perlsrc\\uname.pl");
// out.println(args[0]);
System.out.println("-----------connected---------------");
out.close();
BufferedReader in = new BufferedReader(new InputStreamReader(connection.getInputStream()));
String inputLine;
while ((inputLine = in.readLine()) != null)
System.out.println(inputLine);
in.close();
}catch(Exception e){e.printStackTrace();}
//@ovverriding the getPasswordAuhtentication method
protected PasswordAuthentication getPasswordAuthentication()
System.out.println("int the password authentication method");
return new PasswordAuthentication(username,password.toCharArray());
}output::
connection obj got
-----------connected---------------
ÿûÿûÿýÿý
User Access Verification
Username: POST / HTTP/1.1--------------------------------------->here something is placed instead of my username
Password:
% Authentication failed.
Username: Host: 192.168.0.75:23--------------------------------->here something is placed instead of my username
Password:
% Authentication failed.
Username: Connection: keep-alive
Password:
% Authentication failed.
Process exited with exit code 0.
please explain me where i am missing again???
Thanks in advance,
Nagaraju. -
How to set username/password in OSB Business Service
Hi
I need to call thirt party http service that utilizes Http Basic authentication i.e. username / password. If I call the same service through Oracle SOA I can either
put the username/password inside composite.xml but that way the password is visible. So have set the usrname/password insid the console.
Now want to use OSB to call the sam service. Created business service but where do I add the username/password. Is there a plac inside sbconsole I can set the username password.
ThanksYou must a "Service Account" available in OSB and assosciate it with the Business service you invoke.
Maybe you are looking for
-
Impact of force_logging on standby database in 10g?
Hi there, We have a 10.2.0.5 database from which we want to setup a standby database... We took a hot backup of the primary and send it to the standby server but at that time we realized that force logging is not enabled at the Primary before we took
-
New Laptop - itunes will not work
I had itunes installed on my old laptop and it worked fine with my ipod touch ( 2.2.1). Now I have a new laptop, have installed itunes and every time i connect my ipod touch i get the message saying "itune has stopped working - windows is searching f
-
The relationship between SAP BusinessObjects XI 4.0 and WebIntelligence 6
A lot of APIs in Rebean\ Report Engine Java SDK are disfunctional in BI 4.0 and there is no replacement. [Rebean Developer Guide|http://help.sap.com/businessobject/product_guides/boexir4/en/xi4_resdk_java_dg_en.pdf] say: SAP BusinessObjects XI 4.0 re
-
Storing the file in to the sql server 2005 table
hi,every body... in my appliaction i need to store the files. i have searched the net but only i found as BLOB(Binary L:arge OBject) is the solution, how to use this blob...technique.. can any one send some sample of code to explain....... how to ins
-
How to get location of file path.
I have uploaded the file but i need the path from where it is located.How to get it dynamically... Thanks Nitti