MailRoutingSmartHost attribute with sendmail server

Hi,
We have two mail servers (1) Sun MTA and (2) sendmail server. users are distributed across these servers. and both the servers share the same domain.
[email protected] -> belongs to Sun Messaging
[email protected] -> belongs to Sendmail server
if user1 sends an email to [email protected], Sun errors out with "Illegal Alias", so added the mailRouteSmartHost attribute to the DN
dn: o=testdomain.com,dc=testdomain,dc=com
mailRoutingSmartHost: <sendmail-server>.testdomain.com
this cleared the illegal alias error but when I send an email from user1 to [email protected], the user2 does not receive an email in his sendmail INBOX folder. Also grep'ed all the messaging logs, but no sign of user2 in any of them
Below is the output of ./imsimta test -rewrite
# ./imsimta test -rewrite [email protected]
address channel = l
forward channel = l
channel description =
channel caption =
channel user filter =
dest channel filter =
source channel filter =
channel flags #0 = BIDIRECTIONAL MULTIPLE IMMNONURGENT NOSERVICEALL
channel flags #1 = NOSMTP DEFAULT
channel flags #2 = COPYSENDPOST COPYWARNPOST POSTHEADONLY HEADERINC NOEXPROUTE
channel flags #3 = NOLOGGING NORESTRICTED RETAINSECURITYMULTIPARTS
channel flags #4 = EIGHTBIT HEADERKEEPORDER NOHEADERREAD RULES
channel flags #5 = TRUNCATESMTPLONGLINES
channel flags #6 = LOCALUSER REPORTNOTARY
channel flags #7 = NOSWITCHCHANNEL NOREMOTEHOST DATEFOUR DAYOFWEEK
channel flags #8 = NODEFRAGMENT EXQUOTA REVERSE NOCONVERT_OCTET_STREAM
channel flags #9 = NOTHURMAN INTERPRETENCODING USEINTERMEDIATE RECEIVEDFROM VALIDATELOCALSYSTEM NOTURN
defaulthost = testdomain.com testdomain.com
linelength = 1023
channel env addr type = SOURCEROUTE
channel hdr addr type = SOURCEROUTE
channel official host = ms1.testdomain.com
channel after params =
channel user name =
urgentnotices = 1 2 4 7
normalnotices = 1 2 4 7
nonurgentnotices = 1 2 4 7
channel rightslist ids =
local behavior flags = %x7
expandchannel =
notificationchannel =
dispositionchannel =
saslswitchchannel =
tlsswitchchannel =
backward channel = l
unique identifier = [email protected]
header forward address = [email protected] (route (ms1.testdomain.com,ms1.testdomain.com)) (host testdomain.com)
header reverse address = [email protected]
envelope forw address = [email protected] (route (ms1.testdomain.com,ms1.testdomain.com)) (host testdomain.com)
envelope rev address = [email protected] (route (ms1.testdomain.com,ms1.testdomain.com)) (host testdomain.com)
name =
mbox = user2
Extracted address action list:
[email protected]
Extracted 733 address action list:
[email protected]
Address list expansion:
@sendmailserver.testdomain.com:[email protected]
1 expansion total.
Expanded address:
[email protected]
Submitted address list:
tcp_intranet
@sendmailserver.testdomain.com:[email protected] (orig [email protected], initial [email protected], host sendmailserver.testdomain.com) NOTIFY-FAILURES NOTIFY-DELAYS
Submitted notifications list:
Also here is the version of the messaging server
# ./imsimta version
Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)
libimta.so 6.3-4.01 (built 17:13:29, Aug 3 2007; 32bit)
SunOS imat2k17 5.10 Generic_120011-14 sun4v sparc SUNW,Sun-Fire-T200
Please let me know if the mailRoutingSmartHost works only if the remote server is also Sun Messaging.
Thanks in advance
Srikanth

Hi,
anothershesh wrote:
We have two mail servers (1) Sun MTA and (2) sendmail server. users are distributed across these servers. and both the servers share the same domain.
[email protected] -> belongs to Sun Messaging
[email protected] -> belongs to Sendmail server
if user1 sends an email to [email protected], Sun errors out with "Illegal Alias", so added the mailRouteSmartHost attribute to the DN
dn: o=testdomain.com,dc=testdomain,dc=com
mailRoutingSmartHost: <sendmail-server>.testdomain.com
this cleared the illegal alias error but when I send an email from user1 to [email protected], the user2 does not receive an email in his sendmail INBOX folder. Also grep'ed all the messaging logs, but no sign of user2 in any of them
Are you sure you sent the email to the correct MTA system then?
How did you send the email in question, using what email client (IMAP client such as Mozilla Thunderbird, UWC, Messaging Express)?
The messaging logs would have recorded the original rfc822 address at a minimum which would have included the '[email protected]' address.
tcp_intranet
@sendmailserver.testdomain.com:[email protected] (orig [email protected], initial [email protected], host sendmailserver.testdomain.com) NOTIFY-FAILURES NOTIFY-DELAYS
This looks fine.
You may want to create a new channel and rewrite rule for sendmailserver.testdomain.com, and on that channel add the dequeue_removeroute keyword so that the envelope recipient address seen by the sendmail system is "[email protected]" rather then "@sendmailserver.testdomain.com:[email protected]"
Regards,
Shane.

Similar Messages

  • Project Server 2013 - Adding Enterprise Resouce additonal Assignemt attributes with AD sync programatically

    I Have a project server 2013 environment (Sandbox right now but on its way to a production system.) and we have AD sync set up for our enterprise resource pool.
    We have 2 situations:
    1. AD only brings certain information over (Name, email etc) and leaves other information out: Which calendar to use, base cost rate, Resource departments, Time sheet approver (their manager)
    2. IN AD we store the employee number and would like to map it to the External ID field. (And several other things need to happen - outlook out of office sync, resource can be leveled etc)
    I have not seen a way "add" this  information programmatically. Everything I see says open the resource in Project pro and update.  when you have 10,000 resources manual updates and changes are not really practical. Ideally we would
    be able to have some logic that looks at a table and as resources are added/updated the various fields are filled in as part of the "ad Sync job"
    Question: Is this possible an has anyone done it? If so how?
    Thanks
    Tasks

    Hi Bob,
    Yes, you are right.  Any extention will have to be custom code.  PS operates the same in regards to what can be accessed via AD sync over the various versions.  That part has not changed, how MS processes what it reads has changed over the
    years.
    However, another point for you, be very careful if you are really planning to add 10K users to your ERP via AD.  This will be a very taxing endeavor for your systems.
    I'm not aware of any technical limits, but you will run into practical limits with more than about 5K users in your ERP.  You had better have a very large SQL server and lots of RAM in your SharePoint web and Project App servers.  You had better
    have more than 1 Project App server, etc...  You will want to consider the impact to users when various parts of the system are loaded up with 10K resources.  Design your Farm and PWA configuration accordingly or expect to wait a lot!
    Don't expect to do this during business hours or you will kill all your users processing.  AD sync jobs go in the project server Q and can take hours to process in large numbers like that, at least initially.  Don't make any security changes of
    any kind during business hours as these will trigger a "re-sync".  Etc...
    Please read everything here:  Active Directory Resource Pool Synchronization (Project Server 2013)
    http://technet.microsoft.com/en-us/library/jj819320(v=office.15).aspx
    Other postings (Hey Stowe!) have referenced this as a starter:
    http://ps2007adressync.codeplex.com/  I know this says 2007, but perhaps you can use this as a basis for understanding what's possible or how to approach.  As I mentioned, the underlying mechanics on this point are the same.
    Clearly you will want to use the PSI - which will give you access to almost everything you need.  You may need to hook into the Event handlers after the AD sync runs or just run a batch process of your own.
    Specifically, Outlook out of office can be accomplished by sync'ing with Exchange Server 2013.  See the TechNet on that topic (near the other articles).
    Resource can be leveled sounds like your custom job along with the EMP ID mapping.
    Hope this helps,
    Thanks, Eric S. Pcubed

  • How do I set the mailhost attribute in Messaging Server 3.5?

    <B>Intent of the hostname aliases feature: </B><BR>
    In Messaging Server 3.5, the hostname aliases feature is designed to facilitate migrating and co-hosting. For
    instance, if you set up all of your sales and marketing users on one Messaging Server, but suspect that you'll
    want to split those groups in the future, you can give the sales users the mailhost value sales.company.com and
    the marketing users the mailhost value mktg.company.com. This feature can also be used for fast failover if
    you want to be able to move a group of users quickly from one Messaging Server to another.
    <P>
    <B>How to use hostname aliases and how to set mailhost and MessageHostName settings: </B><BR>
    Each user's mailhost attribute can have only one value. All users on a single Messaging Server do not need to
    have the same mailhost value in the LDAP directory. The user's mailhost value should match one of the
    MessageHostName attribute values in netscape.mail.conf. (On Unix, the path to this file is
    /etc/netscape.mail.conf. Windows NT users must use Notepad to create this file in
    server-root\bin\mail\Server\etc, where server-root is the base directory where your SuiteSpot servers are
    installed.)
    <P>
    With Messaging Server 3.5 and later, MessageHostName can have multiple values. Think of hostnames as
    colors. Each mail account in the LDAP server has a single color. Each Messaging Server has one or more
    colors. A Messaging Server will check an LDAP account's color (mailhost) against its own color(s)
    (MessageHostName), and if they match, the server considers the account to be local. <P>
    For example: <BR>
    MessageHostName=red.company.com,green.company.com,blue.company.com
    <BR>where original-host-name is the machine's real name. This entry must come first as the server uses the first
    entry to generate machine specific postmaster forms. The subsequent host names can be any values that you
    wish separated by commas that are inside the brackets. Do not place spaces anywhere on the line.
    <P>
    In this example, if the mailhost setting for the user is set for either red.company.com or green.company.com, or
    blue.company.com, the server will consider the user to be local. (Hostname aliases must also be configured in
    DNS. Please see the DNS section at the end of this technote.) No other Messaging Server should list either
    red.company.com or green.company.com or blue.company.com in the MessageHostName field. Mail could
    not be delivered properly if either red.company.com or green.company.com or blue.company.com were listed
    in any other server's MessageHostName field. A user with a mailhost setting of violet.company.com would not
    be considered local to this machine.
    <P>
    Although it is possible with Messaging Server 3.52 to list more than 16 different host names in the
    MessageHostName field, it is not recommended because increasing the number of hostnames in this field beyond
    16 will have a negative impact on performance. This feature is intended to provide fast failover and/or
    migration of users. If users need to be divided up into many smaller groups, the use of some other LDAP
    attribute is recommended.
    <P>
    In Messaging Server 3.0, you can associate a server with only one host name. Consequently, all mail accounts
    on a given server must have the same mailhost value in the LDAP directory. This should be the name of the
    server, i.e. host.company.com
    <P>
    </A>A note about DNS
    Hostname aliases must be configured in DNS. This is done with a CNAME record. For example:
    A 128.101.101.101
    CNAME
    <P>
    Additional MX records are not required to use hostname aliases.
    <P>
    If you aren't sure about how to configure your DNS records, consult the book <I>DNS and Bind </I> by Paul Albitz and
    Cricket Liu.

    You can find the connection settings in Tools > Options > Advanced : Network : Connection
    See "Firefox connection settings":
    *[[Firefox cannot load websites but other programs can]]

  • JDBC with SQL Server

    Hi,
    I am trying to connect to a SQL server database by giving table name in (SPVC) database as spvc.dbo.tablename.. If i want to access another database (SPVC_D), how can i do it without changing my java code?? Can i be able to add the database name to the connection string and i can remove the hard coding (spvc.dbo.) from my java code?? How shall i be able to do that..
    Please let me know.. I am very new with JDBC with SQL server..
    Thanks
    Praveen Padala

    In the MS SQL Server that I use, the following syntax
    spvc.dbo.tablename
    Breaks done as follows...
    <database>.<user>.<tablename>
    However connections are always to a database. Thus when one uses the above syntax it basically runs 'in' the one database and accesses another.
    Depending on various attributes of the tables, if and only if, a table called 'tablename' exists in a database called 'spvc_d' then if you connect to 'spvc_d' then you can access 'tablename' just by using 'tablename'.
    So if that is what you are doing you will not have a problem.

  • All sub-folders in Mac Mail cannot synchronize with Exchange Server 2010

    Hi all,
    All sub-folders under Inbox in Mac Mail cannot be synchronized with Exchange Server 2010. There are 2GB messages size in Inbox folder and 500MB messages size under Inbox's sub-folders. All messages can be sent out and received and it can work in Outlook 2007 and Outlook 2010 normally. However, all messages in sub-folders cannot be synchronized (empty sub-folders).
    Does this problem relate to message synchronization order of Mac Mail with Exchange Server? Do all sub-folders messages be synchronized after synchronization complete of Inbox? The synchronization of sub-folders will not happen if the synchronization of Inbox does not complete, doesn't it?
    All messages synchronization is over internet. Can anybody help?
    Thanks a lot
    DT1640759

    Hi,
    1.please check the mailbox send and receive quota for exchange 2013 migrated mailbox.
    2.Please check the email attributes of the exchange 2013 migrated mailbox because it seems to be a problem with that particular mailbox.
    3.Then do the message tracking and that would be the only way to find the where the send messages has gone.
    4.Please check and confirm you have an enough space on the disk where exchange queue database is residing.
    I think I need to create a receive connector in the 2013 to receive from 2010 ?
    No need ,by design  exchange 2013 cas server default frontend receive connector will be having an
    entire ipv4 and ipv6 segment and anonymous connection is checked by default.
    I think I also need to create a send and receive connector for 2013 users to each other?
    No need , an intra organisation send connector and the default receive connectors in exchange will be used
    for internal mail flow between the exchange 2013 users.
    Please reply me if you have any queries .
    Regards
    S.Nithyanandham
    Thanks S.Nithyanandham

  • Dispatcher stopped and not able to connect with sql server

    Hi ,
                       In one of test system disp+work is started and then within no time its stopped.
    I am able to connect with  sql server 2005 database but while starting sap  dispatcher is stopping.
    Here is the log of  dev_wo
    trc file: "dev_w0", trc level: 1, release: "700"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, MJ

    B Thu Jan 05 07:24:02 2012
    B  create_con (con_name=R/3)
    B  Loading DB library 'C:\usr\sap\DE1\SYS\exe\uc\NTI386\dbmssslib.dll' ...
    B  Library 'C:\usr\sap\DE1\SYS\exe\uc\NTI386\dbmssslib.dll' loaded
    B  Version of 'C:\usr\sap\DE1\SYS\exe\uc\NTI386\dbmssslib.dll' is "700.08", patchlevel (0.72)
    B  New connection 0 created
    M sysno      11
    M sid        DE1
    M systemid   560 (PC with Windows NT)
    M relno      7000
    M patchlevel 0
    M patchno    75
    M intno      20050900
    M make:      multithreaded, Unicode, optimized
    M pid        988
    M
    M  kernel runs with dp version 217000(ext=109000) (@(#) DPLIB-INT-VERSION-217000-UC)
    M  length of sys_adm_ext is 572 bytes
    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 988) [dpxxdisp.c   1299]
    I  MtxInit: 30000 0 0
    M  DpSysAdmExtCreate: ABAP is active
    M  DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active
    M  DpShMCreate: sizeof(wp_adm)          23936     (1408)
    M  DpShMCreate: sizeof(tm_adm)          3994272     (19872)
    M  DpShMCreate: sizeof(wp_ca_adm)          24000     (80)
    M  DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
    M  DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528056/528064
    M  DpShMCreate: sizeof(comm_adm)          528064     (1048)
    M  DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    M  DpShMCreate: sizeof(file_adm)          0     (72)
    M  DpShMCreate: sizeof(vmc_adm)          0     (1440)
    M  DpShMCreate: sizeof(wall_adm)          (38456/34360/64/184)
    M  DpShMCreate: sizeof(gw_adm)     48
    M  DpShMCreate: SHM_DP_ADM_KEY          (addr: 07F90040, size: 4659000)
    M  DpShMCreate: allocated sys_adm at 07F90040
    M  DpShMCreate: allocated wp_adm at 07F91E40
    M  DpShMCreate: allocated tm_adm_list at 07F97BC0
    M  DpShMCreate: allocated tm_adm at 07F97BF0
    M  DpShMCreate: allocated wp_ca_adm at 08366E90
    M  DpShMCreate: allocated appc_ca_adm at 0836CC50
    M  DpShMCreate: allocated comm_adm at 0836EB90
    M  DpShMCreate: system runs without file table
    M  DpShMCreate: allocated vmc_adm_list at 083EFA50
    M  DpShMCreate: allocated gw_adm at 083EFA90
    M  DpShMCreate: system runs without vmc_adm
    M  DpShMCreate: allocated ca_info at 083EFAC0
    M  DpShMCreate: allocated wall_adm at 083EFAC8
    X  EmInit: MmSetImplementation( 2 ).
    X  MM global diagnostic options set: 0
    X  <ES> client 0 initializing ....
    X  Using implementation flat
    M  <EsNT> Memory Reset disabled as NT default
    X  ES initialized.

    M Thu Jan 05 07:24:03 2012
    M  ThInit: running on host sugarland

    M Thu Jan 05 07:24:04 2012
    M  calling db_connect ...
    C  Warning: Env(MSSQL_SERVER) [SUGARLAND\DE1] <> Prof(dbs/mss/server) [SUGARLAND]. Profile value will be used.
    C  Thread ID:708
    C  Thank You for using the SLOLEDB-interface
    C  Using dynamic link library 'C:\usr\sap\DE1\SYS\exe\uc\NTI386\dbmssslib.dll'
    C  dbmssslib.dll patch info
    C    patchlevel   0
    C    patchno      72
    C    patchcomment MSSQL: Thread check in DbSlDisconnect (969143)
    C  np:(local) connection used on SUGARLAND
    C  CopyLocalParameters: dbuser is 'de1'
    C  Using Provider SQLNCLI
    C  OpenOledbConnection: MARS property was set successfully.

    C Thu Jan 05 07:24:19 2012
    C  OpenOledbConnection: line 23391. hr: 0x8000ffff Login timeout expired
    C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Login timeout expired
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 2, sev 0), An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 2, sev 0), Named Pipes Provider: Could not open a connection to SQL Server [2].
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Invalid connection string attribute
    C  Procname: [OpenOledbConnection - no proc]
    C  Using Provider SQLNCLI
    C  OpenOledbConnection: MARS property was set successfully.

    C Thu Jan 05 07:24:34 2012
    C  OpenOledbConnection: line 23391. hr: 0x8000ffff Login timeout expired
    C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Login timeout expired
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 2, sev 0), An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 2, sev 0), Named Pipes Provider: Could not open a connection to SQL Server [2].
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Invalid connection string attribute
    C  Procname: [OpenOledbConnection - no proc]
    C  Using Provider SQLNCLI
    C  OpenOledbConnection: MARS property was set successfully.

    C Thu Jan 05 07:24:49 2012
    C  OpenOledbConnection: line 23391. hr: 0x8000ffff Login timeout expired
    C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Login timeout expired
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 2, sev 0), An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 2, sev 0), Named Pipes Provider: Could not open a connection to SQL Server [2].
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Invalid connection string attribute
    C  Procname: [OpenOledbConnection - no proc]
    C  failed to establish conn to np:(local).
    C  Retrying without protocol specifier: (local)
    C  Using Provider SQLNCLI
    C  OpenOledbConnection: MARS property was set successfully.

    C Thu Jan 05 07:25:05 2012
    C  OpenOledbConnection: line 23391. hr: 0x8000ffff Login timeout expired
    C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Login timeout expired
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 2, sev 0), An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 2, sev 0), Named Pipes Provider: Could not open a connection to SQL Server [2].
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Invalid connection string attribute
    C  Procname: [OpenOledbConnection - no proc]
    C  Using Provider SQLNCLI
    C  OpenOledbConnection: MARS property was set successfully.

    C Thu Jan 05 07:25:21 2012
    C  OpenOledbConnection: line 23391. hr: 0x8000ffff Login timeout expired
    C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Login timeout expired
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 2, sev 0), An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 2, sev 0), Named Pipes Provider: Could not open a connection to SQL Server [2].
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Invalid connection string attribute
    C  Procname: [OpenOledbConnection - no proc]
    C  Using Provider SQLNCLI
    C  OpenOledbConnection: MARS property was set successfully.

    C Thu Jan 05 07:25:37 2012
    C  OpenOledbConnection: line 23391. hr: 0x8000ffff Login timeout expired
    C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Login timeout expired
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 2, sev 0), An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 2, sev 0), Named Pipes Provider: Could not open a connection to SQL Server [2].
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Invalid connection string attribute
    C  Procname: [OpenOledbConnection - no proc]
    C  failed to establish conn. 0
    B  ***LOG BY2=> sql error 0      performing CON [dbsh#2 @ 1204] [dbsh    1204 ]
    B  ***LOG BY0=> <message text not available> [dbsh#2 @ 1204] [dbsh    1204 ]
    B  ***LOG BY2=> sql error 0      performing CON [dblink#3 @ 431] [dblink  0431 ]
    B  ***LOG BY0=> <message text not available> [dblink#3 @ 431] [dblink  0431 ]
    M  ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) [thxxhead.c   1411]
    M  in_ThErrHandle: 1
    M  *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   10156]

    M  Info for wp 0

    M    stat = 4
    M    reqtype = 1
    M    act_reqtype = -1
    M    rq_info = 0
    M    tid = -1
    M    mode = 255
    M    len = -1
    M    rq_id = 65535
    M    rq_source = 255
    M    last_tid = 0
    M    last_mode = 0
    M    semaphore = 0
    M    act_cs_count = 0
    M    control_flag = 0
    M    int_checked_resource(RFC) = 0
    M    ext_checked_resource(RFC) = 0
    M    int_checked_resource(HTTP) = 0
    M    ext_checked_resource(HTTP) = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <
    M    vm = V-1

    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Server sugarland_DE1_11 on host sugarland (wp 0)
    M  *  ERROR       ThInit: db_connect
    M  *
    M  *  TIME        Thu Jan 05 07:25:37 2012
    M  *  RELEASE     700
    M  *  COMPONENT   Taskhandler
    M  *  VERSION     1
    M  *  RC          13
    M  *  MODULE      thxxhead.c
    M  *  LINE        10354
    M  *  COUNTER     1
    M  *
    M  *****************************************************************************

    M  PfStatDisconnect: disconnect statistics
    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   720]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  260]
    M  Entering ThSetStatError
    M  ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 0 988) [dpnttool.c   327]
    Please help me on this
    Thanks
    Srikanth

    Hi Amit, 
                 I restarted the system but dispatcher still in same stage.
    Here is the log for dev_w0
    ========================================
    Fri Jan 06 03:41:06 2012
    C  OpenOledbConnection: line 23391. hr: 0x8000ffff Login timeout expired
    C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Login timeout expired
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 2, sev 0), An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 2, sev 0), Named Pipes Provider: Could not open a connection to SQL Server [2].
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Invalid connection string attribute
    C  Procname: [OpenOledbConnection - no proc]
    C  failed to establish conn. 0
    B  ***LOG BY2=> sql error 0      performing CON [dbsh#2 @ 1204] [dbsh    1204 ]
    B  ***LOG BY0=> <message text not available> [dbsh#2 @ 1204] [dbsh    1204 ]
    B  ***LOG BY2=> sql error 0      performing CON [dblink#3 @ 431] [dblink  0431 ]
    B  ***LOG BY0=> <message text not available> [dblink#3 @ 431] [dblink  0431 ]
    M  ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) [thxxhead.c   1411]
    M  in_ThErrHandle: 1
    M  *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   10156]

    M  Info for wp 0

    M    stat = 4
    M    reqtype = 1
    M    act_reqtype = -1
    M    rq_info = 0
    M    tid = -1
    M    mode = 255
    M    len = -1
    M    rq_id = 65535
    M    rq_source = 255
    M    last_tid = 0
    M    last_mode = 0
    M    semaphore = 0
    M    act_cs_count = 0
    M    control_flag = 0
    M    int_checked_resource(RFC) = 0
    M    ext_checked_resource(RFC) = 0
    M    int_checked_resource(HTTP) = 0
    M    ext_checked_resource(HTTP) = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <
    M    vm = V-1

    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Server sugarland_DE1_11 on host sugarland (wp 0)
    M  *  ERROR       ThInit: db_connect
    M  *
    M  *  TIME        Fri Jan 06 03:41:06 2012
    M  *  RELEASE     700
    M  *  COMPONENT   Taskhandler
    M  *  VERSION     1
    M  *  RC          13
    M  *  MODULE      thxxhead.c
    M  *  LINE        10354
    M  *  COUNTER     1
    M  *
    M  *****************************************************************************

    M  PfStatDisconnect: disconnect statistics
    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   720]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  260]
    M  Entering ThSetStatError
    M  ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 0 3632) [dpnttool.c   327]

  • Mavericks permission issues with Windows Server deduplicated shares.

    We have a number of 10.9-10.9.3 - Mavericks - machines installed throughout our facility. Much of the user content is pulled from shares stored on our Windows Server 2012 fileservers with deduplication enabled. I have found that files newly written or unoptimized are able to be accessed without issue - read, written, modified, etc. Once the file gets optomized/deduplicated and Windows adds the P & L attributes - sparse and symlink - the Macs running Mavericks begin to have access issues.
    Once the files get deduplicated, users begin receiving read access errors when copying files (see error1 below). This happens when copying to folders within the current folder tree or copying somewhere to the local system. If you 'stop' the copy operation and retry a few more times, it may eventually work for the specific instance but fail again later. I am however, able to copy these files without issue via the terminal.
    Other systems running 10.7 do not experience the same issues and are able to access file server resources without issue. Many of the systems having issues are newer and thus not able to be downgraded to 10.8 or 10.7.
    I have tried finder replacements such as Pathfinder but the results are the same. I know this is at least similar to the issues many Mac users are already experiencing and posting about but I haven't seen it directly linked to deduplication and the attributes written by Windows server. Has anyone seen this issue? Have any solutions been found? 
    Error 1:
    When copying files after the PL attributes have been set by deduplication.
    "One or more items can't be copied to "Foler" because you don't have permissions to read them.
    Via the system.log, I am also seeing the following error when accessing these deduplicated file shares. The reparse point tag listed below is "IO_REPARSE_TAG_DEDUP"
    Reported error:
    "smbfs_nget: filename.ext - unknown reparse point tag 0x80000013"

    This is a 'known problem' as discussed on the MacWindows site, see http://www.macwindows.com/More-on-OS-X-conflicts-with-Windows-Server-Deduplicati on.html
    It appears to still affect Mavericks 10.9.5 at least from the lack of any positive reports to the contrary. It is perhaps a bit late but it would have been worth signing up for the public beta of Yosemite and testing that and if needed reporting it as an issue for Yosemite as this will be getting more bug fix attention than Mavericks now.
    I would agree turning off de-duplication is not a desirable solution, however other possibilities to consider are installing the standard Samba software on a Mac and using that instead of Apple's SMBx software. This is done by using the SMBup installer See http://eduo.info/2013/07/13/smbup-faq it does not officially list Mavericks but I did see at least one report that it still worked. A second possibility is to install ExtremeZ-IP which installs an AFP server on to your Windows Server and also gives the bonus of supporting Spotlight searches.
    Note: You should only try SMBup on a test setup first.

  • Hidden Contact Subfolders are visible on iPhone after sync with Exchange Server 2007

    Hello,
    We have encountered an issue where synchronizing the iPhone with Contacts from an Exchange Server 2007 mailbox, causes hidden contact subfolders (from Outlook) to be visible and appear in the Groups list in the Contacts App on the iPhone.  This does not occur with Exchange Server 2010 mailboxes.
    We have a 3rd party application that creates hidden subfolders in the default Contacts folder on Exchange Server 2007 mailboxes.  The hidden folders do not display in the Outlook client, Blackberry or on an Android phone.  We did see that they were showing up in Outlook Web Access until we applied this Microsoft Exchange Server 2007 Service Pack 3 Rollup 2 patch unto the Exchange server:
    http://support.microsoft.com/kb/2210042 - A sub contact folder is still visible after you set the "PR_ATTR_HIDDEN" attribute to "True" in an Exchange Server 2007 environment.
    After the patch was applied, the hidden contacts do not show up anywhere else.  However, when we synced the mailbox to an iPhone and synced existing contacts, all of the hidden folders appear in the Contact Groups list.  Is there a way to hide the hidden sub contact folders on the iPhone and prevent them from appearing in the Contact Group lists?
    Any help provided would be most appreciated.
    Thanks and Best Regards

    Hi SBuchan,
    I have an open case with Microsoft about it.  It is an issue with ActiveSync in Exchange 2007 that sends the hidden objects.  Microsoft tried to resolve this in Exchange 2010 by sending a delete message after sending the hidden objects to remove them from the device.  Am awaiting to see if they will approve a design change to Exchange 2007 ActiveSync to prevent the synching of hidden objects.

  • AD user script to populate the IPPHONE attribute with the last 4 digits of the Telephonenumber attribute

    Good Afternoon Scripting Guys. I have a script that I have been working with pretty much all day today and just cant quite get it to play nice. Our objective is to search AD for specific users (say filtering them out with a username that starts with a "T")
    and User account is "Enabled" then grab the last four digits of their phone number (phone number is set up as follows: (800) 123 456 ) then populate the IPPHONE attribute with the last four digits of their phone number. I have read a ton of online
    blogs with users successfully making this happen but it appears that they are all using Quest (as the commands are all Get-qaduser and Set-qaduser). I need something that runs strictly in native Active Directory Module PowerShell on a Windows Server 2008r2
    Domain Controller.  I am also trying to keep it as simple as possible by using a Get command, then piping a Set command.  I have saved the script into a .ps1 file with the logic as follows:
    $SelUsers = Get-ADUser -filter {(SamAccountName -like "t*")} -Properties ipphone,telephonenumber -searchbase "OU=Test Users,OU=Temporary Org,OU=Test_Domain Users,DC=mydomain,DC=com" | where {($_.enabled -eq $True)}
    foreach ($user in $SelUsers)
     {$user.ipphone = $user.telephonenumber(4,$User.telephonenumber.length-4)
     set-aduser -instance $user}
    What is happening is kind of funny, but aggravating at the same time.  When we run the script, it completes with no errors.  When I pull up the properties of a user in the OU, the IP Phone field is populated with the number 8.  If the User
    account did not have a telephone number, the IP Phone field is populated with a -4.  So, apparently, the script is somehow subtracting the "-4" from the number of all of the Telephone Number field's characters.  Basically 12-4 is 8. 
    If there is no telephone number, then 0-4 is -4.  I have run the Get-ADUser portion of the script independently so I know its getting the correct users.  I also know it is populating the IPPHONE attribute but not with the last 4 digits of the telephone
    number.  Can you guys help out and maybe get this to work correctly?  Also, can you add logic to it to the script to delete any value in the IPPHONE field first, then replace it with the last 4 digits of the telephone.
    Any help would be GREATLY appreciated!!!!!  Thanks Guys...
    Lee

    First thing I would do is modify your filtering. This will remove the unneeded piping to the Where-Object cmdlet and also allow us to only return users who already have something in the telephoneNumber field. It is possible this could return all of your
    users, but if you have service accounts, etc. that do not have a telephoneNumber then they will not be included in your results. It's just a little cleaner.
    $SelUsers = Get-ADUser -filter {(SamAccountName -like 't*' -and Enabled -eq $True -and TelephoneNumber -like '*')}
    I suspect you may have a made a mistake when you entered what your phone numbers looks like. I assume that you forgot a final digit. If this is correct, and you have a space in the phone number between the three digits and the final four then you can use
    the split method to grab the last four digits.
    Foreach ($User in $SelUsers) {
    $Number = $User.telephoneNumber.split(' ')[-1]
    Set-ADUser -Identity $User -Replace @{ipPhone=$Number}
    There's no reason to delete what's in the field first because that's part of what the -Replace parameter will do anyway. This should help get you started!

  • Using log4j with portal server

    Hi,
    I am trying to use log4j with Portal server 6.1 using log taglibs from jakarta.
    Here is what i've done:
    1. copy taglibs-log.jar in /etc/opt/SUNWps/desktop/classes
    2. copy taglibs-log.tld in /etc/opt/SUNWps/desktop/default/tld
    3. put log statements in JSPs
    for example:
    <log:debug>This is body content.</log:debug>
    <log:debug message="This is attribute content." />
    4. /etc/opt/SUNWps/desktop/classes/log4j.properties contains
    =========================================
    # Sample properties to initialise log4j
    log4j.rootCategory=debug, stdout, R
    #log4j.rootCategory=debug, stdout
    log4j.appender.stdout=org.apache.log4j.ConsoleAppender
    log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
    # Pattern to output the caller's file name and line number.
    log4j.appender.stdout.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n
    log4j.appender.R=org.apache.log4j.RollingFileAppender
    log4j.appender.R.File=logtags.log
    log4j.appender.R.MaxFileSize=100KB
    # Keep one backup file
    log4j.appender.R.MaxBackupIndex=2
    log4j.appender.R.layout=org.apache.log4j.PatternLayout
    log4j.appender.R.layout.ConversionPattern=%p %t %c - %m%n
    ===============================================
    However no log file is created on my system. I am very new to this and would appreciate if anyone could tell me what more needs to be done to get log records in a file.
    Thanks for all your help.
    Kind regards,
    Apoorv

    Hi,
    I am trying to use log4j with Portal server 6.1 using
    log taglibs from jakarta.
    Here is what i've done:
    1. copy taglibs-log.jar in
    /etc/opt/SUNWps/desktop/classes
    2. copy taglibs-log.tld in
    /etc/opt/SUNWps/desktop/default/tld
    3. put log statements in JSPs
    for example:
    <log:debug>This is body content.</log:debug>
    <log:debug message="This is attribute content." />
    4. /etc/opt/SUNWps/desktop/classes/log4j.properties
    contains
    =========================================
    # Sample properties to initialise log4j
    log4j.rootCategory=debug, stdout, R
    #log4j.rootCategory=debug, stdout
    log4j.appender.stdout=org.apache.log4j.ConsoleAppender
    log4j.appender.stdout.layout=org.apache.log4j.PatternL
    ayout
    # Pattern to output the caller's file name and line
    number.
    log4j.appender.stdout.layout.ConversionPattern=%5p
    [%t] (%F:%L) - %m%n
    log4j.appender.R=org.apache.log4j.RollingFileAppender
    log4j.appender.R.File=logtags.log
    log4j.appender.R.MaxFileSize=100KB
    # Keep one backup file
    log4j.appender.R.MaxBackupIndex=2
    log4j.appender.R.layout=org.apache.log4j.PatternLayout
    log4j.appender.R.layout.ConversionPattern=%p %t %c -
    %m%n
    ===============================================
    However no log file is created on my system. I am
    very new to this and would appreciate if anyone could
    tell me what more needs to be done to get log records
    in a file.
    Thanks for all your help.
    Kind regards,
    Apoorv

  • Master data attributes with direct update...its very urgent

    Hi all,
    Could anyone tell me how to laod the master data attributes with direct update in the infopackge..
    provide steps to create master data attributes and how to load..
    Thanks,
    Manjula

    Hi Manjula,
    Flexible Uploading
    Transaction code RSA1—LEAD YOU TO MODELLING
    1. Creation of Info Objects
    • In left panel select info object
    • Create info area
    • Create info object catalog ( characteristics & Key figures ) by right clicking the created info area
    • Create new characteristics and key figures under respective catalogs according to the project requirement
    • Create required info objects and Activate.
    2. Creation of Data Source
    • In the left panel select data sources
    • Create application component(AC)
    • Right click AC and create datasource
    • Specify data source name, source system, and data type ( Transaction data )
    • In general tab give short, medium, and long description.
    • In extraction tab specify file path, header rows to be ignored, data format(csv) and data separator( , )
    • In proposal tab load example data and verify it.
    • In field tab you can you can give the technical name of info objects in the template and you not have to map during the transformation the server will automatically map accordingly. If you are not mapping in this field tab you have to manually map during the transformation in Info providers.
    • Activate data source and read preview data under preview tab.
    • Create info package by right clicking data source and in schedule tab click star to load data to PSA.( make sure to close the flat file during loading )
    3. Creation of data targets
    • In left panel select info provider
    • Select created info area and right click to create ODS( Data store object ) or Cube.
    • Specify name fro the ODS or cube and click create
    • From the template window select the required characteristics and key figures and drag and drop it into the DATA FIELD and KEY FIELDS
    • Click Activate.
    • Right click on ODS or Cube and select create transformation.
    • In source of transformation , select object type( data source) and specify its name and source system Note: Source system will be a temporary folder or package into which data is getting stored
    • Activate created transformation
    • Create Data transfer process (DTP) by right clicking the master data attributes
    • In extraction tab specify extraction mode ( full)
    • In update tab specify error handling ( request green)
    • Activate DTP and in execute tab click execute button to load data in data targets.
    4. Monitor
    Right Click data targets and select manage and in contents tab select contents to view the loaded data. There are two tables in ODS new table and active table to load data from new table to active table you have to activate after selecting the loaded data . Alternatively monitor icon can be used
    honor with points if this helps,
    Sudhakar

  • Configuring JavaMail with Sendmail

    Hi there,
    I create a simple standalone app that has the following method in it for sending emails:
      String SMTPServerName = "smtp.someserver.com";
      String addressTo = "[email protected]";
      public boolean sendMail(String addressTo)
        try
           Properties props = System.getProperties();
           props.put("mail.smtp.host", SMTPServerName);
           session = Session.getDefaultInstance(props, null);
           MimeMessage msg = new MimeMessage(session);
           msg.setRecipients(Message.RecipientType.TO,
           InternetAddress.parse(addressTo, false));
           msg.setFrom(new InternetAddress(from_field.getText()));
           msg.setSubject(subject_field.getText());
           //msg.setText(message);
           if(plainText.isSelected())
              msg.setContent(textarea.getText(), "text/plain");
           else
              msg.setContent(textarea.getText(), "text/html");
           msg.setHeader("X-Mailer", mailer);
           msg.setSentDate(new Date());
           Transport.send(msg);
        catch (MessagingException e)
          //System.out.println("SMTPServerName: " + SMTPServerName);
          //response 421 just means the SMTP server was unavailable
          if(e.getMessage().indexOf("421") != -1)
             JOptionPane.showMessageDialog(this, "MessagingException - SMTP Server unavailable.", "Message", JOptionPane.PLAIN_MESSAGE);
          else
             e.printStackTrace();
          return false;
        return true;  
      }This method works perfectly if the SMTPServerName is set for my ISP's smtp server. But since I have my own in-house server now which is running Linux, I thought to try and make use of its Sendmail server instead.
    So, I need to know what I need to change in my method, if anything, in order to send out emails through Sendmail. For starters, I consulted a book I have on linux which explains how to configure Sendmail as a relay to send messages out. I made those changes and restarted Sendmail. So that end is set.
    Since the server is part of my LAN on IP address: 192.168.2.119, In my client app (on a different Windows computer withing the LAN), I tried setting the SMTPServerName to the IP address of my server running Sendmail. Then proceeded to send myself an email. That didn't work. I know Sendmail is listening on port 25 so I tried 192.168.2.119:25 adding the port number, but that didn't work.
    So, what is SMTPServerName supposed to be if I'm trying to connect to Sendmail to send out an email?
    Is the method adequate for what I need it to do, or do I have to change it?
    Alan

    The mail.smtp.host property should be set to the DNS host name for your
    mail server. If your mail server doesn't have a DNS host name, it's probably
    going to run into other problems relay messages to other internet hosts.
    Still, you should be able to set the property to the IP address of the server.
    If that's still not working, read the JavaMail FAQ, which has many tips on
    debugging such problems.

  • AM SDK SSO with AM server running in Realm mode throws exception

    Hi All,
    we have a web application which does SSO with AM server using AM SDK APIs. Following is the code snippet.
    SSOTokenManager ssoMgr = SSOTokenManager.getInstance();
    SSOToken token = ssoMgr.createSSOToken(request);
    boolean tokenValid = ssoMgr .isValidToken(token);
    AMUser amuser = null;
    if (!tokenValid) {
    MStoreConnection amsc= new AMStoreConnection(token);
    amuser = amsc.getUser(token.getPrincipal().getName());
    String uid = amuser.getStringAttribute("uid");
    This code works perfectly fine with AM running in Legacy mode. But throws following exception with AM running in Realm mode.
    com.iplanet.am.sdk.AMException: Unable to get attributes from data store.
    at com.iplanet.am.sdk.ldap.DirectoryServicesImpl.getAttributes(DirectoryServicesImpl.java:791)
    at
    com.iplanet.am.sdk.ldap.CachedDirectoryServicesImpl.getAttributes(CachedDirectoryServicesImpl.java:823)
    at
    com.iplanet.am.sdk.ldap.CachedDirectoryServicesImpl.getAttributes(CachedDirectoryServicesImpl.java:625)
    at
    com.iplanet.am.sdk.AMObjectImpl.getStringAttribute(AMObjectImpl.java:669)
    at
    com.sun.comms.client.security.sso.impl.AMSSOProvider.SingleSignOn(AMSSOProvider.java:73)
    at
    com.sun.comms.client.web.sso.SSOFilter.doFilter(SSOFilter.java:154)
    at
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
    at
    org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:75)
    at
    org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:181)
    at java.security.AccessController.doPrivileged(Native Method)
    at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:177)
    at
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288)
    at
    org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
    at
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
    at
    org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
    at
    org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
    at
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
    at
    org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
    at
    org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
    at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
    at
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
    at
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
    at
    org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
    at
    org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
    at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
    at
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
    at
    org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272)
    at
    com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
    at
    com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
    at
    com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
    at
    com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
    at
    com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
    at
    com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
    at
    com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
    at
    com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
    We have created a realm with sunDS datastore where all our application users data is stored. Same LDAP is used as authentication module (AM auth module) in realm.
    --Balamurugan.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hi All,
    we have a web application which does SSO with AM server using AM SDK APIs. Following is the code snippet.
    SSOTokenManager ssoMgr = SSOTokenManager.getInstance();
    SSOToken token = ssoMgr.createSSOToken(request);
    boolean tokenValid = ssoMgr .isValidToken(token);
    AMUser amuser = null;
    if (!tokenValid) {
    MStoreConnection amsc= new AMStoreConnection(token);
    amuser = amsc.getUser(token.getPrincipal().getName());
    String uid = amuser.getStringAttribute("uid");
    This code works perfectly fine with AM running in Legacy mode. But throws following exception with AM running in Realm mode.
    com.iplanet.am.sdk.AMException: Unable to get attributes from data store.
    at com.iplanet.am.sdk.ldap.DirectoryServicesImpl.getAttributes(DirectoryServicesImpl.java:791)
    at
    com.iplanet.am.sdk.ldap.CachedDirectoryServicesImpl.getAttributes(CachedDirectoryServicesImpl.java:823)
    at
    com.iplanet.am.sdk.ldap.CachedDirectoryServicesImpl.getAttributes(CachedDirectoryServicesImpl.java:625)
    at
    com.iplanet.am.sdk.AMObjectImpl.getStringAttribute(AMObjectImpl.java:669)
    at
    com.sun.comms.client.security.sso.impl.AMSSOProvider.SingleSignOn(AMSSOProvider.java:73)
    at
    com.sun.comms.client.web.sso.SSOFilter.doFilter(SSOFilter.java:154)
    at
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
    at
    org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:75)
    at
    org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:181)
    at java.security.AccessController.doPrivileged(Native Method)
    at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:177)
    at
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288)
    at
    org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
    at
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
    at
    org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
    at
    org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
    at
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
    at
    org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
    at
    org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
    at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
    at
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
    at
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
    at
    org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
    at
    org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
    at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
    at
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
    at
    org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272)
    at
    com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
    at
    com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
    at
    com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
    at
    com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
    at
    com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
    at
    com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
    at
    com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
    at
    com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
    We have created a realm with sunDS datastore where all our application users data is stored. Same LDAP is used as authentication module (AM auth module) in realm.
    --Balamurugan.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Adobe cloud has lost connection with the server

    Adobe cloud has lost connection with the server, can't get adobe cloud to work so I can re-install photoshop to fix a corrupted DLL file.

    *Adding new items/removing orphans*
    Try iTunes Folder Watch or iTunes Library Updater. Folder Watch is much faster on the adding files front, can be set to run in the background and includes a useful exclusion feature, however it’s slow at removing orphans. iTLU is better for this although doing it manually after looking at a list of proposed removals generated by Folder Watch is probably faster still. iTLU can also be set to update iTunes when you've used 3rd party tools to change tag info.
    You may need to amend the list of file types these programs look for. My list includes:
    .mp3 .mp4 .m4a .m4b .m4p .m4v .mov .wav .aif .mid .ipa .ipg .ite .itlp .m4r .pdf
    Note the last 6 types may not be recognised as already being in the library so should either be omitted from the search or you can add (at least for Folder Watch) individual exclusions for files you know are already in your library.
    tt2

  • Can I sync my iPhone calendar with exchange server AND ical on my mac ?

    I have been happily using my iPhone synced with my Macbook over usb via iTunes.
    I have contacts and iCal syncing. I have a number of 'calendars' set up in iCal which allow me to view separate aspects of home and work but they all exist within iCal. iPhone just treats these as colour coded appointments (different colour for each ical calendar)
    I really like this set up.
    However, I just changed jobs to a firm where they have a hosted outlook exchange set up and I need to use the exchange calendar for work appointments and showing my availability.
    I have managed to setup my iPhone to work with the Exchange server for email as well as in apple Mail on my mac. This has all worked fine. However, I hesitated when iPhone asked if i wanted to sync my contacts and calendar. I said no as I was unsure if my private calendar/contacts would be uploaded to the public work area.
    In fact it seems that this is the least of my worries:
    As I have read on apple support for iPhone:
    "Note that after configuring an Exchange ActiveSync account, all existing contact and calendar information on the iPhone or iPod touch is overwritten. Additionally, iTunes no longer syncs contacts and calendars with your desktop computer. You can still sync your iPhone or iPod touch wirelessly with MobileMe services."
    So I am really pleased that I didn't let it sync those and wipe out my personal data if that is really true.
    But now I am unsure how best to enable myself to view and update the work calendar on exchange.
    Also it would be nice to see work contacts on my iPhone.
    Contacts
    - although i have said no to sync contacts with Exchange in fact it looks like I can get contacts ok - when i send email from the Exchange account on the phone , it searches Exchange contacts on the server as i type in the TO box.
    - also in Contacts on the iPhone I have a new group that has been created with the name of my Exchange account. The group appears to be blank when you go into it on the phone, but you can type in the search box and get contact details from the server just fine.
    This seems workable for now for my purposes, although updating contacts is not going to be possible that way.
    I'd like more info on that if poss but more importantly..
    Calendar
    - Unlike Contacts, no Calendar has been auto created for Exchange
    - Unlike contacts, I can't see how I can view or search or create an appointment in my Exchange calendar on the iPhone
    What is the best solution to this problem - I presume lots of people face the same dilemma. My initial research suggests that there are multiple ways round this but all of them look like workarounds with various disavantages.
    Questions are
    - Can't I just set up Exchange as one of my calendars in ical?
    - Is it really true that I have to choose between syncing Exchange with work server OR syncing iCal with personal Macbook?
    - What is the best work around for this?
    At the moment I am seriously considering getting a separate iPhone for work and have that sync with Exchange fully although that seems a bit drastic and does not solve the problem of seeing work and home appointments on the same calendar.

    Can't I just set up Exchange as one of my calendars in ical?
    Only if you're running Snow Leopard and your employer will allow access (different than iPhone/mobile device access, so most likely not), but not needed - keep reading.
    Is it really true that I have to choose between syncing Exchange with work server OR syncing iCal with personal Macbook?
    No. It was true, but with the v3.0 software that changed - you can now sync your Exchange contacts and calendar over the air, and your Address Book and iCal via iTunes over the docking cable.
    What is the best work around for this?
    None needed. When you set up the exchange account, and choose to turn on syncing of contacts and calendars, you will be prompted to remove all other data, or keep it on the iPhone. Choose the keep option. Note that in that case, your personal data will not be uploaded to the Exchange server - the iPhone keeps them separate (although you can choose to view them in a merged fashion).
    I have this set up on my phone (Exchange calendar along side personal and other calendars from iCal). Same for contacts. Works great.

Maybe you are looking for

  • Some options don't appear in MAX

    I have an Agilent 86142A OSA connected via GPIB-USB-HS cable to my PC. MAX recognizes it in the tree, but a lot of options (like self-test, calibrate) don't appear. I'm new in MAX, so I'm not sure whether this is acceptable or not. Have I made some e

  • How can I delete pages from a pdf file

    How can I delete pages from a pdf file

  • FDM Trail balance report

    Hi, FDM Trail balance report is not showing any values before dec 2012. The report(PDF) is showing up values(Target, account, values,....)from dec 2012 to now. But from nov 2012 the pdf is just showing amount 0. nothing else. Is it system error. Plea

  • Unsynchronized Producer Consumer Problem

    Hi I would like some help implementing an unsynchronized producer consumer with an unbounded queue (implemented using an ArrayList) I have both the producer and consumer sleeping for random amount of time (producer wakes up faster). The problem is th

  • Does the latest version of Pages show fonts on their own font?

    Does the newest version of Pages show the fonts in the font that they are? I have been using the Pages 08 and it shows the fonts all in one font so you have to click on each one to see what it looks like. If the latest Pages shows them in the font th