My application requires a JNDI property, which basically is a simple java.lang.String. In tomcat this is easy to define the context.xml, while it's also easy in the glassfish admin console.
However, I cannot find how to do this in Weblogic 10.0. My property should be in java:comp/env
EDIT
I have found another question, where answers show this isn't really possible out of the box in WLS 10.0 Adding custom object to JNDI on Weblogic 10
However, there is a plugin which would do the trick: http://code.google.com/p/weblogic-jndi-startup/
I changed my code to fall back on an environment veriable if this fails. Not too nice, but fixed for me.