Glassfish module deploy fails with "In-place deployment" error message - netbeans

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 :)

Related

Error while Deploying WAR in WebSphere using ANT

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.

error running scala on Netbeans V.7.4

I have trouble while trying to compile and run a scala program using Netbeans IDE 7.4
log error below this :
Compiling 1 source file to F:\Bahasa_Scala\2016\Juni\ScalaApplication2\build\classes
F:\Bahasa_Scala\2016\Juni\ScalaApplication2\nbproject\build-impl.xml:405: The following error occurred while executing this line:
F:\Bahasa_Scala\2016\Juni\ScalaApplication2\nbproject\build-impl.xml:238: bad option: '-make:transitive'
BUILD FAILED (total time: 0 seconds)
I have searched and followed the instruction from here help1 but it's still not working for me.
source/binary format is JDK 8.
any suggestion?
thanks
the solutions right below this :
open F:\Bahasa_Scala\2016\Juni\ScalaApplication2\nbproject\build-impl.xml:238 (on line 1)
after that remove -make:transitivie and then the code would be (on line 3)
after that, clean and build and run. happy coding scala, guys!
code link here

Cannot deploy application to glassfish server

Got the above error when trying to deploy to glassfish server.
Any suggestion to fix this issue?
This is the error.
Error occurred during deployment: Exception while deploying the app [pintar_detection] : org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'filter'. One of '{"http://java.sun.com/xml/ns/javaee":description, "http://java.sun.com/xml/ns/javaee":param-name}' is expected.. Please see server.log for more details.
Need to solve this ASAP.

Eclipse:An internal error occurred during: "Loading Web Service DOM...".

I am using eclipse 3.6 Helios version.I am working on it from last three months.But from last two days I am getting some error.
When eclipse started it is giving an error in this format:An internal error occurred during: "Loading Web Service DOM...".
org.eclipse.emf.ecore.util.EcoreEMap$DelegateEObjectContainmentEList
I am not getting how can suddenly error occurred.
After this if I do Ok and continue with eclipse I am getting error with eclipse import project
for existing work space and svn check out.
Please help me out.Thanks in advance.
After research a lot, I came to know that I my java version is degraded to 1.5.I dont know how it took place.So I updated my java version to 1.7 again.And this error is solved.

No Class deffinition found jboss: java.lang.NoClassDefFoundError: org/jboss/kernel/Kernel

Hello I am having a problem using jboss from command line, i get the following error:
ERROR [AbstractKernelController] Error installing to PreInstall: name=WSKernelLocator state=Real
java.lang.NoClassDefFoundError: org/jboss/kernel/Kernel
Any reply will be appreciated. Thanks
Hmm, maybe JBoss archive was not unzipped properly? If you are working on Windows do not use built-in unzipper, it fails for larger archives. Use 7-Zip, WinRar, Total Commander, etc.