Setting Application Specific Classpaths

Good afternoon,
I am trying to figure out a way to set classpaths to application specific jar files with several other applications running on the same JVM. Is there a way to do this within the main configuration files?
Thanks,
Gary

Hi,
in OC4j or Oracle Application Server, orion-web.xml should be the place to look for. You can set multiple occurences of
<classpath path="<path to jar>" />
Frank

Similar Messages

  • Application specific properties file

    Hello
              Can any body help me how to build application specific properties file
              so that we can have independent application specific server with its own
              java class path environment.I read the procedure in beasys manuals but i
              could'nt understand clearly.
              Setting application-specific properties
              The weblogic.properties file is only accessible by WebLogic; that is,
              you can't add application-specific properties to the weblogic.properties
              file and expect that they will be read at startup time. However, you can
              set properties for your own application by creating a separate
              properties file. This file can be created and used in two ways:
              Put your application-specific properties file in the same directory as
              your weblogic.properties file. You can then use the following code to
              access the properties:
              Properties props = new Properties();
              String propertiesName = "myapp.properties";
              T3ServicesDef services =
              T3Services.getT3Services();
              String location =
              services.config().getProperty("weblogic.system.home") +
              java.io.File.separator + propertiesName;
              props =
              props.load(new DataInputStream(new FileInputStream(location)));
              Thanks in advance
              Ravi
              

    Hi, Ravi.
              I think I am "WeiG".
              Basically, you can not put your own properties on weblogic.properties. Every
              property in weblogic.properties managed by WLAS is pre-registered in WLAS
              internally. WLAS will print "Fund undefined property ...." messages for the
              un-registered property in weblogic.properties files.
              To use your application-specific properties, the paragraph you read suggests
              you create your own file, put it in $WL_HOME, and use the example code to
              read your own file.
              Hope it helps.
              Cheers - Wei
              Ravi <[email protected]> wrote in message
              news:[email protected]...
              > Hi Purdy
              >
              > Who is WeiG,can you tell me please
              >
              > Thanks
              > Ravi
              >
              > Cameron Purdy wrote:
              >
              > > I know that WeiG has answered this before ... try to ask Wei directly.
              > >
              > > --
              > >
              > > Cameron Purdy
              > > http://www.tangosol.com
              > >
              > > "Ravi" <[email protected]> wrote in message
              > > news:[email protected]...
              > > > Hello
              > > >
              > > > Can any body help me how to build application specific properties file
              > > > so that we can have independent application specific server with its
              own
              > > > java class path environment.I read the procedure in beasys manuals but
              i
              > > > could'nt understand clearly.
              > > >
              > > > ************************
              > > > Setting application-specific properties
              > > > The weblogic.properties file is only accessible by WebLogic; that is,
              > > > you can't add application-specific properties to the
              weblogic.properties
              > > > file and expect that they will be read at startup time. However, you
              can
              > > > set properties for your own application by creating a separate
              > > > properties file. This file can be created and used in two ways:
              > > >
              > > > Put your application-specific properties file in the same directory as
              > > > your weblogic.properties file. You can then use the following code to
              > > > access the properties:
              > > >
              > > > Properties props = new Properties();
              > > > String propertiesName = "myapp.properties";
              > > >
              > > > T3ServicesDef services =
              > > > T3Services.getT3Services();
              > > > String location =
              > > > services.config().getProperty("weblogic.system.home") +
              > > > java.io.File.separator + propertiesName;
              > > > props =
              > > > props.load(new DataInputStream(new FileInputStream(location)));
              > > >
              > > > ****************************
              > > >
              > > >
              > > >
              > > >
              > > > Thanks in advance
              > > > Ravi
              > > >
              >
              

  • Best practice for setting up directory for application specific entries

    In OID I want to add some information we need for our authorisation. The default authorisation isn't enough: users are allowed to access servlets if the data belongs to a group. And possibly they are allowed more then one roles for more then one data-groups. So for examle: datagroup1+role1+, datagroup1+role2 and datagroup2+role1.
    I want to define a application-specific tree for this data, something like:
    - Lariscontext (our application)
    ____|-Groups
    ______|--- group1 --- role1
    ______|_________|- role2
    ______|----group2 --- role1
    ________________|- role3
    And from the user-entry I want to refer to those entries, with constraints to check if they exist.
    - users
    ______|---- user1
    ____________attributs:cn=role1,cn=group1
    ____________________cn=role2,cn=group1
    ____________________cn=role1,cn=group2
    Are there any guidelines of how to do this, which object classes are usefull etc? Should I do this this way.
    regards,
    Eelco

    Did you ever come up with a way to set up the directory to handle the authorization details as you described. I have pretty much the same situation and I am looking for a starting point as to how best to setup the directory tree's users.

  • How to set up Application specific custom ogoff (sign-off) page.

    Hi,
    I'm using OracleAS 10.1.2.2
    Note 333638.1 shows us how do make a custom SSO login page to be application specific. This works.
    Now, I want to do a custom SSO logout (sign-out) page. Using the redirect method described does not seem to work. Please note that in our version 10.1.2.2, there is no default logout.jsp page in the /sso/jsp directory. To deploy a custom logout page, I would need to update the WWSS_LS_CONFIGURATION_INFO$ view.
    I was able to test a custom SSO logout.jsp page sucessfully. However, when I tried using a redirect_logout.jsp to make it application, it no longer works.
    Does anyone know or have any idea on how to deploy an application specific logout page? (i.e. only specific applications uses the custom logout page, otherwise go to the default one).
    Thanks.
    - Kevin

    Well,
    There are 5 choices to choose from on the page. In the description of the choices at the bottom of the page there are 7, and the two additional choices talk about having to first have registered the site with SSO. So...I'm interpreting that as meaning that other 2 possible choices would be displayed if the site is registered with SSO. That, plus the fact that the page which describes how to add the site to SSO seems to think that the SSO choices are displayed in the wizard.
    So, no, there's no "exact launguage" that says what the reason is for the choices not being displayed. Can you point me to some exact language that tells me how to get those choices displayed?

  • Location of application-specific properties files

    I am using Tomcat 4.0.3 under WinXP Pro, and I am trying to get my
    application to "find" an application-specific properties file. I am having problems trying to determine which directory to put this file in.
    Here is the Java code I am using for this class:
    import java.util.Properties;
    import java.io.FileInputStream;
    public class ForumProperties extends Properties {
       private static final String DEFAULT_FILENAME = "/WEB-INF/classes/mystuff.properties";
       private static ForumProperties globalProps;
       private ForumProperties() {
       private ForumProperties(String fileName) throws Exception {
          this();
          load(new FileInputStream(fileName));
       public static ForumProperties getInstance() throws Exception {
          try {
             if (globalProps == null)
                globalProps = new ForumProperties(DEFAULT_FILENAME);
          } catch (Exception ex) {
             ex.printStackTrace(System.out);
             throw new Exception("Error loading properties file");
          return globalProps;
    }I have put the properties file in just about every directory I can think of to try and find out where it's supposed to be, but I can't get it to work. I can put the file into the "user.home" System property (which turns out to be C:\Documents and Settings\Administrator) and have it pick it up, but I would prefer to put the file into the path of the application.
    I have tried four different methods to load this file:
    1. load(new FileInputStream(fileName)); (same as above)
    2. load(Thread.currentThread().getContextClassLoader().getResourceAsStream(fileName));
    3. load(this.getClassLoader().getResourceAsStream(fileName));
    4. load(getServletContext().getResourceAsStream(fileName));
    All of them fail for not finding the file except #4, but that's not the
    optimal solution as it requires a servlet context, which for "genericness of code reasons", I DON'T want to do.
    As an aside, I pulled the "java.class.path" from the System properties to see where it's pointing, and all it has in it is
    "<CATALINA_HOME>\bin\bootstrap.jar" with no other paths included.
    Is there an attribute or something in the server.xml or web.xml file I am forgetting to set, or another approach I should be taking?
    Bob

    See if this code fragment helps.
              String MAIN_FILE_PATH = "./BlueGnome/demos/Properties/DemoPropertiesFile.properties";
              java.net.URL url = ClassLoader.getSystemClassLoader().getResource(MAIN_FILE_PATH);
              System.out.println("PATH: resolved name = " + url);
              // Get the file.
              // We could just use FileInputStream here.  Then we would have
              // to provide a path that was meaningful to the system like
              //     c:\java\BlueGnome\demos\Properties\DemoPropertiesFile.properties
              // Doing it this way allows us to use generic directory
              // seperators and allows for it to search for the file using
              // the CLASSPATH.  That also allows for it to be in a jar file.
              java.io.InputStream is;
              is = ClassLoader.getSystemClassLoader().getResourceAsStream(MAIN_FILE_PATH);
              if (is == null)
                   throw new Exception("Resource File "
                        + MAIN_FILE_PATH + " not found.");
              aProperties.load(is);

  • Setting the runtime classpath

    Hi
    I have a beginner question regarding setting the java classpath.
    When I run a java command, I usually do a java -cp <jarfiles> <exe>. However, in my case, I am including up to 30 jar files. I am currently specifically defining the classpath, but I would like to have a more dynamic way to set the classpath. Is there a way to point to the folder and do a java -cp <foldername>/*.jar <exe>? I also have another problem with my jarfile folder, some of the jars are stored in separate folders(foo/myjar.jar, and foo/foo2/myjar.jar). Is there a way to set the classpath so that all I have to do is point to the foo folder? Also, copying my jars to the java.ext.dirs is not an option, since I am not an administrator on the box.
    Thanks.
    Joe

    I am getting this error when I try to run an install routine for an application that uses the JVM. I kept getting this error. Do you have any ideas. I am a newbie. I am running fedora, mozilla, and sun jsdk1.4.2_05.
    Thanks
    Mark Whitlock
    [root@localhost rapidwiz]# /tmp/RapidInstall/jre/Linux/1.1.8/bin/../lib/i686/green_threads/libzip.so: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference (libzip.so)
    Unable to initialize threads: cannot find class java/lang/Thread
    Could not create Java VM

  • Application specific key-value pairs in jndi.properties

    Hello,
    Can I specify my application specific key-value pair in jndi.properties?
    I tried something like this
    java.naming.factory.initial=.jndi.WLInitialContextFactory
    java.naming.provider.url=t3://localhost:7001
    myVar=myVal
    When i tried looking up "myVar" from my client program, I got an error.
    The other parameters like weblogic.jndi.WLInitialContextFactory are picked up.
    Anyhelp will be appreciated
    Vasim

    We have a similar problem.
    We would like to configure our PROVIDER_URL for a specific web application - not
    for the entire server. Since the URL should be different in development, test
    and production environments, we would prefer to just set it in the deployment
    descriptor. And we have a lot of code that just uses
    ctx = new InitialContext();
    when looking up EJBs, queues etc.
    Actually, to take the problem one step further, it should be expected that later
    we will have EJB's deployed on different machines/clusters - so we will actually
    need specific urls for each EJB.
    Is there a good way to do this? Or will we have to custom-develop our own jndi
    configuration standard using application parameters to set which JNDI provider
    each EJB should be looked up with?
    Alternativaely, can we "import" the JNDI trees of the app server in the JNDI tree
    of the web servers?
    So, how should we go about this?
    Robert Patrick <[email protected]> wrote:
    Vasim wrote:
    Hi Robert,
    You are right. But The object "myVar" which I am trying to look upis not in
    the JNDI tree nor am I interesed in binding it . But my requirementis that
    I have one application specific variable which I am trying to lookup and I
    dont want to have a separare config file for this..and hence the question..So, put the properties you want in the jndi.properties file and load
    the properties
    file from your code by doing something like this:
    Properties props = new Properties();
    ClassLoader cl = Thread.currentThread().getContextClassLoader();
    if (cl == null)
    cl = System.getSystemClassLoader();
    InputStream is = cl.getResourceAsStream("jndi.properties");
    props.load(is);
    Personally, I would not use this file and would create an application-specific
    file
    or, as Daniel suggested, define your properties as a System property
    and use
    System.getProperty("myVar").
    btw, is jndi.properties only for those objects which are bound to jnditree?
    jndi.properties is only used for creating the JNDI InitialContext. The
    whole idea
    of this file is that in remote client code (without the jndi.properties
    file), you
    need to do something like this to tell the JNDI classes how to connect
    to the JNDI
    provider:
    Properties props = new Properties();
    props.put(Context.PROVIDER_URL, "t3://myservername:7001");
    props.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    InitialContext ctx = new InitialContext(props);
    but inside the server, you only need to do this because the server is
    the provider
    and already knows how to connect to itself:
    InitialContext ctx = new InitialContext();
    Therefore, the jndi.properties file allows you to externalize this property-setting
    code that sets up the properties to be passed to the InitialContext constructor
    so
    that the remote client code can now look exactly like the code inside
    the server.
    The InitialContext constructor will look for this jndi.properties file
    in your
    classpath and load it to get the necessary configuration information
    to determine
    how to connect to the JNDI provider.
    Hope this helps,
    Robert

  • Application specific theme in CE7.1 web dynpro application

    Hi,
    where can I find documentation about setting up application specific themes for Java Web Dynpro applications running in Composition Environment 7.1? I've found documents that refer to the Visual Administrator but since it doesn't exist anymore in CE7.1 there must be a different way.
    Regards,

    Hi Kevin,
    Yes, charts are going to be supported in WD html in next versions of VC( Q3 2008).
    Regards,
    Kobi.

  • How do I use a MessageSelector with application-specific properties

    According to a couple of JMS references (Sun, Oreilly) and the oracle documentation (under the heading "Using Oracle Java Messaging Service (JMS) to Access AQ", page 102 of 1082 , Application Developers Guide - Advanced Queuing, Release 2 (8.1.6))
    Standard JMS Features
    "Message selection based on message header fields/properties"
    Is there a special syntax for using application-specific (user defined) JMS message properties as message selectors in Oracle 8.1.7?
    I've tried to create a message selector based on a custom property that I set, i.e. "username != 'William'". (example from O'Reilly JMS book, pg. 44)
    I always get a JMS-159: Invalid selector Selector Parse error unless the property is a JMS-Defined property. i.e., " JMSMessageID = 'ID:9789D65E215B3613E034080020B1456E' " works fine.
    From the docs and the oter examples, I figure application-specific (user-defined) properties are legal.
    Thans for any help in advance.

    Well I found an article in another forum that states in oracle 8i, message selectors are only supported on JMSCorrelationID and JMSMessageID
    (9i will have/has the full JMS spec support for message selectors , or so the response to the message says)
    Thanks anyway
    (Aricle Is In Products > Database > Oracle Advanced Queueing
    Title is JMS AQ: selector in createReceiver does not work)

  • How do I use a JMS MessageSelector with application-specific properties

    According to a couple of JMS references (Sun, Oreilly) and the oracle documentation (under the heading "Using Oracle Java Messaging Service (JMS) to Access AQ", page 102 of 1082 , Application Developers Guide - Advanced Queuing, Release 2 (8.1.6))
    Standard JMS Features
    "Message selection based on message header fields/properties"
    Is there a special syntax for using application-specific (user defined) JMS message properties as message selectors in Oracle 8.1.7?
    I've tried to create a message selector based on a custom property that I set, i.e. "username != 'William'". (example from O'Reilly JMS book, pg. 44)
    I always get a JMS-159: Invalid selector Selector Parse error unless the property is a JMS-Defined property. i.e., " JMSMessageID = 'ID:9789D65E215B3613E034080020B1456E' " works fine.
    From the docs and the oter examples, I figure application-specific (user-defined) properties are legal.
    Thans for any help in advance.

    Well I found an article in another forum that states in oracle 8i, message selectors are only supported on JMSCorrelationID and JMSMessageID
    (9i will have/has the full JMS spec support for message selectors , or so the response to the message says)
    Thanks anyway
    (Aricle Is In Products > Database > Oracle Advanced Queueing
    Title is JMS AQ: selector in createReceiver does not work)

  • How to set a specific width to all the TextInputs used in a mxml file on its creation complete?

    How to set a specific width to all the TextInputs used in a mxml file on its creation complete?

    Hi subhajit nag,
    I think the best approach would what I say is if you can make use of a Global variable or using a Singleton class having a variable which can be accessed globally through out the application.
    Below is the sample what I am talking to:
    So in below example you can access the variables textInputWidth and textInputHeight globally throghout the application since you have decalred them in main mxml file.
    You can access these variabled in another mxml file as Application.application.textInputWidth and Application.application.textInputHeight. So if at all you are required to modify these values you are only required to modify at a single place in main mxml file..thats it.
    If you are use any Singleton classes like ModelLocator you can place these variables in this class and refer from that class.
    Hope this resoved your problem..
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical">
    <mx:Script>
      <![CDATA[
       [Bindable]private var textInputWidth:int = 250;
       [Bindable]private var textInputHeight:int = 25;
      ]]>
    </mx:Script>
    <mx:Canvas id="canvas1">
      <mx:TextInput id="txt1" width="{textInputWidth}" height="{textInputHeight}"/> 
    </mx:Canvas>
    <mx:Canvas id="canvas2">
      <mx:TextInput id="txt2" width="{textInputWidth}" height="{textInputHeight}"/> 
    </mx:Canvas>
    <mx:Canvas id="canvas3">
      <mx:TextInput id="txt3" width="{textInputWidth}" height="{textInputHeight}"/> 
    </mx:Canvas>
    <mx:TextInput id="txt4" width="{textInputWidth}" height="{textInputHeight}"/>
    <mx:TextInput id="txt5" width="{textInputWidth}" height="{textInputHeight}"/>
    </mx:Application>
    If this post answers your question or helps, please kindly mark it as such.
    Thanks,
    Bhasker Chari 

  • Retrieve a set of specific objects

    I am looking for a way in JDO to retrieve and update sets of specific
    objects using a single SQL statement of the form:
    SELECT * FROM <ManagedEntity> WHERE <pk> IN (<pk1,pk2,...>)
    This is a relatively frequent and important use case for the types of
    applications that deal with graphs, such as for modeling telecommunications
    networks. I will describe below the specific behavior as taken from JSR 142:
    OSS Inventory API, specifically the Resource Inventory EJB Session Facade.
    (See http://jcp.org/jsr/detail/142.jsp and
    http://jcp.org/jsr/detail/144.jsp, which defines the API design patterns
    followed by http://java.sun.com/products/oss/ .)
    (1) ResourceInventoryEntityValue[]
    getResourceInventoryEntitiesByKeys(ResourceInventoryEntityKey[] keys,
    String[] attrNames)
    This is one occurrence of the operation pattern get<ManagedEntities>ByKeys.
    When the ResourceInventoryEntityValue implementation is a JDO
    PersistenceCapable class, and the ResourceInventoryEntityKey holds the
    primary key of each object of interest, the result set should be selected
    with a single SQL statement.
    (2) void removeResourceInventoryEntitiesByKeys (ResourceInventoryEntityKey[]
    keys)
    This is one occurrence of the operation pattern
    remove<ManagedEntities>ByKeys. The identified instances should be deleted
    with a single SQL statement.
    The problem is I do not see any obvious JDOQL syntax or operations on the
    JDO interfaces that would allow me to accomplish the above. On the positive
    side, Kodo is handling the other patterns extremely elegantly (pretty Java
    in WebLogic Server) and efficiently (pretty SQL). It is only this one ByKeys
    pattern that I can't see a way of doing nicely in JDO.
    Any help would be appreciated.
    Ben

    Thanks Abe. Your response was most helpful.
    Ben
    "Abe White" <[email protected]> wrote in message
    news:[email protected]...
    Actually, JDOQL does offer a way of doing what you want assuming you'reusing
    application identity and you use only a single primary key field:
    q.declareParameters ("Collection pks");
    q.setFilter ("pks.contains (myPKField)");
    Collection results = (Collection) filter.execute (pkCollection);
    Now the bad news: Collection parameters were added to the spec between the
    proposed final draft and the 1.0 release, and the were not noted in the
    spec ChangeLog. Unfortunately, that means that we here at Solarmetricdidn't
    notice the addition until someone pointed it out to us recently, and we
    haven't implemented it yet. Or actually, we've implemented it internally
    as part of a major query rework, but it won't be available publicly for
    awhile. You do, however, have other options:
    You could do it with "||" clauses:
    StringBuffer filter = new StringBuffer ();
    for (Iterator itr = pks.iterator (); itr.hasNext ();)
    filter.append (pkFieldName).append (" == ").append (itr.next ());
    if (itr.hasNext ())
    filter.append (" || ");
    q.setFilter (filter.toString ());
    Collection results = (Collection) q.execute ();
    You can also use our filter extensions (assuming you have the enterprise
    edition or have purchased the filter extensions module). You could usethe
    lit:sqlEmbed extension to embed whatever custom SQL you wanted:
    q.setFilter ("lit:sqlEmbed (\"IDX IN (...)\")");
    Collection results = (Collection) q.execute ();
    Good luck.
    I am looking for a way in JDO to retrieve and update sets of specific
    objects using a single SQL statement of the form:
    SELECT * FROM <ManagedEntity> WHERE <pk> IN (<pk1,pk2,...>)
    This is a relatively frequent and important use case for the types of
    applications that deal with graphs, such as for modeling
    telecommunications
    networks. I will describe below the specific behavior as taken from JSR142:
    OSS Inventory API, specifically the Resource Inventory EJB SessionFacade.
    (See http://jcp.org/jsr/detail/142.jsp and
    http://jcp.org/jsr/detail/144.jsp, which defines the API design patterns
    followed by http://java.sun.com/products/oss/ .)
    (1) ResourceInventoryEntityValue[]
    getResourceInventoryEntitiesByKeys(ResourceInventoryEntityKey[] keys,
    String[] attrNames)
    This is one occurrence of the operation patternget<ManagedEntities>ByKeys.
    When the ResourceInventoryEntityValue implementation is a JDO
    PersistenceCapable class, and the ResourceInventoryEntityKey holds the
    primary key of each object of interest, the result set should beselected
    with a single SQL statement.
    (2) void removeResourceInventoryEntitiesByKeys(ResourceInventoryEntityKey[]
    keys)
    This is one occurrence of the operation pattern
    remove<ManagedEntities>ByKeys. The identified instances should bedeleted
    with a single SQL statement.
    The problem is I do not see any obvious JDOQL syntax or operations onthe
    JDO interfaces that would allow me to accomplish the above. On thepositive
    side, Kodo is handling the other patterns extremely elegantly (prettyJava
    in WebLogic Server) and efficiently (pretty SQL). It is only this oneByKeys
    pattern that I can't see a way of doing nicely in JDO.
    Any help would be appreciated.
    Ben

  • SAP Netweaver/General settings/Set Countries/Set Country-Specific Checks

    Hi All,
    following the customizing navigation:
    SAP Netweaver/General settings/Set Countries/Set Country-Specific Checks
    By the flag "Other data", I can activate the check of tax numbers.
    So, SAP gives me an error message if a tax number filled in master data of customers or vendors is wrong.
    I'd like to change the message in warning...
    I've tried to do it, but without unsuccessfully.
    Could anyone help me?
    Thanks

    Hello,
    This is a cross client activity which is not directly available in the system in OBA5.
    The error message that is AR191
    You need to go to transaction code OBMSG and enter the message number in application area.
    In case if you get a warning message at this time stating that: "Changes to Repository or cross-client Customizing are not permitted". In that case you need to check with your basis administration to allow the cross client settings in SCC4. Until you make necessary changes in SCC4, your OBMSG transaction code is in ONLY DISPLAY mode.
    Application Area: AR
    Message No.191
    Allowed: W
    Standard: E
    Save your entries.
    Now this is available in OBA5 and give the application area AR and enter the message number.
    In Online and batch put the message number to W.
    Save your entries.
    Hope this solve your issue.
    Regards,
    Ravi

  • Application-specific print settings

    I use my iMac in my retail business for Point of Sale. I run credit cards through a browser-based processor, and I use Safari for that. I also use the iMac for everything else you need to do running a business, and so I've got three printers hooked up: a receipt printer, a label printer for price tags, and a laser printer.
    Right now I have to change the paper size every time I print a credit card receipt from Safari (30-50 times per 8-hour day). It's not an option to set the label printer AND its paper size in the global print defaults (that is, when I set the default printer in System Preferences, it doesn't give me the paper size option, 72mm x 180mm. I only get that option in the application print dialog.)
    My other problem is that having the default printer set as the label printer (since it gets used most consistently through the day) is that anytime I want to print anything else, I've got to change printers. And that's not infrequent, because I print 10-20 class schedules per day on the laser printer.
    Is there any way to specify a print default that is application-specific? That is, anytime I click "print" in Safari, I get the label printer automatically, but anytime I click "print" in Preview, I get the Laser printer automatically? I'm flummoxed.
    I've been looking at writing a script in AppleScript, is that the way to go? I tried making a workflow in Automator this morning, but it was slow and cumbersome, and no different than doing the clicking myself.
    Any ideas? Thanks for your time.
    Message was edited by: ShelSue (added detail to be more clear.)

    Hi Ewa,
    You could change owner firstly as below steps:
    1. Open the registry editor to the following key - HKEY_CLASSES_ROOT\AppID\{316CDED5-E4AE-4B15-9113-7055D84DCC97}.
    2. Change the permissions on the key itself by right-clicking on the {316CDED5-E4AE-4B15-9113-7055D84DCC97} key, and selecting "permissions".
    3. This will open up a permissions dialog box. Click the "Advanced" button.
    4. The key is owned by trustedinstaller. This needs to change before we continue, so click the "Change" link.
    5. Assuming the account you're using is part of the Administrators group, just type in "Administrators" in the box and click the "OK" button.
    6. Click the "Apply" button, then click the "OK" buttons until the permissions dialog window closes.
    7. You will need to right-click the registry key again (from step 2) and select "Permissions" again from the list.
    8. With "Administrators" highlighted, click to place a check into the "Full Control"/"Allow" box.
    9. Click the "Apply" button, then click "OK" again until the permissions dialog window closes.
    After done, run dcomcnfg as Administrator, you would see as below, continue the steps in the previous reply we discussed.
    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]

  • Application specific logging with Log4j on weblogic 8.1

    Hi,
    For a few days now, I have been trying to implement application specific logging using Log4j (1.2.x) for my 3 applications running on the same server (8.1.6). All three application war files are generated from same source. I followed the example of Jboss in setting up the Hierarchy for logging using RepositorySelector. In my case Java class which implements RepositorySelector is loaded through ServletContextListener from jar file placed in WEB_INF/lib folder and log4j.properties file is in WEB-INF folder of each application.
    Independent logging of each application takes place correctly, if the applications are deployed from console. However logging fails if weblogic is shutdown and restarted, in this case logging takes place from 2 classes only implementing filters of each application. Logging from other classes is not taking place. I am spinning my wheels on this and can't seem to figure out what the issue is.
    Thanks for any help...below is the snippet of code
    Sohan
    public static synchronized void init(ServletContext config, String strLogProperties, String webAppName)
    throws ServletException {
    if( !initialized ) // set the global RepositorySelector
    defaultRepository = LogManager.getLoggerRepository();
    RepositorySelector theSelector = new MyRepositorySelector();
    LogManager.setRepositorySelector(theSelector, guard);
    initialized = true;
    Hierarchy hierarchy = new Hierarchy(new RootCategory(Level.DEBUG));
    loadLog4JConfig(config, hierarchy, strLogProperties, webAppName);
    ClassLoader loader = Thread.currentThread().getContextClassLoader();
    repositories.put(loader, hierarchy);
    config.setAttribute("hierarchy", hierarchy );
    public LoggerRepository getLoggerRepository() {
    ClassLoader loader = Thread.currentThread().getContextClassLoader();
    LoggerRepository repository = (LoggerRepository)repositories.get(loader);
    if (repository == null) {
    return defaultRepository;
    } else {
    return repository;
    public void LogInit(ServletContext ctx) throws ServletException {
    System.out.println("\n\n---------------Log4jInit---------------\n\n");
    String strLogProperties = ctx.getInitParameter("Log4JProperties");
    System.out.println("Log4j properties " + strLogProperties);
    String webAppName = ctx.getInitParameter("LogFileName");
    System.out.println("App log File name " + webAppName);
    if (webAppName == null ) {
    webAppName = getWebAppName(ctx);
    System.out.println("Application name = " + webAppName);
    MyRepositorySelector.init(ctx, strLogProperties, webAppName);
    LOG = Logger.getLogger(this.getClass());
    LOG.info("Log message from Log4jInit ServletContextListener");
    System.out.println("\n\n---------------Log4jInit: Complete---------------\n\n");
    }

    Has anyone been able to get around the "Export of object xxx barred" error when
    trying to access the object?
    Thanks,
    Kevin
    "Koua" <[email protected]> wrote:
    >
    I have the same problem when adding listener for COM events. I think
    it's a bug
    in Weblogic. It seems that no one can help.
    Teresa Canales <[email protected]> wrote:
    Hi,
    I am getting the following error. I am not sure how to fix this. I
    looked in everywhere on the admin console and couldn't find anything.
    The following is what I am getting....
    BEA-210000 Apr 14, 2004 11:05:42 AM EDT servicelayertrain
    Error COM Export of object: com.symphonyhealth.user.facade.ejb.User_eecm3e_HomeImpl@2ba3e4
    barred
    Any help would be greatly appreciated.
    Teresa

Maybe you are looking for

  • MIGO Cancellation with MM Small Difference

    Hi SAP Guru, i have question regarding "MM Small diff. loss" in the accounting document for Good Receipt (cancellation). in Period 09/12 my material "ABC" cost price is 33.60, and this material stock is for Plant "1000". the order quantity is 48 unit

  • Picture services failed to load - An unexpected error occurred

    Just uninstalled Desktop 5.0 and installed Desktop 6.0. Everything else seems to be working fine.  It's just that when I try to access "Media Sync-->Pictures". I get the following message: "Picture services failed to load  - An unexpected error occur

  • Is the iphone 5s 32gb enough space for me

    Is the iphone 5s 32gb enough space for me

  • Disk size problem

    Hi all; I have wierd problem, and i dont know why its behave like that. Df -h gives me: Filesystem Size Used Avail Use% Mounted on /dev/cciss/c0d0p2 15G 8.5G 5.3G 62% / /dev/cciss/c0d0p1 99M 12M 82M 13% /boot none 4.0G 0 4.0G 0% /dev/shm /dev/cciss/c

  • Syncing photos etc with Motorola v235

    I have a Motorola v235 with camera and mp3 but cannot be recognized by my Powermac G4 with OS 10.4.10 & isync 2.2- help?