How to deploy a normal Java application onto Sun Server

Hi
How do you deploy a normal Java application onto the Sun server...what are the required config files one needs to set etc

You might want to start with the Java EE 5 tutorial, available here :
http://java.sun.com/javaee/5/docs/tutorial/doc/
--ken                                                                                                                                                                                                                                                           

Similar Messages

  • How to deploy the custom java application for self regaistration in portal?

    hi,
    I have created a custom java application in NWDS for Self Registration of new users.I am working on EP 7.02 and the standard self registration application is a Web dynpro java application.
    How can i deploy my custom java application built as a par file in place of the Web dynpro java application?
    Thanks,

    Hi Amarys,
    If you have developed the PAR file in NWDS then you can deploy the PAR in the server with NWDS ( [Check Required Settings |NWDS 7.0 does not deploy PAR;) or in server directly (system administrator > support >> portal runtime >> administration console)
    Best Regards
    Arun Jaiswal

  • How to deploy and remove one application from WebLogic server

    Dear Friend:
    Do you know anyway that I can deploy or remove an application using
    command line intead of administration console when the WebLogic
    server is running?
    Thanks in advance,
    Damon

    I think we have to clean ( already scheduled for next release) list of some of the
    supported API on various MBeans. However just FYI , there is an "void
    setURI(java.lang.String)" method in Component MBean that you could use.
    Viresh Garg
    Pamela Minthorn wrote:
    I am also trying to automate application deployment process. I have looked at
    the docs you suggested below and am wondering why the ComponentMBean has a getURI()
    but not a setURI().
    Here's a snippet from my config.xml that I want to automate:
    <Application
    Deployed="true"
    Name="TestApp1"
    Path="E:\WebApps\version1">
    <WebAppComponent
    Name="TestApp1"
    URI="TestApp"
    Targets="myserver"
    />
    </Application>
    I haven't figured out how to set the URI.
    Also, it looks like this should also be possible using weblogic.Admin. Is that
    true?
    Thanks,
    Pam
    Viresh Garg <[email protected]> wrote:
    You can write a JMX java client and create an Application Admin Mbean
    and then use the application MBean and component MBean interface to set
    the targets for components and deploy them . For more information look
    at the JAVAdoc for:
    weblogic.management.MBeanHome
    weblogic.management.configuration.ApplicationMBean
    weblogic.management.configuration.ComponentMBean
    Let me know if you have addional questions.
    Viresh Garg
    Principal Developer Relations Engineer
    BEA Systems
    Damon wrote:
    Dear Friend:
    Do you know anyway that I can deploy or remove an application using
    command line intead of administration console when the WebLogic
    server is running?
    Thanks in advance,
    Damon
    [att1.html]

  • How to deploy or remove an application from WebLogic server?

    Dear Friend:
    Do you know anyway that I can deploy or remove an application using
    command line intead of administration console when the WebLogic
    server is running?
    Thanks in advance,
    Damon

    Yes, you can use the command-line weblogic.deploy utiltiy to do the
    same.
    For more info:
    http://e-docs.bea.com/wls/docs60///////adminguide/utils.html#1138475
    cheers,
    Mihir
    Damon wrote:
    Dear Friend:
    Do you know anyway that I can deploy or remove an application using
    command line intead of administration console when the WebLogic
    server is running?
    Thanks in advance,
    Damon

  • How I can connect my java application to unix server

    I want to develop simple desktop Application using which I can login and fire simple UNIX command like ls -lrt etc. Can any one guide me to achieve this ?

    Here is a sample program which illustrates connecting to a unix server using SSH protocol.
    The API used is enchanter - http://code.google.com/p/enchanter/
    import java.io.IOException;
    import org.twdata.enchanter.SSH;
    import org.twdata.enchanter.impl.DefaultSSH;
    public class MainSSH {
          * @param args
          * @throws IOException
         public static void main(String[] args) throws IOException {
              SSH ssh = new DefaultSSH();
              ssh.connect("<IP_Address>", 22<port_number>, "<user_name>", "<password>");
              ssh.waitFor("]$");
              ssh.sendLine("ls -lrt");          
              System.out.println(ssh.getLine());
              ssh.disconnect();
    }Thanks,
    Avin

  • How to deploy DSP 3.0 project onto a server

    Hi,
    I am able to run and test my DSP 3.0 project on my local development server, which is configured via the DSP Studio. How can I export that project and deploy it on another server? I see instructions in the developers guide for exporting a .zip file...
    [url http://edocs.bea.com/aldsp/docs30/datasrvc/Export%20Dataspace%20Projects%20or%20Project%20Folders.html]
    is this really the way? How would I then deploy that?
    Thanks!
    Jeff

    Thank you--I think I have it now. I had seen that document, but I had not noticed that when I export the .zip file it also creates a .jar that can be imported into the console. Now I have it imported and just have to sort out how to test it.
    Thanks again.

  • How to deploy a pure jave development component to server?

    i have created a pure java development component.
    but i cannot find a way to deploy it to server
    is there any way?

    You need to essencially wrap your java development component with a deployable development component.
    In order to do that, you need to:
    - Define a public part for your development component of type assembly.
    - Create a deployable DC ( one that results in a SDA or a EAR file ).
    - Reference your DC from the deployable DC. This will include the generated .jar file into the project.
    The definitions of the different types can be found here:
    http://help.sap.com/saphelp_nw04/helpdata/en/93/d5a73f05c4265de10000000a114084/content.htm
    I would either create a library component ( results in SDA ) or a web dynpro component ( ear file ).

  • How to invoce remote none-java application in Portal Server

    Hi all
    We have a project that try to use SUN portal server to call remote coldfusion application, according to the server guide I just find the remote portlet can be invocate. Any one had the experience on that.
    Thanks
    Rosso

    The iFrame Provider is provided out of the box with the Sun Portal. You can just use psconsole to add a new channel to a tab. Select "Provider" for the type and then select iFrame for the Provider. You can enter a URL property that points to site you want to appear in the iFrame. There are other useful properties that control scrolling behavior and the height/width of the channel.
    - Jim

  • When deploying web dynpro java application , sdm not configured

    HI Masters ,
    I installed sap ep 7.0 version. and nwds also. when i am deploying  my webdynpro java application in nwds it show the error ---
    can not determine sdn host is empty. please configure ur engine   / sdm ( software dployment manager) correctly.
    please reply to me how to configure software deployement manager (sdm) in my system.
    solution to be appreciated.

    hi Master,
    here I post the error what i got.please check it and reply me .
    i gave the port no and host name .whaen i click on  the j2ee engene tab it shows all the colors shown in green colour.
    the port no is not a problem.
    when i am click on the error in tasks info the error shown like
    Nov 9, 2008 1:56:00 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] INFO:
    [001]Additional log information about the deployment
    <!LOGHEADER[START]/>
    <!HELP[Manual modification of the header may cause parsing problem!]/>
    <!LOGGINGVERSION[1.5.3.7185 - 630]/>
    <!NAME[D:\usr\sap\J2E\JC01\SDM\program\log\sdmcl20081109082553.log]/>
    <!PATTERN[sdmcl20081109082553.log]/>
    <!FORMATTER[com.sap.tc.logging.TraceFormatter(%24d %s: %m)]/>
    <!ENCODING[Cp1252]/>
    <!LOGHEADER[END]/>
    Nov 9, 2008 1:55:54 PM   Info: -
    Starting deployment -
    Nov 9, 2008 1:55:54 PM   Info: Error handling strategy: OnErrorStop
    Nov 9, 2008 1:55:54 PM   Info: Prerequisite error handling strategy: OnPrerequisiteErrorStop
    Nov 9, 2008 1:55:54 PM   Info: Update strategy: UpdateAllVersions
    Nov 9, 2008 1:55:54 PM   Info: Starting deployment prerequisites:
    Nov 9, 2008 1:55:55 PM   Info: Loading selected archives...
    Nov 9, 2008 1:55:55 PM   Info: Loading archive 'D:\usr\sap\J2E\JC01\SDM\program\temp\temp57270sur.ear'
    Nov 9, 2008 1:55:57 PM   Info: Selected archives successfully loaded.
    Nov 9, 2008 1:55:57 PM   Info: Actions per selected component:
    Nov 9, 2008 1:55:57 PM   Info: Initial deployment: Selected development component 'sur'/'local'/'LOKAL'/'0.2008.11.09.13.55.46'/'0' will be deployed.
    Nov 9, 2008 1:55:57 PM   Info: Ending deployment prerequisites. All items are correct.
    Nov 9, 2008 1:55:57 PM   Info: Saved current Engine state.
    Nov 9, 2008 1:55:57 PM   Info: Starting: Initial deployment: Selected development component 'sur'/'local'/'LOKAL'/'0.2008.11.09.13.55.46'/'0' will be deployed.
    Nov 9, 2008 1:55:57 PM   Info: SDA to be deployed: D:\usr\sap\J2E\JC01\SDM\root\origin\local\sur\LOKAL\0\0.2008.11.09.13.55.46\temp57270sur.ear
    Nov 9, 2008 1:55:57 PM   Info: Software type of SDA: J2EE
    Nov 9, 2008 1:55:57 PM   Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****
    Nov 9, 2008 1:55:57 PM   Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
    Nov 9, 2008 1:55:57 PM   Error: Aborted: development component 'sur'/'local'/'LOKAL'/'0.2008.11.09.13.55.46'/'0':
    Cannot login to the SAP J2EE Engine using user and password as provided in the Filesystem Secure Store. Enter valid login information in the Filesystem Secure Store using the SAP J2EE Engine Config Tool. For more information, see SAP note 701654.
    com.sap.sdm.serverext.servertype.inqmy.extern.DeployManagerAuthExceptionWrapper: Wrong security credentials detected while trying to obtain connection to the J2EE Engine.
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMAUTHEXC)
    Nov 9, 2008 1:55:58 PM   Info: Starting to save the repository
    Nov 9, 2008 1:55:59 PM   Info: Finished saving the repository
    Nov 9, 2008 1:55:59 PM   Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.
    Nov 9, 2008 1:55:59 PM   Error: -
    At least one of the Deployments failed -
    as like this  it show the error .please answer this problem
    Edited by: surya ep2 on Nov 9, 2008 9:56 AM

  • How to deploy CE7.1.1 applications in EP7.0.

    Hi All,
    how to deploy CE7.1.1 applications in EP7.0.,is it possible to deploy or not.
    any one help me
    regards,
    jasmine

    Hi Jasmine,
       It's not possible deploy a Java EE aplication developed in SAP CE 7.1 into EP 7.0 because the XML descriptors have differents formats. Try to use the export options over your applications and maybe you will found some options to help you.
    Best Regards
    Ivá

  • Problem while deploying a webdynpro java application in NWDS 7.1 version

    HI All,
            I got the below error when i deploying the  webdynpro java application in NWDS 7.1 version..help me out...........................................
    Exception:
    com.sap.ide.eclipse.deployer.api.APIException: ConnectionException,cause=[Ecc]
    NameNotFoundException.The SAP J2EE ENGINE service 'tcbldeploy_controller' is not available
    because of deployment or down engine( service ).
    Reason: Object not found in lookup of
    tcbldeploy_controller.
         at
    com.sap.ide.eclipse.deployer.dc.ComponentManagerImpl.getDeployProcessor(ComponentManagerImpl
    .java:64)
         at com.sap.ide.eclipse.sdm.threading.DCDeployThread.run(DCDeployThread.java:118)
    Caused by: com.sap.engine.services.dc.api.ConnectionException: [ERROR CODE DPL.DCAPI.1118]
    NameNotFoundException.The SAP J2EE ENGINE service 'tcbldeploy_controller' is not available
    because of deployment or down engine( service ).
    Reason: Object not found in lookup of
    tcbldeploy_controller.
         at
    com.sap.engine.services.dc.api.session.impl.SessionImpl.createCM(SessionImpl.java:320)
         at
    com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.<init>(DeployProcessorImpl.ja
    va:136)
         at
    com.sap.engine.services.dc.api.deploy.impl.DeployProcessorFactoryImpl.createDeployProcessor(
    DeployProcessorFactoryImpl.java:26)
         at
    com.sap.engine.services.dc.api.impl.ComponentManagerImpl.getDeployProcessor(ComponentManager
    Impl.java:46)
         at
    com.sap.ide.eclipse.deployer.dc.ComponentManagerImpl.getDeployProcessor(ComponentManagerImpl
    .java:58)
         ... 1 more
    Caused by: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object
    not found in lookup of tcbldeploy_controller.
         at
    com.sap.engine.services.jndi.implserver.ServerContextImpl.lookup(ServerContextImpl.java:649)
         at
    com.sap.engine.services.jndi.implserver.ServerContextRedirectableImpl.lookup(ServerContextRe
    directableImpl.java:80)
         at
    com.sap.engine.services.jndi.implserver.ServerContextImplp4_Skel.dispatch(ServerContextImplp
    4_Skel.java:555)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:319)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:200)
         at
    com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:136
         at
    com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.pro
    cess(ApplicationSessionMessageListener.java:33)
         at
    com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)

    First check is Java stack is running ?
    make sure J2EE_ADMIN user not locked.
    Ans please check password in secure area. check password in secure store should be correct.
    may be you can try with restart of SAP and DB.
    All the best
    regards
    nag

  • Hi team, please help me how to deploy creative cloud desktop application through SCCM for an enterprise

    Hi team, please help me how to deploy creative cloud desktop application through SCCM for an enterprise

    Moving this discussion to the Enterprise Deployment for Creative Cloud, Creative Suite forum.

  • How can I run a java-application on starting of Windows 2000

    How can I run a java-application without any user on starting of Windows 2000?
    For example, if the computer is restarted and nobody enter into it yet, my java-application should run anyway.
    How can I do that?

    Hi, you have to put it in a Windows service.
    To do this you have a program, Srvany.exe that allow to insert a .exe or .bat program in a Windows service.
    For example, i develop a program, TomcatGuardian and i put it in a service because i need to run it in a server without Administrator logged in.
    Regards,
    Ivan.

  • When deploying the webdynpro java application , showing error message

    Hi Masters,
    when deploying the webdynpro java application , showing error message. Please reply why this problem showing and what is the solution
    But Iogin to sdm tool ( remote gui .sh) with same password, which password  i am using for deploy the webdynpro java application.here in sdm tool i am able to login. and i restart the sdm , and again trying to deploy the same problem it showing.
    URL to deploy : file:/C:/DOCUME1/ppuser/LOCALS1/Temp/temp30925rupa.com~sales.ear
    Result
    => deployment aborted : file:/C:/DOCUME1/ppuser/LOCALS1/Temp/temp30925rupa.com~sales.ear
    Aborted: development component 'sales'/'rupa.com'/'LOKAL'/'0.2010.02.13.14.32.39':Caught exception during application deployment from SAP J2EE Engine's deploy API:com.sap.engine.deploy.manager.DeployManagerException: ERROR: Cannot connect to Host: [devsap] with user name: [J2EE_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: No login module succeeded.] (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).DMEXC)
    Deployment exception : The deployment of at least one item aborted
    Edited by: sujana mullapudi on Feb 13, 2010 2:52 PM

    Hi Sujana,
    For deploying Web Dynpro for Java application, J2EE_admin correct password must be stored in the scured area of config tool.
    Your error show that J2EE_admin information is not correct.
    So, Please ask your basis team to update new J2EE_ADMIN password or you can do it in scured area of config tool.
    Hope this will helps you.
    Thanks
    Arun Jaiswal

  • How to show superscript in ,java application?

    how to show superscript in ,java application? in command prompt and using JOptionPane.showMessageDialog()

    JOptionPane.showMessageDialog(null,"<html>4<sup>2</sup> = 16</html>");

Maybe you are looking for