Instant Deployment of Projects with OC4J

Hi ,
can any body explain how does JDeveloper runs my Web / Enetrprise application instantly ; i mean without generating Jar , War file and deploy it on the OC4J , and how can i use the same behavior connecting Other IDE's (eclips based) with the standalone OC4J !!! ,
Regards ,

Hello,
JDeveloper is using the development features of OC4J for deployment that are documented here:
- Key OC4J Flags for Development
But i personnally always prefer to deploy/test/debug my application as a WAR/EAR except when it is really really big to be sure I am in the same environment than the real target.
Regards
Tugdual Grall

Similar Messages

  • Unable to deploy BPM projects with human tasks from BPC

    I’m trying to edit and deploy a BPM process from Business Process Composer (web based tool). To do it, I followed the steps below:
    1.     I created I project in JDeveloper
    2.     I created the Human task from using the “Auto-generate task form” option
    3.     I converted it to a template
    4.     I published it to BPM MDS
    5.     On Business Process Composer I created I new project based on my published template
    6.     And I finally I deployed it with no errors.
    When I ran the BPM it creates I human task but I’m not able to access its form on Business Process Workspace.
    On Business Process Workspace I can see the task created by my BPM process, but when I click on it to access its form I get a 404 message (message below).
    Error 404--Not Found
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.5 404 Not Found
    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
    If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
    I think this error occur because my Task form project was not deployed. To fix it I undeployed all the applications and then I deployed the BPM application with all its tasks forms from JDeveloper. It worked fine (I can actually access the task form on Business Process Workspace), but now I’m not able to edit the BPM process on Business Process Composer anymore.
    Then I finally repeated the steps 3 to 6 on top of this post in order to make the BMP process editable on Business Process Workspace but this time I receive the error at the end of this post taken from server log.
    No matters if I publish the project on MDS BMP repository as a template project or as non template project. I always have the same problem.
    So, how can I use a BPM project that contains Human Tasks forms on Business Process Composer?
    I’m using:
    •     JDevelopper: 11.1.1.5
    •     Oracle Soa Suite 11.1.1.5
    Error:
    <Error> <ServletContext-/soa-infra> <AUSDCCMTPRF03> <soa_server1> <[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <daba687c30fc2ae1:5f5821e2:131915bbc92:-8000-000000000001c442> <1312478914395> <BEA-000000> <Error during deployment
    oracle.fabric.common.FabricException: Deployment Failed: Error occurred during deployment of component: AssignVendorETATask to service engine: implementation.workflow, for composite: AlertBPMProject: ORABPEL-30123
    Error while deploying task metadata.
    The task namespace http://xmlns.oracle.com/AlertBPMApplication/AlertBPMProject/AssignVendorETATask is already used as a template namespace.
    Check if the project you are deploying now is a template project. Please avoid deploying template projects. Use a different namespace for the task definition to fix the problem or set the suffixNamespace flag to true.
    : Error while deploying task metadata.
    The task namespace http://xmlns.oracle.com/AlertBPMApplication/AlertBPMProject/AssignVendorETATask is already used as a template namespace.
    Check if the project you are deploying now is a template project. Please avoid deploying template projects. Use a different namespace for the task definition to fix the problem or set the suffixNamespace flag to true.
         at oracle.integration.platform.blocks.deploy.StandaloneCompositeDeploymentCoordinatorImpl.coordinateCompositeDeployment(StandaloneCompositeDeploymentCoordinatorImpl.java:62)
         at oracle.integration.platform.blocks.deploy.servlet.BaseDeployProcessor.deployNewComposite(BaseDeployProcessor.java:378)
         at oracle.integration.platform.blocks.deploy.servlet.BaseDeployProcessor.deploySARs(BaseDeployProcessor.java:226)
    Caused By: oracle.fabric.common.FabricException: Error occurred during deployment of component: AssignVendorETATask to service engine: implementation.workflow, for composite: AlertBPMProject: ORABPEL-30123
    Error while deploying task metadata.
    The task namespace http://xmlns.oracle.com/AlertBPMApplication/AlertBPMProject/AssignVendorETATask is already used as a template namespace.
    Check if the project you are deploying now is a template project. Please avoid deploying template projects. Use a different namespace for the task definition to fix the problem or set the suffixNamespace flag to true.
    : Error while deploying task metadata.
    The task namespace http://xmlns.oracle.com/AlertBPMApplication/AlertBPMProject/AssignVendorETATask is already used as a template namespace.
    Check if the project you are deploying now is a template project. Please avoid deploying template projects. Use a different namespace for the task definition to fix the problem or set the suffixNamespace flag to true.
         at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deployComponents(CompositeDeploymentConnection.java:244)
         at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deploy(CompositeDeploymentConnection.java:93)
    Caused By: oracle.fabric.common.FabricDeploymentException: ORABPEL-30123
    Error while deploying task metadata.
    The task namespace http://xmlns.oracle.com/AlertBPMApplication/AlertBPMProject/AssignVendorETATask is already used as a template namespace.
    Check if the project you are deploying now is a template project. Please avoid deploying template projects. Use a different namespace for the task definition to fix the problem or set the suffixNamespace flag to true.
    : Error while deploying task metadata.
    The task namespace http://xmlns.oracle.com/AlertBPMApplication/AlertBPMProject/AssignVendorETATask is already used as a template namespace.
    Check if the project you are deploying now is a template project. Please avoid deploying template projects. Use a different namespace for the task definition to fix the problem or set the suffixNamespace flag to true.
    {rootCauses=[]}
         at oracle.bpel.services.workflow.fabric.WorkflowServiceEngine.deploy(WorkflowServiceEngine.java:908)
         at oracle.bpel.services.workflow.fabric.WorkflowServiceEngine.deploy(WorkflowServiceEngine.java:368)
         at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deployComponents(CompositeDeploymentConnection.java:239)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused By: ORABPEL-30123
    Error while deploying task metadata.
    The task namespace http://xmlns.oracle.com/AlertBPMApplication/AlertBPMProject/AssignVendorETATask is already used as a template namespace.
    Check if the project you are deploying now is a template project. Please avoid deploying template projects. Use a different namespace for the task definition to fix the problem or set the suffixNamespace flag to true.

    I came across the same issue, and now resolved it like this.
    Firstly, you shouldn't deploy QuoteProcessLab with other UILabs like ApproveDealUILab and so on. So, if you already did it, then go to Weblogic EM and undeploy it.
    Secondly, you should deploy each of UILab separately as standalone application. So, deploy EnterQuiteUILab, BUsinessPracticesUILab, and so on each. These will run independently behind and when your project created based on template in the Composer runs, it will link each of these on human task.
    Thirdly, publish you QuoteProcessLab. And follow the book about how to create a project based on template in the Composer.
    Just one thing you should be careful with is, when you do auto-generation for human task, it sometimes doesn't work fully, unfinished halfway through. So, make sure that the icon 'go to existing business form taskflow' in .task file takes you to the human taskflow.
    If it fails, do another auto-generation. Sometimes DataBindings.cpx can get corrupted by JDev, but let's not go too far for now.
    Mostly, it will work.
    Sung

  • OSB Error in deploying a project with jca file adapter

    Hi,
    I am facing an issue where I am getting an error when deploying a service from Eclipse. I am using OSB/SOA 11.1.1.5 2 node cluster. I have an OSB service where I am writing to a file and am using file adapater. I created a composite with file adapter to write a file then imported .jac, .wsdl and composite into eclipse and generated a business service out of .jca file. When I deploy the project from eclipse I am getting the below error and am not able to deploy the project.
    Conflicts found during publish.
    Invalid JCA transport endpoint configuration, exception: javax.resource.ResourceException: Cannot locate Java class oracle.tip.adapter.file.outbound.FileInteractionSpec
    Cannot locate Java class oracle.tip.adapter.file.outbound.FileInteractionSpec
    I have FileAdapter deployed and pointed to OSB manage servers cluster. Here is a snippet of config.xml.
    <app-deployment>
        <name>FileAdapter</name>
        <target>SOA_Cluster,OSB_Cluster</target>
        <module-type>rar</module-type>
        <source-path>/app/oracle/fmw/Oracle_SOA1/soa/connectors/FileAdapter.rar</source-path>
        <deployment-order>321</deployment-order>
        <plan-dir xsi:nil="true"></plan-dir>
        <plan-path>/app/oracle/shared/SOA_Cluster/dp/FileAdapterPlan.xml</plan-path>
        <security-dd-model>DDOnly</security-dd-model>
        <staging-mode>nostage</staging-mode>
      </app-deployment>
    Also inside console -> deployments  -> FileAdapter -> Targets and OSB_Cluster is checked also.
    Here is the .jca file
    <adapter-config name="writeFile" adapter="File Adapter" wsdlLocation="writeFile.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
      <connection-factory location="eis/HAFileAdapter"/>
      <endpoint-interaction portType="Write_ptt" operation="Write">
        <interaction-spec className="oracle.tip.adapter.file.outbound.FileInteractionSpec">
          <property name="PhysicalDirectory" value="C:\ORACLE"/>
          <property name="Append" value="false"/>
          <property name="FileNamingConvention" value="a_%SEQ%.doc"/>
          <property name="NumberMessages" value="1"/>
        </interaction-spec>
      </endpoint-interaction>
    </adapter-config>
    Any idea what might be wrong.
    Thanks.

    I already have the fileAdapter JNDI is already configured in console. The error I am getting is during the deployment
    Conflicts found during publish.
    Invalid JCA transport endpoint configuration, exception: javax.resource.ResourceException: Cannot locate Java class oracle.tip.adapter.file.outbound.FileInteractionSpec
    Cannot locate Java class oracle.tip.adapter.file.outbound.FileInteractionSpec
    Thanks

  • Fail deploying firt app with OC4J

    Hi friends i am new with OC4J, I try to deploy my first J2EE application with OC4J 10g as described in oc4j manuel but i get this error :
    Error instantiating application 'publipostage' at file:/C:/javatools/oc4j10g/j2ee/home/applications/publipostage.ear: Error initializing ejb-module; Exception null
    Can any one help me solving problem? Thanks a lot.

    Hello,
    Could you give a little more information about your deployment:
    - which version of OracleAS are you using? (java -jar oc4j.jar -version in the $ORACLE_HOME/j2ee/home directory)
    - do you have a complete stack trace ?
    - whichkind of EJB are you deploying?
    Regards
    Tugdual

  • Deploying a project with CR8.5 on a pc already running an app using CR7

    Post Author: Eamon Jurdzis
    CA Forum: Older Products
    I have just created a project utilising CR8.5 and its ready to deploy with all the relevant runtime files included in the setup package.The target machine(s) already have an application which was created utilising CR7.If I install my project on one of those machines, how will this affect the operation of the exisiting program which utilises CR7 reports?In other words, are there compatibility issues in the runtime files between version 7 and version 8.5 of crystal reports?

    I already have the fileAdapter JNDI is already configured in console. The error I am getting is during the deployment
    Conflicts found during publish.
    Invalid JCA transport endpoint configuration, exception: javax.resource.ResourceException: Cannot locate Java class oracle.tip.adapter.file.outbound.FileInteractionSpec
    Cannot locate Java class oracle.tip.adapter.file.outbound.FileInteractionSpec
    Thanks

  • Error deploying composite projects with partner links in abstract wsdl

    Error while deployment of PartnerLinkCompositeError. The two composites have the same wsdl files, but PartnerLinkCompositeError composite projects has a perter link inside the wsdl.
    <partnerLinkType name="execute_ptt"
    xmlns="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
    <role name="execute_pttProvider">
    <portType name="tns:execute_ptt"/>
    </role>
    </partnerLinkType>
    The error during deployment
    [04:13:04 PM] Error deploying archive sca_PartnerLinkCompositeError_rev1.0.jar to partition "default" on server soa_server1 [http://158.166.229.41:8001]
    [04:13:04 PM] HTTP error code returned [500]
    [04:13:04 PM] Error message from server:
    There was an error deploying the composite on soa_server1: Deployment Failed: Unable to find a WSDL that has a definition for service {http://xmlns.oracle.com/EBS/PartnerLinkCompositeError/Mediator1}Mediator1_ep and port execute_pt. Please make sure that the port attribute for the binding defined in the composite file is correct by checking the namespace, service name, and port name. In addition, check that the WSDL associated with the binding namespace is imported and currently reachable (check the import nodes at the top of the composite file). Finally, validate the HTTP proxy settings for the server..
    [04:13:04 PM] Check server log for more details.
    [04:13:04 PM] Error deploying archive sca_PartnerLinkCompositeError_rev1.0.jar to partition "default" on server soa_server1 [http://158.166.229.41:8001]
    [04:13:04 PM] #### Deployment incomplete. ####
    [04:13:04 PM] Error deploying archive file:/D:/workspace/NIF2/PartnerLinkCompositeError/deploy/sca_PartnerLinkCompositeError_rev1.0.jar
    (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)
    What can be the cause for this error?
    Projects for download
    http://www.4shared.com/zip/w5R5zp1G/PartnerLinkCompositeError.html
    http://www.4shared.com/zip/EM7butNF/PartnerLinkComposite.html

    During WSDL design for composite projects like BPM or SOA using JDeveloper WSDL designer or by hand, BE sure that the partner link namespace is in the root of the wsdl definition.
    <?xml version= '1.0' encoding= 'UTF-8' ?>
    <wsdl:definitions name="Service"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
    <wsdl:portType name="execute_ptt">
    </wsdl:portType>
    <wsdl:portType name="callback_ptt">
    </wsdl:portType>
    <plnk:partnerLinkType name="execute_ptt">
    <plnk:role name="execute_pttProvider">
    <plnk:portType name="tns:execute_ptt"/>
    </plnk:role>
    </plnk:partnerLinkType>
    </wsdl:definitions>
    Example:
    WSDL that will deploy
    <?xml version= '1.0' encoding= 'UTF-8' ?>
    <wsdl:definitions name="Mediator1"
    targetNamespace="http://xmlns.oracle.com/EBS/PartnerLinkCompositeError/Mediator1"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:inp1="http://xmlns.oracle.com/singleString"
    xmlns:tns="http://xmlns.oracle.com/EBS/PartnerLinkCompositeError/Mediator1"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
    <wsdl:types>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:import namespace="http://xmlns.oracle.com/singleString"
    schemaLocation="xsd/singleString.xsd"/>
    </xsd:schema>
    </wsdl:types>
    <wsdl:message name="requestMessage">
    <wsdl:part name="request" element="inp1:singleString"/>
    </wsdl:message>
    <wsdl:message name="callbackMessage">
    <wsdl:part name="callback" element="inp1:singleString"/>
    </wsdl:message>
    <wsdl:portType name="execute_ptt">
    <wsdl:operation name="execute">
    <wsdl:input message="tns:requestMessage"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:portType name="callback_ptt">
    <wsdl:operation name="callback">
    <wsdl:input message="tns:callbackMessage"/>
    </wsdl:operation>
    </wsdl:portType>
    <plnk:partnerLinkType name="execute_ptt">
    <plnk:role name="execute_pttProvider">
    <plnk:portType name="tns:execute_ptt"/>
    </plnk:role>
    </plnk:partnerLinkType>
    </wsdl:definitions>
    Seems that Oracle JDeveloper WSDL designer has contribution to this issue since when trying to add a partner link from
    http://www.4shared.com/photo/7D4D4Elx/wsdl_designer.html?
    it creates the wsdl with the following configuration.
    http://www.4shared.com/photo/zb907pXN/wsdl_designer_2.html?
    Maybe will be fixed in next versions of JDeveloper. Until then, use this work suggested around.

  • Deploying my project with Netbeans 4.0

    Does anyone know how I do this? This is one of the pains of Java - no executable files.
    I can't even find a tutorial on how to deploy using Netbeans 4.0.
    Any suggestions?

    Your dead right, it can be a pain in the ass.
    Although, NetBeans IDE makes and places a JAR file of your project in the 'ProjectFolder/dist/' folder, which should run the project when double clicked.
    The problems with this can occur if your using image or sound files (known as resources within a jar file) see my post:
    http://forum.java.sun.com/thread.jspa?threadID=648553

  • Need Help Deploying Creator Project with Derby as Embedded

    HI,
    I have developed a web app using creator and the derby database instance that runs within creator. Now I want to war up the app and include the derby db as an embedded database. I have included the derby jar file in my lib directory and have created a new datasource with the derby embedded driver for testing. I cannot seem to get the db to run as embedded. My data source is setup as follows:
    dataSource name="DerbyTest3"
    driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
    url="jdbc:derby:../sample"
    validationQuery="select * from "
    username="dbadmin"
    password="7237EACC50DB74EF"
    />
    The sample database was copied from the creator source tree and inserted under WEB-INF
    When I try to connect I get the following error:
    Description: An unhandled exception occurred during the execution of the web application. Please review the following stack trace for more information regarding the error.
    Exception Details: org.apache.jasper.JasperException
    java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: Database '../sample' not found.
    Possible Source of Error:
    Class Name: org.apache.jasper.servlet.JspServletWrapper
    File Name: JspServletWrapper.java
    Method Name: service
    Line Number: 384
    any help greatly appreciated.
    gary
    Message was edited by:
    garff
    Message was edited by:
    garff

    One of our developers mentioned this, but it's also in the derby ref manual for the SQLException you're getting:
    http://db.apache.org/derby/docs/10.2/ref/rrefattrib26867.html
    sounds like you needed to append
    ;create=true
    to the JDBC Url...
    HTH,
    skj

  • Whenever I deploy project to OC4J server by JDeveloper, disk space reduced.

    Dear all,
    When I deploy the project to oc4j server (inside jdeveloper folder), my hard disk space reduce. As I need to develop applications and deploy it to the oc4j server constantly, the disk space reduce and reduce (5mb each time), but I don't know why the deployment consumed disk space whenever I deploy the project. In long run, all my disk space has been run out.
    Do you all know why it consumes disk space when I deploy using Jdeveloper? How could I release the space? Thank you.
    David

    Check your temp folders. JDeveloper has the tendency to leave some ear and war files lying around, certainly if you are working with webcenter projects and portlets. On my machine, I created a script that runs at login to reclaim some of that space:
    c:
    cd %TEMP%
    del *.* /f /q
    {code}
    Hope this helps,
    Jeroen van Veldhuizen                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Error while deploying project with external variables

    Hi,
    We are facing issue to deploy a project which contains external variables. In the process of publishing, we check true - Smart Publish. In the deployment process I get a screen where we define the Deployment Topology. On clicking Deploy button, the next screen we get an error which says:
    Error(s) found while creating external variables for the following engines: <Engine_Name>: Login failed for the user '<DB User>'.
    The DB User and the databases are created by the ALBPM Configuration wizard while configuring. We are able to login to SQL using the same userId and also can access the tables in the database. Also, we use the same DB userId for the Engine Databse too.
    We are using ALBPM Enterrpise 5.7 MP3
    WebLogic 9.2
    SQL Server 2005
    If anyone has resolved such issue earlier, we need your urgent help.
    Please suggest
    Thanks and Regards
    Jayant

    Hi,
    When you initially ran the wizard to create the Engine tables you used a user and password that had been granted CREATE table authority for Sql Server.
    When you publish and deploy a project with External Variables (project variables in 6.0), you are adding columns to one of the Engine's tables. When you get the error you're getting, this normally means that the database user you specified has not been granted ALTER privileges for the database tables.
    This should be pretty easy for your DBA to check out and fix. Once they do the GRANT, do the publish and deploy once again.
    Hope this helps,
    Dan

  • Deploy Business Component Project with 3.2

    I use the JDeveloper 3.2 to create a simple Buciness Component Project, with an application module, which contains only a table object(entity & view object). I follow the step of deplyment in the
    on-line help to deploy the project as an EJB session Bean for 8i, (set the application Module's remote mode to "EJB Session Bean", create the deployment profile, than deploy it.) However, I got a lot of error message with the following err-code. Where am I wrong? Please help me. Thank You...
    ORA-29521 referenced name string could not be found
    ORA-29534 referenced object string.string could not be resolved
    (I have successfully deploy a Business Component Project with JDeveloper 3.1.2 in another environment with the same Database schema. I have no idea why can't I deploy the project with
    3.2?)
    ERic

    fter granted Java2 permissions, the above problem was solved, however, I got the following error message
    when I deploy the business project:
    Loading EJB Jar file and Comm Stubs Jar file...
    Cannot locate the LoadJava server: Unknown reasons
    *** Errors occurred while deploying the EJB to 8i JVM ***
    can anyone help me?
    ERic

  • Custom Tag in race condition with OC4J v9.0.2.0.0...

    Hello all,
    (I tried deploying my application with OC4J 9.0.3 but none of my existing
    tags worked)
    I developed a OC4J web application implementing my own tag library extension
    and found out that there was occurring a race condition to the fact that two
    users (different sessions) where accessing the same
    tag at the same time. In the offending tag implementation I only have
    instance members and not static which could also cause a
    concurrent access problem.
    I found that OC4J was reusing concurrently the same
    Tag instance when it should not do that!!!
    public class pagesIteratorTag extends BodyTagSupport {
    // only instance class members...
    public void doInitBody() throws JspException {
    System.out.println("pageSetIteratorTag::doInitBody - Tag instance value: " + this.toString() + " for user: " + this.pageContext.getSession().getAttribute("j_username"));
    public int doAfterBody() throws JspException {           
    System.out.println("pageSetIteratorTag::doAfterBody - Tag instance value: " + this.toString() + " for user: " + this.pageContext.getSession().getAttribute("j_username"));
    Note the pagesIteratorTag@2e same instance is used when it should not
    1 because the tag instance should be protected from multiple concurrent
    access even though it can be pooled and reused if it is free.
    pageSetIteratorTag::doInitBody - Tag instance value: com.kdlabs.fogal.tagext.pagesIteratorTag@2e for user: Frank
    pageSetIteratorTag::doAfterBody - Tag instance value: com.kdlabs.fogal.tagext.pagesIteratorTag@2e for user: Frank
    pageSetIteratorTag::doInitBody - Tag instance value: com.kdlabs.fogal.tagext.pagesIteratorTag@2e for user: Giovanni
    pageSetIteratorTag::doAfterBody - Tag instance value: com.kdlabs.fogal.tagext.pagesIteratorTag@2e for user: Giovanni
    pageSetIteratorTag::doInitBody - Tag instance value: com.kdlabs.fogal.tagext.pagesIteratorTag@2e for user: Giovanni
    pageSetIteratorTag::doAfterBody - Tag instance value: com.kdlabs.fogal.tagext.pagesIteratorTag@2e for user: Giovanni
    Session for user Frank throws a null pointer exception because Giovanni's session
    started accessing the variable.
    Can anyone advise please?
    Best Regards,
    Giovanni

    First of all, you said none of your tags worked in 9.0.3. What happened? Did you do any debugging of the problem?
    Comparing the "toString()" output of your tag does not guarantee they are the same instance. That is just the output of "hashcode()", not the "pointer" to the object. The hashcode is generated from the contents of the object, not its "identity".
    I suggest you track the NPE in the debugger and get more information before you assume the container is at fault (which is still an outside possibility). SDK API Javadoc
    Object class:
    The general contract of hashCode is:
    1-. Whenever it is invoked on the same object more than once during an execution of a Java application, the hashCode method must consistently return the same integer, provided no information used in equals comparisons on the object is modified. This integer need not remain consistent from one execution of an application to another execution of the same application.
    So, the toString() is properly returning the suffix of the object instance
    number unique for that instance and is then being reused by OC4J even though
    it is being accessed from another session thread, that must not happen and it
    is not compliant with the JSP spec.
    The other history is that when I implemented my custom tags OC4J was JSP 1.1 compliant
    and not 1.2, so after moving to 1.2 the scripting variables can be defined in XML and
    by subclassing TagInfo class, the last option doesn't work with OC4J 9.0.3, not good...
    Thanks for your help,
    I will keep trying to figure out what the problem migth be,
    Best Regards,
    Giovanni

  • Deploying external tables with ombplus

    Hi,
    we try to deploy our projects with ombplus. The script breaks at the first external table when we do:
    OMBCREATE TRANSIENT DEPLOYMENT_ACTION_PLAN 'SVR_ET'
    foreach ext_tab [OMBLIST EXTERNAL_TABLES] {
    set exttab_path [concat $svr_modul$ext_tab]
    OMBALTER DEPLOYMENT_ACTION_PLAN 'SVR_ET' \
    ADD ACTION '$ext_tab' SET PROPERTIES (OPERATION) VALUES ('CREATE') \
    SET REFERENCE EXTERNAL_TABLE '$exttab_path'}
    OMBDEPLOY DEPLOYMENT_ACTION_PLAN 'SVR_ET'
    There is one external table that give an "VLD-0917" - error details are:
    java.lang.NullPointerException.
    Beforehand we did the Connectors with such a loop.
    Any ideas?
    Michael

    Hi Michael,
    Try to make it simple first time without a loop. When you have that fixed you try to do it with a loop.
    The example below, witout a loop, works for me.
    /JZ
    --First script deploy to file
    set OMBLOG {c:\tmp_jz\omb_logfile_deploy_test_to_file.log}
    OMBCONNECT owb_o/owb_o@localhost:1521:owbdb USE REPOSITORY 'owbdb'
    OMBCC 'DATAWAREHOUSE'
    OMBCONNECT CONTROL_CENTER owb_o/owb_o@localhost:1521:dw \
    USE REPOSITORY 'owb_o'
    OMBCREATE TRANSIENT DEPLOYMENT_ACTION_PLAN 'DEPLOY_TEST' \
    ADD ACTION 'ST_ET_TABELL' \
    SET PROPERTIES(OPERATION) VALUES ('CREATE') \
    SET REFERENCE EXTERNAL_TABLE '/DATAWAREHOUSE/TEST/ET_TABLE'
    OMBDEPLOY DEPLOYMENT_ACTION_PLAN 'DEPLOY_TEST' \
    AS SPECIFICATION TO 'c:\\tmp_jz\\deploy_test_to_file.xml'
    OMBDISCONNECT CONTROL_CENTER
    OMBDISCONNECT
    exit
    --Second script deploy from file to control center
    set OMBLOG {omb_logfile_deploy_test_to_cc.log}
    OMBCONNECT CONTROL_CENTER owb_ow/owb_o@localhost:dw \
    USE REPOSITORY 'owb_owner'
    OMBDEPLOY SPECIFICATION FROM 'deploy_test.xml'
    OMBDISCONNECT CONTROL_CENTER
    exit

  • Problem deploying project with External Resource Integration with jars

    Hi,
    Please help ur how we can deploy a project in Enterprise server if that is integrated to some application which needs weblogic.jar. If this jar is made vesionable then it shows a size problem. If that jar is added to Install Drivers (In the configuration screen of Server) it does not accept it and does not show error while deployment. But, the activity which is using that application is failed while execution.
    Kindly provide me help over this.
    Regards,
    Sarang

    What do you mean with a "size" problem? I've added weblogic.jar to the project (or any jar of that size) and it works fine. As rightcord mentioned, you can just put it in the classpath, but if you don't want to, you can still use it in your process.
    You just have to deploy in another way, meaning you don't have to use the exported project but you can upload it the lcoation of where the server is running and publish from there - I believe this is option 1 in the Process Administrator.
    Good luck!

  • Deploying a jsp with calls to CS Web Services to OC4J 10.1.2.0.2

    Hi
    My jsp (with CS webservices calls) works fine when deployed in the embedded oc4j that comes with jdev 10.1.2.0.0 but when I deploy the jsp to OC4J 10.1.2.0.2 with a preconfigured jpdk (available for download from otn at http://download.oracle.com/otndocs/tech/ias/portal/files/pdk101202_oc4j_extended.zip) I get the following error
    Any thoughts?
    500 Internal Server Error
    java.lang.IncompatibleClassChangeError     at org.apache.axis.message.MessageElement.addTextNode(MessageElement.java:1387)     at org.apache.axis.message.SOAPHandler.addTextNode(SOAPHandler.java:148)     at org.apache.axis.message.SOAPHandler.endElement(SOAPHandler.java:112)     at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)     at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1257)     at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:314)     at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:281)     at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:196)     at oracle.xml.jaxp.JXSAXParser.parse(JXSAXParser.java:288)     at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)     at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)     at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)     at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)     at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)     at org.apache.axis.client.Call.invokeEngine(Call.java:2765)     at org.apache.axis.client.Call.invoke(Call.java:2748)     at org.apache.axis.client.Call.invoke(Call.java:2424)     at org.apache.axis.client.Call.invoke(Call.java:2347)     at org.apache.axis.client.Call.invoke(Call.java:1804)     at oracle.ifs.fdk.RemoteLoginManagerSoapBindingStub.login(RemoteLoginManagerSoapBindingStub.java:242)     at oracle.ifs.examples.ws.WsConnection.login(WsConnection.java:210)     at oracle.ifs.examples.ws.WsConnection.login(WsConnection.java:132)     at oracle.ifs.examples.ws.SearchOperations.<init>(SearchOperations.java:106)     at htdocs.contentportlet._ContentPortletShowPage._jspService(_ContentPortletShowPage.java:51)     [SRC:/htdocs/contentportlet/ContentPortletShowPage.jsp:8]     at com.orionserver[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)     at java.lang.Thread.run(Thread.java:534)

    I have found the solution:
    The Content Services Libraries include a saaj-api.jar (for soap messages between the cs client java code and the server side webservices api).
    Unfortunately, the preconfigured oc4j container downloaded from otn included an older version of saaj.jar in its j2ee/home/applib directory, which of course was found before the cslib version according to the default order in which class paths are read.
    All I had to do was remove he saaj.jar from the oc4j/j2ee/home/applib directory so that content services could find its own (more upto date) version

Maybe you are looking for

  • The Web Dynpro Application 'PcrApplication' has expired.

    Hi, I am getting below error:- 500   Internal Server Error: The Web Dynpro Application 'PcrApplication' has expired. Please restart the application either with the refresh button or click the following link PcrApplication. Can anyone help me on this.

  • What are the advantages of Creative Cloud for a Virtual Team?

    Hi, I run The Virtual Works UK, we are a team of multi-skilled professionals who are remotely based in various locations across the UK. We collaborate heavily with our customers and provide services such as implementation of Customer Management Syste

  • Kernel 2.6.20-4 is not booting

    Good morning, after having updated the kernel26-package I assumed the problems I had beforehand would have been fixed, but it turned out to not even being able to boot my machine [log]. I can't figure out the problem when looking at the logs, but I t

  • Exporting master images WITH adjustments

    Hello, I have a simple question about exporting images. Let's say I have imported a bunch of raw images into my Aperture Library (but they are referenced files, located in the folder specified by me). Then I have worked on them. And now I want to bac

  • Confused about message downloading and sychronization

    I'm new to TB- in the past I have always used a simple web interface. My server is on an IMAP server (Dreamhost) I've read the "Configuration Options for Downloading Messages" page, but either don't understand it or it doesn't give enough details. I