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



Great news!

Nadir,

I followed your recommendation. A PMR with IBM came up with a solid
reponse. I would like to share with you all guys in case you get stuck
with this like me one day.

Thi is the text:

To resolve this issue, the client will need to refresh their IBM i OS
WebSphere Liberty runtime
by calling the following IBM i exit programs which will restore and fix
the
IBM i OS WebSphere Liberty runtime.

1) End all IWS/IAS application servers and the ADMIN server OR end the
entire QHTTPSVR subsystem.

ENDTCPSVR *HTTP HTTPSVR(*ADMIN)
ENDTCPSVR *HTTP HTTPSVR(<IWSorIASserver>)

2) Run the following CL commands:

QSYS/CALL PGM(QSYSDIR/QLWINSTADM)
QSYS/CALL PGM(QSYSDIR/QLWINSTLP)

3) Start your IWS/IAS application servers and the ADMIN server.

STRTCPSVR *HTTP HTTPSVR(*ADMIN)
STRTCPSVR *HTTP HTTPSVR(<IWSorIASserver>)

Completing these steps should resolve the client's issue and allow them to
deploy their web service to their IWS server successfully.


And now my web services are running smoothly.

Thanks.

Javier.



El sáb, 26 nov 2022 a las 20:16, Javier Sanchez (<
javiersanchezbarquero@xxxxxxxxx>) escribió:

Some of my notes:

1. Yes. The java JDK8 is there, both for 32-bit as well as for 64-bit.
See below the first lines of the log:


********************************************************************************
product = WebSphere Application Server 22.0.0.6
(wlp-1.0.65.cl220620220523-1607)
wlp.install.dir = /QIBM/ProdData/OS/ApplicationServer/runtime/wlp/
server.config.dir =
/QIBM/UserData/OS/AdminInst/admin4/wlp/usr/servers/admin4/
java.home = /QOpenSys/QIBM/ProdData/JavaVM/jdk80/64bit/jre
java.version = 1.8.0_331
java.runtime = Java(TM) SE Runtime Environment (8.0.7.10 -
pap6480sr7fp10-20220505_01(SR7 FP10))
os = OS/400 (V7R3M0; ppc64) (en_US)
process = 272@xxxxxxxxxxxxxxxxxxxxxxxx
Classpath =
/QIBM/ProdData/OS/ApplicationServer/runtime/wlp/bin/tools/ws-server.jar:/QIBM/ProdData/OS/ApplicationServer/runtime/wlp/bin/tools/ws-javaagent.jar:/QIBM/ProdData/OS/ApplicationServer/runtime/wlp/bin/tools/ws-javaagent.jar
Java Library path = /QSYS.LIB:/QSYS.LIB/QHTTPSVR.LIB
Suppressed message ids: [CWWKS4001I]

********************************************************************************

2. Yes, PTF SI79990 was applied, it's there.
3. I also applied SI81701 and SI81697. I understand these are rather more
recent and also suggested to apply by official IBM documentation.

Before all this, originally, the log reported an error saying that the
java package javax.ws.rs was not found. I searched for this package in
the whole system but I didn't find it.
Then I tried to get one from the outside, from the Maven repository, well
say, just to try. This error stopped from showing again.
But then, an error started to show up saying that the java package
javax.servlet.http was not found. Did the same search but could not
find it either.
Next, I tried getting it from the Maven repository. That seemed to work,
but then, this is the last log that I get.

I'll try your suggestion and will see what happens.

Thanks Nadir.

Javier

El sáb, 26 nov 2022 a las 18:45, Nadir Amra (<amra@xxxxxxxxxx>) escribió:

Hi, Not sure what is causing this unless somone on your system changed
the IAS runtime.

Is the iws server running Java 8 64 bit? Make sure by checking properties
of server. If not, install Java 8 64 bit and then change the JRE runtime
for the server.

Also ensure IAS runtime PTF is installed: 5770SS1-SI79990. If it is and
problem persists, remove it temporarily and then reapply. If problem still
occurs, I think you would need to open a case.

---------------------------------------------------
Nadir Amra
e-mail: amra@xxxxxxxxxx

From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> on behalf of
Javier Sanchez <javiersanchezbarquero@xxxxxxxxx>
Date: Saturday, November 26, 2022 at 9:38 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: [EXTERNAL] Re: javax.ws.rs package missing
Nadir,

After having updated all latest PTFs for V7R3 (there were some very recent
this year in August, September and even this month, November), the process
of installing the sample web service (ConvertTemp), once I get to the
final
step, where I would expect it to end up successfully, it generates this
error, and thus the rest of the stack trace (I just show an extract of the
whole log for space). I show some successful first lines of the excerpt.
Up to the com.ibm.systemi.iws it shows a "null" message.

I reviewed the com.ibm.sistemi.iws.jar and it shows it has the latest
package's classes, so it is up to date.
What could be causing this?

com.ibm.ws.webcontainer.osgi.mbeans.PluginGenerator I SRVE9103I:
A
configuration file for a web server plugin was automatically generated for
this server at /QIBM/Us
com.ibm.ws.kernel.feature.internal.FeatureManager A CWWKF0012I:
The server installed the following features: [jsp-2.2, servlet-3.0,
ssl-1.0, transportSecurity-1.0]
com.ibm.ws.kernel.feature.internal.FeatureManager I CWWKF0008I:
Feature update completed in 38.223 seconds.
com.ibm.ws.kernel.feature.internal.FeatureManager A CWWKF0011I:
The admin4 server is ready to run a smarter planet. The admin4 server
started in 60.146 seconds.
com.ibm.as400.wlm.toolkit W [WLM] File
does not exist or is not a file:
/QIBM/UserData/HTTPA/admin/conf/wlmconf.xml
SystemOut O
Logger(com.ibm.lwi.admin.spi).getLevel()=INFO
com.ibm.systemi.iws E null
SystemErr R
com.ibm.systemi.iws.WSSException: IWS00230E - Install of Web service
failed.
SystemErr R at
com.ibm.systemi.iws.WebService.install(WebService.java:504)
SystemErr R at
com.ibm.systemi.iws.WebService.install(WebService.java:252)
SystemErr R at

com.ibm.as400.httpsvr.request.iws.IWSInstallWebServiceNewReq.execute(IWSInstallWebServiceNewReq.java:60)
SystemErr R at

com.ibm.as400.httpsvr.request.AdminServerRequest.runImpl(AdminServerRequest.java:96)
SystemErr R at
com.ibm.lwi.hatmanager.HatRequest.runImplWrapper(HatRequest.java:644)
SystemErr R at
com.ibm.lwi.hatmanager.HatRequest.access$400(HatRequest.java:89)
SystemErr R at

com.ibm.lwi.hatmanager.HatRequest$HatRequestRunner.run(HatRequest.java:743)
SystemErr R at
com.ibm.lwi.hatmanager.HatRequest.enqueueAndWait(HatRequest.java:344)
SystemErr R at

com.ibm.as400.httpsvr.request.iws.HatWebService.install(HatWebService.java:367)
SystemErr R at

com.ibm.as400.httpsvr.access.WebServiceInfo$WorkerThread.run(WebServiceInfo.java:3376)
SystemErr R Caused by:
SystemErr R
java.lang.NullPointerException
SystemErr R at
com.ibm.systemi.iws.utilities.GeneralUtils.findJar(GeneralUtils.java:391)
SystemErr R at
com.ibm.systemi.iws.WebService.generateJavaBeans(WebService.java:2572)
SystemErr R at
com.ibm.systemi.iws.WebService.install(WebService.java:363)
SystemErr R ... 9 more
SystemErr R
com.ibm.systemi.iws.WSSException: IWS00230E - Install of Web service
failed.
SystemErr R at
com.ibm.systemi.iws.WebService.install(WebService.java:504)
SystemErr R at
com.ibm.systemi.iws.WebService.install(WebService.java:252)
SystemErr R at

com.ibm.as400.httpsvr.request.iws.IWSInstallWebServiceNewReq.execute(IWSInstallWebServiceNewReq.java:60)
SystemErr R at

com.ibm.as400.httpsvr.request.AdminServerRequest.runImpl(AdminServerRequest.java:96)
SystemErr R at
com.ibm.lwi.hatmanager.HatRequest.runImplWrapper(HatRequest.java:644)
SystemErr R at
com.ibm.lwi.hatmanager.HatRequest.access$400(HatRequest.java:89)
SystemErr R at

com.ibm.lwi.hatmanager.HatRequest$HatRequestRunner.run(HatRequest.java:743)
SystemErr R at
com.ibm.lwi.hatmanager.HatRequest.enqueueAndWait(HatRequest.java:344)
SystemErr R at

com.ibm.as400.httpsvr.request.iws.HatWebService.install(HatWebService.java:367)
SystemErr R at

com.ibm.as400.httpsvr.access.WebServiceInfo$WorkerThread.run(WebServiceInfo.java:3376)
SystemErr R Caused by:
SystemErr R
java.lang.NullPointerException
SystemErr R at
com.ibm.systemi.iws.utilities.GeneralUtils.findJar(GeneralUtils.java:391)
SystemErr R at
com.ibm.systemi.iws.WebService.generateJavaBeans(WebService.java:2572)
SystemErr R at
com.ibm.systemi.iws.WebService.install(WebService.java:363)
SystemErr R ... 9 more


El mar, 22 nov 2022 a las 13:04, Nadir Amra (<amra@xxxxxxxxxx>) escribió:

I will suggest you load the latest HTTP group PTF.

---------------------------------------------------
Nadir Amra
e-mail: amra@xxxxxxxxxx

From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> on behalf of
Javier Sanchez <javiersanchezbarquero@xxxxxxxxx>
Date: Tuesday, November 22, 2022 at 11:26 AM
To: Midrange Systems Technical Discussion <
midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: [EXTERNAL] Re: javax.ws.rs package missing
I was following these documents:

https://developer.ibm.com/tutorials/i-rest-web-services-server1/
https://developer.ibm.com/tutorials/i-rest-web-services-server2/

Up to part 2, I got stuck with the error where the log reports that the
process could not find the javax.ws.rs package.

Javier.

El mar, 22 nov 2022 a las 10:58, Nadir Amra (<amra@xxxxxxxxxx>)
escribió:

You have not indicated what product you are using to deploy web
service?

---------------------------------------------------
Nadir Amra
e-mail: amra@xxxxxxxxxx

From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> on behalf of
Javier Sanchez <javiersanchezbarquero@xxxxxxxxx>
Date: Tuesday, November 22, 2022 at 10:36 AM
To: Midrange Systems Technical Discussion <
midrange-l@xxxxxxxxxxxxxxxxxx

Subject: [EXTERNAL] javax.ws.rs package missing
Good day people:

This topic may be in archives, but I just don't have much time to go
on
and
search for it.

This is something that for sure must have been solved, and I am
confident
that one of you guys will give me the right answer.

I want to deploy a web service using an IBM i V7R3 partition.
Following
IBM's documentation on the matter, at the last minute, it fails
because
it
claims that the javax.ws.rs package is not found.

Am I missing a PTF?

TIA

Javier.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l .

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
related
questions.

Help support midrange.com by shopping at amazon.com with our
affiliate
link: https://amazon.midrange.com
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l .

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
related
questions.

Help support midrange.com by shopping at amazon.com with our
affiliate
link: https://amazon.midrange.com

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l .

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l .

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l .

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com



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.