📄 jndi.properties
字号:
# This properties file gets built into the heritrix jar. To override these settings,# put a jndi.properties file in $HERITRIX_HOME (or in $JAVA_HOME/lib) with your# alternatives configuration.# We do not have a default. If no JNDI provider, we'll just log not context found.# To use JBOSS JNP as a remote JNDI Service Provider, add to the lib heritrix# lib directory the following jars from JBOSS:## jboss-common-client.jar# jnp-client.jar## Then use configuration like the below with java.naming.provider.url pointing# to your JBOSS JNP instance. Note, if you are having trouble connecting to a# remote JNP instance -- and you're getting exceptions mentioning 127.0.0.1# though you've setup a jnp url with the remote machines' IP -- then your jboss# server /etc/hosts file is not set correctly. See# http://www.theserverside.com/discussions/thread.tss?thread_id=30166## java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory# java.naming.provider.url=jnp://localhost:1099# java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -