On Tue, Jul 14, 2015 at 4:33 PM, Bill Ross <[email protected]> wrote:

>  On 7/14/2015 3:51 PM, Joakim Erdfelt wrote:
>
>  On Tue, Jul 14, 2015 at 3:44 PM, Bill Ross <[email protected]> wrote:
>
>>  Also per
>>
>> http://www.eclipse.org/jetty/documentation/current/jndi.html
>>
>> I added --add-to-startd=jndi to my startup script, but it just exited
>> without logging:
>>
>> --- script
>> cd
>> /Users/priot/jetty/org.eclipse.jetty.project/jetty-distribution/target/distribution
>> java -jar start.jar \
>>
>> jetty.home=/Users/priot/jetty/org.eclipse.jetty.project/jetty-distribution/target/distribution
>> \
>>     jetty.base=/Users/priot/pr/jetty-base \
>>     --add-to-startd=jndi
>>
>
>
>  That call, "--add-to-startd=jndi" is a generation argument, it makes a
> ${jetty.base}/start.d/jndi.ini file, reports what it did, and exits.
>
>
> There is no start.d dir, and it didn't report anything.
>

Ok, now that's interesting.

Your command line is a bit odd, but not to a point where it shouldn't work.

Try this instead ...

The more common way to do this ...

$ cd /Users/priot/pr/jetty-base
$ java
-jar 
/Users/priot/jetty/org.eclipse.jetty.project/jetty-distribution/target/distribution/start.jar
--add-to-start=jndi

That should populate your ${jetty.base}/start.ini with the jndi specific
module

# or (alternatively) you can just ...
#    echo "--module=jndi" >> /Users/priot/pr/jetty-base/start.ini

If that worked, then we'll have to investigate what is going on with our
behavior on OSX.

Now to collect the information that Jan asked for ...

$ cd /Users/priot/pr/jetty-base
$ java
-jar 
/Users/priot/jetty/org.eclipse.jetty.project/jetty-distribution/target/distribution/start.jar
--list-config
$ java
-jar 
/Users/priot/jetty/org.eclipse.jetty.project/jetty-distribution/target/distribution/start.jar
--list-modules


Lastly, how to start jetty.

$ cd /Users/priot/pr/jetty-base
$ java
-jar 
/Users/priot/jetty/org.eclipse.jetty.project/jetty-distribution/target/distribution/start.jar

- Joakim
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to