Re: [jboss-user] [JBoss Cache] - How to do jboss caching
by Amol Umrani
Amol Umrani [http://community.jboss.org/people/amolumrani] replied to the discussion
"How to do jboss caching"
To view the discussion, visit: http://community.jboss.org/message/559001#559001
--------------------------------------------------------------
Hello Navin,
Thanks for reply.
I have set following in persistence.xml
<property name="hibernate.cache.use_second_level_cache" value="true"/>
<property name="hibernate.cache.use_query_cache" value="true"/>
<property name="hibernate.cache.region.factory_class"
value="org.hibernate.cache.infinispan.JndiInfinispanRegionFactory"/>
<property name="hibernate.cache.infinispan.cachemanager"
value="java:CacheManager"/>
<property name="hibernate.cache.region.factory_class"
value="org.hibernate.cache.infinispan.InfinispanRegionFactory"/>
I want to implement caching using default configuration.
I think for default configuration u should not required configuration file.
Is it correct?
thats why i have used GlobalConfiguration.
Please help me regarding this...
Thanks,
Amol
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/559001#559001]
Start a new discussion in JBoss Cache at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 10 months
[JBoss Tools] - 'JBoss Community' server types from JBoss AS Tools missing in Eclipse Helios
by Elifarley Cruz
Elifarley Cruz [http://community.jboss.org/people/elifarley] created the document:
"'JBoss Community' server types from JBoss AS Tools missing in Eclipse Helios"
To view the document, visit: http://community.jboss.org/docs/DOC-15745
--------------------------------------------------------------
I have downloaded the *JBoss AS Tools* plugin from http://downloads.sourceforge.net/jboss/as-Update-2010-07-20_00-26-17-H162... http://downloads.sourceforge.net/jboss/as-Update-2010-07-20_00-26-17-H162... and unzipped its contents into Eclipse's dropins folder:
* <dropins-folder>\jboss-tools\eclipse\* features* org.jboss.ide.eclipse.as.feature_2.2.0.v20100720-0040-H162-M1.jar
* plugins* org.jboss.ide.eclipse.archives.webtools_2.2.0.v20100720-0040-H162-M1.jar
* org.jboss.ide.eclipse.as.classpath.core_2.2.0.v20100720-0040-H162-M1.jar
* org.jboss.ide.eclipse.as.classpath.ui_2.1.0.v20100720-0040-H162-M1.jar
* org.jboss.ide.eclipse.as.core_2.2.0.v20100720-0040-H162-M1.jar
* org.jboss.ide.eclipse.as.ssh_2.2.0.v20100720-0040-H162-M1.jar
* org.jboss.ide.eclipse.as.ui.mbeans_2.1.0.v20100720-0040-H162-M1.jar
* org.jboss.ide.eclipse.as.ui_2.2.0.v20100720-0040-H162-M1.jar
* org.jboss.ide.eclipse.as.wtp.core_2.2.0.v20100720-0040-H162-M1.jar
* org.jboss.ide.eclipse.as.wtp.ui_2.2.0.v20100720-0040-H162-M1.jar
However, this plugin needs some files not included in the zip archive. These are the missing files:
1. +eclipse/plugins/org.jboss.ide.eclipse.archives.core_3.2.0.v20100720-0040-H162-M1/LICENSE-truezip.txt+
2. +eclipse/plugins/org.jboss.ide.eclipse.archives.core_3.2.0.v20100720-0040-H162-M1/META-INF/MANIFEST.MF+
3. +eclipse/plugins/org.jboss.ide.eclipse.archives.core_3.2.0.v20100720-0040-H162-M1/META-INF/maven/org.jboss.tools.archives.plugins/org.jboss.ide.eclipse.archives.core/pom.properties+
4. +eclipse/plugins/org.jboss.ide.eclipse.archives.core_3.2.0.v20100720-0040-H162-M1/META-INF/maven/org.jboss.tools.archives.plugins/org.jboss.ide.eclipse.archives.core/pom.xml+
5. +eclipse/plugins/org.jboss.ide.eclipse.archives.core_3.2.0.v20100720-0040-H162-M1/about.html+
6. +eclipse/plugins/org.jboss.ide.eclipse.archives.core_3.2.0.v20100720-0040-H162-M1/archivescore-eclipse.jar+
7. +eclipse/plugins/org.jboss.ide.eclipse.archives.core_3.2.0.v20100720-0040-H162-M1/archivescore.jar+
8. +eclipse/plugins/org.jboss.ide.eclipse.archives.core_3.2.0.v20100720-0040-H162-M1/lib/concurrent-1.3.4.jar+
9. +eclipse/plugins/org.jboss.ide.eclipse.archives.core_3.2.0.v20100720-0040-H162-M1/lib/jboss-common-core-2.2.1.GA.jar+
10. +eclipse/plugins/org.jboss.ide.eclipse.archives.core_3.2.0.v20100720-0040-H162-M1/lib/jboss-common-logging-log4j-2.0.4.GA.jar+
11. +eclipse/plugins/org.jboss.ide.eclipse.archives.core_3.2.0.v20100720-0040-H162-M1/lib/jboss-common-logging-spi-2.0.4.GA.jar+
12. +eclipse/plugins/org.jboss.ide.eclipse.archives.core_3.2.0.v20100720-0040-H162-M1/lib/jboss-xml-binding.jar+
13. +eclipse/plugins/org.jboss.ide.eclipse.archives.core_3.2.0.v20100720-0040-H162-M1/lib/truezip-6.6.jar+
14. +eclipse/plugins/org.jboss.ide.eclipse.archives.core_3.2.0.v20100720-0040-H162-M1/lib/xercesImpl-2.9.1.jar+
15. +eclipse/plugins/org.jboss.ide.eclipse.archives.core_3.2.0.v20100720-0040-H162-M1/log4j.xml+
16. +eclipse/plugins/org.jboss.ide.eclipse.archives.core_3.2.0.v20100720-0040-H162-M1/plugin.properties+
17. +eclipse/plugins/org.jboss.ide.eclipse.archives.core_3.2.0.v20100720-0040-H162-M1/plugin.xml+
18. +eclipse/plugins/org.jboss.ide.eclipse.archives.ui_3.2.0.v20100720-0040-H162-M1.jar+
19. +eclipse/plugins/org.jboss.tools.jmx.core_1.2.0.v20100720-0040-H162-M1.jar+
20. +eclipse/plugins/org.jboss.tools.jmx.ui_1.2.0.v20100720-0040-H162-M1.jar+
If you install JBoss AS Tools via the update site ( http://download.jboss.org/jbosstools/updates/development/ http://download.jboss.org/jbosstools/updates/development/ ), all needed files are properly downloaded.
So it doesn't seem to be possible to install this plugin via zip file alone.
This article was generated from the following discussion: http://community.jboss.org/thread/155684 'JBoss Community' server types from JBoss AS Tools missing in Eclipse Helios
--------------------------------------------------------------
Comment by going to Community
[http://community.jboss.org/docs/DOC-15745]
Create a new document in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=102&co...]
13 years, 10 months
Re: [jboss-user] [JBoss Remoting] - Server behind the NAT firewall (again)
by Egidijus Vaisnora
Egidijus Vaisnora [http://community.jboss.org/people/egiva] replied to the discussion
"Server behind the NAT firewall (again)"
To view the discussion, visit: http://community.jboss.org/message/558973#558973
--------------------------------------------------------------
+"Server is running on computer which doesn't have remote IP only local"+
jboss server is running on computer which has only network configuraiton and it is only local IP. This computer is accessed via router which makes makes NAT'ing to this local IP
+Is 10.198.138.148 the value you associated with "clientConnectAddress" or your localhost address?+
it is local ip
After debuging a while I found solution by entering *serverBindAddress* via URL parameter. I don't know it it is right configuration, but with this I got progress on issue:
<value-factory bean="ServiceBindingManager"
method="getStringBinding">
<parameter>
jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3
</parameter>
<parameter>
<null />
</parameter>
<parameter>socket://remote_IP:${port}/?clientConnectAddress=remote_IP&serverBindAddress=${jboss.bind.address}</parameter>
<parameter>
<null />
</parameter>
<parameter>3873</parameter>
</value-factory>
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/558973#558973]
Start a new discussion in JBoss Remoting at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 10 months