Delpoy EJB using command prompt, with Weblgoic 6.0

Hi,
I would like to know , how to deploy an EJB , from command prompt on BEA's Weblogic server 6.0.
Thanks & Regards

I have weblogic 5.1, but the sentence probably is equal. Try this:
1- Open your command prompt
2- Go to weblogic directory (ex.: c:\weblogic)
3- Run setEnv (this put the weblogic classpath in your dos session)
4- Run the sentence:
java weblogic.deploy -port portNumber -host hostIP deploy <password> <ejbName> <jarName>

Similar Messages

  • Using command prompt with Java

    I am trying to use command prompt within a java program and I can't figure out how to enter commands from java. I know how to start up command prompt but can someone guide me on a way to actually enter commands into the command prompt? Thanks.

    The Java� Tutorial - Lesson: Basic I/O
    ~

  • Start SQL Server Service in Remote Server using Command Prompt with Single User Mode

    Hi Folks, 
    I am able to STOP/START the Remote SQL Server Service using the following Command.
    sc \\RemoteServerName  START ServiceName 
    How to Start the Remote SQL Server Service using Single User Mode.
    sc \\RemoteServerName  START ServiceName  -m
    Narendran

    Hello,
    sqlservr.exe -m
    or
    sqlservr.exe -m -s       
    (for named instances)
    For more information:
    http://technet.microsoft.com/en-US/library/ms180965(v=SQL.105).aspx
    Configure Windows Firewall or security software properly.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • How to print pdf file in SQL Server Reporting services report using command prompt?

    Is there a way to automatically print a SQL Server Reporting services report on command prompt? For eg: We can save a pdf file using rs.exe utility. I want to print a pdf using rs.exe utility. Is it possible? I don't want to install any 3rd party software.

    Thanks Simon for replying to my question.
    In oracle form, there is oracle command to print the report from command prompt with the help of rwrun.exe
    e.g: rwrun.exe   REPORT="D:\Test\REP_25\MLA.REP" DESNAME="testprinter" DESTYPE="PRINTER" P_FORMNAME="MLA.FMX" P_SPRACHE="E" P_SPRACHE_NR2="1" P_WHERE_BEDINGUNG="order by land_nr" USERID="test/test.world" PSV_NAME="PSV_DEMO" PSV_JOB_ID="PS$9583" RECURSIVE_LOAD="NO"
    BATCH="YES" NONBLOCKSQL="NO" ARRAYSIZE="1" PARAMFORM="NO" ERRFILE="c:\temp\psv16.tmp"<
    and to save the report we just need to change DESNAME="c:\temp\OC_100001349.pdf" DESTYPE="FILE" in above command instead of DESNAME="testprinter" DESTYPE="PRINTER".
    DESNAME and DESTYPE are the input parameters of the respective report.
    In SSRS, we can run the file from the command prompt and save it.
    rs -i "C:\Users\pujarswa\Documents\reports\new\LoadReport.rss" -s ww2004760:80/ReportServer_MSSQL -v fileName="C:\Users\pujarswa\Desktop\TipsReportLoad.pdf"
    -v reportPath="/TipsReport/LoadListTabular" -t -v format="PDF" -v LandNr=4 -u ap\swati -p test@# -e Exec2005
    But we cannot use same command for printing as you said we need to create another script for printing files.
    I have gone through the links but I dont want to use Adobe Acrobat Reader exe for printing because client it may not have Adobe Acrobat Reader on their machine.
    Also I want to pass a input parameter as type="Printer" to my report which will print directly for me and same I can acheive in command prompt passing type="Printer" fileName="C:\Users\pujarswa\Desktop\TipsReportLoad.pdf"

  • How to compile & run using command prompt

    Hi all,
    I have a java application consisting of 3 packages & a jar file in the following hierarchy:
    -Project
    -classes
    -src
    -package1
    -package2
    -package3
    -file.jar
    The main class exists in package2 and uses classes within file.jar
    I want the steps to compile and execute the project using command prompt in windows such that the generated classes will be saved in the classes directory
    Can anyone help?
    Thanx in advance

    Hey,
    If your source(*.java) files are in src folder and ur currnet directory is project
    and you want all your class files to be classes folder then you can try this :
    c:\project>javac -cp src\file.jar -d classes\ src\*.javaAssuming that your file.jar file is in src folder.
    The above command will set the classpath to src\file.jar (-cp src\file.jar)
    -d classes\ - will generate all your class files with package hierarchy if any into classes directory.
    src\*.java - specifies the files to be compiled.
    Hope this helps.

  • Uninstalling bulk dll's from gac folder at one time using command prompt

    Hi All,
    I need to unistall bulk dll's at a time from the GAC folder using command prompt ,can any one suggest how to do this.

    Hi,
    1. Create a batch file as "Uninstall.bat".
    2. Edit this file and copy the below statements in it:
    gacutil.exe /uf DLL1
    gacutil.exe /uf DLL2
    gacutil.exe /uf DLL3
    gacutil.exe /uf DLL4
    gacutil.exe /uf DLL5
    replace DLL1 to DLL5 with your actual DLL names, which you want to uninstall.
    3. Open Visual Studio Command Prompt as Administrator.
    4. Browse to the location where you have placed the above batch file.
    5. Run the batch file.
    Hope this will help.
    HTH,
    Sumit
    Sumit Verma - MCTS BizTalk 2006/2010 - Please indicate "Mark as Answer" or "Mark as Helpful" if this post has answered the question

  • How to run ODI scenario using command prompt

    Hi expets
    Please let me know if we can run ODI scenario using command prompt or any way other than operator.
    Regards
    Janakiram

    Go to <ODI_HOME>/oracledi/bin in command prompt and invoke startscen command with teh below parameters.
    Edited by: Guru Sankar on Feb 28, 2011 4:19 PM

  • Running a Program in JDeveloper using Command Prompt

    Hi,
    I downoladed Oracle JDeveloper 10g. I had written a simple java class called Echo. java. I want to run the file using command prompt. My JDK has the following path:
    F:\Sowmya
    My java file has the following path:
    F:\Sowmya\jdev\mywork\1\1\src\pkg1
    So, in order to compile the file, I gave the following command:
    F:\Sowmya\jdk\bin>javac F:\Sowmya\jdev\mywork\1\1\src\pkg1\Echo.java
    It worked and the Echo.class file was created.
    But, when I tried to run the file using the following command,
    F:\Sowmya\jdk\bin>java F:\Sowmya\jdev\mywork\1\1\src\pkg1\Echo
    Iam getting the following error:
    Exception in thread "main" java.lang.NOClassDefFoundError: F:\Sowmya\jdev\mywork\1\1\src\pkg1\Echo
    This didnt work either:
    F:\Sowmya\jdk\bin>java F:\Sowmya\jdev\mywork\1\1\classes\pkg1\Echo
    Iam getting the same error.
    Can any one please help me regarding this.
    Thank you,
    Sowmya.

    Yes, my class contains a main. It runs if I click run in JDeveloper. But, there is no output displayed. The following is the code:
    public class Echo {
    public static void main (String[] args) {
    for (String s: args) {
    System.out.println(s);
    }

  • How to use addKeyListener in a program running using command prompt

    Does anyone have any idea how to add the addKeyListener to a program running using command prompt.
    Let me explain how the program run.
    The program is start and accept call from other program. But from time to time, I need to issue some command by pressing the keyboard, let say, ESC is closed the program, F1 is showing the stated. F2.... (This is all need to run in the command prompt windows)
    My problem is this program does not have any gui interface, so how can it be added?
    i do it this way
    public void key(){          
    addKeyListener(this);
    But it have compile error.
    mainServerImpl.java:87: cannot resolve symbol
    symbol : method addKeyListener (mainServerImpl)
    location: class mainServerImpl
    addKeyListener(this);
    I did implement KeyListener. But just don't know how to solve this error.
    can anyone tell me how to solve it or point me a source that can help.
    Thank in advance!
    Regards,
    Tai Tan

    Write your own Thread, to do this:
    public class KeyThread extends Thread {
       public void run {
          while(true) {
             int i = System.in.read();
             if(i == 123) {
                break; // to stop the thread
    // in your main:
    Thread keyThread = new KeyThread();
    keyThread.start(); // calls run() of the thread

  • I just updated to iTunes 11. This version will not allow me to change info on any songs. Have always use "command i" with previous versions. Anyone else experiencing this problem? A solution?

    I just updated to iTunes 11. This version will not allow me to change info on any songs. Have always use "command i" with previous versions. Anyone else experiencing this problem? A solution?

    Hey! I had the same problem you did just today when I was trying to get my second iPhone to sync. What you need to do with music or anything extra that you doing you have to creat a second playlist or picture or anything that you would like to use, so that you can add to the second device that you are going to be using. I am not sure if that will help but it helped me out a lot!! Good luck!

  • Can i login to essbase console by using command prompt

    Hi All,
    Is thr any possiblity to login in to essbase console by using command prompt
    normally we login to console and will give credentails and login as same way can we do from command prompt??
    Thanks in advance
    Regards,
    SM

    Hello ,
    You can check the login through the Essbase command utility.
    go to command prompt . type - essmsh
    then you will be able to see MaxL prompt
    enter the command login username password;
    you can use this utility to load data , import export running calc etc...
    Thanks,
    KKT

  • Using command prompt for help generating

    Hi all!
    Can I use command prompt for generating webhelp instead of
    RoboHelp HTML environment?
    thank you

    See this recent post.
    Click
    here.

  • Displaying login sessions on workstations using Command Prompt

    Hi there,
    Anyone know of a command similar to wmic.exe /node:IP-or-HostName ComputerSystem Get UserName in a Command Prompt which displays remote login sessions on a workstation rather than the console login sessions that use local accounts set up
    on workstations.
    Thanks,
    RocknRollTim
    P.S. I was redirected by a couple of forum users off the Microsoft Community Forum.

    Hi Ben Lavender,
    Thank you for responding to my forum thread again and thank you for making the correction on the WMIC command, I tried both sets of commands for WMIC and found that the WMIC command in your previous post was invalid whereas the one you posted last was correct
    and was showing results, however there a few questions I would like to ask with regards to the WMIC command you posted last. How far back does the command go? When there are no dates and times next to account entries, does this mean that users have never logged
    on to that machine or does this mean that the remote system has never retained this information in it's registry? I remember doing an error check on the machine I tested this command on as it was having performance problems and was developing a bad sector
    on the disk at the time, would this cause the information not to display as expected? Also I configure out the date and time entry for each account entry but what does the information after the decimal point mean? Does it represent milliseconds for the time
    element? Lastly I tried running the psloggedon app from the psloggedon suite on my Windows 7 x64 machine and now when I come to run it, it appears for a split second and then disappears, the same also happens for all the other apps from the psloggedon suite
    after agreeing to license agreement for each app. I decided to do some research to confirm what are the system requirements to run the apps from this suite and the website says that it's only compatible with systems that have Windows XP and higher and/or Windows
    Server 2003 and higher which I thought should have worked, I then decided to run the apps as Run As Administrator and they did the same thing as before, I also changed the compatibility settings of each app to run as Windows XP Service Pack 3 but again they
    all did the same thing as before, does this mean that the suite of apps aren't compatible with 64-bit systems and only work with 32-bit systems?
    Your help would be much appreciated.
    Kind regards,
    RocknRollTim       

  • Change directory in command prompt with labview

    Hi i was asking myself if it is possible to change the default directory in command prompt using labview?
    if somebody know something about that i'll appreciate some help

    tokyghy wrote:
    yeah, i've just realized that thanks, heres another question, do you know how to send or retrieve data using the same function for the ADB (android debug bridge)??
    i want to communicate with a tablet. 
    regards
    You've already asked this question in a separate thread. Keep all discusssion in one place so everyone knows what has been discussed.

  • How to get the drive letter of a Volume using command prompt

    Using windows command line tools i want to get the drive letter of a volume, by specifying its volume number.
    For example i have a HDD with 2 volumes: Volume-0 and Volume-1
    I want to set a Variable say 'Letter'=<Drive Letter> such as
    SET Letter=<Command> <Volume Number>
    Is there any command which can do this for me...
    Thanks...

    Hi,
    You can use the diskpart tool to assign a drive letter to the drive by specifying the volume's number.
    1.Open Command Prompt.
    2.Type:diskpart
    3.At the DISKPART prompt, type:list volume
    Make note of the number of the simple volume whose drive letter you want to assign, change, or remove.
    4.At the DISKPART prompt, type:select volume n
    Select the volume, where n is the volume's number, whose drive letter you want to assign, change, or remove.
    5.At the DISKPART prompt, type one of the following:assign letter=L
    Where L is the drive letter you want to assign or change.
    For more detailed information, you could refer to the article below:
    Assign, change, or remove a drive letter
    https://technet.microsoft.com/en-us/library/cc757491(v=ws.10).aspx
    Best Regards,
    Mandy 
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

Maybe you are looking for

  • Cant purchase or connect to the store ,network connection could not be established .unknown error 50

    i went to the itunes store to download a tv show and music and when i tried it said we could not complete your request  the network connection could not be established. please try again later.then it says unknown error occured-50

  • Troubleshoot video out on new iMac

    I'm trying to connect a mid-2011 iMac to my TV. I have a MDP/HDMI dongle and an HDMI cable. I hook everything up and the iMac doesn't detect the TV as a display. I checked the cables and rebooted the iMac. Anything else to check? I've done video out

  • Strange behaviour in K8N Neo2 platinum BIOS

    I have this board and recently got Crucial Ballistix Tracer 2GB kit that are rated at 2.8v. I'm running 1.8 bios on the motherboard and never had stability issues with my old memory Corsair 1024MB xlpro as they're only rated at 2.6 but since I got th

  • Moving and deleting pictures

    I have 48 GB of photos on my iMac and would like to move all of them to my external firewire hard drive. I would actually like to have iPhoto then access the pictures from the external hard drive as well. What is the best procedure for this, and how

  • Download problem EHP1 for SolutionManager

    Hello everybody, I have problem to download the EHP1 for Solman ! The SAP Download Manager can't download all the Netweaver Upgrade Packages f.e. PI_BASIS 701 Upgrade. , SAP_BASIS 701 Upgrade the status message says  "The request failed 304" . And th