[jboss-user] [JBoss jBPM] - JBPM Simulation

2009-05-18 Thread swatis
Can we put simulation information in process definition xml file? Can we run 
this simulation and generate the reports?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231515#4231515

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231515
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: ERROR [STDERR] javax.naming.NameNotFoundException: RuleE

2009-05-18 Thread naveen.sachar
Hi Raj,

Are you able to resolve this error? I am stuck on the same error when I try to 
deploy  my .ear package on 5.0.1 GA JBOSS. This package gets successfully 
deployed on jboss 4.3.x.

Thanks in advance.

- Naveen

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231517#4231517

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231517
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Stateful bean keep-alive

2009-05-18 Thread xmedeko
Hello Peter,

thanks for your reply. 

PeterJ wrote : Don't set removalTimeoutSeconds, use idleTimeoutSeconds 
instead. ... 

unfortunately, our session bean cannot be serialized from various reasons. I am 
moving an existing, a little bit larger, application into JBoss. It would be 
not easy to make it serializable. (Maybe in the future I will have to do it 
anyway.)

PeterJ wrote : Creating a new client thread might work, but you have to be 
careful. First, the thread must not lookup the EJB itself - you will end up 
with a new EJB, not with the one that you want to keep alive. Therefore, you 
must pass the bean's proxy to the thread. Second, I recommend creating a 
separate method on the EJB that does nothing - the primary purpose of this 
method is for the extra thread to occasionally call it. This should guarantee 
that the state of the bean does not change inadvertently.

Yes, that what I have already done :-)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231519#4231519

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231519
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: JndiUtil - assumes HA-JNDI service is installed

2009-05-18 Thread andyredhead
Hi,

sorry, no I didn't post the stack trace (though the position of the null object 
reference was clear).

There isn't an entry in JIRA yet, I was holding off creating one until someone 
confirmed that I should do... would you like me to?

The issue is definitely the assumption  that the HA JNDI service will be 
running - if I install the HA JNDI service then that throws a NameNotFound and 
then I can see where I made my mistake.

Cheers,

Andy 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231520#4231520

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231520
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - Suggestion for transaction configuration on stateful session

2009-05-18 Thread vettori
Hi,

I'm using jboss 4.2.3. I use a stateful session bean to perform a long and 
complex operation on the entities that can require a lot of database accesses 
and other operations for each entity.

The stateful session bean has a few methods to setup the operation: one is to 
select the set of entities to process, one is to set the number of batches 
and one to set the batch size.

Then there's a method that when called performs the operation on a subset of 
the specified size of the selected entities. This method uses flush and clear 
method of the entity manager to flush changes to disk. This method is called 
from the client once for each batch.

This bean is called from a java app, a sort of batch app that runs once a week. 
It simply select the number of batches and their size and then it calls the 
main method of the bean with a for loop.

The entire job on my actual data set runs for about 40 minutes.
At the end of the process I get an exception, a transaction timeout.
Now I suspect that using the standard transaction configuration, the 
transaction starts when the batch app calls the first bean method and it ends 
when the app destroy the bean. Since the actual jboss tx timeout is set to 600 
seconds this makes the session bean timeout.

What's the best transaction configuration for the bean ? Should I set all 
setup methods to Never and the main method of the bean to requires new ? Or 
should I set all to Never ? Any other hint ?

Thank you for your help.



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231521#4231521

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231521
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: JBoss support in Eclipse

2009-05-18 Thread OChikvina
Also you can try to change the Startup poller to Timeout poller in the server 
editor.
How to do it see  our docs (the 'Server editor' section) 
http://download.jboss.org/jbosstools/nightly-docs/en/as/html_single/index.html#server_editor


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231524#4231524

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231524
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: how to set up CAS server against LDAP

2009-05-18 Thread abartkiv
The target: to launch authorization for simple web application, Apache roller 
and Jboss portal by using CAS

There has been used CAS server version 3.2.1.1, CAS client 2.0 for roller and 
web application; CAS client 3.0.7 for portal. Jboss portal 2.6.4, Roller 4.0 
and Jboss AS 4.2.2

This configuration has been run on 2 jboss nodes. The first one with domain 
node1.jboss.com (CAS, roller and web app) and the second node2.jboss.com 
(portal). You may do that like:

- run -c default -b node1.jboss.com

- run -c default2 -b node2.jboss.com


The installation scenario

1. To install SSL on Jboss. - 
http://i-proving.ca/space/Technologies/JBoss/Configuring+JBoss+SSL - start the 
jboss java process as described 
http://yukon.cv.ua/wiki/index.php/SSL_disable_validation there is only one 
difference: don't export certificate from browser but use the Key Store that 
has been used for establishing Jboss SSL connection 

2. To start CAS server, just copy CAS war file

3 To configure Roller for CAS supporting by using 
http://cwiki.apache.org/confluence/display/ROLLER/Roller+4.0+with+LDAP+and+CAS

4 To configure Portal for CAS supporting by using manual 
http://docs.jboss.com/jbportal/v2.6.4/referenceGuide/html/sso.html

Some tips: As user storage there has been used Roller DB. The same user should 
exist in roller and portal DBs


Install CAS infrastructure under LDAP

1. to launch CAS as well as Roller with LDAP supporting by using 
http://cwiki.apache.org/confluence/display/ROLLER/Roller+4.0+with+LDAP+and+CAS

2. to launch Jboss portal with ldap supporting by using 
http://blog.jboss-portal.org/2007/06/ldap-support-tutorial-for-jboss-portal.html

3. Install Apache directory server as LDAP server

4. To create users and roles by using the following LDIF file 
http://cwiki.apache.org/confluence/download/attachments/69218/roller.ldif?version=2
 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231528#4231528

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231528
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: how to set up CAS server against LDAP

2009-05-18 Thread abartkiv
abartkiv wrote : The target: to launch authorization for simple web 
application, Apache roller and Jboss portal by using CAS
  | 
  | There has been used CAS server version 3.2.1.1, CAS client 2.0 for roller 
and web application; CAS client 3.0.7 for portal. Jboss portal 2.6.4, Roller 
4.0 and Jboss AS 4.2.2
  | 
  | This configuration has been run on 2 jboss nodes. The first one with domain 
node1.jboss.com (CAS, roller and web app) and the second node2.jboss.com 
(portal). You may do that like:
  | 
  | - run -c default -b node1.jboss.com
  | 
  | - run -c default2 -b node2.jboss.com
  | 
  | 
  | The installation scenario
  | 
  | 1. To install SSL on Jboss. - 
http://i-proving.ca/space/Technologies/JBoss/Configuring+JBoss+SSL - start the 
jboss java process  there is only one difference: don't export certificate from 
browser but use the Key Store that has been used for establishing Jboss SSL 
connection 
  | 
  | 2. To start CAS server, just copy CAS war file
  | 
  | 3 To configure Roller for CAS supporting by using 
http://cwiki.apache.org/confluence/display/ROLLER/Roller+4.0+with+LDAP+and+CAS
  | 
  | 4 To configure Portal for CAS supporting by using manual 
http://docs.jboss.com/jbportal/v2.6.4/referenceGuide/html/sso.html
  | 
  | Some tips: As user storage there has been used Roller DB. The same user 
should exist in roller and portal DBs
  | 
  | 
  | Install CAS infrastructure under LDAP
  | 
  | 1. to launch CAS as well as Roller with LDAP supporting by using 
http://cwiki.apache.org/confluence/display/ROLLER/Roller+4.0+with+LDAP+and+CAS
  | 
  | 2. to launch Jboss portal with ldap supporting by using 
http://blog.jboss-portal.org/2007/06/ldap-support-tutorial-for-jboss-portal.html
  | 
  | 3. Install Apache directory server as LDAP server
  | 
  | 4. To create users and roles by using the following LDIF file 
http://cwiki.apache.org/confluence/download/attachments/69218/roller.ldif?version=2
 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231529#4231529

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231529
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Help! Call Web service error!

2009-05-18 Thread lixun
Thank you Peter!

Follow your instruction, I add -verbose:class to JAVA_OPTS to run.bat, when 
jboss starts, I get a long class load list,
In this list, I find these classes either loaded from jboss_home or java_home, 
and not know whick one is the stray JAR file.

With no solution, I copy the whole jboss directory to other windows platform, 
On new windows platform, I call web service successfully!

But On first windows platform, exception still occurs.

My two windows platform have similar Enviroment Setting, and I still in doubt 
what's the root cause of the exception.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231535#4231535

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231535
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - [ERROR] Invalid header

2009-05-18 Thread smartz
I am trying to consume a WSDL using wsconsume from JBossWS-3.1.2.GA, but I am 
unable to do so, if a wsdl:message/wsdl:part node defines a type instead of 
an element.

The error I get is:

[wsconsume] Command invoked: org.jboss.wsf.spi.tools.cmd.WSConsume -k -o 
generated\classes -s generated\src -v wsdl.wsdl
  | [wsconsume] parsing WSDL...
  | [wsconsume] [ERROR] Invalid header SoapHeader in operation Operation: 
part must specify a element attribute
  | [wsconsume]   line 40 of file:/wsdl.wsdl

Please find the WSDL below. Please note it is a perfectly legal WSDL as per W3C 
http://www.w3.org/TR/wsdl#_message, and relative XSD, and that other JAX-WS 
implementations (CXF) consume the WSDL correctly.

?xml version=1.0 encoding=UTF-8?
  | definitions name=wsdl targetNamespace=http://localhost/service/;
  | xmlns=http://schemas.xmlsoap.org/wsdl/; 
xmlns:tns=http://localhost/service/;
  | xmlns:xsd=http://www.w3.org/2001/XMLSchema; 
xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/;
  | 
  | types
  | schema xmlns=http://www.w3.org/2001/XMLSchema;
  | targetNamespace=http://localhost/service/;
  | element name=OperationRequest
  | complexType
  | sequence
  | element name=request 
type=string/element
  | /sequence
  | /complexType
  | /element
  | element name=OperationResponse
  | complexType
  | sequence
  | element name=response 
type=string/element
  | /sequence
  | /complexType
  | /element
  | element name=SoapHeader
  | complexType
  | sequence
  | element name=transactionID 
type=string /
  | /sequence
  | /complexType
  | /element
  | /schema
  | /types
  | 
  | message name=OperationRequest
  | part name=parameters element=tns:OperationRequest/part
  | /message
  | message name=OperationResponse
  | part name=parameters element=tns:OperationResponse/part
  | /message
  | message name=SoapHeader
  | part name=SoapHeader type=tns:SoapHeader /
  | /message
  | 
  | portType name=ServicePort
  | operation name=Operation
  | input name=operationRequest 
message=tns:OperationRequest /
  | output name=operationResponse 
message=tns:OperationResponse /
  | /operation
  | /portType
  | 
  | binding name=Binding type=tns:ServicePort
  | soap:binding style=document
  | transport=http://schemas.xmlsoap.org/soap/http; /
  | operation name=Operation
  | soap:operation 
soapAction=http://localhost/service/Operation; /
  | input name=operationRequest
  | soap:body use=literal /
  | soap:header message=tns:SoapHeader 
part=SoapHeader
  | use=literal /
  | /input
  | output name=operationResponse
  | soap:body use=literal /
  | soap:header message=tns:SoapHeader 
part=SoapHeader
  | use=literal /
  | /output
  | /operation
  | /binding
  | 
  | service name=Service
  | port name=Port binding=tns:Binding
  | soap:address location=http://localhost/service; /
  | /port
  | /service
  | 
  | /definitions

Is this a bug? Shall I open a JIRA for JBWS?
Thanks in advance for any advice, and kind regards.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231536#4231536

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231536
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Getting ClassCast Exception in case of malformed webservice

2009-05-18 Thread gandulf.k
Hi, i'm using jbowss ws native with validation turned on to ensure the requests 
and responses are valid. In case of a xml-valid document the validation is 
working fine and I'm getting validation errors from the validator. But if i'm 
sending back a totally corrupt xml message, missing closing tags, etc. then i'm 
getting the following exception which is not very intuitive:


  | Caused by: javax.xml.ws.WebServiceException: java.lang.ClassCastException: 
org.jboss.ws.core.soap.TextImpl cannot be cast to 
org.jboss.ws.core.soap.SOAPElementI
  | mpl
  | at 
org.jboss.ws.core.jaxws.client.ClientImpl.handleRemoteException(ClientImpl.java:404)
  | at 
org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:314)
  | at 
org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:172)
  | at 
org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:152)
  | at $Proxy311.bookOrders(Unknown Source)
  | at 
com.skidata.dta.server.co.v3_0.classic.impl.BookOrdersHelper.invoke(BookOrdersHelper.java:46)
  | ... 12 more
  | Caused by: java.lang.ClassCastException: org.jboss.ws.core.soap.TextImpl 
cannot be cast to org.jboss.ws.core.soap.SOAPElementImpl
  | at 
org.jboss.ws.core.CommonSOAPBinding.getParameterFromMessage(CommonSOAPBinding.java:894)
  | at 
org.jboss.ws.core.CommonSOAPBinding.unbindResponseMessage(CommonSOAPBinding.java:634)
  | at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:380)
  | at 
org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:302)
  | ... 16 more
  | 

I digged into the code a little bit and found out that the actual XML parser 
exception which i'd like to get is ignored because the 
SOAPMessageUnMarshallerHTTP is creating a MessageFactory with ignoreParseErrors 
= true. (line 82 in 3.1.1 source)

  |MimeHeaders mimeHeaders = getMimeHeaders(metadata);
  | soapMsg = getMessageFactory().createMessage(mimeHeaders, 
inputStream, true);
  | 
Which catches the Parse Excpetion and simply returns null in case of a parse 
error. 

Is there another way than changing the source code to change this behaviour, 
because i'd like to use the original distribution and not apatched one which 
will be a mess to update later...

thanks gandulf


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231537#4231537

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231537
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Implementing WS-Security Usename Token Profile Authentic

2009-05-18 Thread alessio.sold...@jboss.com
The Username Token Profile is about setting username/pwd through SOAP Headers. 
Specify the property auth type to prevent the username from being used in the 
HTTP header:
((BindingProvider)port).getRequestContext().put(StubExt.PROPERTY_AUTH_TYPE, 
StubExt.PROPERTY_AUTH_TYPE_WSSE);

SAML tokens not supported yet.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231540#4231540

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231540
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: HTTP Status 500 - No authenticated user while accessing

2009-05-18 Thread mabimal
Hello mathewa,

Further more i would like to request you one thing that, Actually i m getting 
everything, except dashboard URL and configure dashboard URL, plus dashboard 
functionality. Infact I am under /portal/auth and there if i login as admin 
then admin appears and it's fully functional.

So any solution for it please.

Regards,
Mabimal

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231541#4231541

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231541
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Recomended way to build server and client with maven?

2009-05-18 Thread alessio.sold...@jboss.com
wsconsume is currently called in the jbossws-framework build to generate 
classes for a couple of tests. Take a look at the sources.
Besides that, I've filled this: https://jira.jboss.org/jira/browse/JBWS-2650

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231542#4231542

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231542
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: secure hello world exemple

2009-05-18 Thread alessio.sold...@jboss.com
Take a look at the src distribution; there're both tests using ws-security and 
basic http auth.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231543#4231543

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231543
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Help! Call Web service error!

2009-05-18 Thread lixun
My First Windows is XP , and the later is Server 2003, is that the root cause?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231544#4231544

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231544
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: MTOM enabled WS using SSB throws OOME

2009-05-18 Thread alessio.sold...@jboss.com
Please fill in a JIRA for this. Also trying with jbossws-cxf would be 
interesting.
Afaik the MTOM spec is about optmizing what goes to the wire, but generally 
speaking I agree on what you say regarding the way attachment are handled by 
the stack.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231548#4231548

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231548
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Global client handler chain

2009-05-18 Thread alessio.sold...@jboss.com
Take a look at the JAX-WS spec regarding programmatically setting handlers on 
client side.
Besides that, there's standand-jaxws-client-config-xml that can be used (as 
well as any custom configuration file similar to that) to configure handlers on 
client side.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231549#4231549

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231549
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Mail node with file attached

2009-05-18 Thread Sujatha
sorry..i could not understand..

are you suggesting that i change the jbpm code..if so i would dont want to do 
that as i may not be able to upgrade my JPDL in future and my project is going 
to become unmanageable..

is there any other way i can work around the existing jpdl

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231551#4231551

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231551
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: WS-Security EJB / Spring WS

2009-05-18 Thread alessio.sold...@jboss.com
Evaluate using JBossWS-CXF or JBossWS-Metro which support WS-SecurityPolicy. 
That's currently the standard way of configuring and using WS-Security.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231552#4231552

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231552
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: dynamic proxy client fails

2009-05-18 Thread alessio.sold...@jboss.com
The need for setting the endorsed dir is already mentione din the doc, perhaps 
we should clarify this better when talking about client side, thanks.

Btw the Sun's exception should generally a pointer to the fact the Sun's jaxws 
impl is being used instead of the native one.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231553#4231553

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231553
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: [ERROR] Invalid header

2009-05-18 Thread alessio.sold...@jboss.com
Please try directly using the Sun's tools. The exception you get comes from the 
Sun's impl (the jbossws-native jaxws tooling is basically wrapper of the Sun's 
one). If you still get the exception, please fill it directly to Sun. Othere 
wise post here again and create the jira on the JBWS project JIRA. Thanks.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231554#4231554

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231554
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: failed to lazily initialize a collection of role:

2009-05-18 Thread negora
bcowdery: First of all excuse my delay to answer you, but I thought that I had 
already done it. I'm sorry for that ;) .

Your explanation is very interesting to me. I'm using Stateless Session Beans 
in a very little environment (compared to a clustered one) so many of the 
concepts which you mentioned still are a little unfamiliar to me (I'm a rookie 
yet :P ). However, I'm gonna save a copy of this message for future reference. 
I'm sure that it will be really useful.

The first part of the explanation has solved all my doubts. Basically I'll try 
to avoid to use that kind of lazy operations out of the method which I use to 
retrieve the desired entity. Indeed I'm already applying that methodology and 
it's working very well :) .

Again, thank you very much for spending your time in helping me ;) .

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231555#4231555

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231555
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Getting ClassCast Exception in case of malformed webserv

2009-05-18 Thread alessio.sold...@jboss.com
The validation you turn on is a schema validation. Catching exception regarding 
bad xml is something different. This said, please fill in a jira about this, we 
might evaluate removing the ignoreParseErrors=true flag.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231557#4231557

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231557
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Getting ClassCast Exception in case of malformed webserv

2009-05-18 Thread gandulf.k
ok i reported an issue for it:

https://jira.jboss.org/jira/browse/JBWS-2651

thanks gandulf[/url]

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231563#4231563

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231563
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss AOP] - Interceptor invoked in context of Servlet but not JSP

2009-05-18 Thread alen_ribic
I have an Interceptor that intercepts the Hibernate's 
LazyInitializationException. I also have Load Time Weaving turned on. This 
interceptor works well when called from within the context of the Web 
Application Servlet. (By well I mean the LazyInitializationException does get 
thrown and my Interceptor handles it.)

However, from Servlet to JSP context, my interceptor does not get invoked.

My JSP file has a simple call like this to an detached entity:

td${actionBean.user.department.users}/td

The .users part throws the LazyInitializationException and should have been 
cough by my interceptor. The interceptor debug log doesn't run at all so I know 
the interceptor is not being called.

Same example with detached entity but in my Servlet that actually works:


  | User user = getUserServiceRemote().getUser(getUserId());
  | log.debug(Users:  + user.getDepartment().getUsers());
  | 

In the above, the .getUsers() part throws the LazyInitializationException and 
does get cough and handled by my interceptor.

Why does the JSP version not get intercepted?
Only thing I can think of is that the JSP version actually calls the 
Department.users attribute directly and not the getter. My pointcut is set on 
the getters only and not fields(attributes).

Thanks in advance.
-Al

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231565#4231565

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231565
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JBPM Simulation

2009-05-18 Thread kukeltje
I assume you are familiar with 
http://www.camunda.com/jbpm_simulation/jbpm_simulation_tutorial.html

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231566#4231566

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231566
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Mail node with file attached

2009-05-18 Thread kukeltje
I would suggest you learn/read some basic jBPM stuff about actionhandlers on 
nodes first. 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231568#4231568

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231568
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Mail node with file attached

2009-05-18 Thread swatis
what he meant is to extend the existing Mail class and put your attachment code 
in this custom mail class and use this class as actionhandler class.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231570#4231570

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231570
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Clustered Sessions

2009-05-18 Thread mrat...@asite.com
We are using Jboss 4.2.2 with Buddy Replication for clustering. 
I have stopped all the cluster nodes running Jboss Application and start it one 
by one. I get following log on all the nodes of cluster. Shouldn't these 
session information should be removed if I restart complete cluster ?
Please help

Server Log

anonymous wrote : 2009-05-18 07:05:23,623 DEBUG 
[org.jboss.web.tomcat.service.session.JBossCacheManager] Creating an empty 
ClusteredSession
  | 2009-05-18 07:05:23,639 DEBUG 
[org.jboss.web.tomcat.service.session.SessionIDGenerator] getSessionId called: 
ixiVryaGqdX0o7IsKmSiUg**
  | 2009-05-18 07:05:23,639 DEBUG 
[org.jboss.web.tomcat.service.session.JBossCacheManager] Session with 
id=ixiVryaGqdX0o7IsKmSiUg** added. Current active sessions 7
  | 

jboss-service.xml

anonymous wrote : 
  | 
  | 
  | false
  | org.jboss.cache.buddyreplication.NextMemberBuddyLocator
  | 
  | numBuddies = 1
  | ignoreColocatedBuddies = true
  | 
  | 
  | default
  | 2000
  | 
  | false
  | true
  | true
  | 
  | 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231575#4231575

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231575
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Deployment of a J2EE1.3 application fails on JBoss4.2.2

2009-05-18 Thread groovie
Salut,

i have successfully set up a JEE1.4 environment for to test
and run my applications using EJB3. Fine!

Some days ago i started a migration project, where an
old JEE Application has to move from an  Oracle-App-Server
to JBoss. So i created a new development-context using
EclipseJboss-Tools transfered also the ole JDevelopper
to Eclipse.

The migration is finished, instread of the oracle-descriptor
now there is jboss.xml file doing the job. EAR-Build 
does create a app.ear that i am trying to deploy on my
JBoss 4.2.2 (under Linux, with JAVA 1.6), but i do receive
the following exception:

11:56:32,447 WARN  [ServiceController] Problem creating service 
jboss.j2ee:service=EjbModule,module=myAppEJB.jar
org.jboss.deployment.DeploymentException: Missing or invalid Instance Cache (in 
jboss.xml or standardjboss.xml); - nested throwable: 
(java.lang.ClassNotFoundException: No ClassLoaders found for: )
at org.jboss.ejb.EjbModule.createInstanceCache(EjbModule.java:1234)
at 
org.jboss.ejb.EjbModule.createStatefulSessionContainer(EjbModule.java:646)
at org.jboss.ejb.EjbModule.createContainer(EjbModule.java:579)
at org.jboss.ejb.EjbModule.createService(EjbModule.java:342)

The exception seems to occur in the context of a stateful session bean.
Thats right, my application has a couple of stateless and stateful
session beans, that habe been configured on both descriptor file.

Does the error indicate, that the application has problems to 
persists the data of a statefull session bean ??
Some postings on the web inidicate, that i do have to do some
container-configuration in my jboss.xml, but i do not know how ?

Oh, there is another thing i should tell you. I do have 2 datasources,
one of them is linked to a read-only oracle-access. When i worked
with EJB3 i learned to map persistenc-issues in my persistence.xml
to prevetent ambiguous object mapping, but i do not have any 
persistence.xml in my EJB2.x !!!

Thank you in advance for any help!
Groovie


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231582#4231582

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231582
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: Connect JBOSS with SAP (JCo)

2009-05-18 Thread jeff.zhang
http://www.techjava.de/projects/sap-bapi-jca-adapter/

maybe helpful

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231583#4231583

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231583
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss AOP] - Re: Interceptor invoked in context of Servlet but not JSP

2009-05-18 Thread alen_ribic
Ok the Entity class relationship defined on the Department.getUsers is 
@javax.persistence.OneToMany and thats on the getter and not the attribute.
So, JSP could not be calling the attribute directly as the 
LazyInitializationException is thrown and @OneToMany that would cause it is 
defined on the getter.

My jboss-aop.xml if defined in a separate jar file in the root of the .ear.



  | MyEAR.ear/
  | |
  | |-MyEJBClient.jar/
  | |  |
  | |  |- META-INF/jboss-aop.xml
  | |  |
  | |  |- com.mycomp.aop.myinterceptors.*
  | |  |- com.mycomp.entity.*
  | |
  | |-MyWebApp.war/
  ||
  || the Servlets + JSP
  | 


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231584#4231584

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231584
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: Howto use custom jdbc driver with OracleXADatasource?

2009-05-18 Thread jeff.zhang
I guess your configuration is not correct. Maybe you use custom driver URL but 
using oracle template ds.xml.

From your error msg:
anonymous wrote : 
  | org.jboss.resource.JBossResourceException: Could not create connection; - 
nested throwable: (java.sq
  | l.SQLException: Invalid Oracle URL specified: OracleDataSource.makeURL)
  | at 
org.jboss.resource.adapter.jdbc.xa.XAManagedConnectionFactory.createManagedConnection(XAManagedC
  | onnectionFactory.java:155)
  | 


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231585#4231585

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231585
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Can portal instances be mapped dynamically to JSP/HTML pages

2009-05-18 Thread shubhz

if-existsoverwrite/if-exists

instance-idMyFirstPortletHeaderInstance/instance-id
portlet-refMyFirstPortlet/portlet-ref


PageTitle
Shubhz Portal


JSPPage
/pages/header.html





I would like to assign header.html on the fly to MyFirstPortletHeaderInstance 
using Admin Portlet

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231588#4231588

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231588
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - JNP lookup from multi-homed client

2009-05-18 Thread FrankTheTank
Hello all,

in a 'typical' setup the JNP lookup for the partition name works fine.

But on one of my (WinXP) PCs, that has two network cards, it will not do the 
lookup.

This works:
(output from a test jar):
eth0 in on one network along with the server.
eth1 is on another network.

This does not:
eth0 is on another network.
eth1 in on one network along with the server.

The interface order of the OS is ok (the one network where the server is on is 
the first one).

Is it possible to tell the lookup which interface(s) to use?

thanks

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231597#4231597

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231597
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss/Spring Integration] - Re: Spring Component Auto Detection

2009-05-18 Thread trybik
Tried it, works fine! Thank you, Marius!

There is still one thing pending, though. It is not something I need, but it 
might be an issue for someone else.
I am talking about scanning for beanRefContext.xml files - see my post on Mon 
May 11, 2009 10:13 AM.
As I mentioned, I do not need it, since LAMS has currently only one such file 
and I can give the path explicitly. But one of the features of 
ContextSingletonBeanFactoryLocator is that it can merge several such files and 
create contexts based on the result. This can be very useful in some cases.

Right now PathMatchingResourcePatternResolver is used and it causes errors. I 
am guessing that VFSResourcePatternResolver should be used, but is there a way 
to make Spring do it? Something similar to contextClass parameter?

I tried to set contextClass to VFSClassPathXmlApplicationContex and, as 
expected, it did not work.

Marcin

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231599#4231599

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231599
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JBPM Simulation

2009-05-18 Thread swatis
Yes Ronald

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231613#4231613

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231613
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Assigning the same port for web server and naming

2009-05-18 Thread rona22
jboss AS5
I tried using jndi over http but got this error:

09:51:21,848 ERROR [AbstractKernelController] Error installing to Start: 
name=jboss:service=NamingBeanImpl state=Create
mode=Manual requiredState=Installed
java.lang.NullPointerException
at 
org.jboss.naming.HttpNamingContextFactory.getInitialContext(HttpNamingContextFactory.java:75)
at 
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at 
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.(InitialContext.java:175)
at org.jnp.server.NamingBeanImpl.start(NamingBeanImpl.java:159)


Do you know which files I need to modify in order to use jndi over http?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231628#4231628

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231628
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: JNP lookup from multi-homed client

2009-05-18 Thread FrankTheTank
Correction:
It will not work on either setups.
It will *only* work if there is one network card.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231630#4231630

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231630
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Creating .HAR archives with JBoss Tools. Possible ?

2009-05-18 Thread dimar1975
Hi all,
I need to package an Utility Project as .har archive instead of .jar.
Is there a shortcut in JBoss tools which allows to choose the suffix of your 
archived application?

At the moment the only solution I can see is manually changing the suffix or 
using the Export utility.
However the .har archive is part of an .ear application, so even if I export 
the application as .har then it's not linked to the main .ear 
application...
thanks
marco


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231632#4231632

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231632
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: JAXWS WSConsume Custom Defined Package Code Generation I

2009-05-18 Thread meet_ravip
Heo,
  Can some one reply back,I a stuck with this issue

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231633#4231633

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231633
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Jboss not correctly starting

2009-05-18 Thread jlankfo
Sorry if this isn't the right place for this because it may be more of an 
eclipse plugin problem but I am attempting to start the jboss server via 
eclipse and the server starts correctly because I see the line below and I can 
navigate to my pages.

08:54:04,539 INFO  [ServerImpl] JBoss (Microcontainer) [5.0.1.GA (build: 
SVNTag=JBoss_5_0_1_GA date=200902232048)] Started in 1m:18s:432ms

However eclipse doesn't recognize that its started and still claims that its 
starting... so after the timeout its up the server is then stopped. I did 
make some configuration changes that seem to cause the issue. I am running 
monitoring software so i had to reconfigure jboss in 
jboss\server\default\conf\bootstrap\bindings.xml to not use ports 1098-1102. I 
just bumped them all up to the next availible ports... so 1098 changed to 1103, 
1099 to 1104 and so on. Reconfiguring the monitoring software is not really an 
option. Thanks in advance for any help.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231636#4231636

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231636
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Add content to CMS via Portlet dynamicly with Java

2009-05-18 Thread TdeVos09
Hi,

I am generating such files (PDF, XLS or somthing else) with Java dynamicly in a 
Portlet.

Now I want to store the generated file out of the portlet in the CMS-Content in 
a given folder.

Can anyone give me a solution how I can access the CMS-Content from a binding 
bean underneath a rich faces page and which Jar-Files I need for it?

Many thanks.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231644#4231644

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231644
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Support of J2EEDeployer and AutoDeployer in jboss-5.0.1

2009-05-18 Thread mpogra
Suppose i have a table named Order_details and in subsequent releases of the 
application i need to add one more column to it or i want to crate index on 
some columns. So how can i achieve it?

Well i have one more question as : Is it always necessary to deploy whole 
application ear file if there is only change in one JSP file? 

For e.g. I have a complete ear of application and I have released it. Now if 
there is a bug in one file and I only want to release that file in next patch, 
so how can I achieve it as well? Because as per my knowledge (May be I wrong) 
it is required to deploy whole ear/war always even if there's a small change in 
a single file.

Thanks in advance.

Regards,
Mahesh

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231646#4231646

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231646
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: Facing Reincarnation Error?

2009-05-18 Thread jtcnz
Thanks Bela...

But version 2.6 bases on JDK1.5. We are using 1.4.2 and could not be upgraded 
for other applications.

Nevertheless, I have given up the TCP and use UDP configuration now.
It works more smooth.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231647#4231647

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231647
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: Facing Reincarnation Error?

2009-05-18 Thread b...@jboss.com
OK, good. I stronly suggest to upgrade your JDK though... JDK 1.5 is EOL and 
will not be supported by SUN this year, let alone JDK 1.4...

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231649#4231649

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231649
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: Session replication with sticky session

2009-05-18 Thread sureshrk19
Help please!!!

I'm badly stuck at this point.

Thanks,
Suresh

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231650#4231650

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231650
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Management, JMX/JBoss] - Problem with Jboss Monitors

2009-05-18 Thread dhsodani
Hi All,
I have configured one StringThresholdMonitor for my custom MBean for equality 
test.I have also configured one EmailAlertListenerfor this monitor.

The problem is When I provide the value for the observed attribute for the 
first time from jmx console i receive the email correctly.But after that I do 
not receive any mails even if i change the values for the observed attribute.

I am not getting that whether the monitor/alert mechanism work for one time 
change in the observed value or its continuous process.I am looking some way to 
make it continuous monitoring/alert mechanism.Please help me to solve this 
issue.

Here are the excerpts from my config files:


  | 
  | 
  | Please help me in this regard.
  |  mbean code=org.jboss.monitor.StringThresholdMonitor
  |name=jboss.monitor:service=TestMonitor
  |   attribute name=MonitorNameTest Monitor/attribute
  |   depends 
optional-attribute-name=ObservedObjectjmx.test:service=HelloWorld/depends
  |   attribute name=ObservedAttributeMessage/attribute
  |   depends-list optional-attribute-name=AlertListeners
  |   
depends-list-elementjboss.alerts:service=EmailAlertListener/depends-list-element
  |   /depends-list
  |   attribute name=Thresholdtest/attribute
  |   attribute name=Period1000/attribute
  |   attribute name=EqualityTriggersAlerttrue/attribute
  |   attribute name=Enabledtrue/attribute
  | /mbean
  | 
  | 
  | mbean code=org.jboss.monitor.alerts.EmailAlertListener   
name=jboss.alerts:service=EmailAlertListener
  | dependsjboss:service=Mail/depends
  | attribute name=AlertNameEmail Alert/attribute
  | attribute name=Todh...@sgsits.ac.in/attribute
  | attribute name=Froms...@impcustom.com/attribute
  | attribute name=ReplyTos...@impcustom.com/attribute
  | attribute name=SubjectTemplateMonitor Alert/attribute
  | attribute name=MessageTemplateThere seems to be some problem with 
the monitor/attribute
  | /mbean

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231652#4231652

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231652
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Some benchmarking or testimonials on using APR Native on JBo

2009-05-18 Thread rodfreire
Dear pros,

I'm considering setting up the APR Native on an JBoss.com 4.3.0_GA customer, 
heavily loaded JBoss production server farm (balanced by mod_jk).

However, I couldn't find any benchmark, tests, comments, testimonials or 
whatever else in the internet.

So;

Anyone has an love or nightmare story to tell about it?

Thanks a lot,

RF.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231653#4231653

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231653
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Setting the start date

2009-05-18 Thread osvaldo.pina
One of our team members found a solution for this problem:

taskInstance.getStart().setTime(c.getTimeInMillis());

It breaks encapsulation but it's the best solution we were able to find!


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231660#4231660

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231660
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Help! Call Web service error!

2009-05-18 Thread PeterJ
You have he perfect setup to track down the issue.  Add -verbose:gc to both 
run.bat files and then compare the results, you should find that on XP some of 
the classes are being loaded from somewhere different that where they are being 
loaded on Server 2003.

I assume you are using the exact same version of the JDK on both platforms.

And here is an interesting thing to try: install the latest patch level for 
your JDK on XP and see if that works. When I ran into a similar issue several 
years ago, though in a build environment instead of a run environment, it 
turned out that some other group was being lazy and copied a JAR file int the 
JDK's endorsed directory. The build guy could never figure out why the problem 
always got fixed when he installed a new JDK.

I run on XP and Server 2003 without any issues.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231671#4231671

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231671
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Jboss not correctly starting

2009-05-18 Thread PeterJ
You will have the change the ports that Eclipse uses to monitor JBoss AS. 
Without telling Eclipse about the new port assignments, it cannot tell when the 
app server is running.

Edit 
eclipse/plugins/org.eclipse.jst.server.generic.jboss_1.5.206.v20090115/servers/jboss5.serverdef

The version number and date on your system might be different - I got this from 
Eclipse 3.4.2.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231673#4231673

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231673
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Problem with logs

2009-05-18 Thread chuchuaguilera
ERROR: invalid console appender config detected, console stream is 
looping2009-05-12 16:52:09,984 DEBUG 
[ve.gob.mf.sigecof.oocp.gasto.pddSolicitudCuotaCompromiso.actions.PDDSolicitudCuotaCompromisoAction]
 entrando al PDDSolicitudCuotaCompromisoAction 
  | 2009-05-12 16:52:09,984 DEBUG 
[ve.gob.mf.sigecof.oocp.gasto.pddSolicitudCuotaCompromiso.actions.PDDSolicitudCuotaCompromisoAction]
 se leeran los parametros para mostrar las decisiones 
  | 2009-05-12 16:52:09,984 DEBUG 
[ve.gob.mf.sigecof.comunes.pdd.actions.PDDGenericoAction] obteniendo los 
parametros de invocacion 
  | 2009-05-12 16:52:09,984 DEBUG 
[ve.gob.mf.sigecof.comunes.pdd.actions.PDDGenericoAction] aplicando la 
conversion a los parametros necesarios 
  | 2009-05-12 16:52:09,984 DEBUG 
[ve.gob.mf.sigecof.comunes.pdd.actions.PDDGenericoAction] colocando los 
parametros en el AF 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231674#4231674

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231674
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Support of J2EEDeployer and AutoDeployer in jboss-5.0.1

2009-05-18 Thread PeterJ
If you create an index or add a table column, redeploying the app should be 
sufficient. You might also have to redeploy the *-ds.xml file.

You can change a JSP file without redeploying, though there is a setting in the 
global web.xml that governs this. (And I have a vague recollection of an issue 
with this in 5.0.0, but I cannot recall if that was with GA or one of the CRs 
or Betas.)

As far as redeploying an arbitrary file - that depends on the type of file:

* Static files (images, CSS, HTML, etc.) should be picked up automatically, 
though the users will have to hit the refresh buttons on their browsers to 
force the browser to reload the file.

* JSPs I already covered.

* Property and configuration files read by your app depend on your app - if it 
reads those files only once and never checks for updated then they will be 
ignored until you redeploy the app - but this is the fault of your code.

* Class and JAR files require the app to be redeployed.

For those cases where the app needs to be redeployed, provide an updated 
application.xml file - that will cause the app server to redeploy the app.

Another possibility - I usually recommend that the hot deployer be turned off 
in a production environment. Doing so prevent surprises should something be 
accidentally changed. In such a situation, you can redeploy an app by having a 
script that first copies the updated files and then calls the MainDeployer 
mbean to redeploy the app.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231676#4231676

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231676
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Mail node with file attached

2009-05-18 Thread Sujatha
thanks swatis..i will definitely try that..

kukeltje..i am new to JPDL that is why sometimes i ask questions which are 
basic..i am doing my bit of reading but i do need to understand where to look 
for what..that is why i raised the question. please dont be harsh in your 
answers..



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231679#4231679

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231679
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Problem with logs

2009-05-18 Thread chuchuaguilera
Hi Peter, Sorry I coudn't answer before. The previuos is an extract of the 
server.log when it stop logging. I could notice that it always stop inthe same 
place, doing the same thing. I don't know, because I'm not a developer, if it's 
caused by a java class or something. The version of Jboss is 4.3 AS.
I tried before eliminating the telnet appender, I used the original 
jboss-log4j.xml, a fresh one. But the same result. And, when I said stops 
logging, it really stops, in all the appender I've used. Thanks in advance for 
your effort. Finally I just want you to know that we decided to go to the 
production environment with this problem over us, but it was necessary because 
we couldn´t continue afford the oracle's solution. I have now the 
responsability of doing it work This is another reason to say THANKS for 
your time.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231681#4231681

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231681

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


[jboss-user] [JNDI/Naming/Network] - Global JNDI and SSL

2009-05-18 Thread sideshowbob
Hi, 

I'm experiencing a problem with JBoss 4.2.3 and Global JNDI when SSL is enabled.

The Global JNDI (use-java-context set to true) doesn't get bound and I have not 
found any references to this anywhere. All other data sources bind fine, just 
not the one defined as Global. All the SSL stuff is working fine with our other 
JNDI definitions.

Does anyone know if it is actually possible to use Global JNDI with SSL?

Thanks
/Bob

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231688#4231688

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231688
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: HTTP Status 500 - No authenticated user while accessing

2009-05-18 Thread mathewa
ah sorry... extend the IdentityLoginModule. this does give you a commit method 
to override and also uses config to authenticate the user via the database.



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231689#4231689

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231689
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Problem with logs

2009-05-18 Thread PeterJ
If you are using 4.3, you should have a support contract with Red Hat because 
the 4.3 version is available only via the support web site. You might want to 
contact support and have them look at it. The only time I have ever seen 
logging stop is when someone changed the logging configuration to turn it off.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231690#4231690

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231690
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JBPM Simulation

2009-05-18 Thread kukeltje
But that article does answer your questions afaict

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231694#4231694

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231694
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Jboss not correctly starting

2009-05-18 Thread jlankfo
Thanks, Initially this didn't work; however this coupled with updating my 
version of AS Tools fixed everything. :)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231695#4231695

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231695
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JBPM Simulation

2009-05-18 Thread swatis
The information I want is to put simulation data on process and then run this 
simulation using GPD. Create scenarios for the same. Get the result of the 
simulation for further analysis.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231700#4231700

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231700
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: ProcessClassloader question

2009-05-18 Thread sarishjain
Hi all,
Appreciate your help till now,
Does the code i pasted above help in explaining the problem clearly!!.
I think FileDefinition.java needs a fix(prevent nullpointer and return null), 
so that ProcessClassLoader can throw a ClassNotfoundException.

Please comment!!
Sarish



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231701#4231701

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231701
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Mail node with file attached

2009-05-18 Thread kukeltje
Sujatha,

The basic documentation shows these things. See 
http://docs.jboss.com/jbpm/v3.2/userguide/html/processmodelling.html, so I was 
not really harsh (imo), just referred you to documentation. If you already read 
this and not understood my 'directions' then I'm sorry. Hopefully you'll 
achieve what you want now.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231703#4231703

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231703
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JBPM Simulation

2009-05-18 Thread kukeltje
Absence of 'proof' is not always proof of absence but in this case it is
- The GPD does not play any role in this (it is not mentioned anywhere in the 
simulation docs)
- The simulationdata is in a separate file (so it is not IN the process)

So imo your questions are answered. If you need more info don't hesitate  to ask

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231705#4231705

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231705
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JBPM Simulation

2009-05-18 Thread kukeltje
Ofcourse things could be changed (putting the simulation data in the same file) 
but that requires time and effort.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231706#4231706

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231706
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - changes in a redeploied EJB jar

2009-05-18 Thread pippodev
I want see the code changes when I redeploy an EJB; another way to say is that 
I want that JBoss reloads the classes in my EJB.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231712#4231712

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231712
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Exception during user registration JBOSS Portal 2.6.6

2009-05-18 Thread lakshmi.rath
While creating a new user account through the Admin console in JBoss portal 
2.6.6, I am getting the below exception;


9:47:14,233 ERROR [HtmlCheckboxRendererBase] Error finding Converter for 
component with id 
_id28jbpns_2fadmin_2fMembers_2fIdentityAdminPortletWindowsnpbj:roles
19:47:14,244 ERROR [STDERR] May 18, 2009 7:47:14 PM 
com.sun.facelets.FaceletViewHandler handleRenderException
SEVERE: Error Rendering View[/WEB-INF/jsf/admin/user/registerRoles.xhtml]
javax.faces.el.EvaluationException: /WEB-INF/jsf/admin/user/registerRoles.xhtml 
@30,64 value=#{identityrolemgr.roleSelectItems}: Exception getting value of 
property roleSelectItems of base of type : 
org.jboss.portal.core.identity.ui.common.IdentityRoleBean
at 
com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:60)
at javax.faces.component.UISelectItems.getValue(UISelectItems.java:58)
at 
org.apache.myfaces.shared_impl.util.SelectItemsIterator.hasNext(SelectItemsIterator.java:105)
at 
org.apache.myfaces.shared_impl.renderkit.RendererUtils.internalGetSelectItemList(RendererUtils.java:450)

:
:
:
19:52:24,528 ERROR [DefaultPortalControlPolicy] Rendering portlet window  
produced an error
javax.portlet.PortletException: /WEB-INF/jsf/admin/user/registerRoles.xhtml 
@30,64 value=#{identityrolemgr.roleSelectItems}: Exception getting value of 
property roleSelectItems of base of type : 
org.jboss.portal.core.identity.ui.common.IdentityRoleBean
at 
org.apache.myfaces.portlet.MyFacesGenericPortlet.handleExceptionFromLifecycle(MyFacesGenericPortlet.java:310)
at 
org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:502)
at 
org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:323)
at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:133)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:306)
at 
org.jboss.portal.faces.loader.FacesPortlet.render(FacesPortlet.java:100)
at 
org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.invokeRender(PortletContainerImpl.java:483)
at 
org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:405)
at 
org.jboss.portal.portlet.container.PortletContainerInvoker$1.invoke(PortletContainerInvoker.java:86)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeRequired$aop(TransactionInterceptor.java:106)
at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeRequired_9103964459766407072.invokeNext(TransactionInterceptor$invokeRequired_9103964459766407072.java)
at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeRequired_9103964459766407072.invokeNext(TransactionInterceptor$invokeRequired_9103964459766407072.java)
at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeRequired_9103964459766407072.invokeNext(TransactionInterceptor$invokeRequired_9103964459766407072.java)
at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeRequired(TransactionInterceptor.java)
at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:72)
at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
at 
org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:50)
at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
at 
org.jboss.portal.portlet.aspects.portlet.ProducerCacheInterceptor.invoke(ProducerCacheInterceptor.java:58)
at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
at 
org.jboss.portal.core.aspects.portlet.AjaxInterceptor.invoke(AjaxInterceptor.java:51)
at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
at 
org.jboss.portal.portlet.aspects.portlet.ModesInterceptor.invoke(ModesInterceptor.java:62)
at 

[jboss-user] [JBoss Portal] - Re: Exception during user registration JBOSS Portal 2.6.6

2009-05-18 Thread prabhat....@jboss.com
Why not use the latest release of 2.6 series -2.6.8 instead? It has some bug 
fixes found in the version you are using.

Even better will be to used JBoss Portal 2.7.2 which gives you JSR-286 
functionality as well in case you need it in future. 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231720#4231720

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231720
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: WSRP with Portlet Container only

2009-05-18 Thread jhalmes
The JIRA priority got bumped down?!  I was doing my bi-annual check in on this 
requested feature and found that JBPORTAL-2186 is now optional?  I could have 
sworn it was high priority last time.

Apparently I'm the only person that wants to publish content from my 
application via WSRP standards without running a full portal, eh?  There has to 
be at least 2 of us since I didn't open the original JIRA issue.

Seriously, I don't view this as a feature as much as a design requirement 
of a portlet container.  Why should I have to run an entire portal server to 
serve up portlets via standards?  I thought that was the whole point of the 
portlet container project?  The Sun openportal and apache portlet container 
both included WSRP from the beginning so I've been expecting it to show up in 
the jboss container.

I was under the impression that this was going to be included in the next 
version of the portlet container but its been a year since I've been asking 
about this.  I'm guessing by the priority you're not crazy about WSRP as a 
standard?  Unfortunately I have a requirement so I'll have to choose between 
running the resource expensive portal just to server a single portlet which is 
really just a wrapper of an iframe back to my main app or switching to another 
server to host it.  I don't like either option.

What would you do?  I just need to be able to serve my content via WSRP to 
another portal.  Am I barking up the wrong tree?

As for paying you for support, it would depend on how much and how fast I could 
get the feature.  I'll send you $50 myself if you'll do it this week.  If 
that's not enough I could pass the hat around the dev team, how much would it 
take?  :)

-jasen

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231721#4231721

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231721
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Exception during user registration JBOSS Portal 2.6.6

2009-05-18 Thread lakshmi.rath
Thanks for the quick response.
However migrating immediately to a new version is bit difficult.

Please let me know a way by which this can be fixed in current deployment.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231723#4231723

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231723
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - EJB3, JSF and Ajax: Exception when cleaning form object attr

2009-05-18 Thread mvpc
Hello People!

I am having some trouble with a ajax form. After i have inserted the object on 
the database through ejb sessionbean and call a method to clean the jsf form by 
setting null the managed bean object attributes. I receive a message 
(Transaction Fail) from jsf PhaseListener mecanism, and the operation is undone.
My jsf form is something like this:

h:inputText id=address   
value=#{managedBean.email.address}

/h:inputText

Then i have a method that insert in the database through ejb sessionbean and 
set the email attribuetes to null, include the id.

After that i have a method that list the emails. At tgis point it throws an 
exception on the log, something like this:

javax.persistence.PersistenceException: org.hibernate.HibernateException: 
identifier of an instance of my.entity.Email was altered from 77 to null
at 
org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:614)
at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:76)
at my.sessionbean.EmailSessionBean.list(EmailBean.java:54)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
.
.
.
.


The interesting thing is that I can perform the operation perfectly with other 
form with the same template. I think is something related with EJB objects 
beeing used ad the attribute on the jsf form.
So if anyone have any tip, please, let me know. I have searched through out the 
internet and found no solution.

Thanks!! 






View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231724#4231724

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231724
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: External directory

2009-05-18 Thread margotmedia
You can add a path in server.xml file 

;Context docBase='C:\\local\\app\\htmlfiles' path='/html' gt;lt;/Contextgt; 



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231726#4231726

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231726
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: URGENT! java.lang.IllegalStateException: Failed to find

2009-05-18 Thread tmac42
I've the same problem but i've fixed it.
i'm working with JBOSS 4.0.
personaly in my pc IIS services was running, and that was the problem, so i've 
stopped it : start - configuration pannel - administration tools -  services 
- stop IIS
after that it works!! when I started the client

my client code :

public static void main(String[] args) {
  | String str = This is the string being counted in the EJB.;
  | Hashtable environment = new Hashtable();
  | 
  | 
environment.put(Context.INITIAL_CONTEXT_FACTORY,org.jnp.interfaces.NamingContextFactory);
  | 
  | 
environment.put(Context.URL_PKG_PREFIXES,org.jboss.naming:org.jnp.interfaces);
  | 
  | environment.put(Context.PROVIDER_URL, jnp://127.0.0.1:1099);
  | 
  | Ccount cc = null;
  | try {
  | CcountHome home = CcountUtil.getHome(environment);
  | cc = home.create();
  | System.out.println(str);
  | System.out.println(Upper case:  + cc.upper(str));
  | System.out.println(Lower case:  + cc.lower(str));
  | System.out.println(Spaces:  + cc.spaces(str));
  | System.out.println(Total:  + cc.characters(str));
  |  
  |  } catch (Exception e) {
  | 
  | e.printStackTrace();
  | 
  |   }
  | 
  | 
  | 
  | 
  | }

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231735#4231735

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231735
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Multiple schema access

2009-05-18 Thread ander.gborges
Hi People,

I am looking for a solution to my problem for days but I didn´t find 
anything that could really help me.
In my app I am using JBoss 4.2.3 GA and EJB3.

What I need:
Allow that each customer of my system (Today 5 but more than 2000 sooner) have 
it own database (Can be the same database but diferent schema). I mean, use the 
same entities and sessions.

I tryied to create the entityManager inside my stateless session, but without 
success. Today I was deep inside the jboss code looking for the code that 
instantiates the EntityManager when I put the code 
 
  | @PersistenceContext(unitName = default)
  | protected EntityManager entityManager;
  | 
because I realized that if I found this code, I would be able to change the 
unitName programatically and force JBoss to instantiate the correct EM and then 
I wouldn´t have to change any session or entity code.

I beg anyone to give me a north, could be links, concepts or any kind of 
example. I would really apreciate that.

Thanks in advance.

Anderson Geison Borges.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231741#4231741

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231741

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


[jboss-user] [JBoss Messaging] - Re: Destination COnfiguration issue with Jboss 5 and Messagi

2009-05-18 Thread yashendrac
Hi Raj,

Any luck finding the solution for this problem.

I am also facing exactly same problem only difference is that I am trying to 
use MySql ds and persistance files from example folder.

Please post your solution if you found any.

Thank You
Yashendra

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231744#4231744

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231744
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Multiple data sources when using MySQL

2009-05-18 Thread yashendrac
Hi,

I am also getting same error related to MySQL.

  Deployment 
jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory is 
missing the following dependencies:
  | Dependency jboss.messaging:service=PostOffice (should be in state 
Create, but is actually in state Configured)
  |   Deployment 
jboss.messaging.connectionfactory:service=ClusteredConnectionFactory is 
missing the following dependencies:
  | Dependency jboss.messaging:service=PostOffice (should be in state 
Create, but is actually in state Configured)
  |   Deployment jboss.messaging.connectionfactory:service=ConnectionFactory 
is missing the following dependencies:
  | Dependency jboss.messaging:service=PostOffice (should be in state 
Create, but is actually in state Configured)
  |   Deployment jboss.messaging.destination:name=DLQ,service=Queue is 
missing the following dependencies:
  | Dependency jboss.messaging:service=PostOffice (should be in state 
Create, but is actually in state Configured)
  |   Deployment jboss.messaging.destination:name=ExpiryQueue,service=Queue 
is missing the following dependencies:
  | Dependency jboss.messaging:service=PostOffice (should be in state 
Create, but is actually in state Configured)
  |   Deployment jboss.messaging.destination:name=ObjectUpdates,service=Topic 
is missing the following dependencies:
  | Dependency jboss.messaging:service=PostOffice (should be in state 
Create, but is actually in state Configured)
  |   Deployment jboss.messaging.destination:name=audit,service=Queue is 
missing the following dependencies:
  | Dependency jboss.messaging:service=PostOffice (should be in state 
Create, but is actually in state Configured)
  |   Deployment jboss.messaging.destination:name=report,service=Topic is 
missing the following dependencies:
  | Dependency jboss.messaging:service=PostOffice (should be in state 
Create, but is actually in state Configured)
  |   Deployment jboss.messaging:service=PostOffice is missing the following 
dependencies:
  | Dependency jboss.jgroups:service=ChannelFactory (should be in state 
Create, but is actually in state ** NOT FOUND Depends on 
'jboss.jgroups:service=ChannelFactory' **)
  | 

Any Idea if commenting out following is safe?

depends 
options-attribute-name=ChannelFactoryNamejboss.jgroups:service=ChannelFactory/depends
 in the file deploy/messaging/mysql-persistence-service.xml
  | 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231746#4231746

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231746
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Multiple data sources when using MySQL

2009-05-18 Thread cpslo1999
I haven't noticed any adverse effects yet. You do get a warning in the log, 
however.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231748#4231748

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231748
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Multiple clients and message types - selectors?

2009-05-18 Thread cpslo1999
I am designing a system that will generate notifications of different types of 
events and will have different systems subscribed to it. All clients will only 
be interested in a subset of these events, although overlapping interest 
between clients is fully expected. Also, I need to add the ability to publish 
(or re-publish) certain events to individual clients to the exclusion of others 
that are generally interested the same published events.

I basically control both the notifying system as well as the client systems so 
most options are available to me. All of them are currently using EJB3 
annotations.

I had originally thought that I could use a single topic to publish all 
notifications and have the clients use selectors to select only the event types 
interesting to each. In order to provide the ability to publish to specific 
clients, I thought I could use selectors there as well. Unfortunately, it 
appears that having dynamic or at least a programmatic selector is not possible 
(at least I haven't found a way to do this yet).

So the question is two-fold.
1) Is there a way to set/change a MDB selector programmatically?
2) Is there a better approach to creating this communication scheme?

Thanks,

Josh

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231749#4231749

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231749
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - Re: application.xml + dependency between war and EJB

2009-05-18 Thread betounisul
thanks

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231750#4231750

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231750
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: [ERROR] Invalid header

2009-05-18 Thread smartz
alessio.sold...@jboss.com wrote : Please try directly using the Sun's tools. 
The exception you get comes from the Sun's impl (the jbossws-native jaxws 
tooling is basically wrapper of the Sun's one). If you still get the exception, 
please fill it directly to Sun. Othere wise post here again and create the jira 
on the JBWS project JIRA. Thanks.

Ciao Alessio,

and thanks for your response.
I have followed your suggestion, and tried using wsimport both from JDK6's 
JAX-WS RI 2.1.1 and from the latest RI 2.1.7, and both have the issue.

For future reference, I have opened a discussion on Sun's forums:
http://forums.sun.com/thread.jspa?threadID=5387214
http://forums.java.net/jive/message.jspa?messageID=346709

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231751#4231751

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231751
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Exception during user registration JBOSS Portal 2.6.6

2009-05-18 Thread wesleyhales
Just for starters, you may want to check your version of Facelets and try the 
latest... I think it's 1.1.15b?

It sounds like a possible selectList or Collection/Array problem. Look at the 
ui:repeat or c:forEach stuff and try different things.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231752#4231752

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231752
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Help! Call Web service error!

2009-05-18 Thread lixun
Thank you, Peter!

I fixed this issue,when I stop my kaspersky!

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231756#4231756

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231756

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


[jboss-user] [JBossMQ] - Re: java.net.ConnectException: Connection refused

2009-05-18 Thread jthinaka
I'm having a similar problem. Can anyone help?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231757#4231757

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231757
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Multiple clients and message types - selectors?

2009-05-18 Thread clebert.suco...@jboss.com
I would use a topic and subscribers (durable if is the case) with selectors.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231759#4231759

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231759
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Multiple clients and message types - selectors?

2009-05-18 Thread cpslo1999
That's where I was headed...

I need to be able to also (re)send a notification to only one client 
(preferably using the same mechanism). I had thought I could have a selector 
that looks for my notifications of interest and/or notifications with a 
property set to the client's ID, but I don't know if it is possible to 
configure selectors that way (or better if there is another way to identify 
specific clients when I send messages).

Can I do this with topics?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231763#4231763

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231763
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JBPM Simulation

2009-05-18 Thread swatis
Thanks Ronald. In process definition we can mention duedate, this information 
can be used to run the simulation. But there is seperate file created to put 
simulation factors for the process. I agree GPD plays no role in this and in 
docs also no where mentioned it does. I might be wrong about this but one 
factor is missing in the simulation is that we can configure probablity, 
distribution, number of people and so on but not Number of process instances 
running simultaneously factor. 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231764#4231764

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231764
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - how to override the method logic which is currenlty calling

2009-05-18 Thread kkangsar
Hi,

Anyone knows how to override the existing method in EJB?

For example:

I have defined internal method myCal.  This internal method will be  
calling by a few other standard method which is defined by me. 

User will call my standard method when they use my application. But 
sometime, some user may not like to use my calculation logic define in myCal 
method, they may want to override it, how can we achieve in EJB?

   Thanks.
 


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231765#4231765

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231765
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: ProcessClassloader question

2009-05-18 Thread swatis
Have put entire stack trace here?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231768#4231768

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231768
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: ProcessClassloader question

2009-05-18 Thread kukeltje
Sarish,

You might be right in your conclusion. Can you check if the small fix you 
propose in the jBPM FildeDefinition.java fixes it for you?


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231772#4231772

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231772
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JBPM Simulation

2009-05-18 Thread kukeltje
Great, now we are getting somewhere :-D. 

Yes you can

 distribution name=ReturnDefectiveGoods.ReturnDefectiveGoods
  | sample-type=real type=erlang mean=94.3247 
standardDeviation=52.8106/

does this and is referred to from
sim-process path=/ReturnDefectiveGoods/processdefinition.xml
  | process-overwrite 
  |   start-distribution=ReturnDefectiveGoods.ReturnDefectiveGoods/

A little further on in the example. But I only tried this once so not 100% sure

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4231773#4231773

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4231773
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user