I found some problems with ejb-jar.xml
1.
<env-entry>
 <env-entry-name>jdbcURL</env-entry-name>
 <env-entry-type>java.lang.String</env-entry-type>
 <env-entry-value>jdbc:xxx://yyy?user=aaa&pass=bbb</env-entry-value>
</env-entry>

the deployer says:
[Auto deploy]: org.jboss.deployment.J2eeDeploymentException:
No valid deployment descriptor was found within this URL.....

The problem is in the value: "jdbc:xxx://yyy?user=aaa&pass=bbb" -> when I
remove the "&" there everything works ok. Is "&" forbidden in the deployment
descriptor? Or bug?

2.
<env-entry>
 <env-entry-name>xxx</env-entry-name>
 <env-entry-type>java.lang.String</env-entry-type>
 <env-entry-value></env-entry-value>
</env-entry>

here I get null pointer exc. because value is empty. But in the 1.1 spec.
you don't need to provide a value (optional entry in DTD).

Any solution?

Alex



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to