× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi

I'm running OS/400 V4.4 Websphere V1.1 on my Intranet.

I can run the HelloWorld-Servlet without problems.

When I run a new servlet then I get this error-message.



500 Internal Server Error
Das Servlet mit dem Namen "invoker" am angeforderten URL 
        <http://10.10.11.200/servlet/AS400Liste>
hat diese Ausnahmebedingung "AS400Liste: Toolkit not found:
com.ibm.rawt.client.CToolkit" berichtet. Melden Sie den Fehler dem
Administrator des Web-Servers. 
        com.ibm.servlet.service.SEInvokerException: AS400Liste: Toolkit not
found: com.ibm.rawt.client.CToolkit java.awt.AWTError: Toolkit not found:
com.ibm.rawt.client.CToolkit java/lang/Error.(Ljava/lang/String;)V+1
(Error.java:53) java/awt/Toolkit.getDefaultToolkit()Ljava/awt/Toolkit;+51
(Toolkit.java:396) java/awt/Frame.addNotify()V+14 (Frame.java:203)
java/awt/Window.pack()V+16 (Window.java:120)
com/ibm/as400/access/MessageDialog.(Ljava/awt/Frame;Ljava/lang/String;ILjava
/lang/String;I)V+851 (MessageDialog.java:358)
com/ibm/as400/access/MessageDialog.(Ljava/awt/Frame;Ljava/lang/String;Ljava/
lang/String;I)V+1 (MessageDialog.java:173)
com/ibm/as400/access/Security400.performSignon(Ljava/io/InputStream;Ljava/io
/OutputStream;Z)I+1804 (Security400.java:1007)
com/ibm/as400/access/Security400.startSignon(ZZZ)I+46 (Security400.java:341)
com/ibm/as400/access/Security400.signon(ZZZ)I+336 (Security400.java:300)
com/ibm/as400/access/SecurityManager400.signon(Ljava/lang/String;Ljava/lang/
String;Ljava/lang/String;ZZZ)Lcom/ibm/as400/access/Security400;+20
(SecurityManager400.java:266)
com/ibm/as400/access/AS400.getSecurity400()V+126 (AS400.java:1266)
com/ibm/as400/access/AS400.signOn()V+41 (AS400.java:2077)
com/ibm/as400/access/AS400.connect(Ljava/lang/String;)Lcom/ibm/as400/access/
AS400Server;+52 (AS400.java:517)
com/ibm/as400/access/AS400JDBCConnection.open()V+243
(AS400JDBCConnection.java:1067)
com/ibm/as400/access/AS400JDBCConnection.(Lcom/ibm/as400/access/JDDataSource
URL;Lcom/ibm/as400/access/JDProperties;)V+210 (AS400JDBCConnection.java:248)
com/ibm/as400/access/AS400JDBCDriver.connect(Ljava/lang/String;Ljava/util/Pr
operties;)Ljava/sql/Connection;+58 (AS400JDBCDriver.java:221)
java/sql/DriverManager.getConnection(Ljava/lang/String;Ljava/util/Properties
;)Ljava/sql/Connection;+139 (DriverManager.java:83)
java/sql/DriverManager.getConnection(Ljava/lang/String;)Ljava/sql/Connection
;+8 (DriverManager.java:141)
AS400Liste.doGet(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/
HttpServletResponse;)V+224 (AS400Liste.java:109)
javax/servlet/http/HttpServlet.service(Ljavax/servlet/http/HttpServletReques
t;Ljavax/servlet/http/HttpServletResponse;)V+58 (HttpServlet.java:499)
javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/
servlet/ServletResponse;)V+25 (HttpServlet.java:588)
com/sun/server/ServletState.callService(Ljavax/servlet/ServletRequest;Ljavax
/servlet/ServletResponse;)V+50 (ServletState.java:313)
com/sun/server/ServletManager.callServletService(Ljava/lang/String;Ljavax/se
rvlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+81
(ServletManager.java:1305)
com/ibm/servlet/service/SEServletManager.callServletService(Ljava/lang/Strin
g;Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+12
(SEServletManager.java:84)
com/sun/server/http/InvokerServlet.service(Ljavax/servlet/http/HttpServletRe
quest;Ljavax/servlet/http/HttpServletResponse;)V+131
(InvokerServlet.java:104)
javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/
servlet/ServletResponse;)V+25 (HttpServlet.java:588)
com/sun/server/ServletState.callService(Ljavax/servlet/ServletRequest;Ljavax
/servlet/ServletResponse;)V+50 (ServletState.java:313)
com/sun/server/ServletManager.callServletService(Ljava/lang/String;Ljavax/se
rvlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+81
(ServletManager.java:1305)
com/ibm/servlet/service/SEServletManager.callServletService(Ljava/lang/Strin
g;Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+12
(SEServletManager.java:84)
com/sun/server/ProcessingState.invokeTargetServlet()V+106
(ProcessingState.java:434)
com/sun/server/http/HttpProcessingState.execute(Lcom/sun/server/ProcessingSt
age;)V+29 (HttpProcessingState.java:93)
com/sun/server/http/stages/Runner.process(Lcom/sun/server/ProcessingState;)V
+1 (Runner.java:77)
com/sun/server/ProcessingSupport.process(Lcom/sun/server/ProcessingState;Lja
vax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)Z+73
(ProcessingSupport.java:260)
com/sun/server/Service.process(Lcom/sun/server/ProcessingState;Ljavax/servle
t/ServletRequest;Ljavax/servlet/ServletResponse;)Z+11 (Service.java:229)
com/ibm/servlet/service/SELauncher.processMultiThreaded(Lcom/ibm/servlet/ser
vice/SEService;Lcom/ibm/servlet/service/SEHttpServiceHandler;)Z+13
(SEServlet.java:468)
com/ibm/servlet/service/SEServlet.service(Lcom/ibm/servlet/service/SEHttpSer
viceHandler;)V+53 (SEServlet.java:240)
com/ibm/servlet/ServletSystemImp.invoke(I[Ljava/lang/String;)V+126
(ServletSystemImp.java:343)
com/ibm/servlet/ServletSystem.icsInvoke(ILjava/lang/String;Ljava/lang/String
;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lja
va/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/l
ang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/
String;Ljava/lang/String;)V+296 (ServletSystem.java:317) 

I don't use any special classes in my program.

 <<AS400Liste.java>> 

I found com.ibm.rawt.client.CToolkit in the file RAWTApplHost.zip

I made a copy of it to QIBM/ProdData/IBMWebAS/lib

Then I extended my classpath at the WebSphere-Application-Konsole

 <<jvm02.properties>> 
I restart the application-server but the error still occurs.

My HTTP-Server-Config look like this

 <<DV00001.txt>> 

Can anyone help me ?





AS400Liste.java

jvm02.properties

Konfiguration anzeigen  

Konfiguration: DV00001 



 
# * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * # 
# HTTP Konfiguration f}r DV-Service DV00001                           # 
# * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * # 
#                                                                     # 
#  HostName                     your.full.host.name                   # 
   HostName                     bykwes3.bcw.byk 
#                                                                     # 
#  The default port for HTTP is 80;  Should specify ports above 1024  # 
#  Should specify ports above 1024 
#  if port 80 is not used.                                            # 
#  Port                          80                                   # 
#                                                                     # 
#     Mask Anybody§(10.10.*) 
Protection DV00001DV ä 
      SSL_ClientAuth client 
      GroupFile /HTTP/Grp/Gruppen.grp 
      PasswdFile %%SYSTEM%% 
      ACLOverride Off 
      Mask Anybody§(*) 
      GetMask G_DV1, G_DV 
      AuthType Basic 
      ServerID BYKWES3_DV00001DV 
      UserID %%SERVER%% 
ü 
#                                                                     # 
#  The default port for HTTP is 80;  Should specify ports above 1024  # 
#  if port 80 is not used.                                            # 
#  Port                          80                                   # 
Protection DV0000101 ä 
      PasswdFile %%SYSTEM%% 
      ACLOverride On 
      GetMask All§10.10.*, 
      AuthType Basic 
      ServerID BYKWES3_DV0000101 
      UserID %%SERVER%% 
ü 
Protection DV00001KSTW ä 
      GroupFile /HTTP/Grp/Gruppen.grp 
      PasswdFile WEBLOG/DV00001W 
      ACLOverride On 
      GetMask G_DV, G_VKST, G_GF 
      AuthType Basic 
      ServerID BYKWES3_DV00001KST-Web 
      UserID %%SERVER%% 
ü 
Protection DV00001KST ä 
      GroupFile /HTTP/Grp/Gruppen.grp 
      PasswdFile %%SYSTEM%% 
      ACLOverride On 
      GetMask G_DV, G_VKST, G_GF 
      AuthType Basic 
      ServerID BYKWES3_DV00001KST 
      UserID %%SERVER%% 
ü 
Protection DV00001KW001 ä 
      GroupFile /HTTP/Grp/Gruppen.grp 
      PasswdFile WEBLOG/DV00001W 
      ACLOverride On 
      GetMask G_DV, G_VK001, G_GF 
      AuthType Basic 
      ServerID BYKWES3_DV00001KW001-Web 
      UserID %%SERVER%% 
ü 
Protection DV00001LACKW ä 
      GroupFile /HTTP/Grp/Gruppen.grp 
      PasswdFile WEBLOG/DV00001W 
      ACLOverride On 
      GetMask G_DV, G_VLACK, G_GF 
      AuthType Basic 
      ServerID BYKWES3_DV00001LACK-Web 
      UserID %%SERVER%% 
ü 
Protection DV00001LACK ä 
      GroupFile /HTTP/Grp/Gruppen.grp 
      PasswdFile %%SYSTEM%% 
      ACLOverride On 
      GetMask G_DV, G_VLACK, G_GF 
      AuthType Basic 
      ServerID BYKWES3_DV00001LACK 
      UserID %%SERVER%% 
ü 
Protection DV00001LW001 ä 
      GroupFile /HTTP/Grp/Gruppen.grp 
      PasswdFile WEBLOG/DV00001W 
      ACLOverride On 
      GetMask G_DV, G_VL001, G_GF 
      AuthType Basic 
      ServerID BYKWES3_DV00001LW001-Web 
      UserID %%SERVER%% 
ü 
Protection DV00001KORE ä 
      GroupFile /HTTP/Grp/Gruppen.grp 
      PasswdFile %%SYSTEM%% 
      ACLOverride On 
      GetMask G_DV, G_KORE 
      AuthType Basic 
      ServerID BYKWES3_DV00001KORE 
      UserID %%SERVER%% 
ü 
Protection DV00001FIBU ä 
      GroupFile /HTTP/Grp/Gruppen.grp 
      PasswdFile %%SYSTEM%% 
      ACLOverride On 
      GetMask G_DV, G_FIBU 
      AuthType Basic 
      ServerID BYKWES3_DV00001FIBU 
      UserID %%SERVER%% 
ü 
Protection DV00001SONST ä 
      GroupFile /HTTP/Grp/Gruppen.grp 
      PasswdFile %%SYSTEM%% 
      ACLOverride On 
      Mask G_DV 
      AuthType Basic 
      ServerID BYKWES3_DV00001SONST 
      UserID %%SERVER%% 
ü 
Protect /UserData/*                   DV0000101 
Protect /UserData/Biecker/*           DV00001LW001 
Protect /UserData/vanDam/*            DV00001LW001 
Protect /UserData/Barsch/*            DV00001LW001 
Protect /UserData/Zeh/*               DV00001LW001 
Protect /UserData/DV/*                DV00001DV 
Protect /UserData/VertriebLack/*      DV00001LACK 
Protect /UserData/VertriebLackW/*     DV00001LACKW 
Protect /UserData/VertriebKst/*       DV00001KST 
Protect /UserData/VertriebKstW/*      DV00001KSTW 
Protect /UserData/Woolley/*           DV00001KW001 
Protect /UserData/KoRe/*              DV00001KORE 
Protect /UserData/FiBu/*              DV00001FIBU 
Protect /EMU/*                        DV0000101 
Protect /emu/*                        DV0000101 
Protect /cgi-bin/database/*           DV00001SONST 
# Protect /httpdownload/*               DV0000101 
   UserID                        %%SERVER%% 
#                                                                     # 
#  Enable                        GET                                  # 
   Enable                        GET 
#  Enable                        HEAD                                 # 
   Enable                        HEAD 
   Enable                        POST 
   Enable                        OPTIONS 
   Enable                        TRACE 
#  Disable                       äall othersü                         # 
#                                                                     # 
#  Map   /test/*  /as400/*                                            # 
#  Pass  /as400SYS/* /QSYS.LIB/HTTPDEV.LIB/HTML.FILE/*                # 
#  Pass  /as400/*    /QDLS/400HOME/*                                  # 
#  Pass  /QSYS.LIB/AS400LIB.LIB/HTML.FILE/*                           # 
#  Pass  /QDLS/graphics/*                                             # 
Pass            /IBMWebAS/samples/*           /QIBM/ProdData/IBMWebAS/samples/* 
Pass            /IBMWebAS/doc/*           /QIBM/ProdData/IBMWebAS/doc/* 
Pass            /IBMWebAS/system/admin/*           
/QIBM/ProdData/IBMWebAS/system/admin/* 
Pass            /IBMWebAS/*           /QIBM/ProdData/IBMWebAS/web/* 
Pass  /QIBM/ProdData/http/Public/* /ProdData/http/Public/* 
Pass /JavaByk/*  /QIBM/JavaByk/* 
Service       /*.jsp           
/QSYS.LIB/QAPPSVR.LIB/QZHJSVLT.SRVPGM:AdapterService 
Service       /servlet/*           
/QSYS.LIB/QAPPSVR.LIB/QZHJSVLT.SRVPGM:AdapterService 
Pass /sample/*  /QIBM/ProdData/HTTP/Public/HTTPSVR/HTML/* 
   Map      /cgi-bin/database/*      /QSYS.LIB/WEBCGI.LIB/DB2WWW.PGM/* 
   Map      /CGI-BIN/DATABASE/*      /QSYS.LIB/WEBCGI.LIB/DB2WWW.PGM/* 
   Exec     /QSYS.LIB/WEBCGI.LIB/* 
   Pass     /                        /HTTP/ 
Pass /welcome.htm /HTTP/welcome.htm 
   Pass     /HTTP/Public/            /HTTP/Public/ 
   Pass     /HTTP/Public/*           /HTTP/Public/* 
   Pass     /EMU/*                   /HTTP/EMU/* 
   Pass     /emu/*                   /HTTP/EMU/* 
   Pass     /Public/*                /HTTP/Public/* 
   Pass     /IMG/*                   /HTTP/IMG/* 
   Pass     /Icons/*                 /HTTP/Icons/* 
   Pass     /HTTP/Icons/*            /HTTP/Icons/* 
   Pass     /UserData/VertriebLack/* /HTTP/UserData/VertriebLack/* 
   Pass     /UserData/VertriebLackW/* /HTTP/UserData/VertriebLack/* 
   Pass     /UserData/Biecker/*      /HTTP/UserData/Biecker/* 
   Pass     /UserData/vanDam/*       /HTTP/UserData/vanDam/* 
   Pass     /UserData/Barsch/*       /HTTP/UserData/Barsch/* 
   Pass     /UserData/Zeh/*          /HTTP/UserData/Zeh/* 
   Pass     /UserData/VertriebKst/*  /HTTP/UserData/VertriebKst/* 
   Pass     /UserData/VertriebKstW/* /HTTP/UserData/VertriebKst/* 
   Pass     /UserData/Woolley/*      /HTTP/UserData/Woolley/* 
   Pass     /UserData/KoRe/*         /HTTP/UserData/KoRe/* 
   Pass     /UserData/FiBu/*         /HTTP/UserData/FiBu/* 
   Pass     /UserData/DV/*           /HTTP/UserData/DV/* 
#  Fail  /QDLS/TESTING/*                                              # 
#  Redirect  /some_url/*  http://some_server/some_url/*               # 
#                                                                     # 
#  Search             <search_script_pathname>                        # 
#  Post-Script        <post_handler_pathname>                         # 
#  Put-Script         <put_handler_pathname>                          # 
#  Delete-Script      <delete_handler_pathname>                       # 
#                                                                     # 
#                                                                     # 
#  Scripts; URLs starting with /cgi-bin/ will be understood as        # 
#  script calls in the directory /your/script/directory.              # 
#  Exec  /cgi-bin/*                    /your/script/directory/*       # 
#                                                                     # 
#                                                                     # 
# *** DIRECTORY LISTINGS ***                                          # 
#  DirAccess                     Selective                            # 
#                                                                     # 
Welcome    welcome.htm 
#                                                                     # 
#  Welcome                       index.html                           # 
#  AlwaysWelcome                 On                                   # 
#  DirReadme                     Top                                  # 
#  DirShowDate                   On                                   # 
#  DirShowSize                   On                                   # 
#  DirShowBytes                  On                                   # 
#  DirShowOwner                  Off                                  # 
#  DirShowDescription            On                                   # 
#  DirShowMaxDescrLength         25                                   # 
#                                                                     # 
#  Logging; if you want logging uncomment these lines and specify     # 
#  locations for your access and error logs                           # 
#  AccessLog /QDLS/ERROR/LOG                                          # 
#  LogFormat                    Common                                # 
#  LogTime                      LocalTime                             # 
#                                                                     # 
#  InputTimeOut                 2 mins                                # 
#  OutputTimeOut                20 mins                               # 
#  ScriptTimeOut                5 mins                                # 
#                                                                     # 
#                                                                     # 
# * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * # 
AlwaysWelcome       On 
DirAccess       Selective 
DirShowDate       On 
DirShowCase       On 
DirShowSize       On 
DirShowBytes       Off 
DirShowOwner       Off 
DirShowDescription       On 
DirShowMaxDescrLength 50 
DirShowMinLength       15 
DirShowMaxLength 50 
LogTime       GMT 
LogFormat       Common 
AccessLog       /qsys.lib/weblog.lib/DV00001ACC.file    2000 
CacheAccessLog       /qsys.lib/weblog.lib/DV00001CAC.file    2000 
ProxyAccessLog       /qsys.lib/weblog.lib/DV00001PRO.file    2000 
AgentLog       /qsys.lib/weblog.lib/DV00001AGE.file    2000 
RefererLog       /qsys.lib/weblog.lib/DV00001REF.file    2000 
AccessLogArchive None 
AccessLogExpire 0 
AccessLogSizeLimit 0 
ErrorLog       /qsys.lib/weblog.lib/DV00001ERR.file    2000 
CgiErrorLog       /qsys.lib/weblog.lib/DV00001CGE.file    2000 
ErrorLogArchive None 
ErrorLogExpire 10 
ErrorLogSizeLimit 0 
NormalMode On 
# Do not change or delete the following AppName directive 
AppName QIBM_HTTP_SERVER_DV00001 
SSLMode Off 
SSLPort 443 
SSLClientAuth Off 
DirShowIcons On 
#   IconPath http://10.10.11.200/HTTP/Icons/ 
IconPath http://bykwes3.bcw.byk/HTTP/Icons/ 
AddDirIcon dir.gif DIR 
AddParentIcon back.gif UP 
AddUnknownIcon unknown.gif ??? 
AddBlankIcon blank.gif 
BindSpecific Off 
DNS-Lookup Off 
Imbeds On html 
Port 80 
AddIcon html.gif html text/html 
AddIcon excel.gif Excel Anwendung/Excel 
ServerInit /QSYS.LIB/QAPPSVR.LIB/QZHJSVLT.SRVPGM:AdapterInit 
/QIBM/ProdData/IBMWebAS/properties/server/servlet/servletservice/jvm.properties 
ServerTerm /QSYS.LIB/QAPPSVR.LIB/QZHJSVLT.SRVPGM:AdapterExit 
AddType .xls      Anwendung/Excel               8bit    1.0 
SuffixCaseSense Off 
   

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.