Solved

classpath newbie question... HELP HELP HELP

Posted on 2003-10-24
4
654 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

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…
Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection.  So the default connection pool using DBCP (or any other framework) is made available and the life go…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

744 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now