eclipse debug war deployed in weblogic - java

I have an application ear that is deployed into weblogic. Is there any way to debug an ear deployment?
Hoping ear deployment cant be debugged . I extracted the war from ear. Turned to war to physical folder by renaming the war extention to zip and then unzipping it.
Then pointed this physical location as deployment in weblogic. But then too its not working.
Any possible solution to debug an application deployed as ear using eclipse?
pls note weblogic is integrated into eclipse

The below link gives clear steps in setting up the remote debugging in your Eclipse/Weblogic setup:
how to debug java web application in eclips with weblogic server

Related

Java Ear application - Hot deployment

I deploy my application as ear in to weblogic. Even for a small change i need to build and restart my server. I am looking out for an easier solution where i could hot deploy my current changes.
I had already tried deploying ear as an open directory.
Can any body help me with this
weblogic uses a value in MANIFEST.MF to determine if the package to be deployed is a newer version of the current deployment. the value is 'Weblogic-Application-Version'. if you update this value, you can redeploy your ear file without stopping-starting the managed instance.
for more info: here

Could not find handler chain file handler-chain.xml when deploying WAR artifact from intelliJ to Tomcat 8.5.

I'm trying to create WAR of SOAP service and deploy it to local tomcat 8.5 from IntelliJ.
The code is imported from eclipse project, where in the past I created WAR and deployed it to remote server. Now I'm using IntelliJ and trying to deploy it on local server server directly from intellij.
When deploying the code build is successful, but tomcat can't find the soap handler-chain.xml (thats the message from tomcat logs). When I'm exporting the same code to WAR and deploy it out of intelliJ (using application manager in browser) it deploy i successfully.
After building intelliJ creates war file in out folder of project. deploying this war using browser causes "FAIL - Application at contxt path couldn't be started".
It seems to be the matter of IntelliJ. I would like to use this program (I'm working on SOAP webservice, and I'd love to deploy it and debug tomcat from it) but it doeasn't work in the way I need.

Deploying ear file in JBoss 6.2

We have a EAR file which is working fine on our Wildfly server and is accessible through http://localhost1:8080/proj
Due to backward compatibility reasons (with another tool) we have had to install JBoss 6.2 and deploy the EAR on JBoss. Although the EAR deploys without any error, it returns 404 error when I go to http://localhost2:8080/proj.
No errors in logs are displayed either:
JBWEB000067: Status report
JBWEB000124: The requested resource is not available.
Do I need to rebuild the code with some changes? I would assume the same EAR file would have worked. Any help is much appreciated.

Is it possible to deploy war file into WebSphere 7?

I am able to deploy ear file into WAS 7. But for same project unable to deploy the war file into websphere 7. Is it possible to deploy war file into websphere 7?
I would strongly recommend deploying your WAR file in EAR archive for WebSphere Application Server. Although WAS servers support deploying WAS from admin console (and not from IDE like Eclipse or RAD), after deploying such WAR, WAS packages it into automatically generated EAR. So WAS (and also some other servers like Weblogic) always in fact run EAR applications.
With deploying WAR you also have no influence on EAR level configuration as it is generated automatically on WAS.
Websphere 7 is a Java-ee 5 application server and provides so both ejb and servlet container.
It's so indeed possible to deploy a war.
If your web-application (war) is part of your Java-ee application (ear) you have to package it inside the ear, otherwise you can deploy it alone.
See packaging application

How to deploy JAR file on JBoss?

I have a Java application using Spring, Hibernate and JMX.
Now i wanna deploy it on JBoss. I exported it to a Jar file and copy to the deploy folder of JBoss. But when i start JBoss, that app isn't deployed.
The error I saw that JBoss can't find out library files of Spring and Hibernate.So guys how to deploy a file Jar on JBoss ?
Java enterprise applications are not deployed as jar files, but as .war files (for web application) or .ear files (for complete enterprise applications, including EJB).
You would probably be looking at packaging your app as a .war file. Even if it's not a "web application", it needs to be packaged as one to be deployed to a Java enterprise/web container like JBOSS.
I would suggest browsing the tutorial available from Oracle to learn more.

Categories

Resources