MySQL workbench is not working on windows 10 - mysql-workbench

I hope that I am not spamming.
I recently upgraded my windows to windows 10 from windows 7. I re-installed MySQL Workbench. But I am not able to open it, there is no error message as well.
I also followed this post's suggestion, but still am not able to open MySQL workbench.
I also upgraded mysql community server pack to latest version. I am able to use mysql odbc connector to connect to remote server. But MySQL workbench is not working.
Any solution?
EDIT: System Error Log
Faulting application name: MySQLWorkbench.exe, version: 6.3.6.0, time stamp: 0x56698b0d
Faulting module name: KERNELBASE.dll, version: 10.0.10586.0, time stamp: 0x5632d1de
Exception code: 0xe0434352
Fault offset: 0x0000000000071f08
Faulting process id: 0x85c
Faulting application start time: 0x01d13bdf2049ff98
Faulting application path: C:\Program Files\MySQL\MySQL Workbench 6.3 CE\MySQLWorkbench.exe
Faulting module path: C:\WINDOWS\system32\KERNELBASE.dll
Report Id: b4d23999-f7f8-4a23-a770-085904b014f6
Faulting package full name:
Faulting package-relative application ID:

This exact situation happened to me. In my case, it was because I went into the program files and then did a cut and paste of the shortcut there and placed it on the desktop. I was unable to launch Workbench from the desktop after doing this. After many attempts, I thought to just open the shortcut from its original location in MySQL/MySQL Workbench 8.0 CE. Now, it works every time.
You can also right click on the shortcut in the program files and click create shortcut or click Send to and pick a location for the shortcut (this method worked fine for me when choosing the Desktop, at least). Cut and paste does not work for some reason. I hope this helps you or anyone else having the same problem. This is all assuming you have the latest versions of Visual C++ and Microsoft .NET Frameworks already installed on your computer.

Related

How to make MAUI app run on windows startup

I'm new to MAUI and I'm making an application where I need to make the app run on startup on windows.
I did this before on Winform/WPF using things like registry records, adding a shortcut to shell:startup, or even from the installer file (like Inno setup).
Obviously, I can't use anything from above with MAUI as I don't have an EXE file or even able to get the executable directory.
MAUI is still new and there were no useful results when I searched.
Even a script that I can maybe add to a Task Scheduler would be helpful at this point as I can create a task for it but I need to know how to run an app on windows that is installed from the windows store.
Thanks.
Edit:
Whenever I try to run the EXE file from windows build I get this error from the event viewer
Faulting application name: MAUIApp1.exe, version: 1.0.0.0, time stamp: 0x6331eb0e
Faulting module name: KERNELBASE.dll, version: 10.0.22621.608, time stamp: 0x4769d08d
Exception code: 0xe0434352
Fault offset: 0x000000000008fb0c
Faulting process id: 0x0x5670
Faulting application start time: 0x0x1D8EE46B08192B8
Faulting application path: D:\CrossPlatform\MAUIApp1\MAUIApp1\bin\Debug\net6.0-windows10.0.19041.0\win10-x64\MAUIApp1.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: 395637f8-d737-4ae3-8443-da7889494026
Faulting package full name:
Faulting package-relative application ID:
Thanks to ToolmakerSteve comment I figured out how to make it.
I still prefer doing it from the code as it gives me more control, but at least I can make it start with windows now.
I'm leaving the direct solution here for anyone in the future coming to look for it.
Under platform>Windows open Package.appxmanifest with a notepad or any text editor.
Inside Applications, tag add the following code
<Extensions>
<uap5:Extension
Category="windows.startupTask"
Executable="YOURAPPNAME.exe"
EntryPoint="Windows.FullTrustApplication">
<uap5:StartupTask
TaskId="MyStartupId"
Enabled="true"
DisplayName="YOURAPPNAME" />
</uap5:Extension>
</Extensions>
Should be like this
Enabled="true" make the star on startup enabled by default.
Enabled="false" still add the app to the startup list, but the user needs to go enable it from Task Manager himself/herself.
Next, add this line to the top inside the Package tag
xmlns:uap5="http://schemas.microsoft.com/appx/manifest/uap/windows10/5"
Now save it then start your solution again then run your app or publish it, once the app starts it will be added to the startup list.

Anypoint Studio 7.7.0 fails with fatal Windows application error on startup

I've recently starting looking at Anypoint Platform and Anypoint Studio. I'm on Windows 10 (17763).
I installed the currently latest version of Anypoint Studio, version 7.7.0. Just about every other time I start it, after a minute or so after starting it up, I get a dialog like the following:
When I dismiss it, obviously the application goes away.
I've inspected the Eclipse error log, and nothing appears associated with this. However, the Windows event log does show something, but it's not much more than nothing.
I only see the following in the event:
Faulting application name: javaw.exe, version: 8.0.2650.1, time stamp: 0x5f204288
Faulting module name: QIPCAP64.dll, version: 7.6.818.1, time stamp: 0x5f45806b
Exception code: 0xc0000409
Fault offset: 0x0000000000030fdf
Faulting process id: 0x7f8
Faulting application start time: 0x01d6c2b1c1e4c539
Faulting application path: C:\AnypointStudio-7.7.0-win64\AnypointStudio\plugins\org.mule.tooling.jdk.win32.x86_64_1.0.1\bin\javaw.exe
Faulting module path: C:\WINDOWS\System32\QIPCAP64.dll
Report Id: 55e2303f-ba56-4715-ac7e-71aedcf86474
Faulting package full name:
Faulting package-relative application ID:
This has been very consistent. I have rebooted many times, and that has no effect.
What DID have sort of an impact was installing the previous version, 7.6.0. I've tested them both many times now, and I never see this error from 7.6.0.
The "Anypoint.ini" file is almost unchanged, although I did increase the "Xmx" value to 2048m. I have also tried changing this to use the Java 8 distribution that I had installed before this. The only thing that changes when I do that is to change the error dialog slightly, indicating that it's coming from the other Java distribution, not the one included with Studio, along with the Windows event log entry showing the path to the expected Java distribution.
It's not clear to me whether the reference to the "QIPCAP64" dll is relevant.
I did report this to Mulesoft, but I'm not very hopeful they're going to find a solution.
QIPCAP64.dll seems to be part of forcepoint.com security products. Looks like it doesn't like Studio 7.7.

Faulting application name: tomcat9.exe

I am trying to install tomcat 9 using apdoptopenjdk jdk-11.0.6.10-hotspot on windows server 2008 R2. The tomcat starts properly from the command prompt when I ran startup.bat.
I have mentioned correct JVM path in the tomcat configutation dialog box and the mode is also set to JVM. Have cross checked this configuration multiple times and found no issue with it.
But it won't start when I ran from services.msc as a service.
The issue I get when ran as a service is 1067 terminated unexpectedly. And when I check the system logs in event viewer it shows below error.
Please help me as I am trying this since last two weeks.
I think this is a tomcat bug.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63767
I'm following up something similar, but your issue appears to have been fixed in 9.0.27

Eclipse crashes when running dynamic web app

I am trying to run a dynamic web application in eclipse 3.7 (indigo) using Apache Tomcat v7.0.
The project is empty when i try to run (Run > Run on server) eclipse crashes.
I am running on Ubuntu 13.04.
Also when i run eclipse from command line. I get error as -
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f9a0c4c2009, pid=7501, tid=140300945577728
#
# JRE version: 7.0_21-b02
# Java VM: OpenJDK 64-Bit Server VM (23.7-b01 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [libsoup-2.4.so.1+0x6e009] soup_session_feature_detach+0x19
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/swapnilg/hs_err_pid7501.log
#
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and visit:
# https://bugs.launchpad.net/ubuntu/+source/openjdk-7/
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Log File Content
Please help me. I have even tried changing the JDK, Tomcat and eclipse version.
Worked for me when i changed the browser to access to run the web app.
OS:UBUNTU 14.04
Eclipse: Eclipse kepler
Server: Apache tomcat 7
Did this - Window-->Web browser-->Default Web Browser.
It crashes because eclipse is trying to open the internal browser to show the webapp. I don't know why this error is happening, maybe an eclipse bug with ubuntu.
One work around is to run the server using the Servers View instead the Run As. Go to Servers View->Right Click the Server->Run
i also faced the same error once while starting TOMCAT but after increasing the heap size of Java from eclipse it started working .
Even I was facing the same problem and tried multiple solutions. I got work-around for it when I added
-Dorg.eclipse.swt.browser.DefaultType=mozilla in eclipse.ini file.

Installing Tomcat 7 as Service on Windows Server 2008

I want to install my tomcat v7.0.12 as a service on my Windows 2008 Server.
On the tomcat page I found this tutorial. But there isn't a service.bat file in my installation dir.
In the service overview of WS2008 it isn't possible easily create a new service like new->service ...
To Start Tomcat7 Service :
Open cmd, go to bin directory within "Apache Tomcat 7" folder. You will see some this like C:\..\bin>
Enter above command to start the service: C:\..\bin>service.bat install. The service will get started now.
Enter above command to start tomcat7w monitory service. If you have issue with starting the tomcat7 service then remove the service with command : C:\..\bin>tomcat7 //DS//Tomcat7
Now the service will no longer exist. Try the install command again, now the service will get installed and started: C:\..\bin>tomcat7w \\MS\tomcat7w
You will see the tomcat 7 icon in the system tray. Now, the tomcat7 service and tomcat7w will start automatically when the windows get start.
You can find the solution here!
Install the service named 'Tomcat7'
C:\>Tomcat\bin\service.bat install
There is a 2nd optional parameter that lets you specify the name of the service, as displayed in Windows services.
Install the service named 'MyTomcatService'
C:\>Tomcat\bin\service.bat install MyTomcatService
Looks like now they have the bat in the zip as well
note that you can use windows sc command to do more
e.g.
sc config tomcat7 start= auto
yes the space before auto is NEEDED
I just had the same issue and could only install tomcat7 as a serivce using the "32-bit/64-bit Windows Service Installer" version of tomcat:
http://tomcat.apache.org/download-70.cgi
I have spent a couple of hours looking for the magic configuration to get Tomcat 7 running as a service on Windows Server 2008... no luck.
I do have a solution though.
My install of Tomcat 7 works just fine if I just jump into a console window and run...
C:\apache-tomcat-7.0.26\bin\start.bat
At this point another console window pops up and tails the logs
(tail meaning show the server logs as they happen).
SOLUTION
Run the start.bat file as a Scheduled Task.
Start Menu > Accessories > System Tools > Task Scheduler
In the Actions Window: Create Basic Task...
Name the task something like "Start Tomcat 7" or something that makes sense a year from now.
Click Next >
Trigger should be set to "When the computer starts"
Click Next >
Action should be set to "Start a program"
Click Next >
Program/script: should be set to the location of the startup.bat file.
Click Next >
Click Finish
IF YOUR SERVER IS NOT BEING USED: Reboot your server to test this functionality
There are a lot of answers here, but many overlook a few points. I ran into the same issue and it was likely due to a combination of being a complete neophyte when it comes to tomcat. Even more I am rather new to web servers in general. I consider myself somewhat proficient user of windows, but I guess not proficient enough. In particular I don't work with services too much.
I did not have a startup.bat or any bat files. I only downloaded the 32-bit/64-bit Windows Service Installer. The bin that is created for that download is small - only 4 files. My colleagues were surprised that I did not have a catalina.bat etc... and I was too. Only the below four files in the bin. And no %CATALINA_HOME% or %TOMCAT_HOME% etc...
bootstrap.jar
tomcat-juli.jar
Tomcat7.exe
Tomcat7w.exe
With this setup I had some frustrations as setting parameters is done via the gui widget - very helpful I might add.
So nearly all the answers I have perused were not immediately applicable as many said, "go to bin and issue the startup.bat file" I am a neophyte but not so much to not be able to look into the bin and start such a file it is existed!
For my simple purposes (again remember that I am a neophyte at tomcat and even web servers) all I wanted to do was to be able to startup and shutdown the tomcat server from a cmd prompt window. Nothing too heavy duty. I am embarrassed to say how simple it is. It is probably evident to anyone with a shred of experience with services and such.
To Start server: <Tomcat Root>/bin>Tomcat7.exe start
To Stop server: <Tomcat Root>/bin>Tomcat7.exe stop
Found here - http://crunchify.com/how-to-start-stop-apache-tomcat-server-via-command-line-setup-as-windows-service/
I did not realize there was a separate download the 64-bit Windows zip file that has a tomcat server and all the standard array of cmd line tomcat management tools. This zip file has all the common startup/shutdown scripts, batch files for windows, including catalina.bat/.sh etc... Then all the above answers make sense and are rather trivial.
Remember I am a neophyte when it comes to tomcat and web servers. It appears these two downloads are somewhat mutually exclusive in the sense that if I download and install the 32-bit/64-bit Windows Service Installer version and the 64-bit Windows zip file the startup.bat file in the 64-bit Windows zip file version will not run or interact with the 32-bit/64-bit Windows Service Installer tomcat instance. But I am not sure about this point.
Edit service.bat – Swap two lines so that they appear in following order:
if not “%JAVA_HOME%“ == ““ goto got JdkHome
if not “%JRE_HOME%“ == ““ goto got JreHome
Open cmd and run command service.bat install
Open Services and find Apache Tomcat 7.0 Tomcat7. Right click and Properties. Change its startup type to Automatic (with delay).
Reboot machine to verify if the service started automatically
its done through service.bat file in apache tomcat7
visit this blog ..
install tomcat7 on windows
I had a similar problem, there isn't a service.bat in the zip version of tomcat that I downloaded ages ago.
I simply downloaded a new 64-bit Windows zip version of tomcat from http://tomcat.apache.org/download-70.cgi and replaced my existing tomcat\bin folder with the one I just downloaded (Remember to keep a backup first!).
Start command prompt > navigate to the tomcat\bin directory > issue the command:
service.bat install
Hope that helps!