[JBoss-user] [JBossWS] - Re: JSR181 + EJB3 (build: CVSTag=HEAD date=200601151019)
Jason, Please elaborate on "using wsdl attribute". We have the same problem. Thank you. -Julian Htun View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3918543#3918543 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3918543 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - JBossWS WSDL not creating type for Array Object
JBossWS is not generating the type information for Array Type Object. The type information for class Result is missing in WSDL. If you look at the class below, the "Hacked" Result class will generate WSDL correctly. Definitely it's a bug. | class MyObject | { | protected String name; | MyObject() {}; | String getName() { return "myName"; } | void setName(String value) { name = value; } | } | | | /** Normal Result Class */ | | class Result | { | Result() {} | protected long id; | protected MyObject[] myObjects; | | long getId() { return id; } | void getId(long value) { id = value; } | | MyObject[] getMyObjects() { return myObjects; } | void setMyObjects(MyObject[] values) { myObjects = values; } | } | | /** Hacked Result Class */ | | class Result | { | Result() {} | protected long id; | protected MyObject[] myObjects; | | long getId() { return id; } | void getId(long value) { id = value; } | | /** A hack to fool JBossWS to generate the type information */ | MyObject getMyObject() { return myObject; } | void setMyObject(MyObject value) { myObject = value; } | | MyObject[] getMyObjects() { return myObjects; } | void setMyObjects(MyObject[] values) { myObjects = values; } | } | | | WS SEI: | | Result getResult() { return result; } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3918148#3918148 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3918148 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Session Bean can not find Entity Manager
The error was obvious - I forgot @Entity on Author class. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3916353#3916353 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916353 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Session Bean can not find Entity Manager
Now I get the following: 12:56:22,935 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.entity.PersistenceUnitDeployment 12:56:22,935 INFO [JmxKernelAbstraction] installing MBean: entity.manager:name=articles with dependencies: 12:56:22,935 INFO [JmxKernelAbstraction] jboss.jca:name=DefaultDS,service=DataSourceBinding 12:56:22,982 INFO [Ejb3Configuration] found EJB3 Entity bean: org.jboss.ejb3demo.Article 12:56:22,997 WARN [ServiceController] Problem starting service entity.manager:name=articles java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:87) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:262) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:957) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:442) at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:262) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190) at $Proxy94.start(Unknown Source) at org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:76) at org.jboss.ejb3.Ejb3Deployment.startEntityManagerDeployment(Ejb3Deployment.java:480) at org.jboss.ejb3.Ejb3Deployment.initializeManagedEntityManagerFactory(Ejb3Deployment.java:456) at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:335) at org.jboss.ejb3.Ejb3Module.createService(Ejb3Module.java:110) at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:262) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:957) at $Proxy0.create(Unknown Source) at org.jboss.system.ServiceController.create(ServiceController.java:355) at org.jboss.system.ServiceController.create(ServiceController.java:299) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) at org.jboss.mx.server.Invocation.invoke(Invocati
[JBoss-user] [EJB 3.0] - Session Bean can not find Entity Manager
I have checkout jboss-head and build it. I follow the TrailBlazer example. [ Entity Beans PAR file ] author.par --META-INF -- -- persistence.xml -- -- MANIFEST.MF -- -- org/jboss/ejb3demo/Article.class -- -- org/jboss/ejb3demo/Author.class [ Session Beans Archive ] authors-bean.ejb3 -- org/jboss/ejb3demo/Authors.class -- org/jboss/ejb3demo/AuthorsBean.class Article.class and Author.class are entity beans. persistence.xml: | | articles | java:/DefaultDS | | | | AuthorBeans.java: @Stateless | @Remote(Authors.class) | public class AuthorsBean implements Authors | { | @PersistenceContext(unitName="articles") | private EntityManager manager; | | public void addArticle(Author author, String title, String body) | { | manager.persist(author); | author.addArticle(title, body); | } | . . . . | } When Entity is deployed: Info Message: 00:03:17,921 INFO [JaccHelper] JACC Policy Configuration for deployment has been put in service 00:03:17,921 INFO [Ejb3Deployment] EJB3 deployment time took: 15 00:03:17,921 INFO [EJB3Deployer] Deployed: file:/C:/jboss/server/all/deploy/author.par Error Message: 00:03:48,093 INFO [EJB3Deployer] Deployed: file:/C:/jboss/server/all/deploy/authors-beans.ejb3 00:03:48,109 ERROR [URLDeploymentScanner] Incomplete Deployment listing: --- MBeans waiting for other MBeans --- ObjectName: jboss.j2ee:service=EJB3,name=AuthorsBean State: NOTYETINSTALLED I Depend On: entity.manager:name=articles --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- ObjectName: entity.manager:name=articles State: NOTYETINSTALLED Depends On Me: jboss.j2ee:service=EJB3,name=AuthorsBean What am I doing wrong? Thanks, -Julian View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3916320#3916320 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916320 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: xml encription and signature in JBossWS
Thomas, HEAD will become JBoss 5.0? When do you guys plan to release JBoss 5.0? Thanks, -Julian View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904531#3904531 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3904531 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Securing ServiceEndPoint for Servlet type WS
Thomas, Different? There is a way? If you don't have time to give me detail leads, can you give me some highlevel leads to investigate? Thanks, -Julian View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903574#3903574 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903574 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Securing ServiceEndPoint for Servlet type WS
Hi, I'm pretty new to J2EE world. I'm using JBossWS and able to make them work and now I'm trying to secure them. This post is 2 folds. 1. I'm trying out 1 design whereby utilizing the SOAP header and I'm having problem. 2. I like the guru out there to suggest another better and simpler design if you know one. I heard about HTTP Basic Authentication but I also heard that sometimes it won't work thru Proxy Server as the HTML header sometimes get changed. Secondly it might not work from Laszlo. Back to item #1 I need to authenticate using a third party JAAS module (DatabaseServerLoginModule). It is already in login-config.xml and it is working fine with another WAR. I did see the following tutorial BUT it is for EJB and I'm using Servlet and I don't know how to configure such that the 3rd party JAAS module is get called. http://wiki.jboss.org/wiki/Wiki.jsp?page=WSSecureEndpoint Thanks in advance, -Julian Htun View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3901442#3901442 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3901442 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user