[jboss-user] [JBossWS] - Does wsdl-override work in Jboss 4.2.3GA?

2008-10-01 Thread jimpo
I am trying to use jboss.xml and wsdl-override to set the location where my webservices (annotated with @WebServiceRef into an EJB) are at. With JBoss 4.2.1GA this works, but identical ear in 4.2.3 seems to not use the wsdl-override at all. Is there a known issue with JBoss 4.2.3GA and wsdl-ov

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Does wsdl-override work in Jboss 4.2.3GA?

2008-10-01 Thread jimpo
I am trying to use jboss.xml and wsdl-override to set the location where my webservices (annotated with @WebServiceRef into an EJB) are at. With JBoss 4.2.1GA this works, but identical ear in 4.2.3 seems to not use the wsdl-override at all. Is there a known issue with JBoss 4.2.3GA and wsdl-ov

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: wsdl-override does not work with JBossAS 4.2.3GA, fine w

2008-09-29 Thread jimpo
It looks to me as if the wsdl-override would be completely disregarded from jboss.xml. I looked at the logs and it seems the webservice-refs are bound to same names as before. But the override just does not seem to be happening at all. Any ideas why this is? View the original post : http://ww

[jboss-user] [JBoss Portal] - Re: wsdl-override does not work with portal 2.6.6, fine with

2008-09-29 Thread jimpo
It looks to me as if the wsdl-override would be completely disregarded from jboss.xml. I looked at the logs and it seems the webservice-refs are bound to same names as before. But the override just does not seem to be happening at all. Any ideas why this is? View the original post : http://ww

[jboss-user] [JBossWS] - Re: jboss.xml wsdl-override works with one JBoss version, bu

2008-09-29 Thread jimpo
It looks to me as if the wsdl-override would be completely disregarded from jboss.xml. I looked at the logs and it seems the webservice-refs are bound to same names as before. But the override just does not seem to be happening at all. Any ideas why this is? View the original post : http://ww

[jboss-user] [JBossWS] - jboss.xml wsdl-override works with one JBoss version, but no

2008-09-29 Thread jimpo
I try to override my @WebServiceRef wsdl location using jboss.xml and wsdl-location. This works fine with portal 2.6.4 which is deployed on JBossAS 4.2.1GA but override is not being done with bundled portal 2.6.6 (JBossAS 4.2.3GA). One of my EJBs: | @WebServiceRef(com.fooz.baz.webservi

[jboss-user] [Installation, Configuration & DEPLOYMENT] - wsdl-override does not work with JBossAS 4.2.3GA, fine with

2008-09-29 Thread jimpo
I'm using JBoss portal 2.6.6 with AS 4.2.3GA and wsdl-override in jboss.xml does not work. It works fine with portal 2.6.4 and AS 4.2.1GA. I try to override my @WebServiceRef wsdl location using jboss.xml and wsdl-location. This works fine with portal 2.6.4 which is deployed on JBossAS 4.2.1GA

[jboss-user] [JBoss Portal] - wsdl-override does not work with portal 2.6.6, fine with 2.6

2008-09-29 Thread jimpo
I try to override my @WebServiceRef wsdl location using jboss.xml and wsdl-location. This works fine with portal 2.6.4 which is deployed on JBossAS 4.2.1GA but override is not being done with bundled portal 2.6.6 (JBossAS 4.2.3GA). One of my EJBs: | @WebServiceRef(com.fooz.baz.webservi

[jboss-user] [JBossWS] - Re: Getting handle of the original XML message in JAX-WS

2008-09-01 Thread jimpo
Also, binding to a String is not a necessity. I could bind to a Document or an Element as well. As long as I can extract the xml easily, ie. not binding into a group of java objects. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4173517#4173517 Reply to the

[jboss-user] [JBossWS] - Re: Getting handle of the original XML message in JAX-WS

2008-08-29 Thread jimpo
guess I should give wscompile a JAXB binding xml that defines this kind of mapping. I can't figure out how to construct this binding.xml. How do I define a mapping which maps ComplexType 'archiveDecisionType's element 'decision' into a String containing the element's xml? Any examples? View th

[jboss-user] [JBossWS] - Re: Getting handle of the original XML message in JAX-WS

2008-08-29 Thread jimpo
As an example, web service request that contains | | 123 | | |dsadsa | | |asdasd |asdasd | | | Should be mapped into Java object class Some { | int employeeNumber; | String decision | } with values employeeNumber = 123, | decision

[jboss-user] [JBossWS] - Getting handle of the original XML message in JAX-WS

2008-08-29 Thread jimpo
I am using JAX-WS to implement my web services. I start with a WSDL and then create the stubs and data objects using jbossws 2.0's wscompile tool. I have bunch of service operations A,B, and C that work like this, 'normally'. Now I would like to have a different kind of operation D which takes t

[jboss-user] [JBossWS] - Re: Cannot find endpoint meta data with super-simple WS

2008-08-15 Thread jimpo
"ritesh001" wrote : jimpo, have you found a solution to this problem? I'm having the same problem, though my service deploys just fine on GlassFish and WebLogic, just that JBoss is screwed up with "cannot find endpoint meta data" error. Sorry I can't help you. I c

[jboss-user] [JBossWS] - Design issue: packaging JAX-WS artifacts

2008-08-14 Thread jimpo
We have a project with several web services (A, B , C) and a client that uses them. The services and the client are separate subprojects, each built independently. Both the services and the client use jbossws JAX-WS but of course other types of external clients may exist as well. We create the

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Overriding universal classloader, JBoss 4.2.1GA

2007-10-25 Thread jimpo
"jaikiran" wrote : | | Makes sense? | | Beautiful explanation of the issue. To recap, my understanding of the issue - AnnotationConfiguration class (from hibernate-annotations, included in WEB-INF/lib) references Interface A and, if one exists, class B implementing interface A - An

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - JBoss 4.2.1GA, Hibernate classes included in war

2007-10-15 Thread jimpo
I am having classloading issues when I include hibernate JARs in my war. jars have to be included in the war because the application needs to be able to select hibernate version freely. My application uses hibernate to implement JPA. I have tried to override universal classloader with jboss-web

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Overriding universal classloader, JBoss 4.2.1GA

2007-10-15 Thread jimpo
Java sources for the curious: http://rapidshare.com/files/62742397/java.zip.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095301#4095301 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095301 _

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Overriding universal classloader, JBoss 4.2.1GA

2007-10-15 Thread jimpo
OK, I managed to create a trimmed down version of my application. There's still plenty of JAR's (the war is 11MB), but only 3 classes and just a few config files. http://rapidshare.com/files/62738527/myproject-1.0-SNAPSHOT.war.html Once you have deployed the war, you should be able to go to h

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Overriding universal classloader, JBoss 4.2.1GA

2007-10-12 Thread jimpo
"jaikiran" wrote : | I looked for this class in the hibernate jars and found that this specific class is located in the hibernate-annotations.jar. This jar is located in the server/< serverName>/lib folder. I *think* i am some what understanding what the problem might be. I believe, you do no

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Overriding universal classloader, JBoss 4.2.1GA

2007-10-11 Thread jimpo
BY THE WAY, I just tested the same app with JBoss 4.0.3 SP1 and everything works. No problems, at all. For me it seems that the java2ParentDelegation trick works for 4.0 as expected, and for 4.2 it for some reason does not work during the startup. Frustrating, that there is no documentation of

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Overriding universal classloader, JBoss 4.2.1GA

2007-10-11 Thread jimpo
I guess I found out the culprit for the xerces problems. My WEB-INF/lib had xml-apis.jar. Once I removed that, I stopped getting the xerces related problems. But no such luck. Once I got rid of that problem, my application could start initializing itself, and this is where the hibernate -relate

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Overriding universal classloader, JBoss 4.2.1GA

2007-10-10 Thread jimpo
"jimpo" wrote : "jaikiran" wrote : anonymous wrote : java.lang.ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl | | | | Have a look at http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassCastExceptions, specifically the jmx-console method mentioned o

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Overriding universal classloader, JBoss 4.2.1GA

2007-10-10 Thread jimpo
"jaikiran" wrote : anonymous wrote : java.lang.ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl | | Have a look at http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassCastExceptions, specifically the jmx-console method mentioned over there. That will tell you which jar(and ho

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Overriding universal classloader, JBoss 4.2.1GA

2007-10-10 Thread jimpo
I guess you are right, after modifying the jboss-web.xml the original classloading the original classcastexception disappeared. However I am still getting classloading -related problems: 1. I got 'org.apache.commons.logging.impl.Log4JLogger' cannot be found exceptions. I have log4j.jar and comm

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Overriding universal classloader, JBoss 4.2.1GA

2007-10-09 Thread jimpo
*bump* This should be a common question, no? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093015#4093015 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4093015 ___ jboss-use

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Overriding universal classloader, JBoss 4.2.1GA

2007-10-04 Thread jimpo
How can I override JBoss's universal classloader, and use my own jars from my war's WEB-INF/lib, instead of ones in server/xxx/lib? I have hibernate jars inside my war. I know one option is to remove them from war, but assume for now that I need to be able to select hibernate version freely and

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Problem deploying a JPA web application

2007-10-03 Thread jimpo
You are correct with your bet, sir. I do have hibernate JARs in my WAR. I tried removing the hibernate*.jars from my WAR, but I am still getting a classcast error, a different one this time: 12:04:25,625 INFO [TomcatDeployer] deploy, ctxPath=/sujuvuus-webapp-1.0-SNAPSHOT, warUrl=.../tmp/deplo

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Problem deploying a JPA web application

2007-10-02 Thread jimpo
Not sure how many are familiar with Appfuse, but it is a tool that basically generates a simple helloworld web application (.war) using selected technologies. I created a web application using JPA & Spring MVC. I'm using JBoss 4.2.1GA without any special configuration changes. I can deploy the

[jboss-user] [Security & JAAS/JBoss] - Simple web interface for managing users & roles

2007-08-30 Thread jimpo
I am using JBoss 4.2.1. Does it include any kind of user / role management web-based UI (management console)? Basic need is to have a very simple web interface for creating new users and assigning them to roles. If the application server does not come blundled with that kind of functionality,