0 Replies Latest reply on Dec 13, 2002 12:08 AM by Jones

    Do Sun's J2EE examples deploy in JBoss without any change?

    Jones Newbie

      Hi,JBossers
      I want to deploy Sun's J2EE examples such as ConverterApp.ear in JBoss. But I have some

      problems to do this. If I changed nothing in the .ear,the JBoss throw a exception saying

      "without jboss-web.xml". So I add this file to the .ear. And the Jboss looks accepted it.
      But when I opened the web page at " http://localhost:8080/converter",then submit it,But I got

      some exception.
      If I want to deploy sun's examples in JBoss,would you give me some rules to do it? It looks

      we have lots of thing to do for migrate beans from a J2EE server to another.
      --------------------------------------------------------
      11:02:56,638 INFO [MainDeployer] Starting deployment of package: file:/E:/jboss
      -3.0.4_tomcat-4.1.12/server/default/deploy/ConverterApp.ear
      11:02:56,638 INFO [EARDeployer] Init J2EE application: file:/E:/jboss-3.0.4_tom
      cat-4.1.12/server/default/deploy/ConverterApp.ear
      11:02:56,768 INFO [EjbModule] Creating
      11:02:56,778 INFO [EjbModule] Deploying ConverterEJB
      11:02:56,798 INFO [EjbModule] Created
      11:02:56,808 INFO [EjbModule] Starting
      11:02:56,838 INFO [EjbModule] Started
      11:02:56,858 INFO [EmbeddedCatalinaService41] deploy, ctxPath=/converter, warUr
      l=file:/E:/jboss-3.0.4_tomcat-4.1.12/server/default/tmp/deploy/server/default/de
      ploy/ConverterApp.ear/100.ConverterApp.ear-contents/war-ic.war
      11:02:56,879 INFO [Engine] WebappLoader[/converter]: Deploying class repositori
      es to work directory E:\jboss-3.0.4_tomcat-4.1.12\tomcat-4.1.x\work\MainEngine\l
      ocalhost\converter
      11:02:56,999 INFO [Engine] ContextConfig[/converter]: Added certificates -> req
      uest attribute Valve
      11:02:57,059 INFO [EmbeddedCatalinaService41] Using Java2 parent classloader de
      legation: true
      11:02:57,059 INFO [Engine] StandardManager[/converter]: Seeding random number g
      enerator class java.security.SecureRandom
      11:02:57,059 INFO [Engine] StandardManager[/converter]: Seeding of random numbe
      r generator has been completed
      11:02:57,069 INFO [Engine] StandardWrapper[/converter:default]: Loading contain
      er servlet default
      11:02:57,069 INFO [Engine] StandardWrapper[/converter:invoker]: Loading contain
      er servlet invoker
      11:02:57,069 INFO [MainDeployer] Deployed package: file:/E:/jboss-3.0.4_tomcat-
      4.1.12/server/default/deploy/ConverterApp.ear