how to auto explode the jboss deployment - jboss

I have a war file (MyApp.war). While deploying in jboss, it is still
in compressed format. But in tomcat it is exploding
and creates a MyApp folder. Is there any way to do that in Jboss eap 5.1?

Actually you will find for web applications an exploded version of your war under JBOSS_HOME\standalone\tmp\work\jboss.web[host-name]. This is also the place where you will find JSP files converted as Servlets. The tmp filesystem is used internally by the application server to store the VFS (Virtual File System) storage. For more info about JBoss storage have a look at this tutorial. Hope it helps.

Related

Can a sub-web.xml be deployed in jboss application?

I am converting a glassfish web application (.war) to be able to deploy it on a jboss (wildfly) server.
The original glassfish .war contains a sun-web.xml file. I am simply wondering if I'm required to convert the sun-web.xml file before it can be added to the equivalently converted jboss war.
Stated another way, is the sun-web.xml file compatible with only glassfish servers, or it is also applicable/compatible with jboss?
Thank-you kindly

Can we deploy the war file of ADF fusion application into web logic server?

I have created a ADF fusion application deployed in Jdev. When I deploy it as war file in Integrated weblogic server - works fine. When I deployed that as war in standalone weblogic server - it gives me error 500.
In the console (startweblogic.cmd) "java.lang.NoClassDefFoundError: oracle/adf/model/RegionBinding"
So I found on internet that deploying it as EAR the whole application would solve. Yes. It indeed was solved. My application runs fine in standalone weblogic.
Can we not deploy it as war in standalone weblogic?
The war file is working fine in integrated but not in stand alone.
Why?
P.S.: I installed ADF runtime, prepared the deployment profile to deploy as a web application.
I think you should make a quick research on the difference between these two types of archives EAR and WAR, then it should be clear to you.
Anyways, the fact is that you are trying to deploy a Fusion application, which includes in itself two different projects: the ViewController project and the Model one. The reason why on the standalone version it can only work if you deploy as an EAR is that this type of archive can contain several WARs, JARs (and other types of archives). While a WAR can contain only one of the projects (you can create a WAR for each, the Model and the ViewController project) and related jars. But they would be separate, so they would not have access to each-others files. I bet you've tried to deploy the ViewController.war only. This is the reason why you should deploy an .ear on the standalone version.
Instead, the integrated version, if an EAR file is deployed at the application level, and it has dependencies on a JAR file in the data model project and dependencies on a WAR file in the view-controller project. (It means, you are not deploying just the war from JDeveloper, it internally creates an EAR).
I hope this link would be useful.

A war file created for weblogic server. Is that same war file work in WebSphere?

A war file created from weblogic server. Is that same war file work in websphere Server
Maybe. Depends on if any weblogic-specific features were used, or if you stuck to the servlet spec.

How to deploy a GWT application in the Ibm Websphere 7

We have created gwt application on eclipse juno 4.2 and gwt 2.5.1 and exported the application as war file using GWT Web App Export. Added the war file to the EAR project
of the eclipse.
If I deploy it on the websphere through eclipse it gets deployed. But if I try to deploy the same ear file through the admin console of WAS , the process hangs, I have tried all
the suggestions available over the net but all in vain.
Can anybody throw some light on this and provide guidence.
Thanks
Bhavani
Now I am able to deploy it through Websphere console.
Thanks for (fnt) by specifying about the size of the application.
When I posted the question the size of the war/ear was 111MB ,I removed
all the jar files and placed it in Websphere app servers ext foloder and
I build the war file through GWT compiler to contain only the binary codes of sources required for the application. The size was reduced to 7MB (the previous war file was
having jasper jars which was accounting for the most of the size)
Then I deployed the ear file through the admin console. Still It almost took
more than 20 minutes to deploy it through the admin console and I am
successfully able to deploy it and aceess the GWT application.
Thanks
Bhavani

Autopatch with EAR applicaton on jboss

Has anyone deployed autopatch (the database upgrade tool) in an ear application (on jboss server). Autopatch supports war kind of applications out of the box but for ear kind of applications it would need some extensions.
Moreover I am unable to provide the .sql files inside the ejb jar inside the ear as the location to look for patches to autopatch. Jboss 5 uses VFS and hence there is no reliable way to know the full URL to the jars.
Thanks in advance.