Win a copy of Rust Web Development this week in the Other Languages forum!

Shyam Sunder

Greenhorn
+ Follow
since Dec 23, 2006
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Shyam Sunder

hi friends,

my requirement is onload of page. The application should perform some validations.
we are using struts tiles, i want to load the function to call that so pls help
14 years ago

Originally posted by Ben Souther:
The .exe install doesn't use the batch scripts.

If you install this way, you'll have start menu items, a task bar icon, and optionally a Windows Service.

If you want to run Tomcat from the batch scripts, download the ".zip" installation.



Hi Ben,
Thanks for your reply
But previously i used to do the same with XP OS. At that time i am able to see all the bat files.
14 years ago
Hi friends,

i am trying to install Tomcat 5.5 windows service installer.
after extracting the exe. In bin folder i am unable to see the shutdown.bat and startup.bat files
Actually i am trying to install tomcat in my laptop the OS is windows vista and java 1.6 version (default it got while configuring the laptop) is there any problem with OS and jre1.6?
14 years ago
hi Friends,

i have downloaded a sample project form roseindia.
and copy pasted the whole folder in webapps.
but when i tried to run application. i am getting this error which i have taken from tomcat logs


java.lang.UnsupportedClassVersionError: roseindia/dao/SpringHibernateDAOImpl (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1634)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:860)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1307)
at
14 years ago
i got the IBM websphere server and i have installed it
and while i am trying to start server it is showing error message like this

"C:\Program Files\IBM\WebSphere\AppServer\bin>startserver server1
ADMU0116I: Tool information is being logged in file C:\Program
Files\IBM\WebSphere\AppServer\profiles\AppSrv01\logs\server1\startServer.log
ADMU7701I: Because server1 is registered to run as a Windows Service, the
request to start this server will be completed by starting the
associated Windows Service.
ADMU7704E: Failed while trying to start the Windows Service associated with
server: server1;
probable error executing WASService.exe: Starting
Service: mildh0413Node01
Timed out waiting for service to respond to
command, after 60 seconds.Failed to start service, or timed out
while waiting for start to complete. Check the logs for details.



and another dought is do i need set any classpath. If so please tell me to which jar file it should point
how to deploy the project
14 years ago
And this is my log file.


************ Start Display Current Environment ************
Host Operating System is Windows 2000, version 5.0 build 2195 Service Pack 4
Java version = J2RE 1.5.0 IBM J9 2.3 Windows 2000 x86-32 j9vmwi3223-20060504 (JIT enabled)
J9VM - 20060501_06428_lHdSMR
JIT - 20060428_1800_r8
GC - 20060501_AA, Java Compiler = j9jit23, Java VM name = IBM J9 VM
was.install.root = C:\Program Files\IBM\WebSphere\AppServer
user.install.root = C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01
Java Home = C:\Program Files\IBM\WebSphere\AppServer\java\jre
ws.ext.dirs = C:\\Program Files\\IBM\\WebSphere\\AppServer\\java\\lib;C:\\Program Files\\IBM\\WebSphere\\AppServer\\classes;C:\\Program Files\\IBM\\WebSphere\\AppServer\\lib;C:\\Program Files\\IBM\\WebSphere\\AppServer\\installedChannels;C:\\Program Files\\IBM\\WebSphere\\AppServer\\lib\\ext;C:\\Program Files\\IBM\\WebSphere\\AppServer\\web\\help;C:\\Program Files\\IBM\\WebSphere\\AppServer\\deploytool\\itp\\plugins\\com.ibm.etools.ejbdeploy\\runtime
Classpath = C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\properties;C:\Program Files\IBM\WebSphere\AppServer\properties;C:\Program Files\IBM\WebSphere\AppServer\lib\startup.jar;C:\Program Files\IBM\WebSphere\AppServer\lib\bootstrap.jar;C:\Program Files\IBM\WebSphere\AppServer/lib/j2ee.jar;C:\Program Files\IBM\WebSphere\AppServer/lib/lmproxy.jar;C:\Program Files\IBM\WebSphere\AppServer/lib/urlprotocols.jar;C:\Program Files\IBM\WebSphere\AppServer\java\lib\tools.jar
Java Library path = C:\Program Files\IBM\WebSphere\AppServer\java\jre\bin;.;C:\Program Files\IBM\WebSphere\AppServer\java\jre\bin;C:\Program Files\IBM\WebSphere\AppServer\bin;C:\Program Files\IBM\WebSphere\AppServer\java\bin;C:\Program Files\IBM\WebSphere\AppServer\java\jre\bin;C:\j2sdk1.4.2_05\bin;C:\PROGRA~1\COMMON~1\MERCUR~1\SHARED~1\JAVAAD~1\classes;D:\oracle\ora90\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Sybase\SQL Anywhere 9\win32;C:\Program Files\Sybase\Shared\win32;C:\Program Files\Sybase\SQL Anywhere 9\drivers;C:\Program Files\Sybase\Shared\Sybase Central 4.3\win32;C:\Program Files\Sybase\Shared\PowerBuilder;C:\Program Files\Sybase\InfoMaker 10.5\Tutorial;C:\Program Files\Sybase\Shared\Web Targets;D:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT;D:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;D:\Program Files\Microsoft Visual Studio\Common\Tools;D:\Program Files\Microsoft Visual Studio\VC98\bin;C:\j2sdk1.4.2_05\bin;C:\j2sdk1.4.2_05\bin;C:\PROGRA~1\COMMON~1\MERCUR~1\SHARED~1\JAVAAD~1\classes;D:\oracle\ora90\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Sybase\SQL Anywhere 9\win32;C:\Program Files\Sybase\Shared\win32;C:\Program Files\Sybase\SQL Anywhere 9\drivers;C:\Program Files\Sybase\Shared\Sybase Central 4.3\win32;C:\Program Files\Sybase\Shared\PowerBuilder;C:\Program Files\Sybase\InfoMaker 10.5\Tutorial;C:\Program Files\Sybase\Shared\Web Targets;;C:\Program Files\IBM\WebSphere\AppClient\bin
Current trace specification = *=info:com.ibm.*=all
************* End Display Current Environment *************
[6/29/07 21:06:15:189 IST] 0000000a ManagerAdmin I TRAS0017I: The startup trace state is *=info:com.ibm.*=all.
[6/29/07 21:06:15:220 IST] 0000000a WsServerContr 1 Executing executeUtilityOnWindows with args: C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\config mildh0413Node01Cell mildh0413Node01 server1
[6/29/07 21:06:15:220 IST] 0000000a WsServerContr 1 Getting WindowsService obj with: server1 and C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\config mildh0413Node01Cell mildh0413Node01 server1
[6/29/07 21:06:15:236 IST] 0000000a WindowsServic > getWindowsServiceNameForServer() Entry
[6/29/07 21:06:15:236 IST] 0000000a WindowsServic 1 In executeCommand, args are: C:\Program Files\IBM\WebSphere\AppServer\bin\WASService.exe -getServiceName server1 -profilePath C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01
[6/29/07 21:06:15:283 IST] 0000000a WindowsServic 1 Runtime.exec() returned process java.lang.ProcessImpl@64c664c6
[6/29/07 21:06:15:299 IST] 0000000c WindowsServic 3 inputRec == IBMWAS61Service - mildh0413Node01
[6/29/07 21:06:15:299 IST] 0000000a WindowsServic 1 retCode from childProcess.waitFor() is 0
[6/29/07 21:06:15:299 IST] 0000000a WindowsServic 3 exitCode = 0
[6/29/07 21:06:16:299 IST] 0000000a WindowsServic 1 Trying to new up WindowsService using serverName=server1, winServiceName=mildh0413Node01
[6/29/07 21:06:16:299 IST] 0000000a WindowsServic > getServiceLogName() Entry
[6/29/07 21:06:16:299 IST] 0000000a WindowsServic 1 In executeCommand, args are: C:\Program Files\IBM\WebSphere\AppServer\bin\WASService.exe -getServiceLogName server1 -profilePath C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01
[6/29/07 21:06:16:299 IST] 0000000a WindowsServic 1 Runtime.exec() returned process java.lang.ProcessImpl@4cb04cb0
[6/29/07 21:06:16:299 IST] 0000000a WindowsServic 1 retCode from childProcess.waitFor() is 0
[6/29/07 21:06:16:299 IST] 0000000a WindowsServic 3 exitCode = 0
[6/29/07 21:06:16:299 IST] 0000000e WindowsServic 3 inputRec == C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\logs\mildh0413Node01 Service.log
[6/29/07 21:06:17:299 IST] 0000000a WindowsServic 1 In executeCommand, args are: C:\Program Files\IBM\WebSphere\AppServer\bin\WASService.exe -status mildh0413Node01
[6/29/07 21:06:17:299 IST] 0000000a WindowsServic 1 Runtime.exec() returned process java.lang.ProcessImpl@2e622e62
[6/29/07 21:06:17:299 IST] 00000010 WindowsServic 3 inputRec == The service is stopped.
[6/29/07 21:06:17:299 IST] 0000000a WindowsServic 1 retCode from childProcess.waitFor() is 1
[6/29/07 21:06:17:299 IST] 0000000a WindowsServic 3 exitCode = 1
[6/29/07 21:06:17:299 IST] 0000000a WindowsServic 1 In executeCommand, args are: C:\Program Files\IBM\WebSphere\AppServer\bin\WASService.exe -status mildh0413Node01
[6/29/07 21:06:17:314 IST] 0000000a WindowsServic 1 Runtime.exec() returned process java.lang.ProcessImpl@50ac50ac
[6/29/07 21:06:17:314 IST] 00000012 WindowsServic 3 inputRec == The service is stopped.
[6/29/07 21:06:17:314 IST] 0000000a WindowsServic 1 retCode from childProcess.waitFor() is 1
[6/29/07 21:06:17:314 IST] 0000000a WindowsServic 3 exitCode = 1
[6/29/07 21:06:17:314 IST] 0000000a WsServerContr 1 Window service status (1=stopped, 2=started, 3=not-registred) is 1
[6/29/07 21:06:17:330 IST] 0000000a AdminTool A ADMU7701I: Because server1 is registered to run as a Windows Service, the request to start this server will be completed by starting the associated Windows Service.
[6/29/07 21:06:17:330 IST] 0000000a WindowsServic 3 arrayList = [C:\Program Files\IBM\WebSphere\AppServer\bin\WASService.exe, -start, mildh0413Node01]
[6/29/07 21:06:17:330 IST] 0000000a WindowsServic 1 In executeCommand, args are: C:\Program Files\IBM\WebSphere\AppServer\bin\WASService.exe -start mildh0413Node01
[6/29/07 21:06:17:345 IST] 0000000a WindowsServic 1 Runtime.exec() returned process java.lang.ProcessImpl@1de41de4
[6/29/07 21:06:17:361 IST] 00000014 WindowsServic 3 waitForFileExist(C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\logs\mildh0413Node01 Service.log)
[6/29/07 21:06:17:877 IST] 00000014 EncodingUtils > getProperEncoding Entry
[6/29/07 21:06:17:877 IST] 00000014 EncodingUtils 3 System.getProperty("file.encoding") is: Cp1252
[6/29/07 21:06:17:877 IST] 00000014 EncodingUtils > isPlatformWindows() Entry
[6/29/07 21:06:17:877 IST] 00000014 WindowsServic 3 *** returned readerencoding = Cp850
[6/29/07 21:06:18:720 IST] 00000016 WindowsServic 3 inputRec == Starting Service: mildh0413Node01
[6/29/07 21:06:18:720 IST] 00000016 WindowsServic 3 inputRec ==
[6/29/07 21:06:18:720 IST] 00000018 WindowsServic 3 inputRec == Service failed to start. startServer return code = -1
[6/29/07 21:06:18:720 IST] 0000000a WindowsServic 1 retCode from childProcess.waitFor() is -1
[6/29/07 21:06:18:720 IST] 0000000a WindowsServic 3 -- interrupt the thread that is collecting stdout
[6/29/07 21:06:19:720 IST] 00000014 WindowsServic 3 readAndDisplayServiceLogFile(), caught InterruptedException
[6/29/07 21:06:19:720 IST] 0000000a WindowsServic 3 exitCode = -1
[6/29/07 21:06:19:720 IST] 0000000a WindowsServic 3 Service failed to start. startServer return code = -1
[6/29/07 21:06:19:720 IST] 0000000a AdminTool A ADMU7704E: Failed while trying to start the Windows Service associated with server: server1;
probable error executing WASService.exe: Starting Service: mildh0413Node01
Service failed to start. startServer return code = -1
************ Start Display Current Environment ************
Host Operating System is Windows 2000, version 5.0 build 2195 Service Pack 4
Java version = J2RE 1.5.0 IBM J9 2.3 Windows 2000 x86-32 j9vmwi3223-20060504 (JIT enabled)
J9VM - 20060501_06428_lHdSMR
JIT - 20060428_1800_r8
GC - 20060501_AA, Java Compiler = j9jit23, Java VM name = IBM J9 VM
was.install.root = C:\Program Files\IBM\WebSphere\AppServer
user.install.root = C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01
Java Home = C:\Program Files\IBM\WebSphere\AppServer\java\jre
ws.ext.dirs = C:\\Program Files\\IBM\\WebSphere\\AppServer\\java\\lib;C:\\Program Files\\IBM\\WebSphere\\AppServer\\classes;C:\\Program Files\\IBM\\WebSphere\\AppServer\\lib;C:\\Program Files\\IBM\\WebSphere\\AppServer\\installedChannels;C:\\Program Files\\IBM\\WebSphere\\AppServer\\lib\\ext;C:\\Program Files\\IBM\\WebSphere\\AppServer\\web\\help;C:\\Program Files\\IBM\\WebSphere\\AppServer\\deploytool\\itp\\plugins\\com.ibm.etools.ejbdeploy\\runtime
Classpath = C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\properties;C:\Program Files\IBM\WebSphere\AppServer\properties;C:\Program Files\IBM\WebSphere\AppServer\lib\startup.jar;C:\Program Files\IBM\WebSphere\AppServer\lib\bootstrap.jar;C:\Program Files\IBM\WebSphere\AppServer/lib/j2ee.jar;C:\Program Files\IBM\WebSphere\AppServer/lib/lmproxy.jar;C:\Program Files\IBM\WebSphere\AppServer/lib/urlprotocols.jar;C:\Program Files\IBM\WebSphere\AppServer\java\lib\tools.jar
Java Library path = C:\Program Files\IBM\WebSphere\AppServer\java\jre\bin;.;C:\Program Files\IBM\WebSphere\AppServer\java\jre\bin;C:\Program Files\IBM\WebSphere\AppServer\bin;C:\Program Files\IBM\WebSphere\AppServer\java\bin;C:\Program Files\IBM\WebSphere\AppServer\java\jre\bin;C:\j2sdk1.4.2_05\bin;C:\PROGRA~1\COMMON~1\MERCUR~1\SHARED~1\JAVAAD~1\classes;D:\oracle\ora90\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Sybase\SQL Anywhere 9\win32;C:\Program Files\Sybase\Shared\win32;C:\Program Files\Sybase\SQL Anywhere 9\drivers;C:\Program Files\Sybase\Shared\Sybase Central 4.3\win32;C:\Program Files\Sybase\Shared\PowerBuilder;C:\Program Files\Sybase\InfoMaker 10.5\Tutorial;C:\Program Files\Sybase\Shared\Web Targets;D:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT;D:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;D:\Program Files\Microsoft Visual Studio\Common\Tools;D:\Program Files\Microsoft Visual Studio\VC98\bin;C:\j2sdk1.4.2_05\bin;C:\j2sdk1.4.2_05\bin;C:\PROGRA~1\COMMON~1\MERCUR~1\SHARED~1\JAVAAD~1\classes;D:\oracle\ora90\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Sybase\SQL Anywhere 9\win32;C:\Program Files\Sybase\Shared\win32;C:\Program Files\Sybase\SQL Anywhere 9\drivers;C:\Program Files\Sybase\Shared\Sybase Central 4.3\win32;C:\Program Files\Sybase\Shared\PowerBuilder;C:\Program Files\Sybase\InfoMaker 10.5\Tutorial;C:\Program Files\Sybase\Shared\Web Targets;;C:\Program Files\IBM\WebSphere\AppClient\bin
Current trace specification = *=info:com.ibm.*=all
************* End Display Current Environment *************
[6/29/07 21:06:34:658 IST] 0000000a ManagerAdmin I TRAS0017I: The startup trace state is *=info:com.ibm.*=all.
[6/29/07 21:06:34:689 IST] 0000000a WsServerContr 1 Executing executeUtilityOnWindows with args: C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\config mildh0413Node01Cell mildh0413Node01 server1
[6/29/07 21:06:34:689 IST] 0000000a WsServerContr 1 Getting WindowsService obj with: server1 and C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\config mildh0413Node01Cell mildh0413Node01 server1
[6/29/07 21:06:34:689 IST] 0000000a WindowsServic > getWindowsServiceNameForServer() Entry
[6/29/07 21:06:34:689 IST] 0000000a WindowsServic 1 In executeCommand, args are: C:\Program Files\IBM\WebSphere\AppServer\bin\WASService.exe -getServiceName server1 -profilePath C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01
[6/29/07 21:06:34:720 IST] 0000000a WindowsServic 1 Runtime.exec() returned process java.lang.ProcessImpl@21782178
[6/29/07 21:06:34:720 IST] 0000000a WindowsServic 1 retCode from childProcess.waitFor() is 0
[6/29/07 21:06:34:720 IST] 0000000a WindowsServic 3 exitCode = 0
[6/29/07 21:06:34:736 IST] 0000000c WindowsServic 3 inputRec == IBMWAS61Service - mildh0413Node01
[6/29/07 21:06:35:720 IST] 0000000a WindowsServic 1 Trying to new up WindowsService using serverName=server1, winServiceName=mildh0413Node01
[6/29/07 21:06:35:720 IST] 0000000a WindowsServic > getServiceLogName() Entry
[6/29/07 21:06:35:720 IST] 0000000a WindowsServic 1 In executeCommand, args are: C:\Program Files\IBM\WebSphere\AppServer\bin\WASService.exe -getServiceLogName server1 -profilePath C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01
[6/29/07 21:06:35:720 IST] 0000000a WindowsServic 1 Runtime.exec() returned process java.lang.ProcessImpl@1cce1cce
[6/29/07 21:06:35:720 IST] 0000000a WindowsServic 1 retCode from childProcess.waitFor() is 0
[6/29/07 21:06:35:720 IST] 0000000a WindowsServic 3 exitCode = 0
[6/29/07 21:06:35:736 IST] 0000000e WindowsServic 3 inputRec == C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\logs\mildh0413Node01 Service.log
[6/29/07 21:06:36:736 IST] 0000000a WindowsServic 1 In executeCommand, args are: C:\Program Files\IBM\WebSphere\AppServer\bin\WASService.exe -status mildh0413Node01
[6/29/07 21:06:36:736 IST] 0000000a WindowsServic 1 Runtime.exec() returned process java.lang.ProcessImpl@160016
[6/29/07 21:06:36:736 IST] 00000010 WindowsServic 3 inputRec == The service is running.
[6/29/07 21:06:36:736 IST] 0000000a WindowsServic 1 retCode from childProcess.waitFor() is 2
[6/29/07 21:06:36:736 IST] 0000000a WindowsServic 3 exitCode = 2
[6/29/07 21:06:36:752 IST] 0000000a AdminTool A ADMU3027E: An instance of the server may already be running: server1
[6/29/07 21:06:36:752 IST] 0000000a WsServerLaunc E ADMU3027E: An instance of the server may already be running: server1
************ Start Display Current Environment ************
Host Operating System is Windows 2000, version 5.0 build 2195 Service Pack 4
Java version = J2RE 1.5.0 IBM J9 2.3 Windows 2000 x86-32 j9vmwi3223-20060504 (JIT enabled)
J9VM - 20060501_06428_lHdSMR
JIT - 20060428_1800_r8
GC - 20060501_AA, Java Compiler = j9jit23, Java VM name = IBM J9 VM
was.install.root = C:\Program Files\IBM\WebSphere\AppServer
user.install.root = C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01
Java Home = C:\Program Files\IBM\WebSphere\AppServer\java\jre
ws.ext.dirs = C:\\Program Files\\IBM\\WebSphere\\AppServer\\java\\lib;C:\\Program Files\\IBM\\WebSphere\\AppServer\\classes;C:\\Program Files\\IBM\\WebSphere\\AppServer\\lib;C:\\Program Files\\IBM\\WebSphere\\AppServer\\installedChannels;C:\\Program Files\\IBM\\WebSphere\\AppServer\\lib\\ext;C:\\Program Files\\IBM\\WebSphere\\AppServer\\web\\help;C:\\Program Files\\IBM\\WebSphere\\AppServer\\deploytool\\itp\\plugins\\com.ibm.etools.ejbdeploy\\runtime
Classpath = C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\properties;C:\Program Files\IBM\WebSphere\AppServer\properties;C:\Program Files\IBM\WebSphere\AppServer\lib\startup.jar;C:\Program Files\IBM\WebSphere\AppServer\lib\bootstrap.jar;C:\Program Files\IBM\WebSphere\AppServer/lib/j2ee.jar;C:\Program Files\IBM\WebSphere\AppServer/lib/lmproxy.jar;C:\Program Files\IBM\WebSphere\AppServer/lib/urlprotocols.jar;C:\Program Files\IBM\WebSphere\AppServer\java\lib\tools.jar
Java Library path = C:\Program Files\IBM\WebSphere\AppServer\java\jre\bin;.;C:\Program Files\IBM\WebSphere\AppServer\java\jre\bin;C:\Program Files\IBM\WebSphere\AppServer\bin;C:\Program Files\IBM\WebSphere\AppServer\java\bin;C:\Program Files\IBM\WebSphere\AppServer\java\jre\bin;C:\j2sdk1.4.2_05\bin;C:\PROGRA~1\COMMON~1\MERCUR~1\SHARED~1\JAVAAD~1\classes;D:\oracle\ora90\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Sybase\SQL Anywhere 9\win32;C:\Program Files\Sybase\Shared\win32;C:\Program Files\Sybase\SQL Anywhere 9\drivers;C:\Program Files\Sybase\Shared\Sybase Central 4.3\win32;C:\Program Files\Sybase\Shared\PowerBuilder;C:\Program Files\Sybase\InfoMaker 10.5\Tutorial;C:\Program Files\Sybase\Shared\Web Targets;
Current trace specification = *=info:com.ibm.*=all
************* End Display Current Environment *************
[7/1/07 11:37:16:390 IST] 0000000a ManagerAdmin I TRAS0017I: The startup trace state is *=info:com.ibm.*=all.
[7/1/07 11:37:16:406 IST] 0000000a WsServerContr 1 Executing executeUtilityOnWindows with args: C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\config mildh0413Node01Cell mildh0413Node01 server1 -fromWinService \\.\pipe\w6SvcPipe_29F1A_13A7B
[7/1/07 11:37:16:406 IST] 0000000a WsServerContr 1 invokedByWindowsService has been set to true earlier
[7/1/07 11:37:16:406 IST] 0000000a ManagerAdmin I TRAS0018I: The trace state has changed. The new trace state is *=info.
[7/1/07 11:37:19:421 IST] 0000000a AdminTool A ADMU0128I: Starting tool with the AppSrv01 profile
[7/1/07 11:37:19:421 IST] 0000000a AdminTool A ADMU3100I: Reading configuration for server: server1
[7/1/07 11:37:51:501 IST] 0000000a AdminTool A ADMU3200I: Server launched. Waiting for initialization status.
[7/1/07 11:45:36:548 IST] 0000000a AdminTool A ADMU3000I: Server server1 open for e-business; process id is 1584
************ Start Display Current Environment ************
Host Operating System is Windows 2000, version 5.0 build 2195 Service Pack 4
Java version = J2RE 1.5.0 IBM J9 2.3 Windows 2000 x86-32 j9vmwi3223-20060504 (JIT enabled)
J9VM - 20060501_06428_lHdSMR
JIT - 20060428_1800_r8
GC - 20060501_AA, Java Compiler = j9jit23, Java VM name = IBM J9 VM
was.install.root = C:\Program Files\IBM\WebSphere\AppServer
user.install.root = C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01
Java Home = C:\Program Files\IBM\WebSphere\AppServer\java\jre
ws.ext.dirs = C:\\Program Files\\IBM\\WebSphere\\AppServer\\java\\lib;C:\\Program Files\\IBM\\WebSphere\\AppServer\\classes;C:\\Program Files\\IBM\\WebSphere\\AppServer\\lib;C:\\Program Files\\IBM\\WebSphere\\AppServer\\installedChannels;C:\\Program Files\\IBM\\WebSphere\\AppServer\\lib\\ext;C:\\Program Files\\IBM\\WebSphere\\AppServer\\web\\help;C:\\Program Files\\IBM\\WebSphere\\AppServer\\deploytool\\itp\\plugins\\com.ibm.etools.ejbdeploy\\runtime
Classpath = C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\properties;C:\Program Files\IBM\WebSphere\AppServer\properties;C:\Program Files\IBM\WebSphere\AppServer\lib\startup.jar;C:\Program Files\IBM\WebSphere\AppServer\lib\bootstrap.jar;C:\Program Files\IBM\WebSphere\AppServer/lib/j2ee.jar;C:\Program Files\IBM\WebSphere\AppServer/lib/lmproxy.jar;C:\Program Files\IBM\WebSphere\AppServer/lib/urlprotocols.jar;C:\Program Files\IBM\WebSphere\AppServer\java\lib\tools.jar
Java Library path = C:\Program Files\IBM\WebSphere\AppServer\java\jre\bin;.;C:\Program Files\IBM\WebSphere\AppServer\java\jre\bin;C:\Program Files\IBM\WebSphere\AppServer\bin;C:\Program Files\IBM\WebSphere\AppServer\java\bin;C:\Program Files\IBM\WebSphere\AppServer\java\jre\bin;C:\j2sdk1.4.2_05\bin;C:\PROGRA~1\COMMON~1\MERCUR~1\SHARED~1\JAVAAD~1\classes;D:\oracle\ora90\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Sybase\SQL Anywhere 9\win32;C:\Program Files\Sybase\Shared\win32;C:\Program Files\Sybase\SQL Anywhere 9\drivers;C:\Program Files\Sybase\Shared\Sybase Central 4.3\win32;C:\Program Files\Sybase\Shared\PowerBuilder;C:\Program Files\Sybase\InfoMaker 10.5\Tutorial;C:\Program Files\Sybase\Shared\Web Targets;
Current trace specification = *=info:com.ibm.*=all
************* End Display Current Environment *************
[7/1/07 11:45:45:517 IST] 0000000a ManagerAdmin I TRAS0017I: The startup trace state is *=info:com.ibm.*=all.
[7/1/07 11:45:45:532 IST] 0000000a WsServerContr 1 Executing executeUtilityOnWindows with args: C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\config mildh0413Node01Cell mildh0413Node01 server1
[7/1/07 11:45:45:532 IST] 0000000a WsServerContr 1 Getting WindowsService obj with: server1 and C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\config mildh0413Node01Cell mildh0413Node01 server1
[7/1/07 11:45:45:548 IST] 0000000a WindowsServic > getWindowsServiceNameForServer() Entry
[7/1/07 11:45:45:548 IST] 0000000a WindowsServic 1 In executeCommand, args are: C:\Program Files\IBM\WebSphere\AppServer\bin\WASService.exe -getServiceName server1 -profilePath C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01
[7/1/07 11:45:45:564 IST] 0000000a WindowsServic 1 Runtime.exec() returned process java.lang.ProcessImpl@561c561c
[7/1/07 11:45:45:579 IST] 0000000a WindowsServic 1 retCode from childProcess.waitFor() is 0
[7/1/07 11:45:45:579 IST] 0000000a WindowsServic 3 exitCode = 0
[7/1/07 11:45:45:579 IST] 0000000c WindowsServic 3 inputRec == IBMWAS61Service - mildh0413Node01
[7/1/07 11:45:46:579 IST] 0000000a WindowsServic 1 Trying to new up WindowsService using serverName=server1, winServiceName=mildh0413Node01
[7/1/07 11:45:46:579 IST] 0000000a WindowsServic > getServiceLogName() Entry
[7/1/07 11:45:46:579 IST] 0000000a WindowsServic 1 In executeCommand, args are: C:\Program Files\IBM\WebSphere\AppServer\bin\WASService.exe -getServiceLogName server1 -profilePath C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01
[7/1/07 11:45:46:579 IST] 0000000a WindowsServic 1 Runtime.exec() returned process java.lang.ProcessImpl@6e426e42
[7/1/07 11:45:46:579 IST] 0000000a WindowsServic 1 retCode from childProcess.waitFor() is 0
[7/1/07 11:45:46:579 IST] 0000000a WindowsServic 3 exitCode = 0
[7/1/07 11:45:46:579 IST] 0000000e WindowsServic 3 inputRec == C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\logs\mildh0413Node01 Service.log
[7/1/07 11:45:47:579 IST] 0000000a WindowsServic 1 In executeCommand, args are: C:\Program Files\IBM\WebSphere\AppServer\bin\WASService.exe -status mildh0413Node01
[7/1/07 11:45:47:579 IST] 0000000a WindowsServic 1 Runtime.exec() returned process java.lang.ProcessImpl@6e646e64
[7/1/07 11:45:47:579 IST] 00000010 WindowsServic 3 inputRec == The service is stopped.
[7/1/07 11:45:47:579 IST] 0000000a WindowsServic 1 retCode from childProcess.waitFor() is 1
[7/1/07 11:45:47:579 IST] 0000000a WindowsServic 3 exitCode = 1
[7/1/07 11:45:47:579 IST] 0000000a WindowsServic 1 In executeCommand, args are: C:\Program Files\IBM\WebSphere\AppServer\bin\WASService.exe -status mildh0413Node01
[7/1/07 11:45:47:595 IST] 0000000a WindowsServic 1 Runtime.exec() returned process java.lang.ProcessImpl@c700c70
[7/1/07 11:45:47:595 IST] 00000012 WindowsServic 3 inputRec == The service is stopped.
[7/1/07 11:45:47:595 IST] 0000000a WindowsServic 1 retCode from childProcess.waitFor() is 1
[7/1/07 11:45:47:595 IST] 0000000a WindowsServic 3 exitCode = 1
[7/1/07 11:45:47:595 IST] 0000000a WsServerContr 1 Window service status (1=stopped, 2=started, 3=not-registred) is 1
[7/1/07 11:45:47:610 IST] 0000000a AdminTool A ADMU7701I: Because server1 is registered to run as a Windows Service, the request to start this server will be completed by starting the associated Windows Service.
[7/1/07 11:45:47:610 IST] 0000000a WindowsServic 3 arrayList = [C:\Program Files\IBM\WebSphere\AppServer\bin\WASService.exe, -start, mildh0413Node01]
[7/1/07 11:45:47:610 IST] 0000000a WindowsServic 1 In executeCommand, args are: C:\Program Files\IBM\WebSphere\AppServer\bin\WASService.exe -start mildh0413Node01
[7/1/07 11:45:47:610 IST] 0000000a WindowsServic 1 Runtime.exec() returned process java.lang.ProcessImpl@5d225d22
[7/1/07 11:45:47:626 IST] 00000014 WindowsServic 3 waitForFileExist(C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\logs\mildh0413Node01 Service.log)
[7/1/07 11:45:48:126 IST] 00000014 EncodingUtils > getProperEncoding Entry
[7/1/07 11:45:48:126 IST] 00000014 EncodingUtils 3 System.getProperty("file.encoding") is: Cp1252
[7/1/07 11:45:48:126 IST] 00000014 EncodingUtils > isPlatformWindows() Entry
[7/1/07 11:45:48:126 IST] 00000014 WindowsServic 3 *** returned readerencoding = Cp850
[7/1/07 11:46:47:626 IST] 00000016 WindowsServic 3 inputRec == Starting Service: mildh0413Node01
[7/1/07 11:46:47:626 IST] 00000016 WindowsServic 3 inputRec ==
[7/1/07 11:46:47:626 IST] 00000018 WindowsServic 3 inputRec == Timed out waiting for service to respond to command, after 60 seconds.
[7/1/07 11:46:47:626 IST] 00000018 WindowsServic 3 inputRec == Failed to start service, or timed out while waiting for start to complete. Check the logs for details.
[7/1/07 11:46:47:626 IST] 0000000a WindowsServic 1 retCode from childProcess.waitFor() is -1
[7/1/07 11:46:47:626 IST] 0000000a WindowsServic 3 -- interrupt the thread that is collecting stdout
[7/1/07 11:46:48:626 IST] 0000000a WindowsServic 3 exitCode = -1
[7/1/07 11:46:48:626 IST] 0000000a WindowsServic 3 Timed out waiting for service to respond to command, after 60 seconds.Failed to start service, or timed out while waiting for start to complete. Check the logs for details.
[7/1/07 11:46:48:626 IST] 00000014 WindowsServic 3 readAndDisplayServiceLogFile(), caught InterruptedException
[7/1/07 11:46:48:626 IST] 0000000a AdminTool A ADMU7704E: Failed while trying to start the Windows Service associated with server: server1;
probable error executing WASService.exe: Starting Service: mildh0413Node01
Timed out waiting for service to respond to command, after 60 seconds.Failed to start service, or timed out while waiting for start to complete. Check the logs for details.
************ Start Display Current Environment ************
Host Operating System is Windows 2000, version 5.0 build 2195 Service Pack 4
Java version = J2RE 1.5.0 IBM J9 2.3 Windows 2000 x86-32 j9vmwi3223-20060504 (JIT enabled)
J9VM - 20060501_06428_lHdSMR
JIT - 20060428_1800_r8
GC - 20060501_AA, Java Compiler = j9jit23, Java VM name = IBM J9 VM
was.install.root = C:\Program Files\IBM\WebSphere\AppServer
user.install.root = C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01
Java Home = C:\Program Files\IBM\WebSphere\AppServer\java\jre
ws.ext.dirs = C:\\Program Files\\IBM\\WebSphere\\AppServer\\java\\lib;C:\\Program Files\\IBM\\WebSphere\\AppServer\\classes;C:\\Program Files\\IBM\\WebSphere\\AppServer\\lib;C:\\Program Files\\IBM\\WebSphere\\AppServer\\installedChannels;C:\\Program Files\\IBM\\WebSphere\\AppServer\\lib\\ext;C:\\Program Files\\IBM\\WebSphere\\AppServer\\web\\help;C:\\Program Files\\IBM\\WebSphere\\AppServer\\deploytool\\itp\\plugins\\com.ibm.etools.ejbdeploy\\runtime
Classpath = C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\properties;C:\Program Files\IBM\WebSphere\AppServer\properties;C:\Program Files\IBM\WebSphere\AppServer\lib\startup.jar;C:\Program Files\IBM\WebSphere\AppServer\lib\bootstrap.jar;C:\Program Files\IBM\WebSphere\AppServer/lib/j2ee.jar;C:\Program Files\IBM\WebSphere\AppServer/lib/lmproxy.jar;C:\Program Files\IBM\WebSphere\AppServer/lib/urlprotocols.jar;C:\Program Files\IBM\WebSphere\AppServer\java\lib\tools.jar
Java Library path = C:\Program Files\IBM\WebSphere\AppServer\java\jre\bin;.;C:\Program Files\IBM\WebSphere\AppServer\java\jre\bin;C:\Program Files\IBM\WebSphere\AppServer\bin;C:\Program Files\IBM\WebSphere\AppServer\java\bin;C:\Program Files\IBM\WebSphere\AppServer\java\jre\bin;C:\j2sdk1.4.2_05\bin;C:\PROGRA~1\COMMON~1\MERCUR~1\SHARED~1\JAVAAD~1\classes;D:\oracle\ora90\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Sybase\SQL Anywhere 9\win32;C:\Program Files\Sybase\Shared\win32;C:\Program Files\Sybase\SQL Anywhere 9\drivers;C:\Program Files\Sybase\Shared\Sybase Central 4.3\win32;C:\Program Files\Sybase\Shared\PowerBuilder;C:\Program Files\Sybase\InfoMaker 10.5\Tutorial;C:\Program Files\Sybase\Shared\Web Targets;D:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT;D:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;D:\Program Files\Microsoft Visual Studio\Common\Tools;D:\Program Files\Microsoft Visual Studio\VC98\bin;C:\j2sdk1.4.2_05\bin;C:\j2sdk1.4.2_05\bin;C:\PROGRA~1\COMMON~1\MERCUR~1\SHARED~1\JAVAAD~1\classes;D:\oracle\ora90\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Sybase\SQL Anywhere 9\win32;C:\Program Files\Sybase\Shared\win32;C:\Program Files\Sybase\SQL Anywhere 9\drivers;C:\Program Files\Sybase\Shared\Sybase Central 4.3\win32;C:\Program Files\Sybase\Shared\PowerBuilder;C:\Program Files\Sybase\InfoMaker 10.5\Tutorial;C:\Program Files\Sybase\Shared\Web Targets;;C:\Program Files\IBM\WebSphere\AppClient\bin
Current trace specification = *=info:com.ibm.*=all
************* End Display Current Environment *************
[7/1/07 13:24:35:548 IST] 0000000a ManagerAdmin I TRAS0017I: The startup trace state is *=info:com.ibm.*=all.
[7/1/07 13:24:35:564 IST] 0000000a WsServerContr 1 Executing executeUtilityOnWindows with args: C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\config mildh0413Node01Cell mildh0413Node01 server1
[7/1/07 13:24:35:564 IST] 0000000a WsServerContr 1 Getting WindowsService obj with: server1 and C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\config mildh0413Node01Cell mildh0413Node01 server1
[7/1/07 13:24:35:579 IST] 0000000a WindowsServic > getWindowsServiceNameForServer() Entry
[7/1/07 13:24:35:579 IST] 0000000a WindowsServic 1 In executeCommand, args are: C:\Program Files\IBM\WebSphere\AppServer\bin\WASService.exe -getServiceName server1 -profilePath C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01
[7/1/07 13:24:35:595 IST] 0000000a WindowsServic 1 Runtime.exec() returned process java.lang.ProcessImpl@4f664f66
[7/1/07 13:24:35:610 IST] 0000000c WindowsServic 3 inputRec == IBMWAS61Service - mildh0413Node01
[7/1/07 13:24:35:610 IST] 0000000a WindowsServic 1 retCode from childProcess.waitFor() is 0
[7/1/07 13:24:35:610 IST] 0000000a WindowsServic 3 exitCode = 0
[7/1/07 13:24:36:610 IST] 0000000a WindowsServic 1 Trying to new up WindowsService using serverName=server1, winServiceName=mildh0413Node01
[7/1/07 13:24:36:610 IST] 0000000a WindowsServic > getServiceLogName() Entry
[7/1/07 13:24:36:610 IST] 0000000a WindowsServic 1 In executeCommand, args are: C:\Program Files\IBM\WebSphere\AppServer\bin\WASService.exe -getServiceLogName server1 -profilePath C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01
[7/1/07 13:24:36:626 IST] 0000000a WindowsServic 1 Runtime.exec() returned process java.lang.ProcessImpl@51705170
[7/1/07 13:24:36:626 IST] 0000000a WindowsServic 1 retCode from childProcess.waitFor() is 0
[7/1/07 13:24:36:626 IST] 0000000a WindowsServic 3 exitCode = 0
[7/1/07 13:24:36:626 IST] 0000000e WindowsServic 3 inputRec == C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\logs\mildh0413Node01 Service.log
[7/1/07 13:24:37:626 IST] 0000000a WindowsServic 1 In executeCommand, args are: C:\Program Files\IBM\WebSphere\AppServer\bin\WASService.exe -status mildh0413Node01
[7/1/07 13:24:37:626 IST] 0000000a WindowsServic 1 Runtime.exec() returned process java.lang.ProcessImpl@6ab66ab6
[7/1/07 13:24:37:642 IST] 00000010 WindowsServic 3 inputRec == The service is stopped.
[7/1/07 13:24:37:642 IST] 0000000a WindowsServic 1 retCode from childProcess.waitFor() is 1
[7/1/07 13:24:37:642 IST] 0000000a WindowsServic 3 exitCode = 1
[7/1/07 13:24:37:642 IST] 0000000a WindowsServic 1 In executeCommand, args are: C:\Program Files\IBM\WebSphere\AppServer\bin\WASService.exe -status mildh0413Node01
[7/1/07 13:24:37:642 IST] 0000000a WindowsServic 1 Runtime.exec() returned process java.lang.ProcessImpl@78427842
[7/1/07 13:24:37:657 IST] 00000012 WindowsServic 3 inputRec == The service is stopped.
[7/1/07 13:24:37:657 IST] 0000000a WindowsServic 1 retCode from childProcess.waitFor() is 1
[7/1/07 13:24:37:657 IST] 0000000a WindowsServic 3 exitCode = 1
[7/1/07 13:24:37:657 IST] 0000000a WsServerContr 1 Window service status (1=stopped, 2=started, 3=not-registred) is 1
[7/1/07 13:24:37:657 IST] 0000000a AdminTool A ADMU7701I: Because server1 is registered to run as a Windows Service, the request to start this server will be completed by starting the associated Windows Service.
[7/1/07 13:24:37:657 IST] 0000000a WindowsServic 3 arrayList = [C:\Program Files\IBM\WebSphere\AppServer\bin\WASService.exe, -start, mildh0413Node01]
[7/1/07 13:24:37:657 IST] 0000000a WindowsServic 1 In executeCommand, args are: C:\Program Files\IBM\WebSphere\AppServer\bin\WASService.exe -start mildh0413Node01
[7/1/07 13:24:37:673 IST] 0000000a WindowsServic 1 Runtime.exec() returned process java.lang.ProcessImpl@75687568
[7/1/07 13:24:37:673 IST] 00000014 WindowsServic 3 waitForFileExist(C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\logs\mildh0413Node01 Service.log)
[7/1/07 13:24:38:173 IST] 00000014 EncodingUtils > getProperEncoding Entry
[7/1/07 13:24:38:173 IST] 00000014 EncodingUtils 3 System.getProperty("file.encoding") is: Cp1252
[7/1/07 13:24:38:173 IST] 00000014 EncodingUtils > isPlatformWindows() Entry
[7/1/07 13:24:38:173 IST] 00000014 WindowsServic 3 *** returned readerencoding = Cp850
[7/1/07 13:25:37:689 IST] 00000016 WindowsServic 3 inputRec == Starting Service: mildh0413Node01
[7/1/07 13:25:37:689 IST] 00000016 WindowsServic 3 inputRec ==
[7/1/07 13:25:37:689 IST] 00000018 WindowsServic 3 inputRec == Timed out waiting for service to respond to command, after 60 seconds.
[7/1/07 13:25:37:689 IST] 00000018 WindowsServic 3 inputRec == Failed to start service, or timed out while waiting for start to complete. Check the logs for details.
[7/1/07 13:25:37:689 IST] 0000000a WindowsServic 1 retCode from childProcess.waitFor() is -1
[7/1/07 13:25:37:689 IST] 0000000a WindowsServic 3 -- interrupt the thread that is collecting stdout
[7/1/07 13:25:38:689 IST] 00000014 WindowsServic 3 readAndDisplayServiceLogFile(), caught InterruptedException
[7/1/07 13:25:38:689 IST] 0000000a WindowsServic 3 exitCode = -1
[7/1/07 13:25:38:689 IST] 0000000a WindowsServic 3 Timed out waiting for service to respond to command, after 60 seconds.Failed to start service, or timed out while waiting for start to complete. Check the logs for details.
[7/1/07 13:25:38:689 IST] 0000000a AdminTool A ADMU7704E: Failed while trying to start the Windows Service associated with server: server1;
probable error executing WASService.exe: Starting Service: mildh0413Node01
Timed out waiting for service to respond to command, after 60 seconds.Failed to start service, or timed out while waiting for start to complete. Check the logs for details.
************ Start Display Current Environment ************
Host Operating System is Windows 2000, version 5.0 build 2195 Service Pack 4
Java version = J2RE 1.5.0 IBM J9 2.3 Windows 2000 x86-32 j9vmwi3223-20060504 (JIT enabled)
J9VM - 20060501_06428_lHdSMR
JIT - 20060428_1800_r8
GC - 20060501_AA, Java Compiler = j9jit23, Java VM name = IBM J9 VM
was.install.root = C:\Program Files\IBM\WebSphere\AppServer
user.install.root = C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01
Java Home = C:\Program Files\IBM\WebSphere\AppServer\java\jre
ws.ext.dirs = C:\\Program Files\\IBM\\WebSphere\\AppServer\\java\\lib;C:\\Program Files\\IBM\\WebSphere\\AppServer\\classes;C:\\Program Files\\IBM\\WebSphere\\AppServer\\lib;C:\\Program Files\\IBM\\WebSphere\\AppServer\\installedChannels;C:\\Program Files\\IBM\\WebSphere\\AppServer\\lib\\ext;C:\\Program Files\\IBM\\WebSphere\\AppServer\\web\\help;C:\\Program Files\\IBM\\WebSphere\\AppServer\\deploytool\\itp\\plugins\\com.ibm.etools.ejbdeploy\\runtime
Classpath = C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\properties;C:\Program Files\IBM\WebSphere\AppServer\properties;C:\Program Files\IBM\WebSphere\AppServer\lib\startup.jar;C:\Program Files\IBM\WebSphere\AppServer\lib\bootstrap.jar;C:\Program Files\IBM\WebSphere\AppServer/lib/j2ee.jar;C:\Program Files\IBM\WebSphere\AppServer/lib/lmproxy.jar;C:\Program Files\IBM\WebSphere\AppServer/lib/urlprotocols.jar;C:\Program Files\IBM\WebSphere\AppServer\java\lib\tools.jar
Java Library path = C:\Program Files\IBM\WebSphere\AppServer\java\jre\bin;.;C:\Program Files\IBM\WebSphere\AppServer\java\jre\bin;C:\Program Files\IBM\WebSphere\AppServer\bin;C:\Program Files\IBM\WebSphere\AppServer\java\bin;C:\Program Files\IBM\WebSphere\AppServer\java\jre\bin;C:\j2sdk1.4.2_05\bin;C:\PROGRA~1\COMMON~1\MERCUR~1\SHARED~1\JAVAAD~1\classes;D:\oracle\ora90\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Sybase\SQL Anywhere 9\win32;C:\Program Files\Sybase\Shared\win32;C:\Program Files\Sybase\SQL Anywhere 9\drivers;C:\Program Files\Sybase\Shared\Sybase Central 4.3\win32;C:\Program Files\Sybase\Shared\PowerBuilder;C:\Program Files\Sybase\InfoMaker 10.5\Tutorial;C:\Program Files\Sybase\Shared\Web Targets;D:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT;D:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;D:\Program Files\Microsoft Visual Studio\Common\Tools;D:\Program Files\Microsoft Visual Studio\VC98\bin;C:\j2sdk1.4.2_05\bin;C:\j2sdk1.4.2_05\bin;C:\PROGRA~1\COMMON~1\MERCUR~1\SHARED~1\JAVAAD~1\classes;D:\oracle\ora90\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Sybase\SQL Anywhere 9\win32;C:\Program Files\Sybase\Shared\win32;C:\Program Files\Sybase\SQL Anywhere 9\drivers;C:\Program Files\Sybase\Shared\Sybase Central 4.3\win32;C:\Program Files\Sybase\Shared\PowerBuilder;C:\Program Files\Sybase\InfoMaker 10.5\Tutorial;C:\Program Files\Sybase\Shared\Web Targets;;C:\Program Files\IBM\WebSphere\AppClient\bin
Current trace specification = *=info:com.ibm.*=all
************* End Display Current Environment *************
[7/1/07 13:26:23:626 IST] 0000000a ManagerAdmin I TRAS0017I: The startup trace state is *=info:com.ibm.*=all.
[7/1/07 13:26:23:642 IST] 0000000a WsServerContr 1 Executing executeUtilityOnWindows with args: C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\config mildh0413Node01Cell mildh0413Node01 server1
[7/1/07 13:26:23:642 IST] 0000000a WsServerContr 1 Getting WindowsService obj with: server1 and C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\config mildh0413Node01Cell mildh0413Node01 server1
[7/1/07 13:26:23:657 IST] 0000000a WindowsServic > getWindowsServiceNameForServer() Entry
[7/1/07 13:26:23:657 IST] 0000000a WindowsServic 1 In executeCommand, args are: C:\Program Files\IBM\WebSphere\AppServer\bin\WASService.exe -getServiceName server1 -profilePath C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01
[7/1/07 13:26:23:673 IST] 0000000a WindowsServic 1 Runtime.exec() returned process java.lang.ProcessImpl@c800c8
[7/1/07 13:26:23:689 IST] 0000000c WindowsServic 3 inputRec == IBMWAS61Service - mildh0413Node01
[7/1/07 13:26:23:689 IST] 0000000a WindowsServic 1 retCode from childProcess.waitFor() is 0
[7/1/07 13:26:23:689 IST] 0000000a WindowsServic 3 exitCode = 0
[7/1/07 13:26:24:689 IST] 0000000a WindowsServic 1 Trying to new up WindowsService using serverName=server1, winServiceName=mildh0413Node01
[7/1/07 13:26:24:689 IST] 0000000a WindowsServic > getServiceLogName() Entry
[7/1/07 13:26:24:689 IST] 0000000a WindowsServic 1 In executeCommand, args are: C:\Program Files\IBM\WebSphere\AppServer\bin\WASService.exe -getServiceLogName server1 -profilePath C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01
[7/1/07 13:26:24:704 IST] 0000000a WindowsServic 1 Runtime.exec() returned process java.lang.ProcessImpl@69386938
[7/1/07 13:26:24:720 IST] 0000000a WindowsServic 1 retCode from childProcess.waitFor() is 0
[7/1/07 13:26:24:720 IST] 0000000a WindowsServic 3 exitCode = 0
[7/1/07 13:26:24:720 IST] 0000000e WindowsServic 3 inputRec == C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\logs\mildh0413Node01 Service.log
[7/1/07 13:26:25:720 IST] 0000000a WindowsServic 1 In executeCommand, args are: C:\Program Files\IBM\WebSphere\AppServer\bin\WASService.exe -status mildh0413Node01
[7/1/07 13:26:25:720 IST] 0000000a WindowsServic 1 Runtime.exec() returned process java.lang.ProcessImpl@7f0e7f0e
[7/1/07 13:26:25:735 IST] 00000010 WindowsServic 3 inputRec == The service is stopped.
[7/1/07 13:26:25:735 IST] 0000000a WindowsServic 1 retCode from childProcess.waitFor() is 1
[7/1/07 13:26:25:735 IST] 0000000a WindowsServic 3 exitCode = 1
[7/1/07 13:26:25:735 IST] 0000000a WindowsServic 1 In executeCommand, args are: C:\Program Files\IBM\WebSphere\AppServer\bin\WASService.exe -status mildh0413Node01
[7/1/07 13:26:25:735 IST] 0000000a WindowsServic 1 Runtime.exec() returned process java.lang.ProcessImpl@6ba06ba0
[7/1/07 13:26:25:735 IST] 00000012 WindowsServic 3 inputRec == The service is stopped.
[7/1/07 13:26:25:751 IST] 0000000a WindowsServic 1 retCode from childProcess.waitFor() is 1
[7/1/07 13:26:25:751 IST] 0000000a WindowsServic 3 exitCode = 1
[7/1/07 13:26:25:751 IST] 0000000a WsServerContr 1 Window service status (1=stopped, 2=started, 3=not-registred) is 1
[7/1/07 13:26:25:751 IST] 0000000a AdminTool A ADMU7701I: Because server1 is registered to run as a Windows Service, the request to start this server will be completed by starting the associated Windows Service.
[7/1/07 13:26:25:751 IST] 0000000a WindowsServic 3 arrayList = [C:\Program Files\IBM\WebSphere\AppServer\bin\WASService.exe, -start, mildh0413Node01]
[7/1/07 13:26:25:751 IST] 0000000a WindowsServic 1 In executeCommand, args are: C:\Program Files\IBM\WebSphere\AppServer\bin\WASService.exe -start mildh0413Node01
[7/1/07 13:26:25:767 IST] 0000000a WindowsServic 1 Runtime.exec() returned process java.lang.ProcessImpl@7e027e02
[7/1/07 13:26:25:767 IST] 00000014 WindowsServic 3 waitForFileExist(C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\logs\mildh0413Node01 Service.log)
[7/1/07 13:26:26:267 IST] 00000014 EncodingUtils > getProperEncoding Entry
[7/1/07 13:26:26:267 IST] 00000014 EncodingUtils 3 System.getProperty("file.encoding") is: Cp1252
[7/1/07 13:26:26:267 IST] 00000014 EncodingUtils > isPlatformWindows() Entry
[7/1/07 13:26:26:267 IST] 00000014 WindowsServic 3 *** returned readerencoding = Cp850
[7/1/07 13:27:25:782 IST] 00000016 WindowsServic 3 inputRec == Starting Service: mildh0413Node01
[7/1/07 13:27:25:782 IST] 00000016 WindowsServic 3 inputRec ==
[7/1/07 13:27:25:782 IST] 00000018 WindowsServic 3 inputRec == Timed out waiting for service to respond to command, after 60 seconds.
[7/1/07 13:27:25:782 IST] 00000018 WindowsServic 3 inputRec == Failed to start service, or timed out while waiting for start to complete. Check the logs for details.
[7/1/07 13:27:25:782 IST] 0000000a WindowsServic 1 retCode from childProcess.waitFor() is -1
[7/1/07 13:27:25:782 IST] 0000000a WindowsServic 3 -- interrupt the thread that is collecting stdout
[7/1/07 13:27:26:782 IST] 00000014 WindowsServic 3 readAndDisplayServiceLogFile(), caught InterruptedException
[7/1/07 13:27:26:782 IST] 0000000a WindowsServic 3 exitCode = -1
[7/1/07 13:27:26:782 IST] 0000000a WindowsServic 3 Timed out waiting for service to respond to command, after 60 seconds.Failed to start service, or timed out while waiting for start to complete. Check the logs for details.
[7/1/07 13:27:33:735 IST] 0000000a AdminTool A ADMU7704E: Failed while trying to start the Windows Service associated with server: server1;
probable error executing WASService.exe: Starting Service: mildh0413Node01
Timed out waiting for service to respond to command, after 60 seconds.Failed to start service, or timed out while waiting for start to complete. Check the logs for details.
14 years ago

Originally posted by Merrill Higginson:
I know of no version of WebSphere Application Server that installs with a file named trial_client_windows.ia32.zip. What you've got most likely is a client to the Application Server, and not the Application Server itself. Go back to the download site and make sure you get a download for the full application server.

Here is the link.

[ June 28, 2007: Message edited by: Merrill Higginson ]




Thanks for your support and help
some how i got the IBM websphere server and i have installed it
and while i am trying to start server it is showing error message like this

"C:\Program Files\IBM\WebSphere\AppServer\bin>startserver server1
ADMU0116I: Tool information is being logged in file C:\Program
Files\IBM\WebSphere\AppServer\profiles\AppSrv01\logs\server1\startServer.log
ADMU7701I: Because server1 is registered to run as a Windows Service, the
request to start this server will be completed by starting the
associated Windows Service.
ADMU7704E: Failed while trying to start the Windows Service associated with
server: server1;
probable error executing WASService.exe: Starting
Service: mildh0413Node01
Timed out waiting for service to respond to
command, after 60 seconds.Failed to start service, or timed out
while waiting for start to complete. Check the logs for details.



and another dought is do i need set any classpath. If so please tell me to which jar file it should point
how to deploy the project
14 years ago
hi Cameron,

Thanks for the help.
But still my requirement is not fullfilled.
i have downloaded trial_client_windows.ia32.zip and extracted and run the setup.jar after continuing with installation i ended up in finish button

And the link which you have given is explaining about websphere studio and i have websphere client works as standalone server.


is there any common server to start before creating our own server.
like in weblogic examplesserver is there and by clicking on configuration wizard we can create our own domains or projects.

please help me out in this issue

Thanks in advance
14 years ago
hi friends,
I am using websphere and i have the source code ready and i have to up the system. Can any one tell the process of deploying a project in websphere.
14 years ago
This is my source code for inserting pdf file into oracle.
This code is working for only small size pdf (like 16 kb) if iam tring to insert a pdf file which is more than 2 mb.

Its giving the exception as given below.

import java.io.File;
import java.io.FileInputStream;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;

public class PDFConnect
{

public static void main(String args[])
{
try{
Class.forName("oracle.jdbc.driver.OracleDriver");
Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@10.81.7.169:1521:PTS", "TESTPTS", "TESTPTS");
System.out.println("connection established");
PreparedStatement ps = conn.prepareStatement("insert into DEMOBLOB values(?)");
System.out.println("insert executed");
File photo= new File("D:/Thinkingjava.pdf");
System.out.println("image loaded ");
FileInputStream photostream= new FileInputStream(photo);
System.out.println("photo taken");
ps.setBinaryStream(1,photostream,(int)photo.length());
ps.executeUpdate();
photostream.close();

}

catch(Exception e)
{
e.printStackTrace();
}
}
}


connection established
insert executed
image loaded
photo taken
java.sql.SQLException: ORA-01460: unimplemented or unreasonable conversion requested

at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:542)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1311)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:738)
at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:1313)
at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1232)
at oracle.jdbc.driver.OracleStatement.doExecuteWithBatch(OracleStatement.java:1353)
at oracle.jdbc.driver.OracleStatement.doExecute(OracleStatement.java:1760)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1807)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:332)
at PDFConnect.main(PDFConnect.java:24)
I am using the xml and xsl and fop to create pdf



This is my xsl

************************************************************************
<xsl:stylesheet version = '1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform' xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:java="java">
<fo:layout-master-set>
<fo:simple-page-master
master-name="simpleA4"
page-height="21cm"
page-width="29.7cm"
margin-top="0.2cm"
margin-bottom="0.2cm"
margin-left="0.2cm"
margin-right="0.2cm"
>
<fo:region-body/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="simpleA4">
<fo:flow flow-name="xsl-region-body">
<fo:static-content flow-name="xsl-region-after">
<fo:block padding-after="5mm"/>
<fo:block text-align="center">Page No. <fo:page-number/></fo:block>
</fo:static-content>
</fo:flow>
</fo:page-sequence>

<xsl:template match="information">

<fo:table width="100%" space-before.optimum="1pt" space-after.optimum="2pt">

<fo:table-column column-width="proportional-column-width(17)" />
<fo:table-column column-width="proportional-column-width(15)" />
<fo:table-column column-width="proportional-column-width(15)" />
<fo:table-column column-width="proportional-column-width(15)" />
<fo:table-column column-width="proportional-column-width(15)" />
<fo:table-column column-width="proportional-column-width(15)" />
<fo:table-column column-width="proportional-column-width(15)" />
<fo:table-column column-width="proportional-column-width(15)" />
<fo:table-column column-width="proportional-column-width(15)" />
<fo:table-column column-width="proportional-column-width(15)" />
<fo:table-column column-width="proportional-column-width(15)" />
<fo:table-header>
<xsl:for-each select="headings">
<fo:table-row>

<fo:table-cell border-style="ridge" border-color="black" border-width="0.5mm" padding="0.5mm" background-color="#FFFFFF">

<fo:block font-family="Times"
font-size="9pt" font-weight="bold" text-align="center">
<xsl:value-of select="@col1"/>
</fo:block>

</fo:table-cell>

<fo:table-cell border-style="ridge" border-color="black" border-width="0.5mm" padding="0.5mm" background-color="#FFFFFF">
<fo:block font-family="Times"
font-size="9pt" font-weight="bold" text-align="center">
<xsl:value-of select="@col2"/>
</fo:block>
</fo:table-cell>
<fo:table-cell border-style="ridge" border-color="black" border-width="0.5mm" padding="0.5mm" background-color="#FFFFFF">
<fo:block font-family="Times"
font-size="9pt" font-weight="bold" text-align="center">
<xsl:value-of select="@col3"/>
</fo:block>
</fo:table-cell>

<fo:table-cell border-style="ridge" border-color="black" border-width="0.5mm" padding="0.5mm" background-color="#FFFFFF">

<fo:block font-family="Times"
font-size="9pt" font-weight="bold" text-align="center">
<xsl:value-of select="@col4"/>
</fo:block>
</fo:table-cell>

<fo:table-cell border-style="ridge" border-color="black" border-width="0.5mm" padding="0.5mm" background-color="#FFFFFF">

<fo:block font-family="Times"
font-size="9pt" font-weight="bold" text-align="center">
<xsl:value-of select="@col5"/>
</fo:block>

</fo:table-cell>
<fo:table-cell border-style="ridge" border-color="black" border-width="0.5mm" padding="0.5mm" background-color="#FFFFFF">




<fo:block font-family="Times"
font-size="9pt" font-weight="bold" text-align="center">
<xsl:value-of select="@col6"/>
</fo:block>


</fo:table-cell>
<fo:table-cell border-style="ridge" border-color="black" border-width="0.5mm" padding="0.5mm" background-color="#FFFFFF">

<fo:block font-family="Times"
font-size="9pt" font-weight="bold" text-align="center">
<xsl:value-of select="@col7"/>
</fo:block>

</fo:table-cell>
<fo:table-cell border-style="ridge" border-color="black" border-width="0.5mm" padding="0.5mm" background-color="#FFFFFF">



<fo:block font-family="Times"
font-size="9pt" font-weight="bold" text-align="center">
<xsl:value-of select="@col8"/>
</fo:block>


</fo:table-cell>
<fo:table-cell border-style="ridge" border-color="black" border-width="0.5mm" padding="0.5mm" background-color="#FFFFFF">

<fo:block font-family="Times"
font-size="9pt" font-weight="bold" text-align="center">
<xsl:value-of select="@col9"/>
</fo:block>


</fo:table-cell>
<fo:table-cell border-style="ridge" border-color="black" border-width="0.5mm" padding="0.5mm" background-color="#FFFFFF">


<fo:block font-family="Times"
font-size="9pt" font-weight="bold" text-align="center">
<xsl:value-of select="@col10"/>
</fo:block>

</fo:table-cell>
<fo:table-cell border-style="ridge" border-color="black" border-width="0.5mm" padding="0.5mm" background-color="#FFFFFF">

<fo:block font-family="Times"
font-size="9pt" font-weight="bold" text-align="center">
<xsl:value-of select="@col1"/>
</fo:block>

</fo:table-cell>

</fo:table-row>
</xsl:for-each>
</fo:table-header>


<fo:table-body>
<xsl:for-each select="field">
<fo:table-row>


<fo:table-cell border-style="ridge" border-color="black" border-width="0.2mm" padding="0.5mm" background-color="#FFFFFF">
<fo:block padding-after="0.5mm"/>
<fo:block font-family="Times" hyphenate="true" language="en"
font-size="9pt" text-align="center">
<xsl:value-of select="@Transaction_Date"/>
</fo:block>
</fo:table-cell>


<fo:table-cell border-style="ridge" border-color="black" border-width="0.2mm" padding="0.5mm" background-color="#FFFFFF">
<fo:block padding-after="0.5mm"/>
<fo:block font-family="Times" hyphenate="true" language="en"
font-size="9pt" text-align="center">
<xsl:value-of select="@Number_Nominal"/>
</fo:block>
</fo:table-cell>


<fo:table-cell border-style="ridge" border-color="black" border-width="0.2mm" padding="0.5mm" background-color="#FFFFFF">
<fo:block padding-after="0.5mm"/>

<fo:block font-family="Times" hyphenate="true" language="en"
font-size="9pt" text-align="center">
<xsl:value-of select="@Security_Name"/>
</fo:block>
</fo:table-cell>


<fo:table-cell border-style="ridge" border-color="black" border-width="0.2mm" padding="0.5mm" background-color="#FFFFFF">
<fo:block padding-after="0.5mm"/>
<fo:block font-family="Times" hyphenate="true" language="en"
font-size="9pt" text-align="center">
<xsl:value-of select="@Price_Local_Currency"/>
</fo:block>
</fo:table-cell>


<fo:table-cell border-style="ridge" border-color="black" border-width="0.2mm" padding="0.5mm" background-color="#FFFFFF">
<fo:block padding-after="0.5mm"/>

<fo:block font-family="Times" hyphenate="true" language="en"
font-size="11pt" text-align="center">
<xsl:value-of select="@Local_Currency"/>
</fo:block>

</fo:table-cell>

<fo:table-cell border-style="ridge" border-color="black" border-width="0.2mm" padding="0.5mm" background-color="#FFFFFF">
<fo:block padding-after="0.5mm"/>
<fo:block font-family="Times" hyphenate="true" language="en"
font-size="11pt" text-align="center">
<xsl:value-of select="@XCH_RATE"/>
</fo:block>
</fo:table-cell>

<fo:table-cell border-style="ridge" border-color="black" border-width="0.2mm" padding="0.5mm" background-color="#FFFFFF">
<fo:block padding-after="0.5mm"/>

<fo:block font-family="Times" hyphenate="true" language="en"
font-size="11pt" text-align="center">
<xsl:value-of select="@TRANSACTION_TYPE"/>
</fo:block>

</fo:table-cell>


<fo:table-cell border-style="ridge" border-color="black" border-width="0.2mm" padding="0.5mm" background-color="#FFFFFF">
<fo:block padding-after="0.5mm"/>

<fo:block font-family="Times" hyphenate="true" language="en"
font-size="11pt" text-align="center">
<xsl:value-of select="@Broker_Name"/>
</fo:block>

</fo:table-cell>


<fo:table-cell border-style="ridge" border-color="black" border-width="0.2mm" padding="0.5mm" background-color="#FFFFFF">
<fo:block padding-after="0.5mm"/>

<fo:block font-family="Times" hyphenate="true" language="en"
font-size="11pt" text-align="center">
<xsl:value-of select="@Taxable_Domestic_securities"/>
</fo:block>

</fo:table-cell>

<fo:table-cell border-style="ridge" border-color="black" border-width="0.2mm" padding="0.5mm" background-color="#FFFFFF">
<fo:block padding-after="0.5mm"/>

<fo:block font-family="Times" hyphenate="true" language="en"
font-size="pt" text-align="center">
<xsl:value-of select="@Taxable_Foreign_securities"/>
</fo:block>

</fo:table-cell>

<fo:table-cell border-style="ridge" border-color="black" border-width="0.2mm" padding="0.5mm" background-color="#FFFFFF">
<fo:block padding-after="1mm"/>

<fo:block font-family="Times" hyphenate="true" language="en"
font-size="11pt" text-align="center">
<xsl:value-of select="@Transactions_already_Taxed"/>
</fo:block>

</fo:table-cell>

</fo:table-row>
</xsl:for-each>


</fo:table-body>

</fo:table>



</xsl:template>

</xsl:stylesheet>
**************************************************************************
below is my xml
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
<?xml version="1.0" encoding="UTF-8"?>
<information>
<headings col1="Transaction " col2="Number Nominal" col3="Security Name" col4="Price in Local Currency" col5="Local Currency" col6="Local Currency" col7="Transaction Type" col8="Broker Name" col9="Taxable Domestic Securities" col10="Taxable Foreign Securities" col11="Already Taxed"/>
<field Transaction_Date="12/12/2006" Number_Nominal="10101" Security_Name="Reliance" Price_Local_Currency="8977" Local_Currency="987" XCH_RATE="1.2" TRANSACTION_TYPE="Buy" Broker_Name="gold" Taxable_Domestic_securities="2342" Taxable_Foreign_securities="22454" Transactions_already_Taxed="230709"/>
</information>
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&


and i am getting the error like this

[INFO] FOP 0.20.4
[INFO] building formatting object tree
[ERROR] java.lang.NullPointerException


what would be wrong.
public ActionForward getMonthYear(

ActionMapping mapping,

ActionForm form,

HttpServletRequest request,

HttpServletResponse response) {



GenerateReportBD reportBD = null;

GenerateReportVO reportVO = null;

GenerateReportForm reportForm = null;



ArrayList alMonthYear = null;

// Iterator iter = null;

// HashMap hmData = null;

String reportType = null;

String strClientId = null;

String months = null;

String []Month = new String[]{"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"};



try{

alMonthYear = new ArrayList();

System.out.println("inside GetMonth");

Calendar cal = Calendar.getInstance();

System.out.println("after calender GetMonth");

String month = Month[cal.get(Calendar.MONTH)];

System.out.println("after Month"+month);

int Year = cal.get(Calendar.YEAR);

System.out.println("after cal.get");

for(int i=0; i<12;i++)

{

System.out.println("inside for loop");

if(Month[i].equals(month) )

{

for(int j=i;j>=0;j--)

{ StringBuffer sb = new StringBuffer();

String str = Month[j-1];

sb.append(str).append(" ").append(Year);

System.out.println(sb.length());

//System.out.println("********"+sb);

alMonthYear.size();

alMonthYear.add(sb);

System.out.println(alMonthYear.size()); //System.out.println(" +++++++" +alMonthYear.get(i));

}



for(int k=11;k>i;k--)

{

String str1 = Month[k];

// StringBuffer sb1 = new StringBuffer();

// sb.append(str1).append(" ").append(Year-1);

// System.out.println(""+sb);

System.out.println(Month[k]+" "+(Year-1));

}

}

}reportForm.setAlMonths(alMonthYear);

}



catch (Exception e) {

// SDALogger.logError( this,"SDAException in CheckListDispatchAction@createCheckList()",e);

// System.out.println("Exception in GenerateReportAction submit ................"+e);

e.printStackTrace();

}

return mapping.findForward("success");



}
15 years ago
Hi, I am facing a problem with the struts tags.
I am not able to display the records

This is my jsp and iam


<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>


<html:html>
<head>
<%
response.setHeader("Cache-Control","no-store");
response.setHeader("Pragma","no-cache");
response.setDateHeader ("Expires", -1);
%>

</head>
<body>
<html:form action="/aSDReport.do?method=exportToPdf">


<table width="100%" border="" cellspacing="0" cellpadding="0">
<%System.out.println("inside table "); %>

<tr>
<td>Transaction Date </td>
<td>Type of transaction </td>
<td>Number / Nominal</td>
<td>Security Name</td>
<td>Price in Local Currency</td>
<td>Local Currency</td>
<td>exchange Rate</td>
<td>Transaction Type</td>
</tr>

<tr>
<%System.out.println("inside tr "); %>
<logic:equal name="SDForm" property="status" value="FAILURE">
<%System.out.println("inside failure "); %>
<h4><font color=red>Records Not Available For This Client</h4>
</logic:equal>

<logic:equal name="SDForm" property="status" value="SUCCESS">
<%System.out.println("inside equal "); %>
<logic resent name="SDForm" property="aStampDutyReport">

<%System.out.println("insde present"); %>
<logic:iterate id="data" name="SDForm" property="aStampDutyReport">
<%System.out.println("inside iterate "); %>
<td align="left" valign="middle" bgcolor="#FFFFFF">

<bean:write name="data" property="Transaction_Date" />
</td>
<td align="left" valign="middle" bgcolor="#FFFFFF">
<bean:write name="data" property="Shares_per_Quantity" />
</td>
<td align="left" valign="middle" bgcolor="#FFFFFF">
<bean:write name="data" property="Security_Name" />
</td>
<td align="left" valign="middle" bgcolor="#FFFFFF">
<bean:write name="data" property="Price_In_LC" />
</td>
<td align="left" valign="middle" bgcolor="#FFFFFF">
<bean:write name="data" property="Local_Currency" />
</td>
<td align="left" valign="middle" bgcolor="#FFFFFF">
<bean:write name="data" property="XChg_Rate" />
</td>
<td align="left" valign="middle" bgcolor="#FFFFFF">
<bean:write name="data" property="Transaction_Type" />
</td>
<td align="left" valign="middle" bgcolor="#FFFFFF">
<bean:write name="data" property="Gross_Amount_Base" />
</td>
<td align="left" valign="middle" bgcolor="#FFFFFF">
<bean:write name="data" property="Gross_Amount_Local" />
</td>
</logic:iterate>

</logic resent>
</logic:equal>
</table>
<input type="Submit" Value="Export To PDF">
</html:form>
</body>
</html:html>
****************************************************************************

// This is my action class

import java.util.ArrayList;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.actions.DispatchAction;

import com.statestreet.sda.bo.StampDutyReportBD;
import com.statestreet.sda.forms.StampDutyReportForm;
import com.statestreet.sda.util.SDALogger;
import com.statestreet.sda.vo.StampDutyReportVO;

/**
*
*getStampDutyReport
*/
public class StampDutyReportAction extends DispatchAction{
public ActionForward getStampDutyReport(
ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response) {

System.out.println("inside StampDutyReportAction");

ArrayList alSDReport = null;
StampDutyReportForm SDForm = null;
HttpSession session = null;
String target = null;
int returnvalue = 0;
StampDutyReportBD stampDutyReportBD = null;
StampDutyReportVOstampDutyReportVO = null;

try {

System.out.println("inside StampDutyReportAction Try");

stampDutyReportBD = new StampDutyReportBD();
SDForm =(StampDutyReportForm)form;
System.out.println("before VO");
stampDutyReportVO = stampDutyReportBD.getStampDutyReport(SDForm);
System.out.println("after BD");

SDForm.setAStampDutyReport(stampDutyReportVO.getAStampDutyReport());
alSDReport=stampDutyReportVO.getAStampDutyReport();
for(int i = 0; i<alSDReport.size();i++) {
System.out.println("**^^^ "+alSDReport.get(i));
}
SDForm.setStatus(stampDutyReportVO.getStatus());
System.out.println("*****"+stampDutyReportVO.getStatus());

request.setAttribute("SDForm", SDForm);

if(stampDutyReportVO==null){
System.out.println("in VO)");
target = "FAILURE";
}
else {
target = "SUCCESS";
}
} catch (Exception e) {
SDALogger.logError( this, "PBOEException in CheckListDispatchAction@createCheckList()", e);
}
System.out.println("Targeted :> :> " + target);
System.out.println("before StampDutyReportAction return ");
return mapping.findForward(target);
}


/* public boolean exportToPdf() {
StampDutyReportVO stampDutyReportVO = null;
StampDutyReportBD stampDutyReportBD=null;
boolean xmlCreate = false;
try {
xmlCreate = stampDutyReportBD.exportToPdf();
}catch(Exception e) {
e.printStackTrace();
}
return xmlCreate;
}*/
}

****************************************************************************
//This is my DAO Class
/**
*
*/
import java.sql.ResultSet;
import java.util.ArrayList;
import java.util.HashMap;

import com.statestreet.sda.util.database.ConnectionManager;
import com.statestreet.sda.forms.StampDutyReportForm;
import com.statestreet.sda.vo.StampDutyReportVO;
/**
* *
*/

public class OracleStampDutyReportDAO implements IStampDutyReportDAO {
public StampDutyReportVO getStampDutyReportDAO(StampDutyReportForm form)
{
System.out.println("inside OracleStampDutyReportDAO");
StampDutyReportVO stampDutyReportVO = null;
HashMap hmSDReport = null;
ArrayList aSDReport=null;
ResultSet aResultSet = null;
try {
stampDutyReportVO = new StampDutyReportVO();
System.out.println("inside OracleStampDutyReportDAO try block");
//stampDutyReportForm = new StampDutyReportForm();
ConnectionManager conManager = new ConnectionManager();
System.out.println("inside after connection Manager");
aResultSet = conManager.getResultSet("SELECT TX.TRD_DT,TX.SHRPAR_QTY,TX.SECURITY_NAME,TX.UNTPRC_LAM,TX.CRNCY_CD_LOC,TX.CRNT_XCHG_RT,TX.TXN_TYPE_CD,TX.GROS_AMT_BAM,TX.GROS_AMT_LAM,TX.BLUE_CARD FROM WK_TRANS_ADJST TX,WK_CLIENT CL WHERE CL.CLIENT_LONG_NM='TATA' AND TX.CLIENT_ID = CL.CLIENT_ID AND TX.FINAL_CHK_FLG ='Y' AND TX.TRD_DT <= TO_Date( '12/11/2006 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM') AND TX.TRD_DT > TO_Date( '11/11/2006 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')");
System.out.println(aResultSet);
aSDReport = new ArrayList();
while (aResultSet.next()){
hmSDReport = new HashMap();
hmSDReport.put("Transaction_Date",aResultSet.getString("TRD_DT"));
System.out.println(aResultSet.getString("TRD_DT"));
hmSDReport.put("Shares_per_Quantity",aResultSet.getString("SHRPAR_QTY"));
System.out.println(aResultSet.getString("SHRPAR_QTY"));
hmSDReport.put("Security_Name",aResultSet.getString("SECURITY_NAME"));
System.out.println(aResultSet.getString("SECURITY_NAME"));
hmSDReport.put("Price_In_LC",aResultSet.getString("UNTPRC_LAM"));
System.out.println(aResultSet.getString("UNTPRC_LAM"));
hmSDReport.put("Local_Currency",aResultSet.getString("CRNCY_CD_LOC"));
System.out.println(aResultSet.getString("CRNCY_CD_LOC"));
hmSDReport.put("XChg_Rate",aResultSet.getString("CRNT_XCHG_RT"));
System.out.println(aResultSet.getString("CRNT_XCHG_RT"));
hmSDReport.put("Transaction_Type",aResultSet.getString("TXN_TYPE_CD"));
System.out.println(aResultSet.getString("TXN_TYPE_CD"));
hmSDReport.put("Gross_Amount_Base",aResultSet.getString("GROS_AMT_BAM"));
System.out.println(aResultSet.getString("GROS_AMT_BAM"));
hmSDReport.put("Gross_Amount_Local",aResultSet.getString("GROS_AMT_LAM"));
System.out.println(aResultSet.getString("GROS_AMT_LAM"));
hmSDReport.put("Blue_Card",aResultSet.getString("BLUE_CARD"));
System.out.println(aResultSet.getString("BLUE_CARD"));

aSDReport.add(hmSDReport);

}
if(aSDReport.size() > 0) {
stampDutyReportVO.setStatus("SUCCESS");
}
else
{
stampDutyReportVO.setStatus("FAILURE");
}
System.out.println("inside OracleStampDutyReportDAO after result Set");

stampDutyReportVO.setAStampDutyReport(aSDReport);
// System.out.println(stampDutyReportVO.setStatus());
aResultSet.close();
conManager.commit();
conManager.closeConnection();
}
catch(Exception e)
{
e.printStackTrace();
}
System.out.println("inside OracleStampDutyReportDAO before Return");
return stampDutyReportVO;
}
}
***************************************************************************

/**
*
*/
package com.statestreet.sda.forms;

import java.util.ArrayList;

import org.apache.struts.action.ActionForm;

/**
*
*/
public class StampDutyReportForm extends ActionForm{

private ArrayList aStampDutyReport = null;
private String status = null;
/**
* @return Returns the aStampDutyReport. status
*/
public ArrayList getAStampDutyReport() {
return aStampDutyReport;
}
/**
* @param stampDutyReport The aStampDutyReport to set.
*/
public void setAStampDutyReport(ArrayList stampDutyReport) {
aStampDutyReport = stampDutyReport;
}
/**
* @return Returns the status.
*/
public String getStatus() {
return status;
}
/**
* @param status The status to set.
*/
public void setStatus(String status) {
this.status = status;
}

}

And VO class is same as Form bean class.

My dought is control is not coming in to that logic:equal tag
[ December 27, 2006: Message edited by: Shyam Sunder ]
15 years ago

Originally posted by Paul Clapham:
What do you mean by "header"?



Header in the sense I have page like Leave Letter.
Header is nothing but "Leave Letter"
Hi Friends,
iam using dom4j.jar file to create xml.
is there any method to create header.
like document.addElement();

I am sharing a part of my code


(Edited to make code more readable and to make post not be 2,000 characters wide - Paul C.)
[ December 26, 2006: Message edited by: Paul Clapham ]