[JBoss Tools] - Building JBoss Tools Documentation
by Nick Boldt
Nick Boldt [https://community.jboss.org/people/nickboldt] modified the document:
"Building JBoss Tools Documentation"
To view the document, visit: https://community.jboss.org/docs/DOC-13341
--------------------------------------------------------------
*This document is out of date. See https://github.com/jbosstools/jbosstools-devdoc/blob/master/building/buil... https://github.com/jbosstools/jbosstools-devdoc/blob/master/building/buil...
You can download a folder with a plug-in either from a Anonymous SVN (http://anonsvn.jboss.org/repos/jbosstools) or a Committer SVN (https://svn.jboss.org/repos/jbosstools) ( if you have commiter rights) repositories . In the plug-in's folder you will find a directory with documentation.This instruction explains how you can build the documentation.
h3. Prerequisites:
Ensure you have the Maven building tool
Ensure the Nexus repository and profile as defined here: https://community.jboss.org/docs/DOC-15170 http://community.jboss.org/wiki/MavenGettingStarted-Developers are in your *+settings.xml+* file, located in your *%M2_HOME%/conf/* or *%USER_HOME%/.m2/* folder. These settings are required in order to obtain the necessary jDocbook plug-ins that are required to build the JBoss Tools documentation
h3. Building Steps
So, you checked out the plug-in for which you want to build documentation and the documentation folder. And now you can proceed to building the documentation.
1.Find the +*pom.xml*+ file, that is responsible for building the documentation, in the plug-in folder you downloaded. Normally it’s located in “/docs/reference”.
2.Run *mvn clean install* command in the folder with *+pom.xml+* to start building the documentation. (nightly build docs are build by default)
Example:
user@user-desktop:/home/user/trunk/seam/docs/reference$ mvn clean install
3.If everything is configured correctly you will see a “BUILD SUCCESSFUL” message. You will also see a generated *+target+* folder that contains the built documentation.
Example:
To open the HTML version of the “Seam Dev Tools Reference Guide” guide you need to proceed to
user@user-desktop:/home/user/trunk/seam/docs/seam/docs/reference/target/docbook/publish/en-US/html_single
and open index.html file.
h3. Documentation Profiles
There are 3 profiles that you can build documentation with:
*release* builds release documentation with “new” or “updated” markers next to the corresponding chapters and sections titles
*releaseJBDS* builds release documentation with Jboss.com styles for commercial products
> Remember to redeploy "jbosstools-jdocbook-style" and "jbosstools-docbook-xslt" if it have been changed.
> In order to redeploy you should run 'mvn deploy' from the corresponding directory. You should also have the apropriate credentials to deploy to the http://snapshots.jboss.org/maven2
*diffmk* builds documentation with markers highlighting changes comparing to the previous release version and sets “new” or “updated” markers next to the corresponding chapters and sections titles.*Note:* Please make sure that you have the master_output.xml file (normally the file can be found in \pluginName\docs\reference\en\) as a new guide may not have such file since there's nothing to compare with.
This command launches building documentation with a profile.
mvn install -Pprofile_name
By default, with no profile specified, Nightly Build docs are generated.
In order to build all the guide from one place you need to have JBoss Tools trunk checked out then cd to JBoss_tools_trunk/documentation/jbds-docs/ to build JBDS guides with jboss.com styles or to JBoss_tools_trunk/documentation/jboss-tools-docs to build JBoss Tools guides.
and run
mvn assembly:assembly
You can optionally use a profile in this command.
mvn assembly:assembly -Pprofile_name
--------------------------------------------------------------
Comment by going to Community
[https://community.jboss.org/docs/DOC-13341]
Create a new document in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=102&c...]
10 years, 10 months
[JBoss Portal] - Facing Connection leak ( INACTIVE State) Problem - Jboss Portal 2.7.2
by Asheesh Patel
Asheesh Patel [https://community.jboss.org/people/asheesh.patel] created the discussion
"Facing Connection leak ( INACTIVE State) Problem - Jboss Portal 2.7.2"
To view the discussion, visit: https://community.jboss.org/message/827547#827547
--------------------------------------------------------------
Hi All,
I am seeing there are many connection in 'INACTIVE' state and are present for more than 12-15 hours. Most of the sessions (around 90%) have executed the below query to JBP_INSTANCE_PER_USER table before moving to inactive state
Checked from last query executed from v$session table and prev_sql_id
[org.hibernate.SQL] select persistent0_.PK as PK6_0_, persistent0_.INSTANCE_PK as INSTANCE2_6_0_, persistent0_.SER_STATE as SER3_6_0_, persistent0_.USER_ID as USER4_6_0_, persistent0_.PORTLET_REF as PORTLET5_6_0_ from JBP_INSTANCE_PER_USER persistent0_ where persistent0_.INSTANCE_PK=? and persistent0_.USER_ID=?
The open connection count is reaching to DB threshold value and the inactive sessions are not getting utilized for serving the new request and DB is creating the new connection. Also I have found the PortalDS connection is running out of connection while checking from JMX console. The in-use connection is touching the maximum connection count and available connection count to zero.
We are using below environment for our application:
*Application server:* Jboss Portal Application 2.7.2
*OS:* Linux
I also did the code review for connection leak, but seems the above query is getting executed by Jboss internally while user logs-in to application portal.
Can anyone please help me out, if encountered the similar problem in Jboss portal application server. Let me know if need more information for issue.
Thanks,
Asheesh Patel
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/827547#827547]
Start a new discussion in JBoss Portal at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
10 years, 10 months
[jBPM] - JBPM 5.4 on linux redhat kernel 2.6.32-131.0.15.el6.x86_64 can not open drools-guvnor
by Panupong Chantaklang
Panupong Chantaklang [https://community.jboss.org/people/nancomsp] created the discussion
"JBPM 5.4 on linux redhat kernel 2.6.32-131.0.15.el6.x86_64 can not open drools-guvnor"
To view the discussion, visit: https://community.jboss.org/message/827440#827440
--------------------------------------------------------------
*My Step*
1. I install jbpm 5.4 from extract jbpm-5.4.0.Final-installer-full.zip to my developme machine
2. run command ant install.demo.noeclipse
3. run command ant start.demo.noeclipse
Every things look well but when i try to connect http://mydevmachine:8080/drools-guvnor.
i can access first page but system show error 500. After i saw server.log many line show erro like
Caused by: java.sql.SQLException: Java exception: '/app/jbpm-installer/repository/workspaces/default/db/seg0/c3f1.dat (Too many open files): java.io.FileNotFoundException'.
at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source) [derby-10.5.3.0_1.jar:]
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source) [derby-10.5.3.0_1.jar:]
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source) [derby-10.5.3.0_1.jar:]
at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source) [derby-10.5.3.0_1.jar:]
at org.apache.derby.impl.jdbc.Util.javaException(Unknown Source) [derby-10.5.3.0_1.jar:]
at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source) [derby-10.5.3.0_1.jar:]
its mean derby cannot create data file.
How to fix this problems ?
My machhine is VM
- CPU 4 core 2.0 Mhz up
- RAM 8 GB
- Storage 40 GB
Installed Software & OS
- OS linux redhat kernel 2.6.32-131.0.15.el6.x86_64
- Sun JDK 1.6.0_45 64 bit
Thank for any advance.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/827440#827440]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
10 years, 10 months