Problems getting a static ip working in solaris 10

Hi,
I hope this is the right forum for this question..
I have a Broadcom BCME95751 ethernet adapter, interface bcme0, and the problem is that when i configure it using DHCP it works OK. But when I want a static ip by putting the ip in hostname.bcme0 it gives me this in bootup(pasted only the interesting bits):
bcme0 : Broadcom NetXtreme Gigabit Ethernet BCM95751 (Copper) is detected
NOTICE: bcme0 : No Link
bcme0 is /pci@0,0/pci8086,2660@1c/pci1297,fb95@0
svc.startd[7]: [ID 652011 daemon.warning] svc:/network/physical:default: Method "/lib/svc/method/net-physical" failed with exit status 96
NOTICE: bcme0 : Link is Up (100Mbps, Full Duplex, Rx & Tx Flow Control ON)
And after bootup when i type "ifconfig bcme0" it shows that it's plumbed but IP is 0.0.0.0
If i do for example "ifconfig bcme0 192.168.1.10 netmask 255.255.255.0 up" after bootup, i can get it to work just fine! But for some reason it doesnt want to assign the ip during bootup.
Is it possible that the link becomes active ("Link is Up") after a short delay, it fails to assign the IP? Is it possible to delay it somehow. DHCP works for some weird reason, maybe because it waits to get the IP?
I hope someone would have some ideas on this, i'm new to solaris and pretty frustrated with this. Don't want to configure the interface by hand after every reboot :)
Thanks!
Teddie

But when I want
a static ip by putting the ip in hostname.bcme0 it
gives me this in bootup(pasted only the interesting
bits):As the filename hostname.bcme0 already suggests you don't enter an IP adress there but a hostname. The IP adres is then picked up by checking the hostname against /etc/inet/hosts.
You might want to check out http://docs.sun.com/app/docs/doc/816-4554/816-4554#hic for more information on this matter.

Similar Messages

  • Having a real problem getting my vi to work - great difficulty running sequence as desired

    Hi
    I am have a real problem getting my vi to work as required.
    I would like the my vi (EXAMPLE.vi in the vi library attached) to run continuously.  It should update the graphs on the front pannel and also save data to file when requested using the  save data to file button. (I have written a sub vi. to deal with this data handling and file saving which run in two while loops with the vi as can be seen on inspection of the block diagram)
    Now, what I would like is for the updating to pause whenever I change any of the settings on the front panel (which are controls in the first half of the sequence of the vi) so the hardware is reset.  As it is at the moment I have to stop the vi to change the front panel settings and then restart it in order for the first part of the sequence to run and re-set the values on the hardware.
    I guess I need to use some kind of event driven programming an event stucture or something like that. This is quite advanced and I don't know how to implement it. 
    Can anybody offer any Ideas. 
    Many many thanks
    Ashley
    Attachments:
    test library.llb ‏470 KB

    Hi,
    If you are new to event structures then you may find the following tutorial useful:
    Event-Driven Programming in LabVIEW
    http://zone.ni.com/devzone/conceptd.nsf/webmain/E5F8474BDA20C97786256B5A0066968B?opendocument
    A powerful New Tool for UI Programming--User Interface Event Programming
    http://zone.ni.com/devzone/conceptd.nsf/webmain/2a8ab43b28bbde1086256b830059875c
    Advanced Event Handling with LabVIEW 7 Express
    http://zone.ni.com/devzone/conceptd.nsf/webmain/aa79ff38336eb38886256d2b004aca49#1
    I hope this helps
    All the best
    Kurt

  • Hello, i am having problems getting face time to work, I keep getting an error message saying the server could not process the registration, I am using the username and password I always have and it has always worked in the past, any ideas?

    Hello, i am having problems getting face time to work, I keep getting an error message saying the server could not process the registration, I am using the username and password I always have and it has always worked in the past, any ideas?

    We aren't Apple, just users like you volunteering to help other users with problems. Threatening to go to Samsung doesn't mean anything to us. What troubleshooting have you tried so far?

  • Problem getting wi-fi to work. please help me.

    Hi,
    In my home, I have AT&T/Bellsouth DSL internet service with a download speed of 1.5 megabits and a Belkin wireless router. I have never had any problems whatsoever in getting any device to work with the network. I currently use two laptop computers, and stream Sirius internet radio over it. Well now with my new iPhone, it doesn't work on my network at all. I can connect my iphone to my network, it shows that I'm connected with a strong signal with all 3 bars on the icon on the screen, though I get zero internet usage with the phone. I went to the Apple Store yesterday and it connected to their network just fine and I had blazing speed, so I know that there doesn't seem to be anything wrong with my iPhone. Would someone please help me? I would greatly appreciate it.
    Thanks,
    Harbeth
    iMac G5 & BlackBook Mac OS X (10.4.10)

    Okay, I now have a solution. I found this information in another thread. I implemented it, and now my iPhone works on my network.
    "After reading many posts with many helpful suggestions:
    I was able to make my iphone work on my home wirless connection by choosing from the main screen
    "settings" then "Wi-fi" then under "Choose a Network" I selected my home network (Belkin) (little blue arrow at the end) then under "IP Address" I chose the "static" button clicked on the "DNS" numbers and entered the the DNS addresses of my router as shown on the summary page when I logged on to my router from my home computer. As for how to log on to your router and find your DNS addresses refer to your router documentation. I tried many of the other solutions and this is so far the only way I could get a connection to actually work. It would always show the strong network signal on my phone but would not be able to connect to the internet and find the server. Like some others who have posted, until this solution I was able to borrow a connection from my neighbor with no problems but his router was a linksys. Hopefully Apple will be patching up all these issues soon.
    I have no idea if this solution is permanent or even a good idea but it worked for me. Your mileage may vary. I do love the phone."
    Thanks to everyone for responding.
    Happy iPhoning,
    Harbeth
    iMac G5 & BlacBook

  • Problem getting PS "template" to work properly after slicing

    Hi guys,
    Just a heads up first, this is going to be a little long for two reasons: 1) I have a bad habit of being verbose  2) I'm going to explain exactly what my problem is and what steps I took to get there so everyone knows exactly what has been done so far.
    So, I decided to give my hand a try at designing a full page template purely in Photoshop (CS4 for PS and Dreamweaver). It worked out great, looks awesome... but I didn't know what to do next. I'm currently enrolled for Web Design & Interactive Media in college, but alas I just started 5.5 weeks ago. However, I do have a photoshop learning center and posted my problem to my professors. After some long discussion of my professor telling me to slice it and just save to web & devices, and me finally being able to get it click that doing this makes a bunch of tables out of the images, I had my first full graphic web template. Problem #1: I have not worked with tables since Dreamweaver was Macromedia Dreamweaver 8... eons ago it seems. So, after finally getting everything into an HTML document, where I felt more at home, I started to play around with the tables, trying to remember anything at all about them. My professor helpfully suggested nesting the tables... it was greek to me. However, we live in the internet age, so I googled it up.
    Now I have my images all in wonderfully organized tables, except for five of the images. This is the jpeg of the template. So, I was loving the template, and that is the photoshop .jpg I saved to show my girlfriend what it would end up looking like. After realizing that I had NO idea how to get the text over those specific area's while the "content boxes" were still in tables, I decided to throw in my puny skill in CSS. I made new slices, and sliced up the upper two sections for the content-title1 & content-title2 and then made 2 more new slices for content-left and content-right, then a fifth slice for the bottom of the rounded boxes content-footer. Now, I have used others' templates in the past such as this site but he was using familiar territory for me.. <div> tags. Ok, so anyway I have 4 new tables to throw in... one each for the content headers "News" and the "Welcome to Illuminati" parts, and then two other boxes for the actual content of each section. After trying to figure out how to nest tables, I gave it a shot and while in design mode, it actually works... except the navbar is slid out far to the right. And when I uploaded the site, not only is the navbar way out in deep right field, but my content-right table slid under content-left. You can see the end result here.
    What I need help on:
    If any kind soul could please take a look at my code and tell me exactly where I'm fubarring things up, I would greatly appreciate it!
    If said kind soul could show me how to fix said problems, I would appreciate it even more!!
    Lastly, on that Livengood Investments website, if you notice the bottom section where the "article of the week" and thumblist is, with that guys' template, as I add content to those sections, it grows down so that you never have gaps or spaces etc. That is why I cut the middle content boxes into two, so that I could add content without worry of having the gaps etc. I did notice though, that if one side is longer in text than the other (on my secondlife.lift4ullc.com/test2.html site) then the other side has a gap. I'm going to assume this is because with the Livengood-Investments site, that middle section is actually 1 background? I could do the same with the boxes on my site, make them 1 section instead of two, if only I knew how to have two separate tables over their individual box... thanks!
    Every guide or tutorial or video I have found on the net about nesting tables gives you a simple 2 column 5 row walk-through. Very nice, and handy in some cases I'm sure, but I can't see how that helps me at this particular moment. =( Thank you in advance everyone, for your patience while I rambled, and your help in this matter.
    Matt

    Wow, quick replies! I knew there was a reason I love the Adobe forums over my normal haunt at Web Designers Group (WDG)! ^.^ Although, in fairness to them, they've been helpful before as well. Now, on to the replies....
    @SnakeEyez02: PM coming your way, thank you so very much! With the www.livengood-investments site, what I did was google up "free web templates" and found that layout (different background, and some customization to it to make it fit the company etc) but it was almost purely CSS done. I would say I've been working with CSS in some form or fashion for roughly 2 years, but only within the last 1-2 months have I really sat down to try to learn CSS. Table layouts (for me) are a thing of the past, when everyone and your uncle had a geocities or some other website. Thank you for letting me know this is possible to do without all of the tables... that is a huge relief and load off of my shoulders. http://secondlife.lift4ullc.com was my "first run" test at the website you've seen, and I've already gone in detail over that code to see why I have the gaps in my logo/header/navbar area, because for some reason I changed the size of those div's that were larger than the images But, I tried out that CSS site before I learned about slicing in PS, so that is why the color scheme is so different. I left it as it is because I would rather have my nifty content boxes ;-) Ok, so I have the starter, and I'll step back and just save the images and not the images + html. From there I'll start designing the site with CSS and div tags instead of the dreaded tables. Like I said though, PM coming. Thank you in advance for the help, I hope I don't make it too difficult for you
    @Boss Yes, I just started college, but I'm 28 now and have been meddling in some form or fashion in web sites for nearly 15 years. I just decided in the past month or so to actually turn it from a "hobby" to something more serious with the hopes of actually making a career out of it. I agree with you that CSS design is better than tables. I hate tables, haven't used tables in many years, and CSS is just so much easier to tweak and read the code than a page full of table coding (as I've learned these last few days). I know I'll be learning some coding in my later courses (today was the end of my first term freshman year) such as PHP, JavaScript, and I *think* some C+/++. CSS, I'm not really sure on. I have no doubt though that I'll be able to bug my professors that teach the courses for CSS... they should be up to date with standards and coding. This professor is actually a Photoshop specialist, and while I'm sure he knows some HTML and CSS, probably not as much as a coder or web developer (as opposed to him being a graphics designer). Thank you very much for the tutorial link, I really do appreciate it. I love tutorials, but sometimes the search for a good tutorial can be almost as fustrating as trying to figure these stupid tables out LOL. However, as I mentioned above, now that I know I can, I am switching over to CSS with yours and SnakeEyez's suggestions. Thank you Boss!
    Matt

  • Problem Getting An Applet To Work

    Hi,
    I hope there is someone out there that can help me with this problem.
    I'm trying to get an applet to work inside of IE6 and I'm getting the following error message via Java Console,
    Error loading class: demo
    java.lang.ClassFormatError
    java.lang.ClassNotFoundException: demo
         at com/ms/vm/loader/URLClassLoader.loadClass
         at com/ms/vm/loader/URLClassLoader.loadClass
         at com/ms/applet/AppletPanel.processSentEvent
         at com/ms/applet/AppletPanel.processSentEvent
         at com/ms/applet/AppletPanel.run
         at java/lang/Thread.run
    The java code is as follows,
    import java.applet.*;
    import java.awt.*;
    public class demo extends Applet {
    public void init() {
    public void paint(Graphics g) {
    g.drawString("Hello World", 50, 50);
    And the html (demo.htm) is
    <html>
    <head>
    </head>
    <body bgcolor="#00DCFF">
    <applet name="demo" code="demo.class" width="300" height="200">
    </applet>
    </body>
    </html>
    Both demo.htm and demo.class are both in the same directory. I used the Sun Java SDK version 1.4.1 to produce the class.
    I can get it to work if I enable
    Java (Sun)
    Use Java 2 v1.4.1 for applet
    within the Advanced options of IE6, but I don't want to have to force the user to have to either load the the SDK or the plug-in (by using OBJECT/EMBED) due to their size.
    thanks in advance,
    Wayne

    >
    Error loading class: demo
    java.lang.ClassFormatError
    java.lang.ClassNotFoundException: demoIf you load it into Netscape it'll work fine - I cant see any errors with ur code. Have u tried it in the appletviewer?

  • Problem getting (ALT key) to work in Flash

    Hi All,
    I hope there is somebody who can help me with the following issue:
    I can not get ALT key to work in Flash, if I want to use it in combination with other keys nor I can use it alone.
    For example, I have created an application which requires the usage of (ALT+F) in order to access certain thing, This does not seem to fire the key event.
    however if i use the same thing with (CTRL+F) or (SHIFT+F), it works fine.
    It is only ALT  which causes the key event not to fire.
    Is there a bug in Flash for using ALT key? Can anyone help me please?

    see here:
    http://forums.adobe.com/message/2127570

  • Problems getting e-mac to work with AEBS.

    I have been having some major problems getting connected to our network. We have most of our e-macs connected to the network via AEBS. The AEBS unit is connected by an ethernet connection. I have been trying to get connection to one of our computers for some time now, without any luck. Last night I finally had some connection, but was still unable to connect to the Internet. I was able to see some of the other base stations in the airport admin utility. I don't know what I did any different though to get the base station to recognize other base stations. I am really at a loss as to what to do to get connection.
    I have noticed that under system preferences, when I try to use DHCP, I am given a self-assigned ip address. I can put the ip address in manually. I also put the router in manually.
    I guess one of my questions would be how should I set up the base station and how should I set up the e-mac DHCP services? I currently have DHCP set up on the e-mac using Airport. I have the base station set up with the ethernet connection plugged into the LAN connector. This is the way that our other computers seem to be set up.
    I have heard talk about setting up WDS on the base station, but none of the other computers are set up this way and still receive connection to the Internet. If I were to set up WDS, what would I need to do? I still would like to connect by using ethernet connection to the base station.

    I have the aebs connected via an ethernet connection.
    OK, that is different that what I understood from your previous posts.
    I have the ethernet connection plugged into the LAN port on the back of the aebs.
    That is OK if there is another router on your network providing IP addresses AND this AEBS is configured so that the option to distribute IP addresses is DISABLED.
    Otherwise, it should be plugged into the WAN port.
    ...so should I have the e-mac set up using Airport to get connection to the aebs?
    The eMac should be set to use AirPort and DHCP to get an IP address.

  • Having problems getting Comcast internet to work with my power Mac running 10.5.8  Help needed

    Just got Comcast Cable and everything works: phone, WiFi, and TV, BUT ethernet won;t work with my power mac tower running 10.5.8 . Hooked modem to laptop running Microsoft and no problem, but it won't work with my Mac.  Any solutions out there?

    Hi, see if this changes anything...
    Make a New Location, Using network locations in Mac OS X ...
    http://support.apple.com/kb/HT2712
    10.5, 10.6, 10.7 & 10.8…
    System Preferences>Network, top of window>Locations>Edit Locations, little plus icon, give it a name.
    10.5.x/10.6.x/10.7.x/10.8.x instructions...
    System Preferences>Network, click on the little gear at the bottom next to the + & - icons, (unlock lock first if locked), choose Set Service Order.
    The interface that connects to the Internet should be dragged to the top of the list.
    If using Wifi/Airport...
    Instead of joining your Network from the list, click the WiFi icon at the top, and click join other network. Fill in everything as needed.
    For 10.5/10.6/10.7/10.8, System Preferences>Network, unlock the lock if need be, highlight the Interface you use to connect to Internet, click on the advanced button, click on the DNS tab, click on the little plus icon, then add these numbers...
    208.67.222.222
    208.67.220.220
    (There may be better or faster DNS numbers in your area, but these should be a good test).
    Click OK.

  • I am having horrible problems getting some examples to work

    I am trying to get a couple examples to work from out of Java Examples in a Nutshell, but they are programmed oddly and will not work. I am using a windows 2000 platform with JDK 1.3.1 installed and working properly.
    I have so far typed in these 2 examples:
    import javax.swing.*;
    import java.awt.*;
    public class Containers extends JPanel
    { public Containers()
    { this.setBackground(Color.white);
    this.setFont(new Font("Dialog", Font.BOLD,24));
    JPanel p1 = new JPanel();
    p1.setBackground(new Color(200, 200, 200)); // Panel1 is darker
    this.add(p1); //p1 is contained by this component
    p1.add(new JButton("#1")); //Button 1 is contained in p1
    JPanel p2 = new JPanel();
    p2.setBackground(new Color(150,150,150)); // p2 is darker than p1
    p1.add(p2); // p2 is contained in p1
    p2.add(new JButton("#2")); // button 2 is contained in p2
    JPanel p3 = new JPanel();
    p3.setBackground(new Color(100,100,100));
    p2.add(p3); // p3 is contained in p2
    p3.add(new JButton("#3")); // button 3 is contained in p3
    JPanel p4 = new JPanel();
    p4.setBackground(new Color(150,150,150));
    p1.add(p4);
    p4.add(new JButton("#4")); //button 4 is contained in p4
    p4.add(new JButton("#5")); //Button 5 is also contained in p4
    this.add(new JButton("#6")); // button 6 is contained in this component
    And this program
    //ShowComponent.java
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.beans.*;
    import java.lang.reflect.*;
    import java.util.Vector;
    public class ShowComponent extends JPanel
    public static void main(String[] args)
    {  // process the command line to get the compenents to display
    Vector components = getComponentsFromArgs(args);
    // Create a frame (Window) to display the components to display
    JFrame frame = new JFrame("ShowComponent");
    // Handle window close requests by exiting the VM
    frame.addWindowListener(new WindowAdapter() { //anonymous inner class
    public void WindowClosing(WindowEvent e) { System.exit(0); }
    // set up a menu system that allows the user to select the Look And Feel
    // of the component from a list of installed PLAF's
    JMenuBar menubar = new JMenuBar(); // create a menu bar
    frame.setJMenuBar(menubar); // tell the frame to display the menubar
    JMenu plafmenu = createPlafMenu(frame); // create a menu
    menubar.add(plafmenu); // Add the menu to the menubar
    // Create a JTabbedPane to display each of the components
    JTabbedPane pane = new JTabbedPane();
    // Now add each component as a tab of the tabbed pane
    // use the unqualified component classname as the tab text
    for(int i = 0; i < components.size(); i++)
    { Component c = (Component)components.elementAt(i);
    String classname = c.getClass().getName();
    String tabname = classname.substring(classname.lastIndexOf('.')+1);
    pane.addTab(tabname,c);
    // Add the tabbedpane to the frame. Note: the call to getContentPane()
    // This is required for JFrame, but not for most swing components
    frame.getContentPane().add(pane);
    // Set the frame size and pop it up
    frame.pack(); //Make the frame as big as its children need
    frame.setVisible(true); // Make the frame visible on the screen
    // The main() method exits now but the Java VM keeps running because
    // all AWT programs automatically start an event-handling thread.
    //** this static method queries the system to find out what **
    //** Pluggable LookAndFeel (PLAF) implementations are available **
    //** then it creates a JMenu component that lists each of the **
    //** implementations by name and allows the user to select one **
    //** of them using JRadioButtonMenuItem components. When the **
    //** user selects one, the selected menu item traverses the **
    //** component hierarchy and tells all components to use the new**
    //** PLAF. **
    public static JMenu createPlafMenu(final JFrame frame)
    { //Creates the menu
    JMenu plafmenu = new JMenu("Look and Feel");
    // Create an object used for radio button mutual exclusion
    ButtonGroup radiogroup = new ButtonGroup();
    //Look up the available look and feels
    UIManager.LookAndFeelInfo[] plafs = UIManager.getInstalledLookAndFeels();
    //Loop through the plafs, add a menu item for each one
    for(int i = 0; i < plafs.length; i++)
    { String plafName = plafs[i].getName();
    final String plafClassName = plafs.getClassName();
    // Create the menu items
    JMenuItem item = plafmenu.add(new JRadioButtonMenuItem(plafName));
    // tell the menu item what to do when it is selected
    item.addActionListener(new ActionListener()
    { public void actionPerformed(ActionEvent e)
    { try
    { // Set the new Look And Feel
    UIManager.setLookAndFeel(plafClassName);
    // tell each component to change its look and feel
    SwingUtilities.updateComponentTreeUI(frame);
    //tell the frame to resize itsself to its childrens
    // new desired services
    frame.pack();
    catch(Exception ex) {System.err.println(ex);
    // Only allow one menu item to be selected at once
    radiogroup.add(item);
    return plafmenu;
    //** this method loops through the command line arguements looking for **
    //** class names of components to create and property settings for those**
    //** components in the form name=value. this method demonstrates **
    //** reflection and JavaBeans introspection as they can be aplied to **
    //** dynamically created GUI's **
    public static Vector getComponentsFromArgs(String[] args)
    { Vector components = new Vector();  // List of Components to return
    Component component = null; // the current component
    PropertyDescriptor[] properties = null; // Properties of the component
    Object[] methodArgs = new Object[1]; // we'll use this below
    nextarg: // this is a labeled loop
    for (int i = 0; i < args.length; i++)
    { // loop through all the arguments
    // if the argument does not contain an equal sign, then
    // it is a component class name. Otherwise it is a
    // property setting
    int equalsPos = args[i].indexOf('=');
    if (equalsPos == -1)
    { // Its the name of a component
    try { //Load the named component class
    Class componentClass = Class.forName(args[i]);
    //Instantiate it to create the component instance
    component = ((Component)componentClass.newInstance());
    //Use Java beans to introspect the component
    //And get the list of properties it supports
    BeanInfo componentBeanInfo = Introspector.getBeanInfo(componentClass);
    properties = componentBeanInfo.getPropertyDescriptors();
    catch (Exception e)
    { // If an step failed, print an error and exit
    System.out.println("Can't load, instantiate, " +
    "or introspect: " +args[i]);
    System.exit(1);
    //If we succeeded, store the component in the vector
    components.addElement(component);
    else { // the arg is a name=value property specification
    String name = args[i].substring(0, equalsPos); //property name
    String value = args[i].substring(equalsPos+1); //property value
    // If we do not hava component to set this proerty on, skip!
    if (component == null) continue nextarg;
    // Now look through the properties descriptors for this
    // Component to find one with the same name
    for(int p = 0; p < properties.length; p++)
    { if (properties[p].getName().equals(name))
    { // okay, we found a property of the right name
    // now to get its type, and the setter method
    Class type = properties[p].getPropertyType();
    Method setter = properties[p].getWriteMethod();
    //check if property is read- only !
    if (setter == null)
    { System.err.println("Property " + name+ "is read-only");
    continue nextarg; // continue with the next arguement
    // try to convert the property value to the right type
    // we support a small set of common property types here
    // Store the converted value in an object[] so it can
    //be easily passed when we invoke the property setter
    try { if (type == String.class)
    { // no conversion needed
    methodArgs[0] = value;
    else if (type == int.class)
    { // String to int
    methodArgs[0] = Integer.valueOf(value);
    else if (type == boolean.class)
    { //to boolean
    methodArgs[0] = Boolean.valueOf(value);
    else if (type == Color.class)
    { // to Color
    methodArgs[0] = Color.decode(value);
    else if (type == Font.class)
    { // String to Font
    methodArgs[0] = Font.decode(value);
    else { // if we cannotconvert, ignore the proprty
    System.err.println("Property " + name+ " is of unsupported type "
    + type.getName());
    continue nextarg;
    catch (Exception e)
    { System.err.println("Can't set Property: " + name);
    // NOw go to next command-line arg
    continue nextarg;
    // If we get here we didn't find the named property
    System.err.println("Warning: No such property: " + name);
    return components;
    //** A component subclass that demonstrates nested containers and components.
    //** It creates the hierarchy shown below, and uses different colors to
    //** distinguish the different nesting levels of the containers
    //** containers---panel1----button1
    //** | |---panel2----button2
    //** | | |----panel3----button3
    //** | |------panel40---button4
    //** | |---button5
    //** |---button6
    They both compile fine but when I go to run them together I get an error. the command given in the book to run them both together is:
    java ShowComponent\Containers
    But it does not work. I also tried to append Containers to the bottom of ShowComponent and I got an error that said public class Containers extends JPanel needs to have its own file called Containers.java . . I do not understand that as the file was named correctly for ShowComponent.java. I need to knw either what the true command is for running the programs together or what to name container.java that will make it run inside of ShowContainer.java
    this is very frustrating as I need to know these answers for work and no one here in the IT department knows how to program in Java but me

    Hi,
    I tried the example and got some weird error messages as follows:
    ********* error messages*********
    ShowComponent.java:90: cannot resolve symbol
    symbol : method getName ()
    location: class javax.swing.UIManager.LookAndFeelInfo[]
    { String plafName = plafs.getName();
    ^
    ShowComponent.java:91: cannot resolve symbol
    symbol : method getClassName ()
    location: class javax.swing.UIManager.LookAndFeelInfo[]
    final String plafClassName = plafs.getClassName();
    ^
    ShowComponent.java:139: cannot resolve symbol
    symbol : method indexOf (char)
    location: class java.lang.String[]
    int equalsPos = args.indexOf('=');
    ^
    ShowComponent.java:143: cannot resolve symbol
    symbol : method forName (java.lang.String[])
    location: class java.lang.Class
    Class componentClass = Class.forName(args);
    ^
    ShowComponent.java:161: cannot resolve symbol
    symbol : method substring (int,int)
    location: class java.lang.String[]
    String name = args.substring(0, equalsPos); //property name
    ^
    ShowComponent.java:162: cannot resolve symbol
    symbol : method substring (int)
    location: class java.lang.String[]
    String value = args.substring(equalsPos+1); //property value
    ^
    6 errors.
    *****end of error messages*****
    I use jdk1.3 and Win2000. Can anybody tell me how to delete above error messages?
    Thanks a lot.
    Li

  • Sudden problem getting CD-LabelPrint to work with Canon ip5200R

    The last time I successfully printed a disc label on my Canon ip5200R was in November last year - until then, I'd had no problems printing from a couple of different iMacs & my MacBook Air. I have recently tried to print a new label, but am receiving the message: "The Paper Settings are not correct. Please check the paper size, magnification ratio, and the paper orientation. To set the paper settings, please click on "Settings". To cancel printing, please click "Cancel"." All of my settings are correct! I used to get a message that advised me to check the "Quality & Media" settings, where I could make further adjustments (eg, tick "greyscale printing"), but I can no longer access this option.
    A Google search revealed that others have had similar problems - solutions suggested included updating the software. I was using CD LabelPrint v.1.3. I have installed v.1.7, but the problem persists. (When I installed v.1.8, the message indicated that there was no printer installed that would work with the program!) (I uninstalled the previous versions correctly by deleting the folder from Applications as well as from Preferences in the Library.) I have attempted to print from 4 different Macs - three of them are running Mac OS 10.5.8 and one is running 10.4.11- no luck with any of them! The only change that is consistent between them since November last year is that they have all received software updates for their operating systems. I am wondering whether something in these updates is now interfering with CD LabelPrint?
    I am frustrated with the amount of time this has taken so far, and so am hoping that someone will please be able to help me rectify the problem.
    - Merrilly

    Hi there,
    I have v1.60 of CD LabelPrint on my 10.5.8 VM and it is working fine. It also has all the Apple updates installed so I don't think this would be the cause.
    I also have v1.80 on 10.6 and it is working fine as well.
    The version 1.60 on 10.5.8 generates a pop-up as soon as the Print icon is pressed. This takes you to the Page Setup menu for CD LabelPrint to ensure you have the 'Format for' set to the iP5200R and the 'Paper Size' set to 'CD Tray C'. With these selected and the OK button pressed, the next warning window appears regarding the Quality & Media settings.
    If you manually open Page Setup in your CD LabelPrint, does it have the iP5200R set as the printer and the CD Tray C set for the paper size?
    Regarding the v1.8 and the error, this version was released to add support for Snow Leopard. Since you have to use the CUPS v10.26 driver on Snow Leopard (the v4.8.3 driver for Leopard cannot be used on SL) then maybe the same driver would have to be installed on Leopard in order for CD LabelPrint to function?
    Pahu

  • Anyone having problems getting Photoshop CC14 to work with Lightroom 5.5?

    I installed Photoshop CC 2014, but Lightroom wouldn't export photos to it. Spent 3hours on the phone with Adobe support, they wiped all my Adobe apps without warning me and I lost all my presets. Was told higher level support would contact me - didn't happen. System still not fixed, even after an hour trying to get to the right person today. I've never had a problem installing before - anyone else having a similar issue? Who do I contact for better "customer service" (or does it exist)?

    Hi David_B,
    Thanks for your reply! I've installed PS many times (since version 3, I think), and nothing like this has ever happened. I use and teach PS and LR for a living. The tech person I spoke with told me it is not unusual to have this happen when upgrading to CC 2014.
    What happened is that PS CC2014 would not open the image in PS if I used the Photo>Edit In>PS 2014 command unless I used Photo>Edit In>Open as Smart Object. Once opened as a smart object, PS would not save the file. I think it said Error 2.
    The tech took control of my computer, removed PS and LR and all the associated files a few times. He told me I'd have to have a high level person help me, but they didn't call me, so I phoned in. After waiting an hour to get to the correct person (not a high level tech) he said he'd have to uninstall everything again and start over and that it would take over an hour. I don't have the time right now to fix it as I'm headed out of town until the end of the month to teach LR.
    In the meantime, LR works, but I'm using a trial version that expires in 30 days. It exports to PS ok, but I had to reload all my plug-ins, and apparently LR can't find Photomatix. LR is not installed in my usual applications folder - the tech put it on my system backup drive.
    My case number is: 185696477
    Thanks so much for your willingness to help!
    Terry

  • Problem getting xslt transform to work

    I have the following ABAP Xslt  transformation
    <xsl:transform
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:sap="http://www.sap.com/sapxsl" version="1.0"
    >
    <xsl:strip-space elements="*"/>
         <xsl:template match="/">
              <asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
                   <asx:values>
                        <ALLIR_REIKNINGAR>
                             <xsl:apply-templates select="//Invoice"/>   
                        </ALLIR_REIKNINGAR>
                   </asx:values>
              </asx:abap>
         </xsl:template>
        <xsl:template match="Invoice">
        <REIKNINGUR>
            <REIKN_NUMER>
                <xsl:value-of select="cbc:ID"/>           
            </REIKN_NUMER>
            <REIKN_AFRIT>
                <xsl:value-of select="cbc:CopyIndicator"/>
            </REIKN_AFRIT>
            <REIKN_UTGAFUDAGS>
                <xsl:value-of select="cbc:IssueDate"/>
            </REIKN_UTGAFUDAGS>
            <REIKN_MYNT>
                <xsl:value-of select="cbc:DocumentCurrencyCode"/>
            </REIKN_MYNT>
            <REIKN_TIMABIL_FRA>
                <xsl:value-of select="cac:InvoicePeriod/cbc:StartDate"/>
            </REIKN_TIMABIL_FRA>
            <REIKN_TIMABIL_TIL>
                <xsl:value-of select="cac:InvoicePeriod/cbc:EndDate"/>
            </REIKN_TIMABIL_TIL>
        </REIKNINGUR>
        </xsl:template>
    </xsl:transform>
    And the following XML input file
    <?xml version="1.0" encoding="UTF-8"?>
    <?xml-stylesheet type="text/xsl" href="vodafone_xslt_namespace.xslt"?>
    <Invoice
    xmlns="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2"
    xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
    xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2"
    xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2"
    xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2"
    xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:ccts="urn:un:unece:uncefact:documentation:2"
    xmlns:stat="urn:oasis:names:specification:ubl:schema:xsd:DocumentStatusCode-1.0"
    xmlns:clm5639="urn:un:unece:uncefact:codelist:specification:5639:1988"
    xmlns:clm54217="urn:un:unece:uncefact:codelist:specification:54217:2001"
    xmlns:clm66411="urn:un:unece:uncefact:codelist:specification:66411:2001"
    xmlns:clmIANAMIMEMediaType="urn:un:unece:uncefact:codelist:specification:IANAMIMEMediaType:2003"
    >
         <cbc:UBLVersionID>2.0</cbc:UBLVersionID>
         <cbc:CustomizationID>NES</cbc:CustomizationID>
         <cbc:ProfileID schemeID="Profile"
         schemeAgencyID="NES">urn:www.nesubl.eu:profiles:profile4:ver1.1</cbc:ProfileID>
         <cbc:ID>PB1554421</cbc:ID>
         <cbc:CopyIndicator>false</cbc:CopyIndicator>
         <cbc:IssueDate>2011-12-31</cbc:IssueDate>
         <cbc:InvoiceTypeCode listID="UN/ECE 1001 Restricted" listAgencyID="NES">380</cbc:InvoiceTypeCode>
         <cbc:Note languageID="IS">Company name</cbc:Note>
         <cbc:DocumentCurrencyCode listID="ISO 4217 Alpha">ISK</cbc:DocumentCurrencyCode>
         <cbc:AccountingCost>2001523</cbc:AccountingCost>
         <cac:InvoicePeriod>
              <cbc:StartDate>2011-12-01</cbc:StartDate>
              <cbc:EndDate>2011-12-31</cbc:EndDate>
         </cac:InvoicePeriod>
    </Invoice>
    My problem is that this transformation does not work unless I completly strip out the namespace parts i.e. cbc:
    How can I get the parser to read the tags with namespace part. And if the parser can not handle namespace in XML how can I go about reding the data into sap ?

    I think you are trying convert the xml to an internal table because of // in apply-templates, then you need to change last XSLT program and include <item> tag inside the <xsl:template match="inv:Invoice">  template, see updated XSLT bellow.
    <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:inv="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2"
    xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
    xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2"
    xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2"
    xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2"
    xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:ccts="urn:un:unece:uncefact:documentation:2"
    xmlns:stat="urn:oasis:names:specification:ubl:schema:xsd:DocumentStatusCode-1.0"
    xmlns:clm5639="urn:un:unece:uncefact:codelist:specification:5639:1988"
    xmlns:clm54217="urn:un:unece:uncefact:codelist:specification:54217:2001"
    xmlns:clm66411="urn:un:unece:uncefact:codelist:specification:66411:2001"
    xmlns:clmIANAMIMEMediaType="urn:un:unece:uncefact:codelist:specification:IANAMIMEMediaType:2003"
    xmlns:sapxsl="http://www.sap.com/sapxsl"
    version="1.0">
      <xsl:strip-space elements="*"/>
      <xsl:strip-space elements="*"/>
      <xsl:template match="/">
        <asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
          <asx:values>
            <ALLIR_REIKNINGAR>
              <xsl:apply-templates select="//inv:Invoice"/>
            </ALLIR_REIKNINGAR>
          </asx:values>
        </asx:abap>
      </xsl:template>
      <xsl:template match="inv:Invoice">
        <item>
        <REIKNINGUR>
          <REIKN_NUMER>
            <xsl:value-of select="cbc:ID"/>
          </REIKN_NUMER>
          <REIKN_AFRIT>
            <xsl:value-of select="cbc:CopyIndicator"/>
          </REIKN_AFRIT>
          <REIKN_UTGAFUDAGS>
            <xsl:value-of select="cbc:IssueDate"/>
          </REIKN_UTGAFUDAGS>
          <REIKN_MYNT>
            <xsl:value-of select="cbc:DocumentCurrencyCode"/>
          </REIKN_MYNT>
          <REIKN_TIMABIL_FRA>
            <xsl:value-of select="cac:InvoicePeriod/cbc:StartDate"/>
          </REIKN_TIMABIL_FRA>
          <REIKN_TIMABIL_TIL>
            <xsl:value-of select="cac:InvoicePeriod/cbc:EndDate"/>
          </REIKN_TIMABIL_TIL>
        </REIKNINGUR>
       </item>
      </xsl:template>
    </xsl:transform>
    According to the XSLT program you need dclare an itab like this:
    DATA: BEGIN OF ls_reikningur,
          reikn_numer(10) TYPE c,
          END OF ls_reikningur.
    DATA: BEGIN OF ls_invoice,
          reikningur LIKE ls_reikningur,
          END OF ls_invoice.
    DATA: lt_invoice LIKE TABLE OF ls_invoice.
    And finally you need a call transformation in your abap code like this:
    DATA: root_error TYPE REF TO cx_root.
    DATA: lv_mess TYPE string.
    TRY.
        CALL TRANSFORMATION  zinvoice
           SOURCE XML lv_xml
           RESULT allir_reikningar = lt_invoice.
      CATCH cx_root INTO root_error.
        lv_mess = root_error->if_message~get_text( ).
        WRITE lv_mess.
    ENDTRY.

  • Problem getting Remote Control to work at

    I've just installed an X-Fi Platinum and everyting went well. Sound works great.
    I do have one problem. The remote does not seem to do anything at all. I DO have the batteries in it, and they ARE in the right way, but pointing it at the I/O reciever from inches away gets no response at all.
    Now, I DID download the latest X-Fi driver from this site to install the hardware (rather than the installation CD). I checked the installation CD though for any additional software and found the Creative Media Source software. I installed that.
    Still, nothing. The ports and volume knobs on the front of my I/O box work fine, so I do believe that is hooked up fine.
    Is there some OTHER piece of software I am supposed to install? Or any other ideas?
    worm

    Nope, the installer does not work because it looks like it was DESIGNED to prevent you from installing it from outside of the installer application.
    The Solution:
    Uninstall the LATEST X-Fi drivers from the website here.
    Insert CD Rom
    Install the OLDER version of the drivers.
    Evidently the 40MB download for the current drivers does not contain all the 'extra' programs that come with the driver on the CD. To make things worse, you cannot install the additional applications from the CD (there are no menu options for them).
    However, when I install the X-Fi driver from the CD-ROM, then a TON of extra programs (including the CONSOLE!!!) got installed as well. I had no options which to install or not, it just does them ALL.
    A couple of suggestions for Creative:
    ) Add ALL of the software required to run the hardware deli'vered in the box to the downloads/support sections here.
    2) On your installation CD, seperate out your X-Fi DRIVER file from all of the extra files. Then someone can find the software they need to run thier hardware, without doing un-obvious things like uninstalling the newer driver and installing older ones with hidden software packages included (which were NOT included in the newer driver package)...
    worm

  • Problem getting custom workflow to work with BPEL Worklist

    I am currently working through the DocumentReviewWorklow custom workflow example in the Oracle Content Services 10g Custom Workflows document and cannot get the workflow to prompt approvers through the BPEL Worklist application that an action must be taken.
    When I run the workflow, the process gets to the point of calling the TaskActionHandler and the approver is told that a process is pending their approval in the Content Services Console.
    The following appears in the BPEL Process Manager when I Audit the workflow:
    onMessage (137) - pending
    [2006/03/20 08:57:42] Waiting for message from "TaskManagerService", operation is "onTaskSuspended".
    onMessage (126) - pending
    [2006/03/20 08:57:42] Waiting for message from "TaskManagerService", operation is "onTaskUpdated".
    onMessage (118) - pending
    [2006/03/20 08:57:42] Waiting for message from "TaskManagerService", operation is "onTaskErrored".
    onMessage (110) - pending
    [2006/03/20 08:57:42] Waiting for message from "TaskManagerService", operation is "onTaskWithdrawn".
    onMessage (102) - pending
    [2006/03/20 08:57:42] Waiting for message from "TaskManagerService", operation is "onTaskCompleted".
    onAlarm (161) - pending
    [2006/03/20 08:57:42] Alarm started. Alarm will go off at time "2006/03/22 08:57:42".
    onAlarm (156) - pending
    [2006/03/20 08:57:42] Alarm started. Alarm will go off at time "never".
    onAlarm (151) - pending
    [2006/03/20 08:57:42] Alarm started. Alarm will go off at time "never".
    After a period of time, the workflow eventually times-out because it is neither approved or disapproved. I have got the other non-blocking custom workflow examples to work without any problems.

    Thanks bnainani, you solved my problem!
    Despite the fact that the approver's username is in the Oracle Collabortion Suite OID as all lower case letters (and you can still login to worklist with lower case letters), you were right in saying that you have to use all upper case letters when logging into the worklist application in order to see the pending tasks.
    Just out of curiousity, do you have any idea why worklist requires upper case letters for the username?
    Message was edited by:
    middaymag
    Message was edited by:
    middaymag

Maybe you are looking for

  • XML error

    Hi, i get the following error when i try to parse access table data into a new xml doc using a zerces dom parser. any ideas ???? org.apache.xerces.dom.DOMExceptionImpl: DOM006 Hierarchy request error      at org.apache.xerces.dom.DocumentImpl.insertB

  • Layered Menu Buttons not working on DVD player

    Hello, I just made an SD DVD with several layered menus. The backgrounds for the menus come from photoshop files with different layers for normal, selected, and active states. Navigating the main menu works fine in the simulator and when I play the d

  • Flex validation in Java

    I am using a product called Crystal Xcelsius to design and develop dashboards for banking customers. The product using Flex controls with an Excel spreadsheet to show data. It then supports data connections to refresh or update that data. After setti

  • .Mac with iPhoto question

    Just asked same question in iWeb forum. I would like to have several friends access a bunch of photos on the internet and each must access a specific bunch of pictures with a password. Each bunch is about 400 to 600 pictures of about 100kb each. It m

  • Desktop folder is missing

    Hi! I recently made a Arch installation with KDE 4, but the desktop folder is missing. Can I create manually? Thanks. :-)