Deployment of datasource to CEP server

HI,
I have a CEP based project which is configured with a datasource to connect to DB. I need to deploy the datasoruce to CEP server. Only way i could find to do so is through manually adding the datasoruce entry to server's config.xml file. But we need to automate the process of deployment. so is there any way to add datasoruce to CEP server through ant script or any command-line interface tool?
Thanks
Shashank

HI,
I have a CEP based project which is configured with a datasource to connect to DB. I need to deploy the datasoruce to CEP server. Only way i could find to do so is through manually adding the datasoruce entry to server's config.xml file. But we need to automate the process of deployment. so is there any way to add datasoruce to CEP server through ant script or any command-line interface tool?
Thanks
Shashank

Similar Messages

  • How can i create datasource on apache server for ADF application?

    Hi All,
    i my use case i have created simple adf application using ADF BC and want to deploy on Apache server 6.x.
    So my question is that  how can i create Data Source i have goggling and find  two different way to do this.
    1. write following line of code on apache server conf/Context.xml file.
    <Resource name="jdbc/TestDB" auth="Container"
                  type="javax.sql.DataSource"
                   driverClassName="oracle.jdbc.OracleDriver"
                  url="jdbc:oracle:thin:@localhost:dst"
                  username="jagrandb" password="jagrantest" maxActive="20" maxIdle="10"
                  maxWait="-1"/>
    but when i have used this way i got following exception.
    org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper cannot be cast to oracle.jdbc.OracleConnection
    check link-
    https://forums.oracle.com/thread/2564233
    2. write following line of code apache conf/Server.xml file
    <GlobalNamingResources>
        <!-- Editable user database that can also be used by
             UserDatabaseRealm to authenticate users
        -->
        <Resource name="UserDatabase" auth="Container"
                  type="org.apache.catalina.UserDatabase"
                  description="User database that can be updated and saved"
                  factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
                  pathname="conf/tomcat-users.xml" />
    <Resource name="jdbc/TestDB" auth="Container"
                  type="oracle.jdbc.pool.OracleDataSource"
                  description="User database that can be updated and saved"
                  driverClassName="oracle.jdbc.driver.OracleDriver"
                  factory="oracle.jdbc.pool.OracleDataSourceFactory"
                  url="jdbc:oracle:thin:@//172.31.43.207:1521:dst"
                  username="jagrandb" password="jagrantest" maxActive="20" maxIdle="10"
                  maxWait="-1"   />
      </GlobalNamingResources>
    and add this line in context.xml file inside <context> tag
    <ResourceLink global="jdbc/TestDB" name="jdbc/TestDB" type="oracle.jdbc.pool.OracleDataSource"/>
    but when i have run application i have got following error
    log-
    javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: invalid arguments in call"
      at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.getConnection(QueryTagSupport.java:298)
      at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.doStartTag(QueryTagSupport.java:181)
      at org.apache.jsp.test_jsp._jspx_meth_sql_005fquery_005f0(test_jsp.java:110)
      at org.apache.jsp.test_jsp._jspService(test_jsp.java:63)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
      at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857)
      at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565)
      at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)
      at java.lang.Thread.run(Thread.java:662)
    Aug 2, 2013 5:17:21 PM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: invalid arguments in call"
      at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.getConnection(QueryTagSupport.java:298)
      at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.doStartTag(QueryTagSupport.java:181)
      at org.apache.jsp.test_jsp._jspx_meth_sql_005fquery_005f0(test_jsp.java:110)
      at org.apache.jsp.test_jsp._jspService(test_jsp.java:63)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
      at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857)
      at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565)
      at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)
      at java.lang.Thread.run(Thread.java:662)
    so what is the solution how to create datasource on apche server which suitable for adf application?
    when i test data source using  following code used 1. way as i mentioned above  its running fine bt not for second.
    <%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <sql:query var="rs" dataSource="jdbc/TestDB">
    select empname from pay_emphdr where empcd='JK1306'
    </sql:query>
    <html>
      <head>
        <title>DB Test</title>
      </head>
      <body>
      <h2>Results</h2>
    <c:forEach var="row" items="${rs.rows}">
        Foo ${row.empname}<br/>
    </c:forEach>
      </body>
    </html>
    please help me. it is very urgent.
    thanks in Advance
    Manish

    Hi Lindalnci
    i have already tried  this tutorial and in my post i have defined first way to do using this procedure.
    in that case i have got following exception as i have mentioned above
    org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper cannot be cast to oracle.jdbc.OracleConnection

  • EXCEPTION in deploying ear file on weblogic server 11g

    Hi, I am trying to deploy an ear file on the weblogic server 11g(10.3.5) application installed successfully but when i tried to start application to listen service requests its throws exceptions and application state changed from prepared to failed
    I have unchecked the check box Auto generate and synchronize weblogic JDBC descriptors during deployment in application properties under the deployment node. I also have created same jdbc datasource with name Connection1 and JINDI name jdbc/Connection1 on my weblogic server.
    Exceptions that application throwing are.
    Message icon - Error weblogic.common.ResourceException: java.security.PrivilegedActionException: weblogic.common.ResourceException: java.security.PrivilegedActionException: weblogic.common.ResourceException: No credential mapper entry found for password indirection user=hr for data source Connection1
    But when I tried to deploy this from jdeveloper deployment console directly on the server it deployed successfully and starts listening requests.
    please give me solution of this problem.
    Thanks in advance
    Edited by: Rao on Nov 29, 2012 10:22 AM
    Edited by: Rao on Nov 29, 2012 10:23 AM

    I have resolved this exception. Exception occur due wrong settings in weblogig_Application.xml file remove Data source information from this file and provide datasource on weblogic server.

  • Can  not connect datasource in weblogic server

    I have written a test class. I create datasource in weblogic server 11g(datasource name =fdbusionline jndi name = 'jdbc/fdbusionline' ) and start weblogic server. but always report the following error:
    javax.naming.NameNotFoundException: Unable to resolve 'fdbusionline'. Resolved '' [Root exception is javax.naming.NameNotFoundException: Unable to resolve 'fdbusionline'. Resolved '']; remaining name 'fdbusionline'
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
    at weblogic.jndi.internal.ServerNamingNode_1035_WLStub.lookup(Unknown Source)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:423)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:411)
    at com.fd.busionline.test.appinterface.impl.DataSourceTest.testConnectDataSource(DataSourceTest.java:54)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
    at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:46)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
    at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
    at oracle.jdevimpl.junit.runner.junit4.JUnit4Testable.run(JUnit4Testable.java:24)
    at oracle.jdevimpl.junit.runner.TestExecution.run(TestExecution.java:27)
    at oracle.jdevimpl.junit.runner.JUnitTestRunner.main(JUnitTestRunner.java:88)
    Caused by: javax.naming.NameNotFoundException: Unable to resolve 'fdbusionline'. Resolved ''
    at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
    at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:252)
    at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
    at weblogic.jndi.internal.RootNamingNode_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
    at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    @test
    public void testConnectDataSource(){
    Connection conn = null;
    Context ctx = null;
    try{
    // Hashtable env = new Hashtable();
    // env.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    // env.put(Context.PROVIDER_URL, "t3://localhost:7001");
    // env.put(InitialContext.SECURITY_PRINCIPAL, "weblogic");
    // env.put(InitialContext.SECURITY_CREDENTIALS, "!QAZ2wsx");
    Environment env=new Environment();
    env.setProviderUrl("t3://localhost:7001");
    env.setSecurityPrincipal("weblogic");
    env.setSecurityCredentials("!QAZ2wsx");
    ctx = new InitialContext();
    ctx=env.getInitialContext();
    Object obj = ctx.lookup("fdbusionline");// can not work
    Object obj = ctx.lookup("jdbc/fdbusionline"); // can not work
    DataSource ds = (DataSource) PortableRemoteObject.narrow(obj, DataSource.class);
    conn = ds.getConnection();
    Statement stmt = conn.createStatement();
    String sql = "select sysdate from dual";
    ResultSet rs = stmt.executeQuery(sql);
    while (rs.next()) {
    System.out.println(rs.getDate(1));
    } catch (Exception e) {
    e.printStackTrace();
    }finally{
    System.out.println("Test Datasource Connection");
    who can help me? Any help will be appreciated greatly

    Okay, but are you sure that the datasource is actually deployed? Does the server log or the management interface of weblogic actually report that the datasource was deployed succesfully under the name you specify? And did you double check if you don't have any name mismatches (such as a typo or an upper/lowercase mismatch)?
    I ask because the connection to the server appears to be working, but the lookup of the name gives no results - the only thing I can think of is that the resource really is not deployed even if you believe it is.
    A few observations:
    - you may want to put your JNDI credentials in a jndi.properties file in the root of the classpath in stead of hardcoding them (but you may hardcode for now as a quick test of course)
    - the correct lookup should be to "jdbc/fdbusionline", in other words you use the jndi-name.
    ctx = new InitialContext();
    ctx=env.getInitialContext();the env.getInitialContext() really is not necessary, I would remove it.

  • ODI-26029: Could not deploy the datasource automatically

    Hello All,
       I have deployed a Java EE agent as "ODIJavaAgent" on Managed server "odi_server1" on port 8001. Generated the server template from ODI studio and also agent test was successful. However when I try to deploy the data sources for e.g. work repository or data server, after dragging them on Data source tab of the agent, I am getting below error.
    Please help on this.
    Note: Weblogic was up and running during the process.
    java.lang.RuntimeException: java.lang.RuntimeException: ODI-26029: Could not deploy the datasource automatically.
    at oracle.odi.ui.framework.adapter.DefaultAdapter.executeBackgroundTask(DefaultAdapter.java:611)
    at oracle.odi.ui.framework.UIFramework.executeBackgroundTask(UIFramework.java:347)
    at com.sunopsis.graphical.dialog.SnpsDialogDeployDatasource.dialogOkActionHook(SnpsDialogDeployDatasource.java:73)
    at com.sunopsis.graphical.definition.DialogDefinitionNode$1.vetoableChange(DialogDefinitionNode.java:407)
    at java.beans.VetoableChangeSupport.fireVetoableChange(VetoableChangeSupport.java:335)
    at java.beans.VetoableChangeSupport.fireVetoableChange(VetoableChangeSupport.java:253)
    at oracle.bali.ewt.dialog.JEWTDialog.fireVetoableChange(JEWTDialog.java:1472)
    at oracle.bali.ewt.dialog.JEWTDialog.dismissDialog(JEWTDialog.java:1502)
    at oracle.bali.ewt.dialog.JEWTDialog$UIListener.actionPerformed(JEWTDialog.java:1894)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2319)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    at java.awt.Component.processMouseEvent(Component.java:6288)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3268)
    at java.awt.Component.processEvent(Component.java:6053)
    at java.awt.Container.processEvent(Container.java:2042)
    at java.awt.Component.dispatchEventImpl(Component.java:4651)
    at java.awt.Container.dispatchEventImpl(Container.java:2101)
    at java.awt.Component.dispatchEvent(Component.java:4482)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
    at java.awt.Container.dispatchEventImpl(Container.java:2085)
    at java.awt.Window.dispatchEventImpl(Window.java:2479)
    at java.awt.Component.dispatchEvent(Component.java:4482)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:643)
    at java.awt.EventQueue.access$000(EventQueue.java:84)
    at java.awt.EventQueue$1.run(EventQueue.java:603)
    at java.awt.EventQueue$1.run(EventQueue.java:600)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
    at java.awt.EventQueue$2.run(EventQueue.java:617)
    at java.awt.EventQueue$2.run(EventQueue.java:614)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:613)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:179)
    at java.awt.Dialog$1.run(Dialog.java:1051)
    at java.awt.Dialog$3.run(Dialog.java:1099)
    at java.awt.Dialog.show(Dialog.java:1096)
    at java.awt.Component.show(Component.java:1584)
    at java.awt.Component.setVisible(Component.java:1537)
    at java.awt.Window.setVisible(Window.java:843)
    at java.awt.Dialog.setVisible(Dialog.java:987)
    at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:397)
    at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:356)
    at oracle.odi.ui.framework.adapter.DefaultAdapter.displayDialog(DefaultAdapter.java:242)
    at oracle.odi.ui.framework.UIFramework.displayDialog(UIFramework.java:88)
    at com.sunopsis.graphical.frame.edit.EditFrameSnpAgent$DatasourcePane$2.actionPerformed(EditFrameSnpAgent.java:1353)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2319)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at javax.swing.AbstractButton.doClick(AbstractButton.java:358)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:810)
    at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:850)
    at java.awt.Component.processMouseEvent(Component.java:6288)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3268)
    at java.awt.Component.processEvent(Component.java:6053)
    at java.awt.Container.processEvent(Container.java:2042)
    at java.awt.Component.dispatchEventImpl(Component.java:4651)
    at java.awt.Container.dispatchEventImpl(Container.java:2101)
    at java.awt.Component.dispatchEvent(Component.java:4482)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
    at java.awt.Container.dispatchEventImpl(Container.java:2085)
    at java.awt.Window.dispatchEventImpl(Window.java:2479)
    at java.awt.Component.dispatchEvent(Component.java:4482)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:643)
    at java.awt.EventQueue.access$000(EventQueue.java:84)
    at java.awt.EventQueue$1.run(EventQueue.java:603)
    at java.awt.EventQueue$1.run(EventQueue.java:600)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
    at java.awt.EventQueue$2.run(EventQueue.java:617)
    at java.awt.EventQueue$2.run(EventQueue.java:614)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:613)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:175)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:162)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Caused by: java.lang.RuntimeException: ODI-26029: Could not deploy the datasource automatically.
    at com.sunopsis.graphical.dialog.SnpsDialogDeployDatasource$1.doInBackground(SnpsDialogDeployDatasource.java:97)
    at oracle.odi.ui.framework.AbsUIRunnableTask.run(AbsUIRunnableTask.java:258)
    at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:656)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: java.io.IOException: Unable to resolve 'weblogic.management.mbeanservers.edit'. Resolved 'weblogic.management.mbeanservers'
    at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:196)
    at weblogic.management.remote.common.ClientProviderBase.newJMXConnector(ClientProviderBase.java:84)
    at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnectorFactory.java:338)
    at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:247)
    at oracle.odi.wls.datasource.creator.WLJMXConnectorCreator.createJMXConnector(WLJMXConnectorCreator.java:34)
    at oracle.odi.wls.datasource.creator.WLDataSourceDeployer.deployDataSources(WLDataSourceDeployer.java:33)
    at com.sunopsis.graphical.dialog.SnpsDialogDeployDatasource.doGenerateWLDataSources(SnpsDialogDeployDatasource.java:374)
    at com.sunopsis.graphical.dialog.SnpsDialogDeployDatasource.access$1(SnpsDialogDeployDatasource.java:363)
    at com.sunopsis.graphical.dialog.SnpsDialogDeployDatasource$1.doInBackground(SnpsDialogDeployDatasource.java:88)
    at oracle.odi.ui.framework.AbsUIRunnableTask.run(AbsUIRunnableTask.java:258)
    at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
    ... 1 more
    Caused by: javax.naming.NameNotFoundException: Unable to resolve 'weblogic.management.mbeanservers.edit'. Resolved 'weblogic.management.mbeanservers' [Root exception is javax.naming.NameNotFoundException: Unable to resolve 'weblogic.management.mbeanservers.edit'. Resolved 'weblogic.management.mbeanservers']; remaining name 'edit'
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
    at weblogic.jndi.internal.ServerNamingNode_1035_WLStub.lookup(Unknown Source)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:423)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:411)
    at javax.naming.InitialContext.lookup(InitialContext.java:392)
    at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:179)
    ... 11 more
    Caused by: javax.naming.NameNotFoundException: Unable to resolve 'weblogic.management.mbeanservers.edit'. Resolved 'weblogic.management.mbeanservers'
    at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
    at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:252)
    at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:214)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:214)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:214)
    at weblogic.jndi.internal.RootNamingNode_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
    at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Cheers,
    Andy.

    What do you mean by deploying the data source? You did this DS addition to agent before generating the template right?

  • Deployment of DataSource with Library SDA

    Hi,
    as mentioned in:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/bb/69da54d8aedc419d46d9ea074e4d41/frameset.htm
    it should be poosible to deploy a DataSource together with my Library SDA. I have the data-sources.xml in the  "/server/descriptors" directory of the library SDA
    When I deploy the library i can't see the DataSource anywhere in Visual Admin (eg JDBC Connector). How can I be sure the DataSource is deployed. Or has it to be registered under JDBC Connector in Visual Admin anyway?
    Thanks,
    Lars

    I've tested it on different Netweaver Versions, current one is 7.00 SP9 (1000.7.00.9.1.20060913120000).
    My data-sources.xml looks like (this is created be exporting a working datsource via Visual Admin):
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE data-sources SYSTEM 'data-sources.dtd'>
    <data-sources>
      <application-name>ee/escriba</application-name>
      <data-source>
        <data-source-name>EscribaDS</data-source-name>
        <driver-name>ORACLE</driver-name>
        <max-connections>25</max-connections>
        <max-time-to-wait-connection>60</max-time-to-wait-connection>
        <sql-engine>vendor_sql</sql-engine>
        <jdbc-2.0>
          <cpds-class-name>oracle.jdbc.pool.OracleConnectionPoolDataSource</cpds-class-name>
          <object-factory>oracle.jdbc.pool.OracleDataSourceFactory</object-factory>
          <properties>
            <property>
              <property-name>user</property-name>
              <property-value>test_123_e</property-value>
            </property>
            <property>
              <property-name>password</property-name>
              <property-value>test_123_e</property-value>
            </property>
            <property>
              <property-name>url</property-name>
              <property-value>jdbc:oracle:thin:@192.168.200.8:1521:XE</property-value>
            </property>
          </properties>
        </jdbc-2.0>
      </data-source>
    </data-sources>
    and is located under: ./server/descriptors
    Does it need to be referenced in any other deployment descriptor?
    Regards,
    Lars

  • Problem to deploy ADF application on tomcat server

    Hi all,
    i 'm using this tutorial link to deploy adf application on tomcat server.
    https://blogs.oracle.com/dana/entry/how_to_deploy_a_11g_adf_applic_1
    but when i have run my application i have got following error
    java.sql.SQLException: invalid arguments in call
    log-
    Jul 29, 2013 11:35:16 AM com.sun.faces.config.ConfigureListener contextInitialized
    INFO: Initializing Sun's JavaServer Faces implementation (1.2_04-b07-FCS) for context '/TestApacheApp_ViewController_webapp1'
    Jul 29, 2013 11:35:19 AM oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack contextInitialized
    SEVERE: ADFConnection mbean not registered for defaultApplicationName.
    Jul 29, 2013 11:35:19 AM oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack contextInitialized
    SEVERE:
    oracle.jrf.UnknownPlatformException: JRF is unable to determine the current application server platform.
      at oracle.jrf.ServerPlatformSupportFactory.getInstance(ServerPlatformSupportFactory.java:79)
      at oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack.contextInitialized(ADFConnectionLifeCycleCallBack.java:82)
      at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
      at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:830)
      at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:515)
      at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1231)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
      at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
      at org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1471)
      at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:243)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
      at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857)
      at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565)
      at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)
      at java.lang.Thread.run(Thread.java:662)
    Jul 29, 2013 11:35:19 AM oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack contextInitialized
    SEVERE: Failed to register config mbean for defaultApplicationName.
    Jul 29, 2013 11:35:19 AM oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack contextInitialized
    SEVERE:
    oracle.jrf.UnknownPlatformException: JRF is unable to determine the current application server platform.
      at oracle.jrf.ServerPlatformSupportFactory.getInstance(ServerPlatformSupportFactory.java:79)
      at oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack.contextInitialized(ADFConfigLifeCycleCallBack.java:79)
      at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
      at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:830)
      at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:515)
      at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1231)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
      at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
      at org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1471)
      at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:243)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
      at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857)
      at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565)
      at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)
      at java.lang.Thread.run(Thread.java:662)
    Jul 29, 2013 11:35:19 AM oracle.bc4j.mbean.BC4JConfigLifeCycleCallBack contextInitialized
    SEVERE: Not able to get Deployment Name
    Jul 29, 2013 11:35:28 AM oracle.adfinternal.controller.state.ControllerState initializeRequest
    WARNING: ADFc: Deserialization of session state detected but ADF scope HA support is not enabled.  Please enable ADF scope HA support in the adf-config.xml file to ensure correct functioning of your applicaiton.
    Jul 29, 2013 11:35:28 AM oracle.adf.share.http.ServletADFContext initialize
    WARNING: Found wrong applictionScope sticking to oldContext for oldApplication defaultApplicationName, while the current one is null
    Jul 29, 2013 11:35:28 AM oracle.jbo.uicli.mom.CpxUtils$Visitor logMainApplicationCpx
    INFO: jndi:/localhost/TestApacheApp_ViewController_webapp1/WEB-INF/classes/com/in/jagran/view/DataBindings.cpx
    Jul 29, 2013 11:35:28 AM oracle.adf.share.jndi.MDSBackingStore documentExists
    INFO: MDS-00013: no metadata found for metadata object "/META-INF/connections.xml"
    Jul 29, 2013 11:35:32 AM oracle.adf.share.http.ServletADFContext initialize
    WARNING: Found wrong applictionScope sticking to oldContext for oldApplication defaultApplicationName, while the current one is null
    Jul 29, 2013 11:35:33 AM oracle.adf.share.http.ServletADFContext initialize
    WARNING: Found wrong applictionScope sticking to oldContext for oldApplication defaultApplicationName, while the current one is null
    Jul 29, 2013 11:35:47 AM org.apache.coyote.http11.Http11AprProtocol pause
    INFO: Pausing Coyote HTTP/1.1 on http-8086
    Jul 29, 2013 11:35:47 AM org.apache.coyote.ajp.AjpAprProtocol pause
    INFO: Pausing Coyote AJP/1.3 on ajp-8009
    Jul 29, 2013 11:35:48 AM org.apache.catalina.core.StandardService stop
    INFO: Stopping service Catalina
    Jul 29, 2013 11:35:48 AM org.apache.coyote.http11.Http11AprProtocol destroy
    INFO: Stopping Coyote HTTP/1.1 on http-8086
    Jul 29, 2013 11:35:48 AM org.apache.coyote.ajp.AjpAprProtocol destroy
    INFO: Stopping Coyote AJP/1.3 on ajp-8009

    There is no guideline I know of as this depends on the app itself.
    What you should do is to deploy the application onto a test server and check the metrics of the app over a defined period of time with a defined amount of traffic.
    Timo

  • Deploying adf application to WebLogic Server Version: 10.3.6.0

    hi i have develope application in adf using jdeveloper 11.1.1.6.0 i have deploy the application to weblogic 10.3.6.0
    this is what i have done
    1. i have created a new Managed server in my weblogic=under Environment->Servers
    2.the state of my new server is shutdown
    3.deployment method
    -in my jdeveloper i click application->Application properties->Deployment->new->Archive Type->EAR FILE->applicationName->OK
    TO deploy from jdeveloper to weblogic server
    in my jdeveloper i click application APPLICATION->Deploy->applicationName->Deploy to Application Server-applicationserver i choose the new server i created in my weblogic->weblogic Option->deploy to selected instance->i select the name of the server i created in my weblogic->next->finish
    after that the deployment configuration screen pop up than i click deploy then screen MDS CONFIGURATION invalid pop up with message MDS CONFIGURATION information appear invalid metadata Repository not found in target server.deploy anyway then i click yes
    i got this meaasge in my deployment log
    [08:33:46 AM] Entering Oracle Deployment Plan Editor
    [08:38:56 AM] Deploying Application...
    [08:38:57 AM] [Deployer:149195]Operation 'deploy' on application 'UAMOrganisation' has been deferred since 'UamOrganisation' is unavailable
    [08:38:57 AM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application UAMOrganisation on UamOrganisation.: .
    [08:38:57 AM] Application Deployed Successfully.
    [08:38:57 AM] Elapsed time for deployment:  5 minutes, 21 seconds
    [08:38:57 AM] ----  Deployment finished.  ----than i go to my weblogic under deployment there i found my deploy application with a state=new and type=Enterprise application
    than i click start->Servircing all request->start application assistance->yes->Start requests have been sent to the selected Deployments.
    but now i what to test my application am geting this Internet Explorer cannot display the webpage,do i need to start my Managed server how do i do that,i try to click server start but it does not start how can i start my new created Managed server
    the listern port of my new created server is 8003
    my problem is am not able to test the application i have deploy
    Edited by: adf009 on 2013/01/30 11:26 AM
    Edited by: adf009 on 2013/01/30 11:39 AM
    Edited by: adf009 on 2013/01/30 11:41 AM
    Edited by: adf009 on 2013/01/30 12:33 PM

    i did this,am in window 7 64 bit
    start startNodeManager.cmd
    C:\Oracle\weblogic\wlserver_10.3\server\bin>set CLASSPATH=.;C:\Oracle\weblogic\p
    atch_wls1036\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracl
    e\weblogic\patch_ocp371\profiles\default\sys_manifest_classpath\weblogic_patch.j
    ar;C:\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;C:\Oracle\weblogic\WLSERV~1.3\serve
    r\lib\weblogic_sp.jar;C:\Oracle\weblogic\WLSERV~1.3\server\lib\weblogic.jar;C:\O
    racle\weblogic\modules\features\weblogic.server.modules_10.3.6.0.jar;C:\Oracle\w
    eblogic\WLSERV~1.3\server\lib\webservices.jar;C:\Oracle\weblogic\modules\ORGAPA~
    1.1/lib/ant-all.jar;C:\Oracle\weblogic\modules\NETSFA~1.0_1/lib/ant-contrib.jar;
    C:\Oracle\MIDDLE~1\WLSERV~1.1\server\lib\xqrl.jar
    C:\Oracle\weblogic\wlserver_10.3\server\bin>if not "" == "" set CLASSPATH=;.;C:\
    Oracle\weblogic\patch_wls1036\profiles\default\sys_manifest_classpath\weblogic_p
    atch.jar;C:\Oracle\weblogic\patch_ocp371\profiles\default\sys_manifest_classpath
    \weblogic_patch.jar;C:\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;C:\Oracle\weblogic
    \WLSERV~1.3\server\lib\weblogic_sp.jar;C:\Oracle\weblogic\WLSERV~1.3\server\lib\
    weblogic.jar;C:\Oracle\weblogic\modules\features\weblogic.server.modules_10.3.6.
    0.jar;C:\Oracle\weblogic\WLSERV~1.3\server\lib\webservices.jar;C:\Oracle\weblogi
    c\modules\ORGAPA~1.1/lib/ant-all.jar;C:\Oracle\weblogic\modules\NETSFA~1.0_1/lib
    /ant-contrib.jar;C:\Oracle\MIDDLE~1\WLSERV~1.1\server\lib\xqrl.jar
    C:\Oracle\weblogic\wlserver_10.3\server\bin>if not "C:\Oracle\MIDDLE~1\WLSERV~1.
    1\server\lib\xqrl.jar" == "" set CLASSPATH=.;C:\Oracle\weblogic\patch_wls1036\pr
    ofiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\weblogic\patc
    h_ocp371\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MI
    DDLE~1\JDK160~1\lib\tools.jar;C:\Oracle\weblogic\WLSERV~1.3\server\lib\weblogic_
    sp.jar;C:\Oracle\weblogic\WLSERV~1.3\server\lib\weblogic.jar;C:\Oracle\weblogic\
    modules\features\weblogic.server.modules_10.3.6.0.jar;C:\Oracle\weblogic\WLSERV~
    1.3\server\lib\webservices.jar;C:\Oracle\weblogic\modules\ORGAPA~1.1/lib/ant-all
    .jar;C:\Oracle\weblogic\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\Oracle\MIDDL
    E~1\WLSERV~1.1\server\lib\xqrl.jar;C:\Oracle\MIDDLE~1\WLSERV~1.1\server\lib\xqrl
    .jar
    C:\Oracle\weblogic\wlserver_10.3\server\bin>cd C:\Oracle\weblogic\WLSERV~1.3\com
    mon\NODEMA~1
    C:\Oracle\weblogic\WLSERV~1.3\common\NODEMA~1>if not "" == "" if not "" == "" go
    to runNMWithListenAddressAndPort
    C:\Oracle\weblogic\WLSERV~1.3\common\NODEMA~1>if not "" == "" goto runNMWithList
    enAddress
    C:\Oracle\weblogic\WLSERV~1.3\common\NODEMA~1>if not "" == "" goto runNMWithList
    enPort
    C:\Oracle\weblogic\WLSERV~1.3\common\NODEMA~1>"C:\Oracle\MIDDLE~1\JDK160~1\bin\j
    ava.exe" -server -Xms32m -Xmx200m -XX:MaxPermSize=128m -XX:+UseSpinning -Dcohere
    nce.home=C:\Oracle\weblogic\COHERE~1.7 -Dbea.home=C:\Oracle\weblogic  -Dweblogic
    .ProductionModeEnabled=true   -da -Dplatform.home=C:\Oracle\MIDDLE~1\WLSERV~1.1
    -Dwls.home=C:\Oracle\MIDDLE~1\WLSERV~1.1\server -Dweblogic.home=C:\Oracle\MIDDLE
    ~1\WLSERV~1.1\server   -Dweblogic.management.discover=true  -Dwlw.iterativeDev=f
    alse -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false "-Djava.security.pol
    icy=C:\Oracle\weblogic\WLSERV~1.3\server\lib\weblogic.policy" "-Dweblogic.nodema
    nager.javaHome=C:\Oracle\MIDDLE~1\JDK160~1" weblogic.NodeManager -v
    <30 Jan 2013 1:14:37 PM> <INFO> <Loading domains file: C:\Oracle\weblogic\WLSERV
    ~1.3\common\NODEMA~1\nodemanager.domains>
    30 Jan 2013 1:14:37 PM weblogic.nodemanager.server.NMServerConfig initDomainsMap
    INFO: Loading domains file: C:\Oracle\weblogic\WLSERV~1.3\common\NODEMA~1\nodema
    nager.domains
    <30 Jan 2013 1:14:38 PM> <INFO> <Loading identity key store: FileName=C:\Oracle\
    MIDDLE~1\WLSERV~1.1\server\lib\DemoIdentity.jks, Type=jks, PassPhraseUsed=true>
    30 Jan 2013 1:14:38 PM weblogic.nodemanager.server.SSLConfig loadKeyStoreConfig
    INFO: Loading identity key store: FileName=C:\Oracle\MIDDLE~1\WLSERV~1.1\server\
    lib\DemoIdentity.jks, Type=jks, PassPhraseUsed=true
    <30 Jan 2013 1:14:38 PM> <SEVERE> <Fatal error in node manager server>
    weblogic.nodemanager.common.ConfigException: Identity key store file not found:
    C:\Oracle\MIDDLE~1\WLSERV~1.1\server\lib\DemoIdentity.jks
            at weblogic.nodemanager.server.SSLConfig.loadKeyStoreConfig(SSLConfig.ja
    va:153)
            at weblogic.nodemanager.server.SSLConfig.<init>(SSLConfig.java:102)
            at weblogic.nodemanager.server.NMServer.init(NMServer.java:186)
            at weblogic.nodemanager.server.NMServer.<init>(NMServer.java:148)
            at weblogic.nodemanager.server.NMServer.main(NMServer.java:380)
            at weblogic.NodeManager.main(NodeManager.java:31)
    30 Jan 2013 1:14:38 PM weblogic.nodemanager.server.NMServer main
    SEVERE: Fatal error in node manager server
    weblogic.nodemanager.common.ConfigException: Identity key store file not found:
    C:\Oracle\MIDDLE~1\WLSERV~1.1\server\lib\DemoIdentity.jks
            at weblogic.nodemanager.server.SSLConfig.loadKeyStoreConfig(SSLConfig.ja
    va:153)
            at weblogic.nodemanager.server.SSLConfig.<init>(SSLConfig.java:102)
            at weblogic.nodemanager.server.NMServer.init(NMServer.java:186)
            at weblogic.nodemanager.server.NMServer.<init>(NMServer.java:148)
            at weblogic.nodemanager.server.NMServer.main(NMServer.java:380)
            at weblogic.NodeManager.main(NodeManager.java:31)
    C:\Oracle\weblogic\WLSERV~1.3\common\NODEMA~1>goto finish
    C:\Oracle\weblogic\WLSERV~1.3\common\NODEMA~1>ENDLOCAL
    C:\Oracle\weblogic\wlserver_10.3\server\bin>can i test my application without manged server started
    link is http://italianknows.blogspot.com/2011/02/weblogic-1034-ps3-nodemanager-wont.html
    Edited by: adf009 on 2013/01/30 1:43 PM
    Edited by: adf009 on 2013/01/30 1:56 PM
    Edited by: adf009 on 2013/01/30 1:57 PM
    Edited by: adf009 on 2013/01/30 2:14 PM
    Edited by: adf009 on 2013/01/30 2:15 PM
    Edited by: adf009 on 2013/01/30 2:16 PM

  • Visual Studio 2005 deploy Crystal Report to Windows Server 2008 64-bit

    I've read a lot of posts here regarding deploying on a 64-bit server, but I'm still confused.
    We use Visual Studio 2005 to develop on a Windows XP machine.  We use the built-in version of Crystal that comes with VS2005. 
    We want to deploy the runtime to a Windows Server 2008 running 64-bit.  We want to deploy using the msi runtime components and not the merge modules.
    We end up with the message "An error has occurred while attempting to load Crystal Reports". 
    So, the question is, can we build & deploy a 64-bit version, and if so, what are we doing wrong here ?  At first glance, I don't see VS 2005 as listing Windows 2008 as a supported platform, so am I dead in the water right there ?  If that's the case .... then what are my options ?
    Any help or pointing me in the right direction would be greatly appreciated !
    Thank You,
    Wayne

    In a nut shell, the only two 64 bit versions of Crystal Reports are 10.2 (bundles with .NET 2005) and 10.5 (bundles with .NET 2008). All other versions of Crystal Reports are 32 bit only. For more info see [this|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10d5fa88-2013-2c10-c9a5-f11963607d4e] article.
    Ludek

  • Error while deploying the application to remote server

    Dear All,
    I am trying to deploy the application to remote server directly from jdeveloper ide.The server is on LAN and installed on other PC,I can also access the console and login correctly to console. After doing application server connection and testing the connection it gives me following error.
    Testing JSR-160 Runtime                ... failed.
    Cannot establish connection.
    Testing JSR-160 DomainRuntime          ... skipped.
    Testing JSR-88                         ... skipped.
    Testing JSR-88-LOCAL                   ... skipped.
    Testing JNDI                           ... skipped.
    Testing JSR-160 Edit                   ... skipped.
    Testing HTTP                           ... success.
    Testing Server MBeans Model            ... skipped.
    1 of 8 tests successful.WebLogic Server Version: 10.3.2.0.
    Regards,
    Santosh.
    Component              Version
    ================================================
    ADF Business Components         11.1.1.59.23
    Java(TM) Platform         1.6.0_21
    Oracle IDE              11.1.1.4.37.59.23
    Versioning Support         11.1.1.4.37.59.23

    Hi All,
    At-last the deployment started but it gave following error.
    [05:44:10 PM] Deploying Application...
    [05:44:12 PM] [Deployer:149193]Operation 'deploy' on application 'Cibil_ViewController_webapp1' has failed on 'AdminServer'
    [05:44:12 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application Cibil_ViewController_webapp1 on AdminServer.: Failed to load webapp: 'Cibil_ViewController_webapp1.war'.
    [05:44:12 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'Cibil_ViewController_webapp1.war'
    [05:44:12 PM] Caused by: java.lang.ClassNotFoundException: oracle.adf.model.servlet.ADFBindingFilter
    [05:44:12 PM]   See server logs or server console for more details.
    [05:44:12 PM] weblogic.application.ModuleException: Failed to load webapp: 'Cibil_ViewController_webapp1.war'
    [05:44:12 PM] ####  Deployment incomplete.  ####
    [05:44:12 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)any idea ??
    Regards,
    santosh

  • Error Deploying ADF application to ADF Server

    Hi Team,
    Iam unable to deploy the ADF application to server.
    The following is the log :
    *[08:25:11 PM] ---- Deployment started. ----*
    *[08:25:11 PM] Target platform is (Weblogic 10.3).*
    *[08:25:11 PM] Retrieving existing application information*
    *[08:25:11 PM] Running dependency analysis...*
    *[08:25:11 PM] Building...*
    *[08:25:15 PM] Deploying profile...*
    *[08:25:15 PM] Wrote Web Application Module to D:\sridhar\SampleADF\ADFWorld\ViewController\deploy\ADFWorld_ViewController_webapp1.war*
    *[08:25:15 PM] Deploying Application...*
    *[08:25:16 PM] [Deployer:149191]Operation 'deploy' on application 'ADFWorld_ViewController_webapp1' is initializing on 'ADFServer'*
    *[08:25:17 PM] [Deployer:149193]Operation 'deploy' on application 'ADFWorld_ViewController_webapp1' has failed on 'ADFServer'*
    *[08:25:17 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application ADFWorld_ViewController_webapp1 on ADFServer.: Failed to load webapp: 'ADFWorld_ViewController_webapp1.war'.*
    *[08:25:17 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'ADFWorld_ViewController_webapp1.war'*
    *[08:25:17 PM] Caused by: weblogic.management.DeploymentException: Error: Unresolved Webapp Library references for "ServletContext@6261447[app:ADFWorld_ViewController_webapp1 module:ADFWorld_ViewController_webapp1.war path:/ADFWorld spec-version:2.5]", defined in weblogic.xml [Extension-Name: adf.oracle.domain.webapp, exact-match: false], [Extension-Name: jstl, Specification-Version: 1.2, exact-match: false], [Extension-Name: jsf, Specification-Version: 1.2, exact-match: false]*
    *[08:25:17 PM] See server logs or server console for more details.*
    *[08:25:17 PM] weblogic.application.ModuleException: Failed to load webapp: 'ADFWorld_ViewController_webapp1.war'*
    *[08:25:17 PM] #### Deployment incomplete. ####*
    *[08:25:17 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)*
    Please suggest me what is the error.
    Regards
    Sridhar Yerram

    Hi Sridhar,
    Try to get more details from your Server related to Deployer:149026.
    This indicates failure of app due some issues on your services.
    paste the error stack to get the clue of issue.
    Regards,
    Kal

  • Unable to deploy a module into XI Server

    Hi together,
    I developed a new module within the J2ee Development Studio. Compiling and building is ok. The ear-File is build... everything is fine... execpt the following.
    I connected the Development Studio to our XI Server. The connection is stable and working.
    Now, i try to deploy my development into the Server through the J2EE Explorer. I get the following result:
    10.04.2008 19:31:52 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [001]Deployment aborted
    Settings
    SDM host : srv06007
    SDM port : 57018
    URL to deploy : file:/C:/DOKUME1/000282/LOKALE1/Temp/temp41484XI_Adapter_Module_Edifact_Parser.ear
    Result
    => deployment aborted : file:/C:/DOKUME1/000282/LOKALE1/Temp/temp41484XI_Adapter_Module_Edifact_Parser.ear
    Aborted: development component 'XI_Adapter_Module_Edifact_Parser'/'sap.com'/'localhost'/'2008.04.08.13.05.54'/'0':
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application sap.com/XI_Adapter_Module_Edifact_Parser.. Reason: Incorrect application sap.com/XI_Adapter_Module_Edifact_Parser:Bean EDIFACT_TO_XML: the ejb-class must implement, directly or indirectly, the javax.ejb.SessionBean interface. EJB specification 7.10.2.Error in the bean class: There is no public constructor with no parameters defined within bean de.regioit.xi.adapter.module.EDIFACT_TO_XML. Bean classes must have a public constructor with no parameters.Error in the bean class: The bean class de.regioit.xi.adapter.module.EDIFACT_TO_XML was found, but was declared as abstract. It must not be abstract.Bean EDIFACT_TO_XML: can not find method ejbCreate()  in ejb-class de.regioit.xi.adapter.module.EDIFACT_TO_XML. Each create method must be named create<METHOD>, and it must match one of the ejbCreate<METHOD> methods defined in the session bean class. The matching ejbCreate<METHOD> method must have the same number and types of arguments. EJB Specification 7.10.6.Bean EDIFACT_TO_XML: can not find method ejbCreate()  in ejb-class de.regioit.xi.adapter.module.EDIFACT_TO_XML. Each create method must be named create<METHOD>, and it must match one of the ejbCreate<METHOD> methods defined in the session bean class. The matching ejbCreate<METHOD> method must have the same number and types of arguments. EJB Specification 7.10.8.Error in the local interface com.sap.aii.af.mp.module.ModuleLocal of bean EDIFACT_TO_XML: No corresponding business method in the bean class was found for method process.Error in the bean class: There is no public constructor with no parameters defined within bean com.sap.aii.utilxi.hmis.sbeans.HmisBeanImpl. Bean classes must have a public constructor with no parameters.Bean HmisBeanImpl: Cannot find home or component interfaces.; nested exception is:      com.sap.engine.services.deploy.container.DeploymentException: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='com.sap.engine.services.ejb.exceptions.deployment.EJBDeploymentException: Incorrect application sap.com/XI_Adapter_Module_Edifact_Parser:Bean EDIFACT_TO_XML: the ejb-class must implement, directly or indirectly, the javax.ejb.SessionBean interface. EJB specification 7.10.2.Error in the bean class: There is no public constructor with no parameters defined within bean de.regioit.xi.adapter.module.EDIFACT_TO_XML. Bean classes must have a public constructor with no parameters.Error in the bean class: The bean class de.regioit.xi.adapter.module.EDIFACT_TO_XML was found, but was declared as abstract. It must not be abstract.Bean EDIFACT_TO_XML: can not find method ejbCreate()  in ejb-class de.regioit.xi.adapter.module.EDIFACT_TO_XML. Each create method must be named create<METHOD>, and it must match one of the ejbCreate<METHOD> methods defined in the session bean class. The matching ejbCreate<METHOD> method must have the same number and types of arguments. EJB Specification 7.10.6.Bean EDIFACT_TO_XML: can not find method ejbCreate()  in ejb-class de.regioit.xi.adapter.module.EDIFACT_TO_XML. Each create method must be named create<METHOD>, and it must match one of the ejbCreate<METHOD> methods defined in the session bean class. The matching ejbCreate<METHOD> method must have the same number and types of arguments. EJB Specification 7.10.8.Error in the local interface com.sap.aii.af.mp.module.ModuleLocal of bean EDIFACT_TO_XML: No corresponding business method in the bean class was found for method process.Error in the bean class: There is no public constructor with no parameters defined within bean com.sap.aii.utilxi.hmis.sbeans.HmisBeanImpl. Bean classes must have a public constructor with no parameters.Bean HmisBeanImpl: Cannot find home or component interfaces.
         at com.sap.engine.services.ejb.deploy.verifier.Verifier.check(Verifier.java:66)
         at com.sap.engine.services.ejb.deploy.DeployAdmin.generate(DeployAdmin.java:254)
         at com.sap.engine.services.ejb.EJBAdmin.deploy(EJBAdmin.java:2161)
         at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:606)
         at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:321)
         at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:307)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:326)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3184)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:552)
         at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1555)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    ', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key com.sap.engine.services.ejb.exceptions.deployment.EJBDeploymentException: Incorrect application sap.com/XI_Adapter_Module_Edifact_Parser:Bean EDIFACT_TO_XML: the ejb-class must implement, directly or indirectly, the javax.ejb.SessionBean interface. EJB specification 7.10.2.Error in the bean class: There is no public constructor with no parameters defined within bean de.regioit.xi.adapter.module.EDIFACT_TO_XML. Bean classes must have a public constructor with no parameters.Error in the bean class: The bean class de.regioit.xi.adapter.module.EDIFACT_TO_XML was found, but was declared as abstract. It must not be abstract.Bean EDIFACT_TO_XML: can not find method ejbCreate()  in ejb-class de.regioit.xi.adapter.module.EDIFACT_TO_XML. Each create method must be named create<METHOD>, and it must match one of the ejbCreate<METHOD> methods defined in the session bean class. The matching ejbCreate<METHOD> method must have the same number and types of arguments. EJB Specification 7.10.6.Bean EDIFACT_TO_XML: can not find method ejbCreate()  in ejb-class de.regioit.xi.adapter.module.EDIFACT_TO_XML. Each create method must be named create<METHOD>, and it must match one of the ejbCreate<METHOD> methods defined in the session bean class. The matching ejbCreate<METHOD> method must have the same number and types of arguments. EJB Specification 7.10.8.Error in the local interface com.sap.aii.af.mp.module.ModuleLocal of bean EDIFACT_TO_XML: No corresponding business method in the bean class was found for method process.Error in the bean class: There is no public constructor with no parameters defined within bean com.sap.aii.utilxi.hmis.sbeans.HmisBeanImpl. Bean classes must have a public constructor with no parameters.Bean HmisBeanImpl: Cannot find home or component interfaces.
         at com.sap.engine.services.ejb.deploy.verifier.Verifier.check(Verifier.java:66)
         at com.sap.engine.services.ejb.deploy.DeployAdmin.generate(DeployAdmin.java:254)
         at com.sap.engine.services.ejb.EJBAdmin.deploy(EJBAdmin.java:2161)
         at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:606)
         at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:321)
         at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:307)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:326)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3184)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:552)
         at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1555)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Deployment exception : The deployment of at least one item aborted
    I already copied the needed jar Files in the lib path of the server... I tried out nearly everything. On my workstation everything is OK - I guess, that a library is missing... What can I do, so that the XI is recocnising the jar files? Is there an other reason for that failure?
    Since I'm trying to figure out what is happening for one week now, you are my last chance :-).
    Thanks & Regards
        Thomas

    Hi,
    Like Stefan said..
    Reason: Incorrect application sap.com/XI_Adapter_Module_Edifact_Parser:Bean EDIFACT_TO_XML: the ejb-class must implement, directly or indirectly, the javax.ejb.SessionBean interface. EJB specification 7.10.2.Error in the bean class: There is no public constructor with no parameters defined within bean de.regioit.xi.adapter.module.EDIFACT_TO_XML. Bean classes must have a public constructor with no parameters.Error in the bean class: The bean class de.regioit.xi.adapter.module.EDIFACT_TO_XML was found, but was declared as abstract. It must not be abstract.
    Change the bean class EDIFACT_TO_XML in package..de.regioit.xi.adapter.module and change it from
    Abstract to public, save rebuild and re-deploy......
    Regards
    Ravi Raman

  • Issue while Deploying Project through JDeceloper to server

    HI,
    Error finding SOA configured servers to deploy. Deployment cannot continue.
    Javax.naming.communicationException [Root exception is java.net.ConnectionException: t3://blr-ro-narik.in.xxx.com:7001:Destination unreachable; nested exception is: java.net.protocolException: unrecognized response from proxy:’HTTP/1.1.502 Proxy Error (The specified Secure Sockets Layer (SSL) port is not allowed. ISA Server is not c onfigured to allow SSL requests from this port. Most Web browsers use port 443 for SSL requests. ); No available router to destination].
    Note:- The above error, i am getting while deploying a project through "Application Server" to Admin Server.
    If any1 knows regarding this issue,please Let me know detailed.
    Regards
    Narik

    Hi,
    Check
    Runtime errors with ADF Dynamic region
    java.lang.IllegalStateException: The expression "#{bindings.dynamicRegion1.
    Problem with bounded task flow: binding lost?

  • Problem with Datasource for SQL Server Express

    I have set up a development environment to develop some processes for the HCSO client and have a question.  I have a turnkey install on my laptop with MYSQL.  The liveCycle databases are in MYSQL.  I have also installed SQL Server Express on this machine and created a table to query that will control workflow.  I added a datasource configuration in the adobe-ds.xml configuration file.  That configuration is:
    <local-tx-datasource>
                <jndi-name>HCSO</jndi-name>
                <connection-url>jdbc:sqlserver://localhost:1433;DatabaseName=DBName</connection-url>
                <driver-class>com.microsoft.sqlserver.jdbc.SQLServerDriver</driver-class>
                <user-name>username</user-name>
                <password>password</password>
                <min-pool-size>1</min-pool-size>
                <max-pool-size>30</max-pool-size>
                <blocking-timeout-millis>60000</blocking-timeout-millis>
                <autoReconnect>true</autoReconnect>
                <idle-timeout-minutes>15</idle-timeout-minutes>
                <prepared-statement-cache-size>100</prepared-statement-cache-size>
                <transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>
                <new-connection-sql>Select id from HCSOUser.eric</new-connection-sql>
                <check-valid-connection-sql>Select id from HCSOUser.eric</check-valid-connection-sql>
                <metadata>
                      <type-mapping>MS SQLSERVER2000</type-mapping>
                </metadata>
          </local-tx-datasource>
    In SQL Server, I created a user and a schema with the same name in a database.  I created a simple table called "eric" with one column called "id".  The user was given the appropriate default schema and given full permissions on the database and table.
    In workbench, I added a JDBC query single row activity.  I have configured the datasource as java:/HCSO and also tried java:HCSO.  I then entered the query as "Select id from HCSOUser.eric" and hit test.  Nothing appears in the results area.  I see the following in the server.log:
    2009-09-24 14:44:26,437 ERROR [org.jboss.ejb.plugins.LogInterceptor] RuntimeException in method: public abstract java.lang.Object com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterLocal.doBMT(com.ad obe.idp.dsc.transaction.TransactionCallback) throws com.adobe.idp.dsc.DSCException:
    java.lang.RuntimeException: A result set was generated for update.
          at com.adobe.idp.dsc.jdbc.JDBCService.testExecute(JDBCService.java:616)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:592)
          at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
          at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
          at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
          at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
          at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doBMT(EjbTran sactionBMTAdapterBean.java:197)
          at sun.reflect.GeneratedMethodAccessor573.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:592)
          at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
          at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:214)
          at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:149)
          at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor. java:54)
          at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
          at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:106)
          at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:1 58)
          at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:62)
          at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:154)
          at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:153)
          at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
          at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:122)
          at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
          at org.jboss.ejb.Container.invoke(Container.java:873)
          at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:415)
          at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:88)
          at $Proxy270.doBMT(Unknown Source)
          at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:95)
          at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
          at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
          at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)
          at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
          at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
          at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
          at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:132)
          at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
          at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
          at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
          at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:115)
          at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:118)
          at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.invoke(AbstractMessageReceiv er.java:315)
          at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invokeCall(SoapSdkEndpoint. java:138)
          at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invoke(SoapSdkEndpoint.java :81)
          at sun.reflect.GeneratedMethodAccessor710.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:592)
          at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
          at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
          at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
          at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
          at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
          at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
          at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
          at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
          at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
          at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:252)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
          at com.adobe.idp.dsc.provider.impl.soap.axis.InvocationFilter.doFilter(InvocationFilter.java :43)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:202)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
          at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:202)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
          at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
          at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.ja va:159)
          at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11P rotocol.java:744)
          at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
          at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
          at java.lang.Thread.run(Thread.java:595)
    Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: A result set was generated for update.
          at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(Unknown Source)
          at com.microsoft.sqlserver.jdbc.SQLServerStatement.doExecuteStatement(Unknown Source)
          at com.microsoft.sqlserver.jdbc.SQLServerStatement$StatementExecutionRequest.executeStatemen t(Unknown Source)
          at com.microsoft.sqlserver.jdbc.CancelableRequest.execute(Unknown Source)
          at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeRequest(Unknown Source)
          at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeUpdate(Unknown Source)
          at org.jboss.resource.adapter.jdbc.WrappedStatement.executeUpdate(WrappedStatement.java:161)
          at com.adobe.idp.dsc.jdbc.helper.SqlHelper.executeTestUpdate(SqlHelper.java:117)
          at com.adobe.idp.dsc.jdbc.JDBCService.testExecute(JDBCService.java:610)
          ... 82 more

    Thanks fot the tip, but now I got a different message in the "Test" results of "Query Single Row":
    Exception: Could not create connection; - nested throwable: (com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host  has failed. java.net.ConnectException: Connection refused: connect); - nested throwable: (org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host  has failed. java.net.ConnectException: Connection refused: connect))
    My datasource xml is like this:
    <?xml version="1.0" encoding="UTF-8"?>
            <datasources>
            <local-tx-datasource>
            <jndi-name>MSSQL</jndi-name>
            <connection-url>jdbc:sqlserver://localhost:1433;DatabaseName=ADOBE</connection-url>
              <use-java-context>false</use-java-context>
            <driver-class>com.microsoft.sqlserver.jdbc.SQLServerDriver</driver-class>
            <user-name>sa</user-name>
            <password>adobe</password>
              <min-pool-size>10</min-pool-size>
              <max-pool-size>50</max-pool-size>
              <blocking-timeout-millis>60000</blocking-timeout-millis>
              <idle-timeout-minutes>15</idle-timeout-minutes>
              <prepared-statement-cache-size>100</prepared-statement-cache-size>
              <transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>
            <check-valid-connection-sql>SELECT 1 FROM sysobjects</check-valid-connection-sql>
            <metadata>
              <type-mapping>MS SQLSERVER2005</type-mapping>
            </metadata>
            </local-tx-datasource>
            </datasources>        
    Where is the problem and how to fix it?
    Thank you.

  • Error Deploying Acrobat via AD in Server 2008 R2

    Hi Folks,
    We've recently migrated all our Active Directory domain controllers from Windows Server 2003 to Server 2008 R2. We previously deployed all major apps (including a number of Adobe products) using group policy deployment via msi's which worked great.
    Now, in attempting to add ANY Adobe msi installer package in Server 2008 R2 to a group policy we get an error stating:
    "Add operation failed. Unable to extract deployment information from the package. Run validation on the package to ensure that the package is correct."
    This happens with msi's for Acrobat Standard 9.0.0, Acrobat Pro 9.0, Acrobat Reader 9.1 & 9.3 & Flash Player 9.
    ALL other deployed applications work fine on Server 2008 R2 - the problem affects all of our Adobe products and none of our non-Adobe products.
    Any ideas?
    Thanks,
    Shaun K.
    PS - This is my first post, please be nice to the newbie.

    I am having a similiar issue.  We have a valid Adobe Reader 9.3.0 installation and are trying to upgrade to 9.3.4.  When we try to make the 9.3.4 we get this error message.  Oddly enough, while testing we tried to recreate the 9.3.0 package using the same files and received this error.  We are also 2008 R2. Other Adobe products have this error.  This is for products we currently use via GPO.  Does not seem to have problems with other companies software products.
    AcroRead.msi
    Add operation failed.  unable to extract deployment information from the package.  run validation on the package to ensure that the package is correct.

Maybe you are looking for

  • How to make VM button call Voicemail (not Visual Voicemail) - T-Mobile

    I have an iPhone 5 on T-Mobile, and the VM button takes me to non-functional visual voicemail. My wife has iPhone 5 too, also on T-Mobile, but her voicemail button calls her voicemail. How can I make my phone do that? (Because Visual Voicemail doesn'

  • Anyone using office 2004 for mac,please help!

    Dear all, i know this is probably the wrong place for this post,but i've always been able to find my answers here..so genuine apologies in advance i bought office 2004 for my macbook a few months back..i'm able to open word,excel etc no problems...bu

  • Configuring AD Sites and Services best practice for multiple office site ?

    Hi People, Can anyone here please suggest me or share the link of what is the best practice in configuring the AD Sites and Service for single AD domain with multiple office sites ? I'd like to know more about the number and the direction of the conn

  • Document for PPDS Optimizer Setup Matrix

    Dear All,        Can I have a document or an implementation guide for PPDS Optimizer Setup Matrix? I have already checked the SAP help and Certification Material about this topic. But there is no more information on this topic. It will be great if yo

  • Captivate 4: Never Send Resume Data feature

    I'm new to Captivate 4 and LMS. Want to make sure I understand the use of the LMS Customization Setting - Never Send Resume Data. Should that be deselected or selected in order for the user to be able to "bookmark" or return to the page where they le