Solved

classpath newbie question... HELP HELP HELP

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Retrun object in plist format 5 55
Upgrade of Tomcat server 7 255
need to apply latest fix to websphere 7 2 97
Hosting application in Apache and Tomcat 1 92
-Xmx and -Xms are the two JVM options often used to tune JVM heap size.   Here are some common mistakes made when using them:   Assume BigApp is a java class file for the below examples. 1.         Missing m, M, g or G at the end …
This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

920 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