How to install ear in local web sphere (automatically) - unix

I am looking for automatic Ear deployment for WAS6 application. Is there any default scripts provided by WAS6? If Yes, Please provide me script names and please explain me, how to use that. It would be great help for me.
If there is no default scripts available to deploy ear, How to proceed to write script.
Please do needful.
Thanks in Advance

WebSphere Application Server provides a scripting tool, wsadmin, that may be used for automating the deployment of applications. See this Info Center document for more details.
AdminApp.install('/ears/application1.ear', '[-cluster cluster1]')
Also, for more general help in writing scripts using wsadmin, here are some other helpful resources:
WebSphere Application Server V6.1: System Management and Configuration: Administration with Scripting (Chapter 5)
WebSphere Application Server V6.1 InfoCenter: Wsadmin tool

Related

SOA suite 12c can not find SOA sever

I have standalone server configured, when deploy OSB project on it, it works fine, but when I try to deploy an SOA project, it hangs at "Looking up SOA server" and then got this error message. Does anyone knows what is wrong here, thank you.
I have admin sever, soa server and osb server all up and running. Here is the proof.
Here is the update:
The connection tests are all successfully returned.
But when I try to expend this SOA folder it just keep loading...
Inside the em, it shows the servers are up and SOA infra is active. This is version 12.2 btw.
That's not a standlone domain. Instructions for standalone domain are wrong in the docs. Attached is screenshot of standalone I created. Also successful expansion of SOA in JDeveloper. My guess is your installation is wrong.
Try installing on another machine and testing. Is this on-premise or SOA Cloud Service? IF SOA cloud service then know that deploy from JDeveloper to SOA CS is not supported in this release, per the docs.
Standalone means you create a seperate domain and server that cannot be managed or controlled by jdeveloper..
jdeveloper uses integrated server (integrated with jdeveloper) and uses java derby database instead of oracle database or other dbs.

ASP.Net MVC 3 application automated installer

I wanted to know if it's possible to automate the deployment of an ASP.Net MVC application. This application is meant to run locally on the host PC and I what I want to do is create an installer to make it easy for end-users to setup quickly. I've never tried this approach for web applications and I wanted to see what my options are.
I was thinking of using something like Cassini or aspNETserve and somehow automating the installer to set everything up on the fly. Any insight is appreciated, if there are any questions or if more details are required, please let me know. Thanks.
I would use the WebPlatform installer to set all your dependencies setup. You can script that tool and have it run all the pre-reqs for you. (http://msdn.microsoft.com/en-us/library/windowsazure/gg433092.aspx)
Also, I would use IIS Express to host. It is also setup via script to setup your app root, paths, permissions, etc. (http://learn.iis.net/page.aspx/870/running-iis-express-from-the-command-line/)
So in theory a simple script or installer could deploy all of this for you and run the above two as well as deploying your application.

What is the best way to set AutoDeployment for Dot Net Nuke Web Site in TFS

i am looking for a way to autodeploy a Dot Net Nuke website by TFS after checking in. I also need to some how transform web config to the right connection for the deploy server.
Since this is a website but not a web application, thing becomes tricky. If you have done it before, please give me some idea.
Thanks
I have not done auto deployment with TFS but did automate the process with SVN. What we did is simply have the script deploy everything that had changed since last login to the web server - EXCEPT - the web.config.
Database scripts were handled by a process like this but those were not as reliable as the SVN code deployment was.
HTH
You could use a deployment tool such as kwatee (self promotion). Kwatee is configured via a web GUI and can then deploy any application or site via python scripts and transform files along the way.
You can use Visual Studio web deploy feature. ALM Rangers shipped a ready to use BRDLite Reference template for this purpose which you can download here. Also, check this link for documentation for the template usage.
If you're using VS2010, you can use a Web Deploy Project in your solution. TFS will talk to the WDP as it would with a web application's project file.
For config transforms, you can use a tool called SlowCheetah.

Create ear file in Jdeveloper from jpr and jws project

I am currently working on Jdeveloper IDE, a project already is being setup by someone else and he is no longer with organization.
When start embeded server it start the server with the application which ejb 2.0 application. I am strugling to creating an ear file from the source code in Jdeveloper.
I have google a lot but not able to find the solution. Please suggest me solution. I will appriciate if someone provide me alternate solution as well.
You need to create a deployment profile for your project (file->new->Deployment profile).
The exact steps depend on the version of JDeveloper you are using - you can try posting this on the JDeveloper discussion forum on OTN.

started to learn EJB. What options do I have for an application server?

I have started learning EJB. I like to know which is best application server for beginner to learn EJB...
I would recommend an open source server as there are plenty good ones available. The open source servers often have greater community support which is helpful while learning.
Caucho Resin (also has a commercial extension)
Sun Glassfish
JBoss Application Server
I think JBoss Appliocation Server
I don't think that the particular app server matters too much, the basic criterion is that it should support JEE5 (EJB3 and JPA) rather than being limited to earlier versions of those specs.
There are free app servers such as WebSphere Community Edition(WCE) which is based in Apache Geronimo.
You will probably find it convenient to use a development tool such as Eclipse, check that whichever server you use is supported by some such tool. WCE has a suitable Eclipse plugin

Resources