Error building Application that runs correctly

Dear NI engineers,
I am attempting to build an exe and it give me the following error:
>>The VI is broken. Open the VI in LabVIEW and fix the errors.
>>C:\Documents and Settings\Desktop\Desktop\IsomerXDistribution\MAIN.vi
The VI is not broken, and runs perfectly fine, the sub VI's and classes are not broken either.  
>>Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference:
>>Error 1003 occurred at ABAPI Open VI and Check For Broken.vi -> EBEP_Invoke_Build_Engine.vi -> EBUIP_Build_Invoke.vi -> EBUIP_Build_Invoke.vi.ProxyCaller
>>Possible reason(s):
>>LabVIEW:  The VI is not executable. Most likely the VI is broken or one of its subVIs cannot be located.  Open the VI in LabVIEW using File>>Open and verify that it is runnable.
All of the VI's in the hierachy and project and executable and located. Why will it not compile?
Thank you for your quick response.

The code i am using is a very large (about 350 VI's and methods) complex data structure that runs exceptional well in labview.
I am posting a very small code that demonstrates the problem. Apparently passing a class by reference causes a broken VI error when compiling. It works perfectly fine when running threw labview. It would be costly to rewrite the VI's in a different format, for something labview internally supports and all other OOP language support, simply because of an erronous compiler.  
Why will this not compile, and how can i make it compile?
http://128.123.180.148/IsomerX/DemoError.zip
Serious responses only please.
-Greg Sonnenfeld
New Mexico State University
IsomerX project
Message Edited by Gsonnenf on 01-17-2007 05:12 PM

Similar Messages

  • Finder got an error. Application not running (-600)

    I have a LaunchAgent that calls a shell script, at login.  The shell script runs and determines the users AD container and then will runn the correct applescript application depending on the AD Container.    The applescript applications simply mount up the users network volumes, runs a few do shell scripts and then exits.
    It works and has been working for quite some time, under 10.5.x, 10.6.x, 10.7.x and even 10.8.x.  But I have started getting a few users who are getting a rather odd message in the logs that the script creates and I can't really find anything on the error message.
    "Finder got an error.  Application not running (-600)"
    If I log the user in and run the following at the command line:
    launchctl unload name.of.plist 
    It will unload the launchagent.
    If I type this at the commane line:
    launchctl load name.of.plist
    It works perfectly.  No errors.
    I can manually run the shell script it calls and that works fine.
    I can also manually double click the apps and those run fine. 
    I've changed the permissions, I've recopied, re-imaged, but I can not figure out why the script won't sometimes and gives me that error message.
    Has anyone seen this error message before and what I can try to do to fix it?
    Thank you in advanced.

    This sounds like a typical race condition, and it's impossible to solve without seeing the script.
    The issue is that your script is targetting some application that isn't available. Ordinarily AppleScript will launch an application if it's not already running, but during launch it's possible that your script is trying to target an application before it can be launched (because the user's envirnment is still loading).
    So you need to look at the script to see what it's doing, and what apps it's targeting. The fix might be as simple as adding a few delays to allow the system to finish logging in, but t's hard to say without more data.

  • URL request syntax to redirect to a Flex Desktop application that runs in ADOBE AIR

    Hi,
    I'm developing a Flex Project that runs on ADOBE AIR. This
    project contains two Flex desktop applications that runs in ADOBE
    AIR.Now i need to redirect to one Flex desktop application from
    another Flex desktop application.Can anyone please tell me how the
    URL should look like in the new UrlRequest( ). Thanks in advance
    for any help....................

    After two days of research and getting localConnection to work, just to realize the application has to be running in order to pass variables to it with localConnection.  I realized that I set <allowBroswerInvocation> to true in my air application, but forgot to uncomment it in the descriptor file.  Extremely upsetting..... I can now get the airSWF.getApplicationVersion() to return the correct version number, but am still having problems with the airSWF.launchApplication() since it hard to debug, and just doesnt do anything.  Below is the code in the Install.log after running the launchApplication() function  I am still working on it and will post my progress.  Any help would be greatly appreciated, thank you.
    [2011-04-05:12:20:21] Application Installer begin with version 2.6.0.19120 on Windows 7 x86
    [2011-04-05:12:20:21] Commandline is: -playerVersion=10,1,82,76 -sandboxType=remote -securityDomain=airdownload.adobe.com -https=false -fromUserEvent=true -- -launch com.msp.two -- launchFromBrowser
    [2011-04-05:12:20:21] Installed runtime (2.6.0.19120) located at c:\Program Files (x86)\Common Files\Adobe AIR
    [2011-04-05:12:20:26] Application Installer end with exit code 0

  • JMF Application that runs without selection.

    What do I need to make a JMF Application that runs without selecting a media file from a directrey.
    I wish to have a folder of avi's that can be played the moment the player is activated. Auto play without selection from within the PC that it's running from. No applet.
    Thankyou

    viafax999 wrote:
    Why would you use a flakey app to replace a built in windows function that works fine?
    Turn on remote desktop sharing undr computer properties and run mstsc on the machine with kb, mouse and monitor to control the other pc's via rdp
    Synergy isn't that flakey. It just doesn't get along well with one particularly old program I use that access an online database via FTP.  When the FTP transfer is running, Synergy stops.  As soon as the transfer is done, it comes back.  Not even a minor annoyance for me.
    Synergy is not a remote desktop sharing function.  It is simply a keyboard and mouse sharing function like the old keyboard/mouse switch boxes.
    I've two computers on my desk; a work laptop and a home desktop.  Each has their own keyboards and screens.  With Synergy, I can use one keyboard and mouse to control both machines.  I simply move the mouse from one screen to another and control follows.  It's just like moving a mouse between multiple monitors on a single machine, except that I'm actually switching between computers.
    I thought Windows remote desktop functions are for just that - remote access to a machine where keyboard, mouse and screen are duplicated on the client.  If I'm missing something, please educate.  Also consider if it'll work with Windows7 Home Premium.
    Synergy is also cross platform, so when I fire up a Linux machine I sometimes use, it too can share the same keyboard and mouse.
    Thanks.
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.

  • Error when sending email from a web application that runs on GlassFish

    Hello all, I hope some can give me some hints on how to fix this problem.
    I have a web application built in Java that runs on GlassFish v3.
    The application uses a mail plugin that makes use of mail.jar
    Whenever I try to use the plugin to send an email out I get an error.
    The application is programmed to send emails from a gmail account, and I believe there is a problem with the SSL version that Googlemail is expecting.
    By the way, everything works fine if I run the web app on other servers like Jetty or Apache.
    The stacktrace I get from the log when the error occurs is as follows:
    INFO: 2009-05-08 19:48:57,500 [httpWorkerThread-8080-0] ERROR errors.GrailsExceptionResolver - org.springframework.mail.MailSendException: Mail server connection failed; nested exception is javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465;
    nested exception is:
    java.net.SocketException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl)
    org.codehaus.groovy.runtime.InvokerInvocationException: org.springframework.mail.MailSendException: Mail server connection failed; nested exception is javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465;
    nested exception is:
    java.net.SocketException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:431)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:337)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:250)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218)
    at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:883)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:732)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:554)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:485)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:377)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:250)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:250)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218)
    at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382)
    at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:250)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:250)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:250)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218)
    at org.apache.catalina.core.StandardWrapperValve.preInvoke(StandardWrapperValve.java:460)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:139)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:186)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:96)
    at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:142)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)
    at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:242)
    at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:180)
    at com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:633)
    at com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:570)
    at com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:827)
    at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:152)
    at com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:71)
    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)
    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)
    at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
    at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67)
    at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56)
    at com.sun.grizzly.util.WorkerThreadImpl.processTask(WorkerThreadImpl.java:325)
    at com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:184)
    Any help would be really appreciated... honestly I'm pretty stuck.
    Alex

    Hi Alex,
    Since I had a Gmail test servlet kicking around, I ran it on the latest V3 nightly build.
    On the first run, I encountered the following nested exceptions:
    javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465
    --> java.net.SocketException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl)
        --> java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl)
            --> java.security.UnrecoverableKeyException: Password must not be nullThe UnrecoverableKeyException is a manifestation of [https://glassfish.dev.java.net/issues/show_bug.cgi?id=6938|https://glassfish.dev.java.net/issues/show_bug.cgi?id=6938]
    I worked around this by adding the following JVM config options to domain.xml
    <jvm-options>-Djavax.net.ssl.keyStorePassword=changeit</jvm-options>
    <jvm-options>-Djavax.net.ssl.trustStorePassword=changeit</jvm-options> (Note: the default master password is "changeit")
    These lines are placed in /domain/configs/config/java-config of domain.xml for the particular server config you're using. There's only one server config in the default domain.xml shipped with V3. Then restart the server.
    I retested the code on both port 465 and 587, with and without the above config changes. Without the change, they both fail the same way, and with the change, they both work. Let me know if this helps.
    -Peter

  • "Net use" not working in application that runs as "system"

    Hello,
    I am trying to create an application object to distribute a program which
    during the setup procedure creates two local users on the workstation. I
    tried to set up the application to run as an unsecure system user and
    start the setup.exe. This method worked fine for quite a number of apps in
    the past.
    However this app needs a drive mapping to a windows 2003 server to start
    the setup.exe. Apparently under windows 2003 it is no longer possible to
    use the "net use" command when running a script as system user. I get
    system error 1312 "A specified logon session does not exist. It may have
    already been terminated". There seems to be no solution from microsoft
    since this is probably working as designed.
    In another similar situation I copied the complete setup directory to a
    novell drive, but in this case the setup procedure needs to write
    information into a database located on the windows server. I might be able
    to set up the application via snapshot and create the user accounts using
    a distribution script. But I would need the consent of the windows
    administrators since I need the passwords for those user accounts, and I
    am not sure that they are cooperative in this respect. Furthermore I get
    the feeling that this program is going to present a number of other
    problems and surprises which probably will make the snapshot method very
    tricky.
    Is there any solution or workaround for this problem?
    Any suggestions would be appreciated.

    1) It should not be an issue to run "Net Use" to authenticate to a Windows
    2003 server from an "Unsecure System Prompt". This is quite common.
    2) If the PC is in the domain already, this may be part of the issue since
    you are already authenticated to the domain. Try adding the Domain
    Workstation Object the proper rights.
    3) Does the "Setup.exe" expand to an MSI install in the temp directory? In
    such a case you could like create an MSI install that runs as a normal user
    but the Windows Install will allow for the elevated rights.
    Craig Wilson - MCNE, MCSE, CCNA
    Novell Support Forums Volunteer Sysop
    Novell does not officially monitor these forums.
    Suggestions/Opinions/Statements made by me are solely my own.
    These thoughts may not be shared either Novell or any rational human.
    "Anna Schmitz" <[email protected]> wrote in message
    news:BBvdi.3656$%[email protected]...
    > Hello,
    >
    > I am trying to create an application object to distribute a program which
    > during the setup procedure creates two local users on the workstation. I
    > tried to set up the application to run as an unsecure system user and
    > start the setup.exe. This method worked fine for quite a number of apps in
    > the past.
    >
    > However this app needs a drive mapping to a windows 2003 server to start
    > the setup.exe. Apparently under windows 2003 it is no longer possible to
    > use the "net use" command when running a script as system user. I get
    > system error 1312 "A specified logon session does not exist. It may have
    > already been terminated". There seems to be no solution from microsoft
    > since this is probably working as designed.
    >
    > In another similar situation I copied the complete setup directory to a
    > novell drive, but in this case the setup procedure needs to write
    > information into a database located on the windows server. I might be able
    > to set up the application via snapshot and create the user accounts using
    > a distribution script. But I would need the consent of the windows
    > administrators since I need the passwords for those user accounts, and I
    > am not sure that they are cooperative in this respect. Furthermore I get
    > the feeling that this program is going to present a number of other
    > problems and surprises which probably will make the snapshot method very
    > tricky.
    >
    > Is there any solution or workaround for this problem?
    >
    > Any suggestions would be appreciated.
    >
    >
    >
    >

  • I have an OpenGL application that run in a window. I would like to use this application and use its window in a VI interface. Note t

    hat I DON'T WANT TO OPEN the window application FROM the Labview VI BUT IN the Labview VI. I think it's possible to do that and to do communicate the OpenGL application with the Labview Interface using an ActiveX but I don't know how. Can someone help me ?You can answer the question or send it at [email protected]
    Regards.
    Cyril

    hat I DON'T WANT TO OPEN the window application FROM the Labview VI BUT IN the Labview VI. I think it's possible to do that and to do communicate the OpenGL application with the Labview Interface using an ActiveX but I don't know how. Can someone help me ?The desired behavior you desribed may not be possible with that application. In general LabVIEW does not offer a window object that other standalone applications can run it. The closest thing is the ActiveX container. If the programmers for your application created an activeX control of your program and they provided documentation, it should be pretty easy to incorperate the app and labview into one window. I recommend contacting the manufacuturer of the app to see if they have an activeX control version of the app.

  • LabVIEW 8.6 propositions on how to build application that acts like reader form specified field dependent on which values been selected

    Hello everyone!
    I am newbie to LabVIEW with some previous experience programming in different languages.
    My goal is to build the application that upon my selection needs to give specific values from previously filled and prepared file.
    For example, I have different types of operations (milling, drilling, turning..) and different grades (type) of steels (Uddeholm steel grades: NIMAX, IMPAX...and about 40 of them). For every operation there are different input data (Coated insert, uncoated). Based of those information application should give out cutting speed and feed rate data that are stored in some file. I understand I can do it in Excel spreadsheet or LV spreadsheet, I would prefer LV because of portability to systems without Office installed on them. I also understand that all those issues concerning input data for output results I can easily solve with case scenario.
    Main issue is decision between different types of files that I can easily address like 2D matrix to get required data, which and how to do it.
    I would like to know what I should acknowledge first before doing any further work?
    And does someone have some simply prepared VI on which I can work my way on?
    If you are willing to help me with guides I would be happy to answer any of your questions.
    Vedran Galeta

    Thank you very much for your reply.
    This application that I am working on is completely static due to communication. It simply needs to provide entry in table depending on selected inputs in front panel, and of course display it front panel. I know what I need to do, as well as the structure. Only thing that I don't know yet how to do it in LabVIEW.
    When I mentioned "LV spreadsheet" I meant on read from file option, you got that right.. The thing is that now I have large amounts (not large in acquisition data point of view, 5 spread sheets, with 45 rows and 15 columns) of data saved in Excell, and my goal would be to get that data in LabVIEW application, for the ease of access. And still leave that xls file as is, due to all connections that he have with smaller xls files. So in compact version of the story I am going to use save as comma separated (or tab, that depends of course) values from Excell with or without extra editing of created file in order to load that file into prepared program structure in LabVIEW. After I manage to do that, of course I will work my way for all other extras that I am gonna put eventually in program structure. So this would be like a backbone, I know it sounds simple. As a matter of fact I would probably be finnished allready in VB but highest demand is to do this in LabVIEW, and I am fully down with that.
    Regards,
    Vedran

  • Jar application wont run correctly for win7

    hi,
    i'm new to java and tried to make an application that detects the hard disks connected to my computer.
    i used native for accessing windows ioctls that i compiled in a .dll.
    the .jar i made is working in windows 2003 but when i tried it in windows 7, i can't detect the disks unless i run netbeans as administrator and then run the code.
    when i run the .jar in win7, it doesn't show the drives.
    is there any way to help me detect devices in windows 7? i don't know if its the dll or the jar.
    TIA

    Hi,
    I agree with Brain, base on my experience, that must your task schedule setting up incorrect, please notice the following third party article, focus on the “Solitaire” illustration
    “Run only if logged on” select option.
    The related third party article:
    How do I create a Scheduled Task in Windows Server 2003?
    http://onlinehelp.hostbasket.com/server-hosting/server-management/windows/1095-how-do-i-create-a-scheduled-task-in-windows-server-2003.html
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • App store and applications not running correctly on the 4GS

    I upgraded my iphone last night from the 4G to the 4GS,   I downloaded all of the updates and the back up.  today my phone is very slow, the APP store will not load, and other applications are running very slow or will not open.  I have rebooted my phone,  deleted apps such as netflix and face book re downloaded, earlier was able to, now I cannot.    Does anyone have any suggestions,    wondering why I upgraded my phone??????

    See [[Installing a previous version of Firefox]]
    If you are going to use Firefox 3.0, you should try the last version 3.0.19 rather than 3.0.1

  • To know application that run in the pc

    Hi, in from M�xico,
    my question is know applicattion that run in my pc, exist some class special? or if somebody know a tutorial where say mention something?.
    Sorry my bad english.
    Thanks :D

    sorry Paul for late answering here....
    I went thro the link u sent, check files & directories thro Command Prompt & find isqlplus is existing. But the problem still exist.
    Is there any other port nos. which may be used for isqlplus ?
    I tried to find out from the link, but cant find any other except Port No. 80.
    Now????

  • I would like a world atlas application that runs on imac/macbook without needing internet access

    Can anybody point me towards a world atlas/mapping application that does NOT need an internet connection. I particularly want to use it when planning international travel.

    You have so much junk, and I doubt that you know how to uninstall it.
    It's up to you what you do, I know what I would do  (but then I wouldn't stuff my Mac with junk in the first place)
    Good luck.

  • Error in 6.0.2 with building application that contains SPC vi

    I am attempting to build a .exe file with the app builder, I have a sub vi that includes SPC vi's the failing one is 'Vertical Bar Graph With Limits.vi'. It notes that 'Error 1 occured at this vi'. When I remove this sub vi the program complies fine, any suggestions?

    There's nothing about that VI I can imagine causing an error on build. You might try doing a force compile of your app to track it down. Try opening up your top level VI, hold CTRL+Shift and hit the run arrow at the same time. If it gives you a broken arrow, you can bring up the error list to try to find it. Maybe this will help locate the problem. If you haven't already, might not hurt to do a mass compile of the SPC VI's also.

  • Build Application That Will Run on XP & 7

    If I build an application using LabVIEW 2011, will it run on XP SP2 and Windows 7 (32bit)?
    Does it matter if I build my app using XP or 7?

    Yes.
    No.
    Caveat: Windows 7 has additional folder restrictions, so if you are trying to access folders like the C:\ drive, or C:\Program Files, then your application will not work properly under Windows 7. There's a parallel discussion going on right now regarding Windows 7 compatibility: http://forums.ni.com/t5/LabVIEW/Windows-7-compatibility/td-p/1764350
    The target machine needs the LabVIEW RunTime Engine.

  • Need help in creating a web application that runs on a stand alone sys.

    I am planning a small java web application complete with database. I need to know if there are any ways to deploy that application on a stand alone system and that if there is any way to make an executable for that application so that the user need not go through the process of deploying the app and starting the server whenever he restarts the system. Can anyone help me in this regard? Thanks in advance.

    Hi Alex,
    Since I had a Gmail test servlet kicking around, I ran it on the latest V3 nightly build.
    On the first run, I encountered the following nested exceptions:
    javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465
    --> java.net.SocketException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl)
        --> java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl)
            --> java.security.UnrecoverableKeyException: Password must not be nullThe UnrecoverableKeyException is a manifestation of [https://glassfish.dev.java.net/issues/show_bug.cgi?id=6938|https://glassfish.dev.java.net/issues/show_bug.cgi?id=6938]
    I worked around this by adding the following JVM config options to domain.xml
    <jvm-options>-Djavax.net.ssl.keyStorePassword=changeit</jvm-options>
    <jvm-options>-Djavax.net.ssl.trustStorePassword=changeit</jvm-options> (Note: the default master password is "changeit")
    These lines are placed in /domain/configs/config/java-config of domain.xml for the particular server config you're using. There's only one server config in the default domain.xml shipped with V3. Then restart the server.
    I retested the code on both port 465 and 587, with and without the above config changes. Without the change, they both fail the same way, and with the change, they both work. Let me know if this helps.
    -Peter

Maybe you are looking for

  • Unable print scheduled report on network printer using BOEXI 3.0

    Hi, I'm unable to print a scheduled report on network printer using BOE XI 3.0. I get the following error Error Message: Error in File ~ce6a054be1a25b52.rpt: Request cancelled by the user. ] Has anyone encountered this kind of problem and know what t

  • Expert for hire needed

    I am in charge of rapidly building a large database-driven website using Dreamweaver/PHP/MySQL.  I am familiar with data-driven sites for many years with GoLive.  Now I'm using Dreamweaver CS3 and am getting a pretty good handle on it.  But I am havi

  • Loading content into project/timeline from http listener

    Hi I have an application which helps producers/researchers browse and search for video assets. Once they have located one or more assets, I would like to be able to "push" them over to Premiere Pro. The browser is written in Silverlight, so the only

  • Resizing w/ iPhoto

    I have been trying to resize uploaded photos with iPhoto. However, I am unable to see any resizing buttons or functions. How do you normally resize your pics using iPhoto? iMac (newest)   Mac OS X (10.4.9)  

  • IPhoto Library file reduced by 44GB!

    Hi everyone, I had a 80GB iPhoto Library under ~/Pictures. I exported all my photos into a folder separating into folders with the names of the events. Then I moved the old iPhoto Library somewhere else, created a new iPhoto Library and imported back