[JBoss jBPM] - Re: BPEl Problem: Assign with Literal values
by alex.guizarï¼ jboss.com
Agus,
The literal variant is definitely supported. Strangely, the error you posted is not reported on the from element but on the to element:
/bpws:process/bpws:sequence/bpws:assign/bpws:copy/bpws:to
Plus, the expression text is empty:
expression=org.jbpm.bpel.sublang.def.Expression@11c2812[text=,id=0]
Which leads me to think that the document you posted is not exactly what you deployed.
Anyway, for string literals, the expression variant of from can produce the same result as the literal variant as illustrated below.
<bpws:assign>
| <bpws:copy>
| <bpws:from>'URL not found'</bpws:from>
| <bpws:to>$output.response/tns:Country</bpws:to>
| </bpws:copy>
| </bpws:assign>
In the Eclipse designer, you just have to select the expression variant and type the string literal in the expression box.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093769#4093769
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4093769
18Â years, 8Â months
[Remoting] - Re: ServerThread
by ron.sigalï¼ jboss.com
Hi Poyan,
The Remoting bisocket transport used by JBossMessaging has a second ServerSocket on the server which has to be accessible. Bisocket was designed for the use case in which the client was behind a firewall but the server was not, and the second ServerSocket used a random port. Since Remoting version 2.2.2.GA, the second port has been configurable: see JIRA issue JBREM-749 "BisocketServerInvoker: Make configurable the address and port of secondary server socket" (http://jira.jboss.com/jira/browse/JBREM-749.
The remoting jar (jboss-remoting.jar) for version 2.2.2.GA (or later - the most current release is 2.2.2.SP2) is available from http://repository.jboss.com/jboss/remoting/. You need to put the jar in the lib directory of your particular server configuration: e.g., $JBOSS_HOME/server/messaging/lib.
Also, you need to configure the secondary port in server/messaging/deploy/jboss-messaging.sar/remoting-bisocket-service.xml. For example, to set the secondary port to 5445, add the secondaryBindPort attribute as follows:
| <mbean code="org.jboss.remoting.transport.Connector"
| name="jboss.messaging:service=Connector,transport=bisocket"
| display-name="Bisocket Transport Connector">
| <attribute name="Configuration">
| <config>
| <invoker transport="bisocket">
| <attribute name="marshaller" isParam="true">org.jboss.jms.wireformat.JMSWireFormat</attribute>
| <attribute name="unmarshaller" isParam="true">org.jboss.jms.wireformat.JMSWireFormat</attribute>
| <attribute name="dataType" isParam="true">jms</attribute>
| <attribute name="socket.check_connection" isParam="true">false</attribute>
| <attribute name="timeout" isParam="true">0</attribute>
| <attribute name="serverBindAddress">${jboss.bind.address}</attribute>
| <attribute name="serverBindPort">4457</attribute>
| <attribute name="leasePeriod">10000</attribute>
| <attribute name="clientSocketClass" isParam="true">org.jboss.jms.client.remoting.ClientSocketWrapper</attribute>
| <attribute name="serverSocketClass" isParam="true">org.jboss.jms.server.remoting.ServerSocketWrapper</attribute>
| <attribute name="numberOfRetries" isParam="true">1</attribute>
| <attribute name="numberOfCallRetries" isParam="true">1</attribute>
| <attribute name="clientMaxPoolSize" isParam="true">50</attribute>
| <attribute name="secondaryBindPort">5445</attribute>
| </invoker>
| <handlers>
| <handler subsystem="JMS">org.jboss.jms.server.remoting.JMSServerInvocationHandler</handler>
| </handlers>
| </config>
| </attribute>
| </mbean>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093766#4093766
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4093766
18Â years, 8Â months
[Installation, Configuration & DEPLOYMENT] - Re: Problem with accessin Jboss by IP address, even with the
by pxx
Hi
When i try with -b 0.0.0.0 the las lines are:
ObjectName: jboss:service=DefaultPartition
State: FAILED
Reason: ChannelException: java.lang.Exception: exception caused by UDP.start(): java.net.SocketException: bad argument for IP_MULTICAST_IF: address not bound to any interface
I Depend On:
jboss:service=Naming
Depends On Me:
jboss:service=HASessionState
jboss:service=HAJNDI
jboss.cache:service=InvalidationBridge,type=JavaGroups
jboss.ha:service=HASingletonDeployer
jboss:service=FarmMember,partition=DefaultPartition
16:30:50,672 INFO [Server] JBoss (MX MicroKernel) [4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)] Started in 37s:127ms
But, when i try with the IP i get the line you said:
16:40:37,578 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-120.11.10.14-1000
16:40:37,725 INFO [ChannelSocket] JK: ajp13 listening on /120.11.10.14:8009
16:40:37,773 INFO [JkMain] Jk running ID=0 time=0/68 config=null
16:40:37,783 INFO [Server] JBoss (MX MicroKernel) [4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)] Started in 53s:116ms
In the two forms i can't access the JBoss.
I change the port 8080 to 1000 through server.xml and jboss-service.xml.
And i check too the firewall, the port 1000 is open.
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093763#4093763
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4093763
18Â years, 8Â months