The module has not been deployed. Build failed in Netbeans - mysql

I am developing a web application for login form using Servlets in netbeans and MYSQL database.
But when I run the project I am getting error 'The module has not been deployed, Build failed.

You probably need to undeploy a currently deployed version which is preventing Netbeans to clean preceding the build.
I usually tend to kill Glassfish altogether though.

These can be reasons why you are not able to Deploy the project.
Sometimes, existing deployed project or not properly deployed project does not allow to
deploy the project again.
Right Click on your project from Projects.
Choose Clean and Build which will undeploy application at context path if any.
Then again Right Click on your Project and Deploy. This should deploy your project.
You should get BUILD SUCCESSFUL (total time: 0 seconds) under Output window in your project name tab.

Related

SSIS single package deployment deleting other packages?

We have an SSIS project in Visual Studio (2019 Community) that we deploy to our SQL server (2016) using project deployment. We have a couple of hundred packages and we most often deploy single packages at a time.
We had been doing most of our development in a single Azure Git master branch since these changes were separate from most of our other development. A few changes were done in a different development branch and then that single package was deployed from there. It should not have caused a problem because that single package was new and not being used in the master at all. However, when that single package was deployed it removed a couple of new packages from our live server that had been deployed from the master branch but had not been in the development branch when it was initially created.
I thought that a single package deployment only deployed that single package you selected or the few packages you selected if you chose a few of them. It seems like in addition to deploying that package it deleted packages that were on the live server but not in the dev branch that we deployed from.
We deploy from Visual Studio by right-clicking our package or packages and then choosing Deploy Package from the context menu. That process creates an .ispac file when we are deploying to our development SQL Server. That .ispac file is copied to the live server and then run directly on the live SQL server.
This should not be deploying all packages, correct? Just those highlighted? Does it remove missing packages if I only deploy a single package at a time but the packages in my project in VS and the project in the SSIS catalog do not match?
It depends!
For 2012 and 2014, the only option for deployment to the SSISDB was "Project" deployment. The entirety of the .ispac file is applied to the SSISDB - whether package1 had changed or not.
With 2016+, you have the ability to do Project or Incremental Package deployment. In the "Review" tab of the deployment wizard, in the Summary section you can see the command line indicates /ModelType:Package That is the indication it is deploying package(s) versus the whole project. See figure 5 of
https://www.sqlservercentral.com/articles/incremental-package-deployment-%E2%80%93-a-ssis-2016-feature
If you're deploying from the .ispac, then there should be a selector in the Select Source tab (not shown in referenced article) that allows you to do full or incremental deployment but the ModelType in the Review tab will identify which approach was selected. I suspect someone did a full/project deploy.
But, the nice thing about the SSISDB is that you can use SSMS to roll the project back to the previous state so no harm, no foul, no lost packages.

trying to run multiple dynamic web projects on apache tomcat server in eclipse?

I started off by downloading Eclipse and then Tomcat 8.0, I then opened 2 dynamic web projects and I ran both of them on the Tomcat server, both under localhost8080 and they both worked fine. However I tried to then run a third dynamic web project and it would not give me the option to run it via Tomcat. I then stopped both the active servers through Eclipse so no projects were running on localhost8080 and tried again to run the third web project, but it still does not run. Sometimes when I go to 'Run As' it says none applicable, but when local tomcat server does show under 'Run As' it gives me an error (I would state what the error says but I cant get it to appear again). Any ideas at all? Thanks.

Win 10 UWP App: Unable to upload app package to Windows Store

I am trying to deploy my windows 10 uwp app to the windows store. I got a validated developer account and everything set up. My app packages have been built and passed all tests of the testing kit. Now I am trying to perform the last step: uploading to the store.
The problem is, that the "Upload App Packages..." is greyed out! I tryed to clean the project, selected the project to no avail.
Has anyone got an idea what the problem might be or how to further debug it? As there is not error message I am not certain what is wrong in the first place...
Thank you!
According to the documentation, this option merely opens the Dev center dashboard. Save yourself the trouble and open it directly in your web browser: https://dev.windows.com
To be honest, for some reason I don't even have this option in my Visual Studio (maybe it was removed in VS 2015?). I've always generated the packages from VS then uploaded them with the web browser, without any trouble.
Goto in Release Configuration and Check .net native tool chain and optimize code then create app package again (Don't forget to associate app to store first)

Give me some recommendation about JBoss and MySQL using Openshift Tech

I've created my first application using Openshift Tech. It's a Java Web Application running on a JBoss at Openshift and uses MySQL 5.5 as its database. And I have to deploy by it using the war file (I don't know how to do it the normal way).
So anyone can tell me: Should I create a local database or use online database? And is there another way to deploy my Java app not using the war file?
I would suggest that you check out the OpenShift Developer Center (https://developers.openshift.com), specifically this link (https://developers.openshift.com/en/jbossas-overview.html) about using jboss. Make sure you read all of the sections, specifically the Deployment Options, and the Datasources links. If you are interested in just being able to do a "git push" to deploy your code, you should create a new jboss application on OpenShift, and do a "git clone" of the code and check out how it's setup, it is using the Maven project structure, which is pretty common.

vb Could not load file or assembly Mysql

I made application in vb 2010. And everything works great at mine computer. I made release and publish the application when i sen!
Pictures
Could not load file or assembly Mysql...
Also is there any way i can put net framework 4.5 to be installed with my application ?
You can include NET Framework by the following way. At least in Visual Basic 2010...
Through Project Tab you open Project properties.
Then in Publish Tab you Click Prerequisites Button.
There you can select the things you want to diistribute and the way they will be distributed.