Hi everyone i am trying to deploy a project in jboss application server and getting the below error but the same .war file uploading successfully in local server so please help me out to resolve this problem .
{"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"xyz.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"xyz.war\".POST_MODULE: Failed to process phase POST_MODULE of deployment \"xyz.war\""}}}}
It Worked for me.
From below path, take backup of your war files and save in some directory.
JBOSS_UnZip\jboss-as-7.1.1.Final\standalone\deployments
After that delete all the WAR files and try to deploy your new(fresh)WAR file here(in deployments folder) deployment will be successful.
Are you using the same JDK version that you used for compiling your WAR?
Related
I am trying to build mongodb-async driver with YCSB (0.15.0) version. I am running it on Clear Linux OS, and have MONGODB version 4.0.5 and mvn -version is 3.6.0.
I am running the command "mvn -pl com.yahoo.ycsb:mongodb-binding -am clean package" from my home directory of YCSB, and get the following error:
Could not resolve dependencies for project com.yahoo.ycsb:mongodb-bindin
g:jar:0.16.0-SNAPSHOT: Failed to collect dependencies at com.allanbank:mongodb-async-driver:jar:2.10.1: Failed to read artifact des
criptor for com.allanbank:mongodb-async-driver:jar:2.10.1: Could not transfer artifact com.allanbank:mongodb-async-driver:pom:2.10.
1 from/to allanbank (http://www.allanbank.com/repo/): Connect to www.allanbank.com:80 [www.allanbank.com/206.210.70.161] failed: Co
nnection timed out (Connection timed out) -> [Help 1]
Can someone please point me what might be going wrong. Thanks in advance
I think you have to configure the JAVA_HOME in the .mavenrc by adding:
expot JAVA_HOME=your path (eg: export JAVA_HOME=/usr/lib/jvm/java-8-oracle/) into this file
We are trying to checkout, build and deploy EAR files ( IBM Integration Designer developed Mediation Modules.. but mostly similar to Java EAR files ). While deploying to WAS ND I am getting the below error...
[wsadmin] WASX7017E: Exception received while running file "C:\Users\INSTAL~2\AppData\Local\Temp\wsant1588202279705404612jacl"; exception information: com.ibm.ws.scripting.ScriptingException: WASX7132E: Application install for C:\Ant_Automation\ESB\MMCheckout\KY_SF1520_CPRServices_MMApplication\KY_SF1520_CPRServices_MM.ear failed: see previous messages for details.
[wsadmin] WASX7341W: No "save" was performed before the interactive scripting session exited; configuration changes will not be saved.
BUILD FAILED
C:\Ant_Automation\ESB\build.xml:124: Java returned: 105
Total time: 1 minute 53 seconds
I think we have to save the configuration after deployment in a ND deployment, but I am not sure how we can save using ANT.
DMGR System log
[28-06-16 16:43:13:572 CEST] 000003ef InstallSchedu I ADMA5016I: Installation of KY_SF1520_CPRServices_MMApp started.
[28-06-16 16:43:14:384 CEST] 000003ef Configuration I com.ibm.bpm.config.spi.ConfigurationSpi getDeploymentEnvironment Effective deployment target is WebSphere:cell=KYDevBMP02Cell01,node=KYDevBMP02CellManager01,server=dmgr
[28-06-16 16:43:14:400 CEST] 000003ef Configuration I com.ibm.bpm.config.spi.ConfigurationSpi getDeploymentEnvironment Effective deployment target is WebSphere:cell=KYDevBMP02Cell01,node=KYDevBMP02CellManager01,server=dmgr
[28-06-16 16:43:14:493 CEST] 000003ef WBIAAbstractT I com.ibm.ws.wbia.deployment.WBIAAbstractTask performTask CWLRD0101I: No WebSphere Business Integration Adapter files are found in the application KY_SF1520_CPRServices_MMApp.
[28-06-16 16:43:15:134 CEST] 000003ef Configuration I com.ibm.bpm.config.spi.ConfigurationSpi getDeploymentEnvironment Effective deployment target is WebSphere:cell=KYDevBMP02Cell01,node=KYDevBMP02CellManager01,server=dmgr
[28-06-16 16:43:15:149 CEST] 000003ef InstallSchedu I ADMA5014E: The installation of application KY_SF1520_CPRServices_MMApp failed.
You don't need to save if you are using , check this link for Ant script example Using Ant scripts for testing in headless WebSphere Business Process Manager
You have to look for error details either in the Ant console output or server SystemOut.log.
Look at your messages:
Effective deployment target is WebSphere:cell=KYDevBMP02Cell01,node=KYDevBMP02CellManager01,server=dmgr
This is not correct, you are installing application to either Cluster of some server, but for sure not DeploymentManager.
You have to provide options to your wsInstallApp task that will define target. See AdminApp.install command for details.
When I try to deploy my application named shopping-1 to Glassfish 3 I get the following error:
'Publishing to GlassFish Server Open Source Edition 3 (Java EE 6)2 at localhost...'has encountered a problen.
cannot Deploy shopping-1
Deployment Error for module: shopping-1: Exception while loading the app :
java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start:
org.apache.catalina.LifecycleException:
org.apache.catalina.LifecycleException:
java.lang.ClassNotFoundException:
org.springframework.web.servlet.DispatcherServlet
How do I track down and fix this issue?
apparently the shopping-1.war file doesn't include the archive containing the DispatcherServlet class.
unzip -l shopping-1.war | grep spring (on Linux) will give you the list of all spring-related included jar files
First run appserver admin-list applications
Check if there are any deployed applications on the server.
Undeploy by running them if there are.
Stop the application server.
Open the location folder where you have the war file for deployment
Check that there is only one war file at a time in it.
7.Start the application server
Deploy the war.
Should work fine.
Setup
I setup a virtual machine with Ubuntu 12.04 64bit where I want
to run JBoss AS 7 and deploy Nexus OSS as a war file.
This tutorial was used to setup JBoss as a service on linux.
I found this thread, too, but the configuration script configuration
didn't worked for as well as the script shipped with JBoss in bin/init.d/.
Deployment Problem
No I'm trying to deploy the Nexus OSS war file. I had two different approaches.
1. Deploy it via the webinterfaces
I got this error
Request
{
"address" => [("deployment" => "nexus")],
"operation" => "deploy"
}
Response
Internal Server Error
{
"outcome" => "failed",
"failure-description" => {"JBAS014671: Failed services" =>{"jboss.web.deployment.default-host.\"/nexus-2.0.6\"" => "org.jboss.msc.service.StartException in service jboss.web.deployment.default-host.\"/nexus-2.0.6\": JBAS018040: Failed to start context"}},
"rolled-back" => true
}
2. Autodeploy it in /usr/local/jboss-as-7/standalone/deployments/
JBAS015052: Did not receive a response to the deployment operation within the allowed timeout period [60 seconds].
Check the server configuration file and the server logs to find more about the status of the deployment.
However I could find any logs. I search in
/var/log/jboss
$JBOSS_HOME/standalone/log
I haven't tried the most recent WAR, but I tried deploying the Nexus WAR on JBoss AS 7, GlassFish, Geronimo and TomEE without success. They all had different errors. From what I was gathering that WAR just won't work on any Java EE application server. I was only able to get it to work on a servlet container like Tomcat or jetty.
It was my first time to use Java EE and I am having an error everytime I run my html file.
This is the error I am seeing:
In-place deployment at C:\Documents and Settings\scybermonde\My Documents\NetBeansProjects\Exercises\build\web
deploy?path=C:\Documents and Settings\scybermonde\My Documents\NetBeansProjects\Exercises\build\web&name=Exercises&force=true failed on GlassFish Server 3
C:\Documents and Settings\scybermonde\My Documents\NetBeansProjects\Exercises\nbproject\build-impl.xml:683: The module has not been deployed.
BUILD FAILED (total time: 1 second)
What was wrong if I am receiving an error like this?
I also tried to deployed it referring to what it said in the later part "The module has not been deployed" but still the same error appears...
please help... thanks in advance :)