Labview 8.2.1 RT Build Deployment Error

Hello,
I am trying to build a simple RT application. However, I get an error stating that there is an "error in invoking the build engine.....check for broken VIs".
However, I have created a simple application with just a string constant wired to a string indicator.
I have attached a screen shot of my error.
Any ideas?
Thanks.
Attachments:
RT Build Deployment Error.JPG ‏99 KB

Hi Somit,
Thanks for posting on the discussion forums.  The most common solution to this error is to repair your LabVIEW installation.  If you are using Windows XP you can do this by going to Control Panel, then to Add/Remove Programs, selecting the National Instruments software tab, and then the Change/Remove button.  From the populated list of programs that opens in the new window you can perform a repair on your LabVIEW 8.2.1 (this may take a while and you will need the cds).  I hope this helps out.  Have a great day!
Regards,
Michael
Applications Engineering
National Instruments

Similar Messages

  • Webdynpro 加载project,build和deploy出现error

    Dear All:
           我有一个工程加载进webdynpro,用improt找不到工程名。
        我只能创建一个新的工程,然后再将要加载的工程的文件拷贝到这个新工程的目录下,经过 build 和deploy后,出现以下错误:
    11-Mar-2009 17:59:06 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [003]Deployment aborted
    Settings
    SDM host : centsdv2
    SDM port : 50218
    URL to deploy : file:/d:/DOCUME1/lwbnwang/LOCALS1/Temp/temp16983com.chrms.crystal~pmp_approve_appraisals.ear
    Result
    => deployment aborted : file:/d:/DOCUME1/lwbnwang/LOCALS1/Temp/temp16983com.chrms.crystal~pmp_approve_appraisals.ear
    Aborted: development component 'pmp_approve_appraisals'/'com.chrms.crystal'/'LOKAL'/'0.2009.03.11.17.57.07'/'0':
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application com.chrms.crystal/pmp_approve_appraisals.. Reason: Clusterwide exception: Failed to deploy application com.chrms.crystal/pmp_approve_appraisals. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?; nested exception is:  com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to deploy application com.chrms.crystal/pmp_approve_appraisals. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Deployment exception : The deployment of at least one item aborted

    LZ这个问题的出现有可能是因为deploy的project中引用了其他project或者其他public的内容,
    所以建议把相关的一起build和deploy。如果没有以上情况,那么试下重启SDM或者Server再部署。

  • Web UI Builder server error

    Hello mates,
    I just started using LabVIEW Web UI Builder, and, after activation I was trying to complete the first tutorial to get used to the application (http://zone.ni.com/reference/en-XX/help/373286A-01/uibuilder/wuib_gsg2/), but when I am trying to build the VI as the thin-client application I get an error that says:
    “Error:
    The LabVIEW Web UI Builder server is not responding.
    Suggestions:
    Refer to status.niwsc.com to see if any downtime is scheduled. If no downtime is scheduled, get support from National Instruments by visiting users.niwsc.com/help.
    Other Information...
    System.Net.WebException: [HttpWebRequest_WebException_RemoteServer]
    Arguments: NotFound
    Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=5.1.20913.0&File=System.Windows.dll&Key=HttpWe... ---> System.Net.WebException: [HttpWebRequest_WebException_RemoteServer]
    Arguments: NotFound
    Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=5.1.20913.0&File=System.Windows.dll&Key=HttpWe...
    at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
    at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClassa.<EndGetResponse>b__9(Object sendState)
    at System.Net.Browser.AsyncHelper.<>c__DisplayClass4.<BeginOnUI>b__1(Object sendState)
    --- End of inner exception stack trace ---
    at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
    at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
    at NationalInstruments.Web.NiDotComServices.Base.HttpServiceRequest.<>c__DisplayClass4.<GetResponseStreamAsync>b__3(IAsyncResult asyncResult)”
    I am checking the server status and it seems working fine, isn't it?
    I am guessing if the server is working alright I am having some other problem.
    I’m only tyring to build to the PC, so it shouldn’t be a problem with clientaccesspolicy.xml, right?
    I tried both storaging the files in my PC and in the NI Web Storage.
    Also tried both using the Web Builder from my browser and downloaded to my computer.
    Could anybody help me with that? Thanks in advance!
    Alejandro Asensio, CLAD
    Solved!
    Go to Solution.

    Hi KiraT!
    Thank you very much for your answers. It seems finally I bother you without reason... since this morning I just switched on my computer to try some of your suggestions... and it worked on first attempt! Without changing anything! So I guess I'll never know the reason. Maybe it was logging out and in again (although I don't think so since I tried yesterday in 2 different PCs and, in order to activate my account in the other PC I had to log out from my base PC and then I logged in again).
    Anyway, I'm going to answer to your previous post just in case the information helps if anybody has the same error in the future:
    At what point in the build do you receive this error? Just at the beginning. When you click on Build & Deploy, and then in the new window you choose the vix file to use as Start up VI, then choose the deployment destination and press "Build" So just after that.
    Do you have any firewalls turned on?  I had yesterday... and I have them now.
    Any anti virus software that could be blocking this connection?  Idem
    What operating system are you using?  If you are on Windows, in your services list located in services.msc, what is the status of the NI System Web Server? Windows 7 Prof 64 bits. The NI System Web Server status is Started.
    When you log in to the NI Cloud Services Portal, are your services properly listed and activated? Yes, they were and they are.
    Thanks for your support!
    Alejandro Asensio, CLAD

  • Build installer error code -12 while copying distribution

    Hello all you helpful forum-goers!
    I am having problems building an installer for my product now that I have upgraded to LabVIEW 2010 from 8.5.1.  My project has an executable build, and then 3 installer builds which put a different value in the registry indicating the permissions level of the executable: Basic, Full, and Ultimate.
    When I try to build the Full version, I get the following error:
    CDK_Build_Invoke.vi.ProxyCaller >> CDK_Build_Invoke.vi >> CDK_Engine_Main.vi >> IB_MSI.lvclass:Build.vi >> IB_MSI.lvclass:Engine_Build.vi >> NI_MDF.lvlib:MDFDistCopyList_CopyItem.vi
    Adding files to installer
    Done adding files
    Preparing to build deployment
    Copying products from distributions
    Copying distribution 'Williams International - Engine Maintenance Terminal (WI_EMT) Ultimate' from: C:\CP356\WI_EMT Ultimate Installer\ to: C:\Documents and Settings\All Users\Application Data\National Instruments\MDF\ProductCache\
    *** Error: Windows SDK function returned an error. (Error code -12)
    The system cannot find the path specified.
    *** Error Details:
    Error in MDF API function: _MDFDistCopyList_CopyItem
    Windows function FindFirstFile returned an error. Error code: 3
    *** End Error Report
    Done building deployment
    The weird part is the "from" path doesn't exist, but C:\CP356\ does contain my project's files (including some sub-directories).  But even if it did, I have no idea why the Ultimate version is referenced when I am building the Full version.  I just tried building the Ultimate installer, and got the same error.
    Stranger yet, this error goes away if I stop trying to include NI-VISA Runtime 5.0 in the additional installers section of my installer.  The only other "additional installer" I have checked is the LabVIEW 2010 Runtime Engine.  The VISA Runtime is required for my product, so I can't just leave it unchecked.  Another clue is that the VISA Runtime's Installer Source Location is listed as D:\, my DVD drive.  But even when I put the Device Drivers DVD in the drive, I get the same error when building.
    I've tried looking in the Device Drivers DVD, but it says that the VISA Runtime 5.0 is already installed on my computer; I forget the exact path it listed, but I can get it again if that would help someone.  But I couldn't figure out how to change the source location to tell it to get that installer locally.
    Based on the posts I've found in this forum for error code -12, I also created a new Build Specification for the Full installer and set all the same options as the previous one, in case something about it got corrupted when I upgraded, but it didn't seem to make a difference.
    I would very much appreciate any insight anyone has on how to fix or get around this issue!
    Thanks,
    -Joe
    Solved!
    Go to Solution.

    Paul,
    Thanks for the reply!  I looked at the knowledge base article, and followed it to the .NET 3.5 install page, and from there to the .NET 4.0 install page (figuring the later version the better), downloaded that and selected to "repair" my .NET 4.0 installation.  It looked like it did thing for a while (was something broken? ;-)), but no change to my problem afterwards.
    The other item in the article was a particular virus protection software, which I do not use.  McAfee anti-virus is installed on my system, but it is controlled by our IT department and therefore is harder to change than usual.  It has been installed the entire time I have used LabVIEW on my computer with no problems prior to this, but I will contact them to see if they could put LabVIEW on an exception list anyway next.
    Since I couldn't do that immediately, I copied the NI-VISA_Runtime folder off of my Device Drivers DVD onto my desktop, used it to uninstall NI-VISA Runtime 5.0, and then reinstalled it.  However, this did not fix the problem, or even change the additional installer properties for that item - it still says the source location is D:\.
    Do you have any other suggestions for things I can try?  I very much appreciate your assistance!
    Thanks,
    Joe

  • 10.1.3 HumanTask Forms deployment error is it a BUG

    Hi,
    Any one I am getting the following error. I have installed SOA 10.1.3 Midtier and am using OID as security provider. Now I am trying DocumentReview Sample but am getting the following error:
    Buildfile: C:\Oracle_Software\1013\soa\bpel\samples\demos\DocumentReview\build.xml
    validateTask:
    [echo]
    | Validating workflow
    [validateTask] url is file:/C:/Oracle_Software/jdevstudio10132/integration/bpm/support/files/WorkflowTaskDefinition.xsd
    [validateTask] Validation of workflow task definitions is completed without errors
    deployProcess:
    [echo]
    | Deploying bpel process DocumentReview on localhost, port 7779
    [deployProcess] Deploying process C:\Oracle_Software\1013\soa\bpel\samples\demos\DocumentReview\output\bpel_DocumentReview_1.0.jar
    [deployProcess] Successfully deployed the process "DocumentReview" on server "localhost" and port "7779"
    deployTaskForm:
    [echo]
    | Deploying workflow form for DocumentReview on localhost, port 7779
    [deployTaskForm] 07/07/07 08:25:19 Notification ==>Application Deployer for default_DocumentReview_1_0_DocumentReview STARTS.
    [deployTaskForm]
    [deployTaskForm] 07/07/07 08:25:19 Notification ==>Operation failed with error:
    [deployTaskForm] parent application (orabpel) is not found!
    [deployTaskForm]
    [deployTaskForm]
    [deployTaskForm]
    [deployTaskForm] Deploy error: Deploy error: Operation failed with error:
    [deployTaskForm] parent application (orabpel) is not found!
    [deployTaskForm]
    [deployTaskForm]
    BUILD FAILED
    C:\Oracle_Software\1013\soa\bpel\samples\demos\DocumentReview\build.xml:98: Error while deploying the form on server "localhost" Error message :
    java.lang.SecurityException
         at oracle.ide.IdeCore$7.checkExit(IdeCore.java:177)
         at java.lang.Runtime.exit(Runtime.java:88)
         at java.lang.System.exit(System.java:868)
         at oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.executeCommand(Oc4jAdminCmdline.java:127)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployIAS(DeployForm.java:750)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployForm(DeployForm.java:548)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployForms(DeployForm.java:814)
         at com.collaxa.cube.ant.taskdefs.DeployForm.execute(DeployForm.java:840)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
         at org.apache.tools.ant.Task.perform(Task.java:364)
         at org.apache.tools.ant.Target.execute(Target.java:341)
         at org.apache.tools.ant.Target.performTasks(Target.java:369)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
         at oracle.jdevimpl.ant.runner.AntLauncher.launch(AntLauncher.java:321)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter.runAnt(InProcessAntStarter.java:295)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter.mav$runAnt(InProcessAntStarter.java:43)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter$1.run(InProcessAntStarter.java:71)
    Total time: 45 seconds
    Thanks for any feedbacks.

    Hi HEWizard,
    I have set the ORACLE_HOME that points to SOA install directory i.e.
    C:\Documents and Settings>echo %ORACLE_HOME%
    C:\Oracle_Software\1013\soa
    One more thing is that if I install the Developer Version and even though the ORACLE_HOME is not set this works fine i.e. DocumentReview it's only that in the Midtier install version it doesn't work.
    The BPELProcess gets deployed and even the task is assigned but when logging into worklist and selecting the task I see the following error:
    Not Found
    The requested URL /default/DocumentReview/1.0/DocumentReview/DocumentReview.jsp was not found on this server.
    Oracle-Application-Server-10g/10.1.3.1.0 Oracle-HTTP-Server Server at localhost Port 7779
    It's because at deployment time I get that security error and parent application not found and it never deploys the jsp's. Now in the logs I don't see anything. It's only in JDeveloper I see those errors at deployment time. Here is the domain.log:
    <2007-07-07 18:22:44,500> <INFO> <default.collaxa.cube> <ServerManager::loadDomain>
    Oracle BPEL Server version 10.1.3.1.0
    Build: 0
    Build time: Mon Oct 09 08:44:49 PDT 2006
    Build type: release
    Source tag: PCBPEL_10.1.3.1.0_GENERIC_061009.0802
    <2007-07-07 18:22:45,140> <INFO> <default.collaxa.cube.engine> <CubeEngine::load>
    Initializing BPEL domain from descriptor file
    "C:\Oracle_Software\1013\soa\bpel\domains\default\config\domain.xml"
    <2007-07-07 18:22:45,406> <INFO> <default.collaxa.cube.engine> <gsDomainSchemaManager::validateCompatibility> Detected database version '2.0.51'
    <2007-07-07 18:22:45,406> <INFO> <default.collaxa.cube.engine> <AdaptorManager::load> Loaded adaptors for platform 'ias_10g', datasource 'oracle'
    <2007-07-07 18:22:47,656> <INFO> <default.collaxa.cube.engine> <AdapterStats::init:Done initializing Adapter statistics holder for engine > default
    <2007-07-07 18:22:47,656> <INFO> <default.collaxa.cube.engine> <CubeEngine::init>
    OraBPEL "default" BPEL domain loaded.
    <2007-07-07 18:22:53,046> <INFO> <default.collaxa.cube.engine> <CubeEngine::loadAllProcesses>
    Loading processes for BPEL domain "default" ...
    <2007-07-07 18:22:55,500> <INFO> <default.collaxa.cube.engine.deployment> Process "TaskManager" (revision "1.0") successfully loaded.
    <2007-07-07 18:22:57,234> <INFO> <default.collaxa.cube.engine.deployment> Process "TaskActionHandler" (revision "1.0") successfully loaded.
    <2007-07-07 18:22:57,953> <INFO> <default.collaxa.cube.engine.deployment> Process "DocumentReview" (revision "1.0") successfully loaded.
    <2007-07-07 18:22:58,000> <INFO> <default.collaxa.cube.engine> <CubeEngine::loadAllProcesses>
    3 processes have been loaded for BPEL domain "default".
    <2007-07-07 18:23:33,062> <INFO> <default.collaxa.cube.services> <QuartzPublisherInit::init> Notification Retry publisher scheduled at every 15 minute(s)
    <2007-07-07 18:26:23,500> <INFO> <default.collaxa.cube.compiler> validating "C:\Oracle_Software\1013\soa\bpel\domains\default\tmp\.bpel_DocumentReview_1.0_e61483a0d5e873d381ae6bfbeaed5c60.tmp\DocumentReview.bpel" ...
    <2007-07-07 18:26:30,671> <INFO> <default.collaxa.cube.engine.deployment> <CubeProcessFactory::generateProcessClass>
    Process "DocumentReview" (revision "1.0") successfully compiled.
    <2007-07-07 18:26:30,750> <INFO> <default.collaxa.cube.engine.deployment> Process "DocumentReview" (revision "1.0") successfully loaded.
    Now even though the log says process deployed successfully it only deploys the BPEL Process but no jsp forms deployed. I hope there's nothing special we have to do. This issue can be recreated by installing the Midtier version of SOA and configure it with OID and then try deploying DocumentReview Process provided in the demos.
    I hope I have provided all the information.
    Thanks and waiting for a feedback as we have to decide on whether we go using BPEL 10.1.3 and this is a critical piece of it.

  • Deployment error while running the application

    Hi Every body,
    I am new to JEE though an old pro at JDK.I have also worked on tomcat.
    I have got Sun Java System Application Server 9.1 installed with NetBeans 6.1 on winXP.
    I am trying to create a EJB app-client module.I even tried to run the sample application AnnotationOverrideInterceptor given in NetBeans . Every thing goes fine.The Build is also Successful but when i run it, i recieve the error message Deployment error .The module has not been deployed.
    See the server log for details.
    I am posting a part of server log stack.:
    Application server startup complete.
    [AutoDeploy] Selecting file C:\Program Files\glassfish-v2-b53\domains\domain1\autodeploy\amserver.war for autodeployment.
    Initializing Sun's JavaServer Faces implementation (1.2_04-b19-p03) for context ''
    javax.ejb.EJB.description()Ljava/lang/String;
    Exception occured in J2EEC Phasejava.lang.IllegalStateException: javax.ejb.EJB.description()Ljava/lang/String;at com.sun.enterprise.deployment.annotation.AnnotationInfo@49bed2
    com.sun.enterprise.deployment.backend.IASDeploymentException: Error loading deployment descriptors for module [AnnotationOverrideInterceptor] -- javax.ejb.EJB.description()Ljava/lang/String;at com.sun.enterprise.deployment.annotation.AnnotationInfo@49bed2
    at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:388)
    at com.sun.enterprise.deployment.backend.AppDeployerBase.loadDescriptors(AppDeployerBase.java:358)
    at com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:226)
    at com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.java:148)
    at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:191)
    at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:905)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:279)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:774)
    at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:187)
    at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:223)
    Caused by: java.lang.IllegalStateException: javax.ejb.EJB.description()Ljava/lang/String;at com.sun.enterprise.deployment.annotation.AnnotationInfo@49bed2
    at com.sun.enterprise.deployment.archivist.Archivist.readAnnotations(Archivist.java:363)
    at com.sun.enterprise.deployment.archivist.Archivist.readDeploymentDescriptors(Archivist.java:318)
    at com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:213)
    at com.sun.enterprise.deployment.archivist.ApplicationArchivist.readModulesDescriptors(ApplicationArchivist.java:321)
    at com.sun.enterprise.deployment.archivist.ApplicationArchivist.open(ApplicationArchivist.java:238)
    at com.sun.enterprise.deployment.archivist.ApplicationArchivist.openArchive(ApplicationArchivist.java:763)
    at com.sun.enterprise.deployment.archivist.ApplicationArchivist.openArchive(ApplicationArchivist.java:744)
    at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:349)
    ... 10 more
    Caused by: javax.ejb.EJB.description()Ljava/lang/String;at com.sun.enterprise.deployment.annotation.AnnotationInfo@49bed2
    at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:360)
    at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:368)
    at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.processAnnotations(AnnotationProcessorImpl.java:282)
    at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.processAnnotations(AnnotationProcessorImpl.java:264)
    at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:192)
    at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:129)
    at com.sun.enterprise.deployment.archivist.Archivist.processAnnotations(Archivist.java:445)
    at com.sun.enterprise.deployment.archivist.Archivist.readAnnotations(Archivist.java:346)
    ... 17 more
    Caused by: java.lang.NoSuchMethodError: javax.ejb.EJB.description()Ljava/lang/String;
    at com.sun.enterprise.deployment.annotation.handlers.EJBHandler.processNewEJBAnnotation(EJBHandler.java:276)
    at com.sun.enterprise.deployment.annotation.handlers.EJBHandler.processEJB(EJBHandler.java:143)
    at com.sun.enterprise.deployment.annotation.handlers.EJBHandler.processAnnotation(EJBHandler.java:98)
    at com.sun.enterprise.deployment.annotation.handlers.AbstractResourceHandler.processAnnotation(AbstractResourceHandler.java:119)
    at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:337)
    ... 24 more
    Please help as i am trying the google and many other to find solution but i am unable to move forward.I am stuck up at this for last 15 days.It is very frustrating.
    I haven't posted the full log as it is very long.I can post the entire server log, if asked for.
    Please help
    yoodleyee

    Hi jwenting,
    Thanks alot for replying.
    But i am still unable to come out of the mess.Here is the program i am using please help me find out the error.
    Here we go:
    package hello;
    import javax.ejb.Stateless;
    @Stateless
    public class HelloBean implements HelloRemote {
    private String name="Yoodleyee";
    public String sayHello() {
    //return null;
    return "My Name is "+name;
    // Add business logic below. (Right-click in editor and choose
    // "EJB Methods > Add Business Method" or "Web Service > Add Operation")
    package hello;
    import javax.ejb.Remote;
    @Remote
    public interface HelloRemote {
    String sayHello();
    In the Hello-app-client module i have main()==>>
    package hello;
    import javax.ejb.EJB;
    public class Main {
    @EJB
    private static HelloRemote helloBean;
    * @param args the command line arguments
    public static void main(String[] args) {
    // TODO code application logic here
    System.out.println("Hi "+helloBean.sayHello());
    since this program does not require deployment descriptor and also NetBean creates its own deployment discriptor hence i have not written any.
    Please tell me where and waht i should change.Also tell me is diployment descriptor necessary.
    Awaiting for the reply.
    yoodleyee

  • I Often get  Deployment Errors is it necessary to reinstall every time JSC2

    Hi i am using JSC2 update 1, but i am not satisfied with this IDE, Because it often shows deployment error when i run my application and really it irritates me. Till Now i have downloaded and reinstalled it for Five times but it still showing errors. I am always busy with rectifying the errors in IDE rather than using it for developing applications. Even i have tried all possibilities to rectify it but it wont. Please can you suggest me a good IDE for developing Database based web applications. Its really tough to continue to work with JSC2 update 1.
    Any help please i am really frustrated by using JSC2 update 1 IDE.

    Exception=Deployment error: Deployment timed out after 240 seconds.. See the server log file for details.
    Deployment error: Deployment timed out after 240 seconds.. See the server log file for details.
    at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:198)
    at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:75)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
    at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:234)
    at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:242)
    at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:125)
    Caused by: java.lang.RuntimeException: Deployment timed out after 240 seconds.
    at org.netbeans.modules.j2ee.deployment.impl.TargetServer.sleep(TargetServer.java:521)
    at org.netbeans.modules.j2ee.deployment.impl.TargetServer.handleDeployProgress(TargetServer.java:932)
    at org.netbeans.modules.j2ee.deployment.impl.TargetServer.handleDeployProgress(TargetServer.java:912)
    at org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:596)
    at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:188)
    ... 10 more
    C:\Documents and Settings\SRNI\My Documents\Creator\Projects\MusicAdd\nbproject\build-impl.xml:491: Deployment error: Deployment timed out after 240 seconds.. See the server log file for details.
    BUILD FAILED (total time: 10 minutes 2 seconds)
    This is the error i often get and i always use to rectify it.
    1) I have stopped my norton Antivirus software and restarted my sun java application server.
    2) I have checked whether there is any port conflicts by typing netstat -a on command prompt. But it shows that 29080 is LISTENING. but when i try it will show again the same error.
    3) i have checked for usernames and passwords also.
    I was left with only one option that is if any application is corrupted or not , but i dont know how to check it.
    can i use any other port no in place of 29080 or i have to use that port only. please help me Roman.
    Thanking you in Advance.

  • Build exception error

    After converting a LV7 application to a LV8 project and attempting a build, the following message appears:
    CDK_Build_Invoke.vi.ProxyCaller >> CDK_Build_Invoke.vi >> CDK_Engine_Main.vi >> CDK_Engine_Build.vi >> NI_MDF.lvlib:MDFBuildDist_Build.vi
    Loading product deployment information
    Adding files to installer
    Done adding files
    Preparing to build deployment
    Copying products from distributions
    Building deployment
    Copying setup files
    Setting merged database information
    Setting product information
    Setting developer part information
    Starting final build
    *** Error: Caught an exception of an unknown type. (Error code -1)
    *** End Error Report
    Done building deployment
    Has anyone run into this before, and know how to get rid of it?
    Any help appreciated... Dave Gardner

    Hello Dave,
    Do you have some invalid filename characters such as / \ : * ? " > < | in your executable filname, because this could cause this problem.
    If your filname contains such characters please remove it and it should work!
    Regards, Christian

  • Deployment error with sun app server 8.2

    hi,
    i'm a newbieto java programming.
    i'm following the j2ee tutorial.
    but i'm stuck when deploying
    could anyone help me on this?
    thanks in advance.
    Distributing /opt/CustomerBook/dist/customerbook.ear to [localhost:4848_server]
    Unable to construct properties list for: getConnectionPoolProperties
    deployment started : 0%
    Deployment error: Deployment timed out after 120 seconds.. See the messages.log file for details.
    /opt/CustomerBook/nbproject/build-impl.xml:219: Deployment error: Deployment timed out after 120 seconds.. See the messages.log file for details.
    BUILD FAILED (total time: 2 minutes 54 seconds)
    EXECUTION SECTION
    =================
    line 219:
    ** <nbdeploy clientModuleUri="${client.module.uri}" clientUrlPart="${client.urlPart}" forceRedeploy="${forceRedeploy}" debugmode="false"/>**

    For future references:
    this happens to me too and I found that the cause is that the AM server you are going to configure, is already registered into the directory server.
    Try running this command (with the obvious parameters substituted)
    ldapsearch -B -T -D 'cn=directory manager' -w YOUR_CREDENTIALS -b ou=1.0,ou=iPlanetAMPlatformService,ou=services,YOUR_BASEDN -s base objectclass=* | grep YOUR_SERVERNAMEIf you found that the server you are configuring is listed here try going to AMserver console (if you have another AMserver configured) and browse to Configuration->System Properties->Platforms. If the server is here, remove it, if not, just hit Save (very important).
    If this is your first AM and is a first installation you can just get rid of the Directory Server suffix and recreate it with the Top Entry alone.
    Edited by: flistello on Mar 27, 2008 4:30 PM

  • Deployment error on netBeans 4.1

    Hi folks,
    I'm facing a problem. I try to create a project on netBeans 4.1 and after create it, I added JSP codes that from another project. When I try to run it, I got the problem saying:
    .......nbproject\build-impl.xml:355: Deployment error: null. See the server log file for details.
    Openning the file build-impl.xml on line noted I got:
    <nbdeploy forceRedeploy="${forceRedeploy}" clientUrlPart="${client.urlPart}" debugmode="false"/>
    I was worried that this could be being generated by my code, so, I create a new web project. After that I just run the index.jsp with no one modification and this error is still happening.
    Any clue?
    Thanks.

    Thanks Richard
    First thanks for the tip of not needing to convert the XML to String, I had no clue : )
    My error was Unexpected namespace!
    But Unexpected namespace?? That's sure unexpected.. All my source XML have the attribute xmlns set by hand to xmlns="http://ns.adobe.com/textLayout/2008". So I just tried to set the namespace with xml.setNamespace("http://ns.adobe.com/textLayout/2008"); and it didn't RTE anymore. But I got some extra problems here, my website was 490kb size and now is 170Kb!
    Well I will keep working on it and update this page.
    That would be the correct way to set TextLayout's namespace right? xml.setNamespace("http://ns.adobe.com/textLayout/2008"); ??
    Thanks again richard

  • Deployment Error on sap-j2ee engine

    Hi
    I build an EJB project,Web project and added these to EAR project and built an '.ear' file. When i tried to deploy on sapj2ee engine. I got the following deployment error.
    My j2ee engine is up and running. What went wrong?
    Help me,
    Thanks
    ==========
    May 24, 2006 5:39:51 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [003]Deployment aborted
    Settings
    SDM host : sapep
    SDM port : 50018
    URL to deploy : file:/C:/DOCUME1/ADMINI1/LOCALS~1/Temp/temp22811JCP_EAR.ear
    Result
    => deployment aborted : file:/C:/DOCUME1/ADMINI1/LOCALS~1/Temp/temp22811JCP_EAR.ear
    Aborted: development component 'JCP_EAR'/'sap.com'/'localhost'/'2006.05.24.15.58.19':
    Caught exception during access of archive "D:\usr\sap\QN7\DVEBMGS00\SDM\root\origin\sap.com\JCP_EAR\localhost\2006.05.24.15.58.19\temp22811JCP_EAR.ear":
    java.lang.RuntimeException: ERROR: Cannot initialize EARReader: com.sap.engine.services.deploy.exceptions.BaseIOException: Cannot convert EAR D:\usr\sap\QN7\DVEBMGS00\SDM\root\origin\sap.com\JCP_EAR\localhost\2006.05.24.15.58.19\temp22811JCP_EAR.ear to J2EE 1.3.Exception is: com.sap.engine.services.deploy.exceptions.BaseIOException: Cannot convert EAR D:\usr\sap\QN7\DVEBMGS00\SDM\root\origin\sap.com\JCP_EAR\localhost\2006.05.24.15.58.19\temp22811JCP_EAR.ear to J2EE 1.3.
         at com.sap.engine.services.deploy.converter.EARConverter.convert(EARConverter.java:185)
         at com.sap.engine.deploy.manager.DeployManagerImpl.setEar(DeployManagerImpl.java:444)
         at com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.initDeployManager(EngineApplOnlineDeployerImpl.java:300)
         at com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performDeployment(EngineApplOnlineDeployerImpl.java:134)
         at com.sap.sdm.serverext.servertype.inqmy.extern.EngineDeployerImpl.deploy(EngineDeployerImpl.java:96)
         at com.sap.sdm.serverext.servertype.inqmy.EngineProcessor.executeAction(EngineProcessor.java:224)
         at com.sap.sdm.app.proc.deployment.impl.PhysicalDeploymentActionExecutor.execute(PhysicalDeploymentActionExecutor.java:60)
         at com.sap.sdm.app.proc.deployment.impl.DeploymentActionImpl.execute(DeploymentActionImpl.java:186)
         at com.sap.sdm.app.proc.deployment.controllers.internal.impl.DeploymentExecutorImpl.execute(DeploymentExecutorImpl.java:46)
         at com.sap.sdm.app.proc.deployment.states.eventhandler.ExecuteDeploymentHandler.executeAction(ExecuteDeploymentHandler.java:83)
         at com.sap.sdm.app.proc.deployment.states.eventhandler.ExecuteDeploymentHandler.handleEvent(ExecuteDeploymentHandler.java:60)
         at com.sap.sdm.app.proc.deployment.states.StateBeforeNextDeployment.processEvent(StateBeforeNextDeployment.java:127)
         at com.sap.sdm.app.proc.deployment.states.InstContext.processEventServerSide(InstContext.java:73)
         at com.sap.sdm.app.proc.deployment.states.InstContext.processEvent(InstContext.java:59)
         at com.sap.sdm.app.sequential.deployment.impl.DeployerImpl.doPhysicalDeployment(DeployerImpl.java:119)
         at com.sap.sdm.app.sequential.deployment.impl.DeployerImpl.deploy(DeployerImpl.java:88)
         at com.sap.sdm.apiimpl.local.DeployProcessorImpl.deploy(DeployProcessorImpl.java:74)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.sdm.is.cs.remoteproxy.server.impl.RemoteProxyServerImpl.requestRemoteCall(RemoteProxyServerImpl.java:127)
         at com.sap.sdm.is.cs.remoteproxy.server.impl.RemoteProxyServerImpl.process(RemoteProxyServerImpl.java:38)
         at com.sap.sdm.apiimpl.remote.server.ApiClientRoleCmdProcessor.process(ApiClientRoleCmdProcessor.java:84)
         at com.sap.sdm.is.cs.session.server.SessionCmdProcessor.process(SessionCmdProcessor.java:67)
         at com.sap.sdm.is.cs.cmd.server.CmdServer.execCommand(CmdServer.java:76)
         at com.sap.sdm.client_server.launch.ServerLauncher$ConnectionHandlerImpl.handle(ServerLauncher.java:286)
         at com.sap.sdm.is.cs.ncserver.NetCommServer.serve(NetCommServer.java:43)
         at com.sap.sdm.is.cs.ncwrapper.impl.ServiceWrapper.serve(ServiceWrapper.java:39)
         at com.sap.bc.cts.tp.net.Worker.run(Worker.java:50)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: java.io.IOException: The following archives that aredescribed in the ear descriptor are not found in the ear:      JCP_EJB.jar,Please check the ear content.
         at com.sap.engine.services.deploy.extended.ear.ExtendedEARReader.checkDescriptor(ExtendedEARReader.java:805)
         at com.sap.engine.services.deploy.extended.ear.ExtendedEARReader.getDescriptor(ExtendedEARReader.java:324)
         at com.sap.engine.services.deploy.extended.ear.ExtendedEARReader.<init>(ExtendedEARReader.java:87)
         at com.sap.engine.services.deploy.converter.EARConverter.convert(EARConverter.java:85)
         ... 30 more
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).null)
    Deployment exception : The deployment of at least one item aborted

    Hi Amol!
    The password is admin for SDM, i redployed by building '.ear' file again.
    You suggested to deploy the ear file on SDM remote gui, how to do that?
    help me
    Thanks
    ==========
    I got the error as:
    May 25, 2006 11:22:11 AM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [001]Deployment aborted
    Settings
    SDM host : sapep
    SDM port : 50018
    URL to deploy : file:/C:/DOCUME1/ADMINI1/LOCALS~1/Temp/temp11022JCP_EAR.ear
    Result
    => deployment aborted : file:/C:/DOCUME1/ADMINI1/LOCALS~1/Temp/temp11022JCP_EAR.ear
    Aborted: development component 'JCP_EAR'/'sap.com'/'localhost'/'2006.05.25.11.17.51':
    Caught exception during access of archive "D:\usr\sap\QN7\DVEBMGS00\SDM\root\origin\sap.com\JCP_EAR\localhost\2006.05.25.11.17.51\temp11022JCP_EAR.ear":
    java.lang.RuntimeException: ERROR: Cannot initialize EARReader: com.sap.engine.services.deploy.exceptions.BaseIOException: Cannot convert EAR D:\usr\sap\QN7\DVEBMGS00\SDM\root\origin\sap.com\JCP_EAR\localhost\2006.05.25.11.17.51\temp11022JCP_EAR.ear to J2EE 1.3.Exception is: com.sap.engine.services.deploy.exceptions.BaseIOException: Cannot convert EAR D:\usr\sap\QN7\DVEBMGS00\SDM\root\origin\sap.com\JCP_EAR\localhost\2006.05.25.11.17.51\temp11022JCP_EAR.ear to J2EE 1.3.
         at com.sap.engine.services.deploy.converter.EARConverter.convert(EARConverter.java:185)
         at com.sap.engine.deploy.manager.DeployManagerImpl.setEar(DeployManagerImpl.java:444)
         at com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.initDeployManager(EngineApplOnlineDeployerImpl.java:300)
         at com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performDeployment(EngineApplOnlineDeployerImpl.java:134)
         at com.sap.sdm.serverext.servertype.inqmy.extern.EngineDeployerImpl.deploy(EngineDeployerImpl.java:96)
         at com.sap.sdm.serverext.servertype.inqmy.EngineProcessor.executeAction(EngineProcessor.java:224)
         at com.sap.sdm.app.proc.deployment.impl.PhysicalDeploymentActionExecutor.execute(PhysicalDeploymentActionExecutor.java:60)
         at com.sap.sdm.app.proc.deployment.impl.DeploymentActionImpl.execute(DeploymentActionImpl.java:186)
         at com.sap.sdm.app.proc.deployment.controllers.internal.impl.DeploymentExecutorImpl.execute(DeploymentExecutorImpl.java:46)
         at com.sap.sdm.app.proc.deployment.states.eventhandler.ExecuteDeploymentHandler.executeAction(ExecuteDeploymentHandler.java:83)
         at com.sap.sdm.app.proc.deployment.states.eventhandler.ExecuteDeploymentHandler.handleEvent(ExecuteDeploymentHandler.java:60)
         at com.sap.sdm.app.proc.deployment.states.StateBeforeNextDeployment.processEvent(StateBeforeNextDeployment.java:127)
         at com.sap.sdm.app.proc.deployment.states.InstContext.processEventServerSide(InstContext.java:73)
         at com.sap.sdm.app.proc.deployment.states.InstContext.processEvent(InstContext.java:59)
         at com.sap.sdm.app.sequential.deployment.impl.DeployerImpl.doPhysicalDeployment(DeployerImpl.java:119)
         at com.sap.sdm.app.sequential.deployment.impl.DeployerImpl.deploy(DeployerImpl.java:88)
         at com.sap.sdm.apiimpl.local.DeployProcessorImpl.deploy(DeployProcessorImpl.java:74)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.sdm.is.cs.remoteproxy.server.impl.RemoteProxyServerImpl.requestRemoteCall(RemoteProxyServerImpl.java:127)
         at com.sap.sdm.is.cs.remoteproxy.server.impl.RemoteProxyServerImpl.process(RemoteProxyServerImpl.java:38)
         at com.sap.sdm.apiimpl.remote.server.ApiClientRoleCmdProcessor.process(ApiClientRoleCmdProcessor.java:84)
         at com.sap.sdm.is.cs.session.server.SessionCmdProcessor.process(SessionCmdProcessor.java:67)
         at com.sap.sdm.is.cs.cmd.server.CmdServer.execCommand(CmdServer.java:76)
         at com.sap.sdm.client_server.launch.ServerLauncher$ConnectionHandlerImpl.handle(ServerLauncher.java:286)
         at com.sap.sdm.is.cs.ncserver.NetCommServer.serve(NetCommServer.java:43)
         at com.sap.sdm.is.cs.ncwrapper.impl.ServiceWrapper.serve(ServiceWrapper.java:39)
         at com.sap.bc.cts.tp.net.Worker.run(Worker.java:50)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: java.io.IOException: The following archives that aredescribed in the ear descriptor are not found in the ear:      JCP_EJB.jar,Please check the ear content.
         at com.sap.engine.services.deploy.extended.ear.ExtendedEARReader.checkDescriptor(ExtendedEARReader.java:805)
         at com.sap.engine.services.deploy.extended.ear.ExtendedEARReader.getDescriptor(ExtendedEARReader.java:324)
         at com.sap.engine.services.deploy.extended.ear.ExtendedEARReader.<init>(ExtendedEARReader.java:87)
         at com.sap.engine.services.deploy.converter.EARConverter.convert(EARConverter.java:85)
         ... 30 more
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).null)
    Deployment exception : The deployment of at least one item aborted

  • Deployment error with netbeans vwp

    when i try to run my vwp project i get this error.
    Starting server Bundled Tomcat (5.5.17)
    Starting of Tomcat failed.
    D:\Documents and Settings\Erdal\erdalWEB\nbproject\build-impl.xml:475: Deployment error:
    Starting of Tomcat failed.
    See the server log for details.
    all i do is to open a new Visual Web Application project, drag and drop a label and deploy it. nothing complicated but couldn't found where the problem is. please give me a hand, a hint, a way to get over this...

    Read this, as it says:
    See the server log for details.

  • Netbeans IDE6.0--deployment error

    i am getting an error while running a web application using sun java system application server.it is as below:"Starting Sun Java System Application Server 9.1 (build b41d-beta2) ...
    A conflict occured on port 8080 . Server is shutting down."
    Other messages i am getting are:
    D:\ebooks\ebooks\nbproject\build-impl.xml:500: Deployment error:
    <nbdeploy debugmode="false" clientUrlPart="${client.urlPart}" forceRedeploy="${forceRedeploy}"/>-----this is 500 line from build_impl.xml file.
    other messages are:
    Starting Sun-Java-System/Application-Server.
    Starting Sun-Java-System/Application-Server HTTP/1.1 on 8080
    Starting Sun-Java-System/Application-Server HTTP/1.1 on 8181
    Starting Sun-Java-System/Application-Server HTTP/1.1 on 4848 Self Management Rules service is enabled
    i have IIS server other than this and i am using oracle 10g as database, how should i know which server is taking which port??
    please help me asap......

    Thanks for you suggestion sir, i tried netstat and it is listening for port 8080, now how should i stop that service or program using it coz as far as i know i did not install tomcat which generally uses dat port ans sun application server is using 4248 port as i see it in netbeans, so how should i know which program is using dat port ans stop it. i used "telnet 8080" command and it says "Connecting To 8080...Could not open connection to the host, on port 23: Connect failed".
    i searched for server.xml file on my system and found abt 3 copies of them , they could be some temporary files or of my previous installations of tomcat and they are using port 8080 but i am not able to modify this file and the files are as follows:
    C:\Documents and Settings\Administrator\Local Settings\Temp\Temporary Directory 3 for tomcat.zip\tomcat\conf\server.xml
    C:\Documents and Settings\Administrator\Local Settings\Temp\Temporary Directory 7 for jakarta-tomcat-5.0.14.zip\jakarta-tomcat-5.0.14\conf\server.xml
    But i am using apache- tomcat s/w
    D:\apache-tomcat-6.0.10\conf\server.xml and this is not using port 8080 as i see in server.xml, but right now i did not add this server in netbeans and i am only trying to run with sun java application server and it is giving me deployment error.
    i even tried running my application with apache-tomcat alone by adding it as server in netbeans but it is also giving error saying "Access to Tomcat server has not been authorized. Set the correct username and password with the "manager" role in the Tomcat customizer in the Server Manager.
    See the server log for details."
    i tried setting the username as "ide" and password as "ideide", my owm, but it didnt work, how do i set them?
    please help me asap

  • Deployment error in netbeans

    hi i have a problem deploying my application to the Sun Java System Application server..i'm trying to deploy it through netbeans and i'm getting this error..
    Finished registering server resources
    Deployment of application failed - Server returned HTTP response code: 500 for URL: http://124.105.32.237:4848/web1/remotejmx
    C:\Sun\projects\PEZA-EIS_v1.0.5\nbproject\build-impl.xml:510: Deployment error:
    The module has not been deployed.
    See the server log for details.
    BUILD FAILED (total time: 4 minutes 10 seconds)
    i dont know whats causing it..please help me..
    thanks in advance.
    Edited by: rinoa_fftsy on Nov 16, 2007 9:36 AM

    Hi Andi,
    Sorry, this is known problem. To make things working on this binary you shall install via .jad file, not .jar directlly. (that is: ./installMidlet.sh /home/pi/midlets/app1.jad). Please note that MIDlet-Jar-URL in the .jad file must point to .jar as it is seen from raspberry pi (i.e. you can use local path if using installMidlet.sh or put the .jar into local file system and use absolute path in MIDlet-Jar-URL when installing using Developer Agent console). Also you can use hostdownload parameter to the ams-install command. In this case MIDlet-Jar-URL shall use host paths because the .jar is downloaded by Developer Agent in this case
    The problem is fixed and you should be able to use installation from .jar once next developer version is published on OTN
    Regards,
    Andrey

  • Deployment error: Failed to start server localhost:25848.  See the server l

    Hi,
    I am new to this Studio Creator 2 so that I decided to follow "Sun Java Studio Creator 2 - Tutorials - Using the Debugger".
    I followed the instructions word by word and have no problem running it.
    But Whenever I run it under the 'debugging' mode, I got an error ( at step 2. Examining local variables in the tutorial) as follows.
    It directs me to look at the server log file for more and I clicked on the link on the same pane (Output window in the bottom of IDE) but it doesn't mean much to me -- partly due to me being a newbie???
    Here is a bunch of error messages being generated under the debug mode[F5]. Did anyone have a similar problem before?
    ---- Messages from the output window -----------------------------------
    init:
    deps-module-jar:
    deps-ear-jar:
    deps-jar:
    library-inclusion-in-archive:
    library-inclusion-in-manifest:
    compile:
    compile-jsps:
    pluto-hack-web-xml-run:
    portlet-container-deploy:
    jsCreatorDist:
    debug:
    Stopping server localhost:25848
    E:\Program Files\Sun\Creator2_1\SunAppServer8\bin\asadmin.bat stop-domain --domaindir E:\Program Files\Sun\Creator2_1\SunAppServer8\domains\ creator
    Starting debug server localhost:25848
    E:\Program Files\Sun\Creator2_1\SunAppServer8\bin\asadmin.bat start-domain debug=true domaindir E:\Program Files\Sun\Creator2_1\SunAppServer8\domains\ creator
    Start debug on localhost:25848 timeout or interrupted
    Failed to start server localhost:25848
    Deployment error: Failed to start server localhost:25848. See the server log file for details.
    Exception=Deployment error: Failed to start server localhost:25848. See the server log file for details.
    Deployment error: Failed to start server localhost:25848. See the server log file for details.
    at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:198)
    at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:75)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
    at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:234)
    at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:242)
    at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:125)
    Caused by: Failed to start server localhost:25848
    at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:152)
    ... 10 more
    C:\Documents and Settings\Administrator\My Documents\Creator\Projects\DebugExample\nbproject\build-impl.xml:525: Deployment error: Failed to start server localhost:25848. See the server log file for details.
    BUILD FAILED (total time: 4 minutes 31 seconds)

    Check the following :
    Try starting the server without deploying. The server can be started from the server window. Also, check the server log file , will give more info on why it failed.
    To view the Sun Java System Application Server log file:
    In the Servers window, right-click the Deployment Server node and choose View Server Log.
    In any text editor, open the log file in the following location: install-directory\SunAppServer8\domains\creator\logs\server.log
    Please go through the FAQ titled "Why doesn't Application Server start up" which is at :http://developers.sun.com/prodtech/javatools/jscreator/reference/faqs/technical/depsrvs/
    Also, the port used by default is localhost:24848 when I tried the tutorial ..

Maybe you are looking for