[jboss-user] [Beginners Corner] - Migrating from 4.0.5 to 4.2.1 problems

xpern do-not-reply at jboss.com
Tue Sep 11 11:10:07 EDT 2007


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



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

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



More information about the jboss-user mailing list