-
1. Re: How to deploy jar in JBoss 5.1.0 EAP
jaysensharma Dec 8, 2015 9:35 AM (in response to vish_cs)What does the jar file contain? Is it a simple utility jar? If yes, then better put it inside the "$PROFILE/lib" (like $JBOSS_HOME/servers/default/lib) so that its contents will be available to the other deployed applications.
Why do you want to deploy a plain JAR to the JBoss ?
Also please elaborate what exactly do you mean by "This jar entry is visible in WAR and for this context path = test.jar" ?
-
2. Re: How to deploy jar in JBoss 5.1.0 EAP
vish_cs Dec 9, 2015 4:11 AM (in response to vish_cs)Hi Jay,
Thanks for your reply.
This is not utility jar. This jar is provided by our client as their one application. They wanted us to deploy this on JBOSS 4.1.0 EAP. Please find folder structure
Test
|----common
|----Help
|----jscripts
|----META-INF
|---context.xml [contain <Context path="/TestW"/>]
|----src
|--WEB-INF
|----lib
|----jboss-web.xml
|----web.xml
"This jar entry is visible in WAR and for this context path = test.jar" ? - In admin console we have option t
o deploy application as WAR. In that this application is visible with
"context path = test.jar". It should show TestW as per context path specified in context.xml
Please let me know how to deploy JAR
-
3. Re: How to deploy jar in JBoss 5.1.0 EAP
jaysensharma Dec 9, 2015 4:28 AM (in response to vish_cs)Your applications structure looks like a WAR (Not a JAR)
I will suggest you to rename "test.jar" as "test.war" and simply put it inside the "$PROFILE/deploy" directory and see what happens.
Because the JARs do not include the WEB-INF/web.xml or jboss-web.xml so i guess your client might have done some type and might have said "test.jar" rather than "test.war"