SOLAR SYSTEM CONTROLLER WIFI FEED.

I have a monitoring system on the controller of a thermal solar setup that collects data as conditions change throughout the day.  Locally I use one of my apple machines via airport to log on to the system by using an http numeric address.
I would like to stream that info through my iweb created site and haven't the foggiest notion how that can, or even if it can, be done.
i can dedicate one machine in range of the limited wireless signal to dedicate to this purpose.
Any thoughts?  Am I simply a lame-***?
Please advise.
Congodog

Locally I use one of my apple machines via airport to log on to the system by using an http numeric address.
that establishes your solar controller has a web server running on your LAN/private network.
at the moment you can only see it inside your LAN. you need to do port mapping on your airport to make it visible to the outside world.
does the airport have access to the internet?  YES
first, you need a static ip address on the machine that runs the solar controller web server.
system preferences --> network --> airport --> advanced... --> tcp/ip --> configure ipv4 --> manually
ipv4 address: 10.0.1.200  --> the first three numbers must be same as your airport ip address
subnet mask: 255.255.255.0
router: 10.0.1.1 --> this is your airport ip address.
now the machine ip address is fixed and you can always access your solar controller with http://10.0.1.200
next, check your solar controller manual, find out which port the web server is using; typically is port 80.
see Tesserax's airport port mapping procedure here (section 2):
https://discussions.apple.com/thread/1878678?threadID=1878678
you need to map the airport to:
public ports tcp/udp: 80
private ip address: 10.0.1.200 --> this is ip address of your solar controller web server machine.
private ports tcp/udp: 80
once port mapping is done.
1) if you have static ip address from your isp.
you can verify port mapping by point a browser to this static ip address and you should see your solar controller.
2) if you have dynamic ip address from your isp and because dynamic ip address changes from time to time, then you should sign up with one of the services that resolves dynamic ip to a domain name. two of such services i can think of: dyndns.com and no-ip.com they both provide free services.
once you have the service set up and running on one of your machines (preferably on the same machine of your solar controller).
you can verify port mapping by point a browser to the domain name given by dyndsn.com or no-ip.com and you should see your solar controller.
then in your iweb project, you either link the static ip address or the given domain name using an iframe in an html snippet… search this forum for 'frame html snippet'
How do you do that QUOTE THING, unlike my copy/paste routine?
copy+paste, select what you just pasted and click on this: at the top of the tools bar.

Similar Messages

  • OK to use fdisk/100% "SOLARIS System" partition for RAID6 Virtual Drive?

    Solaris newb, here - I am configuring an x4270 with 16 135 GB drives. Basic approach is
    D0, D1: RAID 1 (Boot volume, Solaris, Oracle Software)
    D2-D13: RAID 6 (Oracle dB files)
    D14, D15: global spares
    After configuring the RAID's w/WebBIOS Utility, I am now trying to format/partition the RAID 6 Virtual Drive, which shows up as 1.327 TB 'Optimal' in the MegaRAID Storage Manager. After hunting around the ether for advice on how to do this, I came across http://docs.oracle.com/cd/E23824_01/html/821-1459/disksxadd-50.html#disksxadd-54639
    "Creating a Solaris fdisk Partition That Spans the Entire Drive"
    which is painfully simple: after 'format', just do an 'fdisk' and accept the default 100% "SOLARIS System" partition. After doing this, partition>print and prtvtoc show this:
    partition> print
    Current partition table (original):
    Total disk cylinders available: 59125 + 2 (reserved cylinders)
    Part Tag Flag Cylinders Size Blocks
    0 unassigned wm 0 0 (0/0/0) 0
    1 unassigned wm 0 0 (0/0/0) 0
    2 backup wu 0 - 59124 1.33TB (59125/0/0) 2849529375
    3 unassigned wm 0 0 (0/0/0) 0
    4 unassigned wm 0 0 (0/0/0) 0
    5 unassigned wm 0 0 (0/0/0) 0
    6 unassigned wm 0 0 (0/0/0) 0
    7 unassigned wm 0 0 (0/0/0) 0
    8 boot wu 0 - 0 23.53MB (1/0/0) 48195
    9 unassigned wm 0 0 (0/0/0) 0
    # prtvtoc /dev/dsk/c0t1d0s2
    * /dev/dsk/c0t1d0s2 partition map
    * Dimensions:
    * 512 bytes/sector
    * 189 sectors/track
    * 255 tracks/cylinder
    * 48195 sectors/cylinder
    * 59127 cylinders
    * 59125 accessible cylinders
    * Flags:
    * 1: unmountable
    * 10: read-only
    * Unallocated space:
    * First Sector Last
    * Sector Count Sector
    * 48195 2849481180 2849529374
    * First Sector Last
    * Partition Tag Flags Sector Count Sector Mount Directory
    2 5 01 0 2849529375 2849529374
    8 1 01 0 48195 48194
    My question: is there anything inherently wrong with this default partitioning? Database is for OLTP & fairly small (<200 GB), with about 140 GB being LOB images.
    Thanks,
    Barry

    First off, RAID-5 or RAID-6 is fine for database performance unless you have some REALLY strict and REALLY astronomical performance requirements. Requirements that someone with lots of money is willing to pay to meet.
    You're running a single small x86 box with only onboard storage.
    So no, you're not operating in that type of environment.
    Here's what I'd do, based upon a whole lot of experience with Solaris 10 and not so much with Solaris 11, and also assuming this box is going to be around for a good long time as an Oracle DB server:
    1. Don't use SVM for your boot drives. Use the onboard RAID controller to make TWO 2-disk RAID-1 mirrors. Use these for TWO ZFS root pools. Why two? Because if you use live upgrade to patch the OS, you want to create a new boot environment in a separate ZFS pool. If you use live upgrade to create new boot environments in the same ZFS pool, you wind up with a ZFS clone/snapshot hell. If you use two separate root pools, each new boot environment is a pool-to-pool actual copy that gets patched, so there are no ZFS snapshot/clone dependencies between the boot environments. Those snapshot/clone dependencies can cause a lot of problems with full disk drives if you wind up with a string of boot environments, and at best they can be a complete pain in the buttocks to clean up - assuming live upgrade doesn't mess up the clones/snapshots so badly you CAN'T clean them up (yeah, it has been known to do just that...). You do your first install with a ZFS rpool, then create rpool2 on the other mirror. Each time you do an lucreate to create a new boot environment from the current boot environment, create the new boot environment in the rpool that ISN'T the one the current boot environment is located in. That makes for ZERO ZFS dependencies between boot environments (at least in Solaris 10. Although with separate rpools, I don't see how that could change....), and there's no software written that can screw up a dependency that doesn't exist.
    2. Create a third RAID-1 mirror either with the onboard RAID controller or ZFS, Use those two drives for home directories. You do NOT want home directories located on an rpool within a live upgrade boot environment. If you put home directories inside a live upgrade boot environment, 1) that can be a LOT of data that gets copied, 2) if you have to revert back to an old boot environment because the latest OS patches broke something, you'll also revert every user's home directory back.
    3. That leaves you 10 drives for a RAID-6 array for DB data. 8 data and two parity. Perfect. I'd use the onboard RAID controller if it supports RAID-6, otherwise I'd use ZFS and not bother with SVM.
    This also assumes you'd be pretty prompt in replacing any failed disks as there are no global spares. If there would be significant time before you'd even know you had a failed disk (days or weeks), let alone getting them replaced, I'd rethink that. In that case, if there were space I'd probably put home directories in the 10-disk RAID-6 drive, using ZFS to limit how big that ZFS file system could get. Then use the two drives freed up for spares.
    But if you're prompt in recognizing failed drives and getting them replaced, you probably don't need to do that. Although you might want to just for peace of mind if you do have the space in the RAID-6 pool.
    And yes, using four total disks for two OS root ZFS pools seems like overkill. But you'll be happy when four years from now you've had no problems doing OS upgrades when necessary, with minimal downtime needed for patching, and with the ability to revert to a previous OS patch level with a simple "luactivate BENAME; init 6" command.
    If you have two or more of these machines set up like that in a cluster with Oracle data on shared storage you could then do OS patching and upgrades with zero database downtime. Use lucreate to make new boot envs on each cluster member, update each new boot env, then do rolling "luactivate BENAME; init 6" reboots on each server, moving on to the next server after the previous one is back and fully operational after its reboot to a new boot environment.

  • Anyone know when the 'Patch' or 'service pack' will be released for UDS 5?  It doesn't work correctly on Solaris systems.

    When trying to export code from older versions of forte and import the code into UDS 5, the imports don't work correctly on Sun server, Solaris system. Errors in the Windows. Seems to be a common problem, but haven't heard of any patch yet.

    The SP1 for UDS 5 or 5.0.3 will be out in 2-3 weeks. I already have a beta copy of SP1 so I am sure you can request this if you open a case on your problem. I have never ran into the problem you are describing.
    ka

  • 11 -- 11,1 Upgrade: pkg://solaris/system/library signature problems?

    Hi all,
    I have a vanilla 11 11/11 lab system (x64, in VirtualBox) that I've tried to upgrade to 11.1:
    # uname -a
    SunOS alpha 5.11 11.0 i86pc i386 i86pc
    # pkg list entire
    NAME (PUBLISHER) VERSION IFO
    entire 0.5.11-0.175.0.0.0.2.0 i--
    # pkg publisher
    PUBLISHER TYPE STATUS URI
    solaris origin online http://pkg.oracle.com/solaris/release/
    It has full connectivity to the Internet, and I've tried pointing it to the public release repo, a local 11.1 repo that has had the update ISO injected into it, and with a single loopback repo pointing to only the upgrade ISO (sol-11_1-upgrade-repo.iso, md5 verified). In all 3 cases I get this at the first stage of the upgrade:
    # pkg update
    Creating Plan |
    pkg update: A signature in pkg://solaris/system/[email protected],5.11-0.175.0.10.1.0.0:20120918T164707Z could not be verified for this reason:
    The signature value did not match the expected value. Res: 0
    The signature's hash is 235c7674d821032ae3eeda280c7837d1f1f4fdb5
    I must be missing something simple, because I can't imagine a bad signature in the public or upgrade-ISO repos. Any ideas?
    Thanks!

    If possible, please file a support request for this issue through the My Oracle Support portal so that the details of the issue can be captured.
    With that said, executing the following commands may provide a viable workaround:
    pkg set-property signature-policy=ignore
    pkg set-publisher --set-property signature-policy=ignore solaris
    Once the above commands have been executed, attempt the pkg update again. If successful, then after rebooting to the new boot environment, reset the properties as follows:
    pkg unset-property signature-policy
    pkg set-publisher --unset-property signature-policy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Installation of iCS 2.x on a Solaris system in which  X or Open Windows software in not installed

    When I try to run the install wizard for iPlanet Calendar Server 2.x on a
    Solaris system that does not have X-Windows or Open Windows graphical user
    interface, I get the following error:<BR>
    <P>
    Starting install wizard in graphical mode
    ld.so.1: instsupp/bin/java: fatal: libX11.so.4: open failed: No such file or
    directory
    Killed
    setup: The installation failed with errors.
    <P>
    To work around this problem, place a copy of libX11.so.4
    into the /usr/lib
    directory. This will allow
    you to run the Calendar Server 2.x installer in the -nodisplay
    mode. You can find the
    libjava.so in the
    instsupp/lib/sparc/native_threads
    directory under the installation
    program tree.

    I thought that might be the case, so I preemptively expanded the mac partition to fill the entire disk, and retried -- it did not work.  I think, at this point, my best bet might be to reinstall OSX from scratch, enable file-vault, and then repartition and install the other OS's.

  • System Controller Fan Issue

    Our G5 XServe is making a LOT of fan noise continuously. The yellow warning light is flashing, as well. Server Monitor shows that the System Controller fan is having problems and is running at 0 RPM. Interestingly, the temperatures, including the System Controller ambient and internal temps, are all fine. All the other fans are running in the 14-15k RPM range, and are indicated as normal.
    This condition happened in conjunction with a hard drive incident where I had to repair the drive and the permissions using a back-up disc. The server is functioning fine now, aside from the jet-like fan noise.
    We tried blowing the dust out, but to no avail...does it sound like we need to replace the fan assembly, or is it possible that a sensor is not working properly?
    Thanks!

    Thanks,
    Sure enough, the middle fan in the fan assembly is not moving. Seems like I should be able to just remove the cover and replace the broken fan. But it's not very lego-like, and I don't want to mess anything up by just guessing. Any ideas on how to remove the fan assembly, or is that something I need to have a repair center do?
    Chris

  • Comparing Solaris systems?

    Does anyone have a process that they can recommend for comparing different Solaris systems to look for inconsistencies? We have a 6 node cluster where all 6 nodes should be identical. For now, I want to verify that they have the same patches applied and the same packages installed (including specific versions). I may want to include more as I get further along, but this is the bare minimum to start. I'd also like to be able to have an automated process that can detect changes and alert us as well.
    All systems are Solaris 10 built from the 5/08 OS.
    thanks in advance.

    SAP Suggest to use backup/restore or R3load .
    Yes - because that´s the most uncomplicated way.
    if I want to create a trace file manually and shut down database,sap .
    copy over  data files /origfile/logs from os level to target system and recover the system and install sap.
    There´s no issue with that if you know what you´re doing
    If you don't use sap mentioned procedure  in that case SAP does not provide any support .
    If you have a problem with that copy procedure itself you will be on you own. if the target system is running already you will still get support of course because nobody asks you later, how you did the copy.
    Markus

  • 3D Solar System problems

    hi,
    I'm trying to simulate a solar system and I have those two problems
    - I can't add a sattelite to a planet (the moon to the earth)
    - I can't make a planet turn on itself (only the central one: the sun)
    Here is my source. Thanks for helping.
    Sorry for the comments in french.
    You can send your answers to [email protected]
    class Espace
    *     Auteur : Leli�vre Antoine                                   *
    *     Fichier : Espace.java                                   *
    *     Fonction: Reconstitution de notre systeme solaire *
    *     Date: 09/02/04                                             *
    import com.sun.j3d.utils.universe.SimpleUniverse;
    import javax.media.j3d.BranchGroup;
    import javax.media.j3d.Transform3D;
    import javax.vecmath.Vector3f;
    import javax.media.j3d.TransformGroup;
    import javax.media.j3d.Canvas3D;
    //import javax.media.j3d.Alpha;
    //import javax.media.j3d.RotationInterpolator;
    import javax.media.j3d.BoundingSphere;
    import javax.vecmath.Point3d;
    import javax.media.j3d.Background;
    import com.sun.j3d.utils.image.TextureLoader;
    //import javax.media.j3d.Texture2D;
    import javax.media.j3d.ImageComponent2D;
    import javax.swing.JFrame;
    public class Espace extends JFrame
         public Espace()
              super("Systeme Solaire...");
              // creation du canvas
              Canvas3D canvas = new Canvas3D(SimpleUniverse.getPreferredConfiguration());
              getContentPane().add("Center",canvas);
              // cr�ation de la sc�ne, regroupement des objets
              BranchGroup scene = createScene();
              scene.compile();
              // cr�ation de l'univers de la scene 3D
              SimpleUniverse univers = new SimpleUniverse(canvas);
              // on met le plan de projection en arriere par rapport � l'origine
              univers.getViewingPlatform().setNominalViewingTransform();
              // on place la sc�ne dans l'univers "univers"
              univers.addBranchGraph(scene);
              //arret du programme lors du clic sur la croix
              setDefaultCloseOperation(EXIT_ON_CLOSE);
         * creation d'un groupement d'objet *
         public BranchGroup createScene()
              // creation du BG principal
              BranchGroup ObjPrinc = new BranchGroup();
              BranchGroup terre = new BranchGroup();
              BranchGroup mars = new BranchGroup();
              BranchGroup saturne = new BranchGroup();
              BranchGroup jupiter = new BranchGroup();
              BranchGroup venus = new BranchGroup();
              BranchGroup mercure = new BranchGroup();
              BranchGroup lune = new BranchGroup();
              BranchGroup uranus = new BranchGroup();
              BranchGroup neptune = new BranchGroup();
              BranchGroup pluton = new BranchGroup();
              TextureLoader loader=new TextureLoader("fond.jpg",this);
              ImageComponent2D image=loader.getImage();
              Background bg=new Background(image);
              bg.setApplicationBounds(new BoundingSphere(new Point3d(0,0,0),150d));
              ObjPrinc.addChild(bg);
              Animation MonAnimation = new Animation();
              //------ Debut Objet Lune-------
              //Planete Lune = new Planete();
              //Transform3D Translation1 = new Transform3D();
              //Translation1.set(new Vector3f(0.05f, 0.0f, 0.0f));
              //TransformGroup TranslateGP1 = new TransformGroup(Translation1);
              //TranslateGP1.addChild(Lune.AjoutPlanete("lune.jpg",0.01f));
              //lune.addChild(TranslateGP1);
              //------ Fin Objet Lune -----
              //------ Debut Objet Terre -------
              Planete Terre = new Planete();
              Planete Lune = new Planete();
              Transform3D Translation = new Transform3D();
              Translation.set(new Vector3f(0.4f, 0.0f, 0.0f));
              TransformGroup TranslateGP = new TransformGroup(Translation);
              TranslateGP.addChild(Terre.AjoutPlanete("earth.jpg",0.03f));
              terre.addChild(TranslateGP);
              //------ Fin Objet Terre -----
              //------ Debut Objet Saturne -------
              Planete Saturne = new Planete();
              Transform3D Translation2 = new Transform3D();
              Translation2.set(new Vector3f(0.9f, 0.0f, 0.2f));
              TransformGroup TranslateGP2 = new TransformGroup(Translation2);
              TranslateGP2.addChild(Saturne.AjoutPlanete("saturne.jpg",0.08f));
              saturne.addChild(TranslateGP2);
              //------ Fin Objet Saturne-----
              //------ Debut Objet Mars -------
              Planete Mars = new Planete();
              Transform3D Translation3 = new Transform3D();
              Translation3.set(new Vector3f(0.5f, 0.0f, 0.0f));
              TransformGroup TranslateGP3 = new TransformGroup(Translation3);
              TranslateGP3.addChild(Mars.AjoutPlanete("mars.jpg",0.02f));
              mars.addChild(TranslateGP3);
              //------ Fin Objet Mars -----
              //------ Debut Objet Jupiter-------
              Planete Jupiter = new Planete();
              Transform3D Translation4 = new Transform3D();
              Translation4.set(new Vector3f(0.7f, 0.0f, 0.0f));
              TransformGroup TranslateGP4 = new TransformGroup(Translation4);
              TranslateGP4.addChild(Jupiter.AjoutPlanete("jupiter.jpg",0.1f));
              jupiter.addChild(TranslateGP4);
              //------ Fin Objet Jupiter -----
              //------ Debut Objet Venus-------
              Planete Venus = new Planete();
              Transform3D Translation5 = new Transform3D();
              Translation5.set(new Vector3f(0.3f, 0.0f, 0.0f));
              TransformGroup TranslateGP5 = new TransformGroup(Translation5);
              TranslateGP5.addChild(Venus.AjoutPlanete("venus.jpg",0.03f));
              venus.addChild(TranslateGP5);
              //------ Fin Objet Venus -----
              //------ Debut Objet Mercure-------
              Planete Mercure = new Planete();
              Transform3D Translation6 = new Transform3D();
              Translation6.set(new Vector3f(0.2f, 0.0f, 0.0f));
              TransformGroup TranslateGP6 = new TransformGroup(Translation6);
              TranslateGP6.addChild(Mercure.AjoutPlanete("mercure.jpg",0.01f));
              mercure.addChild(TranslateGP6);
              //------ Fin Objet Jupiter -----
              //------ Debut Objet Uranus-------
              Planete Uranus = new Planete();
              Transform3D Translation7 = new Transform3D();
              Translation7.set(new Vector3f(1.1f, 0.0f, 0.0f));
              TransformGroup TranslateGP7 = new TransformGroup(Translation7);
              TranslateGP7.addChild(Uranus.AjoutPlanete("uranus.jpg",0.05f));
              uranus.addChild(TranslateGP7);
              //------ Fin Objet Uranus -----
              //------ Debut Objet Neptune-------
              Planete Neptune = new Planete();
              Transform3D Translation8 = new Transform3D();
              Translation8.set(new Vector3f(1.45f, 0.0f, 0.0f));
              TransformGroup TranslateGP8 = new TransformGroup(Translation8);
              TranslateGP8.addChild(Uranus.AjoutPlanete("neptune.jpg",0.05f));
              neptune.addChild(TranslateGP8);
              //------ Fin Objet Neptune -----
              //------ Debut Objet Pluton-------
              Planete Pluton = new Planete();
              Transform3D Translation9 = new Transform3D();
              Translation9.set(new Vector3f(1.7f, 0.0f, 0.0f));
              TransformGroup TranslateGP9 = new TransformGroup(Translation9);
              TranslateGP9.addChild(Uranus.AjoutPlanete("mercure.jpg",0.005f));
              pluton.addChild(TranslateGP9);
              //------ Fin Objet Pluton-----
              //----- d�but objet Soleil -----
              Planete Soleil = new Planete();
              ObjPrinc = MonAnimation.Rotation(ObjPrinc,Soleil.AjoutPlanete("soleil.jpg",0.15f),-1,3000);
              //----- fin 2eme objet
              ObjPrinc = MonAnimation.Rotation(ObjPrinc,terre,-1,10000);
              ObjPrinc = MonAnimation.Rotation(ObjPrinc,saturne,-1,294500);
              ObjPrinc = MonAnimation.Rotation(ObjPrinc,mars,-1,18800);
              ObjPrinc = MonAnimation.Rotation(ObjPrinc,jupiter,-1,118600);
              ObjPrinc = MonAnimation.Rotation(ObjPrinc,venus,-1,6100);
              ObjPrinc = MonAnimation.Rotation(ObjPrinc,mercure,-1,2400);
              ObjPrinc = MonAnimation.Rotation(ObjPrinc,uranus,-1,840000);
              ObjPrinc = MonAnimation.Rotation(ObjPrinc,neptune,-1,1640000);
              ObjPrinc = MonAnimation.Rotation(ObjPrinc,pluton,-1,2470000);
              //am�lioration du processus d'affichage
              ObjPrinc.compile();
              return ObjPrinc;
         public static void main(String[] args)
              Espace MonEspace = new Espace();
              MonEspace.setSize(1024,768);
              MonEspace.setVisible(true);
    class Animation
    *     Auteur : Leli�vre Antoine                                        *
    *     Fichier : Animation.java                              *
    *     Fonction: Animation de la scene                     *
    *     Date     : 14/02/04                                        *
    import com.sun.j3d.utils.geometry.Sphere;
    import javax.media.j3d.BranchGroup;
    //import javax.media.j3d.Transform3D;
    import javax.media.j3d.TransformGroup;
    import javax.media.j3d.Alpha;
    import javax.media.j3d.RotationInterpolator;
    import javax.media.j3d.BoundingSphere;
    public class Animation
         public Animation()
         public BranchGroup Rotation(BranchGroup GroupeObj,Sphere UnePlanete,int NbTour,long tps)
              TransformGroup TG = new TransformGroup();
              //Donner la possibilit� a l'objet de bouger
              TG.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
              GroupeObj.addChild(TG);
              // Ajout de la sphere � l'objet charger de l'animation
              TG.addChild(UnePlanete);
              // Configuration du nombre de tour et la vitesse
                        // ici tourne ind�finiment (-1) et prend 60 secondes pour faire un tour
              Alpha alpha = new Alpha(NbTour,tps);
              RotationInterpolator Rotation = new RotationInterpolator(alpha, TG);
              Rotation.setSchedulingBounds(new BoundingSphere());
              GroupeObj.addChild(Rotation);
              return GroupeObj;
         public BranchGroup Rotation(BranchGroup GroupeObj,BranchGroup TG1,int NbTour,long tps)
              TransformGroup TG = new TransformGroup();
              //Donner la possibilit� a l'objet de bouger
              TG.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
              GroupeObj.addChild(TG);
              // Ajout de la sphere � l'objet charger de l'animation
              TG.addChild(TG1);
              // Configuration du nombre de tour et la vitesse
                        // ici tourne ind�finiment (-1) et prend 60 secondes pour faire un tour
              Alpha alpha = new Alpha(NbTour,tps);
              RotationInterpolator Rotation = new RotationInterpolator(alpha, TG);
              Rotation.setSchedulingBounds(new BoundingSphere());
              GroupeObj.addChild(Rotation);
              return GroupeObj;
    class Planete
    *     Auteur : Leli�vre Antoine                                   *
    *     Fichier : Planete.java                                   *
    *     Fonction: Ajouter une plan�te                         *
    *     Date     : 09/02/04                                        *
    import com.sun.j3d.utils.geometry.Sphere;
    import com.sun.j3d.utils.image.TextureLoader;
    import javax.media.j3d.Appearance;
    import javax.media.j3d.ColoringAttributes;
    //import javax.media.j3d.ImageComponent;
    import javax.media.j3d.Texture;
    import javax.media.j3d.Texture2D;
    import javax.media.j3d.TextureAttributes;
    import javax.media.j3d.ImageComponent2D;
    import java.awt.Container;
    public class Planete
         public Planete()
         * Cr�ation d'une nouvelle planete     *
         *     Param�tre: Nom du fichier image *
         *               Rayon de la plan�te     *
         * Renvoie     : l'objet Sphere           *
         public Sphere AjoutPlanete(String NomImage,float Rayon)
              Appearance AppTexture = AjoutTexture(NomImage);
              Sphere NouvellePlanete = new Sphere(Rayon,Sphere.GENERATE_TEXTURE_COORDS,35,AppTexture);
              return NouvellePlanete;
         *     Ajout du texture sur la sphere     *
         * Param�tre: Nom du fichier image *
         *     Renvoi : L'objet Appearance     *
         private Appearance AjoutTexture(String NomImage)
              try
                   Appearance Apparence = new Appearance();
                   // chargement d'une image pour texture
                   TextureLoader loader = new TextureLoader(NomImage,new Container());
                   ImageComponent2D image = loader.getImage();
                   // instanciation de l'objet texture
                   Texture2D texture = new Texture2D(Texture.BASE_LEVEL,Texture.RGBA,image.getWidth(),image.getHeight());
                   texture.setImage(0, image);
                   // ajout de la texture � l'apparence
                   Apparence.setTexture(texture);
                   Apparence.setTextureAttributes(new TextureAttributes());
                   return Apparence;
              catch(NullPointerException e1)
                   // Creation d'une texture uni dans le cas ou le fichier image n'exciste pas
                   Appearance Apparence = new Appearance();
                   ColoringAttributes bleu = new ColoringAttributes();
                   bleu.setColor(0.0f,0.0f,0.8f);
                   Apparence.setColoringAttributes(bleu);
                   return Apparence;
    }

    Couple of suggestions:
    1. Get rid of everything else except the earth and moon. You have too much happening at one time to figure out what is wrong.
    2. Re-post the new slimmer version of your code using the [code ] [code ] tags (without the space after the word 'code') so I can read it. See http://forum.java.sun.com/features.jsp#Formatting for more help.
    3. Don't use .jpg files in your example. I don't have those files so I can't compile your code on my machine.
    4. If you are getting any errors, post the entire stack trace.
    fitz

  • Can i gain access to iphones file system through wifi?

    Just curious if i Can i gain access to iphones file system through wifi?

    So i can't browse the file system at all?

  • Implementation of Posix Thread class in c++ for solaris system

    Hello Everyone,
    Please help me with information regarding how to implement Posix Thread Class in c++ for Solaris 5.8 system.
    if available Please let me know any Open Source Posix Threads C++ built-in library available for Solaris System.
    Thanks in Advance.
    Thanks & Regards,
    Vasu

    Posix threads are available on Solaris, and can be used directly in C or C++ programs. Include the header <pthread.h> to get access to the types, constants, and functions. Compile with the option
    -mt
    on every command line, and link with the options
    -mt -lpthread
    If you want to create a class to provide a different sort of interface to phreads you can do so by building on the <pthread.h> functionality.

  • Cisco 7604 System controller errors

    Hello
    Can any one help me with the followign errors message:
    I have a 7604 with the following IOS
    Cisco IOS Software, c7600s3223_rp Software (c7600s3223_rp-ADVIPSERVICESK9-M), Version 12.2(33)SRB5, RELEASE SOFTWARE (fc2)
    but for some days now I am receiving the following error:
    Dec 13 09:51:37.737 CET: %SYSTEM_CONTROLLER-3-MISTRAL_RESET: System Controller is reset:Normal Operation continues
    Dec 13 15:30:17.392 CET: %SYSTEM_CONTROLLER-3-ERROR: Error condition detected: TM_NPP_PARITY_ERROR
    Dec 13 15:30:17.392 CET: %SYSTEM_CONTROLLER-3-MISTRAL_RESET: System Controller is reset:Normal Operation continues
    Dec 13 21:17:24.225 CET: %SYSTEM_CONTROLLER-3-ERROR: Error condition detected: TM_NPP_PARITY_ERROR
    Dec 13 21:17:24.225 CET: %SYSTEM_CONTROLLER-3-MISTRAL_RESET: System Controller is reset:Normal Operation continues
    Dec 14 04:42:03.363 CET: %SYSTEM_CONTROLLER-3-ERROR: Error condition detected: TM_NPP_PARITY_ERROR
    Dec 14 04:42:03.363 CET: %SYSTEM_CONTROLLER-3-MISTRAL_RESET: System Controller is reset:Normal Operation continues
    Dec 14 06:27:10.935 CET: %SYSTEM_CONTROLLER-3-ERROR: Error condition detected: TM_NPP_PARITY_ERROR
    Any ideas ?
    Regards Suhale

    Hello Armando,
    I have faced same issue today, i know this post is old but it is useful, i dont know if you can reply me or not .
    Would you please answer my question:
    have 7606 router, got crashed today and i noticed these logs:
    Mar 15 09:58:01 UTC: %SYSTEM_CONTROLLER-3-MISTRAL_RESET: System Controller is reset:Normal Operation continues
    Mar 15 09:58:30 UTC: %CPU_MONITOR-2-NOT_RUNNING: CPU_MONITOR messages have not been sent for 30 seconds [*Sched* 1%/1% (00:00:31.228 92%/92%)] [IP SLAs Event Processor 00:13:04.660] [ACCT Periodic Proc 00:01:34.336] [IP SLAs Event Processor 00:06:17.848]
    Mar 15 09:58:30 UTC: %CPU_MONITOR-2-NOT_RUNNING_TB: CPU_MONITOR traceback: 428284A8 427C6AB4 4193DA54 4193DC88 41F01354 42AD9CC4 42AE3128 42CC9070
    Mar 15 09:59:00 UTC: %CPU_MONITOR-2-NOT_RUNNING: CPU_MONITOR messages have not been sent for 60 seconds [*Sched* 1%/1% (00:01:01.228 96%/96%)] [IP SLAs Event Processor 00:13:34.660] [ACCT Periodic Proc 00:01:34.336] [IP SLAs Event Processor 00:06:17.848]
    Mar 15 09:59:00 UTC: %CPU_MONITOR-2-NOT_RUNNING_TB: CPU_MONITOR traceback: 428284A8 427C6AB4 4193DA54 4193DC88 41F01354 42AD9CC4 42AE3128 42CC9070
    Mar 15 09:59:30 UTC: %CPU_MONITOR-2-NOT_RUNNING: CPU_MONITOR messages have not been sent for 90 seconds [*Sched* 1%/1% (00:01:31.228 97%/97%)] [IP SLAs Event Processor 00:14:04.660] [ACCT Periodic Proc 00:01:34.336] [IP SLAs Event Processor 00:06:17.848]
    Mar 15 09:59:30 UTC: %CPU_MONITOR-2-NOT_RUNNING_TB: CPU_MONITOR traceback: 428284A8 427C6AB4 4193DA54 4193DC88 41F01354 42AD9CC4 42AE3128 42CC9070
    Mar 15 10:00:00 UTC: %CPU_MONITOR-2-NOT_RUNNING: CPU_MONITOR messages have not been sent for 120 seconds [*Sched* 1%/1% (00:02:01.228 98%/98%)] [IP SLAs Event Processor 00:14:34.660] [ACCT Periodic Proc 00:01:34.336] [IP SLAs Event Processor 00:06:17.848]
    Mar 15 10:00:00 UTC: %CPU_MONITOR-2-NOT_RUNNING_TB: CPU_MONITOR traceback: 428284A8 427C6AB4 4193DA54 4193DC88 41F01354 42AD9CC4 42AE3128 42CC9070
    Mar 15 10:00:30 UTC: %CPU_MONITOR-2-NOT_RUNNING: CPU_MONITOR messages have not been sent for 150 seconds [*Sched* 1%/1% (00:02:31.228 98%/98%)] [IP SLAs Event Processor 00:15:04.660] [ACCT Periodic Proc 00:01:34.336] [IP SLAs Event Processor 00:06:17.848]
    Mar 15 10:00:30 UTC: %CPU_MONITOR-2-NOT_RUNNING_TB: CPU_MONITOR traceback: 428284AC 427C6AB4 4193DA54 4193DC88 41F01354 42AD9CC4 42AE3128 42CC9070
    Mar 15 10:00:33 UTC: %CPU_MONITOR-3-PEER_FAILED: CPU_MONITOR peer process has failed to receive heartbeats, reset by [5/0]
    %Software-forced reload
    10:00:33 UTC Fri Mar 15 2013: Breakpoint exception, CPU signal 23, PC = 0x4278D310
    Would you please share your experience about this issue.
    Regards,
    Ahmed

  • About the system wide wifi proxy setting

    I'm currently using BlackBerry Q10, and I love it, just for you know, I turn from iPhone5 to it.
    As I'm using it mostly inside China, the network connecttion is so bad, I need use proxy for accessing Google or Twitter service, so the wifi's proxy is very important to me.
    But I found inside my Q10 system, the wifi proxy setting in fact is not globally effect, it works when open browser, but when I try to add my Gmail account or twitter account, it can't go with my proxy setting. That too bad.
    is there any special setting to make it works, this is really importent to me
    Thanks!
    -Ryan

    Use privoxy with socks5 forwarding:
    http://www.privoxy.org/user-manual/config.html#SOCKS
    http://www.privoxy.org/user-manual/acti … F-PATTERNS

  • Our Solar System is not called the "Milky Way."

    This is not a question but a correction to the web site's LabVIEW developer challenge. Under the Solar system challenge they reffered to our solar system as the milky way, the milky way is infact the "GALAXY" in which SOLAR SYSTEM resides.
    josh

    So our star system is called what? Our star is called Sol and the star system is the solar system, right?
    You are correct that the Milky Way is a galaxy, not a star system. (It is also the best candy bar for eating frozen if you ask me
    Bob Young
    Bob Young - Test Engineer - Lapsed Certified LabVIEW Developer
    DISTek Integration, Inc. - NI Alliance Member
    mailto:[email protected]

  • Solar System Fly Through?

    Hi all,
    I have Adobe Productiom Premium CS3 and wanting to make this http://www.youtube.com/watch?v=por0oYEBs7k
    Asking for suggestions and tips on how to go about completing this project. I have tried looking for templates, but cannot find any.
    Thank you in advance.
    deakant

    ONe of the better solar system tutorials comes with a few of the books authored byTrish and Chris Meyer. It's a classic example of moving a camera through 3D space using flat circles that are told to orient toward the camera. Take a bit of research on your behalf. Start with the Meyer's blogs on
    http://provideocoalition.com/index.php/cmg_keyframes
    If you are just learning AE, you can invest in the every Meyer book with total confidence.
    bogiesan

  • Solar system menu

    Hi everybody
    Does anybody have an example or where to found a tutorial
    that explain me how to make a menu that simulate a solar system or
    something like that?
    Thank you very much

    Hi,
    there's no complete list.
    but you have the menuUID from every item.
    1. activate "View" (Toolbar) ->System Information
    2. then you see under "Modules" (Toolbar) all MenuUIDs when you move the mouse over it.
    give it a try
    EDIT: sorry Petr - i don't get it why you are always fast
    sorry
    lg David
    Edited by: David Nussböck on Jul 29, 2008 9:19 AM

Maybe you are looking for

  • How Do You Print What OS X Renders and What You See Like the Lines on a Table on OpenOffice?

    Hi. How do you print what you OS X's graphics is rendering (what you see is what you get). I'm trying to print a calling card on OpenOffice Apache, latest but it would not print the guidelines (the lines when you use table, columns and rows) and it w

  • Cisco ISE Guest Authentication Failed : 86020: Unknown exception

    Hi, I would like to check what may be causing the error message 86020:unknown exception for ise when guest user authenticates via wireless using CWA? I have also attached a screen capture of the error and after the authenitcation logs change to authe

  • Software agent framework/TREX

    hi friends In CRM 5.0 if we go for indexing the system asks for the hostname and ip address of the server. we have istalled TREX on a different server. i have 2 questions: 1. as the host name and ip address are not being populated what can be the rea

  • Archive gap in 9.2, archive logs are gone

    Hi all, I've got an old 9.2.0.6 DataGuard setup, it's been running fine for years. We recently had to move our DR server to a new datacenter, so it got shut down, shipped and brought back up. The database came up fine, but now I see that I've got a g

  • [SOLVED] system not booting with LVM root and systemd

    hi everyone , I've update my arch installation and performed the upgrade to systemd , and after that the system is not booting , it brings me to a recovery shell . the root FS is on LVM , and everything under /dev/mapper is missing . journalctl -xb -