You are doing everything correct. We have goofed up a bit this time. Jensor 1.8 has a bug instrumenting simple class files and packaged war /ear files. It however works well for jar files. Thats the reason the sample application (Java2D) worked but your Websphere based application isnt working. We are working on it and a fix will be released soon (in less than 10 days). Pls. bear with us.
As of now you have two options :
1) When you select the 'folder' option for instrumentation, select only jar files of interest. This way you will get data atleast for the jar files in your application.
2) Jensor 1.7 works well in instrumenting .class, jars and war/ear files.
Also could you pls. file a bug report on this site?
Regards,
Amol
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am now trying to configure JENSOR 1.7 on Web Sphere 5.1. in Win XP OS.
I have implemented the following steps in doing so:
*I am successfully running my project named "OriGEnator" on "localhost : 9080" in IBM WebSphere using WSAD.
1. Successfully installed and ran "Java2D" demo as guided in installation guide. Got all expected result.
2. Copied 'jensorjdk14-v18-win32.jar' to the folder 'lib' in my project "OriGEnator" and added the same to Java Build path.
Rebuilded the work space entirely.
3. From WSAD 'disabled' option 'Rebuild on resource modification' to prevent auto compilation in future.
4. Created new project in Jensor and to "Instrument" selected the project's root folder named "OriGEnatorWorkspace" (instead
of jar/war/ear individually).
5. Got options to selectively select packages; I selected all the packaged class files only and clicked on "OK".
6. Got pop up showing selected class files to instrument. Clicked on "Instrument".
7. Jensor displayed how many classes has been instrumented and created an identical project (with the same higherarchial
structure and size) in %JENSOR_HOME%/projects/<project name>/instrumented folder--"OriGEnatorWorkspace" . The uninstrumented folder also contains a copy of the same --"OriGEnatorWorkspace".
8. I copied the "OriGEnatorWorkspace" from 'instrumented' folder and pasted in expected Websphere workspace replacing the
source "OriGEnatorWorkspace".
9. Kept %JENSOR_HOME%/output folder empty.
10. Started the server on this work space "OriGEnatorWorkspace".
11. Application cannot be started as it faces the following error logged on system error console:
... ...
[11/26/08 14:15:07:518 IST] 35fb81ac ApplicationMg A WSVR0221I: Application started: IBMUTC
[11/26/08 14:15:07:518 IST] 35fb81ac ApplicationMg A WSVR0200I: Starting application: query
[11/26/08 14:15:07:565 IST] 35fb81ac EJBContainerI I WSVR0207I: Preparing to start EJB jar: querybean.jar
[11/26/08 14:15:07:674 IST] 35fb81ac EJBContainerI I WSVR0037I: Starting EJB jar: querybean.jar
[11/26/08 14:15:07:768 IST] 35fb81ac ApplicationMg A WSVR0221I: Application started: query
[11/26/08 14:15:07:956 IST] 35fb81ac ApplicationMg A WSVR0200I: Starting application: Generator
[11/26/08 14:15:08:252 IST] 35fb81ac EJBContainerI I WSVR0207I: Preparing to start EJB jar: GeneratorModel.jar
[11/26/08 14:15:08:674 IST] 35fb81ac EJBContainerI I WSVR0037I: Starting EJB jar: GeneratorModel.jar
[11/26/08 14:15:08:721 IST] 35fb81ac EJBContainerI E WSVR0040E: addEjbModule failed for GeneratorModel.jar [class
com.ibm.ws.runtime.component.DeployedModuleImpl]
java.lang.NoClassDefFoundError: com/tcs/perc/jensor/core/Profile
at com.ge.generator.model.facade.GeneratorFacadeBean.<init>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:80)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java(Compiled Code))
at java.lang.reflect.Constructor.newInstance(Constructor.java(Compiled Code))
at java.lang.Class.newInstance3(Class.java(Compiled Code))
at java.lang.Class.newInstance(Class.java(Compiled Code))
at com.ibm.ejs.container.EJSContainer.loadBeanMetaData(EJSContainer.java:1349)
at com.ibm.ejs.container.EJSContainer.getHomeWrapperCommon(EJSContainer.java:1012)
at com.ibm.ejs.container.EJSContainer.getHomeInstance(EJSContainer.java:934)
at com.ibm.ejs.container.EJSContainer.startBean(EJSContainer.java:913)
at com.ibm.ws.runtime.component.EJBContainerImpl.startBean(EJBContainerImpl.java:1340)
at com.ibm.ws.runtime.component.EJBContainerImpl.install(EJBContainerImpl.java:1073)
at com.ibm.ws.runtime.component.EJBContainerImpl.start(EJBContainerImpl.java:1547)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:505)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:808)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:354)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:578)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:299)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:256)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:152)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:243)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:128)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:189)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)
[11/26/08 14:15:08:752 IST] 35fb81ac EJBContainerI I WSVR0041I: Stopping EJB jar: GeneratorModel.jar
[11/26/08 14:15:08:799 IST] 35fb81ac EJBContainerI E WSVR0042E: Unable to stop Generator#GeneratorModel.jar#GeneratorFacade:
unknown bean home name - Generator#GeneratorModel.jar#GeneratorFacade
[11/26/08 14:15:08:831 IST] 35fb81ac EJBContainerI I WSVR0043E: Unbind failed for
ejb/com/ge/generator/model/facade/GeneratorFacadeHome: name = ejb/com/ge/generator/model/facade/GeneratorFacadeHome: first
name component of ejb/com/ge/generator/model/facade is not found. Original exception :
org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0
[11/26/08 14:15:08:831 IST] 35fb81ac DeployedAppli W WSVR0206E: Module, GeneratorModel.jar, of application,
Generator.ear/deployments/Generator, failed to start
[11/26/08 14:15:08:831 IST] 35fb81ac ApplicationMg W WSVR0101W: An error occurred starting, Generator
[11/26/08 14:15:08:971 IST] 35fb81ac ApplicationMg A WSVR0217I: Stopping application: Generator
[11/26/08 14:15:09:018 IST] 35fb81ac ApplicationMg A WSVR0220I: Application stopped: Generator
[11/26/08 14:15:09:018 IST] 35fb81ac ApplicationMg A WSVR0200I: Starting application: OriGEnatorEAR
[11/26/08 14:15:09:346 IST] 35fb81ac EJBContainerI I WSVR0207I: Preparing to start EJB jar: OriGEnatorFrameworkModel.jar
[11/26/08 14:15:09:471 IST] 35fb81ac EJBContainerI I WSVR0037I: Starting EJB jar: OriGEnatorFrameworkModel.jar
[11/26/08 14:15:09:471 IST] 35fb81ac EJBContainerI E WSVR0040E: addEjbModule failed for OriGEnatorFrameworkModel.jar [class
com.ibm.ws.runtime.component.DeployedModuleImpl]
java.lang.NoClassDefFoundError: com/tcs/perc/jensor/core/Profile
at com.ge.origenator.frameworkmodel.search.session.SearchSessionBean.<init>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:80)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java(Compiled Code))
at java.lang.reflect.Constructor.newInstance(Constructor.java(Compiled Code))
at java.lang.Class.newInstance3(Class.java(Compiled Code))
at java.lang.Class.newInstance(Class.java(Compiled Code))
at com.ibm.ejs.container.EJSContainer.loadBeanMetaData(EJSContainer.java:1349)
at com.ibm.ejs.container.EJSContainer.getHomeWrapperCommon(EJSContainer.java:1012)
at com.ibm.ejs.container.EJSContainer.getHomeInstance(EJSContainer.java:934)
at com.ibm.ejs.container.EJSContainer.startBean(EJSContainer.java:913)
at com.ibm.ws.runtime.component.EJBContainerImpl.startBean(EJBContainerImpl.java:1340)
at com.ibm.ws.runtime.component.EJBContainerImpl.install(EJBContainerImpl.java:1073)
at com.ibm.ws.runtime.component.EJBContainerImpl.start(EJBContainerImpl.java:1547)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:505)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:808)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:354)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:578)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:299)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:256)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:152)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:243)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:128)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:189)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)
[11/26/08 14:15:09:471 IST] 35fb81ac EJBContainerI I WSVR0041I: Stopping EJB jar: OriGEnatorFrameworkModel.jar
[11/26/08 14:15:09:471 IST] 35fb81ac EJBContainerI E WSVR0042E: Unable to stop
OriGEnatorEAR#OriGEnatorFrameworkModel.jar#SearchSession: unknown bean home name -
OriGEnatorEAR#OriGEnatorFrameworkModel.jar#SearchSession
[11/26/08 14:15:09:471 IST] 35fb81ac EJBContainerI I WSVR0043E: Unbind failed for
ejb/com/ge/origenator/frameworkmodel/search/session/SearchSessionHome: name =
ejb/com/ge/origenator/frameworkmodel/search/session/SearchSessionHome: first name component of
ejb/com/ge/origenator/frameworkmodel/search/session is not found. Original exception :
org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0
[11/26/08 14:15:09:487 IST] 35fb81ac DeployedAppli W WSVR0206E: Module, OriGEnatorFrameworkModel.jar, of application,
OriGEnatorEAR.ear/deployments/OriGEnatorEAR, failed to start
[11/26/08 14:15:09:487 IST] 35fb81ac ApplicationMg W WSVR0101W: An error occurred starting, OriGEnatorEAR
[11/26/08 14:15:09:549 IST] 35fb81ac ApplicationMg A WSVR0217I: Stopping application: OriGEnatorEAR
[11/26/08 14:15:09:674 IST] 35fb81ac ApplicationMg A WSVR0220I: Application stopped: OriGEnatorEAR
[11/26/08 14:15:09:690 IST] 35fb81ac StaffServiceI I STFF0032I: The Staff Service started successfully.
[11/26/08 14:15:09:956 IST] 35fb81ac HttpTransport A SRVE0171I: Transport http is listening on port 9,080.
[11/26/08 14:15:12:034 IST] 35fb81ac HttpTransport A SRVE0171I: Transport https is listening on port 9,443.
[11/26/08 14:15:12:049 IST] 35fb81ac HttpTransport A SRVE0171I: Transport http is listening on port 9,090.
[11/26/08 14:15:12:190 IST] 35fb81ac HttpTransport A SRVE0171I: Transport https is listening on port 9,043.
[11/26/08 14:15:12:190 IST] 35fb81ac SchedulerServ I SCHD0031I: The Scheduler Service is starting.
[11/26/08 14:15:12:284 IST] 35fb81ac WSRdbDataSour I DSRA8203I: Database product name : DBMS:db2j
[11/26/08 14:15:12:284 IST] 35fb81ac WSRdbDataSour I DSRA8204I: Database product version : 5.1.60.12
[11/26/08 14:15:12:284 IST] 35fb81ac WSRdbDataSour I DSRA8205I: JDBC driver name : Cloudscape Embedded JDBC Driver
[11/26/08 14:15:12:284 IST] 35fb81ac WSRdbDataSour I DSRA8206I: JDBC driver version : 5.1.60.12
[11/26/08 14:15:13:706 IST] 35fb81ac SchedulerServ I SCHD0032I: The Scheduler Instance BPEScheduler is starting.
[11/26/08 14:15:13:768 IST] 35fb81ac SchedulerDaem I SCHD0038I: The Scheduler Daemon for instance BPEScheduler has started.
[11/26/08 14:15:13:784 IST] 35fb81ac SchedulerServ I SCHD0033I: The Scheduler Instance BPEScheduler has started.
[11/26/08 14:15:13:784 IST] 35fb81ac SchedulerServ I SCHD0001I: The Scheduler Service has started.
[11/26/08 14:15:13:862 IST] 35fb81ac RMIConnectorC A ADMC0026I: RMI Connector available at port 2809
... ...
Please suggest the possible source of error.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Sobhan,
It seems the jensorjdk14-v17-win32.jar is currently not in the classpath. You will need to explicitly be put the same in the application's classpath.
Regards,
Suresh.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I explicitely added "jensorjdk14-v17-win32.jar" to the JAVA Build path of the applications "Generator" and "OriGEnatorEAR". Then I disabled auto rebuilding to prevent further auto compilation.
And then instrumented the code by Jensor 1.7.
Once the workspace is ready there was the following problem with the server configuration:
Creating folder .repository
The J2EE projects defined in the server configuration are not consistent with the
projects that exist in the workbench:
The module project "GeneratorService.war" in the EAR project "Generator" defined in the
server configuration does not exist.
The module project "GeneratorModel.jar" in the EAR project "Generator" defined in the server
configuration does not exist.
The module project "PapirusWeb.war" in the EAR project "OriGEnatorEAR" defined in the server
configuration does not exist.
The module project "OriGEnatorWeb.war" in the EAR project "OriGEnatorEAR" defined in the
server configuration does not exist.
The module project "OriGEnatorFrameworkModel.jar" in the EAR project "OriGEnatorEAR" defined
in the server configuration does not exist.
The module project "DominoWEB.war" in the EAR project "OriGEnatorEAR" defined in the server
configuration does not exist.
The module project "OriGEnatorModel.jar" in the EAR project "OriGEnatorEAR" defined in the
server configuration does not exist.
This problem can be resolved by opening an editor for the server "WebSphere EE v5.1 Test
Environment" or the server configuration "WebSphere Server Configuration" and then
responding Yes to the WebSphere Server Warning window that appears.
-- Doing as suggested at the end of the last paragraph results in following error when the server is started:
[11/26/08 17:11:06:060 IST] 35fb9d4d DeployedAppli W WSVR0210W: No modules defined for application, Generator, on server, server1
[11/26/08 17:11:06:060 IST] 35fb9d4d ApplicationMg W WSVR0100W: An error occurred initializing, Generator
com.ibm.ws.exception.ConfigurationWarning: No modules defined for Generator
at com.ibm.ws.runtime.component.DeployedApplicationImpl.initialize(DeployedApplicationImpl.java:392)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.initializeApplication(ApplicationMgrImpl.java:161)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:228)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:152)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:243)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:128)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:189)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)
[11/26/08 17:11:06:091 IST] 35fb9d4d DeployedAppli W WSVR0210W: No modules defined for application, OriGEnatorEAR, on server, server1
[11/26/08 17:11:06:091 IST] 35fb9d4d ApplicationMg W WSVR0100W: An error occurred initializing, OriGEnatorEAR
com.ibm.ws.exception.ConfigurationWarning: No modules defined for OriGEnatorEAR
at com.ibm.ws.runtime.component.DeployedApplicationImpl.initialize(DeployedApplicationImpl.java:392)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.initializeApplication(ApplicationMgrImpl.java:161)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:228)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:152)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:243)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:128)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:189)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)
[11/26/08 17:11:06:154 IST] 35fb9d4d ApplicationMg A WSVR0200I: Starting application: adminconsole
[11/26/08 17:11:07:388 IST] 35fb9d4d WebContainer A SRVE0161I: IBM WebSphere Application Server - Web Container. Copyright IBM Corp. 1998-2002
[11/26/08 17:11:07:419 IST] 35fb9d4d WebContainer A SRVE0162I: Servlet Specification Level: 2.3
[11/26/08 17:11:07:419 IST] 35fb9d4d WebContainer A SRVE0163I: Supported JSP Specification Level: 1.2
[11/26/08 17:11:07:544 IST] 35fb9d4d WebContainer A SRVE0169I: Loading Web Module: adminconsole.
[11/26/08 17:11:08:763 IST] 35fb9d4d WebGroup I SRVE0180I: [adminconsole] [/admin] [Servlet.LOG]: JSP 1.2 Processor: init
[11/26/08 17:11:08:935 IST] 35fb9d4d WebGroup I SRVE0180I: [adminconsole] [/admin] [Servlet.LOG]: SimpleFileServlet: init
[11/26/08 17:11:08:950 IST] 35fb9d4d WebGroup I SRVE0180I: [adminconsole] [/admin] [Servlet.LOG]: InvokerServlet: init
[11/26/08 17:11:08:982 IST] 35fb9d4d WebGroup I SRVE0180I: [adminconsole] [/admin] [Servlet.LOG]: validator: init
[11/26/08 17:11:09:560 IST] 35fb9d4d WebGroup I SRVE0180I: [adminconsole] [/admin] [Servlet.LOG]: EventInitializer: init
[11/26/08 17:11:09:654 IST] 35fb9d4d WebGroup I SRVE0180I: [adminconsole] [/admin] [Servlet.LOG]: action: init
[11/26/08 17:11:11:529 IST] 35fb9d4d WebGroup I SRVE0180I: [adminconsole] [/admin] [Servlet.LOG]: action: Tiles definition factory loaded
[11/26/08 17:11:11:560 IST] 35fb9d4d WebGroup I SRVE0180I: [adminconsole] [/admin] [Servlet.LOG]: SecureCleanup: init
[11/26/08 17:11:11:732 IST] 35fb9d4d ApplicationMg A WSVR0221I: Application started: adminconsole
[11/26/08 17:11:11:732 IST] 35fb9d4d ApplicationMg A WSVR0200I: Starting application: IBMUTC
[11/26/08 17:11:11:794 IST] 35fb9d4d WebContainer A SRVE0169I: Loading Web Module: IBM Universal Test Client.
[11/26/08 17:11:11:872 IST] 35fb9d4d WebGroup I SRVE0180I: [IBM Universal Test Client] [/UTC] [Servlet.LOG]: JSP 1.2 Processor: init
[11/26/08 17:11:11:888 IST] 35fb9d4d WebGroup I SRVE0180I: [IBM Universal Test Client] [/UTC] [Servlet.LOG]: SimpleFileServlet: init
[11/26/08 17:11:11:888 IST] 35fb9d4d ApplicationMg A WSVR0221I: Application started: IBMUTC
[11/26/08 17:11:11:997 IST] 35fb9d4d ApplicationMg A WSVR0200I: Starting application: query
[11/26/08 17:11:12:075 IST] 35fb9d4d EJBContainerI I WSVR0207I: Preparing to start EJB jar: querybean.jar
[11/26/08 17:11:12:341 IST] 35fb9d4d EJBContainerI I WSVR0037I: Starting EJB jar: querybean.jar
[11/26/08 17:11:12:466 IST] 35fb9d4d ApplicationMg A WSVR0221I: Application started: query
[11/26/08 17:11:12:466 IST] 35fb9d4d ContainerImpl E WSVR0501E: Error creating component null [class com.ibm.ws.runtime.component.ApplicationMgrImpl]
com.ibm.ws.exception.RuntimeWarning: No modules defined for OriGEnatorEAR
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:244)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:152)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:243)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:128)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:189)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)
Caused by: com.ibm.ws.exception.ConfigurationWarning: No modules defined for OriGEnatorEAR
at com.ibm.ws.runtime.component.DeployedApplicationImpl.initialize(DeployedApplicationImpl.java:392)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.initializeApplication(ApplicationMgrImpl.java:161)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:228)
... 15 more
---- Begin backtrace for nested exception
com.ibm.ws.exception.ConfigurationWarning: No modules defined for OriGEnatorEAR
at com.ibm.ws.runtime.component.DeployedApplicationImpl.initialize(DeployedApplicationImpl.java:392)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.initializeApplication(ApplicationMgrImpl.java:161)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:228)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:152)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:243)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:128)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:189)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)
******
Instead if I refresh The two applications I receive a confirmation box to link the Child projects to the EAR projects in the server configuration. If I accept this I received the error I mentioned in my previous comment on server start up.
It appears from above that the srver configuration for the two applications "Generator" and "OriGEnator" are getting affected after instrumentation.
Any suggestion how to solve this will be helpful.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying to configure JENSOR on Web Sphere 5.1. I have implemented the following steps in doing so:
*I am successfully running my project named "MyProject" on "localhost : 9080" in IBM WebSphere using WSAD.
1. Successfully installed and ran "Java2D" demo as guided in installation guide. Got all expected result.
2. Copied 'jensorjdk14-v18-win32.jar' to the folder 'lib' in my project "MyProject" and added the same to Java Build path.
Rebuilded the work space entirely.
3. From WSAD 'disabled' option 'Rebuild on resource modification' to prevent auto compilation in future.
4. Created new project in Jensor and to "Instrument" selected the project's root folder named "MyProject" (instead of
jar/war/ear individually).
5. Got options to selectively select packages, which I selected and clicked on "OK".
6. Got pop up showing selected class files to instrument. Clicked on "Instrument".
4. Unlike for Demo application message box DID NOT show how many classes has been instrumented, but created an identical
project (with the same higherarchial structure and size) in %JENSOR_HOME%/projects/<project name>/instrumented
folder--"MyProject" . The uninstrumented folder also contains a copy of the same --"MyProject".
5. I copied the "MyProject" from 'instrumented' folder and pasted in expected Websphere workspace replacing the source
"MyProject".
6. Kept %JENSOR_HOME%/output folder empty.
7. Started the server on this work space "MyProject".
8. Application runs successfully, but the expected output files were not created.
9. Tried to 'Collate' on host 'localhost': port '21999', got error there is no Jensor running.
10. 'Start/Stop session' gave no result.
Please suggest what may be the source of error.
Hi this is Sobhan Again:
Please note that the first communication is detailed on Jensor 1.8.
Hi Sobhan,
You are doing everything correct. We have goofed up a bit this time. Jensor 1.8 has a bug instrumenting simple class files and packaged war /ear files. It however works well for jar files. Thats the reason the sample application (Java2D) worked but your Websphere based application isnt working. We are working on it and a fix will be released soon (in less than 10 days). Pls. bear with us.
As of now you have two options :
1) When you select the 'folder' option for instrumentation, select only jar files of interest. This way you will get data atleast for the jar files in your application.
2) Jensor 1.7 works well in instrumenting .class, jars and war/ear files.
Also could you pls. file a bug report on this site?
Regards,
Amol
Thanks Amol,
I will wait for the next release of Jensor 1.8.
Do you mean that I can solve this hurdle for the time being if I use Jensor 1.7 for my Web Sphare base application?
Regards,
Sobhan
Yes Sobhan, with Jensor 1.7 you could get your application profiled. Only auto-tagging is one of the main features that is not available with 1.7.
Regards,
Amol
Thanks Amol,
I could locate link to download Jensor 1.8 only at the location http://jensor.sourceforge.net/ > Download.
Could you please provide the link for downloading
Jensor 1.7 installer, installation guide and user manual.
Thanks in Advance,
Sobhan.
Hi Sobhan,
Click on package link on Jensor's SF.net download page. There you will find all releases of Jensor.
http://sourceforge.net/project/showfiles.php?group_id=215085&package_id=259457
The above link is the direct URL.
Regards,
Amol
I am now trying to configure JENSOR 1.7 on Web Sphere 5.1. in Win XP OS.
I have implemented the following steps in doing so:
*I am successfully running my project named "OriGEnator" on "localhost : 9080" in IBM WebSphere using WSAD.
1. Successfully installed and ran "Java2D" demo as guided in installation guide. Got all expected result.
2. Copied 'jensorjdk14-v18-win32.jar' to the folder 'lib' in my project "OriGEnator" and added the same to Java Build path.
Rebuilded the work space entirely.
3. From WSAD 'disabled' option 'Rebuild on resource modification' to prevent auto compilation in future.
4. Created new project in Jensor and to "Instrument" selected the project's root folder named "OriGEnatorWorkspace" (instead
of jar/war/ear individually).
5. Got options to selectively select packages; I selected all the packaged class files only and clicked on "OK".
6. Got pop up showing selected class files to instrument. Clicked on "Instrument".
7. Jensor displayed how many classes has been instrumented and created an identical project (with the same higherarchial
structure and size) in %JENSOR_HOME%/projects/<project name>/instrumented folder--"OriGEnatorWorkspace" . The uninstrumented folder also contains a copy of the same --"OriGEnatorWorkspace".
8. I copied the "OriGEnatorWorkspace" from 'instrumented' folder and pasted in expected Websphere workspace replacing the
source "OriGEnatorWorkspace".
9. Kept %JENSOR_HOME%/output folder empty.
10. Started the server on this work space "OriGEnatorWorkspace".
11. Application cannot be started as it faces the following error logged on system error console:
... ...
[11/26/08 14:15:07:518 IST] 35fb81ac ApplicationMg A WSVR0221I: Application started: IBMUTC
[11/26/08 14:15:07:518 IST] 35fb81ac ApplicationMg A WSVR0200I: Starting application: query
[11/26/08 14:15:07:565 IST] 35fb81ac EJBContainerI I WSVR0207I: Preparing to start EJB jar: querybean.jar
[11/26/08 14:15:07:674 IST] 35fb81ac EJBContainerI I WSVR0037I: Starting EJB jar: querybean.jar
[11/26/08 14:15:07:768 IST] 35fb81ac ApplicationMg A WSVR0221I: Application started: query
[11/26/08 14:15:07:956 IST] 35fb81ac ApplicationMg A WSVR0200I: Starting application: Generator
[11/26/08 14:15:08:252 IST] 35fb81ac EJBContainerI I WSVR0207I: Preparing to start EJB jar: GeneratorModel.jar
[11/26/08 14:15:08:674 IST] 35fb81ac EJBContainerI I WSVR0037I: Starting EJB jar: GeneratorModel.jar
[11/26/08 14:15:08:721 IST] 35fb81ac EJBContainerI E WSVR0040E: addEjbModule failed for GeneratorModel.jar [class
com.ibm.ws.runtime.component.DeployedModuleImpl]
java.lang.NoClassDefFoundError: com/tcs/perc/jensor/core/Profile
at com.ge.generator.model.facade.GeneratorFacadeBean.<init>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:80)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java(Compiled Code))
at java.lang.reflect.Constructor.newInstance(Constructor.java(Compiled Code))
at java.lang.Class.newInstance3(Class.java(Compiled Code))
at java.lang.Class.newInstance(Class.java(Compiled Code))
at com.ibm.ejs.container.EJSContainer.loadBeanMetaData(EJSContainer.java:1349)
at com.ibm.ejs.container.EJSContainer.getHomeWrapperCommon(EJSContainer.java:1012)
at com.ibm.ejs.container.EJSContainer.getHomeInstance(EJSContainer.java:934)
at com.ibm.ejs.container.EJSContainer.startBean(EJSContainer.java:913)
at com.ibm.ws.runtime.component.EJBContainerImpl.startBean(EJBContainerImpl.java:1340)
at com.ibm.ws.runtime.component.EJBContainerImpl.install(EJBContainerImpl.java:1073)
at com.ibm.ws.runtime.component.EJBContainerImpl.start(EJBContainerImpl.java:1547)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:505)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:808)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:354)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:578)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:299)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:256)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:152)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:243)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:128)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:189)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)
[11/26/08 14:15:08:752 IST] 35fb81ac EJBContainerI I WSVR0041I: Stopping EJB jar: GeneratorModel.jar
[11/26/08 14:15:08:799 IST] 35fb81ac EJBContainerI E WSVR0042E: Unable to stop Generator#GeneratorModel.jar#GeneratorFacade:
unknown bean home name - Generator#GeneratorModel.jar#GeneratorFacade
[11/26/08 14:15:08:831 IST] 35fb81ac EJBContainerI I WSVR0043E: Unbind failed for
ejb/com/ge/generator/model/facade/GeneratorFacadeHome: name = ejb/com/ge/generator/model/facade/GeneratorFacadeHome: first
name component of ejb/com/ge/generator/model/facade is not found. Original exception :
org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0
[11/26/08 14:15:08:831 IST] 35fb81ac DeployedAppli W WSVR0206E: Module, GeneratorModel.jar, of application,
Generator.ear/deployments/Generator, failed to start
[11/26/08 14:15:08:831 IST] 35fb81ac ApplicationMg W WSVR0101W: An error occurred starting, Generator
[11/26/08 14:15:08:971 IST] 35fb81ac ApplicationMg A WSVR0217I: Stopping application: Generator
[11/26/08 14:15:09:018 IST] 35fb81ac ApplicationMg A WSVR0220I: Application stopped: Generator
[11/26/08 14:15:09:018 IST] 35fb81ac ApplicationMg A WSVR0200I: Starting application: OriGEnatorEAR
[11/26/08 14:15:09:346 IST] 35fb81ac EJBContainerI I WSVR0207I: Preparing to start EJB jar: OriGEnatorFrameworkModel.jar
[11/26/08 14:15:09:471 IST] 35fb81ac EJBContainerI I WSVR0037I: Starting EJB jar: OriGEnatorFrameworkModel.jar
[11/26/08 14:15:09:471 IST] 35fb81ac EJBContainerI E WSVR0040E: addEjbModule failed for OriGEnatorFrameworkModel.jar [class
com.ibm.ws.runtime.component.DeployedModuleImpl]
java.lang.NoClassDefFoundError: com/tcs/perc/jensor/core/Profile
at com.ge.origenator.frameworkmodel.search.session.SearchSessionBean.<init>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:80)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java(Compiled Code))
at java.lang.reflect.Constructor.newInstance(Constructor.java(Compiled Code))
at java.lang.Class.newInstance3(Class.java(Compiled Code))
at java.lang.Class.newInstance(Class.java(Compiled Code))
at com.ibm.ejs.container.EJSContainer.loadBeanMetaData(EJSContainer.java:1349)
at com.ibm.ejs.container.EJSContainer.getHomeWrapperCommon(EJSContainer.java:1012)
at com.ibm.ejs.container.EJSContainer.getHomeInstance(EJSContainer.java:934)
at com.ibm.ejs.container.EJSContainer.startBean(EJSContainer.java:913)
at com.ibm.ws.runtime.component.EJBContainerImpl.startBean(EJBContainerImpl.java:1340)
at com.ibm.ws.runtime.component.EJBContainerImpl.install(EJBContainerImpl.java:1073)
at com.ibm.ws.runtime.component.EJBContainerImpl.start(EJBContainerImpl.java:1547)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:505)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:808)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:354)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:578)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:299)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:256)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:152)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:243)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:128)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:189)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)
[11/26/08 14:15:09:471 IST] 35fb81ac EJBContainerI I WSVR0041I: Stopping EJB jar: OriGEnatorFrameworkModel.jar
[11/26/08 14:15:09:471 IST] 35fb81ac EJBContainerI E WSVR0042E: Unable to stop
OriGEnatorEAR#OriGEnatorFrameworkModel.jar#SearchSession: unknown bean home name -
OriGEnatorEAR#OriGEnatorFrameworkModel.jar#SearchSession
[11/26/08 14:15:09:471 IST] 35fb81ac EJBContainerI I WSVR0043E: Unbind failed for
ejb/com/ge/origenator/frameworkmodel/search/session/SearchSessionHome: name =
ejb/com/ge/origenator/frameworkmodel/search/session/SearchSessionHome: first name component of
ejb/com/ge/origenator/frameworkmodel/search/session is not found. Original exception :
org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0
[11/26/08 14:15:09:487 IST] 35fb81ac DeployedAppli W WSVR0206E: Module, OriGEnatorFrameworkModel.jar, of application,
OriGEnatorEAR.ear/deployments/OriGEnatorEAR, failed to start
[11/26/08 14:15:09:487 IST] 35fb81ac ApplicationMg W WSVR0101W: An error occurred starting, OriGEnatorEAR
[11/26/08 14:15:09:549 IST] 35fb81ac ApplicationMg A WSVR0217I: Stopping application: OriGEnatorEAR
[11/26/08 14:15:09:674 IST] 35fb81ac ApplicationMg A WSVR0220I: Application stopped: OriGEnatorEAR
[11/26/08 14:15:09:690 IST] 35fb81ac StaffServiceI I STFF0032I: The Staff Service started successfully.
[11/26/08 14:15:09:956 IST] 35fb81ac HttpTransport A SRVE0171I: Transport http is listening on port 9,080.
[11/26/08 14:15:12:034 IST] 35fb81ac HttpTransport A SRVE0171I: Transport https is listening on port 9,443.
[11/26/08 14:15:12:049 IST] 35fb81ac HttpTransport A SRVE0171I: Transport http is listening on port 9,090.
[11/26/08 14:15:12:190 IST] 35fb81ac HttpTransport A SRVE0171I: Transport https is listening on port 9,043.
[11/26/08 14:15:12:190 IST] 35fb81ac SchedulerServ I SCHD0031I: The Scheduler Service is starting.
[11/26/08 14:15:12:284 IST] 35fb81ac WSRdbDataSour I DSRA8203I: Database product name : DBMS:db2j
[11/26/08 14:15:12:284 IST] 35fb81ac WSRdbDataSour I DSRA8204I: Database product version : 5.1.60.12
[11/26/08 14:15:12:284 IST] 35fb81ac WSRdbDataSour I DSRA8205I: JDBC driver name : Cloudscape Embedded JDBC Driver
[11/26/08 14:15:12:284 IST] 35fb81ac WSRdbDataSour I DSRA8206I: JDBC driver version : 5.1.60.12
[11/26/08 14:15:13:706 IST] 35fb81ac SchedulerServ I SCHD0032I: The Scheduler Instance BPEScheduler is starting.
[11/26/08 14:15:13:768 IST] 35fb81ac SchedulerDaem I SCHD0038I: The Scheduler Daemon for instance BPEScheduler has started.
[11/26/08 14:15:13:784 IST] 35fb81ac SchedulerServ I SCHD0033I: The Scheduler Instance BPEScheduler has started.
[11/26/08 14:15:13:784 IST] 35fb81ac SchedulerServ I SCHD0001I: The Scheduler Service has started.
[11/26/08 14:15:13:862 IST] 35fb81ac RMIConnectorC A ADMC0026I: RMI Connector available at port 2809
... ...
Please suggest the possible source of error.
Hi Sobhan,
It seems the jensorjdk14-v17-win32.jar is currently not in the classpath. You will need to explicitly be put the same in the application's classpath.
Regards,
Suresh.
Hi Suresh,
I explicitely added "jensorjdk14-v17-win32.jar" to the JAVA Build path of the applications "Generator" and "OriGEnatorEAR". Then I disabled auto rebuilding to prevent further auto compilation.
And then instrumented the code by Jensor 1.7.
Once the workspace is ready there was the following problem with the server configuration:
Creating folder .repository
The J2EE projects defined in the server configuration are not consistent with the
projects that exist in the workbench:
The module project "GeneratorService.war" in the EAR project "Generator" defined in the
server configuration does not exist.
The module project "GeneratorModel.jar" in the EAR project "Generator" defined in the server
configuration does not exist.
The module project "PapirusWeb.war" in the EAR project "OriGEnatorEAR" defined in the server
configuration does not exist.
The module project "OriGEnatorWeb.war" in the EAR project "OriGEnatorEAR" defined in the
server configuration does not exist.
The module project "OriGEnatorFrameworkModel.jar" in the EAR project "OriGEnatorEAR" defined
in the server configuration does not exist.
The module project "DominoWEB.war" in the EAR project "OriGEnatorEAR" defined in the server
configuration does not exist.
The module project "OriGEnatorModel.jar" in the EAR project "OriGEnatorEAR" defined in the
server configuration does not exist.
This problem can be resolved by opening an editor for the server "WebSphere EE v5.1 Test
Environment" or the server configuration "WebSphere Server Configuration" and then
responding Yes to the WebSphere Server Warning window that appears.
-- Doing as suggested at the end of the last paragraph results in following error when the server is started:
[11/26/08 17:11:06:060 IST] 35fb9d4d DeployedAppli W WSVR0210W: No modules defined for application, Generator, on server, server1
[11/26/08 17:11:06:060 IST] 35fb9d4d ApplicationMg W WSVR0100W: An error occurred initializing, Generator
com.ibm.ws.exception.ConfigurationWarning: No modules defined for Generator
at com.ibm.ws.runtime.component.DeployedApplicationImpl.initialize(DeployedApplicationImpl.java:392)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.initializeApplication(ApplicationMgrImpl.java:161)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:228)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:152)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:243)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:128)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:189)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)
[11/26/08 17:11:06:091 IST] 35fb9d4d DeployedAppli W WSVR0210W: No modules defined for application, OriGEnatorEAR, on server, server1
[11/26/08 17:11:06:091 IST] 35fb9d4d ApplicationMg W WSVR0100W: An error occurred initializing, OriGEnatorEAR
com.ibm.ws.exception.ConfigurationWarning: No modules defined for OriGEnatorEAR
at com.ibm.ws.runtime.component.DeployedApplicationImpl.initialize(DeployedApplicationImpl.java:392)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.initializeApplication(ApplicationMgrImpl.java:161)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:228)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:152)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:243)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:128)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:189)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)
[11/26/08 17:11:06:154 IST] 35fb9d4d ApplicationMg A WSVR0200I: Starting application: adminconsole
[11/26/08 17:11:07:388 IST] 35fb9d4d WebContainer A SRVE0161I: IBM WebSphere Application Server - Web Container. Copyright IBM Corp. 1998-2002
[11/26/08 17:11:07:419 IST] 35fb9d4d WebContainer A SRVE0162I: Servlet Specification Level: 2.3
[11/26/08 17:11:07:419 IST] 35fb9d4d WebContainer A SRVE0163I: Supported JSP Specification Level: 1.2
[11/26/08 17:11:07:544 IST] 35fb9d4d WebContainer A SRVE0169I: Loading Web Module: adminconsole.
[11/26/08 17:11:08:763 IST] 35fb9d4d WebGroup I SRVE0180I: [adminconsole] [/admin] [Servlet.LOG]: JSP 1.2 Processor: init
[11/26/08 17:11:08:935 IST] 35fb9d4d WebGroup I SRVE0180I: [adminconsole] [/admin] [Servlet.LOG]: SimpleFileServlet: init
[11/26/08 17:11:08:950 IST] 35fb9d4d WebGroup I SRVE0180I: [adminconsole] [/admin] [Servlet.LOG]: InvokerServlet: init
[11/26/08 17:11:08:982 IST] 35fb9d4d WebGroup I SRVE0180I: [adminconsole] [/admin] [Servlet.LOG]: validator: init
[11/26/08 17:11:09:560 IST] 35fb9d4d WebGroup I SRVE0180I: [adminconsole] [/admin] [Servlet.LOG]: EventInitializer: init
[11/26/08 17:11:09:654 IST] 35fb9d4d WebGroup I SRVE0180I: [adminconsole] [/admin] [Servlet.LOG]: action: init
[11/26/08 17:11:11:529 IST] 35fb9d4d WebGroup I SRVE0180I: [adminconsole] [/admin] [Servlet.LOG]: action: Tiles definition factory loaded
[11/26/08 17:11:11:560 IST] 35fb9d4d WebGroup I SRVE0180I: [adminconsole] [/admin] [Servlet.LOG]: SecureCleanup: init
[11/26/08 17:11:11:732 IST] 35fb9d4d ApplicationMg A WSVR0221I: Application started: adminconsole
[11/26/08 17:11:11:732 IST] 35fb9d4d ApplicationMg A WSVR0200I: Starting application: IBMUTC
[11/26/08 17:11:11:794 IST] 35fb9d4d WebContainer A SRVE0169I: Loading Web Module: IBM Universal Test Client.
[11/26/08 17:11:11:872 IST] 35fb9d4d WebGroup I SRVE0180I: [IBM Universal Test Client] [/UTC] [Servlet.LOG]: JSP 1.2 Processor: init
[11/26/08 17:11:11:888 IST] 35fb9d4d WebGroup I SRVE0180I: [IBM Universal Test Client] [/UTC] [Servlet.LOG]: SimpleFileServlet: init
[11/26/08 17:11:11:888 IST] 35fb9d4d ApplicationMg A WSVR0221I: Application started: IBMUTC
[11/26/08 17:11:11:997 IST] 35fb9d4d ApplicationMg A WSVR0200I: Starting application: query
[11/26/08 17:11:12:075 IST] 35fb9d4d EJBContainerI I WSVR0207I: Preparing to start EJB jar: querybean.jar
[11/26/08 17:11:12:341 IST] 35fb9d4d EJBContainerI I WSVR0037I: Starting EJB jar: querybean.jar
[11/26/08 17:11:12:466 IST] 35fb9d4d ApplicationMg A WSVR0221I: Application started: query
[11/26/08 17:11:12:466 IST] 35fb9d4d ContainerImpl E WSVR0501E: Error creating component null [class com.ibm.ws.runtime.component.ApplicationMgrImpl]
com.ibm.ws.exception.RuntimeWarning: No modules defined for OriGEnatorEAR
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:244)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:152)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:243)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:128)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:189)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)
Caused by: com.ibm.ws.exception.ConfigurationWarning: No modules defined for OriGEnatorEAR
at com.ibm.ws.runtime.component.DeployedApplicationImpl.initialize(DeployedApplicationImpl.java:392)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.initializeApplication(ApplicationMgrImpl.java:161)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:228)
... 15 more
---- Begin backtrace for nested exception
com.ibm.ws.exception.ConfigurationWarning: No modules defined for OriGEnatorEAR
at com.ibm.ws.runtime.component.DeployedApplicationImpl.initialize(DeployedApplicationImpl.java:392)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.initializeApplication(ApplicationMgrImpl.java:161)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:228)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:152)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:243)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:128)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:189)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)
******
Instead if I refresh The two applications I receive a confirmation box to link the Child projects to the EAR projects in the server configuration. If I accept this I received the error I mentioned in my previous comment on server start up.
It appears from above that the srver configuration for the two applications "Generator" and "OriGEnator" are getting affected after instrumentation.
Any suggestion how to solve this will be helpful.
Hi,
I could solve the problem by adding the "jensorjdk14-v17-win32.jar" to the server's Class Path defination expicitely.
Thanks for all the help.
Regards,
Sobhan