Hi Hélène,
> Are you on Linux ?
> I vaguely remember that many months ago, Linux users have got this
> kind of problem due to a problem of a JDK version on Linux.
> I apologize to not be able to give you more details.
Thanks again for your reply. I am trying to run JOnAS on Windows NT 4.0. I
am using the JDK 1.2.2 (official Sun release).
I have tried using the new JOnAS 2.0 version. This meant rewriting my
deployment descriptors for the new XML format. When I try and deploy my bean
in the new version I get a similar error! The full trace of the error I get
is:
JOnAS Server, version 2.0, running on Jeremie.
TransactionService: Working with a colocated Transaction Manager
Create and register TM factory
initialising a JonasSender
initialising a JonasReceiver
TransactionFactory constructor
NamingManager: rebind TMFactory
Current.Current(TransactionFactory tmfact)
Batch constructor
Clock constructor
Register UserTransactionFactory
NamingManager: rebind java:comp/UserTransaction
javaURLContextFactory.getObjectInstance:null
javaURLContext rebind java:comp/UserTransaction
Current.getReference()
Env.getDataSources()
Env.getDataSource()
datasource =datastore
DataBaseManager.createConnectionManagers()
DataBaseManager.createConnectionManager()
ConnectionManager.ConnectionManager()
PoolKeeper: started
XADataSourceImpl.XADataSourceImpl()
ConnectionManager.setDataSourceName: weblogic.jdbc.connectionPool.demoPool
XADataSourceImpl.setDataSourceName(weblogic.jdbc.connectionPool.demoPool)
ConnectionManager.setUrl(String
jdbc:weblogic:mssqlserver4:@Darwin@endor:1433)
ConnectionManager.setClassName(String weblogic.jdbc.mssqlserver4.Driver)
Load JDBC driver weblogic.jdbc.mssqlserver4.Driver
ConnectionManager.setUserName(String SQLuser)
ConnectionManager.setPassword(String SQLuser)
ConnectionManager configured with:
jdbcConnCheckLevel = 1
jdbcConnMaxAge = 30
jdbcConnMaxThreads = 4
jdbcConnExclTimeout = 30
jdbcTestStmt = SELECT 1
Mapping datasource jdbc:weblogic:mssqlserver4:@Darwin@endor:1433 on
weblogic.jdbc.connectionPool.demoPool
Container.Container()
Env.getDescBeans()
descriptors=[jonas-ejb-jar.xml]
createEJBContainers [jonas-ejb-jar.xml])
descriptor is null
Cannot read the deployment descriptors 'jonas-ejb-jar.xml': Invalid XML in
jonas-ejb-jar.xml:
Since I am not getting a "file not found" error I presume that it is finding
the descriptors okay. I am launching JOnAS from the JONAS_ROOT dir of
c:\jonas_jdk1.2. My "jonas.properties" entry for the bean is:
jonas.beans.descriptors jonas-ejb-jar.xml
This xml file is also in the c:\jonas_jdk1.2 directory as is the .jar file
container all the class files I want to deploy. This .jar file is called
"ejb-jar.jar". Does the name of this file matter? Do I have to specify it in
another file? Should it be in this directory?
I have attached my deployment descriptors to this email. I have compared
them to the sample ones distributed with JOnAS and can see no difference in
format between them. Or any errors in the XML well-formedness.
Sorry to send so much material to the newsgroup but I am clueless as to why
this is not working and would appreciate any help anyone can give me.
Thanks in advance.
Andy.
Andrew Gray
Senior Software Engineer
Velitar Ltd
(+44)131 623 2621
ejb-jar.xml
jonas-ejb-jar.xml