Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

record level access problem

2 views
Skip to first unread message

shri...@my-deja.com

unread,
Jun 7, 2000, 3:00:00 AM6/7/00
to
Hi ,
Has anyone ever encounter this problem. I am running WAS 3.02 AE on
Win NT with SP6 on IBM HTTP server . One of my application is trying to
connect to database on AS400. When I try to lock the record for update
and get the following exception.

java.lang.NoClassDefFoundError at
com.ibm.as400.access.AS400.exchangeDDMSecurityInfo(AS400.java:678) at
com.ibm.as400.access.AS400.connect(AS400.java:550)

One very interesting fact is I was using old Java Toolbox jar i.e
jt400.jar and I was getting this error after 10-12 hits to the servlet
so I upgraded it to the latest Java tool box i.e PTF SF61800 released
in March 2000 and now I get the error every time ????

ANy help will be appreciated,
Shrikant M


Sent via Deja.com http://www.deja.com/
Before you buy.

Frances Stewart

unread,
Jun 8, 2000, 3:00:00 AM6/8/00
to
This does not appear to be a known problem. If you could add the following lines to your application's code which attempts the connection:
Trace.setTraceOn(true);
Trace.setTraceErrorOn(true);
Trace.setTraceDiagnosticOn(true);
Trace.setTraceInformationOn(true);

And re-compile and then run again, there will be more (much more) information provided.  The output should show up in the standard output file specified for your application server.

Another question - are you specifying the location of the jt400.jar file on the classpath of the application server (via Command line arguments property as -classpath [path]\jt400.jar)?

shri...@my-deja.com

unread,
Jun 8, 2000, 3:00:00 AM6/8/00
to
Hi Frances,

Thanks for the suggestions. I already have the jt400.jar in my
WebApp classpath but I also tried putting in the command line as you
had told but it did not work still.

As you had told I put the trace statements in the code and I would
like you to go through the error below and see if you can figure out
something. Actually the new PTF's jar file was included on WAS but not
on AS400 so I went back to prev ver of jt400.jar matching the one on
AS400 system.

Here are lines from stdout file

Instantiate: xxx.yyy.SetDetails
276.235 184db9 ServletInstan A Loading.servlet:."SetDetails"
276.250 184db9 WebGroup A [Servlet.LOG]:."xxx.yyy.SetDetails: init"
276.250 184db9 WebGroup A [Servlet.LOG]:."xxx.yyy.SetDetails:
Reading from config file >>yyy.properties"
276.250 184db9 ServletInstan A
Servlet.available.for.service:."SetDetails"
Version 4 Release 2 Modification level 0.5
Thu Jun 08 16:32:12 EDT 2000 Constructing AS400 object.
Thu Jun 08 16:32:12 EDT 2000 Initializing server table
Thu Jun 08 16:32:12 EDT 2000 System name is 'AAAAA'
Thu Jun 08 16:32:12 EDT 2000 User ID is: 'BBBBB'
Thu Jun 08 16:32:12 EDT 2000 System name is not local.
Thu Jun 08 16:32:12 EDT 2000 System name is not local.
Thu Jun 08 16:32:12 EDT 2000 Requirements not met to use native
optimizations: System is not local
Thu Jun 08 16:32:12 EDT 2000 Requirements not met to use native
optimizations: UserID does not match local userid
Thu Jun 08 16:32:12 EDT 2000 Begin Signon...
Thu Jun 08 16:32:12 EDT 2000 Signon and get new security object...
Thu Jun 08 16:32:12 EDT 2000 Signing on with prompting turned on
Thu Jun 08 16:32:12 EDT 2000 Using previously provided password
Thu Jun 08 16:32:12 EDT 2000 Opening a socket to verify security...
Thu Jun 08 16:32:12 EDT 2000 System name is not local.
Thu Jun 08 16:32:12 EDT 2000 Loading browser security classes
Thu Jun 08 16:32:12 EDT 2000 Netscape browser security classes not
loaded
Thu Jun 08 16:32:12 EDT 2000 IE browser security classes not loaded
Thu Jun 08 16:32:12 EDT 2000 Opening socket to server...
Thu Jun 08 16:32:12 EDT 2000 Starting an inet socket to as-signon
Thu Jun 08 16:32:13 EDT 2000 Client seed
00 00 00 DF A2 0A F0 99
Thu Jun 08 16:32:13 EDT 2000 Server seed
80 C8 C5 E5 3D 08 80 00
Thu Jun 08 16:32:13 EDT 2000 Socket opened successfully.
Thu Jun 08 16:32:13 EDT 2000 Signon with prompting...
Thu Jun 08 16:32:13 EDT 2000 Validate security without prompting...
Thu Jun 08 16:32:13 EDT 2000 Sending security validation request...
Thu Jun 08 16:32:13 EDT 2000 User ID: BBBBB
Thu Jun 08 16:32:13 EDT 2000 Client seed:
00 00 00 DF A2 0A F0 99
Thu Jun 08 16:32:13 EDT 2000 Server seed:
80 C8 C5 E5 3D 08 80 00
Thu Jun 08 16:32:13 EDT 2000 Retrieving encrypted password
Thu Jun 08 16:32:13 EDT 2000 client seed:
00 00 00 DF A2 0A F0 99
Thu Jun 08 16:32:13 EDT 2000 server seed:
80 C8 C5 E5 3D 08 80 00
Thu Jun 08 16:32:13 EDT 2000 user id in ebcdic:
C7 D9 C6 E3 E2 E3 D5 C2 40 40
Thu Jun 08 16:32:13 EDT 2000 Encrypted password:
E7 67 03 6D DE 5D 9C E0
Thu Jun 08 16:32:13 EDT 2000 SignonInfoReq user ID
C7 D9 C6 E3 E2 E3 D5 C2 40 40
Thu Jun 08 16:32:13 EDT 2000 SignonInfoReq encrypted password
E7 67 03 6D DE 5D 9C E0
Thu Jun 08 16:32:13 EDT 2000 Receiving Retrieve Signon Information
Reply...
Thu Jun 08 16:32:13 EDT 2000 Read security validation reply...
Thu Jun 08 16:32:13 EDT 2000 Security validated successfully.
Thu Jun 08 16:32:13 EDT 2000 ...Return code = 0
Thu Jun 08 16:32:13 EDT 2000 Sending up end job data stream...
Thu Jun 08 16:32:13 EDT 2000 signon exit, rc = 0
Thu Jun 08 16:32:13 EDT 2000 Signon completed, rc = 0
Thu Jun 08 16:32:13 EDT 2000 Signon successfully...
Thu Jun 08 16:32:13 EDT 2000 System name is not local.
Thu Jun 08 16:32:13 EDT 2000 Loading browser security classes
Thu Jun 08 16:32:13 EDT 2000 Netscape browser security classes not
loaded
Thu Jun 08 16:32:13 EDT 2000 IE browser security classes not loaded
Thu Jun 08 16:32:13 EDT 2000 Opening socket to server...
Thu Jun 08 16:32:13 EDT 2000 Starting an inet socket to as-ddm
Thu Jun 08 16:32:13 EDT 2000 Server started successfully
Thu Jun 08 16:32:13 EDT 2000 Server started
Thu Jun 08 16:32:13 EDT 2000 Exchanging DDM security information with
a V4R2 or newer system.
Thu Jun 08 16:32:13 EDT 2000 run(): wait for reply...
276.875 184db9 StrictServlet X doService
java.lang.NoClassDefFoundError
at com.ibm.as400.access.AS400.exchangeDDMSecurityInfo
(AS400.java:678)
at com.ibm.as400.access.AS400.connect(AS400.java:550)
at com.ibm.as400.access.AS400.connectService(AS400.java:594)
at xxx.yyy.SetDetailsOpr.lockHeaderFile
(GRFSetDetailsOpr.java:1052)
at xxx.yyy.SetDetailsOpr.processRequest
(GRFSetDetailsOpr.java:281)
at xxx.yyy.SetDetails.doGet(SetDetails.java:124)
at xxx.yyy.SetDetails.doPost(SetDetails.java:99)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:566)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:639)
at com.ibm.servlet.engine.webapp.StrictServletInstance.doService
(ServletManager.java:557)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service
(StrictLifecycleServlet.java:160)
at com.ibm.servlet.engine.webapp.IdleServletState.service
(StrictLifecycleServlet.java:287)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service
(StrictLifecycleServlet.java:105)
at com.ibm.servlet.engine.webapp.ServletInstance.service
(ServletManager.java:349)
at
com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch
(ServletManager.java:705)
at
com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch
(ServletManager.java:631)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispat
ch(WebApp.java:1175)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch
(WebApp.java:1043)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward
(WebApp.java:1002)
at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook
(WebGroup.java:626)
at
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation
(CachedInvocation.java:67)
at
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI
(ServletRequestProcessor.java:139)
at
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service
(OSEListener.java:300)
at
com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.ru
n(SQEventListenerImp.java:230)
at
com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent
(SQEventListenerImp.java:104)
at
com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent
(SQEventSource.java:202)
at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$Sele
ctRunnable.notifyService(SQWrapperEventSource.java:347)
at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$Sele
ctRunnable.run(SQWrapperEventSource.java:216)
at
com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable
.run(Compiled Code)
at java.lang.Thread.run(Thread.java:472)

276.922 184db9 ServletInstan X Uncaught service() exception thrown by
servlet {0}: {1}
"GRFSetDetails"
javax.servlet.ServletException
at com.ibm.servlet.engine.webapp.StrictServletInstance.doService
(ServletManager.java:574)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service
(StrictLifecycleServlet.java:160)
at com.ibm.servlet.engine.webapp.IdleServletState.service
(StrictLifecycleServlet.java:287)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service
(StrictLifecycleServlet.java:105)
at com.ibm.servlet.engine.webapp.ServletInstance.service
(ServletManager.java:349)
at
com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch
(ServletManager.java:705)
at
com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch
(ServletManager.java:631)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispat
ch(WebApp.java:1175)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch
(WebApp.java:1043)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward
(WebApp.java:1002)
at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook
(WebGroup.java:626)
at
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation
(CachedInvocation.java:67)
at
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI
(ServletRequestProcessor.java:139)
at
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service
(OSEListener.java:300)
at
com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.ru
n(SQEventListenerImp.java:230)
at
com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent
(SQEventListenerImp.java:104)
at
com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent
(SQEventSource.java:202)
at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$Sele
ctRunnable.notifyService(SQWrapperEventSource.java:347)
at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$Sele
ctRunnable.run(SQWrapperEventSource.java:216)
at
com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable
.run(Compiled Code)
at java.lang.Thread.run(Thread.java:472)

276.985 184db9 WebGroup X [Servlet Error]-[{0}]: {1}: {2}
"GRFSetDetails"
"Server caught unhandled exception
from servlet [SetDetails]"

com.ibm.servlet.engine.webapp.UncaughtServletException: Server caught
unhandled exception from servlet [GRFSetDetails]
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispat
ch(WebApp.java:1192)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch
(WebApp.java:1043)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward
(WebApp.java:1002)
at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook
(WebGroup.java:626)
at
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation
(CachedInvocation.java:67)
at
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI
(ServletRequestProcessor.java:139)
at
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service
(OSEListener.java:300)
at
com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.ru
n(SQEventListenerImp.java:230)
at
com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent
(SQEventListenerImp.java:104)
at
com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent
(SQEventSource.java:202)
at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$Sele
ctRunnable.notifyService(SQWrapperEventSource.java:347)
at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$Sele
ctRunnable.run(SQWrapperEventSource.java:216)
at
com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable
.run(Compiled Code)
at java.lang.Thread.run(Thread.java:472)

=============================

Here are some lines form stderr

IMPORTANT: Do not modify the generated servlets
java.lang.NullPointerException
at com.ibm.as400.access.DataStream.readFromStream(Compiled Code)
at com.ibm.as400.access.ClientAccessDataStream.construct
(ClientAccessDataStream.java:103)
at com.ibm.as400.access.AS400Server.run(AS400Server.java:395)
at java.lang.Thread.run(Thread.java:472)


Any help will be greatly appreciated.

-Shrikant M


In article <393F972C...@us.ibm.com>,
Frances Stewart <fran...@us.ibm.com> wrote:
>
> --------------BABFB6E20A7EBEB78D71AE79
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit

0 new messages