It is possible to view data in glassfish database without open Netbeans? In command prompt we only can starting and stopping the glassfish but cannot view the database right ?
The database that GlassFish uses is Apache Derby.
There are tools available to browse it, like SQuirreL SQL Client which is detailed on the Apache Derby site, or RazorSQL which I found through a Google search.
Whichever tool you choose, the Derby installation can be found in $GFHome/glassfish4/javadb/
Edit: If you wanted to browse the database through the command line, you could use ij which is found in $GFHome/glassfish4/javadb/bin/ij. There are some basic instructions here.
Related
This is a question about usage of the database plug-in.
I'm a newcomer to PyCharm. I've set up a database connection through the Databases plug-in and can execute queries against the database in a console window. I see the value of developing SQL under the same pane of glass.
Is there a way to use the Databases plug-in to help me in the python scripts in PyCharm, ie by automatically generating a connection string or suggesting a better method among SQLAlchemy or pyodbc? Or is the plug-in not a replacement for building the connection strings and instancing the engines in the code?
I recently followed a tutorial on getting started with WordPress which included installing a WAMP Server.
Some days later I checked on a Java program that I'm working on which connects to a local database, but it could no longer connect to that database, and if i checked in the MySQL WorkBench or DataGrip it seemed as in that database did not exsist anymore, and it only showed my database from my WordPress project, all the other local databases i had made before installing WAMP are gone.
Is there any way to find them?
EDIT: They DO exist in the folder C:\ProgramData\MySQL\MySQL Server 5.7\Data but I don't know how to access them, as they're not working in my Java program, or not showing in the WorkBench as schemas anymore
You now have 2 MYSQL Servers installed and therefore which ever one is started first will be the one that phpMyAdmin or Workbench talks to.
To get to your old database, just stop the wampserver MySQL server
[left click] wampmanager -> MYSQL-> Service Administrator->Stop Service
Then go into the services snapin
Windows Key+R
Enter services.msc
Press the OK button
Find the service called MYSQL and start that.
You should now be able to access the old database using phpMyAdmin or WorkBench
Backup the old database
Then from the services snapin agian STOP the MYSQL service.
Restart the WAMPServer MySQL
[left click] wampmanager -> MYSQL-> Service Administrator->Start Service
Now restore your database into the WAMPServer version of MySQL.
Once this is completed, you can uninstall the old MySQL Server instance.
I've just installed the database server extension in dreamweaver cc and cs6. i have an existing site running classic ASP in dozens of pages built with previous DW versions all connected to SQL Server and working fine.
but now adobe has deprecated its server functionality and to get it back you must install that functionality with a free extension they have provided.
unfortunately when, after installing the extension, i open an ASP page and look into the Databases or Server Behaviors windows I can see the database names but there are no tables visible at all.
I've followed the steps in Adobe's help video at http://www.youtube.com/watch?v=cB2vmNfcq7A and followed suggestions in numerous forums and blogs but cannot find a way to connect to the database once the extensions are installed.
Good day. :D
I'm in some trouble configuring BonitaBPM with Ms Sql database.
Already searched a lot on the internet but many of the examples used in mysql show, it tried to do the same, so that the problem that the files mentioned in the articles do not exist in my folders setup Bonita (Bundle, etc.).
I try to configure the file that links to BD's but gives a runtime error.
My goal is to use Ms Sql as the primary database, thus making the emigration of all tables in Bonita to SQL DB.
I would like to receive an example how to do this configuration.
Thank you already.
Actually Bonita BPM 6 can be configured to use Microsoft SQL Server 2012 (Bonitasoft provide official support for such configuration) but only with the JBoss bundle or other supported applications server such as Oracle WebLogic.
That is because:
Apache Tomcat is not a full Java EE application server
An extra library (Bitronix) is included to provide transaction management support
Bitronix has known issues with SQL Server
So only solution I may suggest is to switch to JBoss bundle, or, if possible, use an alternative DBMS such as PostgreSQL.
Sorry to not be able to come with a better option but here we facing a limitation of Bitronix library.
I am trying to deploy a LightSwitch application to a hosted ASP.NET webserver in my company. The application access data stored on a SQL Server. My webserver admin is asking me if there are any special prerequisites needed for it to run. I've been reviewing the deployment guide
http://blogs.msdn.com/b/bethmassi/archive/2010/09/23/configuring-a-machine-to-host-a-3-tier-lightswitch-application.aspx
The article lists that there was a server component, but that it might change when RTM arrived:
NOTE: The team is looking at simplifying this process and possibly making the LightSwitch server component pre-reqs go away so this process will likely change for RTM.
This other MSDN article states that there are prerequisites.
http://msdn.microsoft.com/en-us/library/gg481779.aspx
My webserver admin keeps saying there's nothing to install on the ASP.NET web server other than .NET 4.0.
Am I missing something?
Server setup procedures haven't changed since Beta 1 (although of course the runtime has changed). It's pretty simple; the prerequisites article that you cited has the correct information. Basically the process is:
Install the Web Platform Installer if you don't already have it installed
Fire up the WPI and search for the LightSwitch runtime
Install!
As mentioned in the article, you'll need to decide whether you want to install a new instance of SQL Server locally with the prerequisites. If you've already planned for a production SQL Server, you'll want to choose the "without local SQL" option.
I don't have a specific answer, but I would stand up a VM with the appropriate version of windows server on it and run through an install on a do novo machine. Should confirm or deny what your server admin says . . .