Hi,
On Fri, 15 Dec 2000, Alexander Radwanski wrote:
> 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?
if it's an exception from the xml parser then you should use an escape
sequence instead of '&', i.e use '&'.
> 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).
Please post the full exception stack traces.
-- Juha
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]