Iam trying to acces Remote corba Server

im trying to access Remote corba Server from beans in WLS.
the client program is corba client. When i ever that JSP page Excuted ,
it is not able to find Remote Corba Server...what should i add to access
that Corba Server.
what classpath should i add in WLS.
is there any examplein which corba client from bean call Remote Corba
Server
thanks
khaleel.

1)i start WLS by runnig "startWeblogic" in this file i set java_home =.\jre1_2\jre ..if i run using this
***orb class = class com.inprise.vbroker.orb.ORB id diplayed
Error in binding Corba objects
org.omg.CORBA.OBJECT_NOT_EXIST:
Could not locate the following POA:
poa name : /rx_agent_poa
minor code: 0 completed: No
Mon Oct 09 18:06:41 CDT 2000:<E> <ServletContext-General> Servlet failed with Exception
2) but if i run the WEBLogic by seting java_home="jdk1.3"
i get this out put
***** orb class = class com.sun.corba.se.internal.iiop.ORB
java.lang.NoClassDefFoundError: com/inprise/vbroker/CORBA/portable/ObjectImpl
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
at java.lang.ClassLoader.defineClass(ClassLoader.java:426)
at weblogic.boot.ServerClassLoader.findLocalClass(ServerClassLoader.java
:334)
at weblogic.boot.ServerClassLoader.loadClass(ServerClassLoader.java:102)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at PreQual.PreQualManager.qualifyService(PreQualManager.java:66)
at PreQual.Main.main(Main.java:40)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java:148)
at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java
:62)
Tue Oct 10 00:23:01 CDT 2000:<E> <WebLogicServer> Failed to invoke startup class
qualify=PreQual.Main
java.lang.NoClassDefFoundError: RX/_preQualifyStub
at PreQual.PreQualManager.qualifyService(PreQualManager.java:66)
at PreQual.Main.main(Main.java:40)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java:148)
at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java
khaleel wrote:
when i run the sample program as startup it prints
*** orb class = class com.inprise.vbroker.orb.ORB
Eduardo Ceballos wrote:
When you run the sample program as a startup, what does the following print?
//Initialize the orb
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(args,null);
System.out.println("\n\n***** orb class = "+orb.getClass());
Also, why is the 1.2 jre involved? You wrote that you've added an orb.properties file, in
" i added orb.properties file in weblogic\jre1_2\jre\lib "
I think that, for what you are trying to do, it might work better that you run in 1.2.
In 1.3, you may also need to reset the property value for javax.rmi.CORBA.UtilClass and javax.rmi.CORBA.PortableRemoteObjectClass. If these are weblogic classes, set them to com.sun.corba.se.internal.javax.rmi.CORBA.Util and com.sun.corba.se.internal.javax.rmi.PortableRemoteObject, respectively. In
1.3, we set them to to classes that only work to support our implementation of rmi-iiop.
khaleel wrote:
hi
thanks for your help in advance...
1)ya, i had set jspcomplier classpath and Servlet's loader's class path.
i using WLS5.1 and jdk1.3... visibroker4.1....
these are jsp.properties in properties page...
weblogic.httpd.register.*.jsp=\
weblogic.servlet.JSPServlet
weblogic.httpd.initArgs.*.jsp=\
pageCheckSeconds=1,\
compileCommand=D:/jdk1.3/bin/javac.exe,\
workingDir=E:/weblogic/myserver/classfiles,\
verbose=true
(2) i wrote standalone test program to comminicate with Corba Server, and
executed it outside WLS and it runs succesfully... here is the code from
that stand alone program which comunicates the server
//Initialize the orb
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(args,null);
// Get the preQualify Id
byte[] preQualifyId = "Qualify".getBytes();
RX.preQualify qualify = RX.preQualifyHelper.bind(orb, "/rx_agent_poa",
preQualifyId);
(3) when i tried this in startup class it gives this error
Error in binding Corba objects
org.omg.CORBA.OBJECT_NOT_EXIST:
Could not locate the following POA:
poa name : /rx_agent_poa
minor code: 0 completed: No Mon Oct 09 23:26:51 CDT 2000:<E>
<WebLogicServer>
Failed to invoke startup class qualify=PreQual.Main
(4) and when i tries this in servlet it again gives same error as in (3)
more Info ---
i added orb.properties file in weblogic\jre1_2\jre\lib
thanks in advance
your help will be appriciated..
thanks
khaleel

Similar Messages

  • Classic ASP web app trying to acces remote SQL Server.

    Hi
    I have a classic asp web application which accessing a remote SQL Server 200. I am trying to connect using the following connection string in Global.asa file. For some reason not connecting to the remote SQL Server 200. The string is as follows.
    Session("dsn") = "provider=SQLOLEDB;app=AppName;server=SERVERNAME;uid=;password=;database=DBName;Trusted_Connection=No"
    Session("datadsn") = "data provider=SQLOLEDB;app=AppName;server=SERVERNAME;uid=;password=;database=DBName;Trusted_Connection=No"
    Session("server") = "SERVERNAME"
    Let me know if I am missing something or doing something wrong?
    Varun

    SQL Server Error Log has no error
    But I found couple of errors in Application EventViewer
    The VB Application identified by the event source logged this Application Globalization: Thread ID: 5312 ,Logged: -2147168246 New transaction cannot enlist in the specified transaction coordinator.  Error Source: Microsoft OLE DB Provider for SQL Server->ValidateUser
    A caller has attempted to propagate a transaction to a remote system, but MSDTC network DTC access is currently disabled on machine 'MyMachineName'. Please review the MS DTC configuration settings.
    Varun

  • Problem while connecting to remote corba server

    Hi, all.
    I'm new to Tuxedo/CORBA and want to run sample application. I follow all the instructions and everything's fine when I'm looking for local machine:
    Tobj_Bootstrap bootstrap(v_orb.in(), "");
    but when I'm lookin for remote service
    Tobj_Bootstrap bootstrap(v_orb.in(), "/ /MYHOST:2500");
    than running
    simple_client -ORBid BEA_IIOP
    I'm getting
    Can't connect to the domain : IDL:beasys.com/Tobj/InvalidDomain:1.0
    What went wrong? How can I use corba service on remote machine?\
    Thanks, Oleg.
    [att1.html]

    Hi, all.
    I'm new to Tuxedo/CORBA and want to run sample application. I follow all the instructions and everything's fine when I'm looking for local machine:
    Tobj_Bootstrap bootstrap(v_orb.in(), "");
    but when I'm lookin for remote service
    Tobj_Bootstrap bootstrap(v_orb.in(), "/ /MYHOST:2500");
    than running
    simple_client -ORBid BEA_IIOP
    I'm getting
    Can't connect to the domain : IDL:beasys.com/Tobj/InvalidDomain:1.0
    What went wrong? How can I use corba service on remote machine?\
    Thanks, Oleg.
    [att1.html]

  • Trying to install WSUS role on Windows Server 2012 R2 using dedicated SQL Instance with static port on remote SQL Server 2012 SP1 CU7 on Windows Server 2012 R2.

    I am trying to install WSUS role on Windows Server 2012 R2 using dedicated SQL Instance with static port on remote SQL Server 2012 SP1 CU7 on Windows Server 2012 R2.
    It verifies the connection and then throws the error:
    The request to add or remove features on the specified server failed. The operation cannot be completed, because the server you specified requires a restart.
    WSUS Server : Windows Server 2012 R2
    Remote SQL Server: 2012 SP1 CU7 hosted on Windows Server 2012 R2
    Please let me know if anyone has experienced this issue.

    We were trying to install WSUS role on Windows Server 2012 R2 using dedicated SQL Instance with static port on remote SQL Server 2012 SP1 CU7 on Windows Server 2012 R2.
    It verifies the connection and then throws the error:
    The request to add or remove features on the specified server failed. The operation cannot be completed, because the server you specified requires a restart.
    Same error even after rebooting the server multiple times.
    WSUS Server : Windows Server Standard2012 R2
    Remote SQL Server: Windows Server 2012 SP1 CU7 hosted on Windows Server 2012 R2
    Event ID 7000:
    The Windows Internal Database service failed to start due to the following error:
    The service did not start due to a logon failure.
    Event ID 7041
    The MSSQL$MICROSOFT##WID service was unable to log on as NT SERVICE\MSSQL$MICROSOFT##WID with the currently configured password due to the following error:
    Logon failure: the user has not been granted the requested logon type at this computer.
    Service: MSSQL$MICROSOFT##WID
    Domain and account: NT SERVICE\MSSQL$MICROSOFT##WID
    This service account does not have the required user right "Log on as a service."
    User Action
    Assign "Log on as a service" to the service account on this computer. You can use Local Security Settings (Secpol.msc) to do this. If this computer is a node in a cluster, check that this user
    right is assigned to the Cluster service account on all nodes in the cluster.
    If you have already assigned this user right to the service account, and the user right appears to be removed, check with your domain administrator to find out if a Group Policy object associated
    with this node might be removing the right.
    I found following article:
    "MSSQL$MICROSOFT##WID service was unable to log on as NT SERVICE\MSSQL$MICROSOFT##WID" error when you install WID in Windows Server 2012
    http://support.microsoft.com/kb/2832204/en-us
    To work around the issue, use one of the following methods:
    Assign the Log on as a service user right to NT SERVICE\ALL SERVICES in the GPO that defines the user right.
    Exclude the computer from the GPO that defines the user right.
    We moved the SCCM server to OU where no policies were getting applied and then applied the new GPO to that OU. Restarted the server and we were able to install WSUS role.
    Regards
    PR

  • How to register remote client in java to a Corba server in C++

    Hi All,
    Although i know that it spossible for to have a Corba client in java and Corba server in C++.What am nto sure is whether i can have this client and server on 2 different machines.In a vwgue way i think it shoudl be possible but not sure.
    I have Server running in Corba in one machine, how to register java client on another machine to this server .??
    Thanks,
    Ranjitha

    Hi,
    You can do that by defining the DB link to use while you register the function.
    From the Administrator go to "Tools-> Register PL/SQL Functions..."
    Fill in the information of the function (name, display, owner ...)
    And in the "Database Link" choose your new DB link.
    Tamir

  • RMI-IIOP client - CORBA Server

    I already have a CORBA server in C++ which has already been written. I am trying to develop an RMI-IIOP client which would talk to this CORBA Server.
    The CORBA server has several interfaces that I would like to use with my RMI-IIOP client. How do I proceed?? Can somebody give me an example of an RMI-IIOP client? Basically my question is: how do I take the IDL and build an RMI-IIOP client with it???

    Hello
    I already have a CORBA server in C++ which has already
    been written. I am trying to develop an RMI-IIOP
    client which would talk to this CORBA Server.
    The CORBA server has several interfaces that I would
    like to use with my RMI-IIOP client. How do I
    proceed?? Can somebody give me an example of an
    RMI-IIOP client? Basically my question is: how do I
    take the IDL and build an RMI-IIOP client with it???The steps to do are the following:
    * Creating the Remote interface
    * Using the rmic compiler to genarate the IDL and the client stub.
    * Generating stub and skeleton of the C++ server using that IDL (the one you already made is no longer compatible)
    * Bulding up the new C++ server
    * Using a nameservice (tnameserver for example) and binding your server to that.
    * Writing the RMI-IIOP client
    I proceeded like this (using Visibroker 4.5 on the server side) and I was able to do it... but as you can see from my last post, I wasn't able to pass Strings from the client to the server.
    Bye

  • Trigger the workflow in the remote sap server

    I am trying to trigger another workflow in remote sap server by using web activity.  What are the prerequisite for using web activity.  Actually, i tried to use url wizard but, i don't know what i should i fill for the port.   is the server configuration required? anyone has exprience on this?

    Hey if you want to know the URL and the prot number generated by the system you can use a program RCF_GENERATE_URL if you execute this program thenit will show you the enitr URL including the port number . My Guess is it will be  8000( Iam not sure)
    Secondly teh prerequisites for using a  Web activity step is you have to define the WEB SERVER , This is because you need to enable the webservice , in order to recevie the XML doument, through which you can start WF which is located in the REMOTE SAP server, 
    And At the same time you have to make the appropriate settings in the remote workflow so that it  will receive the XML document and then start's its processing.
    for further information [Check this|http://help.sap.com/saphelp_nw04/helpdata/en/cc/9f9138d380f50fe10000009b38f8cf/content.htm]

  • Hi there, I am trying to connect to my server at work from home using a vpn connection. It connects fine and the time ticks along, but when i click go - connect to server, it comes up with connection failed. Please help!

    Hi there, I am trying to connect to my server at work from home using a vpn connection. It connects fine and the time ticks along, but when i click go - connect to server, it comes up with connection failed. Please help!

    ... when i click go - connect to server, it comes up with connection failed.
    If you're trying to connect to a Bonjour server on the remote network, that won't work over a layer 3 VPN. Use something like Hamachi or one of the SSH-tunnelling Bonjour proxy apps for that.

  • Cannot deploy BPM process from JDev into remote weblogic server

    Hi all,
    I have in a trouble!
    I've built a simple BPM process but when i deploy it from JDeveloper to a remote weblogic server it have following error, pls give me solution
    [02:16:27 PM] ---- Deployment started. ----
    [02:16:27 PM] Target platform is (Weblogic 10.3).
    [02:16:27 PM] Running dependency analysis...
    [02:16:27 PM] Building...
    [02:16:31 PM] Deploying profile...
    [02:16:31 PM] Updating revision id for the SOA Project 'Project1.jpr' to '1.0'..
    [02:16:31 PM] Wrote Archive Module to C:\JDeveloper\mywork\TestDeploy\Project1\deploy\sca_Project1_rev1.0.jar
    [02:16:31 PM] Running dependency analysis...
    [02:16:31 PM] Building...
    [02:16:33 PM] Deploying 2 profiles...
    [02:16:33 PM] Wrote Web Application Module to C:\JDeveloper\mywork\TestDeploy\Project2_UI\deploy\Project2_UI.war
    [02:16:33 PM] Wrote Enterprise Application Module to C:\JDeveloper\mywork\TestDeploy\deploy\TestDeploy.ear
    [02:16:33 PM] Deploying sca_Project1_rev1.0.jar to partition "default" on server AdminServer [http://HP:7001]
    [02:16:33 PM] Processing sar=/C:/JDeveloper/mywork/TestDeploy/Project1/deploy/sca_Project1_rev1.0.jar
    [02:16:33 PM] Adding sar file - C:\JDeveloper\mywork\TestDeploy\Project1\deploy\sca_Project1_rev1.0.jar
    [02:16:33 PM] Preparing to send HTTP request for deployment
    [02:16:33 PM] Creating HTTP connection to host:HP, port:7001
    [02:16:33 PM] Sending internal deployment descriptor
    [02:16:33 PM] Sending archive - sca_Project1_rev1.0.jar
    [02:16:33 PM] Received HTTP response from the server, response code=503
    [02:16:33 PM] Invalid logging line: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    [02:16:33 PM] Invalid logging line: <html><head>
    [02:16:33 PM] Invalid logging level on line: <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    [02:16:33 PM] Invalid logging line: <title>ERROR: The requested URL could not be retrieved</title>
    [02:16:33 PM] Invalid logging line: <style type="text/css"><!--
    [02:16:33 PM] Invalid logging line: /*
    [02:16:33 PM] Invalid logging line: Stylesheet for Squid Error pages
    [02:16:33 PM] Invalid logging line: Adapted from design by Free CSS Templates
    [02:16:33 PM] Invalid logging line: http://www.freecsstemplates.org
    [02:16:33 PM] Invalid logging line: Released for free under a Creative Commons Attribution 2.5 License
    [02:16:33 PM] Invalid logging line: */
    [02:16:33 PM] Invalid logging line: /* Page basics */
    [02:16:33 PM] Invalid logging line: * {
    [02:16:33 PM] Invalid logging level on line:      font-family: verdana, sans-serif;
    [02:16:33 PM] Invalid logging line: }
    [02:16:33 PM] Invalid logging line: html body {
    [02:16:33 PM] Invalid logging level on line:      margin: 0;
    [02:16:33 PM] Invalid logging level on line:      padding: 0;
    [02:16:33 PM] Invalid logging level on line:      background: #efefef;
    [02:16:33 PM] Invalid logging level on line:      font-size: 12px;
    [02:16:33 PM] Invalid logging level on line:      color: #1e1e1e;
    [02:16:33 PM] Invalid logging line: }
    [02:16:33 PM] Invalid logging line: /* Page displayed title area */
    [02:16:33 PM] Invalid logging line: #titles {
    [02:16:33 PM] Invalid logging level on line:      margin-left: 15px;
    [02:16:33 PM] Invalid logging level on line:      padding: 10px;
    [02:16:33 PM] Invalid logging level on line:      padding-left: 100px;
    [02:16:33 PM] Invalid logging level on line:      background: url('http://www.squid-cache.org/Artwork/SN.png') no-repeat left;
    [02:16:33 PM] Invalid logging line: }
    [02:16:33 PM] Invalid logging line: /* initial title */
    [02:16:33 PM] Invalid logging line: #titles h1 {
    [02:16:33 PM] Invalid logging level on line:      color: #000000;
    [02:16:33 PM] Invalid logging line: }
    [02:16:33 PM] Invalid logging line: #titles h2 {
    [02:16:33 PM] Invalid logging level on line:      color: #000000;
    [02:16:33 PM] Invalid logging line: }
    [02:16:33 PM] Invalid logging line: /* special event: FTP success page titles */
    [02:16:33 PM] Invalid logging line: #titles ftpsuccess {
    [02:16:33 PM] Invalid logging level on line:      background-color:#00ff00;
    [02:16:33 PM] Invalid logging level on line:      width:100%;
    [02:16:33 PM] Invalid logging line: }
    [02:16:33 PM] Invalid logging line: /* Page displayed body content area */
    [02:16:33 PM] Invalid logging line: #content {
    [02:16:33 PM] Invalid logging level on line:      padding: 10px;
    [02:16:33 PM] Invalid logging level on line:      background: #ffffff;
    [02:16:33 PM] Invalid logging line: }
    [02:16:33 PM] Invalid logging line: /* General text */
    [02:16:33 PM] Invalid logging line: p {
    [02:16:33 PM] Invalid logging line: }
    [02:16:33 PM] Invalid logging line: /* error brief description */
    [02:16:33 PM] Invalid logging line: #error p {
    [02:16:33 PM] Invalid logging line: }
    [02:16:33 PM] Invalid logging line: /* some data which may have caused the problem */
    [02:16:33 PM] Invalid logging line: #data {
    [02:16:33 PM] Invalid logging line: }
    [02:16:33 PM] Invalid logging line: /* the error message received from the system or other software */
    [02:16:33 PM] Invalid logging line: #sysmsg {
    [02:16:33 PM] Invalid logging line: }
    [02:16:33 PM] Invalid logging line: pre {
    [02:16:33 PM] Invalid logging level on line: font-family:sans-serif;
    [02:16:33 PM] Invalid logging line: }
    [02:16:33 PM] Invalid logging line: /* special event: FTP / Gopher directory listing */
    [02:16:33 PM] Invalid logging line: #dirlisting tr.entry td.icon,td.filename,td.size,td.date {
    [02:16:33 PM] Invalid logging level on line: border-bottom: groove;
    [02:16:33 PM] Invalid logging line: }
    [02:16:33 PM] Invalid logging line: #dirlisting td.size {
    [02:16:33 PM] Invalid logging level on line: width: 50px;
    [02:16:33 PM] Invalid logging level on line: text-align: right;
    [02:16:33 PM] Invalid logging level on line: padding-right: 5px;
    [02:16:33 PM] Invalid logging line: }
    [02:16:33 PM] Invalid logging line: /* horizontal lines */
    [02:16:33 PM] Invalid logging line: hr {
    [02:16:33 PM] Invalid logging level on line:      margin: 0;
    [02:16:33 PM] Invalid logging line: }
    [02:16:33 PM] Invalid logging line: /* page displayed footer area */
    [02:16:33 PM] Invalid logging line: #footer {
    [02:16:33 PM] Invalid logging level on line:      font-size: 9px;
    [02:16:33 PM] Invalid logging level on line:      padding-left: 10px;
    [02:16:33 PM] Invalid logging line: }
    [02:16:33 PM] Invalid logging line: body
    [02:16:33 PM] Invalid logging level on line: :lang(fa) { direction: rtl; font-size: 100%; font-family: Tahoma, Roya, sans-serif; float: right; }
    [02:16:33 PM] Invalid logging level on line: :lang(he) { direction: rtl; float: right; }
    [02:16:33 PM] Invalid logging line: --></style>
    [02:16:33 PM] Invalid logging line: </head><body>
    [02:16:33 PM] Invalid logging line: <div id="titles">
    [02:16:33 PM] Invalid logging line: <h1>ERROR</h1>
    [02:16:33 PM] Invalid logging line: <h2>The requested URL could not be retrieved</h2>
    [02:16:33 PM] Invalid logging line: </div>
    [02:16:33 PM] Invalid logging line: <hr>
    [02:16:33 PM] Invalid logging line: <div id="content">
    [02:16:33 PM] Invalid logging line: <p>The following error was encountered while trying to retrieve the URL: http://hp:7001/soa-infra/deployer</p>
    [02:16:33 PM] Invalid logging line: <blockquote id="error">
    [02:16:33 PM] Invalid logging line: <p><b>Unable to determine IP address from host name <q>hp</q></b></p>
    [02:16:33 PM] Invalid logging line: </blockquote>
    [02:16:33 PM] Invalid logging line: <p>The DNS server returned:</p>
    [02:16:33 PM] Invalid logging line: <blockquote id="data">
    [02:16:33 PM] Invalid logging line: <pre>Name Error: The domain name does not exist.</pre>
    [02:16:33 PM] Invalid logging line: </blockquote>
    [02:16:33 PM] Invalid logging line: <p>This means that the cache was not able to resolve the hostname presented in the URL. Check if the address is correct.</p>
    [02:16:33 PM] Invalid logging level on line: <p>Your cache administrator is [email protected].</p>
    [02:16:33 PM] Invalid logging line: <br>
    [02:16:33 PM] Invalid logging line: </div>
    [02:16:33 PM] Invalid logging line: <hr>
    [02:16:33 PM] Invalid logging line: <div id="footer">
    [02:16:33 PM] Invalid logging line: <p>Generated Tue, 20 Dec 2011 07:18:27 GMT by proxy.hipt.com.vn (squid/3.1.4)</p>
    [02:16:33 PM] Invalid logging line: <!-- ERR_DNS_FAIL -->
    [02:16:33 PM] Invalid logging line: </div>
    [02:16:33 PM] Invalid logging line: </body></html>
    [02:16:33 PM] Error deploying archive sca_Project1_rev1.0.jar to partition "default" on server AdminServer [http://HP:7001]
    [02:16:33 PM] HTTP error code returned [503]
    [02:16:33 PM] No error message is returned from the server.
    [02:16:33 PM] Error deploying archive sca_Project1_rev1.0.jar to partition "default" on server AdminServer [http://HP:7001]
    [02:16:33 PM] #### Deployment incomplete. ####
    [02:16:33 PM] Error deploying archive file:/C:/JDeveloper/mywork/TestDeploy/Project1/deploy/sca_Project1_rev1.0.jar
    (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)
    Thanks a lot!

    Hi, thanks for your reply,
    I just check but soa-infra is up
    Result:
    Welcome to the Oracle SOA Platform on WebLogic
    SOA Version: v11.1.1.5.0 - 11.1.1.5.0_110418.1550.0174 built on Mon Apr 18 18:05:14 PDT 2011
    WebLogic Server 10.3.5.0 Fri Apr 1 20:20:06 PDT 2011 1398638 (10.3.5.0)
    I've deployed my process in local computer that good! but from remote JDev i've wrong
    Help me pls!

  • Viewing Layouts on Remote/Testing Server

    This is a beginner question.
    I'm trying to view Layouts and/or Content Holders on the Remote/Testing Server out of Dreamweaver so I can edit them independently, but I just get 404 messages.
    When I create a new page in BC, I am prompted for a Page Title which subsequently creates a Page URL and File name. The Page URL by default has no extension. The File Name has an extension.
    If I view that new page on the Remote Server I get a 404 message. If I edit the Page URL to include the File Name extension, I have no problem on the Remote Server.
    Now for example: In File Manager I have the following directory structures:
    http://www.MySite.com/_System/ContentHolders/layout.html
    http://www.MySite.com/Layouts/SystemMessages/SecureZoneAccessDenied-CA.html
    Why is it that I can't view these pages on the Remote Server?
    Is BC creating a default URL for these Layout pages that isn't the same as the file name it gives them? or no URL at all?
    Thanks,
    Cam

    Hey there. Those are not pages. They are system generated layouts and for content holders only render when the module issued for that content holderin a pager template.
    Ile extensionsyouseefor these are needed to work via FTP and understnd HTML formatting etc.
    Zone access denied is a system message and will render when you create a login and enter a incorrect password.
    Actual pages do not need agile extension.
    Loin into the admins floor around. Look and pages, system layouts and templates, apply templates to pages. get a feel of things there as well to help get abetted understanding.
    Also check out the links from the main page oftheseforums to theknowledgebaseto read through things as you need them.

  • Connecting to a remote OpenLDAP server over SSL.

    I've been trying for several weeks now to get a remote OpenLDAP server up and running; configured in such a way that it only allows SSL and requires certificate validation.
    I've created a CA with a self-signed certificate.
    I used that CA to create a server and client certificate.
    The server certificate is in /etc/ssl/certs, has a link by the name of its hash.0 pointing to it; permissions are all correct and /etc/ssl/slapd.conf point to it and the CA certificate.
    The client certificate is on my MacBook Pro in /etc/ssl/certs along with the CA certificate; each of which also has its hash linked to it. /etc/ssl/ldap.conf is set up properly, the permissions are correct, and the following test command ran as my user produces a successful result:
    ldapsearch -v -x -H ldaps://ldap.foo.org -b "dc=foo,dc=org" -d -1
    Now the problem part. I open Directory Utility; go to Services with Advanced Settings enabled. After unlocking it, I click the LDAPv3 and the pencil icon.
    I hit New... in the window that pops up and use ldap.foo.org as servername, SSL box ticked. I hit Continue, and behold; nothing happens.
    It is to say; Directory Utility hangs for a while; after which it goes back to the box I clicked Continue in without any error or warning popping up; but obviously hasn't advanced.
    The server logs indicate my Mac had actually connected; received the server certificate; but didn't send a client certificate at which point the TLS connection got aborted for some reason and the session ended.
    My Mac Console shows something even more bizare, though:
    11/09/08 23:09:22 com.apple.DirectoryServices[97123] Assertion failed: (ld != NULL), function ldapsearchext, file search.c, line 76.
    My suspicion is that Directory Utility can't verify the server certificate and aborts the TLS connection. I expect it also uses /etc/openldap/ldap.conf? How can I diagnose the root of this problem?
    Thanks a lot for your assistance; I just can't figure this out and any hint or pointer would be greatly appreciated. It now just looks like OSX does not support a secure LDAP over SSL configuration.
    Though it currently isn't set up to be that way, I'd like to have my client also provide a certificate (CN=lhunath.foo.org) and have the server validate that. For now I've got the server set to:
    TLSVerifyClient never
    (And of course, the client:)
    TLS_REQCERT demand
    Message was edited by: lhunath

    By the way; about the assertion error I get in Console; here's the relevant source of ldap.c. Looks like ld is not set; probably something going wrong before that with setting up the TLS connection, perhaps? Or not?
    * ldapsearchext - initiate an ldap search operation.
    * Parameters:
    * ld LDAP descriptor
    int
    ldapsearchext(
    LDAP *ld,
    assert( ld != NULL );

  • How to create a Flex3 project with remote ColdFusion server?

    I have a question related to Flex 3 and ColdFusion that it might be simple to answer but I have been struggling with it for a while.
    How to create a Flex application using Flex Builder 3 that uses ColdFusion, but the ColdFusion server is not installed locally but in a remote server?
    I need to create a Flex application to use with ColdFusion and although this is a simple procedure when we are creating the project in a computer where you have ColdFusion installed locally (as all books shows examples of it), but what if the ColdFusion server is installed in another machine in the network?
    My current situation is the following:
    -          I have Flex Builder 3 install in my PC at work and its workspace is in a folder in the network outside of my PC.
    -          We have a server (ISWEB1) partition in two drives; C, where the ColdFusion 8 is installed and D where all the files the developers work with reside. The ColdFusion installation runs in a server where IIS is used as the web server.
    -          I have the drive D on the server ISWEB1 mapped to one of my letter drives and can access it easily
    -          The drive C on the Server can only be accessed remotely (or through the web to access the ColdFusion admin page) and is not exposed to the network as drive D is.
    My problem is, I need to create a Flex 3 application that uses ColdFusion using remote object access service (CF Flash Remoting) but I wanted to point to the installation version on the server ISWEB1 and not to the one installed locally. The Configure ColdFusion Server screen in the Flex Builder asked me for the location of ColdFusion root folder, Web root, and root URL. There is no way I can point to the server (ISWEB1)where ColdFusion is installed as those fields seem to required a address that points to a local install or a mapping on that local server.
    The work around that could be used is to use the ColdFusion developers edition I have installed locally and use during the creation of the project in Flex Builder, but then I would have to have all the same data sources, mappings, and CFCs in my the local server in order to test, which seems double work. To aggravate that when you try to test the application Flex writes the files to the local server and unless you have everything available locally it would not work properly. I am trying to avoid duplicating the work. Ideally I would like to test the Flex application on the server where the CF is installed and where the Flex Builder workspace is.

    Sort of. I found this article below that helped me to connect to the remote CF server using MXML. It seems that you have to create a regular project in Flex with Aplication Server Type set to None and connect to CF using the endpoint attribute of the RemoteObject MXML tag or via AS.
    http://www.aliaspooryorik.com/blog/index.cfm/e/posts.details/post/200
    However I found out after getting error using the AS3 code to use the endpoint property that
    mx.rpc.remoting.RemoteObject does not support  the "endpoint" property
    whereas mx.rpc.remoting.mxml.RemoteObject does. See link below
    http://www.mail-archive.com/[email protected]/msg101439.html//www.mail-archive.com/[email protected]/msg101439.html
    So I had to change my AS3 code by adding a new channel to my RemoteObject using a code similar to the one on the link below (Note that this code uses PHP, when I instantiate myRemoteObject, I do so informing that the destination is "ColdFusion" [new RemoteObject("ColdFusion")], so no need to set destination as in the code on the link below
    http://tech.groups.yahoo.com/group/flexcoders/message/120115
    I hope that helps you.

  • Errors when deploying application to a remote WebLogic server using Eclipse

    I'm using Eclipse with OEPE for WebLogic 10.3.5 on linux and running a weblogic server versioned the same.
    I've created a new EAR which combined several EARs that I had, and deployed it on my local server using the 'servers' tab in Eclipse. It went well.
    When I tried to deploy the EAR into my remote server, I got the exception:
    Application archive not found : myworkspace/.metadata/.plugins/org.eclipse.core.resources/.projects/MyEAR/beadep/remote_weblogic/MyEAR/split_src.ear
    This also happens when trying to deploy the EAR to a server that runs on my computer but configured as 'remote' in Eclipse. This does not happen for any other application of mine.
    Next thing I tried is to update my Eclipse OEPE and server to 12.1.1, so I've downloaded the two, installed them both as new, and now when I'm looking for remote servers in the Eclipse, instead of writing the server status (republish/synchronized) it writes:
    User: myuser, failed to be authenticated
    I'm lost. How can I deploy my application with Eclipse OEPE to a remote weblogic server?
    Edited by: wafwaf on 02:03 02/02/2012

    I'm using Eclipse with OEPE for WebLogic 10.3.5 on linux and running a weblogic server versioned the same.
    I've created a new EAR which combined several EARs that I had, and deployed it on my local server using the 'servers' tab in Eclipse. It went well.
    When I tried to deploy the EAR into my remote server, I got the exception:
    Application archive not found : myworkspace/.metadata/.plugins/org.eclipse.core.resources/.projects/MyEAR/beadep/remote_weblogic/MyEAR/split_src.ear
    This also happens when trying to deploy the EAR to a server that runs on my computer but configured as 'remote' in Eclipse. This does not happen for any other application of mine.
    Next thing I tried is to update my Eclipse OEPE and server to 12.1.1, so I've downloaded the two, installed them both as new, and now when I'm looking for remote servers in the Eclipse, instead of writing the server status (republish/synchronized) it writes:
    User: myuser, failed to be authenticated
    I'm lost. How can I deploy my application with Eclipse OEPE to a remote weblogic server?
    Edited by: wafwaf on 02:03 02/02/2012

  • How can I get past the "trying to connect to the server..." part when trying to download the adobe creative cloud desktop app?

    When trying to install Adobe Create Cloud desktop app, the adobe installer box comes up and it will not load past the "trying to connect to the server..." part. Why is this and what steps do I need to take to resolve this issue?

    A chat session where an agent may remotely look inside your computer may help
    Creative Cloud chat support (all Creative Cloud customer service issues)
    http://helpx.adobe.com/x-productkb/global/service-ccm.html

  • How to send e-mail with an attachment from remote database server.???

    Hi All,
    I have tried the simple mail sending and with the attachment using UTL_SMTP. But the problem is , it is sending the mail with attachment of the file name i give, it takes and creates that file and sends as attachment not from the actual file location. I am trying to attach the file which i stored in remote database server.
    The following code I tried. But not worked for attachment
    DECLARE
       v_From       VARCHAR2(80) := '[email protected]';
       v_Recipient  VARCHAR2(80) := '[email protected]';
       v_Subject    VARCHAR2(80) := 'test subject';
       v_Mail_Host  VARCHAR2(30) := 'pop3.somedomain.com';
       v_Mail_Conn  utl_smtp.Connection;
       crlf         VARCHAR2(2)  := chr(13)||chr(10);
    BEGIN
      v_Mail_Conn := utl_smtp.Open_Connection(v_Mail_Host, 25);
      utl_smtp.Helo(v_Mail_Conn, v_Mail_Host);
      utl_smtp.Mail(v_Mail_Conn, v_From);
      utl_smtp.Rcpt(v_Mail_Conn, v_Recipient);
      utl_smtp.Data(v_Mail_Conn,
        'Date: '   || to_char(sysdate, 'Dy, DD Mon YYYY hh24:mi:ss') || crlf ||
        'From: '   || v_From || crlf ||
        'Subject: '|| v_Subject || crlf ||
        'To: '     || v_Recipient || crlf ||
        'MIME-Version: 1.0'|| crlf ||     -- Use MIME mail standard
        'Content-Type: multipart/mixed;'|| crlf ||
        ' boundary="-----SECBOUND"'|| crlf ||
        crlf ||
        '-------SECBOUND'|| crlf ||
        'Content-Type: text/html;'|| crlf ||
        'Content-Transfer_Encoding: 7bit'|| crlf ||
        crlf ||
        'some message text'|| crlf ||     -- Message body
        'more message text'|| crlf ||
        crlf ||
        '-------SECBOUND'|| crlf ||
        'Content-Type: text/html;'|| crlf ||
        ' name="Fund Authorization report"'|| crlf ||
        'Content-Transfer_Encoding: 8bit'|| crlf ||
        'Content-Disposition: attachment;'|| crlf ||
        ' filename="/usr/tmp/Test.html"'|| crlf ||
        crlf ||
        'HTML Attachment'|| crlf ||     -- Content of attachment
        crlf ||
        '-------SECBOUND--'               -- End MIME mail
      utl_smtp.Quit(v_mail_conn);
    EXCEPTION
      WHEN utl_smtp.Transient_Error OR utl_smtp.Permanent_Error then
        raise_application_error(-20000, 'Unable to send mail: '||sqlerrm);
    END;How can I attach a file which is stored in database server and send it in a mail.
    Please someone help me in this.
    Thanks,
    Alaka.

    Try this code
    Regards Salim.
    CREATE OR REPLACE TRIGGER EmailOnServerErr AFTER SERVERERROR ON DATABASE
    DECLARE
       mail_conn       UTL_SMTP.connection;
       crlf            VARCHAR2(2) := chr(13)||chr(10);
       msg             VARCHAR2(32760);
       sid_name        VARCHAR2(16);
       bdump_dest      VARCHAR2(128);
       smtp_relay      VARCHAR2(32) := 'MyMailRelay';
       recipient_address  VARCHAR2(64) := '[email protected]';
       sender_address     VARCHAR2(64) := '[email protected]';
       mail_port       NUMBER := 25;
       log_file_handle UTL_FILE.FILE_TYPE;
       log_file_dir    VARCHAR2(256) := 'ERR_LOG_DIR';
       log_file_name   VARCHAR2(256) := 'OracleErrors.log';
       maxlinesize     NUMBER := 32767;
       session_rec     sys.v_$session%ROWTYPE;
       audit_rec       sys.dba_audit_trail%ROWTYPE;
       auditing        BOOLEAN;
       LinesOfSQL      BINARY_INTEGER;
       offending_sql   DBMS_STANDARD.ora_name_list_t;
       CURSOR bdump_cur IS
          SELECT TRIM(value)
          FROM v$parameter
          WHERE name = 'background_dump_dest'
       CURSOR sid_cur IS
          SELECT TRIM(instance_name)
          FROM v$instance
       CURSOR session_cur IS
          SELECT s.*
          FROM v$session s
          WHERE s.sid = dbms_support.mysid
       CURSOR audit_trail_cur(AUDSID IN NUMBER) IS
          SELECT *
          FROM dba_audit_trail
          WHERE sessionid = AUDSID
    BEGIN
       IF (USER = 'SYSTEM' OR USER = 'SYS') THEN
          -- Ignore this error
          NULL;
       ELSIF IS_SERVERERROR (1034) THEN
          -- Ignore this error
          NULL;
       ELSE
          -- get the sid
          OPEN sid_cur;
          FETCH sid_cur INTO sid_name;
          CLOSE sid_cur;
          -- get the location of the alert log
          OPEN bdump_cur;
          FETCH bdump_cur INTO bdump_dest;
          CLOSE bdump_cur;
          -- get the session information
          OPEN session_cur;
          FETCH session_cur INTO session_rec;
          CLOSE session_cur;
          -- get the audit_trail information if it exists
          OPEN audit_trail_cur(session_rec.audsid);
          FETCH audit_trail_cur INTO audit_rec;
          auditing := audit_trail_cur%FOUND;
          CLOSE audit_trail_cur;
          IF session_rec.program = 'MyProgram.exe' THEN
             NULL;  -- ignore actions from MyProgram - that's where I do maintenance
          ELSE
             -- compose the message
             msg := 'Subject: Oracle error '||' on '||sid_name||crlf;
             msg := msg||'To: '||recipient_address||crlf;
             msg := msg||'For more information see the alert log file located at:'||crlf;
             msg := msg||bdump_dest||'/alert_'||sid_name||'.log'||crlf;
             msg := msg||'or the error log file: $'||log_file_dir||'/'||log_file_name||crlf;
             msg := msg||'Error Time='||TO_CHAR(SYSDATE,'DD-Mon-YYYY HH24:MI:SS')||crlf;
             msg := msg||DBMS_UTILITY.FORMAT_CALL_STACK||crlf;
             LinesOfSQL := sql_txt(offending_sql);
             msg := msg||'Offending SQL is:'||crlf;
             FOR loop_counter IN offending_sql.FIRST..offending_sql.LAST
             LOOP
                msg := msg||offending_sql(loop_counter);
             END LOOP;
             msg := msg||crlf||'----- PL/SQL Error Stack -----'||crlf;
             msg := msg||DBMS_UTILITY.FORMAT_ERROR_STACK||crlf;
             msg := msg||'V$SESSION.SADDR='   ||session_rec.saddr   ||crlf;
             msg := msg||'V$SESSION.SID='     ||session_rec.sid     ||crlf;
             msg := msg||'V$SESSION.SERIAL#=' ||session_rec.serial# ||crlf;
             msg := msg||'V$SESSION.AUDSID='  ||session_rec.audsid  ||crlf;
             msg := msg||'V$SESSION.PADDR='   ||session_rec.paddr   ||crlf;
             msg := msg||'V$SESSION.USER#='   ||session_rec.user#   ||crlf;
             msg := msg||'V$SESSION.USERNAME='||session_rec.username||crlf;
             msg := msg||'V$SESSION.COMMAND=' ||session_rec.command ||crlf;
             msg := msg||'V$SESSION.OWNERID=' ||session_rec.ownerid ||crlf;
             msg := msg||'V$SESSION.TADDR='   ||NVL(session_rec.taddr   ,'Null')||crlf;
             msg := msg||'V$SESSION.LOCKWAIT='||NVL(session_rec.lockwait,'Null')||crlf;
             msg := msg||'V$SESSION.STATUS='  ||NVL(session_rec.status  ,'Null')||crlf;
             msg := msg||'V$SESSION.SERVER='  ||NVL(session_rec.server  ,'Null')||crlf;
             msg := msg||'V$SESSION.SCHEMA#=' ||session_rec.schema#||crlf;
             msg := msg||'V$SESSION.SCHEMANAME=' ||NVL(session_rec.schemaname,'Null')||crlf;
             msg := msg||'V$SESSION.OSUSER='     ||NVL(session_rec.osuser    ,'Null')||crlf;
             msg := msg||'V$SESSION.PROCESS='    ||NVL(session_rec.process   ,'Null')||crlf;
             msg := msg||'V$SESSION.MACHINE='    ||NVL(session_rec.machine   ,'Null')||crlf;
             msg := msg||'V$SESSION.TERMINAL='   ||NVL(session_rec.terminal  ,'Null')||crlf;
             msg := msg||'V$SESSION.PROGRAM='    ||NVL(session_rec.program   ,'Null')||crlf;
             msg := msg||'V$SESSION.TYPE='       ||NVL(session_rec.type      ,'Null')||crlf;
             msg := msg||'V$SESSION.SQL_ADDRESS='    ||session_rec.sql_address  ||crlf;
             msg := msg||'V$SESSION.SQL_HASH_VALUE=' ||NVL(TO_CHAR(session_rec.sql_hash_value) ,'Null')||crlf;
             msg := msg||'V$SESSION.PREV_SQL_ADDR='  ||session_rec.prev_sql_addr||crlf;
             msg := msg||'V$SESSION.PREV_HASH_VALUE='||NVL(TO_CHAR(session_rec.prev_hash_value),'Null')||crlf;
             msg := msg||'V$SESSION.MODULE='     ||NVL(session_rec.module              ,'Null')||crlf;
             msg := msg||'V$SESSION.MODULE_HASH='||NVL(TO_CHAR(session_rec.module_hash),'Null')||crlf;
             msg := msg||'V$SESSION.ACTION='     ||NVL(session_rec.action              ,'Null')||crlf;
             msg := msg||'V$SESSION.ACTION_HASH='||NVL(TO_CHAR(session_rec.action_hash),'Null')||crlf;
             msg := msg||'V$SESSION.CLIENT_INFO='||NVL(session_rec.client_info         ,'Null')||crlf;
             msg := msg||'V$SESSION.FIXED_TABLE_SEQUENCE='||NVL(TO_CHAR(session_rec.fixed_table_sequence),'Null')||crlf;
             msg := msg||'V$SESSION.ROW_WAIT_OBJ#='  ||NVL(TO_CHAR(session_rec.row_wait_obj#)  ,'Null')||crlf;
             msg := msg||'V$SESSION.ROW_WAIT_FILE#=' ||NVL(TO_CHAR(session_rec.row_wait_file#) ,'Null')||crlf;
             msg := msg||'V$SESSION.ROW_WAIT_BLOCK#='||NVL(TO_CHAR(session_rec.row_wait_block#),'Null')||crlf;
             msg := msg||'V$SESSION.ROW_WAIT_ROW#='  ||NVL(TO_CHAR(session_rec.row_wait_row#)  ,'Null')||crlf;
             msg := msg||'V$SESSION.LOGON_TIME='     ||NVL(TO_CHAR(session_rec.logon_time,'DD-Mon-YYYY HH24:MI:SS'),'Null')||crlf;
             msg := msg||'V$SESSION.LAST_CALL_ET='   ||NVL(TO_CHAR(session_rec.last_call_et)   ,'Null')||crlf;
             msg := msg||'V$SESSION.PDML_ENABLED='   ||NVL(session_rec.pdml_enabled   ,'Null')||crlf;
             msg := msg||'V$SESSION.FAILOVER_TYPE='  ||NVL(session_rec.failover_type  ,'Null')||crlf;
             msg := msg||'V$SESSION.FAILOVER_METHOD='||NVL(session_rec.failover_method,'Null')||crlf;
             msg := msg||'V$SESSION.FAILED_OVER='    ||NVL(session_rec.failed_over    ,'Null')||crlf;
             msg := msg||'V$SESSION.RESOURCE_CONSUMER_GROUP='||NVL(session_rec.resource_consumer_group,'Null')||crlf;
             msg := msg||'V$SESSION.PDML_STATUS='    ||NVL(session_rec.pdml_status    ,'Null')||crlf;
             msg := msg||'V$SESSION.PDDL_STATUS='    ||NVL(session_rec.pddl_status    ,'Null')||crlf;
             msg := msg||'V$SESSION.PQ_STATUS='      ||NVL(session_rec.pq_status      ,'Null')||crlf;
             IF auditing THEN
                msg := msg||'DBA_AUDIT_TRAIL.OS_USERNAME='  ||NVL(audit_rec.os_username,'Null')||crlf;
                msg := msg||'DBA_AUDIT_TRAIL.USERNAME='     ||NVL(audit_rec.username   ,'Null')||crlf;
                msg := msg||'DBA_AUDIT_TRAIL.USERHOST='     ||NVL(audit_rec.userhost   ,'Null')||crlf;
                msg := msg||'DBA_AUDIT_TRAIL.TERMINAL='     ||NVL(audit_rec.terminal   ,'Null')||crlf;
                msg := msg||'DBA_AUDIT_TRAIL.TIMESTAMP='    ||TO_CHAR(audit_rec.timestamp,'DD-Mon-YYYY HH24:MI:SS')||crlf;
                msg := msg||'DBA_AUDIT_TRAIL.OWNER='        ||NVL(audit_rec.owner      ,'Null')||crlf;
                msg := msg||'DBA_AUDIT_TRAIL.OBJ_NAME='     ||NVL(audit_rec.obj_name   ,'Null')||crlf;
                msg := msg||'DBA_AUDIT_TRAIL.ACTION='       ||audit_rec.action   ||crlf;
                msg := msg||'DBA_AUDIT_TRAIL.ACTION_NAME='  ||NVL(audit_rec.action_name   ,'Null')||crlf;
                msg := msg||'DBA_AUDIT_TRAIL.NEW_OWNER='    ||NVL(audit_rec.new_owner     ,'Null')||crlf;
                msg := msg||'DBA_AUDIT_TRAIL.NEW_NAME='     ||NVL(audit_rec.new_name      ,'Null')||crlf;
                msg := msg||'DBA_AUDIT_TRAIL.OBJ_PRIVILEGE='||NVL(audit_rec.obj_privilege ,'Null')||crlf;
                msg := msg||'DBA_AUDIT_TRAIL.SYS_PRIVILEGE='||NVL(audit_rec.sys_privilege ,'Null')||crlf;
                msg := msg||'DBA_AUDIT_TRAIL.ADMIN_OPTION=' ||NVL(audit_rec.admin_option  ,'Null')||crlf;
                msg := msg||'DBA_AUDIT_TRAIL.GRANTEE='      ||NVL(audit_rec.grantee       ,'Null')||crlf;
                msg := msg||'DBA_AUDIT_TRAIL.AUDIT_OPTION=' ||NVL(audit_rec.audit_option  ,'Null')||crlf;
                msg := msg||'DBA_AUDIT_TRAIL.SES_ACTIONS='  ||NVL(audit_rec.ses_actions   ,'Null')||crlf;
                msg := msg||'DBA_AUDIT_TRAIL.LOGOFF_TIME='  ||NVL(TO_CHAR(audit_rec.logoff_time)  ,'Null')||crlf;
                msg := msg||'DBA_AUDIT_TRAIL.LOGOFF_LREAD=' ||NVL(TO_CHAR(audit_rec.logoff_lread) ,'Null')||crlf;
                msg := msg||'DBA_AUDIT_TRAIL.LOGOFF_PREAD=' ||NVL(TO_CHAR(audit_rec.logoff_pread) ,'Null')||crlf;
                msg := msg||'DBA_AUDIT_TRAIL.LOGOFF_LWRITE='||NVL(TO_CHAR(audit_rec.logoff_lwrite),'Null')||crlf;
                msg := msg||'DBA_AUDIT_TRAIL.LOGOFF_DLOCK=' ||NVL(audit_rec.logoff_dlock  ,'Null')||crlf;
                msg := msg||'DBA_AUDIT_TRAIL.COMMENT_TEXT=' ||NVL(audit_rec.comment_text  ,'Null')||crlf;
                msg := msg||'DBA_AUDIT_TRAIL.SESSIONID='    ||audit_rec.sessionid   ||crlf;
                msg := msg||'DBA_AUDIT_TRAIL.ENTRYID='      ||audit_rec.entryid     ||crlf;
                msg := msg||'DBA_AUDIT_TRAIL.STATEMENTID='  ||audit_rec.statementid ||crlf;
                msg := msg||'DBA_AUDIT_TRAIL.RETURNCODE='   ||audit_rec.returncode  ||crlf;
                msg := msg||'DBA_AUDIT_TRAIL.PRIV_USED='    ||NVL(audit_rec.priv_used,'Null')||crlf;
             END IF;
             msg := msg||'-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-'||crlf||crlf;
             -- write the message to the error log file
             log_file_handle := UTL_FILE.FOPEN (log_file_dir, log_file_name, 'A',maxlinesize);
             UTL_FILE.PUT_LINE(log_file_handle,msg);
             UTL_FILE.FCLOSE(log_file_handle);
             -- send the message by Email
             mail_conn := UTL_SMTP.open_connection(smtp_relay, mail_port);
             UTL_SMTP.HELO(mail_conn, smtp_relay);
             UTL_SMTP.MAIL(mail_conn, sender_address);
             UTL_SMTP.RCPT(mail_conn, recipient_address);
             UTL_SMTP.DATA(mail_conn, msg);
             UTL_SMTP.QUIT(mail_conn);
          END IF; -- client_program = MyProgram.exe
       END IF;
    END;
    /

Maybe you are looking for