Java ME SDK 3.0 does not run sample files, but WTK 2.5.2 does

Hi guys,
I have following problem: I am using the Java ME SDK 3.0 and I am trying to run some sample MIDlets. For example this very basic HelloMIDlet which can be found here http://developers.sun.com/mobility/midp/articles/wtoolkit/src/HelloMIDlet.java
Build runs successfully, but if I try to run it, the emulator appears, but nothing happens. Here is a warning from the logfile:
Starting emulator in execution mode
Installing suite from: http://127.0.0.1:3607/HelloMIDlet.jad
[WARN] [rms     ] javacall_file_open: _wopen failed for: C:\javame-sdk\3.0\work\0\appdb\_delete_notify.dat
[WARN] [rms     ] javacall_file_open: _wopen failed for: C:\javame-sdk\3.0\work\0\appdb\_ch_suite.raw
bdj-run:
cdc-run:
profiler.check:
open-profiler:
run:
BUILD SUCCESSFUL (total time: 20 seconds)The exact same source code used with the WTK 2.5.2 builds and runs without a problem. Any ideas what the problem is?
Thanks a lot,
iobytrap

1. Start ME SDK
2. File -> New Project -> MIDP Application
3. Select Project Name AND(!) check "Create Hello Midlet". Click "Next"
4. Select Device "DefaultCldcPhone1"; other as Default; Click Finish
5. Change body of the HelloMidlet.java according to http://developers.sun.com/mobility/midp/articles/wtoolkit/src/HelloMIDlet.java
//As you described
6. Click F6 (Run Main Project)
As a result: "BUILD SUCCESSFUL"; ME SDK open with "Hello,World".
So, all works. Please provide step by step scenario if you see problem yet. Also tell me please version of java.
Regards,
Mikhail.

Similar Messages

  • Help: Standalone applicatio​n does not run (Error #-10007), but developmen​t applicatio​n does

    I'm hoping that someone can tell me what I'm doing wrong. I'm using LabView 6.1 together with NI-DAQ v6.9.2 to build an application that generates different voltages on the output channels of a PCI-6704 card. Everything works fine in my development environment. I then use the application builder to create a standalone application. I include the LabView Run-Time Engine in the installer. However, when I install the application on the target machine and try to run it, I get Error # -10007 at AO Group Config.vi. (My application uses the AO Write One Update vi.)
    If I install LabView 6.1 on the target machine and copy over all my VI's to the machine, they run as expected.
    Can anyo
    ne shed some light on what I may be doing wrong?

    Hi Roger
    I don't see in your question if you've installed NI-DAQ- It's important to know that you have to install all needed drivers separately on your target machine. In your case you have to install NI-DAQ on your target machine too and configure the board.The drivers are not automatically included into the installer.
    If you're doing an custom installation of LV on your target machine, than NI-DAQ will be installed too. You should be able to run than your executable. (If you've LV still installed on the target, than you can try this out!)
    Luca P.
    Regards,
    Luca

  • SSIS Job deployment does not run my .exe but is described as a success

    Hi i have scripted a simple script task in c# to run an exe with the following code
    Process.start(filename.exe);
    i have also tried using the 'Execute Process task' in the SSIS toolbox.
    both methods work when i debug. 
    However when deployed to the SQL server as a job, the jobs are described as a success but my program does not run?!
    The exe file is published from SQL visual studio and the resultant filename is setup.exe which i am trying to run.
    Any help pleasE?
    I am not using any shared file resources, the setup.exe is on my desktop.

    this is all i get
    Message Type
    Message Time
    Message
    Message Source Name
    Subcomponent Name
    Execution Path
    OnPostExecute
    8/22/2014 4:15:09 PM
    Package:Finished, 4:15:09 PM, Elapsed time: 00:00:00.234.
    Package
    \Package
    OnPostExecute
    8/22/2014 4:15:09 PM
    Execute Process Task:Finished, 4:15:09 PM, Elapsed time: 00:00:00.203.
    Execute Process Task
    \Package\Execute Process Task
    OnPostValidate
    8/22/2014 4:15:09 PM
    Execute Process Task:Validation is complete.
    Execute Process Task
    \Package\Execute Process Task
    OnPreExecute
    8/22/2014 4:15:09 PM
    Execute Process Task:Start, 4:15:09 PM.
    Execute Process Task
    \Package\Execute Process Task
    OnPreValidate
    8/22/2014 4:15:09 PM
    Execute Process Task:Validation has started.
    Execute Process Task
    \Package\Execute Process Task
    OnPreExecute
    8/22/2014 4:15:09 PM
    Package:Start, 4:15:09 PM.
    Package
    \Package
    OnPreValidate
    8/22/2014 4:15:09 PM
    Package:Validation has started.
    Package
    \Package
    OnPreValidate
    8/22/2014 4:15:09 PM
    Execute Process Task:Validation has started.
    Execute Process Task
    \Package\Execute Process Task
    OnPostValidate
    8/22/2014 4:15:09 PM
    Execute Process Task:Validation is complete.
    Execute Process Task
    \Package\Execute Process Task
    OnPostValidate
    8/22/2014 4:15:09 PM
    Package:Validation is complete.
    Package
    \Package
    OnInformation
    8/22/2014 4:15:08 PM
    Package:Information: Succeeded in upgrading the package.
    Package
    \Package
    OnInformation
    8/22/2014 4:15:08 PM
    run exe:Information: The Script Task "ST_6ba434db5c5649b7b68ab5fb14977781" has been migrated.
    The package must be saved to retain migration changes.
    run exe
    \Package\run exe
    OnWarning
    8/22/2014 4:15:04 PM
    run exe:Warning: Found SQL Server Integration Services 2012 Script Task "ST_6ba434db5c5649b7b68ab5fb14977781"
    that requires migration!
    run exe
    \Package\run exe

  • I tunes does not play mp3 file, but quick time does. why?

    I have download mp3 files from internet and some of them i tunes doesn't not see and play. I tried to play it with quick time- good, not problem. But i want to add it to my i pod. How can i do it? How can i play it with i tunes? maybe i need some codecs? please help me

    It could be you're not adding the files the right way. In more seldom cases:
    [Topic : MP3 Scan+Repair - an ID3 tag evaluator for the Mac|http://discussions.apple.com/thread.jspa?threadID=2020936]
    MP3 Scan+Repair (including sources): [http://triq.net/mac/mp3-validator-mac-os-x]

  • Client_text_io does not write the file but does create it.

    Hello there!
    I have a form which generates a .txt file using client_text_io webutil function.
    this is the procedure:
    PROCEDURE CREA_FILE IS
    MYFILE CLIENT_TEXT_IO.FILE_TYPE;
    OUTFILE CLIENT_TEXT_IO.FILE_TYPE;
    MFILE VARCHAR2(1000);
    MLINE VARCHAR2(5000);
    RESP NUMBER;
    BEGIN
    MLINE:='LINE TO WRITE...';
    MFILE := C:\test.txt;
    OUTFILE := CLIENT_TEXT_IO.FOPEN(MFILE,'w');
    CLIENT_TEXT_IO.put_line(OUTFILE, MLINE || ' 123');
    CLIENT_TEXT_IO.Fclose(OUTFILE);
    EXCEPTION
         WHEN OTHERS THEN
         CLIENT_TEXT_IO.Fclose(MYFILE);
         message('ERROR: '||SQLERRM);
    END;
    It works on OAS 10g + forms 10g. the file is created fine, BUT I have tried with forms 11g unsuccessful.
    My forms 11g are running under weblogic and the RedHat server.
    Im running the forms app from my laptop Windows XP.
    I configured webutil as the MOS note said, the thing is, the file is created, but no data is writted.
    I can open the file test.txt but the line I tried to print is not there, the same thing with 10g and the file is good.
    help me please.

    What are you doing after writing to the file? Are you leaving the form? Forms performs event bundling when sending data over to java beans;
    v_FILE_HANDLE := CLIENT_TEXT_IO.FOPEN (FPATH, 'W'); most certainly uses get_custom_property at the end to retrieve the file handle from the bean which will cause a "synchronize" as data must be retrieved from the bean before continuing in the PL/SQL code whereas
    CLIENT_TEXT_IO.Put_line(v_FILE_HANDLE,v_string_prov);
    CLIENT_TEXT_IO.FCLOSE (v_FILE_HANDLE); most certainly uses set_custom_property which is a one-way street and data is bundled up and sent as one package. If you have e.g. a exit_form right after those calls there is a chance that forms waits for some other data to be sent over to the bean but won't send it, as the form doesn't exist anymore after the exit_form. The same would happen if you'd do a
    v_FILE_HANDLE := CLIENT_TEXT_IO.FOPEN (FPATH, 'R');
    CLIENT_TEXT_IO.FCLOSE (v_FILE_HANDLE); right after writing your form as fopen will cause the sync (with the possibility that java will still hold a file lock on the file as the fclose method won't be called).
    cheers

  • Log4j does not find properties file (but its in the classes directory)

    I am using eclipse, I have created a log4j object:
         private static Logger logger = Logger.getLogger(Http.class.getName());When I try to run the test case, I get:
    log4j:WARN No appenders could be found for logger (com.cable.comcast.nsec.common.Http).
    log4j:WARN Please initialize the log4j system properly.I usually run into this problem when the log4j.properties file is not in the 'classes' directory, but this time it is.
    atlantis@atlantis-laptop:~/workspace/ArborAPI$ cat .classpath | grep output
            <classpathentry kind="output" path="classes"/>
    atlantis@atlantis-laptop:~/workspace/ArborAPI$ ls -la classes/
    total 16
    drwxr-xr-x 3 atlantis atlantis 4096 2008-02-06 16:44 .
    drwxr-xr-x 7 atlantis atlantis 4096 2008-02-06 17:08 ..
    drwxr-xr-x 3 atlantis atlantis 4096 2008-02-06 16:35 com
    -rw-r--r-- 1 atlantis atlantis 2603 2008-02-06 16:44 log4j.propertiesAm I missing something?

    Sorry I was really busy the last few days. Thank you for your answers!
    I probably should have left out all the specifics of what the software was that I was packaging, because I think what I was really asking did not come across clearly. What I really wanted to know is:
    Why do I have to provide the "-I /usr/include/headers_dir" compiler option for some libraries but not for others, although the header files for each lie in a level 1 subdir of /usr/include?
    I thought that maybe there was some kind of index of installed libraries that I didn't know about, which I could have updated from within PKGBUILD (so I guess that's why I included it originally). Seems to me now, though, that this is not the case.
    I did put in some google time (but not lots b/c 1. hard to google and 2. busy) to find an answer, but to no avail and it's not really top priority right now (and quite honestly never will be, since there is the -I option), so I guess it'll have to wait, unless someone knows...
    ---EDIT---
    So, right after I posted this (stupid me) I had a little think and I finally understand, whats happening.
    1. Headers are not found without specifying the directory they are in.
    2. I need the -I option because easykf headers are not well formed.
    Thanks a lot!
    Last edited by maximax (2013-09-27 00:26:03)

  • QT/KDE Java does not run

    I decided to learn Qt Java and KDEJava. I found some demo code here but I can't get it to work.
    It compiles fine.
    $ javac -classpath $CLASSPATH:/opt/kde/lib/java/qtjava.jar ScribbleWindow.java
    But does not run.
    $ java -classpath $CLASSPATH:/opt/kde/lib/java/qtjava.jar ScribbleWindow
    Exception in thread "main" java.lang.UnsatisfiedLinkError: no qtjava in java.library.path
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at org.kde.qt.qtjava.initialize(qtjava.java:272)
    at org.kde.qt.qtjava.<clinit>(qtjava.java:283)
    at ScribbleWindow.<clinit>(ScribbleWindow.java:300)
    $
    Wiki says that
    ==> Kdebindings has been built with support for Java and GTK.
    ==> If you want to use these features use the following pacman commands:
    ==> 'pacman -S j2sdk'
    ==> 'pacman -S gtk'
    I have kdebindings and j2sdk installed. After searching the forum I'm not sure if Wiki is right. Is kdebindings compiled with java support or not? Am I supposed to install or recompile something to get it working?

    phrakture wrote:
    ummm, try it like this:
    $ java -classpath $CLASSPATH:/opt/kde/lib/java/ ScribbleWindow
    It gives different error:
    $ java -classpath $CLASSPATH:/opt/kde/lib/java/ ScribbleWindow
    Exception in thread "main" java.lang.NoClassDefFoundError: org/kde/qt/QWidget
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)

  • Installed anfy java 2. free download. Previewing an aplet -will not run in FireFox but will run with I.E. . i have win 7 home.

    to preview an applet created in Anfy Java 2. will not load in FireFox. error message is that it can not find the file. however previewing in I.E does work.

    You must provide the exact name and version of the software for anyone to attempt to answer your question.  Primarily the functionality of any software is entirely dependent on what platforms the publisher intended the software to run on.
    If you are the programmer you need to go to the Microsoft Developer Network forums for assistance:
    http://msdn.microsoft.com/en-US/#fbid=Xt631zR1D90.
    This is an End Users' Peer-to-Peer forum that does not address programming from any perspective.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”

  • Javaee6 sample does not run on remote GF 3.1

    I installed javaee6 with samples:
    java_ee_sdk-6u2-jdk-linux-x64-ml.sh
    I can run "automatic-timer" sample properly, when GF 3.1 runs on localhost.
    If GF 3.1 runs on a remte host.
    I set the remote GF 3.1 in bp-project/build.properties:
    javaee.server.name=192.168.1.101
    Now automatic-timer sample does not run:
    [java] Waiting for the timer to expire
    [java] Logged timeouts :
    [java] org.omg.CORBA.COMM_FAILURE: FINE: IOP00410001: Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: localhost; port: 3700 vmcid: OMG minor code: 1 completed: No
    [java]      at sun.reflect.GeneratedConstructorAccessor30.newInstance(Unknown Source)
    [java]      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    [java]      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    [java]      at com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:248)
    [java]      at com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:95)
    [java]      at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.handleFullLogging(WrapperGenerator.java:387)
    [java]      at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.access$400(WrapperGenerator.java:107)
    [java]      at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator$2.invoke(WrapperGenerator.java:511)
    [java]      at com.sun.corba.ee.spi.orbutil.proxy.CompositeInvocationHandlerImpl.invoke(CompositeInvocationHandlerImpl.java:99)
    [java]      at $Proxy26.connectFailure(Unknown Source)
    [java]      at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:257)
    [java]      at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:270)
    [java]      at com.sun.corba.ee.impl.transport.SocketOrChannelContactInfoImpl.createConnection(SocketOrChannelContactInfoImpl.java:129)
    [java]      at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:223)
    [java]      at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:228)
    [java]      at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:393)
    [java]      at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
    [java]      at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:69)
    [java]      at com.sun.enterprise.naming.impl.SerialContext$ProviderCacheKey.getNameService(SerialContext.java:1241)
    [java]      at com.sun.enterprise.naming.impl.SerialContext.getRemoteProvider(SerialContext.java:411)
    [java]      at com.sun.enterprise.naming.impl.SerialContext.getProvider(SerialContext.java:347)
    [java]      at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:504)
    [java]      at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:455)
    [java]      at javax.naming.InitialContext.lookup(InitialContext.java:392)
    [java]      at enterprise.automatic_timer_client.AutomaticTimerJavaClient.getRecords(AutomaticTimerJavaClient.java:64)
    [java]      at enterprise.automatic_timer_client.AutomaticTimerJavaClient.main(AutomaticTimerJavaClient.java:53)
    [java] Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection refused
    [java]      at org.glassfish.enterprise.iiop.impl.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:340)
    [java]      at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:242)
    [java]      ... 15 more
    [java] Caused by: java.net.ConnectException: Connection refused
    [java]      at sun.nio.ch.Net.connect(Native Method)
    [java]      at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:500)
    [java]      at com.sun.corba.ee.impl.orbutil.ORBUtility.openSocketChannel(ORBUtility.java:110)
    [java]      at org.glassfish.enterprise.iiop.impl.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:325)
    [java]      ... 16 more
    [java] javax.naming.NamingException: Lookup failed for 'java:global/automatic-timer-ejb/StatelessSessionBean' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.url.pkgs=com.sun.enterprise.naming, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl} [Root exception is javax.naming.NamingException: Unable to acquire SerialContextProvider for SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.url.pkgs=com.sun.enterprise.naming, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl} [Root exception is org.omg.CORBA.COMM_FAILURE: FINE: IOP00410001: Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: localhost; port: 3700  vmcid: OMG  minor code: 1  completed: No]]
    [java]      at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:518)
    [java]      at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:455)
    [java]      at javax.naming.InitialContext.lookup(InitialContext.java:392)
    [java]      at enterprise.automatic_timer_client.AutomaticTimerJavaClient.getRecords(AutomaticTimerJavaClient.java:64)
    [java]      at enterprise.automatic_timer_client.AutomaticTimerJavaClient.main(AutomaticTimerJavaClient.java:53)
    [java] Caused by: javax.naming.NamingException: Unable to acquire SerialContextProvider for SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.url.pkgs=com.sun.enterprise.naming, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl} [Root exception is org.omg.CORBA.COMM_FAILURE: FINE: IOP00410001: Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: localhost; port: 3700  vmcid: OMG  minor code: 1  completed: No]
    [java]      at com.sun.enterprise.naming.impl.SerialContext.getProvider(SerialContext.java:352)
    [java]      at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:504)
    [java]      ... 4 more
    [java] Caused by: org.omg.CORBA.COMM_FAILURE: FINE: IOP00410001: Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: localhost; port: 3700 vmcid: OMG minor code: 1 completed: No
    [java]      at sun.reflect.GeneratedConstructorAccessor30.newInstance(Unknown Source)
    [java]      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    [java]      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    [java]      at com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:248)
    [java]      at com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:95)
    [java]      at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.handleFullLogging(WrapperGenerator.java:387)
    [java]      at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.access$400(WrapperGenerator.java:107)
    [java]      at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator$2.invoke(WrapperGenerator.java:511)
    [java]      at com.sun.corba.ee.spi.orbutil.proxy.CompositeInvocationHandlerImpl.invoke(CompositeInvocationHandlerImpl.java:99)
    [java]      at $Proxy26.connectFailure(Unknown Source)
    [java]      at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:257)
    [java]      at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:270)
    [java]      at com.sun.corba.ee.impl.transport.SocketOrChannelContactInfoImpl.createConnection(SocketOrChannelContactInfoImpl.java:129)
    [java]      at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:223)
    [java]      at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:228)
    [java]      at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:393)
    [java]      at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
    [java]      at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:69)
    [java]      at com.sun.enterprise.naming.impl.SerialContext$ProviderCacheKey.getNameService(SerialContext.java:1241)
    [java]      at com.sun.enterprise.naming.impl.SerialContext.getRemoteProvider(SerialContext.java:411)
    [java]      at com.sun.enterprise.naming.impl.SerialContext.getProvider(SerialContext.java:347)
    [java]      ... 5 more
    [java] Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection refused
    [java]      at org.glassfish.enterprise.iiop.impl.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:340)
    [java]      at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:242)
    [java]      ... 15 more
    [java] Caused by: java.net.ConnectException: Connection refused
    [java]      at sun.nio.ch.Net.connect(Native Method)
    [java]      at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:500)
    [java]      at com.sun.corba.ee.impl.orbutil.ORBUtility.openSocketChannel(ORBUtility.java:110)
    [java]      at org.glassfish.enterprise.iiop.impl.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:325)
    [java]      ... 16 more
    [java] Exception in thread "main" java.lang.NullPointerException
    [java]      at enterprise.automatic_timer_client.AutomaticTimerJavaClient.main(AutomaticTimerJavaClient.java:54)
    Why does it use localhost instead of 192.168.1.106 ?
    How can I run the sample against a remote GF 3.1 ?
    Thank you

    I got solution:
    Re: Can't access remote EJBs (GF3.1)
    I followed the instructions from http://www.java.net/node/676636
    and changed "/etc/hosts" file:
    1) commented out the "internal" IP addresses in the first two lines
    2) and added a the external IP address
    #127.0.0.1 localhost
    #127.0.1.1 lennyserver
    192.168.0.202 lennyserver
    The following lines are desirable for IPv6 capable hosts
    ::1 localhost ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts
    Now the InitialContext.lookup() can find the bean.

  • Program compiles, but does not run

    To: XCode Users <[email protected]>
    From: Brigit Ananya <[email protected]>
    Subject: Program compiles, but does not run
    I am trying to port a Java application from the PC to the Mac. I am using XCode and the program compiles, but it does not run.
    When I try to run the ...app, I get the message that the main class is not specified, etc.
    When I try to run the ...jar, I do not get the message that the main class is not specified, but I do get the message that there is no Manifest section for bouncycastle, etc.
    Here are the detailed messages I get in the Console when I try to run the program:
    When I try to run the ...app, I get the following message:
    1/9/09 7:21:17 AM [0x0-0x8c08c].com.AnanyaSystems.AnanyaCurves[2253] [LaunchRunner Error] No main class specified
    1/9/09 7:21:17 AM [0x0-0x8c08c].com.AnanyaSystems.AnanyaCurves[2253] [JavaAppLauncher Error] CallStaticVoidMethod() threw an exception
    1/9/09 7:21:17 AM [0x0-0x8c08c].com.AnanyaSystems.AnanyaCurves[2253] Exception in thread "main" java.lang.NullPointerException
    1/9/09 7:21:17 AM [0x0-0x8c08c].com.AnanyaSystems.AnanyaCurves[2253] at apple.launcher.LaunchRunner.run(LaunchRunner.java:112)
    1/9/09 7:21:17 AM [0x0-0x8c08c].com.AnanyaSystems.AnanyaCurves[2253] at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
    1/9/09 7:21:17 AM [0x0-0x8c08c].com.AnanyaSystems.AnanyaCurves[2253] at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)
    When I try to run the ...jar, I do get the following message:
    1/9/09 7:22:43 AM [0x0-0x8d08d].com.apple.JarLauncher[2262] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] Exception in thread "main"
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] java.lang.SecurityException: no manifiest section for signature file entry org/bouncycastle/asn1/DEREnumerated.class
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at sun.security.util.SignatureFileVerifier.verifySection(SignatureFileVerifier.java:377)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:231)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:176)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.util.jar.JarVerifier.processEntry(JarVerifier.java:233)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.util.jar.JarVerifier.update(JarVerifier.java:188)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.util.jar.JarFile.initializeVerifier(JarFile.java:325)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.util.jar.JarFile.getInputStream(JarFile.java:390)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at sun.misc.URLClassPath$JarLoader$1.getInputStream(URLClassPath.java:620)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at sun.misc.Resource.cachedInputStream(Resource.java:58)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at sun.misc.Resource.getByteBuffer(Resource.java:113)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.net.URLClassLoader.defineClass(URLClassLoader.java:249)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.security.AccessController.doPrivileged(Native Method)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
    I do specify the main class in both, the Manifest file and the Info.plist file, in the correct way, "package.MainClass". Is there another place where I need to specify it?
    Why do I need org/bouncycastle/asn1/DEREnumerated.class, and how would I have to specify it in Manifest?
    I also posted these questions at Mac Programming at forums.macrumors.com and at Xcode-users Mailing List at lists.apple.com/mailman/listinfo, but I did not get any answer.
    Please help! Thanks!

    There was something wrong with my Info.plist file.
    So, here is my corrected Info.plist file:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
         <key>CFBundleDevelopmentRegion</key>
         <string>English</string>
         <key>CFBundleExecutable</key>
         <string>AnanyaCurves</string>
         <key>CFBundleGetInfoString</key>
         <string></string>
         <key>CFBundleIconFile</key>
         <string>AnanyaCurves.icns</string>
         <key>CFBundleIdentifier</key>
         <string>com.AnanyaSystems.AnanyaCurves</string>
         <key>CFBundleInfoDictionaryVersion</key>
         <string>6.0</string>
         <key>CFBundleName</key>
         <string>AnanyaCurves</string>
         <key>CFBundlePackageType</key>
         <string>APPL</string>
         <key>CFBundleShortVersionString</key>
         <string>0.1</string>
         <key>CFBundleSignature</key>
         <string>ac</string>
         <key>CFBundleVersion</key>
         <string>0.1</string>
         <key>Java</key>
         <dict>
              <key>JMVersion<key>
              <string>1.4+</string>
              <key>MainClass</key>
              <string>AnanyaCurves</string>
              <key>VMOptions</key>
              <string>-Xmx512m</string>
              <key>Properties</key>
              <dict>
                   <key>apple.laf.useScreenMenuBar</key>
                   <string>true</string>
                   <key>apple.awt.showGrowBox</key>
          <string>true</string>
              </dict>
         </dict>
    </dict>
    </plist>Ok, so now I can at least run the AnanyaCurves.jar file by double-clicking on it.
    However, I still cannot run the AnanyaCurves.app file. When I double-click on it, I get the following message in the Console:
    1/11/09 5:12:26 PM [0x0-0x67067].com.apple.JarLauncher[1128]  at ananyacurves.AnanyaCurves.main(AnanyaCurves.java:1961)
    1/11/09 5:13:11 PM [0x0-0x6a06a].com.AnanyaSystems.AnanyaCurves[1137] [JavaAppLauncher Error] CFBundleCopyResourceURL() failed loading MRJApp.properties file
    1/11/09 5:13:11 PM [0x0-0x6a06a].com.AnanyaSystems.AnanyaCurves[1137] [LaunchRunner Error] No main class specified
    1/11/09 5:13:11 PM [0x0-0x6a06a].com.AnanyaSystems.AnanyaCurves[1137] [JavaAppLauncher Error] CallStaticVoidMethod() threw an exception
    1/11/09 5:13:11 PM [0x0-0x6a06a].com.AnanyaSystems.AnanyaCurves[1137] Exception in thread "main" java.lang.NullPointerException
    1/11/09 5:13:11 PM [0x0-0x6a06a].com.AnanyaSystems.AnanyaCurves[1137]  at apple.launcher.LaunchRunner.run(LaunchRunner.java:112)
    1/11/09 5:13:11 PM [0x0-0x6a06a].com.AnanyaSystems.AnanyaCurves[1137]  at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
    1/11/09 5:13:11 PM [0x0-0x6a06a].com.AnanyaSystems.AnanyaCurves[1137]  at apple.launcher.JavaApplicationLauncher.main(JavaApplicationLauncher.java:61)Why is it looking for the MRJApp.properties file? Isn't this outdated? Shouldn't it look for the Info.plist file? I do not have a MRJApp.properties file.
    Also, in the Run menu of my XCode project, Go, Run, and Debug are disabled, but perhaps this has to do with not being able to run the AnanyaCurves.app file.
    Thanks for your time! I really appreciate any help you can give me!

  • Photoshop CC2014 running under window 8.1.  How do I access mini bridge.  It does not show under FILE or WINDOW-EXTENSIONS.  Works ok with CS6

    Photoshop CC2014 running under window 8.1.  How do I access mini bridge.  It does not show under FILE or WINDOW-EXTENSIONS.  Works ok with CS6

    Photoshop: Spring Cleaning | PHOTOSHOP.COM BLOG

  • REPORT DOES NOT RUN CORRECTLY , URGENT PLEASE HELP

    Hi,
    I am trying to run a report from visul basic screen, but it does not run correctly. Here is how I am running the report. There is a screen developed in VB This screen prompts the user for user id and password. Once it gets that, it connects to the oracle database and pulls out a column from a table. And passes that value as a parameter to the report. Now I am calling the the report for each individual value . There are 21 value being pulled out of the database and it invokes the report 21 times. So there are 21 report engines gets started. Is there a better way to do that ? Secondly when I pass the parameter , some parameters does not pass correctly I guess , because its not generating any out put . Like out of 21 may be 10 or 11 reports gets generated correctly but rest of the reports are blank. I debug the screen i saw that the parameter value is correct, everything seems good. But still the reports are comming blank. Any Idea why it is so ? The command line that i am using in VB screen is
    Shell "C:\progra~1\ora95_2\bin\rwrun60.exe P:\Business_Analysis_&_Reporting_Tool\Test_REPORT_Templates\STORE_TYPES\Baby_Distribution_Report.Rdf USERID=" & UID & "/" & PWD & "@cposp201 DESFORMAT=PDF DESTYPE=FILE DESNAME=" & txtPath.Text & Replace(strName, " ", "_") & ".PDF BRND='" & adoRecBrand!Brand & "' PRINTJOB=NO PARAMFORM=NO"
    In the above command " adoRecBrand!Brand " is the parameter thats being passed. This is actually a recordset and brand is the column in it. When I debug the screen , I see the value also there. But the report comes out blank. Please help. This is urgent.
    Thanks
    Feroz

    The way you call reports is not scalable. If you have 100 records come back from database, you would end up launch 100 engines at the same times, which probably will blow up your machine. You should use oracle reports server to do that. You can either use rwcli60 to submit the job to reports server, or invoke rwcgi60 from URL.
    I am afraid some of reports engine failed to start and you get nothing back in your case.
    After switch to use reports server achitecture, if you still see some report is blank in your application, then you can run that report with that special set of parameters manually and see if any problem with the report itself.
    Hope this helps.
    Thanks,
    -Shaun

  • ICal does not run one event that has a Applescript attached to it. 24u?

    I have a number of reoccurring events in iCal that run a Applescript.  Tow of them refuses to run.  I have tried it as a Applescript and saved it as a run only and neither works (the script run fine if I test them by hand).
    so I thought I have a look in the log and found this 24u information. 
    can anybody help out here? I am not sure why it appears, if it is good or bad, how to fix it and if it is at all realted to my problem.  Other scripts seem to run well, it is this one and an other one that do not get activated by iCall.
    They run on a MM running 10.6.8, iCall 4.0.4 (1395.7)
    Thanks.
    Log today:
    19/09/2011 07:00:00          iCal Helper[211]          Error loading /Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX:  dlopen(/Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX, 262): no suitable image found.  Did find:
              /Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX: mach-o, but wrong architecture
    19/09/2011 07:00:00          [0x0-0x12012].com.apple.iCal.helper[211]          iCal Helper: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/24U Appearance OSAX.osax" declares no loadable handlers.
    19/09/2011 07:45:01          iCal Helper[317]          Error loading /Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX:  dlopen(/Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX, 262): no suitable image found.  Did find:
              /Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX: mach-o, but wrong architecture
    19/09/2011 07:45:01          [0x0-0x28028].com.apple.iCal.helper[317]          iCal Helper: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/24U Appearance OSAX.osax" declares no loadable handlers.
    19/09/2011 14:30:02          iCal Helper[1019]          Error loading /Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX:  dlopen(/Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX, 262): no suitable image found.  Did find:
              /Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX: mach-o, but wrong architecture
    19/09/2011 14:30:02          [0x0-0x73073].com.apple.iCal.helper[1019]          iCal Helper: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/24U Appearance OSAX.osax" declares no loadable handlers.

    Hi,
    It looks like the version of 24U's Appearance OSAX you have installed does not run on Lion.
    I would contact the developer to see if they have a version that does yet. See http://www.24usoftware.com/AppearanceOSAX
    Alternatively you could look to see if the Applescript really needs to use it.
    Best wishes
    John M
    Edit: If you are running Snow Leopard, I think you may need to make the application "iCal Helper" (which you'll find in iCal's application package) run as 32 bit. I'd also suggest you check this with 24U.

  • Add does not run with sql server 2008

    Hi all,
    My add on in the development environment does not run with SQL SERVER 2008. It ran well with SQL Server 2005 and sap b1 2207 B.
    On executing the project file system throws an error "YOU ARE NOT CONNECTED TO THE COMPANY"
    we are trying this scenario on a test machine where SAP B1 2007B with temporary license for one month and SQL server 2008
    is installed.
    Help needed.
    Thanking you
    Pradnya

    Hi Use this
    Dim i as integer
    i=oCompany.Connect()
    if i<> 0 Then
    msgbox(ocompany.GetLastErrorDescription ())
    end if
    the you will get the error description also use try catch wherever necessary
    Alternatively you can use
    Dim SboGuiApi As SAPbouiCOM.SboGuiApi
    Dim sConnectionString As String
    Set SboGuiApi = New SAPbouiCOM.SboGuiApi
    sConnectionString = Command
    SboGuiApi.Connect sConnectionString
    Set SBO_Application = SboGuiApi.GetApplication()
    Set ocompany = New SAPbobsCOM.Company 'initialate DI company object
      ocompany = SBO_Application.Company.GetDICompany
    HTH,
    Atul

  • Premiere elements 12, new installation, serial no. accepted, installation completed and new started, but does not run. I get following msg-box: "LoadLibrary failed with error 126: Das angegebene Modul wurde nicht gefunden."

    premiere elements 12, new installation, serial no. accepted, installation completed and new started, but does not run. I get following msg-box: "LoadLibrary failed with error 126: Das angegebene Modul wurde nicht gefunden."   Installation in German Language on WIN7 professional 64bit, Samsung SSD. What can I do to run that program?

    Jurgen Freund
    Premiere Elements 12 on Window 7 64 bit. What video card/graphics card does your computer use - AMD Radeon?
    I have found this YouTube video on the subject of Error 126 with details for resolving the problem.
    How to fix the ERROR 126 when you open OpenGL programs - YouTube
    The link was contributed in an old 2013 thread here by the ID danneomarre (see post 6 of the following thread)
    LoadLibrary failed with error 126: cant find the required
    Please let us know if that worked for you.
    Thank you.
    ATR
    Add On...When all is OK and working, please update 12 to 12.1 Update using an opened project's Help Menu/Update.

Maybe you are looking for