Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit 2b6a9a9

Browse files
committed
Bob Ward feedback
1 parent c11d38d commit 2b6a9a9

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

docs/advanced-analytics/java/java-first-sample.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ Grant 'Read and Execute' permissions to **SQLRUserGroup** and the **All applicat
220220
+ Click **Object Types** and make sure *Built-in security principles* and *Groups* are selected.
221221
+ Click **Locations** to select the local computer name at the top of the list.
222222
5. Enter **SQLRUserGroup**, check the name, and then click OK to add the group.
223-
6. Enter **all application packages**, check the name, and then click OK to add. If the name doesn't resolve, revisit the Locations step. The SID is local to your machine.
223+
6. Enter **ALL APPLCIATION PACKAGES**, check the name, and then click OK to add. If the name doesn't resolve, revisit the Locations step. The SID is local to your machine.
224224

225225
Make sure both security identities have 'Read and Execute' permissions on the folder and "pkg" subfolder.
226226

@@ -262,7 +262,14 @@ After executing the call, you should get a result set showing the two columns:
262262

263263
![Results from Java sample](../media/java/java-sample-results.png "Sample results")
264264

265-
If you get an error, check classpath. The path should include a "pkg" subfolder containing the compiled code. The parent folder, not the "pkg" subfolder, should be in classpath. The length of classpath cannot exceed the declared value (`DECLARE @myClassPath nvarchar(50)`). If it does, the path is truncated to the first 50 characters and your compiled code will not be loaded. You can increase the length if 50 characters is insufficinent. Finally, check permissions on each folder, from root to "pkg" subfolder, to ensure that the security identities running the external process have permission to read and execute your code.
265+
## If you get an error
266+
267+
Rule out any issues related to the classpath.
268+
269+
+ Classpath should consist of the parent folder and any subfolders, but not the "pkg" subfolder. While the pkg subfolder must exist, it's not supposed to be in classpath value specified in the stored procedure.
270+
+ The "pkg" subfolder should contain the compiled code for all three classes.
271+
+ The length of classpath cannot exceed the declared value (`DECLARE @myClassPath nvarchar(50)`). If it does, the path is truncated to the first 50 characters and your compiled code will not be loaded. You can do a `SELECT @myClassPath` to check the value. Increase the length if 50 characters is insufficient.
272+
+ Finally, check permissions on *each* folder, from root to "pkg" subfolder, to ensure that the security identities running the external process have permission to read and execute your code.
266273

267274
## See also
268275

0 commit comments

Comments
 (0)