An urgent problem of the deploy tool!!

Hi all,
   I used the deploy tool to create a new EAR.In the Assembler tab, I built the EAR successfully and an EAR file appears in the workplace folder.But when I'm going to deploy this EAR,the EAR file is deleted from local machine and I get a message which reads "Can't find the EAR".What do the deploy tool?How can it delete the EAR file and give the message of finding no EAR?How to explain this?

Hi Zhang,
         This problem will occur due to some configuration settings with the Studio.Even tough you save all your jar,war & ear file it will get deleted when you deploy since the environment is not properly set.
         Did you try building ear file for another sample dummy application with the studio?Is the problem arises only for the current project or for all esr files.
If you get problem for all ear files then,please do as below.
        I suggest you to re-install the studio once again.But before doing so clear your registry entries also in your local machine for the older version.
        It shd definitely work.
Regards,
Guru

Similar Messages

  • Problem deploying web service with the deploy tool (J2EE)

    Hello,
    I am trying to deploy a sample Web Service on the Sun Java System Application Server Platform Edition 8.1 2005Q1.
    I run into a deployment problem ("jaxrpc compilation exception") when I have one of the web methods declared (in the endpoint interface) to throw a service-specific exception. The problem disappears when I change the declaration to throw an Exception.
    Here is the exception class:
    public class StockNotFoundException extends Exception {
    private String message;
    public StockNotFoundException(String message) {
    super(message);
    this.message = message;
    public String getMessage() {
    return message;
    the endpoint interface:
    public interface StockServiceIF extends Remote {
    // the service methods
    public boolean sellStocks(String ticker, int quantity)
    throws RemoteException, StockNotFoundException;
    and here are the error messages I am seeing:
    in the deploy tool dialog:
    distribute: C:\Beginning J2EE 1.4\Ch13\StockServiceApp\StockServiceApp.ear
    deployment started : 0%
    Deploying application in domain failed; Fatal Error from EJB Compiler -- jaxrpc compilation exception
    ; requested operation cannot be completed
    !!! Operation Failed !!!
    !!! With The Following Failure Messages !!!
    Deploying application in domain failed; Fatal Error from EJB Compiler -- jaxrpc compilation exception
    ; requested operation cannot be completed
    Fatal Error from EJB Compiler -- jaxrpc compilation exception
    and in the server log:
    [#|2005-02-01T18:30:47.856-0600|INFO|sun-appserver-pe8.1|javax.enterprise.system.tools.deployment|_ThreadID=12;|DPL5109: EJBC - START of EJBC for [StockServiceApp]|#]
    [#|2005-02-01T18:30:47.856-0600|INFO|sun-appserver-pe8.1|javax.enterprise.system.tools.deployment|_ThreadID=12;|Processing beans ...|#]
    [#|2005-02-01T18:30:47.936-0600|INFO|sun-appserver-pe8.1|javax.enterprise.system.stream.out|_ThreadID=12;|
    error: incorrect fault part name for fault "StockNotFoundException" of operation "sellStocks": "StockNotFoundException"|#]
    [#|2005-02-01T18:30:47.966-0600|INFO|sun-appserver-pe8.1|javax.enterprise.system.tools.deployment|_ThreadID=12;|Total Deployment Time: 1001 msec, Total EJB Compiler Module Time: 0 msec, Portion spent EJB Compiling: 0%|#]
    [#|2005-02-01T18:30:47.966-0600|SEVERE|sun-appserver-pe8.1|javax.enterprise.system.tools.deployment|_ThreadID=12;|Exception occured in J2EEC Phase
    com.sun.enterprise.deployment.backend.IASDeploymentException: Fatal Error from EJB Compiler -- jaxrpc compilation exception
         at com.sun.enterprise.webservice.codegen.JaxRpcRICodegen.accept(JaxRpcRICodegen.java:206)
         at com.sun.enterprise.deployment.EjbBundleDescriptor.visit(EjbBundleDescriptor.java:584)
         at com.sun.enterprise.deployment.Application.visit(Application.java:1333)
         at com.sun.enterprise.webservice.codegen.JaxRpcRICodegen.run(JaxRpcRICodegen.java:103)
         at com.sun.ejb.codegen.IASEJBC.doCompile(IASEJBC.java:785)
         at com.sun.ejb.codegen.IASEJBC.ejbc(IASEJBC.java:563)
         at com.sun.enterprise.deployment.backend.EJBCompiler.preDeployApp(EJBCompiler.java:340)
         at com.sun.enterprise.deployment.backend.EJBCompiler.compile(EJBCompiler.java:209)
         at com.sun.enterprise.deployment.backend.AppDeployer.runEJBC(AppDeployer.java:284)
         at com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:176)
         at com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.java:107)
         at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:146)
         at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:633)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:188)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:520)
         at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:143)
         at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:171)
    |#]
    I would appreciate any pointers to resolving this issue.
    Thanks,
    Satyen

    Can you post the WSDL that was generated by the tool
    for this interface ?I generate the WSDL using "wscompile -define -nd . -classpath ..\build\classes -f:wsi service-config.xml", and here it is:
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="StockService" targetNamespace="urn:stockService" xmlns:tns="urn:stockService" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
    <types>
    <schema targetNamespace="urn:stockService" xmlns:tns="urn:stockService" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://www.w3.org/2001/XMLSchema">
    <complexType name="StockNotFoundException">
    <sequence>
    <element name="message" type="string" nillable="true"/></sequence></complexType>
    <element name="StockNotFoundException" type="tns:StockNotFoundException"/></schema></types>
    <message name="StockServiceIF_sellStocks">
    <part name="String_1" type="xsd:string"/>
    <part name="int_2" type="xsd:int"/></message>
    <message name="StockServiceIF_sellStocksResponse">
    <part name="result" type="xsd:boolean"/></message>
    <message name="StockNotFoundException">
    <part name="StockNotFoundException" element="tns:StockNotFoundException"/></message>
    <portType name="StockServiceIF">
    <operation name="sellStocks" parameterOrder="String_1 int_2">
    <input message="tns:StockServiceIF_sellStocks"/>
    <output message="tns:StockServiceIF_sellStocksResponse"/>
    <fault name="StockNotFoundException" message="tns:StockNotFoundException"/></operation></portType>
    <binding name="StockServiceIFBinding" type="tns:StockServiceIF">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
    <operation name="sellStocks">
    <soap:operation soapAction=""/>
    <input>
    <soap:body use="literal" namespace="urn:stockService"/></input>
    <output>
    <soap:body use="literal" namespace="urn:stockService"/></output>
    <fault name="StockNotFoundException">
    <soap:fault name="StockNotFoundException" use="literal"/></fault></operation></binding>
    <service name="StockService">
    <port name="StockServiceIFPort" binding="tns:StockServiceIFBinding">
    <soap:address location="REPLACE_WITH_ACTUAL_URL"/></port></service></definitions>
    ---------------------------------------------------------------------------------------------------------

  • Deploy a web service with the deploy tool (J2EE)

    Hi!
    I want to deploy a web service with the Deploy Tool (J2EE 1.4).
    (For info, I'm working on Win 2000.)
    I have the following error when I'm trying to deploy:
    distribute: C:\monHello2\monApp.ear
    Deploy action running...
    Deployment failed on target localhost:4848_server : Fatal Error from EJB Compiler -- jaxrpc compilation exception
    !!! Operation Failed !!!
    Someone can help me, please? What's the problem?
    Other question: when I create the WAR file, I have to add : my interface class, my implementation class, my others java classes, my WSDL file and my mapping.xml file.
    Should I add the .jar that is used by one of my class???? I think yes, but...
    thank you and excuse me for my english... ;o)

    Only primitive types can be returned? Is thatcorrect????
    true - for more details check out section 3.4.1.3 of
    this book which is available for purchase or online
    http://java.sun.com/blueprints/guidelines/designing_w
    ebservices/I meant to say primitive type and "special POJOs" called "JAXRPC Value Types" - check out the reference I listed

  • Finders in the deployment tool

    Hi!
    I'm trying to figure out how to write custom finders in the deployment tool.
    But I've run into two problems:
    1. Can I define my own PrimaryKey class that I use to identify the bean and
    how do I configure it in the deployment tool?
    - e.g. findByPrimaryKey(CustomPK pk)
    - Do I need to configure anyhing in the LightWeightCMP tab in the
    deployment tool or is it enough that I give the PrimaryKey class name in the
    General tab?
    2. How do I configure the findAll method in the deployment tool?
    - Is it sufficient that I provide the following information:
    - Name: findAllSQL
    - Type: java.lang.String
    - Value: SELECT C_ID FROM TBL_PARTNER
    Thanks in advance for any help I can get!

    the tab is for the user to fill in the entries of all the EJBs referenced by the module that is selected in the left side tree.
    thus, when you select the client jar, it will show you the EJBs that the client references (as per the deployment descriptor). Likewise for EJBs.
    for simple bmp example, the ejb-jar.xml file does not contain any entries of the type <ejb-ref> where as, the application-client.xml (DD for the client) does.
    the same logic applies to cmpcustomer example.
    hope this helps.

  • Csa 6.0 problem with software deployment tool

    Hi Guys,
    I am having some problems with csa 6.0 and a software deployment tool called capainstaller, it resides on the client and picks up packages on some server shares and executes them from there, or copies it locally. We have added it to the class that defines mass software deployment like we did in 5.2, which works fine in 5.2, in 6.0 we are getting alot of applications getting put into @untrusted, for some reason. I can't figure out if i am supposed to make general exeptions for shares and local directories where the deployment tool reads its packages from ? In that case which classes should i modify, i am seeing alot of classification from the module called Security - Untrusted Content Classification, and this gives me alot of headaches.

    Well, the Mass Software Deployment class, is where you are supposed to put marimba, in 5.2 this was fine, and worked for most of the installations i have done. in 6.0 the big break came when i found out that you can't use UNC network paths in a file set, it just doesn't work. If you put it is a literal straight in the same field as the altiris and sms are in the built-in rules, that works, maybe your marimba agent is also part locally installed and part gotten from the network like ours is ?

  • Lightroom 5, Mac. Problem with the Radial Tool. Marquee Lines disappear.

    Lightroom 5 Mac. Problem with the Radial Tool. I use this tool a lot. I must have hit a hot key by accident because between photos the marquee lines have disappeared and i don't know how to get them back. Without the marquee lines there I cannot rotate or expand the radial tool.

    I have attempted to uninstall, empty trash and a fresh download from Adobe. The problem is still there...

  • How come I cannot use the Editing tools when i am using Adobe Acrobat Reader DC It wants me to Buy Now.  But when I use Adobe Acrobat Pro DC i have no problem using the Editing tool yet   I had Adoboe Acrobat XI Pro then it was upgraded to this DC stuff

    I am already paying a subscription for Adobe Acrobat XI Pro  Now it want me to buy when using the edit tool or even the tool to insert pages Never had that problem before??????????????

    Acrobat Reader can't edit PDF files. Use Adobe Acrobat Pro DC.

  • Problem in the deployment in WEB AS

    Hi all,
    i have encountered a problem while deploying in WEB AS.When i am deploying Dictionary object it was sucessful but when i am deploying EAR it is giving the following error.
    Error...........
    Aborted: development component 'SalesOrderCreateFor'/'sap.com'/'localhost'/'2006.07.04.17.11.51':
    Caught exception while checking the login credentials for SAP J2EE Engine. Check whether the SAP J2EE Engine is up and running.
    com.sap.engine.deploy.manager.DeployManagerException: ERROR: Cannot connect to Host: [businessone] with user name: [admin] Check your login information. Exception is: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.services.security.exceptions.BaseLoginException: Cannot create new RemoteLoginContext instance.]
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMEXC)
    Deployment exception : The deployment of at least one item aborted
    pls kindly help me to resolve this iss

    Hi Kiran,
    I think that u r not configured ur server.
    Y might have success full deployment if follow this configuration.
    prerequisite for deployment
    1) go to 'window' -> preferences -> SAP J2EE Engine,
    fill the 'message server host' = your host name
    'message server port = your msg port no.
    you can get these information from this link
    http://localhost:50000/sap/monitoring/SystemInfo
    here replace the localhost with u r host name.
    2) go to window -> preferences -> SAP Enterprise Portal
    -> add give the ur server configure details.
    3) deploy the ur application .(give SDM UID and PWD)
    Regards,
    Krishna.

  • Problems with the Migration Tool

    Hello.
    I'm getting an error when trying to start asmt, this is the Migration Tool form the Sun Java System Application Server 9. The error is the following:
    sun.iasmt.user.cmd.backendenablers.InputArgException: 204:Insufficient disk space. File: C:myEAR.ear needs: 1163 bytes available: 0 bytes at sun.iasmt.supervisor.util.InputDataPreprocessor.insufficientDiskSpace
    (Unknown Source) at sun.iasmt.supervisor.util.InputDataPreprocessor.processJ2eeArchive(Un
    known Source) at sun.iasmt.supervisor.util.InputDataPreprocessor.exec(Unknown Source)
    at sun.iasmt.user.IASMTMain.runTool(Unknown Source)
    at sun.iasmt.user.IASMTMain.<init>(Unknown Source)
    My desktop have more of 20GB of free disk space and the enviorement's variables are setting:
    JAVA_HOME=C:\jdk1.5.0_11
    ASMT_HOME=D:\asmt
    J2EE_HOME=C:\j2sdkee1.3.1
    My ear is allright deployed by Sun One System Application Server 7, but not by Sun Java System Application Server 9, so that, I need to use the migration tool.
    Could anyone help me?
    Thanks.

    Hi, were you able to fix this error? If so, how? I take it J2EE_HOME needs to point to your existing Sun One 7 installation, correct?
    Thanks in advance,

  • Having problem with the type tool

    When I click on the type tool, I don't see the cursor like I should. Instead, I see a tiny flash, but when I type, nothing. What's wrong. Does anyone know?

    You can create a new user account which when you log into it will be a fresh account and that can tell you whthether it is a preference or font corruption problme.
    You should try to create a new user and log in if it still persist you might have a more serious problem. You maight have another application on your computer like a spell checker that is causing the conflict and it will have to go.
    it sounds lie a conflict to me.

  • Problem with the text tool

    when I try to use the text tool asks me this error
    Could not complete your request because something prevented the text engine was initialized
    need urgently, thank you

    Look in windows event viewer and post the results here.
    As a quick fix try deleting the prefs by reading this.
    http://forums.adobe.com/thread/375776?tstart=0

  • Problem connecting from Deploy tool to WAS

    Hi,
    We are trying to deploy an .ear file using deploy tool <j2ee Engine/deploying/deploytoll.bat>. But unable to connect to WAS though we gave the user, password and the port that J2EE engine is running (50100). Here is the error message we got: 
    RROR: Cannot connect to Host: [localhost] with user name: [Administrator]
                        Check your login info.
                        Exception is: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.interfaces.cross.DestinationException: cannot establish connection with any of the available instances:
    localhost:50100 Reason: Cannot open connection on host: 10.100.232.55 and port: 50100]
    And we are able to connect and login to the J2EE server/Portals. So please help us in deploying the .ear file and let us know whether we can do the same without the help of deploy tool.
    thanks,
    Priya.

    Have you tried using the SDM (Software depolyment manager)?
    \usr\sap\<SID>\DVEBMGS00\SDM\program

  • Problems using the bone tool, CS4?

    Okay so I have spent countless hours trying to figure this out. I want to use the bone tool to make a leg animation. First I create a new symbol called Leg. I double click the Leg in the library which opens it in leg window. Then I grab the circle tool in the tool bar and make the thigh. Then I make another circle for the leg. Now the problem is when I click the bone tool to connect them, it won't let me connect the thigh with the leg! Can somebody tell me why this is happening? (This is all done on one layer).
    However when I click the circle tool and then click object drawing tool in the bottom of the tool bar I then can connect both the thigh and the leg with the bone tool. Problem is when I use this feature if I want to move the shapes to revise it a little they wont seperate. The thigh is stuck to the leg.
    Some please please help me.. this is making me angry!
    I want to be able to draw a leg with a couple shapes and be able to connect the bone tool to one shape to the other. Thanks Rossi

    Following article covers how to add bones to Symbols:
    http://help.adobe.com/en_US/flash/cs/using/WS14DAFDB4-B9AD-4080-A29F-022128CCFD39.html

  • What is the correct way to use Version Informatio​n from the sequence and from the deployment tool

    I seem to be missing something in how the various version numbers are supposed to be used.    My end goal is to log and possibly display in the UI the version of the sequence and which installer version was used to inspect a UUT.   I have gotten most of the way there using:
     How Can I Programmatically Query the Sequence File Version of My TestStand Sequence? 
    and logging this into the report with a function which contains:
    Parameters.UUT.AdditionalData.SetValString("Test Version",1,RunState.SequenceFile.Data.Version),
    Parameters.UUT.AdditionalData.SetFlags("",0,PropFl​ags_IncludeInReport)
    The "Deployment Version" in the TestStand Deployment Utility auto incrementing the 3rd position of a version number  while the sequence auto increment is working on the 4th.   
    My first question is are these 2 version numbers in anyway supposed to be related to each other?   As it seems to me you would want those 2 reversed, I can make several installers based on sequence version X, making changes to what supporting files are also installed.
    If they are not related as I suspect that they are not.  How do I programatically grabed the installer version and also log that into the result report?   
    is there an option to perform a custom deployment build step to log the deployment version before it builds and then reference that log at runtime of the test?

    Hi,
    The sequence file version and deployment versions are not related.
    You can build the installer with whatever version you want using the command line :
    https://decibel.ni.com/content/docs/DOC-38947
    Hope this helps,
    Ravi

  • Problem with the pen tool creating a fill when I only want stroke

    Hi,
    I'm having an issue. I am creating a simple spider for a project. Initally I used the pen tool to make legs. It worked for a bit then all the sudden started filling in an area I didn't even draw with color. I'm not sure what I did to cause this to happen. Any help would be appreciated. Thanks

    That shape shows a Yellow fill, probably from the last shape you drew.  If you select the shape and deselect the fill, then your drawing will go back to Black strokes only.

Maybe you are looking for

  • 2012 Mac Mini photoshop

    I have I 2012 Mac mini that I upgraded to mavericks about a month ago. I installed photo shop cs6 and it is slow I add text to a a banner and it says rendering type and it takes like 45 secs. Everytime I move the text it sYs rendering type takes anot

  • Yosemite requires an update to JRE 8.0. I downloaded and installed but it still gives a message to download an install.

    After updating to Yosemite I keep getting prompts to update the Java Run Time Environment to version 8. After downloading and installing the update I am still getting the message as if the JRE is not there. Also, I cannot find it in the Applications

  • Export of applicationfiles - filename

    Hello, We want to export applicationfiles from DMS. This can be done easily with CV04N, and then use Distribution function. Applicationfiles are then written to the folder that is configured. Problem is, the filenames generated by the system are mean

  • Updating an EJB jar file on WL7.0

    Hi Iam attempting to update an EBJ jar file without taking down my WL7.0 server. When I copy the jar file to the applications directory, I see the server accepting the update but when I run my client the update is not visible! Iseem to be still acces

  • Can't send HTTP POST requests

    Hi, Flex3 Pro vs. J2EE All HTTP requests with method=POST are received by server as GET requests. At first I thought the problem was with the app server - WebLogic - but the same happens with Tomcat. Any idea what could be causing this? Thanks!!!