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?

Similar Messages

  • Migration Problem from Developer11g(Preview 1) to Jdeveloper11g-FullVersion

    Hi,
    We have build our application in J-Developer Preview-1 using ADF and JPA technologies. And now when we are trying to migrate our Application form Preview-1 to J-Developer full version we are unable to run our application which is running fine in Preview-1. While we are trying to run in full version we are getting the errors like "unable to deploy application".
    Can any one help me on this Issue.
    Thanks and Regards,
    K.Satish Kumar.

    Hi,
    I copied the web.xml file from the empty web application. Still could not run the application. I am getting the following error.
    weblogic.application.ModuleException: Failed to load webapp: 'Elearn_Products_Module-ProductsDataModel01-context-root'
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:387)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         Truncated. see log file for complete stacktrace
    java.lang.ClassNotFoundException: org.apache.myfaces.trinidad.webapp.ResourceServlet
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         Truncated. see log file for complete stacktrace
    >
    <Oct 13, 2008 8:08:21 PM IST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'Elearn_Products_Module'.>
    <Oct 13, 2008 8:08:21 PM IST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: Failed to load webapp: 'Elearn_Products_Module-ProductsDataModel01-context-root'
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:387)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         Truncated. see log file for complete stacktrace
    java.lang.ClassNotFoundException: org.apache.myfaces.trinidad.webapp.ResourceServlet
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         Truncated. see log file for complete stacktrace
    >
    [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application Elearn_Products_Module on DefaultServer.: Failed to load webapp: 'Elearn_Products_Module-ProductsDataModel01-context-root'.
    weblogic.application.ModuleException: Failed to load webapp: 'Elearn_Products_Module-ProductsDataModel01-context-root'
    #### Deployment incomplete. #### Oct 13, 2008 8:08:22 PM
    oracle.jdeveloper.deploy.DeployException
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:247)
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.deployImpl(Jsr88RemoteDeployer.java:157)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:436)
         at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:209)
         at oracle.jdevimpl.runner.adrs.AdrsStarter$4$1.run(AdrsStarter.java:1316)
    Caused by: oracle.jdeveloper.deploy.DeployException
         at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.deployApplication(Jsr88DeploymentHelper.java:413)
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:238)
         ... 11 more
    Caused by: oracle.jdeveloper.deploy.DeployException: Deployment Failed
         at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.deployApplication(Jsr88DeploymentHelper.java:395)
         ... 12 more
    #### Cannot run application Elearn_Products_Module due to error deploying to DefaultServer.
    [Application Elearn_Products_Module stopped and undeployed from Server Instance DefaultServer]
    Please help me.
    Thanking you,
    Satish Kumar

  • 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();
    }

  • 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)

  • Migration problems from Oracle 10gAS R1-R2.

    We moved from Oracle 10gAS R1 to 10gAS R2. So i had to re-compile my code in Oracle forms to deploy them. I was successful in moving all files except for one.WHenever i try to run this file (after compilation in R2) i am receiving the foll error.
    I checked the whole code in that file, it has no refernce to the old servers..everything was updated. I am sure this error is due to the file and nothing related to my configuration files in the AS. This is because other forms (using webutil) works fine except for this form. How do i get around this, the logs and error messages dont really help.
    6/05/25 16:29:12 formsweb: Forms session <103> aborted: unable to communicate with runtime process.
    06/05/25 16:29:12 formsweb: Forms session <103> exception stack trace:
    java.net.SocketException: Connection reset
    at java.net.SocketInputStream.read(SocketInputStream.java:168)
    at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
    at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
    at java.io.DataInputStream.readLine(DataInputStream.java:562)
    at oracle.forms.net.HTTPHeaderTool.parseResponseHeader(Unknown Source)
    at oracle.forms.servlet.ListenerServlet.forwardResponseFromRunform(Unknown Source)
    at oracle.forms.servlet.ListenerServlet.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)

    Hi,
    I have a similiar problem here while migrating from jboss 3.04 to oc4j 9.0.4. I get the same error message: invalid column identifier.
    What do I have?
    A small web application with jsp and struts, some session beans, some entity beans with relations, some finder methods (EJB-QL), separate FK-classes, CMP and CMR.
    I checked all my identifiers and they are correct. Now I tracked down the problem to the following:
    When I deploy the ear file to oc4j, then the container takes my orion-ejb-jar.xml and generates its own one for runtime. In this generated new file you can see the queries (select statements) which the container will use. Unfortunately, some of these selects use a WRONG identifier...
    Let's say a field is named "homeStation_implName". Then you find two occurences of this field name in a select: one is correct with "homeStation_implName", but the other one is WRONG with "homeStation_".
    And that's what causes the "invalid column identifier" error message.
    As a workaround, I tried to modify the generated orion-ejb-jar.xml to use consistently the field name "homeStation_". But after restarting the server, my modificatons are gone again...
    Do you have any idea, what problem this could be?
    Any workaround I could use?
    Thanks,
    Torsten

  • Migration problem from NW 04s to NW 7.1 CE

    Hi,
    Our project (based on Java Webdynpro tech.) has to be migrated from NW 04s to NW 7.1 CE. We have a new track and everything that is needed.
    The problem is that is seems to be that 7.1 is compatible backward to 04s according to the documentation should be. But in our real case of XI it does not work properly because we are not able to deploy our DC-s to our new 7.1 track.
    We faced several problems:
    - Some packages are not permitted to public use in NW (XI Proxy and ID Generators) anymore, which were available in 7.0. We have to request these usage from NW   
      Structure Governance Board.
    - The generated XI Java Classes (which are processing the communications with XI) are only partly deployable on the 7.1 engine.
    - The service marketplace does not contain MS-SQL Version of the 7.1 CE Engine (The link in MS-SQL Page in Service Marketplace pointed to MaxDB version download)
    - The license of the NW 7.1 CE and release needs more clarifications, because SAP does not release NW 7.1 as platform.
    Has anybody done a migration regarding XI content or the below mentioned migration issues?
    Thank you in advance,
    Tamas

    i never worked on this before but i guess because of JDK version change from j2ee to jee5 in CE7.1 your problem came
    Samrat

  • Migration problem from JDev2.0 to 3.0

    Hi,
    I have created a default master-detail form between dept and emp table in 2.0 (infobus form using wizard). When I tried to open this
    form in 3.0, it upgraded the business components to 3.0's bc and the form runs. Then I added sessionInfo.revokeSession() to the File->Exit and processWindowEvent code.
    (which is available in the default form created using 3.0's infobus form wizard).
    Now, when I call this form from another frame
    through a button, the form runs. But when I close the form it throws a long exception list. (This does'nt happen with default form
    created with 3.0)
    Exception occurred during event dispatching:
    java.lang.NullPointerException
    at oracle.jbo.server.PackageDefImpl.removeChild(Compiled Code)
    at oracle.jbo.server.PackageDefImpl.removeChild(Compiled Code)
    at oracle.jbo.server.ViewLinkDefImpl.unsetDefForComponent(Compiled Code)
    at oracle.jbo.server.ComponentObjectImpl.setDef(Compiled Code)
    at oracle.jbo.server.ViewLinkImpl.setDef(Compiled Code)
    at oracle.jbo.server.ApplicationModuleImpl.removeChild(Compiled Code)
    at oracle.jbo.server.ComponentObjectImpl.remove(Compiled Code)
    at oracle.jbo.server.ApplicationModuleImpl.removeViewLinks(Compiled Code)
    at oracle.jbo.server.ApplicationModuleImpl.resetState(Compiled Code)
    at oracle.jbo.server.ApplicationModuleImpl.txnRemoved(Compiled Code)
    at oracle.jbo.server.DBTransactionImpl.disconnect(Compiled Code)
    at oracle.dacf.dataset.SessionInfo.close(Compiled Code)
    at oracle.dacf.dataset.SessionInfo.revokeSession(Compiled Code)
    at oracle.dacf.dataset.SessionInfo.revokeSession(Compiled Code)
    at package7.Frame1.processWindowEvent(Compiled Code)
    at java.awt.Window.processEvent(Compiled Code)
    at java.awt.Component.dispatchEventImpl(Compiled Code)
    at java.awt.Container.dispatchEventImpl(Compiled Code)
    at java.awt.Window.dispatchEventImpl(Compiled Code)
    at java.awt.Component.dispatchEvent(Compiled Code)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:79)
    I am unable to make out the reason for this.
    The only difference I can see is that, the xml files are separate in 3.0's default form.
    Where as in 2.0 everything is in the same file.
    This happens only when I try to call the form
    from another frame (When a button is pressed or a menu is invoked).
    Can anyone throw some light in to this problem, and suggest a workaround?
    TIA,
    Gopal
    null

    sorry i am posting it again.
    I had created the directory e:\rules32.I had set the environment using the set-environment.bat
    file before running this command.
    I tried running this command directly too.However I am still having the same problem.
    "Daniel Selman" <[email protected]> wrote:
    Subu,
    1. Did you create the e:\rules32 directory first?
    2. Did you try running:
    java com.bea.commerce.platform.rules.tools.RuleSetProcessorHarness
    migrate32to35 e:\rules32
    directly?
    If yes, please post the ruleset that is causing the error.
    Thanks,
    Daniel Selman
    "Subramaniam" <[email protected]> wrote in message
    news:3b17e7ce$[email protected]..
    hi,
    I had some problem with migration of an existing application from weblogicpersonalization
    server 3.2 to weblogic personalization server 3.5.I am not able tomigrate
    the
    ruleset from 3.2 to 3.5.I have followed all the instructions in themigration
    document.So if any of you had encountered the following problem, maybeyou
    could
    help me.
    E:\bea\WebLogicCommerce3.5\bin\win32>dumprules32.bat e:\rules32
    Dumping existing rule sets to e:\rules32
    Processor specific args not satisfied
    Args must be as follows for mode migrate32to35
    <output directory>
    http://apache.org/xml/features/nonvalidating/load-external-dtd
    Usage: java com.bea.commerce.platform.rules.tools.RuleSetProcessorHarness( migrate32to35
    | dump35 ) [<optional mode args>]
    Any help would be highly appreciated.
    Thanx in advance,
    Subu
    [problem.txt]

  • Migration problem from albpm 6.5 to 10.3.3

    Hi,
    We are in the process of migrating our project from Albpm 6.5 to 10.3.3. We imported the project file into the new studio and its deployed sucessfully but the problem we are facing is when we are trying to start the engine and run the workspace the workspace is comming up and after inputting the username its just keeps on loading for ages there is nothing displayed. the error we are getting in the bpm studio log is as follows
    1.Java heap space
    java.lang.OutOfMemoryError: Java heap space
    2.The directory event notifier will terminate.
    Thread [fuego.directory.provider.notifiers.DirectoryNotifier$NotifierScheduler@83aa6e] (8628846), in charge of directory events notifying, has thrown an unexpected error and will terminate.
    possible ways we tried are
    change these parameters in the eclipse.ini file. It is located in the X:\bea\albpm6.0\studio\eclipse.
    The following is my eclipse.ini:
    -vmargs
    -Xms256m
    -Xmx512m
    -Dfuego.fstudio=true
    -DprodMode=preProduction
    -Dbea.home=C:\bea\albpm6.0\studio\..
    -Djava.endorsed.dirs=""
    -XX:PermSize=256M
    -XX:MaxNewSize=256M
    -XX:MaxPermSize=1024M
    Can anyone please help on this
    Thanks

    It definitely works. I have used MA at least 100 times in the past. I’m not sure what’s happening here. What is the exact error message? Is the old Mac updated to 10.5.8 with all updates installed? Is your son using FWTDM successfully so that the new Mac recognizes the old one? Is there enough free space on the target Mac?
    Björn

  • ADF/Swing/JClient application migration problem from 10.1.3.5 to 11.1.1.3

    Hi,
    I am migrating an application from JDev 10.1.3.5 to 11.1.1.3 in order to deploy it to a java 1.6 JVM which is only certified with JDev 11.1.1.3
    No matter what I do the DataBindings.cpx file content is emptied by the IDE, the migration was successful => no errors displayed.
    I tried to solve the problem by doing the following but the file stays empty:
    1) the removing the project from the application and adding it again, migration is done again => FILE EMPTY
    2) adding manually the content in the source file then running XML validation => no errors, I close the file, reopen it and EMPTY AGAIN!
    Your is needed and will be appreciated!
    Thanks
    Fred
    Content of file DataBindings.cpx:
    <?xml version='1.0' encoding='UTF-8' ?>
    <Application xmlns="http://xmlns.oracle.com/adfm/application" id="DataBindings"
    Package="" version="10.1.2.18.73" SeparateXMLFiles="false"
    ClientType="JClient">
    <pageMap/>
    <pageDefinitionUsages>
    <page id="PanelWeventEditParamVO1UIModel"
    path="com.xxx.view.web.PanelWeventEditParamVO1UIModel"/>
    <page id="TogglePanelPrintSizeDpiUIModel"
    path="com.xxx.view.lab.TogglePanelPrintSizeDpiUIModel"/>
    <page id="PanelPhotographerLabROfPhotolabVO1UIModel"
    path="com.xxx.view.web.PanelPhotographerLabROfPhotolabVO1UIModel"/>
    <page id="PanelWeventEditStatusVO1UIModel"
    path="com.xxx.view.web.PanelWeventEditStatusVO1UIModel"/>
    <page id="MDDPhotographerGalleryWelcomeUIModel"
    path="com.xxx.view.web.MDDPhotographerGalleryWelcomeUIModel"/>
    <page id="PanelTranslationCountryRegionLangTableVO1UIModel"
    path="com.xxx.view.system.PanelTranslationCountryRegionLangTableVO1UIModel"/>
    <page id="PanelDestGroupDestRTableVO1UIModel"
    path="com.xxx.view.system.PanelDestGroupDestRTableVO1UIModel"/>
    <page id="PanelWeventEditPackageVO1UIModel"
    path="com.xxx.view.web.PanelWeventEditPackageVO1UIModel"/>
    <page id="PanelSiteTariffPaymentTableVO1UIModel"
    path="com.xxx.view.system.PanelSiteTariffPaymentTableVO1UIModel"/>
    <page id="PanelPhotolabClobFreePage1L1VO1UIModel"
    path="com.xxx.view.web.PanelPhotolabClobFreePage1L1VO1UIModel"/>
    <page id="PhotoWebshopDesktopUIModel"
    path="com.xxx.view.start.PhotoWebshopDesktopUIModel"/>
    <page id="PanelItemGiftKitItemGiftTableVO1UIModel"
    path="com.xxx.view.lab.PanelItemGiftKitItemGiftTableVO1UIModel"/>
    <page id="TabbedFormUIModel"
    path="com.xxx.view.system.TabbedFormUIModel"/>
    <page id="PanelEntityPhotolabVO1UIModel"
    path="com.xxx.view.system.PanelEntityPhotolabVO1UIModel"/>
    <page id="PanelAddressVO1UIModel"
    path="com.xxx.view.web.PanelAddressVO1UIModel"/>
    <page id="SiteEventTypesAndTariffsFormUIModel"
    path="com.xxx.view.start.SiteEventTypesAndTariffsFormUIModel"/>
    <page id="PanelSiteVO1UIModel"
    path="com.xxx.view.system.PanelSiteVO1UIModel"/>
    <page id="PanelSiteBonusTypeVO1UIModel"
    path="com.xxx.view.system.PanelSiteBonusTypeVO1UIModel"/>
    <page id="PanelWeventAccountFileUploaderUIModel"
    path="com.xxx.view.web.PanelWeventAccountFileUploaderUIModel"/>
    <page id="PanelLabelWhereVO1UIModel"
    path="com.xxx.view.system.PanelLabelWhereVO1UIModel"/>
    <page id="PanelLabelWhatVO1UIModel"
    path="com.xxx.view.system.PanelLabelWhatVO1UIModel"/>
    <page id="PanelLabelWhoVO1UIModel"
    path="com.xxx.view.system.PanelLabelWhoVO1UIModel"/>
    </pageDefinitionUsages>
    <dataControlUsages>
    <BC4JDataControl Configuration="BaseTablesAMLocal"
    Package="com.xxx.model.system"
    xmlns="http://xmlns.oracle.com/adfm/datacontrol"
    id="BaseTablesAMDataControl"
    FactoryClass="oracle.adf.model.bc4j.DataControlFactoryImpl"
    syncMode="Immediate">
    <Parameters>
    <Parameter name="FactoryClass"
    value="oracle.adf.model.bc4j.DataControlFactoryImpl"/>
    <Parameter name="SupportsFindMode" value="true"/>
    <Parameter name="Configuration" value="BaseTablesAMLocal"/>
    <Parameter name="SupportsTransactions" value="true"/>
    <Parameter name="Package" value="com.xxx.model.system"/>
    <Parameter name="SubType" value="DCBC4J"/>
    <Parameter name="Name" value="BaseTablesAMDataControl"/>
    <Parameter name="id" value="BaseTablesAMDataControl"/>
    </Parameters>
    </BC4JDataControl>
    <BC4JDataControl Configuration="SiteTablesAMLocal"
    Package="com.xxx.model.system"
    xmlns="http://xmlns.oracle.com/adfm/datacontrol"
    id="SiteTablesAMDataControl"
    FactoryClass="oracle.adf.model.bc4j.DataControlFactoryImpl"
    syncMode="Immediate">
    <Parameters>
    <Parameter name="FactoryClass"
    value="oracle.adf.model.bc4j.DataControlFactoryImpl"/>
    <Parameter name="SupportsFindMode" value="true"/>
    <Parameter name="Configuration" value="SiteTablesAMLocal"/>
    <Parameter name="SupportsTransactions" value="true"/>
    <Parameter name="Package" value="com.xxx.model.system"/>
    <Parameter name="SubType" value="DCBC4J"/>
    <Parameter name="Name" value="SiteTablesAMDataControl"/>
    <Parameter name="id" value="SiteTablesAMDataControl"/>
    </Parameters>
    </BC4JDataControl>
    <BC4JDataControl Configuration="SystemViewAMLocal"
    Package="com.xxx.model.system"
    xmlns="http://xmlns.oracle.com/adfm/datacontrol"
    id="SystemViewAMDataControl"
    FactoryClass="oracle.adf.model.bc4j.DataControlFactoryImpl"
    syncMode="Immediate">
    <Parameters>
    <Parameter name="FactoryClass"
    value="oracle.adf.model.bc4j.DataControlFactoryImpl"/>
    <Parameter name="SupportsFindMode" value="true"/>
    <Parameter name="Configuration" value="SystemViewAMLocal"/>
    <Parameter name="SupportsTransactions" value="true"/>
    <Parameter name="Package" value="com.xxx.model.system"/>
    <Parameter name="SubType" value="DCBC4J"/>
    <Parameter name="Name" value="SystemViewAMDataControl"/>
    <Parameter name="id" value="SystemViewAMDataControl"/>
    </Parameters>
    </BC4JDataControl>
    <BC4JDataControl Configuration="PhotolabSetupAMLocal"
    Package="com.xxx.model.lab"
    xmlns="http://xmlns.oracle.com/adfm/datacontrol"
    id="PhotolabSetupAMDataControl"
    FactoryClass="oracle.adf.model.bc4j.DataControlFactoryImpl"
    syncMode="Immediate">
    <Parameters>
    <Parameter name="FactoryClass"
    value="oracle.adf.model.bc4j.DataControlFactoryImpl"/>
    <Parameter name="Configuration" value="PhotolabSetupAMLocal"/>
    <Parameter name="SupportsFindMode" value="true"/>
    <Parameter name="SupportsTransactions" value="true"/>
    <Parameter name="Name" value="PhotolabSetupAMDataControl"/>
    <Parameter name="SubType" value="DCBC4J"/>
    <Parameter name="Package" value="com.xxx.model.lab"/>
    <Parameter name="id" value="PhotolabSetupAMDataControl"/>
    </Parameters>
    </BC4JDataControl>
    <BC4JDataControl Configuration="PhotolabWebAMLocal"
    Package="com.xxx.model.web"
    xmlns="http://xmlns.oracle.com/adfm/datacontrol"
    id="PhotolabWebAMDataControl"
    FactoryClass="oracle.adf.model.bc4j.DataControlFactoryImpl"
    syncMode="Immediate">
    <Parameters>
    <Parameter name="FactoryClass"
    value="oracle.adf.model.bc4j.DataControlFactoryImpl"/>
    <Parameter name="Configuration" value="PhotolabWebAMLocal"/>
    <Parameter name="SupportsFindMode" value="true"/>
    <Parameter name="SupportsTransactions" value="true"/>
    <Parameter name="Name" value="PhotolabWebAMDataControl"/>
    <Parameter name="SubType" value="DCBC4J"/>
    <Parameter name="Package" value="com.xxx.model.web"/>
    <Parameter name="id" value="PhotolabWebAMDataControl"/>
    </Parameters>
    </BC4JDataControl>
    </dataControlUsages>
    </Application>

    Ok it seems I have resolved my problem see end of thread
    Still have following relevant question for an Oracle team member:
    Why is my <pageMap/> empty in my migrated application cpx file?
    => when I create a new ADF Swing application this tag is not empty:
    in new file:
    <pageMap>
    <page path="view.PanelPhotolabVO1" usageId="view_PanelPhotolabVO1PageDef"/>
    </pageMap>
    <pageDefinitionUsages>
    <page id="view_PanelPhotolabVO1PageDef"
    path="view.pageDefs.PanelPhotolabVO1PageDef"/>
    in migrated file:
    <pageMap/>
    <pageDefinitionUsages>
    <page id="PanelWeventEditParamVO1UIModel"
    path="com.photoswing.view.web.PanelWeventEditParamVO1UIModel"/>
    Solution to empty migrated cpx file:
    It seems the migration utility couldn't cope with the BC4JDataControl definitions, so I edited them manually.
    Example of 10.1.3... syntax:
    <dataControlUsages>
    <BC4JDataControl Configuration="BaseTablesAMLocal"
    Package="com.xxx.model.system"
    xmlns="http://xmlns.oracle.com/adfm/datacontrol"
    id="BaseTablesAMDataControl"
    FactoryClass="oracle.adf.model.bc4j.DataControlFactoryImpl"
    syncMode="Immediate">
    <Parameters>
    <Parameter name="FactoryClass"
    value="oracle.adf.model.bc4j.DataControlFactoryImpl"/>
    <Parameter name="SupportsFindMode" value="true"/>
    <Parameter name="Configuration" value="BaseTablesAMLocal"/>
    <Parameter name="SupportsTransactions" value="true"/>
    <Parameter name="Package" value="com.photoswing.model.system"/>
    <Parameter name="SubType" value="DCBC4J"/>
    <Parameter name="Name" value="BaseTablesAMDataControl"/>
    <Parameter name="id" value="BaseTablesAMDataControl"/>
    </Parameters>
    </BC4JDataControl>
    New syntax:
    <BC4JDataControl id="BaseTablesAMDataControl"
    Package="com.xxx.model.system"
    FactoryClass="oracle.adf.model.bc4j.DataControlFactoryImpl"
    SupportsTransactions="true" SupportsFindMode="true"
    SupportsRangesize="true" SupportsResetState="true"
    SupportsSortCollection="true"
    Configuration="BaseTablesAMLocal" syncMode="Immediate"
    ExceptionMode="Immediate"
    xmlns="http://xmlns.oracle.com/adfm/datacontrol"/>
    Tip:
    Do this editing outside JDev with ide closed to avoid crashing it.
    Regards
    Fred

  • Migration problem from 3.2 to 3.5

    hi,
    I had some problem with migration of an existing application from weblogic personalization
    server 3.2 to weblogic personalization server 3.5.I am not able to migrate the
    ruleset from 3.2 to 3.5.I have followed all the instructions in the migration
    document.So if any of you had encountered the following problem, maybe you could
    help me.
    E:\bea\WebLogicCommerce3.5\bin\win32>dumprules32.bat e:\rules32
    Dumping existing rule sets to e:\rules32
    Processor specific args not satisfied
    Args must be as follows for mode migrate32to35
    <output directory>
    http://apache.org/xml/features/nonvalidating/load-external-dtd
    Usage: java com.bea.commerce.platform.rules.tools.RuleSetProcessorHarness ( migrate32to35
    | dump35 ) [<optional mode args>]
    Any help would be highly appreciated.
    Thanx in advance,
    Subu

    sorry i am posting it again.
    I had created the directory e:\rules32.I had set the environment using the set-environment.bat
    file before running this command.
    I tried running this command directly too.However I am still having the same problem.
    "Daniel Selman" <[email protected]> wrote:
    Subu,
    1. Did you create the e:\rules32 directory first?
    2. Did you try running:
    java com.bea.commerce.platform.rules.tools.RuleSetProcessorHarness
    migrate32to35 e:\rules32
    directly?
    If yes, please post the ruleset that is causing the error.
    Thanks,
    Daniel Selman
    "Subramaniam" <[email protected]> wrote in message
    news:3b17e7ce$[email protected]..
    hi,
    I had some problem with migration of an existing application from weblogicpersonalization
    server 3.2 to weblogic personalization server 3.5.I am not able tomigrate
    the
    ruleset from 3.2 to 3.5.I have followed all the instructions in themigration
    document.So if any of you had encountered the following problem, maybeyou
    could
    help me.
    E:\bea\WebLogicCommerce3.5\bin\win32>dumprules32.bat e:\rules32
    Dumping existing rule sets to e:\rules32
    Processor specific args not satisfied
    Args must be as follows for mode migrate32to35
    <output directory>
    http://apache.org/xml/features/nonvalidating/load-external-dtd
    Usage: java com.bea.commerce.platform.rules.tools.RuleSetProcessorHarness( migrate32to35
    | dump35 ) [<optional mode args>]
    Any help would be highly appreciated.
    Thanx in advance,
    Subu
    [problem.txt]

  • CMR migration problem from 9.0.4 to 10.1.2.0.2

    Hi,
    we have a J2EE 1.3 system developed and working on a production enviroment in which OAS 9.0.4 platform is installed.
    This system uses EJB 2.0 CMP Entity Bean with CMR.
    We deployed the same system (.ear) in a 10.1.2.0 platform but we detected that CMR is not working correctly. Entity beans in the association targets are not being retrieved correctly. We're using http://download-uk.oracle.com/docs/cd/B14099_18/web.1012/b15505/ormap.htm#sthref640, could it be the problem??
    Is there any tool that could be used for migrating ejb-jar.xml and orion-ejb-jar.xml files from 9.0.4 to 10.1.2.0.2.
    Is there any special issue or process to be taken into account for migrating from 9.0.4 to 10.1.2.0.2?
    We can provide further details under request.

    Hi,
    we took a look at the provided reference but no code-oriented tool was found (just Oracle infrastructure's components).
    We found that the problem we were having had to do with OAS 10.1.2.0.2 bug no. 4450233.
    We requested the patch through Metalink, then we applied it and now tha application seems to be working correctly.
    Anyway, thank you very much for your answer.

  • Catalog Migration Problem from 10g to 11g

    Hi,
    When i am trying to migrate catalog of 10g to 11g. They have some problems
    1. In obiee 10g (under root folder) it shows only around 5 dashboards. But actually when i am seeing in the I catalog manager of obiee 10g it shows 12 dashboards and pages.
    Can some please help me on this how to see the other dashboards and page in obiee 10g ( under root folder ).
    2. When i am trying to migrate the catalog folder in obiee 11g it also shows around 5 dashboards. And other dashboards are not seeing after migration.
    Can someone please help me on this how to see the other dashboards and pages in obiee 11g as well.

    Hi,
    In Webcat, there can be some contents that are inconsistent/invalid. And such contents have 0 byte size. Please check if dashboards files that are not visible and their corresponding .atr files have 0 byte size.
    Other possibility can be dashboards are hidden for the user-id you are using for login.
    Please mark as helpful/correct if this reply helps.
    Thanks,
    Vijay
    Edited by: user5814724 on Apr 8, 2013 4:58 AM

  • BPEL Process migration problems   from 10.1.2. to 10.1.3(SOA)

    Hi,
    I am migrating the BPEL Project which was desinged for the BPEL(10.1.2) using BPEL Designer to SOA Suite using the JDeveloper 10.1.3.1 Developer Preview version.
    The taken the project which is deploying&working perfectly in the BPEL Desg&serv (10.1.2).
    But the same project is not compiling in the newer preview version.i got invalid xpath exception.
    my xpath is like
    bpws:getVariableData('inputVariable','payload','/client:commonProjectProcessRequest/client:input/ns1:listOfProducts')
    if i change like this xpath, woking fine...
    bpws:getVariableData('inputVariable','payload','/client:commonProjectProcessRequest/client:input')
    The input element defined as string in wsdl.However am expecting in runtime process will recive an proper xml string as a value of input element so the xpath will work fine..
    Is the any configuration property to turn of xpath validation & variable not initialized warning while compile and building bpel project in the jdevstudio10.1.3.1. preview as well as in SOASuite server.
    I would be happy on any reply.
    Thanks
    bogi

    Hi,
    Bogiraja and me work on the same team... this is a follow up we noticed today. As part of the deployment descriptors of a BPEL, one can set the configuration property "xpathValidation" to False (it is by default True going by 10.1.2 documentation). The documentation says that this would make the compiler not to validate the xpath queries.
    When we tried this in 10.1.3, it did not seem to make any difference and the compiler still did not allow a xpath query which contained a node name which was not defined in the WSDL (bpws:getVariableData('inputVariable','payload','/client:commonProjectProcessRequest/client:input/ns1:listOfProducts') in Bogiraja's mail above)
    Basically, the problem is like this.
    a. The WSDL for the BPEL process defines the input variable as a "string"
    b. When this BPEL process is invoked, we read the content of this variable which is an XML and assign that to a variable of a defined type in the BPEL.
    c. For this purpose, we used to use the syntax as mentioned by Bogiraja in 10.1.2 which does not seem to work on 10.1.3.
    A further observation is that if we define a dummy variable of xsd:any and copy the content of the input into that variable and then apply a similar xpath ('/client:dummyXSDAnyVar/ns1:listOfProducts') on that resultant variable then it seems to work!!
    Expected functionality? Anything we seem to be missing out here?
    Would highly appreciate any responses.
    Thanks in advance.

  • BPEL Process migration problem.from 10.1.2. to 10.1.3(SOA)

    Hi,
    I am migrating the BPEL Project which was desinged for the BPEL(10.1.2) to SOA Suite using the JDeveloper 10.1.3.1 Developer Preview version.
    The taken the project which is buildin and deploying correctly in the BPEL Desg&ser (10.1.2).
    But the same project is not compiling in the newer preview version.i got invalid xpath exception.
    my xpath is like
    bpws:getVariableData('inputVariable','payload','/client:commonProjectProcessRequest/client:input/ns1:listOfProducts')
    if i change like this xpath, woking fine...
    bpws:getVariableData('inputVariable','payload','/client:commonProjectProcessRequest/client:input')
    the element defined as string in wsdl.however am expecting in runtime process will recive an proper xml string as a value of input element so the xpath will work fine..
    is the any configuration property to turn of xpath validation & variable not initialized warning while compile and building bpel project in the jdev10.1.3.1. preview version.
    could you please any one give me solution ?
    Thanks
    bogi

    Hi,
    Bogiraja and me work on the same team... this is a follow up we noticed today. As part of the deployment descriptors of a BPEL, one can set the configuration property "xpathValidation" to False (it is by default True going by 10.1.2 documentation). The documentation says that this would make the compiler not to validate the xpath queries.
    When we tried this in 10.1.3, it did not seem to make any difference and the compiler still did not allow a xpath query which contained a node name which was not defined in the WSDL (bpws:getVariableData('inputVariable','payload','/client:commonProjectProcessRequest/client:input/ns1:listOfProducts') in Bogiraja's mail above)
    Basically, the problem is like this.
    a. The WSDL for the BPEL process defines the input variable as a "string"
    b. When this BPEL process is invoked, we read the content of this variable which is an XML and assign that to a variable of a defined type in the BPEL.
    c. For this purpose, we used to use the syntax as mentioned by Bogiraja in 10.1.2 which does not seem to work on 10.1.3.
    A further observation is that if we define a dummy variable of xsd:any and copy the content of the input into that variable and then apply a similar xpath ('/client:dummyXSDAnyVar/ns1:listOfProducts') on that resultant variable then it seems to work!!
    Expected functionality? Anything we seem to be missing out here?
    Would highly appreciate any responses.
    Thanks in advance.

Maybe you are looking for

  • Mail To File question

    Hey everybody, I've configured a simple mail>xi>file scenario, i'm taking an attachment from a incoming mail and moving it as it is (with no content conversion) to a dedicated folder. it works very well. My problem is that when the xi takes the file

  • Epson Stylus Photo R2400 printer driver will not update from 2.53 to 3.0

    I am having an issue with installing a print driver from Epson's web site. I do not have access to the print options or any other settings of the printer when i try to FILE>PRINT. The choices are crossed off the list and say "This panel is not compat

  • Managing files and space in storage repositories

    What options are available for moving virtual machine images and resources between storage repositories in OVM 2.2? The documentation does not seem to mention this at all. As the root repository is nearly full, I have added a second repository. I exp

  • Imbedding a lightroom gallery into my gallery page

    How would I embed a flash gallery I've created in Lightroom, into my website gallery page. Candidlovephotography.com

  • Master Suite CS6 Fonts

    I installed Master Suite 6 a while ago.  When Cleaning up my computer files today, I came across a Directory on the Desktop called Adobe CS6 Master Collection. Inside are 2 directories: Adobe CS6 - (which is 8GB and contains subdirectories Deploy, pa