I am using Jensor to profile my java application. I instrumented a war file of my application from Jensor V 1.7, but whenever i try to deploy the instrumented war on application server(web logic9.2), I am getting the following error:
starting weblogic with Java version:
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build pap64dev-20080716b (SR8))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc64-64 j9vmap6423-20080716 (JIT enabled)
J9VM - 20080625_20583_BHdSMr
JIT - 20080620_1845_r8
GC - 200806_19)
JCL - 20080716a
Starting WLS with line:
/usr/java5_64/bin/java -Xms512m -Xmx512m -da -Dplatform.home=/rxc/bea92/weblogic92 -Dwls.home=/rxc/bea92/weblogic92/server -Dwli.home=/rxc/bea92/weblogic92/integration -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/rxc/bea92/patch_weblogic920/profiles/default/sysext_manifest_classpath -Dweblogic.Name=AdminServer -Djava.security.policy=/rxc/bea92/weblogic92/server/lib/weblogic.policy -Dname=9011Server -Dcom.sun.xml.namespace.QName.useCompatibleSerialVersionUID=1.0 weblogic.Server
<Nov 5, 2008 4:53:00 PM GMT+05:30> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
/tpms/bea_data/user_projects/domains/9011_domain/lib/glazedlists-1.7.0_java14.jar:/tpms/bea_data/user_projects/domains/9011_domain/lib/jcommon-1.0.13.jar:/tpms/bea_data/user_projects/domains/9011_domain/lib/jensorjdk14-v17-unix.jar:/tpms/bea_data/user_projects/domains/9011_domain/lib/jfreechart-1.0.10.jar:/rxc/bea92/weblogic92/platform/lib/p13n/p13n-schemas.jar:/rxc/bea92/weblogic92/platform/lib/p13n/p13n_common.jar:/rxc/bea92/weblogic92/platform/lib/p13n/p13n_system.jar:/rxc/bea92/weblogic92/platform/lib/wlp/netuix_common.jar:/rxc/bea92/weblogic92/platform/lib/wlp/netuix_schemas.jar:/rxc/bea92/weblogic92/platform/lib/wlp/netuix_system.jar:/rxc/bea92/weblogic92/platform/lib/wlp/wsrp-common.jar>
<Nov 5, 2008 4:53:01 PM GMT+05:30> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with IBM J9 VM Version 2.3 from IBM Corporation>
<Nov 5, 2008 4:53:03 PM GMT+05:30> <Info> <Management> <BEA-141107> <Version: WebLogic Server 9.2 Fri Jun 23 20:47:26 EDT 2006 783464 >
<Nov 5, 2008 4:53:07 PM GMT+05:30> <Info> <WebLogicServer> <BEA-000215> <Loaded License : /rxc/bea92/license.bea>
<Nov 5, 2008 4:53:07 PM GMT+05:30> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Nov 5, 2008 4:53:07 PM GMT+05:30> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<Nov 5, 2008 4:53:07 PM GMT+05:30> <Notice> <Log Management> <BEA-170019> <The server log file /tpms/bea_data/user_projects/domains/9011_domain/servers/AdminServer/logs/AdminServer.log is opened. All server side log events will be written to this file.>
<Nov 5, 2008 4:53:08 PM GMT+05:30> <Error> <Socket> <BEA-000438> <Unable to load performance pack. Using Java I/O instead. Please ensure that libmuxer library is in :'/usr/java5_64/jre/bin:/usr/java5_64/jre/bin:/usr/java5_64/jre/bin/classic:/usr/java5_64/jre/bin:/rxc/bea92/patch_weblogic920/profiles/default/native:/rxc/bea92/weblogic92/server/native/aix/ppc:/usr/java5_64/jre/bin/j9vm:/usr/lib'
>
<Nov 5, 2008 4:53:11 PM GMT+05:30> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<Nov 5, 2008 4:53:16 PM GMT+05:30> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<Nov 5, 2008 4:53:16 PM GMT+05:30> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Nov 5, 2008 4:53:18 PM GMT+05:30> <Notice> <Log Management> <BEA-170027> <The server initialized the domain log broadcaster successfully. Log messages will now be broadcasted to the domain log.>
<Nov 5, 2008 4:53:18 PM GMT+05:30> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<Nov 5, 2008 4:53:18 PM GMT+05:30> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
<Nov 5, 2008 4:53:19 PM GMT+05:30> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 172.21.172.160:9011 for protocols iiop, t3, ldap, http.>
<Nov 5, 2008 4:53:19 PM GMT+05:30> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 127.0.0.1:9011 for protocols iiop, t3, ldap, http.>
<Nov 5, 2008 4:53:19 PM GMT+05:30> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "AdminServer" for domain "9011_domain" running in Development Mode>
<Nov 5, 2008 4:53:19 PM GMT+05:30> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<Nov 5, 2008 4:53:19 PM GMT+05:30> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
<Nov 5, 2008 4:53:48 PM GMT+05:30> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=HomePage1.>
<Nov 5, 2008 4:53:48 PM GMT+05:30> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=HomePage1.>
(Location of error unknown)Duplicate variable declaration for: 'value'
Finding Platform info ...
Current platform is AIX
Executing Shell Command
>>> START_AT_APPLICATION_BOOT=true
>>> CAPTURE_OBJECT_INSTANTIATION=false
>>> Currently not capturing Object Instantiations data
JC-000: Jensor v1.7 is being used
JC-001: Java Profiler: starting
JC-002: Available Processors 4
JC-003: Initialized with memory 512MB
JC-004: Current free memory 341MB
JC-005: Current working Directory /tpms/bea_data/user_projects/domains/9011_domain
JC-006: JENSOR_HOME : /tpms/Jensor
JC-008: *** No class filters applied. Profiler will profile all application classes ***
Exception in thread "JensorThread" java.lang.NoClassDefFoundError: com.tcs.perc.jensor.core.Profile (initialization failure)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:134)
at com.tcs.perc.jensor.core.Profile.run(Profile.java:397)
at java.lang.Thread.run(Thread.java:810)
Caused by: java.lang.ExceptionInInitializerError
at java.lang.J9VMInternals.initialize(J9VMInternals.java:218)
at javax.crypto.SecretKeyFactory.getInstance(Unknown Source)
at com.tcs.perc.jensor.UI.Encrypt.createKey(Encrypt.java:65)
at com.tcs.perc.jensor.UI.Encrypt.<init>(Encrypt.java:175)
at com.tcs.perc.jensor.core.JensorServer.<init>(JensorServer.java:581)
at com.tcs.perc.jensor.core.Profile.<clinit>(Profile.java:222)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:196)
at org.springframework.web.context.ContextLoaderListener.<init>(Unknown Source)
at java.lang.Class.newInstanceImpl(Native Method)
at java.lang.Class.newInstance(Class.java:1328)
at weblogic.servlet.internal.EventsManager.registerEventListener(EventsManager.java:275)
at weblogic.servlet.internal.EventsManager.registerEventListeners(EventsManager.java:257)
at weblogic.servlet.internal.WebAppServletContext.initContextListeners(WebAppServletContext.java:1573)
at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1037)
at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:433)
at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:408)
at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:552)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:287)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:621)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:208)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:189)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:87)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:718)
at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1185)
at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:247)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:157)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
Caused by: java.lang.SecurityException: Cannot set up certs for trusted CAs
at javax.crypto.b.<clinit>(Unknown Source)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:196)
... 42 more
Caused by: java.lang.SecurityException: Jurisdiction policy files are not signed by trusted signers!
at javax.crypto.b.a(Unknown Source)
at javax.crypto.b.a(Unknown Source)
at javax.crypto.b.access$600(Unknown Source)
at javax.crypto.b$0.run(Unknown Source)
at java.security.AccessController.doPrivileged(AccessController.java:246)
... 45 more
<Nov 5, 2008 4:54:33 PM GMT+05:30> <Error> <Deployer> <BEA-149265> <Failure occured in the execution of deployment request with ID '1225884270599' for task '0'. Error is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:295)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
Truncated. see log file for complete stacktrace
java.lang.SecurityException: Jurisdiction policy files are not signed by trusted signers!
at javax.crypto.b.a(Unknown Source)
at javax.crypto.b.a(Unknown Source)
at javax.crypto.b.access$600(Unknown Source)
at javax.crypto.b$0.run(Unknown Source)
at java.security.AccessController.doPrivileged(AccessController.java:246)
Truncated. see log file for complete stacktrace
>
<Nov 5, 2008 4:54:33 PM GMT+05:30> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating distribute task for application 'tpms'.>
<Nov 5, 2008 4:54:33 PM GMT+05:30> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:295)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
Truncated. see log file for complete stacktrace
java.lang.SecurityException: Jurisdiction policy files are not signed by trusted signers!
at javax.crypto.b.a(Unknown Source)
at javax.crypto.b.a(Unknown Source)
at javax.crypto.b.access$600(Unknown Source)
at javax.crypto.b$0.run(Unknown Source)
at java.security.AccessController.doPrivileged(AccessController.java:246)
Truncated. see log file for complete stacktrace
>
<Nov 5, 2008 4:54:33 PM GMT+05:30> <Error> <Console> <BEA-240003> <Console encountered the following error weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:295)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:621)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:208)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:189)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:87)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:718)
at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1185)
at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:247)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:157)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
Caused by: java.lang.SecurityException: Jurisdiction policy files are not signed by trusted signers!
at javax.crypto.b.a(Unknown Source)
at javax.crypto.b.a(Unknown Source)
at javax.crypto.b.access$600(Unknown Source)
at javax.crypto.b$0.run(Unknown Source)
at java.security.AccessController.doPrivileged(AccessController.java:246)
at javax.crypto.b.<clinit>(Unknown Source)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:196)
at javax.crypto.SecretKeyFactory.getInstance(Unknown Source)
at com.tcs.perc.jensor.UI.Encrypt.createKey(Encrypt.java:65)
at com.tcs.perc.jensor.UI.Encrypt.<init>(Encrypt.java:175)
at com.tcs.perc.jensor.core.JensorServer.<init>(JensorServer.java:581)
at com.tcs.perc.jensor.core.Profile.<clinit>(Profile.java:222)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:196)
at org.springframework.web.context.ContextLoaderListener.<init>(Unknown Source)
at java.lang.Class.newInstanceImpl(Native Method)
at java.lang.Class.newInstance(Class.java:1328)
at weblogic.servlet.internal.EventsManager.registerEventListener(EventsManager.java:275)
at weblogic.servlet.internal.EventsManager.registerEventListeners(EventsManager.java:257)
at weblogic.servlet.internal.WebAppServletContext.initContextListeners(WebAppServletContext.java:1573)
at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1037)
at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:433)
at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:408)
at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:552)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:287)
please help
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Jensor tries to open a TCP/IP port at 21999. Looks like Jensor is not allowed to create a socket at this port. I dont see "JC-009 : Listening on port 21999" comment in the log. Thats why I suspect you are getting this error.
To rectify this problem, ensure that the Unix user you use to start Weblogic has permissions to open a socket. Since this step is failing, the class initialization does not complete, and you are gettting misleading exception in form of java.lang.NoClassDefFoundError.
Your AIX admin shoud be able to tell you what permissions does the user need to be able to open TCP/IP sockets.
Regards,
Amol
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
On deeper analysis, it seems like a SecurityException is caused which causes the InitilizationException. So your IBM JVM is preventing the socket from being initialized. This error cascades further.
Did you try googling as to how you instruct a IBM JVM to allow executing files not signed by trusted users. Typically modifying Security policy is never required, but in your case it looks like you may need to.
Regards,
Amol
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Looking at the logs generated by application server :
-------------------------------------------------------------
starting weblogic with Java version:
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build pap64dev-20080716b (SR8))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc64-64 j9vmap6423-20080716 (JIT enabled)
J9VM - 20080625_20583_BHdSMr
JIT - 20080620_1845_r8
GC - 200806_19)
JCL - 20080716a
Starting WLS with line:
/usr/java5_64/bin/java -Xms512m -Xmx512m -da -Dplatform.home=/rxc/bea92/weblogic92 -Dwls.home=/rxc/bea92/weblogic92/server -Dwli.home=/rxc/bea92/weblogic92/integration -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/rxc/bea92/patch_weblogic920/profiles/default/sysext_manifest_classpath -Dweblogic.Name=AdminServer -Djava.security.policy=/rxc/bea92/weblogic92/server/lib/weblogic.policy -Dname=9011Server -Dcom.sun.xml.namespace.QName.useCompatibleSerialVersionUID=1.0 weblogic.Server
<Nov 5, 2008 4:53:00 PM GMT+05:30> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
/tpms/bea_data/user_projects/domains/9011_domain/lib/glazedlists-1.7.0_java14.jar:/tpms/bea_data/user_projects/domains/9011_domain/lib/jcommon-1.0.13.jar:/tpms/bea_data/user_projects/domains/9011_domain/lib/jensorjdk14-v17-unix.jar:/tpms/bea_data/user_projects/domains/9011_domain/lib/jfreechart-1.0.10.jar:/rxc/bea92/weblogic92/platform/lib/p13n/p13n-schemas.jar:/rxc/bea92/weblogic92/platform/lib/p13n/p13n_common.jar:/rxc/bea92/weblogic92/platform/lib/p13n/p13n_system.jar:/rxc/bea92/weblogic92/platform/lib/wlp/netuix_common.jar:/rxc/bea92/weblogic92/platform/lib/wlp/netuix_schemas.jar:/rxc/bea92/weblogic92/platform/lib/wlp/netuix_system.jar:/rxc/bea92/weblogic92/platform/lib/wlp/wsrp-common.jar>
.
.
.
Current platform is AIX
Executing Shell Command
>>> START_AT_APPLICATION_BOOT=true
>>> CAPTURE_OBJECT_INSTANTIATION=false
>>> Currently not capturing Object Instantiations data
JC-000: Jensor v1.7 is being used
JC-001: Java Profiler: starting
JC-002: Available Processors 4
JC-003: Initialized with memory 512MB
JC-004: Current free memory 341MB
JC-005: Current working Directory /tpms/bea_data/user_projects/domains/9011_domain
JC-006: JENSOR_HOME : /tpms/Jensor
JC-008: *** No class filters applied. Profiler will profile all application classes ***
Exception in thread "JensorThread" java.lang.NoClassDefFoundError: com.tcs.perc.jensor.core.Profile (initialization failure)
-------------------------------------------------------------
I can see error occuring at the JC-008 level. App server is not finding jensor jdk, which is present in the class path. [pls see line " <Following extensions directory contents added to the end of the classpath: /tpms/bea_data/user_projects/domains/9011_domain/lib/jensorjdk14-v17-unix.jar:"]. Why app server is not finding jar which is loaded during the time of startup.
We are also not clear how port 21999 [JC-009 : Listening on port 21999] is not open. App server throwing error at JC-008 line, It has not reached to line JC-009 ?
Thanks
Vikas.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
0) Jensor prints "JC-008 ..". Next it requests for opening a socket Connection.
1) IBM JVM security policy prevents it from allowing to create sockets.
2) Jensor throws an exception because it expects the socket to be created.
3) Exception bubbles up and prevents Jensor from initializing.
4) Failure to initialize prevents Jensor classes from being loaded.
5) Since the classes are not loaded, they are not found in classpath (despite being in classpath. Otherwise the JC-00N comments wont have appeared).
This clearly indicates that classpath settings are correct and Security permissions have to be relaxed.
Solution
1) Update your security permissions using procedure mentioned in link posted in my last message.
Also you have not posted the entire stack trace. If you have updated the security policy the error at the bottom of the stack would be interesting to see.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is Jansor 1.7 compatible with IBM Java? Because I am not able to deploy application on AIX machine where IBM Java is installed. Getting same error mentioned above. We also can not deploy application on Sun Java because all servers at client side running IBM Java only.
[I also din't find Sun Java for AIX OS.]
I am trying to instrument war using Jensor 1.4. Will post you about the updates.
Do you know any group in TCS using Jensor? Can you please give me their contact details ?
Regards,
Vikas
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Jensor works on .class file version 49.0 and upwards. The .class file specification is issued by Sun and all JVM vendors have to meet the specs for Java to be portable. IBM JVM 1.5.0 of course meets the specs. Hence Jensor also supports IBM JVM.
In your case you just have to work past the security restrictions of the IBM JVM. You just have to obtain a unlimited strength Jurisdiction policy.
For the umpteenth time I am telling you to follow the steps mentioned in the link in previous posts. You will be up and running with Jensor in no time. You have everything else set up. You dont have to go back to Jensor 1.4.
- Amol
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Running Jensor 1.7 and Weblogic 9.2 on local machine. Able to instrument war successfully. When I deploy it on weblogic all goes well to the point where server hangs forever for Building JPA container EntityManagerFactory. I am running weblogic on 1024 MB of memory. So bottom line is I am even not able to deploy war on local machine. I have admin rights and running SUN JAVA 1.5.
here is the logs :
---------- WebLogic START ----------
.
.
JAVA Memory arguments: -Xms1024m -Xmx1024m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m
.
WLS Start Mode=Development
.
CLASSPATH=;C:\bea\patch_weblogic920\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\bea\JDK150~1\lib\tools.jar;C:\bea\WEBLOG~2\server\lib\weblogic_sp.jar;C:\bea\WEBLOG~2\server\lib\weblogic.jar;C:\bea\WEBLOG~2\server\lib\webservices.jar;;C:\bea\WEBLOG~2\common\eval\pointbase\lib\pbclient51.jar;C:\bea\WEBLOG~2\server\lib\xqrl.jar;;
.
PATH=C:\bea\patch_weblogic920\profiles\default\native;C:\bea\WEBLOG~2\server\native\win\32;C:\bea\WEBLOG~2\server\bin;C:\bea\JDK150~1\jre\bin;C:\bea\JDK150~1\bin;C:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Java\jdk1.5.0_02;C:\Program Files\Java\jdk1.5.0_02\bin;C:\bea\WEBLOG~2\server\native\win\32\oci920_8
.
***************************************************
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http:\\hostname:port\console *
***************************************************
starting weblogic with Java version:
java version "1.5.0_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode)
Starting WLS with line:
C:\bea\JDK150~1\bin\java -client -Xms1024m -Xmx1024m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m -Xverify:none -da -Dplatform.home=C:\bea\WEBLOG~2 -Dwls.home=C:\bea\WEBLOG~2\server -Dwli.home=C:\bea\WEBLOG~2\integration -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\bea\patch_weblogic920\profiles\default\sysext_manifest_classpath -Dweblogic.Name=AdminServer -Djava.security.policy=C:\bea\WEBLOG~2\server\lib\weblogic.policy weblogic.Server
<Nov 11, 2008 5:18:46 PM IST> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
C:\bea\weblogic92\platform\lib\p13n\p13n-schemas.jar;C:\bea\weblogic92\platform\lib\p13n\p13n_common.jar;C:\bea\weblogic92\platform\lib\p13n\p13n_system.jar;C:\bea\weblogic92\platform\lib\wlp\netuix_common.jar;C:\bea\weblogic92\platform\lib\wlp\netuix_schemas.jar;C:\bea\weblogic92\platform\lib\wlp\netuix_system.jar;C:\bea\weblogic92\platform\lib\wlp\wsrp-common.jar>
<Nov 11, 2008 5:18:47 PM IST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 1.5.0_04-b05 from Sun Microsystems Inc.>
<Nov 11, 2008 5:18:48 PM IST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 9.2 Fri Jun 23 20:47:26 EDT 2006 783464 >
<Nov 11, 2008 5:18:52 PM IST> <Info> <WebLogicServer> <BEA-000215> <Loaded License : C:\bea\license.bea>
<Nov 11, 2008 5:18:52 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Nov 11, 2008 5:18:52 PM IST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<Nov 11, 2008 5:18:52 PM IST> <Notice> <Log Management> <BEA-170019> <The server log file C:\bea\user_projects\domains\tpms_domain\servers\AdminServer\logs\AdminServer.log is opened. All server side log events will be written to this file.>
<Nov 11, 2008 5:18:54 PM IST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<Nov 11, 2008 5:18:57 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<Nov 11, 2008 5:18:57 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
Finding Platform info ...
Current platform is Windows XP
>>> START_AT_APPLICATION_BOOT=true
>>> CAPTURE_OBJECT_INSTANTIATION=true
JC-000: Jensor v1.7 is being used
JC-001: Java Profiler: starting
JC-002: Available Processors 2
JC-003: Initialized with memory 1016MB
JC-004: Current free memory 980MB
JC-005: Current working Directory C:\bea\user_projects\domains\tpms_domain
JC-006: JENSOR_HOME : C:\Program Files\Jensor\
JC-008: *** No class filters applied. Profiler will profile all application classes ***
JC-009: JensorServer listening at port 21999
INFO (org.springframework.web.context.ContextLoader:?) - Root WebApplicationContext: initialization started
INFO (org.springframework.web.context.support.XmlWebApplicationContext:?) - Refreshing org.springframework.web.context.support.XmlWebApplicationContext@1ff66bd: display name [Root WebApplicationContext]; startup date [Tue Nov 11 17:19:27 IST 2008]; root of context hierarchy
INFO (org.springframework.beans.factory.xml.XmlBeanDefinitionReader:?) - Loading XML bean definitions from ServletContext resource [/WEB-INF/classes/ApplicationContext.xml]
INFO (org.springframework.beans.factory.xml.XmlBeanDefinitionReader:?) - Loading XML bean definitions from ServletContext resource [/WEB-INF/classes/common-context.xml]
INFO (org.springframework.beans.factory.xml.XmlBeanDefinitionReader:?) - Loading XML bean definitions from ServletContext resource [/WEB-INF/classes/tpmsinfo-context.xml]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'businessUnitDao': replacing [Root bean: class [com.cvs.tpms.storesetup.dao.BusinessUnitDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/common-context.xml]] with [Root bean: class [com.cvs.tpms.storesetup.dao.BusinessUnitDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/tpmsinfo-context.xml]]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'wqGroupDao': replacing [Root bean: class [com.cvs.tpms.wqsetup.dao.WqGroupDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/common-context.xml]] with [Root bean: class [com.cvs.tpms.wqsetup.dao.WqGroupDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/tpmsinfo-context.xml]]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'tpmsCodeDao': replacing [Root bean: class [com.cvs.tpms.dao.TpmsCodeDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/common-context.xml]] with [Root bean: class [com.cvs.tpms.dao.TpmsCodeDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/tpmsinfo-context.xml]]
INFO (org.springframework.beans.factory.xml.XmlBeanDefinitionReader:?) - Loading XML bean definitions from ServletContext resource [/WEB-INF/classes/depositforecasting-context.xml]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'corporateSalesForecastHdrDao': replacing [Root bean: class [com.cvs.tpms.depositforecasting.dao.CorporateSalesForecastHdrDAOImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/common-context.xml]] with [Root bean: class [com.cvs.tpms.depositforecasting.dao.CorporateSalesForecastHdrDAOImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/depositforecasting-context.xml]]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'salesForecastDetailDao': replacing [Root bean: class [com.cvs.tpms.depositforecasting.dao.SalesForecastDetailDAOImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/common-context.xml]] with [Root bean: class [com.cvs.tpms.depositforecasting.dao.SalesForecastDetailDAOImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/depositforecasting-context.xml]]
INFO (org.springframework.beans.factory.xml.XmlBeanDefinitionReader:?) - Loading XML bean definitions from ServletContext resource [/WEB-INF/classes/billing-context.xml]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'associatedBillingFormatDao': replacing [Root bean: class [com.cvs.tpms.bpsetup.dao.AssociatedBillingFormatDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/tpmsinfo-context.xml]] with [Root bean: class [com.cvs.tpms.bpsetup.dao.AssociatedBillingFormatDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/billing-context.xml]]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'billingProcessorDao': replacing [Root bean: class [com.cvs.tpms.bpsetup.dao.BillingProcessorDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/tpmsinfo-context.xml]] with [Root bean: class [com.cvs.tpms.bpsetup.dao.BillingProcessorDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/billing-context.xml]]
INFO (org.springframework.beans.factory.xml.XmlBeanDefinitionReader:?) - Loading XML bean definitions from ServletContext resource [/WEB-INF/classes/cashapplication-context.xml]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'payerDao': replacing [Root bean: class [com.cvs.tpms.bpsetup.dao.PayerDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/tpmsinfo-context.xml]] with [Root bean: class [com.cvs.tpms.bpsetup.dao.PayerDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/cashapplication-context.xml]]
INFO (org.springframework.beans.factory.xml.XmlBeanDefinitionReader:?) - Loading XML bean definitions from ServletContext resource [/WEB-INF/classes/liability-context.xml]
INFO (org.springframework.beans.factory.xml.XmlBeanDefinitionReader:?) - Loading XML bean definitions from ServletContext resource [/WEB-INF/classes/cashapp-context.xml]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'depositDao': replacing [Root bean: class [com.cvs.tpms.cashapp.cashdeposit.dao.DepositDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/cashapplication-context.xml]] with [Root bean: class [com.cvs.tpms.cashapp.cashdeposit.dao.DepositDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/cashapp-context.xml]]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'storeDao': replacing [Root bean: class [com.cvs.tpms.storesetup.dao.StoreDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/tpmsinfo-context.xml]] with [Root bean: class [com.cvs.tpms.storesetup.dao.StoreDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/cashapp-context.xml]]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'storeProviderNumberDao': replacing [Root bean: class [com.cvs.tpms.storesetup.dao.StoreProviderNumberDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/tpmsinfo-context.xml]] with [Root bean: class [com.cvs.tpms.storesetup.dao.StoreProviderNumberDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/cashapp-context.xml]]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'micrDao': replacing [Root bean: class [com.cvs.tpms.cashapp.cashmasterinfo.dao.MicrDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/cashapplication-context.xml]] with [Root bean: class [com.cvs.tpms.cashapp.cashmasterinfo.dao.MicrDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/cashapp-context.xml]]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'planGroupDao': replacing [Root bean: class [com.cvs.tpms.plansetup.dao.PlanGroupDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/tpmsinfo-context.xml]] with [Root bean: class [com.cvs.tpms.plansetup.dao.PlanGroupDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/cashapp-context.xml]]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'wqDetailDao': replacing [Root bean: class [com.cvs.tpms.cashapp.cashdeposit.dao.WqDetailDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/cashapplication-context.xml]] with [Root bean: class [com.cvs.tpms.cashapp.cashdeposit.dao.WqDetailDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/cashapp-context.xml]]
INFO (org.springframework.beans.factory.xml.XmlBeanDefinitionReader:?) - Loading XML bean definitions from ServletContext resource [/WEB-INF/classes/remittance-context.xml]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'planDao': replacing [Root bean: class [com.cvs.tpms.plansetup.dao.PlanDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/tpmsinfo-context.xml]] with [Root bean: class [com.cvs.tpms.plansetup.dao.PlanDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/remittance-context.xml]]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'depositDao': replacing [Root bean: class [com.cvs.tpms.cashapp.cashdeposit.dao.DepositDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/cashapp-context.xml]] with [Root bean: class [com.cvs.tpms.cashapp.cashdeposit.dao.DepositDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/remittance-context.xml]]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'batchBillDao': replacing [Root bean: class [com.cvs.tpms.cashapplication.dao.BatchBillDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/cashapplication-context.xml]] with [Root bean: class [com.cvs.tpms.cashapplication.dao.BatchBillDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/remittance-context.xml]]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'planDetailDao': replacing [Root bean: class [com.cvs.tpms.remittance.dao.PlanDetailDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/cashapplication-context.xml]] with [Root bean: class [com.cvs.tpms.remittance.dao.PlanDetailDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/remittance-context.xml]]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'matchCriteriaDao': replacing [Root bean: class [com.cvs.tpms.cashapp.cashmasterinfo.dao.MatchCriteriaDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/cashapp-context.xml]] with [Root bean: class [com.cvs.tpms.cashapp.cashmasterinfo.dao.MatchCriteriaDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/remittance-context.xml]]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'wqRemitHeaderDao': replacing [Root bean: class [com.cvs.tpms.cashapplication.dao.WqRemitHeaderDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/cashapplication-context.xml]] with [Root bean: class [com.cvs.tpms.cashapplication.dao.WqRemitHeaderDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/remittance-context.xml]]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'viewAssignedWorkGenericSearchServiceImpl': replacing [Root bean: class [com.cvs.tpms.remittance.service.ViewAssignedWorkGenericSearchServiceImpl]; scope=prototype; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/common-context.xml]] with [Root bean: class [com.cvs.tpms.remittance.service.ViewAssignedWorkGenericSearchServiceImpl]; scope=prototype; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/remittance-context.xml]]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'remitHeaderDAO': replacing [Root bean: class [com.cvs.tpms.remittance.dao.RemitHeaderDAOImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/cashapplication-context.xml]] with [Root bean: class [com.cvs.tpms.remittance.dao.RemitHeaderDAOImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/remittance-context.xml]]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'ViewAssignedWorkGenericSearchAction': replacing [Root bean: class [com.cvs.tpms.remittance.action.ViewAssignedWorkGenericSearchAction]; scope=prototype; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/common-context.xml]] with [Root bean: class [com.cvs.tpms.remittance.action.ViewAssignedWorkGenericSearchAction]; scope=prototype; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/remittance-context.xml]]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'wqGlDetailDao': replacing [Root bean: class [com.cvs.tpms.cashapplication.dao.WqGlDetailDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/cashapplication-context.xml]] with [Root bean: class [com.cvs.tpms.cashapplication.dao.WqGlDetailDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/remittance-context.xml]]
INFO (org.springframework.beans.factory.xml.XmlBeanDefinitionReader:?) - Loading XML bean definitions from ServletContext resource [/WEB-INF/classes/filemanagementDeposit-context.xml]
INFO (org.springframework.beans.factory.xml.XmlBeanDefinitionReader:?) - Loading XML bean definitions from ServletContext resource [/WEB-INF/classes/filemanagement-context.xml]
INFO (org.springframework.beans.factory.xml.XmlBeanDefinitionReader:?) - Loading XML bean definitions from ServletContext resource [/WEB-INF/classes/claimcorrection-context.xml]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'glMasterDao': replacing [Root bean: class [com.cvs.tpms.cashapp.cashdeposit.dao.GlMasterDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/cashapp-context.xml]] with [Root bean: class [com.cvs.tpms.cashapp.cashdeposit.dao.GlMasterDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/claimcorrection-context.xml]]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'frquencyCycleParameterDao': replacing [Root bean: class [com.cvs.tpms.dao.FrequencyCycleParameterDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/tpmsinfo-context.xml]] with [Root bean: class [com.cvs.tpms.dao.FrequencyCycleParameterDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/claimcorrection-context.xml]]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'frequencyCycleParameterService': replacing [Root bean: class [com.cvs.tpms.service.FrequencyCycleParameterServiceImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/tpmsinfo-context.xml]] with [Root bean: class [com.cvs.tpms.service.FrequencyCycleParameterServiceImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/claimcorrection-context.xml]]
INFO (org.springframework.beans.factory.xml.XmlBeanDefinitionReader:?) - Loading XML bean definitions from ServletContext resource [/WEB-INF/classes/admin-context.xml]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'stateDao': replacing [Root bean: class [com.cvs.tpms.admin.dao.StateDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/cashapp-context.xml]] with [Root bean: class [com.cvs.tpms.admin.dao.StateDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/admin-context.xml]]
INFO (org.springframework.beans.factory.xml.XmlBeanDefinitionReader:?) - Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext-acegi.xml]
INFO (org.springframework.beans.factory.xml.XmlBeanDefinitionReader:?) - Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext-ehcache.xml]
INFO (org.springframework.web.context.support.XmlWebApplicationContext:?) - Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@1ff66bd]: org.springframework.beans.factory.support.DefaultListableBeanFactory@1e3cabd
INFO (org.springframework.web.context.support.XmlWebApplicationContext:?) - Bean 'dataSource' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
INFO (org.springframework.web.context.support.XmlWebApplicationContext:?) - Bean 'dataSource' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
INFO (org.springframework.web.context.support.XmlWebApplicationContext:?) - Bean 'org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter#10ace8d' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
INFO (org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean:?) - Building JPA container EntityManagerFactory for persistence unit 'punit'
Regards,
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Am glad you got past the Security error and got it to work with Sun JVM on Windows. The trace that you have sent contains no errors, so i cant figure out what could be going wrong.
Try this :
1) Instrument only your own application classes first.
2) Access the application and see if the application works.
This way you will atleast get your application timings. During application access if you get any error you can post it here. Without any error logs it will be difficult to figure out whats wrong.
Regards,
Amol
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Please clarify how to get unlimited strength Jurisdiction policy on unix machine as we weer unable to find any relevant informational details on the link provided by you. ? Is there any installable file that needs to be run on unix machine ? Can you specify which policy need to be set for unlimited access ?
Also let me know how do we get the TCP/IP port 21999 open on unix? Is there any installer there for Jensor 1.7 for Unix [AIX box] machine. What we got is a tar file which creates jensor folder in the current directory. We manually need to set JENSOR_HOME variable in .profile.
I spoke with unix team here they said there must be some service which opens port.
Regards,
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
We were able to get through security restrictions policy error but stuck at the time of instrumented war deployment. Weblogic server hangs forever at line :
Building JPA container EntityManagerFactory for persistence unit 'punit'
After waiting for long time it throws "deployment time out error".
So bottom line is we are unable to deploy instrumented war on weblogic server.
---------------------------------------------------------------
ull; defined in class path resource [cashapp-context.xml]] with [Root bean: class [com.cvs.tpms.admin.dao.StateDaoImpl]; scope
=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; f
actoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [admin-context.xml]]
INFO (org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean:?) - Building JPA container EntityManagerFactory for persistence unit 'punit'
<Nov 12, 2008 3:20:49 PM GMT+05:30> <Notice> <DeploymentRequestTimeoutLogger> <000000> <[DeploymentService:290051]The commit m
essage for the deployment '1,226,479,848,703' could not be completed because the deployment timed out. : Targets to respond :
[AdminServer]>
<Nov 12, 2008 3:20:49 PM GMT+05:30> <Notice> <DeploymentRequestTimeoutLogger> <000000> <ThreadDumps on servers [AdminServer]{
ThreadDump for AdminServer<
Try selectively instrumenting only your (tpms) application classes from the war instead the whole war.
I have no idea why deployment is timing out. In fact Jensor plays no role during deployment. Jensor is activated on first call to instrument class method.
Regards,
Amol
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
All right, we tried instrumenting couple of files. This time we were able to deploy application on App server but now getting this error messages :
----------------------------------------------------------
at com.tcs.perc.jensor.core.Profile.run(Profile.java:476)
at java.lang.Thread.run(Thread.java:810)
java.lang.NullPointerException
at com.tcs.perc.jensor.core.Profile.run(Profile.java:476)
at java.lang.Thread.run(Thread.java:810)
java.lang.NullPointerException
at com.tcs.perc.jensor.core.Profile.run(Profile.java:476)
at java.lang.Thread.run(Thread.java:810)
java.lang.NullPointerException
at com.tcs.perc.jensor.core.Profile.run(Profile.java:476)
at java.lang.Thread.run(Thread.java:810)
INFO (com.cvs.tpms.framework.security.utility:?) - msg = Cache is Loding, className = com.cvs.tpms.framework.security.utility.TpmsFilterInvocationDefinitionSource, functionName = getRolesForUrl
Hibernate: SELECT u.* from TPMS_URL_ROLE u
java.lang.NullPointerException
at com.tcs.perc.jensor.core.Profile.run(Profile.java:476)
at java.lang.Thread.run(Thread.java:810)
System authorized /127.0.0.1 : 127.0.0.1
Handling client at 127.0.0.1 on port 65025 at local port 21999
send buffer size is 134752
start,Administrator,perf123 received
sent y
java.lang.NullPointerException
at com.tcs.perc.jensor.core.Profile.run(Profile.java:476)
at java.lang.Thread.run(Thread.java:810)
java.lang.NullPointerException
at com.tcs.perc.jensor.core.Profile.run(Profile.java:476)
at java.lang.Thread.run(Thread.java:810)
INFO (com.opensymphony.xwork2.validator.ActionValidatorManagerFactory:29) - Detected AnnotationActionValidatorManager, initializing it...
---------------------------------------------------
Regards,
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The error occurs if the memory statistics collection was interrupted. The moment this thread gets interrupted it closes the file which into which memory statistics get logged into.
I need a bigger stack trace to analyze why that thread was interrupted. This site has the facility to upload logs with the post. You can use this facility to post the stdout file so that more contextual information is available for debugging.
That said, occurrence of this exception will only supress capturing memory statistics. All other Jensor data will continue to get captured and will be available for analysis upon data collation.
Regards,
Amol
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am using Jensor to profile my java application. I instrumented a war file of my application from Jensor V 1.7, but whenever i try to deploy the instrumented war on application server(web logic9.2), I am getting the following error:
starting weblogic with Java version:
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build pap64dev-20080716b (SR8))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc64-64 j9vmap6423-20080716 (JIT enabled)
J9VM - 20080625_20583_BHdSMr
JIT - 20080620_1845_r8
GC - 200806_19)
JCL - 20080716a
Starting WLS with line:
/usr/java5_64/bin/java -Xms512m -Xmx512m -da -Dplatform.home=/rxc/bea92/weblogic92 -Dwls.home=/rxc/bea92/weblogic92/server -Dwli.home=/rxc/bea92/weblogic92/integration -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/rxc/bea92/patch_weblogic920/profiles/default/sysext_manifest_classpath -Dweblogic.Name=AdminServer -Djava.security.policy=/rxc/bea92/weblogic92/server/lib/weblogic.policy -Dname=9011Server -Dcom.sun.xml.namespace.QName.useCompatibleSerialVersionUID=1.0 weblogic.Server
<Nov 5, 2008 4:53:00 PM GMT+05:30> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
/tpms/bea_data/user_projects/domains/9011_domain/lib/glazedlists-1.7.0_java14.jar:/tpms/bea_data/user_projects/domains/9011_domain/lib/jcommon-1.0.13.jar:/tpms/bea_data/user_projects/domains/9011_domain/lib/jensorjdk14-v17-unix.jar:/tpms/bea_data/user_projects/domains/9011_domain/lib/jfreechart-1.0.10.jar:/rxc/bea92/weblogic92/platform/lib/p13n/p13n-schemas.jar:/rxc/bea92/weblogic92/platform/lib/p13n/p13n_common.jar:/rxc/bea92/weblogic92/platform/lib/p13n/p13n_system.jar:/rxc/bea92/weblogic92/platform/lib/wlp/netuix_common.jar:/rxc/bea92/weblogic92/platform/lib/wlp/netuix_schemas.jar:/rxc/bea92/weblogic92/platform/lib/wlp/netuix_system.jar:/rxc/bea92/weblogic92/platform/lib/wlp/wsrp-common.jar>
<Nov 5, 2008 4:53:01 PM GMT+05:30> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with IBM J9 VM Version 2.3 from IBM Corporation>
<Nov 5, 2008 4:53:03 PM GMT+05:30> <Info> <Management> <BEA-141107> <Version: WebLogic Server 9.2 Fri Jun 23 20:47:26 EDT 2006 783464 >
<Nov 5, 2008 4:53:07 PM GMT+05:30> <Info> <WebLogicServer> <BEA-000215> <Loaded License : /rxc/bea92/license.bea>
<Nov 5, 2008 4:53:07 PM GMT+05:30> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Nov 5, 2008 4:53:07 PM GMT+05:30> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<Nov 5, 2008 4:53:07 PM GMT+05:30> <Notice> <Log Management> <BEA-170019> <The server log file /tpms/bea_data/user_projects/domains/9011_domain/servers/AdminServer/logs/AdminServer.log is opened. All server side log events will be written to this file.>
<Nov 5, 2008 4:53:08 PM GMT+05:30> <Error> <Socket> <BEA-000438> <Unable to load performance pack. Using Java I/O instead. Please ensure that libmuxer library is in :'/usr/java5_64/jre/bin:/usr/java5_64/jre/bin:/usr/java5_64/jre/bin/classic:/usr/java5_64/jre/bin:/rxc/bea92/patch_weblogic920/profiles/default/native:/rxc/bea92/weblogic92/server/native/aix/ppc:/usr/java5_64/jre/bin/j9vm:/usr/lib'
>
<Nov 5, 2008 4:53:11 PM GMT+05:30> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<Nov 5, 2008 4:53:16 PM GMT+05:30> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<Nov 5, 2008 4:53:16 PM GMT+05:30> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Nov 5, 2008 4:53:18 PM GMT+05:30> <Notice> <Log Management> <BEA-170027> <The server initialized the domain log broadcaster successfully. Log messages will now be broadcasted to the domain log.>
<Nov 5, 2008 4:53:18 PM GMT+05:30> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<Nov 5, 2008 4:53:18 PM GMT+05:30> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
<Nov 5, 2008 4:53:19 PM GMT+05:30> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 172.21.172.160:9011 for protocols iiop, t3, ldap, http.>
<Nov 5, 2008 4:53:19 PM GMT+05:30> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 127.0.0.1:9011 for protocols iiop, t3, ldap, http.>
<Nov 5, 2008 4:53:19 PM GMT+05:30> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "AdminServer" for domain "9011_domain" running in Development Mode>
<Nov 5, 2008 4:53:19 PM GMT+05:30> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<Nov 5, 2008 4:53:19 PM GMT+05:30> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
<Nov 5, 2008 4:53:48 PM GMT+05:30> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=HomePage1.>
<Nov 5, 2008 4:53:48 PM GMT+05:30> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=HomePage1.>
(Location of error unknown)Duplicate variable declaration for: 'value'
Finding Platform info ...
Current platform is AIX
Executing Shell Command
>>> START_AT_APPLICATION_BOOT=true
>>> CAPTURE_OBJECT_INSTANTIATION=false
>>> Currently not capturing Object Instantiations data
JC-000: Jensor v1.7 is being used
JC-001: Java Profiler: starting
JC-002: Available Processors 4
JC-003: Initialized with memory 512MB
JC-004: Current free memory 341MB
JC-005: Current working Directory /tpms/bea_data/user_projects/domains/9011_domain
JC-006: JENSOR_HOME : /tpms/Jensor
JC-008: *** No class filters applied. Profiler will profile all application classes ***
Exception in thread "JensorThread" java.lang.NoClassDefFoundError: com.tcs.perc.jensor.core.Profile (initialization failure)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:134)
at com.tcs.perc.jensor.core.Profile.run(Profile.java:397)
at java.lang.Thread.run(Thread.java:810)
Caused by: java.lang.ExceptionInInitializerError
at java.lang.J9VMInternals.initialize(J9VMInternals.java:218)
at javax.crypto.SecretKeyFactory.getInstance(Unknown Source)
at com.tcs.perc.jensor.UI.Encrypt.createKey(Encrypt.java:65)
at com.tcs.perc.jensor.UI.Encrypt.<init>(Encrypt.java:175)
at com.tcs.perc.jensor.core.JensorServer.<init>(JensorServer.java:581)
at com.tcs.perc.jensor.core.Profile.<clinit>(Profile.java:222)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:196)
at org.springframework.web.context.ContextLoaderListener.<init>(Unknown Source)
at java.lang.Class.newInstanceImpl(Native Method)
at java.lang.Class.newInstance(Class.java:1328)
at weblogic.servlet.internal.EventsManager.registerEventListener(EventsManager.java:275)
at weblogic.servlet.internal.EventsManager.registerEventListeners(EventsManager.java:257)
at weblogic.servlet.internal.WebAppServletContext.initContextListeners(WebAppServletContext.java:1573)
at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1037)
at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:433)
at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:408)
at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:552)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:287)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:621)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:208)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:189)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:87)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:718)
at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1185)
at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:247)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:157)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
Caused by: java.lang.SecurityException: Cannot set up certs for trusted CAs
at javax.crypto.b.<clinit>(Unknown Source)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:196)
... 42 more
Caused by: java.lang.SecurityException: Jurisdiction policy files are not signed by trusted signers!
at javax.crypto.b.a(Unknown Source)
at javax.crypto.b.a(Unknown Source)
at javax.crypto.b.access$600(Unknown Source)
at javax.crypto.b$0.run(Unknown Source)
at java.security.AccessController.doPrivileged(AccessController.java:246)
... 45 more
<Nov 5, 2008 4:54:33 PM GMT+05:30> <Error> <Deployer> <BEA-149265> <Failure occured in the execution of deployment request with ID '1225884270599' for task '0'. Error is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:295)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
Truncated. see log file for complete stacktrace
java.lang.SecurityException: Jurisdiction policy files are not signed by trusted signers!
at javax.crypto.b.a(Unknown Source)
at javax.crypto.b.a(Unknown Source)
at javax.crypto.b.access$600(Unknown Source)
at javax.crypto.b$0.run(Unknown Source)
at java.security.AccessController.doPrivileged(AccessController.java:246)
Truncated. see log file for complete stacktrace
>
<Nov 5, 2008 4:54:33 PM GMT+05:30> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating distribute task for application 'tpms'.>
<Nov 5, 2008 4:54:33 PM GMT+05:30> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:295)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
Truncated. see log file for complete stacktrace
java.lang.SecurityException: Jurisdiction policy files are not signed by trusted signers!
at javax.crypto.b.a(Unknown Source)
at javax.crypto.b.a(Unknown Source)
at javax.crypto.b.access$600(Unknown Source)
at javax.crypto.b$0.run(Unknown Source)
at java.security.AccessController.doPrivileged(AccessController.java:246)
Truncated. see log file for complete stacktrace
>
<Nov 5, 2008 4:54:33 PM GMT+05:30> <Error> <Console> <BEA-240003> <Console encountered the following error weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:295)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:621)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:208)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:189)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:87)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:718)
at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1185)
at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:247)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:157)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
Caused by: java.lang.SecurityException: Jurisdiction policy files are not signed by trusted signers!
at javax.crypto.b.a(Unknown Source)
at javax.crypto.b.a(Unknown Source)
at javax.crypto.b.access$600(Unknown Source)
at javax.crypto.b$0.run(Unknown Source)
at java.security.AccessController.doPrivileged(AccessController.java:246)
at javax.crypto.b.<clinit>(Unknown Source)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:196)
at javax.crypto.SecretKeyFactory.getInstance(Unknown Source)
at com.tcs.perc.jensor.UI.Encrypt.createKey(Encrypt.java:65)
at com.tcs.perc.jensor.UI.Encrypt.<init>(Encrypt.java:175)
at com.tcs.perc.jensor.core.JensorServer.<init>(JensorServer.java:581)
at com.tcs.perc.jensor.core.Profile.<clinit>(Profile.java:222)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:196)
at org.springframework.web.context.ContextLoaderListener.<init>(Unknown Source)
at java.lang.Class.newInstanceImpl(Native Method)
at java.lang.Class.newInstance(Class.java:1328)
at weblogic.servlet.internal.EventsManager.registerEventListener(EventsManager.java:275)
at weblogic.servlet.internal.EventsManager.registerEventListeners(EventsManager.java:257)
at weblogic.servlet.internal.WebAppServletContext.initContextListeners(WebAppServletContext.java:1573)
at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1037)
at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:433)
at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:408)
at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:552)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:287)
please help
Hi Vikas,
Jensor tries to open a TCP/IP port at 21999. Looks like Jensor is not allowed to create a socket at this port. I dont see "JC-009 : Listening on port 21999" comment in the log. Thats why I suspect you are getting this error.
To rectify this problem, ensure that the Unix user you use to start Weblogic has permissions to open a socket. Since this step is failing, the class initialization does not complete, and you are gettting misleading exception in form of java.lang.NoClassDefFoundError.
Your AIX admin shoud be able to tell you what permissions does the user need to be able to open TCP/IP sockets.
Regards,
Amol
Hi Vikas,
On deeper analysis, it seems like a SecurityException is caused which causes the InitilizationException. So your IBM JVM is preventing the socket from being initialized. This error cascades further.
Did you try googling as to how you instruct a IBM JVM to allow executing files not signed by trusted users. Typically modifying Security policy is never required, but in your case it looks like you may need to.
Regards,
Amol
It definitely is issue with IBM JVM. Check out this link.
http://www.ibm.com/developerworks/forums/thread.jspa?messageID=13774566
At the fag end of the description it says how to obtain Unlimited Strength Jurisdiction Policy Files and how to use them.
Regards,
Amol
Amol,
We still getting the same error as posted above.
Looking at the logs generated by application server :
-------------------------------------------------------------
starting weblogic with Java version:
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build pap64dev-20080716b (SR8))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc64-64 j9vmap6423-20080716 (JIT enabled)
J9VM - 20080625_20583_BHdSMr
JIT - 20080620_1845_r8
GC - 200806_19)
JCL - 20080716a
Starting WLS with line:
/usr/java5_64/bin/java -Xms512m -Xmx512m -da -Dplatform.home=/rxc/bea92/weblogic92 -Dwls.home=/rxc/bea92/weblogic92/server -Dwli.home=/rxc/bea92/weblogic92/integration -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/rxc/bea92/patch_weblogic920/profiles/default/sysext_manifest_classpath -Dweblogic.Name=AdminServer -Djava.security.policy=/rxc/bea92/weblogic92/server/lib/weblogic.policy -Dname=9011Server -Dcom.sun.xml.namespace.QName.useCompatibleSerialVersionUID=1.0 weblogic.Server
<Nov 5, 2008 4:53:00 PM GMT+05:30> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
/tpms/bea_data/user_projects/domains/9011_domain/lib/glazedlists-1.7.0_java14.jar:/tpms/bea_data/user_projects/domains/9011_domain/lib/jcommon-1.0.13.jar:/tpms/bea_data/user_projects/domains/9011_domain/lib/jensorjdk14-v17-unix.jar:/tpms/bea_data/user_projects/domains/9011_domain/lib/jfreechart-1.0.10.jar:/rxc/bea92/weblogic92/platform/lib/p13n/p13n-schemas.jar:/rxc/bea92/weblogic92/platform/lib/p13n/p13n_common.jar:/rxc/bea92/weblogic92/platform/lib/p13n/p13n_system.jar:/rxc/bea92/weblogic92/platform/lib/wlp/netuix_common.jar:/rxc/bea92/weblogic92/platform/lib/wlp/netuix_schemas.jar:/rxc/bea92/weblogic92/platform/lib/wlp/netuix_system.jar:/rxc/bea92/weblogic92/platform/lib/wlp/wsrp-common.jar>
.
.
.
Current platform is AIX
Executing Shell Command
>>> START_AT_APPLICATION_BOOT=true
>>> CAPTURE_OBJECT_INSTANTIATION=false
>>> Currently not capturing Object Instantiations data
JC-000: Jensor v1.7 is being used
JC-001: Java Profiler: starting
JC-002: Available Processors 4
JC-003: Initialized with memory 512MB
JC-004: Current free memory 341MB
JC-005: Current working Directory /tpms/bea_data/user_projects/domains/9011_domain
JC-006: JENSOR_HOME : /tpms/Jensor
JC-008: *** No class filters applied. Profiler will profile all application classes ***
Exception in thread "JensorThread" java.lang.NoClassDefFoundError: com.tcs.perc.jensor.core.Profile (initialization failure)
-------------------------------------------------------------
I can see error occuring at the JC-008 level. App server is not finding jensor jdk, which is present in the class path. [pls see line " <Following extensions directory contents added to the end of the classpath: /tpms/bea_data/user_projects/domains/9011_domain/lib/jensorjdk14-v17-unix.jar:"]. Why app server is not finding jar which is loaded during the time of startup.
We are also not clear how port 21999 [JC-009 : Listening on port 21999] is not open. App server throwing error at JC-008 line, It has not reached to line JC-009 ?
Thanks
Vikas.
Vikas,
Things happen in chronological order
0) Jensor prints "JC-008 ..". Next it requests for opening a socket Connection.
1) IBM JVM security policy prevents it from allowing to create sockets.
2) Jensor throws an exception because it expects the socket to be created.
3) Exception bubbles up and prevents Jensor from initializing.
4) Failure to initialize prevents Jensor classes from being loaded.
5) Since the classes are not loaded, they are not found in classpath (despite being in classpath. Otherwise the JC-00N comments wont have appeared).
This clearly indicates that classpath settings are correct and Security permissions have to be relaxed.
Solution
1) Update your security permissions using procedure mentioned in link posted in my last message.
Also you have not posted the entire stack trace. If you have updated the security policy the error at the bottom of the stack would be interesting to see.
Amol,
Is Jansor 1.7 compatible with IBM Java? Because I am not able to deploy application on AIX machine where IBM Java is installed. Getting same error mentioned above. We also can not deploy application on Sun Java because all servers at client side running IBM Java only.
[I also din't find Sun Java for AIX OS.]
I am trying to instrument war using Jensor 1.4. Will post you about the updates.
Do you know any group in TCS using Jensor? Can you please give me their contact details ?
Regards,
Vikas
Vikas,
Jensor works on .class file version 49.0 and upwards. The .class file specification is issued by Sun and all JVM vendors have to meet the specs for Java to be portable. IBM JVM 1.5.0 of course meets the specs. Hence Jensor also supports IBM JVM.
In your case you just have to work past the security restrictions of the IBM JVM. You just have to obtain a unlimited strength Jurisdiction policy.
For the umpteenth time I am telling you to follow the steps mentioned in the link in previous posts. You will be up and running with Jensor in no time. You have everything else set up. You dont have to go back to Jensor 1.4.
- Amol
Amol,
Running Jensor 1.7 and Weblogic 9.2 on local machine. Able to instrument war successfully. When I deploy it on weblogic all goes well to the point where server hangs forever for Building JPA container EntityManagerFactory. I am running weblogic on 1024 MB of memory. So bottom line is I am even not able to deploy war on local machine. I have admin rights and running SUN JAVA 1.5.
here is the logs :
---------- WebLogic START ----------
.
.
JAVA Memory arguments: -Xms1024m -Xmx1024m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m
.
WLS Start Mode=Development
.
CLASSPATH=;C:\bea\patch_weblogic920\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\bea\JDK150~1\lib\tools.jar;C:\bea\WEBLOG~2\server\lib\weblogic_sp.jar;C:\bea\WEBLOG~2\server\lib\weblogic.jar;C:\bea\WEBLOG~2\server\lib\webservices.jar;;C:\bea\WEBLOG~2\common\eval\pointbase\lib\pbclient51.jar;C:\bea\WEBLOG~2\server\lib\xqrl.jar;;
.
PATH=C:\bea\patch_weblogic920\profiles\default\native;C:\bea\WEBLOG~2\server\native\win\32;C:\bea\WEBLOG~2\server\bin;C:\bea\JDK150~1\jre\bin;C:\bea\JDK150~1\bin;C:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Java\jdk1.5.0_02;C:\Program Files\Java\jdk1.5.0_02\bin;C:\bea\WEBLOG~2\server\native\win\32\oci920_8
.
***************************************************
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http:\\hostname:port\console *
***************************************************
starting weblogic with Java version:
java version "1.5.0_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode)
Starting WLS with line:
C:\bea\JDK150~1\bin\java -client -Xms1024m -Xmx1024m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m -Xverify:none -da -Dplatform.home=C:\bea\WEBLOG~2 -Dwls.home=C:\bea\WEBLOG~2\server -Dwli.home=C:\bea\WEBLOG~2\integration -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\bea\patch_weblogic920\profiles\default\sysext_manifest_classpath -Dweblogic.Name=AdminServer -Djava.security.policy=C:\bea\WEBLOG~2\server\lib\weblogic.policy weblogic.Server
<Nov 11, 2008 5:18:46 PM IST> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
C:\bea\weblogic92\platform\lib\p13n\p13n-schemas.jar;C:\bea\weblogic92\platform\lib\p13n\p13n_common.jar;C:\bea\weblogic92\platform\lib\p13n\p13n_system.jar;C:\bea\weblogic92\platform\lib\wlp\netuix_common.jar;C:\bea\weblogic92\platform\lib\wlp\netuix_schemas.jar;C:\bea\weblogic92\platform\lib\wlp\netuix_system.jar;C:\bea\weblogic92\platform\lib\wlp\wsrp-common.jar>
<Nov 11, 2008 5:18:47 PM IST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 1.5.0_04-b05 from Sun Microsystems Inc.>
<Nov 11, 2008 5:18:48 PM IST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 9.2 Fri Jun 23 20:47:26 EDT 2006 783464 >
<Nov 11, 2008 5:18:52 PM IST> <Info> <WebLogicServer> <BEA-000215> <Loaded License : C:\bea\license.bea>
<Nov 11, 2008 5:18:52 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Nov 11, 2008 5:18:52 PM IST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<Nov 11, 2008 5:18:52 PM IST> <Notice> <Log Management> <BEA-170019> <The server log file C:\bea\user_projects\domains\tpms_domain\servers\AdminServer\logs\AdminServer.log is opened. All server side log events will be written to this file.>
<Nov 11, 2008 5:18:54 PM IST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<Nov 11, 2008 5:18:57 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<Nov 11, 2008 5:18:57 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
Finding Platform info ...
Current platform is Windows XP
>>> START_AT_APPLICATION_BOOT=true
>>> CAPTURE_OBJECT_INSTANTIATION=true
JC-000: Jensor v1.7 is being used
JC-001: Java Profiler: starting
JC-002: Available Processors 2
JC-003: Initialized with memory 1016MB
JC-004: Current free memory 980MB
JC-005: Current working Directory C:\bea\user_projects\domains\tpms_domain
JC-006: JENSOR_HOME : C:\Program Files\Jensor\ JC-008: *** No class filters applied. Profiler will profile all application classes ***
JC-009: JensorServer listening at port 21999
INFO (org.springframework.web.context.ContextLoader:?) - Root WebApplicationContext: initialization started
INFO (org.springframework.web.context.support.XmlWebApplicationContext:?) - Refreshing org.springframework.web.context.support.XmlWebApplicationContext@1ff66bd: display name [Root WebApplicationContext]; startup date [Tue Nov 11 17:19:27 IST 2008]; root of context hierarchy
INFO (org.springframework.beans.factory.xml.XmlBeanDefinitionReader:?) - Loading XML bean definitions from ServletContext resource [/WEB-INF/classes/ApplicationContext.xml]
INFO (org.springframework.beans.factory.xml.XmlBeanDefinitionReader:?) - Loading XML bean definitions from ServletContext resource [/WEB-INF/classes/common-context.xml]
INFO (org.springframework.beans.factory.xml.XmlBeanDefinitionReader:?) - Loading XML bean definitions from ServletContext resource [/WEB-INF/classes/tpmsinfo-context.xml]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'businessUnitDao': replacing [Root bean: class [com.cvs.tpms.storesetup.dao.BusinessUnitDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/common-context.xml]] with [Root bean: class [com.cvs.tpms.storesetup.dao.BusinessUnitDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/tpmsinfo-context.xml]]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'wqGroupDao': replacing [Root bean: class [com.cvs.tpms.wqsetup.dao.WqGroupDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/common-context.xml]] with [Root bean: class [com.cvs.tpms.wqsetup.dao.WqGroupDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/tpmsinfo-context.xml]]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'tpmsCodeDao': replacing [Root bean: class [com.cvs.tpms.dao.TpmsCodeDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/common-context.xml]] with [Root bean: class [com.cvs.tpms.dao.TpmsCodeDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/tpmsinfo-context.xml]]
INFO (org.springframework.beans.factory.xml.XmlBeanDefinitionReader:?) - Loading XML bean definitions from ServletContext resource [/WEB-INF/classes/depositforecasting-context.xml]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'corporateSalesForecastHdrDao': replacing [Root bean: class [com.cvs.tpms.depositforecasting.dao.CorporateSalesForecastHdrDAOImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/common-context.xml]] with [Root bean: class [com.cvs.tpms.depositforecasting.dao.CorporateSalesForecastHdrDAOImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/depositforecasting-context.xml]]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'salesForecastDetailDao': replacing [Root bean: class [com.cvs.tpms.depositforecasting.dao.SalesForecastDetailDAOImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/common-context.xml]] with [Root bean: class [com.cvs.tpms.depositforecasting.dao.SalesForecastDetailDAOImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/depositforecasting-context.xml]]
INFO (org.springframework.beans.factory.xml.XmlBeanDefinitionReader:?) - Loading XML bean definitions from ServletContext resource [/WEB-INF/classes/billing-context.xml]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'associatedBillingFormatDao': replacing [Root bean: class [com.cvs.tpms.bpsetup.dao.AssociatedBillingFormatDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/tpmsinfo-context.xml]] with [Root bean: class [com.cvs.tpms.bpsetup.dao.AssociatedBillingFormatDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/billing-context.xml]]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'billingProcessorDao': replacing [Root bean: class [com.cvs.tpms.bpsetup.dao.BillingProcessorDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/tpmsinfo-context.xml]] with [Root bean: class [com.cvs.tpms.bpsetup.dao.BillingProcessorDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/billing-context.xml]]
INFO (org.springframework.beans.factory.xml.XmlBeanDefinitionReader:?) - Loading XML bean definitions from ServletContext resource [/WEB-INF/classes/cashapplication-context.xml]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'payerDao': replacing [Root bean: class [com.cvs.tpms.bpsetup.dao.PayerDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/tpmsinfo-context.xml]] with [Root bean: class [com.cvs.tpms.bpsetup.dao.PayerDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/cashapplication-context.xml]]
INFO (org.springframework.beans.factory.xml.XmlBeanDefinitionReader:?) - Loading XML bean definitions from ServletContext resource [/WEB-INF/classes/liability-context.xml]
INFO (org.springframework.beans.factory.xml.XmlBeanDefinitionReader:?) - Loading XML bean definitions from ServletContext resource [/WEB-INF/classes/cashapp-context.xml]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'depositDao': replacing [Root bean: class [com.cvs.tpms.cashapp.cashdeposit.dao.DepositDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/cashapplication-context.xml]] with [Root bean: class [com.cvs.tpms.cashapp.cashdeposit.dao.DepositDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/cashapp-context.xml]]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'storeDao': replacing [Root bean: class [com.cvs.tpms.storesetup.dao.StoreDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/tpmsinfo-context.xml]] with [Root bean: class [com.cvs.tpms.storesetup.dao.StoreDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/cashapp-context.xml]]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'storeProviderNumberDao': replacing [Root bean: class [com.cvs.tpms.storesetup.dao.StoreProviderNumberDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/tpmsinfo-context.xml]] with [Root bean: class [com.cvs.tpms.storesetup.dao.StoreProviderNumberDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/cashapp-context.xml]]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'micrDao': replacing [Root bean: class [com.cvs.tpms.cashapp.cashmasterinfo.dao.MicrDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/cashapplication-context.xml]] with [Root bean: class [com.cvs.tpms.cashapp.cashmasterinfo.dao.MicrDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/cashapp-context.xml]]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'planGroupDao': replacing [Root bean: class [com.cvs.tpms.plansetup.dao.PlanGroupDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/tpmsinfo-context.xml]] with [Root bean: class [com.cvs.tpms.plansetup.dao.PlanGroupDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/cashapp-context.xml]]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'wqDetailDao': replacing [Root bean: class [com.cvs.tpms.cashapp.cashdeposit.dao.WqDetailDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/cashapplication-context.xml]] with [Root bean: class [com.cvs.tpms.cashapp.cashdeposit.dao.WqDetailDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/cashapp-context.xml]]
INFO (org.springframework.beans.factory.xml.XmlBeanDefinitionReader:?) - Loading XML bean definitions from ServletContext resource [/WEB-INF/classes/remittance-context.xml]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'planDao': replacing [Root bean: class [com.cvs.tpms.plansetup.dao.PlanDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/tpmsinfo-context.xml]] with [Root bean: class [com.cvs.tpms.plansetup.dao.PlanDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/remittance-context.xml]]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'depositDao': replacing [Root bean: class [com.cvs.tpms.cashapp.cashdeposit.dao.DepositDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/cashapp-context.xml]] with [Root bean: class [com.cvs.tpms.cashapp.cashdeposit.dao.DepositDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/remittance-context.xml]]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'batchBillDao': replacing [Root bean: class [com.cvs.tpms.cashapplication.dao.BatchBillDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/cashapplication-context.xml]] with [Root bean: class [com.cvs.tpms.cashapplication.dao.BatchBillDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/remittance-context.xml]]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'planDetailDao': replacing [Root bean: class [com.cvs.tpms.remittance.dao.PlanDetailDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/cashapplication-context.xml]] with [Root bean: class [com.cvs.tpms.remittance.dao.PlanDetailDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/remittance-context.xml]]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'matchCriteriaDao': replacing [Root bean: class [com.cvs.tpms.cashapp.cashmasterinfo.dao.MatchCriteriaDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/cashapp-context.xml]] with [Root bean: class [com.cvs.tpms.cashapp.cashmasterinfo.dao.MatchCriteriaDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/remittance-context.xml]]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'wqRemitHeaderDao': replacing [Root bean: class [com.cvs.tpms.cashapplication.dao.WqRemitHeaderDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/cashapplication-context.xml]] with [Root bean: class [com.cvs.tpms.cashapplication.dao.WqRemitHeaderDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/remittance-context.xml]]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'viewAssignedWorkGenericSearchServiceImpl': replacing [Root bean: class [com.cvs.tpms.remittance.service.ViewAssignedWorkGenericSearchServiceImpl]; scope=prototype; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/common-context.xml]] with [Root bean: class [com.cvs.tpms.remittance.service.ViewAssignedWorkGenericSearchServiceImpl]; scope=prototype; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/remittance-context.xml]]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'remitHeaderDAO': replacing [Root bean: class [com.cvs.tpms.remittance.dao.RemitHeaderDAOImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/cashapplication-context.xml]] with [Root bean: class [com.cvs.tpms.remittance.dao.RemitHeaderDAOImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/remittance-context.xml]]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'ViewAssignedWorkGenericSearchAction': replacing [Root bean: class [com.cvs.tpms.remittance.action.ViewAssignedWorkGenericSearchAction]; scope=prototype; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/common-context.xml]] with [Root bean: class [com.cvs.tpms.remittance.action.ViewAssignedWorkGenericSearchAction]; scope=prototype; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/remittance-context.xml]]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'wqGlDetailDao': replacing [Root bean: class [com.cvs.tpms.cashapplication.dao.WqGlDetailDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/cashapplication-context.xml]] with [Root bean: class [com.cvs.tpms.cashapplication.dao.WqGlDetailDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/remittance-context.xml]]
INFO (org.springframework.beans.factory.xml.XmlBeanDefinitionReader:?) - Loading XML bean definitions from ServletContext resource [/WEB-INF/classes/filemanagementDeposit-context.xml]
INFO (org.springframework.beans.factory.xml.XmlBeanDefinitionReader:?) - Loading XML bean definitions from ServletContext resource [/WEB-INF/classes/filemanagement-context.xml]
INFO (org.springframework.beans.factory.xml.XmlBeanDefinitionReader:?) - Loading XML bean definitions from ServletContext resource [/WEB-INF/classes/claimcorrection-context.xml]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'glMasterDao': replacing [Root bean: class [com.cvs.tpms.cashapp.cashdeposit.dao.GlMasterDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/cashapp-context.xml]] with [Root bean: class [com.cvs.tpms.cashapp.cashdeposit.dao.GlMasterDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/claimcorrection-context.xml]]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'frquencyCycleParameterDao': replacing [Root bean: class [com.cvs.tpms.dao.FrequencyCycleParameterDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/tpmsinfo-context.xml]] with [Root bean: class [com.cvs.tpms.dao.FrequencyCycleParameterDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/claimcorrection-context.xml]]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'frequencyCycleParameterService': replacing [Root bean: class [com.cvs.tpms.service.FrequencyCycleParameterServiceImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/tpmsinfo-context.xml]] with [Root bean: class [com.cvs.tpms.service.FrequencyCycleParameterServiceImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/claimcorrection-context.xml]]
INFO (org.springframework.beans.factory.xml.XmlBeanDefinitionReader:?) - Loading XML bean definitions from ServletContext resource [/WEB-INF/classes/admin-context.xml]
INFO (org.springframework.beans.factory.support.DefaultListableBeanFactory:?) - Overriding bean definition for bean 'stateDao': replacing [Root bean: class [com.cvs.tpms.admin.dao.StateDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/cashapp-context.xml]] with [Root bean: class [com.cvs.tpms.admin.dao.StateDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/classes/admin-context.xml]]
INFO (org.springframework.beans.factory.xml.XmlBeanDefinitionReader:?) - Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext-acegi.xml]
INFO (org.springframework.beans.factory.xml.XmlBeanDefinitionReader:?) - Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext-ehcache.xml]
INFO (org.springframework.web.context.support.XmlWebApplicationContext:?) - Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@1ff66bd]: org.springframework.beans.factory.support.DefaultListableBeanFactory@1e3cabd
INFO (org.springframework.web.context.support.XmlWebApplicationContext:?) - Bean 'dataSource' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
INFO (org.springframework.web.context.support.XmlWebApplicationContext:?) - Bean 'dataSource' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
INFO (org.springframework.web.context.support.XmlWebApplicationContext:?) - Bean 'org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter#10ace8d' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
INFO (org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean:?) - Building JPA container EntityManagerFactory for persistence unit 'punit'
Regards,
Hi Vikas,
Am glad you got past the Security error and got it to work with Sun JVM on Windows. The trace that you have sent contains no errors, so i cant figure out what could be going wrong.
Try this :
1) Instrument only your own application classes first.
2) Access the application and see if the application works.
This way you will atleast get your application timings. During application access if you get any error you can post it here. Without any error logs it will be difficult to figure out whats wrong.
Regards,
Amol
Amol,
Please clarify how to get unlimited strength Jurisdiction policy on unix machine as we weer unable to find any relevant informational details on the link provided by you. ? Is there any installable file that needs to be run on unix machine ? Can you specify which policy need to be set for unlimited access ?
Also let me know how do we get the TCP/IP port 21999 open on unix? Is there any installer there for Jensor 1.7 for Unix [AIX box] machine. What we got is a tar file which creates jensor folder in the current directory. We manually need to set JENSOR_HOME variable in .profile.
I spoke with unix team here they said there must be some service which opens port.
Regards,
Vikas,
To download IBM SDK Policy files do as follows
1) Go to http://www-128.ibm.com/developerworks/java/jdk/security/50/
2) Click on IBM SDK Policy files link.
3) It will ask you to login. You will need to register if you dont have an IBM ID.
4) A page with "Unrestricted JCE files" will open. Select Unrestricted JCE Policy files for SDK for all newer versions for versions 1.4.2+
5) Click on "Continue". It will ask to agree to terms and conditions of downloading files. Accept them.
6) Download "unrestricted.zip" file from the next screen.
7) This ZIP file should be unpacked and the two JAR files placed in the JRE's jre/lib/security/ directory
8) Reboot your JVM. Your app and Jensor should start.
Regards,
Amol
Amol,
We were able to get through security restrictions policy error but stuck at the time of instrumented war deployment. Weblogic server hangs forever at line :
Building JPA container EntityManagerFactory for persistence unit 'punit'
After waiting for long time it throws "deployment time out error".
So bottom line is we are unable to deploy instrumented war on weblogic server.
---------------------------------------------------------------
ull; defined in class path resource [cashapp-context.xml]] with [Root bean: class [com.cvs.tpms.admin.dao.StateDaoImpl]; scope
=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; f
actoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [admin-context.xml]]
INFO (org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean:?) - Building JPA container EntityManagerFactory for persistence unit 'punit'
<Nov 12, 2008 3:20:49 PM GMT+05:30> <Notice> <DeploymentRequestTimeoutLogger> <000000> <[DeploymentService:290051]The commit m
essage for the deployment '1,226,479,848,703' could not be completed because the deployment timed out. : Targets to respond :
[AdminServer]>
<Nov 12, 2008 3:20:49 PM GMT+05:30> <Notice> <DeploymentRequestTimeoutLogger> <000000> <ThreadDumps on servers [AdminServer]{
ThreadDump for AdminServer<
---------------------------------------------------------------
Regards,
Try selectively instrumenting only your (tpms) application classes from the war instead the whole war.
I have no idea why deployment is timing out. In fact Jensor plays no role during deployment. Jensor is activated on first call to instrument class method.
Regards,
Amol
All right, we tried instrumenting couple of files. This time we were able to deploy application on App server but now getting this error messages :
----------------------------------------------------------
at com.tcs.perc.jensor.core.Profile.run(Profile.java:476)
at java.lang.Thread.run(Thread.java:810)
java.lang.NullPointerException
at com.tcs.perc.jensor.core.Profile.run(Profile.java:476)
at java.lang.Thread.run(Thread.java:810)
java.lang.NullPointerException
at com.tcs.perc.jensor.core.Profile.run(Profile.java:476)
at java.lang.Thread.run(Thread.java:810)
java.lang.NullPointerException
at com.tcs.perc.jensor.core.Profile.run(Profile.java:476)
at java.lang.Thread.run(Thread.java:810)
INFO (com.cvs.tpms.framework.security.utility:?) - msg = Cache is Loding, className = com.cvs.tpms.framework.security.utility.TpmsFilterInvocationDefinitionSource, functionName = getRolesForUrl
Hibernate: SELECT u.* from TPMS_URL_ROLE u
java.lang.NullPointerException
at com.tcs.perc.jensor.core.Profile.run(Profile.java:476)
at java.lang.Thread.run(Thread.java:810)
System authorized /127.0.0.1 : 127.0.0.1
Handling client at 127.0.0.1 on port 65025 at local port 21999
send buffer size is 134752
start,Administrator,perf123 received
sent y
java.lang.NullPointerException
at com.tcs.perc.jensor.core.Profile.run(Profile.java:476)
at java.lang.Thread.run(Thread.java:810)
java.lang.NullPointerException
at com.tcs.perc.jensor.core.Profile.run(Profile.java:476)
at java.lang.Thread.run(Thread.java:810)
INFO (com.opensymphony.xwork2.validator.ActionValidatorManagerFactory:29) - Detected AnnotationActionValidatorManager, initializing it...
---------------------------------------------------
Regards,
Vikas,
The error occurs if the memory statistics collection was interrupted. The moment this thread gets interrupted it closes the file which into which memory statistics get logged into.
I need a bigger stack trace to analyze why that thread was interrupted. This site has the facility to upload logs with the post. You can use this facility to post the stdout file so that more contextual information is available for debugging.
That said, occurrence of this exception will only supress capturing memory statistics. All other Jensor data will continue to get captured and will be available for analysis upon data collation.
Regards,
Amol