[C077] Could not find symbol 'SQLAllocConnect'
I try to connect Oracle to PostgreSQL with Heterogeneous Connectiviti.
I'm work on:
S.O.: Linux SUSE 9.2
PostgreSQL: 8.0
Oracle: 10g Enterprise Edition Release 10.1.0.2.0
psqlODBC:07-03
The configuration of HS is:
listener.ora
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = locahost)(PORT = 1521))
(DESCRIPTION =
(PROTOCOL_STACK =
(PRESENTATION = GIOP)
(SESSION = RAW)
(ADDRESS = (PROTOCOL = TCP)(HOST = locahost)(PORT = 2481))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /home/oracle/product/oracle10)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = local)
(ORACLE_HOME = /home/oracle/product/oracle10)
(SID_NAME = local)
tnsnames.ora
hsodbc.world = (DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))
(CONNECT_DATA=(SID=hsodbc))
(HS=OK)
local.world =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = local)
inithsodbc.ora
# This is a sample agent init file that contains the HS parameters that are
# needed for an ODBC Agent.
# HS init parameters
HS_FDS_CONNECT_INFO = hsodbc
HS_FDS_TRACE_LEVEL = on
HS_FDS_TRACE_FILE_NAME= /usr/local/lib/hsodbc.trc
HS_FDS_SHAREABLE_NAME = /usr/local/lib/psqlodbc.so
set ODBCSYSINI=/etc/unixODBC/odbc.ini
The configuration of ODBC is:
[ODBC Data Sources]
hsodbc = PostgreSQL ODBC Driver DSN
[hsodbcL]
Description = PostgreSQL
Driver = /usr/local/lib/psqlodbc.so
Trace = Yes
TraceFile = /tmp/sql.log
Database = GESTION
Servername = 167.175.51.178
Username = user
Password = password
Port = 5432
Protocol = 6.4
ReadOnly = No
RowVersioning = No
ShowSystemTables = No
ShowOidColumn = No
FakeOidIndex = No
ConnSettings =
FileUsage = 1
I'm create table "TEMP":
SQL>cerate table TEMP(id numeric);
SQL>table created.
and create dblink:
SQL>CREATE PUBLIC DATABASE LINK hsodbc CONNECT TO "postgres" IDENTIFIED BY "postgres" USING 'hsodbc';
SQL>Database link created.
When i execute
SQL>select * from "TEMP"@hsodbc;
select * from "TEMP"@hsodbc
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Generic Connectivity Using ODBC]DRV_InitTdp: DB_ODBC_INTERFACE (718): ; [C077]
Could not find symbol 'SQLAllocConnect' in dynamic library
DB_ODBC_INTERFACE (722): ; [C079] Failed to load dynamic library
'/usr/local/lib/psqlodbc.so'
ORA-02063: preceding 3 lines from HSODBC
what i can do for solve this problem?
Whe i'm use
HS_FDS_SHAREABLE_NAME = /usr/local/lib/psqlodbc.so
The trace log say:
[Generic Connectivity Using ODBC] version: 4.1.0.0.0050
connect string is: defTdpName=hsodbc;SYNTAX=(ORACLE8_HOA, BASED_ON=ORACLE8,
IDENTIFIER_QUOTE_CHAR="",
CASE_SENSITIVE=CASE_SENSITIVE_QUOTE);BINDING=<navobj><binding><datasources><da-
tasource name='hsodbc' type='GENERIC_ODBC_FOR_HS'
connect='hsodbc'><driverProperties/></datasource></datasources><remoteMachines-
/><environment><misc year2000Policy='-1' consumerApi='1'
sessionBehavior='4'/><queryProcessor parserDepth='2000'
noInsertParameterization='true' noThreadedReadAhead='true'
noCommandReuse='true'/></environment></binding></navobj>
ORACLE GENERIC GATEWAY Log File Started at 22-Mar-06 17:13:28
/usr/local/lib/psqlodbc.so: undefined symbol: ucs2_to_utf8
[C077] Could not find symbol 'SQLAllocConnect' in dynamic library
[C079] Failed to load dynamic library '/usr/local/lib/psqlodbc.so'
[C077] Could not find symbol 'SQLAllocConnect' in dynamic library
[C077] Could not find symbol 'SQLAllocConnect' in dynamic library
[C079]
Failed to load dynamic library '/usr/local/lib/psqlodbc.so'
And When i'm use
HS_FDS_SHAREABLE_NAME = /usr/lib/libodbc.so
The trace log say:
[Generic Connectivity Using ODBC] version: 4.1.0.0.0050
connect string is: defTdpName=hsodbc;SYNTAX=(ORACLE8_HOA, BASED_ON=ORACLE8,
IDENTIFIER_QUOTE_CHAR="",
CASE_SENSITIVE=CASE_SENSITIVE_QUOTE);BINDING=<navobj><binding><datasources><da-
tasource name='hsodbc' type='GENERIC_ODBC_FOR_HS'
connect='hsodbc'><driverProperties/></datasource></datasources><remoteMachines-
/><environment><misc year2000Policy='-1' consumerApi='1'
sessionBehavior='4'/><queryProcessor parserDepth='2000'
noInsertParameterization='true' noThreadedReadAhead='true'
noCommandReuse='true'/></environment></binding></navobj>
ORACLE GENERIC GATEWAY Log File Started at 23-Mar-06 11:49:37
but the problem still haped.
Similar Messages
-
Could not find symbol 'SQLAllocConnect' for generic connectivity
Hi,
I am using Oracle 10gR2 64-bit on Linux 64-bit. I am trying to connect to an MSSQL box on Windows. I know that hsodbc is officially not supported on 64-bit OS.
My connection using freetds works as well from unixODBC (verified by tsql, isql). The problem is in the next layer up - hsodbc. I copied it from a 32-bit Linux box as it was 0 bytes on 64-bit box.
Here is what I have in initSQLGUY.ora -
HS_FDS_CONNECT_INFO = sqltest
HS_FDS_TRACE_LEVEL = 4
HS_FDS_TRACE_FILE_NAME = freetds.trc
HS_FDS_SHAREABLE_NAME = /usr/local/lib/libodbc.so
# ODBC specific environment variables
set ODBCINI=/usr/local/etc/odbc.ini
set LD_LIBRARY_PATH=/usr/local/lib:/opt/oracle/product/10.2/lib32
where sqltest is the name of my dsn. My listener.ora has -
(SID_DESC =
(SID_NAME = SQLGUY)
(ORACLE_HOME = /opt/oracle/product/10.2)
(PROGRAM = hsodbc)
(ENVS=LD_LIBRARY_PATH=/usr/local/lib:/opt/oracle/product/10.2/lib32)
My tnsnames.ora has -
sqlguyid=
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=myhost.mydomain.com)(PORT=1521))
(CONNECT_DATA= (SID=SQLGUY))
(HS=OK)
with this configuration, tnsping works -
Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=myhost.mydomain.com)(PORT=1521)) (CONNECT_DATA= (SID=SQLGUY)) (HS=OK))
OK (0 msec)
However my db link fails with -
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Generic Connectivity Using ODBC]DRV_InitTdp: DB_ODBC_INTERFACE (718): ; [C077]
Could not find symbol 'SQLAllocConnect' in dynamic library
DB_ODBC_INTERFACE (722): ; [C079] Failed to load dynamic library
'/usr/local/lib/libodbc.so'
ORA-02063: preceding 3 lines from SQLGUYLNK
I am sure that others have gotten this to work in the past. I must be missing something trivial. Can anyone please point out what I need to do to get this working?
ThanksYou didn't explicite mention it, but I assume you are using a 32bit ODBC driver?
The SQLAllocConnect function is built into the ODBC driver manager which is refered in your case as: /usr/local/lib/libodbc.so
- check out this library exists and has sufficient permissins to be loaded by the Oracle user
- check out this library is 32 bit
- check out this library contains the SQLAllocConnect symbol -
I was downloading the new IOS and message could not find Iphone appears in Itunes window - Now my my phone is stuck with the power symbol and an arrow pointing to the Itunes symbol, I have tried turning off my phone and turning it back on but nothing seems to work
So when you plug it into your computer, you're not getting a message in iTunes that it has discovered a phone in recovery mode?
Reboot both the computer and the phone and try again. -
Could not find agent library on the library path or in the local directory
Hi all,
I'm trying to write a jvmti agent that write any information in a mysql db. I've written a simple agent that work correctly and now I'll try to insert the mysqlpp library in my agent:
1) I've added #include <mysql++.h>
2) and I've added mysqlpp::Connection conn(false); (global variable)
I've modify my Makefile and the compiler and linker work correctly but when I test the agent the VM says "Could not find agent library on the library path or in the local directory"
Below the code:
-- analizer.cpp --
#include <iostream>
#include <stdlib.h>
#include <jni.h>
#include <string.h>
#include <jvmti.h>
#include <mysql++.h>
#include "ClassDetail.cpp"
#define CFN(ptr) checkForNull(ptr, __FILE__, __LINE__);
static void checkForNull(void *ptr, const char* file, int line) {
if(ptr == NULL) {
std::cerr << "ERROR : NullPointerException in " << file <<":"<< line<<"\n";
abort();
static char* getErrorName(jvmtiEnv *jvmti, jvmtiError err) {
jvmtiError errNum;
char *name;
errNum = jvmti->GetErrorName(err, &name);
if( errNum != JVMTI_ERROR_NONE) {
std::cerr << "ERROR : errore nel reprire l'error name " << errNum;
abort();
return name;
#define CJVMTIE(jvmti, err) checkJvmtiError(jvmti, err, __FILE__, __LINE__);
static void checkJvmtiError(jvmtiEnv *jvmti, jvmtiError err, const char* file, int line) {
if(err != JVMTI_ERROR_NONE) {
char *name = getErrorName(jvmti, err);
std::cout << "ERROR : JVMTI error " << err << "("<<name<<") in "<<file<<":"<<line;
abort();
static void vmInit(jvmtiEnv *jvmti_env, JNIEnv *jni, jthread thread);
static void startGCEvent(jvmtiEnv *jvmti_env);
static void finishGCEvent(jvmtiEnv *jvmti_env);
static jvmtiIterationControl JNICALL heapObject(jlong tag, jlong size, jlong* tag_ptr, void* userData);
jrawMonitorID lock;
int gc_count;
long heapSize = 0;
bool heapCheck = false;
mysqlpp::Connection conn(false);
JNIEXPORT jint JNICALL Agent_OnLoad(JavaVM *vm, char *options, void *reserved) {
std::cout<<"OnLoad\n";
jint rc;
jvmtiEnv *jvmti = NULL;
jvmtiError err;
jvmtiCapabilities capabilities;
jvmtiEventCallbacks callbacks;
rc = vm->GetEnv((void **)&jvmti, JVMTI_VERSION);
if( rc != JNI_OK) {
std::cout << "ERROR : Errore nell'ottenere 'environment rc = " << rc;
return -1;
CFN(jvmti);
err = jvmti->GetCapabilities(&capabilities);
CJVMTIE(jvmti, err);
CFN(&capabilities);
capabilities.can_generate_garbage_collection_events = true;
capabilities.can_tag_objects = true;
CJVMTIE(jvmti, jvmti->AddCapabilities(&capabilities));
CJVMTIE(jvmti, jvmti->CreateRawMonitor("agent lock", &lock));
callbacks.VMInit = &vmInit;
callbacks.GarbageCollectionStart = &startGCEvent;
callbacks.GarbageCollectionFinish = &finishGCEvent;
CJVMTIE(jvmti, jvmti->SetEventCallbacks(&callbacks, sizeof(callbacks)));
jvmti->SetEventNotificationMode(JVMTI_ENABLE, JVMTI_EVENT_VM_INIT, NULL);
jvmti->SetEventNotificationMode(JVMTI_ENABLE, JVMTI_EVENT_GARBAGE_COLLECTION_START, NULL);
jvmti->SetEventNotificationMode(JVMTI_ENABLE, JVMTI_EVENT_GARBAGE_COLLECTION_FINISH, NULL);
return 0;
JNIEXPORT void JNICALL Agent_OnUnload(JavaVM *vm)
std::cout<<"OnUnload\n";
static void JNICALL worker(jvmtiEnv *jvmti, JNIEnv *jni, void *p) {
std::cout << "worker";
for (;;) {
CJVMTIE(jvmti, jvmti->RawMonitorEnter(lock));
while (gc_count == 0) {
CJVMTIE(jvmti, jvmti->RawMonitorWait(lock, 0));
jvmti->RawMonitorExit(lock);
gc_count = 0;
jvmti->RawMonitorExit(lock);
/* Perform arbitrary JVMTI/JNI work here to do post-GC cleanup */
if(!heapCheck) {
heapCheck = true;
jint count;
jclass *classes;
CJVMTIE(jvmti, jvmti->GetLoadedClasses(&count, &classes));
ClassDetail *details = (ClassDetail*)calloc(sizeof(ClassDetail), count);
for(int i = 0; i < count; i++) {
char *sig;
CJVMTIE(jvmti, jvmti->GetClassSignature(classes, &sig, NULL));
CFN(sig);
details[i] = ClassDetail(strdup(sig));
CJVMTIE(jvmti, jvmti->SetTag(classes[i], (jlong)(ptrdiff_t)(void*) (&details[i])));
heapSize = 0;
CJVMTIE(jvmti, jvmti->IterateOverHeap(JVMTI_HEAP_OBJECT_EITHER, &heapObject, NULL));
std::cout << "Heap Memory : " << heapSize<<'\n';
heapCheck = false;
static void vmInit(jvmtiEnv jvmti, JNIEnv jni, jthread thread) {
jclass clazz = jni->FindClass("java/lang/Thread");
jmethodID mid = jni->GetMethodID(clazz, "<init>", "()V");
jthread _thread = jni->NewObject(clazz, mid);
CJVMTIE(jvmti, jvmti->RunAgentThread(_thread, &worker, NULL, JVMTI_THREAD_MAX_PRIORITY));
static void startGCEvent(jvmtiEnv *jvmti) {
static void finishGCEvent(jvmtiEnv *jvmti) {
std::cout << "****************************************************************** <<<<<<<<<<<< Finito gc\n";
gc_count++;
CJVMTIE(jvmti,jvmti->RawMonitorEnter(lock));
CJVMTIE(jvmti,jvmti->RawMonitorNotify(lock));
CJVMTIE(jvmti,jvmti->RawMonitorExit(lock));
static jvmtiIterationControl JNICALL heapObject(jlong tag, jlong size, jlong* tag_ptr, void* userData) {
if(tag != (jlong) 0) {
std::cout << "Tag : " << tag<< '\n';
ClassDetail detail = (ClassDetail) (void*) (ptrdiff_t) tag;
char *sig = detail->getSignature();
std::cout << "Class " << sig << " size : " << size<<'\n';
heapSize += size;
return JVMTI_ITERATION_CONTINUE;
-- ClassDetail.cpp --class ClassDetail {
private:
char* signature;
public:
ClassDetail(char* signature){
this->signature = signature;
char* getSignature() { return this->signature;}
--Makefile--########################################################################
# Sample GNU Makefile for building JVMTI Demo waiters
# Example uses:
# gnumake JDK=<java_home> OSNAME=solaris [OPT=true] [LIBARCH=sparc]
# gnumake JDK=<java_home> OSNAME=solaris [OPT=true] [LIBARCH=sparcv9]
# gnumake JDK=<java_home> OSNAME=linux [OPT=true]
# gnumake JDK=<java_home> OSNAME=win32 [OPT=true]
# Source lists
LIBNAME=analizer
SOURCES=analizer.cpp
MYSQLPP_LIB_PATH=/home/claudio/Desktop/Scaricati2/mysql++-3.0.6/mysqlpp_lib/lib/
MYSQLPP_HEADER_PATH=/home/claudio/Desktop/Scaricati2/mysql++-3.0.6/mysqlpp_lib/include/mysql++
MYSQL_PATH=/opt/mysql-5.0.51a-linux-i686-icc-glibc23
# Solaris Sun C Compiler Version 5.5
ifeq ($(OSNAME), solaris)
# Tell gnumake which compilers to use
CC=cc
CXX=CC
# Sun Solaris Compiler options needed
COMMON_FLAGS=-mt -KPIC
# Check LIBARCH for any special compiler options
LIBARCH=$(shell uname -p)
ifeq ($(LIBARCH), sparc)
COMMON_FLAGS+=-xarch=v8 -xregs=no%appl
endif
ifeq ($(LIBARCH), sparcv9)
COMMON_FLAGS+=-xarch=v9 -xregs=no%appl
endif
ifeq ($(OPT), true)
CXXFLAGS=-xO2 $(COMMON_FLAGS)
else
CXXFLAGS=-g $(COMMON_FLAGS)
endif
# Object files needed to create library
OBJECTS=$(SOURCES:%.cpp=%.o)
# Library name and options needed to build it
LIBRARY=lib$(LIBNAME).so
LDFLAGS=-z defs -ztext
# Libraries we are dependent on
LIBRARIES= -lc
# Building a shared library
LINK_SHARED=$(LINK.cc) -G -o $@
endif
# Linux GNU C Compiler
ifeq ($(OSNAME), linux)
# GNU Compiler options needed to build it
COMMON_FLAGS=-fno-strict-aliasing -fPIC -fno-omit-frame-pointer
# Options that help find errors
COMMON_FLAGS+= -W -Wall -Wno-unused -Wno-parentheses
ifeq ($(OPT), true)
CXXFLAGS=-O2 $(COMMON_FLAGS)
else
CXXFLAGS=-g $(COMMON_FLAGS)
endif
# Object files needed to create library
OBJECTS=$(SOURCES:%.cpp=%.o)
# Library name and options needed to build it
LIBRARY=lib$(LIBNAME).so
LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc -mimpure-text
LDFLAGS += -lmysqlpp
# Libraries we are dependent on
LIBRARIES=
# Building a shared library
LINK_SHARED=$(LINK.cc) -shared -o $@
endif
# Windows Microsoft C/C++ Optimizing Compiler Version 12
ifeq ($(OSNAME), win32)
CC=cl
# Compiler options needed to build it
COMMON_FLAGS=-Gy -DWIN32
# Options that help find errors
COMMON_FLAGS+=-W0 -WX
ifeq ($(OPT), true)
CXXFLAGS= -Ox -Op -Zi $(COMMON_FLAGS)
else
CXXFLAGS= -Od -Zi $(COMMON_FLAGS)
endif
# Object files needed to create library
OBJECTS=$(SOURCES:%.cpp=%.obj)
# Library name and options needed to build it
LIBRARY=$(LIBNAME).dll
LDFLAGS=
# Libraries we are dependent on
LIBRARIES=
# Building a shared library
LINK_SHARED=link -dll -out:$@
endif
# Common -I options
CXXFLAGS += -I.
#CXXFLAGS += -I../agent_util
CXXFLAGS += -I$(JDK)/include -I$(JDK)/include/$(OSNAME)
CXXFLAGS += -I$(MYSQLPP_HEADER_PATH) -I$(MYSQL_PATH)/include -L$(MYSQLPP_LIB_PATH) -I$(MYSQLPP_LIB_PATH)
# Default rule
all: $(LIBRARY)
# Build native library
$(LIBRARY): $(OBJECTS)
$(LINK_SHARED) $(OBJECTS) $(LIBRARIES)
# Cleanup the built bits
clean:
rm -f $(LIBRARY) $(OBJECTS)
# Simple tester
test: all
LD_LIBRARY_PATH=`pwd` $(JDK)/bin/java -agentlib:$(LIBNAME) -jar jvmti-test.jar
#LD_LIBRARY_PATH=`pwd` $(JDK)/bin/java -agentlib:$(LIBNAME) -version
# Compilation rule only needed on Windows
ifeq ($(OSNAME), win32)
%.obj: %.cpp
$(COMPILE.cc) $<
endifDid you make sure your library (call it x) starts is named libx.so (atleast, on linux, possibly libx.dll on windows, not sure)? It will not load otherwise, and you must specify -agentlib:x (rather than saying libx.so). Yes, it is "funny" how it gives the same uninformative error message for a wide variety of errors. It will also give you this same error message if there are still unresolved symbols upon loading your library (which would be my second guess).
-
After long job I get
/usr/bin/ld: libvo/vo_xv.o: undefined reference to symbol 'XGetWindowAttributes'
/usr/bin/ld: note: 'XGetWindowAttributes' is defined in DSO /usr/lib/libX11.so.6 so try adding it to the linker command line
/usr/lib/libX11.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1
==> ERROR: A failure occurred in build().
Aborting...
if it's useful, the PKGBUILD is
# $Id: PKGBUILD 144946 2011-12-11 15:27:00Z ibiru $
# Maintainer : Ionut Biru <[email protected]>
# Contributor: Hugo Doria <[email protected]>
pkgbase=mplayer
pkgname=('mplayer' 'mencoder')
pkgver=34426
pkgrel=1
arch=('i686' 'x86_64')
makedepends=('lame' 'libtheora' 'xvidcore' 'x264' 'faac' 'faad2' 'opencore-amr' 'a52dec' 'libpulse' 'unzip' 'git' 'fontconfig' 'yasm')
license=('GPL')
url="http://www.mplayerhq.hu/"
options=(!buildflags !emptydirs)
source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.xz mplayer.desktop)
md5sums=('ff81117293e76b59e54debc439d8e612'
'c0d6ef795cf6de48e3b87ff7c23f0319')
build() {
cd ${srcdir}/${pkgname}
./configure --prefix=/usr \
--enable-runtime-cpudetection \
--disable-gui \
--language=en_US \
--confdir=/etc/mplayer \
--disable-mencoder \
--disable-termcap \
--disable-termios \
--disable-lirc \
--disable-lircc \
--disable-apple-remote \
--disable-apple-ir \
--disable-radio-v4l2 \
--disable-radio-bsdbt848 \
--disable-tv \
--disable-tv-v4l1 \
--disable-tv-v4l2 \
--disable-tv-bsdbt848 \
--disable-pvr \
--disable-rtc \
--disable-winsock2_h \
--disable-smb \
--disable-live \
--disable-nemesi \
--disable-librtmp \
--disable-bluray \
--disable-menu \
--disable-sortsub \
--disable-fribidi \
--disable-enca \
--disable-maemo \
--disable-macosx-finder \
--disable-macosx-bundle \
--disable-vstream \
--disable-w32threads \
--disable-ass-internal \
--disable-ass \
--disable-rpath \
--disable-gif \
--disable-png \
--disable-mng \
--disable-jpeg \
--disable-libcdio \
--disable-liblzo \
--disable-win32dll \
--disable-qtx \
--disable-xanim \
--disable-real \
--disable-libdirac-lavc \
--disable-libschroedinger-lavc \
--disable-libnut \
--disable-vf-lavfi \
--disable-tremor-internal \
--disable-tremor-low \
--disable-tremor \
--disable-speex \
--disable-libgsm \
--disable-ladspa \
--disable-libbs2b \
--disable-libdv \
--disable-mpg123 \
--disable-mad \
--disable-libdca \
--disable-mp3lib \
--disable-musepack \
--disable-vidix \
--disable-vidix-pcidb \
--disable-dhahelper \
--disable-svgalib_helper \
--disable-matrixview \
--disable-dga2 \
--disable-dga1 \
--disable-vesa \
--disable-svga \
--disable-sdl \
--disable-kva \
--disable-aa \
--disable-caca \
--disable-ggi \
--disable-ggiwmh \
--disable-direct3d \
--disable-directx \
--disable-dxr2 \
--disable-dxr3 \
--disable-ivtv \
--disable-v4l2 \
--disable-dvb \
--disable-mga \
--disable-xmga \
--enable-xv \
--enable-xvmc \
--disable-vdpau \
--disable-vm \
--disable-xinerama \
--disable-x11 \
--disable-xshape \
--disable-fbdev \
--disable-mlib \
--disable-3dfx \
--disable-tdfxfb \
--disable-s3fb \
--disable-wii \
--disable-directfb \
--disable-zr \
--disable-bl \
--disable-tdfxvid \
--disable-xvr100 \
--disable-tga \
--disable-pnm \
--disable-md5sum \
--disable-yuv4mpeg \
--disable-corevideo \
--disable-quartz \
--disable-ossaudio \
--disable-arts \
--disable-esd \
--disable-jack \
--disable-openal \
--disable-nas \
--disable-sgiaudio \
--disable-sunaudio \
--disable-kai \
--disable-dart \
--disable-win32waveout \
--disable-coreaudio \
--disable-select \
--charset=UTF-8
[ "$CARCH" = "i686" ] && sed 's|-march=i486|-march=i686|g' -i config.mak
make
package_mplayer() {
pkgdesc="A movie player for linux"
install=mplayer.install
backup=('etc/mplayer/codecs.conf' 'etc/mplayer/input.conf')
depends=('desktop-file-utils' 'ttf-dejavu' 'enca' 'libxss' 'a52dec' 'libvpx' 'lirc-utils' 'x264' 'libmng' 'libdca' 'aalib' 'lame' 'fontconfig' 'libgl'
'libxinerama' 'libvdpau' 'libpulse' 'smbclient' 'xvidcore' 'opencore-amr' 'jack' 'cdparanoia' 'libmad' 'sdl' 'libtheora' 'libcaca' 'libxxf86dga' 'fribidi'
'libjpeg' 'faac' 'faad2' 'libxvmc' 'schroedinger' 'mpg123' 'libass' 'libxxf86vm' 'libbluray')
cd ${srcdir}/${pkgbase}
make DESTDIR=${pkgdir} install-mplayer install-mplayer-man
install -Dm644 etc/{codecs.conf,input.conf,example.conf} ${pkgdir}/etc/mplayer/
install -dm755 ${pkgdir}/usr/share/mplayer/
ln -s /usr/share/fonts/TTF/DejaVuSans.ttf ${pkgdir}/usr/share/mplayer/subfont.ttf
rm -rf ${pkgdir}/usr/share/mplayer/font
#desktop file FS#14770
install -Dm644 ${srcdir}/mplayer.desktop ${pkgdir}/usr/share/applications/mplayer.desktop
install -Dm644 etc/mplayer.png ${pkgdir}/usr/share/pixmaps/mplayer.png
#oops, forgot to remove this, but it does not seem to be a problem
package_mencoder() {
pkgdesc="Free command line video decoding, encoding and filtering tool"
depends=('enca' 'a52dec' 'libvpx' 'x264' 'libmng' 'libdca' 'bzip2' 'lame' 'alsa-lib' 'fontconfig' 'giflib' 'libpng' 'smbclient' 'xvidcore' 'opencore-amr' 'cdparanoia'
'libmad' 'libtheora' 'fribidi' 'libjpeg' 'faac' 'faad2' 'schroedinger' 'mpg123' 'libass' 'libbluray')
cd ${srcdir}/${pkgbase}
make DESTDIR=${pkgdir} install-mencoder install-mencoder-man
find $pkgdir/usr/share/man -name 'mplayer.1' -exec bash -c 'mv "$1" "${1/mplayer/mencoder}"' _ {} \;
Last edited by Doctor Drive (2011-12-20 16:32:10)May be related to this: https://fedoraproject.org/wiki/Understa … LinkChange
-
MakeOTF Error: could not find FontName in FontDict
I am trying to convert a symbol font I constructed and have been using in PostScript programs to OpenType. I have included a cut-down version (only two characters) in this message.
When I try to convert the (cut-down) font with MakeOTF I get the message:
[makeotf] Error: could not find FontName in FontDict of file GPSymbolcut.pfa.
Can you tell me what the error message indicates here, please? I feel that the FontName is included!
This is the file GPSymbolcut.pfa:
%!PS-Adobe-2.0
%%Title: GPSymbol Font
%%CreationDate: Thu Feb 14 10:59:25 2008
%%EndComments
/setpacking where{/cpack currentpacking def
pop true setpacking}if
/bd{bind def}bind def
/bp{bind put}bd
/xd{exch def}bd
/dc{/bits xd
/name xd
/num xd
num 256 lt{Encoding num name put}if
CharStrings name bits put}bd
/fsd 15 dict def fsd begin
/FontType 3 def
/FontMatrix [0.001 0 0 0.001 0 0] def
/FontBBox [-55 -55 1000 786] def
/FontName /GPSymbol def
/PaintType 0 def
% /UniqueID 0 def
/FontInfo 10 dict dup begin
/OutlineResolution 1000 def
/Notice () def
/FullName (GPSymbol) def
/FamilyName (GPSymbol) def
/Weight (Regular) def
/version (0.0) def
/ItalicAngle 0 def
/isFixedPitch false def
/UnderlinePosition 0 def
/UnderlineThickness 0 def
end def
/Encoding 256 array def
0 1 255 { Encoding exch /.notdef put } for
Encoding
dup (W) 0 get /sunsymbol put
(z) 0 get /crossbox put
/Metrics 50 dict def
Metrics begin
/.notdef 0 def
/crossbox 833 def
/sunsymbol 833 def
end
/BBox 50 dict def
BBox begin
/.notdef [0 0 0 0] def
/crossbox [60 0 760 700] def
/sunsymbol [60 0 760 700] def
end
/CharacterDefs 50 dict def
CharacterDefs begin
/.notdef {} def
/crossbox
{ newpath
60 setlinewidth
90 30 moveto 90 670 lineto
730 670 lineto 730 30 lineto
closepath stroke
90 30 moveto 730 670 lineto stroke
90 670 moveto 730 30 lineto
stroke } def
/sunsymbol
{ 30 setlinewidth
newpath 350 350 200 0 180 arc 350 350 200 180 0 arc closepath stroke
newpath 350 654 50 0 180 arc 350 654 50 180 0 arc closepath fill
newpath 502 613 50 0 180 arc 502 613 50 180 0 arc closepath fill
newpath 613 502 50 0 180 arc 613 502 50 180 0 arc closepath fill
newpath 654 350 50 0 180 arc 654 350 50 180 0 arc closepath fill
newpath 613 198 50 0 180 arc 613 198 50 180 0 arc closepath fill
newpath 502 87 50 0 180 arc 502 87 50 180 0 arc closepath fill
newpath 350 50 50 0 180 arc 350 50 50 180 0 arc closepath fill
newpath 198 87 50 0 180 arc 198 87 50 180 0 arc closepath fill
newpath 87 198 50 0 180 arc 87 198 50 180 0 arc closepath fill
newpath 50 350 50 0 180 arc 50 350 50 180 0 arc closepath fill
newpath 87 502 50 0 180 arc 87 502 50 180 0 arc closepath fill
newpath 198 613 50 0 180 arc 198 613 50 180 0 arc closepath fill
} def
end
/BuildChar
{ 0 begin
/char exch def
/fontdict exch def
/charname fontdict /Encoding get char get def
fontdict begin
Metrics charname get 0
BBox charname get aload pop
setcachedevice
CharacterDefs charname get exec
end
end
} def
/BuildChar load 0 3 dict put
end
/GPSymbol fsd definefont pop
/setpacking where{pop cpack setpacking}ifHi John;
The FontDict is correctly constructed. The problem is that this is a Type 3 PostScript font, where the glyph outlines are described by regular Postscript drawing operators, like Adobe Illustrator graphics, rather than by Type 1 binary operators. MakeOTF only supports glyph outline data in the Type 1 or CFF formats. In order to use makeotf with yourfont, you will need to convert it to Type 1.
If you have Adobe Illustrator sources for the glyph outlines, then you can get these into FontLab, and then use FontLab to make Type 1 font. If you are good at scripting, you could also edit this text representation into the representation created by the FDK 'detype1' program, and then use the 'type1' program to compile this into a Type 1 font. To see the text format used by 'type', just run the 'detype1' program on any Type 1 font file. You can use the 'tx' program to extract a Type 1 font from any OTF or TTF font.
An example of how you can use the FDK command-line tools for this kind of operation:.
# Extract a Type 1 font file from an OTF font
tx -t1 <source OTF font file name> <new Type 1 font file name>
# Convert Type 1 font to a human-editable text representation
detype1 <Type1 font file name> <new text file name>
#do manual edits on the <new text file name>
#compile text file back into a Type 1 font
type1 <old text file name> < new Type1 font file name>
#convert Type 1 font to CFF
tx -cff <Type1 font file name> < new CFF font file name>
#Finally, stick the new CFF font data back into the original OTF font
sfntedit -a "CFF"=< CFF font file name> <source OTF font file name>
Note that the last works only if you did not change glyph order, as many OTF tables references glyphs by glyph ID.
- Read Roberts -
We are setting up a new Windows 2012 server. Users access this server using a 'terminal services'. We have mapped some folders from a legacy server (different domain). Using group policy preferences, we map this folder as a drive for a user.
When user wants to delete some files, he get's the error: 'Could not find this item ..' The error is displayed to the user and it looks like the file can't be deleted. But when I press the F5 (refresh) button, the file is gone. My problem is very similar
to a problem in the following post: http://social.technet.microsoft.com/Forums/windowsserver/en-US/042e747a-0e25-4190-b0a2-82f3e9635eb0/can-not-delete-file-error-is-could-not-find-this-item?forum=w7itprogeneral
When I create 'txt' (or 'pdf', 'zip') file, i can delete it without the error. When I create 'xlsx', 'docx', 'pptx', 'bmp', 'jpg', I get the error.
Does somebody have an idea, how can I fix the cause of this problem? (I can't tell to users to hit the F5 button everytime when they face this issue)
Thank you for your help in advance!
JurajHi,
Please check if the problematic files’ filename ended with a dot. If so, you could refer to the article below to troubleshoot the issue:
Solved: “Cannot read from the source file or disk”
http://blog.dotsmart.net/2008/06/12/solved-cannot-read-from-the-source-file-or-disk/
Regards,
Mandy
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Please I have been having problems loadig the adventuremultdime2012, I downloaded the visual studio 2013
but it is showing me this path
C:\Users\PC\AppData\Local\Temp\Temp5_AdventureWorks Multidimensional Models SQL Server 2012 (3).zip\AdventureWorks Multidimensional Models SQL Server 2012\Enterprise\AdventureWorksDW2012Multidimensional-EE\AdventureWorksDW2012Multidimensional-EE.dwproj :
error : Could not find a part of the path 'C:\Users\PC\AppData\Local\Temp\Temp5_AdventureWorks Multidimensional Models SQL Server 2012 (3).zip\AdventureWorks Multidimensional Models SQL Server 2012\Enterprise\AdventureWorksDW2012Multidimensional-EE\AdventureWorksDW2012Multidimensional-EE.dwproj'.
I guess its a hidden file or I have deleted it, because I cant find it too, any help pleaseLooks like you've either moved the file to somewhere else or it got deleted
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
My Wiki User Page
My MSDN Page
My Personal Blog
My Facebook Page -
Infopackage Idocs in status 2 - could not find code page for receiver system
Hi,
We just migrated our production system from BW 7.01 non unicode to BW 7.4 on HANA.
We now encounter issues with idocs while loading data into bw from our ECC5 source. When we analyze idocs in the source system it appears with the message "could not find code page for receiver system"
One weird thing is that the idoc seems to have been created before we started the infopackage in bw.. We controlled system time and AS time and everything seems ok.
We did not encounter this issues on our previous migration test runs..
Hope someone can help
ChristopheHi,
Thanks for responding. We finally found out what the problem was.
We have two applications servers on our ECC with 2 different OS. One of them could not reach the new BW HANA server.
Regards
Christophe -
Org.hibernate.PropertyNotFoundException: Could not find a getter for id in
[skumar@aithdell3 events]$ java EventManager
May 15, 2008 8:39:41 PM org.hibernate.cfg.Environment <clinit>
INFO: Hibernate 3.2.3
May 15, 2008 8:39:41 PM org.hibernate.cfg.Environment <clinit>
INFO: hibernate.properties not found
May 15, 2008 8:39:41 PM org.hibernate.cfg.Environment buildBytecodeProvider
INFO: Bytecode provider name : cglib
May 15, 2008 8:39:41 PM org.hibernate.cfg.Environment <clinit>
INFO: using JDK 1.4 java.sql.Timestamp handling
May 15, 2008 8:39:42 PM org.hibernate.cfg.Configuration configure
INFO: configuring from resource: /hibernate.cfg.xml
May 15, 2008 8:39:42 PM org.hibernate.cfg.Configuration getConfigurationInputStream
INFO: Configuration resource: /hibernate.cfg.xml
May 15, 2008 8:39:42 PM org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource : Event.hbm.xml
May 15, 2008 8:39:43 PM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: Event -> EVENTS
May 15, 2008 8:39:43 PM org.hibernate.cfg.Configuration doConfigure
INFO: Configured SessionFactory: null
May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: Using Hibernate built-in connection pool (not for production use!)
May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: Hibernate connection pool size: 1
May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: autocommit mode: false
May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: using driver: org.hsqldb.jdbcDriver at URL: jdbc:hsqldb:sql://localhost
May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: connection properties: {user=sa, password=****}
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: RDBMS: HSQL Database Engine, version: 1.8.0
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC driver: HSQL Database Engine Driver, version: 1.8.0
May 15, 2008 8:39:44 PM org.hibernate.dialect.Dialect <init>
INFO: Using dialect: org.hibernate.dialect.HSQLDialect
May 15, 2008 8:39:44 PM org.hibernate.transaction.TransactionFactoryFactory buildTransactionFactory
INFO: Using default transaction strategy (direct JDBC transactions)
May 15, 2008 8:39:44 PM org.hibernate.transaction.TransactionManagerLookupFactory getTransactionManagerLookup
INFO: No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Automatic flush during beforeCompletion(): disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Automatic session close at end of transaction: disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC batch size: 15
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC batch updates for versioned data: disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Scrollable result sets: enabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC3 getGeneratedKeys(): disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Connection release mode: auto
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Default batch fetch size: 1
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Generate SQL with comments: disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Order SQL updates by primary key: disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory createQueryTranslatorFactory
INFO: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
May 15, 2008 8:39:44 PM org.hibernate.hql.ast.ASTQueryTranslatorFactory <init>
INFO: Using ASTQueryTranslatorFactory
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Query language substitutions: {}
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JPA-QL strict compliance: disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Second-level cache: enabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Query cache: disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory createCacheProvider
INFO: Cache provider: org.hibernate.cache.NoCacheProvider
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Optimize cache for minimal puts: disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Structured second-level cache entries: disabled
May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Echoing all SQL to stdout
May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Statistics: disabled
May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Deleted entity synthetic identifier rollback: disabled
May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Default entity-mode: pojo
May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Named query checking : enabled
May 15, 2008 8:39:45 PM org.hibernate.impl.SessionFactoryImpl <init>
INFO: building session factory
Intial session factory creation failed org.hibernate.PropertyNotFoundException: Could not find a getter for id in class Event
Exception in thread "main" java.lang.ExceptionInInitializerError
at HibernateUtil.<clinit>(HibernateUtil.java:18)
at EventManager.main(EventManager.java:11)
Caused by: org.hibernate.PropertyNotFoundException: Could not find a getter for id in class Event
at org.hibernate.property.BasicPropertyAccessor.createGetter(BasicPropertyAccessor.java:282)
at org.hibernate.property.BasicPropertyAccessor.getGetter(BasicPropertyAccessor.java:275)
at org.hibernate.tuple.PropertyFactory.getGetter(PropertyFactory.java:168)
at org.hibernate.tuple.PropertyFactory.buildIdentifierProperty(PropertyFactory.java:44)
at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:123)
at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:434)
at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:109)
at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:226)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
at HibernateUtil.<clinit>(HibernateUtil.java:14)
How can i fix this exception
Please help me.
Thanks in advance[skumar@aithdell3 events]$ java EventManager
May 15, 2008 8:39:41 PM org.hibernate.cfg.Environment <clinit>
INFO: Hibernate 3.2.3
May 15, 2008 8:39:41 PM org.hibernate.cfg.Environment <clinit>
INFO: hibernate.properties not found
May 15, 2008 8:39:41 PM org.hibernate.cfg.Environment buildBytecodeProvider
INFO: Bytecode provider name : cglib
May 15, 2008 8:39:41 PM org.hibernate.cfg.Environment <clinit>
INFO: using JDK 1.4 java.sql.Timestamp handling
May 15, 2008 8:39:42 PM org.hibernate.cfg.Configuration configure
INFO: configuring from resource: /hibernate.cfg.xml
May 15, 2008 8:39:42 PM org.hibernate.cfg.Configuration getConfigurationInputStream
INFO: Configuration resource: /hibernate.cfg.xml
May 15, 2008 8:39:42 PM org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource : Event.hbm.xml
May 15, 2008 8:39:43 PM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: Event -> EVENTS
May 15, 2008 8:39:43 PM org.hibernate.cfg.Configuration doConfigure
INFO: Configured SessionFactory: null
May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: Using Hibernate built-in connection pool (not for production use!)
May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: Hibernate connection pool size: 1
May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: autocommit mode: false
May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: using driver: org.hsqldb.jdbcDriver at URL: jdbc:hsqldb:sql://localhost
May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: connection properties: {user=sa, password=****}
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: RDBMS: HSQL Database Engine, version: 1.8.0
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC driver: HSQL Database Engine Driver, version: 1.8.0
May 15, 2008 8:39:44 PM org.hibernate.dialect.Dialect <init>
INFO: Using dialect: org.hibernate.dialect.HSQLDialect
May 15, 2008 8:39:44 PM org.hibernate.transaction.TransactionFactoryFactory buildTransactionFactory
INFO: Using default transaction strategy (direct JDBC transactions)
May 15, 2008 8:39:44 PM org.hibernate.transaction.TransactionManagerLookupFactory getTransactionManagerLookup
INFO: No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Automatic flush during beforeCompletion(): disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Automatic session close at end of transaction: disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC batch size: 15
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC batch updates for versioned data: disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Scrollable result sets: enabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC3 getGeneratedKeys(): disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Connection release mode: auto
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Default batch fetch size: 1
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Generate SQL with comments: disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Order SQL updates by primary key: disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory createQueryTranslatorFactory
INFO: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
May 15, 2008 8:39:44 PM org.hibernate.hql.ast.ASTQueryTranslatorFactory <init>
INFO: Using ASTQueryTranslatorFactory
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Query language substitutions: {}
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JPA-QL strict compliance: disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Second-level cache: enabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Query cache: disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory createCacheProvider
INFO: Cache provider: org.hibernate.cache.NoCacheProvider
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Optimize cache for minimal puts: disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Structured second-level cache entries: disabled
May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Echoing all SQL to stdout
May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Statistics: disabled
May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Deleted entity synthetic identifier rollback: disabled
May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Default entity-mode: pojo
May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Named query checking : enabled
May 15, 2008 8:39:45 PM org.hibernate.impl.SessionFactoryImpl <init>
INFO: building session factory
Intial session factory creation failed org.hibernate.PropertyNotFoundException: Could not find a getter for id in class Event
Exception in thread "main" java.lang.ExceptionInInitializerError
at HibernateUtil.<clinit>(HibernateUtil.java:18)
at EventManager.main(EventManager.java:11)
Caused by: org.hibernate.PropertyNotFoundException: Could not find a getter for id in class Event
at org.hibernate.property.BasicPropertyAccessor.createGetter(BasicPropertyAccessor.java:282)
at org.hibernate.property.BasicPropertyAccessor.getGetter(BasicPropertyAccessor.java:275)
at org.hibernate.tuple.PropertyFactory.getGetter(PropertyFactory.java:168)
at org.hibernate.tuple.PropertyFactory.buildIdentifierProperty(PropertyFactory.java:44)
at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:123)
at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:434)
at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:109)
at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:226)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
at HibernateUtil.<clinit>(HibernateUtil.java:14)
How can i fix this exception
Please help me.
Thanks in advance -
Hi all, I am in full migration from Exchange 2007 to Exchange 2013 and everything went correctly.
I have migrated several mailboxes and are working well. But a few days ago, when I try to migrate a mailbox I get the following error and can not migrate:
"Could not find a valid mailbox migration for this organization"
Do you know that you can be?
regards
Microsoft Certified IT Professional Server AdministratorHi,
From your description, the issue should be related to the migration mailbox. I recommend you check if the following account is existed in ADUC.
Migration.8f3e7716-2011-43e4-96b1-aba62d229136
If this account does not exist, you need to run setup /prepareAD and then enable this migration mailbox to check the result.
Hope this can be helpful to you.
Best regards,
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
Amy Wang
TechNet Community Support -
OS Version: 2000.4.3a
OS Service Release: 2000.4.5bSR21
OS Upgrade: 2000.4.5a
Bars Version: 4.0.15000
CUCM Version: 4.2(3)sr4b
During the upgrade process of our CUCM 4.2(3) to version CUCM 4.2(3)sr4b the database replication between our 2 servers (1x pub, 1x sub) failed. After fixing this via dbhelper tool (everthing´s green and smiling again) service seemed to be ok.
But now Cisco Bars does not work anymore. The backup process of the publisher fails with "Error=[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user '(null)'. Reason: Not associated with a trusted SQL-Server connection." So it looks like some kind of database setting for bars is misconfigured after the republishing process.
Yesterday I tried to reinstall BARS (now in the newest version 4.0.150000), but the same error message occured. Now I get the message "Could not find Cisco Unified database on this server" when I try to configure the Backup source within BARS.
Curiously the backup of our second CCM (sub) works as expected (but without CDR and TFTP Data). The "BackAdmin" User exists and is not locked (and wasn´t changed manually at all).
I am runnig out of ideas... :-(
Any hint or idea on how to fix this is kindly appreciated
best regards
MichaelMike,
I don't have anything definitive here but I am wondering if there is a discrepency between the database names. In SQL Enterprise Manager, you can go to the Publisher and see what the current database name is. It will be the one being replicated and will take the form of CCM0300 or CCM0301 or CCM0302. You should see more than one. Anyway, take note of the name.
Then on the Publisher launch regedit and go to HKLM\Software\Cisco Systems, Inc.\DBL\
Look at the values for DBConnection0 and DBConnection1.
It will be something like DSN=CiscoCallManager;Server=;DATABASE=;Trusted_Connection=yes
Does the in the DSN match what you expect?
Also, going to back to SQL Enterprise Manager, check out the permissions on the database (Right Click->Properties, go to Permissions tab).
Another thing to check if you think it is permissions related is the AdminUtility.exe (c:\program files\cisco\bin\). This can be used to resync system account passwords.
TBH, I am just shooting in the dark here but these are things I would check.
Regards,
Bill -
I have tried a lot to find an app or some way in email to attach multiple of pdf files in one email. I could not find anything that sends multiple pdf file in one email and still keeping the file in simple pdf format for the recipient.
I am not aware of a way except for photos that allows you to select multiple files in an email. I even checked settings in the Adobe Reader app, and it does not show that ability.
-
Could not find the Database Engine startup handle.
Why can't Microsoft make software that "Just Works" any more.
This is Sooooo frustrating! I'm a developer. I want to write database software and I'd like to use SQL Server. But I can't even get the damn thing to install on a fresh Windows 8.1 installation.
MySQL - installs no problem - it just works.
Oracle - Installs no problem - It just works.
I downloaded SQL Server 2012 Express with SP1, ran the Install, took most of the defaults, and I get:
Install Failed:
The following error has occurred:
Could not find the Database Engine startup handle.
For help, click:
http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft%20SQL%20Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=0xD15B4EB2%25400x4BDAF9BA%25401306%254025
Of course, clicking on the link takes me to a non existing web page - what else? Just incompetence everywhere. This is Microsoft's own operating system yet they can't even get their own database to install while their competitors can.
How can they let this happen!
Then I googled the above error message. - Hundreds of hits and a lot of them are threads in forums and lots of civilians saying "try this try that" none of which works. Not a single Microsoft Employee to be found in any of the
discussions or answers. And this same problem has been happening since 2008! Yet Microsoft can't be bothered to fix it.
This kind of buggy software shouldn't have made it past Alpha testing.
Come on Microsoft, you just have to try harder. I can understand bugs that happen in unusual circumstances, after all I'm a developer too. But this won't even install on a clean Windows 8. It's tantamount to releasing a "Hello
World" program that crashes on startup!Hi Bob,
If you make sure all your hardware and software requirements are met for installation of SQL Server 2012 on window 8.1 Its highly unlikely you will face issue.I can understand your situation so let me help you.As Kalman pointed can you paste output
of setup log file which was generated due to failed installation using Kalman's link.
Did you went thorugh below link
How to install SQL server on Win 8.1
Hardware and software requirements for SQL Server 2012
Please first read above links understand how it works and then proceed
Regarding startup handle error .AFAIK its because of Account with which you are trying to install SQL server somehow is not able to start it up after installation.Basically a righst issue.Can be different in some cases.Now whenever you install SQL server
alsway RK on Setup file and select run as administrator.When you reach page window where you need to select startup account for SQL Server please select NT Authority\System( or local system account) .
Details with steps
http://social.technet.microsoft.com/wiki/contents/articles/24364.sql-server-troubleshooting-could-not-find-database-engine-startup-handle-error-during-installation.aspx
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers -
Remote could not find my itunes library
I have try it pairing the remote app with itunes library but without succes i have delete the app few times and start over turning on home sharing in all my devices apple tv itunes and my iphone 4s but still REMOTE could not find the itunes library what else i need to do any help?
I am taking a complete guess on this one, as I am fairly new'ish to OS X.
Firewall switched on at the imac? Would that cause this issue?
Maybe you are looking for
-
Quicktime 10.1 Won't Play
I'm having an issue with Quicktime Version 10.1 whenever i load a video of anykind MOV. AVI. WMV. whatever it load up just fine, but when i press play it plays then it stops, so i press play again and it stops again the cycle continues i can't seem t
-
Background: I use IE for everyday browsing, and FF4 for a proxy-tunnel when travelling. Given the new features in FF5 - fuller SVG implementation, SMIL animation set, and CSS animations I would like to test FF5 - or at least be able to view the demos
-
I'm using a filled area with transperancy set at 50% to give a go/no-go box in Didem Report. When copying to the clipboard, this works as expected. However, when exporting to PDF, the filled area is opaque, and I cannot see my data. I have attached
-
Can Mail be made to have basic text helpers?
I have just been forced to switch to Mail and am shocked that it doesn't have the most rudimentary of text helpers like automatic capitalization of sentences. I thought the lack of this capability in programs used to write stuff died with DOS prompts
-
Business Pacakage 6.01 and Business Pacakage 1.41
Hi Gurus. I am implementing ESS/MSS. We have install the Business Package for Manager Self-Service (SAP ERP) 1.41. In the Business Pacakage 1.41 the manager not can edit skills for employees in his or her area of responsibility, but with the Busines