Hi Stephane,

here there are. I added the jboss.xml and ejb-jar.xml from
bankchecker-app-ejb-0.2.0.jar and jboss-app.xml from ear. In
bankchecker-app-net-0.2.0.wsr are the web-service.xml and the classes for the
service.

Thanks,

Bernd

Stephane Nicoll wrote:
> If RC2 worked fine, you better not watch @t axis side. 
> It has been updated to 1.1 final in RC2.
> 
> Please post the application.xml of your ear and your web-service.xml file
> 
> Regards,
> 
> Stephane
> 
> -----Original Message-----
> From: Bernd Koecke [mailto:[EMAIL PROTECTED]
> Sent: Thursday, October 09, 2003 5:53 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] Redeploy problem of webservices on JBoss 3.2.2
> 
> 
> I tried some suggestions from thread
> 
> "JBossNET hot deployment problem (ClassCastException)"
> 
> but nothing works. Both my ear- and ejb-jar-files don't contain
> jndi.properties.
> And Axis doesn't log any special messages in debug mode. And because I don't
> get
> a ClassCastException, I think it is not neccessary to look at RMIClassLoader.
> But I'm not sure ;).
> 
> Regards,
> 
> Bernd
> 
> Bernd Koecke wrote:
> 
>>Hi,
>>
>>I have a problem with redeploying wsr-files on JBoss 3.2.2RC3,RC4 and
> 
> nightly
> 
>>snapshot. RC2 works fine. Environment is SUN-jdk-1.4.2_01 on Linux.
>>
>>I have an ear-file with some EJBs and one of these beans needs a
> 
> (Axis/SOAP)
> 
>>webservice. This service is packed in a wsr-file in the same ear and noted
> 
> in
> 
>>apllication.xml as module/java. After server startup I deploy the whole ear
>>file, do some tests which uses the webservice and all works fine.
>>
>>In the next step I delete the ear-file and all is undeployed.
>>
>>After this I redeploy the ear-file again. Logfile says that the wsr is
> 
> deployed,
> 
>> all works fine except the webservice from the wsr-file. JBoss claims, that
> 
> he
> 
>>can't find webservice in JNDI.
>>
>>This only happens after using the webservice. When I start JBoss and
>>deploy->undeploy->deploy the whole ear several times without using it in
>>between, all works fine. But after using the service and redeploying, I got
> 
> a
> 
>>NamingException.
>>
>>The wsr file contains an autogenerated MANIFEST.MF, my web-service.xml in
>>META-INF dir and the Java-classes for the service stubs.
>>
>>Are there any changes from RC2 to the newer versions for which I have to
> 
> change
> 
>>my packaging/config?
>>
>>Thanks,
>>
>>Bernd
> 
> 
> 


-- 
Dipl.-Inform. Bernd Koecke
UNIX-Entwicklung
Schlund+Partner AG
Fon: +49-721-91374-0
E-Mail: [EMAIL PROTECTED]
<?xml version="1.0" encoding="UTF-8"?>
<deployment xmlns="http://xml.apache.org/axis/wsdd/"; xmlns:jmx="http://net.jboss.org/jmx"; xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"; name="NewWebhostingFacadeWs" targetNameSpace="http://net.jboss.org/jmx";>
    
  <ext-service jndiName="BankCheckerWSv0_3_0" serviceClass="de.schlund.j2ee.bankchecker.ws.impl.SOAPBankCheckerService" serviceImplClass="de.schlund.j2ee.bankchecker.ws.impl.SOAPBankCheckerServiceLocator"/>
    
</deployment>
<?xml version="1.0" encoding="UTF-8"?>
<jboss>

   <enterprise-beans>

     <!--
       To add beans that you have deployment descriptor info for, add
       a file to your XDoclet merge directory called jboss-beans.xml that contains
       the <session></session>, <entity></entity> and <message-driven></message-driven>
       markup for those beans.
     -->

      <session>
         <ejb-name>BankCheckerSessionEJB</ejb-name>
         <jndi-name>ejb/remote/bankchecker/v0_3_0/BankCheckerSession</jndi-name>
         <resource-env-ref>
            <resource-env-ref-name>BankChecker</resource-env-ref-name>
            <jndi-name>BankCheckerWSv0_3_0</jndi-name>
         </resource-env-ref>
      </session>

   </enterprise-beans>

   <resource-managers>
   </resource-managers>

</jboss>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd";>

<ejb-jar >

   <description><![CDATA[No Description.]]></description>
   <display-name>Generated by XDoclet</display-name>

   <enterprise-beans>

      <!-- Session Beans -->
      <session >
         <description><![CDATA[]]></description>
         <display-name>BankCheckerSessionEJB</display-name>

         <ejb-name>BankCheckerSessionEJB</ejb-name>

         <home>de.schlund.j2ee.bankchecker.bean.remote.BankCheckerSessionBeanHome</home>
         <remote>de.schlund.j2ee.bankchecker.bean.remote.BankCheckerSessionBean</remote>
         <ejb-class>de.schlund.j2ee.bankchecker.bean.remote.BankCheckerSessionEJB</ejb-class>
         <session-type>Stateless</session-type>
         <transaction-type>Container</transaction-type>

         <resource-env-ref>
            <resource-env-ref-name>BankChecker</resource-env-ref-name>
            <resource-env-ref-type>de.schlund.j2ee.bankchecker.ws.impl.SOAPBankCheckerServiceLocator</resource-env-ref-type>
         </resource-env-ref>

      </session>

     <!--
       To add session beans that you have deployment descriptor info for, add
       a file to your XDoclet merge directory called session-beans.xml that contains
       the <session></session> markup for those beans.
     -->

      <!-- Entity Beans -->
     <!--
       To add entity beans that you have deployment descriptor info for, add
       a file to your XDoclet merge directory called entity-beans.xml that contains
       the <entity></entity> markup for those beans.
     -->

      <!-- Message Driven Beans -->
     <!--
       To add message driven beans that you have deployment descriptor info for, add
       a file to your XDoclet merge directory called message-driven-beans.xml that contains
       the <message-driven></message-driven> markup for those beans.
     -->

   </enterprise-beans>

   <!-- Relationships -->

   <!-- Assembly Descriptor -->
   <assembly-descriptor >
     <!--
       To add additional assembly descriptor info here, add a file to your
       XDoclet merge directory called assembly-descriptor.xml that contains
       the <assembly-descriptor></assembly-descriptor> markup.
     -->

   <!-- finder permissions -->

   <!-- transactions -->

   <!-- finder transactions -->
   </assembly-descriptor>

</ejb-jar>
<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE application PUBLIC 
  "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN"
  "http://java.sun.com/dtd/application_1_3.dtd";>
  
<application>
  <display-name>New Webhosting Phone Order v0.3.0</display-name>
  <module>
    <ejb>common-helper-ejb-0.2.0.jar</ejb>
  </module>
  <module>
    <ejb>all-database-app-ejb-0.2.0.jar</ejb>
  </module>
  <module>
    <ejb>castor-tariff-app-ejb-0.2.1.jar</ejb>
  </module>
  <module>
    <ejb>addresschecker-app-ejb-0.2.0.jar</ejb>
  </module>
  <module>
    <ejb>sedo-app-ejb-0.2.0.jar</ejb>
  </module>
  <module>
    <ejb>bankchecker-app-ejb-0.2.0.jar</ejb>
  </module>
  <module>
    <java>bankchecker-app-net-0.2.0.wsr</java>
  </module>
  <module>
    <ejb>passwordchecker-app-ejb-0.3.0.jar</ejb>
  </module>
  <module>
    <ejb>domain-info-app-ejb-0.2.0.jar</ejb>
  </module>
  <module>
    <ejb>order-app-ejb-0.2.1.jar</ejb>
  </module>
  <module>
    <ejb>tecci-app-ejb-0.2.0.jar</ejb>
  </module>
  <module>
    <ejb>methadon-app-ejb-0.2.0.jar</ejb>
  </module>
  <module>
    <ejb>togal-app-ejb-0.2.0.jar</ejb>
  </module>
  <module>
    <ejb>new-webhosting-app-ejb-0.3.0.jar</ejb>
  </module>
  <module>
    <web>
      <web-uri>test-system-0.2.0.war</web-uri>
      <context-root>test-system-0.3.0</context-root>
    </web>
  </module>
</application>
<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE jboss-app
  PUBLIC "-//JBoss//DTD J2EE Application 1.3V2//EN"
  "http://www.jboss.org/j2ee/dtd/jboss-app_3_2.dtd";>
  
<jboss-app>
  <loader-repository>nw.app:loader=new-webhosting-phone-application-v0_3_0</loader-repository>
</jboss-app>

Reply via email to