WAR « JBoss « Java Enterprise Q&A





1. How to "hot" deploy war dependency in Jboss using Jboss Tools Eclipse plugin?    stackoverflow.com

I'm using Jboss tools (3.0.0 alpha, on Eclipse 3.4) to hot deploy my war on Jboss 4.2.3. My war depends on another project (packed inside a jar) I 'm working on. But, when ...

2. How can I get JBoss to explode a deployed WAR file?    stackoverflow.com

I am running JBoss 4.3 on Ubuntu under /usr/local/jboss-4.3/. I have deployed my application as a WAR file i.e. myapp.war, to /usr/local/jboss-4.3/server/myserver/deploy. However, there doesn't seem to be an 'exploded' /myapp ...

3. JBoss5: Cannot deploy due to java.util.zip.ZipException: error in opening zip file    stackoverflow.com

I have a web client and a EJB project, which I created with Eclipse 3.4. When I want to deploy it on Jboss 5.0.1, I receive the error below. I searched a ...

4. Recommended way to deploy a WAR on JBoss AS 4.2.3    stackoverflow.com

What is the best way to deploy a WAR on JBoss AS 4.2.3 from a remote location. I don't want to mess something if e.g. my connection hangs while uploading the ...

5. Class in one war not able to access classes in another war of same ear    stackoverflow.com

I have an ear which consists of 2 war files one containing junit classes and the other one containing actual application classes which are referenced by the junits. Now when executing the ...

6. JBoss 4.x not deploying src folder to war    stackoverflow.com

I am currently working on a web app that had previously run and deployed fine but after making a recent change JBoss will no longer deploy a complete war file. ...

7. JBoss 4.3 eap can't find war in an ear    stackoverflow.com

I'm trying to deploy an ear to JBoss. The application.xml has entries looking like:

<module  id="Core_JavaModule">
  <java>APP-INF/lib/core.jar</java>
</module>

<module id="Public_WebModule">
 <web>
  <web-uri>public.war</web-uri>
  <context-root>/</context-root>
 </web>
</module>
The core.jar is read in OK, but ...

8. Jar within War - NoClassDefFound Exception    stackoverflow.com

I have deployed 2 apps as app1.war and app2.war on jboss. These two apps use a common java package, say, myPackage. Earlier my wars looked like this ======================================================================== app[12].war/
-----web.xml
-----app specific classes ...

9. JBoss WAR Deployment problem (caching problems?)    stackoverflow.com

I'm trying to deploy my war file on JBoss 4.2.3. This application was working fine and still is working fine (sans the bugfix that I've put into my code). I have ...





10. jBoss 4.0.2 deploying same WAR multiple times causes jBoss to crash because of PermGem/Out-of-Memory Errors    stackoverflow.com

I develop web applications and I use jBoss 4.0.2 and when I have redeployed my WAR several times with eclipse, jBoss will crash because it runs out of memory. And when ...

11. JBoss: WAR file in EAR can't find JAR library on classpath    stackoverflow.com

Hey Guys, I am having a problem deploying an ear with bundled wars, jars, and configuration files (.properties files) on JBoss 4.3-eap. Here is my ear structure:

+app.ear   ...

12. How to deploy.WAR into jboss 5.1.0    stackoverflow.com

Could you please help me how to deploy the .war file in jboss 5.1.0 . Here is the error by throung jboss 5.1.0 Note:MY RIFacelate.war contains ricefaces implemation Error

2009-09-16 12:58:26,772 INFO  [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (HDScanner) ...

13. How do you unwar a .war file with ant on windows?    stackoverflow.com

I'm only remotely familiar with what ant does, but apparently I have to setup a service that's run on jboss and put it into a deploy directory... the problem is the .war ...

14. how to obtain the relative path of a resource in a j2ee project    stackoverflow.com

I have a Dynamic Web Project having a flat file (or say text file). I have created a servlet in which I need to use this file. My code is as following:

protected ...

15. Jboss 5 Integration with Apache 2.2    stackoverflow.com

I have successfully integrated Jboss with Apache. I can pull up http://localhost/web-console .... now when I drop a war file into my Jboss deploy directory I can pull ...

16. Converting a JBOSS WAR folder to an executable JAR    stackoverflow.com

I have an ANT build script that deploys a WAR folder into my JBOSS deploy directory. Can I convert that into an executable WAR/JAR file and run it as well? For example ...





17. Jboss war redeployment Zipexception    stackoverflow.com

All,

Server: jboss-5.1.0
Java Version: jdk1.6.0_14
Deployment Method: ant v1.7
Error: 08:40:04,260 WARN [ZipEntryContext] IGNORING: Failed to reinitialize ...

18. how to I have two .war files within one .ear file?    stackoverflow.com

I use jboss 4.0.2 and i want to have two .war files within one .ear file .

19. WAR does not work under JBoss, but exploded application - works    stackoverflow.com

From time to time we have very strange problem - if we deploy war into JBoss then our application(JSF+Spring+Hibernate) does not work.
But if use exploded deployment then everything works ok.
We have ...

20. In JBoss, how do I make my war start after my sar?    stackoverflow.com

Within my service I have an mbean which is accessed by my war file. How do I ensure that the war file is deployed and started after the service?

21. JBoss 4.0.5 startup takes 15 minutes deploying a single war file    stackoverflow.com

This instance of JBoss deploys several war files. The rest of the JBoss startup takes about 5 minutes or less. But when it gets to one particular war file, ...

22. How use the maven-jboss-plugin?If I want to deploy the war how to do?    stackoverflow.com

I want to trying maven-jboss-plugin but I don't know what is this,and I want to deploy the war use the jboss-maven-plugin or maven-jboss-plugin?How to use?

23. Does a war file size affect in some way the application and/or application server performance?    stackoverflow.com

we've bean struggling here at work by somebody suggestion that we should decrease the size of our war file, specifically the WEB-INF/lib directory size, in order to improve our production ...

24. How to force jboss to use all jars from webapp (.war)?    stackoverflow.com

I get java.lang.NoSuchMethodError: org/hibernate/Session.isDefaultReadOnly() because jboss uses own libraries, not that from webapp.war. How to force jboss (5.1.0) to get proper jars ?

25. Deployed War (JBoss) grows in size when Eclipse automatically deploys it. Why is this happening?    stackoverflow.com

I'm running JBoss as a server started from within Eclipse. I have a strange problem where turning on automatic publishing (so the ability to hot deploy a class while debugging, etc.) ...

26. ant task to deploy/undeploy war on jboss    stackoverflow.com

How do i deploy/undeploy a war file on running Jboss server using ANT build ?

27. How to stop scanning of war files during deployment on jboss    stackoverflow.com

During deployment the jboss deployer scans all jars inside wars it slows down the deployment. how to stop that so that deployment speed improves. regards Shreyas

28. war file Deployment problem in Jboss    stackoverflow.com

If I have a war file genarated in Windows machine and I deploy that to the Jboss in Linux environment, Do I need to make any changes in Jboss server configuration ...

29. What I am doing wrong while deploying a war on local jboss 4.2?    stackoverflow.com

I have Jboss 4.2 setup on my eclipse where i have added my project. Now when i start the server it works fine till it gets hold of Log4j.xml which belongs ...

30. Exploded jar in war libs    stackoverflow.com

Can we put exploded jar files in war web-inf libs ? Its not working for me in JBOSS 4.2. I got following error and not able to deploy the application:

Caused by: ...

31. How to remove exploded war in JBoss without stopping the server?    stackoverflow.com

I can delete everything except lib folder(JBoss says application is undeployed, but he wont release the jars). I tied jboss-maven-plugin and hard-undeploy, however it says that file(doc says it also support dirs) ...

32. how to deploy a .war file in apollo server    stackoverflow.com

I am making an application in apollo server and want to deploy a .war file in it. How can i do so???

33. My WAR folder is getting created out of EAR folder, where as other files are properly deployed within the EAR    stackoverflow.com

My WAR folder is created out of EAR folder but other jar files are deployed properly within EAR. This is the app.xml being used

<?xml version="1.0" encoding="UTF-8"?>
<application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:application="http://java.sun.com/xml/ns/javaee/application_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd" id="Application_ID" ...

34. Error deploying war "s signer information does not match"    stackoverflow.com

15:23:20,707 INFO  [service] Removing bootstrap log handlers
15:23:20,781 ERROR [ProfileServiceBootstrap] Failed to load profile:: org.jboss.
deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deploy
ments (SEE PREVIOUS ERRORS FOR DETAILS):

DEPLOYMENTS IN ERROR:
 Deployment "vfs:///E:/jboss/server/default/deploy/emailParsing.war" is in erro
r ...

35. New war file fails to reflect changes when deployed in jboss    stackoverflow.com

I made a web project, packaged it in a war file and deployed in jboss - worked great (I have done this 100 times before and succeeded). Today, I modify the ...

36. Stop JBoss 5.0.1 from deploying everything in a WAR File    stackoverflow.com

I have the following problem: Originally I had a plain executable Java-Application (A class with main in a JAR and lots of dependent libraries) Now I needed to extend this to be part ...

37. class cast exception for the same class in jboss    stackoverflow.com

I m using jboss as application server. I got the classCastException for the same class. I think there is problem with class loader. Both EAR and WAR uses different class loader ...

38. use EAR lib instead of WAR lib in Jboss    stackoverflow.com

I m using jboss application server. When I deployed an EAR in jboss, it uses the WAR lib instead of EAR lib, so can anyone tell me how I can specify ...

39. EAR and WAR class loader    stackoverflow.com

I m very confused about the class loader in jboss, can any one describe me in details how the class loader work exactly. I only have to do the one thing... if ...

40. How to change a CSS file inside a .war file deployed in a remote Jboss    stackoverflow.com

So I have a remote server where i upload via FTP an .war file to the deploy folder. So there are times when i just need to change one line or ...

41. Not able to deploy War in Jboss5 my War is working fine with Jboss4     stackoverflow.com

Joss5 Application Server is there any configuration which need to run Jboss4 compatible war file. I got exception

specification violation Non-jta-datasouce RESOURCE_LOCAL not specified
and servlet class are not ...

42. when i deploy my war file jboss log stucks    stackoverflow.com

this is the log what i get..when i deploy the fiel..but after the last line..the log gets stucks..i dont know why it happens..! deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/ 14:08:03,556 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../dep loy/management/console-mgr.sar/web-console.war/ 14:08:04,320 INFO ...

43. JBoss - War library dependencies    stackoverflow.com

I am trying to add some dependencies jar files. But these files when put in lib/endorsed or in WEB_INF/lib.jar results in startup error for jboss instances. I suppose this is happening ...

44. jboss war deployed listener    stackoverflow.com

Is there a single listener one could implement to get a "war deployed" event? I know there is the ContextServletListener. But it has to be 'attached' for each component (several ...

45. deploying same war with different name in jboss 5    stackoverflow.com

I have a scenario where i need to deploy the same war with different names (like TestA, TestB, etc.) for different clients. Each war file connect to different databases. So i ...

46. Are there limitations on deploying an MDB in a JBoss WAR?    stackoverflow.com

We are not seeing our Message Driven Bean receive any messages when deployed in a war in JBoss 4.2.3. Are there any known limitations on using MDBs in WAR deployments?

47. to get the path of a war file deployed in the jboss SOA server    stackoverflow.com

i want the path of the war file that is deployed in the jboss SOA server . as the file can be deployed in any of the folder all, default, minimal, production, standard, ...

48. Jboss ProfileService Deployment Manager deploys the ear as .war    stackoverflow.com

I am trying to set-up a hudson instance running to download and build my project from svn. Also I am using hudson deployment plugin to deploy the ear to a remote ...

49. Jboss adding zecmd.war    stackoverflow.com

When i start my jboss it is adding zecmd.war, iesvc.war and wstats.war in deploy/management folder. How to get rid of this. Please suggest

50. Deployment order for multiple war(Jboss 7)    community.jboss.org

52. Problem in deploying an WAR file to JBOSS server?    forums.oracle.com

_12:34:24,953 ERROR [[/Adempiere_stable]] Servlet /Adempiere_stable threw load() exception_ java.lang.ClassNotFoundException: javax.jnlp.UnavailableServiceException from BaseClassLoader@1dc22ad{VFSClassLoaderPolicy@16891f0{name=vfsfile:/C:/Program%20Files/jboss-5.0.0.GA/server/default/deploy/Adempiere_stable.war/ domain=ClassLoaderDomain@3bfb01{name=vfsfile:/C:/Program%20Files/jboss-5.0.0.GA/server/default/deploy/Adempiere_stable.war/ parentPolicy=AFTER_BUT_JAVA_BEFORE parent=ClassLoaderDomain@883357{DefaultDomain}} roots=[MemoryContextHandler@4535474[path= context=vfsmemory://5c4o14-rph0io-fuktu147-1-fuktul54-1x real=vfsmemory://5c4o14-rph0io-fuktu147-1-fuktul54-1x], FileHandler@25608036[path=Adempiere_stable.war/WEB-INF/classes context=file:/C:/Program%20Files/jboss-5.0.0.GA/server/default/deploy/ real=file:/C:/Program%20Files/jboss-5.0.0.GA/server/default/deploy/Adempiere_stable.war/WEB-INF/classes/], DelegatingHandler@25121409[path=Adempiere_stable.war/WEB-INF/lib/asm.jar context=file:/C:/Program%20Files/jboss-5.0.0.GA/server/default/deploy/ real=file:/C:/Program%20Files/jboss-5.0.0.GA/server/default/deploy/Adempiere_stable.war/WEB-INF/lib/asm.jar], org.joda.time.tz.data.Pacific, org.posterita.businesslogic.core, org.zkoss.zk.scripting, net.sf.cglib.asm.signature, org.junit.internal.runners, org.posterita.struts.inOut, org.posterita.cashType, org.zkoss.zul.event, META-INF.jruby.home.lib.ruby.gems.1.8.gems.rake-0.8.1.test.data.imports, org.zkoss.xel, groovyjarjarantlr.ASdebug, org.posterita.doctype, org.codehaus.groovy.control.io, web.js.ext.timeline.api.ext.planning.scripts.l10n.en, org.compiere.apps, META-INF.jruby.home.lib.ruby.gems.1.8.gems.rake-0.8.1.test.data.multidesc, org.jvyamlb, org.adempiere.server.rpl.imp, org.jfree.data.xml, jxxload_help, META-INF.jruby.home.lib.ruby.gems.1.8.gems.rspec-1.1.4.spec.spec.interop.test.unit.resources, META-INF.jruby.home.lib.ruby.gems.1.8.gems.rspec-META-INF.jruby.home.lib.ruby.site_ruby.1.8.builtin.javasupport.utilities, org.posterita.webstore.businesslogic, org.joda.time.tz.data.Europe, org.junit.internal, org.zkoss.zkmax.init, org.jfree.chart.annotations, org.zkoss.zkmax.zul, org.zkoss.zk.au.http, org.zkoss.zk.ui.util, META-INF.jruby.home.lib.ruby.gems.1.8.gems.rspec-1.1.4.spec, org.jruby.ast.visitor.rewriter.utils, org.compiere.cm.utils, groovy.inspect.swingui, META-INF.jruby.home.lib.ruby.site_ruby.1.8.rubygems, com.sun.jna.linux-amd64, META-INF.jruby.home.lib.ruby.gems.1.8.gems.rake-1.1.4.spec.spec.runner, ...

53. Error deploying war on jboss    forums.oracle.com

Hi, I am using SPRING 3.0.5, HIBERNATE and Jboss 4.2.3GA in an application. And I get the below error while deploying: ERROR [ContextLoader] Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mySessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.AnnotationException: java.lang.NoSuchMethodException: org.hibernate.validator.ClassValidator.(java.lang.Class, java.util.ResourceBundle, org.hibernate.validator.MessageInterpolator, java.util.Map, org.hibernate.annotations.common.reflection.ReflectionManager) Please help me on the same.