DL wrote:
(a) OpenEJB and OpenEJB1 as Tomcat 5.0.27 webapps appear to be sensitive to "white space" in Tomcat installation path.
So I have now re-installed Tomcat 5.0.27 into c:\Tomcat5\ .. no spaces in Tomcat installation path. I have not published here the Tomcat error logs which lead to this conclusion .. Clue seen in Tomcat logs was "malformed URI .. Files/Apache".
Most Java application suffer from this, but I think they shouldn't if they used URIs instead of File class. That's an idea I need to test out.
(b) When launching http://localhost:8080/mywebapp/index.jsp
I see this in the browser ..
proxy=org.openejb.test.stateless.BasicStatelessHome;deployment=client/test
s/statel ess/BasicStatelessHome;pk=null
BJEnepO
Is this the expected output ???? Looks like cryptic "OpenEJB" printed in reverse ... "BJEnepO".
What instructions did you follow? It looks like the output from the reverse method of the bean. Perfectly correct.
(c) Images (such as OpenEJB logo) in browser display are corrupted. There is no images directory seen in target\openejb-1.0-SNAPSHOT. When images were placed in webapps\openejb-webadmin\images\ they were then seen in the browser.
The images are in the WebAdmin webapp. Do you say that they're corrupted or not displayed at all?
(d) Where is openejb.base set in configuration files?
openejb.home is computed during the build process. openejb.base is not set other than manually. As it's not set, it's assumed to be equal to openejb.home.
OpenEJB embedded in Tomcat environment (per webapp, per Tomcat instance) is configured via WEB-INF/web.xml. OpenEJB embedded via Tomcat resource factory (java:comp/env) uses server.xml (according to Tomcat rules of initializing factories).
In testing OpenEJB1 properties, openejb.base is pointing (incorrectly) to c:\windows\system32. Needs to be setup.
I don't know why. The only explanation of it I can came up with is that when Tomcat is started up it's done right in that directory and openejb.base is not set and....no, no, it doesn't work that way.
Wait, how do you start Tomcat? Where is the executable? Could you show us the Tomcat startup logs?
Important OpenEJB properties:
openejb.home: c:\openejb-1.0-SNAPSHOT
Hmmm, did you move the target/openejb-1.0-SNAPSHOT directory to c: drive? If so, you need to update openejb.home in web.xml of WebAdmin.
Anyone having these problems?
Not that I heard of. Anyway, I'll be looking into them.
DL
Jacek
