[Performance Tuning] - JBoss 5.1.0.GA - Adding Log4j-service takes more than 1 minute
by Matthias Bieker
Matthias Bieker [https://community.jboss.org/people/Matthias_B] created the discussion
"JBoss 5.1.0.GA - Adding Log4j-service takes more than 1 minute"
To view the discussion, visit: https://community.jboss.org/message/751101#751101
--------------------------------------------------------------
Hello,
i have a question about JBoss 5.1.0.GA. Adding the log4j-services takes more than 1 minute:
2012-07-26 15:11:58,684 main INFO [org.jboss.dependency.plugins.AttributeCallbackItem] --: Owner callback not implemented.
2012-07-26 *15:12:01,122* main INFO [org.jboss.logbridge.LogNotificationListener] --: Adding notification listener for logging
mbean "jboss.system:service=Logging,type=Log4jService" to server org.jboss.mx.server.MBeanServerImpl@fd0a62[ defaultDomain='jb
oss' ]
2012-07-26 *15:13:21,566* main INFO [org.jboss.deployment.dependency.ContainerDependencyMetaData] --: addJndiDependency, JndiDe
pendencyMetaData(a)12264c4{ejb/de.kwsoft.mtext.MTextActivationServerTalk}
I'm using JBoss 5.1.0.GA on Sun Solaris 8. The start of JBoss server takes over 4 minutes.
How can I speed up this process ?
Regards.
Matthias_B
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/751101#751101]
Start a new discussion in Performance Tuning at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 5 months
[JBoss Tools] - No goals are selectable in maven "Run as..." dialogue via Indigo (SR2)
by K G
K G [https://community.jboss.org/people/onoma] created the discussion
"No goals are selectable in maven "Run as..." dialogue via Indigo (SR2)"
To view the discussion, visit: https://community.jboss.org/message/746469#746469
--------------------------------------------------------------
Hi
I have recently installed Eclipse Indigo (SR2) and JBoss Tools via the Eclipse Marketplace.
I attempted to create a very simple Maven project via the m2e wizards which went fine.
I then right-clicked on the POM and selceted Run as../Maven build.... When I clicked on the "Select"
button in the resultant dialogue , there were no goals displayed.
A post on another forum described the same problem exactly and provided the following solution:
* Open the Maven View
* Right-click on the Central repository (under Global Repsotiories) and enable full indexing. Once this process has finished, rebuild the indexes.
I tried this but it had no effect.
I'd be grateful if anyone can advise whether I have missed something obvious here or whether there is anotehr way to get the IDE
to recognise maven goals in the Run configurations dialogue.
Thanks
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/746469#746469]
Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 5 months
[Performance Tuning] - Re: Regarding Https Compression (on Chrome Browser)
by rupesh kumar
rupesh kumar [https://community.jboss.org/people/er_rupeshmca] created the discussion
"Re: Regarding Https Compression (on Chrome Browser)"
To view the discussion, visit: https://community.jboss.org/message/750498#750498
--------------------------------------------------------------
Yes now I have applied compression=force and also Mimetypes, But Still now it is showing the same message on chrome as previously..
<Server>
<!-- Optional listener which ensures correct init and shutdown of APR,
and provides information if it is not installed -->
<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
<!--Initialize Jasper prior to webapps are loaded. Documentation at /docs/jasper-howto.html -->
<Listener className="org.apache.catalina.core.JasperListener" />
<Service name="jboss.web">
<!-- A HTTP/1.1 Connector on port 8080
<Connector protocol="HTTP/1.1" port="8080" address="${jboss.bind.address}"
connectionTimeout="20000" redirectPort="8443" /> -->
<Connector port="8080" address="${jboss.bind.address}" maxThreads="250"
maxHttpHeaderSize="8192" emptySessionPath="true" protocol="HTTP/1.1"
enableLookups="false" redirectPort="8443" acceptCount="100" connectionTimeout="20000"
*compressableMimeType="text/html,text/xml,text/css,text/javascript, application/x-javascript,application/javascript"*
disableUploadTimeout="true" *compression="force"*></Connector>
<!-- Add this option to the connector to avoid problems with
.NET clients that don't implement HTTP/1.1 correctly
restrictedUserAgents="^.*MS Web Services Client Protocol 1.1.4322.*$"
-->
<!-- A AJP 1.3 Connector on port 8009 -->
<Connector protocol="AJP/1.3" port="8009" address="${jboss.bind.address}"
redirectPort="8443" />
<!-- SSL/TLS Connector configuration using the admin devl guide keystore -->
<Connector protocol="HTTP/1.1" SSLEnabled="true"
port="8443" address="${jboss.bind.address}"
scheme="https" secure="true" clientAuth="false"
keystoreFile="${jboss.server.home.dir}/conf/chap8.keystore"
keystorePass="rmi+ssl" sslProtocol = "TLS" />
Can you Suggest on this?
Should i have to add compression parameter in SSL/TLS Connection Configuration and AJP Connector Also ?
Regards
Rupesh
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/750498#750498]
Start a new discussion in Performance Tuning at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 5 months
[Datasource Configuration] - Httpsession using hot rod and Infinispan with Jboss 7.x
by manish suriya
manish suriya [https://community.jboss.org/people/techtalk] created the discussion
"Httpsession using hot rod and Infinispan with Jboss 7.x"
To view the discussion, visit: https://community.jboss.org/message/751249#751249
--------------------------------------------------------------
Hi Ben,
As suggested I have modified the following in standalon-ha.xml of Jboss 7.1.2.
1) modify the org.infinispan module.xml to have a dependency on the cache loaders and hotrod client.
<module name="org.infinispan.client.hotrod"/>
<module name="org.infinispan.cachestore.remote"/>
<module name="org.infinispan.cachestore.jdbc"/>
2) modify the web cache-container to use an invalidation cache backed by a remote-store. Similar to what Paul suggested with the jdbc-store.
<cache-container name="web" aliases="standard-session-cache" default-cache="remote" module="org.jboss.as.clustering.web.infinispan">
<transport lock-timeout="60000"/>
<invalidation-cache name="remote" mode="ASYNC" batching="true">
<remote-store passivation="false" purge="false" shared="true">
<remote-server outbound-socket-binding="session-datagrid"/>
</remote-store>
</invalidation-cache>
</cache-container>
3) Add an outbound-socket-binding to the socket-binding-group your server is using. This is the host and port of your remote infinispan cache.
<outbound-socket-binding name="session-datagrid">
<remote-destination host="localhost" port="11222"/>
</outbound-socket-binding>
4) Start an infinispan cache with the hotrod connector.
jboss\infinispan-5.1.5.FINAL\bin>startServer.bat -r hotrod
However for the 4th point i have some queries ..
Questions/Concerns :
*1. I cannt see infinispan-5.x folder inside jboss home ? Do i need to donwload Infinispan and place it in jboss home ?*
*2. Cannt we use integrated infinispan comes with jboss 7.1.2 ?*
Thanks for your time !
-Manish
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/751249#751249]
Start a new discussion in Datasource Configuration at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 5 months
[jBPM] - Standalone editor without saving the process gives the exception
by Josny Delson
Josny Delson [https://community.jboss.org/people/josdel] created the discussion
"Standalone editor without saving the process gives the exception"
To view the discussion, visit: https://community.jboss.org/message/751109#751109
--------------------------------------------------------------
Hi All,
Closing the standalone editor(firefox) of designer 2.2 without saving the process gives the exception.We are able to see the design. But while reading the knowledgs base will get the exception.The exception is
java.lang.IllegalArgumentException: Could not parse knowledge. Refer the below figure..
Also we get the exception while instantiating knowledgebase.
(null: 1, 1): Premature end of file.
org.xml.sax.SAXParseException: Premature end of file.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAX
ParseException(ErrorHandlerWrapper.java:195)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalErro
r(ErrorHandlerWrapper.java:174)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(
XMLErrorReporter.java:388)
at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(X
MLScanner.java:1414)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$Prolog
Driver.next(XMLDocumentScannerImpl.java:1059)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(X
MLDocumentScannerImpl.java:648)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next
(XMLNSDocumentScannerImpl.java:140)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:808)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.
java:119)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Ab
stractSAXParser.java:1205)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.p
arse(SAXParserImpl.java:522)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
at org.drools.xml.ExtensibleXmlParser.read(ExtensibleXmlParser.java:293)
at org.drools.xml.ExtensibleXmlParser.read(ExtensibleXmlParser.java:172)
at org.jbpm.compiler.xml.XmlProcessReader.read(XmlProcessReader.java:46)
at org.jbpm.compiler.ProcessBuilderImpl.addProcessFromXml(ProcessBuilder
Impl.java:247)
at org.drools.compiler.PackageBuilder.addProcessFromXml(PackageBuilder.j
ava:564)
at org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilde
r.java:608)
at org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl
.java:37)
at com.radiant.cisms.workFlow.wrapper.JBPMWorkflowWrapper.readKnowledgeB
ase(JBPMWorkflowWrapper.java:83)
at com.radiant.cisms.jms.listeners.WorkFlowListener.onMessage(WorkFlowLi
stener.java:101)
at org.apache.activemq.ActiveMQMessageConsumer.dispatch(ActiveMQMessageC
onsumer.java:1229)
at org.apache.activemq.ActiveMQSessionExecutor.dispatch(ActiveMQSessionE
xecutor.java:134)
at org.apache.activemq.ActiveMQSessionExecutor.iterate(ActiveMQSessionEx
ecutor.java:205)
at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.
java:122)
at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.ja
va:43)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
at java.lang.Thread.run(Thread.java:619)
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
ProcessLoadError: unable to parse xml : Exception class org.xml.sax.SAXParseExce
ption : Premature end of file.
Thanks in Advance
Josny
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/751109#751109]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 5 months