InvocationTargetException with ZendAMF

I'm trying to add a function to a PHP service class and I get an error in Flash Builder to the effect of:
InvocationTargetException: There was an error while invoking the operation.  Check you operation inputs or server code and try invoking the operation again.
Reason:
Notice: Undefined index: LogoService.getRecordNoForID in C:\wamp\www\ZendFramework\library\Zend\Amf\Server.php on line 327
Fatal error: Call to a member function getInvokeArguments() on a non-object in c:\wamp\www\ZendFramework\library\Zend\Amf\Server.php on line 328
It appears that the function isn't in some list that gets passed to ZendAMF, but I list the properties of the service and it shows in the service operations list.
Anyone have any ideas?

After adding the function in php class. Did you refresh the service from Data Services panel in Flash Builder? 

Similar Messages

  • Error while updating Targets-Server : java.lang.reflect.InvocationTargetException

    Hi,
    I got this error below when i try to deploy my ejb.It's happen when i select the
    targets-server in weblogic console. Can anyone help me please?
    Thank you in advance.
    Sukanya
    java.lang.reflect.InvocationTargetException: javax.management.RuntimeOperationsException:
    RuntimeException thrown by the invoke method of the Dynamic MBean
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
         at $Proxy10.addDeployment(Unknown Source)
         at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1516)
         at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:895)
         at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)
         at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:295)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
         at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
         at $Proxy76.setTargets(Unknown Source)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
         at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:135)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    --------------- nested within: ------------------
    weblogic.management.console.utils.SetException: An error occurred while updating
    Targets-Server on Proxy for mydomain:Application=Wallet,Name=wallet-ejb,Type=EJBComponent
    - with nested exception:
    [java.lang.reflect.InvocationTargetException - with target exception:
    [javax.management.RuntimeOperationsException: RuntimeException thrown by the invoke
    method of the Dynamic MBean]]
         at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:151)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

    Hi Sukanya,
    Could you please tell me how u solved this error?
    I am also getting the same error!!!
    Sherry.

  • Using updated tools with WLS 8.1 SP3

    I'm attempting to take advantage of some ant 1.6 features. However, it appears that the ant XML parsers are getting in the way of the embedded WLS xml parsers:
    [servicegen] java.lang.ClassCastException
    [servicegen] at weblogic.apache.xerces.parsers.SAXParser.<init>(SAXParser.java:140)
    [servicegen] at weblogic.apache.xerces.parsers.SAXParser.<init>(SAXParser.java:125)
    [servicegen] at weblogic.apache.xerces.jaxp.SAXParserImpl.<init>(SAXParserImpl.java:102)
    [servicegen] at weblogic.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParserImpl(SAXParserFactoryImpl.java:112)
    [servicegen] at weblogic.apache.xerces.jaxp.SAXParserFactoryImpl.setFeature(SAXParserFactoryImpl.java:140)
    [servicegen] at weblogic.xml.jaxp.WebLogicSAXParserFactory.setFeature(WebLogicSAXParserFactory.java:56)
    [servicegen] weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Cannot invoke boolean constructor of processor ] - with nested exception:
    [servicegen] [java.lang.reflect.InvocationTargetException - with target exception:
    [servicegen] [weblogic.utils.AssertionError: ***** ASSERTION FAILED ***** - with nested exception:
    [servicegen] [java.lang.ClassCastException]]]
    Based on some research this appears to be an issue with WLS getting a parser that it cannot handle. Given that the version of ant included with 8.1sp3 is pretty old, is there a way to use newer versions? I'm giving up for now on macrodef's but would, as a general statement, like to keep up with new tools as they become available. I'd like to not be dependent on turning a battleship to incorporate 15 months of development work (the time between now and the release of ant 1.5.3 as included with 8.1sp3).
    Thanks for any information.

    Had some problems like this before. Even thought I cannot offer specific advice as to how to fix this. If you do this, it could help.
    Encountered a problem in eclipse while using WLS servicegen ANT task and, of course, the optional FTP task. I am using Eclipse Version: 3.0.0 Build id: 200406192000. With this comes ANT 1.6.1 standard. In order to get servicegen ANT task working I had to include the weblogic.jar in the ANT Classpath. Ofcourse this had another side effect, the FTP task that used to work earlier quit working. I still havent figured out the root cause of the problem but inorder to get around I did the following. To fix this, I added a new Task called FTP, I picked the c:\....\lib\ant-commons-net.jar in the location. The name I retained it as ftp. In the left page, I nagivated down to the lead of the tree [root]/->org->apache->...->net and in the right pane, I chose FTP. After this step when I ran I ran into an odd error Buildfile: C:\Work\JSSE-EJB.xml BUILD FAILED: java.lang.NoClassDefFoundError: com/oroinc/net/ftp/FTP Total time: 78 milliseconds I was under the impression that this is a legacy component and that the new version of the net component has org.apache....FTP structure. I am really not sure where, but to fix the issue, I had to get the NetComponents.jar from http://www.savarese.org/downloads/NetComponents/ and included it in the classpath. After this step, presto, servicegen task works fine with FTP task. However, I cannot imagine doing this for all the optional tasks. But for now there is a winding work around.

  • LDAP PropertySet with Anonymous Authentication

    Please,
    I would like to know how can I set up ldap property set for WLP 4.0 using MS Exchange
    5.5 Ldap Server with anonymous bind. If I put no values at Principal and Password
    Principal in LdapPropertyManager EJB, I got several errors as NullPointerExceptions.
    There is no admin and the customer does not want using exchange passwords at weblogic
    console.
    Thanks a lot
    Marco Righetti

    Marco,
    Looks like you have a key with no value in the EJB context, did you try
    removing the key as well?
    Sincerely,
    Daniel Selman
    "Marco Righetti" <[email protected]> wrote in message
    news:[email protected]...
    >
    Thanks for your reply. This is the stacktrace...
    weblogic.utils.AssertionError: ***** ASSERTION FAILED ***** - with nestedexception:
    [java.lang.reflect.InvocationTargetException - with target exception:
    [java.lang.NullPointerException]]
    atweblogic.ejb20.deployer.EnvironmentBuilder.getValue(EnvironmentBuilder.java:
    122)
    atweblogic.ejb20.deployer.EnvironmentBuilder.addEnvironmentEntries(Environment
    Builder.java:144)
    atweblogic.ejb20.deployer.Deployer.setupEnvironmentContext(Deployer.java:200)
    at weblogic.ejb20.deployer.Deployer.deployDescriptor(Deployer.java:1228)
    at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:947)
    at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:30)
    at weblogic.j2ee.Application.deploy(Application.java:247)
    at weblogic.j2ee.J2EEService.deployApplication(J2EEService.java:185)
    atweblogic.management.mbeans.custom.Application.setLocalDeployed(Application.j
    ava:362)
    atweblogic.management.mbeans.custom.Application.setDeployed(Application.java:2
    96)
    at java.lang.reflect.Method.invoke(Native Method)
    atweblogic.management.internal.DynamicMBeanImpl.invokeSetter(DynamicMBeanImpl.
    java:1388)
    atweblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.
    java:881)
    atweblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.
    java:847)
    atweblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Configurati
    onMBeanImpl.java:295)
    atcom.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:135
    6)
    atcom.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:133
    1)
    atweblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(Confi
    gurationMBeanImpl.java:392)
    atweblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Configurati
    onMBeanImpl.java:298)
    atcom.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:135
    6)
    atcom.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:133
    1)
    atweblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
    at $Proxy19.setDeployed(Unknown Source)
    at java.lang.reflect.Method.invoke(Native Method)
    atweblogic.management.console.info.MBeanAttribute.doSet(MBeanAttribute.java:84
    atweblogic.management.console.info.CompositeAttribute.doSet(CompositeAttribute
    .java:100)
    atweblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMB
    eanAction.java:135)
    atweblogic.management.console.actions.internal.ActionServlet.doAction(ActionSe
    rvlet.java:171)
    atweblogic.management.console.actions.internal.ActionServlet.doPost(ActionServ
    let.java:85)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :265)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :200)
    atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:2495)
    atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2204)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    >
    ####<May 16, 2002 4:29:17 PM BRT> <Error> <Management> <dctm><portalServer> <ExecuteThread:
    '1' for queue: '__weblogic_admin_html_queue'> <system> <> <140002><InvocationTargetException
    setting attribute Deployed on MBeanavitekDomainOracle:Location=portalServer,Name=avitek,Type=ApplicationConfig
    to value true. Method: public voidweblogic.management.mbeans.custom.Application.setDeployed(boolean)
    throwsweblogic.management.DeploymentException,weblogic.management.UndeploymentExce
    ption>
    >
    >
    >
    Unable to deploy EJB: LdapPropertyManager from ldapprofile.jar:
    java.lang.reflect.InvocationTargetException:java.lang.NullPointerException
    at java.lang.String.<init>(String.java:193)
    at java.lang.reflect.Constructor.newInstance(Native Method)
    atweblogic.ejb20.deployer.EnvironmentBuilder.getValue(EnvironmentBuilder.java:
    119)
    atweblogic.ejb20.deployer.EnvironmentBuilder.addEnvironmentEntries(Environment
    Builder.java:144)
    atweblogic.ejb20.deployer.Deployer.setupEnvironmentContext(Deployer.java:200)
    at weblogic.ejb20.deployer.Deployer.deployDescriptor(Deployer.java:1228)
    at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:947)
    at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:30)
    at weblogic.j2ee.Application.deploy(Application.java:247)
    at weblogic.j2ee.J2EEService.deployApplication(J2EEService.java:185)
    atweblogic.management.mbeans.custom.Application.setLocalDeployed(Application.j
    ava:362)
    atweblogic.management.mbeans.custom.Application.setDeployed(Application.java:2
    96)
    at java.lang.reflect.Method.invoke(Native Method)
    atweblogic.management.internal.DynamicMBeanImpl.invokeSetter(DynamicMBeanImpl.
    java:1388)
    atweblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.
    java:881)
    atweblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.
    java:847)
    atweblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Configurati
    onMBeanImpl.java:295)
    atcom.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:135
    6)
    atcom.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:133
    1)
    atweblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(Confi
    gurationMBeanImpl.java:392)
    atweblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Configurati
    onMBeanImpl.java:298)
    atcom.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:135
    6)
    atcom.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:133
    1)
    atweblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
    at $Proxy19.setDeployed(Unknown Source)
    at java.lang.reflect.Method.invoke(Native Method)
    atweblogic.management.console.info.MBeanAttribute.doSet(MBeanAttribute.java:84
    atweblogic.management.console.info.CompositeAttribute.doSet(CompositeAttribute
    .java:100)
    atweblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMB
    eanAction.java:135)
    atweblogic.management.console.actions.internal.ActionServlet.doAction(ActionSe
    rvlet.java:171)
    atweblogic.management.console.actions.internal.ActionServlet.doPost(ActionServ
    let.java:85)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :265)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :200)
    atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:2495)
    atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2204)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    --------------- nested within: ------------------
    weblogic.utils.AssertionError: ***** ASSERTION FAILED ***** - with nestedexception:
    [java.lang.reflect.InvocationTargetException - with target exception:
    [java.lang.NullPointerException]]
    atweblogic.ejb20.deployer.EnvironmentBuilder.getValue(EnvironmentBuilder.java:
    122)
    atweblogic.ejb20.deployer.EnvironmentBuilder.addEnvironmentEntries(Environment
    Builder.java:144)
    atweblogic.ejb20.deployer.Deployer.setupEnvironmentContext(Deployer.java:200)
    at weblogic.ejb20.deployer.Deployer.deployDescriptor(Deployer.java:1228)
    at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:947)
    at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:30)
    at weblogic.j2ee.Application.deploy(Application.java:247)
    at weblogic.j2ee.J2EEService.deployApplication(J2EEService.java:185)
    atweblogic.management.mbeans.custom.Application.setLocalDeployed(Application.j
    ava:362)
    atweblogic.management.mbeans.custom.Application.setDeployed(Application.java:2
    96)
    at java.lang.reflect.Method.invoke(Native Method)
    atweblogic.management.internal.DynamicMBeanImpl.invokeSetter(DynamicMBeanImpl.
    java:1388)
    atweblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.
    java:881)
    atweblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.
    java:847)
    atweblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Configurati
    onMBeanImpl.java:295)
    atcom.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:135
    6)
    atcom.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:133
    1)
    atweblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(Confi
    gurationMBeanImpl.java:392)
    atweblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Configurati
    onMBeanImpl.java:298)
    atcom.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:135
    6)
    atcom.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:133
    1)
    atweblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
    at $Proxy19.setDeployed(Unknown Source)
    at java.lang.reflect.Method.invoke(Native Method)
    atweblogic.management.console.info.MBeanAttribute.doSet(MBeanAttribute.java:84
    atweblogic.management.console.info.CompositeAttribute.doSet(CompositeAttribute
    .java:100)
    atweblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMB
    eanAction.java:135)
    atweblogic.management.console.actions.internal.ActionServlet.doAction(ActionSe
    rvlet.java:171)
    atweblogic.management.console.actions.internal.ActionServlet.doPost(ActionServ
    let.java:85)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :265)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :200)
    atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:2495)
    atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2204)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:1029)
    at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:30)
    at weblogic.j2ee.Application.deploy(Application.java:247)
    at weblogic.j2ee.J2EEService.deployApplication(J2EEService.java:185)
    atweblogic.management.mbeans.custom.Application.setLocalDeployed(Application.j
    ava:362)
    atweblogic.management.mbeans.custom.Application.setDeployed(Application.java:2
    96)
    at java.lang.reflect.Method.invoke(Native Method)
    atweblogic.management.internal.DynamicMBeanImpl.invokeSetter(DynamicMBeanImpl.
    java:1388)
    atweblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.
    java:881)
    atweblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.
    java:847)
    atweblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Configurati
    onMBeanImpl.java:295)
    atcom.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:135
    6)
    atcom.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:133
    1)
    atweblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(Confi
    gurationMBeanImpl.java:392)
    atweblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Configurati
    onMBeanImpl.java:298)
    atcom.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:135
    6)
    atcom.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:133
    1)
    atweblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
    at $Proxy19.setDeployed(Unknown Source)
    at java.lang.reflect.Method.invoke(Native Method)
    atweblogic.management.console.info.MBeanAttribute.doSet(MBeanAttribute.java:84
    atweblogic.management.console.info.CompositeAttribute.doSet(CompositeAttribute
    .java:100)
    atweblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMB
    eanAction.java:135)
    atweblogic.management.console.actions.internal.ActionServlet.doAction(ActionSe
    rvlet.java:171)
    atweblogic.management.console.actions.internal.ActionServlet.doPost(ActionServ
    let.java:85)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :265)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :200)
    atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:2495)
    atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2204)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Regards,
    Marco

  • Unable to deploy Web App in Exploded format

    Using WLS 6.1 sp2, I am unable to deploy a web application successfully using the
    web app "ora" from http://www.thejspbook.com/examples.jspbook.zip. I've moved
    the /ora directory under the /WEB-INF/applications directory.
    The error I am getting is:
    java.lang.reflect.InvocationTargetException: weblogic.management.DistributedManagementException:
    Distributed Management [1 exceptions]
         at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:543)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:361)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
         at $Proxy9.addDeployment(Unknown Source)
         at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1516)
         at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:895)
         at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)
         at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:295)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
         at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
         at $Proxy18.setTargets(Unknown Source)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
         at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:135)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2503)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Distributed update exception
    - remote object: efs-developer3:Location=efsserver,Name=efsserver,Type=ServerConfig
    - remote server: weblogic.management.internal.RemoteMBeanServerImpl@5420eb
    - actionName: addDeployment
    - params: [Ljava.lang.Object;@10c03e
    - signature: [Ljava.lang.String;@3d4a20
    Distributed update exception
    - remote object: efs-developer3:Location=efsserver,Name=efsserver,Type=ServerConfig
    - remote server: weblogic.management.internal.RemoteMBeanServerImpl@5420eb
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
         at java.lang.String.substring(String.java:1525)
         at weblogic.servlet.internal.WebAppHelper.resolveManifestName(WebAppHelper.java:476)
         at weblogic.servlet.internal.WebAppHelper.extractClassFiles(WebAppHelper.java:232)
         at weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebAppServletContext.java:3415)
         at weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServletContext.java:3384)
         at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContext.java:862)
         at weblogic.servlet.internal.WebAppServletContext.(WebAppServletContext.java:815)
         at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:428)
         at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
         at weblogic.j2ee.Application.addComponent(Application.java:163)
         at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
         at weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:76)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
         at $Proxy34.addWebDeployment(Unknown Source)
         at weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeployment(WebServerMBean_CachingStub.java:1121)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:315)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:491)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:361)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
         at $Proxy9.addDeployment(Unknown Source)
         at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1516)
         at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:895)
         at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)
         at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:295)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
         at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
         at $Proxy18.setTargets(Unknown Source)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
         at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:135)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2503)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    --------------- nested within: ------------------
    weblogic.j2ee.DeploymentException: Could not load ora - with nested exception:
    [java.lang.StringIndexOutOfBoundsException: String index out of range: -1]
         at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:431)
         at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
         at weblogic.j2ee.Application.addComponent(Application.java:163)
         at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
         at weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:76)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
         at $Proxy34.addWebDeployment(Unknown Source)
         at weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeployment(WebServerMBean_CachingStub.java:1121)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:315)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:491)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:361)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
         at $Proxy9.--------------- nested within: ------------------
    weblogic.management.console.utils.SetException: An error occurred while updating
    Targets-Server on Proxy for efs-developer3:Application=ora,Name=ora,Type=WebAppComponent
    - with nested exception:
    [java.lang.reflect.InvocationTargetException - with target exception:
    [weblogic.management.DistributedManagementException: Distributed Management [1
    exceptions]]]
         at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:151)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2503)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Any help is appreciated.
    Thanks,
    Dennis

    you are probably using a older version of 6.1. please use the latest service pack. Service Packs are mostly bug fix releases and they are safe to be upgraded even on production systems. Please note - we always recommend using the latest service pack
    http://www.sun.com/download/products.xml?id=47d5d3eb

  • Error in Deploying CMP Bean!!!

    i'm writing a CMP Bean. i wrote the Bean , home and remote interfaces. i'm using weblogic 7.0 as my application server.
    1. what is the default data base for the weblogic 7.0.
    2. should v create any table while deploying the CMP bean in a database. i think there is no need because the container will take care of it.
    3. what is the need of <Data-source-name> in the deployment descriptor file weblogic-cmp-ejb-jar.xml. this is a mandatory field. can i give a random name here? if not, how 2 create a data source name.
    please refer my deployment descriptor file.s
    <!DOCTYPE weblogic-rdbms-jar PUBLIC
    '-//BEA Systems, Inc.//DTD WebLogic 7.0.0 EJB RDBMS Persistence//EN'
    'http://www.bea.com/servers/wls700/dtd/weblogic-rdbms20-persistence-700.dtd'>
    <weblogic-rdbms-jar>
    <weblogic-rdbms-bean>
    <ejb-name>Product</ejb-name>
    <data-source-name>examples-dataSource-demoPool</data-source-name>
    <table-map>
    <table-name>TORDER</table-name>
    <field-map>
    <cmp-field>productID</cmp-field>
    <dbms-column>PRODUCTID</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>name</cmp-field>
    <dbms-column>NAME</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>description</cmp-field>
    <dbms-column>DESCRIPTION</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>basePrice</cmp-field>
    <dbms-column>BASEPRICE</dbms-column>
    </field-map>
    </table-map>
    </weblogic-rdbms-bean>
    <create-default-dbms-tables>True</create-default-dbms-tables>
    </weblogic-rdbms-jar>
    <?xml version="1.0"?>
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar>
    <enterprise-beans>
    <entity>
    <ejb-name>Product</ejb-name>
    <home>examples.ProductHome</home>
    <remote>examples.Product</remote>
    <ejb-class>examples.ProductBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.String</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
    <abstract-schema-name>ProductBean</abstract-schema-name>
    <cmp-field>
    <field-name>productID</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>name</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>description</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>basePrice</field-name>
    </cmp-field>
    <primkey-field>productID</primkey-field>
    <query>
    <query-method>
    <method-name>findByName</method-name>
    <method-params>
    <method-param>java.lang.String</method-param>
    </method-params>
    </query-method>
    <ejb-ql>
    <![CDATA[SELECT OBJECT(p) FROM ProductBean AS p WHERE p.name = ?1]]>
    </ejb-ql>
    </query>
    <query>
    <query-method>
    <method-name>findByDescription</method-name>
    <method-params>
    <method-param>java.lang.String</method-param>
    </method-params>
    </query-method>
    <ejb-ql>
    <![CDATA[SELECT OBJECT(p) FROM ProductBean AS p WHERE p.description = ?1]]>
    </ejb-ql>
    </query>
    <query>
    <query-method>
    <method-name>findByBasePrice</method-name>
    <method-params>
    <method-param>double</method-param>
    </method-params>
    </query-method>
    <ejb-ql>
    <![CDATA[SELECT OBJECT(p) FROM ProductBean AS p WHERE p.basePrice = ?1]]>
    </ejb-ql>
    </query>
    <query>
    <query-method>
    <method-name>findExpensiveProducts</method-name>
    <method-params>
    <method-param>double</method-param>
    </method-params>
    </query-method>
    <ejb-ql>
    <![CDATA[SELECT OBJECT(p) FROM ProductBean AS p WHERE p.basePrice > ?1]]>
    </ejb-ql>
    </query>
    <query>
    <query-method>
    <method-name>findCheapProducts</method-name>
    <method-params>
    <method-param>double</method-param>
    </method-params>
    </query-method>
    <ejb-ql>
    <![CDATA[SELECT OBJECT(p) FROM ProductBean AS p WHERE p.basePrice < ?1]]>
    </ejb-ql>
    </query>
    <query>
    <query-method>
    <method-name>findAllProducts</method-name>
    <method-params>
    </method-params>
    </query-method>
    <ejb-ql>
    <![CDATA[SELECT OBJECT(p) FROM ProductBean AS p WHERE p.productID IS NOT NULL]]>
    </ejb-ql>
    </query>
    </entity>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>Product</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>
    <?xml version="1.0"?>
    <!DOCTYPE weblogic-ejb-jar PUBLIC "-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB//EN" "http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd" >
    <weblogic-ejb-jar>
    <weblogic-enterprise-bean>
    <ejb-name>Product</ejb-name>
    <entity-descriptor>
    <entity-cache>
         <max-beans-in-cache>1000</max-beans-in-cache>
    </entity-cache>
    <persistence>
         <persistence-type>
         <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
         <type-version>6.0</type-version>
         <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
         </persistence-type>
         <persistence-use>
         <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
         <type-version>6.0</type-version>
         </persistence-use>
    </persistence>
    </entity-descriptor>
    <jndi-name>RemoteProductHome</jndi-name>
    </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    4. when i tried to deploy the following error occurs.. how to fix the errror.
    weblogic.management.ApplicationException: activate failed forrgcmp1
    Module Name: rgcmp1, Error: Exception activating module: EJBModule(rgcmp1,status=PREPARED)
    Unable to deploy EJB: Product from rgcmp1.jar:
    The DataSource with the JNDI name: examples-dataSource-demoPool could not be located. Please ensure that the DataSource has been deployed successfully and that the JNDI name in your EJB Deployment descriptor is correct.
    TargetException:
    Unable to deploy EJB: Product from rgcmp1.jar:
    The DataSource with the JNDI name: examples-dataSource-demoPool could not be located. Please ensure that the DataSource has been deployed successfully and that the JNDI name in your EJB Deployment descriptor is correct.
         at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:1097)
         at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:1078)
         at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:1144)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:764)
         at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:24)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)

    i tried to configure my data source and the following error occured.
    After opening the Admin console, in 'connection pool' i created a demo pool and deployed it.(i refered the samples (Weblogic) for doing this ...even to tell more precisely i did a copy/paste).
    Name : demopool
    URL : jdbc:pointbase:server://localhost/demo
    Driver Classname : com.pointbase.xa.xaDataSource
    Properties (key=value); ser=examples                DatabaseName=jdbc:pointbase:server://localhost/demo
    password: weblogic
    open sting password: weblogic
    then i tried to create the data source..
    Name: examples-dataSource-demoPool
    jndi name: rgexample
    pool name: demopool
    Row Prefetch Size : 48
    Stream Chunk Size : 256
    then the following error occured while deployment.
    java.lang.reflect.InvocationTargetException: weblogic.management.DistributedManagementException: Distributed Management [1 exceptions]
    Error creating data source
         at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:653)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:437)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
         at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:928)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:472)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:200)
         at $Proxy18.addDeployment(Unknown Source)
         at weblogic.management.internal.DynamicMBeanImpl.unprotectedUpdateDeployments(DynamicMBeanImpl.java:1802)
         at weblogic.management.internal.DynamicMBeanImpl.access$2(DynamicMBeanImpl.java:1755)
         at weblogic.management.internal.DynamicMBeanImpl$2.run(DynamicMBeanImpl.java:1733)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
         at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1729)
         at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:1053)
         at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:371)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)
         at weblogic.management.internal.RemoteMBeanServerImpl.setAttribute(RemoteMBeanServerImpl.java:874)
         at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:326)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:195)
         at $Proxy14.setTargets(Unknown Source)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
         at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:145)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1075)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:418)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5517)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3156)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2506)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
    Distributed update exception
    - remote object: RaghuDomain:Location=egserver,Name=egserver,Type=ServerConfig
    - remote server: weblogic.management.internal.RemoteMBeanServerImpl@673498
    - actionName: addDeployment
    - params: [Ljava.lang.Object;@19f294
    - signature: [Ljava.lang.String;@4f787
    Distributed update exception
    - remote object: RaghuDomain:Location=egserver,Name=egserver,Type=ServerConfig
    - remote server: weblogic.management.internal.RemoteMBeanServerImpl@673498
    java.lang.Exception: weblogic.common.ResourceException: DataSource(rgexample) can't be created with non-existent Pool (connection or multi) (demopool)
         at weblogic.jdbc.common.internal.JdbcInfo.validateConnectionPool(JdbcInfo.java:126)
         at weblogic.jdbc.common.internal.JdbcInfo.startDataSource(JdbcInfo.java:262)
         at weblogic.jdbc.common.internal.JDBCService.addDeploymentx(JDBCService.java:293)
         at weblogic.jdbc.common.internal.JDBCService.addDeployment(JDBCService.java:270)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:375)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:154)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:750)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:732)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:435)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
         at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:928)
         at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:596)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:437)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
         at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:928)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:472)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:200)
         at $Proxy18.addDeployment(Unknown Source)
         at weblogic.management.internal.DynamicMBeanImpl.unprotectedUpdateDeployments(DynamicMBeanImpl.java:1802)
         at weblogic.management.internal.DynamicMBeanImpl.access$2(DynamicMBeanImpl.java:1755)
         at weblogic.management.internal.DynamicMBeanImpl$2.run(DynamicMBeanImpl.java:1733)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
         at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1729)
         at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:1053)
         at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:371)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)
         at weblogic.management.internal.RemoteMBeanServerImpl.setAttribute(RemoteMBeanServerImpl.java:874)
         at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:326)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:195)
         at $Proxy14.setTargets(Unknown Source)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
         at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:145)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1075)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:418)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5517)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3156)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2506)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
         at weblogic.jdbc.common.internal.JdbcInfo.startDataSource(JdbcInfo.java:286)
         at weblogic.jdbc.common.internal.JDBCService.addDeploymentx(JDBCService.java:293)
         at weblogic.jdbc.common.internal.JDBCService.addDeployment(JDBCService.java:270)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:375)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:154)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:750)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:732)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:435)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
         at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:928)
         at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:596)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:437)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
         at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:928)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:472)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:200)
         at $Proxy18.addDeployment(Unknown Source)
         at weblogic.management.internal.DynamicMBeanImpl.unprotectedUpdateDeployments(DynamicMBeanImpl.java:1802)
         at weblogic.management.internal.DynamicMBeanImpl.access$2(DynamicMBeanImpl.java:1755)
         at weblogic.management.internal.DynamicMBeanImpl$2.run(DynamicMBeanImpl.java:1733)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
         at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1729)
         at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:1053)
         at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:371)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)
         at weblogic.management.internal.RemoteMBeanServerImpl.setAttribute(RemoteMBeanServerImpl.java:874)
         at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:326)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:195)
         at $Proxy14.setTargets(Unknown Source)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
         at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:145)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1075)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:418)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5517)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3156)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2506)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
    --------------- nested within: ------------------
    weblogic.management.DeploymentException: Error creating data source - with nested exception:
    [java.lang.Exception: weblogic.common.ResourceException: DataSource(rgexample) can't be created with non-existent Pool (connection or multi) (demopool)
         at weblogic.jdbc.common.internal.JdbcInfo.validateConnectionPool(JdbcInfo.java:126)
         at weblogic.jdbc.common.internal.JdbcInfo.startDataSource(JdbcInfo.java:262)
         at weblogic.jdbc.common.internal.JDBCService.addDeploymentx(JDBCService.java:293)
         at weblogic.jdbc.common.internal.JDBCService.addDeployment(JDBCService.java:270)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:375)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:154)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:750)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:732)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:435)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
         at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:928)
         at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:596)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:437)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
         at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:928)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:472)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:200)
         at $Proxy18.addDeployment(Unknown Source)
         at weblogic.management.internal.DynamicMBeanImpl.unprotectedUpdateDeployments(DynamicMBeanImpl.java:1802)
         at weblogic.management.internal.DynamicMBeanImpl.access$2(DynamicMBeanImpl.java:1755)
         at weblogic.management.internal.DynamicMBeanImpl$2.run(DynamicMBeanImpl.java:1733)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
         at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1729)
         at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:1053)
         at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:371)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)
         at weblogic.management.internal.RemoteMBeanServerImpl.setAttribute(RemoteMBeanServerImpl.java:874)
         at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:326)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:195)
         at $Proxy14.setTargets(Unknown Source)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
         at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:145)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1075)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:418)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5517)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3156)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2506)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
         at weblogic.jdbc.common.internal.JDBCService.addDeploymentx(JDBCService.java:295)
         at weblogic.jdbc.common.internal.JDBCService.addDeployment(JDBCService.java:270)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:375)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:154)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:750)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:732)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:435)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
         at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:928)
         at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:596)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:437)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
         at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:928)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:472)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:200)
         at $Proxy18.addDeployment(Unknown Source)
         at weblogic.management.internal.DynamicMBeanImpl.unprotectedUpdateDeployments(DynamicMBeanImpl.java:1802)
         at weblogic.management.internal.DynamicMBeanImpl.access$2(DynamicMBeanImpl.java:1755)
         at weblogic.management.internal.DynamicMBeanImpl$2.run(DynamicMBeanImpl.java:1733)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
         at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1729)
         at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:1053)
         at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:371)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)
         at weblogic.management.internal.RemoteMBeanServerImpl.setAttribute(RemoteMBeanServerImpl.java:874)
         at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:326)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:195)
         at $Proxy14.setTargets(Unknown Source)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
         at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:145)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1075)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:418)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5517)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3156)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2506)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
    --------------- nested within: ------------------
    weblogic.management.DistributedOperationUpdateException: Error creating data source - with nested exception:
    [weblogic.management.DeploymentException: Error creating data source - with nested exception:
    [java.lang.Exception: weblogic.common.ResourceException: DataSource(rgexample) can't be created with non-existent Pool (connection or multi) (demopool)
         at weblogic.jdbc.common.internal.JdbcInfo.validateConnectionPool(JdbcInfo.java:126)
         at weblogic.jdbc.common.internal.JdbcInfo.startDataSource(JdbcInfo.java:262)
         at weblogic.jdbc.common.internal.JDBCService.addDeploymentx(JDBCService.java:293)
         at weblogic.jdbc.common.internal.JDBCService.addDeployment(JDBCService.java:270)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:375)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:154)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:750)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:732)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:435)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
         at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:928)
         at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:596)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:437)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
         at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:928)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:472)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:200)
         at $Proxy18.addDeployment(Unknown Source)
         at weblogic.management.internal.DynamicMBeanImpl.unprotectedUpdateDeployments(DynamicMBeanImpl.java:1802)
         at weblogic.management.internal.DynamicMBeanImpl.access$2(DynamicMBeanImpl.java:1755)
         at weblogic.management.internal.DynamicMBeanImpl$2.run(DynamicMBeanImpl.java:1733)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
         at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1729)
         at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:1053)
         at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:371)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)
         at weblogic.management.internal.RemoteMBeanServerImpl.setAttribute(RemoteMBeanServerImpl.java:874)
         at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:326)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:195)
         at $Proxy14.setTargets(Unknown Source)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
         at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:145)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1075)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:418)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5517)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3156)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2506)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
         at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:607)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:437)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
         at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:928)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:472)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:200)
         at $Proxy18.addDeployment(Unknown Source)
         at weblogic.management.internal.DynamicMBeanImpl.unprotectedUpdateDeployments(DynamicMBeanImpl.java:1802)
         at weblogic.management.internal.DynamicMBeanImpl.access$2(DynamicMBeanImpl.java:1755)
         at weblogic.management.internal.DynamicMBeanImpl$2.run(DynamicMBeanImpl.java:1733)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
         at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1729)
         at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:1053)
         at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:371)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)
         at weblogic.management.internal.RemoteMBeanServerImpl.setAttribute(RemoteMBeanServerImpl.java:874)
         at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:326)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:195)
         at $Proxy14.setTargets(Unknown Source)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
         at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:145)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
         at javax.se--------------- nested within: ------------------
    weblogic.management.console.utils.SetException: An error occurred while updating Targets-Server on Proxy for RaghuDomain:Name=examples-dataSource-demoPool,Type=JDBCDataSource - with nested exception:
    [java.lang.reflect.InvocationTargetException - with target exception:
    [weblogic.management.DistributedManagementException: Distributed Management [1 exceptions]
    Error creating data source]]
         at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:181)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1075)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:418)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5517)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3156)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2506)
         at weblogic.kernel.Exe

  • Generation error during WebDynpro migration from 7.0 to 7.31

    Hello everybody!
    We are trying to migrate some WebDynpro DCs to NW 7.31. After checking in the old sca file into the new track, synching the DCs in NWDS and creating projects for them, most of the DCs compile ok, but we get a build error in one WebDynpro DC we are not able to resolve.
    The build.log shows
        [wdgen] [Error]   Generation error while processing <somepath>/NWDSWorkplace_7_3.jdi/2/t/C5FB4D1181864A07E2DF8F1E8D280266/gen_wdp/packages/de/xxx/somepath/wdp/Resource<myview>.properties (java.lang.reflect.InvocationTargetException)
    with the stack trace showing an Generation error while processing template defaultResource:
         [wdgen] [Info]    Generation error while processing template defaultResource
         [wdgen] [Info]    Catching throwable null
         [wdgen] [Info]    java.lang.reflect.InvocationTargetException
         [wdgen] at sun.reflect.GeneratedMethodAccessor114.invoke(Unknown Source)
         [wdgen] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         [wdgen] at java.lang.reflect.Method.invoke(Method.java:597)
         [wdgen] at com.sap.ide.generationfwk.task.GenerationTaskJavaMethod.executePersistent(GenerationTaskJavaMethod.java:139)
         [wdgen] at com.sap.ide.generationfwk.GenerationBase.doPersistentGeneration(GenerationBase.java:207)
         [wdgen] at com.sap.ide.generationfwk.GenerationBase.doPersistentGeneration(GenerationBase.java:164)
         [wdgen] at com.sap.ide.webdynpro.generation.Generation.doPersistentGenerationForComponentDefaultResource(Generation.java:541)
         [wdgen] at com.sap.ide.webdynpro.generation.Generation.doPersistentGenerationForComponentResources(Generation.java:3188)
         [wdgen] at com.sap.ide.webdynpro.generation.Generation.doPersistentGenerationForComponentRecursively(Generation.java:1788)
         [wdgen] at com.sap.ide.webdynpro.generation.Generation.doPersistentGenerationForComponentRecursively(Generation.java:1772)
         [wdgen] at com.sap.ide.webdynpro.generation.Generation.doPersistentGenerationForComponentRecursively(Generation.java:1772)
         [wdgen] at com.sap.ide.webdynpro.generation.Generation.generateComponentsForArchive(Generation.java:2660)
         [wdgen] at com.sap.ide.webdynpro.generation.Generation.generateMDOsForArchive(Generation.java:2604)
         [wdgen] at com.sap.ide.webdynpro.generation.Generation.generatePersistentArchive(Generation.java:1630)
         [wdgen] at com.sap.ide.webdynpro.generation.console.GenerationConsole.generate(GenerationConsole.java:190)
         [wdgen] at com.sap.webdynpro.generation.ant.GenerationAnt.main(GenerationAnt.java:69)
    So far, everything I could find is pointing to some localisation issue, but I'm not able to solve the problem. Some hints say I'd have to change the language settings of the DC (or SC) upon import, but I never saw anything that gave me an opportunity to do so. On the other hand, other WebDynpro DCs in the same track get imported o. k. and compile without any error.
    The other thing I see in this WebDynpro DC is that in some views, all GUI element texts are missing, some views are o. k.
    Can anyone shed some light on this issue ?
    Thanks
    Michael

    Ok, I can provide some more information:
    In the WebDynpro DC's .dcdef file, I changed
    <properties>
      <localization xmlns="http://xml.sap.com/2003/06/Localization" xmlns:ns0="http://xml.sap.com/2003/06/Localization">
       <domain>BC</domain>
       <originalLocale>en</originalLocale>
      </localization>
      <minimizeClassFiles xmlns="http://xml.sap.com/2004/07/DCProperties/WebDynpro" xmlns:pns1="http://xml.sap.com/2004/07/DCProperties/WebDynpro">auto</minimizeClassFiles>
      <projectVersion xmlns="http://xml.sap.com/2004/07/DCProperties/WebDynpro">1</projectVersion>
    </properties>
    to
    <properties>
      <localization xmlns="http://xml.sap.com/2003/06/Localization" xmlns:ns0="http://xml.sap.com/2003/06/Localization">
       <domain>BC</domain>
       <originalLocale>de</originalLocale>
      </localization>
      <minimizeClassFiles xmlns="http://xml.sap.com/2004/07/DCProperties/WebDynpro" xmlns:pns1="http://xml.sap.com/2004/07/DCProperties/WebDynpro">auto</minimizeClassFiles>
      <projectVersion xmlns="http://xml.sap.com/2004/07/DCProperties/WebDynpro">1</projectVersion>
    </properties>
    After that, the views with previously missing GUI texts were showing these texts inside the NWDS WebDynpro view editor, and those views that did previously show these text didn't show them any more! So there seems to be some discrepancy regarding the language the views were created in.
    Any hint on what files have to be changed in what way to either remove internationalization completely or to set all views to a single language ?
    Thanks
    Michael

  • Error when connecting  to Oracle DataSource in a clustered environment

    Trying to connect to a ORACLE 9.1 datasource in a remote clustered environment. Getting the following exception. The code works fine when connecting to a local non-clustered server. Any help will be greatly appreciated.
    ---------------------Stack trace--------------
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Failed to generate
    class for weblogic.jdbc.rmi.internal.ConnectionImpl_weblogic_jdbc_wrapper_JTACon
    nection_weblogic_jdbc_wrapper_XAConnection_oracle_jdbc_driver_LogicalConnection_
    812_WLStub ] - with nested exception:
    [java.lang.reflect.InvocationTargetException - with target exception:
    [java.lang.ArrayIndexOutOfBoundsException: 164]]
    at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:8
    07)
    at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:7
    90)
    at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:79)
    at weblogic.rmi.utils.io.RemoteObjectReplacer.resolveObject(RemoteObject
    Replacer.java:237)
    at weblogic.rmi.internal.StubInfo.readResolve(StubInfo.java:142)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at java.io.ObjectStreamClass.invokeReadResolve(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
    at java.io.ObjectInputStream.readSerialData(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
    bjectInputStream.java:119)
    at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.ja
    va:112)
    at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:56)
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:159)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
    ef.java:285)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
    ef.java:244)
    at weblogic.jdbc.common.internal.RmiDataSource_812_WLStub.getConnection(
    Unknown Source)

    Trying to connect to a ORACLE 9.1 datasource in a remote clustered environment. Getting the following exception. The code works fine when connecting to a local non-clustered server. Any help will be greatly appreciated.
    ---------------------Stack trace--------------
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Failed to generate
    class for weblogic.jdbc.rmi.internal.ConnectionImpl_weblogic_jdbc_wrapper_JTACon
    nection_weblogic_jdbc_wrapper_XAConnection_oracle_jdbc_driver_LogicalConnection_
    812_WLStub ] - with nested exception:
    [java.lang.reflect.InvocationTargetException - with target exception:
    [java.lang.ArrayIndexOutOfBoundsException: 164]]
    at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:8
    07)
    at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:7
    90)
    at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:79)
    at weblogic.rmi.utils.io.RemoteObjectReplacer.resolveObject(RemoteObject
    Replacer.java:237)
    at weblogic.rmi.internal.StubInfo.readResolve(StubInfo.java:142)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at java.io.ObjectStreamClass.invokeReadResolve(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
    at java.io.ObjectInputStream.readSerialData(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
    bjectInputStream.java:119)
    at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.ja
    va:112)
    at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:56)
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:159)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
    ef.java:285)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
    ef.java:244)
    at weblogic.jdbc.common.internal.RmiDataSource_812_WLStub.getConnection(
    Unknown Source)

  • LDAP security authentication in weblogic sp4 (URGENT)

    We have a web application which interacts to the D/B to authenticate a user during our login process. Now we are trying to change the login to LDAP authentication. Here is the List I did on weblogic configuration correct me if this is correct or if am missing any thing.
    1. Created a Realm
    2. Created a NOVELL LDAP Authenticator (configured user, groups, members, Novell LDAP, Details)
    3. Created a X.509 certificates ????? Do I need to create this one for authentication. The only question is I am confused by these parameters and help me out in figuring out these:
    a. filter attributes = cn=$subj.cn
    b. username attribute = cn
    c. userCertificate;binary ??? ( I have a certificate idmtree.der where do I add configuration about this certificate in the console)>>>>>>>>
    d. certificate mapping : ou=user,ou=$subj.ou,o=$subj.o,c=$subj.c (IS THIS CORRECT)
    4. created a new Weblogic Default Authorizer...
    5. created a new Weblogic Default Role Mapper...
    6. created a new Weblogic Default Credential Mapper ...(Do I need to setup my certificate inside this credential mapper or not.)
    7. I made this realm as the DEFAULT realm and started the server
    I get the following exception.
    Initializing RoleMapper provider using LDIF template file C:\bea\user_projects\domains\mydomain\.\DefaultRoleMapperInit.ldift.>
    The RoleMapper provider has had its LDIF information loaded from: C:\bea\user_projects\domains\mydomain\.\DefaultRoleMapperInit.ldift>
    Initializing Authorizer provider using LDIF template file C:\bea\user_projects\domains\mydomain\.\DefaultAuthorizerInit.ldift.>
    The Authorizer provider has had its LDIF information loaded from: C:\bea\user_projects\domains\mydomain\.\DefaultAuthorizerInit.ldift>
    Loading trusted certificates from the jks keystore file C:\bea\weblogic81\server\lib\DemoTrust.jks.>
    Loading trusted certificates from the jks keystore file C:\bea\JDK142~1\jre\lib\security\cacerts.>
    Loading trusted certificates from the jks keystore file C:\bea\weblogic81\server\lib\DemoTrust.jks.>
    Loading trusted certificates from the jks keystore file C:\bea\JDK142~1\jre\lib\security\cacerts.>
    Certificate chain received from ldapidv.merc.chicago.cme.com - 10.5.19.190 was not trusted causing SSL handshake failure.>
    Server failed during initialization. Exception:weblogic.security.service.SecurityServiceRuntimeException: [Security:090371]Problem instantiating Authentication Provider weblogic.security.providers.authentication.LDAPAtnDelegateException: [Security:090294]could not get connection - with nested exception:
    [java.lang.reflect.InvocationTargetException - with target exception:
    [netscape.ldap.LDAPException: [Security:090477]Certificate chain received from ldapidv.merc.chicago.cme.com - 10.5.19.190 was not trusted causing SSL handshake failure. (91)]]
    weblogic.security.service.SecurityServiceRuntimeException: [Security:090371]Problem instantiating Authentication Provider weblogic.security.providers.authentication.LDAPAtnDelegateException: [Security:090294]could not get connection - with nested exception:
    [java.lang.reflect.InvocationTargetException - with target exception:
    [netscape.ldap.LDAPException: [Security:090477]Certificate chain received from ldapidv.merc.chicago.cme.com - 10.5.19.190 was not trusted causing SSL handshake failure. (91)]]
    at weblogic.security.service.PrincipalAuthenticator.initialize(PrincipalAuthenticator.java:205)
    at weblogic.security.service.PrincipalAuthenticator.<init>(PrincipalAuthenticator.java:262)
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.doATN(SecurityServiceManagerDelegateImpl.java:581)
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.initializeRealm(SecurityServiceManagerDelegateImpl.java:420)
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.loadRealm(SecurityServiceManagerDelegateImpl.java:700)
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.initializeRealms(SecurityServiceManagerDelegateImpl.java:733)
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.initialize(SecurityServiceManagerDelegateImpl.java:876)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:734)
    at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:822)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:670)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:344)
    at weblogic.Server.main(Server.java:32)
    >
    ####<Apr 6, 2006 10:42:55 AM CDT> <Emergency> <WebLogicServer> <DXPCHI029398> <myserver> <main> <<WLS Kernel>> <> <BEA-000342> <Unable to initialize the server: weblogic.security.service.SecurityServiceRuntimeException: [Security:090371]Problem instantiating Authentication Provider weblogic.security.providers.authentication.LDAPAtnDelegateException: [Security:090294]could not get connection - with nested exception:
    [java.lang.reflect.InvocationTargetException - with target exception:
    [netscape.ldap.LDAPException: [Security:090477]Certificate chain received from ldapidv.merc.chicago.cme.com - 10.5.19.190 was not trusted causing SSL handshake failure. (91)]]>
    ANY HELP on this would be greatly appreciated am totally exhausted seeing these error messages from morning.
    I would like to know if I need a client for connecting to this LDAP authenticator. As am using the Novell API to access the LDAP directory. Let me know, and if so can some one provide me a snippet code.\
    Waiting for response.
    thanks in advance
    kiran

    Hi Christoper,
    Based on your description, this seems to be more of a security related question than a workshop one.
    Please post to the security newsgroup at http://forums.bea.com/bea/category.jspa?categoryID=2011
    with information on service pack installed
    Thanks
    Raj

  • Exception when deploying application using admin console

    Whenever I deploy an application using the admin console window, I get a DistributedExcpetion,
    The application gets deployed though! so I am assuming that this is not very critical,
    but If somebody can tell me what this is then It would be really helpful.
    Thx-
    Iqbal
    Here is the exception stack trace:-
    java.lang.reflect.InvocationTargetException: weblogic.management.DistributedManagementException:
    Distributed Management [1 exceptions]
         at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:443)
         at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:298)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
         at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
         at $Proxy10.setDeployed(Unknown Source)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.console.info.MBeanAttribute.doSet(MBeanAttribute.java:84)
         at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:135)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    --------------- nested within: ------------------
    weblogic.management.console.utils.SetException: An error occurred while updating
    Deployed on Proxy for mydomain:Name=cmeEJB,Type=Application - with nested exception:
    [java.lang.reflect.InvocationTargetException - with target exception:
    [weblogic.management.DistributedManagementException: Distributed Management [1 exceptions]]]
         at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:151)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

    Hi.
    Thanks for the additional info.
    I found 2 similar issues with similar stack traces for WLS 6.1 sp2. One of the issues we could not reproduce, and in the
    end the customer reinstalled WLS and the problem went away. The other issue was found internally and is not currently
    active. I'm not 100% sure your situation is identical to one of these.
    Therefor I suggest the following course of action:
    1. Since this is an intermittant problem try reinstalling WLS. If that doesn't help then...
    2. open a case with support. It may not be a major issue, but we need to be sure of this.
    Hope this helps,
    Michael
    Iqbal wrote:
    I am running WLS version 6.1 with sp2. I get this error every once in a while.
    Thx!
    -Iqbal
    Michael Young <[email protected]> wrote:
    Hi.
    This may be a known issue, but I need more info. What version (including
    service pack level) of WLS are you running?
    Also, if you are not running sp2 please apply it and test to see if you
    are still seeing this.
    Let me know what you find.
    Thanks,
    Michael
    Iqbal wrote:
    Whenever I deploy an application using the admin console window, I geta DistributedExcpetion,
    The application gets deployed though! so I am assuming that this is notvery critical,
    but If somebody can tell me what this is then It would be really helpful.
    Thx-
    Iqbal
    Here is the exception stack trace:-
    java.lang.reflect.InvocationTargetException: weblogic.management.DistributedManagementException:
    Distributed Management [1 exceptions]
    at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:443)
    at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:298)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
    at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
    at $Proxy10.setDeployed(Unknown Source)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.console.info.MBeanAttribute.doSet(MBeanAttribute.java:84)
    at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:135)
    at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
    at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    --------------- nested within: ------------------
    weblogic.management.console.utils.SetException: An error occurred whileupdating
    Deployed on Proxy for mydomain:Name=cmeEJB,Type=Application - with nestedexception:
    [java.lang.reflect.InvocationTargetException - with target exception:
    [weblogic.management.DistributedManagementException: Distributed Management
    [1 exceptions]]
    at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:151)
    at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
    at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)--
    Michael Young
    Developer Relations Engineer
    BEA Support
    Michael Young
    Developer Relations Engineer
    BEA Support

  • Using LDAP as security realm

    Hi,
    Our goal is to use LDAP(Iplanet Directory Server 5.0) as a security Realm
    for Weblogic Personalization and Commerce 3.5.
    Using the WLCS console, I've modified the config.xml file and following
    elements are added:
    <LDAPRealm AuthProtocol='simple' Credential='admin'
    GroupDN='ou=groups,dc=netnumina,dc=com' GroupIsContext='false'
    GroupUsernameAttribute='uniquemember'
    LDAPURL='ldap://sanand.netnumina.com:389' Name='wlcsLDAPRealm'
    Principal='uid=admin,ou=administrators,ou=topologymanagement,o=netscaperoot'
    UserAuthentication='local' UserDN='ou=people,dc=netnumina,dc=com'
    UserNameAttribute='uid'/>
    <CachingRealm BasicRealm='wlcsLDAPRealm' CacheCaseSensitive='true'
    Name='wlcsCachingRealm'/>
    But when we try to restart the WLCS, it throws java exceptions that context
    is not initialized and I get the following error
    <Jun 15, 2001 3:41:28 PM EDT> <Emergency> <Server> <Unable to initialize the
    ser
    ver: 'Fatal initialization exception
    Throwable: weblogic.security.ldaprealm.LDAPException: could not get
    context - wi
    th nested exception:
    [java.lang.reflect.InvocationTargetException - with target exception:
    [javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid
    Credential
    s]]]
    weblogic.security.ldaprealm.LDAPException: could not get context - with
    nested e
    xception:
    I tried using Windows NT as a security realm but that gave me errors too.
    Does anyone has any experience using anything other than the default Realm?
    Any help would be appreciated. Thanks!
    Asim Raja
    [email protected]

    I'm not sure, but I suspect you can't
    since this would create a circular dependency -
    your realm would rely on the upper level security
    checking calls but those calls would rely on your
    realm.
    My suggestion is to give it a try and see what
    happens.
    -Tom
    Ozcan ADIYAMAN <[email protected]> wrote:
    Hi ,
    I am implementing a simple custom security realm using LDAP as the
    security store and I can see the users, groups and acls from the admin
    console.
    My question is (a custom realm newbie question) ;
    Is it possible to use weblogic.security.acl.Security with my custom
    realm to check permissions, get the current user,etc.,
    OR
    is this class ONLY used with default realms (when ACL is stored in a
    file) ?
    Thanks
    Ozcan

  • Weblogic 8.1 Oracle prepared statement error

    I've got WLS 8.1SP1 running on Mac OS X (10.2.6, JDK 1.4.1) using the Oracle Thin
    driver to connect to a 9.2.0.1 db on WinXP. When I run a unit test that uses
    an XA connection, I get the error below (inside a much larger stack trace). I'm
    not getting this error with 7.0SP2 (with Mac JDK 1.3.1). Is anyone familiar with
    what the code is trying to do here?
    [junit] --------------- nested within: ------------------
    [junit] weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Failed
    to generate class for weblogic.jdbc.rmi.internal.PreparedStatementImpl_weblogic_jdbc_wrapper_PreparedStatement_oracle_jdbc_driver_OraclePreparedStatement_811_WLStub
    ] - with nested exception:
    [junit] [java.lang.reflect.InvocationTargetException - with target exception:
        [junit] [java.lang.ArrayIndexOutOfBoundsException: 142]]
    [junit] at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:807)
    [junit] at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:790)
    [junit] at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:79)
    [junit] at weblogic.rmi.utils.io.RemoteObjectReplacer.resolveObject(RemoteObjectReplacer.java:222)
    [junit] at weblogic.rmi.internal.StubInfo.readResolve(StubInfo.java:142)

    Craig,
    Normally AssertionError means that you hit the bug. Contact [email protected]
    for a resultion.
    Regards,
    Slava Imeshev
    <Craig Daniels cldanielsATcheckfree.com> wrote in message
    news:[email protected]..
    >
    I've got WLS 8.1SP1 running on Mac OS X (10.2.6, JDK 1.4.1) using theOracle Thin
    driver to connect to a 9.2.0.1 db on WinXP. When I run a unit test thatuses
    an XA connection, I get the error below (inside a much larger stacktrace). I'm
    not getting this error with 7.0SP2 (with Mac JDK 1.3.1). Is anyonefamiliar with
    what the code is trying to do here?
    [junit] --------------- nested within: ------------------
    [junit] weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[Failed
    to generate class forweblogic.jdbc.rmi.internal.PreparedStatementImpl_weblogic_jdbc_wrapper_Prepa
    redStatement_oracle_jdbc_driver_OraclePreparedStatement_811_WLStub
    ] - with nested exception:
    [junit] [java.lang.reflect.InvocationTargetException - with target
    exception:>     [junit [java.lang.ArrayIndexOutOfBoundsException: 142]]
    [junit] atweblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:807)
    [junit] atweblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:790)
    [junit] atweblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:79)
    [junit] atweblogic.rmi.utils.io.RemoteObjectReplacer.resolveObject(RemoteObjectReplace
    r.java:222)
    [junit] atweblogic.rmi.internal.StubInfo.readResolve(StubInfo.java:142)

  • Error deploying on weblogic 8.1 SP2

    Any help with the following would be greatly appreciated.
    java.lang.reflect.InvocationTargetException
    at COM.jrockit.reflect.NativeMethodInvoker.invoke0(ILjava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Native Method)
    at COM.jrockit.reflect.NativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
      at COM.jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
       at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
        at weblogic.management.console.actions.RequestableActionSupport.setParam(Ljava.beans.PropertyDescriptor;[Ljava.lang.String;)V(RequestableActionSupport.java:140)
        at weblogic.management.console.actions.RequestableActionSupport.setParams(Lweblogic.management.console.utils.RequestParams;)V(RequestableActionSupport.java:88)
    at weblogic.management.console.actions.internal.ActionServlet.doAction(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:149)
        at weblogic.management.console.actions.internal.ActionServlet.doGet(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:91)
        at javax.servlet.http.HttpServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(HttpServlet.java:740)
       at javax.servlet.http.HttpServlet.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:971)
      at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java:402)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(ServletStubImpl.java:305)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava.lang.Object;(WebAppServletContext.java:6350)
       at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(Optimized Method)
        at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityManager.java:118)
      at weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic.servlet.internal.ServletRequestImpl;Lweblogic.servlet.internal.ServletResponseImpl;)V(WebAppServletContext.java:3635)
    at weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic.kernel.ExecuteThread;)V(ServletRequestImpl.java:2585)
    at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(Optimized Method)
       at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:170)
    at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
    Caused by: java.lang.IllegalArgumentException: component can't be null.
       at weblogic.management.console.actions.mbean.DeployerAction.setApplication(Lweblogic.management.configuration.ApplicationMBean;)V(DeployerAction.java:104)
      ... 21 more
    --------------- nested within: ------------------
    weblogic.management.console.actions.ActionException - with nested exception:
    [java.lang.reflect.InvocationTargetException - with target exception:
    [java.lang.IllegalArgumentException: component can't be null.]]
    at weblogic.management.console.actions.ErrorAction.(Ljava.lang.Throwable;)V(ErrorAction.java:38)
    at weblogic.management.console.actions.internal.ActionServlet.doAction(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:200)
    at weblogic.management.console.actions.internal.ActionServlet.doGet(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:91)
    at javax.servlet.http.HttpServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:971)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java:402)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(ServletStubImpl.java:305)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava.lang.Object;(WebAppServletContext.java:6350)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(Optimized Method)
    at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityManager.java:118)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic.servlet.internal.ServletRequestImpl;Lweblogic.servlet.internal.ServletResponseImpl;)V(WebAppServletContext.java:3635)
    at weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic.kernel.ExecuteThread;)V(ServletRequestImpl.java:2585)
    at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(Optimized Method)
    at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:170)
    at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
    Current Date
    Tue Jan 10 11:37:25 EST 2006
    Console Release Build
    null
    Console Build
    null
    Server Release Build
    8.1.2.0
    Server Build
    WebLogic Temporary Patch for CR214774 03/02/2005 21:54:08
    All Server Product Versions
    WebLogic Temporary Patch for CR214774 03/02/2005 21:54:08
    WebLogic Server 8.1 SP2 Fri Dec 5 15:01:51 PST 2003 316284
    WebLogic XMLX Module 8.1 SP2 Fri Dec 5 15:01:51 PST 2003 316284
    Request Info
    Protocol: HTTP/1.1
    ServerName: ipsad1qa-e26.ops.aol.com
    ServerPort: 15165
    Secure: false
    ContextPath: /console
    ServletPath: /common/error.jsp
    QueryString: actionType=0&application=domains%3AName%3Daol-bt-acctservice-V2_0-weblogic81%2CType%3DApplication
    PathInfo: null
    PathTranslated: null
    RequestURI: /console/common/error.jsp
    AuthType: null
    ContentType: null
    CharacterEncoding: null
    Locale: en_US
    Method: GET
    Session: weblogic.servlet.internal.session.MemorySessionData@816f03f
    RequestedSessionId: DDgM1PuReh2Cdy4ZDBIcyTvSSdHCnQV2Ujoy2hEfkPU1czoHeO6C!756207268!1136910540824
    RequestedSessionIdFromCookie: true
    RequestedSessionIdFromURL: false
    Parameters
    actionType = 0 application = domains:Name=aol-bt-acctservice-V2_0-weblogic81,Type=Application
    Attributes
    wlinternalaction = weblogic.management.console.actions.internal.InternalActionContext@9bbc74a weblogic.management.console.catalog.Catalog = weblogic.management.console.catalog.XmlCatalog@82946eb weblogic.management.console.helpers.DebugHelper = weblogic.management.console.helpers.DebugHelper@9bbc769 weblogic.management.console.helpers.UrlHelper = weblogic.management.console.helpers.UrlHelper@9bbd2d0 weblogic.servlet.network_channel.port = 15165
    Headers
    Accept = text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Charset = ISO-8859-1,utf-8;q=0.7,*;q=0.7 Accept-Encoding = gzip,deflate Accept-Language = en-us,en;q=0.5 Connection = keep-alive Cookie = testcookie=; RSP_COOKIE=type=0&name=RGF2aWRvY2ll; ADMINCONSOLESESSION=DDgM1PuReh2Cdy4ZDBIcyTvSSdHCnQV2Ujoy2hEfkPU1czoHeO6C!756207268 Host = ipsad1qa-e26.ops.aol.com:15165 Keep-Alive = 300 Referer = http://ipsad1qa-e26.ops.aol.com:15165/console/actions/mbean/DoMBeanWizardAction?parentMBean=domains%3AName%3Ddomains%2CType%3DDomain&attributes=weblogic.management.configuration.ApplicationMB ean.Name%3Daol-bt-acctservice-V2_0-weblogic81&attributes=weblogic.management.configuration.ApplicationMBean.Targets%3Ddomains%3AName%3Dipsqa-Cluster%2CType%3DCluster&attributes=weblogic.management.configuration.ApplicationMBean.Path%3D%2Fusr%2Fweb%2Fbea%2F8.1.2%2Fdomains%2Fipsqa-adm%2Fupload%2Faol-bt-acctservice-V2_0-weblogic81.ear&attributes=Path.currentPath%3D%2Fusr%2Fweb%2Fbea%2F8.1.2%2Fdomains%2Fipsqa-adm%2Fupload%2F&reloadNav=false&message=&wizardName=ApplicationAssistant&step=Configure&MBeanClass=weblogic.management.configuration.ApplicationMBean User-Agent = Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
    BrowserInfo
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
    IE: false
    Netscape: true
    Supported: true
    JavscriptHrefs: true
    TableCellClick: false
    DocumentReloadedOnResize: true
    DropdownStretchable: false
    CellSpacingBlank: true
    EmptyCellBlank: true
    ImgOnclickSupported: false
    TableBorderFancy: false
    PartialToWideTables: true
    DisabledControlSupported: false

    That appears to be a bug in the console. You might try the command-line tool java weblogic.Deployer for deploying apps. java weblogic.Deployer -examples will give detailed usage info.
    -- Rob
    WLS Blog http://dev2dev.bea.com/blog/rwoollen/

  • WLS 5.1.0 SP 12 ejbc throws NoSuchMethodError on entity beans

    Greetings all,
    Due to a trashed hard disk, I'm in the middle of getting WebLogic
    server reinstalled. Because of some problems with Oracle 8.1.6 and
    WLS 5.1.0 SP9, I've been trying to get SP12 to run, with little luck.
    I suspect an installation / configuration problem, but I don't know
    what it is.
    The symptom is that I can't compile entity beans - ejbc throws a
    NoSuchMethodError exception. For the sake of simplicity, and to prove
    to myself it wasn't our code, I tried building one of the examples,
    and it has the same problem. Does anyone see anything I've done
    wrong in the configuration?
    Below is the captured output from build & wlconfig:
    C:\weblogic\examples\ejb\basic\containerManaged>build
    C:\weblogic\examples\ejb\basic\containerManaged>if "" == "c:\jdk1.3.1\jre"
    set JAVA_HOME=\java
    C:\weblogic\examples\ejb\basic\containerManaged>if "" == "c:\weblogic" set
    WL_HOME=\weblogic
    C:\weblogic\examples\ejb\basic\containerManaged>set
    MYSERVER=c:\weblogic\myserver
    C:\weblogic\examples\ejb\basic\containerManaged>set
    MYCLASSPATH=c:\jdk1.3.1\jre\lib\classes.zip;c:\weblogic\classes;c:\weblogi
    c\lib\weblogicaux.jar;c:\weblogic\
    myserver\clientclasses
    C:\weblogic\examples\ejb\basic\containerManaged>mkdir build build\META-INF
    A subdirectory or file build already exists.
    Error occurred while processing: build.
    A subdirectory or file build\META-INF already exists.
    Error occurred while processing: build\META-INF.
    C:\weblogic\examples\ejb\basic\containerManaged>copy *.xml build\META-INF
    ejb-jar.xml
    weblogic-cmp-rdbms-jar.xml
    weblogic-ejb-jar.xml
    3 file(s) copied.
    C:\weblogic\examples\ejb\basic\containerManaged>javac -d build -classpath
    c:\jdk1.3.1\jre\lib\classes.zip;c:\weblogic\classes;c:\weblogic\lib\weblog
    icaux.jar;c:\weblogic\myserver\clientclasses Account.java AccountHome.java
    ProcessingErrorException.java AccountBean.java
    C:\weblogic\examples\ejb\basic\containerManaged>cd build
    C:\weblogic\examples\ejb\basic\containerManaged\build>jar cv0f
    std_ejb_basic_containerManaged.jar META-INF examples
    added manifest
    ignoring entry META-INF/
    adding: META-INF/ejb-jar.xml(in = 1210) (out= 1210)(stored 0%)
    adding: META-INF/weblogic-cmp-rdbms-jar.xml(in = 1472) (out= 1472)(stored
    0%)
    adding: META-INF/weblogic-ejb-jar.xml(in = 975) (out= 975)(stored 0%)
    adding: examples/(in = 0) (out= 0)(stored 0%)
    adding: examples/ejb/(in = 0) (out= 0)(stored 0%)
    adding: examples/ejb/basic/(in = 0) (out= 0)(stored 0%)
    adding: examples/ejb/basic/containerManaged/(in = 0) (out= 0)(stored 0%)
    adding: examples/ejb/basic/containerManaged/Account.class(in = 422) (out=
    422)(stored 0%)
    adding: examples/ejb/basic/containerManaged/AccountBean.class(in = 3884)
    (out= 3884)(stored 0%)
    adding: examples/ejb/basic/containerManaged/AccountHome.class(in = 711)
    (out= 711)(stored 0%)
    adding:
    examples/ejb/basic/containerManaged/ProcessingErrorException.class(in
    =339) (out= 339)(stored 0%)
    C:\weblogic\examples\ejb\basic\containerManaged\build>cd ..
    C:\weblogic\examples\ejb\basic\containerManaged>java -classpath
    c:\jdk1.3.1\jre\lib\classes.zip;c:\weblogic\classes;c:\weblogic\lib\weblog
    icaux.jar;c:\weblogic\myserver\clientclasses -Dweblogic.home=c:\weblogic
    weblogic.ejbc -compiler javac build\std_ejb_basic_containerManaged.jar
    c:\weblogic\myserver\ejb_basic_containerManaged.jar
    java.lang.NoSuchMethodError
    at
    weblogic.cmp.rdbms.codegen.StoreGenerator.addPreparedStatementBinding(Stor
    eGenerator.java:839)
    at
    weblogic.cmp.rdbms.codegen.StoreGenerator.preparedStatementBindings(StoreG
    enerator.java:805)
    at
    weblogic.cmp.rdbms.codegen.StoreGenerator.setPrimaryKeyParams(StoreGenerat
    or.java:194)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    weblogic.utils.compiler.CodeGenerator.processAt(CodeGenerator.java:619)
    at
    weblogic.utils.compiler.CodeGenerator.parse(CodeGenerator.java:533)
    at
    weblogic.utils.compiler.CodeGenerator.processAt(CodeGenerator.java:607)
    at
    weblogic.utils.compiler.CodeGenerator.parse(CodeGenerator.java:533)
    at
    weblogic.utils.compiler.CodeGenerator.generateCode(CodeGenerator.java:312)
    at
    weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:223)
    at
    weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:182)
    at
    weblogic.ejb.ejbc.EJBCompiler.generatePersistenceSources(EJBCompiler.java:
    403)
    at weblogic.ejb.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:180)
    at weblogic.ejbc.runBody(ejbc.java:307)
    at weblogic.utils.compiler.Tool.run(Tool.java:80)
    at weblogic.ejbc.main(ejbc.java:353)
    ERROR: Error from ejbc: java.lang.reflect.InvocationTargetException:
    java.lang.NoSuchMethodError
    at
    weblogic.cmp.rdbms.codegen.StoreGenerator.addPreparedStatementBinding(Stor
    eGenerator.java:839)
    at
    weblogic.cmp.rdbms.codegen.StoreGenerator.preparedStatementBindings(StoreG
    enerator.java:805)
    at
    weblogic.cmp.rdbms.codegen.StoreGenerator.setPrimaryKeyParams(StoreGenerat
    or.java:194)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    weblogic.utils.compiler.CodeGenerator.processAt(CodeGenerator.java:619)
    at
    weblogic.utils.compiler.CodeGenerator.parse(CodeGenerator.java:533)
    at
    weblogic.utils.compiler.CodeGenerator.processAt(CodeGenerator.java:607)
    at
    weblogic.utils.compiler.CodeGenerator.parse(CodeGenerator.java:533)
    at
    weblogic.utils.compiler.CodeGenerator.generateCode(CodeGenerator.java:312)
    at
    weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:223)
    at
    weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:182)
    at
    weblogic.ejb.ejbc.EJBCompiler.generatePersistenceSources(EJBCompiler.java:
    403)
    at weblogic.ejb.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:180)
    at weblogic.ejbc.runBody(ejbc.java:307)
    at weblogic.utils.compiler.Tool.run(Tool.java:80)
    at weblogic.ejbc.main(ejbc.java:353)
    --------------- nested within: ------------------
    weblogic.utils.compiler.CodeGenerationException: Exception:
    'java.lang.NoSuchMethodError' while trying to invoke: setPrimaryKeyParams
    at line 22 - with nested exception:
    [java.lang.reflect.InvocationTargetException - with target
    exception:[java.lang.NoSuchMethodError]]
    at
    weblogic.utils.compiler.CodeGenerator.processAt(CodeGenerator.java:628)
    at
    weblogic.utils.compiler.CodeGenerator.parse(CodeGenerator.java:533)
    at
    weblogic.utils.compiler.CodeGenerator.processAt(CodeGenerator.java:607)
    at
    weblogic.utils.compiler.CodeGenerator.parse(CodeGenerator.java:533)
    at
    weblogic.utils.compiler.CodeGenerator.generateCode(CodeGenerator.java:312)
    at
    weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:223)
    at
    weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:182)
    at
    weblogic.ejb.ejbc.EJBCompiler.generatePersistenceSources(EJBCompiler.java:
    403)
    at weblogic.ejb.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:180)
    at weblogic.ejbc.runBody(ejbc.java:307)
    at weblogic.utils.compiler.Tool.run(Tool.java:80)
    at weblogic.ejbc.main(ejbc.java:353)
    --------------- nested within: ------------------
    weblogic.utils.compiler.CodeGenerationException - with nested exception:
    [weblogic.utils.compiler.CodeGenerationException: Exception:
    'java.lang.NoSuchMethodError' while trying to invoke: setPrimaryKeyParams
    at line 22 - with nested exception:
    [java.lang.reflect.InvocationTargetException - with target exception:
    [java.lang.NoSuchMethodError]]]
    at
    weblogic.utils.compiler.CodeGenerator.parse(CodeGenerator.java:585)
    at
    weblogic.utils.compiler.CodeGenerator.processAt(CodeGenerator.java:607)
    at
    weblogic.utils.compiler.CodeGenerator.parse(CodeGenerator.java:533)
    at
    weblogic.utils.compiler.CodeGenerator.generateCode(CodeGenerator.java:312)
    at
    weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:223)
    at
    weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:182)
    at
    weblogic.ejb.ejbc.EJBCompiler.generatePersistenceSources(EJBCompiler.java:
    403)
    at weblogic.ejb.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:180)
    at weblogic.ejbc.runBody(ejbc.java:307)
    at weblogic.utils.compiler.Tool.run(Tool.java:80)
    at weblogic.ejbc.main(ejbc.java:353)
    --------------- nested within: ------------------
    weblogic.utils.compiler.CodeGenerationException - with nested exception:
    [weblogic.utils.compiler.CodeGenerationException - with nested exception:
    [weblogic.utils.compiler.CodeGenerationException: Exception:
    'java.lang.NoSuchMethodError' while trying to invoke: setPrimaryKeyParams
    at line 22 - with nested exception:
    [java.lang.reflect.InvocationTargetException - with target exception:
    [java.lang.NoSuchMethodError]]]]
    at
    weblogic.utils.compiler.CodeGenerator.parse(CodeGenerator.java:585)
    at
    weblogic.utils.compiler.CodeGenerator.generateCode(CodeGenerator.java:312)
    at
    weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:223)
    at
    weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:182)
    at
    weblogic.ejb.ejbc.EJBCompiler.generatePersistenceSources(EJBCompiler.java:
    403)
    at weblogic.ejb.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:180)
    at weblogic.ejbc.runBody(ejbc.java:307)
    at weblogic.utils.compiler.Tool.run(Tool.java:80)
    at weblogic.ejbc.main(ejbc.java:353)
    ERROR: ejbc found errors
    C:\weblogic\examples\ejb\basic\containerManaged>javac -d
    c:\weblogic\myserver\cl
    ientclasses -classpath
    c:\jdk1.3.1\jre\lib\classes.zip;c:\weblogic\classes;c:\we
    blogic\lib\weblogicaux.jar;c:\weblogic\myserver\clientclasses Account.java
    Accou
    ntHome.java ProcessingErrorException.java Client.java
    C:\weblogic\examples\ejb\basic\containerManaged>wlconfig
    WebLogic startup settings are presently:
    CLASSPATH Prefix C:\weblogic\myserver\serverclasses
    CLASSPATH
    C:\weblogic\myserver\serverclasses;c:\jdk1.3.1\jre\lib\tools
    .jar;c:\jdk1.3.1\jre\lib\rt.jar;c:\jdk1.3.1\jre\lib\i18n.jar;C:\weblogic\l
    icense
    ;C:\weblogic\lib\weblogic510sp11.jar;C:\weblogic\classes;C:\weblogic\lib\w
    eblogi
    caux.jar;C:\weblogic\eval\cloudscape\lib\cloudscape.jar
    JAVA_HOME c:\jdk1.3.1\jre
    WEBLOGIC_LICENSEDIR C:\weblogic\license
    WEBLOGIC_HOME C:\weblogic
    system properties:
    java.security.manager
    java.security.policy==C:\weblogic\weblogic.policy
    weblogic.system.home=C:\weblogic
    java.compiler=symcjit
    weblogic.class.path=C:\weblogic\license;C:\weblogic\lib\webl
    ogic510sp11.jar;C:\weblogic\classes;C:\weblogic\myserver\serverclasses;C:\
    weblog
    ic\lib\weblogicaux.jar
    INITIAL_HEAP 64 MB
    MAX_HEAP 64 MB
    SERVERCLASSPATH
    C:\weblogic\myserver\serverclasses;c:\jdk1.3.1\jre\lib\rt.ja
    r;c:\jdk1.3.1\jre\lib\i18n.jar;C:\weblogic\lib\weblogic510sp11boot.jar;C:\
    weblog
    ic\classes\boot;C:\weblogic\eval\cloudscape\lib\cloudscape.jar
    Type "wlconfig -help" for program usage.

    Do all the examples fail to build, or just the EJB CMP examples? I ask
    because in 5.1, there's a separate WebLogic_CMP_RDBMS.jar that's part of
    the install process, but it's only used for CMP. If the other examples
    work, then that's likely to be your problem.
    -- Rob
    Erik Horstkotte wrote:
    Greetings all,
    Due to a trashed hard disk, I'm in the middle of getting WebLogic
    server reinstalled. Because of some problems with Oracle 8.1.6 and
    WLS 5.1.0 SP9, I've been trying to get SP12 to run, with little luck.
    I suspect an installation / configuration problem, but I don't know
    what it is.
    The symptom is that I can't compile entity beans - ejbc throws a
    NoSuchMethodError exception. For the sake of simplicity, and to prove
    to myself it wasn't our code, I tried building one of the examples,
    and it has the same problem. Does anyone see anything I've done
    wrong in the configuration?
    Below is the captured output from build & wlconfig:
    C:\weblogic\examples\ejb\basic\containerManaged>build
    C:\weblogic\examples\ejb\basic\containerManaged>if "" == "c:\jdk1.3.1\jre"
    set JAVA_HOME=\java
    C:\weblogic\examples\ejb\basic\containerManaged>if "" == "c:\weblogic" set
    WL_HOME=\weblogic
    C:\weblogic\examples\ejb\basic\containerManaged>set
    MYSERVER=c:\weblogic\myserver
    C:\weblogic\examples\ejb\basic\containerManaged>set
    MYCLASSPATH=c:\jdk1.3.1\jre\lib\classes.zip;c:\weblogic\classes;c:\weblogi
    c\lib\weblogicaux.jar;c:\weblogic\
    myserver\clientclasses
    C:\weblogic\examples\ejb\basic\containerManaged>mkdir build build\META-INF
    A subdirectory or file build already exists.
    Error occurred while processing: build.
    A subdirectory or file build\META-INF already exists.
    Error occurred while processing: build\META-INF.
    C:\weblogic\examples\ejb\basic\containerManaged>copy *.xml build\META-INF
    ejb-jar.xml
    weblogic-cmp-rdbms-jar.xml
    weblogic-ejb-jar.xml
    3 file(s) copied.
    C:\weblogic\examples\ejb\basic\containerManaged>javac -d build -classpath
    c:\jdk1.3.1\jre\lib\classes.zip;c:\weblogic\classes;c:\weblogic\lib\weblog
    icaux.jar;c:\weblogic\myserver\clientclasses Account.java AccountHome.java
    ProcessingErrorException.java AccountBean.java
    C:\weblogic\examples\ejb\basic\containerManaged>cd build
    C:\weblogic\examples\ejb\basic\containerManaged\build>jar cv0f
    std_ejb_basic_containerManaged.jar META-INF examples
    added manifest
    ignoring entry META-INF/
    adding: META-INF/ejb-jar.xml(in = 1210) (out= 1210)(stored 0%)
    adding: META-INF/weblogic-cmp-rdbms-jar.xml(in = 1472) (out= 1472)(stored
    0%)
    adding: META-INF/weblogic-ejb-jar.xml(in = 975) (out= 975)(stored 0%)
    adding: examples/(in = 0) (out= 0)(stored 0%)
    adding: examples/ejb/(in = 0) (out= 0)(stored 0%)
    adding: examples/ejb/basic/(in = 0) (out= 0)(stored 0%)
    adding: examples/ejb/basic/containerManaged/(in = 0) (out= 0)(stored 0%)
    adding: examples/ejb/basic/containerManaged/Account.class(in = 422) (out=
    422)(stored 0%)
    adding: examples/ejb/basic/containerManaged/AccountBean.class(in = 3884)
    (out= 3884)(stored 0%)
    adding: examples/ejb/basic/containerManaged/AccountHome.class(in = 711)
    (out= 711)(stored 0%)
    adding:
    examples/ejb/basic/containerManaged/ProcessingErrorException.class(in
    =339) (out= 339)(stored 0%)
    C:\weblogic\examples\ejb\basic\containerManaged\build>cd ..
    C:\weblogic\examples\ejb\basic\containerManaged>java -classpath
    c:\jdk1.3.1\jre\lib\classes.zip;c:\weblogic\classes;c:\weblogic\lib\weblog
    icaux.jar;c:\weblogic\myserver\clientclasses -Dweblogic.home=c:\weblogic
    weblogic.ejbc -compiler javac build\std_ejb_basic_containerManaged.jar
    c:\weblogic\myserver\ejb_basic_containerManaged.jar
    java.lang.NoSuchMethodError
    at
    weblogic.cmp.rdbms.codegen.StoreGenerator.addPreparedStatementBinding(Stor
    eGenerator.java:839)
    at
    weblogic.cmp.rdbms.codegen.StoreGenerator.preparedStatementBindings(StoreG
    enerator.java:805)
    at
    weblogic.cmp.rdbms.codegen.StoreGenerator.setPrimaryKeyParams(StoreGenerat
    or.java:194)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    weblogic.utils.compiler.CodeGenerator.processAt(CodeGenerator.java:619)
    at
    weblogic.utils.compiler.CodeGenerator.parse(CodeGenerator.java:533)
    at
    weblogic.utils.compiler.CodeGenerator.processAt(CodeGenerator.java:607)
    at
    weblogic.utils.compiler.CodeGenerator.parse(CodeGenerator.java:533)
    at
    weblogic.utils.compiler.CodeGenerator.generateCode(CodeGenerator.java:312)
    at
    weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:223)
    at
    weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:182)
    at
    weblogic.ejb.ejbc.EJBCompiler.generatePersistenceSources(EJBCompiler.java:
    403)
    at weblogic.ejb.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:180)
    at weblogic.ejbc.runBody(ejbc.java:307)
    at weblogic.utils.compiler.Tool.run(Tool.java:80)
    at weblogic.ejbc.main(ejbc.java:353)
    ERROR: Error from ejbc: java.lang.reflect.InvocationTargetException:
    java.lang.NoSuchMethodError
    at
    weblogic.cmp.rdbms.codegen.StoreGenerator.addPreparedStatementBinding(Stor
    eGenerator.java:839)
    at
    weblogic.cmp.rdbms.codegen.StoreGenerator.preparedStatementBindings(StoreG
    enerator.java:805)
    at
    weblogic.cmp.rdbms.codegen.StoreGenerator.setPrimaryKeyParams(StoreGenerat
    or.java:194)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    weblogic.utils.compiler.CodeGenerator.processAt(CodeGenerator.java:619)
    at
    weblogic.utils.compiler.CodeGenerator.parse(CodeGenerator.java:533)
    at
    weblogic.utils.compiler.CodeGenerator.processAt(CodeGenerator.java:607)
    at
    weblogic.utils.compiler.CodeGenerator.parse(CodeGenerator.java:533)
    at
    weblogic.utils.compiler.CodeGenerator.generateCode(CodeGenerator.java:312)
    at
    weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:223)
    at
    weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:182)
    at
    weblogic.ejb.ejbc.EJBCompiler.generatePersistenceSources(EJBCompiler.java:
    403)
    at weblogic.ejb.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:180)
    at weblogic.ejbc.runBody(ejbc.java:307)
    at weblogic.utils.compiler.Tool.run(Tool.java:80)
    at weblogic.ejbc.main(ejbc.java:353)
    --------------- nested within: ------------------
    weblogic.utils.compiler.CodeGenerationException: Exception:
    'java.lang.NoSuchMethodError' while trying to invoke: setPrimaryKeyParams
    at line 22 - with nested exception:
    [java.lang.reflect.InvocationTargetException - with target
    exception:[java.lang.NoSuchMethodError]]
    at
    weblogic.utils.compiler.CodeGenerator.processAt(CodeGenerator.java:628)
    at
    weblogic.utils.compiler.CodeGenerator.parse(CodeGenerator.java:533)
    at
    weblogic.utils.compiler.CodeGenerator.processAt(CodeGenerator.java:607)
    at
    weblogic.utils.compiler.CodeGenerator.parse(CodeGenerator.java:533)
    at
    weblogic.utils.compiler.CodeGenerator.generateCode(CodeGenerator.java:312)
    at
    weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:223)
    at
    weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:182)
    at
    weblogic.ejb.ejbc.EJBCompiler.generatePersistenceSources(EJBCompiler.java:
    403)
    at weblogic.ejb.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:180)
    at weblogic.ejbc.runBody(ejbc.java:307)
    at weblogic.utils.compiler.Tool.run(Tool.java:80)
    at weblogic.ejbc.main(ejbc.java:353)
    --------------- nested within: ------------------
    weblogic.utils.compiler.CodeGenerationException - with nested exception:
    [weblogic.utils.compiler.CodeGenerationException: Exception:
    'java.lang.NoSuchMethodError' while trying to invoke: setPrimaryKeyParams
    at line 22 - with nested exception:
    [java.lang.reflect.InvocationTargetException - with target exception:
    [java.lang.NoSuchMethodError]]]
    at
    weblogic.utils.compiler.CodeGenerator.parse(CodeGenerator.java:585)
    at
    weblogic.utils.compiler.CodeGenerator.processAt(CodeGenerator.java:607)
    at
    weblogic.utils.compiler.CodeGenerator.parse(CodeGenerator.java:533)
    at
    weblogic.utils.compiler.CodeGenerator.generateCode(CodeGenerator.java:312)
    at
    weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:223)
    at
    weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:182)
    at
    weblogic.ejb.ejbc.EJBCompiler.generatePersistenceSources(EJBCompiler.java:
    403)
    at weblogic.ejb.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:180)
    at weblogic.ejbc.runBody(ejbc.java:307)
    at weblogic.utils.compiler.Tool.run(Tool.java:80)
    at weblogic.ejbc.main(ejbc.java:353)
    --------------- nested within: ------------------
    weblogic.utils.compiler.CodeGenerationException - with nested exception:
    [weblogic.utils.compiler.CodeGenerationException - with nested exception:
    [weblogic.utils.compiler.CodeGenerationException: Exception:
    'java.lang.NoSuchMethodError' while trying to invoke: setPrimaryKeyParams
    at line 22 - with nested exception:
    [java.lang.reflect.InvocationTargetException - with target exception:
    [java.lang.NoSuchMethodError]]]]
    at
    weblogic.utils.compiler.CodeGenerator.parse(CodeGenerator.java:585)
    at
    weblogic.utils.compiler.CodeGenerator.generateCode(CodeGenerator.java:312)
    at
    weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:223)
    at
    weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:182)
    at
    weblogic.ejb.ejbc.EJBCompiler.generatePersistenceSources(EJBCompiler.java:
    403)
    at weblogic.ejb.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:180)
    at weblogic.ejbc.runBody(ejbc.java:307)
    at weblogic.utils.compiler.Tool.run(Tool.java:80)
    at weblogic.ejbc.main(ejbc.java:353)
    ERROR: ejbc found errors
    C:\weblogic\examples\ejb\basic\containerManaged>javac -d
    c:\weblogic\myserver\cl
    ientclasses -classpath
    c:\jdk1.3.1\jre\lib\classes.zip;c:\weblogic\classes;c:\we
    blogic\lib\weblogicaux.jar;c:\weblogic\myserver\clientclasses Account.java
    Accou
    ntHome.java ProcessingErrorException.java Client.java
    C:\weblogic\examples\ejb\basic\containerManaged>wlconfig
    WebLogic startup settings are presently:
    CLASSPATH Prefix C:\weblogic\myserver\serverclasses
    CLASSPATH
    C:\weblogic\myserver\serverclasses;c:\jdk1.3.1\jre\lib\tools
    .jar;c:\jdk1.3.1\jre\lib\rt.jar;c:\jdk1.3.1\jre\lib\i18n.jar;C:\weblogic\l
    icense
    ;C:\weblogic\lib\weblogic510sp11.jar;C:\weblogic\classes;C:\weblogic\lib\w
    eblogi
    caux.jar;C:\weblogic\eval\cloudscape\lib\cloudscape.jar
    JAVA_HOME c:\jdk1.3.1\jre
    WEBLOGIC_LICENSEDIR C:\weblogic\license
    WEBLOGIC_HOME C:\weblogic
    system properties:
    java.security.manager
    java.security.policy==C:\weblogic\weblogic.policy
    weblogic.system.home=C:\weblogic
    java.compiler=symcjit
    weblogic.class.path=C:\weblogic\license;C:\weblogic\lib\webl
    ogic510sp11.jar;C:\weblogic\classes;C:\weblogic\myserver\serverclasses;C:\
    weblog
    ic\lib\weblogicaux.jar
    INITIAL_HEAP 64 MB
    MAX_HEAP 64 MB
    SERVERCLASSPATH
    C:\weblogic\myserver\serverclasses;c:\jdk1.3.1\jre\lib\rt.ja
    r;c:\jdk1.3.1\jre\lib\i18n.jar;C:\weblogic\lib\weblogic510sp11boot.jar;C:\
    weblog
    ic\classes\boot;C:\weblogic\eval\cloudscape\lib\cloudscape.jar
    Type "wlconfig -help" for program usage.

  • FMS 3.5 /  server/app1 - netconnect - server/app2 = NetConnect.Connect.FailedHello

    Hello all,
    I've hit a snag with my current FMS project and Im hoping someone out there might be able to help.
    I have a working FMS server with two applications:
    I'm trying to get application 2 to connect to application1.
    I can connect to app1 if i write up a quick client in as3... i CANT seem to connect from FMS server side code in app2. ( which is what I require )
    What am I doing wrong?  Is there something on the server that I need to configure to allow this?
    Do I need to specify something in one of the app's  Application.xml files?
    Thank you for taking the time to read this post,  code is below:
    other info:
         my development server url looks like this:    fms.internal.companyname.com
         my netConnection.uri is simply "rtmp://fms.internal.companyname.com/app1"
         running Flash Media Interactive Server 3.5
         server is working.  I can use live / vod / and some other custom apps that I've written so far.  Just app to app connections aren't functioning.
        I havn't done any other custom configuration to the server.  Its all stock.
    app1's code:
    application.allowDebug = true;
    application.onAppStart = function(){
         trace("[ Booting up app1 ]");
    application.onConnect = function( clientObj ){
        trace("onConnect detected: ");
         application.acceptConnection(clientObj);
    application.onStatus = function(statusObj){
         trace("onStatus detected:  "+ statusObj);
    app2's code:
    application.allowDebug = true;
    nc = new NetConnection();
    nc.onStatus = function(infoObj){
       trace(infoObj.code);
    application.onAppStart = function(){
         trace("[ Booting up app2 ]");
         nc.connect( "rtmp://server/app1");
    application.onStatus = function(statusObj){
         trace("[ onStatus: "+statusObj+" ]");
    So as you can see I'm having app2 connect up to app1 on startup.
    However, no matter what I do I can't seem to get them to connect!  Please help!
    App 2's log tells me that "NetConnection.Connect.Failed".
    When I check the over all server log I just get a "Connection failed"

    Thanks Chess,
    Ok.. sounds like I'm going about this all wrong... 
    I'm building out an Audio/Video Chat application.. ( who doesn't with FMS?    )
    My specific challenge with this project is that I need to pass the client app "secret" data that I can't allow other users to have access to.
    ( By secret I mean I need to push the username and password for another app down to the client. so I'll be using RTMPE or RTMPS by the time this goes live. )
    So how does the following sound?
    My client, ( a flex RIA )  will provide my server "myserver.com/ChatServer"  with a "token":String that can uniquely identify that user.
    So say clientA wants to connect to chat session "42"..   it connects up to "myserver.com/ChatServer/42"  and provides their token.
    1.     When ChatServer/42   onConnect Method fires it will take that token and will put the client into a pending state.
    2.     The server will then hit a webservice on another server with that user's token and the name of the instance.   ( "user_token", "42") and will get back a UserData object... or xml... or whatever FMS uses best for transmitting data i guess... ( would FMS work with ZendAMF?  I'd love to use typed objects for this!)
    3.     Once the ChatServer instance receives the UserData it will pass it back to the client via Client.Call("setClientCredentials", responder, clientData stuff);   // I need to get secret data back to the client that I don't want made available to other users.  ( their passwords etc... )
    4.     ChatServer will also accept the client connection at this point and Add this client to a Roster Shared Object along with some specifics from that ClientData... like name, avatar, etc.
    5.  Once the approved clients begin broadcasting I can then update that Roster_shared_object and use the .sync events to have all connected clients update and start sucking down those streams.
    Does this sound like a better FMS architecture?
    I appreciate everyone's input,
    Thank you for taking the time to read up to this point. 

Maybe you are looking for

  • Error 1172 occurred when sending smtp email via labview

    I found these two useful vi example to send smtp email using Labview: http://decibel.ni.com/content/docs/DOC-7451 http://decibel.ni.com/content/docs/DOC-2401 However, I got error 1172 saying "No connection could be made because the target machine act

  • Can I align the last line of a text container to to bottom of a container?

    Is it possible to take the last line in a text container and vertically align it to the bottom? I'm aware that I can justify the entire text container vertically to achieve this effect. However, this means tha every line in the container is now space

  • How to maintain battery life of z930

    Hi! I am an university student using this toshiba ultrabook as my primary PC. Therefore, my laptop can be switched on up to 8 hours a day and even more sometimes. I would like to know how i should maintain the battery because it is internal battery a

  • In which case we opt BPM?

    Can any one explain me the business req in your project that leads to go for BPM?

  • Error in formula

    Hi , I am using DATE_FISCYEAR( Billing doc. date, Fiscal Year Variant ) formula in update rule to calculate fiscal year . Now when we get  from 2008 and prior we don't get any error but any date from 2009 to 2010 future year is giving error . any con