× 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.



This is a multipart message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
Hello all,

We created a WebApplication in WSAD V4.0.3 as follows:
- create webapp
- import html-files
- import javascripts, images, theme,...
- import servlets
- import jt400.jar + clipper.jar to '.../lib' folder    (where clipper.jar
is a lib with own classes)
We can run the application in the WSAD build-in test server.

Problem: When we change one of our own classes, we have to rebuild
clipper.jar AND import this file again in our WebApp.  It's obvious that
this jar-file needs to be rebuild but isn't it possible to avoid the
import-task into each web-app where it is used?

I tried to remove the clipper.jar from the '.../lib' folder and replacing
it with a 'CLASS VARIABLE' (which points to the jar-file).  I added the
CLASSVARIABLE to the classpath of the 'build-in WebServer' too.  I have no
errors in the application (all classes seems to be found) but when I start
the application in the build-in webserver, it goes wrong.   Classes aren't
found anymore.

This is a console output:
*** Starting the server ***
IBM WebSphere Application Server, Release 4.0.2
Advanced Single Server Edition for Multiplatforms
Copyright IBM Corp., 1997-2001

[9/13/02 14:06:52:003 CEST] 554b2985 SASConfig     A ORB SSL Key File or
Passwords settings were missing in server-cfg.xml
************ Start Display Current Environment ************
WebSphere AEs 4.0.2 a0150.05 running with process name localhost/Default
Server and process id 1856
Host Operating System is Windows 2000, version 5.0
Java version = J2RE 1.3.0 IBM build cn130-20010925was (JIT enabled: jitc),
Java Compiler = jitc, Java VM name = Classic VM
server.root = C:/Program Files/IBM/Application
Developer/plugins/com.ibm.etools.websphere.runtime
Java Home = C:\Program Files\IBM\Application
Developer\plugins\com.ibm.etools.server.jdk\jre
ws.ext.dirs = C:/Program Files/IBM/Application
Developer/plugins/com.ibm.etools.server.jdk/lib;C:/Program
Files/IBM/Application
Developer/plugins/com.ibm.etools.websphere.runtime/classes;C:/Program
Files/IBM/Application
Developer/plugins/com.ibm.etools.websphere.runtime/lib;C:/Program
Files/IBM/Application
Developer/plugins/com.ibm.etools.websphere.runtime/lib/ext;C:/Program
Files/IBM/Application
Developer/plugins/com.ibm.etools.websphere.runtime/web/help;C:/Program
Files/SQLLIB/java/db2java.zip;C:/Program Files/IBM/Application
Developer/plugins/com.ibm.etools.websphere.tools/runtime/wasListener.jar;C:/Program
Files/IBM/Application
Developer/plugins/com.ibm.etools.webservice/runtime/worf.jar
Classpath = C:/Program Files/IBM/Application
Developer/plugins/com.ibm.etools.websphere.runtime/properties;C:/Program
Files/IBM/Application
Developer/plugins/com.ibm.etools.websphere.runtime/lib/bootstrap.jar;C:/Program
Files/IBM/Application
Developer/plugins/com.ibm.etools.websphere.tools/runtime/wteServers.jar;C:/Program
Files/IBM/Application
Developer/plugins/com.ibm.etools.websphere.tools/runtime/wasTools.jar;C:\Program
Files\IBM\Application Developer\clipper\jars\jt400.jar;C:\Program
Files\IBM\Application Developer\clipper\jars\clipper.jar
Java Library path = C:/Program Files/IBM/Application
Developer/plugins/com.ibm.etools.websphere.runtime/bin;C:\Program
Files\IBM\Application
Developer\jre\bin;.;C:\WINNT\System32;C:\WINNT;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\PROGRA~1\IBM\CLIENT~1;C:\PROGRA~1\IBM\CLIENT~1\Shared;C:\PROGRA~1\IBM\CLIENT~1\Emulator;C:\Program
Files\SQLLIB\BIN;C:\Program Files\SQLLIB\FUNCTION;C:\Program
Files\SQLLIB\SAMPLES\REPL;C:\Program
Files\SQLLIB\HELP;C:\PROGRA~1\IBM\IMNNQ;
Current trace specification = *=all=disabled
************* End Display Current Environment *************
[9/13/02 14:06:53:045 CEST] 554b2985 Server        U Version : 4.0.2
[9/13/02 14:06:53:045 CEST] 554b2985 Server        U Edition: Advanced
Single Server Edition for Multiplatforms
[9/13/02 14:06:53:055 CEST] 554b2985 Server        U Build date: Tue Dec
18 00:00:00 CET 2001
[9/13/02 14:06:53:055 CEST] 554b2985 Server        U Build number:
a0150.05
[9/13/02 14:06:59:444 CEST] 554b2985 DrAdminServer I WSVR0053I: DrAdmin
available on port 7000
[9/13/02 14:06:59:544 CEST] 554b2985 ResourceBinde I WSVR0049I: Binding
Session Persistence datasource as jdbc/Session
[9/13/02 14:07:01:437 CEST] 554b2985 ServletEngine A SRVE0161I: IBM
WebSphere Application Server - Web Container.  Copyright IBM Corp.
1998-2001
[9/13/02 14:07:01:437 CEST] 554b2985 ServletEngine A SRVE0162I: Servlet
Specification Level: 2.2
[9/13/02 14:07:01:437 CEST] 554b2985 ServletEngine A SRVE0163I: Supported
JSP Specification Level: 1.1
[9/13/02 14:07:01:697 CEST] 554b2985 ServletEngine A SRVE0167I: Session
Manager is Configured - Initializing...
[9/13/02 14:07:01:847 CEST] 554b2985 CacheManager  A DYNA0011E: Servlet
cache file dynacache.xml not found; caching is disabled
[9/13/02 14:07:01:877 CEST] 554b2985 ServletEngine A SRVE0169I: Loading
Web Module: IBM EJB Test Client.
[9/13/02 14:07:02:558 CEST] 554b2985 WebGroup      I SRVE0091I: [Servlet
LOG]: JSP 1.1 Processor: init
[9/13/02 14:07:02:629 CEST] 554b2985 WebGroup      I SRVE0091I: [Servlet
LOG]: FormLoginServlet: init
[9/13/02 14:07:02:669 CEST] 554b2985 WebGroup      I SRVE0091I: [Servlet
LOG]: FormLogoutServlet: init
[9/13/02 14:07:02:699 CEST] 554b2985 WebGroup      I SRVE0091I: [Servlet
LOG]: SimpleFileServlet: init
[9/13/02 14:07:03:410 CEST] 554b2985 ServletEngine A SRVE0169I: Loading
Web Module: ContiScheduleWeb.
[9/13/02 14:07:03:600 CEST] 554b2985 WebGroup      I SRVE0091I: [Servlet
LOG]: JSP 1.1 Processor: init
[9/13/02 14:07:03:610 CEST] 554b2985 WebGroup      I SRVE0091I: [Servlet
LOG]: FormLoginServlet: init
[9/13/02 14:07:03:630 CEST] 554b2985 WebGroup      I SRVE0091I: [Servlet
LOG]: FormLogoutServlet: init
[9/13/02 14:07:03:640 CEST] 554b2985 WebGroup      I SRVE0091I: [Servlet
LOG]: SimpleFileServlet: init
[9/13/02 14:07:03:690 CEST] 554b2985 WebGroup      I SRVE0091I: [Servlet
LOG]: InvokerServlet: init
[9/13/02 14:07:03:720 CEST] 554b2985 WebGroup      X Servlet
Error-[STables]: Failed to load servlet: java.lang.Error: Unresolved
compilation problems:
        The import com.clipper.beans cannot be resolved
        The import com.clipper.tools cannot be resolved
        CommunicateClipperJDBC cannot be resolved (or is not a valid type)
for the field STables.comJDBC
        CodeTablesBean cannot be resolved (or is not a valid type) for the
field STables.CodeTables
        CodeTablesBean cannot be resolved (or is not a valid return type)
for the method getTables
        Debug cannot be resolved
        Debug cannot be resolved
        Debug cannot be resolved
        CodeTables cannot be resolved
        Debug cannot be resolved
        CodeTables cannot be resolved
        Debug cannot be resolved
        Debug cannot be resolved
        Debug cannot be resolved

        at java.lang.reflect.Constructor.newInstance(Native Method)
        at com.clipper.servlets.STables.<init>(STables.java:3)

As one can see, clipper jar is added to the Classpath of the webserver but
still, the classes aren't found.

Is it mandatory to add these file to the '.../lib' folder of the
WebApplication?

Any tips on how to configure this are welcome!


"   I don't have problems, only challenges...  "

Patrick Goovaerts
WebMaster
Clipper Support nv
TEL : 0032 (0)3 5453991
GSM: 0498 610 325
WEB: www.conti7.be


"   I don't have problems, only challenges...  "

Patrick Goovaerts
WebMaster
Clipper Support nv
TEL : 0032 (0)3 5453991
GSM: 0498 610 325
WEB: www.conti7.be


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.