[Design of JBoss jBPM] - Re: Potential enhancement to jbpm
by tom.baeyens@jboss.com
"kukeltje" wrote : anonymous wrote : the annotations are only a way to make it extensible.
| No, I disagree. I implemented (a long time ago) some code in jbpm (my local branch) that you could use to extend process files with your own tags, just in a different NAMESPACE (I know you hate those, but I hate attribute value solutions MUCH MORE ;-)). Remarks like: namespaces are difficult are rubbish. I could draw up some small examples that anybody could understand (even my manager did) but the decision is up to the you guys.... I'll concede with whatever comes out...
properties and namespaces don't exclude each other.
in fact, i don't have anything against namespaces. i just want that it is also possible without. since i don't have the time to work out the solution with and without namespaces, i opt to build the solutions without namespaces first.
if someone would contribute proper namespace handling (so that it still works without), that would be great. only if a decent test suite is worked out, this can be maintained.
for a start, i know that the dom parser that we have in pvm supports namespaces.
so go for it :-)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149938#4149938
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149938
17 years, 11 months
[Design of Messaging on JBoss (Messaging/JBoss)] - Re: A few problems running the examples on different machine
by timfox
I just did the following:
ant clean
ant distro
cd build/messaging-2.0.0.alpha1/docs/examples/jms/etc
vi jndi.properties
[changed ip address of server to 192.168.0.51 - my server]
cd ..
ant queueExample
and I get:
| queueExample:
| [java] javax.naming.CommunicationException [Root exception is java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
| [java] java.net.ConnectException: Connection refused]
| [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:782)
| [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:629)
| [java] at javax.naming.InitialContext.lookup(InitialContext.java:351)
| [java] at org.jboss.jms.example.QueueExample.main(QueueExample.java:47)
| [java] Caused by: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
| [java] java.net.ConnectException: Connection refused
| [java] at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:574)
| [java] at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
| [java] at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
| [java] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:94)
| [java] at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:179)
| [java] at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:132)
| [java] at $Proxy0.lookup(Unknown Source)
| [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:669)
| [java] ... 3 more
| [java] Caused by: java.net.ConnectException: Connection refused
| [java] at java.net.PlainSocketImpl.socketConnect(Native Method)
| [java] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
| [java] at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
| [java] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
| [java] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
| [java] at java.net.Socket.connect(Socket.java:520)
| [java] at java.net.Socket.connect(Socket.java:470)
| [java] at java.net.Socket.<init>(Socket.java:367)
| [java] at java.net.Socket.<init>(Socket.java:180)
| [java] at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
| [java] at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
| [java] at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEnd
|
Any ideas what I am doing wrong.
The core client test SimpleClient works ok as long as I manually change the hardcoded server address in the Location object
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149914#4149914
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149914
17 years, 11 months