Com.sleepycat.je.log.LogException: (JE 3.3.62) java.io.IOException: No lock

Hi
From today on my hosted machine facing issue in starting Integrated weblogic server within Jdeveloper.
m/c machine is oel5 64 bit.
jdev version : Studio Edition Version 11.1.1.2.0
I tried all sorts of trick like chmod 777 -R /tmp removing edit.lok file etc. Finally I completely installed jdev and then reinstalled it, but without any luck.
Now I am getting below errors:
During installation below is the warning message:
==
download/ORA11G/jdevstudio11112install.bin
Extracting 0%....................................................................................................100%
Mar 19, 2012 3:42:13 AM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode
WARNING: Could not lock User prefs. Unix error code 37.
Mar 19, 2012 3:42:13 AM java.util.prefs.FileSystemPreferences syncWorld
WARNING: Couldn't flush user prefs: java.util.prefs.BackingStoreException: Couldn't get file lock.
Mar 19, 2012 3:42:43 AM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode
WARNING: Could not lock User prefs. Unix error code 37.
Mar 19, 2012 3:42:43 AM java.util.prefs.FileSystemPreferences syncWorld
WARNING: Couldn't flush user prefs: java.util.prefs.BackingStoreException: Couldn't get file lock.
==
After running jdev
====
Mar 19, 2012 3:43:33 AM oracle.ideimpl.persistence.BerkeleyDBEnvironment getNameSpace
SEVERE: Unable to open environment /.jdeveloper/system11.1.1.2.36.55.36/oracle.javatools.cache
com.sleepycat.je.log.LogException: (JE 3.3.62) java.io.IOException: No locks available
====
Once I try to run the application
==
Mar 19, 2012 3:44:57 AM oracle.security.jps.internal.credstore.ssp.CsfWalletManager createWallet
WARNING: Cannot persist the wallet. Reason java.io.IOException: No locks available.
Application Application1 is bound to Server Instance IntegratedWebLogicServer
Starting Server Instance IntegratedWebLogicServer
Mar 19, 2012 3:47:39 AM oracle.jps.credstore
WARNING: Opening of wallet based credential store failed. Reason java.io.IOException: PKI-02002: Unable to open the wallet. Check password.
Server Instance IntegratedWebLogicServer could not be started: Error starting Server Instance.
===
Any suggestion ..., What might be wrong with my system or configuration. Note that it was working fine till Yesterday.

I am also facing the same issue in my 64 bit linux machine. Any suggestions?
Thanks.

Similar Messages

  • How to avoid sleepycat.je.log.ChecksumException

    Hello,
    We're building one on-line game application, and are evaluating JE. We want to use JE as a persistent store (very similar to a cache, periodically sync each on-line user's data to a remote JE server via network socket). We're testing with thousands of on-line users, and the data size for each user is about 83 KB.
    I ran into one EnvironmentFailureException exception while doing anomaly testing. I used "kill -TERM pid" to kill the JVM process, and encountered the following exception. I had to clean all the JE log files in order to re-start JE. I'm wondering:
    1. Is there anything wrong with my approach of anomaly testing? How to avoid the exception if I want to continue my anomaly testing?
    2. Once the exception happens, are there any ways of "rescuing" the existing data? Because I had to clean all the JE log files in order to re-start JE.
    The error message is as follows:
    <daemonthread name="Cleaner-1"></daemonthread> caught exception: com.sleepycat.je.EnvironmentFailureException: (JE 4.1.6)DBServ (1):dbhome com.sleepycat.je.log.ChecksumExcep Read invalid log entry type: 0 LOG_CHECKSUM: Checksum invalid on read, log is likely invalid. Environment is invalid and must be closed. fetchTarget of 0x8a/0x59aaac parent IN=59 IN class=com.sleepycat.je.tree.BIN lastFullVersion=0xa4/0x7d1362 parent.getDirty()=true state=0
    com.sleepycat.je.EnvironmentFailureException: (JE 4.1.6)DBServ(1):dbhome leepycat.je.log.ChecksumException: Read invalid log entry type: 0 LOG_CHECKSUM: Checksum invalid on read, log is likely invalid. Environment is invalid and must be closed. fetchTarget of 0x8a/0x59aaac parent IN=59 IN class=com.sleepycat.je.tree.BIN lastFullVersion=0xa4/0x7d1362 parent.getDirty()=true state=0
    at com.sleepycat.je.log.LogManager.getLogEntry(LogManager.java:784)
    at com.sleepycat.je.log.LogManager.getLogEntryAllowInvisibleAtRecovery(LogManager.java:742)
    at com.sleepycat.je.tree.IN.fetchTarget(IN.java:1315)
    at com.sleepycat.je.tree.BIN.fetchTarget(BIN.java:1367)
    at com.sleepycat.je.tree.Tree.getParentBINForChildLN(Tree.java:1017)
    at com.sleepycat.je.cleaner.FileProcessor.processLN(FileProcessor.java:678)
    at com.sleepycat.je.cleaner.FileProcessor.processFile(FileProcessor.java:553)
    at com.sleepycat.je.cleaner.FileProcessor.doClean(FileProcessor.java:241)
    at com.sleepycat.je.cleaner.FileProcessor.onWakeup(FileProcessor.java:143)
    at com.sleepycat.je.utilint.DaemonThread.run(DaemonThread.java:162)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: com.sleepycat.je.log.ChecksumException: Read invalid log entry type: 0
    at com.sleepycat.je.log.LogEntryHeader.<init></init>(LogEntryHeader.java:138)
    at com.sleepycat.je.log.LogManager.getLogEntryFromLogSource(LogManager.java:861)
    at com.sleepycat.je.log.LogManager.getLogEntry(LogManager.java:781)
    Thanks,
    Leeuan

    Do you still have the offending log files? If so, save them away.
    With a fresh environment, are you able to reliably reproduce this? i.e. if you kill -9 on a running system, can you reproduce the same problem?
    Charles Lamb

  • Com.sleepycat.db.RunRecoveryException: DB_RUNRECOVERY error

    Hi all,
    Some time there will be such kind of error occur when initial the db envrironement:
    com.sleepycat.db.RunRecoveryException: DB_RUNRECOVERY: Fatal error, run database recovery: DB_RUNRECOVERY: Fatal error, run database recovery
         at com.sleepycat.db.internal.db_javaJNI.DbEnv_close0(Native Method)
         at com.sleepycat.db.internal.DbEnv.close0(DbEnv.java:204)
         at com.sleepycat.db.internal.DbEnv.close(DbEnv.java:81)
         at com.sleepycat.db.Environment.close(Environment.java:39)
         at com.ssc.crd.db.BerkeleyDBUtil.shutdown(BerkeleyDBUtil.java:215)
         at com.ssc.util.BDBContextListener.contextDestroyed(BDBContextListener.java:85)
         at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3770)
         at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4339)
         at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1066)
         at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1066)
         at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:447)
         at org.apache.catalina.core.StandardService.stop(StandardService.java:512)
         at org.apache.catalina.core.StandardServer.stop(StandardServer.java:743)
         at org.apache.catalina.startup.Catalina.stop(Catalina.java:601)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:576)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
    And this issue can resolve by running db_recover -c, such as:
    C:\Work\Conf\Test\berkeley>db_recover -c
    And we try to use setRunRecovery(true); and setRunFatalRecovery(true);, but both failed.
    EnvironmentConfig envConf = new EnvironmentConfig();
    envConf.setRunRecovery(true);
    envConf.setRunFatalRecovery(true);
    Only run db_recover -c can resolve it. Why? And how to deal with it in code.
    Thanks.
    Jane

    But after I set all environment, there are some error occur when starting the tomcat server and failed to setup it, generate hs_err_pid3020.txt.
    Detail in hs_err_pid3020.txt:
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x27d4e525, pid=3020, tid=2760
    # Java VM: Java HotSpot(TM) Client VM (1.5.0_08-b03 mixed mode)
    # Problematic frame:
    # C [libdb43.dll+0x3e525]
    --------------- T H R E A D ---------------
    Current thread (0x00238d50): JavaThread "main" [_thread_in_native, id=2760]
    siginfo: ExceptionCode=0xc0000005, reading address 0x00000018
    Registers:
    EAX=0x27dcda30, EBX=0x00000000, ECX=0x00808000, EDX=0x00000000
    ESP=0x0006f0e8, EBP=0x00000000, ESI=0x27dc4cb8, EDI=0x27dc4cb8
    EIP=0x27d4e525, EFLAGS=0x00010206
    Top of Stack: (sp=0x0006f0e8)
    0x0006f0e8: 27dcda30 ffff86ff 00800000 00000000
    0x0006f0f8: 27d50294 00800000 00000000 00800000
    0x0006f108: 00000000 27dc4cb8 00000016 00238e10
    0x0006f118: 00238d50 27458978 27dc4cb8 00000000
    0x0006f128: 00000000 00800000 00008000 27cf8035
    0x0006f138: 0000005c 27458978 0002e061 000001a4
    0x0006f148: 00238d50 231f4e28 231f4e20 0006f194
    0x0006f158: 00a0832f 00238e10 0006f19c 27dc4cb8
    Instructions: (pc=0x27d4e525)
    0x27d4e515: 00 3b c3 89 9e dc 00 00 00 74 12 8b 54 24 08 50
    0x27d4e525: 8b 42 18 50 56 e8 01 c1 02 00 83 c4 0c 8b 86 08
    Stack: [0x00030000,0x00070000), sp=0x0006f0e8, free space=252k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C [libdb43.dll+0x3e525]
    [error occurred during error reporting, step 120, id 0xc0000005]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j com.sleepycat.db.internal.db_javaJNI.DbEnv_open(JLjava/lang/String;II)V+0
    j com.sleepycat.db.internal.DbEnv.open(Ljava/lang/String;II)V+7
    j com.sleepycat.db.EnvironmentConfig.openEnvironment(Ljava/io/File;)Lcom/sleepycat/db/internal/DbEnv;+312
    j com.sleepycat.db.Environment.<init>(Ljava/io/File;Lcom/sleepycat/db/EnvironmentConfig;)V+6
    j com.ssc.crd.db.BerkeleyDBUtil.setup()V+97
    j com.ssc.util.BDBContextListener.contextInitialized(Ljavax/servlet/ServletContextEvent;)V+10
    j org.apache.catalina.core.StandardContext.listenerStart()Z+429
    j org.apache.catalina.core.StandardContext.start()V+1244
    j org.apache.catalina.core.ContainerBase.addChildInternal(Lorg/apache/catalina/Container;)V+149
    j org.apache.catalina.core.ContainerBase.addChild(Lorg/apache/catalina/Container;)V+26
    j org.apache.catalina.core.StandardHost.addChild(Lorg/apache/catalina/Container;)V+25
    j org.apache.catalina.startup.HostConfig.deployWAR(Ljava/lang/String;Ljava/io/File;Ljava/lang/String;)V+482
    j org.apache.catalina.startup.HostConfig.deployWARs(Ljava/io/File;[Ljava/lang/String;)V+163
    j org.apache.catalina.startup.HostConfig.deployApps()V+25
    j org.apache.catalina.startup.HostConfig.start()V+147
    j org.apache.catalina.startup.HostConfig.lifecycleEvent(Lorg/apache/catalina/LifecycleEvent;)V+132
    j org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Ljava/lang/String;Ljava/lang/Object;)V+68
    j org.apache.catalina.core.ContainerBase.start()V+306
    j org.apache.catalina.core.StandardHost.start()V+314
    j org.apache.catalina.core.ContainerBase.start()V+266
    j org.apache.catalina.core.StandardEngine.start()V+221
    j org.apache.catalina.core.StandardService.start()V+132
    j org.apache.catalina.core.StandardServer.start()V+88
    j org.apache.catalina.startup.Catalina.start()V+32
    v ~StubRoutines::call_stub
    j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
    j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
    J sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
    J java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
    v ~RuntimeStub::alignment_frame_return Runtime1 stub
    j org.apache.catalina.startup.Bootstrap.start()V+37
    j org.apache.catalina.startup.Bootstrap.main([Ljava/lang/String;)V+158
    v ~StubRoutines::call_stub
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x27388908 JavaThread "Dispatcher-Thread-1" daemon [_thread_blocked, id=3304]
    0x009c8780 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2904]
    0x00238f80 JavaThread "CompilerThread0" daemon [_thread_blocked, id=560]
    0x009c6860 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2040]
    0x009bd840 JavaThread "Finalizer" daemon [_thread_blocked, id=3420]
    0x009bc368 JavaThread "Reference Handler" daemon [_thread_blocked, id=2584]
    =>0x00238d50 JavaThread "main" [_thread_in_native, id=2760]
    Other Threads:
    0x009b8138 VMThread [id=2484]
    0x009e35e0 WatcherThread [id=3052]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 36288K, used 31681K [0x02a80000, 0x051e0000, 0x051e0000)
    eden space 32256K, 90% used [0x02a80000, 0x046eae78, 0x04a00000)
    from space 4032K, 64% used [0x04df0000, 0x05075968, 0x051e0000)
    to space 4032K, 0% used [0x04a00000, 0x04a00000, 0x04df0000)
    tenured generation total 483968K, used 0K [0x051e0000, 0x22a80000, 0x22a80000)
    the space 483968K, 0% used [0x051e0000, 0x051e0000, 0x051e0200, 0x22a80000)
    compacting perm gen total 8192K, used 7782K [0x22a80000, 0x23280000, 0x26a80000)
    the space 8192K, 94% used [0x22a80000, 0x23219850, 0x23219a00, 0x23280000)
    No shared spaces configured.
    Dynamic libraries:
    0x00400000 - 0x0040d000      G:\Jianfang Ye\FM\20070129\Java\jre1.5.0_08\bin\java.exe
    0x77f80000 - 0x77ffc000      C:\WINNT\system32\ntdll.dll
    0x7c2d0000 - 0x7c335000      C:\WINNT\system32\ADVAPI32.dll
    0x7c570000 - 0x7c624000      C:\WINNT\system32\KERNEL32.dll
    0x77d30000 - 0x77d9f000      C:\WINNT\system32\RPCRT4.dll
    0x78000000 - 0x78045000      C:\WINNT\system32\MSVCRT.dll
    0x6d6c0000 - 0x6d85b000      G:\Jianfang Ye\FM\20070129\Java\jre1.5.0_08\bin\client\jvm.dll
    0x77e10000 - 0x77e79000      C:\WINNT\system32\USER32.dll
    0x77f40000 - 0x77f7c000      C:\WINNT\system32\GDI32.dll
    0x77570000 - 0x775a0000      C:\WINNT\system32\WINMM.dll
    0x6d280000 - 0x6d288000      G:\Jianfang Ye\FM\20070129\Java\jre1.5.0_08\bin\hpi.dll
    0x690a0000 - 0x690ab000      C:\WINNT\system32\PSAPI.DLL
    0x6d690000 - 0x6d69c000      G:\Jianfang Ye\FM\20070129\Java\jre1.5.0_08\bin\verify.dll
    0x6d300000 - 0x6d31d000      G:\Jianfang Ye\FM\20070129\Java\jre1.5.0_08\bin\java.dll
    0x6d6b0000 - 0x6d6bf000      G:\Jianfang Ye\FM\20070129\Java\jre1.5.0_08\bin\zip.dll
    0x6d4c0000 - 0x6d4d3000      G:\Jianfang Ye\FM\20070129\Java\jre1.5.0_08\bin\net.dll
    0x75030000 - 0x75044000      C:\WINNT\system32\WS2_32.dll
    0x75020000 - 0x75028000      C:\WINNT\system32\WS2HELP.DLL
    0x74fd0000 - 0x74fee000      C:\WINNT\system32\msafd.dll
    0x75010000 - 0x75017000      C:\WINNT\System32\wshtcpip.dll
    0x27cf0000 - 0x27d08000      G:\Jianfang Ye\FM\20070129\BDBXML\bin\libdb_java43.dll
    0x27d10000 - 0x27db7000      G:\Jianfang Ye\FM\20070129\BDBXML\bin\libdb43.dll
    0x7c340000 - 0x7c396000      G:\Jianfang Ye\FM\20070129\BDBXML\bin\MSVCR71.dll
    0x7c3a0000 - 0x7c41b000      G:\Jianfang Ye\FM\20070129\BDBXML\bin\MSVCP71.dll
    VM Arguments:
    jvm_args: -Dsiteminder=false -Dmyss=false -Dconfig.file=G:\Jianfang Ye\FM\20070129\config.properties -Dcom.ssc.eis.myssc.jvmglobal.configfile=G:\Jianfang Ye\FM\20070129\mssconfig-50_dev.xml -Xms512m -Xmx512m -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=G:\Jianfang Ye\FM\20070129\apache-tomcat-5.5.17\conf\logging.properties -Djava.endorsed.dirs=G:\Jianfang Ye\FM\20070129\apache-tomcat-5.5.17\common\endorsed -Dcatalina.base=G:\Jianfang Ye\FM\20070129\apache-tomcat-5.5.17 -Dcatalina.home=G:\Jianfang Ye\FM\20070129\apache-tomcat-5.5.17 -Djava.io.tmpdir=G:\Jianfang Ye\FM\20070129\apache-tomcat-5.5.17\temp
    java_command: org.apache.catalina.startup.Bootstrap start
    Launcher Type: SUN_STANDARD
    Environment Variables:
    JAVA_HOME=C:\jdk1.3.1_10
    JRE_HOME=G:\Jianfang Ye\FM\20070129\Java\jre1.5.0_08
    CLASSPATH=C:\jdk1.3.1_10\lib\tools.jar;G:\Jianfang Ye\FM\20070129\apache-tomcat-5.5.17\bin\bootstrap.jar
    PATH=G:\Jianfang Ye\FM\20070129\BDBXML\bin; C:\jdk1.3.1_10\bin
    USERNAME=e461579
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 9, GenuineIntel
    --------------- S Y S T E M ---------------
    OS: Windows 2000 Build 2195 Service Pack 4
    CPU:total 1 (cores per cpu 1, threads per core 1) family 15 model 2 stepping 9, cmov, cx8, fxsr, mmx, sse, sse2
    Memory: 4k page, physical 1046324k(275832k free), swap 2519928k(1509212k free)
    vm_info: Java HotSpot(TM) Client VM (1.5.0_08-b03) for windows-x86, built on Jul 26 2006 01:10:50 by "java_re" with MS VC++ 6.0

  • SIGSEGV, com.sleepycat.dbxml.dbxml_javaJNI.XmlInputStream_change_ownership

    Hello,
    I'm experimenting crashes on adding a document, on RHEL5 64bit with both Sun JDK 1.5 and 1.6; and on RHEL4 32bit with JDK 1.5
    Selinux is disabled on both RHEL.
    The essential part of the jvm error is:
    # An unexpected error has been detected by Java Runtime Environment:
    # SIGSEGV (0xb) at pc=0x00002aaaaaf2124a, pid=22759, tid=1102199104
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.6.0_01-b06 mixed mode)
    # Problematic frame:
    # V [libjvm.so+0x35124a]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j com.sleepycat.dbxml.dbxml_javaJNI.XmlInputStream_change_ownership(Lcom/sleepycat/dbxml/XmlInputStream;JZ)V+0
    j com.sleepycat.dbxml.XmlInputStream.swigReleaseOwnership()V+11
    j com.sleepycat.dbxml.XmlDocument.setContentAsXmlInputStream(Lcom/sleepycat/dbxml/XmlInputStream;)V+12
    j uk.ac.open.kmi.watson.crawler.dbxml.DbXMLDriver.processFile(Ljava/io/File;)V+169
    j uk.ac.open.kmi.watson.crawler.processor.DbXMLWriter.innerProcess(Lorg/archive/crawler/datamodel/CrawlURI;)V+241
    j org.archive.crawler.framework.Processor.process(Lorg/archive/crawler/datamodel/CrawlURI;)V+50
    j org.archive.crawler.framework.ToeThread.processCrawlUri()V+127
    j org.archive.crawler.framework.ToeThread.run()V+97
    v ~StubRoutines::call_stub
    In java I'm adding a document as:
    XmlInputStream theStream = myManager.createLocalFileInputStream("/opt/watson/test.xml");
    myDoc.setContentAsXmlInputStream(theStream);
    and I have the above issues, if I drop XmlInputStream and just set the content as:
    myDoc.setContent("<foo />");
    Everything works, even on 50 threads.
    Anybody encountered similar issues?
    Thank you.
    Laurian
    Message was edited by:
    user555161

    Hi,
    This is the output of the tests, java file put after:
    MAC OS X
    $ java -version
    java version "1.5.0_07"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-154)
    Java HotSpot(TM) Client VM (build 1.5.0_07-87, mixed mode, sharing)
    RUN 1
    $ java -Djava.library.path=/opt/watson/usr/dbxml/lib -cp build/classes:../../dbxml/lib/db.jar:../../dbxml/lib/dbxml.jar Test1
    Dictionary - crawler - Define new name 1 -> {name,http://www.sleepycat.com/2002/dbxml}
    Dictionary - crawler - Define new name 2 -> {root,http://www.sleepycat.com/2002/dbxml}
    Dictionary - crawler - Define new name 3 -> dbxml
    Dictionary - crawler - Define new name 4 -> http://www.sleepycat.com/2002/dbxml
    Dictionary - crawler - Define new name 5 -> xml
    Dictionary - crawler - Define new name 6 -> xmlns
    Dictionary - crawler - Define new name 7 -> xsi
    Dictionary - crawler - Define new name 8 -> xsd
    Dictionary - crawler - Define new name 9 -> xs
    Dictionary - crawler - Define new name 10 -> xlink
    Dictionary - crawler - Define new name 11 -> xhtml
    Dictionary - crawler - Define new name 12 -> http://www.w3.org/XML/1998/namespace/
    Dictionary - crawler - Define new name 13 -> http://www.w3.org/XML/2000/xmlns/
    Dictionary - crawler - Define new name 14 -> http://www.w3.org/2000/xmlns/
    Dictionary - crawler - Define new name 15 -> http://www.w3.org/1999/xlink
    Dictionary - crawler - Define new name 16 -> http://www.w3.org/2001/XMLSchema-instance
    Dictionary - crawler - Define new name 17 -> http://www.w3.org/2001/XMLSchema
    Dictionary - crawler - Define new name 18 -> http://www.w3.org/1999/xhtml
    Dictionary - crawler - Define new name 19 -> id
    Dictionary - crawler - Define new name 20 -> name
    Container - crawler - Document storage container opened.
    DB opened/created!
    args:
    test1 - for ading XML from a file (path as argument 2)
    test2 - for ading XML from a string
    test3 - for ading RDF/XML, namespace issue
    Container - crawler - container closed.
    RUN 2 - test 1
    $ java -Djava.library.path=/opt/watson/usr/dbxml/lib -cp build/classes:../../dbxml/lib/db.jar:../../dbxml/lib/dbxml.jar Test1 test1 /opt/watson/test.xml
    Container - crawler - Document storage container opened.
    Container - crawler - Adding document: foo1176934467482
    Dictionary - crawler - Define new name 51 -> http://maven.apache.org/POM/4.0.0
    Dictionary - crawler - Define new name 52 -> {created,http://watson.kmi.open.ac.uk/crawler#}
    Indexer - crawler - add unique-node-metadata-equality-string, key={Size=12 Hex=5a01666f6f31313736393334343637343832}, data={Size=3 Hex=000200}
    Container - crawler - Added document successfully: foo1176934467482
    Container - crawler - container closed.
    java(1497,0x1804a00) malloc: *** Deallocation of a pointer not malloced: 0x333a00; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug
    RUN 3 - test 2
    $ java -Djava.library.path=/opt/watson/usr/dbxml/lib -cp build/classes:../../dbxml/lib/db.jar:../../dbxml/lib/dbxml.jar Test1 test2
    Container - crawler - Document storage container opened.
    Container - crawler - Adding document: bar1176934723078
    Indexer - crawler - add unique-node-metadata-equality-string, key={Size=12 Hex=5a0162617231313736393334373233303738}, data={Size=3 Hex=002000}
    Container - crawler - Added document successfully: bar1176934723078
    Container - crawler - container closed.
    RUN 4 - test 3
    $ java -Djava.library.path=/opt/watson/usr/dbxml/lib -cp build/classes:../../dbxml/lib/db.jar:../../dbxml/lib/dbxml.jar Test1 test3
    Container - crawler - Document storage container opened.
    Container - crawler - Adding document: bar1176934775465
    Dictionary - crawler - Define new name 53 -> http://www.w3.org/1999/02/22-rdf-syntax-ns#
    Dictionary - crawler - Define new name 54 -> http://www.recshop.fake/cd#
    Indexer - crawler - add unique-node-metadata-equality-string, key={Size=12 Hex=5a0162617231313736393334373735343635}, data={Size=3 Hex=002a00}
    Container - crawler - Added document successfully: bar1176934775465
    Container - crawler - container closed.
    ==============================
    RHEL 5
    $ java -version
    java version "1.6.0_01"
    Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
    Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_01-b06, mixed mode)
    RUN 1
    $ java -Djava.library.path=/opt/watson/usr/dbxml/lib -cp build/classes:../../dbxml/lib/db.jar:../../dbxml/lib/dbxml.jar Test1
    Dictionary - crawler - Define new name 1 -> {name,http://www.sleepycat.com/2002/dbxml}
    Dictionary - crawler - Define new name 2 -> {root,http://www.sleepycat.com/2002/dbxml}
    Dictionary - crawler - Define new name 3 -> dbxml
    Dictionary - crawler - Define new name 4 -> http://www.sleepycat.com/2002/dbxml
    Dictionary - crawler - Define new name 5 -> xml
    Dictionary - crawler - Define new name 6 -> xmlns
    Dictionary - crawler - Define new name 7 -> xsi
    Dictionary - crawler - Define new name 8 -> xsd
    Dictionary - crawler - Define new name 9 -> xs
    Dictionary - crawler - Define new name 10 -> xlink
    Dictionary - crawler - Define new name 11 -> xhtml
    Dictionary - crawler - Define new name 12 -> http://www.w3.org/XML/1998/namespace/
    Dictionary - crawler - Define new name 13 -> http://www.w3.org/XML/2000/xmlns/
    Dictionary - crawler - Define new name 14 -> http://www.w3.org/2000/xmlns/
    Dictionary - crawler - Define new name 15 -> http://www.w3.org/1999/xlink
    Dictionary - crawler - Define new name 16 -> http://www.w3.org/2001/XMLSchema-instance
    Dictionary - crawler - Define new name 17 -> http://www.w3.org/2001/XMLSchema
    Dictionary - crawler - Define new name 18 -> http://www.w3.org/1999/xhtml
    Dictionary - crawler - Define new name 19 -> id
    Dictionary - crawler - Define new name 20 -> name
    Container - crawler - Document storage container opened.
    DB opened/created!
    args:
    test1 - for ading XML from a file (path as argument 2)
    test2 - for ading XML from a string
    test3 - for ading RDF/XML, namespace issue
    Container - crawler - container closed.
    RUN 2 - test 1
    $ java -Djava.library.path=/opt/watson/usr/dbxml/lib -cp build/classes:../../dbxml/lib/db.jar:../../dbxml/lib/dbxml.jar Test1 test1 /opt/watson/test.xml
    $ java -Djava.library.path=/opt/watson/usr/dbxml/lib -cp build/classes:../../dbxml/lib/db.jar:../../dbxml/lib/dbxml.jar Test1 test1 /opt/watson/test.xml
    Container - crawler - Document storage container opened.
    Container - crawler - Adding document: foo1176938860942
    Dictionary - crawler - Define new name 51 -> http://maven.apache.org/POM/4.0.0
    Dictionary - crawler - Define new name 52 -> {created,http://watson.kmi.open.ac.uk/crawler#}
    Indexer - crawler - add unique-node-metadata-equality-string, key={Size=12 Hex=5a01666f6f31313736393338383630393432}, data={Size=3 Hex=000200}
    Container - crawler - Added document successfully: foo1176938860942
    Container - crawler - container closed.
    RUNNING AGAIN
    $ java -Djava.library.path=/opt/watson/usr/dbxml/lib -cp build/classes:../../dbxml/lib/db.jar:../../dbxml/lib/dbxml.jar Test1 test1 /opt/watson/test.xml
    Container - crawler - Document storage container opened.
    # An unexpected error has been detected by Java Runtime Environment:
    # SIGSEGV (0xb) at pc=0x00002aaaaaf2124a, pid=6114, tid=1075882304
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.6.0_01-b06 mixed mode)
    # Problematic frame:
    # V [libjvm.so+0x35124a]
    # An error report file with more information is saved as hs_err_pid6114.log
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    Aborted
    In hs_err_pid6114.log:
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j com.sleepycat.dbxml.dbxml_javaJNI.XmlInputStream_change_ownership(Lcom/sleepycat/dbxml/XmlInputStream;JZ)V+0
    j com.sleepycat.dbxml.XmlInputStream.swigReleaseOwnership()V+11
    j com.sleepycat.dbxml.XmlDocument.setContentAsXmlInputStream(Lcom/sleepycat/dbxml/XmlInputStream;)V+12
    j Test1.test1(Ljava/lang/String;)V+150
    j Test1.main([Ljava/lang/String;)V+32
    v ~StubRoutines::call_stub
    RUN 3 - test 2
    $ java -Djava.library.path=/opt/watson/usr/dbxml/lib -cp build/classes:../../dbxml/lib/db.jar:../../dbxml/lib/dbxml.jar Test1 test2
    Container - crawler - Document storage container opened.
    Container - crawler - Adding document: bar1176939020231
    Indexer - crawler - add unique-node-metadata-equality-string, key={Size=12 Hex=5a0162617231313736393339303230323331}, data={Size=3 Hex=000700}
    Container - crawler - Added document successfully: bar1176939020231
    Container - crawler - container closed.
    RUN 4 - test 3
    $ java -Djava.library.path=/opt/watson/usr/dbxml/lib -cp build/classes:../../dbxml/lib/db.jar:../../dbxml/lib/dbxml.jar Test1 test3
    Container - crawler - Document storage container opened.
    Container - crawler - Adding document: bar1176939053875
    Indexer - crawler - add unique-node-metadata-equality-string, key={Size=12 Hex=5a0162617231313736393339303533383735}, data={Size=3 Hex=001100}
    Container - crawler - Added document successfully: bar1176939053875
    Container - crawler - container closed.
    JAVA FILE:
    import com.sleepycat.db.Environment;
    import com.sleepycat.db.EnvironmentConfig;
    import com.sleepycat.db.LockDetectMode;
    import com.sleepycat.db.Transaction;
    import com.sleepycat.db.TransactionConfig;
    import com.sleepycat.dbxml.XmlContainer;
    import com.sleepycat.dbxml.XmlContainerConfig;
    import com.sleepycat.dbxml.XmlDocument;
    import com.sleepycat.dbxml.XmlException;
    import com.sleepycat.dbxml.XmlInputStream;
    import com.sleepycat.dbxml.XmlManager;
    import com.sleepycat.dbxml.XmlManagerConfig;
    import com.sleepycat.dbxml.XmlTransaction;
    import com.sleepycat.dbxml.XmlUpdateContext;
    import com.sleepycat.dbxml.XmlValue;
    import java.io.File;
    import java.text.SimpleDateFormat;
    import java.util.GregorianCalendar;
    import java.util.TimeZone;
    * Test1.java
    * Created on April 18, 2007, 10:43 PM
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    * @author lg3388
    public class Test1 {
    public static final File TMP = new File("/tmp");
    public static final File ENV = new File(TMP, "/foo");
    static {
    ENV.mkdirs();
    public static final String container = "crawler";
    private Environment myEnv;
    private EnvironmentConfig envConf;
    private XmlManager myManager;
    private XmlContainer myContainer;
    public void initialTasks() throws Exception {
    EnvironmentConfig envConf = new EnvironmentConfig();
    envConf.setErrorStream(System.err);
    envConf.setAllowCreate(true);
    //envConf.setRunRecovery(true);
    envConf.setJoinEnvironment(true);
    envConf.setInitializeLocking(true);
    envConf.setInitializeLogging(true);
    envConf.setInitializeCache(true);
    envConf.setTransactional(true);
    envConf.setLockDetectMode(LockDetectMode.DEFAULT);
    envConf.setPrivate(false);
    envConf.setTxnMaxActive(64);
    envConf.setTxnTimeout(60*1000000);
    envConf.setThreaded(true);
    myEnv = new Environment(ENV, envConf);
    XmlManagerConfig managerConfig = new XmlManagerConfig();
    managerConfig.setAdoptEnvironment(true);
    myManager = new XmlManager(myEnv, managerConfig);
    myManager.setLogLevel(XmlManager.LEVEL_ALL, true);
    myManager.setLogCategory(XmlManager.CATEGORY_ALL, true);
    XmlContainerConfig containerConf = new XmlContainerConfig();
    containerConf.setNodeContainer(false);
    containerConf.setAllowValidation(false);
    containerConf.setTransactional(true);
    containerConf.setAllowCreate(true);
    if ( myManager.existsContainer(container) != 0 ) {
    myContainer = myManager.openContainer(container, containerConf);
    } else {
    myContainer = myManager.createContainer(container, containerConf);
    public void finalTasks() throws Exception {
    myContainer.close();
    public void test1(String fileName) throws Exception {
    // UTC unix timestamp
    GregorianCalendar time = new GregorianCalendar(TimeZone.getTimeZone("UTC"));
    long stamp = time.getTimeInMillis();
    Transaction tn = null;
    TransactionConfig tc = new TransactionConfig();
    //tc.setNoWait(true);
    tn = myEnv.beginTransaction(null, tc);//
    XmlTransaction txn = null;
    try {
    txn = myManager.createTransaction(tn);
    XmlUpdateContext theContext = myManager.createUpdateContext();
    String URI = "http://watson.kmi.open.ac.uk/crawler#";
    String attrName = "created";
    XmlValue attrValue = new XmlValue(XmlValue.DATE_TIME, new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'").format(time.getTime()));
    // @@@@@ THIS IS NOT IN TEST 2
    // Get the input stream.
    XmlInputStream theStream = myManager.createLocalFileInputStream(fileName);
    // Get an XmlDocument
    XmlDocument myDoc = myManager.createDocument();
    // Set the document's name
    myDoc.setName("foo" + Long.toString(stamp));
    // @@@@@ THIS IS NOT IN TEST 2
    // Set the content
    myDoc.setContentAsXmlInputStream(theStream);
    // Set the metadata
    myDoc.setMetaData(URI, attrName, attrValue);
    // Put the document into the container
    myContainer.putDocument(txn, myDoc, theContext, null);
    //free resources?
    myDoc.delete();
    txn.commit();
    // free resources?
    txn.delete();
    } catch (XmlException e) {
    e.printStackTrace();
    if (txn != null) txn.abort();
    public void test2(String content) throws Exception {
    // UTC unix timestamp
    GregorianCalendar time = new GregorianCalendar(TimeZone.getTimeZone("UTC"));
    long stamp = time.getTimeInMillis();
    Transaction tn = null;
    TransactionConfig tc = new TransactionConfig();
    //tc.setNoWait(true);
    tn = myEnv.beginTransaction(null, tc);//
    XmlTransaction txn = null;
    try {
    txn = myManager.createTransaction(tn);
    XmlUpdateContext theContext = myManager.createUpdateContext();
    String URI = "http://watson.kmi.open.ac.uk/crawler#";
    String attrName = "created";
    XmlValue attrValue = new XmlValue(XmlValue.DATE_TIME, new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'").format(time.getTime()));
    // Get an XmlDocument
    XmlDocument myDoc = myManager.createDocument();
    // Set the document's name
    myDoc.setName("bar" + Long.toString(stamp));
    // @@@@ THIS IS THE DIFF TO TEST 1
    // Set the content
    myDoc.setContent(content);
    // Set the metadata
    myDoc.setMetaData(URI, attrName, attrValue);
    // Put the document into the container
    myContainer.putDocument(txn, myDoc, theContext, null);
    //free resources?
    myDoc.delete();
    txn.commit();
    // free resources?
    txn.delete();
    } catch (XmlException e) {
    e.printStackTrace();
    if (txn != null) txn.abort();
    public static void main(String[] args) throws Exception {
    Test1 test = new Test1();
    test.initialTasks();
    if (args.length > 0) {
    if ("test1".equals(args[0])) test.test1(args[1]);
    if ("test2".equals(args[0])) test.test2("<bar />");
    if ("test3".equals(args[0])) test.test2(
    "<rdf:RDF"
    + " xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' "
    + "xmlns:cd='http://www.recshop.fake/cd#'> "
    + "<rdf:Description"
    + " rdf:about='http://www.recshop.fake/cd/Empire Burlesque'>"
    + " <cd:artist>Bob Dylan</cd:artist>"
    + " <cd:country>USA</cd:country>"
    + " <cd:company>Columbia</cd:company>"
    + " <cd:price>10.90</cd:price>"
    + " <cd:year>1985</cd:year>"
    + "</rdf:Description></rdf:RDF>"
    } else {
    System.out.println("DB opened/created!");
    System.out.println("args:");
    System.out.println("test1 - for ading XML from a file (path as argument 2)");
    System.out.println("test2 - for ading XML from a string");
    System.out.println("test3 - for ading RDF/XML, namespace issue");
    test.finalTasks();
    }

  • NoClassDefFoundError: com/sap/sql/log/OpenSQLException

    I have developed a Java project. It consists of 2 SQLJ files and then a Java class. When I try to execute the Java program, I get a Java error:
    java.lang.NoClassDefFoundError: com/sap/sql/log/OpenSQLException
         at com.mbb.crrs.business.report.dao.ReportDAO.<init>(ReportDAO.sqlj:23)
         at com.mbb.crrs.business.report.dao.Test.main(Test.java:24)
    Exception in thread "main"
    I notice a similar problem on message: Re: Which jar to include com.sap.sql.log.OpenSQLException
    Is that something that I need to maintain for it to work? Thank you.

    Hi,
    the problem one year ago was that the SQLException class was not available through remote access. I don't know if that might have been changed meanwhile in the latest release.
    I implemented a simple work around: I caught every SQL-exception in the method where it was thrown, wrapped the exception message and any nested exception in a self written exception and threw this new exception. That worked fine.
    Regards, Astrid

  • Java.lang.NoClassDefFoundError: com/sap/tc/logging/Configurator

    I have installed this NWDS 2.0.12. When I click on the icon from desktop, I see a splash screen for a second and then immediately an error message saying 'Problem during startup. Check the .log file in .metadata folder of your workspace.'
    Following is the log file
    !SESSION -
    !ENTRY org.eclipse.core.launcher 4 0 Jun 29, 2006 16:09:37.302
    !MESSAGE Exception launching the Eclipse Platform:
    !STACK
    java.lang.NoClassDefFoundError: com/sap/tc/logging/Configurator
         at java.lang.Class.getDeclaredConstructors0(Native Method)
         at java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
         at java.lang.Class.getConstructor0(Class.java:1930)
         at java.lang.Class.getConstructor(Class.java:1027)
         at org.eclipse.core.internal.plugins.PluginDescriptor.internalDoPluginActivation(PluginDescriptor.java:709)
         at org.eclipse.core.internal.plugins.PluginDescriptor.doPluginActivation(PluginDescriptor.java:188)
         at org.eclipse.core.internal.plugins.PluginClassLoader.activatePlugin(PluginClassLoader.java:112)
         at org.eclipse.core.internal.plugins.PluginClassLoader.internalFindClassParentsSelf(PluginClassLoader.java:185)
         at org.eclipse.core.internal.boot.DelegatingURLClassLoader.findClassParentsSelf(DelegatingURLClassLoader.java:485)
         at org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass(DelegatingURLClassLoader.java:882)
         at org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass(DelegatingURLClassLoader.java:862)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
         at org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExtension(PluginDescriptor.java:130)
         at org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExtension(PluginDescriptor.java:167)
         at org.eclipse.core.internal.plugins.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:103)
         at org.eclipse.core.internal.runtime.InternalPlatform.loaderGetRunnable(InternalPlatform.java:578)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.eclipse.core.internal.boot.InternalBootLoader.getRunnable(InternalBootLoader.java:471)
         at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:854)
         at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:286)
         at com.sap.ide.eclipse.startup.Main.run(Main.java:784)
         at com.sap.ide.eclipse.startup.Main.main(Main.java:602)
    Can somebody help me to resolve this? What should be the potential cause for the error?

    java.lang.NoClassDefFoundError: <b>com/sap/tc/logging/Configurator</b>
    Either a missing jar or the classpath is not defined right.

  • Com.sap.sql.log.OpenSQLException during EntityManager Call

    Hi!
    I deployed an EJB3 session bean on the NW 7.1.
    The aim is to use JPA with this bean.
    I configured the "persistence.XML" for the bean project and packed it into the jar File and a "data-source-aliases.xml" which is included in the ear file. The packaging of the ear-file is done with the developerStudio and deployed on the NW 7.1
    Then I created a dataSource project which contains the "data-sources.xml" and deployed this too.
    Here is my data-sources.xml:
    <?xml version="1.0" encoding="utf-8"?>
    <!DOCTYPE data-sources SYSTEM 'data-sources.dtd'>
    <data-sources>
        <data-source>
            <data-source-name>JPA_SDN_EXAMPLE_DS_555</data-source-name>
            <driver-name>ora10</driver-name>
            <sql-engine>native_sql</sql-engine>
            <jdbc-1.x>
                <driver-class-name>oracle.jdbc.driver.OracleDriver</driver-class-name>
    <!-- *** Edit the following entries appropriately *** -->
                <url>jdbc:oracle:thin:@10.XXX.7.27:1521:orcl</url>
                <user-name>bdeadm</user-name>
                <password>dmin</password>
    <!-- *** End editing ***  -->
            </jdbc-1.x>
        </data-source>
    </data-sources>
    My deployed session bean looks like this:
    @Stateless(name="WorkerBean")
    public class WorkerBean implements WorkerRemote {
         @PersistenceContext(unitName="JPAModel")
        private EntityManager em;
         public String sayHello() {
    The last step was the deploment of the oracle driver on the NW7.1 under the "Application Resources Overview". The driver I named "ora10".
    Now if I call my Bean shown above with its Entity Manager Call for the injection I got the following exception:
    Caused by: com.sap.sql.log.OpenSQLException: Error while accessing porting layer for ORACLE database via getSessionId().
         at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:148)
         at com.sap.sql.jdbc.direct.DirectConnectionFactory.createPooledConnection(DirectConnectionFactory.java:532)
         at com.sap.sql.jdbc.direct.DirectConnectionFactory.createDirectPooledConnection(DirectConnectionFactory.java:157)
         at com.sap.sql.jdbc.direct.DirectConnectionFactory.createDirectPooledConnection(DirectConnectionFactory.java:117)
         at com.sap.sql.connect.factory.PooledConnectionFactory.createPooledConnection(PooledConnectionFactory.java:119)
         at com.sap.sql.connect.factory.DriverPooledConnectionFactory.getPooledConnection(DriverPooledConnectionFactory.java:38)
    I have no idea, whats wrong. Perhaps my driver is wrong or not set properly ?
    Can anybody help me please ?
    Thanks in advance,
    Hendrik
    Edited by: henne123 on May 18, 2009 6:19 PM

    I have tried that.
    [EXCEPTION]
    *com.sap.sql.log.OpenSQLException: The SQL statement "SELECT * FROM EPD.SAPEPDDB.UME_EP_SLD" contains the syntax error[s]: - Open SQL syntax error: table names must not specify a catalog name (delete "EPD". before "SAPEPDDB"."UME_EP_SLD")*
    Database name must be Ok, because i can access to other tables which are in the same DB...
    Thanks for your help

  • Com.sap.sql.log.OpenSQLException: table or view not exists

    Hi!.
    I'm developing a Portal Component over NW EP 2004s (7.0) which access to SQL Server database. I have created three tables on the system db (EPD). Connection is Ok, over datasource object, but i can't make a SELECT operation to my new tables.
    Hovewer, making a SELECT operation over older system tables is OK.
    I have adjusted permissions on my new tables, similar to the older tables. The table's owner is the same too.
    The exception i get is:
    **Exception of type com.sap.sql.log.OpenSQLException caught: The SQL statement "SELECT * FROM "SAPEPDDB"."UME_EP_UNLOCKUSERS"" contains the semantics error[s]: - 1:24 - the table or view >>UME_EP_UNLOCKUSERS<< does not exist**
    [EXCEPTION]
    *com.sap.sql.log.OpenSQLException: The SQL statement "SELECT * FROM "SAPEPDDB"."UME_EP_UNLOCKUSERS"" contains the semantics error[s]: - 1:24 - the table or view >>UME_EP_UNLOCKUSERS<< does not exist*
    at com.sap.sql.jdbc.common.StatementAnalyzerImpl.check(StatementAnalyzerImpl.java:38)
    at com.sap.sql.jdbc.common.StatementAnalyzerImpl.preprepareStatement(StatementAnalyzerImpl.java:101)
    at com.sap.sql.jdbc.common.StatementAnalyzerImpl.preprepareStatement(StatementAnalyzerImpl.java:87)
    at com.sap.sql.jdbc.common.CommonStatementImpl.executeQuery(CommonStatementImpl.java:114)
    at com.sap.engine.services.dbpool.wrappers.StatementWrapper.executeQuery(StatementWrapper.java:172)
    at com.uralita.database.DbManager.executeQuery(DbManager.java:105)
    at com.uralita.ListaSistemas$ListaSistemasDynPage.getSystemsR3(ListaSistemas.java:184)
    at com.uralita.ListaSistemas$ListaSistemasDynPage.doInitialization(ListaSistemas.java:93)
    at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:105)
    at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable$1$DoDispatchRequest.run(AsyncIncludeRunnable.java:377)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable.run(AsyncIncludeRunnable.java:390)
    at com.sapportals.portal.prt.core.async.ThreadContextRunnable.run(ThreadContextRunnable.java:164)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:729)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: com.sap.sql.sqlparser.CommonSQLParserException: - 1:24 - the table or view >>UME_EP_UNLOCKUSERS<< does not exist
    at com.sap.sql.sqlparser.CommonSQLStatement.checkSemantics(CommonSQLStatement.java:171)
    at com.sap.sql.jdbc.common.StatementAnalyzerImpl.check(StatementAnalyzerImpl.java:35)
    ... 19 more
    caused by
    com.sap.sql.sqlparser.CommonSQLParserException: - 1:24 - the table or view >>UME_EP_UNLOCKUSERS<< does not exist
    at com.sap.sql.sqlparser.CommonSQLStatement.checkSemantics(CommonSQLStatement.java:171)
    at com.sap.sql.jdbc.common.StatementAnalyzerImpl.check(StatementAnalyzerImpl.java:35)
    at com.sap.sql.jdbc.common.StatementAnalyzerImpl.preprepareStatement(StatementAnalyzerImpl.java:101)
    at com.sap.sql.jdbc.common.StatementAnalyzerImpl.preprepareStatement(StatementAnalyzerImpl.java:87)
    at com.sap.sql.jdbc.common.CommonStatementImpl.executeQuery(CommonStatementImpl.java:114)
    at com.sap.engine.services.dbpool.wrappers.StatementWrapper.executeQuery(StatementWrapper.java:172)
    at com.uralita.database.DbManager.executeQuery(DbManager.java:105)
    at com.uralita.ListaSistemas$ListaSistemasDynPage.getSystemsR3(ListaSistemas.java:184)
    at com.uralita.ListaSistemas$ListaSistemasDynPage.doInitialization(ListaSistemas.java:93)
    at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:105)
    at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable$1$DoDispatchRequest.run(AsyncIncludeRunnable.java:377)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable.run(AsyncIncludeRunnable.java:390)
    at com.sapportals.portal.prt.core.async.ThreadContextRunnable.run(ThreadContextRunnable.java:164)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:729)
    at java.lang.Thread.run(Thread.java:534)
    Someone has been getting this problem? Any idea?
    Thanks!

    I have tried that.
    [EXCEPTION]
    *com.sap.sql.log.OpenSQLException: The SQL statement "SELECT * FROM EPD.SAPEPDDB.UME_EP_SLD" contains the syntax error[s]: - Open SQL syntax error: table names must not specify a catalog name (delete "EPD". before "SAPEPDDB"."UME_EP_SLD")*
    Database name must be Ok, because i can access to other tables which are in the same DB...
    Thanks for your help

  • Missing package com.sap.tc.logging, where to download it?

    Hi all,
    I require this package in order to run my program based on webdynpro and Bw. specialing its looking for com.sap.tc.logging.location . The detailed exception is laready posted by me. from where can i download and install this package.
    In the eclipse plugins the package is only present with docs , but does'nt have classes in them.
    Thanks,
    Regards,
    karthik
    Message was edited by:
            Armin Reichert

    hi Kartik,
    it is logging.jar
    you will find that here:- http://sourceforge.net/projects/classlocator/
    its path on system is
    Path is C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.tssap.sap.libs.logging_2.0.0\lib
    regards,
    Message was edited by:
            Abhijeet

  • Problem about com.sap.tc.logging.LogController.removeLogs

    Hi guy
    I create a LogIt class. code like this
    {private static Category cate = Category.getCategory(Category.APPLICATIONS,"/shneider/km");
         private static void iniLog(){
              cate.removeLogs();
    when runtime I find error in sap nwa log
    Help me
    thanks
    #/System/Server#sap.com/tcwddispwda#com.sapmarkets.bam.jmxadapter.sapjlog.AbstractFileLogHandler#test#14082##n/a##a814584afdb211dfcddb000000d54062#SAPEngine_Application_Thread[impl:3]_27##0#0#Error#1#com.sapmarkets.bam.jmxadapter.sapjlog.AbstractFileLogHandler#Plain###com.sapmarkets.bam.util.BAMRuntimeException: Permission denied by JMX.#
    #/System/Server#sap.com/tcwddispwda#com.sapmarkets.bam.jmxadapter.sapjlog.AbstractFileLogHandler#test#14082##n/a##a814584afdb211dfcddb000000d54062#SAPEngine_Application_Thread[impl:3]_27##0#0#Error#1#com.sapmarkets.bam.jmxadapter.sapjlog.AbstractFileLogHandler#Plain###com.sap.engine.services.jmx.exception.JmxSecurityException: Caller test not authorized, only role administrators is allowed to access JMX#
    #/System/Server#sap.com/tcwddispwda#com.sapmarkets.bam.jmxadapter.sapjlog.AbstractFileLogHandler#test#14082##n/a##a814584afdb211dfcddb000000d54062#SAPEngine_Application_Thread[impl:3]_27##0#0#Error#1#com.sapmarkets.bam.jmxadapter.sapjlog.AbstractFileLogHandler#Plain###java.security.AccessControlException: access denied (javax.management.MBeanPermission -\#-[:SAP_J2EECluster="",SAP_J2EEClusterNode="",j2eeType=LVLogType,name=./log/schneider/debug/km.%g.log] unregisterMBean)#
    #/System/Server#sap.com/tcwddispwda#com.sapmarkets.bam.jmxadapter.sapjlog.AbstractFileLogHandler#test#14082##n/a##a814584afdb211dfcddb000000d54062#SAPEngine_Application_Thread[impl:3]_27##0#0#Error#1#com.sapmarkets.bam.jmxadapter.sapjlog.AbstractFileLogHandler#Plain###Originated from: java.security.AccessControlException: access denied (javax.management.MBeanPermission -\#-[:SAP_J2EECluster="",SAP_J2EEClusterNode="",j2eeType=LVLogType,name=./log/schneider/debug/km.%g.log] unregisterMBean)
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:269)
         at java.security.AccessController.checkPermission(AccessController.java:401)
         at com.sap.engine.services.jmx.EngineAuthorization.checkMBeanPermission(EngineAuthorization.java:66)
         at com.sap.engine.services.jmx.auth.UmeAuthorization.checkMBeanPermission(UmeAuthorization.java:77)
         at com.sap.engine.services.jmx.JmxServerFrame.checkMBeanPermission(JmxServerFrame.java:98)
         at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.unregisterMBean(MBeanServerSecurityWrapper.java:395)
         at com.sap.engine.services.jmx.ClusterInterceptor.unregisterMBean(ClusterInterceptor.java:1327)
         at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.unregisterMBean(MBeanServerInterceptorChain.java:258)
         at com.sapmarkets.bam.jmxadapter.sapjlog.AbstractFileLogHandler.unRegisterLogMBean(AbstractFileLogHandler.java:538)
         at com.sapmarkets.bam.jmxadapter.sapjlog.AbstractFileLogHandler.handleEvent(AbstractFileLogHandler.java:563)
         at com.sap.tc.logging.LoggingManager.notifyRemoveLog(LoggingManager.java:379)
         at com.sap.tc.logging.LogController.removeLogsNormalInt(LogController.java:3394)
         at com.sap.tc.logging.LogController.removeLogs(LogController.java:1462)
         at com.deep.util.LogIt.iniLog(LogIt.java:142)
         at com.deep.util.LogIt.Log(LogIt.java:45)
         at com.deep.authoriy.impl.KmAuthServImpl.getBoScope(KmAuthServImpl.java:91)
         at com.deep.service.impl.KmCategoriesSerivceImpl.hasGrandson(KmCategoriesSerivceImpl.java:175)
         at com.deep.km.cate.comp.Comp_KmCategories.getCategories(Comp_KmCategories.java:703)
         at com.deep.km.cate.comp.Comp_KmCategories.initKmCategoriesTree(Comp_KmCategories.java:354)
         at com.deep.km.cate.comp.Comp_KmCategories.initView(Comp_KmCategories.java:541)
         at com.deep.km.cate.comp.Comp_KmCategories.wdDoInit(Comp_KmCategories.java:137)
         at com.deep.km.cate.comp.wdp.InternalComp_KmCategories.wdDoInit(InternalComp_KmCategories.java:367)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
    Edited by: yan liang on Dec 2, 2010 4:02 AM

    java.lang.NoClassDefFoundError: <b>com/sap/tc/logging/Configurator</b>
    Either a missing jar or the classpath is not defined right.

  • Error with com/sleepycat/db/EnvironmentConfig

    i have this message error when runing exampleLoadContainer.java in the examples
    java.lang.UnsupportedClassVersionError: com/sleepycat/db/EnvironmentConfig (Unsupported major.minor version 49.0)
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.security.SecureClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at dbxml.gettingStarted.exampleLoadContainer.createEnv(exampleLoadContainer.java:143)
         at dbxml.gettingStarted.exampleLoadContainer.loadXmlFiles(exampleLoadContainer.java:163)
         at dbxml.gettingStarted.exampleLoadContainer.main(exampleLoadContainer.java:85)
    Exception in thread "main"

    Hi,
    Do you have multiple versions of Java (JDK and JVM) installed on your machine?
    It sounds a Java class was possibly compiled with version 5 and run with a 1.4 JVM?
    Make sure that the JVM you use for execution is at least as new as the version of javac that was use for compilation.
    Ron

  • JAR file  "com.sap.tc.logging"

    If any one has this JAR file -- "com.sap.tc.logging.Category"
    Please mail it to me-- [email protected]
    Regards
    pranay

    Hi  Pranay
    When i try to create new DC it is giving me foolowing errors:
    com.sap not resolved.
    file_webdynpro_admin.jar etc.
    how did u resolve it?please help me out
    Thanks
    Prasad

  • Com.sap.tc.logging.* package

    I need to download com.sap.tc.logging.* package. Anybody guide me from where i can get this package downloaded.
    I need this package for the for the location class that is in this package please help me ot

    well I can confirm that Location.class is DEFINATELY part of that jar file.  Im using it constantly.
    There must be some problem with the way you are importing it.  Ensure its added to the right project as an external jar.
    then it should be a simple case of
    import com.sap.tc.logging.Location;
    and away you go ....
    Haydn

  • Need to get com.sap.tc.logging.*

    hi,
    Please anybody let me know from where i can get the com.sap.tc.logging.*

    Hello Ashwani,
    Please go through the forum link hope this helps even this one talk about the same issue.
    [com.sap.tc.logging.* package|com.sap.tc.logging.* package]
    Hayden I believe the forum link which I added here is also replied by you.
    Cheers-
    Pramod

  • NullPointerException at com.sleepycat.je.Environment.getThreadTransaction

    We are using je-3.2.44 in a production server and get the following exception 4 to 7 times per day. Is this a known bug? What causes it? Can a fix/patch be made available? Is there any way I can work around it?
    java.lang.NullPointerException
    at com.sleepycat.je.Environment.getThreadTransaction(Environment.java:1100)
    at com.sleepycat.persist.PrimaryIndex.put(PrimaryIndex.java:342)
    at com.sleepycat.persist.PrimaryIndex.put(PrimaryIndex.java:314)

    Sorry for the delay in response. Yes, one of the threads was closing the environment causing another thread to end up with this exception. We have resolved issue. Thanks!

Maybe you are looking for