[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: 5.0.0CR1: EJB refs across EARs don't work

2008-07-07 Thread jaikiran
Use the JNDIView http://wiki.jboss.org/wiki/DisplayTheJNDITreeWithTheJMXConsole 
to check what's the jndi name for your bean1 in EAR1. Then try using that as 
the mapped name for injecting this bean in bean2 in EAR2. You can post the JNDI 
tree here, if you need help in understanding the output. 

P.S: A new forum for JBoss AS5 has been created at 
http://www.jboss.com/index.html?module=bb&op=viewforum&f=287  for JBoss AS5 
specific questions. Let's use that forum for any new questions on JBoss 5.   

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

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


[jboss-user] [JBoss Portal] - Re: how to send parameters to a WSRP

2008-07-07 Thread cedseat
Hello,

Is it possible to send parameters to a WSRP? Or share a session?

I try to manage a portal with a context (a number). When I call a WSRP, I would 
like to transmit this context to the WSRP.

I tested in local and with the 
Navigation.getPortalRuntimeContext().getSession(). I managed to exchange 
information between local portlets. But the 
Navigation.getPortalRuntimeContext().getSession() not run with WSRP because the 
WSRP is executed in another JVM.

Ced.

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - 5.0.0CR1: EJB refs across EARs don't work

2008-07-07 Thread Juergen.Zimmermann
I'm having 2 different EARs and stateless session beans of the 2nd EAR are 
referencing stateless session beans of the 1st ear. It worked fine with 4.2.2

When migrating to 5.0.0CR1 I got an error message which indicated that I must 
add "mappedName" to the referenced SLSBs. Now the error is gone, but when 
deploying the second EAR (with the referencing SLSBs) I get this warning:

WARN  [org.jboss.deployment.MappedReferenceMetaDataResolverDeployer] 
(HDScanner) Unresolved references exist in 
JBossMetaData:[testHskaEJB.jar#KundenverwaltungTestBean:AnnotatedEJBReferenceMetaData{name=kvProxy,ejb-ref-type=null,link=null,ignore-dependecy=false,mapped/jndi-name=mapped/hska/Kundenverwaltung,resolved-jndi-name=null,beanInterface=interface
 de.hska.kundenverwaltung.Kundenverwaltung}, 
testHskaEJB.jar#BestellverwaltungTestBean:AnnotatedEJBReferenceMetaData{name=bvProxy,ejb-ref-type=null,link=null,ignore-dependecy=false,mapped/jndi-name=mapped/hska/Bestellverwaltung,resolved-jndi-name=null,beanInterface=interface
 de.hska.bestellverwaltung.Bestellverwaltung}]

Code of the referenced SLSB in the 1st EAR:
  | @Stateless(mappedName="mapped/hska/Kundenverwaltung")
  | public class KundenverwaltungBean implements Kundenverwaltung {
  | @SuppressWarnings("unused")
  | @PersistenceContext
  | private EntityManager em;
  | 
  | @EJB
  | private KundenverwaltungDao dao;
  | 
  | @EJB
  | @IgnoreDependency
  | private Bestellverwaltung bv;
  | 
  | @Resource
  | private SessionContext sessionCtx;

Code of the referencing SLSB in the 2nd EAR:
@Stateless
  | @Remote(KundenverwaltungTestRemote.class)
  | public class KundenverwaltungTestBean implements KundenverwaltungTestRemote 
{
  | @EJB(mappedName="mapped/hska/Kundenverwaltung")
  | private Kundenverwaltung kvProxy;

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

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


[jboss-user] [JBoss Portal] - Re: JSF Portlet not rendering view - Jsf portletbridge bridg

2008-07-07 Thread SreeniJakka
Wesley
I have a4j working now. I think it's a combination of preserveActionParams and 
RESOURCE_URI_PREFIX.
Sreeni

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

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


[jboss-user] [JBoss Portal] - Re: JSF Portlet not rendering view - Jsf portletbridge bridg

2008-07-07 Thread SreeniJakka
Wesley
Thanks for the response.
I got the portletbridge working with my portlet now. One issue I am still 
facing is trying to work a4j in the portlet. 
I have a simple a4j:commandLink sets, I see the ajax call being made and 
logging from my backing bean. I see bunch of javascript code in the view source 
as well. but rerender is not working. 
I have added the 
org.jboss.portletbridge.application.PortalStateManager

as well as per some older wiki entries. 
Does a4j work with the portal at this time or not? I am not able to find an 
answer from the previous posts.
Thanks

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

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


[jboss-user] [JBoss Tools (users)] - Re: Lastest JBoss Tools doesn't work on Vista.

2008-07-07 Thread sstrenn
I updated yesterday, and it works fine on my Vista machine.

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - JSF integrate with JMS

2008-07-07 Thread quintenjiang
It is usual way to process message received from OnMessage via MDB. May I know 
how to call JSF back bean from MDB to display message on the view?


Thanks,


Kinson

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

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


[jboss-user] [JBoss Portal] - Re: Implementing Trackback on JBoss Portal (Portlets)

2008-07-07 Thread almontang
Trackback is when a blogger writes a comment on blog B about a post or an 
article on blog A.  Then it sends a Trackback ping to blog A notifying that 
blog B has written something about it.  The Trackback ping contains the URL to 
the particular post.

I'm really stumped on this and there isn't much I could find on Google.  So any 
help would be appreciated.

Thanks!

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

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


[jboss-user] [JBoss jBPM] - Invoke jBPM workflow from external app

2008-07-07 Thread ashishc
Hi All,
I am trying to figure out how can I invoke a jBPM workflow from an external 
java application because as per my understanding someone has to invoke the 
start state and then the flow can pass through.

Here is the processdefinition.xml


  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | Sending Message
  | 
  | 
  | 
  | 
  | 

If I deploy this code to jbpm-console i can login as a user and invoke this 
workflow, but instead what i want to do is write a separate java application 
(public static void main) from which I can invoke this workflow...

Any examples, sample code, links, docs etc will be very helpful...

Thanks
Ashish

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

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


[jboss-user] [JBoss Portal] - Re: JSF Portlet not rendering view - Jsf portletbridge bridg

2008-07-07 Thread wesleyhales
If you want to start from a "fail-proof" example, then use the instructions 
here:
http://www.jboss.org/files/portletbridge/docs/1.0.0.B3/en/html_single/index.html#archetypes

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

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


[jboss-user] [JBoss Portal] - Re: JSF Portlet not rendering view - Jsf portletbridge bridg

2008-07-07 Thread wesleyhales
btw, what's in your portlet.xml file in your current project?

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

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


[jboss-user] [JBoss jBPM] - Re: Message driven bean and jbpm

2008-07-07 Thread [EMAIL PROTECTED]
Use CMT and set the trans-attribute to Required. Also configure jBPM to use the 
JtaDbPersistenceServiceFactory. This is easier if you use jPDL 3.2.3 or later 
and deploy the product as an enterprise app (i.e. jbpm-enterprise.ear). See the 
chapter on Java EE app server facilities in the latest user guide for a 
description of the jBPM enterprise components.

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - EMail events by SMTPAppender

2008-07-07 Thread indra_joy
Hi Gurus,

I am facing a problem in JBOSS 4.0.5GA in SMTPAppender issue. I want to send 
automatic email from JBOSS whenever required. In log4j I have also configured 
the same but it's not working.

For your ref


 appender name="SMTP" class="org.apache.log4j.net.SMTPAppender">
errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
param name="Threshold" value="ERROR"/>
param name="To" value="[EMAIL PROTECTED]"/>
param name="From" value="[EMAIL PROTECTED]"/>
param name="Subject" value="JBoss Sever Errors"/>
param name="SMTPHost" value="gmail-smtp.l.google.com"/>
param name="BufferSize" value="10"/>

appender> 

I am kind of stuck over here. Can you please help.
Apart from this do I need to do anything extra??

My root is






Also I want to schedule this as emails shud be sent after 15/30/45mins etc.

Any help will be a real favor.

Thanks Indrajoy

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

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


[jboss-user] [JBoss Messaging] - Re: SMTPAppender Issue

2008-07-07 Thread [EMAIL PROTECTED]
Indrajoy,

This doesn't look a JMS nor JBoss Messaging issue.

You would need to post your question at JBoss Application Server user's group.


Regards,

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

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


[jboss-user] [JBoss Messaging] - Re: SMTPAppender Issue

2008-07-07 Thread indra_joy
   appender name="SMTP" class="org.apache.log4j.net.SMTPAppender">
 errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
 param name="Threshold" value="ERROR"/>
 param name="To" value="[EMAIL PROTECTED]"/>
 param name="From" value="[EMAIL PROTECTED]"/>
 param name="Subject" value="JBoss Sever Errors"/>
 param name="SMTPHost" value="gmail-smtp.l.google.com"/>
 param name="BufferSize" value="10"/>
 
   appender>


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

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


[jboss-user] [JBoss Messaging] - Re: SMTPAppender Issue

2008-07-07 Thread indra_joy


Missing part sorry

   
   
 
 
 
 
 
 
 
 
   
 
   


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

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


[jboss-user] [JBoss Messaging] - SMTPAppender Issue

2008-07-07 Thread indra_joy

Hi Gurus,

I am facing a problem in JBOSS 4.0.5GA in SMTPAppender issue. I want to send 
automatic email from JBOSS whenever required. In log4j I have also configured 
the same but it's not working.

For your ref

   
   
 
 
 
 
 
 
 
 
   
 
   

I am kind of stuck over here. Can you please help. 
Apart from this do I need to do anything extra??

My root is
   
 
   
  
   

Also I want to schedule this as emails shud be sent after 15/30/45mins etc.

Any help will be a real favor.

Thanks Indrajoy

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

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


[jboss-user] [Beginners Corner] - JBoss with web hosting control panel?

2008-07-07 Thread boughtonp
Hello.

I am investigating setting up JBoss AS + Web.

I'll need a web hosting control panel for managing accounts and domains.

I currently have cPanel on my server, but this will not work with JBoss.


Can anyone recommend hosting control panel software that is compatible with 
JBoss?


Thanks,

Peter

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

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


[jboss-user] [JBoss jBPM] - Re: add new user

2008-07-07 Thread Fornachari
Same thing happens with me.
Any idea?

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - JBoss-5.0.0.CR1 SSI

2008-07-07 Thread edgoquist
I'm having trouble getting SSI to work. I edited the web.xml to enable SSI 

default/deployers/jbossweb.deployer/web.xml

and I modified the context.xml to grant all web apps  privilege to use 
container jars.

default/deploy/jbossweb.sar/context.xml

but I'm getting this error when I start jboss:

16:18:05,581 INFO  [TomcatDeployment] deploy, ctxPath=/, vfsUrl=ROOT.war
16:18:06,329 INFO  [[/]] Marking servlet ssi as unavailable
16:18:06,330 ERROR [[/]] Servlet  threw load() exception
java.lang.ClassNotFoundException: 
 org.apache.catalina.ssi.SSIServlet
   
Very curious because the JspServlet is in the same jar (jbossweb.jar) as the 
SSIServlet but jsps work. Also, this error occurs when I start Jboss - not when 
I access a page that contains any SSI directives.

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

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


[jboss-user] [JBoss jBPM] - Re: Automate Workflow Steps

2008-07-07 Thread salaboy21
You have both answers in your code:
First, when you define an action in a node, you must implement the code to 
continue the execution with:
 
  | context.leaveNode();
  | 
At the end of your code in your ActionHandler execute method.

Second, if you want to pass values from one node to another the best way is 
ProcessVariables that you can store doing:

  |context.getContextInstance().setVariable("Variable1", 
"Hello");
  | 
and then in the other action handler you can get the value with

  |   String var1=b(String) 
context.getContextInstance().getVariable("Variable1");
  | 
Hope it helps

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

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


[jboss-user] [JBoss Messaging] - Re: Problem with JBoss

2008-07-07 Thread timfox
"milkyboss" wrote : 
  | where is the problem?
  | thank you for the responses...Hello

Unfortunately my crystal ball is currently out of action so I can't help you 
out here.

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

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


[jboss-user] [JBoss Messaging] - Re: Too many Timer-XXXX threads

2008-07-07 Thread viniciuscarvalho
Thanks Tim. We are still digging to see what can be the problem. So far I don't 
think its JBM, as I said I only post here because it seemed to be the best 
place :)

We are using JBR 2.2.2.SP3, so I guess that specific problem is solved.

I fear for the ESB listeners :(

Regards

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

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


[jboss-user] [JNDI/Naming/Network] - [SOAPFaultHelperJAXWS] SOAP request exception

2008-07-07 Thread jplistero
Hi, I have some WS in jboss 4.2.2 AS, when i try to consume them, this 
exception is ... 

some ideas ? 
thanks ! 

15:37:16,693 ERROR [SOAPFaultHelperJAXWS] SOAP request exception
org.jboss.ws.core.CommonSOAPFaultException: Endpoint 
{http://www.example.com/}PruebaPort does not contain operation meta data for 
empty soap body
at 
org.jboss.ws.core.server.ServiceEndpointInvoker.getDispatchDestination(ServiceEndpointInvoker.java:457)
at 
org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:176)
at 
org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:408)
at 
org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:272)
at 
org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:189)
at 
org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:122)
at 
org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:619)


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

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


[jboss-user] [JBoss Messaging] - Re: Too many Timer-XXXX threads

2008-07-07 Thread timfox
There have been various memory and thread leaks in remoting that have been 
fixed e.g. http://jira.jboss.org/jira/browse/JBREM-721 . I would suggest 
looking in JIRA and trying out a later remoting version e.g. 2.2.2.sp8 - 
remember to replace it on both the client and server side.

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Error in JBoss05.0.0.CR1 index.html

2008-07-07 Thread edgoquist
BTW, the correct link is:


  | http://www.jboss.org/jbossas/docs/
  | 



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

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


[jboss-user] [Performance Tuning] - Re: Tracking memory usage

2008-07-07 Thread ananta_a
I'll suggest to try JProbe, gives more detail method level memory leak 
obervations 

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

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


[jboss-user] [JBoss jBPM] - Automate Workflow Steps

2008-07-07 Thread ashishc
Hi All,
I have create a simple workflow which has 2 nodes, a start state and an end 
state. Here is the source...


  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | First Message
  | 
  | 
  | 
  | 
  | 
  | First Message
  | 
  | 
  | 
  | 
  | 

Now after I deploy, in the  jbpm-console, I have to click to start the workflow 
and then at every step I have to click start-end to finally reach the end of 
the workflow.

Is there someway I can automate the entire process?? 

Here is the action class for the node above:

package com.sample.action;
  | 
  | import org.jbpm.graph.def.ActionHandler;
  | import org.jbpm.graph.exe.ExecutionContext;
  | import org.apache.commons.logging.Log;
  | import org.apache.commons.logging.LogFactory;
  | 
  | public class MessageActionHandler implements ActionHandler {
  | 
  | Log log = LogFactory.getLog(this.getClass());
  | private static final long serialVersionUID = 1L;
  | 
  | /**
  |  * The message member gets its value from the configuration in the 
  |  * process definition. The value is injected directly by the engine. 
  |  */
  | String message;
  | 
  | /**
  |  * A message process variable is assigned the value of the message
  |  * member. The process variable is created if it doesn't exist yet.
  |  */
  | public void execute(ExecutionContext context) throws Exception {
  | context.getContextInstance().setVariable("message", message);
  | log.info("Printing Message at end: " + message);
  | //context.leaveNode();
  | String taskName = context.getTaskInstance().getName();
  | log.info("taask name  " + taskName);
  | 
  | }
  | 
  | }

What I want to do is start the workflow and then it goes through all the steps 
and reaches end. 

Also whats the best way to pass data (or values) from one step to another in 
the jbpm Workflow.

Please advise.

Thanks
Ashish

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Error in JBoss05.0.0.CR1 index.html

2008-07-07 Thread edgoquist
Not sure where to post this - it's extremely trivial but this problem makes it 
hard to RTFM.

The index.html file that comes with the JBoss05.0.0.CR1 distribution, available 
here: http://www.jboss.org/jbossas/downloads/ , has a broken link to the 
documentation:

  JBoss Documentation


  |   http://www.jboss.org/products/jbossas/docs";>JBoss 
Documentation
  | 


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

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


[jboss-user] [JBoss Portal] - JSF Portlet not rendering view - Jsf portletbridge bridge no

2008-07-07 Thread SreeniJakka
Hello
I am trying to get a JSF/Facelets/RichFaces Portlet working in JBoss Portal 
using the PortletBridge. 
I finally get an empty portlet but no view content. I see the following errors 
in the log file: 

2008-07-07 14:46:56,794 DEBUG 
[org.jboss.portletbridge.context.FacesContextFactoryImpl] Servlet request - 
create HttpServlet version of the ExternalContext
2008-07-07 14:46:56,882 DEBUG [org.ajax4jsf.event.AjaxPhaseListener] Process 
before phase RESTORE_VIEW 1
2008-07-07 14:46:56,882 DEBUG [org.ajax4jsf.event.InitPhaseListener] Perform 
additional framework initialization on first request
2008-07-07 14:46:56,882 DEBUG [org.ajax4jsf.application.ViewHandlerWrapper] 
Create new instance of alternate handler class 
org.jboss.portletbridge.application.FaceletPortletViewHandler
2008-07-07 14:46:57,039 DEBUG [org.ajax4jsf.event.InitPhaseListener] Remove 
init phase listener from factories
2008-07-07 14:46:57,040 DEBUG [org.ajax4jsf.event.AjaxPhaseListener] Process 
after phase RESTORE_VIEW 1
2008-07-07 14:46:57,050 WARN  
[javax.enterprise.resource.webcontainer.jsf.lifecycle] phase(RENDER_RESPONSE 
6,[EMAIL PROTECTED]) threw exception: javax.portlet.faces.BridgeException: Jsf 
portletbridge bridge not initialised Jsf portletbridge bridge not initialised
org.jboss.portletbridge.application.PortletStateHolder.getInstance(PortletStateHolder.java:125)
org.jboss.portletbridge.lifecycle.PortalPhaseListener.beforePhase(PortalPhaseListener.java:108)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:222)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:557)
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:481)
org.jboss.portal.portlet.impl.jsr168.api.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:86)
com.cypress.portal.BillingSummary.doView(BillingSummary.java:27)
javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:133)
javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:244)
javax.portlet.GenericPortlet.render(GenericPortlet.java:306)
org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.invokeRender(PortletContainerImpl.java:483)

Here is what I have in my libs:
Rich Faces 3.2.0.GA jars
jboss-portletbridge-1.0.0.B2 jars
jsf-facelets.jar

my faces-config.xml >

http://java.sun.com/dtd/web-facesconfig_1_0.dtd";>




org.jboss.portletbridge.application.PortletViewHandler


en




org.jboss.portletbridge.context.FacesContextFactoryImpl




billingSummaryBean

com.cypress.beans.BillingSummaryBean

session


 

javax.faces.ViewRoot
javax.faces.ViewRoot

org.jboss.portletbridge.renderkit.portlet.PortletAjaxViewRootRenderer




 


Here is my web.xml --->


http://java.sun.com/xml/ns/javaee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd";>


org.ajax4jsf.VIEW_HANDLERS

org.jboss.portletbridge.application.FaceletPortletViewHandler



javax.portlet.faces.renderPolicy
ALWAYS_DELEGATE



javax.portlet.faces.preserveActionParams

true


org.ajax4jsf.RESOURCE_URI_PREFIX



org.richfaces.LoadStyleStrategy
NONE


org.richfaces.LoadScriptStrategy
NONE


org.ajax4jsf.COMPRESS_SCRIPT
false






javax.faces.DEFAULT_SUFFIX
.xhtml



org.richfaces.SKIN
blueSky



javax.faces.CONFIG_FILES
/WEB-INF/faces-config.xml



facelets.DEVELOPMENT
true


 
javax.faces.STATE_SAVING_METHOD
server



Ajax4jsf Filter
ajax4jsf
org.ajax4jsf.Filter

forceparser
false




ajax4jsf
Faces Servlet
*.jsf
REQUEST
FORWARD
INCLUDE



ajax4jsf
Faces Servlet
/faces/rfRes/*
REQUEST
FORWARD
INCLUDE



FacesServlet
javax.faces.webapp.FacesServlet
1



FacesServlet
/xhtml/*



10



/xhtml/BillingSummary_view.jsf



Portal version is JBoss Portal 2.6.4
JBoss 4.2.2.GA

Obviously I am missing something, can anyone suggest what could be going wrong 
here?
Thanks

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

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


[jboss-user] [JBoss Portal] - Re: Jboss Portal 2.6.5 + JBoss AS 4.2.2 (Clustered)

2008-07-07 Thread fbrubbo
I forgot to say.

I'm using "all" configuration and postgresql 8.3 for PortalDS. Other 
configuration were not changed.

When I use hsqldb for both DefaultDS and PortalDS, I got no exception.

Thanks,
Fernando

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

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


[jboss-user] [JBoss Messaging] - Problem with JBoss

2008-07-07 Thread milkyboss
Hello, I have this problem warking with IDE Eclipse.
Jboss return this message in step di deploy

Buildfile: 
E:\Michele\Lavoro&Studio\eclipse\plugins\org.eclipse.jst.server.generic.jboss_1.5.105.v200709061325\buildfiles\jboss323.xml
deploy.j2ee.ejb:
  [jar] Building jar: 
E:\Michele\Lavoro&Studio\WorkSpace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\CodiceFiscale.jar
 [move] Moving 1 file to C:\jboss-4.2.0.GA\server\default\deploy

and then throw a java.lang.nullpointer...

where is the problem?
thank you for the responses...Hello

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

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


[jboss-user] [JCA/JBoss] - Re: JCA concurrent acces to ManagedConnection problem

2008-07-07 Thread gretteej
Try adding track-connection-by-tx in your -ds.xml file.  Following is the 
description from the JBoss Admin Guide: This element specifies that a 
connection should be used only on a single transaction and that a transaction 
should only be associated with one connection

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

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


[jboss-user] [JBoss Portal] - Jboss Portal 2.6.5 + JBoss AS 4.2.2 (Clustered)

2008-07-07 Thread fbrubbo
Hi all,

I didn't find the bundle with Jboss Portal 2.6.5 + JBoss AS 4.2.2 (Clustered) 
in download section. So I decided to downloaded JBoss AS 4.2.2 and JBoss Portal 
2.6.5 separately, and then follow the "Chapter 2. Installation" from reference 
guide.
At the first time we start it up everything is fine. At any other start up we 
got the following exception.


15:05:01,000 WARN  [arjLoggerI18N] 
[com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator_2] TwoPhaseCoordinator.be
foreCompletion - failed for [EMAIL PROTECTED]
java.lang.RuntimeException:
at 
org.jboss.cache.interceptors.TxInterceptor$LocalSynchronizationHandler.beforeCompletion(TxInterceptor.ja
va:1182)
at 
org.jboss.cache.interceptors.OrderedSynchronizationHandler.beforeCompletion(OrderedSynchronizationHandle
r.java:75)
at 
com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationIm
ple.java:114)
at 
com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:247)
at 
com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:86)
at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:177)
...

Caused by: org.jboss.cache.lock.TimeoutException: write lock for / could not be 
acquired after 15000 ms. Locks: Rea
d lock owners: []
Write lock owner: GlobalTransaction:<192.168.10.1:2857>:321
 (caller=GlobalTransaction:<192.168.10.1:2857>:345, lock info: write 
owner=GlobalTransaction:<192.168.10.1:2857>:32
1 (activeReaders=0, activeWriter=Thread[main,5,jboss], waitingReaders=0, 
waitingWriters=0, waitingUpgrader=0))
at 
org.jboss.cache.lock.IdentityLock.acquireWriteLock(IdentityLock.java:206)
at org.jboss.cache.Node.acquireWriteLock(Node.java:529)
at org.jboss.cache.Node.acquire(Node.java:476)

any idea?

Thanks,
Fernando

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

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


[jboss-user] [JBoss Messaging] - Re: Queue MaxSize Not Obeyed When Using Transacted Sessions

2008-07-07 Thread vishalrao
Hello Andy,

The test for the first case involves using HermesJMS to look at the queue
and make sure it is empty.  And then running the following code:



  | 
  | 
  | import java.util.Date;
  | import java.util.Properties;
  | 
  | 
  | import java.io.IOException;
  | 
  | import javax.jms.Connection;
  | import javax.jms.DeliveryMode;
  | import javax.jms.Destination;
  | import javax.jms.MessageProducer;
  | import javax.jms.Session;
  | import javax.jms.TextMessage;
  | import javax.naming.Context;
  | import javax.naming.InitialContext;
  | 
  | /**
  |  * A simple tool for publishing messages
  |  * 
  |  * @version $Revision: 1.2 $
  |  */
  | 
  | public class ProducerJBM 
  | {
  | 
  | private Destination destination;
  | private int messageCount; 
  | private long sleepTime;
  | private boolean verbose = true;
  | private int messageSize; 
  | private long timeToLive;
  | private String queueName; 
  | private String providerURL;
  | private String connectionFactoryBinding;
  | private boolean transacted;
  |
  | 
  | 
/**/
  | public static void main(String[] args) 
  | {
  | ProducerJBM producer = new ProducerJBM();
  | producer.run();
  | }
  | 
/**/
  | public ProducerJBM()
  | {
  | Properties props = new Properties();
  | try
  | {
  | 
props.load(this.getClass().getClassLoader().getResourceAsStream("jbm.properties"));
  | }
  | catch (IOException ioe)
  | {
  | System.err.println("Error loading jbm.properties.");
  | ioe.printStackTrace(System.err);
  | System.exit(-1);
  | }
  |
  | providerURL = props.getProperty("provider_url"); 
  | messageCount = 
Integer.parseInt(props.getProperty("num_messages_to_send"));
  | if (messageCount == -1)
  | messageCount = Integer.MAX_VALUE;
  | queueName = props.getProperty("queue_name");
  | messageSize = Integer.parseInt(props.getProperty("message_size"));
  | sleepTime = 
Long.parseLong(props.getProperty("producer.sleep_time_ms"));
  | connectionFactoryBinding = 
props.getProperty("connection_factory_binding");
  | transacted = 
Boolean.parseBoolean(props.getProperty("producer.transacted").trim());
  | }
  | 
/**/
  | public void run()  
  | {
  | Connection connection = null;
  | 
  | try 
  | {
  | // System.out.println("Connecting to URL: " + url);
  | System.out.println("Publishing a Message with size " 
  | + messageSize + " to queue" + ": " 
  | + queueName);
  | System.out.println("Sleeping between publish " + sleepTime + " 
ms");
  | if (timeToLive != 0) {
  | System.out.println("Messages time to live " + timeToLive + 
" ms");
  | }
  | 
  | Properties props = new Properties();
  | 
props.setProperty(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
  | props.setProperty(Context.PROVIDER_URL, providerURL);
  | 
props.setProperty(Context.URL_PKG_PREFIXES,"org.jboss.naming:org.jnp.interfaces");
  | 
  | 
  | javax.naming.Context ctx = new InitialContext(props);
  | 
  | javax.jms.ConnectionFactory factory = 
  | 
(javax.jms.ConnectionFactory)ctx.lookup(connectionFactoryBinding);
  | 
  | connection = factory.createConnection();
  | 
  | connection.start();
  | 
  | // Create the session
  | Session session = connection.createSession(
  | transacted, 
  | Session.AUTO_ACKNOWLEDGE);
  | System.err.println("Session transaction mode: " + transacted);
  |
  |destination = session.createQueue(queueName);
  |
  | // Create the producer.
  | MessageProducer producer = session.createProducer(destination);
  | producer.setDeliveryMode(DeliveryMode.PERSISTENT);
  |
  | if (timeToLive != 0) {
  | producer.setTimeToLive(timeToLive);
  | }
  | 
  | // Start sending messages
  | sendLoop(session, producer);
  | 
  | if (transacted)
  | {
  | System.err.println("About to commit the session.");
  | session.commit();
  | System.err.println("Finished commiting the session.");
  | }
  | System.out.println("Done.");
  | 
  | } 
  |

[jboss-user] [JBossWS] - artifacts from wsconsume serializable?

2008-07-07 Thread regget
Hi, is there a way to have the wsconsume tool create artifacts that are
Serializable?

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: 5.0.0CR1: deployment error with @PersistenceContext and

2008-07-07 Thread Juergen.Zimmermann
Thank you! That'sd the solution.

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

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


[jboss-user] [JBoss Messaging] - Re: Queue MaxSize Not Obeyed When Using Transacted Sessions

2008-07-07 Thread ataylor
So i would expect the first to fail as well, I tested this and it failed ok for 
me. Can you post your test so I can see exactly what you are doing

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

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


[jboss-user] [JBoss Messaging] - Re: Queue MaxSize Not Obeyed When Using Transacted Sessions

2008-07-07 Thread vishalrao
"ataylor" wrote : You'll probably find you aren't committing your transaction, 
add a session.commit() and you'll see the exception thrown. 

Hi Andy,

Thanks for the response.  

I am doing a session.commit() and I am seeing the output that shows this
in my code:


  | 
  |// Start sending messages
  | sendLoop(session, producer);
  | 
  | if (transacted)
  | {
  | System.err.println("About to commit the session.");
  | session.commit();
  | System.err.println("Finished commiting the session.");
  | }
  | System.out.println("Done.");
  | 
  | 
  | 
  | 


Here's the interesting thing:

With 0 messages in the queue and MaxSize=20, the transaction
of 200 messages is allowed to commit:



  | 
  | ...
  | ...
  | Sending message: 188
  | Sending message: 189
  | Sending message: 190
  | Sending message: 191
  | Sending message: 192
  | Sending message: 193
  | Sending message: 194
  | Sending message: 195
  | Sending message: 196
  | Sending message: 197
  | Sending message: 198
  | Sending message: 199
  | About to commit the session.
  | Finished commiting the session.
  | Done.
  | 
  | We have reached the finally block.
  | About to close JMS connection.
  | Finished closing the JMS connection.
  | 
  | 

With 200 messages in the queue and MaxSize=20, the transaction
of 200 messags is NOT allowed to commit:


  | 
  | 
  | ...
  | ...
  | ...
  | Sending message: 199
  | About to commit the session.
  | Caught: org.jboss.jms.exception.MessagingTransactionRolledBackException: 
Failed to route Reference[3246080]:RELIABLE to FR.SYNC.RESPONSE
  | org.jboss.jms.exception.MessagingTransactionRolledBackException: Failed to 
route Reference[3246080]:RELIABLE to FR.SYNC.RESPONSE
  | at 
org.jboss.jms.tx.ResourceManager.commitLocal(ResourceManager.java:228)
  | at 
org.jboss.jms.client.container.SessionAspect.handleCommit(SessionAspect.java:557)
  | at 
org.jboss.aop.advice.org.jboss.jms.client.container.SessionAspect26.invoke(SessionAspect26.java)
  | at 
org.jboss.jms.client.delegate.ClientSessionDelegate$commit_8461082169793485964.invokeNext(ClientSessionDelegate$commit_8461082169793485964.java)
  | at 
org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)
  | at 
org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
  | at 
org.jboss.jms.client.delegate.ClientSessionDelegate$commit_8461082169793485964.invokeNext(ClientSessionDelegate$commit_8461082169793485964.java)
  | at 
org.jboss.jms.client.delegate.ClientSessionDelegate.commit(ClientSessionDelegate.java)
  | at org.jboss.jms.client.JBossSession.commit(JBossSession.java:164)
  | at ProducerJBM.run(ProducerJBM.java:122)
  | at ProducerJBM.main(ProducerJBM.java:42)
  | Caused by: javax.jms.JMSException: Failed to route 
Reference[3246080]:RELIABLE to FR.SYNC.RESPONSE
  | at 
org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendMessage(ServerConnectionEndpoint.java:743)
  | at 
org.jboss.jms.server.endpoint.ServerConnectionEndpoint.processTransaction(ServerConnectionEndpoint.java:792)
  | 
  | 
  | 

I'm wondering if the first case here is a bug or a feature.

Thanks,
Vishal

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

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


[jboss-user] [JBoss Messaging] - Re: Exception when starten 2nd node

2008-07-07 Thread mbreuer
Hi Tim, I am still waiting for your response!

Are you just kidding? Or was it a serious question?

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

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


[jboss-user] [JBoss Messaging] - Re: problem with creating Queue with JbossAS 5 Beta4 !

2008-07-07 Thread ataylor
Try changing the name from jms/Ping to Ping or something similar. The default 
context name is /queues so you will look it up  via /queues/Ping.

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

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


[jboss-user] [JBoss Messaging] - Re: problem with creating Queue with JbossAS 5 Beta4 !

2008-07-07 Thread Nouredine13
"Nouredine13" wrote : Hello,
  | 
  | I try to create a Queue on JBoss 5, so I added the following line to 
file:destinations-service.xml situated in deploy/messaging directory:
  | 
  |   
  | @ org.jboss.system.deployers.managed.ManagementObjectClass (code = 
org.jboss.jms.server.destination.QueueServiceMO) 
  | jboss.messaging: 
service = ServerPeer 
  | jboss.messaging: service = PostOffice 
  | 
  | 
  | 
  | after that, i've the following error message at the startup of JBossAS 
5.0.0 Beta4:
  | 
  | 2008-07-07 14:37:22,075 ERROR [org.jboss.messaging.util.ExceptionUtil] 
Queue[/queue/jms/Ping, name=jms/Ping] startService
  | javax.naming.NameNotFoundException: jms not bound
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:542)
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:550)
  | at org.jnp.server.NamingServer.getObject(NamingServer.java:556)
  | at org.jnp.server.NamingServer.rebind(NamingServer.java:165)
  | at org.jnp.server.NamingServer.rebind(NamingServer.java:168)
  | at org.jnp.interfaces.NamingContext.rebind(NamingContext.java:518)
  | at org.jnp.interfaces.NamingContext.rebind(NamingContext.java:482)
  | at 
org.jboss.jms.server.DestinationJNDIMapper.registerDestination(DestinationJNDIMapper.java:142)
  | at 
org.jboss.jms.server.destination.QueueService.startService(QueueService.java:134)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:299)
  | at 
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196)
  | 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:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
  | at 
org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:184)
  | at $Proxy5.start(Unknown Source)
  | at 
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
  | at 
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
  | at 
org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
  | at 
org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
  | at 
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
  | at 
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)
  | at 
org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:255)
  | at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)
  | at 
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)
  | at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)
  | at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)
  | at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622)
  | at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
  | at 
org.jboss.system.ServiceController.doChange(ServiceController.java:659)
  | at org.jboss.system.ServiceController.start(ServiceController.java:431)
  | at 
org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:150)
  | at 
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:108)
  | at 
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
  | at 
org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:65)
  | at 
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
  | at 
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
  | at 
org.jboss.deployers.plugins.deploye

[jboss-user] [JBoss jBPM] - Using multiple tokens

2008-07-07 Thread twiceknightly
Hi,

I am using jbpm to produce a bit of software that allows 3 different people to 
work on a process instance concurrently.  Each of these roles have different 
things they can do to the process instance and they can work concurrently on a 
single process instance.

My process graph has 3 different branches corresponding to the roles.  A new 
token is created for each of the role types.   At the start the tokens traverse 
to the appropriate bit of the process graph for them.

Most of the time these three parts of the process graph don't interact.  So a 
user in a role just merrily closes task related to him/makes traversals to 
other nodes that concern him.  Basically all three tokens (threads) run until 
the process instance is destroyed.  There is no joining of the tokens.

My problem is that occasionally there must be some communication between the 3 
threads.  For example the first token wants to signal the second token into a 
certain state on completion of some work.  On another occassion they want to 
share info in the contextinstance.

The concurrency issues really worry me.  For example if someone is working 
token two via a UI driven client however at the same time token one wants to 
move thread two into a different state.  This could result in a race condition. 
 Thread one updates could be lost.

Any thoughts on how I could have multiple threads running over a process graph. 
 Then periodically I want to be able to synchronize them (perhaps put them into 
a node with no transitions)?  Then I want to perform some action.  Then I want 
to return the tokens to the nodes they were at and return them to running as if 
nothing had happened.  

Could anyone outline how the join node works and how it's synchronization is 
accomplished?  Perhaps that will provide a clue.

thanks in advance!

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

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


[jboss-user] [JBoss Getting Started Documentation] - Re: Install JBOSS 4.2.2 - HELP

2008-07-07 Thread PeterJ
Using port 80:  http://wiki.jboss.org/wiki/JBossOnPort80

Configuring database connections: 
http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Server_Configuration_Guide/beta422/html/Connectors_on_JBoss-Configuring_JDBC_DataSources.html

Deploying apps: 
http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Server_Configuration_Guide/beta422/html/Deployment.html


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

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


[jboss-user] [JBoss Portal] - Re: Help needed on Portlet Personalization

2008-07-07 Thread tamil_jboss
You can refer Dashboard from 2.6.x version

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

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


[jboss-user] [JBoss Messaging] - Re: Messages was not delivered

2008-07-07 Thread ataylor
JBM supports failover when clients lose connection to a node. This is all 
documented in the user docs. http://www.jboss.org/jbossmessaging/docs/index.html

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

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


[jboss-user] [JBoss Getting Started Documentation] - Re: Install JBOSS 4.2.2 - HELP

2008-07-07 Thread nelsonrp24
Hi Peter,
Thanks for you answer. Jboss now run, I Open http://localhost:8080 without 
problem.

Now, i need change the port 8080 to 80, Make Deploy, Connect to Oracle Data 
base. If you have any information about this topic, please give me it.

Best Regards

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

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


[jboss-user] [JBoss Messaging] - Re: Messages was not delivered

2008-07-07 Thread slogger
"ataylor" wrote : Again, i'm not sure what your problem is, I would expect 
these errors when unplugging a network cable.

It necessary for us to provide correctness of work on unstable network 
connections and recovery of delivering after losing connection.

I was found like one in http://jira.jboss.com/jira/browse/JBREM-947. It is 
solution of this problem?


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

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


[jboss-user] [JBoss jBPM] - Re: unable to execute a simple workflow

2008-07-07 Thread ashishc
Ah..I was able to figure out..never mind..thanks..

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

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


[jboss-user] [JBoss Portal] - Re: Implementing Trackback on JBoss Portal (Portlets)

2008-07-07 Thread PeterJ
Um, what is "trackback"?

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

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


[jboss-user] [JBoss Tools (users)] - Hibernate code generation?

2008-07-07 Thread krasig
Hi
 is there any way to customize DAO generation when we do a reverse with 
Hibernate tools?


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

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


[jboss-user] [JBoss Portal] - Re: how to send parameters to a WSRP

2008-07-07 Thread cedseat
I try to manage a portal with a context (a number). When i call a WSRP, i would 
transmit this context to the WSRP. 

I test in local and with the Navigation.getPortalRuntimeContext().getSession(), 
method i happen to exchange information between local portlets. But the 
Navigation.getPortalRuntimeContext().getSession() not run with WSRP because the 
WSRP is execute in an other JVM.

Céd

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4162882

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


[jboss-user] [JBoss jBPM] - Errors in named queries: help-me.

2008-07-07 Thread jbpm_tafroide
Hello,
i'm Brazilian..sorry my english.
I'm using jBPM, but I get the following error:

  | Errors in named queries: GraphSession.deleteJobsForProcessInstance, 
GraphSession.findTokensForProcessInNode, 
JobSession.deleteTimersForProcessInstance, JobSession.suspendJobs, 
JobSession.deleteExecuteNodeJobsForProcessInstance, 
GraphSession.deleteTaskInstancesById, JobSession.resumeJobs
  | 

help me.

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

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


[jboss-user] [JBoss Portal] - Re: how to send parameters to a WSRP

2008-07-07 Thread [EMAIL PROTECTED]
Could you please specify what you want to do?

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

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


[jboss-user] [Clustering/JBoss] - Re: Unknown Multiple Jboss Proccesses

2008-07-07 Thread [EMAIL PROTECTED]
Yeah, the threads thing was a shot in the dark.  I really have no idea.  
Perhaps try posting on a more general forum, maybe 
http://www.jboss.com/index.html?module=bb&op=viewforum&f=61 and see if someone 
has some insight.

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

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


[jboss-user] [Clustering/JBoss] - Re: externalizeSession(): exception

2008-07-07 Thread [EMAIL PROTECTED]
Don't put echopointng.test.TestInstanceNG$TestCaseInvoker in the session.

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

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


[jboss-user] [Security & JAAS/JBoss] - Re: Multiple SSL Connectors

2008-07-07 Thread aiko85
Oh, sorry, here's the server.xml code:


  | 
  |   
  | 
  | 
  | 
  | 

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

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


[jboss-user] [Security & JAAS/JBoss] - Multiple SSL Connectors

2008-07-07 Thread aiko85
Hi!

I've configured JBoss 4.2.1 to use multiple SSL connectors; have modified 
deploy/jboss-web.deployer/server.xml like so:

  




Is it possible now to make it so one application only responds on port 18443 
and the other on port 18444?

Thanks for any help
Anne


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

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


[jboss-user] [JBoss Portal] - Sharing stored information through diff portlets on jboss-po

2008-07-07 Thread felipefo
Hi, 

For now I'm using this code bellow to store information and retrieve specific 
info of the portlet, but I would like two share this variable through diff 
portlets and also have this stored, like to portlets sharing the same stored 
variable.
Is there a way to do that ? I'm using jboss-portal-2.6.4.

public void processAction(ActionRequest request, ActionResponse response) 
throws PortletException {
  | 
  |  PortletPreferences preferences = request.getPreferences();
  |  preferences.setValue(MY_VAR, (String)  request.getParameter(MY_VAR));
  |try {
  | preferences.store();
  | ..
  | 
Thanks.

  

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

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


[jboss-user] [JBoss OSGi] - Drools & import resolution

2008-07-07 Thread pkubryk
Hi,

I currently try to develop an eclipse plug-in with drools rules embedded in.
When writing these rules it's impossible to use rete view, when classes from 
the plug-in dependencies are imported (the classLoader of the 
DroolsEclipsePlugin just can't resolve the class).
The dirty solution we've put in place is to repack drools eclipse plugin to 
signal these dependencies in its manifest.
I'm searching for a solution to make it less static and allow debug functions 
to  work with any dependencies types without changing the manifest of drools 
eclipse plugin.

any ideas ?

Thanks

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

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


[jboss-user] [JBoss Portal] - how to send parameters to a WSRP

2008-07-07 Thread cedseat
Hello,

Is it possible to send parameters to a WSRP? Or share a session?

Céd.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4162863

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


[jboss-user] [JBossWS] - Re: remote authentication=>no route to host found

2008-07-07 Thread pramod_bs
R u sure you have the correct config for MySQL in your *-ds.xml after you moved 
to your server envt from your local envt.
. It seems like theMySQL host communication error.

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

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


[jboss-user] [JBoss Messaging] - problem with creating Queue with JbossAS 5 Beta4 !

2008-07-07 Thread Nouredine13
Hello,

I try to create a Queue on JBoss 5, so I added the following line to 
file:destinations-service.xml situated in deploy/messaging directory:

  
@ org.jboss.system.deployers.managed.ManagementObjectClass (code = 
org.jboss.jms.server.destination.QueueServiceMO) 
jboss.messaging: service 
= ServerPeer 
jboss.messaging: service = PostOffice 



after that, i've the following error message at the startup of JBossAS 5.0.0 
Beta4:

2008-07-07 14:37:22,075 ERROR [org.jboss.messaging.util.ExceptionUtil] 
Queue[/queue/jms/Ping, name=jms/Ping] startService
javax.naming.NameNotFoundException: jms not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:542)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:550)
at org.jnp.server.NamingServer.getObject(NamingServer.java:556)
at org.jnp.server.NamingServer.rebind(NamingServer.java:165)
at org.jnp.server.NamingServer.rebind(NamingServer.java:168)
at org.jnp.interfaces.NamingContext.rebind(NamingContext.java:518)
at org.jnp.interfaces.NamingContext.rebind(NamingContext.java:482)
at 
org.jboss.jms.server.DestinationJNDIMapper.registerDestination(DestinationJNDIMapper.java:142)
at 
org.jboss.jms.server.destination.QueueService.startService(QueueService.java:134)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:299)
at 
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196)
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:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at 
org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:184)
at $Proxy5.start(Unknown Source)
at 
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
at 
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
at 
org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
at 
org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
at 
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
at 
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)
at 
org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:255)
at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)
at 
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)
at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)
at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)
at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622)
at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
at 
org.jboss.system.ServiceController.doChange(ServiceController.java:659)
at org.jboss.system.ServiceController.start(ServiceController.java:431)
at 
org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:150)
at 
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:108)
at 
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
at 
org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:65)
at 
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
at 
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:853)
at 
org.

[jboss-user] [JBoss Messaging] - Re: Not able to connect to remote Queue through Bridge

2008-07-07 Thread jmesnil
"jjacobwip" wrote : Hi,
  | 
  | 
  |   | 
  |   | LocalJMSProvider
  |   | org.jboss.jms.jndi.JNDIProviderAdapter
  |   | XAConnectionFactory
  |   | XAConnectionFactory
  |   | 
  |   | 
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
  |   | 
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
  |   | 
java.naming.provider.url=${jboss.bind.address:localhost}:1100
  |   |  
  |   |  
  |   | 
  | 
  | 

One thing you could try is to prepend java:/ to your FactoryRefs.
e.g.:


  | java:/XAConnectionFactory
  | 

hope it helps,
jeff

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: How to authenticate to the JBoss server from a desktop (

2008-07-07 Thread Marcos_APS
Hello, Jaikiran!

First of all, I'm sorry for the delay in replying to your post. That was 
because I almost don't use internet on weekends, and even though I used it I 
couldn't do anything to answer your post as all my environment to test the 
application is set where I work.

Second, thank you very much for your detailed explanation about what could be 
happening in my application. Thank you for having the patience to produce tests 
to simulate what could be wrong. When you asked me if I was securing my 
application I didn't realised that you could be talking about something like 
the @RolesAllowed and @SecurityDomain annotations. I said I was using 
jboss.xml, but I wasn't. I was meaning jboss-web.xml. That was just a 
typographical error I made.

When I make the changes to secure the application (applying the annotations 
above) the application worked correctly as your tests showed. Indeed, I was 
going to really secure that application, but I hadn't done that yet because I 
thought that it would have not changed anything related with the authentication 
method that we were using.

So, now when I supply I user with the correct role, it can call the right bean 
methods, otherwise an security exception is throw.

So, once again, Jaikiran, thank you very much for your patience and answers in 
this discussion to solve the problems that I was having with my desktop 
application. As I said, that was of paramount importance to me.

Marcos

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

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


[jboss-user] [JBoss Portal] - How to get current User's Role ?

2008-07-07 Thread jboss.techie
Hi ,
How can I retreive logged in user's role? I am using MSSQLDS. 
I have attatched my code here:

  | UserModule usrMod = (UserModule) new 
InitialContext().lookup("java:/portal/UserModule");
  | MembershipModule mbr = (MembershipModule)new 
InitialContext().lookup("java:/portal/MembershipModule");
  | User user = usrMod.findUserByUserName("john"); // username = john
  | Set roles = mbr.getRoles(user);
  | Iterator itr = roles.iterator();
  | while(itr.hasNext()){
  |  Role role = (Role)itr.next();
  |  System.out.println( "ROLE  : "+ role.getDisplayName());
  | }
  | 
It says , Could not find user by name john. (Identity Exception)
But in my database, there is an entry for this username.
Please help me out.
Thanks .


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

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


[jboss-user] [JBoss Portal] - Where should i get std-portlet.tld file???

2008-07-07 Thread amitdon19
Hi All,

whenever i am trying to deploy war file on portal server it shows me an error 
and ask me to add "std-portlet.tld" file in project war.
Anybody can tell me where should i get this file?
Thanks in Advance.

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

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


[jboss-user] [JBoss Messaging] - Re: Exception when starten 2nd node

2008-07-07 Thread mbreuer
"timfox" wrote : "mbreuer" wrote : 
  |   | You are right, jbossas 4.2.2 comes with jbossmq, so it does not 
reference jboss messaging. But newer manuals (5.0.0 beta) have no changes to 
the clustering section, it also adresses jbossmq.
  |   | 
  | 
  | JBoss 5 is still a beta.
  | 
  | If you used EAP 4.3 you would find the documentation already refers to 
JBoss Messaging.
  | 
  | Since you are using 4.2 I assume you are not a paying support customer and 
are relying on free support in this forum.
  | 
  | If you would like to volunteer to "fill the gap" and bring the JBoss AS 5 
documentation up to date, I shall create a JIRA task and assign it you?
  | 
  | What's your JIRA user name?
  | 
  | Thanks for offering to help out :)

:o)

You are confusing me! A doc already is existing for 4.3 (just say paying 
customers).  For 4.2 (say non-paying customers) the doc is missing.
In general i could write a doc filling this gap. But this is a hen-egg-problem. 
How can I get the required information for docs?

Please solve my confusion ... 




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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - lower version that mean 'jboss-4.0.3' then its working.But n

2008-07-07 Thread ps.ganesh
Im doing project in STRUTS.

Im getting Error as
javax.servlet.jsp.JspException: Cannot find ActionMappings or ActionFormBeans 
collection

In my Jsp i specified
 
and in Struts-config.xml

  
  


Im getting Above error only if i deploy my source in 'jboss-5.0.0.Beta4' or 
'jboss-5.0.0.CR1'.
If i do the above(SAME) in LOWER version that mean 'jboss-4.0.3' then its 
working...

plz clarify my doubt

Thanks

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

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


[jboss-user] [Beginners Corner] - lower version that mean 'jboss-4.0.3' then its working.But n

2008-07-07 Thread ps.ganesh
Im doing project in STRUTS.

Im getting Error as
javax.servlet.jsp.JspException: Cannot find ActionMappings or ActionFormBeans 
collection

In my Jsp i specified
 
and in Struts-config.xml

  
  


Im getting Above error only if i deploy my source in 'jboss-5.0.0.Beta4' or 
'jboss-5.0.0.CR1'.
If i do the above(SAME) in LOWER version that mean 'jboss-4.0.3' then its 
working...

plz clarify my doubt

Thanks

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

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


[jboss-user] [JBoss Messaging] - testDistributedQueue queue fails by JBoss-messaging-1.4.0.SP

2008-07-07 Thread saho
Hi All, 
im using JBoss 4.2.2. and  JBoss-messaging-1.4.0.SP3-CP02 with 
null-perisistence config.
I habe 2 JBoss machines at the same cluster, they have the same groupname and 
unique ServerPeer ID.

By the first machine start, JBoss starts gracefully.
But when the second machine starts throws the following exception:


  | java.lang.IllegalStateException: Channel id map for node 2 already contains 
binding for queue 12
  | at 
org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.addBindingInMemory(MessagingPostOffice.java:2380)
  | at 
org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.internalAddBinding(MessagingPostOffice.java:1868)
  | at 
org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.addBinding(MessagingPostOffice.java:449)
  | at 
org.jboss.jms.server.destination.QueueService.startService(QueueService.java:126)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  | at 
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196)
  | at sun.reflect.GeneratedMethodAccessor22.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.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:995)
  | at $Proxy0.start(Unknown Source)
  | at 
org.jboss.system.ServiceController.start(ServiceController.java:417)
  | at 
org.jboss.system.ServiceController.start(ServiceController.java:435)
  | at 
org.jboss.system.ServiceController.start(ServiceController.java:435)
  | 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:302)
  | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
  | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
  | 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.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.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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy9.deploy(Unknown Source)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
  | 

[jboss-user] [JBoss Messaging] - Re: Exception when starten 2nd node

2008-07-07 Thread timfox
"mbreuer" wrote : 
  | You are right, jbossas 4.2.2 comes with jbossmq, so it does not reference 
jboss messaging. But newer manuals (5.0.0 beta) have no changes to the 
clustering section, it also adresses jbossmq.
  | 

JBoss 5 is still a beta.

If you used EAP 4.3 you would find the documentation already refers to JBoss 
Messaging.

Since you are using 4.2 I assume you are not a paying support customer and are 
relying on free support in this forum.

If you would like to volunteer to "fill the gap" and bring the JBoss AS 5 
documentation up to date, I shall create a JIRA task and assign it you?

What's your JIRA user name?

Thanks for offering to help out :)

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

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


[jboss-user] [Beginners Corner] - Re: use file rolling from log4j

2008-07-07 Thread gan.gary
thanks, you clear my doubt. Actually I also checked the log file. Thanks again.

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: 5.0.0CR1: deployment error with @PersistenceContext and

2008-07-07 Thread jaikiran
Just tried out with a simple application. I too see the same exception. Looks 
like a bug. 

If your persistence.xml is in the same jar as the beans, then as a workaround, 
change your injection code as follows:

@SuppressWarnings("unused")
  | @PersistenceContext
  | private EntityManager em;

Specifying a "name" attribute to the @PersistenceContext injection seems to be 
creating the issue.


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

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


[jboss-user] Delivery Notification <[EMAIL PROTECTED], [EMAIL PROTECTED]>

2008-07-07 Thread Postmaster
This is a delivery status notification, automatically generated by MTA 
im2.duc.auburn.edu on Mon, 07 Jul 2008 05:21:09 -0500
Regarding recipient(s) : [EMAIL PROTECTED],[EMAIL PROTECTED]
Delivery status : Failed. Message could not be delivered to domain 
 .Failed while initiating the protocol. <[('[EMAIL PROTECTED]', 
550, '5.1.1 <[EMAIL PROTECTED]>... User unknown'), ('[EMAIL PROTECTED]', 550, 
'5.1.1 <[EMAIL PROTECTED]>... User unknown')]>
MTA Response :550
The original message headers are included as attachment.
Reporting-MTA: dns; im2.duc.auburn.edu

Final-Recipient: rfc822;iliya@eng.auburn.edu
Diagnostic-Code: smtp; 550 5.1.1 ... User unknown
Remote-MTA: dns; 131.204.12.13
Action: failed
Status: 5.0.0

Final-Recipient: rfc822;alexie@eng.auburn.edu
Diagnostic-Code: smtp; 550 5.1.1 ... User unknown
Remote-MTA: dns; 131.204.12.13
Action: failed
Status: 5.0.0
--- Begin Message ---
*** Body Not Included ***
--- End Message ---
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Exception when starten 2nd node

2008-07-07 Thread timfox
"mbreuer" wrote : 
  | The app server 4.2.2 docs don't describe how jms works with new messaging. 
Even there's a note, that future revision will use new jboss messaging. Also it 
notes that messaging will work completely different from jbossmq. 
  | 

What do you expect ?

JBoss AS 4.2.2 contains JBoss MQ *not* JBoss Messaging, so it's obviously not 
going to contain JBM documentation !!

The first version of JBoss AS to contain JBM is AS 4.3.

JBoss Messaging can be installed into JBoss AS 4.2.2 but that means removing 
JBoss MQ as per the instructions in the user guide.

Have you read the user guide?

Hint: Go to jboss.org and follow the links.


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

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


[jboss-user] [JBoss Messaging] - Re: Exception when starten 2nd node

2008-07-07 Thread ataylor
You should find all you need at http://www.jboss.org/jbossas/

anonymous wrote : And last but not least what is your opinion of using jboss 
messaging together with jbossas 4.2.2 in a clustered environment? 

If you want clustered queues or topics and transparent failover this is the way 
to go.

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

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


[jboss-user] [JBoss Tools (users)] - Re: JBoss 4.2.2 GA in eclipse 3.2.1

2008-07-07 Thread manleon
Thanks Rob,

I followed from this link 
http://www.jboss.org/tools/download/index.html

But core packages are not listed. So is it the case that core packages cannot 
be downloaded seperately in jboss tools. I think in JBoss IDE 1.6 there is an 
option to download the core packages seperately.

Is there a certainity that once i download the complete JBoss Tools i will be 
able to work with JBoss 4.2 in Eclipse 3.2. (No offense. I am asking for 
certainity because of a download bandwith problem. My intensions are not to 
bind u with that certainity word.)

Please provide your guide lines.

Thanks in advance.

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

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


[jboss-user] [JBoss Messaging] - Re: Exception when starten 2nd node

2008-07-07 Thread mbreuer
"ataylor" wrote : anonymous wrote : But this does not explain how an failover 
works with an MDB
  | 
  | MDB's are outside the scope of JBM. You can find more information from the 
app server guys or the app server docs.
  | 

;-)

The app server 4.2.2 docs don't describe how jms works with new messaging. Even 
there's a note, that future revision will use new jboss messaging. Also it 
notes that messaging will work completely different from jbossmq. 
The newer 5.0.0 jbossas doc is not accessible for me.
( 
(http://labs.jboss.com/file-access/default/members/jbossas/freezone/docs/Clustering_Guide/beta500/html-single/index.html)

anonymous wrote : 
  | anonymous wrote : 
  |   | You should have if a node crashes, the other must do the work. Messages 
should not be left unprocessed in a (local) queue anonymous wrote : 
  |   | 
  |   | Messages will never be left unprocessed, The MDB on node A will consume 
messages from the queue on node A, and the MDB on node B from the queue on node 
B. If node A goes down, its state is replicated on node B so the messages will 
then be consumed on node B.

:o)

My example even does not work. But as I understand, you are (as 
messaging-developer) out of scope for this problem. Which forum I should post 
to?
Is there another way to get the latest jbossas (beta) docs?

And last but not least what is your opinion of using jboss messaging together 
with jbossas 4.2.2 in a clustered environment? 






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

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


[jboss-user] [JNDI/Naming/Network] - Re: Jboss JNDI / Remote access to datasource

2008-07-07 Thread itsme
Hi,

you're trying to send a local database session (maintained by the container) to 
a remote client. This is for a java.sql.Connection not out-of-the-box possible. 
I suggest you try to fetch a ResultSet from the server instead a connection.

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

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


[jboss-user] [JNDI/Naming/Network] - Re: Jboss JNDI / Remote access to datasource

2008-07-07 Thread bluenote
Hi everyone,

Has anyone got an idea for my problem described above? I'm really stuck on that 
issue.

Thanks for your help,

Michael

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: 5.0.0CR1: deployment error with @PersistenceContext and

2008-07-07 Thread Juergen.Zimmermann
As mentioned before: it's an application that works fine with 4.2.2.

Here is the Interface without any annotation:public interface Bestellverwaltung 
{
  | 
  | Bestellung findBestellungById(Long id) throws 
BestellungNotFoundException;
  | ...

Here is the bean class:@Stateless
  | @Local(Bestellverwaltung.class)
  | public class BestellverwaltungBean implements Bestellverwaltung {
  | @SuppressWarnings("unused")
  | @PersistenceContext(name="hskaPersistence")
  | private EntityManager em;
  | 
  | @EJB
  | private Kundenverwaltung kv;
  | 
  | @EJB
  | private BestellverwaltungDao dao;
  | 
  | @SuppressWarnings("unused")
  | @PreDestroy
  | private void preDestroy() {...}
  | ...

And also the persistence.xml:
  | 
  | http://java.sun.com/xml/ns/persistence";
  |  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |  xsi:schemaLocation="http://java.sun.com/xml/ns/persistence 
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd";
  |  version="1.0">
  | 
  | 
  | org.hibernate.ejb.HibernatePersistence
  | 
  | 
  | java:/hskaDS
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

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

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


[jboss-user] [JBoss Tools (users)] - Re: JBoss 4.2.2 GA in eclipse 3.2.1

2008-07-07 Thread [EMAIL PROTECTED]
The AS Tools portion has dependencies on core and perhaps others. They are not 
listed as optional dependencies. 

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

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


[jboss-user] [JBoss Messaging] - Re: Messages was not delivered

2008-07-07 Thread ataylor
Again, i'm not sure what your problem is, I would expect these errors when 
unplugging a network cable.

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

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


[jboss-user] [JBoss Messaging] - Re: Exception when starten 2nd node

2008-07-07 Thread ataylor
anonymous wrote : But this does not explain how an failover works with an MDB

MDB's are outside the scope of JBM. You can find more information from the app 
server guys or the app server docs.
anonymous wrote : 
  | You should have if a node crashes, the other must do the work. Messages 
should not be left unprocessed in a (local) queue anonymous wrote : 
  | 
  | Messages will never be left unprocessed, The MDB on node A will consume 
messages from the queue on node A, and the MDB on node B from the queue on node 
B. If node A goes down, its state is replicated on node B so the messages will 
then be consumed on node B.

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

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


[jboss-user] [JBoss jBPM] - Message driven bean and jbpm

2008-07-07 Thread [EMAIL PROTECTED]
Hello,

I have a seam project where a process is started by seam through a 
@CreateProcess. Then one node schedule an action using Quartz. The scheduled 
action then sends a JMS which an MDB uses to signal the process to continue the 
execution.

However my problem is that once the MDB signal the process, one node will make 
access to the database. I get problems with transactions and it's a nightmare. 
I tried many things from  annotating the MDB for CMT or BMT with no success. I 
tried injecting the hibernate session into the jbmpcontext but couldn't get my 
hands on the sessionfactory. Before I submit a stack trace, I would just like 
to know what exactly is the right way to go ?? How does one handle this 
transaction mess. It is really hard to find documentation on the subject or 
maybe I don't know where to look.

Any help will be gladly appreciated.

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

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


[jboss-user] [JBoss Tools (users)] - Re: JBoss 4.2.2 GA in eclipse 3.2.1

2008-07-07 Thread manleon
Thanks Rob,

I downloaded the JBossAS Tools version 1.1.2.GA. I only downloaded AS tools 
because i want the most basic functionalit plus i have limited bandwith and 
usage so downloading only the core was the obvious choice(because JBossAS tools 
is just 2.74 MB but the whole package is 60 MB).

But still i am not getting the JBoss 4.2 server option when i try to create a 
new server. Is is so that eclipse 3.2 dose not support JBoss 4.2. It only 
supports upto JBoss 4.0. Is there any other way to add the server in eclipse. 

Please guide me on these lines.

BTW thanks for the prompt support so far.

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

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


[jboss-user] [JBoss Messaging] - Re: Messages was not delivered

2008-07-07 Thread slogger
"ataylor" wrote : I'm not really sure what you're problem is, obviously if you 
unplug the network this will cause errors on either the client or server.
  | 
  | JBM works by sending messages to a client side buffer from which the client 
will consume messages from. This is for performance reasons. If you close the 
connection the consumer will wait to receive any messages that are still in the 
client side buffer, if at this point the server is unreachable the client will 
probably timeout waiting to ack the messages.
  | 
  | 

Hi, Andy!
Thank you very much for answer!

Yes, it throws exception like 'connection reset', but after this 'WARN  
[org.jboss.jms.client.container.ClientConsumer] Timed out waiting for 
last delivery 4 got -1 ' issued and messages delivering is not working :-0(.

Did feature request http://jira.jboss.com/jira/browse/JBREM-891 fix this 
problem?

Please, sorry my English!

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

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


[jboss-user] [Clustering/JBoss] - externalizeSession(): exception

2008-07-07 Thread praveenas
Hi.,

I too got a similar exception with a stack trace as follows:

12:56:12,480 ERROR [JBossCacheService] externalizeSession(): exception occurred 
externalizing session SessionBasedClusteredSession[id: 
HLOwZHvHuqLYftNHai-+4w**.node1 lastAccessedTime: 1215415572415 version: 40 
lastOutdated: 0]
java.io.NotSerializableException: 
echopointng.test.TestInstanceNG$TestCaseInvoker
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:344)
at java.util.HashMap.writeObject(HashMap.java:1019)
at sun.reflect.GeneratedMethodAccessor91.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:623)
at 
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:963)
at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1479)
at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527)
at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492)
at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527)
at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492)
at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:344)
at 
java.util.concurrent.ConcurrentHashMap.writeObject(ConcurrentHashMap.java:1284)
at sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:623)
at 
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:963)
at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1479)
at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:344)
at 
org.jboss.web.tomcat.service.session.SessionBasedClusteredSession.writeExternal(SessionBasedClusteredSession.java:175)
at 
org.jboss.web.tomcat.service.session.JBossCacheService.externalizeSession(JBossCacheService.java:1027)
at 
org.jboss.web.tomcat.service.session.JBossCacheService.putSession(JBossCacheService.java:316)
at 
org.jboss.web.tomcat.service.session.JBossCacheClusteredSession.processSessionRepl(JBossCacheClusteredSession.java:121)
at 
org.jboss.web.tomcat.service.session.JBossCacheManager.processSessionRepl(JBossCacheManager.java:1097)
at 
org.jboss.web.tomcat.service.session.JBossCacheManager.storeSession(JBossCacheManager.java:652)
at 
org.jboss.web.tomcat.service.session.InstantSnapshotManager.snapshot(InstantSnapshotManager.java:49)
at 
org.jboss.web.tomcat.service.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:98)
at 
org.jboss.web.tomcat.service.session.JvmRouteValve.invoke(JvmRouteValve.java:84)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437)
at 
org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:366)
at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:675)
12:56:12,508 ERROR [JBossCacheService] externalizeSession(): exception occurred 
externalizing session SessionBasedClusteredSession[id: 
HLOwZHvHuqLYftNHai-+4w**.node1 lastAccessedTime: 1215415572477 version: 41 
lastOutdated: 0]
java.io.NotSerializableException: 
echopointng.test.TestInstanceNG$TestCaseInvoker
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)
at java.io.ObjectOutputSt

[jboss-user] [JBoss jBPM] - Re: PageFlows on JBPM

2008-07-07 Thread kukeltje
Hmmm no idea... you can turn support for pageflow on in the jbpm config. Not 
sure how to use it from the api though... would be a nice exercise but... for 
me at the bottom of the list

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

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


[jboss-user] [JBoss jBPM] - Re: unable to execute a simple workflow

2008-07-07 Thread kukeltje
the class can probably not be found by the classloader

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

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


[jboss-user] [JBoss jBPM] - Re: Spring JSF jBPM documentation

2008-07-07 Thread kukeltje
anonymous wrote : Just wish that Jboss or a repo puts the jbpm 
jarsavailable.

some are available, just not the latest (yet). Work is being done as part of a 
'consistency project' 

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

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


[jboss-user] [Clustering/JBoss] - Re: Unknown Multiple Jboss Proccesses

2008-07-07 Thread idweiss
I don't think it's threads as I've never see Solaris threads shown as processes 
before, and I've seen that each one of these additional processes do take 
memory (3Gb, as the original JBoss process), and when I stop them the memory is 
released.
The extra processes are seen only a few hours after JBoss is running, and not 
consistently. 

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

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


[jboss-user] [JBoss Messaging] - Re: Exception when starten 2nd node

2008-07-07 Thread mbreuer
I read this document but it gives me no answer. The only section which 
references MDB is the example section. But this does not explain how an 
failover works with an MDB. 
>From reading this forum I learned that jboss messaging prefers the local node 
>as well. 

Let me go back to my ealier example (s.a.) 

You said MDB consume locally. Correct me: i deployed 2 local queue, each on any 
node. I put message to the queue an node A. If node A crashed the messages hang 
in this (local) queue. Right?

Perhaps my approach is wrong. Goal is following scenario:

- any node may produce messages 
- any node may consume messages
- if a node crashes, the other must do the work. Messages should not be left 
unprocessed in a (local) queue

Question:
1. Should the queues be deployed local the any node?
2. Should the queues be deployed as ha-singleton?




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

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


[jboss-user] [EJB 3.0] - Re: exception occurred externalizing session

2008-07-07 Thread jaikiran
anonymous wrote : java.io.NotSerializableException: 
echopointng.test.TestInstanceNG$TestCaseInvoker 

Is this class, which belongs to your application, implementing Serializable 
interface?

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

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


[jboss-user] [JBoss jBPM] - Re: jbpm-bpel. Deploy new process

2008-07-07 Thread Christy
Hi,
It's me again. Can somebody help me? May be there are some documents to read?
Thank you! 

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

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


[jboss-user] [EJB 3.0] - Re: exception occurred externalizing session

2008-07-07 Thread praveenas
Hi.,

I too got a similar exception with a stack trace as follows:

12:56:12,480 ERROR [JBossCacheService] externalizeSession(): exception occurred 
externalizing session SessionBasedClusteredSession[id: 
HLOwZHvHuqLYftNHai-+4w**.node1 lastAccessedTime: 1215415572415 version: 40 
lastOutdated: 0]
java.io.NotSerializableException: 
echopointng.test.TestInstanceNG$TestCaseInvoker
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:344)
at java.util.HashMap.writeObject(HashMap.java:1019)
at sun.reflect.GeneratedMethodAccessor91.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:623)
at 
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:963)
at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1479)
at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527)
at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492)
at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527)
at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492)
at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:344)
at 
java.util.concurrent.ConcurrentHashMap.writeObject(ConcurrentHashMap.java:1284)
at sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:623)
at 
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:963)
at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1479)
at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:344)
at 
org.jboss.web.tomcat.service.session.SessionBasedClusteredSession.writeExternal(SessionBasedClusteredSession.java:175)
at 
org.jboss.web.tomcat.service.session.JBossCacheService.externalizeSession(JBossCacheService.java:1027)
at 
org.jboss.web.tomcat.service.session.JBossCacheService.putSession(JBossCacheService.java:316)
at 
org.jboss.web.tomcat.service.session.JBossCacheClusteredSession.processSessionRepl(JBossCacheClusteredSession.java:121)
at 
org.jboss.web.tomcat.service.session.JBossCacheManager.processSessionRepl(JBossCacheManager.java:1097)
at 
org.jboss.web.tomcat.service.session.JBossCacheManager.storeSession(JBossCacheManager.java:652)
at 
org.jboss.web.tomcat.service.session.InstantSnapshotManager.snapshot(InstantSnapshotManager.java:49)
at 
org.jboss.web.tomcat.service.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:98)
at 
org.jboss.web.tomcat.service.session.JvmRouteValve.invoke(JvmRouteValve.java:84)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437)
at 
org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:366)
at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:675)
12:56:12,508 ERROR [JBossCacheService] externalizeSession(): exception occurred 
externalizing session SessionBasedClusteredSession[id: 
HLOwZHvHuqLYftNHai-+4w**.node1 lastAccessedTime: 1215415572477 version: 41 
lastOutdated: 0]
java.io.NotSerializableException: 
echopointng.test.TestInstanceNG$TestCaseInvoker
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)
at java.io.ObjectOutputSt

[jboss-user] [JBoss Messaging] - Re: Exception when starten 2nd node

2008-07-07 Thread ataylor
anonymous wrote : I expect another node to process these messages. What 
happens, if the local node is not recoverable (e.g. hardware defect)? 

If one node goes down then another node will take over its current state and 
start delivering to its own local MDB. All this can be found in the User 
documentation found at http://www.jboss.org/jbossmessaging/docs/index.html

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - Re: Single Consumer for a queue

2008-07-07 Thread jzimon
If you really choose such solution, I think you could use CLIENTID column in 
JMS users table.

JMS_USERS (USERID VARCHAR(32) NOT NULL, ..., CLIENTID VARCHAR(128) NULL 

Then consecutive user with the same client_id throws Exception during connect. 
I havent tried it , but ocassionally I accidentally I got such excecptions 
during configuring JMS 

regards
jzimon

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

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


[jboss-user] [JCA/JBoss] - Re: jsr 88 and RAR deployment...

2008-07-07 Thread vickyk
"minamti" wrote :  However, JBoss takes an XML file and a RAR file for the 
deployment, unlike an EAR or WAR file.
The xml file basically deploys the Connection Factory for the RA .
-ds.xml deployment should not be considered a part of RAR deployment , you can 
have the -ds.xml file as a part of EAR deployment or separate deployment .

What problem are you facing ?



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

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


  1   2   >