Solved

classpath newbie question... HELP HELP HELP

Posted on 2003-10-24
4
673 Views
Last Modified: 2013-12-10
Hi,

   I have successfully deployed several ejbs and my servlet use them. but my servlet cannot locate their home interfaces. Where should these class files(i.e. home class, remote interface class...etc)  be resided so that servlet can see them????

thanks.
stephen
0
Comment
Question by:zollen
  • 2
4 Comments
 
LVL 2

Expert Comment

by:egorelik
ID: 9616940
These classes should reside in any of the locations specified in weblogic classpath in weblogic start script.

What Weblogic version are you using ?

Eugene Gorelik
0
 

Author Comment

by:zollen
ID: 9616977
weblogic 8.1
0
 

Author Comment

by:zollen
ID: 9617564
When I included all home, remote class files into the classpath, I got the following warming message while starting the server.
========================================

<Oct 24, 2003 5:49:45 PM PDT> <Warning> <EJB> <BEA-010001> <While deploying EJB 'BoyEJB', class com.oasis.risk.ejbs.family.BoyEJB was loaded from the system classpath. As a result, this class cannot be reloaded while the server is running. To prevent this behavior in the future, make sure the class is not located in the server classpath.>


It suggest all ejb class files should not be included in any of the system classpath. Where should these files be placed so that they are visible to servlets.....????????????
0
 
LVL 9

Accepted Solution

by:
vzilka earned 50 total points
ID: 9618123
You should put the files inside WEB-INF\classes directory (including relevant package names, etc.) in your WAR file.
0

Featured Post

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
Verbose logging is used to diagnose garbage collector problems. By default, -verbose:gc output is written to either native_stderr.log or native_stdout.log.   It is also possible to redirect the logs to a user-specified file. This article will de…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question