Using boost asio in JVMTI?

Hi,
This is probably a long shot, but I'm going to try and ask anyway. I've got an
application in which I have to do some profiling of Java software. The profiler
has to communicate with a client via sockets (may sound strange, but that's the
way it is). At any rate, I wanted to make the code as portable as possible, so I
started trying to use the boost asio libraries. Here's the thing, I can get my
profiler to start just fine as long as I don't #include <boost/asio.hpp>. As
soon as I do that, the agent won't load. Here is a very simple example program:
//standard header files.
#include "stdafx.h"
#include <iostream>
#include <sys/types.h>
//#include <boost/asio.hpp>
#include "jni.h"
#include "jvmti.h"
/** all callbacks must be extern C */
extern "C" {
JNIEXPORT jint JNICALL Agent_OnLoad(JavaVM *vm, char *options, void *reserved) {
     std::cout << "Agent loaded..." << std::endl;
     return JNI_OK;
JNIEXPORT void JNICALL Agent_OnUnload(JavaVM *vm) {
     std::cout << "Agent unloaded..." << std::endl;
}The above works fine, but if I uncomment the #include <boost/asio.hpp>, it dies
with the standard (uninformative) JVMTI error. Here is my linking command (using
mingw on windows XP).
g++ -LC:\Program Files\Java\jdk1.6.0_03\lib -LE:\boost\boost_1_38_0\stage\lib
-static-libgcc -shared -Wl,-soname=Tester,--kill-at -oTester.dll src\stdafx.o
src\dllmain.o src\communication\Command.o src\Tester.o -lws2_32
-lboost_date_time-mgw34-mt -lboost_system-mgw34-mt -lboost_thread-mgw34-mt
-lboost_iostreams-mgw34-mt -lboost_filesystem-mgw34-mt
cmd /c copy Tester.dll ..\Tester.dll
Any ideas? Am I missing a library? Thanks.
Del

I discovered the problem: I'm linking with g++ from mingw on windows. mingw, for some reason, builds the libraries as .lib files where g++ expects .a files. So, it wasn't linking properly. I had to rename all of my .libs to .as

Similar Messages

  • ID CS5: problem with using Boost libraries in plugin

    Hi all!
    I try to use Boost libraries in my plugin.
    When just add a line
    #include <boost/asio.hpp>       ------ included in SDK in external\asl\boost_libraries\boost
    after (also before) line
    #include "VCPlugInHeaders.h" ---
    the result is
    error C2064: term does not evaluate to a function taking 0 arguments
    what corresponds to file "external\asl\boost_libraries\boost/asio/error.hpp(220)".
    Error also remains when insert #include statement in VCPlugInHeaders.h directly.
    If I compile my code out of SDK environment (as outstanding project) --- no problems at all.
    Probably need additional configuration of Boost in SDK environment?
    Thanks in advanse for your help!

    If using "asio C++ library" separately of Boost --- the plugin compiles without errors and works.

  • Can I use boost mobile with my unlocked iPhone 5

    Can I use boost mobile with my unlocked iPhone 5

    No.  Boost is a CDMA carrier, using the Sprint network and is not compatable with unlocked iPhone 5.
    Message was edited by: modular747

  • FlasCC clang++ crash while compiling boost/asio/ssl.hpp

    Hi all,
    I guess the title's quite descriptive.
    I have Crossbridge_1.1.0.devbuild.fdb5425, and boost_1_54_0, and I'm trying to compile an otherwise empty c++ file that just has an #include <boost/asio/ssl.hpp> at the top. I invoke clang++ as follows on the file:
    /Users/jonsl/crossbridge/sdk/usr/bin/clang++ -Wall -g -v -Iinclude -c -o src/main.o src/main.cpp
    ..and clang++ crashes with the following:
    "/Users/jonsl/crossbridge/sdk/usr/bin/clang++" -cc1 -triple avm2-unknown-freebsd8 -S -disable-free -disable-llvm-verifier -main-file-name main.cpp -mrelocation-model static -mdisable-fp-elim -fmath-errno -momit-leaf-frame-pointer -v -g -coverage-file /var/folders/lj/vzxrly7j0xnbgh6dmcr44wn00000gn/T/main-Gs98uT.s -resource-dir /Users/jonsl/crossbridge/sdk/usr/bin/../lib/clang/3.2 -I include -isysroot /Users/jonsl/crossbridge/sdk/usr/bin/../.. -fmodule-cache-path /var/folders/lj/vzxrly7j0xnbgh6dmcr44wn00000gn/T/clang-module-cache -Wall -fdeprecated-macro -fno-dwarf-directory-asm -fdebug-compilation-dir /Users/jonsl/dev/client-sdk -ferror-limit 19 -fmessage-length 153 -mstackrealign -fobjc-runtime=gcc -fcxx-exceptions -fexceptions -fsjlj-exceptions -fdiagnostics-show-option -fcolor-diagnostics -o /var/folders/lj/vzxrly7j0xnbgh6dmcr44wn00000gn/T/main-Gs98uT.s -x c++ src/main.cpp
    clang -cc1 version 3.2 based upon LLVM 3.2svn default target avm2-unknown-freebsd8
    ignoring nonexistent directory "/Users/jonsl/crossbridge/sdk/usr/bin/../lib/clang/3.2/include"
    #include "..." search starts here:
    #include <...> search starts here:
    include
    /Users/jonsl/crossbridge/sdk/usr/bin/../../usr/include/c++/v1
    /Users/jonsl/crossbridge/sdk/usr/bin/../../usr/include
    End of search list.
    0  clang++                  0x00000001101277c3 PrintStackTrace(void*) + 51
    1  clang++                  0x0000000110127d7d SignalHandler(int) + 333
    2  libsystem_platform.dylib 0x00007fff8cc235aa _sigtramp + 26
    3  libsystem_platform.dylib 0x00007fe61261ffff _sigtramp + 18446743964282243695
    4  clang++                  0x000000010f2dda0c llvm::AsmPrinter::EmitFunctionHeader() + 1916
    5  clang++                  0x000000010efc84ef llvm::AsmPrinter::runOnMachineFunction(llvm::MachineFunction&) + 47
    6  clang++                  0x000000010f7283d6 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 104
    7  clang++                  0x000000010ffa2f10 llvm::FPPassManager::runOnFunction(llvm::Function&) + 384
    8  clang++                  0x000000010ff9dbf6 llvm::FPPassManager::runOnModule(llvm::Module&) + 130
    9  clang++                  0x000000010ffa292f llvm::MPPassManager::runOnModule(llvm::Module&) + 635
    10 clang++                  0x000000010ffa691e llvm::PassManagerImpl::run(llvm::Module&) + 150
    11 clang++                  0x000000010ffa69c3 llvm::PassManager::run(llvm::Module&) + 39
    12 clang++                  0x0000000110569eae (anonymous namespace)::EmitAssemblyHelper::EmitAssembly(clang::BackendAction, llvm::raw_ostream*) + 1706
    13 clang++                  0x0000000110566c4e clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::Module*, clang::BackendAction, llvm::raw_ostream*) + 158
    14 clang++                  0x000000011071e69d clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) + 1193
    15 clang++                  0x0000000110a793b6 clang::ParseAST(clang::Sema&, bool, bool) + 1206
    16 clang++                  0x0000000110989890 clang::ASTFrontendAction::ExecuteAction() + 390
    17 clang++                  0x000000011071af9b clang::CodeGenAction::ExecuteAction() + 1703
    18 clang++                  0x0000000110989d62 clang::FrontendAction::Execute() + 286
    19 clang++                  0x000000011093ce4b clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 829
    20 clang++                  0x000000011012ee0f clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1615
    21 clang++                  0x000000010ef99a6f cc1_main(char const**, char const**, char const*, void*) + 1583
    22 clang++                  0x000000010ef939d5 main + 741
    23 clang++                  0x000000010ef91234 start + 52
    24 clang++                  0x000000000000002f start + 18446744069163380271
    Does anyone have any ideas? is asio ssl just not going to work with crossbridge? or is there maybe a different version of boost which works or something?
    Thanks in advance for any help:)

    Hello,
    this ../links/init.cc.. bug is killing me too (in a different context), is is
    fixed by a recent patch? If not, will it be fixed?
    Thank you

  • [X-FI Titanium Fatal1ty] Record crackles after using an ASIO App

    Hello!
    Whenever I start an application which uses the ASIO driver, I get crackling noise when I record something while the application is still opened or even already closed.
    After I reset the driver or switch the mode, I get clean recordings.
    It does not matter if I record from a microphone or from "what U hear".
    I already tried the lastest beta drivers and and also Daniel_K's SupportPack 2.5.
    I am using Windows 7 64bit.
    I hope somebody can help me!

    I just found out, that the crackles only occur when I record something using the windows audio driver while/after an application is/was opened that uses the ASIO driver. The crackles do not occur if I record something inside the ASIO application.
    I hope you understand what I mean.

  • Using Boost features in CS3

    I am working on porting an plugin from CS5 to CS3 on a MAC, this plugin uses some features of boost libary. So when i try to compile the plugin in CS3 i get a no of linking errors related to boost, however the plugin builds successfully in CS5.
    So i looked into the sdk and found that the CS5 sdk in fact ships with frameworks of boost like boost_regex.framework and also have a ASLSupportLib.dylib which are missing in the CS3 sdk. So my question is how do i get the libraries of boost to link with a CS3 plugin, do i have to build the boost libraries myself or there is some other way to do it.
    And if indeed i have to build the boost library how do i do it, in this scenario i have the following queries
    1. Can i use the boost source files shipped with sdk to generate the lib, if so how.
    2. If i need to get the source from internet which version of boost shall i build to be compatible with CS3 plugin.
    Please guide me as to how i can get around this problem,
    Thanks
    -Manan

    Hi
    In CS3 boost regex libraries are named libboost_regex-mt-1_33.dylib and libboost_regex-mt-d-1_33.dylib
    Regards
    Bartek

  • Can I purchase Apple Insurance for a used Boost Mobile iphone 5c from ebay?

    Hello!
    I'm interested in buying a used mint condition iPhone 5c for boost mobile on ebay. My only worry is that once I buy the phone I won't be able to protect it with insurance of any kind? Is there a way I can still have Apple insurance protect the phone?
    Thank you all so much

    Apple doesn't have "insurance" ... they have the AppleCare+ extended warranty, which covers accidental damage (you'd still have to pay a small $79 deductible to have the phone replaced), but not lost/stolen. If the original owner bought it less than 30 days ago you may still be able to get it.
    Otherwise, ask your carrier if they offer insurance.

  • Using boost::thread with Sun Studio C++ gives error

    Hi,
    I'm trying to compile a code which uses the boost thread library, but I get the following error:
    CC -library=stlport4 -features=tmplife -features=tmplrefstatic -mt -c -o t t.cpp
    "/opt/boost/include/boost/thread/pthread/mutex.hpp", line 142: Error: The function "pthread_mutex_timedlock" must have a prototype.
    "/opt/boost/include/boost/thread/pthread/mutex.hpp", line 142: Error: The function "pthread_mutex_timedlock" must have a prototype.
    "/opt/boost/include/boost/thread/detail/thread.hpp", line 344: Error: boost::thread::thread(boost::thread&) is not accessible from boost::move(boost::detail::thread_move_t<boost::thread>).
    "/opt/boost/include/boost/thread/pthread/recursive_mutex.hpp", line 179: Error: The function "pthread_mutex_timedlock" must have a prototype.
    "/opt/boost/include/boost/thread/pthread/recursive_mutex.hpp", line 179: Error: The function "pthread_mutex_timedlock" must have a prototype.
    5 Error(s) detected.
    make: *** [t] Error 5the sample source code in question here just a single include:
    #include <boost/thread.hpp>This is with boost 1.40.0. I wonder what I'm doing wrong..
    Akos

    OK, I tried latest version of CC from Sun Studio 12 update 1 and can say that
    - the error about constructor not being accessible is Sun C++ compiler "feature" (only called feature because it existed for so long) that allows binding of rvalues to non-const references; this "feature" will probably be turned off in the next release. It can't be changed in a patch because client's code might rely on it.
    - the other errors are also not Boost-specific: the result of incompatibility of Linux headers and Sun C++ compiler; more thorough investigation is due, but in the past we had several problems like this. This particular can be solved by adding
    -D_GNU_SOURCE to compile line.

  • [Solved] Building a C++ projects using Boost

    I have installed
    extra/boost 1.52.0-1
    extra/boost-libs 1.52.0-1
    with pacman.
    I'm trying to build autotools C++ projects (two disctincts project by the same authors are given the same problem) which make use of parts of the Boost library. They have been successfully tested and build under Ubuntu 12.04. with installed libboost-all-dev package. With ArchLinux ./configure works out fine and the compilation process (make) seems to work, too. Nevertheless, there seems to be a problem with the linking:
    libtool: link: g++ -g -O2 -Wall -Wextra -o ssbmc smtparser.o ...
    ../contrib/cudd 2.4.2/obj/.libs/libobj.a ...
    -lboost_program_options-mt -lboost_iostreams-mt -lgmp -lgmpxx -lm -lz
    /usr/bin/ld: cannot find -lboost_program_options-mt
    /usr/bin/ld: cannot find -lboost_iostreams-mt
    Any ideas why it fails? The headers seems to be there since the source makes use of Boost library functions and compiling the files does not fail.
    Last edited by joachimr (2013-02-23 17:54:24)

    The libraries are there:
    $ ls /usr/lib/ | grep program
    libboost_program_options.a
    libboost_program_options.so
    libboost_program_options.so.1.52.0
    $ ls /usr/lib/ | grep iostreams
    libboost_iostreams.a
    libboost_iostreams.so
    libboost_iostreams.so.1.52.0
    Do they have to be renamed?

  • Making phone calls using Boost Mobile & 5c

    I have Boost Mobile and a 5c. About 90% of the time, I cannot make or receive calls. But  I *can* text, FaceTime, email, use the web, etc. Boost thinks it's the phone, and Apple says the phone is fine. Some people have told me that Boost doesn't work for iPhones in my area (MD), but I don't really understand why that would be true. Thanks for any advice!

    rich_brooks,
    The iPhone does not have VOIP capability which would be required for use with WiFi to make phone calls.
    Hope this helps,
    Nathan C.

  • I am trying to do profiling of an ear appln using Java 1.6, JVMTI and TPTP

    Please view the link before hand: http://www.eclipse.org/forums/index.php/t/398099/
    but while starting the server i am getting the following error:
    A fatal error has been detected by the Java Runtime Environment:
    # EXCEPTION_STACK_OVERFLOW (0xc00000fd) at pc=0x77232258, pid=6568, tid=7560
    # JRE version: 6.0_18-b07
    # Java VM: Java HotSpot(TM) Server VM (16.0-b13 mixed mode windows-x86 )
    # Problematic frame:
    # C [ntdll.dll+0x22258]
    # If you would like to submit a bug report, please visit:
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    Can anyone help me in fixing this
    The log file contains as below:
    # A fatal error has been detected by the Java Runtime Environment:
    # EXCEPTION_STACK_OVERFLOW (0xc00000fd) at pc=0x77232258, pid=6568, tid=7560
    # JRE version: 6.0_18-b07
    # Java VM: Java HotSpot(TM) Server VM (16.0-b13 mixed mode windows-x86 )
    # Problematic frame:
    # C [ntdll.dll+0x22258]
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    --------------- T H R E A D ---------------
    Current thread (0x099d3800): JavaThread "main" [_thread_in_native, id=7560, stack(0x0a320000,0x0a360000)]
    siginfo: ExceptionCode=0xc00000fd, ExceptionInformation=0x00000001 0x0a320ffc
    Registers:
    EAX=0x00000009, EBX=0x00000001, ECX=0x0ef02b40, EDX=0x0ef0739c
    ESP=0x0a321000, EBP=0x0a32100c, ESI=0x02917df4, EDI=0x0291902c
    EIP=0x77232258, EFLAGS=0x00010206
    Top of Stack: (sp=0x0a321000)
    0x0a321000: 0000003f 0291902c 0291902c 0a32101c
    0x0a321010: 0290aba1 029195c0 0ef072e0 0a35d2a4
    0x0a321020: 0290a0f9 00000009 0ef02b40 02907b36
    0x0a321030: 0ef072e0 02904f00 0ef072e0 0ef04fe0
    0x0a321040: 02904f11 00000001 0ef04fc0 02904f11
    0x0a321050: 00000001 0ef03960 02904f11 00000001
    0x0a321060: 0ef06020 02904f11 00000001 0ef025e0
    0x0a321070: 02904f11 00000001 0ef051a0 02904f11
    Instructions: (pc=0x77232258)
    0x77232248: 00 90 90 90 90 90 90 90 8b ff 55 8b ec 83 ec 0c
    0x77232258: 56 57 8b 7d 08 8d 77 04 8b c6 f0 0f ba 30 00 0f
    Stack: [0x0a320000,0x0a360000], sp=0x0a321000, free space=40a320ae4k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C [ntdll.dll+0x22258]
    C [CGProf.dll+0xaba1]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j org.jboss.seam.jsf.SeamApplicationFactory.getApplication()Ljavax/faces/application/Application;+19
    j com.sun.faces.config.processor.AbstractConfigProcessor.getApplication()Ljavax/faces/application/Application;+29
    j com.sun.faces.config.processor.ApplicationConfigProcessor.process([Lorg/w3c/dom/Document;)V+20
    j com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext([Lorg/w3c/dom/Document;)V+31
    j com.sun.faces.config.processor.LifecycleConfigProcessor.process([Lorg/w3c/dom/Document;)V+194
    j com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext([Lorg/w3c/dom/Document;)V+31
    j com.sun.faces.config.processor.FactoryConfigProcessor.process([Lorg/w3c/dom/Document;)V+134
    j com.sun.faces.config.ConfigManager.initialize(Ljavax/servlet/ServletContext;)V+45
    j com.sun.faces.config.ConfigureListener.contextInitialized(Ljavax/servlet/ServletContextEvent;)V+328
    j org.apache.catalina.core.StandardContext.listenerStart()Z+434
    j org.apache.catalina.core.StandardContext.start()V+1275
    j org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(Lorg/jboss/web/WebApplication;Ljava/lang/String;Ljava/lang/String;)V+999
    j org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(Lorg/jboss/web/WebApplication;Ljava/lang/String;)V+117
    j org.jboss.web.deployers.AbstractWarDeployment.start(Lorg/jboss/deployers/structure/spi/DeploymentUnit;Lorg/jboss/metadata/web/jboss/JBossWebMetaData;)Lorg/jboss/web/WebApplication;+257
    j org.jboss.web.deployers.WebModule.startModule()V+44
    j org.jboss.web.deployers.WebModule.start()V+20
    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;+106
    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;+189
    j org.jboss.mx.interceptor.ReflectedDispatcher.invoke(Lorg/jboss/mx/server/Invocation;)Ljava/lang/Object;+432
    j org.jboss.mx.server.Invocation.dispatch()Ljava/lang/Object;+24
    j org.jboss.mx.server.Invocation.invoke()Ljava/lang/Object;+29
    j org.jboss.mx.server.AbstractMBeanInvoker.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;+366
    j org.jboss.mx.server.MBeanServerImpl.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;+57
    j org.jboss.system.microcontainer.ServiceProxy.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;+131
    j $Proxy38.start()V+29
    j org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(Lorg/jboss/system/microcontainer/ServiceControllerContext;)V+25
    j org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(Lorg/jboss/dependency/spi/ControllerContext;)V+24
    j org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(Lorg/jboss/dependency/spi/ControllerContext;)V+21
    j org.jboss.dependency.plugins.action.AccessControllerContextAction.install(Lorg/jboss/dependency/spi/ControllerContext;)V+39
    j org.jboss.dependency.plugins.AbstractControllerContextActions.install(Lorg/jboss/dependency/spi/ControllerContext;Lorg/jboss/dependency/spi/ControllerState;Lorg/jboss/dependency/spi/ControllerS¸ü1
    Íø"+35
    j org.jboss.dependency.plugins.AbstractControllerContext.install(Lorg/jboss/dependency/spi/ControllerState;Lorg/jboss/dependency/spi/ControllerState;)V+35
    j org.jboss.system.microcontainer.ServiceControllerContext.install(Lorg/jboss/dependency/spi/ControllerState;Lorg/jboss/dependency/spi/ControllerState;)V+23
    j org.jboss.dependency.plugins.AbstractController.install(Lorg/jboss/dependency/spi/ControllerContext;Lorg/jboss/dependency/spi/ControllerState;Lorg/jboss/dependency/spi/ControllerState;)V+41
    j org.jboss.dependency.plugins.AbstractController.incrementState(Lorg/jboss/dependency/spi/ControllerContext;Z)Z+456
    J org.jboss.dependency.plugins.AbstractController.resolveContexts(Lorg/jboss/dependency/spi/ControllerState;Lorg/jboss/dependency/spi/ControllerState;Z)Z
    J org.jboss.dependency.plugins.AbstractController.resolveContexts(Z)V
    j org.jboss.dependency.plugins.AbstractController.change(Lorg/jboss/dependency/spi/ControllerContext;Lorg/jboss/dependency/spi/ControllerState;Z)V+220
    j org.jboss.dependency.plugins.AbstractController.change(Lorg/jboss/dependency/spi/ControllerContext;Lorg/jboss/dependency/spi/ControllerState;)V+59
    j org.jboss.system.ServiceController.doChange(Lorg/jboss/kernel/spi/dependency/KernelController;Lorg/jboss/system/microcontainer/ServiceControllerContext;Lorg/jboss/dependency/spi/ControllerState¸ü1
    Íø"wang/StriTü1
    V+35
    j org.jboss.system.ServiceController.start(Ljavax/management/ObjectName;)V+189
    j org.jboss.system.deployers.ServiceDeployer.start(Lorg/jboss/system/ServiceContext;)V+27
    j org.jboss.system.deployers.ServiceDeployer.deploy(Lorg/jboss/deployers/structure/spi/DeploymentUnit;Lorg/jboss/system/metadata/ServiceMetaData;)V+109
    j org.jboss.system.deployers.ServiceDeployer.deploy(Lorg/jboss/deployers/structure/spi/DeploymentUnit;Ljava/lang/Object;)V+25
    j org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(Lorg/jboss/deployers/structure/spi/DeploymentUnit;)V+37
    j org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(Lorg/jboss/deployers/structure/spi/DeploymentUnit;)V+21
    j org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(Lorg/jboss/deployers/structure/spi/DeploymentUnit;)V+87
    J org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(Lorg/jboss/deployers/spi/deployer/Deployer;Lorg/jboss/deployers/structure/spi/DeploymentContext;)V
    J org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(Lorg/jboss/deployers/spi/deployer/Deployer;Lorg/jboss/deployers/structure/spi/DeploymentContext;)V
    j org.jboss.deployers.plugins.deployers.DeployersImpl.install(Lorg/jboss/dependency/spi/ControllerContext;Lorg/jboss/dependency/spi/ControllerState;Lorg/jboss/dependency/spi/ControllerState;)V+147
    j org.jboss.dependency.plugins.AbstractControllerContext.install(Lorg/jboss/dependency/spi/ControllerState;Lorg/jboss/dependency/spi/ControllerState;)V+35
    j org.jboss.dependency.plugins.AbstractController.install(Lorg/jboss/dependency/spi/ControllerContext;Lorg/jboss/dependency/spi/ControllerState;Lorg/jboss/dependency/spi/ControllerState;)V+41
    j org.jboss.dependency.plugins.AbstractController.incrementState(Lorg/jboss/dependency/spi/ControllerContext;Z)Z+456
    J org.jboss.dependency.plugins.AbstractController.resolveContexts(Lorg/jboss/dependency/spi/ControllerState;Lorg/jboss/dependency/spi/ControllerState;Z)Z
    J org.jboss.dependency.plugins.AbstractController.resolveContexts(Z)V
    j org.jboss.dependency.plugins.AbstractController.change(Lorg/jboss/dependency/spi/ControllerContext;Lorg/jboss/dependency/spi/ControllerState;Z)V+220
    j org.jboss.dependency.plugins.AbstractController.change(Lorg/jboss/dependency/spi/ControllerContext;Lorg/jboss/dependency/spi/ControllerState;)V+59
    j org.jboss.deployers.plugins.deployers.DeployersImpl.process(Ljava/util/List;Ljava/util/List;)V+985
    j org.jboss.deployers.plugins.main.MainDeployerImpl.process()V+279
    j org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process()V+23
    j org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(Lorg/jboss/profileservice/spi/Profile;)V+121
    j org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(Lorg/jboss/system/server/profileservice/repository/ProfileContext;)V+36
    j org.jboss.system.server.profileservice.repository.AbstractProfileService.install(Lorg/jboss/dependency/spi/ControllerContext;Lorg/jboss/dependency/spi/ControllerState;Lorg/jboss/dependency/spi/¸ü1
    Íø"werState;Tü+58
    j org.jboss.dependency.plugins.AbstractControllerContext.install(Lorg/jboss/dependency/spi/ControllerState;Lorg/jboss/dependency/spi/ControllerState;)V+35
    j org.jboss.dependency.plugins.AbstractController.install(Lorg/jboss/dependency/spi/ControllerContext;Lorg/jboss/dependency/spi/ControllerState;Lorg/jboss/dependency/spi/ControllerState;)V+41
    j org.jboss.dependency.plugins.AbstractController.incrementState(Lorg/jboss/dependency/spi/ControllerContext;Z)Z+456
    J org.jboss.dependency.plugins.AbstractController.resolveContexts(Lorg/jboss/dependency/spi/ControllerState;Lorg/jboss/dependency/spi/ControllerState;Z)Z
    J org.jboss.dependency.plugins.AbstractController.resolveContexts(Z)V
    j org.jboss.dependency.plugins.AbstractController.install(Lorg/jboss/dependency/spi/ControllerContext;Z)V+387
    j org.jboss.dependency.plugins.AbstractController.install(Lorg/jboss/dependency/spi/ControllerContext;)V+87
    j org.jboss.system.server.profileservice.repository.AbstractProfileService.registerProfile(Lorg/jboss/profileservice/spi/Profile;)V+177
    j org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(Lorg/jboss/bootstrap/spi/Server;)V+206
    j org.jboss.bootstrap.AbstractServerImpl.start()V+298
    j org.jboss.Main.boot([Ljava/lang/String;)V+503
    j org.jboss.Main$1.run()V+33
    j java.lang.Thread.run()V+39
    v ~StubRoutines::call_stub
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x0bbb0400 JavaThread "IdleRemover" daemon [_thread_blocked, id=7548, stack(0x68a80000,0x68ac0000)]
    0x0bbaf400 JavaThread "Timer-1" daemon [_thread_blocked, id=8528, stack(0x68900000,0x68940000)]
    0x0bbadc00 JavaThread "Thread-49" daemon [_thread_blocked, id=6508, stack(0x68780000,0x687c0000)]
    0x0bbad400 JavaThread "JCA PoolFiller" [_thread_blocked, id=6980, stack(0x68500000,0x68540000)]
    0x0bbad000 JavaThread "HSQLDB Timer @ae5b0b" daemon [_thread_blocked, id=5348, stack(0x68480000,0x684c0000)]
    0x0bbac800 JavaThread "DefaultQuartzScheduler_QuartzSchedulerThread" [_thread_blocked, id=4176, stack(0x67330000,0x67370000)]
    0x0bbac400 JavaThread "DefaultQuartzScheduler_Worker-9" [_thread_blocked, id=5004, stack(0x672b0000,0x672f0000)]
    0x0bbabc00 JavaThread "DefaultQuartzScheduler_Worker-8" [_thread_blocked, id=7108, stack(0x67230000,0x67270000)]
    0x0bbab400 JavaThread "DefaultQuartzScheduler_Worker-7" [_thread_blocked, id=5604, stack(0x671b0000,0x671f0000)]
    0x0bbab000 JavaThread "DefaultQuartzScheduler_Worker-6" [_thread_blocked, id=5060, stack(0x67130000,0x67170000)]
    0x0bbaa800 JavaThread "DefaultQuartzScheduler_Worker-5" [_thread_blocked, id=7456, stack(0x670b0000,0x670f0000)]
    0x0bbaa400 JavaThread "DefaultQuartzScheduler_Worker-4" [_thread_blocked, id=3136, stack(0x67030000,0x67070000)]
    0x0bba9c00 JavaThread "DefaultQuartzScheduler_Worker-3" [_thread_blocked, id=1452, stack(0x66fb0000,0x66ff0000)]
    0x0bba9800 JavaThread "DefaultQuartzScheduler_Worker-2" [_thread_blocked, id=8036, stack(0x66f30000,0x66f70000)]
    0x0cb3a800 JavaThread "DefaultQuartzScheduler_Worker-1" [_thread_blocked, id=6900, stack(0x66eb0000,0x66ef0000)]
    0x0cb3ac00 JavaThread "DefaultQuartzScheduler_Worker-0" [_thread_blocked, id=4888, stack(0x66b00000,0x66b40000)]
    0x0cb3c000 JavaThread "WorkManager(2)-1" daemon [_thread_blocked, id=5656, stack(0x66a80000,0x66ac0000)]
    0x0cb3b400 JavaThread "AOPListner" daemon [_thread_blocked, id=1968, stack(0x65ee0000,0x65f20000)]
    0x0cb3b800 JavaThread "ContainerBackgroundProcessor[StandardEngine[jboss.web]]" daemon [_thread_blocked, id=7868, stack(0x66770000,0x667b0000)]
    0x0cb3d000 JavaThread "RMI TCP Accept-11006" daemon [_thread_in_native, id=4756, stack(0x665f0000,0x66630000)]
    0x0cb3e400 JavaThread "PooledInvokerAcceptor#0-11007" [_thread_in_native, id=4480, stack(0x66570000,0x665b0000)]
    0x0cb3dc00 JavaThread "Thread-46" [_thread_blocked, id=4320, stack(0x664f0000,0x66530000)]
    0x0cb3cc00 JavaThread "Listener:11009" daemon [_thread_in_native, id=7276, stack(0x66470000,0x664b0000)]
    0x0cb3d800 JavaThread "Thread-45" daemon [_thread_blocked, id=4208, stack(0x663f0000,0x66430000)]
    0x0cb3f400 JavaThread "Thread-44" daemon [_thread_blocked, id=3328, stack(0x66370000,0x663b0000)]
    0x0cb3fc00 JavaThread "Thread-43" daemon [_thread_blocked, id=6360, stack(0x662f0000,0x66330000)]
    0x0cb3f000 JavaThread "Listener:11010" daemon [_thread_in_native, id=6164, stack(0x66270000,0x662b0000)]
    0x0cb40000 JavaThread "AcceptorThread[ServerSocket[addr=/0.0.0.0,port=0,localport=11005]]" [_thread_in_native, id=4220, stack(0x660f0000,0x66130000)]
    0x0cb3e800 JavaThread "ServerSocketRefresh" daemon [_thread_blocked, id=7116, stack(0x66070000,0x660b0000)]
    0x0bba9000 JavaThread "HDScanner" [_thread_blocked, id=4784, stack(0x66e70000,0x66eb0000)]
    0x0cb42000 JavaThread "AcceptorThread[ServerSocket[addr=/0.0.0.0,port=0,localport=11013]]" [_thread_in_native, id=4144, stack(0x66df0000,0x66e30000)]
    0x0cb41800 JavaThread "ServerSocketRefresh" daemon [_thread_blocked, id=5480, stack(0x66d70000,0x66db0000)]
    0x0cb41400 JavaThread "secondaryServerSocketThread[0]" daemon [_thread_in_native, id=6244, stack(0x66cf0000,0x66d30000)]
    0x0cb40c00 JavaThread "AcceptorThread[ServerSocket[addr=/0.0.0.0,port=0,localport=11008]]" [_thread_in_native, id=5156, stack(0x66c70000,0x66cb0000)]
    0x0cb40800 JavaThread "ServerSocketRefresh" daemon [_thread_blocked, id=4288, stack(0x66bf0000,0x66c30000)]
    0x0cfad800 JavaThread "RequestController-7" daemon [_thread_blocked, id=2024, stack(0x65a40000,0x65a80000)]
    0x0cfad400 JavaThread "RequestController-6" daemon [_thread_blocked, id=8448, stack(0x659c0000,0x65a00000)]
    0x0cfacc00 JavaThread "RequestController-5" daemon [_thread_blocked, id=5264, stack(0x65940000,0x65980000)]
    0x0cfac800 JavaThread "RequestController-4" daemon [_thread_blocked, id=4964, stack(0x658c0000,0x65900000)]
    0x0cfac000 JavaThread "ORB thread" [_thread_blocked, id=7380, stack(0x65840000,0x65880000)]
    0x0cfabc00 JavaThread "RequestController-3" daemon [_thread_blocked, id=4620, stack(0x657c0000,0x65800000)]
    0x0cfab400 JavaThread "RequestController-2" daemon [_thread_blocked, id=6856, stack(0x65740000,0x65780000)]
    0x0cfaa800 JavaThread "ServerSocketListener" daemon [_thread_in_native, id=5856, stack(0x656c0000,0x65700000)]
    0x0cfaa400 JavaThread "RequestController-1" daemon [_thread_blocked, id=7136, stack(0x0efe0000,0x0f020000)]
    0x0cfa9c00 JavaThread "ZipFile Lock Reaper" daemon [_thread_blocked, id=3488, stack(0x0d8c0000,0x0d900000)]
    0x0cf82400 JavaThread "JBoss System Threads(1)-2" daemon [_thread_in_native, id=6140, stack(0x0fba0000,0x0fbe0000)]
    0x0d2c4800 JavaThread "GC Daemon" daemon [_thread_blocked, id=7768, stack(0x0fb20000,0x0fb60000)]
    0x0c065c00 JavaThread "RMI Reaper" [_thread_blocked, id=380, stack(0x0faa0000,0x0fae0000)]
    0x0d3d1c00 JavaThread "RMI TCP Accept-11002" daemon [_thread_in_native, id=3956, stack(0x0fa20000,0x0fa60000)]
    0x0ad78000 JavaThread "JBoss System Threads(1)-1" daemon [_thread_in_native, id=8376, stack(0x0f9a0000,0x0f9e0000)]
    0x0bfdec00 JavaThread "Timer-Log4jService" daemon [_thread_blocked, id=5736, stack(0x0f610000,0x0f650000)]
    0x11fb8c00 JavaThread "AuthenticationCacheFlushThread" [_thread_blocked, id=4160, stack(0x0f590000,0x0f5d0000)]
    0x099a2000 JavaThread "Timer-0" daemon [_thread_blocked, id=5324, stack(0x0c700000,0x0c740000)]
    0x0137f000 JavaThread "DestroyJavaVM" [_thread_blocked, id=3508, stack(0x003b0000,0x003f0000)]
    =>0x099d3800 JavaThread "main" [_thread_in_native, id=7560, stack(0x0a320000,0x0a360000)]
    0x099c4400 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=7484, stack(0x0a210000,0x0a250000)]
    0x099c1c00 JavaThread "CompilerThread1" daemon [_thread_blocked, id=1736, stack(0x0a180000,0x0a1d0000)]
    0x099c1800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=6816, stack(0x0a0f0000,0x0a140000)]
    0x099b6800 JavaThread "Attach Listener" daemon [_thread_blocked, id=5716, stack(0x09f70000,0x09fb0000)]
    0x099b4000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=6612, stack(0x09ef0000,0x09f30000)]
    0x099ab800 JavaThread "Surrogate Locker Thread (CMS)" daemon [_thread_blocked, id=3556, stack(0x09e70000,0x09eb0000)]
    0x09939000 JavaThread "Finalizer" daemon [_thread_blocked, id=2752, stack(0x09df0000,0x09e30000)]
    0x09934c00 JavaThread "Reference Handler" daemon [_thread_blocked, id=4240, stack(0x09d70000,0x09db0000)]
    Other Threads:
    0x009df400 VMThread [stack: 0x09ce0000,0x09d30000] [id=5136]
    0x099c5000 WatcherThread [stack: 0x0a290000,0x0a2e0000] [id=7852]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    par new generation total 14784K, used 3214K [0x12250000, 0x13250000, 0x15250000)
    eden space 13184K, 12% used [0x12250000, 0x123e3888, 0x12f30000)
    from space 1600K, 100% used [0x12f30000, 0x130c0000, 0x130c0000)
    to space 1600K, 0% used [0x130c0000, 0x130c0000, 0x13250000)
    concurrent mark-sweep generation total 585648K, used 356667K [0x15250000, 0x38e3c000, 0x52250000)
    concurrent-mark-sweep perm gen total 131072K, used 70872K [0x52250000, 0x5a250000, 0x62250000)
    Dynamic libraries:
    0x00400000 - 0x00424000      C:\Program Files (x86)\Java\jdk1.6.0_18\bin\java.exe
    0x77210000 - 0x77390000      C:\Windows\SysWOW64\ntdll.dll
    0x76910000 - 0x76a10000      C:\Windows\syswow64\kernel32.dll
    0x75850000 - 0x75896000      C:\Windows\syswow64\KERNELBASE.dll
    0x757b0000 - 0x75850000      C:\Windows\syswow64\ADVAPI32.dll
    0x753a0000 - 0x7544c000      C:\Windows\syswow64\msvcrt.dll
    0x76610000 - 0x76629000      C:\Windows\SysWOW64\sechost.dll
    0x75080000 - 0x75170000      C:\Windows\syswow64\RPCRT4.dll
    0x74d80000 - 0x74de0000      C:\Windows\syswow64\SspiCli.dll
    0x74d70000 - 0x74d7c000      C:\Windows\syswow64\CRYPTBASE.dll
    0x7c340000 - 0x7c396000      C:\Program Files (x86)\Java\jdk1.6.0_18\jre\bin\msvcr71.dll
    0x6db70000 - 0x6df9b000      C:\Program Files (x86)\Java\jdk1.6.0_18\jre\bin\server\jvm.dll
    0x76b40000 - 0x76c40000      C:\Windows\syswow64\USER32.dll
    0x74f90000 - 0x75020000      C:\Windows\syswow64\GDI32.dll
    0x74ee0000 - 0x74eea000      C:\Windows\syswow64\LPK.dll
    0x76aa0000 - 0x76b3d000      C:\Windows\syswow64\USP10.dll
    0x719e0000 - 0x71a12000      C:\Windows\system32\WINMM.dll
    0x767b0000 - 0x76810000      C:\Windows\system32\IMM32.DLL
    0x74de0000 - 0x74eac000      C:\Windows\syswow64\MSCTF.dll
    0x73da0000 - 0x73deb000      C:\Windows\system32\apphelp.dll
    0x6d860000 - 0x6d86c000      C:\Program Files (x86)\Java\jdk1.6.0_18\jre\bin\verify.dll
    0x6d3e0000 - 0x6d3ff000      C:\Program Files (x86)\Java\jdk1.6.0_18\jre\bin\java.dll
    0x6d340000 - 0x6d348000      C:\Program Files (x86)\Java\jdk1.6.0_18\jre\bin\hpi.dll
    0x75020000 - 0x75025000      C:\Windows\syswow64\PSAPI.DLL
    0x10000000 - 0x10019000      C:\Users\hkhargharia\Downloads\agntctrl.win_ia32-TPTP-4.2.0.2\plugins\org.eclipse.tptp.javaprofiler\JPIBootLoader.dll
    0x002e0000 - 0x002eb000      C:\Users\hkhargharia\Downloads\agntctrl.win_ia32-TPTP-4.2.0.2\plugins\org.eclipse.tptp.javaprofiler\MartiniOSA.dll
    0x005c0000 - 0x005f1000      C:\Users\hkhargharia\Downloads\agntctrl.win_ia32-TPTP-4.2.0.2\plugins\org.eclipse.tptp.javaprofiler\JPI.dll
    0x00890000 - 0x008b1000      C:\Users\hkhargharia\Downloads\agntctrl.win_ia32-TPTP-4.2.0.2\plugins\org.eclipse.tptp.javaprofiler\JPIAgent.dll
    0x009e0000 - 0x00a01000      C:\unzipped\agntctrl.win_ia32-TPTP-4.7.2\bin\AgentBase.dll
    0x00a10000 - 0x00a27000      C:\unzipped\agntctrl.win_ia32-TPTP-4.7.2\bin\transportSupport.dll
    0x76c40000 - 0x76c75000      C:\Windows\syswow64\WS2_32.dll
    0x76660000 - 0x76666000      C:\Windows\syswow64\NSI.dll
    0x00a40000 - 0x00a77000      C:\unzipped\agntctrl.win_ia32-TPTP-4.7.2\bin\tptpUtils.dll
    0x12000000 - 0x12241000      C:\unzipped\agntctrl.win_ia32-TPTP-4.7.2\bin\xerces-c_2_6.dll
    0x00a90000 - 0x00aa6000      C:\unzipped\agntctrl.win_ia32-TPTP-4.7.2\bin\hcclco.dll
    0x012a0000 - 0x012b7000      C:\unzipped\agntctrl.win_ia32-TPTP-4.7.2\bin\hcclsm.dll
    0x012e0000 - 0x01301000      C:\unzipped\agntctrl.win_ia32-TPTP-4.7.2\bin\tptpConfig.dll
    0x01320000 - 0x01335000      C:\unzipped\agntctrl.win_ia32-TPTP-4.7.2\bin\processControlUtil.dll
    0x01350000 - 0x01366000      C:\unzipped\agntctrl.win_ia32-TPTP-4.7.2\bin\tptpLogUtils.dll
    0x02900000 - 0x0291e000      C:\Users\hkhargharia\Downloads\agntctrl.win_ia32-TPTP-4.2.0.2\plugins\org.eclipse.tptp.javaprofiler\CGProf.dll
    0x028a0000 - 0x028ae000      C:\Users\hkhargharia\Downloads\agntctrl.win_ia32-TPTP-4.2.0.2\plugins\org.eclipse.tptp.javaprofiler\CGAdaptor.dll
    0x02e60000 - 0x02ec5000      C:\Users\hkhargharia\Downloads\agntctrl.win_ia32-TPTP-4.2.0.2\plugins\org.eclipse.tptp.javaprofiler\JIE.dll
    0x6d8a0000 - 0x6d8af000      C:\Program Files (x86)\Java\jdk1.6.0_18\jre\bin\zip.dll
    0x6d6c0000 - 0x6d6d3000      C:\Program Files (x86)\Java\jdk1.6.0_18\jre\bin\net.dll
    0x740b0000 - 0x740ec000      C:\Windows\system32\mswsock.dll
    0x72e00000 - 0x72e06000      C:\Windows\System32\wship6.dll
    0x73ea0000 - 0x73eb0000      C:\Windows\system32\NLAapi.dll
    0x73e50000 - 0x73e94000      C:\Windows\system32\DNSAPI.dll
    0x73e40000 - 0x73e48000      C:\Windows\System32\winrnr.dll
    0x73e30000 - 0x73e40000      C:\Windows\system32\napinsp.dll
    0x73e10000 - 0x73e22000      C:\Windows\system32\pnrpnsp.dll
    0x73c30000 - 0x73c4c000      C:\Windows\system32\IPHLPAPI.DLL
    0x73c20000 - 0x73c27000      C:\Windows\system32\WINNSI.DLL
    0x71ae0000 - 0x71b18000      C:\Windows\System32\fwpuclnt.dll
    0x73eb0000 - 0x73eb6000      C:\Windows\system32\rasadhlp.dll
    0x6d610000 - 0x6d619000      C:\Program Files (x86)\Java\jdk1.6.0_18\jre\bin\management.dll
    0x740a0000 - 0x740a5000      C:\Windows\System32\wshtcpip.dll
    0x739e0000 - 0x739f6000      C:\Windows\system32\CRYPTSP.dll
    0x739a0000 - 0x739db000      C:\Windows\system32\rsaenh.dll
    0x73d50000 - 0x73d67000      C:\Windows\system32\USERENV.dll
    0x73d40000 - 0x73d4b000      C:\Windows\system32\profapi.dll
    0x73a50000 - 0x73a5d000      C:\Windows\system32\dhcpcsvc6.DLL
    0x73a30000 - 0x73a42000      C:\Windows\system32\dhcpcsvc.DLL
    0x6d6e0000 - 0x6d6e9000      C:\Program Files (x86)\Java\jdk1.6.0_18\jre\bin\nio.dll
    0x6d0b0000 - 0x6d1fa000      C:\Program Files (x86)\Java\jdk1.6.0_18\jre\bin\awt.dll
    0x712f0000 - 0x71341000      C:\Windows\system32\WINSPOOL.DRV
    0x75450000 - 0x755ac000      C:\Windows\syswow64\ole32.dll
    0x710a0000 - 0x7123e000      C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7600.16661_none_420fe3fa2b8113bd\COMCTL32.dll
    0x75170000 - 0x751c7000      C:\Windows\syswow64\SHLWAPI.dll
    VM Arguments:
    jvm_args: -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:+CMSIncrementalPacing -XX:CMSIncrementalDutyCycleMin=10 -XX:CMSIncrementalDutyCycle=50 -XX:ParallelGCThreads=3 -XX:+UseParNewGC -XX:MaxGCPauseMillis=2000 -XX:GCTimeRatio=10 -XX:+DisableExplicitGC -Dsun.rmi.dgc.client.gcInterval=1800000 -Dsun.rmi.dgc.server.gcInterval=1800000 -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dnet.sf.ehcache.skipUpdateCheck=true -Xss256k -Xms512m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=256m -Dremoting.bind_by_host=false -Dclient.encoding.override=UTF-8 -Dfile.encoding=UTF-8 -agentlib:JPIBootLoader=JPIAgent:server=enabled;CGProf -Dprogram.name=run.bat -Djava.endorsed.dirs=D:/JBOSS/jboss-eap-5.1/jboss-as\lib\endorsed
    java_command: org.jboss.Main -Dorg.apache.el.parser.COERCE_TO_ZERO=false -Dorg.apache.catalina.connector.Request.SESSION_ID_CHECK=false -Djboss.server.home.dir=D:/Local_Deployment/Èü1
    Íø"wport/WINdü1
    pport-profile/WINN5Support-profile -Djboss.server.name=domserver -Djboss.server.home.url=file:/D:/Local_Deployment/WINN5Support/WINN5Support-profile/WINN5Support-profile --host=localhost -Djboss.bind.address=0.0.0.0 -Dlog4j.configuration=file:D:/Local_Deployment/WINN5Support/WINN5Support-profile/WINN5Support-profile/conf/log4j.properties
    Launcher Type: SUN_STANDARD
    Environment Variables:
    JAVA_HOME=C:\Program Files (x86)\Java\jdk1.6.0_18
    CLASSPATH=C:\Program Files (x86)\Rational\ClearQuest\cqjni.jar
    USERNAME=hkhargharia
    LD_LIBRARY_PATH=;;;;;;;;;;;;;;;;C:\Users\hkhargharia\Downloads\agntctrl.win_em64t-TPTP-4.2.0\lib
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 37 Stepping 2, GenuineIntel
    --------------- S Y S T E M ---------------
    OS: Windows 7 Build 7600
    CPU:total 4 (8 cores per cpu, 2 threads per core) family 6 model 37 stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, ht
    Memory: 4k page, physical 4053388k(293900k free), swap 8104872k(2962556k free)
    vm_info: Java HotSpot(TM) Server VM (16.0-b13) for windows-x86 JRE (1.6.0_18-b07), built on Dec 17 2009 13:29:37 by "java_re" with MS VC++ 7.1 (VS2003)
    time: Thu Oct 11 11:42:43 2012
    elapsed time: 1944 seconds
    Edited by: 964644 on Oct 10, 2012 11:58 PM

    10.6.8 won't run on a PowerPC Mac. 
    10.6.8 also won't run the latest Java.  Here's what version of Java you can run:
    https://discussions.apple.com/docs/DOC-5532

  • Starting new client from scratch with large db takes forever

    I found a similar thread on the forum but I think my situation is a little different. I'm using the pure C API instead of Java for example.
    What I currently have running is a berkeley DB database with 7 million records. There is also a secondary database used as an index on a specific key. New records are inserted about one record per second on average. Records and keys are small, 20 and 120 bytes. The primary db is 750MB in size and the index about 500.
    The master runs a 'master-db' process that owns the database and a 'server' process that opens the database read-only to expose it's data to a simple network service. I currently have about 1000 queries per second on this. It's implemented io event driven (using boost.asio) and uses about 10% CPU time on a single thread.
    The slave runs a 'slave-db' process that is configured as a slave replica node. It also runs the same server process and deals with about the same amount of hits.
    I'm really happy with this setup, it works well.
    Except in one case: when I need to sync a new slave with an empty database. This barely ever works ok and requires many manual restarts.
    What I see is that the slave tries to transfer two large sets of pages. One set is 180.000 and the other 120.000. I assume that these two are for the two databases that I have.
    What happens is that the slave gets about 140.000 pages in less than a couple of seconds (gigabit ethernet) but then stalls either completely or gets the remaining 40.000 pages at a 1 page/second rate. I don't see anything that looks like an error in the logs. Also no queue limit warnings.
    I've noticed two things that help: stopping the master server process (so that no updates are done to the database) or just manually restarting the slave a couple of times so that eventually gets all pages. Both are not ideal of course.
    Two questions:
    Does this sound familiar to anyone?
    Are there alternatives to the initial sync? Would it be possible to for example rsync the main db home to a slave and use that as a starting point instead?
    S.

    Hi Stefan,
    I recall that we talked previously about the "queue
    limit exceeded" problem. But you say that is not
    happening this time. I take it you installed the bug
    fix patch?No I did not install the patch actually. Do you think it could be relevant for issues besides the 'queue limit exceeded' problem or was it a very specific fix for just that?
    Are you still using Replication Manager in a 4.6
    version of Berkeley DB?Yes. 4.6.21.
    >
    What you describe is indeed strange, particularly the
    part where stopping updates on the master seems to
    clear up the problem. I'll make a test setup and just let it run for a much longer time. So far I've been waiting and looking at database files to change. Maybe I've been too impatient. (I did look at iostat output to see whether there was disk activity though)
    Usually it's the other way
    around: receiving an update from the master "kicks"
    the replica into requesting any missing log records.
    Can you post a representative sample of what the
    verbose output at the replica looks like during the
    time it's getting only about a page per second (and
    especially what it looks like after stopping the
    master updates)?I'll try, but the log files are HUGE and I will have to find time to analyze them really properly. So far I've only grepped for possible errors.
    How do I identify the 'boundaries' in the log for one replication task?
    >
    You can indeed do a "manual" hot backup if you want
    to avoid the automatic internal init. See the
    Reference Guide page entitled "Initializing a new
    site."Hm. This looks good. I had missed that page. I'm actually more fond of this approach for my specific use-case. It looks easy to automate. If I can't figure out the real problem with the auto-sync then I'll probably switch to (automated) manual.
    S.

  • SWIG and openssl-1.0.1f

    Hi all,
    I have been working on a c++ project that can make http and https requests; the project uses boost::asio with openssl, and currently works on osx.
    Now, I am trying to build the project so that it can run on Adobe's Air platform, and as such I am attempting to build libssl and libcrypto SWC using crossbridge gcc. I have had some success (http://forums.adobe.com/message/6251335#6251335) and i've built libssl.a and libcrypto.a so far.
    So I moved on to SWIG; my SWIG interface file has a few %ignore statements, and I am now able to produce ssl.as and as3api_wrap.cxx files (both of which are huge).
    The problem im currently having is that i am unable to compile the swig-generated as3api_wrap.cxx to produce the SWC because of ASN1_ITEM defined in asn1.h:
    as3api_wrap.cxx:60559: error: aggregate ‘ASN1_ITEM result’ has incomplete type and cannot be defined:
    I am having a really hard time separating off just the openssl interface that i am using; ASN1_ITEM isnt relevant at all to boost::asio (which is what will consume the lib). I know the exact interface i need from my list of about 50 resolved externals like (which I get if i don't link openssl in my working darwin version):
    src/main.o: error: undefined reference to '_ERR_reason_error_string'
    src/main.o: error: undefined reference to '_SSL_library_init'
    src/main.o: error: undefined reference to '_SSL_load_error_strings'
    src/main.o: error: undefined reference to '_OPENSSL_add_all_algorithms_noconf'
    src/main.o: error: undefined reference to '_CRYPTO_num_locks'
    src/main.o: error: undefined reference to '_CRYPTO_set_locking_callback'
    src/main.o: error: undefined reference to '_CRYPTO_set_id_callback'
    src/main.o: error: undefined reference to '_ERR_free_strings'
    src/main.o: error: undefined reference to '_ERR_remove_state'
    I think im stuck now- and I get the feeling something's very wrong with my approach.
    I need a simpler (swig-generated? manually-generated?) interop interface to openssl, im not interested in exposing it's internals!
    Am i using SWIG properly or have I made a daft mistake.. how can i generate a simpler interface?
    I need some swig wizard-level expert i think- can anyone help?
    cheers,
    Jon
    Message was edited by: jonsl

    Hi all,
    I have been working on a c++ project that can make http and https requests; the project uses boost::asio with openssl, and currently works on osx.
    Now, I am trying to build the project so that it can run on Adobe's Air platform, and as such I am attempting to build libssl and libcrypto SWC using crossbridge gcc. I have had some success (http://forums.adobe.com/message/6251335#6251335) and i've built libssl.a and libcrypto.a so far.
    So I moved on to SWIG; my SWIG interface file has a few %ignore statements, and I am now able to produce ssl.as and as3api_wrap.cxx files (both of which are huge).
    The problem im currently having is that i am unable to compile the swig-generated as3api_wrap.cxx to produce the SWC because of ASN1_ITEM defined in asn1.h:
    as3api_wrap.cxx:60559: error: aggregate ‘ASN1_ITEM result’ has incomplete type and cannot be defined:
    I am having a really hard time separating off just the openssl interface that i am using; ASN1_ITEM isnt relevant at all to boost::asio (which is what will consume the lib). I know the exact interface i need from my list of about 50 resolved externals like (which I get if i don't link openssl in my working darwin version):
    src/main.o: error: undefined reference to '_ERR_reason_error_string'
    src/main.o: error: undefined reference to '_SSL_library_init'
    src/main.o: error: undefined reference to '_SSL_load_error_strings'
    src/main.o: error: undefined reference to '_OPENSSL_add_all_algorithms_noconf'
    src/main.o: error: undefined reference to '_CRYPTO_num_locks'
    src/main.o: error: undefined reference to '_CRYPTO_set_locking_callback'
    src/main.o: error: undefined reference to '_CRYPTO_set_id_callback'
    src/main.o: error: undefined reference to '_ERR_free_strings'
    src/main.o: error: undefined reference to '_ERR_remove_state'
    I think im stuck now- and I get the feeling something's very wrong with my approach.
    I need a simpler (swig-generated? manually-generated?) interop interface to openssl, im not interested in exposing it's internals!
    Am i using SWIG properly or have I made a daft mistake.. how can i generate a simpler interface?
    I need some swig wizard-level expert i think- can anyone help?
    cheers,
    Jon
    Message was edited by: jonsl

  • Using VST plugins and ASIO for everything?

    Just a thought. Oh how much I'd like this!
    To be able to use universal VST plugins and ASIO for everything directly from Windows would be ideal. To put this simply, making the Creative Windows "mixer" a true equivelent of a pro-software mixing app (Ableton, ProTools, Sonar, Cubase, or any other) in terms of absolute control for all Audio effects and I/O.
    If Creative won't ever do this even on their next gen cards, somebody or some company that knows a decent mixer setup should write such a replacement mixer soon offered at a fair price (if not free) that will do so with easy, complete, reliable integration.
    Long and specific
    VST related:
    - Use X-Ram to cache inserted VST plugins. Now theres a potential great reason for it since it obviously doesnt use any to cache the I/O bus like ALL OTHER periphials that have Ram caches. Its use is dictated by software, so why not?
    - Allow setting some tiny but likely necessary amount of X-Ram as an additional plugin audio I/O buffer. This should be much less than what mixing software needs for this setting since that would all have to pass the CPU.
    - Use Creative's processing hardware directly instead of the CPU so VST plugins won't increase CPU usage (within reason of course).
    - Yield overhead when using lots or higher-demand plugins if set in bit-match mode. Why waste all that power for SRC when Voxengo R8Brain or plenty of other pro software can do that a million times better and way faster in non-real-time? OK, only Creative could work this one in.
    - Why VST plugins? I'd trust my favorite EQ, digital limiter or whatever that has 64-bit float internal precision and oversampling vs. a 24-bit (rounding-error heaven) with no oversampling like the built in Creative ones.
    - If Creative has confidence in the quality of their own propriety effects, doesn't have to be VST but simply making them usable as a ReWire bridged devices into most any host with parameter automation controls and all. Obviosly these could have much lower latency than VST that normally relies on CPU processed software code.
    - The only argument against this is that some VST plugins have huge latencies. Optional latency delay to keep tracks
    - Allow Creatives hardware to insert as a ReWire slave or otherwise bridged device to ASIO-based apps so VST's can be outsourced from demanding more CPU when mixing. I could also add MIDI plugin effects as well.
    ASIO related:
    - Allow changing any and all audio I/O routing for individual channels on the fly for Windows and ANY software (not just ASIO compatible stuff). Just like in Ableton, Pro Tools, and every other WELL designed "mixer".
    - Treating XP itself and any software that normally goes through DX/MME/etc to use this ASIO mixer by making it appear as an insert send/return in the mixer so it can get routed and processed individually to my liking.
    - Can insert send/return signals for any DX/MME/etc program to/from any track or #tracks in any combination up to some reasonable limit with pre/post gains. At least several send/returns slots per channel.
    - A game that uses ASIO would be sweet. 0% FPS drop. IMO DX/MME/wave-mapper sound sucks. No control, many wasted CPU cycles, and horrible latency.
    - Ability to save/load PROGRAM-specific routing chains. Having it so simly running a certain program will automatically insert it how/whereever I specified, if not default, with all relevant I/O settings, including plugins and related settings that were put in the insert send/return path series to that program of course.
    - Put real-time SRC, compression encoding/decoding, or any Creative effects as well whereever I want in the signal chain, whether universal to a track I/O or program insert send/return I/O.
    - Ability to record tracks or the master likewise.
    - No digital feedback possible caused by monitering/recording/routing configs that would be possible in any decent mixing software. Surely not ever from a default setting or made sometimes impossible to prevent like on the Audigy series. Well unless I do something stupid that SHOULD cause feedback. Speak of a truly worthless mixer, this BTW is the ONLY reason I couldn't just go the manual route and run my host all the time, forcing ALL sounds through it for real-time playback with my Audigy. I'm assuming XiFi's Audio-Creation Mixer doesn't have this horrible problem.
    - Imagine putting any combination of sounds in 7.1 surround, monitering specific channels to any physical output, or up/downmixing 5.1 as it plays in real-time, etc. any thing like this possible instantly with a few mouse clicks! This would be SO EASY and completely possible to implement, most of the above right onto existing XiFi's as is.
    It's not like it would be competing with pro-interface rackmount products so no harm to Creative. I sure as h*ll wouldn't record with any soundcard's analog pre's or unbalanced connections for that matter. Guess I just love the interface and control of a REAL mixer that can do it all.

    cusis wrote:
    But would it be possible to somehow use the power of the card to take on some of the load of the cpu, users would surely then see alot more benifits from these cards.
    I don't see why this isn't possible with enough X-RAM. Why no host apps support offloading VST plugin cache buffers and rendering threads to it? I'm probly returning my XiFi and sticking with my old Audigy 1 until either I blow it up or Creative makes a REAL upgrade with most the aforementioned features that literally COULD'VE been implemented in XiFi's current hardware.
    If they do, they'll have my business and many others I'm pretty sure. Creative, if your listening and you want to like triple your sales - PLEASE get a clue and get the software end right. Microsoft or any audio host software developers, heres your (fat) chance if Creative wont do whats really their responsibility.
    If ALL apps were forced to pass through ASIO as I mentioned, this could force all apps and games to use part of X-RAM as an I/O buffer no matter what specific support is. The same way a video card can offload ALL video including Windows, not just when running certain games, or even worse, certain audio apps lol that specifically support video RAM and DX performance controls! That would be the stupidest, most worthless idea and why Video Cards don't waste their hardware this way. And yet this is what XiFi currently does regarding audio. Somebody change this SOON.
    This would be SO cheap and easy for Creative toss together and implement and would solve EVERYONE's problems and make ALL games at least get SMOOTH AUDIO. He!! Creative could charge $30 extra for it or just push out a new line of cards and itd still be worth it. Creative, did you read that part? More profit$$$ Like a video card upgrade, I EXPECT a night vs. day improvment but as it stands, XiFi is simply a glorified Audigy that costs more but much LESS likely to work right.
    More importantly, its use of ASIO (the real deal) remains no less limited than an old Creative card from way back when. If Creative wants their soundcard to integrate with software better, learn from Nvidia/Ati and deliver the goods as they've done it all along.

  • Error in compiling boost example program using sun studio 12

    I am trying to compile the below example program from boost using sun studio 12 C++ compiler.
    #include <boost/interprocess/shared_memory_object.hpp>
    #include <boost/interprocess/mapped_region.hpp>
    #include <cstring>
    #include <cstdlib>
    #include <string>
    int main(int argc, char *argv[])
    using namespace boost::interprocess;
    if(argc == 1)
    {  //Parent process
    //Remove shared memory on construction and destruction
    struct shm_remove
    shm_remove() { shared_memory_object::remove("MySharedMemory"); }
    ~shm_remove(){ shared_memory_object::remove("MySharedMemory"); }
    } remover;
    //Create a shared memory object.
    shared_memory_object shm (create_only, "MySharedMemory", read_write);
    //Set size
    shm.truncate(1000);
    //Map the whole shared memory in this process
    mapped_region region(shm, read_write);
    //Write all the memory to 1
    std::memset(region.get_address(), 1, region.get_size());
    //Launch child process
    std::string s(argv[0]); s += " child ";
    if(0 != std::system(s.c_str()))
    return 1;
    else
    //Open already created shared memory object.
    shared_memory_object shm (open_only, "MySharedMemory", read_only);
    //Map the whole shared memory in this process
    mapped_region region(shm, read_only);
    //Check that memory was initialized to 1
    char mem = static_cast<char>(region.get_address());
    for(std::size_t i = 0; i < region.get_size(); ++i)
    if(*mem++ != 1)
    return 1; //Error checking memory
    return 0;
    Using the below command :
    CC -c 1.cpp -I/home/syogacha/satish/boost_1_43_0 -library=stlport4
    "/home/syogacha/satish/boost_1_43_0/boost/interprocess/shared_memory_object.hpp", line 284: Error: The function "shm_open" must have a prototype.
    "/home/syogacha/satish/boost_1_43_0/boost/interprocess/shared_memory_object.hpp", line 307: Error: The function "shm_unlink" must have a prototype.
    "/home/syogacha/satish/boost_1_43_0/boost/interprocess/mapped_region.hpp", line 549: Error: Formal argument 1 of type char* in call to shmdt(char*) is being passed void*.
    3 Error(s) detected.
    I even tried to include sys/mman.h but got the same compilation errors.
    Do we need to take care of few other specific things while using boost headers.
    Thanks in advance ...

    Hope this helps....
    #include <sys/mman.h>
    #include <boost/interprocess/shared_memory_object.hpp>
    #include <boost/interprocess/mapped_region.hpp>
    #include <cstring>
    #include <cstdlib>
    #include <string>
    #include <iostream>
    #include <iterator>
    int main(int argc, char *argv[])
    {      //main
            using namespace boost::interprocess;
            if(argc == 1)
            {  //Parent process
                    //Remove shared memory on construction and destruction
                    struct shm_remove
                            shm_remove() { shared_memory_object::remove("MySharedMemory"); }
                            ~shm_remove(){ shared_memory_object::remove("MySharedMemory"); }
                    } remover;
                    //Create a shared memory object.
                    shared_memory_object shm (create_only, "MySharedMemory", read_write);
                    //Set size
                    shm.truncate(1000);
                    //Map the whole shared memory in this process
                    mapped_region region(shm, read_write);
                    //Write all the memory to 1
                   std::memset(region.get_address(), 1, region.get_size());
                    //Launch child process
                    std::string s(argv[0]); s += " child ";
                    if(0 != std::system(s.c_str()))
                    return 1;
            else
                    //Open already created shared memory object.
                    shared_memory_object shm (open_only, "MySharedMemory", read_only);
                    //Map the whole shared memory in this process
                    mapped_region region(shm, read_only);
                    //Check that memory was initialized to 1
                    char *mem = static_cast<char*>(region.get_address());
                    for(std::size_t i = 0; i < region.get_size(); ++i)
                    if(*mem++ != 1)
                    return 1;   //Error checking memory
            return 0;
    }

Maybe you are looking for

  • [Photoshop CS6] Windows 7 - How to add "Brush Angle" circle to Brush Preset

    How do I add this: To here: Thanks.

  • 'Up to Date' apps not found

    I use Creative Cloud for teams on two PC's, one at work and the other at home. The programs that are on my PC at work are running just fine and I have nothing to worry about there. However, I'm having an issue with InDesign and Illustrator on my home

  • I need a lot of green..

    I need to create a topo plan, and need a green pallette, with gradual tone changes, from light to dark. Whats the easiest way to get this. Tryed making my own (miss out a lot of tones, so creates jumps in colour). I would like to be able to load a ne

  • Convert gray to binary image:: I am tried please help

    Hi member I have this vi that do some processing on the aquired image from webcam every time I put threshold vi  on the result of math script ,every display image vi all ways become black  if I remove the threshold vi the vi work well Please I am tir

  • WebDAV support in WLS 7.0

    Is WebDAV supported in Weblogic Server 7.0?