Error putting Card properties?

Hi,
I keep encounter following error during the crawler process, no card has been created. (I've used DocFetch)
Aborted Card creation for document: mail.gif. Import error: IDispatch error #19808 (0x80044f60): [Error Importing Card.Error putting Card properties.]
Can anyone give some hints?
Thanks and Best Regards,

This is a new install with DIAdem 2012 SP1 downloaded within the last 30 days from your site running in evaluation mode.
There has never been another version of DIAdem on this laptop.
>> Did this ever work, or has it failed on your first ever attempt?  If it did work once, what has happened to this computer between then and now?
I can't give an honest answer here because I don't remember. It only failed in the last couple of days (that I noticed) and has been used since 12/17/2013. I could go back to a restore point, but I've installed 
>>Have you installed LabVIEW on that computer before?  If you have LabVIEW 2012 or later, can you pop up the DataPlugin selection dialog from there?
no
I'm trying this today, and am now getting the same error when I try to create a new plugin using the "create dataplugin..." button in the same dialog box. I know this worked before or I wouldn't have been able to create plugins. the import dataplugin button works.
Are there some kind of registry keys or files on the computer which I can clean out after an uninstall (or prior to a repair) to make sure a reinstall is completely new?
Do you have any idea what/where the suddlgshow that the error is generating is refering to? Maybe I can check the permissions on that folder, maybe they are set to read only or something.
Thanks,

Similar Messages

  • REP-1425 report formula DO_SQL error putting value into column

    Hi all
    I have opened a report 2.5 in Oracle9i Reports Developer and, it converted ok. However, when I run the report (paper layout), the message
    rep-1425 report formula DO_SQL error putting value
    into column. Column may not be referenced by parameter
    triggers
    appears. There are several report level formula columns and corresponding placeholder columns that are the cause of this error. The formula has the following :
    SRW.DO_SQL('SELECT RPAD(''DAILY TABLE AUDIT REPORT'',60,''.'')||TO_CHAR(SYSDATE,''DD-MON-YYYY'') INTO :REPORT_TIT FROM DUAL');
    COMMIT;
    RETURN('');
    I can't work out what this error message really means as the column, report_tit is a placeholder column and, the formula column is not a parameter trigger!! The report_tit placeholder is used as a source for a layout field. I noticed that the layout field is defined as a placeholder column in the converted report but in the reports 2.5 version, it is defined as a layout field.
    I can do a work around by replacing the SRW.DO_SQL statement with a normal PL/SQL SELECT statement. However, I wonder if anyone else has had the same problem and, if anyone can help provide an answer as to what this error really means and, also, how I can retain the SRW.DO_SQL statement and/or an alternative work around to the one that I have described.
    Thanks.
    Therese Hughes
    Forest Products Commision

    Hi again
    The firewall proved to be the problem after all! The firewall set in Reports config-files is not used for WebServices, it has to be set within the stub:
    Properties prop = System.getProperties();
    prop.put("http.proxyHost","yourProxyServer");
    prop.put("http.proxyPort","youProxyServerPort");
    I inserted this in my java-code and after some problems (see below), restarting Report Builder turned the trick, the report works now.
    Cheers
    Tino
    Here there mail I set up before I found that restarting Report Builder helped:
    Thanks for your answer, putting in the proxy-settings actually helped some - the same error message is
    popping up, but instantly and not after 10 seconds like before:
    My proxy lines look like this, I also tried "http://proxy.ch.oracle.com", but "proxy.ch.oracle.com" proved to
    be the correct syntax:
    public Float getRate(String country1, String country2) throws Exception
    Float returnVal = null;
    Properties prop = System.getProperties();
    prop.put("http.proxyHost","proxy.ch.oracle.com");
    prop.put("http.proxyPort","8080");
    URL endpointURL = new URL(endpoint);
    Call call = new Call();
    I tested the new proxy-entries by disabling the proxy preference in JDeveloper, so I could verify the added
    proxy-lines in the code work - they do. If I change the proxy to some incorrect value like
    "proxyy.ch.oracle.com", they fail.
    After unsuccessfully trying recompile and re-import of Java classes, I rebuild the report from scratch and
    stumbled over the same problem. Now the question is, whether I'm still doing something wrong with the
    proxy or whether there is another problem after passing the firewall....
    -------------------------------------------------------------------------------------------------------------

  • Where to put the properties file

    I am a new user of NetBeans6.0, I am making a simple application for user registration. I have coded everything but when I run project I get error caused by the dao.properties file load problem.
    I have put the dao.properties file inside the classes directory(where all java class files are build after running the project) of my web application directory( I didn't create this directory though, it is automatically created by IDE), I think there is a problem with its path.
    where should I put the dao.properties file so that when I run the project the Tomcat automatically find it and also, what the settings I should do?
    actually, I have referred to BalusC'd  DAO tutorial: the data layer but that comes in use when we are working off the IDEs, In my case since I am using Netbeans so it may be different from that one.
    if someone already done that then please let me know

    ok, but will it work if I upload the project in a remote host?
    lets talk besides IDE, as in your DAO tutorial you have instructed to put the properties file somewhere in root of the classpaths. ok, it will work on a local computer cause there is classpath setting but since remote host doesn't know about that property file and we cant set classpath at remote host(I am not sure though if we can) then how will it work at remote host.
    how the server at remote host comes to know about that property file?
    In my case since I have made the project using IDE and everything regarding classpaths have been set automatically(IDE done itself), but at remote host these sort of settings are not done then how the project will run?
    if I have described my problem incorrectly then please consider it as it is supposed to be.

  • How long it takes to repair an Apple iPad with the error "sim card not detected". The ipad is in Apple since 19 January and still has the status "Repair in Progress".

    How long it takes to repair an Apple iPad with the error "sim card not detected". The ipad is in Apple since 19 January and still has the status "Repair in Progress".

    There is no way any fellow user here can know anything specific about your repair status.  You will need to call Apple and ask them yourself.

  • B2B-51507    Error : Incomplete Internal-Properties structure.

    Hi,
    I send 997 AS2 by manual. And get below error.
    B2B-51507 Error : Incomplete Internal-Properties structure.
    ERROR_LEVEL_COLLABORATION
    ERROR Error Brief : XEngine error.
    below is 997 xml .
    <?xml version="1.0" encoding="UTF-8"?><Transaction-997 xmlns="urn:oracle:integration:b2b:178CDEA78FDA4DF38610F2D26CA63B49" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:oracle:integration:b2b:178CDEA78FDA4DF38610F2D26CA63B49 guideline.xsd" XDataVersion="1.0" Standard="X12" Version="V5010" CreatedDate="2012-08-05T04:41:46" CreatedBy="XEngine_4016" GUID="{29D665AA-E4A3-41B5-A60A-8CE56C349249}"><Internal-Properties><Data-Structure Name="Interchange"><Lookup Name="InterchangeControlVersion">00501</Lookup><Lookup Name="InterchangeReceiverID">6111470100 </Lookup><Lookup Name="InterchangeReceiverQual">08</Lookup><Lookup Name="InterchangeSenderID">Sinotrans </Lookup><Lookup Name="InterchangeSenderQual">02</Lookup><Lookup Name="InterchangeUsageIndicator">I</Lookup><Lookup Name="Standard">X12</Lookup><Property Name="ElementDelimiter">0x2a</Property><Property Name="InterchangeAckRequested">0</Property><Property Name="InterchangeAuthorizationInfo">0000000000</Property><Property Name="InterchangeAuthorizationInfoQual">00</Property><Property Name="InterchangeChildCount">1</Property><Property Name="InterchangeComponentElementSep">0x5c</Property><Property Name="InterchangeControlNumber">000000001</Property><Property Name="InterchangeControlStandard_RepeatingSeparator">^</Property><Property Name="InterchangeControlVersion">00501</Property><Property Name="InterchangeDate">120804</Property><Property Name="InterchangeReceiverID">6111470100 </Property><Property Name="InterchangeReceiverQual">08</Property><Property Name="InterchangeSecurityInfo">0000000000</Property><Property Name="InterchangeSecurityInfoQual">00</Property><Property Name="InterchangeSenderID">Sinotrans </Property><Property Name="InterchangeSenderQual">02</Property><Property Name="InterchangeTime">2259</Property><Property Name="InterchangeTrailerControlNumber">000000001</Property><Property Name="InterchangeUsageIndicator">I</Property><Property Name="RepeatingSeparator">0x5e</Property><Property Name="SegmentDelimiter">0x0d0x0a</Property><Property Name="Standard">X12</Property><Property Name="SubelementDelimiter">0x5c</Property></Data-Structure></Internal-Properties><Segment-ISA><Element-I01>00</Element-I01><Element-I02>0000000000</Element-I02><Element-I03>00</Element-I03><Element-I04>0000000000</Element-I04><Element-I05>02</Element-I05><Element-I06>Sinotrans </Element-I06><Element-I05_1>08</Element-I05_1><Element-I07>6111470100 </Element-I07><Element-I08>120804</Element-I08><Element-I09>2259</Element-I09><Element-I65>^</Element-I65><Element-I11>00501</Element-I11><Element-I12>000000001</Element-I12><Element-I13>0</Element-I13><Element-I14>I</Element-I14><Element-I15>\</Element-I15></Segment-ISA><Segment-GS><Element-479>FA</Element-479><Element-142>Sinotrans</Element-142><Element-124>6111470100</Element-124><Element-373>20120805</Element-373><Element-337>0437</Element-337><Element-28>1</Element-28><Element-455>T</Element-455><Element-480>005010</Element-480></Segment-GS><Segment-ST><Element-143>997</Element-143><Element-329>0001</Element-329><Element-1705>001</Element-1705></Segment-ST><Segment-AK1><Element-479_1>AA</Element-479_1><Element-28_1>98463053</Element-28_1><Element-480_1>001000</Element-480_1></Segment-AK1><Loop-AK2><Segment-AK2><Element-143>100</Element-143><Element-329>Transacti</Element-329><Element-1705>001</Element-1705></Segment-AK2><Loop-AK3><Segment-AK3><Element-721>SEG</Element-721><Element-719>59981514</Element-719><Element-447>Loop</Element-447><Element-720>1</Element-720></Segment-AK3><Segment-AK4><Composite-C030><Element-722>16</Element-722><Element-1528>9</Element-1528><Element-1686>21</Element-1686></Composite-C030><Element-725>16</Element-725><Element-723>1</Element-723><Element-724>Copy of Bad Data Element</Element-724></Segment-AK4></Loop-AK3><Segment-AK5><Element-717>A</Element-717><Element-718>1</Element-718><Element-718_1>1</Element-718_1><Element-718_2>1</Element-718_2><Element-718_3>1</Element-718_3><Element-718_4>1</Element-718_4></Segment-AK5></Loop-AK2><Segment-AK9><Element-715>A</Element-715><Element-97>208</Element-97><Element-123>52742</Element-123><Element-2>6</Element-2><Element-716>1</Element-716><Element-716_1>1</Element-716_1><Element-716_2>1</Element-716_2><Element-716_3>1</Element-716_3><Element-716_4>1</Element-716_4></Segment-AK9><Segment-SE><Element-96>8</Element-96><Element-329>0001</Element-329></Segment-SE><Segment-GE><Element-97_1>1</Element-97_1><Element-28>1</Element-28></Segment-GE><Segment-IEA><Element-I16>1</Element-I16><Element-I12>000000001</Element-I12></Segment-IEA></Transaction-997>
    Thank you very much!
    wanggang

    Please try without internal properties.
    <?xml version="1.0" encoding="UTF-8"?><Transaction-997 xmlns="urn:oracle:integration:b2b:178CDEA78FDA4DF38610F2D26CA63B49" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:oracle:integration:b2b:178CDEA78FDA4DF38610F2D26CA63B49 guideline.xsd" XDataVersion="1.0" Standard="X12" Version="V5010" CreatedDate="2012-08-05T04:41:46" CreatedBy="XEngine_4016" GUID="{29D665AA-E4A3-41B5-A60A-8CE56C349249}"><Segment-ISA><Element-I01>00</Element-I01><Element-I02>0000000000</Element-I02><Element-I03>00</Element-I03><Element-I04>0000000000</Element-I04><Element-I05>02</Element-I05><Element-I06>Sinotrans </Element-I06><Element-I05_1>08</Element-I05_1><Element-I07>6111470100 </Element-I07><Element-I08>120804</Element-I08><Element-I09>2259</Element-I09><Element-I65>^</Element-I65><Element-I11>00501</Element-I11><Element-I12>000000001</Element-I12><Element-I13>0</Element-I13><Element-I14>I</Element-I14><Element-I15>\</Element-I15></Segment-ISA><Segment-GS><Element-479>FA</Element-479><Element-142>Sinotrans</Element-142><Element-124>6111470100</Element-124><Element-373>20120805</Element-373><Element-337>0437</Element-337><Element-28>1</Element-28><Element-455>T</Element-455><Element-480>005010</Element-480></Segment-GS><Segment-ST><Element-143>997</Element-143><Element-329>0001</Element-329><Element-1705>001</Element-1705></Segment-ST><Segment-AK1><Element-479_1>AA</Element-479_1><Element-28_1>98463053</Element-28_1><Element-480_1>001000</Element-480_1></Segment-AK1><Loop-AK2><Segment-AK2><Element-143>100</Element-143><Element-329>Transacti</Element-329><Element-1705>001</Element-1705></Segment-AK2><Loop-AK3><Segment-AK3><Element-721>SEG</Element-721><Element-719>59981514</Element-719><Element-447>Loop</Element-447><Element-720>1</Element-720></Segment-AK3><Segment-AK4><Composite-C030><Element-722>16</Element-722><Element-1528>9</Element-1528><Element-1686>21</Element-1686></Composite-C030><Element-725>16</Element-725><Element-723>1</Element-723><Element-724>Copy of Bad Data Element</Element-724></Segment-AK4></Loop-AK3><Segment-AK5><Element-717>A</Element-717><Element-718>1</Element-718><Element-718_1>1</Element-718_1><Element-718_2>1</Element-718_2><Element-718_3>1</Element-718_3><Element-718_4>1</Element-718_4></Segment-AK5></Loop-AK2><Segment-AK9><Element-715>A</Element-715><Element-97>208</Element-97><Element-123>52742</Element-123><Element-2>6</Element-2><Element-716>1</Element-716><Element-716_1>1</Element-716_1><Element-716_2>1</Element-716_2><Element-716_3>1</Element-716_3><Element-716_4>1</Element-716_4></Segment-AK9><Segment-SE><Element-96>8</Element-96><Element-329>0001</Element-329></Segment-SE><Segment-GE><Element-97_1>1</Element-97_1><Element-28>1</Element-28></Segment-GE><Segment-IEA><Element-I16>1</Element-I16><Element-I12>000000001</Element-I12></Segment-IEA></Transaction-997>
    Regards,
    Anuj

  • Where to put basic properties?

    Hi all,
    I have a situation were I would like to have a set of properties
    accessible to the code
    outside the framework of servlets/ejbs (they are for some utility
    classes that need to be useful
    outside of the context of Weblogic)
    At the moment I am relying on environment variables passed to the JVM
    via -D
    to tell me a few things that I cannot figure out how to put anywhere
    else.
    they are the following properties :
    irsa.jis.xml.parser class name of a SAX2 parser
    irsa.jis.config absolute name of an xml config file that will
    contain all
    the other app-specific properties I
    need.
    Any thoughts on the best way to do this without modifying the
    startServer script, or hard
    coding them?
    Thanks for any insight,
    Serge Monkewitz

    I am cutting and pasting now :)
    The support for this product is amazing, thanks again
    Serge
    Wei Guan wrote:
    Looks like "Chicken & Egg" problem.
    You can get thesse information in your code:
    T3Services.getT3Services().config().getProperty("weblogic.system.home");
    T3Services.getT3Services().config().getProperty("weblogic.system.name");
    T3Services.getT3Services().config().getProperty("weblogic.cluster.name");
    T3Services.getT3Services().config().getProperty("weblogic.home");
    Let's say, if you want to put your property in your per-server directory,
    try this:
    T3Services.getT3Services().config().getProperty("weblogic.system.home") +
    File.seperator +
    T3Services.getT3Services().config().getProperty("weblogic.cluster.name") +
    File.seperator +
    T3Services.getT3Services().config().getProperty("weblogic.system.name") +
    "mysoftware.properties";
    Hope it helps.
    Cheers - Wei
    Serge Monkewitz <[email protected]> wrote in message
    news:[email protected]...
    Thanks for your reply, but I am already doing exactly what you suggest.
    The thing is, I need a property that gives me the location of the propertyfile
    Serge
    Wei Guan wrote:
    Put your properties in a property file, use startup class to load this
    properties file to a Singleton object so that it can be accessed
    elsewhere.
    Cheers - Wei
    Serge Monkewitz <[email protected]> wrote in message
    news:[email protected]...
    Hi all,
    I have a situation were I would like to have a set of properties
    accessible to the code
    outside the framework of servlets/ejbs (they are for some utility
    classes that need to be useful
    outside of the context of Weblogic)
    At the moment I am relying on environment variables passed to the JVM
    via -D
    to tell me a few things that I cannot figure out how to put anywhere
    else.
    they are the following properties :
    irsa.jis.xml.parser class name of a SAX2 parser
    irsa.jis.config absolute name of an xml config file that
    will
    contain all
    the other app-specific properties I
    need.
    Any thoughts on the best way to do this without modifying the
    startServer script, or hard
    coding them?
    Thanks for any insight,
    Serge Monkewitz

  • :( Has  anyone  put card  reader into  cd/dvd drive  by mistake ?  If  so how  do i get it out  without  breaking  drive  :(

    Has  anyone  put card  reader into  cd/dvd drive  by mistake ?  If  so how  do i get it out  without  breaking  drive 

    Thankyou  !!!!!  Its  worked  !  Was going to  cost me  a lot  just to have it  looked at  without anything  being done  .....  I cannot  believe  how  simple  this  was 

  • Error updating LDAP properties: An internal error has occurred in the secLdap plugin

    Post Author: kbd_vijey
    CA Forum: Authentication
    Hi,
    We are using Environment / Tools : BusinessObjects Enterprise XI R2 ,Sun Soloris 10,Active Directory.
    To Configure the LDAP, we have done from CMC - > Authentication -> LDAP.
    The below steps we have followed.
    1) Please enter the LDAP hosts you are using. => Here, we have entered our AD's hostname:port (Ex: 192.168.0.8:389) (Is it correct?)
    2) We have passed all the required informations for all other tabs.
    3) SSL - Basic(no SSL), Authentication - Basic(no SSO)
    Finally its providing the error as " Error updating LDAP properties: An internal error has occurred in the secLdap plugin."
    If any one have solution or faced same problem, Kindly help us to resolve it.
    Thanks & Best Rgds,Vijey

    Post Author: TAZ
    CA Forum: Authentication
    There are 3 things needed to get the LDAP plugin configured.
    1) Host:port
    2) Base DN, usually dc=domain, dc=com
    3) LDAP Administrator DN (this is not a visible attribute in AD unless you use a tool like ADSIedit or ADExplorer). You probably have to enter the Base DN instead of the username.
    There are other AD specific issues when using the LDAP plugin to AD such as picking custom attributes, rules for multi domains, etc
    Regards,
    Tim

  • Order of the validation error for mandatory properties

    Hi,
    I have created mandatory Properties in KM Configuration.I have configured in such a way that the properties are shown while uploading a file.Now when I upload a file without filling the properties it shows the validation error for the properties but it is not shown in the order of the properties mentioned in the property Groups.
    Everytime the error is shown in a random order.
    Please advise me whether I am missing something in the configuration.
    Thanks in advance
    Sowjanya.

    Hi,
    is it possible, that someone inserted data with a different GC as parameter than your actual group currency is?
    otherwise: I had the same problem, but I actually don't know the reason. I changed the validation rule:
    before i had: VAL_YTD( write-offs cap. assets BS ) = VAL_YTD( write-offs PL)
    now i have: ABS( VAL_YTD( write-offs cap. assets BS ) ) = ABS( VAL_YTD( write-offs PL) )
    ABS = absolute value (no sign, only values).
    You could also do it like that: ABS( VAL_YTD( write-offs cap. assets BS  ) ) - ABS( VAL_YTD( write-offs PL) ) = 0
    PS: To have the amount 0 in a validation rule is a restricted perspective. Never forget that!
    Not only for the validation - it is always absolutely important to make sure which perspective you have choosen. Check the parameters, check the rules, the selections etc.
    BR

  • HT2534 I have a I tune account but every time I try to download a free app it's keeps asking me for credit card details but when I put card details in it declines card and I can't turn payment apps off

    I have a I tune account but every time I try to download a free app it's keeps asking me for credit card details but when I put card details in it declines card and I can't turn payment apps off

    iTunes Store Support
    http://www.apple.com/emea/support/itunes/contact.html

  • HT201303 Every time I enter my credit card information I always get an error stating card was declined.  Please help.

    Every time I purchase a credit card and add the cc info to my account I get an error stating card was declined, Please enter valid cc information.  When I go online to my cc information, I can see charges from IStore with purchases I haven't purchased.

    Is it a debit card or a credit card ? From http://support.apple.com/kb/HT2001 :
    The available payment methods vary by country, but typically you can use credit cards, gift cards, store credit, or PayPal.

  • Where to put jndi.properties in Web application to lookup remote EJB?

    Hi All,
    I want to use EJB deployed in an OC4J from web application deployed in another OC4J.
    I've try to put jndi.properties file into WEB-INF/classes; package it into a jarfile and put into WEB-INF/lib, ... In all case, it doesn't work.
    If I hard-coding the env properties as following, it works.
    env.put( Context.INITIAL_CONTEXT_FACTORY, "oracle.j2ee.rmi.RMIInitialContextFactory" );
    env.put( Context.SECURITY_PRINCIPAL, "oc4jadmin" );
    env.put( Context.SECURITY_CREDENTIALS, "welcome1");
    env.put(Context.PROVIDER_URL, "opmn:ormi://fmtresearch:6005:home/TEST");
    But if I put those env properties in jndi.properties file, it doesn't work.
    java.naming.factory.initial=oracle.j2ee.rmi.RMIInitialContextFactory
    java.naming.security.principal=oc4jadmin
    java.naming.security.credentials=welcome1
    java.naming.provider.url=opmn:ormi://fmtresearch:6005:home/TEST
    Note that, the jndi.properties work if it is used in client application.
    Please help me! Thanks.

    This may not help you directly. However, did you try printing the environment properties in the InitialContext you created.
    Another thing.
    You can use this function after creating the initial context to see the JNDI tree and see if it contains anything.
    Thank you.
    Function To list the JNDI Context name-object bindings
    private void listContext2 (Context ctx, int ind, String name, String spaceIndent) {
    String indent = spaceIndent + "[" + Integer.toString (ind) + "]" ;
    try {
    System.out.println (indent + "{" + name + "}");
    NamingEnumeration justList = ctx.list(name);
    while (justList.hasMore()) {
    NameClassPair listItem = (NameClassPair) justList.next();
    String className = listItem.getClassName();
    String subName = listItem.getName();
    boolean isRelative = listItem.isRelative();
    String relativeName = ("".equals(name) ? new String(subName) : new String (name + "/" + subName));
    listContext2 (ctx, (ind+1), relativeName, (" " + spaceIndent) );
    catch (Exception exc) {
    System.out.println ("Exception Occured at listContext2");
    Hope it helps not deviates. Good luck

  • HotSync error: no card present in SD Card-slot

    Tried a regular hotsync on my Palm TX.  Error message would pop up periodically saying Install error: no card present in the SD Card-slot.  Install to Card synchronication failed.  Usually no problem.  Still would sync ALL my data.  Suddenly, the hotsync ERASED MY ENTIRE CALENDAR forever!!  Only thing left is my CONTACTS.  Can I get back my calendar data from a backup somewhere?  How??  Help!
    Post relates to: Palm TX

    The two events are most likely unrelated. If you have only synced the time your data was loss then yes you can recover the data. If you synced since then, it's gone. Make sure the Palm desktop is closed. Browse to the folder location. C:/Program Files/Palm/*Hotsync username*/Datebook
    Locate the datebook (.dat) file and the datebook.bak file. Rename the datebook (.dat) file to datebook.old and rename the datebook.bak to datebook.dat Then reopened the Palm desktop and see if your data was restored.
    If you're using Vista and the newest version of the Palm desktop the process will be slightly different. I'll post those steps if needed.  
    Post relates to: None

  • File not found error with log4j.properties

    Hi,
    I'm writing a web service on weblogic 8.1 with weblogic workshop.I have to use log4j-1.2.7 supplied by client with my application.I cannot write ant script manually.Also I cannot change server start script or cannot put any command line argument when the server starts.
    Now I require this logger in my EJB.I have kept log4j.properties in the same path where my EJB's are.But the final ear produced does not contain this log4j.properties and subsequently I get the error "log4j:ERROR Could not read configuration file [log4j.properties]."
    Please help me to resolve this problem so that log4j.properties goes with the final .ear file and the ejb code finds the logger.
    thanks,
    pratim

    Hello,
    I am having a similar problem. Did you find a solution?
    Thank you,
    Melissa
    "arunak" <[email protected]> wrote:
    >
    Hi Pratim,
    I am also facing the same problem. can u please let me know whenever
    u get the
    solution for this.
    Regards,
    Arunak
    Pratim <[email protected]> wrote:
    Hi,
    I'm writing a web service on weblogic 8.1 with weblogic workshop.Ihave
    to use log4j-1.2.7 supplied by client with my application.I cannot write
    ant script manually.Also I cannot change server start script or cannot
    put any command line argument when the server starts.
    Now I require this logger in my EJB.I have kept log4j.properties inthe
    same path where my EJB's are.But the final ear produced does not contain
    this log4j.properties and subsequently I get the error "log4j:ERROR
    Could not read configuration file [log4j.properties]."
    Please help me to resolve this problem so that log4j.properties goes
    with the final .ear file and the ejb code finds the logger.
    thanks,
    pratim

  • Bulk Create Users from CSV: Error: "Put": "There is no such object on the server."?

    Hi,
    I'm using the below PowerShell script, by @hicannl which I found on the MS site, for bulk creating users from a CSV file.
    I've had to edit it a bit, adding some additional user fields, and removing others, and changing the sAMAccount name from first initial + lastname, to firstname.lastname. However now when I run it, I get an error saying:
    "[ERROR]     Oops, something went wrong: The following exception occurred while retrieving member "Put": "There is no such object on the server."
    The account is created in the default OU, with the correct firstname.lastname format, but then it seems to error at setting the "Set an ExtensionAttribute" section. However I can't see why!
    Any help would be appreciated!
    # ERROR REPORTING ALL
    Set-StrictMode -Version latest
    # LOAD ASSEMBLIES AND MODULES
    Try
    Import-Module ActiveDirectory -ErrorAction Stop
    Catch
    Write-Host "[ERROR]`t ActiveDirectory Module couldn't be loaded. Script will stop!"
    Exit 1
    #STATIC VARIABLES
    $path = Split-Path -parent $MyInvocation.MyCommand.Definition
    $newpath = $path + "\import_create_ad_users_test.csv"
    $log = $path + "\create_ad_users.log"
    $date = Get-Date
    $addn = (Get-ADDomain).DistinguishedName
    $dnsroot = (Get-ADDomain).DNSRoot
    $i = 1
    $server = "localserver.ourdomain.net"
    #START FUNCTIONS
    Function Start-Commands
    Create-Users
    Function Create-Users
    "Processing started (on " + $date + "): " | Out-File $log -append
    "--------------------------------------------" | Out-File $log -append
    Import-CSV $newpath | ForEach-Object {
    If (($_.Implement.ToLower()) -eq "yes")
    If (($_.GivenName -eq "") -Or ($_.LastName -eq ""))
    Write-Host "[ERROR]`t Please provide valid GivenName, LastName. Processing skipped for line $($i)`r`n"
    "[ERROR]`t Please provide valid GivenName, LastName. Processing skipped for line $($i)`r`n" | Out-File $log -append
    Else
    # Set the target OU
    $location = $_.TargetOU + ",$($addn)"
    # Set the Enabled and PasswordNeverExpires properties
    If (($_.Enabled.ToLower()) -eq "true") { $enabled = $True } Else { $enabled = $False }
    If (($_.PasswordNeverExpires.ToLower()) -eq "true") { $expires = $True } Else { $expires = $False }
    If (($_.ChangePasswordAtLogon.ToLower()) -eq "true") { $changepassword = $True } Else { $changepassword = $False }
    # A check for the country, because those were full names and need
    # to be land codes in order for AD to accept them. I used Netherlands
    # as example
    If($_.Country -eq "Netherlands")
    $_.Country = "NL"
    ElseIf ($_.Country -eq "Austria")
    $_.Country = "AT"
    ElseIf ($_.Country -eq "Australia")
    $_.Country = "AU"
    ElseIf ($_.Country -eq "United States")
    $_.Country = "US"
    ElseIf ($_.Country -eq "Germany")
    $_.Country = "DE"
    ElseIf ($_.Country -eq "Italy")
    $_.Country = "IT"
    Else
    $_.Country = ""
    # Replace dots / points (.) in names, because AD will error when a
    # name ends with a dot (and it looks cleaner as well)
    $replace = $_.Lastname.Replace(".","")
    $lastname = $replace
    # Create sAMAccountName according to this 'naming convention':
    # <FirstName>"."<LastName> for example
    # joe.bloggs
    $sam = $_.GivenName.ToLower() + "." + $lastname.ToLower()
    Try { $exists = Get-ADUser -LDAPFilter "(sAMAccountName=$sam)" -Server $server }
    Catch { }
    If(!$exists)
    # Set all variables according to the table names in the Excel
    # sheet / import CSV. The names can differ in every project, but
    # if the names change, make sure to change it below as well.
    $setpass = ConvertTo-SecureString -AsPlainText $_.Password -force
    Try
    Write-Host "[INFO]`t Creating user : $($sam)"
    "[INFO]`t Creating user : $($sam)" | Out-File $log -append
    New-ADUser $sam -GivenName $_.GivenName `
    -Surname $_.LastName -DisplayName ($_.LastName + ", " + $_.GivenName) `
    -StreetAddress $_.StreetAddress -City $_.City `
    -Country $_.Country -UserPrincipalName ($sam + "@" + $dnsroot) `
    -Company $_.Company -Department $_.Department `
    -Title $_.Title -AccountPassword $setpass `
    -PasswordNeverExpires $expires -Enabled $enabled `
    -ChangePasswordAtLogon $changepassword -server $server
    Write-Host "[INFO]`t Created new user : $($sam)"
    "[INFO]`t Created new user : $($sam)" | Out-File $log -append
    $dn = (Get-ADUser $sam).DistinguishedName
    # Set an ExtensionAttribute
    If ($_.ExtensionAttribute1 -ne "" -And $_.ExtensionAttribute1 -ne $Null)
    $ext = [ADSI]"LDAP://$dn"
    $ext.Put("extensionAttribute1", $_.ExtensionAttribute1)
    Try { $ext.SetInfo() }
    Catch { Write-Host "[ERROR]`t Couldn't set the Extension Attribute : $($_.Exception.Message)" }
    # Move the user to the OU ($location) you set above. If you don't
    # want to move the user(s) and just create them in the global Users
    # OU, comment the string below
    If ([adsi]::Exists("LDAP://$($location)"))
    Move-ADObject -Identity $dn -TargetPath $location
    Write-Host "[INFO]`t User $sam moved to target OU : $($location)"
    "[INFO]`t User $sam moved to target OU : $($location)" | Out-File $log -append
    Else
    Write-Host "[ERROR]`t Targeted OU couldn't be found. Newly created user wasn't moved!"
    "[ERROR]`t Targeted OU couldn't be found. Newly created user wasn't moved!" | Out-File $log -append
    # Rename the object to a good looking name (otherwise you see
    # the 'ugly' shortened sAMAccountNames as a name in AD. This
    # can't be set right away (as sAMAccountName) due to the 20
    # character restriction
    $newdn = (Get-ADUser $sam).DistinguishedName
    Rename-ADObject -Identity $newdn -NewName ($_.LastName + ", " + $_.GivenName)
    Write-Host "[INFO]`t Renamed $($sam) to $($_.GivenName) $($_.LastName)`r`n"
    "[INFO]`t Renamed $($sam) to $($_.GivenName) $($_.LastName)`r`n" | Out-File $log -append
    Catch
    Write-Host "[ERROR]`t Oops, something went wrong: $($_.Exception.Message)`r`n"
    Else
    Write-Host "[SKIP]`t User $($sam) ($($_.GivenName) $($_.LastName)) already exists or returned an error!`r`n"
    "[SKIP]`t User $($sam) ($($_.GivenName) $($_.LastName)) already exists or returned an error!" | Out-File $log -append
    Else
    Write-Host "[SKIP]`t User $($sam) ($($_.GivenName) $($_.LastName)) will be skipped for processing!`r`n"
    "[SKIP]`t User $($sam) ($($_.GivenName) $($_.LastName)) will be skipped for processing!" | Out-File $log -append
    $i++
    "--------------------------------------------" + "`r`n" | Out-File $log -append
    Write-Host "STARTED SCRIPT`r`n"
    Start-Commands
    Write-Host "STOPPED SCRIPT"

    Here is one I have used.  It can be easily updated to accommodate many needs.
    function New-RandomPassword{
    $pwdlength = 10
    $bytes = [byte[]][byte]1
    $pwd=[string]""
    $rng=New-Object System.Security.Cryptography.RNGCryptoServiceProvider
    while (!(($PWD -cmatch "[a-z]") -and ($PWD -cmatch "[A-Z]") -and ($PWD -match "[0-9]"))){
    $pwd=""
    for($i=1;$i -le $pwdlength;$i++){
    $rng.getbytes($bytes)
    $rnd = $bytes[0] -as [int]
    $int = ($rnd % 74) + 48
    $chr = $int -as [char]
    $pwd = $pwd + $chr
    $pwd
    function AddUser{
    Param(
    [Parameter(Mandatory=$true)]
    [object]$user
    $pwd=New-RandomPassword
    $random=Get-Random -minimum 100 -maximum 999
    $surname="$($user.Lastname)$random"
    $samaccountname="$($_.Firstname.Substring(0,1))$surname"
    $userprops=@{
    Name=$samaccountname
    SamAccountName=$samaccountname
    UserPrincipalName=“$[email protected]”)
    GivenName=$user.Firstname
    Surname=$surname
    SamAccountName=$samaccountname
    AccountPassword=ConvertTo-SecureString $pwd -AsPlainText -force
    Path='OU=Test,DC=nagara,DC=ca'
    New-AdUser @userprops -Enabled:$true -PassThru | |
    Add-Member -MemberType NoteProperty -Name Password -Value $pwd -PassThru
    Import-CSV -Path c:\users\administrator\desktop\users.csv |
    ForEach-Object{
    AddUser $_
    } |
    Select SamAccountName, Firstname, Lastname, Password |
    Export-Csv \accountinformation.csv -NoTypeInformation
    ¯\_(ツ)_/¯

Maybe you are looking for

  • Printer Update 2.16 Killed Wireless Printing on my Epson SX600FW

    I have been using an Epson SX600FW for several years and I don't remember having a problem with it until I recently allowed Software Update to install Printer Update 2.16 and since then I have been unable to print via wireless. I can still print via

  • How many elements in an array?

    Sounds like a simple question, right? Apparently not. LV 2010 I have a huge data structure, stored in DataLog files (thousands of them). I want to convert this structure to Name/Value pairs ("Operator_Name", "Joe Smith"), for use in a TDMS file. The

  • How can i tell if my i mac is available

    my ipod touch 4th gen cant sync via wifi. it says that the sync will continue when my imac is available what can i do

  • While editing one field disabling another field

    Hi there, I'm on JDEV 10.1.3.2.0 and JHS 10.1.3.1.26. I have a question about filling in a field on a screen. Is it possible when a user inserts text in one field that you disable another field dynamically so that the user cannot access this other fi

  • User interface annoyances in N97

    I just basically wanted to nag about few really annoying features in hope that Nokia might actually read this post. Please feel free to reaply and add to this list. Unlocking announcements Due to security, my phone locks itself every 60 minutes when