JNI : cannot create JVM

Hello everybody, sorry to bother all of you.
I got problem with the JNI.
I'm creating a Windows service that invoking a Java-based server via JNI.
I'm copying the source from the JNI tutorial (from sun), and the problem is:
res = JNI_CreateJavaVM(&jvm, (void **)&env, &vm_args);
res will result < 0, means it failed/cannot create Java VM.
I read on JNI tutorial that said the problem is because it cannot locate the JVM, or in other words, it cannot found the java library.
I'm using JDK 1.4.1_01 now, and Microsoft Visual C++.
I'm installing the JDK under "C:\Java\J2SE"
and I'm compile the c program inside "C:\Program Files\Microsoft Visual Studio\VC98\Bin", and I'm also copied the JVM.DLL into this directory, since it's needed when i'm running the exe file.
I already set the vm_args.version into JNI_VERSION_1_4 (0x00010004)
Does anybody know the workaround about this problem?
what directory should I put into vm_args.classpath? is it ".;C:\Java\J2SE\lib" ?
Thanks anyway.
Regards,
Loekito

Here's some stuff I can tell you.
1. dont copy the JVM.dll anywhere. Use the registry to find out where it is installed and then load it dynamically.
2. look at the laucnher directory in the src.zip file in the j2sdk. there are some examples in there you should find handy.

Similar Messages

  • Cannot create JVM message box in WLS 92 admin console

    Hi,
    I want to open a new windows process from weblogic admin console. I wanted to know if there is a way to launch a jvm from console.
    If I use Runtime.getRuntime().exec(cmd), cmd is a javaw command, in my console extension, I get "cannot create JVM" dialog box.
    Is this possible?
    Pl. suggest

    Hi,
    I want to open a new windows process from weblogic admin console. I wanted to know if there is a way to launch a jvm from console.
    If I use Runtime.getRuntime().exec(cmd), cmd is a javaw command, in my console extension, I get "cannot create JVM" dialog box.
    Is this possible?
    Pl. suggest

  • Cannot Create JVM Error

    I am using Ready To Program to compile my apps and need to have a jvm.dll file to run Java 2. i downloaded SDK 1.4.1 but the only JVM's are in Client and Server. these just dont work, I just get the error "Cannot create JVM"
    PLEASE if anyone knows a way to make this work or a download I can get. Let me know!!!!! I really need it soon!

    You could try uninstalling. Then download 1.2 and install that.
    You would need to modify your path to include the dll.

  • Unable to create JVM using JNI

    Hai,
    I am new to java programming. I am trying to invoke native application using JVM. I have a written a pilot code in C using JNI. I am getting the following error when I try to run the binary. I think that the problem is from the fact that 1.2.2 is installed in
    /usr/bin directory (and is the default on the server). But I have set both
    LD_LIBRARY_PATH, PATH and path
    so that it points out 1.4.2. Here is the error
    unable to create JVM
    There was an error trying to initialize the HPI library.
    Please check your installation, HotSpot does not work correctly
    when installed in the JDK 1.2 Solaris Production Release, or
    with any JDK 1.1.x release.
    while building the binary I am using JDK1.4.1 header and lib files
    These are my compilation arguments
    g++ -g -I/opt/BES/jdk/jdk1.4.1/include/ -I/opt/BES/jdk/jdk1.4.1/include/solaris/ -L/opt/BES/jdk/jdk1.4.1/jre/lib/sparc/ -ljvm -ljava jniTest.C
    Help Needed
    Thanks
    Sunil

    I haven't seen this before. Could it be a disk space issue?
    Are you using JDevStudio or JDevStudioBase? And do you have your JAVA_HOME set? If you are using JDevStudio, try running JDev in a command window where JAVA_HOME is not set - I'm pretty sure JDev does NOT get confused about this but I haven't done extensive testing.
    Also you should try deleting and unzipping JDev again.
    Finally, search the JDev TP forum - there are some discussions there about this error and you may find an answer to your specific configuration - it doesn't seem to be a TP4 specific issue.
    JDeveloper and OC4J 11g Technology Preview
    Heidi.

  • Cannot create process to handle workflow instance conversation

    <Nov 18, 2002 1:04:30 PM IST> <Error> <B2B> <000000> <<Process>
    Hi,
    Iam getting following error when iam trying to invoke
    subworkflow.
    can anyone help me in solving this problem.
    regards
    Ananth
    ERROR: Cannot cr
    eate process null.>
    <Nov 18, 2002 1:04:30 PM IST> <Error> <B2B> <000000> <<B2B-BPM-Plugin> ERROR:
    Cannot create process to handle workflow instance conversation
    com.bea.b2b.protocol.ProcessManager$CreateException: ERROR: Cannot create proces
    s null.

    Hi Ajaz,
    Error description is not detailed enough to provide the solution. You need to post the error message what you got in the server log files. This should contain specific details about the issue.
    Not sure but issue may be related to JVM settings. if it is so, server log file will provide the error description.

  • Cannot create a new login in portal

    Dear Experts,
    After the installation of portal, i was not able to login with j2ee_admin, i logged in with administrator, But i cannot create a new user as shown in the below screen.

    Dear Divayanshu,
    From the said note everything is correct.
    trace:
    trc file: "dev_server0", trc level: 1, release: "720"
    sysno      03
    sid        JDT
    systemid   562 (PC with Windows NT)
    relno      7200
    patchlevel 0
    patchno    63
    intno      20020600
    make       multithreaded, Unicode, 64 bit, optimized
    profile    \\AWQAFIDES-HQ\sapmnt\JDT\SYS\profile\JDT_J03_AWQAFIDES-HQ
    pid        3288
    *  ACTIVE TRACE LEVEL           1
    *  ACTIVE TRACE COMPONENTS      All, egi
    Wed Aug 13 10:49:04 2014
    *  trace logging activated, max size = 52428800 bytes, 2 versions
    arguments :
      arg[ 0] : E:\usr\sap\JDT\J03\exe\jstart.EXE
      arg[ 1] : -appTrc
      arg[ 2] : -nodeId=2
      arg[ 3] : pf=\\AWQAFIDES-HQ\sapmnt\JDT\SYS\profile\JDT_J03_AWQAFIDES-HQ
      arg[ 4] : -DSAPINFO=JDT_03_server0
      arg[ 5] : -hostvm
      arg[ 6] : -nodeName=ID31923250
      arg[ 7] : -file=E:\usr\sap\JDT\J03\j2ee\cluster\instance.properties
      arg[ 8] : -jvmFile=E:\usr\sap\JDT\J03\work\jstart.jvm
      arg[ 9] : -traceFile=E:\usr\sap\JDT\J03\work\dev_server0
      arg[10] : -javaOutFile=E:\usr\sap\JDT\J03\work\jvm_server0.out

    F Wed Aug 13 10:49:04 2014
    F  ********************************************************************************
    F  Java environment properties
    F    root directory    : E:\usr\sap\JDT\J03\exe\sapjvm_6
    F    vendor            : SAP AG
    F    version           : 1.6.0_17
    F    cpu               : amd64
    F    java vm type      : server
    F    java vm version   : 6.1.018
    F    jvm library name  : jvm.dll
    F    library path      : E:\usr\sap\JDT\J03\exe\sapjvm_6\jre\bin\server;E:\usr\sap\JDT\J03\exe\sapjvm_6\jre\bin
    F    executable path   : E:\usr\sap\JDT\J03\exe\sapjvm_6\bin
    F    SAP extensions    : available
    F  ********************************************************************************
    I  [Thr 464] MtxInit: 10002 0 2
    I  [Thr 464] MPI: dynamic quotas disabled.
    I  [Thr 464] MPI init: pipes=4000 buffers=1279 reserved=383 quota=10%
    M  [Thr 464] NiInit3: NI already initialized; param 'maxHandles' ignored (init=2;par=32768;cur=2048)
    M  [Thr 464] CCMS: SemInMgt: Semaphore Management initialized by AlAttachShm_Ext.
    M  [Thr 464] CCMS: SemInit: Semaphore 38 initialized by AlAttachShm_Ext.
    M  [Thr 464] CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
    M  [Thr 464] CCMS: CCMS Monitoring Initialization finished, rc=0.

    F Wed Aug 13 10:49:04 2014
    F  ********************************************************************************
    F  SAP Java VM arguments:
    F    arg[ 0] = vfprintf
    F    arg[ 1] = abort
    F    arg[ 2] = exit
    F    arg[ 3] = -XmonGcCallback
    F    arg[ 4] = -XdebugStateChangeCallback
    F    arg[ 5] = -DSAPJStartVersion=720, patch 68, changelist 1198183, NTAMD64, optU (Oct 20 2010, 01:55:49)
    F    arg[ 6] = -Xjvmx
    F    arg[ 7] = -XsapSystem:03
    F    arg[ 8] = -DSAPSTARTUP=1
    F    arg[ 9] = -DSAPSYSTEM=03
    F    arg[10] = -DSAPSYSTEMNAME=JDT
    F    arg[11] = -DSAPMYNAME=AWQAFIDES-HQ_JDT_03
    F    arg[12] = -DSAPDBHOST=AWQAFIDES-HQ
    F    arg[13] = -DSAPINFO=JDT_03_server0
    F    arg[14] = -Dj2ee.dbhost=AWQAFIDES-HQ
    F    arg[15] = -Dsun.java.launcher=jstart
    F    arg[16] = -Dsun.java.command=com.sap.engine.boot.Start 
    F    arg[17] = -Djstartup.mode=JSTART
    F    arg[18] = -Djstartup.whoami=server
    F    arg[19] = -Djstartup.ownProcessId=3288
    F    arg[20] = -Djstartup.ownHardwareId=U1400945072
    F    arg[21] = -Djstartup.debuggable=yes
    F    arg[22] = -DLoadBalanceRestricted=no
    F    arg[23] = -XdebugPortRange:50321-50321
    F    arg[24] = -Denv.class.path=
    F    arg[25] = -Dsys.global.dir=E:\usr\sap\JDT\SYS\global
    F    arg[26] = -Dapplication.home=E:\usr\sap\JDT\J03\exe
    F    arg[27] = -Djava.class.path=E:\usr\sap\JDT\J03\exe\jstart71.jar;E:\usr\sap\JDT\J03\exe\sapjvm_6\lib\jvmx.jar;E:\usr\sap\JDT\J03\exe\sapjvm_6\lib\jvmx_tools.jar;E:\usr\sap\JDT\J03\exe\jre\lib\iqlib.jar;E:\usr\sap\JDT\J03\exe\sapjvm_6\lib\tools.jar;E:\usr\sap\JDT\J03\j2ee\cluster\bin\boot\sap.com~tc~bl~jkernel_boot~impl.jar;E:\usr\sap\JDT\J03\j2ee\cluster\bin\boot\jaas.jar;E:\usr\sap\JDT\J03\j2ee\cluster\bin\system\sap.com~tc~bl~bytecode~library.jar;E:\usr\sap\JDT\J03\j2ee\cluster\bin\boot\memoryanalyzer.jar
    F    arg[28] = -Djava.library.path=E:\usr\sap\JDT\J03\exe\sapjvm_6\jre\bin\server;E:\usr\sap\JDT\J03\exe\sapjvm_6\jre\bin;E:\usr\sap\JDT\J03\j2ee\os_libs;E:\usr\sap\JDT\J03\exe\sapjvm_6\bin;E:\usr\sap\JDT\J03\exe;C:\Program Files\EMC NetWorker\nsr\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn;C:\Program Files\Microsoft SQL Server\100\Tools\Binn;C:\Program Files\Microsoft SQL Server\100\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn;E:\usr\sap\JDT\SYS\exe\uc\NTAMD64
    F    arg[29] = -XX:PermSize=1024m
    F    arg[30] = -Xmx2048m
    F    arg[31] = -XX:MaxNewSize=410m
    F    arg[32] = -XX:MaxPermSize=1024m
    F    arg[33] = -Xms2048m
    F    arg[34] = -XX:NewSize=410m
    F    arg[35] = -Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy
    F    arg[36] = -Djavax.management.builder.initial=com.sap.pj.jmx.server.interceptor.InterceptorChainBuilder
    F    arg[37] = -Djmx.invoke.getters=true
    F    arg[38] = -Djava.security.policy=./../bin/kernel/java.policy
    F    arg[39] = -Djava.security.egd=file:/dev/urandom
    F    arg[40] = -Djava.awt.headless=true
    F    arg[41] = -Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy
    F    arg[42] = -Drdbms.driverLocation=E:\usr\sap\JDT\J03\exe\mssjdbc\jdbc4\sqljdbc4.jar
    F    arg[43] = -Djava.io.tmpdir=./temp
    F    arg[44] = -Dsun.lang.ClassLoader.allowArraySyntax=true
    F    arg[45] = -Djava.protocol.handler.pkgs=com.sap.engine.httpdsrclient.protocols|iaik.protocol
    F    arg[46] = -Dnetworkaddress.cache.ttl=10
    F    arg[47] = -DSAPJVM_EXTENSION_COMMAND_HANDLER=com.sap.tools.memory.protocol.ProtocolHandler
    F    arg[48] = -Djco.jarm=1
    F    arg[49] = -Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy
    F    arg[50] = -XX:+UseConcMarkSweepGC
    F    arg[51] = -XX:TargetSurvivorRatio=90
    F    arg[52] = -verbose:gc
    F    arg[53] = -XX:+DumpDetailedClassStatisticOnOutOfMemory
    F    arg[54] = -XX:+PrintGCDetails
    F    arg[55] = -XX:MaxErrorQueueLength=200
    F    arg[56] = -XX:+PrintGCTimeStamps
    F    arg[57] = -XX:+DisableExplicitGC
    F    arg[58] = -XX:SoftRefLRUPolicyMSPerMB=1
    F    arg[59] = -XX:-StringInternTableInPermGen
    F    arg[60] = -XX:SurvivorRatio=9
    F    arg[61] = -XX:+HeapDumpOnOutOfMemoryError
    F    arg[62] = -XX:HeapDumpPath=OOM.hprof
    F    arg[63] = -XX:-TraceClassUnloading
    F    arg[64] = -Xss2097152
    F  ignore unrecognized options : no
    F  ********************************************************************************
    J  JVMX version - Sep 16 2010 15:40:24 - 61_REL - optU - windows amd64 - 6 - bas2:142976 (mixed mode)
    J  (CompilerOracle read from file E:\usr\sap\JDT\J03\exe\sapjvm_6\jre\.hotspot_compiler )

    F [Thr 4704] Wed Aug 13 10:49:05 2014
    F  [Thr 4704] *** LOG => SfCJavaVm: Java VM started.
    F  ********************************************************************************
    F  Main method call:
    F  com/sap/engine/boot/Start.main()
    F  ********************************************************************************

    J Wed Aug 13 10:49:10 2014
    J  5.858: [GC 5.858: [ParNew: 343552K->6707K(381696K), 0.0110668 secs] 343559K->6715K(2059008K), 0.0112063 secs] [Times: user=0.05 sys=0.01, real=0.01 secs]

    F [Thr 4704] Wed Aug 13 10:49:11 2014
    F  [Thr 4704] *** LOG => State changed from 0 (Initial) to 1 (Waiting to start).
    F  [Thr 4704] *** LOG    state real time: 7.229 CPU time: 0.842 sys, 4.430 usr
    F  [Thr 4704] *** LOG    total real time: 7.229 CPU time: 0.842 sys, 4.430 usr
    F  [Thr 4704]
    F  [Thr 4704] *** LOG => State changed from 1 (Waiting to start) to 2 (Starting framework).
    F  [Thr 4704] *** LOG    state real time: 0.000 CPU time: 0.000 sys, 0.000 usr
    F  [Thr 4704] *** LOG    total real time: 7.229 CPU time: 0.842 sys, 4.430 usr
    F  [Thr 4704]

    J Wed Aug 13 10:49:13 2014
    J  9.118: [GC 9.119: [ParNewJ 
    J Wed Aug 13 10:49:14 2014
    : 350259K->16694K(381696K), 0.0233455 secs] 350316K->16751K(2059008K), 0.0235734 secs] [Times: user=0.08 sys=0.00, real=0.02 secs]

    J Wed Aug 13 10:49:25 2014
    J  20.298: [GC 20.298: [ParNew: 360246K->38144K(381696K), 0.1170405 secs] 360668K->62918K(2059008K), 0.1172377 secs] [Times: user=0.39 sys=0.06, real=0.12 secs]

    J Wed Aug 13 10:49:26 2014
    J  21.932: [GC 21.932: [ParNew: 381696K->38144K(381696K), 0.1226817 secs] 407159K->90160K(2059008K), 0.1228570 secs] [Times: user=0.34 sys=0.03, real=0.12 secs]

    J Wed Aug 13 10:49:28 2014
    J  23.292: [GC 23.292: [ParNew: 381696K->38144K(381696K), 0.1285038 secs] 434349K->120556K(2059008K), 0.1286495 secs] [Times: user=0.39 sys=0.05, real=0.13 secs]

    J Wed Aug 13 10:49:36 2014
    J  31.762: [GC 31.762: [ParNew: 381696K->38144K(381696K), 0.1689539 secs] 464356K->161386K(2059008K), 0.1691127 secs] [Times: user=0.42 sys=0.00, real=0.17 secs]

    J Wed Aug 13 10:49:40 2014
    J  35.868: [GC 35.868: [ParNew: 381696K->38144K(381696K), 0.1632272 secs] 508528K->205662K(2059008K), 0.1634124 secs] [Times: user=0.53 sys=0.01, real=0.16 secs]

    M [Thr 3484] Wed Aug 13 10:49:42 2014
    M  [Thr 3484] CCMS: openMonitoringSegment(): inside static JMON Lib: already connected.

    J Wed Aug 13 10:49:42 2014
    J  37.824: [GC 37.824: [ParNew: 381696K->38144K(381696K), 0.1195535 secs] 556408K->240492K(2059008K), 0.1197142 secs] [Times: user=0.34 sys=0.02, real=0.12 secs]

    J Wed Aug 13 10:49:44 2014
    J  39.791: [GC 39.791: [ParNew: 381696K->38144K(381696K), 0.1104638 secs] 584213K->264018K(2059008K), 0.1106449 secs] [Times: user=0.30 sys=0.05, real=0.11 secs]

    J Wed Aug 13 10:49:46 2014
    J  41.241: [GC 41.241: [ParNew: 381696K->38144K(381696K), 0.0858888 secs] 607728K->279353K(2059008K), 0.0860546 secs] [Times: user=0.22 sys=0.00, real=0.09 secs]

    J Wed Aug 13 10:49:47 2014
    J  42.977: [GC 42.977: [ParNewJ 
    J Wed Aug 13 10:49:48 2014
    : 381696K->38144K(381696K), 0.0981324 secs] 622984K->301177K(2059008K), 0.0982954 secs] [Times: user=0.25 sys=0.05, real=0.10 secs]

    J Wed Aug 13 10:49:51 2014
    J  46.854: [GC 46.854: [ParNewJ 
    J Wed Aug 13 10:49:52 2014
    : 381696K->38144K(381696K), 0.1648782 secs] 644786K->339134K(2059008K), 0.1650896 secs] [Times: user=0.42 sys=0.03, real=0.17 secs]

    J Wed Aug 13 10:49:55 2014
    J  50.798: [GC 50.798: [ParNew: 381696K->38144K(381696K), 0.0997711 secs] 682851K->358369K(2059008K), 0.0999877 secs] [Times: user=0.33 sys=0.00, real=0.10 secs]

    F [Thr 4704] Wed Aug 13 10:49:57 2014
    F  [Thr 4704] *** LOG => State changed from 2 (Starting framework) to 10 (Starting apps).
    F  [Thr 4704] *** LOG    state real time: 46.538 CPU time: 6.302 sys, 79.810 usr
    F  [Thr 4704] *** LOG    total real time: 53.768 CPU time: 7.144 sys, 84.240 usr
    F  [Thr 4704]

    J Wed Aug 13 10:49:58 2014
    J  53.859: [GC 53.859: [ParNew: 381675K->27304K(381696K), 0.0820436 secs] 702190K->368321K(2059008K), 0.0822255 secs] [Times: user=0.22 sys=0.03, real=0.08 secs]

    J Wed Aug 13 10:49:59 2014
    J  54.593: [GC 54.593: [ParNew: 370796K->30046K(381696K), 0.0356657 secs] 711861K->371111K(2059008K), 0.0358375 secs] [Times: user=0.14 sys=0.00, real=0.04 secs]

    J Wed Aug 13 10:50:00 2014
    J  55.192: [GC 55.193: [ParNew: 373594K->30730K(381696K), 0.0258616 secs] 714658K->371794K(2059008K), 0.0260706 secs] [Times: user=0.08 sys=0.00, real=0.03 secs]
    J  55.823: [GC 55.823: [ParNew: 374272K->33802K(381696K), 0.0299796 secs] 715337K->374867K(2059008K), 0.0301532 secs] [Times: user=0.11 sys=0.00, real=0.03 secs]

    J Wed Aug 13 10:50:01 2014
    J  56.442: [GC 56.442: [ParNew: 377335K->38144K(381696K), 0.0404834 secs] 718399K->384198K(2059008K), 0.0406513 secs] [Times: user=0.14 sys=0.00, real=0.04 secs]
    J  56.760: [GC 56.760: [ParNew: 381679K->31747K(381696K), 0.0536330 secs] 727734K->393582K(2059008K), 0.0538047 secs] [Times: user=0.19 sys=0.02, real=0.05 secs]
    J  56.960: [GC 56.960: [ParNewJ 
    J Wed Aug 13 10:50:02 2014
    : 375299K->32769K(381696K), 0.0215789 secs] 737134K->394604K(2059008K), 0.0217479 secs] [Times: user=0.08 sys=0.00, real=0.02 secs]
    J  57.116: [GC 57.116: [ParNew: 376282K->35165K(381696K), 0.0226774 secs] 738117K->397000K(2059008K), 0.0228445 secs] [Times: user=0.12 sys=0.00, real=0.02 secs]
    J  57.298: [GC 57.298: [ParNew: 378667K->25542K(381696K), 0.0176353 secs] 740502K->387377K(2059008K), 0.0178030 secs] [Times: user=0.06 sys=0.00, real=0.02 secs]
    J  57.952: [GC 57.952: [ParNewJ 
    J Wed Aug 13 10:50:03 2014
    : 369055K->25609K(381696K), 0.0200687 secs] 730890K->387444K(2059008K), 0.0202358 secs] [Times: user=0.06 sys=0.00, real=0.02 secs]
    J  58.556: [GC 58.556: [ParNew: 369161K->29706K(381696K), 0.0219467 secs] 731184K->391729K(2059008K), 0.0221159 secs] [Times: user=0.13 sys=0.00, real=0.02 secs]

    J Wed Aug 13 10:50:04 2014
    J  59.099: [GC 59.099: [ParNew: 373258K->33868K(381696K), 0.0272136 secs] 735369K->395979K(2059008K), 0.0273974 secs] [Times: user=0.13 sys=0.00, real=0.03 secs]
    J  59.680: [GC 59.680: [ParNew: 377420K->34825K(381696K), 0.0259786 secs] 739531K->396936K(2059008K), 0.0261687 secs] [Times: user=0.06 sys=0.02, real=0.03 secs]

    J Wed Aug 13 10:50:05 2014
    J  60.374: [GC 60.374: [ParNew: 378375K->36874K(381696K), 0.0302984 secs] 740486K->398985K(2059008K), 0.0304678 secs] [Times: user=0.13 sys=0.00, real=0.03 secs]

    J Wed Aug 13 10:50:06 2014
    J  60.967: [GC 60.967: [ParNew: 380426K->35850K(381696K), 0.0365359 secs] 742537K->402617K(2059008K), 0.0367110 secs] [Times: user=0.12 sys=0.00, real=0.04 secs]
    J  61.538: [GC 61.539: [ParNew: 379371K->36873K(381696K), 0.0278477 secs] 746137K->403639K(2059008K), 0.0280496 secs] [Times: user=0.06 sys=0.00, real=0.03 secs]

    J Wed Aug 13 10:50:07 2014
    J  62.134: [GC 62.134: [ParNew: 380425K->35849K(381696K), 0.0351756 secs] 747191K->405862K(2059008K), 0.0353448 secs] [Times: user=0.13 sys=0.00, real=0.04 secs]
    J  62.838: [GC 62.838: [ParNew: 379401K->36010K(381696K), 0.0308404 secs] 749414K->407507K(2059008K), 0.0310537 secs] [Times: user=0.13 sys=0.00, real=0.03 secs]

    F [Thr 2264] Wed Aug 13 10:50:09 2014
    F  [Thr 2264] *** WARNING => ShmComponent_findAlias: Cannot find alias for URL '/' (rc = 4 object not found). [sfxxjshm.c   2141]

    J Wed Aug 13 10:50:09 2014
    J  64.756: [GC 64.756: [ParNew: 379562K->38144K(381696K), 0.0320298 secs] 751059K->411260K(2059008K), 0.0322031 secs] [Times: user=0.13 sys=0.00, real=0.03 secs]

    J Wed Aug 13 10:50:10 2014
    J  65.094: [GC 65.094: [ParNew: 381696K->35840K(381696K), 0.0322410 secs] 754812K->411975K(2059008K), 0.0324455 secs] [Times: user=0.13 sys=0.00, real=0.03 secs]
    J  65.421: [GC 65.422: [ParNew: 379392K->35840K(381696K), 0.0288936 secs] 755527K->411975K(2059008K), 0.0290622 secs] [Times: user=0.06 sys=0.00, real=0.03 secs]

    J Wed Aug 13 10:50:13 2014
    J  68.078: [GC 68.078: [ParNew: 379392K->38144K(381696K), 0.0665893 secs] 755617K->425283K(2059008K), 0.0667646 secs] [Times: user=0.20 sys=0.03, real=0.07 secs]

    J Wed Aug 13 10:50:16 2014
    J  71.438: [GC 71.438: [ParNew: 381696K->38144K(381696K), 0.0932214 secs] 769080K->449195K(2059008K), 0.0933975 secs] [Times: user=0.30 sys=0.00, real=0.09 secs]

    J Wed Aug 13 10:50:19 2014
    J  74.760: [GC 74.760: [ParNew: 380892K->38144K(381696K), 0.1215723 secs] 792334K->477546K(2059008K), 0.1217688 secs] [Times: user=0.36 sys=0.05, real=0.12 secs]

    J Wed Aug 13 10:50:22 2014
    J  77.119: [GC 77.119: [ParNew: 381696K->38144K(381696K), 0.1395760 secs] 822442K->510048K(2059008K), 0.1397643 secs] [Times: user=0.44 sys=0.02, real=0.14 secs]

    J Wed Aug 13 10:50:26 2014
    J  81.788: [GC 81.788: [ParNewJ 
    J Wed Aug 13 10:50:27 2014
    : 381696K->38144K(381696K), 0.0973212 secs] 854255K->529177K(2059008K), 0.0975087 secs] [Times: user=0.30 sys=0.03, real=0.10 secs]

    J Wed Aug 13 10:50:30 2014
    J  85.066: [GC 85.066: [ParNew: 381696K->38144K(381696K), 0.1079331 secs] 872880K->554405K(2059008K), 0.1081130 secs] [Times: user=0.33 sys=0.02, real=0.11 secs]

    J Wed Aug 13 10:50:32 2014
    J  87.365: [GC 87.365: [ParNew: 381696K->38144K(381696K), 0.1150576 secs] 898125K->576973K(2059008K), 0.1152570 secs] [Times: user=0.36 sys=0.01, real=0.12 secs]

    J Wed Aug 13 10:50:38 2014
    J  92.979: [GC 92.979: [ParNew: 381696K->38144K(381696K), 0.1163222 secs] 922696K->601135K(2059008K), 0.1165078 secs] [Times: user=0.39 sys=0.00, real=0.12 secs]

    J Wed Aug 13 10:50:40 2014
    J  95.237: [GC 95.237: [ParNew: 381512K->38144K(381696K), 0.1529282 secs] 944763K->653296K(2059008K), 0.1531081 secs] [Times: user=0.42 sys=0.03, real=0.15 secs]

    J Wed Aug 13 10:50:42 2014
    J  97.178: [GC 97.178: [ParNew: 381687K->38144K(381696K), 0.0974450 secs] 997172K->766960K(2059008K), 0.0976405 secs] [Times: user=0.30 sys=0.08, real=0.10 secs]

    J Wed Aug 13 10:50:43 2014
    J  98.313: [GC 98.313: [ParNew: 381676K->38144K(381696K), 0.0732400 secs] 1110604K->846500K(2059008K), 0.0734242 secs] [Times: user=0.17 sys=0.09, real=0.07 secs]

    J Wed Aug 13 10:50:44 2014
    J  99.587: [GC 99.588: [ParNew: 381696K->38144K(381696K), 0.0753849 secs] 1190093K->908044K(2059008K), 0.0755849 secs] [Times: user=0.16 sys=0.11, real=0.08 secs]
    J  99.671: [GC [1 CMS-initial-mark: 869900K(1677312K)] 909812K(2059008K), 0.0247344 secs] [Times: user=0.03 sys=0.00, real=0.02 secs]

    J Wed Aug 13 10:50:44 2014
    J  99.697: [CMS-concurrent-mark-start]

    J Wed Aug 13 10:50:46 2014
    J  100.908: [GC 100.908: [ParNew: 381696K->38144K(381696K), 0.0917262 secs] 1251676K->998042K(2059008K), 0.0919131 secs] [Times: user=0.23 sys=0.09, real=0.09 secs]

    J Wed Aug 13 10:50:47 2014
    J  102.126: [GC 102.126: [ParNew: 381696K->38144K(381696K), 0.1243224 secs] 1341775K->1085661K(2059008K), 0.1245167 secs] [Times: user=0.20 sys=0.25, real=0.13 secs]

    J Wed Aug 13 10:50:47 2014
    J  102.292: [CMS-concurrent-mark: 1.963/2.595 secs] [Times: user=7.71 sys=2.03, real=2.60 secs]
    J  102.292: [CMS-concurrent-preclean-start]
    J  102.488: [CMS-concurrent-preclean: 0.148/0.195 secs] [Times: user=0.61 sys=0.13, real=0.20 secs]
    J  102.488: [CMS-concurrent-abortable-preclean-start]

    J Wed Aug 13 10:50:48 2014
    J  103.579: [CMS-concurrent-abortable-preclean: 0.771/1.091 secs] [Times: user=3.12 sys=0.62, real=1.10 secs]

    J Wed Aug 13 10:50:48 2014
    J  103.582: [GC[YG occupancy: 237047 K (381696 K)]103.583: [Rescan (parallel) , 0.0362884 secs]103.620: [weak refs processing, 0.0384832 secs]103.658: [class unloading, 0.0505195 secs]103.709: [scrub symbol & string tables, 0.0776361 secs]J 
    J Wed Aug 13 10:50:49 2014
    [1 CMS-remark: 1047892K(1677312K)] 1284939K(2059008K), 0.2482807 secs] [Times: user=0.34 sys=0.00, real=0.25 secs]

    J Wed Aug 13 10:50:49 2014
    J  103.830: [CMS-concurrent-sweep-start]
    J  104.714: [CMS-concurrent-sweep: 0.768/0.884 secs] [Times: user=2.73 sys=0.47, real=0.89 secs]
    J  104.715: [CMS-concurrent-reset-start]
    J  104.728: [CMS-concurrent-reset: 0.014/0.014 secs] [Times: user=0.05 sys=0.00, real=0.01 secs]

    J Wed Aug 13 10:50:50 2014
    J  104.828: [GC 104.828: [ParNew: 381696K->38144K(381696K), 0.0671613 secs] 1236693K->918437K(2059008K), 0.0673483 secs] [Times: user=0.19 sys=0.02, real=0.07 secs]

    J Wed Aug 13 10:50:52 2014
    J  107.545: [GC 107.545: [ParNew: 381661K->38144K(381696K), 0.2107511 secs] 1262005K->1077781K(2059008K), 0.2109489 secs] [Times: user=0.39 sys=0.28, real=0.21 secs]

    J Wed Aug 13 10:50:57 2014
    J  112.296: [GC 112.296: [ParNew: 381680K->38144K(381696K), 0.2150438 secs] 1421318K->1251267K(2059008K), 0.2152338 secs] [Times: user=0.25 sys=0.42, real=0.22 secs]

    J Wed Aug 13 10:51:02 2014
    J  117.461: [GC 117.461: [ParNew: 381583K->4140K(381696K), 0.0469289 secs] 1594706K->1254559K(2059008K), 0.0471146 secs] [Times: user=0.11 sys=0.05, real=0.05 secs]

    J Wed Aug 13 10:51:15 2014
    J  130.205: [GC 130.205: [ParNew: 347692K->38144K(381696K), 0.0584412 secs] 1598245K->1290061K(2059008K), 0.0586428 secs] [Times: user=0.22 sys=0.00, real=0.06 secs]

    J Wed Aug 13 10:51:24 2014
    J  139.253: [GC 139.253: [ParNew: 381696K->38144K(381696K), 0.2258658 secs] 1633613K->1373856K(2059008K), 0.2260866 secs] [Times: user=0.61 sys=0.02, real=0.23 secs]

    J Wed Aug 13 10:51:30 2014
    J  145.501: [GC 145.501: [ParNew: 381696K->38144K(381696K), 0.1258713 secs] 1718123K->1422493K(2059008K), 0.1261312 secs] [Times: user=0.39 sys=0.02, real=0.13 secs]
    J  145.636: [GCJ 
    J Wed Aug 13 10:51:31 2014
    [1 CMS-initial-mark: 1384349K(1677312K)] 1427189K(2059008K), 0.0535896 secs] [Times: user=0.06 sys=0.00, real=0.05 secs]

    J Wed Aug 13 10:51:31 2014
    J  145.690: [CMS-concurrent-mark-start]

    J Wed Aug 13 10:51:32 2014
    J  147.302: [CMS-concurrent-mark: 1.569/1.612 secs] [Times: user=2.70 sys=0.28, real=1.62 secs]
    J  147.303: [CMS-concurrent-preclean-start]
    J  147.330: [CMS-concurrent-preclean: 0.024/0.028 secs] [Times: user=0.05 sys=0.00, real=0.03 secs]
    J  147.330: [CMS-concurrent-abortable-preclean-start]

    F [Thr 2264] Wed Aug 13 10:51:36 2014
    F  [Thr 2264] *** LOG => State changed from 10 (Starting apps) to 3 (Running).
    F  [Thr 2264] *** LOG    state real time: 98.580 CPU time: 20.670 sys, 143.988 usr
    F  [Thr 2264] *** LOG    total real time: 152.349 CPU time: 27.814 sys, 228.229 usr
    F  [Thr 2264]

    J Wed Aug 13 10:51:37 2014
    J   CMS: abort preclean due to time 152.391: [CMS-concurrent-abortable-preclean: 2.924/5.060 secs] [Times: user=4.04 sys=0.58, real=5.08 secs]

    J Wed Aug 13 10:51:37 2014
    J  152.400: [GC[YG occupancy: 246680 K (381696 K)]152.400: [Rescan (parallel) , 0.1940158 secs]152.594: [weak refs processing, 0.0143033 secs]152.609: [class unloadingJ 
    J Wed Aug 13 10:51:38 2014
    , 0.0556606 secs]152.665: [scrub symbol & string tables, 0.0852505 secs] [1 CMS-remark: 1385469K(1677312K)] 1632149K(2059008K), 0.3894964 secs] [Times: user=0.42 sys=0.00, real=0.39 secs]

    J Wed Aug 13 10:51:38 2014
    J  152.790: [CMS-concurrent-sweep-start]
    J  153.421: [CMS-concurrent-sweep: 0.631/0.631 secs] [Times: user=0.83 sys=0.00, real=0.63 secs]
    J  153.421: [CMS-concurrent-reset-start]
    J  153.435: [CMS-concurrent-reset: 0.014/0.014 secs] [Times: user=0.00 sys=0.00, real=0.01 secs]

  • Please help; unable to create JVM error

    I tried to install oracle8i enterprise edition 8.1.7 to RHEL4, the problem is the following error is seen.
    "unable to initialize threads:cannot find class java/lang/thread
    could not create JVM"
    Does anyone have any ideas how to solve this problem?
    Thanks in advance.

    Oracle has its own version of java which it places in front of a version you have installed.
    Make sure your version of java is first in your path.

  • Cannot create your bootable usb stick

    Hi all,
    I'm new to bootcamp and I have the following problem:
    When I'm creating a Windows 7 usb drive, it gives me an error "Cannot create your bootable usb stick there was a problem copying files".
    I've tried searching google for the problem, but the only possible solutions I've got was to unmount the iso image and try again, but when I do that I still get the same error and when I check the disk utility I find the iso image is mounted again.
    Does anyone haven an idea about what to do.
    Specs:
    OS X Yosemite 10.10.2
    MacBook Pro Retina 13-inch Mid 2014
    2,6Ghz Core i%
    8 GB 1600 MHz ddr3
    Thanks in advance!

    Please see the Microsoft reference and the second link has an example.
    https://support.microsoft.com/en-us/kb/841290?wa=wsignin1.0
    Bootcamp Windows 8.1 "No Images Are Available"

  • Cannot create recovery disk after update to Win 8.1 on G580

    Friends
    I have a Lenovo G580 that came with Win 8.0 preinstalled. I upgraded it to Win 8.1 over the Internet.
    When I try to run the "Create recovery disk" I get the error that states that "We cannot create a recovery drive for this PC. Some required files are missing..."
    I found out that the winre.wim file that is supposed to be in the C:\Windows\System32\Recovery folder is not there. I cannot locate it anywhere on the C or D drives either. I believe there is a copy on one or more of the recovery partitions but I do not know how to get that file from those partitons.
    I am confused as to why there are seven partitions on that one drive:
    1 Recovery partition 1000 MB
    2 EFI system partition 260 MB
    3 OEM partition 1000 MB
    4. Recovery partition 350 MB
    5. Recovery partition 20 GB
    6. Lenovo D: 25 GB
    7. Windows 8 C: 250 GB
    Can someone help me and give me some instructions on how I can fix the system to find the winre.wim file?
    Thanks for any good input.
    Calle

    Hi Calle,
    Welcome to Lenovo Community Forums!
    I’m sorry to hear that the error message is displayed in your G580 Laptop, as the OS (Operating System) installed is Windows 8.1 or Windows 8. Recovery discs cannot be created only a “Recovery Media” can be created using USB Flash drive, below is the link to create USB recovery drive.
    Create a USB Recovery Drive
    Do post us back if the issue persists.
    Best Regards
    Shiva Kumar
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • I just installed Lightroom CC. When I try to open it, I get an error message: "An internal error has occurred.  Cannot create the required folder: ..."

    I just installed Lightroom CC. When I try to open it, I get an error message: "An internal error has occurred.  Cannot create the required folder: ..."

    Cannot create the required folder

  • Database Connection Error Cannot create PoolableConnectionFactory

    Hello everyone,
    Background:
    I have a newly installed and configured Ubuntu server running Tomcat5.5 and Mysql 5.0. This server was created in an attempt to migrate from a Red Hat server in a similar configuration, running the exact same webapp. Most of the configuration/classpath differences between the two platforms have been ironed out.
    The Problem:
    When our webapp trys to connect to the database on localhost, an exception 'java.security.AccessControlException: access denied (java.net.SocketPermission localhost resolve)' is generated.
    The server.xml configuration is below:
    <Resource name="jdbc/EconDollarsDB"
    auth="Container"
    type="javax.sql.DataSource"
    username="user"
    password="pass"
    driverClassName="com.mysql.jdbc.Driver"
    url="jdbc:mysql://localhost:3306/DBName?autoReconnect=true"
    maxActive="20" maxIdle="5"
    />I can connect to the database just fine using the command line client and the same username/password combo. This configuration has been working fine for at least a year on the older server. The only similar problems I have found on the net (meaning the same exception is generated) involve applets and attempts to connect to different hosts. This case involves a webapp, connecting to localhost, using a configuration that is known to work! I am simply baffled.
    The following stacktrace is generated:
    javax.servlet.ServletException: Database Connection Error
    Cannot create PoolableConnectionFactory (Server connection failure during transaction. Due to underlying exception: 'java.security.AccessControlException: access denied (java.net.SocketPermission localhost resolve)'.
    ** BEGIN NESTED EXCEPTION **
    java.security.AccessControlException
    MESSAGE: access denied (java.net.SocketPermission localhost resolve)
    STACKTRACE:
    java.security.AccessControlException: access denied (java.net.SocketPermission localhost resolve)
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
         at java.security.AccessController.checkPermission(AccessController.java:427)
         at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
         at java.lang.SecurityManager.checkConnect(SecurityManager.java:1031)
         at java.net.InetAddress.getAllByName0(InetAddress.java:1117)
         at java.net.InetAddress.getAllByName0(InetAddress.java:1098)
         at java.net.InetAddress.getAllByName(InetAddress.java:1061)
         at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:137)
         at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:276)
         at com.mysql.jdbc.Connection.createNewIO(Connection.java:2769)
         at com.mysql.jdbc.Connection.<init>(Connection.java:1531)
         at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
         at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:37)
         at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)
         at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:877)
         at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:851)
         at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
         at edu.tamu.erl.database.dblibrary.plugin.TomcatConnectionFactory.getConnection(TomcatConnectionFactory.java:102)
         at edu.tamu.erl.database.dblibrary.DBManager.getConnection(DBManager.java:70)
         at edu.tamu.erl.database.dblibrary.DBManager.getDBDataAccessObjectList(DBManager.java:318)
         at edu.tamu.erl.econdollars.middletire.SessionManager.getSessionStatus(SessionManager.java:157)
         at edu.tamu.erl.econdollars.middletire.SessionManager.retallyDB(SessionManager.java:637)
         at org.apache.jsp.admin.login_jsp._jspService(login_jsp.java:88)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         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:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245)
         at org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilterChain.java:50)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)
    ** END NESTED EXCEPTION **
    Attempted reconnect 3 times. Giving up.)
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:846)
         org.apache.jasper.runtime.PageContextImpl.access$11(PageContextImpl.java:65)
         org.apache.jasper.runtime.PageContextImpl$12.run(PageContextImpl.java:766)
         java.security.AccessController.doPrivileged(Native Method)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:764)
         org.apache.jsp.admin.login_jsp._jspService(login_jsp.java:242)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:585)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
    edu.tamu.erl.database.dblibrary.DBLibraryBaseException: Database Connection Error
    Cannot create PoolableConnectionFactory (Server connection failure during transaction. Due to underlying exception: 'java.security.AccessControlException: access denied (java.net.SocketPermission localhost resolve)'.
    ** BEGIN NESTED EXCEPTION **
    java.security.AccessControlException
    MESSAGE: access denied (java.net.SocketPermission localhost resolve)
    STACKTRACE:
    java.security.AccessControlException: access denied (java.net.SocketPermission localhost resolve)
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
         at java.security.AccessController.checkPermission(AccessController.java:427)
         at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
         at java.lang.SecurityManager.checkConnect(SecurityManager.java:1031)
         at java.net.InetAddress.getAllByName0(InetAddress.java:1117)
         at java.net.InetAddress.getAllByName0(InetAddress.java:1098)
         at java.net.InetAddress.getAllByName(InetAddress.java:1061)
         at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:137)
         at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:276)
         at com.mysql.jdbc.Connection.createNewIO(Connection.java:2769)
         at com.mysql.jdbc.Connection.<init>(Connection.java:1531)
         at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
         at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:37)
         at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)
         at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:877)
         at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:851)
         at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
         at edu.tamu.erl.database.dblibrary.plugin.TomcatConnectionFactory.getConnection(TomcatConnectionFactory.java:102)
         at edu.tamu.erl.database.dblibrary.DBManager.getConnection(DBManager.java:70)
         at edu.tamu.erl.database.dblibrary.DBManager.getDBDataAccessObjectList(DBManager.java:318)
         at edu.tamu.erl.econdollars.middletire.SessionManager.getSessionStatus(SessionManager.java:157)
         at edu.tamu.erl.econdollars.middletire.SessionManager.retallyDB(SessionManager.java:637)
         at org.apache.jsp.admin.login_jsp._jspService(login_jsp.java:88)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         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:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245)
         at org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilterChain.java:50)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)
    ** END NESTED EXCEPTION **
    Attempted reconnect 3 times. Giving up.)
         edu.tamu.erl.database.dblibrary.plugin.TomcatConnectionFactory.getConnection(TomcatConnectionFactory.java:105)
         edu.tamu.erl.database.dblibrary.DBManager.getConnection(DBManager.java:70)
         edu.tamu.erl.database.dblibrary.DBManager.getDBDataAccessObjectList(DBManager.java:318)
         edu.tamu.erl.econdollars.middletire.SessionManager.getSessionStatus(SessionManager.java:157)
         edu.tamu.erl.econdollars.middletire.SessionManager.retallyDB(SessionManager.java:637)
         org.apache.jsp.admin.login_jsp._jspService(login_jsp.java:88)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:585)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)Any help would be greatly appreciated.

    Hi,
    Its clearly saying the connect permission is missing with the current available policy.
    you add the following permisson entry to the <installed JRE>\lib\security\java.policy file.
    (e.g) C:\Program Files\Java\j2re1.4.2_08\lib\security\java.policy
    permission java.security.AllPermission;
    grant{
    permission java.security.AllPermission;
    If the application is running standalone then the code is allowed uncontrolled access but for webapplicatons running through browser, the security check is performed for the configured JRE.
    Regards
    Karthik
    <[email protected]>

  • I cannot create a catalog because everywhere I try on my computer, it comes up with cannot Lightroom cannot create a catalog on network volumes.  And is there any way to contact Adobe directly?  Would you be able to give me a phone number and/or email add

    I cannot create a catalog because everywhere I try on my computer, it comes up with cannot Lightroom cannot create a catalog on network volumes.  And is there any way to contact Adobe directly?  Would you be able to give me a phone number and/or email address?@@

    The short and direct answer to your question about catalogs on a network drive is that you can't do that. The catalog must reside on a local drive.
    Here is a link to a list of telephone numbers. Choose one that is appropriate:
    Adobe Connect Support phone numbers

  • Ical cannot create event in month view

    iCal cannot create event in month view. Is this a bug?
    I've tried double clicking in a day as I always did but nothing.

    Ko be,
    Application UI issues are in many cases, caused by a corrupt plist file.
    Quit iCal, and try removing the com.apple.iCal.plist file from your Macintosh HD/Users/yourusername/Library/Preferences Folder. Since that Library is now hidden, you have to use the Finder>Go Menu>Depress the "Option" key>Library. Drag the .plist file to your desktop, and log out/in or restart and check iCal for functionality.
    Also read Apple iCal 5 Office Software Review | Macworld for a description of Lion iCal.

  • Cannot create mysites from powershell: Original XSLT List View Web Part not found

    I have a bizarre problem in my SharePoint 2013 farm. This does not occur in my test farm, only in the farm we were going to go live with.
    I'm on windows Server 2012, SQLServer 2012 SP1, SharePoint 2013 April CU. 1 appserver/centraladmin server, 2 web servers.
    When I log into our mysitehost and click newsfeed, it will create a mysite (even though first it displays "we are sorry there was a problem creating your site")
    But from powershell, whether I use $UserProfile.CreatePersonalSite() or New-SPSite, I get the following error:
    Original XSLT List View Web Part not found
    So far I've only found one other person with this:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/2503e42c-e114-4e89-8e00-89fe70f0b154/cannot-create-sharepoint-mysite-programmatically
    This is a brand new farm, created with the same scripts I created my test farm with, and same version of SharePoint. Only the service accounts are different. (Farm account has admin on the servers right now since I was setting up profile service).
    Some other errors from the same correlation ID that look related:
    It can't seem to find the listemplate 101
    And something looks wrong with the MySiteDocumentLibrary feature
    I have tried the following:
    1. run psconfig.exe on each server
    2. install-spfeature -AllExistingFeatures
    3. looped through the directory under Features and for each called Install-SPFeature $dirname -Force
    4. uninstalled and reinstalled MySiteDocumentLibrary feature
    5. blew away the whole farm (removed all servers from farm, deleted all databases) and recreated it.
    6. tried creating the UPA from the CentralAdmin gui.
    The only real difference I can think of between the working farm and non working farm is, I installed the working farm using RTM, then as they came out added the March PU and April CU. For this farm I installed RTM and March and April, and then ran my build
    farm script.
    I am at a loss. What do I need to do, re-install the binaries? That's all I can think of. What I love is that our test / POC system worked fine, and now 2 weeks before go-live I'm seeing errors on the production servers I've never seen before. Using the
    same scripts no less.
    Feature Activation: Feature 'Fields' (ID: 'ca7bd552-10b1-4563-85b9-5ed1d39c962a') was activated
    Feature Activation: Feature 'CTypes' (ID: '695b6570-a48b-4a8e-8ea5-26ea7fc1d162') was activated
    No document templates uploaded for list "$Resources:core,global_onet_solutiongallery_list;" -- none found for list template "100"
    Failed to find <ListTemplate> tag corresponding to ID "101", tried both onet.xml for site definition ID "0" language "1033" and global site definition. Operation failed.
    No document templates uploaded for list "$Resources:core,stylelibraryList;" -- none found for list template "121".
    System.Runtime.InteropServices.COMException: A user may not remove his or her own account from a site collection.<nativehr>0x81020051</nativehr><nativestack></nativestack>, StackTrace: at Microsoft.SharePoint.SPUserCollection.UpdateMembers
    Feature Activation: Feature 'MySitePersonalSite' (ID: 'f661430e-c155-438e-a7c6-c68648f1b119') was activated
    Feature Activation: Activating Feature 'MySiteDocumentLibrary'
    Calling 'FeatureActivated' method of SPFeatureReceiver for Feature 'MySiteDocumentLibrary'
    SharePoint Foundation Upgrade MySiteDocumentLibraryFeatureReceiveraj08n INFO Creating new My Documents library
    Unknown SPRequest error occurred. More information: 0x80070002
    SPRequest.GetMetadataForUrl: UserPrincipalName=, AppPrincipalName= ,bstrUrl=http://contoso/personal/cbuchholz/DOCUMENTS ,METADATAFLAGS=59
    System.IO.FileNotFoundException: <nativehr>0x80070002</nativehr><nativestack></nativestack>, StackTrace: at Microsoft.SharePoint.SPWeb.GetObjectForUrl at Microsoft.SharePoint.Portal.UserProfiles.MySiteDocumentLibraryUtil.GetSPObjectFromUrl ...
    <nativehr>0x80070002</nativehr><nativestack></nativestack>There is no Web named "/personal/cbuchholz/DOCUMENTS"
    Possible mismatch between the reported error with code = 0x81070504 and message: "There is no Web named "/personal/cbuchholz/DOCUMENTS"." and the returned error with code 0x80070002.
    Attemping to add webpart id 0F6072F2-E804-4CFD-837E-BB37332B9D1C to web http://contoso/personal/cbuchholz
    Adding XsltListViewWebPart calling SPRequest::CreateListViewPart. Web part id 0F6072F2-E804-4CFD-837E-BB37332B9D1C, web http://contoso/personal/cbuchholz
    Feature receiver assembly 'Microsoft.SharePoint.Portal, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c', class 'Microsoft.SharePoint.Portal.UserProfiles.MySiteDocumentLibraryFeatureReceiver', method 'FeatureActivated' for feature 'e9c0ff81-d821-4771-8b4c-246aa7e5e9eb' threw an exception: System.InvalidOperationException: Original XSLT List View Web Part not found at Microsoft.SharePoint.Portal.UserProfiles.MySiteDocumentLibraryUtil.ReplaceListViewWebPart
    Feature Activation: Threw an exception, attempting to roll back. Feature 'MySiteDocumentLibrary'
    Exception in EnsureFeaturesActivatedAtSite: System.InvalidOperationException: Original XSLT List View Web Part not found
    Failed to activate site-collection-scoped features for template 'SPSPERS#2' in site collection 'http://contoso/personal/cbuchholz'
    Failed to apply template "SPSPERS#2" to web at URL "http://contoso/personal/cbuchholz
    I've had other problems in this farm: the bug where when you add Administrators to a Search Service via the Manage Service Applications page, it removes the SPSearchDBAdmin role from the search service process account. That one did not happen in the other farm.
    At least other people have that one and I could just use the farm admin instead (still troublng of course).

    Ok,
    Here is the problem:
    When creating a mysite from powershell or script, apparently you can ONLY do this from a wfe (or a server running Microsoft SharePoint Foundation Web Application in services on server).
    You CANNOT create mysites from script on your appserver if it is not also a Web Application Server. I confirmed the same is true in my test farm. I guess I was always running most of these scripts on the webserver.
    I searched all over and cannot find this documented anywhere.
    Who do I contact to have Microsoft document this?
    It's Thursday morning, I've been working non stop since Saturday morning so you don't have to :)

  • PowerView error -Cannot create a connection to data source 'TemporaryDataSource'.

    Hello and thanks for the time.
    I am getting the following error when trying to create a powerview report.  I don't get where is this TemporaryDataSource is and how do I check the permissions on it?  that is what this error is pointing to, no?  I tried re-installing the
    SQL reporting add-in and no go there.  SQL Browser services are running.  I can see the file in Excel just can't create a powerview report.  any and all help is appreciated.  thanks.
    <detail><ErrorCode xmlns="http://www.microsoft.com/sql/reportingservices">rsCannotRetrieveModel</ErrorCode><HttpStatus xmlns="http://www.microsoft.com/sql/reportingservices">400</HttpStatus><Message xmlns="http://www.microsoft.com/sql/reportingservices">An
    error occurred while loading the model for the item or data source 'https://teamsite.domain.com/POWERPIVOT/PowerPivot%20Gallery/Test.xlsx'. Verify that the connection information is correct and that you have permissions to access the data source.</Message><HelpLink
    xmlns="http://www.microsoft.com/sql/reportingservices">http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsCannotRetrieveModel&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=11.0.3128.0</HelpLink><ProductName
    xmlns="http://www.microsoft.com/sql/reportingservices">Microsoft SQL Server Reporting Services</ProductName><ProductVersion xmlns="http://www.microsoft.com/sql/reportingservices">11.0.3128.0</ProductVersion><ProductLocaleId
    xmlns="http://www.microsoft.com/sql/reportingservices">127</ProductLocaleId><OperatingSystem xmlns="http://www.microsoft.com/sql/reportingservices">OsIndependent</OperatingSystem><CountryLocaleId xmlns="http://www.microsoft.com/sql/reportingservices">1033</CountryLocaleId><MoreInformation
    xmlns="http://www.microsoft.com/sql/reportingservices"><Source>ReportingServicesLibrary</Source><Message msrs:ErrorCode="rsCannotRetrieveModel" msrs:HelpLink="http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsCannotRetrieveModel&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=11.0.3128.0"
    xmlns:msrs="http://www.microsoft.com/sql/reportingservices">An error occurred while loading the model for the item or data source 'https://teamsite.domain.com/POWERPIVOT/PowerPivot%20Gallery/Test.xlsx'. Verify that the connection information is
    correct and that you have permissions to access the data source.</Message><MoreInformation><Source>Microsoft.ReportingServices.ProcessingCore</Source><Message msrs:ErrorCode="rsErrorOpeningConnection" msrs:HelpLink="http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsErrorOpeningConnection&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=11.0.3128.0"
    xmlns:msrs="http://www.microsoft.com/sql/reportingservices">Cannot create a connection to data source 'TemporaryDataSource'.</Message><MoreInformation><Source></Source><Message>For more information about this error
    navigate to the report server on the local server machine, or enable remote errors</Message></MoreInformation></MoreInformation></MoreInformation><Warnings xmlns="http://www.microsoft.com/sql/reportingservices" /></detail>

    Hi,
    Issue not supported in sharepoint on-premise team.
    In addition, as this issue is related to Powerview, I suggest you create a new thread on for Powerview forum, more experts will assist you.
    https://social.technet.microsoft.com/Forums/en-US/home?forum=powerview
    Best Regards,
    Lisa Chen
    TechNet Community Support
    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]

Maybe you are looking for

  • Why can I not save a locked Numbers document?

    My Numbers is weird, slow and almost impossible to get used to. That's why I now I still use Appleworks Spreadsheets on my Powermac for doing daily accounting updates, and only then import a copy to Numbers for keeping copies on my MacBookAir. I crea

  • My ipad2 is frozen and shows as an iphone in recovery mode in itunes..pls help

    My iPad 2 is frozen and keeps showing as an iphone in recovery mode in itunes... does anyone know what to do?

  • Sony Wide Screen Projection TV

    I had my Dish Satellite system upgraded to HDTV. All HD channels work on Encore Movies work good, along with locals. Dish is having free weekend with HBO and Cinamax. When I try to access them, I get a message that says my receiver doesn't have HDCP.

  • Calculate mass data

    Hi, i need to do mass data calculation. i have several table in the DB (oracle), and i need to perform some calculation on them. it's about 50,000 rows to modify. i don't want to do this in the DB. what is the best way to get the Data, hold it in the

  • Getting the terminal Details of the user

    Hi there all, I have one requirement. I have a application (forms 6i, oracle 9i) which is used by 25 odd users concurrently on Windows OS. I need to know the terminal details of each user. If we have different oracle users, we can get the terminal ID