Windoe application

hi
i am new to java technology. Ii create a java programme that store the result in a text file.i want this output in a window with color display.can any body help me???
thanks

thanks ,
but how i display the output string in window i.e. sending o/p to window text field, instead of o/p text file.
for better understanding to my problem i am sending code
import java.io.* ;
import java.util.*;
import java.lang.*;
public class NswDemo {
public static void main (String args []) throws Exception
File f = new File("data.txt");
FileInputStream fis = new FileInputStream(f);
BufferedInputStream bis = new BufferedInputStream(fis);
BufferedReader dis = new BufferedReader (new InputStreamReader(bis));
String s ;
FileOutputStream out= new FileOutputStream("output nsw.txt");
PrintStream p = new PrintStream( out );
while ( (s =dis.readLine()) != null )
p.println ("Input Line:->" + s );
StringTokenizer st = new StringTokenizer(s);
while (st.hasMoreTokens())
String so = st.nextToken();
System.out.println (so);
int l =so.length();
System.out.println(l);
for(int i=1;i<4;i++)
switch(i)
case 1:
for(int j=0;j<l;j++)
     {char c = so.charAt(j);
                   if(Character.isDigit(c))
                    {System.out.println("Numeric NSW :" + so);
                     p.println ("Numeric NSW :" + so);
                     break;
     }break;
     case 2:
for(int j=1;j<l;j++)
     {char c = so.charAt(j);
                   if(Character.isUpperCase(c))
                   {System.out.println("Alphabetic NSW :" + so);
                    p.println ("Alphabetic NSW :" + so);
                   }break;
     }break;
case 3:
for(int j=0;j<l;j++)
     label1:{
          char c = so.charAt(j);
     label2:{
          while(j==(l-1))
               if(c==',')
                    break label1;
     else if(c!=',')
          break label2;
          boolean b;
b = Character.isLetterOrDigit(c);
     if(b==false)
          System.out.println("Other Type NSW :" + so);
     p.println ("Other Type NSW :" + so);
     break;
     }break ;
dis.close();
p.close();

Similar Messages

  • Efi detects wrong resolution - osx crashes while loading loginwindow.app

    Hello,
    I have a strange problem: Sometimes EFI loads OS-X with wrong display resolution which ends into a crash of loginwindow.app.
    Let me explain it in more details: First I had a system with rEFIt. Everything worked like a charm ... until on some day (I think it was EFI Update 1.5.1, but I don't know it exacly) my mbp rev3 sometimes decided to show EFI menue much larger as you would expect it on a 640x480 display. This happens in about 3 of 4 boots. If this happened, OS-X crashed while loading loginwindo.app and Windows crashed before showing the windows loading screen.
    Then after talking with some guys in irc unofficial support I reinstalled everything because they said all my 3rd parity software could be the reason for this error. Now I have a fresh installed leopard and the error still occures - and the error also occures when I boot into leopard disc.
    *To describe the problem in a few words:*
    - EFI detects display resolution wrong in about 3/4 boots
    - loginwindow.app crashes if EFI detected resolution wrong
    - while crashing some strange artefacts are shown on grey apple screen / on verbose mode console, sometimes screen gets orange for about 0.1 sec before artefacts are shown
    *I tried following things to fix the problem:*
    - reset vram: no result
    - verbose mode: does not show anythingnew compared to right boot, after message "loginwindow.app is loading" "login windoe application started" i get some artefacts and the orange screen
    - single user mode: did't find something in logs, but I also didn't find an efi log
    - hardware diagnostics: says everything is right
    - Firmware Restoration CD: does not work because my mac seems to think that everything is right.
    - plug off all external usb devices: no effect
    Now I really don't know what to do, I don't even have an idea where to find this error and what to try next. The mbp is my only computer, so I would find it excellent to solve the problem for myself.
    Thanks for any help what to do
    Message was edited by: TheInfinity

    I'm not sure why you're password is wrong when you type it directly in your station, but I have found something related to remote logging.
    I had always gotten the password wrong when I tried to connect through VNC from my Linux to my Mac. The problem is that for some reason, my keyboard layout is applied twice. I'm using the colemak layout, so if I want to type 'K', I need to click on the key that is marked 'N' in QUWERTY keyboard.
    BUT, through VNC to my mac, if I want to type 'K', I need to type the key that is mapped to 'N' on colemak layout, which is the key marked 'J' in QUWERTY.
    So to type hello, through normal colemak, I would click on hkuu;, but through VNC to the mac, I need to click on hniip.
    Here's the map that can be used to generate the above:
    Qwerty -> Colemak
    k -> e
    n -> k
    j -> n
    e -> f
    h -> h
    u -> l
    ; -> o
    p -> ;
    i -> u
    My solution was to find out how my password should be typed with double-applied colemak, then after log in, change the keyboard layout to QWERTY, and then it is applied only once and I can type in normally. I'm not sure what's the cause of the bug, but at least you have something to try..

  • Windoes reports a NIMax error and closes the application when i try to open MAX

    Windoes reports a NIMax error and closes the application when i try to open MAX. It was fine just a couple of months before and i do not know why. I need to access the VIlogger for using my USB-6009 module.

    I wouldn't think this was a firewall problem - they tend to be better behaved than this. Before installing the new drivers, uninstall all the driver software, restart your computer and then attempt the install. If this doesn't work, uninstall all NI software - including LV - run a register cleaner like CCleaner, restart and reinstall everything. It THIS doesn't work, it's time to be talking to NI directly.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Playing back script in OpenScript with application which opens in ext windo

    Hi,
    I have to test an application which after log in a user opens an external window and works in this external window.
    There is now way to omitt loging.
    I recorded a script in open script and I tried to play it back, but there was fail before trying to open external window with application to test.
    I got the error:
    HTTP response code: 404 Not Found
    How can I solve this problem?
    Is there any possibility to put things from console to file?
    Thanks in advance,
    M
    Edited by: usermarta on 2009-02-05 01:50

    Hi,
    Symptoms:
    Got HTTP response code: 404 Not Found when playing back a script.
    Cause:
    The HTTP response code "404" means that the page was not found on the web server. Either the url is incorrect or goes to a resource that was moved, renamed, or doesn't exist on the server. In scripts this mostly happens when the url is dynamic, meaning, the url changes every time that the page is requested. It also could happen if a cookie or any another http header is missing or added, yet depending how the website was designed, this could give a different HTTP response code.
    Resolution:
    You may want to compare:
    the URL that is posted in the log when you playback the script
    vs.
    the URL of "the page that gives the HTTP code 404" when you do the steps of the script manually using Internet Explorer.
    If for some reason you don't see the URL of the external window when doing the process manually, right click anywhere inside the external window and select "Properties". If you can't right click on the window let me know and I will give you some tips. (This is because Internet Explorer 6 may not always show the URL, Internet Explorer 7 will always show it.)
    When comparing the URLs look for parts that may be dynamic. The parts that are dynamic are usually few letters and numbers that don't seam to mean an word or a phrase, for example: 7h8G5d.
    You can also determine if the URL is dynamic by doing the following:
    1) Open Internet Explorer and do the steps of the script manually up to the point where the HTTP code 404 is seen on the script
    2) Take note of the URL
    3) Open a new Internet Explorer window using the Quicklunch, Start Menu, or Desktop shortcut (not by using new Window or new tab because this would preserve session values)
    4) In the new window repeat the steps of the script manually as in step 1
    5) Take a note of the URL and compare it with the URL of step 2
    Differences between the URLs are the dynamic parts of the URL.
    It is also possible but less likely that the URL is different every time that the web application is re-built.
    Once you know what are the parts that are dynamic you will need to use variables or transformations in OpenScript to make the URL to vary accordingly. Please let me know if you need these steps.
    Regards,
    Zuriel
    btw: There is no way to "put things from console to file". I made the feature request for you. Probably you will see it in a future release.
    For you and everybody, please feel free to post anything that you feel that the tool should have or should be better. This makes the product better for you and for others. I can guarantee that you will be heard by posting in this forum, what I cannot guarantee is that each of them will be implemented.

  • I've tried updating and reinstalling itunes 10.6 everythime i try to open it it comes up with "Apple application support not found. apple application support is required to run itunes. please uninstall , and install itunes. error 2 (windoes error 2)

    i've bought an iphone and it said i needed to update itunes to 10.5 or higher so i tried to update. it didn't workso i uninstalled and reinstalled different versions of itunes between 10.5 and 10.6 but it either wouldn't install properly or it would then i would come up with this warning. "Apple Application Support. Apple Appliction Support is required to run iTunes. Please uninstall itunes, then install itunes again. Error 2 (windows error 2). i've uninstalled and reinstalled multiple times.
    please help.

    Let's try a standalone Apple Application Support install. It still might not install, but fingers crossed any error messages will give us a better idea of the underlying cause of the issue.
    Download and save a copy of the iTunesSetup.exe (or iTunes64setup.exe) installer file to your hard drive:
    http://www.apple.com/itunes/download/
    Download and install the free trial version of WinRAR:
    http://www.rarlab.com/
    Right-click the iTunesSetup.exe (or iTunes64Setup.exe), and select "Extract to iTunesSetup" (or "Extract to iTunes64Setup"). WinRAR will expand the contents of the file into a folder called "iTunesSetup" (or "iTunes64Setup").
    Go into the folder and doubleclick the AppleApplicationSupport.msi to do a standalone AAS install.
    Does it install properly for you? If so, does iTunes launch properly now?
    If instead you get an error message during the install, let us know what it says. (Precise text, please.)

  • This installation package could not be opened, verify that the package exists and that you can access it, or contact the application vendor to verify that this is a valid windows installer package

    I have tried and tried to install itunes on my mums zoostorm windows 7 64-bit pc and it comes up with this message "this installation package could not be opened, verify that the package exists and that you can access it, or contact the application vendor to verify that this is a valid windows installer package" i have tried everything that i have been told to do and nothing has worked but then i try to install it on her toshiba satellite pro windows 7 32-bit as she reset it back to factor settings she has done ALL updates she had itunes on her laptop before but when we went to install it back on the laptop it cam up with the same message as it did on the pc i would really like it if someone can please help with this problem as i am getting so annoyed with it. I have a zoostorm windos 7 32-bit laptop and i have reset that bk to factory settings and i installed itunes on there with no problems so a soultion would be really great.
    Many thanks Donna

    I'd first try downloading an installer from the Apple website using a different web browser:
    http://www.apple.com/quicktime/download/
    If you use Firefox instead of IE for the download (or vice versa), do you get a working installer?

  • How to add a JMenubar and a JTable in a JFrame in a single application

    Hi all,
    I require an urgent help from you.I am a beginer in programming Swing.I want to add a menu,combobox,and a table in a single application.I did coding as below:
    package com.BSS;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.table.*;
    import javax.swing.border.*;
    import javax.swing.event.*;
    public class newssa extends JFrame
         public JMenuBar menuBar;
         public JToolBar toolBar;
         public JFrame frame;
         private JLabel jLabel1;
         private JLabel jLabel2;
         private JLabel jLabel3;
         private JLabel jLabel4;
         private JLabel jLabel5;
         private JLabel jLabel6;
         private JComboBox jComboBox1;
         private JComboBox jComboBox2;
         private JComboBox jComboBox3;
         private JComboBox jComboBox4;
         private JComboBox jComboBox5;
         private JComboBox jComboBox6;
         private JTable jTable1;
         private JScrollPane jScrollPane1;
         private JPanel contentPane;
         public newssa()
              super();
              initializeComponent();
              this.setVisible(true);
         private void initializeComponent()
              jLabel1 = new JLabel();
              jLabel2 = new JLabel();
              jLabel3 = new JLabel();
              jLabel4 = new JLabel();
              jLabel5 = new JLabel();
              jLabel6 = new JLabel();
              jComboBox1 = new JComboBox();
              jComboBox2 = new JComboBox();
              jComboBox3 = new JComboBox();
              jComboBox4 = new JComboBox();
              jComboBox5 = new JComboBox();
              jComboBox6 = new JComboBox();
              frame=new JFrame();
              //Included here
              JMenuBar menuBar = new JMenuBar();
              JMenu general = new JMenu("General");
         menuBar.add(general);
         JMenu actions =new JMenu("Actions");
         menuBar.add(actions);
         JMenu view=new JMenu("View");
         menuBar.add(view);
         JMenu Timescale=new JMenu("TimeScale");
         menuBar.add(Timescale);
         Timescale.add("Today CTRL+D");
         Timescale.add("Current Week CTRL+W");
         Timescale.add("Current Month CTRL+M");
         Timescale.add("Current Quarter CTRL+Q");
         Timescale.add("Current Year CTRL+Y");
         Timescale.add("Custom TimeScale CTRL+U");
         JMenu start=new JMenu("Start");
         menuBar.add(start);
         JMenu options=new JMenu("Options");
         menuBar.add(options);
         JMenu help=new JMenu("Help");
         menuBar.add(help);
         JFrame.setDefaultLookAndFeelDecorated(true);
         frame.setJMenuBar(menuBar);
         frame.pack();
         frame.setVisible(true);
         toolBar = new JToolBar("Formatting");
         toolBar.addSeparator();
              //Before this included new
              String columnNames[] = { "ColorStatus", "Flash", "Service Order","Configuration","Configuration Description"};
              // Create some data
              String dataValues[][] =
                   { "blue", "flash", "ORT001" },
                   { "AVCONF", "av configuration with warrenty"}
              // Create a new table instance
              //jTable1 = new JTable( dataValues, columnNames );
              jTable1 = new JTable(dataValues,columnNames);
              jScrollPane1 = new JScrollPane(jTable1);
              contentPane = (JPanel)this.getContentPane();
              //scrollPane = new JScrollPane( table );
              //topPanel.add( scrollPane, BorderLayout.CENTER );
              // jLabel1
              jLabel1.setText("Service Centers");
              // jLabel2
              jLabel2.setText("Service Areas");
              // jLabel4
              jLabel3.setText("Skills");
              jLabel4.setText("Availablity Types");
              // jLabel5
              jLabel5.setText("From Date");
              // jLabel6
              jLabel6.setText("To");
              // jComboBox1
              jComboBox1.addItem("Coimbatore");
              jComboBox1.addItem("Chennai");
              jComboBox1.addItem("Mumbai");
              jComboBox1.addItem("New Delhi");
              jComboBox1.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e)
                        jComboBox1_actionPerformed(e);
              // jComboBox2
              jComboBox2.addItem("North Zone");
              jComboBox2.addItem("South Zone");
              jComboBox2.addItem("Central Zone");
              jComboBox2.addItem("Eastern Zone");
              jComboBox2.addItem("Western Zone");
              jComboBox2.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e)
                        jComboBox2_actionPerformed(e);
              // jComboBox3
              jComboBox3.addItem("Microsoft Components");
              jComboBox3.addItem("Java Technologies");
              jComboBox3.addItem("ERP");
              jComboBox3.addItem("Others");
              jComboBox3.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e)
                        jComboBox3_actionPerformed(e);
              // jComboBox4
              jComboBox4.addItem("One");
              jComboBox4.addItem("Two");
              jComboBox4.addItem("Three");
              jComboBox4.addItem("Four");
              jComboBox4.addItem("Five");
              jComboBox4.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e)
                        jComboBox4_actionPerformed(e);
              // jComboBox5
              jComboBox5.addItem("12/12/2004");
              jComboBox5.addItem("13/12/2004");
              jComboBox5.addItem("14/12/2004");
              jComboBox5.setEditable(true);
              jComboBox5.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e)
                        jComboBox5_actionPerformed(e);
              // jComboBox6
              jComboBox6.addItem("12/11/2004");
              jComboBox6.addItem("13/11/2004");
              jComboBox6.addItem("14/11/2004");
              jComboBox6.setEditable(true);
              jComboBox6.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e)
                        jComboBox6_actionPerformed(e);
              // jTable1
              jTable1.setModel(new DefaultTableModel(4, 4));
              // jScrollPane1
              jScrollPane1.setViewportView(jTable1);
              // contentPane
              contentPane.setLayout(null);
              addComponent(contentPane, jLabel1, 2,29,84,18);
              addComponent(contentPane, jLabel2, 201,33,76,18);
              addComponent(contentPane, jLabel3, 384,32,59,18);
              addComponent(contentPane, jLabel4, 2,77,85,18);
              addComponent(contentPane, jLabel5, 197,79,84,18);
              addComponent(contentPane, jLabel6, 384,80,60,18);
              addComponent(contentPane, jComboBox1, 85,32,100,22);
              addComponent(contentPane, jComboBox2, 276,32,100,22);
              addComponent(contentPane, jComboBox3, 419,30,100,22);
              addComponent(contentPane, jComboBox4, 88,76,100,22);
              addComponent(contentPane, jComboBox5, 276,79,100,22);
              addComponent(contentPane, jComboBox6, 421,78,100,22);
              addComponent(contentPane, jScrollPane1, 33,158,504,170);
              // newssa
              this.setTitle("SSA Service Scheduler");
              this.setLocation(new Point(0, 0));
              this.setSize(new Dimension(560, 485));
         /** Add Component Without a Layout Manager (Absolute Positioning) */
         private void addComponent(Container container,Component c,int x,int y,int width,int height)
              c.setBounds(x,y,width,height);
              container.add(c);
         // TODO: Add any appropriate code in the following Event Handling Methods
         private void jComboBox1_actionPerformed(ActionEvent e)
              int index = jComboBox1.getSelectedIndex();
              switch(index)
                   case 0: System.out.println("Area Coimbatore Selected "); break;
                   case 1: System.out.println("Area Chennai selected"); break;
                   case 2: System.out.println("Mumbai being selected"); break;
                   case 3: System.out.println("New Delhi being selected"); break;
         private void jComboBox2_actionPerformed(ActionEvent e)
              int index = jComboBox2.getSelectedIndex();
              switch(index)
                   case 0: System.out.println("North Zone Selcted "); break;
                   case 1: System.out.println("South Zone being selected"); break;
                   case 2: System.out.println("Central Zone being selected"); break;
                   case 3: System.out.println("Eastern Zone being selected"); break;
                   case 4: System.out.println("Western Zone being selected"); break;
         private void jComboBox3_actionPerformed(ActionEvent e)
              int index = jComboBox3.getSelectedIndex();
              switch(index)
                   case 0: System.out.println("Microsoft Components being selected"); break;
                   case 1: System.out.println("Java Technologies being selected"); break;
                   case 2: System.out.println("ERP Tehnologies being selected"); break;
                   case 3: System.out.println("Other's selected"); break;
         private void jComboBox4_actionPerformed(ActionEvent e)
              int index = jComboBox4.getSelectedIndex();
              switch(index)
                   case 0: System.out.println("One selected"); break;
                   case 1: System.out.println("Two selected"); break;
                   case 2: System.out.println("Three selected"); break;
                   case 3: System.out.println("Four selected"); break;
                   case 4: System.out.println("Five selected"); break;
         private void jComboBox5_actionPerformed(ActionEvent e)
              int index = jComboBox5.getSelectedIndex();
              switch(index)
                   case 0: System.out.println("12/12/2004 being selected"); break;
                   case 1: System.out.println("13/12/2004 being selected"); break;
                   case 2: System.out.println("14/12/2004 being selected"); break;
         private void jComboBox6_actionPerformed(ActionEvent e)
              int index = jComboBox6.getSelectedIndex();
              switch(index)
                   case 0: System.out.println("12/11/2004 being selected"); break;
                   case 1: System.out.println("13/11/2004 being selected"); break;
                   case 2: System.out.println("14/11/2004 being selected"); break;
         public static void main(String[] args)
              newssa ssa=new newssa();
              //JFrame.setDefaultLookAndFeelDecorated(true);
              //JDialog.setDefaultLookAndFeelDecorated(true);
              //JFrame frame = new JFrame("SSA Service Scheduler");
    //frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    //frame.setJMenuBar(ssa.menuBar);
    //frame.getContentPane( ).add(ssa.toolBar, BorderLayout.NORTH);
    //frame.getContentPane( ).add(ssa.pane, BorderLayout.CENTER);
    //frame.pack( );
    //frame.setVisible(true);
              try
                   //UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
                   UIManager.setLookAndFeel("com.sun.java.swing.plaf.motif.MotifLookAndFeel");
              catch (Exception ex)
                   System.out.println("Failed loading L&F: ");
                   System.out.println(ex);
    But as a O/P ,I am getting menu in a seperate windos and the rest of the combobox and jtable in a seperate window.Kindly help me to solve the application.
    VERY URGENT PLEASE..
    Thanks in advance
    with kind regds
    Satheesh.K

    But did u mean this as the next problem,Which I will come across..Yes, the second setVisible(true) seemed to be producing a smaller frame behind the main frame.
    And your JMenuBar is declared twice, but not sure if this will affect the code - haven't read it all.

  • Adobe Application Manager won't update on Win 8.1 - cannot install apps

    Since updating this PC to Windows 8.1, the Adobe Application Manager which manages the Creative Cloud apps will not update itself, hence we cannot install or update CC apps (specifically, Acrobat).
    On clicking the download button on the Acrobat page of CC, the Adobe Application Manager starts to update itself, then quits with the error:
    We've encountered the following issues:
    Adobe Application Manager failed to install.
    [Quit]
    Repeated attempts fail.  We urgently need to admin several CC apps so to be forced to use the App Manager causes us substantial business interruption.
    /src Illuminant NYC

    Hi illuminantpartnersnyc ,
    Please close all the Adobe application, browsers running at the back and try to install again. If still the same error please follow the mentioned steps:
    1. Please navigate to C/Program Files(X86)/Common Files/Adobe/OOBE and rename to OOBE.old
         Please go to C/User/User Name/App date/Local/Adobe/OOBE and rename it to OOBE.old
         Log to to CC desktop: https://creative.adobe.com/products/creative-cloud and run as admin to install it.
    If still the same error then please enable hidden admin: http://www.eightforums.com/tutorials/9650-built-administrator-account-enable-disable-windo ws-8-a.html and try to install again from hidden admin account.
    Please review the log : http://helpx.adobe.com/creative-suite/kb/troubleshoot-install-logs-cs5-cs5.html if still the error persists.
    Regards,
    Romit Sinha

  • Problem in starting Sun Java System Application Server

    Hi,
    Recently I installed SJSAS 8.1 on my machine (Windoes 2000), before that I was working on SJSAS8.0 and it was working file. But with 8.1 when I try to "Start Default Server". I get the following error on the console:
    Starting Domain domain1, please wait.
    Log redirected to D:\netbeans-4.1beta\SunAppServer8.1\domains\domain1\logs\server.log.
    Timeout waiting for domain domain1 to go to starting state.
    CLI156 Could not start the domain domain1.
    Press any key to continue . . .
    The contents of server.log are:
    [#|2005-03-29T15:07:14.242+0530|INFO|sun-appserver-pe8.1|javax.enterprise.tools.launcher|_ThreadID=10;|
    D:/Java/jdk1.5\bin\java
    -client
    -Xmx512m
    -XX:NewRatio=2
    -Dcom.sun.aas.defaultLogFile=D:/netbeans-4.1beta/SunAppServer8.1/domains/domain1/logs/server.log
    -Djava.endorsed.dirs=D:/netbeans-4.1beta/SunAppServer8.1/lib/endorsed
    -Djava.security.policy=D:/netbeans-4.1beta/SunAppServer8.1/domains/domain1/config/server.policy
    -Djava.security.auth.login.config=D:/netbeans-4.1beta/SunAppServer8.1/domains/domain1/config/login.conf
    -Dsun.rmi.dgc.server.gcInterval=3600000
    -Dsun.rmi.dgc.client.gcInterval=3600000
    -Djavax.net.ssl.keyStore=D:/netbeans-4.1beta/SunAppServer8.1/domains/domain1/config/keystore.jks
    -Djavax.net.ssl.trustStore=D:/netbeans-4.1beta/SunAppServer8.1/domains/domain1/config/cacerts.jks
    -Djava.ext.dirs=D:/Java/jdk1.5/jre/lib/ext;D:/netbeans-4.1beta/SunAppServer8.1/domains/domain1/lib/ext
    -Djdbc.drivers=com.pointbase.jdbc.jdbcUniversalDriver
    -Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
    -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
    -Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
    -Dcom.sun.enterprise.taglisteners=jsf-impl.jar
    -Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl
    -Dcom.sun.aas.configName=server-config
    -Dorg.xml.sax.parser=org.xml.sax.helpers.XMLReaderAdapter
    -Ddomain.name=domain1
    -Djmx.invoke.getters=true
    -Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
    -Dcom.sun.aas.promptForIdentity=true
    -Dorg.xml.sax.driver=com.sun.org.apache.xerces.internal.parsers.SAXParser
    -Dcom.sun.aas.instanceRoot=D:/netbeans-4.1beta/SunAppServer8.1/domains/domain1
    -Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl
    -Dcom.sun.aas.domainName=domain1
    -Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
    -Dproduct.name=Sun-Java-System/Application-Server
    -Dcom.sun.enterprise.overrideablejavaxpackages=javax.faces,javax.servlet.jsp.jstl,javax.xml.bind,javax.help
    -Dcom.sun.aas.configRoot=D:/netbeans-4.1beta/SunAppServer8.1/config
    -Djava.library.path=D:\Java\jdk1.5\jre\bin\client;D:\netbeans-4.1beta\SunAppServer8.1\lib;D:\netbeans-4.1beta\SunAppServer8.1\lib;D:\Java\jdk1.5\bin;.;D:\WINNT\system32;D:\WINNT;D:\netbeans-4.1beta\SunAppServer8.1\lib;D:\netbeans-4.1beta\SunAppServer8.1\bin;D:\netbeans-4.1beta\SunAppServer8.1\lib;D:\netbeans-4.1beta\SunAppServer8.1\bin;D:\netbeans-4.1beta\SunAppServer8.1\bin;D:\netbeans-4.1beta\SunAppServer8.1\bin;D:\WINNT\system32;D:\WINNT;D:\WINNT\System32\Wbem;D:\Java\jdk1.5\bin;D:\netbeans-4.1beta\SunAppServer8.1\bin;
    -Dcom.sun.aas.instanceName=server
    -Dcom.sun.aas.processLauncher=SE
    -cp
    D:/Java/jdk1.5/lib/tools.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib/appserv-rt.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\activation.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\admin-cli.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\appserv-admin.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\appserv-cmp.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\appserv-ext.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\appserv-jstl.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\appserv-rt1.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\appserv-upgrade.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\commons-launcher.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\commons-logging.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\dom.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\j2ee-svc.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\j2ee.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\jax-qname.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\jaxr-api.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\jaxr-impl.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\jaxrpc-api.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\jaxrpc-impl.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\jmxremote.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\jmxremote_optional.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\jsf-api.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\jsf-impl.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\mail.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\relaxngDatatype.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\rmissl.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\saaj-api.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\saaj-impl.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\xalan.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\xercesImpl.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\xsdlib.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib/install/applications/jmsra/imqjmsra.jar;D:/netbeans-4.1beta/SunAppServer8.1/imq/lib/jaxm-api.jar;D:/netbeans-4.1beta/SunAppServer8.1/imq/lib/fscontext.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib/ant/lib/ant.jar;D:/netbeans-4.1beta/SunAppServer8.1/pointbase/lib/pbclient.jar;D:/netbeans-4.1beta/SunAppServer8.1/pointbase/lib/pbembedded.jar
    com.sun.enterprise.server.PEMain
    start
    display
    native|#]
    *** EXITING ERROR:
    Can't create Java VM
    I guess I have searched every possible discussion/bug database/forums on this topic but unable to find a solution, please help.
    Regards
    Nitin

    Reply please.
    Thanks in advance.
    amyt

  • LMS 3.2 gives Application error during Campur User tracking

    Hi All,
    As per the subject during Campus User Tracking following error comes.
    Application error: URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!..
    Please let me know if anybody has solution for this.
    Thanks in advance.
    Samir

    this looks like CSCsz79649
    I assume at least one of the ctm_config.txt files became corrupted.
    have a look at the file ctm_config.txt in both these locations:
        NMSROOT/MDC/tomcat/webapps/campus/WEB-INFlib
        NMSROOT/MDC/tomcat/webapps/cmapps/WEB-INF/lib
    and compare the content to the clean files Joe posted in this thread:
        https://supportforums.cisco.com/message/3153454#3153454
    Note: the parameter DYNAMIC_PORT_ALLOCATION=0 can be added to both files;
    If your files (or at least one) are different, then stop the daemon manager. When services are stopped, replace the corrupted file with the one Joe posted. Also move the ctmregistry and ctmregistry.backup files in these directories to a location outside NMSROOT (like C:\Windos\tmp)
    Restart the daemon manager.
    If everything is working you can remove the ctmregistry and ctmregisry.backup files you previously moved to C:\Windows\tmp

  • Local C/S Application call from EP

    Hi.
    We have several C/S application developed by power builder and We want to integrate into SAP EP.
    I heard we can do this using active-x control.
    Anybody know how to do this ?
    Regards, Arnold.

    Arnold,
    Were you able to integrate/launch your PowerBuilder apps within the SAP EP?  We have a few MS Access (and other desktop apps) we'd like to launch via the Portal.  Unfortunately there isn't an ROI to utilize solutions such as Citrix so we have to look at other ways...  I was going to investigate utilizing a URL iView with a 'URL' such as File://c:/WINDOES/Desktop/FileURLs/myapp.exe

  • How to call a WD Application from a function module?

    Hi Folks,
    I have a requirement in my project to call my web dynpro application from a function module .
    Can someone help me out with this , some example or docs would be of great help .
    Regards
    Abhishek Sahai

    Hi,
    why you want to have a FM to call the Application. If it is called also, do you want to display the applicaiton output to user.
    Do you use this FM inside any class or WD compoent or what.
    There is a class CL_WD_UTILITIES=>CONSTRUCT_WD_URL where an Application is generated but you need to have the windoe manager to show this application.
    Can you elaborate more on your requriement.
    Regards,
    Lekha.
    Edited by: Lekha on Sep 29, 2009 4:09 PM

  • Captions/comments ON photo - not in "info" windo

    Can't find the "how-to" in iPhoto Help or the tutorial. I would like to place captions at center bottom of photo. Or, better yet, as thought balloons above our "goofy" expressions. How do I move the comments onto the photo rather than left in the "info" windo? Thanx, ~Newbie~
    Powerbook G4   Mac OS X (10.4.9)  

    Another very good application is Photoshop Elements. If you think you might get into a lot of advanced editing then I suggest PSE as the application to get. I has about 80% of Photoshop's capabilities at 1/7 the price. It even comes bundled with most Canon scanners if your in the market for a scanner.
    Do you Twango?

  • OLE DB error: OLE DB or ODBC error: %1 is not a valid Win32 application

    Hi,
    I am creating the Cubes with couple of dimensions. My backend is Oracle. I can able to deploy the cube in my local machine which is running 32 Bit Windoes 7 OS. But when I try to deploy the cube in another server which is running Windows 2003 R2 64 bit OS,
    returns "OLE DB error: OLE DB or ODBC error: %1 is not a valid Win32 application" this error. The driver whic I am using to connect the Oracel DB is "Native OLE DB\Oracle Provider for OLE DB". I have also installed the Oracle 10g 32 bit client in my machine.
    Any solution for this issue?
    Thanks,
    Jeen

    Hi Jeen,
    What's the specific version of your SQL Server? Please try to install the latest Service Pack on 64bit box to see if this help.
    How to obtain the latest service pack for SQL Server 2005:
    http://support.microsoft.com/kb/913089
    If you have any feedback on our support, please click
    here.
    Regards,
    Elvis Long
    TechNet Community Support

  • PB 12.6 (build 3506) Application Exit Codes

    Environment:  Windos 2012 R2 Server,
    PowerBuilder 12.6 Build 3506
    Building 32 bit application
    I've got a utility application that's running as a service.  We're using NSSM (the Non-Sucking Service Manager) to run the program.
    NSSM can take actions depending on the exit code.
    In earlier versions of PowerBuilder I could accomplish this by setting Message.LongParm in the application close or application system error event.
    Now, that's not working and the advice I'm seeing tends more toward
    // External FUNCTION declaration
    SUBROUTINE ExitProcess(ulong uExitCode) LIBRARY "kernel32.dll"
    // Powerscript
    ExitProcess(50)
    But that seems like it terminates the application and any clean up that might have occurred with a normal application exit isn't going to happen.
    my question is...
    Is this really my only option or is there some other way I have not been able to find?
    Secondary concern.. where do I find the full 12.6 manuals?  I keep ending up at SyBooks which only has documentation up to 12.0 and SAP PowerBuilder 12.6 – SAP Help Portal Page only gives me the new feature guide, installation and release notes, but not the actual documentation.

    I am sorry if I somehow led you to think NSSM is the problem.  It's not, PowerBuilder is.
    The PROBLEM restated for clarity:
    In earlier versions of PowerBuilder I could add code to the application close event that set Message.LongParm to a value and then that value would be accessible to a command file via the ERORLEVEL system variable.
    In my current tests with PowerBuilder 12.6, setting Message.LongParm is not working so I Googled the problem and the advice I'm seeing tends more toward using:
    // External FUNCTION declaration
    SUBROUTINE ExitProcess(ulong uExitCode) LIBRARY "kernel32.dll"
    // Powerscript
    ExitProcess(<Value>)
    But that seems like it terminates the application and any clean up that might have occurred with a normal application exit isn't going to happen.  That's not ideal.
    My Question is:
    Is there any method exiting that will allow me to set that system ERRORLEVEL variable that does not require my causing an abnormal termination to my application?
    Or is using the external function ExitProcess really my only option?

Maybe you are looking for