Created serializable object, but get "Class not found" on "createObjectMessage()" cal

I'm using OC4J 9.0.2.1 and JDeveloper 9.0.2 with Oracle db. I have a set of queues created in the database.
Before I try to send my request, I create an instance of the serializable object I want to send. I do all of my queue connection setup, then I call:
queueSession.createObjectMessage(request);
Where "queueSession" is a QueueSession obtained from "queueConnection.createQueueSession()".
When I step over this function call, I get the following:
oracle.jms.AQjmsException: JMS-109: Class not found: com.attws.it.bsa.felix.mci.common.ServiceInfoRequest
(The indicated class name is the type of the "request" object.)
What could I be doing wrong?

The code below creates the following classes when I compile it (using jsk1.3):
DistanceBarApplication2.class
DistanceBarApplication2$1
DistanceBarApplication2$2
DistanceBarApplication2$3
DistanceBarApplication2$DistanceBar2
The error I receive is: load: class DistanceBarApplication2 not found
Here is my HTML code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
</HEAD>
<BODY>
<applet code="DistanceBarApplication2.class" width=300 height=50>
</applet>
</BODY>
</HTML>
Here is the Java code:
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class DistanceBarApplication2 extends JApplet {
private final DistanceBar2 bar = new DistanceBar2();
public void init() {
bar.setMaximum(100);
bar.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent e) {
bar.stop();
JOptionPane.showMessageDialog(bar, bar.getValue() + " yards");
bar.start();
this.getContentPane().add(bar);
bar.start();
static class DistanceBar2 extends JProgressBar {
private Thread mThread;
private boolean mRunning= false;
private int mValue = 0;
private boolean mUp = true;
private Runnable updater = new Runnable() {
public void run() {
setValue(mValue);
public void start() {
if (mRunning) {
return;
mRunning = true;
mThread = new Thread(new Runnable() {
public void run() {
while (mRunning) {
try {
Thread.sleep(30);
} catch (InterruptedException e) { }
adjust();
mThread.setDaemon(true);
mThread.start();
public void stop() {
mRunning= false;
// Best to let a thread run itself out
// if (mThread != null)
// mThread.interrupt();
// Don't need this for this applet, but possibly later
// public Dimension getPreferredSize() {
// return new Dimension(300,70);
private void adjust() {
int delta = getMaximum() / 40;
mValue += delta * (mUp ? 1 : -1);
if (mValue >= getMaximum()) {
mValue = getMaximum();
mUp = false;
} else if (mValue <= 0) {
mValue = 0;
mUp = true;
SwingUtilities.invokeLater(updater);

Similar Messages

  • Errors with CF 8.0.1 hotfix 3 and hotfix 4, "Object Instantiation Exception.Class not found"

    We need to get our servers up to date with the latest ColdFusion hotfixes in order to pass our security scans and policies. We have been following the Adobe instructions for installing the hotfixes, but we’re getting the same errors each time. The CF 8 hotfix 2 works fine, but once we install hotfix 3 and/or hotfix 4, we get the following errors:
    "Object Instantiation Exception.Class not found: coldfusion.security.ESAPIUtils The specific sequence of files included or processed is: C:\ColdFusion\wwwroot\WEB-INF\exception\java\lang\Exception.cfm, line: 12 "
    coldfusion.runtime.java.JavaObjectClassNotFoundException:
    We have dozens of servers running Windows XP, Netscape Enterprise Server 6.1 (I  know, don’t laugh), ColdFusion 8,0,1,195765, and Java Version 1.6.0_04. Just about  the only good thing about running XP on our servers is that it matches  our development boxes, so we have almost mirrored environments for dev,  test, and production. We do NOT have the CF install with the J2EE configuration.
    The crazy thing is, on tech note 51180 (http://kb2.adobe.com/cps/511/cpsid_51180.html), it says that the fix for bug # 71787 (Fix for "Object Instantiation Exception" thrown when calling a Java object constructor or method with a null argument under JDK 1.6.) was added in cumulative hotfix 2. However we don’t see this problem until we go to hotfix 3 (or 4).
    I’ve also been reading that other people had this same problem, and that the CF 8 hotfix 3 was not compatible with certain versions of JDK, then when you read the Adobe site for CF 8.0.1 hotfix 3, it says “Added the updated cumulative hotfix to make it compatible with jdk 1.4.x, 1.5.x and 1.6.x.”, so that makes me think that Adobe was supposed to have fixed this CF 8.0.1 hotfix 3 JDK incompatability issue - but unfortunately it's still not working for us. We have followed the instructions for removing the jar files and starting/restarting the CF server as directed, we’ve tried this 5-6 times, and still no luck.
    Recommendations? Seems like this is a ColdFusion bug to me – one that says is fixed on the Adobe site, but is not fixed in our environment. Please advise, thanks.

    For what it's worth, we had an MXUnit user describe a similar, though not identical, problem after installing the latest hotfixes. In his case, he's getting "NoSuchMethodExceptions".

  • POWL- Create object for feeder class not found

    Hi,
    I have developed a Webdynpro application and tried to integrate to POWL, but the application dumps saying cretae object of feeder class is not found.
    I am new to POWL, can anybody help me in this regard.
    Thanks,
    Shailaja Ainala.

    - in se80 you need this kind of code
        AUTHORITY-CHECK OBJECT 'Z:CPRO_RAP'
        ID 'ZZ_MARKDIV_test' FIELD record-string+0(3)
        ID 'ACTVT'      FIELD '02'.                                         "change access
        IF sy-subrc <> 0.
          AUTHORITY-CHECK OBJECT 'Z:CPRO_RAP'
          ID 'ZZ_MARKDIV_test' FIELD record-string+0(3)
          ID 'ACTVT'      FIELD '03'.                                      "read only access
          IF sy-subrc = 0.
            is_allowed = abap_true.
          ENDIF.
        ELSE.
          is_allowed = abap_true.
        ENDIF.
    security team should setup the POWL
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/44/36ca0563df660ee10000000a1553f6/content.htm
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/42/d6652b755c1630e10000000a1553f7/content.htm
    so if you see the code above there is a ID and filed associated with each object.

  • Getting class not found error running java application using OIM libraries

    Hi,
    I have created a java application in which I access OIM libraries to fetch user list and then assign user roles. As i run the application it generates exception and program crashes. However, I am using the same libraries in OIM adapters and it is working fine. Following is the exception message i am getting.
    Caused by: java.lang.NoClassDefFoundError: org/springframework/jndi/JndiTemplate
    at oracle.iam.platform.OIMClient.<init>(OIMClient.java:83)
    at RoleAssignment.RoleAssignment.getUserAndChangePassword(RoleAssignment.java:143)
    at RoleAssignment.RoleAssignment.execute(RoleAssignment.java:81)
    at RoleAssignment.RoleAssignment.main(RoleAssignment.java:36)
    ... 5 more
    Caused by: java.lang.ClassNotFoundException: org.springframework.jndi.JndiTemplate
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)

    Hi,
    I resolved the problem by making spring.jar part of my executable jar file. I have added oimclient.jar, spring.jar, wlfullclient.jar, commons-logging.jar, and eclipselink.jar part of my executable jar. Now I am getting the error below. I googled it and it mentioned that i should add path of authwl.conf in my run configuration in eclipse. So i added the following line in " -Djava.security.auth.login.config=/u01/oracle/Middleware/Oracle_IDM1/server/CustomExec/authwl.conf " under the VM Arguments section of run configuration, but it continues to give the same error.
    java.lang.SecurityException: Unable to locate a login configuration
         at com.sun.security.auth.login.ConfigFile.<init>(ConfigFile.java:93)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at java.lang.Class.newInstance0(Class.java:355)
         at java.lang.Class.newInstance(Class.java:308)
         at javax.security.auth.login.Configuration$3.run(Configuration.java:247)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.login.Configuration.getConfiguration(Configuration.java:242)
         at javax.security.auth.login.LoginContext$1.run(LoginContext.java:237)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.login.LoginContext.init(LoginContext.java:234)
         at javax.security.auth.login.LoginContext.<init>(LoginContext.java:403)
         at Thor.API.Security.LoginHandler.weblogicLoginHandler.login(weblogicLoginHandler.java:58)
         at oracle.iam.platform.OIMClient.login(OIMClient.java:134)
         at oracle.iam.platform.OIMClient.login(OIMClient.java:129)
         at com.infotech.tra.organization.RoleAssignment.getUserAndChangePassword(RoleAssignment.java:213)
         at com.infotech.tra.organization.RoleAssignment.execute(RoleAssignment.java:149)
         at com.infotech.tra.organization.RoleAssignment.main(RoleAssignment.java:49)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:56)
    Caused by: java.io.IOException: Unable to locate a login configuration
         at com.sun.security.auth.login.ConfigFile.init(ConfigFile.java:250)
         at com.sun.security.auth.login.ConfigFile.<init>(ConfigFile.java:91)
         ... 24 more

  • Tried to download Firefox twice but get "page not found" when I double click on the desktop icon

    Have no idea why Firefox won't download. I have Windows XP (home version) with plenty of space on my hard drive. I want to change from using Internet Explorer to Firefox.

    This worked for me
    Sandeep Singh (Official Rep) replied to this problem:
    Elements 12: Editor will not Open  
    Hi Kimberly,
    Please follow these steps:
    Try to rename SLCacje to Slcache.old
    C:\Program Files (x86)\Common Files\Adobe
    and
    SLStore to Slstore.old
    C:\ProgramData\Adobe\SLStore
    and Right Click on the Photoshop Elements 12 icon and run as administrator
    Let me know if this works.
    Thanks
    Sandeep

  • Lookout 6.0.1.: Class Not Found when trying to open project on another PC

    I am using the same version on both PC's, but when I move the file over and run it, I get "Class not found!". Then "Error running process file".When running the lookout source file I get the following:
    Lookout Process File Compiler Version 6.0.1 (build 1)
    Copyright National Instruments 1992-2004  All rights reserved.
    C:\Documents and Settings\testing\Desktop\Latest Lookout\lprocess2.lks
    C:\Documents and Settings\testing\Desktop\Latest Lookout\lprocess2.lks(324): error: Class not found: DirectLogic
    C:\Documents and Settings\testing\Desktop\Latest Lookout\lprocess2.lks(667): error: Class not found: Meter
    C:\Documents and Settings\testing\Desktop\Latest Lookout\lprocess2.lks(670): error: Class not found: Meter
    C:\Documents and Settings\testing\Desktop\Latest Lookout\lprocess2.lks(673): error: Class not found: Meter
    C:\Documents and Settings\testing\Desktop\Latest Lookout\lprocess2.lks(676): error: Class not found: Meter
    C:\Documents and Settings\testing\Desktop\Latest Lookout\lprocess2.lks(1977): error: Class not found: Meter
    C:\Documents and Settings\testing\Desktop\Latest Lookout\lprocess2.lks(57): error: Object is not defined: DL1
    C:\Documents and Settings\testing\Desktop\Latest Lookout\lprocess2.lks(667): error: Object is not defined: Meter1
    C:\Documents and Settings\testing\Desktop\Latest Lookout\lprocess2.lks(670): error: Object is not defined: Meter2
    C:\Documents and Settings\testing\Desktop\Latest Lookout\lprocess2.lks(673): error: Object is not defined: Meter3
    C:\Documents and Settings\testing\Desktop\Latest Lookout\lprocess2.lks(676): error: Object is not defined: Meter4
    I have also tried to open on 6.1 with similar results.
    I am familiar with lookout, however I have taken this project over so I am not sure what I need to do from here.

    There are two object (DirectLogic and Meter) that are not present on the amchine you are moving the process to.   If the same version of Lookout, you might be able to just copy the cbx files.
    Mike
    Mike Crabtree - Lead Developer
    Destek of Nevada, Inc. / Digital Telemetry Systems, Inc.
    (866) 964-6948 / (760) 247-9512

  • Not able to start the remote server - class not found exception

    All,
    I am quite new to RMI programming, although i am an experienced java programmer. I am facing a problem in starting the remote server program which i wrote for RMI. I am getting class not found exception for "stub" class eventhough the class is in the classpath.
    Following is the error console:
    cmd> java -classpath "D:\Eclipse_WorkSpaces\WS2\RMITests\classes" MyServerImplementation
    GetNames error: RemoteException occurred in server thread; nested exception is:
    java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
    java.lang.ClassNotFoundException: MyServerImplementation_Stub
    java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
    java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
    java.lang.ClassNotFoundException: MyServerImplementation_Stub
    at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:396)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:250)
    at sun.rmi.transport.Transport$1.run(Transport.java:159)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
    at java.lang.Thread.run(Thread.java:619)
    at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
    at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:359)
    at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
    at java.rmi.Naming.rebind(Naming.java:160)
    at MyServerImplementation.main(MyServerImplementation.java:21)
    Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
    java.lang.ClassNotFoundException: MyServerImplementation_Stub
    at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
    at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:386)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:250)
    at sun.rmi.transport.Transport$1.run(Transport.java:159)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.ClassNotFoundException: MyServerImplementation_Stub
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
    at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:434)
    at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165)
    at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620)
    at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247)
    at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:197)
    at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
    at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
    ... 12 morePLEASE ADVISE HOW TO RESOLVE THIS...
    Following are my classes:
    MyRemoteInterface.java
    import java.rmi.Remote;
    import java.rmi.RemoteException;
    public interface MyRemoteInterface extends Remote {
    public String[] getNames() throws RemoteException;
    public class MyServerImplementation extends UnicastRemoteObject implements
    MyRemoteInterface {
    public MyServerImplementation()throws RemoteException{
    super();
    public String[] getNames() throws RemoteException{
    return new String[]{"Name1","Name2","Name3","Name4"};
    public static void main(String args[]) {
    try {
    // Create an object of the HelloWorldServer class.
    MyRemoteInterface obj = new MyServerImplementation();
    // Bind this object instance to the name "HelloServer".
    Naming.rebind("rmi://localhost:1985/GetNames", obj);
    System.out.println("GetNames bound in registry");
    catch (Exception e) {
    System.out.println("GetNames error: " + e.getMessage());
    e.printStackTrace();
    public class MyRMIClient {
    *@param args*
    public static void main(String[] args) {
    try {
    MyRemoteInterface remObj = (MyRemoteInterface) Naming.lookup("rmi://localhost:1985/GetNames");
    System.out.println("Names are "+remObj.getNames());
    catch(Exception e) {
    System.out.println("Problem encountered accessing remote object "+e);
    }

    That's a remote exception coming from the registry. You need to learn to recognize remote exceptions and their source, it's a mjaor source of confusion in RMI.
    In this case it's the registry that can't find the stub class.
    The stub class needs to be in the CLASSPATH of (i) the Registry and (ii) the client as well. Ditto the remote interface; ditto any application classes it refers to, and so on until closure.
    The easiest way to achieve (i) is to start it in the server's JVM, with LocateRegistry.createRegistry().

  • "Class not found" error at runtime when ExternalLib DC is included in WD DC

    Hi All,
    I am getting "Class not found" exception at runtime when external library DC is included in Webdynpro DC.
    I am following the below steps..
    1) Created a Webdynpro DC - "testProj" to which i need to add the external library DC.
    2) Created a DC of type "External Library" called "externaljar"
    3)Added Public Parts of type assembly and compilation to the "externaljar" DC (Component Properties Tab -> Public Parts)
    4) Right click on the assembly Public Part name -> Manage entities, and added the JAR files as archive.
    5)Right click on the compilation Public Part name -> Manage entities, and added the JAR files as archive.
    6)Go to Webdynpro DC "testProj" .
    Under Component Properties Tab -> Dependencies tab -> Add -> selected the "externaljar" DC -> Next -> for "externaljar" DC checked Deploy time and Run time.
    For assembly Public Part and compilation Public Part "build" is selected by default.
    7) I did build of both the DC's and deployed it.
    Im getting "Class not found" error.
    Please let me know where i am going wrong.
    Thanks,
    Shilpa.

    Hi Balakrishna,
    If I add Jar files in build path, at run time I dont get any errors, but I get error at comple time. So an external DC is made which includes all jar files in its public part and this DC is added as dependency in the webdynpro project (at deploy time,run time) as in below blog.
    /people/raphael.vogel/blog/2008/05/05/how-to-use-external-libraries-in-the-sap-component-model-part-ii
    Here im getting the error "class not found".
    Thanks,
    Shilpa.
    Edited by: Shilpa KG on Jun 18, 2008 4:42 PM
    Edited by: Shilpa KG on Jun 18, 2008 4:44 PM

  • Class not found exception for the startup class defined.

    iam using weblogic server 10 and bea jrockit 1.5.0.12.
    i have created a startup class in the admin console for a web project and i have deployed the war file using the console in a user defined domains, user project directory.
    when i start the server, iam getting class not found exception for the startup class.
    But, the startup class is available in the web archive (war). how should we add the classes and jars in the war to the classpath in setDomainEnv.sh or is there any other setting available in the console to enable this.

    Hello Julius,
    yes sure, we can move this post to the NW admin forum. I have already posted similar thread on sun forums. I was hoping that someone from SAP SDN already tackled this problem and if not someone specialized in J2EE Engine could troubleshoot me from the class problem I'm getting. I don't know if it's specific from the agent or if this ClassNotFound is a general SAP J2EE Engine error relating to a library not correclty defined.
    Kind regards,
    Tanguy Mezzano

  • Class not found error on Firefox browser

    Requirement:-
    We have Apache server on the top of a tomcat container where we have deployed application Webnow. This application will provide SSO to another application Imagenow. The requirement is we have to authenticate and authorize a user based on the client certificate which will be installed on the client side browser.
    Issue:-
    We have achieved the requirement for the browser IE. But for browser Firefox ,we are getting an exception "Class not found". Basically an applet class from the jar is not getting loaded on the Firefox.
    Further investigating on this we came to conclusion that Firefox is not able to read the SSL certificate.
    In order to eliminate this, we have imported the client certificate in java console as well. After this step, we were not getting "ClassNotFoundException" in FF. But right now, user is getting prompted for certificate/keystore password each & every time while trying to login onto the application (both in IE & FF).
    So, we are trying to find ways to remove class not found exception without importing client certificate to java console. Also , is there any way to eliminate the authentication pop up for keystore (though we might not go for this approach as it will be very difficult to manage Java console for end users). Need your urgent help on this issue.
    Attaching stack trace of both the browser and screenshot of keystore authentication pop-up . FF_Issue_stacktrace.docx is one when we were getting "class not found exception" and IE_Stacktrace.docx is one for successful case.

    We have a similar set up where we have a web app and an applet in a JSP page. You have to put your applet classes up above WEB-INF. So, if your structure for your webapp was:
    tomcat/webapps/mywebapp
    you'd want your classes under mywebapp instead of webapps/mywebapp/WEB-INF. In your case, if I read your package structure right, you'd want a Log directory under webapp that contains your LogApplet.class file.
    I hope this works for you!

  • Class Not Found instantiating IP

    [Portal 4.0 on WLS 6.1 on Win2K... ]
    I'm getting 'Class Not Found' when instantiating my IP class. The only way I can
    work around it is to put "WEB-INF/classes" in the startup classpath, which makes
    it not re-deployable.
    I've read newsgroups/docs extensively and believe that:
    * IPs (as opposed to PCs) are scoped to the web app, not to the enterprise app
    * For web apps, the WEB-INF/classes (for exploded files) and WEB-INF/lib (for
    Jar'd files) should be 'auto-included' in the classpath, hence the classloader
    that portal is using for IP instantiation should find my class...
    But that's not what's happening... so where is my understanding faulty and, more
    importantly, how can I make portal find my IP class and still have it be hot redeployable?
    Thanks in advance,
    Mike

    Hi,
    We actually use a third approach, which is: package your pipeline components
    with a dummy EJB into a separate JAR (unless you programmed the actual EJBs
    which you want to package with your PCs) and deploy as a separate component
    to your enterprise app.
    We include pipeline.jar and p13n_util.jar into the classpath in the ANT
    script only. WLP starts without these jars in the class path with no
    problems.
    Just for a reference: we use WLS 6.1 sp2, WLP 4.0 sp2.
    Best regards,
    Michael Goldverg
    "Peter Laird" <[email protected]> wrote in message
    news:3db4de07$[email protected]..
    >
    Mike,
    "The set-environment.bat had been modified to include the WEB-INF/classesunder
    the 'sandbox dir' in the classpath. I'm confident removing theseclasspath elements
    is the right thing to do; I no longer get the 'class ... can not bedeployed'
    messages, which was my original problem."
    Yes, putting anything in the enterprise application or the web applicationin
    the system classpath is not a good idea.
    "So, the (very cool & useful) diag tool"
    Glad you like it! I wrote that a year ago, and it has helped me onnumerous occasions.
    Whenever you have a classloader problem, this thing works magic.
    " 'You need to either put your PC in pipeline.jar or reference your ownJAR from
    the pipeline.jar's classpath entry in its manifest.' I'm not sure Iunderstand
    this. Are we really expected to modify BEA supplied JAR files?"
    Regretably, yes. There have been several ideas on a better solution, butit hasn't
    found its way into the product yet. Until that happens, the secondapproach (changing
    the manifest classpath entry) is the preferred approach.
    "Thank you *very* much for your help!"
    I'm happy to help!
    PJL

  • Class not found - ie

    When, I compile applets, I continually get class not found errors when I run it from IE... (Status bar says Class (name) not found)
    But when I use appletviewer, the applet works fine
    The files are where they are supposed to be...
    Here's the kicker... I downloaded a class file from the internet, and that works!! Is there something wrong with the compiler??
    Please help! Or tell me what forum I should post in

    post java & html code & classpath & where the files are & the command you issue & what directory you're in when you issue it, please

  • Class not found during deployment

    I'm getting "class not found during deserialization of descriptor" during deployment of an EJB. What does this mean?

    The problem is I am trying to use JavaMail in an EJB and it gives me the error if I create a javax.mail.Session. If I comment out the Session, deployment is fine. I am thinking that maybe the problem is I am using 8i version 8.1.5 and it only supports java 1.1.8.

  • Bean class not found error...

    I am using Tomcat 4.0 on windows 98, when I try to use my bean class from jsp program, I get class not found error. I read/followed all the similar problems in the forum but still have not been able to solve the problem.
    The error I get is as follows:
    ==============================
    type Exception report
    message Internal Server Error
    description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.
    An error occurred at line: 1 in the jsp file: /handoff1.jsp
    Generated servlet error:
    D:\Apps\Apache\Tomcat4.0\work\Standalone\localhost\cartapp\handoff1$jsp.java:56: Class com.cartapp.user.User not found.
    com.cartapp.user.User handoff = null;
    ^
    An error occurred at line: 1 in the jsp file: /handoff1.jsp
    Generated servlet error:
    D:\Apps\Apache\Tomcat4.0\work\Standalone\localhost\cartapp\handoff1$jsp.java:59: Class com.cartapp.user.User not found.
    handoff= (com.cartapp.user.User)
    ^
    An error occurred at line: 1 in the jsp file: /handoff1.jsp
    Generated servlet error:
    D:\Apps\Apache\Tomcat4.0\work\Standalone\localhost\cartapp\handoff1$jsp.java:64: Class com.cartapp.user.User not found.
    handoff = (com.cartapp.user.User) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "com.cartapp.user.User");
    ^
    3 errors, 1 warning
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285)
    at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)
    =============================================
    Location of files
    ==================
    My jsp file is located at:
    D:\Apps\Apache\Tomcat4.0\webapps\ROOT\cartapp
    my bean class - User - is at:
    D:\Apps\Apache\Tomcat4.0\webapps\ROOT\WEB-INF\classes\com\cartapp\user
    Contents of the jsp file
    =======================
    <jsp:useBean id="handoff" scope="session" class="com.cartapp.user.User" />
    <HTML>
    <BODY>
    This is the setting page!
    <%
    handoff.setFirstName("George");
    %>
    </BODY>
    </HTML>
    The first 2 lines of the class are:
    ==================================
    package com.cartapp.user;
    public class User {
    Environment settings
    ====================
    JAVA_HOME=D:\Apps\java\jdk
    CATALINA_HOME=D:\Apps\Apache\Tomcat4.0
    CLASSPATH=;.;F:\ola\progmn\JAVA\pkgs;D:\Apps\Apache\Tomcat4.0\common\lib\servlet.jar
    Can anyone please help. Thanks.
    Thanks.
    Ola Oke (SCJP 1.4)

    Not certain but try putting the classes folder in your classpath:
    D:\Apps\Apache\Tomcat4.0\webapps\ROOT\WEB-INF\classes\

  • Class not found error over HTTPS connection

    Problem: Facing problem in downloading signed JAR file over HTTPS connection.
    While downloading the jar file over a https connection, i get a certificate with following message
    " Do you want to accept the certificate from web site <server name> for the purpose of exchanging encrypted information? "
    If i accept the ceritificate immediately without any delay, all goes fine. The jar file gets downloaded and the applet runs withoput any problem. But if we accept the certificate after some delay say after one or two minutes i get "Class not found error"
    Has anybody come across any such issue ?
    Thanks in advance.
    Rohit

    I got the same error. I believe the ssl connection has a short timeout.
    But I don't think this is a bug because there is no sense in letting a ssl connection open in the initial state before accepting the server's certificate.

Maybe you are looking for

  • Barcode Report is not working in Linux REP-1401: 'cf_1formula': Fatal PL/SQ

    In windows its barcodesample is working fine.(all the barcode constants) In linux 1.I have set the CLASSPATH in reports.sh 2.and I also added the classPath value in <engineId...> tag in the reportservername.confg file. 3.And I restart the report serv

  • How can I get Mail to include the entire conversation thread in a reply?

    Hi there, So, for work I end up having to manage all my email on the gmail website because people need to be able to see the entire thread and the Mail app doesn't seem to  include everything. It just replies with the most recent message and that's i

  • Business Partner Current Account Balance in SAP 2007

    Hi, We are using SAP Business One 2007 A (8.00.148)  SP: 00  PL: 00  to test our application. We need to Accees the CurrentAccount Balance of a Customer in our application. So we used the following code <b>Dim oBP As SAPbobsCOM.BusinessPartners If oB

  • Time out for JDBC

    Hi experts, How can we set the timeout parameters of the JDBC adapter for an Oracle database? Thanks in advance, Regards, Muraii

  • How does one retrieve license number for downloaded CS6?

    I purchased CS6 on line, downloaded it and installed it on my desktop.  Now since i am travelling, I  would like to upgrade my laptop which has CS4 to the new CS6 but when I log in to Adobe.com I do not see my CS6 license number.  Any ideas as to how