[jboss-user] [EJB 3.0 Users] - Store multiple persistence units in one entity manager facto

2009-12-11 Thread newmanw10
I am a little confused so please bear with me. I have two persistence units myPU1 and myPU2. Each is defined in a separate jar file. I want to get both of these persistence units into JNDI. I also want both persistence units in the same entity manager factory (if that is possible) I know tha

[jboss-user] [JBoss Web Services Users] - Re: cus tom fault mapping with jax-rpc‏

2009-11-17 Thread newmanw10
I did finally figure out what my problem was. Are you using wscompile to generate your jax-rpc mapping file? If so that is your problem! I am not sure if wscompile is generating the xml incorrectly or if jboss does not parse wscompile's generated mapping file correctly. The solution is to use

[jboss-user] [JBoss Web Services Users] - custom fa ult mapping with jax-rpc‏

2009-10-30 Thread newmanw10
Sorry posted this in the CXF forum, this is probably a better place. Not sure how to remove the CXF post on this subject. I am currently working on an old legacy system that is using jax-rpc. I would like to add in some custom faults such that I can inform clients better. I.E. I can throw cu

[jboss-user] [JBoss Web Services Users] - How to use jbossws-native

2009-10-29 Thread newmanw10
I have some problems with my legacy jax-rpc web services and I have been informed that it is probably because I need to use jbossws-native for my jax-rpc stuff. I am running 4.2.3.GA out of the box, so I assume that I need to get the jbossws-native and put it somewhere in my jboss. Anyone no

[jboss-user] [JBoss Web Services Users] - Use JAX-RPC in 4.2.3.GA

2009-10-06 Thread newmanw10
Does anyone know which system properties I need to set to use JAX-RPC in jboss 4.2.3. I don't want to use the jboss.ws stuff that comes with JBoss I want to use teh sun libs. I have the libs in the correct path but I am not sure of all the System properties I need to set to get this to work co

[jboss-user] [JBoss Web Services Users] - How do I catch a user define exception on the client (SOAP/J

2009-10-02 Thread newmanw10
Seems like I am following the spec correctly and JAX-RPC is generating the exception class correctly (I think), but I still cannot get this to work. I am wondering if there is something configuration wise that I need to setup in JBoss to get the correct exception back on the client side. I hav

[jboss-user] [JBoss Web Services Users] - How do I catch a user define exception on the client (SOAP/J

2009-10-02 Thread newmanw10
Seems like I am following the spec correctly and JAX-RPC is generating the exception class correctly (I think), but I still cannot get this to work. I am wondering if there is something configuration wise that I need to setup in JBoss to get the correct exception back on the client side. I hav

[jboss-user] [JBoss Web Services Users] - How do I catch a user define exception on the client (SOAP/J

2009-10-02 Thread newmanw10
Seems like I am following the spec correctly and JAX-RPC is generating the exception class correctly (I think), but I still cannot get this to work. I am wondering if there is something configuration wise that I need to setup in JBoss to get the correct exception back on the client side. I hav

[jboss-user] [JBoss Web Services Users] - How do I catch a user define exception on the client (SOAP/J

2009-10-02 Thread newmanw10
Seems like I am following the spec correctly and JAX-RPC is generating the exception class correctly (I think), but I still cannot get this to work. I am wondering if there is something configuration wise that I need to setup in JBoss to get the correct exception back on the client side. I hav

[jboss-user] [JBoss Messaging] - Re: 4.2.3.GA messaging service?

2009-06-18 Thread newmanw10
Thanks Peter! Is there any easy way to configure 4.2.3 to use JBoss Messaging? What are some high level advantages if so. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238620#4238620 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting

[jboss-user] [JBoss Messaging] - 4.2.3.GA messaging service?

2009-06-18 Thread newmanw10
What messaging service is 4.2.3.GA using out of the box, Jboss Messaging or JbossMQ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238615#4238615 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238615 _

[jboss-user] [Security & JAAS/JBoss] - Securing MDBs

2009-06-18 Thread newmanw10
So I would like to annotate my MDBs with @SecurityDomain, and also @RolesAllowed. The problem is that I do not know how to set-up jms to set-up my security domain info before it calls my MDB. I am using a Cert Based Login Module so I am not sure exactly how to get jms to use a cert. Perhaps t

[jboss-user] [Clustering/JBoss] - JMS failover problem

2009-06-18 Thread newmanw10
Jboss 4.2.3.GA I have a cluster with two nodes and I can bring up both nodes just fine. I even see messages that state they were clustered together. When the second node comes up all of the jms queues are not deployed (which is what is supposed to happen). But when I bring the master down I

[jboss-user] [Clustering/JBoss] - Re: JMS Failover to Master node : SpyJMSException: Cannot au

2009-06-18 Thread newmanw10
I am running into the same problem. Has any one else seen this and solved this? I can see the nodes cluster, but jms is not happy on the failover node. Any ides? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238516#4238516 Reply to the post : http://www

[jboss-user] [Clustering/JBoss] - Re: deploy-hasingleton broke?

2009-06-17 Thread newmanw10
You say you can also, I am confused. Does this mean I should still put my ear with me MDB in the deploy-hasingleton directory? Also deploy-hasingleton is for the cluster! It will deploy once on the master when the master comes up. If the master goes down a node in the cluster will take over

[jboss-user] [Clustering/JBoss] - deploy-hasingleton broke?

2009-06-16 Thread newmanw10
I am trying to deploy an ear with an MDB into the deploy-hasingleton directory. Seems to be deploying my bean before jms is deployed. Shouldn't jboss deploy all xml's first? Has anyone else run into this problem before? How do I get a singleton MDB to deploy? I am read the jboss docs a few

[jboss-user] [Clustering/JBoss] - Re: Deploying an EAR in singleton mode in a two machines clu

2009-06-15 Thread newmanw10
I am having the same problem. Has anyone come up with a solution? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4237751#4237751 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4237751

[jboss-user] [JBoss Messaging] - Re: Singleton MDB problem

2009-06-15 Thread newmanw10
Also reaching on the web I found that for this to work in a clustered env. I need to deploy my MDB in deploy-hasingleton. Does this mean deploy to deploy-hasingleton on each node of the cluster or just on one node of the cluster? View the original post : http://www.jboss.org/index.html?module

[jboss-user] [JBoss Messaging] - Singleton MDB problem

2009-06-15 Thread newmanw10
I want a singleton MDB so that only one message gets processed at a time. I.E. receive the message from the queue, process the message in its entirety, then process the next message. I have deployed the jms service as deploy-hasingleton, and I have the @ActivationConfigProperty for maxSession

[jboss-user] [Beginners Corner] - Re: Does jboss store java.naming.provider.url

2009-06-13 Thread newmanw10
Never mind found a good solution. For my outside app server app I just need to specify a jndi.properties somewhere in the classpath and then I can just create a default initial context. jndi.properties file: | ### JBossNS properties | java.naming.factory.initial=org.jnp.interfaces.NamingCo

[jboss-user] [Beginners Corner] - Does jboss store java.naming.provider.url

2009-06-13 Thread newmanw10
I have a method that sends messages to a jms queue and this method can be called inside and outside the appserver. In that method I need to create an InitialContext to lookup the jms queue. This is great from within the appserver because when I create the InitialContext the PROVIDER_URL is alr

[jboss-user] [JBoss Messaging] - Connecting to JmsXA outside app server

2009-06-10 Thread newmanw10
I want to insert a jms message into a queue from outside the appserver but I am having problems find JmsXA. | Properties p = new Properties(); | p.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); | p.put(Context.URL_PROVIDER, ""jnp://myserver:1100"); | In

[jboss-user] [JBoss Messaging] - MDB jboss properties

2009-06-09 Thread newmanw10
I cannot find anywhere a list of jboss's MDB properties/annotations that I can use. Can someone please point me in the right direction. Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4236410#4236410 Reply to the post : http://www.jboss.org/index.html

[jboss-user] [Security & JAAS/JBoss] - Re: Problems with db when using security domain

2009-02-24 Thread newmanw10
So this seems like a bug with JBoss(4.2.2.GA) but I am not sure if anyone is aware of it or has reproduced it. Basically just create a security domain. My domain is using the BaseCertLoginModule. Then have two datasources setup, one that is named 'DefaultDS' and one that is named something el

[jboss-user] [Security & JAAS/JBoss] - Re: Problems with db when using security domain

2009-02-20 Thread newmanw10
So i think what is happening is that somehow i am getting the DefaultDS even though I am asking for a different DS(ExampleDS). Well myabe not exactly because it seems like I have the right datasource from what the debugger tells me but I somehow end up in the driver class for the default dataso

[jboss-user] [Security & JAAS/JBoss] - Problems with db when using security domain

2009-02-19 Thread newmanw10
I am trying to use a custom login module but when I do so I have problems getting to my DB. So without the @SecurityDomain("customSecurityDomain") annotation everything works just fine. When I use that security domain things look good from and EJB security standpoint as the user is authenticat

[jboss-user] [JBoss Tools (users)] - Re: Cannot build bottom up web service in eclipse using JBos

2008-11-12 Thread newmanw10
Ah ok I see. But that does not fix my problem. Actually I had that set correctly all along. Select project TestWeb in project explorer, and then right click and select new -> other -> web service, and the Service Project fills in correclty. Another question, I would like to deploy this war as

[jboss-user] [JBoss Tools (users)] - Re: Cannot build bottom up web service in eclipse using JBos

2008-11-11 Thread newmanw10
In the * Service Project *?? I am sorry I am not quite sure what you mean could you explain a little more. Thanks for your help. Billy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188482#4188482 Reply to the post : http://www.jboss.com/index.html?module=

[jboss-user] [JBoss Tools (users)] - Re: Cannot build bottom up web service in eclipse using JBos

2008-11-10 Thread newmanw10
Sounds good. Like I said I created a simple web service that returns a int. I can publish the web service using 'run as server" in eclipse and select the JBOSS 4.2 server. I can go to http://localhost:8080/jbossws/services and see my service and the WSDL. I can create a WSDL file in eclipse

[jboss-user] [JBoss Tools (users)] - Re: Cannot build bottom up web service in eclipse using JBos

2008-11-10 Thread newmanw10
Ok even better. So I cannot create the WSDL file using the web services wizard, but since I have deployed the service I can create a WSDL sing the WSDL creation wizard. So problem solved right? Wrong I cannot create a web service client using th eurl of WSDL file or the WSDL file I created us

[jboss-user] [JBoss Tools (users)] - Re: Cannot build bottom up web service in eclipse using JBos

2008-11-10 Thread newmanw10
A little more info. I am able to deploy the web service. And I can use the web service explorer in Eclipse to see my web service and even test it. It is working fine. But when I use the web services wizard to create a WSDL file for my web service I get the error I mentiond before. View the

[jboss-user] [JBoss Tools (users)] - Re: Cannot build bottom up web service in eclipse using JBos

2008-11-10 Thread newmanw10
Thanks for the response. I have auto build turned on in Eclipse so I do have the class built. I did double check though. Plus it is not really warning me about a specific class, i.e. it never really said cannot find class 'Hello', it said cannot load class [and], that is a little weird. I re

[jboss-user] [JBoss Tools (users)] - Cannot build bottom up web service in eclipse using JBossWS

2008-11-07 Thread newmanw10
I am running into a problem creating a WSDL file using Eclipse IDE v3.4. When I go through through the 'bottom up web service' wizard and select JBossWS for my web service runtime and choose a simple web service that I created I get the following erorr: Error: Could not load class [and]. Did y

[jboss-user] [JBoss Tools (users)] - Re: Cannot create J2EE JBOSS project in Eclipse

2008-11-07 Thread newmanw10
I have the eclipse plugin for jboss. I tried looking at the doc you provided but it did not help me in terms of eclipse. Any eclipse turtorial (that are recent for eclipse v3.4) using jboss that anyone knows about. I am having problem creating a web service using JBossWS. View the original p

[jboss-user] [JBossWS] - Create WSDL file using jbossws in Eclipse

2008-11-06 Thread newmanw10
I am running into a problem creating a WSDL file using Eclipse IDE v3.4. When I go through through the 'bottom up web service' wizard and select JBossWS for my web service runtime and choose a simple web service that I created I get the following erorr: Error: Could not load class [and]. Did y

[jboss-user] [JBoss Tools (users)] - Cannot create J2EE JBOSS project in Eclipse

2008-10-24 Thread newmanw10
Hi, I've been looking at the JBOSS tutorial found here: http://docs.jboss.com/jbosside/tutorial/build/en/pdf/JBossIDE-Tutorial.pdf My problem starts at page 4, when i try to Create a new J2EE Project. According to the tutorial, i should have the following option: Select File > New >Project >JBoss