Host with multiple AS2 Indentifiers

Hello all,
Is it possible in Oracle B2B to have multiple AS2 identifiers for the host trading partner? We have a customer that has multiple divisions; each division has their own AS2 Identifier/DUNS/etc. We would like to do this without setting up multiple instances of the B2B server - is this possible?
John

Hi Ramesh,
I'm in the same boat as John. To be precise, IHAC who wants to host both of their enterprises on the same instance of Oracle Integration. This way, they not only reduce total cost of deployment but also allow for sharing of document types across the two enterprises.
Questions:
1) Does your approach imply that document types cannot be shared across the dual hosts? Does it only work for outbound transactions? What if the dual hosts can act as both initiator and responder of the transaction?
2) To support exchange type of models, some competing vendors allow you to create multiple logical trading partner hosts in a single b2b deployment (I know for a fact that webMethods Trading Networks does). Can we simulate that behavior by creating two "Trading Partner Identifications" for the host TP (It looks like the TP create page does let you do that.) If so, can I create two TP IDs of the same type for the same TP?
In general, if you could shed more light on your previous note, especially with a tech note or something, that'd be great.
Regards,
Karthick

Similar Messages

  • How to configure one TREX host with multiple index servers ?

    Hi All,
    Does anyone know how to configure TREX on the one host,
    with multiple index servers ?
    Reason for this is to make better use of resources available on the host server(4 Gig, 4 Processor, Windows2003), to improve the search performance of
    our KM content for portal users.
    I am using TREX 7 and have not been able to do this,
    despite reading the Single and Distributed install
    documentation.
    Any help would be appreciated.
    Regards,
    Andres

    Hi Andres,
    To make use of the RAM a Server provides you have to run two indexserver processes (each can then consume 2 GB);
    Proceed like this:
    1. Go to TREXdeamon.ini; check if section [indexserver2] is there (it is already provided, but not active in standard installation)
    2. In TREXdeamon.ini go to
    [daemon]
    references sections below
    programs=nameserver,preprocessor1,indexserver1,queueserver,alertserver
    and add indexserver2 here. Restart TREX; second porcess is then started; can be checked in TREX monitor in Portal as well
    3. To distribute existing indexes to the new process, start TREXadmintool and go to Index: Landscape
    Go to the last two columns and move the indexes (move master here/secondary mouse click)
    If you don't distribute the indexes the new index server process will be regarded when an new index is created.
    Hope this helps!
    cheers
    Bettina

  • How to confiture virtual hosts with multiple domain names

    hello,
    I've read through some of the postings here on virtual hosts, but I thought I'd better solicit advice before I actually try some of the things I've read about.
    In a nutshell, I've purchased multiple domain names that I'd like to alias to a new site (currently it is just a subfolder in the main site directory) on my OS 10.3.x server. There is only the one main site configured right now on the box, so I know I need to set up a second "virtual site" pointing to the files in this subfolder to make it function as its own site.
    I've dabbled around with the sites settings in the GUI, but I'd probably be most comfortable setting all this up in the httpd.conf by hand if I could. But I'm weary of this because I know it might be better to use the GUI because of OS X Server's flavor of WebObjects and Apache (sigh).
    So, I have two main questions:
    1) How would I set up this second site using the GUI in server settings? Do I need to first move the subfolder out of the main folder before it can be designated its own site? Or can I just point to it in the GUI? Can I use one of my purchased domain names in the domain field?
    2) Currently, I have URL Forwarding set with my multiple domain names, but I'm thinking there might be a better way to do this? For SEO I'd rather use some type of redirect rather than being penalized by search engines for having what looks to be multiple domains pointing to the same site.I'm thinking I should create virtual sites for each domain name I've purchased with a hard redirect back to the main site?
    Any suggestions would be appreciated.
    Thanks
    G4 Mac OS X (10.3.9) 10.3.9 Server
    G4 Mac OS X (10.3.9) 10.3.9 Server

    thank you for your reply.
    > You can create each site as a new Site in Server
    Admin. When you do this you can choose any
    directory on disk as the document root for each
    site.This means you can move the sites' folders out of
    /Library/WebServer/Documents if you like - you could
    create /Library/WebServer/site1,
    /Library/WebServer/site2, etc. (or even be outside of
    /Library/WebServer if you want).
    so, are you are saying that I could designate one site to be
    /Library/WebServer/Documents/site1
    and another to be
    /Library/WebServer/Documents/site1/directory1
    even though directory1 is contained within site1's structure? I'm not advancing this as a good idea, necessarily. I'm just wondering if Apache would complain.
    > Each site should have the domain name set as per your
    registered domains. Apache will need this to
    determine the correct site to serve for each
    request.
    Well, after some additional research I'm thinking I'm missing a critical piece of the puzzle. That being access to the DNS host server that manages the context of my server. I have purchased domain names through an outside registrar that point to my site and I can create virtual hosts on my server, but I don't have the ability to add the new virtual host names into the DNS server that manages my box. If that makes sense. Or maybe I'm missing something?
    >
    I'm not sure why you're using URL forwarding at all.
    Without that piece of information it's impossible to
    tell you whether you should continue using them or
    not - in general there's no need to use URL
    forwarding if you have multiple Virtual Hosts setup,
    but it sounds like you have multiple hostnames
    pointing to the same content, so your needs may be
    different.
    I'm using forwarding for the reason I list above. I didn't purchase hosting with the registrar where I purchased my domain names, so they are parked on the registrar's name server with URL forwarding to my server. The DNS server that manages my box resides in a different location and I don't have the ability to add DNS entries pointing to virtual hosts that I want to set up. Am I stuck?
    G4 Mac OS X (10.3.9) 10.3.9 Server

  • Siebel 8.1.1.8 upgrade from 8.1.1.0 - host with multiple components

    Hi all,
    I'm running some tests of an update from Siebel SIA 8.1.1.0 to 8.1.1.8 in preparation for a Production upgrade. Our entire estate is Windows based, currently running Windows Server 2008. The update is not working as I expected.
    On one machine I have the Gateway and a Siebel Server (Object Manager). On another machine, I have a Siebel Server (eDocument).
    - Upgrading the single server (eDocument) using the new OUI installer seems to work fine
    - Upgrading the host with Gateway AND Siebel Server (Object Manager) seems to fail - where a DLL exists in both Gateway AND Server (i.e. sssaadmn.dll), only the Gateway DLL gets updated
    The result is that the Siebel Server (Object Manager) on the same host as the Gateway fails to start, with 'cannot load xxx.dll' appearing throughout the server and component logs. The single server (eDocument) seems to start fine with all components showing as 'Running' and visible through srvrmgr.
    Has anyone performed an update with the 8.1.1.8 OUI based installers and had a similar problem? Any idea how to resolve?
    Thanks for your thoughts!
    Oli

    Hi all,
    Looks like OUI can't cope with files with the Windows 'read only' attribute set. It will simply skip them altogether, without error. :(
    Anyway, unsetting the read only attribute across the SBA81 folder, prior to running the upgrade, seems to have resolved the problem for us.
    Regards,
    Oli

  • Mail address lookup in shared hosting with multiple address lists setup

    Hi, we have an Exchange 2013 environment for hosting purposes.
    One client uses two seperate company names (and domain names). These companies are seperated in Exchange and use seperate address lists. This client uses mail between the two domains.
    Let's say the domains are yin.com and yang.com. The users use Outlook Webmail and the Mac OSX builtin mailclient
    The problem is that when [email protected] sends email to [email protected], Bob is able to receieve the mail, but the email-address from Kevin is not included in the mail. It is just listed as Kevin, without any property.
    When Bob replies to the message from the OSX Mail client, it apparently tries to make up an address and generates something to the effect of this:
    Kevin </o=Hosting Company/ou=Exchange Administrative Group /cn=Recipients/cn=*longnumber*>
    This address is not correct and when sent, the email is bounced back with a NDR-report.
    When Bob replies to the message from OWA, the address is simply the name with no email-address. This also results in an NDR report.
    What can we do to make OWA or Mac mail keep the correct emailaddresses?

    Hi Nithyanandham,
    1. The cached addresses were removed, had no effect.
    2. Typing the address manually ([email protected]) works.
    3. Sending mail to an additional smtp address also works.
    4. Originally Kevin has one smtp address on his mailbox. There are no errors in them.
    5. This happens for all users who are sending mail between these two companies/address lists.
    6. Output of this command is as follows (replaced usersnames and domainnames to protect the innocent)
    [PS] C:\Windows\system32>get-mailbox -identity "Kevin"|fl
    RunspaceId : 2407ca9f-7e5a-466e-9230-d55c8e804380
    Database : MailBoxDB001
    Location :
    UseDatabaseRetentionDefaults : True
    RetainDeletedItemsUntilBackup : False
    DeliverToMailboxAndForward : False
    IsExcludedFromServingHierarchy : False
    LitigationHoldEnabled : False
    SingleItemRecoveryEnabled : False
    RetentionHoldEnabled : False
    EndDateForRetentionHold :
    StartDateForRetentionHold :
    RetentionComment :
    RetentionUrl :
    LitigationHoldDate :
    LitigationHoldOwner :
    LitigationHoldDuration : Unlimited
    ManagedFolderMailboxPolicy :
    RetentionPolicy :
    AddressBookPolicy : yin_ABP
    CalendarRepairDisabled : False
    ExchangeGuid : 23d17a76-cc3d-40db-ada7-5d72aa14384a
    MailboxContainerGuid :
    AggregatedMailboxGuids : {}
    ExchangeSecurityDescriptor : System.Security.AccessControl.RawSecurityDescriptor
    ExchangeUserAccountControl : None
    AdminDisplayVersion : Version 15.0 (Build 847.32)
    MessageTrackingReadStatusEnabled : True
    ExternalOofOptions : External
    ForwardingAddress :
    ForwardingSmtpAddress :
    RetainDeletedItemsFor : 14.00:00:00
    IsMailboxEnabled : True
    Languages : {nl-NL}
    OfflineAddressBook :
    ProhibitSendQuota : Unlimited
    ProhibitSendReceiveQuota : Unlimited
    RecoverableItemsQuota : 30 GB (32,212,254,720 bytes)
    RecoverableItemsWarningQuota : 20 GB (21,474,836,480 bytes)
    CalendarLoggingQuota : 6 GB (6,442,450,944 bytes)
    DowngradeHighPriorityMessagesEnabled : False
    ProtocolSettings : {MAPI§1§§§§§§§, IMAP4§1§§§§§§§§§§§§, HTTP§1§1§§§§§§, OWA§1, POP3§1§§§§§§§§§§§§
    RecipientLimits : Unlimited
    ImListMigrationCompleted : False
    IsResource : False
    IsLinked : False
    IsShared : False
    IsRootPublicFolderMailbox : False
    LinkedMasterAccount :
    ResetPasswordOnNextLogon : False
    ResourceCapacity :
    ResourceCustom : {}
    ResourceType :
    RoomMailboxAccountEnabled :
    SamAccountName : YIN-KBN
    SCLDeleteThreshold :
    SCLDeleteEnabled :
    SCLRejectThreshold :
    SCLRejectEnabled :
    SCLQuarantineThreshold :
    SCLQuarantineEnabled :
    SCLJunkThreshold :
    SCLJunkEnabled :
    AntispamBypassEnabled : False
    ServerLegacyDN : /o=Tao Hosting Services/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)
    /cn=Configuration/cn=Servers/cn=PHSSV1-005
    ServerName : phssv1-005
    UseDatabaseQuotaDefaults : False
    IssueWarningQuota : Unlimited
    RulesQuota : 64 KB (65,536 bytes)
    Office :
    UserPrincipalName : [email protected]
    UMEnabled : False
    MaxSafeSenders :
    MaxBlockedSenders :
    NetID :
    ReconciliationId :
    WindowsLiveID :
    MicrosoftOnlineServicesID :
    ThrottlingPolicy :
    RoleAssignmentPolicy : Default Role Assignment Policy
    DefaultPublicFolderMailbox :
    SharingPolicy : Default Sharing Policy
    RemoteAccountPolicy :
    MailboxPlan :
    ArchiveDatabase :
    ArchiveGuid : 00000000-0000-0000-0000-000000000000
    ArchiveName : {}
    JournalArchiveAddress :
    ArchiveQuota : 100 GB (107,374,182,400 bytes)
    ArchiveWarningQuota : 90 GB (96,636,764,160 bytes)
    ArchiveDomain :
    ArchiveStatus : None
    ArchiveState : None
    RemoteRecipientType : None
    DisabledArchiveDatabase :
    DisabledArchiveGuid : 00000000-0000-0000-0000-000000000000
    QueryBaseDN :
    QueryBaseDNRestrictionEnabled : False
    MailboxMoveTargetMDB :
    MailboxMoveSourceMDB :
    MailboxMoveFlags : None
    MailboxMoveRemoteHostName :
    MailboxMoveBatchName :
    MailboxMoveStatus : None
    MailboxRelease :
    ArchiveRelease :
    IsPersonToPersonTextMessagingEnabled : True
    IsMachineToPersonTextMessagingEnabled : True
    UserSMimeCertificate : {}
    UserCertificate : {}
    CalendarVersionStoreDisabled : False
    ImmutableId :
    PersistedCapabilities : {}
    SKUAssigned :
    AuditEnabled : False
    AuditLogAgeLimit : 90.00:00:00
    AuditAdmin : {Update, Move, MoveToDeletedItems, SoftDelete, HardDelete, FolderBind, SendAs,
    SendOnBehalf, Create}
    AuditDelegate : {Update, SoftDelete, HardDelete, SendAs, Create}
    AuditOwner : {}
    WhenMailboxCreated : 22-1-2014 10:12:00
    SourceAnchor :
    UsageLocation :
    IsSoftDeletedByRemove : False
    IsSoftDeletedByDisable : False
    IsInactiveMailbox : False
    IncludeInGarbageCollection : False
    WhenSoftDeleted :
    InPlaceHolds : {}
    Extensions : {}
    HasPicture : False
    HasSpokenName : False
    AcceptMessagesOnlyFrom : {}
    AcceptMessagesOnlyFromDLMembers : {}
    AcceptMessagesOnlyFromSendersOrMembers : {}
    AddressListMembership : {\yin_GAL, \yin_AL, \Mailboxes(VLV), \All Mailboxes(VLV), \All Recipient
    s(VLV), \Default Global Address List}
    Alias : kevin_yin.com
    ArbitrationMailbox :
    BypassModerationFromSendersOrMembers : {}
    OrganizationalUnit : phs.local/Hosting/yin
    CustomAttribute1 :
    CustomAttribute10 :
    CustomAttribute11 :
    CustomAttribute12 :
    CustomAttribute13 :
    CustomAttribute14 :
    CustomAttribute15 :
    CustomAttribute2 : yin
    CustomAttribute3 :
    CustomAttribute4 :
    CustomAttribute5 :
    CustomAttribute6 :
    CustomAttribute7 :
    CustomAttribute8 :
    CustomAttribute9 :
    ExtensionCustomAttribute1 : {}
    ExtensionCustomAttribute2 : {}
    ExtensionCustomAttribute3 : {}
    ExtensionCustomAttribute4 : {}
    ExtensionCustomAttribute5 : {}
    DisplayName : Kevin
    EmailAddresses : {X500:/O=TAO HOSTING SERVICES/OU=EXCHANGE ADMINISTRATIVE GROUP /CN=RECIPIE
    NTS/CN=665EE4639A4D47ABAB470761E386AF05, SMTP:[email protected]}
    GrantSendOnBehalfTo : {}
    ExternalDirectoryObjectId :
    HiddenFromAddressListsEnabled : False
    LastExchangeChangedTime :
    LegacyExchangeDN : /o=Tao Hosting Services/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)
    /cn=Recipients/cn=665ee4639a4d47abab470761e386af05
    MaxSendSize : Unlimited
    MaxReceiveSize : Unlimited
    ModeratedBy : {}
    ModerationEnabled : False
    PoliciesIncluded : {}
    PoliciesExcluded : {{26491cfc-9e50-4857-861b-0cb8df22b5d7}}
    EmailAddressPolicyEnabled : False
    PrimarySmtpAddress : [email protected]
    RecipientType : UserMailbox
    RecipientTypeDetails : UserMailbox
    RejectMessagesFrom : {}
    RejectMessagesFromDLMembers : {}
    RejectMessagesFromSendersOrMembers : {}
    RequireSenderAuthenticationEnabled : False
    SimpleDisplayName :
    SendModerationNotifications : Always
    UMDtmfMap : {reversedPhone:63900611613+, lastNameFirstName:8262522337367653, firstNameLast
    Name:7653826252233736, emailAddress:7653}
    WindowsEmailAddress : [email protected]
    MailTip :
    MailTipTranslations : {}
    Identity : phs.local/Hosting/yin/Kevin
    IsValid : True
    ExchangeVersion : 0.20 (15.0.0.0)
    Name : Kevin
    DistinguishedName : CN=Kevin,OU=yin,OU=Hosting,DC=phs,DC=local
    Guid : f9ac1bfa-e174-4922-86a9-7698f30ac54e
    ObjectCategory : phs.local/Configuration/Schema/Person
    ObjectClass : {top, person, organizationalPerson, user}
    WhenChanged : 20-11-2014 12:42:16
    WhenCreated : 14-1-2014 13:05:03
    WhenChangedUTC : 20-11-2014 11:42:16
    WhenCreatedUTC : 14-1-2014 12:05:03
    OrganizationId :
    OriginatingServer : PHSSV1-001.phs.local
    ObjectState : Unchanged
    [PS] C:\Windows\system32>

  • Installing ITS on a host with MULTIPLE IP'S

    i need to install the 4 ITS instances (Admin, R/3,B/W & SEM) on on ehost with 4 IP's.... each IP has been assigned to a web site on the IIS (which will be used to access the ITS)...
    how do i do this ???????

    You can either use different IP addresses for each ITS instance or use port numbers to differentiate the instances. When you install ITS, simply specify the website it gonna reside. Since you are hosting 4 instances with different IPs on the same box, you need to udate the hosts files with these information for proper name resolution and also in DNS if you may use in your organization.

  • Excessive system CPU time on Solaris 10 host with multiple zones

    We current have three T2000s running Solaris 10 with all of the latest patches installed. Each machine is identically configured with a single, 1.2GHz 8-core CPU & 32GB RAM. Two of the three are in our production environment and have three zones serving users' needs (Oracle app servers, to be specific).
    The third server is our test environment, and it hosts 5 zones. Four of the five zones are similar to those in our production environment (running Oracle or other J2EE app servers). The fifth zone is running eight Oracle RDBMS instances - seven at 9.2, one at 10.2. As this is a test environment, those instances are configured to use a modest amount of system resources.
    We are seeing an odd behavior that at first blush appeared to imply that we had put too much on this single server. However, after looking into it more closely, I'm now thinking that what we are seeing may in fact be some sort of OS issue.
    Specifically, when monitoring the server load in the global zone, we will see sudden spikes in the load factor, jumping above 20.00 and staying there for a minute or two, then dropping down to 3.00-6.00. During the time that the load is very high, vmstat reveals that an inordinate amount of CPU time is being spent in the kernel.
    For example:
    kthr      memory            page            disk          faults      cpu
    r b w   swap  free  si  so pi po fr de sr m1 m1 m1 m2   in   sy   cs us sy id
    0 0 0 62970776 1092640 0 0  0  3  2  0  0  0  0  0  0 3056 21548 5902 4  3 93
    0 0 0 62974184 1094632 0 0  0  8  6  0  0  0  0  0  0 3000 17155 5755 3  1 95
    0 0 0 62971736 1091760 0 0  0  3  2  0  0  0  0  0  0 2982 20254 5754 4  2 94
    0 0 0 62974080 1094424 0 0  0  3  2  0  0  0  0  0  0 3041 18316 5842 4  1 95
    0 0 0 62967808 1088256 0 0  0  3  3  0  0  0  0  0  0 3250 18788 6118 4 11 85
    0 0 0 62880504 1081528 0 0  0  2  2  0  0  0  0  0  0 3673 14910 6549 3 31 66
    0 0 0 62899936 1078272 0 0  0  0  0  0  0  0  0  0  0 3415 14216 6069 4 33 63
    0 0 0 62928744 1075224 0 0  0  5  5  0  0  0  0  0  0 4100 14889 7592 4 50 46
    1 0 0 62870280 1068096 0 0  0  0  0  0  0  0  0  0  0 4388 12581 8186 5 74 21
    5 0 0 62860552 1062064 0 0 51  0  0  0  0  0  0  0  0 4856 12904 9275 5 79 17
    11 0 0 62837472 1054064 0 0 0  5  5  0  0  0  0  0  0 4350 11576 9084 4 89  7
    15 0 0 62860376 1045088 0 0 0  0  0  0  0  0  0  0  0 4491 10718 8954 4 93  3
    19 0 0 62828208 1034744 0 0 0  2  2  0  0  0  0  0  0 4392 10194 9308 4 93  3
    5 0 0 62884880 1029232 0 0  0  5  5  0  0  0  0  0  0 4860 10864 9716 5 93  2
    0 0 0 62888088 1026552 0 0  0  0  0  0  0  0  0  0  0 4551 11987 8814 5 88  7
    0 0 0 62861944 1014688 0 0  0  0  0  0  0  0  0  0  0 4612 13246 8972 5 91  4
    1 0 0 62866912 1009992 0 0  2  5  5  0  0 11 11 11  0 4551 15213 9024 6 91  3
    0 0 0 62911632 1043184 0 0 88  3  3  0  0  4  2  2  0 4105 42573 7913 12 42 46
    0 0 0 62962560 1082128 0 0 13  2  2  0  0  5  3  2  0 3107 19107 5853 4  2 94Note that when the load first spikes, there are very few jobs in the run queue. Of course, as the kernel monopolizes more and more of the CPU time, the number of jobs in the run queue builds until such time as the kernel relinquishes the CPU and the user jobs are serviced.
    I have never seen this kind of vmstat output in the 20 years that I've been administering Sun servers, though I must admit that these three T2ks are the first multi-core, zoned machines that I have experience with.
    So do I have something configured wrong, do we have too many services configured for this one machine to handle, or is there indeed and OS issue involved here?
    Thanks,
    Bill

    Darren,
    Thanks for the feedback. I ran the hotkernel script on both a low-loaded and a higher loaded system (only saw my sys time reach about 60% compared to the 90+ I was seeing yesterday). Here are the 10 most frequently called kernel functions on the normal system:
    SUNW,UltraSPARC-T1`bcopy                                 1016   0.1%
    unix`mutex_vector_enter                                  1059   0.1%
    unix`disp_getwork                                        1093   0.1%
    unix`page_freelist_coalesce                              1512   0.2%
    zfs`fletcher_2_native                                    1519   0.2%
    SUNW,UltraSPARC-T1`copyin                                1546   0.2%
    SUNW,UltraSPARC-T1`copyout                               1602   0.2%
    unix`page_trylock                                        1789   0.2%
    unix`mutex_enter                                         1848   0.2%
    unix`cpu_halt                                          762334  95.3%Here's the top 10 when the system is getting pounded:
    unix`disp_getwork                                         495   0.1%
    unix`page_freelist_coalesce                               525   0.2%
    unix`page_geti_contig_pages                              6637   2.0%
    unix`page_unlock_noretire                               10124   3.0%
    unix`mutex_exit                                         10652   3.1%
    unix`page_trylock_contig_pages                          11461   3.4%
    unix`mutex_vector_enter                                 12785   3.8%
    unix`mutex_enter                                        14907   4.4%
    unix`page_trylock                                       50461  14.9%
    unix`cpu_halt                                          211391  62.2%Any thoughts as to what this implies?
    Thanks,
    Bill

  • Using authorized-hosts with multiple NICs

    I'm trying to limit cluster/grid membership using the authorized-hosts attribute, and I need to specify which Ethernet port is used when I start Coherence (or which one(s) to ignore). We have a "private" network setup that we want to run Coherence on, and the default NIC/port 0 is not part of that network.
    So I need to tell Coherence to use a specific port when it starts and not just the first IP port/address it finds. Is there a way to specify which NIC/IP address Coherence uses when it creates/joins the cluster?
    Following is the override file I place into tangosol-coherence-override.xml. This file is in the classpath before coherence.jar when i start my JVM.
    <?xml version='1.0'?>
    <!--
    This operational configuration override file is set up for use with Coherence in
    a development mode.
    -->
    <coherence xml-override="/tangosol-coherence-override.xml">
    <cluster-config>
         <authorized-hosts>
         <host-address id="1">172.16.1.1</host-address>
         <host-address id="2">172.16.1.2</host-address>
         <host-address id="3">172.16.2.1</host-address>
         <host-address id="4">172.16.2.2</host-address>
         </authorized-hosts>
    </cluster-config>
    </coherence>
    Thanks in advance for your help.
    Stacy Maydew

    Hi Stacy,
    it is possible to bind all Coherence traffic to a single network interface using the -Dtangosol.coherence.localhost=xxx.yyy.aaa.bbb and -Dtangosol.coherence.localport=xyzab which specifies which ip address and port to use for sending and receiving.
    Alternatively you can use an operational configuration override file which specifies the unicast-listener configuration element (see the link for more information).
    You may would also need to specify the -Djava.net.preferIPv4Stack Java property if your operating system/kernel also has IPv6 enabled and you want to use an IPv4 address, otherwise we saw packets lost due to them travelling on different interfaces.
    Best regards,
    Robert

  • Outgoing server settings for MAC MAIL with multiple accounts?!

    if i got paid to do this, my outgoing mail server issues would be somewhat amusing but as it stands they are really extremely annoying.
    i have multiple email accounts (multiple addresses with multiple hosts - gmails, domain based email, me.com address etcetera).
    does ANYONE know if there is an FAQ on what is recommended with respect to the settings on whether to tell mail to ONLY USE the one outgoing server and/or anything with the other settings?
    i feel like i am in a pachinko parlor when i send mail because there is constantly an error of some kind and then i try dropping the mail through a different outgoing server by selecting a different one from the list and i just do this until it goes out. oftentimes i don't find out it didn't go out until the NEXT DAY becasue i am working and this alert gets hidden behind my other windows where i do actual productive work.
    any ideas? i have two domain based websites (multiple emails with two SMTP addresses), two GMail accounts and me.com...
    THANKS!

    hi. CS. thanks.
    do you know what this does as a practical matter? i mean, is it NECESSARY to check this box? will it try other outgoing servers and NOT WORK if you don't check this box? conversely, will it NOT try other outgouing servers if this one is unavailable if i check this (presumably the answer is yes here). i mean - am i likely to run into fewer problems by checking this box and i assume it is necessary to use the OUTGOING SERVER of the actual domain you are trying to send mail from as opposed to - for example - using GMAIL outgoing server for everything because you think you will get less errors than sending from your email domain outgoing server.
    you know what i am saying? i mean, i get a bootload of errors and actually can't send mail these days even though Connection Doctor is telling me everything is hunky dory.
    also, what is meant by "Offline"? do i have to go in and tell it to take everything on line for some reason and is this totally separate (telling it to go online) from checking things in Connection Doctor?
    THANK YOU

  • How to use one PSE with multiple URLs?

    I need to hit my DMZ SAP Web Dispatcher with multiple unique URLs.  I am starting off using webdisp1.abc.com and webdisp2.vde.com.  DNS will resolve both the Web Dispatcher Host.  Following Tobias Winterhalter's Blog: Name-based virtual hosts and one SAP Web Dispatcher to access multiple SAP systems.
    My question is how do I go about generating the pse so I can store both webdisp1.abc.com and webdisp2.vde.com?  Do I just import the first request and initiate another certificate request using the same pse?
    Example
    sapgenpse gen_pse -s 2048 -p D:\<file path>\SAPSSLS.pse -r D:\<file path>\webdisp1.req CN=webdisp1.abc.com, OU=IT, O=XYZ Inc., C=US
    Cheers,
    Dan Mead

    Hi Daniel,
    what you are looking for are so called SAN certificates. As Martin said, with sapgenpse you are pretty out of luck. However you can create the certificates using openssl and then use sapgenpse to import them into a pse. There are a number of guides on how to create SAN certificates on the web, like the one mentioned by Martin from CAcert (which is one of the best imho) or this one. And there are also guides on the internet on how to convert OpenSSL keys to PSE.
    You should however keep in mind, that SAN certificates are more expensive than standard certificates. Therefor they only pay if the hostnames in there are stable for the lifetime of the certificate. If the hostnames need to change once a year, you already will be better off (from a cost perspective) by creating one pse per hostname an let the webdispatcher listen to different addresses, as each hostname requires a new certificate signed by the CA.
    Please also make sure, the systems and browsers connecting to your webservers are able to understand SAN certificates. For SAP systems this requires at least pl24 of the sapcryptolib.
    Kind regards,
    Patrick

  • Timesten replication with multiple interfaces sharing the same hostname

    Hi,
    we have in our environment two Sun T2000 nodes, running SunOS 5.10 and hosting a TT server currently in Release 7.0.5.9.0, replicated between each other.
    I would like to have some more information on the behavior of the replication w.r.t. network reliability when using two interfaces associated to the same hostname, the one used to define the replication element.
    To make an example we have our nodes sharing this common /etc/hosts elements:
    151.98.227.5 TBMAS10df2 TBMAS10df2-10 TBMAS10df2-ttrep
    151.98.226.5 TBMAS10df2 TBMAS10df2-01 TBMAS10df2-ttrep
    151.98.227.4 TBMAS9df1 TBMAS9df1-10 TBMAS9df1-ttrep
    151.98.226.4 TBMAS9df1 TBMAS9df1-01 TBMAS9df1-ttrep
    with the following element defined for replication:
    ALTER REPLICATION REPLSCHEME
    ADD ELEMENT HDF_GNP_CDPN_1 TABLE HDF_GNP_CDPN
    CHECK CONFLICTS BY ROW TIMESTAMP
    COLUMN ConflictResTimeStamp
    REPORT TO '/sn/sps/HDF620/datamodel/tt41dataConflict.rpt'
    MASTER tt41data ON "TBMAS9df1-ttrep"
    SUBSCRIBER tt41data ON "TBMAS10df2-ttrep"
    RETURN RECEIPT BY REQUEST
    ADD ELEMENT HDF_GNP_CDPN_2 TABLE HDF_GNP_CDPN
    CHECK CONFLICTS BY ROW TIMESTAMP
    COLUMN ConflictResTimeStamp
    REPORT TO '/sn/sps/HDF620/datamodel/tt41dataConflict.rpt'
    MASTER tt41data ON "TBMAS10df2-ttrep"
    SUBSCRIBER tt41data ON "TBMAS9df1-ttrep"
    RETURN RECEIPT BY REQUEST;
    On this subject moving from 6.0.x to 7.0.x there has been some changes I would like to better understand.
    6.0.x reported in the documentation for Unix systems:
    If a host contains multiple network interfaces (with different IP addresses),
    TimesTen replication tries to connect to the IP addresses in the same order as
    returned by the gethostbyname call. It will try to connect using the first address;
    if a connection cannot be established, it tries the remaining addresses in order
    until a connection is established.
    Now On Solaris I don't know how to let gethostbyname return more than one interface (the documention notes at this point:
    If you have multiple network interface cards (NICs), be sure that “multi
    on” is specified in the /etc/host.conf file. Otherwise, gethostbyname will not
    return multiple addresses).
    But I understand this could be valid for Linux based systems not for Solaris.
    Now if I properly understand the above, how was the 6.0.x able to realize the first interface in the list (using the same -ttrep hostname) was down and use the other, if gethostbyname was reporting only a single entry ?
    Once upgraded to 7.0.x we realized the ADD ROUTE option was added to teach TT how to use different interfaces associated to the same hostname. In our environment we did not include this clause, but still the replication was working fine regardless of which interface we were bringing down.
    My both questions in the end lead to the same doubt on which is the algorithm used by TT to reach the replicated node w.r.t. entries in the /etc/hosts.
    Looking at the nodes I can see that by default both routes are being used:
    TBMAS10df2:/-# netstat -an|grep "151.98.227."
    151.98.225.104.45312 151.98.227.4.14000 1049792 0 1049800 0 ESTABLISHED
    151.98.227.5.14005 151.98.227.4.47307 1049792 0 1049800 0 ESTABLISHED
    151.98.227.5.14005 151.98.227.4.48230 1049792 0 1049800 0 ESTABLISHED
    151.98.227.5.46050 151.98.227.4.14005 1049792 0 1049800 0 ESTABLISHED
    TBMAS10df2:/-# netstat -an|grep "151.98.226."
    151.98.226.5.14000 151.98.226.4.47699 1049792 0 1049800 0 ESTABLISHED
    151.98.226.5.14005 151.98.226.4.47308 1049792 0 1049800 0 ESTABLISHED
    151.98.226.5.44949 151.98.226.4.14005 1049792 0 1049800 0 ESTABLISHED
    Tried to trace with ttTraceMon but once I brought down one of the interfaces did not see any reaction on either node, if you have some info it would be really appreciated !
    Cheers,
    Mike

    Hi Chris,
    Thanks for the reply, I have few more queries on this.
    1.Using the ROUTE CLAUSE we can use multiple IPs using priority level set, so that if highest priority level set in thr ROUTE clause for the IP is not active it will fall back to the next level priority 2 set IP. But cant we use ROUTE clause to use the multiple route IPs for replication simultaneously?
    2. can we execute multiple schema for the same DSN and replication scheme but with different replication route IPs?
    for example:
    At present on my system, I have a replication scheme running for a specific DSN with stand alone Master-Subscriber mechanism, with a specific route IP through VLAN-xxx for replication.
    Now I want to create and start another replication scheme for the same DSN and replication mechanism with a different VLAN-yyy route IP to be used for replication in parallel to the existing replication scheme. without making any changes to the pre-existing replication scheme.
    for the above scenarios, will there be any specific changes respective to the different replication schema mechanism ie., Active Standby and Standalone Master Subscriber mechanism etc.,
    If so what are the steps. like how we need to change the existing schema?
    Thanks In advance.
    Naveen

  • Using single SMB share with multiple Hyper-V clusters

    Hello,
    I'm trying to find out if I can use a single SMB share with multiple Hyper-V Clusters. Looking at:
    How to Assign SMB 3.0 File Shares to Hyper-V Hosts and Clusters in VMM
    I think it's possible. Since the File Server is going to handle the file locking it shouldn't be a problem.
    Has anyone tried that?
    Thank you in advance!

    Hello,
    I'm not sure that's possible, I get this from this statement:"Assign the share—Assign
    the share to a virtual machine host or cluster."
    Even if it worked I wouldn't do that. Why don't  you just create multiple shares?

  • Sending mail with multiple attachments

    hi.I wrote a code to send mail.but i need to send mail with multiple attachments.here is the code i wrote.what should i do to send the mail with multiple attachments.if i run this code iam able to send mails but not attachments.please help me
    <%@ page import="javax.mail.*,javax.mail.internet.*,java.util.Date,java.io.*,java.net.InetAddress,java.sql.*,java.util.Properties,java.net.*,javax.sql.*,javax.activation.*,java.util.*,java.text.*" %>
    <%@ page import="java.io.*,java.sql.*,java.net.*,java.util.*,java.text.*" %>
    <%
         String Attachfiles1="";
         String Attachfiles2="";
    String Attachfiles3="";
    if("Send".equalsIgnoreCase("send"))
              try
         String subject="",from="",url = null,to="";
         String mailhost = "our local host";
         Properties props = System.getProperties();
         String msg_txt="";
         String strStatus="";
    // byte[] bin=.....;
    //Adds Attechment:
    Multipart multipart = new MimeMultipart();
    BodyPart messageBodyPart = new MimeBodyPart();
    messageBodyPart.setText("Here are my attachments");
    multipart.addBodyPart(messageBodyPart);
    messageBodyPart = new MimeBodyPart();
    //first attachment
    DataSource source = new FileDataSource("C:\\img1.jpg");
    messageBodyPart.setDataHandler(new DataHandler(source));
    messageBodyPart.setFileName("C:\\Telnor1.jpg");
    multipart.addBodyPart(messageBodyPart);
    //Second attachment
    DataSource source2 = new FileDataSource("C:\\img2.jpg");
    messageBodyPart.setDataHandler(new DataHandler(source2));
    messageBodyPart.setFileName("C:\\Telnor2.jpg");
    multipart.addBodyPart(messageBodyPart);
    //etc...
    message.setContent(multipart);
    Transport.send( message );
    String mailer = "MyMailerProgram";
    to=request.getParameter("to");
    from=request.getParameter("from");
    subject=request.getParameter("subject");
    msg_txt=request.getParameter("message");
    props.put("mail.smtp.host", mailhost);
    Session mailsession = Session.getDefaultInstance(props, null);
    Message message = new MimeMessage(mailsession);
    message.setFrom(new InternetAddress(from));
    message.setRecipients(Message.RecipientType.TO,InternetAddress.parse(to, false));
    message.setSubject(subject);
    message.setHeader("X-Mailer", mailer);
    message.setSentDate(new Date());
    message.setText(msg_txt);
    BodyPart messageBodyPart = new MimeBodyPart();
    BodyPart messageBodyPart2 = new MimeBodyPart();
    Multipart multipart = new MimeMultipart(); // to add many part to your messge
    messageBodyPart = new MimeBodyPart();
    javax.activation.DataSource source = new javax.activation.FileDataSource("path of the file");
    messageBodyPart.setDataHandler(new DataHandler(source));
    messageBodyPart.setFileName("file_name");
    messageBodyPart2.setText("message"); // set the txt message
    multipart.addBodyPart(messageBodyPart);
    multipart.addBodyPart(messageBodyPart2);
    Transport.send(message);
    out.println("Message Sent");
    catch (Exception e)
    e.printStackTrace();
    if("Attachfiles".equalsIgnoreCase("attachfiles"))
    Attachfiles1=request.getParameter("fieldname1");
    Attachfiles2=request.getParameter("fieldname2");
    Attachfiles3=request.getParameter("fieldname3");
    %>
    <html>
    <body>
    <div class="frame">
         <form action="Composemail.jsp" method="post">
              <b>SelectPosition:</b> <select name="cars" >
    <option value="ABAP">ABAP
    <option value="saab">Saab
    <option value="fiat">Fiat
    <option value="audi">Audi
    </select><br><br>
    <table border="1" cellpadding="2" cellspacing="2">
    <tr><th>Name</th>
    <th>EmailId</th>
    <th>ContactNumber</th>
    <th>Position</th>
    </tr>
    <tr>
    <td>
    </td>
    </tr>
    </table><br>
    <b>SelectUser :</b><select name="cars">
    <option value="Administrator">Administrator
    <option value="saab">Saab
    <option value="fiat">Fiat
    <option value="audi">Audi
    </select>
    <br>
    <b>To :</b>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<input type="text" name="to" size="72"><br>
    <b>From :</b>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<input type="text" name="from" size="72"><br>
    <b>Subject :</b>&nbsp&nbsp&nbsp<input type="text" name="subject" size="72"><br>
    <%=Attachfiles1%><br><%=Attachfiles2%><br><%=Attachfiles3%><br><br>
    <b>Message:</b><br>
    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<textarea rows="10" cols="50" name="message">
    </textarea> <br><br>
    <b>AttachedFile:</b>&nbsp<input type="file" name="fieldname1" value="filename" size="50"><br><br>
    <b>AttachedFile:</b>&nbsp<input type="file" name="fieldname2" value="filename" size="50"><br><br>
    <b>AttachedFile:</b>&nbsp<input type="file" name="fieldname3" value="filename" size="50"><br><br>
    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<input type="submit" name="attachfiles" value="Attachfiles">
    <center>
    <input type="submit" name="send" value="Send" >
    </center>
    </form>
    </div>
    </body>
    </html>

    Create a separate MimeBodyPart object for each attachment, rather than reusing
    the same one over and over.

  • Sending UTL_SMTP mail with Multiple attachment

    Hi,
    My Environment ----> Oracle Database 11g r1 on Windows 2003 Server (64Bit).
    The below script i used for sending mail with single attachment now i am trying to send mail with multiple attachment please tell me how to achieve this
    DECLARE
    /*LOB operation related varriables */
    v_src_loc BFILE := BFILENAME('DATA_PUMP_DIR', 'EXPORT.LOG');
    l_buffer RAW(54);
    l_amount BINARY_INTEGER := 54;
    l_pos INTEGER := 1;
    l_blob BLOB := EMPTY_BLOB;
    l_blob_len INTEGER;
    v_amount INTEGER;
    /*UTL_SMTP related varriavles. */
    v_connection_handle UTL_SMTP.CONNECTION;
    v_from_email_address VARCHAR2(30) := '[email protected]';
    v_to_email_address VARCHAR2(30) := '[email protected]';
    v_smtp_host VARCHAR2(30) := 'MAIL.EXPORT.COM'; --My mail server, replace it with yours.
    v_subject VARCHAR2(30) := 'MULTIPLE Attachment Test';
    l_message VARCHAR2(200) := 'TEST Mail for Multiple Attachment';
    /* This send_header procedure is written in the documentation */
    PROCEDURE send_header(pi_name IN VARCHAR2, pi_header IN VARCHAR2) AS
    BEGIN
    UTL_SMTP.WRITE_DATA(v_connection_handle,
    pi_name || ': ' || pi_header || UTL_TCP.CRLF);
    END;
    BEGIN
    /*Preparing the LOB from file for attachment. */
    DBMS_LOB.OPEN(v_src_loc, DBMS_LOB.LOB_READONLY); --Read the file
    DBMS_LOB.CREATETEMPORARY(l_blob, TRUE); --Create temporary LOB to store the file.
    v_amount := DBMS_LOB.GETLENGTH(v_src_loc); --Amount to store.
    DBMS_LOB.LOADFROMFILE(l_blob, v_src_loc, v_amount); -- Loading from file into temporary LOB
    l_blob_len := DBMS_LOB.getlength(l_blob);
    /*UTL_SMTP related coding. */
    v_connection_handle := UTL_SMTP.OPEN_CONNECTION(host => v_smtp_host);
    UTL_SMTP.HELO(v_connection_handle, v_smtp_host);
    UTL_SMTP.MAIL(v_connection_handle, v_from_email_address);
    UTL_SMTP.RCPT(v_connection_handle, v_to_email_address);
    UTL_SMTP.OPEN_DATA(v_connection_handle);
    send_header('From', '"Sender"');
    send_header('To', '"Recipient"');
    send_header('Subject', v_subject);
    --MIME header.
    UTL_SMTP.WRITE_DATA(v_connection_handle,
    'MIME-Version: 1.0' || UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle,
    'Content-Type: multipart/mixed; ' || UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle,
    ' boundary= "' || 'SAUBHIK.SECBOUND' || '"' ||
    UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
    -- Mail Body
    UTL_SMTP.WRITE_DATA(v_connection_handle,
    '--' || 'SAUBHIK.SECBOUND' || UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle,
    'Content-Type: text/plain;' || UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle,
    ' charset=US-ASCII' || UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle, l_message || UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
    -- Mail Attachment
    UTL_SMTP.WRITE_DATA(v_connection_handle,
    '--' || 'SAUBHIK.SECBOUND' || UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle,
    'Content-Type: application/octet-stream' ||
    UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle,
    'Content-Disposition: attachment; ' || UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle,
    ' filename="' || 'export.log' || '"' || --My filename
    UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle,
    'Content-Transfer-Encoding: base64' || UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
    /* Writing the BLOL in chunks */
    WHILE l_pos < l_blob_len LOOP
    DBMS_LOB.READ(l_blob, l_amount, l_pos, l_buffer);
    UTL_SMTP.write_raw_data(v_connection_handle,
    UTL_ENCODE.BASE64_ENCODE(l_buffer));
    UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
    l_buffer := NULL;
    l_pos := l_pos + l_amount;
    END LOOP;
    UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
    -- Close Email
    UTL_SMTP.WRITE_DATA(v_connection_handle,
    '--' || 'SAUBHIK.SECBOUND' || '--' || UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle,
    UTL_TCP.CRLF || '.' || UTL_TCP.CRLF);
    UTL_SMTP.CLOSE_DATA(v_connection_handle);
    UTL_SMTP.QUIT(v_connection_handle);
    DBMS_LOB.FREETEMPORARY(l_blob);
    DBMS_LOB.FILECLOSE(v_src_loc);
    EXCEPTION
    WHEN OTHERS THEN
    UTL_SMTP.QUIT(v_connection_handle);
    DBMS_LOB.FREETEMPORARY(l_blob);
    DBMS_LOB.FILECLOSE(v_src_loc);
    RAISE;
    END;
    Thank you
    Shan

    Hi Saubhik
    Thanks for your reply, below script i used to send mail with multiple attachments, plsql code is executing without any error messages and i am also able to receive mail with the multiple attachment.
    i used your code which u posted in OTN then i changed little bit as per my need, output is ok.but the problem is if i want to add one more file then i have to add more varaiables in the code. i want to make the code which i can add more attachments without adding more varaiables i don't know the way to do this. can u please give me some hints.
    Thanks for your help
    Shan
    Script Used:
    DECLARE
    /*LOB operation related varriables01 */
    v_src_loc BFILE := BFILENAME('DATA_PUMP_DIR', 'EXPORT.LOG');
    l_buffer RAW(54);
    l_amount BINARY_INTEGER := 54;
    l_pos INTEGER := 1;
    l_blob BLOB := EMPTY_BLOB;
    l_blob_len INTEGER;
    v_amount INTEGER;
    /*LOB operation related varriables02 */
    v_src_loc2 BFILE := BFILENAME('DATA_PUMP_DIR', 'EXPORT1.LOG');
    l_buffer2 RAW(54);
    l_amount2 BINARY_INTEGER := 54;
    l_pos2 INTEGER := 1;
    l_blob2 BLOB := EMPTY_BLOB;
    l_blob_len2 INTEGER;
    v_amount2 INTEGER;
    /*UTL_SMTP related varriavles. */
    v_connection_handle UTL_SMTP.CONNECTION;
    v_from_email_address VARCHAR2(30) := '[email protected]';
    v_to_email_address VARCHAR2(30) := '[email protected]';
    v_smtp_host VARCHAR2(30) := 'MAIL.EXPORT.COM'; --My mail server, replace it with yours.
    v_subject VARCHAR2(30) := 'MULTIPLE Attachment Test';
    l_message VARCHAR2(200) := 'TEST Mail for Multiple Attachment';
    /* This send_header procedure is written in the documentation */
    PROCEDURE send_header(pi_name IN VARCHAR2, pi_header IN VARCHAR2) AS
    BEGIN
    UTL_SMTP.WRITE_DATA(v_connection_handle,
    pi_name || ': ' || pi_header || UTL_TCP.CRLF);
    END;
    BEGIN
    /*Preparing the LOB from file for attachment01. */
    DBMS_LOB.OPEN(v_src_loc, DBMS_LOB.LOB_READONLY); --Read the file
    DBMS_LOB.CREATETEMPORARY(l_blob, TRUE); --Create temporary LOB to store the file.
    v_amount := DBMS_LOB.GETLENGTH(v_src_loc); --Amount to store.
    DBMS_LOB.LOADFROMFILE(l_blob, v_src_loc, v_amount); -- Loading from file into temporary LOB
    l_blob_len := DBMS_LOB.getlength(l_blob);
    /*Preparing the LOB from file for attachment02. */
    DBMS_LOB.OPEN(v_src_loc2, DBMS_LOB.LOB_READONLY); --Read the file
    DBMS_LOB.CREATETEMPORARY(l_blob2, TRUE); --Create temporary LOB to store the file.
    v_amount2 := DBMS_LOB.GETLENGTH(v_src_loc2); --Amount to store.
    DBMS_LOB.LOADFROMFILE(l_blob2, v_src_loc2, v_amount2); -- Loading from file into temporary LOB
    l_blob_len2 := DBMS_LOB.getlength(l_blob2);
    /*UTL_SMTP related coding. */
    v_connection_handle := UTL_SMTP.OPEN_CONNECTION(host => v_smtp_host);
    UTL_SMTP.HELO(v_connection_handle, v_smtp_host);
    UTL_SMTP.MAIL(v_connection_handle, v_from_email_address);
    UTL_SMTP.RCPT(v_connection_handle, v_to_email_address);
    UTL_SMTP.OPEN_DATA(v_connection_handle);
    send_header('From', '"Sender"');
    send_header('To', '"Recipient"');
    send_header('Subject', v_subject);
    --MIME header.
    UTL_SMTP.WRITE_DATA(v_connection_handle,
    'MIME-Version: 1.0' || UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle,
    'Content-Type: multipart/mixed; ' || UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle,
    ' boundary= "' || 'SAUBHIK.SECBOUND' || '"' ||
    UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
    -- Mail Body
    UTL_SMTP.WRITE_DATA(v_connection_handle,
    '--' || 'SAUBHIK.SECBOUND' || UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle,
    'Content-Type: text/plain;' || UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle,
    ' charset=US-ASCII' || UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle, l_message || UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
    -- Mail Attachment01
    UTL_SMTP.WRITE_DATA(v_connection_handle,
    '--' || 'SAUBHIK.SECBOUND' || UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle,
    'Content-Type: application/octet-stream' ||
    UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle,
    'Content-Disposition: attachment; ' || UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle,
    ' filename="' || 'export.log' || '"' || --My filename
    UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle,
    'Content-Transfer-Encoding: base64' || UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
    /* Writing the BLOL in chunks */
    WHILE l_pos < l_blob_len LOOP
    DBMS_LOB.READ(l_blob, l_amount, l_pos, l_buffer);
    UTL_SMTP.write_raw_data(v_connection_handle,
    UTL_ENCODE.BASE64_ENCODE(l_buffer));
    UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
    l_buffer := NULL;
    l_pos := l_pos + l_amount;
    END LOOP;
    UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
    -- Mail Attachment02
    UTL_SMTP.WRITE_DATA(v_connection_handle,
    '--' || 'SAUBHIK.SECBOUND' || UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle,
    'Content-Type: application/octet-stream' ||
    UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle,
    'Content-Disposition: attachment; ' || UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle,
    ' filename="' || 'export1.log' || '"' || --My filename
    UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle,
    'Content-Transfer-Encoding: base64' || UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
    /* Writing the BLOL in chunks */
    WHILE l_pos2 < l_blob_len2 LOOP
    DBMS_LOB.READ(l_blob2, l_amount2, l_pos2, l_buffer2);
    UTL_SMTP.write_raw_data(v_connection_handle,
    UTL_ENCODE.BASE64_ENCODE(l_buffer2));
    UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
    l_buffer2 := NULL;
    l_pos2 := l_pos2 + l_amount2;
    END LOOP;
    UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
    -- Close Email
    UTL_SMTP.WRITE_DATA(v_connection_handle,
    '--' || 'SAUBHIK.SECBOUND' || '--' || UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle,
    UTL_TCP.CRLF || '.' || UTL_TCP.CRLF);
    UTL_SMTP.CLOSE_DATA(v_connection_handle);
    UTL_SMTP.QUIT(v_connection_handle);
    DBMS_LOB.FREETEMPORARY(l_blob);
    DBMS_LOB.FILECLOSE(v_src_loc);
    DBMS_LOB.FREETEMPORARY(l_blob2);
    DBMS_LOB.FILECLOSE(v_src_loc2);
    EXCEPTION
    WHEN OTHERS THEN
    UTL_SMTP.QUIT(v_connection_handle);
    DBMS_LOB.FREETEMPORARY(l_blob);
    DBMS_LOB.FILECLOSE(v_src_loc);
    DBMS_LOB.FREETEMPORARY(l_blob2);
    DBMS_LOB.FILECLOSE(v_src_loc2);
    RAISE;
    END;
    PL/SQL procedure successfully completed.
    Edited by: SHAN2009 on May 11, 2011 1:05 PM

  • Best Solution for Creating an Onlne Purchase order form with multiple calculation fields

    I am a bit confused.  Our school has a Forms Central account which works great for our registration forms but I need to find a solution for creating an online purchase form with multiple calculation fields - I know that forms central does not support calculation fields (too bad) but I know that Acrobat Pro does... soooo...
    Can you create the forms in Acrobat and then somehow integrate the advanced features into forms central?  Do they talk to each other?  Is this easy to do? .... I guess another way to putting it is can you create the forms in Acrobat including all of the advanced features for payment calculation and then host it online using Forms Central to manage and collect the data? (I guess that really is my question)
    Thanks (how does this compare to a solution like Formstack?)

    Hi, thanks.
    The naming convention was the consistant up until a point when I read that you need a '.' syntax (?!) - does anyone know if this is true?
    Attached is a version with Bernd Alheit's suggestion and with all the naming of the fields being consistant. It's still not working for me though after doing this and I'm stuck as to why, because I think it should work. I've also tried writing the calcualting line of code in the same manner that Bernd Alheit suggests before I came on here, and it wouldn't work then.
    As with any coding, it must be something to which I have done, but I can't see it anywhere
    Any ideas? Thanks for helping me
    Cheers

Maybe you are looking for

  • MacBook Pro won't go pass login screen, help?!

    MacBook Pro using OS X Maverick won't go past login screen once password is entered. It looks like it wants to go to my account once I enter in my password but it never goes beyond that. The gears just continue to spin without ever actually loading m

  • Acrobat plugin Build with SDK6 not Showing in Acrobat X and XI

    I'm working on an old Plugin build for Acrobat (not reader) using SDK v6. This plugin worked fine, upto Acobat 9. (it is only used in Windows) Now some users tell me it is not showing in Acrobat X. So I installed a trial verison of Acrobat XI. After

  • CS5 WINx64 javaScript error on new any document.

    Hi! Either opening previous ones, or by creating new any document i get this error message in new javascript alert window: "While executing onLoad Notes_onOpen.htm the following JavaScript error(s) occured. In file "Design Notes_onOpen:: onOpen is no

  • Execution Time for T.Code

    Hi Experts, I want to know the exact execution time for a t.code. I check it in ST03 or ST03n but I can't get proper data. In ST03 I get the average and total response time but I want the exact ececution or response  time. Waiting for your inputs. Re

  • Data is analysis mode is oscillating, but not in aquisition mode

    Hi, I'm having data acquisition problems using BioBench 1.2.  I'm using pressure transducers hooked up to a PC1-M10-16XE-50 DAQ.  When logging data, the pressure shown on the Biobench screen when acquiring matches the numbers on the transducer amplif