You are executing the jar from within the maven exec plugin. Console
readline isn't available in this context, so it won't work.
Run it from the command line with the following
java -jar target/juddi-client-cli-<VERSION>-jar-with-dependencies.jar

OR as discussed in the readme for that module


On Sat, Nov 25, 2017 at 10:57 AM, Nesrine Hamdani <[email protected]
> wrote:

> Hi,
> i run EntryPoint but it displays this errors, how can resolve them?
> ------------------------------------------------------------------------
> Building jUDDI CLI Client 3.3.5-SNAPSHOT
> ------------------------------------------------------------------------
>
> --- exec-maven-plugin:1.2.1:exec (default-cli) @ juddi-client-cli ---
> javax.net.ssl.trustStore = C:\Users\user\juddi\juddi-
> client-cli\..\juddi-tomcat\truststore.jks
> javax.net.ssl.keyStore = C:\Users\user\juddi\juddi-
> client-cli\..\juddi-tomcat\truststore.jks
> ____________________________
> jUDDI Interactive Command Line Interface
> ____________________________
>  1) Connect and login to a Node
>  2) Multinode and Replication commands
>  3) Offline code examples
> - [ jUDDI Client (this app) configuration ] -
>  4) Quick add the jUDDI cloud node to *this's configuration fileException
> in thread "main" java.lang.NullPointerException
> at org.apache.juddi.v3.client.cli.EntryPoint.main(EntryPoint.java:113)
>
>  5) Add a node to *this's configuration file
>  6) View all registered nodes for this client
>  q) Quit/exit
> jUDDI Main#
> ------------------------------------------------------------------------
> BUILD FAILURE
> ------------------------------------------------------------------------
> Total time: 0.937s
> Finished at: Sat Nov 25 16:56:56 CET 2017
> Final Memory: 7M/155M
> ------------------------------------------------------------------------
> Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec
> (default-cli) on project juddi-client-cli: Command execution failed.
> Process exited with an error: 1 (Exit value: 1) -> [Help 1]
>
> To see the full stack trace of the errors, re-run Maven with the -e switch.
> Re-run Maven using the -X switch to enable full debug logging.
>
> For more information about the errors and possible solutions, please read
> the following articles:
> [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/
> MojoExecutionException
>
> thank you
>
> 2017-10-17 1:33 GMT+02:00 Alex O'Ree <[email protected]>:
>
>> locate the class EntryPoint. right click it, Run File
>>
>> On Mon, Oct 16, 2017 at 2:55 PM, Nesrine Hamdani <
>> [email protected]> wrote:
>>
>>> Hi Alex any of examples run, i couldn't run any example :( i
>>> dont anderstand why .
>>> i want to run it in netbeans . there are classes which neaad main to run
>>> :(.
>>> i need help please
>>>
>>> 2017-10-13 2:51 GMT+02:00 Alex O'Ree <[email protected]>:
>>>
>>>> Find Business's containing at least one service that has at least one
>>>> binding with QoS data
>>>>
>>>> https://github.com/apache/juddi/blob/master/juddi-client-cli
>>>> /src/main/java/org/apache/juddi/v3/client/cli/SearchByQos.java#L111
>>>>
>>>> Find Service that has at least one binding with QoS data
>>>> https://github.com/apache/juddi/blob/master/juddi-client-cli
>>>> /src/main/java/org/apache/juddi/v3/client/cli/SearchByQos.java#L126
>>>>
>>>>
>>>>
>>>> On Wed, Oct 11, 2017 at 10:29 AM, Alex O'Ree <[email protected]>
>>>> wrote:
>>>>
>>>>> Nesrine
>>>>>
>>>>> Regarding the build error, are you using JDK9 by chance? jUDDI is
>>>>> JDK6-8 compatible. I haven't tested anything on JDK9 yet. Oracle JDK or
>>>>> OpenJDK+TeaTime is required for building
>>>>>
>>>>> Do you want to create a UDDI entry with QoS metrics or do you want to
>>>>> search for a UDDI entry with QoS metrics?
>>>>>
>>>>> On Wed, Oct 11, 2017 at 7:20 AM, Nesrine Hamdani <
>>>>> [email protected]> wrote:
>>>>>
>>>>>> hi , in projet juddi-client (C:.....\juddi\juddi-client\sr
>>>>>> c\main\java\org\apache\juddi\v3\client\ext\wsdm ) there is
>>>>>> class WSDMQosConstants , but i could not run it in net beans when i do 
>>>>>> open
>>>>>> projet->maven- and select juddi client. it displays errors in:
>>>>>> org/apache/juddi/v3/client/cryptor/DigSigUtil.java:[541,78] no
>>>>>> suitable method found for check(java.security.cert.X509C
>>>>>> ertificate,java.security.cert.X509Certificate) , could you hel me to
>>>>>> resolve this error.
>>>>>>
>>>>>> class WSDMQosConstants is the right class to do Qos ? time
>>>>>> reponse ....? and generat tmodel? i think is empty and i don't
>>>>>> anderstand how to do tmodel for Qos (time response...) , is there an
>>>>>> tutoriel ? could you help me please thank you
>>>>>>
>>>>>> 2017-10-07 23:07 GMT+02:00 Nesrine Hamdani <[email protected]
>>>>>> >:
>>>>>>
>>>>>>> i'll read document and looking for that exemple
>>>>>>> 🤔🤔  in juddi -client, thank you .
>>>>>>>
>>>>>>> 2017-10-07 17:26 GMT+02:00 Alex O'Ree <[email protected]>:
>>>>>>>
>>>>>>>> Nesrine
>>>>>>>>
>>>>>>>> I've read that article too. For reference, the official
>>>>>>>> recommendation
>>>>>>>> for QoS data in UDDI is this:
>>>>>>>>
>>>>>>>> https://www.oasis-open.org/committees/download.php/5333/UDDI
>>>>>>>> %20WSM-Info-1v11.doc
>>>>>>>>
>>>>>>>> The juddi-client includes all of those tModel keys in the WSDM
>>>>>>>> Constants class
>>>>>>>> I believe there's also an example utility class for weighting
>>>>>>>> endpoints based on some WSDM tModel value
>>>>>>>>
>>>>>>>> The jUDDI server includes those tModels as part of the predefined
>>>>>>>> set of tModels
>>>>>>>>
>>>>>>>> That said....
>>>>>>>>
>>>>>>>> You need a tool that can
>>>>>>>> - monitor service performance
>>>>>>>> - publish/update business/service/binding/tModelInstanceInfos
>>>>>>>> periodically
>>>>>>>>
>>>>>>>> There are a few tools that can do this that I know of.
>>>>>>>> - Amberpoint SMS (which is now an oracle product)
>>>>>>>> - WSO2 may have this functionality but i'm just guessing
>>>>>>>> - FGSMS, definitely has this and is open source
>>>>>>>>
>>>>>>>> OR
>>>>>>>>
>>>>>>>> You can write your own solution
>>>>>>>>
>>>>>>>> OR
>>>>>>>>
>>>>>>>> You can manually attach the metrics to the service's binding
>>>>>>>> template.
>>>>>>>> The juddi user interface can help with that and has a number of
>>>>>>>> helpers to help you populate the tmodel stuff.
>>>>>>>>
>>>>>>>> Does that help?
>>>>>>>>
>>>>>>>>
>>>>>>>> On Sat, Oct 7, 2017 at 11:14 AM, Nesrine Hamdani
>>>>>>>> <[email protected]> wrote:
>>>>>>>> > hi, i want to developpe an extended uddi like in this article. i
>>>>>>>> install
>>>>>>>> > juddi disto 3.3.4 it's ok . publish service is ok but how  to
>>>>>>>> recognize
>>>>>>>> > (implement) tmodel to have response time ... for Qos .
>>>>>>>> > thank you for your help
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>

Reply via email to