Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RDT does not work with Java 13.0.1 #90

Open
Zhenyi-Liu opened this issue Dec 24, 2019 · 4 comments
Open

RDT does not work with Java 13.0.1 #90

Zhenyi-Liu opened this issue Dec 24, 2019 · 4 comments

Comments

@Zhenyi-Liu
Copy link

RDT does not work with Java 13.0.1, which is the default version if people just run
brew cask install java
Instead, I used the following command to install Java 8.0, which makes the RDT worked for me.
brew tap adoptopenjdk/openjdk
brew cask install adoptopenjdk8

@DavidBrainard
Copy link
Contributor

Yes, this is a known pathology that we don't really know the cause of.

Out of curiosity, is the RDT working for you using the "guest" login with blank password? We are having troubles with the Jenkins validation server and RDT, and one theory is that it was some sort of firewall problem. But if it is working for you from China, that theory is not very good.

@Zhenyi-Liu
Copy link
Author

piPBRTList gave me errors as below when I logged in as "guest":

Error using matlab.internal.webservices.HTTPConnector/copyContentToByteArray (line 396)
The server returned the status 500 with message "Server Error" in response to the request to URL
http://brainard-archiva.psych.upenn.edu/restServices/archivaServices/searchService/searchArtifacts.

Error in readContentFromWebService (line 46)
        byteArray = copyContentToByteArray(connection);

Error in webwrite (line 139)
    [varargout{1:nargout}] = readContentFromWebService(connection, options);

Error in rdtRequestWeb (line 112)
        responseText = webwrite(requestUrl, requestBody, options);

Error in rdtListArtifacts (line 76)
response = rdtRequestWeb(configuration, resourcePath, 'requestBody', searchRequest);

Error in RdtClient/listArtifacts (line 176)
                artifacts = rdtListArtifacts(obj.configuration, ...

Error in piPBRTList (line 67)
artifacts = rdt.listArtifacts('print',p.Results.print);

@DavidBrainard
Copy link
Contributor

So, it works when you use an actual account on the archiva server (with a password) but not when you try to read as "guest"?

@Zhenyi-Liu
Copy link
Author

Yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants