Solved

classpath newbie question... HELP HELP HELP

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Upgrading Tomcat – There are a couple of methods to upgrade Tomcat is to use The Apache Installer is to download and unzip and run the services.bat remove|install Tomcat6 Because of the App that we are working with, we can only use Tomcat 6.…
There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

775 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