Solved

classpath newbie question... HELP HELP HELP

Posted on 2003-10-24
4
677 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
New Website 15 33
logging jar 1 118
JMS Tibco queue/topic : how to get messages count of queue? 7 398
ColdFusion Application log reports a 'Java heap space' error 6 352
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

733 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