Could not create pool connection. The DBMS driver exception was:java.sql.SQLException: ORA-01017: invalid username/password

Could not create pool connection.The DBMS driver exception was:java.sql.SQLException:
ORA-01017: invalid username/password
Even though I could able to connect to Oracle database using correct userid,password
and HostString using OracleClient, I couldnt able to do with connectionpool. Here
is the error message..
<Jan 21, 2003 2:27:50 AM PST> <Notice> <WebLogicServer> <Starting WebLogic Admin
Server "examplesServer" for domain "examples">
Starting Loading jDriver/Oracle .....
---------- LOGIN ERROR CODE: 1017
---------- LOGIN ERROR CODE: 1017
<Jan 21, 2003 2:28:06 AM PST> <Error> <JDBC> <Cannot startup connection pool "or
aclePool" weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
java.sql.SQLException: ORA-01017: invalid username/password; logon denied - (Obj
ectel/********@ora8i)
at weblogic.db.oci.OciConnection.getLDAException(OciConnection.java:164)
at weblogic.jdbc.oci.Driver.connect(Driver.java:112)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
nectionEnvFactory.java:193)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
nectionEnvFactory.java:134)
at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllo
cator.java:698)
at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.j
ava:282)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
ava:623)
at weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
oymentTarget.java:329)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Dep
loymentTarget.java:279)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploy
ments(DeploymentTarget.java:233)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(
DeploymentTarget.java:193)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy45.updateDeployments(Unknown Source)
at weblogic.management.configuration.ServerMBean_CachingStub.updateDeplo
yments(ServerMBean_CachingStub.java:2761)
at weblogic.management.mbeans.custom.ApplicationManager.startConfigManag
er(ApplicationManager.java:370)
at weblogic.management.mbeans.custom.ApplicationManager.start(Applicatio
nManager.java:160)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy64.start(Unknown Source)
at weblogic.management.configuration.ApplicationManagerMBean_CachingStub
.start(ApplicationManagerMBean_CachingStub.java:480)
at weblogic.management.Admin.startApplicationManager(Admin.java:1180)
at weblogic.management.Admin.finish(Admin.java:590)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:518)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
at weblogic.Server.main(Server.java:35)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
nectionEnvFactory.java:209)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
nectionEnvFactory.java:134)
at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllo
cator.java:698)
at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.j
ava:282)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
ava:623)
at weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
oymentTarget.java:329)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Dep
loymentTarget.java:279)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploy
ments(DeploymentTarget.java:233)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(
DeploymentTarget.java:193)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy45.updateDeployments(Unknown Source)
at weblogic.management.configuration.ServerMBean_CachingStub.updateDeplo
yments(ServerMBean_CachingStub.java:2761)
at weblogic.management.mbeans.custom.ApplicationManager.startConfigManag
er(ApplicationManager.java:370)
at weblogic.management.mbeans.custom.ApplicationManager.start(Applicatio
nManager.java:160)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy64.start(Unknown Source)
at weblogic.management.configuration.ApplicationManagerMBean_CachingStub
.start(ApplicationManagerMBean_CachingStub.java:480)
at weblogic.management.Admin.startApplicationManager(Admin.java:1180)
at weblogic.management.Admin.finish(Admin.java:590)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:518)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
at weblogic.Server.main(Server.java:35)
>
<Jan 21, 2003 2:28:14 AM PST> <Notice> <Management> <Application Poller started
for development server.>
<Jan 21, 2003 2:28:19 AM PST> <Notice> <WebLogicServer> <ListenThread listening
on port 7001>
<Jan 21, 2003 2:28:19 AM PST> <Notice> <WebLogicServer> <SSLListenThread listeni
ng on port 7002>
<Jan 21, 2003 2:28:20 AM PST> <Notice> <Management> <Starting discovery of Manag
ed Server... This feature is on by default, you may turn this off by passing -Dw
eblogic.management.discover=false>
<Jan 21, 2003 2:28:20 AM PST> <Notice> <WebLogicServer> <Started WebLogic Admin
Server "examplesServer" for domain "examples" running in Development Mode>

URL=jdbc:weblogic:oracle:oracle8i(server)
Driver Classname=weblogic.jdbc.oci.Driver
AClname=weblogic.jdbc.connectionPool.oraclePool
intialcapacity=1
MaximumCapacity=10
Capacity Increment=2
Login Delay Seconds=1sec
Refresh Period=15 Minutes
Supports Local Transaction=No
Allow Shrinking=No
Shrink Period=15
Prepared Statement Cache Size=10
TargetServer=ExamplesServer
Properties
user=Objectel
password=superman
Test table=yes
Test Reserved Connections=yes
Test Released Connections=Yes
I could able to connect to oracledataBase if I use
user=scott
password=tiger
with any other database user Iam getting the following error
Could not create pool connection. The DBMS driver exception was:java.sql.SQLException:
ORA-01017: invalid username/password
"Neo Gigs" <[email protected]> wrote:
By end of the error you shown:
<Jan 21, 2003 2:28:20 AM PST> <Notice> <WebLogicServer> <Started WebLogicAdmin
Server "examplesServer" for domain "examples" running in DevelopmentMode>
You are running the Examples application shipped with WLS, which I guest
the
correct DB to connect with is Cloudscape yet to Oracle, unless you make
changes to the original ConnectionPool in the examples. Anyhow, please
show
us your configuration of the ConnectionPool used when this error pops.
"Raj" <[email protected]> wrote in message
news:[email protected]...
Could not create pool connection.The DBMS driver exceptionwas:java.sql.SQLException:
ORA-01017: invalid username/password
Even though I could able to connect to Oracle database using correctuserid,password
and HostString using OracleClient, I couldnt able to do withconnectionpool. Here
is the error message..
<Jan 21, 2003 2:27:50 AM PST> <Notice> <WebLogicServer> <Starting WebLogicAdmin
Server "examplesServer" for domain "examples">
Starting Loading jDriver/Oracle .....
---------- LOGIN ERROR CODE: 1017
---------- LOGIN ERROR CODE: 1017
<Jan 21, 2003 2:28:06 AM PST> <Error> <JDBC> <Cannot startup connectionpool "or
aclePool" weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
java.sql.SQLException: ORA-01017: invalid username/password; logondenied - (Obj
ectel/********@ora8i)
atweblogic.db.oci.OciConnection.getLDAException(OciConnection.java:164)
at weblogic.jdbc.oci.Driver.connect(Driver.java:112)
atweblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
nectionEnvFactory.java:193)
atweblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
nectionEnvFactory.java:134)
atweblogic.common.internal.ResourceAllocator.makeResources(ResourceAllo
cator.java:698)
atweblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.j
ava:282)
atweblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
ava:623)
atweblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
atweblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
oymentTarget.java:329)
atweblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Dep
loymentTarget.java:279)
atweblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploy
ments(DeploymentTarget.java:233)
atweblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(
DeploymentTarget.java:193)
at java.lang.reflect.Method.invoke(Native Method)
atweblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
atweblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
java:621)
atweblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy45.updateDeployments(Unknown Source)
atweblogic.management.configuration.ServerMBean_CachingStub.updateDeplo
yments(ServerMBean_CachingStub.java:2761)
atweblogic.management.mbeans.custom.ApplicationManager.startConfigManag
er(ApplicationManager.java:370)
atweblogic.management.mbeans.custom.ApplicationManager.start(Applicatio
nManager.java:160)
at java.lang.reflect.Method.invoke(Native Method)
atweblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
atweblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
java:621)
atweblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy64.start(Unknown Source)
atweblogic.management.configuration.ApplicationManagerMBean_CachingStub
start(ApplicationManagerMBean_CachingStub.java:480)
atweblogic.management.Admin.startApplicationManager(Admin.java:1180)
at weblogic.management.Admin.finish(Admin.java:590)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:518)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
at weblogic.Server.main(Server.java:35)
atweblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
nectionEnvFactory.java:209)
atweblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
nectionEnvFactory.java:134)
atweblogic.common.internal.ResourceAllocator.makeResources(ResourceAllo
cator.java:698)
atweblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.j
ava:282)
atweblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
ava:623)
atweblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
atweblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
oymentTarget.java:329)
atweblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Dep
loymentTarget.java:279)
atweblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploy
ments(DeploymentTarget.java:233)
atweblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(
DeploymentTarget.java:193)
at java.lang.reflect.Method.invoke(Native Method)
atweblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
atweblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
java:621)
atweblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy45.updateDeployments(Unknown Source)
atweblogic.management.configuration.ServerMBean_CachingStub.updateDeplo
yments(ServerMBean_CachingStub.java:2761)
atweblogic.management.mbeans.custom.ApplicationManager.startConfigManag
er(ApplicationManager.java:370)
atweblogic.management.mbeans.custom.ApplicationManager.start(Applicatio
nManager.java:160)
at java.lang.reflect.Method.invoke(Native Method)
atweblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
atweblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
java:621)
atweblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy64.start(Unknown Source)
atweblogic.management.configuration.ApplicationManagerMBean_CachingStub
start(ApplicationManagerMBean_CachingStub.java:480)
atweblogic.management.Admin.startApplicationManager(Admin.java:1180)
at weblogic.management.Admin.finish(Admin.java:590)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:518)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
at weblogic.Server.main(Server.java:35)
>
<Jan 21, 2003 2:28:14 AM PST> <Notice> <Management> <Application Pollerstarted
for development server.>
<Jan 21, 2003 2:28:19 AM PST> <Notice> <WebLogicServer> <ListenThreadlistening
on port 7001>
<Jan 21, 2003 2:28:19 AM PST> <Notice> <WebLogicServer> <SSLListenThreadlisteni
ng on port 7002>
<Jan 21, 2003 2:28:20 AM PST> <Notice> <Management> <Starting discoveryof
Manag
ed Server... This feature is on by default, you may turn this off bypassing -Dw
eblogic.management.discover=false>
<Jan 21, 2003 2:28:20 AM PST> <Notice> <WebLogicServer> <Started WebLogicAdmin
Server "examplesServer" for domain "examples" running in DevelopmentMode>

Similar Messages

  • Could not create pool connection. the dbms driver exception was : null

    Hi,
    I am creating Data source to connect to my DB2 database
    Details of the connections are as follows
    1) URL : jdbc:as400://hostname;translate binary=true
    2) Driver class : com.ibm.as400.access.AS400JDBCDriver
    am getting following error when I am trying to deploy the data source to server
    An error occurred during activation of changes, please see the log for details.
    weblogic.application.ModuleException:
    weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: null
    Connection is successful using test configuration.
    Weblogic Version am using is 10.3.
    Please help.
    Thanks,
    Arun

    Hi. That means the JDBC driver you specified threw a NullPointerException
    when we tried to make a connection with it...
    Can you show the XML file for the DataSource? It's in the domain's
    config/jdbc directory.

  • Could not create pool connection with MySql

    When starting weblogic server I obtain the following error message when the conection
    pool for a MySql database should be established. What's the mistake I am doing? #The
    examples in the weblogic.properties put a "server=DEMO to the props. What is this
    server related to the MySql RDBMS? Is it mandatory? After the error message produced
    by Weblogic you'll find some information about the MySql setup (my.ini) I have made.
    Mi Mai 01 01:33:50 CEST 2002:<I> <WebLogicServer> Invoking main-style startup weblogic.jdbc.common.internal.JdbcStartup
    weblogic.jdbc.common.internal.JdbcStartup
    Mi Mai 01 01:33:50 CEST 2002:<I> <JDBC Pool> Creating connection pool ejbTestPool
    with:
    {aclName=weblogic.jdbc.connectionPool.ejbTestPool, maxCapacity=2, initialCapacity=1,
    url=jdbc:mysql://Blizzard:3306/ejbTest, props=user=du-it;password=du-it;server=3.23.4
    9-nt, capacityIncrement=1, driver=org.gjt.mm.mysql.Driver, poolName=ejbTestPool}
    Mi Mai 01 01:33:50 CEST 2002:<I> <JDBC Pool> Sleeping in createResource()
    Mi Mai 01 01:33:51 CEST 2002:<E> <JDBC Pool> Failed to create connection pool "ejbTes
    tPool"
    weblogic.common.ResourceException: weblogic.common.ResourceException:
    Could not create pool connection. The DBMS driver exception was:
    java.sql.SQLException: Invalid authorization specification: Access denied for user:
    du-it@blizzard' (Using password: YES)
    at org.gjt.mm.mysql.MysqlIO.init(MysqlIO.java:278)
    at org.gjt.mm.mysql.Connection.<init>(Connection.java:230)
    at org.gjt.mm.mysql.Driver.connect(Driver.java:126)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Connecti
    onEnvFactory.java:146)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Connecti
    onEnvFactory.java:108)
    at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator
    .java:771)
    at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:4
    16)
    at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:3
    30)
    at weblogic.jdbc.common.internal.JdbcInfo.initPools(JdbcInfo.java:117)
    at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
    at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
    at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java:109)
    at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Connecti
    onEnvFactory.java:154)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Connecti
    onEnvFactory.java:108)
    at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator
    .java:771)
    at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:4
    16)
    at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:3
    30)
    at weblogic.jdbc.common.internal.JdbcInfo.initPools(JdbcInfo.java:117)
    at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
    at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
    at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java:109)
    at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Connecti
    onEnvFactory.java:124)
    at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator
    .java:771)
    at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:4
    16)
    at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:3
    30)
    at weblogic.jdbc.common.internal.JdbcInfo.initPools(JdbcInfo.java:117)
    at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
    at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
    at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java:109)
    at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)
    MySql:
    #This File was made using the WinMySQLAdmin 1.4 Tool
    #29.04.2002 14:46:57
    #Uncomment or Add only the keys that you know how works.
    #Read the MySQL Manual for instructions
    [mysqld]
    basedir=D:/db/mysql
    #bind-address=169.254.102.136
    datadir=D:/db/mysql/data
    #anguage=D:/db/mysql/share/german
    #slow query log#=
    #tmpdir#=
    port=3306
    #set-variable=key_buffer=16M
    [WinMySQLadmin]
    Server=D:/db/mysql/bin/mysqld-nt.exe
    user=du-it
    password=du-it

    When starting weblogic server I obtain the following error message when the conection
    pool for a MySql database should be established. What's the mistake I am doing? #The
    examples in the weblogic.properties put a "server=DEMO to the props. What is this
    server related to the MySql RDBMS? Is it mandatory? After the error message produced
    by Weblogic you'll find some information about the MySql setup (my.ini) I have made.
    Mi Mai 01 01:33:50 CEST 2002:<I> <WebLogicServer> Invoking main-style startup weblogic.jdbc.common.internal.JdbcStartup
    weblogic.jdbc.common.internal.JdbcStartup
    Mi Mai 01 01:33:50 CEST 2002:<I> <JDBC Pool> Creating connection pool ejbTestPool
    with:
    {aclName=weblogic.jdbc.connectionPool.ejbTestPool, maxCapacity=2, initialCapacity=1,
    url=jdbc:mysql://Blizzard:3306/ejbTest, props=user=du-it;password=du-it;server=3.23.4
    9-nt, capacityIncrement=1, driver=org.gjt.mm.mysql.Driver, poolName=ejbTestPool}
    Mi Mai 01 01:33:50 CEST 2002:<I> <JDBC Pool> Sleeping in createResource()
    Mi Mai 01 01:33:51 CEST 2002:<E> <JDBC Pool> Failed to create connection pool "ejbTes
    tPool"
    weblogic.common.ResourceException: weblogic.common.ResourceException:
    Could not create pool connection. The DBMS driver exception was:
    java.sql.SQLException: Invalid authorization specification: Access denied for user:
    du-it@blizzard' (Using password: YES)
    at org.gjt.mm.mysql.MysqlIO.init(MysqlIO.java:278)
    at org.gjt.mm.mysql.Connection.<init>(Connection.java:230)
    at org.gjt.mm.mysql.Driver.connect(Driver.java:126)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Connecti
    onEnvFactory.java:146)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Connecti
    onEnvFactory.java:108)
    at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator
    .java:771)
    at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:4
    16)
    at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:3
    30)
    at weblogic.jdbc.common.internal.JdbcInfo.initPools(JdbcInfo.java:117)
    at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
    at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
    at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java:109)
    at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Connecti
    onEnvFactory.java:154)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Connecti
    onEnvFactory.java:108)
    at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator
    .java:771)
    at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:4
    16)
    at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:3
    30)
    at weblogic.jdbc.common.internal.JdbcInfo.initPools(JdbcInfo.java:117)
    at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
    at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
    at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java:109)
    at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Connecti
    onEnvFactory.java:124)
    at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator
    .java:771)
    at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:4
    16)
    at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:3
    30)
    at weblogic.jdbc.common.internal.JdbcInfo.initPools(JdbcInfo.java:117)
    at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
    at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
    at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java:109)
    at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)
    MySql:
    #This File was made using the WinMySQLAdmin 1.4 Tool
    #29.04.2002 14:46:57
    #Uncomment or Add only the keys that you know how works.
    #Read the MySQL Manual for instructions
    [mysqld]
    basedir=D:/db/mysql
    #bind-address=169.254.102.136
    datadir=D:/db/mysql/data
    #anguage=D:/db/mysql/share/german
    #slow query log#=
    #tmpdir#=
    port=3306
    #set-variable=key_buffer=16M
    [WinMySQLadmin]
    Server=D:/db/mysql/bin/mysqld-nt.exe
    user=du-it
    password=du-it

  • Error on DS creation (ResourceException: Could not create pool connection)

    Hi,
    When trying to create a DS on a WLS 10.3 on Windows Vista to connect to an Oracle 10.2.0.4 RAC database, I am getting the exception below. I use the OCI driver. Everything's fine when I use the thin driver though.
    <Jan 31, 2009 9:56:56 AM AST> <Warning> <JDBC> <BEA-001129> <Received exception while creating connection for pool "EPDVDS":
    <Jan 31, 2009 9:56:57 AM AST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with I
    D '1233385014499' for task 'weblogic.deploy.configChangeTask.0'. Error is: 'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
    at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:289)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
    Truncated. see log file for complete stacktrace
    weblogic.common.ResourceException: weblogic.common.ResourceException: Could not create pool connection. The DBMS driver excep
    tion was:
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:253)
    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1109)
    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1033)
    at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:214)
    at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1051)
    Truncated. see log file for complete stacktrace
    <Jan 31, 2009 9:56:57 AM AST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating activate task for ap
    plication 'EPDVDS'.>
    <Jan 31, 2009 9:56:57 AM AST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException:
    at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:289)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
    Truncated. see log file for complete stacktrace
    weblogic.common.ResourceException: weblogic.common.ResourceException: Could not create pool connection. The DBMS driver excep
    tion was:
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:253)
    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1109)
    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1033)
    at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:214)
    at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1051)
    Truncated. see log file for complete stacktrace
    <Jan 31, 2009 9:56:58 AM AST> <Error> <Console> <BEA-240003> <Console encountered the following error weblogic.application.Mo
    duleException:
    at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:289)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:42)
    at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
    at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:16)
    at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:155)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.jav
    a:197)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:89)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:723)
    at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1190)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:216)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentRece
    iverCallbackDeliverer.java:157)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.prepare(DeploymentReceiverCallba
    ckDeliverer.java:40)
    at weblogic.deploy.service.internal.statemachines.targetserver.AwaitingContextUpdateCompletion.callDeploymentReceiver
    s(AwaitingContextUpdateCompletion.java:164)
    at weblogic.deploy.service.internal.statemachines.targetserver.AwaitingContextUpdateCompletion.handleContextUpdateSuc
    cess(AwaitingContextUpdateCompletion.java:66)
    at weblogic.deploy.service.internal.statemachines.targetserver.AwaitingContextUpdateCompletion.contextUpdated(Awaitin
    gContextUpdateCompletion.java:32)
    at weblogic.deploy.service.internal.targetserver.TargetDeploymentService.notifyContextUpdated(TargetDeploymentService
    .java:225)
    at weblogic.deploy.service.internal.DeploymentService$1.run(DeploymentService.java:189)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: weblogic.common.ResourceException: weblogic.common.ResourceException: Could not create pool connection. The DBMS d
    river exception was:
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:253)
    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1109)
    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1033)
    at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:214)
    at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1051)
    at weblogic.jdbc.common.internal.ConnectionPool.start(ConnectionPool.java:146)
    at weblogic.jdbc.common.internal.ConnectionPoolManager.createAndStartPool(ConnectionPoolManager.java:385)
    at weblogic.jdbc.common.internal.ConnectionPoolManager.createAndStartPool(ConnectionPoolManager.java:326)
    at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:251)

    Hi,
    I am also using OCI driver, as some of the functions for XMLType are not supported by thin driver.
    I am getting similar error, as mentioned in the thread as
    <BEA-001129> <Received exception while creating connection for pool "11g_Connection": >
    oracle.adf.share.config.ADFConfigFactory cleanUpApplicationState
    INFO: Cleaning up application state
    weblogic.application.ModuleException:
         at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:289)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
         Truncated. see log file for complete stacktrace
    weblogic.common.ResourceException: weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was:
         at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:253)
         at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1109)
         at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1033)
         at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:214)
         at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1051)
         Truncated. see log file for complete stacktrace
    I have already tested with a standalone program and it works, but error is thrown with weblogic server.
    My connection string is jdbc:oracle:oci:@//localhost:1521/orcl11
    Any ideas on how this error can be avoided?
    Thanks
    Raji

  • Could not create pool connection

    After running the server, when I am continously firing queries on the server. The server is giving this error for some of the queries. But it is working for other cases. Any idea why this error is coming?
    database : informix
    <Jul 12, 2005 9:02:46 PM IST> <Notice> <WebLogicServer> <BEA-000355> <Thread "ListenThread.Default" listening on port 8881, ip address 23.248.10.15>
    <Jul 12, 2005 9:02:46 PM IST> <Notice> <Cluster> <BEA-000102> <Joining cluster GREFCluster on 237.0.0.1:7001>
    <Jul 12, 2005 9:02:46 PM IST> <Notice> <WebLogicServer> <BEA-000330> <Started WebLogic Managed Server "grefMaintManaged2" for domain "gref203" running in Production Mode>
    <Jul 12, 2005 9:02:46 PM IST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    <Jul 12, 2005 9:45:55 PM IST> <Debug> <Common> <BEA-000610> < > RP(GrefConnPool):parseExceptionMsg (10) msg = 19:Could not create pool connection. The DBMS driver exception was: null>
    <Jul 12, 2005 9:45:56 PM IST> <Debug> <Common> <BEA-000610> < < RP(GrefConnPool):parseExceptionMsg (100) count = 19>
    <Jul 12, 2005 9:46:00 PM IST> <Debug> <Common> <BEA-000610> < > RP(GrefConnPool):parseExceptionMsg (10) msg = 19:Could not create pool connection. The DBMS driver exception was: Message text will be provided in later releases java.lang.NullPointerException>
    <Jul 12, 2005 9:46:00 PM IST> <Debug> <Common> <BEA-000610> < < RP(GrefConnPool):parseExceptionMsg (100) count = 19>
    <Jul 12, 2005 10:01:00 PM IST> <Debug> <Common> <BEA-000610> < > RP(GrefConnPool):parseExceptionMsg (10) msg = 19:Could not create pool connection. The DBMS driver exception was: null>
    <Jul 12, 2005 10:01:00 PM IST> <Debug> <Common> <BEA-000610> < < RP(GrefConnPool):parseExceptionMsg (100) count = 19>

    Hi Anish. Very odd. What versio of weblogic are you running, and what Informix
    driver are you using?
    Joe
    Anish Mathur wrote:
    After running the server, when I am continously firing queries on the server. The server is giving this error for some of the queries. But it is working for other cases. Any idea why this error is coming?
    database : informix
    <Jul 12, 2005 9:02:46 PM IST> <Notice> <WebLogicServer> <BEA-000355> <Thread "ListenThread.Default" listening on port 8881, ip address 23.248.10.15>
    <Jul 12, 2005 9:02:46 PM IST> <Notice> <Cluster> <BEA-000102> <Joining cluster GREFCluster on 237.0.0.1:7001>
    <Jul 12, 2005 9:02:46 PM IST> <Notice> <WebLogicServer> <BEA-000330> <Started WebLogic Managed Server "grefMaintManaged2" for domain "gref203" running in Production Mode>
    <Jul 12, 2005 9:02:46 PM IST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    <Jul 12, 2005 9:45:55 PM IST> <Debug> <Common> <BEA-000610> < > RP(GrefConnPool):parseExceptionMsg (10) msg = 19:Could not create pool connection. The DBMS driver exception was: null>
    <Jul 12, 2005 9:45:56 PM IST> <Debug> <Common> <BEA-000610> < < RP(GrefConnPool):parseExceptionMsg (100) count = 19>
    <Jul 12, 2005 9:46:00 PM IST> <Debug> <Common> <BEA-000610> < > RP(GrefConnPool):parseExceptionMsg (10) msg = 19:Could not create pool connection. The DBMS driver exception was: Message text will be provided in later releases java.lang.NullPointerException>
    <Jul 12, 2005 9:46:00 PM IST> <Debug> <Common> <BEA-000610> < < RP(GrefConnPool):parseExceptionMsg (100) count = 19>
    <Jul 12, 2005 10:01:00 PM IST> <Debug> <Common> <BEA-000610> < > RP(GrefConnPool):parseExceptionMsg (10) msg = 19:Could not create pool connection. The DBMS driver exception was: null>
    <Jul 12, 2005 10:01:00 PM IST> <Debug> <Common> <BEA-000610> < < RP(GrefConnPool):parseExceptionMsg (100) count = 19>

  • The DBMS driver exception was: 166

    Hi, I have a problem with the creation of a pool using 'thin'. My weblogic is configured with option:
    -Doracle.net.tns_admin
    In tnsname i has configurate the conection and if i has a sqlplus coneccion is right, and driver for jdbc isin CLASSPATH.
    when i trie to make Pool in weblogic (weblogic 8 with SP6) this is message i obtain:
    <26-ene-2011 10H13' CET> <Warning> <JDBC> <BEA-001129> <Received exception while creating connection for pool "NuevoPool": 166>
    <26-ene-2011 10H13' CET> <Error> <JDBC> <BEA-001150> <Connection Pool "NuevoPool" deployment failed with the following error: 0:Could not create pool connection. The DBMS driver exception was: 166.>
    someone has idea where is the problem or some actions to find problem
    Thanks so much.

    Can you show us what happens when you try to connect using the driver directly to the DBMS,
    using the same properties, URL, and classpath as WebLogic, with a simple program like:
    ------------------------------------------------------------------------- thin.java ---------------------------------
    import java.util.*;
    import java.sql.*;
    public class thin
    public static void main(String argv[]) throws Exception
    Connection c = null;
    try
    Driver dr = new oracle.jdbc.OracleDriver();
    Properties props = new Properties();
    props.put("user", "scott");
    props.put("password", "tiger");
    String URL = "jdbc:oracle:thin:@MyDBMSBox:1531:MYSID";
    c = dr.connect(URL, props);
    System.out.println("The driver is " + c.getMetaData().getDriverVersion() );
    System.out.println("The DBMS is " + c.getMetaData().getDatabaseProductVersion() );
    catch (Exception e)
    e.printStackTrace();
    finally { try {c.close();} catch (Exception ign){} }
    }

  • SQL Developer connect to RAC12c (Basic) failed with ORA-01017 invalid username/password; logon denied

    I'm using scan in hostname to connect as Basic that failed ORA-01017.  I'm using the same credential system to logon from sqlplus and is fine.
    Any ideas?

    Essentially all you have said is: help me, I have a problem.
    1. full version of sql developer being used
    2. full version of Java SDK being used
    3. full version of JDBC jar file being used
    4. full details on the connection information being used
    5. full version of the Oracle client being used
    6. confirm that both your sql*plus and sql developer connections were made from the SAME machine
    A Basic connection uses the thin driver while sql*plus is using OCI

  • Could not create pool connection.  ORA-28000: the account is locked

    hi
    here what i did
    i was running my ADF page on 11g weblog normally and i tried to deploy it, and this error occured when deploying it
    and also now i cannot run my page from JDeveloper and the same error occure too
    please so so so urgent
    thanks

    This can happen on the first launch of the application on a reel weblogic server.
    This code will solve your problem. As SYSDBA :
    ALTER USER yourUserName ACCOUNT UNLOCK;
    regards
    Luc-

  • Connecting as sysdba returns ORA-01017: invalid username/password

    SQL Developer on my Win7 x64 Enterprise machine with Oracle 11gR2 Express was working fine until I tried to install the ODAC connectors so I could use Oracle as a data source for C# and VB in Visual Studio 2010.
    The connection properties are:
    Connection name "/ as sysdba"
    Role "default"
    Connection Type "basic"
    OS Authentication checked
    Hostname "localhost"
    Port 1521
    SID "orcl"
    These are the same as when SQL Developer was working.
    If I try to log on to SQL*Plus at the user-name prompt with "/ as sysdba", I get "insufficient privileges".
    Where and what do I check to fix this?
    Thanks.

    >
    Where would I check for DOMAIN/USER entries?
    select username, authentication_type from dba_users;With the prefix, there should be a database user e.g. "OPS$MYDOM\MYUSER" with external identification.
    But with Connection type Basic, I assume you would not be able to connect anyway.
    Try type TNS to see if that works or changes anything. (That is, if corresponding db user exists for OS authentication.)
    Do you have a requirement to use OS authentication? Could you instead use a database user with a password, i.e. uncheck OS Authentication in SQL Developer?
    The connections in SQL Developer are the Auto-Generated Local Connections:
    / as sysdbaI've found a few quirks in SQL Developer 3.0.04 with the auto-generated connection named "/ as sysdba". But right now I don't see that its relevant to this case.
    Just create your own connection instead. If you need sysdba administrative connection, change Role in connection properties.
    >
    By the way, the password for SYSMAN will expire in 5 days. How do I update the password?You should separate questions in separate threads and related forums, but lookup the ALTER USER command in the SQL Reference book.
    Edited by: orafad on Dec 4, 2011 11:47 PM
    Edit:
    parenthesis about os auth part
    Edited by: orafad on Dec 6, 2011 1:29 AM

  • IP/TV "Could not create RTSP connection with Program manager"

    Hello,
    When we try to view IP/TV content with the IP/TV viewer we are able to but when we try to view it through a webpage I recieve the error:
    "Could not create RTSP connection with Program manager"
    I have no idea what the problem is. Anyone have any input?
    Please see the attached image.

    The client, program manager and ip tvserver are all on the same local area network
    This URL should help you:
    http://www.cisco.com/en/US/customer/products/hw/contnetw/ps1863/index.html

  • The Windows support software could not be saved to the selected drive

    I am trying to use bootcamp assistant to set up windows 7 on my 27" iMac (late 2013). I follow the instructions: select all the tasks in the 'select tasks' pane, then I choose the 32GB MS-DOS (FAT-32) flash drive that I am using and the windows 7 home premium image file and click continue. In the Task Status pane, it first formats the flash drive, copies the windows files and downloads windows support software. However every time that I have tried this, when the progress bar is about 2/3 of the way finished -- during the 'Downloading Windows Support Software' task -- an error pops up saying that 'The Windows support software could not be saved to the selected drive' and brings me back to the task selection pane. Upon reading other articles, I have downloaded the latest bootcamp5.1.5621.zip file, but I don't know what to do with it. Any help is greatly appreciated,
    Thanks,
    Adam

    Just posting this for anyone else having this problem. I found that the problem was that I was using a USB 3.0 flash drive which is not natively supported by windows. So I think BCA was trying to prevent me from downloading all the files for no reason.

  • Why i receive errors: "The procedure entry point longjmp could not be found in the dynamic link lib. orauts.dll" and "Error ORA-12560"

    Hello,
    "C:\app\xps\product\11.2.0\dbhome_1"  where is my installation of database oracle enterprise 11g; I use Windows 7 Pro.
    I have in System PATH : C:\app\xps\product\11.2.0\dbhome_1\bin
    I have in HKEY_LOCAL_MACHINE > SOFTWARE > ORACLE > SYSMAN > OracleDBConsoleorcl : "ORACLE_HOME" value "C:\app\xps\product\11.2.0\dbhome_1"
    When i execute "sqlplus / as sysdba" command, i receive error: "The procedure entry point longjmp could not be found in the dynamic link lib. orauts.dll" and "Error ORA-12560"
    If i execute
    set ORACLE_HOME=C:\app\xps\product\11.2.0\dbhome_1
    C:\>set PATH=%ORACLE_HOME%\bin;%PATH%
    sqlplus "/ as sysdba"
    I don't receive Error.
    Why?

    You don't mention which specific version of the operating system that you are using - Windows XP, Vista, or 7 and whether you're using a 32-bit or 64-bit version.
    FWIW, kernell32.dll is a Windows system-level module, so it's possible that you have some corruption in your Windows installation which is preventing FM from launching.
    Also, 2Gb of RAM is a bit lean for FM.

  • Java.sql.SQLException: ORA-03135: connection lost contact

    In the whesphere portal i foun a lot of "ORA-03135: connection lost contact" errors but i cant find this error in the oracle client or oracle database.
    Oracle Client 10.2.0.1
    Oracle RDBMS 10.2.0.3 -- in Rac with 3 nodes
    I have a fragment of the trace:
    [20-NOV-2009 23:38:52:338] --- TRACE CONFIGURATION INFORMATION FOLLOWS ---
    [20-NOV-2009 23:38:52:338] New trace stream is /opt/oracle/product/10.2.0/network/trace/cli_22293.trc
    [20-NOV-2009 23:38:52:338] New trace level is 16
    [20-NOV-2009 23:38:52:338] --- TRACE CONFIGURATION INFORMATION ENDS ---
    [20-NOV-2009 23:38:52:338] --- PARAMETER SOURCE INFORMATION FOLLOWS ---
    [20-NOV-2009 23:38:52:338] Attempted load of system pfile source /opt/oracle/product/10.2.0/network/admin/sqlnet.ora
    [20-NOV-2009 23:38:52:338] Parameter source loaded successfully
    [20-NOV-2009 23:38:52:338]
    [20-NOV-2009 23:38:52:338] Attempted load of local pfile source /home/wasadm/.sqlnet.ora
    [20-NOV-2009 23:38:52:338] Parameter source was not loaded
    [20-NOV-2009 23:38:52:338]
    [20-NOV-2009 23:38:52:338] -> PARAMETER TABLE LOAD RESULTS FOLLOW <-
    [20-NOV-2009 23:38:52:338] Successful parameter table load
    [20-NOV-2009 23:38:52:338] -> PARAMETER TABLE HAS THE FOLLOWING CONTENTS <-
    [20-NOV-2009 23:38:52:338] trace_level_Server = 16
    [20-NOV-2009 23:38:52:338] trace_level_client = 16
    [20-NOV-2009 23:38:52:338] trace_directory_client = /opt/oracle/product/10.2.0/network/trace
    [20-NOV-2009 23:38:52:338] trace_file_server = server
    [20-NOV-2009 23:38:52:338] trace_timestamp_client = ON
    [20-NOV-2009 23:38:52:338] trace_timestamp_Server = ON
    [20-NOV-2009 23:38:52:338] trace_file_client = cli
    [20-NOV-2009 23:38:52:338] trace_unique_client = TRUE
    [20-NOV-2009 23:38:52:338] trace_directory_server = /opt/oracle/product/10.2.0/network/trace/server
    [20-NOV-2009 23:38:52:338] --- PARAMETER SOURCE INFORMATION ENDS ---
    [20-NOV-2009 23:38:52:338] --- LOG CONFIGURATION INFORMATION FOLLOWS ---
    [20-NOV-2009 23:38:52:338] Log stream will be "/home/wasadm/sqlnet.log"
    [20-NOV-2009 23:38:52:338] Log stream validation not requested
    [20-NOV-2009 23:38:52:338] --- LOG CONFIGURATION INFORMATION ENDS ---
    [20-NOV-2009 23:38:52:338] nlstdipi: entry
    [20-NOV-2009 23:38:52:338] nlstdipi: exit
    [20-NOV-2009 23:38:52:338] nigini: entry
    [20-NOV-2009 23:38:52:339] nigini: Count in the NL global area is now 1
    [20-NOV-2009 23:38:52:339] nigini: Count in NI global area now: 1
    [20-NOV-2009 23:38:52:339] nrigbi: entry
    [20-NOV-2009 23:38:52:339] nrigbni: entry
    [20-NOV-2009 23:38:52:339] nrigbni: Unable to get data from navigation file tnsnav.ora
    [20-NOV-2009 23:38:52:339] nrigbni: exit
    [20-NOV-2009 23:38:52:339] nrigbi: exit
    [20-NOV-2009 23:38:52:339] nigini: exit
    [20-NOV-2009 23:38:52:339] niqname: Using nnfsn2a() to build connect descriptor for (possibly remote) database.
    [20-NOV-2009 23:38:52:339] nnfgiinit: entry
    [20-NOV-2009 23:38:52:339] nncpcin_maybe_init: first request sent to name server will have ID 0
    [20-NOV-2009 23:38:52:339] nncpcin_maybe_init: initial retry timeout for all name servers is 1500 csecs
    [20-NOV-2009 23:38:52:339] nncpcin_maybe_init: max request retries per name server is 1
    [20-NOV-2009 23:38:52:338] nlstdipi: exit
    [20-NOV-2009 23:38:52:338] nigini: entry
    [20-NOV-2009 23:38:52:339] nigini: Count in the NL global area is now 1
    [20-NOV-2009 23:38:52:339] nigini: Count in NI global area now: 1
    [20-NOV-2009 23:38:52:339] nrigbi: entry
    [20-NOV-2009 23:38:52:339] nrigbni: entry
    [20-NOV-2009 23:38:52:339] nrigbni: Unable to get data from navigation file tnsnav.ora
    [20-NOV-2009 23:38:52:339] nrigbni: exit
    [20-NOV-2009 23:38:52:339] nrigbi: exit
    [20-NOV-2009 23:38:52:339] nigini: exit
    [20-NOV-2009 23:38:52:339] niqname: Using nnfsn2a() to build connect descriptor for (possibly remote) database.
    [20-NOV-2009 23:38:52:339] nnfgiinit: entry
    [20-NOV-2009 23:38:52:339] nncpcin_maybe_init: first request sent to name server will have ID 0
    [20-NOV-2009 23:38:52:339] nncpcin_maybe_init: initial retry timeout for all name servers is 1500 csecs
    [20-NOV-2009 23:38:52:339] nncpcin_maybe_init: max request retries per name server is 1
    [20-NOV-2009 23:38:52:339] nngsini_init_streams: initializing stream subsystem, cache size is 10
    [20-NOV-2009 23:38:52:339] snsgblini: Max no of descriptors supported is 15000
    [20-NOV-2009 23:38:52:339] snsgblini: exit
    [20-NOV-2009 23:38:52:339] nngtini_init_msg: initializing PDU subsystem, initial pool size is 2
    [20-NOV-2009 23:38:52:339] nncpcin_maybe_init: default name server domain is [root]
    [20-NOV-2009 23:38:52:339] nnfgiinit: Installing read path
    [20-NOV-2009 23:38:52:339] nnfgsrsp: entry
    [20-NOV-2009 23:38:52:339] nnfgsrsp: Obtaining path parameter from names.directory_path or native_names.directory_path
    [20-NOV-2009 23:38:52:339] nnfgsrsp: Parmeter names.directory_path not found, setting path to compiled in default
    [20-NOV-2009 23:38:52:339] nnfgspd: entry
    [20-NOV-2009 23:38:52:339] nnfgspd: setting element TNSNAMES
    [20-NOV-2009 23:38:52:339] nnfgspd: setting element HOSTNAME
    [20-NOV-2009 23:38:52:339] nnfgspd: setting element EZCONNECT
    [20-NOV-2009 23:38:52:339] nnfgspd: setting element LDAP
    [20-NOV-2009 23:38:52:339] nnfgspd: Path set
    [20-NOV-2009 23:38:52:339] nnfgspd: exit
    [20-NOV-2009 23:38:52:339] nnfun2a: entry
    [20-NOV-2009 23:38:52:339] nlolgobj: entry
    [20-NOV-2009 23:38:52:339] nnfgrne: entry
    [20-NOV-2009 23:38:52:339] nnfgrne: Going though read path adapters
    [20-NOV-2009 23:38:52:339] nnfgrne: Switching to TNSNAMES adapter
    [20-NOV-2009 23:38:52:339] nnftboot: entry
    [20-NOV-2009 23:38:52:339] nlpaxini: entry
    [20-NOV-2009 23:38:52:340] nlpaxini: exit
    [20-NOV-2009 23:38:52:340] nnftmlf_make_local_addrfile: entry
    [20-NOV-2009 23:38:52:340] nnftmlf_make_local_addrfile: construction of local names file failed
    [20-NOV-2009 23:38:52:340] nnftmlf_make_local_addrfile: exit
    [20-NOV-2009 23:38:52:340] nlpaxini: entry
    [20-NOV-2009 23:38:52:340] nlpaxini: exit
    [20-NOV-2009 23:38:52:340] nnftmlf_make_system_addrfile: entry
    [20-NOV-2009 23:38:52:339] nnfgspd: Path set
    [20-NOV-2009 23:38:52:339] nnfgspd: exit
    [20-NOV-2009 23:38:52:339] nnfun2a: entry
    [20-NOV-2009 23:38:52:339] nlolgobj: entry
    [20-NOV-2009 23:38:52:339] nnfgrne: entry
    [20-NOV-2009 23:38:52:339] nnfgrne: Going though read path adapters
    [20-NOV-2009 23:38:52:339] nnfgrne: Switching to TNSNAMES adapter
    [20-NOV-2009 23:38:52:339] nnftboot: entry
    [20-NOV-2009 23:38:52:339] nlpaxini: entry
    [20-NOV-2009 23:38:52:340] nlpaxini: exit
    [20-NOV-2009 23:38:52:340] nnftmlf_make_local_addrfile: entry
    [20-NOV-2009 23:38:52:340] nnftmlf_make_local_addrfile: construction of local names file failed
    [20-NOV-2009 23:38:52:340] nnftmlf_make_local_addrfile: exit
    [20-NOV-2009 23:38:52:340] nlpaxini: entry
    [20-NOV-2009 23:38:52:340] nlpaxini: exit
    [20-NOV-2009 23:38:52:340] nnftmlf_make_system_addrfile: entry
    [20-NOV-2009 23:38:52:340] nnftmlf_make_system_addrfile: system names file is /opt/oracle/product/10.2.0/network/admin/tnsnames.ora
    [20-NOV-2009 23:38:52:340] nnftmlf_make_system_addrfile: exit
    [20-NOV-2009 23:38:52:340] nnftboot: exit
    [20-NOV-2009 23:38:52:340] nnftrne: entry
    [20-NOV-2009 23:38:52:340] nnftrne: Original name: pwp
    [20-NOV-2009 23:38:52:340] nnfttran: entry
    [20-NOV-2009 23:38:52:340] nncpdpt_dump_ptable: --- /opt/oracle/product/10.2.0/network/admin/tnsnames.ora TABLE HAS THE FOLLOWING CONTENTS ---
    [20-NOV-2009 23:38:52:340] nncpdpt_dump_ptable: PWP = (DESCRIPTION= (ADDRESS_LIST= (FAILOVER=ON) (LOAD_BALANCE=ON) (ADDRESS=(PROTOCOL=TCP)(HOST=mxchpp1datdbc01-vip)(PORT=1521)) (ADDRESS=(PROTOCOL=TCP)(HOST=mxchpp1datdbc02-vip)(PORT=1521)) (ADDRESS=(PROTOCOL=TCP)(HOST=mxchpp1datdbc03-vip)(PORT=1521))) (CONNECT_DATA= (SERVICE_NAME=HBCLHIA1.MX.HSBC.COM) (FAILOVER_MODE=(TYPE=SELECT)(METHOD=BASIC))))
    [20-NOV-2009 23:38:52:340] nncpdpt_dump_ptable: PIDV = (DESCRIPTION= (ADDRESS_LIST= (FAILOVER=ON) (LOAD_BALANCE=ON) (ADDRESS=(PROTOCOL=TCP)(HOST=mxtopp1datdbc01-vip)(PORT=1521)) (ADDRESS=(PROTOCOL=TCP)(HOST=mxtopp1datdbc02-vip)(PORT=1521)) (ADDRESS=(PROTOCOL=TCP)(HOST=mxtopp1datdbc03-vip)(PORT=1521))) (CONNECT_DATA= (SERVICE_NAME=PIDV.MX.HSBC.COM) (FAILOVER_MODE=(TYPE=SELECT)(METHOD=BASIC))))
    [20-NOV-2009 23:38:52:340] nncpdpt_dump_ptable: --- END /opt/oracle/product/10.2.0/network/admin/tnsnames.ora TABLE ---
    [20-NOV-2009 23:38:52:340] nnfttran: exit
    [20-NOV-2009 23:38:52:340] nnftrne: Using tnsnames.ora address (DESCRIPTION= (ADDRESS_LIST= (FAILOVER=ON) (LOAD_BALANCE=ON) (ADDRESS=(PROTOCOL=TCP)(HOST=mxchpp1datdbc01-vip)(PORT=1521)) (ADDRESS=(PROTOCOL=TCP)(HOST=mxchpp1datdbc02-vip)(PORT=1521)) (ADDRESS=(PROTOCOL=TCP)(HOST=mxchpp1datdbc03-vip)(PORT=1521))) (CONNECT_DATA= (SERVICE_NAME=HBCLHIA1.MX.HSBC.COM) (FAILOVER_MODE=(TYPE=SELECT)(METHOD=BASIC)))) for name pwp
    [20-NOV-2009 23:38:52:340] nnftrne: exit
    [20-NOV-2009 23:38:52:340] nnfgrne: exit
    [20-NOV-2009 23:38:52:340] nlolgserv: entry
    [20-NOV-2009 23:38:52:340] nnfggav: entry
    [20-NOV-2009 23:38:52:340] nnftgav: entry
    [20-NOV-2009 23:38:52:340] nnftgav: exit
    [20-NOV-2009 23:38:52:340] nnfgfrm: entry
    [20-NOV-2009 23:38:52:340] nnftfrm: entry
    [20-NOV-2009 23:38:52:340] nnftfrm: exit
    [20-NOV-2009 23:38:52:340] nnfgfrm: exit
    [20-NOV-2009 23:38:52:340] nlolgserv: exit
    [20-NOV-2009 23:38:52:340] nlolgobj: exit
    [20-NOV-2009 23:38:52:340] nlolfmem: entry
    [20-NOV-2009 23:38:52:340] nlolfmem: exit
    [20-NOV-2009 23:38:52:341] nigtrm: Count in the NI global area is now 1
    [20-NOV-2009 23:38:52:341] nigtrm: Count in the NL global area is now 1
    [20-NOV-2009 23:38:52:341] nigini: entry
    [20-NOV-2009 23:38:52:341] nigini: Count in the NL global area is now 2
    [20-NOV-2009 23:38:52:341] nigini: Count in NI global area now: 2
    [20-NOV-2009 23:38:52:341] nigini: exit
    [20-NOV-2009 23:38:52:341] niqname: Hst is already an NVstring.
    [20-NOV-2009 23:38:52:341] niqname: Inserting CID.
    [20-NOV-2009 23:38:52:341] niotns: entry
    [20-NOV-2009 23:38:52:341] niotns: niotns: setting up interrupt handler...
    [20-NOV-2009 23:38:52:341] nigsui: entry
    [20-NOV-2009 23:38:52:341] nigsui: Set User Interrupt: hdl=1, prc=0xb7526534, ctx=0x80c6fe8.
    [20-NOV-2009 23:38:52:341] nigsui: exit (0)
    [20-NOV-2009 23:38:52:341] nttbnd2addr: entry
    [20-NOV-2009 23:38:52:341] nttbnd2addr: ip=loopback specified
    [20-NOV-2009 23:38:52:341] nttbnd2addr: using 127.0.0.1
    [20-NOV-2009 23:38:52:341] snlinGetAddrInfo: entry
    [20-NOV-2009 23:38:52:341] snlinGetAddrInfo: exit
    [20-NOV-2009 23:38:52:341] nttbnd2addr: using host IP address: 127.0.0.1
    [20-NOV-2009 23:38:52:341] snlinFreeAddrInfo: entry
    [20-NOV-2009 23:38:52:341] snlinFreeAddrInfo: exit
    [20-NOV-2009 23:38:52:341] nttbnd2addr: exit
    [20-NOV-2009 23:38:52:341] nttcon: entry
    [20-NOV-2009 23:38:52:341] nttcon: toc = 2
    [20-NOV-2009 23:38:52:341] nttcnp: entry
    [20-NOV-2009 23:38:52:341] nttcnp: creating a socket.
    [20-NOV-2009 23:38:52:341] nttcnp: binding an address to a socket.
    [20-NOV-2009 23:38:52:341] nttcnp: getting sockname
    [20-NOV-2009 23:38:52:341] nttcnp: getting peername
    [20-NOV-2009 23:38:52:341] nttcnp: exit
    [20-NOV-2009 23:38:52:341] nttcon: exit
    [20-NOV-2009 23:38:52:342] nttctl: entry
    [20-NOV-2009 23:38:52:342] nttctl: Setting connection into non-blocking mode
    [20-NOV-2009 23:38:52:342] niotns: Not trying to enable dead connection detection.
    [20-NOV-2009 23:38:52:342] niotns: Calling address: (DESCRIPTION=(ADDRESS_LIST=(FAILOVER=ON)(LOAD_BALANCE=ON)(ADDRESS=(PROTOCOL=TCP)(HOST=mxchpp1datdbc01-vip)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=mxchpp1datdbc02-vip)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=mxchpp1datdbc03-vip)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=HBCLHIA1.MX.HSBC.COM)(FAILOVER_MODE=(TYPE=SELECT)(METHOD=BASIC))(CID=(PROGRAM=sqlplus)(HOST=mxchim1csmwas03)(USER=wasadm))))
    [20-NOV-2009 23:38:52:342] nscall: entry
    [20-NOV-2009 23:38:52:342] nsmal: entry
    [20-NOV-2009 23:38:52:342] nsmal: 212 bytes at 0x80d2510
    [20-NOV-2009 23:38:52:342] nsmal: normal exit
    [20-NOV-2009 23:38:52:342] nscall: connecting...
    [20-NOV-2009 23:38:52:342] nladini: entry
    [20-NOV-2009 23:38:52:342] nladini: exit
    [20-NOV-2009 23:38:52:342] nladget: entry
    [20-NOV-2009 23:38:52:342] nladget: exit
    [20-NOV-2009 23:38:52:342] nsc2addr: entry
    [20-NOV-2009 23:38:52:342] nsc2addr: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=mxchpp1datdbc01-vip)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=HBCLHIA1.MX.HSBC.COM)(FAILOVER_MODE=(TYPE=SELECT)(METHOD=BASIC))(CID=(PROGRAM=sqlplus)(HOST=mxchim1csmwas03)(USER=wasadm))))
    [20-NOV-2009 23:38:52:342] nttbnd2addr: entry
    [20-NOV-2009 23:38:52:342] snlinGetAddrInfo: entry
    [20-NOV-2009 23:38:52:342] snlinGetAddrInfo: Invalid IP address string mxchpp1datdbc01-vip
    [20-NOV-2009 23:38:52:342] snlinFreeAddrInfo: entry
    [20-NOV-2009 23:38:52:342] snlinFreeAddrInfo: exit
    [20-NOV-2009 23:38:52:342] snlinGetAddrInfo: exit
    [20-NOV-2009 23:38:52:342] nttbnd2addr: looking up IP addr for host: mxchpp1datdbc01-vip
    [20-NOV-2009 23:38:52:342] snlinGetAddrInfo: entry
    [20-NOV-2009 23:38:52:342] snlinGetAddrInfo: exit
    [20-NOV-2009 23:38:52:342] snlinFreeAddrInfo: entry
    [20-NOV-2009 23:38:52:342] snlinFreeAddrInfo: exit
    [20-NOV-2009 23:38:52:342] nttbnd2addr: exit
    [20-NOV-2009 23:38:52:342] nsc2addr: normal exit
    [20-NOV-2009 23:38:52:342] nsopen: entry
    [20-NOV-2009 23:38:52:342] nsmal: entry
    [20-NOV-2009 23:38:52:343] nsmal: 752 bytes at 0x80d3c98
    [20-NOV-2009 23:38:52:343] nsmal: normal exit
    [20-NOV-2009 23:38:52:343] nsopenmplx: entry
    [20-NOV-2009 23:38:52:343] nsmal: entry
    [20-NOV-2009 23:38:52:343] nsmal: 1580 bytes at 0x80d3f90
    [20-NOV-2009 23:38:52:343] nsmal: normal exit
    [20-NOV-2009 23:38:52:343] nsiorini: entry
    [20-NOV-2009 23:38:52:343] nsbal: entry
    [20-NOV-2009 23:38:52:343] nsbgetfl: entry
    [20-NOV-2009 23:38:52:343] nsbgetfl: normal exit
    [20-NOV-2009 23:38:52:343] nsmal: entry
    [20-NOV-2009 23:38:52:343] nsmal: 84 bytes at 0x80d3690
    [20-NOV-2009 23:38:52:343] nsmal: normal exit
    [20-NOV-2009 23:38:52:343] nsbal: normal exit
    [20-NOV-2009 23:38:52:343] nsiorini: exit (0)
    [20-NOV-2009 23:38:52:343] nscpxget: entry
    [20-NOV-2009 23:38:52:343] nscpxget: normal exit
    [20-NOV-2009 23:38:52:343] nsopenalloc_nsntx: nlhthput on mplx_ht_nsgbu:ctx=80d3c98, nsntx=80d3f90
    [20-NOV-2009 23:38:52:343] nsopenmplx: normal exit
    [20-NOV-2009 23:38:52:343] nsopen: opening transport...
    [20-NOV-2009 23:38:52:343] nttcon: entry
    [20-NOV-2009 23:38:52:343] nttcon: toc = 1
    [20-NOV-2009 23:38:52:343] nttcnp: entry
    [20-NOV-2009 23:38:52:343] nttcnp: creating a socket.
    [20-NOV-2009 23:38:52:343] nttcnp: exit
    [20-NOV-2009 23:38:52:343] nttcni: entry
    [20-NOV-2009 23:38:52:343] nttcni: trying to connect to socket 9.
    [20-NOV-2009 23:38:52:345] snlinGetNameInfo: entry
    [20-NOV-2009 23:38:52:345] snlinGetNameInfo: Using numeric form of host's address 10.217.136.201
    [20-NOV-2009 23:38:52:345] snlinGetNameInfo: exit
    [20-NOV-2009 23:38:52:345] nttcni: connected on ipaddr 10.217.136.201
    [20-NOV-2009 23:38:52:345] nttcni: exit
    [20-NOV-2009 23:38:52:345] nttcon: NT layer TCP/IP connection has been established.
    [20-NOV-2009 23:38:52:345] nttcon: set TCP_NODELAY on 9
    [20-NOV-2009 23:38:52:345] nttcon: exit
    [20-NOV-2009 23:38:52:345] nsopen: transport is open
    [20-NOV-2009 23:38:52:345] nsoptions: entry
    [20-NOV-2009 23:38:52:345] nsoptions: lcl[0]=0x0, lcl[1]=0x102000, gbl[0]=0x0, gbl[1]=0xa01, cha=0x0
    [20-NOV-2009 23:38:52:345] nsoptions: lcl[0]=0xf4ffe9ff, lcl[1]=0x102000, gbl[0]=0xfebf, gbl[1]=0xc01
    [20-NOV-2009 23:38:52:345] nsoptions: normal exit
    [20-NOV-2009 23:38:52:345] nsnainit: entry
    [20-NOV-2009 23:38:52:345] nsnainit: call
    [20-NOV-2009 23:38:52:345] nsnadct: entry
    [20-NOV-2009 23:38:52:345] nsnadct: normal exit
    [20-NOV-2009 23:38:52:345] nsnasvnainfo: entry
    [20-NOV-2009 23:38:52:345] nsnasvnainfo: normal exit
    [20-NOV-2009 23:38:52:345] nainit: entry
    [20-NOV-2009 23:38:52:345] nagblini: entry
    [20-NOV-2009 23:38:52:345] nau_gin: entry
    [20-NOV-2009 23:38:52:345] nau_gparams: entry
    [20-NOV-2009 23:38:52:345] nam_gbp: Reading parameter "sqlnet.authentication_required" from parameter file
    [20-NOV-2009 23:38:52:345] nam_gbp: Parameter not found
    [20-NOV-2009 23:38:52:345] nau_gparams: Using default value "FALSE"
    [20-NOV-2009 23:38:52:345] nau_gslf: entry
    [20-NOV-2009 23:38:52:345] nam_gic: entry
    [20-NOV-2009 23:38:52:345] nam_gic: Counting # of items in "sqlnet.authentication_services" parameter
    [20-NOV-2009 23:38:52:345] nam_gic: Parameter not found
    [20-NOV-2009 23:38:52:345] nam_gic: Found 0 items
    [20-NOV-2009 23:38:52:345] nam_gic: exit
    [20-NOV-2009 23:38:52:345] nau_gslf: Using default value "all available adapters"
    [20-NOV-2009 23:38:52:345] nauss_set_state: entry
    [20-NOV-2009 23:38:52:345] nauss_set_state: exit
    [20-NOV-2009 23:38:52:345] nau_gslf: exit
    [20-NOV-2009 23:38:52:345] nau_gparams: exit
    [20-NOV-2009 23:38:52:345] nau_gin: exit
    Edited by: ghd on 20/11/2009 05:30 PM

    You are right, i added the complete error
    By chance do yo have a recommendation where can i look for to find the source problem?
    Because in oracle client's logs or database's logs i can't find the ORA-03135 : connection lost contact
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:207)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:109)
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java(Compiled Code))
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled Code))
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java(Compiled Code))
    at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java(Compiled Code))
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
    Caused by: java.sql.SQLException: ORA-03135: connection lost contact
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
    at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java(Compiled Code))
    at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java(Inlined Compiled Code))
    at oracle.jdbc.driver.T2CPreparedStatement.executeForDescribe(T2CPreparedStatement.java(Compiled Code))
    at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java(Compiled Code))
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java(Compiled Code))
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java(Compiled Code))
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java(Compiled Code))
    at com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.pmiExecuteQuery(WSJdbcPreparedStatement.java(Compiled Code))
    at com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.executeQuery(WSJdbcPreparedStatement.java(Compiled Code))
    at com.ibm.wps.datastore.impl.DataStoreContext.executeQuery(DataStoreContext.java(Compiled Code))
    ... 67 more

  • JBO-27122: SQL error during statement preparation IN OAF(java.sql.SQLException: ORA-01008: not all variables bound)

    Hi Friends,
    I have have extended CO where i have added dynamic where condition to VO,it's throwing error.
    Code added in controller :
    public class Custom_HomePageCO extends HomePageCO
      public Custom_HomePageCO()
    public void processRequest(OAPageContext pageContext,OAWebBean webBean)
      super.processRequest(pageContext,webBean);
      System.out.println("NewClase");
      OAApplicationModule am=pageContext.getApplicationModule(webBean);
      System.out.println(am);
      OAApplicationModule am1=(OAApplicationModule)am.findApplicationModule("TrackExpenseReportsAM");
    System.out.println(am1);
      OAViewObject vo=(OAViewObject)am1.findViewObject("TrackExpenseReportsVO");
      System.out.println(vo);
      vo.setWhereClause("REPORT_SUBMITTED_DATE is not null");
        vo.executeQuery();
    public void processFormRequest(OAPageContext pageContext,OAWebBean webBean)
      super.processFormRequest(pageContext,webBean);
    Error message:
    Exception Details.
    Error Details
           Logout
          Error Page
          Exception Details.
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation.  Statement: SELECT * FROM (SELECT
    AI.DESCRIPTION PURPOSE,
    AI.INVOICE_CURRENCY_CODE CURRENCY_CODE,
    AI.INVOICE_DATE REPORT_DATE,
    AERH.REPORT_SUBMITTED_DATE REPORT_SUBMITTED_DATE,
    AI.INVOICE_NUM REPORT_NUMBER,
    TO_CHAR(decode(nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0),
                     0, decode(AI.CANCELLED_DATE,
                                 null, APS.GROSS_AMOUNT,
                                 AERH.TOTAL),
                   nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0)) ,  
            FND_CURRENCY_CACHE.GET_FORMAT_MASK
            (AI.INVOICE_CURRENCY_CODE, 30)) ||' '|| AI.INVOICE_CURRENCY_CODE REPORT_TOTAL_CURRENCY,
    TO_CHAR(decode(nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0),
                     0, decode(AI.CANCELLED_DATE,
                                 null, APS.GROSS_AMOUNT,
                                 AERH.TOTAL),
                   nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0)) ,  
            FND_CURRENCY_CACHE.GET_FORMAT_MASK
            (AI.INVOICE_CURRENCY_CODE, 30))
    REPORT_TOTAL,
    P.PERSON_ID EMPLOYEE_ID,
    AERH.REPORT_HEADER_ID REPORT_HEADER_ID,
    P.FULL_NAME FULL_NAME ,
    DECODE(AI.CANCELLED_DATE,null,
                              nvl(aerh.expense_status_code, DECODE(APS.GROSS_AMOUNT ,0,'PAID',
                                    decode(AI.Payment_status_flag,'Y','PAID',
                                                            'N','INVOICED',
                                                            'P','PARPAID',NULL))),
                                            'CANCELLED') STATUS_CODE,
    AERH.source SOURCE,
    NULL CURRENT_APPROVER,
    ROUND(sysdate - AI.LAST_UPDATE_DATE) DAYS_SINCE_ACTIVITY,
    AERH.RECEIPTS_STATUS RECEIPTS_STATUS_CODE,
    AERH.HOLDING_REPORT_HEADER_ID,
    AI.VENDOR_ID VENDOR_ID,
    AERH.AMT_DUE_CCARD_COMPANY AMT_DUE_CCARD_COMPANY,
    AERH.AMT_DUE_EMPLOYEE AMT_DUE_EMPLOYEE,         
    'CurrentApproverName' CURRENT_APPROVER_SWITCHER,
    to_char(AERH.LAST_UPDATE_DATE, 'DD-MON-RRRR HH:MI:SS'),
    AI.INVOICE_ID INVOICE_ID
    FROM
           AK_WEB_USER_SEC_ATTR_VALUES A,
           PO_VENDORS PV,
           AP_INVOICES AI,
           AP_EXPENSE_REPORT_HEADERS AERH,
           PER_PEOPLE_X P,
           AP_PAYMENT_SCHEDULES APS
    WHERE  AI.INVOICE_ID= APS.INVOICE_ID
    AND    AI.INVOICE_ID = AERH.VOUCHNO(+)
    AND AI.INVOICE_TYPE_LOOKUP_CODE||'' = 'EXPENSE REPORT'
    AND A.ATTRIBUTE_CODE = 'ICX_HR_PERSON_ID'
    AND PV.EMPLOYEE_ID = A.NUMBER_VALUE
    AND A.WEB_USER_ID = :1
    AND P.PERSON_ID = PV.EMPLOYEE_ID
    AND PV.VENDOR_ID = AI.VENDOR_ID
    AND DECODE (AI.PAYMENT_STATUS_FLAG,
             'Y', sysdate - AI.LAST_UPDATE_DATE,
            decode(APS.GROSS_AMOUNT , 0 ,sysdate - AI.LAST_UPDATE_DATE,0)
              )  <= 30
    AND (AERH.SOURCE <> 'Both Pay' OR AERH.REPORT_HEADER_ID IS NULL)       
    UNION
    SELECT
    AI.DESCRIPTION PURPOSE,
    AI.INVOICE_CURRENCY_CODE CURRENCY_CODE,
    AI.INVOICE_DATE REPORT_DATE,
    AERH.REPORT_SUBMITTED_DATE REPORT_SUBMITTED_DATE,
    AI.INVOICE_NUM REPORT_NUMBER,
    TO_CHAR(decode(nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0),
                     0, decode(AI.CANCELLED_DATE,
                                 null, APS.GROSS_AMOUNT,
                                 AERH.TOTAL),
                   nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0)) ,  
            FND_CURRENCY_CACHE.GET_FORMAT_MASK
            (AI.INVOICE_CURRENCY_CODE, 30)) ||' '|| AI.INVOICE_CURRENCY_CODE REPORT_TOTAL_CURRENCY,
    TO_CHAR(decode(nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0),
                     0, decode(AI.CANCELLED_DATE,
                                 null, APS.GROSS_AMOUNT,
                                 AERH.TOTAL),
                   nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0)),  
            FND_CURRENCY_CACHE.GET_FORMAT_MASK
            (AI.INVOICE_CURRENCY_CODE, 30))
    REPORT_TOTAL,
    P.PERSON_ID EMPLOYEE_ID,
    AERH.REPORT_HEADER_ID REPORT_HEADER_ID,
    P.FULL_NAME FULL_NAME ,
    DECODE(AI.CANCELLED_DATE,null,
                              nvl(aerh.expense_status_code, DECODE(APS.GROSS_AMOUNT ,0,'PAID',
                                    decode(AI.Payment_status_flag,'Y','PAID',
                                                            'N','INVOICED',
                                                            'P','PARPAID',NULL))),
                                            'CANCELLED') STATUS_CODE,
    AERH.source SOURCE,
    NULL CURRENT_APPROVER,
    ROUND(sysdate - AI.LAST_UPDATE_DATE) DAYS_SINCE_ACTIVITY,
    AERH.RECEIPTS_STATUS RECEIPTS_STATUS_CODE,
    AERH.HOLDING_REPORT_HEADER_ID,
    AI.VENDOR_ID VENDOR_ID,
    AERH.AMT_DUE_CCARD_COMPANY AMT_DUE_CCARD_COMPANY,
    AERH.AMT_DUE_EMPLOYEE AMT_DUE_EMPLOYEE,         
    'CurrentApproverName' CURRENT_APPROVER_SWITCHER,
    to_char(AERH.LAST_UPDATE_DATE, 'DD-MON-RRRR HH:MI:SS'),
    AI.INVOICE_ID INVOICE_ID
    FROM
           AK_WEB_USER_SEC_ATTR_VALUES A,
           PO_VENDORS PV,
           AP_INVOICES AI,
           AP_EXPENSE_REPORT_HEADERS AERH,
           PER_PEOPLE_X P,
           AP_PAYMENT_SCHEDULES APS
    WHERE  AI.INVOICE_ID= APS.INVOICE_ID
    AND    AI.INVOICE_ID = AERH.VOUCHNO(+)
    AND AI.INVOICE_TYPE_LOOKUP_CODE||'' in ('STANDARD','MIXED')
    AND A.ATTRIBUTE_CODE = 'ICX_HR_PERSON_ID'
    AND AI.PAID_ON_BEHALF_EMPLOYEE_ID = A.NUMBER_VALUE
    AND A.WEB_USER_ID = :2
    AND P.PERSON_ID = AI.PAID_ON_BEHALF_EMPLOYEE_ID
    AND PV.VENDOR_ID = AI.VENDOR_ID
    AND DECODE (AI.PAYMENT_STATUS_FLAG,
             'Y', sysdate - AI.LAST_UPDATE_DATE,
            decode(APS.GROSS_AMOUNT , 0 ,sysdate - AI.LAST_UPDATE_DATE,0)
            ) <= 30
    AND (AERH.SOURCE <> 'Both Pay' OR AERH.REPORT_HEADER_ID IS NULL)            
    UNION ALL
    SELECT
    AERH.DESCRIPTION PURPOSE,
    AERH.DEFAULT_CURRENCY_CODE CURRENCY_CODE,
    AERH.WEEK_END_DATE REPORT_DATE,
    AERH.REPORT_SUBMITTED_DATE REPORT_SUBMITTED_DATE,
    AERH.INVOICE_NUM REPORT_NUMBER,
    TO_CHAR(nvl(AERH.AMT_DUE_CCARD_COMPANY+AERH.AMT_DUE_EMPLOYEE+nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0),AERH.TOTAL),FND_CURRENCY_CACHE.GET_FORMAT_MASK
      (AERH.DEFAULT_CURRENCY_CODE,30)) ||' '|| AERH.DEFAULT_CURRENCY_CODE REPORT_TOTAL_CURRENCY,
    TO_CHAR(nvl(AERH.AMT_DUE_CCARD_COMPANY+AERH.AMT_DUE_EMPLOYEE+nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0),AERH.TOTAL),FND_CURRENCY_CACHE.GET_FORMAT_MASK
      (AERH.DEFAULT_CURRENCY_CODE,30)) REPORT_TOTAL,
    PER_EMPLOYEE.PERSON_ID EMPLOYEE_ID,
    AERH.REPORT_HEADER_ID REPORT_HEADER_ID,
    PER_EMPLOYEE.FULL_NAME FULL_NAME,
    NVL(AERH.expense_status_code,
      AP_WEB_OA_ACTIVE_PKG.GetReportStatusCode(AERH.Source, AERH.Workflow_approved_flag,
      AERH.report_header_id, 'Y', 'N')) STATUS_CODE,
    AERH.source SOURCE,
    NVL (PER_APPROVER.full_name, AP_WEB_OA_ACTIVE_PKG.GetCurrentApprover(AERH.Source,
            AERH.Workflow_approved_flag, AERH.report_header_id, AERH.expense_status_code)) CURRENT_APPROVER,
    ROUND(NVL(sysdate - AERH.EXPENSE_LAST_STATUS_DATE,
              sysdate - AERH.LAST_UPDATE_DATE)) DAYS_SINCE_ACTIVITY,
    AERH.RECEIPTS_STATUS RECEIPTS_STATUS_CODE,
    AERH.HOLDING_REPORT_HEADER_ID,
    0 VENDOR_ID,
    AERH.AMT_DUE_CCARD_COMPANY AMT_DUE_CCARD_COMPANY,
    AERH.AMT_DUE_EMPLOYEE AMT_DUE_EMPLOYEE,  
    DECODE(AERH.expense_current_approver_id,
    -99999, 'AMEMultipleApprovers',
    decode(PER_APPROVER.full_name,
      null,'CurrentApproverName','AMESingleApprover')) CURRENT_APPROVER_SWITCHER,
    to_char(AERH.LAST_UPDATE_DATE, 'DD-MON-RRRR HH:MI:SS'),
    -1 INVOICE_ID
    FROM
           AK_WEB_USER_SEC_ATTR_VALUES A,
           AP_EXPENSE_REPORT_HEADERS AERH,
           PER_PEOPLE_X PER_EMPLOYEE,
           PER_PEOPLE_X PER_APPROVER
    WHERE  AERH.VOUCHNO +0 =0
    AND A.ATTRIBUTE_CODE = 'ICX_HR_PERSON_ID'
    AND AERH.EMPLOYEE_ID = A.NUMBER_VALUE
    AND A.WEB_USER_ID = :3
    AND PER_EMPLOYEE.PERSON_ID = AERH.EMPLOYEE_ID
    AND (AERH.Source <> 'NonValidatedWebExpense'
         OR AERH.Workflow_approved_flag IS NULL)
    AND AERH.expense_current_approver_id = PER_APPROVER.person_id
    AND decode(AERH.total,0,ROUND(NVL(sysdate - AERH.EXPENSE_LAST_STATUS_DATE,sysdate - AERH.LAST_UPDATE_DATE)),30) <= 30
    AND AERH.SOURCE <> 'Both Pay'
    UNION
    SELECT
    AERH.DESCRIPTION PURPOSE,
    AERH.DEFAULT_CURRENCY_CODE CURRENCY_CODE,
    AERH.WEEK_END_DATE REPORT_DATE,
    AERH.REPORT_SUBMITTED_DATE REPORT_SUBMITTED_DATE,
    AERH.INVOICE_NUM REPORT_NUMBER,
    TO_CHAR(nvl(AERH.AMT_DUE_CCARD_COMPANY+AERH.AMT_DUE_EMPLOYEE+nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0),AERH.TOTAL),FND_CURRENCY_CACHE.GET_FORMAT_MASK
      (AERH.DEFAULT_CURRENCY_CODE,30)) ||' '|| AERH.DEFAULT_CURRENCY_CODE REPORT_TOTAL_CURRENCY,
    TO_CHAR(nvl(AERH.AMT_DUE_CCARD_COMPANY+AERH.AMT_DUE_EMPLOYEE+nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0),AERH.TOTAL),FND_CURRENCY_CACHE.GET_FORMAT_MASK
      (AERH.DEFAULT_CURRENCY_CODE,30)) REPORT_TOTAL,
    PER_EMPLOYEE.PERSON_ID EMPLOYEE_ID,
    AERH.REPORT_HEADER_ID REPORT_HEADER_ID,
    PER_EMPLOYEE.FULL_NAME FULL_NAME,
    NVL(AERH.expense_status_code,
      AP_WEB_OA_ACTIVE_PKG.GetReportStatusCode(AERH.Source, AERH.Workflow_approved_flag,
      AERH.report_header_id,'Y','N')) STATUS_CODE,
    AERH.source SOURCE,
    NVL (PER_APPROVER.full_name, AP_WEB_OA_ACTIVE_PKG.GetCurrentApprover(AERH.Source,
            AERH.Workflow_approved_flag, AERH.report_header_id, AERH.expense_status_code)) CURRENT_APPROVER,
    ROUND(NVL(sysdate - AERH.EXPENSE_LAST_STATUS_DATE,
              sysdate - AERH.LAST_UPDATE_DATE)) DAYS_SINCE_ACTIVITY,
    AERH.RECEIPTS_STATUS RECEIPTS_STATUS_CODE,
    AERH.HOLDING_REPORT_HEADER_ID,
    0 VENDOR_ID,
    AERH.AMT_DUE_CCARD_COMPANY AMT_DUE_CCARD_COMPANY,
    AERH.AMT_DUE_EMPLOYEE AMT_DUE_EMPLOYEE,  
    DECODE(AERH.expense_current_approver_id,
    -99999, 'AMEMultipleApprovers',
    decode(PER_APPROVER.full_name,
      null,'CurrentApproverName','AMESingleApprover')) CURRENT_APPROVER_SWITCHER,
    to_char(AERH.LAST_UPDATE_DATE, 'DD-MON-RRRR HH:MI:SS'),
    -1 INVOICE_ID
    FROM
           AK_WEB_USER_SEC_ATTR_VALUES A,
           AP_EXPENSE_REPORT_HEADERS AERH,
           PER_PEOPLE_X PER_EMPLOYEE,
           PER_PEOPLE_X PER_APPROVER
    WHERE  AERH.VOUCHNO +0=0
    AND A.ATTRIBUTE_CODE = 'ICX_HR_PERSON_ID'
    AND AERH.PAID_ON_BEHALF_EMPLOYEE_ID = A.NUMBER_VALUE
    AND A.WEB_USER_ID = :4
    AND PER_EMPLOYEE.PERSON_ID = PAID_ON_BEHALF_EMPLOYEE_ID
    AND AERH.EMPLOYEE_ID IS NULL
    AND (AERH.Source <> 'NonValidatedWebExpense'
         OR AERH.Workflow_approved_flag IS NULL)
    AND AERH.expense_current_approver_id = PER_APPROVER.person_id
    AND decode(AERH.total,0,ROUND(NVL(sysdate - AERH.EXPENSE_LAST_STATUS_DATE,sysdate - AERH.LAST_UPDATE_DATE)),30) <= 30
    AND AERH.SOURCE <> 'Both Pay'
    UNION ALL
    /* This select is for invoice imported reports by contingent workers */
    SELECT
    AI.DESCRIPTION PURPOSE,
    AI.INVOICE_CURRENCY_CODE CURRENCY_CODE,
    AI.INVOICE_DATE REPORT_DATE,
    AERH.REPORT_SUBMITTED_DATE REPORT_SUBMITTED_DATE,
    AI.INVOICE_NUM REPORT_NUMBER,
    TO_CHAR(decode(nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0),
                     0, decode(AI.CANCELLED_DATE,
                                 null, APS.GROSS_AMOUNT,
                                 AERH.TOTAL),
                   nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0)) ,  
            FND_CURRENCY_CACHE.GET_FORMAT_MASK
            (AI.INVOICE_CURRENCY_CODE, 30)) ||' '|| AI.INVOICE_CURRENCY_CODE REPORT_TOTAL_CURRENCY,
    TO_CHAR(decode(nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0),
                     0, decode(AI.CANCELLED_DATE,
                                 null, APS.GROSS_AMOUNT,
                                 AERH.TOTAL),
                   nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0)) ,  
            FND_CURRENCY_CACHE.GET_FORMAT_MASK
            (AI.INVOICE_CURRENCY_CODE, 30))
    REPORT_TOTAL,
    P.PERSON_ID EMPLOYEE_ID,
    AERH.REPORT_HEADER_ID REPORT_HEADER_ID,
    P.FULL_NAME FULL_NAME ,
    DECODE(AI.CANCELLED_DATE,null,
                              nvl(aerh.expense_status_code, DECODE(APS.GROSS_AMOUNT ,0,'PAID',
                                    decode(AI.Payment_status_flag,'Y','PAID',
                                                            'N','INVOICED',
                                                            'P','PARPAID',NULL))),
                                            'CANCELLED') STATUS_CODE,
    AERH.source SOURCE,
    NULL CURRENT_APPROVER,
    ROUND(sysdate - AI.LAST_UPDATE_DATE) DAYS_SINCE_ACTIVITY,
    AERH.RECEIPTS_STATUS RECEIPTS_STATUS_CODE,
    AERH.HOLDING_REPORT_HEADER_ID,
    AI.VENDOR_ID VENDOR_ID,
    AERH.AMT_DUE_CCARD_COMPANY AMT_DUE_CCARD_COMPANY,
    AERH.AMT_DUE_EMPLOYEE AMT_DUE_EMPLOYEE,          
    'CurrentApproverName' CURRENT_APPROVER_SWITCHER,
    to_char(AERH.LAST_UPDATE_DATE, 'DD-MON-RRRR HH:MI:SS'),
    AI.INVOICE_ID INVOICE_ID
    FROM
           AK_WEB_USER_SEC_ATTR_VALUES A,
           AP_INVOICES AI,
           AP_EXPENSE_REPORT_HEADERS AERH,
           PER_PEOPLE_X P,
           AP_PAYMENT_SCHEDULES APS
    WHERE  AI.INVOICE_ID= APS.INVOICE_ID
    AND    AI.INVOICE_ID = AERH.VOUCHNO(+)
    AND AI.INVOICE_TYPE_LOOKUP_CODE||'' = 'EXPENSE REPORT'
    AND A.ATTRIBUTE_CODE = 'ICX_HR_PERSON_ID'
    AND AI.PAID_ON_BEHALF_EMPLOYEE_ID = A.NUMBER_VALUE
    AND A.WEB_USER_ID = :5
    AND P.PERSON_ID = AI.PAID_ON_BEHALF_EMPLOYEE_ID
    AND AP_WEB_DB_HR_INT_PKG.IsPersonCwk(AI.PAID_ON_BEHALF_EMPLOYEE_ID)='Y'
    AND DECODE (AI.PAYMENT_STATUS_FLAG,
             'Y', sysdate - AI.LAST_UPDATE_DATE,
            decode(APS.GROSS_AMOUNT , 0 ,sysdate - AI.LAST_UPDATE_DATE,0)
              )  <= 30
    AND (AERH.SOURCE <> 'Both Pay' OR AERH.REPORT_HEADER_ID IS NULL)) QRSLT  WHERE (REPORT_SUBMITTED_DATE is not null)
    at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:603)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1136)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2360)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1759)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:511)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:432)
    at _OA._jspService(OA.jsp:33)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
    at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.sql.SQLException: ORA-01008: not all variables bound
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
    at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
    at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
    at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
    at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2548)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2933)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:650)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:578)
    at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:631)
    at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:518)
    at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3375)
    at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(OAJboViewObjectImpl.java:828)
    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4525)
    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:574)
    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:544)
    at oracle.jbo.server.ViewRowSetImpl.executeDetailQuery(ViewRowSetImpl.java:619)
    at oracle.jbo.server.ViewObjectImpl.executeDetailQuery(ViewObjectImpl.java:3339)
    at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3326)
    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:441)
    at oracle.apps.ap.oie.webui.Custom_HomePageCO.processRequest(Custom_HomePageCO.java:26)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:587)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1136)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2360)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1759)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:511)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:432)
    at _OA._jspService(OA.jsp:33)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
    at java.lang.Thread.run(Thread.java:534)
    java.sql.SQLException: ORA-01008: not all variables bound
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
    at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
    at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
    at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
    at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2548)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2933)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:650)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:578)
    at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:631)
    at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:518)
    at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3375)
    at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(OAJboViewObjectImpl.java:828)
    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4525)
    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:574)
    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:544)
    at oracle.jbo.server.ViewRowSetImpl.executeDetailQuery(ViewRowSetImpl.java:619)
    at oracle.jbo.server.ViewObjectImpl.executeDetailQuery(ViewObjectImpl.java:3339)
    at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3326)
    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:441)
    at oracle.apps.ap.oie.webui.Custom_HomePageCO.processRequest(Custom_HomePageCO.java:26)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:587)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1136)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2360)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1759)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:511)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:432)
    at _OA._jspService(OA.jsp:33)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
    at java.lang.Thread.run(Thread.java:534)
    I have took the sql from error message and i tried executing the same in toad... i was able execute it smoothly... i dot know why its working while running the page
    Please help me guys...
    Thanks,
    Pavan

    Hi Shobhi,
    Actually this relates to the Iexpenese Module. The VO is "oracle.apps.ap.oie.server.TrackExpenseReportsVO"(Seeded)
    The user Expense home screen is based on the above VO and this view returning multiple line for the same expense number which should be eliminated.
    so for this i need to filter data by adding where clause dynamically on top of the existing where conditions so that i can eliminate the duplicate row.
    Please suggest me !! how to move on
    Thanks,
    Pavan V
    91-9640871542

  • JBO-27122: SQL error & java.sql.SQLException: ORA-01843: not a valid month

    Hi,
    We developed OA page for Employee's Payslip and it is working fine for all the employees but it is not working for only one employee...Getting the error as
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement
    preparation
    ## Detail 0 ##
    java.sql.SQLException: ORA-01843: not a valid month
    Real Scenario is:
    The user "DANISH.LOTFY" is login into application and when he click on Payslip to the month then he is always getting the above error.
    For testing purpose we have removed his employee assignment from user screen(fnd_user) and assigned some other employee name (say MOHAMED.ELBAHY)... After this when DANISH.LOTFY logins into the application and payslip page is working fine...(He can able to see MOHAMED.ELBAHY payslip.....
    Realy we don't know this strange behaviour of OA ...
    ------ Code with Error details------------------
    Statement:
    SELECT * FROM (SELECT DISTINCT ppa.DATE_EARNED, TO_CHAR(ppa.DATE_EARNED,'MON-YYYY') DISPLAY
    , TO_CHAR(ppa.DATE_EARNED,'MM YYYY') PARAM
    FROM
    pay_payroll_actions ppa
    ,pay_assignment_actions pac
    ,PER_ALL_ASSIGNMENTS_F PASS
    ,FND_USER FU
    ,per_time_periods PTP
    WHERE ppa.payroll_id = 61
    AND ppa.payroll_action_id = pac.payroll_action_id
    AND PAC.ASSIGNMENT_ID = PASS.ASSIGNMENT_ID
    AND PASS.PERSON_ID = FU.EMPLOYEE_ID
    AND FU.USER_ID =Fnd_Profile.VALUE('USER_ID')
    AND TRIM(TO_CHAR(ppa.DATE_EARNED,'MON-YYYY')) IS NOT NULL
    ---Added by Sudipta C on 28th Janaury 2008
    AND TRIM(TO_CHAR(ppa.DATE_EARNED,'MON-YYYY')) <> TRIM(TO_CHAR(SYSDATE,'MON-YYYY'))
    AND ppa.DATE_EARNED=(SELECT MAX(DATE_EARNED) FROM pay_payroll_actions WHERE time_period_id=ppa.time_period_id)
    AND ppa.DATE_EARNED >='30-NOV-2007'
    UNION ALL
    --Query to Display only the Current Month if the Concurrent Request Ran
    SELECT DISTINCT ppa.DATE_EARNED, TO_CHAR(ppa.DATE_EARNED,'MON-YYYY') DISPLAY
    , TO_CHAR(ppa.DATE_EARNED,'MM YYYY') PARAM
    FROM
    pay_payroll_actions ppa
    ,pay_assignment_actions pac
    ,PER_ALL_ASSIGNMENTS_F PASS
    ,FND_USER FU
    ,per_time_periods PTP
    WHERE ppa.payroll_id = 61
    AND ppa.payroll_action_id = pac.payroll_action_id
    AND PAC.ASSIGNMENT_ID = PASS.ASSIGNMENT_ID
    AND PASS.PERSON_ID = FU.EMPLOYEE_ID
    AND FU.USER_ID = Fnd_Profile.VALUE('USER_ID')
    AND TRIM(TO_CHAR(ppa.DATE_EARNED,'MON-YYYY')) IS NOT NULL
    AND TRIM(TO_CHAR(ppa.DATE_EARNED,'MON-YYYY')) = TRIM(TO_CHAR(SYSDATE,'MON-YYYY'))
    AND ppa.DATE_EARNED=(SELECT MAX(DATE_EARNED) FROM pay_payroll_actions WHERE time_period_id=ppa.time_period_id)
    AND ppa.DATE_EARNED >='30-NOV-2007'
    --Check the Concurrent Program Ran or not to Display the SYS Month Payroll Period ID
    AND EXISTS
    (SELECT TRIM(TO_CHAR(REQUEST_DATE,'MON-YYYY')) FROM fnd_conc_req_summary_v fcrs
    WHERE program_short_name = 'PROC_EXP1_TESTING'
    AND PHASE_CODE='C' AND STATUS_CODE='C'
    AND TO_CHAR(REQUEST_DATE,'MON-YYYY')=TO_CHAR(SYSDATE,'MON-YYYY')
    AND REQUEST_DATE=(SELECT MAX(REQUEST_DATE) FROM fnd_conc_req_summary_v
    WHERE CONCURRENT_PROGRAM_ID=fcrs.CONCURRENT_PROGRAM_ID))
    ORDER BY 1 DESC) QRSLT WHERE (( UPPER(DISPLAY) like :1 AND (DISPLAY like :2 OR DISPLAY like :3 OR DISPLAY like :4 OR DISPLAY like :5)))
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1145)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1408)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormData(OAPageBean.java:2555)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1677)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:509)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:430)
         at oa_html._OA._jspService(_OA.java:84)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.sql.SQLException: ORA-01843: not a valid month
    Could any please suggest/provide your valuable inputs to resolve this issue(It is in production , so please treat it as very urgent).
    Thanks & Regards,
    J.Prakash

    Hi,
    This is really a strange behaviour as you are saying that it is happening only for one user so please check his user preferences.
    Regards,
    Reetesh Sharma

Maybe you are looking for

  • After AMD X2 3800 upgrade MSI Radio causes stop error

    Hi! First of all sorry for by bad English I have an MSI TV Anywhere master card for about two years now. Until now it was running fine, using the updated drivers from MSI's site This include the main driver, and the new WinDVR 3.0 and the updated MSI

  • I can't seem to see sync my mac and iphone using iCloud with numbers and pages how can i correct this?

    Hi I've used Numbers and Pages for IOS for sometime now and when i use safari to look at my icloud account i can see all my files. Recently i bought Numbers for Mac and now whenever i create a spreadsheet on my mac i can't see it on my iphone but i c

  • Oracle 9i on linux 9 with $GB RAM

    Hi, I have Oracle 9i installed on linux 9. I also SGA not >1.7GB. I have read that installing Linux AS 2.1 would help recogainising more RAM ,but after some configurations. But I have my database running .also i dont have Linux AS Can anyone helpme h

  • What is a PHP server and how do I make it work??

    I've heard about it, and I'm trying to make form, but apparently you need a PHP server.  What is it and where do I get one and how do I make it work??? Thanks! Happy flashing!

  • Mac OS X 10.5.6 Update download clarification please

    Hi, Several people are talking about downloading the update from the apple website (which I normally do) BUT are calling the 372 MB download the COMBO download. Correct me if I am wrong but isn't the COMBO download the 668MB one? And if so, why is th