Re: [jboss-user] [Performance Tuning] - Memory consumption 1h after JBoss start
by Ruchir Choudhry
Ruchir Choudhry [http://community.jboss.org/people/ruchirc] replied to the discussion
"Memory consumption 1h after JBoss start"
To view the discussion, visit: http://community.jboss.org/message/553869#553869
--------------------------------------------------------------
Hello,
Please look into the following things, it will surly help you.
01> Your JVM setting is not as per Jboss or Sun Standards. both says the Xms and Xms need to be same. Try the below setup change it based on your system needs.
-Xmx2048m -Xms2048m -XX:MaxNewSize=256m -XX:NewSize=256m -XX:MaxPermSize=128m -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=0 -XX:CMSInitiatingOccupancyFraction=60 -XX:LargePageSizeInBytes=5m -XX:ParallelGCThreads=20 -XX:-DisableExplicitGC -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:ThreadStackSize=1024 -Dsun.rmi.dgc.client.gcInterval=3600000
-Dsun.rmi.dgc.server.gcInterval=3600000
I have listed a series of test on various parameters, as below(link) try to see if you can grab some info from there.
http://community.jboss.org/docs/DOC-15623?uniqueTitle=false http://community.jboss.org/docs/DOC-15623?uniqueTitle=false
02> you can also use Visual VM provided by Sun to see if its something induced due to profiling, I dont see this as a reason but no harm is checking.
03> The the GC cycle when its happening and what is the object left in NEW Gen and Old Gen, dose it get cleared eventually or its holding up.
04> If its holding up than the problem is with the code, profile it, you will get explicit details which class, inner class, which method is causing it
05> Are you using a lot of static methords, caching in JVM or large session object
Please let me know how it goes, Publish the machine details too.
Thanks,
Ruchir
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/553869#553869]
Start a new discussion in Performance Tuning at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 11 months
[JBoss Tools] - JBoss Tools 3.2.0.M1 (Eclipse 3.6/Helios)
by Max Andersen
Max Andersen [http://community.jboss.org/people/max.andersen%40jboss.com] modified the blog post:
"JBoss Tools 3.2.0.M1 (Eclipse 3.6/Helios)"
To view the blog post, visit: http://community.jboss.org/community/jbosstools/blog/2010/07/22/jboss-too...
--------------------------------------------------------------
We got our first developer milestone build for JBoss Tools which targets Eclipse 3.6/Helios.
http://in.relation.to/service/File/10824 http://in.relation.to/service/File/10824
h4. 3.2.0.M1
[ http://www.jboss.org/tools/download Download] [ http://download.jboss.org/jbosstools/updates/development Update Site] [ http://docs.jboss.org/tools/whatsnew What's New] [ http://docs.jboss.org/tools/movies/ Movies] [ http://docs.jboss.org/tools/3.1.0.GA/ Documentation (not updated yet)] [ http://www.jboss.com/index.html?module=bb&op=viewforum&f=201 Forums] [ http://jira.jboss.com/jira/browse/JBIDE JIRA] [ http://twitter.com/jbosstools Twitter]
h3. Eclipse 3.6/Helios & Java 5
This release is the first milestone that targets Eclipse 3.6/Helios. This means you should only use this with Eclipse 3.6; if you want to stay on Eclipse 3.5 continue to use JBoss Tools 3.1.
Some plugins might still work, but by default the target is Eclipse 3.6.
We also moved our Target Java platform to Java 5 thus if you are still running Java 1.4 on your desktop it is time to upgrade.
Please be aware there a two major known issues with Eclipse 3.5.0, see the "Known Issues" section if you are having problems.
h3. 100% Tycho Build
This release of the plugins is the first release that uses Maven with the Tycho plugin to build and package the plugin distribution.
Tycho still has its quirks but the quirks are far far less than "Good'old" PDE Build; we plan to do even faster release cycles/builds in the future and using Tycho is a major part of this.
h3. New Features Overview
This milestone covers beyond the Eclipse 3.6 migration and integration new features across the board. The highlights for this release for me is:
h6. JPA 2 Support
Hibernate Tools integration with Eclipse JPA/Dali now supports JPA 2 tooling.
h6. JSF 2 Quick fixes and refactoring
Writing and editing JSF 2 Composite components becomes much easier in this release with quick fixes for missing attributes or folders to composite components and even refactoring of attribute names gets reflected in the interface component section.
h6. Externalize Strings for XHTML
If you know the externalize strings in Eclipse for Java code then you know how the Externalize Strings for XHTML works.
It allows you to select a string, choose externalize String and JBoss Tools will take care of creating the resource bundle if necessary, give it a name and replace the string with the apropriate EL expression. This makes it easier to do internationalization(i18n).
This is a feature we have been asked for a few times thus we are very much interested in hearing feedback on how it works for you.
h6. CDI Wizards and Validation
There are now wizards to create the common annotation types in CDI such as Qualifiers, Sterotypes, Scope and Interceptor Binding.
The validation of CDI constructs have also been further expanded, covering about 60 TCK based validations giving developers an early warning if things are not correctly wired up in the sourcecode.
h6. jBPM 3 Deployment
The deployment mechanism for jBPM within the plugin have been revamped to be more consistent and userfriendly. Removing the need to type too much manually and giving better freedom for how processes can be stored and structured. i.e. before one directory could only have one process, it can now have multiple.
h6. JAX-WS and "Rest" Webservice Tester
Finally but definitly not least is the new "Webservice Tester" which allows you to very easily directly from within Eclipse perform JAX-WS requests or basic "Rest" style requests (read: basic HTTP operations) and inspect the result. If you found the WTP provided Web Service explorer too limited and found other Web Service plugins too complex/heavyweight to install use then give this a try - it's nice and simple.
That were my current highlights, alot of other things were done for this release together with a good set of bugfixes. You can view more details about the above including screenshots on the http://docs.jboss.org/tools/whatsnew What's New page.
h3. Known Issues
Unfortunately there are two known issues in Eclipse 3.6.0 and Web Tools 3.2.0 that is affecting JBoss Tools (and many other eclipse plugins) you should be aware of before installing Eclipse 3.6.
If you use Oracle (previously Sun) Java SDK 6 Update 21, then be aware you have to manually specify permgen when starting Eclipse since otherwise you will quickly get an out of memory exception or related error because of https://bugs.eclipse.org/bugs/show_bug.cgi?id=319514 this Eclipse bug. Note, any previous Oracle/Sun JDK will work fine, it is only Java 6 Update 21 that is causing problems.
Workaround is to start eclipse with explicit memory arguments, i.e. eclipse -vmargs -Xms256m -Xmx1024m -XX:MaxPermSize=256m
The Web Tools issue is deployment and management of WTP Servers can be very slow for projects with high number of files because of a https://bugs.eclipse.org/bugs/show_bug.cgi?id=316032 bug in Eclipse WTP.
Both of these bug is set to be fixed in the soon to be released Eclipse SDK 3.6.1 and WTP 3.2.1.
h3. What's Next ?
The next release (3.2.0.M2) is already being built on and are available in the nightly builds; you can already start using these if you want to and follow the jira and forums for details.
As always feedback is welcome and we look forward to hear your input and other contributions.
Have Fun!
--------------------------------------------------------------
Comment by going to Community
[http://community.jboss.org/community/jbosstools/blog/2010/07/22/jboss-too...]
13 years, 11 months
[JBoss Messaging Development] - Queue\Topic not bound
by Sudhakar Pandey
Sudhakar Pandey [http://community.jboss.org/people/spandey1982] created the discussion
"Queue\Topic not bound"
To view the discussion, visit: http://community.jboss.org/message/553862#553862
--------------------------------------------------------------
We are trying to replace default HSQL with Oracle. After resolving couple of issues, we have replaced HSQL with Oracle. However, now exception is coming post core startup while binding MDB to Queue/Topic. Everything seems to be correct.
<EXCEPTION>
+15:12:00,113 ERROR [JmsActivation] Unable to reconnect mailto:org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@4ba03f(ra=org.jboss.resource.adapter.jms.JmsResourceAdapter@9f629c org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@4ba03f(ra=org.jboss.resource.adapter.jms.JmsResourceAdapter(a)9f629c destination=topic/Tran+
+sactionCategorisationTopic destinationType=javax.jms.Topic tx=true durable=true reconnect=10 provider=DefaultJMSProvider user=mqm pass=<not shown> maxMessages=1 minSession=1 maxSession=15 keepAlive=30+
+000 useDLQ=true DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler DLQJndiName=queue/DLQ DLQUser=null DLQMaxResent=10)+
+javax.naming.NameNotFoundException: TransactionCategorisationTopic not bound+
+ at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)+
+ at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)+
+ at org.jnp.server.NamingServer.getObject(NamingServer.java:785)+
+ at org.jnp.server.NamingServer.lookup(NamingServer.java:443)+
+ at org.jnp.server.NamingServer.lookup(NamingServer.java:399)+
+ at sun.reflect.GeneratedMethodAccessor233.invoke(Unknown Source)+
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)+
+ at java.lang.reflect.Method.invoke(Method.java:597)+
+ at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)+
+ at sun.rmi.transport.Transport$1.run(Transport.java:159)+
+ at java.security.AccessController.doPrivileged(Native Method)+
+ at sun.rmi.transport.Transport.serviceCall(Transport.java:155)+
+ at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)+
+ at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)+
+ at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)+
+ at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)+
+ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)+
+ at java.lang.Thread.run(Thread.java:619)+
+ at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)+
+ at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)+
+ at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)+
+ at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)+
+ at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:726)+
+ at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)+
+ at javax.naming.InitialContext.lookup(InitialContext.java:392)+
+ at org.jboss.util.naming.Util.lookup(Util.java:222)+
+ at org.jboss.resource.adapter.jms.inflow.JmsActivation.setupDestination(JmsActivation.java:464)+
+ at org.jboss.resource.adapter.jms.inflow.JmsActivation.setup(JmsActivation.java:352)+
+ at org.jboss.resource.adapter.jms.inflow.JmsActivation.handleFailure(JmsActivation.java:292)+
+ at org.jboss.resource.adapter.jms.inflow.JmsActivation$SetupActivation.run(JmsActivation.java:733)+
+ at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:205)+
+ at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:260)+
+ at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)+
+ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)+
</EXCEPTION>
I am getting above exception for all the queues and topics.
*Changes done:*
1. Copy oracle-persistence-service.xml file from <JBoss 5.1 installation>\docs\examples\jms
2. Removed <depends optional-attribute-name="ChannelFactoryName">jboss.jgroups:service=ChannelFactory</depends> from oracle-persisence-service.xml file. Bean not defined. After commenting the line issue got resolved.
3. We have defined our own JMSProvider for all our Queues and Topics. I have declared the JMSProvider information in a new xml file and placed it under a new folder "JMS" under deploy folder. JMSProvider declaration is attached herewith.
I am not sure what exact details I should provide to get the appropriate answer. So please let me know in case you need any other detail.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/553862#553862]
Start a new discussion in JBoss Messaging Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 11 months
[JBoss Tools] - Manual installation problem on JBoss Tools in eclipse 3.5
by Maheswara J
Maheswara J [http://community.jboss.org/people/maheswaranj] created the discussion
"Manual installation problem on JBoss Tools in eclipse 3.5"
To view the discussion, visit: http://community.jboss.org/message/553855#553855
--------------------------------------------------------------
Hi,
Am using windows 7 32 bit professional,
In my system i have installed jdk1.6.0_20 and then
i have downloaded eclipse-jee-galileo-SR2-win32 + JBossTools-Update-3.1.1.v201006011046R-H111-GA.zip file + jboss-5.0.0.CR2-jdk6.zip file
i have extracted eclipse in c:/eclipse
then extracted jboss tools in c:/jbosstools
created a .link file c:/eclipse/dropins folder (jbosstools.link) is filename in that file the content is path=c:/jbosstools
while start to eclipse in command prompt i have given this command c:\eclipse>eclipse -clean
But,
it didnt update the jboss tools in eclipse struts project jsf project menus are not updated in it.
Whats wrong i did
Kindly send me installation procedure
mailid: mailto:maheswaraj@icand.in maheswaraj(a)icand.in
Thanks in Advance
Thanks & Regards
Maheswaran.J
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/553855#553855]
Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 11 months