JDev 10.1.3 OC4J JDBC Error

I'm having a problem running an application in JDev10.1.3 when mapping an oracle object to a java object.
The error occuring is "java.lang.ClassCastException: oracle_oc4j_sql_proxy_SQLBCELProxy_tuinsurance_lib_ejb_PolicyRate__BCELProxy"
This error only happens when i'm using Datasources retrieved through JNDI. If i use oracle.jdbc.DriverManager to instantiate a sql connection i have NO problem.
Only when i look up a datasource do i have this problem with mapping oracle objects to java objects. Note this has worked in earlier version of JDeveloper (9.0.5.2) with JDBC 2.0.
Does this have to do with Drivers or javax.sql.Datasource class in JDK1.4 ???
Has anyone had this problem ? Any JDBC or JDev experts who can help me out on this one ?
Thanks in advance
Gurinder

Here is a boat-load of system info for the error message posted by Eric Everman:
java.class.version     48.0
java.endorsed.dirs     C:\j2sdk1.4.2_06\jre\lib\endorsed
java.ext.dirs     C:\j2sdk1.4.2_06\jre\lib\ext
java.home     C:\j2sdk1.4.2_06\jre
java.io.tmpdir     C:\DOCUME~1\eeverman\LOCALS~1\Temp\
java.library.path     
* C:\j2sdk1.4.2_06\bin
* C:\WINDOWS\System32
* C:\WINDOWS
* C:\j2sdk1.4.2_06\bin
* d:\oracle\oraids2\bin
* d:\oracle\oraids2\jlib
* d:\oracle\ora92\bin
* C:\WINDOWS\system32
* C:\WINDOWS
* C:\WINDOWS\System32\Wbem
* C:\Program Files\Common Files\Adaptec Shared\System
* C:\Program Files\Reflection\
* C:\Program Files\Executive Software\Diskeeper\
java.naming.factory.initial     com.evermind.server.ApplicationInitialContextFactory
java.naming.factory.url.pkgs     oracle.oc4j.naming.url
java.net.preferIPv4Stack     true
java.protocol.handler.pkgs     com.evermind.protocol
java.runtime.name     Java(TM) 2 Runtime Environment, Standard Edition
java.runtime.version     1.4.2_06-b03
java.specification.name     Java Platform API Specification
java.specification.vendor     Sun Microsystems Inc.
java.specification.version     1.4
java.util.prefs.PreferencesFactory     java.util.prefs.WindowsPreferencesFactory
java.vendor     Sun Microsystems Inc.
java.vendor.url     http://java.sun.com/
java.vendor.url.bug     http://java.sun.com/cgi-bin/bugreport.cgi
java.version     1.4.2_06
java.vm.info     mixed mode
java.vm.name     Java HotSpot(TM) Client VM
java.vm.specification.name     Java Virtual Machine Specification
java.vm.specification.vendor     Sun Microsystems Inc.
java.vm.specification.version     1.0
java.vm.vendor     Sun Microsystems Inc.
java.vm.version     1.4.2_06-b03
javax.management.builder.initial     oracle.oc4j.admin.jmx.server.Oc4jMBeanServerBuilder
javax.rmi.CORBA.PortableRemoteObjectClass     com.sun.corba.ee.impl.javax.rmi.PortableRemoteObject
javax.rmi.CORBA.StubClass     com.sun.corba.ee.impl.javax.rmi.CORBA.StubDelegateImpl
javax.rmi.CORBA.UtilClass     com.sun.corba.ee.impl.javax.rmi.CORBA.Util
line.separator     
oc4j.jms.usePersistenceLockFiles     false
oracle.dms.sensors     NONE
oracle.home     D:\Program Files\jdev10.1.3
oracle.j2ee.container.name     Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview 3
oracle.j2ee.container.version     10.1.3.0.0
oracle.j2ee.dont.use.memory.archive     true
oracle.j2ee.home     D:\Program Files\jdev10.1.3\jdev\system\oracle.j2ee.10.1.3.3.51
oracle.j2ee.http.socket.timeout     500
oracle.security.jazn.config     D:\Program Files\jdev10.1.3\jdev\system\oracle.j2ee.10.1.3.3.51\oc4j-config\jazn.xml
org.apache.commons.logging.Log     org.apache.commons.logging.impl.SimpleLog
org.apache.commons.logging.simplelog.defaultlog     info
org.apache.tapestry.disable-caching     true
org.omg.CORBA.ORBClass     com.sun.corba.ee.impl.orb.ORBImpl
org.omg.PortableInterceptor.ORBInitializerClass.oracle.oc4j.corba.iiop.server.IIOPInitializer     NO_VALUE
os.arch     x86
os.name     Windows XP
os.version     5.1
path.separator     ;
sun.arch.data.model     32
sun.boot.class.path     
* C:\j2sdk1.4.2_06\jre\lib\endorsed\bsf.jar
* C:\j2sdk1.4.2_06\jre\lib\endorsed\xalan.jar
* C:\j2sdk1.4.2_06\jre\lib\endorsed\xercesImpl.jar
* C:\j2sdk1.4.2_06\jre\lib\endorsed\xml-apis.jar
* C:\j2sdk1.4.2_06\jre\lib\rt.jar
* ....[clipped]
sun.boot.library.path     C:\j2sdk1.4.2_06\jre\bin
sun.cpu.endian     little
sun.cpu.isalist     pentium i486 i386
sun.io.unicode.encoding     UnicodeLittle
sun.os.patch.level     Service Pack 1
user.country     US
user.dir     D:\Program Files\jdev10.1.3\jdev\system\oracle.j2ee.10.1.3.3.51\oc4j-config

Similar Messages

  • TO JDEV TEAM: JBO-28020/JBO-28006 ERRORS

    Hi,
    I deploy a BC4J application (made with Jdev official) on an OC4J container 9.0.2. the application use a 9i data base.
    frequently, when we try to insert or update rows in viewObject, we have the following error :
    Application Error
    Return
    Error Message: JBO-28020: Erreur de passivation pour l'objet collection GrandeurView, ID de noeud 45
    Error Message: JBO-28006: Criation impossible de la table de persistance PS_Bdcorrel_BC4JModule_1
    oracle.jbo.PCollException: JBO-28020: Erreur de passivation pour l'objet collection GrandeurView, ID de noeud 45
    <>
    ## Detail 0 ##
    oracle.jbo.PCollException: JBO-28006: Criation impossible de la table de persistance PS_Bdcorrel_BC4JModule_1
    <>
    ## Detail 0 ##
    java.sql.SQLException: ORA-00955: Ce nom d'objet existe dij`
    <>
    This is a pressing issue, and I'd need an answer asap. Could anyone from the JDEV team please help me on this?
    Thanks a lot!

    Stephane:
    Could you send me the entire stack trace?
    It would also help if you can translate some of the "important" exception messages into English for me (sorry).
    Thanks.
    Sung

  • WebCenter Preconfigured OC4J start error....

    When we want to start WebCenter Preconfigured OC4J a error dialog opens and contains fallowing messages.
    the directory this external tool is set to tun in does not exist
    or is not a directory.
    are you sure you want to run this tool
    when we say "yes"
    external tool failed exception occurs.
    log window contains...
    C:\jdev10132\jdev\\extensions\oracle.adfp.seededoc4j.10.1.3.2.0/bin/adfp_oc4j.cmd C:\jdev10132\jdk\jre/.. C:\jdev10132\ C:\jdev10132\jdev\\extensions\oracle.adfp.seededoc4j.10.1.3.2.0 -start
    We are using Jdev 10.1.3.2 with default install on win XP
    The directory is here but some backslash (/) charakter seem to be wrong
    but even we change directory from external tool editor nothing change
    Thanks for your help..

    same error after some magical upgrade.
    we got the SVN plugin and jdev did an upgrade. I'm not sure or aware this ever worked prior to this reboot upgrade series of messages for the svn plugin.
    The behavior was no response. log file showed this:
    C:\jdev10133\jdev\extensions\oracle.adfp.seededoc4j.10.1.3/bin/adfp_oc4j.cmd C:\jdev10133\jdk\jre/.. C:\jdev10133\ C:\jdev10133\jdev\extensions\oracle.adfp.seededoc4j.10.1.3 -start
    pasted this into dos prompt:
    file not found.
    search directory for adfp_oc4j.cmd
    actually in
    \srcimage\bin
    C:\jdev10133\jdev\extensions\oracle.adfp.seededoc4j.10.1.3\srcimage\bin\adfp_oc4j.cmd C:\jdev10133\jdk\jre/.. C:\jdev10133\ C:\jdev10133\jdev\extensions\oracle.adfp.seededoc4j.10.1.3 -start
    c-C:\jdev10133\jdev\extensions\oracle.adfp.seededoc4j.10.1.3\srcimage\bin\adfp_oc4j.cmd C:\jdev10133\jdk\jre/.. C:\jdev1
    0133\ C:\jdev10133\jdev\extensions\oracle.adfp.seededoc4j.10.1.3 -start
    wsrp not installed
    installing wsrp......
    The system cannot find the path specified.
    oracle.portlet.server.containerimpl.install.InstallException: Error: Could not find file "C:\jdev10133\jdev\extensions\c
    onfig\server.xml"
    at oracle.portlet.server.containerimpl.install.Main.copyFile(Main.java:346)
    at oracle.portlet.server.containerimpl.install.Main.applyTransformation(Main.java:305)
    at oracle.portlet.server.containerimpl.install.Main.install(Main.java:169)
    at oracle.portlet.server.containerimpl.install.Main.main(Main.java:126)
    The system cannot find the path specified.
    Create WebClipping repository path
    Create portal conf
    A subdirectory or file C:\jdev10133\\portal already exists.
    The system cannot find the path specified.
    Error: Can not find C:\jdev10133\jdev\extensions\oracle.adfp.seededoc4j.10.1.3\j2ee\home\config\server.xml.
    Stop OC4J command finished.
    What oracle_home and java_home did you set?
    How do I get jdev to properly launch this?
    ask and answer my own question...
    TOOLS, Edit External Tool
    add this path.
    A subdirectory or file C:\jdev10133\\portal already exists.
    A subdirectory or file C:\jdev10133\\portal\conf already exists.
    The system cannot find the path specified.
    Error: Can not find C:\jdev10133\jdev\extensions\oracle.adfp.seededoc4j.10.1.3\j2ee\home\config\server.xml.
    Stop OC4J command finished.
    What is the srcimage directory? Was does my system have this and default is broken? I had to edit the settings and add this.
    --- almost have it working ... here's the oracle home issue.
    C:\jdev10133\ (dont use the trailing slash)
    tarting OC4J from C:\jdev10133\\j2ee\home ...
    Executing: C:\jdev10133\jdk\jre/..\bin\java -XX:MaxPermSize=128m -Xmx512m -jar "C:\jdev10133\\j2ee\home\oc4j.jar" -config C:\jdev10133\jdev\extensions\oracle.adfp.seededoc4j.10.1.3\srcimage\j2ee\home\config\server.xml
    08/02/26 18:33:41 Error initializing server: IO error reading system
    08/02/26 18:33:41 Fatal error: server exiting
    Stop OC4J command finished.
    C:\jdev10133\jdev\extensions\oracle.adfp.seededoc4j.10.1.3\srcimage\bin>
    C:\jdev10133\jdev\extensions\oracle.adfp.seededoc4j.10.1.3/srcimage/bin/adfp_oc4j.cmd C:\jdev10133\jdk\jre/.. C:\jdev10133\ C:\jdev10133\jdev\extensions\oracle.adfp.seededoc4j.10.1.3\srcimage -start
    now i've really screwed it up. doesnt work at all. I'm going to look at 10.1.3.2 and see the settings.
    C:\jdev10133\jdev\extensions\oracle.adfp.seededoc4j.10.1.3/srcimage/bin/adfp_oc4j.cmd C:\jdev10133\jdk\jre/.. C:\jdev10133\ C:\jdev10133\jdev\extensions\oracle.adfp.seededoc4j.10.1.3\srcimage -start
    Starting OC4J from C:\jdev10133\\j2ee\home ...
    Executing: C:\jdev10133\jdk\jre/..\bin\java -XX:MaxPermSize=128m -Xmx512m -jar "C:\jdev10133\\j2ee\home\oc4j.jar" -config C:\jdev10133\jdev\extensions\oracle.adfp.seededoc4j.10.1.3\srcimage\j2ee\home\config\server.xml
    08/02/26 18:57:33 Error initializing server: IO error reading system
    08/02/26 18:57:33 Fatal error: server exiting
    Stop OC4J command finished.

  • ERROR reports.reportdefinition : com.crystaldecisions.reports.queryengine.driverImpl.m: JDBC Error: [Microsoft][ODBC Driver Manager] Invalid string or buffer length

    I have developed Java web application which uses Crystal Report 2013 , java 1.6 , Windows 32 bit System, All the reports are loading fine in the Following environment
    Development Environment
    Windows7 Professional Service pack 1 -32 bit
    Java - 1.6
    Internet Explorer 11
    Oracle Client 10g 32 bit ODBC driver
    Testing Environment
    Windows Server 2008 R2 Enterprise - 64 bit
    java 1.6
    Internet Explorer 9
    Oracle Client 11g 62 bit ODBC driver
    While loading reports in the 64 bit server the error occurs
    ERROR reports.reportdefinition :  com.crystaldecisions.reports.queryengine.driverImpl.m: JDBC Error: [Microsoft][ODBC Driver Manager] Invalid string or buffer length
    ERROR dataengine.datasource : Failed to read next recurring database record: database row set error.
    com.crystaldecisions.reports.reportdefinition.datainterface.j: JDBC Error: [Microsoft][ODBC Driver Manager] Invalid string or buffer length
        at com.crystaldecisions.reports.reportdefinition.datainterface.q.a(Unknown Source)
        at com.crystaldecisions.reports.dataengine.n.m(Unknown Source)
        at com.crystaldecisions.reports.dataengine.n.l(Unknown Source)
        at com.crystaldecisions.reports.dataengine.n.bn(Unknown Source)
        at com.crystaldecisions.reports.dataengine.n.bp(Unknown Source)
        at com.crystaldecisions.reports.dataengine.n.else(Unknown Source)
        at com.crystaldecisions.reports.dataengine.s.a(Unknown Source)
        at com.crystaldecisions.reports.dataengine.bk.a(Unknown Source)
        at com.crystaldecisions.reports.dataengine.bk.ab(Unknown Source)
        at com.crystaldecisions.reports.dataengine.bk.<init>(Unknown Source)
        at com.crystaldecisions.reports.dataengine.bk.if(Unknown Source)
        at com.crystaldecisions.reports.dataengine.bk.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.be.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.be.h(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.i.h(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.be.for(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bf.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.for(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.ca.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.a9.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.e.m.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.for(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.e.m.for(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.e.p.l(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.e.p.void(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.e.p.l(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.e.p.aE(Unknown Source)
        at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source)
        at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
        at com.businessobjects.reports.sdk.b.b.int(Unknown Source)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
        at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
        at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
        at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)
        at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
        at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
        at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
        at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
        at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)
        at com.erm.controller.ALMReportsController.queryDll(ALMReportsController.java:1681)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.springframework.web.servlet.mvc.multiaction.MultiActionController.invokeNamedMethod(MultiActionController.java:471)
        at org.springframework.web.servlet.mvc.multiaction.MultiActionController.handleRequestInternal(MultiActionController.java:408)
        at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
        at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936)
        at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:838)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
        at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.erm.authentication.HttpSecurityFilter.doFilter(HttpSecurityFilter.java:658)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Unknown Source)
    Caused by: com.crystaldecisions.reports.queryengine.driverImpl.m: JDBC Error: [Microsoft][ODBC Driver Manager] Invalid string or buffer length
        at com.crystaldecisions.reports.queryengine.driverImpl.o.if(Unknown Source)
        at com.crystaldecisions.reports.queryengine.ap.if(Unknown Source)
        at com.crystaldecisions.reports.queryengine.l.bN(Unknown Source)
        at com.crystaldecisions.reports.queryengine.ap.eg(Unknown Source)
        at com.crystaldecisions.reports.queryengine.ap.e(Unknown Source)
        at com.crystaldecisions.reports.queryengine.b2.f(Unknown Source)
        at com.crystaldecisions.reports.queryengine.b2.dy(Unknown Source)
        ... 89 more
    Caused by: java.sql.SQLException: [Microsoft][ODBC Driver Manager] Invalid string or buffer length
        at sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown Source)
        at sun.jdbc.odbc.JdbcOdbc.standardError(Unknown Source)
        at sun.jdbc.odbc.JdbcOdbc.SQLGetDataString(Unknown Source)
        at sun.jdbc.odbc.JdbcOdbcResultSet.getDataString(Unknown Source)
        at sun.jdbc.odbc.JdbcOdbcResultSet.getBigDecimal(Unknown Source)

    A few things to note:
    1) Crystal Report 2013 doe snot install any SDK. Thus the assumption is that you are using CR from teh following link:
    SAP BusinessObjects - SAP Crystal Reports, Version For Eclipse Download
    2) Since you are using a 64 bit connection (Oracle Client 11g 62 bit ODBC driver) you will have to make sure you are using 64 bit JVM. Otherwise, follow Dell's advice and use a 32 bit ODBC datasource.
    3) On one test you are using Oracle Client 10g 32 bit ODBC driver and the other you are using Oracle Client 11g 64 bit ODBC driver. You might want to see if you can run your app using Client 11g 32 bit ODBC driver.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada

  • Sender JDBC Error

    Hi,
    i am using XI7.0, Sender JDBC error is below;
    when i test to connect to Oracle DB in using JAVA Code with ojdbc14.jar which was deployed into XI J2EE, i have no problem with insert update delete in using same code which was used in JDBC adapter in Configuration Time.
    but JDBC Adapter on XI(JDBC2JDBC) is not running as well.
    please look at the following and please guide.
    JDBC Driver : oracle.jdbc.driver.OracleDriver
    connection : jdbc:oracle:thin:@60.7.111.211:1577:AACC
    S_SSS_MMM_JDBC_MDMALL001CU Sender Adapter v1402 for Party '', Service 'SSS_BS01_TESTBS01_D':
    Configured at 12:29:23 2006-07-10
    Last message processing started 12:29:55 2006-07-10
    Error: Sending message '4299fec0-0fb4-11db-c508-000d604dde82' - failed with unexpected exception - proceed anyway: java.lang.ClassCastException: $Proxy222
    last retry interval started 12:29:55 2006-07-10
    length 10,000 secs
    does anyone know how to fix it?
    thanks
    venjamin

    Hi Venjamin,
    Just try the follwing,
    1. The Select Query in your Sender JDBC adapter. Try executing the same query on your DB client and check if it works fine and the data returned by it is of valid format?
    2. Is any of the datatype being returned a CLOB or BLOB?
    Regards,
    Bhavesh

  • Intermittent JDBC error in Enhanced Receiver Determination

    Hi,
    I have an interface that use Enhanced Receiver Determination in PI 7.1 EHP1.
    The database is DB2 on i5/os 6.1
    Sometimes message ends in error :Error when determining the receiver: Problem while determining receivers using interface mapping: Runtime exception occurred during application mapping com/sap/xi/tf/_HI01_to_ReceiverDetermination_;
    But the same message with same values is successfull earlier.
    This is not a design problem; the interface is working well 95% of the time.
    I found some JDBC error in NWA java logs:
    Error in sax handler parsing request: Error when executing statement for table/stored proc. 'table' (structure 'statement'): java.sql.SQLException: [SQL0104] Token "BUSINESS_SYSTEM" was not valid. Valid tokens: FOR SKIP WITH FETCH ORDER UNION EXCEPT OPTIMIZE.
    Error when calling an adapter by using the communication channel CC_RECEIVER_JDBC_PIDB2 (Party: *, Service: INTEGRATION_SERVER_PX1, Object ID: cb7ea38fb2ac3a06b12d79f5ade2bcf7) XI AF API call failed. Module exception: (No information available). Cause Exception: 'Error processing request in sax parser: Error when executing statement for table/stored proc. 'table' (structure 'statement'): java.sql.SQLException: [SQL0104] Token "BUSINESS_SYSTEM" was not valid. Valid tokens: FOR SKIP WITH FETCH ORDER UNION EXCEPT OPTIMIZE.'.
    Thrown:
    com.sap.aii.af.service.api.AFException: XI AF API call failed. Module exception: (No information available). Cause Exception: 'Error processing request in sax parser: Error when executing statement for table/stored proc. 'table' (structure 'statement'): java.sql.SQLException: [SQL0104] Token "BUSINESS_SYSTEM" was not valid. Valid tokens: FOR SKIP WITH FETCH ORDER UNION EXCEPT OPTIMIZE.'.
    at com.sap.aii.af.service.api.AdapterAccess.sendMsg(AdapterAccess.java:214)
    at com.sap.aii.af.service.api.AdapterAccess.execute(AdapterAccess.java:283)
    at com.sap.aii.ibrun.server.lookup.AdapterProxyLocal.execute(AdapterProxyLocal.java:119)
    at com.sap.aii.ibrun.server.lookup.SystemAccessorInternal.execute(SystemAccessorInternal.java:76)
    at com.sap.aii.mapping.lookup.DataBaseAccessor.execute(DataBaseAccessor.java:74)
    at com.sap.aii.mappingtool.flib7.SelectSingle.selectSingle(SelectSingle.java:54)
    at sun.reflect.GeneratedMethodAccessor607.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:592)
    Any idea? Can high volume cause the JDBC Receiver to fail?
    Martin

    hi,
    you r trying to impliment Lookup for the file adapter which is not synch in nature and hance u r not getting the responce back.
    please find the link which deals with how to impliment lookup for file adapter.
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/file%252blookup%252bin%252budf.
    now once u get rhe runtime receiver u can perform enhanced receiver determination (write a simple UDF)
    regards,
    navneet.

  • SQL Server 2000 Driver for JDBC - Error establishing sockets

    Hi there
    I am using Microsoft SQL Server 2000 Driver for JDBC to connect to SQL Sever 2000. It is just a test application to see if it would connect to the datacase successfully. But I got the following errors. I already set up the classpath and installed all SQL Server 2000 Driver for JDBC sp 3. Dont know why it still failed...can anyone help me out of this? Thanks.
    When i am using simple JDBC-ODBC bridge Driver it's working fine.
    For this Server Pack3 , i have checked every thing like--
    TCP / IP Poart is Enable.
    I am working in client machine, my MSSQLServer 2000 Placed in server Machine.
    when i am giving Telnet ServerIP 1433 it's giving following response.
    connecting to ServerIP ....... could not open connection to the host , on port 1433:connection Failed
    My Sample Code is :--
    String user="sa";
    String password="imcindia";
    Connection con1 = null;
    CallableStatement cstmt = null;
    Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver").newInstance();
    con1=DriverManager.getConnection("jdbc:microsoft:sqlserver://ServerName:1433;DatabaseName=dmo1o2d",user,password);
    Statement st=con1.createStatement();
    st.execute("use dm0102d");
    st.execute("setuser 'dm01012'");
    cstmt = con1.prepareCall("{?=Call dms_ex_create_folder('ABC','18753','NB21','u')}");
    cstmt.execute();
    Here are Error Code :
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.
         at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
         at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
         at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
         at com.microsoft.jdbc.sqlserver.tds.TDSConnection.<init>(Unknown Source)
         at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source)
         at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown Source)
         at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source)
         at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source)
         at java.sql.DriverManager.getConnection(Unknown Source)
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Connection refused: connect
         at java.sql.DriverManager.getConnection(Unknown Source)
         at TestConnection1.main(TestConnection1.java:24)
    one can help me to over come this problm,
    Thanks in advance.
    venkat

    hey i also have this problem i have been looking for solution for this problem for along time i tried every possible solution i tried every service pack for the SQL but it didn't connect to the port!!!
    it's a network problem ur java code is correct dont worry about it.
    finally i had to install MySQL and it's work fine now but if u insist on usning SQL u have to use the JDBC-ODBC Bridge it will work by :
    first add data source database , follow these steps
    1- go to Administrative tools
    2-Data Sources(ODBC)
    3-System DNS tab and add then choose SQL SERVER the last option then finish
    4-write the name; Note: this name is the one that u will write in ur URL for example if u write Hello the URL will be "jdbc:odbc:Hello"
    5- choose the server, its recommended to write "." or (local)
    6-change the database to its an important step to choose the database that u want to use, choose northwind if u want to use it
    finish
    second
    adding this code:
    import java.sql.*;
    class JdbcTest1 { 
    public static void main (String[] args) { 
    try { 
    // Step 1: Load the JDBC driver.
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    // Step 2: Establish the connection to the database.
    String url = "jdbc:odbc:Hello";
    Connection conn = DriverManager.getConnection(url,"user1","password");
    } catch (Exception e) { 
    System.err.println("Got an exception! ");
    System.err.println(e.getMessage());
    it will work without any problems

  • JDBC error in PreparedStatement using TimesTen 6.0.3

    TimesTen supports this kind of sql statement
    select rows 3 to 5 * from products
    (it returns 2 rows started from row #3)
    I want to implement this in java thru JDBC
    PreparedStatement pstmt = con.prepareStatement(select rows ? to ? * from products);
    pstmt.setInt(1,3);
    pstmt.setInt(2,2);
    However, I got a JDBC error in the PreparedStatement line
    java.sql.SQLException: [TimesTen][TimesTen 6.0.3 ODBC Driver][TimesTen]TT1001: Syntax error in SQL statement before or at: "?", character position: 13 -- file "ptSqlY.y", lineno 1955, procedure "sbPtParseSql()"
    Anyone encounter this kind of error before? How to solve it?
    Thanks!
    Wellwin
    P.S. I am running this in Linux platform with JDBC driver come with TimesTen for java 1.4

    Hi Wellwin,
    Using SELECT ROWS m to n, you cannot parameterise m or n in order to provide them at execution time. They have to be explicitly stated as literals in the statement…
    If you need to use this with several different values for ‘m’ and ‘n’, there are a couple of options:
    1) Prepare (and subsequently execute) a different prepared statement for each combination of ‘m’ and ‘n’ that you need. This may be fine if there are only a small number of combinations but not a good choice if there are many combinations.
    2) Just use a regular SELECT (without the ROWS m TO n clause) and ‘skip’ the rows in the application code.
    Simon

  • IDOC to JDBC :Error using JDBC

    Hi Frnds,
    My scenario is Idoc to JDBC scenario, I am getting the follwoing error while trying to process an idoc. Please help me in hadling this error.
    Error Message:
    JDBC message processing failed; reason Error when attempting to get processing resources: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: DriverManagerException: Cannot establish connection to URL 'jdbc:microsoft:sqlserver://180.1.32.194:1433;DatabaseName=CZZ03;': SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.
    Regards,
    Shiv

    Hello Shiva,
    Are you installed  JDBC Drivers?
    Go through this links,
    /people/varadharajan.krishnasamy/blog/2007/02/27/configuring-jdbc-connector-service-to-perform-database-lookups
    http://searchsap.techtarget.com/tip/0,289483,sid21_gci1246926,00.html
    To install JDBC driver follow the how to guide.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-how-to-guides/how%20to%20install%20and%20configure%20external%20drivers%20for%20jdbc%20and%20jms%20adapters.pdf
    Configuration of JDBC Adapter for SQL Server
    JDBC Driver = com.microsoft.jdbc.sqlserver.SQLServerDriver
    Connection = jdbc:microsoft:sqlserver://hostname:<port>;DatabaseName=<DBName>
    UserID and Password.
    If the connection is not working find the correct port number.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40b92770-db81-2a10-8e91-f747188d8033
    JDBC- X I -  R/3 Scenario
    /people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
    Please check the driver path as mentioned below.
    JDBC Driver : sun.jdbc.odbc.JdbcOdbcDriver
    Connection:jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=//location of DB table.mdb;
    No JDBC driver required.
    Receiver JDBC scenario MS access - /people/sameer.shadab/blog/2005/10/24/connecting-to-ms-access-using-receiver-jdbc-adapter-without-dsn
    follow this thread
    Re: Problem when connecting to MS Access through JDBC Adapter.
    SAP Note 850116 has details
    Thanks,
    Satya Kumar
    Reward if it is usefulll

  • NEED HELP: JDBC ERROR

    I get this error when I try to connect my applet through JDBC:
    Error null: Unexpected Packet. Type = 0
    I have punch a hole on my firewall to allow my jdbc thin to hit
    directly to oracle database.
    If you have an answer for my problem, please email me at
    [email protected]
    Thanks a bunch,
    -ed-
    null

    Hi ,
    Use following String
    http://<Hostname>:<PortNo>/ftpjdbc
    This can be used to check whether FTP and JDBC Drivers are properly deployed and connection can be done or not.
    Select JDBC . Then   :
    Driver Class (fully qualified)  : com.microsoft.sqlserver.jdbc.SQLServerDriver
    JDBC URL : jdbc:sqlserver://255.255.255.255:8888;databasename=Dummy
    USERNAME : DUMMY
    PASSWORD : DUMMY
    and enter valid values and then press connect
    Then In response you will see connection will be established and then closed , any else response means there is some problem...
    Regards
    Prabhat Sharma.

  • Oc4j install error

    10g is installed on my machine, i want to install mapviewer (quick start) and make it work ! in order to run mapviewer, i have to install oc4j, first of all, and start it.
    i'm following the readme file instructions combining with spatial user's guide.pdf and following error is what i have succeed to do so far:
    D:\oracle10\product\10.2.0\db_1\oc4j\j2ee\home>java -jar oc4j.jar
    Error opening registry key 'Software\Oracle\JInitiator\1.3.1.9'
    Error: could not find java.dll
    Error: could not find Java 2 Runtime Environment.
    as it seems, i don't have jInitiator installed (first of all and not the last), so where to find it?
    as it concerns java 2 runtime env. following version of java 2 platform standard edition is installed: 1.5.0. (build 1.5.0_04-b05).
    thanks a lot

    hi Steve and thanks for reply.
    this is the only environment variables (%path%) concerning java:
    D:\oracle10\product\10.2.0\db_1\jre\1.4.2\bin\client
    D:\oracle10\product\10.2.0\db_1\jre\1.4.2\bin
    no other env variable about java exists.
    i have just installed j2sdk-1_4_2. is this one ok to be added to env variables:
    C:\j2sdk1.4.2_10\bin
    about jInitiator: i have an icon shown in control panel, but when i click it, it says:
    The system cannot find the registry key specified:
    HKEY_LOCAL_MACHINE\SOFTWARE\Oracle\JInitiator\1.3.1.9
    does this mean jinit is not installed on machine or somehow reg key was deleted?
    if i download jinit13118, will this one be ok to install it?
    when i say 10g i mean database, i haven't installed app server yet. i'd like to run mapviewer as standalone. but i'll try also with app server.

  • Jdev 10.1.3 IInteral compiltion Error, odd behavior

    I have been using JDev 10.1.3 since it came out, and 10.1.2 before that, no problems, all PL/SQL work.
    Today I get a very odd thing - maybe c/o it is the first time I have done this:
    I create a function with 2 IN VARCHAR2 parameters. I cannot run it or debug it.
    JDev hangs before I get the lauch screen. A blank screen comes up, then JDev hangs, 100%CPU hang - must use Task Mgr to kill the jdevW.exe process.
    I tried the same thing as a procedure, and, I tried function and procedure in different schemas, and on different databases. The procedure compiles, debugs and executes fine. The function hangs on opening the launch window, trying to Run or Debug.
    Function - hangs upon attempt to Run or Debug:
    FUNCTION "CR_DISCO_FUNCTION" ( p_fnam IN VARCHAR2, p_lnam IN VARCHAR2)
    RETURN VARCHAR2
    AS
    v_unam VARCHAR2(60);
    p_unam VARCHAR2(60);
    v_str VARCHAR2(200);
    BEGIN
    v_unam := UPPER( TRIM( p_fnam)||TRIM( p_lnam));
    v_unam := REPLACE( REPLACE(v_unam, ' ',''), ' '' ', '');
    v_str := 'CREATE USER '||v_unam
    ||' IDENTIFIED BY PASSWD PASSWORD EXPIRE';
    p_unam := v_unam;
    dbms_output.put_line( p_unam);
    RETURN( p_unam);
    END;
    Procedure:
    PROCEDURE "CR_DISCO_PROCEDURE" ( p_fnam IN VARCHAR2, p_lnam IN VARCHAR2, p_unam OUT VARCHAR2)
    AS
    v_unam VARCHAR2(60);
    v_str VARCHAR2(200);
    BEGIN
    v_unam := UPPER( TRIM( p_fnam)||TRIM( p_lnam));
    v_unam := REPLACE( REPLACE(v_unam, ' ',''), ' '' ', '');
    v_str := 'CREATE USER '||v_unam
    ||' IDENTIFIED BY PASSWD PASSWORD EXPIRE';
    p_unam := v_unam;
    dbms_output.put_line( p_unam);
    END;
    The logic is obviously pared down (there are more elegant ways to do the above), and no doubt I could cut it down more and get the same results.
    Earlier today I ran into the "Internal compilation error ... " bug - again trying to compile PL/SQL. I have been using JDev 10.1.3 and SQL Developer, mainly JDev c/o stability. SQL Dev was giving me that same "Internal compilation error ..." error upon compile. So I abandonded SQL Dev. I took the advice of some other threads in this forum and downloaded and installed a new JDev, in a separate directory. I did NOT migrate settings, not wanting to pollute the new JDev. So I should be OK there. I understand I need to wait 2-3 wks for the next update, but, I need to get some work done between now and then.
    Now I am thinking it is some oddity with my function ... but I am just not seeing it.
    Maybe all will magically work in the AM when I and my machine ( Windows XP Pro, SP2, 2G memory, local 10.1.2 database - though same behavior connecting to remote databases) have had a rest ...
    Thanks for any suggestions or help,
    Karen

    Sorry for my spelling ...
    I enclosed the function in a package - same behavior. Hangs JDev upon startup of the launch window. What is the difference between the function and the procedure that causes JDev to hang?
    Internal Compilation error seems to be gone for now.

  • BC4J VSM on OC4J 10.1.2 - jdbc error ORA-00911: invalid character

    Hello,
    I have been trying to run the Virtual Shopping Mall application on OC4J Standalone 10.1.2. I have deployed the application from a JDeveloper 10.1.2 release. When i try to login the OC4J log presents the following information and login fails:
    C:\oracle\oc4j_1012\j2ee\home>java -jar oc4j.jar
    oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation.
    Statement: SELECT Users.USER_NAME, Users.FIRST_NAME, Users.LAST
    NAME,          Users.EMAIL, Users.ADDRESS, Users.CITY,
    Users.STATE, Users.COUNTRY, Users.ZIP, Users.PHONE,
    Users.ROLE, Users.PASSWORD, Users.CARD_PROVIDER,
    Users.CARD_NUMBER, Users.CARD_EXPIRY_DATE FROM USERS Users WHERE (USER
    _NAME=?)
    at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java...
    which has a root cause of:
    ## Detail 0 ##
    java.sql.SQLException: ORA-00911: invalid character
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
    :137)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:304)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:271)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:625)
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.
    java:181)
    at oracle.jdbc.driver.T4CPreparedStatement.execute_for_describe(T4CPrepa
    redStatement.java:661)
    I've read some posts that suggest it could be the jdbc driver or the 'use ? style variables' option on the view definition. Your assistance is appreciated.
    Thanks
    David

    Thanks Luke,
    I changed
    vo.setWhereClause(" USER_NAME=?");
    to
    vo.setWhereClause(" USER_NAME=:0");
    And that particular segment worked as expected.
    Thanks
    David

  • OC4J Log Error Interpretation

    Hi, I am trying to debug an authentication issue using a system based on the information in this article: http://www.oracle.com/technology/products/jdev/howtos/1013/oc4jjaas/oc4j_jaas_login_module.htm
    IE database/datasource based authentication.
    I am getting the following error in the applications OC4J log every time a login attempt is made, no error is seen from the application, authentication simply fails.
    When I had the recommended code for fine logging in the j2ee-loggin.xml file (<logger name="oracle.j2ee.security.oc4j" level="FINE" useParentHandlers="false">
    <handler name="oc4j-handler"/>
    <handler name="console-handler"/>
    </logger>) there was no information at all recorded in the OC4J log, not until I removed the extra logger code from that file did entries such as the following begin appearing in the log file. What could be going wrong here? Why is the login process generating a null pointer error and why would the log file not be written too when the fine logging code was added to the config file? Any idea's? All I can really gain from this error message is that the DBTableOraDataSourceLoginModule is at some stage atleast being referenced or called.
    Log Message: September 3, 2007 10:59:51 AM EST
    Component Name OC4J Component ID j2ee
    Host Network Address 172.etc Message Level 1
    Module ID security User ID SYSTEM
    Execution Context ID 172.etc Execution Context Sequence 0
    Host Name usatl01 Thread ID 12
    Message Type Warning
    Message Text
    java.lang.NullPointerException
    at javax.naming.InitialContext.getURLScheme(InitialContext.java:228)
    at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:277)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    at oracle.security.jazn.login.module.db.DBTableOraDataSourceLoginModule.performDbAuthentication(DBTableOraDataSourceLoginModule.java:484)
    at oracle.security.jazn.login.module.db.DBTableOraDataSourceLoginModule.login(DBTableOraDataSourceLoginModule.java:335)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
    at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
    at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
    at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
    at oracle.security.jazn.oc4j.OC4JUtil.doJAASLogin(OC4JUtil.java:241)
    at oracle.security.jazn.oc4j.GenericUser$1.run(JAZNUserManager.java:818)
    at oracle.security.jazn.oc4j.OC4JUtil.doWithJAZNClsLdr(OC4JUtil.java:173)
    at oracle.security.jazn.oc4j.GenericUser.authenticate(JAZNUserManager.java:814)
    at oracle.security.jazn.oc4j.FilterUser.authenticate(JAZNUserManager.java:1143)
    at com.evermind.server.http.EvermindHttpServletRequest.getUserPrincipalInternal(EvermindHttpServletRequest.java:3601)
    at com.evermind.server.http.AJPHttpServletRequest.getUserPrincipalInternal(AJPHttpServletRequest.java:261)
    at com.evermind.server.http.HttpApplication.checkAuthenticationAndAuthorize(HttpApplication.java:6332)
    at com.evermind.server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:3009)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:736)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Supplemental Text
    javax.security.auth.login.LoginException: java.lang.NullPointerException
    at javax.naming.InitialContext.getURLScheme(InitialContext.java:228)
    at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:277)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    at oracle.security.jazn.login.module.db.DBTableOraDataSourceLoginModule.performDbAuthentication(DBTableOraDataSourceLoginModule.java:484)
    at oracle.security.jazn.login.module.db.DBTableOraDataSourceLoginModule.login(DBTableOraDataSourceLoginModule.java:335)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
    at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
    at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
    at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
    at oracle.security.jazn.oc4j.OC4JUtil.doJAASLogin(OC4JUtil.java:241)
    at oracle.security.jazn.oc4j.GenericUser$1.run(JAZNUserManager.java:818)
    at oracle.security.jazn.oc4j.OC4JUtil.doWithJAZNClsLdr(OC4JUtil.java:173)
    at oracle.security.jazn.oc4j.GenericUser.authenticate(JAZNUserManager.java:814)
    at oracle.security.jazn.oc4j.FilterUser.authenticate(JAZNUserManager.java:1143)
    at com.evermind.server.http.EvermindHttpServletRequest.getUserPrincipalInternal(EvermindHttpServletRequest.java:3601)
    at com.evermind.server.http.AJPHttpServletRequest.getUserPrincipalInternal(AJPHttpServletRequest.java:261)
    at com.evermind.server.http.HttpApplication.checkAuthenticationAndAuthorize(HttpApplication.java:6332)
    at com.evermind.server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:3009)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:736)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    at javax.security.auth.login.LoginContext.invoke(LoginContext.java:872)
    at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
    at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
    at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
    at oracle.security.jazn.oc4j.OC4JUtil.doJAASLogin(OC4JUtil.java:241)
    at oracle.security.jazn.oc4j.GenericUser$1.run(JAZNUserManager.java:818)
    at oracle.security.jazn.oc4j.OC4JUtil.doWithJAZNClsLdr(OC4JUtil.java:173)
    at oracle.security.jazn.oc4j.GenericUser.authenticate(JAZNUserManager.java:814)
    at oracle.security.jazn.oc4j.FilterUser.authenticate(JAZNUserManager.java:1143)
    at com.evermind.server.http.EvermindHttpServletRequest.getUserPrincipalInternal(EvermindHttpServletRequest.java:3601)
    at com.evermind.server.http.AJPHttpServletRequest.getUserPrincipalInternal(AJPHttpServletRequest.java:261)
    at com.evermind.server.http.HttpApplication.checkAuthenticationAndAuthorize(HttpApplication.java:6332)
    at com.evermind.server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:3009)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:736)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)

    Well, still struggling with this one.. although i've managed to get fine oc4j security logging enabled through the console, the error stream now follows this sequence of events at each login attempt :
    [DBTableOraDataSourceLoginModule]login called on DBTableLoginModule
    [DBTableOraDataSourceLoginModule]Calling callbackhandler ...
    [DBTableOraDataSourceLoginModule]Username returned by callback = TATKINS
    [DBTableOraDataSourceLoginModule]Username changed to case as defined by null to TATKINS
    [DBTableOraDataSourceLoginModule]Abort called on LoginModule
    java.lang.NullPointerException
    at javax.naming.InitialContext.getURLScheme(InitialContext.java:228)
    at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:277)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    at oracle.security.jazn.login.module.db.DBTableOraDataSourceLoginModule.performDbAuthentication(DBTableOraDataSourceLoginModule.java:484)
    at oracle.security.jazn.login.module.db.DBTableOraDataSourceLoginModule.login(DBTableOraDataSourceLoginModule.java:335)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         etc etc...
    JAAS-OC4J: Authentication failure for user: TATKINS
    JAAS-OC4J: Membership check for group: USER failed for user: anonymous
    What i cant work out is what is causing the login module to abort and raise a null pointer exception. Could this be due to a configuration mistake in the console manager or one of the xml files prior to deployment? I just have no idea how to approach fixing this issue.
    I really would appreciate some assistance, 5+ days trying to get this working. I had this working on jdeveloper embedded oc4j, and all the tute's on standalone deployment pass off the configuration of standalone as simple compared to embedded, yet don't go into enough detail to get it working, atleast from my perspective.

  • JDev 9.0.3 - AppModule Releasemode error

    I moved my 9.0.2 project to 9.0.3. Now I am running into a releasemode error (see below). However, it is not consistent. It tends to happen om my pages containing multiple perspective-for-java chart beans which has a releasemode of stateful. It has happened (but very infrequently on other pages). Sometimes the chart pages load fine. This behavior has been reproduced on two other PCs. Any ideas?
    Thanks,
    Deb
    Error Message: A releasemode attribute must be specified on the ApplicationModule tag
    oracle.jbo.JboException: A releasemode attribute must be specified on the ApplicationModule tag
         void oracle.jbo.JboException.(java.lang.String)
              JboException.java:333
         void oracle.jbo.html.jsp.datatags.Utils.releaseApplicationModule(javax.servlet.ServletContext, javax.servlet.http.HttpServletResponse, oracle.jbo.common.ampool.SessionCookie, java.lang.String)
              Utils.java:305
         void oracle.jbo.html.jsp.datatags.ReleasePageResourcesTag.releaseApplicationModule(oracle.jbo.common.ampool.SessionCookie)
              ReleasePageResourcesTag.java:115
         int oracle.jbo.html.jsp.datatags.ReleasePageResourcesTag.doEndTag()
              ReleasePageResourcesTag.java:80
         void cs_view__metrics__quests._jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              cs_view_metrics_quests.jsp:613
         void oracle.jsp.runtime.HttpJsp.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              HttpJsp.java:139
         void oracle.jsp.runtimev2.JspPageTable.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)
              JspPageTable.java:317
         void oracle.jsp.runtimev2.JspServlet.internalService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              JspServlet.java:465
         void oracle.jsp.runtimev2.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              JspServlet.java:379
         void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              HttpServlet.java:853
         void com.evermind.server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              ServletRequestDispatcher.java:721
         void com.evermind.server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
              ServletRequestDispatcher.java:306
         boolean com.evermind.server.http.HttpRequestHandler.processRequest(com.evermind.server.ApplicationServerThread, com.evermind.server.http.EvermindHttpServletRequest, com.evermind.server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
              HttpRequestHandler.java:767
         void com.evermind.server.http.HttpRequestHandler.run(java.lang.Thread)
              HttpRequestHandler.java:259
         void com.evermind.server.http.HttpRequestHandler.run()
              HttpRequestHandler.java:106
         void EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run()
              PooledExecutor.java:803
         void java.lang.Thread.run()
              Thread.java:484
    P.S. for JDev Team - Thanks for fixing the label skipping!

    Hello,
    We have similar problems "A releasemode attribute must be specified on the ApplicationModule tag" and we always put the
    <jbo:ReleasePageResources /> before the </html> tag.
    Development: JDeveloper 9.0.3.1035
    Deployment: Standalone OC4J from this JDeveloper or O9iAS 9.0.3 (J2EE & WebCache).
    The error is not deterministic and does not depend on the application server.
    Any help appreciated.
    Regards,
    Zoltan

Maybe you are looking for

  • NaN on one server but not another

    Anyone heard of a situation where dynamic text (set using XML) will show up fine on one server, but display "NaN" on another (in this case, a Windows server, with the Flash Player code on an .asp page)? If it helps, the SWF is using AS2. And the XML

  • RFQ - Header Condition (Not possible to determine a condition type)

    Hi, I have defined my own Condition Schema for RFQ Item Condition are working fine. But when i am trying to add header condition it is giving msg "Not possible to determine a condition type" Regards

  • To Adobe, Are We Going to See a Fixed Encore CS5?

    I am posting this as a long time Adobe user.  I have installed the CS5 suite and am using Encore CS4 because when I import pre-encoded Blu-ray assets into Encore CS5 it says the disc is full.  The assets are not too large to fit on a Blu-ray. I see a

  • Download items from Safari's Activity window DEAD OS X.7 Lion

    Downloading items from Safari's (5.1) Activity window DEAD- Mac OS X.7 Lion Aargghhh this was brilliant before for grabbing stuff and not working now, all i get is a massive amount of text showing up and no download anymore. Yup you can download an e

  • Clean installed mavericks but it is dead slow now

    I recently bought an old Macbook pro. It had previously installed with 160GB(7200rpm) of hard drive. I updated this with mavericks 10.9.3 . And it was perfectly fine. rather super perfectly fine. Yesterday I upgraded its internal Harddrive with 320GB