How to create a jar, deploy and run it

I extract the example bmp-simple.ear into class file and xml files.
I create jar by the command
jar cvf bmp-simpleEjb.jar META-INF samples
(The java program are in package samples.ejb.bmp.simple.ejb; ) Suitable xml are stored in directory META-INF.
Finally I jar all the jars into a bmp-simple.ear file, I can deploy it by admin console in j2ee 1.4, but when I run it, the following errors are shown
I:\jdk14b\domains\domain1\applications\j2ee-apps\bmp-simple>appclient -client bm
p-simpleClient.jar -name StorageBinClient -textauth
Mar 23, 2004 4:19:52 PM com.sun.enterprise.appclient.Main <init>
WARNING: ACC003: Application threw an exception.
java.lang.ClassNotFoundException:
at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at com.sun.enterprise.appclient.Main.<init>(Main.java:365)
at com.sun.enterprise.appclient.Main.main(Main.java:105)
If I create ear file from sun 's jar file, I can run it.
If I create ear file from class and xml, I cannot run it
The server I am using: J2EE(TM) Application Server 1.4 Developer Release (build b44-dr)
Thanks for any help! (I repost and rewrite this question)

please see the response to your question yesterday.

Similar Messages

  • How to create a virtual FPGA and run LabVIEW code on it?

    Hi
    I am new to LabVIEW FPGA world. I have code written in LV 8.6 that was running on a Virtex 5. I need to run this code on a virtual FPGA but I need this to be as real as possible and maybe to acces this virtual FPGA also from another environment. Do you think this can be done? I need just a general answer to have an idea on this problem.
    Thanks

    If I've understood correctly, you have LabVIEW code written for an FPGA and running on an NI FPGA board, which you'd now like to run in a simulated system.  I doubt this is possible since I don't think there is a way for you to simulate all the hardware (DAQ and whatever else) that is attached to the FPGA on the real hardware.  Also, LabVIEW doesn't have any way of accessing an arbitrary non-NI FPGA target and without the LabVIEW interface I don't think your FPGA code will be too useful.

  • How to deploy and run application in user created OC4J instance

    Hello friends,
    I have created my own OC4J instance in Application Server Control.Now,how can I deploy and run application in this newly created OC4J instance.I need your help,it's
    urgent.
    Regards
    Prasenjit

    Hi Andreas,
    Thanx for your prompt reply.Yes,I had deployed the '.ear'in that.But I am not able to run the program in
    browser.Could you please elaborate more precisely.I wouuld be obliged.
    Regards
    Prasenjit

  • How to deploy and run  EJB in eclipse without XDoclet

    Hi Friends
    I am new in j2ee.In my academic project i want to do some ejb programming.
    For that purpose i want to write some ejb's.I have written all required class for ejb,created ejb-jar.xml file manually,weblogic .xml file manually. I am using weblogic8 as an server for deployment.
    I know deployment with xdoclet but i want to know hoe to deploy ejb without xdoclet.
    If u have saple code or useful link regarding this please send it as soon as possible.
    Thanks in advance
    How to deploy and run EJB in eclipse without XDoclet

    HI Welcome to J2ee...
    I am also new to this...But i ll share my ideas with you...
    In EJB 3.0 No need of any Deployment Descriptors....
    And If you are using Eclipse You can Deploy(as jar) using Export in File tab...
    XDoclet is not mandatory...
    Gopal V

  • How to deploy and run Spring petportal example on Oracle portal?

    Is there any how-to steps or article show the petportal (Spring portlet MVC) example deploy and run Oracle portal?

    Hi,
    I haven't tired this, but I looked at the "README.txt" file included in the Spring PetPortal Application & it uses the standard JSR 168 Portlet standards.
    Hence, I assume that this would work as with any other remote portlet Implementation - host the portlet remotely & consume it in Oracle Portal 10.1.4.
    I just noticed that it has been 8 days since you posted the question - have you tried anything already ? If yes, what are your experiences so far ?
    Regards,
    Sandeep

  • How to create partner link with CreditRatingService running on other Server

    In case my credit rating service ( say some service) deployed and running on some other server.
    In my bpel process i am trying to create a partener link with that the services (wsdls) running and available on other servers(say bea/tomcat...)!
    can i able to create a partner link with them?
    But In Eclipse BPEL Designer --> New Partner Link wizard--> UDDI Browser how to choose my wsdl
    when i am trying to add the i am able to locate the services availble on local bpel services, some built in services, and some xmethods bookmarks.
    Please let me know how can i do this?
    Thanks in advance
    Jagan

    just paste the url to the wsdl into the plnk wizard, otherwise if your uddi offers a WSIL interface, we can leverage that directly,
    thx clemens

  • Deploy and run error

    Hi,
    i have a mapping which is correct validated. The owner of the reposity and of the tables is the same.
    I got the error
    RPE-01010: Datenbankobjekte dürfen nicht direkt im Control Center bereitgestellt werden.
    What did I wrong? Can anyone please help me?
    Thank you
    Siegwin

    Hi
    please help me again.
    I have an user LOGISTICS (registered as repository user for SP), a location connecting to LOGISTICS, a control center connecting to LOGISTICS, a configuration connectung to LOGISTICS.
    The repository owner is SP
    The source and target database schema is LOGISTICS
    When I try to deploy and run the mapping, I get the error RTC-5381 Schema LOGISTICS ist kein Control Center Repository
    How can I create this Control Center Repository?
    Thanks
    Siegwin

  • Blank screen appears after deploying and run?

    Hi,
    I have implemented a WD application i.e. a quiz application,
    1)i have a  t-layout
    2)Top segment has welcome iview
    3)left segment has question
    4)right has question mark image
    i have defined plugs and actions as well
    But when i deploy and run this application, only blank screen appears.Any ideas what i am missing?how to make it run??
    Thanks $ Regards,
    Ameya

    Hi Ameya.
    At the time of Comonent creation it will automatically creates a view and window.
    so you need to add[embed] your view to the window
    open window right click and select "embed view" and then select existing view
    select your view from the list
    rebulild the project and run
    Regards
    Chaitanya.A

  • Unable to Deploy and Run a WebDynPro Application in NWCE 7.1 DS

    I have successfully built a test application in WebDynPro within the NWCE 7.1, but every time I try to deploy and run the application I get the following error:
    No default system is configured in SAP System Registry [ERROR: Apr 24, 2008 10:32:51 AM /userOut/daView_category (eclipse.UserOutLocation) [Thread[Worker-19,5,main]] ]
    It seems like a straightforward error, but when I go to the System Registry I cannot see how to set up a default system for the application.  There is no "DefaultSystem" entry and so I am sure that I have to add one, but cannot find any documentation to help me do this.
    Thanks.

    First, thanks for the fast responses. 
    I had gone to SAP AS JAVA preference before, but couldn't figure out how to get my system to show up in the dropdown box.  When you put in the server name and the 0 instance, it then finds the system and all instances under the system.  That was my missing link.
    I can now deploy and run and move on to my next (inevitable) problem.
    Thanks again.

  • How to create a new 'id and type rect' in _edge.js from your stage in javascript

    how to create a new 'id and type rect' in _edge.js from your stage in javaScript

    _edge.js is an object file their is any way to create ?
    if i run this script "alert(Stage);" in creationComplete
    i will get
    i have little idea on object example
    var obj = {car: "honda city"};
    obj.bikes = {model: "suzuki"};
    alert(obj.bikes.model);
    Anyway thank u vivekuma for ur kind reply!

  • How to create executable jar files??

    how to create executable jar files??
    thx :)

    Using JAR Files to Deploy
    http://developer.java.sun.com/developer/onlineTraining/Programming/BasicJava2/jar.html#jar

  • Unable to Deploy and Run a WebDynPro Application (SAP instance identity)

    Hi all,
    I try to deploy and run the application I get the following error: No default system is configured in SAP System Registry. So, I try to set the perferences.
    Windows > preferences > SAP AS Java
    However, I don't know how to set it because I develop the program from the external network (via internet). Which port should be used in this connection? Please help!
    Many thanks and Regards,
    Matt Yim

    Hi MattYim,
    For Java Server configuration,
    Instance Host: will be the hostname or IP address of your SAP System.
    Instance Number: will be the SAP Instance number
    As you are connecting to this server via internet, make sure tht you have filled in the internet proxy details in the NWDS.
    This can be doen at:
    Window --> Preferences --> General --> Network Connections
    The proxy details mentioned here should be same as the Internet Proxy details configured for ypur internet explorer.
    Regards,
    Alka.

  • How to create Adobe CC deployment

    What is the best way to create an Adobe CC deployment?

    Hi,
    There are couple of ways to integrate MDM with SAP Interactive Forms.
    1. WebDynpro Java and MDM API (requires Portal)
    2. MDM WebService (Portal not required)
    Updating data in MDM using WebDynpro Java :
    1. In Component Controller -> Fetch data from MDM using API and populate appropriate context structure
    2. Map the View Controller and Comp Controller context.
    3. Place Interactive Form UI element in view.(Keep the UI element in UpdatePDF mode, this can be done in properties window. Also increase the height and width property value)
    4. The Interactive Form UI element is editable in Adobe Form Designer (7.1 / 8.0)
    5. Design the form and bind the UI (TextFields/ Dropdowns) with the Context of View Controller.(Done in Binding tab of Object window)
    6. Deploy and run the application.
    The rendered application will contain an Adobe Interactive Form populated with MDM data.
    Regards,
    Suresh

  • How to create a job card and how to add waranty card in sales order

    I have one scenario for CS.the scenario is realted to automotive industry. Basically its a trading industry of HCV,MCV,LCV apart from that they will do servicing also. First the customer comes for a service.he is having free services. he will have waranty for spare parts of the vehicle. once he comes for servicing first the executive will take complains from the customer after that a Job card will be issued to the customer. there his chasis no ,engine no and registration no will be there. once enter the chasis no entire customer details has to come. how many free services he is having for how many kilo meters.then job card will go to the spare parts dept.that dept will issue the spare parts.then they will invoice the customer. he will pay the payment.and finally the gate pass will be given to the customer to deliver the vehicle.
    painful area is how to create a job card and how to add waranty in sales order.
    Regards,
    Venkat

    Hi,
    Have u resolved it then Please let me know !!! It is a very interesting problem and owuld like to know the solution...
    Regards
    Krishna

  • How to create a Platinum,Gold and Silver Customer and how to set different price for a single material based on customer?

    Hi All,
    How to create a Platinum,Gold and Silver Customer and how to set different price for a single material based on customer?
    Assume Material is Pen.
    While creating Sales Order in VA01 how to bring different price for the same material for Platinum,Gold and Silver Customers.
    Kindly help me out.
    Thanks,
    Renjith Jose

    A good place to start is http://www.javaworld.com/javaworld/javatips/jw-javatip34.html
    Also, do a search in this forum on HttpURLConnection. That class allows you to use POST method to send form data to a web server.
    "Hidden" variables are only hidden in HTML. The HTTP that gets POSTed to the web server doesn't distinguish between hidden and not hidden. That is, the content you would write to the HttpURLConnection.getOutputStream() would be something like:
    hidden=1&submit=ok(Of course, the variable names would depend on what the web server was expecting from the form.)
    Also, be sure to set the Content-Type request parameter to "application/x-www-form-urlencoded"

Maybe you are looking for

  • Ora-00600 error when dropping a table

    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production When I tried to drop a table, I got 600 error: SQL> desc DEV.ATTR_IDX$EX Name Null? Type NODE_ID NOT NULL NUMBER COL1 NUMBER SQL> show user; USER is "DEV" SQL> select count(

  • Why my instance crashed down

    HI,everybody,My instance crashed down last day. Is there anybody can tell me why ? oracle version:10.2.0.1.0 (Only Patch 4612267) OS version:redhat as 4.5 Sorry, I am in china,so there is some chinese character in the alter file,but I think everybody

  • Uploading an Adobe 9.1 pdf file

    I am trying to upload a file created from a Word document to a pdf file using Adobe Reader 9.1. The document is approx. 10 meg in size. When I initiate the upload everything appears to be going fine for about 2 mins. and the status bar appears to be

  • Variant Help

    Dear BW fans, we are trying to write an ABAP program which should have a variant with two variable - one to input a cube name and the other to switch the data source from sem-bps mode to bw mode. How should we write the select-options statement and h

  • Anyone try to log into Intuit "It's Deductible" with the latest Safari(6.0.2) and Mountain Lion.  I get a blank area where the userid and password should be entered

    I have been using the Intuit web site for It's Deductible for the last couple years to enter charitable donations so I could easily import them into Turbo Tax come tax time.  The link for the web site is http://turbotax.intuit.com/personal-taxes/itsd