Can't  translate a selfmade Cube with MouseTranslate!

hello,
1st i'm very new to java3d, so please forgive me my unexpierience.
Why is it impossible to translate (via MouseTranslate) the cube in the middle of the view? MouseRotation seems to be work fine.
(i hope the pasted code is not to much, feel free to try)
tnx in advance
JIVI
import javax.swing.*;
import javax.vecmath.*;
import java.awt.*;
import javax.media.j3d.*;
import com.sun.j3d.utils.behaviors.mouse.*;
import com.sun.j3d.utils.universe.*;
public class myShape3D extends JFrame
  public myShape3D ()
    super ("myShape3D");
    Container c = getContentPane ();
    setDefaultCloseOperation (EXIT_ON_CLOSE);
    c.setLayout (new BorderLayout ());
    Canvas3D c3d = new Canvas3D (SimpleUniverse
      .getPreferredConfiguration ());
    c3d.setPreferredSize (new Dimension (500, 500));
    SimpleUniverse su = new SimpleUniverse (c3d);
    su.getViewingPlatform ().setNominalViewingTransform ();
    su.addBranchGraph (createBranchGraph ());
    c.add (c3d);
    pack ();
    setVisible (true);
  private BranchGroup createBranchGraph ()
    BranchGroup bg = new BranchGroup ();
    TransformGroup tg = new TransformGroup ();
    TransformGroup cCubeTg = new TransformGroup ();
    cCubeTg.setCapability (TransformGroup.ALLOW_TRANSFORM_READ);
    cCubeTg.setCapability (TransformGroup.ALLOW_TRANSFORM_WRITE);
    Transform3D negativeZTranslation = new Transform3D ();
    negativeZTranslation.set (new Vector3f (0.0f, 0.0f, -1.0f));
    cCubeTg.setTransform (negativeZTranslation);
    Shape3D colouredLine = new Shape3D ();
    Shape3D whiteLine = new Shape3D ();
    Shape3D cCube = new Shape3D ();
    Color3f red = new Color3f (1.0f, 0.0f, 0.0f);
    Color3f green = new Color3f (0.0f, 1.0f, 0.0f);
    Color3f blue = new Color3f (0.0f, 0.0f, 1.0f);
    Color3f cyan = new Color3f (0.0f, 1.0f, 1.0f);
    Color3f yellow = new Color3f (1.0f, 1.0f, 0.0f);
    Color3f magenta = new Color3f (1.0f, 0.0f, 1.0f);
    LineArray line = new LineArray (2, LineArray.COORDINATES
                           | LineArray.COLOR_3);
    Point3f p0 = new Point3f (-0.5f, 0.5f, 0.5f);
    Point3f p1 = new Point3f (-0.5f, -0.5f, 0.5f);
    Point3f p2 = new Point3f (0.5f, -0.5f, 0.5f);
    Point3f p3 = new Point3f (0.5f, 0.5f, 0.5f);
    Point3f p4 = new Point3f (-0.5f, 0.5f, -0.5f);
    Point3f p5 = new Point3f (-0.5f, -0.5f, -0.5f);
    Point3f p6 = new Point3f (0.5f, -0.5f, -0.5f);
    Point3f p7 = new Point3f (0.5f, 0.5f, -0.5f);
    Point3f [] frontCoords = new Point3f [] { p0, p1, p2, p3 };
    Color3f [] frontColors = new Color3f [] { red, red, red, red };
    Point3f [] backCoords = new Point3f [] { p4, p5, p6, p7 };
    Color3f [] backColors = new Color3f [] { green, green, green, green };
    Point3f [] topCoords = new Point3f [] { p0, p3, p7, p4 };
    Color3f [] topColors = new Color3f [] { blue, blue, blue, blue };
    Point3f [] bottomCoords = new Point3f [] { p1, p2, p6, p5 };
    Color3f [] bottomColors = new Color3f [] { cyan, cyan, cyan, cyan };
    Point3f [] leftCoords = new Point3f [] { p0, p4, p5, p1 };
    Color3f [] leftColors = new Color3f [] { yellow, yellow, yellow,
                             yellow };
    Point3f [] rightCoords = new Point3f [] { p3, p2, p6, p7 };
    Color3f [] rightColors = new Color3f [] { magenta, magenta,
                              magenta, magenta };
    QuadArray front = new QuadArray (4, QuadArray.COORDINATES
                         | QuadArray.COLOR_3);
    front.setCoordinates (0, frontCoords);
    front.setColors (0, frontColors);
    QuadArray back = new QuadArray (4, QuadArray.COORDINATES
                           | QuadArray.COLOR_3);
    back.setCoordinates (0, backCoords);
    back.setColors (0, backColors);
    QuadArray top = new QuadArray (4, QuadArray.COORDINATES
                          | QuadArray.COLOR_3);
    top.setCoordinates (0, topCoords);
    top.setColors (0, topColors);
    QuadArray bottom = new QuadArray (4, QuadArray.COORDINATES
                          | QuadArray.COLOR_3);
    bottom.setCoordinates (0, bottomCoords);
    bottom.setColors (0, bottomColors);
    QuadArray left = new QuadArray (4, QuadArray.COORDINATES
                           | QuadArray.COLOR_3);
    left.setCoordinates (0, leftCoords);
    left.setColors (0, leftColors);
    QuadArray right = new QuadArray (4, QuadArray.COORDINATES
                         | QuadArray.COLOR_3);
    right.setCoordinates (0, rightCoords);
    right.setColors (0, rightColors);
    DirectionalLight directLi;
    directLi = new DirectionalLight (
                         new Color3f (0.0f, 0.0f, 0.0f),
                         new Vector3f (0.0f, 0.0f, -1.0f));
    LineArray line2 = new LineArray (2, LineArray.COORDINATES
                         | LineArray.COLOR_3);
    Point3f [] coords = new Point3f [] {
                         new Point3f (-1.0f, 0.0f, 0.0f),
                         new Point3f (1.0f, 0.0f, 0.0f) };
    Color3f [] colors = new Color3f [] {
                         new Color3f (1.0f, 1.0f, 0.0f),
                         new Color3f (0.0f, 1.0f, 1.0f) };
    Point3f [] coords2 = new Point3f [] {
                          new Point3f (
                                    0.0f, -1.0f,
                                    -5.0f),
                          new Point3f (0.0f, 1.0f, -5.0f) };
    Color3f [] colors2 = new Color3f [] {
                          new Color3f (1.0f, 1.0f, 1.0f),
                          new Color3f (1.0f, 1.0f, 1.0f) };
    cCube.addGeometry (front);
    cCube.addGeometry (back);
    cCube.addGeometry (top);
    cCube.addGeometry (bottom);
    cCube.addGeometry (left);
    cCube.addGeometry (right);
    Appearance ap = new Appearance ();
    /* POLYGON_LINE overrides default behavior of QuadArray, but why? */
    PolygonAttributes attributes;
    attributes = new PolygonAttributes (
                         PolygonAttributes.POLYGON_FILL,
                         PolygonAttributes.CULL_NONE, 0);
    ap.setPolygonAttributes (attributes);
    cCube.setAppearance (ap);
    Transform3D translation = new Transform3D ();
    translation.set (new Vector3f (0.0f, 0.0f, -1.0f));
    tg.setTransform (translation);
    line.setCoordinates (0, coords);
    line.setColors (0, colors);
    line2.setCoordinates (0, coords2);
    line2.setColors (0, colors2);
    colouredLine.setGeometry (line);
    whiteLine.setGeometry (line2);
    cCubeTg.addChild (cCube);
    MouseRotate mouseRotate = new MouseRotate ();
    mouseRotate.setTransformGroup (cCubeTg);
    mouseRotate.setSchedulingBounds (new BoundingSphere ());
    MouseTranslate mouseTranslate = new MouseTranslate ();
    mouseTranslate.setTransformGroup (cCubeTg);
    mouseRotate.setSchedulingBounds (new BoundingSphere ());
    tg.addChild (colouredLine);
    bg.addChild (tg);
    bg.addChild (whiteLine);
    bg.addChild (mouseTranslate);
    bg.addChild (mouseRotate);
  //  bg.addChild (cCubeTg);
    bg.addChild (directLi);
    return bg;
  public static void main (String [] args)
    new  myShape3D ();
}

i have one sable program like urs u see this program means u will get idea......then also not clear means then i will tell
import java.applet.Applet;
import java.awt.BorderLayout;
import java.awt.Frame;
import com.sun.j3d.utils.applet.MainFrame;
import com.sun.j3d.utils.geometry.ColorCube;
import com.sun.j3d.utils.universe.*;
import com.sun.j3d.utils.behaviors.mouse.*;
import javax.media.j3d.*;
import javax.vecmath.*;
import java.awt.event.*;
import java.util.Enumeration;
public class MouseBehaviorApp extends Applet {
public BranchGroup createSceneGraph() {
BranchGroup objRoot = new BranchGroup();
TransformGroup objTransform = new TransformGroup();
objTransform.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
objTransform.setCapability(TransformGroup.ALLOW_TRANSFORM_READ);
objRoot.addChild(objTransform);
objTransform.addChild(new ColorCube(0.4));
objRoot.addChild(new Axis());
MouseRotate myMouseRotate = new MouseRotate();
myMouseRotate.setTransformGroup(objTransform);
myMouseRotate.setSchedulingBounds(new BoundingSphere());
objRoot.addChild(myMouseRotate);
MouseTranslate myMouseTranslate = new MouseTranslate();
myMouseTranslate.setTransformGroup(objTransform);
myMouseTranslate.setSchedulingBounds(new BoundingSphere());
objRoot.addChild(myMouseTranslate);
MouseZoom myMouseZoom = new MouseZoom();
myMouseZoom.setTransformGroup(objTransform);
myMouseZoom.setSchedulingBounds(new BoundingSphere());
objRoot.addChild(myMouseZoom);
objRoot.compile();
return objRoot;
public MouseBehaviorApp() {
setLayout(new BorderLayout());
Canvas3D canvas3D = new Canvas3D(null);
add("Center", canvas3D);
BranchGroup scene = createSceneGraph();
SimpleUniverse simpleU = new SimpleUniverse(canvas3D);
simpleU.getViewingPlatform().setNominalViewingTransform();
simpleU.addBranchGraph(scene);
public static void main(String[] args) {
System.out.print("MouseBehaviorApp.java \n- a demonstration of using the mouse ");
System.out.println("behavior utility classes to provide interaction in a Java 3D scene.");
System.out.println("Hold the mouse button while moving the mouse to make the cube move.");
System.out.println(" left mouse button - rotate cube");
System.out.println(" right mouse button - translate cube");
System.out.println(" Alt+left mouse button - zoom cube");
System.out.println("This is a simple example progam from The Java 3D API Tutorial.");
System.out.println("The Java 3D Tutorial is available on the web at:");
System.out.println("http://www.sun.com/desktop/java3d/collateral");
Frame frame = new MainFrame(new MouseBehaviorApp(), 256, 256);
class Axis extends Shape3D {
public Axis() {
this.setGeometry(createGeometry());
private Geometry createGeometry() {
IndexedLineArray axisLines = new IndexedLineArray(18,
GeometryArray.COORDINATES, 30);
axisLines.setCoordinate(0, new Point3f(-1.0f, 0.0f, 0.0f));
axisLines.setCoordinate(1, new Point3f(1.0f, 0.0f, 0.0f));
axisLines.setCoordinate(2, new Point3f(0.9f, 0.1f, 0.1f));
axisLines.setCoordinate(3, new Point3f(0.9f, -0.1f, 0.1f));
axisLines.setCoordinate(4, new Point3f(0.9f, 0.1f, -0.1f));
axisLines.setCoordinate(5, new Point3f(0.9f, -0.1f, -0.1f));
axisLines.setCoordinate(6, new Point3f(0.0f, -1.0f, 0.0f));
axisLines.setCoordinate(7, new Point3f(0.0f, 1.0f, 0.0f));
axisLines.setCoordinate(8, new Point3f(0.1f, 0.9f, 0.1f));
axisLines.setCoordinate(9, new Point3f(-0.1f, 0.9f, 0.1f));
axisLines.setCoordinate(10, new Point3f(0.1f, 0.9f, -0.1f));
axisLines.setCoordinate(11, new Point3f(-0.1f, 0.9f, -0.1f));
axisLines.setCoordinate(12, new Point3f(0.0f, 0.0f, -1.0f));
axisLines.setCoordinate(13, new Point3f(0.0f, 0.0f, 1.0f));
axisLines.setCoordinate(14, new Point3f(0.1f, 0.1f, 0.9f));
axisLines.setCoordinate(15, new Point3f(-0.1f, 0.1f, 0.9f));
axisLines.setCoordinate(16, new Point3f(0.1f, -0.1f, 0.9f));
axisLines.setCoordinate(17, new Point3f(-0.1f, -0.1f, 0.9f));
axisLines.setCoordinateIndex(0, 0);
axisLines.setCoordinateIndex(1, 1);
axisLines.setCoordinateIndex(2, 2);
axisLines.setCoordinateIndex(3, 1);
axisLines.setCoordinateIndex(4, 3);
axisLines.setCoordinateIndex(5, 1);
axisLines.setCoordinateIndex(6, 4);
axisLines.setCoordinateIndex(7, 1);
axisLines.setCoordinateIndex(8, 5);
axisLines.setCoordinateIndex(9, 1);
axisLines.setCoordinateIndex(10, 6);
axisLines.setCoordinateIndex(11, 7);
axisLines.setCoordinateIndex(12, 8);
axisLines.setCoordinateIndex(13, 7);
axisLines.setCoordinateIndex(14, 9);
axisLines.setCoordinateIndex(15, 7);
axisLines.setCoordinateIndex(16, 10);
axisLines.setCoordinateIndex(17, 7);
axisLines.setCoordinateIndex(18, 11);
axisLines.setCoordinateIndex(19, 7);
axisLines.setCoordinateIndex(20, 12);
axisLines.setCoordinateIndex(21, 13);
axisLines.setCoordinateIndex(22, 14);
axisLines.setCoordinateIndex(23, 13);
axisLines.setCoordinateIndex(24, 15);
axisLines.setCoordinateIndex(25, 13);
axisLines.setCoordinateIndex(26, 16);
axisLines.setCoordinateIndex(27, 13);
axisLines.setCoordinateIndex(28, 17);
axisLines.setCoordinateIndex(29, 13);
return axisLines;
}

Similar Messages

  • How can I create a details cube with millions records

    Hello everyone,
    I need now to create a cube for details data. But the problem is that the details data is very large. There are some millions records.
    How can I design such cube in the essbase? Or can man create such cube in the essbase at all?
    I need your suggests. Thank you very much!
    Ming

    hello Sandeep,
    thank you for your reply.
    Our situation is we have biee+essbase.
    And the users want to see the details data. The data is too large.
    The users want to get all data from excel (hyperion).
    So there are many problem with the speed performance.
    How can I design so that the performance is better?
    Ming

  • Can I sync my selfmade Ringtones with icloud to my iphone

    I used icloud for Backup an iTunes Match for Music. Thats the reason why I have not activate my iPhone with iTunes. Now I don´t want sync it with iTunes with cabel/WiFi. But I want the Ringtones from my iTunes Libary to my iPhone. Is this possible over iCloud?

    OK, this seemed to work for me. On a contact you see iPhone and iCloud at the very bottom. I apparently said I wanted to keep a version on my phone. To undo this go to settings>icloud>contacts and turn off contacts. When it asks you if you want to keep contacts on the phone say no. Make sure contacts are turned off. Exit out of the contacts app then turn contacts back on. If prompted to leave contacts on the iPhone say no. You may need to repeat for other icloud features.

  • I build databases with appleworks over 10 years on my ibook, and continue to add to them. Now I have a macbook pro. How can I translate the databases to a compatible program?

    Over 10 years I have built several databases with Appleworks. Now I have a macbook pro. How can I translate these databases to a 10.6.8 program?

    Thanks Joe, but that won't work. I've finally found a site that answers the question: http://www.wilmut.webspace.virginmedia.com/notes/aw/page1.html
    I can only say that by Apple I have been royally screwed. I'll never buy another mac -- everything I do would simply disappear into cyberspace.

  • I am trying to animate a file in photoshop with vanishing point. And when I "Return 3D layer to photoshop", I'll get a cube with dimensions. It´s not what I can see in tutorials, aperfect 3D space. Using win7.

    I am trying to animate a file in photoshop with vanishing point. And when I "Return 3D layer to photoshop", I'll get a cube with dimensions. It´s not what I can see in tutorials, a perfect 3D space. Using win7.

    An update -
    The libraries appear to all be in tact, now.
    The error I am getting,
    Parms are; 800/S80/5069660
    ERROR -  detected an exception: Unexpected database connector error
    is a connection issue.
    Any ideas??

  • Details: Numbers not translating an Excel document with column headings where the text is rotated counter clockwise 90 degrees with-in the cell.  Can you tell me how I can rotate the contents with-in a cell?

    Details: Numbers not translating an Excel document with column headings where the text is rotated counter clockwise 90 degrees with-in the cell.  Can you tell me how I can rotate the contents with-in a cell?

    Numbers does not have rotated text within cells.  You can place a text box over the cell that has rotated text but you cannot rotate text within a cell.

  • Transcoding Sessions unregistered with CUCM from standby gateway of CUBE with HA usingHSRP

    I have 2 C2921 routers working fine untill I enbale CUBE with HA. After configureing HSRP on ethernet interface, the transcoding and conferencing resources were unregistered on HSRP standby router even though I bind the sccp ccm group to physical interface.
    Raised Cisco TAC, but they also could not solve yet. Cisco TAC recommanded to have loopback or another interface.
    I configure gi02/ without HSRP configuration, but still the transcoding and conferencing resources are not getting registered. Cisco TAC is still analysing the logs.
    I am hoping I get resolution here. Configuration of standby router is below.
    Building configuration...
    Current configuration : 13985 bytes
    ! Last configuration change at 15:07:25 BST Fri Aug 1 2014
    ! NVRAM config last updated at 15:07:25 BST Fri Aug 1 2014
    version 15.4
    service timestamps debug datetime msec localtime
    service timestamps log datetime msec localtime
    service password-encryption
    service internal
    service sequence-numbers
    hostname CHN-RT-VG01
    boot-start-marker
    boot system flash:c2900-universalk9_npe-mz.SPA.154-3.M.bin
    boot system flash:c2900-universalk9_npe-mz.SPA.154-2.T1.bin
    boot-end-marker
    ! card type command needed for slot/vwic-slot 0/0
    card type e1 0 1
    card type e1 0 2
    logging queue-limit 10000
    logging buffered 10000000
    logging rate-limit 10000
    no logging console
    enable secret 4 XkK1t85uKpzHay4O0x8hP0rt1uO7UwNlcWBLwLAsn3Y
    ipc zone default
     association 1
      no shutdown
      protocol sctp
       local-port 5000
        local-ip 10.215.8.148
       remote-port 5000
        remote-ip 10.215.8.149
     --More--         no aaa new-model
    clock timezone BST 0 0
    clock summer-time BST date Mar 28 1993 0:00 Oct 27 2035 23:59
    network-clock-participate wic 1
    network-clock-participate wic 2
    network-clock-select 1 E1 0/1/0
    network-clock-select 2 E1 0/1/1
    network-clock-select 3 E1 0/2/0
    no ip domain lookup
    ip domain name DILFLPROD.CO.UK
     --More--         ip cef
    ipv6 multicast rpf use-bgp
    no ipv6 cef
    multilink bundle-name authenticated
    isdn switch-type primary-4ess
    cts logging verbose
    crypto pki trustpoint TP-self-signed-3464013556
     enrollment selfsigned
     subject-name cn=IOS-Self-Signed-Certificate-3464013556
     revocation-check none
     rsakeypair TP-self-signed-3464013556
    crypto pki certificate chain TP-self-signed-3464013556
     certificate self-signed 01
      3082022B 30820194 A0030201 02020101 300D0609 2A864886 F70D0101 05050030
      31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
      69666963 6174652D 33343634 30313335 3536301E 170D3132 31313232 30353530
      30345A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
      4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D33 34363430
      31333535 3630819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
      8100FD06 30324087 5D131745 446B6933 963E32DB 4B3F78D3 C2627F7B A68792EA
      0686B7C1 93B66C1A 2287DD72 26AC10BE F6B5DE89 CEF9C800 836DAD25 4A32FC52
      99A65E45 FAD97919 4BD2CFC8 136EB9AC F7F21045 0A930247 0E72CE1B 1C00D1BD
      59B83BED 73639AA5 C78A657B EC55F15B 5287703C 3ED94E47 492DFAD0 89934B27
      5CD10203 010001A3 53305130 0F060355 1D130101 FF040530 030101FF 301F0603
      551D2304 18301680 146F6961 3C46FDE7 C105ADBF 5C07A675 7F7B5828 E1301D06
      03551D0E 04160414 6F69613C 46FDE7C1 05ADBF5C 07A6757F 7B5828E1 300D0609
      2A864886 F70D0101 05050003 8181005E 509EACC9 67205643 133DD745 5A6E7C82
      7AAE0766 C68C215B 6222A86F A08AC77D 1030664E F77F6CFB CF021C94 BC5FB190
      FEA96EE9 5A502DC6 D4407467 9662683E CFDC1779 4016A9A0 32EF415D 6E21DF53
      D710D173 7BFC300A FDEE54D8 36BBED28 05A6A752 652F2550 E6BC5896 D4EC222A
      C82C1B2A 4FEF6ED3 44DE109E DD796E
     --More--            quit
    voice-card 0
     dspfarm
     dsp services dspfarm
    voice call send-alert
    voice service voip
     mode border-element
     allow-connections sip to sip
     redundancy
     fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
     sip
      early-offer forced
      midcall-signaling passthru
      g729 annexb-all
    voice translation-rule 100
     rule 1 /^44845..\(.....\)/ /\1/
     rule 3 /^4411...\(....\)/ /2\1/
    voice translation-profile LiveOpsInbound
     translate called 100
    voice translation-profile OutboundtoKolDDI
     translate called 1
     --More--         !
    application
     global
      service alternate Default
    license udi pid CISCO2921/K9 sn FCZ164760NP
    hw-module pvdm 0/0
    hw-module pvdm 0/1
    username controller privilege 15 password 7 050F0F03284B4B070D04
    username voiceadmin privilege 15 password 7 1514190501242F37243A3327
    username shaums privilege 15 password 7 151602000D2D2E2A3C32
    username 745162 privilege 15 password 7 08254542001E0019060A
    username 256108 privilege 15 password 7 0124030858040B0A70
    redundancy inter-device
     scheme standby SB
    redundancy
     no keepalive-enable
     notification-timer 60000
    controller E1 0/1/0
     pri-group timeslots 1-31 service mgcp
    controller E1 0/1/1
     pri-group timeslots 1-31 service mgcp
    controller E1 0/2/0
     pri-group timeslots 1-31 service mgcp
    controller E1 0/2/1
     pri-group timeslots 1-31 service mgcp
    track 1 interface GigabitEthernet0/0 line-protocol
    track 2 interface GigabitEthernet0/1 line-protocol
    interface Embedded-Service-Engine0/0
     no ip address
     shutdown
    interface GigabitEthernet0/0
     description **Inside***
     ip address 10.215.8.132 255.255.255.240
     standby delay minimum 30 reload 60
     standby version 2
     standby 1 ip 10.215.8.135
     standby 1 priority 50
     standby 1 preempt
     standby 1 name SB
     standby 1 track 2 decrement 10
     duplex auto
     speed auto
    interface GigabitEthernet0/1
     description **Outside***
     ip address 10.215.8.148 255.255.255.240
     standby delay minimum 30 reload 60
     standby version 2
     standby 2 ip 10.215.8.150
     standby 2 priority 50
     standby 2 preempt
     standby 2 track 1 decrement 10
     duplex auto
     speed auto
     media-type rj45
     --More--         !
    interface GigabitEthernet0/2
     ip address 10.215.8.164 255.255.255.240
     duplex full
     speed 1000
    interface Serial0/1/0:15
     no ip address
     encapsulation hdlc
     isdn switch-type primary-net5
     isdn incoming-voice voice
     isdn bind-l3 ccm-manager
     no cdp enable
    interface Serial0/1/1:15
     no ip address
     encapsulation hdlc
     isdn switch-type primary-net5
     isdn incoming-voice voice
     isdn bind-l3 ccm-manager
     no cdp enable
    interface Serial0/2/0:15
     no ip address
     encapsulation hdlc
     isdn switch-type primary-net5
     isdn incoming-voice voice
     isdn bind-l3 ccm-manager
     no cdp enable
    interface Serial0/2/1:15
     no ip address
     encapsulation hdlc
     isdn switch-type primary-net5
     isdn incoming-voice voice
     isdn bind-l3 ccm-manager
     no cdp enable
    ip forward-protocol nd
     --More--         ip http server
    ip http access-class 23
    ip http authentication local
    ip http secure-server
    ip http timeout-policy idle 60 life 86400 requests 10000
    ip rtcp report interval 3000
    ip route 0.0.0.0 0.0.0.0 10.215.8.129
    ip sla auto discovery
    ip sla 40001
     udp-jitter 10.215.191.3 17000 source-ip 10.215.8.132 codec g729a codec-numpackets 100
     tos 184
     owner SW.IpSla.CHVISM0210.SolarWindsOrion
     frequency 300
     timeout 180000
     threshold 1000
    ip sla schedule 40001 life forever start-time now
    ip sla 40003
     udp-jitter 10.215.221.131 17000 source-ip 10.215.8.132 codec g729a codec-numpackets 100
     tos 184
     owner SW.IpSla.CHVISM0210.SolarWindsOrion
     frequency 300
     timeout 180000
     threshold 1000
    ip sla schedule 40003 life forever start-time now
    no logging trap
    snmp-server community m&9C4rd4L%mw RO 10
    snmp-server community m&9C4rd4L%m RW 10
    snmp-server enable traps isdn call-information
    snmp-server enable traps isdn layer2
    snmp-server enable traps isdn chan-not-avail
    snmp-server enable traps isdn ietf
    snmp-server host 10.215.10.10 version 2c m&9C4rd4L%mw
    snmp-server host 10.215.232.202 version 2c m&9C4rd4L%mw
    tftp-server flash0:SCCP42.9-1-1SR1S.loads
    tftp-server flash0:apps42.9-1-1TH1-16.sbn
    tftp-server flash0:cnu42.9-1-1TH1-16.sbn
     --More--         tftp-server flash0:cvm42sccp.9-1-1TH1-16.sbn
    tftp-server flash0:dsp42.9-1-1TH1-16.sbn
    tftp-server flash0:jar42sccp.9-1-1TH1-16.sbn
    tftp-server flash0:term42.default.loads
    tftp-server flash0:term62.default.loads
    tftp-server flash0:/c2600-ipvoicek9-mz.124-25d.bin
    access-list 23 permit 10.10.10.0 0.0.0.7
    control-plane
    voice-port 0/1/0:15
    voice-port 0/2/0:15
    voice-port 0/1/1:15
    voice-port 0/2/1:15
    mgcp
    mgcp call-agent 10.215.8.7 2427 service-type mgcp version 0.1
    mgcp dtmf-relay voip codec all mode out-of-band
    mgcp rtp unreachable timeout 1000 action notify
    mgcp modem passthrough voip mode nse
    mgcp package-capability rtp-package
    mgcp package-capability sst-package
    mgcp package-capability pre-package
    no mgcp package-capability res-package
    no mgcp timer receive-rtcp
    mgcp sdp simple
    mgcp fax t38 inhibit
    mgcp bind control source-interface GigabitEthernet0/0
    mgcp bind media source-interface GigabitEthernet0/0
    mgcp behavior rsip-range tgcp-only
    mgcp behavior comedia-role none
    mgcp behavior comedia-check-media-src disable
     --More--         mgcp behavior comedia-sdp-force disable
    mgcp profile default
    sccp local GigabitEthernet0/2
    sccp ccm 10.215.8.7 identifier 1 priority 1 version 7.0
    sccp ccm 10.215.8.6 identifier 2 priority 2 version 7.0
    sccp ccm group 1
     bind interface GigabitEthernet0/2
     associate ccm 1 priority 1
     associate ccm 2 priority 2
     associate profile 2 register CFBCHEVG1
     associate profile 1 register XCODERCHEVG1
    ccm-manager music-on-hold
    ccm-manager fallback-mgcp
    ccm-manager redundant-host 10.215.8.6
    ccm-manager mgcp
    no ccm-manager fax protocol cisco
    ccm-manager config server 10.215.8.6 
    ccm-manager config
    dspfarm profile 1 transcode 
     codec g729r8
     codec ilbc
     codec pass-through
     codec g722-64
     codec g711ulaw
     codec g711alaw
     codec g729ar8
     codec g729abr8
     maximum sessions 70
     associate application SCCP
    dspfarm profile 2 conference 
     codec g729br8
     codec g729r8
     codec g729abr8
     --More--         codec g729ar8
     codec g711alaw
     codec g711ulaw
     codec g722-64
     codec ilbc
     maximum sessions 10
     associate application SCCP
    dial-peer voice 1 pots
     description **Incoming Dial Peer**
     incoming called-number .
     direct-inward-dial
    dial-peer voice 2 pots
     description **Outbound Dialpeer**
     translation-profile outgoing OutboundtoKolDDI
     destination-pattern 02083917600
     incoming called-number .
     port 0/1/1:15
    dial-peer voice 3 pots
     description **Outbound Dialpeer**
     translation-profile outgoing OutboundtoKolDDI
     destination-pattern 02083917600
     incoming called-number .
     port 0/2/0:15
    dial-peer voice 4 pots
     description **Outbound Dialpeer**
     translation-profile outgoing OutboundtoKolDDI
     destination-pattern 02083917600
     incoming called-number .
     port 0/2/1:15
    dial-peer voice 100 voip
     description to-DorkingCUCM
     translation-profile outgoing LiveOpsInbound
     destination-pattern 44..........
     session protocol sipv2
     session target ipv4:10.156.125.2
     --More--         incoming called-number .
     voice-class sip bind control source-interface GigabitEthernet0/0
     voice-class sip bind media source-interface GigabitEthernet0/0
     dtmf-relay rtp-nte
     codec g711ulaw
     no vad
    dial-peer voice 200 voip
     description to-LiveOpsCCC
     preference 1
     destination-pattern .T
     session protocol sipv2
     session target ipv4:x.x.x.x
     incoming called-number 44..........
     voice-class sip bind control source-interface GigabitEthernet0/1
     voice-class sip bind media source-interface GigabitEthernet0/1
     dtmf-relay rtp-nte
     codec g711ulaw
     no vad
    dial-peer voice 300 voip
     description to-LiveOpsCCC
     preference 2
     destination-pattern .T
     session protocol sipv2
     session target ipv4:x.x.x.x
     incoming called-number 44..........
     voice-class sip bind control source-interface GigabitEthernet0/1
     voice-class sip bind media source-interface GigabitEthernet0/1
     dtmf-relay rtp-nte
     codec g711ulaw
     no vad
    dial-peer voice 101 voip
     description to-ChessingtonCUCM
     translation-profile outgoing LiveOpsInbound
     preference 1
     destination-pattern 44..........
     session protocol sipv2
     session target ipv4:10.215.8.7
     --More--         incoming called-number 40008
     voice-class sip bind control source-interface GigabitEthernet0/0
     voice-class sip bind media source-interface GigabitEthernet0/0
     dtmf-relay rtp-nte
     codec g711ulaw
     no vad
    dial-peer voice 102 voip
     description to-ChessingtonCUCM
     translation-profile outgoing LiveOpsInbound
     preference 2
     destination-pattern 44..........
     session protocol sipv2
     session target ipv4:10.215.8.6
     incoming called-number 40008
     voice-class sip bind control source-interface GigabitEthernet0/0
     voice-class sip bind media source-interface GigabitEthernet0/0
     dtmf-relay rtp-nte
     codec g711ulaw
     no vad
    dial-peer voice 103 voip
     description to-DorkingCUCM
     preference 1
     shutdown
     destination-pattern 25544
     session protocol sipv2
     session target ipv4:10.156.125.2
     incoming called-number .
     voice-class sip bind control source-interface GigabitEthernet0/0
     voice-class sip bind media source-interface GigabitEthernet0/0
     dtmf-relay rtp-nte
     codec g711ulaw
     no vad
    dial-peer voice 104 voip
     description to-ChessingtonCUCM
     translation-profile outgoing LiveOpsInbound
     preference 1
     shutdown
     --More--         destination-pattern 40008
     session protocol sipv2
     session target ipv4:10.215.8.7
     incoming called-number .
     voice-class sip bind control source-interface GigabitEthernet0/1
     voice-class sip bind media source-interface GigabitEthernet0/1
     dtmf-relay rtp-nte
     codec g711ulaw
     no vad
    gateway
     media-inactivity-criteria all
     timer receive-rtcp 5
     timer receive-rtp 1200
    gatekeeper
     shutdown
    banner login ^CC
    "This system and components thereof is the sole and exclusive property of Diligenta and is intended solely for the usage of its authorized administrators. Unauthorized access or use will attract appropriate legal action.
    Access would be bound by Diligenta policies and could be monitored. Do not use this system, if the terms are not acceptable."
    ^C
    line con 0
     login local
    line aux 0
    line 2
     no activation-character
     no exec
     transport preferred none
     transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
     stopbits 1
    line vty 0 4
     privilege level 15
     login local
     --More--         transport input ssh
    line vty 5 15
     privilege level 15
     login local
     transport input ssh
    scheduler allocate 20000 1000
    end

    I don't have an answer for you but would like to add a note.  I was initially configuring and troubleshooting some things on a HA cube pair recently.  I was using external DNS for some dial-peer session target lookup and noticed the non-active CUBE could not lookup DNS.  When the non-active CUBE became active it could all of a sudden resolve DNS.  So I am speculating that something to do with the HA configuration is disallowing communication or bindings preventing routing to the rest of the network from the non-active CUBE.  I ended up putting local host records on the router to make me feel better.  I am guessing whatever is causing that might be related to the reason your SCCP is loosing registration on the non-active CUBE. 
    Jaime says what you are trying to do is not supported anyway.  I would like a a little clarification on that but what I believe to be supported is if you need transcoding or mtp resources for this CUBE only (Not registered to UCM) then LTI is a good option.
    http://www.cisco.com/c/en/us/support/docs/voice-unified-communications/unified-border-element/115018-configure-cube-lti.html
    Hope any of this helps.  I am really commenting so I can track any updates to this thread. :)

  • How to edit the cube with new fields without changing historical  in BI 7.0

    HI,
    I have requirment that need to edit cube with new fields and without changing historical data on it.
    Please some one can advise me abt the above scenario.
    Note:I am using BI7.0

    hi Krish,
    In BI 7.0,
    we cannot add a characteristic to an existing dimension if the data is not deleted from the cube.
    It can go to a new dimension and that will not change the existing structure of the cube tables, but will just add to it (as another dim table).  or use remodeling.
    for more details, please seach threads.....
    with hopes
    ARS

  • Administrate virtual info cube with services

    hi, all,
    if you come across an existing virtual info cube with services, HOW can you find out the name of the function module, that provides the data?
    best regards
    neven

    hi..
    according to the below link..from help.sap.com...clicking on 'detail' pushbutton in cube--change screen..should give u the details(FM etc) u need..
    http://help.sap.com/saphelp_nw04/helpdata/en/62/d2e26b696b11d5b2f50050da4c74dc/content.htm
    Vishvesh

  • How to load data from a virtual cube with services

    Hello all,
    we have set up a virtual cube with service and create a BEx report to get the data from an external database. That works fine. The question is now:
    Is it some how possible to "load" the data from this virtual cube with service (I know that there are not really data...) into an other InfoCube?
    If that is possible, can you please give my some guidance how to set up this scenario.
    Thanks in advance
    Jürgen

    Hi:
    I don't have system before me, so try this.
    I know it works for Remote Cube.
    Right Click on the Cube and Select Generate Export Data Source.
    If you can do this successfully, then go to Source Systems tab and select the BW. Here, Right CLick on select Replicate DataSources.
    Next, go to InfoSOurces, click on Refresh. Copy the name of Virtual Cube and add 8 as a prefix and search for the infosource.
    If you can see it, that means, you can load data from this cube to anywhere you want, just like you do to ODS.
    ELSE.
    Try and see if you can create an InfoSpoke in Virtual Cube. Tran - RSBO.
    Here, you can load to a database table and then, from this table, you can create datasource, etc.
    ELSE.
    Create query and save it as CSV file and load it anywhere you want. This is more difficult.
    Good luck
    Ram Chamarthy

  • Error after transport of Virtual Cube with Services

    Hi All,
    would any body can suggest me how we can change the source system assignment in QA or Production client for virtual Cube with Services.
    A virtual cube is created with Services using the settings for RFC and using the logical source system. however after transporting the same to the QA system the Logical Source System has not changed and thus it is giving error " Error occured while determining target system for the logical system" would any body can suggest me how i can change the logical source system assignment in QA system for Virtual Cube with services.
    Points would be rewarded appropriately.
    Cheers
    Noor

    Hi Noor,
    Check this link, it may help you.
    Re: Transport issue - Source system does not exist
    Regards,
    Vijay G.

  • How to Virtual cube with services works

    Hi,
    How to Virtual cube with services works.
    can anyone provide me a realtime scenerio.
    if possible provide some code.
    Thanks,
    cheta.

    For which functinality you are trying to create VC with services.
    This is mostly used in SEM BCS.
    You have to create cube similar path like normal cube, but select in the properties virtual cube, services.
    There is a standard FM which connects the Virtual cube to the required cube in BCS. ( this is done by BCS data basis generation function) and we have to do nothing for FM.
    In BCS we use virtual cube only for reporting purpose, since standard BCS cube cannot be used for reporting. hence what we do is create another virtucal cube very smiliar to BCS cube.
    Then both the Virtual cube and BCS cube are connected by standard FM.

  • Virtual cube with services read from Multicube?

    Hello All.
    We have logically partitioned the Balance Sheet cube 0FIGL_C01 into 3 new cubes. Now I found that I also had to partition the Virtual cube 0FIGL_VC1 into 3 new virtual cubes( I have copied the standard function module to change the data origin).
    Then I have included 4 virtual cubes in one single multicube.
    When I run a query on the multicube, I get a short Dump.
    My questions are:
    1.- has anyone done the same logical partioning for balance sheet before?
    2.- Is it possible to use a multicube as source of data for a Virtual cube with services, using the balance sheet virtual cube function module?
    Thank you all for your help.
    Regards,
    Alfonso.

    a basic cube can only be a source of data for virtual cube or for  a multicube.
    all cubes should have atleast one char common when u add them in a multicube.
    check this

  • Virtual cube with services

    Hi guys,
    Simple questoin!!
    Where do you write the function module - in R/3 or Bw system for virtual cube with services.

    Depending on where you are extracting the data from, you would host your FM in the same client.
    If the source system is Non BW system, do not forget to enable the RFC indicator on the FM. When you define your Virtual Cube in BW, you will be prompted for the Source System Id and then you can link it up with the FM in the external system.
    Hope it helps.
    _RJA

  • Virtual Cube with Services - Debugging

    I want to debug the function module assigned to a Virtual Cube with services. Using transaction RSRT, I can access the FM using debugger when the query is initially called, by selecting Debug options/Default Breakpoints/VirtualCube. I want to debug subsequent navigation steps on the query. How do I access the debugger for subsequent navigation steps?

    Hi Maverick,
    You can extract the attributes of the characterstic but u need to configure depending on the function module you are using to read the data from basic infocubes.
    I suppose in your FM u are using RSDRI_INFOPROV_READ*(check in your FM to find this) in to get the data from basic infocube. If it is the case then u need to configure interface parameter I_TH_SFC and I_T_RANGE to get the attributes. Hope it helps and if need more let me know the same. If you are using the other function modules you can follow the same logic.
    Regards,
    Ramana
    Message was edited by: Ramana

Maybe you are looking for