Error using uix wizard for bc4j connection

I have been trying for days to get a connection to the database using uix and bc4j. When I use the wizard to create one I get this error:
Servlet error: Renderer failed: oracle.jbo.common.ampool.ApplicationPoolException: JBO-30003: The application pool (rola2.Rola2Module.Rola2ModuleLocal) failed to checkout an application module due to the following exception:
this is all it says.. nothing else..
how can I get it to work? what module is having the problem?
the bc4j seems to look correct, I see the views it created.
send me an email if you read this and know what the error means. I don' seem to be able to find my posts after a day or too.
[email protected]

Are you working with UIX XML or UIX JSP?

Similar Messages

  • Shall I use one datasource for multiple connection pool?

    Hi,
    I need to clarrify that, Shall I use one Datasource for multiple connection pool in distributed transaction?
    Thanks with regards
    Suresh

    No. If its transactions across multiple databases you should use different datasources.

  • Error using "Microsoft ODBC for Oracle" driver

    I am trying to connect to Oracle 10g Express Edition from Access 2003 on Windows XP. I created a DSN using "Microsoft ODBC for Oracle" driver. When I try to connect using ADO, I get this error:
    [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed
    I googled this error and got a lot of hits but no solution.
    Any help would be greatly appreciated. I am new to Oracle and am coming from SQL Server 2000.
    Thanks a lot!

    This is the connection string I am using:
    Conn1.ConnectionString = "driver={Oracle in XE};Dbq=GMIS_LIVE.WORLD;Uid=Administrator;Pwd=ubs;"
    These are the contents of my tnsnames.ora (what entries do I add to make this work)?
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = your-a9279112e3)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    )

  • Using Oracle Wallet for Java connection

    Hi,
    Can anyone tell me how to acces the Oracle wallet from my Java application without using the thin or oci drivers?

    No answer was found for this, we ended up using an OCI driver for the connection to the wallet. Code (in java) was as follows for reference:#
    private static Connection walletconn() throws Exception{
    String url = "jdbc:oracle:oci:/@DATABASE";
    OracleDataSource ods = new OracleDataSource();
    ods.setURL(url);
    Connection conn = ods.getConnection();
    return connl;

  • Using WL SSL for TCP connections

    I'm trying to write a FTP client in order to connect to a server using SSL.
    Does anyone used WL security classes to connect to an FTP server using SSL.
    Any help is appreciated

    Hi Alejandro,
    Check out SSLClient.java which is included in WLS 6.1 (GA), and is contained in
    WebLogic 5.1.0 SP10, and also WebLogic 6.0 SP2
    SSLClient.java has example code for how to create outgoing SSL connections
    using either a 3rd party SSL implementation (such as JSSE) or WebLogic's own
    security classes. Take your pick. Taking a look at SSLClient.java is probably
    the best place for you to start.
    Thanks,
    Joe Jerry
    "Alejandro Mejías" wrote:
    I'm trying to write a FTP client in order to connect to a server using SSL.
    Does anyone used WL security classes to connect to an FTP server using SSL.
    Any help is appreciated

  • Sample JAVA code using Resource Adapter for RFC Connections

    Hi Java Knowledgeable Ones.
    I have successfully deployed the SAP Netweaver J2ee Engine "Resource Adapter for RFC Connections to ABAP Systems" to my Web Application Server.  Now I need to develop a JAVA application that would utilize this deployed resource adapter.  The resource adapter specifies the SAPClient, UserName, and password.  I am thinking that the JAVA code to invoke this connection would therefore not need to provide this information as it should be available in the resource adapter.
    Do you have sample code that you could send to me showing how to do this?
    Thanks,
    Kevin

    Hi Kevin,
    this is actually no good style! You should not open the connection with the adaptor knowing the password. Usually it should work via a connection that uses only basic rights  and the user has already authenticated and is using his security ticket.
    For security handling see:
    http://help.sap.com/saphelp_nw04/helpdata/en/61/f8bc3d52f39d33e10000000a11405a/frameset.htm
    Regards,
    Benny

  • Using Maintenance Wizard for generic patching

    Hi,
    Does anyone out there uses the Maintenance Wizard?
    I want to use it to automate patching on several environments, and it seems that the tool is not very flexible. I am unable to create a empty project, It only creates projects with preseeded tasks. And I cant find where to add a patch to be applied automatically by the tool. It seems that the tool can only add scripts as custom steps.
    Regards,
    Luis

    Bumping this thread to the top.
    Anyone out there would like to use this tool for generic patching too?
    Anyone knows of other oracle software that can manage patching on several environments, and control which patch was applied were? One software I knew did this was Kintana, the company was acquired by HP and it seems to no longer be available. Last time I looked Grid Control was still unable to manage Oracle Applications patching.
    Regards,
    Luis
    Edited by: lfreitas34 on Sep 17, 2008 2:06 PM

  • Authentication error using PAPI-WS for BPM Studio 10.3

    I followed the steps laid out in the material from this thread using SOAP UI:
    PAPI Web Service (PAPI-WS) Example for Oracle BPM Studio
    It seems that BPM Studio does not recognize the default credentials user: "test" and password: "test"
    I receive the following error when I try to make any call:
    <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
    <S:Body>
    <S:Fault xmlns:ns3="http://www.w3.org/2003/05/soap-envelope">
    <faultcode>S:Client</faultcode>
    <faultstring>Participant could not be authenticated. A wrong username or password might have been specified.</faultstring>
    <detail>
    <oens:OperationException xmlns:oens="http://bea.com/albpm/PapiWebService">
    <exceptionName>fuego.papi.webservice.handlers.AuthenticationException</exceptionName>
    <message>Participant could not be authenticated. A wrong username or password might have been specified.</message>
    <technicalInfo>fuego.papi.webservice.handlers.AuthenticationException: Participant could not be authenticated. A wrong username or password might have been specified.
         at fuego.papi.webservice.handlers.AuthenticationHandler.processAuthentication(AuthenticationHandler.java:144)
         at fuego.papi.webservice.handlers.AuthenticationHandler.handleMessage(AuthenticationHandler.java:74)
         at fuego.papi.webservice.handlers.AuthenticationHandler.handleMessage(AuthenticationHandler.java:46)
         at com.sun.xml.ws.handler.HandlerProcessor.callHandleMessage(HandlerProcessor.java:292)
         at com.sun.xml.ws.handler.HandlerProcessor.callHandlersRequest(HandlerProcessor.java:135)
         at com.sun.xml.ws.handler.ServerSOAPHandlerTube.callHandlersOnRequest(ServerSOAPHandlerTube.java:133)
         at com.sun.xml.ws.handler.HandlerTube.processRequest(HandlerTube.java:116)
         at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:595)
         at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:554)
         at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:539)
         at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:436)
         at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:243)
         at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:444)
         at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:244)
         at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:135)
         at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServletDelegate.java:129)
         at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:160)
         at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:75)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         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.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Unknown Source)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Unknown Source)
    Caused by: fuego.papi.exception.AuthenticationException: Cannot authenticate participant 'test'.
         at fuego.papi.impl.ProcessServiceImpl.authenticatePassport(ProcessServiceImpl.java:297)
         at fuego.papi.webservice.pool.ProcessServiceSessionPoolManager.getSession(ProcessServiceSessionPoolManager.java:185)
         at fuego.papi.webservice.WebServiceManager.getProcessServiceSession(WebServiceManager.java:156)
         at fuego.papi.webservice.handlers.AuthenticationHandler.processAuthentication(AuthenticationHandler.java:141)
         ... 45 more
    Caused by: fuego.directory.AuthenticationException: Login incorrect.
    Detail:Verify that the information provided is correct.
    If you cannot solve the problem, check with your administrator.
    ID [default] PARTICIPANT [test] REASON [Login incorrect.
    Detail:Verify that the information provided is correct.
    If you cannot solve the problem, check with your administrator.
    ID [Project:Test] PARTICIPANT [test] REASON [invalid username or password].
         at fuego.directory.AuthenticationException.wrap(AuthenticationException.java:104)
         at fuego.directory.project.engine.EmbeddedEngineAuthenticationAccessor.connect(EmbeddedEngineAuthenticationAccessor.java:69)
         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 fuego.directory.provider.DirectorySessionImpl$AccessorProxy.invoke(DirectorySessionImpl.java:756)
         at $Proxy12.connect(Unknown Source)
         at fuego.directory.provider.DirectorySessionImpl.connect(DirectorySessionImpl.java:250)
         at fuego.directory.provider.Factory.startSession(Factory.java:405)
         at fuego.directory.Directory.startSession(Directory.java:268)
         at fuego.papi.impl.ProcessServiceImpl.authenticatePassport(ProcessServiceImpl.java:287)
         ... 48 more
    Caused by: fuego.directory.AuthenticationException: Login incorrect.
    Detail:Verify that the information provided is correct.
    If you cannot solve the problem, check with your administrator.
    ID [Project:Test] PARTICIPANT [test] REASON [invalid username or password].
         at fuego.directory.project.engine.ProjectFullParticipantsAccessor.fetchHumanParticipant(ProjectFullParticipantsAccessor.java:82)
         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 fuego.directory.provider.DirectorySessionImpl$AccessorProxy.invoke(DirectorySessionImpl.java:756)
         at $Proxy15.fetchHumanParticipant(Unknown Source)
         at fuego.directory.project.engine.EmbeddedEngineAuthenticationAccessor.connect(EmbeddedEngineAuthenticationAccessor.java:66)
         ... 58 more</technicalInfo>
    </oens:OperationException>
    </detail>
    </S:Fault>
    </S:Body>
    </S:Envelope>
    Like I said above, it seems that BPM Studio does not recognize the default credentials user: "test" and password: "test"
    Is there anyway to change these default credentials?
    Thanks!
    Edited by: user9001687 on Feb 10, 2010 2:14 PM
    Edited by: user9001687 on Feb 10, 2010 2:16 PM

    Thanks so much Dan. I changed as you mentioned and then added WSS-Username Token as while processing BPM process as web service I have used the same opetion. Still I am getting the same error for Authorization Failure.
    SOAP Requests look like :
    <soapenv:Envelope xmlns:pps="http://bea.com/albpm/ProLogisBPM/PPSFTProcess" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Header>
    <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <wsse:UsernameToken wsu:Id="UsernameToken-2" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    <wsse:Username>Paul</wsse:Username>
    <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">Paul</wsse:Password>
    <wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">AlmoI4QkO2hp9z10BQGA0A==</wsse:Nonce>
    <wsu:Created>2010-03-17T15:48:04.843Z</wsu:Created>
    </wsse:UsernameToken>
    </wsse:Security>
    </soapenv:Header>
    <soapenv:Body>
    Adter
    <ns1:stackTrace xmlns:ns1="http://xml.apache.org/axis/">fuego.webservices.security.AuthorizationException: Authorization Failed.
         at fuego.soaptype.ProcessWebServiceAuthorization.authorize(ProcessWebServiceAuthorization.java:57)
         at fuego.soaptype.AxisSoapService$HttpBasicAuthentitcationHandler.invoke(AxisSoapService.java:888)
         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
         at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:453)
         at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
         at fuego.soaptype.AxisSoapService.invoke(AxisSoapService.java:357)
         at fuego.soaptype.AxisSoapService.invoke(AxisSoapService.java:122)
         at fuego.webservices.HttpSoapListener.process(HttpSoapListener.java:206)
         at fuego.http.HttpExecution$1.run(HttpExecution.java:71)
         at fuego.component.Message.process(Message.java:576)
         at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:780)
         at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:755)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:142)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:134)
         at fuego.http.HttpExecution$HttpPrincipal.processBatch(HttpExecution.java:190)
         at fuego.component.ExecutionThread.work(ExecutionThread.java:839)
         at fuego.component.ExecutionThread.run(ExecutionThread.java:408)
    Caused by: java.lang.IllegalArgumentException: user: null
         at fuego.components.WebServiceSessionManager.createSession(WebServiceSessionManager.java:88)
         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 fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410)
         at fuego.lang.JavaObject.invoke(JavaObject.java:227)
         at fuego.lang.Invokeable.invokeImpl(Invokeable.java:234)
         at fuego.lang.Invokeable.invokeDynamic(Invokeable.java:188)
         at fuego.lang.Invokeable.invoke(Invokeable.java:160)
         at fuego.fengine.FEngineWebServiceExecutor$2.execute(FEngineWebServiceExecutor.java:133)
         at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304)
         at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:470)
         at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
         at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
         at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
         at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
         at fuego.fengine.FEngineWebServiceExecutor$1.run(FEngineWebServiceExecutor.java:65)
         at fuego.component.Message.process(Message.java:576)
         at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:780)
         at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:755)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:142)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:134)
         at fuego.fengine.FEngineProcessBean.processBatch(FEngineProcessBean.java:244)
         at fuego.fengine.FEngineWebServiceExecutor$WebServiceExecutorPrincipal.processBatch(FEngineWebServiceExecutor.java:168)
         ... 2 more
    Caused by: fuego.directory.AuthenticationException: Login incorrect.
    Detail:Verify that the information provided is correct.
    If you cannot solve the problem, check with your administrator.
    ID [default] PARTICIPANT [null] REASON [participant is empty].
         at fuego.directory.AuthenticationException.error(AuthenticationException.java:50)
         at fuego.directory.AuthenticationException.participantIdIsWrong(AuthenticationException.java:94)
         at fuego.components.WebServiceSessionManager$SessionImpl.&lt;init>(WebServiceSessionManager.java:220)
         at fuego.components.WebServiceSessionManager.createSession(WebServiceSessionManager.java:79)
         ... 26 more</ns1:stackTrace>
    Any help or guiding pointer would be deeply appreciated. TIA

  • JDBC 2.0 method not implemented error using bea jDriver for MS-SQLServer 2000

    I'm trying to reconfigure WebLogic Portal 7.0 (Platform 7.0 SP2) to run on MS SQLServer
    2000. According to the supported platform docs, the MS JDBC driver is not supported
    by Portal, hence I'm using the BEA jDriver for SQLServer.
    I'm now getting the following error when starting up Weblogic Portal which requires
    a re-sync with the EBCC before the applications will work.
    <28-Aug-03 09:28:30 BST> <Error> <Data Synchronization> <000000> <Application:
    portalApp; Corrupted data encountered in the persistent store; PLEASE RE-SYNCHRONIZE
    YOUR APPLICATION DATA WITH MODE "refresh-from-client" BEFORE CONTINUING! Failure
    to do so may result in incomplete or otherwise corrupted server state.
    Exception[com.bea.p13n.management.data.repository.PersistenceException: Failed
    to refresh JDBC Persistence Manager.] - with embedded exception: [java.sql.SQLException:
    java.sql.SQLException: This JDBC 2.0 method is not implemented] at com.bea.p13n.management.data.repository.persistence.JdbcDataSource.refresh(JdbcDataSource.java:506)
    Has anyone else come across this problem and know how to resolve it. I have tried
    using the MS JDBC Driver on the off chance that it would work, but this also produced
    SQL Exceptions with the persistance store and would not work at all even after
    syncing with the EBCC

    Jim,
    Thanks, I'm awaiting for my account to be enabled with customer contract support.
    When this is done I will raise a case and send files as requested.
    In the mean time it's worth noting that these settings have been made. Connection
    to the DB is fine, the createDB, loadads, loaddocs and sync etc all worked fine.
    The problem only exists when restarting the server and the portal persistance
    store is trying to be refereshed. Once EBCC is re-synced all the DB access works
    fine.
    Steve
    Jim Litton <reply@newsgroup> wrote:
    Please open a support case and send in your set-environment.bat,
    db_settings.properties, and config.xml from your domain directory after
    trying the following.
    Given that your operating system is Windows for performing all database
    operations like create_db, loaddocs, sync. (because you should not
    bother trying to run them on with UNIX).
    Restore your set-environment.bat to it's original state. It does not
    need to be touched.
    Uncomment the MSSQL section in db_settings.properties.
    database=MSSQL
    db_version=2000
    jdbcdriver=weblogic.jdbc.mssqlserver4.Driver
    server=@MSSQL_SERVER@
    port=@MSSQL_PORT@
    dblogin=@MSSQL_USER@
    dbpassword=@MSSQL_PASSWORD@
    connection=jdbc:weblogic:mssqlserver4:@MSSQL_SERVER@:@MSSQL_PORT@
    The dataSyncPool entry in config.xml should appear as:
    <JDBCConnectionPool
    Name="dataSyncPool"
    DriverName="weblogic.jdbc.mssqlserver4.Driver"
    URL="jdbc:weblogic:mssqlserver4:@MSSQL_SERVER@:@MSSQL_PORT@"
    Properties="user=@MSSQL_USER@;password=@MSSQL_PASSWORD@"
    Password="@MSSQL_PASSWORD@"
    InitialCapacity="1"
    MaxCapacity="5"
    CapacityIncrement="1"
    RefreshMinutes="99999"
    ShrinkingEnabled="false"
    Targets="sampleportalServer"
    TestConnectionsOnReserve="false"
    TestTableName="WEBLOGIC_IS_ALIVE"
    />
    -- Jim

  • Error Using DynamicForm Wizard

    I created a form using the Dynamic Form wizard as I have done many times before but I receive the following error messages when trying to view the page:
    Error:
    Internal error.
    Developer Details:
    tNG_multipleUpdate.getLocalRecordset:
    Error message:
    You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'desc,filename,sort_order,active,phone_id, phone_id as kt_pk_pho
    SQL statement:
    SELECT manufacturer_id,model_name,desc,filename,sort_order,active,phone_id, phone_id as kt_pk_phone_details FROM phone_details WHERE phone_id=1. (MUPD_RS)
    tNG Execution Trace - VIEW
    tNG_multipleInsert.executeTransaction
    STARTER.Trigger_Default_Starter
    tNG_multipleUpdate.executeTransaction
    STARTER.Trigger_Default_Starter
    tNG_multipleDelete.executeTransaction
    STARTER.Trigger_Default_Starter
    tNG_multipleUpdate.getRecordset
    tNG_multipleUpdate.getLocalRecordset*

    I set up a new list using the Dynamic list wizard and only receive 6 results when the database has 10 or more results? I opened the recordset in Dreamweaver and when I hit test, it only displays 6 results as well?? Do you see anything wrong with this query?
    SELECT phone_manufacturers.manufacturer_name, phone_category.cat_name, phone_details.phone_id, phone_details.model_name, phone_details.`descr`, phone_details.file_name, phone_details.sort_order, phone_details.date_updated
    FROM phone_manufacturers, phone_category, phone_details
    WHERE phone_details.cat_id = phone_category.cat_id AND phone_details.manufacturer_id = phone_manufacturers.manufacturer_id
    ORDER BY phone_category.`order`, phone_details.sort_order

  • Error using SAP datasource for OmniPortlet

    I have installed and configured PDK 9.0.4.0.2 on my iAS 10g system. Also installed and configured the SAP datasource for OmniPortlet. After I put an OmniPortlet portlet on a portal page then I begin to define the defaults for the portlet instance, I select "SAP - Use SAP R/3 system as a source of data" and press the Next button. I get the following error message: "Error: The listener returned the following Message: 500 Internal Server Error".
    Any help on this would be greatly appreciated.
    Thanks,
    Rick Wright
    The OC4J_PORTAL log file shows:
    04/03/26 10:57:48 portal: id=109822914181,1 Invalid status code encountered : status=500 reason=Internal Server Error name=content-fetcher2
    label=webPortlet url=http://sias01.somecompany.com:7777/portalTools/omniPortlet/providers/omniPortlet time=185ms content=<HTML><HEAD><TITLE>500
    Internal Server Error</TITLE></HEAD><BODY><H1>500 Internal Server Error</H1><PRE>oracle.webdb.reformlet.ReformletException: ReformletPersonalizationObject
    is not an instance of SAPPersonalizationObject.<br> at htdocs.plugins._datasources._sap._sap__error__page._jspService(_sap__error__page.java:490)<br> [htdocs/plugins/datasources/sap/sap_error_page.jsp]<br> at
    oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:139)<br> at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:347)<br> at
    oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)<br> at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)<br> at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:853)<br> at com.evermind[Oracle Application Server Containers for J2EE 10g
      (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)<br> at com.evermind[Oracle Application
      Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)<br> at
    com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:251)<br> at
    com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:575)<br> at
    com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:537)<br> at
    htdocs.plugins._datasources._sap._sap__controller._jspService(_sap__controller.java:1039)<br> [htdocs/plugins/datasources/sap/sap_controller.jsp]<br> at
    oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:139)<br> at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:272)<br> at
    oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)<br> at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)<br> at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:853)<br> at com.evermind[Oracle Application Server Containers for J2EE 10g
      (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)<br> at com.evermind[Oracle Application
      Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:121)<br> at
    com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.EvermindPageContext.include(EvermindPageContext.java:267)<br> at
    htdocs.omniportlet._reformlet__edit__defaults__data._jspService(_reformlet__edit__defaults__data.java:1290)<br> [htdocs/omniPortlet/reformlet_edit_defaults_data.jsp]<br> at
    oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:139)<br> at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:272)<br> at
    oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)<br> at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)<br> at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:853)<br> at com.evermind[Oracle Application Server Containers for J2EE 10g
      (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)<br> at com.evermind[Oracle Application
      Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:121)<br> at
    com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.EvermindPageContext.include(EvermindPageContext.java:267)<br> at
    htdocs.omniportlet._reformlet__edit__defaults._jspService(_reformlet__edit__defaults.java:1088)<br> [htdocs/omniPortlet/reformlet_edit_defaults.jsp]<br> at
    oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:139)<br> at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:272)<br> at
    oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)<br> at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)<br> at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:853)<br> at com.evermind[Oracle Application Server Containers for J2EE 10g
      (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)<br> at com.evermind[Oracle Application
      Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)<br> at
    com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:251)<br> at
    oracle.portal.provider.v2.render.http.AbstractResourceRenderer.renderBody(Unknown Source)<br> at oracle.portal.provider.v2.render.RenderManager.render(Unknown
    Source)<br> at oracle.portal.provider.v2.DefaultPortletInstance.render(Unknown Source)<br> at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.showPortlet(Unknown
    Source)<br> at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.handleHttp(Unknown Source)<br> at sun.reflect.GeneratedMethodAccessor41.invoke(Unknown
    Source)<br> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br> at java.lang.reflect.Method.invoke(Method.java:324)<br> at
    oracle.webdb.provider.v2.adapter.SOAPServlet.doHTTPCall(Unknown Source)<br> at oracle.webdb.provider.v2.adapter.SOAPServlet.service(Unknown
    Source)<br> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)<br> at com.evermind[Oracle Application Server Containers
      for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)<br> at com.evermind[Oracle
    Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)<br> at
    com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)<br> at
    com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)<br> at
    com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)<br> at
    com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)<br> at
    java.lang.Thread.run(Thread.java:536)<br></PRE></BODY></HTML>

    AIX/5.3 - OAS10g ( Portal version Default 9.0.4.0, won´t work!!! )
    Hi there...
    I did got some problems when I was installing a SAP OMNIPORTLET...but now , it´s working just fine ...
    Please ,
    1 - First , pay closely attention on the documentation and installation guide :
    http://www.oracle.com/technology/products/ias/portal/point_downloads.html#SAPDS
    2 - Make sure that you are using a CORRECT version. For PDK , must be 9.0.4.1;
    3 - Sapjco.jar version 2.0.2 isn´t available anymore, at SAP website. I have used sapjco.jar version 2.0.10, and please, follow ALL instructions, that´s include do the examples;
    4 - Make sure that all steps (Installing the OracleAS Data Source Plugin,Installing the JCo lib´s,Testing the Deployment, etc) describe on the installation guide, be complete successfully;
    5 - On my case, ´cause we have Infra and Middle , at same host ( hold on...it´s just a developed enviroment...), a did specify a CLASSPATH and LD_LIBRARY_PATH , at ..EMC > Middle > OC4J_Portal > Server properties > enviroment ..
    6 - My question now is... That plugin it´s just able to see a default BAPI´s? It´s possible to work with "Z" functions ?

  • Errors using DBMS_SQLTUNE Advisors for Oracle 10g

    I get errors trying to tune the below query for Oracle 10g using the DBMS_SQLTUNE advisors.
    It happens when I wrap either a large block of PL/SQL code that uses bind variables or multiple nested subqueries with multiple JOIN conditions in a SELECT query statement that I wish to tune using the 10g SQLTUNE advisors.
    Message was edited by:
    benprusinski

    Hi, I was trying to use the DBMS_SQLTUNE package to tune my sql statements used in the huge procedure. I can successfully create a task and execute it. But when I run report tuning task, I'm always getting error like the one in below example. Two questions I have now.
    1) Is this becuase I'm using bind, but not passing any values?
    2) Can I able to use to this package to tune a procedures instead of sql statement?
    Example output...
    SQL&gt; SELECT DBMS_SQLTUNE.REPORT_TUNING_TASK( 'my_sql_tuning_task3')
    2 FROM DUAL;
    DBMS_SQLTUNE.REPORT_TUNING_TASK('MY_SQL_TUNING_TASK3')
    GENERAL INFORMATION SECTION
    Tuning Task Name : my_sql_tuning_task3
    Tuning Task Owner : SCOTT
    Scope : COMPREHENSIVE
    Time Limit(seconds) : 3000
    Completion Status : COMPLETED
    Started at : 02/26/2009 21:44:41
    Completed at : 02/26/2009 21:44:41
    Number of Errors : 1
    DBMS_SQLTUNE.REPORT_TUNING_TASK('MY_SQL_TUNING_TASK3')
    Schema Name: KPRAVEEN
    SQL ID : 479831s42xj1n
    SQL Text : SELECT a.pdrorn, a.pdrcto, a.pdrlln FROM f4311 a
    WHERE a.pddoco = receiptsrcrec.prdoco AND a.pddcto = :2 AND
    a.pdkcoo = :3 AND a.pdsfxo = :4 AND a.pdlnid = :5
    ERRORS SECTION
    SQL&gt;

  • Should we use same datasource for Internal connection and Save Point ?

    Hi,
    AM configuration has an internal db connection setting, adf-config.xml also has an db connection setting for Save Point, should we all set to the same database source of the system or should we create a seperate datasource which is used only for AM internal db connection and Save Point?
    jdev: 11.1.2.1
    Many thanks!

    Hi,
    its all up to you and whether you have security concerns if the save point is saved with the business data.
    Frank

  • Oracle type error using cygwin on windows to connect via sqlplus to oracle.

    Hi,
    Found already some information on the internet regarding this topic but wasn't able to solve it so far.
    So all informartion, tips are more then welcome.
    Scripts runs with admin account 'DBA_Services'
    Sqlplus connection sqlplus sys/***@oracle_sid
    Thx already
    OWBrun Script (v2.0)
    Enviroment : GAMMA
    Hostname : pvspdb04
    Database : sgviv5
    Date : 05Nov2010
    Time : 15:58:21
    Schema : dwhins
    RuntimeRep: OWBRUN
    Mapping : INS_DLITE_CTRL_JOB_03
    Location : DNA_STAGING_LOCATION
    Type load : PLSQL
    Custom par: ,
    Identifier: INS_DLITE_CTRL_JOB_03_20101105155820
    Logfile : /ING/DWH/ora_dwh_loader/log/dwhins/owbrun_dwhins_INS_DLITE_CTRL_JOB_03_20101105155820.log
    === Check DB connect ===
    05-NOV-2010 15:58:22
    DB connection test is OK (attemps=1)
    === OWB RUN ===
    SQL*Plus: Release 10.1.0.2.0 - Production on Fri Nov 5 15:58:22 2010
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production With the Partitioning, OLAP and Data Mining options
    SQL> SQL> SQL> SQL>
    Session altered.
    Elapsed: 00:00:00.00
    SQL>
    Session altered.
    Elapsed: 00:00:00.00
    SQL>
    Session altered.
    Elapsed: 00:00:00.00
    SQL>
    Session altered.
    Elapsed: 00:00:00.00
    SQL> SQL> SQL> SQL> SQL>
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.01
    SQL> ++ Execute owbruntask dwhins.INS_DLITE_CTRL_JOB_03
    SQL>
    Stage 1: Decoding Parameters
    | location_name=DNA_STAGING_LOCATION
    | task_type=PLSQL
    | task_name=INS_DLITE_CTRL_JOB_03
    Stage 2: Opening Task
    declare
    ERROR at line 1:
    ORA-20001: Task not found - Please check the Task Type, Name and Location are correct.
    ORA-06512: at line 267
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production With the Partitioning, OLAP and Data Mining options Exitcode = 33 Error : OWBRUN INS_DLITE_CTRL_JOB_03
    Date : 05Nov2010
    Time : 15:58:24

    This are the most important scripts:
    DLITE_Sub1_201.ksh
    #!/bin/ksh
    #set -x
    cp /ING/DWH/ora_dwh_loader/conf/stgins.cfg.sgviv5 /ING/DWH/ora_dwh_loader/conf/stgins.cfg
    export FPATH=/ING/IIB/DNA/Interfaces/Scripts
    export FINPATH=/ING/IIB/DNA/In/
    export FOUTPATH=/ING/IIB/DNA/Out/
    #load script into memory
    autoload DLITE_fct_JS
    #load script into memory
    #autoload DNA_fct_JS_EXEC
    JS_SCRIPT=`basename $0`
    JS_ID=201
    JS_TSK_ID=001;JS_TSK_NAM="FP_START_Remove_Files"
    echo "\nstart subtask '${JS_TSK_NAM}"
    cd /ING/IIB/DNA/Out
    rm -f DLITE_CAPSIL_CODE_*.CSV
    rm -f DLITE_CAPSIL_VAL_*.CSV
    rm -f DLITE_VARIA_CODE_*.CSV
    rm -f DLITE_VARIA_VAL_*.CSV
    echo "\nend subtask '${JS_TSK_NAM}"
    JS_TSK_ID=002;JS_TSK_NAM="F_DLITE_01_CODE_DESC"
    cd /ING/IIB/DNA/Interfaces/Scripts
    echo "\nstart subtask '${JS_TSK_NAM}"
    ksh DLITE_owbrun.ksh -s dwhins -t PROCESS -m F_DLITE_01_CODE_DESC -l LOC_DNA_FLOW_STORE -c ","
    JS_TSK_STA=$?
    echo "\nverifying correct execution of subtask '${JS_TSK_NAM}"
    if [ ${JS_TSK_STA} -ne 0 ] ; then
    ksh DLITE_owbrun.ksh -s dwhins -t PLSQL -m INS_DLITE_CTRL_JOB_03 -l DNA_STAGING_LOCATION -c ","
    exit 1
    fi
    echo "\nend subtask '${JS_TSK_NAM}"
    JS_TSK_ID=002;JS_TSK_NAM="Check header/footer of files"
    echo "\nstart subtask '${JS_TSK_NAM}"
    ksh DLITE_CheckHeaderFooter.ksh
    JS_TSK_STA=$?
    if [ ${JS_TSK_STA} -ne 0 ] ; then
    exit 1
    fi
    echo "\nend subtask '${JS_TSK_NAM}"
    DLITE_owbrun.ksh
    . /ING/IIB/DNA/Interfaces/Scripts/DLITE_ods_set_env.ksh
    fout_melding()
         echo "Error : ${1}" | tee -a ${LOGFILE}
         echo " Date     :     $(date +%d%b%Y)" >> ${LOGFILE}
         echo " Time     :     $(date +%H:%M:%S)" >> ${LOGFILE}
    if [ -s ${LOGFILE:=/tmp/foutmelding} ]
    then
    cat ${LOGFILE} | mailx -s "'hostname':${ORACLE_SID};'Enviroment' :${APPL_ENV} : Error OWB run ${SCHEMA} : ${MAPPING}" "${dstG_OWB_errors[*]} ${dstA_OWB_errors[*]}"
    else
    echo "Error : ${1}" | mailx -s "'hostname':${ORACLE_SID};'Enviroment' :${APPL_ENV} : Error OWB run ${SCHEMA} : ${MAPPING}" "${dstG_OWB_errors[*]} ${dstA_OWB_errors[*]}"
    fi
    rm -f ${STATSFILE}
    waarschuwing()
         echo "Warning : ${1}" | tee -a ${LOGFILE}
         echo " Date     :     $(date +%d%b%Y)" >> ${LOGFILE}
         echo " Time     :     $(date +%H:%M:%S)" >> ${LOGFILE}
    if [ -s ${LOGFILE:=/tmp1/foutmelding} ]
    then
    echo ${1} | mailx -s "'hostname':${ORACLE_SID};'Enviroment' :${APPL_ENV} : Warning OWB run ${SCHEMA} : ${TABLENAME}" "${dstG_OWB_errors[*]} ${dstA_OWB_errors[*]}"
    else
    echo "Warning : ${1}" | mailx -s "'hostname':${ORACLE_SID};'Enviroment' :${APPL_ENV} : Warning OWB run ${SCHEMA} : ${TABLENAME}" "${dstG_OWB_errors[*]} ${dstA_OWB_errors[*]}"
    fi
    USAGE="Usage : owbrun.ksh -s target_schema -t type -m mapping -l location -c custom_param -p system_param [-i ident]"
    umask 022
    ORVERSION=2.0
    set -- `getopt s:t:m:c:p:i:l: $*`
    if [ $? -ne 0 ]
    then
         echo ${USAGE}
         exit 2
    fi
    while [ $# -gt 0 ]
    do
    case ${1} in
         -s)
              SCHEMA=${2}
              shift 2
         -t)
              LOADTYPE=${2}
              shift 2
         -l)
              LOCATION=${2}
              shift 2
         -m)
              MAPPING=${2}
              shift 2
         -i)
              IDENT=${2}
              shift 2
         -c)
              CUSTPARAM=${2}
              shift 2
              shift
              break
    esac
    done
    export LISTFILENAMES=${*}
    if [ "${SCHEMA}" = "" ]
    then
         fout_melding "Target Schema is mandatory"
         echo ${USAGE}
         exit 1
    fi
    if [ "${MAPPING}" = "" ]
    then
         echo "Error : Mapping is mandatory"
         echo ${USAGE}
         exit 1
    fi
    if [ "${LOCATION}" = "" ]
    then
         echo "Error : Location is mandatory"
         echo ${USAGE}
         exit 1
    fi
    MAPPING=$(echo ${MAPPING} | tr [:lower:] [:upper:])
    if [ "${LOADTYPE}" = "" ]
    then
         echo "Error : Type (PLSQL/SQLLDR/PROCESS) is mandatory"
         echo ${USAGE}
         exit 1
    fi
    LOADTYPE=$(echo ${LOADTYPE} | tr [:lower:] [:upper:])
    if [ "${LOADTYPE}" != "PLSQL" -a "${LOADTYPE}" != "SQLLDR" -a "${LOADTYPE}" != "PROCESS" ]
    then
         echo "Error : Illegal type ${LOADTYPE}"
         echo ${USAGE}
         exit 1
    fi
    export SCHEMA=$(echo ${SCHEMA} | tr [:upper:] [:lower:])
    export UPSCHEMA=$(echo ${SCHEMA} | tr [:lower:] [:upper:])
    # Call the Configuration script
    . /ING/DWH/ora_dwh_loader/bin/config.ksh -s ${SCHEMA}
    exitcode=$?
    if [ $exitcode -ne 0 ]
    then
         echo "Error : during config.ksh"
         exit ${exitcode}
    fi
    if [ "${IDENT}" = "" ]
    then
         IDENT=${MAPPING}_$(date +%Y%m%d%H%M%S)
         CUSTPARAM=$(echo ${CUSTPARAM} | awk -f ${BASEPATH}/bin/owbrun.awk "datum=$(date +%Y%m%d%H%M%S)")
    fi
    if [ "${RUNREP}" = "" ]
    then
         fout_melding "Runtime Repository is mandatory (see ${SCHEMA}.cfg)"
         echo ${USAGE}
         exit 1
    fi
    export BPIDFILE=${TMPDRIVE}/owbrun_${SCHEMA}_${IDENT}_$$.pidlist
    export LOGFILE=${LOGDRIVE}/owbrun_${SCHEMA}_${IDENT}.log
    export STATSFILE=${LOGDRIVE}/owbrun_${SCHEMA}_${IDENT}.stats
    echo "OWBrun Script (v${ORVERSION})" > ${LOGFILE}
    echo "Enviroment : ${APPL_ENV}" >> ${LOGFILE}
    echo "Hostname : $(hostname)" >> ${LOGFILE}
    echo "Database : ${ORACLE_SID}" >> ${LOGFILE}
    echo "Date     :     $(date +%d%b%Y)" >> ${LOGFILE}
    echo "Time     :     $(date +%H:%M:%S)" >> ${LOGFILE}
    echo "Schema     : ${SCHEMA}" >> ${LOGFILE}
    echo "RuntimeRep: ${RUNREP}" >> ${LOGFILE}
    echo "Mapping : ${MAPPING}" >> ${LOGFILE}
    echo "Location : ${LOCATION}" >> ${LOGFILE}
    echo "Type load : ${LOADTYPE}" >> ${LOGFILE}
    echo "Custom par: ${CUSTPARAM}" >> ${LOGFILE}
    echo "Identifier: ${IDENT}" >> ${LOGFILE}
    echo "Logfile     :     ${LOGFILE}" >> ${LOGFILE}
    echo " " >> ${LOGFILE}
    echo "Hostname : $(hostname)" > ${STATSFILE}
    echo "Database : ${ORACLE_SID}" >> ${STATSFILE}
    echo "Schema     : ${SCHEMA}" >> ${STATSFILE}
    echo "Mapping : ${TABLENAME}" >> ${STATSFILE}
    echo "Period : P${PERIOD}" >> ${STATSFILE}
    echo "Type load : ${LOADTYP}" >> ${STATSFILE}
    echo "Identifier: ${IDENT}" >> ${STATSFILE}
    echo "Start     : $(date +%d%m%Y%H%M%S)" >> ${STATSFILE}
    echo "=== Check DB connect ===" >> ${LOGFILE}
    ${BASEPATH}/bin/chk_db_connect.ksh >> ${LOGFILE}
    exitcode=${?}
    if [ $exitcode -ne 0 ]
    then
         fout_melding "Could NOT connect to database ${ORACLE_SID}"
         exit ${exitcode}
    fi
    echo "=== OWB RUN ===" >> ${LOGFILE}
    sqlplus 'system/*****' <<-EOF >> ${LOGFILE}
    set timing on
    set serveroutput on
    alter session set sort_area_size=2621440;
    alter session set hash_area_size=2621440;
    alter session set skip_unusable_indexes=true;
    alter session enable resumable timeout ${ResumableTimeout} name 'OwbRunTask ${UPSCHEMA}.${MAPPING}';
    set pages 0
    set timing on
    set serveroutput on
    WHENEVER SQLERROR EXIT SQL.SQLCODE
    exec dbms_application_info.set_module('OWBRUNTASK','${UPSCHEMA}.${MAPPING}');
    Prompt ++ Execute owbruntask ${SCHEMA}.${MAPPING}
    declare
    p_repos_owner varchar2(100):= '${RUNREP}';
    p_location_name varchar2(100):='${LOCATION}';
    p_task_type varchar2(100) :='${LOADTYPE}';
    p_task_name varchar2(100) default '${MAPPING}';
    p_system_params varchar2(100) default '","';
    p_custom_params varchar2(200) default '${CUSTPARAM}"';
    p_oem_friendly number default 0;
    l_oem_style boolean := case (p_oem_friendly)
    when 0 then false
    else true
    end ;
    l_audit_execution_id number; -- Audit Execution Id
    l_audit_result number := ${RUNREP}.wb_rt_api_exec.RESULT_FAILURE; -- Result Code
    l_audit_result_disp varchar2(64) := 'FAILURE'; -- Result Display Code
    l_task_type_name varchar2(64); -- Task Type Name
    l_task_type varchar2(64); -- Task Type
    l_task_name varchar2(64); -- Task Name
    l_location_name varchar2(64); -- Location Name
    l_return number ;
    fout exception;
    opgepast exception;
    p_parameters varchar2(4000);
    p_parameter_kind number;
    l_anchor_offset number := 1;
    l_start_offset number := 1;
    l_equals_offset number;
    l_comma_offset number;
    l_value_offset number;
    l_esc_offset number;
    l_esc_count number;
    l_esc_char varchar2(4);
    l_parameter_name varchar2(4000);
    l_parameter_value varchar2(4000);
    begin
    p_custom_params:=replace(p_custom_params,'~',' ');
    execute immediate ('alter session set current_schema = ' || p_repos_owner) ;
    -- Initialize Return Code
    l_return := ${RUNREP}.wb_rt_api_exec.RESULT_FAILURE;
    -- Import Parameters
    dbms_output.put_line('Stage 1: Decoding Parameters');
    l_task_type_name := p_task_type ;
    if UPPER(l_task_type_name) = 'PLSQL'
    then
    l_task_type := 'PLSQL';
    elsif UPPER(l_task_type_name) = 'SQL_LOADER'
    then
    l_task_type := 'SQLLoader';
    elsif UPPER(l_task_type_name) = 'PROCESS'
    then
    l_task_type := 'ProcessFlow';
    else
    l_task_type := l_task_type_name;
    end if;
    l_task_name := p_task_name ;
    l_location_name := p_location_name ;
    dbms_output.put_line('| location_name=' || l_location_name);
    dbms_output.put_line('| task_type=' || l_task_type);
    dbms_output.put_line('| task_name=' || l_task_name);
    -- Decode Parameters
    begin
    -- Prepare Execution
    dbms_output.put_line('Stage 2: Opening Task');
    l_audit_execution_id := ${RUNREP}.wb_rt_api_exec.open(l_task_type, l_task_name, l_location_name);
    dbms_output.put_line('| l_audit_execution_id=' || to_char(l_audit_execution_id));
    commit;
    -- Override Parameters
    p_parameters:=p_system_params;
    p_parameter_kind :=${RUNREP}.wb_rt_api_exec.PARAMETER_KIND_SYSTEM;
    l_anchor_offset:= 1;
    l_start_offset:= 1;
    l_equals_offset:=0;
    l_comma_offset:=0;
    l_value_offset:=0;
    l_esc_offset:=0;
    l_esc_count:=0;
    l_esc_char:=null;
    l_parameter_name:=null;
    l_parameter_value:=null;
    begin
    loop
    l_equals_offset := INSTR(p_parameters, '=', l_start_offset);
    exit when l_equals_offset = 0;
    l_start_offset := l_equals_offset + 1;
    loop
    l_comma_offset := INSTR(p_parameters, ',', l_start_offset);
    if l_comma_offset = 0
    then
    l_comma_offset := length(p_parameters) + 1;
    exit;
    else
    l_esc_count := 0;
    l_esc_offset := l_comma_offset - 1;
    loop
    l_esc_char := SUBSTR(p_parameters, l_esc_offset, 1);
    exit when l_esc_char != '\';
    l_esc_count := l_esc_count + 1;
    l_esc_offset := l_esc_offset - 1;
    end loop;
    if MOD(l_esc_count, 2) != 0
    then
    l_start_offset := l_comma_offset + 1;
    else
    exit;
    end if;
    end if;
    end loop;
    l_parameter_name := LTRIM(RTRIM(SUBSTR(p_parameters, l_anchor_offset, l_equals_offset - l_anchor_offset)));
    l_parameter_value := SUBSTR(p_parameters, l_equals_offset + 1, l_comma_offset - (l_equals_offset + 1));
    -- Override Input Parameter
    ${RUNREP}.wb_rt_api_exec.override_input_parameter(l_audit_execution_id,l_parameter_name,l_parameter_value,p_parameter_kind);
    exit when l_comma_offset >= length(p_parameters)-1;
    l_start_offset := l_comma_offset + 1;
    l_anchor_offset := l_start_offset;
    end loop;
    end;
    p_parameters:=p_custom_params;
    p_parameter_kind :=${RUNREP}.wb_rt_api_exec.PARAMETER_KIND_CUSTOM;
    l_anchor_offset:= 1;
    l_start_offset:= 1;
    l_equals_offset:=0;
    l_comma_offset:=0;
    l_value_offset:=0;
    l_esc_offset:=0;
    l_esc_count:=0;
    l_esc_char:=null;
    l_parameter_name:=null;
    l_parameter_value:=null;
    begin
    loop
    l_equals_offset := INSTR(p_parameters, '=', l_start_offset);
    exit when l_equals_offset = 0;
    l_start_offset := l_equals_offset + 1;
    loop
    l_comma_offset := INSTR(p_parameters, ',', l_start_offset);
    if l_comma_offset = 0
    then
    l_comma_offset := length(p_parameters) + 1;
    exit;
    else
    l_esc_count := 0;
    l_esc_offset := l_comma_offset - 1;
    loop
    l_esc_char := SUBSTR(p_parameters, l_esc_offset, 1);
    exit when l_esc_char != '\';
    l_esc_count := l_esc_count + 1;
    l_esc_offset := l_esc_offset - 1;
    end loop;
    if MOD(l_esc_count, 2) != 0
    then
    l_start_offset := l_comma_offset + 1;
    else
    exit;
    end if;
    end if;
    end loop;
    l_parameter_name := LTRIM(RTRIM(SUBSTR(p_parameters, l_anchor_offset, l_equals_offset - l_anchor_offset)));
    l_parameter_value := SUBSTR(p_parameters, l_equals_offset + 1, l_comma_offset - (l_equals_offset + 1));
    -- Override Input Parameter
    ${RUNREP}.wb_rt_api_exec.override_input_parameter(l_audit_execution_id,l_parameter_name,l_parameter_value,p_parameter_kind);
    exit when l_comma_offset >= length(p_parameters)-1;
    l_start_offset := l_comma_offset + 1;
    l_anchor_offset := l_start_offset;
    end loop;
    end;
    -- Execute
    dbms_output.put_line('Stage 4: Executing Task');
    l_audit_result := ${RUNREP}.wb_rt_api_exec.execute(l_audit_execution_id);
    if l_audit_result = ${RUNREP}.wb_rt_api_exec.RESULT_SUCCESS
    then
    l_audit_result_disp := 'SUCCESS';
    elsif l_audit_result = ${RUNREP}.wb_rt_api_exec.RESULT_WARNING
    then
    l_audit_result_disp := 'WARNING';
    elsif l_audit_result = ${RUNREP}.wb_rt_api_exec.RESULT_FAILURE
    then
    l_audit_result_disp := 'FAILURE';
    else
    l_audit_result_disp := 'UNKNOWN';
    end if;
    dbms_output.put_line('| l_audit_result=' || to_char(l_audit_result) || ' (' || l_audit_result_disp || ')');
    -- Finish Execution
    dbms_output.put_line('Stage 5: Closing Task');
    ${RUNREP}.wb_rt_api_exec.close(l_audit_execution_id);
    commit;
    dbms_output.put_line('Stage 6: Processing Result');
    if l_oem_style
    then
    if l_audit_result = ${RUNREP}.wb_rt_api_exec.RESULT_SUCCESS
    then
    l_return := 0;
    elsif l_audit_result = ${RUNREP}.wb_rt_api_exec.RESULT_WARNING
    then
    l_return := 0;
    else
    l_return := l_audit_result;
    end if;
    else
    l_return := l_audit_result;
    end if;
    dbms_output.put_line('| exit=' || to_char(l_return));
    if (l_return = 3) then
    raise fout;
    elsif (l_return = 2 ) then
    raise opgepast;
    end if;
    exception
    when fout then
    raise_application_error(-20002, 'Error during executing task');
    when opgepast then
    raise_application_error(-20003, 'Warning during executing task');
    when no_data_found
    then
    raise_application_error(-20001, 'Task not found - Please check the Task Type, Name and Location are correct.');
    end;
    dbms_output.put_line('| exit=' || to_char(l_return));
    end ;
    EOF
    exitcode=${?}
    if [ ${exitcode} -ne 0 ]
    then
         echo "Exitcode = ${exitcode}" >> ${LOGFILE}     
         fout_melding "OWBRUN ${MAPPING} "
         exit ${exitcode}
    else
         echo "OWBRUN succesfull" >> ${LOGFILE}
    fi
    echo "---------------------------------------------------------------------" >> ${LOGFILE}
    echo "Date     :     $(date +%d%b%Y)" >> ${LOGFILE}
    echo "Time     :     $(date +%H:%M:%S)" >> ${LOGFILE}
    echo "Terminated succesfull" >> ${LOGFILE}
    echo "---------------------------------------------------------------------" >> ${LOGFILE}
    echo "Stop     : $(date +%d%m%Y%H%M%S)" >> ${STATSFILE}
    times >> ${STATSFILE}
    #echo "Loader Statistics" >> ${LOGFILE}
    #awk -f ${BASEPATH}/bin/loadstat.awk ${STATSFILE} >> ${LOGFILE}
    #${BASEPATH}/bin/loadstat.ksh -s ${SCHEMA} -f ${STATSFILE}
    exit 0

  • How to use custumer DataTagsLibrary for BC4J in the JSP's with Struts Suppo

    I've been looking for a good tutorial to learn very well
    BC4J, DataTags Library for JSP , all with struts support.
    But it's dificult to join all this topics.
    Can someone help.
    If you have any answer for me, plesea send an e-mail to
    [email protected]

    Try these links:
    http://radio.weblogs.com/0118231/ - Look for the Toy Store demo.
    http://otn.oracle.com/sample_code/tutorials/bc4jvsm/content.html - The new Shopping Mall tutorial.
    http://otn.oracle.com/products/jdev/howtos/content.html - The JDeveloper how to list.
    Also, check frequently on the JDeveloper forum here on OTN.
    HTH.
    Thanks, George

Maybe you are looking for