OrientDB 2.0.3 Enterprise Workbench - orientdb

I have played a while with the new free enterprise edition of OrientDB 2.0.3 Server and Workbench on a Windows 8.1 machine. The OrientDB dserver.bat works fine and I can access it and work from localhost:2480. But when I launch the file start-workbench.bat I get this error:
2015-02-27 16:18:25:828 INFO Profiler is recording metrics with configuration: 60,24
[OEnterpriseProfiler]Error on installing dynamic plugin 'enterprise-agent'
orientdb-enterprise-2-0-3 and orientdb-workbench-2.0.3 are sibling folders. Also tried to put agent-2.0.3.jar in the workbench plugins subfolder with no success. Should I work on config files?
Thanks

I have successfully started OrientDB 2.0.3 Workbench via shell script start-workbench.sh, but I had to edit the last line to
exec "$JAVA"...and the rest left the same
Before there were apostrophes and exec command missing. Now Workbench is running on url http://10.0.0.41:2491.

Related

MongoDB - mongodb setup wizard ended prematurely

I'm not able to install MongoDB(4.2.6). I've downloaded the "MSI" version but even though I'm getting this error message displayed. I have tried unchecking the MongoDB compass option, rebooting the system and installing it again, but then too it is not being installed using all the possible means.
Error message that is being displayed is
MongoDB Setup Wizard ended prematurely because of an error. Your system has not been modified.
The file concrt140.dll is part of the Microsoft Visual C++ Redistributable. Installing that first should allow you to complete this installation..
first open command prompt using administrator
after open you go to folder where setup is store using cmd(
and enter your setup name(use cd command for go one folder to another)

#[INS-20802] Oracle Database Configuration Assistant failed during installing oracle12c on windows7. Can any one suggest?

[INS-20802] Oracle Database Configuration Assistant failed.
Cause - The plug-in failed in its perform method Action - Refer to the logs or contact Oracle Support Services. Log File Location
C:\Program Files\Oracle\Inventory\logs\installActions2016-12-19_11-03-33AM.log
I faced the same issue recently and I tried several of the following methods for resolving the issue :-
Disabling Windows UAC
Disabling firewall
Disabling antivirus - mine was a fresh VM, so disabled Windows Defender
Adding localhost IP i.e., 127.0.0.1 to the hosts file etc.
but none of them helped.
At last I found this, which suggested installing Microsoft Visual C++ 2010 Redistributable Package (x86) and this solved the problem in a matter of seconds! I just had to click 'Retry' on the installation dialog.
For me everything was working fine...I checked for listener, services, path.
Then I tried below and it works...
During installation when Database configuration got failed.
Go to sqlnet.ora file and replace NTS with NONE.
Example :
SQLNET.AUTHENTICATION_SERVICES= (NONE)
After that try again installing the database configuration. Click on Retry.
Note: If you have installed oracle and skip database configuration failed step then you can go to search bar of window and open Database configuration and try downloading it & it will get installed and will ask for password.
After that you will be able to connect to database.
DONT USE # IN ORACLE PASSWORD Because when you try to login sql plus it will give error. In case you did that then write your password in inverted commas. ex: "password"
There is a bug in some installers, as described in this other answer, which prevents Oracle from installing the required Microsoft Visual C++ 2010 Redistributable.
The 32bit installer uses the file install\oraparam.ini, which contains these lines:
#Flags for installing MSVCR80
#MSVCREDIST_LOC flag will provide the name of the exe that is being shipped in stage/ext/bin
MSVCREDIST_LOC=vcredist_x64.exe
But the file available under stage/ext/bin/ is vcredist_x86.exe.
So before installing, edit the install\oraparam.ini file, and replace _x64 with _x86 in that line to get:
MSVCREDIST_LOC=vcredist_x86.exe

Spring Tool Suite 3.6.1 and Pivotal tc Server Developer Edition logging ignored

I was trying to alter the logging that takes place with Pivotal tc Server Developer edition 3.0 and I found out that the java process that starts the server never reads the logging.properties file in catalina base.
I created a new Pivotal tc Server 3.0 with a new instance called diff-instance and added the bio profile. When it is finished a logging.properties file has been created in the /diff-instannce/conf folder. I started the server and stopped it and looked at the settings (F3 or open on the list of servers). It says:
configuration path:
option selected: Use tc Server installation (takes control of tc Server installation)
server path (catalina.base): /diff-instance
Then I stop the server and modify the logging.properties file and noticed that none of the changes I make to this logging.properties file seems to ever be reflected in the tc Server.
I brought in my swiss army knife the good old sysinternals tools (www.sysinternals.com) and started procmon. To my great surprise the file logging.properties file in the catalina.base conf folder is never read by the javaw.exe process (only the logging.properties in /jre/lib folder is read). That explains what I saw.
I have 3 important questions related to this:
Why is the logging.properties file never read?
Where is the method to customize the Pivotal tc Server developer edition documented? I looked at the "Getting started with Pivotal tc Server" at http://tcserver.docs.pivotal.io/index.html in the section "tc Runtime Instance Configuration Files" on page 29 and it says this file should be used. Also the "Pivotal tc Server Administration" has a whole section "Configuring Logging for tc Runtime" on page 50 that keeps on talking about this same file.
I know there is a lot of glue stuff between tc Server developer and STS. The whole thing about defining a new server and the options about kind of server locations to define as show below
are all very cool but where is the documentation for this stuff?
This page describes an older version of the tc server and how to change the logging. It also refers to the logging.properties file in catalina.base.
https://pubs.vmware.com/vfabric5/index.jsp?topic=/com.vmware.vfabric.tc-server.2.6/admin/manual-logging.html
Did you try creating a tc server instance from the command line and alter the logging for that instance?
Were you able to get the logging working with previous versions of tc Server such as 2.9.x?
If that worked, but the logging for instance you're created via STS didn't work then I think you've uncovered a bug in Tc Server Eclipse integration code. I suspect that perhaps option for logging.properties file needs to be specified at the tc server instance creation time in the creation command somehow.
Please create a bug report for this issue here: https://issuetracker.springsource.com/browse (project: Spring Tool Suite, component: SERVER)
Actually, this was fixed by the STS group. See comment from Alex Boyko about the tc Server nightly update site http://dist.springsource.com/snapshot/TOOLS/eclipse-integration-tcserver/nightly in JIRA STS-3998. In STS 3.6.3 if you select Help/Install new software and you paste this update site and select it you should be able to install a version of the tc Server integration in STS 3.6.3 that fixes this. This should be fixed in STS 3.6.4.

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.

ECLIPSE 4.1.0; 4.1.1; Indigo - install/update plugins fail to connect to sites - fail to connect to SVN repo with Subclipse

Need help figuring out why I keep 'getting the following error :
permission denied: connect
Unable to read repository at http://update1.aptana.org/rails/1.2.1.23268/content.xml.
Permission denied: connect
Basically for all of my installed plug-ins. I was trying to update or install the latest Subclipse plug-in since I can't seem to connect to my repository (even one I knew was working before - and the svn url works elsewhere like with TortoiseSVN).
svn: Cannot connect to 'svn+ssh://kosh.nku.edu': There was a problem while connecting to kosh.nku.edu:22
svn: Cannot connect to 'svn+ssh://kosh.nku.edu': There was a problem while connecting to kosh.nku.edu:22
There was a problem while connecting to kosh.nku.edu:22
Permission denied: connect
I did switch the interface to SVNkit - which solved the issue before.
I feel like the two issues are connected somehow? I did make sure to turn off the firewall and that didn't change anything.
I am on a Windows 7 laptop - just using my home internet.
Any ideas or help would be appreciated.
Lora
....."adding '-Djava.net.preferIPv4Stack=true' to the eclipse.ini under -VMARGS:
openFile
-vmargs
-Djava.net.preferIPv4Stack=true
An alternative is to run Eclipse under a 1.6 jvm by adding
-vm
C:/Program Files/Java/jre6/bin/javaw.exe
above -VMARGS."
--this worked for me. found solution here: http://www.java.net/node/703177
I am using JDK 7
I encounter same problem and solved by:
"adding '-Djava.net.preferIPv4Stack=true' to the eclipse.ini under -VMARGS:
After modification,the ini file looks like:
...
openFile
-vmargs
-Djava.net.preferIPv4Stack=true
...
I've had similar problem with Android SDK and Eclipse 3.7.2.
Android SDK said: "permission denied: connect".
Eclipse was failed in blue screen.
My laptop is running under Windows Vista and protected by Dr.Web Security Space.
Advises with "-Djava.net.preferIPv4Stack=true" and "Window --> Preference --> General --> Network Connection --> select Direct" did not help.
Problem was resolved by installing last version of anti-virus without firewall.
After upgrading to Windows 8, I've found many of the programs on the toolbar, etc are not set to run as administrator. Though this didn't seem to make a difference in Windows 7 (perhaps because I was running unzip from the command line in an administrator cmd window), it does now.
I had the problem described in this thread because WinRAR used to unzip the downloaded zip file was not run as administrator so the installation was not properly configured. After removing the installation of eclipse and using the Properties / Shortcut / Advanced to set Run as Administrator on the WinRAR launch icon, then running it and selecting the eclipse download zip and extracting it, I was able to access the Eclipse and Android update sites without any problem. What threw me for a loop was, I was running the Oracle Java 6 JDK 1.6.0.38 so the preferIPv4Stack didn't seem to apply.
I hope this alternative provides insight to others where the IPv4 issue doesn't help.