Few Java EE questions

Hey guys
I am writing my first EE application and running into a few problems and would appreciate any help i can get
overview
At the moment the application consists of an enterprise module and a windows client application.
Web module will be done later
SQL server 2005 is the database being used
using netbeans IDE using the bundled application server 9 at the moment
so far i just have a entity class for one of the tables in my database with a stateless session bean to act as a communication bridge from the windows client to the entity.
The entity module is built and deployed on the server
The goal is to run the application client from a remote computer and not from deployin it to the application server as the Netbeans IDE does if u click run project, so for my testing i go to the jar file on the computer directly and run it from there
my client application has a main class and a JFrame class for the gui part for initial testing. Here are the problems
First scenario
if i inject a enterprise resource in the main file (right clicking ..popup menu way) it injects the annotation @EJB and the bean instance variable as expected, however it does not seem to modify the application-client.xml file. This all seems good but when i try to use that reference and call any of my bean functions, the run fails both directly and through the application server, but seems to run in debug mode for some reason. ???
second scenario
instead of injecting the resource in the main file, i inject it in my frame class and instead of the @ejb annotation i get a private function which gets teh initial context for the session bean and looks it up explictly. It also modifies the application-client.xml file and adds the following
<ejb-ref>
<ejb-ref-name>ejb/CustomerBean</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<remote>mypackage.stateless.session.CustomerRemote</remote>
</ejb-ref>
ok, so i use this remote object and call my function, it seems to run from the application server now, but now when i run it directly from my computer my GUI never materializes, i mean i see teh exe running in the task manager but nothing shows up., but the gui works fine when i run it from the application server. doenst make sense to me?? what am i missing here??
Why do the two scenarios occur, i.e why annotation for one and not for the other and why does the first one not even run in application server unless in debug mode. In the first scenario, do i need to add the stuff in the xml file manually? why cant i run the second scenario directly from the PC
If i cant run this application client remotely then there is no use, I created teh client with the check option to create it when i created the enterprise application, Do i need to create a normal client application that is not bundled with the enterprise app for it to work, my understanding is that bundling it makes it easier as it lets u inject resourses and still lets u run remotely. Any help will be greatly appreciated
On a side note, has anyone had any problems using sql schema with their applications, When i create an entity using databases , i only see my dbo schema, even though i have four schemas in my database. Even in runtime if i make a connection if only shows dbo unless i go to the property editor and manually change it, in which case it seems to take it but that way i am restricted to one schema. Any one has any link or code for a step by step of using MS Sql 2005 with EE? I basically am goin on trial an error on that one as i couldnt find any solid examples of this, Most examples of setting up databases using the application server 9 and using EE application use the bundled db, but i figured it would be similar. maybe i am missing some important step.

What specific error are you getting when it doesn't run? Is there any stack trace? Also, are you
using the "appclient" command to run the Application Client? If your server is running on a different
machine than the client, make a copy of the domains/domain1/config/sun-acc.xml file and edit the
target-server name property. Then reference that edited .xml file using the -xml option when executing
the appclien command.

Similar Messages

  • A few post config questions on new setup

    Hi Group,
    Just a few post config questions.
    First, how can I confirm my controller is in fact associating properly with an NTP server?  On a typically cisco product, I could just do a 'show ntp associations' or a 'show ntp status'.  I cannot see a way to confirm this on the gui or command line.
    Second, on my guest network with web-auth, if one were to choose to not use https for web-auth and instead use unsecure http, would that be possible and if so where in the gui?
    Thanks.

    The third field is from a WLC running v7.4 not v7.2.  I usually would install a 3rd party certificate, but what eles you can try is issue this command on from the CLI.  It had issues working with certain code versions, but you might as well give it a try.
    config network web-auth secureweb disable
    Thanks,
    Scott
    Help out other by using the rating system and marking answered questions as "Answered"

  • Flash/java remoting question

    Hi,
    i'm new to flash remoting and am finding using it with java
    quite troublesome. I've also found using the FileReference class
    troublesome if you use java. my question is can you somehow tie the
    remoting functionality to the FileReference.upload method
    fucntionality??
    thanks in advance

    I will use the program with photo detector to test
    the response time of the LCD screenWhy Java?I second that. With a test like that, you want to reduce the experiment down to a single variable, in this case the lcd response time. Using a java program to feed the monitor input introduces a second variable, the response time of the program. The java program's timer may not be exact, the components may not be repainted completely quickly enough, etc. If this is just for your own amusement, maybe that doesn't matter, but if you want your results to have any reliability, you'll need a more accurate and controllable input source.

  • Can I post here(Acrobat Windows) Java Script questions here?

    Hello
    Can I post here(Acrobat Windows) Java Script questions here? If not, wht is the correct forum?
    THank you

    Back up and down to Acrobat Scripting. Bot Windows and MacIntosh Acrobat versions use the same JavaScript.
    If you are using LIVECYCLE DESIGNER use their forums. The JavaScript syntax and objects are different in LIVECYCLE DESIGNER!

  • A few java questions

    im not sure if this is the right forum or not so i apologize in advance if its not
    first off if you store some table(like a 2 demensional array) of data in some file type (not sure what type to use for this)
    is there a way to pull a single piece or a row of data out of the file withought loading the entire file to memory
    for example if i have the file
    1.5.8.3.9.12
    7,4,8,9,2,4
    3,10,3,4,1,7
    is it possible for me to say take out just thee 10 withought dumping the entire file to memory or the row that 10 is on
    second question
    is it possible to make a database using only java like replicate mysql just using java

    aphxps wrote:
    im not sure if this is the right forum or not so i apologize in advance if its not
    first off if you store some table(like a 2 demensional array) of data in some file type (not sure what type to use for this)
    is there a way to pull a single piece or a row of data out of the file withought loading the entire file to memoryNot really. You don't have to retain the entire file in memory, but you'll probably have to scan through it to find what you want. RandomAccessFiles might come in handy, possibly.
    for example if i have the file
    1.5.8.3.9.12
    7,4,8,9,2,4
    3,10,3,4,1,7
    is it possible for me to say take out just thee 10 withought dumping the entire file to memory or the row that 10 is on
    second question
    is it possible to make a database using only java like replicate mysql just using javaReplicate MySQL exactly? Or just write pure Java databases?
    If the two questions are, as I suspect, related, I strongly suggest you give up on this endeavour for the time being. It's about 50 squillion times more complicated than simply pulling some data out of a file efficiently.

  • Re: mixed up on few java issues

    What is java SDK?
    Also I have installed a few versions of JDK, each time upgrading from older one because I was given older versions when I first started on java.
    Now I have a few version on the computer, how do I find out which version I am using?

    SDK = Software Development Kit
    JDK is the basic Java SDK.
    To find out the version you're using (assuming you've installed JDK correctly) type the following at a command prompt:
    java -version
    Welcome to Java. Read the Java Tutorial on this site. Buy Core Java, Volume 1 - Fundamentals.
    Ask questions when you're really stuck, i.e. you've already tried to find the answer for yourself on the web and by looking in books.

  • Importing Java Class Question

    Hello,
    Sorry for such a newbie question and such a long post, I did remember how to do this before but now I can't for the life of me remember. Anyhow, I have a simple question about importing custom-made java classes, from another directory in the windows operating system. I have the classpath set, and also I realize that because the two files below are in the same directory theres no need for an import statement as Java will look for the class in the same directory.
    But I would like to know how the import statement is suppose to look to import a custom made java class from another directory, (assuming of course that I set the correct classpath)
    here's the java class location:
    c:\school\csc365\narcus.java
    //narcus.java
    import java.io.*;
    class narcus implements Comparable
    String firstName = "firstName";
    String lastName = "lastName";
         public narcus()
         firstName = firstName;
         lastName = lastName;
         public narcus(String f)
         firstName = f;
         lastName = lastName;
         public narcus(String f, String l)
         firstName = f;
         lastName = l;
    public String getFirst()
    return "first..";
         public int compareTo(Object e)
         return 1;
    Here's the location of the driver program thats suppose to use the narcus.java class
    c:\school\csc365\test.java
    //test.java
    //import statement? maybe import "c:\\school\\csc365\\*"; ?
    import java.io.*;
    class test
    public static void main(String[] args)
         narcus jim = new narcus();
         System.out.println("omg\n");
         System.out.println(jim.getFirst());
    And also, here is my classpath:
    PATH=c:\school\csc365\;c:\school\
    The classpath also points to the jdk libraries and few other directories but I didn't write that above, as it probably isn't relevant.
    I've tried the following import statements.
    import "c:\\school\csc365\\narcus.java";
    import "narcus.java";
    import "c:\\school\\csc365\\*";
    But I keep getting an error that says:
    test.java:1 <identifier> expected
    Any help is appreciated!

    Hi Folks,
    I am new to this forum, heard that interesting discussions always happens on this forum so immediately registered,don't want to miss any oppurtunity to participate in discussions.
    I have pretty much basic question regarding compiling and exceuting files in different packages.I have the following directory structure
    C:\Projects\WDPROEast\Development\CommonService\Code\Java from where java files stored in different packages as follows:
    com\wdpro\commerce\common\crm\dae\nautilus\adapter directory has java files in com.wdpro.commerce.coomon.crm.dae.nautilus.adapter package.
    com\wdpro\commerce\common\dae\exception has java files with package named com.wdpro.commerce.common.dae.exception.
    com\wdpro\commerce\common\dls\exception has java files with corresponding package name.
    com\wdpro\commerce\common\dto has java files under proper package name.
    com\wdpro\commerce\common\exception has java files with appropriate package name.
    com\wdpro\commerce\common\util has java files with package name. I am starting at Java Directory,want to compile and run file named a.java in com.wdpro.commerce.coomon.crm.dae.nautilus.adapter package with having all other java files on classpath as follows
    so I issued command for compilation as follows C:\Projects\WDPROEast\Development\CommonService\Code\Java>javac com/wdpro/commerce/common/crm/dae/nautilus/ada
    pter/a.java com/wdpro/commerce/common/crm/dae/nautilus/adapter/NautilusServiceUtility.java com/wdp
    ro/commerce/common/crm/dae/nautilus/adapter/URLReader.java com/wdpro/commerce/common/crm/dae/nautilus/adapter/
    b.java com/wdpro/commerce/common/dae/exception/*.java com/wdpro/commerce/common/dto/*.java
    com/wdpro/commerce/common/exception/*.java com/wdpro/commerce/common/util/*.java com/wdpro/commerce/common/dl
    s/exception/*.java It compiled greatly but when I issue command to run a.class file as
    C:\Projects\WDPROEast\Development\CommonService\Code\Java>java com/wdpro/commerce/common/crm/dae/nautilus/adap
    ter/UtilityAccesssit's giving following exception
    Exception in thread "main" java.lang.NoClassDefFoundError: com/wdpro/commerce/common/crm/dae/nautilus/adapter/
    UtilityAccesssbut when I run a.java with the following command
    C:\Projects\WDPROEast\Development\CommonService\Code\Java>java com/wdpro/commerce/common/crm/dae/nautilus/adap
    ter/UtilityAccess com/wdpro/commerce/common/crm/dae/nautilus/adapter/NautilusServiceUtility.java com/wdpro/com
    merce/common/crm/dae/nautilus/adapter/URLReader.java com/wdpro/commerce/common/crm/dae/nautilus/adapter/Nautil
    usAccessUtility.java com/wdpro/commerce/common/dae/exception/*.java com/wdpro/commerce/common/dto/*.java com/w
    dpro/commerce/common/exception/*.java com/wdpro/commerce/common/util/*.java com/wdpro/commerce/common/dls/exce
    ption/*.javaSo my question do I need to add all required java files to path when required class files are under different packages?is it manadatory.
    I hope you understand my question,pass me any comments you may have.
    Thanks alot,
    Anu

  • Java Interview questions!!!!!!!!!!!!

    Hi folks,
    I had an interview with a small company a few days ago.
    Below is a list of the questions that they asked me.
    Some of these are not familiar to me at all.
    Does anyone have the answer for these?
    (1) Draw UML diagrams that express the following concepts:
    (a) Class C and class B are subclasses of class A.
    (b) Class P has two private fields int x and int y and one
    public method setXY(int x1, int y1)
    (c) bob is and object of class Bob.
    (d) Class A objects contain one or more objects of class B.
    (e) Interface A is implemented by class B and class C.
    (2) Define the following computer science terms:
    (a) Primitive type
    (b) type conversion
    (c) narrowing / widening a type.
    (d) reference type
    (e) type casting
    (3) (a) Give an example of variable shadowing.
    (b) (2pts) Explain the difference between method hiding and
    overriding methods.
    (c) Give an example of marker interface.
    (d) Suppose class A implements two interfaces C and D. Each of these
    has a method public void getRichQuick() but C's method
    throws CaughtBySECException and D's method throws
    AntitrustException. What will the compiler do?
    (4) (a) With respect to subclassing what does restriction mean?
    (b) How do we implement restriction in Java?
    (c) Suppose we have two interfaces in Java: I2 which extends
    I1. Is I2[] a subtype of Object[] ? Why or why
    not?
    (d) What is multiple inheritance?
    (e) Give a way to achieve the effect of multiple inheritance in Java.
    (5) (a) In a Java class definition what is an initialization. Give an
    example.
    (b) Give the order in which the following three things would be
    initialized when a subclass B of class A is created:
    (i) an explicit initializer in B, (ii) an explicit initializer
    in A, and (iii) an initalization statement in a constructor of A.
    (6) (a) On what methods and classes should one use /** ... */ comments?
    (b) For javadoc to detect these comments where relative to these
    methods/classes should the comment occur?
    (c) Explain how to use each of the following javadoc tags:
    (i) @since (ii) @see (iii) @param
    (7) Define the following terms with respect to their object-orientation
    meaning. Give an example of (b) and (c).
    (a) framework
    (b) idiom
    (c) design pattern
    (8) Give each of the things needed for the canonical form for public classes
    in Java.
    (9) Class A and Class B each contain identical blocks of code 30 lines long.
    Class A extends Class C and Class B extends Class D. Suggest a way to
    avoid the code duplication using factorization. What kind of
    factorization did you use?
    (10) Give the UML diagrams for the folowing design patterns:
    (a) Strategy
    (b) Iterator
    (c) Factory
    (d) Template
    (e) Singleton

    I think I can help you with a few points:
    2
    a. Primitive types are byte, short, char, int, long, float, double and boolean. They tell the compiler the type of the variable and thus how much memory needs to be set aside to store the variable in memory.
    b. Converting from one type to another which kinda links in with c. Widenening is the process of changing, for example and byte to an int (no explicit cast is needed) because a byte (8 bits) can fit into an int (32 bits).
    However the reverse is not true (obviously) so an explivit cast is needed to tell the compiler that you meant to do it (as information can be lost).
    e.g. int i = 3000;
    byte b = (byte)i;
    obviously a byte can only hold values up to 127 so converting this int to a byte changes the value. You have to look at the bits and understand a bit of binary code for this.
    This kinda answers part e. too.
    d. A reference type is a pointer to a cariable or object (I think thats what its getting at). eg int i = 32; i is a reference to the memory address where the computer stored the value 32.
    4d.e Multiple inheritance is when a subclass inherits from more than one base class. In java this is not possible (java only supports single inheritance with the extends keyword). However, java overcomes this with interfaces as a class, although it can only extends one base class, can implement as many interfaces as it likes in a comma seperated list.
    I hope this helps you on your way. The fact of the matter is, the majority of your questions can be found in any decent book on java (and UML). Also look at the java tutorial online.
    For example 1a is simply a box with two other boxes beneath with arrows pointing upwards to the base class (not downwards as would seem reasonable).
    The best way to learn all this stuff is to read it then try it yourself! That way you'll remember it much better.
    Good luck

  • Activation - Error:Cannot store binary and a few other NWDI questions.

    Hi all!
    I'm working on the Internet Sales Application (crm/b2b) in CRM 6.0. The work i do is an upgrade from CRM 4 to CRM 6, so I'm new to NWDI.
    I'm following the "ISA50DevExtGuideConcepts21.pdf" (since I haven't found a document for version 6), and have managed to add java extensions and librares successfully. I now work on the web-project and have started an activity to merge changes to stylesheets, and also added own mimes like stylesheets and images (.jpg, .gif). The files where added to the project folder (webContent in crm/isa/web/b2b) and then located and added to DTR through a refresh in NWDS. When I try to activate this activity I get the post-proccesing error in the request log below. This might have been caused by an image file renamed to .bak, although its recoginzed as an image in NWDS.
    Questions:
    1. Any idea what goes wrong? How should I solve this?
    2. Can I check out or remove the activity to correct the problem? How?
    3. I have a few Activities,already activated on the development server that I would like to get rid of. How do I do that?
    4. I have a few Activities that aren't properly named. Is it possible to change the name after activation?
    /Anders
    CBS Request Log
        ===== Processing =====  started at 2009-04-08 15:53:19.110 GMT
            BUILD DCs
                'sap.com/crm/isa/web/b2b' in variant 'default'
                        'war' PP has been changed. Dependent DCs will be re-built.
                    The build was SUCCESSFUL. Archives have been created.
        ===== Processing =====  finished at 2009-04-08 15:54:15.958 GMT and took 56 s 848 ms
        ===== Post-Processing =====
        Waiting for access: 10 ms
        ===== Post-Processing =====  started at 2009-04-08 15:54:15.968 GMT
            Check whether build was successful for all required variants...
                "sap.com/crm/isa/web/b2b" in variant "default"   OK
            STORE activation build results... started at 2009-04-08 15:54:15.972 GMT
                Update DC metadata... started at 2009-04-08 15:54:15.972 GMT
                    'sap.com/crm/isa/web/b2b' DC is CHANGED
                Update DC metadata... finished at 2009-04-08 15:54:16.276 GMT and took 304 ms
                STORE build results... started at 2009-04-08 15:54:16.276 GMT
                ===== Post-Processing =====  finished at 2009-04-08 15:54:17.849 GMT and took 1 s 881 ms
                Change request state from PROCESSING to FAILED
                Error! The following problem(s) occurred  during request processing:
                Error! The following error occurred during request processing:Database Error:Cannot store binary.
         Original Cause: DB2 SQL Error: SQLCODE=-968, SQLSTATE=57011, SQLERRMC=null, DRIVER=3.50.153
            REQUEST PROCESSING finished at 2009-04-08 15:54:17.855 GMT and took 1 m 6 s 42 ms

    I have done some more testing regarding the case with "Database Error:Cannot store binary."
    Unfortunately, the behaviour doesn't seem to be consitent or related to particular files. I had a successful activation with 79 of the files in one folder, but could'n add one single file in a new activity. When i removed one of the 79 files and added another file, one of those not possible to add before, it was successful.
    After this I tried to remove all 79 files again i one activity, and the add the original 79 files in another. The remove was successful while the adding was unsuccessful. All with the same error message in Request log.
    Does anybody have an idea of what is happening here? I don't have a clue.
    /Anders

  • Plzzz write prog to this simple java threads question

    Write a program in C to create four processes. The original processes creates
    two children before it prints out "PARENT". The children processes print
    "CHILD1" and "CHILD2" respectively. The first child process creates a child
    process that prints out "GRANDCHILD".
    Note: The output must be guaranteed to print out in the following order each
    time it is executed:
    GRANDCHILD
    CHILD2
    CHILD1
    PARENT
    a. Write the program using C or C++ and forks to create the children processes.
    b. Write a second program using Java and Threads for the children processes.
    The output statements for CHILD1, CHILD2 and GRANDCHILD must come from print
    statements in the run method of the thread.

    Most people here will not do your homework for you. If you post a reasonable question that shows you've made some effort, and what the results of that effort were, and provides details about what parts you're having trouble with, then somebody will probably provide guidance so that [you can complete the work.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Simple Java Coding Question

    I know this is a simple question, but I can't search for the answer to this because it involves syntax that Google and the like don't seem to search for..
    I am trying to figure out some Java code that I have found. I would like to know what:
    a[--i] and a[++j] mean.
    My first thought was that they meant to look at the position in the array one less (or more) than i (j). But that doesn't seem to be the case. A is an array of Strings, if that matters...
    Thanks for you help.

    muiajc wrote:
    I know this is a simple question, but I can't search for the answer to this because it involves syntax that Google and the like don't seem to search for..
    I am trying to figure out some Java code that I have found. I would like to know what:
    a[--i] and a[++j] mean.
    It mean increase/decrease the int i/j by 1. This is done before it gets you the value of a[]. for example if i=5 and you said a[--i] it is really a[4] and i is now equal to 4;

  • Simple Java EJB question.

    When it comes to EJB v3 Remote and Local interfaces,
    (With JBoss EJB Container Software in mind, for this question,)
    -Does the Remote interface for the EJB include method signatures from the Bean class
    -that are to be seen
    -that are to be hidden?
    -Does the Local interface for the EJB include method signatures from the Bean class
    -that are to be seen
    -that are to be hidden?
    Which is which for
    -EJB 2.1 ?
    -EJB 3.x ?
    - is EJB 3.x reverse compatible in that it allows use of the javax.ejb.* interfaces,
    and would accept a EJB 2.1 approach, or does it force one to use Annotations
    exclusively?
    Edited by: Zac1234 on Jul 21, 2010 5:21 PM

    muiajc wrote:
    I know this is a simple question, but I can't search for the answer to this because it involves syntax that Google and the like don't seem to search for..
    I am trying to figure out some Java code that I have found. I would like to know what:
    a[--i] and a[++j] mean.
    It mean increase/decrease the int i/j by 1. This is done before it gets you the value of a[]. for example if i=5 and you said a[--i] it is really a[4] and i is now equal to 4;

  • Simple Java Sound Question...

    Can I draw waveforms while capturing data? If yes, how. If no, why.
    Thanks. I need the answer ASAP, please help.

    Hi nfactorial,
    Can I draw waveforms while capturing data?If you would like to do that in Java you would need to know about how to use the Java language in general and especially about the Java Sound and Java2D APIs.
    If yes, how.It would be too much to explain to answer such a general question. A general answer is, you need to use the Java Sound API to capture the data for which a waveform should be drawn. The Sound API delivers data as a stream of bytes typically encoded in pulse coded modulation (PCM) format. The data stream has digital samples each representing a level of sound pressure for a certain point in time. The stream of samples in the amplitude/time domain need to be transformed to a spectrum of samples in the amplitude/frequency domain, i.e. a number of PCM samples need to be mapped to the frequencies that should be displayed. This is done with the fast fourier transformation algorithm. Each set of amplitude/frequency values can then be displayed as a waveform by using some line drawing logic. The entire process would need to run constantly, i.e. as bytes are received from the sound data stream transformation and drawing is triggered.
    Related readings:
    Java Tutorial
    http://java.sun.com/docs/books/tutorial/
    Java Sound Documentation
    http://java.sun.com/j2se/1.5.0/docs/guide/sound/index.html
    Java Sound API Programmer's Guide
    http://java.sun.com/j2se/1.5.0/docs/guide/sound/programmer_guide/contents.html
    Java Sound Resources
    http.//www.jsresources.org
    Java 2D Graphics Tutorial
    http://java.sun.com/docs/books/tutorial/2d/index.html
    Wikipedia on fast fourier transformation
    http://en.wikipedia.org/wiki/Fast_fourier_transform
    HTH
    Ulrich

  • Simple java pgm - question

    Hallo,
    to the following pgm I had question:
    static void printPrimes (int max) (= wavy bracket;
    boolean(should be angular brackets) sieve = new booolean (angular br max+1
    angular br)
    int i,j;
    for (i=2; i = max;i++)sieve(angluarbr i angular br)= true
    i= 2
    while (i= <= max;) (=wavy bracket Out.println (i+ " "); // is prime
    for (j=i; j <= j+i) sieve(angular br j angularb.) = false;
    while (i <= maxAmpersandAmpersand !sieve (angular br angular br)I++;
    ) wavy br ) wavy br.
    I hope this is still kind of readable.
    Q's are:
    after the first "for" there is a new i=2, which seems to staty at 2 all the time; the following while does not change this value ( the beginning for i++ does not change this) and so seems to print 2 at all times (??)
    then the inner loop seems to count up all the doubbles of the new prime number and thrwoes it out as false at the end of it;
    the i values (increased with i++ seemsto refere at all times to the unit numbers and only indirect to the un it values, which are written/ assigned to it (??)
    I seem to wonder how the pgm can print out anythings else the 2's.
    I would appreciate any help to that.
    ml
    griz

    I hope this is still kind of readable.No, it's not. http://forum.java.sun.com/help.jspa?sec=formatting
    Why are you omitting the braces and brackets? And why don't you type "program"? Aren't we worth the additional time it takes?
    Q's are:
    after the first "for" there is a new i=2, which
    seems to staty at 2 all the time; the following
    while does not change this value Why should it? You don't tell it to.
    ( the beginning for
    i++ does not change this)It does. It just gets re-set to 2 after the for loop-
    and so seems to print 2 at
    all times (??)Yeah. What else?
    then the inner loop seems to count up all the
    doubbles of the new prime number and thrwoes it out
    as false at the end of it; That part is definitely unreadable.

  • NMH405 Impressions after the first days - and a few beginners type questions

    Hi All, After some research I took the plunge and acquired a new NMH405 (I really would have liked the non existing "NMH400" i.e. no drives).  I removed the 500GB drive and added two new 1.5TB WD Green Caviar Drives and set it up as Raid-1 After a few error messages and waiting for a very long time while the drives resynched I manage to get it online as z-drive to my vista system.  I played around with the built-in backup tool (I like it!).  I tried the builtin player after having placed some of my iTunes albums on the media hub and decided that I did not really like that option to much.  I then simply moved my itunes libraries to the MediaHub and used the iTunes application on Vista as a front end.   That works very nice.
    I have a few questions, probably showing my limited knowledge of network attached drives.
    Q1.  Are there any other way to power off the device than pressing the little bottom on the NMH405 (aka my NMH415!)? When powered off I assume the only other way to power it on is via the bottom again?
    Q2.  I have noticed the device is offline for ages after having either recycled Windows Vista or the hub itself.  Why is that? And what can I do to bring it online in a orderly fashion?  There must be a way to get that ugly red crossed NAS showing as green and online as a z-drive in "My Computer" a lot faster.  
    Q3.  I reformatted the 500GB drive that the box came with, added it to Disk enclosure box and attached the USB to the front of the NMH405, after a while it said on the front panel that it had detected the drive and asker whether I wanted to import the content.  I declined that (partly because it was empty!).  Now how do I access this drive? I would like to (occasionally) use it to back up files from my Raid-1 setup (you newer know what could happen there...).  How do I use this USB attached drive?  Also i noticed it did not show up in "My Computer" - actually "Computer" in windows?  Adding it directly to my windows system it is detected instantly?
    Thanks for any pointers or answers to enhance my user experience.  I am still learning here.
    best regards
    Solved!
    Go to Solution.

    Q1. Your correct, there's only one button at the front for powering on/off. There is though an option to reboot the device inside the web interface thru the configuration > system option.
    Q2. It really depends on how fast your network can establish a connection, a mapped network drive is fine but I noticed that it slows down the bootup or login process when you turn on the PC. What I did was just create a shortcut on the desktop (location \\nmh410\media) which points to my mediahub and did not map the mediahub anymore to drive z.
    Q3. If its a fresh 500gb drive with nothin on it yet, then you would need to create a partition on it first by connecting the external USB drive directly to the PC. Check out this article from Microsoft about partitioning. I think an external USB drive icon will not show up on the PC since the external USB drive is plugged in onto the mediahub USB port. To gain access to that external USB drive which is plugged in onto the mediahub USB port, I just create a shortcut to \\nmh410\media\device . For backup you can use the NTI backup software that came with your mediahub.
    Cheers.
    Message Edited by Wilkins377 on 12-11-2009 09:38 AM

Maybe you are looking for

  • L3 topology diagram with a large number of networks

                       I am working on redesigning a network that is using a single class B network for there LAN workstations and servers. I proposed for them to separate the two and put all of their servers into one class C network and the workstation

  • INTERNAL.CLIENT_RECEIVE_FAILED error : code 110

    Hi all, I have configured a synchronous proxy to RFC scenario. The problem is that the scenario works perfectly fine and I get the reponse back only sometimes. Other times I get the following error <SAP:Category>XIServer</SAP:Category>   <SAP:Code ar

  • Why Oracle Linux 5 cannot recover disk space after delete files ?

    Folks, Hello. When I create a Virtual Machine for Oracle Linux 5 to install EBS R12, I allocate 300GB to the VM. I download EBS R12 Source Files (45.7GB) and unzip the files (46GB). Total size of stage area directory(EBS_R12) is 91.7GB. Because some

  • Moving through each record

    How do I move through each record? I want to use some math function on one field and store the result in the other field one record at the time. How can I do it?

  • Strange colour patches in LR4.1. Possible WB bug?

    When looking at some recent images last night i noticed a strange, flesh like halo around some parts of my images. Ive not noticed it before but its quite worrying. DPP seem to be fine, and if i drag the WB slider to the right it goes away. Here is a