[jboss-user] [jBPM Users] - Re: [JBPM 4.1] Best practice to restart a task after shutdow

2009-11-30 Thread kukeltje
tasks are never started automatically but always manual. If a task was in 
progress when the server was shut down, the transaction should be rolled back 
and the task should be available in the tasklist again.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268229#4268229

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268229
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Character set for mail templates?

2009-11-30 Thread kukeltje
I suggest to first make sure you set the right charset in your AS

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268228#4268228

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268228
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0 Users] - EJB 3.0 lookup from Pojo and Injection

2009-11-30 Thread MirekSz
Hello,
I have a question, I have

  | @Stateless
  | public class AccountServiceBean implements AccountService{
  | 
  | }
  | 
  | @Stateless
  | public class InvoiceServiceBean implements InvoiceService {
  | 
  | @EJB
  | AccountService accountService; 
  | 
  | public void doIt(){
  | SimplePojo simple = new SimplePojo();
  | simple.search();
  | 
  | }
  | 
  | }
  | 
  | public class SimplePojo{
  | 
  | 
  | public void search(){
  | 
  | Context context = new InitialContext();
  | AccountService accountService 
=(AccountService)context.lookup("AccountServiceBean /local");
  | }
  | 
  | }

Now my question I injectiong AccountService into InvoiceServiceBean , and 
invoke doIt inside it I create pojo and lookup for AccountService. If I can be 
sure that injected object AccountService will be the same lookup object??? I 
think that is the same reguest context

Best regards

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268226#4268226

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268226
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache Users] - Re: MVCC leading to deadlocks in synchronous replication mod

2009-11-30 Thread spennec
Looks like the JBoss people are back on the forum :)

Galder, could you take a look at this topic please? I'd love to hear your 
thoughts on it... 

Thanks!

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268224#4268224

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268224
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal Users] - Re: Theme and layout settings for Configure Dashboard

2009-11-30 Thread vijay2p
Please dig into 
\\jboss-portal-2.7.2\server\default\deploy\jboss-portal.sar\conf\data\default-object.xml
 file then you will be able to achieve the desired result.

Cheers,
Vijay

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268223#4268223

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268223
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal Users] - Re: Defualt page problem

2009-11-30 Thread vijay2p
Yes dropping database is one option but we can achieve it by setting the 
SayHello page as default then we can delete the page named as default.

Cheers,
Vijay


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268219#4268219

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268219
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging Users] - Got marshalling exception, exiting java.io.IOException: Conn

2009-11-30 Thread pa2_pupoch
Hi there, anyone knows why this error occurs. Below is an excerpt from the 
server log. Thanks

2009-11-24 02:50:49,503 ERROR 
[org.jboss.remoting.transport.socket.SocketClientInvoker] Got marshalling 
exception, exiting
java.io.IOException: Connection reset
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:96)
at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
at 
java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
at java.io.DataOutputStream.flush(DataOutputStream.java:106)
at org.jboss.jms.wireformat.ClientDelivery.write(ClientDelivery.java:93)
at org.jboss.jms.wireformat.JMSWireFormat.write(JMSWireFormat.java:237)
at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.versionedWrite(MicroSocketClientInvoker.java:971)
at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:606)
at 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker.transport(BisocketClientInvoker.java:422)
at 
org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
at org.jboss.remoting.Client.invoke(Client.java:1634)
at org.jboss.remoting.Client.invoke(Client.java:548)
at org.jboss.remoting.Client.invokeOneway(Client.java:598)
at 
org.jboss.remoting.callback.ServerInvokerCallbackHandler.handleCallback(ServerInvokerCallbackHandler.java:826)
at 
org.jboss.remoting.callback.ServerInvokerCallbackHandler.handleCallbackOneway(ServerInvokerCallbackHandler.java:697)
at 
org.jboss.jms.server.endpoint.ServerSessionEndpoint.performDelivery(ServerSessionEndpoint.java:1454)
at 
org.jboss.jms.server.endpoint.ServerSessionEndpoint.handleDelivery(ServerSessionEndpoint.java:1366)
at 
org.jboss.jms.server.endpoint.ServerConsumerEndpoint.handle(ServerConsumerEndpoint.java:327)
at 
org.jboss.messaging.core.impl.RoundRobinDistributor.handle(RoundRobinDistributor.java:119)
at 
org.jboss.messaging.core.impl.MessagingQueue$DistributorWrapper.handle(MessagingQueue.java:583)
at 
org.jboss.messaging.core.impl.ClusterRoundRobinDistributor.handle(ClusterRoundRobinDistributor.java:79)
at 
org.jboss.messaging.core.impl.ChannelSupport.deliverInternal(ChannelSupport.java:638)
at 
org.jboss.messaging.core.impl.MessagingQueue.deliverInternal(MessagingQueue.java:506)
at 
org.jboss.messaging.core.impl.ChannelSupport.handle(ChannelSupport.java:239)
at 
org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.routeInternal(MessagingPostOffice.java:2212)
at 
org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.route(MessagingPostOffice.java:499)
at 
org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendMessage(ServerConnectionEndpoint.java:763)
at 
org.jboss.jms.server.endpoint.ServerSessionEndpoint.send(ServerSessionEndpoint.java:399)
at 
org.jboss.jms.server.endpoint.advised.SessionAdvised.org$jboss$jms$server$endpoint$advised$SessionAdvised$send$aop(SessionAdvised.java:87)
at 
org.jboss.jms.server.endpoint.advised.SessionAdvised$send_7280680627620114891.invokeNext(SessionAdvised$send_7280680627620114891.java)
at 
org.jboss.jms.server.container.SecurityAspect.handleSend(SecurityAspect.java:157)
at sun.reflect.GeneratedMethodAccessor92.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:121)
at 
org.jboss.jms.server.endpoint.advised.SessionAdvised$send_7280680627620114891.invokeNext(SessionAdvised$send_7280680627620114891.java)
at 
org.jboss.jms.server.endpoint.advised.SessionAdvised.send(SessionAdvised.java)
at 
org.jboss.jms.wireformat.SessionSendRequest.serverInvoke(SessionSendRequest.java:95)
at 
org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:143)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:866)
at 
org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:101)
at org.jboss.remoting.Client.invoke(Client.java:1634)
at org.jboss.remoting.Client.invoke(Client.java:548)
at org.jboss.remoting.Client.invoke(Client.java:536)
at 
org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:189)
at 
org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:160)
at 
org.jboss.jms.client.delegate.ClientSessionDelegate.org$jboss$jms$client$delegate$ClientSessionDelegate$send$aop(ClientSessionDelegate.java:499)
at 
org.jboss.jms.client.delegate.ClientSessionDel

[jboss-user] [jBPM Users] - Re: Problem with timer

2009-11-30 Thread sridhar18
It could be that the jbpm timer clean up code is not synchronized where parts 
of jbpm are still hanging on to the completed timers.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268198#4268198

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268198
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Problem with timer

2009-11-30 Thread sridhar18
Are you running your jbpm in a clustered jboss environment?
This happens to me too. I get such exceptions on timers sometimes. I have a few 
timers in my jpdl. I think it happens when the activity the timer is on 
transitions to a different activity. For some reason, the other node in the 
cluster complains about the row not found for the timer. Although, the timers 
seem to do their job in my case. I'm also trying to find the root cause of this 
issue...

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268197#4268197

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268197
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginner's Corner] - Re: JBoss (Apr) jboss-native :: linux

2009-11-30 Thread rbrtfreund
First. PeterJ - I can't tell you how much I appreciate you getting me headed in 
the right direction! Four days trying to get this setup... frustrated at best! 

Anyway, I finally got what I was looking for with your help ... the output:

server.log

  | 2009-11-30 22:02:58,133 DEBUG 
[org.apache.catalina.core.AprLifecycleListener] Loaded Apache Tomcat Native 
library 1.1.18.
  | 2009-11-30 22:02:58,133 INFO  
[org.apache.catalina.core.AprLifecycleListener] APR capabilities: IPv6 [true], 
sendfile [true], accept filters [false], random [true].
  | 

So to hopefully help out the next guy in my situation let me recap what I 
discovered... 

Getting jboss-native(APR) setup in a linux environment.

1.) My Environment

Some people use a hosting provider who allows you to install JBoss. There are 
many out there who provide JBoss hosting and like myself I use one of these 
companies. Now... usually to install JBoss you click a button or follow a set 
of steps to get your JBoss version installed. My particular steps are to click 
a button and have JBoss installed. So I do that. Now... what happens? JBoss is 
installed, you can drop war's , ear's deploy etc... Fine for most. It removes 
you from having to know how it is set up (nuts + bolts) of your environment / 
hosting solution. What also is usually the case of these is that they run your 
JBoss through a wrapper and as a service. Probably some variation of 
http://wrapper.tanukisoftware.org/doc/english/download.jsp. (I say all this 
because I think my setup is like a lot who try to setup APR and have issues). 
Now when debugging why it doesn't work you have extra things (you may consider) 
when trying to find out why (and i'm no linux expert). So my !
 environment by running (to keep this complete)

  | uname -a
  | Linux [yourdomain].com 2.6.18-028stab064.7 #1 SMP Wed Aug 26 13:11:07 MSD 
2009 i686 i686 i386 GNU/Linux
  | 
Also note... It's a CentOS5 setup with jboss (version 4.2.3) running as a 
service existing at /opt/jboss4/ 

2.) Installing jboss-native (APR) support

So, back to our installing... Per Forums, Docs, Instructions etc... you get 
directed to 
http://www.jboss.org/jbossweb/downloads/jboss-native/?action=a&windowstate=maximized
 to download a jboss-native package for your specific OS / platform. I download 
the jboss-native binaries - linux2 x86 package. After extraction you will get a 
directory tree like the following
jboss-native-2.0.8-linux2-x86-ssl
> bin
>native
  >engines
>libarp-1.so 
  (etc...)
> licenses

jboss-native... or in this case bin/native needs to be placed in 
${jboss.home}/bin. So following all the instructions, forums again I do this 
and it doesn't work. So now what?

3.) Here's what I did... (not sure really what it did but it works).

I placed the native directory in jboss/bin/ like told by forums and 
instructions. 

Then I ran ldd native/libtcnative-1.so.

  | ldd: warning: you do not have execution permission for 
`native/libtcnative-1.so'
  | libssl.so.0.9.8 => not found
  | libcrypto.so.0.9.8 => not found
  | libapr-1.so.0 => /usr/lib/libapr-1.so.0 (0xb7eee000)
  | libuuid.so.1 => /lib/libuuid.so.1 (0xb7eea000)
  | librt.so.1 => /lib/librt.so.1 (0xb7ee1000)
  | libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7eb2000)
  | libpthread.so.0 => /lib/libpthread.so.0 (0xb7e9b000)
  | libdl.so.2 => /lib/libdl.so.2 (0xb7e97000)
  | libc.so.6 => /lib/libc.so.6 (0xb7d57000)
  | /lib/ld-linux.so.2 (0xb7f3c000)
  | 
This pointed me in the direction that libssl.so.0.9.8 and libcrypto.so.0.9.8 
were not found. Not sure why? Anyway. So I followed the convention of the .so's 
that were found and placed libssl.so.0.9.8 and libcrypto.so.0.9.8 in the 
/usr/lib directory. Then I ran again the ldd native/libtcnative-1.so

  | ldd: warning: you do not have execution permission for 
`native/libtcnative-1.so'
  | libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0xb7eb7000)
  | libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0xb7dbb000)
  | libapr-1.so.0 => /usr/lib/libapr-1.so.0 (0xb7d93000)
  | libuuid.so.1 => /lib/libuuid.so.1 (0xb7d8f000)
  | librt.so.1 => /lib/librt.so.1 (0xb7d86000)
  | libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7d58000)
  | libpthread.so.0 => /lib/libpthread.so.0 (0xb7d4)
  | libdl.so.2 => /lib/libdl.so.2 (0xb7d3c000)
  | libc.so.6 => /lib/libc.so.6 (0xb7bfc000)
  | /lib/ld-linux.so.2 (0xb7f14000)
  | 
As you can see now the two files were found. So thinking all is good I restart 
jboss4 and look at the output hoping to see  

  | 2009-11-30 22:02:58,133 DEBUG 
[org.apache.catalina.core.AprLifecycleListener] Loaded Apache Tomcat Native 
library 1.1.18.
  | 
and I didn't see it I still got... 

  | 2009-11-30 22:54:55,371 DEBUG 
[org.apache.catalina.core.AprLifecycleListener] The Apache Tomcat Native 
library which a

[jboss-user] [jBPM Users] - [JBPM 4.1] Best practice to restart a task after shutdown /

2009-11-30 Thread funkymac
When jBPM is shutdown while a task is being processed and then restarted, the 
task that was in-process does not automatically get restarted again.  What is 
the best-practice for restarting the task upon restart? (code sample would be 
great if you have it)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268189#4268189

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268189
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Character set for mail templates?

2009-11-30 Thread markroy
jBPM 4.2 / JBoss / Windows XP

I've got a string-type process variable that contains a unicode \u2019 (a right 
single quote aka apostrophe). I use that process variable in my mail template's 
'text' and 'html' elements.

When the mail arrives, the unicode character has been replaced with a '?' 
indicating that the character could not be mapped to the current character set, 
which apparently is Windows-1252.

Is there a way to specify the character set? Other way to correct this problem?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268188#4268188

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268188
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Web Services Users] - Re: Newbie: Empty ArrayList Passed on WS Call

2009-11-30 Thread gwzoller
Ok...  I have 1/2 an answer.  By playing with the annotations (brute force 
really) I can now get my list going over the wire, but... I lost my WSDL.

New Interface:
@WebService
  | public interface OrderTakerRemote {
  | public String msg(ArrayList say);
  | }
  | 

New Impl:
@Remote(OrderTakerRemote.class)
  | @WebService(endpointInterface="com.kepler.ecom.services.OrderTakerRemote")
  | @SOAPBinding(style = SOAPBinding.Style.RPC)
  | @Stateless 
  | public class OrderTaker implements OrderTakerRemote {
  | 
  | // Default constructor. 
  | public OrderTaker() {
  | }
  | 
  | @WebMethod
  | public String msg(ArrayList say) {
  | // same as before
  | }
  | }

I'd rather annotate the interface, not the implementation but to get it working 
it's a minor quibble.

My larger problem is the WSDL.  If I specify a simple @WebService (no endpoint 
parameter) in the impl then my WSDL looks something like this:
http://ecom.kepler..com/";>
  | -
  | 
  | -
  | http://ecom.kepler.com/"; version="1.0">
  | 
  | 
  | -
  | 
  | -
  | 
  | 
  | 
  | 
  | -
  | 
  | -
  | 
  | 
  | 
  | 
  | 
  | 
  | -
  | 
  | 
  | 
  | -
  | 
  | 
  | 
  | -
  | 
  | -
  | 
  | 
  | 
  | 
  | 
  | -
  | 
  | http://schemas.xmlsoap.org/soap/http"/>
  | -
  | 
  | 
  | -
  | 
  | 
  | 
  | -
  | 
  | 
  | 
  | 
  | -
  | 
  | 
  | -
  | 
  | 
  | 
  | -
  | 
  | 
  | 
  | 
  | 
  | -
  | 
  | -
  | 
  | http://127.0.0.1:8080/keplerEAR-kepler/OrderTaker"/>
  | 
  | 
  | 

As shown in this code (with the endpoint parameter) my WSDL looks like this:
http://ecom.kepler.com/";>
  | http://127.0.0.1:8080/keplerEAR-kepler/OrderTaker?wsdl&resource=OrderTakerRemote_PortType8465038229007643058.wsdl";
 namespace="http://services.ecom.kepler.aviall.com/"/>
  | -
  | 
  | -
  | 
  | http://127.0.0.1:8080/keplerEAR-kepler/OrderTaker"/>
  | 
  | 
  | 

Somehow my Java client was fine with the abbreviated WSDL but I'm worried a 
non-Java client may need all the detail in the longer version.  The annotation 
combo that gives me the longer (more complete?) WSDL doesn't let me pass my 
list.  The short WSDL passes my list.

Any ideas what's going on?  What happened to all the stuff that defined the 
method calls and the parameter types?

Any ideas appreciated!  Confused newbie.  
Greg

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268184#4268184

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268184
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginner's Corner] - Re: JBoss (Apr) jboss-native :: linux

2009-11-30 Thread PeterJ
The problem is that the sh script overwrites the library path, rather than 
appending to it. The first thing you should try is to modify the sh scrip to 
fix that - then the global .so file should be in the path again and will get 
picked up.

You can use the ldd command to determine which shared object an app depends on.

Also, search the forums for "linux native apr" - you'll get several hits many 
of which provide additional insight.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268178#4268178

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268178
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginner's Corner] - Re: JBoss (Apr) jboss-native :: linux

2009-11-30 Thread rbrtfreund
Thanks for the help! Still in the same situation. It doesn't seem to pick it up 
no matter how I try it. 

  | The Apache Tomcat Native library which allows optimal performance in 
production environments was not found on the java.library.path: /opt/jboss4/lib 
  | 

How can I check or set where it looks for libraries to load. It's obvious from 
all the forums/ blogs/ irc / etc... that something isn't being loaded. Didn't 
have this problem on win only on linux. Is there some way to debug what's going 
on with this better? I already enabled the apache debug which provides me this


  | Caused by: java.lang.UnsatisfiedLinkError: no tcnative-1 in 
java.library.path, no libtcnative-1 in java.library.path(/opt/jboss4/lib)
  | at org.apache.tomcat.jni.Library.(Library.java:56)
  | at org.apache.tomcat.jni.Library.initialize(Library.java:157)
  | ... 116 more
  | 

but still in the same spot. Any more ideas on where(what) to check?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268174#4268174

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268174
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Problem with timer

2009-11-30 Thread jbfromthepflaumblock
=== Environment ==
- jBPM Version : 4.2
- Database : HSQLDB
- JDK : 1.6
- Container : java version "1.6.0_15"
   Java(TM) SE Runtime Environment (build 1.6.0_15-b03)
   Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02, mixed mode)

=== Process ==


  | http://jbpm.org/4.2/jpdl";>
  |
  |   
  |
  | 
  |
  |   
  |
  |
  |
  |   
  | 
  |   
  |   
  |
  |
  |
  |   
  | 
  |   
  |
  |
  |
  | 
  | 

=== Debug logs &Stacktrace ==
2009-11-30 18:47:43,652 DEBUG 
[org.jbpm.pvm.internal.model.ProcessDefinitionImpl] (http-127.0.0.1-8080-3) 
creating new execution for process 'loop'
2009-11-30 18:47:43,653 DEBUG [org.jbpm.pvm.internal.id.DatabaseIdComposer] 
(http-127.0.0.1-8080-3) generated execution id loop.20067
2009-11-30 18:47:43,654 DEBUG [org.jbpm.pvm.internal.model.op.ExecuteActivity] 
(http-127.0.0.1-8080-3) executing activity(start1)
2009-11-30 18:47:43,654 DEBUG [org.jbpm.pvm.internal.model.op.ExecuteActivity] 
(http-127.0.0.1-8080-3) executing activity(check status)
2009-11-30 18:47:43,655 DEBUG [org.jbpm.pvm.internal.model.ScopeInstanceImpl] 
(http-127.0.0.1-8080-3) create variable 'randomResult' in 
'execution[loop.20067]' with value '1116249621'
2009-11-30 18:47:43,657 DEBUG [org.jbpm.pvm.internal.model.op.ExecuteActivity] 
(http-127.0.0.1-8080-3) executing activity(exclusive1)
2009-11-30 18:47:43,678 DEBUG [org.jbpm.pvm.internal.id.DatabaseIdComposer] 
(http-127.0.0.1-8080-3) generated execution id loop.20067.wait
2009-11-30 18:47:43,678 DEBUG [org.jbpm.pvm.internal.model.ExecutionImpl] 
(http-127.0.0.1-8080-3) created execution[loop.20067.wait]
2009-11-30 18:47:43,678 DEBUG [org.jbpm.pvm.internal.model.ScopeInstanceImpl] 
(http-127.0.0.1-8080-3) creating timer on execution[loop.20067.wait]
2009-11-30 18:47:43,709 DEBUG [org.jbpm.pvm.internal.session.TimerSession] 
(http-127.0.0.1-8080-3) scheduling timer[20072|2009-11-30 18:47:58,679|try 
again]
2009-11-30 18:47:43,711 DEBUG [org.jbpm.pvm.internal.model.op.ExecuteActivity] 
(http-127.0.0.1-8080-3) execution[loop.20067.wait] executes activity(wait)
2009-11-30 18:47:58,689 DEBUG 
[org.jbpm.pvm.internal.jobexecutor.DispatcherThread] (DispatcherThread) 
submitting jobs [20072]
2009-11-30 18:47:58,700 DEBUG 
[org.jbpm.pvm.internal.jobexecutor.DispatcherThread] (DispatcherThread) added 
jobs [20072] to the queue
2009-11-30 18:47:58,712 DEBUG [org.jbpm.pvm.internal.cmd.ExecuteJobCmd] 
(pool-9-thread-1) executing job timer[20072|2009-11-30 18:47:58,679|try 
again]...
2009-11-30 18:47:58,713 DEBUG [org.jbpm.pvm.internal.job.TimerImpl] 
(pool-9-thread-1) executing timer[20072|2009-11-30 18:47:58,679|try again]
2009-11-30 18:47:58,717 DEBUG [org.jbpm.pvm.internal.job.TimerImpl] 
(pool-9-thread-1) feeding timer signal try again into execution[loop.20067.wait]
2009-11-30 18:47:58,725 DEBUG [org.jbpm.pvm.internal.model.op.Signal] 
(pool-9-thread-1) execution[loop.20067.wait] signals activity(wait)
2009-11-30 18:47:58,731 DEBUG [org.jbpm.pvm.internal.model.ExecutionImpl] 
(pool-9-thread-1) destroying timers of execution[loop.20067.wait]
2009-11-30 18:47:58,737 DEBUG [org.jbpm.pvm.internal.model.ExecutionImpl] 
(pool-9-thread-1) execution[loop.20067.wait] ends
2009-11-30 18:47:58,742 DEBUG [org.jbpm.pvm.internal.model.op.ExecuteActivity] 
(pool-9-thread-1) executing activity(check status)
2009-11-30 18:47:58,742 DEBUG [org.jbpm.pvm.internal.model.ScopeInstanceImpl] 
(pool-9-thread-1) updating variable 'randomResult' in 'execution[loop.20067]' 
to value '751427787'
2009-11-30 18:47:58,743 DEBUG [org.jbpm.pvm.internal.model.op.ExecuteActivity] 
(pool-9-thread-1) executing activity(exclusive1)
2009-11-30 18:47:58,748 DEBUG [org.jbpm.pvm.internal.id.DatabaseIdComposer] 
(pool-9-thread-1) generated execution id loop.20067.wait
2009-11-30 18:47:58,749 DEBUG [org.jbpm.pvm.internal.model.ExecutionImpl] 
(pool-9-thread-1) created execution[loop.20067.wait]
2009-11-30 18:47:58,749 DEBUG [org.jbpm.pvm.internal.model.ScopeInstanceImpl] 
(pool-9-thread-1) creating timer on execution[loop.20067.wait]
2009-11-30 18:47:58,749 DEBUG [org.jbpm.pvm.internal.session.TimerSession] 
(pool-9-thread-1) scheduling timer[20078|2009-11-30 18:48:13,749|try again]
2009-11-30 18:47:58,755 DEBUG [org.jbpm.pvm.internal.model.op.ExecuteActivity] 
(pool-9-thread-1) execution[loop.20067.wait] executes activity(wait)
2009-11-30 18:47:58,756 DEBUG [org.jbpm.pvm.internal.job.TimerImpl] 
(pool-9-thread-1) deleting timer[20072|2009-11-30 18:47:58,679|try again]
2009-11-30 18:47:58,756 DEBUG [org.jbpm.pvm.internal.cmd.ExecuteJobCmd] 
(pool-9-thread-1) executed job timer[20072|2009-11-30 18:47:58,679|try again]
2009-11-30 18:47:58,766 WARN  [org.hibernate.util.JDBCExceptionReporter] 
(pool-9-thread-1) SQL Error: -104, SQLState: 23000
2009-11-30 18:47:58,766 ERROR [org.hibernate.util.JDBCExceptionReporter] 
(pool-9-th

[jboss-user] [JBoss Tools Users] - Gatein

2009-11-30 Thread sviluppatorefico
is there support for Gatein in JBoss Tools?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268156#4268156

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268156
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Web Services Users] - Newbie: Empty ArrayList Passed on WS Call

2009-11-30 Thread gwzoller
Hello,

I'm having some difficulty getting a list of things passed successfully as a 
web service parameter.  A no-param, or simple (non-list) param works fine.  My 
web service is an EJB stateless session bean...code below.

The Interface:

  | @Remote
  | @WebService
  | @SOAPBinding(style = SOAPBinding.Style.RPC)
  | public interface OrderTakerRemote {
  | @WebMethod
  | public String msg(ArrayList say);
  | }

The Implementation:

  | @WebService(endpointInterface="com.kepler.ecom.services.OrderTakerRemote")
  | @Stateless 
  | public class OrderTaker implements OrderTakerRemote {
  | 
  | // Default constructor. 
  | public OrderTaker() {
  | }
  | 
  | public String msg(ArrayList say) {
  | StringBuffer sb = new StringBuffer();
  | System.out.println(say.size());  // verify non-emtpy list
  | if( say != null ) {
  | sb.append("Hey you says ");
  | for(String one : say ) {
  | sb.append("\""+one+"\" ");
  | }
  | }
  | return sb.toString();
  | }
  | }

The Client:

  | private void wsPlaceOrder() {
  | String endpointURI 
="http://127.0.0.1:8080/keplerEAR-kepler/OrderTaker?wsdl";;
  | try
  | {
  | ArrayList stuff = new ArrayList();
  | stuff.add("One");
  | stuff.add("Two");
  | stuff.add("Three");
  | this.wsOrderResult = (String) 
getPort(endpointURI).msg(stuff);
  | } catch (MalformedURLException e) {
  | e.printStackTrace();
  | throw new RuntimeException(e);
  | }
  | }

The ArrayList is clearly created and populated in the client.  The call is 
made...no errors on the console..and I do get a result string back, but its 
just the little header "Hey you says"...not the rest of it.  The console output 
from the implementation showing the received list size prints 0.

Any ideas why my list isn't going over the wire?

Thanks!
Greg

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268142#4268142

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268142
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JMX] - How to add listeners for notifications

2009-11-30 Thread menegazzo
Hello,

I'm trying to create a notification listener, is there any reference about 
notification types and how to structure the XML file?

I found this:
http://www.jboss.org/community/wiki/ExampleMinimalNotificationListener

But i would like to know where to find a complete reference, or at least 
another examples.


  | 
  | 
  | 
  | starts scheduler
  | 
br.com.framework.scheduler.SchedulerService
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | Start service
  | start
  | 
  | 
  | Stop service
  | stop
  | 
  | 
  | 
  | 
  | 

The code above does not work, it says my xml is malformed (Field value invalid: 
name=null), but i cant see where it is this error.

Thanks in advance

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268137#4268137

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268137
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Microcontainer Users] - Re: Running a deployer on resource in classpath

2009-11-30 Thread alesj
That should be simple - extend AbstractSimpleVFSRealDeployer.
And use its VFSDeploymentUnit to find the resource you're looking for.
If it exists, do whatever ...

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268136#4268136

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268136
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: jBPM-4.2 Remote API problem?

2009-11-30 Thread markroy
My jbpm.cfg.xml under JBoss is:


  | 
  | 
  | 
  | 
  |   
  |   
  |   
  |   
  |   
  |   
  |   
  | 
  | 
  | 

which imports jbpm.default.cfg.xml, but I explictly added 


  |   
  |   
  |   
  | 

I see this in server.log


  | DEBUG [org.jbpm.jboss.internal.JbpmService] (main) JbpmService starting...
  | DEBUG [org.jbpm.pvm.internal.cfg.ProcessEngineImpl] (main) jndi name 
java:/ProcessEngine is not bound
  | DEBUG [org.jbpm.pvm.internal.wire.WireContext] (main) eagerly initializing 
org.jbpm.pvm.internal.id.DatabaseIdComposer
  | DEBUG [org.jbpm.pvm.internal.wire.WireContext] (main) eagerly initializing 
org.jbpm.pvm.internal.jobexecutor.JobExecutor
  | DEBUG [org.jbpm.pvm.internal.cfg.ProcessEngineImpl] (main) publishing jBPM 
ProcessEngine in jndi at java:/ProcessEngine
  | 

so, that seems to be loaded, but I still get the same problem.

It doesn't make sense to me that the database should be checked (checkDb()) 
locally (at the 'client side'), but I added DatabaseIdComposer to that 
jbpm.cfg.xml anyway. Same problem. The client side of the remote API doesn't 
necessarily have a connection to the database. Shouldn't checkDb() be executed 
at the remote (JBoss) end?




  


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268131#4268131

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268131
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Re: ServiceBindingManager in Jboss5

2009-11-30 Thread garydong
Hi Venuwin;

Have you found the solution for this problem? If so, could you post your 
solution?
Thank you.

Gary

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268130#4268130

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268130
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Microcontainer Users] - Running a deployer on resource in classpath

2009-11-30 Thread rareddy
Hi,

Do you have any suggestion on running a deployer on resource currently exists 
inside a JAR file?  I guess I am looking for a way to explicitly invoke a 
deployer on a given resource identified by a URL rather than from the scanning 
the disk.

Thank you.

Ramesh..

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268129#4268129

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268129
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JMX] - Re: Question about queues / topics and MBeans

2009-11-30 Thread menegazzo
Hello, please check this:
http://docs.jboss.org/jbossas/getting_started/v4/html/mdb.html

Other useful links:
Do you need an assynchronous message system?
http://jboss.org/hornetq
Or a simple solution like a scheduler?
http://www.quartz-scheduler.org/docs/index.html


anonymous wrote : 
  | And what do MBeans have to do with this?
  | 
>From the 1st link above:
anonymous wrote : 
  | As with most things in JBoss, JMS Topics and Queues are implemented using 
MBeans. There are two ways you can create them: you can add MBean declarations 
to the appropriate configuration file, or you can create them dynamically using 
the JMX Console. However, if you use the latter method, they wont survive a 
server restart.
  | 

anonymous wrote : 
  | What are those custom programmed MBeans good for?
  | 
I'm new to all this stuff too, but i think JMX MBeans were designed to provide 
interfaces for management through administration consoles and other stuff.

anonymous wrote : 
  | The JMX technology provides the tools for building distributed, Web-based, 
modular and dynamic solutions for managing and monitoring devices, 
applications, and service-driven networks. By design, this standard is suitable 
for adapting legacy systems, implementing new management and monitoring 
solutions, and plugging into those of the future.
  | http://java.sun.com/javase/technologies/core/mntr-mgmt/javamanagement/
  | 

hope it helps


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268128#4268128

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268128
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginner's Corner] - Re: JBoss (Apr) jboss-native :: linux

2009-11-30 Thread PeterJ
See if this discussion helps: 
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=147583

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268126#4268126

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268126
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging Users] - Re: Perormance Testing with JBoss MQ

2009-11-30 Thread timfox
You're in the wrong forum.

JBoss MQ is a completely different messaging system to JBoss Messaging.

You should post in the JBoss MQ user forum instead.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268122#4268122

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268122
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging Users] - Perormance Testing with JBoss MQ

2009-11-30 Thread eskomjboss
We are currently doing performance tesing on a SOA/BPEL/JavaCAPS system that 
sends SOAP messages to a JBossMQ queue. The BPEL and IEP performance is very 
good, but when it comes to putting messages onto the queue, the JBoss 
performance is quite spiky on the graph,  oscillating between good and bad. The 
queue is an old version I think (1.4?)  but that is not under our control. 
What could cause this  - could there be a 'housekeeping' process that kicks in 
regularly? 

Apologies if the JBoss Messaging forum is not the most appropriate one,  but I 
would appreciate any help. 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268120#4268120

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268120
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: How to suspend Join Execution

2009-11-30 Thread Alkero
Hello pradeep.gulla,

Can you give us more details ? A good start to report problems is to read the 
following thread:
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=158610

And to post the maximum of the requested points.

Regard,
David

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268118#4268118

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268118
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - jBPM Customization with EMF and DSL

2009-11-30 Thread xspyro
Hi,

I'm wondering how easy would it be to replace processdefinition.xml with some 
custom DSL.

What I would like to do is to benefit from all nice features jBPM provides but 
instead of using xml as process definition use DSL (Domain Specific Language) 
to instrument PVM. I know that PVM is exactly about that (or maybe not) but the 
picture is kind of blurred when it comes to highlighting differences between 
PVM and jPDL.

Next interesting question would be: How easy or difficult would be to replace 
storage, from RDBMS based to key-value store for example? I've been going 
through source code back in version 3 and it didn't looked that simple. Is 
there any kind of abstraction in place which would enable simple storage 
replacement?

Regards,
Jakub

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268117#4268117

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268117
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Extending jBPM 4 history service

2009-11-30 Thread Alkero
Hello Martin,

What was the results of your investigation about extending the history service ?


Regards,
David

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268106#4268106

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268106
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools Users] - Does anyone know how to add beans to Bean Repository via Smo

2009-11-30 Thread bbuzzard
If you want to add a bean to the Bean Context in Smooks it's pretty easy, just 
get an instance of the BeanRepository and add the bean to the context.  
However, it's unclear to me how to add beans via the Smooks XML editor.  I 
don't even know if it's possible or if I have to create some custom 
SmooksAction where I add beans to the BeanContext.

I think the best solution would be to use the Smooks XML Editor, but if I have 
to create a custom SmooksAction then I'm ok with that too.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268105#4268105

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268105
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0 Users] - Logging an EJB jar deployed under JBoss

2009-11-30 Thread ptitjeojeo
Hello,

I would like to log operations of my ejb jar deployed under JBoss 4.2.3.
The classic FileAppender doesn't work and log are written into server.log of 
JBoss log folder.

I managed to use FileAppender with org.jboss.logging.filter.TCLFilter in the 
jboss-log4j.xml. This works but I would like to have the log configuration in 
my application. Every applications (in my company) have a log4j embedded and 
loaded by Maven when packaging depending on the chosen profile. Is there a way 
to use org.jboss.logging.filter.TCLFilter directly in my EJB application ?

If not, do you know an other way to log in a file with an ejb packaged as jar ?

Thank a lot for your help.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268101#4268101

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268101
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


Re: [jboss-user] Connecting to Tomcat failed - JBoss Cluster with Apache mod_

2009-11-30 Thread samk
See Thread at: http://www.techienuggets.com/Detail?tx=70276 Posted on behalf of 
a User

Hi,
I have a similar problem. Did you come up with a good solution?
Thx.

In Response To: 

Hi all,
Our architecture consists of 2 JBoss 4.0.2.GA servers on Red Hat AS 4 UP7 and 
one Apache 2.0.52 node with mod_jk-ap20-1.2.19-1jpp_1rh on a Red Hat AS4 UP4.

We ran into this issue several month ago and we cannot find a solution yet - 
from the mod_jk.log:

[Mon Jan 19 14:10:58 2009] [11956:59072] [error] ajp_get_reply::jk_ajp_common.c 
(1536): (fe01) Tomcat is down or refused connection. No response has been sent 
to the client (yet)
[Mon Jan 19 14:11:00 2009] [11517:59072] [error] ajp_get_reply::jk_ajp_common.c 
(1536): (rllas02) Tomcat is down or refused connection. No response has been 
sent to the client (yet)
[Mon Jan 19 14:11:04 2009] [11654:59072] [error] ajp_get_reply::jk_ajp_common.c 
(1536): (rllas02) Tomcat is down or refused connection. No response has been 
sent to the client (yet)
[Mon Jan 19 14:11:08 2009] [11515:59072] [error] ajp_get_reply::jk_ajp_common.c 
(1536): (rllas02) Tomcat is down or refused connection. No response has been 
sent to the client (yet)
[Mon Jan 19 14:11:10 2009] [11915:59072] [error] 
ajp_connection_tcp_get_message::jk_ajp_common.c (947): (fe01) can't receive the 
response message from tomcat, network problems or tomcat is down (10.2.70.55:8
009), err=-104
[Mon Jan 19 14:11:10 2009] [11915:59072] [error] ajp_get_reply::jk_ajp_common.c 
(1536): (fe01) Tomcat is down or refused connection. No response has been sent 
to the client (yet)
[Mon Jan 19 14:11:12 2009] [11605:59072] [error] ajp_get_reply::jk_ajp_common.c 
(1536): (rllas02) Tomcat is down or refused connection. No response has been 
sent to the client (yet)
[Mon Jan 19 14:11:15 2009] [11938:59072] [error] 
ajp_connection_tcp_get_message::jk_ajp_common.c (947): (fe01) can't receive the 
response message from tomcat, network problems or tomcat is down (10.2.70.55:8
009), err=-104
[Mon Jan 19 14:11:15 2009] [11938:59072] [error] ajp_get_reply::jk_ajp_common.c 
(1536): (fe01) Tomcat is down or refused connection. No response has been sent 
to the client (yet)
[Mon Jan 19 14:11:21 2009] [11787:59072] [error] 
ajp_connection_tcp_get_message::jk_ajp_common.c (947): (fe01) can't receive the 
response message from tomcat, network problems or tomcat is down (10.2.70.55:8
009), err=-104
[Mon Jan 19 14:11:21 2009] [11787:59072] [error] ajp_get_reply::jk_ajp_common.c 
(1536): (fe01) Tomcat is down or refused connection. No response has been sent 
to the client (yet)
[Mon Jan 19 14:11:24 2009] [11902:59072] [error] 
ajp_connection_tcp_get_message::jk_ajp_common.c (947): (fe01) can't receive the 
response message from tomcat, network problems or tomcat is down (10.2.70.55:8
009), err=-104
[Mon Jan 19 14:11:24 2009] [11902:59072] [error] ajp_get_reply::jk_ajp_common.c 
(1536): (fe01) Tomcat is down or refused connection. No response has been sent 
to the client (yet)
[Mon Jan 19 14:11:25 2009] [11844:59072] [error] 
ajp_connection_tcp_get_message::jk_ajp_common.c (947): (fe01) can't receive the 
response message from tomcat, network problems or tomcat is down (10.2.70.55:8
009), err=-104
[Mon Jan 19 14:11:25 2009] [11844:59072] [error] ajp_get_reply::jk_ajp_common.c 
(1536): (fe01) Tomcat is down or refused connection. No response has been sent 
to the client (yet)
[Mon Jan 19 14:11:33 2009] [11608:59072] [error] ajp_get_reply::jk_ajp_common.c 
(1536): (rllas02) Tomcat is down or refused connection. No response has been 
sent to the client (yet)
[Mon Jan 19 14:11:37 2009] [11808:59072] [error] 
ajp_connection_tcp_get_message::jk_ajp_common.c (947): (fe01) can't receive the 
response message from tomcat, network problems or tomcat is down (10.2.70.55:8
009), err=-104
[Mon Jan 19 14:11:37 2009] [11808:59072] [error] ajp_get_reply::jk_ajp_common.c 
(1536): (fe01) Tomcat is down or refused connection. No response has been sent 
to the client (yet)
[Mon Jan 19 14:11:41 2009] [11637:59072] [error] ajp_get_reply::jk_ajp_common.c 
(1536): (rllas02) Tomcat is down or refused connection. No response has been 
sent to the client (yet)
[Mon Jan 19 14:11:44 2009] [12009:59072] [error] 
ajp_connection_tcp_get_message::jk_ajp_common.c (947): (fe01) can't receive the 
response message from tomcat, network problems or tomcat is down (10.2.70.55:8
009), err=-104
[Mon Jan 19 14:11:44 2009] [12009:59072] [error] ajp_get_reply::jk_ajp_common.c 
(1536): (fe01) Tomcat is down or refused connection. No response has been sent 
to the client (yet)
[Mon Jan 19 14:11:45 2009] [11533:59072] [error] ajp_get_reply::jk_ajp_common.c 
(1536): (rllas02) Tomcat is down or refused connection. No response has been 
sent to the client (yet)
[Mon Jan 19 14:11:47 2009] [11834:59072] [error] 
ajp_connection_tcp_get_message::jk_ajp_common.c (947): (fe01) can't receive the 
response message from tomcat, network problems or tomcat is down (10.2.70.55:8
009), err=-104
[Mon Jan 19 14:1

Re: [jboss-user] Hibernate proxy class problem

2009-11-30 Thread samk
See Thread at: http://www.techienuggets.com/Detail?tx=15288 Posted on behalf of 
a User

Hi,

did you resolve your issue?
I have the same problem and am searching for a solution to solve it?

Best Regards,
Sascha

In Response To: 

Hi,

I'm having the following odd situation:

  | @Entity 
  | @Inheritance(strategy = InheritanceType.JOINED)
  | public abstract class Customer { @Id private int id; }
  | 
  | @Entity 
  | public class SomeCustomer extends Customer { private String name; }
  | 

I'm using Entity Manager to retrieve entities by their primary key:

  | entityManager.find(Customer.class, 5);
  | 

The primary key 5 belongs to a SomeCustomer entity. It's in the id field of 
both Customer and SomeCustomer tables (due to join inheritance). However, the 
query returns an object that has the type Customer_$$_javassist_16 that cannot 
be cast to SomeCustomer (ClassCastException).
However, if I execute the following query:

  | entityManager.find(SomeCustomer.class, 5);
  | 

I will see a warning in my logfile: ProxyWarnLog: Narrowing proxy to class 
SomeCustomer - this operation breaks ==
Subsequent call to the first find() query will now also return the right object 
of the right type.

Does anybody know what's going on here or how I can manually narrow down my 
proxy object to what I want to have if it fails?

Thanks a lot,
Georges


___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache Users] - Re: Undeterministic error:

2009-11-30 Thread vnmbatista
Hi Manik and Kabir,
Thank you very much for your reply.
I have only one occurrence of the Game class on JBoss
I will try compile time weaving. Although this is not an option for us in 
production, because once you compile with a specific version of JBossAOP, you 
need that version in runtime (according to other tests I have made some months 
ago on a different project).

Meanwhile, do you have any other hint for this issue?

Thanks in advance.
Best regards,
Victor Batista



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268094#4268094

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268094
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginner's Corner] - Re: Configuration Problem

2009-11-30 Thread Wolfgang Knauf
Hi,

the XML validator became more strict in JBoss 5. Especially element order is 
checked now.

So, your working config actually has xml errors. It works in older JBoss 
versions, because they didn't check those errors. Going back to an older JBoss 
version is not the right approach to deal with this problem ;-).

Best regards

Wolfgang

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268082#4268082

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268082
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


Re: [jboss-user] FileSystem ExternalContext - JNDI on jboss5.1.0

2009-11-30 Thread Stephen Davidson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Maciej.

This mailing list does not seem to be monitored by anyone from the JBoss
group, nor is it posted to the Forums anymore.  You would be best to try
the Forums on this question (not sure which one off-hand, though, sorry).

Regards,
Steve

Maciej Madej wrote:
> Hi,
> 
> I've configured ExternalConfig as follow:
> 
> *Code:*
> 
> name="jboss.jndi:service=ExternalContext,jndiName=external/fs">
> external/fs
> 
> 
> java.naming.factory.initial=com.sun.jndi.fscontext.RefFSContextFactory
> java.naming.provider.url=file:///D:/JBoss/jboss-5.1.0.GA 
> 
> 
> 
>  name="InitialContext">javax.naming.directory.InitialDirContext
> false
>   
> 
> 
> 
> 
> Now I'm accesing my directory:
> 
> *Code:*
> 
> InitialContext iniCtx = new InitialContext();
>   Context c = (Context) iniCtx.lookup("external/fs");
>   System.out.println(c);  
> 
> 
> 
> But fetched contect is null :(
> Am I missing sth?
> Please help :-)
> 
> -- 
> Pozdrawiam
> Maciej Madej
> 
> 
> 
> 
> ___
> jboss-user mailing list
> jboss-user@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-user

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iEYEARECAAYFAksTxuMACgkQSphIUSiVzgbKXwCeL6+ZXzKCWGWicmEUdi6sBX3E
FXwAoM1nsGJLbfxzM89ALl4V9oeGSHnK
=aHBi
-END PGP SIGNATURE-
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Web Services Users] - PolicyAttachment with custom assertions

2009-11-30 Thread altes-kind
Hello,

I'm trying to implement a custom policy assertion with JBossWS. When I use 
@PolicyAttachment with my custom policy XML I get the log message "Unknown 
namespace:http://www.hfu.de/server/service/calculator/CalculatorPolicy...Assertion
 not supported".

Is the usage of PolicyAttachment limited to standard policies like 
WS-SecurityPolicy or is there anything wrong with my custom assertion?

2009-11-30 14:01:41,857 DEBUG 
[org.jboss.ws.extensions.policy.deployer.PolicyDeployer] (main) class 
org.apache.ws.policy.XorCompositeAssertion
  | 2009-11-30 14:01:41,857 DEBUG 
[org.jboss.ws.extensions.policy.deployer.PolicyDeployer] (main) 
[org.apache.ws.policy.andcompositeassert...@aeb11d]
  | 2009-11-30 14:01:41,858 DEBUG 
[org.jboss.ws.extensions.policy.deployer.PolicyDeployer] (main) alternative
  | 2009-11-30 14:01:41,858 DEBUG 
[org.jboss.ws.extensions.policy.deployer.PolicyDeployer] (main) Unknown 
namespace:http://www.hfu.de/server/service/calculator/CalculatorPolicy...Assertion
 not supported
  | 2009-11-30 14:01:41,858 DEBUG 
[org.jboss.ws.extensions.policy.deployer.PolicyDeployer] (main) Unsupported 
Alternative
  | 2009-11-30 14:01:41,858 DEBUG 
[org.jboss.ws.extensions.policy.deployer.PolicyDeployer] (main) XorComposite 
zero element...Policy not supported
  | 2009-11-30 14:01:41,858 WARN  
[org.jboss.ws.extensions.policy.metadata.PolicyMetaDataBuilder] (main) Policy 
Not supported:null

@Stateless
  | @WebService(name = "Calculator", targetNamespace = 
"http://calculator.service.server.hfu.de/";)
  | @PolicyAttachment( { @Policy(policyFileLocation = "CalculatorPolicy.xml", 
scope = PolicyScopeLevel.WSDL_PORT) })
  | public class Calculator implements CalculatorRemote, CalculatorLocal {
  | 
  | public double add(double num1, double num2) {
  | return num1 + num2;
  | }
  | 
  | }


  | 
  | http://schemas.xmlsoap.org/ws/2004/09/policy";
  | xmlns:cp="http://www.hfu.de/server/service/calculator/CalculatorPolicy";
  | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  | 
  | 
  | 10.0
  | 0.0
  | 
  | 
  | 

Any help is appreciated.

altes-kind

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268073#4268073

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268073
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Web Services Users] - Re: InvokerServlet in JBoss 4.2.2

2009-11-30 Thread ramboid
One can give the appropriate "privilege" to the invoker servlet in the 
context.xml file and then one can use it.  I think that somebody decided that 
the invoker servlet was "unsafe" and that one must configure jboss to use it bu 
giving it the "privilege"

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268065#4268065

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268065
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security] - Migrating to 5.1.0, "Invalid User"-Exception

2009-11-30 Thread Gupta
We are currently in a process of migrating our AS from JBoss 4.2.1 to JBoss 
5.1.0. We keep getting "Invalid User"-Exceptions thrown in our test classes due 
to thread issues with the JBoss implementation. Apparently (as far as wecan 
tell) it seem to  do with the fact that we spawn a new thread in the beginning 
of each test case, where we do the log in.

In our main program (the non-test classes) however JBoss 5 works fine, since 
the log-in process in that case is made in the UI-thread (from the log-in 
dialog). 

We've also figured it had to do with the SecurityInterceptors and tried to shut 
them down, without success. What about 'Subject.doAs'in the new JBoss 5, is it 
needed at all or is it handled by the interceptors in the proxy? If so, how may 
we control the interceptors?

Anyone who has a clue!?

Thanks in advance

/Gupta

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268064#4268064

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268064
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - How to suspend Join Execution

2009-11-30 Thread pradeep.gulla
Hi, I'm using JBPM4 with SQLServer.

I've created a process XML such that it creates 4 parallel Tasks with Fork.
These 4 tasks joins on completion(Approval) to initiate another new 
Task(single).

My requirement is:
If any task requests a rework, rest of all active tasks should gets 
terminated/ended. But when I'm trying to end any execution (by retrieving all 
tasks) I'm getting no session found. 
How to end these Tasks/executions ?? or End Join Execution ??

Thanks in Advance.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268059#4268059

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268059
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: HELP ME with process Java Hello World

2009-11-30 Thread jbarrez
I'm guessing that the class you're calling in your process isn't on the 
classpath of the console.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268052#4268052

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268052
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: jBPM-4.2 Remote API problem?

2009-11-30 Thread jbarrez
Probably you are missing 



in your config. It should be automatically discovered when using 
jbpm.default.cfg.xml


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268049#4268049

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268049
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginner's Corner] - Error using UnifiedInvoker

2009-11-30 Thread maciekcom
Hi,

I've configured UnifiedInvoker for JNDI as dscribed here:

http://www.jboss.org/community/wiki/JNDIOverHTTPWithUnifiedInvoker

My jndi properties:


  | 
  | java.naming.factory.initial=org.jboss.naming.HttpNamingContextFactory
  | java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
  | java.naming.provider.url=http://localhost:8180/unified-invoker/JNDIFactory
  | 

My web.xml:


  | http://java.sun.com/dtd/web-app_2_3.dtd";>
  | 
  | 
  | 
  | JNDIFactory
  | A servlet that exposes the JBoss JNDI Naming service 
stub
  | through http. The return content is a serialized
  | MarshalledValue containg the org.jnp.interfaces.Naming stub. This
  | configuration handles requests for the standard JNDI naming service.
  | 
  | 
org.jboss.invocation.http.servlet.NamingFactoryServlet
  | 
  | namingProxyMBean
  | 
jboss:service=proxyfactory,type=unified,transport=servlet,target=naming
  | 
  |   
  |  proxyAttribute
  |  Proxy
  |   
  |   2
  | 
  | 
  | JNDIFactory
  | /JNDIFactory/*
  | 
  | 

My jboss-service.xml:


  | 
  |
  |
  |   jboss:service=invoker,type=unified,transport=servlet
  |   jboss:service=Naming
  |   
  |   org.jnp.interfaces.Naming
  |   
  |   
  |  
org.jboss.proxy.ClientMethodInterceptor
  |  org.jboss.proxy.SecurityInterceptor
  |  
org.jboss.naming.interceptors.ExceptionInterceptor
  |  
org.jboss.invocation.InvokerInterceptor
  |   
  |   
  |   
jboss:service=invoker,type=unified,transport=servlet
  |
  | 
  |
  |
  |   jboss:service=TransactionManager
  |   jboss.remoting:service=connector,transport=servlet
  |
  | 
  |
  |   
  |   
  | 
  |invocation
  |org.jboss.invocation.unified.marshall.InvocationMarshaller
  |org.jboss.invocation.unified.marshall.InvocationUnMarshaller
  |${jboss.bind.address}
  |8180
  |unified-invoker/ServerInvokerServlet
  | 
  | 
  |jboss:service=invoker,type=unified,transport=servlet
  | 
  |  
  | 
  |
  | 

When I'm trying to acces JNDI I got:

Caused by: org.jboss.remoting.CannotConnectException: Can not connect http 
client invoker after 1 attempt(s)
  | at 
org.jboss.remoting.transport.http.HTTPClientInvoker.makeInvocation(HTTPClientInvoker.java:249)
  | at 
org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:161)
  | at 
org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:165)
  | at org.jboss.remoting.Client.invoke(Client.java:1724)
  | at org.jboss.remoting.Client.invoke(Client.java:629)
  | at 
org.jboss.invocation.unified.interfaces.UnifiedInvokerProxy.invoke(UnifiedInvokerProxy.java:184)
  | at 
org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:365)
  | at 
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:197)
  | at 
org.jboss.naming.interceptors.ExceptionInterceptor.invoke(ExceptionInterceptor.java:57)
  | ... 50 more
  | Caused by: java.io.EOFException
  | at 
org.jboss.remoting.transport.http.HTTPClientInvoker.readResponse(HTTPClientInvoker.java:580)
  | at 
org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:369)
  | at 
org.jboss.remoting.transport.http.HTTPClientInvoker.makeInvocation(HTTPClientInvoker.java:231)
  | ... 58 more

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268048#4268048

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268048
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache Users] - Re: Undeterministic error:

2009-11-30 Thread kabir.k...@jboss.com
Are you sure you only have one occurrence of the Game class in your deployments?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268047#4268047

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268047
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: How to signal subprocess?

2009-11-30 Thread neshap
anonymous wrote : Thanks for your response, but you have a cast too : Execution 
into OpenExecution.
  | 
  | Does someone know the diffrence between Execution, ExecutionImpl, 
OpenExecution, ProcessInstance? I'm a bit confused with all these concepts.

I'm a bit new to JBPM, but I'll try to give it a go. 
It seems that casting has to be done (my opinion is better to cast it to 
interface than implementation). Judging from the javadoc, state of the 
Execution can be either active or locked. OpenExecution is Execution in active 
state only, and it gives you access to related objects in execution. 
ProcessInstance is one execution of a process definition, and it can have many 
concurrent executions (forks, subprocess). 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268044#4268044

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268044
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache Users] - Re: Undeterministic error:

2009-11-30 Thread manik.surt...@jboss.com
Have you tried compile-time weaving, just to compare and help isolate the 
problem?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268040#4268040

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268040
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - mail-service.xml password encryption

2009-11-30 Thread tvoelker
Is there a way to encrypt the password attribute in a mail service 
configuration e.g. like specifying a security-domain in datasource 
configuration? My current environment is JBoss 4.2.3

thanks in advance
Torsten

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268038#4268038

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268038
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Re: Unreasonable Problems with deployed EJBs

2009-11-30 Thread crazy_bytes
If you need more information, just let me know.

/PUSH :)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268033#4268033

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268033
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginner's Corner] - Re: Configuration Problem

2009-11-30 Thread lawrence.yip
Actually, I was migrating a project from AS 3 to AS 5. It works fine using 
exactly the same configuration in AS3. I don't think it's the case.

Finally, I decided to migrate to AS4 instead as it works fine also. 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268031#4268031

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268031
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging Users] - Failure on control connection Thread?

2009-11-30 Thread yongz
Hi,

* JBoss 5.0.1.GA
* JBoss messaging 1.4.6.GA
* JBoss remoting 2.5.2
* Java jdk1.5.0_19

We have a cluster with two nodes using clustered queue, and recently we are 
getting the following errors with JBoss messaging:

1. The following appears in Node 1:

  | 2009-11-30 16:21:47,525 [Timer-6] WARN  
remoting.transport.bisocket.BisocketServerInvoker  : 
org.jboss.remoting.transport.bisocket.bisocketserverinvoker$controlmonitortimert...@10d107:
 detected failure on control connection Thread[control: 
Socket[addr=myhost2/172.32.29.21,port=32062,localport=1881],5,] 
(4sl3l3l-7k73nm-g2mqo1ic-1-g2mqxt8r-jn: requesting new control connection
  | 

2. After a few minutes, on node 2[172.32.29.21]:


  | 2009-11-30 16:24:45,243 [Timer-3] WARN  
remoting.transport.bisocket.BisocketServerInvoker  : 
org.jboss.remoting.transport.bisocket.bisocketserverinvoker$controlmonitortimert...@17663eb:
 detected failure on control connection Thread[control: 
Socket[addr=myhost2/172.32.29.20,port=18861,localport=1686],5,] 
(4sl3l3k-n6bz0c-g2mqho1y-1-g2mqqj8h-j6: requesting new control connection
  | 2009-11-30 16:24:49,886 [Timer-7] WARN  
remoting.transport.bisocket.BisocketClientInvoker  : Unable to send ping: 
shutting down PingTimerTask
  | java.net.SocketException: Software caused connection abort: socket write 
error
  | at java.net.SocketOutputStream.socketWrite0(Native Method)
  | at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
  | at java.net.SocketOutputStream.write(SocketOutputStream.java:115)
  | at 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker$PingTimerTask.run(BisocketClientInvoker.java:723)
  | at java.util.TimerThread.mainLoop(Timer.java:512)
  | at java.util.TimerThread.run(Timer.java:462)
  | 2009-11-30 16:25:45,864 [WorkerThread#0[172.21.129.129:1995]] ERROR 
jboss.messaging.util.ExceptionUtil  : 
SessionEndpoint[l31-8c8rsm2g-1-y1ohqm2g-c0zb6n-k3l3ls4] createConsumerDelegate 
[m31-oc8rsm2g-1-y1ohqm2g-c0zb6n-k3l3ls4]
  | javax.jms.InvalidDestinationException: No such destination: 
JBossTemporaryQueue[wj-xktxqm2g-1-ci1oqm2g-mn37k7-l3l3ls4] has it been deployed?
  | at 
org.jboss.jms.server.endpoint.ServerSessionEndpoint.createConsumerDelegateInternal(ServerSessionEndpoint.java:1891)
  | at 
org.jboss.jms.server.endpoint.ServerSessionEndpoint.createConsumerDelegate(ServerSessionEndpoint.java:262)
  | at 
org.jboss.jms.server.endpoint.advised.SessionAdvised.org$jboss$jms$server$endpoint$advised$SessionAdvised$createConsumerDelegate$aop(SessionAdvised.java:94)
  | at 
org.jboss.jms.server.endpoint.advised.SessionAdvised$createConsumerDelegate_8721389917985689973.invokeTarget(SessionAdvised$createConsumerDelegate_8721389917985689973.java)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)
  | at 
org.jboss.jms.server.container.SecurityAspect.handleCreateConsumerDelegate(SecurityAspect.java:123)
  | at sun.reflect.GeneratedMethodAccessor3253.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:122)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
  | at 
org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
  | at 
org.jboss.jms.server.endpoint.advised.SessionAdvised.createConsumerDelegate(SessionAdvised.java)
  | at 
org.jboss.jms.wireformat.SessionCreateConsumerDelegateRequest.serverInvoke(SessionCreateConsumerDelegateRequest.java:100)
  | at 
org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:157)
  | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:897)
  | at 
org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:768)
  | at 
org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:721)
  | at 
org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:575)
  | at 
org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:234)
  | 2009-11-30 16:30:55,300 [Timer-3] WARN  
remoting.transport.bisocket.BisocketServerInvoker  : 
org.jboss.remoting.transport.bisocket.bisocketserverinvoker$controlmonitortimert...@17663eb:
 detected failure on control connection Thread[control: 
Socket[addr=myhost1/172.32.29.20,port=18861,localport=1843],5,] 
(4sl3l3k-n6bz0c-g2mqho1y-1-g2mqqj8h-j6: requesting new control connection
  | 

3. Then on node 1:

  | 2009-11-30 16:25:45,706 [Thread-75] ERROR 
jboss.jms.client.FailoverCommandCenter  : Failover failed
  | javax.jms.InvalidDestinationException: No such destination: 
JBossTemporaryQueue[wj-xktxqm2g-1-ci1oqm2

[jboss-user] [EJB 3.0 Users] - Re: EJB jar cannot be deployed as a library (JBoss 5.0.1.GA)

2009-11-30 Thread rsoika
Jaikiran,
thanks for your help. Yes when I put the persistence.xml into the .ear it looks 
much better. The deployer now recognizes the entities and so I take one step 
forward... :-)

"jaikiran" wrote : 
  | The weird part about the packaging is - the my_ejb_module.jar is mapped as 
a EJB module and contains only the descriptors (ejb-jar.xml, jboss.xml etc..). 
No classes within that jar. 
  | 

I know this looks not typical for an jee project, but I think it should be a 
typical way  deploying existing JEE components. The reason for that ear layout 
is, that I want to provide developers of workflow applications with a EJB based 
workflow component. This component is part of the imixs wokflow project and 
packaged into the  imixs-workflow-jee-x.x.x and imixs-workflow-jee-impl-x.x.x 
jars.
So if you plan to add Imixs workflow components into your JEE Web project there 
should be no need to add sources/classes into the EJB Module or deal with the 
whole EJB stuff. The developer should only declare a few descriptors. So the 
JEE Project becomes very compact.
My vision is that the application developer concentrates on the GUI and add 
only some Richfaces libs and some business logic bundled in ejb-jars. 
I think this is one of the concepts behind JEE component architecture. And I 
did not understand why we found so much cool GUI components like RichFaces but 
no business components which helps developers to speed up the application 
development.

Maybe this idea becomes more clear if you look at one tutorial I wrote about 
the usage of my maven archetype:

http://www-02.imixs.com/roller/imixsworkflow/entry/building_a_imixs_workflow_webapp2

you see - I want to attest that not only RubyOnRails developers are speedy ;-)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268028#4268028

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268028
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache Users] - Re: CacheListener is (unduly) notified of rollbacked operati

2009-11-30 Thread galder.zamarr...@jboss.com
Modifications are only rolledback when there're transactions and for such 
notifications, there's @TransactionCompleted and its TransactionCompletedEvent 
that contains:
/**
  | * @return if true, the transaction completed by committing 
successfully.  If false, the transaction
  | * completed with a rollback.
  | */
  |boolean isSuccessful();

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268026#4268026

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268026
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache Users] - Re: CacheLoader saves but rollbacks

2009-11-30 Thread galder.zamarr...@jboss.com
Maybe you wanna try with JBoss Transactions which is a JTA TM as well? To try, 
download or set correct dependencies to JBoss Transactions (see jbc trunk for 
example) and use 
http://anonsvn.jboss.org/repos/jbosscache/core/trunk/src/main/java/org/jboss/cache/transaction/JBossStandaloneJTAManagerLookup.java
 lookup class. That class also shows how to get hold of a JBoss Transaction TM 
in a standalone environment.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268024#4268024

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268024
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache Users] - Re: Cache configuration question

2009-11-30 Thread galder.zamarr...@jboss.com
See 
http://anonsvn.jboss.org/repos/jbossas/branches/Branch_5_0/tomcat/src/resources/jbossweb-cluster-jboss-beans.xml
 (included in AS 5.1) for example on how to get cache configurations working on 
that AS version

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268020#4268020

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268020
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginner's Corner] - Re: JBoss (Apr) jboss-native :: linux

2009-11-30 Thread rbrtfreund
Rest of log... sorry for the long log

  | 2009-11-30 08:00:16,272 DEBUG 
[org.apache.catalina.core.AprLifecycleListener] The Apache Tomcat Native 
library which allows optimal performance in production environments was not 
found on the java.library.path: /opt/jboss4/lib
  | java.lang.reflect.InvocationTargetException
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at 
org.apache.catalina.core.AprLifecycleListener.init(AprLifecycleListener.java:134)
  | at 
org.apache.catalina.core.AprLifecycleListener.lifecycleEvent(AprLifecycleListener.java:79)
  | at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
  | at 
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:766)
  | at org.apache.catalina.startup.Catalina.load(Catalina.java:528)
  | at org.apache.catalina.startup.Catalina.start(Catalina.java:568)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at 
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
  | at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.web.tomcat.service.JBossWeb.startService(JBossWeb.java:457)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
  | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
  | at 
org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
  | at 
org.jboss.deployment.SubDeployerInterceptor.invokeNext(SubDeployerInterceptor.java:124)
  | at 
org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:109)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
  | at $Proxy0.start(Unknown Source)
  | at org.jboss.system.ServiceController.start(ServiceController.java:417)
  | at org.jboss.system.ServiceController.start(ServiceController.java:435)
  | at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy4.start(Unknown Source)
  | at org.jboss.deployment.SARDeployer.start(SARDeployer.java:304)
  | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
  | at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at 
org.jboss.mx.interceptor.