How to create a new instance of a global activity

Hi,
I have one global activity and three interactive tasks. I need a mechanism, which allows me to invoke the global activity from the interactive tasks.
The global activity should have some information of the task that invoked it and initiate another process.
Thanks for your help

Hi Eve,
Thanks.
First, it looks like you might be trying to create an instance in a process that is not in your current project. Is it possible that this is the case? Although you can have more than one project open at one time in Studio, you should not do this. Even if you have more than one project open, Studio's runtime components (the Engine, the Workspace, Tomcat and the Derby database) are only working against one project at a time. On Enterprise, this will not be an issue but on Studio you cannot do this.
Second, if the process that you're trying to create instances on is inside the same project, could you double check the id of the process you are trying to create instances in again? In the Project Navigator tab, right mouse click the process's name -> click "Properties" and look at the read only italisized text beside the "Id" label. It's going to be a String that has no space characters. Is this the String you are using in the method you are using to create instances? Here's an example. If your process's name is "My Process" then its id that you will use to create instances with it might be "MyProcess".
idOfProcess = "MyProcess"
ProcessInstance.create(processId : "/" + idOfProcess, arguments : argsIn, argumentsSetName : "BeginIn")Note I used the work "might". You can decide to change the name of your process at any time, but the id is always going to stay the same. So if you change your process to be "My Fantastic Process", its id is still going to be "MyProcess".
Third, have you defined an Organizational Unit (OU) for your processes (just asking - I am not at all encouraging you to do this)? If you've deployed this using an organization unit (OU) then you'd need to prefix this to the string also. To see if you've defined an OU for your processes right mouse click the project in the Project Navigator tab -> click "Engine Preferences" -> on the left side click "Deployment" -> in the "Organizational Unit" column do you see any entries? Doubt that you do, but if you have an OUs then I'd encourage you to take them out until you get this working.
Fourth, put logMessage statements before and after your logic where you are creating the instance in the other process just to make sure this where your error is occuring. One of your logMessage statements might look something like this:
logMessage "Before creating instance in process " + idOfProcess using severity = DEBUGFifth, if none of these ideas have been helpful - please post your logic on this thread. Put the text "{code}" before and after your logic so it reads a little better.
Thanks,
Dan

Similar Messages

  • Service Manager 9.21: How to create a new instance of scautolistener and assign a port to it.

    Hi,
    2 instances of scautolistener are already running and i want to create a new instance of scautolistener.
    The sm.cfg file entry of scautolistener instances are:
    sm -scautolistener:12670 -debugscauto -log:..\logs\scauto.log
    sm -scautolistener:12690 -log:..\logs\scsmtp.log
    Please guide me as how to create a new instance of scautolistener.

    first, you cannot create instances of methods. but you can create instances of classes (==objects).
    the algorithm for primes does not work yet (its your work) but i inserted the code to create your object.
    import java.math.*;
    public class IsPrime {
    public boolean isPrime1(int arg){
    for(int e = 2; e < arg; e++){
    int remainder=arg%e;
    if(remainder==0){
    System.out.println("This number is not a prime number");
    break;
    else {
    System.out.println("This number is a prime number");
    break;
    return true;
    public static void main(String[] args){
    System.out.println(args.length);
    if (args.length>1){
    System.out.println("Sorry you can only enter one number");
    else{
    String sNum =args[0];
    int iNum=Integer.parseInt(sNum);
    IsPrime myPrimesObject = new IsPrime(); // here is your object
    if (myPrimesObject.IsPrime1(iNum)==true)
    System.out.println("is a prime");else System.out.println("is not a prime");
    }

  • How to create a new instance of a method

    How can I create a new instance of
    public int IsPrime1(int arg) method in my main program and execute it. It has to be a non static method.
    I have this code
    import java.math.*;
    public class IsPrime {
         public int IsPrime1(int arg){
                   for(int e = 2; e < arg; e++){
                        int remainder=arg%e;
                             if(remainder==0){
                                  System.out.println("This number is not a prime number");
                                  break;
                             else {
                                  System.out.println("This number is a prime number");
                                  break;
         public static void main(String[] args){
              System.out.println(args.length);
              if (args.length>1){
                        System.out.println("Sorry you can only enter one number");               
              else{
              String sNum =args[0];
                   int iNum=Integer.parseInt(sNum);
    }

    first, you cannot create instances of methods. but you can create instances of classes (==objects).
    the algorithm for primes does not work yet (its your work) but i inserted the code to create your object.
    import java.math.*;
    public class IsPrime {
    public boolean isPrime1(int arg){
    for(int e = 2; e < arg; e++){
    int remainder=arg%e;
    if(remainder==0){
    System.out.println("This number is not a prime number");
    break;
    else {
    System.out.println("This number is a prime number");
    break;
    return true;
    public static void main(String[] args){
    System.out.println(args.length);
    if (args.length>1){
    System.out.println("Sorry you can only enter one number");
    else{
    String sNum =args[0];
    int iNum=Integer.parseInt(sNum);
    IsPrime myPrimesObject = new IsPrime(); // here is your object
    if (myPrimesObject.IsPrime1(iNum)==true)
    System.out.println("is a prime");else System.out.println("is not a prime");
    }

  • How to create a new instance without XWindows in HP_U 8.1.7

    Can Somebody help me?
    I want to create a new instance in HP-UX 8.1.7 database. There is no Xwindows installed. I think i should do this in SQL plus.
    If so can sombody give my this script.
    thanks

    First get a Telnet session on your platform.
    In the following, foo is the name of the database to be created. Obviously you will replace this in your script names and script contents with the name of the database you are about to create.
    The values of parameters, filenames, distribution of files across filesystems, numbers and sizes of rollback segments and redo logs contained in these scripts should not be considered to be "recommended" in any way. These are just examples to demonstrate syntax. (Although the values given here will create a perfectly viable database.)
    create_db_foo.sql
    create database foo
    maxlogfiles 16
    maxlogmembers 3
    maxdatafiles 30
    maxinstances 1
    maxloghistory 100
    logfile
    group 1 (
    '/local/oracle/redo_logs/foo/log1a.rdo',
    '/local/oracle/redo_logs/foo/log1b.rdo'
    ) size 50M,
    group 2 (
    '/local/oracle/redo_logs/foo/log2a.rdo',
    '/local/oracle/redo_logs/foo/log2b.rdo'
    ) size 50M,
    group 3 (
    '/local/oracle/redo_logs/foo/log3a.rdo',
    '/local/oracle/redo_logs/foo/log3b.rdo'
    ) size 50M
    datafile
    '/local/oracle/data/foo/system.dbf' size 300m;
    create_ts_foo.sql
    create tablespace DATA
    datafile '/local/oracle/data/foo/data1.dbf' size 200m;
    create tablespace TEMP
    datafile '/local/oracle/data/foo/temp1.dbf' size 100m;
    create tablespace INDEXES
    datafile '/local/oracle/data/foo/indexes1.dbf' size 100m;
    create tablespace ROLLBACK_SEGS
    datafile '/local/oracle/data/foo/rbs.dbf' size 50m;
    create_rbs_foo.sql
    create rollback segment rbs_1
    tablespace rollback_segs
    storage (initial 1M next 1M
    minextents 5 maxextents unlimited
    create rollback segment rbs_2
    tablespace rollback_segs
    storage (initial 1M next 1M
    minextents 5 maxextents unlimited
    create rollback segment rbs_3
    tablespace rollback_segs
    storage (initial 1M next 1M
    minextents 5 maxextents unlimited
    create rollback segment rbs_4
    tablespace rollback_segs
    storage (initial 1M next 1M
    minextents 5 maxextents unlimited

  • How to create a new instance of the pdf you are using within the pdf

    I am looking for the ability to create a new blank clone of the
    current pdf I am filling out. A department would like to ability to
    fill out as many of one form as needed. Sometimes it would be one
    form, other times it would be 15. They would like to ability to click
    a "new" button and get a new blank clone to fill out. Has anyone
    tried this or does anyone know how to do this?

    I am looking for the ability to create a new blank clone of the
    current pdf I am filling out. A department would like to ability to
    fill out as many of one form as needed. Sometimes it would be one
    form, other times it would be 15. They would like to ability to click
    a "new" button and get a new blank clone to fill out. Has anyone
    tried this or does anyone know how to do this?

  • How can i create a new instance on unix

    Hi,
    How can i create a new instance(instance only) on UNIX and how can i mount my database with this new instance.

    udayjampani wrote:
    Hi,
    How can i create a new instance(instance only) on UNIX and how can i mount my database with this new instance.1) Define Instance in your way!!?
    If you simply create a pfile and startup nomount with it, then -in theory- you have an instance running ( this method is used e.g. for restoring a rman backup )
    2) You can't. Database files are bound to a certain instance. What you can do is recreate an instance with e.g. a different name, using the scripts generated by a 'alter database backup controlfile to trace;' command
    Cheers
    FJFranken

  • How to create a new connection from SAPGUI to Test drive?

    Hi,
    I have installed Sap Netweaver Test drive on a linux virtual machine (windows host). The installation was successful and I was able to start the instance (application server and the database), yet I don't know how to create a new connection from my SAPGUI client (7.20) to this server. The static IP address of the server is 192.168.1.160.
    I entered the following values for my new connection entry
    Description: SAP Netweaver
    Application server: 192.168.1.160
    Instance number: 01
    System ID: DB2
    SAProuter: /H/192.168.1.160/S/3201/H/
    But it does not work. Any idea about the values needed  for creating a new entry?
    Thanks in advance,
    Dariyoosh

    >
    Dibya R Das wrote:
    > Why are you entering a router string? Can't you reach a box directly from your machine?
    >
    > Doesn't a ping to that host & a "telnet <host/ip address> 3201" work from your machine to the SAP System.
    >
    > Remove the router string you wont need if the above works.
    >
    > - Regards, Dibya
    Hello there,
    Thank you very much for your answer which solved my problem. In fact there was no need of providing router string.
    Kind Regards,
    Dariyoosh

  • PS2013 - When creating a new instance of Project Server hangs in 'Waiting for resources' status

    Hi,
    I have one instance of Project Server 2013 fully operational and I tried to duplicate the instance to make some tests. As I know the issue of using the same Content Database of Project Server in the same Server Farm, I used the powershell  backup/restore/dismount
    and mount the content database to change the site IDs to avoid index duplication. The Project server database was a regular SQL backup and restore in another database.
    I created a new Web App in the port 90 as show below.
    Then I included the Content database of Project Server as separated DB from SharePoint for this new SharePoint -acme90 and I tried to create the new instance. The creation hanged in "Waiting for Resources" status.
    To make another check excluding the reuse of the SharePoint-80 I tried to create another instance both in the SharePoint-80 where is the working instance and in the SharePoint-90, everything default and again they all hanged in Waiting for Resource.
    If I try to create the instance using PowerShell I got the following error:
    PS C:\Users\epm_setup> Mount-SPProjectWebInstance -DatabaseName Test_EPM -SiteCo
    llection http://acme02/epm -Lcid 1046
    Mount-SPProjectWebInstance : Cannot find an SPSite object with Id or Url:
    http://acme02/epm.
    At line:1 char:1
    + Mount-SPProjectWebInstance -DatabaseName Test_EPM -SiteCollection
    http://acme02/ ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~~~
        + CategoryInfo          : InvalidData: (Microsoft.Offic...ountPwaInstance:
       PSCmdletMountPwaInstance) [Mount-SPProjectWebInstance], SPCmdletPipeBindEx
      ception
        + FullyQualifiedErrorId : Microsoft.Office.Project.Server.Cmdlet.PSCmdletM
       ountPwaInstance
    All SharePoint and Project Server services are running, all App Pools and sites are started at the IIS. I could not find a hanging timer job.
    I cannot stop the hanged process or dismount the instances using Powershell since no instance created.
    How should I solve the hanging status of creation of the instance? As they are in Hyper-V I can go back using one snapshot.
    Thank you.
    Best regards, Ricardo Segawa - Segawas Projetos / Microsoft Partner

    Hi Eric,
    Thank your for your interest in this case.
    I checked for running and crashed PWA jobs and deleted all of them just after restoring the snapshot and tried to create the new instance in the new web app in port 90 (besides the existing and working instance in port 80), but again it hanged in "waiting
    for resources". There is not any timer job hanging, no error in event viewer or in log. So the error is well before working with cloned dbs.
    Answering your questiion, I am working all on 2013. My intention is backup one instance of the port 80 and copy to the instance of port 90, changing of course the url and the index of the content db of SharePoint. The process I used was:
    Create a new web app in port 90, creating a new SharePoint_Content_2 on a
    http://server:90 site.
    Created the top level site called Portal using the Team Site template.
    Create a new content db for new instance of Project Server named EPM_Content_2 using Central Admin.
    Backup content db from port 80 instance of Project Server and restore to this EPM_content_2 using PowerShell cmd.
    Dismounted and mounted this Project Server content db to create new index for existing sites to avoid index conflicts.
    Backup the Project Server DB from port 80 using SQL backup and restored as ProjectWebApp2 db for port 90 instance.
    Tried to create a new instance of Project Server
    http://server:90/pwa on web app of port 90 using the ProjectWebApp2 db and using the same app pool of the other instance. But as in the previous case, it hang out in "Waiting for resources".
    Best regards, Ricardo Segawa - Segawas Projetos / Microsoft Partner

  • How to create an asm instance manaually? oracle 11gr2.

    env: oracle 11gr2 os: hpux or aix single machine , not rac.
    question:how to create an asm instance manaually?? diskgroup,listener,db ,they can be resigistered to crs??
    can anyone give me document about it?

    Hi,
    This is a simple answer:
    Automatic Storage Management (ASM)
    ASM was a new storage option introduced with Oracle Database 10gR1 that provides the services of a filesystem, logical volume manager, and software RAID in a platform-independent manner. ASM can stripe and mirror your disks, allow disks to be added or removed while the database is under load, and automatically balance I/O to remove "hot spots." It also supports direct and asynchronous I/O and implements the Oracle Data Manager API (simplified I/O system call interface) introduced in Oracle9i.
    ASM is not a general-purpose filesystem and can be used only for Oracle data files, redo logs, and control files. Files in ASM can be created and named automatically by the database (by use of the Oracle Managed Files feature) or manually by the DBA. Because the files stored in ASM are not accessible to the operating system, the only way to perform backup and recovery operations on databases that use ASM files is through Recovery Manager (RMAN).
    ASM is implemented as a separate Oracle instance that must be up if other databases are to be able to access it. Memory requirements for ASM are light: only 64 MB for most systems.
    Installing ASM
    On Linux platforms, ASM can use raw devices or devices managed via the ASMLib interface. Oracle recommends ASMLib over raw devices for ease-of-use and performance reasons. ASMLib 2.0 is available for free download from OTN. This section walks through the process of configuring a simple ASM instance by using ASMLib 2.0 and building a database that uses ASM for disk storage.
    Determine Which Version of ASMLib You Need
    ASMLib 2.0 is delivered as a set of three Linux packages:
    * oracleasmlib-2.0 - the ASM libraries
    * oracleasm-support-2.0 - utilities needed to administer ASMLib
    * oracleasm - a kernel module for the ASM library
    Each Linux distribution has its own set of ASMLib 2.0 packages, and within each distribution, each kernel version has a corresponding oracleasm package. The following paragraphs describe how to determine which set of packages you need.
    First, determine which kernel you are using by logging in as root and running the following command:
    uname -rm
    Ex:
    # uname -rm
    2.6.9-22.ELsmp i686
    The example shows that this is a 2.6.9-22 kernel for an SMP (multiprocessor) box using Intel i686 CPUs.
    Use this information to find the correct ASMLib packages on OTN:
    1. Point your Web browser to http://www.oracle.com/technology/tech/linux/asmlib/index.html
    2. Select the link for your version of Linux.
    3. Download the oracleasmlib and oracleasm-support packages for your version of Linux
    4. Download the oracleasm package corresponding to your kernel. In the example above, the oracleasm-2.6.9-22.ELsmp-2.0.0-1.i686.rpm package was used.
    Next, install the packages by executing the following command as root:
    rpm -Uvh oracleasm-kernel_version-asmlib_version.cpu_type.rpm \
    oracleasmlib-asmlib_version.cpu_type.rpm \
    oracleasm-support-asmlib_version.cpu_type.rpm
    Ex:
    # rpm -Uvh \
    > oracleasm-2.6.9-22.ELsmp-2.0.0-1.i686.rpm \
    > oracleasmlib-2.0.1-1.i386.rpm \
    > oracleasm-support-2.0.1-1.i386.rpm
    Preparing... ########################################### [100%]
    1:oracleasm-support ########################################### [ 33%]
    2:oracleasm-2.6.9-22.ELsm########################################### [ 67%]
    3:oracleasmlib ########################################### [100%]
    Configuring ASMLib
    Before using ASMLib, you must run a configuration script to prepare the driver. Run the following command as root, and answer the prompts as shown in the example below.
    # /etc/init.d/oracleasm configure
    Configuring the Oracle ASM library driver.
    This will configure the on-boot properties of the Oracle ASM library
    driver. The following questions will determine whether the driver is
    loaded on boot and what permissions it will have. The current values
    will be shown in brackets ('[]'). Hitting <ENTER> without typing an
    answer will keep that current value. Ctrl-C will abort.
    Default user to own the driver interface []: oracle
    Default group to own the driver interface []: dba
    Start Oracle ASM library driver on boot (y/n) [n]: y
    Fix permissions of Oracle ASM disks on boot (y/n) [y]: y
    Writing Oracle ASM library driver configuration: [  OK  ]
    Creating /dev/oracleasm mount point: [  OK  ]
    Loading module "oracleasm": [  OK  ]
    Mounting ASMlib driver filesystem: [  OK  ]
    Scanning system for ASM disks: [  OK  ]
    Next you tell the ASM driver which disks you want it to use. Oracle recommends that each disk contain a single partition for the entire disk. See Partitioning the Disks at the beginning of this section for an example of creating disk partitions.
    You mark disks for use by ASMLib by running the following command as root:
    /etc/init.d/oracleasm createdisk DISK_NAME device_name
    Tip: Enter the DISK_NAME in UPPERCASE letters.
    Ex:
    # /etc/init.d/oracleasm createdisk VOL1 /dev/sdb1
    Marking disk "/dev/sdb1" as an ASM disk: [  OK  ]
    # /etc/init.d/oracleasm createdisk VOL1 /dev/sdc1
    Marking disk "/dev/sdc1" as an ASM disk: [  OK  ]
    # /etc/init.d/oracleasm createdisk VOL1 /dev/sdd1
    Marking disk "/dev/sdd1" as an ASM disk: [  OK  ]
    Verify that ASMLib has marked the disks:
    # /etc/init.d/oracleasm listdisks
    VOL1
    VOL2
    VOL3
    Create the ASM Instance
    ASM runs as a separate Oracle instance which can be created and configured using the Oracle Universal Installer. Now that ASMLib is installed and the disks are marked for use, you can create an ASM instance.
    Log in as oracle and start runInstaller:
    $ ./runInstaller
    1. Select Installation Method
    * Select Advanced Installation
    * Click on Next
    2. Specify Inventory Directory and Credentials
    * Inventory Directory: /u01/app/oracle/oraInventory
    * Operating System group name: oinstall
    * Click on Next
    3. Select Installation Type
    * Select Enterprise Edition
    * Click on Next
    4. Specify Home Details
    * Name: OraDB10gASM
    * Path: /u01/app/oracle/product/10.2.0/asm
    Note:Oracle recommends using a different ORACLE_HOME for ASM than the ORACLE_HOME used for the database for ease of administration.
    * Click on Next
    5. Product-specific Prerequisite Checks
    * If you've been following the steps in this guide, all the checks should pass without difficulty. If one or more checks fail, correct the problem before proceeding.
    * Click on Next
    6. Select Configuration Option
    * Select Configure Automatic Storage Management (ASM)
    * Enter the ASM SYS password and confirm
    * Click on Next
    7. Configure Automatic Storage Management
    * Disk Group Name: DATA
    * Redundancy
    - High mirrors data twice.
    - Normal mirrors data once. This is the default.
    - External does not mirror data within ASM. This is typically used if an external RAID array is providing redundancy.
    * Add Disks
    The disks you configured for use with ASMLib are listed as Candidate Disks. Select each disk you wish to include in the disk group.
    * Click on Next
    8. Summary
    * A summary of the products being installed is presented.
    * Click on Install.
    9. Execute Configuration Scripts
    * At the end of the installation, a pop up window will appear indicating scripts that need to be run as root. Login as root and run the indicated scripts.
    * Click on OK when finished.
    10. Configuration Assistants
    * The Oracle Net, Oracle Database, and iSQL*Plus configuration assistants will run automatically
    11. End of Installation
    * Make note of the URLs presented in the summary, and click on Exit when ready.
    12. Congratulations! Your new Oracle ASM Instance is up and ready for use.
    Kind regards
    Mohamed

  • Create a new instance of a class without starting new windows.

    I've a class with basic SWING functions that displays an interface. Within this class is a method which updates the status bar on the interface. I want to be able to reference this method from other classes in order to update the status bar. However, in order to do this, I seem to have to create a new instance of the class which contains the SWING code, and therefore it creates a new window.
    Can somebody give me an example, showing how I might update a component on the interface without a new window being created.
    Many thanks in advance for any help offererd.

    I've a class with basic SWING functions that displays
    an interface. Within this class is a method which
    updates the status bar on the interface. I want to be
    able to reference this method from other classes in
    order to update the status bar. However, in order to
    do this, I seem to have to create a new instance of
    the class which contains the SWING code, and
    therefore it creates a new window.
    Can somebody give me an example, showing how I might
    update a component on the interface without a new
    window being created.
    Many thanks in advance for any help offererd.It sounds like you have a class that extends JFrame or such like and your code must be going
               Blah  test = new Blah();
                test.showStatus("text");Whereas all you need is a reference to that Classs.
    So in your class with basic SWING functions that displays an interface.
    You Might have something like this
              // The Label for displaying Status messages on
              JLabel statusLabel = new JLabel();
              this.add( statusLabel , BorderLayout.SOUTH );What you want to do is provide other Classes a 'method' for changing your Status Label, so in that class you might do something like:
          Allow Setting of Text in A JLabel From various Threads.
         And of course other classes......
         The JLabel statusLabel is a member of this class.
         ie defined in this class.
        @param inText    the new Text to display
       public void setStatusText( String inText )
                    final String x = inText;
                    SwingUtilities.invokeLater( new Runnable()
                              public void run()
                                       statusLabel.setText( x );
      }You still need a reference to your first class in your second class though.
    So you might have something like this:
            private firstClass firstClassReference;        // Store Reference
            public secondClass(  firstClass  oneWindow )
                          // create whatever.........
                         this.firstClassReference = oneWindow;
    // blah blah.
          private someMethod()
                            firstClassReference.setStatusText( "Hello from Second Class");
        }Hope that gives you some ideas

  • Creating a new instance of a class within a superclass

    I have a class with 2 subclasses and in the top classs I have a method that needs to create a new instance of whihc ever class called it.
    Example:
    class Parent
         void method()
              addToQueue( new whatever type of event is calling this function )
    class Child1 extends Parent
    class Child2 extends Parent
    }What I mean is , if Child1 calls the method then a new Child1 gets added to the queue but if Child 2 calls method a new Child 2 gets added to the queue. Is this possible?
    Thanks.

    try
    void method()
    addToQueue(this.getClass().newInstance());
    }Is this what you want ?Won't that always add an object of type Parent?
    no if we invoke this method on the child object...
    we currently dun know how op going to implement the addToQueue()
    so... just making my guess this method will always add to same queue shared among
    Parent and it's childs......

  • How to create a web instance in weblogic?

              Dear All,
              I want to know how to create a web instance in weblogic server?
              Furthermore , where can i get more info. about the weblogic
              server , including how to use those examples pages provided from
              weblogic server, sampling of procedure to config each service ,
              e.g EJB , JSDB , JTA , etc., .
              thanks,
              chris
              

    Read the new JSP1.1 and servlet 2.2 specific for more information on
              this. You can deploy several jsp files in a single war file on a server.
              -- Prasad
              chris lee wrote:
              > Dear Prasad Peddada
              > Thank you for your helpful information.
              > I've read the page you have mentioned, I want to know
              > if I've serval pages written in jsp, how should I do if I
              > want to access those pages under the weblogic server?
              > Furthermore, Does the 'applicantion' mention in the paragraph
              > is the web instance I mentioned before?
              >
              > Thanks,
              > chris
              >
              > Prasad Peddada <[email protected]> wrote:
              > >http://edocs.beasys.com/wls/docs60/index.html
              > >
              > >-- Prasad
              > >
              > >chris lee wrote:
              > >
              > >> Dear All,
              > >> I want to know how to create a web instance in weblogic
              > >server?
              > >> Furthermore , where can i get more info. about the weblogic
              > >> server , including how to use those examples pages provided
              > >from
              > >> weblogic server, sampling of procedure to config each
              > >service ,
              > >> e.g EJB , JSDB , JTA , etc., .
              > >>
              > >> thanks,
              > >> chris
              > >
              Cheers
              - Prasad
              

  • How to create a new bundle of service and import it as normal user.

    Hi,
    I have created a service.
    Now am able to import and enable the service.
    I have placed my xml file under
    /var/svc/manifest/site
    The service name is
    <service
    name='site/newservice'
    I have imported the service as root user.
    <exec_method type='method' name='start' exec='/tmp/new/method/newservice start' timeout_seconds='30' />
    This service is not able to execute the operation which I have mentioned above. The following error is thrown in log file.
    Error: User 'root' is not the owner of '/tmp/new/method'
    So I tried to import the service as normal user, the following error is thrown.
    svccfg import /var/svc/manifest/site/newservice.xml
    svccfg: Could not create temporary service "TEMP/site/newservice" (permission de nied).
    svccfg: Import of /var/svc/manifest/site/newservice.xml failed. Progress:
    svccfg: Service "site/newservice": not reached.
    svccfg: Instance "newservice": not reached.
    Please help me to solve this issue.
    I thought instead of placing the service in default location,Why cant we create a new service of bundle and place the service there.
    Please help to solve this issue by suggesting some solution or how to create a new bundle of service and import it as normal user.
    Regards,
    Kalai

    kalaiyarasan_P wrote:
    Hi,
    I have created a service.
    Now am able to import and enable the service.
    I have placed my xml file under
    /var/svc/manifest/site
    The service name is
    <service
    name='site/newservice'
    I have imported the service as root user.Okay.
    <exec_method type='method' name='start' exec='/tmp/new/method/newservice start' timeout_seconds='30' />
    This service is not able to execute the operation which I have mentioned above. The following error is thrown in log file.
    Error: User 'root' is not the owner of '/tmp/new/method'By default, services run as the 'root' user. It's complaining that the method isn't also root.
    So I tried to import the service as normal user, the following error is thrown.You won't be able to do that easily. The user that does the import is almost always root. But wihin the manifest you could have it run as a different user.
    I thought instead of placing the service in default location,Why cant we create a new service of bundle and place the service there.
    Please help to solve this issue by suggesting some solution or how to create a new bundle of service and import it as normal user.You don't need to import this as a normal user, do you? You just want it to run as one, right?
    Darren

  • Why create a new instance of Main?

    I see many code samples posted that create a new instance of Main, but none of them seem to use it. But yet the Netbeans IDE won't seem to run without it. What is it for? How can it be utilized? How can it be nullified if it's not needed?

    Yes, that's a fair interpretation of my question. Why
    would Netbeans, or other IDE's, create a new instance
    of Main? Common logic says that there can only be one
    Main. More than one creates confusion.There can only be one main(String[] args) per class, but there's nothing which says that there can't be one main method in each class. I usually uses main methods to show example code, or to have some code which performs some kind of tests.
    Kaj

  • How to Create a new column from two different result sets

    How to Create a new column from two different result sets, both the result set uses the different date dimensions.

    i got solutions for this is apply filters in column formula it self, based on the requirement.

Maybe you are looking for

  • Safari crashes at random and hangs on restart (OS 10.4.11)

    I am working with a computer with a Safari problem that has only developed in the last couple of weeks. Safari crashes on different websites (no pattern that I can see although we are creating a log). I have tried the suggested solutions on several d

  • Dreamweaver CS3 reforderss ColdFusion templates

    Dreamweaver CS3 reorders ColdFusion template code without being asked When opening a Dreamweaver 8 ColdFusion page, Dreamweaver CS3 will reorder some ColdFusion tags. For example: 1. <cfswitch expression="#response.errorcode#"> 2. <cfcase value = "10

  • Split document when ever page starts with specific text

    Is it possible to split document when ever page starts with specific text

  • SCJP prep help -- bitwise bad boys?

    Hi, I'm studying for SCJP so obviously one of the details I have to brush up on are the oft-unused bitwise operators: & | ^ ~ I'm wondering if there are any mental techniques to using these in your head. Instead of literally writing out the number in

  • CPU load unbalanced and too low in multi-processor computers

    I have a rather large test system 5-6000 VIs and we have noted some peculiar behaviour. On a single processor system the application can take up to 100% of the available resources. On a two processor system the application can take up to 50% of the a