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

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

Related

how to auto explode the jboss deployment

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.

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.

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.

deploying a web service war file to websphere

I am trying to deploy a web service war file to websphere.
I have tested the web service in Eclipse using Tomcat and it worked. However, once I deploy the war file to Websphere, the service (as outputted in tomcat) does not display. In deploying to websphere, i checked the DEPLOY WEB SERVICES under the SELECT INSTALLATION OPTIONS.
When I created the war file from Eclipse, I right clicked the application and clicked export file, selected war file and there it went.
Was there something I missed in creating the war file? Or, in the deployment?
thanks.
Maybe too late?...See this case for a reasonable explanation.

HSQL DB Conflicts with JBoss

I would like to use a custom version of the HSQL DB in an application that I am deploying in JBoss. However, JBoss already contains an HSQLDB.jar. The JBoss jar is being resolved by my application instead of the custom jar in my ear.
How can I use a different version of HSQL in my web application from the one that JBoss uses internally?
Can I remove the HSQLDB.jar included with JBoss without negatively impacting the Application Server?
The custom version it's just a newer version? If it's that the case than you can simply replace the jar in the Jboss lib folder. Jboss uses HSQLDB as far as I know for queue persistence.