[jboss-user] [EJB 3.0] New message: "EJB loading before persistence Unit jar - how to load PAR first?"

2010-03-07 Thread kimbaltrue
User development, A new message was posted in the thread "EJB loading before persistence Unit jar - how to load PAR first?": http://community.jboss.org/message/530426#530426 Author : kimbaltrue Profile : http://community.jboss.org/people/kimbaltru

[jboss-user] [JBoss jBPM] - Invoking a secured webservice - BASIC authentication

2009-02-07 Thread kimbaltrue
I'm using JBoss AS 4.2.2 and jbpm-bpel-1.1.1, and I'm trying to invoke a webservice which is secured using BASIC authentication. I've been digging around what documentation I can find, but so far I can find no setting that will allow me to set the userid and password for the invoke. Is there a

[jboss-user] [JBoss jBPM] - Fault calling BPEL webservice containing a date

2009-02-04 Thread kimbaltrue
On the server I'm using Java 5.0, JBoss AS 4.2.2.GA, and jBPM BPEL 1.1.1. The client is using Java 6.x I have a simple BPEL script that receives a request with a complex type schema and replies with a string. I generated stub WS classes using Java 6.0 for the test client and when I leave the dat

[jboss-user] [Security & JAAS/JBoss] - Re: Unable to get Subject from SecurityAssociation when call

2008-08-26 Thread kimbaltrue
So, it's not propigating subject between EJB's if they're called through the interface returned from JNDI, but it is propogating it with injection? I would have thought that the injection reference would have come from JNDI to begin with. Does JBOSS have a parallel reference mechanism with JNDI

[jboss-user] [Security & JAAS/JBoss] - Re: Unable to get Subject from SecurityAssociation when call

2008-08-25 Thread kimbaltrue
The first bean is a standard EJB3.0 webservice bean. | @WebService(name = "Reference", serviceName = "Reference", targetNamespace = "http://legion.ccf.org";) | @SOAPBinding(style = SOAPBinding.Style.DOCUMENT) | /* | * JBOSS specific security annotations | */ | @SecurityDomain("tact

[jboss-user] [Security & JAAS/JBoss] - Re: Unable to get Subject from SecurityAssociation when call

2008-08-25 Thread kimbaltrue
When the initial EJB bean is called - it's a EJB 3.0 webservice bean - I'm able to get the current context Subject, and from that I can get the principal sets, and from them I can get the full list of a user's roles. That's actually working. The problem occurs when I call another EJB 3.0 bean f

[jboss-user] [Security & JAAS/JBoss] - Re: Unable to get Subject from SecurityAssociation when call

2008-08-25 Thread kimbaltrue
Yes, I am using getCallerPrincipal to get the caller principal, but I need the caller's Subject as well. That's not available in the standard EJB API set, but I need it to get the roll list. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4172291#4172291 Reply

[jboss-user] [Security & JAAS/JBoss] - Unable to get Subject from SecurityAssociation when calling

2008-08-22 Thread kimbaltrue
I'm using JBOSS-4.2.3.GA under Jdk 1.6_05 I have an EJB3.0 Webservice Bean that calls two other EJB3.0 beans to do it's work. Inside the Webservice Bean I can call SecurityAssociation.getSubject and get the current security context subject. However, in the utility beans when I call SecurityAsso

[jboss-user] [JBossWS] - Re: Is there a workaround for the UsernameToken security hea

2007-08-24 Thread kimbaltrue
Thanks this helped though I did have to do a lot of snooping in the deploy directory. Apparently, all I had to do was add the following annotation: @EndpointConfig(configName="Standard WSSecurity Endpoint") The endpoint configuration file already exists in the webservices sar directory under d

[jboss-user] [JBossWS] - Question on EndPointConfig vs. HandlerChain

2007-08-15 Thread kimbaltrue
When building JSR-181 webservices for JBOSS 4.2.x should we use the @EndPointConfig to setup security handlers or should we use the standard JEE @HandlerChain annotation? Is there an example for using @HandlerChain? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic

[jboss-user] [JBossWS] - Is there a workaround for the UsernameToken security header?

2007-08-13 Thread kimbaltrue
I'm using 4.2.0.GA with JSR-181 EJB webservices. My EBJ's are topped with the following annotations: @WebService(name = "InstitutionServices", targetNamespace = "http://tagus.ccf.org/";, serviceName = "InstitutionServices") | @SOAPBinding(style = SOAPBinding.Style.DOCUMENT) | /* | * JBOSS

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Upate: War loading before persistence Unit.

2007-06-20 Thread kimbaltrue
I moved the persistence unit entity references to a non-managed bean object and returned that object from the managed bean. And.. it loaded. So, this seems to be an issue with when managed beans are loaded. This item might ought to be under the JSF forum instead, but there's still and issue.

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - War loading before persistence Unit.

2007-06-20 Thread kimbaltrue
I'm running JBoss 4.2.0 I have an EAR file which contains the JAR's shown in the following Application XML file: | http://www.w3.org/2001/XMLSchema-instance"; ns0:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd"; version="1.4" xmlns="http

[jboss-user] [EJB 3.0] - Re: EJB3.0 and Web container - this should be easy, but...

2007-06-16 Thread kimbaltrue
Here's an update: (P.S. I'm running JBOSS 4.2.0) After some searching and frustration, it occured to me that I could eliminate the shared object issue by copying the shared library into the lib directory. Yes, this is an act of desperation, but it did provide some relief. I'm now able to call th

[jboss-user] [EJB 3.0] - EJB3.0 and Web container - this should be easy, but...

2007-06-16 Thread kimbaltrue
I have an EAR file that contains an EJB 3.0 Stateless bean, a Persistence Unit, (currently a shard JAR), and a WAR file. The persistence unit loads, the EJB 3.0 bean loads, and references both the persistence unit and the shared jar. The WAR file will not load as long as it tries to access the

[jboss-user] [JBossWS] - Re: java.lang.UnsupportedOperationException when connecting

2007-06-07 Thread kimbaltrue
The JSE 6 Annotations use the XmlAccessType Enumeration as a property in the XmlAccessorType annotation, but the JWSDP 2 uses AccessType instead. Somebody did a rename of the class in the JSE 6 release so I'm not surprised if it fails. View the original post : http://www.jboss.com/index.html?

[jboss-user] [EJB 3.0] - Re: Problem with FetchType.EAGER - multiple instances of an

2006-11-24 Thread kimbaltrue
It looks like this behavior isn't a bug (see quote from http://docs.jboss.org/ejb3/app-server/HibernateAnnotations/reference/en/html_single/index.html#d0e1046) anonymous wrote : 2.2.5.5. Association fetching | You have the ability to either eagerly or lazily fetch associated entities. The fetc

[jboss-user] [EJB 3.0] - Re: Problem with FetchType.EAGER - multiple instances of an

2006-11-24 Thread kimbaltrue
One interesting note is that I'm getting a multiple of 5 per record. So, if I have twelve (12) records I get back sixty (60) records and duplicates. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988403#3988403 Reply to the post : http://www.jboss.com/index.

[jboss-user] [EJB 3.0] - Re: Problem with FetchType.EAGER - multiple instances of an

2006-11-24 Thread kimbaltrue
I seem to be having the same problem, but with a OneToMany relationship. I have a Parent object with a ManyToOne with a "classification" object which contains a list of attribute fields as a OneToMany relationship. Both of these joins are EAGER fetched. What's interesting is that the duplicati

[jboss-user] [Security & JAAS/JBoss] - Servlet Authentication without j_securitycheck

2006-11-22 Thread kimbaltrue
I have a servlet that receives a non-SOAP XML message with authentication information in the message, and I need to establish a temporary security context to call a secured EJB. What is the best method for doing this? The client is not able to call j_securitycheck. Currently I'm creating a Lo

[jboss-user] [JBossWS] - Re: Clarify WSDL generation from Object parameters

2006-10-26 Thread kimbaltrue
My initial install included the JBossWS 1.0.3.GA along with the following the Install-1.0.3.GA.txt instructions so I'm already using jbossws.war using JDK 1.5. The webservice shows up and even generates a WSDL. However, the WSDL is mangled because the JBossXB doesn't support JAXB 2.0 and the exi

[jboss-user] [JBossWS] - How do I customize WSDL when using 181 EJB WS

2006-10-25 Thread kimbaltrue
I'm using the lastest AS and WS. My Webservice uses a complex object as a paramter (i.e. java.util.List as attribute.) The webservice deploys, but the complex object in the generated WSDL is empty. How do I get JBossWS to generate a WSDL with the complete object model? Is there anyway to provid

[jboss-user] [JBossWS] - Clarify WSDL generation from Object parameters

2006-10-24 Thread kimbaltrue
I'm using JBossAS 4.0.5GA with JBossWS 1.0.3GA for webservice support. I have a JSR-181 EJB 3.0 Endpoint with document style SOAP messaging. I've applied JAXB 2.0 annotations to the parameter objects on my service methods. The services deploy, but the WSDL generator seems to ignore the annotati