Problem using a jar file : java.lang.ClassNotFoundException: ApiConn

Hi everyone.
i am running a form that use a bean_area to call a jar.
but i am getting this error, thanks in advnce for any tip.
Java Plug-in 1.6.0_33
Using JRE version 1.6.0_33-b05 Java HotSpot(TM) Client VM
User home directory = C:\Users\user1
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
java.lang.ClassNotFoundException: ApiConn
     at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
     at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
     at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
     at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at java.lang.Class.forName0(Native Method)
     at java.lang.Class.forName(Unknown Source)
     at oracle.forms.handler.UICommon.instantiate(Unknown Source)
     at oracle.forms.handler.UICommon.onCreate(Unknown Source)
     at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
     at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
     at oracle.forms.engine.Runform.processMessage(Unknown Source)
     at oracle.forms.engine.Runform.processSet(Unknown Source)
     at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
     at oracle.forms.engine.Runform.onMessage(Unknown Source)
     at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
     at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
     at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
     at java.awt.Component.dispatchEventImpl(Unknown Source)
     at java.awt.Container.dispatchEventImpl(Unknown Source)
     at java.awt.Component.dispatchEvent(Unknown Source)
     at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
     at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
     at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
     at java.awt.Container.dispatchEventImpl(Unknown Source)
     at java.awt.Component.dispatchEvent(Unknown Source)
     at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
     at java.awt.EventQueue.access$000(Unknown Source)
     at java.awt.EventQueue$1.run(Unknown Source)
     at java.awt.EventQueue$1.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
     at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
     at java.awt.EventQueue$2.run(Unknown Source)
     at java.awt.EventQueue$2.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
     at java.awt.EventQueue.dispatchEvent(Unknown Source)
     at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
     at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.run(Unknown Source)
Dumping class loader cache...
Live entry: key=http://192.168.10.100:7778/forms/java/,frmall.jar,siberia_jpg.jar,ApiConn.jar,Hasher.jar,ReadCommand.jar,WriteCommand.jar,libAPI.jar, refCount=1, threadGroup=sun.plugin2.applet.Applet2ThreadGroup[name=http://192.168.10.100:7778/forms/java/-threadGroup,maxpri=4]
Done.
in my form i have created a bean_area and used as implementation class :ApiConn
in my formsweb.cfg i used this configuration: archive=frmall.jar,siberia_jpg.jar,ApiConn.jar,Hasher.jar,ReadCommand.jar,WriteCommand.jar,libAPI.jar
in my forms/java i have placed my jar files listed in the frmall.jar
i guess i am missing something but i dont know what it is.
here is my ApiConn.java from wich i generate my jar file:
package libAPI;
* This contains connection. Everything should be here,
* should operate with this class only
import java.io.*;
import java.net.*;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.logging.Level;
import java.util.logging.Logger;
* @author janisk
public class ApiConn extends Thread {
private Socket sock = null;
private DataOutputStream out = null;
private DataInputStream in = null;
private String ipAddress;
private int ipPort;
private boolean connected = false;
private String message = "Not connected";
private ReadCommand readCommand = null;
private WriteCommand writeCommand = null;
private Thread listener = null;
LinkedBlockingQueue queue = new LinkedBlockingQueue(40);
* Constructor of the connection class
* @param ipAddress - IP address of the router you want to conenct to
* @param ipPort - port used for connection, ROS default is 8728
public ApiConn(String ipAddress, int ipPort) {
this.ipAddress = ipAddress;
this.ipPort = ipPort;
this.setName("settings");
* State of connection
* @return - if connection is established to router it returns true.
public boolean isConnected() {
return connected;
public void disconnect() throws IOException{
listener.interrupt();
sock.close();
private void listen() {
if (this.isConnected()) {
if (readCommand == null) {
readCommand = new ReadCommand(in, queue);
listener = new Thread(readCommand);
listener.setDaemon(true);
listener.setName("listener");
listener.start();
* to get IP address of the connection. Reads data from socket created.
* @return InetAddress
public InetAddress getIpAddress() {
return sock == null ? null : sock.getInetAddress();
* returns ip address that socket is asociated with.
* @return InetAddress
public InetAddress getLocalIpAddress() {
return sock == null ? null : sock.getLocalAddress();
* Socket remote port number
* @return
public int getPort() {
return sock == null ? null : sock.getPort();
* return local prot used by socket
* @return
public int getLocalPort() {
return sock == null ? null : sock.getLocalPort();
* Returns status message set up bu class.
* @return
public String getMessage() {
return message;
* sets and exectues command (sends it to RouterOS host connected)
* @param s - command will be sent to RouterOS for example "/ip/address/print\n=follow="
* @return
public String sendCommand(String s) {
return writeCommand.setCommand(s).runCommand();
* exeecutes already set command.
* @return returns status of the command sent
public String runCommand() {
return writeCommand.runCommand();
* Tries to fech data that is repllied to commands sent. It will wait till it can return something.
* @return returns data sent by RouterOS
* @throws java.lang.InterruptedException
public String getData() throws InterruptedException {
String s = (String) queue.take();
return s;
* returns command that is set at this moment. And will be exectued if runCommand is exectued.
* @return
public String getCommand() {
return writeCommand.getCommand();
* set up method that will log you in
* @param name - username of the user on the router
* @param password - password for the user
* @return
public String login(String name, char[] password) {
this.sendCommand("/login");
String s = "a";
try {
s = this.getData();
} catch (InterruptedException ex) {
Logger.getLogger(ApiConn.class.getName()).log(Level.SEVERE, null, ex);
return "failed read #1";
if (!s.contains("!trap") && s.length() > 4) {
String[] tmp = s.trim().split("\n");
if (tmp.length > 1) {
tmp = tmp[1].split("=ret=");
s = "";
String transition = tmp[tmp.length - 1];
String chal = "";
chal = Hasher.hexStrToStr("00") + new String(password) + Hasher.hexStrToStr(transition);
chal = Hasher.hashMD5(chal);
String m = "/login\n=name=" + name + "\n=response=00" + chal;
s = this.sendCommand(m);
try {
s = this.getData();
} catch (InterruptedException ex) {
Logger.getLogger(ApiConn.class.getName()).log(Level.SEVERE, null, ex);
return "failed read #2";
if (s.contains("!done")) {
if (!s.contains("!trap")) {
return "Login successful";
return "Login failed";
@Override
public void run() {
try {
InetAddress ia = InetAddress.getByName(ipAddress);
if (ia.isReachable(1000)) {
sock = new Socket(ipAddress, ipPort);
in = new DataInputStream(sock.getInputStream());
out = new DataOutputStream(sock.getOutputStream());
connected = true;
readCommand = new ReadCommand(in, queue);
writeCommand = new WriteCommand(out);
this.listen();
message = "Connected";
} else {
message = "Not reachable";
} catch (UnknownHostException ex) {
connected = false;
message = ex.getMessage();
ex.printStackTrace();
} catch (IOException ex) {
connected = false;
message = ex.getMessage();
ex.printStackTrace();
}

I need your help again, i think this is a minor thing.
i have compiled the class file that i needed and i signed it too. but now it is giving me a new error and need your tip.
here is the java console loyout and my java file ((i think here is the problem in java file, something must be missing)).
thanks in advance for any help.
Java Plug-in 10.17.2.02
Using JRE version 1.7.0_17-b02 Java HotSpot(TM) Client VM
User home directory = C:\Users\Administrator
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
network: Connecting http://192.168.10.100:7778/forms/lservlet;jsessionid=c0a80a6430d6e191eded93774f2f8d1bed73056e66ef.e3mObhiMbxeKe34PahiKbx4Nbh90n6jAmljGr5XDqQLvpAe with proxy=DIRECT
security: Validate the certificate chain using CertPath API
security: The certificate hasnt been expired, no need to check timestamping info
security: Cannot find jurisdiction list file
security: The CRL support is disabled
security: The OCSP support is disabled
security: This OCSP End Entity validation is disabled
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment permanent certificate store
basic: updateValidationResultsForApplet update
cache: Mark prevalidated: http://192.168.10.100:7778/forms/java/ApiConn.jar true tm=1363335797289 cert=1371107987000
basic: Plugin2ClassLoader.getPermissions CeilingPolicy allPerms
java.lang.InstantiationException: oracle.forms.siberia.ApiConn
     at java.lang.Class.newInstance0(Unknown Source)
     at java.lang.Class.newInstance(Unknown Source)
     at oracle.forms.handler.UICommon.instantiate(Unknown Source)
     at oracle.forms.handler.UICommon.onCreate(Unknown Source)
     at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
     at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
     at oracle.forms.engine.Runform.processMessage(Unknown Source)
     at oracle.forms.engine.Runform.processSet(Unknown Source)
     at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
     at oracle.forms.engine.Runform.onMessage(Unknown Source)
     at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
     at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
     at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
     at java.awt.Component.dispatchEventImpl(Unknown Source)
     at java.awt.Container.dispatchEventImpl(Unknown Source)
     at java.awt.Component.dispatchEvent(Unknown Source)
     at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
     at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
     at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
     at java.awt.Container.dispatchEventImpl(Unknown Source)
     at java.awt.Component.dispatchEvent(Unknown Source)
     at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
     at java.awt.EventQueue.access$200(Unknown Source)
     at java.awt.EventQueue$3.run(Unknown Source)
     at java.awt.EventQueue$3.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
     at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
     at java.awt.EventQueue$4.run(Unknown Source)
     at java.awt.EventQueue$4.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
     at java.awt.EventQueue.dispatchEvent(Unknown Source)
     at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
     at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.run(Unknown Source)
network: Connecting http://192.168.10.100:7778/forms/lservlet;jsessionid=c0a80a6430d6e191eded93774f2f8d1bed73056e66ef.e3mObhiMbxeKe34PahiKbx4Nbh90n6jAmljGr5XDqQLvpAe with proxy=DIRECT
Exception in thread "Forms-DialogThread2" java.lang.NullPointerException
     at oracle.forms.handler.JavaContainer.onDestroy(Unknown Source)
     at oracle.forms.engine.Runform.destroyHandlers(Unknown Source)
     at oracle.forms.handler.DialogThread.doAlert(Unknown Source)
     at oracle.forms.handler.DialogThread.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
Dumping class loader cache...
Live entry: key=http://192.168.10.100:7778/forms/java/,frmall.jar,siberia_jpg.jar,ApiConn.jar,ConcealTextField.jar, refCount=1, threadGroup=sun.plugin2.applet.Applet2ThreadGroup[name=http://192.168.10.100:7778/forms/java/-threadGroup,maxpri=4]
Done.
here is my java file
* To change this template, choose Tools | Templates
* and open the template in the editor.
package oracle.forms.siberia;
* This contains connection. Everything should be here,
* should operate with this class only
import java.io.*;
import java.net.*;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.logging.Level;
import java.util.logging.Logger;
import oracle.forms.*;
* @author janisk
public class ApiConn extends Thread {
private Socket sock = null;
private DataOutputStream out = null;
private DataInputStream in = null;
private String ipAddress;
private int ipPort;
private boolean connected = false;
private String message = "Not connected";
private ReadCommand readCommand = null;
private WriteCommand writeCommand = null;
private Thread listener = null;
LinkedBlockingQueue queue = new LinkedBlockingQueue(40);
* Constructor of the connection class
* @param ipAddress - IP address of the router you want to conenct to
* @param ipPort - port used for connection, ROS default is 8728
public ApiConn(String ipAddress, int ipPort) {
this.ipAddress = ipAddress;
this.ipPort = ipPort;
this.setName("settings");
* State of connection
* @return - if connection is established to router it returns true.
public boolean isConnected() {
return connected;
public void disconnect() throws IOException{
listener.interrupt();
sock.close();
private void listen() {
if (this.isConnected()) {
if (readCommand == null) {
readCommand = new ReadCommand(in, queue);
listener = new Thread(readCommand);
listener.setDaemon(true);
listener.setName("listener");
listener.start();
* to get IP address of the connection. Reads data from socket created.
* @return InetAddress
public InetAddress getIpAddress() {
return sock == null ? null : sock.getInetAddress();
* returns ip address that socket is asociated with.
* @return InetAddress
public InetAddress getLocalIpAddress() {
return sock == null ? null : sock.getLocalAddress();
* Socket remote port number
* @return
public int getPort() {
return sock == null ? null : sock.getPort();
* return local prot used by socket
* @return
public int getLocalPort() {
return sock == null ? null : sock.getLocalPort();
* Returns status message set up bu class.
* @return
public String getMessage() {
return message;
* sets and exectues command (sends it to RouterOS host connected)
* @param s - command will be sent to RouterOS for example "/ip/address/print\n=follow="
* @return
public String sendCommand(String s) {
return writeCommand.setCommand(s).runCommand();
* exeecutes already set command.
* @return returns status of the command sent
public String runCommand() {
return writeCommand.runCommand();
* Tries to fech data that is repllied to commands sent. It will wait till it can return something.
* @return returns data sent by RouterOS
* @throws java.lang.InterruptedException
public String getData() throws InterruptedException {
String s = (String) queue.take();
return s;
* returns command that is set at this moment. And will be exectued if runCommand is exectued.
* @return
public String getCommand() {
return writeCommand.getCommand();
* set up method that will log you in
* @param name - username of the user on the router
* @param password - password for the user
* @return
public String login(String name, char[] password) {
this.sendCommand("/login");
String s = "a";
try {
s = this.getData();
} catch (InterruptedException ex) {
Logger.getLogger(ApiConn.class.getName()).log(Level.SEVERE, null, ex);
return "failed read #1";
if (!s.contains("!trap") && s.length() > 4) {
String[] tmp = s.trim().split("\n");
if (tmp.length > 1) {
tmp = tmp[1].split("=ret=");
s = "";
String transition = tmp[tmp.length - 1];
String chal = "";
chal = Hasher.hexStrToStr("00") + new String(password) + Hasher.hexStrToStr(transition);
chal = Hasher.hashMD5(chal);
String m = "/login\n=name=" + name + "\n=response=00" + chal;
s = this.sendCommand(m);
try {
s = this.getData();
} catch (InterruptedException ex) {
Logger.getLogger(ApiConn.class.getName()).log(Level.SEVERE, null, ex);
return "failed read #2";
if (s.contains("!done")) {
if (!s.contains("!trap")) {
return "Login successful";
return "Login failed";
@Override
public void run() {
try {
InetAddress ia = InetAddress.getByName(ipAddress);
if (ia.isReachable(1000)) {
sock = new Socket(ipAddress, ipPort);
in = new DataInputStream(sock.getInputStream());
out = new DataOutputStream(sock.getOutputStream());
connected = true;
readCommand = new ReadCommand(in, queue);
writeCommand = new WriteCommand(out);
this.listen();
message = "Connected";
} else {
message = "Not reachable";
} catch (UnknownHostException ex) {
connected = false;
message = ex.getMessage();
ex.printStackTrace();
} catch (IOException ex) {
connected = false;
message = ex.getMessage();
ex.printStackTrace();
}

Similar Messages

  • Problem using misc jar-Files in Composite Application

    Hi there,
    I want to use different jar-Files in my Composite Application on SAP Netweaver 7.3.
    I have created an external Lib DC where I have inserted the libs. After that I created an enterprise EAR and added the dependency to the PP of the external lib DC.
    After that I added the a dependency to my CAF-EAR. But I cannot access the mehtods and functions from my jar files.
    What's wrong there?
    Another question: Is it possible to add the jar-files directly to my CAF-EAR without creating the external library DC and adding a dependency?
    Any help would be greatly appreciated
    Thanks

    Hi, I've downloaded Jacob and got it running on my installation by doing the following:
    1. Download http://danadler.com/jacob/jacobBin_17.zip.
    2. Extract to Jdeveloper10g/jdev/lib/ext/Jacob
    3. Copy jacob.dll to c:/windows/system32
    4. Add JDeveloper10g/jdev/lib/ext/Jacob/jacob.jar to JDev user libraries, calling it 'Jacob'
    5. Add the 'Jacob' library to the project.
    6. Create a word document at c:/java/jacob/file_in.doc
    7. Create a new class with the following code:
    package view;
    import com.jacob.*;
    import com.jacob.activeX.ActiveXComponent;
    import com.jacob.com.Dispatch;
    import com.jacob.com.Variant;
    public class TestJacob
    public TestJacob()
    * @param args
    public static void main(String[] args)
    TestJacob testJacob = new TestJacob();
    testJacob.runTest();
    public void runTest()
    boolean tVisible = true;
    String sDir = "c:\\java\\jacob\\";
    String sInputDoc = sDir + "file_in.doc";
    ActiveXComponent oWord = new ActiveXComponent("Word.Application");
    oWord.setProperty("Visible",new Variant(tVisible));
    Object oDocuments = oWord.getProperty("Documents").toDispatch();
    Object oDocument = Dispatch.call(oDocuments, "Open", sInputDoc).toDispatch();
    }

  • JAR files + java.lang.NoClassDefFoundError

    Hey all ...
    I'm looking for little help with building JAR files. Here's the situation: (using ant script :))
    I have few source files *.java which I include into JAR file with default MANIFEST built by ant. (these files should be implemented as LIBRARY.jar)
    These files are classes, which I want to use in my Main.java class. But I want this Main, to be in independant executable JAR file, so I set Main-Class property to 'packagename/Main'.
    Ofcourse in all files I have set package to my default package name. My question is, how can I force java to execute MAIN.jar and look for classes in my LIBRARY.jar
    after executing command:
    java -jar MAIN.jar I get java.lang.NoClassDefFoundError
    Tanks for any ideas ...

    Then all I can say in addition is that something isn't deployed correctly. You're not saying what class it isn't finding. For all I know it can't even find your main class to execute because maybe you don't have it deployed correctly in the right path structure within the jar. Or the path to LIBRARY.jar is wrong. Or some other problem. Don't know based on the portion of the error message you have displayed this far.

  • Migration problem from Struts 1.2.7 to 1.3.8:java.lang.ClassNotFoundExcepti

    Hi, my current configuration is tomcat 6.0.18 and jdk 1.5. Here are the steps I followed for the migration.
    1. Replaced struts.jar with struts-core-1.3.8.jar
    2. Updated taglib .tld files which were under /WEB-INF and also kept the corresponding struts-taglib-1.3.8.jar files in lib directory.
    3. Kept the external mappings in web.xml for the tld files though.
    4. Updated struts-config.xml with
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.3//EN"
    "http://struts.apache.org/dtds/struts-config_1_3.dtd">
    5. As not using any cancel buttons hence did not use the cancellable attribute.
    6. Updated validation.xml with specified doctype in strutsupgrade docs.
    7. Replaced older jar files with newer versions.
    After compiling the files and deploying in Tomcat I get the following error while trying to run.
    exception
    javax.servlet.ServletException: Wrapper cannot find servlet class jsp.login_jsp or a class it depends on org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    java.lang.Thread.run(Thread.java:595)
    root cause
    java.lang.ClassNotFoundException: jsp.login_jsp
    org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
    org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    java.lang.Thread.run(Thread.java:595)
    What am I missing out on?
    Thankx in advance.

    hanks for the reply.
    All class files are created during build.
    I even deleted all the existing ones in tomcat/work folder.
    So the classes are up to date.
    Any other pointers?
    Furthermore do I need to change the jsp header
    <%@ taglib uri="/tags/struts-bean" prefix="bean" %>
    to
    <%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
    and so forth?(I did that, and its compiling but during accessing i get the same error.)
    The java deprecations shows Resources.getLocale as deprecated. Is that a problem,
    and if it is how to replace it?

  • I have been getting java.lang.ClassNotFoundException: ZeroApplet.class and java.lang.ClassNotFoundException: JavaToJS.class crashes with JRE version 1.6.0_26-b03-384-10M3425 VM executing a Java Applet. Is Apple aware of this problem? No longer supported?

    My web page uses a Java Applet to allow my visitors to replay chess games; the Chess Viewer Deluxe applet was written by Nikolai Pilafov some time ago and has been working properly for some time (until recently). I don't monitor this part of my site regularly so I am not sure when it began to fail. On his web site [http://chesstuff.blogspot.com/2008/11/chess-viewer-deluxe.html] he has a link to check LiveConnect object functionality (which fails for OBJECT tags). His recommendation is to "seek platform specific support which might be available from the JRE developers for your platform".
    I have been getting java.lang.ClassNotFoundException: ZeroApplet.class and java.lang.ClassNotFoundException: JavaToJS.class crashes with JRE version 1.6.0_26-b03-384-10M3425 VM executing a Java Applet. Until I checked the LiveConnect object functionality, I was unable to identify the source of the console error messages. This does seem to be the smoking gun.
    Is Apple aware of this problem? Are these classes no longer supported? Has anyone else had this problem? You can attempt to recreate the problem locally by going to my web page: http://donsmallidge.com/DonSmallidgeChess.html
    Thanks in advance for any help you can provide!
    Abbreviated Java Console output:
    Java Plug-in 1.6.0_26
    Using JRE version 1.6.0_26-b03-384-10M3425 Java HotSpot(TM) 64-Bit Server VM
    load: class ZeroApplet.class not found.
    java.lang.ClassNotFoundException: ZeroApplet.class
        at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:211)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:144)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:662)
        at sun.applet.AppletPanel.createApplet(AppletPanel.java:807)
        at sun.plugin.AppletViewer.createApplet(AppletViewer.java:2389)
        at sun.applet.AppletPanel.runLoader(AppletPanel.java:714)
        at sun.applet.AppletPanel.run(AppletPanel.java:368)
        at java.lang.Thread.run(Thread.java:680)
    load: class JavaToJS.class not found.
    java.lang.ClassNotFoundException: JavaToJS.class
        at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:211)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:144)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:662)
        at sun.applet.AppletPanel.createApplet(AppletPanel.java:807)
        at sun.plugin.AppletViewer.createApplet(AppletViewer.java:2389)
        at sun.applet.AppletPanel.runLoader(AppletPanel.java:714)
        at sun.applet.AppletPanel.run(AppletPanel.java:368)
        at java.lang.Thread.run(Thread.java:680)

    I just went up to check the LiveConnect object functionality page AND IT WORKED THIS TIME! I must confess, this is very mysterious. I will do some more checking and reply here if I can determine why it is working now (and more importantly, why it didn't work before).

  • Problem XI 2.0  java.lang.ClassNotFoundException

    We are trying to connect a DB2 system to XI via adapter. We get
    java.lang.ClassNotFoundException: COM.ibm.db2.jdbc.net.DB2Driver
    error when we try the restart.
    CLASSPATH includes the .jar and .zip fies for the DB2 JDBC driver.
    xidadm> echo $CLASSPATH
    /usr/opt/db2_08_01/java/db2java.zip:/usr/opt/db2_08_01/java/db2jcc.jar:/
    usr/opt/db2_08_01/java/db2fs.jar:/usr/opt/db2_08_01/java/db2jcc_license_
    cu.jar:/usr/opt/db2_08_01/java/Common.jar:/usr/sap/XID/SYS/global/tech_a
    dapter/aii_rfcadapter.jar:/usr/sap/XID/DVEBMGS00/j2ee/cluster/server/add
    itionallib/servlet.jar:/usr/sap/XID/DVEBMGS00/j2ee/cluster/server/additi
    onal-lib/sapjco.jar:
    We updated EXTLIBS and ADAPTERLIBS with the .jar and .zip locations.
    What is missing ?

    Hi Hart - Our Basis person made the change noted, but still getting the same problem. He also posted the problem in OSS. Adapter configuration are --
    jdbc adapter java class
    classname=com.sap.aii.messaging.adapter.ModuleDB2XMB
    mode=DB2XMB
    Integration Engine address and document settings (example, see docu)
    XMB.TargetURL=http://xid:50000/sap/xi/engine?type=entry
    XMB.SenderBusinessSystem=abcXXXX
    XMB.SenderInterfaceNamespace=http://sap.com/xi/xidemo
    XMB.SenderInterfaceName=ExtAdapterSenderIF
    XMB.QualityOfService=EO
    db.jdbcDriver=COM.ibm.db2.jdbc.net.DB2Driver
    db.connectionURL=jdbc:db2://xxxxx.xxxxxxx.com:50000;user=xxxxxxx;databaseName=xxxxx
    db.table=<sapprodorders>
    db.processDBSQLStatement=select zorder status from sac.sapprodorders where status = 'R'
    db.pollInterval=600
    Log msg--
    15:57:48 (4205): JDBC adapter stopped
    15:57:59 (4207): JDBC adapter terminated
    Thu Sep 23 15:57:59 EDT 2004 *****
    15:57:59 (4210): ERROR: Attempt to load JDBC driver failed ("java.lang.ClassNotFoundException: COM.ibm.db2.jdbc.net.DB2Driver ")
    Attempt to intialize JDBC adapter failed
    15:57:59 (4203): Unable to start JDBC adapter (not initialized)

  • Cant use jar file - JAVA -

    - JAVA -
    Basically I have few files in one package in every one of them I worte:
    "pack preyPackage;"
    And I have some .jar file that I try to use. So I drag it into the oracle compiler, but I still couldnt use it. But if I delete the row:
    "pack preyPackage;"
    from each .java I able to use that .jar file.
    my question is how can I still use that .jar file and package's all that other files..
    Picture that shows the problem:
    http://hwzone.co.il/community/index.php?action=dlattach;topic=290416.0;attach=92107;image
    Thanks.

    Tried it and get strange behaviours in JDev 10.1.3.3...
    The latest version with sources can be found at
    http://stwww.weizmann.ac.il/G-CS/BENARI/oop/index.html
    You should get that one and modify the sources to include a package name.
    I have little time to do that because I'm going on holiday for a week...
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • SetLookAndFeel and java.lang.ClassNotFoundException problem

    Hi there, I'll admit I'm a newbie, but I really need help. I'm trying to create a GUI with a Metal layout: here the code:
    public static void main(String[] argument) {
    UIManager.setLookAndFeel
    ("javax.swing.plaf.metal.MetalLookAndFeel");
    when I try to compile the file, it gives following error:
    unreported exception java.lang.ClassNotFoundException; must be caught or declared to be thrown
    UIManager.setLookAndFeel
    ("javax.swing.plaf.metal.MetalLookAndFeel");
    ^
    please remember i'm a newbie, so go easy on the lingo

    import javax.swing.*;
    import java.awt.*;
    public class MainFrame extends JFrame {
         public MainFrame() {
              super("Vloot Verslag 2006");
              setSize(350, 100);
              setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              setVisible(true);
              Container pane = getContentPane();
              FlowLayout flo = new FlowLayout();
              pane.setLayout(flo);
              JButton Accounting = new JButton("Accounting");
              Accounting.setEnabled(false);
              JButton Logistics = new JButton("Logistics");
              JButton Exit = new JButton("Exit");
              pane.add(Accounting);
              pane.add(Logistics);
              pane.add(Exit);
              setContentPane(pane);
         public static void main(String[] argument) {
              UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel");
              MainFrame sal = new MainFrame();
    Ok there is my whole file, I just need to know what I am doing wrong

  • MIDlet problem : java.lang.ClassNotFoundException

    Hi, I'd like to write a simple java midlet so I'm looking at the examples on page http://developers.sun.com/techtopics/mobility/midp/articles/midpwap/ .
    I have Java SDK 1.4.2.10 and J2ME Wireless Toolkit 1.0.4_02 installed on a Win2K pro PC.
    Each time I run an example it compiles, then I get the message java.lang.ClassNotFoundException on the phone screen.
    How can I get these examples to work?
    THANKS

    you must define midled class in .jad file or manifest file

  • Class not found in applet using 2 jar files

    I have an applet which has been working for years as a stand alone or connecting directly to a derby database on my home server. I have just changed it to connect to MySQL on my ISP server via AJAX and PHP.
    I am now getting a class not found error in my browser, probably because I'm stuffing up the class path.
    The HTML I am using to call the applet is:
    <applet code="AMJApp.class"
    codebase="http://www.interactived.com/JMTalpha"
    archive="AMJ014.jar,plugin.jar"
    width="500"height="500"
    MAYSCRIPT style="border-width:0;"
    name="jsap" id="jsap"></applet>The AMJ014.jar contains the applet and supporting class files.
    The error message is strange to me because it refers to a class I noticed on another web page but which has nothing to do with my applet. Anyway, the message in full is:
    load: class NervousText.class not found.
    java.lang.ClassNotFoundException: NervousText.class
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Exception: java.lang.ClassNotFoundException: NervousText.class
    java.lang.UnsupportedClassVersionError: AMJApp : Unsupported major.minor version 51.0
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClassCond(Unknown Source)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.security.SecureClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.defineClassHelper(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.access$100(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Exception: java.lang.UnsupportedClassVersionError: AMJApp : Unsupported major.minor version 51.0

    Thanks again.
    The page code is:
    <html>
    <head>
      <title>Applet to JavaScript to PHP</title>
    </head>
    <body>
    <script type="text/javascript">
    function updateWebPage(myArg)
    document.getElementById("txt1").innerHTML=myArg;
    if (myArg=="")
      document.getElementById("cbxItem").innerHTML="";
      return;
    if (window.XMLHttpRequest)
      {// code for IE7+, Firefox, Chrome, Opera, Safari
      xmlhttp=new XMLHttpRequest();
    else
      {// code for IE6, IE5
      xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
    xmlhttp.onreadystatechange=function()
      if (xmlhttp.readyState==4 && xmlhttp.status==200)
        document.getElementById("cbxItem").innerHTML=xmlhttp.responseText;
    xmlhttp.open("GET","putitem.php?id="+myArg,true);
    xmlhttp.send();
    </script>
    <form>
    <table border=1 align='center' cellpadding=0 cellspacing=0 >
    <tr><td style='text-align:center; background-color:#C0C0C0'>Compiled Java Applet</td></tr>
    <tr><td><applet code="AMJApp.class" codebase="http://www.interactived.com/JMTalpha" archive="AMJ014.jar" width="500"height="500" MAYSCRIPT style="border-width:0;" name="jsap" id="jsap"></applet> </td></tr>
    <tr><td style='text-align:center; background-color:#C0C0C0'>HTML Textbox filled by JavaScript</td></tr>
    <tr><td><textarea style='width:500px; height:50px' name='txt1' id='txt1'>Query goes here</textarea></td></tr>
    <tr><td style='text-align:center; background-color:#C0C0C0'>HTML diagnostic messages rendered by PHP script</td></tr>
    <tr><td><div id="cbxItem">PHP info will populate this space</div></td></tr>
    </table>
    </form>
    </body>
    </html>The URL of the problem page is:
    http://www.interactived.com/JMTalpha/AMJTest.htm
    The code in the page is based on the following test page, which works:
    http://www.interactived.com/test5Applet.htm
    And the Applet, before I made any changes can be seen at this address:
    http://www.interactived.com/jartest0906.htm
    Thanks again for you interest.
    Edited by: 886473 on 21-Sep-2011 00:47

  • Solve this error pls 'java.lang.classNotFoundException' (For J2ME, WT2.5.2)

    Hi All,
    I am a new learner in J2ME. I m using WT2.5.2. When i press button to execute 'Hello MIDlet' program it shows
    "Exception:java.lang.classNotFoundException" - this error in the Default Phone screen
    and
    the following ERROR shows in the Wirless Toolkit (WT) editior::
    Project "HelloSuite" loaded
    Project settings saved
    Building "HelloSuite"
    Build complete
    Running with storage root C:\Users\Kalam\j2mewtk\2.5.2\appdb\temp.DefaultColorPhone2
    Running with locale: English_United Kingdom.1252
    Running in the identified_third_party security domain
    Unable to create MIDlet HelloMIDIlet
    java.lang.ClassNotFoundException: HelloMIDIlet
         at com.sun.midp.midlet.MIDletState.createMIDlet(+29)
         at com.sun.midp.midlet.Selector.run(+22)
    i can run the demo program but my one is not running. i copy the program from java tutorial.
    Can u pls solve my problem and encourge me to work with J2ME. Thank u very much my friends.
    thnx
    Kalam

    Hi Darryl,
    I saved this code as a "HelloMIDlet.java" in src folder of WT [and the "HelloSuite" as Midlet name, when we create project in WT u know it asks for Midlet name.
    this code doesn't have compile time error.
    it got runtime error cas in bin it got - HelloSuite.jd, MANIFEST.MF , there should be one more file which is .jar but it doesn't create.
    i hope now u understand whts the error can u pls tell me or can u tell me the source how can i learn more about this.
    thnx
    kalam                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Java.lang.ClassNotFoundException

    Hi All,
    Does any 1 know the cause of this error?.. I'm facing this when i try to use a new Function module. proper reimport of model, restart of server is done several times.
    500   Internal Server Error
      SAP NetWeaver Application Server 7.00/Java AS 7.00 
    Failed to process request. Please contact your system administrator.
    [Hide]
    Error Summary
    While processing the current request, an exception occured which could not be handled by the application or the framework.
    If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
    Root Cause
    The initial exception that caused the request to fail, was:
       java.lang.ClassNotFoundException: model2.kmd.dk.Zhjm0001_Document_Id -
    Loader Info -
    ClassLoader name: [kmd.dk/hjmhjm0001_models] Parent loader name: [Frame ClassLoader] References: common:service:http;service:servlet_jsp service:ejb common:service:iiop;service:naming;service:p4;service:ts service:jmsconnector library:jsse library:servlet common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl library:ejb20 library:j2eeca library:jms library:opensql common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore interface:resourcecontext_api interface:webservices interface:cross interface:ejbserialization sap.com/tcwddispwda sap.com/tcwdcorecomp service:webdynpro service:sld service:tcsecwssecservice library:tcddicddicservices library:com.sap.aii.proxy.framework library:tcgraphicsigs library:com.sap.mw.jco library:com.sap.lcr.api.cimclient library:sapxmltoolkit library:com.sap.aii.util.rb library:com.sap.util.monitor.jarm library:tcddicddicruntime library:com.sap.aii.util.xml library:com.sap.aii.util.misc library:tccmi Resources: D:\usr\sap\DPX\JC01\j2ee\cluster\server0\apps\kmd.dk\hjmhjm0001_models\webdynpro\public\lib\kmd.dkhjmhjm0001_models.jar D:\usr\sap\DPX\JC01\j2ee\cluster\server0\apps\kmd.dk\hjm~hjm0001_models\src.zip Loading model: {parent,references,local} -
        at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:382)
        at com.sap.tc.webdynpro.modelimpl.dynamicrfc.AiiModelClass.createNewBaseTypeDescriptor(AiiModelClass.java:409)
        at com.sap.tc.webdynpro.modelimpl.dynamicrfc.AiiModelClass.descriptor(AiiModelClass.java:222)
        at model2.kmd.dk.Z_Hjm0033_Get_Merged_Document_Input.<init>(Z_Hjm0033_Get_Merged_Document_Input.java:51)
        at kmd.dk.CC_ViewOrderStatus.wdDoInit(CC_ViewOrderStatus.java:191)
        ... 46 more
    See full exception chain for details.
    System Environment
    Client
    Web Dynpro Client Type HTML Client
    User agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; InfoPath.1)
    Version null
    DOM version null
    Client Type msie6
    Client Type Profile ie6
    ActiveX enabled
    Cookies enabled
    Frames enabled
    Java Applets enabled
    JavaScript enabled
    Tables enabled
    VB Script enabled
    Server
    Web Dynpro Runtime Vendor: SAP, build ID: 7.0014.20071210061512.0000 (release=645_VAL_REL, buildtime=2007-12-10:05:23:29[UTC], changelist=470565, host=pwdfm101), build date: Tue May 06 22:13:40 CEST 2008
    J2EE Engine 7.00 patchlevel 35354.450
    Java VM Java HotSpot(TM) 64-Bit Server VM, version:1.4.2_14-b05, vendor: Sun Microsystems Inc.
    Operating system Windows 2003, version: 5.2, architecture: amd64
    Session & Other
    Session Locale da
    Time of Failure Fri Jul 25 17:42:53 CEST 2008 (Java Time: 1217000573331)
    Web Dynpro Code Generation Infos
    kmd.dk/hjm~hjm0003_viewstatuspo
    SapDictionaryGenerationCore 7.0010.20061002105236.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:52:59[UTC], changelist=419377, host=PWDFM101.wdf.sap.corp)
    SapDictionaryGenerationTemplates 7.0010.20061002105236.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:53:17[UTC], changelist=419377, host=PWDFM101.wdf.sap.corp)
    SapGenerationFrameworkCore 7.0010.20060719095755.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:40:44[UTC], changelist=411255, host=PWDFM101.wdf.sap.corp)
    SapIdeWebDynproCheckLayer 7.0010.20061002110128.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:58:51[UTC], changelist=419396, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCommon 7.0010.20061002105432.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:41:39[UTC], changelist=419384, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCore 7.0010.20061002105432.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:41:32[UTC], changelist=419384, host=PWDFM101.wdf.sap.corp)
    SapMetamodelDictionary 7.0010.20060719095619.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:50:36[UTC], changelist=411251, host=PWDFM101.wdf.sap.corp)
    SapMetamodelWebDynpro 7.0010.20061002110156.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:55:32[UTC], changelist=419397, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationCTemplates 7.0010.20061016112122.0000 (release=645_VAL_REL, buildtime=2006-10-21:16:19:13[UTC], changelist=421181, host=pwdfm101)
    SapWebDynproGenerationCore 7.0010.20061002110128.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:59:00[UTC], changelist=419396, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationTemplates 7.0010.20061016112122.0000 (release=645_VAL_REL, buildtime=2006-10-21:16:19:13[UTC], changelist=421181, host=pwdfm101)
    sap.com/tcwddispwda
    No information available null
    kmd.dk/hjm~hjm0001_models
    SapDictionaryGenerationCore 7.0010.20061002105236.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:52:59[UTC], changelist=419377, host=PWDFM101.wdf.sap.corp)
    SapDictionaryGenerationTemplates 7.0010.20061002105236.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:53:17[UTC], changelist=419377, host=PWDFM101.wdf.sap.corp)
    SapGenerationFrameworkCore 7.0010.20060719095755.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:40:44[UTC], changelist=411255, host=PWDFM101.wdf.sap.corp)
    SapIdeWebDynproCheckLayer 7.0010.20061002110128.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:58:51[UTC], changelist=419396, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCommon 7.0010.20061002105432.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:41:39[UTC], changelist=419384, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCore 7.0010.20061002105432.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:41:32[UTC], changelist=419384, host=PWDFM101.wdf.sap.corp)
    SapMetamodelDictionary 7.0010.20060719095619.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:50:36[UTC], changelist=411251, host=PWDFM101.wdf.sap.corp)
    SapMetamodelWebDynpro 7.0010.20061002110156.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:55:32[UTC], changelist=419397, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationCTemplates 7.0010.20061016112122.0000 (release=645_VAL_REL, buildtime=2006-10-21:16:19:13[UTC], changelist=421181, host=pwdfm101)
    SapWebDynproGenerationCore 7.0010.20061002110128.0000 (release=645_VAL_REL, buildtime=2006-10-21:15:59:00[UTC], changelist=419396, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationTemplates 7.0010.20061016112122.0000 (release=645_VAL_REL, buildtime=2006-10-21:16:19:13[UTC], changelist=421181, host=pwdfm101)
    sap.com/tcwdcorecomp
    No information available null
    Detailed Error Information
    Detailed Exception Chain
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: model2.kmd.dk.Zhjm0001_Document_Id
    Loader Info -
    ClassLoader name: [kmd.dk/hjm~hjm0001_models]
    Parent loader name: [Frame ClassLoader]
    References:
       common:service:http;service:servlet_jsp
       service:ejb
       common:service:iiop;service:naming;service:p4;service:ts
       service:jmsconnector
       library:jsse
       library:servlet
       common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl
       library:ejb20
       library:j2eeca
       library:jms
       library:opensql
       common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore
       interface:resourcecontext_api
       interface:webservices
       interface:cross
       interface:ejbserialization
       sap.com/tcwddispwda
       sap.com/tcwdcorecomp
       service:webdynpro
       service:sld
       service:tcsecwssec~service
       library:tcddicddicservices
       library:com.sap.aii.proxy.framework
       library:tcgraphicsigs
       library:com.sap.mw.jco
       library:com.sap.lcr.api.cimclient
       library:sapxmltoolkit
       library:com.sap.aii.util.rb
       library:com.sap.util.monitor.jarm
       library:tcddicddicruntime
       library:com.sap.aii.util.xml
       library:com.sap.aii.util.misc
       library:tc~cmi
    Resources:
       D:\usr\sap\DPX\JC01\j2ee\cluster\server0\apps\kmd.dk\hjmhjm0001_models\webdynpro\public\lib\kmd.dkhjm~hjm0001_models.jar
       D:\usr\sap\DPX\JC01\j2ee\cluster\server0\apps\kmd.dk\hjm~hjm0001_models\src.zip
    Loading model: {parent,references,local}
         at com.sap.tc.webdynpro.modelimpl.dynamicrfc.AiiModelClass.createNewBaseTypeDescriptor(AiiModelClass.java:422)
         at com.sap.tc.webdynpro.modelimpl.dynamicrfc.AiiModelClass.descriptor(AiiModelClass.java:222)
         at model2.kmd.dk.Z_Hjm0033_Get_Merged_Document_Input.<init>(Z_Hjm0033_Get_Merged_Document_Input.java:51)
         at kmd.dk.CC_ViewOrderStatus.wdDoInit(CC_ViewOrderStatus.java:191)
         at kmd.dk.wdp.InternalCC_ViewOrderStatus.wdDoInit(InternalCC_ViewOrderStatus.java:2080)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingCustomController.doInit(DelegatingCustomController.java:73)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.progmodel.controller.Component.getCustomControllerInternal(Component.java:449)
         at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:387)
         at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:416)
         at com.sap.tc.webdynpro.progmodel.context.MappingInfo.getDataNode(MappingInfo.java:83)
         at com.sap.tc.webdynpro.progmodel.context.MappingInfo.initMapping(MappingInfo.java:125)
         at com.sap.tc.webdynpro.progmodel.context.MappingInfo.init(MappingInfo.java:121)
         at com.sap.tc.webdynpro.progmodel.context.MappedNodeInfo.doInit(MappedNodeInfo.java:215)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:671)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:674)
         at com.sap.tc.webdynpro.progmodel.context.Context.init(Context.java:40)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:199)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:155)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.doOpen(WebDynproWindow.java:295)
         at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.show(ApplicationWindow.java:183)
         at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.open(ApplicationWindow.java:178)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:364)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:754)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:289)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Caused by: java.lang.ClassNotFoundException: model2.kmd.dk.Zhjm0001_Document_Id
    Loader Info -
    ClassLoader name: [kmd.dk/hjm~hjm0001_models]
    Parent loader name: [Frame ClassLoader]
    References:
       common:service:http;service:servlet_jsp
       service:ejb
       common:service:iiop;service:naming;service:p4;service:ts
       service:jmsconnector
       library:jsse
       library:servlet
       common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl
       library:ejb20
       library:j2eeca
       library:jms
       library:opensql
       common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore
       interface:resourcecontext_api
       interface:webservices
       interface:cross
       interface:ejbserialization
       sap.com/tcwddispwda
       sap.com/tcwdcorecomp
       service:webdynpro
       service:sld
       service:tcsecwssec~service
       library:tcddicddicservices
       library:com.sap.aii.proxy.framework
       library:tcgraphicsigs
       library:com.sap.mw.jco
       library:com.sap.lcr.api.cimclient
       library:sapxmltoolkit
       library:com.sap.aii.util.rb
       library:com.sap.util.monitor.jarm
       library:tcddicddicruntime
       library:com.sap.aii.util.xml
       library:com.sap.aii.util.misc
       library:tc~cmi
    Resources:
       D:\usr\sap\DPX\JC01\j2ee\cluster\server0\apps\kmd.dk\hjmhjm0001_models\webdynpro\public\lib\kmd.dkhjm~hjm0001_models.jar
       D:\usr\sap\DPX\JC01\j2ee\cluster\server0\apps\kmd.dk\hjm~hjm0001_models\src.zip
    Loading model: {parent,references,local}
         at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:382)
         at com.sap.tc.webdynpro.modelimpl.dynamicrfc.AiiModelClass.createNewBaseTypeDescriptor(AiiModelClass.java:409)
         ... 49 more
    Thanks & Regards,
    Kavitha

    Hi James, Yes i do know that the class is not found during run time. The actual place where i need to use this function module is a different DC. But as i face this problem, for testing purpose i tried using it in the same DC where the model exists. I get the exception there too.
    It occurs exactly in the line where i bind the function module in my init method.
    Line 191 in my init method is this,
    //     bind the "get document" FM
    Z_Hjm0033_Get_Merged_Document_Input document = new Z_Hjm0033_Get_Merged_Document_Input();
    wdContext.nodeZ_Hjm0033_Get_Merged_Document_Input().bind(document);
    For your information, the class not found Zhjm0001_Document_Id is a data element to which one of the function module's (Z_Hjm0033_Get_Merged_Document) import parameter is associated with.
    I could not locate the constructor which you are asking for. I searched in gen_ddic and gen_wdp. Can you help?
    Thanks,
    Kavitha
    Edited by: Kavitha Gopinathan on Jul 28, 2008 6:01 PM

  • Java.lang.ClassNotFoundException: MyApplet

    Hi everybody!
    I have a problem with loading my applet on the other machines than mine. On my computer everything seems to be fine and my applet works perfectly, but when I try to run it on the other computers, I always get the following error:
    java.lang.ClassNotFoundException: MyApplet
    Just to mention, my class files are in the same directory as html file, the case is correct and all the images I use are also there. The html code is following:
    <applet code="MyApplet.class" width=200 height=170>
    </applet>
    I cannot think of anything else I could try.
    Thanks in advance!

    If MyApplet is in a package, then that could explain why you get that error. If e.g. the full class name is mypackage.MyApplet, then you have to move MyApplet into a folder mypackage that is in the folder with the html file. And the code tag should be mypackage.MyApplet.
    If MyApplet is inside a jar file, then you will have to include it in a codebase attribute.
    I don't know what else could give you that error.

  • Unmarshalling return; nested exception is: java.lang.ClassNotFoundException

    I think what I'm trying to achieve is probably very simple (or at least should be) but I've been trying for at least 5 hrs now:
    I'm using RMI for a distributed app I'm building for my degree.
    Up until today I got around the need for using a SecurityManager by including all shared classes (those I pass between client and server) in a class library .jar file referenced by both client and server projects.
    This has worked fine, but now I've coded a method that returns an object of a class that I do NOT want to include in the shared library (because I don't want the client to be able to construct these objects); therefore, I've decided to try and get the dynamic class loading working.
    I'm using netbeans and testing on a single computer.
    Here's what I'm trying:
    My main() method has the standard code I've seen: if (System.getSecurityManager() == null) System.setSecurityManager(new RMISecurityManager());
    In the server project's Run properties, I'm specifying VM Options: -Djava.security.policy=c:\security.policy -Djava.rmi.server.codebase="file://C:/"
    I've copied the ellusive class's .java file into C:\ to keep the URL simple, but I've also tried directing it to the netbean project's bin\ folder using '%20' for spaces, both with the same results - about a five second pause (so it's finding something I think) and then the error message from the client's output:
    error unmarshalling return; nested exception is: java.lang.ClassNotFoundException: mypackage.myClass
    My policy file's contents are:
    grant {
    permission java.security.AllPermission;
    I've tried about 20 different ways of formatting the codebase argument's URL.. can anyone help?
    David
    p.s. my OS is Windows 7

    Thanks EJP,
    Yes, after posting I guessed it might want the .class file instead, so I directed it their instead - still no joy, unfortunately!
    I'm carrying out all testing on one computer, so (+if+ I could get it to work) a local codebase address would not be a problem.
    Noted about the server-side security manager. I might want to use callbacks, but the server still won't need to download class files from the client, so I'll still try and set the codebase, but will try without loading a security manager on the server-side.
    For the time being I've put the class in the shared library but have defined it within the same package as the server code. By doing this I've been able to set the class's accessibility back to default, but the client can still access it as Object (from the shared library).
    This solution is good enough, but I still wonder why the client refuses to accept the class file from the C:\ codebase.

  • Urgent Issue:Err-REP-50125 : java.lang.ClassNotFoundException  - 11.1.1.3.0

    I'm trying to use custom destination with oracle fusion middleware 11.1.1.3.0 In-Process report server. I have added a custom destination section in the rwserver.conf file. Added the (customdest.jar - my jar file) jar file to the system classpath and reports_classpath. Still receiving class not found error.
    Here are the details:
    rwserver.conf:/opt/oracle/Middleware/user_projects/domains/ReportsDomain/config/fmwconfig/servers/WLS_REPORTS/applications/reports_11.1.1.2.0/configuration/rwserver.conf
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <server xmlns="http://xmlns.oracle.com/reports/server" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="11.1.1.2.0" xsi:schemaLocation="http://xmlns.oracle.com/reports/server file:/opt/oracle/Middleware/as_1/reports/dtd/rwserverconf.xsd">
    <cache class="oracle.reports.cache.RWCache">
    <property name="cacheSize" value="50"/>
    <!--property name="cacheDir" value="your cache directory"/-->
    <!--property name="maxCacheFileNumber" value="max number of cache files"/-->
    </cache>
    <!--Please do not change the id for reports engine.-->
    <!--The class specifies below is subclass of _EngineClassImplBase and implements EngineInterface.-->
    *<engine class="oracle.reports.engine.EngineImpl" engLife="50" id="rwEng" maxEngine="1" minEngine="1" jvmOptions="-Xmx512M" classPath="/opt/oracle/Middleware/as_1/jlib/jsp-api-2.1-6.0.1.jar:/opt/oracle/Middleware/as_1/jlib/jsch-0.1.26.jar:/opt/oracle/Middleware/as_1/reports/jlib/customdest.jar">*
    <property name="sourceDir" value="/opt/ogreports/catalog:/opt/ogreports/catalog/img"/>
    <!--property name="tempDir" value="your reports temp directory"/-->
    <!--property name="keepConnection" value="yes"/-->
    </engine>
    <engine class="oracle.reports.urlengine.URLEngineImpl" engLife="50" id="rwURLEng" maxEngine="1" minEngine="0" classPath="/opt/oracle/Middleware/as_1/jlib/jsp-api-2.1-6.0.1.jar:/opt/oracle/Middleware/as_1/jlib/jsch-0.1.26.jar:/opt/oracle/Middleware/as_1/reports/jlib/customdest.jar"/>
    <security class="oracle.reports.server.RWJAZNSecurity" id="rwJaznSec"/>
    <!--destination destype="oraclePortal" class="oracle.reports.server.DesOraclePortal">
    <property name="dbuser" value="$$PORTAL_DB_USERNAME$$"/>
    <property name="dbpassword" value="csf:$$CSF_ALIAS$$:$$PORTAL_DB_PASSWORD_KEYE$$"/>
    <property name="dbconn" value="$$PORTAL_DB_TNSNAME$$"/>
    </destination-->
    <destination class="oracle.reports.plugin.destination.ftp.DesFTP" destype="ftp"/>
    <destination class="oracle.reports.plugin.destination.webdav.DesWebDAV" destype="WebDav"/>
    *<destination destype="rcpfile" class="com.ubizen.og.offline.reporting.oracle.RcpDestination">*
    *<property name="user" value="tomcat"/>*
    *<property name="destype" value="rcpfile"/>*
    *</destination>*
    <job engineId="rwEng" jobType="report"/>
    <job engineId="rwURLEng" jobType="rwurl"/>
    <notification class="oracle.reports.server.MailNotify" id="mailNotify">
    <property name="succnotefile" value="succnote.txt"/>
    <property name="failnotefile" value="failnote.txt"/>
    </notification>
    Error:/opt/oracle/Middleware/user_projects/domains/ReportsDomain/servers/WLS_REPORTS/logs/reports/rwserver_diagnostic.log
    [2011-09-29T10:52:26.871-04:00] [WLS_REPORTS] [INCIDENT_ERROR] [REP-50125] [oracle.reports.server] [tid: 46] [userId: <anonymous>] [ecid: 0000JApf0iF9XbpSoQjc4m1EOGV800001d,1:18769] [APP: reports#11.1.1.2.0] [dcid: fa0c1bc817f5aeb4:-3e9d1a3b:1322b067681:-7fff-000000000000876f] REP-50125 : java.lang.ClassNotFoundException: com.ubizen.og.offline.reporting.oracle.RcpDestination [[
    java.lang.ClassNotFoundException: com.ubizen.og.offline.reporting.oracle.RcpDestination
    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:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:169)
    at oracle.reports.server.Destination.invokeShutdown(Destination.java:492)
    at oracle.reports.server.Destination.shutdownDest(Destination.java:125)
    at oracle.reports.server.RWServer.shutdown(RWServer.java:463)
    at oracle.reports.server.RWServer.run(RWServer.java:364)
    at java.lang.Thread.run(Thread.java:662)
    ClassPath:.:/opt/oracle/Middleware/as_1/jlib:/opt/oracle/Middleware/as_1/reports/jlib
    File in classpath: /opt/oracle/Middleware/as_1/reports/jlib
    aolj.jar customdest.jar rwadmin.jar rwenv.jar rwxdo.jar
    confmbean.jar runtimembean.jar rwbuilder.jar rwrun.jar
    Relates to Oracle Bug:
    https://support.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&id=()),(page=KBNavigator&id=(viewingMode=1143&from=BOOKMARK&bmDocTitle=Can%20Not%20Find%20Class%20From%20Custom%20Destinations%20Jar%20File%20-%20REP-50125%20:%20java.lang.ClassNotFoundException&bmDocID=1263455.1&bmDocType=PROBLEM&bmDocDsrc=KB))
    Note:
    I'm not sure where the In-Process report server is looking for the classpath. I added them in all possible classpaths ans none of them worked.
    This is an urgent issue in our team. We are migrating from 10g oracle application server to fusion middleware 11g report server. This functionality is working in 10g report server but not in 11g due to classpath issues.
    Please let me know if additional info needed. Please respond.

    Hi,
    Thanks very much for responding. I added my jar file(customdest.jar) as you have suggested to setDomainEnv.sh. Now the In-Process report server just hangs when I try to bring it up through em and I don't see any errors in the log files. Any ideas where to look for errors? The jar files were created for 10g , we are just migrating them to 11g. I have setup the trace at highest level still don't see any error in rwserver_diagnostic.log.
    Here is the details:
    /opt/oracle/Middleware/user_projects/domains/ReportsDomain/bin/setDomainEnv.sh :
    if [ "${SERVER_NAME}" = "WLS_REPORTS" ] ; then
    POST_CLASSPATH="/opt/oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/opt/oracle/Middleware/as_1/opmn/lib/nonj2eembeans.jar:/opt/oracle/Middleware/as_1/jdbc/lib/ojdbc6.jar:/opt/oracle/Middleware/as_1/opmn/lib/optic.jar:/opt/oracle/Middleware/as_1/opmn/lib/iasprovision.jar:/opt/oracle/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/commons-el.jar:/opt/oracle/Middleware/as_1/jlib/dfc.jar:/opt/oracle/Middleware/as_1/dvt/lib/dvt-jclient.jar:/opt/oracle/Middleware/as_1/dvt/lib/dvt-utils.jar:/opt/oracle/Middleware/oracle_common/jlib/ewt3.jar:/opt/oracle/Middleware/oracle_common/modules/oracle.iau_11.1.1/fmw_audit.jar:/opt/oracle/Middleware/as_1/oui/jlib/http_client.jar:/opt/oracle/Middleware/oracle_common/modules/oracle.idm_11.1.1/identitystore.jar:/opt/oracle/Middleware/oracle_common/modules/oracle.idm_11.1.1/identityutils.jar:/opt/oracle/Middleware/oracle_common/modules/oracle.jps_11.1.1/jaccprovider.jar:/opt/oracle/Middleware/oracle_common/modules/oracle.jps_11.1.1/jacc-spi.jar:/opt/oracle/Middleware/as_1/ord/jlib/jai_codec.jar:/opt/oracle/Middleware/as_1/ord/jlib/jai_core.jar:/opt/oracle/Middleware/oracle_common/modules/oracle.oc4j-obsolete_11.1.1/jazn.jar:/opt/oracle/Middleware/oracle_common/modules/oracle.oc4j-obsolete_11.1.1/jazncore.jar:/opt/oracle/Middleware/oracle_common/jlib/jewt4.jar:/opt/oracle/Middleware/as_1/jlib/jta.jar:/opt/oracle/Middleware/oracle_common/modules/oracle.ldap_11.1.1/ldapjclnt11.jar:/opt/oracle/Middleware/as_1/lib/mail.jar:/opt/oracle/Middleware/as_1/jlib/netcfg.jar:/opt/oracle/Middleware/as_1/jlib/oracle_ice.jar:/opt/oracle/Middleware/oracle_common/jlib/share.jar:/opt/oracle/Middleware/as_1/jlib/zrclient.jar:/opt/oracle/Middleware/as_1/reports/jlib/aolj.jar:/opt/oracle/Middleware/as_1/reports/jlib/confmbean.jar:/opt/oracle/Middleware/as_1/reports/jlib/runtimembean.jar:/opt/oracle/Middleware/as_1/reports/jlib/rwadmin.jar:/opt/oracle/Middleware/as_1/reports/jlib/rwbuilder.jar:/opt/oracle/Middleware/as_1/reports/jlib/rwenv.jar:/opt/oracle/Middleware/as_1/reports/jlib/rwrun.jar:/opt/oracle/Middleware/as_1/reports/jlib/rwxdo.jar:/opt/oracle/Middleware/as_1/jlib/rts2.jar:*/opt/oracle/Middleware/as_1/reports/jlib/customdest.jar*:${CLASSPATHSEP}${POST_CLASSPATH}"
    export POST_CLASSPATH
    Log file: rwserver_diagnostic.log
    /opt/oracle/Middleware/user_projects/domains/ReportsDomain/servers/WLS_REPORTS/logs/reports
    <destination class="oracle.reports.plugin.destination.ftp.DesFTP" destype="ftp"/>
    <destination class="oracle.reports.plugin.destination.webdav.DesWebDAV" destype="WebDav"/>
    <destination destype="rcpfile" class="com.ubizen.og.offline.reporting.oracle.RcpDestination">
    <property name="user" value="tomcat"/>
    <property name="destype" value="rcpfile"/>
    </destination>
    <job engineId="rwEng" jobType="report"/>
    <job engineId="rwURLEng" jobType="rwurl"/>
    <notification class="oracle.reports.server.MailNotify" id="mailNotify">
    <property name="succnotefile" value="succnote.txt"/>
    <property name="failnotefile" value="failnote.txt"/>
    </notification>
    <!--notification id="wfNotify" class="oracle.reports.server.WorkflowNotify">
    <property name="connStr" value="%WF_DB_USERNAME%/%WF_DB_PASSWORD%@%WF_DB_TNSNAME%" encrypted="no"/>
    </notification-->
    <!--jobStatusRepository class="oracle.reports.server.JobRepositoryDB">
    <property name="dbuser" value="$$REPO_DB_USERNAME$$"/>
    <property name="dbpassword" value="csf:$$CSF_ALIAS$$:$$REPO_DB_PASSWORD_KEYE$$"/>
    <property name="dbconn" value="$$REPO_DB_TNSNAME$$"/>
    </jobStatusRepository-->
    <connection idleTimeOut="15" maxConnect="50"/>
    <queue maxQueueSize="1000"/>
    <!--jobRecovery auxDatFiles="yes"/-->
    <pluginParam name="mailServer" value="%MAILSERVER_NAME%">
    <!--property name="enableSSL" value="yes"/-->
    <!--UserName and Password that can be used to connect to the mail server-->
    <!--property name="mailUserName" value="%MAIL_USERID%" /-->
    <!--property name="mailPassword" value="%MAIL_PASSWORD%"/-->
    </pluginParam>
    </server>
    [2011-10-02T23:31:51.431-04:00] [WLS_REPORTS] [TRACE:32] [REP-56025] [oracle.reports.server] [tid: 22] [userId: weblogic] [ecid: 0000JB7par79XbpSoQjc4m1EYIaI00000F,0] [SRC_CLASS: oracle.reports.utility.RWLogger] [APP: reports#11.1.1.2.0] [dcid: fa0c1bc817f5aeb4:7b3253ab:132c7c7f2e9:-8000-00000000000000fa] [SRC_METHOD: writeln] RWServer:startServer Reports Server is starting up.
    [2011-10-02T23:31:51.435-04:00] [WLS_REPORTS] [TRACE:16] [] [oracle.reports.server] [tid: 22] [userId: weblogic] [ecid: 0000JB7par79XbpSoQjc4m1EYIaI00000F,0] [SRC_CLASS: oracle.reports.utility.RWLogger] [APP: reports#11.1.1.2.0] [dcid: fa0c1bc817f5aeb4:7b3253ab:132c7c7f2e9:-8000-00000000000000fa] [SRC_METHOD: writeln] Multicast:registerReceiver Packet handler registered
    [2011-10-02T23:31:51.435-04:00] [WLS_REPORTS] [NOTIFICATION:16] [] [oracle.reports.server] [tid: 22] [userId: weblogic] [ecid: 0000JB7par79XbpSoQjc4m1EYIaI00000F,0] [APP: reports#11.1.1.2.0] [dcid: fa0c1bc817f5aeb4:7b3253ab:132c7c7f2e9:-8000-00000000000000fa] ServerPacketHandler:start ServerPacketHandler started successfully
    [2011-10-02T23:31:51.441-04:00] [WLS_REPORTS] [NOTIFICATION:16] [] [oracle.reports.server] [tid: 22] [userId: weblogic] [ecid: 0000JB7par79XbpSoQjc4m1EYIaI00000F,0] [APP: reports#11.1.1.2.0] [dcid: fa0c1bc817f5aeb4:7b3253ab:132c7c7f2e9:-8000-00000000000000fa] SecurityHelper:start Security system rwJaznSec successfully started.
    No more error logged after this line. but in-process server just hung up indefinitely when I tried stating via the em and also via getserverinfo URL.
    In rwserver.conf: I have defined the following for custom destination
    /opt/oracle/Middleware/user_projects/domains/Repdomain/config/fmwconfig/servers/WLS_REPORTS/applications/reports_11.1.1.2.0/configuration/rwserver.conf
    <destination destype="rcpfile" class="com.ubizen.og.offline.reporting.oracle.RcpDestination">
    <property name="user" value="tomcat"/>
    <property name="destype" value="rcpfile"/>
    </destination>

Maybe you are looking for