I am trying to setup TeamCity 9.1 in my windows machine.
In the Database setup portion, I downloaded the sql driver and copied the
sqljdbc4.jar file to folder "C:\Windows\System32\config\systemprofile\.BuildServer\lib\jdbc" folder as mentioned in the instruction page.
But still I am getting this message upon clicking Refresh JDBC drivers
The MS SQL Server JDBC driver is not found in the
C:\Windows\System32\config\systemprofile\.BuildServer\lib\jdbc
directory.
Download the driver from the Microsoft Download Center and follow the
instructions and place the driver jar file into the
C:\Windows\System32\config\systemprofile\.BuildServer\lib\jdbc
directory on the server.
Any ideas??
Did you correctly modify your database.properties file? If you're running TC server as a windows service, make sure you stop the service and make the change and start it back.
I ran into the same issue when setting up TeamCity 9.1. At this point of the installation the folders .BuildServer\lib\jdbc didn't exist under C:\Windows\System32\config\systemprofile. I reinstalled TeamCity and installed it again but defined the data directory manually as C:\TeamCityData.
When the setup wizard asked for the driver I copied the sqljdbc4.jar file to C:\TeamCityData\lib\jdbc (This time it existed), clicked refresh JDBC drivers and it worked. Hope this would help you
on a normal TeamCity Installation the JDBC jar file needs to be in the "C:\ProgramData\JetBrains\TeamCity\lib\JDBC\" folder where Program Data is a hidden folder in the C drive.
Once you drop the jar file here it should be detected. Let me know how it goes.
Cheers!
Related
Hello guys thats my problem.
Forms is on weblogic 12c and its version is also 12c.
I've downloaded FSAL jar from my host and configured .env files to permit FSAL to run them. After that, trying to execute my application got the following error
error image 1/2
errir image 2/2
If you need any information related to the enviroment or configuration files, I will edit the post and add it here.
Thank you in advance.
It appears that there may be several possible issues.
You are using an unsupported Java version. You appear to be using Forms 12.2.1.3. You can only use Java 8 with this version. If you want to use Java 11, you must upgrade to 12.2.1.4
You have a demo JAR file configured (TimeoutPJC.jar) but it cannot be found. Be sure this file is located in a virtually mapped directory. IF you stored this file in \forms\java, you must restart WLS_FORMS after copying it there or it will not be found.
The old demo JARs were created with very old Java versions and likely need to have their Java code recompiled and new JAR files created. Those JARs should also be properly signed.
I have just downloaded and extracted Websphere locally in my computer and I can't find the manageprofiles command files (both .ssh and .bat). The version of Websphere is 8.5.5.4. Reading its documentation, it assumes that both files should be placed under the bin directory, but they are missing. I have also searched the web trying to download them manually, finding no answer.
Does anybody have any idea of what is happenning, and how may I proceed?
If you "extracted" it and didn't "install" it, it's probably what's termed the "WebSphere Liberty Profile" and not the traditional application server profile.
"manageprofiles" is not used in Liberty. If your instructions include it, you may need the traditional application server which is also available as a trial.
As covener wrote manageprofiles is in traditional WAS. In Liberty just go to the bin folder and issue:
server create yourServerName
then start it using:
server start yourServerName
and you are good to go ;-)
I am using 2010 ultimate and just build a simple windows forms application. Just added a database as well to the form. Pull the application file out of bin directory. Tried to run but got error as unable to attach database? Installed Microsoft SQL Server Compact 4.0 and got same error? What am i dong wrong?
Error:
An attempt to attach an auto-named database for file C;\Users\Admin\Desktop\Database1.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share
Use C:\Users\Admin\Desktop\Database1.mdf instead of C;\Users\Admin\Desktop\Database1.mdf
The reason i am getting a error is because i was trying to run the app file without the database in the same folder, in this case the desktop. I am currently trying to rectify this. I think i will go with a ado.net entity database online and forget integrating a local database with the desktop application. –
As we tried to deploy a new project that connects to an Oracle database, we encountered some problems..
On my development workstation, I have my Oracle dll's installed in c:\app\oracle\product\11.2.0\client_1\BIN but on the development web server, it's in stalled in c:\oracle\product\11.2.0\client_1\BIN (noticed NOT in the app folder).
When an application is deployed, those dll's that are referenced need to be in the same location on both machines. So needless to say, we get an error from the development server.
In order to fix this, we tried a few things -
Move the Oracle install to c:\app... on my machine and rebuild from my development machine. This didn't work because there are relative dll's that rely on that path.
Because 1 didn't work, we tried to reset the environment path variables to c:\oracle on my machine. That didn't work.
tried to copy the needed dll's into my bin directory because my understanding is Visual Studio will build from the GAC, then from the bin directory. That didn't work.
Knowing that re-installing Oracle on the development server to c:\app\Oracle isn't an option, has anyone else come across this problem?
You need to make sure that your Oracle install is setup correctly. I have a few utilities that can assist with this.
Step 1 -
The utilities below will confirm first that .net works with Oracle on your server
http://tsells.wordpress.com/2010/02/18/oracle-connection-tester-for-net-applications/
Step 2 -
If the utility above worked - then go to step 3. Otherwise - .net can't see oracle on this machine. Check your path statement first - make sure the oracle bin directory is pointing to is the correct one. If not - change it and try again.
If this doesn't work - I recommend uninstalling oracle completely and reinstalling. Use the following steps.
Stop any services (start - run - services.msc) below that are running
oracle mts recovery
Distributed Transaction Coordinator
Delete all oracle directories from the file system (C:\app, C:\Program Files | C:\Program Files (x86(
Remove Oracle entries from the system path
Remove any Oracle entries from the environment variables (if they exist) such as ORACLE_HOME
Open the registry editor (start -- run -- regedit) and remove any oracle entries from the following key
HKLM\Software\
HKLM\Software\Wow6432Node (64 bit machines only)
Empty Recycle bin (makes me feel better) :)
Reboot the machine
Download one of the two items
Oracle Client Installation (full)
ODAC (Oracle Data Providers)
Install them (make sure if you choose the client version - you use a minimum of the runtime install) - do NOT use the instant client - it never seems to work properly.
Copy the TNSNames.ora file over
Test with the utility again. It should be successful.
Step 3 -
If the utility above worked - then you need to make sure the bit level of your application matches the bit level of the Oracle client installation. For the app - this will be the bit level of the application pool.
Notes - the oracle.dataaccess.dll file in the bin folder is used to help create the images (ngen, aspnet compilation). Once you attempt to call the oracle data provider for .net - it is routed to your client installation to perform the actually data access.
I am curious about using an object db so thought i'd give Eloquera a go.
I am having problems getting it running unfortunately. (running in "desktop mode")
I have done these steps as directed:
1) Copy the following assemblies and a configuration file from the %ProgramFiles%\Eloquera folder into a project folder:
Eloquera.config
Eloquera.Client.dll
Eloquera.Common.dll
Eloquera.Server.exe
You can copy the reference files into a separate folder for your convenience.
2) Uninstall the Eloquera DB (sounds awful, but we have copies all files we will need) - (I never installed it)
3) Add Eloquera.config into your project via “Add an existing item…”, and set its "Copy to Output Directory" property to "Copy Always". Done
4) Add the project references to these files:
Eloquera.Client.dll yep
Eloquera.Server.exe yep
5) Rebuild your project and check that Debug\ and/or Release\ folders contain the following files along with your application:
Eloquera.config
Eloquera.Client.dll
Eloquera.Common.dll
Eloquera.Server.exe
It does
6) You may change a physical path to the database files in the Eloquera.config file by setting DatabasePath value:
DatabasePath="c:\dev\db" I did this also
The error i get is this:
The connection to the server (local) on the port 43962 cannot be established.
The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
Weirdly, changing ServerPort to something else in the config does not change this error.
Any ideas?
I think this mode is not supported.
You are meant to use Client / Server mode, which is a shame cause i was hoping i could use this desktop method to deploy into a shared host.
No dice.
You can download from Eloquera website desktop project that is already configured and working and can be used as a base.
Kohan,
Desktop mode is supported in Eloquera, otherwise my application would not work. :-) There is a good start-up project for the desktop application on the Eloquera web site, have a look at that.
I get this issue with VS2010 and 64 bit Windows 7 - if you are using the 32 bit dlls (as we are as our app needs to work on 32/64) then make sure your target build (in VS) is set to 32 bit rather than AnyCPU.
I still cannot get the Database browser working but the code is working now.
Also - obvious things like make sure your firewall is turned off etc. make sure you can telnet onto the port