Error - on using deployment procedures to patch a RAC cluster - 10.2.0.5

I am using EM grid control 10.2.0.5. Using the deployment procedures to patch to a target host ucmlab that is on server devorclrac001.yeoman.dev.
Here is the output log from the error. Any ideas. It appears to look like configuration missing.
Thank you
Output Log
Downloading the patches from My Oracle Support.
Building the runtime data for the deployment procedure ...
Processing Target "ucmlab.yeoman.dev" on Oracle Home "/opt/app/oracle/product/10.2.0/db_1", Host "devorclrac001.yeoman.dev":
For Target "ucmlab.yeoman.dev" patch will be applied to Oracle Home "/opt/app/oracle/product/10.2.0/db_1" on Host "devorclrac001.yeoman.dev".
Processing Target "ucmlab.yeoman.dev" on Oracle Home "/opt/app/oracle/product/10.2.0/db_1", Host "devorclrac002.yeoman.dev":
For Target "ucmlab.yeoman.dev" patch will be applied to Oracle Home "/opt/app/oracle/product/10.2.0/db_1" on Host "devorclrac002.yeoman.dev".
Target "ucmlab.yeoman.dev" has a non-shared Oracle Home.
Targets present in the Target List (Target Name, Host, Oracle Home):
ucmlab.yeoman.dev,devorclrac001.yeoman.dev,/opt/app/oracle/product/10.2.0/db_1
ucmlab.yeoman.dev,devorclrac002.yeoman.dev,/opt/app/oracle/product/10.2.0/db_1
Oracle Homes being patched (Host, Oracle Home):
devorclrac001.yeoman.dev,/opt/app/oracle/product/10.2.0/db_1
devorclrac002.yeoman.dev,/opt/app/oracle/product/10.2.0/db_1
Following Error(s) Occured :
Property "NodeName" is not found for target "devorclrac001.yeoman.dev" of type "host"
Property "NodeName" is not found for target "devorclrac002.yeoman.dev" of type "host"
CAUSE: Insufficient Configuration Properties for the target(s)
ACTION: Recompute the properties for the Agent with the target being in 'UP' status.
(i) Run the following commands on the Agent of the target:
$ emctl stop agent
$ emctl start agent
(ii) Run the following command: $ emctl reload agent dynamicproperties

I decided to uninstall the agent, remove the target from EM and reinstall. It appears to be a little better. I get a different error now with the "opatch upgrade" step.
I checked and OPATch_update job has already ran successfully once and software components have been downloaded once.
Command Arguments: expandPatch -oh /opt/app/oracle/product/10.2.0/db_1 -pa_stage_loc /opt/app/oracle/product/10.2.0/agent10g/EMStage -i 6880880 -f p6880880.zip, Current Dir: /home/oracle
Running: /opt/app/oracle/product/10.2.0/agent10g/sysman/admin/scripts/osm/ecmPatchDatabase.pl
Argument count: 9
Perl version: 5.008003
Hostname: devorclrac002.yeoman.dev
Operating system: linux
Time: Tue Jul 14 14:49:36 2009
Unpacking patch file p6880880.zip in /opt/app/oracle/product/10.2.0/agent10g/EMStage/6880880...
/opt/app/oracle/product/10.2.0/agent10g/bin/unzip -o p6880880.zip
Archive: p6880880.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of p6880880.zip or
p6880880.zip.zip, and cannot find p6880880.zip.ZIP, period.
---------- Error Message ----------
Error: 009
Could not unpack p6880880.zip
----------- End Message -----------
expandPatch failed

Similar Messages

  • Error by using database procedure in select statement

    hi ,
    I have built a database procedure having one parameter with in out varchar type. that return value with some addition.
    i am using it with some column in select statement only for display purpuses but i am facing error by doing that in select statement. that procedure is working well with bind variable but not with select statement.
    plz help me how i can use a procedure in select statement. or can i do it or not.

    plz help me how i can use a procedure in select statement. or can i do it or not.A workaround could be to create a wrapper function for your procedure. One that only passes the input parameters and returns the output parameter.
    The simply call this function in your select which internally calls the procedure.

  • Error trying to deploy a jsp application in a cluster

              Iam getting the following error when I tried deploy my jsp app. in a cluster with
              two servers(one administrative and one managed). I have no problem with the administrative
              server. But the managed server through this exception. The message saying web.xml
              is not found doesn't make much sense because
              1. The first server could find it.
              2. I could open the temporary war file created by weblogic and examined the web.xml
              file
              Could not find Web application "D:\bea\wlserver6.0\.\config\mydomain\applications\.wl_temp_do_not_delete_myserver2\wl_local_comp31497.war">
              java.io.FileNotFoundException: WEB-INF/web.xml XML file not found in jar file
                   at weblogic.servlet.internal.dd.DescriptorLoader.getInputSource(DescriptorLoader.java:206)
                   at weblogic.servlet.internal.dd.DescriptorLoader.<init>(DescriptorLoader.java:177)
                   at weblogic.servlet.internal.HttpServer.loadWARContext(HttpServer.java:468)
                   at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:421)
                   at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
                   at weblogic.j2ee.Application.addComponent(Application.java:126)
                   at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:115)
                   at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:283)
                   at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:109)
                   at weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:76)
                   at java.lang.reflect.Method.invoke(Native Method)
                   at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
                   at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
                   at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
                   at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
                   at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
                   at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
                   at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
                   at $Proxy22.addWebDeployment(Unknown Source)
                   at weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeployment(WebServerMBean_CachingStub.java:985)
                   at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:269)
                   at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:233)
                   at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:194)
                   at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:158)
                   at java.lang.reflect.Method.invoke(Native Method)
                   at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
                   at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
                   at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
                   at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
                   at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
                   at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
                   at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
                   at $Proxy0.updateDeployments(Unknown Source)
                   at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:2299)
                   at weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:240)
                   at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:122)
                   at java.lang.reflect.Method.invoke(Native Method)
                   at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
                   at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
                   at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
                   at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
                   at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
                   at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
                   at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
                   at $Proxy8.start(Unknown Source)
                   at weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(ApplicationManagerMBean_CachingStub.java:435)
                   at weblogic.management.Admin.startApplicationManager(Admin.java:1030)
                   at weblogic.management.Admin.finish(Admin.java:491)
                   at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:429)
                   at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:170)
                   at weblogic.Server.main(Server.java:35)
              Any ideas ?
              Thanks,
              Ravi
              

              Ravi wrote:
              > Hello Viresh,
              >
              > The application Iam trying to deploy is not in the ear form. It is in the exploded
              > form. It works fine on the administrative server where it is physically located.
              > The problem is only with the second server. I have noticed that the entire directory
              > on the application is being compressed to a .war file and uploaded to the other
              > server in the cluster.
              That's true. Several customers have asked to keep the deployment in it's original form instead of compressing
              it in .war file. Currently there's a known issue with engg.
              > I even examined the WEB-INF/web.xml file it is complaining
              > about. But I couldn't find any error. This doesn't happen with the sample applications
              > that came with weblogic.
              I followed the sequence you described and tried to deploy the webapp on managed servers. I do not get the errors
              that you are seeing below. Could you tell us how are you deploying the webapp on managed server?
              Also would you mind sending your webapp? i will see if i can deploy your webapp in my environment..
              BTW, is this with SP1 or without SP1?
              Kumar
              >
              >
              > Thank you for your post,
              > Ravi.
              >
              > Viresh Garg <[email protected]> wrote:
              > >
              > >Ravi:
              > >A few questions:
              > >1. Are you trying to deploy an archive or an exploaded application.
              > >2. Are you trying to deploy a web application as an enterprise application
              > >of the WAR file part of an enterprise archive(.ear)?
              > >3. Are you deploying the application from applications directory, if
              > >Yes, remove it from applications directory, create a new web application
              > >in any other directory, define the correct application/component Admin
              > >mbeans and then choose targets ( you can do it via console too) and
              > >see
              > >if you run into same problems
              > >
              > >Thanks
              > >Viresh Garg
              > >Principal Developer Relations Engineer
              > >BEA Systems
              > >Ravi wrote:
              > >
              > >> Iam getting the following error when I tried deploy my jsp app. in
              > >a cluster with
              > >> two servers(one administrative and one managed). I have no problem
              > >with the administrative
              > >> server. But the managed server through this exception. The message
              > >saying web.xml
              > >> is not found doesn't make much sense because
              > >> 1. The first server could find it.
              > >> 2. I could open the temporary war file created by weblogic and examined
              > >the web.xml
              > >> file
              > >>
              > >> Could not find Web application "D:\bea\wlserver6.0\.\config\mydomain\applications\.wl_temp_do_not_delete_myserver2\wl_local_comp31497.war">
              > >>
              > >> java.io.FileNotFoundException: WEB-INF/web.xml XML file not found in
              > >jar file
              > >> at weblogic.servlet.internal.dd.DescriptorLoader.getInputSource(DescriptorLoader.java:206)
              > >> at weblogic.servlet.internal.dd.DescriptorLoader.<init>(DescriptorLoader.java:177)
              > >> at weblogic.servlet.internal.HttpServer.loadWARContext(HttpServer.java:468)
              > >> at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:421)
              > >> at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
              > >> at weblogic.j2ee.Application.addComponent(Application.java:126)
              > >> at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:115)
              > >> at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:283)
              > >> at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:109)
              > >> at weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:76)
              > >> at java.lang.reflect.Method.invoke(Native Method)
              > >> at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
              > >> at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
              > >> at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
              > >> at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
              > >> at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
              > >> at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
              > >> at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
              > >> at $Proxy22.addWebDeployment(Unknown Source)
              > >> at weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeployment(WebServerMBean_CachingStub.java:985)
              > >> at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:269)
              > >> at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:233)
              > >> at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:194)
              > >> at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:158)
              > >> at java.lang.reflect.Method.invoke(Native Method)
              > >> at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
              > >> at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
              > >> at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
              > >> at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
              > >> at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
              > >> at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
              > >> at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
              > >> at $Proxy0.updateDeployments(Unknown Source)
              > >> at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:2299)
              > >> at weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:240)
              > >> at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:122)
              > >> at java.lang.reflect.Method.invoke(Native Method)
              > >> at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
              > >> at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
              > >> at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
              > >> at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
              > >> at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
              > >> at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
              > >> at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
              > >> at $Proxy8.start(Unknown Source)
              > >> at weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(ApplicationManagerMBean_CachingStub.java:435)
              > >> at weblogic.management.Admin.startApplicationManager(Admin.java:1030)
              > >> at weblogic.management.Admin.finish(Admin.java:491)
              > >> at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:429)
              > >> at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:170)
              > >> at weblogic.Server.main(Server.java:35)
              > >>
              > >> Any ideas ?
              > >> Thanks,
              > >> Ravi
              > >
              

  • Error in using external procedure in PL/SQL Block

    After setting up the configuration : Respective entries in
    tnsnames.ora
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (CONNECT_DATA = (SID = PLSExtProc)(SERVER=DEDICATED))
    and listner.ora :
    (SID_LIST = (SID_DESC = (GLOBAL_DBNAME = mymachine )(SID_NAME = mysid)) (SID_DESC = (GLOBAL_DBNAME = mymachine )(SID_NAME = myid1))
    (SID_DESC = (GLOBAL_DBNAME = mymachine )(SID_NAME = myid2))
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /oracle9i)
    (PROGRAM = extproc)
    (ENVS="EXTPROC_DLLS = ANY" // Added this entry
    (SID_DESC =
    (GLOBAL_DBNAME = oracle9i)
    (ORACLE_HOME = /oracle9i)
    (SID_NAME = oracle9i)
    (ENVS="EXTPROC_DLLS= ANY") // Added this entry
    Wrote the program as :
    ===========================================================
    #include <stdio.h>
    #include<stdlib.h>
    void sh(char *command) {
    int num;
    num = system(command);
    ===========================================================
    Compiled the file (above ) shell.c as :
    gcc -c shell.c
    Made the library as :
    ld -r -o shell.so shell.o
    chmod 777shell.so
    copied the file to respective Home directories. Made one link to /usr/lib :
    which is in LD_LIBRARY_PATH
    created the Library as :
    CREATE OR REPLACE PROCEDURE shell(command IN char)
    AS EXTERNAL
    NAME "sh"
    LIBRARY shell_lib
    LANGUAGE C
    PARAMETERS (command string);
    So my problem is
    when executing the procedure from SQL prompt:
    SQL> exec shell('any command');
    it throws the following errors :
    BEGIN shell('ls'); END;
    ERROR at line 1:
    ORA-06520: PL/SQL: Error loading external library
    ORA-06522: /opt/sotas/bin/shell.so: only ET_DYN and ET_EXEC can be loaded
    ORA-06512: at "CDR_ADMIN.SHELL", line 0
    ORA-06512: at line 1
    Any help or suggestions would be appreciated
    Thanks in advance......
    Made one Link to /usr/lib

    Nikolai,
    I have created a simple process flow which only calls the external process. The script is on the same host as the process flow is deployed to.
    I have used two diffent values for the command parameter.
    1. I placed the full path of the file in the command parameter and left the script parameter blank:
    COMMAND: /edwftp/ppas/scripts/ClearPPAS.sh
    PARAMETER_LIST:
    SUCCESS_THRESHOLD: 0
    SCRIPT:
    2.I placed the bash command in the command parameter and the full path in the script parameter.
    COMMAND: /usr/bin/sh
    PARAMETER_LIST:
    SUCCESS_THRESHOLD: 0
    SCRIPT: /edwftp/ppas/scripts/ClearPPAS.sh
    Both of these appear to work as they print out the statements inside the script but the files that are supposed to be removed still remain.
    Starting Execution EXTER_FILE
    Starting Task EXTER_FILE
    Starting Task EXTER_FILE:EXTERNALPROCESS
    Removing ActivatedAudit.dat...
    Removing ActivatedCustomers.dat...
    Removing ActiveAudit.dat...
    Removing ActiveCustomers.dat...
    Done!
    Create the Activated Customers data file...
    Create the Active Customers data file...
    Done!
    WARNING: Log file truncated - see RAB for further information.
    /edwftp/ppas/scripts/ActivatedCustomers.sh: /edwftp/ppas/log/ActivatedCustomers.log: cannot create
    /edwftp/ppas/scripts/ActiveCustomers.sh: /edwftp/ppas/log/ActiveCustomers.log: cannot create
    WARNING: Log file truncated - see RAB for further information.
    Completing Task EXTER_FILE:EXTERNALPROCESS
    Completing Task EXTER_FILE
    Completing Execution EXTER_FILE
    The permissions on the /log direcotry are 775. The user I register the file location with owns this directory.
    Can't think of anything else I have missed. I really appreciate your help :)
    Ryan

  • Getting Error while using UTL_MAIL procedure

    Hi All,
    I have written a simple PL/SQL block in which I call the UTL_MAIL.SEND procedure:
    DECLARE
    vSender varchar2(100);
    vReceiver varchar2(100);
    vSubj varchar2(100);
    vMesg varchar2(100);
    vMType varchar2(100);
    BEGIN
    vSender := '[email protected]';
    vReceiver := '[email protected]';
    vSubj := 'Test Email';
    vMesg := 'This is a test email';
    vMtype := 'text/plain; charset=us-ascii';
    utl_mail.send(vSender, vReceiver, NULL, NULL, vSubj,vMesg, vMType, NULL);
    END;
    When I execute the code, I get the following error message:
    ORA-29261: bad argument
    ORA-06512: at "SYS.UTL_TCP", line 17
    ORA-06512: at "SYS.UTL_TCP", line 246
    ORA-06512: at "SYS.UTL_SMTP", line 115
    ORA-06512: at "SYS.UTL_SMTP", line 138
    ORA-06512: at "SYS.UTL_MAIL", line 386
    ORA-06512: at "SYS.UTL_MAIL", line 599
    ORA-06512: at line 15
    29261. 00000 - "bad argument"
    *Cause:    A bad argument was passed to the PL/SQL API.
    *Action:   Check the arguments passed to the PL/SQL API and retry the call.
    Could anyone tell me where I am going wrong?
    Regards,
    AJ

    user11256160 wrote:
    Could anyone tell me where I am going wrong?Code is fine. Parameter defining the SMTP server is missing.
    You need to define it (using a SYSDBA account) as follows:
    SQL> alter system set smtp_out_server='<your-smtp-server>' scope=both;Replace +<your-smtp-server>+ with the IP address or host name of your SMTP server. Also this assumes standard SMTP tcp/25 port is used. If not, add the port number (using a colon separator) to the server name.

  • UTL_HTTP working in SQL Query, error when used in procedure

    Hi,
    We are trying to call web service from stored procedure .
    When we run the utl_http.request independently in a query its working fine but when we put that in a stored procedure we are unable to connect. Getting HTTP request failed error.
    select utl_http.request("SSL_URL",
                            null,
                            "Wallet Details",
                            'password')
    from dual;
    But the same query if we put into procedure getting the error as below,
    ORA-29273: HTTP request failed
    ORA-06512: at "SYS.UTL_HTTP", line 1722
    ORA-28860: Fatal SSL error
    All the parameters are set properly w.r.t ACL and Oracle Wallet for SSL .
    grant execute on UTL_HTTP to &&SCHEMA_NAME;
    --Step1 grant on UTL_HTTP package to schema
    grant execute on UTL_HTTP to &&SCHEMA_NAME;
    Created ACL using the below scripts.
    begin
    dbms_network_acl_admin.create_acl (
    acl => 'utlpkg.xml',
    description => 'Normal Access',
    principal => 'CONNECT',
    is_grant => TRUE,
    privilege => 'connect',
    start_date => null,
    end_date => null
    end;
    begin
    dbms_network_acl_admin.assign_acl (
    acl => 'utlpkg.xml',
    host => '*',
    lower_port => 1,
    upper_port => 35000);
    end;
    begin
    dbms_network_acl_admin.add_privilege (
    acl => 'utlpkg.xml',
    principal => '&&SCHEMA_NAME',
    is_grant => TRUE,
    privilege => 'connect',
    start_date => null,
    end_date => null);
    end;
    Thanks in advance for the help!!!!!!!

    Any responses? Thanks.

  • Get Error on using Stored Procedure to use it in Crystal Reports XI

    Post Author: Krüger
    CA Forum: Integrated Solutions
    Hello, I need your help please. I use Oracle 10 and now write a correct compiled stored procedure: this procedure is really simple how you can see:set pagesize 50000set linesize 1000set wrap offset head offset feedback offset trimspool onset serveroutput onset verify offcreate or replace procedure GetFirmenNachMontag is  lutype varchar2(10);BEGINDECLAREbegin lutype:='Test';  dbms_output.put_line(lutype);END;END; In using in sql directly it is really all fine. But when I want to integrat it in a simple report in Crystal I get the error unknow databank connector error. I hope that somebody can help me please. With best regardsM.Krüger 

    If you are using MSSQL SERVER then try creating a stored procedure like this
    create proc Name
    select * from Table
    by executing this in sql query analyzer will create a stored procedure that returns all the data from Table
    here is the syntax to create SP
    Syntax
    CREATE PROC [ EDURE ] procedure_name [ ; number ]
        [ { @parameter data_type }
            [ VARYING ] [ = default ] [ OUTPUT ]
        ] [ ,...n ]
    [ WITH
        { RECOMPILE | ENCRYPTION | RECOMPILE , ENCRYPTION } ]
    [ FOR REPLICATION ]
    AS sql_statement [ ...n ]
    Now Create new report and create new connection to your database and select stored procedure and add it to the report that shows all the columns and you can place the required fields in the report and refresh the report.
    Regards,
    Raghavendra
    Edited by: Raghavendra Gadhamsetty on Jun 11, 2009 1:45 AM

  • Getting parsing error while using Deploy Manager

    Hello,
    I am trying to deploy our EAR file using deploymanager script. My EAR file is correctly packaged, I have also verified the java path and the xml and DTD structure. I am getting the following errors:
    /DeployManager deploy-manager-config.xml
    java.lang.NullPointerException
            at java.io.File.<init>(File.java:203)
            at com.sap.engine.deploy.manager.DeployConfigDocument.getAbsolutePath(DeployConfigDocument.java:990)
            at com.sap.engine.deploy.manager.DeployConfigDocument.getInfoFromElement(DeployConfigDocument.java:1871)
            at com.sap.engine.deploy.manager.DeployConfigDocument.initEarFile(DeployConfigDocument.java:398)
            at com.sap.engine.deploy.manager.DeployConfigDocument.initDeployableObject(DeployConfigDocument.java:1792)
            at com.sap.engine.deploy.manager.DeployConfigDocument.loadFieldsFromDocument(DeployConfigDocument.java:1496)
            at com.sap.engine.deploy.manager.DeployManagerImpl.parseXML(DeployManagerImpl.java:1866)
            at com.sap.engine.deploy.manager.DeployManagerImpl.<init>(DeployManagerImpl.java:169)
            at com.sap.engine.deploy.manager.DeployManagerImpl.main(DeployManagerImpl.java:3058)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
            at java.lang.reflect.Method.invoke(Method.java:391)
            at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    java.io.IOException: Cannot parse Deploy Manager XML file java.lang.NullPointerException
            at com.sap.engine.deploy.manager.DeployManagerImpl.parseXML(DeployManagerImpl.java:1947)
            at com.sap.engine.deploy.manager.DeployManagerImpl.<init>(DeployManagerImpl.java:169)
            at com.sap.engine.deploy.manager.DeployManagerImpl.main(DeployManagerImpl.java:3058)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
            at java.lang.reflect.Method.invoke(Method.java:391)
            at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    com.sap.engine.deploy.manager.DeployManagerException: Cannot parse Deploy Manager XML file java.io.IOException: Cannot parse Deploy Manager XML file java.lang.NullPointerException
            at com.sap.engine.deploy.manager.DeployManagerImpl.<init>(DeployManagerImpl.java:178)
            at com.sap.engine.deploy.manager.DeployManagerImpl.main(DeployManagerImpl.java:3058)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
            at java.lang.reflect.Method.invoke(Method.java:391)
            at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    NOT Deployed ! :
    com.sap.engine.deploy.manager.DeployManagerException: Cannot parse Deploy Manager XML file java.io.IOException: Cannot parse Deploy Manager XML file java.lang.NullPointerException
    Can anyone please help?
    Thanks,
    Sumod

    The error is because the deploy-manager-config.xml  is  noy found in the classpath . please put the folder where  deploy-manager-config.xml  is placed in classpath .
    It would be helpful , if you use it using ant scripts.
    please have look at this pdf where it shows an example on how to deploy .also it very easy to do....
    link to PDF
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1ca44e78-0801-0010-fa9d-a760d921b12f
    Hope this helps , please mark full points for helpful answers
    regards
    rajesh kr

  • Error when use stored procedure in Named Query and Custom SQL

    This is a toplink development on Jdev 1013. A package with a function is created which returns a "ref cursor" in a oracle 9i database. I tried to access the function in jdev toplink descriptor editor either through custom sql (Readall) or a named query (procedureTest) and I got java.sql.SQLException: SQL string is not Query. Note: I am NOT talking about programatic storedprocedurecall object.
    The client access code is following (where error was thrown):
    results = (Collection) session.executeQuery("procedureTest", WuTest.class);

    Any responses? Thanks.

  • Error while using UTL_FILE

    I am getting the following error while using UTL_FILE procedure while using UTL_FILE.FOPEN procedure
    from system account. I am using Windows XP with NTFS.
    SQL> create or replace directory FILE_DIR as 'C:\'
    2 /
    Directory created.
    SQL> grant read on directory FILE_DIR to public;
    Grant succeeded.
    1 create or replace PROCEDURE file_upload IS
    2 v_file_name VARCHAR2(200);
    3 v_file_type UTL_FILE.FILE_TYPE;
    4 v_line VARCHAR2(1000);
    5 BEGIN
    6 v_file_name := 'customers_'||TO_CHAR(SYSDATE,'dd')||TO_CHAR(SYSDATE,'MON')||TO_CHAR(SYSDATE,'YYYY')||'.txt';
    7 v_file_type := UTL_FILE.FOPEN('FILE_DIR','V_FILE_NAME','r',1000);
    8 UTL_FILE.GET_LINE(v_file_type,V_LINE,1000);
    9 UTL_FILE.FCLOSE(v_file_type);
    10 DBMS_OUTPUT.PUT_LINE(V_LINE);
    11* END;
    SQL> exec file_upload;
    BEGIN file_upload; END;
    ERROR at line 1:
    ORA-29283: invalid file operation
    ORA-06512: at "SYS.UTL_FILE", line 475
    ORA-29283: invalid file operation
    ORA-06512: at "SYSTEM.FILE_UPLOAD", line 7
    ORA-06512: at line 1
    I appreciate if someone can help me in this regard.
    Thanks in Advance.
    Regards
    Muhammad ALi

    Hello,
    What exactly are you trying to do? Here I got 2 examples for you , replace with your directory name and pick right option for 'a' (append) or 'w' (write) or 'R' (read).
    To read from a directory_ . This will read an existing file 'customer.txt" from the directory
    {code}
    CREATE OR REPLACE PROCEDURE .file_upload
    IS
    v_file_name VARCHAR2 (200);
    v_file_type UTL_FILE.file_type;
    v_line VARCHAR2 (1000);
    BEGIN
    v_file_name := 'customers.txt';
    v_file_type := UTL_FILE.fopen ('EXT_TABLES', v_file_name, 'R');
    UTL_FILE.get_line (v_file_type, v_line); -- Error was here
    DBMS_OUTPUT.put_line (v_line);
    UTL_FILE.fclose (v_file_type);
    END;
    {code}
    _*To open a file*_ This will create customer_XXXXX file under the directory
    {code}
    CREATE OR REPLACE PROCEDURE testme.file_upload
    IS
    v_file_name VARCHAR2 (200);
    v_file_type UTL_FILE.file_type;
    v_line VARCHAR2 (1000);
    BEGIN
    v_file_name := 'customers_'
    || TO_CHAR (SYSDATE, 'dd')
    || TO_CHAR (SYSDATE, 'MON')
    || TO_CHAR (SYSDATE, 'YYYY')
    || '.txt';
    v_file_type := UTL_FILE.fopen ('EXT_TABLES', v_file_name, 'a');
    UTL_FILE.put_line (v_file_type, v_line);
    DBMS_OUTPUT.put_line (v_line);
    UTL_FILE.fclose (v_file_type);
    END;
    {code}
    Regards
    Edited by: OrionNet on Jan 29, 2009 12:30 AM

  • Error during application deployment in cluster

    Hi All,
              I am seeing a weird error when I deploy my application in 2 node cluster. Few months back, the same cluster worked perfectly alright. The error relates to lookup at localhost:7001 which is no where in the configuration as admin server url is http://srai-xp:7001. I created a new domain and see the same problem.
              Any pointers are greatly appreciated.
              Thanks
              --shashi
              Here is the error log:
              D:\apps\bea\user_projects\domains\nclusterdomain>startManagedWebLogic.cmd NodeSR http://srai-xp:7001
              D:\apps\bea\user_projects\domains\nclusterdomain>echo off
              CLASSPATH=CR190380_81sp3.jar;D:\apps\bea\user_projects\domains\nclusterdomain\lib\jax-qname.jar;;D:\apps\bea\user_projects\domains\nclusterdomain\li
              jsafe.jar;;D:\apps\bea\user_projects\domains\nclusterdomain\lib\jsafejce.jar;;D:\apps\bea\user_projects\domains\nclusterdomain\lib\asn1.jar;;C:\j2sd
              .4.2_04\lib\tools.jar;d:\apps\bea\WEBLOG~1\server\lib\weblogic_sp.jar;d:\apps\bea\WEBLOG~1\server\lib\weblogic.jar;d:\apps\bea\WEBLOG~1\common\eval\
              intbase\lib\pbserver44.jar;d:\apps\bea\WEBLOG~1\common\eval\pointbase\lib\pbclient44.jar;C:\j2sdk1.4.2_04\jre\lib\rt.jar;d:\apps\bea\WEBLOG~1\server\lib\webservices.jar;D:\apps\bea\user_projects\domains\nclusterdomain\lib;;D:\apps\bea\user_projects\domains\nclusterdomain\lib\jcsi_base.jar;;D:\apps\bea\user_projects\domains\nclusterdomain\lib\jcsi_jce.jar;;D:\apps\bea\user_projects\domains\nclusterdomain\lib\jcsi_krb.jar;;D:\apps\bea\user_projects\domains\nclusterdomain\lib\jcsi_krb_jaas.jar;;D:\apps\bea\user_projects\domains\nclusterdomain\lib\jcsi_license.jar;;D:\apps\bea\user_projects\domains\nclusterdomain\lib\jcsi_provider.jar;D:\apps\bea\user_projects\domains\nclusterdomain\lib\mysql-connector-java.jar;;D:\apps\bea\user_projects\domains\nclusterdomain\lib\nls_charset12.jar;;D:\apps\bea\user_projects\domains\nclusterdomain\lib\ojdbc14.jar;
              * 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 *
              <Mar 17, 2005 4:19:27 PM PST> <Info> <Security> <BEA-090065> <Getting boot identity from user.>
              Enter username to boot WebLogic server:weblogic
              Enter password to boot WebLogic server:
              <Mar 17, 2005 4:21:22 PM PST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Server VM Version 1.4.2_04-b05 fr
              Sun Microsystems Inc.>
              <Mar 17, 2005 4:21:22 PM PST> <Info> <Management> <BEA-141140> <The managed server is going to contact the admin server at http://srai-xp:7001 to ch
              k if there exists a running admin server at this URL.>
              <Mar 17, 2005 4:21:22 PM PST> <Info> <Configuration Management> <BEA-150017> <This server is being started as a dependent managed server.>
              <Mar 17, 2005 4:21:22 PM PST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 8.1 SP3 Tue Jun 29 23:11:19 PDT 2004 404973
              WebLogic XMLX Module 8.1 SP3 Tue Jun 29 23:11:19 PDT 2004 404973 >
              <Mar 17, 2005 4:21:22 PM PST> <Info> <Configuration Management> <BEA-150015> <Connecting to the administration server http://srai-xp:7001 to retriev
              the initial configuration.>
              <Mar 17, 2005 4:21:25 PM PST> <Notice> <Log Management> <BEA-170019> <The server log file D:\apps\bea\user_projects\domains\nclusterdomain\NodeSR\No
              SR.log is opened. All server side log events will be written to this file.>
              <Mar 17, 2005 4:21:30 PM PST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
              <Mar 17, 2005 4:21:30 PM PST> <Notice> <WebLogicServer> <BEA-000328> <Starting WebLogic Managed Server "NodeSR" for domain "nclusterdomain">
              <Mar 17, 2005 4:21:35 PM PST> <Notice> <Cluster> <BEA-000138> <Listening for announcements from cluster XCluster on 237.0.0.101:8050.>
              <Mar 17, 2005 4:21:35 PM PST> <Notice> <Cluster> <BEA-000133> <Waiting to synchronize with other running members of XCluster.>
              <Mar 17, 2005 4:22:08 PM PST> <Notice> <WebLogicServer> <BEA-000355> <Thread "ListenThread.Default" listening on port 8001, ip address 153.32.158.12
              <Mar 17, 2005 4:22:08 PM PST> <Notice> <Cluster> <BEA-000102> <Joining cluster XCluster on 237.0.0.101:8050>
              <Mar 17, 2005 4:22:08 PM PST> <Notice> <WebLogicServer> <BEA-000330> <Started WebLogic Managed Server "NodeSR" for domain "nclusterdomain" running i
              Production Mode>
              <Mar 17, 2005 4:22:08 PM PST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
              <Mar 17, 2005 4:23:33 PM PST> <Warning> <HTTP> <BEA-101247> <Application: 'C:\Temp\edc-server.ear', Module: 'help_de': Public ID references the old
              rsion of the Servlet DTD. You must change the public ID in web.xml file to "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN".>
              <Mar 17, 2005 4:23:33 PM PST> <Warning> <HTTP> <BEA-101247> <Application: 'C:\Temp\edc-server.ear', Module: 'help_fr': Public ID references the old
              rsion of the Servlet DTD. You must change the public ID in web.xml file to "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN".>
              <Mar 17, 2005 4:23:33 PM PST> <Warning> <HTTP> <BEA-101247> <Application: 'C:\Temp\edc-server.ear', Module: 'help_ja': Public ID references the old
              rsion of the Servlet DTD. You must change the public ID in web.xml file to "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN".>
              <Mar 17, 2005 4:23:35 PM PST> <Warning> <J2EE> <BEA-160081> <The JMS connection factory resource EDCEventQCF declared in the EJB "EventManagerBean"
              part of application "edc-server" does not support XA. It cannot be used inside a transaction context.>
              javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://localhost:7001: Destination unreachable; nested exception is:
                      java.net.ConnectException: Connection refused: connect; No available router to destination]
              at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:47)
              at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:618)
              at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:306)
              at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:239)
              at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:135)
              at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
              at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
              at javax.naming.InitialContext.init(InitialContext.java:219)
              at javax.naming.InitialContext.<init>(InitialContext.java:175)
              at weblogic.deployment.EnvironmentBuilder.findObject(EnvironmentBuilder.java:768)
              at weblogic.deployment.EnvironmentBuilder.findObjectOrCreateLinkRef(EnvironmentBuilder.java:759)
              at weblogic.deployment.EnvironmentBuilder.addUserTransaction(EnvironmentBuilder.java:555)
              at weblogic.deployment.EnvironmentBuilder.<init>(EnvironmentBuilder.java:94)
              at weblogic.servlet.internal.CompEnv.<init>(CompEnv.java:80)
              at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContext.java:565)
              at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:489)
              at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:634)
              at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:632)
              at weblogic.j2ee.J2EEApplicationContainer.prepareWebModule(J2EEApplicationContainer.java:3150)
              at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1558)
              at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1208)
              at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1051)
              at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2444)
              at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2394)
              at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2310)
              at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:866)
              at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:594)
              at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:508)
              at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
              Caused by: java.net.ConnectException: t3://localhost:7001: Destination unreachable; nested exception is:
              java.net.ConnectException: Connection refused: connect; No available router to destination
              at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:199)
              at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:125)
              at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:296)
              ... 28 more
              --------------- nested within: ------------------
              weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Unable to create InitialContext ] - with nested exception:
              [javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://localhost:7001: Destination unreachable; nested exception is
                      java.net.ConnectException: Connection refused: connect; No available router to destination]]
              at weblogic.deployment.EnvironmentBuilder.findObject(EnvironmentBuilder.java:770)
              at weblogic.deployment.EnvironmentBuilder.findObjectOrCreateLinkRef(EnvironmentBuilder.java:759)
              at weblogic.deployment.EnvironmentBuilder.addUserTransaction(EnvironmentBuilder.java:555)
              at weblogic.deployment.EnvironmentBuilder.<init>(EnvironmentBuilder.java:94)
              at weblogic.servlet.internal.CompEnv.<init>(CompEnv.java:80)
              at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContext.java:565)
              at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:489)
              at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:634)
              at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:632)
              at weblogic.j2ee.J2EEApplicationContainer.prepareWebModule(J2EEApplicationContainer.java:3150)
              at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1558)
              at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1208)
              at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1051)
              at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2444)
              at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2394)
              at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2310)
              at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:866)
              at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:594)
              at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:508)
              at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
              <Mar 17, 2005 4:23:40 PM PST> <Error> <Deployer> <BEA-149201> <Failed to complete the deployment task with ID 0 for the application edc-server.
              java.net.ConnectException: t3://localhost:7001: Destination unreachable; nested exception is:
              java.net.ConnectException: Connection refused: connect; No available router to destination
              at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:199)
              at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:125)
              at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:296)
              at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:239)
              at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:135)
              at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
              at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
              at javax.naming.InitialContext.init(InitialContext.java:219)
              at javax.naming.InitialContext.<init>(InitialContext.java:175)
              at weblogic.deployment.EnvironmentBuilder.findObject(EnvironmentBuilder.java:768)
              at weblogic.deployment.EnvironmentBuilder.findObjectOrCreateLinkRef(EnvironmentBuilder.java:759)
              at weblogic.deployment.EnvironmentBuilder.addUserTransaction(EnvironmentBuilder.java:555)
              at weblogic.deployment.EnvironmentBuilder.<init>(EnvironmentBuilder.java:94)
              at weblogic.servlet.internal.CompEnv.<init>(CompEnv.java:80)
              at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContext.java:565)
              at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:489)
              at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:634)
              at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:632)
              at weblogic.j2ee.J2EEApplicationContainer.prepareWebModule(J2EEApplicationContainer.java:3150)
              at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1558)
              at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1208)
              at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1051)
              at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2444)
              at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2394)
              at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2310)
              at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:866)
              at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:594)
              at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:508)
              at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
              --------------- nested within: ------------------
              weblogic.management.ManagementException: - with nested exception:
              [java.net.ConnectException: t3://localhost:7001: Destination unreachable; nested exception is:
                      java.net.ConnectException: Connection refused: connect; No available router to destination]
              at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2327)
              at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:866)
              at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:594)
              at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:508)
              at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
              >

    I checked all deployment descriptions and there are no references to t3://localhost:7001. Few months back, I had the complete clustering setup working on 2 machines and now when I deploy my application on same configuration, it fails with t3://localhost:7001 unreachable error. I created a new cluster configuration on one machine with 2 managed server and it deploys fine. Can not figure out what has changed ?

  • Customizing a Create Database Deployment Procedure Error

    I'm trying to set up a DbaaS, as it's part of the training I'm undergoing in Oracle in Caracas, Venezuela.
    In a topic, of the same title, I was asked to "please post your questions to internal forum. Please check out http://em.us.oracle.com/pls/htmldb/f?p=120:266:88354713473366::NO:::" because "It appears that you are an Oracle employee" and shortly after, my thread was closed, I am not a Oracle Employee, I do not have access to this internal forum, my supervisor has, not me, and my supervisor has denied my plea to get this issue posted on the internal forums or MOS, mostly because its just training and it has nothing to do with a client, I'd appreciate feedback instead of offtopic comments, getting my thread closed will certainly not get me any answers.
    I've managed to set up my zone, install the software, configure it and everything is running smoothly, until now. I've been following this cookbook and the information on the documentation for EM12c and I ran across this little issue which, seems like, no one in the office seems to have ever gotten (makes sense, considering I'm the only one who's actually managed to install the EM12 in the laboratory, and the only one who was assigned with the DbaaS). Running on a Solaris 11 SPARC zone.
    If you check the page 22 on the cookbook (linked above) I have to launch the "Create Oracle Database" deployment procedure, after this, the wizard asks me to select the version (11.0.2.1.0) and lock it, also have to tell the wizards its a single instance, after this I select the host and the ORACLE_HOME where the db files are installed. Once I do that and try to go for NEXT, I get the following error:
    User "oracle" is not the owner of Oracle Home "/oracle/app/oracle/product/11.2.0/dbhome_1" on target "dbaas"
    and I'm not able to continue setting up my DbaaS. One of the trainees thought it was a good idea to, from /, use chown -R /oracle oracle:oinstall to see if that would fix the error, sadly he was mistaken, after this, the wizard told me I had to run the root.sh from the Agent Home, there are 3 folders that must be owned by root and once I ran the root.sh I still got the same error. I have no idea if there are any logs I can check about this, if they are needed, It'd be nice of you to tell me where I can find them.
    Another thing I tried, was using the Create Like... option, make a copy of the "Create Oracle Database" and edit the error handling in the procedure steps by selecting Continue On Error, but I can't. Trying to select Continue On Error justs brings Stop On Error again.
    I also had this problem before:
    Can't locate db/dbclone/clone_util.pl in @INC (@INC contains: /u01/app/oracle/product/12.1.0.1/agent/core/12.1.0.1.0/perl/lib/5.10.0/x86_64-linux-thread-multi /u01/app/oracle/product/12.1.0.1/agent/core/12.1.0.1.0/perl/lib/5.10.0 /u01/app/oracle/product/12.1.0.1/agent/core/12.1.0.1.0/perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi /u01/app/oracle/product/12.1.0.1/agent/core/12.1.0.1.0/perl/lib/site_perl/5.10.0 /u01/app/oracle/product/12.1.0.1/agent/core/12.1.0.1.0/perl/lib/5.10.0/x86_64-linux-thread-multi /u01/app/oracle/product/12.1.0.1/agent/core/12.1.0.1.0/perl/lib/5.10.0/x86_64-linux-thread-multi /u01/app/oracle/product/12.1.0.1/agent/core/12.1.0.1.0/perl/lib/5.10.0 /u01/app/oracle/product/12.1.0.1/agent/core/12.1.0.1.0/perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi /u01/app/oracle/product/12.1.0.1/agent/core/12.1.0.1.0/perl/lib/site_perl/5.10.0 /u01/app/oracle/product/12.1.0.1/agent/core/12.1.0.1.0/perl/lib/site_perl .) at - line 1
    Luckily my supervisor told me he went in to the MOS website (website I can't visit, but my supervisor can) and found a way around it, he simply told me to edit the Privilege Delegation to: /usr/bin/sudo -E -u %RUNAS% %COMMAND%, but he wasn't able to find any feedback on the error I posted before, I'd just like to know if this two errors are related, maybe there's something we missed.
    Thank you very much beforehand, this would really help me with my training. Also, please bear with me, I'm currently in the first semester of Computer Science and I had absolutely no experience or any knowledge on installing/configuring/running Oracle products and what I would call "advanced" UNIX handling (because apache server and mysql isn't really rocket science) until 3 weeks ago.
    Regards,
    Daniel.

    you should not have run chown -R for oracle software. where was your agent installed ?
    was that also installed on /oracle ? by what OS account it was installed . if it was oracle, you did the right thing by running root.sh as root.
    however rdbms s/w could still be in mess. can you please restore it to its original owner/permission. and then when launching the "Create Oracle Database" deployment procedure, use original owner (of rdbms s/w) credentials to continue.
    for setting up DBaaS, you must NOT use "Create Like".

  • Error occurred in deployment step 'Add Solution': A feature with ID '' has already been installed in this farm. Use the force attribute to explicitly re-install the feature.

    Hi I am getting the error
    Error occurred in deployment step 'Add Solution': A feature with ID 10495515-2482-41fd-98eb-3c87f739f54b has already been installed in this farm.  Use the force attribute to explicitly re-install the feature.
    when trying to deploy web parts
    question 1 - how do i use the force attribute when deploying from visual studio
    question 2 - am i deplying it to the right place, if i deply it to the
    url:port that points to my central admin tool it deploys but i cant seem to see it in any of my webs in my site collection, if i deploy it to the
    url:port that points to my site collection I get this error.
    im new to all this by the way :)
    thanks in advance

    If you are deploying from Visual Studio then please follow this post:
    http://sharepointfordeveloper.blogspot.com/2014/03/solved-visual-studio-issue-error.html
    Open the visual Studio and navigate to the feature XML file and add the bellow attribute.
    AlwaysForceInstall="TRUE"
    The <FeatureName>.Template.Xml output would be some think link this.
    <?xml
    version="1.0"
    encoding="utf-8"
    ?><Feature
    xmlns="http://schemas.microsoft.com/sharepoint/"
    AlwaysForceInstall="TRUE"></Feature>

  • Error while refreshing bqy file on workspace using stored procedure

    Hi,
    I am using stored procedure which returns ref-cursor. The report is running fine locally but on Workspace, while refresh, it gives the following error.
    An Interactive Reporting Service error has occurred.-SQL API: [SQLNumResultCols], SQL RETURN: [-1], SQL STATE: [HY010], SQL NATIVE ERROR: [0], SQL MESSAGE: [[Microsoft][ODBC Driver Manager] Function sequence error]
    (0)
    I have ODBC/ODBC connection set up at BI+ configurator.
    Thanks,
    Manish

    We also met this issue. Some guy told me this is a Hyperion limitation, is it true? I really need this function in Hyperion:(

  • Error occurred in deployment step 'Add Solution': The definition specifies a claim provider with a name already in use.

    Hi,
    When i am trying to deploy sharepoint 2010 application in VS 2010, i am getting the below error:
    "Error occurred in deployment step 'Add Solution': The definition specifies a claim provider with a name already in use."
    How to fix this?
    Thank you

    You can use:
    $provider = Get-SPClaimProvider | where {$_.DisplayName -eq "Provider DisplayName"}
    $mgr = Get-SPClaimProviderManager
    $mgr.ClaimProviders.Remove($prov)
    $mgr.Update()
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

Maybe you are looking for

  • AAMEE 3.1 deploying Adobe Drive 5

    Hello The documentation for Adobe Drive 5.0 says to use AAMEE 3.1 for deployment however when i try i get a valid installer could not be found. I have the Adobe Drive 5.0 dmg mounted. This worked fine for Adobe Drive 4 Any ideas? Thanks

  • FND related processes can't be started

    EBS suite 12.1.3 env: db:11.2.0.3 on windows 2008 R2 two app nodes:one is 64bit oracle linux 5.8,the other is 64bit oracle linux 6.3 No errors occured when starting appl tier,but can't find the FND related processes For oracle linux 5.8 server(SLC03O

  • Failed info package, failed request turns from red to green after 1 hour so

    hi, There is a failed info package and if u go to monitor screen, the request status will be red in colour but then the same request after 1 hour or so turn from red to green automatically, why is this, what could be the possible reason??????????

  • Cant hear my music only on headphones

    cant hear my music or ringtones, volume seems to be switched off, however will work when headphones are in

  • Configure MB51 to be able to filter by material document number

    Hi, Is it recommended to enhance MB51 by reconfiguring the fields contained in the field catalog (RM07DOCS)? For example, current MB51 is not able to filter by material document number. Will there be any issue if we will configure it to allow to filt