Java Communication:COM3 echoing back the commands

Hi,
I want to send commands to the internal modem and get a reply. My code does not throw any exceptions. The problem that I am facing is that whatever command I send to COM3(the port on which the modem is connected), I get an echo of the command back. Not only the command but whatever i write to the OutputStream I get it back. Please tell me where I am going wrong.
I followed the example from here http://java.sun.com/developer/Books/javaprogramming/cookbook/11.pdf.
I am new to java communication API so need to know why COM3 is echoing back the command instead of responding.
Here is my code:
package comm;
import gnu.io.*;
import gnu.io.CommPortIdentifier;
import gnu.io.ParallelPort;
import java.io.*;
import java.util.*;
import java.io.InputStreamReader;
public class Data {
    public static final int TIMEOUTSECONDS = 30;
    public static final int BAUD = 9600;
    protected boolean debug = true;
     private ParallelPort serialPort;
    private DataInputStream is;
    private PrintStream os;
    static String name;
     static CommPortIdentifier portId;
     static CommPort thePort;
   public static void main(String args[]) throws PortInUseException
            Data d=new Data();
    Enumeration portList = CommPortIdentifier.getPortIdentifiers();
        while(portList.hasMoreElements())
            portId = (CommPortIdentifier)portList.nextElement();
               System.out.println("Name is:"+portId.getName()+" "+"Owner-"+portId.isCurrentlyOwned() +" "+"TYPE -"+portId.getPortType() );
                name = portId.getName();
   if(portId.getPortType()== CommPortIdentifier.PORT_SERIAL)
    try
          portId=CommPortIdentifier.getPortIdentifier(name);
        thePort = portId.open("DarwinSys DataComm",
          TIMEOUTSECONDS * 1000);
     SerialPort myPort = (SerialPort) thePort;
     myPort.setSerialPortParams(BAUD, SerialPort.DATABITS_8,
      SerialPort.STOPBITS_1, SerialPort.PARITY_NONE);
        } catch(Exception e)
        e.printStackTrace();
    try {
d.is = new DataInputStream(thePort.getInputStream());
d.os = new PrintStream(thePort.getOutputStream(), true);
d.os.print("ATZ");
d.os.print("\r\n");
String response = d.is.readLine();
System.out.println("Response on port:"+""+name+": "+response+""+"OwnedBy--"+portId.getCurrentOwner());
catch(Exception e)
{e.printStackTrace();}
}thanks for you help in advance
regards
Protozoa
Edited by: protozoa on Aug 20, 2008 4:01 AM

Hi,
Just an update on the previous post, when I sent "ATE0" it stopped echoing. BUT when I send another command it sends back null now.
here is the updated code:
d.os.print("ATE0");
Thread.currentThread().sleep(500);
d.os.print("ATZ");
Thread.currentThread().sleep(500);
d.os.print("\r\n");
String response = d.is.readLine();
System.out.println("Response on port:"+""+portId.getName()+": "+response+""+"OwnedBy--"+portId.getCurrentOwner());If I only send "ATE0" nothing is displayed, but when I sent "ATZ" next it retruns null.
regards
Protozoa

Similar Messages

  • I just updated my latest java but the update is causing problems with some externale devices. So i would like to uninstall this latest java update and get back the previous one. That should solve to problems with my external device

    i just updated my latest java but the update is causing problems with some external devices. So i would like to uninstall this latest java update and get back the previous one. That should solve to problems with my external device.
    Is this possible and how do i do that?
    Anyone who responds thanks for that!
    Juko
    I am running
    Hardware Overview:
      Model Name:          Mac Pro
      Model Identifier:          MacPro1,1
      Processor Name:          Dual-Core Intel Xeon
      Processor Speed:          2,66 GHz
      Number of Processors:          2
      Total Number of Cores:          4
      L2 Cache (per Processor):          4 MB
      Memory:          6 GB
      Bus Speed:          1,33 GHz
      Boot ROM Version:          MP11.005D.B00
      SMC Version (system):          1.7f10
      Serial Number (system):          CK7XXXXXXGP
      Hardware UUID:          00000000-0000-1000-8000-0017F20F82F0
    System Software Overview:
      System Version:          Mac OS X 10.7.5 (11G63)
      Kernel Version:          Darwin 11.4.2
      Boot Volume:          Macintosh HD(2)
      Boot Mode:          Normal
      Computer Name:          Mac Pro van Juko de Vries
      User Name:          Juko de Vries (jukodevries)
      Secure Virtual Memory:          Enabled
      64-bit Kernel and Extensions:          No
      Time since boot:          11 days 20:39
    Message was edited by Host

    Java 6 you can't as Apple maintains it, and Java 7 you could if you uninstall it and Oracle provides the earlier version which they likely won't his last update fixed 37 remote exploits.
    Java broken some software here and there, all you'll have to do is wait for a update from the other parties.

  • Java Communication Error - WAD

    Hi
    I get a 'Java Communication Error - Error when opening RFC Connection' when I save or try to execute my web template.
    Any help how to fix this problem...

    Summary
    Symptom
    You are using SAP Netweaver 2004s Web Application Designer.
    An operation that you want to perform is answered by a popup saying:
    "Error during RFC communication (subrc = ...)", followed by the a certain
    function name and in most cases an information that the portal or java
    communication has failed. The message usually has the message class
    RSBOLAP, numbers are 15, 17, 18.
    This may occur during an operation like Save Template, Load Template,
    Validate Template on Server, Load Reusable Web Item, Save Reusable Web
    Item, Get Valuehelp, Execute Template in Portal, Publish Template to...,
    Download of Metadata, and others.
    All of these operations use functionality from the Java Server in some way
    or the other, so they require a valid connection.
    Function modules that may be mentioned in the error message (the list is
    not complete) are:
    RZX2_BTMP_SET, RZX2_BTMP_GET, RZX2_BITM_SET, RZX2_BITM_GET,
    RSWAD_WEBPUB_CALL_SERVICE, RZX2_MIG3X70_DATA_GET, RSWAD_METADATA_GET,
    RSWAD_TEMPLATE_SERVICES, RSWAD_PF_WEBPUBGETVH, ...
    This note also applies if you for example change a Web Template, save it,
    and the changes do not seem to be reflected when executing the Template
    again.
    More Terms
    Setup, RSBOLAP015, RSBOLAP017, RSBOLABP18, RSBOLAP, 015, 017, 018, 15, 17,
    18
    Cause and Prerequisites
    The Web Application Designer needs an active and valid Portal connection
    for most of its operations. It can not be used without being connected to a
    BI backend system (Netweaver BI Server).
    Additionally, the connectivity Java->ABAP and ABAP->Java has to work for
    the user currently logged on.
    The usual communication flow is like this:
    1. The frontend calls for a service on the Netweaver Server.
    2. The call first meets the ABAP server.
    3. The call is processed in the ABAP server as far as possible, and then
    (if necessary) forwarded to the Java server.
    4. The Java server processes the call as far as possible, and if
    necessary calls another service functionality on the ABAP server.
    5. The result is sent back on exactly the same way that it has arrived
    25.01.2007 Page 2 of 3
    SAP Note Number 916090
    RFC-error messages in Web Application Designer 2004s
    (in the most complex scenario: ABAP back to Java, then back to ABAP,
    and then back to the frontend).
    So if either the call from ABAP to Java fails, or the later call Java back
    to ABAP does not work, an RFC-error occurs, leading to the error message in
    the frontend.
    Solution
    This is not an error in the Web Application Designer.
    When such an RFC-connection error occurs, the call from the Web Application
    Designer frontend to the backend has not worked or not received a result.
    In most cases, this means that the requested operation could not be
    performed.
    It may be that only the current call has failed, while the connectivity in
    general is set up correctly. This may be for example, if the maximum number
    of concurrent connections for the Portal is reached at the moment.
    For that reason, please wait a few moments or minutes, and try again to see
    whether the operation can be performed then.
    In most cases, however, the connectivity is not properly configured, so the
    call will not return a result also during the second and all following
    tries.
    In that case please ask your system administrator to set up the ABAP->JAVA
    and JAVA->ABAP connectivity in a valid way (at least for your user...).
    Please use note 888687 and 917950 (and their related notes) for the task.
    If you do not succeed, please make sure to provide all the information
    requested in these notes in your message. Otherwise an efficient message
    processing is not possible, postponing the solution unnecessarily.
    Header Data
    Release Status: Released for Customer
    Released on: 27.02.2006 11:11:38
    Priority: Recommendations/additional info
    Category: Consulting
    Main Component BW-BEX-ET-WEB-AD WEB Application Designer (Publishing)
    Additional Components:
    BW-BEX Business Explorer
    BW-BEX-ET Enduser Technology
    BW-BEX-ET-WEB BEx Web ABAP Runtime
    BW-BEX-ET-WEB-RT WEB Run Time
    Valid Releases
    25.01.2007 Page 3 of 3
    SAP Note Number 916090
    RFC-error messages in Web Application Designer 2004s
    Software Component Release From
    Release
    To Release and
    Subsequent
    SAP_BW 70 700 700
    SAP_BW 710 710 710
    Related Notes
    Number Short Text
    953109 RSPOR_SETUP: "Option Unicode flag is not set (ABAP is Unicod
    917950 SAP NetWeaver 2004s: Setting Up BEx Web
    888687 BEx Web Java: Analysis of communication/logon problems
    Attributes
    Attribute Value
    weitere Komponenten 0000000050
    weitere Komponenten 0000030974
    weitere Komponenten 0000032291
    weitere Komponenten 0000034475

  • How to call plsql procedure or function and getting back the string?

    Hi Everyone,
    i am using Jdev 11.1.1.5.0.
    i have a requirement to call plsql procedure or function from my backing bean java file and get back the returned value from the procedure or function.
    what piece of simple code i need to write in my backing bean?
    please suggest.
    Thanks.

    As always you write the method to call he pl/sql in the application module, expose this method to the client (so you see it in the datacontroll) then create a operation binding to the method and call this operation from the bean. The result you get by operation.getResult();
    You should never call pl/sql from the bean directly!
    The doc shows how to call the procedure from an application module: http://docs.oracle.com/cd/E21764_01/web.1111/b31974/bcadvgen.htm#sm0297
    Timo

  • How to output instructions to the command line?

    How can I make my java program give instructions to the command line, eg to execute programs with command line parameters?

    How can I make my java program give instructions to the command line, eg to execute programs with command line parameters? well you can execute the instruction directly not even going(piping through) to commandline.
    try{
    String command = "ls"; // for windows for example String command = "notepad";
    Process execCommand = Runtime.getRuntime().exec(command);
    // now if you want to pass parameters along with the  command use this
    String command2 ="ls /tmp" ; //respectively for windows
    // if there are many arguments which needs spaces then use
    String [] longCommand = new String[]{"find","whatever","path"}; // here find is the command and rest two are desired arguments.
    // now if you want to read the output from command line
    InputStream in = execCommand.getInputStream();
    int c;
    while ((c=in.read())!= -1)
    // process c the way you want
    } catch(IOException io)
    {}Edited by: KillerDev on Nov 2, 2008 12:00 AM

  • Switching my output stream back to the command prompt

    Hi there,
    I was just wondering if anybody could tell me how I can switch back to printing lines in the command prompt after I've set the output stream to a text file.
    jjmclell

    ok, I started by changing the output stream to a text file as follows:
    String path = ("C:/JFiles/Harvest/");
    String filename = path + "Stand_ages.txt";
    System.out.println("Using file: " + filename);
    File file = new File(filename);
    FileOutputStream fos = new FileOutputStream(file);
    PrintStream ps = new PrintStream(fos);
    System.setOut(ps);
    This works fine. However, I'd also like to create other text files for other results from my program. I was able to do this, but what I can't do is get Java to print anything on the screen once I've started to print to text files. All I want is the location of the file to pop up for each of the text files that I create:
    System.out.println("Using file: " + filename);
    I tried this but it didn't work:
    String path2 = ("C:/JFiles/Harvest/");
    String filename2 = path2 + "Harvest_targets.txt";
    PrintStream ps2 = System.out;
    System.setOut(ps2);
    System.out.println("Using file: " + filename2);
    File file2 = new File(filename2);
    FileOutputStream fos2 = new FileOutputStream(file2);
    PrintStream ps3 = new PrintStream(fos2);
    System.setOut(ps3);
    What I wanted to do was briefly switch the output stream back to the command prompt just to print the one line and then switch back to printing to a text file. However, in my code, System.out.println("Using file: " + filename2); is just printing to the text file that I'm creating instead of showing up on the command prompt.
    Any help?
    jjmclell

  • Is it possible to run a java program without using the command prompt?

    Hi,
    I was wondering whether it is possible to run a Java program (not an applet) without using a command line in the command prompt?
    Basically I want to run a program that will be continually running in the background and hence I don't want to have a command prompt screen loaded up as well - I just want the program to be running in the task bar.
    I know how to run the program in the task bar - but I still need to launch the program from the command prompt - is there anyway I can get a program running without having to start it from the command prompt?
    Cheers

    Or create a desktop shortcut (in Windows) or an application launcher ( in Linux GUI).

  • Help required - running a Java program from the command line

    Hi,
    I have a small non-graphical Java application, packaged into a Jar file. My program relies on classes in another (external) Jar file.
    When I run the application from the IDE, everything works fine. However, when I try to run the application from the command line, I keep getting a NoClassDefFoundError for classes in the external jar.
    Both the application jar file and the external jar file are in my root directory (C:\).
    My command line call is as follows:
    java -cp c:MyExternalLib.jar -jar MyApp.jar
    Any help greatly appreciated.
    Thanks,
    Walter

    hi,
    set classpath=%classpath%;c:\myjar.jar;
    here i have specified myjar.jar file as an example u give ur location.after setting the classpath run ur java application.
    java mypgm
    this will solve ur problem
    regards,
    Ganesh

  • Problem with running a java program from the command line

    I have this code:
    package pkg;
    import jxl.*;
    import java.io.File;
    public class TestClass {
         public static void main(String[] args) {
              try{
                   Workbook book = Workbook.getWorkbook(new File("d:/testWorkspace/excFile.xls"));
                   Sheet sheet = book.getSheet(0);
                   String s=sheet.getCell(4, 2).getContents();
                   System.out.println(s);     
              }catch (Exception e){System.err.println(e);}
    }I've wrote it in Eclipse, added jxl.jar to the buildpath, and it works fine.
    Then I tried to run it from the command line and I did it like this:
    D:\testWorkspace\testProject\bin> java -cp \jxl.jar pkg.TestClassThe result was:
    Exception in thread "main" java.lang.NoClassDefFoundError: pkg/TestClass
    Caused by: java.lang.ClassNotFoundException: pkg.TestClass
    ...but the file TestClass.class DOES exist in the folder d:\testWorkspace\testProject\bin\pkg\ and the file jxl.jar IS on the root of drive D (like I already wrote, it worked fine inside the Eclipse).
    So, my question is: How to run this code from the command line?
    I have no idea what went wrong.
    Can someone help me, please?

    The current directory is not implied in the classpath.
    D:\testWorkspace\testProject\bin> java -cp .;d:\ pkg.TestClassor
    D:\testWorkspace\testProject\bin> java -cp .;d:\jxl.jar pkg.TestClassI always forget which is right since I never work with jars...

  • Testing Java Concurrent Program on the command line in Windows

    I'm using the suggestions in:
    http://blogs.oracle.com/xmlpublisher/2007/05/02
    to test my Java concurrent program on the command line. Our production environment is running on Unix. I've been able to test it successfully on the Unix environment from the command line. However, it fails when I try to test it on the Windows command line with the following stack trace:
    Exception in static block of jtf.cache.CacheManager. Stack trace is: oracle.apps
    .jtf.base.resources.FrameworkException: IAS Cache initialization failed
    at oracle.apps.jtf.cache.IASCacheProvider.init(IASCacheProvider.java:225
    at oracle.apps.jtf.cache.CacheManager.activateCache(CacheManager.java:14
    44)
    at oracle.apps.jtf.cache.CacheManager.initCache(CacheManager.java:752)
    at oracle.apps.jtf.cache.CacheManager.<clinit>(CacheManager.java:378)
    at oracle.apps.fnd.cache.Cache.setCacheFullName(Cache.java:228)
    at oracle.apps.fnd.cache.Cache.initCache(Cache.java:114)
    at oracle.apps.fnd.cache.Cache.<init>(Cache.java:89)
    at oracle.apps.fnd.cache.AppsCache.<init>(AppsCache.java:86)
    at oracle.apps.fnd.cache.AolCaches.getCache(AolCaches.java:155)
    at oracle.apps.fnd.profiles.Profiles.<clinit>(Profiles.java:241)
    at oracle.apps.fnd.profiles.ExtendedProfileStore.init(ExtendedProfileSto
    re.java:498)
    at oracle.apps.fnd.profiles.ExtendedProfileStore.<init>(ExtendedProfileS
    tore.java:119)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    orAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
    onstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at oracle.apps.fnd.common.AppsContext.instantiateProfileStore(AppsContex
    t.java:4312)
    at oracle.apps.fnd.common.AppsContext.makeProfileStore(AppsContext.java:
    1171)
    at oracle.apps.fnd.common.Context.setProfileStore(Context.java:970)
    at oracle.apps.fnd.common.Context.setProfileStore(Context.java:952)
    at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java
    :958)
    at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java
    :918)
    at oracle.apps.fnd.common.AppsContext.<init>(AppsContext.java:752)
    at oracle.apps.fnd.cp.request.CpContext.<init>(CpContext.java:141)
    at oracle.apps.fnd.cp.request.CpContext.<init>(CpContext.java:124)
    at oracle.apps.fnd.cp.request.Run.main(Run.java:127)
    Caused by: oracle.apps.jtf.base.resources.FrameworkException: null
    null
    CacheDefaultConfig.properties (The system cannot find the file specified)
    at oracle.apps.jtf.base.resources.FrameworkException.convertException(Fr
    ameworkException.java:607)
    at oracle.apps.jtf.base.resources.FrameworkException.addException(Framew
    orkException.java:585)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkExc
    eption.java:66)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkExc
    eption.java:88)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkExc
    eption.java:202)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkExc
    eption.java:218)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkExc
    eption.java:249)
    ... 26 more
    Exception in thread "main" oracle.adf.mds.exception.MDSRuntimeException: Cache n
    ot initialized
    at oracle.apps.fnd.framework.mds.cache.ATGCacheMgrDelegateImpl.<init>(AT
    GCacheMgrDelegateImpl.java:325)
    at oracle.apps.fnd.framework.mds.cache.ATGCacheFactoryImpl.<init>(ATGCac
    heFactoryImpl.java:44)
    at oracle.apps.fnd.cp.request.CpContext.getMDSContext(CpContext.java:116
    9)
    at oracle.apps.fnd.cp.request.Run.main(Run.java:130)
    I've put the appsborg2.zip file in my classpath. I've also copied the entire (1 GB) worth of Java .class files for Oracle apps onto my computer and placed it on my classpath. Is there something that prevents me from testing out my Java concurrent program on my Windows machine from the command line?

    i think if u run the ap in the command line then it has to stay open, you could try writing a .bat file then when that is executed it will only open the command line for the program execution (i think)

  • In Lion the command to back up library to disc has been removed? How do I do this now?

    In Lion the command to back up library to disc has been removed? How do I do this now? Apple Support has given me a case number and accelerated it with a call back in a few days, and even the techs were surprised by the removal of the ability to incrementally back up to any kind of disc any items added to the iTunes Library since it's last back up.
    While this command was in all previous iterations of iTunes, even most of the techs are working from iTunes 10.3, the Lion version has this removed. Help only mentions Time Machine as the back up method. Sorry, I've had too many hard drives go bad, and not one DVD or CD has failed when I needed to retrieve a past purchase or addition of any kind to the iTunes library.
    Purchasing from the iTunes store just got less viable, IMHO.

    Dave-
    Thanks for the feedback. Those nasty old deprecated features, eh? Seems you are correct that it will now be a third party solution.
    I just finished chatting with Mike Bombich about using his Carbon Copy Cloner 3.4.1 ( http://www.bombich.com/index.html ) to do the job.
    He gave me a rough outline of how to set it up for incremental back up of iTunes ~/Music/iTunes or
    ~/Music/iTunes Music. Creating filters ( http://help.bombich.com/kb/explore/excluding-files-and-folders-from-a-backup-tas k#creating ) tells how to create and save different tasks.
    I'l check it out and report back shortly.

  • The command oracg fails to generate Java source files

    I tried to use the command 'oracg -schema Openshipments.xdr' to generate Java source files from
    XML schema file Openshipments.xdr . Although the schema file is valid, the command oracg fails with following error messages :
    file:/D:/romel/project/UPS/doc/Openshipments.xdr<Line 6, Column 47>:
    XSD-2026: (Error) Invalid attribute 'name' in element 'element'
    file:/D:/romel/project/UPS/doc/Openshipments.xdr<Line 6, Column 47>:
    XSD-2030: (Error) Element 'schema' has invalid namespace:
    'urn:schemas-microsoft-com:xml-data'
    file:/D:/romel/project/UPS/doc/Openshipments.xdr<Line 6, Column 47>:
    XSD-2027: (Error) Invalid element 'ElementType' in 'schema'
    file:/D:/romel/project/UPS/doc/Openshipments.xdr<Line 6, Column 47>:
    XSD-2027: (Error) Invalid element 'ElementType' in
    'schema'file:/D:/romel/project/UPS/doc/Openshipments.xdr<Line 6, Column
    47>: XSD-2027: (Error) Invalid element 'ElementType' in 'schema'
    file:/D:/romel/project/UPS/doc/Openshipments.xdr<Line 6, Column 47>:
    XSD-2027: (Error) Invalid element 'ElementType' in 'schema'
    file:/D:/romel/project/UPS/doc/Openshipments.xdr<Line 6, Column 47>:
    XSD-2027: (Error) Invalid element 'ElementType' in 'schema'
    file:/D:/romel/project/UPS/doc/Openshipments.xdr<Line 6, Column 47>:
    XSD-2027: (Error) Invalid element 'ElementType' in
    'schema'file:/D:/romel/project/UPS/doc/Openshipments.xdr<Line 6, Column
    47>: XSD-2027: (Error) Invalid element 'ElementType' in 'schema'
    file:/D:/romel/project/UPS/doc/Openshipments.xdr<Line 6, Column 47>:
    XSD-2027: (Error) Invalid element 'ElementType' in 'schema'
    ...... the above line is repeated many times
    Error: Schema Class Generator failed to generate classes.
    oracle.xml.parser.schema.XSDException: Invalid attribute 'name' in
    element 'element'

    Your schema is not a valid XML Schema. Please check up with the syntax.
    Thanks.

  • I accidently deleted my url box at the top of safari. I believe I did this with the command key. Can anyone help me get it back? Thank you in advance!

    I accidently deleted my url box at the top of safari. I believe I did this with the command key. Can anyone help me get it back? Thank you in advance!

    Right click (cntl-click) on the top of the bar and select "customize toolbar".  Drag the default set back in.
    Regards,
    Captfred

  • Didnt get the command back after startWebLogic.sh

    Hello,
    after i start weblogic server i dont get the command back.
    It looks like below. And if i close my terminal the server will shutdown. Is this normal ??
    Thanks for ur help .
    FUSION mode detected, skipping all update logic
    CSSSystemFactory: creation FusionSystem
    Calling FusionSystem.getInstance
    FusionProvider BIPlatformProvider security version 2
    FUSION mode detected, skipping all update logic
    CSSSystemFactory: creation FusionSystem
    Calling FusionSystem.getInstance
    FusionProvider BIPlatformProvider security version 2
    Mode: Fusion read from Registry
    HRContextListener::contextInitialized
    CSSSystemFactory: creation FusionSystem
    Calling FusionSystem.getInstance
    FusionProvider BIPlatformProvider security version 2
    <Nov 5, 2013 11:10:56 AM CET> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
    <Nov 5, 2013 11:10:56 AM CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <Nov 5, 2013 11:10:56 AM CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <Nov 5, 2013 11:10:56 AM CET> <Warning> <Server> <BEA-002611> <Hostname "localhost", maps to multiple IP addresses: 127.0.0.1, 0:0:0:0:0:0:0:1>
    <Nov 5, 2013 11:10:56 AM CET> <Notice> <Server> <BEA-002613> <Channel "Default[3]" is now listening on 127.0.0.2:7001 for protocols iiop, t3, ldap, snmp, http.>
    <Nov 5, 2013 11:10:56 AM CET> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 10.215.205.5:7001 for protocols iiop, t3, ldap, snmp, http.>
    <Nov 5, 2013 11:10:56 AM CET> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on fe80:0:0:0:250:56ff:fea4:5472:7001 for protocols iiop, t3, ldap, snmp, http.>
    <Nov 5, 2013 11:10:56 AM CET> <Notice> <Server> <BEA-002613> <Channel "Default[4]" is now listening on 0:0:0:0:0:0:0:1:7001 for protocols iiop, t3, ldap, snmp, http.>
    <Nov 5, 2013 11:10:56 AM CET> <Notice> <Server> <BEA-002613> <Channel "Default[2]" is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, http.>
    <Nov 5, 2013 11:10:56 AM CET> <Notice> <WebLogicServer> <BEA-000329> <Started WebLogic Admin Server "AdminServer" for domain "bifoundation_domain" running in Production Mode>
    <Nov 5, 2013 11:10:57 AM CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <Nov 5, 2013 11:10:57 AM CET> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>

    Hi,
    Yes this is normal.
    when you start the service it will end with running mode only..
    If you close the command automaticaly it will shutdown the services all.
    http://mkashu.blogspot.com
    regards,
    VG

  • Interfacing Java with the command prompt

    Hi everyone,
    I'm very new to java and wanted to see if anyone had any advice before i started getting too far into this project. I want to write a java program which allows the user to draw lines on the screen, and move them around, and then the program will compute the equations of these lines and feed them into another program to study the algebra behind the geometry.
    I've written an applet which is a start towards what I want: http://math.berkeley.edu/~aboocher/Mouse2.html but I'm encountering problems since it seems very difficult to have an applet write to a file, so I started trying to just create a self-contained java program. Before I move further I was hoping someone could point me in the right direction.
    Ultimately I would like a window where the user can draw some geometric objects and the computer will write the equations to a file and then when I click "compute" say, it will run my other program (which can be done from the command line) and display "true or false"
    In case it matters, I'm on a Mac and the exterior program is called Macaulay 2.
    Thanks for your help!

    That seems highly reasonable.
    If your going to be writing to a file, it would probably be a better approach to create an application.
    As for the arithmetic part of it, you'll want to save the points that the lines dropped, to use for future calculations. Using arrays would probably be a good idea.
    You'll also want to reduce the flickering problem with your applet on the website you linked to. Maybe double buffer? Along with using arrays to recall previous lines

Maybe you are looking for

  • Questions in Ad Hoc Query & How to Configure the EEO standard reports

    Hi all,   I have a  question in Ad hoc query report in HR. <b>How to:</b> Get a list of the total number of employees included in a particular report at the end of the report. Ex: If i create and run a report for salaried employees, sorted out by com

  • Home Media experience for the whole family

    I'm new to using iTunes. I just recently got an iPhone 4s and even more recently; an iPad. I live in my house with my wife and 3 children.  We all have iPhones and iPads. I think everyone already has their own Apple ID account. I have a home wifi net

  • Adobe Edge Animate CC (previous versions too) keep crashing when opening OS X file panels

    Hello there, Edge Animate CC crashes almost 30% of the time it opens a standard file OS X window (such as Open, Save, etc). It's a nightmare as you never know if your project is going to be saved or killed... I had the same exact problem in previous

  • Photoshop CS2 is not recognizing my install

    I am getting this message below, I know the key i put in is accurate as the progam loaded...Anythoughts?: "Your Photoshop user name, organization or serial number is missing or invalid. The application cannot continue and must close now." bradley

  • Need to load data from source .CSV files to oracle target database.

    Hi, This is the my scenario I have .CSV files in ftp folder and need to load the data into target tables. For that i need to create package and load the data into daily basis. But some time .csv file name will vary daily basis. can you any one sugges