Thanks for the replies.
I tried using a new Jboss version 1.0.3SP1 and it didn't help. 

During the startup of the server i got following error 
anonymous wrote : 
  | 19:33:10,962 WARN  [HANamingService] Failed to start AutomaticDiscovery
  | 

I tried reducing the complexity of the Bean so the Code is realy easy now.


  | /*
  |  * Created on May 31, 2005
  |  */
  | package org.mrbibjay.ejb;
  | 
  | import javax.ejb.SessionBean;
  | import javax.ejb.SessionContext;
  | import javax.ejb.EJBException;
  | import java.rmi.RemoteException;
  | 
  | /**
  |  * @ejb.bean    name="UserManager"
  |  *              display-name="Name for UserManager"
  |  *              description="Description for UserManager"
  |  *              jndi-name="ejb/UserManager"
  |  *              type="Stateless"
  |  *              view-type="all"
  |  * 
  |  * @ejb.interface 
service-endpoint-class="org.mrbibjay.interfaces.UserManagerEndpoint"
  |  */
  | public class UserManagerBean implements SessionBean {
  | 
  |     private static final long serialVersionUID = 3904677180482270264L;
  | 
  |     /**
  |      * 
  |      * @ejb.interface-method
  |      *  
  |      */
  |     
  |     public String getMyUserID(String username) {
  |             
  |             return "";
  |     }
  | 
  |     
  |     /* ------------------------------------------------------------------ */
  | 
  |     public void setSessionContext(SessionContext ctx) throws 
EJBException,RemoteException {
  |     }
  | 
  |     public void ejbRemove() /*throws EJBException, RemoteException*/ {
  |     }
  | 
  |     public void ejbActivate() /*throws EJBException, RemoteException */{
  |     }
  | 
  |     
  |     public void ejbPassivate() throws EJBException, RemoteException {
  |     }
  | 
  |     public void ejbCreate() {
  |     }
  | }
  | 

I created the wsdl and mapping files with this Options:

  | server="true"
  | features="rpcliteral"
  | 

And here is the config.xml

  | <?xml version="1.0" encoding="UTF-8"?>
  | <configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config";>
  | <service name="UserManagerService"
  |      targetNamespace="http://UserManager";
  |      typeNamespace="http://UserManager/types"; 
  |      packageName="org.mrbibjay.interfaces"> 
  |          <interface name="org.mrbibjay.interfaces.UserManagerEndpoint"/> 
  | </service> 
  | </configuration> 
  | 

Can someone please tell me were the mistake is ?

Thanks 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3915346#3915346

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915346


-------------------------------------------------------
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

Reply via email to