Technical FAQ: Questions about code examplesFAQ Index
I'm trying to run a dbKona example class file with the command java classname and it doesn't work. My CLASSPATH is set to .;/usr/weblogic/classes.
Make sure you have read the Getting Started document on Setting up the WebLogic examples. There are also detailed instructions in HTML in each example directory. Here are some troubleshooting tips to review if you are having problems running the code examples:
For example, to compile weblogic/src/examples/dbkona/query.java use the commands:
cd weblogic/src/examples/dbkona javac -d c:/weblogic/classes query.java
And then run the example with the command:
The javac command produces the file c:/weblogic/classes/examples/dbkona/query.class. The directory c:/weblogic/classes must be in your CLASSPATH when you run the example.
If these instructions do not make sense to you, read Troubleshooting compilation problems for a fuller explanation.
I'm trying to run the EJB examples, but I get errors when the server is trying to create the demoPool connection pool using the Cloudscape JDBC driver. How do I fix this?
An evaluation version of the Cloudscape database management system is included in your WebLogic distribution, but must be set up properly for it to work with the code examples. For detailed instructions, see Using the Cloudscape database.
Copyright © 2000 BEA Systems, Inc. All rights reserved.