[jboss-user] [JBossWS] - Re: WebServiceContext injection. Was it fixed or not?

2009-06-11 Thread richard.opa...@jboss.com
This is fixed since JBossWS 3.1.2

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

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


[jboss-user] [JBossWS] - Re: JAXWS handlers

2009-06-11 Thread richard.opa...@jboss.com
What JBossWS version are you using?

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

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


[jboss-user] [JBoss Tools (users)] - Re: Problem with Jboss 5.0.1.GA under elipse 3.4.2

2009-06-11 Thread Torleif
If i look under my workspace, neptune/J2EE 1.4 Libraries (Jboss Tools). 
ejb-api.jap - 
/Applications/eclipse/configuration/org.eclipse.osgi/bundles/681/1/.cp/libsrc/j2ee-1.4/ejb-api.jar

But when i look in the finder it says like this:
/Applications/eclipse/configuration/org.eclipse.osgi/bundles/681/1

The whole last part is missing: /.cp/libsrc/j2ee-1.4/ejb-api.jar . This whole 
folder is empty, 
/Applications/eclipse/configuration/org.eclipse.osgi/bundles/681/1

Could this be the problem?

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

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


[jboss-user] [JBoss Portal] - Re: JBoss portal, tomahawk and user roles

2009-06-11 Thread Deady
One must add
security-role-ref
role-nameUser/role-name
/security-role-ref
to portlet.xml

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Tomcat / JBoss mod_jk with Apache Bad Gateway

2009-06-11 Thread jfrederic.cl...@jboss.com
worker.node1.socket_timeout=10
Try to increase the value or use reply_timeout see 
http://tomcat.apache.org/connectors-doc/reference/workers.html

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

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


[jboss-user] [JBoss jBPM] - jBPM 4 - Conceptual questions regarding the IdentityService

2009-06-11 Thread DrBr
Hello,

this is more of a conceptual question rather than trying to dig through the API 
:)

I know I can create tasks, assign them to users and groups and then query for 
those. So, using my application-centric user-model, I can assign tasks to my 
users and groups without jBPM knowing anything about my own user-model 
structure. 

So, could somebody point out some of the benefits of using jBPM's 
IdentityService since, to my view, I can already achieve everything I want 
without using it?

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

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


[jboss-user] [EJB/JBoss] - Re: EJB tutorial

2009-06-11 Thread jaikiran
Here http://www.jboss.org/ejb3/docs/

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

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


[jboss-user] [JBoss Messaging] - Re: MDB Reading On Remote Topic

2009-06-11 Thread timfox
Also, this is not the right forum for MDB config questions.

There's another forum for that.

JBoss Messaging does not handle MDBs, that's part of the app server.

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: snippet of code for eviction policy

2009-06-11 Thread syreo
Hello,

I cannot find the subpackage /tree in 
http://anonsvn.jboss.org/repos/jbossas/projects/ejb3/trunk/cache/src/main/java/org/jboss/ejb3/cache/),
 it seems it doesn't exist... has it been moved? Can you tell me the new 
location please?
There are other java classes in org.jboss.ejb3.cache, but none seems to deal 
with eviction policies.
Anyway thank you very much for your help!

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

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


[jboss-user] [EJB/JBoss] - Re: EJB tutorial

2009-06-11 Thread samwan808
jaikiran wrote : Here http://www.jboss.org/ejb3/docs/
Hi, thanks for the link. 
Is there a similar tutorial but in eclipse base JBOSS EJB3? 
I have my JBOSS 5.0 installed in FreeBSD and I want to start a JBoss EJB 
project from Windows Eclipse 3.4.2. Thus, I may need to IMPORT some files from 
JBOSS in FreeBSD, but I am not sure what should I do when I come to that import 
stage.

Thanks
Sam

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

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


[jboss-user] [Clustering/JBoss] - Re: How to add a clustering node?

2009-06-11 Thread Allen_Lei
I see,thanks.

I'm now using JBoss 4.x and hava not used JBoss 5 yet.So I will try the JBoss 5 
with mod_cluster later.

I think gracefully restart apache is a appropriate idea for now.

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

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


[jboss-user] [JBoss Portal] - Can we add 2-3 portlets in dashboard of every user as defaul

2009-06-11 Thread mabimal
Hello All,

I am in a situation to add 2/3 portlets in the dashboard of every user. Can we 
set 2-3 or multiple portlets to every user? 

Hope for the quick answer.

Regards
Mabimal

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

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


[jboss-user] [JBoss Portal] - Re: Integrate Jboss Portal 2.7 with existing CAS

2009-06-11 Thread sandello
Hi.

You are right. The problem is in SSL sertificate. I have add my CA cert to 
$JAVA_HOME/jre/lib/security/cacerts and the problem is solved.

Thanks.

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

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


[jboss-user] [JBoss Messaging] - Re: MDB Reading On Remote Topic

2009-06-11 Thread Chopper
but i would know if the rest of configuration, every step  (Topic, JMSProvider, 
invoker proxy binding) is correct..

can you say me something? 

I followed this :

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

and other tutorials...

Bye, thanks..

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

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


[jboss-user] [JBoss Portal] - Re: Integrate Jboss Portal 2.7 with existing CAS

2009-06-11 Thread mposo...@redhat.com
+1 to confusing name of casServerName attribute. Maybe it could be 
casClientServer? Because I think it's not only about server name but server 
port too.

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

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


[jboss-user] [JNDI/Naming/Network] - JNDI Error reading on remote Topic

2009-06-11 Thread Chopper
Hello, my name is Giuseppe,

This is the situation:

I have 2 JBoss installed on my PC (kubuntu 9.04).

JBoss A (v 4.2.3) updated with Messaging and JBoss B (v 5.0.0, native 
Messaging, JBPM installed). 

With this commands i obtain 2 virtual ip address on my pc:
sudo ip addr add 192.168.0.203 dev lo
sudo ip addr add 192.168.0.209 dev lo

A Java web application with servlet must be deployed on JBoss A: it sends 
messages on a topic.

I made this topic adding this code to the file destination-services.xml into 
directory...deploy/messaging of JBoss A


  | mbean code=org.jboss.jms.server.destination.TopicService
  |   name=jboss.messaging.destination:service=Topic,name=pyTopic
  |   xmbean-dd=xmdesc/Topic-xmbean.xml
  |   depends 
optional-attribute-name=ServerPeerjboss.messaging:service=ServerPeer/depends
  |   dependsjboss.messaging:service=PostOffice/depends
  |/mbean
  | 

then i added into jms-ds.xml in JBoss B the following JMSProvider:


  |mbean code=org.jboss.jms.jndi.JMSProviderLoader
  |  
name=jboss.messaging:service=JMSProviderLoader,name=RemoteJMSProvider,server=http://192.168.0.203;
  |attribute name=ProviderNameRemoteJMSProvider/attribute
  |attribute 
name=ProviderAdapterClassorg.jboss.jms.jndi.JNDIProviderAdapter/attribute
  |!-- The connection factory --
  |attribute name=FactoryRefXAConnectionFactory/attribute
  |!-- The queue connection factory --
  |attribute name=QueueFactoryRefXAConnectionFactory/attribute
  |!-- The topic factory --
  |attribute name=TopicFactoryRefXAConnectionFactory/attribute
  |!-- Connect to JNDI on the host the-remote-host-name port 1099--
  |attribute name=Properties
  |   java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
  |   java.naming.factory.url.pkgs=org.jnp.interfaces
  |   java.naming.provider.url=192.168.0.203:1099
  |/attribute
  |  /mbean
  | 

and Into my standardjboss.xml (JBoss B) i added an


  | invoker-proxy-binding
  |  namemy-mdb-invoker/name
  |  invoker-mbeandoes-not-matter/invoker-mbean
  |  
proxy-factoryorg.jboss.ejb.plugins.jms.JMSContainerInvoker/proxy-factory
  |  proxy-factory-config
  | 
JMSProviderAdapterJNDIRemoteJMSProvider/JMSProviderAdapterJNDI
  |
ServerSessionPoolFactoryJNDIStdJMSPool/ServerSessionPoolFactoryJNDI
  | MinimumSize1/MinimumSize
  | MaximumSize15/MaximumSize
  | KeepAliveMillis3/KeepAliveMillis
  | MaxMessages1/MaxMessages
  | MDBConfig
  |ReconnectIntervalSec10/ReconnectIntervalSec
  |DLQConfig
  |   DestinationQueuequeue/DLQ/DestinationQueue
  |   MaxTimesRedelivered10/MaxTimesRedelivered
  |   TimeToLive0/TimeToLive
  |/DLQConfig
  | /MDBConfig
  |  /proxy-factory-config
  |   /invoker-proxy-binding
  | 

finally in jboss.xml (into the MDB) i have something like this:


  | ?xml version=1.0 encoding=UTF-8?
  | jboss
  | enterprise-beans
  | message-driven
  | ejb-nameNotificationHandlerBean/ejb-name
  | destination-jndi-nametopic/pyTopic/destination-jndi-name
  | invoker-bindings
  | invoker
  | 
invoker-proxy-binding-namemy-mdb-invoker/invoker-proxy-binding-name
  | /invoker
  | /invoker-bindings
  | /message-driven
  | /enterprise-beans
  | /jboss
  | 
  | 

I used Netbeans 6.5.1 developing both Sender (servlet) and Receiver (MDB) 
application.

Now i execute jbossA on 192.168.0.203 and jbossB on 192.168.0.209..

I tryed different solution but the error seems to be always the same: 

*** CONTEXTS IN ERROR: Name - Error

jboss.j2ee:binding=my-mdb-invoker,jndiName=local/notificationhandlerb...@2732525,plugin=invoker,service=EJB
 - org.jboss.deployment.DeploymentException: Themessage-destination 'pyTopic' 
has no jndi-name in jboss.xml


Please help me..i'm in trouble!!!

Thanks a lot...

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

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


[jboss-user] [EJB/JBoss] - Error readind from a MDB (v 2.1) on a remote Topic

2009-06-11 Thread Chopper
Hello, my name is Giuseppe,

This is the situation:

I have 2 JBoss installed on my PC (kubuntu 9.04).

JBoss A (v 4.2.3) updated with Messaging and JBoss B (v 5.0.0, native 
Messaging, JBPM installed). 

With this commands i obtain 2 virtual ip address on my pc:
sudo ip addr add 192.168.0.203 dev lo
sudo ip addr add 192.168.0.209 dev lo

A Java web application with servlet must be deployed on JBoss A: it sends 
messages on a topic.

I made this topic adding this code to the file destination-services.xml into 
directory...deploy/messaging of JBoss A


  | mbean code=org.jboss.jms.server.destination.TopicService
  |   name=jboss.messaging.destination:service=Topic,name=pyTopic
  |   xmbean-dd=xmdesc/Topic-xmbean.xml
  |   depends 
optional-attribute-name=ServerPeerjboss.messaging:service=ServerPeer/depends
  |   dependsjboss.messaging:service=PostOffice/depends
  |/mbean
  | 

then i added into jms-ds.xml in JBoss B the following JMSProvider:


  |mbean code=org.jboss.jms.jndi.JMSProviderLoader
  |  
name=jboss.messaging:service=JMSProviderLoader,name=RemoteJMSProvider,server=http://192.168.0.203;
  |attribute name=ProviderNameRemoteJMSProvider/attribute
  |attribute 
name=ProviderAdapterClassorg.jboss.jms.jndi.JNDIProviderAdapter/attribute
  |!-- The connection factory --
  |attribute name=FactoryRefXAConnectionFactory/attribute
  |!-- The queue connection factory --
  |attribute name=QueueFactoryRefXAConnectionFactory/attribute
  |!-- The topic factory --
  |attribute name=TopicFactoryRefXAConnectionFactory/attribute
  |!-- Connect to JNDI on the host the-remote-host-name port 1099--
  |attribute name=Properties
  |   java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
  |   java.naming.factory.url.pkgs=org.jnp.interfaces
  |   java.naming.provider.url=192.168.0.203:1099
  |/attribute
  |  /mbean
  | 

and Into my standardjboss.xml (JBoss B) i added an


  | invoker-proxy-binding
  |  namemy-mdb-invoker/name
  |  invoker-mbeandoes-not-matter/invoker-mbean
  |  
proxy-factoryorg.jboss.ejb.plugins.jms.JMSContainerInvoker/proxy-factory
  |  proxy-factory-config
  | 
JMSProviderAdapterJNDIRemoteJMSProvider/JMSProviderAdapterJNDI
  |
ServerSessionPoolFactoryJNDIStdJMSPool/ServerSessionPoolFactoryJNDI
  | MinimumSize1/MinimumSize
  | MaximumSize15/MaximumSize
  | KeepAliveMillis3/KeepAliveMillis
  | MaxMessages1/MaxMessages
  | MDBConfig
  |ReconnectIntervalSec10/ReconnectIntervalSec
  |DLQConfig
  |   DestinationQueuequeue/DLQ/DestinationQueue
  |   MaxTimesRedelivered10/MaxTimesRedelivered
  |   TimeToLive0/TimeToLive
  |/DLQConfig
  | /MDBConfig
  |  /proxy-factory-config
  |   /invoker-proxy-binding
  | 

finally in jboss.xml (into the MDB) i have something like this:


  | ?xml version=1.0 encoding=UTF-8?
  | jboss
  | enterprise-beans
  | message-driven
  | ejb-nameNotificationHandlerBean/ejb-name
  | destination-jndi-nametopic/pyTopic/destination-jndi-name
  | invoker-bindings
  | invoker
  | 
invoker-proxy-binding-namemy-mdb-invoker/invoker-proxy-binding-name
  | /invoker
  | /invoker-bindings
  | /message-driven
  | /enterprise-beans
  | /jboss
  | 
  | 

I used Netbeans 6.5.1 developing both Sender (servlet) and Receiver (MDB) 
application.

Now i execute jbossA on 192.168.0.203 and jbossB on 192.168.0.209..

I tryed different solution but the error seems to be always the same: 

*** CONTEXTS IN ERROR: Name - Error

jboss.j2ee:binding=my-mdb-invoker,jndiName=local/notificationhandlerb...@2732525,plugin=invoker,service=EJB
 - org.jboss.deployment.DeploymentException: Themessage-destination 'pyTopic' 
has no jndi-name in jboss.xml


Please help me..i'm in trouble!!!

Thanks a lot...

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: cannot load classes located in WEB-INF/lib

2009-06-11 Thread jbosshog98
I thought I'd add... I'd like to be able to specify in jboss-service.xml in the 
server/default/conf folder to look in an additional folder in each WEB-INF for 
libs if it existed.

So to be able to add some way to reference WEB-INF/lib/extra in the same way as:

   

So something like:

   

Of course, this looks in the server lib, not the WAR lib. So, what kind of 
modification could I make here to tell JBoss to load JARs from the 
WEB-INF/lib/extra (or WEB-INF/extra/lib1) folder in each WAR during startup?

Or is there a better way to do this?

My main issue is that I need the JARs available at startup, but also need them 
available at runtime, but not located in the lib folder of the EAR, but per 
WAR. If I put them in WEB-INF/lib they do load at startup, but cannot be 
accessed at runtime as they can when loaded in the EAR/lib

Thanks!

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: cannot load classes located in WEB-INF/lib

2009-06-11 Thread jbosshog98
Oops, code didn't show up.

to be able to add some way to reference WEB-INF/lib/extra in the same way as:

  |classpath codebase=${jboss.server.lib.url:lib} archives=*/
  | 
So something like:

   classpath codebase=${jboss.server.lib.url:lib}/extra archives=*/

Of course, this looks in the server lib, not the WAR lib. So, what kind of 
modification could I make here to tell JBoss to load JARs from the 
WEB-INF/lib/extra (or WEB-INF/extra/lib1) folder in each WAR during startup? 

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

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


[jboss-user] [JCA/JBoss] - Re: Possible failure to cleanup connection when returned to

2009-06-11 Thread tapina
Actually I'm not sure it would.

The physical and logical connections are both in the same autocommit state 
(FALSE) at the time of the set transaction isolation call. Inbetween, the 
logical connection had autocommit TRUE but this was not applied to the physical 
connection at the time because no other methods were called on the connection 
whilst it was logically in this state. If the connection has not been committed 
or rolled back explicitly, then a newly returned connection could be part of an 
old transaction, I think.

Is there a reason why set autocommit is not passed down to the physical 
connection immediately but instead checked on every other call and passed down 
then?

The more I think about this the more I think such a fundamental mistake 
probably wasn't made and my interpretation is wrong.. but I'd love it if 
someone could put my mind to rest!


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

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


[jboss-user] [JBoss jBPM] - Re: JBPM4 - Question about ProcessElementImpl.WireProperties

2009-06-11 Thread galanfish
any one tell me the usage of the attribute 'wireProperties' defined inside  
org.jbpm.pvm.internal.model.ProcessElementImpl...

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

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


[jboss-user] [JBoss jBPM] - Re: How to retirieve Hibernate Session object in jBpm 4.0 CR

2009-06-11 Thread jbarrez
I assumed you were calling this methdo from within a delegation from your 
process ... where do you want to use this method?


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

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


[jboss-user] [JBoss Messaging] - SuckerPassword ignored?

2009-06-11 Thread chtimi2
Migrating from JBM on 4.2.3 to JBM on 5.1.0, the SuckerPassword (i'm in a 
cluster) seems to be ignored? Even after specifying it, i still have the 
10:32:04,199 WARN  [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY 
RISK. 
  | It has been detected that the MessageSucker component which sucks messages 
from one node to another has not had its password changed from the installation 
default. 
  | Please see the JBoss Messaging user guide for instructions on how to do 
this. message.

My messaging-service.xml does include attribute 
name=SuckerPasswordtoto954763/attribute, and it worked fine on 4.2.3

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: cannot load classes located in WEB-INF/lib

2009-06-11 Thread jbosshog98
I should also add that when I use just a WAR for deployment, without it being 
inside an EAR, this works just fine and the library loads as needed at runtime 
from WEB-INF/lib, so this is only an issue when putting the WAR inside and EAR.

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

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


[jboss-user] [JBoss jBPM] - Re: How to retirieve Hibernate Session object in jBpm 4.0 CR

2009-06-11 Thread ahmy
I want to use the method from a java client ,  the same place where I get a 
ProcessEngine instance

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Tomcat / JBoss mod_jk with Apache Bad Gateway

2009-06-11 Thread jbosshog98
You are my hero!

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

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


[jboss-user] [JBoss Messaging] - Re: SuckerPassword ignored?

2009-06-11 Thread gaohoward
Hi,

in AS 5.1, you need to change the sucker password in messaging-jboss-beans.xml. 

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

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


[jboss-user] [JBossWS] - About WS client security (obfuscation required ?)

2009-06-11 Thread agomese
Hello all,

I'm developing a client (Swing-based) software which allows to send/receive 
files from a JBoss AS central repository, using the JBossWS web service 
implementation. The JBossWS version we use is the one that is bundled within 
the JBoss AS version, in order to ensure compatibility. 

To allow this communication, our swing-based client software is going to be 
released with the required JBossWS client jars (taken from the JBossAS 
distribution). For now, we plan to put those JBossWS jars in a lib folder, 
placed directly under the client software's root folder. The rest of the 
client's code (the proprietary part) will be obfuscated.

My question is : in your opinion, should the JBossWS client jars be protected 
through the same obfuscation mecanism, in order to ensure maximum security ? 
And BTW, does JBoss authorize such mecanism for the jars/sources they deliver ?

I tried to found related questions on this forum and on the web, but found 
none. Actually, we are affraid one could override the endpoint's adress by 
switching the original JBossWS client jars placed in the lib folder, in order 
to obtain the sent/received files from the remote AS.

We are already securing the communication through HTTPS transport, signature 
and encryption. However, the client keystore providing the security 
configuration is not going to be part of the obfuscation process, as it has to 
be specific per customer (please note that the JBoss AS install is specific per 
customer too, and so each client specific keystore is associated to a server 
specific keystore). We believe one could change this client keystore, create a 
fake endpoint with a new server keystore, and redirect traffic to this fake 
endpoint by changing the JBossWS client jars. But maybe are we being a bit 
paranoiac ?

Our configuration : 
- JDK 5
- JBoss AS 4.2.3 with JBossWS native 3.0.1

Any opinion about this point would be appreciated.


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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: cannot load classes located in WEB-INF/lib

2009-06-11 Thread jbosshog98
I should add that I tried the code below with my JARs in WEB-INF/lib
and am receiving the error below. With the JARs in the EAR file I
don't have to do the updateJar, I can just use the code as is without
the two  tags and it works. I'm not sure if this is a
dependency thing or what, I'm a little baffled. I just need to get
ahold of the Spring application context from within Railo, which I can
do with the JAR in the EAR/lib but not this way.

cfadmin action=updateJar
  | type=web
  | password=testtest
  | jar=/work/jboss/jboss-4.2.3.GA/server/default/deploy/
  | railo.ear/railo1.war/WEB-INF/lib/spring.jar
  | 
  | cfset var utils = createObject(java,
  | org.springframework.web.context.support.WebApplicationContextUtils,
  | /work/jboss/jboss-4.2.3.GA/server/default/deploy/railo.ear/railo1.war/
  | WEB-INF/lib/spring.jar) /
  | 
  | cfset var context = getPageContext().getServletContext() /
  | 
  | cfset variables.applicationContext = 
utils.getWebApplicationContext
  | (context)
  | 
  | cfadminaction=removeJar
  | type=web
  | password=testtest
  | jar=/work/jboss/jboss-4.2.3.GA/server/default/deploy/
  | railo.ear/railo1.war/WEB-INF/lib/spring-web-2.0.4.jar

When I do this I get the following error:

Root context attribute is not of type WebApplicationContext:
org.springframework.web.context.support.xmlwebapplicationcont...@1ff48d8:
display name [Root WebApplicationContext]; startup date [Thu Jun 11
03:06:42 PDT 2009]; root of context hierarchy
at
org.springframework.web.context.support.WebApplicationContextUtils.getWebApplicationContext
(WebApplicationContextUtils.java:66):66
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method):-2
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source):-1
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source):-1
at java.lang.reflect.Method.invoke(Unknown Source):-1
at railo.runtime.reflection.pairs.MethodInstance.invoke
(MethodInstance.java:37):37
at railo.runtime.java.JavaObject.call(JavaObject.java:241):241
at railo.runtime.java.JavaObject.call(JavaObject.java:260):260
at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues
(VariableUtilImpl.java:617):617 

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

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


[jboss-user] [JBoss Messaging] - Re: Serious idle problem with Bridges on AS 5.1.0.Beta

2009-06-11 Thread gaohoward
Hi, a jira issue is created:

https://jira.jboss.org/jira/browse/JBMESSAGING-1648


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

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


[jboss-user] [Security JAAS/JBoss] - Re: Custom security module configuration 4.0.3 to 5.0.1 migr

2009-06-11 Thread anil.saldh...@jboss.com
Try the following and tell whether it works:

deploy/security/security-jboss-beans.xml

Make changes to JNDIBasedSecurityManagement as follows:


  |   !-- JNDI Based Security Management --
  |bean name=JNDIBasedSecurityManagement
  |   class=org.jboss.security.integration.JNDIBasedSecurityManagement
  |property name=authenticationMgrClasscom.apropos./property
  | /bean
  | 



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

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


[jboss-user] [Clustering/JBoss] - iam conecting mdb with remote Queue ..i

2009-06-11 Thread harrykrishna
WARN  [JMSContainerInvoker] JMS provider failure detected: 
org.jboss.mq.SpyJMSException: Cannot authenticate user; - nested throwable: 
(java.net.ConnectException: Connection timed out: connect)
at 
org.jboss.mq.SpyJMSException.getAsJMSException(SpyJMSException.java:66)
at 
org.jboss.mq.SpyJMSException.rethrowAsJMSException(SpyJMSException.java:51)
at org.jboss.mq.Connection.authenticate(Connection.java:1118)
at org.jboss.mq.Connection.(Connection.java:267)
at org.jboss.mq.Connection.(Connection.java:338)
at org.jboss.mq.SpyConnection.(SpyConnection.java:68)
at 
org.jboss.mq.SpyConnectionFactory.createConnection(SpyConnectionFactory.java:99)
at 
org.jboss.mq.SpyConnectionFactory.createQueueConnection(SpyConnectionFactory.java:136)

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

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


[jboss-user] [JBoss Portal] - Re: Integrate Jboss Portal 2.7 with existing CAS

2009-06-11 Thread jpviragine
JIRA created: https://jira.jboss.org/jira/browse/JBPORTAL-2422

Tip: To deal with certificates I do recommend the use of Portecle: 
http://portecle.sourceforge.net/


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

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


[jboss-user] [JCA/JBoss] - Re: Possible failure to cleanup connection when returned to

2009-06-11 Thread tapina
Pretty sure there's an error in BaseWrapperManagedConnection.cleanup:


  |  if (jdbcTransactionIsolation != transactionIsolation)
  |  {
  | try
  | {
  |con.setTransactionIsolation(jdbcTransactionIsolation);
  |jdbcTransactionIsolation = transactionIsolation;
  | }
  | catch (SQLException e)
  | {
  |mcf.log.warn(Error resetting transaction isolation , e);
  | }
  |  }
  | 
Surely the first statement in the try-block should be 
con.setTransactionIsolation(transactionIsolation);?

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

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


[jboss-user] [JCA/JBoss] - Re: Possible failure to cleanup connection when returned to

2009-06-11 Thread jesper.pedersen
tapina, its https://jira.jboss.org/jira/browse/JBAS-4871.

Please, update.

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

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


[jboss-user] [EJB/JBoss] - Re: Error readind from a MDB (v 2.1) on a remote Topic

2009-06-11 Thread jaikiran
Please post the entire exception stacktrace.

While posting logs or xml content or code, please remember to wrap it in a code 
block by using the Code button in the message editor window. Please use the 
Preview button to ensure that your post is correctly formatted.

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

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


[jboss-user] [JBoss jBPM] - Re: Enable message size Greater than 4KB

2009-06-11 Thread alex.gui...@jboss.com
It is a long story, feel free to skip to the next paragraph. A customer 
reported JBPM-701 because they had a problem similar to yours, only with Job 
exceptions. We were about to release a new minor version of jBPM (3.3) which 
was a good opportunity to change the type of VARCHAR(4000) columns to TEXT. In 
the end the 3.3 branch was canceled and we ported the changes to the 3.2 
branch. Some releases were made with the new schema (3.2.4, 3.2.5, 3.2.5 SP1) 
until it became a barrier for customers to upgrade, despite assurances that 
JDBC drivers handled the change from VARCHAR to TEXT transparently. The jBPM 
3.2.2 schema was restored under JBPM-2056 and delivered in 3.2.5.SP2.

There is no way to insert strings larger than 4000 characters unless you change 
the related column to TEXT or increase the length. Provide your own copy of the 
hibernate configuration and specify an alternate mapping document containing 
the column type change. That was the resolution to JBPM-2057.

At some point I introduced a typedef which could easily be switched from 
VARCHAR to TEXT. That got lost among the compatibility restoration storm. With 
that, you'd only need to override the mapping resource containing the typedef.

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

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


[jboss-user] [JCA/JBoss] - Re: Possible failure to cleanup connection when returned to

2009-06-11 Thread tapina
Fair enough (although that's not an option for me on this large multi-team 
project...)

Doesn't change my original question though which was relating to autocommit 
status changes.

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

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


[jboss-user] [JBoss jBPM] - Re: jBPM Management Console problem in login, (jBPM 4.0.CR1)

2009-06-11 Thread ajvarela
I have tried again with the user/pass with and without uppercase but dont work 
at all. In the documentation of jBPM 4.0.CR1 appear:

anonymous wrote : And you can surf to the jBPM console  You can login as one of 
the following users:
  | 
  | Table 2.1. Example console users:
  | 
  | Username Password
  | alex password
  | mike password
  | peterpassword
  | mary password

and the result typing the first user/pass is:

http://img13.imageshack.us/img13/8359/clipboard01qth.jpg

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

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


[jboss-user] [EJB/JBoss] - Re: EJB tutorial

2009-06-11 Thread samwan808
Hi,

I take an easy step.
I tried to following the EJB3.0 tutorial here:
[url]
http://www.jboss.org/file-access/default/members/jbossejb3/freezone/docs/tutorial/1.0.7/html_single/index.html#EJB3_TUTORIAL_HOME
[/url]

but I couldn't find source for org.jboss.tutorial in my JBOSS 5.0 installation 
directory.

Can anyone tell me where can I download org.jboss.tutorial  (with svn co to 
check)?

thanks heaps.


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

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


[jboss-user] [JBoss Messaging] - Re: SuckerPassword ignored?

2009-06-11 Thread chtimi2
Thanks, works like a charm

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

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


[jboss-user] [JBoss jBPM] - Re: Enable message size Greater than 4KB

2009-06-11 Thread paul.robin...@arjuna.com
Thanks for the reply,

I'll give that a go. I don't mind editing the schema if that's the only way to 
do it currently.

Paul.

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

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


[jboss-user] [JBoss Portal] - Re: PortletStateHolder

2009-06-11 Thread wesleyhales
No need to double post. We are looking at this issue for next release. Thanks 
for all the debugging!

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

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


[jboss-user] [JBoss Messaging] - JBoss Messaging 1.4.4 with JBoss Application Server 5.0.0

2009-06-11 Thread vijay.jbossuser
Hello Everyone,
Could anyone please help me with using JBoss Messaging 1.4.4 with JBoss 
Application Server 5.0.0.I tried the given sample examples shipped with JBoss 
Messaging 1.4.4 in JBoss Application Server 5.0.0.But it didn't work.
Could you please help me what I have to configure to run the application.
Below is the error message.
Thanks,
-Vijay


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

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


[jboss-user] [JBoss Messaging] - Re: JBoss Messaging 1.4.4 with JBoss Application Server 5.0.

2009-06-11 Thread timfox
JBM 1.4.4 is *not* designed for JBoss 5, it won't work with it.

JBoss 5 has different internal apis and jars to JBoss 4.x. We can't create a 
JBM 1.x release that will work with both JBoss AS 4.x and 5.x.

The latest release for JBoss 5 is JBM 1.4.3, and JBoss 5 comes with that 
pre-installed.

Howard will soon be creating a new JBoss 5 release (probably called JBM 1.4.5) 
which will also come pre-installed in the next version of JBoss 5.

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

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


[jboss-user] [EJB 3.0] - Database independent persistence

2009-06-11 Thread cFly
Hi,
I have some persistent entities that need to be run on two separate JBoss 
servers. One of which is connected to an oracle database and the other 
connected to a mssql database.

This causes problems with the database specific primary key generation and the 
only way I can find round it is to create separate bean instances for each 
server. Is there another way? Could I extend the @GeneratedValue class and 
provide fucntionality to check which database is used and then provide the 
correct implementation.

Thanks.

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

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


[jboss-user] [JCA/JBoss] - Re: JCA build error

2009-06-11 Thread cpslo1999
Check your JAVA_HOME variable. Ant relies on this to find the compiler.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Using mysql

2009-06-11 Thread PeterJ
EAP 4.3, which is what you have, is JBoss AS 4.2.1 + patches + JBoss Messaging. 
Therefore, follow the wiki for everything except JBoss Messaging, and follow 
the forum posts I provided for Messaging.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Can't deploy a struts2 application

2009-06-11 Thread JRookie_2402
Hi all,
I try to deploy a struts2 example on jboss5.0 for quite a while and I can't 
find the error.
When I start jboss everything is fine unless I drop strus2inaction.war to the 
deploy directory. Please see below the error I got. I thought it looks like 
having a corrupt war file, but I checked it and it is free from errors.

The main error message (see listing below) seems to be:
Der Prozess kann nicht auf die Datei zugreifen, da sie von einem
  anderen Prozess verwendet wird
which means: The process can't access the file, as it is used by another 
process.
Before this there is a warning HD scanner failed. What can I do ?? Is it the 
inner structure of the war file? Does anyone knows anything??
Thanks in advance for any help
JRookie


  |   19:42:14,171 INFO [TomcatDeployment] deploy, ctxPath=/example2, 
vfsUrl=example2.ear/example2.war
  |   19:42:14,640 INFO [TomcatDeployment] deploy, ctxPath=/example3, 
vfsUrl=example3.ear/example3.war
  |   19:42:14,906 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on 
http-127.0.0.1-8080
  |   19:42:14,953 INFO [AjpProtocol] Starting Coyote AJP/1.3 on 
ajp-127.0.0.1-8009
  |   19:42:14,968 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.GA 
(build: SVNTag=JBoss_5_0_0_GA date=200812041714)] Started in 1m:17s:547ms
  |   19:48:38,343 WARN [HDScanner] Scan failed
  |   org.jboss.deployers.spi.DeploymentException: Error determining 
structure: Struts2InAction.war
  |   at 
org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
  |   at 
org.jboss.deployers.vfs.plugins.structure.explicit.DeclaredStructure.determineStructure(DeclaredStructure.java:87)
  |   at 
org.jboss.deployers.vfs.plugins.structure.StructureDeployerWrapper.determineStructure(StructureDeployerWrapper.java:73)
  |   at 
org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.doDetermineStructure(VFSStructuralDeployersImpl.java:196)
  |   at 
org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.determineStructure(VFSStructuralDeployersImpl.java:221)
  |   at 
org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeployers.java:77)
  |   at 
org.jboss.deployers.plugins.main.MainDeployerImpl.determineStructure(MainDeployerImpl.java:853)
  |   at 
org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:303)
  |   at 
org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:260)
  |   at 
org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:267)
  |   at 
org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
  |   at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
  |   at 
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
  |   at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
  |   at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
  |   at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
  |   at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
  |   at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
  |   at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
  |   at java.lang.Thread.run(Thread.java:619)
  |   Caused by: java.lang.RuntimeException: Failed to read zip file: 
org.jboss.virtual.plugins.context.zip.zipfilewrap...@1d7bd99 - 
F:\Entwicklung\JBoss_5.0\jboss-5.0.0.GA\server\default\deploy\
  |   truts2InAction.war
  |   at 
org.jboss.virtual.plugins.context.zip.ZipEntryContext.ensureEntries(ZipEntryContext.java:563)
  |   at 
org.jboss.virtual.plugins.context.zip.ZipEntryContext.checkIfModified(ZipEntryContext.java:693)
  |   at 
org.jboss.virtual.plugins.context.zip.ZipEntryContext.getChild(ZipEntryContext.java:737)
  |   at 
org.jboss.virtual.plugins.context.zip.ZipEntryHandler.createChildHandler(ZipEntryHandler.java:175)
  |   at 
org.jboss.virtual.plugins.context.AbstractVirtualFileHandler.structuredFindChild(AbstractVirtualFileHandler.java:542)
  |   at 
org.jboss.virtual.plugins.context.zip.ZipEntryHandler.getChild(ZipEntryHandler.java:155)
  |   at 
org.jboss.virtual.plugins.context.DelegatingHandler.getChild(DelegatingHandler.java:106)
  |   at org.jboss.virtual.VirtualFile.getChild(VirtualFile.java:451)
  |   at 
org.jboss.deployers.vfs.plugins.structure.explicit.DeclaredStructure.determineStructure(DeclaredStructure.java:64)
  |   ... 18 more
  |   Caused by: java.io.FileNotFoundException: 

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Can't deploy a struts2 application

2009-06-11 Thread jaikiran
Post the output of 

jar -tf Struts2InAction.war 

While posting logs or xml content or code, please remember to wrap it in a code 
block by using the Code button in the message editor window. Please use the 
Preview button to ensure that your post is correctly formatted.

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

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


[jboss-user] [EJB/JBoss] - Re: EJB tutorial

2009-06-11 Thread jaikiran
samwan808 wrote : 
  | but I couldn't find source for org.jboss.tutorial in my JBOSS 5.0 
installation directory.
  | 
  | Can anyone tell me where can I download org.jboss.tutorial  (with svn co to 
check)?
  | 
  | 
  | 
The source is available at the same location that i pointed earlier 
http://www.jboss.org/ejb3/docs/. There's a Tutorial (Source) row in that table

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

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


[jboss-user] [JBoss jBPM] - Help- Database empties on restarting making call to workfl

2009-06-11 Thread gnaik
Hi,
I am using jbpm 3.2.6.sp1 and facing a very big problem, when i restart the 
jbpm workflow engine and make any calls to engine the database is cleared. 
Ithink i am going wrong somewhere while starting and fetching the process 
Instance. Plz Help.

The sequence of tasks that i follow :-
I have created an RMI interface to interact the engine.

1. I start the workflow engine:-
main(){
  |jbpmConfiguration = JbpmConfiguration.getInstance(jbpm.cfg.xml);
  |deploy(processdefinition.xml);
  | }
  | 
  | 
  | public String deploy(String resourceName) throws RemoteException {
  | System.out.println(---Inside Deploy);
  | ProcessDefinition processDefinition = null;
  | String processId = ;
  | JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
  | try {
  | processDefinition = 
ProcessDefinition.parseXmlResource(resourceName);
  | jbpmContext.deployProcessDefinition(processDefinition);
  | } finally {
  | jbpmContext.close();
  | }
  | processId = String.valueOf(processDefinition.getId());
  | System.out.println(Process Definition  + 
processDefinition.getName() +  Deployed);
  | System.out.println(---Out of Deploy);
  | return processId;
  | }

2. Through RMI interface i give call to create a process Instance of deployed 
processdefinition.

public String StartExecution(String processDefinitionKey, String 
inExecutionKey, String actorId, MapString, Object localParameters, 
MapString, Object parameters) throws RemoteException {
  | JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
  | String executionKey = ;
  | try {
  | GraphSession graphSession = jbpmContext.getGraphSession();
  | ProcessDefinition processDefinition = 
graphSession.findLatestProcessDefinition(processDefinitionKey);
  | if (processDefinition != null) {
  | ProcessInstance processInstance = 
processDefinition.createProcessInstance();
  | if (processInstance != null) {
  | if (inExecutionKey == null || 
inExecutionKey.equalsIgnoreCase()) {
  | executionKey = processDefinitionKey + : + 
processInstance.getId();
  | } else {
  | executionKey = inExecutionKey;
  | }
  | processInstance.setKey(executionKey);
  | System.out.println(Execution Key :  + executionKey);
  | ContextInstance contextInstance = 
processInstance.getContextInstance();
  | if (parameters != null) {
  | contextInstance.setVariables(parameters);
  | }
  | if (localParameters != null) {
  | 
contextInstance.setTransientVariables(localParameters);
  | }
  | Token token = processInstance.getRootToken();
  | System.out.println(Root Node :  + 
token.getNode().getName());
  | if (actorId != null) {
  | if (LdapHelper.isValidUser(actorId)) {
  | contextInstance.setVariable(INITIATOR, actorId);
  | token.signal();
  | } else {
  | System.out.println(actorId +  is not present 
in LDAP);
  | throw new ResourceNotFoundException(actorId +  
is not present in LDAP);
  | }
  | } else {
  | token.signal();
  | }
  | jbpmContext.save(processInstance);
  | } else {
  | System.out.println(Process Instance not found);
  | }
  | } else {
  | System.out.println(Process defn not found);
  | }
  | } finally {
  | jbpmContext.close();
  | }
  | System.out.println(---Out of Create ProcessInstance);
  | jbpmConfiguration.startJobExecutor();
  | return executionKey;
  | }

3. Stop the workflow engine by stopping the RMI server.

4. Start the workflow engine again but with deploy.

main(){
  |jbpmConfiguration = JbpmConfiguration.getInstance(jbpm.cfg.xml);
  | }

5. At this point the database has values present.
 
6. Now i try to fetch the current state of the processInstance started, But it 
fails saying process definition not found.

public String VWFGetCurrentNodeName(String processDefinitionKey, String 
executionKey) throws RemoteException {
  | JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
  | String currentNodeName = ;
  | try {
  | GraphSession graphSession = 

[jboss-user] [JBoss OSGi] - OSGi + EE code in the same JAR ?

2009-06-11 Thread VincentGR
Hi,

I have a part of my application that must run on OSGi. However I would like to 
enjoy the pleasures of WS stack, JPA, etc.

Let's say I package a JAR that contains
- WebService annotations
- OSGi Manifest entries + an activator class

I drop this jar in the /server/default/deploy dir of my JbossAS5 server.

1. How will my classes be loaded in memory: by OSGi or by the Jboss class 
loader ?
2. Will my WebService be deployed by JbossWS, and if yes, how will it have 
access to my classes if they have been deployed by OSGi ?

I am quite new to JBoss classloader and deployers. But from what I have 
understood, JBoss classloaded and OSGi classloader are incompatibles ? Is it 
possible to have a JAR inspected by several deployers (I don't know exactly how 
they work) ?

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Can't deploy a struts2 application

2009-06-11 Thread JRookie_2402
Hi jaikiran,
thanks for the quick reply!
here it is. It is structured in chapters to the according book.
JRookie

G:\Struts\struts\SampleApplicationjar -tf struts2inaction.war
  | META-INF/
  | META-INF/MANIFEST.MF
  | chapterFive/
  | chapterFive/ListsDataTransferSuccess.jsp
  | chapterFive/AdminPortfolio.jsp
  | chapterFive/MapsDataTransferSuccess.jsp
  | chapterFive/Error.jsp
  | chapterFive/ArraysDataTransferSuccess.jsp
  | chapterFive/CustomConverterSuccess.jsp
  | chapterFive/ViewPortfolios.jsp
  | chapterFive/ListsDataTransferTest.jsp
  | chapterFive/MapsDataTransferTest.jsp
  | chapterFive/ArraysDataTransferTest.jsp
  | chapterFive/CustomConverterTest.jsp
  | chapterFive/RegistrationSuccess.jsp
  | chapterFive/ImageRemoved.jsp
  | chapterFive/ImageAdded.jsp
  | chapterFive/DataTransferSuccess.jsp
  | chapterFive/Login.jsp
  | chapterFive/Registration.jsp
  | chapterFive/ImageUploadForm.jsp
  | chapterFive/DataTransferTest.jsp
  | chapterFive/PortfolioHomePage.jsp
  | chapterNine/
  | chapterNine/AdminPortfolio.jsp
  | chapterNine/CreatePortfolio.jsp
  | chapterNine/UpdateAccountSuccess.jsp
  | chapterNine/Error.jsp
  | chapterNine/PortfolioAdded.jsp
  | chapterNine/RegistrationSuccess.jsp
  | chapterNine/ImageRemoved.jsp
  | chapterNine/ImageAdded.jsp
  | chapterNine/VisitorHomePage.jsp
  | chapterNine/EditPortfolio.jsp
  | chapterNine/ViewPortfolio.jsp
  | chapterNine/Login.jsp
  | chapterNine/Registration.jsp
  | chapterNine/ImageUploadForm.jsp
  | chapterNine/ArtistHomePage.jsp
  | chapterNine/SelectPortfolio.jsp
  | chapterNine/UpdateAccountForm.jsp
  | chapterNine/PortfolioHomePage.jsp
  | chapterNine/UpdatePortfolioSuccess.jsp
  | chapterTwo/
  | chapterTwo/AnnotatedNameCollector.jsp
  | chapterTwo/NameCollector.jsp
  | chapterTwo/HelloWorld.jsp
  | chapterFour/
  | chapterFour/ImageAdded.jsp
  | chapterFour/ImageRemoved.jsp
  | chapterFour/AdminPortfolio.jsp
  | chapterFour/Login.jsp
  | chapterFour/Error.jsp
  | chapterFour/Registration.jsp
  | chapterFour/ImageUploadForm.jsp
  | chapterFour/ViewPortfolios.jsp
  | chapterFour/PortfolioHomePage.jsp
  | chapterFour/RegistrationSuccess.jsp
  | menu/
  | menu/Menu.jsp
  | WEB-INF/
  | WEB-INF/src/
  | WEB-INF/src/manning/
  | WEB-INF/src/manning/chapterFive/
  | WEB-INF/src/manning/chapterFive/Register.properties
  | WEB-INF/src/manning/chapterFive/chapterFive.xml
  | WEB-INF/src/manning/chapterFive/CustomConverterTest-conversion.properties
  | WEB-INF/src/manning/chapterFive/CustomConverterTest.java
  | WEB-INF/src/manning/chapterFive/Register.java
  | WEB-INF/src/manning/chapterFive/Register_es.properties
  | WEB-INF/src/manning/chapterFive/ImageUpload.java
  | WEB-INF/src/manning/chapterFive/Login.java
  | WEB-INF/src/manning/chapterFive/DataTransferTest.properties
  | WEB-INF/src/manning/chapterFive/DataTransferTest-conversion.properties
  | WEB-INF/src/manning/chapterFive/DataTransferTest.java
  | WEB-INF/src/manning/chapterFive/utils/
  | WEB-INF/src/manning/chapterFive/utils/Portfolio.java
  | WEB-INF/src/manning/chapterFive/utils/PortfolioService.java
  | WEB-INF/src/manning/chapterFive/utils/User.java
  | WEB-INF/src/manning/chapterFive/utils/Struts2PortfolioConstants.java
  | WEB-INF/src/manning/chapterFive/utils/AuthenticationInterceptor.java
  | WEB-INF/src/manning/chapterFive/utils/UserAware.java
  | WEB-INF/src/manning/chapterFive/utils/Circle.java
  | WEB-INF/src/manning/chapterFive/utils/CircleTypeConverter.java
  | WEB-INF/src/manning/chapterTwo/
  | WEB-INF/src/manning/chapterTwo/chapterTwo.xml
  | WEB-INF/src/manning/chapterTwo/AnnotatedNameCollector.java
  | WEB-INF/src/manning/chapterTwo/AnnotatedHelloWorldAction.java
  | WEB-INF/src/manning/chapterTwo/HelloWorld.java
  | WEB-INF/src/manning/utils/
  | WEB-INF/src/manning/utils/AuthenticationInterceptor.java
  | WEB-INF/src/manning/utils/User.properties
  | WEB-INF/src/manning/utils/Portfolio.java
  | WEB-INF/src/manning/utils/PortfolioServiceInterface.java
  | WEB-INF/src/manning/utils/PortfolioServiceJPAImpl.java
  | WEB-INF/src/manning/utils/Struts2PortfolioConstants.java
  | WEB-INF/src/manning/utils/User.java
  | WEB-INF/src/manning/utils/UserAware.java
  | WEB-INF/src/manning/utils/PasswordIntegrityValidator.java
  | WEB-INF/src/manning/utils/User-validation.xml
  | WEB-INF/src/manning/chapterFour/
  | WEB-INF/src/manning/chapterFour/Register.properties
  | WEB-INF/src/manning/chapterFour/chapterFour.xml
  | WEB-INF/src/manning/chapterFour/Register.java
  | WEB-INF/src/manning/chapterFour/Register_es.properties
  | WEB-INF/src/manning/chapterFour/ImageUpload.java
  | WEB-INF/src/manning/chapterFour/Login.java
  | WEB-INF/src/manning/chapterFour/ErrorProne.java
  | WEB-INF/src/manning/chapterFour/utils/
  | WEB-INF/src/manning/chapterFour/utils/Portfolio.java
  | WEB-INF/src/manning/chapterFour/utils/PortfolioService.java
  | WEB-INF/src/manning/chapterFour/utils/User.java
  | WEB-INF/src/manning/chapterFour/utils/Struts2PortfolioConstants.java
  | 

[jboss-user] [JBoss OSGi] - JBossOSGi source archive

2009-06-11 Thread VincentGR
Would it be possible to have a zip/tar.gz/whatever of the sources of JBossOSGi 
releases on the website ? My @# proxy blocks the SVN ports. Having them the 
same way as other projects do (e.g. JbossEsb) would be perfect.

Thanks !

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

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


[jboss-user] [JBossMQ] - In Jboss Logs -

2009-06-11 Thread Papiya Misra
I have an application X that reads the messages from Topics in applications A 
and B.

When A is shutdown, I keep getting messages in the log of X - Trying to 
connect to JMS. This is expected.

However, when B is shut down, I recieve a few Trying to connect messages and 
then I see Reconnected to JMS in the log of X. Also, if I now start B, the 
messages are not processed at all. I have to restart X to process all the 
pending messages. 

Here is the excerpt of the log of application X when application B is 
shutdown.Note the last statement. Also, please let me know if I can provide 
more info to troubleshoot.

2009-06-11 10:48:30,661 DEBUG [org.jnp.interfaces.NamingContext] Failed to 
connect to ApplicationB:1099
javax.naming.CommunicationException: Failed to connect to server 
otciq1.test.ps:1099 [Root exception is 
javax.naming.ServiceUnavailableException: Failed to connect to server 
otciq1.test.ps:1099 [Root exception is java.net.ConnectException: Connection 
refused]]
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:269)
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1385)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:594)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at org.jboss.ejb3.mdb.MDB.innerCreateTopic(MDB.java:443)
at org.jboss.ejb3.mdb.MDB.innerCreate(MDB.java:342)
at org.jboss.ejb3.mdb.MDB.innerStart(MDB.java:225)
at 
org.jboss.ejb3.mdb.MDB$ExceptionListenerImpl.onException(MDB.java:1133)
at 
org.jboss.mq.Connection$ExceptionListenerRunnable.run(Connection.java:1320)
at java.lang.Thread.run(Thread.java:619)
Caused by: javax.naming.ServiceUnavailableException: Failed to connect to 
server otciq1.test.ps:1099 [Root exception is java.net.ConnectException: 
Connection refused]
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:243)
... 10 more
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at java.net.Socket.(Socket.java:366)
at java.net.Socket.(Socket.java:267)
at 
org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:84)
at 
org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:77)
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:239)
... 10 more
2009-06-11 10:48:30,688 DEBUG 
[org.jboss.mq.referenceable.SpyConnectionFactoryObjectFactory] Extracting 
SpyConnectionFactory from reference
2009-06-11 10:48:30,689 DEBUG 
[org.jboss.mq.referenceable.SpyConnectionFactoryObjectFactory] The 
GenericConnectionFactory is: 
genericconnectionfactory[server=org.jboss.mq.il.uil2.uilserve...@e71d5e 
connectionProperties={ClientILService=org.jboss.mq.il.uil2.UILClientILService, 
UIL_TCPNODELAY_KEY=yes, UIL_CHUNKSIZE_KEY=100, UIL_CONNECTADDRESS_KEY=null, 
UIL_CONNECTPORT_KEY=0, UIL_SOTIMEOUT_KEY=12, UIL_RECEIVE_REPLIES_KEY=No, 
UIL_ADDRESS_KEY=10.58.33.173, UIL_PORT_KEY=8093, PingPeriod=6, 
UIL_BUFFERSIZE_KEY=2048}]
2009-06-11 10:48:30,689 DEBUG [org.jboss.jms.ConnectionFactoryHelper] using 
connection factory: org.jboss.mq.spyxaconnectionfact...@1390efd
2009-06-11 10:48:30,689 DEBUG [org.jboss.jms.ConnectionFactoryHelper] using 
username/password: null/-- not shown --
2009-06-11 10:48:30,690 DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin 
ReadTask.run
2009-06-11 10:48:30,707 DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin 
WriteTask.run
2009-06-11 10:48:30,715 DEBUG [org.jboss.mq.il.uil2.SocketManager] Created 
ObjectOutputStream
2009-06-11 10:48:30,717 DEBUG [org.jboss.mq.il.uil2.SocketManager] Created 
ObjectInputStream
2009-06-11 10:48:30,717 DEBUG [org.jboss.mq.il.uil2.UILClientILService] Starting
2009-06-11 10:48:30,719 DEBUG [org.jboss.jms.ConnectionFactoryHelper] created 
XATopicConnection: 
connect...@17243991[token=connectiontoken:null/58330342c296b996c5d5b99b0e2903db 
rcvstate=STOPPED]
2009-06-11 10:48:30,719 DEBUG [org.jboss.ejb3.mdb.MDB] Using client id: 
pinkAlerts
2009-06-11 10:48:30,728 WARN  [org.jboss.ejb3.mdb.MDB] Could not find the topic 
destination-jndi-name=topic/financialDocumentPost
2009-06-11 10:48:30,731 DEBUG [org.jboss.ejb3.mdb.MDB] Initialized with config 
org.jboss.ejb3.mdb@1f5438
2009-06-11 10:48:30,731 DEBUG [org.jboss.ejb3.mdb.DLQHandler] Starting 
DLQHandler
2009-06-11 10:48:30,733 DEBUG [org.jboss.ejb3.mdb.DLQHandler] Started DLQHandler

[jboss-user] [JBoss jBPM] - beginner question for the jbpm evalutaion (performance aspec

2009-06-11 Thread golubec
Hi, 

I'm performing evaluation for the workflow products and the point is the 
performance.

I've downloaded and installed 4.0.0. Then i modified EndProcessInstanceTest so 
the process from process.jpdl.xml will execute about 10.000 times. Also logging 
was disabled by changing logging.properties.

Actually the process is simple : it has only start/end states, but i takes 33 
secs(!) to execute 10.000 iterations of this:

for (int i = 0; i  ITERATION_NUMBER; i++) {
  Execution execution = 
executionService.startProcessInstanceByKey(NoOperation);
  if (!execution.isEnded()) {
fail();
  }
}

Am i misunderstanding something ? Our case when request comes in and is 
processed by appropriate workflow. 

Should i start new process for that every time reques is coming or using the 
only one process instance (if possible) to achieve better performance?


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

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


[jboss-user] [JBoss jBPM] - Re: How to retirieve Hibernate Session object in jBpm 4.0 CR

2009-06-11 Thread jbarrez
It is logical you can't find the current Hibernate Session, since there is 
none. A hibernate session is only open during a jbpm operation and is closed 
afterwards.

So I guess that basically what you want is access to the same SessionFactory as 
the one that is used by jBPM, which you can get through the processEngine in 
the same construct as the one I pasted above:

processEngine.get(Sessionfactory.class)

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

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


[jboss-user] [JBoss Messaging] - JBM 1.4.4 on JBoss 4.2.2 - remoting problem

2009-06-11 Thread carl.heymann
I've set up a JBoss Messaging 1.4.4.GA configuration in a JBoss 4.2.2 server, 
using the provided ant script.  I have a simple sample application that sets up 
a message consumer (via a spring message listener container) on a queue. 

This code worked perfectly with JBM 1.4.2 and earlier, but it seems that 
switching the client to the jboss-messaging-client jar of 1.4.4.GA breaks with 
the following exception:

Failed to invoke; nested exception is java.lang.Exception: 
java.lang.NoSuchMethodError: 
org.jboss.remoting.Client.connect(Lorg/jboss/remoting/ConnectionListener;Ljava/util/Map;)V
org.jboss.jms.exception.MessagingJMSException: Failed to invoke
at 
org.jboss.jms.client.delegate.DelegateSupport.handleThrowable(DelegateSupport.java:271)
at 
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$createConnectionDelegate$aop(ClientConnectionFactoryDelegate.java:198)
at 
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.java)
at 
org.jboss.jms.client.container.StateCreationAspect.handleCreateConnectionDelegate(StateCreationAspect.java:80)
at 
org.jboss.aop.advice.org.jboss.jms.client.container.StateCreationAspect_z_handleCreateConnectionDelegate_24216257.invoke(StateCreationAspect_z_handleCreateConnectionDelegate_24216257.java)
at 
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.java)
at 
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createConnectionDelegate(ClientConnectionFactoryDelegate.java)
at 
org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:205)
at 
org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:87)
at 
org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:82)
at 
org.springframework.jms.support.JmsAccessor.createConnection(JmsAccessor.java:184)
at 
org.springframework.jms.listener.AbstractJmsListeningContainer.createSharedConnection(AbstractJmsListeningContainer.java:378)
at 
org.springframework.jms.listener.AbstractJmsListeningContainer.refreshSharedConnection(AbstractJmsListeningContainer.java:363)
at 
org.springframework.jms.listener.DefaultMessageListenerContainer.refreshConnectionUntilSuccessful(DefaultMessageListenerContainer.java:785)
at 
org.springframework.jms.listener.DefaultMessageListenerContainer.recoverAfterListenerSetupFailure(DefaultMessageListenerContainer.java:767)
at 
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:898)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NoSuchMethodError: 
org.jboss.remoting.Client.connect(Lorg/jboss/remoting/ConnectionListener;Ljava/util/Map;)V
at 
org.jboss.jms.client.remoting.JMSRemotingConnection$1.run(JMSRemotingConnection.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at 
org.jboss.jms.client.remoting.JMSRemotingConnection.start(JMSRemotingConnection.java:356)
at 
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$createConnectionDelegate$aop(ClientConnectionFactoryDelegate.java:165)
... 15 more


Switching back to the 1.4.2.GA client jar (still connecting to a 1.4.4 broker) 
seems to solve the problem.  Am I using the wrong JBoss remoting library?

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

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


[jboss-user] [JBoss Messaging] - Re: JBM 1.4.4 on JBoss 4.2.2 - remoting problem

2009-06-11 Thread gaohoward
you need remoting 2.2.3 to work.

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

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


[jboss-user] [Security JAAS/JBoss] - Re: Custom security module configuration 4.0.3 to 5.0.1 migr

2009-06-11 Thread anil.saldh...@jboss.com
Start by telling us what com.apropos.api.jboss.SecurityRealm does.

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

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


[jboss-user] [JBoss jBPM] - Re: jBPM Management Console problem in login, (jBPM 4.0.CR1)

2009-06-11 Thread kukeltje
Yes and they work for me if I use the hsqldb embedded in the demo setup.

The situation in the image you posted if happens when the authentication fails. 
If you use another database, is the setup ok?



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

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


[jboss-user] [JBossWS] - Re: NotSerializableException: org.jboss.ws.core.soap.SOAPFau

2009-06-11 Thread lafr
I downloaded jbossws-3.0.1-native-2.0.4.GA-src
and modified src/main/java/org/jboss/ws/core/soap/SOAPFaultElementImpl.java
and
src/main/java/org/jboss/ws/core/soap/SOAPFaultImpl.java
adding an implements java.io.Serializable to their class definition.
This helped me to avoid the NotSerializableException.

In the scenario the problem problem occurred, there are three apps involved.
The MS Axapta system as the WS-provider.
An EAR / EJB3 app as the WS-consumer.
And an standalone java app as the driver of this (unit test) calling the EJB3 
session beans via their remote interface.

The WS provider gets an exception and send this to WS consumer using a 
SOAPFault.
The WS consumer does not catch the exception, so it has to be transferred to 
the client.
And as this is a remote client the SOAPFault has to serialized.
And there the Exception occurred while trying to send the SOAPFault from 
JBoss-Server to the standalone client app using serialization.


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

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


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

2009-06-11 Thread jhalmes
Hey guys, the $50 was a joke.  I have looked at the code and I have no idea how 
much it would take to get you guys to fix this, but I know my company won't pay 
for it, but my dev team would probably chip in some money, that part was 
serious.  Sorry if the joke didn't come across, it wasn't meant as an insult.

Thomas, if you read the thread you'll see that I was asked if I would be 
willing to buy support.  I think the phrase So now you can sit and wait or 
step up and help. is a bit of a cheap shot.  I've really just been trying to 
get info, not imply that the work you're doing isn't appreciated.  Honestly, it 
is frustrating that my preferred application platform is the only one that 
doesn't support this feature yet, and I have a requirement to deliver it.  I 
know that's not your fault and you're working with limited resources.

But if you're serious and you want the help, I am not as committed this summer. 
 If you step up ;) and give me some advice and ideas on where to start I'll 
start reading through the code again.  My biggest issue is I have no idea what 
your future design plans are.  If you and Chris support me and answer my 
questions when I'm not sure of what some of the code constructs are for, I'll 
take on the project this summer.

What do you say?

-jasen

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

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


[jboss-user] [JBoss jBPM] - Re: Help- Database empties on restarting making call to wo

2009-06-11 Thread kukeltje
look at your hibernate config. Does it have create-drop or something like that? 
If so, change it to your needs

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

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


[jboss-user] [JBoss Messaging] - Re: JBM 1.4.4 on JBoss 4.2.2 - remoting problem

2009-06-11 Thread carl.heymann
That is weird because 
 - JBoss AS 4.2.2 comes with remoting 2.2.2.SP1 
 - JBoss AS 4.2.3 comes with 2.2.2.SP8.   
 - According to 
http://www.jboss.org/index.html?module=bbop=viewtopict=156892: JBM 1.4.4 is 
not supposed to work with JBoss AS 5.

Is it safe to use remoting 2.2.3 with JBoss AS 4.2.2?  What options are there?

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

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


[jboss-user] [JBoss jBPM] - Re: beginner question for the jbpm evalutaion (performance a

2009-06-11 Thread kukeltje
uhhmmm... that is 0.0033 seconds per process Do not compare this to a java 
for loop... 0.0033 seconds with lots of database access. That is over 100.000 
processes per hour. Is that bad?



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

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


[jboss-user] [JBossWS] - Re: JAXWS handlers

2009-06-11 Thread kj_newbie
It's JBossWS 3.1.1 native on JBoss 5.0.0.
I tired the JBoss with jdk 6 (copied jars to endorsed dir) and with jdk 5 but I 
get same issue.
I also tried with the 3.1.1 metro but I could not even deploy my web service to 
that one. The same webservice that worked with the native, did not work with 
metro !!

Thanks
Kamna

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

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


[jboss-user] [JBoss Messaging] - Re: JBM 1.4.4 on JBoss 4.2.2 - remoting problem

2009-06-11 Thread carl.heymann
OK, I see the Extra steps to complete your installation in the user's guide 
tells me to use remoting 2.2.3.  I'll try it out.

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

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


[jboss-user] [JBoss jBPM] - Re: beginner question for the jbpm evalutaion (performance a

2009-06-11 Thread kukeltje
http://processdevelopments.blogspot.com/2009/03/tuning-jbpm-in-cluster.html

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

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


[jboss-user] [JBoss jBPM] - Re: jBPM Management Console problem in login, (jBPM 4.0.CR1)

2009-06-11 Thread ajvarela
I think that instalation is ok, but I have checked the server start messages 
and I discovered this:

http://yfrog.com/7hclipboard01fimj

Is this the problem?? How can I solve???

Thank kukeltje for all your replies.

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

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


[jboss-user] [Security JAAS/JBoss] - Re: Custom security module configuration 4.0.3 to 5.0.1 migr

2009-06-11 Thread khohl
It interfaces to a legacy system and enforces a couple policies, one of which 
is standard to EJBs, and one of which is not.  We require that a login EJB in 
our application be called before any others for a given user.  This EJB does 
many things in the legacy system.  SecurityRealm enforces this policy.

We also require that a user have certain roles before being allowed to call 
certain EJBs.  A role is a concept in our legacy system that maps directly to a 
both an EJB role name and a security Group.  SecurityRealm validates a user has 
the correct role before being allowed to execute an EJB.

If necessary, I can provide more detail on specifically what each method of 
SecurityRealm does.


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

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


[jboss-user] [JBoss Messaging] - Re: JBoss Messaging 1.4.4 with JBoss Application Server 5.0.

2009-06-11 Thread vijay.jbossuser
Hello Sir,
Thanks for the reply.
Could you please tell me where i can download messaging samples of 1.4.3.
I downloaded JBoss App server 5.0.0-src and browsed through
JBoss5.0\jboss-5.0.0.GA-src\messaging\src\main\org\jboss\jms\server\destination.
QueueMODefinition.java.
My goal is to write client application which communicates with JBoss Queue
and Message Driven bean to process messages in Queue using JBoss App server 
5.0.0.Also I use EJB 3.0 for Message Driven Bean.

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

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


[jboss-user] [JBossWS] - Re: Call WebService in EJB 3.0 (Differences to EJB 2.1)

2009-06-11 Thread lafr
You did not mention the JBoss version you are using.
We are using JBoss-4.2.4GA including jbossws-3.0.1-native-2.0.4.GA.

You can find out the service URIs by looking at 
http://Nebelos-C2Q:18080/jbossws/.

You can define the name of the service:
@WebService(serviceName = WebServiceController)

The naming of parameters using @WebParam(name=...) works for us.
This might have to do with the JBoss/JBoss-WS version you're using 

P.S.: are you working for Cursor Software AG in Germany?


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

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


[jboss-user] [Performance Tuning] - Re: Server very slow

2009-06-11 Thread lafr
May be you can tune this a little bit, but I doubt you get major improvements.
The T1000 has a 6 or 8 cores with 4 execution threads in each, so up to 32 
virtual CPUs.

But on startup and executing single requests you do not benefit from that.
Here you are limited to the slow single thread performance. The CPU has only 1 
GHz.
Running the same app on a recent laptop with 2.x GHz dual core CPU is much 
faster.

The main advantage of SUNs coolthread architecture is the scalability.
As long as the application is supporting it, you can serve up to 32 requests in 
parallel with near constant response times which won't work with your laptop.


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

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


[jboss-user] [Security JAAS/JBoss] - Re: Federated SSO for web services

2009-06-11 Thread rk_jboss
Thanks Anil for quick response.
I looked in to your blog and other resources but I could not find the details 
like the web services participating in the federation and exchanging the 
authentication and authorization attributes.

I am looking for open source initiatives and tried Shibboleth but its Service 
Provider does not have support for FreeBSD. 

We are in a decision making situation which federation server to choose. 

1)  If you can answer to my previous questions that would be great. I know 
JBoss app server is compatible with FreeBSD and just wondering about federated 
SSO.

2)  The next thing is the federated SSO support for web services. All the 
documentation talks about web based federation but did not get the information 
on support for web services.

3)  I looked in to one of your posts 
(http://www.jboss.org/community/wiki/SAMLv2andXACMLv2Integration) talks about 
the integration of SAM2 with XACML in JBoss and wanted to know more information 
whether we can extend that feature for web services federation with 
authorization. 

FYI: My brief requirement is , once a web service WS1 which exists in 
enterprise E1 authenticates a user U1 with role R1 and trying to access WS2 
from enterprise E2  (both participate in federation ) and the same user U1 will 
have different role R2 in enterprise E2. So my service provide at E2 should get 
the authorization attributes from Identity Provider 2 / federation server. Hope 
you got my concern.

Thanks in advance.

Thanks,
Ram


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

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


[jboss-user] [JBoss jBPM] - Re: Help- Database empties on restarting making call to wo

2009-06-11 Thread gnaik
thanx a lot.. it worked..
 Had to change the property hibernate.hbm2ddl.auto from create to update.

thanx again. :)

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

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


[jboss-user] [EJB 3.0] - Re: Oracle 10g with Jboss 4.2.3 Entity Manager / Hibernate

2009-06-11 Thread lafr
XA-connections seem to be very complicated. It took us some time to find the 
right settings.
What's the content of XA-Datasource description?
Ours is
?xml version=1.0 encoding=UTF-8?
  | datasources
  |   xa-datasource
  | jndi-nameora-11g/jndi-name
  | track-connection-by-tx/
  | isSameRM-override-valuefalse/isSameRM-override-value
  | 
xa-datasource-classoracle.jdbc.xa.client.OracleXADataSource/xa-datasource-class
  | xa-datasource-property 
name=URLjdbc:oracle:thin:@sb2000:1521:11g/xa-datasource-property
  | xa-datasource-property name=Userlafr/xa-datasource-property
  | xa-datasource-property name=Password.../xa-datasource-property
  | 
valid-connection-checker-class-nameorg.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker/valid-connection-checker-class-name
  | 
exception-sorter-class-nameorg.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter/exception-sorter-class-name
  | prepared-statement-cache-size100/prepared-statement-cache-size
  | metadata
  |   type-mappingOracle9i/type-mapping
  | /metadata
  |   /xa-datasource
  | /datasources
  | 

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

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


[jboss-user] [JBoss Messaging] - JBoss 5.0.0 Messaging Samples

2009-06-11 Thread vijay.jbossuser
Hello,
Could you please tell me where i can download messaging samples of JBoss 
Application Server 5.0.0 which has embedded JBoss Messaging 1.4.3. 
I downloaded JBoss App server 5.0.0-src and browsed through 
JBoss5.0\jboss-5.0.0.GA-src\messaging\src\main\org\jboss\jms\server\destination.
 
QueueMODefinition.java. 
My goal is to write client application which communicates with JBoss Queue 
and Message Driven bean to process messages in Queue using JBoss App server 
5.0.0.Also I use EJB 3.0 for Message Driven Bean.

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

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


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

2009-06-11 Thread chris.lap...@jboss.com
https://jira.jboss.org/jira/browse/JBPORTAL-2186
Still lots of work to do though...

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

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


[jboss-user] [Beginners Corner] - Basic AUhentication:Updating password dinamically

2009-06-11 Thread ramboid
Is there a way in which I could change the password for a role at run time with 
a java program (servlet, ejb, ...) priodically without having to manually edit 
the properties file that associate the role to the password?  I would like to 
have a program that every so often would change the password for the a role

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

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


[jboss-user] [JBoss Cache: Core Edition] - JNDI Deployment

2009-06-11 Thread mraccola
I posted a while back asking for advice on what was the best way to share a JBC 
instance for all applications on a node, 
http://www.jboss.org/index.html?module=bbop=viewtopict=151849.  The 
recommendation was to use JNDI and I agree.

However, I am running into the same problem that has been documented on other 
posts...org.jboss.cache.Cache is not Serilializable.  When I try to bind a 
cache instance to JNDI in WebSphere 6.1 for example I get the following 
exception:


  | A NamingException is being thrown from a javax.naming.Context 
implementation. Details follow:
  | Context implementation: com.ibm.ws.naming.jndicos.CNContextImpl
  | Context method: bind
  | Context name: HQ-M-3040Node01Cell/nodes/HQ-M-3040Node01/servers/server1
  | Target name: fleetcycle/cache/jboss-cache
  | Other data: Object to bind: org.jboss.cache.DataContainerImpl [0 nodes, 0 
locks]
  | Exception stack trace: com.ibm.ws.naming.util.CannotBindObjectException: 
Object is not of any type which can be bound.
  | 

As described in the WebSphere 6.1 Info Center, 
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.messages.doc/com.ibm.ws.naming.util.WsnMessages.html,
 this is because the object which is being bound is not Serializable.

Here is the code (in progress) which is creating the cache instance and 
attempting to bind to JNDI.


  | CacheFactory factory = new DefaultCacheFactory();
  | Cache cache = factory.createCache(configFileName);
  | 
  | InitialContext ctx = new InitialContext();
  | ctx.bind(fleetcycle/cache/jboss-cache, cache);
  | 

Is there any way to safely bind a JBC cache instance to JNDI?

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

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


[jboss-user] [JBossWS] - Re: JAXWS handlers

2009-06-11 Thread kj_newbie
OK. so, it worked fine with the metro stack of jbossws (3.1.1)
Had to change the web service  a little but.

Thanks


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

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


[jboss-user] [Security JAAS/JBoss] - Re: JBOSS Negotiate toolkit Secured servlet throws 403 Acces

2009-06-11 Thread dufferdo25
Any Ideas? 
Is there another module I can use for silent sign on?
Cheers!

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

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


[jboss-user] [Clustering/JBoss] - Re: Security Within a Cluster

2009-06-11 Thread bstansbe...@jboss.com
For securing the transports used for EJB invocations, see

http://www.jboss.org/community/docs/DOC-11987 for EJB2

and 

http://docs.jboss.org/ejb3/app-server/reference/build/reference/en/html/transport.html
 for EJB3.

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

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


[jboss-user] [JBossWS] - Re: JAXWS handlers

2009-06-11 Thread kj_newbie
Seems to be working fine with Metro and CXF.
Still not working with the native :(

One thing I noticed is that the endorsed folder has the native jboss jars for 
jaxws, saaj etc. but the other two are not dependent on that.

Is this the problem? How can we override these jars and use the saaj-impl and 
saaj-api even with the native jbossws dist ?

Thanks


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

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


[jboss-user] [Beginners Corner] - Re: jboss AS, jboss Web and php

2009-06-11 Thread ShaneLM
Peter, I'm hoping you still monitor this thread, as you seem to be the absolute 
guru when it comes to PHP integration into JBOSS. But don't let that prevent 
others from responding...i need all the help I can get!

I followed the instructions on this thread and successfully got PHP to work in 
JBOSS EAP 4.3 in a Windows environment. Now I'm trying to do the same on a 
linux environment. 

I downloaded the Linux i686 package from 
http://www.jboss.org/jbossweb/downloads/php/, and immediately noticed that it 
doesn't include the php executable like the windows package did. Hoping this is 
just a difference in operating systems, I proceeded to follow the directions at 
http://www.jboss.org/jbossweb/modules/php/index.html

I extracted the tar.gz, copied jbossweb-extras.jar, modified web.xml and 
server.xml, and added the LD_LIBRARY_PATH entry to run.conf. When I start up 
JBOSS and try to access a simple phpinfo script, I get the following error: 

java.lang.UnsatisfiedLinkError: no php5servlet in java.library.path, no 
libphp5servlet in 
java.library.path(/usr/java/jdk1.6.0_11/jre/lib/i386/server:/usr/java/jdk1.6.0_11/jre/lib/i386:/usr/java/jdk1.6.0_11/jre/../lib/i386:/bin/myproj/oe/app-server/jboss-4.3.0/PHP/lib:/usr/java/packages/lib/i386:/lib:/usr/lib)
 
org.jboss.web.php.Library.(Library.java:65)
org.jboss.web.php.Library.initialize(Library.java:104)
...

This confuses me because both the libphp5.so and libphp5servlet.so are in that 
/bin/myproj/oe/app-server/jboss-4.3.0/PHP/lib directory. Why can't it find them?

I was curious to see if the libraries had the same problem as the windows 
distribution which Peter fixed by dumping the contents of those 2 .so files, 
but I didn't see any reference to *.catalina.* in them.

Any ideas??


On a side note, I don't see a php.ini included in this distribution - how am I 
supposed to edit php settings?

Thanks so much - I've been struggling with this for the entire day...

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

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


[jboss-user] [JBoss jBPM] - Re: jBPM Management Console problem in login, (jBPM 4.0.CR1)

2009-06-11 Thread kukeltje
Hmmm...  a reasteasy error of which I do not have a lot of knowledge. otoh, it 
could be a stdout info message that (unfortunately) is translated by JBoss AS 
to a log4j error. Ifit realy is a default installation, please file a jira 
issue with all the envrionment info you have (jdk, os, as, db, etc)

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

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


[jboss-user] [JBoss jBPM] - Re: Help- Database empties on restarting making call to wo

2009-06-11 Thread kukeltje
any time... makes me feel good if I see satisfied users. (can you imagine some 
users in this forum dislike me ;-))

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

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


[jboss-user] [JBoss jBPM] - Indentityservice- Jbpm4

2009-06-11 Thread shekharv
How would we 'register' a custom implementation of the identity service within 
jbpm4?

So if I needed to use it to implement a different kind of auth provider, 
instead of a db backed one?

Thanks,

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

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


[jboss-user] [JBossWS] - wsconsume ant task

2009-06-11 Thread kj_newbie
Hello,

I am getting the following error when using the wsconsume ant task:


  | taskdef class org.jboss.wsf.spi.tools.ant.WSConsumeTask cannot be found
  | 

This is my build.xml


  | path id=class.path
  | pathelement path=C:\Program 
Files\Java\jdk1.5.0_19\lib\tools.jar/
  | pathelement 
path=E:\jboss\jboss-5.0.0.GA\client\streambuffer.jar/
  | pathelement 
path=E:\jboss\jboss-5.0.0.GA\client\stax-ex.jar/
  | pathelement 
path=E:\jboss\jboss-5.0.0.GA\client\saaj-api.jar/
  | pathelement 
path=E:\jboss\jboss-5.0.0.GA\client\saaj-impl.jar/
  | pathelement 
path=E:\jboss\jboss-5.0.0.GA\client\jbossws-common.jar/
  | pathelement 
path=E:\jboss\jboss-5.0.0.GA\client\jaxws-api.jar/
  | pathelement 
path=E:\jboss\jboss-5.0.0.GA\client\jaxws-tools.jar/
  | pathelement 
path=E:\jboss\jboss-5.0.0.GA\client\jaxws-rt.jar/
  | pathelement path=E:\jboss\jboss-5.0.0.GA\client\xmlsec.jar/
  | pathelement path=E:\jboss\jboss-5.0.0.GA\client\*.jar/
  | pathelement path=E:\jboss\jboss-5.0.0.GA\lib\*.jar/
  | pathelement 
path=E:\jboss\jboss-5.0.0.GA\lib\endorsed\jaxb-api.jar/
  | pathelement 
path=E:\jboss\jboss-5.0.0.GA\lib\endorsed\activation.jar/
  | /path
  | 
  | taskdef name=wsconsume 
  | 
classname=org.jboss.wsf.spi.tools.ant.WSConsumeTask
  | classpath path=class.path/
  | /taskdef
  | 
  | 
  | 
  | target name=generate-from-wsdl
  | 
  | wsconsume
  | fork=true
  | binding=wsdl/stock.xsd
  | keep=true
  | destdir=generated
  | sourcedestdir=gen-src
  | package=com.sun.samples
  | wsdlLocation=/WEB-INF/wsdl/stockservice.wsdl
  | wsdl=wsdl/stockservice.wsdl  
  | /wsconsume
  | 
  | 
  | /target
  | 

Can anyone point out..what ma I missing ?

Thanks

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

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


[jboss-user] [JBoss Portal] - The Chinese characters were garbled in the cms of portal

2009-06-11 Thread ariel_red
Hi,

 When I learn the cms of jboss portal,I have met a problem which is that if I 
name the page just created with the Chinese characters ,I find it show some
garbled characters.
  How to solve it?

 

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

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


[jboss-user] [Beginners Corner] - Re: jboss AS, jboss Web and php

2009-06-11 Thread PeterJ
The problem might not be with the libphp5servlet.so file, but rather a missing 
dependency. Try using the ldd command to see if that is the case.

There are some other posts on PHP - a search should reveal them and they might 
provide some more info.

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

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


[jboss-user] [Beginners Corner] - JBoss Stateless Bean Question (Based on JBoss Tutorial)

2009-06-11 Thread fred fred
-When a Bean Jar file (composed of Remote,Home interfaces and a bean class 
Package)  is deployed to the JBoss Java EJB 3.0 directory,does the client 
program calling JBoss need acces to a local a copy of this jar as well? 

-In the JBoss EJB 3.0 Tutorial for Stateless EJB's, how is it that the client 
can access the Calculator  class in any way at all?
Isn't the idea that one refer to the bean through it's interfaces
only?

I am clear on accessing remote beans and interfaces by their JNDI publicised 
names.  In am simply unclear on how/why the bean package name itself is 
referenced in any way at all.

Calculator calculator = (Calculator) ctx.lookup(CalculatorBean/remote);

CalculatorBean seems to be the name of the jar file, and hence the name 
publicised to JBoss' JNDI server.

However, shouldn't Calculator be hidden from the client?
IF not, how does one confgiure JBoss server to only allow bean access through 
interfaces?

?

:)



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

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


[jboss-user] [Beginners Corner] - JBoss Stateless Bean Question (Based on JBoss Tutorial)

2009-06-11 Thread fred fred
-When a Bean Jar file (composed of Remote,Home interfaces and a bean class 
Package)  is deployed to the JBoss Java EJB 3.0 directory,does the client 
program calling JBoss need acces to a local a copy of this jar as well? 

-In the JBoss EJB 3.0 Tutorial for Stateless EJB's, how is it that the client 
can access the Calculator  class in any way at all?
Isn't the idea that one refer to the bean through it's interfaces
only?

I am clear on accessing remote beans and interfaces by their JNDI publicised 
names.  In am simply unclear on how/why the bean package name itself is 
referenced in any way at all.

Calculator calculator = (Calculator) ctx.lookup(CalculatorBean/remote);

CalculatorBean seems to be the name of the jar file, and hence the name 
publicised to JBoss' JNDI server.

However, shouldn't Calculator be hidden from the client?
IF not, how does one confgiure JBoss server to only allow bean access through 
interfaces?

?

:)



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

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


[jboss-user] [JBoss Messaging] - Re: JBoss Messaging 1.4.4 with JBoss Application Server 5.0.

2009-06-11 Thread gaohoward
The examples don't come with this version of AS5. You need to download 1.4.3.GA 
and build yourselves.

Please note to run those examples, you need set JBOSS_HOME, and you need to 
change the jboss.configuration to the name of your AS profile (for example 
'default'). 

As AS 5 don't pre-deploy any queues, you also need to deploy them before 
running the examples.

A task is created for sorting out the docs/examples issues with AS5. I'll be 
working on it. see

https://jira.jboss.org/jira/browse/JBMESSAGING-1644

Once done, examples should be available easily and run without any 
modifications.

Thanks.


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

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


[jboss-user] [JBoss Messaging] - Re: JBoss Messaging 1.4.4 with JBoss Application Server 5.0.

2009-06-11 Thread gaohoward
FYI, 1.4.3.GA is here:

http://anonsvn.jboss.org/repos/messaging/tags/JBossMessaging_1_4_3_GA/



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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: weblogic9.1 to Jboss5.0 Migration

2009-06-11 Thread chairill
i got the same problem too..anybody can help?

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

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


[jboss-user] [Beginners Corner] - Question about InitialContext.lookup(string);

2009-06-11 Thread fred fred
The string which is part of a client's Context.lookup
is generally as follows.


java:comp/env/ejb/ObjectName

could someone provide an example for each of the String parameters
here?

I take it that

comp := [IPno|url[port]]

What are the options here?

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

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