BEA Logo BEA WebLogic Server Release 1.1

  Corporate Info  |  News  |  Solutions  |  Products  |  Partners  |  Services  |  Events  |  Download  |  How To Buy

   Frequently Asked Questions:   Previous topic   |   Next topic   |   Contents   

 

WebLogic Frequently Asked Questions: Code examples

 

Why can't I get an example class file to work?

I'm trying to run an example class file with the command java classname and it doesn't work. Why?

Each example comes with detailed instructions for building the example class files, configuring the server, and running the example. Make sure that you have completed each of the example instructions. One of the first steps of almost every example is to make sure that your environment is set properly by running the setEnv script. This helps to ensure that your classpath is set properly and that you compile the class files into the appropriate directories. For more information see Setting your development environment.

How do I use the Cloudscape evaluation version with the examples?

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. All examples that use the Cloudscape database include instructions for configuring the connection pool. For additional information, see Using the Cloudscape database with WebLogic.