Downloading application from weblogic server - weblogic

I have requirement for testing a j2ee application which is deployed in a weblogic server.
I have to get the ear add my testclasses into that and depoly it back.
Since weblogic server takes so much memory , I want to run my testcases to run in another box , connect to the weblogic server and download the ear from there and modify and deploy it back.
I know that it is possible to remotely deploy application in weblogic.
But is it possible to download the application from weblogic ? using JMX ?
Thanks in advance.
Thanks
J

JMX is for the runtime configuration and management (Java Management Extensions). What you're looking for is much simpler - On the WebLogic console, go to the deployments and click on the application of interest.
Next, figure out what the path of the deployed application is and then manually copy (scp if you're in UNIX) the ear file over to your local directory.
If you don't have access to the hosting server then it's not possible to download the app.

Related

IBM Worklight Application Deployment

I want to deploy my application on Apache tomcat Server.I went through the documentation part but things were not clear to me..Can Anybody please help me deploying my Worklight application on Apache tomcat.Just want to know the step by step procedure.I am newbie to Apache tomcat,please bear with me.I knw about the .adapter files, .wl.app files but much confused about deploying and accessing the .apk,.war files..
Thanks in Advance
Tomcat is an application server. It runs web apps called WAR files (it is not the same as web apps for mobile devices).
You must purchase Worklight for your organization in order to receive additional required libraries, such as the Worklight JEE .jar file, which is basically the Worklight Server and Worklight Console.
You deploy the above files, including the Worklight project's .war file, and its artifacts: the .wlapp and .adapter files, to the Tomcat application server, either manually or by using the installation tools (Ant scripts and the IBM Installation Manager) provided by IBM as part of your license purchasing.

IBM Websphere - deploy Application to a remote server

I successfully deployed war file and wlapp, adapters via server configuration tool and worklight console respectively, I am not able to communicate with the remote server. But from development environment, i am able to communicate with the app server.
Help me someone who have ideas and knowledge on this. Thanks in advance.
If I understand you correctly, after deploying the .adapter and .wlapp to the remote, your app is unable to connect to the remote server.
To me then it sounds like you are not building the app correctly for the remote server. You need to right-click on the application folder and select Run As > Build Settings and Deploy Target, and make sure you are using the correct server values for the remote server. You then need to deploy the .war to the remote application server and when done with that - deploy the .adapter and .wlapp files.
When trying to connect from the newly generated app, it should successfully connect - to the remote server.

How to set up IBM work light server on my machine

Hello Folks,
We are recently working on IBM worklight and what we want to try is:
We have two machine, one we want to set as server and other one is for my developer to build the app.
Currently we have installed Apache Tomcat server on the machine which we want to make as server. We even have IBM Worklight installed on it. Now What I want to achieve is to deploy the app from other machine to this server. But I am not able to set up the things properly.
Things done so far:
Installed Apache Tomcat server software on a machine (server)
Installed IBM Installation Manager
I am not getting how will I set up the Worklight Server on this machine. Can anyone provide some information?
You cannot directly deploy from Worklight Studio (the Eclipse plug-in) to a remote Worklight Server.
The steps you need to take are:
Setup your application for a remote server, via the Build Settings and Deploy Target window
Build the app
Take the .wlapp/.adapter file and deploy it to the remote Worklight Server via it's Worklight Console
If you have done any server-related changes (authenticationConfig.xml, Java code, ...) you will need to first deploy the project's .war file to the application server that hosts the remote Worklight Server, and then the .wlapp.

How to deploy the war in remote Weblogic server with eclipse.

I am using weblogic 9 and i tried connecting to a remote server.
But first of all it is asking for Weblogic Home. Since i am connecting to a remote system how can i did not had the weblogic home directory on my system.
Again just to test i also installed the Weblogic on my local system and tried accessing the remote server.
I provided all the necessary values. It detected the running server.
But when i tried deploying a JSF web app it gave an error.
It is as follows:-
Module named 'HelloWorldJSF' failed to deploy. See Error Log view for more detail.
weblogic.deploy.api.spi.exceptions.ServerConnectionException: [J2EE Deployment SPI:260041]Unable to upload 'E:\eclipseWorkspace.metadata.plugins\org.eclipse.core.resources.projects\HelloWorldJSF\beadep\remote_weblogic\HelloWorldJSF.war' to 't3://192.168.218.51:7001'
Exception received from deployment driver. See Error Log view for more detail.
If i try to run the same JSF web app in my local server it is working fine.
can you please let me know how to configure the remote server connection in eclipse without having the Weblogic Home successfully.
Thanks a lot indeed!
Mithun

How to deploy a webapplication developed to a remotely running tomcat server?

I need to deploy a webapplication developed in my local system (used Eclipse) on a tomcat server running on a remote server. For this what all privilages are to be needed on the existing server.
What version of Tomcat are you using? You should just be able to go to manager screen and deploy your war file from there i.e. http://hostname:8080/manager
On Tomcat 7 you need to have a user entry in /conf/tomcat-users.xml for the role manager-gui.
If you can connect to the server hosting tomcat you could copy your war file to the webapps directory manually instead.
the easy way to deploy the application is to make a war file of your application and paste it in the webapps folder of tomcat installation folder. By default it catalina_home/webapps
or use the inbuilt hostmanager application.