Flex with Oracle ESB Services

Hi all

I have a frustrating problem, call Oracle ESB of Flex services. I tried the two Flex 3 and 2.0 x.

I have an ESB service that works fine with Flex and another who, when I try to call in Flex, results in the following error: "unrecognized binding style 'null'. Only 'Document' and 'rpc' styles are supported. »

Two services of BSE have the WSDL generated by the Oracle system and they have similar 'features' (IE import a wsdl one other - namespace, it has generated this way) but they have different schemas.

I can call two BSE since SoapUI services without any problem and also the Oracle test harness in their desks.

The offending WSDL is lower (not that I think it's important that the other "good" looks a lot like what leads me to believe that the problem is on the side of Flex):-

Ideas, suggestions, workarounds or ;-) much appreciated patch/patches.

Kind regards
Greg

<? XML version = "1.0" encoding = "UTF-8"? >
"" "" "" "" "" "" "" "" "" "" "< definitions targetNamespace =" http://oracle.com/esb/namespaces/WWS2BPMRS " xmlns =" http://schemas.xmlsoap.org/wsdl/ " xmlns:tns =" http://oracle.com/esb/namespaces/WWS2BPMRS " xmlns:ws =" http://www.example.com/webservice " xmlns:http =" http://schemas.xmlsoap.org/wsdl/http/ " xmlns:plt =" http://schemas.xmlsoap.org/ws/2003/05/partner-link/ " xmlns:esb =" http://www.oracle.com/esb/ " xmlns: XS =" http://www.w3.org/2001/XMLSchema " xmlns:soap =" http://schemas.xmlsoap.org/wsdl/ ' xmlns:wsdl = ' http://schemas.xmlsoap.org/wsdl/ " xmlns:import =" http://oracle.com/esb/namespaces/WWS2BPMRS "> "
"" "< import namespace = ' http://oracle.com/esb/namespaces/WWS2BPMRS ' location = ' http://lc23hosoa1.lc.local:80 / BSE/slide/ESB_Projects/Application1_BPMRS_DVM/WWS2BPMRS_rsGe tDVMlist.wsdl" / > "
< connection name = "__soap_rsGetDVMlist_execute_ppt" type = "tns:execute_ppt" >
"" "< soap binding: xmlns:soap = ' http://schemas.xmlsoap.org/wsdl/soap/" style = "document" = transport " http://schemas.xmlsoap.org/soap/http" / > "
< name of operation = "run" >
"" < xmlns:soap soap: operation = ' http://schemas.xmlsoap.org/wsdl/soap/ " style ="document"soapAction ="execute"/ >
< input >
"" < xmlns:soap soap: body = ' http://schemas.xmlsoap.org/wsdl/soap/ " use ="literal"/ >
< / Entry >
< output >
"" < xmlns:soap soap: body = ' http://schemas.xmlsoap.org/wsdl/soap/ " use ="literal"/ >
< / output >
< / operation >
< / binding >
< connection name = "__esb_rsGetDVMlist_execute_ppt" type = "tns:execute_ppt" >
< esb:binding / >
< name of operation = "run" >
< esb:operation event-name="WWS2BPMRS.rsGetDVMlist.execute"/ >
< input / >
< output / >
< / operation >
< / binding >
< service name = "ESB_rsGetDVMlist_Service" >
< name of port = "__esb_rsGetDVMlist_execute_ppt" binding = "tns:__esb_rsGetDVMlist_execute_ppt" >
< / port >
< name of port = "__soap_rsGetDVMlist_execute_ppt" binding = "tns:__soap_rsGetDVMlist_execute_ppt" >
"" "< xmlns:soap address: soap =" http://schemas.xmlsoap.org/wsdl/soap/ " location = ' http://lc23hosoa1.lc.local:8888 / WWS2BPMRS/event/rsGetDVMlist" / > "
< / port >
< / service >
< plt:partnerLinkType name = "execute_pptLT" >
< plt:role name = "execute_pptProvider" >
< name plt:portType = "tns:execute_ppt" / >
< / plt:role >
< / plt:partnerLinkType >
< / definitions >

It seems that I finally found the answer - doh!

You will notice in the WSDL file that precedes, there are 2 links "__soap_rsGetDVMlist_execute_ppt" and "__esb_rsGetDVMlist_execute_ppt". It seems that Flex has trouble deciding that one to use. The order in which they appear in the generated WSDL varies, and it seems that Flex chooses also varies (it can be one of first or second). To sum up, from time to time, Flex chooses to use the connection without SOAP! (I speak only using MXML here of course).

To work around this problem, I saved the WSDL of BSE and in a file stored in the Oracle Application Server document space. I then removed the section linking BSE (link name = "__esb_rsGetDVMlist_execute_ppt") and the port which refers (port = "__esb_rsGetDVMlist_execute_ppt" name). Point the URL of WSDL Flex at this new location of WSDL and it works every time.

You may think a better way to proceed would be to use the new Web Services in Flex 3 Import Wizard. Sounds good and uses axis 2 under the hood. It also allows you to choose which link to use (now we're talkin'!). Except there is a problem with it, it seems to generate the structure of incorrect data for the request! He wants to send one of the tags in twice (ie the same nested tag), which of course the web service rejects as invalid. I tried some jiggering things around without result for awhile, then I didn't want to spend a moment more to solve a problem Adobe seems to have left - oh well, next version Adobe!
Without knowing the details, I can't help but wonder: - in the code generated under axis 2, he mentions "modified by Adobe" - would things worked better that they were * not * changed axis 2? It is hoped that the mods should integrate with Flex builder and nothing more.

I hope that Adobe addresses these problems, such as referring to things in this way raises questions of SOA governance terrible! Now we must follow what services use the various WSDL files separate and keep the WSDL separate sync any changes should be to services they represent.

SOA' happy ing!
Aussie Greg

Tags: Flex

Similar Questions

  • Problem with Oracle heterogeneous Services

    Hi all

    I try to access SQL Server database using Oracle heterogeneous Services and I get the following error in my tarce file:


    ***********************
    Heterogeneous Agent release
    10.2.0.3.0


    HS agent received unexpected disconnection of CPP
    Network error 1003: NCR-01003: DND: read error.
    ***********************

    I checed the tnsnames.ora / listener.ora and they seems OK

    also tnsping works well on HS

    Thses are the steps I followed:

    1 Setup DNS system
    2 configure the HS Oracle initialization file under $ORACLE_HOME/hs/admin
    3 configuration tnsnames.ora in $TNS_ADMIN
    4 configure the listener.ora under $TNS_ADMIN
    5 craete db link
    6 mark db link gives the following error
    "No data more to read from socket".
    7 trace file under $ORACLE_HOME/hs/log shows the following error

    Heterogeneous Agent release
    10.2.0.3.0

    HS agent received unexpected disconnection of CPP
    Network error 1003: NCR-01003: DND: read error.


    Please advice
    Concerning
    Omer

    After the support ticket logging Web conference showed that has been ORA_NLS10. It disable, stop/start the listener has solved the problem.

  • Oracle ESB and confusion of the OSB

    Hi all

    I am using SOA suite 11 g. I have confusion with Oracle Enterprise Service Bus and Oracle Service Bus

    1 > BSE's and OSB even? If this isn't the case, then where can I download Oracle ESB? and what he would do different from OSB (* I already downloaded OSB and was able to deploy and run a SOA application.) I also, server instance SOA running on my weblogic as well.* Server if I OSB panels, is there to download Oracle ESB as well?

    2 > I saw two or three job requirements which mentions simply - BSE experience they mean experience Oracle Enterprise Service Bus?

    3 > SOA/Bpel application developed using Jdeveloper 11.1.1.2 can be deployed on any third party (including IBM and Mule) service bus? OR it won't do and Oracle service bus. ? This question is like, for example - develop portlets JSR 168 standard that you can deploy to any third party Portal Server.

    Thank you
    pp

    If you are using 11g SOA Suite it is not, Oracle Enterprise Service Bus, it was renamed as a mediator. Ombudsman is now part of the composite.

    To answer your questions.

    1. no they are not the same, but they can perform similar functions. Oracle ESB is 10g and is part of the installation of 10g 10.1.3.1 located on OTN, not sure you can get the standalone version without triggering a SR, you can find it on eDelivery.oracle.com. If you have installed OSB does not require to have the Oracle ESB like OSB will happen all what BSE Oracle does, (outside the field of card values, but it can be done in BPEL)

    2 ESB is a generic term and does not mean it's Oracle, there are many BSE there. I would say OSB if it is a work of Oracle, but you may have known at once. If you know the mediator you know Oracle ESB so you don't need to download.

    3. you don't deploy SOA/BPEL in a service bus. They are deployed to and application server where SOA Suite is deployed. Now SOA Suite is certified with Oracle Web logic but will come the other application servers. Having said that your SOA/BPEL application can consume services on other application servers as long as the WSDL and endpoint are accessible from your machine SOA Suite. Web services will be considered. The JSR168 standard means that if your portal is compatible JSR168, then you can use JSR168 portlets, these portlets can be deployed on any 3rd party app server.

    see you soon
    James

    PS Oracle has Mule.

  • Flex Data Services integrated into Oracle Web Service Proxy

    I am trying to invoke a service proxy web created with Oracle JDeveloper IDE via Flex Data Services.
    I created an assembler class and defined actionscript objects that are required to serialize web service data and then call the dataservice with the id provided in the datamanagement.config file.

    When I try to debug the application, the class of the assembler is not affected, I added a breakpoint in the class, but on beforehand the exception is already thrown.

    Appears in the following stackTrace:
    [Flex] Order receipt: TCCommand [Cmd: 0, MethodName: null, TrxID: 3.0]
    [Flex] Has started the transaction using jndi name: java: comp / UserTransaction
    [Flex] Transaction committed
    [Flex] Response of the AMF financial/RTMP serialization
    Version: 3
    (Order method = _error (0) trxId = 3)
    (Print object #0 'flex.messaging.messages.ErrorMessage')
    rootCause = null
    destination = "dossierCreation".
    headers = (1 item)
    correlationId = "823B7A23-8463-0D24-0D39-A7FF8080B3A7."
    faultString = "there is an error unhandled on the server. javax/xml/rpc/ServiceFactory.
    messageId = "DF26CC97-B619-EAB1-191F-3FF02B998D49."
    faultCode = "Server.Processing".
    timeToLive = 0.0
    extendedData = null
    faultDetail = null
    clientId = "DF26CC00-580E-7285-F10F-720471C6BBE5".
    timestamp = 1.192524481046E12
    body = null

    I found the problem, I had to configure JOTM in my tomcat server to allow transactions.

  • How to return a multiple registration with Oracle Native Web Service?

    Hi all

    I would like to know the native web service oracle can return multiple records of customer or not?

    I have successfully developed the native oracle web service to return only one record, but the next challenge is to develop the web service to return a multiple record (such as database on each department employees)

    Thank you and best regards,
    Zenoni

    I have successfully developed the native oracle web service to return only one record, but the next challenge is to develop the web service to return a multiple record (such as database on each department employees)

    You may return a list (multiple values/records) in XML (using CLOB or XMLType), CSV or JSON format or whatever.

    function get_employees (p_department_id in number) return clob
    as
    begin
      return 'your_xml_string_here';
    end get_employees;
    

    It would be up to the customer (the caller of the web service) to extract the values of any format you decide, of course.

    -Morten

    http://ORA-00001.blogspot.com

  • How to post JSON using the Oracle Data Service remains

    I use the regular (not NoSQL or something) oracle database with oracle rest data service. Now I need to post data / put wrote in the body of the request using some json/xml format, how to consume them using the rest data service, searching inside the express application?  important: using pl/sql block

    Also, I am on,

    Data service Oracle rest 3.0

    Oracle Application Express 4.2

    Post edited by: Jacynthe

    OK, I got the answer. At the express request, there is a link called body variable (: body in BLOB). but the BLOB data type. So, we have to convert that in other data, type what we in pl/sql. I've converted data type witch CLOB supports json.

  • Integrate Oracle report with Oracle Application Express [secure]

    Hi Experts,

    I need to call the Oracle of Oracle Application Express report.

    Here is the version of the product

    Report & Oracle FMW 11g R2 (11.1.2) form

    Oracle Application Express 4.2.5.00.08

    Oracle Database 11 g Release 11.2.0.4.0 - 64 bit Production

    My question is, how I could integrate Oracle report with Oracle Application Express to secure the vocation of Oracle report.

    Please, help me.

    936969 wrote:

    Please give me a solution which can call Oracle report in secure mode, any user can not run the same copy of report the url. report by those who have access/role in the application to run.

    Take a look, the Operations of Service Web Oracle reports , it can help you.

    http://docs.Oracle.com/CD/E24269_01/doc.11120/e24479/pbr_webservice003.htm#CIABJEAB

    Especially see runJob

    http://docs.Oracle.com/CD/E24269_01/doc.11120/e24479/pbr_webservice003.htm#BABEJCFH

  • Oracle Listener services


    Hi, I am currently working on what the content of LSNRCTL STAT is actually showing me

    In my case the summary of this command shows me

    Summary of services...
    Service '+ ASM' a 1 instance (s).
    Instance '+ ASM1' READY State, has 1 operation for this service...
    Service 'RAC1DB' has 1 instance (s).
    'RAC1DB1' instance, State LOAN, has 1 operation for this service...
    Service 'RAC1DBXDB' has 1 instance (s).
    'RAC1DB1' instance, State LOAN, has 1 operation for this service...
    The command completed successfully

    Q1. "Of SERVICE" above means it's Service Oracle aka Oracle database Service, which has been registered by the listening port?

    Q2. Can a Service cause more 1 Instance and under what circumstances?

    Q3. What exactly is the Service for the instance manager and how is it related to the Oracle function?

    Q4. Can an Instance cause more than 1 Manager of Service and under what circumstances?

    any help appreciated,

    Jim

    Hello

    Q1. "Of SERVICE" above means it's Service Oracle aka Oracle database Service, which has been registered by the listening port?

    Yes these are the DRH regestered a database services or services defined statically in listener.ora

    Q2. Can a Service cause more 1 Instance and under what circumstances?

    Yes, generally in the CARS (several instances of all access to the same database). You may have also several databases offering the same service (with replication, for example)

    Q3. What exactly is the Service for the instance manager and how is it related to the Oracle function?

    Service managers are the way to connect to the database. The listener redirects the client to it. It can be a dedicated process, or a dispatcher.

    Q4. Can an Instance cause more than 1 Manager of Service and under what circumstances?

    Yes. For example you can have one dedicated and shared before. You see them with lsnrctl services

    Kind regards

    Franck.

  • Double authentication with Oracle EBS at the APEX problem

    Hello

    I am currently working on a project to integrate with Oracle EBS 12.1.3 4.2.4 APEX. We have completed the recommended white paper Oracle configuration.  I joined at the request of the APEX of a responsibility of BSE, when I click on the page of the APEX of the EBS, it navigates me to the login page of the APEX, and after I entered my credentials is to show the "No data found" error on the page. Then when I click the OK button again once he navigates me to the login page of the APEX and is validate my login information, allowing me to enter the APEX successfullly.

    It's really us boring for double login controls. Appreciate your help with this problem as soon as possible.

    Deployment environment

    ===============

    Database: Oracle 11g (11.2.0.2)

    Version APEX: APEX 4.2.4

    Oracle EBS Version: R12.1.3

    Application servers: Apache TomCat 7.0.56 (for APEX), Oracle HTTP Server (EBS)

    Web listening port: Oracle REST Data Services (2.0.6)

    Authentication: Custom authentication (login page validates users EBS)

    Thank you

    Sudhakar

    It seems that the constructed URL is not allowed. We EBS do not build a valid string. You can see where he puts "CallFromForm" and then adds "& p =...". "URL.

    The white paper mentions a required patch, you need else to resolve this problem.

    Use the gateway FND. If you do not need to pass parameters through your form to Apex, Oracle now provides a GWY.jsp which allows you to launch the Apex. Install the patches of R12 12316083 and 12726556. Then use the GWY.jsp based on your shape as described in the white paper "Extending Oracle E-Business Suite Release 12 using Oracle Application Express".

    Patch 12316083 is mentioned in the white paper, you are missing the 12726556.

    Description

    This bug solves the problem of pitcher APEX, at the launch of a whole page of APEX

    Oracle E - Business Suite forms according to the user interface. An additional url

    parameter 'CallFromForm' used to be added to the URL of the APEX, which was originally

    APEX page to fail.

  • Publish with Oracle distributed Document Capture in table update

    Hi all
    I installed ODDC and configured with Oracle 11 g 2 for the validation of the document.
    I have table with 4 fields IE id, the c_number, the content, the mime_type. I save the image on content than the blob data type.
    When I import and send the document to WebCapture screen I get document send successfully. But the data are not engaging in the database table.

    The pak file are genereated in "Document / Capture/pages/ClientAcces.

    How I do commit these database files?

    I'm missing something in the configuration? Please suggest.

    Thank you
    Nr

    Edited by: DP on July 30, 2012 05:50

    Edited by: DP on July 30, 2012 07:54

    It is unlikely that distributed Document Capture Oracle (ecNetService) Service did not start because it is responsible for the treatment of pak file and it does not start automatically after installation.

    Kind regards
    Boris

    Published by: tombo on 2012.08.01 04:49

  • Oracle self-service framework you have encountered an unexpected error.

    Hi all

    The apache has been dealt and all services are rising and running.but, now I am faced with the question in the end fron. Front end means once I entered the username and password, the following error message came.

    The error as follows

    ===============================================================================================================
    Oracle self-service framework

    Error page

    You have encountered an unexpected error.please, please contact the administrator of the help system.


    ===============================================================================================================

    In fact, I tried to past the exact screen shot.but, I couldn't do that. Please do need full.

    Thanks in advance

    Thank you
    Kumar.

    Hello

    Oracle/d01 / / halim/iAS / / Apache/Apache/bin/rotatelogs: permission denied

    Check the permissions on this file and all the executables.
    He must have permission 755.
    And must be owned by the owner of the application.

    192.168.0.5--[05/Jun/2006:05:05:16 + 0530] "POST /OA_HTML/fndvald.jsp > HTTP/1.1" 302 250

    You copy all the files during cloning. ???

    If it takes more time to solve the problems, I would say once more correctly you clone. Maybe if solve you that problem, you could get a few questions more...

    Thank you

  • The OWB with Oracle DB 11.1 11.2 client configuration

    Hello

    I hope that you all are doing well.

    I have tried to study Oracle heterogeneous Services and had tried to import data from excel spreadsheets in to OWB 11.1 using DG4ODBC. I had a few errors and discovered a writing on threads OTN that there is a bug in OWB 11.1, which was set at OWB 11.2. I installed OWB 11.2 only to discover that the two versions of owb cannot coexist. Given that I didn't ruin my already present workspace, I installed a new copy of oracle DB 11.1 to configure with owb 11.2. I followed the steps mentioned in the Oracle documentation, but nothing helped. Not only do you OWB 11.2 not get set up, my old verion of OWB lost its configuration with the old workspace. It gives me this error when I try to open a session:

    "API5055: this user has not registered to any warehouse builder workspace." You want to go ahead to create a new workspace for it, or save it to a? »

    I don't want to create a new workspace, I save it to my old. But I don't know how to do this. Can someone please help? I am badly stuck!

    I also want to understand whether it is possible for me to use customer OWB 11.2 to manipulate existing data workspace of OWB 11.1 without deleting OWB 11.1?
    And is there indeed a bug in OWB 11.1.0.7.0 that prevented me from impporting data in owb for MS Excel? I really need to go to OWB 11.2?

    I would be very grateful for your help.

    Thank you
    Ann.

    In fact, it is a problem but not with OWB - it seems that there is a bug in the database/bridge of Oracle 11 g.
    So - selection from the dictionary views doesn't work against the HS ODBC connection to Excel (or perhaps other sources with ODBC).
    But it is possible to access the worksheets in the Excel file.

    The first add to the setting of the initEXCEL.ora file (remember to restart the listener)
    HS_FDS_SUPPORT_STATISTICS = FALSE

    If you know the name of the Excel worksheet, you can get access to the HS link,
    for example, the worksheet name is Sheet1, choose, so must be

    Select * from 'Sheet1$"@dblink '.

    Hope this helps

  • install the EBS R12 (12.1.1) with Oracle 10 g on different nodes

    Hello

    What would be the steps for installation of the R12, EBS (12.1.2) of oracle database 10 g on different nodes?
    by default, 12.1.1 comes from oracle database 11g.

    There are basically 2 problems:
    1 instalation for R12 with oracle 10 g
    2 instalation on different nodes

    as I read through the forums, for installation on different nodes, you must first install R12 on the database node, then take the config_SID.txt file to the applications node, and then install r12 with this config file. but there are two other issues:
    1. I do full instalation R12 on the database node, and then install complete on the node applications with the config file?
    2. the instalation is done always with database 11 g... but we want database 10 g.

    Hello

    He said in the newspaper as R12 is it can be downloaded and installed... no matter if it comes with 10 g or 11 g.

    I agree.

    After instalation complete (R12 apps + db) on the node database and complete instalation on the applications node (with the pointing to the created database configuration file)... do have to remove the APPL_TOP, COMM_TOP... of the database layer and leave only the RDBMS House? or what are the exact steps...

    You don't have to remove all files, in fact, when you install the database on the database layer node fast install will not lay any of enforcement on this node (provided that you choose do not have enforcement on this node when you answer the question in fast Windows Installer). So, you should eventually have the database files and the ORACLE_HOME database on the DB layer node, then quick installation will allow to install the application files on the nodes of level APPS and application services.

    Thank you
    Hussein

  • Run with Oracle Web determinations/Oracle determination server problems

    Dear OPA team

    I have problems to run my project within the "run with determination determinations/Oracle Oracle Web server.


    When I do build and run with Oracle Server of determination: I get the message "cannot copy the Oracle determination to destination server files."

    When I do build and run with ' Oracle Web determinations I get error message on my web browser, the message is detailed below

    Any help would be appreciated
    Thanks K

    /////////////////////////////////////////////////////////////////////////////////////////////////////
    Error message in the browser (firefox and IE).
    ////////////////////////////////////////////////////////////////////////////////////////////////////


    Type Exception report

    Message

    Description the server encountered an internal error () that prevents to satisfy this demand.

    exception

    javax.servlet.ServletException: Servlet.init () for servlet WebDeterminationsServlet threw the exception
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
    org. Apache.Coyote.http11.Http11Processor.Process (Http11Processor.Java:873)
    org. Apache.Coyote.http11.Http11BaseProtocol$ Http11ConnectionHandler.processConnection (Http11BaseProtocol.Java:665)
    org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
    org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
    org.apache.tomcat.util.threads.ThreadPool$ ControlRunnable.run (ThreadPool.java:689)
    java.lang.Thread.run (unknown Source)

    first cause

    com.oracle.determinations.web.platform.exceptions.WebDeterminationsException: could not initialize Velocity Engine of Templating
    com.oracle.determinations.web.platform.templatingengine.VelocityTemplatingEngine. < init > (VelocityTemplatingEngine.java:97)
    com.oracle.determinations.web.platform.servlet.WebDeterminationsServletContext.init(WebDeterminationsServletContext.java:167)
    com.oracle.determinations.web.platform.servlet.WebDeterminationsServletContext. < init > (WebDeterminationsServletContext.java:91)
    com.oracle.determinations.web.platform.servlet.WebDeterminationsServlet.init(WebDeterminationsServlet.java:51)
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
    org. Apache.Coyote.http11.Http11Processor.Process (Http11Processor.Java:873)
    org. Apache.Coyote.http11.Http11BaseProtocol$ Http11ConnectionHandler.processConnection (Http11BaseProtocol.Java:665)
    org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
    org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
    org.apache.tomcat.util.threads.ThreadPool$ ControlRunnable.run (ThreadPool.java:689)
    java.lang.Thread.run (unknown Source)

    first cause

    org.apache.velocity.exception.VelocityException: failed to initialize an instance of org.apache.velocity.runtime.log.Log4JLogChute with the current run configuration.
    org.apache.velocity.runtime.log.LogManager.createLogChute(LogManager.java:206)
    org.apache.velocity.runtime.log.LogManager.updateLog(LogManager.java:255)
    org.apache.velocity.runtime.RuntimeInstance.initializeLog(RuntimeInstance.java:795)
    org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:250)
    org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:589)
    org.apache.velocity.app.VelocityEngine.init(VelocityEngine.java:135)
    com.oracle.determinations.web.platform.templatingengine.VelocityTemplatingEngine. < init > (VelocityTemplatingEngine.java:95)
    com.oracle.determinations.web.platform.servlet.WebDeterminationsServletContext.init(WebDeterminationsServletContext.java:167)
    com.oracle.determinations.web.platform.servlet.WebDeterminationsServletContext. < init > (WebDeterminationsServletContext.java:91)
    com.oracle.determinations.web.platform.servlet.WebDeterminationsServlet.init(WebDeterminationsServlet.java:51)
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
    org. Apache.Coyote.http11.Http11Processor.Process (Http11Processor.Java:873)
    org. Apache.Coyote.http11.Http11BaseProtocol$ Http11ConnectionHandler.processConnection (Http11BaseProtocol.Java:665)
    org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
    org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
    org.apache.tomcat.util.threads.ThreadPool$ ControlRunnable.run (ThreadPool.java:689)
    java.lang.Thread.run (unknown Source)

    first cause

    java.lang.RuntimeException: Log4JLogChute configuration error:
    sun.reflect.NativeConstructorAccessorImpl.newInstance0 (Native Method)
    sun.reflect.NativeConstructorAccessorImpl.newInstance (unknown Source)
    sun.reflect.DelegatingConstructorAccessorImpl.newInstance (unknown Source)
    impossible (unknown Source)
    org.apache.velocity.util.ExceptionUtils.createWithCause(ExceptionUtils.java:67)
    org.apache.velocity.util.ExceptionUtils.createRuntimeException(ExceptionUtils.java:45)
    org.apache.velocity.runtime.log.Log4JLogChute.initAppender(Log4JLogChute.java:133)
    org.apache.velocity.runtime.log.Log4JLogChute.init(Log4JLogChute.java:85)
    org.apache.velocity.runtime.log.LogManager.createLogChute(LogManager.java:157)
    org.apache.velocity.runtime.log.LogManager.updateLog(LogManager.java:255)
    org.apache.velocity.runtime.RuntimeInstance.initializeLog(RuntimeInstance.java:795)
    org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:250)
    org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:589)
    org.apache.velocity.app.VelocityEngine.init(VelocityEngine.java:135)
    com.oracle.determinations.web.platform.templatingengine.VelocityTemplatingEngine. < init > (VelocityTemplatingEngine.java:95)
    com.oracle.determinations.web.platform.servlet.WebDeterminationsServletContext.init(WebDeterminationsServletContext.java:167)
    com.oracle.determinations.web.platform.servlet.WebDeterminationsServletContext. < init > (WebDeterminationsServletContext.java:91)
    com.oracle.determinations.web.platform.servlet.WebDeterminationsServlet.init(WebDeterminationsServlet.java:51)
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
    org. Apache.Coyote.http11.Http11Processor.Process (Http11Processor.Java:873)
    org. Apache.Coyote.http11.Http11BaseProtocol$ Http11ConnectionHandler.processConnection (Http11BaseProtocol.Java:665)
    org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
    org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
    org.apache.tomcat.util.threads.ThreadPool$ ControlRunnable.run (ThreadPool.java:689)
    java.lang.Thread.run (unknown Source)

    first cause

    java.io.FileNotFoundException: velocity.log (access is denied)
    java.io.FileOutputStream.openAppend (Native Method)
    java.io.FileOutputStream. < init >(Unknown Source)
    java.io.FileOutputStream. < init >(Unknown Source)
    org. Apache.log4j.FileAppender.SetFile (FileAppender.Java:290)
    org. Apache.log4j.RollingFileAppender.SetFile (RollingFileAppender.Java:194)
    org. Apache.log4j.FileAppender. < init > (FileAppender.java:109)
    org. Apache.log4j.RollingFileAppender. < init > (RollingFileAppender.java:72)
    org.apache.velocity.runtime.log.Log4JLogChute.initAppender(Log4JLogChute.java:118)
    org.apache.velocity.runtime.log.Log4JLogChute.init(Log4JLogChute.java:85)
    org.apache.velocity.runtime.log.LogManager.createLogChute(LogManager.java:157)
    org.apache.velocity.runtime.log.LogManager.updateLog(LogManager.java:255)
    org.apache.velocity.runtime.RuntimeInstance.initializeLog(RuntimeInstance.java:795)
    org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:250)
    org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:589)
    org.apache.velocity.app.VelocityEngine.init(VelocityEngine.java:135)
    com.oracle.determinations.web.platform.templatingengine.VelocityTemplatingEngine. < init > (VelocityTemplatingEngine.java:95)
    com.oracle.determinations.web.platform.servlet.WebDeterminationsServletContext.init(WebDeterminationsServletContext.java:167)
    com.oracle.determinations.web.platform.servlet.WebDeterminationsServletContext. < init > (WebDeterminationsServletContext.java:91)
    com.oracle.determinations.web.platform.servlet.WebDeterminationsServlet.init(WebDeterminationsServlet.java:51)
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
    org. Apache.Coyote.http11.Http11Processor.Process (Http11Processor.Java:873)
    org. Apache.Coyote.http11.Http11BaseProtocol$ Http11ConnectionHandler.processConnection (Http11BaseProtocol.Java:665)
    org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
    org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
    org.apache.tomcat.util.threads.ThreadPool$ ControlRunnable.run (ThreadPool.java:689)
    java.lang.Thread.run (unknown Source)

    Note the trace of the full stack of the root cause is available in the Apache Tomcat/5.5.28 logs.


    /////////////////////////////////////////////////////////////////////////////////////////////////////
    QEnd of Error Message in the browser (firefox and IE).
    ////////////////////////////////////////////////////////////////////////////////////////////////////

    Hello!

    An addition to this small issue, but I do not know if this persists at the time that as I write this.
    From my experience it IS certainly a related permission/security problem, we met it when setting the OPA users on a Windows 7 operating system. User on Windows 7 permissions should allow the OPA write in specific folders and files (when the server starts Tomcat integrated this way: choose Build > build and debug... and with screens).
    When a regular user of Win 7 is trying to debug a project with screens, it receives the error mentioned above (even if the user was added later to the Administrators group).
    Solution: you choose the run as Administrator option in the context menu at the launch of OPA on the desktop. In this way the permission error (and all Java exceptions) disappeared and all the functions of the OPA worked as expected.
    To configure a user in Windows 7 to launch takeover bids like this, the attribute special user must be set on the user properties page > membership to be administrator tab (I think this is true for all the Windows operating system newer than Win XP SP3).

    Best regards
    Andrew

  • WLST Script to create the field of OSB with Oracle XE

    I installed oracle Service bus 10.3 with Oracle XE on a CentOS linux distribution. Everything went well. I created a default domain with the Wizard (so with Pointbase). Now, I want to go a little further. So I want to automatically create a domain OSB for Oracle XE. I used the following script (I borrowed from another thread ;-))):

    -----
    import sys

    Print "@ from the script...» »

    Try:
    domaintarget = "/ apps/bea/user_projects/domains/test2.
    domainUser = "weblogic.
    wl_home='/apps/BEA/wlserver_10.3'
    workshop_home='/apps/BEA/workshop_10.3'
    osb_home='/apps/BEA/osb_10.3'


    def configOraDB (dataSource):
    CD (DataSource)
    URL = "jdbc:oracle:thin:@localhost:1521:XE".
    Set ('URL', URL)
    Set('DriverName','oracle.) JDBC. OracleDriver')
    cmo.setPasswordEncrypted (domainUser)
    CD (' Properties/NO_NAME_0/Property/user')
    Set ('Value', domainUser)
    CD ('. /.. /.. /.. /.. /.. /.. / JdbcConnectionPoolParams/NO_NAME_0 ')
    cmo.setTestTableName ('dual')


    # Open a field template.
    readTemplate (wl_home + ' / common/templates/domains/wls.jar')

    CD (' Servers/AdminServer')
    together ('ListenPort', 7002)
    Set('ListenAddress','')


    CD('/')
    CD (' Security/base_domain/user/weblogic')
    cmo.setName ('weblogic')
    cmo.setPassword ('weblogic')
    setOption ('OverwriteDomain', 'true')
    writeDomain (domaintarget)
    closeTemplate()

    readDomain (domaintarget)


    addTemplate (workshop_home + ' / common/templates/applications/workshop_wl.jar')
    addTemplate (wl_home + ' / common/templates/applications/wls_webservice.jar')
    addTemplate (osb_home + ' / common/templates/applications/wlsb.jar')

    configOraDB('/JdbcSystemResources/wlsbjmsrpDataSource/JdbcResource/wlsbjmsrpDataSource/JdbcDriverParams/NO_NAME')
    configOraDB('/JdbcSystemResources/cgDataSource/JdbcResource/cgDataSource/JdbcDriverParams/NO_NAME')
    configOraDB('/JdbcSystemResources/cgDataSource-nonXA/JdbcResource/cgDataSource-nonXA/JdbcDriverParams/NO_NAME')



    updateDomain()
    closeDomain()


    except:
    dumpStack()
    Print "unexpected error:", sys.exc_info () [0]
    lift
    -----

    This creates a pretty empty field, as I have not yet created a real database. The command I found was

    loadDB ('10g ','wlsbjmsrpDataSource ')

    that will load the appropriate tables (of OSB/dbscripts /..)

    The problem is that I have no schema/user created in Oracle XE. So, I can manually create this but is not what I want to do. I also want to be scripted. So, how can I do this or is this not the way to go. You always manually create users on the database for three data sources (cgDataSource, wlsbjmsrpDatasrouce, cgDataSource-nonXA) before running a script to make a loadDB. Or do I run some kind of script create_user.sql or something.

    A second issue is that I can't find the scripts for the databases for cgDataSource and cgDataSource-nonXA data sources. They should be somewhere in workshop_10.3 but I can't find them. So, what is the problem here, I have to do a loadDB('10g','cgDataSource') or that eventually an error?

    My last question is I want to change the ALSB_DEBUGPORT (7 something) and debugging of the FMV of port (8453) in my script, how can I do this? I had another instance that already use these ports, so this won't work...

    My preference would be to invoke wslt by ant. This way Weblogic specific configurations can be addressed using WSLT and generic configurations (create DB users) can be done using ant.

    The files SQL to create tables required for the OSB are present in/MiddlewareHome/Oracle_OSB1/dbscripts/oracle. Try to run manually by using the Ant sql task. Create DB users is also possible using the same Ant SQL task http://ant.apache.org/manual/CoreTasks/sql.html.

    There are several ways you can do. I use http://ant.apache.org/manual/CoreTasks/replace.html as shown below in an Ant macro. Similarly, you can replace the ALSB_DEBUGPORT debug port and jvm debugging.

              
         



              
         


              
         


              
         


              
         


              
         


    Maury

Maybe you are looking for