Adrelink.sh fails with new environment variable settings (HISTTTY)

Our IBM-AIX system administrators have adjusted some Unix Host environment variables, like HISTTTY, and made them readonly. They did this for locking down some security issues. When you run adpatch, for example, it would error when running adrelink. When you look at adrelink log, you see the following text:
You are running adrelink, version 115.28
Start of adrelink session
Date/time is Mon Feb 7 10:42:00 EST 2011
Log file is /in/OAAP/apps11i/oaapappl/admin/OAAP/log/adrelink.log
Command line arguments are
"force=y" "ranlib=y" "link_debug=n"
"filelist=/in/OAAP/apps11i/oaapappl/admin/OAAP/out/alkglx000.txt"
Operating System Information (output of 'uname -a'):AIX m015ap01 3 5 000AB1E0D600
Backup Mode is "file"
Removing extra variables from the environment...
adrelink will save the following variables (if set): - Generic:"PATH ORACLE_HOME TMPDIR TZ APPL_TOP APPLFENV
PLATFORM LD_LIBRARY_PATH COBDIR
LIBPATH NLS_LANG JAVA_TOP PERL5LIB"
- Shell-Specific: "PS1 PS2 PS3 PS4 IFS MAILCHECK _ LOGNAME A__z"
Beginning pass 1.
Processing 408 environment variables...
/in/OAAP/apps11i/oaapappl/ad/11.5.0/bin/adrelinknew.sh[1066]: HISTTTY: is read only
adrelink is exiting with status 1
End of adrelink session
Date/time is Mon Feb 7 10:42:01 EST 2011
Thanks in advance!

Our IBM-AIX system administrators have adjusted some Unix Host environment variables, like HISTTTY, and made them readonlyWhat is the value of HISTTTY"
Processing 408 environment variables...
/in/OAAP/apps11i/oaapappl/ad/11.5.0/bin/adrelinknew.sh[1066]: HISTTTY: is read only
adrelink is exiting with status 1
End of adrelink sessionFrom the error, looks like you need to give applmgr user more privileges on HISTTTY (try the execute privilege only first).
Thanks,
Hussein

Similar Messages

  • Setting new environment variable on Linux

    {noformat}I need to set new environment variable on my linux machine from inside my code. I am using csh and the command works fine from command line:
    setenv IFConfigLocation4 /home/username/myfile.xml
    But when i try the same thing from Java code it does not seem to have any effect. here is my code:
    import java.util.*;
    import java.io.*;
    public class CDE_parser_methods{
    public static String fileParse(String inFile, String parserName, String outFile, String CMConfig_locale)
    String parsed = "SUCCESSFUL";
    System.out.println("Parsing file..." + "\nParser name: " + parserName +"\nInput file name: " + inFile + "\nOutput file name: " + outFile + "\nCMConfig file is: " + CMConfig_locale);
    System.out.println("Current Java version: " + System.getProperty("java.version"));
    try
              String cmd[]={"/bin/csh", "-c", "setenv IFConfigLocation4 " + CMConfig_locale};
              Process proc = Runtime.getRuntime().exec(cmd);
              int exitVal= proc.waitFor();
              System.out.println("Value of setenv command is: " + exitVal);
              String cmd2[]={"/bin/csh", "-c", "env"};
              Process proc2 = Runtime.getRuntime().exec(cmd2);
              InputStream instr = proc2.getInputStream();
              InputStreamReader inread = new InputStreamReader(instr);
              BufferedReader buf = new BufferedReader(inread);
              String line=null;
              while((line=buf.readLine()) != null)
                   System.out.println(line);
              int exitVal2= proc2.waitFor();
              }catch(CMException cme){
                   System.out.println("Issue when trying to executing parse command, details: " + cme.getMessage());
                   System.out.println("Description of the issue is: " + cme.getDescription());
                   parsed = "FAILURE: " + cme.getDescription();
              }catch(Exception e){
                   System.out.println("Uncought exception, details: " + e.getMessage());
                   parsed = "FAILURE: " + e.getMessage();
         return parsed;
    public static void main(String[] args) {
         String results=CDE_parser_methods.fileParse("/opt/itemfield/ServiceDB/Project2/Mapping_for_Account_Number_Structure_ITS_Input_File.xls","MappingforAccountNumberStructure","/opt/itemfield/ServiceDB/Project2/test_ws_44.xml","/home/rvenishe/CMConfig.xml");
         System.out.println("Result of fileParse call is: " + results);
         }The out put of my env command does NOT contain system variable "IFConfigLocation4". Any ideas? {noformat}

    Environment variables and their values set from within a user process has their scope and lifetime limited to the process and its subprocesses. See java.lang.ProcessBuilder class and its API documentation for setting env for a subprocess that will be started by a ProcessBuilder instance. Even in the C programming we have the same limitation for the environment.
    Since they are not globally set, system command like env or Java method like System.getenv() can't see them.

  • Demantra DP 7.1.1/11.5.10 with OAS 10.1.3 environment variable settings

    I was wondering of anyone out there is using Demantra Demand Planning with Oracle Applications Server 10.1.3 on 11.5.10.2 that is not on a Windows Platform, and what the environment variables set in opmn.xml are referring to; 9i/10g client on the Windows client host or 9i/10g client on the linux middle tier server.
    Demantra, OracleAS 10.1.3 and the E-Business Suite
    http://blogs.oracle.com/schan/2007/05/22#a1585
    Oracle Demantra Installation for Release 7.1.1
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=428495.1
    (a) Set environment variables
    In some cases, Oracle Application Server environment variables do not correspond to the default system environment variables. You must explicitly set some variables in the Oracle Application Server process in order for Oracle Demantra workflows to operate properly.
    Open Oracle Application Server file opmn\conf\opmn.xml. Go to the section <ias-component id="OC4J"> and add a section <environment> within it, for example:
    <ias-component id="OC4J">
    <environment>
    <variable id="<variablename>" value="<path>"/>
    </environment>
    <process-type id="home" ...
    <variablename>'s are PATH, ORACLE_HOME, and ORA_NLS33. Add one <variable> line for each.
    <path> is the system path plus the Oracle database client path.
    Contact Oracle Demantra support if you need further assistance.
    Here is an example <environment> section with the variables set.
    <environment>
    <variable id="PATH" value=
    "C:\OracleiAS\10.1.3\OracleAS_1\opmn\bin;C:\OracleiAS\10.1.3\OracleAS_1\opmn\l
    ib;C:\OracleiAS\10.1.3\OracleAS_1\bin;C:\oracle\ora92\bin;C:\WINNT;C:\WINNT\sy
    stem32"/>
    <variable id="ORACLE_HOME" value=
    "C:\oracle\ora92"/>
    <variable id="ORA_NLS33" value=
    "C:\Oracle\ora92\ocommon\nls\admin\data"/>
    </environment>
    <process-type id="home" ...
    Thanks.

    Hello,
    Boy, Am i glad that there is a demantra forum here.
    We are getting ready to install and implement demantra to replace our current ODP system. Our current EBS architecture consists of a source 11.5.10.2 ERP instance on ATG.RUP.5 (3 node on sun servers with solaris 10) and also a planning (ASCP, 1 node sun server with solaris 10 ) instance with the same patch levels on seperate servers (distributed architecture). The current ODP is on our planning instance and will be replaced by Demantra eventually.
    For demantra because of our load levels and also for performance reasons, we are thinking of the following configuration.
    1 Server for 10g DB on Linux RHAS 4 (8cpu, 8gb ram)
    2 apps servers on 10g IAS on Linux RHAS 4 (4cpu, 4gb ram)
    Citrix cluster - 3 windows 2003 servers for analytical engine
    users desktops - DM administrative tool ?
    I am not at all clear on the installation document. Can one of you please please help me out on how to go about this install. My plan is to first install the 10g database, then the 10g apps servers. After that I am not clear.
    Are there seperate CD's for demantra install or can i download the installation, do i start the install on the DB server ? how do i hook it up to the apps servers ?
    is there a seperate installation cd for the analytical engine ?
    How do i hook up all of this to our planning instance ?
    Are there any patches that need to be applied to our source ERP , planning instance for this ?
    Do all the source, ASCP instances also need to be upgraded to 10g ?
    If you have a complete installation document with the sequence of steps and can share with me, then that would really help.
    Thanks.

  • Add firewall rule with custom environment variable in program path

    Hi,
    We want to create a firewall rule for a program which is placed in folder which changes sometimes. I know you can add a firewall with the ProgramFiles environment variable like this:
    netsh advfirewall firewall add rule name="Test Firewall rule" dir=in program="%%ProgramFiles%%\Test\Test.exe" action=allow security=notrequired
    The environment variable ProgramFiles isn't expanded and if the Program Files folder is different on a system the rule still works.
    We try to use this with a custom environment variable which we set a system environment variable with this command:
    SETX SomeFolder "D:\Some Folder\Apr 2015" /M
    If we use the command below to add the firewall rule in a batch file the environment variable SomeFolder is expanded correctly and the program path is added as a static path.
    netsh advfirewall firewall add rule name="Some Firewall Rule" dir=in program="%SomeFolder%\AFile.exe" action=allow security=notrequired
    Because the folder changes sometimes we want to change the environment variable SomeFolder and not remove the old firewall rule and create a new one. We want to add the environment variable SomeFolder to the program path as a (dynamic) environment variable
    and not as the expanded path at the moment when the rule is added. If we use this command:
    netsh advfirewall firewall add rule name="Some Firewall Rule" dir=in program="%%SomeFolder%%\AFile.exe" action=allow security=notrequired
    We get the error:
              Windows Firewall with Advanced Security
              An error occurred while adding the rule.
              Error: The parameter is incorrect
              Status: The application name could not be resolved
              OK   
    Why can't we use %%SOMEFOLDER%% like we can use %%PROGRAMFILES%%? The same error is shown when we try to add the firewall rule through the management console 'Windows Firewall with Advanced Security'
    W. Spu

    Hi,
    Based on my plenty of test with this problem, it seems like there is no better method to achieve your requirement. To add new policy to firewall, it would be better using general cmdlet. The path parameter like %%SomeFolder%% do have problem in add firewall
    policy cmdlet. 
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • How do I use Embed with an environment variable in an Actionscript AIR project Flash Builder 4.7

    I am using Flash Builder 4.7 to build an Actionscript AIR project.  The project embeds a number of png files from my local directory and I have been using absolute paths which all works fine.
    I have a laptop with which I want to start developing the same project - I set up a git repository that both the laptop and main pc can pull from and so I can get the source where I need it and push it back to the central repository.
    My problem is that the absolute paths for the embed commands don't work on the laptop as it has a different filesystem setup (Windows 8 with one drive as opposed to Windows 7 with a SSD and a data drive).  I thought the solution would be as easy as using an environment variable to specify the path which could then point to a different physical directory on both machines, i.e:
    [Embed(source = "DEVELOPER_RESOURCES/graphics/are/here.png"]
    I did a bit of research and there was quite a lot mentioned about setting up resource directories using path variables which I worked through but I just can't get it to compile.  The Actionscript compiler just won't find the png files however I specify the path.  I tried something with a FLEX project and the compiler didn't complain but I think this is because the compiler for FLEX uses a different convention.
    [Embed(source ="/Project Name/DEVELOPER_RESOURCES/graphics/are/here.png"]  works with FLEX but not Actionscript.
    So does anyone have a recipe for using the Embed command referencing assets using an environment variable that works across multiple machines with different file structures?

    I managed to find a solution on Windows which was to use symlinks and absolute paths.  You an basically point one directory to another so I did something like:
    mklink c:\developer_resources c:/the/local/path/to/my/resources
    and then reference all resources as c:\developer_resources\...
    Now as long as a developer machine has the right link (from c:\developer_resources to the place where the resources are kept) then it seems to work. 
    This doesn't however work for Mac and certainly isn't a solution for passing files between Mac and windows

  • Sql Loader with TSN environment variable.

    Sql loader command works fine if I have TSN entry in my system,Can I use SQL Loader with in any other way ie by use of some environment variable???
    What are the different ways I can use sql ldr ???

    952189 wrote:
    Sql loader command works fine if I have TSN entry in my system,Can I use SQL Loader with in any other way ie by use of some environment variable???
    What are the different ways I can use sql ldr ???
    >Sql loader command works fine if I have TSN entry in my system,Can I use SQL Loader with in any other way ie by use of some environment variable???
    What are the different ways I can use sql ldr ???
    if sqlldr is run on DB Server system, then no tnsnames.ora file is required.

  • Help with setting environment variable on solaris 10

    hi, i am new to solaris. i have solaris 10 x86, and as root user, i installed jdk 6 into /usr/jdk/jdk1.6.0_20. now i want to add the path /usr/jdk/jdk1.6.0_20/bin to my path variable. also i want to set JAVA_HOME. but each time i do this, and close the terminal, it resets. i mean when i echo $JAVA_HOME, i get nothing and if i echo $path, the address i aded is no longer there too.
    what can i do to make this permanent. and do i have to set it for every user, or will the one set by root, be seen by all users?
    thanks.

    Assuming you're using tcsh, then I typically place my environment variables in my .login.
    You can also place them in your .tcshrc file.
    Use
    setenv JAVA_HOME <path>
    for tcsh.
    For the Bourne shell, you can put them in the .profile file.
    Use
    JAVA_HOME=<path>
    export JAVA_HOME
    -- Ken

  • UDM and shell scripts and working with the ENVIRONMENT variable options

    In Userdefined metrics you have the ability to pass envronment variables.
    I was going to send
    DIR=/db/db05/oradata/ORCL/hot
    How to handle whats passed to the shell script?
    It passes $1 as {DIR=/db/db05/oradata/ORCL/hot}
    yes with the brackets. Here I figured it would simply set the DIR environment variable.
    Any cool tricks to work with this mess?
    Is it meant for perl scripts instead?
    Daryl.

    Ilmari Aalto wrote:
    Hi Darth,
    Thanks for your hint! Nevertheless I think it's something more profound, since there's no error etc. For example, should I have the path wrong I assume that OWB would return me some kind of an error when it doesn't find the .sh-file? Isn't there any log-file to see whether the command was executed? It seems like the execution of the User Defined element would be skipped altogether.
    Cheers,
    IlmariNo, if you don't give an absolute path OWB will not return any error, it just wont do anything at all...

  • Problem with my environment variable

    hello,
    I've set the following environment variables in Windows XP professional:
    JEE_HOME = C:\j2sdkee1.3.1
    JAVA_HOME = C:\j2sdk1.4.2_05
    PATH = ....... ;C:\j2sdkee1.3.1\bin
    When I wanted to run the J2EE server, I've got the following:
    C:\>j2ee
    Exception in thread "main" java.lang.NoClassDefFoundError: C:\j2sdkee1/3/1;C:\j2sdk1/4/2_05\lib\tools/jar;C:\j2sdkee1/3/1\lib\jhall/jar
    The "." changed in a "/"!
    Does somebody know how I can solve this problem?
    Thanks!

    So,
    I have in System PATH : C:\app\xps\product\11.2.0\dbhome_1\bin
    I have in HKEY_LOCAL_MACHINE > SOFTWARE > ORACLE > SYSMAN > OracleDBConsoleorcl : ORACLE_HOME value C:\app\xps\product\11.2.0\dbhome_1
    When i execute sqlplus / as sysdba comman, i receive error "the procedure entry point longjmp could not be found in the dynamic link lib. orauts.dll" and Error "ORA-12560"
    If i execute
    set ORACLE_HOME=C:\app\xps\product\11.2.0\dbhome_1
    C:\>set PATH=%ORACLE_HOME%\bin;%PATH%
    sqlplus "/ as sysdba"
    I don't receive Error.
    Why?

  • Problem with environment variable settings

    I am using J2SDK1.4.1
    I have set the classpath variables and path variables properly.
    When I go to commandline c:\> and type the command "javac" I get a message as follows---
    Registry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion'
    has value '1.4', but '1.3' is required.
    Error: could not find java.dll
    Error: could not find Java 2 Runtime Environment.
    If I change directory to c:\j2sdk1.4.1\bin> and type javac c:\dir_name\filename.java then the file compiles but when I try to run the java file I get an error message "Exception in thread main no ClassDef Found".
    How do I compile and run my java files.
    Can any body help me out.

    Your registry has some information in it that is in conflict with the 1.4.1 installation. Search the forums, there are some strings that address this problem of version conflicts.

  • ChangeConfigurationByName fails with "The specified configuration settings for Settings are invalid."

    Hello,
    I am tryint to update deployment and always have following error
    "The specified configuration settings for Settings are invalid. Verify that the service configuration file is a valid XML file, and that role instance counts are specified as positive integers."
    Have found similar
    thread  and
    stack overflow - without any success. I am not chaning anyting. Just reading deployment configuration and tryint to update with the same settings. I use .net azure sdk  wrappers to generate requests. Code looks like:
    var deployment = client.Deployments.GetByName(location.DataCenter, location.Cluster);var result = client.Deployments.ChangeConfigurationByName(location.DataCenter, location.Cluster, new DeploymentChangeConfigurationParameters{  Configuration = deployment.Configuration});
    Catched request response from fiddler:
    POST https://management.core.windows.net/[subscription-id]/services/hostedservices/[service-name]/deployments/[deployment-name]/?comp=config HTTP/1.1
    x-ms-version: 2013-11-01
    User-Agent: Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient/0.9.0.0
    client-tracking-id: 2
    Content-Type: application/xml
    Host: management.core.windows.net
    Content-Length: 544
    Expect: 100-continue
    Connection: Keep-Alive
    <ChangeConfiguration xmlns="http://schemas.microsoft.com/windowsazure">
    <Configuration>PFNlcnZpY2VDb25maWd1cmF0aW9uIHhtbG5zOnhzZD0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiIHhtbG5zPSJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL1NlcnZpY2VIb3N0aW5nLzIwMDgvMTAvU2VydmljZUNvbmZpZ3VyYXRpb24iPiAgPFJvbGUgbmFtZT0ieWF1aGVuLWNjaXMyIj4gICAgPEluc3RhbmNlcyBjb3VudD0iMSIgLz4gIDwvUm9sZT48L1NlcnZpY2VDb25maWd1cmF0aW9uPg==</Configuration>
    <ExtendedProperties />
    </ChangeConfiguration>
    Response
    HTTP/1.1 400 Bad Request
    Cache-Control: no-cache
    Content-Length: 351
    Content-Type: application/xml; charset=utf-8
    Server: 1.0.6198.51 (rd_rdfe_stable.140226-1543) Microsoft-HTTPAPI/2.0
    x-ms-servedbyregion: ussouth
    x-ms-request-id: dcb1c5aedb5872d4aaf90acfede2de0b
    Date: Tue, 04 Mar 2014 13:38:10 GMT
    <Error xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Code>BadRequest</Code><Message>The specified configuration settings for Settings are invalid. Verify
    that the service configuration file is a valid XML file, and that role instance counts are specified as positive integers.</Message></Error>
    the same data returned by operation status. Decoded base-64 encoded string looks like
    <ServiceConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration">
    <Role name="yauhen-ccis2">
    <Instances count="1" />
    </Role>
    </ServiceConfiguration>
    Have tried without new line symbols, without xmlns, updating by production. without any success

    Hi,
    The configuration file is a file with extension .cscfg. If you have Visual Studio, the file is automatically generated when you create the project, and automatically updated when you modify the project's properties.
      >> Not sure were could I get content of this file from api?
    It's needed to encode this file's content use base64, and put the result in the body of your request. (Please refer to
    http://msdn.microsoft.com/en-us/library/windowsazure/ee758710.aspx for more information.) 
      >> <ChangeConfiguration xmlns="http://schemas.microsoft.com/windowsazure">
    <Configuration>PFNlcnZpY2VDb25maWd1cmF0aW9uIHhtbG5zOnhzZD0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiIHhtbG5zPSJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL1NlcnZpY2VIb3N0aW5nLzIwMDgvMTAvU2VydmljZUNvbmZpZ3VyYXRpb24iPiAgPFJvbGUgbmFtZT0ieWF1aGVuLWNjaXMyIj4gICAgPEluc3RhbmNlcyBjb3VudD0iMSIgLz4gIDwvUm9sZT48L1NlcnZpY2VDb25maWd1cmF0aW9uPg==</Configuration>
    However, may I know how you find the body for your request? (It seems you do a base64 decoding, you find it is a valid configuration file, but it doesn't have any configuration settings.) Actually, the settings defined in csdef needed to
    be contained in the configuration file.
    Best Regards,
    Ming Xu
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Nokia Messaging send failing with new certificate

    I got a certificate update from my mail provider (IMAP business mail) and since then have been unable to send any emails from my Nokia E72. Reading mail is fine but everytime I send I get a bounce with the following message:
    500: Failure - sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    Everything still works fine with my blueyonder email (branded google mail).
    I think the problem therefore is that the certificate update from the mail provider isn't trusted by the nokia messaging server and that I don't seem to have a way to tell it to trust the new certificate (which I had to do on my laptop to access the same mail). ALthough I don't understand why I can still receive ok.....
    Help!

    Found it out at last.Look at the trouble shooting section of the following faq
    https://email.nokia.com/account/faq.action

  • EBCC syncronisation fail with new application

    Hello.
    My team has problems using the Portal 4.0 with WLS 6.1 SP1.
    We copied the p13n Domain and rename the Domain and the Server.
    When we then syncronise one of the sample webflows with the new server, all
    works fine.
    Then we add our very simple application with 2 jsps (one with a webflow form
    that fires an event that is configured to switch to the second one) on the
    same Domain/Server.
    When we then want to syncronise the EBCC could not connect (errormsg:
    Authorisation denied. Check User/pass and ensure server running)
    Can someone help us?
    Must we add some tables inside the cloudspace database or is this done
    automatically?
    Where is the relationship between the database and the application
    configured?
    Is there a simple tutorial from A to Z how to set up a new Domain and Server
    ready for webflow / Code and deploy a simplest application / configure
    webflow with ebcc.
    I need a all steps included tutorial to give this to my developers. The
    e-docs are great but it is dificult to collect all pices together.
    If someone has a finished configured simple webflow application please send
    it to me together with the domain config xml.
    Thanks a lot!
    Markus Lutum
    [email protected]

    Frank,
    You only need to do this config steps if you are setting up a cluster (or
    would like to synchronize several machines with a single EBCC instance
    automatically). For the default single user dev. box you should not need to
    do this, just deploying the DataSync WebApp (our apps have it) is all that
    is required. If you don't have any EJBs deployed on the machine (which is
    the case with the typical admin server) you also have to put p13n_util.jar
    under WEB-INF/lib of the DataSync WebApp.
    Please note that config is significantly improved with the upcoming 7.0
    release.
    (Param Name) = (Param Value)
    notifiedName = notifiedNameDataRepository
    notifiedPassword = password
    notifiedLogin = system
    notifiedUrl = http://localhost:7501/scddDataSync/DataSyncServlet
    notifiedRealm = weblogicYou need to append "-1" to all of these (ie. the paramter for the first URL
    would be "notifiedUrl-1", "notifiedUrl-2" for the second etc.
    This does not explain your NoClassDefFoundError however. Try cleaning up the
    temp server directories, double checking you put p13n_util.jar under the
    correct WEB-INF/lib and restarting the server.
    Sincerely,
    Daniel Selman
    "Frank Wang" <[email protected]> wrote in message
    news:[email protected]...
    >
    Hi again, Michael,
    I tried what you suggested, and still got the same NoClassDefFoundErrorexception
    for com/bea/p13n/management/data/message/MessageExecutor. This is what Idid:
    >
    1) I moved the p13n_util.jar file intoconfig\petflowDomain\applications\scdd\datasync\WEB-INF\lib.
    >
    2) I added the following parameters to the deployment descriptor for thedatasync
    webapp. Within the console's deployment descriptor screen for thedatasync webapp,
    I went to "Data Synchronization Web Application > Web App Descriptor >Parameters",
    and added the following parameters:
    (Param Name) = (Param Value)
    notifiedName = notifiedNameDataRepository
    notifiedPassword = password
    notifiedLogin = system
    notifiedUrl = http://localhost:7501/scddDataSync/DataSyncServlet
    notifiedRealm = weblogic
    3) Within the startup script (config\petflowDomain\startPetflow.bat), Iadded the
    argument "-Ddata.sync.jdbc.master.dr=true" to the end of the "java"command, immediately
    before "weblogic.Server".
    4) There is only one server configured for the petflowDomain, and it isnamed "petflowServer".
    Since this domain is a part of BEA's sample apps, I did not think I wouldneed to
    configure a separate "sync" server. The JDBC dataSyncPool (Services >JDBC > Connection
    Pools) starts up correctly, and is targeted at petflowServer. The Tx DataSource
    is also configured at Services > JDBC > Tx Data Sources. I really don'tthink that
    there's anything wrong with these configs since I copied this overstraight from
    PetFlow.
    Do you have any other suggestions? I do have a proposal: How about if youguys set
    up a working, blank domain with the correct servers, jar files, xmldescriptors,
    datasync app(s), and then e-mail it to me? Or, conversely, I can zip upmy current,
    non-working domain and send it to you for debugging? This would be fasterthan trying
    to exchange messages on the newsgroup.
    -Frank
    "Frank Wang" <[email protected]> wrote:
    Hi Michael,
    Thank you very much for your research and reply.
    Can you elaborate on Item 2 you mentioned? Which "parameters for
    synchronization
    w/managed servers" are you speaking of? Can you list which file(s) and
    which parameter(s)
    and values to configure? This will save me a lot of time trying tofigure
    that out.
    In Item 4, I'm not sure which servers are the "sync" server and "managed"
    server.
    I only have one server for my "ddDomain" domain. Can you explain this
    as well?
    I'm currently evaluating Portal on my local workstation, so there is no
    other physical
    server involved at the moment.
    Thanks again,
    Frank
    "Michael Goldverg" <[email protected]> wrote:
    Good news, issue is RESOLVED.
    Several things need to be done:
    1. Copy p13n_util.jar to the WEB-INF/lib directory under the datasync
    webapp,
    which
    is used as a proxy. This needed to be done because of the problems with
    the class
    loader.
    2. The BEA Deployment guide has several discrepancies, so the parameters
    fo synchronization
    with managed servers should be defined for the webapp itself, not forthe
    servlet.
    This could be done using the deployment descriptor edit from theconsole.
    Also, the
    document states the name for URL parameter as "notifiedURL" (incorrect),
    should be
    "notifiedUrl".
    3. In the startup parameters for the WLPortal server, running the proxy
    datasync
    application the following parameter should be added:"-Ddata.sync.jdbc.master.dr=true".
    4. Finaly, the datasync connection pool and TX datasource should bedeployed
    on all
    servers (sync server and managed servers).
    It took us 2 days to figure this out, but it works well now.
    Regards,
    Michael Goldverg
    "Frank Wang" <[email protected]> wrote:
    I have the same exact problem as the previous poster. I created a
    brand
    new domain
    called "ddDomain", and made a new enterprise app
    called "scdd". Within it, I created a simple webapp also called"scdd".
    Here's
    my folder structure:
    ddDomain\applications\scdd\
    pipeline.jar
    p13n_util.jar
    scdd\
    index.jsp
    welcome.jsp
    WEB-INF\
    web.xml
    weblogic.xml
    lib\
    webflow_servlet.jar
    webflow_taglib.jar
    datasync\
    (datasync files copied from\bea\wlportal4.0\applications\p13nApp\datasync)
    META-INF\
    application.xml
    The following are my settings:
    ddDomain\applications\scdd\META-INF\application.xml:
    <module>
    <web>
    <web-uri>datasync</web-uri>
    <context-root>scddDataSync</context-root>
    </web>
    </module>
    ebcc > Connection Settings > Connection Details > Data Synchronization:
    /scddDataSync/DataSyncServlet
    WLS starts up fine, and I know that I am hitting my "scdd" applicationfrom
    the browser
    (http://localhost:7501/scdd) since the
    index.jsp file was compiled.
    When I use the ebcc to synchronize (ebcc > Tools > Syncrhonize...), I
    get
    the following
    exception in WLS:
    <Jun 5, 2002 6:01:05 PM PDT> <Info> <Management> <Configuration changes
    for domain
    saved to the repository.>
    <Jun 5, 2002 6:02:56 PM PDT> <Info> <NT Performance Pack> <Allocating:'2'
    NT reader
    threads>
    <Jun 5, 2002 6:02:58 PM PDT> <Error> <HTTP>
    <[WebAppServletContext(14774279,datasync,/datasync)]
    Error loading servlet:
    'DataSyncServlet'
    java.lang.NoClassDefFoundError:com/bea/p13n/management/data/message/MessageExecutor
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:237)
    atweblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java
    :665)
    atweblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.ja
    va:643)
    (stack trace left out...)
    After a bit of looking, I discovered that the MessageExecutor classresides
    in p13n_util.jar.
    I tried adding this file to the
    scdd\WEB-INF\lib directory, but that didn't work. I also trieddeploying
    it as an
    EJB, that didn't work either, and gave me the
    following error:
    <Jun 7, 2002 11:25:39 AM PDT> <Error> <J2EE> <Error deployingapplication
    pipeline:
    Caught IOException for path=:
    C:\bea\wlportal4.0\.\config\petflowDomain\applications\.wlnotdelete\wlap1
    5174\pipeline.jar>
    Per tip of Mr. Daniel Selman in a previous posting, I tried deployinga
    number of
    other jar files found in
    \bea\wlportal4.0\applications\p13nApp, but they all gave me WLS
    exceptions.
    >>>>
    I am evaluating Portal/Webflow for my company, and would like thisresolved
    asap.
    The documentation is very poor and lacking a
    beginner's step-by-step guide.
    -Frank
    =============================================
    "David Anderson" <[email protected]> wrote:
    Synchronization is accomplished using the DataSyncServlet that needs
    to
    be
    deployed as part of you enterprise application in the datasync web
    application. If you have more than one enterprise application
    deployed
    to
    the same instance of Weblogic Server, you need to make sure that thecontext
    URI for the datasync web application is different for each of the
    enterprise
    applications.
    In your application.xml file there should be an entry as follows:
    <module>
    <web>
    <web-uri>datasync.war</web-uri>
    <context-root>portalDataSync</context-root>
    </web>
    </module>
    Make sure that the <context-root> element is different for each of the
    instances of the datasync application. Additionally, you should checkyour
    synchronization connection settings to make sure that the Data
    Synchronization setting is pointing to your context root. You can
    check
    this from the EBCC using Tools->Connection Settings selecting the
    connections tab on the resulting dialog box, selecting one of your
    connections, hitting the edit button and then the advanced button.
    You may need to clean out the database in order for thesynchronization
    to
    work.
    Dave
    "Markus Lutum" <[email protected]> wrote in message
    news:[email protected]...
    Hello.
    My team has problems using the Portal 4.0 with WLS 6.1 SP1.
    We copied the p13n Domain and rename the Domain and the Server.
    When we then syncronise one of the sample webflows with the new
    server,
    all
    works fine.
    Then we add our very simple application with 2 jsps (one with a
    webflow
    form
    that fires an event that is configured to switch to the second one)
    on
    the
    same Domain/Server.
    When we then want to syncronise the EBCC could not connect
    (errormsg:
    Authorisation denied. Check User/pass and ensure server running)
    Can someone help us?
    Must we add some tables inside the cloudspace database or is thisdone
    automatically?
    Where is the relationship between the database and the application
    configured?
    Is there a simple tutorial from A to Z how to set up a new Domainand
    Server
    ready for webflow / Code and deploy a simplest application /
    configure
    webflow with ebcc.
    I need a all steps included tutorial to give this to my developers.The
    e-docs are great but it is dificult to collect all pices together.
    If someone has a finished configured simple webflow application
    please
    send
    it to me together with the domain config xml.
    Thanks a lot!
    Markus Lutum
    [email protected]

  • Anyone noticed that with new upgrade, alarm settings are useless?

    Before the 07 upgrade, I had several different alarm settings.  For work, I have one that goes off at 6 am M-F.  I turn it to ON Sunday night, and then OFF Friday night.  Monday through Friday mornings, all I had to do was  Stop the alarm for the day,  and the alarm itself would still be set to go off Tuesday through Friday mornings. 
    Now, with the new upgrade, the alarm settings are useless.  When my alarm goes off in the a.m.  I have to now actually go to that alarm page and slide the settings for the week to OFF.  That means that I now have to physically turn the alarm ON and OFF every day.  Not a tragedy, but this is not an intended "feature" of the new 07, I am sure.   I have reduced different alarms down to 2; Weekend 8 am; and Weekdays 6 am;  and have to retrain my brain that I now have to remember to turn my alarm on every night before I go to bed. 

    Did you try tapping on the refresh button at the bottom of the contacts app - on the main page on the left side - the page that shows the list of all of your groups?... like Exchange, iCloud, whatever contacts sources that you have in the contacts app.
    I use Exchange for my contacts and that is what I chose in the Settings>Mail>Contacts>Default Account>Exchange and I chose Exchange contacts in the mail settings as well.

  • Time Machine Fails with New Internal HDD

    After vertical lines began proliferating on the screen of my iMac (intel core duo, late 2006 running Leopard 10.5.8), my Apple tech swapped it for a "similar" iMac, running the same OS, and dumped the contents of the original HDD onto the much larger new one. However, instead of an intel, the swap got me one of the original iMac G5 PPCs made in early 2006. After several days of having to reinstall software and other awful adjustments, the biggest problem is accessing Time Machine and having it continue with the new set-up (I gave the new HDD the same name as the old one).
    I can enter Time Machine but it remains static and I can not access any previous backups the usual way... I can click open the external drive (LaCie 1TB, Mac OS Extended, case-sensitive, journaled) and copy files if need be. It is filled only at 1/4 capacity.
    While doing that, I noticed in the backup list a last document "2011-11-01-024657.inProgress" at 3:47am followed by an alias folder "Latest" with the time stamp of 1:47am. I take it that 3:47am backup was interrupted when the iMac was shut down.
    I turned on Time Machine yesterday to get backups restarted but the first backup "failed." Now that the computer is different, will I have to reformat the LaCie to engage TM once more? Partition for two backup sets? For any of these options, I'd appreciate a step-by-step.
    Thank you too much!

    ClarkCom wrote:
    I can enter Time Machine but it remains static and I can not access any previous backups the usual way
    By default, Time Machine only shows the backups for the Mac it's running on.  To see the backups for a different one, you need the Browse... option, per #E2 in Time Machine - Troubleshooting.
    I can click open the external drive (LaCie 1TB, Mac OS Extended, case-sensitive, journaled)
    That's not a problem, and is the default when you let Time Machine format a backup drive.
    I noticed in the backup list a last document "2011-11-01-024657.inProgress" at 3:47am followed by an alias folder "Latest" with the time stamp of 1:47am. I take it that 3:47am backup was interrupted when the iMac was shut down.
    Correct. 
    I turned on Time Machine yesterday to get backups restarted but the first backup "failed."
    That could be any of a number of things.  See #C2 in the Troubleshooting article.  It will show you how to locate the message(s) that describe the problem, then help you fix it.    If that doesn't help, post back with details, including all the messages.
    Now that the computer is different, will I have to reformat the LaCie to engage TM once more?
    Depending on the space available, maybe, and it may be wise anyway.  Time Machine will start a new set of backups for the new Mac, so will need lots of room.  Worse, when the backup disk gets full, it will not delete the oldest backups from the old Mac to make room -- it will delete the oldest backups from the new one, instead.  (That's been fixed in Snow Leopard and Lion, but not Leopard.)

Maybe you are looking for

  • How to Stop Downloading?

    I originally installed Itunes to download some free physics courses from Yale. Like many Windows users, I didn't like the interface at all, so when I found a website where I could download the lectures directly, I stopped using Itunes for it. After t

  • 10.3.9 and 9.2.1

    I have an ibook that shipped with 9.2.1, that now has 10.3.9 and the classic system that was installed with 10.3. But the classic system is corrupted and needs re-install. is there any problem with re-installing the original 9.2.1 (i.e. will it cause

  • My internet connection no longer works

    I'm a newbie as regards MACs. I have a MBP and it has been working OK on the internet. I have a Netgear DG814 router and a LAN connected with my PCs. Internet is OK on the PCs (I'm using one for this post). It was OK on the MBP until I tried to set u

  • Windows 7 driver support for T60(p)

    Hello all Im a happy owner of a Thinkpad T60P, 2007-8LG model. However, im getting much tired of Windows XP and want to use the upcoming Windows 7 OS, but im a bit unsure if there will be any driver updates for the T60 models. I've seen the Windows 7

  • How do i install adobe reader on a flash drive?????

    how do i install adobe reader on a flash drive?