[Beginner's Corner] - Error Messages in server.log
by Hari Ganesh
Hari Ganesh [http://community.jboss.org/people/hariganesh] created the discussion
"Error Messages in server.log"
To view the discussion, visit: http://community.jboss.org/message/621658#621658
--------------------------------------------------------------
Hi All,
In my Jboss Server.log, i am continuously getting below log entries:
2011-08-18 17:40:09,578 ERROR [org.jgroups.protocols.UDP] failed unmarshalling message
java.io.EOFException
at java.io.DataInputStream.readShort(DataInputStream.java:315)
at org.jgroups.protocols.TP.handleIncomingPacket(TP.java:807)
at org.jgroups.protocols.TP.access$400(TP.java:46)
at org.jgroups.protocols.TP$IncomingPacketHandler.run(TP.java:1297)
at java.lang.Thread.run(Thread.java:636)
Is this a concern or can i ignore this? Any idea what could be causing this?
Also while starting my Jboss instance,it is auto discovering all nodes in the network and clustering it and since the cluster name is "Default Partition"(which is the default name for a cluster),i think it is adding the node to the cluster. Will this cause any issue?
How can i disable auto discovery?
Thanks in Advance,
HG
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/621658#621658]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
12 years, 8 months
[Beginner's Corner] - Error after patching JBoss
by Willem Noorduin
Willem Noorduin [http://community.jboss.org/people/willemnoorduin] created the discussion
"Error after patching JBoss"
To view the discussion, visit: http://community.jboss.org/message/622173#622173
--------------------------------------------------------------
We are running JBoss 5.1.1. - eap (Redhat Edition). After deploying the jms-ra.rar file and the accompanied jboss-common-jdbc-wrapper.jar file, we get the following error:
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:778)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:543)
at org.jboss.system.server.profileservice.repository.AbstractProfileService.registerProfile(AbstractProfileService.java:308)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:256)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
at org.jboss.Main.boot(Main.java:221)
at org.jboss.Main$1.run(Main.java:556)
at java.lang.Thread.run(Thread.java:636)
Caused by: java.lang.IllegalStateException: No ConnectorMetaData found for mdf rarName: jms-ra.rar
at org.jboss.resource.deployers.builder.ManagedConnectionFactoryBuilder.buildConstructor(ManagedConnectionFactoryBuilder.java:104)
at org.jboss.resource.deployers.builder.AbstractBuilder.buildService(AbstractBuilder.java:56)
at org.jboss.resource.deployers.builder.AbstractBuilder.build(AbstractBuilder.java:65)
at org.jboss.resource.deployers.ManagedConnectionFactoryDeployer.deploy(ManagedConnectionFactoryDeployer.java:177)
at org.jboss.resource.deployers.ManagedConnectionFactoryDeployer.deploy(ManagedConnectionFactoryDeployer.java:52)
I think we have forgotten something, but it isn't clear from the installation README,which says we only need to copy the files. I have tested this with a bog-standard production profile, with no applications as of yet.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/622173#622173]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
12 years, 8 months
[jBPM] - Using a Timer
by Amin MC
Amin MC [http://community.jboss.org/people/aminmc] created the discussion
"Using a Timer"
To view the discussion, visit: http://community.jboss.org/message/620909#620909
--------------------------------------------------------------
Hello
Is it possible to get some clarification on the use of Timers in jBPM 5. I would like to use a timer in my graph where after a given period of time the next node will be a service task call to do some work and complete the business process instance. Is it true in order for the timer to work I need to reload the business process instance in memory and then call fireAllRules() on the statefulknowledgesession? Someone mentioned to me that this is the case but it isn't refered in the documentation. I presumed that there is a TimerService which registers which process has a Timer node and then invokes the necessary call to execute the Timer.
Any help would be appreciated,
Cheers
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/620909#620909]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
12 years, 8 months
[jBPM] - Add jsp or html form to user-task without using guvnor
by Rajan Bansal
Rajan Bansal [http://community.jboss.org/people/rajan01] created the discussion
"Add jsp or html form to user-task without using guvnor"
To view the discussion, visit: http://community.jboss.org/message/623731#623731
--------------------------------------------------------------
Hi,
I am developing the web-application using spring.. And I want to handle the back-ground process using jBPM5.1.
I am able to shift the database from h2 to oracle-db successfully..
And I call the jbpm process from the controller..
I am not using and dont want to use *the jbpm-console and gwt-console and not even the guvnor repository.*.
Now I want to add forms which are in "Jsp and html" to be attaced with user-task-nodes...
I am using eclipse and didn't find any means to add forms
So in the .bpmn file I tried to add form by written but un-sucessfull as shown below:
<dataOutputAssociation>
<sourceRef>_2_performanceOutput</sourceRef>
<targetRef>performance</targetRef>
</dataOutputAssociation>
<potentialOwner>
<resourceAssignmentExpression>
<formalExpression>#{employee}</formalExpression>
</resourceAssignmentExpression>
</potentialOwner>
<rendering id="requestform">
*<jbpm:form>evaluation/Request Approval.ftl</jbpm:form>*
</rendering>
</userTask>
It gives an error:
(null: 124, 18): The prefix "jbpm" for element "jbpm:form" is not bound.
16:53:46,228 ERROR [STDERR] org.xml.sax.SAXParseException: The prefix "jbpm" for element "jbpm:form" is not bound.
16:53:46,228 ERROR [STDERR] at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
16:53:46,228 ERROR [STDERR] at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
16:53:46,228 ERROR [STDERR] at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
16:53:46,228 ERROR [STDERR] at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
16:53:46,228 ERROR [STDERR] at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
16:53:46,228 ERROR [STDERR] at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
16:53:46,228 ERROR [STDERR] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
16:53:46,228 ERROR [STDERR] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
16:53:46,228 ERROR [STDERR] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
16:53:46,228 ERROR [STDERR] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
16:53:46,228 ERROR [STDERR] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
16:53:46,228 ERROR [STDERR] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
16:53:46,228 ERROR [STDERR] at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
16:53:46,228 ERROR [STDERR] at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
16:53:46,228 ERROR [STDERR] at org.drools.xml.ExtensibleXmlParser.read(ExtensibleXmlParser.java:293)
16:53:46,228 ERROR [STDERR] at org.drools.xml.ExtensibleXmlParser.read(ExtensibleXmlParser.java:172)
16:53:46,228 ERROR [STDERR] at org.jbpm.compiler.xml.XmlProcessReader.read(XmlProcessReader.java:46)
16:53:46,228 ERROR [STDERR] at org.jbpm.compiler.ProcessBuilderImpl.addProcessFromXml(ProcessBuilderImpl.java:249)
16:53:46,228 ERROR [STDERR] at org.drools.compiler.PackageBuilder.addProcessFromXml(PackageBuilder.java:516)
16:53:46,228 ERROR [STDERR] at org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:560)
16:53:46,228 ERROR [STDERR] at org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:28)
16:53:46,228 ERROR [STDERR] at com.jbpmweb.jbpm.Evaluation.readKnowledgeBase(Evaluation.java:54)
16:53:46,228 ERROR [STDERR] at com.jbpmweb.jbpm.Evaluation.processCalling(Evaluation.java:31)
16:53:46,228 ERROR [STDERR] at com.jbpmweb.service.ProbationService.handleJbpmRequest(ProbationService.java:20)
16:53:46,228 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
16:53:46,228 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
16:53:46,228 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
16:53:46,228 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
16:53:46,228 ERROR [STDERR] at org.springframework.web.servle
Please tell me how to add html or jsp forms to user-tasks???
Regards
Rajan Bansal
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/623731#623731]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
12 years, 8 months
[EJB3] - EJB3 over SSL doesn't work for remote client
by Wen Cheng
Wen Cheng [http://community.jboss.org/people/chengwen] created the discussion
"EJB3 over SSL doesn't work for remote client"
To view the discussion, visit: http://community.jboss.org/message/622861#622861
--------------------------------------------------------------
I read the post: http://community.jboss.org/thread/148760 http://community.jboss.org/thread/148760
And my situation is similar. But the solution dosen't works.
JBOSS Version: JBoss 6.0.0.0 Final
OS: Windows XP
I created a stateless bean in my application and configure it to use SSLSocket.
@Stateless
@Remote(ReflectEJB.class)
@RemoteBinding(clientBindUrl="sslsocket://${jboss.bind.address}:3843")
public class ReflectEJBBean implements ReflectEJB{
public String sayHello(){
return "hello" ;
}
}
And I also configured ejb3-connectors-jboss-beans.xml file where I added a MBean:
<bean name="EJB3SSLRemotingConnector" class="org.jboss.remoting.transport.Connector">
<property name="invokerLocator">sslsocket://${jboss.bind.address}:3843</property>
<property name="serverConfiguration">
<inject bean="ServerConfiguration" />
</property>
<property name="serverSocketFactory">
<inject bean="sslServerSocketFactory" />
</property>
</bean>
<bean name="sslServerSocketFactory" class="org.jboss.security.ssl.DomainServerSocketFactory">
<constructor>
<parameter><inject bean="EJB3SSLDomain"/></parameter>
</constructor>
</bean>
<bean name="EJB3SSLDomain" class="org.jboss.security.plugins.JaasSecurityDomain">
<constructor>
<parameter>EJB3SSLDomain</parameter>
</constructor>
<property name="keyStoreURL">../conf/server.keystore</property>
<property name="keyStorePass">mypassword</property>
</bean>
I start jboss with " -b 0.0.0.0 " on windows,
The bean works pretty well when I running the test code on the machine where jboss running.
However ,when I running the test code on a different machine , an exception is throw,
javax.naming.NamingException: Could not dereference object [Root exception is org.jboss.remoting.CannotConnectException: Can not get connection to server. Problem establishing socket connection for InvokerLocator [sslsocket://0.0.0.0:3843/]]
at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1508)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:824)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:688)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at com.css.waterbox.server.api.consoleapi.SessionDriver.main(SessionDriver.java:445)
Caused by: org.jboss.remoting.CannotConnectException: Can not get connection to server. Problem establishing socket connection for InvokerLocator [sslsocket://0.0.0.0:3843/]
at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:831)
at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:167)
at org.jboss.remoting.Client.invoke(Client.java:1961)
at org.jboss.remoting.Client.invoke(Client.java:804)
at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:60)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.proxy.impl.remoting.IsLocalProxyFactoryInterceptor.invoke(IsLocalProxyFactoryInterceptor.java:104)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.aspects.remoting.PojiProxy.invoke(PojiProxy.java:62)
at $Proxy0.createProxyBusiness(Unknown Source)
at org.jboss.ejb3.proxy.impl.objectfactory.session.SessionProxyObjectFactory.createProxy(SessionProxyObjectFactory.java:129)
at org.jboss.ejb3.proxy.impl.objectfactory.session.stateless.StatelessSessionProxyObjectFactory.getProxy(StatelessSessionProxyObjectFactory.java:79)
at org.jboss.ejb3.proxy.impl.objectfactory.ProxyObjectFactory.getObjectInstance(ProxyObjectFactory.java:161)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1483)
at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1500)
... 4 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:193)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:550)
at org.jboss.remoting.transport.sslsocket.SSLSocketClientInvoker.connect(SSLSocketClientInvoker.java:243)
at org.jboss.remoting.transport.sslsocket.SSLSocketClientInvoker.createSocket(SSLSocketClientInvoker.java:186)
at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.getConnection(MicroSocketClientInvoker.java:1165)
at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:816)
at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:167)
at org.jboss.remoting.Client.invoke(Client.java:1961)
at org.jboss.remoting.Client.invoke(Client.java:804)
at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:60)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.ejb3.proxy.impl.remoting.IsLocalProxyFactoryInterceptor.invoke(IsLocalProxyFactoryInterceptor.java:104)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at org.jboss.aspects.remoting.PojiProxy.invoke(PojiProxy.java:62)
at $Proxy0.createProxyBusiness(Unknown Source)
at org.jboss.ejb3.proxy.impl.objectfactory.session.SessionProxyObjectFactory.createProxy(SessionProxyObjectFactory.java:129)
at org.jboss.ejb3.proxy.impl.objectfactory.session.stateless.StatelessSessionProxyObjectFactory.getProxy(StatelessSessionProxyObjectFactory.java:79)
at org.jboss.ejb3.proxy.impl.objectfactory.ProxyObjectFactory.getObjectInstance(ProxyObjectFactory.java:161)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1483)
at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1500)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:824)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:688)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at com.css.waterbox.server.api.consoleapi.SessionDriver.main(SessionDriver.java:445)
at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:72)
... 15 more
I tried the way mentioned in https://jira.jboss.org/jira/browse/EJBTHREE-1650 https://jira.jboss.org/jira/browse/EJBTHREE-1650 , In another word, I add jboss.xml in META-INF folder in myejb.jar:
<?xml version="1.0" encoding="utf-8"?>
<jboss xmlns="http://www.jboss.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee
http://www.jboss.org/j2ee/schema/jboss_5_0.xsd"
version="5.0">
<enterprise-beans>
<session>
<ejb-name>ReflectEJBBean</ejb-name>
<remote-binding>
<jndi-name>ReflectEJBBean/remote</jndi-name>
<client-bind-url>sslsocket://${jboss.bind.address}:3843</client-bind-url>
</remote-binding>
</session>
</enterprise-beans>
</jboss>
But it got no improvement.
I know when I start jboss with "-b the_real_IP_of_the_machine" instead of "-b 0.0.0.0" , I can access ReflectEJBBean in a remote machine.
But I want to keep the "-b 0.0.0.0" for some reason.
Any idea?
Thanks very much in advance.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/622861#622861]
Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
12 years, 8 months
[Performance Tuning] - java.lang.OutOfMemoryError: PermGen space + JBoss AS in Windows
by Roberto Requena
Roberto Requena [http://community.jboss.org/people/Rart3001_1] created the discussion
"java.lang.OutOfMemoryError: PermGen space + JBoss AS in Windows"
To view the discussion, visit: http://community.jboss.org/message/624085#624085
--------------------------------------------------------------
Greetings.
I need some help setting up a JBoss Aplication for production as is giving me memory problems.
The server configuration is as follows:
*OS: Microsoft Windows Server 2003 Enterprise Edition (Service Pack 2)*
*CPU: Pentium (R) Dua-Core CPU E5200(a)2.50GHz 2.50GHz*
*Memory: 1.96 GB of RAM.*
*JAVA: java version "1.6.0_24" Java (TM) SE Runtime Environment (build1.6.0_24-b07)*
*Application Server: JBoss 5.1.0.GA*
My application is developed with:
*JSF 1.2*
*Rich Faces 3.3.3 Final*
*Facelets*
*EJB 3.0*
*JPA*
I tried to make most of my Backing Beam are in request scope.
But when more than one user is connected to the application I get the following error:
java.lang.OutOfMemoryError: PermGen space
and tried to set the memory of the VM, but do not know what values to putexactly the amount of server memory. Nor is that components of jboss I have to uninstall to improve performance.
If you have any suggestions they are truly GRATEFUL.
Thanks again and excuse me for my Inglish
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/624085#624085]
Start a new discussion in Performance Tuning at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
12 years, 8 months