On 12 Oct 2012, at 05:25, 姜恩波 wrote:
> I am a newer for D2R. I have two questions:
> First,I want to generate a mapping file through the command as below:
> generate-mapping -u orld -p 000000 -d 
> com.microsoft.sqlserver.jdbc.SQLServerDriver -b 123.456.789.123  -o orld.n3 
> "jdbc:sqlserver://localhost;databaseName=orld"
>  
> there are some error information:
> Exception in thread "main" java.lang.IllegalArgumentException: No value for 
> argument: o
>         at jena.cmdline.CommandLine.process(CommandLine.java:163)
>         at d2rq.generate_mapping.main(generate_mapping.java:41)
>  
> I don't know how to use the parameter b and how this parameter affect the 
> mapping file

I think you're using an old version of D2RQ. Make sure to use the latest 
version.

You don't need -b for generate-mapping. Just leave it out.

> Second, Now,I can visit D2R through http://localhost:2020, But I want to 
> visit all pages with the form: http://123.456.789.123:2020/...
> How can I do?

You need to run D2R Server on the server whose IP address is 123.456.789.123 
(note, that's not actually a valid IP address) and start D2R Server with the 
option -b http://123.456.789.123:2020/

Best,
Richard




>  
> Thanks a lot!
> Waitting for your answer!  
>  
> ------------------------------------------------------------------------------
> Don't let slow site performance ruin your business. Deploy New Relic APM
> Deploy New Relic app performance management and know exactly
> what is happening inside your Ruby, Python, PHP, Java, and .NET app
> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
> http://p.sf.net/sfu/newrelic-dev2dev_______________________________________________
> d2rq-map-devel mailing list
> d2rq-map-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/d2rq-map-devel


------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
d2rq-map-devel mailing list
d2rq-map-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/d2rq-map-devel

Reply via email to