[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: unable to find log4j.properties file in classpath

2008-09-04 Thread jaikiran
anonymous wrote : I am using jboss-5.0.0.CR1. 

I haven't tried with 5.0 CR1. But i believe it should work. 

anonymous wrote : I have 2 EAR's 

Let's just concentrate on one EAR for now.

Post the output of:

jar -tf MyEAROne.ear

where MyEAROne.ear is the name of your EAR file. 

While posting the logs or xml content or code, remember to wrap it in a code 
block using the Code button in the message editor window and please hit the 
Preview button to make sure your post is correctly formatted

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: jboss application server 4.2.5

2008-09-04 Thread jbossfreak
Hi,
I think i saw somewhere on the net about 4.2.5 version and i heard that it has 
some advanced features

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: unable to find log4j.properties file in classpath

2008-09-04 Thread ashok.kadam
Hi JaiKiran,

I am using jboss-5.0.0.CR1.
I have referred your blog at http://jaitechwriteups.blogspot.com for log4j 
configurations.
I have done exact setup suggested by you. 
Also I have tried it on jboss-4.0.5.GA. but no use.
log files are not getting generated.
I have 2 EAR's
1]Containing only war,EJB interfaces and supporting jars with application.xml 
etc
2]Containing EJB's and supporting jars with conf files.

In both of the EAR files I am giving log4j.prop and log4j.jar suggested by you 
at your blog.

Please suggest.

Thanks and Regards,
-Ashok

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: jboss application server 4.2.5

2008-09-04 Thread jaikiran
There isn't any 4.2.5 version yet. Why are you looking for this specific 
version?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4174466
___
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: jboss application server 4.2.5

2008-09-04 Thread jaikiran
Being discussed here 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=141883

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

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


[jboss-user] [JBoss jBPM] - Re: From BPMN (STP BPMN Editor) to BPEL

2008-09-04 Thread miketech
Hi Alex,

of course BPMN is not for creating an executable process. It's more for 
creating an abstract business process which is being transformed into bpel code 
and then further refined.

Greetings

Mike

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: jboss application server 4.2.5

2008-09-04 Thread jbossfreak
Hi Jaikiran,
Thank you bery much for your reply first of all. Yes, i had checked the latest 
stable version n community is 4.2.3. Version 4.2.5 is not available. Do you 
know any link where i can download 4.2.5?

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Scoped Deployment settings cuase LinkageError

2008-09-04 Thread jaikiran
Do you include jar files containing javax.servlet.* classes in your application 
packaging? If yes, then remove them from your application package as they are 
already available in the %JBOSS_HOME%\server\< serverName>\lib folder.


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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: jboss application server 4.2.5

2008-09-04 Thread jaikiran
The latest stable JBoss Application Server (the community edition) is 4.2.3 GA. 
You will find the download link here http://www.jboss.org/jbossas/downloads/ 

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: unable to find log4j.properties file in classpath

2008-09-04 Thread jaikiran
Which version of JBoss do you use?

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - jboss application server 4.2.5

2008-09-04 Thread jbossfreak
Hi Everyone, 
Can anyone tell me if jboss application server version 4.2.5 is a stable one. 
If it is, can you please paste the link to download it. 
Help is much appreciated. 
Thanks in advance

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - jboss application server 4.2.5

2008-09-04 Thread jbossfreak
Hi Everyone,
 Can anyone tell me if jboss application server version 4.2.5 is a stable one. 
If it is, can you please paste the link to download it.
Help is much appreciated.
Thanks in advance

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

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


[jboss-user] [Clustering/JBoss] - Web session replication: Classloader Problem

2008-09-04 Thread joerg.viola
Hi,
deploying a Seam webapp in a two node cluster, I get a problem immediatly after 
adding the second node (i.e. when replication starts):

Symptom: "value of context variable is not an instance of the component bound 
to the context variable" from Seam.

Analysis: The object put into the web session by replication is an instance of 
a classloader which is not the webapp classloader, hence it is not assignable 
to the class the Seam component expects.

Further symptom: Docs state that TomcatClusteringCache MBean shoud show 
something like 
"FB04767C454BAB3B2E462A27CB571330: [EMAIL PROTECTED]"
for each replicated session. I see:
"pteGqYO5NA6kW6pG-b3kyg**: [EMAIL PROTECTED]" (No MarshalledValue).

Tried "UseMarshalling" and "UseRegionBasedMarshalling" to no use.

May the analysis be correct?
Any ideas?

Thanks a lot - Joerg

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

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


[jboss-user] JBOSS in udp mode

2008-09-04 Thread Naveen Kumashi
Hello everybody.

By default JBOSS runs in TCP mode.

I would like to know how to make JBOSS run in UDP mode ?


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


[jboss-user] [Remoting] - Re: JBoss Remoting 2.2.2.SP9 status?

2008-09-04 Thread natsuko.kumahara
Developers of JBossRemoting,

My name is Natsuko Kumahara. 
I am a developer of the operation management software named Hinemos in Japan. 

I sent this e-mail because I'd like to get jboss-remoting.2.2.2.SP9.

New Hinemos that we released on 1st of this month is using jboss-remoting 
2.2.2.SP8.
We have a memory leak trouble which happens in new Hinemos, and we think the 
problem is caused by the Bug[JBREM-1005].
We must correct this trouble by 10th Sep. 
So, we can't wait for the release of 2.2.2.SP10. 
I'd appreciate it if you could build and release SP9.

My best regards. 

-
Natsuko KUMAHARA

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

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


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

2008-09-04 Thread tpawankumar
Hi,

If i want the connection to be open and listen continuously for messages 
without closing the connection.what needs to be done?

Because the same program without closing the connection works for JbossMQ and 
listens continuously for messages.

Please help me.
  

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: HTTPConnection in startup servlet works only with hot de

2008-09-04 Thread venuwin
Hi Peter,

the URL http://static.xyz.com/cat/up.xml refers to the local machine only. But 
just to make the code work with any URL for that matter, we have not replaced 
it with localhost. Would that make a difference. If so, why does it work after 
JBoss startup. Or does JBoss has some problems in inbound connections before it 
could start completely ?

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: unable to find log4j.properties file in classpath

2008-09-04 Thread ashok.kadam
Hi ,
Thanks for your reply.

The configurations given in link you sent were helpful.
But my actual concern is I want to provide those configuration using 
log4j.properties. I am unable to load that configuration file from my java 
files.

Regards,
-Ashok

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

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


[iklan-indonesia] Dapatkan Ebook gratis

2008-09-04 Thread yahoo.com
Anda mungkin mempunyai cukup uang sekarang. 
Tapi belum tentu Anda merupakan orang yang sukses , Siapa tahu Anda mempunyai 
potensi yang belum Anda raih ? kunjungi http://www.divaprofit.com/?s=DP00021dan 
dapatkan 2 ebook gratis


  
___
Nama baru untuk Anda! 
Dapatkan nama yang selalu Anda inginkan di domain baru @ymail dan @rocketmail. 
Cepat sebelum diambil orang lain!
http://mail.promotions.yahoo.com/newdomains/id/

[jboss-user] [JBossWS] - Consuming a secure web service as standalone app using jboss

2008-09-04 Thread jstewart66061
I need to consume a third=party web service (that is over SSL and requires 
WS-Security username/password authentication) from both a standalone app 
(running outside of an app server environment) and from within a web app (a WAR 
in JBoss 4.2.1+).  Is this possible using JBossWS?  I have a completely working 
WS client built using CXF, but can't get anything to work inside JBoss.  I'm 
willing to get rid of CXF if I can get JBossWS native working both inside and 
outside of the container.

I've already done a nice wsconsume and got the required artifacts.  I just 
can't figure out how to setup the WS-Sec stuff, the SSL stuff, or the WAR's 
classpath to allow this all to work.  If I can get all of that working, I can 
hopefully figure out the standalone stuff using just a ton of the JBossWS JARs 
in a really huge classpath.

Any help is greatly appreciated.

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

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


[jboss-user] [EJB 3.0] - Re: JBoss MQ + EJB3 MDB Throws Already Registered Exception

2008-09-04 Thread samdoyle
Solution for me was for this problem:

Drop JBoss MQ
Insert JBoss Messaging



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

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


[jboss-user] [JBoss Portal] - remove JBossPortal blue header from page.jsp

2008-09-04 Thread youssef.mohammed
As per Error Handling Configuration chapter 
http://docs.jboss.com/jbportal/v2.6.6/referenceGuide/html/errorhandling.html, 
we have changed the portal.jsp under 
$PORTAL_HOME/server/default/deploy/jboss-portal.sar/portal-core.war/WEB-INF/jsp/error
 to match our design but the page always displays the JBossPortal blue header , 
how can we get rid of it ?

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Scoped Deployment settings cuase LinkageError

2008-09-04 Thread Martinator
Hi everyone, I'm trying to run multiple scoped single application ear 
deployments (using servlets) on a single JBoss 3.2.4 server so I can run 
different release levels at the same time. 

Each app already has the class-loading loader-repository settings (excluding 
the java2ParentDelegation setting) in the jboss-app.xml file in the web-inf 
folder of the war file, but that does not make it work.

I then set the Isolated and CallByValue attribues to true in 
conf/jboss-service.xml and the Java2ClassLoadingCompliance and 
UseJBossWebLoader attributes to false in 
tomcat50.sar/meta-inf/jboss-service.xml. That seems to work fine after the 
first jboss restart.

The problem I'm getting is that after a new deployment is added or JBoss is 
restarted, the apps start up fine, but I get the followng error when I try to 
access the application URL:

"java.lang.LinkageError: loader constraints violated when linking 
javax/servlet/ServletOutputStream class) executing [EMAIL PROTECTED], 
terminating thread"

Any ideas would be appreciated.

Thank you.

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

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


[jboss-user] [Remoting] - sun.security.validator.ValidatorException: No trusted certif

2008-09-04 Thread vbatista
"vbatista" wrote : Hello,
  | I am using JBoss-4.2.2.GA with Java 1.6.0_04. My application implements a 
WS client which needs to integrate with an external Web Service. This 
communication needs to be handled through https. 
  | 
  | I have created a jks keystore with the server certificate, and passed its 
details to JBoss through the System Properties:
  | 
  | 
  |   | -Djavax.net.ssl.trustStore=/Path-to-file  
-Djavax.net.ssl.trustStorePassword=password
  |   | 
  | 
  | On my development environment I can call the Web Service correctly.
  | Although, on the production environment, I amgetting the following 
exception:
  | 
  | 
  |   | javax.xml.ws.WebServiceException: java.io.IOException: Could not 
transmit message
  |   | at 
org.jboss.ws.core.jaxws.client.ClientImpl.handleRemoteException(ClientImpl.java:317)
  |   | at 
org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:255)
  |   | at 
org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:164)
  |   | at 
org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150)
  |   | at $Proxy171.send(Unknown Source)
  |   | at com.xpto.integration.SmsHelper.send(SmsHelper.java:57)
  |   | at 
com.xpto.services.sms.SMSSenderServiceMBean.run(SMSSenderServiceMBean.java:106)
  |   | at java.lang.Thread.run(Thread.java:619)
  |   | Caused by: java.io.IOException: Could not transmit message
  |   | at 
org.jboss.ws.core.client.RemotingConnectionImpl.invoke(RemotingConnectionImpl.java:204)
  |   | at 
org.jboss.ws.core.client.SOAPRemotingConnection.invoke(SOAPRemotingConnection.java:77)
  |   | at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:337)
  |   | at 
org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:243)
  |   | ... 6 more
  |   | Caused by: org.jboss.remoting.CannotConnectException: Can not connect 
http client invoker.
  |   | at 
org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:333)
  |   | at 
org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:135)
  |   | at 
org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
  |   | at org.jboss.remoting.Client.invoke(Client.java:1634)
  |   | at org.jboss.remoting.Client.invoke(Client.java:548)
  |   | at 
org.jboss.ws.core.client.RemotingConnectionImpl.invoke(RemotingConnectionImpl.java:183)
  |   | ... 9 more
  |   | Caused by: javax.net.ssl.SSLHandshakeException: 
sun.security.validator.ValidatorException: No trusted certificate found
  |   | at 
com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174)
  |   | at 
com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1591)
  |   | at 
com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:187)
  |   | at 
com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:181)
  |   | at 
com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:975)
  |   | at 
com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:123)
  |   | at 
com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:516)
  |   | at 
com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:454)
  |   | at 
com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:884)
  |   | at 
com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1096)
  |   | at 
com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1123)
  |   | at 
com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1107)
  |   | at 
sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:405)
  |   | at 
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:166)
  |   | at 
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:832)
  |   | at 
sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:230)
  |   | at 
org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:275)
  |   | ... 14 more
  |   | Caused by: sun.security.validator.ValidatorException: No trusted 
certificate found
  |   | at 
sun.security.validator.SimpleValidator.buildTrustedChain(SimpleValidator.java:304)
  |   | at 
sun.security.validator.SimpleValidator.engineValidate(SimpleValidator.java:107)
  |   | at sun.security.validator.Validator.validate(Validator.java:218)
  |   | at 
com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:126)
  |   |

[jboss-user] [Remoting] - Caused by: sun.security.validator.ValidatorException: No tru

2008-09-04 Thread vbatista
Hello,
I am using JBoss-4.2.2.GA with Java 1.6.0_04. My application implements a WS 
client which needs to integrate with an external Web Service. This 
communication needs to be handled through https. 

I have created a jks keystore with the server certificate, and passed its 
details to JBoss through the System Properties:


  | -Djavax.net.ssl.trustStore=/Path-to-file  
-Djavax.net.ssl.trustStorePassword=password
  | 

On my development environment I can call the Web Service correctly.
Although, on the production environment, I amgetting the following exception:


  | javax.xml.ws.WebServiceException: java.io.IOException: Could not transmit 
message
  | at 
org.jboss.ws.core.jaxws.client.ClientImpl.handleRemoteException(ClientImpl.java:317)
  | at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:255)
  | at 
org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:164)
  | at 
org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150)
  | at $Proxy171.send(Unknown Source)
  | at com.xpto.integration.SmsHelper.send(SmsHelper.java:57)
  | at 
com.xpto.services.sms.SMSSenderServiceMBean.run(SMSSenderServiceMBean.java:106)
  | at java.lang.Thread.run(Thread.java:619)
  | Caused by: java.io.IOException: Could not transmit message
  | at 
org.jboss.ws.core.client.RemotingConnectionImpl.invoke(RemotingConnectionImpl.java:204)
  | at 
org.jboss.ws.core.client.SOAPRemotingConnection.invoke(SOAPRemotingConnection.java:77)
  | at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:337)
  | at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:243)
  | ... 6 more
  | Caused by: org.jboss.remoting.CannotConnectException: Can not connect http 
client invoker.
  | at 
org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:333)
  | at 
org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:135)
  | at 
org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
  | at org.jboss.remoting.Client.invoke(Client.java:1634)
  | at org.jboss.remoting.Client.invoke(Client.java:548)
  | at 
org.jboss.ws.core.client.RemotingConnectionImpl.invoke(RemotingConnectionImpl.java:183)
  | ... 9 more
  | Caused by: javax.net.ssl.SSLHandshakeException: 
sun.security.validator.ValidatorException: No trusted certificate found
  | at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174)
  | at 
com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1591)
  | at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:187)
  | at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:181)
  | at 
com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:975)
  | at 
com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:123)
  | at 
com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:516)
  | at 
com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:454)
  | at 
com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:884)
  | at 
com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1096)
  | at 
com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1123)
  | at 
com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1107)
  | at 
sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:405)
  | at 
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:166)
  | at 
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:832)
  | at 
sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:230)
  | at 
org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:275)
  | ... 14 more
  | Caused by: sun.security.validator.ValidatorException: No trusted 
certificate found
  | at 
sun.security.validator.SimpleValidator.buildTrustedChain(SimpleValidator.java:304)
  | at 
sun.security.validator.SimpleValidator.engineValidate(SimpleValidator.java:107)
  | at sun.security.validator.Validator.validate(Validator.java:218)
  | at 
com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:126)
  | at 
com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:209)
  | at 
com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:249)
  | at 
com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:954)
  | ... 26 more
  | 

Both systems are configured with the same JBoss, JVM, ...

The certificate details are:

[jboss-user] [JBoss jBPM] - Questions about doXslTransform

2008-09-04 Thread dave9739
Hi all,

I am using jbossAS 4.0.4GA and jbpm-bpel-1.1.Beta3. And i just saw 
doXslTransform function in ws-bpel2.0 specification. It is very useful in my 
research. However, I am not able to deploy the bpel to server. It just keep 
throwing the error:
[servicegen] 07:10:45,718 DEBUG Scope : looking for fault handler with name 
{http://schemas.xmlsoap.org/ws/2004/03/business-process/}forcedTermination' and 
no variable

BUILD FAILED
java.lang.NoClassDefFoundError: javax/xml/soap/Node

Any ideas? Are there any example that using this functions? I cannot find it. 
Actually, does jbpm-bpel-1.1.Beta3 support this function? 

Thanks.

Dave

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: occasional NoClassDefFoundError

2008-09-04 Thread trey.howard
Well, we found the cause, so I'm posting here in case anyone should encounter 
this problem:

The network admin had installed, unbeknownst to us, an antivirus/firewall app 
that was blocking ports required by JBoss. He didn't notice the server log was 
full of errors indicating that ports were in use, etc.


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

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


[jboss-user] [EJB 3.0] - Exception initializing interceptors (EJB3InterceptorsFactory

2008-09-04 Thread pdeshmuk
We are currently running JBoss 4.2.2 and using EJB 2.0 with BMP.  We are also 
in the process of introducing EJB 3.0 and would like to package EJB 2.0 and EJB 
3.0 in the same JAR.  I set the version attribute of our existing ejb-jar.xml 
to 3.0:

http://www.w3.org/2001/XMLSchema-instance";
  | xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/ejb-jar_3_0.xsd";>

Some of my existing EJB 2.0 beans now fail to deploy.  Here is the exception 
message: 

16:40:27,430 WARN  [ServiceController] Problem creating service 
jboss.j2ee:ear=EMS.ear,jar=Server.jar,name=TrainingWebService,service=EJB3
  | java.lang.RuntimeException: An exception occurred initialising interceptors 
for class 
com.creativesolutions.ems.webservice.training.TrainingWebServiceBean.getTrainingEnrollmentWSOs
  | at 
org.jboss.ejb3.interceptor.EJB3InterceptorsFactory.createPerJoinpoint(EJB3InterceptorsFactory.java:108)
  | at 
org.jboss.aop.advice.AspectFactoryDelegator.createPerJoinpoint(AspectFactoryDelegator.java:119)
  | at 
org.jboss.aop.advice.ScopedInterceptorFactory.create(ScopedInterceptorFactory.java:113)
  | at org.jboss.aop.Advisor.createInterceptorChain(Advisor.java:618)
  | at org.jboss.aop.Advisor.pointcutResolved(Advisor.java:888)
  | at org.jboss.aop.Advisor.resolveMethodPointcut(Advisor.java:650)
  | at 
org.jboss.ejb3.interceptor.InterceptorInfoRepository.getBeanClassAroundInvokes(InterceptorInfoRepository.java:136)
  | at 
org.jboss.ejb3.interceptor.EJB3InterceptorsFactory.createPerJoinpoint(EJB3InterceptorsFactory.java:101)
  | ... 102 more


Here is the code of the failing EJB method:

  public TrainingEnrollmentWSO[] getTrainingEnrollmentWSOs(int trainingClassID, 
boolean showConfirmedOnly, String clauseType) {
  | try {
  | return new 
TrainingEnrollmentDAO().getTrainingEnrollmentWSOs(trainingClassID, 
showConfirmedOnly, clauseType);
  | }
  | catch(Exception e) {
  |   ErrorLogger.error(this,e.getMessage(),e);
  |   return null;
  | }
  |   }  

If required, I will be happy to give more information regarding my setup and 
will appreciate any thoughts that can resolve this issue.

thanks.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4174429
___
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: jboss-4.2.3.GA with MySQL Server 5.0 configuration probl

2008-09-04 Thread dan jboss
"PeterJ" wrote : Both hajndi-jms-ds.xml and jms-ds.xml should not have ended up 
in the deploy directory. There should be only one of them, depending on if you 
are clustering or not. Because of the install command line you gave:
  | 
  | ant -f release-admin.xml -Dmessaging.config.source=all 
-Dmessaging.config.name=jms
  | 
  | the hajndi-jms-ds.xml is the correct file and jms-ds.xml is incorrect (and 
should be removed).
  | 
  | The 'all' configuration includes clustering support. The 'default' 
configuration contains everything except clustering. You did not by any chance 
run release-admin.xml twice, once without any options? That would explain the 
duplication.
  | 

Yes I have run release-admin.xml multiple times and generated different 
configurations as I was trying to start over after suspecting a mess in the 
current one. Initially I ran it without parameters, then as the old 
configuration was in the way I started running it with parameters on the same 
installation of JBoss. You explanation is totally consistent.
Thanks.

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

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


[jboss-user] [EJB/JBoss] - JBoss 4.2.2 not reading standardjboss.xml

2008-09-04 Thread shreyasshinde
I have a JBoss 4.2.2 install on Redhat Linux (RHEL4). I am seeing that the 
configuration properties (specifically the container-configuration like 
MaximumSize, strictMaximumSize) are not getting enforced. So basically, I am 
not able to configure my Stateless Session Bean Container to create upto a 
certain number of beans.

There was another user who was stumbling across the same issue but she had not 
got any response.

After going through the JBoss EJB container source, I see that the class should 
through an exception if standardjboss.xml is not found. But I don't see that 
happening (even after deleting the file - I see no errors).

Is there anything I am missing? I need to set the container pool size across 
the board for a specific type of container. I cannot use jboss.xml on a per 
application basis.

Config: all
Version: 4.2.2
Platform: Linux

Thanks,

Shreyas

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4174426
___
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: jboss-4.2.3.GA with MySQL Server 5.0 configuration probl

2008-09-04 Thread PeterJ
Both hajndi-jms-ds.xml and jms-ds.xml should not have ended up in the deploy 
directory. There should be only one of them, depending on if you are clustering 
or not. Because of the install command line you gave:

ant -f release-admin.xml -Dmessaging.config.source=all 
-Dmessaging.config.name=jms

the hajndi-jms-ds.xml is the correct file and jms-ds.xml is incorrect (and 
should be removed).

The 'all' configuration includes clustering support. The 'default' 
configuration contains everything except clustering. You did not by any chance 
run release-admin.xml twice, once without any options? That would explain the 
duplication.


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

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


[jboss-user] [JNDI/Naming/Network] - Re: JNDI lookup of DataSource failed

2008-09-04 Thread PeterJ
Add a WEB-INF/jboss-web.xml file with these contents:


  |   
  | OracleDS
  | java:OracleDS
  |   
  | 
  | 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4174421
___
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: jboss-4.2.3.GA with MySQL Server 5.0 configuration probl

2008-09-04 Thread dan jboss
"PeterJ" wrote : The jms-ds.xml file is one of the configuration files that 
comes with JBoss Messaging when using in AS 4.2.x. Based on the error message, 
there must be another configuration file that contains the MBean 
jboss.messaging:service=ServerSessionPoolMBean,name=StdJMSPool. Could you do a 
text search of all *.xml files in server/jms for that MBean?
  | 
  | Also, could you post the contents of the *-ds.xml file you created for 
MySQL? When you do that, make sure you enclose the XML text within code 
brackets (select the text and click the Code button above the editor window). 
Also, click Preview to ensure that the text is formatted correctly before 
clicking Submit.

Thanks a lot for your patience. I got my problem fixed. I had the file 
hajndi-jms-ds.xml in the deploy directory, and it contained the same MBean 
defined. I am not sure the instructions told me to remove it and I missed it.

Here is the content of my mysql-ds.xml file:


  | 
  | 
  | 
  | 
  | 
  |   
  | MySQLDS
  | jdbc:mysql://localhost:3306/jboss
  | com.mysql.jdbc.Driver
  | jbossuser
  | jbosspass
  | 
TRANSACTION_READ_COMMITTED
  | 
org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter
  | 
  | 
  | 
  | 
  | 
  | 
  |mySQL
  | 
  |   
  | 
  | 
  | 

Thanks again.

Dan

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Why does TreeCache notify when putting data gotten by a

2008-09-04 Thread mircea.markus
anonymous wrote : 
cache.getInvocationContext().getOptionOverrides().setCacheModeLocal(true);  
affects only the immediate call Does not affect calls from other threads.

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

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


[jboss-user] [JNDI/Naming/Network] - JNDI lookup of DataSource failed

2008-09-04 Thread braca
Hello,

I can't get connected to my Oracle-DB with my Web Application (war). JBoss 
4.2.3 is connected to Oracle (relevant tables have been deployed). However, no 
connection is possible through my web app. The exception is as follows:

21:11:42,847 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 
'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 
'java:JmsXA'
21:11:42,991 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 
'jboss.jca:service=DataSourceBinding,name=OracleDS' to JNDI name 'java:OracleDS'
21:11:43,995 INFO  [A] Bound to JNDI name: queue/A
21:11:43,999 INFO  [B] Bound to JNDI name: queue/B
21:11:44,003 INFO  [C] Bound to JNDI name: queue/C
21:11:44,007 INFO  [D] Bound to JNDI name: queue/D
21:11:44,012 INFO  [ex] Bound to JNDI name: queue/ex
21:11:44,044 INFO  [testTopic] Bound to JNDI name: topic/testTopic
21:11:44,049 INFO  [securedTopic] Bound to JNDI name: topic/securedTopic
21:11:44,053 INFO  [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
21:11:44,058 INFO  [testQueue] Bound to JNDI name: queue/testQueue
21:11:44,109 INFO  [UILServerILService] JBossMQ UIL service available at : 
/127.0.0.1:8093
21:11:44,164 INFO  [DLQ] Bound to JNDI name: queue/DLQ
21:11:44,194 INFO  [TomcatDeployer] deploy, ctxPath=/FinanzManagerKUR, 
warUrl=.../tmp/deploy/tmp17011FinanzManagerKUR-exp.war/
21:11:44,205 WARN  [ServiceController] Problem starting service 
jboss.web.deployment:war=FinanzManagerKUR.war,id=1936763747
org.jboss.deployment.DeploymentException: Error during deploy; - nested 
throwable: (javax.naming.NamingException: resource-ref: OracleDS has no valid 
JNDI binding. Check the jboss-web/resource-ref.)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:384)
at org.jboss.web.WebModule.startModule(WebModule.java:83)
at org.jboss.web.WebModule.startService(WebModule.java:61)

I use only a web.xml for my web-app:

http://www.w3.org/2001/XMLSchema-instance"; 
xmlns="http://java.sun.com/xml/ns/javaee"; 
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"; 
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"; id="WebApp_ID" version="2.5">
  FinanzManagerKUR
  
index.jspx

  
JNDI DataSource for OracleDS database im JBoss
OracleDS
javax.sql.DataSource
Container
  


Do I need anything else? Config/Xml-Files, or libs? But it seems the 
JNDI-Binding is wrong... Can anyone help me? 
Thanks, braca

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4174412
___
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: jboss-4.2.3.GA with MySQL Server 5.0 configuration probl

2008-09-04 Thread PeterJ
The jms-ds.xml file is one of the configuration files that comes with JBoss 
Messaging when using in AS 4.2.x. Based on the error message, there must be 
another configuration file that contains the MBean 
jboss.messaging:service=ServerSessionPoolMBean,name=StdJMSPool. Could you do a 
text search of all *.xml files in server/jms for that MBean?

Also, could you post the contents of the *-ds.xml file you created for MySQL? 
When you do that, make sure you enclose the XML text within code brackets 
(select the text and click the Code button above the editor window). Also, 
click Preview to ensure that the text is formatted correctly before clicking 
Submit.

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

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


[jboss-user] [Security & JAAS/JBoss] - JBoss and JBoss Portal SSO authentication, please help

2008-09-04 Thread x.uiterlinden
Hi,

Currently I'm investigating the possibilities of SSO between a JBoss AS and a 
JBoss portal instance both running on a separate physical server, preferably 
not clustered.
Reading through JBoss portal documentation I find there a different 
possibilities to accomplish SSO, but none of them is mentioned in the JBoss AS 
documentation. Configuration for all of them is fine when done on JBoss portal, 
but I get stuck configuring them on JBoss AS.

>From JBoss portal reference documentation:
- Tomcat valve configuration using Treecache; not really an option since it 
requires a cluster;
- SSO using CAS; no clues on how to configure for jboss AS
- JOSSO; no clues on how to configure for jboss AS

>From JBoss WIKI:
- JBossso: SSO option for JBoss AS, but doesn't seem to support JBoss portal in 
the current release.

Another option is using opensso. But documentation on JBoss integration is very 
scarce.

I'm kinda stuck now. There seem to be a lot of options for SSO, but none of 
them seems to be trivial to implement for my setup. Googling my way through the 
SSO forest I find lots of hits mentioning SSO and JBoss portal, but nearly 
nothing on SSO and JBoss AS, except JBossso. 

Has anyone accomplished a SSO setup between AS and portal ? What is the 
preferable setup and where can I find a *working* howto describing the SSO 
configuration ?



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

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


[jboss-user] [Security & JAAS/JBoss] - Re: After Login standalone client -> getCallerPrincipal on

2008-09-04 Thread noFreak
an additional trace which makes me a little bit confused:


  | 2008-09-04 20:25:38,531 TRACE 
[org.jboss.security.plugins.JaasSecurityManager.mySecurityDomain] Begin 
isValid, principal:, cache info: [EMAIL PROTECTED](33216582)[EMAIL 
PROTECTED](correctPrincipal)[EMAIL PROTECTED](Roles(correctRoles)),[EMAIL 
PROTECTED],expirationTime=1220552959218]

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

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


[jboss-user] [JBoss jBPM] - Re: fork node

2008-09-04 Thread kukeltje
define:
anonymous wrote : display information about two states


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

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


[jboss-user] [JBoss jBPM] - Re: jBPM Designer bugs

2008-09-04 Thread kukeltje
anonymous wrote : The problem I get sometimes is that, when I edit the process 
xml file, the design can become a mess... (eg. arrows to nowhere without being 
able to drag them to the correct node) 

Yep, known issue that it happens from time to time and dependent on what you 
do. Koen is (has been?) working on keeping things in sync. Not sure what the 
status is. Check the jira (there is an issue afair)

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

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


[jboss-user] [JBoss jBPM] - Re: drools

2008-09-04 Thread kukeltje
Ask:ing on a jBPM forum if there is a drools forum h totally O/T :-)

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

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


[jboss-user] [Security & JAAS/JBoss] - After Login standalone client -> getCallerPrincipal on JBos

2008-09-04 Thread noFreak
Hi all,
i have wrote a client side LoginModule which aquires a Kerberos Service Ticket 
and than "send it" to JBoss. This works with the SecurtiyAssociationActions (i 
have copied the class to the client...i know, its not very good...), the same 
way like the ClientLoginModule do this:

SecurityAssociationActions.setPrincipalInfo(loginPrincipal, loginCredential, 
subject);

the loginCredential contains the kerberos Service Ticket. This is done by the 
KerberosClientLoginModule class.

Then, on the servcer side i use the Service Ticket to authenticate the user 
(with win2k3 server exchange and Java GSS-API functions). This is done by the 
KerberosJBossLoginModule. It works fine. After thats done I use the 
IdentityRoleMappingLoginModule to obtain the roles from my database with help 
of the username. only the name of the user (the database don't contains 
information about the service ticket, but except for the username) is used for 
this.It works fine to. This Modlue depends on the DatabaseLoginModule and do 
following with the obtained (correct) username:


sharedState.put("javax.security.auth.login.name",identity);
But then i want to use the sessionContext.getCallerPrincipal in the ejb and i 
get an empty String. Furthermore is use the ClientLoginModule and third 
loginModule like following:


  | 
  | 
  | true
  | false
  | myDomain
  | JBossUserName
  | JBossPW
  | ipAddres
  | true
  | 
  | 
  | 
  | useFirstPass
  | 
  | 
  | workingDBName
  | 
  |  workingRolesQuery
  | 
  | 
  |  
  | 
  | useFirstPass
  | 
  | 
  | true
  | 
  | 
  | 
  | 

but sessionContext.getCallerPrincipal don't work, although i use the 
clientLoginModule...:(
do anybody know what i could do wrong?

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

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


[jboss-user] [JNDI/Naming/Network] - Re: JNDI in ejb3

2008-09-04 Thread triumphthepup
While this isn't a solution it might help.  I'm dealing with some of the same 
issues.  I just found out a simple way to view JBoss' JNDI tree:
* Go to http://localhost:8080/jmx-console
* Search for service=JNDIView
* Click on that link
* On the page that comes up click on the Invoke button beside the list() 
method


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

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


[jboss-user] [JBoss jBPM] - Re: error start JBOSS Application Server

2008-09-04 Thread miafonso2123
I managed to solve the problem downloading the version jdk1.5.0_12 and again 
setting the environment variables 

: D

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

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


[jboss-user] [Management, JMX/JBoss] - clustering jmx - noobie question

2008-09-04 Thread jnl
hi all...i'm not sure this is the correct place to post this (let me know if 
not).

i have jmx mbean right now that processes jobs for N applications.  there are 
about 5 different jobs that it processes.  the jmx mbean runs in a single 
jboss/vm instance currently.  

we're going to be moving to a clustered environment.  i'm wondering if someone 
can point me to some documentation on what issues i may encounter.  

one of my concerns is how the jmx bean won't 'crash' into each other. for 
example, if one instance is processing a job, how does the other jmx bean 
instances know not to process the same job.

maybe my question(s) are off base (my bad).  i'm trying to figure out the 
issues involved (and coding/configuration changes) moving to a clustered 
environment.

thanks


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

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


[jboss-user] [EJB 3.0] - EJB3 References (ejb-ref)

2008-09-04 Thread triumphthepup
We're deploying an EAR with an EJB jar in it.  We're then trying to access 
those EJBs from another WAR (standalone, not in the EAR) in the same JBoss 
instance.  I'm having a difficult time finding documentation on what the 
"proper" JEE approach is for how servlets etc. in the separate WAR should be 
getting ahold of those EJBs.   

I can successfully get ahold of the EJBs from the separate WAR using the Global 
JNDI name for example

  | InitialContext ctx = new InitialContext();
  | SimpleService service = 
(SimpleService)ctx.lookup("simple-ear/SimpleServiceImpl/local");
  | etc
  | 

However, if I understand correctly, according to the JEE / EJB3 specs I should 
have ejb-local-ref entries in my war.xml etc. for mapping to logical names, 
etc.I've read the spec but it's not clear how much of that is required for 
EJB3 vs. legacy stuff from EJB2.

I can't seem to find a simple example of what all of the proper configuration 
elements are for doing this in JBoss (4.2.3).  It sounds like I need an 
ejb-jar.xml in my EAR and entries in my web.xml in my WAR?

Can anyone suggest some straight forward examples / documentation that 
illustrate what I'm trying to do?   Thanks!!

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Problem in deploying web modules

2008-09-04 Thread kvijayk
Thanks guys. I will try to avoid this problem by copying it first to a temp 
location on the server and then moving it to deployment directory.

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

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


[jboss-user] [JBoss Messaging] - Re: NoClassDefFoundError: org/jgroups/Channel

2008-09-04 Thread dan jboss
"dan jboss" wrote : On a new installation of JBoss Messaging I discovered that 
indeed the line:
  | 
  | attribute name="Clustered">falsehttp://www.jboss.com/index.html?module=bb&op=viewtopic&p=4174398#4174398

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


[jboss-user] [JBoss Messaging] - Re: NoClassDefFoundError: org/jgroups/Channel

2008-09-04 Thread dan jboss
On a new installation of JBoss Messaging I discovered that indeed the line:

false

had the value true. I changed it to false but I still get the same 

Trying to install an already registered mbean

error.

Thanks.
Dan

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

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


[jboss-user] [EJB 3.0] - Re: JBoss MQ + EJB3 MDB Throws Already Registered Exception

2008-09-04 Thread samdoyle
On the slave the lookup fails:

10:42:29,802 WARN  [ServiceController] Problem starting service 
persistence.units:ear=event-management-too
  | l.ear,jar=event-management-tool.jar,unitName=event-management-tool
  | org.hibernate.search.SearchException: Unable to lookup Search queue 
(queue/hibernatesearch) and connection
  |  factory (java:/ConnectionFactory)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4174395
___
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: jboss-4.2.3.GA with MySQL Server 5.0 configuration probl

2008-09-04 Thread dan jboss
"PeterJ" wrote : It appears that you did not install JBoss Messaging properly. 
How did you install it? (I asked this before, you never answered.) Did you run 
the installation script that comes with it?
  | 
  | Yes, I ran the command:
  | 
  | ant -f release-admin.xml -Dmessaging.config.source=all 
-Dmessaging.config.name=jms
  | 
  | The error you are getting is due to pieces of JBossMQ still being present.
  | 
  | To install JBoss Messaging and convert it to use MySQL, you need to:
  | 
  | 1) Run the install script, [jboss_messaging]/util/release-admin.xml, it 
will remove JBossMQ and copy all the files to support JBoss Messaging. (I tried 
to find the notes for how to run this but did not see them, they are not in the 
readme.html but they might be on the wiki.)
  | 
  | Did that.
  | 
  | 2) Create a *-ds.xml file for MySQL (instructions are in the wiki, I 
already gave you the link). Do NOT use "DefaultDS" as the JNDI name unless you 
want to make a lot of other configuration changes; use amother name such as 
"MessagingDS".
  | 
  | Did that. 
  | 
  | 3) Replace the deploy/jboss-messaging.sar/hsqldb-persistence-service.xml 
file (I hope I got this directory name correct) with the 
mysql-persistence-service.xml file from the [jboss_messaging]/examples/config 
directory. Edit this file to use the JNDI name you chose in step 2. The name 
appears several time, you will have to change it in every location.
  | 
  | Did that. I can see the jbm_* tables created in the database.
  | 
  | I still see the following error:
  | 
  | 10:25:44,501 INFO  [ConnectionFactoryBindingService] Bound 
ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA'
  |  to JNDI name 'java:JmsXA'
  | 10:25:44,597 ERROR [MainDeployer] Could not create deployment: 
file:/C:/jboss-4.2.3.GA/server/jms/deploy/jms-ds.xml
  | org.jboss.deployment.DeploymentException: Trying to install an already 
registered mbean: jboss.messaging:service=ServerSessionPoolMB
  | ean,name=StdJMSPool
  | at org.jboss.system.ServiceCreator.install(ServiceCreator.java:103)
  | at 
org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:451)
  | at 
org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
  | at 
org.jboss.system.ServiceController.install(ServiceController.java:226)
  | 
  | in addition to the socket warnings in my previous message.
  | 
  | Would you recommend that I reinstall JBoss and do it all over?
  | Thanks a lot.
  | 
  | Dan
  | 
  | 
  | 
  | I think that is it.

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

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


[jboss-user] [JBoss jBPM] - Re: From BPMN (STP BPMN Editor) to BPEL

2008-09-04 Thread [EMAIL PROTECTED]
Straight from the STP forum
anonymous wrote : The BPMN editor is a pure garphical editor with no generation 
capabilities. Intalio is layering the BPMN editor to create BPEL processes and 
WSDL services. The product is available at http://bpms.intalio.com for free.
I don't see how a BPMN editor with no BPEL/XPDL/whatever generation 
capabilities is useful. Anyway... I think you'd be better off working on the 
BPEL designer directly.


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

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


[jboss-user] [EJB 3.0] - Re: CNF on Exploded Jar in app.ear/lib

2008-09-04 Thread skajotde
When I move to flat ear I have CNF from three jars. It is strange. I checked 
these Classes are in Jars and it looks that it is random jars..

All jar from root ear are on classpath ? and how to easy check ear classpath ? 
(jmx way ?) When these jars was in app.ear/lib there is no problem with these 
jars.

My ear is exploed and flat.

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

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


[jboss-user] [JBoss Getting Started Documentation] - Re: Could not make local copy for file: jboss-service.xml

2008-09-04 Thread triumphthepup
I got similar errors and found out that the permissions on various files in my 
jboss install had been messed up.   I think the problem was that I ran JBoss as 
root at one point.   To fix it I reinstalled JBoss and things work fine now.   
Not sure if you're seeing the same issues.

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

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


[jboss-user] [EJB 3.0] - Re: Stateful SB Passivation

2008-09-04 Thread skajotde
In EJB container passivation is invoked by container. If you make public method 
with annotation @Passivate I think you make them additionally invoke. But look 
out that this method maybe additional twice invoked by container so it should 
be written in safe style to check it is second time pasivation...

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4174387
___
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: jboss-4.2.3.GA with MySQL Server 5.0 configuration probl

2008-09-04 Thread PeterJ
It appears that you did not install JBoss Messaging properly. How did you 
install it? (I asked this before, you never answered.) Did you run the 
installation script that comes with it?

The error you are getting is due to pieces of JBossMQ still being present.

To install JBoss Messaging and convert it to use MySQL, you need to:

1) Run the install script, [jboss_messaging]/util/release-admin.xml, it will 
remove JBossMQ and copy all the files to support JBoss Messaging. (I tried to 
find the notes for how to run this but did not see them, they are not in the 
readme.html but they might be on the wiki.)

2) Create a *-ds.xml file for MySQL (instructions are in the wiki, I already 
gave you the link). Do NOT use "DefaultDS" as the JNDI name unless you want to 
make a lot of other configuration changes; use amother name such as 
"MessagingDS".

3) Replace the deploy/jboss-messaging.sar/hsqldb-persistence-service.xml file 
(I hope I got this directory name correct) with the 
mysql-persistence-service.xml file from the [jboss_messaging]/examples/config 
directory. Edit this file to use the JNDI name you chose in step 2. The name 
appears several time, you will have to change it in every location.

I think that is it.

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

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


[jboss-user] [EJB 3.0] - Re: JBoss MQ + EJB3 MDB Throws Already Registered Exception

2008-09-04 Thread samdoyle
Oh I guess I should mention I'm using JBoss 4.2.2.

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

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


[jboss-user] [EJB 3.0] - Hot Deploy SLSB and SFSB for RAD -- EJBTHREE-1096

2008-09-04 Thread supernovasoftware.com
Please vote for 

https://jira.jboss.org/jira/browse/EJBTHREE-1096

It already has over 4X the votes as any other issue, but still no comments on 
the status of this issue.  And is has not even been scheduled after 1 year.

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

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


[jboss-user] [EJB 3.0] - Re: CNF on Exploded Jar in app.ear/lib

2008-09-04 Thread skajotde
Like jakiran mention in 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=131914 simplest 
solution is to move to flat ear. So I comment maven-ear-plugin and is ok.

  | 
  | 

I hope new vfs will be more powerful solution to that problems ;> Good job 
folks.

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

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


[jboss-user] [EJB 3.0] - About best practises & the use of EntityManager

2008-09-04 Thread bdelbass
Hello.

I am currently working on a J2EE/EJB3/Seam project and I have several questions 
:

1. Sometimes I need to perform queries in EJBQL such as "select s from Service 
s where s.index=?" to find entities using an unique index which is not the 
primary key. Such queries have to be performed several times so I have created 
a method named findServiceUsingIndex(String index). Where is the best place to 
put that method ? My boss tells me I should not put it into the code of the 
Service entity. Any pros/cons? Shall I put it into a stateless bean? What is 
the best practise?

2. One of my tasks consists in exporting data from the entities to a text file 
(and to import data from text files and to update the entities). The entry 
point of the processing is a stateless bean that has an EntityManager annotated 
with @PersistenceContext. Because the processing it quite complex, I have also 
splitted the code that processes files into many classes, packages that are 
only POJOs, not entities neither beans (because they do not really need to be 
exposed as beans). But because they are not beans, these POJOs cannot use the 
@PersistenceContext annotation and thus need to get the EntityManager by 
another way. Therefore, I have passed the EntityManager as first argument to 
the methods that need to find or persist entities. My boss thinks passing an 
EntityManager as a parameter to methods (not constructors) of -plain old- java 
objects is not good and may interfere with JBoss (and wants me to convert all 
my POJOs to beans which means creating a lot of interfaces).!
  I think there is no problem because the objects are just POJOs, and these 
methods do not cache the EntityManager (they just use the EntityManager to 
perform their job and then forget about it) and all the process is done within 
one thread. Do you have any opinion on that?

Thanks in advance for your answers.

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

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

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


[jboss-user] [Beginners Corner] - Re: Load index.jsp as welcome file

2008-09-04 Thread pepelara
Thank you Francis,

You have had a good idea.
Now my application works ok.

Thank you again,
pepelara

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

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


[jboss-user] [EJB 3.0] - JBoss MQ + EJB3 MDB Throws Already Registered Exception

2008-09-04 Thread samdoyle
As suggested I created a new thread.

MDB

@MessageDriven( activationConfig = {
  | @ActivationConfigProperty( propertyName = "destinationType",
  |propertyValue = "javax.jms.Queue" ),
  | @ActivationConfigProperty( propertyName = "destination",
  |propertyValue = "queue/hibernatesearch" )
  | //@ActivationConfigProperty( propertyName = "maxSession", 
propertyValue = "1")
  | } )
  | public class SearchControllerMDB
  | extends AbstractJMSHibernateSearchController
  | {
  |private static Log log = LogFactory.getLog( SearchControllerMDB.class );
  | 
  |@PersistenceContext( unitName = "event-management-tool" )
  |private EntityManager em;
  | 
  |@Override
  |protected void cleanSessionIfNeeded( Session session )
  |{
  |   //nothing to do container managed
  |}
  | 
  |@Override
  |protected Session getSession()
  |{
  |   if ( log.isDebugEnabled() )
  |   {
  |  log.debug( "SearchControllerMDB.getSession: entered" );
  |   }
  |   return ( Session ) em.getDelegate();
  |}
  | 
  |
  | }

*-service.xml


  |queue/hibernatesearch
  |jboss.mq:service=DestinationManager
  |jboss.mq:service=SecurityManager
  |
  |   
  |  
  |  
  |  
  |   
  |
  | 

Result at startup:

ar=event-management-tool.jar,name=SearchControllerMDB,service=EJB3
  | javax.management.InstanceAlreadyExistsException: 
jboss.mq.destination:service=Queue,name=hibernatesearch a
  | lready registered.
  | at 
org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistry.java:761)
  | at 
org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:225)
  | at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.j
  | ava:142)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1422)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at 
org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1417)
  | at 
org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:295)
  | at 
org.jboss.mq.server.jmx.DestinationManager.createDestination(DestinationManager.java:305)
  | at 
org.jboss.mq.server.jmx.DestinationManager.createQueue(DestinationManager.java:271)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.ejb3.JmxClientKernelAbstraction.invoke(JmxClientKernelAbstraction.java:44)
  | at 
org.jboss.ejb3.jms.DestinationManagerJMSDestinationFactory.createDestination(DestinationManager
  | JMSDestinationFactory.java:75)
  | at 
org.jboss.ejb3.mdb.MessagingContainer.createTemporaryDestination(MessagingContainer.java:573)
  | at 
org.jboss.ejb3.mdb.MessagingContainer.createDestination(MessagingContainer.java:512)
  | at 
org.jboss.ejb3.mdb.MessagingContainer.innerCreateQueue(MessagingContainer.java:438)
  | at 
org.jboss.ejb3.mdb.MessagingContainer.jmsCreate(MessagingContainer.java:400)
  | at 
org.jboss.ejb3.mdb.MessagingContainer.innerStart(MessagingContainer.java:166)
  | at 
org.jboss.ejb3.mdb.MessagingContainer.start(MessagingContainer.java:152)
  | at org.jboss.ejb3.mdb.MDB.start(MDB.java:126)
  |   

[jboss-user] [EJB 3.0] - CNF on Exploded Jar in app.ear/lib

2008-09-04 Thread skajotde
I have commented issue with exploded jar from  in persitence.xml.

Exploded jar (inside EAR) containing persistence.xml with jar-file element 
fails to deploy - 
https://jira.jboss.org/jira/browse/EJBTHREE-1254?focusedCommentId=12428289#action_12428289

Is exploded jar in app.ear/lib on classpath this app.ear ?

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - occasional NoClassDefFoundError

2008-09-04 Thread trey.howard
One of our deployment occasionally gets a NoClassDefFoundError.
We have deployed with the PermGen garbage collection turned on, and I'm curious 
to know if that is perhaps resulting in an error like this:
java.lang.NoClassDefFoundError: 
com/opensymphony/module/sitemesh/util/FastByteArrayOutputStream

com.opensymphony.module.sitemesh.filter.Buffer.getOutputStream(Buffer.java:68)

com.opensymphony.module.sitemesh.filter.PageResponseWrapper$4.create(PageResponseWrapper.java:84)
...

Note: It's not always a SiteMesh library. It seems to be a different library 
each time, sometimes even lower-level JBoss libs.

I'm totally lost here, as identical installations elsewhere have NEVER seen an 
error like this, so I'm not sure where to begin.
Is it possible that the class unloading i've enabled:
-XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled 
-XX:+CMSClassUnloadingEnabled
is interfering?
Could this be due to a network admin stopping and/or starting JBoss improperly 
(GUI 'X' followed by 'End Now').

Any help would be greatly appreciated!
-Trey


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

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


[jboss-user] [JBoss jBPM] - Re: How to deploy a BPEL process using the APIs?

2008-09-04 Thread [EMAIL PROTECTED]
anonymous wrote : I presume I can use the default DataSource and not the 
Hibernate Server Mode over TCP.(Am I right??)
Yes you are right
anonymous wrote : Why is it not able to find? 
My guess without looking at the code of your service is that you have not 
committed the transaction where you deploy the process prior to building the 
web module. Closing the jbpm context results in committing the transaction.

Upon deployment the newly built web module retrieves the process definition 
from the database in a separate transaction. Your process deployment service 
must have committed the insertion of the new process definition for the web 
module to be able to read it.

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Why does TreeCache notify when putting data gotten by a

2008-09-04 Thread jimshowalter
However, we also do puts to the cache that we want to replication. What we 
really want is:

if put due to read from database
setCacheLModeLocal(true)
else
setCacheModeLocal(false)
end if

But with puts to the cache happening in multiple nodes, and puts due to reads 
happening in other nodes, won't setCacheModeLocal affect all of them at once? 
We need it to be selective on individual notes, for single puts.

cache.putWithoutReplicate(...) would be really useful.

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Custom Eviction Policy and JDBC Cache loader

2008-09-04 Thread mircea.markus
anonymous wrote : In a clustered environment, how does passivation works? Is 
there a master cache doing the passivation, or every cache will passivate its 
data whenever an evict event is triggered? 
no passivation coordinator, pasivation is handled at a node instance and from 
this POV works like 'classic' cache loading. The only difference stays in 
*when* the store is touched(e.g. won't store data on cache.put, but only on 
evict). Documentation :)

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Why does TreeCache notify when putting data gotten by a

2008-09-04 Thread jimshowalter
Very cool--thanks!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4174368
___
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: jboss-4.2.3.GA with MySQL Server 5.0 configuration probl

2008-09-04 Thread dan jboss
"PeterJ" wrote : What version of JBoss Messaging did you install?  How did you 
install it?
  | 
  | The mysql-jdbc2-service.xml file belongs to JBossMQ and not JBoss 
Messaging. You should not be using that file.
  | 
  | Did you follow the steps under "JBossMQ" at 
http://wiki.jboss.org/wiki/SetUpAMysqlDatasource to set up MySQL? If so, those 
instructions do not apply to JBoss Messaging. 
  | 

Sorry to keep bugging. I am not spamming. As I was working last night I got 
different errors that I believed belonged to different forums.

I have reinstalled and configured JBoss Messaging. I discovered that I was 
indeed missing a couple of steps in the configuration. I still have the "Trying 
to install an already registered mbean" problem, as you can see in the log 
below. I there anything in JBoss itself (outside Messaging) that I might have 
done wrong?

I really appreciate the help.
Thanks.

Dan

08:55:38,429 INFO  [TransactionManagerService] Starting recovery manager
08:55:38,506 INFO  [TransactionManagerService] Recovery manager started
08:55:38,506 INFO  [TransactionManagerService] Binding TransactionManager JNDI 
Reference

Anything wrong here below?

08:55:41,587 INFO  [EJB3Deployer] Starting java:comp multiplexer
08:55:44,666 WARN  [UDP] failed to join /224.0.0.75:7500 on net2: 
java.net.SocketException: Unrecognized Windows Sockets error: 0: n
o Inet4Address associated with interface
08:55:44,666 WARN  [UDP] failed to join /224.0.0.75:7500 on net3: 
java.net.SocketException: Unrecognized Windows Sockets error: 0: n
o Inet4Address associated with interface
08:55:44,673 INFO  [STDOUT]
---
GMS: address is 127.0.0.1:50501
---
08:55:46,693 INFO  [TreeCache] viewAccepted(): [127.0.0.1:50501|0] 
[127.0.0.1:50501]
08:55:46,711 INFO  [TreeCache] TreeCache local address is 127.0.0.1:50501
08:55:46,711 INFO  [TreeCache] State could not be retrieved (we are the first 
member in group)
08:55:46,711 INFO  [TreeCache] parseConfig(): PojoCacheConfig is empty
08:55:49,169 INFO  [NativeServerConfig] JBoss Web Services - Native
08:55:49,169 INFO  [NativeServerConfig] jbossws-3.0.1-native-2.0.4.GA 
(build=200803312044)
08:55:50,098 INFO  [SnmpAgentService] SNMP agent going active
08:55:50,595 INFO  [DefaultPartition] Initializing
08:55:50,753 WARN  [UDP] failed to join /224.0.0.75:7500 on net2: 
java.net.SocketException: Unrecognized Windows Sockets error: 0: n
o Inet4Address associated with interface
08:55:50,754 WARN  [UDP] failed to join /224.0.0.75:7500 on net3: 
java.net.SocketException: Unrecognized Windows Sockets error: 0: n
o Inet4Address associated with interface
08:55:50,755 INFO  [STDOUT]
---
GMS: address is 127.0.0.1:50505
---
08:55:52,781 INFO  [DefaultPartition] Number of cluster members: 1
08:55:52,781 INFO  [DefaultPartition] Other members: 0
08:55:52,781 INFO  [DefaultPartition] Fetching state (will wait for 3 
milliseconds):
08:55:52,782 INFO  [DefaultPartition] State could not be retrieved (we are the 
first member in group)
08:55:52,831 INFO  [HANamingService] Started ha-jndi bootstrap jnpPort=1100, 
backlog=50, bindAddress=/127.0.0.1
08:55:52,932 INFO  [DetachedHANamingService$AutomaticDiscovery] Listening on 
/127.0.0.1:1102, group=230.0.0.4, HA-JNDI address=127.0
.0.1:1100
08:55:53,176 INFO  [TreeCache] No transaction manager lookup class has been 
defined. Transactions cannot be used
08:55:53,468 WARN  [UDP] failed to join /224.0.0.75:7500 on net2: 
java.net.SocketException: Unrecognized Windows Sockets error: 0: n
o Inet4Address associated with interface
08:55:53,470 WARN  [UDP] failed to join /224.0.0.75:7500 on net3: 
java.net.SocketException: Unrecognized Windows Sockets error: 0: n
o Inet4Address associated with interface
08:55:53,473 INFO  [STDOUT]
---
GMS: address is 127.0.0.1:50508
---
08:55:55,499 INFO  [TreeCache] viewAccepted(): [127.0.0.1:50508|0] 
[127.0.0.1:50508]
08:55:55,502 INFO  [TreeCache] TreeCache local address is 127.0.0.1:50508
08:55:55,767 WARN  [UDP] failed to join /224.0.0.75:7500 on net2: 
java.net.SocketException: Unrecognized Windows Sockets error: 0: n
o Inet4Address associated with interface
08:55:55,770 WARN  [UDP] failed to join /224.0.0.75:7500 on net3: 
java.net.SocketException: Unrecognized Windows Sockets error: 0: n
o Inet4Address associated with interface
08:55:55,774 INFO  [STDOUT]
---
GMS: address is 127.0.0.1:50511
---
08:55:57,800 INFO  [TreeCache] viewAccepted(): [127.0.0.1:50511|0] 
[127.0.0.1:50511]
08:55:57,803 INFO  [TreeCache] TreeCache local address is 127.0.0.1:50511
08:55:59,230 INFO  [CorbaNamingService] Naming: 
[IOR:000

[jboss-user] [JBoss Cache: Core Edition] - Re: Why does TreeCache notify when putting data gotten by a

2008-09-04 Thread mircea.markus
anonymous wrote : 
cache.getInvocationContext().getOptionOverrides().setCacheModeLocal(true);
  | cache.put("/a/b/c", "key", "value"); //this won't get replicated

take a look in docs at 'options' api.


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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Configuring ejb3-timer-service.xml (JBoss 5.0.0.CR1)

2008-09-04 Thread PeterJ
You need to do several things, so pardon my quoting from JBoss In Action 
(http://www.manning.com/jamae), chapter 15:

anonymous wrote : The first thing you'll need to do is download the Quartz 
source file that corresponds to the version provided by JBoss AS. You can 
determine the Quartz version by examining the META-INF/Manifest.mf file located 
in the server/xxx/lib/quartz.jar file. 
  | 
  | With the Quartz source code at hand, you need to change two things in the 
server/xxx/deploy/ejb3-timer-server.xml file.
  | 
  | First, the ejb3-timer-server.xml file contains a list of Quartz properties. 
You're interested in this property:
  | 
  | 
org.quartz.jobStore.driverDelegateClass=org.quartz.impl.jdbcjobstore.HSQLDBDelegate
  | 
  | You need to change the delegate class to match the one for your database. 
The valid delegates can be found in the src/java/org/quartz/impl/jdbcjobstore 
directory of the Quartz source. For example, use the PostgreSQLDelegate class 
for a PostgreSQL database. If there’s no delegate specific to your 
database, as is the case for MySQL, use the StdJDBCDelegate class. For example, 
for MySQL this delegate property would be
  | 
  | 
org.quartz.jobStore.driverDelegateClass=org.quartz.impl.jdbcjobstore.StdJDBCDelegate
  | 
  | The second change is more complicated. The SqlProperties attribute in the 
ejb3-timer-server.xml file contains a list of SQL statements used to create and 
initialize the tables in the database. You need to replace these SQL statements 
with the ones for your database. You can find the correct statements in the 
Quartz sources in the docs/dbTables directory. For example, use the 
tables_postgres.sql file for a PostgreSQL database.
  | When replacing the SQL statements, leave the CREATE_* property name on the 
line. For example, the property to create the job details table would look like
  | 
  | CREATE_TABLE_JOB_DETAILS = CREATE TABLE qrtz_job_details(...);
  | 
  | where the CREATE TABLE qrtz_job_details(...); text comes from the 
tables_*.sql file for your database.
  | 
  | For MySQL users, note that the tables_mysql.sql file uses uppercase letters 
for the table names. If you’re running MySQL on Unix/Linux, make sure you 
make that change because MySQL table names are case-sensitive on those 
platforms.


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

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

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


[jboss-user] [JBoss Messaging] - Re: JBoss doesnt release threads after executing MDB (out of

2008-09-04 Thread [EMAIL PROTECTED]
"dietice" wrote : (It's an old thread, but I seem to have the same problem) 
These may be related?
  | 
  | Re: Bug: Injected EJB objects instantiated on every MDB call
  | [#JBAS-5345] New instance of resources injected on every onMessage MDB call
  | 

"Tim Fox" wrote : Please use the JBoss MQ forum for JBoss MQ issues.

Or migrate to JBossMessaging ;-)

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

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


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

2008-09-04 Thread [EMAIL PROTECTED]
java.net.SocketException: Connection reset by peer: socket write error
  | at java.net.SocketOutputStream.socketWrite0(Native Method)
  | at 
java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
  | at java.net.SocketOutputStream.write(SocketOutputStream.java:115)
  | at 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker$PingTimer
  | Task.run(BisocketClientInvoker.java:636)
  | at java.util.TimerThread.mainLoop(Timer.java:512)
  | at java.util.TimerThread.run(Timer.java:462)
  | 

This is just the server trying to ping your client.

When you have a connection opened, the server will ping the client from time to 
time. As you're not closing the connection you're getting this error.

If you close the connection (which is the expected behavior) you won't have any 
ping failing under regular circumstances.

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Why does TreeCache notify when putting data gotten by a

2008-09-04 Thread jimshowalter
Is there a put method we can call that doesn't cause replication? If so, we 
would not have to implement a CacheLoader, which would save a fair amount of 
time.

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Why does TreeCache notify when putting data gotten by a

2008-09-04 Thread jimshowalter
Thank you for the clarification. We will implement a CacheLoader now that we 
understand the distinction.

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: HTTPConnection in startup servlet works only with hot de

2008-09-04 Thread jaikiran
In addition to what Peter said, is static.xyz.com some external site or is it a 
virtual host that you have setup?

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

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


[jboss-user] [JBoss jBPM] - Re: drools

2008-09-04 Thread somath704
"kukeltje" wrote : thats why I said or a mailinglist Why *does* cuil AND 
google returns them in a search result for *me*? Even the drools homepage shows 
them. I'm sure you can find this homepage.
  | 
  | 

yeah, but my original post i was asking if there was an "official drools 
forum".  I can see there's a mailing list.  thanks anyways..

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Custom Eviction Policy and JDBC Cache loader

2008-09-04 Thread jorgemoralespou_2
I have already tried with passivation, and this seems to be what I was looking 
for.
In a clustered environment, how does passivation works? Is there a master cache 
doing the passivation, or every cache will passivate its data whenever an evict 
event is triggered?

The problem with JBC3.x is what we have longely talked in the forums. Not 
usable with JBossAS4.2.x. :-(

Thanks Mircea.

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: HTTPConnection in startup servlet works only with hot de

2008-09-04 Thread PeterJ
OK, that rules out some obscure timing issue, which could have been the problem 
if the url was http://localhost:8080/x.

I cannot think of any plausible reason why an outbound connection would have an 
issue during jbossas startup (even jbossas itself has at time made such 
requests).

All I can think of at this time to try turning off load-on-startup.

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: jboss-container jar

2008-09-04 Thread mircea.markus
yes.
This is a common misconception about JBossCache/PojoCache: you do not need 
jboss as to us them.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4174353
___
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: Error in entitymanager

2008-09-04 Thread PeterJ
Did you read the error message:

Cause: Illegal character in path at index 18: file:/C:/Documents and 
Settings/...

Did you count the letters to see what is at index 18?

Many Java libraries balk at spaces in path names. You should move JBossAS out 
of "Documents and Settings". I have mine at d:/opt/jboss/jboss-4.2.2.GA.

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

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


[jboss-user] [JBoss jBPM] - Re: How to deploy a BPEL process using the APIs?

2008-09-04 Thread dhanushgopinath
Alex,

Any help for the above post will be much appreciated.

It is some time i tested it, now with MYSQL DB. But it still giving the smae 
problem.

Thanks & Regards
Dhanush

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: jboss-container jar

2008-09-04 Thread cburger
Hello,

so means to run Pojo or TreeCache aparat from JBOSS AS I would never need that 
lib.

C.

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: jboss-container jar

2008-09-04 Thread mircea.markus
By JBoss-container you mean JBoss Application Server?
Both Core(previously named Tree) and Pojo cache run just fine outside the AS.

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Why does TreeCache notify when putting data gotten by a

2008-09-04 Thread mircea.markus
notification and replication are different things.
Notification is made only locally. 
anonymous wrote : cache.getNotifier().notifyNodeActivated(fqn, true, 
Collections.emptyMap(), ctx); // Spurious notification sent here. 
this code will notify all CacheListener that a certain node is loaded, and all 
the cache listeners are local to the cache Vm/Instance. 
I suggest reading CacheListener documentation.

When doing a cache.put on the other hand, the operation is replicated in all 
cache nodes.

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

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


[jboss-user] [JBoss Portal] - Re: JBoss Portal Theme Development

2008-09-04 Thread PeterJ
Please do not ask the same question in multiple topics.

http://www.jboss.com/index.html?module=bb&op=viewtopic&t=141690

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

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


[jboss-user] [JBoss Tools (users)] - Re: Where is the nightly build?

2008-09-04 Thread [EMAIL PROTECTED]
we had a glitch in a plugin declaring a bad dependency that is causing the 
build to fail - we are working on fixing it ;)



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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - jboss 4.2.1 throws NoClassDefFoundError's on boot on 64bit s

2008-09-04 Thread slotties
Hi,

we're currently installing a JBoss on a sun solaris 10 (sun fire t2000) with a 
sun jvm for sparc (1.5.0_16). When we use the 32bit version everything works 
fine (even though the jboss boots *very* slow) but when we use the "-d64" 
parameter we run into NoClassDefFoundError's on startup:


  | 16:50:34,949 INFO  [Server] Starting JBoss (MX MicroKernel)...
  | 16:50:34,953 INFO  [Server] Release ID: JBoss [Trinity] 4.2.1.GA (build: 
SVNTag=JBoss_4_2_1_GA date=200707131605)
  | 16:50:34,958 INFO  [Server] Home Dir: /cms/jboss-4.2.1.GA_slimmed
  | 16:50:34,958 INFO  [Server] Home URL: file:/cms/jboss-4.2.1.GA_slimmed/
  | 16:50:34,961 INFO  [Server] Patch URL: null
  | 16:50:34,962 INFO  [Server] Server Name: pb-cms2
  | 16:50:34,963 INFO  [Server] Server Home Dir: 
/cms/jboss-4.2.1.GA_slimmed/server/pb-cms2
  | 16:50:34,964 INFO  [Server] Server Home URL: 
file:/cms/jboss-4.2.1.GA_slimmed/server/pb-cms2/
  | 16:50:34,964 INFO  [Server] Server Log Dir: 
/cms/jboss-4.2.1.GA_slimmed/server/pb-cms2/log
  | 16:50:34,965 INFO  [Server] Server Temp Dir: 
/cms/jboss-4.2.1.GA_slimmed/server/pb-cms2/tmp
  | 16:50:34,967 INFO  [Server] Root Deployment Filename: jboss-service.xml
  | 16:50:36,163 INFO  [ServerInfo] Java version: 1.5.0_16,Sun Microsystems Inc.
  | 16:50:36,163 INFO  [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 
1.5.0_16-b02,Sun Microsystems Inc.
  | 16:50:36,164 INFO  [ServerInfo] OS-System: SunOS 5.10,sparcv9
  | 16:50:37,656 INFO  [Server] Core system initialized
  | 16:50:46,858 WARN  [DeploymentOrderComparator] Could not read reload-period 
from mbean.
  | 16:50:46,861 WARN  [DeploymentOrderComparator] Could not read 
configuration-location from mbean.
  | 16:50:46,862 INFO  [DeploymentOrderComparator] Initializing with: 
reloadPeriod=12, location=JBOSS_SERVER_HOME/conf/deployment-order.conf, 
strictToModules=false
  | 16:50:47,265 INFO  [WebService] Using RMI server codebase: 
http://10.11.17.100:18083/
  | 16:50:47,853 WARN  [ServiceController] Problem creating service 
jboss.remoting:service=Connector,transport=socket
  | java.lang.NoClassDefFoundError: org/jboss/remoting/marshal/SerialMarshaller
  | at java.lang.ClassLoader.defineClass1(Native Method)
  | [...]
  | 

Does anyone know what may the problem or how we can do more analysis on this?

Regards,
Stefan

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

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


[jboss-user] [JBoss Portal] - Re: JBoss POrtal Customization

2008-09-04 Thread PeterJ
Does this help: 
http://docs.jboss.com/jbportal/v2.6.6/referenceGuide/html/themeandlayouts.html

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Custom Eviction Policy and JDBC Cache loader

2008-09-04 Thread mircea.markus
anonymous wrote : For this, I have done a custom eviction Policy to remove data 
from cache, as related in here. 
JBC3.0 solves this problem much nicely: you are allowd to specify an 
EvictionActionPolicy for each evcition algorithm. EvictionActionPolicy refers 
to allowing one to do to-disk eviction, remove from memory or whatever strategy 
is chosen. 
anonymous wrote : What I experience is that my data is being written to 
secondary storage as soon as I write into cache
I guess what you need here is passivation:
false
Take a look at what passivation can do for you in the user guide.
anonymous wrote : and once the eviction work runs, it removes data from 
database that has the custom remove policy.
  | 
That is because when you do cache.remove within your custom eviction, this will 
go through the interceptor chain and remove data from DB, as per a normal 
cache.remove. Again, passivation should solve this issue for you.

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: unable to find log4j.properties file in classpath

2008-09-04 Thread PeterJ
See http://wiki.jboss.org/wiki/Logging

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: classoverirding in jboss

2008-09-04 Thread patwary_shiva
Thanks peter that worked.Thanks a lot.

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

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


[jboss-user] [JBoss Messaging] - Re: NoClassDefFoundError: org/jgroups/Channel

2008-09-04 Thread PeterJ
Actually, I should provide some more information here. The example 
*-persistence-service.xml files that come with JBoss Messaging and with JBossAS 
5.0 all have "Clustered" set to "true" and contain clustering information. I 
predict that if the *-persistence-service.xml files remain as they are, that 
this topic will be repeated quite often once 5.0 goes GA.

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

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


[jboss-user] [Security & JAAS/JBoss] - Re: JAAS Authentication from stand alone client

2008-09-04 Thread ragavgomatam
Also I think here is where the problem lies
anonymous wrote : - accessing a unsecured ejb, which calls secured ejb - failes 
Where is the jaas login done before you access a secured ejb ?

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: library need in ear archive

2008-09-04 Thread francis17101970
it's simply a matter of classloading.
If you put files in the WEB-INF/lib dir they will be visible only to the web 
application. Good if these lib are only needed by the webapp
On the other hand if you need the jar file for the WHOLE enterprise application 
put it in the ear file.



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

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


[jboss-user] [JBossWS] - Re: Problems accessing SSL webservice

2008-09-04 Thread Vitor Isaia
"Vitor Isaia" wrote : 
  | So, the hole code I've show you was working without SSL, in the URL 
http://localhost:9090/abc/deteccaopcws?wsdl
  | 

I mean the whole code...

In the client, I just instantiate the client service (DeteccaoPCWSService) and 
call It's method.

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

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


[jboss-user] [Security & JAAS/JBoss] - Re: JAAS Authentication from stand alone client

2008-09-04 Thread ragavgomatam
anonymous wrote : user - accessing secured ejb - internall calls 
LoginModule.login() login successfull 
  | 
  | - accessiing unsecured ejb - successfull 
  | 
  | - accessing a unsecured ejb, which calls secured ejb - failes 

Post the code that does this

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

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


[jboss-user] [JNDI/Naming/Network] - JNDI in ejb3

2008-09-04 Thread design2006
Dear all,

How to do a jndi to lookup a datasource in ejb3 ?
I want to lookup the datasource, grap the connection, and do something rather 
than using the EntityManager.
I try 
lookup("java:/mysqlDS");
lookup("java:comp/env/mysqlDS");

it always gave me 
javax.naming.NameNotFoundException: "something" not bound

I have a persistence.xml file in the ejb jar file, mysql-ds.xml file in the 
\server\default\deploy.

What i can do to make this thing work ? thanks.

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

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


[jboss-user] [JBoss/Spring Integration] - Re: Deployment using Jboss/Spring Integration

2008-09-04 Thread ragavgomatam
anonymous wrote : I want to integrate JBOSS with spring
Do you want to use Spring in your application or use the Spring-Deployer. Two 
entirely different things . Please read the Wiki 

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

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


[jboss-user] [Beginners Corner] - Re: What is the difference between JBOSS IDE and JBOSS Devel

2008-09-04 Thread francis17101970
As far as I know JBoss Developer studio has simply bundled all necessary 
plugins, I have seen only a Beta release at a Red Hat course. It was quite good 
for Seam integration.
Anyway for starting I'd suggest you to download a basic Eclipse version and 
install just the JBoss IDE plugin, there are instructions in the documentation 
area


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

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


  1   2   >