0 Replies Latest reply on Sep 11, 2007 11:10 AM by xpern

    Migrating from 4.0.5 to 4.2.1 problems

    xpern

      Hi! Optimistically I tried deploying my current application that?s running nicely in JBoss 4.0.5 on the later version 4.2.1

      First off, I?d like to mention that JBoss starts nicely if I don?t add any application. ;)

      I have two problems, who might be the same;

      Fist one, how do I get rid of

      url=file:/C:/jboss-4.2.1.GA/server/default/conf/login-config.xml
      2007-09-11 17:01:46,937 DEBUG [org.jboss.security.auth.login.XMLLoginConfigImpl] Failed to load config as XML
      org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX parser
      at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:100)
      at org.jboss.security.auth.login.XMLLoginConfigImpl.loadXMLConfig(XMLLoginConfigImpl.java:320)
      at org.jboss.security.auth.login.XMLLoginConfigImpl.loadConfig(XMLLoginConfigImpl.java:288)
      at org.jboss.security.auth.login.XMLLoginConfigImpl.loadConfig(XMLLoginConfigImpl.java:268)


      I?ve seen the suggestion here in the faq that I should add the endorsed directory in the startup parameters but there was no difference at all for me.
      (Something similar to ?Djava.endoresed.lib=c:\jboss421\lib\endorsed couldn?t find the exact command now)

      Please help, how do I get rid of this problem!


      -----
      Second problem is perhaps related to the first one: JBoss cant find my datasource anymore: (Name of my datasource is ProfilerDS)

      file:/C:/jboss-4.2.1.GA/server/default/conf/standardjbosscmp-jdbc.xml
      2007-09-11 17:02:00,328 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.Absence] jar:file:/C:/jboss-4.2.1.GA/server/default/tmp/deploy/tmp5829profiler.ear-contents/profiler.jar!/META-INF/jbosscmp-jdbc.xml found. Overriding defaults
      2007-09-11 17:02:00,500 DEBUG [org.jboss.ejb.EjbModule] Starting failed jboss.j2ee:service=EjbModule,module=profiler.jar
      org.jboss.deployment.DeploymentException: Error: can't find data source: java:/ProfilerDS; - nested throwable: (javax.naming.NameNotFoundException: ProfilerDS not bound)
      at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.init(JDBCEntityBridge.java:153)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:435)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:368)
      at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:172)


      Thank you for your time!

      /Per