BC4J with Jdeveloper 10.1.3.1.0

Hi,
I am new to jdeveloper. Can I use BC4J with this version ? I am looking for some sample code where it shows how to call my own Packages from a from and how to control my own transaction. Can anyone point me to some good samples ?
Thanks
Naresh

ADF BC in 10.1.3 is the newest version of BC4J.
You can find a complete developer guide for working with ADF BC as well as a tutorial here:
http://www.oracle.com/technology/products/adf/learnadf.html
(the left side of the page).

Similar Messages

  • How to use BC4J with JDeveloper 9i in a Team

    Hello
    I'm not sure if I'm to stupid, but to say the truth I didn't found the clue how to share a BC4J Application between several develeopers. Maybe someone can give me a hint.
    That's my situation:
    Our team is going to develop a web application using BC4J and BC4J-JSP, nothing special I think.
    But my problem is, that BC4J and especially the wizards refer to a lot of different files. Even simple changes often result in multiple files being changed in different parts of the project.
    Creating a view link between view objects in two packages for example changes the view objects in both packages. Also the project (.jpr) file or several "BC4J.xcfg" files are changed very often.
    So it is not easy to find parts of code from which I can say they are owned by one developer and others which are owned by another. Most often, if you have to merge the work of different developers, you have to edit the BC4J-XML-Files using an external editor. Or did someone find a better way? Please tell me!
    So, what is the best way to share code between developers?
    Should I partition the application by packages?
    - advantage:
    it allows a fine partitioning
    - disadvantages:
    it has the great danger that BC4J makes changes in other packages which will be overseen when merging.
    Should I create a projects for each developer and distribute code between the projects using libraries?
    - advantage: no unseen changes will happen, as the libraries are readonly.
    - disadvantages: no view links between view objects in different projects (Libraries) are possible! Also a lot of "load errors" can occure when updating a library, which have to be manually corrected in the dependent projects.
    Are source code management systems a real help in this problem or do they just "manage" the problem? I already tried SCM and PVCS but was not very happy with the way of working. As JDeveloper is not "really easy" to use with theese tools.
    So I would like to get any hints how other developers are dealing with this problem. Are you using BC4J with JDeveloper 9i in a team? Please tell me how do it and how you have partitioned your application.
    Thanks in advance
    Frank Brandstetter

    Hi,
    I'm not sure whether my answer is good enough for you, but it might help.
    First of all, you have to use JDev 9.0.3, because 9.0.2 has big problems with associations/view links between objects in different projects.
    Creating a view link between view objects in two packages for example changes the view objects in both packages. Also the project (.jpr) file or several "BC4J.xcfg" files are changed very often.This is not completely true in 9.0.3, as you may choose not to create an accessor in the imported object (and usually you don't need it neither!). As for bc4j.xcfg, there is a trick: define a "standard" database connection name to use all over your project! This will prevent modifying these files all the time!
    Should I create a projects for each developer and distribute code between the projects using libraries?
    - advantage: no unseen changes will happen, as the libraries are readonly.
    - disadvantages: no view links between view objects in different projects (Libraries) are possible! Also a lot of "load errors" can occure when updating a library, which have to be manually corrected in the dependent projects.I would say, projects for each application component, which by chance will be managed by a single developer at a time.
    As for the disadvantages, in 9.0.3 you are able to properly create associations and links using read-only objects. Hopefully, the release version will solve some generation inconsistencies...
    Concerning the errors that occur when modifying a library, this might be balanced by the relative independence of the components... If you are able to develop following the dependency tree, you will not meet the problem very often.
    Are source code management systems a real help in this problem or do they just "manage" the problem? I already tried SCM and PVCS but was not very happy with the way of working. As JDeveloper is not "really easy" to use with theese tools.Indeed, I do not have a SCMS really able to manage merges in the BC4J XML files... We rather try not to arrive there!
    So I would like to get any hints how other developers are dealing with this problem. Are you using BC4J with JDeveloper 9i in a team? Please tell me how do it and how you have partitioned your application.I really hope that my hints will help.
    Regards,
    Adrian

  • Using the BC4J with JDeveloper

    What exactly is the meaning of business logic in BC4J?
    It says thatBC4J Entity objects encapsulate the business
    logic.
    What is this business logic?
    Is it the Primary Key/Foreign key relationship between
    tables?

    There is a thriving JDeveloper forum. ( It is visited by members of the Oracle Java tools teams like Steve Muench and Chris Schalk, and so doesn't depend so much upon self-styled experts like me :P ). You'll find it JDeveloper and ADF.
    Business logic are rules regulating the use of the entity. This includes not just integrity constraints but also things like default values, check constraints, etc. In a sense this duplicates stuff that can be defined in the database, but (a) some java heads don't like squirming around in the primordial ooze of SQL and (b) because it's Java we can write stuff programmatically, which gives more flexibility than the CHECK CONSTRAINT syntax permits.
    Cheers, APC

  • Using Struts with JDeveloper, BC4J and OC4J 9.0.2

    Is it feasible to use Struts with JDeveloper 9.0.2, BC4J 9.0.2 and OC4J 9.0.2? We have an application that uses the BC4J JBO tags in version 9.0.2. We wish to use Struts and we want to retain the use of the JBO tags. Is there a way to do this without upgrading to 9.0.3?

    Here are two related questions:
    Can we upgrade to oracle9iAS 9.0.3 yet still use JDeveloper 9.0.2 and BC4J/JBO 9.0.2?
    Can we upgrade to JDeveloper 9.0.3 and BC4J/JBO 9.0.3 yet still deploy to oracle9iAS 9.0.2?

  • Upload Files with JDeveloper

    Hello everybody,
    I have a problem trying to upload multiple files to database with jdeveloper 9i (BC4J + JSP).
    I can upload just one file using the following code:
    ////upload.jsp
    <form ACTION="upload_file_sub.jsp" METHOD="POST" ENCTYPE="multipart/form-data">
    doc id: <INPUT TYPE=TEXT NAME="Id" VALUE=""><br>
    doc: <INPUT TYPE=FILE NAME="Doc"><br>
    <input type="submit" text="submit">
    </form>
    //////upload_submit.jsp
    <jbo:ApplicationModule id="Mypackage2Module" definition="Project1.Mypackage2Module" releasemode="Stateful" />
    <jbo:DataSource id="ds_archvivo" appid="Mypackage2Module" viewobject="ArchivoView1" />
    <jbo:Row id="row_files" datasource="ds_archvivo" action="create" >
    <jbo:SetAttribute datasource="ds_archvivo" dataitem="*" usemultipartformat="true" />
    <jbo:MediaUrl id="url" datasource="ds_archvivo" mediaattr="Doc" ></jbo:MediaUrl>
    </jbo:Row>
    <jbo:Commit appid="Mypackage2Module" />
    Does anyone how can I upload multiple files with one <form>???
    Regards,
    Santiago

    Hi Marco,
    I dont know transaction CV02N. But if this application uses standard function modules like GUI_UPLOAD it should work with ITS. A special configuration should not be required as long as the files have a size up to 5 MB. If they are larger it might be required to adjust the size of the request container MaxReqSize. Dont forget that Java has to be activated to let webgui access the filesystem.
    Regards,
    Klaus

  • Trying to debug Worklist app with JDeveloper

    We managed to get the worklistapp compiling under JDeveloper. Now, I'd like to debug it.
    In order to debug (by running in the OC4J container within JDeveloper), it looks like I have to run the worklistapp as a remote client (specifying REMOTE_CLIENT or SOAP_CLIENT in the BaseServlet's init function). I used REMOTE_CLIENT. I also updated wf_client_config.xml and included the ORACLE_HOME/bpel/system/services/config directory in the classpath.
    When I try to run the worklist app from JDeveloper, I get a null ptr exception (the line 'wfSvcClient.getAuthorizationService(idCtx);' is returning a null value for the authorization service):
    Source breakpoint occurred at line 660 of TaskList.java.
    07/01/30 16:57:37 java.lang.NullPointerException
    07/01/30 16:57:37      at worklistapp.servlets.TaskList.checkTabsToDisplay(TaskList.java:669)
    07/01/30 16:57:37      at worklistapp.servlets.TaskList.handleRequest(TaskList.java:122)
    07/01/30 16:57:37      at worklistapp.servlets.BaseServlet.doGet(BaseServlet.java:144)
    07/01/30 16:57:37      at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    07/01/30 16:57:37      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    07/01/30 16:57:37      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
    07/01/30 16:57:37      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    07/01/30 16:57:37      at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    07/01/30 16:57:37      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    07/01/30 16:57:37      at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
    07/01/30 16:57:37      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    07/01/30 16:57:37      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    07/01/30 16:57:37      at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    07/01/30 16:57:37      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    07/01/30 16:57:37      at java.lang.Thread.run(Thread.java:595)
    I also tried to use the soap client (SOAP_CLIENT in BaseServlet's init()), and I get this exception even before logging into the worklistapp:
    <2007-01-30 17:05:18,001> <ERROR> <oracle.bpel.services.workflow> <::>
    java.lang.NullPointerException
         at oracle.bpel.services.workflow.verification.impl.VerificationService.getWorkflowContextJAXBObject(VerificationService.java:1952)
         at oracle.bpel.services.workflow.verification.impl.VerificationService.getWorkflowContextElement(VerificationService.java:1972)
         at oracle.bpel.services.workflow.user.client.AbstractDOMUserMetadataServiceClient.createBaseType(AbstractDOMUserMetadataServiceClient.java:675)
         at oracle.bpel.services.workflow.user.client.AbstractDOMUserMetadataServiceClient.getPublicPreferences(AbstractDOMUserMetadataServiceClient.java:620)
         at worklistapp.servlets.BaseServlet.initApplicationPreferences(BaseServlet.java:555)
         at worklistapp.servlets.BaseServlet.validateSession(BaseServlet.java:185)
         at worklistapp.servlets.BaseServlet.doGet(BaseServlet.java:142)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)
    <::> ORABPEL-30721
    <::>
    <::> Error in invoking user metadata service operation.
    <::> An client side error occured in invoking the user metadata service operation getPublicPreferences.
    <::> Please check the exception error stack to identify the error. Contact oracle support if error is not fixable.
    <::>
    I did start up the user metadata services and runtime config services(I can see all the soap endpoints for the workflow services from a browser). But the worklist app doesn't seem to connect to the remote server. I did update my wf_client_config.xml to point to the remote server on which BPEL is located. And the wf_client_config.xml file is in the classpath.
    If I deploy the worklist app on the server with bpel (specifying the parent as 'orabpel', it all works fine). I just can't get it working as a remote client.
    So, any suggestions? I've been looking at threads on this forum to get to this point, but now I'm stuck.
    Thanks,
    Sachin

    I thought I'd ping this thread to see if anyone has been able to debug the Worklist application with JDeveloper. We are trying to customize the worklist application, and being able to use JDeveloper to debug would greatly help out.
    However, I have still been unable to get the worklist application to be able to connect to the workflow services remotely via the SOAP_CLIENT:
    wfSvcClient = WorkflowServiceClientFactory.getWorkflowServiceClient(
    WorkflowServiceClientFactory.SOAP_CLIENT);
    I've played around with the classpath to make sure I have all the jars (based on other similar threads in this forum), but have not had any luck yet.
    From a web browser, I can specify the SOAP endpoint to the Workflow services, and am able to call the service in the browser.
    I updated my wf_client_config.xml file to point to the endpoints. e.g:
    <taskQueryService>
    <soapEndPoint>http://myserver:8888/integration/services/TaskQueryService/TaskQueryService</soapEndPoint>
    </taskQueryService>
    Thanks for any help,
    Sachin
    The debug output:
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\jdev\jdev\system\oracle.j2ee.10.1.3.40.66\embedded-oc4j\config>
    C:\jdev\jdk\bin\javaw.exe -client -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=1690 -classpath C:\jdev\j2ee\home\oc4j.jar;C:\jdev\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -XX:MaxPermSize=256m -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config C:\jdev\jdev\system\oracle.j2ee.10.1.3.40.66\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    Listening for transport dt_socket at address: 1690
    Debugger connected to local process.
    Jun 1, 2007 5:22:29 PM com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
    Jun 1, 2007 5:22:29 PM com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 21594 ms.
    Target URL -- http://192.168.89.52:8988/BPEL%20Samples-WorkListApplication-context-root/login.jsp
    07/06/01 17:22:40 Oracle Containers for J2EE 10g (10.1.3.1.1) initialized
    WARNING: Code-source C:\work\ProjectLaguna\ThirdParty\Oracle\SOA\10.1.3.1\j2ee\home\jazncore.jar (from <classpath> in C:\work\ProjectLaguna\dev\WorkItemList\WorkListApplcation\public_html) has the same filename but is not identical to /C:/jdev/j2ee/home/jazncore.jar (from <code-source> in META-INF/boot.xml in C:\jdev\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader current-workspace-app.web.BPEL Samples-WorkListApplication-webapp:0.0.0.
    WARNING: Code-source C:\work\ProjectLaguna\ThirdParty\Oracle\SOA\10.1.3.1\diagnostics\lib\ojdl.jar (from manifest of /C:/work/ProjectLaguna/ThirdParty/Oracle/SOA/10.1.3.1/j2ee/home/jazncore.jar) has the same filename but is not identical to /C:/jdev/diagnostics/lib/ojdl.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\jdev\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader current-workspace-app.web.BPEL Samples-WorkListApplication-webapp:0.0.0.
    WARNING: Code-source C:\work\ProjectLaguna\ThirdParty\Oracle\SOA\10.1.3.1\lib\dms.jar (from manifest of /C:/work/ProjectLaguna/ThirdParty/Oracle/SOA/10.1.3.1/j2ee/home/jazncore.jar) has the same filename but is not identical to /C:/jdev/lib/dms.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\jdev\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader current-workspace-app.web.BPEL Samples-WorkListApplication-webapp:0.0.0.
    WARNING: Code-source C:\work\ProjectLaguna\ThirdParty\Oracle\SOA\10.1.3.1\webservices\lib\orasaaj.jar (from <classpath> in C:\work\ProjectLaguna\dev\WorkItemList\WorkListApplcation\public_html) has the same filename but is not identical to /C:/jdev/webservices/lib/orasaaj.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\jdev\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader current-workspace-app.web.BPEL Samples-WorkListApplication-webapp:0.0.0.
    WARNING: Code-source C:\work\ProjectLaguna\ThirdParty\Oracle\SOA\10.1.3.1\j2ee\home\lib\pcl.jar (from manifest of /C:/work/ProjectLaguna/ThirdParty/Oracle/SOA/10.1.3.1/j2ee/home/oc4j.jar) has the same filename but is not identical to /C:/jdev/j2ee/home/lib/pcl.jar (from system property java.class.path). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader current-workspace-app.web.BPEL Samples-WorkListApplication-webapp:0.0.0.
    07/06/01 17:22:42 Classpath: C:\jdev\jdk\jre\lib\rt.jar;C:\jdev\jdk\jre\lib\jsse.jar;C:\jdev\jdk\jre\lib\jce.jar;C:\jdev\jdk\jre\lib\charsets.jar;C:\jdev\jdk\jre\lib\ext\dnsns.jar;C:\jdev\jdk\jre\lib\ext\localedata.jar;C:\jdev\jdk\jre\lib\ext\sunjce_provider.jar;C:\jdev\jdk\jre\lib\ext\sunpkcs11.jar;C:\jdev\j2ee\home\oc4j-api.jar;C:\jdev\j2ee\home\lib\oc4j-unsupported-api.jar;C:\jdev\j2ee\home\lib\activation.jar;C:\jdev\j2ee\home\lib\mail.jar;C:\jdev\j2ee\home\lib\persistence.jar;C:\jdev\j2ee\home\lib\ejb30.jar;C:\jdev\j2ee\home\lib\ejb.jar;C:\jdev\j2ee\home\lib\javax77.jar;C:\jdev\j2ee\home\lib\javax88.jar;C:\jdev\j2ee\home\lib\servlet.jar;C:\jdev\j2ee\home\lib\jms.jar;C:\jdev\j2ee\home\lib\jta.jar;C:\jdev\j2ee\home\lib\jacc-api.jar;C:\jdev\j2ee\home\lib\connector.jar;C:\jdev\j2ee\home\lib\jmx_remote_api.jar;C:\jdev\j2ee\home\lib\jax-qname-namespace.jar;C:\jdev\webservices\lib\jaxr-api.jar;C:\jdev\webservices\lib\jaxrpc-api.jar;C:\jdev\webservices\lib\saaj-api.jar;C:\jdev\webservices\lib\jws-api.jar;C:\jdev\j2ee\home\lib\oc4j-internal.jar;C:\jdev\j2ee\home\lib\oems-jms-oc4j.jar;C:\jdev\j2ee\home\lib\oems-jms-client.jar;C:\jdev\j2ee\home\lib\oems-jms-server.jar;C:\jdev\j2ee\home\lib\oc4j-schemas.jar;C:\jdev\j2ee\home\lib\ojsp.jar;C:\jdev\j2ee\home\lib\oc4j_orb.jar;C:\jdev\j2ee\home\lib\iiop_support.jar;C:\jdev\j2ee\home\lib\orbbase.jar;C:\jdev\j2ee\home\iiop_gen_bin.jar;C:\jdev\j2ee\home\lib\jmxcluster.jar;C:\jdev\j2ee\home\jaccprovider.jar;C:\jdev\javavm\lib\jasper.zip;C:\jdev\j2ee\home\lib\adminclient.jar;C:\jdev\opmn\lib\optic.jar;C:\jdev\j2ee\home\jacc-spi.jar;C:\jdev\j2ee\home\jazncore.jar;C:\jdev\j2ee\home\jazn.jar;C:\jdev\jlib\ospnego.jar;C:\jdev\jlib\ldapjclnt10.jar;C:\jdev\webservices\lib\wsserver.jar;C:\jdev\webservices\lib\wsif.jar;C:\jdev\webservices\lib\orawsmetadata.jar;C:\jdev\webservices\lib\orajaxr.jar;C:\jdev\jlib\jssl-1_1.jar;C:\jdev\jlib\ojmisc.jar;C:\jdev\toplink\jlib\toplink-oc4j.jar;C:\jdev\diagnostics\lib\ojdl2.jar;C:\jdev\xqs\lib\xqs-api.jar;C:\jdev\xqs\lib\xds.jar;C:\jdev\jdev\lib\jdev-oc4j-embedded.jar;C:\jdev\j2ee\home\lib\pcl.jar;C:\jdev\j2ee\home\lib\ext;C:\jdev\j2ee\home\lib\ext\adfperfhandler.jar;C:\jdev\lib\dmsapp.jar;C:\jdev\jdev\system\oracle.j2ee.10.1.3.40.66\embedded-oc4j\applications\admin_ejb.jar;C:\jdev\j2ee\home\lib\scheduler.jar;C:\jdev\jdev\lib\jdev-rt.jar;C:\jdev\jdev\lib\ojc.jar;C:\jdev\jdev\system\oracle.j2ee.10.1.3.40.66\embedded-oc4j\connectors\datasources\datasources\datasources.jar;C:\jdev\BC4J\lib;C:\jdev\BC4J\lib\adfbinding.jar;C:\jdev\BC4J\lib\adfcm.jar;C:\jdev\BC4J\lib\adfm.jar;C:\jdev\BC4J\lib\adfmweb.jar;C:\jdev\BC4J\lib\adfs-jazn.jar;C:\jdev\BC4J\lib\adfs.jar;C:\jdev\BC4J\lib\adfshare.jar;C:\jdev\BC4J\lib\bc4jct.jar;C:\jdev\BC4J\lib\bc4jctejb.jar;C:\jdev\BC4J\lib\bc4jdomorcl.jar;C:\jdev\BC4J\lib\bc4jimdomains.jar;C:\jdev\BC4J\lib\bc4jmt.jar;C:\jdev\BC4J\lib\bc4jmtejb.jar;C:\jdev\BC4J\lib\bc4jsyscat.jar;C:\jdev\BC4J\lib\collections.jar;C:\jdev\jlib\commons-cli-1.0.jar;C:\jdev\mds\lib\concurrent.jar;C:\jdev\mds\lib\mdsrt.jar;C:\jdev\jlib\share.jar;C:\jdev\jlib\regexp.jar;C:\jdev\jlib\xmlef.jar;C:\jdev\BC4J\jlib\adfmtl.jar;C:\jdev\BC4J\jlib\adfui.jar;C:\jdev\BC4J\jlib\adf-connections.jar;C:\jdev\BC4J\jlib\dc-adapters.jar;C:\jdev\ord\jlib\ordim.jar;C:\jdev\ord\jlib\ordhttp.jar;C:\jdev\jlib\ojmisc.jar;C:\jdev\jlib\jdev-cm.jar;C:\jdev\lib\xsqlserializers.jar;C:\jdev\diagnostics\lib\ojdl.jar;C:\jdev\lib\dms.jar;C:\jdev\jdbc\lib\ojdbc14dms.jar;C:\jdev\opmn\lib\ons.jar;C:\jdev\jdbc\lib\ocrs12.jar;C:\jdev\rdbms\jlib\aqapi.jar;C:\jdev\j2ee\home\lib\ojms-provider.jar;C:\jdev\jdbc\lib\orai18n.jar;C:\jdev\lib\xmlparserv2.jar;C:\jdev\lib\xml.jar;C:\jdev\lib\xmlmesg.jar;C:\jdev\lib\xsu12.jar;C:\jdev\lib\xquery.jar;C:\jdev\jlib\osdt_core.jar;C:\jdev\jlib\osdt_cert.jar;C:\jdev\jlib\osdt_xmlsec.jar;C:\jdev\jlib\osdt_wss.jar;C:\jdev\jlib\osdt_saml.jar;C:\jdev\jlib\ojpse.jar;C:\jdev\jlib\oraclepki.jar;C:\jdev\toplink\jlib\toplink.jar;C:\jdev\toplink\jlib\antlr.jar;C:\jdev\toplink\jlib\toplink-essentials.jar;C:\jdev\webservices\lib\wsclient.jar;C:\jdev\webservices\lib\orasaaj.jar;C:\jdev\webservices\lib\xsdlib.jar;C:\jdev\webservices\lib\mdds.jar;C:\jdev\webservices\lib\relaxngDatatype.jar;C:\jdev\javacache\lib\cache.jar;C:\jdev\lib\xschema.jar;C:\jdev\webservices\lib\soap.jar;C:\jdev\sqlj\lib\runtime12.jar;C:\jdev\sqlj\lib\translator.jar;C:\jdev\webservices\lib\orawsdl.jar;C:\jdev\j2ee\home\applib;C:\jdev\j2ee\home\jsp\lib\taglib;C:\jdev\j2ee\home\jsp\lib\taglib\ojsputil.jar;C:\jdev\lib\dsv2.jar;C:\jdev\j2ee\home\lib\http_client.jar;C:\jdev\j2ee\home\lib\jgroups-core.jar;C:\work\ProjectLaguna\dev\WorkItemList\WorkListApplcation\public_html;C:\work\ProjectLaguna\dev\WorkItemList\WorkListApplcation\classes;C:\work\ProjectLaguna\ThirdParty\Oracle\SOA\10.1.3.1\bpel\lib\bpm-infra.jar;C:\work\ProjectLaguna\ThirdParty\Oracle\SOA\10.1.3.1\bpel\lib\orabpel-common.jar;C:\work\ProjectLaguna\ThirdParty\Oracle\SOA\10.1.3.1\bpel\lib\orabpel-thirdparty.jar;C:\work\ProjectLaguna\ThirdParty\Oracle\SOA\10.1.3.1\bpel\lib\orabpel.jar;C:\work\ProjectLaguna\ThirdParty\Oracle\SOA\10.1.3.1\j2ee\home\jazncore.jar;C:\work\ProjectLaguna\ThirdParty\Oracle\SOA\10.1.3.1\diagnostics\lib\ojdl.jar;C:\work\ProjectLaguna\ThirdParty\Oracle\SOA\10.1.3.1\lib\dms.jar;C:\work\ProjectLaguna\ThirdParty\Oracle\SOA\10.1.3.1\j2ee\home\oc4jclient.jar;C:\work\ProjectLaguna\ThirdParty\Oracle\SOA\10.1.3.1\bpel\lib\bicmn.jar;C:\work\ProjectLaguna\ThirdParty\Oracle\SOA\10.1.3.1\bpel\lib\bipres.jar;C:\work\ProjectLaguna\ThirdParty\Oracle\SOA\10.1.3.1\bpel\lib\uix2.jar;C:\work\ProjectLaguna\ThirdParty\Oracle\SOA\10.1.3.1\webservices\lib\orasaaj.jar;C:\work\ProjectLaguna\ThirdParty\Oracle\SOA\10.1.3.1\j2ee\home\oc4j.jar;C:\work\ProjectLaguna\ThirdParty\Oracle\SOA\10.1.3.1\j2ee\home\lib\pcl.jar;C:\product\10.1.3.1\OracleAS_1\bpel\system\services\config;C:\work\ProjectLaguna\ThirdParty\Oracle\SOA\10.1.3.1\bpel\system\services\lib\bpm-services.jar;C:\product\10.1.3.1\OracleAS_1\bpel\system\services\schema;C:\work\ProjectLaguna\ThirdParty\Oracle\SOA\10.1.3.1\webservices\client_lib\wsclient_extended.jar
    07/06/01 17:22:48 log4j:WARN No appenders could be found for logger (collaxa.cube.services).
    07/06/01 17:22:48 log4j:WARN Please initialize the log4j system properly.
    <2007-06-01 17:22:48,504> <ERROR> <oracle.bpel.services.workflow> <::>
    java.lang.NullPointerException
         at oracle.bpel.services.workflow.verification.impl.VerificationService.getWorkflowContextJAXBObject(VerificationService.java:1952)
         at oracle.bpel.services.workflow.verification.impl.VerificationService.getWorkflowContextElement(VerificationService.java:1972)
         at oracle.bpel.services.workflow.user.client.AbstractDOMUserMetadataServiceClient.createBaseType(AbstractDOMUserMetadataServiceClient.java:675)
         at oracle.bpel.services.workflow.user.client.AbstractDOMUserMetadataServiceClient.getPublicPreferences(AbstractDOMUserMetadataServiceClient.java:620)
         at worklistapp.servlets.BaseServlet.initApplicationPreferences(BaseServlet.java:556)
         at worklistapp.servlets.BaseServlet.validateSession(BaseServlet.java:183)
         at worklistapp.servlets.BaseServlet.doGet(BaseServlet.java:140)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:712)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)
    <::> ORABPEL-30721
    <::>
    <::> Error in invoking user metadata service operation.
    <::> An client side error occured in invoking the user metadata service operation getPublicPreferences.
    <::> Please check the exception error stack to identify the error. Contact oracle support if error is not fixable.
    <::>
    <::>      at oracle.bpel.services.workflow.user.client.AbstractDOMUserMetadataServiceClient.getPublicPreferences(AbstractDOMUserMetadataServiceClient.java:630)
    <::>      at worklistapp.servlets.BaseServlet.initApplicationPreferences(BaseServlet.java:556)
    <::>      at worklistapp.servlets.BaseServlet.validateSession(BaseServlet.java:183)
    <::>      at worklistapp.servlets.BaseServlet.doGet(BaseServlet.java:140)
    <::>      at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    <::>      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    <::>      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:712)
    <::>      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
    <::>      at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
    <::>      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
    <::>      at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
    <::>      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    <::>      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    <::>      at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    <::>      at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    <::>      at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    <::>      at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    <::>      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
    <::>      at java.lang.Thread.run(Thread.java:595)
    <::> Caused by: java.lang.NullPointerException
    <::>      at oracle.bpel.services.workflow.verification.impl.VerificationService.getWorkflowContextJAXBObject(VerificationService.java:1952)
    <::>      at oracle.bpel.services.workflow.verification.impl.VerificationService.getWorkflowContextElement(VerificationService.java:1972)
    <::>      at oracle.bpel.services.workflow.user.client.AbstractDOMUserMetadataServiceClient.createBaseType(AbstractDOMUserMetadataServiceClient.java:675)
    <::>      at oracle.bpel.services.workflow.user.client.AbstractDOMUserMetadataServiceClient.getPublicPreferences(AbstractDOMUserMetadataServiceClient.java:620)
    <::>      ... 18 more
    <2007-06-01 17:22:48,536> <ERROR> <oracle.bpel.services.workflow> <::>
    java.lang.NullPointerException
         at oracle.bpel.services.workflow.verification.impl.VerificationService.getWorkflowContextJAXBObject(VerificationService.java:1952)
         at oracle.bpel.services.workflow.verification.impl.VerificationService.getWorkflowContextElement(VerificationService.java:1972)
         at oracle.bpel.services.workflow.user.client.AbstractDOMUserMetadataServiceClient.createBaseType(AbstractDOMUserMetadataServiceClient.java:675)
         at oracle.bpel.services.workflow.user.client.AbstractDOMUserMetadataServiceClient.getPublicPreferences(AbstractDOMUserMetadataServiceClient.java:620)
         at worklistapp.servlets.BaseServlet.initApplicationPreferences(BaseServlet.java:556)
         at worklistapp.servlets.BaseServlet.validateSession(BaseServlet.java:183)
         at worklistapp.servlets.BaseServlet.doGet(BaseServlet.java:140)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:712)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)

  • BC4J with Oracle9iAS R2

    We developed a JSP application using BC4J and JDeveloper 3.2.
    Can I deploy this application to Oracle9iAS R2 ?.... How ?
    are the new BC4J classes complatible with the JDev3.2 classes ?
    Does "J2EE and Web cache" installation type contain the BC4J classes ?
    Thanks in advance.

    Instead of running the startup script when booting your server, try running the steps one by one and see if you get any error messages. Or check the log files for errors.
    9iAS is quite sensitive to a proper startup, but also a proper shutdown. If you had an abrupt shutdown due topower failure, you may have an instance in an incorrect state.
    E.g I have the following in my startup.bat (on Windows):
    oidmon start
    timeout 10
    echo .....Stopping previous Internet Directory Instance (if running)......
    oidctl server=oidldapd configset=0 instance=1 stop
    timeout 20
    The extra 'oidctl stop' command is to stop an OID instance if one was running due to an incorrect shutdown.

  • Business Services development with jDeveloper

    We are making use of the Business Services feature in JDE to expose business functions as web services, that's great and working.
    we have one problem with jDeveloper during development.
    we can create a new business service from OMW in JDE and invoke jDev from there, that's fine.
    then we can put codes in the project in jDev, that's fine.
    then we can publish the code as J2EE web service, that works as well.
    then if we restart jDeveloper after that, the J2EE web service doesn't work in the jDev embeded web server any more.
    we always have to delete the web service in the project and go through the same wizard steps to generate the web service again.
    it's very annoying when you have more than a handful of web services you want to expose.
    and if you use the WSDL in a client project to call this web service, you have to remember to give the web service the same name when re-generating otherwise you have to reimport the WSDL again on client side, it can be another huge pain if the client is Oracle BPEL.
    so my question is, why is this happening? is it some settings in jDev that we didn't set right? or is it a bug in jDEv and is there a work around?
    thanks in advanced!

    What error did you get?

  • Problem with tutorial; "Build a Web Application with JDeveloper 11g Using "

    I've got a rather new installation of Vista Business x64 on my developer rig, and last week I installed the new JDeveloper 11g version. The installation was all-inclusive, no customization on my end.
    In addition I've got a test installation of an Oracle DB 11gR1 on an available server here.
    To familiarize myself with the new JDeveloper I decided to spend some time with the JDeveloper 11g tutorials found here: http://www.oracle.com/technology/obe/obe11jdev/11/index.html.
    I've started twice on the second tutorial, "Build a Web Application with JDeveloper 11g Using EJB, JPA, and JavaServer Faces", and find myself repeatedly stuck at step 19 in section "Creating the Data Model and Testing it".
    It seems impossible to deploy the application to the default application server. The server starts fine on its own, I can access it via the admin console on port 7001 and it looks good. However, when I try to run the HRFacadeBean funny things are happening, symptomized by the following error messages seen in the IDE log-area:
    The "Messages" pane displays:
    "Compiling...
    Context: MakeProjectAndDependenciesCommand application=HR_EJB_JPA_App.jws project=EJBModel.jpr
    C:\Oracle\Middleware\jdk160_05\jre\bin\java.exe -jar C:\Oracle\Middleware\jdeveloper\jdev\lib\ojc.jar -g -warn -nowarn:320 -nowarn:372 -nowarn:412 -nowarn:413 -nowarn:415 -nowarn:486 -nowarn:487 -nowarn:489 -nowarn:556 -nowarn:558 -nowarn:560 -nowarn:561 -nowarn:705 -Xlint:-fallthrough -Xlint:-serial -Xlint:-unchecked -source 1.6 -target 1.6 -noquiet -encoding Cp1252 -d C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\classes -namereferences -make C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\classes\EJBModel.cdi -classpath C:\Oracle\Middleware\jdk160_05\jre\lib\resources.jar;C:\Oracle\Middleware\jdk160_05\jre\lib\rt.jar;C:\Oracle\Middleware\jdk160_05\jre\lib\jsse.jar;C:\Oracle\Middleware\jdk160_05\jre\lib\jce.jar;C:\Oracle\Middleware\jdk160_05\jre\lib\charsets.jar;C:\JDeveloper\mywork\HR_EJB_JPA_App\.adf;C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\classes;C:\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\toplink.jar;C:\Oracle\Middleware\modules\com.bea.core.antlr.runtime_2.7.7.jar;C:\Oracle\Middleware\modules\javax.persistence_1.0.0.0_1-0.jar;C:\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\eclipselink.jar;C:\Oracle\Middleware\jdeveloper\modules\oracle.xdk_11.1.1\xmlparserv2.jar;C:\Oracle\Middleware\jdeveloper\modules\oracle.xdk_11.1.1\xml.jar;C:\Oracle\Middleware\modules\javax.jsf_1.2.0.0.jar;C:\Oracle\Middleware\modules\javax.ejb_3.0.1.jar;C:\Oracle\Middleware\modules\javax.enterprise.deploy_1.2.jar;C:\Oracle\Middleware\modules\javax.interceptor_1.0.jar;C:\Oracle\Middleware\modules\javax.jms_1.1.1.jar;C:\Oracle\Middleware\modules\javax.jsp_1.1.0.0_2-1.jar;C:\Oracle\Middleware\modules\javax.jws_2.0.jar;C:\Oracle\Middleware\modules\javax.activation_1.1.0.0_1-1.jar;C:\Oracle\Middleware\modules\javax.mail_1.1.0.0_1-1.jar;C:\Oracle\Middleware\modules\javax.xml.soap_1.3.1.0.jar;C:\Oracle\Middleware\modules\javax.xml.rpc_1.2.1.jar;C:\Oracle\Middleware\modules\javax.xml.ws_2.1.1.jar;C:\Oracle\Middleware\modules\javax.management.j2ee_1.0.jar;C:\Oracle\Middleware\modules\javax.resource_1.5.1.jar;C:\Oracle\Middleware\modules\javax.servlet_1.0.0.0_2-5.jar;C:\Oracle\Middleware\modules\javax.transaction_1.0.0.0_1-1.jar;C:\Oracle\Middleware\modules\javax.xml.stream_1.1.1.0.jar;C:\Oracle\Middleware\modules\javax.security.jacc_1.0.0.0_1-1.jar;C:\Oracle\Middleware\modules\javax.xml.registry_1.0.0.0_1-0.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar;C:\Oracle\Middleware\wlserver_10.3\common\lib -sourcepath C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src;C:\Oracle\Middleware\jdk160_05\src.zip;C:\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\toplink-src.zip;C:\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\eclipselink-src.zip C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src\oracle\Dept.java C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src\oracle\Emp.java C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src\oracle\HRFacadeLocal.java C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src\oracle\HRFacadeClient.java C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src\oracle\HRFacade.java C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src\oracle\HRFacadeBean.java
    [11:45:27 PM] Successful compilation: 0 errors, 0 warnings.
    [Application HR_EJB_JPA_App is bound to Server Instance DefaultServer]
    [Starting Server Instance DefaultServer]
    #### Server Instance DefaultServer could not be started: Server Instance was terminated.
    The "Running: DefaultServer" displays:
    "C:\Oracle\Middleware\user_projects\domains\base_domain\bin\startWebLogic.cmd
    [waiting for the server to complete its initialization...]
    [Server Instance DefaultServer is shutting down.  All applications currently running will be terminated and undeployed.]
    Process exited.
    C:\Oracle\Middleware\user_projects\domains\base_domain\bin\stopWebLogic.cmd
    Stopping Weblogic Server...
    Initializing WebLogic Scripting Tool (WLST) ...
    Welcome to WebLogic Server Administration Scripting Shell
    Type help() for help on available commands
    Connecting to t3://localhost:7101 with userid weblogic ...
    This Exception occurred at Wed Oct 29 23:47:40 CET 2008.
    javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://localhost:7101: Destination unreachable; nested exception is:
         java.net.ConnectException: Connection refused: connect; No available router to destination]
         at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40)
         at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:783)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:365)
         at weblogic.jndi.Environment.getContext(Environment.java:315)
         at weblogic.jndi.Environment.getContext(Environment.java:285)
         at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
         at javax.naming.InitialContext.init(InitialContext.java:223)
         at javax.naming.InitialContext.<init>(InitialContext.java:197)
         at weblogic.management.scripting.WLSTHelper.populateInitialContext(WLSTHelper.java:512)
         at weblogic.management.scripting.WLSTHelper.initDeprecatedConnection(WLSTHelper.java:565)
         at weblogic.management.scripting.WLSTHelper.initConnections(WLSTHelper.java:305)
         at weblogic.management.scripting.WLSTHelper.connect(WLSTHelper.java:203)
         at weblogic.management.scripting.WLScriptContext.connect(WLScriptContext.java:60)
         at weblogic.management.scripting.utils.WLSTUtil.initializeOnlineWLST(WLSTUtil.java:125)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:160)
         at org.python.core.PyMethod.__call__(PyMethod.java:96)
         at org.python.core.PyObject.__call__(PyObject.java:248)
         at org.python.core.PyObject.invoke(PyObject.java:2016)
         at org.python.pycode._pyx4.connect$1(<iostream>:16)
         at org.python.pycode._pyx4.call_function(<iostream>)
         at org.python.core.PyTableCode.call(PyTableCode.java:208)
         at org.python.core.PyTableCode.call(PyTableCode.java:404)
         at org.python.core.PyFunction.__call__(PyFunction.java:184)
         at org.python.pycode._pyx16.f$0(C:\Oracle\Middleware\user_projects\domains\base_domain\shutdown.py:1)
         at org.python.pycode._pyx16.call_function(C:\Oracle\Middleware\user_projects\domains\base_domain\shutdown.py)
         at org.python.core.PyTableCode.call(PyTableCode.java:208)
         at org.python.core.PyCode.call(PyCode.java:14)
         at org.python.core.Py.runCode(Py.java:1135)
         at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:167)
         at weblogic.management.scripting.WLST.main(WLST.java:129)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at weblogic.WLST.main(WLST.java:29)
    Caused by: java.net.ConnectException: t3://localhost:7101: Destination unreachable; nested exception is:
         java.net.ConnectException: Connection refused: connect; No available router to destination
         at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:203)
         at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
         at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextFactoryDelegate.java:344)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:339)
         ... 38 more
    Caused by: java.rmi.ConnectException: Destination unreachable; nested exception is:
         java.net.ConnectException: Connection refused: connect; No available router to destination
         at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:464)
         at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:315)
         at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:251)
         at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:194)
         at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:225)
         at weblogic.rjvm.RJVMFinder.findOrCreateRemoteCluster(RJVMFinder.java:303)
         at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:193)
         ... 43 more
    Problem invoking WLST - Traceback (innermost last):
    File "C:\Oracle\Middleware\user_projects\domains\base_domain\shutdown.py", line 1, in ?
    File "<iostream>", line 22, in connect
    WLSTException: Error occured while performing connect : Error getting the initial context. There is no server running at t3://localhost:7101 Use dumpStack() to view the full stacktrace
    Done
    I'm not that familiar with these things but it seems to me that there is an issue with port numbers here. The application seems to expect a app.server service at port 7101, but does'nt find one.
    Any suggestions on how to fix this problem would be appreciated?
    LA$$E

    Jupp,
    It fails in a similar way.
    What I did was; create a simle 'Hello World' html file, saving it with the jsp extension. In Jdev11g i made a new application and an emtpy project, then loaded the jsp file and made it the default run-target. This compiles nicely.
    When running the project it first attempts to start the WebLogicServer (WLS). After a few minutes it is started as seen in the "Running: DefaultServer" pane:
    C:\Oracle\Middleware\user_projects\domains\base_domain\bin\startWebLogic.cmd
    [waiting for the server to complete its initialization...]
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m
    WLS Start Mode=Development
    CLASSPATH=;C:\Oracle\MIDDLE~1\patch_wls1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_cie660\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.0.0.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.5/lib/ant-all.jar;C:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\Oracle\Middleware\jdeveloper\modules\features\adf.share_11.1.1.jar;;C:\Oracle\MIDDLE~1\WLSERV~1.3\common\eval\pointbase\lib\pbclient57.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar;;
    PATH=C:\Oracle\MIDDLE~1\patch_wls1030\profiles\default\native;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\native;C:\Oracle\MIDDLE~1\patch_cie660\profiles\default\native;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.5\bin;C:\Oracle\MIDDLE~1\JDK160~1\jre\bin;C:\Oracle\MIDDLE~1\JDK160~1\bin;C:\oracle_client\product\11.1.0\client_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    java version "1.6.0_05"
    Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
    Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode)
    Starting WLS with line:
    C:\Oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m -DproxySet=false -Djbo.34010=false -Xverify:none -da -Dplatform.home=C:\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Ddomain.home=C:\Oracle\MIDDLE~1\USER_P~1\domains\BASE_D~1 -Doracle.home=C:\Oracle\Middleware\jdeveloper -Doracle.security.jps.config=C:\Oracle\MIDDLE~1\USER_P~1\domains\BASE_D~1\config\oracle\jps-config.xml -Doracle.dms.context=OFF -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Xms1024m -Xmx1024m -XX:MaxPermSize=256m -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\Oracle\MIDDLE~1\patch_wls1030\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~1\patch_cie660\profiles\default\sysext_manifest_classpath -Dweblogic.Name=AdminServer -Djava.security.policy=C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy weblogic.Server
    <30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
    C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_zh_TW.jar>
    <30.okt.2008 kl 19.20 CET> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 10.0-b19 from Sun Microsystems Inc.>
    <30.okt.2008 kl 19.20 CET> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3 Mon Aug 18 22:39:18 EDT 2008 1142987 >
    <30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <30.okt.2008 kl 19.20 CET> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <30.okt.2008 kl 19.20 CET> <Notice> <Log Management> <BEA-170019> <The server log file C:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\logs\AdminServer.log is opened. All server side log events will be written to this file.>
    <30.okt.2008 kl 19.20 CET> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <30.okt.2008 kl 19.20 CET> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddi was not deployed. Error: [Deployer:149158]No application files exist at 'C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\uddi.war'.>
    <30.okt.2008 kl 19.20 CET> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddiexplorer was not deployed. Error: [Deployer:149158]No application files exist at 'C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\uddiexplorer.war'.>
    <30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <30.okt.2008 kl 19.20 CET> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
    <30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <30.okt.2008 kl 19.20 CET> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, http.>
    <30.okt.2008 kl 19.20 CET> <Warning> <Server> <BEA-002611> <Hostname "Kromp.lan", maps to multiple IP addresses: 10.0.0.8, 127.0.0.1>
    <30.okt.2008 kl 19.20 CET> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 10.0.0.8:7001 for protocols iiop, t3, ldap, snmp, http.>
    <30.okt.2008 kl 19.20 CET> <Warning> <Server> <BEA-002611> <Hostname "127.0.0.1", maps to multiple IP addresses: 10.0.0.8, 127.0.0.1>
    <30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "AdminServer" for domain "base_domain" running in Development Mode>
    <30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    DefaultServer startup time: 121552 ms.
    DefaultServer started.
    In the "Messages" pane, however, things are not looking so good:
    Context: MakeProjectAndDependenciesCommand application=TestAppJsp.jws project=TestProjJsp.jpr
    [7:20:49 PM] Successful compilation: 0 errors, 0 warnings.
    [Application TestAppJsp is bound to Server Instance DefaultServer]
    [Starting Server Instance DefaultServer]
    #### Server Instance DefaultServer could not be started: Server Instance was terminated.
    But, of course, the server is actually running as I can access it via its Admin Console.
    So, I try to run the project again, and this time the following is shown in the "Messages" pane:
    Compiling...
    Context: MakeProjectAndDependenciesCommand application=TestAppJsp.jws project=TestProjJsp.jpr
    [7:26:39 PM] Successful compilation: 0 errors, 0 warnings.
    [Application TestAppJsp is bound to Server Instance DefaultServer]
    [Starting Server Instance DefaultServer]
    #### Server Instance DefaultServer could not be started: Server Instance was terminated.
    The "Running: DefaultServer" now comes up with:
    C:\Oracle\Middleware\user_projects\domains\base_domain\bin\startWebLogic.cmd
    [waiting for the server to complete its initialization...]
    [Server Instance DefaultServer is shutting down.  All applications currently running will be terminated and undeployed.]
    Process exited.
    The WLS is still running though as I can still access its adm console.
    To me it seems that it is attempting to start a separate instance of the WLS for each run attempt, but then I could be wrong.....:(
    Later I'll try to change the default WLS port from 7001 to 7101 as suggested in another port here.
    I must admit that I'm a bit surprised that the JDev11g doesn't work fine at this very simple level when performing a default install.

  • HOWTO: Use BC4J With or Without DB Triggers

    This HowTo describes how to use BC4J, database sequences and triggers
    and what are the ramifications.
    INTRODUCTION
    BC4J has the ability to work with database sequences in order to obtain a
    unique value when inserting records. BC4J also has the ability to
    work either with a 'before insert' trigger which automatically creates
    a new unique value for the primary key or without a trigger. When not using
    a database trigger, BC4J also has the ability to obtain the sequence value
    and set the primary key value.
    Before discussing the ramifications of using one approach or the other, let's
    show examples of how to use both approaches:
    BC4J & sequences WITH a database trigger
    and
    BC4J & sequences WITHOUT a database trigger
    HOWTO DEMONSTRATION STEPS
    To illustrate both scenarios a simple database setup script is provided which
    creates two tables:
    CUSTOMER_NT which DOES NOT have a before insert trigger and
    CUSTOMER_WT which DOES have a trigger.
    Database Install Script:
    <code>
    drop trigger customer_insert_trigger;
    drop table customer_wt;
    drop table customer_nt;
    drop sequence customer_wt_seq;
    drop sequence customer_nt_seq;
    create sequence customer_wt_seq start with 1;
    create sequence customer_nt_seq start with 101;
    create table customer_wt(
    id number,
    name varchar2(30),
    constraint
    customer_wt_pk
    primary key (id)
    create table customer_nt(
    id number,
    name varchar2(30),
    constraint
    customer_nt_pk
    primary key (id)
    prompt Inserting data...
    insert into customer_wt (id, name)
    values (customer_wt_seq.nextval, 'Mickey');
    insert into customer_wt (id, name)
    values (customer_wt_seq.nextval, 'Goofy');
    insert into customer_nt (id, name)
    values (customer_nt_seq.nextval, 'Daffy');
    insert into customer_nt (id, name)
    values (customer_nt_seq.nextval, 'Porky');
    commit
    prompt Creating trigger
    create trigger customer_insert_trigger
    before insert on customer_wt for each row
    begin
    select customer_wt_seq.nextval into :new.id from dual ;
    end;
    </code>
    The next step is to create the DEFAULT Entity Objects and View Objects using
    the Business Components Wizard.
    USING BC4J WITH A DATABASE TRIGGER
    Let's modify the entity object CustomerWt so it can use the database trigger.
    Edit the entity object CustomerWt by right-clicking in the navigator.
    Click on the 'Attribute Settings' tab and edit the ID attribute.
    - Uncheck 'Mandatory'checkbox. This allows you to insert without a value for the primary key
    - Check 'Refresh after Insert'. This obtains the value from the database generated by the trigger.
    - Check 'Updateable While New'. Id is only updateable when inserting.
    Click finish to complete the wizard. Save all and recompile the project.
    Now let's test our work.
    In the navigator right-click the application module and select 'Test..'. This will launch
    BC4J's built in tester. Connect to the application.
    In the tester double-click the CustomerWtView view object to run a test edit form.
    After the edit form renders, navigate through the existing records using the navigate
    buttons on the edit form. Now let's insert a record to execute the trigger.
    click on the '+' button to insert a record. Enter a value in the 'Name' field and commit the change.
    Observe that a new value has automatically been inserted into the Id field.
    That's it! You have successfully used BC4J and a database trigger.
    Now let's try it without a trigger..
    USING BC4J WITHOUT A DATABASE TRIGGER
    Now edit the entity object CustomerNT so it doesn't need a database trigger.
    Similar to before, edit the entity object CustomerNt by right-clicking in the navigator.
    Click on the 'Attribute Settings' tab and edit the ID attribute.
    - Uncheck 'Mandatory'checkbox.
    - Check 'Updateable While New'.
    An additional step is also required. The Create method will have to be modified to extract
    the value of the sequence.
    In the Edit EntityObject Wizard click the Java tab and select Create method and click Finish.
    The create method is generated in your Java fil e. In the Workspace view of the Navigator,
    expand the CustomerNt entity object in the navigator. Double-click
    CustomerNtImpl.java to open it in the Source Editor. In the Structure pane, double-click
    create(AttributeList). Modify the Create method so it looks like this:
    <code>
    public void create(AttributeList attributeList) {
    super.create(attributeList);
    SequenceImpl s = new SequenceImpl("customer_nt_seq", getDBTransaction());
    Integer next = (Integer)s.getData();
    setId(new Number(next.intValue())); }
    </code>
    Save and compile the project.
    Now test the ViewObject CustomerNtView using the tester as before.
    In the edit form of CustomerNTView click on the '+' to insert a record. Observe that
    just as before a new value has automatically been inserted in the ID field!
    TO USE A DB TRIGGER OR NOT TO USE A DB TRIGGER.
    Using a Database trigger sometimes preferable if you have non BC4J applications
    also sharing the database. In this case it is still safest to just let the database
    update it's own primary keys.
    If you don't have any other non-BC4J applications sharing the database, then not using
    a database trigger is perfectly acceptable and can have slightly better performance.
    The important thing to remember is that the option is yours to use either approach!
    null

    Thank you for the reply Jonathon. I am using a ViewObject which
    consist of several tables. I haven't tried the DB trigger
    approach but just using the BC4 approach in overriding the
    create method.
    Here is the parent class create as a part of the
    FasNameImpl.java file which does the job correctly.
    public void create(AttributeList attributeList) {
    super.create(attributeList);
    SequenceImpl l_seq = new SequenceImpl
    ("SEQ_CUSTOMER_ID",getDBTransaction());
    Integer l_next = (Integer)l_seq.getData();
    setCustomerId(new Number(l_next.intValue()));
    This is when I triedpassing the value to the child table. But I
    can't figure it out. I think the link is working fine if I had a
    ViewLink deployed but it doesn't look like it's doing the job
    for ViewObject.
    I am trying to call the childclass.method
    (FasCustomer.setCustomerId(l_next);
    But I am getting error.
    Thanks a lot for your suggestions,
    Kamran
    703 696 1121

  • Performance issue with Jdeveloper

    Hi Guys,
    I am experiencing strange performance issue with Jdeveloper 10.1.3.3.0.4157. There are many other threads regarding the performance issue in this forum, but the problem I have is a little bit different.
    I have two computers: one is Athlon 3200+ with Vista and another one is P4 dual core 6400 with XP (service pack 2). Both of them have 2GB memory.
    I am running the same simple project on both computer, but only the one with Vista has the problem. The problem is very similar to the problem mentioned in the thread:
    Re: IDE has become extremely slow?
    But it's much worse. It only happens only on JSF pages. Basically, any operations on the JSF pages are very slow. Loading the page, changing the attributes of a button in source editor, or even clicking the items in the design view take forever to run.
    The first weird thing is that it may use 100% CPU, but it never recover, which means the 100% CPU usage never stops or when it stops, the Jdeveloper stops responding.
    The second weird thing is that the project is not big. Actually, it's very small. The problem started to happen since last week. There are not big changes during the period. The only thing I can say is that we created two more JSF pages.
    The third weird thing is that the same project never happened on the P4+XP box. When I open the project on the P4+XP box, it’s always fast and no CPU spike.
    Any advises are welcome!
    Thanks,
    Steven

    Hi Guys,
    I re-made a simple test project for this problem and now I now always reproduce the problem in JDeveloper on both system (XP & Vista). Everytime I open this jspx file in the source editor and try to scroll up/down the source file, or manually delete an attribute, JDeveloepr will hang and the CPU usage is 0%.
    Here is the content of the test file:
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces"
    xmlns:afh="http://xmlns.oracle.com/adf/faces/html">
    <jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
    doctype-system="http://www.w3.org/TR/html4/loose.dtd"
    doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:view>
    <afh:html binding="#{backing_streettypedetail.html1}" id="html1">
    <afh:head title="streettypedetail"
    binding="#{backing_streettypedetail.head1}" id="head1">
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    </afh:head>
    <afh:body binding="#{backing_streettypedetail.body1}" id="body1">
    <af:messages binding="#{backing_streettypedetail.messages1}"
    id="messages1"/>
    <h:form binding="#{backing_streettypedetail.form1}" id="form1">
    <af:panelForm binding="#{backing_streettypedetail.panelForm1}"
    id="panelForm1">
    <af:inputText value="#{bindings.streetTypeID.inputValue}"
    label="#{bindings.streetTypeID.label}"
    required="#{bindings.streetTypeID.mandatory}"
    columns="#{bindings.streetTypeID.displayWidth}"
    binding="#{backing_streettypedetail.inputText1}"
    id="inputText1">
    <af:validator binding="#{bindings.streetTypeID.validator}"/>
    </af:inputText>
    <af:inputText value="#{bindings.description.inputValue}"
    label="#{bindings.description.label}"
    required="#{bindings.description.mandatory}"
    columns="#{bindings.description.displayWidth}"
    binding="#{backing_streettypedetail.inputText2}"
    id="inputText2">
    <af:validator binding="#{bindings.description.validator}"/>
    </af:inputText>
    <af:inputText value="#{bindings.abbr.inputValue}"
    label="#{bindings.abbr.label}"
    required="#{bindings.abbr.mandatory}"
    columns="#{bindings.abbr.displayWidth}"
    binding="#{backing_streettypedetail.inputText3}"
    id="inputText3">
    <af:validator binding="#{bindings.abbr.validator}"/>
    </af:inputText>
    <f:facet name="footer">
    <h:panelGroup binding="#{backing_streettypedetail.panelGroup1}"
    id="panelGroup1">
    <af:commandButton text="Save"
    binding="#{backing_streettypedetail.saveButton}"
    id="saveButton"
    actionListener="#{bindings.mergeEntity.execute}"
    action="#{userState.retrieveReturnNavigationRule}"
    disabled="#{!bindings.mergeEntity.enabled}"
    partialSubmit="false">
    <af:setActionListener from="#{true}"
    to="#{userState.refresh}"/>
    </af:commandButton>
    <af:commandButton text="Cancel"
    binding="#{backing_streettypedetail.cancelButton}"
    action="#{userState.retrieveReturnNavigationRule}"
    id="cancelButton">
    <af:setActionListener from="#{false}"
    to="#{userState.refresh}"/>
    </af:commandButton>
    </h:panelGroup>
    </f:facet>
    </af:panelForm>
    </h:form>
    </afh:body>
    </afh:html>
    </f:view>
    <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_streettypedetail-->
    </jsp:root>
    Can anybody take a look at the file and let me know what's wrong with it?
    Thanks in advance.
    Steven

  • Error after deploying a JSP Application developed with jdeveloper

    Hi there
    Running Oracle Enterpride Edition 8.1.7
    including Oracle Http webserver
    I'm trying to run a JSP application developed with Jdeveloper
    through the oracle http server included in
    Oracle Enterpride Edition 8.1.7
    Think I have modified alle the .conf files correctly
    I get the message :
    "Error Message: java.lang.RuntimeException: JSP Registry could not locate runtime property file:ORDERS_ORDERS_PKG_ORDERS_PKGModule.properties"
    Of course I know ,this file should be deployed as well. I have done this.
    Any ideas what's wrong ?
    Or can anyone point me to a (proper) document that decribes (correctly and completely) alle the steps that need to be done ?
    Many Thanxs
    Regards TJ
    null

    Yep, I had the same problem deploying from JDeveloper 9.3.1, followed:
    http://www.oracle.com/technology/products/jdev/howtos/10g/adf_runtime_update_howto.html
    and it works! thanks for the clue! (now I only have to find out what ADF is now!)
    Carlos.

  • Impossible to use CallbackHandler for WS-Security with Jdeveloper 11.1.2.1

    I have created WS client and proxy with JDeveloper 11.1.2.1 wizard. Security: oracle/wss10_username_token_with_message_protection_client_policy.
    For the callback handler I use the following class (API: http://download.oracle.com/javase/6/docs/api/javax/security/auth/callback/CallbackHandler.html):
    package package_test;
    import java.io.IOException;
    import java.text.DateFormat;
    import java.util.Date;
    import javax.security.auth.callback.Callback;
    import javax.security.auth.callback.CallbackHandler;
    import javax.security.auth.callback.NameCallback;
    import javax.security.auth.callback.PasswordCallback;
    import javax.security.auth.callback.TextOutputCallback;
    import javax.security.auth.callback.UnsupportedCallbackException;
    public class ClientSecurityHandlerCallback implements CallbackHandler{
    public ClientSecurityHandlerCallback() {
    super();
    public void handle(Callback[] callbacks)
    throws IOException, UnsupportedCallbackException {
    System.out.printf("%s In Callback ClientSecurityHandlerCallback.handle\n", DateFormat.getDateTimeInstance().format(new Date()));
    for (int i = 0; i < callbacks.length; i++) {
    if (callbacks[i] instanceof TextOutputCallback) {
    // display the message according to the specified type
    TextOutputCallback toc = (TextOutputCallback)callbacks;
    switch (toc.getMessageType()) {
    case TextOutputCallback.INFORMATION:
    System.out.println(toc.getMessage());
    break;
    case TextOutputCallback.ERROR:
    System.out.println("ERROR: " + toc.getMessage());
    break;
    case TextOutputCallback.WARNING:
    System.out.println("WARNING: " + toc.getMessage());
    break;
    default:
    throw new IOException("Unsupported message type: " +
    toc.getMessageType());
    } else if (callbacks[i] instanceof NameCallback) {
    // prompt the user for a username
    NameCallback nc = (NameCallback)callbacks[i];
    // ignore the provided defaultName
    System.err.print(nc.getPrompt());
    System.err.flush();
    nc.setName("uid");
    //nc.setName((new BufferedReader(new InputStreamReader(System.in))).readLine());
    } else if (callbacks[i] instanceof PasswordCallback) {
    // prompt the user for sensitive information
    PasswordCallback pc = (PasswordCallback)callbacks[i];
    pc.setPassword("pwd".toCharArray());
    } else {
    throw new UnsupportedCallbackException
    (callbacks[i], "Unrecognized Callback");
    When I try to launch client, I get the following message:
    Exception in thread "main" java.lang.ClassCastException: package_test.ClientSecurityHandlerCallback cannot be cast to javax.xml.ws.handler.Handler
    I have tried another approach, with
    public final class ClientSecurityHandler implements SOAPHandler<SOAPMessageContext> , but I don't manage to put username in the existing uesrname/timestamp token.
    How can I set uid/pwd to work with this security scheme?
    Thank you
    Igor

    I have created WS client and proxy with JDeveloper 11.1.2.1 wizard. Security: oracle/wss10_username_token_with_message_protection_client_policy.
    For the callback handler I use the following class (API: http://download.oracle.com/javase/6/docs/api/javax/security/auth/callback/CallbackHandler.html):
    package package_test;
    import java.io.IOException;
    import java.text.DateFormat;
    import java.util.Date;
    import javax.security.auth.callback.Callback;
    import javax.security.auth.callback.CallbackHandler;
    import javax.security.auth.callback.NameCallback;
    import javax.security.auth.callback.PasswordCallback;
    import javax.security.auth.callback.TextOutputCallback;
    import javax.security.auth.callback.UnsupportedCallbackException;
    public class ClientSecurityHandlerCallback implements CallbackHandler{
    public ClientSecurityHandlerCallback() {
    super();
    public void handle(Callback[] callbacks)
    throws IOException, UnsupportedCallbackException {
    System.out.printf("%s In Callback ClientSecurityHandlerCallback.handle\n", DateFormat.getDateTimeInstance().format(new Date()));
    for (int i = 0; i < callbacks.length; i++) {
    if (callbacks[i] instanceof TextOutputCallback) {
    // display the message according to the specified type
    TextOutputCallback toc = (TextOutputCallback)callbacks;
    switch (toc.getMessageType()) {
    case TextOutputCallback.INFORMATION:
    System.out.println(toc.getMessage());
    break;
    case TextOutputCallback.ERROR:
    System.out.println("ERROR: " + toc.getMessage());
    break;
    case TextOutputCallback.WARNING:
    System.out.println("WARNING: " + toc.getMessage());
    break;
    default:
    throw new IOException("Unsupported message type: " +
    toc.getMessageType());
    } else if (callbacks[i] instanceof NameCallback) {
    // prompt the user for a username
    NameCallback nc = (NameCallback)callbacks[i];
    // ignore the provided defaultName
    System.err.print(nc.getPrompt());
    System.err.flush();
    nc.setName("uid");
    //nc.setName((new BufferedReader(new InputStreamReader(System.in))).readLine());
    } else if (callbacks[i] instanceof PasswordCallback) {
    // prompt the user for sensitive information
    PasswordCallback pc = (PasswordCallback)callbacks[i];
    pc.setPassword("pwd".toCharArray());
    } else {
    throw new UnsupportedCallbackException
    (callbacks[i], "Unrecognized Callback");
    When I try to launch client, I get the following message:
    Exception in thread "main" java.lang.ClassCastException: package_test.ClientSecurityHandlerCallback cannot be cast to javax.xml.ws.handler.Handler
    I have tried another approach, with
    public final class ClientSecurityHandler implements SOAPHandler<SOAPMessageContext> , but I don't manage to put username in the existing uesrname/timestamp token.
    How can I set uid/pwd to work with this security scheme?
    Thank you
    Igor

  • Is it possible to use SOA Suite 11g with JDeveloper's integrated WebLogic?

    Is it possible to use SOA Suite 11g with JDeveloper's integrated WebLogic? Or do you have to install an external WebLogic?
    Thanks for help.
    Edited by: user7722720 on 07-Dec-2011 02:04

    Hi
    By default, NO it is NOT possible to deploy any SOA Applications on Integrated Weblogic Server that comes with JDeveloper. This integrated weblogic server is very light weight basic weblogic server with single domain (only 1 AdminServer) to deploy a standard J2EE, ADF Applications like EJBs, WebApps, WebServices, ADF Apps etc. BUT SOA (having BPEL, BPMs etc ) cannot be deployed.
    There is an option to upgrade this integrated weblogic server and install SOA on top of this. Like download soa installer that matches with your JDeveloper version and install soa on top of this weblogic. BUT I strongly do not recommend this, because you will not be able to upgrade iin future to the latest versions.
    Yes, its always better to install the standalone Weblogic Server that matches with your JDeveloper version. Then install SOA on top of this Weblogic Server. Then create RCU Schemas in any Oracle Database. Run config wizard and create a SOA Domain. Now integrate this in your JDeveloper to deploy any soa applications.
    Make sure that JDeveloper, Weblogic Server, SOA Software, RCU all these versions should match and they should be same.
    Thanks
    Ravi Jegga

  • How to start with JDeveloper?

    As a straight A student of Computer Science, I put my hands on database development of an information system project for our CS faculty this summer. JDeveloper is used as the IDE for such project.
    I have learnt Java 2 and something about Oracle database in my courses. Now, after reading the product introduction and a short online course outline in iDeveloper2001, I have a brief idea about it. But since I can not afford much, how to learn more about it? Could you offer me some advices?
    Thanks a lot!

    The online users guide and documentation is the best place to
    start to learn how to use JDeveloper.
    - PSW
    Ram Purushothaman (guest) wrote:
    : Hi,
    : I am new to this Jdeveloper. I need to develop a intranet
    : project. Basically, I have to get the employee details from the
    : HR like work-telephone, email-address, etc.
    : Can somebody let me know how to start with Jdeveloper.
    Basically
    : I need to have a query screen (query by last_name or first_name
    : etc) and a result screen (results based on the query).
    : Any help is appreciated.
    : Thanks.
    : Ram.
    null

Maybe you are looking for

  • Problem with apple mini dvi to video adapter cable

    I recently bought an apple mini dvi to video adapter cable and all that it would display on my television screen was black and white colors. The quality of the screen seemed to be okay but it was hard to tell since i did not have any color. Is there

  • Customize the ToolTip for the BUILTIN tools

    Is there a way to customize the text of the Tool Tip associated with the BUILTIN tools (BUILTIN_RECTANGLE, BUILTIN_REDLINE, etc...)? I tried some code like this: rectangleTool = redlineToolBar.getBuiltInTool(MVToolBar.BUILTIN_RECTANGLE); rectangleToo

  • Saving default values for checkboxes

    Hi all, one of our customers has recently upgraded ´their NW7.00 (SAP ECC 6.0) system to basis SP18. As a result of this, it is no longer possible for users to save default values, in Web Dynpro ABAP applications, neither for checkboxes nor for radio

  • Who's data is getting used even on wifi?

    I don't have a big data plan, 100mb.  So I try and stick to Wifi as much as possible.  I'm not sure if it's an app problem, or an iOS problem, but when I'm connected to wifi at home, and decide to use an app "home roamer" for example, I'll be browsin

  • 802.1x messed up entourage

    Okay...this is strange. My school forces us to use a 802.1x set-up to connect to the internet. I played around and finally got it to work. At first, i was able to get my mail through Entourage. Then it stopped. So i played around with the settings a