Zend could not find class "..." problem with deployment to server - ANSWER

This error only occures when your webroot = and amf.directories = are configured correctly. The problem comes in typically when you have created your own services.php file which was use to connect to the data instead of letting flex create it for you. For some reason Zend looks for Services.php not services.php so the problem can be fixed by renaming the .php file on the server to capitalize the first letter.
I noticed several different posts about this problem, perhaps in future versions this won't matter.
Best Wishes,
Joel Hart

Mike,
I don't have anything definitive here but I am wondering if there is a discrepency between the database names.  In SQL Enterprise Manager, you can go to the Publisher and see what the current database name is.  It will be the one being replicated and will take the form of CCM0300 or CCM0301 or CCM0302.  You should see more than one.  Anyway, take note of the name.
Then on the Publisher launch regedit and go to HKLM\Software\Cisco Systems, Inc.\DBL\
Look at the values for DBConnection0 and DBConnection1.
It will be something like DSN=CiscoCallManager;Server=;DATABASE=;Trusted_Connection=yes
Does the in the DSN match what you expect?
Also, going to back to SQL Enterprise Manager, check out the permissions on the database (Right Click->Properties, go to Permissions tab).
Another thing to check if you think it is permissions related is the AdminUtility.exe (c:\program files\cisco\bin\).  This can be used to resync system account passwords.
TBH, I am just shooting in the dark here but these are things I would check.
Regards,
Bill

Similar Messages

  • Problem with Cisco Bars after Database Republish ("Could not find Cisco Unified database on this server")

    OS Version: 2000.4.3a
    OS Service Release: 2000.4.5bSR21
    OS Upgrade: 2000.4.5a
    Bars Version: 4.0.15000
    CUCM Version: 4.2(3)sr4b
    During the upgrade process of our CUCM 4.2(3) to version CUCM 4.2(3)sr4b the database replication between our 2 servers (1x pub, 1x sub) failed. After fixing this via dbhelper tool (everthing´s green and smiling again) service seemed to be ok.
    But now Cisco Bars does not work anymore. The backup process of the publisher fails with "Error=[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user '(null)'. Reason: Not associated with a trusted SQL-Server connection." So it looks like some kind of database setting for bars  is misconfigured after the republishing process.
    Yesterday I tried to reinstall BARS (now in the newest version 4.0.150000), but the same error message occured. Now I get the message "Could not find Cisco Unified database on this server" when I try to configure the Backup source within BARS.
    Curiously the backup of our second CCM (sub) works as expected (but without CDR and TFTP Data). The "BackAdmin" User exists and is not locked (and wasn´t changed manually at all).
    I am runnig out of ideas... :-(
    Any hint or idea on how to fix this is kindly appreciated
    best regards
    Michael

    Mike,
    I don't have anything definitive here but I am wondering if there is a discrepency between the database names.  In SQL Enterprise Manager, you can go to the Publisher and see what the current database name is.  It will be the one being replicated and will take the form of CCM0300 or CCM0301 or CCM0302.  You should see more than one.  Anyway, take note of the name.
    Then on the Publisher launch regedit and go to HKLM\Software\Cisco Systems, Inc.\DBL\
    Look at the values for DBConnection0 and DBConnection1.
    It will be something like DSN=CiscoCallManager;Server=;DATABASE=;Trusted_Connection=yes
    Does the in the DSN match what you expect?
    Also, going to back to SQL Enterprise Manager, check out the permissions on the database (Right Click->Properties, go to Permissions tab).
    Another thing to check if you think it is permissions related is the AdminUtility.exe (c:\program files\cisco\bin\).  This can be used to resync system account passwords.
    TBH, I am just shooting in the dark here but these are things I would check.
    Regards,
    Bill

  • Ejb error((MARSHAL) Could not find class) when using OneToMany relationship

    I am using Netbeans 5.5 with J2EE App Server 9. I have two entity beans with a OneToMany Uni-directional relationship. I have a Remote Stateless session bean which has persistence operations for creating and searching etc.. I am accessing the remote bean via jndi from a j2ee java client. The access works fine. The session bean persist operation creates data in both the entities (cascade persist).
    But, after the data is created, when I access the entity manager find() method from the session bean via the client errors out. This error only happens for the entities with OneToMany relationship, not for OneToOne relationships.
    I am using TOPLINK persistence provider accessing a derby data source. I have the latest persistence library jar files in the library classpath.
    client code:
                Phone p1 = new Phone();
                p1.setPnumber("999 999 9999");
                Customer c1 = new Customer();
                c1.setLname("Smith");
                c1.getPhone().add(p1);
                int pk = agent.createCustomer(c1);    // creates the entities
                Customer c2 = agent.findCustomer(pk);     //  this causes the ERROR
    session bean code:
       @PersistenceContext  private EntityManager em;
        public int createCustomer(Customer c) {
            em.persist(c);
            return c.getId();
        public Customer findCustomer(int i) {          // this causes the ERROR
            return em.find(Customer.class, i);
    exception:
    Mar 30, 2007 3:25:00 PM com.sun.corba.ee.impl.encoding.CDRInputStream_1_0 read_value
    WARNING: "IOP00810257: (MARSHAL) Could not find class"
    org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 257 completed: Maybe
    at com.sun.corba.ee.impl.logging.ORBUtilSystemException.couldNotFindClass(ORBUtilSystemException.java:8309)
    at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:984)
    at com.sun.corba.ee.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:259)
    at com.sun.corba.ee.impl.io.IIOPInputStream.inputObjectField(IIOPInputStream.java:1987)
    at com.sun.corba.ee.impl.io.IIOPInputStream.inputClassFields(IIOPInputStream.java:2211)
    at com.sun.corba.ee.impl.io.IIOPInputStream.inputObject(IIOPInputStream.java:1219)
    at com.sun.corba.ee.impl.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:398)
    ***exception in Client_1 ***
    at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:329)
    at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:295)
    at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1005)
    at com.sun.corba.ee.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:259)
    at com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl$14.read(DynamicMethodMarshallerImpl.java:333)
    at com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl.readResult(DynamicMethodMarshallerImpl.java:424)
    at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:162)
    at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:119)
    at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(BCELStubBase.java:197)
    at com.titan.ejb.__Tester1Remote_Remote_DynamicStub.findCustomer(__Tester1Remote_Remote_DynamicStub.java)
    at com.titan.ejb._Tester1Remote_Wrapper.findCustomer(com.titan.ejb._Tester1Remote_Wrapper.java)
    at com.titan.clients.Client_1.main(Client_1.java:37)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:232)
    at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:329)
    at com.sun.enterprise.appclient.Main.main(Main.java:180)
    Caused by: java.lang.ClassNotFoundException
    ... 25 more
    javax.ejb.EJBException: nested exception is: java.rmi.MarshalException: CORBA MARSHAL 1398079745 Maybe; nested exception is:
    org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 257 completed: Maybe
    java.rmi.MarshalException: CORBA MARSHAL 1398079745 Maybe; nested exception is:
    org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 257 completed: Maybe
    at com.sun.corba.ee.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:224)
    at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:172)
    at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:119)
    at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(BCELStubBase.java:197)
    at com.titan.ejb.__Tester1Remote_Remote_DynamicStub.findCustomer(__Tester1Remote_Remote_DynamicStub.java)
    at com.titan.ejb._Tester1Remote_Wrapper.findCustomer(com.titan.ejb._Tester1Remote_Wrapper.java)
    at com.titan.clients.Client_1.main(Client_1.java:37)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:232)
    at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:329)
    at com.sun.enterprise.appclient.Main.main(Main.java:180)
    Caused by: org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 257 completed: Maybe
    at com.sun.corba.ee.impl.logging.ORBUtilSystemException.couldNotFindClass(ORBUtilSystemException.java:8309)
    at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:984)
    at com.sun.corba.ee.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:259)
    at com.sun.corba.ee.impl.io.IIOPInputStream.inputObjectField(IIOPInputStream.java:1987)
    at com.sun.corba.ee.impl.io.IIOPInputStream.inputClassFields(IIOPInputStream.java:2211)
    at com.sun.corba.ee.impl.io.IIOPInputStream.inputObject(IIOPInputStream.java:1219)
    at com.sun.corba.ee.impl.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:398)
    at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:329)
    at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:295)
    at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1005)
    at com.sun.corba.ee.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:259)
    at com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl$14.read(DynamicMethodMarshallerImpl.java:333)
    at com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl.readResult(DynamicMethodMarshallerImpl.java:424)
    at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:162)
    ... 12 more
    Caused by: java.lang.ClassNotFoundException
    ... 25 more
    javax.ejb.EJBException: nested exception is: java.rmi.MarshalException: CORBA MARSHAL 1398079745 Maybe; nested exception is:
    org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 257 completed: Maybe
    at com.titan.ejb._Tester1Remote_Wrapper.findCustomer(com.titan.ejb._Tester1Remote_Wrapper.java)
    at com.titan.clients.Client_1.main(Client_1.java:37)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:232)
    at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:329)
    at com.sun.enterprise.appclient.Main.main(Main.java:180)

    It appears to be a bug in Netbeans.
    I have a similar error message with the following settings:
    A session bean remote interface
    be.macharis.toon.pacita.common.OriginFacadeRemoteA session bean implementing the remote interface
    be.macharis.toon.pacita.common.OriginFacadeAt deploying the ejb module, the session bean is loaded in the JNDI registry under the name be.macharis.toon.pacita.common.OriginFacadeRemote (the server log says so).
    I have the following code in a servlet:
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    try {
        Context ic = new InitialContext();
        OriginFacadeRemote originFacade = (OriginFacadeRemote)ic.lookup(OriginFacadeRemote.class.getName());
        originFacade.setOrigin(componentRegistry, OriginFacadeRemote.ELEMENT_CONTAINER); // <- exception here
    } catch (NamingException e) {
        e.printStackTrace();
    }Yet I get a java.lang.ClassNotFoundException during the EJB method call. The exception does not take place during execution of the method, but before, while the EJB container is still resolving the method. It thus must be a(nother) bug in the implementation of the EJB container.
    And bugs that are outside your control are so much harder to deal with... There was another bug in the EJB container for serialising complex object that I could work around by explicitly serialising the Objects myself to byte arrays. It took me 5 days to do so. I don't know if I will manage to work around this bug. If I do, I will post my solution. For completeness, below my "clarifying" error dump:
    javax.ejb.EJBException: nested exception is: java.rmi.MarshalException: CORBA MARSHAL 1398079745 Maybe; nested exception is:
         org.omg.CORBA.MARSHAL: ----------BEGIN server-side stack trace----------
    org.omg.CORBA.MARSHAL:   vmcid: SUN  minor code: 257 completed: Maybe
         at com.sun.corba.ee.impl.logging.ORBUtilSystemException.couldNotFindClass(ORBUtilSystemException.java:8309)
         at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:984)
         at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:850)
         at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_abstract_interface(CDRInputStream_1_0.java:844)
         at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_abstract_interface(CDRInputStream_1_0.java:834)
         at com.sun.corba.ee.impl.encoding.CDRInputStream.read_abstract_interface(CDRInputStream.java:275)
         at com.sun.corba.ee.impl.io.IIOPInputStream.readObjectDelegate(IIOPInputStream.java:361)
         at com.sun.corba.ee.impl.io.IIOPInputStream.readObjectOverride(IIOPInputStream.java:524)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:345)
         at java.util.HashMap.readObject(HashMap.java:1029)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.corba.ee.impl.io.IIOPInputStream.invokeObjectReader(IIOPInputStream.java:1692)
         at com.sun.corba.ee.impl.io.IIOPInputStream.inputObject(IIOPInputStream.java:1210)
         at com.sun.corba.ee.impl.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:398)
         at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:329)
         at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:295)
         at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1005)
         at com.sun.corba.ee.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:259)
         at com.sun.corba.ee.impl.io.IIOPInputStream.inputObjectField(IIOPInputStream.java:1987)
         at com.sun.corba.ee.impl.io.IIOPInputStream.inputClassFields(IIOPInputStream.java:2211)
         at com.sun.corba.ee.impl.io.IIOPInputStream.inputObject(IIOPInputStream.java:1219)
         at com.sun.corba.ee.impl.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:398)
         at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:329)
         at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:295)
         at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1005)
         at com.sun.corba.ee.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:259)
         at com.sun.corba.ee.impl.io.IIOPInputStream.inputObjectField(IIOPInputStream.java:1987)
         at com.sun.corba.ee.impl.io.IIOPInputStream.inputClassFields(IIOPInputStream.java:2211)
         at com.sun.corba.ee.impl.io.IIOPInputStream.inputObject(IIOPInputStream.java:1219)
         at com.sun.corba.ee.impl.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:398)
         at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:329)
         at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:295)
         at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1005)
         at com.sun.corba.ee.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:259)
         at com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl$14.read(DynamicMethodMarshallerImpl.java:333)
         at com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl.readArguments(DynamicMethodMarshallerImpl.java:393)
         at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:119)
         at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:650)
         at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:193)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1705)
         at com.sun.corba.ee.impl.protocol.SharedCDRClientRequestDispatcherImpl.marshalingComplete(SharedCDRClientRequestDispatcherImpl.java:154)
         at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:194)
         at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:159)
         at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:119)
         at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(BCELStubBase.java:197)
         at be.macharis.toon.pacita.common.__OriginFacadeRemote_Remote_DynamicStub.setOrigin(__OriginFacadeRemote_Remote_DynamicStub.java)
         at be.macharis.toon.pacita.common._OriginFacadeRemote_Wrapper.setOrigin(be.macharis.toon.pacita.common._OriginFacadeRemote_Wrapper.java)
         at pacita.servlets.ContainerRegistry.processRequest(ContainerRegistry.java:64)
         at pacita.servlets.ContainerRegistry.doGet(ContainerRegistry.java:95)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:278)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
         at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
         at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
         at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
         at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
    Caused by: java.lang.ClassNotFoundException
         ... 77 more
    ----------END server-side stack trace----------  vmcid: SUN  minor code: 257 completed: Maybe

  • Fat Jar Export: Could not find class-path entry for 'C:Java/jdk/mysql-connector-java-

    ok friends,
    have a normaly running project in eclipse and want to create a jar file...i tried ewerythin in ->export but nothing function
    i wanted to create a runnable jar file but that error ecures:
    JAR export finished with warnings. See details for additional information.
    Exported with compile warnings: ICQJJ/src/ICQJJ.java
    Jar export finished with problems. See details for additional infos.
    Fat Jar Export: Could not find class-path entry for 'C:Java/jdk/mysql-connector-java-5.1.8-bin.jar'
    what's the problem?
    ok, i am using a mysql db und using the driver mysql-connector-java-5.1.8-bin.jar....
    i improted this jar file like this run -> run configuration -> classpath -> add external jar....
    pls help me

    That looks like it might be a binary-distribution JAR that you should unjar. The actual JAR for the classpath is probably inside it.

  • Could not find prepared statement with handle 13

    Hi,
    I'm having a terrible problem: When I try to execute a SQL Query the following exception is thrown:
    * "java.sql.SQLException: [Macromedia][SQLServer JDBC Driver][SQLServer]Could not find prepared statement with handle 13."
    This exception is thrown is this line:
    boolean returnResultSet = ((PreparedStatement)sqlStatement).execute();
    The sqlStatement object is a java.sql.PreparedStatement that was received as a Statement in the method definition.
    The following query is being executed in this PreparedStatement:
    SELECT id_promocao, ds_nome, id_tipo, ds_sinopse, dt_lancamento, pt_site, pt_caminho_relativo, fl_ativo FROM TAB_CINE_GM ORDER BY ds_nome
    I'm using Macromedia JRun 4 build 61650 and I'm using MS-SQL Server 2000 as a database server.
    If anyone can help, I'll thanks a lot.
    Helcio Chaves
    S�o Paulo - SP - Brazil
    [email protected]

    There is a common way to check runtime type:
    if (sqlStatement instanceof PreparedStatement)
    returnResultSet = ((PreparedStatement)sqlStatement).execute();
    else
    returnResultSet = sqlStatement.execute();
    }By the way - I can't understand why you're trying to cast sqlStatement to PreparedStatement? It doesn't matter at all due to so-called polymorphism of all Java methods (except static ones). Anyway execute() will run for PreparedStatement but bot for Statement
    Enjoy,
    Pavel

  • Could not find class (CalculatorImpl_Stub) at codebase ()

    hi
    im trying to use rmi on my linux machine...
    a have jared CalculatorServer and CalculatorClient
    $ jar tf CalculatorServer.jar
    META-INF/
    META-INF/MANIFEST.MF
    Calculator.class
    CalculatorImpl.class
    CalculatorImpl_Stub.class
    CalculatorServer.class
    $ jar tf CalculatorClient.jar
    META-INF/
    META-INF/MANIFEST.MF
    Calculator.class
    CalculatorImpl_Stub.class
    CalculatorClient.class
    $ ps -ef | grep rmi
    boris     5347  5221  0 15:08 pts/3    00:00:00 rmiregistrymy rmiregistry is running....
    $ java -jar CalculatorServer.jar -a localhost
    rmi://localhost:1099/CalculatorService
    Trouble: java.rmi.UnexpectedException: undeclared checked exception; nested exception is:
            java.lang.ClassNotFoundException: Could not find class (CalculatorImpl_Stub) at codebase ()when i try to run my rmi server (on localhost) it outputs this...
    if i unjar files and then run server like java CalculatorServer -a localhost it works fine...
    i dont know why.... my stub file is in jar.... and i'm idealess...

    now when i try to launch this jar file like this
    $ java -Djava.rmi.server.codebase=/home/boris/java/rmiCalculator/CalculatorServer.jar -jar CalculatorServer.jar -a localhost &
    [3] 4943
    boris@bm:~/java/rmiCalculator$ rmi://localhost:1099/CalculatorService
    Trouble: java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
            java.net.MalformedURLException: no protocol: /home/boris/java/rmiCalculator/CalculatorServer.jarand if try like this ... same problem
    $ java -Djava.rmi.server.codebase=/home/boris/java/rmiCalculator/ -jar CalculatorServer.jar -a localhost &
    [2] 4930
    boris@bm:~/java/rmiCalculator$ rmi://localhost:1099/CalculatorService
    Trouble: java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
            java.net.MalformedURLException: no protocol: /home/boris/java/rmiCalculator/
    $ pwd
    /home/boris/java/rmiCalculator

  • FindByPrimaryKey: Could not find prepared statement with handle 3

    I've inherited a WL61 application and been asked to make it work under WL81. We're using SQL Server 2000. We only access two tables. The XML got auto-converted during the upgrade, but I had to correct the RDBMS column names in the weblogic-cmp-jar.xml
    The application mostly works except the findByPrimaryKey fails with:
    ERROR ExecuteThread: '14' for queue: 'weblogic.kernel.Default' Administrator : TargetSessionBean - Error finding promotion with ID <2>
    javax.ejb.FinderException: Problem in findByPrimaryKey while preparing or executing statement: 'weblogic.jdbc.wrapper.PreparedStatement_weblogic_jdbc_base_BasePreparedStatement@95':
    java.sql.SQLException: [BEA][SQLServer JDBC Driver][SQLServer]Could not find prepared statement with handle 3.
    java.sql.SQLException: [BEA][SQLServer JDBC Driver][SQLServer]Could not find prepared statement with handle 3.
    at weblogic.jdbc.base.BaseExceptions.createException(Unknown Source)
    at weblogic.jdbc.base.BaseExceptions.getException(Unknown Source)
    I've checked the database table and the row exisits with the appropriate PK (in this case a promotion with ID <2>).
    In the WL61 version the findByPrimaryKey was explicitly defined in the weblogic-cmp-rdbms-jar.xml as follows:
    <finder>
    <method-name>findByPrimaryKey</method-name>
    <method-params>
    <method-param>com.fujitsu.ftxs.corema.server.PromotionPK</method-param>
    </method-params>
    <finder-query><![CDATA[ (= $0 promotionId) ]]></finder-query>
    <finder-expression>
    <expression-number>0</expression-number>
    <expression-text><![CDATA[@0.promotionId]]></expression-text>
    <expression-type>int</expression-type>
    </finder-expression>
    </finder
    But I understand that with WL81 I should no longer define this - it's done implicitly - so I've removed this finder definition.
    Any help appreciated. Thanks,
    - Andy Abel

    I fixed it by switching from the using the BEA driver:-
    DriverName="weblogic.jdbc.sqlserver.SQLServerDriver"
    URL="jdbc:bea:sqlserver://host:1433"
    And using the Microsoft Driver instead:-
    DriverName="com.microsoft.jdbc.sqlserver.SQLServerDriver"
    url=jdbc:microsoft:sqlserver://host:1433
    If anyone can explain why the Microsoft Driver works and the BEA driver does not I'd like to know.
    Thanks,
    - Andy Abel

  • Could not find prepared statement with handle %.

    Greetings. I've seen several posts for this error on the web, but no clear cut answers. I captured the code below in profiler, with the intention of replaying in mgmt studio.
    However, the attempt end in the following error: "Could not find prepared statement with handle 612."
    declare @p1 int
    set @p1=612
    declare @p2 int
    set @p2=0
    declare @p7 int
    set @p7=0
    exec sp_cursorprepexec @p1 output,@p2 output,N'@P0 int,@P1 int,@P2 int,@P3 int,@P4 bit',N'EXEC dbo.mySproc @P0,@P1,@P2,@P3,@P4 ',4112,8193,@p7 output,219717,95,NULL,1,0
    select @p1, @p2, @p7
    Something noteworthy is that my sproc only has 5 input parameters, but this makes it look like it has many more.
    How do I manipulate the code enough to make it work in mgmt studio? Thanks!
    TIA, ChrisRDBA

    In profiler you would normally see RPC:Starting and RPC:Completed. The statement shown in RPC staring is what you need to pick because as Erland explained, completed would show "funky" behavior.
    Balmukund Lakhani | Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
    This posting is provided "AS IS" with no warranties, and confers no rights.
    My Blog |
    Team Blog | @Twitter
    Author: SQL Server 2012 AlwaysOn -
    Paperback, Kindle

  • TNS:listener could not find available handler with matching protocol stack

    Hi,
    I am getting the following stack trace in b2b.log file:
    2009.01.06 at 14:34:35:869: Thread-108: BusinessLogicLayer - (ERROR) caught error: Error -: AIP-13002: SQL error getting the DataSource
    2009.01.06 at 14:34:35:870: Thread-108: IP - (ERROR) java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12516, TNS:listener could not find available handler with matching protocol stack
    The Connection descriptor used by the client was:
    (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))(LOAD_BALANCE=yes)(CONNECT_DATA=(SERVICE_NAME=test)))
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:137)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:292)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:327)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:429)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:150)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:31)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:608)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:217)
         at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPhysicalConnection(OracleConnectionPoolDataSource.java:113)
         at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:76)
         at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:58)
         at oracle.jdbc.pool.OracleConnectionCacheImpl.getNewPoolOrXAConnection(OracleConnectionCacheImpl.java:493)
         at oracle.jdbc.pool.OracleConnectionCacheImpl.getPooledConnection(OracleConnectionCacheImpl.java:368)
         at oracle.jdbc.pool.OracleConnectionCacheImpl.getConnection(OracleConnectionCacheImpl.java:306)
         at oracle.jdbc.pool.OracleConnectionCacheImpl.getConnection(OracleConnectionCacheImpl.java:285)
         at oracle.tip.buslogic.common.DBConnectivity.getConnection(DBConnectivity.java:151)
         at oracle.tip.buslogic.common.ExecutionContextImpl.getService(ExecutionContextImpl.java:379)
         at oracle.tip.buslogic.common.ExecutionContextImpl.setRuntimeActiveandQuiescing(ExecutionContextImpl.java:799)
         at oracle.tip.adapter.b2b.data.B2BExecutionContext.setRuntimeActiveAndQuiescing(B2BExecutionContext.java:130)
         at oracle.tip.adapter.b2b.data.B2BExecutionContext.activate(B2BExecutionContext.java:98)
         at oracle.tip.adapter.b2b.data.DBContext.initialize(DBContext.java:90)
         at oracle.tip.adapter.b2b.data.DataContext.getNewDBContext(DataContext.java:365)
         at oracle.tip.adapter.b2b.data.DataContext.getDBContext(DataContext.java:346)
         at oracle.tip.adapter.b2b.transport.InterfaceListener.onMessage(InterfaceListener.java:232)
         at oracle.tip.transport.basic.FileSourceMonitor.processMessages(FileSourceMonitor.java:858)
         at oracle.tip.transport.basic.FileSourceMonitor.run(FileSourceMonitor.java:302)
    When I ran the enquire script. I am getting the following exception:
    IPEnqueue start...
    Action Name = null
    oracle.jms.AQjmsException: ORA-00600: internal error code, arguments: [kwqbgqc: bad state], [1], [1], [], [], [], [], []
    ORA-06512: at "SYS.DBMS_AQIN", line 454
    ORA-06512: at line 1
    at oracle.jms.AQjmsProducer.enqueue(AQjmsProducer.java:1180)
    at oracle.jms.AQjmsProducer.publish(AQjmsProducer.java:1407)
    at oracle.jms.AQjmsProducer.publish(AQjmsProducer.java:1512)
    at oracle.tip.adapter.b2b.data.IPEnqueue.main(IPEnqueue.java:201)
    [Linked-exception]
    java.sql.SQLException: ORA-00600: internal error code, arguments: [kwqbgqc: bad state], [1], [1], [], [], [], [], []
    ORA-06512: at "SYS.DBMS_AQIN", line 454
    ORA-06512: at line 1
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:124)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:315)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:281)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:638)
    at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:183)
    at oracle.jdbc.driver.T4CCallableStatement.execute_for_rows(T4CCallableStatement.java:872)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1085)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2983)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3025)
    at oracle.jms.AQjmsProducer.enqueue(AQjmsProducer.java:1110)
    at oracle.jms.AQjmsProducer.publish(AQjmsProducer.java:1407)
    at oracle.jms.AQjmsProducer.publish(AQjmsProducer.java:1512)
    at oracle.tip.adapter.b2b.data.IPEnqueue.main(IPEnqueue.java:201)
    Error -: AIP-13121: Connection-related error. Please verify that the database server is running.: java.sql.SQLException: Closed Connection
    at oracle.tip.buslogic.common.SessionDownException.isSessionDown(SessionDownException.java:96)
    at oracle.tip.common.IPException.initIPException(IPException.java:179)
    at oracle.tip.common.IPException.<init>(IPException.java:114)
    at oracle.tip.repos.core.persistency.DCException.<init>(DCException.java:68)
    at oracle.tip.repos.core.driver.CatalogDriver.disconnect(CatalogDriver.java:1666)
    at oracle.tip.repos.core.persistency.PersistencyService.disconnect(PersistencyService.java:578)
    at oracle.tip.buslogic.common.ExecutionContextImpl.disconnectService(ExecutionContextImpl.java:602)
    at oracle.tip.buslogic.common.ExecutionContextManager.cleanContextResources(ExecutionContextManager.java:629)
    at oracle.tip.buslogic.common.ExecutionContextManager.leaveContext(ExecutionContextManager.java:581)
    at oracle.tip.buslogic.common.ExecutionContextManager.leaveContext(ExecutionContextManager.java:720)
    at oracle.tip.adapter.b2b.data.IPEnqueue.main(IPEnqueue.java:245)
    Caused by: java.sql.SQLException: Closed Connection
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:124)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:161)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:226)
    at oracle.jdbc.driver.PhysicalConnection.rollback(PhysicalConnection.java:1041)
    at oracle.jdbc.OracleConnectionWrapper.rollback(OracleConnectionWrapper.java:90)
    at oracle.tip.repos.core.driver.CatalogDriver.disconnect(CatalogDriver.java:1662)
    ... 6 more
    I tested the database and it was up. Any help is appreciated.

    You may be interested in http://www.tek-tips.com/viewthread.cfm?qid=1368266&page=10

  • Could not find prepared statement with handle 1.

    [Macromedia][SQLServer JDBC Driver][SQLServer]Could not find prepared statement with handle 1.
    I'm getting this error message in what appear to be random ways. The first time I look at a page I might not get it, but the second time I might. I discovered that removing a cfqueryparam tag worked, but that is not really a safe solution. I checked that the cf_sql_type matched the database field, and in one case changed a cf_sql_varchar to a cf_sql_char so it would match a SQL Server nchar(10) field. But still these errors. Any ideas? I've not had any luck Googling this.
    I should add that I'm running Coldfusion 9 as a Tomcat webapp on a Linux server. The database is SQL Server 2005, I think.

    Here's the one that is breaking now:
    <cfquery name="CheckCredentials" datasource="#application.crossreg_dsn#">
                                            SELECT [name_first]+' '+[name_last] as name
                                                        ,p.[uni]
                                                        ,p.email
                                                        ,p.role_id
                                                         ,r.role_name
                                                      ,p.external_program_id
                                              FROM [CrossReg].[dbo].[People] p
                                               INNER JOIN dbo.Roles r on r.role_id = p.role_id
                                              WHERE uni = <cfqueryparam cfsqltype="cf_sql_char" value="#Session.username#">
    </cfquery>
    Session.username is being returned from a CAS authentication system. I've never had troubles with it before.

  • TS2755 I have an iPhone 5 and am experiencing problems with receiving photos in iMessage from other iPhone users.  I have been to the Apple store and the genius could not find anything wrong with my set up.  suggestions anyone?

    My iphone 5 is receiving photos from other iphones as text, not imessage...the genius at the apple store did not find any problems.  suggestions anyone?

    - On her iPod go to Settings>iCloud  and turn off contacts and other things if you want.
    - On the iPod go to Settings>Messages>Send and Receive and add here own email address and delete the Apple ID email address. Also uncheck yur phone number if it appears. The only way to delete the phone number is to use an Apple ID not associated with the phone. You do that in Settings>Messages>Apple ID
    You can go to Settings>FaceTime>Yu can be reached at and add here email and delete the Apple ID.

  • I did not find a problem with any solution for my 3gs phone What is the solution for you!!

    IPhone 3gs is open internationally and does not accept activation after the
    update oi5 brother..
    You may peace and God's mercy and blessings
    The problem in short was not able to activate the device  3gs
    IPhone open. Not locked
    Tried by the Wi-Fi and through iTunes I could not
    According to iTunes SIM  message  is found in several segments of tried and I could not activate
    Is there a solution for the operation of the device or restore the previous version ???????
    What is the solution

    What is the solution

  • Could not find value to a key (sql server 2012)

    hi guys . look i have problem here. i already safely installed sql server 2012 64 bit . but when come to sql managament studio , it always appear error "could not write a value to a key " something like that. plus i already run it as administator
    and already set HKEY to full control. yet it still appear the same. someone please help me . 

    hi guys . look i have problem here. i already safely installed sql server 2012 64 bit . but when come to sql managament studio , it always appear error "could not write a value to a key " something like that. plus i already run it as administator
    and already set HKEY to full control. yet it still appear the same. someone please help me . 
    Hi,
    Was your error like Could not write value to key \SOFTWARE. Error code: 1406 if so this is Not a problem with SQL server possible causes for this kind of issue is
    1. Antivrus running. Please stop antivirus for period of install
    2. Some kind or registry scanner software, adware, some scanning software running on your windows machine which is blocking access to registry. Below link has same issue see answer given by Michpol
    http://social.technet.microsoft.com/Forums/sqlserver/en-US/41dec503-ce0a-40e1-ae5f-363452890d48/sql-server-management-tools-could-not-write-value-to-key-software-error-code-1406?forum=sqltools
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

  • Javah error: could not find class file for 'com.ntv.ndkjni'

    Hi,
    My project directory  : C:\ndkJNI
    My java file directory : C:\ndkJNI\src\com\ntv\ndkjni
    My package name    : com.ntv.ndkjni
    1 ) I entry command prompt at C:\ndkJNI\src\com\ntv\ndkjni
    2 ) Javac test.java and create test.class succesfully. test.class is in  C:\ndkJNI\src\com\ntv\ndkjni folder.
    3 ) Later I used Javah, try below javah variously
         a)  javah -classpath C:\ndkJNI\src\com\ntv\ndkjni test
         b)  javah -classpath C:\ndkJNI\src\com\ntv\ndkjni.test
         x) javah -classpath C:\ndkJNI\src\com\ntv\ndkjni com.ntv.ndkjni.test
         y) javah -classpath C:\ndkJNI\src\com\ntv\ndkjni com.ntv.ndkjni test
         c)  javah -classpath C:\ndkJNI\src\com\ntv\ndkjni com.ntv.ndkjni.test
         d)  javah  com.ntv.ndkjni.test
         e) javah  com.ntv.ndkjni test
         f) javah  com.ntv.ndkjni test.class-> (error: exception in a thread illegal argument exception)
    I am searching  for 5 day. I couldnt find solution. I try different computer. I tried ubuntu and win8, the error still with me.
    Thats interesting when I delete the package com.ntv.ndkjni; from java file,  then create class file again with javac then javah can create header file succesfully.
    Please help me.
    *****************************test.java**************************
    package com.ntv.ndkjni;
    public class test {
      static
      System.loadLibrary("hello");
        public static native int toplama(int sayi1,int sayi2);

    javah takes a fully qualified class name so in your case that would be
    com.ntv.ndkjni.test
    As with all things related to java the class path is used to resolve the class based on the fully qualified name.  The name resolves STARTING at the path and then attempts to find the class BELOW the classpath by resolving the name.
    Because of that your class path should be the following
    C:\ndkJNI\src

  • Why when Apple could not find my problem while it was under warranty must I know pay for support after the warranty is up now that the problem is known it was misdiagnosed?

    I brought my macbook pro into the the apple store and left if overnight around 6 weeks ago (warranty expired 3 weeks ago). They did everything that I DO at home and found nothing that was causing my infinite pinwheel. Since the pinwheel is typically hardware related, I want to know why more was not done considering my macbook pro was kept over night. It seems that there is some hardware failing. I reinstalled the OS to help and it did for about 2 weeks, but now, everything is back to pinwheel. I don't care if I have to pay for the Hard drive replacement, but I had zero resolution.
    I already
    - reinstalled OS
    - repaired disk (there were some corrupt areas)
    - repaired disk permissions (which is what the genius did)
    - booted into safe mode and restarted
    - turned power management off for the graphics (this did speed up the macbook a little)
    besides my pinwheel, here are a few other symptoms
    - when I click on the apple, it takes 5 seconds for the menu to show. in fact, it takes that long for any menu from the bar to show.
    - when I try to open pages or word, it takes aroud 45 seconds
    - using file open for browseing causes pinwheel
    - when i try switching to an open program for editting (pages and word), the menu does not change to active application
    - clicking on + to add a tab in safari causing pinwheel
    - at log in screen, when attempting to type password, the first character causes pinwheel for over 1 minute.
    - Once I am "logged in" when my desktop begins to show, any attempt to click on the apple logo to pull up system info or start activity monitor causs several minutes of pinwheel.
    - cmd-tab does not work when pinwheel is showing
    - 10 minutes after boot, nothing continues to respond
    Now, the one thing I shoudl point out...the macbook was hanging during itunes update and now the persmissions cannot be fixed.
    Here is the real kicker. I have bootcamp installed with windows 7. Everything works as designed in windows. No hangs, no freezes, fast apps, good video. In fact, I can listen to itunes, while havingt every MS office application open and multitask in them all with no system degredation.
    So my real question that apple cannot answer and maybe a real genius can...How can I get my macbook to run as intended.
    Can a Hard drive that is on the verge of breaking run the partitions and operating systems so differently? Is this what happens to the stage coach (macbook pro) at midnight (expired warranty)...it turns into a pumpkin (windows laptop). 
    Thanks for reading my vent and thanks in advance for any help.

    I am very happy to report that my server connection tech, which I called via landline, informed me to : 1. Open Tools 2. Scan down to Clear Recent History 3. Delete All. That was it! Unbelievable! Six hours of searching through the Windows catagories. I checked the results on an internet site, and viola! It was gone! Mozilla Firefox seems to remember the usernames and passwords irregardless of the option window that asks if you if want it to remember the user and password. I finally got in touch with my friend and he said he did not answer yes to the window, even though he was aware of it. No damage. I surely do appreciate everyones' concern in this, now what seems to be, a very simple solution. Cudos to Firefox! Thank-you! P.S. I now have to enter my information at the beginning of any password protected sites...no harm done! My friend is now condemned to the 'user account' site! lol...

Maybe you are looking for