Eclipse configured tomcat doesn't delete server restart changes - tomcat6

I have a spring based maven web project on eclipse 3.6 and a locally configured tomcat 6 with it. When I make changes in any java source file or any configuration file it doesn't ask me to restart the server when I look at the tomcat instance.
Earlier for any server side changes it used to show a sign Restart at the tomcat server. Now I have to clean the project every time before a server restart to make the changes take effect.
So this[Started/Republish] is what it shows after making server side changes while this[Started/Restart] is how it should be. But [Started/Restart] doesn't happen automatically and I have to clean the project everytime for it.
Help needed.
Thanks.
EDIT: This is the tomcat configuration I have. I also have Build Automatically checked on the Project.

Make enable class file of the file in which you make change for tomcat server. More explanation is required on question ,i guess.

Related

Unable to reinstall On premises data gateway for Azure, since I am trying to resolve the No instance issue

It looks like you are trying to reinstall. Please uninstall the current version first.
No matter what I do:
deleted the On-premises data gateway folder from C:/ProgramFiles/On Premise Data Gateway.
Removed the registry entry to delete the service (though it still won't go even after restarting the system)
Checked the logs at
C:\Users\PBIEgwService\AppData\Local\Microsoft\On-premises data gateway
I am unable to be successful with the reinstall. Can someone please help me with uninstalling the On premise gateway?
I don't have any experience with this program, but installed programs on Windows are also saved in the Package Cache (C:\ProgramData\Package Cache\{GUID}), and if there is a corresponding msi Windows thinks the program is installed.
Removing this folder (make sure you delete the correct one!) will enable windows to ask you if the entry should be removed from installed programs once you click uninstall again.
After this you should be able to install it again.

Webmatrix download from remote DotNetNuke (DNN) site hangs without error

I am working on a site for a client that was created in DOTNETNUKE (DNN) and WebMatrix. I need to download a copy of the site to my local machine so I can open it in Visual Studio 2012 access the codebehind. The download gets to about 85% complete and then hangs without giving me an error.
This is my first experience with both WebMatrix and DNN. Does anyone know how I can find out what is causing the download to hang?
I would recommend you do a local installation of DNN, or if you want, pull down a backup of the Files and Database for the client's site, then restore that locally.
If you have FTP access to the server check out this video for how to backup items
http://www.dnnsoftware.com/Community/Learn/Video-Library/View-Video/Video/243/View/Details/Backing-up-a-DotNetNuke-Website-via-FTP
Here is a link to the Installation instructions for DNN
http://www.dnnsoftware.com/wiki/Page/Install_DotNetNuke
You will also want to learn how to Upgrade DNN as the client's site is likely behind on the latest releases of DNN
http://www.dnnsoftware.com/wiki/Page/Upgrading-DotNetNuke
I'm able to install and run DNN locally. I was also finally able to download a backup of the client's site. However, when I try to build the website in VS the build fails and gives this error;
'GetString' is not declared. It may be inaccessible due to its protection level.

How to install on client side when setup.exe and supported files kept in server in ADF?

I developed an application using Oracle ADF in Jdev 11.1.1.5.0.
I deployed application in weblogic server and working fine.
I kept one setup.exe file and supported files in server.
Now I want the installation should be done on client machine while the page is loading itself.
Using servlet, how can we achieve this?
The installation(exection of setup.exe file) should be done automatically in client machine.
and what are the steps should I follow to accomplish this?
Any suggestion would be appreciated.
Thank You.
You can't do this automatically. The sandbox can't execute anything on the client side without a change of the policy. This change can't be done without the user on the client side.
What you can do is to ask the user to download the files and then execute the setup.exe after downloading.
However, I personally would not do this without knowing what the exe is doing on my pc. A web application normally don't need to be installed on a client pc.
Timo

Migrating dotnetnuke from development to test server

I am a newbie with DotNetNuke and have been stumbling on how to deploy from the development server to the deployment server. For starters my development and deployment servers are one and the same machine. Here are the steps that I did:
DNN Setup
Downloaded DNN using WebMatrix.
Launched DNN and proceeded with the installation wizard, which is basically just testing the environment and then creating the DNN database.
After the wizard's installation launching DNN will now proceed to the Getting Started page
Added "localhost/dnn" in the site alias list
Moving to ISS
In IIS I added application (folder) DNN in the web root
I copied all the files from the original webmatrix path to the dnn folder in c:\inetpub\webroot making sure that the file/folder hierarchies are the same
Result:
When launching DNN using my browser I am directed to the installation wizard page instead of the Getting Started page. What am I missing?
Thanks!
Confirm that the permissions on the folder containing DNN are the same on your test server as they are on your development server. (I give Network Service read/write and IUsr Read/Execute)
Confirm that the application pool running your application has the proper identity (Network Service is suggested) and is running the proper .NET Framework version; based upon your question, I think you are set on this.
Gain access to your web.config file. You will see a ConnectionStrings section. You probably need to update the connection strings.
If your test server runs off of a different database than your dev server, figure out the connection string of your test server and update your connection string accordingly
You may be able to restore a .BAK file of your DB to your test server
If you do this, you will probably need to (in SSMS) edit your Portal Alias table to include the host name that you are using in your test server environment. Examples: Maybe you access the site via localhost/ on your dev environment, but you access to test site via test.Ronald.com? test.Ronald.com would be your PortalAlias
If your test server runs off the same database server as your dev server, it sounds like you need to open up access in firewalls so that your test server has connectivity to your dev database
A word of advice
Once you get it running, you will be making changes to each database separately (assuming your test site and dev site use different DB Servers). This sync issue can be a royal pain with DNN, as your page structures, module assignments, html module contents, installed modules/extensions will get out of sync. While restoring backups is nice, it is not a very good long-term solution. I recommend database-syncing tools
The problem is most likely a problem with DNN not being able to find the Database. If it can't find the database, it will run the wizard in order to create one.

How to move web application from the IDE to standalone?

I created a web application through the NetBeans IDE running a glassfish server and a Java Database.
I want to now have this be standalone and run on the startup of my physical machine.
I am having trouble figuring out how to get the database set up on the server though.
On my server machine, I've got Glassfish running and I figured out where to put my war file so that it will run on the server. However I can't figure out how to get the database setup that the application needs to run.
I don't know if it has to do specifically with the glassfish server ?
Or do I need to have a separate database program along with the server ?
I believe glassfish comes with a JavaDB but i can't figure out how to actually create and configure a database. All I can do is create connection pools and resources...
According to Oracle's javadb page, it's an implementation of Apache Derby.
You should be able to download and run Derby directly on your machine. The connection strings may be different than what they were when using the embedded version, but once you figure that out it should work fine. Good luck!

Resources