Digital Developer Conference: a FREE half-day online conference focused on AI & Cloud – North America: Nov 2 – India: Nov 9 – Europe: Nov 14 – Asia Nov 23 Register now

Close outline
  • United States
IBM?
  • Site map
IBM?
  • Marketplace

  • Close
    Search
  • Sign in
    • Sign in
    • Register
  • IBM Navigation
IBM Developer Answers
  • Spaces
    • Blockchain
    • IBM Cloud platform
    • Internet of Things
    • Predictive Analytics
    • Watson
    • See all spaces
  • Tags
  • Users
  • Badges
  • FAQ
  • Help
Close

Name

Community

  • Learn
  • Develop
  • Connect

Discover IBM

  • ConnectMarketplace
  • Products
  • Services
  • Industries
  • Careers
  • Partners
  • Support
10.190.13.195

Refine your search by using the following advanced search options.

Criteria Usage
Questions with keyword1 or keyword2 keyword1 keyword2
Questions with a mandatory word, e.g. keyword2 keyword1 +keyword2
Questions excluding a word, e.g. keyword2 keyword1 -keyword2
Questions with keyword(s) and a specific tag keyword1 [tag1]
Questions with keyword(s) and either of two or more specific tags keyword1 [tag1] [tag2]
To search for all posts by a user or all posts with a specific tag, start typing and choose from the suggestion list. Do not use a plus or minus sign with a tag, e.g., +[tag1].
  • Ask a question

Error while deploying API using zOS Connect EE

502CWRVMUX gravatar image
Question by Neeraj_dxc  (1) | Mar 14, 2018 at 06:59 AM zosconnectmapping

While trying to deploy API using zOS connect EE , I am getting error 'An error was received for z/OS Connect EE connection "zOS_Server" (server ip): 500 Internal Server Error, BAQR7033E: Internal server error.API deployment problem'.

Can anyone tell me what could be the problem.

People who like this

  0
Comment
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

1 reply

  • Sort: 
270002JJXE gravatar image

Answer by ZhouXin (2) | Mar 14, 2018 at 10:28 PM

I got this error message because something is wrong with the z/OS Connect service location, which stay in USS folder, e.g. no space on device or no authority to write, the location is defined in server.xml. You can find some error description in ffdc folder.

 <zosconnect_services updateTrigger="polled" pollingRate="5s" location="~/zosconnect/services" />   
Comment

People who like this

  0   Show 2   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
502CWRVMUX gravatar image Neeraj_dxc (1)   Mar 20, 2018 at 07:08 AM 0
Share

Hi , Thanks for your inputs. I am still facing problem in deploying API on the server using toolkit. Please find attached the request log f[link text][1]ile and the server.xml (renamed) for your reference. Although we are getting the messages of successful deployment of zOS Service project but facing issue in deploying API. Below is the specific error log: [3/12/18 12:05:05:476 GMT] 00001009 com.ibm.wsspi.webcontainer.async W SRVE8025E: An error or timeout occured while doing async servlet processing. java.lang.NoClassDefFoundError: java.nio.file.FileSystems$DefaultFileSystemHolder (initialization failure) at java.lang.J9VMInternals.initializationAlreadyFailed(J9VMInternals.java:96) at java.nio.file.FileSystems.getDefault(FileSystems.java:187) at java.io.File.toPath(File.java:2245) at com.ibm.zosconnect.internal.ApiManagerImpl.installNewApiPackage(Unknown Source) at com.ibm.zosconnect.internal.ApiManagerImpl.installApiFromApiArchive(Unknown Source) at com.ibm.zosconnect.internal.web.ServiceProxyServlet$22.run(Unknown Source) at com.ibm.ws.webcontainer.async.ServiceWrapper.wrapAndRun(ServiceWrapper.java:202) at com.ibm.ws.webcontainer.async.ContextWrapper.run(ContextWrapper.java:28) at com.ibm.ws.webcontainer.async.WrapperRunnableImpl.run(WrapperRunnableImpl.java:89) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.lang.Thread.run(Thread.java:811) Caused by: java.lang.RuntimeException: default directory must be absolute at sun.nio.fs.UnixFileSystem.(UnixFileSystem.java:67) at sun.nio.fs.ZosFileSystem.(ZosFileSystem.java:26) at sun.nio.fs.ZosFileSystemProvider.newFileSystem(ZosFileSystemProvider.java:32) at sun.nio.fs.ZosFileSystemProvider.newFileSystem(ZosFileSystemProvider.java:19) at sun.nio.fs.UnixFileSystemProvider.(UnixFileSystemProvider.java:68) at sun.nio.fs.ZosFileSystemProvider.(ZosFileSystemProvider.java:22) at java.lang.J9VMInternals.newInstanceImpl(Native Method) at java.lang.Class.newInstance(Class.java:1762) at sun.nio.fs.DefaultFileSystemProvider.createProvider(DefaultFileSystemProvider.java:60) at sun.nio.fs.DefaultFileSystemProvider.create(DefaultFileSystemProvider.java:80) at java.nio.file.FileSystems$DefaultFileSystemHolder.getDefaultProvider(FileSystems.java:119) at java.nio.file.FileSystems$DefaultFileSystemHolder.access$000(FileSystems.java:100) at java.nio.file.FileSystems$DefaultFileSystemHolder$1.run(FileSystems.java:109) at java.nio.file.FileSystems$DefaultFileSystemHolder$1.run(FileSystems.java:107) at java.security.AccessController.doPrivileged(AccessController.java:638) at java.nio.file.FileSystems$DefaultFileSystemHolder.defaultFileSystem(FileSystems.java:107) at java.nio.file.FileSystems$DefaultFileSystemHolder.(FileSystems.java:101) at java.nio.file.FileSystems.getDefault(FileSystems.java:187) at java.io.File.toPath(File.java:2245)

server.txt (3.2 kB)
messages.txt (176.6 kB)
270002JJXE gravatar image ZhouXin (2) Neeraj_dxc (1)   Mar 25, 2018 at 10:23 PM 0
Share

After read the messages.log file, I suspect there is network connection issue. Let's fix the "CWWKO0801E: Unable to initialize SSL connection" first.

1) Add SSL configuration in server.xml. It's required for https connection. For example:

You can reference topic Configuring security with a basic user registry in the z/OS Connect EE documentation.

2) Add two z/OS Connect server connection in API toolkit, with port 9080 and 9443 separately. Test the connection is working well or not.

3) Deploy the API again via port 9080, then 9443, see what happen.

One tip for debugging, you can disable the user authentication with setting in server.xml as following:

try to deploy the API with port 9080. This is to avoid error "CWWKS1100A: Authentication did not succeed for user ID Y00894". If successful, we can make sure there is no network issue. Then remove this setting, continue to use basic authentication validation.

Follow this question

132 people are following this question.

Answers

Answers & comments

Related questions

Mapping Editor Not Loading in zOS Connect EE 1 Answer

CWWKB0503E WOLA channel that uses group1 name2 name3 was unavailable for use with Liberty server 1 Answer

RC 256 error when starting z/OS Connect server 2 Answers

z/OS Connect EE ApiRequester fails with BAQR1135E with missing zCEE-ApiRequester-Path 1 Answer

IMS RESTful API called through JavaScript returns no response. 1 Answer

  • Contact
  • Privacy
  • IBM Developer Terms of use
  • Accessibility
  • Report Abuse
  • Cookie Preferences

Powered by AnswerHub

Authentication check. Please ignore.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • API Connect
  • Analytic Hybrid Cloud Core
  • Application Performance Management
  • Appsecdev
  • BPM
  • Blockchain
  • Business Transaction Intelligence
  • CAPI
  • CAPI SNAP
  • CICS
  • Cloud Analytics
  • Cloud Automation
  • Cloud Object Storage
  • Cloud marketplace
  • Collaboration
  • Content Services (ECM)
  • Continuous Testing
  • Courses
  • Customer Experience Analytics
  • DB2 LUW
  • Data and AI
  • DataPower
  • Decision Optimization
  • DevOps Build
  • DevOps Services
  • Developers IBM MX
  • Digital Commerce
  • Digital Experience
  • Finance
  • Global Entrepreneur Program
  • Hadoop
  • Hybrid Cloud Core
  • Hyper Protect
  • IBM Cloud platform
  • IBM Design
  • IBM Forms Experience Builder
  • IBM Maximo Developer
  • IBM StoredIQ
  • IBM StoredIQ-Cartridges
  • IIDR
  • ITOA
  • InformationServer
  • Integration Bus
  • Internet of Things
  • Kenexa
  • Linux on Power
  • LinuxONE
  • MDM
  • Mainframe
  • Messaging
  • Node.js
  • ODM
  • Open
  • PartnerWorld Developer Support
  • PowerAI
  • PowerVC
  • Predictive Analytics
  • Product Insights
  • PureData for Analytics
  • Push
  • QRadar App Development
  • Run Book Automation
  • Search Insights
  • Security Core
  • Storage
  • Storage Core
  • Streamsdev
  • Supply Chain Business Network
  • Supply Chain Insights
  • Swift
  • UBX Capture
  • Universal Behavior Exchange
  • UrbanCode
  • WASdev
  • WSRR
  • Watson
  • Watson Campaign Automation
  • Watson Content Hub
  • Watson Marketing Insights
  • dW Answers Help
  • dW Premium
  • developerWorks Sandbox
  • developerWorks Team
  • Watson Health
  • More
  • Tags
  • Questions
  • Users
  • Badges